diff --git a/CHANGELOG.md b/CHANGELOG.md index 34d5fdf..6679899 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] -### Added -- Forgejo claim verification + +## [0.18.2] - 2023-03-08 +### Changed +- Use oembed for Twitter verification +### Removed +- query-string dependency +### Fixed +- Matrix URI format ## [0.18.1] - 2022-12-12 ### Changed diff --git a/dist/doip.js b/dist/doip.js index 7e2ff00..17cc181 100644 --- a/dist/doip.js +++ b/dist/doip.js @@ -273,7 +273,7 @@ Entity.prototype.encode = function encode(data, enc, /* internal */ reporter) { return this._getEncoder(enc).encode(data, reporter); }; -},{"./decoders":12,"./encoders":15,"inherits":169}],5:[function(require,module,exports){ +},{"./decoders":12,"./encoders":15,"inherits":167}],5:[function(require,module,exports){ 'use strict'; const inherits = require('inherits'); @@ -428,7 +428,7 @@ EncoderBuffer.prototype.join = function join(out, offset) { return out; }; -},{"../base/reporter":8,"inherits":169,"safer-buffer":199}],6:[function(require,module,exports){ +},{"../base/reporter":8,"inherits":167,"safer-buffer":196}],6:[function(require,module,exports){ 'use strict'; const base = exports; @@ -1078,7 +1078,7 @@ Node.prototype._isPrintstr = function isPrintstr(str) { return /^[A-Za-z0-9 '()+,-./:=?]*$/.test(str); }; -},{"../base/buffer":5,"../base/reporter":8,"minimalistic-assert":174}],8:[function(require,module,exports){ +},{"../base/buffer":5,"../base/reporter":8,"minimalistic-assert":172}],8:[function(require,module,exports){ 'use strict'; const inherits = require('inherits'); @@ -1203,7 +1203,7 @@ ReporterError.prototype.rethrow = function rethrow(msg) { return this; }; -},{"inherits":169}],9:[function(require,module,exports){ +},{"inherits":167}],9:[function(require,module,exports){ 'use strict'; // Helper @@ -1623,7 +1623,7 @@ function derDecodeLen(buf, primitive, fail) { return len; } -},{"../base/buffer":5,"../base/node":7,"../constants/der":9,"bn.js":47,"inherits":169}],12:[function(require,module,exports){ +},{"../base/buffer":5,"../base/node":7,"../constants/der":9,"bn.js":47,"inherits":167}],12:[function(require,module,exports){ 'use strict'; const decoders = exports; @@ -1684,7 +1684,7 @@ PEMDecoder.prototype.decode = function decode(data, options) { return DERDecoder.prototype.decode.call(this, input, options); }; -},{"./der":11,"inherits":169,"safer-buffer":199}],14:[function(require,module,exports){ +},{"./der":11,"inherits":167,"safer-buffer":196}],14:[function(require,module,exports){ 'use strict'; const inherits = require('inherits'); @@ -1981,7 +1981,7 @@ function encodeTag(tag, primitive, cls, reporter) { return res; } -},{"../base/node":7,"../constants/der":9,"inherits":169,"safer-buffer":199}],15:[function(require,module,exports){ +},{"../base/node":7,"../constants/der":9,"inherits":167,"safer-buffer":196}],15:[function(require,module,exports){ 'use strict'; const encoders = exports; @@ -2014,7 +2014,7 @@ PEMEncoder.prototype.encode = function encode(data, options) { return out.join('\n'); }; -},{"./der":14,"inherits":169}],17:[function(require,module,exports){ +},{"./der":14,"inherits":167}],17:[function(require,module,exports){ module.exports = require('./lib/axios'); },{"./lib/axios":19}],18:[function(require,module,exports){ 'use strict'; @@ -3117,7 +3117,7 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) { module.exports = defaults; }).call(this)}).call(this,require('_process')) -},{"./adapters/http":18,"./adapters/xhr":18,"./core/enhanceError":28,"./helpers/normalizeHeaderName":41,"./utils":45,"_process":187}],33:[function(require,module,exports){ +},{"./adapters/http":18,"./adapters/xhr":18,"./core/enhanceError":28,"./helpers/normalizeHeaderName":41,"./utils":45,"_process":185}],33:[function(require,module,exports){ module.exports = { "version": "0.25.0" }; @@ -7612,7 +7612,7 @@ exports.isWebWorker = isWebWorker; exports.isNode = isNode; exports.isJsDom = isJsDom; }).call(this)}).call(this,require('_process')) -},{"_process":187}],50:[function(require,module,exports){ +},{"_process":185}],50:[function(require,module,exports){ },{}],51:[function(require,module,exports){ // based on the aes implimentation in triple sec @@ -7844,7 +7844,7 @@ AES.prototype.scrub = function () { module.exports.AES = AES -},{"safe-buffer":198}],52:[function(require,module,exports){ +},{"safe-buffer":195}],52:[function(require,module,exports){ var aes = require('./aes') var Buffer = require('safe-buffer').Buffer var Transform = require('cipher-base') @@ -7963,7 +7963,7 @@ StreamCipher.prototype.setAAD = function setAAD (buf) { module.exports = StreamCipher -},{"./aes":51,"./ghash":56,"./incr32":57,"buffer-xor":98,"cipher-base":100,"inherits":169,"safe-buffer":198}],53:[function(require,module,exports){ +},{"./aes":51,"./ghash":56,"./incr32":57,"buffer-xor":98,"cipher-base":100,"inherits":167,"safe-buffer":195}],53:[function(require,module,exports){ var ciphers = require('./encrypter') var deciphers = require('./decrypter') var modes = require('./modes/list.json') @@ -8104,7 +8104,7 @@ function createDecipher (suite, password) { exports.createDecipher = createDecipher exports.createDecipheriv = createDecipheriv -},{"./aes":51,"./authCipher":52,"./modes":64,"./streamCipher":67,"cipher-base":100,"evp_bytestokey":135,"inherits":169,"safe-buffer":198}],55:[function(require,module,exports){ +},{"./aes":51,"./authCipher":52,"./modes":64,"./streamCipher":67,"cipher-base":100,"evp_bytestokey":134,"inherits":167,"safe-buffer":195}],55:[function(require,module,exports){ var MODES = require('./modes') var AuthCipher = require('./authCipher') var Buffer = require('safe-buffer').Buffer @@ -8220,7 +8220,7 @@ function createCipher (suite, password) { exports.createCipheriv = createCipheriv exports.createCipher = createCipher -},{"./aes":51,"./authCipher":52,"./modes":64,"./streamCipher":67,"cipher-base":100,"evp_bytestokey":135,"inherits":169,"safe-buffer":198}],56:[function(require,module,exports){ +},{"./aes":51,"./authCipher":52,"./modes":64,"./streamCipher":67,"cipher-base":100,"evp_bytestokey":134,"inherits":167,"safe-buffer":195}],56:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer var ZEROES = Buffer.alloc(16, 0) @@ -8311,7 +8311,7 @@ GHASH.prototype.final = function (abl, bl) { module.exports = GHASH -},{"safe-buffer":198}],57:[function(require,module,exports){ +},{"safe-buffer":195}],57:[function(require,module,exports){ function incr32 (iv) { var len = iv.length var item @@ -8382,7 +8382,7 @@ exports.encrypt = function (self, data, decrypt) { return out } -},{"buffer-xor":98,"safe-buffer":198}],60:[function(require,module,exports){ +},{"buffer-xor":98,"safe-buffer":195}],60:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer function encryptByte (self, byteParam, decrypt) { @@ -8426,7 +8426,7 @@ exports.encrypt = function (self, chunk, decrypt) { return out } -},{"safe-buffer":198}],61:[function(require,module,exports){ +},{"safe-buffer":195}],61:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer function encryptByte (self, byteParam, decrypt) { @@ -8453,7 +8453,7 @@ exports.encrypt = function (self, chunk, decrypt) { return out } -},{"safe-buffer":198}],62:[function(require,module,exports){ +},{"safe-buffer":195}],62:[function(require,module,exports){ var xor = require('buffer-xor') var Buffer = require('safe-buffer').Buffer var incr32 = require('../incr32') @@ -8485,7 +8485,7 @@ exports.encrypt = function (self, chunk) { return xor(chunk, pad) } -},{"../incr32":57,"buffer-xor":98,"safe-buffer":198}],63:[function(require,module,exports){ +},{"../incr32":57,"buffer-xor":98,"safe-buffer":195}],63:[function(require,module,exports){ exports.encrypt = function (self, block) { return self._cipher.encryptBlock(block) } @@ -8756,7 +8756,7 @@ StreamCipher.prototype._final = function () { module.exports = StreamCipher -},{"./aes":51,"cipher-base":100,"inherits":169,"safe-buffer":198}],68:[function(require,module,exports){ +},{"./aes":51,"cipher-base":100,"inherits":167,"safe-buffer":195}],68:[function(require,module,exports){ var DES = require('browserify-des') var aes = require('browserify-aes/browser') var aesModes = require('browserify-aes/modes') @@ -8825,7 +8825,7 @@ exports.createDecipher = exports.Decipher = createDecipher exports.createDecipheriv = exports.Decipheriv = createDecipheriv exports.listCiphers = exports.getCiphers = getCiphers -},{"browserify-aes/browser":53,"browserify-aes/modes":64,"browserify-des":69,"browserify-des/modes":70,"evp_bytestokey":135}],69:[function(require,module,exports){ +},{"browserify-aes/browser":53,"browserify-aes/modes":64,"browserify-des":69,"browserify-des/modes":70,"evp_bytestokey":134}],69:[function(require,module,exports){ var CipherBase = require('cipher-base') var des = require('des.js') var inherits = require('inherits') @@ -8877,7 +8877,7 @@ DES.prototype._final = function () { return Buffer.from(this._des.final()) } -},{"cipher-base":100,"des.js":108,"inherits":169,"safe-buffer":198}],70:[function(require,module,exports){ +},{"cipher-base":100,"des.js":107,"inherits":167,"safe-buffer":195}],70:[function(require,module,exports){ exports['des-ecb'] = { key: 8, iv: 0 @@ -8942,7 +8942,7 @@ crt.getr = getr module.exports = crt }).call(this)}).call(this,require("buffer").Buffer) -},{"bn.js":72,"buffer":99,"randombytes":195}],72:[function(require,module,exports){ +},{"bn.js":72,"buffer":99,"randombytes":192}],72:[function(require,module,exports){ (function (module, exports) { 'use strict'; @@ -12752,7 +12752,7 @@ module.exports = { createVerify: createVerify } -},{"./algorithms.json":74,"./sign":77,"./verify":78,"create-hash":102,"inherits":169,"readable-stream":94,"safe-buffer":198}],77:[function(require,module,exports){ +},{"./algorithms.json":74,"./sign":77,"./verify":78,"create-hash":102,"inherits":167,"readable-stream":94,"safe-buffer":195}],77:[function(require,module,exports){ // much of this based on https://github.com/indutny/self-signed/blob/gh-pages/lib/rsa.js var Buffer = require('safe-buffer').Buffer var createHmac = require('create-hmac') @@ -12897,7 +12897,7 @@ module.exports = sign module.exports.getKey = getKey module.exports.makeKey = makeKey -},{"./curves.json":75,"bn.js":79,"browserify-rsa":71,"create-hmac":104,"elliptic":118,"parse-asn1":180,"safe-buffer":198}],78:[function(require,module,exports){ +},{"./curves.json":75,"bn.js":79,"browserify-rsa":71,"create-hmac":104,"elliptic":117,"parse-asn1":178,"safe-buffer":195}],78:[function(require,module,exports){ // much of this based on https://github.com/indutny/self-signed/blob/gh-pages/lib/rsa.js var Buffer = require('safe-buffer').Buffer var BN = require('bn.js') @@ -12983,7 +12983,7 @@ function checkValue (b, q) { module.exports = verify -},{"./curves.json":75,"bn.js":79,"elliptic":118,"parse-asn1":180,"safe-buffer":198}],79:[function(require,module,exports){ +},{"./curves.json":75,"bn.js":79,"elliptic":117,"parse-asn1":178,"safe-buffer":195}],79:[function(require,module,exports){ arguments[4][72][0].apply(exports,arguments) },{"buffer":50,"dup":72}],80:[function(require,module,exports){ 'use strict'; @@ -13136,66 +13136,54 @@ module.exports.codes = codes; // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. + // a duplex stream is just a stream that is both readable and writable. // Since JS doesn't have multiple prototypal inheritance, this class // prototypally inherits from Readable, and then parasitically from // Writable. -'use strict'; -/**/ +'use strict'; + +/**/ var objectKeys = Object.keys || function (obj) { var keys = []; - - for (var key in obj) { - keys.push(key); - } - + for (var key in obj) keys.push(key); return keys; }; /**/ - module.exports = Duplex; - -var Readable = require('./_stream_readable'); - -var Writable = require('./_stream_writable'); - +const Readable = require('./_stream_readable'); +const Writable = require('./_stream_writable'); require('inherits')(Duplex, Readable); - { // Allow the keys array to be GC'ed. - var keys = objectKeys(Writable.prototype); - + const keys = objectKeys(Writable.prototype); for (var v = 0; v < keys.length; v++) { - var method = keys[v]; + const method = keys[v]; if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method]; } } - function Duplex(options) { if (!(this instanceof Duplex)) return new Duplex(options); Readable.call(this, options); Writable.call(this, options); this.allowHalfOpen = true; - if (options) { if (options.readable === false) this.readable = false; if (options.writable === false) this.writable = false; - if (options.allowHalfOpen === false) { this.allowHalfOpen = false; this.once('end', onend); } } } - Object.defineProperty(Duplex.prototype, 'writableHighWaterMark', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, - get: function get() { + get() { return this._writableState.highWaterMark; } }); @@ -13213,50 +13201,49 @@ Object.defineProperty(Duplex.prototype, 'writableLength', { // because otherwise some prototype manipulation in // userland will fail enumerable: false, - get: function get() { + get() { return this._writableState.length; } -}); // the no-half-open enforcer +}); +// the no-half-open enforcer function onend() { // If the writable side ended, then we're ok. - if (this._writableState.ended) return; // no more data can be written. - // But allow more writes to happen in this tick. + if (this._writableState.ended) return; + // no more data can be written. + // But allow more writes to happen in this tick. process.nextTick(onEndNT, this); } - function onEndNT(self) { self.end(); } - Object.defineProperty(Duplex.prototype, 'destroyed', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, - get: function get() { + get() { if (this._readableState === undefined || this._writableState === undefined) { return false; } - return this._readableState.destroyed && this._writableState.destroyed; }, - set: function set(value) { + set(value) { // we ignore the value if the stream // has not been initialized yet if (this._readableState === undefined || this._writableState === undefined) { return; - } // backward compatibility, the user is explicitly + } + + // backward compatibility, the user is explicitly // managing destroyed - - this._readableState.destroyed = value; this._writableState.destroyed = value; } }); }).call(this)}).call(this,require('_process')) -},{"./_stream_readable":83,"./_stream_writable":85,"_process":187,"inherits":169}],82:[function(require,module,exports){ +},{"./_stream_readable":83,"./_stream_writable":85,"_process":185,"inherits":167}],82:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -13277,26 +13264,24 @@ Object.defineProperty(Duplex.prototype, 'destroyed', { // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. + // a passthrough stream. // basically just the most minimal sort of Transform stream. // Every written chunk gets output as-is. + 'use strict'; module.exports = PassThrough; - -var Transform = require('./_stream_transform'); - +const Transform = require('./_stream_transform'); require('inherits')(PassThrough, Transform); - function PassThrough(options) { if (!(this instanceof PassThrough)) return new PassThrough(options); Transform.call(this, options); } - PassThrough.prototype._transform = function (chunk, encoding, cb) { cb(null, chunk); }; -},{"./_stream_transform":84,"inherits":169}],83:[function(require,module,exports){ +},{"./_stream_transform":84,"inherits":167}],83:[function(require,module,exports){ (function (process,global){(function (){ // Copyright Joyent, Inc. and other Node contributors. // @@ -13318,49 +13303,40 @@ PassThrough.prototype._transform = function (chunk, encoding, cb) { // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. + 'use strict'; module.exports = Readable; -/**/ +/**/ var Duplex; /**/ Readable.ReadableState = ReadableState; + /**/ - -var EE = require('events').EventEmitter; - +const EE = require('events').EventEmitter; var EElistenerCount = function EElistenerCount(emitter, type) { return emitter.listeners(type).length; }; /**/ /**/ - - var Stream = require('./internal/streams/stream'); /**/ - -var Buffer = require('buffer').Buffer; - -var OurUint8Array = global.Uint8Array || function () {}; - +const Buffer = require('buffer').Buffer; +const OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {}; function _uint8ArrayToBuffer(chunk) { return Buffer.from(chunk); } - function _isUint8Array(obj) { return Buffer.isBuffer(obj) || obj instanceof OurUint8Array; } + /**/ - - -var debugUtil = require('util'); - -var debug; - +const debugUtil = require('util'); +let debug; if (debugUtil && debugUtil.debuglog) { debug = debugUtil.debuglog('stream'); } else { @@ -13368,60 +13344,57 @@ if (debugUtil && debugUtil.debuglog) { } /**/ +const BufferList = require('./internal/streams/buffer_list'); +const destroyImpl = require('./internal/streams/destroy'); +const _require = require('./internal/streams/state'), + getHighWaterMark = _require.getHighWaterMark; +const _require$codes = require('../errors').codes, + ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE, + ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF, + ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED, + ERR_STREAM_UNSHIFT_AFTER_END_EVENT = _require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT; -var BufferList = require('./internal/streams/buffer_list'); - -var destroyImpl = require('./internal/streams/destroy'); - -var _require = require('./internal/streams/state'), - getHighWaterMark = _require.getHighWaterMark; - -var _require$codes = require('../errors').codes, - ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE, - ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF, - ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED, - ERR_STREAM_UNSHIFT_AFTER_END_EVENT = _require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT; // Lazy loaded to improve the startup performance. - - -var StringDecoder; -var createReadableStreamAsyncIterator; -var from; - +// Lazy loaded to improve the startup performance. +let StringDecoder; +let createReadableStreamAsyncIterator; +let from; require('inherits')(Readable, Stream); - -var errorOrDestroy = destroyImpl.errorOrDestroy; -var kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume']; - +const errorOrDestroy = destroyImpl.errorOrDestroy; +const kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume']; function prependListener(emitter, event, fn) { // Sadly this is not cacheable as some libraries bundle their own // event emitter implementation with them. - if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn); // This is a hack to make sure that our error handler is attached before any + if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn); + + // This is a hack to make sure that our error handler is attached before any // userland ones. NEVER DO THIS. This is here only because this code needs // to continue to work with older versions of Node.js that do not include // the prependListener() method. The goal is to eventually remove this hack. - if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (Array.isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]]; } - function ReadableState(options, stream, isDuplex) { Duplex = Duplex || require('./_stream_duplex'); - options = options || {}; // Duplex streams are both readable and writable, but share + options = options || {}; + + // Duplex streams are both readable and writable, but share // the same options object. // However, some cases require setting options to different // values for the readable and the writable sides of the duplex stream. // These options can be provided separately as readableXXX and writableXXX. + if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; - if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag. Used to make read(n) ignore n and to + // object stream flag. Used to make read(n) ignore n and to // make all the buffer merging and length checks go away - this.objectMode = !!options.objectMode; - if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode; // the point at which it stops calling _read() to fill the buffer - // Note: 0 is a valid value, means "don't call _read preemptively ever" + if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode; - this.highWaterMark = getHighWaterMark(this, options, 'readableHighWaterMark', isDuplex); // A linked list is used to store data chunks instead of an array because the + // the point at which it stops calling _read() to fill the buffer + // Note: 0 is a valid value, means "don't call _read preemptively ever" + this.highWaterMark = getHighWaterMark(this, options, 'readableHighWaterMark', isDuplex); + + // A linked list is used to store data chunks instead of an array because the // linked list can remove elements from the beginning faster than // array.shift() - this.buffer = new BufferList(); this.length = 0; this.pipes = null; @@ -13429,141 +13402,136 @@ function ReadableState(options, stream, isDuplex) { this.flowing = null; this.ended = false; this.endEmitted = false; - this.reading = false; // a flag to be able to tell if the event 'readable'/'data' is emitted + this.reading = false; + + // a flag to be able to tell if the event 'readable'/'data' is emitted // immediately, or on a later tick. We set this to true at first, because // any actions that shouldn't happen until "later" should generally also // not happen before the first read call. + this.sync = true; - this.sync = true; // whenever we return null, then we set a flag to say + // whenever we return null, then we set a flag to say // that we're awaiting a 'readable' event emission. - this.needReadable = false; this.emittedReadable = false; this.readableListening = false; this.resumeScheduled = false; - this.paused = true; // Should close be emitted on destroy. Defaults to true. + this.paused = true; - this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'end' (and potentially 'finish') + // Should close be emitted on destroy. Defaults to true. + this.emitClose = options.emitClose !== false; - this.autoDestroy = !!options.autoDestroy; // has it been destroyed + // Should .destroy() be called after 'end' (and potentially 'finish') + this.autoDestroy = !!options.autoDestroy; - this.destroyed = false; // Crypto is kind of old and crusty. Historically, its default string + // has it been destroyed + this.destroyed = false; + + // Crypto is kind of old and crusty. Historically, its default string // encoding is 'binary' so we have to make this configurable. // Everything else in the universe uses 'utf8', though. + this.defaultEncoding = options.defaultEncoding || 'utf8'; - this.defaultEncoding = options.defaultEncoding || 'utf8'; // the number of writers that are awaiting a drain event in .pipe()s - - this.awaitDrain = 0; // if true, a maybeReadMore has been scheduled + // the number of writers that are awaiting a drain event in .pipe()s + this.awaitDrain = 0; + // if true, a maybeReadMore has been scheduled this.readingMore = false; this.decoder = null; this.encoding = null; - if (options.encoding) { if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder; this.decoder = new StringDecoder(options.encoding); this.encoding = options.encoding; } } - function Readable(options) { Duplex = Duplex || require('./_stream_duplex'); - if (!(this instanceof Readable)) return new Readable(options); // Checking for a Stream.Duplex instance is faster here instead of inside + if (!(this instanceof Readable)) return new Readable(options); + + // Checking for a Stream.Duplex instance is faster here instead of inside // the ReadableState constructor, at least with V8 6.5 + const isDuplex = this instanceof Duplex; + this._readableState = new ReadableState(options, this, isDuplex); - var isDuplex = this instanceof Duplex; - this._readableState = new ReadableState(options, this, isDuplex); // legacy - + // legacy this.readable = true; - if (options) { if (typeof options.read === 'function') this._read = options.read; if (typeof options.destroy === 'function') this._destroy = options.destroy; } - Stream.call(this); } - Object.defineProperty(Readable.prototype, 'destroyed', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, - get: function get() { + get() { if (this._readableState === undefined) { return false; } - return this._readableState.destroyed; }, - set: function set(value) { + set(value) { // we ignore the value if the stream // has not been initialized yet if (!this._readableState) { return; - } // backward compatibility, the user is explicitly + } + + // backward compatibility, the user is explicitly // managing destroyed - - this._readableState.destroyed = value; } }); Readable.prototype.destroy = destroyImpl.destroy; Readable.prototype._undestroy = destroyImpl.undestroy; - Readable.prototype._destroy = function (err, cb) { cb(err); -}; // Manually shove something into the read() buffer. +}; + +// Manually shove something into the read() buffer. // This returns true if the highWaterMark has not been hit yet, // similar to how Writable.write() returns true if you should // write() some more. - - Readable.prototype.push = function (chunk, encoding) { var state = this._readableState; var skipChunkCheck; - if (!state.objectMode) { if (typeof chunk === 'string') { encoding = encoding || state.defaultEncoding; - if (encoding !== state.encoding) { chunk = Buffer.from(chunk, encoding); encoding = ''; } - skipChunkCheck = true; } } else { skipChunkCheck = true; } - return readableAddChunk(this, chunk, encoding, false, skipChunkCheck); -}; // Unshift should *always* be something directly out of read() - +}; +// Unshift should *always* be something directly out of read() Readable.prototype.unshift = function (chunk) { return readableAddChunk(this, chunk, null, true, false); }; - function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) { debug('readableAddChunk', chunk); var state = stream._readableState; - if (chunk === null) { state.reading = false; onEofChunk(stream, state); } else { var er; if (!skipChunkCheck) er = chunkInvalid(state, chunk); - if (er) { errorOrDestroy(stream, er); } else if (state.objectMode || chunk && chunk.length > 0) { if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) { chunk = _uint8ArrayToBuffer(chunk); } - if (addToFront) { if (state.endEmitted) errorOrDestroy(stream, new ERR_STREAM_UNSHIFT_AFTER_END_EVENT());else addChunk(stream, state, chunk, true); } else if (state.ended) { @@ -13572,7 +13540,6 @@ function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) { return false; } else { state.reading = false; - if (state.decoder && !encoding) { chunk = state.decoder.write(chunk); if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state); @@ -13584,14 +13551,13 @@ function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) { state.reading = false; maybeReadMore(stream, state); } - } // We can push more data if we are below the highWaterMark. + } + + // We can push more data if we are below the highWaterMark. // Also, if we have no data yet, we can stand some more bytes. // This is to work around cases where hwm=0, such as the repl. - - return !state.ended && (state.length < state.highWaterMark || state.length === 0); } - function addChunk(stream, state, chunk, addToFront) { if (state.flowing && state.length === 0 && !state.sync) { state.awaitDrain = 0; @@ -13602,50 +13568,42 @@ function addChunk(stream, state, chunk, addToFront) { if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk); if (state.needReadable) emitReadable(stream); } - maybeReadMore(stream, state); } - function chunkInvalid(state, chunk) { var er; - if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) { er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer', 'Uint8Array'], chunk); } - return er; } - Readable.prototype.isPaused = function () { return this._readableState.flowing === false; -}; // backwards compatibility. - +}; +// backwards compatibility. Readable.prototype.setEncoding = function (enc) { if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder; - var decoder = new StringDecoder(enc); - this._readableState.decoder = decoder; // If setEncoding(null), decoder.encoding equals utf8 - - this._readableState.encoding = this._readableState.decoder.encoding; // Iterate over current buffer to convert already stored Buffers: - - var p = this._readableState.buffer.head; - var content = ''; + const decoder = new StringDecoder(enc); + this._readableState.decoder = decoder; + // If setEncoding(null), decoder.encoding equals utf8 + this._readableState.encoding = this._readableState.decoder.encoding; + // Iterate over current buffer to convert already stored Buffers: + let p = this._readableState.buffer.head; + let content = ''; while (p !== null) { content += decoder.write(p.data); p = p.next; } - this._readableState.buffer.clear(); - if (content !== '') this._readableState.buffer.push(content); this._readableState.length = content.length; return this; -}; // Don't raise the hwm > 1GB - - -var MAX_HWM = 0x40000000; +}; +// Don't raise the hwm > 1GB +const MAX_HWM = 0x40000000; function computeNewHighWaterMark(n) { if (n >= MAX_HWM) { // TODO(ronag): Throw ERR_VALUE_OUT_OF_RANGE. @@ -13661,55 +13619,54 @@ function computeNewHighWaterMark(n) { n |= n >>> 16; n++; } - return n; -} // This function is designed to be inlinable, so please take care when making +} + +// This function is designed to be inlinable, so please take care when making // changes to the function body. - - function howMuchToRead(n, state) { if (n <= 0 || state.length === 0 && state.ended) return 0; if (state.objectMode) return 1; - if (n !== n) { // Only flow one buffer at a time if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length; - } // If we're asking for more than the current hwm, then raise the hwm. - - + } + // If we're asking for more than the current hwm, then raise the hwm. if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n); - if (n <= state.length) return n; // Don't have enough - + if (n <= state.length) return n; + // Don't have enough if (!state.ended) { state.needReadable = true; return 0; } - return state.length; -} // you can override either this method, or the async _read(n) below. - +} +// you can override either this method, or the async _read(n) below. Readable.prototype.read = function (n) { debug('read', n); n = parseInt(n, 10); var state = this._readableState; var nOrig = n; - if (n !== 0) state.emittedReadable = false; // if we're doing read(0) to trigger a readable event, but we + if (n !== 0) state.emittedReadable = false; + + // if we're doing read(0) to trigger a readable event, but we // already have a bunch of data in the buffer, then just trigger // the 'readable' event and move on. - if (n === 0 && state.needReadable && ((state.highWaterMark !== 0 ? state.length >= state.highWaterMark : state.length > 0) || state.ended)) { debug('read: emitReadable', state.length, state.ended); if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this); return null; } + n = howMuchToRead(n, state); - n = howMuchToRead(n, state); // if we've ended, and we're now clear, then finish it up. - + // if we've ended, and we're now clear, then finish it up. if (n === 0 && state.ended) { if (state.length === 0) endReadable(this); return null; - } // All the actual chunk generation logic needs to be + } + + // All the actual chunk generation logic needs to be // *below* the call to _read. The reason is that in certain // synthetic stream cases, such as passthrough streams, _read // may be a completely synchronous operation which may change @@ -13730,40 +13687,37 @@ Readable.prototype.read = function (n) { // 'readable' etc. // // 3. Actually pull the requested chunks out of the buffer and return. + // if we need a readable event, then we need to do some reading. - - var doRead = state.needReadable; - debug('need readable', doRead); // if we currently have less than the highWaterMark, then also read some + debug('need readable', doRead); + // if we currently have less than the highWaterMark, then also read some if (state.length === 0 || state.length - n < state.highWaterMark) { doRead = true; debug('length less than watermark', doRead); - } // however, if we've ended, then there's no point, and if we're already + } + + // however, if we've ended, then there's no point, and if we're already // reading, then it's unnecessary. - - if (state.ended || state.reading) { doRead = false; debug('reading or ended', doRead); } else if (doRead) { debug('do read'); state.reading = true; - state.sync = true; // if the length is currently zero, then we *need* a readable event. - - if (state.length === 0) state.needReadable = true; // call internal read method - + state.sync = true; + // if the length is currently zero, then we *need* a readable event. + if (state.length === 0) state.needReadable = true; + // call internal read method this._read(state.highWaterMark); - - state.sync = false; // If _read pushed data synchronously, then `reading` will be false, + state.sync = false; + // If _read pushed data synchronously, then `reading` will be false, // and we need to re-evaluate how much data we can return to the user. - if (!state.reading) n = howMuchToRead(nOrig, state); } - var ret; if (n > 0) ret = fromList(n, state);else ret = null; - if (ret === null) { state.needReadable = state.length <= state.highWaterMark; n = 0; @@ -13771,34 +13725,28 @@ Readable.prototype.read = function (n) { state.length -= n; state.awaitDrain = 0; } - if (state.length === 0) { // If we have nothing in the buffer, then we want to know // as soon as we *do* get something into the buffer. - if (!state.ended) state.needReadable = true; // If we tried to read() past the EOF, then emit end on the next tick. + if (!state.ended) state.needReadable = true; + // If we tried to read() past the EOF, then emit end on the next tick. if (nOrig !== n && state.ended) endReadable(this); } - if (ret !== null) this.emit('data', ret); return ret; }; - function onEofChunk(stream, state) { debug('onEofChunk'); if (state.ended) return; - if (state.decoder) { var chunk = state.decoder.end(); - if (chunk && chunk.length) { state.buffer.push(chunk); state.length += state.objectMode ? 1 : chunk.length; } } - state.ended = true; - if (state.sync) { // if we are sync, wait until next tick to emit the data. // Otherwise we risk emitting data in the flow() @@ -13807,61 +13755,56 @@ function onEofChunk(stream, state) { } else { // emit 'readable' now to make sure it gets picked up. state.needReadable = false; - if (!state.emittedReadable) { state.emittedReadable = true; emitReadable_(stream); } } -} // Don't emit readable right away in sync mode, because this can trigger +} + +// Don't emit readable right away in sync mode, because this can trigger // another read() call => stack overflow. This way, it might trigger // a nextTick recursion warning, but that's not so bad. - - function emitReadable(stream) { var state = stream._readableState; debug('emitReadable', state.needReadable, state.emittedReadable); state.needReadable = false; - if (!state.emittedReadable) { debug('emitReadable', state.flowing); state.emittedReadable = true; process.nextTick(emitReadable_, stream); } } - function emitReadable_(stream) { var state = stream._readableState; debug('emitReadable_', state.destroyed, state.length, state.ended); - if (!state.destroyed && (state.length || state.ended)) { stream.emit('readable'); state.emittedReadable = false; - } // The stream needs another readable event if + } + + // The stream needs another readable event if // 1. It is not flowing, as the flow mechanism will take // care of it. // 2. It is not ended. // 3. It is below the highWaterMark, so we can schedule // another readable later. - - state.needReadable = !state.flowing && !state.ended && state.length <= state.highWaterMark; flow(stream); -} // at this point, the user has presumably seen the 'readable' event, +} + +// at this point, the user has presumably seen the 'readable' event, // and called read() to consume some data. that may have triggered // in turn another _read(n) call, in which case reading = true if // it's in progress. // However, if we're not ended, or reading, and the length < hwm, // then go ahead and try to read some more preemptively. - - function maybeReadMore(stream, state) { if (!state.readingMore) { state.readingMore = true; process.nextTick(maybeReadMore_, stream, state); } } - function maybeReadMore_(stream, state) { // Attempt to read more data if we should. // @@ -13887,52 +13830,45 @@ function maybeReadMore_(stream, state) { // read()s. The execution ends in this method again after the _read() ends // up calling push() with more data. while (!state.reading && !state.ended && (state.length < state.highWaterMark || state.flowing && state.length === 0)) { - var len = state.length; + const len = state.length; debug('maybeReadMore read 0'); stream.read(0); - if (len === state.length) // didn't get any data, stop spinning. + if (len === state.length) + // didn't get any data, stop spinning. break; } - state.readingMore = false; -} // abstract method. to be overridden in specific implementation classes. +} + +// abstract method. to be overridden in specific implementation classes. // call cb(er, data) where data is <= n in length. // for virtual (non-string, non-buffer) streams, "length" is somewhat // arbitrary, and perhaps not very meaningful. - - Readable.prototype._read = function (n) { errorOrDestroy(this, new ERR_METHOD_NOT_IMPLEMENTED('_read()')); }; - Readable.prototype.pipe = function (dest, pipeOpts) { var src = this; var state = this._readableState; - switch (state.pipesCount) { case 0: state.pipes = dest; break; - case 1: state.pipes = [state.pipes, dest]; break; - default: state.pipes.push(dest); break; } - state.pipesCount += 1; debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts); var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr; var endFn = doEnd ? onend : unpipe; if (state.endEmitted) process.nextTick(endFn);else src.once('end', endFn); dest.on('unpipe', onunpipe); - function onunpipe(readable, unpipeInfo) { debug('onunpipe'); - if (readable === src) { if (unpipeInfo && unpipeInfo.hasUnpiped === false) { unpipeInfo.hasUnpiped = true; @@ -13940,23 +13876,21 @@ Readable.prototype.pipe = function (dest, pipeOpts) { } } } - function onend() { debug('onend'); dest.end(); - } // when the dest drains, it reduces the awaitDrain counter + } + + // when the dest drains, it reduces the awaitDrain counter // on the source. This would be more elegant with a .once() // handler in flow(), but adding and removing repeatedly is // too slow. - - var ondrain = pipeOnDrain(src); dest.on('drain', ondrain); var cleanedUp = false; - function cleanup() { - debug('cleanup'); // cleanup event handlers once the pipe is broken - + debug('cleanup'); + // cleanup event handlers once the pipe is broken dest.removeListener('close', onclose); dest.removeListener('finish', onfinish); dest.removeListener('drain', ondrain); @@ -13965,22 +13899,20 @@ Readable.prototype.pipe = function (dest, pipeOpts) { src.removeListener('end', onend); src.removeListener('end', unpipe); src.removeListener('data', ondata); - cleanedUp = true; // if the reader is waiting for a drain event from this + cleanedUp = true; + + // if the reader is waiting for a drain event from this // specific writer, then it would cause it to never start // flowing again. // So, if this is awaiting a drain, then we just call it now. // If we don't know, then assume that we are waiting for one. - if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain(); } - src.on('data', ondata); - function ondata(chunk) { debug('ondata'); var ret = dest.write(chunk); debug('dest.write', ret); - if (ret === false) { // If the user unpiped during `dest.write()`, it is possible // to get stuck in a permanently paused state if that write @@ -13990,87 +13922,84 @@ Readable.prototype.pipe = function (dest, pipeOpts) { debug('false write response, pause', state.awaitDrain); state.awaitDrain++; } - src.pause(); } - } // if the dest has an error, then stop piping into it. + } + + // if the dest has an error, then stop piping into it. // however, don't suppress the throwing behavior for this. - - function onerror(er) { debug('onerror', er); unpipe(); dest.removeListener('error', onerror); if (EElistenerCount(dest, 'error') === 0) errorOrDestroy(dest, er); - } // Make sure our error handler is attached before userland ones. + } + // Make sure our error handler is attached before userland ones. + prependListener(dest, 'error', onerror); - prependListener(dest, 'error', onerror); // Both close and finish should trigger unpipe, but only once. - + // Both close and finish should trigger unpipe, but only once. function onclose() { dest.removeListener('finish', onfinish); unpipe(); } - dest.once('close', onclose); - function onfinish() { debug('onfinish'); dest.removeListener('close', onclose); unpipe(); } - dest.once('finish', onfinish); - function unpipe() { debug('unpipe'); src.unpipe(dest); - } // tell the dest that it's being piped to + } + // tell the dest that it's being piped to + dest.emit('pipe', src); - dest.emit('pipe', src); // start the flow if it hasn't been started already. - + // start the flow if it hasn't been started already. if (!state.flowing) { debug('pipe resume'); src.resume(); } - return dest; }; - function pipeOnDrain(src) { return function pipeOnDrainFunctionResult() { var state = src._readableState; debug('pipeOnDrain', state.awaitDrain); if (state.awaitDrain) state.awaitDrain--; - if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) { state.flowing = true; flow(src); } }; } - Readable.prototype.unpipe = function (dest) { var state = this._readableState; var unpipeInfo = { hasUnpiped: false - }; // if we're not piping anywhere, then do nothing. + }; - if (state.pipesCount === 0) return this; // just one destination. most common case. + // if we're not piping anywhere, then do nothing. + if (state.pipesCount === 0) return this; + // just one destination. most common case. if (state.pipesCount === 1) { // passed in one, but it's not the right one. if (dest && dest !== state.pipes) return this; - if (!dest) dest = state.pipes; // got a match. + if (!dest) dest = state.pipes; + // got a match. state.pipes = null; state.pipesCount = 0; state.flowing = false; if (dest) dest.emit('unpipe', this, unpipeInfo); return this; - } // slow case. multiple pipe destinations. + } + // slow case. multiple pipe destinations. if (!dest) { // remove all. @@ -14079,17 +14008,13 @@ Readable.prototype.unpipe = function (dest) { state.pipes = null; state.pipesCount = 0; state.flowing = false; - - for (var i = 0; i < len; i++) { - dests[i].emit('unpipe', this, { - hasUnpiped: false - }); - } - + for (var i = 0; i < len; i++) dests[i].emit('unpipe', this, { + hasUnpiped: false + }); return this; - } // try to find the right one. - + } + // try to find the right one. var index = indexOf(state.pipes, dest); if (index === -1) return this; state.pipes.splice(index, 1); @@ -14097,19 +14022,19 @@ Readable.prototype.unpipe = function (dest) { if (state.pipesCount === 1) state.pipes = state.pipes[0]; dest.emit('unpipe', this, unpipeInfo); return this; -}; // set up data events if they are asked for +}; + +// set up data events if they are asked for // Ensure readable listeners eventually get something - - Readable.prototype.on = function (ev, fn) { - var res = Stream.prototype.on.call(this, ev, fn); - var state = this._readableState; - + const res = Stream.prototype.on.call(this, ev, fn); + const state = this._readableState; if (ev === 'data') { // update readableListening so that resume() may be a no-op // a few lines down. This is needed to support once('readable'). - state.readableListening = this.listenerCount('readable') > 0; // Try start flowing on next tick if stream isn't explicitly paused + state.readableListening = this.listenerCount('readable') > 0; + // Try start flowing on next tick if stream isn't explicitly paused if (state.flowing !== false) this.resume(); } else if (ev === 'readable') { if (!state.endEmitted && !state.readableListening) { @@ -14117,7 +14042,6 @@ Readable.prototype.on = function (ev, fn) { state.flowing = false; state.emittedReadable = false; debug('on readable', state.length, state.reading); - if (state.length) { emitReadable(this); } else if (!state.reading) { @@ -14125,15 +14049,11 @@ Readable.prototype.on = function (ev, fn) { } } } - return res; }; - Readable.prototype.addListener = Readable.prototype.on; - Readable.prototype.removeListener = function (ev, fn) { - var res = Stream.prototype.removeListener.call(this, ev, fn); - + const res = Stream.prototype.removeListener.call(this, ev, fn); if (ev === 'readable') { // We need to check if there is someone still listening to // readable and reset the state. However this needs to happen @@ -14143,13 +14063,10 @@ Readable.prototype.removeListener = function (ev, fn) { // effect. process.nextTick(updateReadableListening, this); } - return res; }; - Readable.prototype.removeAllListeners = function (ev) { - var res = Stream.prototype.removeAllListeners.apply(this, arguments); - + const res = Stream.prototype.removeAllListeners.apply(this, arguments); if (ev === 'readable' || ev === undefined) { // We need to check if there is someone still listening to // readable and reset the state. However this needs to happen @@ -14159,121 +14076,102 @@ Readable.prototype.removeAllListeners = function (ev) { // effect. process.nextTick(updateReadableListening, this); } - return res; }; - function updateReadableListening(self) { - var state = self._readableState; + const state = self._readableState; state.readableListening = self.listenerCount('readable') > 0; - if (state.resumeScheduled && !state.paused) { // flowing needs to be set to true now, otherwise // the upcoming resume will not flow. - state.flowing = true; // crude way to check if we should resume + state.flowing = true; + + // crude way to check if we should resume } else if (self.listenerCount('data') > 0) { self.resume(); } } - function nReadingNextTick(self) { debug('readable nexttick read 0'); self.read(0); -} // pause() and resume() are remnants of the legacy readable stream API +} + +// pause() and resume() are remnants of the legacy readable stream API // If the user uses them, then switch into old mode. - - Readable.prototype.resume = function () { var state = this._readableState; - if (!state.flowing) { - debug('resume'); // we flow only if there is no one listening + debug('resume'); + // we flow only if there is no one listening // for readable, but we still have to call // resume() - state.flowing = !state.readableListening; resume(this, state); } - state.paused = false; return this; }; - function resume(stream, state) { if (!state.resumeScheduled) { state.resumeScheduled = true; process.nextTick(resume_, stream, state); } } - function resume_(stream, state) { debug('resume', state.reading); - if (!state.reading) { stream.read(0); } - state.resumeScheduled = false; stream.emit('resume'); flow(stream); if (state.flowing && !state.reading) stream.read(0); } - Readable.prototype.pause = function () { debug('call pause flowing=%j', this._readableState.flowing); - if (this._readableState.flowing !== false) { debug('pause'); this._readableState.flowing = false; this.emit('pause'); } - this._readableState.paused = true; return this; }; - function flow(stream) { - var state = stream._readableState; + const state = stream._readableState; debug('flow', state.flowing); + while (state.flowing && stream.read() !== null); +} - while (state.flowing && stream.read() !== null) { - ; - } -} // wrap an old-style stream as the async data source. +// wrap an old-style stream as the async data source. // This is *not* part of the readable stream interface. // It is an ugly unfortunate mess of history. - - Readable.prototype.wrap = function (stream) { - var _this = this; - var state = this._readableState; var paused = false; - stream.on('end', function () { + stream.on('end', () => { debug('wrapped end'); - if (state.decoder && !state.ended) { var chunk = state.decoder.end(); - if (chunk && chunk.length) _this.push(chunk); + if (chunk && chunk.length) this.push(chunk); } - - _this.push(null); + this.push(null); }); - stream.on('data', function (chunk) { + stream.on('data', chunk => { debug('wrapped data'); - if (state.decoder) chunk = state.decoder.write(chunk); // don't skip over falsy values in objectMode + if (state.decoder) chunk = state.decoder.write(chunk); + // don't skip over falsy values in objectMode if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return; - - var ret = _this.push(chunk); - + var ret = this.push(chunk); if (!ret) { paused = true; stream.pause(); } - }); // proxy all the other methods. - // important when wrapping filters and duplexes. + }); + // proxy all the other methods. + // important when wrapping filters and duplexes. for (var i in stream) { if (this[i] === undefined && typeof stream[i] === 'function') { this[i] = function methodWrap(method) { @@ -14282,37 +14180,32 @@ Readable.prototype.wrap = function (stream) { }; }(i); } - } // proxy certain important events. - + } + // proxy certain important events. for (var n = 0; n < kProxyEvents.length; n++) { stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n])); - } // when we try to consume some more bytes, simply unpause the + } + + // when we try to consume some more bytes, simply unpause the // underlying stream. - - - this._read = function (n) { + this._read = n => { debug('wrapped _read', n); - if (paused) { paused = false; stream.resume(); } }; - return this; }; - if (typeof Symbol === 'function') { Readable.prototype[Symbol.asyncIterator] = function () { if (createReadableStreamAsyncIterator === undefined) { createReadableStreamAsyncIterator = require('./internal/streams/async_iterator'); } - return createReadableStreamAsyncIterator(this); }; } - Object.defineProperty(Readable.prototype, 'readableHighWaterMark', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in @@ -14344,22 +14237,24 @@ Object.defineProperty(Readable.prototype, 'readableFlowing', { this._readableState.flowing = state; } } -}); // exposed for testing purposes only. +}); +// exposed for testing purposes only. Readable._fromList = fromList; Object.defineProperty(Readable.prototype, 'readableLength', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, - get: function get() { + get() { return this._readableState.length; } -}); // Pluck off n bytes from an array of buffers. +}); + +// Pluck off n bytes from an array of buffers. // Length is the combined lengths of all the buffers in the list. // This function is designed to be inlinable, so please take care when making // changes to the function body. - function fromList(n, state) { // nothing buffered if (state.length === 0) return null; @@ -14374,56 +14269,48 @@ function fromList(n, state) { } return ret; } - function endReadable(stream) { var state = stream._readableState; debug('endReadable', state.endEmitted); - if (!state.endEmitted) { state.ended = true; process.nextTick(endReadableNT, state, stream); } } - function endReadableNT(state, stream) { - debug('endReadableNT', state.endEmitted, state.length); // Check that we didn't get one last unshift. + debug('endReadableNT', state.endEmitted, state.length); + // Check that we didn't get one last unshift. if (!state.endEmitted && state.length === 0) { state.endEmitted = true; stream.readable = false; stream.emit('end'); - if (state.autoDestroy) { // In case of duplex streams we need a way to detect // if the writable side is ready for autoDestroy as well - var wState = stream._writableState; - + const wState = stream._writableState; if (!wState || wState.autoDestroy && wState.finished) { stream.destroy(); } } } } - if (typeof Symbol === 'function') { Readable.from = function (iterable, opts) { if (from === undefined) { from = require('./internal/streams/from'); } - return from(Readable, iterable, opts); }; } - function indexOf(xs, x) { for (var i = 0, l = xs.length; i < l; i++) { if (xs[i] === x) return i; } - return -1; } }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../errors":80,"./_stream_duplex":81,"./internal/streams/async_iterator":86,"./internal/streams/buffer_list":87,"./internal/streams/destroy":88,"./internal/streams/from":90,"./internal/streams/state":92,"./internal/streams/stream":93,"_process":187,"buffer":99,"events":134,"inherits":169,"string_decoder/":95,"util":50}],84:[function(require,module,exports){ +},{"../errors":80,"./_stream_duplex":81,"./internal/streams/async_iterator":86,"./internal/streams/buffer_list":87,"./internal/streams/destroy":88,"./internal/streams/from":90,"./internal/streams/state":92,"./internal/streams/stream":93,"_process":185,"buffer":99,"events":133,"inherits":167,"string_decoder/":95,"util":50}],84:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -14444,6 +14331,7 @@ function indexOf(xs, x) { // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. + // a transform stream is a readable/writable stream where you do // something with the data. Sometimes it's called a "filter", // but that's not a great name for it, since that implies a thing where @@ -14485,42 +14373,36 @@ function indexOf(xs, x) { // However, even in such a pathological case, only a single written chunk // would be consumed, and then the rest would wait (un-transformed) until // the results of the previous transformed chunk were consumed. + 'use strict'; module.exports = Transform; - -var _require$codes = require('../errors').codes, - ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED, - ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK, - ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING, - ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0; - -var Duplex = require('./_stream_duplex'); - +const _require$codes = require('../errors').codes, + ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED, + ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK, + ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING, + ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0; +const Duplex = require('./_stream_duplex'); require('inherits')(Transform, Duplex); - function afterTransform(er, data) { var ts = this._transformState; ts.transforming = false; var cb = ts.writecb; - if (cb === null) { return this.emit('error', new ERR_MULTIPLE_CALLBACK()); } - ts.writechunk = null; ts.writecb = null; - if (data != null) // single equals check for both `null` and `undefined` + if (data != null) + // single equals check for both `null` and `undefined` this.push(data); cb(er); var rs = this._readableState; rs.reading = false; - if (rs.needReadable || rs.length < rs.highWaterMark) { this._read(rs.highWaterMark); } } - function Transform(options) { if (!(this instanceof Transform)) return new Transform(options); Duplex.call(this, options); @@ -14531,39 +14413,38 @@ function Transform(options) { writecb: null, writechunk: null, writeencoding: null - }; // start out asking for a readable event once data is transformed. + }; - this._readableState.needReadable = true; // we have implemented the _read method, and done the other things + // start out asking for a readable event once data is transformed. + this._readableState.needReadable = true; + + // we have implemented the _read method, and done the other things // that Readable wants before the first _read call, so unset the // sync guard flag. - this._readableState.sync = false; - if (options) { if (typeof options.transform === 'function') this._transform = options.transform; if (typeof options.flush === 'function') this._flush = options.flush; - } // When the writable side finishes, then flush out anything remaining. - + } + // When the writable side finishes, then flush out anything remaining. this.on('prefinish', prefinish); } - function prefinish() { - var _this = this; - if (typeof this._flush === 'function' && !this._readableState.destroyed) { - this._flush(function (er, data) { - done(_this, er, data); + this._flush((er, data) => { + done(this, er, data); }); } else { done(this, null, null); } } - Transform.prototype.push = function (chunk, encoding) { this._transformState.needTransform = false; return Duplex.prototype.push.call(this, chunk, encoding); -}; // This is the part where you do stuff! +}; + +// This is the part where you do stuff! // override this function in implementation classes. // 'chunk' is an input chunk. // @@ -14573,33 +14454,27 @@ Transform.prototype.push = function (chunk, encoding) { // Call `cb(err)` when you are done with this chunk. If you pass // an error, then that'll put the hurt on the whole operation. If you // never call cb(), then you'll never get another chunk. - - Transform.prototype._transform = function (chunk, encoding, cb) { cb(new ERR_METHOD_NOT_IMPLEMENTED('_transform()')); }; - Transform.prototype._write = function (chunk, encoding, cb) { var ts = this._transformState; ts.writecb = cb; ts.writechunk = chunk; ts.writeencoding = encoding; - if (!ts.transforming) { var rs = this._readableState; if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark); } -}; // Doesn't matter what the args are here. +}; + +// Doesn't matter what the args are here. // _transform does all the work. // That we got here means that the readable side wants more data. - - Transform.prototype._read = function (n) { var ts = this._transformState; - if (ts.writechunk !== null && !ts.transforming) { ts.transforming = true; - this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform); } else { // mark that we need a transform, so that any data that comes in @@ -14607,25 +14482,25 @@ Transform.prototype._read = function (n) { ts.needTransform = true; } }; - Transform.prototype._destroy = function (err, cb) { - Duplex.prototype._destroy.call(this, err, function (err2) { + Duplex.prototype._destroy.call(this, err, err2 => { cb(err2); }); }; - function done(stream, er, data) { if (er) return stream.emit('error', er); - if (data != null) // single equals check for both `null` and `undefined` - stream.push(data); // TODO(BridgeAR): Write a test for these two error cases + if (data != null) + // single equals check for both `null` and `undefined` + stream.push(data); + + // TODO(BridgeAR): Write a test for these two error cases // if there's nothing in the write buffer, then that means // that nothing more will ever be provided - if (stream._writableState.length) throw new ERR_TRANSFORM_WITH_LENGTH_0(); if (stream._transformState.transforming) throw new ERR_TRANSFORM_ALREADY_TRANSFORMING(); return stream.push(null); } -},{"../errors":80,"./_stream_duplex":81,"inherits":169}],85:[function(require,module,exports){ +},{"../errors":80,"./_stream_duplex":81,"inherits":167}],85:[function(require,module,exports){ (function (process,global){(function (){ // Copyright Joyent, Inc. and other Node contributors. // @@ -14647,185 +14522,188 @@ function done(stream, er, data) { // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. + // A bit simpler than readable streams. // Implement an async ._write(chunk, encoding, cb), and it'll handle all // the drain event emission and buffering. + 'use strict'; module.exports = Writable; -/* */ +/* */ function WriteReq(chunk, encoding, cb) { this.chunk = chunk; this.encoding = encoding; this.callback = cb; this.next = null; -} // It seems a linked list but it is not +} + +// It seems a linked list but it is not // there will be only 2 of these for each stream - - function CorkedRequest(state) { - var _this = this; - this.next = null; this.entry = null; - - this.finish = function () { - onCorkedFinish(_this, state); + this.finish = () => { + onCorkedFinish(this, state); }; } /* */ /**/ - - var Duplex; /**/ Writable.WritableState = WritableState; -/**/ -var internalUtil = { +/**/ +const internalUtil = { deprecate: require('util-deprecate') }; /**/ /**/ - var Stream = require('./internal/streams/stream'); /**/ - -var Buffer = require('buffer').Buffer; - -var OurUint8Array = global.Uint8Array || function () {}; - +const Buffer = require('buffer').Buffer; +const OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {}; function _uint8ArrayToBuffer(chunk) { return Buffer.from(chunk); } - function _isUint8Array(obj) { return Buffer.isBuffer(obj) || obj instanceof OurUint8Array; } - -var destroyImpl = require('./internal/streams/destroy'); - -var _require = require('./internal/streams/state'), - getHighWaterMark = _require.getHighWaterMark; - -var _require$codes = require('../errors').codes, - ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE, - ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED, - ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK, - ERR_STREAM_CANNOT_PIPE = _require$codes.ERR_STREAM_CANNOT_PIPE, - ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED, - ERR_STREAM_NULL_VALUES = _require$codes.ERR_STREAM_NULL_VALUES, - ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END, - ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING; - -var errorOrDestroy = destroyImpl.errorOrDestroy; - +const destroyImpl = require('./internal/streams/destroy'); +const _require = require('./internal/streams/state'), + getHighWaterMark = _require.getHighWaterMark; +const _require$codes = require('../errors').codes, + ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE, + ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED, + ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK, + ERR_STREAM_CANNOT_PIPE = _require$codes.ERR_STREAM_CANNOT_PIPE, + ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED, + ERR_STREAM_NULL_VALUES = _require$codes.ERR_STREAM_NULL_VALUES, + ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END, + ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING; +const errorOrDestroy = destroyImpl.errorOrDestroy; require('inherits')(Writable, Stream); - function nop() {} - function WritableState(options, stream, isDuplex) { Duplex = Duplex || require('./_stream_duplex'); - options = options || {}; // Duplex streams are both readable and writable, but share + options = options || {}; + + // Duplex streams are both readable and writable, but share // the same options object. // However, some cases require setting options to different // values for the readable and the writable sides of the duplex stream, // e.g. options.readableObjectMode vs. options.writableObjectMode, etc. + if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; - if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag to indicate whether or not this stream + // object stream flag to indicate whether or not this stream // contains buffers or objects. - this.objectMode = !!options.objectMode; - if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode; // the point at which write() starts returning false + if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode; + + // the point at which write() starts returning false // Note: 0 is a valid value, means that we always return false if // the entire buffer is not flushed immediately on write() + this.highWaterMark = getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex); - this.highWaterMark = getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex); // if _final has been called + // if _final has been called + this.finalCalled = false; - this.finalCalled = false; // drain event flag. + // drain event flag. + this.needDrain = false; + // at the start of calling end() + this.ending = false; + // when end() has been called, and returned + this.ended = false; + // when 'finish' is emitted + this.finished = false; - this.needDrain = false; // at the start of calling end() + // has it been destroyed + this.destroyed = false; - this.ending = false; // when end() has been called, and returned - - this.ended = false; // when 'finish' is emitted - - this.finished = false; // has it been destroyed - - this.destroyed = false; // should we decode strings into buffers before passing to _write? + // should we decode strings into buffers before passing to _write? // this is here so that some node-core streams can optimize string // handling at a lower level. - var noDecode = options.decodeStrings === false; - this.decodeStrings = !noDecode; // Crypto is kind of old and crusty. Historically, its default string + this.decodeStrings = !noDecode; + + // Crypto is kind of old and crusty. Historically, its default string // encoding is 'binary' so we have to make this configurable. // Everything else in the universe uses 'utf8', though. + this.defaultEncoding = options.defaultEncoding || 'utf8'; - this.defaultEncoding = options.defaultEncoding || 'utf8'; // not an actual buffer we keep track of, but a measurement + // not an actual buffer we keep track of, but a measurement // of how much we're waiting to get pushed to some underlying // socket or file. + this.length = 0; - this.length = 0; // a flag to see when we're in the middle of a write. + // a flag to see when we're in the middle of a write. + this.writing = false; - this.writing = false; // when true all writes will be buffered until .uncork() call + // when true all writes will be buffered until .uncork() call + this.corked = 0; - this.corked = 0; // a flag to be able to tell if the onwrite cb is called immediately, + // a flag to be able to tell if the onwrite cb is called immediately, // or on a later tick. We set this to true at first, because any // actions that shouldn't happen until "later" should generally also // not happen before the first write call. + this.sync = true; - this.sync = true; // a flag to know if we're processing previously buffered items, which + // a flag to know if we're processing previously buffered items, which // may call the _write() callback in the same tick, so that we don't // end up in an overlapped onwrite situation. + this.bufferProcessing = false; - this.bufferProcessing = false; // the callback that's passed to _write(chunk,cb) - + // the callback that's passed to _write(chunk,cb) this.onwrite = function (er) { onwrite(stream, er); - }; // the callback that the user supplies to write(chunk,encoding,cb) + }; + // the callback that the user supplies to write(chunk,encoding,cb) + this.writecb = null; - this.writecb = null; // the amount that is being written when _write is called. - + // the amount that is being written when _write is called. this.writelen = 0; this.bufferedRequest = null; - this.lastBufferedRequest = null; // number of pending user-supplied write callbacks + this.lastBufferedRequest = null; + + // number of pending user-supplied write callbacks // this must be 0 before 'finish' can be emitted + this.pendingcb = 0; - this.pendingcb = 0; // emit prefinish if the only thing we're waiting for is _write cbs + // emit prefinish if the only thing we're waiting for is _write cbs // This is relevant for synchronous Transform streams + this.prefinished = false; - this.prefinished = false; // True if the error was already emitted and should not be thrown again + // True if the error was already emitted and should not be thrown again + this.errorEmitted = false; - this.errorEmitted = false; // Should close be emitted on destroy. Defaults to true. + // Should close be emitted on destroy. Defaults to true. + this.emitClose = options.emitClose !== false; - this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'finish' (and potentially 'end') + // Should .destroy() be called after 'finish' (and potentially 'end') + this.autoDestroy = !!options.autoDestroy; - this.autoDestroy = !!options.autoDestroy; // count buffered requests + // count buffered requests + this.bufferedRequestCount = 0; - this.bufferedRequestCount = 0; // allocate the first CorkedRequest, there is always + // allocate the first CorkedRequest, there is always // one allocated and free to use, and we maintain at most two - this.corkedRequestsFree = new CorkedRequest(this); } - WritableState.prototype.getBuffer = function getBuffer() { var current = this.bufferedRequest; var out = []; - while (current) { out.push(current); current = current.next; } - return out; }; - (function () { try { Object.defineProperty(WritableState.prototype, 'buffer', { @@ -14834,12 +14712,11 @@ WritableState.prototype.getBuffer = function getBuffer() { }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003') }); } catch (_) {} -})(); // Test _writableState for inheritance to account for Duplex streams, +})(); + +// Test _writableState for inheritance to account for Duplex streams, // whose prototype chain only points to Readable. - - var realHasInstance; - if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') { realHasInstance = Function.prototype[Symbol.hasInstance]; Object.defineProperty(Writable, Symbol.hasInstance, { @@ -14854,81 +14731,73 @@ if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.protot return object instanceof this; }; } - function Writable(options) { - Duplex = Duplex || require('./_stream_duplex'); // Writable ctor is applied to Duplexes, too. + Duplex = Duplex || require('./_stream_duplex'); + + // Writable ctor is applied to Duplexes, too. // `realHasInstance` is necessary because using plain `instanceof` // would return false, as no `_writableState` property is attached. + // Trying to use the custom `instanceof` for Writable here will also break the // Node.js LazyTransform implementation, which has a non-trivial getter for // `_writableState` that would lead to infinite recursion. + // Checking for a Stream.Duplex instance is faster here instead of inside // the WritableState constructor, at least with V8 6.5 - - var isDuplex = this instanceof Duplex; + const isDuplex = this instanceof Duplex; if (!isDuplex && !realHasInstance.call(Writable, this)) return new Writable(options); - this._writableState = new WritableState(options, this, isDuplex); // legacy. + this._writableState = new WritableState(options, this, isDuplex); + // legacy. this.writable = true; - if (options) { if (typeof options.write === 'function') this._write = options.write; if (typeof options.writev === 'function') this._writev = options.writev; if (typeof options.destroy === 'function') this._destroy = options.destroy; if (typeof options.final === 'function') this._final = options.final; } - Stream.call(this); -} // Otherwise people can pipe Writable streams, which is just wrong. - +} +// Otherwise people can pipe Writable streams, which is just wrong. Writable.prototype.pipe = function () { errorOrDestroy(this, new ERR_STREAM_CANNOT_PIPE()); }; - function writeAfterEnd(stream, cb) { - var er = new ERR_STREAM_WRITE_AFTER_END(); // TODO: defer error events consistently everywhere, not just the cb - + var er = new ERR_STREAM_WRITE_AFTER_END(); + // TODO: defer error events consistently everywhere, not just the cb errorOrDestroy(stream, er); process.nextTick(cb, er); -} // Checks that a user-supplied chunk is valid, especially for the particular +} + +// Checks that a user-supplied chunk is valid, especially for the particular // mode the stream is in. Currently this means that `null` is never accepted // and undefined/non-string values are only allowed in object mode. - - function validChunk(stream, state, chunk, cb) { var er; - if (chunk === null) { er = new ERR_STREAM_NULL_VALUES(); } else if (typeof chunk !== 'string' && !state.objectMode) { er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer'], chunk); } - if (er) { errorOrDestroy(stream, er); process.nextTick(cb, er); return false; } - return true; } - Writable.prototype.write = function (chunk, encoding, cb) { var state = this._writableState; var ret = false; - var isBuf = !state.objectMode && _isUint8Array(chunk); - if (isBuf && !Buffer.isBuffer(chunk)) { chunk = _uint8ArrayToBuffer(chunk); } - if (typeof encoding === 'function') { cb = encoding; encoding = null; } - if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding; if (typeof cb !== 'function') cb = nop; if (state.ending) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) { @@ -14937,20 +14806,16 @@ Writable.prototype.write = function (chunk, encoding, cb) { } return ret; }; - Writable.prototype.cork = function () { this._writableState.corked++; }; - Writable.prototype.uncork = function () { var state = this._writableState; - if (state.corked) { state.corked--; if (!state.writing && !state.corked && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state); } }; - Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) { // node::ParseEncoding() requires lower case. if (typeof encoding === 'string') encoding = encoding.toLowerCase(); @@ -14958,7 +14823,6 @@ Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) { this._writableState.defaultEncoding = encoding; return this; }; - Object.defineProperty(Writable.prototype, 'writableBuffer', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in @@ -14968,15 +14832,12 @@ Object.defineProperty(Writable.prototype, 'writableBuffer', { return this._writableState && this._writableState.getBuffer(); } }); - function decodeChunk(state, chunk, encoding) { if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') { chunk = Buffer.from(chunk, encoding); } - return chunk; } - Object.defineProperty(Writable.prototype, 'writableHighWaterMark', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in @@ -14985,51 +14846,45 @@ Object.defineProperty(Writable.prototype, 'writableHighWaterMark', { get: function get() { return this._writableState.highWaterMark; } -}); // if we're already writing something, then just put this +}); + +// if we're already writing something, then just put this // in the queue, and wait our turn. Otherwise, call _write // If we return false, then we need a drain event, so set that flag. - function writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) { if (!isBuf) { var newChunk = decodeChunk(state, chunk, encoding); - if (chunk !== newChunk) { isBuf = true; encoding = 'buffer'; chunk = newChunk; } } - var len = state.objectMode ? 1 : chunk.length; state.length += len; - var ret = state.length < state.highWaterMark; // we must ensure that previous needDrain will not be reset to false. - + var ret = state.length < state.highWaterMark; + // we must ensure that previous needDrain will not be reset to false. if (!ret) state.needDrain = true; - if (state.writing || state.corked) { var last = state.lastBufferedRequest; state.lastBufferedRequest = { - chunk: chunk, - encoding: encoding, - isBuf: isBuf, + chunk, + encoding, + isBuf, callback: cb, next: null }; - if (last) { last.next = state.lastBufferedRequest; } else { state.bufferedRequest = state.lastBufferedRequest; } - state.bufferedRequestCount += 1; } else { doWrite(stream, state, false, len, chunk, encoding, cb); } - return ret; } - function doWrite(stream, state, writev, len, chunk, encoding, cb) { state.writelen = len; state.writecb = cb; @@ -15038,16 +14893,14 @@ function doWrite(stream, state, writev, len, chunk, encoding, cb) { if (state.destroyed) state.onwrite(new ERR_STREAM_DESTROYED('write'));else if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite); state.sync = false; } - function onwriteError(stream, state, sync, er, cb) { --state.pendingcb; - if (sync) { // defer the callback if we are being called synchronously // to avoid piling up things on the stack - process.nextTick(cb, er); // this can emit finish, and it will always happen + process.nextTick(cb, er); + // this can emit finish, and it will always happen // after error - process.nextTick(finishMaybe, stream, state); stream._writableState.errorEmitted = true; errorOrDestroy(stream, er); @@ -15056,20 +14909,18 @@ function onwriteError(stream, state, sync, er, cb) { // it is async cb(er); stream._writableState.errorEmitted = true; - errorOrDestroy(stream, er); // this can emit finish, but finish must + errorOrDestroy(stream, er); + // this can emit finish, but finish must // always follow error - finishMaybe(stream, state); } } - function onwriteStateUpdate(state) { state.writing = false; state.writecb = null; state.length -= state.writelen; state.writelen = 0; } - function onwrite(stream, er) { var state = stream._writableState; var sync = state.sync; @@ -15079,11 +14930,9 @@ function onwrite(stream, er) { if (er) onwriteError(stream, state, sync, er, cb);else { // Check if we're actually ready to finish, but don't emit yet var finished = needFinish(state) || stream.destroyed; - if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) { clearBuffer(stream, state); } - if (sync) { process.nextTick(afterWrite, stream, state, finished, cb); } else { @@ -15091,29 +14940,27 @@ function onwrite(stream, er) { } } } - function afterWrite(stream, state, finished, cb) { if (!finished) onwriteDrain(stream, state); state.pendingcb--; cb(); finishMaybe(stream, state); -} // Must force callback to be called on nextTick, so that we don't +} + +// Must force callback to be called on nextTick, so that we don't // emit 'drain' before the write() consumer gets the 'false' return // value, and has a chance to attach a 'drain' listener. - - function onwriteDrain(stream, state) { if (state.length === 0 && state.needDrain) { state.needDrain = false; stream.emit('drain'); } -} // if there's something in the buffer waiting, then process it - +} +// if there's something in the buffer waiting, then process it function clearBuffer(stream, state) { state.bufferProcessing = true; var entry = state.bufferedRequest; - if (stream._writev && entry && entry.next) { // Fast case, write everything using _writev() var l = state.bufferedRequestCount; @@ -15122,28 +14969,25 @@ function clearBuffer(stream, state) { holder.entry = entry; var count = 0; var allBuffers = true; - while (entry) { buffer[count] = entry; if (!entry.isBuf) allBuffers = false; entry = entry.next; count += 1; } - buffer.allBuffers = allBuffers; - doWrite(stream, state, true, state.length, buffer, '', holder.finish); // doWrite is almost always async, defer these to save a bit of time - // as the hot path ends with doWrite + doWrite(stream, state, true, state.length, buffer, '', holder.finish); + // doWrite is almost always async, defer these to save a bit of time + // as the hot path ends with doWrite state.pendingcb++; state.lastBufferedRequest = null; - if (holder.next) { state.corkedRequestsFree = holder.next; holder.next = null; } else { state.corkedRequestsFree = new CorkedRequest(state); } - state.bufferedRequestCount = 0; } else { // Slow case, write chunks one-by-one @@ -15154,32 +14998,26 @@ function clearBuffer(stream, state) { var len = state.objectMode ? 1 : chunk.length; doWrite(stream, state, false, len, chunk, encoding, cb); entry = entry.next; - state.bufferedRequestCount--; // if we didn't call the onwrite immediately, then + state.bufferedRequestCount--; + // if we didn't call the onwrite immediately, then // it means that we need to wait until it does. // also, that means that the chunk and cb are currently // being processed, so move the buffer counter past them. - if (state.writing) { break; } } - if (entry === null) state.lastBufferedRequest = null; } - state.bufferedRequest = entry; state.bufferProcessing = false; } - Writable.prototype._write = function (chunk, encoding, cb) { cb(new ERR_METHOD_NOT_IMPLEMENTED('_write()')); }; - Writable.prototype._writev = null; - Writable.prototype.end = function (chunk, encoding, cb) { var state = this._writableState; - if (typeof chunk === 'function') { cb = chunk; chunk = null; @@ -15188,47 +15026,41 @@ Writable.prototype.end = function (chunk, encoding, cb) { cb = encoding; encoding = null; } + if (chunk !== null && chunk !== undefined) this.write(chunk, encoding); - if (chunk !== null && chunk !== undefined) this.write(chunk, encoding); // .end() fully uncorks - + // .end() fully uncorks if (state.corked) { state.corked = 1; this.uncork(); - } // ignore unnecessary end() calls. - + } + // ignore unnecessary end() calls. if (!state.ending) endWritable(this, state, cb); return this; }; - Object.defineProperty(Writable.prototype, 'writableLength', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, - get: function get() { + get() { return this._writableState.length; } }); - function needFinish(state) { return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing; } - function callFinal(stream, state) { - stream._final(function (err) { + stream._final(err => { state.pendingcb--; - if (err) { errorOrDestroy(stream, err); } - state.prefinished = true; stream.emit('prefinish'); finishMaybe(stream, state); }); } - function prefinish(stream, state) { if (!state.prefinished && !state.finalCalled) { if (typeof stream._final === 'function' && !state.destroyed) { @@ -15241,123 +15073,101 @@ function prefinish(stream, state) { } } } - function finishMaybe(stream, state) { var need = needFinish(state); - if (need) { prefinish(stream, state); - if (state.pendingcb === 0) { state.finished = true; stream.emit('finish'); - if (state.autoDestroy) { // In case of duplex streams we need a way to detect // if the readable side is ready for autoDestroy as well - var rState = stream._readableState; - + const rState = stream._readableState; if (!rState || rState.autoDestroy && rState.endEmitted) { stream.destroy(); } } } } - return need; } - function endWritable(stream, state, cb) { state.ending = true; finishMaybe(stream, state); - if (cb) { if (state.finished) process.nextTick(cb);else stream.once('finish', cb); } - state.ended = true; stream.writable = false; } - function onCorkedFinish(corkReq, state, err) { var entry = corkReq.entry; corkReq.entry = null; - while (entry) { var cb = entry.callback; state.pendingcb--; cb(err); entry = entry.next; - } // reuse the free corkReq. - + } + // reuse the free corkReq. state.corkedRequestsFree.next = corkReq; } - Object.defineProperty(Writable.prototype, 'destroyed', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, - get: function get() { + get() { if (this._writableState === undefined) { return false; } - return this._writableState.destroyed; }, - set: function set(value) { + set(value) { // we ignore the value if the stream // has not been initialized yet if (!this._writableState) { return; - } // backward compatibility, the user is explicitly + } + + // backward compatibility, the user is explicitly // managing destroyed - - this._writableState.destroyed = value; } }); Writable.prototype.destroy = destroyImpl.destroy; Writable.prototype._undestroy = destroyImpl.undestroy; - Writable.prototype._destroy = function (err, cb) { cb(err); }; }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../errors":80,"./_stream_duplex":81,"./internal/streams/destroy":88,"./internal/streams/state":92,"./internal/streams/stream":93,"_process":187,"buffer":99,"inherits":169,"util-deprecate":226}],86:[function(require,module,exports){ +},{"../errors":80,"./_stream_duplex":81,"./internal/streams/destroy":88,"./internal/streams/state":92,"./internal/streams/stream":93,"_process":185,"buffer":99,"inherits":167,"util-deprecate":221}],86:[function(require,module,exports){ (function (process){(function (){ 'use strict'; -var _Object$setPrototypeO; - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var finished = require('./end-of-stream'); - -var kLastResolve = Symbol('lastResolve'); -var kLastReject = Symbol('lastReject'); -var kError = Symbol('error'); -var kEnded = Symbol('ended'); -var kLastPromise = Symbol('lastPromise'); -var kHandlePromise = Symbol('handlePromise'); -var kStream = Symbol('stream'); - +const finished = require('./end-of-stream'); +const kLastResolve = Symbol('lastResolve'); +const kLastReject = Symbol('lastReject'); +const kError = Symbol('error'); +const kEnded = Symbol('ended'); +const kLastPromise = Symbol('lastPromise'); +const kHandlePromise = Symbol('handlePromise'); +const kStream = Symbol('stream'); function createIterResult(value, done) { return { - value: value, - done: done + value, + done }; } - function readAndResolve(iter) { - var resolve = iter[kLastResolve]; - + const resolve = iter[kLastResolve]; if (resolve !== null) { - var data = iter[kStream].read(); // we defer if data is null + const data = iter[kStream].read(); + // we defer if data is null // we can be expecting either 'end' or // 'error' - if (data !== null) { iter[kLastPromise] = null; iter[kLastResolve] = null; @@ -15366,396 +15176,325 @@ function readAndResolve(iter) { } } } - function onReadable(iter) { // we wait for the next tick, because it might // emit an error with process.nextTick process.nextTick(readAndResolve, iter); } - function wrapForNext(lastPromise, iter) { - return function (resolve, reject) { - lastPromise.then(function () { + return (resolve, reject) => { + lastPromise.then(() => { if (iter[kEnded]) { resolve(createIterResult(undefined, true)); return; } - iter[kHandlePromise](resolve, reject); }, reject); }; } - -var AsyncIteratorPrototype = Object.getPrototypeOf(function () {}); -var ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPrototypeO = { +const AsyncIteratorPrototype = Object.getPrototypeOf(function () {}); +const ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf({ get stream() { return this[kStream]; }, - - next: function next() { - var _this = this; - + next() { // if we have detected an error in the meanwhile // reject straight away - var error = this[kError]; - + const error = this[kError]; if (error !== null) { return Promise.reject(error); } - if (this[kEnded]) { return Promise.resolve(createIterResult(undefined, true)); } - if (this[kStream].destroyed) { // We need to defer via nextTick because if .destroy(err) is // called, the error will be emitted via nextTick, and // we cannot guarantee that there is no error lingering around // waiting to be emitted. - return new Promise(function (resolve, reject) { - process.nextTick(function () { - if (_this[kError]) { - reject(_this[kError]); + return new Promise((resolve, reject) => { + process.nextTick(() => { + if (this[kError]) { + reject(this[kError]); } else { resolve(createIterResult(undefined, true)); } }); }); - } // if we have multiple next() calls + } + + // if we have multiple next() calls // we will wait for the previous Promise to finish // this logic is optimized to support for await loops, // where next() is only called once at a time - - - var lastPromise = this[kLastPromise]; - var promise; - + const lastPromise = this[kLastPromise]; + let promise; if (lastPromise) { promise = new Promise(wrapForNext(lastPromise, this)); } else { // fast path needed to support multiple this.push() // without triggering the next() queue - var data = this[kStream].read(); - + const data = this[kStream].read(); if (data !== null) { return Promise.resolve(createIterResult(data, false)); } - promise = new Promise(this[kHandlePromise]); } - this[kLastPromise] = promise; return promise; - } -}, _defineProperty(_Object$setPrototypeO, Symbol.asyncIterator, function () { - return this; -}), _defineProperty(_Object$setPrototypeO, "return", function _return() { - var _this2 = this; - - // destroy(err, cb) is a private API - // we can guarantee we have that here, because we control the - // Readable class this is attached to - return new Promise(function (resolve, reject) { - _this2[kStream].destroy(null, function (err) { - if (err) { - reject(err); - return; - } - - resolve(createIterResult(undefined, true)); + }, + [Symbol.asyncIterator]() { + return this; + }, + return() { + // destroy(err, cb) is a private API + // we can guarantee we have that here, because we control the + // Readable class this is attached to + return new Promise((resolve, reject) => { + this[kStream].destroy(null, err => { + if (err) { + reject(err); + return; + } + resolve(createIterResult(undefined, true)); + }); }); - }); -}), _Object$setPrototypeO), AsyncIteratorPrototype); - -var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator(stream) { - var _Object$create; - - var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, { - value: stream, - writable: true - }), _defineProperty(_Object$create, kLastResolve, { - value: null, - writable: true - }), _defineProperty(_Object$create, kLastReject, { - value: null, - writable: true - }), _defineProperty(_Object$create, kError, { - value: null, - writable: true - }), _defineProperty(_Object$create, kEnded, { - value: stream._readableState.endEmitted, - writable: true - }), _defineProperty(_Object$create, kHandlePromise, { - value: function value(resolve, reject) { - var data = iterator[kStream].read(); - - if (data) { - iterator[kLastPromise] = null; - iterator[kLastResolve] = null; - iterator[kLastReject] = null; - resolve(createIterResult(data, false)); - } else { - iterator[kLastResolve] = resolve; - iterator[kLastReject] = reject; - } + } +}, AsyncIteratorPrototype); +const createReadableStreamAsyncIterator = stream => { + const iterator = Object.create(ReadableStreamAsyncIteratorPrototype, { + [kStream]: { + value: stream, + writable: true }, - writable: true - }), _Object$create)); + [kLastResolve]: { + value: null, + writable: true + }, + [kLastReject]: { + value: null, + writable: true + }, + [kError]: { + value: null, + writable: true + }, + [kEnded]: { + value: stream._readableState.endEmitted, + writable: true + }, + // the function passed to new Promise + // is cached so we avoid allocating a new + // closure at every run + [kHandlePromise]: { + value: (resolve, reject) => { + const data = iterator[kStream].read(); + if (data) { + iterator[kLastPromise] = null; + iterator[kLastResolve] = null; + iterator[kLastReject] = null; + resolve(createIterResult(data, false)); + } else { + iterator[kLastResolve] = resolve; + iterator[kLastReject] = reject; + } + }, + writable: true + } + }); iterator[kLastPromise] = null; - finished(stream, function (err) { + finished(stream, err => { if (err && err.code !== 'ERR_STREAM_PREMATURE_CLOSE') { - var reject = iterator[kLastReject]; // reject if we are waiting for data in the Promise + const reject = iterator[kLastReject]; + // reject if we are waiting for data in the Promise // returned by next() and store the error - if (reject !== null) { iterator[kLastPromise] = null; iterator[kLastResolve] = null; iterator[kLastReject] = null; reject(err); } - iterator[kError] = err; return; } - - var resolve = iterator[kLastResolve]; - + const resolve = iterator[kLastResolve]; if (resolve !== null) { iterator[kLastPromise] = null; iterator[kLastResolve] = null; iterator[kLastReject] = null; resolve(createIterResult(undefined, true)); } - iterator[kEnded] = true; }); stream.on('readable', onReadable.bind(null, iterator)); return iterator; }; - module.exports = createReadableStreamAsyncIterator; }).call(this)}).call(this,require('_process')) -},{"./end-of-stream":89,"_process":187}],87:[function(require,module,exports){ +},{"./end-of-stream":89,"_process":185}],87:[function(require,module,exports){ 'use strict'; -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } - -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - -var _require = require('buffer'), - Buffer = _require.Buffer; - -var _require2 = require('util'), - inspect = _require2.inspect; - -var custom = inspect && inspect.custom || 'inspect'; - +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } +function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } +function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } +function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } +const _require = require('buffer'), + Buffer = _require.Buffer; +const _require2 = require('util'), + inspect = _require2.inspect; +const custom = inspect && inspect.custom || 'inspect'; function copyBuffer(src, target, offset) { Buffer.prototype.copy.call(src, target, offset); } - -module.exports = -/*#__PURE__*/ -function () { - function BufferList() { - _classCallCheck(this, BufferList); - +module.exports = class BufferList { + constructor() { this.head = null; this.tail = null; this.length = 0; } - - _createClass(BufferList, [{ - key: "push", - value: function push(v) { - var entry = { - data: v, - next: null - }; - if (this.length > 0) this.tail.next = entry;else this.head = entry; - this.tail = entry; - ++this.length; + push(v) { + const entry = { + data: v, + next: null + }; + if (this.length > 0) this.tail.next = entry;else this.head = entry; + this.tail = entry; + ++this.length; + } + unshift(v) { + const entry = { + data: v, + next: this.head + }; + if (this.length === 0) this.tail = entry; + this.head = entry; + ++this.length; + } + shift() { + if (this.length === 0) return; + const ret = this.head.data; + if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next; + --this.length; + return ret; + } + clear() { + this.head = this.tail = null; + this.length = 0; + } + join(s) { + if (this.length === 0) return ''; + var p = this.head; + var ret = '' + p.data; + while (p = p.next) ret += s + p.data; + return ret; + } + concat(n) { + if (this.length === 0) return Buffer.alloc(0); + const ret = Buffer.allocUnsafe(n >>> 0); + var p = this.head; + var i = 0; + while (p) { + copyBuffer(p.data, ret, i); + i += p.data.length; + p = p.next; } - }, { - key: "unshift", - value: function unshift(v) { - var entry = { - data: v, - next: this.head - }; - if (this.length === 0) this.tail = entry; - this.head = entry; - ++this.length; + return ret; + } + + // Consumes a specified amount of bytes or characters from the buffered data. + consume(n, hasStrings) { + var ret; + if (n < this.head.data.length) { + // `slice` is the same for buffers and strings. + ret = this.head.data.slice(0, n); + this.head.data = this.head.data.slice(n); + } else if (n === this.head.data.length) { + // First chunk is a perfect match. + ret = this.shift(); + } else { + // Result spans more than one buffer. + ret = hasStrings ? this._getString(n) : this._getBuffer(n); } - }, { - key: "shift", - value: function shift() { - if (this.length === 0) return; - var ret = this.head.data; - if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next; - --this.length; - return ret; - } - }, { - key: "clear", - value: function clear() { - this.head = this.tail = null; - this.length = 0; - } - }, { - key: "join", - value: function join(s) { - if (this.length === 0) return ''; - var p = this.head; - var ret = '' + p.data; + return ret; + } + first() { + return this.head.data; + } - while (p = p.next) { - ret += s + p.data; - } - - return ret; - } - }, { - key: "concat", - value: function concat(n) { - if (this.length === 0) return Buffer.alloc(0); - var ret = Buffer.allocUnsafe(n >>> 0); - var p = this.head; - var i = 0; - - while (p) { - copyBuffer(p.data, ret, i); - i += p.data.length; - p = p.next; - } - - return ret; - } // Consumes a specified amount of bytes or characters from the buffered data. - - }, { - key: "consume", - value: function consume(n, hasStrings) { - var ret; - - if (n < this.head.data.length) { - // `slice` is the same for buffers and strings. - ret = this.head.data.slice(0, n); - this.head.data = this.head.data.slice(n); - } else if (n === this.head.data.length) { - // First chunk is a perfect match. - ret = this.shift(); - } else { - // Result spans more than one buffer. - ret = hasStrings ? this._getString(n) : this._getBuffer(n); - } - - return ret; - } - }, { - key: "first", - value: function first() { - return this.head.data; - } // Consumes a specified amount of characters from the buffered data. - - }, { - key: "_getString", - value: function _getString(n) { - var p = this.head; - var c = 1; - var ret = p.data; - n -= ret.length; - - while (p = p.next) { - var str = p.data; - var nb = n > str.length ? str.length : n; - if (nb === str.length) ret += str;else ret += str.slice(0, n); - n -= nb; - - if (n === 0) { - if (nb === str.length) { - ++c; - if (p.next) this.head = p.next;else this.head = this.tail = null; - } else { - this.head = p; - p.data = str.slice(nb); - } - - break; + // Consumes a specified amount of characters from the buffered data. + _getString(n) { + var p = this.head; + var c = 1; + var ret = p.data; + n -= ret.length; + while (p = p.next) { + const str = p.data; + const nb = n > str.length ? str.length : n; + if (nb === str.length) ret += str;else ret += str.slice(0, n); + n -= nb; + if (n === 0) { + if (nb === str.length) { + ++c; + if (p.next) this.head = p.next;else this.head = this.tail = null; + } else { + this.head = p; + p.data = str.slice(nb); } - - ++c; + break; } - - this.length -= c; - return ret; - } // Consumes a specified amount of bytes from the buffered data. - - }, { - key: "_getBuffer", - value: function _getBuffer(n) { - var ret = Buffer.allocUnsafe(n); - var p = this.head; - var c = 1; - p.data.copy(ret); - n -= p.data.length; - - while (p = p.next) { - var buf = p.data; - var nb = n > buf.length ? buf.length : n; - buf.copy(ret, ret.length - n, 0, nb); - n -= nb; - - if (n === 0) { - if (nb === buf.length) { - ++c; - if (p.next) this.head = p.next;else this.head = this.tail = null; - } else { - this.head = p; - p.data = buf.slice(nb); - } - - break; - } - - ++c; - } - - this.length -= c; - return ret; - } // Make sure the linked list only shows the minimal necessary information. - - }, { - key: custom, - value: function value(_, options) { - return inspect(this, _objectSpread({}, options, { - // Only inspect one level. - depth: 0, - // It should not recurse. - customInspect: false - })); + ++c; } - }]); + this.length -= c; + return ret; + } - return BufferList; -}(); + // Consumes a specified amount of bytes from the buffered data. + _getBuffer(n) { + const ret = Buffer.allocUnsafe(n); + var p = this.head; + var c = 1; + p.data.copy(ret); + n -= p.data.length; + while (p = p.next) { + const buf = p.data; + const nb = n > buf.length ? buf.length : n; + buf.copy(ret, ret.length - n, 0, nb); + n -= nb; + if (n === 0) { + if (nb === buf.length) { + ++c; + if (p.next) this.head = p.next;else this.head = this.tail = null; + } else { + this.head = p; + p.data = buf.slice(nb); + } + break; + } + ++c; + } + this.length -= c; + return ret; + } + + // Make sure the linked list only shows the minimal necessary information. + [custom](_, options) { + return inspect(this, _objectSpread(_objectSpread({}, options), {}, { + // Only inspect one level. + depth: 0, + // It should not recurse. + customInspect: false + })); + } +}; },{"buffer":99,"util":50}],88:[function(require,module,exports){ (function (process){(function (){ -'use strict'; // undocumented cb() API, needed for core, not for public API +'use strict'; +// undocumented cb() API, needed for core, not for public API function destroy(err, cb) { - var _this = this; - - var readableDestroyed = this._readableState && this._readableState.destroyed; - var writableDestroyed = this._writableState && this._writableState.destroyed; - + const readableDestroyed = this._readableState && this._readableState.destroyed; + const writableDestroyed = this._writableState && this._writableState.destroyed; if (readableDestroyed || writableDestroyed) { if (cb) { cb(err); @@ -15767,53 +15506,48 @@ function destroy(err, cb) { process.nextTick(emitErrorNT, this, err); } } - return this; - } // we set destroyed to true before firing error callbacks in order - // to make it re-entrance safe in case destroy() is called within callbacks + } + // we set destroyed to true before firing error callbacks in order + // to make it re-entrance safe in case destroy() is called within callbacks if (this._readableState) { this._readableState.destroyed = true; - } // if this is a duplex stream mark the writable part as destroyed as well - + } + // if this is a duplex stream mark the writable part as destroyed as well if (this._writableState) { this._writableState.destroyed = true; } - - this._destroy(err || null, function (err) { + this._destroy(err || null, err => { if (!cb && err) { - if (!_this._writableState) { - process.nextTick(emitErrorAndCloseNT, _this, err); - } else if (!_this._writableState.errorEmitted) { - _this._writableState.errorEmitted = true; - process.nextTick(emitErrorAndCloseNT, _this, err); + if (!this._writableState) { + process.nextTick(emitErrorAndCloseNT, this, err); + } else if (!this._writableState.errorEmitted) { + this._writableState.errorEmitted = true; + process.nextTick(emitErrorAndCloseNT, this, err); } else { - process.nextTick(emitCloseNT, _this); + process.nextTick(emitCloseNT, this); } } else if (cb) { - process.nextTick(emitCloseNT, _this); + process.nextTick(emitCloseNT, this); cb(err); } else { - process.nextTick(emitCloseNT, _this); + process.nextTick(emitCloseNT, this); } }); - return this; } - function emitErrorAndCloseNT(self, err) { emitErrorNT(self, err); emitCloseNT(self); } - function emitCloseNT(self) { if (self._writableState && !self._writableState.emitClose) return; if (self._readableState && !self._readableState.emitClose) return; self.emit('close'); } - function undestroy() { if (this._readableState) { this._readableState.destroyed = false; @@ -15821,7 +15555,6 @@ function undestroy() { this._readableState.ended = false; this._readableState.endEmitted = false; } - if (this._writableState) { this._writableState.destroyed = false; this._writableState.ended = false; @@ -15832,104 +15565,86 @@ function undestroy() { this._writableState.errorEmitted = false; } } - function emitErrorNT(self, err) { self.emit('error', err); } - function errorOrDestroy(stream, err) { // We have tests that rely on errors being emitted // in the same tick, so changing this is semver major. // For now when you opt-in to autoDestroy we allow // the error to be emitted nextTick. In a future // semver major update we should change the default to this. - var rState = stream._readableState; - var wState = stream._writableState; + + const rState = stream._readableState; + const wState = stream._writableState; if (rState && rState.autoDestroy || wState && wState.autoDestroy) stream.destroy(err);else stream.emit('error', err); } - module.exports = { - destroy: destroy, - undestroy: undestroy, - errorOrDestroy: errorOrDestroy + destroy, + undestroy, + errorOrDestroy }; }).call(this)}).call(this,require('_process')) -},{"_process":187}],89:[function(require,module,exports){ +},{"_process":185}],89:[function(require,module,exports){ // Ported from https://github.com/mafintosh/end-of-stream with // permission from the author, Mathias Buus (@mafintosh). + 'use strict'; -var ERR_STREAM_PREMATURE_CLOSE = require('../../../errors').codes.ERR_STREAM_PREMATURE_CLOSE; - +const ERR_STREAM_PREMATURE_CLOSE = require('../../../errors').codes.ERR_STREAM_PREMATURE_CLOSE; function once(callback) { - var called = false; + let called = false; return function () { if (called) return; called = true; - for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } - callback.apply(this, args); }; } - function noop() {} - function isRequest(stream) { return stream.setHeader && typeof stream.abort === 'function'; } - function eos(stream, opts, callback) { if (typeof opts === 'function') return eos(stream, null, opts); if (!opts) opts = {}; callback = once(callback || noop); - var readable = opts.readable || opts.readable !== false && stream.readable; - var writable = opts.writable || opts.writable !== false && stream.writable; - - var onlegacyfinish = function onlegacyfinish() { + let readable = opts.readable || opts.readable !== false && stream.readable; + let writable = opts.writable || opts.writable !== false && stream.writable; + const onlegacyfinish = () => { if (!stream.writable) onfinish(); }; - var writableEnded = stream._writableState && stream._writableState.finished; - - var onfinish = function onfinish() { + const onfinish = () => { writable = false; writableEnded = true; if (!readable) callback.call(stream); }; - var readableEnded = stream._readableState && stream._readableState.endEmitted; - - var onend = function onend() { + const onend = () => { readable = false; readableEnded = true; if (!writable) callback.call(stream); }; - - var onerror = function onerror(err) { + const onerror = err => { callback.call(stream, err); }; - - var onclose = function onclose() { - var err; - + const onclose = () => { + let err; if (readable && !readableEnded) { if (!stream._readableState || !stream._readableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE(); return callback.call(stream, err); } - if (writable && !writableEnded) { if (!stream._writableState || !stream._writableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE(); return callback.call(stream, err); } }; - - var onrequest = function onrequest() { + const onrequest = () => { stream.req.on('finish', onfinish); }; - if (isRequest(stream)) { stream.on('complete', onfinish); stream.on('abort', onclose); @@ -15939,7 +15654,6 @@ function eos(stream, opts, callback) { stream.on('end', onlegacyfinish); stream.on('close', onlegacyfinish); } - stream.on('end', onend); stream.on('finish', onfinish); if (opts.error !== false) stream.on('error', onerror); @@ -15957,7 +15671,6 @@ function eos(stream, opts, callback) { stream.removeListener('close', onclose); }; } - module.exports = eos; },{"../../../errors":80}],90:[function(require,module,exports){ module.exports = function () { @@ -15967,89 +15680,79 @@ module.exports = function () { },{}],91:[function(require,module,exports){ // Ported from https://github.com/mafintosh/pump with // permission from the author, Mathias Buus (@mafintosh). + 'use strict'; -var eos; - +let eos; function once(callback) { - var called = false; + let called = false; return function () { if (called) return; called = true; - callback.apply(void 0, arguments); + callback(...arguments); }; } - -var _require$codes = require('../../../errors').codes, - ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS, - ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED; - +const _require$codes = require('../../../errors').codes, + ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS, + ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED; function noop(err) { // Rethrow the error if it exists to avoid swallowing it if (err) throw err; } - function isRequest(stream) { return stream.setHeader && typeof stream.abort === 'function'; } - function destroyer(stream, reading, writing, callback) { callback = once(callback); - var closed = false; - stream.on('close', function () { + let closed = false; + stream.on('close', () => { closed = true; }); if (eos === undefined) eos = require('./end-of-stream'); eos(stream, { readable: reading, writable: writing - }, function (err) { + }, err => { if (err) return callback(err); closed = true; callback(); }); - var destroyed = false; - return function (err) { + let destroyed = false; + return err => { if (closed) return; if (destroyed) return; - destroyed = true; // request.destroy just do .end - .abort is what we want + destroyed = true; + // request.destroy just do .end - .abort is what we want if (isRequest(stream)) return stream.abort(); if (typeof stream.destroy === 'function') return stream.destroy(); callback(err || new ERR_STREAM_DESTROYED('pipe')); }; } - function call(fn) { fn(); } - function pipe(from, to) { return from.pipe(to); } - function popCallback(streams) { if (!streams.length) return noop; if (typeof streams[streams.length - 1] !== 'function') return noop; return streams.pop(); } - function pipeline() { for (var _len = arguments.length, streams = new Array(_len), _key = 0; _key < _len; _key++) { streams[_key] = arguments[_key]; } - - var callback = popCallback(streams); + const callback = popCallback(streams); if (Array.isArray(streams[0])) streams = streams[0]; - if (streams.length < 2) { throw new ERR_MISSING_ARGS('streams'); } - - var error; - var destroys = streams.map(function (stream, i) { - var reading = i < streams.length - 1; - var writing = i > 0; + let error; + const destroys = streams.map(function (stream, i) { + const reading = i < streams.length - 1; + const writing = i > 0; return destroyer(stream, reading, writing, function (err) { if (!error) error = err; if (err) destroys.forEach(call); @@ -16060,40 +15763,34 @@ function pipeline() { }); return streams.reduce(pipe); } - module.exports = pipeline; },{"../../../errors":80,"./end-of-stream":89}],92:[function(require,module,exports){ 'use strict'; -var ERR_INVALID_OPT_VALUE = require('../../../errors').codes.ERR_INVALID_OPT_VALUE; - +const ERR_INVALID_OPT_VALUE = require('../../../errors').codes.ERR_INVALID_OPT_VALUE; function highWaterMarkFrom(options, isDuplex, duplexKey) { return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null; } - function getHighWaterMark(state, options, duplexKey, isDuplex) { - var hwm = highWaterMarkFrom(options, isDuplex, duplexKey); - + const hwm = highWaterMarkFrom(options, isDuplex, duplexKey); if (hwm != null) { if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) { - var name = isDuplex ? duplexKey : 'highWaterMark'; + const name = isDuplex ? duplexKey : 'highWaterMark'; throw new ERR_INVALID_OPT_VALUE(name, hwm); } - return Math.floor(hwm); - } // Default value - + } + // Default value return state.objectMode ? 16 : 16 * 1024; } - module.exports = { - getHighWaterMark: getHighWaterMark + getHighWaterMark }; },{"../../../errors":80}],93:[function(require,module,exports){ module.exports = require('events').EventEmitter; -},{"events":134}],94:[function(require,module,exports){ +},{"events":133}],94:[function(require,module,exports){ exports = module.exports = require('./lib/_stream_readable.js'); exports.Stream = exports; exports.Readable = exports; @@ -16401,11 +16098,11 @@ function simpleWrite(buf) { function simpleEnd(buf) { return buf && buf.length ? this.write(buf) : ''; } -},{"safe-buffer":198}],96:[function(require,module,exports){ +},{"safe-buffer":195}],96:[function(require,module,exports){ arguments[4][50][0].apply(exports,arguments) },{"dup":50}],97:[function(require,module,exports){ arguments[4][95][0].apply(exports,arguments) -},{"dup":95,"safe-buffer":198}],98:[function(require,module,exports){ +},{"dup":95,"safe-buffer":195}],98:[function(require,module,exports){ (function (Buffer){(function (){ module.exports = function xor (a, b) { var length = Math.min(a.length, b.length) @@ -18200,7 +17897,7 @@ function numberIsNaN (obj) { } }).call(this)}).call(this,require("buffer").Buffer) -},{"base64-js":46,"buffer":99,"ieee754":168}],100:[function(require,module,exports){ +},{"base64-js":46,"buffer":99,"ieee754":166}],100:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer var Transform = require('stream').Transform var StringDecoder = require('string_decoder').StringDecoder @@ -18301,7 +17998,7 @@ CipherBase.prototype._toString = function (value, enc, fin) { module.exports = CipherBase -},{"inherits":169,"safe-buffer":198,"stream":209,"string_decoder":97}],101:[function(require,module,exports){ +},{"inherits":167,"safe-buffer":195,"stream":205,"string_decoder":97}],101:[function(require,module,exports){ (function (Buffer){(function (){ var elliptic = require('elliptic') var BN = require('bn.js') @@ -18429,7 +18126,7 @@ function formatReturnValue (bn, enc, len) { } }).call(this)}).call(this,require("buffer").Buffer) -},{"bn.js":47,"buffer":99,"elliptic":118}],102:[function(require,module,exports){ +},{"bn.js":47,"buffer":99,"elliptic":117}],102:[function(require,module,exports){ 'use strict' var inherits = require('inherits') var MD5 = require('md5.js') @@ -18461,14 +18158,14 @@ module.exports = function createHash (alg) { return new Hash(sha(alg)) } -},{"cipher-base":100,"inherits":169,"md5.js":171,"ripemd160":197,"sha.js":201}],103:[function(require,module,exports){ +},{"cipher-base":100,"inherits":167,"md5.js":169,"ripemd160":194,"sha.js":198}],103:[function(require,module,exports){ var MD5 = require('md5.js') module.exports = function (buffer) { return new MD5().update(buffer).digest() } -},{"md5.js":171}],104:[function(require,module,exports){ +},{"md5.js":169}],104:[function(require,module,exports){ 'use strict' var inherits = require('inherits') var Legacy = require('./legacy') @@ -18532,7 +18229,7 @@ module.exports = function createHmac (alg, key) { return new Hmac(alg, key) } -},{"./legacy":105,"cipher-base":100,"create-hash/md5":103,"inherits":169,"ripemd160":197,"safe-buffer":198,"sha.js":201}],105:[function(require,module,exports){ +},{"./legacy":105,"cipher-base":100,"create-hash/md5":103,"inherits":167,"ripemd160":194,"safe-buffer":195,"sha.js":198}],105:[function(require,module,exports){ 'use strict' var inherits = require('inherits') var Buffer = require('safe-buffer').Buffer @@ -18580,7 +18277,7 @@ Hmac.prototype._final = function () { } module.exports = Hmac -},{"cipher-base":100,"inherits":169,"safe-buffer":198}],106:[function(require,module,exports){ +},{"cipher-base":100,"inherits":167,"safe-buffer":195}],106:[function(require,module,exports){ 'use strict' exports.randomBytes = exports.rng = exports.pseudoRandomBytes = exports.prng = require('randombytes') @@ -18679,103 +18376,7 @@ exports.constants = { 'POINT_CONVERSION_HYBRID': 6 } -},{"browserify-cipher":68,"browserify-sign":76,"browserify-sign/algos":73,"create-ecdh":101,"create-hash":102,"create-hmac":104,"diffie-hellman":114,"pbkdf2":181,"public-encrypt":188,"randombytes":195,"randomfill":196}],107:[function(require,module,exports){ -'use strict'; -var token = '%[a-f0-9]{2}'; -var singleMatcher = new RegExp('(' + token + ')|([^%]+?)', 'gi'); -var multiMatcher = new RegExp('(' + token + ')+', 'gi'); - -function decodeComponents(components, split) { - try { - // Try to decode the entire string first - return [decodeURIComponent(components.join(''))]; - } catch (err) { - // Do nothing - } - - if (components.length === 1) { - return components; - } - - split = split || 1; - - // Split the array in 2 parts - var left = components.slice(0, split); - var right = components.slice(split); - - return Array.prototype.concat.call([], decodeComponents(left), decodeComponents(right)); -} - -function decode(input) { - try { - return decodeURIComponent(input); - } catch (err) { - var tokens = input.match(singleMatcher) || []; - - for (var i = 1; i < tokens.length; i++) { - input = decodeComponents(tokens, i).join(''); - - tokens = input.match(singleMatcher) || []; - } - - return input; - } -} - -function customDecodeURIComponent(input) { - // Keep track of all the replacements and prefill the map with the `BOM` - var replaceMap = { - '%FE%FF': '\uFFFD\uFFFD', - '%FF%FE': '\uFFFD\uFFFD' - }; - - var match = multiMatcher.exec(input); - while (match) { - try { - // Decode as big chunks as possible - replaceMap[match[0]] = decodeURIComponent(match[0]); - } catch (err) { - var result = decode(match[0]); - - if (result !== match[0]) { - replaceMap[match[0]] = result; - } - } - - match = multiMatcher.exec(input); - } - - // Add `%C2` at the end of the map to make sure it does not replace the combinator before everything else - replaceMap['%C2'] = '\uFFFD'; - - var entries = Object.keys(replaceMap); - - for (var i = 0; i < entries.length; i++) { - // Replace all decoded components - var key = entries[i]; - input = input.replace(new RegExp(key, 'g'), replaceMap[key]); - } - - return input; -} - -module.exports = function (encodedURI) { - if (typeof encodedURI !== 'string') { - throw new TypeError('Expected `encodedURI` to be of type `string`, got `' + typeof encodedURI + '`'); - } - - try { - encodedURI = encodedURI.replace(/\+/g, ' '); - - // Try the built in decoder first - return decodeURIComponent(encodedURI); - } catch (err) { - // Fallback to a more advanced decoder - return customDecodeURIComponent(encodedURI); - } -}; - -},{}],108:[function(require,module,exports){ +},{"browserify-cipher":68,"browserify-sign":76,"browserify-sign/algos":73,"create-ecdh":101,"create-hash":102,"create-hmac":104,"diffie-hellman":113,"pbkdf2":179,"public-encrypt":186,"randombytes":192,"randomfill":193}],107:[function(require,module,exports){ 'use strict'; exports.utils = require('./des/utils'); @@ -18784,7 +18385,7 @@ exports.DES = require('./des/des'); exports.CBC = require('./des/cbc'); exports.EDE = require('./des/ede'); -},{"./des/cbc":109,"./des/cipher":110,"./des/des":111,"./des/ede":112,"./des/utils":113}],109:[function(require,module,exports){ +},{"./des/cbc":108,"./des/cipher":109,"./des/des":110,"./des/ede":111,"./des/utils":112}],108:[function(require,module,exports){ 'use strict'; var assert = require('minimalistic-assert'); @@ -18851,7 +18452,7 @@ proto._update = function _update(inp, inOff, out, outOff) { } }; -},{"inherits":169,"minimalistic-assert":174}],110:[function(require,module,exports){ +},{"inherits":167,"minimalistic-assert":172}],109:[function(require,module,exports){ 'use strict'; var assert = require('minimalistic-assert'); @@ -18994,7 +18595,7 @@ Cipher.prototype._finalDecrypt = function _finalDecrypt() { return this._unpad(out); }; -},{"minimalistic-assert":174}],111:[function(require,module,exports){ +},{"minimalistic-assert":172}],110:[function(require,module,exports){ 'use strict'; var assert = require('minimalistic-assert'); @@ -19138,7 +18739,7 @@ DES.prototype._decrypt = function _decrypt(state, lStart, rStart, out, off) { utils.rip(l, r, out, off); }; -},{"./cipher":110,"./utils":113,"inherits":169,"minimalistic-assert":174}],112:[function(require,module,exports){ +},{"./cipher":109,"./utils":112,"inherits":167,"minimalistic-assert":172}],111:[function(require,module,exports){ 'use strict'; var assert = require('minimalistic-assert'); @@ -19194,7 +18795,7 @@ EDE.prototype._update = function _update(inp, inOff, out, outOff) { EDE.prototype._pad = DES.prototype._pad; EDE.prototype._unpad = DES.prototype._unpad; -},{"./cipher":110,"./des":111,"inherits":169,"minimalistic-assert":174}],113:[function(require,module,exports){ +},{"./cipher":109,"./des":110,"inherits":167,"minimalistic-assert":172}],112:[function(require,module,exports){ 'use strict'; exports.readUInt32BE = function readUInt32BE(bytes, off) { @@ -19452,7 +19053,7 @@ exports.padSplit = function padSplit(num, size, group) { return out.join(' '); }; -},{}],114:[function(require,module,exports){ +},{}],113:[function(require,module,exports){ (function (Buffer){(function (){ var generatePrime = require('./lib/generatePrime') var primes = require('./lib/primes.json') @@ -19498,7 +19099,7 @@ exports.DiffieHellmanGroup = exports.createDiffieHellmanGroup = exports.getDiffi exports.createDiffieHellman = exports.DiffieHellman = createDiffieHellman }).call(this)}).call(this,require("buffer").Buffer) -},{"./lib/dh":115,"./lib/generatePrime":116,"./lib/primes.json":117,"buffer":99}],115:[function(require,module,exports){ +},{"./lib/dh":114,"./lib/generatePrime":115,"./lib/primes.json":116,"buffer":99}],114:[function(require,module,exports){ (function (Buffer){(function (){ var BN = require('bn.js'); var MillerRabin = require('miller-rabin'); @@ -19666,7 +19267,7 @@ function formatReturnValue(bn, enc) { } }).call(this)}).call(this,require("buffer").Buffer) -},{"./generatePrime":116,"bn.js":47,"buffer":99,"miller-rabin":173,"randombytes":195}],116:[function(require,module,exports){ +},{"./generatePrime":115,"bn.js":47,"buffer":99,"miller-rabin":171,"randombytes":192}],115:[function(require,module,exports){ var randomBytes = require('randombytes'); module.exports = findPrime; findPrime.simpleSieve = simpleSieve; @@ -19773,7 +19374,7 @@ function findPrime(bits, gen) { } -},{"bn.js":47,"miller-rabin":173,"randombytes":195}],117:[function(require,module,exports){ +},{"bn.js":47,"miller-rabin":171,"randombytes":192}],116:[function(require,module,exports){ module.exports={ "modp1": { "gen": "02", @@ -19808,7 +19409,7 @@ module.exports={ "prime": "ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff" } } -},{}],118:[function(require,module,exports){ +},{}],117:[function(require,module,exports){ 'use strict'; var elliptic = exports; @@ -19823,7 +19424,7 @@ elliptic.curves = require('./elliptic/curves'); elliptic.ec = require('./elliptic/ec'); elliptic.eddsa = require('./elliptic/eddsa'); -},{"../package.json":133,"./elliptic/curve":121,"./elliptic/curves":124,"./elliptic/ec":125,"./elliptic/eddsa":128,"./elliptic/utils":132,"brorand":48}],119:[function(require,module,exports){ +},{"../package.json":132,"./elliptic/curve":120,"./elliptic/curves":123,"./elliptic/ec":124,"./elliptic/eddsa":127,"./elliptic/utils":131,"brorand":48}],118:[function(require,module,exports){ 'use strict'; var BN = require('bn.js'); @@ -20206,7 +19807,7 @@ BasePoint.prototype.dblp = function dblp(k) { return r; }; -},{"../utils":132,"bn.js":47}],120:[function(require,module,exports){ +},{"../utils":131,"bn.js":47}],119:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -20643,7 +20244,7 @@ Point.prototype.eqXToP = function eqXToP(x) { Point.prototype.toP = Point.prototype.normalize; Point.prototype.mixedAdd = Point.prototype.add; -},{"../utils":132,"./base":119,"bn.js":47,"inherits":169}],121:[function(require,module,exports){ +},{"../utils":131,"./base":118,"bn.js":47,"inherits":167}],120:[function(require,module,exports){ 'use strict'; var curve = exports; @@ -20653,7 +20254,7 @@ curve.short = require('./short'); curve.mont = require('./mont'); curve.edwards = require('./edwards'); -},{"./base":119,"./edwards":120,"./mont":122,"./short":123}],122:[function(require,module,exports){ +},{"./base":118,"./edwards":119,"./mont":121,"./short":122}],121:[function(require,module,exports){ 'use strict'; var BN = require('bn.js'); @@ -20833,7 +20434,7 @@ Point.prototype.getX = function getX() { return this.x.fromRed(); }; -},{"../utils":132,"./base":119,"bn.js":47,"inherits":169}],123:[function(require,module,exports){ +},{"../utils":131,"./base":118,"bn.js":47,"inherits":167}],122:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -21773,7 +21374,7 @@ JPoint.prototype.isInfinity = function isInfinity() { return this.z.cmpn(0) === 0; }; -},{"../utils":132,"./base":119,"bn.js":47,"inherits":169}],124:[function(require,module,exports){ +},{"../utils":131,"./base":118,"bn.js":47,"inherits":167}],123:[function(require,module,exports){ 'use strict'; var curves = exports; @@ -21981,7 +21582,7 @@ defineCurve('secp256k1', { ], }); -},{"./curve":121,"./precomputed/secp256k1":131,"./utils":132,"hash.js":155}],125:[function(require,module,exports){ +},{"./curve":120,"./precomputed/secp256k1":130,"./utils":131,"hash.js":153}],124:[function(require,module,exports){ 'use strict'; var BN = require('bn.js'); @@ -22226,7 +21827,7 @@ EC.prototype.getKeyRecoveryParam = function(e, signature, Q, enc) { throw new Error('Unable to find valid recovery factor'); }; -},{"../curves":124,"../utils":132,"./key":126,"./signature":127,"bn.js":47,"brorand":48,"hmac-drbg":167}],126:[function(require,module,exports){ +},{"../curves":123,"../utils":131,"./key":125,"./signature":126,"bn.js":47,"brorand":48,"hmac-drbg":165}],125:[function(require,module,exports){ 'use strict'; var BN = require('bn.js'); @@ -22349,7 +21950,7 @@ KeyPair.prototype.inspect = function inspect() { ' pub: ' + (this.pub && this.pub.inspect()) + ' >'; }; -},{"../utils":132,"bn.js":47}],127:[function(require,module,exports){ +},{"../utils":131,"bn.js":47}],126:[function(require,module,exports){ 'use strict'; var BN = require('bn.js'); @@ -22517,7 +22118,7 @@ Signature.prototype.toDER = function toDER(enc) { return utils.encode(res, enc); }; -},{"../utils":132,"bn.js":47}],128:[function(require,module,exports){ +},{"../utils":131,"bn.js":47}],127:[function(require,module,exports){ 'use strict'; var hash = require('hash.js'); @@ -22637,7 +22238,7 @@ EDDSA.prototype.isPoint = function isPoint(val) { return val instanceof this.pointClass; }; -},{"../curves":124,"../utils":132,"./key":129,"./signature":130,"hash.js":155}],129:[function(require,module,exports){ +},{"../curves":123,"../utils":131,"./key":128,"./signature":129,"hash.js":153}],128:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -22734,7 +22335,7 @@ KeyPair.prototype.getPublic = function getPublic(enc) { module.exports = KeyPair; -},{"../utils":132}],130:[function(require,module,exports){ +},{"../utils":131}],129:[function(require,module,exports){ 'use strict'; var BN = require('bn.js'); @@ -22801,7 +22402,7 @@ Signature.prototype.toHex = function toHex() { module.exports = Signature; -},{"../utils":132,"bn.js":47}],131:[function(require,module,exports){ +},{"../utils":131,"bn.js":47}],130:[function(require,module,exports){ module.exports = { doubles: { step: 4, @@ -23583,7 +23184,7 @@ module.exports = { }, }; -},{}],132:[function(require,module,exports){ +},{}],131:[function(require,module,exports){ 'use strict'; var utils = exports; @@ -23704,7 +23305,7 @@ function intFromLE(bytes) { utils.intFromLE = intFromLE; -},{"bn.js":47,"minimalistic-assert":174,"minimalistic-crypto-utils":175}],133:[function(require,module,exports){ +},{"bn.js":47,"minimalistic-assert":172,"minimalistic-crypto-utils":173}],132:[function(require,module,exports){ module.exports={ "name": "elliptic", "version": "6.5.4", @@ -23762,7 +23363,7 @@ module.exports={ } } -},{}],134:[function(require,module,exports){ +},{}],133:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -24261,7 +23862,7 @@ function eventTargetAgnosticAddListener(emitter, name, listener, flags) { } } -},{}],135:[function(require,module,exports){ +},{}],134:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer var MD5 = require('md5.js') @@ -24308,26 +23909,7 @@ function EVP_BytesToKey (password, salt, keyBits, ivLen) { module.exports = EVP_BytesToKey -},{"md5.js":171,"safe-buffer":198}],136:[function(require,module,exports){ -'use strict'; -module.exports = function (obj, predicate) { - var ret = {}; - var keys = Object.keys(obj); - var isArr = Array.isArray(predicate); - - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - var val = obj[key]; - - if (isArr ? predicate.indexOf(key) !== -1 : predicate(key, val, obj)) { - ret[key] = val; - } - } - - return ret; -}; - -},{}],137:[function(require,module,exports){ +},{"md5.js":169,"safe-buffer":195}],135:[function(require,module,exports){ 'use strict' var Buffer = require('safe-buffer').Buffer var Transform = require('readable-stream').Transform @@ -24424,39 +24006,39 @@ HashBase.prototype._digest = function () { module.exports = HashBase -},{"inherits":169,"readable-stream":152,"safe-buffer":198}],138:[function(require,module,exports){ +},{"inherits":167,"readable-stream":150,"safe-buffer":195}],136:[function(require,module,exports){ arguments[4][80][0].apply(exports,arguments) -},{"dup":80}],139:[function(require,module,exports){ +},{"dup":80}],137:[function(require,module,exports){ arguments[4][81][0].apply(exports,arguments) -},{"./_stream_readable":141,"./_stream_writable":143,"_process":187,"dup":81,"inherits":169}],140:[function(require,module,exports){ +},{"./_stream_readable":139,"./_stream_writable":141,"_process":185,"dup":81,"inherits":167}],138:[function(require,module,exports){ arguments[4][82][0].apply(exports,arguments) -},{"./_stream_transform":142,"dup":82,"inherits":169}],141:[function(require,module,exports){ +},{"./_stream_transform":140,"dup":82,"inherits":167}],139:[function(require,module,exports){ arguments[4][83][0].apply(exports,arguments) -},{"../errors":138,"./_stream_duplex":139,"./internal/streams/async_iterator":144,"./internal/streams/buffer_list":145,"./internal/streams/destroy":146,"./internal/streams/from":148,"./internal/streams/state":150,"./internal/streams/stream":151,"_process":187,"buffer":99,"dup":83,"events":134,"inherits":169,"string_decoder/":153,"util":50}],142:[function(require,module,exports){ +},{"../errors":136,"./_stream_duplex":137,"./internal/streams/async_iterator":142,"./internal/streams/buffer_list":143,"./internal/streams/destroy":144,"./internal/streams/from":146,"./internal/streams/state":148,"./internal/streams/stream":149,"_process":185,"buffer":99,"dup":83,"events":133,"inherits":167,"string_decoder/":151,"util":50}],140:[function(require,module,exports){ arguments[4][84][0].apply(exports,arguments) -},{"../errors":138,"./_stream_duplex":139,"dup":84,"inherits":169}],143:[function(require,module,exports){ +},{"../errors":136,"./_stream_duplex":137,"dup":84,"inherits":167}],141:[function(require,module,exports){ arguments[4][85][0].apply(exports,arguments) -},{"../errors":138,"./_stream_duplex":139,"./internal/streams/destroy":146,"./internal/streams/state":150,"./internal/streams/stream":151,"_process":187,"buffer":99,"dup":85,"inherits":169,"util-deprecate":226}],144:[function(require,module,exports){ +},{"../errors":136,"./_stream_duplex":137,"./internal/streams/destroy":144,"./internal/streams/state":148,"./internal/streams/stream":149,"_process":185,"buffer":99,"dup":85,"inherits":167,"util-deprecate":221}],142:[function(require,module,exports){ arguments[4][86][0].apply(exports,arguments) -},{"./end-of-stream":147,"_process":187,"dup":86}],145:[function(require,module,exports){ +},{"./end-of-stream":145,"_process":185,"dup":86}],143:[function(require,module,exports){ arguments[4][87][0].apply(exports,arguments) -},{"buffer":99,"dup":87,"util":50}],146:[function(require,module,exports){ +},{"buffer":99,"dup":87,"util":50}],144:[function(require,module,exports){ arguments[4][88][0].apply(exports,arguments) -},{"_process":187,"dup":88}],147:[function(require,module,exports){ +},{"_process":185,"dup":88}],145:[function(require,module,exports){ arguments[4][89][0].apply(exports,arguments) -},{"../../../errors":138,"dup":89}],148:[function(require,module,exports){ +},{"../../../errors":136,"dup":89}],146:[function(require,module,exports){ arguments[4][90][0].apply(exports,arguments) -},{"dup":90}],149:[function(require,module,exports){ +},{"dup":90}],147:[function(require,module,exports){ arguments[4][91][0].apply(exports,arguments) -},{"../../../errors":138,"./end-of-stream":147,"dup":91}],150:[function(require,module,exports){ +},{"../../../errors":136,"./end-of-stream":145,"dup":91}],148:[function(require,module,exports){ arguments[4][92][0].apply(exports,arguments) -},{"../../../errors":138,"dup":92}],151:[function(require,module,exports){ +},{"../../../errors":136,"dup":92}],149:[function(require,module,exports){ arguments[4][93][0].apply(exports,arguments) -},{"dup":93,"events":134}],152:[function(require,module,exports){ +},{"dup":93,"events":133}],150:[function(require,module,exports){ arguments[4][94][0].apply(exports,arguments) -},{"./lib/_stream_duplex.js":139,"./lib/_stream_passthrough.js":140,"./lib/_stream_readable.js":141,"./lib/_stream_transform.js":142,"./lib/_stream_writable.js":143,"./lib/internal/streams/end-of-stream.js":147,"./lib/internal/streams/pipeline.js":149,"dup":94}],153:[function(require,module,exports){ +},{"./lib/_stream_duplex.js":137,"./lib/_stream_passthrough.js":138,"./lib/_stream_readable.js":139,"./lib/_stream_transform.js":140,"./lib/_stream_writable.js":141,"./lib/internal/streams/end-of-stream.js":145,"./lib/internal/streams/pipeline.js":147,"dup":94}],151:[function(require,module,exports){ arguments[4][95][0].apply(exports,arguments) -},{"dup":95,"safe-buffer":198}],154:[function(require,module,exports){ +},{"dup":95,"safe-buffer":195}],152:[function(require,module,exports){ (function (global){(function (){ /*! * hash-wasm (https://www.npmjs.com/package/hash-wasm) @@ -26938,7 +26520,7 @@ arguments[4][95][0].apply(exports,arguments) }))); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],155:[function(require,module,exports){ +},{}],153:[function(require,module,exports){ var hash = exports; hash.utils = require('./hash/utils'); @@ -26955,7 +26537,7 @@ hash.sha384 = hash.sha.sha384; hash.sha512 = hash.sha.sha512; hash.ripemd160 = hash.ripemd.ripemd160; -},{"./hash/common":156,"./hash/hmac":157,"./hash/ripemd":158,"./hash/sha":159,"./hash/utils":166}],156:[function(require,module,exports){ +},{"./hash/common":154,"./hash/hmac":155,"./hash/ripemd":156,"./hash/sha":157,"./hash/utils":164}],154:[function(require,module,exports){ 'use strict'; var utils = require('./utils'); @@ -27049,7 +26631,7 @@ BlockHash.prototype._pad = function pad() { return res; }; -},{"./utils":166,"minimalistic-assert":174}],157:[function(require,module,exports){ +},{"./utils":164,"minimalistic-assert":172}],155:[function(require,module,exports){ 'use strict'; var utils = require('./utils'); @@ -27098,7 +26680,7 @@ Hmac.prototype.digest = function digest(enc) { return this.outer.digest(enc); }; -},{"./utils":166,"minimalistic-assert":174}],158:[function(require,module,exports){ +},{"./utils":164,"minimalistic-assert":172}],156:[function(require,module,exports){ 'use strict'; var utils = require('./utils'); @@ -27246,7 +26828,7 @@ var sh = [ 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11 ]; -},{"./common":156,"./utils":166}],159:[function(require,module,exports){ +},{"./common":154,"./utils":164}],157:[function(require,module,exports){ 'use strict'; exports.sha1 = require('./sha/1'); @@ -27255,7 +26837,7 @@ exports.sha256 = require('./sha/256'); exports.sha384 = require('./sha/384'); exports.sha512 = require('./sha/512'); -},{"./sha/1":160,"./sha/224":161,"./sha/256":162,"./sha/384":163,"./sha/512":164}],160:[function(require,module,exports){ +},{"./sha/1":158,"./sha/224":159,"./sha/256":160,"./sha/384":161,"./sha/512":162}],158:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -27331,7 +26913,7 @@ SHA1.prototype._digest = function digest(enc) { return utils.split32(this.h, 'big'); }; -},{"../common":156,"../utils":166,"./common":165}],161:[function(require,module,exports){ +},{"../common":154,"../utils":164,"./common":163}],159:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -27363,7 +26945,7 @@ SHA224.prototype._digest = function digest(enc) { }; -},{"../utils":166,"./256":162}],162:[function(require,module,exports){ +},{"../utils":164,"./256":160}],160:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -27470,7 +27052,7 @@ SHA256.prototype._digest = function digest(enc) { return utils.split32(this.h, 'big'); }; -},{"../common":156,"../utils":166,"./common":165,"minimalistic-assert":174}],163:[function(require,module,exports){ +},{"../common":154,"../utils":164,"./common":163,"minimalistic-assert":172}],161:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -27507,7 +27089,7 @@ SHA384.prototype._digest = function digest(enc) { return utils.split32(this.h.slice(0, 12), 'big'); }; -},{"../utils":166,"./512":164}],164:[function(require,module,exports){ +},{"../utils":164,"./512":162}],162:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -27839,7 +27421,7 @@ function g1_512_lo(xh, xl) { return r; } -},{"../common":156,"../utils":166,"minimalistic-assert":174}],165:[function(require,module,exports){ +},{"../common":154,"../utils":164,"minimalistic-assert":172}],163:[function(require,module,exports){ 'use strict'; var utils = require('../utils'); @@ -27890,7 +27472,7 @@ function g1_256(x) { } exports.g1_256 = g1_256; -},{"../utils":166}],166:[function(require,module,exports){ +},{"../utils":164}],164:[function(require,module,exports){ 'use strict'; var assert = require('minimalistic-assert'); @@ -28170,7 +27752,7 @@ function shr64_lo(ah, al, num) { } exports.shr64_lo = shr64_lo; -},{"inherits":169,"minimalistic-assert":174}],167:[function(require,module,exports){ +},{"inherits":167,"minimalistic-assert":172}],165:[function(require,module,exports){ 'use strict'; var hash = require('hash.js'); @@ -28285,7 +27867,7 @@ HmacDRBG.prototype.generate = function generate(len, enc, add, addEnc) { return utils.encode(res, enc); }; -},{"hash.js":155,"minimalistic-assert":174,"minimalistic-crypto-utils":175}],168:[function(require,module,exports){ +},{"hash.js":153,"minimalistic-assert":172,"minimalistic-crypto-utils":173}],166:[function(require,module,exports){ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ exports.read = function (buffer, offset, isLE, mLen, nBytes) { var e, m @@ -28372,7 +27954,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { buffer[offset + i - d] |= s * 128 } -},{}],169:[function(require,module,exports){ +},{}],167:[function(require,module,exports){ if (typeof Object.create === 'function') { // implementation from standard node.js 'util' module module.exports = function inherits(ctor, superCtor) { @@ -28401,7 +27983,7 @@ if (typeof Object.create === 'function') { } } -},{}],170:[function(require,module,exports){ +},{}],168:[function(require,module,exports){ 'use strict'; module.exports = value => { @@ -28413,7 +27995,7 @@ module.exports = value => { return prototype === null || prototype === Object.prototype; }; -},{}],171:[function(require,module,exports){ +},{}],169:[function(require,module,exports){ 'use strict' var inherits = require('inherits') var HashBase = require('hash-base') @@ -28561,7 +28143,7 @@ function fnI (a, b, c, d, m, k, s) { module.exports = MD5 -},{"hash-base":137,"inherits":169,"safe-buffer":198}],172:[function(require,module,exports){ +},{"hash-base":135,"inherits":167,"safe-buffer":195}],170:[function(require,module,exports){ 'use strict'; const isOptionObject = require('is-plain-obj'); @@ -28734,7 +28316,7 @@ module.exports = function (...options) { return merged._; }; -},{"is-plain-obj":170}],173:[function(require,module,exports){ +},{"is-plain-obj":168}],171:[function(require,module,exports){ var bn = require('bn.js'); var brorand = require('brorand'); @@ -28851,7 +28433,7 @@ MillerRabin.prototype.getDivisor = function getDivisor(n, k) { return false; }; -},{"bn.js":47,"brorand":48}],174:[function(require,module,exports){ +},{"bn.js":47,"brorand":48}],172:[function(require,module,exports){ module.exports = assert; function assert(val, msg) { @@ -28864,7 +28446,7 @@ assert.equal = function assertEqual(l, r, msg) { throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r)); }; -},{}],175:[function(require,module,exports){ +},{}],173:[function(require,module,exports){ 'use strict'; var utils = exports; @@ -28924,7 +28506,7 @@ utils.encode = function encode(arr, enc) { return arr; }; -},{}],176:[function(require,module,exports){ +},{}],174:[function(require,module,exports){ module.exports={"2.16.840.1.101.3.4.1.1": "aes-128-ecb", "2.16.840.1.101.3.4.1.2": "aes-128-cbc", "2.16.840.1.101.3.4.1.3": "aes-128-ofb", @@ -28938,7 +28520,7 @@ module.exports={"2.16.840.1.101.3.4.1.1": "aes-128-ecb", "2.16.840.1.101.3.4.1.43": "aes-256-ofb", "2.16.840.1.101.3.4.1.44": "aes-256-cfb" } -},{}],177:[function(require,module,exports){ +},{}],175:[function(require,module,exports){ // from https://github.com/indutny/self-signed/blob/gh-pages/lib/asn1.js // Fedor, you are amazing. 'use strict' @@ -29062,7 +28644,7 @@ exports.signature = asn1.define('signature', function () { ) }) -},{"./certificate":178,"asn1.js":3}],178:[function(require,module,exports){ +},{"./certificate":176,"asn1.js":3}],176:[function(require,module,exports){ // from https://github.com/Rantanen/node-dtls/blob/25a7dc861bda38cfeac93a723500eea4f0ac2e86/Certificate.js // thanks to @Rantanen @@ -29153,7 +28735,7 @@ var X509Certificate = asn.define('X509Certificate', function () { module.exports = X509Certificate -},{"asn1.js":3}],179:[function(require,module,exports){ +},{"asn1.js":3}],177:[function(require,module,exports){ // adapted from https://github.com/apatil/pemstrip var findProc = /Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m var startRegex = /^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m @@ -29186,7 +28768,7 @@ module.exports = function (okey, password) { } } -},{"browserify-aes":53,"evp_bytestokey":135,"safe-buffer":198}],180:[function(require,module,exports){ +},{"browserify-aes":53,"evp_bytestokey":134,"safe-buffer":195}],178:[function(require,module,exports){ var asn1 = require('./asn1') var aesid = require('./aesid.json') var fixProc = require('./fixProc') @@ -29295,11 +28877,11 @@ function decrypt (data, password) { return Buffer.concat(out) } -},{"./aesid.json":176,"./asn1":177,"./fixProc":179,"browserify-aes":53,"pbkdf2":181,"safe-buffer":198}],181:[function(require,module,exports){ +},{"./aesid.json":174,"./asn1":175,"./fixProc":177,"browserify-aes":53,"pbkdf2":179,"safe-buffer":195}],179:[function(require,module,exports){ exports.pbkdf2 = require('./lib/async') exports.pbkdf2Sync = require('./lib/sync') -},{"./lib/async":182,"./lib/sync":185}],182:[function(require,module,exports){ +},{"./lib/async":180,"./lib/sync":183}],180:[function(require,module,exports){ (function (global){(function (){ var Buffer = require('safe-buffer').Buffer @@ -29421,7 +29003,7 @@ module.exports = function (password, salt, iterations, keylen, digest, callback) } }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./default-encoding":183,"./precondition":184,"./sync":185,"./to-buffer":186,"safe-buffer":198}],183:[function(require,module,exports){ +},{"./default-encoding":181,"./precondition":182,"./sync":183,"./to-buffer":184,"safe-buffer":195}],181:[function(require,module,exports){ (function (process,global){(function (){ var defaultEncoding /* istanbul ignore next */ @@ -29437,7 +29019,7 @@ if (global.process && global.process.browser) { module.exports = defaultEncoding }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"_process":187}],184:[function(require,module,exports){ +},{"_process":185}],182:[function(require,module,exports){ var MAX_ALLOC = Math.pow(2, 30) - 1 // default in iojs module.exports = function (iterations, keylen) { @@ -29458,7 +29040,7 @@ module.exports = function (iterations, keylen) { } } -},{}],185:[function(require,module,exports){ +},{}],183:[function(require,module,exports){ var md5 = require('create-hash/md5') var RIPEMD160 = require('ripemd160') var sha = require('sha.js') @@ -29565,7 +29147,7 @@ function pbkdf2 (password, salt, iterations, keylen, digest) { module.exports = pbkdf2 -},{"./default-encoding":183,"./precondition":184,"./to-buffer":186,"create-hash/md5":103,"ripemd160":197,"safe-buffer":198,"sha.js":201}],186:[function(require,module,exports){ +},{"./default-encoding":181,"./precondition":182,"./to-buffer":184,"create-hash/md5":103,"ripemd160":194,"safe-buffer":195,"sha.js":198}],184:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer module.exports = function (thing, encoding, name) { @@ -29580,7 +29162,7 @@ module.exports = function (thing, encoding, name) { } } -},{"safe-buffer":198}],187:[function(require,module,exports){ +},{"safe-buffer":195}],185:[function(require,module,exports){ // shim for using process in browser var process = module.exports = {}; @@ -29766,7 +29348,7 @@ process.chdir = function (dir) { }; process.umask = function() { return 0; }; -},{}],188:[function(require,module,exports){ +},{}],186:[function(require,module,exports){ exports.publicEncrypt = require('./publicEncrypt') exports.privateDecrypt = require('./privateDecrypt') @@ -29778,7 +29360,7 @@ exports.publicDecrypt = function publicDecrypt (key, buf) { return exports.privateDecrypt(key, buf, true) } -},{"./privateDecrypt":190,"./publicEncrypt":191}],189:[function(require,module,exports){ +},{"./privateDecrypt":188,"./publicEncrypt":189}],187:[function(require,module,exports){ var createHash = require('create-hash') var Buffer = require('safe-buffer').Buffer @@ -29799,7 +29381,7 @@ function i2ops (c) { return out } -},{"create-hash":102,"safe-buffer":198}],190:[function(require,module,exports){ +},{"create-hash":102,"safe-buffer":195}],188:[function(require,module,exports){ var parseKeys = require('parse-asn1') var mgf = require('./mgf') var xor = require('./xor') @@ -29906,7 +29488,7 @@ function compare (a, b) { return dif } -},{"./mgf":189,"./withPublic":192,"./xor":193,"bn.js":47,"browserify-rsa":71,"create-hash":102,"parse-asn1":180,"safe-buffer":198}],191:[function(require,module,exports){ +},{"./mgf":187,"./withPublic":190,"./xor":191,"bn.js":47,"browserify-rsa":71,"create-hash":102,"parse-asn1":178,"safe-buffer":195}],189:[function(require,module,exports){ var parseKeys = require('parse-asn1') var randomBytes = require('randombytes') var createHash = require('create-hash') @@ -29996,7 +29578,7 @@ function nonZero (len) { return out } -},{"./mgf":189,"./withPublic":192,"./xor":193,"bn.js":47,"browserify-rsa":71,"create-hash":102,"parse-asn1":180,"randombytes":195,"safe-buffer":198}],192:[function(require,module,exports){ +},{"./mgf":187,"./withPublic":190,"./xor":191,"bn.js":47,"browserify-rsa":71,"create-hash":102,"parse-asn1":178,"randombytes":192,"safe-buffer":195}],190:[function(require,module,exports){ var BN = require('bn.js') var Buffer = require('safe-buffer').Buffer @@ -30010,7 +29592,7 @@ function withPublic (paddedMsg, key) { module.exports = withPublic -},{"bn.js":47,"safe-buffer":198}],193:[function(require,module,exports){ +},{"bn.js":47,"safe-buffer":195}],191:[function(require,module,exports){ module.exports = function xor (a, b) { var len = a.length var i = -1 @@ -30020,413 +29602,7 @@ module.exports = function xor (a, b) { return a } -},{}],194:[function(require,module,exports){ -'use strict'; -const strictUriEncode = require('strict-uri-encode'); -const decodeComponent = require('decode-uri-component'); -const splitOnFirst = require('split-on-first'); -const filterObject = require('filter-obj'); - -const isNullOrUndefined = value => value === null || value === undefined; - -function encoderForArrayFormat(options) { - switch (options.arrayFormat) { - case 'index': - return key => (result, value) => { - const index = result.length; - - if ( - value === undefined || - (options.skipNull && value === null) || - (options.skipEmptyString && value === '') - ) { - return result; - } - - if (value === null) { - return [...result, [encode(key, options), '[', index, ']'].join('')]; - } - - return [ - ...result, - [encode(key, options), '[', encode(index, options), ']=', encode(value, options)].join('') - ]; - }; - - case 'bracket': - return key => (result, value) => { - if ( - value === undefined || - (options.skipNull && value === null) || - (options.skipEmptyString && value === '') - ) { - return result; - } - - if (value === null) { - return [...result, [encode(key, options), '[]'].join('')]; - } - - return [...result, [encode(key, options), '[]=', encode(value, options)].join('')]; - }; - - case 'comma': - case 'separator': - return key => (result, value) => { - if (value === null || value === undefined || value.length === 0) { - return result; - } - - if (result.length === 0) { - return [[encode(key, options), '=', encode(value, options)].join('')]; - } - - return [[result, encode(value, options)].join(options.arrayFormatSeparator)]; - }; - - default: - return key => (result, value) => { - if ( - value === undefined || - (options.skipNull && value === null) || - (options.skipEmptyString && value === '') - ) { - return result; - } - - if (value === null) { - return [...result, encode(key, options)]; - } - - return [...result, [encode(key, options), '=', encode(value, options)].join('')]; - }; - } -} - -function parserForArrayFormat(options) { - let result; - - switch (options.arrayFormat) { - case 'index': - return (key, value, accumulator) => { - result = /\[(\d*)\]$/.exec(key); - - key = key.replace(/\[\d*\]$/, ''); - - if (!result) { - accumulator[key] = value; - return; - } - - if (accumulator[key] === undefined) { - accumulator[key] = {}; - } - - accumulator[key][result[1]] = value; - }; - - case 'bracket': - return (key, value, accumulator) => { - result = /(\[\])$/.exec(key); - key = key.replace(/\[\]$/, ''); - - if (!result) { - accumulator[key] = value; - return; - } - - if (accumulator[key] === undefined) { - accumulator[key] = [value]; - return; - } - - accumulator[key] = [].concat(accumulator[key], value); - }; - - case 'comma': - case 'separator': - return (key, value, accumulator) => { - const isArray = typeof value === 'string' && value.includes(options.arrayFormatSeparator); - const isEncodedArray = (typeof value === 'string' && !isArray && decode(value, options).includes(options.arrayFormatSeparator)); - value = isEncodedArray ? decode(value, options) : value; - const newValue = isArray || isEncodedArray ? value.split(options.arrayFormatSeparator).map(item => decode(item, options)) : value === null ? value : decode(value, options); - accumulator[key] = newValue; - }; - - default: - return (key, value, accumulator) => { - if (accumulator[key] === undefined) { - accumulator[key] = value; - return; - } - - accumulator[key] = [].concat(accumulator[key], value); - }; - } -} - -function validateArrayFormatSeparator(value) { - if (typeof value !== 'string' || value.length !== 1) { - throw new TypeError('arrayFormatSeparator must be single character string'); - } -} - -function encode(value, options) { - if (options.encode) { - return options.strict ? strictUriEncode(value) : encodeURIComponent(value); - } - - return value; -} - -function decode(value, options) { - if (options.decode) { - return decodeComponent(value); - } - - return value; -} - -function keysSorter(input) { - if (Array.isArray(input)) { - return input.sort(); - } - - if (typeof input === 'object') { - return keysSorter(Object.keys(input)) - .sort((a, b) => Number(a) - Number(b)) - .map(key => input[key]); - } - - return input; -} - -function removeHash(input) { - const hashStart = input.indexOf('#'); - if (hashStart !== -1) { - input = input.slice(0, hashStart); - } - - return input; -} - -function getHash(url) { - let hash = ''; - const hashStart = url.indexOf('#'); - if (hashStart !== -1) { - hash = url.slice(hashStart); - } - - return hash; -} - -function extract(input) { - input = removeHash(input); - const queryStart = input.indexOf('?'); - if (queryStart === -1) { - return ''; - } - - return input.slice(queryStart + 1); -} - -function parseValue(value, options) { - if (options.parseNumbers && !Number.isNaN(Number(value)) && (typeof value === 'string' && value.trim() !== '')) { - value = Number(value); - } else if (options.parseBooleans && value !== null && (value.toLowerCase() === 'true' || value.toLowerCase() === 'false')) { - value = value.toLowerCase() === 'true'; - } - - return value; -} - -function parse(query, options) { - options = Object.assign({ - decode: true, - sort: true, - arrayFormat: 'none', - arrayFormatSeparator: ',', - parseNumbers: false, - parseBooleans: false - }, options); - - validateArrayFormatSeparator(options.arrayFormatSeparator); - - const formatter = parserForArrayFormat(options); - - // Create an object with no prototype - const ret = Object.create(null); - - if (typeof query !== 'string') { - return ret; - } - - query = query.trim().replace(/^[?#&]/, ''); - - if (!query) { - return ret; - } - - for (const param of query.split('&')) { - if (param === '') { - continue; - } - - let [key, value] = splitOnFirst(options.decode ? param.replace(/\+/g, ' ') : param, '='); - - // Missing `=` should be `null`: - // http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters - value = value === undefined ? null : ['comma', 'separator'].includes(options.arrayFormat) ? value : decode(value, options); - formatter(decode(key, options), value, ret); - } - - for (const key of Object.keys(ret)) { - const value = ret[key]; - if (typeof value === 'object' && value !== null) { - for (const k of Object.keys(value)) { - value[k] = parseValue(value[k], options); - } - } else { - ret[key] = parseValue(value, options); - } - } - - if (options.sort === false) { - return ret; - } - - return (options.sort === true ? Object.keys(ret).sort() : Object.keys(ret).sort(options.sort)).reduce((result, key) => { - const value = ret[key]; - if (Boolean(value) && typeof value === 'object' && !Array.isArray(value)) { - // Sort object keys, not values - result[key] = keysSorter(value); - } else { - result[key] = value; - } - - return result; - }, Object.create(null)); -} - -exports.extract = extract; -exports.parse = parse; - -exports.stringify = (object, options) => { - if (!object) { - return ''; - } - - options = Object.assign({ - encode: true, - strict: true, - arrayFormat: 'none', - arrayFormatSeparator: ',' - }, options); - - validateArrayFormatSeparator(options.arrayFormatSeparator); - - const shouldFilter = key => ( - (options.skipNull && isNullOrUndefined(object[key])) || - (options.skipEmptyString && object[key] === '') - ); - - const formatter = encoderForArrayFormat(options); - - const objectCopy = {}; - - for (const key of Object.keys(object)) { - if (!shouldFilter(key)) { - objectCopy[key] = object[key]; - } - } - - const keys = Object.keys(objectCopy); - - if (options.sort !== false) { - keys.sort(options.sort); - } - - return keys.map(key => { - const value = object[key]; - - if (value === undefined) { - return ''; - } - - if (value === null) { - return encode(key, options); - } - - if (Array.isArray(value)) { - return value - .reduce(formatter(key), []) - .join('&'); - } - - return encode(key, options) + '=' + encode(value, options); - }).filter(x => x.length > 0).join('&'); -}; - -exports.parseUrl = (url, options) => { - options = Object.assign({ - decode: true - }, options); - - const [url_, hash] = splitOnFirst(url, '#'); - - return Object.assign( - { - url: url_.split('?')[0] || '', - query: parse(extract(url), options) - }, - options && options.parseFragmentIdentifier && hash ? {fragmentIdentifier: decode(hash, options)} : {} - ); -}; - -exports.stringifyUrl = (object, options) => { - options = Object.assign({ - encode: true, - strict: true - }, options); - - const url = removeHash(object.url).split('?')[0] || ''; - const queryFromUrl = exports.extract(object.url); - const parsedQueryFromUrl = exports.parse(queryFromUrl, {sort: false}); - - const query = Object.assign(parsedQueryFromUrl, object.query); - let queryString = exports.stringify(query, options); - if (queryString) { - queryString = `?${queryString}`; - } - - let hash = getHash(object.url); - if (object.fragmentIdentifier) { - hash = `#${encode(object.fragmentIdentifier, options)}`; - } - - return `${url}${queryString}${hash}`; -}; - -exports.pick = (input, filter, options) => { - options = Object.assign({ - parseFragmentIdentifier: true - }, options); - - const {url, query, fragmentIdentifier} = exports.parseUrl(input, options); - return exports.stringifyUrl({ - url, - query: filterObject(query, filter), - fragmentIdentifier - }, options); -}; - -exports.exclude = (input, filter, options) => { - const exclusionFilter = Array.isArray(filter) ? key => !filter.includes(key) : (key, value) => !filter(key, value); - - return exports.pick(input, exclusionFilter, options); -}; - -},{"decode-uri-component":107,"filter-obj":136,"split-on-first":208,"strict-uri-encode":225}],195:[function(require,module,exports){ +},{}],192:[function(require,module,exports){ (function (process,global){(function (){ 'use strict' @@ -30480,7 +29656,7 @@ function randomBytes (size, cb) { } }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"_process":187,"safe-buffer":198}],196:[function(require,module,exports){ +},{"_process":185,"safe-buffer":195}],193:[function(require,module,exports){ (function (process,global){(function (){ 'use strict' @@ -30592,7 +29768,7 @@ function randomFillSync (buf, offset, size) { } }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"_process":187,"randombytes":195,"safe-buffer":198}],197:[function(require,module,exports){ +},{"_process":185,"randombytes":192,"safe-buffer":195}],194:[function(require,module,exports){ 'use strict' var Buffer = require('buffer').Buffer var inherits = require('inherits') @@ -30757,7 +29933,7 @@ function fn5 (a, b, c, d, e, m, k, s) { module.exports = RIPEMD160 -},{"buffer":99,"hash-base":137,"inherits":169}],198:[function(require,module,exports){ +},{"buffer":99,"hash-base":135,"inherits":167}],195:[function(require,module,exports){ /*! safe-buffer. MIT License. Feross Aboukhadijeh */ /* eslint-disable node/no-deprecated-api */ var buffer = require('buffer') @@ -30824,7 +30000,7 @@ SafeBuffer.allocUnsafeSlow = function (size) { return buffer.SlowBuffer(size) } -},{"buffer":99}],199:[function(require,module,exports){ +},{"buffer":99}],196:[function(require,module,exports){ (function (process){(function (){ /* eslint-disable node/no-deprecated-api */ @@ -30905,7 +30081,7 @@ if (!safer.constants) { module.exports = safer }).call(this)}).call(this,require('_process')) -},{"_process":187,"buffer":99}],200:[function(require,module,exports){ +},{"_process":185,"buffer":99}],197:[function(require,module,exports){ var Buffer = require('safe-buffer').Buffer // prototype class for hash functions @@ -30988,7 +30164,7 @@ Hash.prototype._update = function () { module.exports = Hash -},{"safe-buffer":198}],201:[function(require,module,exports){ +},{"safe-buffer":195}],198:[function(require,module,exports){ var exports = module.exports = function SHA (algorithm) { algorithm = algorithm.toLowerCase() @@ -31005,7 +30181,7 @@ exports.sha256 = require('./sha256') exports.sha384 = require('./sha384') exports.sha512 = require('./sha512') -},{"./sha":202,"./sha1":203,"./sha224":204,"./sha256":205,"./sha384":206,"./sha512":207}],202:[function(require,module,exports){ +},{"./sha":199,"./sha1":200,"./sha224":201,"./sha256":202,"./sha384":203,"./sha512":204}],199:[function(require,module,exports){ /* * A JavaScript implementation of the Secure Hash Algorithm, SHA-0, as defined * in FIPS PUB 180-1 @@ -31101,7 +30277,7 @@ Sha.prototype._hash = function () { module.exports = Sha -},{"./hash":200,"inherits":169,"safe-buffer":198}],203:[function(require,module,exports){ +},{"./hash":197,"inherits":167,"safe-buffer":195}],200:[function(require,module,exports){ /* * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined * in FIPS PUB 180-1 @@ -31202,7 +30378,7 @@ Sha1.prototype._hash = function () { module.exports = Sha1 -},{"./hash":200,"inherits":169,"safe-buffer":198}],204:[function(require,module,exports){ +},{"./hash":197,"inherits":167,"safe-buffer":195}],201:[function(require,module,exports){ /** * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined * in FIPS 180-2 @@ -31257,7 +30433,7 @@ Sha224.prototype._hash = function () { module.exports = Sha224 -},{"./hash":200,"./sha256":205,"inherits":169,"safe-buffer":198}],205:[function(require,module,exports){ +},{"./hash":197,"./sha256":202,"inherits":167,"safe-buffer":195}],202:[function(require,module,exports){ /** * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined * in FIPS 180-2 @@ -31394,7 +30570,7 @@ Sha256.prototype._hash = function () { module.exports = Sha256 -},{"./hash":200,"inherits":169,"safe-buffer":198}],206:[function(require,module,exports){ +},{"./hash":197,"inherits":167,"safe-buffer":195}],203:[function(require,module,exports){ var inherits = require('inherits') var SHA512 = require('./sha512') var Hash = require('./hash') @@ -31453,7 +30629,7 @@ Sha384.prototype._hash = function () { module.exports = Sha384 -},{"./hash":200,"./sha512":207,"inherits":169,"safe-buffer":198}],207:[function(require,module,exports){ +},{"./hash":197,"./sha512":204,"inherits":167,"safe-buffer":195}],204:[function(require,module,exports){ var inherits = require('inherits') var Hash = require('./hash') var Buffer = require('safe-buffer').Buffer @@ -31715,31 +30891,7 @@ Sha512.prototype._hash = function () { module.exports = Sha512 -},{"./hash":200,"inherits":169,"safe-buffer":198}],208:[function(require,module,exports){ -'use strict'; - -module.exports = (string, separator) => { - if (!(typeof string === 'string' && typeof separator === 'string')) { - throw new TypeError('Expected the arguments to be of type `string`'); - } - - if (separator === '') { - return [string]; - } - - const separatorIndex = string.indexOf(separator); - - if (separatorIndex === -1) { - return [string]; - } - - return [ - string.slice(0, separatorIndex), - string.slice(separatorIndex + separator.length) - ]; -}; - -},{}],209:[function(require,module,exports){ +},{"./hash":197,"inherits":167,"safe-buffer":195}],205:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -31870,41 +31022,37 @@ Stream.prototype.pipe = function(dest, options) { return dest; }; -},{"events":134,"inherits":169,"readable-stream/lib/_stream_duplex.js":211,"readable-stream/lib/_stream_passthrough.js":212,"readable-stream/lib/_stream_readable.js":213,"readable-stream/lib/_stream_transform.js":214,"readable-stream/lib/_stream_writable.js":215,"readable-stream/lib/internal/streams/end-of-stream.js":219,"readable-stream/lib/internal/streams/pipeline.js":221}],210:[function(require,module,exports){ +},{"events":133,"inherits":167,"readable-stream/lib/_stream_duplex.js":207,"readable-stream/lib/_stream_passthrough.js":208,"readable-stream/lib/_stream_readable.js":209,"readable-stream/lib/_stream_transform.js":210,"readable-stream/lib/_stream_writable.js":211,"readable-stream/lib/internal/streams/end-of-stream.js":215,"readable-stream/lib/internal/streams/pipeline.js":217}],206:[function(require,module,exports){ arguments[4][80][0].apply(exports,arguments) -},{"dup":80}],211:[function(require,module,exports){ +},{"dup":80}],207:[function(require,module,exports){ arguments[4][81][0].apply(exports,arguments) -},{"./_stream_readable":213,"./_stream_writable":215,"_process":187,"dup":81,"inherits":169}],212:[function(require,module,exports){ +},{"./_stream_readable":209,"./_stream_writable":211,"_process":185,"dup":81,"inherits":167}],208:[function(require,module,exports){ arguments[4][82][0].apply(exports,arguments) -},{"./_stream_transform":214,"dup":82,"inherits":169}],213:[function(require,module,exports){ +},{"./_stream_transform":210,"dup":82,"inherits":167}],209:[function(require,module,exports){ arguments[4][83][0].apply(exports,arguments) -},{"../errors":210,"./_stream_duplex":211,"./internal/streams/async_iterator":216,"./internal/streams/buffer_list":217,"./internal/streams/destroy":218,"./internal/streams/from":220,"./internal/streams/state":222,"./internal/streams/stream":223,"_process":187,"buffer":99,"dup":83,"events":134,"inherits":169,"string_decoder/":224,"util":50}],214:[function(require,module,exports){ +},{"../errors":206,"./_stream_duplex":207,"./internal/streams/async_iterator":212,"./internal/streams/buffer_list":213,"./internal/streams/destroy":214,"./internal/streams/from":216,"./internal/streams/state":218,"./internal/streams/stream":219,"_process":185,"buffer":99,"dup":83,"events":133,"inherits":167,"string_decoder/":220,"util":50}],210:[function(require,module,exports){ arguments[4][84][0].apply(exports,arguments) -},{"../errors":210,"./_stream_duplex":211,"dup":84,"inherits":169}],215:[function(require,module,exports){ +},{"../errors":206,"./_stream_duplex":207,"dup":84,"inherits":167}],211:[function(require,module,exports){ arguments[4][85][0].apply(exports,arguments) -},{"../errors":210,"./_stream_duplex":211,"./internal/streams/destroy":218,"./internal/streams/state":222,"./internal/streams/stream":223,"_process":187,"buffer":99,"dup":85,"inherits":169,"util-deprecate":226}],216:[function(require,module,exports){ +},{"../errors":206,"./_stream_duplex":207,"./internal/streams/destroy":214,"./internal/streams/state":218,"./internal/streams/stream":219,"_process":185,"buffer":99,"dup":85,"inherits":167,"util-deprecate":221}],212:[function(require,module,exports){ arguments[4][86][0].apply(exports,arguments) -},{"./end-of-stream":219,"_process":187,"dup":86}],217:[function(require,module,exports){ +},{"./end-of-stream":215,"_process":185,"dup":86}],213:[function(require,module,exports){ arguments[4][87][0].apply(exports,arguments) -},{"buffer":99,"dup":87,"util":50}],218:[function(require,module,exports){ +},{"buffer":99,"dup":87,"util":50}],214:[function(require,module,exports){ arguments[4][88][0].apply(exports,arguments) -},{"_process":187,"dup":88}],219:[function(require,module,exports){ +},{"_process":185,"dup":88}],215:[function(require,module,exports){ arguments[4][89][0].apply(exports,arguments) -},{"../../../errors":210,"dup":89}],220:[function(require,module,exports){ +},{"../../../errors":206,"dup":89}],216:[function(require,module,exports){ arguments[4][90][0].apply(exports,arguments) -},{"dup":90}],221:[function(require,module,exports){ +},{"dup":90}],217:[function(require,module,exports){ arguments[4][91][0].apply(exports,arguments) -},{"../../../errors":210,"./end-of-stream":219,"dup":91}],222:[function(require,module,exports){ +},{"../../../errors":206,"./end-of-stream":215,"dup":91}],218:[function(require,module,exports){ arguments[4][92][0].apply(exports,arguments) -},{"../../../errors":210,"dup":92}],223:[function(require,module,exports){ +},{"../../../errors":206,"dup":92}],219:[function(require,module,exports){ arguments[4][93][0].apply(exports,arguments) -},{"dup":93,"events":134}],224:[function(require,module,exports){ +},{"dup":93,"events":133}],220:[function(require,module,exports){ arguments[4][95][0].apply(exports,arguments) -},{"dup":95,"safe-buffer":198}],225:[function(require,module,exports){ -'use strict'; -module.exports = str => encodeURIComponent(str).replace(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`); - -},{}],226:[function(require,module,exports){ +},{"dup":95,"safe-buffer":195}],221:[function(require,module,exports){ (function (global){(function (){ /** @@ -31975,7 +31123,7 @@ function config (name) { } }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],227:[function(require,module,exports){ +},{}],222:[function(require,module,exports){ (function(module) { 'use strict'; @@ -32130,7 +31278,7 @@ function config (name) { })(module); -},{}],228:[function(require,module,exports){ +},{}],223:[function(require,module,exports){ "use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } @@ -32168,6 +31316,8 @@ var _isFQDN = _interopRequireDefault(require("./lib/isFQDN")); var _isDate = _interopRequireDefault(require("./lib/isDate")); +var _isTime = _interopRequireDefault(require("./lib/isTime")); + var _isBoolean = _interopRequireDefault(require("./lib/isBoolean")); var _isLocale = _interopRequireDefault(require("./lib/isLocale")); @@ -32250,6 +31400,8 @@ var _isBefore = _interopRequireDefault(require("./lib/isBefore")); var _isIn = _interopRequireDefault(require("./lib/isIn")); +var _isLuhnNumber = _interopRequireDefault(require("./lib/isLuhnNumber")); + var _isCreditCard = _interopRequireDefault(require("./lib/isCreditCard")); var _isIdentityCard = _interopRequireDefault(require("./lib/isIdentityCard")); @@ -32272,7 +31424,9 @@ var _isCurrency = _interopRequireDefault(require("./lib/isCurrency")); var _isBtcAddress = _interopRequireDefault(require("./lib/isBtcAddress")); -var _isISO = _interopRequireDefault(require("./lib/isISO8601")); +var _isISO = _interopRequireDefault(require("./lib/isISO6391")); + +var _isISO2 = _interopRequireDefault(require("./lib/isISO8601")); var _isRFC = _interopRequireDefault(require("./lib/isRFC3339")); @@ -32280,7 +31434,7 @@ var _isISO31661Alpha = _interopRequireDefault(require("./lib/isISO31661Alpha2")) var _isISO31661Alpha2 = _interopRequireDefault(require("./lib/isISO31661Alpha3")); -var _isISO2 = _interopRequireDefault(require("./lib/isISO4217")); +var _isISO3 = _interopRequireDefault(require("./lib/isISO4217")); var _isBase = _interopRequireDefault(require("./lib/isBase32")); @@ -32332,7 +31486,7 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -var version = '13.7.0'; +var version = '13.9.0'; var validator = { version: version, toDate: _toDate.default, @@ -32392,6 +31546,7 @@ var validator = { isAfter: _isAfter.default, isBefore: _isBefore.default, isIn: _isIn.default, + isLuhnNumber: _isLuhnNumber.default, isCreditCard: _isCreditCard.default, isIdentityCard: _isIdentityCard.default, isEAN: _isEAN.default, @@ -32405,11 +31560,12 @@ var validator = { isEthereumAddress: _isEthereumAddress.default, isCurrency: _isCurrency.default, isBtcAddress: _isBtcAddress.default, - isISO8601: _isISO.default, + isISO6391: _isISO.default, + isISO8601: _isISO2.default, isRFC3339: _isRFC.default, isISO31661Alpha2: _isISO31661Alpha.default, isISO31661Alpha3: _isISO31661Alpha2.default, - isISO4217: _isISO2.default, + isISO4217: _isISO3.default, isBase32: _isBase.default, isBase58: _isBase2.default, isBase64: _isBase3.default, @@ -32432,6 +31588,7 @@ var validator = { isStrongPassword: _isStrongPassword.default, isTaxID: _isTaxID.default, isDate: _isDate.default, + isTime: _isTime.default, isLicensePlate: _isLicensePlate.default, isVAT: _isVAT.default, ibanLocales: _isIBAN.locales @@ -32440,13 +31597,13 @@ var _default = validator; exports.default = _default; module.exports = exports.default; module.exports.default = exports.default; -},{"./lib/blacklist":230,"./lib/contains":231,"./lib/equals":232,"./lib/escape":233,"./lib/isAfter":234,"./lib/isAlpha":235,"./lib/isAlphanumeric":236,"./lib/isAscii":237,"./lib/isBIC":238,"./lib/isBase32":239,"./lib/isBase58":240,"./lib/isBase64":241,"./lib/isBefore":242,"./lib/isBoolean":243,"./lib/isBtcAddress":244,"./lib/isByteLength":245,"./lib/isCreditCard":246,"./lib/isCurrency":247,"./lib/isDataURI":248,"./lib/isDate":249,"./lib/isDecimal":250,"./lib/isDivisibleBy":251,"./lib/isEAN":252,"./lib/isEmail":253,"./lib/isEmpty":254,"./lib/isEthereumAddress":255,"./lib/isFQDN":256,"./lib/isFloat":257,"./lib/isFullWidth":258,"./lib/isHSL":259,"./lib/isHalfWidth":260,"./lib/isHash":261,"./lib/isHexColor":262,"./lib/isHexadecimal":263,"./lib/isIBAN":264,"./lib/isIMEI":265,"./lib/isIP":266,"./lib/isIPRange":267,"./lib/isISBN":268,"./lib/isISIN":269,"./lib/isISO31661Alpha2":270,"./lib/isISO31661Alpha3":271,"./lib/isISO4217":272,"./lib/isISO8601":273,"./lib/isISRC":274,"./lib/isISSN":275,"./lib/isIdentityCard":276,"./lib/isIn":277,"./lib/isInt":278,"./lib/isJSON":279,"./lib/isJWT":280,"./lib/isLatLong":281,"./lib/isLength":282,"./lib/isLicensePlate":283,"./lib/isLocale":284,"./lib/isLowercase":285,"./lib/isMACAddress":286,"./lib/isMD5":287,"./lib/isMagnetURI":288,"./lib/isMimeType":289,"./lib/isMobilePhone":290,"./lib/isMongoId":291,"./lib/isMultibyte":292,"./lib/isNumeric":293,"./lib/isOctal":294,"./lib/isPassportNumber":295,"./lib/isPort":296,"./lib/isPostalCode":297,"./lib/isRFC3339":298,"./lib/isRgbColor":299,"./lib/isSemVer":300,"./lib/isSlug":301,"./lib/isStrongPassword":302,"./lib/isSurrogatePair":303,"./lib/isTaxID":304,"./lib/isURL":305,"./lib/isUUID":306,"./lib/isUppercase":307,"./lib/isVAT":308,"./lib/isVariableWidth":309,"./lib/isWhitelisted":310,"./lib/ltrim":311,"./lib/matches":312,"./lib/normalizeEmail":313,"./lib/rtrim":314,"./lib/stripLow":315,"./lib/toBoolean":316,"./lib/toDate":317,"./lib/toFloat":318,"./lib/toInt":319,"./lib/trim":320,"./lib/unescape":321,"./lib/whitelist":328}],229:[function(require,module,exports){ +},{"./lib/blacklist":225,"./lib/contains":226,"./lib/equals":227,"./lib/escape":228,"./lib/isAfter":229,"./lib/isAlpha":230,"./lib/isAlphanumeric":231,"./lib/isAscii":232,"./lib/isBIC":233,"./lib/isBase32":234,"./lib/isBase58":235,"./lib/isBase64":236,"./lib/isBefore":237,"./lib/isBoolean":238,"./lib/isBtcAddress":239,"./lib/isByteLength":240,"./lib/isCreditCard":241,"./lib/isCurrency":242,"./lib/isDataURI":243,"./lib/isDate":244,"./lib/isDecimal":245,"./lib/isDivisibleBy":246,"./lib/isEAN":247,"./lib/isEmail":248,"./lib/isEmpty":249,"./lib/isEthereumAddress":250,"./lib/isFQDN":251,"./lib/isFloat":252,"./lib/isFullWidth":253,"./lib/isHSL":254,"./lib/isHalfWidth":255,"./lib/isHash":256,"./lib/isHexColor":257,"./lib/isHexadecimal":258,"./lib/isIBAN":259,"./lib/isIMEI":260,"./lib/isIP":261,"./lib/isIPRange":262,"./lib/isISBN":263,"./lib/isISIN":264,"./lib/isISO31661Alpha2":265,"./lib/isISO31661Alpha3":266,"./lib/isISO4217":267,"./lib/isISO6391":268,"./lib/isISO8601":269,"./lib/isISRC":270,"./lib/isISSN":271,"./lib/isIdentityCard":272,"./lib/isIn":273,"./lib/isInt":274,"./lib/isJSON":275,"./lib/isJWT":276,"./lib/isLatLong":277,"./lib/isLength":278,"./lib/isLicensePlate":279,"./lib/isLocale":280,"./lib/isLowercase":281,"./lib/isLuhnNumber":282,"./lib/isMACAddress":283,"./lib/isMD5":284,"./lib/isMagnetURI":285,"./lib/isMimeType":286,"./lib/isMobilePhone":287,"./lib/isMongoId":288,"./lib/isMultibyte":289,"./lib/isNumeric":290,"./lib/isOctal":291,"./lib/isPassportNumber":292,"./lib/isPort":293,"./lib/isPostalCode":294,"./lib/isRFC3339":295,"./lib/isRgbColor":296,"./lib/isSemVer":297,"./lib/isSlug":298,"./lib/isStrongPassword":299,"./lib/isSurrogatePair":300,"./lib/isTaxID":301,"./lib/isTime":302,"./lib/isURL":303,"./lib/isUUID":304,"./lib/isUppercase":305,"./lib/isVAT":306,"./lib/isVariableWidth":307,"./lib/isWhitelisted":308,"./lib/ltrim":309,"./lib/matches":310,"./lib/normalizeEmail":311,"./lib/rtrim":312,"./lib/stripLow":313,"./lib/toBoolean":314,"./lib/toDate":315,"./lib/toFloat":316,"./lib/toInt":317,"./lib/trim":318,"./lib/unescape":319,"./lib/whitelist":326}],224:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.commaDecimal = exports.dotDecimal = exports.farsiLocales = exports.arabicLocales = exports.englishLocales = exports.decimal = exports.alphanumeric = exports.alpha = void 0; +exports.commaDecimal = exports.dotDecimal = exports.bengaliLocales = exports.farsiLocales = exports.arabicLocales = exports.englishLocales = exports.decimal = exports.alphanumeric = exports.alpha = void 0; var alpha = { 'en-US': /^[A-Z]+$/i, 'az-AZ': /^[A-VXYZÇƏĞİıÖŞÜ]+$/i, @@ -32460,6 +31617,7 @@ var alpha = { 'fi-FI': /^[A-ZÅÄÖ]+$/i, 'fr-FR': /^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i, 'it-IT': /^[A-ZÀÉÈÌÎÓÒÙ]+$/i, + 'ja-JP': /^[ぁ-んァ-ヶヲ-゚一-龠ー・。、]+$/i, 'nb-NO': /^[A-ZÆØÅ]+$/i, 'nl-NL': /^[A-ZÁÉËÏÓÖÜÚ]+$/i, 'nn-NO': /^[A-ZÆØÅ]+$/i, @@ -32476,11 +31634,14 @@ var alpha = { 'tr-TR': /^[A-ZÇĞİıÖŞÜ]+$/i, 'uk-UA': /^[А-ЩЬЮЯЄIЇҐі]+$/i, 'vi-VN': /^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i, + 'ko-KR': /^[ㄱ-ㅎㅏ-ㅣ가-힣]*$/, 'ku-IQ': /^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i, ar: /^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/, he: /^[א-ת]+$/, fa: /^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i, - 'hi-IN': /^[\u0900-\u0961]+[\u0972-\u097F]*$/i + bn: /^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣৰৱ৲৳৴৵৶৷৸৹৺৻']+$/, + 'hi-IN': /^[\u0900-\u0961]+[\u0972-\u097F]*$/i, + 'si-LK': /^[\u0D80-\u0DFF]+$/ }; exports.alpha = alpha; var alphanumeric = { @@ -32495,6 +31656,7 @@ var alphanumeric = { 'fi-FI': /^[0-9A-ZÅÄÖ]+$/i, 'fr-FR': /^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i, 'it-IT': /^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i, + 'ja-JP': /^[0-90-9ぁ-んァ-ヶヲ-゚一-龠ー・。、]+$/i, 'hu-HU': /^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i, 'nb-NO': /^[0-9A-ZÆØÅ]+$/i, 'nl-NL': /^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i, @@ -32510,12 +31672,15 @@ var alphanumeric = { 'th-TH': /^[ก-๙\s]+$/i, 'tr-TR': /^[0-9A-ZÇĞİıÖŞÜ]+$/i, 'uk-UA': /^[0-9А-ЩЬЮЯЄIЇҐі]+$/i, + 'ko-KR': /^[0-9ㄱ-ㅎㅏ-ㅣ가-힣]*$/, 'ku-IQ': /^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i, 'vi-VN': /^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i, ar: /^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/, he: /^[0-9א-ת]+$/, fa: /^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i, - 'hi-IN': /^[\u0900-\u0963]+[\u0966-\u097F]*$/i + bn: /^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣ০১২৩৪৫৬৭৮৯ৰৱ৲৳৴৵৶৷৸৹৺৻']+$/, + 'hi-IN': /^[\u0900-\u0963]+[\u0966-\u097F]*$/i, + 'si-LK': /^[0-9\u0D80-\u0DFF]+$/ }; exports.alphanumeric = alphanumeric; var decimal = { @@ -32551,20 +31716,30 @@ for (var _locale2, _i2 = 0; _i2 < farsiLocales.length; _i2++) { _locale2 = "fa-".concat(farsiLocales[_i2]); alphanumeric[_locale2] = alphanumeric.fa; decimal[_locale2] = decimal.ar; +} + +var bengaliLocales = ['BD', 'IN']; +exports.bengaliLocales = bengaliLocales; + +for (var _locale3, _i3 = 0; _i3 < bengaliLocales.length; _i3++) { + _locale3 = "bn-".concat(bengaliLocales[_i3]); + alpha[_locale3] = alpha.bn; + alphanumeric[_locale3] = alphanumeric.bn; + decimal[_locale3] = decimal['en-US']; } // Source: https://en.wikipedia.org/wiki/Decimal_mark var dotDecimal = ['ar-EG', 'ar-LB', 'ar-LY']; exports.dotDecimal = dotDecimal; -var commaDecimal = ['bg-BG', 'cs-CZ', 'da-DK', 'de-DE', 'el-GR', 'en-ZM', 'es-ES', 'fr-CA', 'fr-FR', 'id-ID', 'it-IT', 'ku-IQ', 'hi-IN', 'hu-HU', 'nb-NO', 'nn-NO', 'nl-NL', 'pl-PL', 'pt-PT', 'ru-RU', 'sl-SI', 'sr-RS@latin', 'sr-RS', 'sv-SE', 'tr-TR', 'uk-UA', 'vi-VN']; +var commaDecimal = ['bg-BG', 'cs-CZ', 'da-DK', 'de-DE', 'el-GR', 'en-ZM', 'es-ES', 'fr-CA', 'fr-FR', 'id-ID', 'it-IT', 'ku-IQ', 'hi-IN', 'hu-HU', 'nb-NO', 'nn-NO', 'nl-NL', 'pl-PL', 'pt-PT', 'ru-RU', 'si-LK', 'sl-SI', 'sr-RS@latin', 'sr-RS', 'sv-SE', 'tr-TR', 'uk-UA', 'vi-VN']; exports.commaDecimal = commaDecimal; -for (var _i3 = 0; _i3 < dotDecimal.length; _i3++) { - decimal[dotDecimal[_i3]] = decimal['en-US']; +for (var _i4 = 0; _i4 < dotDecimal.length; _i4++) { + decimal[dotDecimal[_i4]] = decimal['en-US']; } -for (var _i4 = 0; _i4 < commaDecimal.length; _i4++) { - decimal[commaDecimal[_i4]] = ','; +for (var _i5 = 0; _i5 < commaDecimal.length; _i5++) { + decimal[commaDecimal[_i5]] = ','; } alpha['fr-CA'] = alpha['fr-FR']; @@ -32578,7 +31753,7 @@ alphanumeric['pl-Pl'] = alphanumeric['pl-PL']; decimal['pl-Pl'] = decimal['pl-PL']; // see #1455 alpha['fa-AF'] = alpha.fa; -},{}],230:[function(require,module,exports){ +},{}],225:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -32597,7 +31772,7 @@ function blacklist(str, chars) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],231:[function(require,module,exports){ +},{"./util/assertString":321}],226:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -32631,7 +31806,7 @@ function contains(str, elem, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323,"./util/merge":325,"./util/toString":327}],232:[function(require,module,exports){ +},{"./util/assertString":321,"./util/merge":323,"./util/toString":325}],227:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -32650,7 +31825,7 @@ function equals(str, comparison) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],233:[function(require,module,exports){ +},{"./util/assertString":321}],228:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -32669,7 +31844,7 @@ function escape(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],234:[function(require,module,exports){ +},{"./util/assertString":321}],229:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -32677,23 +31852,22 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = isAfter; -var _assertString = _interopRequireDefault(require("./util/assertString")); - var _toDate = _interopRequireDefault(require("./toDate")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -function isAfter(str) { - var date = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : String(new Date()); - (0, _assertString.default)(str); - var comparison = (0, _toDate.default)(date); - var original = (0, _toDate.default)(str); +function isAfter(date, options) { + // For backwards compatibility: + // isAfter(str [, date]), i.e. `options` could be used as argument for the legacy `date` + var comparisonDate = (options === null || options === void 0 ? void 0 : options.comparisonDate) || options || Date().toString(); + var comparison = (0, _toDate.default)(comparisonDate); + var original = (0, _toDate.default)(date); return !!(original && comparison && original > comparison); } module.exports = exports.default; module.exports.default = exports.default; -},{"./toDate":317,"./util/assertString":323}],235:[function(require,module,exports){ +},{"./toDate":315}],230:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -32734,7 +31908,7 @@ function isAlpha(_str) { var locales = Object.keys(_alpha.alpha); exports.locales = locales; -},{"./alpha":229,"./util/assertString":323}],236:[function(require,module,exports){ +},{"./alpha":224,"./util/assertString":321}],231:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -32775,7 +31949,7 @@ function isAlphanumeric(_str) { var locales = Object.keys(_alpha.alphanumeric); exports.locales = locales; -},{"./alpha":229,"./util/assertString":323}],237:[function(require,module,exports){ +},{"./alpha":224,"./util/assertString":321}],232:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -32798,7 +31972,7 @@ function isAscii(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],238:[function(require,module,exports){ +},{"./util/assertString":321}],233:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -32819,7 +31993,9 @@ function isBIC(str) { (0, _assertString.default)(str); // toUpperCase() should be removed when a new major version goes out that changes // the regex to [A-Z] (per the spec). - if (!_isISO31661Alpha.CountryCodes.has(str.slice(4, 6).toUpperCase())) { + var countryCode = str.slice(4, 6).toUpperCase(); + + if (!_isISO31661Alpha.CountryCodes.has(countryCode) && countryCode !== 'XK') { return false; } @@ -32828,7 +32004,7 @@ function isBIC(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./isISO31661Alpha2":270,"./util/assertString":323}],239:[function(require,module,exports){ +},{"./isISO31661Alpha2":265,"./util/assertString":321}],234:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -32838,12 +32014,24 @@ exports.default = isBase32; var _assertString = _interopRequireDefault(require("./util/assertString")); +var _merge = _interopRequireDefault(require("./util/merge")); + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var base32 = /^[A-Z2-7]+=*$/; +var crockfordBase32 = /^[A-HJKMNP-TV-Z0-9]+$/; +var defaultBase32Options = { + crockford: false +}; -function isBase32(str) { +function isBase32(str, options) { (0, _assertString.default)(str); + options = (0, _merge.default)(options, defaultBase32Options); + + if (options.crockford) { + return crockfordBase32.test(str); + } + var len = str.length; if (len % 8 === 0 && base32.test(str)) { @@ -32855,7 +32043,7 @@ function isBase32(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],240:[function(require,module,exports){ +},{"./util/assertString":321,"./util/merge":323}],235:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -32882,7 +32070,7 @@ function isBase58(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],241:[function(require,module,exports){ +},{"./util/assertString":321}],236:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -32921,7 +32109,7 @@ function isBase64(str, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323,"./util/merge":325}],242:[function(require,module,exports){ +},{"./util/assertString":321,"./util/merge":323}],237:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -32945,7 +32133,7 @@ function isBefore(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./toDate":317,"./util/assertString":323}],243:[function(require,module,exports){ +},{"./toDate":315,"./util/assertString":321}],238:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -32976,7 +32164,7 @@ function isBoolean(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],244:[function(require,module,exports){ +},{"./util/assertString":321}],239:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -32988,23 +32176,17 @@ var _assertString = _interopRequireDefault(require("./util/assertString")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -// supports Bech32 addresses var bech32 = /^(bc1)[a-z0-9]{25,39}$/; var base58 = /^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/; function isBtcAddress(str) { - (0, _assertString.default)(str); // check for bech32 - - if (str.startsWith('bc1')) { - return bech32.test(str); - } - - return base58.test(str); + (0, _assertString.default)(str); + return bech32.test(str) || base58.test(str); } module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],245:[function(require,module,exports){ +},{"./util/assertString":321}],240:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33039,7 +32221,7 @@ function isByteLength(str, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],246:[function(require,module,exports){ +},{"./util/assertString":321}],241:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33049,50 +32231,50 @@ exports.default = isCreditCard; var _assertString = _interopRequireDefault(require("./util/assertString")); +var _isLuhnNumber = _interopRequireDefault(require("./isLuhnNumber")); + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +var cards = { + amex: /^3[47][0-9]{13}$/, + dinersclub: /^3(?:0[0-5]|[68][0-9])[0-9]{11}$/, + discover: /^6(?:011|5[0-9][0-9])[0-9]{12,15}$/, + jcb: /^(?:2131|1800|35\d{3})\d{11}$/, + mastercard: /^5[1-5][0-9]{2}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$/, + // /^[25][1-7][0-9]{14}$/; + unionpay: /^(6[27][0-9]{14}|^(81[0-9]{14,17}))$/, + visa: /^(?:4[0-9]{12})(?:[0-9]{3,6})?$/ +}; /* eslint-disable max-len */ -var creditCard = /^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14}|^(81[0-9]{14,17}))$/; + +var allCards = /^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14}|^(81[0-9]{14,17}))$/; /* eslint-enable max-len */ -function isCreditCard(str) { - (0, _assertString.default)(str); - var sanitized = str.replace(/[- ]+/g, ''); +function isCreditCard(card) { + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + (0, _assertString.default)(card); + var provider = options.provider; + var sanitized = card.replace(/[- ]+/g, ''); - if (!creditCard.test(sanitized)) { + if (provider && provider.toLowerCase() in cards) { + // specific provider in the list + if (!cards[provider.toLowerCase()].test(sanitized)) { + return false; + } + } else if (provider && !(provider.toLowerCase() in cards)) { + /* specific provider not in the list */ + throw new Error("".concat(provider, " is not a valid credit card provider.")); + } else if (!allCards.test(sanitized)) { + // no specific provider return false; } - var sum = 0; - var digit; - var tmpNum; - var shouldDouble; - - for (var i = sanitized.length - 1; i >= 0; i--) { - digit = sanitized.substring(i, i + 1); - tmpNum = parseInt(digit, 10); - - if (shouldDouble) { - tmpNum *= 2; - - if (tmpNum >= 10) { - sum += tmpNum % 10 + 1; - } else { - sum += tmpNum; - } - } else { - sum += tmpNum; - } - - shouldDouble = !shouldDouble; - } - - return !!(sum % 10 === 0 ? sanitized : false); + return (0, _isLuhnNumber.default)(card); } module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],247:[function(require,module,exports){ +},{"./isLuhnNumber":282,"./util/assertString":321}],242:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33184,7 +32366,7 @@ function isCurrency(str, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323,"./util/merge":325}],248:[function(require,module,exports){ +},{"./util/assertString":321,"./util/merge":323}],243:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33196,7 +32378,7 @@ var _assertString = _interopRequireDefault(require("./util/assertString")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -var validMediaType = /^[a-z]+\/[a-z0-9\-\+]+$/i; +var validMediaType = /^[a-z]+\/[a-z0-9\-\+\._]+$/i; var validAttribute = /^[a-z\-]+=[a-z0-9\-]+$/i; var validData = /^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i; @@ -33211,11 +32393,11 @@ function isDataURI(str) { var attributes = data.shift().trim().split(';'); var schemeAndMediaType = attributes.shift(); - if (schemeAndMediaType.substr(0, 5) !== 'data:') { + if (schemeAndMediaType.slice(0, 5) !== 'data:') { return false; } - var mediaType = schemeAndMediaType.substr(5); + var mediaType = schemeAndMediaType.slice(5); if (mediaType !== '' && !validMediaType.test(mediaType)) { return false; @@ -33238,7 +32420,7 @@ function isDataURI(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],249:[function(require,module,exports){ +},{"./util/assertString":321}],244:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33338,7 +32520,7 @@ function isDate(input, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/merge":325}],250:[function(require,module,exports){ +},{"./util/merge":323}],245:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33381,7 +32563,7 @@ function isDecimal(str, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./alpha":229,"./util/assertString":323,"./util/includes":324,"./util/merge":325}],251:[function(require,module,exports){ +},{"./alpha":224,"./util/assertString":321,"./util/includes":322,"./util/merge":323}],246:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33402,7 +32584,7 @@ function isDivisibleBy(str, num) { module.exports = exports.default; module.exports.default = exports.default; -},{"./toFloat":318,"./util/assertString":323}],252:[function(require,module,exports){ +},{"./toFloat":316,"./util/assertString":321}],247:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33488,7 +32670,7 @@ function isEAN(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],253:[function(require,module,exports){ +},{"./util/assertString":321}],248:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33515,7 +32697,8 @@ var default_email_options = { require_tld: true, blacklisted_chars: '', ignore_max_length: false, - host_blacklist: [] + host_blacklist: [], + host_whitelist: [] }; /* eslint-disable max-len */ @@ -33582,7 +32765,7 @@ function isEmail(str, options) { // the display name is `myname` instead of `myname `, so need to trim the last space if (display_name.endsWith(' ')) { - display_name = display_name.substr(0, display_name.length - 1); + display_name = display_name.slice(0, -1); } if (!validateDisplayName(display_name)) { @@ -33605,6 +32788,10 @@ function isEmail(str, options) { return false; } + if (options.host_whitelist.length > 0 && !options.host_whitelist.includes(lower_domain)) { + return false; + } + var user = parts.join('@'); if (options.domain_specific_validation && (lower_domain === 'gmail.com' || lower_domain === 'googlemail.com')) { @@ -33644,7 +32831,8 @@ function isEmail(str, options) { } if (!(0, _isFQDN.default)(domain, { - require_tld: options.require_tld + require_tld: options.require_tld, + ignore_max_length: options.ignore_max_length })) { if (!options.allow_ip_domain) { return false; @@ -33655,7 +32843,7 @@ function isEmail(str, options) { return false; } - var noBracketdomain = domain.substr(1, domain.length - 2); + var noBracketdomain = domain.slice(1, -1); if (noBracketdomain.length === 0 || !(0, _isIP.default)(noBracketdomain)) { return false; @@ -33686,7 +32874,7 @@ function isEmail(str, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./isByteLength":245,"./isFQDN":256,"./isIP":266,"./util/assertString":323,"./util/merge":325}],254:[function(require,module,exports){ +},{"./isByteLength":240,"./isFQDN":251,"./isIP":261,"./util/assertString":321,"./util/merge":323}],249:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33712,7 +32900,7 @@ function isEmpty(str, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323,"./util/merge":325}],255:[function(require,module,exports){ +},{"./util/assertString":321,"./util/merge":323}],250:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33733,7 +32921,7 @@ function isEthereumAddress(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],256:[function(require,module,exports){ +},{"./util/assertString":321}],251:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33752,7 +32940,8 @@ var default_fqdn_options = { allow_underscores: false, allow_trailing_dot: false, allow_numeric_tld: false, - allow_wildcard: false + allow_wildcard: false, + ignore_max_length: false }; function isFQDN(str, options) { @@ -33779,7 +32968,7 @@ function isFQDN(str, options) { return false; } - if (!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(tld)) { + if (!options.allow_numeric_tld && !/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(tld)) { return false; } // disallow spaces @@ -33795,7 +32984,7 @@ function isFQDN(str, options) { } return parts.every(function (part) { - if (part.length > 63) { + if (part.length > 63 && !options.ignore_max_length) { return false; } @@ -33823,7 +33012,7 @@ function isFQDN(str, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323,"./util/merge":325}],257:[function(require,module,exports){ +},{"./util/assertString":321,"./util/merge":323}],252:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33843,7 +33032,7 @@ function isFloat(str, options) { options = options || {}; var float = new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(options.locale ? _alpha.decimal[options.locale] : '.', "[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$")); - if (str === '' || str === '.' || str === '-' || str === '+') { + if (str === '' || str === '.' || str === ',' || str === '-' || str === '+') { return false; } @@ -33853,7 +33042,7 @@ function isFloat(str, options) { var locales = Object.keys(_alpha.decimal); exports.locales = locales; -},{"./alpha":229,"./util/assertString":323}],258:[function(require,module,exports){ +},{"./alpha":224,"./util/assertString":321}],253:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33873,7 +33062,7 @@ function isFullWidth(str) { (0, _assertString.default)(str); return fullWidth.test(str); } -},{"./util/assertString":323}],259:[function(require,module,exports){ +},{"./util/assertString":321}],254:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33902,7 +33091,7 @@ function isHSL(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],260:[function(require,module,exports){ +},{"./util/assertString":321}],255:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33922,7 +33111,7 @@ function isHalfWidth(str) { (0, _assertString.default)(str); return halfWidth.test(str); } -},{"./util/assertString":323}],261:[function(require,module,exports){ +},{"./util/assertString":321}],256:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33958,7 +33147,7 @@ function isHash(str, algorithm) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],262:[function(require,module,exports){ +},{"./util/assertString":321}],257:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -33979,7 +33168,7 @@ function isHexColor(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],263:[function(require,module,exports){ +},{"./util/assertString":321}],258:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -34000,7 +33189,7 @@ function isHexadecimal(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],264:[function(require,module,exports){ +},{"./util/assertString":321}],259:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -34151,7 +33340,7 @@ function isIBAN(str) { var locales = Object.keys(ibanRegexThroughCountryCode); exports.locales = locales; -},{"./util/assertString":323}],265:[function(require,module,exports){ +},{"./util/assertString":321}],260:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -34213,7 +33402,7 @@ function isIMEI(str, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],266:[function(require,module,exports){ +},{"./util/assertString":321}],261:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -34270,18 +33459,11 @@ function isIP(str) { } if (version === '4') { - if (!IPv4AddressRegExp.test(str)) { - return false; - } - - var parts = str.split('.').sort(function (a, b) { - return a - b; - }); - return parts[3] <= 255; + return IPv4AddressRegExp.test(str); } if (version === '6') { - return !!IPv6AddressRegExp.test(str); + return IPv6AddressRegExp.test(str); } return false; @@ -34289,7 +33471,7 @@ function isIP(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],267:[function(require,module,exports){ +},{"./util/assertString":321}],262:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -34352,7 +33534,7 @@ function isIPRange(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./isIP":266,"./util/assertString":323}],268:[function(require,module,exports){ +},{"./isIP":261,"./util/assertString":321}],263:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -34364,52 +33546,56 @@ var _assertString = _interopRequireDefault(require("./util/assertString")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -var isbn10Maybe = /^(?:[0-9]{9}X|[0-9]{10})$/; -var isbn13Maybe = /^(?:[0-9]{13})$/; +var possibleIsbn10 = /^(?:[0-9]{9}X|[0-9]{10})$/; +var possibleIsbn13 = /^(?:[0-9]{13})$/; var factor = [1, 3]; -function isISBN(str) { - var version = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; - (0, _assertString.default)(str); - version = String(version); +function isISBN(isbn, options) { + (0, _assertString.default)(isbn); // For backwards compatibility: + // isISBN(str [, version]), i.e. `options` could be used as argument for the legacy `version` - if (!version) { - return isISBN(str, 10) || isISBN(str, 13); + var version = String((options === null || options === void 0 ? void 0 : options.version) || options); + + if (!(options !== null && options !== void 0 && options.version || options)) { + return isISBN(isbn, { + version: 10 + }) || isISBN(isbn, { + version: 13 + }); } - var sanitized = str.replace(/[\s-]+/g, ''); + var sanitizedIsbn = isbn.replace(/[\s-]+/g, ''); var checksum = 0; - var i; if (version === '10') { - if (!isbn10Maybe.test(sanitized)) { + if (!possibleIsbn10.test(sanitizedIsbn)) { return false; } - for (i = 0; i < 9; i++) { - checksum += (i + 1) * sanitized.charAt(i); + for (var i = 0; i < version - 1; i++) { + checksum += (i + 1) * sanitizedIsbn.charAt(i); } - if (sanitized.charAt(9) === 'X') { + if (sanitizedIsbn.charAt(9) === 'X') { checksum += 10 * 10; } else { - checksum += 10 * sanitized.charAt(9); + checksum += 10 * sanitizedIsbn.charAt(9); } if (checksum % 11 === 0) { - return !!sanitized; + return true; } } else if (version === '13') { - if (!isbn13Maybe.test(sanitized)) { + if (!possibleIsbn13.test(sanitizedIsbn)) { return false; } - for (i = 0; i < 12; i++) { - checksum += factor[i % 2] * sanitized.charAt(i); + for (var _i = 0; _i < 12; _i++) { + checksum += factor[_i % 2] * sanitizedIsbn.charAt(_i); } - if (sanitized.charAt(12) - (10 - checksum % 10) % 10 === 0) { - return !!sanitized; + if (sanitizedIsbn.charAt(12) - (10 - checksum % 10) % 10 === 0) { + return true; } } @@ -34418,7 +33604,7 @@ function isISBN(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],269:[function(require,module,exports){ +},{"./util/assertString":321}],264:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -34492,7 +33678,7 @@ function isISIN(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],270:[function(require,module,exports){ +},{"./util/assertString":321}],265:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -34515,7 +33701,7 @@ function isISO31661Alpha2(str) { var CountryCodes = validISO31661Alpha2CountriesCodes; exports.CountryCodes = CountryCodes; -},{"./util/assertString":323}],271:[function(require,module,exports){ +},{"./util/assertString":321}],266:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -34537,7 +33723,7 @@ function isISO31661Alpha3(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],272:[function(require,module,exports){ +},{"./util/assertString":321}],267:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -34560,7 +33746,28 @@ function isISO4217(str) { var CurrencyCodes = validISO4217CurrencyCodes; exports.CurrencyCodes = CurrencyCodes; -},{"./util/assertString":323}],273:[function(require,module,exports){ +},{"./util/assertString":321}],268:[function(require,module,exports){ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isISO6391; + +var _assertString = _interopRequireDefault(require("./util/assertString")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +var isISO6391Set = new Set(['aa', 'ab', 'ae', 'af', 'ak', 'am', 'an', 'ar', 'as', 'av', 'ay', 'az', 'az', 'ba', 'be', 'bg', 'bh', 'bi', 'bm', 'bn', 'bo', 'br', 'bs', 'ca', 'ce', 'ch', 'co', 'cr', 'cs', 'cu', 'cv', 'cy', 'da', 'de', 'dv', 'dz', 'ee', 'el', 'en', 'eo', 'es', 'et', 'eu', 'fa', 'ff', 'fi', 'fj', 'fo', 'fr', 'fy', 'ga', 'gd', 'gl', 'gn', 'gu', 'gv', 'ha', 'he', 'hi', 'ho', 'hr', 'ht', 'hu', 'hy', 'hz', 'ia', 'id', 'ie', 'ig', 'ii', 'ik', 'io', 'is', 'it', 'iu', 'ja', 'jv', 'ka', 'kg', 'ki', 'kj', 'kk', 'kl', 'km', 'kn', 'ko', 'kr', 'ks', 'ku', 'kv', 'kw', 'ky', 'la', 'lb', 'lg', 'li', 'ln', 'lo', 'lt', 'lu', 'lv', 'mg', 'mh', 'mi', 'mk', 'ml', 'mn', 'mr', 'ms', 'mt', 'my', 'na', 'nb', 'nd', 'ne', 'ng', 'nl', 'nn', 'no', 'nr', 'nv', 'ny', 'oc', 'oj', 'om', 'or', 'os', 'pa', 'pi', 'pl', 'ps', 'pt', 'qu', 'rm', 'rn', 'ro', 'ru', 'rw', 'sa', 'sc', 'sd', 'se', 'sg', 'si', 'sk', 'sl', 'sm', 'sn', 'so', 'sq', 'sr', 'ss', 'st', 'su', 'sv', 'sw', 'ta', 'te', 'tg', 'th', 'ti', 'tk', 'tl', 'tn', 'to', 'tr', 'ts', 'tt', 'tw', 'ty', 'ug', 'uk', 'ur', 'uz', 've', 'vi', 'vo', 'wa', 'wo', 'xh', 'yi', 'yo', 'za', 'zh', 'zu']); + +function isISO6391(str) { + (0, _assertString.default)(str); + return isISO6391Set.has(str); +} + +module.exports = exports.default; +module.exports.default = exports.default; +},{"./util/assertString":321}],269:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -34620,7 +33827,7 @@ function isISO8601(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],274:[function(require,module,exports){ +},{"./util/assertString":321}],270:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -34642,7 +33849,7 @@ function isISRC(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],275:[function(require,module,exports){ +},{"./util/assertString":321}],271:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -34680,7 +33887,7 @@ function isISSN(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],276:[function(require,module,exports){ +},{"./util/assertString":321}],272:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -34790,13 +33997,13 @@ var validators = { }, IR: function IR(str) { if (!str.match(/^\d{10}$/)) return false; - str = "0000".concat(str).substr(str.length - 6); - if (parseInt(str.substr(3, 6), 10) === 0) return false; - var lastNumber = parseInt(str.substr(9, 1), 10); + str = "0000".concat(str).slice(str.length - 6); + if (parseInt(str.slice(3, 9), 10) === 0) return false; + var lastNumber = parseInt(str.slice(9, 10), 10); var sum = 0; for (var i = 0; i < 9; i++) { - sum += parseInt(str.substr(i, 1), 10) * (10 - i); + sum += parseInt(str.slice(i, i + 1), 10) * (10 - i); } sum %= 11; @@ -34993,6 +34200,32 @@ var validators = { return checkIdCardNo(str); }, + 'zh-HK': function zhHK(str) { + // sanitize user input + str = str.trim(); // HKID number starts with 1 or 2 letters, followed by 6 digits, + // then a checksum contained in square / round brackets or nothing + + var regexHKID = /^[A-Z]{1,2}[0-9]{6}((\([0-9A]\))|(\[[0-9A]\])|([0-9A]))$/; + var regexIsDigit = /^[0-9]$/; // convert the user input to all uppercase and apply regex + + str = str.toUpperCase(); + if (!regexHKID.test(str)) return false; + str = str.replace(/\[|\]|\(|\)/g, ''); + if (str.length === 8) str = "3".concat(str); + var checkSumVal = 0; + + for (var i = 0; i <= 7; i++) { + var convertedChar = void 0; + if (!regexIsDigit.test(str[i])) convertedChar = (str[i].charCodeAt(0) - 55) % 11;else convertedChar = str[i]; + checkSumVal += convertedChar * (9 - i); + } + + checkSumVal %= 11; + var checkSumConverted; + if (checkSumVal === 0) checkSumConverted = '0';else if (checkSumVal === 1) checkSumConverted = 'A';else checkSumConverted = String(11 - checkSumVal); + if (checkSumConverted === str[str.length - 1]) return true; + return false; + }, 'zh-TW': function zhTW(str) { var ALPHABET_CODES = { A: 10, @@ -35065,7 +34298,7 @@ function isIdentityCard(str, locale) { module.exports = exports.default; module.exports.default = exports.default; -},{"./isInt":278,"./util/assertString":323}],277:[function(require,module,exports){ +},{"./isInt":274,"./util/assertString":321}],273:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35108,7 +34341,7 @@ function isIn(str, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323,"./util/toString":327}],278:[function(require,module,exports){ +},{"./util/assertString":321,"./util/toString":325}],274:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35139,7 +34372,7 @@ function isInt(str, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],279:[function(require,module,exports){ +},{"./util/assertString":321}],275:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35181,7 +34414,7 @@ function isJSON(str, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323,"./util/merge":325}],280:[function(require,module,exports){ +},{"./util/assertString":321,"./util/merge":323}],276:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35213,7 +34446,7 @@ function isJWT(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./isBase64":241,"./util/assertString":323}],281:[function(require,module,exports){ +},{"./isBase64":236,"./util/assertString":321}],277:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35251,7 +34484,7 @@ function isLatLong(str, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323,"./util/merge":325}],282:[function(require,module,exports){ +},{"./util/assertString":321,"./util/merge":323}],278:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35280,14 +34513,15 @@ function isLength(str, options) { max = arguments[2]; } + var presentationSequences = str.match(/(\uFE0F|\uFE0E)/g) || []; var surrogatePairs = str.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g) || []; - var len = str.length - surrogatePairs.length; + var len = str.length - presentationSequences.length - surrogatePairs.length; return len >= min && (typeof max === 'undefined' || len <= max); } module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],283:[function(require,module,exports){ +},{"./util/assertString":321}],279:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35301,25 +34535,37 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de var validators = { 'cs-CZ': function csCZ(str) { - return /^(([ABCDEFHKIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(str); + return /^(([ABCDEFHIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(str); }, 'de-DE': function deDE(str) { - return /^((AW|UL|AK|GA|AÖ|LF|AZ|AM|AS|ZE|AN|AB|A|KG|KH|BA|EW|BZ|HY|KM|BT|HP|B|BC|BI|BO|FN|TT|ÜB|BN|AH|BS|FR|HB|ZZ|BB|BK|BÖ|OC|OK|CW|CE|C|CO|LH|CB|KW|LC|LN|DA|DI|DE|DH|SY|NÖ|DO|DD|DU|DN|D|EI|EA|EE|FI|EM|EL|EN|PF|ED|EF|ER|AU|ZP|E|ES|NT|EU|FL|FO|FT|FF|F|FS|FD|FÜ|GE|G|GI|GF|GS|ZR|GG|GP|GR|NY|ZI|GÖ|GZ|GT|HA|HH|HM|HU|WL|HZ|WR|RN|HK|HD|HN|HS|GK|HE|HF|RZ|HI|HG|HO|HX|IK|IL|IN|J|JL|KL|KA|KS|KF|KE|KI|KT|KO|KN|KR|KC|KU|K|LD|LL|LA|L|OP|LM|LI|LB|LU|LÖ|HL|LG|MD|GN|MZ|MA|ML|MR|MY|AT|DM|MC|NZ|RM|RG|MM|ME|MB|MI|FG|DL|HC|MW|RL|MK|MG|MÜ|WS|MH|M|MS|NU|NB|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EG|PIR|PLÖ|PRÜ|QFT|QLB|RDG|REG|REH|REI|RID|RIE|ROD|ROF|ROK|ROL|ROS|ROT|ROW|RSL|RÜD|RÜG|SAB|SAD|SAN|SAW|SBG|SBK|SCZ|SDH|SDL|SDT|SEB|SEE|SEF|SEL|SFB|SFT|SGH|SHA|SHG|SHK|SHL|SIG|SIM|SLE|SLF|SLK|SLN|SLS|SLÜ|SLZ|SMÜ|SOB|SOG|SOK|SÖM|SON|SPB|SPN|SRB|SRO|STA|STB|STD|STE|STL|SUL|SÜW|SWA|SZB|TBB|TDO|TET|TIR|TÖL|TUT|UEM|UER|UFF|USI|VAI|VEC|VER|VIB|VIE|VIT|VOH|WAF|WAK|WAN|WAR|WAT|WBS|WDA|WEL|WEN|WER|WES|WHV|WIL|WIS|WIT|WIZ|WLG|WMS|WND|WOB|WOH|WOL|WOR|WOS|WRN|WSF|WST|WSW|WTL|WTM|WUG|WÜM|WUN|WUR|WZL|ZEL|ZIG)[- ]?(([A-Z][- ]?\d{1,4})|([A-Z]{2}[- ]?\d{1,3})))[- ]?(E|H)?$/.test(str); }, 'de-LI': function deLI(str) { return /^FL[- ]?\d{1,5}[UZ]?$/.test(str); }, + 'en-IN': function enIN(str) { + return /^[A-Z]{2}[ -]?[0-9]{1,2}(?:[ -]?[A-Z])(?:[ -]?[A-Z]*)?[ -]?[0-9]{4}$/.test(str); + }, + 'es-AR': function esAR(str) { + return /^(([A-Z]{2} ?[0-9]{3} ?[A-Z]{2})|([A-Z]{3} ?[0-9]{3}))$/.test(str); + }, 'fi-FI': function fiFI(str) { return /^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(str); }, + 'hu-HU': function huHU(str) { + return /^((((?!AAA)(([A-NPRSTVZWXY]{1})([A-PR-Z]{1})([A-HJ-NPR-Z]))|(A[ABC]I)|A[ABC]O|A[A-W]Q|BPI|BPO|UCO|UDO|XAO)-(?!000)\d{3})|(M\d{6})|((CK|DT|CD|HC|H[ABEFIKLMNPRSTVX]|MA|OT|R[A-Z]) \d{2}-\d{2})|(CD \d{3}-\d{3})|(C-(C|X) \d{4})|(X-(A|B|C) \d{4})|(([EPVZ]-\d{5}))|(S A[A-Z]{2} \d{2})|(SP \d{2}-\d{2}))$/.test(str); + }, + 'pt-BR': function ptBR(str) { + return /^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(str); + }, 'pt-PT': function ptPT(str) { return /^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(str); }, 'sq-AL': function sqAL(str) { return /^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(str); }, - 'pt-BR': function ptBR(str) { - return /^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(str); + 'sv-SE': function svSE(str) { + return /^[A-HJ-PR-UW-Z]{3} ?[\d]{2}[A-HJ-PR-UW-Z1-9]$|(^[A-ZÅÄÖ ]{2,7}$)/.test(str.trim()); } }; @@ -35346,7 +34592,7 @@ function isLicensePlate(str, locale) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],284:[function(require,module,exports){ +},{"./util/assertString":321}],280:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35372,7 +34618,7 @@ function isLocale(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],285:[function(require,module,exports){ +},{"./util/assertString":321}],281:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35391,7 +34637,51 @@ function isLowercase(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],286:[function(require,module,exports){ +},{"./util/assertString":321}],282:[function(require,module,exports){ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isLuhnNumber; + +var _assertString = _interopRequireDefault(require("./util/assertString")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function isLuhnNumber(str) { + (0, _assertString.default)(str); + var sanitized = str.replace(/[- ]+/g, ''); + var sum = 0; + var digit; + var tmpNum; + var shouldDouble; + + for (var i = sanitized.length - 1; i >= 0; i--) { + digit = sanitized.substring(i, i + 1); + tmpNum = parseInt(digit, 10); + + if (shouldDouble) { + tmpNum *= 2; + + if (tmpNum >= 10) { + sum += tmpNum % 10 + 1; + } else { + sum += tmpNum; + } + } else { + sum += tmpNum; + } + + shouldDouble = !shouldDouble; + } + + return !!(sum % 10 === 0 ? sanitized : false); +} + +module.exports = exports.default; +module.exports.default = exports.default; +},{"./util/assertString":321}],283:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35403,26 +34693,54 @@ var _assertString = _interopRequireDefault(require("./util/assertString")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -var macAddress = /^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/; -var macAddressNoSeparators = /^([0-9a-fA-F]){12}$/; -var macAddressWithDots = /^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/; +var macAddress48 = /^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/; +var macAddress48NoSeparators = /^([0-9a-fA-F]){12}$/; +var macAddress48WithDots = /^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/; +var macAddress64 = /^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){6}([0-9a-fA-F]{2})$/; +var macAddress64NoSeparators = /^([0-9a-fA-F]){16}$/; +var macAddress64WithDots = /^([0-9a-fA-F]{4}\.){3}([0-9a-fA-F]{4})$/; function isMACAddress(str, options) { (0, _assertString.default)(str); + + if (options !== null && options !== void 0 && options.eui) { + options.eui = String(options.eui); + } /** * @deprecated `no_colons` TODO: remove it in the next major */ - if (options && (options.no_colons || options.no_separators)) { - return macAddressNoSeparators.test(str); + + if (options !== null && options !== void 0 && options.no_colons || options !== null && options !== void 0 && options.no_separators) { + if (options.eui === '48') { + return macAddress48NoSeparators.test(str); + } + + if (options.eui === '64') { + return macAddress64NoSeparators.test(str); + } + + return macAddress48NoSeparators.test(str) || macAddress64NoSeparators.test(str); } - return macAddress.test(str) || macAddressWithDots.test(str); + if ((options === null || options === void 0 ? void 0 : options.eui) === '48') { + return macAddress48.test(str) || macAddress48WithDots.test(str); + } + + if ((options === null || options === void 0 ? void 0 : options.eui) === '64') { + return macAddress64.test(str) || macAddress64WithDots.test(str); + } + + return isMACAddress(str, { + eui: '48' + }) || isMACAddress(str, { + eui: '64' + }); } module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],287:[function(require,module,exports){ +},{"./util/assertString":321}],284:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35443,7 +34761,7 @@ function isMD5(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],288:[function(require,module,exports){ +},{"./util/assertString":321}],285:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35455,16 +34773,21 @@ var _assertString = _interopRequireDefault(require("./util/assertString")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -var magnetURI = /^magnet:\?xt(?:\.1)?=urn:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?($|&)/i; +var magnetURIComponent = /(?:^magnet:\?|[^?&]&)xt(?:\.1)?=urn:(?:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?|btmh:1220[a-z0-9]{64})(?:$|&)/i; function isMagnetURI(url) { (0, _assertString.default)(url); - return magnetURI.test(url.trim()); + + if (url.indexOf('magnet:?') !== 0) { + return false; + } + + return magnetURIComponent.test(url); } module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],289:[function(require,module,exports){ +},{"./util/assertString":321}],286:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35501,7 +34824,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de // NB : // Subtype length must not exceed 100 characters. // This rule does not comply to the RFC specs (what is the max length ?). -var mimeTypeSimple = /^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i; // eslint-disable-line max-len +var mimeTypeSimple = /^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+_]{1,100}$/i; // eslint-disable-line max-len // Handle "charset" in "text/*" var mimeTypeText = /^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i; // eslint-disable-line max-len @@ -35516,7 +34839,7 @@ function isMimeType(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],290:[function(require,module,exports){ +},{"./util/assertString":321}],287:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35539,7 +34862,7 @@ var phones = { 'ar-EG': /^((\+?20)|0)?1[0125]\d{8}$/, 'ar-IQ': /^(\+?964|0)?7[0-9]\d{8}$/, 'ar-JO': /^(\+?962|0)?7[789]\d{7}$/, - 'ar-KW': /^(\+?965)[569]\d{7}$/, + 'ar-KW': /^(\+?965)([569]\d{7}|41\d{6})$/, 'ar-LY': /^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/, 'ar-MA': /^(?:(?:\+|00)212|0)[5-7]\d{8}$/, 'ar-OM': /^((\+|00)968)?(9[1-9])\d{6}$/, @@ -35547,7 +34870,7 @@ var phones = { 'ar-SA': /^(!?(\+?966)|0)?5\d{8}$/, 'ar-SY': /^(!?(\+?963)|0)?9\d{8}$/, 'ar-TN': /^(\+?216)?[2459]\d{7}$/, - 'az-AZ': /^(\+994|0)(5[015]|7[07]|99)\d{7}$/, + 'az-AZ': /^(\+994|0)(10|5[015]|7[07]|99)\d{7}$/, 'bs-BA': /^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/, 'be-BY': /^(\+?375)?(24|25|29|33|44)\d{7}$/, 'bg-BG': /^(\+?359|0)?8[789]\d{7}$/, @@ -35555,14 +34878,18 @@ var phones = { 'ca-AD': /^(\+376)?[346]\d{5}$/, 'cs-CZ': /^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/, 'da-DK': /^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/, - 'de-DE': /^((\+49|0)[1|3])([0|5][0-45-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/, + 'de-DE': /^((\+49|0)1)(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/, 'de-AT': /^(\+43|0)\d{1,4}\d{3,12}$/, 'de-CH': /^(\+41|0)([1-9])\d{1,9}$/, 'de-LU': /^(\+352)?((6\d1)\d{6})$/, - 'dv-MV': /^(\+?960)?(7[2-9]|91|9[3-9])\d{7}$/, - 'el-GR': /^(\+?30|0)?(69\d{8})$/, + 'dv-MV': /^(\+?960)?(7[2-9]|9[1-9])\d{5}$/, + 'el-GR': /^(\+?30|0)?6(8[5-9]|9(?![26])[0-9])\d{7}$/, + 'el-CY': /^(\+?357?)?(9(9|6)\d{6})$/, + 'en-AI': /^(\+?1|0)264(?:2(35|92)|4(?:6[1-2]|76|97)|5(?:3[6-9]|8[1-4])|7(?:2(4|9)|72))\d{4}$/, 'en-AU': /^(\+?61|0)4\d{8}$/, - 'en-BM': /^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}))/, + 'en-AG': /^(?:\+1|1)268(?:464|7(?:1[3-9]|[28]\d|3[0246]|64|7[0-689]))\d{4}$/, + 'en-BM': /^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}$))/, + 'en-BS': /^(\+?1[-\s]?|0)?\(?242\)?[-\s]?\d{3}[-\s]?\d{4}$/, 'en-GB': /^(\+?44|0)7\d{9}$/, 'en-GG': /^(\+?44|0)1481\d{6}$/, 'en-GH': /^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/, @@ -35571,13 +34898,18 @@ var phones = { 'en-MO': /^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/, 'en-IE': /^(\+?353|0)8[356789]\d{7}$/, 'en-IN': /^(\+?91|0)?[6789]\d{9}$/, + 'en-JM': /^(\+?876)?\d{7}$/, 'en-KE': /^(\+?254|0)(7|1)\d{8}$/, + 'en-SS': /^(\+?211|0)(9[1257])\d{7}$/, 'en-KI': /^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/, + 'en-KN': /^(?:\+1|1)869(?:46\d|48[89]|55[6-8]|66\d|76[02-7])\d{4}$/, + 'en-LS': /^(\+?266)(22|28|57|58|59|27|52)\d{6}$/, 'en-MT': /^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/, 'en-MU': /^(\+?230|0)?\d{8}$/, 'en-NA': /^(\+?264|0)(6|8)\d{7}$/, 'en-NG': /^(\+?234|0)?[789]\d{9}$/, 'en-NZ': /^(\+?64|0)[28]\d{7,9}$/, + 'en-PG': /^(\+?675|0)?(7\d|8[18])\d{6}$/, 'en-PK': /^((00|\+)?92|0)3[0-6]\d{8}$/, 'en-PH': /^(09|\+639)\d{9}$/, 'en-RW': /^(\+?250|0)?[7]\d{8}$/, @@ -35597,11 +34929,12 @@ var phones = { 'es-CR': /^(\+506)?[2-8]\d{7}$/, 'es-CU': /^(\+53|0053)?5\d{7}/, 'es-DO': /^(\+?1)?8[024]9\d{7}$/, - 'es-HN': /^(\+?504)?[9|8]\d{7}$/, + 'es-HN': /^(\+?504)?[9|8|3|2]\d{7}$/, 'es-EC': /^(\+?593|0)([2-7]|9[2-9])\d{7}$/, 'es-ES': /^(\+?34)?[6|7]\d{8}$/, 'es-PE': /^(\+?51)?9\d{8}$/, 'es-MX': /^(\+?52)?(1|01)?\d{10,11}$/, + 'es-NI': /^(\+?505)\d{7,8}$/, 'es-PA': /^(\+?507)\d{7,8}$/, 'es-PY': /^(\+?595|0)9[9876]\d{7}$/, 'es-SV': /^(\+?503)?[67]\d{7}$/, @@ -35609,10 +34942,12 @@ var phones = { 'es-VE': /^(\+?58)?(2|4)\d{9}$/, 'et-EE': /^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/, 'fa-IR': /^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/, - 'fi-FI': /^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/, + 'fi-FI': /^(\+?358|0)\s?(4[0-6]|50)\s?(\d\s?){4,8}$/, 'fj-FJ': /^(\+?679)?\s?\d{3}\s?\d{4}$/, 'fo-FO': /^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/, 'fr-BF': /^(\+226|0)[67]\d{7}$/, + 'fr-BJ': /^(\+229)\d{8}$/, + 'fr-CD': /^(\+?243|0)?(8|9)\d{8}$/, 'fr-CM': /^(\+?237)6[0-9]{8}$/, 'fr-FR': /^(\+?33|0)[67]\d{8}$/, 'fr-GF': /^(\+?594|0|00594)[67]\d{8}$/, @@ -35623,27 +34958,34 @@ var phones = { 'he-IL': /^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/, 'hu-HU': /^(\+?36|06)(20|30|31|50|70)\d{7}$/, 'id-ID': /^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/, + 'ir-IR': /^(\+98|0)?9\d{9}$/, 'it-IT': /^(\+?39)?\s?3\d{2} ?\d{6,7}$/, 'it-SM': /^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/, 'ja-JP': /^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/, - 'ka-GE': /^(\+?995)?(5|79)\d{7}$/, + 'ka-GE': /^(\+?995)?(79\d{7}|5\d{8})$/, 'kk-KZ': /^(\+?7|8)?7\d{9}$/, 'kl-GL': /^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/, 'ko-KR': /^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/, + 'ky-KG': /^(\+?7\s?\+?7|0)\s?\d{2}\s?\d{3}\s?\d{4}$/, 'lt-LT': /^(\+370|8)\d{8}$/, 'lv-LV': /^(\+?371)2\d{7}$/, - 'ms-MY': /^(\+?6?01){1}(([0145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/, + 'mg-MG': /^((\+?261|0)(2|3)\d)?\d{7}$/, + 'mn-MN': /^(\+|00|011)?976(77|81|88|91|94|95|96|99)\d{6}$/, + 'my-MM': /^(\+?959|09|9)(2[5-7]|3[1-2]|4[0-5]|6[6-9]|7[5-9]|9[6-9])[0-9]{7}$/, + 'ms-MY': /^(\+?60|0)1(([0145](-|\s)?\d{7,8})|([236-9](-|\s)?\d{7}))$/, 'mz-MZ': /^(\+?258)?8[234567]\d{7}$/, 'nb-NO': /^(\+?47)?[49]\d{7}$/, 'ne-NP': /^(\+?977)?9[78]\d{8}$/, 'nl-BE': /^(\+?32|0)4\d{8}$/, 'nl-NL': /^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/, + 'nl-AW': /^(\+)?297(56|59|64|73|74|99)\d{5}$/, 'nn-NO': /^(\+?47)?[49]\d{7}$/, 'pl-PL': /^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/, - 'pt-BR': /^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[2-9]{1}\d{3}\-?\d{4}))$/, + 'pt-BR': /^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[1-9]{1}\d{3}\-?\d{4}))$/, 'pt-PT': /^(\+?351)?9[1236]\d{7}$/, 'pt-AO': /^(\+244)\d{9}$/, - 'ro-RO': /^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/, + 'ro-MD': /^(\+?373|0)((6(0|1|2|6|7|8|9))|(7(6|7|8|9)))\d{6}$/, + 'ro-RO': /^(\+?40|0)\s?7\d{2}(\/|\s|\.|-)?\d{3}(\s|\.|-)?\d{3}$/, 'ru-RU': /^(\+?7|8)?9\d{9}$/, 'si-LK': /^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/, 'sl-SI': /^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/, @@ -35660,7 +35002,10 @@ var phones = { 'vi-VN': /^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/, 'zh-CN': /^((\+|00)86)?(1[3-9]|9[28])\d{9}$/, 'zh-TW': /^(\+?886\-?|0)?9\d{8}$/, - 'dz-BT': /^(\+?975|0)?(17|16|77|02)\d{6}$/ + 'dz-BT': /^(\+?975|0)?(17|16|77|02)\d{6}$/, + 'ar-YE': /^(((\+|00)9677|0?7)[0137]\d{7}|((\+|00)967|0)[1-7]\d{6})$/, + 'ar-EH': /^(\+?212|0)[\s\-]?(5288|5289)[\s\-]?\d{5}$/, + 'fa-AF': /^(\+93|0)?(2{1}[0-8]{1}|[3-5]{1}[0-4]{1})(\d{7})$/ }; /* eslint-enable max-len */ // aliases @@ -35717,7 +35062,7 @@ function isMobilePhone(str, locale, options) { var locales = Object.keys(phones); exports.locales = locales; -},{"./util/assertString":323}],291:[function(require,module,exports){ +},{"./util/assertString":321}],288:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35738,7 +35083,7 @@ function isMongoId(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./isHexadecimal":263,"./util/assertString":323}],292:[function(require,module,exports){ +},{"./isHexadecimal":258,"./util/assertString":321}],289:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35761,7 +35106,7 @@ function isMultibyte(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],293:[function(require,module,exports){ +},{"./util/assertString":321}],290:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35789,7 +35134,7 @@ function isNumeric(str, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./alpha":229,"./util/assertString":323}],294:[function(require,module,exports){ +},{"./alpha":224,"./util/assertString":321}],291:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35810,7 +35155,7 @@ function isOctal(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],295:[function(require,module,exports){ +},{"./util/assertString":321}],292:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35837,6 +35182,8 @@ var passportRegexByCountryCode = { // AUSTRIA AU: /^[A-Z]\d{7}$/, // AUSTRALIA + AZ: /^[A-Z]{2,3}\d{7,8}$/, + // AZERBAIJAN BE: /^[A-Z]{2}\d{6}$/, // BELGIUM BG: /^\d{9}$/, @@ -35889,10 +35236,16 @@ var passportRegexByCountryCode = { // ICELAND IT: /^[A-Z0-9]{2}\d{7}$/, // ITALY + JM: /^[Aa]\d{7}$/, + // JAMAICA JP: /^[A-Z]{2}\d{7}$/, // JAPAN KR: /^[MS]\d{8}$/, // SOUTH KOREA, REPUBLIC OF KOREA, [S=PS Passports, M=PM Passports] + KZ: /^[a-zA-Z]\d{7}$/, + // KAZAKHSTAN + LI: /^[a-zA-Z]\d{5}$/, + // LIECHTENSTEIN LT: /^[A-Z0-9]{8}$/, // LITHUANIA LU: /^[A-Z0-9]{8}$/, @@ -35907,8 +35260,16 @@ var passportRegexByCountryCode = { // MOZAMBIQUE MY: /^[AHK]\d{8}$/, // MALAYSIA + MX: /^\d{10,11}$/, + // MEXICO NL: /^[A-Z]{2}[A-Z0-9]{6}\d$/, // NETHERLANDS + NZ: /^([Ll]([Aa]|[Dd]|[Ff]|[Hh])|[Ee]([Aa]|[Pp])|[Nn])\d{6}$/, + // NEW ZEALAND + PH: /^([A-Z](\d{6}|\d{7}[A-Z]))|([A-Z]{2}(\d{6}|\d{7}))$/, + // PHILIPPINES + PK: /^[A-Z]{2}\d{7}$/, + // PAKISTAN PL: /^[A-Z]{2}\d{7}$/, // POLAND PT: /^[A-Z]\d{6}$/, @@ -35920,9 +35281,11 @@ var passportRegexByCountryCode = { SE: /^\d{8}$/, // SWEDEN SL: /^(P)[A-Z]\d{7}$/, - // SLOVANIA + // SLOVENIA SK: /^[0-9A-Z]\d{7}$/, // SLOVAKIA + TH: /^[A-Z]{1,2}\d{6,7}$/, + // THAILAND TR: /^[A-Z]\d{8}$/, // TURKEY UA: /^[A-Z]{2}\d{6}$/, @@ -35949,7 +35312,7 @@ function isPassportNumber(str, countryCode) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],296:[function(require,module,exports){ +},{"./util/assertString":321}],293:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35970,7 +35333,7 @@ function isPort(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./isInt":278}],297:[function(require,module,exports){ +},{"./isInt":274}],294:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -35993,10 +35356,11 @@ var patterns = { AT: fourDigit, AU: fourDigit, AZ: /^AZ\d{4}$/, + BA: /^([7-8]\d{4}$)/, BE: fourDigit, BG: fourDigit, BR: /^\d{5}-\d{3}$/, - BY: /2[1-4]{1}\d{4}$/, + BY: /^2[1-4]\d{4}$/, CA: /^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i, CH: fourDigit, CN: /^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/, @@ -36018,7 +35382,7 @@ var patterns = { IE: /^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i, IL: /^(\d{5}|\d{7})$/, IN: /^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/, - IR: /\b(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}\b/, + IR: /^(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}$/, IS: threeDigit, IT: fiveDigit, JP: /^\d{3}\-\d{4}$/, @@ -36029,6 +35393,7 @@ var patterns = { LU: fourDigit, LV: /^LV\-\d{4}$/, LK: fiveDigit, + MG: threeDigit, MX: fiveDigit, MT: /^[A-Za-z]{3}\s{0,1}\d{4}$/, MY: fiveDigit, @@ -36080,7 +35445,7 @@ function isPostalCode(str, locale) { throw new Error("Invalid locale '".concat(locale, "'")); } -},{"./util/assertString":323}],298:[function(require,module,exports){ +},{"./util/assertString":321}],295:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -36114,7 +35479,7 @@ function isRFC3339(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],299:[function(require,module,exports){ +},{"./util/assertString":321}],296:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -36128,8 +35493,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de var rgbColor = /^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/; var rgbaColor = /^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/; -var rgbColorPercent = /^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)/; -var rgbaColorPercent = /^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)/; +var rgbColorPercent = /^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)$/; +var rgbaColorPercent = /^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/; function isRgbColor(str) { var includePercentValues = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; @@ -36144,7 +35509,7 @@ function isRgbColor(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],300:[function(require,module,exports){ +},{"./util/assertString":321}],297:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -36173,7 +35538,7 @@ function isSemVer(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323,"./util/multilineRegex":326}],301:[function(require,module,exports){ +},{"./util/assertString":321,"./util/multilineRegex":324}],298:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -36194,7 +35559,7 @@ function isSlug(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],302:[function(require,module,exports){ +},{"./util/assertString":321}],299:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -36211,7 +35576,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de var upperCaseRegex = /^[A-Z]$/; var lowerCaseRegex = /^[a-z]$/; var numberRegex = /^[0-9]$/; -var symbolRegex = /^[-#!$@%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/; +var symbolRegex = /^[-#!$@£%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/; var defaultOptions = { minLength: 8, minLowercase: 1, @@ -36310,7 +35675,7 @@ function isStrongPassword(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323,"./util/merge":325}],303:[function(require,module,exports){ +},{"./util/assertString":321,"./util/merge":323}],300:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -36331,7 +35696,7 @@ function isSurrogatePair(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],304:[function(require,module,exports){ +},{"./util/assertString":321}],301:[function(require,module,exports){ "use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } @@ -36432,6 +35797,37 @@ function bgBgCheck(tin) { checksum = checksum % 11 === 10 ? 0 : checksum % 11; return checksum === digits[9]; } +/** + * Check if an input is a valid Canadian SIN (Social Insurance Number) + * + * The Social Insurance Number (SIN) is a 9 digit number that + * you need to work in Canada or to have access to government programs and benefits. + * + * https://en.wikipedia.org/wiki/Social_Insurance_Number + * https://www.canada.ca/en/employment-social-development/services/sin.html + * https://www.codercrunch.com/challenge/819302488/sin-validator + * + * @param {string} input + * @return {boolean} + */ + + +function isCanadianSIN(input) { + var digitsArray = input.split(''); + var even = digitsArray.filter(function (_, idx) { + return idx % 2; + }).map(function (i) { + return Number(i) * 2; + }).join('').split(''); + var total = digitsArray.filter(function (_, idx) { + return !(idx % 2); + }).concat(even).map(function (i) { + return Number(i); + }).reduce(function (acc, cur) { + return acc + cur; + }); + return total % 10 === 0; +} /* * cs-CZ validation function * (Rodné číslo (RČ), persons only) @@ -36784,7 +36180,7 @@ function enUsGetPrefixes() { function enUsCheck(tin) { - return enUsGetPrefixes().indexOf(tin.substr(0, 2)) !== -1; + return enUsGetPrefixes().indexOf(tin.slice(0, 2)) !== -1; } /* * es-ES validation function @@ -37752,6 +37148,7 @@ var taxIdFormat = { 'dk-DK': /^\d{6}-{0,1}\d{4}$/, 'el-CY': /^[09]\d{7}[A-Z]$/, 'el-GR': /^([0-4]|[7-9])\d{8}$/, + 'en-CA': /^\d{9}$/, 'en-GB': /^\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\d{6}[ABCD ]$/i, 'en-IE': /^\d{7}[A-W][A-IW]{0,1}$/i, 'en-US': /^\d{2}[- ]{0,1}\d{7}$/, @@ -37780,7 +37177,8 @@ var taxIdFormat = { taxIdFormat['lb-LU'] = taxIdFormat['fr-LU']; taxIdFormat['lt-LT'] = taxIdFormat['et-EE']; -taxIdFormat['nl-BE'] = taxIdFormat['fr-BE']; // Algorithmic tax id check functions for various locales +taxIdFormat['nl-BE'] = taxIdFormat['fr-BE']; +taxIdFormat['fr-CA'] = taxIdFormat['en-CA']; // Algorithmic tax id check functions for various locales var taxIdCheck = { 'bg-BG': bgBgCheck, @@ -37790,6 +37188,7 @@ var taxIdCheck = { 'dk-DK': dkDkCheck, 'el-CY': elCyCheck, 'el-GR': elGrCheck, + 'en-CA': isCanadianSIN, 'en-IE': enIeCheck, 'en-US': enUsCheck, 'es-ES': esEsCheck, @@ -37815,7 +37214,8 @@ var taxIdCheck = { taxIdCheck['lb-LU'] = taxIdCheck['fr-LU']; taxIdCheck['lt-LT'] = taxIdCheck['et-EE']; -taxIdCheck['nl-BE'] = taxIdCheck['fr-BE']; // Regexes for locales where characters should be omitted before checking format +taxIdCheck['nl-BE'] = taxIdCheck['fr-BE']; +taxIdCheck['fr-CA'] = taxIdCheck['en-CA']; // Regexes for locales where characters should be omitted before checking format var allsymbols = /[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g; var sanitizeRegexes = { @@ -37860,7 +37260,42 @@ function isTaxID(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./isDate":249,"./util/algorithms":322,"./util/assertString":323}],305:[function(require,module,exports){ +},{"./isDate":244,"./util/algorithms":320,"./util/assertString":321}],302:[function(require,module,exports){ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = isTime; + +var _merge = _interopRequireDefault(require("./util/merge")); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +var default_time_options = { + hourFormat: 'hour24', + mode: 'default' +}; +var formats = { + hour24: { + default: /^([01]?[0-9]|2[0-3]):([0-5][0-9])$/, + withSeconds: /^([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/ + }, + hour12: { + default: /^(0?[1-9]|1[0-2]):([0-5][0-9]) (A|P)M$/, + withSeconds: /^(0?[1-9]|1[0-2]):([0-5][0-9]):([0-5][0-9]) (A|P)M$/ + } +}; + +function isTime(input, options) { + options = (0, _merge.default)(options, default_time_options); + if (typeof input !== 'string') return false; + return formats[options.hourFormat][options.mode].test(input); +} + +module.exports = exports.default; +module.exports.default = exports.default; +},{"./util/merge":323}],303:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -37974,12 +37409,12 @@ function isURL(url, options) { } } else if (options.require_protocol) { return false; - } else if (url.substr(0, 2) === '//') { + } else if (url.slice(0, 2) === '//') { if (!options.allow_protocol_relative_urls) { return false; } - split[0] = url.substr(2); + split[0] = url.slice(2); } url = split.join('://'); @@ -38054,6 +37489,10 @@ function isURL(url, options) { return checkHost(host, options.host_whitelist); } + if (host === '' && !options.require_host) { + return true; + } + if (!(0, _isIP.default)(host) && !(0, _isFQDN.default)(host, options) && (!ipv6 || !(0, _isIP.default)(ipv6, 6))) { return false; } @@ -38069,7 +37508,7 @@ function isURL(url, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./isFQDN":256,"./isIP":266,"./util/assertString":323,"./util/merge":325}],306:[function(require,module,exports){ +},{"./isFQDN":251,"./isIP":261,"./util/assertString":321,"./util/merge":323}],304:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38098,7 +37537,7 @@ function isUUID(str, version) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],307:[function(require,module,exports){ +},{"./util/assertString":321}],305:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38117,9 +37556,11 @@ function isUppercase(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],308:[function(require,module,exports){ +},{"./util/assertString":321}],306:[function(require,module,exports){ "use strict"; +function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + Object.defineProperty(exports, "__esModule", { value: true }); @@ -38128,12 +37569,247 @@ exports.vatMatchers = void 0; var _assertString = _interopRequireDefault(require("./util/assertString")); +var algorithms = _interopRequireWildcard(require("./util/algorithms")); + +function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; } + +function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +var PT = function PT(str) { + var match = str.match(/^(PT)?(\d{9})$/); + + if (!match) { + return false; + } + + var tin = match[2]; + var checksum = 11 - algorithms.reverseMultiplyAndSum(tin.split('').slice(0, 8).map(function (a) { + return parseInt(a, 10); + }), 9) % 11; + + if (checksum > 9) { + return parseInt(tin[8], 10) === 0; + } + + return checksum === parseInt(tin[8], 10); +}; + var vatMatchers = { - GB: /^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/, - IT: /^(IT)?[0-9]{11}$/, - NL: /^(NL)?[0-9]{9}B[0-9]{2}$/ + /** + * European Union VAT identification numbers + */ + AT: function AT(str) { + return /^(AT)?U\d{8}$/.test(str); + }, + BE: function BE(str) { + return /^(BE)?\d{10}$/.test(str); + }, + BG: function BG(str) { + return /^(BG)?\d{9,10}$/.test(str); + }, + HR: function HR(str) { + return /^(HR)?\d{11}$/.test(str); + }, + CY: function CY(str) { + return /^(CY)?\w{9}$/.test(str); + }, + CZ: function CZ(str) { + return /^(CZ)?\d{8,10}$/.test(str); + }, + DK: function DK(str) { + return /^(DK)?\d{8}$/.test(str); + }, + EE: function EE(str) { + return /^(EE)?\d{9}$/.test(str); + }, + FI: function FI(str) { + return /^(FI)?\d{8}$/.test(str); + }, + FR: function FR(str) { + return /^(FR)?\w{2}\d{9}$/.test(str); + }, + DE: function DE(str) { + return /^(DE)?\d{9}$/.test(str); + }, + EL: function EL(str) { + return /^(EL)?\d{9}$/.test(str); + }, + HU: function HU(str) { + return /^(HU)?\d{8}$/.test(str); + }, + IE: function IE(str) { + return /^(IE)?\d{7}\w{1}(W)?$/.test(str); + }, + IT: function IT(str) { + return /^(IT)?\d{11}$/.test(str); + }, + LV: function LV(str) { + return /^(LV)?\d{11}$/.test(str); + }, + LT: function LT(str) { + return /^(LT)?\d{9,12}$/.test(str); + }, + LU: function LU(str) { + return /^(LU)?\d{8}$/.test(str); + }, + MT: function MT(str) { + return /^(MT)?\d{8}$/.test(str); + }, + NL: function NL(str) { + return /^(NL)?\d{9}B\d{2}$/.test(str); + }, + PL: function PL(str) { + return /^(PL)?(\d{10}|(\d{3}-\d{3}-\d{2}-\d{2})|(\d{3}-\d{2}-\d{2}-\d{3}))$/.test(str); + }, + PT: PT, + RO: function RO(str) { + return /^(RO)?\d{2,10}$/.test(str); + }, + SK: function SK(str) { + return /^(SK)?\d{10}$/.test(str); + }, + SI: function SI(str) { + return /^(SI)?\d{8}$/.test(str); + }, + ES: function ES(str) { + return /^(ES)?\w\d{7}[A-Z]$/.test(str); + }, + SE: function SE(str) { + return /^(SE)?\d{12}$/.test(str); + }, + + /** + * VAT numbers of non-EU countries + */ + AL: function AL(str) { + return /^(AL)?\w{9}[A-Z]$/.test(str); + }, + MK: function MK(str) { + return /^(MK)?\d{13}$/.test(str); + }, + AU: function AU(str) { + return /^(AU)?\d{11}$/.test(str); + }, + BY: function BY(str) { + return /^(УНП )?\d{9}$/.test(str); + }, + CA: function CA(str) { + return /^(CA)?\d{9}$/.test(str); + }, + IS: function IS(str) { + return /^(IS)?\d{5,6}$/.test(str); + }, + IN: function IN(str) { + return /^(IN)?\d{15}$/.test(str); + }, + ID: function ID(str) { + return /^(ID)?(\d{15}|(\d{2}.\d{3}.\d{3}.\d{1}-\d{3}.\d{3}))$/.test(str); + }, + IL: function IL(str) { + return /^(IL)?\d{9}$/.test(str); + }, + KZ: function KZ(str) { + return /^(KZ)?\d{9}$/.test(str); + }, + NZ: function NZ(str) { + return /^(NZ)?\d{9}$/.test(str); + }, + NG: function NG(str) { + return /^(NG)?(\d{12}|(\d{8}-\d{4}))$/.test(str); + }, + NO: function NO(str) { + return /^(NO)?\d{9}MVA$/.test(str); + }, + PH: function PH(str) { + return /^(PH)?(\d{12}|\d{3} \d{3} \d{3} \d{3})$/.test(str); + }, + RU: function RU(str) { + return /^(RU)?(\d{10}|\d{12})$/.test(str); + }, + SM: function SM(str) { + return /^(SM)?\d{5}$/.test(str); + }, + SA: function SA(str) { + return /^(SA)?\d{15}$/.test(str); + }, + RS: function RS(str) { + return /^(RS)?\d{9}$/.test(str); + }, + CH: function CH(str) { + return /^(CH)?(\d{6}|\d{9}|(\d{3}.\d{3})|(\d{3}.\d{3}.\d{3}))(TVA|MWST|IVA)$/.test(str); + }, + TR: function TR(str) { + return /^(TR)?\d{10}$/.test(str); + }, + UA: function UA(str) { + return /^(UA)?\d{12}$/.test(str); + }, + GB: function GB(str) { + return /^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/.test(str); + }, + UZ: function UZ(str) { + return /^(UZ)?\d{9}$/.test(str); + }, + + /** + * VAT numbers of Latin American countries + */ + AR: function AR(str) { + return /^(AR)?\d{11}$/.test(str); + }, + BO: function BO(str) { + return /^(BO)?\d{7}$/.test(str); + }, + BR: function BR(str) { + return /^(BR)?((\d{2}.\d{3}.\d{3}\/\d{4}-\d{2})|(\d{3}.\d{3}.\d{3}-\d{2}))$/.test(str); + }, + CL: function CL(str) { + return /^(CL)?\d{8}-\d{1}$/.test(str); + }, + CO: function CO(str) { + return /^(CO)?\d{10}$/.test(str); + }, + CR: function CR(str) { + return /^(CR)?\d{9,12}$/.test(str); + }, + EC: function EC(str) { + return /^(EC)?\d{13}$/.test(str); + }, + SV: function SV(str) { + return /^(SV)?\d{4}-\d{6}-\d{3}-\d{1}$/.test(str); + }, + GT: function GT(str) { + return /^(GT)?\d{7}-\d{1}$/.test(str); + }, + HN: function HN(str) { + return /^(HN)?$/.test(str); + }, + MX: function MX(str) { + return /^(MX)?\w{3,4}\d{6}\w{3}$/.test(str); + }, + NI: function NI(str) { + return /^(NI)?\d{3}-\d{6}-\d{4}\w{1}$/.test(str); + }, + PA: function PA(str) { + return /^(PA)?$/.test(str); + }, + PY: function PY(str) { + return /^(PY)?\d{6,8}-\d{1}$/.test(str); + }, + PE: function PE(str) { + return /^(PE)?\d{11}$/.test(str); + }, + DO: function DO(str) { + return /^(DO)?(\d{11}|(\d{3}-\d{7}-\d{1})|[1,4,5]{1}\d{8}|([1,4,5]{1})-\d{2}-\d{5}-\d{1})$/.test(str); + }, + UY: function UY(str) { + return /^(UY)?\d{12}$/.test(str); + }, + VE: function VE(str) { + return /^(VE)?[J,G,V,E]{1}-(\d{9}|(\d{8}-\d{1}))$/.test(str); + } }; exports.vatMatchers = vatMatchers; @@ -38142,12 +37818,12 @@ function isVAT(str, countryCode) { (0, _assertString.default)(countryCode); if (countryCode in vatMatchers) { - return vatMatchers[countryCode].test(str); + return vatMatchers[countryCode](str); } throw new Error("Invalid country code: '".concat(countryCode, "'")); } -},{"./util/assertString":323}],309:[function(require,module,exports){ +},{"./util/algorithms":320,"./util/assertString":321}],307:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38170,7 +37846,7 @@ function isVariableWidth(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./isFullWidth":258,"./isHalfWidth":260,"./util/assertString":323}],310:[function(require,module,exports){ +},{"./isFullWidth":253,"./isHalfWidth":255,"./util/assertString":321}],308:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38196,7 +37872,7 @@ function isWhitelisted(str, chars) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],311:[function(require,module,exports){ +},{"./util/assertString":321}],309:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38217,7 +37893,7 @@ function ltrim(str, chars) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],312:[function(require,module,exports){ +},{"./util/assertString":321}],310:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38236,12 +37912,12 @@ function matches(str, pattern, modifiers) { pattern = new RegExp(pattern, modifiers); } - return pattern.test(str); + return !!str.match(pattern); } module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],313:[function(require,module,exports){ +},{"./util/assertString":321}],311:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38393,7 +38069,7 @@ function normalizeEmail(email, options) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/merge":325}],314:[function(require,module,exports){ +},{"./util/merge":323}],312:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38426,7 +38102,7 @@ function rtrim(str, chars) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],315:[function(require,module,exports){ +},{"./util/assertString":321}],313:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38448,7 +38124,7 @@ function stripLow(str, keep_new_lines) { module.exports = exports.default; module.exports.default = exports.default; -},{"./blacklist":230,"./util/assertString":323}],316:[function(require,module,exports){ +},{"./blacklist":225,"./util/assertString":321}],314:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38472,7 +38148,7 @@ function toBoolean(str, strict) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],317:[function(require,module,exports){ +},{"./util/assertString":321}],315:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38492,7 +38168,7 @@ function toDate(date) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],318:[function(require,module,exports){ +},{"./util/assertString":321}],316:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38511,7 +38187,7 @@ function toFloat(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./isFloat":257}],319:[function(require,module,exports){ +},{"./isFloat":252}],317:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38530,7 +38206,7 @@ function toInt(str, radix) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],320:[function(require,module,exports){ +},{"./util/assertString":321}],318:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38550,7 +38226,7 @@ function trim(str, chars) { module.exports = exports.default; module.exports.default = exports.default; -},{"./ltrim":311,"./rtrim":314}],321:[function(require,module,exports){ +},{"./ltrim":309,"./rtrim":312}],319:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38571,7 +38247,7 @@ function unescape(str) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],322:[function(require,module,exports){ +},{"./util/assertString":321}],320:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38673,7 +38349,7 @@ function verhoeffCheck(str) { return checksum === 0; } -},{}],323:[function(require,module,exports){ +},{}],321:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38696,7 +38372,7 @@ function assertString(input) { module.exports = exports.default; module.exports.default = exports.default; -},{}],324:[function(require,module,exports){ +},{}],322:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38714,7 +38390,7 @@ var _default = includes; exports.default = _default; module.exports = exports.default; module.exports.default = exports.default; -},{}],325:[function(require,module,exports){ +},{}],323:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38737,7 +38413,7 @@ function merge() { module.exports = exports.default; module.exports.default = exports.default; -},{}],326:[function(require,module,exports){ +},{}],324:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38760,7 +38436,7 @@ function multilineRegexp(parts, flags) { module.exports = exports.default; module.exports.default = exports.default; -},{}],327:[function(require,module,exports){ +},{}],325:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38786,7 +38462,7 @@ function toString(input) { module.exports = exports.default; module.exports.default = exports.default; -},{}],328:[function(require,module,exports){ +},{}],326:[function(require,module,exports){ "use strict"; Object.defineProperty(exports, "__esModule", { @@ -38805,10 +38481,10 @@ function whitelist(str, chars) { module.exports = exports.default; module.exports.default = exports.default; -},{"./util/assertString":323}],329:[function(require,module,exports){ +},{"./util/assertString":321}],327:[function(require,module,exports){ module.exports={ "name": "doipjs", - "version": "0.18.1", + "version": "0.18.2", "description": "Decentralized Online Identity Proofs library in Node.js", "main": "./src/index.js", "packageManager": "yarn@1.22.19", @@ -38827,7 +38503,6 @@ module.exports={ "irc-upd": "^0.11.0", "merge-options": "^3.0.3", "openpgp": "^5.5.0", - "query-string": "^6.14.1", "valid-url": "^1.0.9", "validator": "^13.5.2" }, @@ -38886,7 +38561,7 @@ module.exports={ } } -},{}],330:[function(require,module,exports){ +},{}],328:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -39218,7 +38893,7 @@ class Claim { module.exports = Claim -},{"./claimDefinitions":340,"./defaults":352,"./enums":353,"./proofs":364,"./verifications":367,"merge-options":172,"valid-url":227,"validator":228}],331:[function(require,module,exports){ +},{"./claimDefinitions":337,"./defaults":349,"./enums":350,"./proofs":361,"./verifications":364,"merge-options":170,"valid-url":222,"validator":223}],329:[function(require,module,exports){ /* Copyright 2022 Yarmo Mackenbach @@ -39331,7 +39006,7 @@ exports.processURI = processURI exports.functions = functions exports.tests = tests -},{"../enums":353}],332:[function(require,module,exports){ +},{"../enums":350}],330:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -39407,7 +39082,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],333:[function(require,module,exports){ +},{"../enums":350}],331:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -39483,7 +39158,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],334:[function(require,module,exports){ +},{"../enums":350}],332:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -39558,87 +39233,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],335:[function(require,module,exports){ -/* -Copyright 2023 Yarmo Mackenbach - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -const E = require('../enums') - -const reURI = /^https:\/\/(.*)\/(.*)\/(.*)\/?/ - -const processURI = (uri) => { - const match = uri.match(reURI) - - return { - serviceprovider: { - type: 'web', - name: 'forgejo' - }, - match: { - regularExpression: reURI, - isAmbiguous: true - }, - profile: { - display: `${match[2]}@${match[1]}`, - uri: `https://${match[1]}/${match[2]}`, - qr: null - }, - proof: { - uri: uri, - request: { - fetcher: E.Fetcher.HTTP, - access: E.ProofAccess.NOCORS, - format: E.ProofFormat.JSON, - data: { - url: `https://${match[1]}/api/v1/repos/${match[2]}/${match[3]}`, - format: E.ProofFormat.JSON - } - } - }, - claim: [{ - format: E.ClaimFormat.URI, - relation: E.ClaimRelation.EQUALS, - path: ['description'] - }] - } -} - -const tests = [ - { - uri: 'https://domain.org/alice/forgejo_proof', - shouldMatch: true - }, - { - uri: 'https://domain.org/alice/forgejo_proof/', - shouldMatch: true - }, - { - uri: 'https://domain.org/alice/other_proof', - shouldMatch: true - }, - { - uri: 'https://domain.org/alice', - shouldMatch: false - } -] - -exports.reURI = reURI -exports.processURI = processURI -exports.tests = tests - -},{"../enums":353}],336:[function(require,module,exports){ +},{"../enums":350}],333:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -39718,7 +39313,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],337:[function(require,module,exports){ +},{"../enums":350}],334:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -39794,7 +39389,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],338:[function(require,module,exports){ +},{"../enums":350}],335:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -39870,7 +39465,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],339:[function(require,module,exports){ +},{"../enums":350}],336:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -39946,7 +39541,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],340:[function(require,module,exports){ +},{"../enums":350}],337:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -39976,7 +39571,7 @@ const data = { hackernews: require('./hackernews'), lobsters: require('./lobsters'), devto: require('./devto'), - forgejo: require('./forgejo'), + // forgejo: require('./forgejo'), gitea: require('./gitea'), gitlab: require('./gitlab'), github: require('./github'), @@ -39989,7 +39584,7 @@ const data = { exports.list = Object.keys(data) exports.data = data -},{"./activitypub":331,"./devto":332,"./discourse":333,"./dns":334,"./forgejo":335,"./gitea":336,"./github":337,"./gitlab":338,"./hackernews":339,"./irc":341,"./liberapay":342,"./lichess":343,"./lobsters":344,"./matrix":345,"./owncast":346,"./reddit":347,"./stackexchange":348,"./telegram":349,"./twitter":350,"./xmpp":351}],341:[function(require,module,exports){ +},{"./activitypub":329,"./devto":330,"./discourse":331,"./dns":332,"./gitea":333,"./github":334,"./gitlab":335,"./hackernews":336,"./irc":338,"./liberapay":339,"./lichess":340,"./lobsters":341,"./matrix":342,"./owncast":343,"./reddit":344,"./stackexchange":345,"./telegram":346,"./twitter":347,"./xmpp":348}],338:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -40069,7 +39664,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],342:[function(require,module,exports){ +},{"../enums":350}],339:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -40145,7 +39740,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],343:[function(require,module,exports){ +},{"../enums":350}],340:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -40221,7 +39816,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],344:[function(require,module,exports){ +},{"../enums":350}],341:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -40297,7 +39892,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],345:[function(require,module,exports){ +},{"../enums":350}],342:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -40314,7 +39909,6 @@ See the License for the specific language governing permissions and limitations under the License. */ const E = require('../enums') -const queryString = require('query-string') const reURI = /^matrix:u\/(?:@)?([^@:]*:[^?]*)(\?.*)?/ @@ -40325,14 +39919,17 @@ const processURI = (uri) => { return null } - const params = queryString.parse(match[2]) + const params = new URLSearchParams(match[2]) - if (!('org.keyoxide.e' in params && 'org.keyoxide.r' in params)) { + if (!(params.has('org.keyoxide.e') && params.has('org.keyoxide.r'))) { return null } + const paramRoomId = `${params.get('org.keyoxide.r')[0] !== '!' ? '!' : ''}${params.get('org.keyoxide.r')}` + const paramEventId = `${params.get('org.keyoxide.e')[0] !== '$' ? '$' : ''}${params.get('org.keyoxide.e')}` + const profileUrl = `https://matrix.to/#/@${match[1]}` - const eventUrl = `https://matrix.to/#/${params['org.keyoxide.r']}/${params['org.keyoxide.e']}` + const eventUrl = `https://matrix.to/#/${paramRoomId}/${paramEventId}` return { serviceprovider: { @@ -40355,8 +39952,8 @@ const processURI = (uri) => { access: E.ProofAccess.GRANTED, format: E.ProofFormat.JSON, data: { - eventId: params['org.keyoxide.e'], - roomId: params['org.keyoxide.r'] + eventId: paramEventId, + roomId: paramRoomId } } }, @@ -40371,7 +39968,7 @@ const processURI = (uri) => { const tests = [ { uri: - 'matrix:u/alice:matrix.domain.org?org.keyoxide.r=!123:domain.org&org.keyoxide.e=$123', + 'matrix:u/alice:matrix.domain.org?org.keyoxide.r=123:domain.org&org.keyoxide.e=123', shouldMatch: true }, { @@ -40392,7 +39989,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353,"query-string":194}],346:[function(require,module,exports){ +},{"../enums":350}],343:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -40472,7 +40069,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],347:[function(require,module,exports){ +},{"../enums":350}],344:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -40556,7 +40153,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],348:[function(require,module,exports){ +},{"../enums":350}],345:[function(require,module,exports){ /* Copyright 2022 Yarmo Mackenbach @@ -40675,7 +40272,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],349:[function(require,module,exports){ +},{"../enums":350}],346:[function(require,module,exports){ /* Copyright 2022 Maximilian Siling @@ -40759,7 +40356,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],350:[function(require,module,exports){ +},{"../enums":350}],347:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -40800,7 +40397,7 @@ const processURI = (uri) => { uri: uri, request: { fetcher: E.Fetcher.HTTP, - access: E.ProofAccess.GENERIC, + access: E.ProofAccess.NOCORS, format: E.ProofFormat.JSON, data: { // Returns an oembed json object with the tweet content in html form @@ -40836,7 +40433,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],351:[function(require,module,exports){ +},{"../enums":350}],348:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -40913,7 +40510,7 @@ exports.reURI = reURI exports.processURI = processURI exports.tests = tests -},{"../enums":353}],352:[function(require,module,exports){ +},{"../enums":350}],349:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -40988,7 +40585,7 @@ const opts = { exports.opts = opts -},{"./enums":353}],353:[function(require,module,exports){ +},{"./enums":350}],350:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -41128,7 +40725,7 @@ exports.ClaimFormat = ClaimFormat exports.ClaimRelation = ClaimRelation exports.ClaimStatus = ClaimStatus -},{}],354:[function(require,module,exports){ +},{}],351:[function(require,module,exports){ /* Copyright 2022 Yarmo Mackenbach @@ -41233,7 +40830,7 @@ module.exports.fn = async (data, opts) => { }) } -},{"../../package.json":329,"axios":17,"browser-or-node":49,"crypto":106,"validator":228}],355:[function(require,module,exports){ +},{"../../package.json":327,"axios":17,"browser-or-node":49,"crypto":106,"validator":223}],352:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -41306,7 +40903,7 @@ if (jsEnv.isNode) { module.exports.fn = null } -},{"browser-or-node":49,"dns":96}],356:[function(require,module,exports){ +},{"browser-or-node":49,"dns":96}],353:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -41403,7 +41000,7 @@ module.exports.fn = async (data, opts) => { }) } -},{"../../package.json":329,"../enums":353,"axios":17}],357:[function(require,module,exports){ +},{"../../package.json":327,"../enums":350,"axios":17}],354:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -41428,7 +41025,7 @@ exports.matrix = require('./matrix') exports.telegram = require('./telegram') exports.xmpp = require('./xmpp') -},{"./activitypub":354,"./dns":355,"./http":356,"./irc":358,"./matrix":359,"./telegram":360,"./xmpp":361}],358:[function(require,module,exports){ +},{"./activitypub":351,"./dns":352,"./http":353,"./irc":355,"./matrix":356,"./telegram":357,"./xmpp":358}],355:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -41526,7 +41123,7 @@ if (jsEnv.isNode) { module.exports.fn = null } -},{"browser-or-node":49,"irc-upd":"irc-upd","validator":228}],359:[function(require,module,exports){ +},{"browser-or-node":49,"irc-upd":"irc-upd","validator":223}],356:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -41609,7 +41206,7 @@ module.exports.fn = async (data, opts) => { }) } -},{"../../package.json":329,"axios":17,"validator":228}],360:[function(require,module,exports){ +},{"../../package.json":327,"axios":17,"validator":223}],357:[function(require,module,exports){ /* Copyright 2022 Maximilian Siling @@ -41721,7 +41318,7 @@ module.exports.fn = async (data, opts) => { }) } -},{"../../package.json":329,"axios":17,"validator":228}],361:[function(require,module,exports){ +},{"../../package.json":327,"axios":17,"validator":223}],358:[function(require,module,exports){ (function (process){(function (){ /* Copyright 2021 Yarmo Mackenbach @@ -41918,7 +41515,7 @@ if (jsEnv.isNode) { } }).call(this)}).call(this,require('_process')) -},{"@xmpp/client":"@xmpp/client","@xmpp/debug":"@xmpp/debug","_process":187,"browser-or-node":49,"validator":228}],362:[function(require,module,exports){ +},{"@xmpp/client":"@xmpp/client","@xmpp/debug":"@xmpp/debug","_process":185,"browser-or-node":49,"validator":223}],359:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -41956,7 +41553,7 @@ exports.utils = utils exports.verifications = verifications exports.fetcher = fetcher -},{"./claim":330,"./claimDefinitions":340,"./defaults":352,"./enums":353,"./fetcher":357,"./keys":363,"./proofs":364,"./signatures":365,"./utils":366,"./verifications":367}],363:[function(require,module,exports){ +},{"./claim":328,"./claimDefinitions":337,"./defaults":349,"./enums":350,"./fetcher":354,"./keys":360,"./proofs":361,"./signatures":362,"./utils":363,"./verifications":364}],360:[function(require,module,exports){ (function (global){(function (){ /* Copyright 2021 Yarmo Mackenbach @@ -42281,7 +41878,7 @@ exports.fetch = fetch exports.process = process }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./claim":330,"@openpgp/hkp-client":1,"@openpgp/wkd-client":2,"axios":17,"valid-url":227}],364:[function(require,module,exports){ +},{"./claim":328,"@openpgp/hkp-client":1,"@openpgp/wkd-client":2,"axios":17,"valid-url":222}],361:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -42460,7 +42057,7 @@ const createFallbackRequestPromise = (data, opts) => { exports.fetch = fetch -},{"./enums":353,"./fetcher":357,"./utils":366,"browser-or-node":49}],365:[function(require,module,exports){ +},{"./enums":350,"./fetcher":354,"./utils":363,"browser-or-node":49}],362:[function(require,module,exports){ (function (global){(function (){ /* Copyright 2021 Yarmo Mackenbach @@ -42621,7 +42218,7 @@ const process = async (signature) => { exports.process = process }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./claim":330,"./keys":363}],366:[function(require,module,exports){ +},{"./claim":328,"./keys":360}],363:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -42725,7 +42322,7 @@ exports.generateProxyURL = generateProxyURL exports.generateClaim = generateClaim exports.getUriFromString = getUriFromString -},{"./enums":353,"validator":228}],367:[function(require,module,exports){ +},{"./enums":350,"validator":223}],364:[function(require,module,exports){ /* Copyright 2021 Yarmo Mackenbach @@ -42973,5 +42570,5 @@ const run = async (proofData, claimData, fingerprint) => { exports.run = run -},{"./enums":353,"./utils":366,"hash-wasm":154}]},{},[362])(362) +},{"./enums":350,"./utils":363,"hash-wasm":152}]},{},[359])(359) }); diff --git a/dist/doip.min.js b/dist/doip.min.js index 4ba383f..e156b76 100644 --- a/dist/doip.min.js +++ b/dist/doip.min.js @@ -1,11 +1,11 @@ -!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).doip=e()}}((function(){return function e(t,i,A){function r(o,a){if(!i[o]){if(!t[o]){var s="function"==typeof require&&require;if(!a&&s)return s(o,!0);if(n)return n(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var I=i[o]={exports:{}};t[o][0].call(I.exports,(function(e){return r(t[o][1][e]||e)}),I,I.exports,e,t,i,A)}return i[o].exports}for(var n="function"==typeof require&&require,o=0;o0||n>o]}return a}(new Uint8Array(await this._subtle.digest("SHA-1",r))),o=encodeURIComponent(i),a=`https://openpgpkey.${A}/.well-known/openpgpkey/${A}/hu/${n}?l=${o}`,s=`https://${A}/.well-known/openpgpkey/hu/${n}?l=${o}`;let c;try{if(c=await t(a),200!==c.status)throw new Error("Advanced WKD lookup failed: "+c.statusText)}catch(e){if(c=await t(s),200!==c.status)throw new Error("Direct WKD lookup failed: "+c.statusText)}return new Uint8Array(await c.arrayBuffer())}}},{"@peculiar/webcrypto":50,crypto:50,"node-fetch":50}],3:[function(e,t,i){"use strict";const A=i;A.bignum=e("bn.js"),A.define=e("./asn1/api").define,A.base=e("./asn1/base"),A.constants=e("./asn1/constants"),A.decoders=e("./asn1/decoders"),A.encoders=e("./asn1/encoders")},{"./asn1/api":4,"./asn1/base":6,"./asn1/constants":10,"./asn1/decoders":12,"./asn1/encoders":15,"bn.js":47}],4:[function(e,t,i){"use strict";const A=e("./encoders"),r=e("./decoders"),n=e("inherits");function o(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}i.define=function(e,t){return new o(e,t)},o.prototype._createNamed=function(e){const t=this.name;function i(e){this._initNamed(e,t)}return n(i,e),i.prototype._initNamed=function(t,i){e.call(this,t,i)},new i(this)},o.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(r[e])),this.decoders[e]},o.prototype.decode=function(e,t,i){return this._getDecoder(t).decode(e,i)},o.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(A[e])),this.encoders[e]},o.prototype.encode=function(e,t,i){return this._getEncoder(t).encode(e,i)}},{"./decoders":12,"./encoders":15,inherits:169}],5:[function(e,t,i){"use strict";const A=e("inherits"),r=e("../base/reporter").Reporter,n=e("safer-buffer").Buffer;function o(e,t){r.call(this,t),n.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function a(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return a.isEncoderBuffer(e)||(e=new a(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=n.byteLength(e);else{if(!n.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}A(o,r),i.DecoderBuffer=o,o.isDecoderBuffer=function(e){if(e instanceof o)return!0;return"object"==typeof e&&n.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},o.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},o.prototype.restore=function(e){const t=new o(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,r.prototype.restore.call(this,e.reporter),t},o.prototype.isEmpty=function(){return this.offset===this.length},o.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},o.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");const i=new o(this.base);return i._reporterState=this._reporterState,i.offset=this.offset,i.length=this.offset+e,this.offset+=e,i},o.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},i.EncoderBuffer=a,a.isEncoderBuffer=function(e){if(e instanceof a)return!0;return"object"==typeof e&&"EncoderBuffer"===e.constructor.name&&"number"==typeof e.length&&"function"==typeof e.join},a.prototype.join=function(e,t){return e||(e=n.alloc(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(i){i.join(e,t),t+=i.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):n.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},{"../base/reporter":8,inherits:169,"safer-buffer":199}],6:[function(e,t,i){"use strict";const A=i;A.Reporter=e("./reporter").Reporter,A.DecoderBuffer=e("./buffer").DecoderBuffer,A.EncoderBuffer=e("./buffer").EncoderBuffer,A.Node=e("./node")},{"./buffer":5,"./node":7,"./reporter":8}],7:[function(e,t,i){"use strict";const A=e("../base/reporter").Reporter,r=e("../base/buffer").EncoderBuffer,n=e("../base/buffer").DecoderBuffer,o=e("minimalistic-assert"),a=["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"],s=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function c(e,t,i){const A={};this._baseState=A,A.name=i,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 I=["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={};I.forEach((function(i){t[i]=e[i]}));const i=new this.constructor(t.parent);return i._baseState=t,i},c.prototype._wrap=function(){const e=this._baseState;s.forEach((function(t){this[t]=function(){const i=new this.constructor(this);return e.children.push(i),i[t].apply(i,arguments)}}),this)},c.prototype._init=function(e){const t=this._baseState;o(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),o.equal(t.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(e){const t=this._baseState,i=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==i.length&&(o(null===t.children),t.children=i,i.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(o(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(i){i==(0|i)&&(i|=0);const A=e[i];t[A]=i})),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)}})),a.forEach((function(e){c.prototype[e]=function(){const t=this._baseState,i=Array.prototype.slice.call(arguments);return o(null===t.tag),t.tag=e,this._useArgs(i),this}})),c.prototype.use=function(e){o(e);const t=this._baseState;return o(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 o(null===t.default),t.default=e,t.optional=!0,this},c.prototype.explicit=function(e){const t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.explicit=e,this},c.prototype.implicit=function(e){const t=this._baseState;return o(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 o(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 o(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 o(null===t.use),t.contains=e,this},c.prototype._decode=function(e,t){const i=this._baseState;if(null===i.parent)return e.wrapResult(i.children[0]._decode(e,t));let A,r=i.default,o=!0,a=null;if(null!==i.key&&(a=e.enterKey(i.key)),i.optional){let A=null;if(null!==i.explicit?A=i.explicit:null!==i.implicit?A=i.implicit:null!==i.tag&&(A=i.tag),null!==A||i.any){if(o=this._peekTag(e,A,i.any),e.isError(o))return o}else{const A=e.save();try{null===i.choice?this._decodeGeneric(i.tag,e,t):this._decodeChoice(e,t),o=!0}catch(e){o=!1}e.restore(A)}}if(i.obj&&o&&(A=e.enterObject()),o){if(null!==i.explicit){const t=this._decodeTag(e,i.explicit);if(e.isError(t))return t;e=t}const A=e.offset;if(null===i.use&&null===i.choice){let t;i.any&&(t=e.save());const A=this._decodeTag(e,null!==i.implicit?i.implicit:i.tag,i.any);if(e.isError(A))return A;i.any?r=e.raw(t):e=A}if(t&&t.track&&null!==i.tag&&t.track(e.path(),A,e.length,"tagged"),t&&t.track&&null!==i.tag&&t.track(e.path(),e.offset,e.length,"content"),i.any||(r=null===i.choice?this._decodeGeneric(i.tag,e,t):this._decodeChoice(e,t)),e.isError(r))return r;if(i.any||null!==i.choice||null===i.children||i.children.forEach((function(i){i._decode(e,t)})),i.contains&&("octstr"===i.tag||"bitstr"===i.tag)){const A=new n(r);r=this._getUse(i.contains,e._reporterState.obj)._decode(A,t)}}return i.obj&&o&&(r=e.leaveObject(A)),null===i.key||null===r&&!0!==o?null!==a&&e.exitKey(a):e.leaveKey(a,i.key,r),r},c.prototype._decodeGeneric=function(e,t,i){const A=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,A.args[0],i):/str$/.test(e)?this._decodeStr(t,e,i):"objid"===e&&A.args?this._decodeObjid(t,A.args[0],A.args[1],i):"objid"===e?this._decodeObjid(t,null,null,i):"gentime"===e||"utctime"===e?this._decodeTime(t,e,i):"null_"===e?this._decodeNull(t,i):"bool"===e?this._decodeBool(t,i):"objDesc"===e?this._decodeStr(t,e,i):"int"===e||"enum"===e?this._decodeInt(t,A.args&&A.args[0],i):null!==A.use?this._getUse(A.use,t._reporterState.obj)._decode(t,i):t.error("unknown tag: "+e)},c.prototype._getUse=function(e,t){const i=this._baseState;return i.useDecoder=this._use(e,t),o(null===i.useDecoder._baseState.parent),i.useDecoder=i.useDecoder._baseState.children[0],i.implicit!==i.useDecoder._baseState.implicit&&(i.useDecoder=i.useDecoder.clone(),i.useDecoder._baseState.implicit=i.implicit),i.useDecoder},c.prototype._decodeChoice=function(e,t){const i=this._baseState;let A=null,r=!1;return Object.keys(i.choice).some((function(n){const o=e.save(),a=i.choice[n];try{const i=a._decode(e,t);if(e.isError(i))return!1;A={type:n,value:i},r=!0}catch(t){return e.restore(o),!1}return!0}),this),r?A:e.error("Choice not matched")},c.prototype._createEncoderBuffer=function(e){return new r(e,this.reporter)},c.prototype._encode=function(e,t,i){const A=this._baseState;if(null!==A.default&&A.default===e)return;const r=this._encodeValue(e,t,i);return void 0===r||this._skipDefault(r,t,i)?void 0:r},c.prototype._encodeValue=function(e,t,i){const r=this._baseState;if(null===r.parent)return r.children[0]._encode(e,t||new A);let n=null;if(this.reporter=t,r.optional&&void 0===e){if(null===r.default)return;e=r.default}let o=null,a=!1;if(r.any)n=this._createEncoderBuffer(e);else if(r.choice)n=this._encodeChoice(e,t);else if(r.contains)o=this._getUse(r.contains,i)._encode(e,t),a=!0;else if(r.children)o=r.children.map((function(i){if("null_"===i._baseState.tag)return i._encode(null,t,e);if(null===i._baseState.key)return t.error("Child should have a key");const A=t.enterKey(i._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");const r=i._encode(e[i._baseState.key],t,e);return t.leaveKey(A),r}),this).filter((function(e){return e})),o=this._createEncoderBuffer(o);else if("seqof"===r.tag||"setof"===r.tag){if(!r.args||1!==r.args.length)return t.error("Too many args for : "+r.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");const i=this.clone();i._baseState.implicit=null,o=this._createEncoderBuffer(e.map((function(i){const A=this._baseState;return this._getUse(A.args[0],e)._encode(i,t)}),i))}else null!==r.use?n=this._getUse(r.use,i)._encode(e,t):(o=this._encodePrimitive(r.tag,e),a=!0);if(!r.any&&null===r.choice){const e=null!==r.implicit?r.implicit:r.tag,i=null===r.implicit?"universal":"context";null===e?null===r.use&&t.error("Tag could be omitted only for .use()"):null===r.use&&(n=this._encodeComposite(e,a,i,o))}return null!==r.explicit&&(n=this._encodeComposite(r.explicit,!1,"context",n)),n},c.prototype._encodeChoice=function(e,t){const i=this._baseState,A=i.choice[e.type];return A||o(!1,e.type+" not found in "+JSON.stringify(Object.keys(i.choice))),A._encode(e.value,t)},c.prototype._encodePrimitive=function(e,t){const i=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&i.args)return this._encodeObjid(t,i.reverseArgs[0],i.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,i.args&&i.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)}},{"../base/buffer":5,"../base/reporter":8,"minimalistic-assert":174}],8:[function(e,t,i){"use strict";const A=e("inherits");function r(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function n(e,t){this.path=e,this.rethrow(t)}i.Reporter=r,r.prototype.isError=function(e){return e instanceof n},r.prototype.save=function(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},r.prototype.restore=function(e){const t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},r.prototype.enterKey=function(e){return this._reporterState.path.push(e)},r.prototype.exitKey=function(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)},r.prototype.leaveKey=function(e,t,i){const A=this._reporterState;this.exitKey(e),null!==A.obj&&(A.obj[t]=i)},r.prototype.path=function(){return this._reporterState.path.join("/")},r.prototype.enterObject=function(){const e=this._reporterState,t=e.obj;return e.obj={},t},r.prototype.leaveObject=function(e){const t=this._reporterState,i=t.obj;return t.obj=e,i},r.prototype.error=function(e){let t;const i=this._reporterState,A=e instanceof n;if(t=A?e:new n(i.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!i.options.partial)throw t;return A||i.errors.push(t),t},r.prototype.wrapResult=function(e){const t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},A(n,Error),n.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,n),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},{inherits:169}],9:[function(e,t,i){"use strict";function A(e){const t={};return Object.keys(e).forEach((function(i){(0|i)==i&&(i|=0);const A=e[i];t[A]=i})),t}i.tagClass={0:"universal",1:"application",2:"context",3:"private"},i.tagClassByName=A(i.tagClass),i.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"},i.tagByName=A(i.tag)},{}],10:[function(e,t,i){"use strict";const A=i;A._reverse=function(e){const t={};return Object.keys(e).forEach((function(i){(0|i)==i&&(i|=0);const A=e[i];t[A]=i})),t},A.der=e("./der")},{"./der":9}],11:[function(e,t,i){"use strict";const A=e("inherits"),r=e("bn.js"),n=e("../base/buffer").DecoderBuffer,o=e("../base/node"),a=e("../constants/der");function s(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){o.call(this,"der",e)}function I(e,t){let i=e.readUInt8(t);if(e.isError(i))return i;const A=a.tagClass[i>>6],r=0==(32&i);if(31==(31&i)){let A=i;for(i=0;128==(128&A);){if(A=e.readUInt8(t),e.isError(A))return A;i<<=7,i|=127&A}}else i&=31;return{cls:A,primitive:r,tag:i,tagStr:a.tag[i]}}function f(e,t,i){let A=e.readUInt8(i);if(e.isError(A))return A;if(!t&&128===A)return null;if(0==(128&A))return A;const r=127&A;if(r>4)return e.error("length octect is too long");A=0;for(let t=0;t=31)return A.error("Multi-octet tag encoding unsupported");t||(r|=32);return r|=o.tagClassByName[i||"universal"]<<6,r}(e,t,i,this.reporter);if(A.length<128){const e=r.alloc(2);return e[0]=n,e[1]=A.length,this._createEncoderBuffer([e,A])}let a=1;for(let e=A.length;e>=256;e>>=8)a++;const s=r.alloc(2+a);s[0]=n,s[1]=128|a;for(let e=1+a,t=A.length;t>0;e--,t>>=8)s[e]=255&t;return this._createEncoderBuffer([s,A])},s.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=r.alloc(2*e.length);for(let i=0;i=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;i>>=7)A++}const n=r.alloc(A);let o=n.length-1;for(let t=e.length-1;t>=0;t--){let i=e[t];for(n[o--]=127&i;(i>>=7)>0;)n[o--]=128|127&i}return this._createEncoderBuffer(n)},s.prototype._encodeTime=function(e,t){let i;const A=new Date(e);return"gentime"===t?i=[c(A.getUTCFullYear()),c(A.getUTCMonth()+1),c(A.getUTCDate()),c(A.getUTCHours()),c(A.getUTCMinutes()),c(A.getUTCSeconds()),"Z"].join(""):"utctime"===t?i=[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(i,"octstr")},s.prototype._encodeNull=function(){return this._createEncoderBuffer("")},s.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&&!r.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=r.from(t)}if(r.isBuffer(e)){let t=e.length;0===e.length&&t++;const i=r.alloc(t);return e.copy(i),0===e.length&&(i[0]=0),this._createEncoderBuffer(i)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let i=1;for(let t=e;t>=256;t>>=8)i++;const A=new Array(i);for(let t=A.length-1;t>=0;t--)A[t]=255&e,e>>=8;return 128&A[0]&&A.unshift(0),this._createEncoderBuffer(r.from(A))},s.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},s.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},s.prototype._skipDefault=function(e,t,i){const A=this._baseState;let r;if(null===A.default)return!1;const n=e.join();if(void 0===A.defaultBuffer&&(A.defaultBuffer=this._encodeValue(A.default,t,i).join()),n.length!==A.defaultBuffer.length)return!1;for(r=0;r=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};A.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),A.forEach(["post","put","patch"],(function(e){c.headers[e]=A.merge(o)})),t.exports=c}).call(this)}).call(this,e("_process"))},{"./adapters/http":18,"./adapters/xhr":18,"./core/enhanceError":28,"./helpers/normalizeHeaderName":41,"./utils":45,_process:187}],33:[function(e,t,i){t.exports={version:"0.25.0"}},{}],34:[function(e,t,i){"use strict";t.exports=function(e,t){return function(){for(var i=new Array(arguments.length),A=0;A=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([i]):o[t]?o[t]+", "+i:i}})),o):o}},{"./../utils":45}],43:[function(e,t,i){"use strict";t.exports=function(e){return function(t){return e.apply(null,t)}}},{}],44:[function(e,t,i){"use strict";var A=e("../env/data").version,r={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){r[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}}));var n={};r.transitional=function(e,t,i){function r(e,t){return"[Axios v"+A+"] Transitional option '"+e+"'"+t+(i?". "+i:"")}return function(i,A,o){if(!1===e)throw new Error(r(A," has been removed"+(t?" in "+t:"")));return t&&!n[A]&&(n[A]=!0,console.warn(r(A," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(i,A,o)}},t.exports={assertOptions:function(e,t,i){if("object"!=typeof e)throw new TypeError("options must be an object");for(var A=Object.keys(e),r=A.length;r-- >0;){var n=A[r],o=t[n];if(o){var a=e[n],s=void 0===a||o(a,n,e);if(!0!==s)throw new TypeError("option "+n+" must be "+s)}else if(!0!==i)throw Error("Unknown option "+n)}},validators:r}},{"../env/data":33}],45:[function(e,t,i){"use strict";var A=e("./helpers/bind"),r=Object.prototype.toString;function n(e){return Array.isArray(e)}function o(e){return void 0===e}function a(e){return"[object ArrayBuffer]"===r.call(e)}function s(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==r.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function I(e){return"[object Function]"===r.call(e)}function f(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),n(e))for(var i=0,A=e.length;i0?o-4:o;for(i=0;i>16&255,s[I++]=t>>8&255,s[I++]=255&t;2===a&&(t=r[e.charCodeAt(i)]<<2|r[e.charCodeAt(i+1)]>>4,s[I++]=255&t);1===a&&(t=r[e.charCodeAt(i)]<<10|r[e.charCodeAt(i+1)]<<4|r[e.charCodeAt(i+2)]>>2,s[I++]=t>>8&255,s[I++]=255&t);return s},i.fromByteArray=function(e){for(var t,i=e.length,r=i%3,n=[],o=16383,a=0,s=i-r;as?s:a+o));1===r?(t=e[i-1],n.push(A[t>>2]+A[t<<4&63]+"==")):2===r&&(t=(e[i-2]<<8)+e[i-1],n.push(A[t>>10]+A[t>>4&63]+A[t<<2&63]+"="));return n.join("")};for(var A=[],r=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var i=e.indexOf("=");return-1===i&&(i=t),[i,i===t?0:4-i%4]}function I(e,t,i){for(var r,n,o=[],a=t;a>18&63]+A[n>>12&63]+A[n>>6&63]+A[63&n]);return o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},{}],47:[function(e,t,i){!function(t,i){"use strict";function A(e,t){if(!e)throw new Error(t||"Assertion failed")}function r(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}function n(e,t,i){if(n.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(i=t,t=10),this._init(e||0,t||10,i||"be"))}var o;"object"==typeof t?t.exports=n:i.BN=n,n.BN=n,n.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:e("buffer").Buffer}catch(e){}function a(e,t){var i=e.charCodeAt(t);return i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:i-48&15}function s(e,t,i){var A=a(e,i);return i-1>=t&&(A|=a(e,i-1)<<4),A}function c(e,t,i,A){for(var r=0,n=Math.min(e.length,i),o=t;o=49?a-49+10:a>=17?a-17+10:a}return r}n.isBN=function(e){return e instanceof n||null!==e&&"object"==typeof e&&e.constructor.wordSize===n.wordSize&&Array.isArray(e.words)},n.max=function(e,t){return e.cmp(t)>0?e:t},n.min=function(e,t){return e.cmp(t)<0?e:t},n.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),A(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;r-=3)o=e[r]|e[r-1]<<8|e[r-2]<<16,this.words[n]|=o<>>26-a&67108863,(a+=24)>=26&&(a-=26,n++);else if("le"===i)for(r=0,n=0;r>>26-a&67108863,(a+=24)>=26&&(a-=26,n++);return this.strip()},n.prototype._parseHex=function(e,t,i){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var A=0;A=t;A-=2)r=s(e,t,A)<=18?(n-=18,o+=1,this.words[o]|=r>>>26):n+=8;else for(A=(e.length-t)%2==0?t+1:t;A=18?(n-=18,o+=1,this.words[o]|=r>>>26):n+=8;this.strip()},n.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var A=0,r=1;r<=67108863;r*=t)A++;A--,r=r/t|0;for(var n=e.length-i,o=n%A,a=Math.min(n,n-o)+i,s=0,I=i;I1&&0===this.words[this.length-1];)this.length--;return this._normSign()},n.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},n.prototype.inspect=function(){return(this.red?""};var I=["","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];function g(e,t,i){i.negative=t.negative^e.negative;var A=e.length+t.length|0;i.length=A,A=A-1|0;var r=0|e.words[0],n=0|t.words[0],o=r*n,a=67108863&o,s=o/67108864|0;i.words[0]=a;for(var c=1;c>>26,f=67108863&s,h=Math.min(c,t.length-1),g=Math.max(0,c-e.length+1);g<=h;g++){var u=c-g|0;I+=(o=(r=0|e.words[u])*(n=0|t.words[g])+f)/67108864|0,f=67108863&o}i.words[c]=0|f,s=0|I}return 0!==s?i.words[c]=0|s:i.length--,i.strip()}n.prototype.toString=function(e,t){var i;if(t=0|t||1,16===(e=e||10)||"hex"===e){i="";for(var r=0,n=0,o=0;o>>24-r&16777215)||o!==this.length-1?I[6-s.length]+s+i:s+i,(r+=2)>=26&&(r-=26,o--)}for(0!==n&&(i=n.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var c=f[e],g=h[e];i="";var u=this.clone();for(u.negative=0;!u.isZero();){var d=u.modn(g).toString(e);i=(u=u.idivn(g)).isZero()?d+i:I[c-d.length]+d+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}A(!1,"Base should be between 2 and 36")},n.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},n.prototype.toJSON=function(){return this.toString(16)},n.prototype.toBuffer=function(e,t){return A(void 0!==o),this.toArrayLike(o,e,t)},n.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},n.prototype.toArrayLike=function(e,t,i){var r=this.byteLength(),n=i||Math.max(1,r);A(r<=n,"byte array longer than desired length"),A(n>0,"Requested array length <= 0"),this.strip();var o,a,s="le"===t,c=new e(n),I=this.clone();if(s){for(a=0;!I.isZero();a++)o=I.andln(255),I.iushrn(8),c[a]=o;for(;a=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},n.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return 0==(8191&t)&&(i+=13,t>>>=13),0==(127&t)&&(i+=7,t>>>=7),0==(15&t)&&(i+=4,t>>>=4),0==(3&t)&&(i+=2,t>>>=2),0==(1&t)&&i++,i},n.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},n.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},n.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},n.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;ie.length?this.clone().iand(e):e.clone().iand(this)},n.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},n.prototype.iuxor=function(e){var t,i;this.length>e.length?(t=this,i=e):(t=e,i=this);for(var A=0;Ae.length?this.clone().ixor(e):e.clone().ixor(this)},n.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},n.prototype.inotn=function(e){A("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&67108863>>26-i),this.strip()},n.prototype.notn=function(e){return this.clone().inotn(e)},n.prototype.setn=function(e,t){A("number"==typeof e&&e>=0);var i=e/26|0,r=e%26;return this._expand(i+1),this.words[i]=t?this.words[i]|1<e.length?(i=this,A=e):(i=e,A=this);for(var r=0,n=0;n>>26;for(;0!==r&&n>>26;if(this.length=i.length,0!==r)this.words[this.length]=r,this.length++;else if(i!==this)for(;ne.length?this.clone().iadd(e):e.clone().iadd(this)},n.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 i,A,r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(i=this,A=e):(i=e,A=this);for(var n=0,o=0;o>26,this.words[o]=67108863&t;for(;0!==n&&o>26,this.words[o]=67108863&t;if(0===n&&o>>13,g=0|o[1],u=8191&g,d=g>>>13,l=0|o[2],B=8191&l,p=l>>>13,C=0|o[3],Q=8191&C,E=C>>>13,y=0|o[4],b=8191&y,m=y>>>13,w=0|o[5],v=8191&w,D=w>>>13,S=0|o[6],F=8191&S,k=S>>>13,M=0|o[7],N=8191&M,U=M>>>13,G=0|o[8],H=8191&G,_=G>>>13,R=0|o[9],K=8191&R,q=R>>>13,x=0|a[0],J=8191&x,Y=x>>>13,O=0|a[1],L=8191&O,P=O>>>13,z=0|a[2],Z=8191&z,T=z>>>13,X=0|a[3],V=8191&X,j=X>>>13,W=0|a[4],$=8191&W,ee=W>>>13,te=0|a[5],ie=8191&te,Ae=te>>>13,re=0|a[6],ne=8191&re,oe=re>>>13,ae=0|a[7],se=8191&ae,ce=ae>>>13,Ie=0|a[8],fe=8191&Ie,he=Ie>>>13,ge=0|a[9],ue=8191&ge,de=ge>>>13;i.negative=e.negative^t.negative,i.length=19;var le=(c+(A=Math.imul(f,J))|0)+((8191&(r=(r=Math.imul(f,Y))+Math.imul(h,J)|0))<<13)|0;c=((n=Math.imul(h,Y))+(r>>>13)|0)+(le>>>26)|0,le&=67108863,A=Math.imul(u,J),r=(r=Math.imul(u,Y))+Math.imul(d,J)|0,n=Math.imul(d,Y);var Be=(c+(A=A+Math.imul(f,L)|0)|0)+((8191&(r=(r=r+Math.imul(f,P)|0)+Math.imul(h,L)|0))<<13)|0;c=((n=n+Math.imul(h,P)|0)+(r>>>13)|0)+(Be>>>26)|0,Be&=67108863,A=Math.imul(B,J),r=(r=Math.imul(B,Y))+Math.imul(p,J)|0,n=Math.imul(p,Y),A=A+Math.imul(u,L)|0,r=(r=r+Math.imul(u,P)|0)+Math.imul(d,L)|0,n=n+Math.imul(d,P)|0;var pe=(c+(A=A+Math.imul(f,Z)|0)|0)+((8191&(r=(r=r+Math.imul(f,T)|0)+Math.imul(h,Z)|0))<<13)|0;c=((n=n+Math.imul(h,T)|0)+(r>>>13)|0)+(pe>>>26)|0,pe&=67108863,A=Math.imul(Q,J),r=(r=Math.imul(Q,Y))+Math.imul(E,J)|0,n=Math.imul(E,Y),A=A+Math.imul(B,L)|0,r=(r=r+Math.imul(B,P)|0)+Math.imul(p,L)|0,n=n+Math.imul(p,P)|0,A=A+Math.imul(u,Z)|0,r=(r=r+Math.imul(u,T)|0)+Math.imul(d,Z)|0,n=n+Math.imul(d,T)|0;var Ce=(c+(A=A+Math.imul(f,V)|0)|0)+((8191&(r=(r=r+Math.imul(f,j)|0)+Math.imul(h,V)|0))<<13)|0;c=((n=n+Math.imul(h,j)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,A=Math.imul(b,J),r=(r=Math.imul(b,Y))+Math.imul(m,J)|0,n=Math.imul(m,Y),A=A+Math.imul(Q,L)|0,r=(r=r+Math.imul(Q,P)|0)+Math.imul(E,L)|0,n=n+Math.imul(E,P)|0,A=A+Math.imul(B,Z)|0,r=(r=r+Math.imul(B,T)|0)+Math.imul(p,Z)|0,n=n+Math.imul(p,T)|0,A=A+Math.imul(u,V)|0,r=(r=r+Math.imul(u,j)|0)+Math.imul(d,V)|0,n=n+Math.imul(d,j)|0;var Qe=(c+(A=A+Math.imul(f,$)|0)|0)+((8191&(r=(r=r+Math.imul(f,ee)|0)+Math.imul(h,$)|0))<<13)|0;c=((n=n+Math.imul(h,ee)|0)+(r>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,A=Math.imul(v,J),r=(r=Math.imul(v,Y))+Math.imul(D,J)|0,n=Math.imul(D,Y),A=A+Math.imul(b,L)|0,r=(r=r+Math.imul(b,P)|0)+Math.imul(m,L)|0,n=n+Math.imul(m,P)|0,A=A+Math.imul(Q,Z)|0,r=(r=r+Math.imul(Q,T)|0)+Math.imul(E,Z)|0,n=n+Math.imul(E,T)|0,A=A+Math.imul(B,V)|0,r=(r=r+Math.imul(B,j)|0)+Math.imul(p,V)|0,n=n+Math.imul(p,j)|0,A=A+Math.imul(u,$)|0,r=(r=r+Math.imul(u,ee)|0)+Math.imul(d,$)|0,n=n+Math.imul(d,ee)|0;var Ee=(c+(A=A+Math.imul(f,ie)|0)|0)+((8191&(r=(r=r+Math.imul(f,Ae)|0)+Math.imul(h,ie)|0))<<13)|0;c=((n=n+Math.imul(h,Ae)|0)+(r>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,A=Math.imul(F,J),r=(r=Math.imul(F,Y))+Math.imul(k,J)|0,n=Math.imul(k,Y),A=A+Math.imul(v,L)|0,r=(r=r+Math.imul(v,P)|0)+Math.imul(D,L)|0,n=n+Math.imul(D,P)|0,A=A+Math.imul(b,Z)|0,r=(r=r+Math.imul(b,T)|0)+Math.imul(m,Z)|0,n=n+Math.imul(m,T)|0,A=A+Math.imul(Q,V)|0,r=(r=r+Math.imul(Q,j)|0)+Math.imul(E,V)|0,n=n+Math.imul(E,j)|0,A=A+Math.imul(B,$)|0,r=(r=r+Math.imul(B,ee)|0)+Math.imul(p,$)|0,n=n+Math.imul(p,ee)|0,A=A+Math.imul(u,ie)|0,r=(r=r+Math.imul(u,Ae)|0)+Math.imul(d,ie)|0,n=n+Math.imul(d,Ae)|0;var ye=(c+(A=A+Math.imul(f,ne)|0)|0)+((8191&(r=(r=r+Math.imul(f,oe)|0)+Math.imul(h,ne)|0))<<13)|0;c=((n=n+Math.imul(h,oe)|0)+(r>>>13)|0)+(ye>>>26)|0,ye&=67108863,A=Math.imul(N,J),r=(r=Math.imul(N,Y))+Math.imul(U,J)|0,n=Math.imul(U,Y),A=A+Math.imul(F,L)|0,r=(r=r+Math.imul(F,P)|0)+Math.imul(k,L)|0,n=n+Math.imul(k,P)|0,A=A+Math.imul(v,Z)|0,r=(r=r+Math.imul(v,T)|0)+Math.imul(D,Z)|0,n=n+Math.imul(D,T)|0,A=A+Math.imul(b,V)|0,r=(r=r+Math.imul(b,j)|0)+Math.imul(m,V)|0,n=n+Math.imul(m,j)|0,A=A+Math.imul(Q,$)|0,r=(r=r+Math.imul(Q,ee)|0)+Math.imul(E,$)|0,n=n+Math.imul(E,ee)|0,A=A+Math.imul(B,ie)|0,r=(r=r+Math.imul(B,Ae)|0)+Math.imul(p,ie)|0,n=n+Math.imul(p,Ae)|0,A=A+Math.imul(u,ne)|0,r=(r=r+Math.imul(u,oe)|0)+Math.imul(d,ne)|0,n=n+Math.imul(d,oe)|0;var be=(c+(A=A+Math.imul(f,se)|0)|0)+((8191&(r=(r=r+Math.imul(f,ce)|0)+Math.imul(h,se)|0))<<13)|0;c=((n=n+Math.imul(h,ce)|0)+(r>>>13)|0)+(be>>>26)|0,be&=67108863,A=Math.imul(H,J),r=(r=Math.imul(H,Y))+Math.imul(_,J)|0,n=Math.imul(_,Y),A=A+Math.imul(N,L)|0,r=(r=r+Math.imul(N,P)|0)+Math.imul(U,L)|0,n=n+Math.imul(U,P)|0,A=A+Math.imul(F,Z)|0,r=(r=r+Math.imul(F,T)|0)+Math.imul(k,Z)|0,n=n+Math.imul(k,T)|0,A=A+Math.imul(v,V)|0,r=(r=r+Math.imul(v,j)|0)+Math.imul(D,V)|0,n=n+Math.imul(D,j)|0,A=A+Math.imul(b,$)|0,r=(r=r+Math.imul(b,ee)|0)+Math.imul(m,$)|0,n=n+Math.imul(m,ee)|0,A=A+Math.imul(Q,ie)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(E,ie)|0,n=n+Math.imul(E,Ae)|0,A=A+Math.imul(B,ne)|0,r=(r=r+Math.imul(B,oe)|0)+Math.imul(p,ne)|0,n=n+Math.imul(p,oe)|0,A=A+Math.imul(u,se)|0,r=(r=r+Math.imul(u,ce)|0)+Math.imul(d,se)|0,n=n+Math.imul(d,ce)|0;var me=(c+(A=A+Math.imul(f,fe)|0)|0)+((8191&(r=(r=r+Math.imul(f,he)|0)+Math.imul(h,fe)|0))<<13)|0;c=((n=n+Math.imul(h,he)|0)+(r>>>13)|0)+(me>>>26)|0,me&=67108863,A=Math.imul(K,J),r=(r=Math.imul(K,Y))+Math.imul(q,J)|0,n=Math.imul(q,Y),A=A+Math.imul(H,L)|0,r=(r=r+Math.imul(H,P)|0)+Math.imul(_,L)|0,n=n+Math.imul(_,P)|0,A=A+Math.imul(N,Z)|0,r=(r=r+Math.imul(N,T)|0)+Math.imul(U,Z)|0,n=n+Math.imul(U,T)|0,A=A+Math.imul(F,V)|0,r=(r=r+Math.imul(F,j)|0)+Math.imul(k,V)|0,n=n+Math.imul(k,j)|0,A=A+Math.imul(v,$)|0,r=(r=r+Math.imul(v,ee)|0)+Math.imul(D,$)|0,n=n+Math.imul(D,ee)|0,A=A+Math.imul(b,ie)|0,r=(r=r+Math.imul(b,Ae)|0)+Math.imul(m,ie)|0,n=n+Math.imul(m,Ae)|0,A=A+Math.imul(Q,ne)|0,r=(r=r+Math.imul(Q,oe)|0)+Math.imul(E,ne)|0,n=n+Math.imul(E,oe)|0,A=A+Math.imul(B,se)|0,r=(r=r+Math.imul(B,ce)|0)+Math.imul(p,se)|0,n=n+Math.imul(p,ce)|0,A=A+Math.imul(u,fe)|0,r=(r=r+Math.imul(u,he)|0)+Math.imul(d,fe)|0,n=n+Math.imul(d,he)|0;var we=(c+(A=A+Math.imul(f,ue)|0)|0)+((8191&(r=(r=r+Math.imul(f,de)|0)+Math.imul(h,ue)|0))<<13)|0;c=((n=n+Math.imul(h,de)|0)+(r>>>13)|0)+(we>>>26)|0,we&=67108863,A=Math.imul(K,L),r=(r=Math.imul(K,P))+Math.imul(q,L)|0,n=Math.imul(q,P),A=A+Math.imul(H,Z)|0,r=(r=r+Math.imul(H,T)|0)+Math.imul(_,Z)|0,n=n+Math.imul(_,T)|0,A=A+Math.imul(N,V)|0,r=(r=r+Math.imul(N,j)|0)+Math.imul(U,V)|0,n=n+Math.imul(U,j)|0,A=A+Math.imul(F,$)|0,r=(r=r+Math.imul(F,ee)|0)+Math.imul(k,$)|0,n=n+Math.imul(k,ee)|0,A=A+Math.imul(v,ie)|0,r=(r=r+Math.imul(v,Ae)|0)+Math.imul(D,ie)|0,n=n+Math.imul(D,Ae)|0,A=A+Math.imul(b,ne)|0,r=(r=r+Math.imul(b,oe)|0)+Math.imul(m,ne)|0,n=n+Math.imul(m,oe)|0,A=A+Math.imul(Q,se)|0,r=(r=r+Math.imul(Q,ce)|0)+Math.imul(E,se)|0,n=n+Math.imul(E,ce)|0,A=A+Math.imul(B,fe)|0,r=(r=r+Math.imul(B,he)|0)+Math.imul(p,fe)|0,n=n+Math.imul(p,he)|0;var ve=(c+(A=A+Math.imul(u,ue)|0)|0)+((8191&(r=(r=r+Math.imul(u,de)|0)+Math.imul(d,ue)|0))<<13)|0;c=((n=n+Math.imul(d,de)|0)+(r>>>13)|0)+(ve>>>26)|0,ve&=67108863,A=Math.imul(K,Z),r=(r=Math.imul(K,T))+Math.imul(q,Z)|0,n=Math.imul(q,T),A=A+Math.imul(H,V)|0,r=(r=r+Math.imul(H,j)|0)+Math.imul(_,V)|0,n=n+Math.imul(_,j)|0,A=A+Math.imul(N,$)|0,r=(r=r+Math.imul(N,ee)|0)+Math.imul(U,$)|0,n=n+Math.imul(U,ee)|0,A=A+Math.imul(F,ie)|0,r=(r=r+Math.imul(F,Ae)|0)+Math.imul(k,ie)|0,n=n+Math.imul(k,Ae)|0,A=A+Math.imul(v,ne)|0,r=(r=r+Math.imul(v,oe)|0)+Math.imul(D,ne)|0,n=n+Math.imul(D,oe)|0,A=A+Math.imul(b,se)|0,r=(r=r+Math.imul(b,ce)|0)+Math.imul(m,se)|0,n=n+Math.imul(m,ce)|0,A=A+Math.imul(Q,fe)|0,r=(r=r+Math.imul(Q,he)|0)+Math.imul(E,fe)|0,n=n+Math.imul(E,he)|0;var De=(c+(A=A+Math.imul(B,ue)|0)|0)+((8191&(r=(r=r+Math.imul(B,de)|0)+Math.imul(p,ue)|0))<<13)|0;c=((n=n+Math.imul(p,de)|0)+(r>>>13)|0)+(De>>>26)|0,De&=67108863,A=Math.imul(K,V),r=(r=Math.imul(K,j))+Math.imul(q,V)|0,n=Math.imul(q,j),A=A+Math.imul(H,$)|0,r=(r=r+Math.imul(H,ee)|0)+Math.imul(_,$)|0,n=n+Math.imul(_,ee)|0,A=A+Math.imul(N,ie)|0,r=(r=r+Math.imul(N,Ae)|0)+Math.imul(U,ie)|0,n=n+Math.imul(U,Ae)|0,A=A+Math.imul(F,ne)|0,r=(r=r+Math.imul(F,oe)|0)+Math.imul(k,ne)|0,n=n+Math.imul(k,oe)|0,A=A+Math.imul(v,se)|0,r=(r=r+Math.imul(v,ce)|0)+Math.imul(D,se)|0,n=n+Math.imul(D,ce)|0,A=A+Math.imul(b,fe)|0,r=(r=r+Math.imul(b,he)|0)+Math.imul(m,fe)|0,n=n+Math.imul(m,he)|0;var Se=(c+(A=A+Math.imul(Q,ue)|0)|0)+((8191&(r=(r=r+Math.imul(Q,de)|0)+Math.imul(E,ue)|0))<<13)|0;c=((n=n+Math.imul(E,de)|0)+(r>>>13)|0)+(Se>>>26)|0,Se&=67108863,A=Math.imul(K,$),r=(r=Math.imul(K,ee))+Math.imul(q,$)|0,n=Math.imul(q,ee),A=A+Math.imul(H,ie)|0,r=(r=r+Math.imul(H,Ae)|0)+Math.imul(_,ie)|0,n=n+Math.imul(_,Ae)|0,A=A+Math.imul(N,ne)|0,r=(r=r+Math.imul(N,oe)|0)+Math.imul(U,ne)|0,n=n+Math.imul(U,oe)|0,A=A+Math.imul(F,se)|0,r=(r=r+Math.imul(F,ce)|0)+Math.imul(k,se)|0,n=n+Math.imul(k,ce)|0,A=A+Math.imul(v,fe)|0,r=(r=r+Math.imul(v,he)|0)+Math.imul(D,fe)|0,n=n+Math.imul(D,he)|0;var Fe=(c+(A=A+Math.imul(b,ue)|0)|0)+((8191&(r=(r=r+Math.imul(b,de)|0)+Math.imul(m,ue)|0))<<13)|0;c=((n=n+Math.imul(m,de)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,A=Math.imul(K,ie),r=(r=Math.imul(K,Ae))+Math.imul(q,ie)|0,n=Math.imul(q,Ae),A=A+Math.imul(H,ne)|0,r=(r=r+Math.imul(H,oe)|0)+Math.imul(_,ne)|0,n=n+Math.imul(_,oe)|0,A=A+Math.imul(N,se)|0,r=(r=r+Math.imul(N,ce)|0)+Math.imul(U,se)|0,n=n+Math.imul(U,ce)|0,A=A+Math.imul(F,fe)|0,r=(r=r+Math.imul(F,he)|0)+Math.imul(k,fe)|0,n=n+Math.imul(k,he)|0;var ke=(c+(A=A+Math.imul(v,ue)|0)|0)+((8191&(r=(r=r+Math.imul(v,de)|0)+Math.imul(D,ue)|0))<<13)|0;c=((n=n+Math.imul(D,de)|0)+(r>>>13)|0)+(ke>>>26)|0,ke&=67108863,A=Math.imul(K,ne),r=(r=Math.imul(K,oe))+Math.imul(q,ne)|0,n=Math.imul(q,oe),A=A+Math.imul(H,se)|0,r=(r=r+Math.imul(H,ce)|0)+Math.imul(_,se)|0,n=n+Math.imul(_,ce)|0,A=A+Math.imul(N,fe)|0,r=(r=r+Math.imul(N,he)|0)+Math.imul(U,fe)|0,n=n+Math.imul(U,he)|0;var Me=(c+(A=A+Math.imul(F,ue)|0)|0)+((8191&(r=(r=r+Math.imul(F,de)|0)+Math.imul(k,ue)|0))<<13)|0;c=((n=n+Math.imul(k,de)|0)+(r>>>13)|0)+(Me>>>26)|0,Me&=67108863,A=Math.imul(K,se),r=(r=Math.imul(K,ce))+Math.imul(q,se)|0,n=Math.imul(q,ce),A=A+Math.imul(H,fe)|0,r=(r=r+Math.imul(H,he)|0)+Math.imul(_,fe)|0,n=n+Math.imul(_,he)|0;var Ne=(c+(A=A+Math.imul(N,ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,de)|0)+Math.imul(U,ue)|0))<<13)|0;c=((n=n+Math.imul(U,de)|0)+(r>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,A=Math.imul(K,fe),r=(r=Math.imul(K,he))+Math.imul(q,fe)|0,n=Math.imul(q,he);var Ue=(c+(A=A+Math.imul(H,ue)|0)|0)+((8191&(r=(r=r+Math.imul(H,de)|0)+Math.imul(_,ue)|0))<<13)|0;c=((n=n+Math.imul(_,de)|0)+(r>>>13)|0)+(Ue>>>26)|0,Ue&=67108863;var Ge=(c+(A=Math.imul(K,ue))|0)+((8191&(r=(r=Math.imul(K,de))+Math.imul(q,ue)|0))<<13)|0;return c=((n=Math.imul(q,de))+(r>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,s[0]=le,s[1]=Be,s[2]=pe,s[3]=Ce,s[4]=Qe,s[5]=Ee,s[6]=ye,s[7]=be,s[8]=me,s[9]=we,s[10]=ve,s[11]=De,s[12]=Se,s[13]=Fe,s[14]=ke,s[15]=Me,s[16]=Ne,s[17]=Ue,s[18]=Ge,0!==c&&(s[19]=c,i.length++),i};function d(e,t,i){return(new l).mulp(e,t,i)}function l(e,t){this.x=e,this.y=t}Math.imul||(u=g),n.prototype.mulTo=function(e,t){var i,A=this.length+e.length;return i=10===this.length&&10===e.length?u(this,e,t):A<63?g(this,e,t):A<1024?function(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var A=0,r=0,n=0;n>>26)|0)>>>26,o&=67108863}i.words[n]=a,A=o,o=r}return 0!==A?i.words[n]=A:i.length--,i.strip()}(this,e,t):d(this,e,t),i},l.prototype.makeRBT=function(e){for(var t=new Array(e),i=n.prototype._countBits(e)-1,A=0;A>=1;return A},l.prototype.permute=function(e,t,i,A,r,n){for(var o=0;o>>=1)r++;return 1<>>=13,i[2*o+1]=8191&n,n>>>=13;for(o=2*t;o>=26,t+=r/67108864|0,t+=n>>>26,this.words[i]=67108863&n}return 0!==t&&(this.words[i]=t,this.length++),this},n.prototype.muln=function(e){return this.clone().imuln(e)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),i=0;i>>r}return t}(e);if(0===t.length)return new n(1);for(var i=this,A=0;A=0);var t,i=e%26,r=(e-i)/26,n=67108863>>>26-i<<26-i;if(0!==i){var o=0;for(t=0;t>>26-i}o&&(this.words[t]=o,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0),r=t?(t-t%26)/26:0;var n=e%26,o=Math.min((e-n)/26,this.length),a=67108863^67108863>>>n<o)for(this.length-=o,c=0;c=0&&(0!==I||c>=r);c--){var f=0|this.words[c];this.words[c]=I<<26-n|f>>>n,I=f&a}return s&&0!==I&&(s.words[s.length++]=I),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},n.prototype.ishrn=function(e,t,i){return A(0===this.negative),this.iushrn(e,t,i)},n.prototype.shln=function(e){return this.clone().ishln(e)},n.prototype.ushln=function(e){return this.clone().iushln(e)},n.prototype.shrn=function(e){return this.clone().ishrn(e)},n.prototype.ushrn=function(e){return this.clone().iushrn(e)},n.prototype.testn=function(e){A("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26,r=1<=0);var t=e%26,i=(e-t)/26;if(A(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==t&&i++,this.length=Math.min(i,this.length),0!==t){var r=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},n.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)-(s/67108864|0),this.words[r+i]=67108863&n}for(;r>26,this.words[r+i]=67108863&n;if(0===a)return this.strip();for(A(-1===a),a=0,r=0;r>26,this.words[r]=67108863&n;return this.negative=1,this.strip()},n.prototype._wordDiv=function(e,t){var i=(this.length,e.length),A=this.clone(),r=e,o=0|r.words[r.length-1];0!==(i=26-this._countBits(o))&&(r=r.ushln(i),A.iushln(i),o=0|r.words[r.length-1]);var a,s=A.length-r.length;if("mod"!==t){(a=new n(null)).length=s+1,a.words=new Array(a.length);for(var c=0;c=0;f--){var h=67108864*(0|A.words[r.length+f])+(0|A.words[r.length+f-1]);for(h=Math.min(h/o|0,67108863),A._ishlnsubmul(r,h,f);0!==A.negative;)h--,A.negative=0,A._ishlnsubmul(r,1,f),A.isZero()||(A.negative^=1);a&&(a.words[f]=h)}return a&&a.strip(),A.strip(),"div"!==t&&0!==i&&A.iushrn(i),{div:a||null,mod:A}},n.prototype.divmod=function(e,t,i){return A(!e.isZero()),this.isZero()?{div:new n(0),mod:new n(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(r=a.div.neg()),"div"!==t&&(o=a.mod.neg(),i&&0!==o.negative&&o.iadd(e)),{div:r,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(r=a.div.neg()),{div:r,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),i&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new n(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new n(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new n(this.modn(e.words[0]))}:this._wordDiv(e,t);var r,o,a},n.prototype.div=function(e){return this.divmod(e,"div",!1).div},n.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},n.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},n.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,A=e.ushrn(1),r=e.andln(1),n=i.cmp(A);return n<0||1===r&&0===n?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},n.prototype.modn=function(e){A(e<=67108863);for(var t=(1<<26)%e,i=0,r=this.length-1;r>=0;r--)i=(t*i+(0|this.words[r]))%e;return i},n.prototype.idivn=function(e){A(e<=67108863);for(var t=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*t;this.words[i]=r/e|0,t=r%e}return this.strip()},n.prototype.divn=function(e){return this.clone().idivn(e)},n.prototype.egcd=function(e){A(0===e.negative),A(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new n(1),o=new n(0),a=new n(0),s=new n(1),c=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++c;for(var I=i.clone(),f=t.clone();!t.isZero();){for(var h=0,g=1;0==(t.words[0]&g)&&h<26;++h,g<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(I),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var u=0,d=1;0==(i.words[0]&d)&&u<26;++u,d<<=1);if(u>0)for(i.iushrn(u);u-- >0;)(a.isOdd()||s.isOdd())&&(a.iadd(I),s.isub(f)),a.iushrn(1),s.iushrn(1);t.cmp(i)>=0?(t.isub(i),r.isub(a),o.isub(s)):(i.isub(t),a.isub(r),s.isub(o))}return{a:a,b:s,gcd:i.iushln(c)}},n.prototype._invmp=function(e){A(0===e.negative),A(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r,o=new n(1),a=new n(0),s=i.clone();t.cmpn(1)>0&&i.cmpn(1)>0;){for(var c=0,I=1;0==(t.words[0]&I)&&c<26;++c,I<<=1);if(c>0)for(t.iushrn(c);c-- >0;)o.isOdd()&&o.iadd(s),o.iushrn(1);for(var f=0,h=1;0==(i.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(i.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);t.cmp(i)>=0?(t.isub(i),o.isub(a)):(i.isub(t),a.isub(o))}return(r=0===t.cmpn(1)?o:a).cmpn(0)<0&&r.iadd(e),r},n.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var A=0;t.isEven()&&i.isEven();A++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var r=t.cmp(i);if(r<0){var n=t;t=i,i=n}else if(0===r||0===i.cmpn(1))break;t.isub(i)}return i.iushln(A)},n.prototype.invm=function(e){return this.egcd(e).a.umod(e)},n.prototype.isEven=function(){return 0==(1&this.words[0])},n.prototype.isOdd=function(){return 1==(1&this.words[0])},n.prototype.andln=function(e){return this.words[0]&e},n.prototype.bincn=function(e){A("number"==typeof e);var t=e%26,i=(e-t)/26,r=1<>>26,a&=67108863,this.words[o]=a}return 0!==n&&(this.words[o]=n,this.length++),this},n.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},n.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return-1;if(0===this.negative&&i)return 1;if(this.strip(),this.length>1)t=1;else{i&&(e=-e),A(e<=67108863,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;i--){var A=0|this.words[i],r=0|e.words[i];if(A!==r){Ar&&(t=1);break}}return t},n.prototype.gtn=function(e){return 1===this.cmpn(e)},n.prototype.gt=function(e){return 1===this.cmp(e)},n.prototype.gten=function(e){return this.cmpn(e)>=0},n.prototype.gte=function(e){return this.cmp(e)>=0},n.prototype.ltn=function(e){return-1===this.cmpn(e)},n.prototype.lt=function(e){return-1===this.cmp(e)},n.prototype.lten=function(e){return this.cmpn(e)<=0},n.prototype.lte=function(e){return this.cmp(e)<=0},n.prototype.eqn=function(e){return 0===this.cmpn(e)},n.prototype.eq=function(e){return 0===this.cmp(e)},n.red=function(e){return new b(e)},n.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)},n.prototype.fromRed=function(){return A(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(e){return this.red=e,this},n.prototype.forceRed=function(e){return A(!this.red,"Already a number in reduction context"),this._forceRed(e)},n.prototype.redAdd=function(e){return A(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},n.prototype.redIAdd=function(e){return A(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},n.prototype.redSub=function(e){return A(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},n.prototype.redISub=function(e){return A(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},n.prototype.redShl=function(e){return A(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},n.prototype.redMul=function(e){return A(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},n.prototype.redIMul=function(e){return A(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},n.prototype.redSqr=function(){return A(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return A(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return A(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return A(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return A(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(e){return A(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var B={k256:null,p224:null,p192:null,p25519:null};function p(e,t){this.name=e,this.p=new n(t,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function C(){p.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Q(){p.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){p.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function y(){p.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function b(e){if("string"==typeof e){var t=n._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 m(e){b.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new n(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)}p.prototype._tmp=function(){var e=new n(null);return e.words=new Array(Math.ceil(this.n/13)),e},p.prototype.ireduce=function(e){var t,i=e;do{this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength()}while(t>this.n);var A=t0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},p.prototype.split=function(e,t){e.iushrn(this.n,0,t)},p.prototype.imulK=function(e){return e.imul(this.k)},r(C,p),C.prototype.split=function(e,t){for(var i=4194303,A=Math.min(e.length,9),r=0;r>>22,n=o}n>>>=22,e.words[r-10]=n,0===n&&e.length>10?e.length-=10:e.length-=9},C.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i>>=26,e.words[i]=r,t=A}return 0!==t&&(e.words[e.length++]=t),e},n._prime=function(e){if(B[e])return B[e];var t;if("k256"===e)t=new C;else if("p224"===e)t=new Q;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new y}return B[e]=t,t},b.prototype._verify1=function(e){A(0===e.negative,"red works only with positives"),A(e.red,"red works only with red numbers")},b.prototype._verify2=function(e,t){A(0==(e.negative|t.negative),"red works only with positives"),A(e.red&&e.red===t.red,"red works only with red numbers")},b.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},b.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},b.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},b.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},b.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},b.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return i.cmpn(0)<0&&i.iadd(this.m),i},b.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},b.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},b.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},b.prototype.isqr=function(e){return this.imul(e,e.clone())},b.prototype.sqr=function(e){return this.mul(e,e)},b.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(A(t%2==1),3===t){var i=this.m.add(new n(1)).iushrn(2);return this.pow(e,i)}for(var r=this.m.subn(1),o=0;!r.isZero()&&0===r.andln(1);)o++,r.iushrn(1);A(!r.isZero());var a=new n(1).toRed(this),s=a.redNeg(),c=this.m.subn(1).iushrn(1),I=this.m.bitLength();for(I=new n(2*I*I).toRed(this);0!==this.pow(I,c).cmp(s);)I.redIAdd(s);for(var f=this.pow(I,r),h=this.pow(e,r.addn(1).iushrn(1)),g=this.pow(e,r),u=o;0!==g.cmp(a);){for(var d=g,l=0;0!==d.cmp(a);l++)d=d.redSqr();A(l=0;A--){for(var c=t.words[A],I=s-1;I>=0;I--){var f=c>>I&1;r!==i[0]&&(r=this.sqr(r)),0!==f||0!==o?(o<<=1,o|=f,(4===++a||0===A&&0===I)&&(r=this.mul(r,i[o]),a=0,o=0)):a=0}s=26}return r},b.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},b.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},n.mont=function(e){return new m(e)},r(m,b),m.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},m.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},m.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),A=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(A).iushrn(this.shift),n=r;return r.cmp(this.m)>=0?n=r.isub(this.m):r.cmpn(0)<0&&(n=r.iadd(this.m)),n._forceRed(this)},m.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new n(0)._forceRed(this);var i=e.mul(t),A=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(A).iushrn(this.shift),o=r;return r.cmp(this.m)>=0?o=r.isub(this.m):r.cmpn(0)<0&&(o=r.iadd(this.m)),o._forceRed(this)},m.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t,this)},{buffer:50}],48:[function(e,t,i){var A;function r(e){this.rand=e}if(t.exports=function(e){return A||(A=new r(null)),A.generate(e)},t.exports.Rand=r,r.prototype.generate=function(e){return this._rand(e)},r.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),i=0;i>>24]^I[u>>>16&255]^f[d>>>8&255]^h[255&l]^t[B++],o=c[u>>>24]^I[d>>>16&255]^f[l>>>8&255]^h[255&g]^t[B++],a=c[d>>>24]^I[l>>>16&255]^f[g>>>8&255]^h[255&u]^t[B++],s=c[l>>>24]^I[g>>>16&255]^f[u>>>8&255]^h[255&d]^t[B++],g=n,u=o,d=a,l=s;return n=(A[g>>>24]<<24|A[u>>>16&255]<<16|A[d>>>8&255]<<8|A[255&l])^t[B++],o=(A[u>>>24]<<24|A[d>>>16&255]<<16|A[l>>>8&255]<<8|A[255&g])^t[B++],a=(A[d>>>24]<<24|A[l>>>16&255]<<16|A[g>>>8&255]<<8|A[255&u])^t[B++],s=(A[l>>>24]<<24|A[g>>>16&255]<<16|A[u>>>8&255]<<8|A[255&d])^t[B++],[n>>>=0,o>>>=0,a>>>=0,s>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],s=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var i=[],A=[],r=[[],[],[],[]],n=[[],[],[],[]],o=0,a=0,s=0;s<256;++s){var c=a^a<<1^a<<2^a<<3^a<<4;c=c>>>8^255&c^99,i[o]=c,A[c]=o;var I=e[o],f=e[I],h=e[f],g=257*e[c]^16843008*c;r[0][o]=g<<24|g>>>8,r[1][o]=g<<16|g>>>16,r[2][o]=g<<8|g>>>24,r[3][o]=g,g=16843009*h^65537*f^257*I^16843008*o,n[0][c]=g<<24|g>>>8,n[1][c]=g<<16|g>>>16,n[2][c]=g<<8|g>>>24,n[3][c]=g,0===o?o=a=1:(o=I^e[e[e[h^I]]],a^=e[e[a]])}return{SBOX:i,INV_SBOX:A,SUB_MIX:r,INV_SUB_MIX:n}}();function c(e){this._key=r(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,i=t+6,A=4*(i+1),r=[],n=0;n>>24,o=s.SBOX[o>>>24]<<24|s.SBOX[o>>>16&255]<<16|s.SBOX[o>>>8&255]<<8|s.SBOX[255&o],o^=a[n/t|0]<<24):t>6&&n%t==4&&(o=s.SBOX[o>>>24]<<24|s.SBOX[o>>>16&255]<<16|s.SBOX[o>>>8&255]<<8|s.SBOX[255&o]),r[n]=r[n-t]^o}for(var c=[],I=0;I>>24]]^s.INV_SUB_MIX[1][s.SBOX[h>>>16&255]]^s.INV_SUB_MIX[2][s.SBOX[h>>>8&255]]^s.INV_SUB_MIX[3][s.SBOX[255&h]]}this._nRounds=i,this._keySchedule=r,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(e){return o(e=r(e),this._keySchedule,s.SUB_MIX,s.SBOX,this._nRounds)},c.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),i=A.allocUnsafe(16);return i.writeUInt32BE(t[0],0),i.writeUInt32BE(t[1],4),i.writeUInt32BE(t[2],8),i.writeUInt32BE(t[3],12),i},c.prototype.decryptBlock=function(e){var t=(e=r(e))[1];e[1]=e[3],e[3]=t;var i=o(e,this._invKeySchedule,s.INV_SUB_MIX,s.INV_SBOX,this._nRounds),n=A.allocUnsafe(16);return n.writeUInt32BE(i[0],0),n.writeUInt32BE(i[3],4),n.writeUInt32BE(i[2],8),n.writeUInt32BE(i[1],12),n},c.prototype.scrub=function(){n(this._keySchedule),n(this._invKeySchedule),n(this._key)},t.exports.AES=c},{"safe-buffer":198}],52:[function(e,t,i){var A=e("./aes"),r=e("safe-buffer").Buffer,n=e("cipher-base"),o=e("inherits"),a=e("./ghash"),s=e("buffer-xor"),c=e("./incr32");function I(e,t,i,o){n.call(this);var s=r.alloc(4,0);this._cipher=new A.AES(t);var I=this._cipher.encryptBlock(s);this._ghash=new a(I),i=function(e,t,i){if(12===t.length)return e._finID=r.concat([t,r.from([0,0,0,1])]),r.concat([t,r.from([0,0,0,2])]);var A=new a(i),n=t.length,o=n%16;A.update(t),o&&(o=16-o,A.update(r.alloc(o,0))),A.update(r.alloc(8,0));var s=8*n,I=r.alloc(8);I.writeUIntBE(s,0,8),A.update(I),e._finID=A.state;var f=r.from(e._finID);return c(f),f}(this,i,I),this._prev=r.from(i),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=o,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}o(I,n),I.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=r.alloc(t,0),this._ghash.update(t))}this._called=!0;var i=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(i),this._len+=e.length,i},I.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=s(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var i=0;e.length!==t.length&&i++;for(var A=Math.min(e.length,t.length),r=0;r16)throw new Error("unable to decrypt data");var i=-1;for(;++i16)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},f.prototype.flush=function(){if(this.cache.length)return this.cache},i.createDecipher=function(e,t){var i=n[e.toLowerCase()];if(!i)throw new TypeError("invalid suite type");var A=c(t,!1,i.key,i.iv);return h(e,A.key,A.iv)},i.createDecipheriv=h},{"./aes":51,"./authCipher":52,"./modes":64,"./streamCipher":67,"cipher-base":100,evp_bytestokey:135,inherits:169,"safe-buffer":198}],55:[function(e,t,i){var A=e("./modes"),r=e("./authCipher"),n=e("safe-buffer").Buffer,o=e("./streamCipher"),a=e("cipher-base"),s=e("./aes"),c=e("evp_bytestokey");function I(e,t,i){a.call(this),this._cache=new h,this._cipher=new s.AES(t),this._prev=n.from(i),this._mode=e,this._autopadding=!0}e("inherits")(I,a),I.prototype._update=function(e){var t,i;this._cache.add(e);for(var A=[];t=this._cache.get();)i=this._mode.encrypt(this,t),A.push(i);return n.concat(A)};var f=n.alloc(16,16);function h(){this.cache=n.allocUnsafe(0)}function g(e,t,i){var a=A[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=n.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof i&&(i=n.from(i)),"GCM"!==a.mode&&i.length!==a.iv)throw new TypeError("invalid iv length "+i.length);return"stream"===a.type?new o(a.module,t,i):"auth"===a.type?new r(a.module,t,i):new I(a.module,t,i)}I.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(f))throw this._cipher.scrub(),new Error("data not multiple of block length")},I.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},h.prototype.add=function(e){this.cache=n.concat([this.cache,e])},h.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},h.prototype.flush=function(){for(var e=16-this.cache.length,t=n.allocUnsafe(e),i=-1;++i>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function o(e){this.h=e,this.state=A.alloc(16,0),this.cache=A.allocUnsafe(0)}o.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,i&&(A[0]=A[0]^225<<24)}this.state=n(r)},o.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)},o.prototype.final=function(e,t){return this.cache.length&&this.ghash(A.concat([this.cache,r],16)),this.ghash(n([0,e,0,t])),this.state},t.exports=o},{"safe-buffer":198}],57:[function(e,t,i){t.exports=function(e){for(var t,i=e.length;i--;){if(255!==(t=e.readUInt8(i))){t++,e.writeUInt8(t,i);break}e.writeUInt8(0,i)}}},{}],58:[function(e,t,i){var A=e("buffer-xor");i.encrypt=function(e,t){var i=A(t,e._prev);return e._prev=e._cipher.encryptBlock(i),e._prev},i.decrypt=function(e,t){var i=e._prev;e._prev=t;var r=e._cipher.decryptBlock(t);return A(r,i)}},{"buffer-xor":98}],59:[function(e,t,i){var A=e("safe-buffer").Buffer,r=e("buffer-xor");function n(e,t,i){var n=t.length,o=r(t,e._cache);return e._cache=e._cache.slice(n),e._prev=A.concat([e._prev,i?t:o]),o}i.encrypt=function(e,t,i){for(var r,o=A.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=A.allocUnsafe(0)),!(e._cache.length<=t.length)){o=A.concat([o,n(e,t,i)]);break}r=e._cache.length,o=A.concat([o,n(e,t.slice(0,r),i)]),t=t.slice(r)}return o}},{"buffer-xor":98,"safe-buffer":198}],60:[function(e,t,i){var A=e("safe-buffer").Buffer;function r(e,t,i){for(var A,r,o=-1,a=0;++o<8;)A=t&1<<7-o?128:0,a+=(128&(r=e._cipher.encryptBlock(e._prev)[0]^A))>>o%8,e._prev=n(e._prev,i?A:r);return a}function n(e,t){var i=e.length,r=-1,n=A.allocUnsafe(e.length);for(e=A.concat([e,A.from([t])]);++r>7;return n}i.encrypt=function(e,t,i){for(var n=t.length,o=A.allocUnsafe(n),a=-1;++a=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function o(e,t){var r=function(e){var t=n(e);return{blinder:t.toRed(A.mont(e.modulus)).redPow(new A(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),o=t.modulus.byteLength(),a=new A(e).mul(r.blinder).umod(t.modulus),s=a.toRed(A.mont(t.prime1)),c=a.toRed(A.mont(t.prime2)),I=t.coefficient,f=t.prime1,h=t.prime2,g=s.redPow(t.exponent1).fromRed(),u=c.redPow(t.exponent2).fromRed(),d=g.isub(u).imul(I).umod(f).imul(h);return u.iadd(d).imul(r.unblinder).umod(t.modulus).toArrayLike(i,"be",o)}o.getr=n,t.exports=o}).call(this)}).call(this,e("buffer").Buffer)},{"bn.js":72,buffer:99,randombytes:195}],72:[function(e,t,i){!function(t,i){"use strict";function A(e,t){if(!e)throw new Error(t||"Assertion failed")}function r(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}function n(e,t,i){if(n.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(i=t,t=10),this._init(e||0,t||10,i||"be"))}var o;"object"==typeof t?t.exports=n:i.BN=n,n.BN=n,n.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:e("buffer").Buffer}catch(e){}function a(e,t){var i=e.charCodeAt(t);return i>=48&&i<=57?i-48:i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:void A(!1,"Invalid character in "+e)}function s(e,t,i){var A=a(e,i);return i-1>=t&&(A|=a(e,i-1)<<4),A}function c(e,t,i,r){for(var n=0,o=0,a=Math.min(e.length,i),s=t;s=49?c-49+10:c>=17?c-17+10:c,A(c>=0&&o0?e:t},n.min=function(e,t){return e.cmp(t)<0?e:t},n.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),A(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;r-=3)o=e[r]|e[r-1]<<8|e[r-2]<<16,this.words[n]|=o<>>26-a&67108863,(a+=24)>=26&&(a-=26,n++);else if("le"===i)for(r=0,n=0;r>>26-a&67108863,(a+=24)>=26&&(a-=26,n++);return this._strip()},n.prototype._parseHex=function(e,t,i){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var A=0;A=t;A-=2)r=s(e,t,A)<=18?(n-=18,o+=1,this.words[o]|=r>>>26):n+=8;else for(A=(e.length-t)%2==0?t+1:t;A=18?(n-=18,o+=1,this.words[o]|=r>>>26):n+=8;this._strip()},n.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var A=0,r=1;r<=67108863;r*=t)A++;A--,r=r/t|0;for(var n=e.length-i,o=n%A,a=Math.min(n,n-o)+i,s=0,I=i;I1&&0===this.words[this.length-1];)this.length--;return this._normSign()},n.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{n.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(e){n.prototype.inspect=f}else n.prototype.inspect=f;function f(){return(this.red?""}var h=["","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"],g=[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],u=[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];n.prototype.toString=function(e,t){var i;if(t=0|t||1,16===(e=e||10)||"hex"===e){i="";for(var r=0,n=0,o=0;o>>24-r&16777215,(r+=2)>=26&&(r-=26,o--),i=0!==n||o!==this.length-1?h[6-s.length]+s+i:s+i}for(0!==n&&(i=n.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var c=g[e],I=u[e];i="";var f=this.clone();for(f.negative=0;!f.isZero();){var d=f.modrn(I).toString(e);i=(f=f.idivn(I)).isZero()?d+i:h[c-d.length]+d+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}A(!1,"Base should be between 2 and 36")},n.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},n.prototype.toJSON=function(){return this.toString(16,2)},o&&(n.prototype.toBuffer=function(e,t){return this.toArrayLike(o,e,t)}),n.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function d(e,t,i){i.negative=t.negative^e.negative;var A=e.length+t.length|0;i.length=A,A=A-1|0;var r=0|e.words[0],n=0|t.words[0],o=r*n,a=67108863&o,s=o/67108864|0;i.words[0]=a;for(var c=1;c>>26,f=67108863&s,h=Math.min(c,t.length-1),g=Math.max(0,c-e.length+1);g<=h;g++){var u=c-g|0;I+=(o=(r=0|e.words[u])*(n=0|t.words[g])+f)/67108864|0,f=67108863&o}i.words[c]=0|f,s=0|I}return 0!==s?i.words[c]=0|s:i.length--,i._strip()}n.prototype.toArrayLike=function(e,t,i){this._strip();var r=this.byteLength(),n=i||Math.max(1,r);A(r<=n,"byte array longer than desired length"),A(n>0,"Requested array length <= 0");var o=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,n);return this["_toArrayLike"+("le"===t?"LE":"BE")](o,r),o},n.prototype._toArrayLikeLE=function(e,t){for(var i=0,A=0,r=0,n=0;r>8&255),i>16&255),6===n?(i>24&255),A=0,n=0):(A=o>>>24,n+=2)}if(i=0&&(e[i--]=o>>8&255),i>=0&&(e[i--]=o>>16&255),6===n?(i>=0&&(e[i--]=o>>24&255),A=0,n=0):(A=o>>>24,n+=2)}if(i>=0)for(e[i--]=A;i>=0;)e[i--]=0},Math.clz32?n.prototype._countBits=function(e){return 32-Math.clz32(e)}:n.prototype._countBits=function(e){var t=e,i=0;return t>=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},n.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return 0==(8191&t)&&(i+=13,t>>>=13),0==(127&t)&&(i+=7,t>>>=7),0==(15&t)&&(i+=4,t>>>=4),0==(3&t)&&(i+=2,t>>>=2),0==(1&t)&&i++,i},n.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},n.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},n.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},n.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;ie.length?this.clone().iand(e):e.clone().iand(this)},n.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},n.prototype.iuxor=function(e){var t,i;this.length>e.length?(t=this,i=e):(t=e,i=this);for(var A=0;Ae.length?this.clone().ixor(e):e.clone().ixor(this)},n.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},n.prototype.inotn=function(e){A("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&67108863>>26-i),this._strip()},n.prototype.notn=function(e){return this.clone().inotn(e)},n.prototype.setn=function(e,t){A("number"==typeof e&&e>=0);var i=e/26|0,r=e%26;return this._expand(i+1),this.words[i]=t?this.words[i]|1<e.length?(i=this,A=e):(i=e,A=this);for(var r=0,n=0;n>>26;for(;0!==r&&n>>26;if(this.length=i.length,0!==r)this.words[this.length]=r,this.length++;else if(i!==this)for(;ne.length?this.clone().iadd(e):e.clone().iadd(this)},n.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 i,A,r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(i=this,A=e):(i=e,A=this);for(var n=0,o=0;o>26,this.words[o]=67108863&t;for(;0!==n&&o>26,this.words[o]=67108863&t;if(0===n&&o>>13,g=0|o[1],u=8191&g,d=g>>>13,l=0|o[2],B=8191&l,p=l>>>13,C=0|o[3],Q=8191&C,E=C>>>13,y=0|o[4],b=8191&y,m=y>>>13,w=0|o[5],v=8191&w,D=w>>>13,S=0|o[6],F=8191&S,k=S>>>13,M=0|o[7],N=8191&M,U=M>>>13,G=0|o[8],H=8191&G,_=G>>>13,R=0|o[9],K=8191&R,q=R>>>13,x=0|a[0],J=8191&x,Y=x>>>13,O=0|a[1],L=8191&O,P=O>>>13,z=0|a[2],Z=8191&z,T=z>>>13,X=0|a[3],V=8191&X,j=X>>>13,W=0|a[4],$=8191&W,ee=W>>>13,te=0|a[5],ie=8191&te,Ae=te>>>13,re=0|a[6],ne=8191&re,oe=re>>>13,ae=0|a[7],se=8191&ae,ce=ae>>>13,Ie=0|a[8],fe=8191&Ie,he=Ie>>>13,ge=0|a[9],ue=8191&ge,de=ge>>>13;i.negative=e.negative^t.negative,i.length=19;var le=(c+(A=Math.imul(f,J))|0)+((8191&(r=(r=Math.imul(f,Y))+Math.imul(h,J)|0))<<13)|0;c=((n=Math.imul(h,Y))+(r>>>13)|0)+(le>>>26)|0,le&=67108863,A=Math.imul(u,J),r=(r=Math.imul(u,Y))+Math.imul(d,J)|0,n=Math.imul(d,Y);var Be=(c+(A=A+Math.imul(f,L)|0)|0)+((8191&(r=(r=r+Math.imul(f,P)|0)+Math.imul(h,L)|0))<<13)|0;c=((n=n+Math.imul(h,P)|0)+(r>>>13)|0)+(Be>>>26)|0,Be&=67108863,A=Math.imul(B,J),r=(r=Math.imul(B,Y))+Math.imul(p,J)|0,n=Math.imul(p,Y),A=A+Math.imul(u,L)|0,r=(r=r+Math.imul(u,P)|0)+Math.imul(d,L)|0,n=n+Math.imul(d,P)|0;var pe=(c+(A=A+Math.imul(f,Z)|0)|0)+((8191&(r=(r=r+Math.imul(f,T)|0)+Math.imul(h,Z)|0))<<13)|0;c=((n=n+Math.imul(h,T)|0)+(r>>>13)|0)+(pe>>>26)|0,pe&=67108863,A=Math.imul(Q,J),r=(r=Math.imul(Q,Y))+Math.imul(E,J)|0,n=Math.imul(E,Y),A=A+Math.imul(B,L)|0,r=(r=r+Math.imul(B,P)|0)+Math.imul(p,L)|0,n=n+Math.imul(p,P)|0,A=A+Math.imul(u,Z)|0,r=(r=r+Math.imul(u,T)|0)+Math.imul(d,Z)|0,n=n+Math.imul(d,T)|0;var Ce=(c+(A=A+Math.imul(f,V)|0)|0)+((8191&(r=(r=r+Math.imul(f,j)|0)+Math.imul(h,V)|0))<<13)|0;c=((n=n+Math.imul(h,j)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,A=Math.imul(b,J),r=(r=Math.imul(b,Y))+Math.imul(m,J)|0,n=Math.imul(m,Y),A=A+Math.imul(Q,L)|0,r=(r=r+Math.imul(Q,P)|0)+Math.imul(E,L)|0,n=n+Math.imul(E,P)|0,A=A+Math.imul(B,Z)|0,r=(r=r+Math.imul(B,T)|0)+Math.imul(p,Z)|0,n=n+Math.imul(p,T)|0,A=A+Math.imul(u,V)|0,r=(r=r+Math.imul(u,j)|0)+Math.imul(d,V)|0,n=n+Math.imul(d,j)|0;var Qe=(c+(A=A+Math.imul(f,$)|0)|0)+((8191&(r=(r=r+Math.imul(f,ee)|0)+Math.imul(h,$)|0))<<13)|0;c=((n=n+Math.imul(h,ee)|0)+(r>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,A=Math.imul(v,J),r=(r=Math.imul(v,Y))+Math.imul(D,J)|0,n=Math.imul(D,Y),A=A+Math.imul(b,L)|0,r=(r=r+Math.imul(b,P)|0)+Math.imul(m,L)|0,n=n+Math.imul(m,P)|0,A=A+Math.imul(Q,Z)|0,r=(r=r+Math.imul(Q,T)|0)+Math.imul(E,Z)|0,n=n+Math.imul(E,T)|0,A=A+Math.imul(B,V)|0,r=(r=r+Math.imul(B,j)|0)+Math.imul(p,V)|0,n=n+Math.imul(p,j)|0,A=A+Math.imul(u,$)|0,r=(r=r+Math.imul(u,ee)|0)+Math.imul(d,$)|0,n=n+Math.imul(d,ee)|0;var Ee=(c+(A=A+Math.imul(f,ie)|0)|0)+((8191&(r=(r=r+Math.imul(f,Ae)|0)+Math.imul(h,ie)|0))<<13)|0;c=((n=n+Math.imul(h,Ae)|0)+(r>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,A=Math.imul(F,J),r=(r=Math.imul(F,Y))+Math.imul(k,J)|0,n=Math.imul(k,Y),A=A+Math.imul(v,L)|0,r=(r=r+Math.imul(v,P)|0)+Math.imul(D,L)|0,n=n+Math.imul(D,P)|0,A=A+Math.imul(b,Z)|0,r=(r=r+Math.imul(b,T)|0)+Math.imul(m,Z)|0,n=n+Math.imul(m,T)|0,A=A+Math.imul(Q,V)|0,r=(r=r+Math.imul(Q,j)|0)+Math.imul(E,V)|0,n=n+Math.imul(E,j)|0,A=A+Math.imul(B,$)|0,r=(r=r+Math.imul(B,ee)|0)+Math.imul(p,$)|0,n=n+Math.imul(p,ee)|0,A=A+Math.imul(u,ie)|0,r=(r=r+Math.imul(u,Ae)|0)+Math.imul(d,ie)|0,n=n+Math.imul(d,Ae)|0;var ye=(c+(A=A+Math.imul(f,ne)|0)|0)+((8191&(r=(r=r+Math.imul(f,oe)|0)+Math.imul(h,ne)|0))<<13)|0;c=((n=n+Math.imul(h,oe)|0)+(r>>>13)|0)+(ye>>>26)|0,ye&=67108863,A=Math.imul(N,J),r=(r=Math.imul(N,Y))+Math.imul(U,J)|0,n=Math.imul(U,Y),A=A+Math.imul(F,L)|0,r=(r=r+Math.imul(F,P)|0)+Math.imul(k,L)|0,n=n+Math.imul(k,P)|0,A=A+Math.imul(v,Z)|0,r=(r=r+Math.imul(v,T)|0)+Math.imul(D,Z)|0,n=n+Math.imul(D,T)|0,A=A+Math.imul(b,V)|0,r=(r=r+Math.imul(b,j)|0)+Math.imul(m,V)|0,n=n+Math.imul(m,j)|0,A=A+Math.imul(Q,$)|0,r=(r=r+Math.imul(Q,ee)|0)+Math.imul(E,$)|0,n=n+Math.imul(E,ee)|0,A=A+Math.imul(B,ie)|0,r=(r=r+Math.imul(B,Ae)|0)+Math.imul(p,ie)|0,n=n+Math.imul(p,Ae)|0,A=A+Math.imul(u,ne)|0,r=(r=r+Math.imul(u,oe)|0)+Math.imul(d,ne)|0,n=n+Math.imul(d,oe)|0;var be=(c+(A=A+Math.imul(f,se)|0)|0)+((8191&(r=(r=r+Math.imul(f,ce)|0)+Math.imul(h,se)|0))<<13)|0;c=((n=n+Math.imul(h,ce)|0)+(r>>>13)|0)+(be>>>26)|0,be&=67108863,A=Math.imul(H,J),r=(r=Math.imul(H,Y))+Math.imul(_,J)|0,n=Math.imul(_,Y),A=A+Math.imul(N,L)|0,r=(r=r+Math.imul(N,P)|0)+Math.imul(U,L)|0,n=n+Math.imul(U,P)|0,A=A+Math.imul(F,Z)|0,r=(r=r+Math.imul(F,T)|0)+Math.imul(k,Z)|0,n=n+Math.imul(k,T)|0,A=A+Math.imul(v,V)|0,r=(r=r+Math.imul(v,j)|0)+Math.imul(D,V)|0,n=n+Math.imul(D,j)|0,A=A+Math.imul(b,$)|0,r=(r=r+Math.imul(b,ee)|0)+Math.imul(m,$)|0,n=n+Math.imul(m,ee)|0,A=A+Math.imul(Q,ie)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(E,ie)|0,n=n+Math.imul(E,Ae)|0,A=A+Math.imul(B,ne)|0,r=(r=r+Math.imul(B,oe)|0)+Math.imul(p,ne)|0,n=n+Math.imul(p,oe)|0,A=A+Math.imul(u,se)|0,r=(r=r+Math.imul(u,ce)|0)+Math.imul(d,se)|0,n=n+Math.imul(d,ce)|0;var me=(c+(A=A+Math.imul(f,fe)|0)|0)+((8191&(r=(r=r+Math.imul(f,he)|0)+Math.imul(h,fe)|0))<<13)|0;c=((n=n+Math.imul(h,he)|0)+(r>>>13)|0)+(me>>>26)|0,me&=67108863,A=Math.imul(K,J),r=(r=Math.imul(K,Y))+Math.imul(q,J)|0,n=Math.imul(q,Y),A=A+Math.imul(H,L)|0,r=(r=r+Math.imul(H,P)|0)+Math.imul(_,L)|0,n=n+Math.imul(_,P)|0,A=A+Math.imul(N,Z)|0,r=(r=r+Math.imul(N,T)|0)+Math.imul(U,Z)|0,n=n+Math.imul(U,T)|0,A=A+Math.imul(F,V)|0,r=(r=r+Math.imul(F,j)|0)+Math.imul(k,V)|0,n=n+Math.imul(k,j)|0,A=A+Math.imul(v,$)|0,r=(r=r+Math.imul(v,ee)|0)+Math.imul(D,$)|0,n=n+Math.imul(D,ee)|0,A=A+Math.imul(b,ie)|0,r=(r=r+Math.imul(b,Ae)|0)+Math.imul(m,ie)|0,n=n+Math.imul(m,Ae)|0,A=A+Math.imul(Q,ne)|0,r=(r=r+Math.imul(Q,oe)|0)+Math.imul(E,ne)|0,n=n+Math.imul(E,oe)|0,A=A+Math.imul(B,se)|0,r=(r=r+Math.imul(B,ce)|0)+Math.imul(p,se)|0,n=n+Math.imul(p,ce)|0,A=A+Math.imul(u,fe)|0,r=(r=r+Math.imul(u,he)|0)+Math.imul(d,fe)|0,n=n+Math.imul(d,he)|0;var we=(c+(A=A+Math.imul(f,ue)|0)|0)+((8191&(r=(r=r+Math.imul(f,de)|0)+Math.imul(h,ue)|0))<<13)|0;c=((n=n+Math.imul(h,de)|0)+(r>>>13)|0)+(we>>>26)|0,we&=67108863,A=Math.imul(K,L),r=(r=Math.imul(K,P))+Math.imul(q,L)|0,n=Math.imul(q,P),A=A+Math.imul(H,Z)|0,r=(r=r+Math.imul(H,T)|0)+Math.imul(_,Z)|0,n=n+Math.imul(_,T)|0,A=A+Math.imul(N,V)|0,r=(r=r+Math.imul(N,j)|0)+Math.imul(U,V)|0,n=n+Math.imul(U,j)|0,A=A+Math.imul(F,$)|0,r=(r=r+Math.imul(F,ee)|0)+Math.imul(k,$)|0,n=n+Math.imul(k,ee)|0,A=A+Math.imul(v,ie)|0,r=(r=r+Math.imul(v,Ae)|0)+Math.imul(D,ie)|0,n=n+Math.imul(D,Ae)|0,A=A+Math.imul(b,ne)|0,r=(r=r+Math.imul(b,oe)|0)+Math.imul(m,ne)|0,n=n+Math.imul(m,oe)|0,A=A+Math.imul(Q,se)|0,r=(r=r+Math.imul(Q,ce)|0)+Math.imul(E,se)|0,n=n+Math.imul(E,ce)|0,A=A+Math.imul(B,fe)|0,r=(r=r+Math.imul(B,he)|0)+Math.imul(p,fe)|0,n=n+Math.imul(p,he)|0;var ve=(c+(A=A+Math.imul(u,ue)|0)|0)+((8191&(r=(r=r+Math.imul(u,de)|0)+Math.imul(d,ue)|0))<<13)|0;c=((n=n+Math.imul(d,de)|0)+(r>>>13)|0)+(ve>>>26)|0,ve&=67108863,A=Math.imul(K,Z),r=(r=Math.imul(K,T))+Math.imul(q,Z)|0,n=Math.imul(q,T),A=A+Math.imul(H,V)|0,r=(r=r+Math.imul(H,j)|0)+Math.imul(_,V)|0,n=n+Math.imul(_,j)|0,A=A+Math.imul(N,$)|0,r=(r=r+Math.imul(N,ee)|0)+Math.imul(U,$)|0,n=n+Math.imul(U,ee)|0,A=A+Math.imul(F,ie)|0,r=(r=r+Math.imul(F,Ae)|0)+Math.imul(k,ie)|0,n=n+Math.imul(k,Ae)|0,A=A+Math.imul(v,ne)|0,r=(r=r+Math.imul(v,oe)|0)+Math.imul(D,ne)|0,n=n+Math.imul(D,oe)|0,A=A+Math.imul(b,se)|0,r=(r=r+Math.imul(b,ce)|0)+Math.imul(m,se)|0,n=n+Math.imul(m,ce)|0,A=A+Math.imul(Q,fe)|0,r=(r=r+Math.imul(Q,he)|0)+Math.imul(E,fe)|0,n=n+Math.imul(E,he)|0;var De=(c+(A=A+Math.imul(B,ue)|0)|0)+((8191&(r=(r=r+Math.imul(B,de)|0)+Math.imul(p,ue)|0))<<13)|0;c=((n=n+Math.imul(p,de)|0)+(r>>>13)|0)+(De>>>26)|0,De&=67108863,A=Math.imul(K,V),r=(r=Math.imul(K,j))+Math.imul(q,V)|0,n=Math.imul(q,j),A=A+Math.imul(H,$)|0,r=(r=r+Math.imul(H,ee)|0)+Math.imul(_,$)|0,n=n+Math.imul(_,ee)|0,A=A+Math.imul(N,ie)|0,r=(r=r+Math.imul(N,Ae)|0)+Math.imul(U,ie)|0,n=n+Math.imul(U,Ae)|0,A=A+Math.imul(F,ne)|0,r=(r=r+Math.imul(F,oe)|0)+Math.imul(k,ne)|0,n=n+Math.imul(k,oe)|0,A=A+Math.imul(v,se)|0,r=(r=r+Math.imul(v,ce)|0)+Math.imul(D,se)|0,n=n+Math.imul(D,ce)|0,A=A+Math.imul(b,fe)|0,r=(r=r+Math.imul(b,he)|0)+Math.imul(m,fe)|0,n=n+Math.imul(m,he)|0;var Se=(c+(A=A+Math.imul(Q,ue)|0)|0)+((8191&(r=(r=r+Math.imul(Q,de)|0)+Math.imul(E,ue)|0))<<13)|0;c=((n=n+Math.imul(E,de)|0)+(r>>>13)|0)+(Se>>>26)|0,Se&=67108863,A=Math.imul(K,$),r=(r=Math.imul(K,ee))+Math.imul(q,$)|0,n=Math.imul(q,ee),A=A+Math.imul(H,ie)|0,r=(r=r+Math.imul(H,Ae)|0)+Math.imul(_,ie)|0,n=n+Math.imul(_,Ae)|0,A=A+Math.imul(N,ne)|0,r=(r=r+Math.imul(N,oe)|0)+Math.imul(U,ne)|0,n=n+Math.imul(U,oe)|0,A=A+Math.imul(F,se)|0,r=(r=r+Math.imul(F,ce)|0)+Math.imul(k,se)|0,n=n+Math.imul(k,ce)|0,A=A+Math.imul(v,fe)|0,r=(r=r+Math.imul(v,he)|0)+Math.imul(D,fe)|0,n=n+Math.imul(D,he)|0;var Fe=(c+(A=A+Math.imul(b,ue)|0)|0)+((8191&(r=(r=r+Math.imul(b,de)|0)+Math.imul(m,ue)|0))<<13)|0;c=((n=n+Math.imul(m,de)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,A=Math.imul(K,ie),r=(r=Math.imul(K,Ae))+Math.imul(q,ie)|0,n=Math.imul(q,Ae),A=A+Math.imul(H,ne)|0,r=(r=r+Math.imul(H,oe)|0)+Math.imul(_,ne)|0,n=n+Math.imul(_,oe)|0,A=A+Math.imul(N,se)|0,r=(r=r+Math.imul(N,ce)|0)+Math.imul(U,se)|0,n=n+Math.imul(U,ce)|0,A=A+Math.imul(F,fe)|0,r=(r=r+Math.imul(F,he)|0)+Math.imul(k,fe)|0,n=n+Math.imul(k,he)|0;var ke=(c+(A=A+Math.imul(v,ue)|0)|0)+((8191&(r=(r=r+Math.imul(v,de)|0)+Math.imul(D,ue)|0))<<13)|0;c=((n=n+Math.imul(D,de)|0)+(r>>>13)|0)+(ke>>>26)|0,ke&=67108863,A=Math.imul(K,ne),r=(r=Math.imul(K,oe))+Math.imul(q,ne)|0,n=Math.imul(q,oe),A=A+Math.imul(H,se)|0,r=(r=r+Math.imul(H,ce)|0)+Math.imul(_,se)|0,n=n+Math.imul(_,ce)|0,A=A+Math.imul(N,fe)|0,r=(r=r+Math.imul(N,he)|0)+Math.imul(U,fe)|0,n=n+Math.imul(U,he)|0;var Me=(c+(A=A+Math.imul(F,ue)|0)|0)+((8191&(r=(r=r+Math.imul(F,de)|0)+Math.imul(k,ue)|0))<<13)|0;c=((n=n+Math.imul(k,de)|0)+(r>>>13)|0)+(Me>>>26)|0,Me&=67108863,A=Math.imul(K,se),r=(r=Math.imul(K,ce))+Math.imul(q,se)|0,n=Math.imul(q,ce),A=A+Math.imul(H,fe)|0,r=(r=r+Math.imul(H,he)|0)+Math.imul(_,fe)|0,n=n+Math.imul(_,he)|0;var Ne=(c+(A=A+Math.imul(N,ue)|0)|0)+((8191&(r=(r=r+Math.imul(N,de)|0)+Math.imul(U,ue)|0))<<13)|0;c=((n=n+Math.imul(U,de)|0)+(r>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,A=Math.imul(K,fe),r=(r=Math.imul(K,he))+Math.imul(q,fe)|0,n=Math.imul(q,he);var Ue=(c+(A=A+Math.imul(H,ue)|0)|0)+((8191&(r=(r=r+Math.imul(H,de)|0)+Math.imul(_,ue)|0))<<13)|0;c=((n=n+Math.imul(_,de)|0)+(r>>>13)|0)+(Ue>>>26)|0,Ue&=67108863;var Ge=(c+(A=Math.imul(K,ue))|0)+((8191&(r=(r=Math.imul(K,de))+Math.imul(q,ue)|0))<<13)|0;return c=((n=Math.imul(q,de))+(r>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,s[0]=le,s[1]=Be,s[2]=pe,s[3]=Ce,s[4]=Qe,s[5]=Ee,s[6]=ye,s[7]=be,s[8]=me,s[9]=we,s[10]=ve,s[11]=De,s[12]=Se,s[13]=Fe,s[14]=ke,s[15]=Me,s[16]=Ne,s[17]=Ue,s[18]=Ge,0!==c&&(s[19]=c,i.length++),i};function B(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var A=0,r=0,n=0;n>>26)|0)>>>26,o&=67108863}i.words[n]=a,A=o,o=r}return 0!==A?i.words[n]=A:i.length--,i._strip()}function p(e,t,i){return B(e,t,i)}function C(e,t){this.x=e,this.y=t}Math.imul||(l=d),n.prototype.mulTo=function(e,t){var i=this.length+e.length;return 10===this.length&&10===e.length?l(this,e,t):i<63?d(this,e,t):i<1024?B(this,e,t):p(this,e,t)},C.prototype.makeRBT=function(e){for(var t=new Array(e),i=n.prototype._countBits(e)-1,A=0;A>=1;return A},C.prototype.permute=function(e,t,i,A,r,n){for(var o=0;o>>=1)r++;return 1<>>=13,i[2*o+1]=8191&n,n>>>=13;for(o=2*t;o>=26,i+=n/67108864|0,i+=o>>>26,this.words[r]=67108863&o}return 0!==i&&(this.words[r]=i,this.length++),t?this.ineg():this},n.prototype.muln=function(e){return this.clone().imuln(e)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),i=0;i>>r&1}return t}(e);if(0===t.length)return new n(1);for(var i=this,A=0;A=0);var t,i=e%26,r=(e-i)/26,n=67108863>>>26-i<<26-i;if(0!==i){var o=0;for(t=0;t>>26-i}o&&(this.words[t]=o,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0),r=t?(t-t%26)/26:0;var n=e%26,o=Math.min((e-n)/26,this.length),a=67108863^67108863>>>n<o)for(this.length-=o,c=0;c=0&&(0!==I||c>=r);c--){var f=0|this.words[c];this.words[c]=I<<26-n|f>>>n,I=f&a}return s&&0!==I&&(s.words[s.length++]=I),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},n.prototype.ishrn=function(e,t,i){return A(0===this.negative),this.iushrn(e,t,i)},n.prototype.shln=function(e){return this.clone().ishln(e)},n.prototype.ushln=function(e){return this.clone().iushln(e)},n.prototype.shrn=function(e){return this.clone().ishrn(e)},n.prototype.ushrn=function(e){return this.clone().iushrn(e)},n.prototype.testn=function(e){A("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26,r=1<=0);var t=e%26,i=(e-t)/26;if(A(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==t&&i++,this.length=Math.min(i,this.length),0!==t){var r=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},n.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)-(s/67108864|0),this.words[r+i]=67108863&n}for(;r>26,this.words[r+i]=67108863&n;if(0===a)return this._strip();for(A(-1===a),a=0,r=0;r>26,this.words[r]=67108863&n;return this.negative=1,this._strip()},n.prototype._wordDiv=function(e,t){var i=(this.length,e.length),A=this.clone(),r=e,o=0|r.words[r.length-1];0!==(i=26-this._countBits(o))&&(r=r.ushln(i),A.iushln(i),o=0|r.words[r.length-1]);var a,s=A.length-r.length;if("mod"!==t){(a=new n(null)).length=s+1,a.words=new Array(a.length);for(var c=0;c=0;f--){var h=67108864*(0|A.words[r.length+f])+(0|A.words[r.length+f-1]);for(h=Math.min(h/o|0,67108863),A._ishlnsubmul(r,h,f);0!==A.negative;)h--,A.negative=0,A._ishlnsubmul(r,1,f),A.isZero()||(A.negative^=1);a&&(a.words[f]=h)}return a&&a._strip(),A._strip(),"div"!==t&&0!==i&&A.iushrn(i),{div:a||null,mod:A}},n.prototype.divmod=function(e,t,i){return A(!e.isZero()),this.isZero()?{div:new n(0),mod:new n(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(r=a.div.neg()),"div"!==t&&(o=a.mod.neg(),i&&0!==o.negative&&o.iadd(e)),{div:r,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(r=a.div.neg()),{div:r,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),i&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new n(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new n(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new n(this.modrn(e.words[0]))}:this._wordDiv(e,t);var r,o,a},n.prototype.div=function(e){return this.divmod(e,"div",!1).div},n.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},n.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},n.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,A=e.ushrn(1),r=e.andln(1),n=i.cmp(A);return n<0||1===r&&0===n?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},n.prototype.modrn=function(e){var t=e<0;t&&(e=-e),A(e<=67108863);for(var i=(1<<26)%e,r=0,n=this.length-1;n>=0;n--)r=(i*r+(0|this.words[n]))%e;return t?-r:r},n.prototype.modn=function(e){return this.modrn(e)},n.prototype.idivn=function(e){var t=e<0;t&&(e=-e),A(e<=67108863);for(var i=0,r=this.length-1;r>=0;r--){var n=(0|this.words[r])+67108864*i;this.words[r]=n/e|0,i=n%e}return this._strip(),t?this.ineg():this},n.prototype.divn=function(e){return this.clone().idivn(e)},n.prototype.egcd=function(e){A(0===e.negative),A(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new n(1),o=new n(0),a=new n(0),s=new n(1),c=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++c;for(var I=i.clone(),f=t.clone();!t.isZero();){for(var h=0,g=1;0==(t.words[0]&g)&&h<26;++h,g<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(I),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var u=0,d=1;0==(i.words[0]&d)&&u<26;++u,d<<=1);if(u>0)for(i.iushrn(u);u-- >0;)(a.isOdd()||s.isOdd())&&(a.iadd(I),s.isub(f)),a.iushrn(1),s.iushrn(1);t.cmp(i)>=0?(t.isub(i),r.isub(a),o.isub(s)):(i.isub(t),a.isub(r),s.isub(o))}return{a:a,b:s,gcd:i.iushln(c)}},n.prototype._invmp=function(e){A(0===e.negative),A(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r,o=new n(1),a=new n(0),s=i.clone();t.cmpn(1)>0&&i.cmpn(1)>0;){for(var c=0,I=1;0==(t.words[0]&I)&&c<26;++c,I<<=1);if(c>0)for(t.iushrn(c);c-- >0;)o.isOdd()&&o.iadd(s),o.iushrn(1);for(var f=0,h=1;0==(i.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(i.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);t.cmp(i)>=0?(t.isub(i),o.isub(a)):(i.isub(t),a.isub(o))}return(r=0===t.cmpn(1)?o:a).cmpn(0)<0&&r.iadd(e),r},n.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var A=0;t.isEven()&&i.isEven();A++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var r=t.cmp(i);if(r<0){var n=t;t=i,i=n}else if(0===r||0===i.cmpn(1))break;t.isub(i)}return i.iushln(A)},n.prototype.invm=function(e){return this.egcd(e).a.umod(e)},n.prototype.isEven=function(){return 0==(1&this.words[0])},n.prototype.isOdd=function(){return 1==(1&this.words[0])},n.prototype.andln=function(e){return this.words[0]&e},n.prototype.bincn=function(e){A("number"==typeof e);var t=e%26,i=(e-t)/26,r=1<>>26,a&=67108863,this.words[o]=a}return 0!==n&&(this.words[o]=n,this.length++),this},n.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},n.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return-1;if(0===this.negative&&i)return 1;if(this._strip(),this.length>1)t=1;else{i&&(e=-e),A(e<=67108863,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;i--){var A=0|this.words[i],r=0|e.words[i];if(A!==r){Ar&&(t=1);break}}return t},n.prototype.gtn=function(e){return 1===this.cmpn(e)},n.prototype.gt=function(e){return 1===this.cmp(e)},n.prototype.gten=function(e){return this.cmpn(e)>=0},n.prototype.gte=function(e){return this.cmp(e)>=0},n.prototype.ltn=function(e){return-1===this.cmpn(e)},n.prototype.lt=function(e){return-1===this.cmp(e)},n.prototype.lten=function(e){return this.cmpn(e)<=0},n.prototype.lte=function(e){return this.cmp(e)<=0},n.prototype.eqn=function(e){return 0===this.cmpn(e)},n.prototype.eq=function(e){return 0===this.cmp(e)},n.red=function(e){return new v(e)},n.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)},n.prototype.fromRed=function(){return A(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(e){return this.red=e,this},n.prototype.forceRed=function(e){return A(!this.red,"Already a number in reduction context"),this._forceRed(e)},n.prototype.redAdd=function(e){return A(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},n.prototype.redIAdd=function(e){return A(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},n.prototype.redSub=function(e){return A(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},n.prototype.redISub=function(e){return A(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},n.prototype.redShl=function(e){return A(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},n.prototype.redMul=function(e){return A(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},n.prototype.redIMul=function(e){return A(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},n.prototype.redSqr=function(){return A(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return A(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return A(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return A(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return A(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(e){return A(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var Q={k256:null,p224:null,p192:null,p25519:null};function E(e,t){this.name=e,this.p=new n(t,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){E.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function b(){E.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function m(){E.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){E.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function v(e){if("string"==typeof e){var t=n._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 D(e){v.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new n(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)}E.prototype._tmp=function(){var e=new n(null);return e.words=new Array(Math.ceil(this.n/13)),e},E.prototype.ireduce=function(e){var t,i=e;do{this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength()}while(t>this.n);var A=t0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},E.prototype.split=function(e,t){e.iushrn(this.n,0,t)},E.prototype.imulK=function(e){return e.imul(this.k)},r(y,E),y.prototype.split=function(e,t){for(var i=4194303,A=Math.min(e.length,9),r=0;r>>22,n=o}n>>>=22,e.words[r-10]=n,0===n&&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,i=0;i>>=26,e.words[i]=r,t=A}return 0!==t&&(e.words[e.length++]=t),e},n._prime=function(e){if(Q[e])return Q[e];var t;if("k256"===e)t=new y;else if("p224"===e)t=new b;else if("p192"===e)t=new m;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new w}return Q[e]=t,t},v.prototype._verify1=function(e){A(0===e.negative,"red works only with positives"),A(e.red,"red works only with red numbers")},v.prototype._verify2=function(e,t){A(0==(e.negative|t.negative),"red works only with positives"),A(e.red&&e.red===t.red,"red works only with red numbers")},v.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(I(e,e.umod(this.m)._forceRed(this)),e)},v.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},v.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},v.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},v.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},v.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return i.cmpn(0)<0&&i.iadd(this.m),i},v.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},v.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},v.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},v.prototype.isqr=function(e){return this.imul(e,e.clone())},v.prototype.sqr=function(e){return this.mul(e,e)},v.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(A(t%2==1),3===t){var i=this.m.add(new n(1)).iushrn(2);return this.pow(e,i)}for(var r=this.m.subn(1),o=0;!r.isZero()&&0===r.andln(1);)o++,r.iushrn(1);A(!r.isZero());var a=new n(1).toRed(this),s=a.redNeg(),c=this.m.subn(1).iushrn(1),I=this.m.bitLength();for(I=new n(2*I*I).toRed(this);0!==this.pow(I,c).cmp(s);)I.redIAdd(s);for(var f=this.pow(I,r),h=this.pow(e,r.addn(1).iushrn(1)),g=this.pow(e,r),u=o;0!==g.cmp(a);){for(var d=g,l=0;0!==d.cmp(a);l++)d=d.redSqr();A(l=0;A--){for(var c=t.words[A],I=s-1;I>=0;I--){var f=c>>I&1;r!==i[0]&&(r=this.sqr(r)),0!==f||0!==o?(o<<=1,o|=f,(4===++a||0===A&&0===I)&&(r=this.mul(r,i[o]),a=0,o=0)):a=0}s=26}return r},v.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},v.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},n.mont=function(e){return new D(e)},r(D,v),D.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},D.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},D.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),A=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(A).iushrn(this.shift),n=r;return r.cmp(this.m)>=0?n=r.isub(this.m):r.cmpn(0)<0&&(n=r.iadd(this.m)),n._forceRed(this)},D.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new n(0)._forceRed(this);var i=e.mul(t),A=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(A).iushrn(this.shift),o=r;return r.cmp(this.m)>=0?o=r.isub(this.m):r.cmpn(0)<0&&(o=r.iadd(this.m)),o._forceRed(this)},D.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t,this)},{buffer:50}],73:[function(e,t,i){t.exports=e("./browser/algorithms.json")},{"./browser/algorithms.json":74}],74:[function(e,t,i){t.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],75:[function(e,t,i){t.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],76:[function(e,t,i){var A=e("safe-buffer").Buffer,r=e("create-hash"),n=e("readable-stream"),o=e("inherits"),a=e("./sign"),s=e("./verify"),c=e("./algorithms.json");function I(e){n.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function f(e){n.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function h(e){return new I(e)}function g(e){return new f(e)}Object.keys(c).forEach((function(e){c[e].id=A.from(c[e].id,"hex"),c[e.toLowerCase()]=c[e]})),o(I,n.Writable),I.prototype._write=function(e,t,i){this._hash.update(e),i()},I.prototype.update=function(e,t){return"string"==typeof e&&(e=A.from(e,t)),this._hash.update(e),this},I.prototype.sign=function(e,t){this.end();var i=this._hash.digest(),A=a(i,e,this._hashType,this._signType,this._tag);return t?A.toString(t):A},o(f,n.Writable),f.prototype._write=function(e,t,i){this._hash.update(e),i()},f.prototype.update=function(e,t){return"string"==typeof e&&(e=A.from(e,t)),this._hash.update(e),this},f.prototype.verify=function(e,t,i){"string"==typeof t&&(t=A.from(t,i)),this.end();var r=this._hash.digest();return s(t,r,e,this._signType,this._tag)},t.exports={Sign:h,Verify:g,createSign:h,createVerify:g}},{"./algorithms.json":74,"./sign":77,"./verify":78,"create-hash":102,inherits:169,"readable-stream":94,"safe-buffer":198}],77:[function(e,t,i){var A=e("safe-buffer").Buffer,r=e("create-hmac"),n=e("browserify-rsa"),o=e("elliptic").ec,a=e("bn.js"),s=e("parse-asn1"),c=e("./curves.json");function I(e,t,i,n){if((e=A.from(e.toArray())).length0&&i.ishrn(A),i}function h(e,t,i){var n,o;do{for(n=A.alloc(0);8*n.length=t)throw new Error("invalid sig")}t.exports=function(e,t,i,c,I){var f=o(i);if("ec"===f.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(e,t,i){var A=a[i.data.algorithm.curve.join(".")];if(!A)throw new Error("unknown curve "+i.data.algorithm.curve.join("."));var r=new n(A),o=i.data.subjectPrivateKey.data;return r.verify(t,e,o)}(e,t,f)}if("dsa"===f.type){if("dsa"!==c)throw new Error("wrong public key type");return function(e,t,i){var A=i.data.p,n=i.data.q,a=i.data.g,c=i.data.pub_key,I=o.signature.decode(e,"der"),f=I.s,h=I.r;s(f,n),s(h,n);var g=r.mont(A),u=f.invm(n),d=a.toRed(g).redPow(new r(t).mul(u).mod(n)).fromRed().mul(c.toRed(g).redPow(h.mul(u).mod(n)).fromRed()).mod(A).mod(n);return 0===d.cmp(h)}(e,t,f)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");t=A.concat([I,t]);for(var h=f.modulus.byteLength(),g=[1],u=0;t.length+g.length+22?"one of ".concat(t," ").concat(e.slice(0,i-1).join(", "),", or ")+e[i-1]:2===i?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}r("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),r("ERR_INVALID_ARG_TYPE",(function(e,t,i){var A,r,o,a;if("string"==typeof t&&(r="not ",t.substr(!o||o<0?0:+o,r.length)===r)?(A="must not be",t=t.replace(/^not /,"")):A="must be",function(e,t,i){return(void 0===i||i>e.length)&&(i=e.length),e.substring(i-t.length,i)===t}(e," argument"))a="The ".concat(e," ").concat(A," ").concat(n(t,"type"));else{var s=function(e,t,i){return"number"!=typeof i&&(i=0),!(i+t.length>e.length)&&-1!==e.indexOf(t,i)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(s," ").concat(A," ").concat(n(t,"type"))}return a+=". Received type ".concat(typeof i)}),TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=A},{}],81:[function(e,t,i){(function(i){(function(){"use strict";var A=Object.keys||function(e){var t=[];for(var i in e)t.push(i);return t};t.exports=c;var r=e("./_stream_readable"),n=e("./_stream_writable");e("inherits")(c,r);for(var o=A(n.prototype),a=0;a0)if("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),A)o.endEmitted?y(e,new E):D(e,o,t,!0);else if(o.ended)y(e,new C);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!i?(t=o.decoder.write(t),o.objectMode||0!==t.length?D(e,o,t,!1):N(e,o)):D(e,o,t,!1)}else A||(o.reading=!1,N(e,o));return!o.ended&&(o.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=S?e=S:(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 k(e){var t=e._readableState;c("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(c("emitReadable",t.flowing),t.emittedReadable=!0,i.nextTick(M,e))}function M(e){var t=e._readableState;c("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,R(e)}function N(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(U,e,t))}function U(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function H(e){c("readable nexttick read 0"),e.read(0)}function _(e,t){c("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),R(e),t.flowing&&!t.reading&&e.read(0)}function R(e){var t=e._readableState;for(c("flow",t.flowing);t.flowing&&null!==e.read(););}function K(e,t){return 0===t.length?null:(t.objectMode?i=t.buffer.shift():!e||e>=t.length?(i=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):i=t.buffer.consume(e,t.decoder),i);var i}function q(e){var t=e._readableState;c("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.nextTick(x,t,e))}function x(e,t){if(c("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var i=t._writableState;(!i||i.autoDestroy&&i.finished)&&t.destroy()}}function J(e,t){for(var i=0,A=e.length;i=t.highWaterMark:t.length>0)||t.ended))return c("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?q(this):k(this),null;if(0===(e=F(e,t))&&t.ended)return 0===t.length&&q(this),null;var A,r=t.needReadable;return c("need readable",r),(0===t.length||t.length-e0?K(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),i!==e&&t.ended&&q(this)),null!==A&&this.emit("data",A),A},w.prototype._read=function(e){y(this,new Q("_read()"))},w.prototype.pipe=function(e,t){var A=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,c("pipe count=%d opts=%j",r.pipesCount,t);var o=(!t||!1!==t.end)&&e!==i.stdout&&e!==i.stderr?s:l;function a(t,i){c("onunpipe"),t===A&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,c("cleanup"),e.removeListener("close",u),e.removeListener("finish",d),e.removeListener("drain",I),e.removeListener("error",g),e.removeListener("unpipe",a),A.removeListener("end",s),A.removeListener("end",l),A.removeListener("data",h),f=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||I())}function s(){c("onend"),e.end()}r.endEmitted?i.nextTick(o):A.once("end",o),e.on("unpipe",a);var I=function(e){return function(){var t=e._readableState;c("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&n(e,"data")&&(t.flowing=!0,R(e))}}(A);e.on("drain",I);var f=!1;function h(t){c("ondata");var i=e.write(t);c("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==J(r.pipes,e))&&!f&&(c("false write response, pause",r.awaitDrain),r.awaitDrain++),A.pause())}function g(t){c("onerror",t),l(),e.removeListener("error",g),0===n(e,"error")&&y(e,t)}function u(){e.removeListener("finish",d),l()}function d(){c("onfinish"),e.removeListener("close",u),l()}function l(){c("unpipe"),A.unpipe(e)}return A.on("data",h),function(e,t,i){if("function"==typeof e.prependListener)return e.prependListener(t,i);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(i):e._events[t]=[i,e._events[t]]:e.on(t,i)}(e,"error",g),e.once("close",u),e.once("finish",d),e.emit("pipe",A),r.flowing||(c("pipe resume"),A.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,i={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,i)),this;if(!e){var A=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var n=0;n0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,c("on readable",r.length,r.reading),r.length?k(this):r.reading||i.nextTick(H,this))),A},w.prototype.addListener=w.prototype.on,w.prototype.removeListener=function(e,t){var A=o.prototype.removeListener.call(this,e,t);return"readable"===e&&i.nextTick(G,this),A},w.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||i.nextTick(G,this),t},w.prototype.resume=function(){var e=this._readableState;return e.flowing||(c("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(_,e,t))}(this,e)),e.paused=!1,this},w.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},w.prototype.wrap=function(e){var t=this,i=this._readableState,A=!1;for(var r in e.on("end",(function(){if(c("wrapped end"),i.decoder&&!i.ended){var e=i.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(r){(c("wrapped data"),i.decoder&&(r=i.decoder.write(r)),i.objectMode&&null==r)||(i.objectMode||r&&r.length)&&(t.push(r)||(A=!0,e.pause()))})),e)void 0===this[r]&&"function"==typeof e[r]&&(this[r]=function(t){return function(){return e[t].apply(e,arguments)}}(r));for(var n=0;n-1))throw new E(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(w.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(w.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),w.prototype._write=function(e,t,i){i(new d("_write()"))},w.prototype._writev=null,w.prototype.end=function(e,t,A){var r=this._writableState;return"function"==typeof e?(A=e,e=null,t=null):"function"==typeof t&&(A=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,A){t.ending=!0,M(e,t),A&&(t.finished?i.nextTick(A):e.once("finish",A));t.ended=!0,e.writable=!1}(this,r,A),this},Object.defineProperty(w.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(w.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),w.prototype.destroy=f.destroy,w.prototype._undestroy=f.undestroy,w.prototype._destroy=function(e,t){t(e)}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":80,"./_stream_duplex":81,"./internal/streams/destroy":88,"./internal/streams/state":92,"./internal/streams/stream":93,_process:187,buffer:99,inherits:169,"util-deprecate":226}],86:[function(e,t,i){(function(i){(function(){"use strict";var A;function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var n=e("./end-of-stream"),o=Symbol("lastResolve"),a=Symbol("lastReject"),s=Symbol("error"),c=Symbol("ended"),I=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function g(e,t){return{value:e,done:t}}function u(e){var t=e[o];if(null!==t){var i=e[h].read();null!==i&&(e[I]=null,e[o]=null,e[a]=null,t(g(i,!1)))}}function d(e){i.nextTick(u,e)}var l=Object.getPrototypeOf((function(){})),B=Object.setPrototypeOf((r(A={get stream(){return this[h]},next:function(){var e=this,t=this[s];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(g(void 0,!0));if(this[h].destroyed)return new Promise((function(t,A){i.nextTick((function(){e[s]?A(e[s]):t(g(void 0,!0))}))}));var A,r=this[I];if(r)A=new Promise(function(e,t){return function(i,A){e.then((function(){t[c]?i(g(void 0,!0)):t[f](i,A)}),A)}}(r,this));else{var n=this[h].read();if(null!==n)return Promise.resolve(g(n,!1));A=new Promise(this[f])}return this[I]=A,A}},Symbol.asyncIterator,(function(){return this})),r(A,"return",(function(){var e=this;return new Promise((function(t,i){e[h].destroy(null,(function(e){e?i(e):t(g(void 0,!0))}))}))})),A),l);t.exports=function(e){var t,i=Object.create(B,(r(t={},h,{value:e,writable:!0}),r(t,o,{value:null,writable:!0}),r(t,a,{value:null,writable:!0}),r(t,s,{value:null,writable:!0}),r(t,c,{value:e._readableState.endEmitted,writable:!0}),r(t,f,{value:function(e,t){var A=i[h].read();A?(i[I]=null,i[o]=null,i[a]=null,e(g(A,!1))):(i[o]=e,i[a]=t)},writable:!0}),t));return i[I]=null,n(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=i[a];return null!==t&&(i[I]=null,i[o]=null,i[a]=null,t(e)),void(i[s]=e)}var A=i[o];null!==A&&(i[I]=null,i[o]=null,i[a]=null,A(g(void 0,!0))),i[c]=!0})),e.on("readable",d.bind(null,i)),i}}).call(this)}).call(this,e("_process"))},{"./end-of-stream":89,_process:187}],87:[function(e,t,i){"use strict";function A(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,A)}return i}function r(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function n(e,t){for(var i=0;i0?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,i=""+t.data;t=t.next;)i+=e+t.data;return i}},{key:"concat",value:function(e){if(0===this.length)return o.alloc(0);for(var t,i,A,r=o.allocUnsafe(e>>>0),n=this.head,a=0;n;)t=n.data,i=r,A=a,o.prototype.copy.call(t,i,A),a+=n.data.length,n=n.next;return r}},{key:"consume",value:function(e,t){var i;return er.length?r.length:e;if(n===r.length?A+=r:A+=r.slice(0,e),0==(e-=n)){n===r.length?(++i,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=r.slice(n));break}++i}return this.length-=i,A}},{key:"_getBuffer",value:function(e){var t=o.allocUnsafe(e),i=this.head,A=1;for(i.data.copy(t),e-=i.data.length;i=i.next;){var r=i.data,n=e>r.length?r.length:e;if(r.copy(t,t.length-e,0,n),0==(e-=n)){n===r.length?(++A,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=r.slice(n));break}++A}return this.length-=A,t}},{key:s,value:function(e,t){return a(this,function(e){for(var t=1;t0,(function(e){A||(A=e),e&&o.forEach(c),n||(o.forEach(c),r(A))}))}));return t.reduce(I)}},{"../../../errors":80,"./end-of-stream":89}],92:[function(e,t,i){"use strict";var A=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,i,r){var n=function(e,t,i){return null!=e.highWaterMark?e.highWaterMark:t?e[i]:null}(t,r,i);if(null!=n){if(!isFinite(n)||Math.floor(n)!==n||n<0)throw new A(r?i:"highWaterMark",n);return Math.floor(n)}return e.objectMode?16:16384}}},{"../../../errors":80}],93:[function(e,t,i){t.exports=e("events").EventEmitter},{events:134}],94:[function(e,t,i){(i=t.exports=e("./lib/_stream_readable.js")).Stream=i,i.Readable=i,i.Writable=e("./lib/_stream_writable.js"),i.Duplex=e("./lib/_stream_duplex.js"),i.Transform=e("./lib/_stream_transform.js"),i.PassThrough=e("./lib/_stream_passthrough.js"),i.finished=e("./lib/internal/streams/end-of-stream.js"),i.pipeline=e("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":81,"./lib/_stream_passthrough.js":82,"./lib/_stream_readable.js":83,"./lib/_stream_transform.js":84,"./lib/_stream_writable.js":85,"./lib/internal/streams/end-of-stream.js":89,"./lib/internal/streams/pipeline.js":91}],95:[function(e,t,i){"use strict";var A=e("safe-buffer").Buffer,r=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 n(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===r||!r(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=s,this.end=c,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=I,this.end=f,t=3;break;default:return this.write=h,void(this.end=g)}this.lastNeed=0,this.lastTotal=0,this.lastChar=A.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,i=function(e,t,i){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!==i?i: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 s(e,t){if((e.length-t)%2==0){var i=e.toString("utf16le",t);if(i){var A=i.charCodeAt(i.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],i.slice(0,-1)}return i}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 i=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,i)}return t}function I(e,t){var i=(e.length-t)%3;return 0===i?e.toString("base64",t):(this.lastNeed=3-i,this.lastTotal=3,1===i?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-i))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function g(e){return e&&e.length?this.write(e):""}i.StringDecoder=n,n.prototype.write=function(e){if(0===e.length)return"";var t,i;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i=0)return r>0&&(e.lastNeed=r-1),r;if(--A=0)return r>0&&(e.lastNeed=r-2),r;if(--A=0)return r>0&&(2===r?r=0:e.lastNeed=r-3),r;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=i;var A=e.length-(i-this.lastNeed);return e.copy(this.lastChar,0,A),e.toString("utf8",t,A)},n.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}},{"safe-buffer":198}],96:[function(e,t,i){arguments[4][50][0].apply(i,arguments)},{dup:50}],97:[function(e,t,i){arguments[4][95][0].apply(i,arguments)},{dup:95,"safe-buffer":198}],98:[function(e,t,i){(function(e){(function(){t.exports=function(t,i){for(var A=Math.min(t.length,i.length),r=new e(A),n=0;n0||n>o]}return a}(new Uint8Array(await this._subtle.digest("SHA-1",r))),o=encodeURIComponent(i),a=`https://openpgpkey.${A}/.well-known/openpgpkey/${A}/hu/${n}?l=${o}`,s=`https://${A}/.well-known/openpgpkey/hu/${n}?l=${o}`;let c;try{if(c=await t(a),200!==c.status)throw new Error("Advanced WKD lookup failed: "+c.statusText)}catch(e){if(c=await t(s),200!==c.status)throw new Error("Direct WKD lookup failed: "+c.statusText)}return new Uint8Array(await c.arrayBuffer())}}},{"@peculiar/webcrypto":50,crypto:50,"node-fetch":50}],3:[function(e,t,i){"use strict";const A=i;A.bignum=e("bn.js"),A.define=e("./asn1/api").define,A.base=e("./asn1/base"),A.constants=e("./asn1/constants"),A.decoders=e("./asn1/decoders"),A.encoders=e("./asn1/encoders")},{"./asn1/api":4,"./asn1/base":6,"./asn1/constants":10,"./asn1/decoders":12,"./asn1/encoders":15,"bn.js":47}],4:[function(e,t,i){"use strict";const A=e("./encoders"),r=e("./decoders"),n=e("inherits");function o(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}i.define=function(e,t){return new o(e,t)},o.prototype._createNamed=function(e){const t=this.name;function i(e){this._initNamed(e,t)}return n(i,e),i.prototype._initNamed=function(t,i){e.call(this,t,i)},new i(this)},o.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(r[e])),this.decoders[e]},o.prototype.decode=function(e,t,i){return this._getDecoder(t).decode(e,i)},o.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(A[e])),this.encoders[e]},o.prototype.encode=function(e,t,i){return this._getEncoder(t).encode(e,i)}},{"./decoders":12,"./encoders":15,inherits:167}],5:[function(e,t,i){"use strict";const A=e("inherits"),r=e("../base/reporter").Reporter,n=e("safer-buffer").Buffer;function o(e,t){r.call(this,t),n.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function a(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return a.isEncoderBuffer(e)||(e=new a(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=n.byteLength(e);else{if(!n.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}A(o,r),i.DecoderBuffer=o,o.isDecoderBuffer=function(e){if(e instanceof o)return!0;return"object"==typeof e&&n.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},o.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},o.prototype.restore=function(e){const t=new o(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,r.prototype.restore.call(this,e.reporter),t},o.prototype.isEmpty=function(){return this.offset===this.length},o.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},o.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");const i=new o(this.base);return i._reporterState=this._reporterState,i.offset=this.offset,i.length=this.offset+e,this.offset+=e,i},o.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},i.EncoderBuffer=a,a.isEncoderBuffer=function(e){if(e instanceof a)return!0;return"object"==typeof e&&"EncoderBuffer"===e.constructor.name&&"number"==typeof e.length&&"function"==typeof e.join},a.prototype.join=function(e,t){return e||(e=n.alloc(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(i){i.join(e,t),t+=i.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):n.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},{"../base/reporter":8,inherits:167,"safer-buffer":196}],6:[function(e,t,i){"use strict";const A=i;A.Reporter=e("./reporter").Reporter,A.DecoderBuffer=e("./buffer").DecoderBuffer,A.EncoderBuffer=e("./buffer").EncoderBuffer,A.Node=e("./node")},{"./buffer":5,"./node":7,"./reporter":8}],7:[function(e,t,i){"use strict";const A=e("../base/reporter").Reporter,r=e("../base/buffer").EncoderBuffer,n=e("../base/buffer").DecoderBuffer,o=e("minimalistic-assert"),a=["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"],s=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function c(e,t,i){const A={};this._baseState=A,A.name=i,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 I=["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={};I.forEach((function(i){t[i]=e[i]}));const i=new this.constructor(t.parent);return i._baseState=t,i},c.prototype._wrap=function(){const e=this._baseState;s.forEach((function(t){this[t]=function(){const i=new this.constructor(this);return e.children.push(i),i[t].apply(i,arguments)}}),this)},c.prototype._init=function(e){const t=this._baseState;o(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),o.equal(t.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(e){const t=this._baseState,i=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==i.length&&(o(null===t.children),t.children=i,i.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(o(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(i){i==(0|i)&&(i|=0);const A=e[i];t[A]=i})),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)}})),a.forEach((function(e){c.prototype[e]=function(){const t=this._baseState,i=Array.prototype.slice.call(arguments);return o(null===t.tag),t.tag=e,this._useArgs(i),this}})),c.prototype.use=function(e){o(e);const t=this._baseState;return o(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 o(null===t.default),t.default=e,t.optional=!0,this},c.prototype.explicit=function(e){const t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.explicit=e,this},c.prototype.implicit=function(e){const t=this._baseState;return o(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 o(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 o(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 o(null===t.use),t.contains=e,this},c.prototype._decode=function(e,t){const i=this._baseState;if(null===i.parent)return e.wrapResult(i.children[0]._decode(e,t));let A,r=i.default,o=!0,a=null;if(null!==i.key&&(a=e.enterKey(i.key)),i.optional){let A=null;if(null!==i.explicit?A=i.explicit:null!==i.implicit?A=i.implicit:null!==i.tag&&(A=i.tag),null!==A||i.any){if(o=this._peekTag(e,A,i.any),e.isError(o))return o}else{const A=e.save();try{null===i.choice?this._decodeGeneric(i.tag,e,t):this._decodeChoice(e,t),o=!0}catch(e){o=!1}e.restore(A)}}if(i.obj&&o&&(A=e.enterObject()),o){if(null!==i.explicit){const t=this._decodeTag(e,i.explicit);if(e.isError(t))return t;e=t}const A=e.offset;if(null===i.use&&null===i.choice){let t;i.any&&(t=e.save());const A=this._decodeTag(e,null!==i.implicit?i.implicit:i.tag,i.any);if(e.isError(A))return A;i.any?r=e.raw(t):e=A}if(t&&t.track&&null!==i.tag&&t.track(e.path(),A,e.length,"tagged"),t&&t.track&&null!==i.tag&&t.track(e.path(),e.offset,e.length,"content"),i.any||(r=null===i.choice?this._decodeGeneric(i.tag,e,t):this._decodeChoice(e,t)),e.isError(r))return r;if(i.any||null!==i.choice||null===i.children||i.children.forEach((function(i){i._decode(e,t)})),i.contains&&("octstr"===i.tag||"bitstr"===i.tag)){const A=new n(r);r=this._getUse(i.contains,e._reporterState.obj)._decode(A,t)}}return i.obj&&o&&(r=e.leaveObject(A)),null===i.key||null===r&&!0!==o?null!==a&&e.exitKey(a):e.leaveKey(a,i.key,r),r},c.prototype._decodeGeneric=function(e,t,i){const A=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,A.args[0],i):/str$/.test(e)?this._decodeStr(t,e,i):"objid"===e&&A.args?this._decodeObjid(t,A.args[0],A.args[1],i):"objid"===e?this._decodeObjid(t,null,null,i):"gentime"===e||"utctime"===e?this._decodeTime(t,e,i):"null_"===e?this._decodeNull(t,i):"bool"===e?this._decodeBool(t,i):"objDesc"===e?this._decodeStr(t,e,i):"int"===e||"enum"===e?this._decodeInt(t,A.args&&A.args[0],i):null!==A.use?this._getUse(A.use,t._reporterState.obj)._decode(t,i):t.error("unknown tag: "+e)},c.prototype._getUse=function(e,t){const i=this._baseState;return i.useDecoder=this._use(e,t),o(null===i.useDecoder._baseState.parent),i.useDecoder=i.useDecoder._baseState.children[0],i.implicit!==i.useDecoder._baseState.implicit&&(i.useDecoder=i.useDecoder.clone(),i.useDecoder._baseState.implicit=i.implicit),i.useDecoder},c.prototype._decodeChoice=function(e,t){const i=this._baseState;let A=null,r=!1;return Object.keys(i.choice).some((function(n){const o=e.save(),a=i.choice[n];try{const i=a._decode(e,t);if(e.isError(i))return!1;A={type:n,value:i},r=!0}catch(t){return e.restore(o),!1}return!0}),this),r?A:e.error("Choice not matched")},c.prototype._createEncoderBuffer=function(e){return new r(e,this.reporter)},c.prototype._encode=function(e,t,i){const A=this._baseState;if(null!==A.default&&A.default===e)return;const r=this._encodeValue(e,t,i);return void 0===r||this._skipDefault(r,t,i)?void 0:r},c.prototype._encodeValue=function(e,t,i){const r=this._baseState;if(null===r.parent)return r.children[0]._encode(e,t||new A);let n=null;if(this.reporter=t,r.optional&&void 0===e){if(null===r.default)return;e=r.default}let o=null,a=!1;if(r.any)n=this._createEncoderBuffer(e);else if(r.choice)n=this._encodeChoice(e,t);else if(r.contains)o=this._getUse(r.contains,i)._encode(e,t),a=!0;else if(r.children)o=r.children.map((function(i){if("null_"===i._baseState.tag)return i._encode(null,t,e);if(null===i._baseState.key)return t.error("Child should have a key");const A=t.enterKey(i._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");const r=i._encode(e[i._baseState.key],t,e);return t.leaveKey(A),r}),this).filter((function(e){return e})),o=this._createEncoderBuffer(o);else if("seqof"===r.tag||"setof"===r.tag){if(!r.args||1!==r.args.length)return t.error("Too many args for : "+r.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");const i=this.clone();i._baseState.implicit=null,o=this._createEncoderBuffer(e.map((function(i){const A=this._baseState;return this._getUse(A.args[0],e)._encode(i,t)}),i))}else null!==r.use?n=this._getUse(r.use,i)._encode(e,t):(o=this._encodePrimitive(r.tag,e),a=!0);if(!r.any&&null===r.choice){const e=null!==r.implicit?r.implicit:r.tag,i=null===r.implicit?"universal":"context";null===e?null===r.use&&t.error("Tag could be omitted only for .use()"):null===r.use&&(n=this._encodeComposite(e,a,i,o))}return null!==r.explicit&&(n=this._encodeComposite(r.explicit,!1,"context",n)),n},c.prototype._encodeChoice=function(e,t){const i=this._baseState,A=i.choice[e.type];return A||o(!1,e.type+" not found in "+JSON.stringify(Object.keys(i.choice))),A._encode(e.value,t)},c.prototype._encodePrimitive=function(e,t){const i=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&i.args)return this._encodeObjid(t,i.reverseArgs[0],i.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,i.args&&i.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)}},{"../base/buffer":5,"../base/reporter":8,"minimalistic-assert":172}],8:[function(e,t,i){"use strict";const A=e("inherits");function r(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function n(e,t){this.path=e,this.rethrow(t)}i.Reporter=r,r.prototype.isError=function(e){return e instanceof n},r.prototype.save=function(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},r.prototype.restore=function(e){const t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},r.prototype.enterKey=function(e){return this._reporterState.path.push(e)},r.prototype.exitKey=function(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)},r.prototype.leaveKey=function(e,t,i){const A=this._reporterState;this.exitKey(e),null!==A.obj&&(A.obj[t]=i)},r.prototype.path=function(){return this._reporterState.path.join("/")},r.prototype.enterObject=function(){const e=this._reporterState,t=e.obj;return e.obj={},t},r.prototype.leaveObject=function(e){const t=this._reporterState,i=t.obj;return t.obj=e,i},r.prototype.error=function(e){let t;const i=this._reporterState,A=e instanceof n;if(t=A?e:new n(i.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!i.options.partial)throw t;return A||i.errors.push(t),t},r.prototype.wrapResult=function(e){const t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},A(n,Error),n.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,n),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},{inherits:167}],9:[function(e,t,i){"use strict";function A(e){const t={};return Object.keys(e).forEach((function(i){(0|i)==i&&(i|=0);const A=e[i];t[A]=i})),t}i.tagClass={0:"universal",1:"application",2:"context",3:"private"},i.tagClassByName=A(i.tagClass),i.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"},i.tagByName=A(i.tag)},{}],10:[function(e,t,i){"use strict";const A=i;A._reverse=function(e){const t={};return Object.keys(e).forEach((function(i){(0|i)==i&&(i|=0);const A=e[i];t[A]=i})),t},A.der=e("./der")},{"./der":9}],11:[function(e,t,i){"use strict";const A=e("inherits"),r=e("bn.js"),n=e("../base/buffer").DecoderBuffer,o=e("../base/node"),a=e("../constants/der");function s(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){o.call(this,"der",e)}function I(e,t){let i=e.readUInt8(t);if(e.isError(i))return i;const A=a.tagClass[i>>6],r=0==(32&i);if(31==(31&i)){let A=i;for(i=0;128==(128&A);){if(A=e.readUInt8(t),e.isError(A))return A;i<<=7,i|=127&A}}else i&=31;return{cls:A,primitive:r,tag:i,tagStr:a.tag[i]}}function f(e,t,i){let A=e.readUInt8(i);if(e.isError(A))return A;if(!t&&128===A)return null;if(0==(128&A))return A;const r=127&A;if(r>4)return e.error("length octect is too long");A=0;for(let t=0;t=31)return A.error("Multi-octet tag encoding unsupported");t||(r|=32);return r|=o.tagClassByName[i||"universal"]<<6,r}(e,t,i,this.reporter);if(A.length<128){const e=r.alloc(2);return e[0]=n,e[1]=A.length,this._createEncoderBuffer([e,A])}let a=1;for(let e=A.length;e>=256;e>>=8)a++;const s=r.alloc(2+a);s[0]=n,s[1]=128|a;for(let e=1+a,t=A.length;t>0;e--,t>>=8)s[e]=255&t;return this._createEncoderBuffer([s,A])},s.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=r.alloc(2*e.length);for(let i=0;i=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;i>>=7)A++}const n=r.alloc(A);let o=n.length-1;for(let t=e.length-1;t>=0;t--){let i=e[t];for(n[o--]=127&i;(i>>=7)>0;)n[o--]=128|127&i}return this._createEncoderBuffer(n)},s.prototype._encodeTime=function(e,t){let i;const A=new Date(e);return"gentime"===t?i=[c(A.getUTCFullYear()),c(A.getUTCMonth()+1),c(A.getUTCDate()),c(A.getUTCHours()),c(A.getUTCMinutes()),c(A.getUTCSeconds()),"Z"].join(""):"utctime"===t?i=[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(i,"octstr")},s.prototype._encodeNull=function(){return this._createEncoderBuffer("")},s.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&&!r.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=r.from(t)}if(r.isBuffer(e)){let t=e.length;0===e.length&&t++;const i=r.alloc(t);return e.copy(i),0===e.length&&(i[0]=0),this._createEncoderBuffer(i)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let i=1;for(let t=e;t>=256;t>>=8)i++;const A=new Array(i);for(let t=A.length-1;t>=0;t--)A[t]=255&e,e>>=8;return 128&A[0]&&A.unshift(0),this._createEncoderBuffer(r.from(A))},s.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},s.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},s.prototype._skipDefault=function(e,t,i){const A=this._baseState;let r;if(null===A.default)return!1;const n=e.join();if(void 0===A.defaultBuffer&&(A.defaultBuffer=this._encodeValue(A.default,t,i).join()),n.length!==A.defaultBuffer.length)return!1;for(r=0;r=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};A.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),A.forEach(["post","put","patch"],(function(e){c.headers[e]=A.merge(o)})),t.exports=c}).call(this)}).call(this,e("_process"))},{"./adapters/http":18,"./adapters/xhr":18,"./core/enhanceError":28,"./helpers/normalizeHeaderName":41,"./utils":45,_process:185}],33:[function(e,t,i){t.exports={version:"0.25.0"}},{}],34:[function(e,t,i){"use strict";t.exports=function(e,t){return function(){for(var i=new Array(arguments.length),A=0;A=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([i]):o[t]?o[t]+", "+i:i}})),o):o}},{"./../utils":45}],43:[function(e,t,i){"use strict";t.exports=function(e){return function(t){return e.apply(null,t)}}},{}],44:[function(e,t,i){"use strict";var A=e("../env/data").version,r={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){r[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}}));var n={};r.transitional=function(e,t,i){function r(e,t){return"[Axios v"+A+"] Transitional option '"+e+"'"+t+(i?". "+i:"")}return function(i,A,o){if(!1===e)throw new Error(r(A," has been removed"+(t?" in "+t:"")));return t&&!n[A]&&(n[A]=!0,console.warn(r(A," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(i,A,o)}},t.exports={assertOptions:function(e,t,i){if("object"!=typeof e)throw new TypeError("options must be an object");for(var A=Object.keys(e),r=A.length;r-- >0;){var n=A[r],o=t[n];if(o){var a=e[n],s=void 0===a||o(a,n,e);if(!0!==s)throw new TypeError("option "+n+" must be "+s)}else if(!0!==i)throw Error("Unknown option "+n)}},validators:r}},{"../env/data":33}],45:[function(e,t,i){"use strict";var A=e("./helpers/bind"),r=Object.prototype.toString;function n(e){return Array.isArray(e)}function o(e){return void 0===e}function a(e){return"[object ArrayBuffer]"===r.call(e)}function s(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==r.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function I(e){return"[object Function]"===r.call(e)}function f(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),n(e))for(var i=0,A=e.length;i0?o-4:o;for(i=0;i>16&255,s[I++]=t>>8&255,s[I++]=255&t;2===a&&(t=r[e.charCodeAt(i)]<<2|r[e.charCodeAt(i+1)]>>4,s[I++]=255&t);1===a&&(t=r[e.charCodeAt(i)]<<10|r[e.charCodeAt(i+1)]<<4|r[e.charCodeAt(i+2)]>>2,s[I++]=t>>8&255,s[I++]=255&t);return s},i.fromByteArray=function(e){for(var t,i=e.length,r=i%3,n=[],o=16383,a=0,s=i-r;as?s:a+o));1===r?(t=e[i-1],n.push(A[t>>2]+A[t<<4&63]+"==")):2===r&&(t=(e[i-2]<<8)+e[i-1],n.push(A[t>>10]+A[t>>4&63]+A[t<<2&63]+"="));return n.join("")};for(var A=[],r=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var i=e.indexOf("=");return-1===i&&(i=t),[i,i===t?0:4-i%4]}function I(e,t,i){for(var r,n,o=[],a=t;a>18&63]+A[n>>12&63]+A[n>>6&63]+A[63&n]);return o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},{}],47:[function(e,t,i){!function(t,i){"use strict";function A(e,t){if(!e)throw new Error(t||"Assertion failed")}function r(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}function n(e,t,i){if(n.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(i=t,t=10),this._init(e||0,t||10,i||"be"))}var o;"object"==typeof t?t.exports=n:i.BN=n,n.BN=n,n.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:e("buffer").Buffer}catch(e){}function a(e,t){var i=e.charCodeAt(t);return i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:i-48&15}function s(e,t,i){var A=a(e,i);return i-1>=t&&(A|=a(e,i-1)<<4),A}function c(e,t,i,A){for(var r=0,n=Math.min(e.length,i),o=t;o=49?a-49+10:a>=17?a-17+10:a}return r}n.isBN=function(e){return e instanceof n||null!==e&&"object"==typeof e&&e.constructor.wordSize===n.wordSize&&Array.isArray(e.words)},n.max=function(e,t){return e.cmp(t)>0?e:t},n.min=function(e,t){return e.cmp(t)<0?e:t},n.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),A(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;r-=3)o=e[r]|e[r-1]<<8|e[r-2]<<16,this.words[n]|=o<>>26-a&67108863,(a+=24)>=26&&(a-=26,n++);else if("le"===i)for(r=0,n=0;r>>26-a&67108863,(a+=24)>=26&&(a-=26,n++);return this.strip()},n.prototype._parseHex=function(e,t,i){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var A=0;A=t;A-=2)r=s(e,t,A)<=18?(n-=18,o+=1,this.words[o]|=r>>>26):n+=8;else for(A=(e.length-t)%2==0?t+1:t;A=18?(n-=18,o+=1,this.words[o]|=r>>>26):n+=8;this.strip()},n.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var A=0,r=1;r<=67108863;r*=t)A++;A--,r=r/t|0;for(var n=e.length-i,o=n%A,a=Math.min(n,n-o)+i,s=0,I=i;I1&&0===this.words[this.length-1];)this.length--;return this._normSign()},n.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},n.prototype.inspect=function(){return(this.red?""};var I=["","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];function u(e,t,i){i.negative=t.negative^e.negative;var A=e.length+t.length|0;i.length=A,A=A-1|0;var r=0|e.words[0],n=0|t.words[0],o=r*n,a=67108863&o,s=o/67108864|0;i.words[0]=a;for(var c=1;c>>26,f=67108863&s,h=Math.min(c,t.length-1),u=Math.max(0,c-e.length+1);u<=h;u++){var g=c-u|0;I+=(o=(r=0|e.words[g])*(n=0|t.words[u])+f)/67108864|0,f=67108863&o}i.words[c]=0|f,s=0|I}return 0!==s?i.words[c]=0|s:i.length--,i.strip()}n.prototype.toString=function(e,t){var i;if(t=0|t||1,16===(e=e||10)||"hex"===e){i="";for(var r=0,n=0,o=0;o>>24-r&16777215)||o!==this.length-1?I[6-s.length]+s+i:s+i,(r+=2)>=26&&(r-=26,o--)}for(0!==n&&(i=n.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var c=f[e],u=h[e];i="";var g=this.clone();for(g.negative=0;!g.isZero();){var d=g.modn(u).toString(e);i=(g=g.idivn(u)).isZero()?d+i:I[c-d.length]+d+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}A(!1,"Base should be between 2 and 36")},n.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},n.prototype.toJSON=function(){return this.toString(16)},n.prototype.toBuffer=function(e,t){return A(void 0!==o),this.toArrayLike(o,e,t)},n.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},n.prototype.toArrayLike=function(e,t,i){var r=this.byteLength(),n=i||Math.max(1,r);A(r<=n,"byte array longer than desired length"),A(n>0,"Requested array length <= 0"),this.strip();var o,a,s="le"===t,c=new e(n),I=this.clone();if(s){for(a=0;!I.isZero();a++)o=I.andln(255),I.iushrn(8),c[a]=o;for(;a=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},n.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return 0==(8191&t)&&(i+=13,t>>>=13),0==(127&t)&&(i+=7,t>>>=7),0==(15&t)&&(i+=4,t>>>=4),0==(3&t)&&(i+=2,t>>>=2),0==(1&t)&&i++,i},n.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},n.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},n.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},n.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;ie.length?this.clone().iand(e):e.clone().iand(this)},n.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},n.prototype.iuxor=function(e){var t,i;this.length>e.length?(t=this,i=e):(t=e,i=this);for(var A=0;Ae.length?this.clone().ixor(e):e.clone().ixor(this)},n.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},n.prototype.inotn=function(e){A("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&67108863>>26-i),this.strip()},n.prototype.notn=function(e){return this.clone().inotn(e)},n.prototype.setn=function(e,t){A("number"==typeof e&&e>=0);var i=e/26|0,r=e%26;return this._expand(i+1),this.words[i]=t?this.words[i]|1<e.length?(i=this,A=e):(i=e,A=this);for(var r=0,n=0;n>>26;for(;0!==r&&n>>26;if(this.length=i.length,0!==r)this.words[this.length]=r,this.length++;else if(i!==this)for(;ne.length?this.clone().iadd(e):e.clone().iadd(this)},n.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 i,A,r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(i=this,A=e):(i=e,A=this);for(var n=0,o=0;o>26,this.words[o]=67108863&t;for(;0!==n&&o>26,this.words[o]=67108863&t;if(0===n&&o>>13,u=0|o[1],g=8191&u,d=u>>>13,l=0|o[2],B=8191&l,p=l>>>13,C=0|o[3],Q=8191&C,E=C>>>13,y=0|o[4],b=8191&y,m=y>>>13,w=0|o[5],v=8191&w,D=w>>>13,S=0|o[6],F=8191&S,k=S>>>13,M=0|o[7],N=8191&M,U=M>>>13,G=0|o[8],H=8191&G,_=G>>>13,R=0|o[9],K=8191&R,q=R>>>13,x=0|a[0],J=8191&x,Y=x>>>13,O=0|a[1],L=8191&O,P=O>>>13,Z=0|a[2],z=8191&Z,T=Z>>>13,X=0|a[3],V=8191&X,j=X>>>13,W=0|a[4],$=8191&W,ee=W>>>13,te=0|a[5],ie=8191&te,Ae=te>>>13,re=0|a[6],ne=8191&re,oe=re>>>13,ae=0|a[7],se=8191&ae,ce=ae>>>13,Ie=0|a[8],fe=8191&Ie,he=Ie>>>13,ue=0|a[9],ge=8191&ue,de=ue>>>13;i.negative=e.negative^t.negative,i.length=19;var le=(c+(A=Math.imul(f,J))|0)+((8191&(r=(r=Math.imul(f,Y))+Math.imul(h,J)|0))<<13)|0;c=((n=Math.imul(h,Y))+(r>>>13)|0)+(le>>>26)|0,le&=67108863,A=Math.imul(g,J),r=(r=Math.imul(g,Y))+Math.imul(d,J)|0,n=Math.imul(d,Y);var Be=(c+(A=A+Math.imul(f,L)|0)|0)+((8191&(r=(r=r+Math.imul(f,P)|0)+Math.imul(h,L)|0))<<13)|0;c=((n=n+Math.imul(h,P)|0)+(r>>>13)|0)+(Be>>>26)|0,Be&=67108863,A=Math.imul(B,J),r=(r=Math.imul(B,Y))+Math.imul(p,J)|0,n=Math.imul(p,Y),A=A+Math.imul(g,L)|0,r=(r=r+Math.imul(g,P)|0)+Math.imul(d,L)|0,n=n+Math.imul(d,P)|0;var pe=(c+(A=A+Math.imul(f,z)|0)|0)+((8191&(r=(r=r+Math.imul(f,T)|0)+Math.imul(h,z)|0))<<13)|0;c=((n=n+Math.imul(h,T)|0)+(r>>>13)|0)+(pe>>>26)|0,pe&=67108863,A=Math.imul(Q,J),r=(r=Math.imul(Q,Y))+Math.imul(E,J)|0,n=Math.imul(E,Y),A=A+Math.imul(B,L)|0,r=(r=r+Math.imul(B,P)|0)+Math.imul(p,L)|0,n=n+Math.imul(p,P)|0,A=A+Math.imul(g,z)|0,r=(r=r+Math.imul(g,T)|0)+Math.imul(d,z)|0,n=n+Math.imul(d,T)|0;var Ce=(c+(A=A+Math.imul(f,V)|0)|0)+((8191&(r=(r=r+Math.imul(f,j)|0)+Math.imul(h,V)|0))<<13)|0;c=((n=n+Math.imul(h,j)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,A=Math.imul(b,J),r=(r=Math.imul(b,Y))+Math.imul(m,J)|0,n=Math.imul(m,Y),A=A+Math.imul(Q,L)|0,r=(r=r+Math.imul(Q,P)|0)+Math.imul(E,L)|0,n=n+Math.imul(E,P)|0,A=A+Math.imul(B,z)|0,r=(r=r+Math.imul(B,T)|0)+Math.imul(p,z)|0,n=n+Math.imul(p,T)|0,A=A+Math.imul(g,V)|0,r=(r=r+Math.imul(g,j)|0)+Math.imul(d,V)|0,n=n+Math.imul(d,j)|0;var Qe=(c+(A=A+Math.imul(f,$)|0)|0)+((8191&(r=(r=r+Math.imul(f,ee)|0)+Math.imul(h,$)|0))<<13)|0;c=((n=n+Math.imul(h,ee)|0)+(r>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,A=Math.imul(v,J),r=(r=Math.imul(v,Y))+Math.imul(D,J)|0,n=Math.imul(D,Y),A=A+Math.imul(b,L)|0,r=(r=r+Math.imul(b,P)|0)+Math.imul(m,L)|0,n=n+Math.imul(m,P)|0,A=A+Math.imul(Q,z)|0,r=(r=r+Math.imul(Q,T)|0)+Math.imul(E,z)|0,n=n+Math.imul(E,T)|0,A=A+Math.imul(B,V)|0,r=(r=r+Math.imul(B,j)|0)+Math.imul(p,V)|0,n=n+Math.imul(p,j)|0,A=A+Math.imul(g,$)|0,r=(r=r+Math.imul(g,ee)|0)+Math.imul(d,$)|0,n=n+Math.imul(d,ee)|0;var Ee=(c+(A=A+Math.imul(f,ie)|0)|0)+((8191&(r=(r=r+Math.imul(f,Ae)|0)+Math.imul(h,ie)|0))<<13)|0;c=((n=n+Math.imul(h,Ae)|0)+(r>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,A=Math.imul(F,J),r=(r=Math.imul(F,Y))+Math.imul(k,J)|0,n=Math.imul(k,Y),A=A+Math.imul(v,L)|0,r=(r=r+Math.imul(v,P)|0)+Math.imul(D,L)|0,n=n+Math.imul(D,P)|0,A=A+Math.imul(b,z)|0,r=(r=r+Math.imul(b,T)|0)+Math.imul(m,z)|0,n=n+Math.imul(m,T)|0,A=A+Math.imul(Q,V)|0,r=(r=r+Math.imul(Q,j)|0)+Math.imul(E,V)|0,n=n+Math.imul(E,j)|0,A=A+Math.imul(B,$)|0,r=(r=r+Math.imul(B,ee)|0)+Math.imul(p,$)|0,n=n+Math.imul(p,ee)|0,A=A+Math.imul(g,ie)|0,r=(r=r+Math.imul(g,Ae)|0)+Math.imul(d,ie)|0,n=n+Math.imul(d,Ae)|0;var ye=(c+(A=A+Math.imul(f,ne)|0)|0)+((8191&(r=(r=r+Math.imul(f,oe)|0)+Math.imul(h,ne)|0))<<13)|0;c=((n=n+Math.imul(h,oe)|0)+(r>>>13)|0)+(ye>>>26)|0,ye&=67108863,A=Math.imul(N,J),r=(r=Math.imul(N,Y))+Math.imul(U,J)|0,n=Math.imul(U,Y),A=A+Math.imul(F,L)|0,r=(r=r+Math.imul(F,P)|0)+Math.imul(k,L)|0,n=n+Math.imul(k,P)|0,A=A+Math.imul(v,z)|0,r=(r=r+Math.imul(v,T)|0)+Math.imul(D,z)|0,n=n+Math.imul(D,T)|0,A=A+Math.imul(b,V)|0,r=(r=r+Math.imul(b,j)|0)+Math.imul(m,V)|0,n=n+Math.imul(m,j)|0,A=A+Math.imul(Q,$)|0,r=(r=r+Math.imul(Q,ee)|0)+Math.imul(E,$)|0,n=n+Math.imul(E,ee)|0,A=A+Math.imul(B,ie)|0,r=(r=r+Math.imul(B,Ae)|0)+Math.imul(p,ie)|0,n=n+Math.imul(p,Ae)|0,A=A+Math.imul(g,ne)|0,r=(r=r+Math.imul(g,oe)|0)+Math.imul(d,ne)|0,n=n+Math.imul(d,oe)|0;var be=(c+(A=A+Math.imul(f,se)|0)|0)+((8191&(r=(r=r+Math.imul(f,ce)|0)+Math.imul(h,se)|0))<<13)|0;c=((n=n+Math.imul(h,ce)|0)+(r>>>13)|0)+(be>>>26)|0,be&=67108863,A=Math.imul(H,J),r=(r=Math.imul(H,Y))+Math.imul(_,J)|0,n=Math.imul(_,Y),A=A+Math.imul(N,L)|0,r=(r=r+Math.imul(N,P)|0)+Math.imul(U,L)|0,n=n+Math.imul(U,P)|0,A=A+Math.imul(F,z)|0,r=(r=r+Math.imul(F,T)|0)+Math.imul(k,z)|0,n=n+Math.imul(k,T)|0,A=A+Math.imul(v,V)|0,r=(r=r+Math.imul(v,j)|0)+Math.imul(D,V)|0,n=n+Math.imul(D,j)|0,A=A+Math.imul(b,$)|0,r=(r=r+Math.imul(b,ee)|0)+Math.imul(m,$)|0,n=n+Math.imul(m,ee)|0,A=A+Math.imul(Q,ie)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(E,ie)|0,n=n+Math.imul(E,Ae)|0,A=A+Math.imul(B,ne)|0,r=(r=r+Math.imul(B,oe)|0)+Math.imul(p,ne)|0,n=n+Math.imul(p,oe)|0,A=A+Math.imul(g,se)|0,r=(r=r+Math.imul(g,ce)|0)+Math.imul(d,se)|0,n=n+Math.imul(d,ce)|0;var me=(c+(A=A+Math.imul(f,fe)|0)|0)+((8191&(r=(r=r+Math.imul(f,he)|0)+Math.imul(h,fe)|0))<<13)|0;c=((n=n+Math.imul(h,he)|0)+(r>>>13)|0)+(me>>>26)|0,me&=67108863,A=Math.imul(K,J),r=(r=Math.imul(K,Y))+Math.imul(q,J)|0,n=Math.imul(q,Y),A=A+Math.imul(H,L)|0,r=(r=r+Math.imul(H,P)|0)+Math.imul(_,L)|0,n=n+Math.imul(_,P)|0,A=A+Math.imul(N,z)|0,r=(r=r+Math.imul(N,T)|0)+Math.imul(U,z)|0,n=n+Math.imul(U,T)|0,A=A+Math.imul(F,V)|0,r=(r=r+Math.imul(F,j)|0)+Math.imul(k,V)|0,n=n+Math.imul(k,j)|0,A=A+Math.imul(v,$)|0,r=(r=r+Math.imul(v,ee)|0)+Math.imul(D,$)|0,n=n+Math.imul(D,ee)|0,A=A+Math.imul(b,ie)|0,r=(r=r+Math.imul(b,Ae)|0)+Math.imul(m,ie)|0,n=n+Math.imul(m,Ae)|0,A=A+Math.imul(Q,ne)|0,r=(r=r+Math.imul(Q,oe)|0)+Math.imul(E,ne)|0,n=n+Math.imul(E,oe)|0,A=A+Math.imul(B,se)|0,r=(r=r+Math.imul(B,ce)|0)+Math.imul(p,se)|0,n=n+Math.imul(p,ce)|0,A=A+Math.imul(g,fe)|0,r=(r=r+Math.imul(g,he)|0)+Math.imul(d,fe)|0,n=n+Math.imul(d,he)|0;var we=(c+(A=A+Math.imul(f,ge)|0)|0)+((8191&(r=(r=r+Math.imul(f,de)|0)+Math.imul(h,ge)|0))<<13)|0;c=((n=n+Math.imul(h,de)|0)+(r>>>13)|0)+(we>>>26)|0,we&=67108863,A=Math.imul(K,L),r=(r=Math.imul(K,P))+Math.imul(q,L)|0,n=Math.imul(q,P),A=A+Math.imul(H,z)|0,r=(r=r+Math.imul(H,T)|0)+Math.imul(_,z)|0,n=n+Math.imul(_,T)|0,A=A+Math.imul(N,V)|0,r=(r=r+Math.imul(N,j)|0)+Math.imul(U,V)|0,n=n+Math.imul(U,j)|0,A=A+Math.imul(F,$)|0,r=(r=r+Math.imul(F,ee)|0)+Math.imul(k,$)|0,n=n+Math.imul(k,ee)|0,A=A+Math.imul(v,ie)|0,r=(r=r+Math.imul(v,Ae)|0)+Math.imul(D,ie)|0,n=n+Math.imul(D,Ae)|0,A=A+Math.imul(b,ne)|0,r=(r=r+Math.imul(b,oe)|0)+Math.imul(m,ne)|0,n=n+Math.imul(m,oe)|0,A=A+Math.imul(Q,se)|0,r=(r=r+Math.imul(Q,ce)|0)+Math.imul(E,se)|0,n=n+Math.imul(E,ce)|0,A=A+Math.imul(B,fe)|0,r=(r=r+Math.imul(B,he)|0)+Math.imul(p,fe)|0,n=n+Math.imul(p,he)|0;var ve=(c+(A=A+Math.imul(g,ge)|0)|0)+((8191&(r=(r=r+Math.imul(g,de)|0)+Math.imul(d,ge)|0))<<13)|0;c=((n=n+Math.imul(d,de)|0)+(r>>>13)|0)+(ve>>>26)|0,ve&=67108863,A=Math.imul(K,z),r=(r=Math.imul(K,T))+Math.imul(q,z)|0,n=Math.imul(q,T),A=A+Math.imul(H,V)|0,r=(r=r+Math.imul(H,j)|0)+Math.imul(_,V)|0,n=n+Math.imul(_,j)|0,A=A+Math.imul(N,$)|0,r=(r=r+Math.imul(N,ee)|0)+Math.imul(U,$)|0,n=n+Math.imul(U,ee)|0,A=A+Math.imul(F,ie)|0,r=(r=r+Math.imul(F,Ae)|0)+Math.imul(k,ie)|0,n=n+Math.imul(k,Ae)|0,A=A+Math.imul(v,ne)|0,r=(r=r+Math.imul(v,oe)|0)+Math.imul(D,ne)|0,n=n+Math.imul(D,oe)|0,A=A+Math.imul(b,se)|0,r=(r=r+Math.imul(b,ce)|0)+Math.imul(m,se)|0,n=n+Math.imul(m,ce)|0,A=A+Math.imul(Q,fe)|0,r=(r=r+Math.imul(Q,he)|0)+Math.imul(E,fe)|0,n=n+Math.imul(E,he)|0;var De=(c+(A=A+Math.imul(B,ge)|0)|0)+((8191&(r=(r=r+Math.imul(B,de)|0)+Math.imul(p,ge)|0))<<13)|0;c=((n=n+Math.imul(p,de)|0)+(r>>>13)|0)+(De>>>26)|0,De&=67108863,A=Math.imul(K,V),r=(r=Math.imul(K,j))+Math.imul(q,V)|0,n=Math.imul(q,j),A=A+Math.imul(H,$)|0,r=(r=r+Math.imul(H,ee)|0)+Math.imul(_,$)|0,n=n+Math.imul(_,ee)|0,A=A+Math.imul(N,ie)|0,r=(r=r+Math.imul(N,Ae)|0)+Math.imul(U,ie)|0,n=n+Math.imul(U,Ae)|0,A=A+Math.imul(F,ne)|0,r=(r=r+Math.imul(F,oe)|0)+Math.imul(k,ne)|0,n=n+Math.imul(k,oe)|0,A=A+Math.imul(v,se)|0,r=(r=r+Math.imul(v,ce)|0)+Math.imul(D,se)|0,n=n+Math.imul(D,ce)|0,A=A+Math.imul(b,fe)|0,r=(r=r+Math.imul(b,he)|0)+Math.imul(m,fe)|0,n=n+Math.imul(m,he)|0;var Se=(c+(A=A+Math.imul(Q,ge)|0)|0)+((8191&(r=(r=r+Math.imul(Q,de)|0)+Math.imul(E,ge)|0))<<13)|0;c=((n=n+Math.imul(E,de)|0)+(r>>>13)|0)+(Se>>>26)|0,Se&=67108863,A=Math.imul(K,$),r=(r=Math.imul(K,ee))+Math.imul(q,$)|0,n=Math.imul(q,ee),A=A+Math.imul(H,ie)|0,r=(r=r+Math.imul(H,Ae)|0)+Math.imul(_,ie)|0,n=n+Math.imul(_,Ae)|0,A=A+Math.imul(N,ne)|0,r=(r=r+Math.imul(N,oe)|0)+Math.imul(U,ne)|0,n=n+Math.imul(U,oe)|0,A=A+Math.imul(F,se)|0,r=(r=r+Math.imul(F,ce)|0)+Math.imul(k,se)|0,n=n+Math.imul(k,ce)|0,A=A+Math.imul(v,fe)|0,r=(r=r+Math.imul(v,he)|0)+Math.imul(D,fe)|0,n=n+Math.imul(D,he)|0;var Fe=(c+(A=A+Math.imul(b,ge)|0)|0)+((8191&(r=(r=r+Math.imul(b,de)|0)+Math.imul(m,ge)|0))<<13)|0;c=((n=n+Math.imul(m,de)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,A=Math.imul(K,ie),r=(r=Math.imul(K,Ae))+Math.imul(q,ie)|0,n=Math.imul(q,Ae),A=A+Math.imul(H,ne)|0,r=(r=r+Math.imul(H,oe)|0)+Math.imul(_,ne)|0,n=n+Math.imul(_,oe)|0,A=A+Math.imul(N,se)|0,r=(r=r+Math.imul(N,ce)|0)+Math.imul(U,se)|0,n=n+Math.imul(U,ce)|0,A=A+Math.imul(F,fe)|0,r=(r=r+Math.imul(F,he)|0)+Math.imul(k,fe)|0,n=n+Math.imul(k,he)|0;var ke=(c+(A=A+Math.imul(v,ge)|0)|0)+((8191&(r=(r=r+Math.imul(v,de)|0)+Math.imul(D,ge)|0))<<13)|0;c=((n=n+Math.imul(D,de)|0)+(r>>>13)|0)+(ke>>>26)|0,ke&=67108863,A=Math.imul(K,ne),r=(r=Math.imul(K,oe))+Math.imul(q,ne)|0,n=Math.imul(q,oe),A=A+Math.imul(H,se)|0,r=(r=r+Math.imul(H,ce)|0)+Math.imul(_,se)|0,n=n+Math.imul(_,ce)|0,A=A+Math.imul(N,fe)|0,r=(r=r+Math.imul(N,he)|0)+Math.imul(U,fe)|0,n=n+Math.imul(U,he)|0;var Me=(c+(A=A+Math.imul(F,ge)|0)|0)+((8191&(r=(r=r+Math.imul(F,de)|0)+Math.imul(k,ge)|0))<<13)|0;c=((n=n+Math.imul(k,de)|0)+(r>>>13)|0)+(Me>>>26)|0,Me&=67108863,A=Math.imul(K,se),r=(r=Math.imul(K,ce))+Math.imul(q,se)|0,n=Math.imul(q,ce),A=A+Math.imul(H,fe)|0,r=(r=r+Math.imul(H,he)|0)+Math.imul(_,fe)|0,n=n+Math.imul(_,he)|0;var Ne=(c+(A=A+Math.imul(N,ge)|0)|0)+((8191&(r=(r=r+Math.imul(N,de)|0)+Math.imul(U,ge)|0))<<13)|0;c=((n=n+Math.imul(U,de)|0)+(r>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,A=Math.imul(K,fe),r=(r=Math.imul(K,he))+Math.imul(q,fe)|0,n=Math.imul(q,he);var Ue=(c+(A=A+Math.imul(H,ge)|0)|0)+((8191&(r=(r=r+Math.imul(H,de)|0)+Math.imul(_,ge)|0))<<13)|0;c=((n=n+Math.imul(_,de)|0)+(r>>>13)|0)+(Ue>>>26)|0,Ue&=67108863;var Ge=(c+(A=Math.imul(K,ge))|0)+((8191&(r=(r=Math.imul(K,de))+Math.imul(q,ge)|0))<<13)|0;return c=((n=Math.imul(q,de))+(r>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,s[0]=le,s[1]=Be,s[2]=pe,s[3]=Ce,s[4]=Qe,s[5]=Ee,s[6]=ye,s[7]=be,s[8]=me,s[9]=we,s[10]=ve,s[11]=De,s[12]=Se,s[13]=Fe,s[14]=ke,s[15]=Me,s[16]=Ne,s[17]=Ue,s[18]=Ge,0!==c&&(s[19]=c,i.length++),i};function d(e,t,i){return(new l).mulp(e,t,i)}function l(e,t){this.x=e,this.y=t}Math.imul||(g=u),n.prototype.mulTo=function(e,t){var i,A=this.length+e.length;return i=10===this.length&&10===e.length?g(this,e,t):A<63?u(this,e,t):A<1024?function(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var A=0,r=0,n=0;n>>26)|0)>>>26,o&=67108863}i.words[n]=a,A=o,o=r}return 0!==A?i.words[n]=A:i.length--,i.strip()}(this,e,t):d(this,e,t),i},l.prototype.makeRBT=function(e){for(var t=new Array(e),i=n.prototype._countBits(e)-1,A=0;A>=1;return A},l.prototype.permute=function(e,t,i,A,r,n){for(var o=0;o>>=1)r++;return 1<>>=13,i[2*o+1]=8191&n,n>>>=13;for(o=2*t;o>=26,t+=r/67108864|0,t+=n>>>26,this.words[i]=67108863&n}return 0!==t&&(this.words[i]=t,this.length++),this},n.prototype.muln=function(e){return this.clone().imuln(e)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),i=0;i>>r}return t}(e);if(0===t.length)return new n(1);for(var i=this,A=0;A=0);var t,i=e%26,r=(e-i)/26,n=67108863>>>26-i<<26-i;if(0!==i){var o=0;for(t=0;t>>26-i}o&&(this.words[t]=o,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0),r=t?(t-t%26)/26:0;var n=e%26,o=Math.min((e-n)/26,this.length),a=67108863^67108863>>>n<o)for(this.length-=o,c=0;c=0&&(0!==I||c>=r);c--){var f=0|this.words[c];this.words[c]=I<<26-n|f>>>n,I=f&a}return s&&0!==I&&(s.words[s.length++]=I),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},n.prototype.ishrn=function(e,t,i){return A(0===this.negative),this.iushrn(e,t,i)},n.prototype.shln=function(e){return this.clone().ishln(e)},n.prototype.ushln=function(e){return this.clone().iushln(e)},n.prototype.shrn=function(e){return this.clone().ishrn(e)},n.prototype.ushrn=function(e){return this.clone().iushrn(e)},n.prototype.testn=function(e){A("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26,r=1<=0);var t=e%26,i=(e-t)/26;if(A(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==t&&i++,this.length=Math.min(i,this.length),0!==t){var r=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},n.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)-(s/67108864|0),this.words[r+i]=67108863&n}for(;r>26,this.words[r+i]=67108863&n;if(0===a)return this.strip();for(A(-1===a),a=0,r=0;r>26,this.words[r]=67108863&n;return this.negative=1,this.strip()},n.prototype._wordDiv=function(e,t){var i=(this.length,e.length),A=this.clone(),r=e,o=0|r.words[r.length-1];0!==(i=26-this._countBits(o))&&(r=r.ushln(i),A.iushln(i),o=0|r.words[r.length-1]);var a,s=A.length-r.length;if("mod"!==t){(a=new n(null)).length=s+1,a.words=new Array(a.length);for(var c=0;c=0;f--){var h=67108864*(0|A.words[r.length+f])+(0|A.words[r.length+f-1]);for(h=Math.min(h/o|0,67108863),A._ishlnsubmul(r,h,f);0!==A.negative;)h--,A.negative=0,A._ishlnsubmul(r,1,f),A.isZero()||(A.negative^=1);a&&(a.words[f]=h)}return a&&a.strip(),A.strip(),"div"!==t&&0!==i&&A.iushrn(i),{div:a||null,mod:A}},n.prototype.divmod=function(e,t,i){return A(!e.isZero()),this.isZero()?{div:new n(0),mod:new n(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(r=a.div.neg()),"div"!==t&&(o=a.mod.neg(),i&&0!==o.negative&&o.iadd(e)),{div:r,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(r=a.div.neg()),{div:r,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),i&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new n(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new n(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new n(this.modn(e.words[0]))}:this._wordDiv(e,t);var r,o,a},n.prototype.div=function(e){return this.divmod(e,"div",!1).div},n.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},n.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},n.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,A=e.ushrn(1),r=e.andln(1),n=i.cmp(A);return n<0||1===r&&0===n?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},n.prototype.modn=function(e){A(e<=67108863);for(var t=(1<<26)%e,i=0,r=this.length-1;r>=0;r--)i=(t*i+(0|this.words[r]))%e;return i},n.prototype.idivn=function(e){A(e<=67108863);for(var t=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*t;this.words[i]=r/e|0,t=r%e}return this.strip()},n.prototype.divn=function(e){return this.clone().idivn(e)},n.prototype.egcd=function(e){A(0===e.negative),A(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new n(1),o=new n(0),a=new n(0),s=new n(1),c=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++c;for(var I=i.clone(),f=t.clone();!t.isZero();){for(var h=0,u=1;0==(t.words[0]&u)&&h<26;++h,u<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(I),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var g=0,d=1;0==(i.words[0]&d)&&g<26;++g,d<<=1);if(g>0)for(i.iushrn(g);g-- >0;)(a.isOdd()||s.isOdd())&&(a.iadd(I),s.isub(f)),a.iushrn(1),s.iushrn(1);t.cmp(i)>=0?(t.isub(i),r.isub(a),o.isub(s)):(i.isub(t),a.isub(r),s.isub(o))}return{a:a,b:s,gcd:i.iushln(c)}},n.prototype._invmp=function(e){A(0===e.negative),A(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r,o=new n(1),a=new n(0),s=i.clone();t.cmpn(1)>0&&i.cmpn(1)>0;){for(var c=0,I=1;0==(t.words[0]&I)&&c<26;++c,I<<=1);if(c>0)for(t.iushrn(c);c-- >0;)o.isOdd()&&o.iadd(s),o.iushrn(1);for(var f=0,h=1;0==(i.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(i.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);t.cmp(i)>=0?(t.isub(i),o.isub(a)):(i.isub(t),a.isub(o))}return(r=0===t.cmpn(1)?o:a).cmpn(0)<0&&r.iadd(e),r},n.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var A=0;t.isEven()&&i.isEven();A++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var r=t.cmp(i);if(r<0){var n=t;t=i,i=n}else if(0===r||0===i.cmpn(1))break;t.isub(i)}return i.iushln(A)},n.prototype.invm=function(e){return this.egcd(e).a.umod(e)},n.prototype.isEven=function(){return 0==(1&this.words[0])},n.prototype.isOdd=function(){return 1==(1&this.words[0])},n.prototype.andln=function(e){return this.words[0]&e},n.prototype.bincn=function(e){A("number"==typeof e);var t=e%26,i=(e-t)/26,r=1<>>26,a&=67108863,this.words[o]=a}return 0!==n&&(this.words[o]=n,this.length++),this},n.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},n.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return-1;if(0===this.negative&&i)return 1;if(this.strip(),this.length>1)t=1;else{i&&(e=-e),A(e<=67108863,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;i--){var A=0|this.words[i],r=0|e.words[i];if(A!==r){Ar&&(t=1);break}}return t},n.prototype.gtn=function(e){return 1===this.cmpn(e)},n.prototype.gt=function(e){return 1===this.cmp(e)},n.prototype.gten=function(e){return this.cmpn(e)>=0},n.prototype.gte=function(e){return this.cmp(e)>=0},n.prototype.ltn=function(e){return-1===this.cmpn(e)},n.prototype.lt=function(e){return-1===this.cmp(e)},n.prototype.lten=function(e){return this.cmpn(e)<=0},n.prototype.lte=function(e){return this.cmp(e)<=0},n.prototype.eqn=function(e){return 0===this.cmpn(e)},n.prototype.eq=function(e){return 0===this.cmp(e)},n.red=function(e){return new b(e)},n.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)},n.prototype.fromRed=function(){return A(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(e){return this.red=e,this},n.prototype.forceRed=function(e){return A(!this.red,"Already a number in reduction context"),this._forceRed(e)},n.prototype.redAdd=function(e){return A(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},n.prototype.redIAdd=function(e){return A(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},n.prototype.redSub=function(e){return A(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},n.prototype.redISub=function(e){return A(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},n.prototype.redShl=function(e){return A(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},n.prototype.redMul=function(e){return A(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},n.prototype.redIMul=function(e){return A(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},n.prototype.redSqr=function(){return A(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return A(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return A(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return A(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return A(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(e){return A(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var B={k256:null,p224:null,p192:null,p25519:null};function p(e,t){this.name=e,this.p=new n(t,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function C(){p.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Q(){p.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){p.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function y(){p.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function b(e){if("string"==typeof e){var t=n._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 m(e){b.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new n(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)}p.prototype._tmp=function(){var e=new n(null);return e.words=new Array(Math.ceil(this.n/13)),e},p.prototype.ireduce=function(e){var t,i=e;do{this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength()}while(t>this.n);var A=t0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},p.prototype.split=function(e,t){e.iushrn(this.n,0,t)},p.prototype.imulK=function(e){return e.imul(this.k)},r(C,p),C.prototype.split=function(e,t){for(var i=4194303,A=Math.min(e.length,9),r=0;r>>22,n=o}n>>>=22,e.words[r-10]=n,0===n&&e.length>10?e.length-=10:e.length-=9},C.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i>>=26,e.words[i]=r,t=A}return 0!==t&&(e.words[e.length++]=t),e},n._prime=function(e){if(B[e])return B[e];var t;if("k256"===e)t=new C;else if("p224"===e)t=new Q;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new y}return B[e]=t,t},b.prototype._verify1=function(e){A(0===e.negative,"red works only with positives"),A(e.red,"red works only with red numbers")},b.prototype._verify2=function(e,t){A(0==(e.negative|t.negative),"red works only with positives"),A(e.red&&e.red===t.red,"red works only with red numbers")},b.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},b.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},b.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},b.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},b.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},b.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return i.cmpn(0)<0&&i.iadd(this.m),i},b.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},b.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},b.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},b.prototype.isqr=function(e){return this.imul(e,e.clone())},b.prototype.sqr=function(e){return this.mul(e,e)},b.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(A(t%2==1),3===t){var i=this.m.add(new n(1)).iushrn(2);return this.pow(e,i)}for(var r=this.m.subn(1),o=0;!r.isZero()&&0===r.andln(1);)o++,r.iushrn(1);A(!r.isZero());var a=new n(1).toRed(this),s=a.redNeg(),c=this.m.subn(1).iushrn(1),I=this.m.bitLength();for(I=new n(2*I*I).toRed(this);0!==this.pow(I,c).cmp(s);)I.redIAdd(s);for(var f=this.pow(I,r),h=this.pow(e,r.addn(1).iushrn(1)),u=this.pow(e,r),g=o;0!==u.cmp(a);){for(var d=u,l=0;0!==d.cmp(a);l++)d=d.redSqr();A(l=0;A--){for(var c=t.words[A],I=s-1;I>=0;I--){var f=c>>I&1;r!==i[0]&&(r=this.sqr(r)),0!==f||0!==o?(o<<=1,o|=f,(4===++a||0===A&&0===I)&&(r=this.mul(r,i[o]),a=0,o=0)):a=0}s=26}return r},b.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},b.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},n.mont=function(e){return new m(e)},r(m,b),m.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},m.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},m.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),A=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(A).iushrn(this.shift),n=r;return r.cmp(this.m)>=0?n=r.isub(this.m):r.cmpn(0)<0&&(n=r.iadd(this.m)),n._forceRed(this)},m.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new n(0)._forceRed(this);var i=e.mul(t),A=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(A).iushrn(this.shift),o=r;return r.cmp(this.m)>=0?o=r.isub(this.m):r.cmpn(0)<0&&(o=r.iadd(this.m)),o._forceRed(this)},m.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t,this)},{buffer:50}],48:[function(e,t,i){var A;function r(e){this.rand=e}if(t.exports=function(e){return A||(A=new r(null)),A.generate(e)},t.exports.Rand=r,r.prototype.generate=function(e){return this._rand(e)},r.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),i=0;i>>24]^I[g>>>16&255]^f[d>>>8&255]^h[255&l]^t[B++],o=c[g>>>24]^I[d>>>16&255]^f[l>>>8&255]^h[255&u]^t[B++],a=c[d>>>24]^I[l>>>16&255]^f[u>>>8&255]^h[255&g]^t[B++],s=c[l>>>24]^I[u>>>16&255]^f[g>>>8&255]^h[255&d]^t[B++],u=n,g=o,d=a,l=s;return n=(A[u>>>24]<<24|A[g>>>16&255]<<16|A[d>>>8&255]<<8|A[255&l])^t[B++],o=(A[g>>>24]<<24|A[d>>>16&255]<<16|A[l>>>8&255]<<8|A[255&u])^t[B++],a=(A[d>>>24]<<24|A[l>>>16&255]<<16|A[u>>>8&255]<<8|A[255&g])^t[B++],s=(A[l>>>24]<<24|A[u>>>16&255]<<16|A[g>>>8&255]<<8|A[255&d])^t[B++],[n>>>=0,o>>>=0,a>>>=0,s>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],s=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var i=[],A=[],r=[[],[],[],[]],n=[[],[],[],[]],o=0,a=0,s=0;s<256;++s){var c=a^a<<1^a<<2^a<<3^a<<4;c=c>>>8^255&c^99,i[o]=c,A[c]=o;var I=e[o],f=e[I],h=e[f],u=257*e[c]^16843008*c;r[0][o]=u<<24|u>>>8,r[1][o]=u<<16|u>>>16,r[2][o]=u<<8|u>>>24,r[3][o]=u,u=16843009*h^65537*f^257*I^16843008*o,n[0][c]=u<<24|u>>>8,n[1][c]=u<<16|u>>>16,n[2][c]=u<<8|u>>>24,n[3][c]=u,0===o?o=a=1:(o=I^e[e[e[h^I]]],a^=e[e[a]])}return{SBOX:i,INV_SBOX:A,SUB_MIX:r,INV_SUB_MIX:n}}();function c(e){this._key=r(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,i=t+6,A=4*(i+1),r=[],n=0;n>>24,o=s.SBOX[o>>>24]<<24|s.SBOX[o>>>16&255]<<16|s.SBOX[o>>>8&255]<<8|s.SBOX[255&o],o^=a[n/t|0]<<24):t>6&&n%t==4&&(o=s.SBOX[o>>>24]<<24|s.SBOX[o>>>16&255]<<16|s.SBOX[o>>>8&255]<<8|s.SBOX[255&o]),r[n]=r[n-t]^o}for(var c=[],I=0;I>>24]]^s.INV_SUB_MIX[1][s.SBOX[h>>>16&255]]^s.INV_SUB_MIX[2][s.SBOX[h>>>8&255]]^s.INV_SUB_MIX[3][s.SBOX[255&h]]}this._nRounds=i,this._keySchedule=r,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(e){return o(e=r(e),this._keySchedule,s.SUB_MIX,s.SBOX,this._nRounds)},c.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),i=A.allocUnsafe(16);return i.writeUInt32BE(t[0],0),i.writeUInt32BE(t[1],4),i.writeUInt32BE(t[2],8),i.writeUInt32BE(t[3],12),i},c.prototype.decryptBlock=function(e){var t=(e=r(e))[1];e[1]=e[3],e[3]=t;var i=o(e,this._invKeySchedule,s.INV_SUB_MIX,s.INV_SBOX,this._nRounds),n=A.allocUnsafe(16);return n.writeUInt32BE(i[0],0),n.writeUInt32BE(i[3],4),n.writeUInt32BE(i[2],8),n.writeUInt32BE(i[1],12),n},c.prototype.scrub=function(){n(this._keySchedule),n(this._invKeySchedule),n(this._key)},t.exports.AES=c},{"safe-buffer":195}],52:[function(e,t,i){var A=e("./aes"),r=e("safe-buffer").Buffer,n=e("cipher-base"),o=e("inherits"),a=e("./ghash"),s=e("buffer-xor"),c=e("./incr32");function I(e,t,i,o){n.call(this);var s=r.alloc(4,0);this._cipher=new A.AES(t);var I=this._cipher.encryptBlock(s);this._ghash=new a(I),i=function(e,t,i){if(12===t.length)return e._finID=r.concat([t,r.from([0,0,0,1])]),r.concat([t,r.from([0,0,0,2])]);var A=new a(i),n=t.length,o=n%16;A.update(t),o&&(o=16-o,A.update(r.alloc(o,0))),A.update(r.alloc(8,0));var s=8*n,I=r.alloc(8);I.writeUIntBE(s,0,8),A.update(I),e._finID=A.state;var f=r.from(e._finID);return c(f),f}(this,i,I),this._prev=r.from(i),this._cache=r.allocUnsafe(0),this._secCache=r.allocUnsafe(0),this._decrypt=o,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}o(I,n),I.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=r.alloc(t,0),this._ghash.update(t))}this._called=!0;var i=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(i),this._len+=e.length,i},I.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=s(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var i=0;e.length!==t.length&&i++;for(var A=Math.min(e.length,t.length),r=0;r16)throw new Error("unable to decrypt data");var i=-1;for(;++i16)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},f.prototype.flush=function(){if(this.cache.length)return this.cache},i.createDecipher=function(e,t){var i=n[e.toLowerCase()];if(!i)throw new TypeError("invalid suite type");var A=c(t,!1,i.key,i.iv);return h(e,A.key,A.iv)},i.createDecipheriv=h},{"./aes":51,"./authCipher":52,"./modes":64,"./streamCipher":67,"cipher-base":100,evp_bytestokey:134,inherits:167,"safe-buffer":195}],55:[function(e,t,i){var A=e("./modes"),r=e("./authCipher"),n=e("safe-buffer").Buffer,o=e("./streamCipher"),a=e("cipher-base"),s=e("./aes"),c=e("evp_bytestokey");function I(e,t,i){a.call(this),this._cache=new h,this._cipher=new s.AES(t),this._prev=n.from(i),this._mode=e,this._autopadding=!0}e("inherits")(I,a),I.prototype._update=function(e){var t,i;this._cache.add(e);for(var A=[];t=this._cache.get();)i=this._mode.encrypt(this,t),A.push(i);return n.concat(A)};var f=n.alloc(16,16);function h(){this.cache=n.allocUnsafe(0)}function u(e,t,i){var a=A[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=n.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof i&&(i=n.from(i)),"GCM"!==a.mode&&i.length!==a.iv)throw new TypeError("invalid iv length "+i.length);return"stream"===a.type?new o(a.module,t,i):"auth"===a.type?new r(a.module,t,i):new I(a.module,t,i)}I.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(f))throw this._cipher.scrub(),new Error("data not multiple of block length")},I.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},h.prototype.add=function(e){this.cache=n.concat([this.cache,e])},h.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},h.prototype.flush=function(){for(var e=16-this.cache.length,t=n.allocUnsafe(e),i=-1;++i>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function o(e){this.h=e,this.state=A.alloc(16,0),this.cache=A.allocUnsafe(0)}o.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,i&&(A[0]=A[0]^225<<24)}this.state=n(r)},o.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)},o.prototype.final=function(e,t){return this.cache.length&&this.ghash(A.concat([this.cache,r],16)),this.ghash(n([0,e,0,t])),this.state},t.exports=o},{"safe-buffer":195}],57:[function(e,t,i){t.exports=function(e){for(var t,i=e.length;i--;){if(255!==(t=e.readUInt8(i))){t++,e.writeUInt8(t,i);break}e.writeUInt8(0,i)}}},{}],58:[function(e,t,i){var A=e("buffer-xor");i.encrypt=function(e,t){var i=A(t,e._prev);return e._prev=e._cipher.encryptBlock(i),e._prev},i.decrypt=function(e,t){var i=e._prev;e._prev=t;var r=e._cipher.decryptBlock(t);return A(r,i)}},{"buffer-xor":98}],59:[function(e,t,i){var A=e("safe-buffer").Buffer,r=e("buffer-xor");function n(e,t,i){var n=t.length,o=r(t,e._cache);return e._cache=e._cache.slice(n),e._prev=A.concat([e._prev,i?t:o]),o}i.encrypt=function(e,t,i){for(var r,o=A.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=A.allocUnsafe(0)),!(e._cache.length<=t.length)){o=A.concat([o,n(e,t,i)]);break}r=e._cache.length,o=A.concat([o,n(e,t.slice(0,r),i)]),t=t.slice(r)}return o}},{"buffer-xor":98,"safe-buffer":195}],60:[function(e,t,i){var A=e("safe-buffer").Buffer;function r(e,t,i){for(var A,r,o=-1,a=0;++o<8;)A=t&1<<7-o?128:0,a+=(128&(r=e._cipher.encryptBlock(e._prev)[0]^A))>>o%8,e._prev=n(e._prev,i?A:r);return a}function n(e,t){var i=e.length,r=-1,n=A.allocUnsafe(e.length);for(e=A.concat([e,A.from([t])]);++r>7;return n}i.encrypt=function(e,t,i){for(var n=t.length,o=A.allocUnsafe(n),a=-1;++a=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function o(e,t){var r=function(e){var t=n(e);return{blinder:t.toRed(A.mont(e.modulus)).redPow(new A(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),o=t.modulus.byteLength(),a=new A(e).mul(r.blinder).umod(t.modulus),s=a.toRed(A.mont(t.prime1)),c=a.toRed(A.mont(t.prime2)),I=t.coefficient,f=t.prime1,h=t.prime2,u=s.redPow(t.exponent1).fromRed(),g=c.redPow(t.exponent2).fromRed(),d=u.isub(g).imul(I).umod(f).imul(h);return g.iadd(d).imul(r.unblinder).umod(t.modulus).toArrayLike(i,"be",o)}o.getr=n,t.exports=o}).call(this)}).call(this,e("buffer").Buffer)},{"bn.js":72,buffer:99,randombytes:192}],72:[function(e,t,i){!function(t,i){"use strict";function A(e,t){if(!e)throw new Error(t||"Assertion failed")}function r(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}function n(e,t,i){if(n.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(i=t,t=10),this._init(e||0,t||10,i||"be"))}var o;"object"==typeof t?t.exports=n:i.BN=n,n.BN=n,n.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:e("buffer").Buffer}catch(e){}function a(e,t){var i=e.charCodeAt(t);return i>=48&&i<=57?i-48:i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:void A(!1,"Invalid character in "+e)}function s(e,t,i){var A=a(e,i);return i-1>=t&&(A|=a(e,i-1)<<4),A}function c(e,t,i,r){for(var n=0,o=0,a=Math.min(e.length,i),s=t;s=49?c-49+10:c>=17?c-17+10:c,A(c>=0&&o0?e:t},n.min=function(e,t){return e.cmp(t)<0?e:t},n.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),A(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;r-=3)o=e[r]|e[r-1]<<8|e[r-2]<<16,this.words[n]|=o<>>26-a&67108863,(a+=24)>=26&&(a-=26,n++);else if("le"===i)for(r=0,n=0;r>>26-a&67108863,(a+=24)>=26&&(a-=26,n++);return this._strip()},n.prototype._parseHex=function(e,t,i){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var A=0;A=t;A-=2)r=s(e,t,A)<=18?(n-=18,o+=1,this.words[o]|=r>>>26):n+=8;else for(A=(e.length-t)%2==0?t+1:t;A=18?(n-=18,o+=1,this.words[o]|=r>>>26):n+=8;this._strip()},n.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var A=0,r=1;r<=67108863;r*=t)A++;A--,r=r/t|0;for(var n=e.length-i,o=n%A,a=Math.min(n,n-o)+i,s=0,I=i;I1&&0===this.words[this.length-1];)this.length--;return this._normSign()},n.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{n.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(e){n.prototype.inspect=f}else n.prototype.inspect=f;function f(){return(this.red?""}var h=["","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"],u=[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],g=[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];n.prototype.toString=function(e,t){var i;if(t=0|t||1,16===(e=e||10)||"hex"===e){i="";for(var r=0,n=0,o=0;o>>24-r&16777215,(r+=2)>=26&&(r-=26,o--),i=0!==n||o!==this.length-1?h[6-s.length]+s+i:s+i}for(0!==n&&(i=n.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var c=u[e],I=g[e];i="";var f=this.clone();for(f.negative=0;!f.isZero();){var d=f.modrn(I).toString(e);i=(f=f.idivn(I)).isZero()?d+i:h[c-d.length]+d+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}A(!1,"Base should be between 2 and 36")},n.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},n.prototype.toJSON=function(){return this.toString(16,2)},o&&(n.prototype.toBuffer=function(e,t){return this.toArrayLike(o,e,t)}),n.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function d(e,t,i){i.negative=t.negative^e.negative;var A=e.length+t.length|0;i.length=A,A=A-1|0;var r=0|e.words[0],n=0|t.words[0],o=r*n,a=67108863&o,s=o/67108864|0;i.words[0]=a;for(var c=1;c>>26,f=67108863&s,h=Math.min(c,t.length-1),u=Math.max(0,c-e.length+1);u<=h;u++){var g=c-u|0;I+=(o=(r=0|e.words[g])*(n=0|t.words[u])+f)/67108864|0,f=67108863&o}i.words[c]=0|f,s=0|I}return 0!==s?i.words[c]=0|s:i.length--,i._strip()}n.prototype.toArrayLike=function(e,t,i){this._strip();var r=this.byteLength(),n=i||Math.max(1,r);A(r<=n,"byte array longer than desired length"),A(n>0,"Requested array length <= 0");var o=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,n);return this["_toArrayLike"+("le"===t?"LE":"BE")](o,r),o},n.prototype._toArrayLikeLE=function(e,t){for(var i=0,A=0,r=0,n=0;r>8&255),i>16&255),6===n?(i>24&255),A=0,n=0):(A=o>>>24,n+=2)}if(i=0&&(e[i--]=o>>8&255),i>=0&&(e[i--]=o>>16&255),6===n?(i>=0&&(e[i--]=o>>24&255),A=0,n=0):(A=o>>>24,n+=2)}if(i>=0)for(e[i--]=A;i>=0;)e[i--]=0},Math.clz32?n.prototype._countBits=function(e){return 32-Math.clz32(e)}:n.prototype._countBits=function(e){var t=e,i=0;return t>=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},n.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return 0==(8191&t)&&(i+=13,t>>>=13),0==(127&t)&&(i+=7,t>>>=7),0==(15&t)&&(i+=4,t>>>=4),0==(3&t)&&(i+=2,t>>>=2),0==(1&t)&&i++,i},n.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},n.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},n.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},n.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;ie.length?this.clone().iand(e):e.clone().iand(this)},n.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},n.prototype.iuxor=function(e){var t,i;this.length>e.length?(t=this,i=e):(t=e,i=this);for(var A=0;Ae.length?this.clone().ixor(e):e.clone().ixor(this)},n.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},n.prototype.inotn=function(e){A("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&67108863>>26-i),this._strip()},n.prototype.notn=function(e){return this.clone().inotn(e)},n.prototype.setn=function(e,t){A("number"==typeof e&&e>=0);var i=e/26|0,r=e%26;return this._expand(i+1),this.words[i]=t?this.words[i]|1<e.length?(i=this,A=e):(i=e,A=this);for(var r=0,n=0;n>>26;for(;0!==r&&n>>26;if(this.length=i.length,0!==r)this.words[this.length]=r,this.length++;else if(i!==this)for(;ne.length?this.clone().iadd(e):e.clone().iadd(this)},n.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 i,A,r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(i=this,A=e):(i=e,A=this);for(var n=0,o=0;o>26,this.words[o]=67108863&t;for(;0!==n&&o>26,this.words[o]=67108863&t;if(0===n&&o>>13,u=0|o[1],g=8191&u,d=u>>>13,l=0|o[2],B=8191&l,p=l>>>13,C=0|o[3],Q=8191&C,E=C>>>13,y=0|o[4],b=8191&y,m=y>>>13,w=0|o[5],v=8191&w,D=w>>>13,S=0|o[6],F=8191&S,k=S>>>13,M=0|o[7],N=8191&M,U=M>>>13,G=0|o[8],H=8191&G,_=G>>>13,R=0|o[9],K=8191&R,q=R>>>13,x=0|a[0],J=8191&x,Y=x>>>13,O=0|a[1],L=8191&O,P=O>>>13,Z=0|a[2],z=8191&Z,T=Z>>>13,X=0|a[3],V=8191&X,j=X>>>13,W=0|a[4],$=8191&W,ee=W>>>13,te=0|a[5],ie=8191&te,Ae=te>>>13,re=0|a[6],ne=8191&re,oe=re>>>13,ae=0|a[7],se=8191&ae,ce=ae>>>13,Ie=0|a[8],fe=8191&Ie,he=Ie>>>13,ue=0|a[9],ge=8191&ue,de=ue>>>13;i.negative=e.negative^t.negative,i.length=19;var le=(c+(A=Math.imul(f,J))|0)+((8191&(r=(r=Math.imul(f,Y))+Math.imul(h,J)|0))<<13)|0;c=((n=Math.imul(h,Y))+(r>>>13)|0)+(le>>>26)|0,le&=67108863,A=Math.imul(g,J),r=(r=Math.imul(g,Y))+Math.imul(d,J)|0,n=Math.imul(d,Y);var Be=(c+(A=A+Math.imul(f,L)|0)|0)+((8191&(r=(r=r+Math.imul(f,P)|0)+Math.imul(h,L)|0))<<13)|0;c=((n=n+Math.imul(h,P)|0)+(r>>>13)|0)+(Be>>>26)|0,Be&=67108863,A=Math.imul(B,J),r=(r=Math.imul(B,Y))+Math.imul(p,J)|0,n=Math.imul(p,Y),A=A+Math.imul(g,L)|0,r=(r=r+Math.imul(g,P)|0)+Math.imul(d,L)|0,n=n+Math.imul(d,P)|0;var pe=(c+(A=A+Math.imul(f,z)|0)|0)+((8191&(r=(r=r+Math.imul(f,T)|0)+Math.imul(h,z)|0))<<13)|0;c=((n=n+Math.imul(h,T)|0)+(r>>>13)|0)+(pe>>>26)|0,pe&=67108863,A=Math.imul(Q,J),r=(r=Math.imul(Q,Y))+Math.imul(E,J)|0,n=Math.imul(E,Y),A=A+Math.imul(B,L)|0,r=(r=r+Math.imul(B,P)|0)+Math.imul(p,L)|0,n=n+Math.imul(p,P)|0,A=A+Math.imul(g,z)|0,r=(r=r+Math.imul(g,T)|0)+Math.imul(d,z)|0,n=n+Math.imul(d,T)|0;var Ce=(c+(A=A+Math.imul(f,V)|0)|0)+((8191&(r=(r=r+Math.imul(f,j)|0)+Math.imul(h,V)|0))<<13)|0;c=((n=n+Math.imul(h,j)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,A=Math.imul(b,J),r=(r=Math.imul(b,Y))+Math.imul(m,J)|0,n=Math.imul(m,Y),A=A+Math.imul(Q,L)|0,r=(r=r+Math.imul(Q,P)|0)+Math.imul(E,L)|0,n=n+Math.imul(E,P)|0,A=A+Math.imul(B,z)|0,r=(r=r+Math.imul(B,T)|0)+Math.imul(p,z)|0,n=n+Math.imul(p,T)|0,A=A+Math.imul(g,V)|0,r=(r=r+Math.imul(g,j)|0)+Math.imul(d,V)|0,n=n+Math.imul(d,j)|0;var Qe=(c+(A=A+Math.imul(f,$)|0)|0)+((8191&(r=(r=r+Math.imul(f,ee)|0)+Math.imul(h,$)|0))<<13)|0;c=((n=n+Math.imul(h,ee)|0)+(r>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,A=Math.imul(v,J),r=(r=Math.imul(v,Y))+Math.imul(D,J)|0,n=Math.imul(D,Y),A=A+Math.imul(b,L)|0,r=(r=r+Math.imul(b,P)|0)+Math.imul(m,L)|0,n=n+Math.imul(m,P)|0,A=A+Math.imul(Q,z)|0,r=(r=r+Math.imul(Q,T)|0)+Math.imul(E,z)|0,n=n+Math.imul(E,T)|0,A=A+Math.imul(B,V)|0,r=(r=r+Math.imul(B,j)|0)+Math.imul(p,V)|0,n=n+Math.imul(p,j)|0,A=A+Math.imul(g,$)|0,r=(r=r+Math.imul(g,ee)|0)+Math.imul(d,$)|0,n=n+Math.imul(d,ee)|0;var Ee=(c+(A=A+Math.imul(f,ie)|0)|0)+((8191&(r=(r=r+Math.imul(f,Ae)|0)+Math.imul(h,ie)|0))<<13)|0;c=((n=n+Math.imul(h,Ae)|0)+(r>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,A=Math.imul(F,J),r=(r=Math.imul(F,Y))+Math.imul(k,J)|0,n=Math.imul(k,Y),A=A+Math.imul(v,L)|0,r=(r=r+Math.imul(v,P)|0)+Math.imul(D,L)|0,n=n+Math.imul(D,P)|0,A=A+Math.imul(b,z)|0,r=(r=r+Math.imul(b,T)|0)+Math.imul(m,z)|0,n=n+Math.imul(m,T)|0,A=A+Math.imul(Q,V)|0,r=(r=r+Math.imul(Q,j)|0)+Math.imul(E,V)|0,n=n+Math.imul(E,j)|0,A=A+Math.imul(B,$)|0,r=(r=r+Math.imul(B,ee)|0)+Math.imul(p,$)|0,n=n+Math.imul(p,ee)|0,A=A+Math.imul(g,ie)|0,r=(r=r+Math.imul(g,Ae)|0)+Math.imul(d,ie)|0,n=n+Math.imul(d,Ae)|0;var ye=(c+(A=A+Math.imul(f,ne)|0)|0)+((8191&(r=(r=r+Math.imul(f,oe)|0)+Math.imul(h,ne)|0))<<13)|0;c=((n=n+Math.imul(h,oe)|0)+(r>>>13)|0)+(ye>>>26)|0,ye&=67108863,A=Math.imul(N,J),r=(r=Math.imul(N,Y))+Math.imul(U,J)|0,n=Math.imul(U,Y),A=A+Math.imul(F,L)|0,r=(r=r+Math.imul(F,P)|0)+Math.imul(k,L)|0,n=n+Math.imul(k,P)|0,A=A+Math.imul(v,z)|0,r=(r=r+Math.imul(v,T)|0)+Math.imul(D,z)|0,n=n+Math.imul(D,T)|0,A=A+Math.imul(b,V)|0,r=(r=r+Math.imul(b,j)|0)+Math.imul(m,V)|0,n=n+Math.imul(m,j)|0,A=A+Math.imul(Q,$)|0,r=(r=r+Math.imul(Q,ee)|0)+Math.imul(E,$)|0,n=n+Math.imul(E,ee)|0,A=A+Math.imul(B,ie)|0,r=(r=r+Math.imul(B,Ae)|0)+Math.imul(p,ie)|0,n=n+Math.imul(p,Ae)|0,A=A+Math.imul(g,ne)|0,r=(r=r+Math.imul(g,oe)|0)+Math.imul(d,ne)|0,n=n+Math.imul(d,oe)|0;var be=(c+(A=A+Math.imul(f,se)|0)|0)+((8191&(r=(r=r+Math.imul(f,ce)|0)+Math.imul(h,se)|0))<<13)|0;c=((n=n+Math.imul(h,ce)|0)+(r>>>13)|0)+(be>>>26)|0,be&=67108863,A=Math.imul(H,J),r=(r=Math.imul(H,Y))+Math.imul(_,J)|0,n=Math.imul(_,Y),A=A+Math.imul(N,L)|0,r=(r=r+Math.imul(N,P)|0)+Math.imul(U,L)|0,n=n+Math.imul(U,P)|0,A=A+Math.imul(F,z)|0,r=(r=r+Math.imul(F,T)|0)+Math.imul(k,z)|0,n=n+Math.imul(k,T)|0,A=A+Math.imul(v,V)|0,r=(r=r+Math.imul(v,j)|0)+Math.imul(D,V)|0,n=n+Math.imul(D,j)|0,A=A+Math.imul(b,$)|0,r=(r=r+Math.imul(b,ee)|0)+Math.imul(m,$)|0,n=n+Math.imul(m,ee)|0,A=A+Math.imul(Q,ie)|0,r=(r=r+Math.imul(Q,Ae)|0)+Math.imul(E,ie)|0,n=n+Math.imul(E,Ae)|0,A=A+Math.imul(B,ne)|0,r=(r=r+Math.imul(B,oe)|0)+Math.imul(p,ne)|0,n=n+Math.imul(p,oe)|0,A=A+Math.imul(g,se)|0,r=(r=r+Math.imul(g,ce)|0)+Math.imul(d,se)|0,n=n+Math.imul(d,ce)|0;var me=(c+(A=A+Math.imul(f,fe)|0)|0)+((8191&(r=(r=r+Math.imul(f,he)|0)+Math.imul(h,fe)|0))<<13)|0;c=((n=n+Math.imul(h,he)|0)+(r>>>13)|0)+(me>>>26)|0,me&=67108863,A=Math.imul(K,J),r=(r=Math.imul(K,Y))+Math.imul(q,J)|0,n=Math.imul(q,Y),A=A+Math.imul(H,L)|0,r=(r=r+Math.imul(H,P)|0)+Math.imul(_,L)|0,n=n+Math.imul(_,P)|0,A=A+Math.imul(N,z)|0,r=(r=r+Math.imul(N,T)|0)+Math.imul(U,z)|0,n=n+Math.imul(U,T)|0,A=A+Math.imul(F,V)|0,r=(r=r+Math.imul(F,j)|0)+Math.imul(k,V)|0,n=n+Math.imul(k,j)|0,A=A+Math.imul(v,$)|0,r=(r=r+Math.imul(v,ee)|0)+Math.imul(D,$)|0,n=n+Math.imul(D,ee)|0,A=A+Math.imul(b,ie)|0,r=(r=r+Math.imul(b,Ae)|0)+Math.imul(m,ie)|0,n=n+Math.imul(m,Ae)|0,A=A+Math.imul(Q,ne)|0,r=(r=r+Math.imul(Q,oe)|0)+Math.imul(E,ne)|0,n=n+Math.imul(E,oe)|0,A=A+Math.imul(B,se)|0,r=(r=r+Math.imul(B,ce)|0)+Math.imul(p,se)|0,n=n+Math.imul(p,ce)|0,A=A+Math.imul(g,fe)|0,r=(r=r+Math.imul(g,he)|0)+Math.imul(d,fe)|0,n=n+Math.imul(d,he)|0;var we=(c+(A=A+Math.imul(f,ge)|0)|0)+((8191&(r=(r=r+Math.imul(f,de)|0)+Math.imul(h,ge)|0))<<13)|0;c=((n=n+Math.imul(h,de)|0)+(r>>>13)|0)+(we>>>26)|0,we&=67108863,A=Math.imul(K,L),r=(r=Math.imul(K,P))+Math.imul(q,L)|0,n=Math.imul(q,P),A=A+Math.imul(H,z)|0,r=(r=r+Math.imul(H,T)|0)+Math.imul(_,z)|0,n=n+Math.imul(_,T)|0,A=A+Math.imul(N,V)|0,r=(r=r+Math.imul(N,j)|0)+Math.imul(U,V)|0,n=n+Math.imul(U,j)|0,A=A+Math.imul(F,$)|0,r=(r=r+Math.imul(F,ee)|0)+Math.imul(k,$)|0,n=n+Math.imul(k,ee)|0,A=A+Math.imul(v,ie)|0,r=(r=r+Math.imul(v,Ae)|0)+Math.imul(D,ie)|0,n=n+Math.imul(D,Ae)|0,A=A+Math.imul(b,ne)|0,r=(r=r+Math.imul(b,oe)|0)+Math.imul(m,ne)|0,n=n+Math.imul(m,oe)|0,A=A+Math.imul(Q,se)|0,r=(r=r+Math.imul(Q,ce)|0)+Math.imul(E,se)|0,n=n+Math.imul(E,ce)|0,A=A+Math.imul(B,fe)|0,r=(r=r+Math.imul(B,he)|0)+Math.imul(p,fe)|0,n=n+Math.imul(p,he)|0;var ve=(c+(A=A+Math.imul(g,ge)|0)|0)+((8191&(r=(r=r+Math.imul(g,de)|0)+Math.imul(d,ge)|0))<<13)|0;c=((n=n+Math.imul(d,de)|0)+(r>>>13)|0)+(ve>>>26)|0,ve&=67108863,A=Math.imul(K,z),r=(r=Math.imul(K,T))+Math.imul(q,z)|0,n=Math.imul(q,T),A=A+Math.imul(H,V)|0,r=(r=r+Math.imul(H,j)|0)+Math.imul(_,V)|0,n=n+Math.imul(_,j)|0,A=A+Math.imul(N,$)|0,r=(r=r+Math.imul(N,ee)|0)+Math.imul(U,$)|0,n=n+Math.imul(U,ee)|0,A=A+Math.imul(F,ie)|0,r=(r=r+Math.imul(F,Ae)|0)+Math.imul(k,ie)|0,n=n+Math.imul(k,Ae)|0,A=A+Math.imul(v,ne)|0,r=(r=r+Math.imul(v,oe)|0)+Math.imul(D,ne)|0,n=n+Math.imul(D,oe)|0,A=A+Math.imul(b,se)|0,r=(r=r+Math.imul(b,ce)|0)+Math.imul(m,se)|0,n=n+Math.imul(m,ce)|0,A=A+Math.imul(Q,fe)|0,r=(r=r+Math.imul(Q,he)|0)+Math.imul(E,fe)|0,n=n+Math.imul(E,he)|0;var De=(c+(A=A+Math.imul(B,ge)|0)|0)+((8191&(r=(r=r+Math.imul(B,de)|0)+Math.imul(p,ge)|0))<<13)|0;c=((n=n+Math.imul(p,de)|0)+(r>>>13)|0)+(De>>>26)|0,De&=67108863,A=Math.imul(K,V),r=(r=Math.imul(K,j))+Math.imul(q,V)|0,n=Math.imul(q,j),A=A+Math.imul(H,$)|0,r=(r=r+Math.imul(H,ee)|0)+Math.imul(_,$)|0,n=n+Math.imul(_,ee)|0,A=A+Math.imul(N,ie)|0,r=(r=r+Math.imul(N,Ae)|0)+Math.imul(U,ie)|0,n=n+Math.imul(U,Ae)|0,A=A+Math.imul(F,ne)|0,r=(r=r+Math.imul(F,oe)|0)+Math.imul(k,ne)|0,n=n+Math.imul(k,oe)|0,A=A+Math.imul(v,se)|0,r=(r=r+Math.imul(v,ce)|0)+Math.imul(D,se)|0,n=n+Math.imul(D,ce)|0,A=A+Math.imul(b,fe)|0,r=(r=r+Math.imul(b,he)|0)+Math.imul(m,fe)|0,n=n+Math.imul(m,he)|0;var Se=(c+(A=A+Math.imul(Q,ge)|0)|0)+((8191&(r=(r=r+Math.imul(Q,de)|0)+Math.imul(E,ge)|0))<<13)|0;c=((n=n+Math.imul(E,de)|0)+(r>>>13)|0)+(Se>>>26)|0,Se&=67108863,A=Math.imul(K,$),r=(r=Math.imul(K,ee))+Math.imul(q,$)|0,n=Math.imul(q,ee),A=A+Math.imul(H,ie)|0,r=(r=r+Math.imul(H,Ae)|0)+Math.imul(_,ie)|0,n=n+Math.imul(_,Ae)|0,A=A+Math.imul(N,ne)|0,r=(r=r+Math.imul(N,oe)|0)+Math.imul(U,ne)|0,n=n+Math.imul(U,oe)|0,A=A+Math.imul(F,se)|0,r=(r=r+Math.imul(F,ce)|0)+Math.imul(k,se)|0,n=n+Math.imul(k,ce)|0,A=A+Math.imul(v,fe)|0,r=(r=r+Math.imul(v,he)|0)+Math.imul(D,fe)|0,n=n+Math.imul(D,he)|0;var Fe=(c+(A=A+Math.imul(b,ge)|0)|0)+((8191&(r=(r=r+Math.imul(b,de)|0)+Math.imul(m,ge)|0))<<13)|0;c=((n=n+Math.imul(m,de)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,A=Math.imul(K,ie),r=(r=Math.imul(K,Ae))+Math.imul(q,ie)|0,n=Math.imul(q,Ae),A=A+Math.imul(H,ne)|0,r=(r=r+Math.imul(H,oe)|0)+Math.imul(_,ne)|0,n=n+Math.imul(_,oe)|0,A=A+Math.imul(N,se)|0,r=(r=r+Math.imul(N,ce)|0)+Math.imul(U,se)|0,n=n+Math.imul(U,ce)|0,A=A+Math.imul(F,fe)|0,r=(r=r+Math.imul(F,he)|0)+Math.imul(k,fe)|0,n=n+Math.imul(k,he)|0;var ke=(c+(A=A+Math.imul(v,ge)|0)|0)+((8191&(r=(r=r+Math.imul(v,de)|0)+Math.imul(D,ge)|0))<<13)|0;c=((n=n+Math.imul(D,de)|0)+(r>>>13)|0)+(ke>>>26)|0,ke&=67108863,A=Math.imul(K,ne),r=(r=Math.imul(K,oe))+Math.imul(q,ne)|0,n=Math.imul(q,oe),A=A+Math.imul(H,se)|0,r=(r=r+Math.imul(H,ce)|0)+Math.imul(_,se)|0,n=n+Math.imul(_,ce)|0,A=A+Math.imul(N,fe)|0,r=(r=r+Math.imul(N,he)|0)+Math.imul(U,fe)|0,n=n+Math.imul(U,he)|0;var Me=(c+(A=A+Math.imul(F,ge)|0)|0)+((8191&(r=(r=r+Math.imul(F,de)|0)+Math.imul(k,ge)|0))<<13)|0;c=((n=n+Math.imul(k,de)|0)+(r>>>13)|0)+(Me>>>26)|0,Me&=67108863,A=Math.imul(K,se),r=(r=Math.imul(K,ce))+Math.imul(q,se)|0,n=Math.imul(q,ce),A=A+Math.imul(H,fe)|0,r=(r=r+Math.imul(H,he)|0)+Math.imul(_,fe)|0,n=n+Math.imul(_,he)|0;var Ne=(c+(A=A+Math.imul(N,ge)|0)|0)+((8191&(r=(r=r+Math.imul(N,de)|0)+Math.imul(U,ge)|0))<<13)|0;c=((n=n+Math.imul(U,de)|0)+(r>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,A=Math.imul(K,fe),r=(r=Math.imul(K,he))+Math.imul(q,fe)|0,n=Math.imul(q,he);var Ue=(c+(A=A+Math.imul(H,ge)|0)|0)+((8191&(r=(r=r+Math.imul(H,de)|0)+Math.imul(_,ge)|0))<<13)|0;c=((n=n+Math.imul(_,de)|0)+(r>>>13)|0)+(Ue>>>26)|0,Ue&=67108863;var Ge=(c+(A=Math.imul(K,ge))|0)+((8191&(r=(r=Math.imul(K,de))+Math.imul(q,ge)|0))<<13)|0;return c=((n=Math.imul(q,de))+(r>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,s[0]=le,s[1]=Be,s[2]=pe,s[3]=Ce,s[4]=Qe,s[5]=Ee,s[6]=ye,s[7]=be,s[8]=me,s[9]=we,s[10]=ve,s[11]=De,s[12]=Se,s[13]=Fe,s[14]=ke,s[15]=Me,s[16]=Ne,s[17]=Ue,s[18]=Ge,0!==c&&(s[19]=c,i.length++),i};function B(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var A=0,r=0,n=0;n>>26)|0)>>>26,o&=67108863}i.words[n]=a,A=o,o=r}return 0!==A?i.words[n]=A:i.length--,i._strip()}function p(e,t,i){return B(e,t,i)}function C(e,t){this.x=e,this.y=t}Math.imul||(l=d),n.prototype.mulTo=function(e,t){var i=this.length+e.length;return 10===this.length&&10===e.length?l(this,e,t):i<63?d(this,e,t):i<1024?B(this,e,t):p(this,e,t)},C.prototype.makeRBT=function(e){for(var t=new Array(e),i=n.prototype._countBits(e)-1,A=0;A>=1;return A},C.prototype.permute=function(e,t,i,A,r,n){for(var o=0;o>>=1)r++;return 1<>>=13,i[2*o+1]=8191&n,n>>>=13;for(o=2*t;o>=26,i+=n/67108864|0,i+=o>>>26,this.words[r]=67108863&o}return 0!==i&&(this.words[r]=i,this.length++),t?this.ineg():this},n.prototype.muln=function(e){return this.clone().imuln(e)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),i=0;i>>r&1}return t}(e);if(0===t.length)return new n(1);for(var i=this,A=0;A=0);var t,i=e%26,r=(e-i)/26,n=67108863>>>26-i<<26-i;if(0!==i){var o=0;for(t=0;t>>26-i}o&&(this.words[t]=o,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0),r=t?(t-t%26)/26:0;var n=e%26,o=Math.min((e-n)/26,this.length),a=67108863^67108863>>>n<o)for(this.length-=o,c=0;c=0&&(0!==I||c>=r);c--){var f=0|this.words[c];this.words[c]=I<<26-n|f>>>n,I=f&a}return s&&0!==I&&(s.words[s.length++]=I),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},n.prototype.ishrn=function(e,t,i){return A(0===this.negative),this.iushrn(e,t,i)},n.prototype.shln=function(e){return this.clone().ishln(e)},n.prototype.ushln=function(e){return this.clone().iushln(e)},n.prototype.shrn=function(e){return this.clone().ishrn(e)},n.prototype.ushrn=function(e){return this.clone().iushrn(e)},n.prototype.testn=function(e){A("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26,r=1<=0);var t=e%26,i=(e-t)/26;if(A(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==t&&i++,this.length=Math.min(i,this.length),0!==t){var r=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},n.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)-(s/67108864|0),this.words[r+i]=67108863&n}for(;r>26,this.words[r+i]=67108863&n;if(0===a)return this._strip();for(A(-1===a),a=0,r=0;r>26,this.words[r]=67108863&n;return this.negative=1,this._strip()},n.prototype._wordDiv=function(e,t){var i=(this.length,e.length),A=this.clone(),r=e,o=0|r.words[r.length-1];0!==(i=26-this._countBits(o))&&(r=r.ushln(i),A.iushln(i),o=0|r.words[r.length-1]);var a,s=A.length-r.length;if("mod"!==t){(a=new n(null)).length=s+1,a.words=new Array(a.length);for(var c=0;c=0;f--){var h=67108864*(0|A.words[r.length+f])+(0|A.words[r.length+f-1]);for(h=Math.min(h/o|0,67108863),A._ishlnsubmul(r,h,f);0!==A.negative;)h--,A.negative=0,A._ishlnsubmul(r,1,f),A.isZero()||(A.negative^=1);a&&(a.words[f]=h)}return a&&a._strip(),A._strip(),"div"!==t&&0!==i&&A.iushrn(i),{div:a||null,mod:A}},n.prototype.divmod=function(e,t,i){return A(!e.isZero()),this.isZero()?{div:new n(0),mod:new n(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(r=a.div.neg()),"div"!==t&&(o=a.mod.neg(),i&&0!==o.negative&&o.iadd(e)),{div:r,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(r=a.div.neg()),{div:r,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),i&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new n(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new n(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new n(this.modrn(e.words[0]))}:this._wordDiv(e,t);var r,o,a},n.prototype.div=function(e){return this.divmod(e,"div",!1).div},n.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},n.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},n.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,A=e.ushrn(1),r=e.andln(1),n=i.cmp(A);return n<0||1===r&&0===n?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},n.prototype.modrn=function(e){var t=e<0;t&&(e=-e),A(e<=67108863);for(var i=(1<<26)%e,r=0,n=this.length-1;n>=0;n--)r=(i*r+(0|this.words[n]))%e;return t?-r:r},n.prototype.modn=function(e){return this.modrn(e)},n.prototype.idivn=function(e){var t=e<0;t&&(e=-e),A(e<=67108863);for(var i=0,r=this.length-1;r>=0;r--){var n=(0|this.words[r])+67108864*i;this.words[r]=n/e|0,i=n%e}return this._strip(),t?this.ineg():this},n.prototype.divn=function(e){return this.clone().idivn(e)},n.prototype.egcd=function(e){A(0===e.negative),A(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new n(1),o=new n(0),a=new n(0),s=new n(1),c=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++c;for(var I=i.clone(),f=t.clone();!t.isZero();){for(var h=0,u=1;0==(t.words[0]&u)&&h<26;++h,u<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(I),o.isub(f)),r.iushrn(1),o.iushrn(1);for(var g=0,d=1;0==(i.words[0]&d)&&g<26;++g,d<<=1);if(g>0)for(i.iushrn(g);g-- >0;)(a.isOdd()||s.isOdd())&&(a.iadd(I),s.isub(f)),a.iushrn(1),s.iushrn(1);t.cmp(i)>=0?(t.isub(i),r.isub(a),o.isub(s)):(i.isub(t),a.isub(r),s.isub(o))}return{a:a,b:s,gcd:i.iushln(c)}},n.prototype._invmp=function(e){A(0===e.negative),A(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r,o=new n(1),a=new n(0),s=i.clone();t.cmpn(1)>0&&i.cmpn(1)>0;){for(var c=0,I=1;0==(t.words[0]&I)&&c<26;++c,I<<=1);if(c>0)for(t.iushrn(c);c-- >0;)o.isOdd()&&o.iadd(s),o.iushrn(1);for(var f=0,h=1;0==(i.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(i.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(s),a.iushrn(1);t.cmp(i)>=0?(t.isub(i),o.isub(a)):(i.isub(t),a.isub(o))}return(r=0===t.cmpn(1)?o:a).cmpn(0)<0&&r.iadd(e),r},n.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var A=0;t.isEven()&&i.isEven();A++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var r=t.cmp(i);if(r<0){var n=t;t=i,i=n}else if(0===r||0===i.cmpn(1))break;t.isub(i)}return i.iushln(A)},n.prototype.invm=function(e){return this.egcd(e).a.umod(e)},n.prototype.isEven=function(){return 0==(1&this.words[0])},n.prototype.isOdd=function(){return 1==(1&this.words[0])},n.prototype.andln=function(e){return this.words[0]&e},n.prototype.bincn=function(e){A("number"==typeof e);var t=e%26,i=(e-t)/26,r=1<>>26,a&=67108863,this.words[o]=a}return 0!==n&&(this.words[o]=n,this.length++),this},n.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},n.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return-1;if(0===this.negative&&i)return 1;if(this._strip(),this.length>1)t=1;else{i&&(e=-e),A(e<=67108863,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;i--){var A=0|this.words[i],r=0|e.words[i];if(A!==r){Ar&&(t=1);break}}return t},n.prototype.gtn=function(e){return 1===this.cmpn(e)},n.prototype.gt=function(e){return 1===this.cmp(e)},n.prototype.gten=function(e){return this.cmpn(e)>=0},n.prototype.gte=function(e){return this.cmp(e)>=0},n.prototype.ltn=function(e){return-1===this.cmpn(e)},n.prototype.lt=function(e){return-1===this.cmp(e)},n.prototype.lten=function(e){return this.cmpn(e)<=0},n.prototype.lte=function(e){return this.cmp(e)<=0},n.prototype.eqn=function(e){return 0===this.cmpn(e)},n.prototype.eq=function(e){return 0===this.cmp(e)},n.red=function(e){return new v(e)},n.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)},n.prototype.fromRed=function(){return A(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(e){return this.red=e,this},n.prototype.forceRed=function(e){return A(!this.red,"Already a number in reduction context"),this._forceRed(e)},n.prototype.redAdd=function(e){return A(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},n.prototype.redIAdd=function(e){return A(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},n.prototype.redSub=function(e){return A(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},n.prototype.redISub=function(e){return A(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},n.prototype.redShl=function(e){return A(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},n.prototype.redMul=function(e){return A(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},n.prototype.redIMul=function(e){return A(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},n.prototype.redSqr=function(){return A(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return A(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return A(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return A(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return A(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(e){return A(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var Q={k256:null,p224:null,p192:null,p25519:null};function E(e,t){this.name=e,this.p=new n(t,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){E.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function b(){E.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function m(){E.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){E.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function v(e){if("string"==typeof e){var t=n._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 D(e){v.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new n(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)}E.prototype._tmp=function(){var e=new n(null);return e.words=new Array(Math.ceil(this.n/13)),e},E.prototype.ireduce=function(e){var t,i=e;do{this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength()}while(t>this.n);var A=t0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},E.prototype.split=function(e,t){e.iushrn(this.n,0,t)},E.prototype.imulK=function(e){return e.imul(this.k)},r(y,E),y.prototype.split=function(e,t){for(var i=4194303,A=Math.min(e.length,9),r=0;r>>22,n=o}n>>>=22,e.words[r-10]=n,0===n&&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,i=0;i>>=26,e.words[i]=r,t=A}return 0!==t&&(e.words[e.length++]=t),e},n._prime=function(e){if(Q[e])return Q[e];var t;if("k256"===e)t=new y;else if("p224"===e)t=new b;else if("p192"===e)t=new m;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new w}return Q[e]=t,t},v.prototype._verify1=function(e){A(0===e.negative,"red works only with positives"),A(e.red,"red works only with red numbers")},v.prototype._verify2=function(e,t){A(0==(e.negative|t.negative),"red works only with positives"),A(e.red&&e.red===t.red,"red works only with red numbers")},v.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(I(e,e.umod(this.m)._forceRed(this)),e)},v.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},v.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},v.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},v.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return i.cmpn(0)<0&&i.iadd(this.m),i._forceRed(this)},v.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return i.cmpn(0)<0&&i.iadd(this.m),i},v.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},v.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},v.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},v.prototype.isqr=function(e){return this.imul(e,e.clone())},v.prototype.sqr=function(e){return this.mul(e,e)},v.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(A(t%2==1),3===t){var i=this.m.add(new n(1)).iushrn(2);return this.pow(e,i)}for(var r=this.m.subn(1),o=0;!r.isZero()&&0===r.andln(1);)o++,r.iushrn(1);A(!r.isZero());var a=new n(1).toRed(this),s=a.redNeg(),c=this.m.subn(1).iushrn(1),I=this.m.bitLength();for(I=new n(2*I*I).toRed(this);0!==this.pow(I,c).cmp(s);)I.redIAdd(s);for(var f=this.pow(I,r),h=this.pow(e,r.addn(1).iushrn(1)),u=this.pow(e,r),g=o;0!==u.cmp(a);){for(var d=u,l=0;0!==d.cmp(a);l++)d=d.redSqr();A(l=0;A--){for(var c=t.words[A],I=s-1;I>=0;I--){var f=c>>I&1;r!==i[0]&&(r=this.sqr(r)),0!==f||0!==o?(o<<=1,o|=f,(4===++a||0===A&&0===I)&&(r=this.mul(r,i[o]),a=0,o=0)):a=0}s=26}return r},v.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},v.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},n.mont=function(e){return new D(e)},r(D,v),D.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},D.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},D.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),A=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(A).iushrn(this.shift),n=r;return r.cmp(this.m)>=0?n=r.isub(this.m):r.cmpn(0)<0&&(n=r.iadd(this.m)),n._forceRed(this)},D.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new n(0)._forceRed(this);var i=e.mul(t),A=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(A).iushrn(this.shift),o=r;return r.cmp(this.m)>=0?o=r.isub(this.m):r.cmpn(0)<0&&(o=r.iadd(this.m)),o._forceRed(this)},D.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t,this)},{buffer:50}],73:[function(e,t,i){t.exports=e("./browser/algorithms.json")},{"./browser/algorithms.json":74}],74:[function(e,t,i){t.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],75:[function(e,t,i){t.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],76:[function(e,t,i){var A=e("safe-buffer").Buffer,r=e("create-hash"),n=e("readable-stream"),o=e("inherits"),a=e("./sign"),s=e("./verify"),c=e("./algorithms.json");function I(e){n.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function f(e){n.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function h(e){return new I(e)}function u(e){return new f(e)}Object.keys(c).forEach((function(e){c[e].id=A.from(c[e].id,"hex"),c[e.toLowerCase()]=c[e]})),o(I,n.Writable),I.prototype._write=function(e,t,i){this._hash.update(e),i()},I.prototype.update=function(e,t){return"string"==typeof e&&(e=A.from(e,t)),this._hash.update(e),this},I.prototype.sign=function(e,t){this.end();var i=this._hash.digest(),A=a(i,e,this._hashType,this._signType,this._tag);return t?A.toString(t):A},o(f,n.Writable),f.prototype._write=function(e,t,i){this._hash.update(e),i()},f.prototype.update=function(e,t){return"string"==typeof e&&(e=A.from(e,t)),this._hash.update(e),this},f.prototype.verify=function(e,t,i){"string"==typeof t&&(t=A.from(t,i)),this.end();var r=this._hash.digest();return s(t,r,e,this._signType,this._tag)},t.exports={Sign:h,Verify:u,createSign:h,createVerify:u}},{"./algorithms.json":74,"./sign":77,"./verify":78,"create-hash":102,inherits:167,"readable-stream":94,"safe-buffer":195}],77:[function(e,t,i){var A=e("safe-buffer").Buffer,r=e("create-hmac"),n=e("browserify-rsa"),o=e("elliptic").ec,a=e("bn.js"),s=e("parse-asn1"),c=e("./curves.json");function I(e,t,i,n){if((e=A.from(e.toArray())).length0&&i.ishrn(A),i}function h(e,t,i){var n,o;do{for(n=A.alloc(0);8*n.length=t)throw new Error("invalid sig")}t.exports=function(e,t,i,c,I){var f=o(i);if("ec"===f.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(e,t,i){var A=a[i.data.algorithm.curve.join(".")];if(!A)throw new Error("unknown curve "+i.data.algorithm.curve.join("."));var r=new n(A),o=i.data.subjectPrivateKey.data;return r.verify(t,e,o)}(e,t,f)}if("dsa"===f.type){if("dsa"!==c)throw new Error("wrong public key type");return function(e,t,i){var A=i.data.p,n=i.data.q,a=i.data.g,c=i.data.pub_key,I=o.signature.decode(e,"der"),f=I.s,h=I.r;s(f,n),s(h,n);var u=r.mont(A),g=f.invm(n),d=a.toRed(u).redPow(new r(t).mul(g).mod(n)).fromRed().mul(c.toRed(u).redPow(h.mul(g).mod(n)).fromRed()).mod(A).mod(n);return 0===d.cmp(h)}(e,t,f)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");t=A.concat([I,t]);for(var h=f.modulus.byteLength(),u=[1],g=0;t.length+u.length+22?"one of ".concat(t," ").concat(e.slice(0,i-1).join(", "),", or ")+e[i-1]:2===i?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}r("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),r("ERR_INVALID_ARG_TYPE",(function(e,t,i){var A,r,o,a;if("string"==typeof t&&(r="not ",t.substr(!o||o<0?0:+o,r.length)===r)?(A="must not be",t=t.replace(/^not /,"")):A="must be",function(e,t,i){return(void 0===i||i>e.length)&&(i=e.length),e.substring(i-t.length,i)===t}(e," argument"))a="The ".concat(e," ").concat(A," ").concat(n(t,"type"));else{var s=function(e,t,i){return"number"!=typeof i&&(i=0),!(i+t.length>e.length)&&-1!==e.indexOf(t,i)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(s," ").concat(A," ").concat(n(t,"type"))}return a+=". Received type ".concat(typeof i)}),TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=A},{}],81:[function(e,t,i){(function(i){(function(){"use strict";var A=Object.keys||function(e){var t=[];for(var i in e)t.push(i);return t};t.exports=a;const r=e("./_stream_readable"),n=e("./_stream_writable");e("inherits")(a,r);{const e=A(n.prototype);for(var o=0;o0)if("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),A)o.endEmitted?y(e,new p):D(e,o,t,!0);else if(o.ended)y(e,new l);else{if(o.destroyed)return!1;o.reading=!1,o.decoder&&!i?(t=o.decoder.write(t),o.objectMode||0!==t.length?D(e,o,t,!1):N(e,o)):D(e,o,t,!1)}else A||(o.reading=!1,N(e,o));return!o.ended&&(o.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=S?e=S:(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 k(e){var t=e._readableState;I("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(I("emitReadable",t.flowing),t.emittedReadable=!0,i.nextTick(M,e))}function M(e){var t=e._readableState;I("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,R(e)}function N(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(U,e,t))}function U(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function H(e){I("readable nexttick read 0"),e.read(0)}function _(e,t){I("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),R(e),t.flowing&&!t.reading&&e.read(0)}function R(e){const t=e._readableState;for(I("flow",t.flowing);t.flowing&&null!==e.read(););}function K(e,t){return 0===t.length?null:(t.objectMode?i=t.buffer.shift():!e||e>=t.length?(i=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):i=t.buffer.consume(e,t.decoder),i);var i}function q(e){var t=e._readableState;I("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.nextTick(x,t,e))}function x(e,t){if(I("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){const e=t._writableState;(!e||e.autoDestroy&&e.finished)&&t.destroy()}}function J(e,t){for(var i=0,A=e.length;i=t.highWaterMark:t.length>0)||t.ended))return I("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?q(this):k(this),null;if(0===(e=F(e,t))&&t.ended)return 0===t.length&&q(this),null;var A,r=t.needReadable;return I("need readable",r),(0===t.length||t.length-e0?K(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),i!==e&&t.ended&&q(this)),null!==A&&this.emit("data",A),A},w.prototype._read=function(e){y(this,new B("_read()"))},w.prototype.pipe=function(e,t){var A=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,I("pipe count=%d opts=%j",r.pipesCount,t);var o=(!t||!1!==t.end)&&e!==i.stdout&&e!==i.stderr?s:l;function a(t,i){I("onunpipe"),t===A&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,I("cleanup"),e.removeListener("close",g),e.removeListener("finish",d),e.removeListener("drain",c),e.removeListener("error",u),e.removeListener("unpipe",a),A.removeListener("end",s),A.removeListener("end",l),A.removeListener("data",h),f=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function s(){I("onend"),e.end()}r.endEmitted?i.nextTick(o):A.once("end",o),e.on("unpipe",a);var c=function(e){return function(){var t=e._readableState;I("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&n(e,"data")&&(t.flowing=!0,R(e))}}(A);e.on("drain",c);var f=!1;function h(t){I("ondata");var i=e.write(t);I("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==J(r.pipes,e))&&!f&&(I("false write response, pause",r.awaitDrain),r.awaitDrain++),A.pause())}function u(t){I("onerror",t),l(),e.removeListener("error",u),0===n(e,"error")&&y(e,t)}function g(){e.removeListener("finish",d),l()}function d(){I("onfinish"),e.removeListener("close",g),l()}function l(){I("unpipe"),A.unpipe(e)}return A.on("data",h),function(e,t,i){if("function"==typeof e.prependListener)return e.prependListener(t,i);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(i):e._events[t]=[i,e._events[t]]:e.on(t,i)}(e,"error",u),e.once("close",g),e.once("finish",d),e.emit("pipe",A),r.flowing||(I("pipe resume"),A.resume()),e},w.prototype.unpipe=function(e){var t=this._readableState,i={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,i)),this;if(!e){var A=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var n=0;n0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,I("on readable",r.length,r.reading),r.length?k(this):r.reading||i.nextTick(H,this))),A},w.prototype.addListener=w.prototype.on,w.prototype.removeListener=function(e,t){const A=o.prototype.removeListener.call(this,e,t);return"readable"===e&&i.nextTick(G,this),A},w.prototype.removeAllListeners=function(e){const t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||i.nextTick(G,this),t},w.prototype.resume=function(){var e=this._readableState;return e.flowing||(I("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(_,e,t))}(this,e)),e.paused=!1,this},w.prototype.pause=function(){return I("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(I("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},w.prototype.wrap=function(e){var t=this._readableState,i=!1;for(var A in e.on("end",(()=>{if(I("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&this.push(e)}this.push(null)})),e.on("data",(A=>{(I("wrapped data"),t.decoder&&(A=t.decoder.write(A)),t.objectMode&&null==A)||(t.objectMode||A&&A.length)&&(this.push(A)||(i=!0,e.pause()))})),e)void 0===this[A]&&"function"==typeof e[A]&&(this[A]=function(t){return function(){return e[t].apply(e,arguments)}}(A));for(var r=0;r{I("wrapped _read",t),i&&(i=!1,e.resume())},this},"function"==typeof Symbol&&(w.prototype[Symbol.asyncIterator]=function(){return void 0===Q&&(Q=e("./internal/streams/async_iterator")),Q(this)}),Object.defineProperty(w.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(w.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(w.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),w._fromList=K,Object.defineProperty(w.prototype,"readableLength",{enumerable:!1,get(){return this._readableState.length}}),"function"==typeof Symbol&&(w.from=function(t,i){return void 0===E&&(E=e("./internal/streams/from")),E(w,t,i)})}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":80,"./_stream_duplex":81,"./internal/streams/async_iterator":86,"./internal/streams/buffer_list":87,"./internal/streams/destroy":88,"./internal/streams/from":90,"./internal/streams/state":92,"./internal/streams/stream":93,_process:185,buffer:99,events:133,inherits:167,"string_decoder/":95,util:50}],84:[function(e,t,i){"use strict";t.exports=I;const A=e("../errors").codes,r=A.ERR_METHOD_NOT_IMPLEMENTED,n=A.ERR_MULTIPLE_CALLBACK,o=A.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=A.ERR_TRANSFORM_WITH_LENGTH_0,s=e("./_stream_duplex");function c(e,t){var i=this._transformState;i.transforming=!1;var A=i.writecb;if(null===A)return this.emit("error",new n);i.writechunk=null,i.writecb=null,null!=t&&this.push(t),A(e);var r=this._readableState;r.reading=!1,(r.needReadable||r.length{h(this,e,t)}))}function h(e,t,i){if(t)return e.emit("error",t);if(null!=i&&e.push(i),e._writableState.length)throw new a;if(e._transformState.transforming)throw new o;return e.push(null)}e("inherits")(I,s),I.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},I.prototype._transform=function(e,t,i){i(new r("_transform()"))},I.prototype._write=function(e,t,i){var A=this._transformState;if(A.writecb=i,A.writechunk=e,A.writeencoding=t,!A.transforming){var r=this._readableState;(A.needTransform||r.needReadable||r.length{t(e)}))}},{"../errors":80,"./_stream_duplex":81,inherits:167}],85:[function(e,t,i){(function(i,A){(function(){"use strict";function r(e){this.next=null,this.entry=null,this.finish=()=>{!function(e,t,i){var A=e.entry;e.entry=null;for(;A;){var r=A.callback;t.pendingcb--,r(i),A=A.next}t.corkedRequestsFree.next=e}(this,e)}}var n;t.exports=w,w.WritableState=b;const o={deprecate:e("util-deprecate")};var a=e("./internal/streams/stream");const s=e("buffer").Buffer,c=(void 0!==A?A:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};const I=e("./internal/streams/destroy"),f=e("./internal/streams/state").getHighWaterMark,h=e("../errors").codes,u=h.ERR_INVALID_ARG_TYPE,g=h.ERR_METHOD_NOT_IMPLEMENTED,d=h.ERR_MULTIPLE_CALLBACK,l=h.ERR_STREAM_CANNOT_PIPE,B=h.ERR_STREAM_DESTROYED,p=h.ERR_STREAM_NULL_VALUES,C=h.ERR_STREAM_WRITE_AFTER_END,Q=h.ERR_UNKNOWN_ENCODING,E=I.errorOrDestroy;function y(){}function b(t,A,o){n=n||e("./_stream_duplex"),t=t||{},"boolean"!=typeof o&&(o=A instanceof n),this.objectMode=!!t.objectMode,o&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=f(this,t,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var A=e._writableState,r=A.sync,n=A.writecb;if("function"!=typeof n)throw new d;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(A),t)!function(e,t,A,r,n){--t.pendingcb,A?(i.nextTick(n,r),i.nextTick(M,e,t),e._writableState.errorEmitted=!0,E(e,r)):(n(r),e._writableState.errorEmitted=!0,E(e,r),M(e,t))}(e,A,r,t,n);else{var o=F(A)||e.destroyed;o||A.corked||A.bufferProcessing||!A.bufferedRequest||S(e,A),r?i.nextTick(D,e,A,o,n):D(e,A,o,n)}}(A,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}var m;function w(t){const i=this instanceof(n=n||e("./_stream_duplex"));if(!i&&!m.call(w,this))return new w(t);this._writableState=new b(t,this,i),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),a.call(this)}function v(e,t,i,A,r,n,o){t.writelen=A,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new B("write")):i?e._writev(r,t.onwrite):e._write(r,n,t.onwrite),t.sync=!1}function D(e,t,i,A){i||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,A(),M(e,t)}function S(e,t){t.bufferProcessing=!0;var i=t.bufferedRequest;if(e._writev&&i&&i.next){var A=t.bufferedRequestCount,n=new Array(A),o=t.corkedRequestsFree;o.entry=i;for(var a=0,s=!0;i;)n[a]=i,i.isBuf||(s=!1),i=i.next,a+=1;n.allBuffers=s,v(e,t,!0,t.length,n,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;i;){var c=i.chunk,I=i.encoding,f=i.callback;if(v(e,t,!1,t.objectMode?1:c.length,c,I,f),i=i.next,t.bufferedRequestCount--,t.writing)break}null===i&&(t.lastBufferedRequest=null)}t.bufferedRequest=i,t.bufferProcessing=!1}function F(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((i=>{t.pendingcb--,i&&E(e,i),t.prefinished=!0,e.emit("prefinish"),M(e,t)}))}function M(e,t){var A=F(t);if(A&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,i.nextTick(k,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){const t=e._readableState;(!t||t.autoDestroy&&t.endEmitted)&&e.destroy()}return A}e("inherits")(w,a),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:o.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(m=Function.prototype[Symbol.hasInstance],Object.defineProperty(w,Symbol.hasInstance,{value:function(e){return!!m.call(this,e)||this===w&&(e&&e._writableState instanceof b)}})):m=function(e){return e instanceof this},w.prototype.pipe=function(){E(this,new l)},w.prototype.write=function(e,t,A){var r,n=this._writableState,o=!1,a=!n.objectMode&&(r=e,s.isBuffer(r)||r instanceof c);return a&&!s.isBuffer(e)&&(e=function(e){return s.from(e)}(e)),"function"==typeof t&&(A=t,t=null),a?t="buffer":t||(t=n.defaultEncoding),"function"!=typeof A&&(A=y),n.ending?function(e,t){var A=new C;E(e,A),i.nextTick(t,A)}(this,A):(a||function(e,t,A,r){var n;return null===A?n=new p:"string"==typeof A||t.objectMode||(n=new u("chunk",["string","Buffer"],A)),!n||(E(e,n),i.nextTick(r,n),!1)}(this,n,e,A))&&(n.pendingcb++,o=function(e,t,i,A,r,n){if(!i){var o=function(e,t,i){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=s.from(t,i));return t}(t,A,r);A!==o&&(i=!0,r="buffer",A=o)}var a=t.objectMode?1:A.length;t.length+=a;var c=t.length-1))throw new Q(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(w.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(w.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),w.prototype._write=function(e,t,i){i(new g("_write()"))},w.prototype._writev=null,w.prototype.end=function(e,t,A){var r=this._writableState;return"function"==typeof e?(A=e,e=null,t=null):"function"==typeof t&&(A=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,A){t.ending=!0,M(e,t),A&&(t.finished?i.nextTick(A):e.once("finish",A));t.ended=!0,e.writable=!1}(this,r,A),this},Object.defineProperty(w.prototype,"writableLength",{enumerable:!1,get(){return this._writableState.length}}),Object.defineProperty(w.prototype,"destroyed",{enumerable:!1,get(){return void 0!==this._writableState&&this._writableState.destroyed},set(e){this._writableState&&(this._writableState.destroyed=e)}}),w.prototype.destroy=I.destroy,w.prototype._undestroy=I.undestroy,w.prototype._destroy=function(e,t){t(e)}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":80,"./_stream_duplex":81,"./internal/streams/destroy":88,"./internal/streams/state":92,"./internal/streams/stream":93,_process:185,buffer:99,inherits:167,"util-deprecate":221}],86:[function(e,t,i){(function(i){(function(){"use strict";const A=e("./end-of-stream"),r=Symbol("lastResolve"),n=Symbol("lastReject"),o=Symbol("error"),a=Symbol("ended"),s=Symbol("lastPromise"),c=Symbol("handlePromise"),I=Symbol("stream");function f(e,t){return{value:e,done:t}}function h(e){const t=e[r];if(null!==t){const i=e[I].read();null!==i&&(e[s]=null,e[r]=null,e[n]=null,t(f(i,!1)))}}function u(e){i.nextTick(h,e)}const g=Object.getPrototypeOf((function(){})),d=Object.setPrototypeOf({get stream(){return this[I]},next(){const e=this[o];if(null!==e)return Promise.reject(e);if(this[a])return Promise.resolve(f(void 0,!0));if(this[I].destroyed)return new Promise(((e,t)=>{i.nextTick((()=>{this[o]?t(this[o]):e(f(void 0,!0))}))}));const t=this[s];let A;if(t)A=new Promise(function(e,t){return(i,A)=>{e.then((()=>{t[a]?i(f(void 0,!0)):t[c](i,A)}),A)}}(t,this));else{const e=this[I].read();if(null!==e)return Promise.resolve(f(e,!1));A=new Promise(this[c])}return this[s]=A,A},[Symbol.asyncIterator](){return this},return(){return new Promise(((e,t)=>{this[I].destroy(null,(i=>{i?t(i):e(f(void 0,!0))}))}))}},g);t.exports=e=>{const t=Object.create(d,{[I]:{value:e,writable:!0},[r]:{value:null,writable:!0},[n]:{value:null,writable:!0},[o]:{value:null,writable:!0},[a]:{value:e._readableState.endEmitted,writable:!0},[c]:{value:(e,i)=>{const A=t[I].read();A?(t[s]=null,t[r]=null,t[n]=null,e(f(A,!1))):(t[r]=e,t[n]=i)},writable:!0}});return t[s]=null,A(e,(e=>{if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){const i=t[n];return null!==i&&(t[s]=null,t[r]=null,t[n]=null,i(e)),void(t[o]=e)}const i=t[r];null!==i&&(t[s]=null,t[r]=null,t[n]=null,i(f(void 0,!0))),t[a]=!0})),e.on("readable",u.bind(null,t)),t}}).call(this)}).call(this,e("_process"))},{"./end-of-stream":89,_process:185}],87:[function(e,t,i){"use strict";function A(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(e);t&&(A=A.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,A)}return i}function r(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){const t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";for(var t=this.head,i=""+t.data;t=t.next;)i+=e+t.data;return i}concat(e){if(0===this.length)return o.alloc(0);const t=o.allocUnsafe(e>>>0);for(var i,A,r,n=this.head,a=0;n;)i=n.data,A=t,r=a,o.prototype.copy.call(i,A,r),a+=n.data.length,n=n.next;return t}consume(e,t){var i;return er.length?r.length:e;if(n===r.length?A+=r:A+=r.slice(0,e),0===(e-=n)){n===r.length?(++i,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=r.slice(n));break}++i}return this.length-=i,A}_getBuffer(e){const t=o.allocUnsafe(e);var i=this.head,A=1;for(i.data.copy(t),e-=i.data.length;i=i.next;){const r=i.data,n=e>r.length?r.length:e;if(r.copy(t,t.length-e,0,n),0===(e-=n)){n===r.length?(++A,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=r.slice(n));break}++A}return this.length-=A,t}[s](e,t){return a(this,r(r({},t),{},{depth:0,customInspect:!1}))}}},{buffer:99,util:50}],88:[function(e,t,i){(function(e){(function(){"use strict";function i(e,t){r(e,t),A(e)}function A(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function r(e,t){e.emit("error",t)}t.exports={destroy:function(t,n){const o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(n?n(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(r,this,t)):e.nextTick(r,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(t=>{!n&&t?this._writableState?this._writableState.errorEmitted?e.nextTick(A,this):(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t):n?(e.nextTick(A,this),n(t)):e.nextTick(A,this)})),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){const i=e._readableState,A=e._writableState;i&&i.autoDestroy||A&&A.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this)}).call(this,e("_process"))},{_process:185}],89:[function(e,t,i){"use strict";const A=e("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function r(){}t.exports=function e(t,i,n){if("function"==typeof i)return e(t,null,i);i||(i={}),n=function(e){let t=!1;return function(){if(!t){t=!0;for(var i=arguments.length,A=new Array(i),r=0;r{t.writable||I()};var c=t._writableState&&t._writableState.finished;const I=()=>{a=!1,c=!0,o||n.call(t)};var f=t._readableState&&t._readableState.endEmitted;const h=()=>{o=!1,f=!0,a||n.call(t)},u=e=>{n.call(t,e)},g=()=>{let e;return o&&!f?(t._readableState&&t._readableState.ended||(e=new A),n.call(t,e)):a&&!c?(t._writableState&&t._writableState.ended||(e=new A),n.call(t,e)):void 0},d=()=>{t.req.on("finish",I)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?a&&!t._writableState&&(t.on("end",s),t.on("close",s)):(t.on("complete",I),t.on("abort",g),t.req?d():t.on("request",d)),t.on("end",h),t.on("finish",I),!1!==i.error&&t.on("error",u),t.on("close",g),function(){t.removeListener("complete",I),t.removeListener("abort",g),t.removeListener("request",d),t.req&&t.req.removeListener("finish",I),t.removeListener("end",s),t.removeListener("close",s),t.removeListener("finish",I),t.removeListener("end",h),t.removeListener("error",u),t.removeListener("close",g)}}},{"../../../errors":80}],90:[function(e,t,i){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],91:[function(e,t,i){"use strict";let A;const r=e("../../../errors").codes,n=r.ERR_MISSING_ARGS,o=r.ERR_STREAM_DESTROYED;function a(e){if(e)throw e}function s(e){e()}function c(e,t){return e.pipe(t)}t.exports=function(){for(var t=arguments.length,i=new Array(t),r=0;r{a=!0})),void 0===A&&(A=e("./end-of-stream")),A(t,{readable:i,writable:r},(e=>{if(e)return n(e);a=!0,n()}));let s=!1;return e=>{if(!a&&!s)return s=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void n(e||new o("pipe"))}}(t,n,r>0,(function(e){f||(f=e),e&&h.forEach(s),n||(h.forEach(s),I(f))}))}));return i.reduce(c)}},{"../../../errors":80,"./end-of-stream":89}],92:[function(e,t,i){"use strict";const A=e("../../../errors").codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,i,r){const n=function(e,t,i){return null!=e.highWaterMark?e.highWaterMark:t?e[i]:null}(t,r,i);if(null!=n){if(!isFinite(n)||Math.floor(n)!==n||n<0){throw new A(r?i:"highWaterMark",n)}return Math.floor(n)}return e.objectMode?16:16384}}},{"../../../errors":80}],93:[function(e,t,i){t.exports=e("events").EventEmitter},{events:133}],94:[function(e,t,i){(i=t.exports=e("./lib/_stream_readable.js")).Stream=i,i.Readable=i,i.Writable=e("./lib/_stream_writable.js"),i.Duplex=e("./lib/_stream_duplex.js"),i.Transform=e("./lib/_stream_transform.js"),i.PassThrough=e("./lib/_stream_passthrough.js"),i.finished=e("./lib/internal/streams/end-of-stream.js"),i.pipeline=e("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":81,"./lib/_stream_passthrough.js":82,"./lib/_stream_readable.js":83,"./lib/_stream_transform.js":84,"./lib/_stream_writable.js":85,"./lib/internal/streams/end-of-stream.js":89,"./lib/internal/streams/pipeline.js":91}],95:[function(e,t,i){"use strict";var A=e("safe-buffer").Buffer,r=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 n(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===r||!r(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=s,this.end=c,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=I,this.end=f,t=3;break;default:return this.write=h,void(this.end=u)}this.lastNeed=0,this.lastTotal=0,this.lastChar=A.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,i=function(e,t,i){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!==i?i: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 s(e,t){if((e.length-t)%2==0){var i=e.toString("utf16le",t);if(i){var A=i.charCodeAt(i.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],i.slice(0,-1)}return i}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 i=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,i)}return t}function I(e,t){var i=(e.length-t)%3;return 0===i?e.toString("base64",t):(this.lastNeed=3-i,this.lastTotal=3,1===i?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-i))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function u(e){return e&&e.length?this.write(e):""}i.StringDecoder=n,n.prototype.write=function(e){if(0===e.length)return"";var t,i;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i=0)return r>0&&(e.lastNeed=r-1),r;if(--A=0)return r>0&&(e.lastNeed=r-2),r;if(--A=0)return r>0&&(2===r?r=0:e.lastNeed=r-3),r;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=i;var A=e.length-(i-this.lastNeed);return e.copy(this.lastChar,0,A),e.toString("utf8",t,A)},n.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}},{"safe-buffer":195}],96:[function(e,t,i){arguments[4][50][0].apply(i,arguments)},{dup:50}],97:[function(e,t,i){arguments[4][95][0].apply(i,arguments)},{dup:95,"safe-buffer":195}],98:[function(e,t,i){(function(e){(function(){t.exports=function(t,i){for(var A=Math.min(t.length,i.length),r=new e(A),n=0;n * @license MIT */ -"use strict";var t=e("base64-js"),A=e("ieee754");i.Buffer=o,i.SlowBuffer=function(e){+e!=e&&(e=0);return o.alloc(+e)},i.INSPECT_MAX_BYTES=50;var r=2147483647;function n(e){if(e>r)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return t.__proto__=o.prototype,t}function o(e,t,i){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return c(e)}return a(e,t,i)}function a(e,t,i){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!o.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var i=0|h(e,t),A=n(i),r=A.write(e,t);r!==i&&(A=A.slice(0,r));return A}(e,t);if(ArrayBuffer.isView(e))return I(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(x(e,ArrayBuffer)||e&&x(e.buffer,ArrayBuffer))return function(e,t,i){if(t<0||e.byteLength=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return 0|e}function h(e,t){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||x(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 i=e.length,A=arguments.length>2&&!0===arguments[2];if(!A&&0===i)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return R(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return K(e).length;default:if(r)return A?-1:R(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,i){var A=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return S(this,t,i);case"utf8":case"utf-8":return m(this,t,i);case"ascii":return v(this,t,i);case"latin1":case"binary":return D(this,t,i);case"base64":return b(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,i);default:if(A)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),A=!0}}function u(e,t,i){var A=e[t];e[t]=e[i],e[i]=A}function d(e,t,i,A,r){if(0===e.length)return-1;if("string"==typeof i?(A=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),J(i=+i)&&(i=r?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(r)return-1;i=e.length-1}else if(i<0){if(!r)return-1;i=0}if("string"==typeof t&&(t=o.from(t,A)),o.isBuffer(t))return 0===t.length?-1:l(e,t,i,A,r);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):l(e,[t],i,A,r);throw new TypeError("val must be string, number or Buffer")}function l(e,t,i,A,r){var n,o=1,a=e.length,s=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;o=2,a/=2,s/=2,i/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(r){var I=-1;for(n=i;na&&(i=a-s),n=i;n>=0;n--){for(var f=!0,h=0;hr&&(A=r):A=r;var n=t.length;A>n/2&&(A=n/2);for(var o=0;o>8,r=i%256,n.push(r),n.push(A);return n}(t,e.length-i),e,i,A)}function b(e,i,A){return 0===i&&A===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(i,A))}function m(e,t,i){i=Math.min(e.length,i);for(var A=[],r=t;r239?4:c>223?3:c>191?2:1;if(r+f<=i)switch(f){case 1:c<128&&(I=c);break;case 2:128==(192&(n=e[r+1]))&&(s=(31&c)<<6|63&n)>127&&(I=s);break;case 3:n=e[r+1],o=e[r+2],128==(192&n)&&128==(192&o)&&(s=(15&c)<<12|(63&n)<<6|63&o)>2047&&(s<55296||s>57343)&&(I=s);break;case 4:n=e[r+1],o=e[r+2],a=e[r+3],128==(192&n)&&128==(192&o)&&128==(192&a)&&(s=(15&c)<<18|(63&n)<<12|(63&o)<<6|63&a)>65535&&s<1114112&&(I=s)}null===I?(I=65533,f=1):I>65535&&(I-=65536,A.push(I>>>10&1023|55296),I=56320|1023&I),A.push(I),r+=f}return function(e){var t=e.length;if(t<=w)return String.fromCharCode.apply(String,e);var i="",A=0;for(;At&&(e+=" ... "),""},o.prototype.compare=function(e,t,i,A,r){if(x(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.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===i&&(i=e?e.length:0),void 0===A&&(A=0),void 0===r&&(r=this.length),t<0||i>e.length||A<0||r>this.length)throw new RangeError("out of range index");if(A>=r&&t>=i)return 0;if(A>=r)return-1;if(t>=i)return 1;if(this===e)return 0;for(var n=(r>>>=0)-(A>>>=0),a=(i>>>=0)-(t>>>=0),s=Math.min(n,a),c=this.slice(A,r),I=e.slice(t,i),f=0;f>>=0,isFinite(i)?(i>>>=0,void 0===A&&(A="utf8")):(A=i,i=void 0)}var r=this.length-t;if((void 0===i||i>r)&&(i=r),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");A||(A="utf8");for(var n=!1;;)switch(A){case"hex":return B(this,e,t,i);case"utf8":case"utf-8":return p(this,e,t,i);case"ascii":return C(this,e,t,i);case"latin1":case"binary":return Q(this,e,t,i);case"base64":return E(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return y(this,e,t,i);default:if(n)throw new TypeError("Unknown encoding: "+A);A=(""+A).toLowerCase(),n=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var w=4096;function v(e,t,i){var A="";i=Math.min(e.length,i);for(var r=t;rA)&&(i=A);for(var r="",n=t;ni)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,i,A,r,n){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function N(e,t,i,A,r,n){if(i+A>e.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function U(e,t,i,r,n){return t=+t,i>>>=0,n||N(e,0,i,4),A.write(e,t,i,r,23,4),i+4}function G(e,t,i,r,n){return t=+t,i>>>=0,n||N(e,0,i,8),A.write(e,t,i,r,52,8),i+8}o.prototype.slice=function(e,t){var i=this.length;(e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t>>=0,t>>>=0,i||k(e,t,this.length);for(var A=this[e],r=1,n=0;++n>>=0,t>>>=0,i||k(e,t,this.length);for(var A=this[e+--t],r=1;t>0&&(r*=256);)A+=this[e+--t]*r;return A},o.prototype.readUInt8=function(e,t){return e>>>=0,t||k(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,i){e>>>=0,t>>>=0,i||k(e,t,this.length);for(var A=this[e],r=1,n=0;++n=(r*=128)&&(A-=Math.pow(2,8*t)),A},o.prototype.readIntBE=function(e,t,i){e>>>=0,t>>>=0,i||k(e,t,this.length);for(var A=t,r=1,n=this[e+--A];A>0&&(r*=256);)n+=this[e+--A]*r;return n>=(r*=128)&&(n-=Math.pow(2,8*t)),n},o.prototype.readInt8=function(e,t){return e>>>=0,t||k(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,t||k(e,2,this.length);var i=this[e]|this[e+1]<<8;return 32768&i?4294901760|i:i},o.prototype.readInt16BE=function(e,t){e>>>=0,t||k(e,2,this.length);var i=this[e+1]|this[e]<<8;return 32768&i?4294901760|i:i},o.prototype.readInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return e>>>=0,t||k(e,4,this.length),A.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return e>>>=0,t||k(e,4,this.length),A.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return e>>>=0,t||k(e,8,this.length),A.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return e>>>=0,t||k(e,8,this.length),A.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,i,A){(e=+e,t>>>=0,i>>>=0,A)||M(this,e,t,i,Math.pow(2,8*i)-1,0);var r=1,n=0;for(this[t]=255&e;++n>>=0,i>>>=0,A)||M(this,e,t,i,Math.pow(2,8*i)-1,0);var r=i-1,n=1;for(this[t+r]=255&e;--r>=0&&(n*=256);)this[t+r]=e/n&255;return t+i},o.prototype.writeUInt8=function(e,t,i){return e=+e,t>>>=0,i||M(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,i){return e=+e,t>>>=0,i||M(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUInt16BE=function(e,t,i){return e=+e,t>>>=0,i||M(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUInt32LE=function(e,t,i){return e=+e,t>>>=0,i||M(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},o.prototype.writeUInt32BE=function(e,t,i){return e=+e,t>>>=0,i||M(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},o.prototype.writeIntLE=function(e,t,i,A){if(e=+e,t>>>=0,!A){var r=Math.pow(2,8*i-1);M(this,e,t,i,r-1,-r)}var n=0,o=1,a=0;for(this[t]=255&e;++n>0)-a&255;return t+i},o.prototype.writeIntBE=function(e,t,i,A){if(e=+e,t>>>=0,!A){var r=Math.pow(2,8*i-1);M(this,e,t,i,r-1,-r)}var n=i-1,o=1,a=0;for(this[t+n]=255&e;--n>=0&&(o*=256);)e<0&&0===a&&0!==this[t+n+1]&&(a=1),this[t+n]=(e/o>>0)-a&255;return t+i},o.prototype.writeInt8=function(e,t,i){return e=+e,t>>>=0,i||M(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,i){return e=+e,t>>>=0,i||M(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,i){return e=+e,t>>>=0,i||M(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,i){return e=+e,t>>>=0,i||M(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},o.prototype.writeInt32BE=function(e,t,i){return e=+e,t>>>=0,i||M(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},o.prototype.writeFloatLE=function(e,t,i){return U(this,e,t,!0,i)},o.prototype.writeFloatBE=function(e,t,i){return U(this,e,t,!1,i)},o.prototype.writeDoubleLE=function(e,t,i){return G(this,e,t,!0,i)},o.prototype.writeDoubleBE=function(e,t,i){return G(this,e,t,!1,i)},o.prototype.copy=function(e,t,i,A){if(!o.isBuffer(e))throw new TypeError("argument should be a Buffer");if(i||(i=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;--n)e[n+t]=this[n+i];else Uint8Array.prototype.set.call(e,this.subarray(i,A),t);return r},o.prototype.fill=function(e,t,i,A){if("string"==typeof e){if("string"==typeof t?(A=t,t=0,i=this.length):"string"==typeof i&&(A=i,i=this.length),void 0!==A&&"string"!=typeof A)throw new TypeError("encoding must be a string");if("string"==typeof A&&!o.isEncoding(A))throw new TypeError("Unknown encoding: "+A);if(1===e.length){var r=e.charCodeAt(0);("utf8"===A&&r<128||"latin1"===A)&&(e=r)}}else"number"==typeof e&&(e&=255);if(t<0||this.length>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(n=t;n55295&&i<57344){if(!r){if(i>56319){(t-=3)>-1&&n.push(239,191,189);continue}if(o+1===A){(t-=3)>-1&&n.push(239,191,189);continue}r=i;continue}if(i<56320){(t-=3)>-1&&n.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(t-=3)>-1&&n.push(239,191,189);if(r=null,i<128){if((t-=1)<0)break;n.push(i)}else if(i<2048){if((t-=2)<0)break;n.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;n.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;n.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return n}function K(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function q(e,t,i,A){for(var r=0;r=t.length||r>=e.length);++r)t[r+i]=e[r];return r}function x(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function J(e){return e!=e}}).call(this)}).call(this,e("buffer").Buffer)},{"base64-js":46,buffer:99,ieee754:168}],100:[function(e,t,i){var A=e("safe-buffer").Buffer,r=e("stream").Transform,n=e("string_decoder").StringDecoder;function o(e){r.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("inherits")(o,r),o.prototype.update=function(e,t,i){"string"==typeof e&&(e=A.from(e,t));var r=this._update(e);return this.hashMode?this:(i&&(r=this._toString(r,i)),r)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(e,t,i){var A;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){A=e}finally{i(A)}},o.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},o.prototype._finalOrDigest=function(e){var t=this.__final()||A.alloc(0);return e&&(t=this._toString(t,e,!0)),t},o.prototype._toString=function(e,t,i){if(this._decoder||(this._decoder=new n(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var A=this._decoder.write(e);return i&&(A+=this._decoder.end()),A},t.exports=o},{inherits:169,"safe-buffer":198,stream:209,string_decoder:97}],101:[function(e,t,i){(function(i){(function(){var A=e("elliptic"),r=e("bn.js");t.exports=function(e){return new o(e)};var n={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function o(e){this.curveType=n[e],this.curveType||(this.curveType={name:e}),this.curve=new A.ec(this.curveType.name),this.keys=void 0}function a(e,t,A){Array.isArray(e)||(e=e.toArray());var r=new i(e);if(A&&r.lengthi)?t=("rmd160"===e?new s:c(e)).update(t).digest():t.lengtha?t=e(t):t.length0;A--)t+=this._buffer(e,t),i+=this._flushBuffer(r,i);return t+=this._buffer(e,t),r},r.prototype.final=function(e){var t,i;return e&&(t=this.update(e)),i="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(i):i},r.prototype._pad=function(e,t){if(0===t)return!1;for(;t>>1];i=n.r28shl(i,a),r=n.r28shl(r,a),n.pc2(i,r,e.keys,o)}},s.prototype._update=function(e,t,i,A){var r=this._desState,o=n.readUInt32BE(e,t),a=n.readUInt32BE(e,t+4);n.ip(o,a,r.tmp,0),o=r.tmp[0],a=r.tmp[1],"encrypt"===this.type?this._encrypt(r,o,a,r.tmp,0):this._decrypt(r,o,a,r.tmp,0),o=r.tmp[0],a=r.tmp[1],n.writeUInt32BE(i,o,A),n.writeUInt32BE(i,a,A+4)},s.prototype._pad=function(e,t){for(var i=e.length-t,A=t;A>>0,o=h}n.rip(a,o,A,r)},s.prototype._decrypt=function(e,t,i,A,r){for(var o=i,a=t,s=e.keys.length-2;s>=0;s-=2){var c=e.keys[s],I=e.keys[s+1];n.expand(o,e.tmp,0),c^=e.tmp[0],I^=e.tmp[1];var f=n.substitute(c,I),h=o;o=(a^n.permute(f))>>>0,a=h}n.rip(o,a,A,r)}},{"./cipher":110,"./utils":113,inherits:169,"minimalistic-assert":174}],112:[function(e,t,i){"use strict";var A=e("minimalistic-assert"),r=e("inherits"),n=e("./cipher"),o=e("./des");function a(e,t){A.equal(t.length,24,"Invalid key length");var i=t.slice(0,8),r=t.slice(8,16),n=t.slice(16,24);this.ciphers="encrypt"===e?[o.create({type:"encrypt",key:i}),o.create({type:"decrypt",key:r}),o.create({type:"encrypt",key:n})]:[o.create({type:"decrypt",key:n}),o.create({type:"encrypt",key:r}),o.create({type:"decrypt",key:i})]}function s(e){n.call(this,e);var t=new a(this.type,this.options.key);this._edeState=t}r(s,n),t.exports=s,s.create=function(e){return new s(e)},s.prototype._update=function(e,t,i,A){var r=this._edeState;r.ciphers[0]._update(e,t,i,A),r.ciphers[1]._update(i,A,i,A),r.ciphers[2]._update(i,A,i,A)},s.prototype._pad=o.prototype._pad,s.prototype._unpad=o.prototype._unpad},{"./cipher":110,"./des":111,inherits:169,"minimalistic-assert":174}],113:[function(e,t,i){"use strict";i.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},i.writeUInt32BE=function(e,t,i){e[0+i]=t>>>24,e[1+i]=t>>>16&255,e[2+i]=t>>>8&255,e[3+i]=255&t},i.ip=function(e,t,i,A){for(var r=0,n=0,o=6;o>=0;o-=2){for(var a=0;a<=24;a+=8)r<<=1,r|=t>>>a+o&1;for(a=0;a<=24;a+=8)r<<=1,r|=e>>>a+o&1}for(o=6;o>=0;o-=2){for(a=1;a<=25;a+=8)n<<=1,n|=t>>>a+o&1;for(a=1;a<=25;a+=8)n<<=1,n|=e>>>a+o&1}i[A+0]=r>>>0,i[A+1]=n>>>0},i.rip=function(e,t,i,A){for(var r=0,n=0,o=0;o<4;o++)for(var a=24;a>=0;a-=8)r<<=1,r|=t>>>a+o&1,r<<=1,r|=e>>>a+o&1;for(o=4;o<8;o++)for(a=24;a>=0;a-=8)n<<=1,n|=t>>>a+o&1,n<<=1,n|=e>>>a+o&1;i[A+0]=r>>>0,i[A+1]=n>>>0},i.pc1=function(e,t,i,A){for(var r=0,n=0,o=7;o>=5;o--){for(var a=0;a<=24;a+=8)r<<=1,r|=t>>a+o&1;for(a=0;a<=24;a+=8)r<<=1,r|=e>>a+o&1}for(a=0;a<=24;a+=8)r<<=1,r|=t>>a+o&1;for(o=1;o<=3;o++){for(a=0;a<=24;a+=8)n<<=1,n|=t>>a+o&1;for(a=0;a<=24;a+=8)n<<=1,n|=e>>a+o&1}for(a=0;a<=24;a+=8)n<<=1,n|=e>>a+o&1;i[A+0]=r>>>0,i[A+1]=n>>>0},i.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];i.pc2=function(e,t,i,r){for(var n=0,o=0,a=A.length>>>1,s=0;s>>A[s]&1;for(s=a;s>>A[s]&1;i[r+0]=n>>>0,i[r+1]=o>>>0},i.expand=function(e,t,i){var A=0,r=0;A=(1&e)<<5|e>>>27;for(var n=23;n>=15;n-=4)A<<=6,A|=e>>>n&63;for(n=11;n>=3;n-=4)r|=e>>>n&63,r<<=6;r|=(31&e)<<1|e>>>31,t[i+0]=A>>>0,t[i+1]=r>>>0};var r=[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];i.substitute=function(e,t){for(var i=0,A=0;A<4;A++){i<<=4,i|=r[64*A+(e>>>18-6*A&63)]}for(A=0;A<4;A++){i<<=4,i|=r[256+64*A+(t>>>18-6*A&63)]}return i>>>0};var n=[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];i.permute=function(e){for(var t=0,i=0;i>>n[i]&1;return t>>>0},i.padSplit=function(e,t,i){for(var A=e.toString(2);A.lengthe;)i.ishrn(1);if(i.isEven()&&i.iadd(a),i.testn(1)||i.iadd(s),t.cmp(s)){if(!t.cmp(c))for(;i.mod(I).cmp(f);)i.iadd(g)}else for(;i.mod(n).cmp(h);)i.iadd(g);if(l(u=i.shrn(1))&&l(i)&&B(u)&&B(i)&&o.test(u)&&o.test(i))return i}}},{"bn.js":47,"miller-rabin":173,randombytes:195}],117:[function(e,t,i){t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],118:[function(e,t,i){"use strict";var A=i;A.version=e("../package.json").version,A.utils=e("./elliptic/utils"),A.rand=e("brorand"),A.curve=e("./elliptic/curve"),A.curves=e("./elliptic/curves"),A.ec=e("./elliptic/ec"),A.eddsa=e("./elliptic/eddsa")},{"../package.json":133,"./elliptic/curve":121,"./elliptic/curves":124,"./elliptic/ec":125,"./elliptic/eddsa":128,"./elliptic/utils":132,brorand:48}],119:[function(e,t,i){"use strict";var A=e("bn.js"),r=e("../utils"),n=r.getNAF,o=r.getJSF,a=r.assert;function s(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 i=this.n&&this.p.div(this.n);!i||i.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=s,s.prototype.point=function(){throw new Error("Not implemented")},s.prototype.validate=function(){throw new Error("Not implemented")},s.prototype._fixedNafMul=function(e,t){a(e.precomputed);var i=e._getDoubles(),A=n(t,1,this._bitLength),r=(1<=o;I--)s=(s<<1)+A[I];c.push(s)}for(var f=this.jpoint(null,null,null),h=this.jpoint(null,null,null),g=r;g>0;g--){for(o=0;o=0;c--){for(var I=0;c>=0&&0===o[c];c--)I++;if(c>=0&&I++,s=s.dblp(I),c<0)break;var f=o[c];a(0!==f),s="affine"===e.type?f>0?s.mixedAdd(r[f-1>>1]):s.mixedAdd(r[-f-1>>1].neg()):f>0?s.add(r[f-1>>1]):s.add(r[-f-1>>1].neg())}return"affine"===e.type?s.toP():s},s.prototype._wnafMulAdd=function(e,t,i,A,r){var a,s,c,I=this._wnafT1,f=this._wnafT2,h=this._wnafT3,g=0;for(a=0;a=1;a-=2){var d=a-1,l=a;if(1===I[d]&&1===I[l]){var B=[t[d],null,null,t[l]];0===t[d].y.cmp(t[l].y)?(B[1]=t[d].add(t[l]),B[2]=t[d].toJ().mixedAdd(t[l].neg())):0===t[d].y.cmp(t[l].y.redNeg())?(B[1]=t[d].toJ().mixedAdd(t[l]),B[2]=t[d].add(t[l].neg())):(B[1]=t[d].toJ().mixedAdd(t[l]),B[2]=t[d].toJ().mixedAdd(t[l].neg()));var p=[-3,-1,-5,-7,0,7,5,1,3],C=o(i[d],i[l]);for(g=Math.max(C[0].length,g),h[d]=new Array(g),h[l]=new Array(g),s=0;s=0;a--){for(var m=0;a>=0;){var w=!0;for(s=0;s=0&&m++,y=y.dblp(m),a<0)break;for(s=0;s0?c=f[s][v-1>>1]:v<0&&(c=f[s][-v-1>>1].neg()),y="affine"===c.type?y.mixedAdd(c):y.add(c))}}for(a=0;a=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 i=[this],A=this,r=0;r":""},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(),i=this.z.redSqr();i=i.redIAdd(i);var A=this.curve._mulA(e),r=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),n=A.redAdd(t),o=n.redSub(i),a=A.redSub(t),s=r.redMul(o),c=n.redMul(a),I=r.redMul(a),f=o.redMul(n);return this.curve.point(s,c,f,I)},c.prototype._projDbl=function(){var e,t,i,A,r,n,o=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),s=this.y.redSqr();if(this.curve.twisted){var c=(A=this.curve._mulA(a)).redAdd(s);this.zOne?(e=o.redSub(a).redSub(s).redMul(c.redSub(this.curve.two)),t=c.redMul(A.redSub(s)),i=c.redSqr().redSub(c).redSub(c)):(r=this.z.redSqr(),n=c.redSub(r).redISub(r),e=o.redSub(a).redISub(s).redMul(n),t=c.redMul(A.redSub(s)),i=c.redMul(n))}else A=a.redAdd(s),r=this.curve._mulC(this.z).redSqr(),n=A.redSub(r).redSub(r),e=this.curve._mulC(o.redISub(A)).redMul(n),t=this.curve._mulC(A).redMul(a.redISub(s)),i=A.redMul(n);return this.curve.point(e,t,i)},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)),i=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),A=this.t.redMul(this.curve.dd).redMul(e.t),r=this.z.redMul(e.z.redAdd(e.z)),n=i.redSub(t),o=r.redSub(A),a=r.redAdd(A),s=i.redAdd(t),c=n.redMul(o),I=a.redMul(s),f=n.redMul(s),h=o.redMul(a);return this.curve.point(c,I,h,f)},c.prototype._projAdd=function(e){var t,i,A=this.z.redMul(e.z),r=A.redSqr(),n=this.x.redMul(e.x),o=this.y.redMul(e.y),a=this.curve.d.redMul(n).redMul(o),s=r.redSub(a),c=r.redAdd(a),I=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(n).redISub(o),f=A.redMul(s).redMul(I);return this.curve.twisted?(t=A.redMul(c).redMul(o.redSub(this.curve._mulA(n))),i=s.redMul(c)):(t=A.redMul(c).redMul(o.redSub(n)),i=this.curve._mulC(s).redMul(c)),this.curve.point(f,t,i)},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,i){return this.curve._wnafMulAdd(1,[this,t],[e,i],2,!1)},c.prototype.jmulAdd=function(e,t,i){return this.curve._wnafMulAdd(1,[this,t],[e,i],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 i=e.clone(),A=this.curve.redN.redMul(this.z);;){if(i.iadd(this.curve.n),i.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},{"../utils":132,"./base":119,"bn.js":47,inherits:169}],121:[function(e,t,i){"use strict";var A=i;A.base=e("./base"),A.short=e("./short"),A.mont=e("./mont"),A.edwards=e("./edwards")},{"./base":119,"./edwards":120,"./mont":122,"./short":123}],122:[function(e,t,i){"use strict";var A=e("bn.js"),r=e("inherits"),n=e("./base"),o=e("../utils");function a(e){n.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 s(e,t,i){n.BasePoint.call(this,e,"projective"),null===t&&null===i?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new A(t,16),this.z=new A(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}r(a,n),t.exports=a,a.prototype.validate=function(e){var t=e.normalize().x,i=t.redSqr(),A=i.redMul(t).redAdd(i.redMul(this.a)).redAdd(t);return 0===A.redSqrt().redSqr().cmp(A)},r(s,n.BasePoint),a.prototype.decodePoint=function(e,t){return this.point(o.toArray(e,t),1)},a.prototype.point=function(e,t){return new s(this,e,t)},a.prototype.pointFromJSON=function(e){return s.fromJSON(this,e)},s.prototype.precompute=function(){},s.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},s.fromJSON=function(e,t){return new s(e,t[0],t[1]||e.one)},s.prototype.inspect=function(){return this.isInfinity()?"":""},s.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},s.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),i=e.redSub(t),A=e.redMul(t),r=i.redMul(t.redAdd(this.curve.a24.redMul(i)));return this.curve.point(A,r)},s.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.diffAdd=function(e,t){var i=this.x.redAdd(this.z),A=this.x.redSub(this.z),r=e.x.redAdd(e.z),n=e.x.redSub(e.z).redMul(i),o=r.redMul(A),a=t.z.redMul(n.redAdd(o).redSqr()),s=t.x.redMul(n.redISub(o).redSqr());return this.curve.point(a,s)},s.prototype.mul=function(e){for(var t=e.clone(),i=this,A=this.curve.point(null,null),r=[];0!==t.cmpn(0);t.iushrn(1))r.push(t.andln(1));for(var n=r.length-1;n>=0;n--)0===r[n]?(i=i.diffAdd(A,this),A=A.dbl()):(A=i.diffAdd(A,this),i=i.dbl());return A},s.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},s.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},s.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../utils":132,"./base":119,"bn.js":47,inherits:169}],123:[function(e,t,i){"use strict";var A=e("../utils"),r=e("bn.js"),n=e("inherits"),o=e("./base"),a=A.assert;function s(e){o.call(this,"short",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(e,t,i,A){o.BasePoint.call(this,e,"affine"),null===t&&null===i?(this.x=null,this.y=null,this.inf=!0):(this.x=new r(t,16),this.y=new r(i,16),A&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function I(e,t,i,A){o.BasePoint.call(this,e,"jacobian"),null===t&&null===i&&null===A?(this.x=this.curve.one,this.y=this.curve.one,this.z=new r(0)):(this.x=new r(t,16),this.y=new r(i,16),this.z=new r(A,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.zOne=this.z===this.curve.one}n(s,o),t.exports=s,s.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,i;if(e.beta)t=new r(e.beta,16).toRed(this.red);else{var A=this._getEndoRoots(this.p);t=(t=A[0].cmp(A[1])<0?A[0]:A[1]).toRed(this.red)}if(e.lambda)i=new r(e.lambda,16);else{var n=this._getEndoRoots(this.n);0===this.g.mul(n[0]).x.cmp(this.g.x.redMul(t))?i=n[0]:(i=n[1],a(0===this.g.mul(i).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:i,basis:e.basis?e.basis.map((function(e){return{a:new r(e.a,16),b:new r(e.b,16)}})):this._getEndoBasis(i)}}},s.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:r.mont(e),i=new r(2).toRed(t).redInvm(),A=i.redNeg(),n=new r(3).toRed(t).redNeg().redSqrt().redMul(i);return[A.redAdd(n).fromRed(),A.redSub(n).fromRed()]},s.prototype._getEndoBasis=function(e){for(var t,i,A,n,o,a,s,c,I,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=e,g=this.n.clone(),u=new r(1),d=new r(0),l=new r(0),B=new r(1),p=0;0!==h.cmpn(0);){var C=g.div(h);c=g.sub(C.mul(h)),I=l.sub(C.mul(u));var Q=B.sub(C.mul(d));if(!A&&c.cmp(f)<0)t=s.neg(),i=u,A=c.neg(),n=I;else if(A&&2==++p)break;s=c,g=h,h=c,l=u,u=I,B=d,d=Q}o=c.neg(),a=I;var E=A.sqr().add(n.sqr());return o.sqr().add(a.sqr()).cmp(E)>=0&&(o=t,a=i),A.negative&&(A=A.neg(),n=n.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:A,b:n},{a:o,b:a}]},s.prototype._endoSplit=function(e){var t=this.endo.basis,i=t[0],A=t[1],r=A.b.mul(e).divRound(this.n),n=i.b.neg().mul(e).divRound(this.n),o=r.mul(i.a),a=n.mul(A.a),s=r.mul(i.b),c=n.mul(A.b);return{k1:e.sub(o).sub(a),k2:s.add(c).neg()}},s.prototype.pointFromX=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var i=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),A=i.redSqrt();if(0!==A.redSqr().redSub(i).cmp(this.zero))throw new Error("invalid point");var n=A.fromRed().isOdd();return(t&&!n||!t&&n)&&(A=A.redNeg()),this.point(e,A)},s.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,i=e.y,A=this.a.redMul(t),r=t.redSqr().redMul(t).redIAdd(A).redIAdd(this.b);return 0===i.redSqr().redISub(r).cmpn(0)},s.prototype._endoWnafMulAdd=function(e,t,i){for(var A=this._endoWnafT1,r=this._endoWnafT2,n=0;n":""},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 i=t.redSqr().redISub(this.x).redISub(e.x),A=t.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,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,i=this.x.redSqr(),A=e.redInvm(),r=i.redAdd(i).redIAdd(i).redIAdd(t).redMul(A),n=r.redSqr().redISub(this.x.redAdd(this.x)),o=r.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,o)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(e){return e=new r(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,i){var A=[this,t],r=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(A,r):this.curve._wnafMulAdd(1,A,r,2)},c.prototype.jmulAdd=function(e,t,i){var A=[this,t],r=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(A,r,!0):this.curve._wnafMulAdd(1,A,r,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 i=this.precomputed,A=function(e){return e.neg()};t.precomputed={naf:i.naf&&{wnd:i.naf.wnd,points:i.naf.points.map(A)},doubles:i.doubles&&{step:i.doubles.step,points:i.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)},n(I,o.BasePoint),s.prototype.jpoint=function(e,t,i){return new I(this,e,t,i)},I.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),i=this.x.redMul(t),A=this.y.redMul(t).redMul(e);return this.curve.point(i,A)},I.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},I.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),i=this.z.redSqr(),A=this.x.redMul(t),r=e.x.redMul(i),n=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(i.redMul(this.z)),a=A.redSub(r),s=n.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),I=c.redMul(a),f=A.redMul(c),h=s.redSqr().redIAdd(I).redISub(f).redISub(f),g=s.redMul(f.redISub(h)).redISub(n.redMul(I)),u=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(h,g,u)},I.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),i=this.x,A=e.x.redMul(t),r=this.y,n=e.y.redMul(t).redMul(this.z),o=i.redSub(A),a=r.redSub(n);if(0===o.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var s=o.redSqr(),c=s.redMul(o),I=i.redMul(s),f=a.redSqr().redIAdd(c).redISub(I).redISub(I),h=a.redMul(I.redISub(f)).redISub(r.redMul(c)),g=this.z.redMul(o);return this.curve.jpoint(f,h,g)},I.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 i=this;for(t=0;t=0)return!1;if(i.redIAdd(r),0===this.x.cmp(i))return!0}},I.prototype.inspect=function(){return this.isInfinity()?"":""},I.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../utils":132,"./base":119,"bn.js":47,inherits:169}],124:[function(e,t,i){"use strict";var A,r=i,n=e("hash.js"),o=e("./curve"),a=e("./utils").assert;function s(e){"short"===e.type?this.curve=new o.short(e):"edwards"===e.type?this.curve=new o.edwards(e):this.curve=new o.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(e,t){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){var i=new s(t);return Object.defineProperty(r,e,{configurable:!0,enumerable:!0,value:i}),i}})}r.PresetCurve=s,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:n.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:n.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:n.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:n.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:n.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:n.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:n.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{A=e("./precomputed/secp256k1")}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:n.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",A]})},{"./curve":121,"./precomputed/secp256k1":131,"./utils":132,"hash.js":155}],125:[function(e,t,i){"use strict";var A=e("bn.js"),r=e("hmac-drbg"),n=e("../utils"),o=e("../curves"),a=e("brorand"),s=n.assert,c=e("./key"),I=e("./signature");function f(e){if(!(this instanceof f))return new f(e);"string"==typeof e&&(s(Object.prototype.hasOwnProperty.call(o,e),"Unknown curve "+e),e=o[e]),e instanceof o.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}t.exports=f,f.prototype.keyPair=function(e){return new c(this,e)},f.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},f.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},f.prototype.genKeyPair=function(e){e||(e={});for(var t=new r({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||a(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),i=this.n.byteLength(),n=this.n.sub(new A(2));;){var o=new A(t.generate(i));if(!(o.cmp(n)>0))return o.iaddn(1),this.keyFromPrivate(o)}},f.prototype._truncateToN=function(e,t){var i=8*e.byteLength()-this.n.bitLength();return i>0&&(e=e.ushrn(i)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},f.prototype.sign=function(e,t,i,n){"object"==typeof i&&(n=i,i=null),n||(n={}),t=this.keyFromPrivate(t,i),e=this._truncateToN(new A(e,16));for(var o=this.n.byteLength(),a=t.getPrivate().toArray("be",o),s=e.toArray("be",o),c=new r({hash:this.hash,entropy:a,nonce:s,pers:n.pers,persEnc:n.persEnc||"utf8"}),f=this.n.sub(new A(1)),h=0;;h++){var g=n.k?n.k(h):new A(c.generate(this.n.byteLength()));if(!((g=this._truncateToN(g,!0)).cmpn(1)<=0||g.cmp(f)>=0)){var u=this.g.mul(g);if(!u.isInfinity()){var d=u.getX(),l=d.umod(this.n);if(0!==l.cmpn(0)){var B=g.invm(this.n).mul(l.mul(t.getPrivate()).iadd(e));if(0!==(B=B.umod(this.n)).cmpn(0)){var p=(u.getY().isOdd()?1:0)|(0!==d.cmp(l)?2:0);return n.canonical&&B.cmp(this.nh)>0&&(B=this.n.sub(B),p^=1),new I({r:l,s:B,recoveryParam:p})}}}}}},f.prototype.verify=function(e,t,i,r){e=this._truncateToN(new A(e,16)),i=this.keyFromPublic(i,r);var n=(t=new I(t,"hex")).r,o=t.s;if(n.cmpn(1)<0||n.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var a,s=o.invm(this.n),c=s.mul(e).umod(this.n),f=s.mul(n).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(c,i.getPublic(),f)).isInfinity()&&a.eqXToP(n):!(a=this.g.mulAdd(c,i.getPublic(),f)).isInfinity()&&0===a.getX().umod(this.n).cmp(n)},f.prototype.recoverPubKey=function(e,t,i,r){s((3&i)===i,"The recovery param is more than two bits"),t=new I(t,r);var n=this.n,o=new A(e),a=t.r,c=t.s,f=1&i,h=i>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");a=h?this.curve.pointFromX(a.add(this.curve.n),f):this.curve.pointFromX(a,f);var g=t.r.invm(n),u=n.sub(o).mul(g).umod(n),d=c.mul(g).umod(n);return this.g.mulAdd(u,a,d)},f.prototype.getKeyRecoveryParam=function(e,t,i,A){if(null!==(t=new I(t,A)).recoveryParam)return t.recoveryParam;for(var r=0;r<4;r++){var n;try{n=this.recoverPubKey(e,t,r)}catch(e){continue}if(n.eq(i))return r}throw new Error("Unable to find valid recovery factor")}},{"../curves":124,"../utils":132,"./key":126,"./signature":127,"bn.js":47,brorand:48,"hmac-drbg":167}],126:[function(e,t,i){"use strict";var A=e("bn.js"),r=e("../utils").assert;function n(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}t.exports=n,n.fromPublic=function(e,t,i){return t instanceof n?t:new n(e,{pub:t,pubEnc:i})},n.fromPrivate=function(e,t,i){return t instanceof n?t:new n(e,{priv:t,privEnc:i})},n.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},n.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},n.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},n.prototype._importPrivate=function(e,t){this.priv=new A(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},n.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?r(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||r(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},n.prototype.derive=function(e){return e.validate()||r(e.validate(),"public point not validated"),e.mul(this.priv).getX()},n.prototype.sign=function(e,t,i){return this.ec.sign(e,this,t,i)},n.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},n.prototype.inspect=function(){return""}},{"../utils":132,"bn.js":47}],127:[function(e,t,i){"use strict";var A=e("bn.js"),r=e("../utils"),n=r.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(n(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 a(){this.place=0}function s(e,t){var i=e[t.place++];if(!(128&i))return i;var A=15&i;if(0===A||A>4)return!1;for(var r=0,n=0,o=t.place;n>>=0;return!(r<=127)&&(t.place=o,r)}function c(e){for(var t=0,i=e.length-1;!e[t]&&!(128&e[t+1])&&t>>3);for(e.push(128|i);--i;)e.push(t>>>(i<<3)&255);e.push(t)}}t.exports=o,o.prototype._importDER=function(e,t){e=r.toArray(e,t);var i=new a;if(48!==e[i.place++])return!1;var n=s(e,i);if(!1===n)return!1;if(n+i.place!==e.length)return!1;if(2!==e[i.place++])return!1;var o=s(e,i);if(!1===o)return!1;var c=e.slice(i.place,o+i.place);if(i.place+=o,2!==e[i.place++])return!1;var I=s(e,i);if(!1===I)return!1;if(e.length!==I+i.place)return!1;var f=e.slice(i.place,I+i.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new A(c),this.s=new A(f),this.recoveryParam=null,!0},o.prototype.toDER=function(e){var t=this.r.toArray(),i=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&i[0]&&(i=[0].concat(i)),t=c(t),i=c(i);!(i[0]||128&i[1]);)i=i.slice(1);var A=[2];I(A,t.length),(A=A.concat(t)).push(2),I(A,i.length);var n=A.concat(i),o=[48];return I(o,n.length),o=o.concat(n),r.encode(o,e)}},{"../utils":132,"bn.js":47}],128:[function(e,t,i){"use strict";var A=e("hash.js"),r=e("../curves"),n=e("../utils"),o=n.assert,a=n.parseBytes,s=e("./key"),c=e("./signature");function I(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof I))return new I(e);e=r[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=I,I.prototype.sign=function(e,t){e=a(e);var i=this.keyFromSecret(t),A=this.hashInt(i.messagePrefix(),e),r=this.g.mul(A),n=this.encodePoint(r),o=this.hashInt(n,i.pubBytes(),e).mul(i.priv()),s=A.add(o).umod(this.curve.n);return this.makeSignature({R:r,S:s,Rencoded:n})},I.prototype.verify=function(e,t,i){e=a(e),t=this.makeSignature(t);var A=this.keyFromPublic(i),r=this.hashInt(t.Rencoded(),A.pubBytes(),e),n=this.g.mul(t.S());return t.R().add(A.pub().mul(r)).eq(n)},I.prototype.hashInt=function(){for(var e=this.hash(),t=0;t(r>>1)-1?(r>>1)-s:s,n.isubn(a)):a=0,A[o]=a,n.iushrn(1)}return A},A.getJSF=function(e,t){var i=[[],[]];e=e.clone(),t=t.clone();for(var A,r=0,n=0;e.cmpn(-r)>0||t.cmpn(-n)>0;){var o,a,s=e.andln(3)+r&3,c=t.andln(3)+n&3;3===s&&(s=-1),3===c&&(c=-1),o=0==(1&s)?0:3!==(A=e.andln(7)+r&7)&&5!==A||2!==c?s:-s,i[0].push(o),a=0==(1&c)?0:3!==(A=t.andln(7)+n&7)&&5!==A||2!==s?c:-c,i[1].push(a),2*r===o+1&&(r=1-r),2*n===a+1&&(n=1-n),e.iushrn(1),t.iushrn(1)}return i},A.cachedProperty=function(e,t,i){var A="_"+t;e.prototype[t]=function(){return void 0!==this[A]?this[A]:this[A]=i.call(this)}},A.parseBytes=function(e){return"string"==typeof e?A.toArray(e,"hex"):e},A.intFromLE=function(e){return new r(e,"hex","le")}},{"bn.js":47,"minimalistic-assert":174,"minimalistic-crypto-utils":175}],133:[function(e,t,i){t.exports={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"}}},{}],134:[function(e,t,i){"use strict";var A,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,i){return Function.prototype.apply.call(e,t,i)};A=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}t.exports=a,t.exports.once=function(e,t){return new Promise((function(i,A){function r(i){e.removeListener(t,n),A(i)}function n(){"function"==typeof e.removeListener&&e.removeListener("error",r),i([].slice.call(arguments))}B(e,t,n,{once:!0}),"error"!==t&&function(e,t,i){"function"==typeof e.on&&B(e,"error",t,i)}(e,r,{once:!0})}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function I(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function f(e,t,i,A){var r,n,o,a;if(c(i),void 0===(n=e._events)?(n=e._events=Object.create(null),e._eventsCount=0):(void 0!==n.newListener&&(e.emit("newListener",t,i.listener?i.listener:i),n=e._events),o=n[t]),void 0===o)o=n[t]=i,++e._eventsCount;else if("function"==typeof o?o=n[t]=A?[i,o]:[o,i]:A?o.unshift(i):o.push(i),(r=I(e))>0&&o.length>r&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,a=s,console&&console.warn&&console.warn(a)}return e}function h(){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 g(e,t,i){var A={fired:!1,wrapFn:void 0,target:e,type:t,listener:i},r=h.bind(A);return r.listener=i,A.wrapFn=r,r}function u(e,t,i){var A=e._events;if(void 0===A)return[];var r=A[t];return void 0===r?[]:"function"==typeof r?i?[r.listener||r]:[r]:i?function(e){for(var t=new Array(e.length),i=0;i0&&(o=t[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var s=r[e];if(void 0===s)return!1;if("function"==typeof s)n(s,this,t);else{var c=s.length,I=l(s,c);for(i=0;i=0;n--)if(i[n]===t||i[n].listener===t){o=i[n].listener,r=n;break}if(r<0)return this;0===r?i.shift():function(e,t){for(;t+1=0;A--)this.removeListener(e,t[A]);return this},a.prototype.listeners=function(e){return u(this,e,!0)},a.prototype.rawListeners=function(e){return u(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},a.prototype.listenerCount=d,a.prototype.eventNames=function(){return this._eventsCount>0?A(this._events):[]}},{}],135:[function(e,t,i){var A=e("safe-buffer").Buffer,r=e("md5.js");t.exports=function(e,t,i,n){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 o=i/8,a=A.alloc(o),s=A.alloc(n||0),c=A.alloc(0);o>0||n>0;){var I=new r;I.update(c),I.update(e),t&&I.update(t),c=I.digest();var f=0;if(o>0){var h=a.length-o;f=Math.min(o,c.length),c.copy(a,h,0,f),o-=f}if(f0){var g=s.length-n,u=Math.min(n,c.length-f);c.copy(s,g,f,f+u),n-=u}}return c.fill(0),{key:a,iv:s}}},{"md5.js":171,"safe-buffer":198}],136:[function(e,t,i){"use strict";t.exports=function(e,t){for(var i={},A=Object.keys(e),r=Array.isArray(t),n=0;n=this._blockSize;){for(var n=this._blockOffset;n0;++o)this._length[o]+=a,(a=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*a);return this},n.prototype._update=function(){throw new Error("_update is not implemented")},n.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 i=0;i<4;++i)this._length[i]=0;return t},n.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=n},{inherits:169,"readable-stream":152,"safe-buffer":198}],138:[function(e,t,i){arguments[4][80][0].apply(i,arguments)},{dup:80}],139:[function(e,t,i){arguments[4][81][0].apply(i,arguments)},{"./_stream_readable":141,"./_stream_writable":143,_process:187,dup:81,inherits:169}],140:[function(e,t,i){arguments[4][82][0].apply(i,arguments)},{"./_stream_transform":142,dup:82,inherits:169}],141:[function(e,t,i){arguments[4][83][0].apply(i,arguments)},{"../errors":138,"./_stream_duplex":139,"./internal/streams/async_iterator":144,"./internal/streams/buffer_list":145,"./internal/streams/destroy":146,"./internal/streams/from":148,"./internal/streams/state":150,"./internal/streams/stream":151,_process:187,buffer:99,dup:83,events:134,inherits:169,"string_decoder/":153,util:50}],142:[function(e,t,i){arguments[4][84][0].apply(i,arguments)},{"../errors":138,"./_stream_duplex":139,dup:84,inherits:169}],143:[function(e,t,i){arguments[4][85][0].apply(i,arguments)},{"../errors":138,"./_stream_duplex":139,"./internal/streams/destroy":146,"./internal/streams/state":150,"./internal/streams/stream":151,_process:187,buffer:99,dup:85,inherits:169,"util-deprecate":226}],144:[function(e,t,i){arguments[4][86][0].apply(i,arguments)},{"./end-of-stream":147,_process:187,dup:86}],145:[function(e,t,i){arguments[4][87][0].apply(i,arguments)},{buffer:99,dup:87,util:50}],146:[function(e,t,i){arguments[4][88][0].apply(i,arguments)},{_process:187,dup:88}],147:[function(e,t,i){arguments[4][89][0].apply(i,arguments)},{"../../../errors":138,dup:89}],148:[function(e,t,i){arguments[4][90][0].apply(i,arguments)},{dup:90}],149:[function(e,t,i){arguments[4][91][0].apply(i,arguments)},{"../../../errors":138,"./end-of-stream":147,dup:91}],150:[function(e,t,i){arguments[4][92][0].apply(i,arguments)},{"../../../errors":138,dup:92}],151:[function(e,t,i){arguments[4][93][0].apply(i,arguments)},{dup:93,events:134}],152:[function(e,t,i){arguments[4][94][0].apply(i,arguments)},{"./lib/_stream_duplex.js":139,"./lib/_stream_passthrough.js":140,"./lib/_stream_readable.js":141,"./lib/_stream_transform.js":142,"./lib/_stream_writable.js":143,"./lib/internal/streams/end-of-stream.js":147,"./lib/internal/streams/pipeline.js":149,dup:94}],153:[function(e,t,i){arguments[4][95][0].apply(i,arguments)},{dup:95,"safe-buffer":198}],154:[function(e,t,i){(function(e){(function(){ +"use strict";var t=e("base64-js"),A=e("ieee754");i.Buffer=o,i.SlowBuffer=function(e){+e!=e&&(e=0);return o.alloc(+e)},i.INSPECT_MAX_BYTES=50;var r=2147483647;function n(e){if(e>r)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return t.__proto__=o.prototype,t}function o(e,t,i){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return c(e)}return a(e,t,i)}function a(e,t,i){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!o.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var i=0|h(e,t),A=n(i),r=A.write(e,t);r!==i&&(A=A.slice(0,r));return A}(e,t);if(ArrayBuffer.isView(e))return I(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(x(e,ArrayBuffer)||e&&x(e.buffer,ArrayBuffer))return function(e,t,i){if(t<0||e.byteLength=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return 0|e}function h(e,t){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||x(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 i=e.length,A=arguments.length>2&&!0===arguments[2];if(!A&&0===i)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return R(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return K(e).length;default:if(r)return A?-1:R(e).length;t=(""+t).toLowerCase(),r=!0}}function u(e,t,i){var A=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if((i>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return S(this,t,i);case"utf8":case"utf-8":return m(this,t,i);case"ascii":return v(this,t,i);case"latin1":case"binary":return D(this,t,i);case"base64":return b(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,i);default:if(A)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),A=!0}}function g(e,t,i){var A=e[t];e[t]=e[i],e[i]=A}function d(e,t,i,A,r){if(0===e.length)return-1;if("string"==typeof i?(A=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),J(i=+i)&&(i=r?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(r)return-1;i=e.length-1}else if(i<0){if(!r)return-1;i=0}if("string"==typeof t&&(t=o.from(t,A)),o.isBuffer(t))return 0===t.length?-1:l(e,t,i,A,r);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):l(e,[t],i,A,r);throw new TypeError("val must be string, number or Buffer")}function l(e,t,i,A,r){var n,o=1,a=e.length,s=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;o=2,a/=2,s/=2,i/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(r){var I=-1;for(n=i;na&&(i=a-s),n=i;n>=0;n--){for(var f=!0,h=0;hr&&(A=r):A=r;var n=t.length;A>n/2&&(A=n/2);for(var o=0;o>8,r=i%256,n.push(r),n.push(A);return n}(t,e.length-i),e,i,A)}function b(e,i,A){return 0===i&&A===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(i,A))}function m(e,t,i){i=Math.min(e.length,i);for(var A=[],r=t;r239?4:c>223?3:c>191?2:1;if(r+f<=i)switch(f){case 1:c<128&&(I=c);break;case 2:128==(192&(n=e[r+1]))&&(s=(31&c)<<6|63&n)>127&&(I=s);break;case 3:n=e[r+1],o=e[r+2],128==(192&n)&&128==(192&o)&&(s=(15&c)<<12|(63&n)<<6|63&o)>2047&&(s<55296||s>57343)&&(I=s);break;case 4:n=e[r+1],o=e[r+2],a=e[r+3],128==(192&n)&&128==(192&o)&&128==(192&a)&&(s=(15&c)<<18|(63&n)<<12|(63&o)<<6|63&a)>65535&&s<1114112&&(I=s)}null===I?(I=65533,f=1):I>65535&&(I-=65536,A.push(I>>>10&1023|55296),I=56320|1023&I),A.push(I),r+=f}return function(e){var t=e.length;if(t<=w)return String.fromCharCode.apply(String,e);var i="",A=0;for(;At&&(e+=" ... "),""},o.prototype.compare=function(e,t,i,A,r){if(x(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.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===i&&(i=e?e.length:0),void 0===A&&(A=0),void 0===r&&(r=this.length),t<0||i>e.length||A<0||r>this.length)throw new RangeError("out of range index");if(A>=r&&t>=i)return 0;if(A>=r)return-1;if(t>=i)return 1;if(this===e)return 0;for(var n=(r>>>=0)-(A>>>=0),a=(i>>>=0)-(t>>>=0),s=Math.min(n,a),c=this.slice(A,r),I=e.slice(t,i),f=0;f>>=0,isFinite(i)?(i>>>=0,void 0===A&&(A="utf8")):(A=i,i=void 0)}var r=this.length-t;if((void 0===i||i>r)&&(i=r),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");A||(A="utf8");for(var n=!1;;)switch(A){case"hex":return B(this,e,t,i);case"utf8":case"utf-8":return p(this,e,t,i);case"ascii":return C(this,e,t,i);case"latin1":case"binary":return Q(this,e,t,i);case"base64":return E(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return y(this,e,t,i);default:if(n)throw new TypeError("Unknown encoding: "+A);A=(""+A).toLowerCase(),n=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var w=4096;function v(e,t,i){var A="";i=Math.min(e.length,i);for(var r=t;rA)&&(i=A);for(var r="",n=t;ni)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,i,A,r,n){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function N(e,t,i,A,r,n){if(i+A>e.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function U(e,t,i,r,n){return t=+t,i>>>=0,n||N(e,0,i,4),A.write(e,t,i,r,23,4),i+4}function G(e,t,i,r,n){return t=+t,i>>>=0,n||N(e,0,i,8),A.write(e,t,i,r,52,8),i+8}o.prototype.slice=function(e,t){var i=this.length;(e=~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),(t=void 0===t?i:~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),t>>=0,t>>>=0,i||k(e,t,this.length);for(var A=this[e],r=1,n=0;++n>>=0,t>>>=0,i||k(e,t,this.length);for(var A=this[e+--t],r=1;t>0&&(r*=256);)A+=this[e+--t]*r;return A},o.prototype.readUInt8=function(e,t){return e>>>=0,t||k(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return e>>>=0,t||k(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,i){e>>>=0,t>>>=0,i||k(e,t,this.length);for(var A=this[e],r=1,n=0;++n=(r*=128)&&(A-=Math.pow(2,8*t)),A},o.prototype.readIntBE=function(e,t,i){e>>>=0,t>>>=0,i||k(e,t,this.length);for(var A=t,r=1,n=this[e+--A];A>0&&(r*=256);)n+=this[e+--A]*r;return n>=(r*=128)&&(n-=Math.pow(2,8*t)),n},o.prototype.readInt8=function(e,t){return e>>>=0,t||k(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,t||k(e,2,this.length);var i=this[e]|this[e+1]<<8;return 32768&i?4294901760|i:i},o.prototype.readInt16BE=function(e,t){e>>>=0,t||k(e,2,this.length);var i=this[e+1]|this[e]<<8;return 32768&i?4294901760|i:i},o.prototype.readInt32LE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,t||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return e>>>=0,t||k(e,4,this.length),A.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return e>>>=0,t||k(e,4,this.length),A.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return e>>>=0,t||k(e,8,this.length),A.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return e>>>=0,t||k(e,8,this.length),A.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,i,A){(e=+e,t>>>=0,i>>>=0,A)||M(this,e,t,i,Math.pow(2,8*i)-1,0);var r=1,n=0;for(this[t]=255&e;++n>>=0,i>>>=0,A)||M(this,e,t,i,Math.pow(2,8*i)-1,0);var r=i-1,n=1;for(this[t+r]=255&e;--r>=0&&(n*=256);)this[t+r]=e/n&255;return t+i},o.prototype.writeUInt8=function(e,t,i){return e=+e,t>>>=0,i||M(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,i){return e=+e,t>>>=0,i||M(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUInt16BE=function(e,t,i){return e=+e,t>>>=0,i||M(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUInt32LE=function(e,t,i){return e=+e,t>>>=0,i||M(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},o.prototype.writeUInt32BE=function(e,t,i){return e=+e,t>>>=0,i||M(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},o.prototype.writeIntLE=function(e,t,i,A){if(e=+e,t>>>=0,!A){var r=Math.pow(2,8*i-1);M(this,e,t,i,r-1,-r)}var n=0,o=1,a=0;for(this[t]=255&e;++n>0)-a&255;return t+i},o.prototype.writeIntBE=function(e,t,i,A){if(e=+e,t>>>=0,!A){var r=Math.pow(2,8*i-1);M(this,e,t,i,r-1,-r)}var n=i-1,o=1,a=0;for(this[t+n]=255&e;--n>=0&&(o*=256);)e<0&&0===a&&0!==this[t+n+1]&&(a=1),this[t+n]=(e/o>>0)-a&255;return t+i},o.prototype.writeInt8=function(e,t,i){return e=+e,t>>>=0,i||M(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,i){return e=+e,t>>>=0,i||M(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,i){return e=+e,t>>>=0,i||M(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,i){return e=+e,t>>>=0,i||M(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},o.prototype.writeInt32BE=function(e,t,i){return e=+e,t>>>=0,i||M(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},o.prototype.writeFloatLE=function(e,t,i){return U(this,e,t,!0,i)},o.prototype.writeFloatBE=function(e,t,i){return U(this,e,t,!1,i)},o.prototype.writeDoubleLE=function(e,t,i){return G(this,e,t,!0,i)},o.prototype.writeDoubleBE=function(e,t,i){return G(this,e,t,!1,i)},o.prototype.copy=function(e,t,i,A){if(!o.isBuffer(e))throw new TypeError("argument should be a Buffer");if(i||(i=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;--n)e[n+t]=this[n+i];else Uint8Array.prototype.set.call(e,this.subarray(i,A),t);return r},o.prototype.fill=function(e,t,i,A){if("string"==typeof e){if("string"==typeof t?(A=t,t=0,i=this.length):"string"==typeof i&&(A=i,i=this.length),void 0!==A&&"string"!=typeof A)throw new TypeError("encoding must be a string");if("string"==typeof A&&!o.isEncoding(A))throw new TypeError("Unknown encoding: "+A);if(1===e.length){var r=e.charCodeAt(0);("utf8"===A&&r<128||"latin1"===A)&&(e=r)}}else"number"==typeof e&&(e&=255);if(t<0||this.length>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(n=t;n55295&&i<57344){if(!r){if(i>56319){(t-=3)>-1&&n.push(239,191,189);continue}if(o+1===A){(t-=3)>-1&&n.push(239,191,189);continue}r=i;continue}if(i<56320){(t-=3)>-1&&n.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(t-=3)>-1&&n.push(239,191,189);if(r=null,i<128){if((t-=1)<0)break;n.push(i)}else if(i<2048){if((t-=2)<0)break;n.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;n.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;n.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return n}function K(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function q(e,t,i,A){for(var r=0;r=t.length||r>=e.length);++r)t[r+i]=e[r];return r}function x(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function J(e){return e!=e}}).call(this)}).call(this,e("buffer").Buffer)},{"base64-js":46,buffer:99,ieee754:166}],100:[function(e,t,i){var A=e("safe-buffer").Buffer,r=e("stream").Transform,n=e("string_decoder").StringDecoder;function o(e){r.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("inherits")(o,r),o.prototype.update=function(e,t,i){"string"==typeof e&&(e=A.from(e,t));var r=this._update(e);return this.hashMode?this:(i&&(r=this._toString(r,i)),r)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(e,t,i){var A;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){A=e}finally{i(A)}},o.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},o.prototype._finalOrDigest=function(e){var t=this.__final()||A.alloc(0);return e&&(t=this._toString(t,e,!0)),t},o.prototype._toString=function(e,t,i){if(this._decoder||(this._decoder=new n(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var A=this._decoder.write(e);return i&&(A+=this._decoder.end()),A},t.exports=o},{inherits:167,"safe-buffer":195,stream:205,string_decoder:97}],101:[function(e,t,i){(function(i){(function(){var A=e("elliptic"),r=e("bn.js");t.exports=function(e){return new o(e)};var n={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function o(e){this.curveType=n[e],this.curveType||(this.curveType={name:e}),this.curve=new A.ec(this.curveType.name),this.keys=void 0}function a(e,t,A){Array.isArray(e)||(e=e.toArray());var r=new i(e);if(A&&r.lengthi)?t=("rmd160"===e?new s:c(e)).update(t).digest():t.lengtha?t=e(t):t.length0;A--)t+=this._buffer(e,t),i+=this._flushBuffer(r,i);return t+=this._buffer(e,t),r},r.prototype.final=function(e){var t,i;return e&&(t=this.update(e)),i="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(i):i},r.prototype._pad=function(e,t){if(0===t)return!1;for(;t>>1];i=n.r28shl(i,a),r=n.r28shl(r,a),n.pc2(i,r,e.keys,o)}},s.prototype._update=function(e,t,i,A){var r=this._desState,o=n.readUInt32BE(e,t),a=n.readUInt32BE(e,t+4);n.ip(o,a,r.tmp,0),o=r.tmp[0],a=r.tmp[1],"encrypt"===this.type?this._encrypt(r,o,a,r.tmp,0):this._decrypt(r,o,a,r.tmp,0),o=r.tmp[0],a=r.tmp[1],n.writeUInt32BE(i,o,A),n.writeUInt32BE(i,a,A+4)},s.prototype._pad=function(e,t){for(var i=e.length-t,A=t;A>>0,o=h}n.rip(a,o,A,r)},s.prototype._decrypt=function(e,t,i,A,r){for(var o=i,a=t,s=e.keys.length-2;s>=0;s-=2){var c=e.keys[s],I=e.keys[s+1];n.expand(o,e.tmp,0),c^=e.tmp[0],I^=e.tmp[1];var f=n.substitute(c,I),h=o;o=(a^n.permute(f))>>>0,a=h}n.rip(o,a,A,r)}},{"./cipher":109,"./utils":112,inherits:167,"minimalistic-assert":172}],111:[function(e,t,i){"use strict";var A=e("minimalistic-assert"),r=e("inherits"),n=e("./cipher"),o=e("./des");function a(e,t){A.equal(t.length,24,"Invalid key length");var i=t.slice(0,8),r=t.slice(8,16),n=t.slice(16,24);this.ciphers="encrypt"===e?[o.create({type:"encrypt",key:i}),o.create({type:"decrypt",key:r}),o.create({type:"encrypt",key:n})]:[o.create({type:"decrypt",key:n}),o.create({type:"encrypt",key:r}),o.create({type:"decrypt",key:i})]}function s(e){n.call(this,e);var t=new a(this.type,this.options.key);this._edeState=t}r(s,n),t.exports=s,s.create=function(e){return new s(e)},s.prototype._update=function(e,t,i,A){var r=this._edeState;r.ciphers[0]._update(e,t,i,A),r.ciphers[1]._update(i,A,i,A),r.ciphers[2]._update(i,A,i,A)},s.prototype._pad=o.prototype._pad,s.prototype._unpad=o.prototype._unpad},{"./cipher":109,"./des":110,inherits:167,"minimalistic-assert":172}],112:[function(e,t,i){"use strict";i.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},i.writeUInt32BE=function(e,t,i){e[0+i]=t>>>24,e[1+i]=t>>>16&255,e[2+i]=t>>>8&255,e[3+i]=255&t},i.ip=function(e,t,i,A){for(var r=0,n=0,o=6;o>=0;o-=2){for(var a=0;a<=24;a+=8)r<<=1,r|=t>>>a+o&1;for(a=0;a<=24;a+=8)r<<=1,r|=e>>>a+o&1}for(o=6;o>=0;o-=2){for(a=1;a<=25;a+=8)n<<=1,n|=t>>>a+o&1;for(a=1;a<=25;a+=8)n<<=1,n|=e>>>a+o&1}i[A+0]=r>>>0,i[A+1]=n>>>0},i.rip=function(e,t,i,A){for(var r=0,n=0,o=0;o<4;o++)for(var a=24;a>=0;a-=8)r<<=1,r|=t>>>a+o&1,r<<=1,r|=e>>>a+o&1;for(o=4;o<8;o++)for(a=24;a>=0;a-=8)n<<=1,n|=t>>>a+o&1,n<<=1,n|=e>>>a+o&1;i[A+0]=r>>>0,i[A+1]=n>>>0},i.pc1=function(e,t,i,A){for(var r=0,n=0,o=7;o>=5;o--){for(var a=0;a<=24;a+=8)r<<=1,r|=t>>a+o&1;for(a=0;a<=24;a+=8)r<<=1,r|=e>>a+o&1}for(a=0;a<=24;a+=8)r<<=1,r|=t>>a+o&1;for(o=1;o<=3;o++){for(a=0;a<=24;a+=8)n<<=1,n|=t>>a+o&1;for(a=0;a<=24;a+=8)n<<=1,n|=e>>a+o&1}for(a=0;a<=24;a+=8)n<<=1,n|=e>>a+o&1;i[A+0]=r>>>0,i[A+1]=n>>>0},i.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];i.pc2=function(e,t,i,r){for(var n=0,o=0,a=A.length>>>1,s=0;s>>A[s]&1;for(s=a;s>>A[s]&1;i[r+0]=n>>>0,i[r+1]=o>>>0},i.expand=function(e,t,i){var A=0,r=0;A=(1&e)<<5|e>>>27;for(var n=23;n>=15;n-=4)A<<=6,A|=e>>>n&63;for(n=11;n>=3;n-=4)r|=e>>>n&63,r<<=6;r|=(31&e)<<1|e>>>31,t[i+0]=A>>>0,t[i+1]=r>>>0};var r=[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];i.substitute=function(e,t){for(var i=0,A=0;A<4;A++){i<<=4,i|=r[64*A+(e>>>18-6*A&63)]}for(A=0;A<4;A++){i<<=4,i|=r[256+64*A+(t>>>18-6*A&63)]}return i>>>0};var n=[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];i.permute=function(e){for(var t=0,i=0;i>>n[i]&1;return t>>>0},i.padSplit=function(e,t,i){for(var A=e.toString(2);A.lengthe;)i.ishrn(1);if(i.isEven()&&i.iadd(a),i.testn(1)||i.iadd(s),t.cmp(s)){if(!t.cmp(c))for(;i.mod(I).cmp(f);)i.iadd(u)}else for(;i.mod(n).cmp(h);)i.iadd(u);if(l(g=i.shrn(1))&&l(i)&&B(g)&&B(i)&&o.test(g)&&o.test(i))return i}}},{"bn.js":47,"miller-rabin":171,randombytes:192}],116:[function(e,t,i){t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],117:[function(e,t,i){"use strict";var A=i;A.version=e("../package.json").version,A.utils=e("./elliptic/utils"),A.rand=e("brorand"),A.curve=e("./elliptic/curve"),A.curves=e("./elliptic/curves"),A.ec=e("./elliptic/ec"),A.eddsa=e("./elliptic/eddsa")},{"../package.json":132,"./elliptic/curve":120,"./elliptic/curves":123,"./elliptic/ec":124,"./elliptic/eddsa":127,"./elliptic/utils":131,brorand:48}],118:[function(e,t,i){"use strict";var A=e("bn.js"),r=e("../utils"),n=r.getNAF,o=r.getJSF,a=r.assert;function s(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 i=this.n&&this.p.div(this.n);!i||i.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=s,s.prototype.point=function(){throw new Error("Not implemented")},s.prototype.validate=function(){throw new Error("Not implemented")},s.prototype._fixedNafMul=function(e,t){a(e.precomputed);var i=e._getDoubles(),A=n(t,1,this._bitLength),r=(1<=o;I--)s=(s<<1)+A[I];c.push(s)}for(var f=this.jpoint(null,null,null),h=this.jpoint(null,null,null),u=r;u>0;u--){for(o=0;o=0;c--){for(var I=0;c>=0&&0===o[c];c--)I++;if(c>=0&&I++,s=s.dblp(I),c<0)break;var f=o[c];a(0!==f),s="affine"===e.type?f>0?s.mixedAdd(r[f-1>>1]):s.mixedAdd(r[-f-1>>1].neg()):f>0?s.add(r[f-1>>1]):s.add(r[-f-1>>1].neg())}return"affine"===e.type?s.toP():s},s.prototype._wnafMulAdd=function(e,t,i,A,r){var a,s,c,I=this._wnafT1,f=this._wnafT2,h=this._wnafT3,u=0;for(a=0;a=1;a-=2){var d=a-1,l=a;if(1===I[d]&&1===I[l]){var B=[t[d],null,null,t[l]];0===t[d].y.cmp(t[l].y)?(B[1]=t[d].add(t[l]),B[2]=t[d].toJ().mixedAdd(t[l].neg())):0===t[d].y.cmp(t[l].y.redNeg())?(B[1]=t[d].toJ().mixedAdd(t[l]),B[2]=t[d].add(t[l].neg())):(B[1]=t[d].toJ().mixedAdd(t[l]),B[2]=t[d].toJ().mixedAdd(t[l].neg()));var p=[-3,-1,-5,-7,0,7,5,1,3],C=o(i[d],i[l]);for(u=Math.max(C[0].length,u),h[d]=new Array(u),h[l]=new Array(u),s=0;s=0;a--){for(var m=0;a>=0;){var w=!0;for(s=0;s=0&&m++,y=y.dblp(m),a<0)break;for(s=0;s0?c=f[s][v-1>>1]:v<0&&(c=f[s][-v-1>>1].neg()),y="affine"===c.type?y.mixedAdd(c):y.add(c))}}for(a=0;a=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 i=[this],A=this,r=0;r":""},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(),i=this.z.redSqr();i=i.redIAdd(i);var A=this.curve._mulA(e),r=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),n=A.redAdd(t),o=n.redSub(i),a=A.redSub(t),s=r.redMul(o),c=n.redMul(a),I=r.redMul(a),f=o.redMul(n);return this.curve.point(s,c,f,I)},c.prototype._projDbl=function(){var e,t,i,A,r,n,o=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),s=this.y.redSqr();if(this.curve.twisted){var c=(A=this.curve._mulA(a)).redAdd(s);this.zOne?(e=o.redSub(a).redSub(s).redMul(c.redSub(this.curve.two)),t=c.redMul(A.redSub(s)),i=c.redSqr().redSub(c).redSub(c)):(r=this.z.redSqr(),n=c.redSub(r).redISub(r),e=o.redSub(a).redISub(s).redMul(n),t=c.redMul(A.redSub(s)),i=c.redMul(n))}else A=a.redAdd(s),r=this.curve._mulC(this.z).redSqr(),n=A.redSub(r).redSub(r),e=this.curve._mulC(o.redISub(A)).redMul(n),t=this.curve._mulC(A).redMul(a.redISub(s)),i=A.redMul(n);return this.curve.point(e,t,i)},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)),i=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),A=this.t.redMul(this.curve.dd).redMul(e.t),r=this.z.redMul(e.z.redAdd(e.z)),n=i.redSub(t),o=r.redSub(A),a=r.redAdd(A),s=i.redAdd(t),c=n.redMul(o),I=a.redMul(s),f=n.redMul(s),h=o.redMul(a);return this.curve.point(c,I,h,f)},c.prototype._projAdd=function(e){var t,i,A=this.z.redMul(e.z),r=A.redSqr(),n=this.x.redMul(e.x),o=this.y.redMul(e.y),a=this.curve.d.redMul(n).redMul(o),s=r.redSub(a),c=r.redAdd(a),I=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(n).redISub(o),f=A.redMul(s).redMul(I);return this.curve.twisted?(t=A.redMul(c).redMul(o.redSub(this.curve._mulA(n))),i=s.redMul(c)):(t=A.redMul(c).redMul(o.redSub(n)),i=this.curve._mulC(s).redMul(c)),this.curve.point(f,t,i)},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,i){return this.curve._wnafMulAdd(1,[this,t],[e,i],2,!1)},c.prototype.jmulAdd=function(e,t,i){return this.curve._wnafMulAdd(1,[this,t],[e,i],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 i=e.clone(),A=this.curve.redN.redMul(this.z);;){if(i.iadd(this.curve.n),i.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},{"../utils":131,"./base":118,"bn.js":47,inherits:167}],120:[function(e,t,i){"use strict";var A=i;A.base=e("./base"),A.short=e("./short"),A.mont=e("./mont"),A.edwards=e("./edwards")},{"./base":118,"./edwards":119,"./mont":121,"./short":122}],121:[function(e,t,i){"use strict";var A=e("bn.js"),r=e("inherits"),n=e("./base"),o=e("../utils");function a(e){n.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 s(e,t,i){n.BasePoint.call(this,e,"projective"),null===t&&null===i?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new A(t,16),this.z=new A(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}r(a,n),t.exports=a,a.prototype.validate=function(e){var t=e.normalize().x,i=t.redSqr(),A=i.redMul(t).redAdd(i.redMul(this.a)).redAdd(t);return 0===A.redSqrt().redSqr().cmp(A)},r(s,n.BasePoint),a.prototype.decodePoint=function(e,t){return this.point(o.toArray(e,t),1)},a.prototype.point=function(e,t){return new s(this,e,t)},a.prototype.pointFromJSON=function(e){return s.fromJSON(this,e)},s.prototype.precompute=function(){},s.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},s.fromJSON=function(e,t){return new s(e,t[0],t[1]||e.one)},s.prototype.inspect=function(){return this.isInfinity()?"":""},s.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},s.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),i=e.redSub(t),A=e.redMul(t),r=i.redMul(t.redAdd(this.curve.a24.redMul(i)));return this.curve.point(A,r)},s.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.diffAdd=function(e,t){var i=this.x.redAdd(this.z),A=this.x.redSub(this.z),r=e.x.redAdd(e.z),n=e.x.redSub(e.z).redMul(i),o=r.redMul(A),a=t.z.redMul(n.redAdd(o).redSqr()),s=t.x.redMul(n.redISub(o).redSqr());return this.curve.point(a,s)},s.prototype.mul=function(e){for(var t=e.clone(),i=this,A=this.curve.point(null,null),r=[];0!==t.cmpn(0);t.iushrn(1))r.push(t.andln(1));for(var n=r.length-1;n>=0;n--)0===r[n]?(i=i.diffAdd(A,this),A=A.dbl()):(A=i.diffAdd(A,this),i=i.dbl());return A},s.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},s.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},s.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},s.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../utils":131,"./base":118,"bn.js":47,inherits:167}],122:[function(e,t,i){"use strict";var A=e("../utils"),r=e("bn.js"),n=e("inherits"),o=e("./base"),a=A.assert;function s(e){o.call(this,"short",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(e,t,i,A){o.BasePoint.call(this,e,"affine"),null===t&&null===i?(this.x=null,this.y=null,this.inf=!0):(this.x=new r(t,16),this.y=new r(i,16),A&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function I(e,t,i,A){o.BasePoint.call(this,e,"jacobian"),null===t&&null===i&&null===A?(this.x=this.curve.one,this.y=this.curve.one,this.z=new r(0)):(this.x=new r(t,16),this.y=new r(i,16),this.z=new r(A,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.zOne=this.z===this.curve.one}n(s,o),t.exports=s,s.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,i;if(e.beta)t=new r(e.beta,16).toRed(this.red);else{var A=this._getEndoRoots(this.p);t=(t=A[0].cmp(A[1])<0?A[0]:A[1]).toRed(this.red)}if(e.lambda)i=new r(e.lambda,16);else{var n=this._getEndoRoots(this.n);0===this.g.mul(n[0]).x.cmp(this.g.x.redMul(t))?i=n[0]:(i=n[1],a(0===this.g.mul(i).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:i,basis:e.basis?e.basis.map((function(e){return{a:new r(e.a,16),b:new r(e.b,16)}})):this._getEndoBasis(i)}}},s.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:r.mont(e),i=new r(2).toRed(t).redInvm(),A=i.redNeg(),n=new r(3).toRed(t).redNeg().redSqrt().redMul(i);return[A.redAdd(n).fromRed(),A.redSub(n).fromRed()]},s.prototype._getEndoBasis=function(e){for(var t,i,A,n,o,a,s,c,I,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=e,u=this.n.clone(),g=new r(1),d=new r(0),l=new r(0),B=new r(1),p=0;0!==h.cmpn(0);){var C=u.div(h);c=u.sub(C.mul(h)),I=l.sub(C.mul(g));var Q=B.sub(C.mul(d));if(!A&&c.cmp(f)<0)t=s.neg(),i=g,A=c.neg(),n=I;else if(A&&2==++p)break;s=c,u=h,h=c,l=g,g=I,B=d,d=Q}o=c.neg(),a=I;var E=A.sqr().add(n.sqr());return o.sqr().add(a.sqr()).cmp(E)>=0&&(o=t,a=i),A.negative&&(A=A.neg(),n=n.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:A,b:n},{a:o,b:a}]},s.prototype._endoSplit=function(e){var t=this.endo.basis,i=t[0],A=t[1],r=A.b.mul(e).divRound(this.n),n=i.b.neg().mul(e).divRound(this.n),o=r.mul(i.a),a=n.mul(A.a),s=r.mul(i.b),c=n.mul(A.b);return{k1:e.sub(o).sub(a),k2:s.add(c).neg()}},s.prototype.pointFromX=function(e,t){(e=new r(e,16)).red||(e=e.toRed(this.red));var i=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),A=i.redSqrt();if(0!==A.redSqr().redSub(i).cmp(this.zero))throw new Error("invalid point");var n=A.fromRed().isOdd();return(t&&!n||!t&&n)&&(A=A.redNeg()),this.point(e,A)},s.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,i=e.y,A=this.a.redMul(t),r=t.redSqr().redMul(t).redIAdd(A).redIAdd(this.b);return 0===i.redSqr().redISub(r).cmpn(0)},s.prototype._endoWnafMulAdd=function(e,t,i){for(var A=this._endoWnafT1,r=this._endoWnafT2,n=0;n":""},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 i=t.redSqr().redISub(this.x).redISub(e.x),A=t.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,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,i=this.x.redSqr(),A=e.redInvm(),r=i.redAdd(i).redIAdd(i).redIAdd(t).redMul(A),n=r.redSqr().redISub(this.x.redAdd(this.x)),o=r.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,o)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(e){return e=new r(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,i){var A=[this,t],r=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(A,r):this.curve._wnafMulAdd(1,A,r,2)},c.prototype.jmulAdd=function(e,t,i){var A=[this,t],r=[e,i];return this.curve.endo?this.curve._endoWnafMulAdd(A,r,!0):this.curve._wnafMulAdd(1,A,r,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 i=this.precomputed,A=function(e){return e.neg()};t.precomputed={naf:i.naf&&{wnd:i.naf.wnd,points:i.naf.points.map(A)},doubles:i.doubles&&{step:i.doubles.step,points:i.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)},n(I,o.BasePoint),s.prototype.jpoint=function(e,t,i){return new I(this,e,t,i)},I.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),i=this.x.redMul(t),A=this.y.redMul(t).redMul(e);return this.curve.point(i,A)},I.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},I.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),i=this.z.redSqr(),A=this.x.redMul(t),r=e.x.redMul(i),n=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(i.redMul(this.z)),a=A.redSub(r),s=n.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),I=c.redMul(a),f=A.redMul(c),h=s.redSqr().redIAdd(I).redISub(f).redISub(f),u=s.redMul(f.redISub(h)).redISub(n.redMul(I)),g=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(h,u,g)},I.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),i=this.x,A=e.x.redMul(t),r=this.y,n=e.y.redMul(t).redMul(this.z),o=i.redSub(A),a=r.redSub(n);if(0===o.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var s=o.redSqr(),c=s.redMul(o),I=i.redMul(s),f=a.redSqr().redIAdd(c).redISub(I).redISub(I),h=a.redMul(I.redISub(f)).redISub(r.redMul(c)),u=this.z.redMul(o);return this.curve.jpoint(f,h,u)},I.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 i=this;for(t=0;t=0)return!1;if(i.redIAdd(r),0===this.x.cmp(i))return!0}},I.prototype.inspect=function(){return this.isInfinity()?"":""},I.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../utils":131,"./base":118,"bn.js":47,inherits:167}],123:[function(e,t,i){"use strict";var A,r=i,n=e("hash.js"),o=e("./curve"),a=e("./utils").assert;function s(e){"short"===e.type?this.curve=new o.short(e):"edwards"===e.type?this.curve=new o.edwards(e):this.curve=new o.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(e,t){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){var i=new s(t);return Object.defineProperty(r,e,{configurable:!0,enumerable:!0,value:i}),i}})}r.PresetCurve=s,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:n.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:n.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:n.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:n.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:n.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:n.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:n.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{A=e("./precomputed/secp256k1")}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:n.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",A]})},{"./curve":120,"./precomputed/secp256k1":130,"./utils":131,"hash.js":153}],124:[function(e,t,i){"use strict";var A=e("bn.js"),r=e("hmac-drbg"),n=e("../utils"),o=e("../curves"),a=e("brorand"),s=n.assert,c=e("./key"),I=e("./signature");function f(e){if(!(this instanceof f))return new f(e);"string"==typeof e&&(s(Object.prototype.hasOwnProperty.call(o,e),"Unknown curve "+e),e=o[e]),e instanceof o.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}t.exports=f,f.prototype.keyPair=function(e){return new c(this,e)},f.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},f.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},f.prototype.genKeyPair=function(e){e||(e={});for(var t=new r({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||a(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),i=this.n.byteLength(),n=this.n.sub(new A(2));;){var o=new A(t.generate(i));if(!(o.cmp(n)>0))return o.iaddn(1),this.keyFromPrivate(o)}},f.prototype._truncateToN=function(e,t){var i=8*e.byteLength()-this.n.bitLength();return i>0&&(e=e.ushrn(i)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},f.prototype.sign=function(e,t,i,n){"object"==typeof i&&(n=i,i=null),n||(n={}),t=this.keyFromPrivate(t,i),e=this._truncateToN(new A(e,16));for(var o=this.n.byteLength(),a=t.getPrivate().toArray("be",o),s=e.toArray("be",o),c=new r({hash:this.hash,entropy:a,nonce:s,pers:n.pers,persEnc:n.persEnc||"utf8"}),f=this.n.sub(new A(1)),h=0;;h++){var u=n.k?n.k(h):new A(c.generate(this.n.byteLength()));if(!((u=this._truncateToN(u,!0)).cmpn(1)<=0||u.cmp(f)>=0)){var g=this.g.mul(u);if(!g.isInfinity()){var d=g.getX(),l=d.umod(this.n);if(0!==l.cmpn(0)){var B=u.invm(this.n).mul(l.mul(t.getPrivate()).iadd(e));if(0!==(B=B.umod(this.n)).cmpn(0)){var p=(g.getY().isOdd()?1:0)|(0!==d.cmp(l)?2:0);return n.canonical&&B.cmp(this.nh)>0&&(B=this.n.sub(B),p^=1),new I({r:l,s:B,recoveryParam:p})}}}}}},f.prototype.verify=function(e,t,i,r){e=this._truncateToN(new A(e,16)),i=this.keyFromPublic(i,r);var n=(t=new I(t,"hex")).r,o=t.s;if(n.cmpn(1)<0||n.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var a,s=o.invm(this.n),c=s.mul(e).umod(this.n),f=s.mul(n).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(c,i.getPublic(),f)).isInfinity()&&a.eqXToP(n):!(a=this.g.mulAdd(c,i.getPublic(),f)).isInfinity()&&0===a.getX().umod(this.n).cmp(n)},f.prototype.recoverPubKey=function(e,t,i,r){s((3&i)===i,"The recovery param is more than two bits"),t=new I(t,r);var n=this.n,o=new A(e),a=t.r,c=t.s,f=1&i,h=i>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");a=h?this.curve.pointFromX(a.add(this.curve.n),f):this.curve.pointFromX(a,f);var u=t.r.invm(n),g=n.sub(o).mul(u).umod(n),d=c.mul(u).umod(n);return this.g.mulAdd(g,a,d)},f.prototype.getKeyRecoveryParam=function(e,t,i,A){if(null!==(t=new I(t,A)).recoveryParam)return t.recoveryParam;for(var r=0;r<4;r++){var n;try{n=this.recoverPubKey(e,t,r)}catch(e){continue}if(n.eq(i))return r}throw new Error("Unable to find valid recovery factor")}},{"../curves":123,"../utils":131,"./key":125,"./signature":126,"bn.js":47,brorand:48,"hmac-drbg":165}],125:[function(e,t,i){"use strict";var A=e("bn.js"),r=e("../utils").assert;function n(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}t.exports=n,n.fromPublic=function(e,t,i){return t instanceof n?t:new n(e,{pub:t,pubEnc:i})},n.fromPrivate=function(e,t,i){return t instanceof n?t:new n(e,{priv:t,privEnc:i})},n.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},n.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},n.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},n.prototype._importPrivate=function(e,t){this.priv=new A(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},n.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?r(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||r(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},n.prototype.derive=function(e){return e.validate()||r(e.validate(),"public point not validated"),e.mul(this.priv).getX()},n.prototype.sign=function(e,t,i){return this.ec.sign(e,this,t,i)},n.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},n.prototype.inspect=function(){return""}},{"../utils":131,"bn.js":47}],126:[function(e,t,i){"use strict";var A=e("bn.js"),r=e("../utils"),n=r.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(n(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 a(){this.place=0}function s(e,t){var i=e[t.place++];if(!(128&i))return i;var A=15&i;if(0===A||A>4)return!1;for(var r=0,n=0,o=t.place;n>>=0;return!(r<=127)&&(t.place=o,r)}function c(e){for(var t=0,i=e.length-1;!e[t]&&!(128&e[t+1])&&t>>3);for(e.push(128|i);--i;)e.push(t>>>(i<<3)&255);e.push(t)}}t.exports=o,o.prototype._importDER=function(e,t){e=r.toArray(e,t);var i=new a;if(48!==e[i.place++])return!1;var n=s(e,i);if(!1===n)return!1;if(n+i.place!==e.length)return!1;if(2!==e[i.place++])return!1;var o=s(e,i);if(!1===o)return!1;var c=e.slice(i.place,o+i.place);if(i.place+=o,2!==e[i.place++])return!1;var I=s(e,i);if(!1===I)return!1;if(e.length!==I+i.place)return!1;var f=e.slice(i.place,I+i.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new A(c),this.s=new A(f),this.recoveryParam=null,!0},o.prototype.toDER=function(e){var t=this.r.toArray(),i=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&i[0]&&(i=[0].concat(i)),t=c(t),i=c(i);!(i[0]||128&i[1]);)i=i.slice(1);var A=[2];I(A,t.length),(A=A.concat(t)).push(2),I(A,i.length);var n=A.concat(i),o=[48];return I(o,n.length),o=o.concat(n),r.encode(o,e)}},{"../utils":131,"bn.js":47}],127:[function(e,t,i){"use strict";var A=e("hash.js"),r=e("../curves"),n=e("../utils"),o=n.assert,a=n.parseBytes,s=e("./key"),c=e("./signature");function I(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof I))return new I(e);e=r[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=I,I.prototype.sign=function(e,t){e=a(e);var i=this.keyFromSecret(t),A=this.hashInt(i.messagePrefix(),e),r=this.g.mul(A),n=this.encodePoint(r),o=this.hashInt(n,i.pubBytes(),e).mul(i.priv()),s=A.add(o).umod(this.curve.n);return this.makeSignature({R:r,S:s,Rencoded:n})},I.prototype.verify=function(e,t,i){e=a(e),t=this.makeSignature(t);var A=this.keyFromPublic(i),r=this.hashInt(t.Rencoded(),A.pubBytes(),e),n=this.g.mul(t.S());return t.R().add(A.pub().mul(r)).eq(n)},I.prototype.hashInt=function(){for(var e=this.hash(),t=0;t(r>>1)-1?(r>>1)-s:s,n.isubn(a)):a=0,A[o]=a,n.iushrn(1)}return A},A.getJSF=function(e,t){var i=[[],[]];e=e.clone(),t=t.clone();for(var A,r=0,n=0;e.cmpn(-r)>0||t.cmpn(-n)>0;){var o,a,s=e.andln(3)+r&3,c=t.andln(3)+n&3;3===s&&(s=-1),3===c&&(c=-1),o=0==(1&s)?0:3!==(A=e.andln(7)+r&7)&&5!==A||2!==c?s:-s,i[0].push(o),a=0==(1&c)?0:3!==(A=t.andln(7)+n&7)&&5!==A||2!==s?c:-c,i[1].push(a),2*r===o+1&&(r=1-r),2*n===a+1&&(n=1-n),e.iushrn(1),t.iushrn(1)}return i},A.cachedProperty=function(e,t,i){var A="_"+t;e.prototype[t]=function(){return void 0!==this[A]?this[A]:this[A]=i.call(this)}},A.parseBytes=function(e){return"string"==typeof e?A.toArray(e,"hex"):e},A.intFromLE=function(e){return new r(e,"hex","le")}},{"bn.js":47,"minimalistic-assert":172,"minimalistic-crypto-utils":173}],132:[function(e,t,i){t.exports={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"}}},{}],133:[function(e,t,i){"use strict";var A,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,i){return Function.prototype.apply.call(e,t,i)};A=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}t.exports=a,t.exports.once=function(e,t){return new Promise((function(i,A){function r(i){e.removeListener(t,n),A(i)}function n(){"function"==typeof e.removeListener&&e.removeListener("error",r),i([].slice.call(arguments))}B(e,t,n,{once:!0}),"error"!==t&&function(e,t,i){"function"==typeof e.on&&B(e,"error",t,i)}(e,r,{once:!0})}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function I(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function f(e,t,i,A){var r,n,o,a;if(c(i),void 0===(n=e._events)?(n=e._events=Object.create(null),e._eventsCount=0):(void 0!==n.newListener&&(e.emit("newListener",t,i.listener?i.listener:i),n=e._events),o=n[t]),void 0===o)o=n[t]=i,++e._eventsCount;else if("function"==typeof o?o=n[t]=A?[i,o]:[o,i]:A?o.unshift(i):o.push(i),(r=I(e))>0&&o.length>r&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,a=s,console&&console.warn&&console.warn(a)}return e}function h(){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 u(e,t,i){var A={fired:!1,wrapFn:void 0,target:e,type:t,listener:i},r=h.bind(A);return r.listener=i,A.wrapFn=r,r}function g(e,t,i){var A=e._events;if(void 0===A)return[];var r=A[t];return void 0===r?[]:"function"==typeof r?i?[r.listener||r]:[r]:i?function(e){for(var t=new Array(e.length),i=0;i0&&(o=t[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var s=r[e];if(void 0===s)return!1;if("function"==typeof s)n(s,this,t);else{var c=s.length,I=l(s,c);for(i=0;i=0;n--)if(i[n]===t||i[n].listener===t){o=i[n].listener,r=n;break}if(r<0)return this;0===r?i.shift():function(e,t){for(;t+1=0;A--)this.removeListener(e,t[A]);return this},a.prototype.listeners=function(e){return g(this,e,!0)},a.prototype.rawListeners=function(e){return g(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},a.prototype.listenerCount=d,a.prototype.eventNames=function(){return this._eventsCount>0?A(this._events):[]}},{}],134:[function(e,t,i){var A=e("safe-buffer").Buffer,r=e("md5.js");t.exports=function(e,t,i,n){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 o=i/8,a=A.alloc(o),s=A.alloc(n||0),c=A.alloc(0);o>0||n>0;){var I=new r;I.update(c),I.update(e),t&&I.update(t),c=I.digest();var f=0;if(o>0){var h=a.length-o;f=Math.min(o,c.length),c.copy(a,h,0,f),o-=f}if(f0){var u=s.length-n,g=Math.min(n,c.length-f);c.copy(s,u,f,f+g),n-=g}}return c.fill(0),{key:a,iv:s}}},{"md5.js":169,"safe-buffer":195}],135:[function(e,t,i){"use strict";var A=e("safe-buffer").Buffer,r=e("readable-stream").Transform;function n(e){r.call(this),this._block=A.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e("inherits")(n,r),n.prototype._transform=function(e,t,i){var A=null;try{this.update(e,t)}catch(e){A=e}i(A)},n.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},n.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 i=this._block,r=0;this._blockOffset+e.length-r>=this._blockSize;){for(var n=this._blockOffset;n0;++o)this._length[o]+=a,(a=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*a);return this},n.prototype._update=function(){throw new Error("_update is not implemented")},n.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 i=0;i<4;++i)this._length[i]=0;return t},n.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=n},{inherits:167,"readable-stream":150,"safe-buffer":195}],136:[function(e,t,i){arguments[4][80][0].apply(i,arguments)},{dup:80}],137:[function(e,t,i){arguments[4][81][0].apply(i,arguments)},{"./_stream_readable":139,"./_stream_writable":141,_process:185,dup:81,inherits:167}],138:[function(e,t,i){arguments[4][82][0].apply(i,arguments)},{"./_stream_transform":140,dup:82,inherits:167}],139:[function(e,t,i){arguments[4][83][0].apply(i,arguments)},{"../errors":136,"./_stream_duplex":137,"./internal/streams/async_iterator":142,"./internal/streams/buffer_list":143,"./internal/streams/destroy":144,"./internal/streams/from":146,"./internal/streams/state":148,"./internal/streams/stream":149,_process:185,buffer:99,dup:83,events:133,inherits:167,"string_decoder/":151,util:50}],140:[function(e,t,i){arguments[4][84][0].apply(i,arguments)},{"../errors":136,"./_stream_duplex":137,dup:84,inherits:167}],141:[function(e,t,i){arguments[4][85][0].apply(i,arguments)},{"../errors":136,"./_stream_duplex":137,"./internal/streams/destroy":144,"./internal/streams/state":148,"./internal/streams/stream":149,_process:185,buffer:99,dup:85,inherits:167,"util-deprecate":221}],142:[function(e,t,i){arguments[4][86][0].apply(i,arguments)},{"./end-of-stream":145,_process:185,dup:86}],143:[function(e,t,i){arguments[4][87][0].apply(i,arguments)},{buffer:99,dup:87,util:50}],144:[function(e,t,i){arguments[4][88][0].apply(i,arguments)},{_process:185,dup:88}],145:[function(e,t,i){arguments[4][89][0].apply(i,arguments)},{"../../../errors":136,dup:89}],146:[function(e,t,i){arguments[4][90][0].apply(i,arguments)},{dup:90}],147:[function(e,t,i){arguments[4][91][0].apply(i,arguments)},{"../../../errors":136,"./end-of-stream":145,dup:91}],148:[function(e,t,i){arguments[4][92][0].apply(i,arguments)},{"../../../errors":136,dup:92}],149:[function(e,t,i){arguments[4][93][0].apply(i,arguments)},{dup:93,events:133}],150:[function(e,t,i){arguments[4][94][0].apply(i,arguments)},{"./lib/_stream_duplex.js":137,"./lib/_stream_passthrough.js":138,"./lib/_stream_readable.js":139,"./lib/_stream_transform.js":140,"./lib/_stream_writable.js":141,"./lib/internal/streams/end-of-stream.js":145,"./lib/internal/streams/pipeline.js":147,dup:94}],151:[function(e,t,i){arguments[4][95][0].apply(i,arguments)},{dup:95,"safe-buffer":195}],152:[function(e,t,i){(function(e){(function(){ /*! * hash-wasm (https://www.npmjs.com/package/hash-wasm) * (c) Dani Biro @@ -25,8 +25,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** */function i(e,t,i,A){return new(i||(i=Promise))((function(r,n){function o(e){try{s(A.next(e))}catch(e){n(e)}}function a(e){try{s(A.throw(e))}catch(e){n(e)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,a)}s((A=A.apply(e,t||[])).next())}))}class A{constructor(){this.mutex=Promise.resolve()}lock(){let e=()=>{};return this.mutex=this.mutex.then((()=>new Promise(e))),new Promise((t=>{e=t}))}dispatch(e){return i(this,void 0,void 0,(function*(){const t=yield this.lock();try{return yield Promise.resolve(e())}finally{t()}}))}}var r;const n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:e,o=null!==(r=n.Buffer)&&void 0!==r?r:null,a=n.TextEncoder?new n.TextEncoder:null;function s(e,t){return(15&e)+(e>>6|e>>3&8)<<4|(15&t)+(t>>6|t>>3&8)}function c(e,t){const i=t.length>>1;for(let A=0;A>>4;e[A++]=i>9?i+I:i+f,i=15&t[r],e[A++]=i>9?i+I:i+f}return String.fromCharCode.apply(null,e)}const g=null!==o?e=>{if("string"==typeof e){const t=o.from(e,"utf8");return new Uint8Array(t.buffer,t.byteOffset,t.length)}if(o.isBuffer(e))return new Uint8Array(e.buffer,e.byteOffset,e.length);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Invalid data type!")}:e=>{if("string"==typeof e)return a.encode(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Invalid data type!")},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=new Uint8Array(256);for(let e=0;e>18&63)+u.charAt(i>>12&63)+u.charAt(i>>6&63)+u.charAt(63&i);r.push(A)}if(1===A){const A=e[i-1],n=u.charAt(A>>2),o=u.charAt(A<<4&63);r.push(`${n}${o}`),t&&r.push("==")}else if(2===A){const A=(e[i-2]<<8)+e[i-1],n=u.charAt(A>>10),o=u.charAt(A>>4&63),a=u.charAt(A<<2&63);r.push(`${n}${o}${a}`),t&&r.push("=")}return r.join("")}function B(e){let t=Math.floor(.75*e.length);const i=e.length;return"="===e[i-1]&&(t-=1,"="===e[i-2]&&(t-=1)),t}function p(e){const t=B(e),i=e.length,A=new Uint8Array(t);let r=0;for(let t=0;t>4,r+=1,A[r]=(15&n)<<4|o>>2,r+=1,A[r]=(3&o)<<6|63&a,r+=1}return A}const C=16384,Q=new A,E=new Map;function y(e,t){return i(this,void 0,void 0,(function*(){let A=null,r=null,n=!1;if("undefined"==typeof WebAssembly)throw new Error("WebAssembly is not supported in this environment!");const o=()=>new DataView(A.exports.memory.buffer).getUint32(A.exports.STATE_SIZE,!0),a=Q.dispatch((()=>i(this,void 0,void 0,(function*(){if(!E.has(e.name)){const t=p(e.data),i=WebAssembly.compile(t);E.set(e.name,i)}const t=yield E.get(e.name);A=yield WebAssembly.instantiate(t,{})})))),I=(e=null)=>{n=!0,A.exports.Hash_Init(e)},f=e=>{if(!n)throw new Error("update() called before init()");(e=>{let t=0;for(;t{if(!n)throw new Error("digest() called before init()");return n=!1,A.exports.Hash_Final(i),"binary"===e?r.slice(0,t):h(u,r,t)},l=e=>"string"==typeof e?e.length<4096:e.byteLength!0;break;case"blake2b":case"blake2s":B=(e,t)=>t<=512&&l(e);break;case"blake3":B=(e,t)=>0===t&&l(e);break;case"xxhash64":case"xxhash3":case"xxhash128":B=()=>!1}return yield(()=>i(this,void 0,void 0,(function*(){A||(yield a);const e=A.exports.Hash_GetBuffer(),t=A.exports.memory.buffer;r=new Uint8Array(t,e,C)})))(),{getMemory:()=>r,writeMemory:(e,t=0)=>{r.set(e,t)},getExports:()=>A.exports,setMemorySize:e=>{A.exports.Hash_SetMemorySize(e);const t=A.exports.Hash_GetBuffer(),i=A.exports.memory.buffer;r=new Uint8Array(i,t,e)},init:I,update:f,digest:d,save:()=>{if(!n)throw new Error("save() can only be called after init() and before digest()");const t=A.exports.Hash_GetState(),i=o(),r=A.exports.memory.buffer,a=new Uint8Array(r,t,i),s=new Uint8Array(4+i);return c(s,e.hash),s.set(a,4),s},load:t=>{if(!(t instanceof Uint8Array))throw new Error("load() expects an Uint8Array generated by save()");const i=A.exports.Hash_GetState(),r=o(),a=4+r,c=A.exports.memory.buffer;if(t.length!==a)throw new Error(`Bad state length (expected ${a} bytes, got ${t.length})`);if(!function(e,t){if(e.length!==2*t.length)return!1;for(let i=0;i{if(!B(e,i))return I(i),f(e),d("hex",n);const o=g(e);return r.set(o),A.exports.Hash_Calculate(o.length,i,n),h(u,r,t)},hashLength:t}}))}var b={name:"adler32",data:"AGFzbQEAAAABDANgAAF/YAAAYAF/AAMHBgABAgEAAgQFAXABAQEFBAEBAgIGDgJ/AUGAiQULfwBBgAgLB3AIBm1lbW9yeQIADkhhc2hfR2V0QnVmZmVyAAAJSGFzaF9Jbml0AAELSGFzaF9VcGRhdGUAAgpIYXNoX0ZpbmFsAAMNSGFzaF9HZXRTdGF0ZQAEDkhhc2hfQ2FsY3VsYXRlAAUKU1RBVEVfU0laRQMBCoAIBgUAQYAJCwoAQQBBATYChAgL9gYBBn9BACgChAgiAUH//wNxIQIgAUEQdiEDAkACQCAAQQFHDQAgAkEALQCACWoiAUGPgHxqIAEgAUHw/wNLGyIBIANqIgRBEHQiBUGAgDxqIAUgBEHw/wNLGyABciEBDAELAkACQAJAAkACQCAAQRBJDQBBgAkhBiAAQbArSQ0BQYAJIQYDQEEAIQUDQCAGIAVqIgEoAgAiBEH/AXEgAmoiAiADaiACIARBCHZB/wFxaiICaiACIARBEHZB/wFxaiICaiACIARBGHZqIgJqIAIgAUEEaigCACIEQf8BcWoiAmogAiAEQQh2Qf8BcWoiAmogAiAEQRB2Qf8BcWoiAmogAiAEQRh2aiICaiACIAFBCGooAgAiBEH/AXFqIgJqIAIgBEEIdkH/AXFqIgJqIAIgBEEQdkH/AXFqIgJqIAIgBEEYdmoiBGogBCABQQxqKAIAIgFB/wFxaiIEaiAEIAFBCHZB/wFxaiIEaiAEIAFBEHZB/wFxaiIEaiAEIAFBGHZqIgJqIQMgBUEQaiIFQbArRw0ACyADQfH/A3AhAyACQfH/A3AhAiAGQbAraiEGIABB0FRqIgBBrytLDQALIABFDQQgAEEPSw0BDAILAkAgAEUNAEEAIQEDQCACIAFBgAlqLQAAaiICIANqIQMgACABQQFqIgFHDQALCyACQY+AfGogAiACQfD/A0sbIANB8f8DcEEQdHIhAQwECwNAIAYoAgAiAUH/AXEgAmoiBCADaiAEIAFBCHZB/wFxaiIEaiAEIAFBEHZB/wFxaiIEaiAEIAFBGHZqIgRqIAQgBkEEaigCACIBQf8BcWoiBGogBCABQQh2Qf8BcWoiBGogBCABQRB2Qf8BcWoiBGogBCABQRh2aiIEaiAEIAZBCGooAgAiAUH/AXFqIgRqIAQgAUEIdkH/AXFqIgRqIAQgAUEQdkH/AXFqIgRqIAQgAUEYdmoiBGogBCAGQQxqKAIAIgFB/wFxaiIEaiAEIAFBCHZB/wFxaiIEaiAEIAFBEHZB/wFxaiIEaiAEIAFBGHZqIgJqIQMgBkEQaiEGIABBcGoiAEEPSw0ACyAARQ0BCwNAIAIgBi0AAGoiAiADaiEDIAZBAWohBiAAQX9qIgANAAsLIANB8f8DcCEDIAJB8f8DcCECCyACIANBEHRyIQELQQAgATYChAgLMgEBf0EAQQAoAoQIIgBBGHQgAEEIdEGAgPwHcXIgAEEIdkGA/gNxIABBGHZycjYCgAkLBQBBhAgLPABBAEEBNgKECCAAEAJBAEEAKAKECCIAQRh0IABBCHRBgID8B3FyIABBCHZBgP4DcSAAQRh2cnI2AoAJCwsVAgBBgAgLBAQAAAAAQYQICwQBAAAA",hash:"321174b4"};function m(e,t,A){return i(this,void 0,void 0,(function*(){const i=yield e.lock(),r=yield y(t,A);return i(),r}))}const w=new A;let v=null;var D={name:"blake2b",data:"AGFzbQEAAAABEQRgAAF/YAJ/fwBgAX8AYAAAAwoJAAECAwECAgABBAUBcAE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FNwO4iQFBACAFp0H/AXE2AuSKAQJAIAFBAUgNACACQgA3A3ggAkIANwNwIAJCADcDaCACQgA3A2AgAkIANwNYIAJCADcDUCACQgA3A0ggAkIANwNAIAJCADcDOCACQgA3AzAgAkIANwMoIAJCADcDICACQgA3AxggAkIANwMQIAJCADcDCCACQgA3AwBBACEDA0AgAiAAaiAAQYAJai0AADoAACADQQFqIgNB/wFxIgAgAUgNAAsgAkGAARABCyACQYABaiQACxIAIABBA3ZB/z9xIABBEHYQBAsJAEGACSAAEAELBgBBgIkBCxsAIAFBA3ZB/z9xIAFBEHYQBEGACSAAEAEQAwsLCwEAQYAICwTwAAAA",hash:"68afc9cf"};const S=new A;let F=null;function k(e){return!Number.isInteger(e)||e<8||e>512||e%8!=0?new Error("Invalid variant! Valid values: 8, 16, ..., 512"):null}function M(e,t){return e|t<<16}function N(e=512,t=null){if(k(e))return Promise.reject(k(e));let i=null,A=e;if(null!==t){if(i=g(t),i.length>64)return Promise.reject(new Error("Max key length is 64 bytes"));A=M(e,i.length)}const r=e/8;return y(D,r).then((e=>{A>512&&e.writeMemory(i),e.init(A);const t={init:A>512?()=>(e.writeMemory(i),e.init(A),t):()=>(e.init(A),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:128,digestSize:r};return t}))}var U={name:"argon2",data:"AGFzbQEAAAABKQVgAX8Bf2AAAX9gEH9/f39/f39/f39/f39/f38AYAR/f39/AGACf38AAwYFAAECAwQEBQFwAQEBBQYBAQKAgAIGCAF/AUGQqAQLB0EEBm1lbW9yeQIAEkhhc2hfU2V0TWVtb3J5U2l6ZQAADkhhc2hfR2V0QnVmZmVyAAEOSGFzaF9DYWxjdWxhdGUABArXMwVbAQF/QQAhAQJAIABBACgCgAhrIgBFDQACQCAAQRB2IABBgIB8cSAASWoiAEAAQX9HDQBB/wEhAQwBC0EAIQFBAEEAKQOACCAAQRB0rXw3A4AICyABQRh0QRh1C2oBAn8CQEEAKAKICCIADQBBAD8AQRB0IgA2AogIQYCAIEEAKAKACGsiAUUNAAJAIAFBEHYgAUGAgHxxIAFJaiIAQABBf0cNAEEADwtBAEEAKQOACCAAQRB0rXw3A4AIQQAoAogIIQALIAALnA8BA34gACAEKQMAIhAgACkDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDCAQIAwpAwCFIhBCIIkiETcDACAIIBEgCCkDACISfCASQgGGQv7///8fgyAQQiCIfnwiEDcDACAEIBAgBCkDAIUiEEIoiSIRNwMAIAAgESAAKQMAIhJ8IBBCGIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAMIBAgDCkDAIUiEEIwiSIRNwMAIAggESAIKQMAIhJ8IBBCEIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAEIBAgBCkDAIVCAYk3AwAgASAFKQMAIhAgASkDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDSAQIA0pAwCFIhBCIIkiETcDACAJIBEgCSkDACISfCASQgGGQv7///8fgyAQQiCIfnwiEDcDACAFIBAgBSkDAIUiEEIoiSIRNwMAIAEgESABKQMAIhJ8IBBCGIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACANIBAgDSkDAIUiEEIwiSIRNwMAIAkgESAJKQMAIhJ8IBBCEIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAFIBAgBSkDAIVCAYk3AwAgAiAGKQMAIhAgAikDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDiAQIA4pAwCFIhBCIIkiETcDACAKIBEgCikDACISfCASQgGGQv7///8fgyAQQiCIfnwiEDcDACAGIBAgBikDAIUiEEIoiSIRNwMAIAIgESACKQMAIhJ8IBBCGIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAOIBAgDikDAIUiEEIwiSIRNwMAIAogESAKKQMAIhJ8IBBCEIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAGIBAgBikDAIVCAYk3AwAgAyAHKQMAIhAgAykDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDyAQIA8pAwCFIhBCIIkiETcDACALIBEgCykDACISfCASQgGGQv7///8fgyAQQiCIfnwiEDcDACAHIBAgBykDAIUiEEIoiSIRNwMAIAMgESADKQMAIhJ8IBBCGIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAPIBAgDykDAIUiEEIwiSIRNwMAIAsgESALKQMAIhJ8IBBCEIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAHIBAgBykDAIVCAYk3AwAgACAFKQMAIhAgACkDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDyAQIA8pAwCFIhBCIIkiETcDACAKIBEgCikDACISfCASQgGGQv7///8fgyAQQiCIfnwiEDcDACAFIBAgBSkDAIUiEEIoiSIRNwMAIAAgESAAKQMAIhJ8IBBCGIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAPIBAgDykDAIUiEEIwiSIRNwMAIAogESAKKQMAIhJ8IBBCEIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAFIBAgBSkDAIVCAYk3AwAgASAGKQMAIhAgASkDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDCAQIAwpAwCFIhBCIIkiETcDACALIBEgCykDACISfCASQgGGQv7///8fgyAQQiCIfnwiEDcDACAGIBAgBikDAIUiEEIoiSIRNwMAIAEgESABKQMAIhJ8IBBCGIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAMIBAgDCkDAIUiEEIwiSIRNwMAIAsgESALKQMAIhJ8IBBCEIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAGIBAgBikDAIVCAYk3AwAgAiAHKQMAIhAgAikDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDSAQIA0pAwCFIhBCIIkiETcDACAIIBEgCCkDACISfCASQgGGQv7///8fgyAQQiCIfnwiEDcDACAHIBAgBykDAIUiEEIoiSIRNwMAIAIgESACKQMAIhJ8IBBCGIhC/////w+DIBJCAYZC/v///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IAQgHkEKdGogBCAfQQN0QZAYaikDACIVQiCIpyAFcCAcIBgbIh4gA2wgASABQQAgFCAerVEiHhsiHyAdGyAZaiAfIApqIBAbIAFFIB5yayIdIBdqrSAVQv////8PgyIVIBV+QiCIIB2tfkIgiH0gDIKnakEKdGpBARADIAJBAWohAiABQQFqIgEgCEcNAAwCCwsDQCACQQAgAyABG0EAIBNQIh0bakF/aiEeAkACQCAaRQ0AAkAgAUH/AHEiBA0AQQBBACkDwBBCAXw3A8AQQZAYQZAQQZAgQQAQA0GQGEGQGEGQIEEAEAMLIB5BCnQhHiAEQQN0QZAYaiEfQQAoAogIIQQMAQtBACgCiAgiBCAeQQp0Ih5qIR8LIAQgAkEKdGogBCAeaiAEIB8pAwAiFUIgiKcgBXAgHCAYGyIeIANsIAEgAUEAIBQgHq1RIh4bIh8gHRsgGWogHyAKaiAQGyABRSAecmsiHSAXaq0gFUL/////D4MiFSAVfkIgiCAdrX5CIIh9IAyCp2pBCnRqQQEQAyACQQFqIQIgAUEBaiIBIAhHDQALCyAUQgF8IhQgC1INAAsLIBNCAXwiE6chASATQgRSDQALIA9CAXwiDyAHUg0AC0EAKAKICCECCyAJQQx0QYB4aiEZAkAgBUF/aiIQRQ0AQQAhBQNAIAUgA2wgA2pBCnRBgHhqIRxBeCEEQQAhAQNAIAIgASAZamoiCCAIKQMAIAIgHCABamopAwCFNwMAIAFBCGohASAEQQhqIgRB+AdJDQALIAVBAWoiBSAQRw0ACwtBACEBA0AgAiABaiACIAEgGWpqKQMANwMAIAFB+AdJIQMgAUEIaiEBIAMNAAsLCw==",hash:"59aa4fb4"};const G=new DataView(new ArrayBuffer(4));function H(e){return G.setInt32(0,e,!0),new Uint8Array(G.buffer)}function _(e,t,A){return i(this,void 0,void 0,(function*(){if(A<=64){const e=yield N(8*A);return e.update(H(A)),e.update(t),e.digest("binary")}const i=Math.ceil(A/32)-2,r=new Uint8Array(A);e.init(),e.update(H(A)),e.update(t);let n=e.digest("binary");r.set(n.subarray(0,32),0);for(let t=1;t{if(!e||"object"!=typeof e)throw new Error("Invalid options parameter. It requires an object.");if(!e.password)throw new Error("Password must be specified");if(e.password=g(e.password),e.password.length<1)throw new Error("Password must be specified");if(!e.salt)throw new Error("Salt must be specified");if(e.salt=g(e.salt),e.salt.length<8)throw new Error("Salt should be at least 8 bytes long");if(!Number.isInteger(e.iterations)||e.iterations<1)throw new Error("Iterations should be a positive number");if(!Number.isInteger(e.parallelism)||e.parallelism<1)throw new Error("Parallelism should be a positive number");if(!Number.isInteger(e.hashLength)||e.hashLength<4)throw new Error("Hash length should be at least 4 bytes.");if(!Number.isInteger(e.memorySize))throw new Error("Memory size should be specified.");if(e.memorySize<8*e.parallelism)throw new Error("Memory size should be at least 8 * parallelism.");if(void 0===e.outputType&&(e.outputType="hex"),!["hex","binary","encoded"].includes(e.outputType))throw new Error(`Insupported output type ${e.outputType}. Valid values: ['hex', 'binary', 'encoded']`)};var q={name:"blake2s",data:"AGFzbQEAAAABEQRgAAF/YAJ/fwBgAX8AYAAAAwkIAAECAwICAAEEBQFwAQEBBQQBAQICBg4CfwFBoIoFC38AQYAICwdwCAZtZW1vcnkCAA5IYXNoX0dldEJ1ZmZlcgAACkhhc2hfRmluYWwAAwlIYXNoX0luaXQABAtIYXNoX1VwZGF0ZQAFDUhhc2hfR2V0U3RhdGUABg5IYXNoX0NhbGN1bGF0ZQAHClNUQVRFX1NJWkUDAQqhMAgFAEGACQvjAgEFfwJAIAFBAUgNAEEAIQICQAJAAkBBwABBACgC8IkBIgNrIgQgAUgNACABIQUMAQtBAEEANgLwiQECQCAERQ0AIANBMGohBSAAIQYDQCAFQYCJAWogBi0AADoAACAGQQFqIQYgBUEBaiIFQfAARw0ACwtBAEEAKAKgiQEiBUHAAGo2AqCJAUEAQQAoAqSJASAFQb9/S2o2AqSJAUGwiQEQAiAAIARqIQACQCABIARrIgVBwQBIDQAgAyABaiEFA0BBAEEAKAKgiQEiBkHAAGo2AqCJAUEAQQAoAqSJASAGQb9/S2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2ApiJAUEAIANB/wFxNgL0iQFBAEEAKAKcigFBmZqD3wVzNgKciQECQCACRQ0AIAFBOGpCADcDACABQTBqQgA3AwAgAUEoakIANwMAIAFBIGpCADcDACABQRhqQgA3AwAgAUEQakIANwMAIAFCADcDCCABQgA3AwBBACEDA0AgASAAaiAAQYAJai0AADoAACACIANBAWoiA0H/AXEiAEsNAAsgAUHAABABCyABQcAAaiQACwkAQYAJIAAQAQsGAEGAiQELDwAgARAEQYAJIAAQARADCwsLAQBBgAgLBHwAAAA=",hash:"0f570f49"};const x=new A;let J=null;function Y(e){return!Number.isInteger(e)||e<8||e>256||e%8!=0?new Error("Invalid variant! Valid values: 8, 16, ..., 256"):null}function O(e,t){return e|t<<16}var L={name:"blake3",data:"AGFzbQEAAAABJQZgAAF/YAF/AGADf39/AGAGf39/f35/AGABfgBgBX9/fn9/AX8DDQwAAQIDBAUBAQEBAAIEBQFwAQEBBQQBAQICBg4CfwFBgJgFC38AQYAICwdwCAZtZW1vcnkCAA5IYXNoX0dldEJ1ZmZlcgAACUhhc2hfSW5pdAAHC0hhc2hfVXBkYXRlAAgKSGFzaF9GaW5hbAAJDUhhc2hfR2V0U3RhdGUACg5IYXNoX0NhbGN1bGF0ZQALClNUQVRFX1NJWkUDAQrAWAwFAEGACQubEQkDfwR+An8BfgF/A34CfwJ+BH8jAEHQAmsiASQAAkAgAEUNAAJAAkBBAC0AiYoBQQZ0QQAtAIiKAWoiAg0AQYAJIQMMAQtBoIkBQYAJIABBgAggAmsiAiACIABLGyICEAIgACACayIARQ0BIAFBoAFqQQApA9CJATcDACABQagBakEAKQPYiQE3AwAgAUEAKQOgiQEiBDcDcCABQQApA6iJASIFNwN4IAFBACkDsIkBIgY3A4ABIAFBACkDuIkBIgc3A4gBIAFBACkDyIkBNwOYAUEALQCKigEhCEEALQCJigEhCUEAKQPAiQEhCkEALQCIigEhCyABQbABakEAKQPgiQE3AwAgAUG4AWpBACkD6IkBNwMAIAFBwAFqQQApA/CJATcDACABQc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QigEiC0EFdCICQaGKAWogBDcDACACQZmKAWogBTcDAEEAIAtBAWo6AJCKASACQZGKAWogBjcDACACQamKAWogCjcDAEEAKQPAiQEgDUIBiHwQBEEAQQAtAJCKASICQQFqOgCQigEgAkEFdCICQamKAWogETcDACACQaGKAWogDjcDACACQZmKAWogDDcDACACQZGKAWogBzcDAAtBAEEAKQPAiQEgDXwiBDcDwIkBIAMgEGohAyAAIBBrIgBBgAhLDQALIABFDQELQaCJASADIAAQAkEAKQPAiQEQBAsgAUHQAmokAAvwBAEFfyMAQcAAayIDJAACQAJAIAAtAGgiBEUNAAJAIAJBwAAgBGsiBSAFIAJLGyIGRQ0AIAAgBGpBKGohBCABIQUgBiEHA0AgBCAFLQAAOgAAIAVBAWohBSAEQQFqIQQgB0F/aiIHDQALIAAtAGghBAsgACAEIAZqIgQ6AGggASAGaiEBAkAgAiAGayICDQBBACECDAILIAMgACAAQShqQcAAIAApAyAgAC0AaiAAQekAaiIELQAARXIQAyAAIAMpAyAgAykDAIU3AwAgACADKQMoIAMpAwiFNwMIIAAgAykDMCADKQMQhTcDECAAIAMpAzggAykDGIU3AxggAEEAOgBoIABB4ABqQgA3AwAgAEHYAGpCADcDACAAQdAAakIANwMAIABByABqQgA3AwAgAEHAAGpCADcDACAAQThqQgA3AwAgAEEwakIANwMAIABCADcDKCAEIAQtAABBAWo6AAALQQAhBCACQcEASQ0AIABB6QBqIgQtAAAhBQNAIAMgACABQcAAIAApAyAgAC0AaiAFQf8BcUVyEAMgACADKQMgIAMpAwCFNwMAIAAgAykDKCADKQMIhTcDCCAAIAMpAzAgAykDEIU3AxAgACADKQM4IAMpAxiFNwMYIAQgBC0AAEEBaiIFOgAAIAFBwABqIQEgAkFAaiICQcAASw0ACyAALQBoIQQLAkAgAkHAACAEQf8BcSIHayIFIAUgAksbIgJFDQAgACAHakEoaiEEIAIhBQNAIAQgAS0AADoAACABQQFqIQEgBEEBaiEEIAVBf2oiBQ0ACyAALQBoIQQLIAAgBCACajoAaC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CAlaiIYIBVzQRR3IhVqIhkgFHNBGHciFCAYaiIYaiIdICBzQRR3Ih9qIiA2AgAgACAXICQgHHNBGHciHCAeaiIeIBtzQRl3IhtqIAFqIgEgFmogASAUc0EQdyIBICtqIhQgG3NBFHciFmoiFyABc0EYdyIBNgI4IAAgGCAVc0EZdyIVIC5qIANqIgMgE2ogAyAcc0EQdyIDIAIgImoiAmoiIiAVc0EUdyIVaiITNgIEIAAgASAUaiIBNgIkIAAgAiAFc0EZdyICIBlqICFqIgUgGmogBSAnc0EQdyIFIB5qIhQgAnNBFHciAmoiGjYCCCAAICAgEnNBGHciEiAdaiIhNgIoIAAgEyADc0EYdyIDNgIwIAAgASAWc0EZdzYCECAAIBogBXNBGHciATYCNCAAICEgH3NBGXc2AhQgACABIBRqIgE2AiAgACADICJqIgUgFXNBGXc2AhggACASNgI8IAAgASACc0EZdzYCHCAAIBc2AgwgACAFNgIsC7cDAwR/A34FfyMAQdABayIBJAACQCAAe6ciAkEALQCQigEiA08NACABQShqIQQDQCABQQApA4CJASIANwMAIAFBACkDiIkBIgU3AwggAUEAKQOQiQEiBjcDECABQQApA5iJASIHNwMYIAEgA0EFdCIDQdGJAWoiCCkDADcDKCABIANB2YkBaiIJKQMANwMwIAEgA0HhiQFqIgopAwA3AzggASADQemJAWoiCykDADcDQEEALQCKigEhDCABQcAAOgBoIAEgDEEEciIMOgBpIAFCADcDICABIANB8YkBaikDADcDSCABIANB+YkBaikDADcDUCABIANBgYoBaikDADcDWCABIANBiYoBaikDADcDYCABIAc3A4gBIAEgBjcDgAEgASAFNwN4IAEgADcDcCABQZABaiABQfAAaiAEQcAAQgAgDBADIAsgASkDyAEgASkDqAGFNwMAIAogASkDwAEgASkDoAGFNwMAIAkgASkDuAEgASkDmAGFNwMAIAggASkDsAEgASkDkAGFNwMAQQBBAC0AkIoBQX9qIgM6AJCKASACIANB/wFxIgNJDQALCyABQdABaiQAC/oLBAR/BH4GfwF+IwBB0AJrIgUkAAJAAkAgAUGACEs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JASEIQQAtAIiKASEJIAFBwABqQQApA+CJATcDACABQcgAakEAKQPoiQE3AwAgAUHQAGpBACkD8IkBNwMAIAFB2ABqQQApA/iJATcDACABQeAAakEAKQOAigE3AwAgASAJOgBoIAEgCDcDICABIAIgB0VyQQJyIgI6AGkgAUHwAGpBAXIhCiABQShqIQtCACEIQYAJIQwDQCABQbABaiABIAsgCUH/AXEgCCACQQhyQf8BcRADIAEgASkD2AEiDSABKQO4AYU3A3ggASABKQPgASIOIAEpA8ABhTcDgAEgASAGIAEpA+gBIg+FNwOoASABIAUgDoU3A6ABIAEgBCANhTcDmAEgASADIAEpA9ABIg2FNwOQASABIA8gASkDyAGFNwOIASAAQcAAIABBwABJGyIQQX9qIQkgASANIAEpA7ABhSINNwNwIA2nIREgCiEHIAwhAgJAA0AgAiAROgAAIAlFDQEgCUF/aiEJIAJBAWohAiAHLQAAIREgB0EBaiEHDAALCyAAIBBrIgBFDQIgDCAQaiEMIAhCAXwhCCABKQMIIQQgASkDACEDIAEpAxghBiABKQMQIQUgAS0AaSECIAEtAGghCQwACwsCQAJAAkBBAC0AiYoBIglBBnRBAEEALQCIigEiDGtGDQAgAUHgAGpBACkDgIoBNwMAIAFB2ABqQQApA/iJATcDACABQdAAakEAKQPwiQE3AwAgAUHIAGpBACkD6IkBNwMAIAFBwABqQQApA+CJATcDACABQThqQQApA9iJATcDACABQTBqQQApA9CJATcDACABQQApA8iJATcDKCABQQApA8CJASIINwMgIAFBACkDuIkBIg03AxggAUEAKQOwiQEiDjcDECABQQApA6iJASIPNwMIIAFBACkDoIkBIgM3AwBBAC0AiooBIQcgAUHuAGogAUG0AWovAQA7AQAgASABKAGwATYBaiABIAw6AGggASAHIAlFckECciIJOgBpDAELIAFB4ABqIAJBfmoiAkEFdCIJQcmKAWopAwA3AwAgAUHYAGogCUHBigFqKQMANwMAIAFB0ABqIAlBuYoBaikDADcDACABQcgAaiAJQbGKAWopAwA3AwBBwAAhDCABQcAAaiAJQamKAWopAwA3AwAgAUE4aiAJQaGKAWopAwA3AwAgAUEwaiAJQZmKAWopAwA3AwBCACEIIAFCADcDICABQQApA5iJASINNwMYIAFBACkDkIkBIg43AxAgAUEAKQOIiQEiDzcDCCABQQApA4CJASIDNwMAIAEgCUGRigFqKQMANwMoQQAtAIqKASEJIAFB7gBqIAFBsAFqQQRqLwEAOwEAIAEgASgBsAE2AWogASAJQQRyIgk6AGkgAUHAADoAaCACRQ0BCyACQX9qIgdBBXQiEUGRigFqKQMAIQQgEUGZigFqKQMAIQUgEUGhigFqKQMAIQYgEUGpigFqKQMAIRIgASANNwOIASABIA43A4ABIAEgDzcDeCABIAM3A3AgAUGwAWogAUHwAGogAUEoaiIQIAwgCCAJQf8BcRADIAFBwAA6AGggASASNwNAIAEgBjcDOCABIAU3AzAgASAENwMoIAFCADcDICABQQApA5iJASIINwMYIAFBACkDkIkBIg03AxAgAUEAKQOIiQEiDjcDCCABQQApA4CJASIPNwMAIAFBAC0AiooBQQRyIgk6AGkgASABKQPoASABKQPIAYU3A2AgASABKQPgASABKQPAAYU3A1ggASABKQPYASABKQO4AYU3A1AgASABKQPQASABKQOwAYU3A0ggAUHuAGogAUGwAWpBBGoiDC8BADsBACABIAEoAbABNgFqIAdFDQAgAUHqAGohESACQQV0QemJAWohAgNAIAJBaGopAwAhAyACQXBqKQMAIQQgAkF4aikDACEFIAIpAwAhBiABIAg3A4gBIAEgDTcDgAEgASAONwN4IAEgDzcDcCABQbABaiABQfAAaiAQQcAAQgAgCUH/AXEQAyABQcAAOgBoIAEgBjcDQCABIAU3AzggASAENwMwIAEgAzcDKCABQgA3AyAgAUEAKQOYiQEiCDcDGCABQQApA5CJASINNwMQIAFBACkDiIkBIg43AwggAUEAKQOAiQEiDzcDACABQQAtAIqKAUEEciIJOgBpIAEgASkD6AEgASkDyAGFNwNgIAEgASkD4AEgASkDwAGFNwNYIAEgASkD2AEgASkDuAGFNwNQIAEgASkD0AEgASkDsAGFNwNIIBFBBGogDC8BADsBACARIAEoAbABNgE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AQgA3A9iJAUEAQgA3A9CJAUEAQgA3A8iJAUEAQgA3A8CJAUEAIAM3A7iJAUEAIAQ3A7CJAUEAIAU3A6iJAUEAIAY3A6CJAUEAIAM3A5iJAUEAIAQ3A5CJAUEAIAU3A4iJAUEAIAY3A4CJAUEAQQA6AJCKAUEAQQA7AYiKASAAEAEgAhAGCwsLAQBBgAgLBHgHAAA=",hash:"e8655383"};const P=new A;let z=null;function Z(e){return!Number.isInteger(e)||e<8||e%8!=0?new Error("Invalid variant! Valid values: 8, 16, ..."):null}var T={name:"crc32",data:"AGFzbQEAAAABEQRgAAF/YAF/AGAAAGACf38AAwgHAAEBAQIAAwQFAXABAQEFBAEBAgIGDgJ/AUGQyQULfwBBgAgLB3AIBm1lbW9yeQIADkhhc2hfR2V0QnVmZmVyAAAJSGFzaF9Jbml0AAILSGFzaF9VcGRhdGUAAwpIYXNoX0ZpbmFsAAQNSGFzaF9HZXRTdGF0ZQAFDkhhc2hfQ2FsY3VsYXRlAAYKU1RBVEVfU0laRQMBCq0HBwUAQYAJC8MDAQN/QYCJASEBQQAhAgNAIAFBAEEAQQBBAEEAQQBBAEEAIAJBAXFrIABxIAJBAXZzIgNBAXFrIABxIANBAXZzIgNBAXFrIABxIANBAXZzIgNBAXFrIABxIANBAXZzIgNBAXFrIABxIANBAXZzIgNBAXFrIABxIANBAXZzIgNBAXFrIABxIANBAXZzIgNBAXFrIABxIANBAXZzNgIAIAFBBGohASACQQFqIgJBgAJHDQALQQAhAANAIABBhJEBaiAAQYSJAWooAgAiAkH/AXFBAnRBgIkBaigCACACQQh2cyICNgIAIABBhJkBaiACQf8BcUECdEGAiQFqKAIAIAJBCHZzIgI2AgAgAEGEoQFqIAJB/wFxQQJ0QYCJAWooAgAgAkEIdnMiAjYCACAAQYSpAWogAkH/AXFBAnRBgIkBaigCACACQQh2cyICNgIAIABBhLEBaiACQf8BcUECdEGAiQFqKAIAIAJBCHZzIgI2AgAgAEGEuQFqIAJB/wFxQQJ0QYCJAWooAgAgAkEIdnMiAjYCACAAQYTBAWogAkH/AXFBAnRBgIkBaigCACACQQh2czYCACAAQQRqIgBB/AdHDQALCycAAkBBACgCgMkBIABGDQAgABABQQAgADYCgMkBC0EAQQA2AoTJAQuhAgEDf0EAKAKEyQFBf3MhAUGACSECAkAgAEEISQ0AQYAJIQIDQCACQQRqKAIAIgNBDnZB/AdxQYCRAWooAgAgA0EWdkH8B3FBgIkBaigCAHMgA0EGdkH8B3FBgJkBaigCAHMgA0H/AXFBAnRBgKEBaigCAHMgAigCACABcyIBQRZ2QfwHcUGAqQFqKAIAcyABQQ52QfwHcUGAsQFqKAIAcyABQQZ2QfwHcUGAuQFqKAIAcyABQf8BcUECdEGAwQFqKAIAcyEBIAJBCGohAiAAQXhqIgBBB0sNAAsLAkAgAEUNAANAIAFB/wFxIAItAABzQQJ0QYCJAWooAgAgAUEIdnMhASACQQFqIQIgAEF/aiIADQALC0EAIAFBf3M2AoTJAQszAQF/QQBBACgChMkBIgBBGHQgAEEIdEGAgPwHcXIgAEEIdkGA/gNxIABBGHZycjYCgAkLBgBBhMkBC1oAAkBBACgCgMkBIAFGDQAgARABQQAgATYCgMkBC0EAQQA2AoTJASAAEANBAEEAKAKEyQEiAUEYdCABQQh0QYCA/AdxciABQQh2QYD+A3EgAUEYdnJyNgKACQsLCwEAQYAICwQEAAAA",hash:"749723dc"};const X=new A;let V=null;const j=new A;let W=null;var $={name:"md4",data:"AGFzbQEAAAABEgRgAAF/YAAAYAF/AGACf38BfwMIBwABAgMBAAIEBQFwAQEBBQQBAQICBg4CfwFBoIoFC38AQYAICwdwCAZtZW1vcnkCAA5IYXNoX0dldEJ1ZmZlcgAACUhhc2hfSW5pdAABC0hhc2hfVXBkYXRlAAIKSGFzaF9GaW5hbAAEDUhhc2hfR2V0U3RhdGUABQ5IYXNoX0NhbGN1bGF0ZQAGClNUQVRFX1NJWkUDAQqXEQcFAEGACQstAEEAQv6568XpjpWZEDcCkIkBQQBCgcaUupbx6uZvNwKIiQFBAEIANwKAiQEL6AIBA39BAEEAKAKAiQEiASAAakH/////AXEiAjYCgIkBQQAoAoSJASEDAkAgAiABTw0AQQAgA0EBaiIDNgKEiQELQQAgAyAAQR12ajYChIkBAkACQAJAAkACQAJAIAFBP3EiAw0AQYAJIQIMAQtBwAAgA2siAiAASw0BIANBGGohA0EAIQEDQCADIAFqQYCJAWogAUGACWotAAA6AAAgAyABQQFqIgFqQdgARw0AC0GYiQFBwAAQAxogACACayEAIAJBgAlqIQILIABBwABPDQEgACEDDAILIABFDQJBACEBIANBmIkBakEALQCACToAACAAQQFGDQIgA0GZiQFqIQMgAEF/aiECA0AgAyABaiABQYEJai0AADoAACACIAFBAWoiAUcNAAwDCwsgAEE/cSEDIAIgAEFAcRADIQILIANFDQBBACEBA0AgAUGYiQFqIAIgAWotAAA6AAAgAyABQQFqIgFHDQALCwuYCwEXf0EAKAKUiQEhAkEAKAKQiQEhA0EAKAKMiQEhBEEAKAKIiQEhBQNAIABBHGooAgAiBiAAQRRqKAIAIgcgAEEYaigCACIIIABBEGooAgAiCSAAQSxqKAIAIgogAEEoaigCACILIABBJGooAgAiDCAAQSBqKAIAIg0gCyAIIABBCGooAgAiDiADaiAAQQRqKAIAIg8gAmogBCADIAJzcSACcyAFaiAAKAIAIhBqQQN3IhEgBCADc3EgA3NqQQd3IhIgESAEc3EgBHNqQQt3IhNqIBIgB2ogESAJaiAAQQxqKAIAIhQgBGogEyASIBFzcSARc2pBE3ciESATIBJzcSASc2pBA3ciEiARIBNzcSATc2pBB3ciEyASIBFzcSARc2pBC3ciFWogEyAMaiASIA1qIBEgBmogFSATIBJzcSASc2pBE3ciESAVIBNzcSATc2pBA3ciEiARIBVzcSAVc2pBB3ciEyASIBFzcSARc2pBC3ciFSAAQThqKAIAIhZqIBMgAEE0aigCACIXaiASIABBMGooAgAiGGogESAKaiAVIBMgEnNxIBJzakETdyISIBUgE3NxIBNzakEDdyITIBIgFXNxIBVzakEHdyIVIBMgEnNxIBJzakELdyIRai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YChIkBAkACQAJAAkACQAJAIAFBP3EiAw0AQYAJIQIMAQtBwAAgA2siAiAASw0BIANBGGohA0EAIQEDQCADIAFqQYCJAWogAUGACWotAAA6AAAgAyABQQFqIgFqQdgARw0AC0GYiQFBwAAQAxogACACayEAIAJBgAlqIQILIABBwABPDQEgACEDDAILIABFDQJBACEBIANBmIkBakEALQCACToAACAAQQFGDQIgA0GZiQFqIQMgAEF/aiECA0AgAyABaiABQYEJai0AADoAACACIAFBAWoiAUcNAAwDCwsgAEE/cSEDIAIgAEFAcRADIQILIANFDQBBACEBA0AgAUGYiQFqIAIgAWotAAA6AAAgAyABQQFqIgFHDQALCwu0EAEZf0EAKAKUiQEhAkEAKAKQiQEhA0EAKAKMiQEhBEEAKAKIiQEhBQNAIABBCGooAgAiBiAAQRhqKAIAIgcgAEEoaigCACIIIABBOGooAgAiCSAAQTxqKAIAIgogAEEMaigCACILIABBHGooAgAiDCAAQSxqKAIAIg0gDCALIAogDSAJIAggByADIAZqIAIgAEEEaigCACIOaiAFIAQgAiADc3EgAnNqIAAoAgAiD2pB+Miqu31qQQd3IARqIhAgBCADc3EgA3NqQdbunsZ+akEMdyAQaiIRIBAgBHNxIARzakHb4YGhAmpBEXcgEWoiEmogAEEUaigCACITIBFqIABBEGooAgAiFCAQaiAEIAtqIBIgESAQc3EgEHNqQe6d9418akEWdyASaiIQIBIgEXNxIBFzakGvn/Crf2pBB3cgEGoiESAQIBJzcSASc2pBqoyfvARqQQx3IBFqIhIgESAQc3EgEHNqQZOMwcF6akERdyASaiIVaiAAQSRqKAIAIhYgEmogAEEgaigCACIXIBFqIAwgEGogFSASIBFzcSARc2pBgaqaampBFncgFWoiECAVIBJzcSASc2pB2LGCzAZqQQd3IBBqIhEgECAVc3EgFXNqQa/vk9p4akEMdyARaiISIBEgEHNxIBBzakGxt31qQRF3IBJqIhVqIABBNGooAgAiGCASaiAAQTBqKAIAIhkgEWogDSAQaiAVIBIgEXNxIBFzakG+r/PKeGpBFncgFWoiECA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AxpBACEADAELIAJBCEYNASABQQFqIQALIABBj4kBaiEBA0AgASACakEAOgAAIAJBd2ohACACQX9qIQIgAEEASg0AC0EAKAKAiQEhAAtBACAAQRV2OgDTiQFBACAAQQ12OgDSiQFBACAAQQV2OgDRiQFBACAAQQN0IgI6ANCJAUEAIAI2AoCJAUEAQQAoAoSJATYC1IkBQZiJAUHAABADGkEAQQApAoiJATcDgAlBAEEAKQKQiQE3A4gJCwYAQYCJAQszAEEAQv6568XpjpWZEDcCkIkBQQBCgcaUupbx6uZvNwKIiQFBAEIANwKAiQEgABACEAQLCwsBAEGACAsEmAAAAA==",hash:"9b0fac7d"};const Ae=new A;let re=null;var ne={name:"sha1",data:"AGFzbQEAAAABEQRgAAF/YAJ/fwBgAABgAX8AAwkIAAECAQMCAAMEBQFwAQEBBQQBAQICBg4CfwFB4IkFC38AQYAICwdwCAZtZW1vcnkCAA5IYXNoX0dldEJ1ZmZlcgAACUhhc2hfSW5pdAACC0hhc2hfVXBkYXRlAAQKSGFzaF9GaW5hbAAFDUhhc2hfR2V0U3RhdGUABg5IYXNoX0NhbGN1bGF0ZQAHClNUQVRFX1NJWkUDAQqfKQgFAEGACQurIgoBfgJ/AX4BfwF+A38BfgF/AX5HfyAAIAEpAxAiAkIgiKciA0EYdCADQQh0QYCA/AdxciACQiiIp0GA/gNxIAJCOIincnIiBCABKQMIIgVCIIinIgNBGHQgA0EIdEGAgPwHcXIgBUIoiKdBgP4DcSAFQjiIp3JyIgZzIAEpAygiB0IgiKciA0EYdCADQQh0QYCA/AdxciAHQiiIp0GA/gNxIAdCOIincnIiCHMgBaciA0EYdCADQQh0QYCA/AdxciADQQh2QYD+A3EgA0EYdnJyIgkgASkDACIFpyIDQRh0IANBCHRBgID8B3FyIANBCHZBgP4DcSADQRh2cnIiCnMgASkDICILpyIDQRh0IANBCHRBgID8B3FyIANBCHZBgP4DcSADQRh2cnIiDHMgASkDMCINQiCIpyIDQRh0IANBCHRBgID8B3FyIA1CKIinQYD+A3E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QiQFBAEEANgKYiQFBgAkgABADEAULCwsBAEGACAsEXAAAAA==",hash:"40d92e5d"};const oe=new A;let ae=null;var se={name:"sha3",data:"AGFzbQEAAAABDwNgAAF/YAF/AGADf39/AAMIBwABAQIBAAIEBQFwAQEBBQQBAQICBg4CfwFBkI0FC38AQcAJCwdwCAZtZW1vcnkCAA5IYXNoX0dldEJ1ZmZlcgAACUhhc2hfSW5pdAABC0hhc2hfVXBkYXRlAAIKSGFzaF9GaW5hbAAEDUhhc2hfR2V0U3RhdGUABQ5IYXNoX0NhbGN1bGF0ZQAGClNUQVRFX1NJWkUDAQrLFwcFAEGACgvXAwBBAEIANwOAjQFBAEIANwP4jAFBAEIANwPwjAFBAEIANwPojAFBAEIANwPgjAFBAEIANwPYjAFBAEIANwPQjAFBAEIANwPIjAFBAEIANwPAjAFBAEIANwO4jAFBAEIANwOwjAFBAEIANwOojAFBAEIANwOgjAFBAEIANwOYjAFBAEIANwOQjAFBAEIANwOIjAFBAEIANwOAjAFBAEIANwP4iwFBAEIANwPwiwFBAEIANwPoiwFBAEIANwPgiwFBAEIANwPYiwFBAEIANwPQiwFBAEIANwPIiwFBAEIANwPAiwFBAEIANwO4iwFBAEIANwOwiwFBAEIANwOoiwFBAEIANwOgiwFBAEIANwOYiwFBAEIANwOQiwFBAEIANwOIiwFBAEIANwOAiwFBAEIANwP4igFBAEIANwPwigFBAEIANwPoigFBAEIANwPgigFBAEIANwPYigFBAEIANwPQigFBAEIANwPIigFBAEIANwPAigFBAEIANwO4igFBAEIANwOwigFBAEIANwOoigFBAEIANwOgigFBAEIANwOYigFBAEIANwOQigFBAEIANwOIigFBAEIANwOAigFBAEHADCAAQQF0a0EDdjYCjI0BQQBBADYCiI0BC/8BAQZ/AkBBACgCiI0BIgFBAEgNAEEAIAEgAGpBACgCjI0BIgJwNgKIjQECQAJAIAENAEGACiEBDAELAkAgACACIAFrIgMgAyAASyIEGyIFRQ0AIAFByIsBaiEGQQAhAQNAIAYgAWogAUGACmotAA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AABAACAAAAAAIGAAIAAAACACYAAAAAAAICKAAAAAAAAAIgAAAAAAAAACYAAgAAAAAAKAACAAAAAAIuAAIAAAAAAiwAAAAAAAICJgAAAAAAAgAOAAAAAAACAAoAAAAAAAICAAAAAAAAAgAqAAAAAAAAACgAAgAAAAICBgACAAAAAgICAAAAAAACAAQAAgAAAAAAIgACAAAAAgJABAAA=",hash:"ec266d91"};const ce=new A;let Ie=null;function fe(e){return[224,256,384,512].includes(e)?null:new Error("Invalid variant! Valid values: 224, 256, 384, 512")}const he=new A;let ge=null;function ue(e){return[224,256,384,512].includes(e)?null:new Error("Invalid variant! Valid values: 224, 256, 384, 512")}var de={name:"sha256",data:"AGFzbQEAAAABEQRgAAF/YAF/AGACf38AYAAAAwgHAAEBAgMAAgQFAXABAQEFBAEBAgIGDgJ/AUHwiQULfwBBgAgLB3AIBm1lbW9yeQIADkhhc2hfR2V0QnVmZmVyAAAJSGFzaF9Jbml0AAELSGFzaF9VcGRhdGUAAgpIYXNoX0ZpbmFsAAQNSGFzaF9HZXRTdGF0ZQAFDkhhc2hfQ2FsY3VsYXRlAAYKU1RBVEVfU0laRQMBCuJIBwUAQYAJC50BAEEAQgA3A8CJAUEAQRxBICAAQeABRiIAGzYC6IkBQQBCp5/mp8b0k/2+f0Krs4/8kaOz8NsAIAAbNwPgiQFBAEKxloD+n6KFrOgAQv+kuYjFkdqCm38gABs3A9iJAUEAQpe6w4OTp5aHd0Ly5rvjo6f9p6V/IAAbNwPQiQFBAELYvZaI/KC1vjZC58yn0NbQ67O7fyAAGzcDyIkBC4ACAgF+Bn9BAEEAKQPAiQEiASAArXw3A8CJAQJAAkACQCABp0E/cSICDQBBgAkhAgwBCwJAIABBwAAgAmsiAyADIABLIgQbIgVFDQAgAkGAiQFqIQZBACECQQAhBwNAIAYgAmogAkGACWotAAA6AAAgBSAHQQFqIgdB/wFxIgJLDQALCyAEDQFByIkBQYCJARADIAAgA2shACADQYAJaiECCwJAIABBwABJDQADQEHIiQEgAhAD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;const pe=new A;let Ce=null;function Qe(){return y(de,32).then((e=>{e.init(256);const t={init:()=>(e.init(256),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:32};return t}))}var Ee={name:"sha512",data:"AGFzbQEAAAABEQRgAAF/YAF/AGACf38AYAAAAwgHAAEBAgMAAgQFAXABAQEFBAEBAgIGDgJ/AUHQigULfwBBgAgLB3AIBm1lbW9yeQIADkhhc2hfR2V0QnVmZmVyAAAJSGFzaF9Jbml0AAELSGFzaF9VcGRhdGUAAgpIYXNoX0ZpbmFsAAQNSGFzaF9HZXRTdGF0ZQAFDkhhc2hfQ2FsY3VsYXRlAAYKU1RBVEVfU0laRQMBCvhnBwUAQYAJC5sCAEEAQgA3A4CKAUEAQTBBwAAgAEGAA0YiABs2AsiKAUEAQqSf6ffbg9LaxwBC+cL4m5Gjs/DbACAAGzcDwIoBQQBCp5/mp9bBi4ZbQuv6htq/tfbBHyAAGzcDuIoBQQBCkargwvbQktqOf0Kf2PnZwpHagpt/IAAbNwOwigFBAEKxloD+/8zJmecAQtGFmu/6z5SH0QAgABs3A6iKAUEAQrmyubiPm/uXFULx7fT4paf9p6V/IAAbNwOgigFBAEKXusODo6vArJF/Qqvw0/Sv7ry3PCAAGzcDmIoBQQBCh6rzs6Olis3iAEK7zqqm2NDrs7t/IAAbNwOQigFBAELYvZaI3Kvn3UtCiJLznf/M+YTqACAAGzcDiIoBC4MCAgF+Bn9BAEEAKQOAigEiASAArXw3A4CKAQJAAkACQCABp0H/AHEiAg0AQYAJIQIMAQsCQCAAQYABIAJrIgMgAyAASyIEGyIFRQ0AIAJBgIkBaiEGQQAhAkEAIQcDQCAGIAJqIAJBgAlqLQAAOgAAIAUgB0EBaiIHQf8BcSICSw0ACwsgBA0BQYiKAUGAiQEQAyAAIANrIQAgA0GACWohAgsCQCAAQYABSQ0AA0BBiIoBIAIQAyACQYABaiECIABBgH9qIgBB/wBLDQALCyAARQ0AQQ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UEAQoeq87OjpYrN4gBCu86qptjQ67O7fyABGzcDkIoBQQBC2L2WiNyr591LQoiS853/zPmE6gAgARs3A4iKASAAEAIQBAsLCwEAQYAICwTQAAAA",hash:"a5d1ca7c"};const ye=new A;let be=null;const me=new A;let we=null;var ve={name:"xxhash32",data:"AGFzbQEAAAABEQRgAAF/YAF/AGAAAGACf38AAwcGAAEBAgADBAUBcAEBAQUEAQECAgYOAn8BQbCJBQt/AEGACAsHcAgGbWVtb3J5AgAOSGFzaF9HZXRCdWZmZXIAAAlIYXNoX0luaXQAAQtIYXNoX1VwZGF0ZQACCkhhc2hfRmluYWwAAw1IYXNoX0dldFN0YXRlAAQOSGFzaF9DYWxjdWxhdGUABQpTVEFURV9TSVpFAwEKswkGBQBBgAkLTQBBAEIANwOoiQFBACAANgKIiQFBACAAQc+Moo4GajYCjIkBQQAgAEH3lK+veGo2AoSJAUEAIABBqIiNoQJqNgKAiQFBAEEANgKgiQELswUBBn8CQCAARQ0AQQBBACkDqIkBIACtfDcDqIkBAkBBACgCoIkBIgEgAGpBD0sNAEEAIAFBAWo2AqCJASABQZCJAWpBAC0AgAk6AAAgAEEBRg0BQQEhAgNAQQBBACgCoIkBIgFBAWo2AqCJASABQZCJAWogAkGACWotAAA6AAAgACACQQFqIgJHDQAMAgsLIABB8AhqIQMCQAJAIAENAEEAKAKMiQEhAUEAKAKIiQEhBEEAKAKEiQEhBUEAKAKAiQEhBkGACSECDAELQYAJIQICQCABQQ9LDQBBgAkhAgNAIAItAAAhBEEAIAFBAWo2AqCJASABQZCJAWogBDoAACACQQFqIQJBACgCoIkBIgFBEEkNAAsLQQBBACgCkIkBQfeUr694bEEAKAKAiQFqQQ13QbHz3fF5bCIGNgKAiQFBAEEAKAKUiQFB95Svr3hsQQAoAoSJAWpBDXdBsfPd8XlsIgU2AoSJAUEAQQAoApiJAUH3lK+veGxBACgCiIkBakENd0Gx893xeWwiBDYCiIkBQQBBACgCnIkBQfeUr694bEEAKAKMiQFqQQ13QbHz3fF5bCIBNgKMiQELIABBgAlqIQACQCACIANLDQADQCACKAIAQfeUr694bCAGakENd0Gx893xeWwhBiACQQxqKAIAQfeUr694bCABakENd0Gx893xeWwhASACQQhqKAIAQfeUr694bCAEakENd0Gx893xeWwhBCACQQRqKAIAQfeUr694bCAFakENd0Gx893xeWwhBSACQRBqIgIgA00NAAsLQQAgATYCjIkBQQAgBDYCiIkBQQAgBTYChIkBQQAgBjYCgIkBQQAgACACayIBNgKgiQEgAUUNAEEAIQEDQCABQZCJAWogAiABai0AADoAACABQQFqIgFBACgCoIkBSQ0ACwsLzAICAX4Gf0EAKQOoiQEiAKchAQJAAkAgAEIQVA0AQQAoAoSJAUEHd0EAKAKAiQFBAXdqQQAoAoiJAUEMd2pBACgCjIkBQRJ3aiECDAELQQAoAoiJAUGxz9myAWohAgsgAiABaiECQZCJASEBQQAoAqCJASIDQZCJAWohBAJAIANBBEgNAEGQiQEhBQNAIAUoAgBBvdzKlXxsIAJqQRF3Qa/W074CbCECIAVBCGohBiAFQQRqIgEhBSAGIARNDQALCwJAIAEgBEYNACADQZCJAWohBQNAIAEtAABBsc/ZsgFsIAJqQQt3QbHz3fF5bCECIAUgAUEBaiIBRw0ACwtBACACQQ92IAJzQfeUr694bCIBQQ12IAFzQb3cypV8bCIBQRB2IAFzIgFBGHQgAUEIdEGAgPwHcXIgAUEIdkGA/gNxIAFBGHZycq03A4AJCwYAQYCJAQtTAEEAQgA3A6iJAUEAIAE2AoiJAUEAIAFBz4yijgZqNgKMiQFBACABQfeUr694ajYChIkBQQAgAUGoiI2hAmo2AoCJAUEAQQA2AqCJASAAEAIQAwsLCwEAQYAICwQwAAAA",hash:"5b6a5062"};const De=new A;let Se=null;function Fe(e){return!Number.isInteger(e)||e<0||e>4294967295?new Error("Seed must be a valid 32-bit long unsigned integer."):null}var ke={name:"xxhash64",data:"AGFzbQEAAAABDANgAAF/YAAAYAF/AAMHBgABAgEAAQQFAXABAQEFBAEBAgIGDgJ/AUHQiQULfwBB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ACAJIAhBAWoiCEcNAAsLQQAgAEIhiCAAhULP1tO+0ser2UJ+IgBCHYggAIVC+fPd8Zn2masWfiIAQiCIIACFIgBCOIYgAEIohkKAgICAgIDA/wCDhCAAQhiGQoCAgICA4D+DIABCCIZCgICAgPAfg4SEIABCCIhCgICA+A+DIABCGIhCgID8B4OEIABCKIhCgP4DgyAAQjiIhISENwOACQsGAEGAiQELAgALCwsBAEGACAsEUAAAAA==",hash:"bc315b2a"};const Me=new A;let Ne=null;const Ue=new ArrayBuffer(8);function Ge(e){return!Number.isInteger(e)||e<0||e>4294967295?new Error("Seed must be given as two valid 32-bit long unsigned integers (lo + high)."):null}function He(e,t,i){const A=new DataView(e);A.setUint32(0,t,!0),A.setUint32(4,i,!0)}var _e={name:"xxhash3",data:"AGFzbQEAAAABJAZgAAF/YAR/f39/AGAHf39/f39/fwBgA39/fgF+YAAAYAF/AAMMCwABAgMDAwQFBAAEBAUBcAEBAQUEAQECAgYOAn8BQcCOBQt/AEHACQsHcAgGbWVtb3J5AgAOSGFzaF9HZXRCdWZmZXIAAAlIYXNoX0luaXQABgtIYXNoX1VwZGF0ZQAHCkhhc2hfRmluYWwACA1IYXNoX0dldFN0YXRlAAkOSGFzaF9DYWxjdWxhdGUACgpTVEFURV9TSVpFAwEK+joLBQBBgAoL7wMBEH4CQCADRQ0AIAFBOGohASACQThqIQIgACkDMCEEIAApAzghBSAAKQMgIQYgACkDKCEHIAApAxAhCCAAKQMYIQkgACkDACEKIAApAwghCwNAIAcgAUFoaikDACIMfCACQXBqKQMAIAFBcGopAwAiDYUiB0IgiCAHQv////8Pg358IQcgCSABQVhqKQMAIg58IAJBYGopAwAgAUFgaikDACIPhSIJQiCIIAlC/////w+DfnwhCSALIAFBSGopAwAiEHwgAkFQaikDACABQVBqKQMAIhGFIgtCIIggC0L/////D4N+fCELIAJBeGopAwAgAUF4aikDACIShSITQiCIIBNC/////w+DfiAEfCABKQMAIhN8IQQgAkFoaikDACAMhSIMQiCIIAxC/////w+DfiAGfCANfCEGIAJBWGopAwAgDoUiDEIgiCAMQv////8Pg34gCHwgD3whCCACQUhqKQMAIBCFIgxCIIggDEL/////D4N+IAp8IBF8IQogBSASfCACKQMAIBOFIgVCIIggBUL/////D4N+fCEFIAFBwABqIQEgAkEIaiECIANBf2oiAw0ACyAAIAk3AxggACAKNwMAIAAgCzcDCCAAIAc3AyggACAINwMQIAAgBTcDOCAAIAY3AyAgACAENwMwCwveAgIBfwF+AkAgAiABKAIAIgdrIgIgBEsNACAAIAMgBSAHQQN0aiACEAEgACAAKQMAIgggBSAGaiIHKQMAhSAIQi+IhUKx893xCX43AwAgACAAKQMIIgggBykDCIUgCEIviIVCsfPd8Ql+NwMIIAAgACkDECIIIAcpAxCFIAhCL4iFQrHz3fEJfjcDECAAIAApAxgiCCAHKQMYhSAIQi+IhUKx893xCX43AxggACAAKQMgIgggBykDIIUgCEIviIVCsfPd8Ql+NwMgIAAgACkDKCIIIAcpAyiFIAhCL4iFQrHz3fEJfjcDKCAAIAApAzAiCCAHKQMwhSAIQi+IhUKx893xCX43AzAgACAAKQM4IgggBykDOIUgCEIviIVCsfPd8Ql+NwM4IAAgAyACQQZ0aiAFIAQgAmsiBxABIAEgBzYCAA8LIAAgAyAFIAdBA3RqIAQQASABIAcgBGo2AgAL3QQBBH4CQCAAQQlJDQBBACkDgIwBIAEpAyAgASkDGIUgAnyFIgNCOIYgA0IohkKAgICAgIDA/wCDhCADQhiGQoCAgICA4D+DIANCCIZCgICAgPAfg4SEIANCCIhCgICA+A+DIANCGIhCgID8B4OEIANCKIhCgP4DgyADQjiIhISEIACtfCAAQfiLAWopAwAgASkDMCABKQMohSACfYUiAnwgAkL/////D4MiBCADQiCIIgV+IgZC/////w+DIAJCIIgiAiADQv////8PgyIDfnwgBCADfiIDQiCIfCIEQiCGIANC/////w+DhCAGQiCIIAIgBX58IARCIIh8hXwiA0IliCADhUL5893xmfKZqxZ+IgNCIIggA4UPCwJAIABBBEkNACABKQMQIAEpAwiFIAK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gRCIIh8IgVCIIYgBEL/////D4OEIAdCIIggAyAGfnwgBUIgiHyFfCEDCyABKQMoIAJ9QQApA5iMAYUiBEL/////D4MiBSABKQMgIAJ8QQApA5CMAYUiBkIgiCIHfiIIQv////8PgyAEQiCIIgQgBkL/////D4MiBn58IAUgBn4iBUIgiHwiBkIghiAFQv////8Pg4QgCEIgiCAEIAd+fCAGQiCIfIUgA3wgASkDOCACfSAAQeiLAWopAwCFIgNC/////w+DIgQgASkDMCACfCAAQeCLAWopAwCFIgVCIIgiBn4iB0L/////D4MgA0IgiCIDIAVC/////w+DIgV+fCAEIAV+IgRCIIh8IgVCIIYgBEL/////D4OEIAdCIIggAyAGfnwgBUIgiHyFfCEDCyABKQMIIAJ9QQApA4iMAYUiBEL/////D4MiBSABKQMAIAJ8QQApA4CMAYUiBkIgiCIHfiIIQv////8PgyAEQiCIIgQgBkL/////D4MiBn58IAUgBn4iBUIgiHwiBkIghiAFQv////8Pg4QgCEIgiCAEIAd+fCAGQiCIfIUgA3wgASkDGCACfSAAQfiLAWopAwCFIgNC/////w+DIgQgASkDECACfCAAQfCLAWopAwCFIgJCIIgiBX4iBkL/////D4MgA0IgiCIDIAJC/////w+DIgJ+fCAEIAJ+IgJCIIh8IgRCIIYgAkL/////D4OEIAZCIIggAyAFfnwgBEIgiHyFfCICQiWIIAKFQvnz3fGZ8pmrFn4iAkIgiCAChQuICwQBfwV+An8BfkEAIQMgASkDeCACfUEAKQP4jAGFIgRC/////w+DIgUgASkDcCACfEEAKQPwjAGFIgZCIIgiB34iCEL/////D4MgBEIgiCIEIAZC/////w+DIgZ+fCAFIAZ+IgVCIIh8IgZCIIYgBUL/////D4OEIAhCIIggBCAHfnwgBkIgiHyFIAEpA2ggAn1BACkD6IwBhSIEQv////8PgyIFIAEpA2AgAnxBACkD4IwBhSIGQiCIIgd+IghC/////w+DIARCIIgiBCAGQv////8PgyIGfnwgBSAGfiIFQiCIfCIGQiCGIAVC/////w+DhCAIQiCIIAQgB358IAZCIIh8hSABKQNYIAJ9QQApA9iMAYUiBEL/////D4MiBSABKQNQIAJ8QQApA9CMAYUiBkIgiCIHfiIIQv////8PgyAEQiCIIgQgBkL/////D4MiBn58IAUgBn4iBUIgiHwiBkIghiAFQv////8Pg4QgCEIgiCAEIAd+fCAGQiCIfIUgASkDSCACfUEAKQPIjAGFIgRC/////w+DIgUgASkDQCACfEEAKQPAjAGFIgZCIIgiB34iCEL/////D4MgBEIgiCIEIAZC/////w+DIgZ+fCAFIAZ+IgVCIIh8IgZCIIYgBUL/////D4OEIAhCIIggBCAHfnwgBkIgiHyFIAEpAzggAn1BACkDuIwBhSIEQv////8PgyIFIAEpAzAgAnxBACkDsIwBhSIGQiCIIgd+IghC/////w+DIARCIIgiBCAGQv////8PgyIGfnwgBSAGfiIFQiCIfCIGQiCGIAVC/////w+DhCAIQiCIIAQgB358IAZCIIh8hSABKQMoIAJ9QQApA6iMAYUiBEL/////D4MiBSABKQMgIAJ8QQApA6CMAYUiBkIgiCIHfiIIQv////8PgyAEQiCIIgQgBkL/////D4MiBn58IAUgBn4iBUIgiHwiBkIghiAFQv////8Pg4QgCEIgiCAEIAd+fCAGQiCIfIUgASkDGCACfUEAKQOYjAGFIgRC/////w+DIgUgASkDECACfEEAKQOQjAGFIgZCIIgiB34iCEL/////D4MgBEIgiCIEIAZC/////w+DIgZ+fCAFIAZ+IgVCIIh8IgZCIIYgBUL/////D4OEIAhCIIggBCAHfnwgBkIgiHyFIAEpAwggAn1BACkDiIwBhSIEQv////8PgyIFIAEpAwAgAnxBACkDgIwBhSIGQiCIIgd+IghC/////w+DIARCIIgiBCAGQv////8PgyIGfnwgBSAGfiIFQiCIfCIGQiCGIAVC/////w+DhCAIQiCIIAQgB358IAZCIIh8hSAArUKHla+vmLbem55/fnx8fHx8fHx8IgRCJYggBIVC+fPd8ZnymasWfiIEQiCIIASFIQQgAEEQbSEJAkAgAEGQAUgNACAJQQkgCUEJShtBeGohCQNAIAEgA2oiCkELaikDACACfSADQYiNA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IANBCGohAyABQXhqIgFBB0sNAAsLIAFFDQADQCAEIAMtAAA6AAAgBEEBaiEEIANBAWohAyABQX9qIgENAAsLQQAgAjYCgI4BC6oQBQR/AX4Cfwp+An8jACIAIQEgAEGAAWtBQHEiAiQAQQAoArCOASIAQcCKASAAGyEDAkACQEEAKQOQjgEiBELxAVQNACACQQApA4CKATcDACACQQApA4iKATcDCCACQQApA5CKATcDECACQQApA5iKATcDGCACQQApA6CKATcDICACQQApA6iKATcDKCACQQApA7CKATcDMCACQQApA7iKATcDOAJAAkBBACgCgI4BIgVBwABJDQAgAkEAKAKIjgE2AkAgAiACQcAAakEAKAKYjgFBgIwBIAVBf2pBBnYgA0EAKAKcjgEQAiACIAIpAwhBACgCgI4BIgBBwIsBaikDACIEfCADQQAoApyOAWoiBkEBaikDACAAQciLAWopAwAiB4UiCEIgiCAIQv////8Pg358Igk3AwggAiACKQMYIABB0IsBaikDACIIfCAGQRFqKQMAIABB2IsBaikDACIKhSILQiCIIAtC/////w+DfnwiDDcDGCACIAcgBCAGQXlqKQMAhSIEQiCIIARC/////w+DfiACKQMAfHwiDTcDACACIAogCCAGQQlqKQMAhSIEQiCIIARC/////w+DfiACKQMQfHwiDjcDECAGQRlqKQMAIQQgAikDICEHIAIgAikDKCAAQeCLAWopAwAiCHwgBkEhaikDACAAQeiLAWopAwAiCoUiC0IgiCALQv////8Pg358Ig83AyggAiAKIAcgBCAIhSIEQiCIIARC/////w+Dfnx8IhA3AyAgAiACKQM4IABB8IsBaikDACIEfCAGQTFqKQMAIABB+IsBaikDACIHhSIIQiCIIAhC/////w+Dfnw3AzggByAEIAZBKWopAwCFIgRCIIggBEL/////D4N+IAIpAzB8fCEEDAELQcAAIAVrIRECQAJAAkAgBUE4TQ0AQYCOASARayEGIAJBwABqIQUgESEADAELQQAhEiARIQADQCACQcAAaiASaiAFIBJqQcCNAWopAwA3AwAgEkEIaiESIABBeGoiAEEHSw0ACyAFIBJqIgZBwABGDQEgBkHAjQFqIQYgAkHAAGogEmohBQsDQCAFIAYtAAA6AAAgBUEBaiEFIAZBAWohBiAAQX9qIgANAAtBACgCgI4BIQULIAJBwABqIBFqIQZBgIwBIQACQCAFQQhJDQBBgIwBIQADQCAGIAApAwA3AwAgBkEIaiEGIABBCGohACAFQXhqIgVBB0sNAAsLAkAgBUUNAANAIAYgAC0AADoAACAGQQFqIQYgAEEBaiEAIAVBf2oiBQ0ACwsgAiACKQMIIAIpA0AiBHwgA0EAKAKcjgFqIgBBAWopAwAgAikDSCIHhSIIQiCIIAhC/////w+DfnwiCTcDCCACIAIpAxggAikDUCIIfCAAQRFqKQMAIAIpA1giCoUiC0IgiCALQv////8Pg358Igw3AxggAiAHIAQgAEF5aikDAIUiBEIgiCAEQv////8Pg34gAikDAHx8Ig03AwAgAiAKIAggAEEJaikDAIUiBEIgiCAEQv////8Pg34gAikDEHx8Ig43AxAgAEEZaikDACEEIAIpAyAhByACIAIpAyggAikDYCIIfCAAQSFqKQMAIAIpA2giCoUiC0IgiCALQv////8Pg358Ig83AyggAiAKIAcgBCAIhSIEQiCIIARC/////w+Dfnx8IhA3AyAgAiACKQM4IAIpA3AiBHwgAEExaikDACACKQN4IgeFIghCIIggCEL/////D4N+fDcDOCAHIAQgAEEpaikDAIUiBEIgiCAEQv////8Pg34gAikDMHx8IQQLIAIgBDcDMCADKQNDIAIpAziFIgdC/////w+DIgggAykDOyAEhSIEQiCIIgp+IgtC/////w+DIAdCIIgiByAEQv////8PgyIEfnwgCCAEfiIEQiCIfCIIQiCGIARC/////w+DhCALQiCIIAcgCn58IAhCIIh8hSADKQMzIA+FIgRC/////w+DIgcgAykDKyAQhSIIQiCIIgp+IgtC/////w+DIARCIIgiBCAIQv////8PgyIIfnwgByAIfiIHQiCIfCIIQiCGIAdC/////w+DhCALQiCIIAQgCn58IAhCIIh8hSADKQMjIAyFIgRC/////w+DIgcgAykDGyAOhSIIQiCIIgp+IgtC/////w+DIARCIIgiBCAIQv////8PgyIIfnwgByAIfiIHQiCIfCIIQiCGIAdC/////w+DhCALQiCIIAQgCn58IAhCIIh8hSADKQMTIAmFIgRC/////w+DIgcgAykDCyANhSIIQiCIIgp+IgtC/////w+DIARCIIgiBCAIQv////8PgyIIfnwgByAIfiIHQiCIfCIIQiCGIAdC/////w+DhCALQiCIIAQgCn58IAhCIIh8hUEAKQOQjgFCh5Wvr5i23puef358fHx8IgRCJYggBIVC+fPd8ZnymasWfiIEQiCIIASFIQQMAQsgBKchAAJAQQApA6COASIEUA0AAkAgAEEQSw0AIABBgAggBBADIQQMAgsCQCAAQYABSw0AIABBgAggBBAEIQQMAgsgAEGACCAEEAUhBAwBCwJAIABBEEsNACAAIANCABADIQQMAQsCQCAAQYABSw0AIAAgA0IAEAQhBAwBCyAAIANCABAFIQQLQQAgBEI4hiAEQiiGQoCAgICAgMD/AIOEIARCGIZCgICAgIDgP4MgBEIIhkKAgICA8B+DhIQgBEIIiEKAgID4D4MgBEIYiEKAgPwHg4QgBEIoiEKA/gODIARCOIiEhIQ3A4AKIAEkAAsGAEGAigELAgALC8wBAQBBgAgLxAG4/mw5I6RLvnwBgSz3Ia0c3tRt6YOQl9tyQKSkt7NnH8t55k7MwOV4glrQfcz/ciG4CEZ090MkjuA1kOaBOiZMPChSu5HDAMuI0GWLG1Muo3FkSJeiDflOOBnvRqnerNio+nY/45w0P/ncu8fHC08dilHgS820WTHIn37J2XhzZOrFrIM00+vDxYGg//oTY+sXDd1Rt/DaSdMWVSYp1GieKxa+WH1HofyP+LjRetAxzkXLOo+VFgQor9f7yrtLQH5AAgAA",hash:"187bc2c6"};const Re=new A;let Ke=null;const qe=new ArrayBuffer(8);function xe(e){return!Number.isInteger(e)||e<0||e>4294967295?new Error("Seed must be given as two valid 32-bit long unsigned integers (lo + high)."):null}function Je(e,t,i){const A=new DataView(e);A.setUint32(0,t,!0),A.setUint32(4,i,!0)}var Ye={name:"xxhash128",data:"AGFzbQEAAAABKwdgAAF/YAR/f39/AGAHf39/f39/fwBgA39/fgF+YAR/f39+AG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jcDGCAAIAApAyAiCCAHKQMghSAIQi+IhUKx893xCX43AyAgACAAKQMoIgggBykDKIUgCEIviIVCsfPd8Ql+NwMoIAAgACkDMCIIIAcpAzCFIAhCL4iFQrHz3fEJfjcDMCAAIAApAzgiCCAHKQM4hSAIQi+IhUKx893xCX43AzggACADIAJBBnRqIAUgBCACayIHEAEgASAHNgIADwsgACADIAUgB0EDdGogBBABIAEgByAEajYCAAvtAwEFfiABKQM4IAApAziFIgNC/////w+DIgQgASkDMCAAKQMwhSIFQiCIIgZ+IgdC/////w+DIANCIIgiAyAFQv////8PgyIFfnwgBCAFfiIEQiCIfCIFQiCGIARC/////w+DhCAHQiCIIAMgBn58IAVCIIh8hSABKQMoIAApAyiFIgNC/////w+DIgQgASkDICAAKQMghSIFQiCIIgZ+IgdC/////w+DIANCIIgiAyAFQv////8PgyIFfnwgBCAFfiIEQiCIfCIFQiCGIARC/////w+DhCAHQiCIIAMgBn58IAVCIIh8hSABKQMYIAApAxiFIgNC/////w+DIgQgASkDECAAKQMQhSIFQiCIIgZ+IgdC/////w+DIANCIIgiAyAFQv////8PgyIFfnwgBCAFfiIEQiCIfCIFQiCGIARC/////w+DhCAHQiCIIAMgBn58IAVCIIh8hSABKQMIIAApAwiFIgNC/////w+DIgQgASkDACAAKQMAhSIFQiCIIgZ+IgdC/////w+DIANCIIgiAyAFQv////8PgyIFfnwgBCAFfiIEQiCIfCIFQiCGIARC/////w+DhCAHQiCIIAMgBn58IAVCIIh8hSACfHx8fCICQiWIIAKFQvnz3fGZ8pmrFn4iAkIgiCAChQvCCAEFfgJAIAFBCUkNACAAQQApA4CMASACKQMoIAIpAyCFIAN9hSABQfiLAWopAwAiBIUiBUIgiCIGQoeVr68IfiIHQv////8PgyAFQv////8PgyIFQrHz3fEJfnwgBUKHla+vCH4iBUIgiHwiCEIghiAFQv////8Pg4QgAUF/aq1CNoZ8IAQgAikDOCACKQMwhSADfIUiA0L/////D4NC95Svrwh+IANCgICAgHCDfCAGQrHz3fE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ZqxZ+IgRCIIggBIU3AwggACACKQNAIAOFIAIpA0iFIgNCIYggA4VCz9bTvtLHq9lCfiIDQh2IIAOFQvnz3fGZ9pmrFn4iA0IgiCADhTcDAAunCgEKfiABrSIEQoeVr6+Ytt6bnn9+IQUCQAJAIAFBIU8NAEIAIQYMAQtCACEHAkAgAUHBAEkNAEIAIQcCQCABQeEASQ0AIAIpA3ggA30gAUHIiwFqKQMAIgiFIgdC/////w+DIgkgAikDcCADfCABQcCLAWopAwAiCoUiC0IgiCIMfiINQiCIIAdCIIgiByAMfnwgDUL/////D4MgByALQv////8PgyILfnwgCSALfiIHQiCIfCIJQiCIfEEAKQO4jAEiC0EAKQOwjAEiDHyFIAlCIIYgB0L/////D4OEhSEHIAIpA2ggA30gC4UiCUL/////D4MiCyACKQNgIAN8IAyFIgxCIIgiDX4iBkL/////D4MgCUIgiCIJIAxC/////w+DIgx+fCALIAx+IgtCIIh8IgxCIIYgC0L/////D4OEIAZCIIggCSANfnwgDEIgiHyFIAV8IAggCnyFIQULIAIpA1ggA30gAUHYiwFqKQMAIgiFIglC/////w+DIgogAikDUCADfCABQdCLAWopAwAiC4UiDEIgiCINfiIGQv////8PgyAJQiCIIgkgDEL/////D4MiDH58IAogDH4iCkIgiHwiDEIghiAKQv////8Pg4QgBkIgiCAJIA1+fCAMQiCIfIUgB3xBACkDqIwBIglBACkDoIwBIgp8hSEHIAIpA0ggA30gCYUiCUL/////D4MiDCACKQNAIAN8IAqFIgpCIIgiDX4iBkL/////D4MgCUIgiCIJIApC/////w+DIgp+fCAMIAp+IgpCIIh8IgxCIIYgCkL/////D4OEIAZCIIggCSANfnwgDEIgiHyFIAV8IAggC3yFIQULIAIpAzggA30gAUHoiwFqKQMAIgiFIglC/////w+DIgogAikDMCADfCABQeCLAWopAwAiC4UiDEIgiCINfiIGQv////8PgyAJQiCIIgkgDEL/////D4MiDH58IAogDH4iCkIgiHwiDEIghiAKQv////8Pg4QgBkIgiCAJIA1+fCAMQiCIfIUgB3xBACkDmIwBIgdBACkDkIwBIgl8hSEGIAIpAyggA30gB4UiB0L/////D4MiCiACKQMgIAN8IAmFIglCIIgiDH4iDUL/////D4MgB0IgiCIHIAlC/////w+DIgl+fCAKIAl+IglCIIh8IgpCIIYgCUL/////D4OEIA1CIIggByAMfnwgCkIgiHyFIAV8IAggC3yFIQULIAAgAikDGCADfSABQfiLAWopAwAiB4UiCEL/////D4MiCSACKQMQIAN8IAFB8IsBaikDACIKhSILQiCIIgx+Ig1C/////w+DIAhCIIgiCCALQv////8PgyILfnwgCSALfiIJQiCIfCILQiCGIAlC/////w+DhCANQiCIIAggDH58IAtCIIh8hSAGfEEAKQOIjAEiCEEAKQOAjAEiCXyFIgsgAikDCCADfSAIhSIIQv////8PgyIMIAIpAwAgA3wgCYUiCUIgiCINfiIGQv////8PgyAIQiCIIgggCUL/////D4MiCX58IAwgCX4iCUIgiHwiDEIghiAJQv////8Pg4QgBkIgiCAIIA1+fCAMQiCIfIUgBXwgByAKfIUiBXwiB0IliCAHhUL5893xmfKZqxZ+IgdCIIggB4U3AwAgAEIAIAVCh5Wvr5i23puef34gBCADfULP1tO+0ser2UJ+fCALQuPcypX8zvL1hX9+fCIDQiWIIAOFQvnz3fGZ8pmrFn4iA0IgiCADhX03AwgLiQ8DAX8UfgJ/QQAhBCACKQN4IAN9QQApA/iMASIFhSIGQv////8PgyIHIAIpA3AgA3xBACkD8IwBIgiFIglCIIgiCn4iC0L/////D4MgBkIgiCIGIAlC/////w+DIgl+fCAHIAl+IgdCIIh8IglCIIYgB0L/////D4OEIAtCIIggBiAKfnwgCUIgiHyFIAIpA1ggA31BACkD2IwBIgeFIgZC/////w+DIgkgAikDUCADfEEAKQPQjAEiCoUiC0IgiCIMfiINQv////8PgyAGQiCIIgYgC0L/////D4MiC358IAkgC34iCUIgiHwiC0IghiAJQv////8Pg4QgDUIgiCAGIAx+fCALQiCIfIUgAikDOCADfUEAKQO4jAEiCYUiBkL/////D4MiCyACKQMwIAN8QQApA7CMASIMhSINQiCIIg5+Ig9C/////w+DIAZCIIgiBiANQv////8PgyINfnwgCyANfiILQiCIfCINQiCGIAtC/////w+DhCAPQiCIIAYgDn58IA1CIIh8hSACKQMYIAN9QQApA5iMASILhSIGQv////8PgyINIAIpAxAgA3xBACkDkIwBIg6FIg9CIIgiEH4iEUL/////D4MgBkIgiCIGIA9C/////w+DIg9+fCANIA9+Ig1CIIh8Ig9CIIYgDUL/////D4OEIBFCIIggBiAQfnwgD0IgiHyFQQApA4iMASINQQApA4CMASIPfIV8QQApA6iMASIQQQApA6CMASIRfIV8QQApA8iMASISQQApA8CMASITfIV8QQApA+iMASIUQQApA+CMASIVfIUiBkIliCAGhUL5893xmfKZqxZ+IgZCIIggBoUhBiACKQNoIAN9IBSFIhRC/////w+DIhYgAikDYCADfCAVhSIVQiCIIhd+IhhC/////w+DIBRCIIgiFCAVQv////8PgyIVfnwgFiAVfiIVQiCIfCIWQiCGIBVC/////w+DhCAYQiCIIBQgF358IBZCIIh8hSACKQNIIAN9IBKFIhJC/////w+DIhQgAikDQCADfCAThSITQiCIIhV+IhZC/////w+DIBJCIIgiEiATQv////8PgyITfnwgFCATfiITQiCIfCIUQiCGIBNC/////w+DhCAWQiCIIBIgFX58IBRCIIh8hSACKQMoIAN9IBCFIhBC/////w+DIhIgAikDICADfCARhSIRQiCIIhN+IhRC/////w+DIBBCIIgiECARQv////8PgyIRfnwgEiARfiIRQiCIfCISQiCGIBFC/////w+DhCAUQiCIIBAgE358IBJCIIh8hSACKQMIIAN9IA2FIg1C/////w+DIhAgAikDACADfCAPhSIPQiCIIhF+IhJC/////w+DIA1CIIgiDSAPQv////8PgyIPfnwgECAPfiIPQiCIfCIQQiCGIA9C/////w+DhCASQiCIIA0gEX58IBBCIIh8hSABrSIPQoeVr6+Ytt6bnn9+fCALIA58hXwgCSAMfIV8IAcgCnyFfCAFIAh8hSIFQiWIIAWFQvnz3fGZ8pmrFn4iBUIgiCAFhSEFIAFBIG0hGQJAIAFBoAFIDQAgGUEFIBlBBUobQXxqIRoDQCACIARqIhlBG2opAwAgA30gBEGYjQFqKQMAIgeFIghC/////w+DIgkgGUETaikDACADfCAEQZCNAWopAwAiCoUiC0IgiCIMfiINQv////8PgyAIQiCIIgggC0L/////D4MiC358IAkgC34iCUIgiHwiC0IghiAJQv////8Pg4QgDUIgiCAIIAx+fCALQiCIfIUgBnwgBEGIjQFqKQMAIgggBEGAjQFqKQMAIgl8hSEGIBlBC2opAwAgA30gCIUiCEL/////D4MiCyAZQQNqKQMAIAN8IAmFIglCIIgiDH4iDUL/////D4MgCEIgiCIIIAlC/////w+DIgl+fCALIAl+IglCIIh8IgtCIIYgCUL/////D4OEIA1CIIggCCAMfnwgC0IgiHyFIAV8IAcgCnyFIQUgBEEgaiEEIBpBf2oiGg0ACwsgACACKQN/IAN8IAFB6IsBaikDACIHhSIIQv////8PgyIJIAIpA3cgA30gAUHgiwFqKQMAIgqFIgtCIIgiDH4iDUL/////D4MgCEIgiCIIIAtC/////w+DIgt+fCAJIAt+IglCIIh8IgtCIIYgCUL/////D4OEIA1CIIggCCAMfnwgC0IgiHyFIAZ8IAFB+IsBaikDACIGIAFB8IsBaikDACIIfIUiCSACKQNvIAN8IAaFIgZC/////w+DIgsgAikDZyADfSAIhSIIQiCIIgx+Ig1C/////w+DIAZCIIgiBiAIQv////8PgyIIfnwgCyAIfiIIQiCIfCILQiCGIAhC/////w+DhCANQiCIIAYgDH58IAtCIIh8hSAFfCAHIAp8hSIGfCIFQiWIIAWFQvnz3fGZ8pmrFn4iBUIgiCAFhTcDACAAQgAgBkKHla+vmLbem55/fiAPIAN9Qs/W077Sx6vZQn58IAlC49zKlfzO8vWFf358IgNCJYggA4VC+fPd8ZnymasWfiIDQiCIIAOFfTcDCAvfBQIBfgF/AkACQEEAKQOACiIAUEUNAEGACCEBQgAhAAwBCwJAQQApA6COASAAUg0AQQAhAQwBC0EAIQFBAEKvr+/XvPeSoP4AIAB9NwP4iwFBACAAQsWW6/nY0oWCKHw3A/C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ApAxggAkHQiwFqKQMAIgh8IAZBEWopAwAgAkHYiwFqKQMAIgmFIgpCIIggCkL/////D4N+fDcDGCAAIAcgBCAGQXlqKQMAhSIEQiCIIARC/////w+DfiAAKQMAfHw3AwAgACAJIAggBkEJaikDAIUiBEIgiCAEQv////8Pg34gACkDEHx8NwMQIAZBGWopAwAhBCAAKQMgIQcgACAAKQMoIAJB4IsBaikDACIIfCAGQSFqKQMAIAJB6IsBaikDACIJhSIKQiCIIApC/////w+Dfnw3AyggACAJIAcgBCAIhSIEQiCIIARC/////w+Dfnx8NwMgIAAgACkDOCACQfCLAWopAwAiBHwgBkExaikDACACQfiLAWopAwAiB4UiCEIgiCAIQv////8Pg358NwM4IAAgByAEIAZBKWopAwCFIgRCIIggBEL/////D4N+IAApAzB8fDcDMAwBC0HAACAFayELAkACQAJAIAVBOE0NAEGAjgEgC2shBiAAQcAAaiEFIAshAgwBC0EAIQwgCyECA0AgAEHAAGogDGogBSAMakHAjQFqKQMANwMAIAxBCGohDCACQXhqIgJBB0sNAAsgBSAMaiIGQcAARg0BIAZBwI0BaiEGIABBwABqIAxqIQULA0AgBSAGLQAAOgAAIAVBAWohBSAGQQFqIQYgAkF/aiICDQALQQAoAoCOASEFCyAAQcAAaiALaiEGQYCMASECAkAgBUEISQ0AQYCMASECA0AgBiACKQMANwMAIAZBCGohBiACQQhqIQIgBUF4aiIFQQdLDQALCwJAIAVFDQADQCAGIAItAAA6AAAgBkEBaiEGIAJBAWohAiAFQX9qIgUNAAsLIAAgACkDCCAAKQNAIgR8IANBACgCnI4BaiICQQFqKQMAIAApA0giB4UiCEIgiCAIQv////8Pg358NwMIIAAgACkDGCAAKQNQIgh8IAJBEWopAwAgACkDWCIJhSIKQiCIIApC/////w+Dfnw3AxggACAHIAQgAkF5aikDAIUiBEIgiCAEQv////8Pg34gACkDAHx8NwMAIAAgCSAIIAJBCWopAwCFIgRCIIggBEL/////D4N+IAApAxB8fDcDECACQRlqKQMAIQQgACkDICEHIAAgACkDK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gqd6s2Kj6dj/jnDQ/+dy7x8cLTx2KUeBLzbRZMciffsnZeHNk6sWsgzTT68PFgaD/+hNj6xcN3VG38NpJ0xZVJinUaJ4rFr5YfUeh/I/4uNF60DHORcs6j5UWBCiv1/vKu0tAfkACAAA=",hash:"e8e3fcf8"};const Oe=new A;let Le=null;const Pe=new ArrayBuffer(8);function ze(e){return!Number.isInteger(e)||e<0||e>4294967295?new Error("Seed must be given as two valid 32-bit long unsigned integers (lo + high)."):null}function Ze(e,t,i){const A=new DataView(e);A.setUint32(0,t,!0),A.setUint32(4,i,!0)}var Te={name:"ripemd160",data:"AGFzbQEAAAABEQRgAAF/YAAAYAF/AGACf38AAwkIAAECAwIBAAIEBQFwAQEBBQQBAQICBg4CfwFB4IkFC38AQcAICweDAQkGbWVtb3J5AgAOSGFzaF9HZXRCdWZmZXIAAAlIYXNoX0luaXQAARByaXBlbWQxNjBfdXBkYXRlAAMLSGFzaF9VcGRhdGUABApIYXNoX0ZpbmFsAAUNSGFzaF9HZXRTdGF0ZQAGDkhhc2hfQ2FsY3VsYXRlAAcKU1RBVEVfU0laRQMBCtAxCAUAQYAJCzoAQQBB8MPLnnw2ApiJAUEAQv6568XpjpWZEDcCkIkBQQBCgcaUupbx6uZvNwKIiQFBAEIANwKAiQELpiwBHn9BACAAKAIkIgEgACgCACICIAAoAhAiAyACIAAoAiwiBCAAKAIMIgUgACgCBCIGIAAoAjwiByACIAAoAjAiCCAHIAAoAggiCUEAKAKIiQEiCkEAKAKQiQEiC0EAKAKUiQEiDEF/c3JBACgCjIkBIg1zaiAAKAIUIg5qQeaXioUFakEId0EAKAKYiQEiD2oiEEEKdyIRaiABIA1BCnciEmogAiALQQp3IhNqIAwgACgCHCIUaiAPIAAoAjgiFWogECANIBNBf3Nyc2pB5peKhQVqQQl3IAxqIhYgECASQX9zcnNqQeaXioUFakEJdyATaiIQIBYgEUF/c3JzakHml4qFBWpBC3cgEmoiFyAQIBZBCnciFkF/c3JzakHml4qFBWpBDXcg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jYCDEGACEE4QfgAIAFBP3EiAUE4SRsgAWsQAyAAQQhqQQgQA0EAQQAoAoiJATYCgAlBAEEAKQKMiQE3AoQJQQBBACkClIkBNwKMCSAAQRBqJAALBgBBgIkBC8EBAQF/IwBBEGsiASQAQQBB8MPLnnw2ApiJAUEAQv6568XpjpWZEDcCkIkBQQBCgcaUupbx6uZvNwKIiQFBAEIANwKAiQFBgAkgABADIAFBACgCgIkBIgBBA3Q2AgggAUEAKAKEiQFBA3QgAEEddnI2AgxBgAhBOEH4ACAAQT9xIgBBOEkbIABrEAMgAUEIakEIEANBAEEAKAKIiQE2AoAJQQBBACkCjIkBNwKECUEAQQApApSJATcCjAkgAUEQaiQACwtLAQBBgAgLRIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABcAAAA",hash:"42f1de39"};const Xe=new A;let Ve=null;function je(e,t){e.init();const{blockSize:i}=e,A=function(e,t){const{blockSize:i}=e,A=g(t);if(A.length>i){e.update(A);const t=e.digest("binary");return e.init(),t}return new Uint8Array(A.buffer,A.byteOffset,A.length)}(e,t),r=new Uint8Array(i);r.set(A);const n=new Uint8Array(i);for(let e=0;e(e.init(),e.update(r),o),update:t=>(e.update(t),o),digest:t=>{const i=e.digest("binary");return e.init(),e.update(n),e.update(i),e.digest(t)},save:()=>{throw new Error("save() not supported")},load:()=>{throw new Error("load() not supported")},blockSize:e.blockSize,digestSize:e.digestSize};return o}function We(e,t){if(!e||!e.then)throw new Error('Invalid hash function is provided! Usage: createHMAC(createMD5(), "key").');return e.then((e=>je(e,t)))}function $e(e){return i(this,void 0,void 0,(function*(){(e=>{if(!e||"object"!=typeof e)throw new Error("Invalid options parameter. It requires an object.");if(!e.hashFunction||!e.hashFunction.then)throw new Error('Invalid hash function is provided! Usage: pbkdf2("password", "salt", 1000, 32, createSHA1()).');if(!Number.isInteger(e.iterations)||e.iterations<1)throw new Error("Iterations should be a positive number");if(!Number.isInteger(e.hashLength)||e.hashLength<1)throw new Error("Hash length should be a positive number");if(void 0===e.outputType&&(e.outputType="hex"),!["hex","binary"].includes(e.outputType))throw new Error(`Insupported output type ${e.outputType}. Valid values: ['hex', 'binary']`)})(e);return function(e,t,A,r,n){return i(this,void 0,void 0,(function*(){const i=new Uint8Array(r),o=new Uint8Array(t.length+4),a=new DataView(o.buffer),s=g(t),c=new Uint8Array(s.buffer,s.byteOffset,s.length);o.set(c);let I=0;const f=e.digestSize,u=Math.ceil(r/f);let d=null,l=null;for(let n=1;n<=u;n++){a.setUint32(t.length,n),e.init(),e.update(o),d=e.digest("binary"),l=d.slice();for(let t=1;t{if(!e||"object"!=typeof e)throw new Error("Invalid options parameter. It requires an object.");if(void 0===e.hash||"string"!=typeof e.hash)throw new Error("Hash should be specified");if(60!==e.hash.length)throw new Error("Hash should be 60 bytes long");if(!(e=>!(!/^\$2[axyb]\$[0-3][0-9]\$[./A-Za-z0-9]{53}$/.test(e)||"0"===e[4]&&parseInt(e[5],10)<4||"3"===e[4]&&parseInt(e[5],10)>1))(e.hash))throw new Error("Invalid hash");if(e.password=g(e.password),e.password.length<1)throw new Error("Password should be at least 1 byte long");if(e.password.length>72)throw new Error("Password should be at most 72 bytes long")};var rt={name:"whirlpool",data:"AGFzbQEAAAABEQRgAAF/YAF/AGACf38AYAAAAwkIAAECAwEDAAEEBQFwAQEBBQQBAQICBg4CfwFB0JsFC38AQYAYCwdwCAZtZW1vcnkCAA5IYXNoX0dldEJ1ZmZlcgAACUhhc2hfSW5pdAADC0hhc2hfVXBkYXRlAAQKSGFzaF9GaW5hbAAFDUhhc2hfR2V0U3RhdGUABg5IYXNoX0NhbGN1bGF0ZQAHClNUQVRFX1NJWkUDAQrgGggFAEGAGQv0BgEIfiAAKQMAIQFBAEEAKQOAmwEiAjcDgJkBIAApAxghAyAAKQMQIQQgACkDCCEFQQBBACkDmJsBIgY3A5iZAUEAQQApA5CbASIHNwOQmQFBAEEAKQOImwEi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cXIgAUEIdkGA/gNxIAFBGHZycjYCgAlBAEEAKAKMiQEiAUEYdCABQQh0QYCA/AdxciABQQh2QYD+A3EgAUEYdnJyNgKECUEAQQAoApCJASIBQRh0IAFBCHRBgID8B3FyIAFBCHZBgP4DcSABQRh2cnI2AogJQQBBACgClIkBIgFBGHQgAUEIdEGAgPwHcXIgAUEIdkGA/gNxIAFBGHZycjYCjAlBAEEAKAKYiQEiAUEYdCABQQh0QYCA/AdxciABQQh2QYD+A3EgAUEYdnJyNgKQCUEAQQAoApyJASIBQRh0IAFBCHRBgID8B3FyIAFBCHZBgP4DcSABQRh2cnI2ApQJQQBBACgCoIkBIgFBGHQgAUEIdEGAgPwHcXIgAUEIdkGA/gNxIAFBGHZycjYCmAlBAEEAKAKkiQEiAUEYdCABQQh0QYCA/AdxciABQQh2QYD+A3EgAUEYdnJyNgKcCSAAQRBqJAALBgBBgIkBC8ABAQJ/QQBCzdy3nO7Jw/2wfzcCoIkBQQBCvOG8y6qVzpgWNwKYiQFBAELXhZG5gcCBxVo3ApCJAUEAQu+sgJyX16yKyQA3AoiJAUEAQgA3AoCJAQJAIABFDQBBACAANgKAiQFBgAkhAQJAIABBwABJDQBBgAkhAQNAIAEQAyABQcAAaiEBIABBQGoiAEE/Sw0ACyAARQ0BC0EAIQIDQCACQaiJAWogASACai0AADoAACAAIAJBAWoiAkcNAAsLEAQLC1ECAEGACAsEaAAAAABBkAgLQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",hash:"6e6f46ad"};const st=new A;let ct=null;t.adler32=function(e){if(null===v)return m(w,b,4).then((t=>(v=t,v.calculate(e))));try{const t=v.calculate(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.argon2Verify=function(e){return i(this,void 0,void 0,(function*(){(e=>{if(!e||"object"!=typeof e)throw new Error("Invalid options parameter. It requires an object.");if(void 0===e.hash||"string"!=typeof e.hash)throw new Error("Hash should be specified")})(e);const t=((e,t)=>{const i=t.match(/^\$argon2(id|i|d)\$v=([0-9]+)\$((?:[mtp]=[0-9]+,){2}[mtp]=[0-9]+)\$([A-Za-z0-9+/]+)\$([A-Za-z0-9+/]+)$/);if(!i)throw new Error("Invalid hash");const[,A,r,n,o,a]=i;if("19"!==r)throw new Error(`Unsupported version: ${r}`);const s={},c={m:"memorySize",p:"parallelism",t:"iterations"};return n.split(",").forEach((e=>{const[t,i]=e.split("=");s[c[t]]=parseInt(i,10)})),Object.assign(Object.assign({},s),{password:e,hashType:A,salt:p(o),hashLength:B(a),outputType:"encoded"})})(e.password,e.hash);K(t);const i=e.hash.lastIndexOf("$")+1;return(yield R(t)).substring(i)===e.hash.substring(i)}))},t.argon2d=function(e){return i(this,void 0,void 0,(function*(){return K(e),R(Object.assign(Object.assign({},e),{hashType:"d"}))}))},t.argon2i=function(e){return i(this,void 0,void 0,(function*(){return K(e),R(Object.assign(Object.assign({},e),{hashType:"i"}))}))},t.argon2id=function(e){return i(this,void 0,void 0,(function*(){return K(e),R(Object.assign(Object.assign({},e),{hashType:"id"}))}))},t.bcrypt=function(e){return i(this,void 0,void 0,(function*(){return(e=>{if(!e||"object"!=typeof e)throw new Error("Invalid options parameter. It requires an object.");if(!Number.isInteger(e.costFactor)||e.costFactor<4||e.costFactor>31)throw new Error("Cost factor should be a number between 4 and 31");if(e.password=g(e.password),e.password.length<1)throw new Error("Password should be at least 1 byte long");if(e.password.length>72)throw new Error("Password should be at most 72 bytes long");if(e.salt=g(e.salt),16!==e.salt.length)throw new Error("Salt should be 16 bytes long");if(void 0===e.outputType&&(e.outputType="encoded"),!["hex","binary","encoded"].includes(e.outputType))throw new Error(`Insupported output type ${e.outputType}. Valid values: ['hex', 'binary', 'encoded']`)})(e),it(e)}))},t.bcryptVerify=function(e){return i(this,void 0,void 0,(function*(){At(e);const{hash:t,password:i}=e,A=yield y(tt,0);A.writeMemory(g(t),0);const r=g(i);return A.writeMemory(r,60),!!A.getExports().bcrypt_verify(r.length)}))},t.blake2b=function(e,t=512,i=null){if(k(t))return Promise.reject(k(t));let A=null,r=t;if(null!==i){if(A=g(i),A.length>64)return Promise.reject(new Error("Max key length is 64 bytes"));r=M(t,A.length)}const n=t/8;if(null===F||F.hashLength!==n)return m(S,D,n).then((t=>(F=t,r>512&&F.writeMemory(A),F.calculate(e,r))));try{r>512&&F.writeMemory(A);const t=F.calculate(e,r);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.blake2s=function(e,t=256,i=null){if(Y(t))return Promise.reject(Y(t));let A=null,r=t;if(null!==i){if(A=g(i),A.length>32)return Promise.reject(new Error("Max key length is 32 bytes"));r=O(t,A.length)}const n=t/8;if(null===J||J.hashLength!==n)return m(x,q,n).then((t=>(J=t,r>512&&J.writeMemory(A),J.calculate(e,r))));try{r>512&&J.writeMemory(A);const t=J.calculate(e,r);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.blake3=function(e,t=256,i=null){if(Z(t))return Promise.reject(Z(t));let A=null,r=0;if(null!==i){if(A=g(i),32!==A.length)return Promise.reject(new Error("Key length must be exactly 32 bytes"));r=32}const n=t/8,o=n;if(null===z||z.hashLength!==n)return m(P,L,n).then((t=>(z=t,32===r&&z.writeMemory(A),z.calculate(e,r,o))));try{32===r&&z.writeMemory(A);const t=z.calculate(e,r,o);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.crc32=function(e){if(null===V)return m(X,T,4).then((t=>(V=t,V.calculate(e,3988292384))));try{const t=V.calculate(e,3988292384);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.crc32c=function(e){if(null===W)return m(j,T,4).then((t=>(W=t,W.calculate(e,2197175160))));try{const t=W.calculate(e,2197175160);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.createAdler32=function(){return y(b,4).then((e=>{e.init();const t={init:()=>(e.init(),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:4,digestSize:4};return t}))},t.createBLAKE2b=N,t.createBLAKE2s=function(e=256,t=null){if(Y(e))return Promise.reject(Y(e));let i=null,A=e;if(null!==t){if(i=g(t),i.length>32)return Promise.reject(new Error("Max key length is 32 bytes"));A=O(e,i.length)}const r=e/8;return y(q,r).then((e=>{A>512&&e.writeMemory(i),e.init(A);const t={init:A>512?()=>(e.writeMemory(i),e.init(A),t):()=>(e.init(A),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:r};return t}))},t.createBLAKE3=function(e=256,t=null){if(Z(e))return Promise.reject(Z(e));let i=null,A=0;if(null!==t){if(i=g(t),32!==i.length)return Promise.reject(new Error("Key length must be exactly 32 bytes"));A=32}const r=e/8,n=r;return y(L,r).then((e=>{32===A&&e.writeMemory(i),e.init(A);const t={init:32===A?()=>(e.writeMemory(i),e.init(A),t):()=>(e.init(A),t),update:i=>(e.update(i),t),digest:t=>e.digest(t,n),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:r};return t}))},t.createCRC32=function(){return y(T,4).then((e=>{e.init(3988292384);const t={init:()=>(e.init(3988292384),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:4,digestSize:4};return t}))},t.createCRC32C=function(){return y(T,4).then((e=>{e.init(2197175160);const t={init:()=>(e.init(2197175160),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:4,digestSize:4};return t}))},t.createHMAC=We,t.createKeccak=function(e=512){if(ue(e))return Promise.reject(ue(e));const t=e/8;return y(se,t).then((i=>{i.init(e);const A={init:()=>(i.init(e),A),update:e=>(i.update(e),A),digest:e=>i.digest(e,1),save:()=>i.save(),load:e=>(i.load(e),A),blockSize:200-2*t,digestSize:t};return A}))},t.createMD4=function(){return y($,16).then((e=>{e.init();const t={init:()=>(e.init(),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:16};return t}))},t.createMD5=function(){return y(ie,16).then((e=>{e.init();const t={init:()=>(e.init(),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:16};return t}))},t.createRIPEMD160=function(){return y(Te,20).then((e=>{e.init();const t={init:()=>(e.init(),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:20};return t}))},t.createSHA1=function(){return y(ne,20).then((e=>{e.init();const t={init:()=>(e.init(),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:20};return t}))},t.createSHA224=function(){return y(de,28).then((e=>{e.init(224);const t={init:()=>(e.init(224),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:28};return t}))},t.createSHA256=Qe,t.createSHA3=function(e=512){if(fe(e))return Promise.reject(fe(e));const t=e/8;return y(se,t).then((i=>{i.init(e);const A={init:()=>(i.init(e),A),update:e=>(i.update(e),A),digest:e=>i.digest(e,6),save:()=>i.save(),load:e=>(i.load(e),A),blockSize:200-2*t,digestSize:t};return A}))},t.createSHA384=function(){return y(Ee,48).then((e=>{e.init(384);const t={init:()=>(e.init(384),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:128,digestSize:48};return t}))},t.createSHA512=function(){return y(Ee,64).then((e=>{e.init(512);const t={init:()=>(e.init(512),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:128,digestSize:64};return t}))},t.createSM3=function(){return y(at,32).then((e=>{e.init();const t={init:()=>(e.init(),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:32};return t}))},t.createWhirlpool=function(){return y(rt,64).then((e=>{e.init();const t={init:()=>(e.init(),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:64};return t}))},t.createXXHash128=function(e=0,t=0){return ze(e)?Promise.reject(ze(e)):ze(t)?Promise.reject(ze(t)):y(Ye,16).then((i=>{const A=new ArrayBuffer(8);Ze(A,e,t),i.writeMemory(new Uint8Array(A)),i.init();const r={init:()=>(i.writeMemory(new Uint8Array(A)),i.init(),r),update:e=>(i.update(e),r),digest:e=>i.digest(e),save:()=>i.save(),load:e=>(i.load(e),r),blockSize:512,digestSize:16};return r}))},t.createXXHash3=function(e=0,t=0){return xe(e)?Promise.reject(xe(e)):xe(t)?Promise.reject(xe(t)):y(_e,8).then((i=>{const A=new ArrayBuffer(8);Je(A,e,t),i.writeMemory(new Uint8Array(A)),i.init();const r={init:()=>(i.writeMemory(new Uint8Array(A)),i.init(),r),update:e=>(i.update(e),r),digest:e=>i.digest(e),save:()=>i.save(),load:e=>(i.load(e),r),blockSize:512,digestSize:8};return r}))},t.createXXHash32=function(e=0){return Fe(e)?Promise.reject(Fe(e)):y(ve,4).then((t=>{t.init(e);const i={init:()=>(t.init(e),i),update:e=>(t.update(e),i),digest:e=>t.digest(e),save:()=>t.save(),load:e=>(t.load(e),i),blockSize:16,digestSize:4};return i}))},t.createXXHash64=function(e=0,t=0){return Ge(e)?Promise.reject(Ge(e)):Ge(t)?Promise.reject(Ge(t)):y(ke,8).then((i=>{const A=new ArrayBuffer(8);He(A,e,t),i.writeMemory(new Uint8Array(A)),i.init();const r={init:()=>(i.writeMemory(new Uint8Array(A)),i.init(),r),update:e=>(i.update(e),r),digest:e=>i.digest(e),save:()=>i.save(),load:e=>(i.load(e),r),blockSize:32,digestSize:8};return r}))},t.keccak=function(e,t=512){if(ue(t))return Promise.reject(ue(t));const i=t/8;if(null===ge||ge.hashLength!==i)return m(he,se,i).then((i=>(ge=i,ge.calculate(e,t,1))));try{const i=ge.calculate(e,t,1);return Promise.resolve(i)}catch(e){return Promise.reject(e)}},t.md4=function(e){if(null===te)return m(ee,$,16).then((t=>(te=t,te.calculate(e))));try{const t=te.calculate(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.md5=function(e){if(null===re)return m(Ae,ie,16).then((t=>(re=t,re.calculate(e))));try{const t=re.calculate(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.pbkdf2=$e,t.ripemd160=function(e){if(null===Ve)return m(Xe,Te,20).then((t=>(Ve=t,Ve.calculate(e))));try{const t=Ve.calculate(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.scrypt=function(e){return i(this,void 0,void 0,(function*(){return(e=>{if(!e||"object"!=typeof e)throw new Error("Invalid options parameter. It requires an object.");if(!Number.isInteger(e.blockSize)||e.blockSize<1)throw new Error("Block size should be a positive number");if(!Number.isInteger(e.costFactor)||e.costFactor<2||!(t=e.costFactor)||t&t-1)throw new Error("Cost factor should be a power of 2, greater than 1");var t;if(!Number.isInteger(e.parallelism)||e.parallelism<1)throw new Error("Parallelism should be a positive number");if(!Number.isInteger(e.hashLength)||e.hashLength<1)throw new Error("Hash length should be a positive number.");if(void 0===e.outputType&&(e.outputType="hex"),!["hex","binary"].includes(e.outputType))throw new Error(`Insupported output type ${e.outputType}. Valid values: ['hex', 'binary']`)})(e),function(e){return i(this,void 0,void 0,(function*(){const{costFactor:t,blockSize:i,parallelism:A,hashLength:r}=e,n=Qe(),o=yield $e({password:e.password,salt:e.salt,iterations:1,hashLength:128*i*A,hashFunction:n,outputType:"binary"}),a=yield y(et,0),s=128*i*t,c=256*i;a.setMemorySize(o.length+s+c),a.writeMemory(o,0),a.getExports().scrypt(i,t,A);const I=a.getMemory().subarray(0,128*i*A),f=yield $e({password:e.password,salt:I,iterations:1,hashLength:r,hashFunction:n,outputType:"binary"});return"hex"===e.outputType?h(new Uint8Array(2*r),f,r):f}))}(e)}))},t.sha1=function(e){if(null===ae)return m(oe,ne,20).then((t=>(ae=t,ae.calculate(e))));try{const t=ae.calculate(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.sha224=function(e){if(null===Be)return m(le,de,28).then((t=>(Be=t,Be.calculate(e,224))));try{const t=Be.calculate(e,224);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.sha256=function(e){if(null===Ce)return m(pe,de,32).then((t=>(Ce=t,Ce.calculate(e,256))));try{const t=Ce.calculate(e,256);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.sha3=function(e,t=512){if(fe(t))return Promise.reject(fe(t));const i=t/8;if(null===Ie||Ie.hashLength!==i)return m(ce,se,i).then((i=>(Ie=i,Ie.calculate(e,t,6))));try{const i=Ie.calculate(e,t,6);return Promise.resolve(i)}catch(e){return Promise.reject(e)}},t.sha384=function(e){if(null===be)return m(ye,Ee,48).then((t=>(be=t,be.calculate(e,384))));try{const t=be.calculate(e,384);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.sha512=function(e){if(null===we)return m(me,Ee,64).then((t=>(we=t,we.calculate(e,512))));try{const t=we.calculate(e,512);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.sm3=function(e){if(null===ct)return m(st,at,32).then((t=>(ct=t,ct.calculate(e))));try{const t=ct.calculate(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.whirlpool=function(e){if(null===ot)return m(nt,rt,64).then((t=>(ot=t,ot.calculate(e))));try{const t=ot.calculate(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.xxhash128=function(e,t=0,i=0){if(ze(t))return Promise.reject(ze(t));if(ze(i))return Promise.reject(ze(i));if(null===Le)return m(Oe,Ye,16).then((A=>(Le=A,Ze(Pe,t,i),Le.writeMemory(new Uint8Array(Pe)),Le.calculate(e))));try{Ze(Pe,t,i),Le.writeMemory(new Uint8Array(Pe));const A=Le.calculate(e);return Promise.resolve(A)}catch(e){return Promise.reject(e)}},t.xxhash3=function(e,t=0,i=0){if(xe(t))return Promise.reject(xe(t));if(xe(i))return Promise.reject(xe(i));if(null===Ke)return m(Re,_e,8).then((A=>(Ke=A,Je(qe,t,i),Ke.writeMemory(new Uint8Array(qe)),Ke.calculate(e))));try{Je(qe,t,i),Ke.writeMemory(new Uint8Array(qe));const A=Ke.calculate(e);return Promise.resolve(A)}catch(e){return Promise.reject(e)}},t.xxhash32=function(e,t=0){if(Fe(t))return Promise.reject(Fe(t));if(null===Se)return m(De,ve,4).then((i=>(Se=i,Se.calculate(e,t))));try{const i=Se.calculate(e,t);return Promise.resolve(i)}catch(e){return Promise.reject(e)}},t.xxhash64=function(e,t=0,i=0){if(Ge(t))return Promise.reject(Ge(t));if(Ge(i))return Promise.reject(Ge(i));if(null===Ne)return m(Me,ke,8).then((A=>(Ne=A,He(Ue,t,i),Ne.writeMemory(new Uint8Array(Ue)),Ne.calculate(e))));try{He(Ue,t,i),Ne.writeMemory(new Uint8Array(Ue));const A=Ne.calculate(e);return Promise.resolve(A)}catch(e){return Promise.reject(e)}},Object.defineProperty(t,"__esModule",{value:!0})}))}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],155:[function(e,t,i){var A=i;A.utils=e("./hash/utils"),A.common=e("./hash/common"),A.sha=e("./hash/sha"),A.ripemd=e("./hash/ripemd"),A.hmac=e("./hash/hmac"),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},{"./hash/common":156,"./hash/hmac":157,"./hash/ripemd":158,"./hash/sha":159,"./hash/utils":166}],156:[function(e,t,i){"use strict";var A=e("./utils"),r=e("minimalistic-assert");function n(){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}i.BlockHash=n,n.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 i=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-i,e.length),0===this.pending.length&&(this.pending=null),e=A.join32(e,0,e.length-i,this.endian);for(var r=0;r>>24&255,A[r++]=e>>>16&255,A[r++]=e>>>8&255,A[r++]=255&e}else for(A[r++]=255&e,A[r++]=e>>>8&255,A[r++]=e>>>16&255,A[r++]=e>>>24&255,A[r++]=0,A[r++]=0,A[r++]=0,A[r++]=0,n=8;nthis.blockSize&&(e=(new this.Hash).update(e).digest()),r(e.length<=this.blockSize);for(var t=e.length;t>>3},i.g1_256=function(e){return A(e,17)^A(e,19)^e>>>10}},{"../utils":166}],166:[function(e,t,i){"use strict";var A=e("minimalistic-assert"),r=e("inherits");function n(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function a(e){return 1===e.length?"0"+e:e}function s(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}i.inherits=r,i.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var i=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),r=0;r>6|192,i[A++]=63&o|128):n(e,r)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++r)),i[A++]=o>>18|240,i[A++]=o>>12&63|128,i[A++]=o>>6&63|128,i[A++]=63&o|128):(i[A++]=o>>12|224,i[A++]=o>>6&63|128,i[A++]=63&o|128)}else for(r=0;r>>0}return o},i.split32=function(e,t){for(var i=new Array(4*e.length),A=0,r=0;A>>24,i[r+1]=n>>>16&255,i[r+2]=n>>>8&255,i[r+3]=255&n):(i[r+3]=n>>>24,i[r+2]=n>>>16&255,i[r+1]=n>>>8&255,i[r]=255&n)}return i},i.rotr32=function(e,t){return e>>>t|e<<32-t},i.rotl32=function(e,t){return e<>>32-t},i.sum32=function(e,t){return e+t>>>0},i.sum32_3=function(e,t,i){return e+t+i>>>0},i.sum32_4=function(e,t,i,A){return e+t+i+A>>>0},i.sum32_5=function(e,t,i,A,r){return e+t+i+A+r>>>0},i.sum64=function(e,t,i,A){var r=e[t],n=A+e[t+1]>>>0,o=(n>>0,e[t+1]=n},i.sum64_hi=function(e,t,i,A){return(t+A>>>0>>0},i.sum64_lo=function(e,t,i,A){return t+A>>>0},i.sum64_4_hi=function(e,t,i,A,r,n,o,a){var s=0,c=t;return s+=(c=c+A>>>0)>>0)>>0)>>0},i.sum64_4_lo=function(e,t,i,A,r,n,o,a){return t+A+n+a>>>0},i.sum64_5_hi=function(e,t,i,A,r,n,o,a,s,c){var I=0,f=t;return I+=(f=f+A>>>0)>>0)>>0)>>0)>>0},i.sum64_5_lo=function(e,t,i,A,r,n,o,a,s,c){return t+A+n+a+c>>>0},i.rotr64_hi=function(e,t,i){return(t<<32-i|e>>>i)>>>0},i.rotr64_lo=function(e,t,i){return(e<<32-i|t>>>i)>>>0},i.shr64_hi=function(e,t,i){return e>>>i},i.shr64_lo=function(e,t,i){return(e<<32-i|t>>>i)>>>0}},{inherits:169,"minimalistic-assert":174}],167:[function(e,t,i){"use strict";var A=e("hash.js"),r=e("minimalistic-crypto-utils"),n=e("minimalistic-assert");function o(e){if(!(this instanceof o))return new o(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=r.toArray(e.entropy,e.entropyEnc||"hex"),i=r.toArray(e.nonce,e.nonceEnc||"hex"),A=r.toArray(e.pers,e.persEnc||"hex");n(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,i,A)}t.exports=o,o.prototype._init=function(e,t,i){var A=e.concat(t).concat(i);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var r=0;r=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(i||[])),this._reseed=1},o.prototype.generate=function(e,t,i,A){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(A=i,i=t,t=null),i&&(i=r.toArray(i,A||"hex"),this._update(i));for(var n=[];n.length{};return this.mutex=this.mutex.then((()=>new Promise(e))),new Promise((t=>{e=t}))}dispatch(e){return i(this,void 0,void 0,(function*(){const t=yield this.lock();try{return yield Promise.resolve(e())}finally{t()}}))}}var r;const n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:e,o=null!==(r=n.Buffer)&&void 0!==r?r:null,a=n.TextEncoder?new n.TextEncoder:null;function s(e,t){return(15&e)+(e>>6|e>>3&8)<<4|(15&t)+(t>>6|t>>3&8)}function c(e,t){const i=t.length>>1;for(let A=0;A>>4;e[A++]=i>9?i+I:i+f,i=15&t[r],e[A++]=i>9?i+I:i+f}return String.fromCharCode.apply(null,e)}const u=null!==o?e=>{if("string"==typeof e){const t=o.from(e,"utf8");return new Uint8Array(t.buffer,t.byteOffset,t.length)}if(o.isBuffer(e))return new Uint8Array(e.buffer,e.byteOffset,e.length);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Invalid data type!")}:e=>{if("string"==typeof e)return a.encode(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Invalid data type!")},g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=new Uint8Array(256);for(let e=0;e>18&63)+g.charAt(i>>12&63)+g.charAt(i>>6&63)+g.charAt(63&i);r.push(A)}if(1===A){const A=e[i-1],n=g.charAt(A>>2),o=g.charAt(A<<4&63);r.push(`${n}${o}`),t&&r.push("==")}else if(2===A){const A=(e[i-2]<<8)+e[i-1],n=g.charAt(A>>10),o=g.charAt(A>>4&63),a=g.charAt(A<<2&63);r.push(`${n}${o}${a}`),t&&r.push("=")}return r.join("")}function B(e){let t=Math.floor(.75*e.length);const i=e.length;return"="===e[i-1]&&(t-=1,"="===e[i-2]&&(t-=1)),t}function p(e){const t=B(e),i=e.length,A=new Uint8Array(t);let r=0;for(let t=0;t>4,r+=1,A[r]=(15&n)<<4|o>>2,r+=1,A[r]=(3&o)<<6|63&a,r+=1}return A}const C=16384,Q=4,E=new A,y=new Map;function b(e,t){return i(this,void 0,void 0,(function*(){let A=null,r=null,n=!1;if("undefined"==typeof WebAssembly)throw new Error("WebAssembly is not supported in this environment!");const o=()=>new DataView(A.exports.memory.buffer).getUint32(A.exports.STATE_SIZE,!0),a=E.dispatch((()=>i(this,void 0,void 0,(function*(){if(!y.has(e.name)){const t=p(e.data),i=WebAssembly.compile(t);y.set(e.name,i)}const t=yield y.get(e.name);A=yield WebAssembly.instantiate(t,{})})))),I=(e=null)=>{n=!0,A.exports.Hash_Init(e)},f=e=>{if(!n)throw new Error("update() called before init()");(e=>{let t=0;for(;t{if(!n)throw new Error("digest() called before init()");return n=!1,A.exports.Hash_Final(i),"binary"===e?r.slice(0,t):h(g,r,t)},l=e=>"string"==typeof e?e.length!0;break;case"blake2b":case"blake2s":B=(e,t)=>t<=512&&l(e);break;case"blake3":B=(e,t)=>0===t&&l(e);break;case"xxhash64":case"xxhash3":case"xxhash128":B=()=>!1}return yield(()=>i(this,void 0,void 0,(function*(){A||(yield a);const e=A.exports.Hash_GetBuffer(),t=A.exports.memory.buffer;r=new Uint8Array(t,e,C)})))(),{getMemory:()=>r,writeMemory:(e,t=0)=>{r.set(e,t)},getExports:()=>A.exports,setMemorySize:e=>{A.exports.Hash_SetMemorySize(e);const t=A.exports.Hash_GetBuffer(),i=A.exports.memory.buffer;r=new Uint8Array(i,t,e)},init:I,update:f,digest:d,save:()=>{if(!n)throw new Error("save() can only be called after init() and before digest()");const t=A.exports.Hash_GetState(),i=o(),r=A.exports.memory.buffer,a=new Uint8Array(r,t,i),s=new Uint8Array(Q+i);return c(s,e.hash),s.set(a,Q),s},load:t=>{if(!(t instanceof Uint8Array))throw new Error("load() expects an Uint8Array generated by save()");const i=A.exports.Hash_GetState(),r=o(),a=Q+r,c=A.exports.memory.buffer;if(t.length!==a)throw new Error(`Bad state length (expected ${a} bytes, got ${t.length})`);if(!function(e,t){if(e.length!==2*t.length)return!1;for(let i=0;i{if(!B(e,i))return I(i),f(e),d("hex",n);const o=u(e);return r.set(o),A.exports.Hash_Calculate(o.length,i,n),h(g,r,t)},hashLength:t}}))}var m={name:"adler32",data:"AGFzbQEAAAABDANgAAF/YAAAYAF/AAMHBgABAgEAAgQFAXABAQEFBAEBAgIGDgJ/AUGAiQULfwBBgAgLB3AIBm1lbW9yeQIADkhhc2hfR2V0QnVmZmVyAAAJSGFzaF9Jbml0AAELSGFzaF9VcGRhdGUAAgpIYXNoX0ZpbmFsAAMNSGFzaF9HZXRTdGF0ZQAEDkhhc2hfQ2FsY3VsYXRlAAUKU1RBVEVfU0laRQMBCoAIBgUAQYAJCwoAQQBBATYChAgL9gYBBn9BACgChAgiAUH//wNxIQIgAUEQdiEDAkACQCAAQQFHDQAgAkEALQCACWoiAUGPgHxqIAEgAUHw/wNLGyIBIANqIgRBEHQiBUGAgDxqIAUgBEHw/wNLGyABciEBDAELAkACQAJAAkACQCAAQRBJDQBBgAkhBiAAQbArSQ0BQYAJIQYDQEEAIQUDQCAGIAVqIgEoAgAiBEH/AXEgAmoiAiADaiACIARBCHZB/wFxaiICaiACIARBEHZB/wFxaiICaiACIARBGHZqIgJqIAIgAUEEaigCACIEQf8BcWoiAmogAiAEQQh2Qf8BcWoiAmogAiAEQRB2Qf8BcWoiAmogAiAEQRh2aiICaiACIAFBCGooAgAiBEH/AXFqIgJqIAIgBEEIdkH/AXFqIgJqIAIgBEEQdkH/AXFqIgJqIAIgBEEYdmoiBGogBCABQQxqKAIAIgFB/wFxaiIEaiAEIAFBCHZB/wFxaiIEaiAEIAFBEHZB/wFxaiIEaiAEIAFBGHZqIgJqIQMgBUEQaiIFQbArRw0ACyADQfH/A3AhAyACQfH/A3AhAiAGQbAraiEGIABB0FRqIgBBrytLDQALIABFDQQgAEEPSw0BDAILAkAgAEUNAEEAIQEDQCACIAFBgAlqLQAAaiICIANqIQMgACABQQFqIgFHDQALCyACQY+AfGogAiACQfD/A0sbIANB8f8DcEEQdHIhAQwECwNAIAYoAgAiAUH/AXEgAmoiBCADaiAEIAFBCHZB/wFxaiIEaiAEIAFBEHZB/wFxaiIEaiAEIAFBGHZqIgRqIAQgBkEEaigCACIBQf8BcWoiBGogBCABQQh2Qf8BcWoiBGogBCABQRB2Qf8BcWoiBGogBCABQRh2aiIEaiAEIAZBCGooAgAiAUH/AXFqIgRqIAQgAUEIdkH/AXFqIgRqIAQgAUEQdkH/AXFqIgRqIAQgAUEYdmoiBGogBCAGQQxqKAIAIgFB/wFxaiIEaiAEIAFBCHZB/wFxaiIEaiAEIAFBEHZB/wFxaiIEaiAEIAFBGHZqIgJqIQMgBkEQaiEGIABBcGoiAEEPSw0ACyAARQ0BCwNAIAIgBi0AAGoiAiADaiEDIAZBAWohBiAAQX9qIgANAAsLIANB8f8DcCEDIAJB8f8DcCECCyACIANBEHRyIQELQQAgATYChAgLMgEBf0EAQQAoAoQIIgBBGHQgAEEIdEGAgPwHcXIgAEEIdkGA/gNxIABBGHZycjYCgAkLBQBBhAgLPABBAEEBNgKECCAAEAJBAEEAKAKECCIAQRh0IABBCHRBgID8B3FyIABBCHZBgP4DcSAAQRh2cnI2AoAJCwsVAgBBgAgLBAQAAAAAQYQICwQBAAAA",hash:"321174b4"};function w(e,t,A){return i(this,void 0,void 0,(function*(){const i=yield e.lock(),r=yield b(t,A);return i(),r}))}const v=new A;let D=null;var S={name:"blake2b",data:"AGF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QOgiwFC6/qG2r+19sEfhTcDsIkBQQBBACkDqIsBQvnC+JuRo7Pw2wCFNwO4iQFBACAFp0H/AXE2AuSKAQJAIAFBAUgNACACQgA3A3ggAkIANwNwIAJCADcDaCACQgA3A2AgAkIANwNYIAJCADcDUCACQgA3A0ggAkIANwNAIAJCADcDOCACQgA3AzAgAkIANwMoIAJCADcDICACQgA3AxggAkIANwMQIAJCADcDCCACQgA3AwBBACEDA0AgAiAAaiAAQYAJai0AADoAACADQQFqIgNB/wFxIgAgAUgNAAsgAkGAARABCyACQYABaiQACxIAIABBA3ZB/z9xIABBEHYQBAsJAEGACSAAEAELBgBBgIkBCxsAIAFBA3ZB/z9xIAFBEHYQBEGACSAAEAEQAwsLCwEAQYAICwTwAAAA",hash:"68afc9cf"};const F=new A;let k=null;function M(e){return!Number.isInteger(e)||e<8||e>512||e%8!=0?new Error("Invalid variant! Valid values: 8, 16, ..., 512"):null}function N(e,t){return e|t<<16}function U(e=512,t=null){if(M(e))return Promise.reject(M(e));let i=null,A=e;if(null!==t){if(i=u(t),i.length>64)return Promise.reject(new Error("Max key length is 64 bytes"));A=N(e,i.length)}const r=e/8;return b(S,r).then((e=>{A>512&&e.writeMemory(i),e.init(A);const t={init:A>512?()=>(e.writeMemory(i),e.init(A),t):()=>(e.init(A),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:128,digestSize:r};return t}))}var G={name:"argon2",data:"AGFzbQEAAAABKQVgAX8Bf2AAAX9gEH9/f39/f39/f39/f39/f38AYAR/f39/AGACf38AAwYFAAECAwQEBQFwAQEBBQYBAQKAgAIGCAF/AUGQqAQLB0EEBm1lbW9yeQIAEkhhc2hfU2V0TWVtb3J5U2l6ZQAADkhhc2hfR2V0QnVmZmVyAAEOSGFzaF9DYWxjdWxhdGUABArXMwVbAQF/QQAhAQJAIABBACgCgAhrIgBFDQACQCAAQRB2IABBgIB8cSAASWoiAEAAQX9HDQBB/wEhAQwBC0EAIQFBAEEAKQOACCAAQRB0rXw3A4AICyABQRh0QRh1C2oBAn8CQEEAKAKICCIADQBBAD8AQRB0IgA2AogIQYCAIEEAKAKACGsiAUUNAAJAIAFBEHYgAUGAgHxxIAFJaiIAQABBf0cNAEEADwtBAEEAKQOACCAAQRB0rXw3A4AIQQAoAogIIQALIAALnA8BA34gACAEKQMAIhAgACkDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDCAQIAwpAwCFIhBCIIkiETcDACAIIBEgCCkDACISfCASQgGGQv7///8fgyAQQiCIfnwiEDcDACAEIBAgBCkDAIUiEEIoiSIRNwMAIAAgESAAKQMAIhJ8IBBCGIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAMIBAgDCkDAIUiEEIwiSIRNwMAIAggESAIKQMAIhJ8IBBCEIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAEIBAgBCkDAIVCAYk3AwAgASAFKQMAIhAgASkDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDSAQIA0pAwCFIhBCIIkiETcDACAJIBEgCSkDACISfCASQgGGQv7///8fgyAQQiCIfnwiEDcDACAFIBAgBSkDAIUiEEIoiSIRNwMAIAEgESABKQMAIhJ8IBBCGIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACANIBAgDSkDAIUiEEIwiSIRNwMAIAkgESAJKQMAIhJ8IBBCEIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAFIBAgBSkDAIVCAYk3AwAgAiAGKQMAIhAgAikDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDiAQIA4pAwCFIhBCIIkiETcDACAKIBEgCikDACISfCASQgGGQv7///8fgyAQQiCIfnwiEDcDACAGIBAgBikDAIUiEEIoiSIRNwMAIAIgESACKQMAIhJ8IBBCGIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAOIBAgDikDAIUiEEIwiSIRNwMAIAogESAKKQMAIhJ8IBBCEIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAGIBAgBikDAIVCAYk3AwAgAyAHKQMAIhAgAykDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDyAQIA8pAwCFIhBCIIkiETcDACALIBEgCykDACISfCASQgGGQv7///8fgyAQQiCIfnwiEDcDACAHIBAgBykDAIUiEEIoiSIRNwMAIAMgESADKQMAIhJ8IBBCGIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAPIBAgDykDAIUiEEIwiSIRNwMAIAsgESALKQMAIhJ8IBBCEIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAHIBAgBykDAIVCAYk3AwAgACAFKQMAIhAgACkDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDyAQIA8pAwCFIhBCIIkiETcDACAKIBEgCikDACISfCASQgGGQv7///8fgyAQQiCIfnwiEDcDACAFIBAgBSkDAIUiEEIoiSIRNwMAIAAgESAAKQMAIhJ8IBBCGIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAPIBAgDykDAIUiEEIwiSIRNwMAIAogESAKKQMAIhJ8IBBCEIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAFIBAgBSkDAIVCAYk3AwAgASAGKQMAIhAgASkDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDCAQIAwpAwCFIhBCIIkiETcDACALIBEgCykDACISfCASQgGGQv7///8fgyAQQiCIfnwiEDcDACAGIBAgBikDAIUiEEIoiSIRNwMAIAEgESABKQMAIhJ8IBBCGIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAMIBAgDCkDAIUiEEIwiSIRNwMAIAsgESALKQMAIhJ8IBBCEIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAGIBAgBikDAIVCAYk3AwAgAiAHKQMAIhAgAikDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDSAQIA0pAwCFIhBCIIkiETcDACAIIBEgCCkDACISfCASQgGGQv7///8fgyAQQiCIfnwiEDcDACAHIBAgBykDAIUiEEIoiSIRNwMAIAIgESACKQMAIhJ8IBBCGIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACANIBAgDSkDAIUiEEIwiSIRNwMAIAggESAIKQMAIhJ8IBBCEIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAHIBAgBykDAIVCAYk3AwAgAyAEKQMAIhAgAykDACIRfCARQgGGQv7///8fgyAQQv////8Pg358IhA3AwAgDiAQIA4pAwCFIhBCIIkiETcDACAJIBEgCSkDACISfCASQgGGQv7///8fgyAQQiCIfnwiEDcDACAEIBAgBCkDAIUiEEIoiSIRNwMAIAMgESADKQMAIhJ8IBBCGIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAOIBAgDikDAIUiEEIwiSIRNwMAIAkgESAJKQMAIhJ8IBBCEIhC/////w+DIBJCAYZC/v///x+DfnwiEDcDACAEIBAgBCkDAIVCAYk3AwALhxoBAX9BACEEQQAgAikDACABKQMAhTcDkAhBACACKQMIIAEpAwiFNwOYCEEAIAIpAxAgASkDEIU3A6AIQQAgAikDGCABKQMYhTcDqAhBACACKQMgIAEpAyCFNwOwCEEAIAIpAyggASkDKIU3A7gIQQAgAikDMCABKQMwhTcDwAhBACACKQM4IAEpAziFNwPICEEAIAIpA0AgASkDQIU3A9AIQQAgAikDSCABKQNIhTcD2AhBACACKQNQIAEpA1CFNwPgCEEAIAIpA1ggASkDWIU3A+gIQQAgAikDYCABKQNghTcD8AhBACACKQNoIAEpA2iFNwP4CEEAIAIpA3AgASkDcIU3A4AJQQAgAikDeCABKQN4hTcDiAlBACACKQOAASABKQOAAYU3A5AJQQAgAikDiAEgASkDiAGFNwOYCUEAIAIpA5ABIAEpA5ABhTcDoAlBACACKQOYASABKQOYAYU3A6gJQQAgAikDoAEgASkDoAGFNwOwCUEAIAIpA6gBIAEpA6gBhTcDuAlBACACKQOwASABKQOwAYU3A8AJQQAgAikDuAEgASkDuAGFNwPICUEAIAIpA8ABIAEpA8ABhTcD0AlBACACKQPIASABKQPIAYU3A9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AEEGQGEGQEEGQIEEAEANBkBhBkBhBkCBBABADC0EAKAKICCIEIAJBCnRqIAQgHkEKdGogBCAfQQN0QZAYaikDACIVQiCIpyAFcCAcIBgbIh4gA2wgASABQQAgFCAerVEiHhsiHyAdGyAZaiAfIApqIBAbIAFFIB5yayIdIBdqrSAVQv////8PgyIVIBV+QiCIIB2tfkIgiH0gDIKnakEKdGpBARADIAJBAWohAiABQQFqIgEgCEcNAAwCCwsDQCACQQAgAyABG0EAIBNQIh0bakF/aiEeAkACQCAaRQ0AAkAgAUH/AHEiBA0AQQBBACkDwBBCAXw3A8AQQZAYQZAQQZAgQQAQA0GQGEGQGEGQIEEAEAMLIB5BCnQhHiAEQQN0QZAYaiEfQQAoAogIIQQMAQtBACgCiAgiBCAeQQp0Ih5qIR8LIAQgAkEKdGogBCAeaiAEIB8pAwAiFUIgiKcgBXAgHCAYGyIeIANsIAEgAUEAIBQgHq1RIh4bIh8gHRsgGWogHyAKaiAQGyABRSAecmsiHSAXaq0gFUL/////D4MiFSAVfkIgiCAdrX5CIIh9IAyCp2pBCnRqQQEQAyACQQFqIQIgAUEBaiIBIAhHDQALCyAUQgF8IhQgC1INAAsLIBNCAXwiE6chASATQgRSDQALIA9CAXwiDyAHUg0AC0EAKAKICCECCyAJQQx0QYB4aiEZAkAgBUF/aiIQRQ0AQQAhBQNAIAUgA2wgA2pBCnRBgHhqIRxBeCEEQQAhAQNAIAIgASAZamoiCCAIKQMAIAIgHCABamopAwCFNwMAIAFBCGohASAEQQhqIgRB+AdJDQALIAVBAWoiBSAQRw0ACwtBACEBA0AgAiABaiACIAEgGWpqKQMANwMAIAFB+AdJIQMgAUEIaiEBIAMNAAsLCw==",hash:"59aa4fb4"};const H=new DataView(new ArrayBuffer(4));function _(e){return H.setInt32(0,e,!0),new Uint8Array(H.buffer)}function R(e,t,A){return i(this,void 0,void 0,(function*(){if(A<=64){const e=yield U(8*A);return e.update(_(A)),e.update(t),e.digest("binary")}const i=Math.ceil(A/32)-2,r=new Uint8Array(A);e.init(),e.update(_(A)),e.update(t);let n=e.digest("binary");r.set(n.subarray(0,32),0);for(let t=1;t{if(!e||"object"!=typeof e)throw new Error("Invalid options parameter. It requires an object.");if(!e.password)throw new Error("Password must be specified");if(e.password=u(e.password),e.password.length<1)throw new Error("Password must be specified");if(!e.salt)throw new Error("Salt must be specified");if(e.salt=u(e.salt),e.salt.length<8)throw new Error("Salt should be at least 8 bytes long");if(!Number.isInteger(e.iterations)||e.iterations<1)throw new Error("Iterations should be a positive number");if(!Number.isInteger(e.parallelism)||e.parallelism<1)throw new Error("Parallelism should be a positive number");if(!Number.isInteger(e.hashLength)||e.hashLength<4)throw new Error("Hash length should be at least 4 bytes.");if(!Number.isInteger(e.memorySize))throw new Error("Memory size should be specified.");if(e.memorySize<8*e.parallelism)throw new Error("Memory size should be at least 8 * parallelism.");if(void 0===e.outputType&&(e.outputType="hex"),!["hex","binary","encoded"].includes(e.outputType))throw new Error(`Insupported output type ${e.outputType}. Valid values: ['hex', 'binary', 'encoded']`)};const x=(e,t)=>{const i=t.match(/^\$argon2(id|i|d)\$v=([0-9]+)\$((?:[mtp]=[0-9]+,){2}[mtp]=[0-9]+)\$([A-Za-z0-9+/]+)\$([A-Za-z0-9+/]+)$/);if(!i)throw new Error("Invalid hash");const[,A,r,n,o,a]=i;if("19"!==r)throw new Error(`Unsupported version: ${r}`);const s={},c={m:"memorySize",p:"parallelism",t:"iterations"};return n.split(",").forEach((e=>{const[t,i]=e.split("=");s[c[t]]=parseInt(i,10)})),Object.assign(Object.assign({},s),{password:e,hashType:A,salt:p(o),hashLength:B(a),outputType:"encoded"})},J=e=>{if(!e||"object"!=typeof e)throw new Error("Invalid options parameter. It requires an object.");if(void 0===e.hash||"string"!=typeof e.hash)throw new Error("Hash should be specified")};var Y={name:"blake2s",data:"AGFzbQEAAAABEQRgAAF/YAJ/fwBgAX8AYAAAAwkIAAECAwICAAEEBQFwAQEBBQQBAQICBg4CfwFBoIoFC38AQYAICwdwCAZt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NwMIIABBACkDkIkBNwMQIABBACkDmIkBNwMYQQAoAvSJASIDQQBMDQBBACABOgCACSADQQFGDQBBASEBQQEhAgNAIAFBgAlqIAAgAWotAAA6AAAgAyACQQFqIgJB/wFxIgFKDQALCyAAQSBqJAALoAMBBH8jAEHAAGsiASQAQQBBgQI7AYKKAUEAIABBEHYiAjoAgYoBQQAgAEEDdjoAgIoBQYR/IQADQCAAQfyJAWpBADoAACAAQQFqIgMgAE8hBCADIQAgBA0AC0EAIQBBAEEAKAKAigEiA0HnzKfQBnM2AoCJAUEAQQAoAoSKAUGF3Z7be3M2AoSJAUEAQQAoAoiKAUHy5rvjA3M2AoiJAUEAQQAoAoyKAUG66r+qenM2AoyJAUEAQQAoApCKAUH/pLmIBXM2ApCJAUEAQQAoApSKAUGM0ZXYeXM2ApSJAUEAQQAoApiKAUGrs4/8AXM2ApiJAUEAIANB/wFxNgL0iQFBAEEAKAKcigFBmZqD3wVzNgKciQECQCACRQ0AIAFBOGpCADcDACABQTBqQgA3AwAgAUEoakIANwMAIAFBIGpCADcDACABQRhqQgA3AwAgAUEQakIANwMAIAFCADcDCCABQgA3AwBBACEDA0AgASAAaiAAQYAJai0AADoAACACIANBAWoiA0H/AXEiAEsNAAsgAUHAABABCyABQcAAaiQACwkAQYAJIAAQAQsGAEGAiQELDwAgARAEQYAJIAAQARADCwsLAQBBgAgLBHwAAAA=",hash:"0f570f49"};const O=new A;let L=null;function P(e){return!Number.isInteger(e)||e<8||e>256||e%8!=0?new Error("Invalid variant! Valid values: 8, 16, ..., 256"):null}function Z(e,t){return e|t<<16}var z={name:"blake3",data:"AGFzbQEAAAABJQZgAAF/YAF/AGADf39/AGAGf39/f35/AGABfgBgBX9/fn9/AX8DDQwAAQIDBAUBAQEBAAIEBQFwAQEBBQQBAQICBg4CfwFBgJgFC38AQYAICwdwCAZtZW1vcnkCAA5IYXNoX0dldEJ1ZmZlcgAACUhhc2hfSW5pdAAHC0hhc2hfVXBkYXRlAAgKSGFzaF9Ga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iEPA0AgBEIKhiEKQgEgAEEBcq15Qj+FhqchAgNAIAIiEEEBdiECIAogEEF/aq2DQgBSDQALIBBBCnatIQ0CQAJAIBBBgAhLDQAgAUEAOwHYASABQgA3A9ABIAFCADcDyAEgAUIANwPAASABQgA3A7gBIAFCADcDsAEgAUIANwOoASABQgA3A6ABIAFCADcDmAEgAUEAKQOAiQE3A3AgAUEAKQOIiQE3A3ggAUEAKQOQiQE3A4ABIAFBAC0AiooBOgDaASABQQApA5iJATcDiAEgASAENwOQASABQfAAaiADIBAQAiABIAEpA3AiBDcDACABIAEpA3giBTcDCCABIAEpA4ABIgY3AxAgASABKQOIASIHNwMYIAEgASkDmAE3AyggASABKQOgATcDMCABIAEpA6gBNwM4IAEtANoBIQIgAS0A2QEhCyABKQOQASEKIAEgAS0A2AEiCDoAaCABIAo3AyAgASABKQOwATcDQCABIAEpA7gBNwNIIAEgASkDwAE3A1AgASABKQPIATcDWCABIAEpA9ABNwNgIAEgAiALRXJBAnIiAjoAaSABIAc3A/gBIAEgBjcD8AEgASAFNwPoASABIAQ3A+ABIAFBgAJqIAFB4AFqIA8gCCAKIAJB/wFxEAMgASkDoAIhBCABKQOAAiEFIAEpA6gCIQYgASkDiAIhByABKQOwAiEMIAEpA5ACIQ4gASkDuAIhESABKQOYAiESIAoQBEEAQQAtAJCKASICQQFqOgCQigEgAkEFdCICQamKAWogESAShTcDACACQaGKAWogDCAOhTcDACACQZmKAWogBiAHhTcDACACQZGKAWogBCAFhTcDAAwBCwJAAkAgAyAQIARBAC0AiooBIgIgAUHwAGoQBSITQQJLDQAgASkDiAEhCiABKQOAASEEIAEpA3ghBSABKQNwIQYMAQsgAkEEciEUA0AgE0F+akEBdiIVQQFqIQggAUHIAmohAiABQfAAaiELA0AgAiALNgIAIAtBwABqIQsgAkEEaiECIAhBf2oiCA0ACyABIQIgAUHIAmohCyAVQQFqIhYhCANAIAsoAgAhCSABQQApA4CJATcD4AEgAUEAKQOIiQE3A+gBIAFBACkDkIkBNwPwASABQQApA5iJATcD+AEgAUGAAmogAUHgAWogCUHAAEIAIBQQAyABKQOgAiEKIAEpA4ACIQQgASkDqAIhBSABKQOIAiEGIAEpA7ACIQcgASkDkAIhDCACQRhqIAEpA7gCIAEpA5gChTcDACACQRBqIAcgDIU3AwAgAkEIaiAFIAaFNwMAIAIgCiAEhTcDACACQSBqIQIgC0EEaiELIAhBf2oiCA0ACwJAAkAgE0F+cSATSQ0AIBYhEwwBCyABIBZBBXRqIgIgAUHwAGogFkEGdGoiCykDADcDACACIAspAwg3AwggAiALKQMQNwMQIAIgCykDGDcDGCAVQQJqIRMLIAEgASkDACIGNwNwIAEgASkDCCIFNwN4IAEgASkDECIENwOAASABIAEpAxgiCjcDiAEgE0ECSw0ACwsgASkDkAEhByABKQOYASEMIAEpA6ABIQ4gASkDqAEhEUEAKQPAiQEQBEEALQCQigEiC0EFdCICQaGKAWogBDcDACACQZmKAWogBTcDAEEAIAtBAWo6AJCKASACQZGKAWogBjcDACACQamKAWogCjcDAEEAKQPAiQEgDUIBiHwQBEEAQQAtAJCKASICQQFqOgCQigEgAkEFdCICQamKAWogETcDACACQaGKAWogDjcDACACQZmKAWogDDcDACACQZGKAWogBzcDAAtBAEEAKQPAiQEgDXwiBDcDwIkBIAMgEGohAyAAIBBrIgBBgAhLDQALIABFDQELQaCJASADIAAQAkEAKQPAiQEQBAsgAUHQAmokAAvwBAEFfyMAQcAAayIDJAACQAJAIAAtAGgiBEUNAAJAIAJBwAAgBGsiBSAFIAJLGyIGRQ0AIAAgBGpBKGohBCABIQUgBiEHA0AgBCAFLQAAOgAAIAVBAWohBSAEQQFqIQQgB0F/aiIHDQALIAAtAGghBAsgACAEIAZqIgQ6AGggASAGaiEBAkAgAiAGayICDQBBACECDAILIAMgACAAQShqQcAAIAApAyAgAC0AaiAAQekAaiIELQAARXIQAyAAIAMpAyAgAykDAIU3AwAgACADKQMoIAMpAwiFNwMIIAAgAykDMCADKQMQhTcDECAAIAMpAzggAykDGIU3AxggA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oASEKIAUpA4gBIQsgBSkDsAEhDCAFKQOQASETIAhBGGogBSkDuAEgBSkDmAGFNwMAIAhBEGogDCAThTcDACAIQQhqIAogC4U3AwAgCCACIAmFNwMAIAhBIGohCCAHQQRqIQcgDUF/aiINDQALIABBfnEhDQsgDSAATw0AIAQgBkEFdGoiCCAFIAZBBnRqIgcpAwA3AwAgCCAHKQMINwMIIAggBykDEDcDECAIIAcpAxg3AxggBkEBaiEGCyAFQdACaiQAIAYLvREIAn8EfgF/AX4EfwN+An8BfiMAQfABayIBJAACQCAARQ0AAkBBAC0AkIoBIgINACABQTBqQQApA9CJATcDACABQThqQQApA9iJATcDACABQQApA6CJASIDNwMAIAFBACkDqIkBIgQ3AwggAUEAKQOwiQEiBTcDECABQQApA7iJASIGNwMYIAFBACkDyIkBNwMoQQAtAIqKASECQQAtAImKASEHQQApA8CJASEIQQAtAIiKASEJIAFBwABqQQApA+CJATcDACABQcgAakEAKQPoiQE3AwAgAUHQAGpBACkD8IkBNwMAIAFB2ABqQQApA/iJATcDACABQeAAakEAKQOAigE3AwAgASAJOgBoIAEgCDcDICABIAIgB0VyQQJyIgI6AGkgAUHwAGpBAXIhCiABQShqIQtCACEIQYAJIQwDQCABQbABaiABIAsgCUH/AXEgCCACQQhyQf8BcRADIAEgASkD2AEiDSABKQO4AYU3A3ggASABKQPgASIOIAEpA8ABhTcDgAEgASAGIAEpA+gBIg+FNwOoASABIAUgDoU3A6ABIAEgBCANhTcDmAEgASADIAEpA9ABIg2FNwOQASABIA8gASkDyAGFNwOIASAAQcAAIABBwABJGyIQQX9qIQkgASANIAEpA7ABhSINNwNwIA2nIREgCiEHIAwhAgJAA0AgAiAROgAAIAlFDQEgCUF/aiEJIAJBAWohAiAHLQAAIREgB0EBaiEHDAALCyAAIBBrIgBFDQIgDCAQaiEMIAhCAXwhCCABKQMIIQQgASkDACEDIAEpAxghBiABKQMQIQUgAS0AaSECIAEtAGghCQwACwsCQAJAAkBBAC0AiYoBIglBBnRBAEEALQCIigEiDGtGDQAgAUHgAGpBACkDgIoBNwMAIAFB2ABqQQApA/iJATcDACABQdAAakEAKQPwiQE3AwAgAUHIAGpBACkD6IkBNwMAIAFBwABqQQApA+CJATcDACABQThqQQApA9iJATcDACABQTBqQQApA9CJATcDACABQQApA8iJATcDKCABQQApA8CJASIINwMgIAFBACkDuIkBIg03AxggAUEAKQOwiQEiDjcDECABQQApA6iJASIPNwMIIAFBACkDoIkBIgM3AwBBAC0AiooBIQcgAUHuAGogAUG0AWovAQA7AQAgASABKAGwATYBaiABIAw6AGggASAHIAlFckECciIJOgBpDAELIAFB4ABqIAJBfmoiAkEFdCIJQcmKAWopAwA3AwAgAUHYAGogCUHBigFqKQMANwMAIAFB0ABqIAlBuYoBaikDADcDACABQcgAaiAJQbGKAWopAwA3AwBBwAAhDCABQcAAaiAJQamKAWopAwA3AwAgAUE4aiAJQaGKAWopAwA3AwAgAUEwaiAJQZmKAWopAwA3AwBCACEIIAFCADcDICABQQApA5iJASINNwMYIAFBACkDkIkBIg43AxAgAUEAKQOIiQEiDzcDCCABQQApA4CJASIDNwMAIAEgCUGRigFqKQMANwMoQQAtAIqKASEJIAFB7gBqIAFBsAFqQQRqLwEAOwEAIAEgASgBsAE2AWogASAJQQRyIgk6AGkgAUHAADoAaCACRQ0BCyACQX9qIgdBBXQiEUGRigFqKQMAIQQgEUGZigFqKQMAIQUgEUGhigFqKQMAIQYgEUGpigFqKQMAIRIgASANNwOIASABIA43A4ABIAEgDzcDeCABIAM3A3AgAUGwAWogAUHwAGogAUEoaiIQIAwgCCAJQf8BcRADIAFBwAA6AGggASASNwNAIAEgBjcDOCABIAU3AzAgASAENwMoIAFCADcDICABQQApA5iJASIINwMYIAFBACkDkIkBIg03AxAgAUEAKQOIiQEiDjcDCCABQQApA4CJASIPNwMAIAFBAC0AiooBQQRyIgk6AGkgASABKQPoASABKQPIAYU3A2AgASABKQPgASABKQPAAYU3A1ggASABKQPYASABKQO4AYU3A1AgASABKQPQASABKQOwAYU3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FBAEIANwOAigFBAEIANwP4iQFBAEIANwPwiQFBAEIANwPoiQFBAEIANwPgiQFBAEIANwPYiQFBAEIANwPQiQFBAEIANwPIiQFBAEIANwPAiQFBACABNwO4iQFBACACNwOwiQFBACADNwOoiQFBACAENwOgiQFBACABNwOYiQFBACACNwOQiQFBACADNwOIiQFBACAENwOAiQFBAEEAOgCQigFBAEEAOwGIigELBgAgABABCwYAIAAQBgsGAEGAiQELqwIBBH4CQAJAIAFBIEYNAEKrs4/8kaOz8NsAIQNC/6S5iMWR2oKbfyEEQvLmu+Ojp/2npX8hBULnzKfQ1tDrs7t/IQZBACEBDAELQQApA5gJIQNBACkDkAkhBEEAKQOICSEFQQApA4AJIQZBECEBC0EAIAE6AIqKAUEAQgA3A4CKAUEAQgA3A/iJAUEAQgA3A/CJAUEAQgA3A+iJAUEAQgA3A+CJAUEAQgA3A9iJAUEAQgA3A9CJAUEAQgA3A8iJAUEAQgA3A8CJAUEAIAM3A7iJAUEAIAQ3A7CJAUEAIAU3A6iJAUEAIAY3A6CJAUEAIAM3A5iJAUEAIAQ3A5CJAUEAIAU3A4iJAUEAIAY3A4CJAUEAQQA6AJCKAUEAQQA7AYiKASAAEAEgAhAGCwsLAQBBgAgLBHgHAAA=",hash:"e8655383"};const T=new A;let X=null;function V(e){return!Number.isInteger(e)||e<8||e%8!=0?new Error("Invalid variant! Valid values: 8, 16, ..."):null}var j={name:"crc32",data:"AGFzbQEAAAABEQRgAAF/YAF/AGAAAGACf38AAwgHAAEBAQIAAwQFAXABAQEFBAEBAgIGDgJ/AUGQyQULfwBBgAgLB3AIBm1lbW9yeQIADkhhc2hfR2V0QnVmZmVyAAAJSGFzaF9Jbml0AAILSGFzaF9VcGRhdGUAAwpIYXNoX0ZpbmFsAAQNSGFzaF9HZXRTdGF0ZQAFDkhhc2hfQ2FsY3VsYXRlAAYKU1RBVEVfU0laRQMBCq0HBwUAQYAJC8MDAQN/QYCJASEBQQAhAgNAIAFBAEEAQQBBAEEAQQBBA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gARABQQAgATYCgMkBC0EAQQA2AoTJASAAEANBAEEAKAKEyQEiAUEYdCABQQh0QYCA/AdxciABQQh2QYD+A3EgAUEYdnJyNgKACQsLCwEAQYAICwQEAAAA",hash:"749723dc"};const W=new A;let $=null;const ee=new A;let te=null;var ie={name:"md4",data:"AGFzbQEAAAABEgRgAAF/YAAAYAF/AGACf38BfwMIBwABAgMBAAIEBQFwAQEBBQQBAQICBg4CfwFBoIoFC38AQYAICwdwCAZtZW1vcnkCAA5IYXNoX0dldEJ1ZmZlcgAACUhhc2hfSW5pdAABC0hhc2hfVXBkYXRlAAIKSGFzaF9GaW5hbAAEDUhhc2hfR2V0U3RhdGUABQ5IYXNoX0NhbGN1bGF0ZQAGClNUQVRFX1NJWkUDAQqXEQcFAEGACQstAEEAQv6568XpjpWZEDcCkIkBQQBCgcaUupbx6uZvNwKIiQFBAEIANwKAiQEL6AIBA39BAEEAKAKAiQEiASAAakH/////AXEiAjYCgIkBQQAoAoSJASEDAkAgAiABTw0AQQAgA0EBaiIDNgKEiQELQQAgAyAAQR12ajYChIkBAkACQAJAAkACQAJAIAFBP3EiAw0AQYAJIQIMAQtBwAAgA2siAiAASw0BIANBGGohA0EAIQEDQCADIAFqQYCJAWogAUGACWotAAA6AAAgAyABQQFqIgFqQdgARw0AC0GYiQFBwAAQAxogACACayEAIAJBgAlqIQILIABBwABPDQEgACEDDAILIABFDQJBACEBIANBmIkBakEALQCACToAACAAQQFGDQIgA0GZiQFqIQMgAEF/aiECA0AgAyABaiABQYEJai0AADoAACACIAFBAWoiAUcNAAwDCwsgAEE/cSEDIAIgAEFAcRADIQILIANFDQBBACEBA0AgAUGYiQFqIAIgAWotAAA6AAAgAyABQQFqIgFHDQALCwuYCwEXf0EAKAKUiQEhAkEAKAKQiQEhA0EAKAKMiQEhBEEAKAKIiQEhBQNAIABBHGooAgAiBiAAQRRqKAIAIgcgAEEYaigCACIIIABBEGooAgAiCSAAQSxqKAIAIgogAEEoaigCACILIABBJGooAgAiDCAAQSBqKAIAIg0gCyAIIABBCGooAgAiDiADaiAAQQRqKAIAIg8gAmogBCADIAJzcSACcyAFaiAAKAIAIhBqQQN3IhEgBCADc3EgA3NqQQd3IhIgESAEc3EgBHNqQQt3IhNqIBIgB2ogESAJaiAAQQxqKAIAIhQgBGogEyASIBFzcSARc2pBE3ciESATIBJzcSASc2pBA3ciEiARIBNzcSATc2pBB3ciEyASIBFzcSARc2pBC3ciFWogEyAMaiASIA1qIBEgBmogFSATIBJzcSASc2pBE3ciESAVIBNzcSATc2pBA3ciEiARIBVzcSAVc2pBB3ciEyASIBFzcSARc2pBC3ciFSAAQThqKAIAIhZqIBMgAEE0aigCACIXaiASIABBMGooAgAiGGogESAKaiAVIBMgEnNxIBJzakETdyISIBUgE3NxIBNzakEDdyITIBIgFXNxIBVzakEHdyIVIBMgEnNxIBJzakELdyIRaiAJIBVqIBAgE2ogEiAAQTxqKAIAIglqIBEgFSATc3EgE3NqQRN3IhIgESAVcnEgESAVcXJqQZnzidQFakEDdyITIBIgEXJxIBIgEXFyakGZ84nUBWpBBXciESATIBJycSATIBJxcmpBmfOJ1AVqQQl3IhVqIAcgEWogDyATaiAYIBJqIBUgESATcnEgESATcXJqQZnzidQFakENdyISIBUgEXJxIBUgEXFyakGZ84nUBWpBA3ciESASIBVycSASIBVxcmpBmfOJ1AVqQQV3IhMgESAScnEgESAScXJqQZnzidQFakEJdyIVaiAIIBNqIA4gEWogFyASaiAVIBMgEXJxIBMgEXFyakGZ84nUBWpBDXciESAVIBNycSAVIBNxcmpBmfOJ1AVqQQN3IhIgESAVcnEgESAVcXJqQZnzidQFakEFdyITIBIgEXJxIBIgEXFyakGZ84nUBWpBCXciFWogBiATaiAUIBJqIBYgEWogFSATIBJycSATIBJxcmpBmfOJ1AVqQQ13IhEgFSATcnEgFSATcXJqQZnzidQFakEDdyISIBEgFXJxIBEgFXFyakGZ84nUBWpBBXciEyASIBFycSASIBFxcmpBmfOJ1AVqQQl3IhVqIBAgEmogCSARaiA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gAgLBJgAAAA=",hash:"1bf01052"};const Ae=new A;let re=null;var ne={name:"md5",data:"AGFzbQEAAAABEgRgAAF/YAAAYAF/AGACf38BfwMIBwABAgMBAAIEBQFwAQEBBQQBAQICBg4CfwFBoIoFC38AQYAICwdwCAZtZW1vcnkCAA5IYXNoX0dldEJ1ZmZlcgAACUhhc2hfSW5pdAABC0hhc2hfVXBkYXRlAAIKSGFzaF9GaW5hbAAEDUhhc2hfR2V0U3RhdGUABQ5IYXNoX0NhbGN1bGF0ZQAGClNUQVRFX1NJWkUDAQqzFgcFAEGACQstAEEAQv6568XpjpWZEDcCkIkBQQBCgcaUupbx6uZvNwKIiQFBAEIANwKAiQEL6AIBA39BAEEAKAKAiQEiASAAakH/////AXEiAjYCgIkBQQAoAoSJASEDAkAgAiABTw0AQQAgA0EBaiIDNgKEiQELQQAgAyAAQR12ajYChIkBAkACQAJAAkACQAJAIAFBP3EiAw0AQYAJIQIMAQtBwAAgA2siAiAASw0BIANBGGohA0EAIQEDQCADIAFqQYCJAWogAUGACWotAAA6AAAgAyABQQFqIgFqQdgARw0AC0GYiQFBwAAQAxogACACayEAIAJBgAlqIQILIABBwABPDQEgACEDDAILIABFDQJBACEBIANBmIkBakEALQCACToAACAAQQFGDQIgA0GZiQFqIQMgAEF/aiECA0AgAyABaiABQYEJai0AADoAACACIAFBAWoiAUcNAAwDCwsgAEE/cSEDIAIgAEFAcRADIQILIANFDQBBACEBA0AgAUGYiQFqIAIgAWotAAA6AAAgAyABQQFqIgFHDQALCwu0EAEZf0EAKAKUiQEhAkEAKAKQiQEhA0EAKAKMiQEhBEEAKAKIiQEhBQNAIABBCGooAgAiBiAAQRhqKAIAIgcgAEEoaigCACIIIABBOGooAgAiCSAAQTxqKAIAIgogAEEMaigCACILIABBHGooAgAiDCAAQSxqKAIAIg0gDCALIAogDSAJIAggByADIAZqIAIgAEEEaigCACIOaiAFIAQgAiADc3EgAnNqIAAoAgAiD2pB+Miqu31qQQd3IARqIhAgBCADc3EgA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FBAEIANwPIiwFBAEIANwPAiwFBAEIANwO4iwFBAEIANwOwiwFBAEIANwOoiwFBAEIANwOgiwFBAEIANwOYiwFBAEIANwOQiwFBAEIANwOIiwFBAEIANwOAiwFBAEIANwP4igFBAEIANwPwigFBAEIANwPoigFBAEIANwPgigFBAEIANwPYigFBAEIANwPQigFBAEIANwPIigFBAEIANwPAigFBAEIANwO4igFBAEIANwOwigFBAEIANwOoigFBAEIANwOgigFBAEIANwOYigFBAEIANwOQigFBAEIANwOIigFBAEIANwOAigFBAEHADCAAQQF0a0EDdjYCjI0BQQBBADYCiI0BC/8BAQZ/AkBBACgCiI0BIgFBAEgNAEEAIAEgAGpBACgCjI0BIgJwNgKIjQECQAJAIAENAEGACiEBDAELAkAgACACIAFrIgMgAyAASyIEGyIFRQ0AIAFByIsBaiEGQQAhAQNAIAYgAWogAUGACmotAAA6AAAgBSABQQFqIgFHDQALCyAEDQFBgIoBQciLASACEAMgACADayEAIANBgApqIQELAkAgACACSQ0AA0BBgIoBIAEgAhADIAEgAmohASAAIAJrIgAgAk8NAAsLIABFDQBBACECQQAhBQNAIAJByIsBaiABIAJqLQAAOgAAIAAgBUEBaiIFQf8BcSICSw0ACwsLyAoBKH4gACAAKQMAIAEpAwCFIgM3AwAgACAAKQMIIAEpAwiFIgQ3AwggACAAKQMQIAEpAxCFIgU3AxAgACAAKQMYIAEpAxiFIgY3AxggACAAKQMgIAEpAyCFIgc3AyAgACAAKQMoIAEpAyiFIgg3AyggACAAKQMwIAEpAzCFIgk3AzAgACAAKQM4IAEpAziFIgo3AzggACAAKQNAIAEpA0CFIgs3A0ACQAJAIAJByABLDQAgACkDUCEMIAApA2AhDSAAKQNIIQ4gACkDWCEPDAELIAAgACkDSCABKQNIhSIONwNIIAAgACkDUCABKQNQhSIMNwNQIAAgACkDWCABKQNYhSIPNwNYIAAgACkDYCABKQNghSINNwNgIAJB6QBJDQAgACAAKQNoIAEpA2iFNwNoIAAgACkDcCABKQNwhTcDcCAAIAApA3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ADcDsIoBQQBCADcDqIoBQQBCADcDoIoBQQBCADcDmIoBQQBCADcDkIoBQQBCADcDiIoBQQBCADcDgIoBQQBBwAwgAUEBdGtBA3Y2AoyNAUEAQQA2AoiNASAAEAJB5ABBACgCjI0BIgFBAXZrIQMCQEEAKAKIjQEiAEEASA0AIAEhBAJAIAEgAEYNACAAQciLAWohBUEAIQADQCAFIABqQQA6AAAgAEEBaiIAIAFBACgCiI0BIgRrSQ0ACwsgBEHIiwFqIgAgAC0AACACcjoAACABQceLAWoiACAALQAAQYABcjoAAEGAigFByIsBIAEQA0EAQYCAgIB4NgKIjQELAkAgA0ECdiIBRQ0AQQAhAANAIABBgApqIABBgIoBaigCADYCACAAQQRqIQAgAUF/aiIBDQALCwsLzAEBAEGACAvEAQEAAAAAAAAAgoAAAAAAAACKgAAAAAAAgACAAIAAAACAi4AAAAAAAAABAACAAAAAAIGAAIAAAACACYAAAAAAAICKAAAAAAAAAIgAAAAAAAAACYAAgAAAAAAKAACAAAAAAIuAAIAAAAAAiwAAAAAAAICJgAAAAAAAgAOAAAAAAACAAoAAAAAAAICAAAAAAAAAgAqAAAAAAAAACgAAgAAAAICBgACAAAAAgICAAAAAAACAAQAAgAAAAAAIgACAAAAAgJABAAA=",hash:"ec266d91"};const he=new A;let ue=null;function ge(e){return[224,256,384,512].includes(e)?null:new Error("Invalid variant! Valid values: 224, 256, 384, 512")}const de=new A;let le=null;function Be(e){return[224,256,384,512].includes(e)?null:new Error("Invalid variant! Valid values: 224, 256, 384, 512")}var pe={name:"sha256",data:"AGFzbQEAAAABEQRgAAF/YAF/AGACf38AYAAAAwgHAAEBAgMAAgQFAXABAQEFBAEBAgIGDgJ/AUHwiQULfwBBgAgLB3AIBm1lbW9yeQIADkhhc2hfR2V0QnVmZmVyAAAJSGFzaF9Jbml0AAELSGFzaF9VcGRhdGUAAgpIYXNoX0ZpbmFsAAQNSGFzaF9HZXRTdGF0ZQAFDkhhc2hfQ2FsY3VsYXRlAAYKU1RBVEVfU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AFBGHZycjYCzIkBQQBBACgCyIkBIgFBGHQgAUEIdEGAgPwHcXIgAUEIdkGA/gNxIAFBGHZyciIBNgLIiQECQEEAKALoiQEiBEUNAEEAIAE6AIAJIARBAUYNACABQQh2IQNBASEBQQEhAgNAIAFBgAlqIAM6AAAgBCACQQFqIgJB/wFxIgFNDQEgAUHIiQFqLQAAIQMMAAsLCwYAQYCJAQujAQBBAEIANwPAiQFBAEEcQSAgAUHgAUYiARs2AuiJAUEAQqef5qfG9JP9vn9Cq7OP/JGjs/DbACABGzcD4IkBQQBCsZaA/p+ihazoAEL/pLmIxZHagpt/IAEbNwPYiQFBAEKXusODk6eWh3dC8ua746On/aelfyABGzcD0IkBQQBC2L2WiPygtb42QufMp9DW0Ouzu38gARs3A8iJASAAEAIQBAsLCwEAQYAICwRwAAAA",hash:"817d957e"};const Ce=new A;let Qe=null;const Ee=new A;let ye=null;function be(){return b(pe,32).then((e=>{e.init(256);const t={init:()=>(e.init(256),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:32};return t}))}var me={name:"sha512",data:"AGFzbQEAAAABEQRgAAF/YAF/AGACf38AYAAAAwgHAAEBAgMAAgQFAXABAQEFBAEBAgIGDgJ/AUHQigULfwBBgAgLB3AIBm1lbW9yeQIADkhhc2hfR2V0QnVmZmVyAAAJSGFzaF9Jbml0AAELSGFzaF9VcGRhdGUAAgpIYXNoX0ZpbmFsAAQNSGFzaF9HZXRTdGF0ZQAFDkhhc2hfQ2FsY3VsYXRlAAYKU1RBVEVfU0laRQMBCvhnBwUAQYAJC5sCAEEAQgA3A4CKAUEAQTBBwAAgAEGAA0YiABs2AsiKAUEAQqSf6ffbg9LaxwBC+cL4m5Gjs/DbACAAGzcDwIoBQQBCp5/mp9bBi4ZbQuv6htq/tfbBHyAAGzcDuIoBQQBCkargwvbQktqOf0Kf2PnZwpHagpt/IAAbNwOwigFBAEKxloD+/8zJmecAQtGFmu/6z5S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CgID8B4OEIABCKIhCgP4DgyAAQjiIhISEIgA3A4iKAQJAQQAoAsiKASIDRQ0AQQAgADwAgAkgA0EBRg0AIABCCIinIQRBASEBQQEhAgNAIAFBgAlqIAQ6AAAgAyACQQFqIgJB/wFxIgFNDQEgAUGIigFqLQAAIQQMAAsLCwYAQYCJAQuhAgBBAEIANwOAigFBAEEwQcAAIAFBgANGIgEbNgLIigFBAEKkn+n324PS2scAQvnC+JuRo7Pw2wAgARs3A8CKAUEAQqef5qfWwYuGW0Lr+obav7X2wR8gARs3A7iKAUEAQpGq4ML20JLajn9Cn9j52cKR2oKbfyABGzcDsIoBQQBCsZaA/v/MyZnnAELRhZrv+s+Uh9EAIAEbNwOoigFBAEK5srm4j5v7lxVC8e30+KWn/aelfyABGzcDoIoBQQBCl7rDg6OrwKyRf0Kr8NP0r+68tzwgARs3A5iKAUEAQoeq87OjpYrN4gBCu86qptjQ67O7fyABGzcDkIoBQQBC2L2WiNyr591LQoiS853/zPmE6gAgARs3A4iKASAAEAIQBAsLCwEAQYAICwTQAAAA",hash:"a5d1ca7c"};const we=new A;let ve=null;const De=new A;let Se=null;var Fe={name:"xxhash32",data:"AGFzbQEAAAABEQRgAAF/YAF/AGAAAGACf38AAwcGAAEBAgADBAUBcAEBAQUEAQECAgYOAn8BQbCJBQt/AEGACAsHcAgGbWVtb3J5AgAOSGFzaF9HZXRCdWZmZXIAAAlIYXNoX0luaXQAAQtIYXNoX1VwZGF0ZQACCkhhc2hfRmluYWwAAw1IYXNoX0dldFN0YXRlAAQOSGFzaF9DYWxjdWxhdGUABQpTVEFURV9TSVpFAwEKswkGBQBBgAkLTQBBAEIANwOoiQFBACAANgKIiQFBACAAQc+Moo4GajYCjIkBQQAgAEH3lK+veGo2AoSJAUEAIABBqIiNoQJqNgKAiQFBAEEANgKgiQELswUBBn8CQCAARQ0AQQBBACkDqIkBIACtfDcDqIkBAkBBACgCoIkBIgEgAGpBD0sNAEEAIAFBAWo2AqCJASABQZCJAWpBAC0A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ZsgFsIAJqQQt3QbHz3fF5bCECIAUgAUEBaiIBRw0ACwtBACACQQ92IAJzQfeUr694bCIBQQ12IAFzQb3cypV8bCIBQRB2IAFzIgFBGHQgAUEIdEGAgPwHcXIgAUEIdkGA/gNxIAFBGHZycq03A4AJCwYAQYCJAQtTAEEAQgA3A6iJAUEAIAE2AoiJAUEAIAFBz4yijgZqNgKMiQFBACABQfeUr694ajYChIkBQQAgAUGoiI2hAmo2AoCJAUEAQQA2AqCJASAAEAIQAwsLCwEAQYAICwQwAAAA",hash:"5b6a5062"};const ke=new A;let Me=null;function Ne(e){return!Number.isInteger(e)||e<0||e>4294967295?new Error("Seed must be a valid 32-bit long unsigned integer."):null}var Ue={name:"xxhash64",data:"AGFzbQEAAAABDANgAAF/YAAAYAF/AAMHBgABAgEAAQQFAXABAQEFBAEBAgIGDgJ/AUHQiQULfwBBgAgLB3AIBm1lbW9yeQIADkhhc2hfR2V0QnVmZmVyAAAJSGFzaF9Jbml0AAELSGFzaF9VcGRhdGUAAgpIYXNoX0ZpbmFsAAMNSGFzaF9HZXRTdGF0ZQAEDkhhc2hfQ2FsY3VsYXRlAAUKU1RBVEVfU0laRQMBCqINBgUAQYAJC2MBAX5BAEIANwPIiQFBAEEAKQOACSIANwOQiQFBACAAQvnq0NDnyaHk4QB8NwOYiQFBACAAQs/W077Sx6vZQnw3A4iJAUEAIABC1uuC7ur9ifXgAHw3A4CJAUEAQQA2AsCJAQv/BQMDfwR+AX8CQCAARQ0AQQBBACkDyIkBIACtfDcDyIkBAkBBACgCwIkBIgEgAGpBH0sNAEEAIAFBAWo2AsCJASABQaCJAWpBAC0AgAk6AAAgAEEBRg0BQQEhAgNAQQBBACgCwIkBIgFBAWo2AsCJASABQaCJAWogAkGACWotAAA6AAAgACACQQFqIgJHDQAMAgsLIABB4AhqIQMCQAJAIAENAEEAKQOYiQEhBEEAKQOQiQEhBUEAKQOIiQEhBkEAKQOAiQEhB0GACSECDAELQYAJIQICQCABQR9LDQBBgAkhA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YggBEKAgICA+LSd9ZN/foRCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+QuPcypX8zvL1hX98IQEMAQtBACkDkIkBQsXP2bLx5brqJ3whAQsgASAAfCEAQaCJASEFQQAoAsCJASIGQaCJAWohBwJAIAZBCEgNAEGgiQEhCANAIAgpAwAiAULP1tO+0ser2UJ+QiGIIAFCgICAgPi0nfWTf36EQoeVr6+Ytt6bnn9+IACFQhuJQoeVr6+Ytt6bnn9+QuPcypX8zvL1hX98IQAgCEEQaiEJIAhBCGoiBSEIIAkgB00NAAsLAkACQCAFQQRqIgggB00NACAFIQgMAQsgBTUCAEKHla+vmLbem55/fiAAhUIXiULP1tO+0ser2UJ+Qvnz3fGZ9pmrFnwhAAsCQCAIIAdGDQAgBkGgiQFqIQkDQCAIMQAAQsXP2bLx5brqJ34gAIVCC4lCh5Wvr5i23puef34hACAJIAhBAWoiCEcNAAsLQQAgAEIhiCAAhULP1tO+0ser2UJ+IgBCHYggAIVC+fPd8Zn2masWfiIAQiCIIACFIgBCOIYgAEIohkKAgICAgIDA/wCDhCAAQhiGQoCAgICA4D+DIABCCIZCgICAgPAfg4SEIABCCIhCgICA+A+DIABCGIhCgID8B4OEIABCKIhCgP4DgyAAQjiIhISENwOACQsGAEGAiQELAgALCwsBAEGACAsEUAAAAA==",hash:"bc315b2a"};const Ge=new A;let He=null;const _e=new ArrayBuffer(8);function Re(e){return!Number.isInteger(e)||e<0||e>4294967295?new Error("Seed must be given as two valid 32-bit long unsigned integers (lo + high)."):null}function Ke(e,t,i){const A=new DataView(e);A.setUint32(0,t,!0),A.setUint32(4,i,!0)}var qe={name:"xxhash3",data:"AGFzbQEAAAABJAZgAAF/YAR/f39/AGAHf39/f39/fwBgA39/fgF+YAAAYAF/AAMMCwABAgMDAwQFBAAEBAUBcAEBAQUEAQECAgYOAn8BQcCOBQt/AEHACQsHcAgGbWVtb3J5AgAOSGFzaF9HZXRCdWZmZXIAAAlIYXNoX0luaXQABgtIYXNoX1VwZGF0ZQAHCkhhc2hfRmluYWwACA1IYXNoX0dldFN0YXRlAAkOSGFzaF9DYWxjdWxhdGUACgpTVEFURV9TSVpFAwEK+joLBQBBgAoL7wMBEH4CQCADRQ0AIAFBOGohASACQThqIQIgACkDMCEEIAApAzghBSAAKQMgIQYgACkDKCEHIAApAxAhCCAAKQMYIQkgACkDACEKIAApAwghCwNAIAcgAUFoaikDACIMfCACQXBqKQMAIAFBcGopAwAiDYUiB0IgiCAHQv////8Pg358IQcgCSABQVhqKQMAIg58IAJBYGopAwAgAUFgaikDACIPhSIJQiCIIAlC/////w+DfnwhCSALIAFBSGopAwAiEHwgAkFQaikDACABQVBqKQMAIhGFIgtCIIggC0L/////D4N+fCELIAJBeGopAwAgAUF4aikDACIShSITQiCIIBNC/////w+DfiAEfCABKQMAIhN8IQQgAkFoaikDACAMhSIMQiCIIAxC/////w+DfiAGfCANfCEGIAJBWGopAwAgDoUiDEIgiCAMQv////8Pg34gCHwgD3whCCACQUhqKQMAIBCFIgxCIIggDEL/////D4N+IAp8IBF8IQogBSASfCACKQMAIBOFIgVCIIggBUL/////D4N+fCEFIAFBwABqIQEgAkEIaiECIANBf2oiAw0ACyAAIAk3AxggACAKNwMAIAAgCzcDCCAAIAc3AyggACAINwMQIAAgBTcDOCAAIAY3AyAgACAENwMwCwveAgIBfwF+AkAgAiABKAIAIgdrIgIgBEsNACAAIAMgBSAHQQN0aiACEAEgACAAKQMAIgggBSAGaiIHKQMAhSAIQi+IhUKx893xCX43AwAgACAAKQMIIgggBykDCIUgCEIviIVCsfPd8Ql+NwMIIAAgACkDECIIIAcpAxCFIAhCL4iFQrHz3fEJfjcDECAAIAApAxgiCCAHKQMYhSAIQi+IhUKx893xCX43AxggACAAKQMgIgggBykDIIUgCEIviIVCsfPd8Ql+NwMgIAAgACkDKCIIIAcpAyiFIAhCL4iFQrHz3fEJfjcDKCAAIAApAzAiCCAHKQMwhSAIQi+IhUKx893xCX43AzAgACAAKQM4IgggBykDOIUgCEIviIVCs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EIgiCAEIAd+fCAGQiCIfIUgA3wgASkDeCACfSAAQciLAWopAwCFIgNC/////w+DIgQgASkDcCACfCAAQcCLAWopAwCFIgVCIIgiBn4iB0L/////D4MgA0IgiCIDIAVC/////w+DIgV+fCAEIAV+IgRCIIh8IgVCIIYgBEL/////D4OEIAdCIIggAyAGfnwgBUIgiHyFfCEDCyABKQNIIAJ9QQApA6iMAYUiBEL/////D4MiBSABKQNAIAJ8QQApA6CMAYUiBkIgiCIHfiIIQv////8PgyAEQiCIIgQgBkL/////D4MiBn58IAUgBn4iBUIgiHwiBkIghiAFQv////8Pg4QgCEIgiCAEIAd+fCAGQiCIfIUgA3wgASkDWCACfSAAQdiLAWopAwCFIgNC/////w+DIgQgASkDUCACfCAAQdCLAWopAwCFIgVCIIgiBn4iB0L/////D4MgA0IgiCIDIAVC/////w+DIgV+fCAEIAV+IgRCIIh8IgVCIIYgBEL/////D4OEIAdCIIggAyAGfnwgBUIgiHyFfCEDCyABKQMoIAJ9QQApA5iMAYUiBEL/////D4MiBSABKQMgIAJ8QQApA5CMAYUiBkIgiCIHfiIIQv////8PgyAEQiCIIgQgBkL/////D4MiBn58IAUgBn4iBUIgiHwiBkIghiAFQv////8Pg4QgCEIgiCAEIAd+fCAGQiCIfIUgA3wgASkDOCACfSAAQeiLAWopAwCFIgNC/////w+DIgQgASkDMCACfCAAQeCLAWopAwCFIgVCIIgiBn4iB0L/////D4MgA0IgiCIDIAVC/////w+DIgV+fCAEIAV+IgRCIIh8IgVCIIYgBEL/////D4OEIAdCIIggAyAGfnwgBUIgiHyFfCEDCyABKQMIIAJ9QQApA4iMAYUiBEL/////D4MiBSABKQMAIAJ8QQApA4CMAYUiBkIgiCIHfiIIQv////8PgyAEQiCIIgQgBkL/////D4MiBn58IAUgBn4iBUIgiHwiBkIghiAFQv////8Pg4QgCEIgiCAEIAd+fCAGQiCIfIUgA3wgASkDGCACfSAAQfiLAWopAwCFIgNC/////w+DIgQgASkDECACfCAAQfCLAWopAwCFIgJCIIgiBX4iBkL/////D4MgA0IgiCIDIAJC/////w+DIgJ+fCAEIAJ+IgJCIIh8IgRCIIYgAkL/////D4OEIAZCIIggAyAFfnwgBEIgiHyFfCICQiWIIAKFQvnz3fGZ8pmrFn4iAkIgiCAChQuICwQBfwV+An8BfkEAIQMgASkDeCACfUEAKQP4jAGFIgRC/////w+DIgUgASkDcCACfEEAKQPwjAGFIgZCIIgiB34iCEL/////D4MgBEIgiCIEIAZC/////w+DIgZ+fCAFIAZ+IgVCIIh8IgZCIIYgBUL/////D4OEIAhCIIggBCAHfnwgBkIgiHyFIAEpA2ggAn1BACkD6IwBhSIEQv////8PgyIFIAEpA2AgAnxBACkD4IwBhSIGQiCIIgd+IghC/////w+DIARCIIgiBCAGQv////8PgyIGfnwgBSAGfiIFQiCIfCIGQiCGIAVC/////w+DhCAIQiCIIAQgB358IAZCIIh8hSABKQNYIAJ9QQApA9iMAYUiBEL/////D4MiBSABKQNQIAJ8QQApA9CMAYUiBkIgiCIHfiIIQv////8PgyAEQiCIIgQgBkL/////D4MiBn58IAUgBn4iBUIgiHwiBkIghiAFQv////8Pg4QgCEIgiCAEIAd+fCAGQiCIfIUgASkDSCACfUEAKQPIjAGFIgRC/////w+DIgUgASkDQCACfEEAKQPAjAGFIgZCIIgiB34iCEL/////D4MgBEIgiCIEIAZC/////w+DIgZ+fCAFIAZ+IgVCIIh8IgZCIIYgBUL/////D4OEIAhCIIggBCAHfnwgBkIgiHyFIAEpAzggAn1BACkDuIwBhSIEQv////8PgyIFIAEpAzAgAnxBACkDsIwBhSIGQiCIIgd+IghC/////w+DIARCIIgiBCAGQv////8PgyIGfnwgBSAGfiIFQiCIfCIGQiCGIAVC/////w+DhCAIQiCIIAQgB358IAZCIIh8hSABKQMoIAJ9QQApA6iMAYUiBEL/////D4MiBSABKQMgIAJ8QQApA6CMAYUiBkIgiCIHfiIIQv////8PgyAEQiCIIgQgBkL/////D4MiBn58IAUgBn4iBUIgiHwiBkIghiAFQv////8Pg4QgCEIgiCAEIAd+fCAGQiCIfIUgASkDGCACfUEAKQOYjAGFIgRC/////w+DIgUgASkDECACfEEAKQOQjAGFIgZCIIgiB34iCEL/////D4MgBEIgiCIEIAZC/////w+DIgZ+fCAFIAZ+IgVCIIh8IgZCIIYgBUL/////D4OEIAhCIIggBCAHfnwgBkIgiHyFIAEpAwggAn1BACkDiIwBhSIEQv////8PgyIFIAEpAwAgAnxBACkDgIwBhSIGQiCIIgd+IghC/////w+DIARCIIgiBCAGQv////8PgyIGfnwgBSAGfiIFQiCIfCIGQiCGIAVC/////w+DhCAIQiCIIAQgB358IAZCIIh8hSAArUKHla+vmLbem55/fnx8fHx8fHx8IgRCJYggBIVC+fPd8ZnymasWfiIEQiCIIASFIQQgAEEQbSEJAkAgAEGQAUgNACAJQQkgCUEJShtBeGohCQNAIAEgA2oiCkELaikDACACfSADQYiNAWopAwCFIgVC/////w+DIgYgCkEDaikDACACfCADQYCNAWopAwCFIgdCIIgiCH4iC0L/////D4MgBUIgiCIFIAdC/////w+DIgd+fCAGIAd+IgZCIIh8IgdCIIYgBkL/////D4OEIAtCIIggBSAIfnwgB0IgiHyFIAR8IQQgA0EQaiEDIAlBf2oiCQ0ACwsgASkDfyACfSAAQfiLAWopAwCFIgVC/////w+DIgYgASkDdyACfCAAQfCLAWopAwCFIgJCIIgiB34iCEL/////D4MgBUIgiCIFIAJC/////w+DIgJ+fCAGIAJ+IgJCIIh8IgZCIIYgAkL/////D4OEIAhCIIggBSAHfnwgBkIgiHyFIAR8IgJCJYggAoVC+fPd8ZnymasWfiICQiCIIAKFC98FAgF+AX8CQAJAQQApA4AKIgBQRQ0AQYAIIQFCACEADAELAkBBACkDoI4BIABSDQBBACEBDAELQQAhAUEAQq+v79e895Kg/gAgAH03A/iLAUEAIABCxZbr+djShYIofDcD8IsBQQBCj/Hjja2P9JhOIAB9NwPoiwFBACAAQqus+MXV79HQfHw3A+CLAUEAQtOt1LKShbW0nn8gAH03A9iLAUEAIABCl5r0jvWWvO3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ADQQhqIQMgBEEIaiEEIAFBeGoiAUEHSw0ACwsCQCABRQ0AA0AgAyAELQAAOgAAIANBAWohAyAEQQFqIQQgAUF/aiIBDQALC0GAigFBiI4BQQAoApiOAUGAjAFBBCAAQQAoApyOARACQQBBADYCgI4BIAVBgApqIQMLAkAgA0GAAmogAk8NACACQYB+aiEEA0BBgIoBQYiOAUEAKAKYjgEgA0EEIABBACgCnI4BEAIgA0GAAmoiAyAESQ0AC0EAIANBQGopAwA3A8CNAUEAIANBSGopAwA3A8iNAUEAIANBUGopAwA3A9CNAUEAIANBWGopAwA3A9iNAUEAIANBYGopAwA3A+CNAUEAIANBaGopAwA3A+iNAUEAIANBcGopAwA3A/CNAUEAIANBeGopAwA3A/iNAQtBgIwBIQQCQAJAIAIgA2siAkEITw0AIAIhAQwBCyACIQEDQCAEIAMpAwA3AwAgBEEIaiEEIANBCGohAyABQXhqIgFBB0sNAAsLIAFFDQADQCAEIAMtAAA6AAAgBEEBaiEEIANBAWohAyABQX9qIgENAAsLQQAgAjYCgI4BC6oQBQR/AX4Cfwp+An8jACIAIQEgAEGAAWtBQHEiAiQAQQAoArCOASIAQcCKASAAGyEDAkACQEEAKQOQjgEiBELxAVQNACACQQApA4CKATcDACACQQApA4iKATcDCCACQQApA5CKATcDECACQQApA5iKATcDGCACQQApA6CKATcDICACQQApA6iKATcDKCACQQApA7CKATcDMCACQQApA7iKATcDOAJAAkBBACgCgI4BIgVBwABJDQAgAkEAKAKIjgE2AkAgAiACQcAAakEAKAKYjgFBgIwBIAVBf2pBBnYgA0EAKAKcjgEQAiACIAIpAwhBACgCgI4BIgBBwIsBaikDACIEfCADQQAoApyOAWoiBkEBaikDACAAQciLAWopAwAiB4UiCEIgiCAIQv////8Pg358Igk3AwggAiACKQMYIABB0IsBaikDACIIfCAGQRFqKQMAIABB2IsBaikDACIKhSILQiCIIAtC/////w+DfnwiDDcDGCACIAcgBCAGQXlqKQMAhSIEQiCIIARC/////w+DfiACKQMAfHwiDTcDACACIAogCCAGQQlqKQMAhSIEQiCIIARC/////w+DfiACKQMQfHwiDjcDECAGQRlqKQMAIQQgAikDICEHIAIgAikDKCAAQeCLAWopAwAiCHwgBkEhaikDACAAQeiLAWopAwAiCoUiC0IgiCALQv////8Pg358Ig83AyggAiAKIAcgBCAIhSIEQiCIIARC/////w+Dfnx8IhA3AyAgAiACKQM4IABB8IsBaikDACIEfCAGQTFqKQMAIABB+IsBaikDACIHhSIIQiCIIAhC/////w+Dfnw3AzggByAEIAZBKWopAwCFIgRCIIggBEL/////D4N+IAIpAzB8fCEEDAELQcAAIAVrIRECQAJAAkAgBUE4TQ0AQYCOASARayEGIAJBwABqIQUgESEADAELQQAhEiARIQADQCACQcAAaiASaiAFIBJqQcCNAWopAwA3AwAgEkEIaiESIABBeGoiAEEHSw0ACyAFIBJqIgZBwABGDQEgBkHAjQFqIQYgAkHAAGogEmohBQsDQCAFIAYtAAA6AAAgBUEBaiEFIAZBAWohBiAAQX9qIgANAAtBACgCgI4BIQULIAJBwABqIBFqIQZBgIwBIQACQCAFQQhJDQBBgIwBIQADQCAGIAApAwA3AwAgBkEIaiEGIABBCGohACAFQXhqIgVBB0sNAAsLAkAgBUUNAANAIAYgAC0AADoAACAGQQFqIQYgAEEBaiEAIAVBf2oiBQ0ACwsgAiACKQMIIAIpA0AiBHwgA0EAKAKcjgFqIgBBAWopAwAgAikDSCIHhSIIQiCIIAhC/////w+DfnwiCTcDCCACIAIpAxggAikDUCIIfCAAQRFqKQMAIAIpA1giCoUiC0IgiCALQv////8Pg358Igw3AxggAiAHIAQgAEF5aikDAIUiBEIgiCAEQv////8Pg34gAikDAHx8Ig03AwAgAiAKIAggAEEJaikDAIUiBEIgiCAEQv////8Pg34gAikDEHx8Ig43AxAgAEEZaikDACEEIAIpAyAhByACIAIpAyggAikDYCIIfCAAQSFqKQMAIAIpA2giCoUiC0IgiCALQv////8Pg358Ig83AyggAiAKIAcgBCAIhSIEQiCIIARC/////w+Dfnx8IhA3AyAgAiACKQM4IAIpA3AiBHwgAEExaikDACACKQN4IgeFIghCIIggCEL/////D4N+fDcDOCAHIAQgAEEpaikDAIUiBEIgiCAEQv////8Pg34gAikDMHx8IQQLIAIgBDcDMCADKQNDIAIpAziFIgdC/////w+DIgggAykDOyAEhSIEQiCIIgp+IgtC/////w+DIAdCIIgiByAEQv////8PgyIEfnwgCCAEfiIEQiCIfCIIQiCGIARC/////w+DhCALQiCIIAcgCn58IAhCIIh8hSADKQMzIA+FIgRC/////w+DIgcgAykDKyAQhSIIQiCIIgp+IgtC/////w+DIARCIIgiBCAIQv////8PgyIIfnwgByAIfiIHQiCIfCIIQiCGIAdC/////w+DhCALQiCIIAQgCn58IAhCIIh8hSADKQMjIAyFIgRC/////w+DIgcgAykDGyAOhSIIQiCIIgp+IgtC/////w+DIARCIIgiBCAIQv////8PgyIIfnwgByAIfiIHQiCIfCIIQiCGIAdC/////w+DhCALQiCIIAQgCn58IAhCIIh8hSADKQMTIAmFIgRC/////w+DIgcgAykDCyANhSIIQiCIIgp+IgtC/////w+DIARCIIgiBCAIQv////8PgyIIfnwgByAIfiIHQiCIfCIIQiCGIAdC/////w+DhCALQiCIIAQgCn58IAhCIIh8hUEAKQOQjgFCh5Wvr5i23puef358fHx8IgRCJYggBIVC+fPd8ZnymasWfiIEQiCIIASFIQQMAQsgBKchAAJAQQApA6COASIEUA0AAkAgAEEQSw0AIABBgAggBBADIQQMAgsCQCAAQYABSw0AIABBgAggBBAEIQQMAgsgAEGACCAEEAUhBAwBCwJAIABBEEsNACAAIANCABADIQQMAQsCQCAAQYABSw0AIAAgA0IAEAQhBAwBCyAAIANCABAFIQQLQQAgBEI4hiAEQiiGQoCAgICAgMD/AIOEIARCGIZCgICAgIDgP4MgBEIIhkKAgICA8B+DhIQgBEIIiEKAgID4D4MgBEIYiEKAgPwHg4QgBEIoiEKA/gODIARCOIiEhIQ3A4AKIAEkAAsGAEGAigELAgALC8wBAQBBgAgLxAG4/mw5I6RLvnwBgSz3Ia0c3tRt6YOQl9tyQKSkt7NnH8t55k7MwOV4glrQfcz/ciG4CEZ090MkjuA1kOaBOiZMPChSu5HDAMuI0GWLG1Muo3FkSJeiDflOOBnvRqnerNio+nY/45w0P/ncu8fHC08dilHgS820WTHIn37J2XhzZOrFrIM00+vDxYGg//oTY+sXDd1Rt/DaSdMWVSYp1GieKxa+WH1HofyP+LjRetAxzkXLOo+VFgQor9f7yrtLQH5AAgAA",hash:"187bc2c6"};const xe=new A;let Je=null;const Ye=new ArrayBuffer(8);function Oe(e){return!Number.isInteger(e)||e<0||e>4294967295?new Error("Seed must be given as two valid 32-bit long unsigned integers (lo + high)."):null}function Le(e,t,i){const A=new DataView(e);A.setUint32(0,t,!0),A.setUint32(4,i,!0)}var Pe={name:"xxhash128",data:"AGFzbQEAAAABKwdgAAF/YAR/f39/AGAHf39/f39/fwBgA39/fgF+YAR/f39+AGAAAGABfwADDQwAAQIDBAQEBQYFAAUEBQFwAQEBBQQBAQICBg4CfwFBwI4FC38AQcAJCwdwCAZtZW1vcnkCAA5IYXNoX0dldEJ1ZmZlcgAACUhhc2hfSW5pdAAHC0hhc2hfVXBkYXRlAAgKSGFzaF9GaW5hbAAJDUhhc2hfR2V0U3RhdGUACg5IYXNoX0NhbGN1bGF0ZQALClNUQVRFX1NJWkUDAQrKRgwFAEGACgvvAwEQfgJAIANFDQAgAUE4aiEBIAJBOGohAiAAKQMwIQQgACkDOCEFIAApAyAhBiAAKQMoIQcgACkDECEIIAApAxghCSAAKQMAIQogACkDCCELA0AgByABQWhqKQMAIgx8IAJBcGopAwAgAUFwaikDACINhSIHQiCIIAdC/////w+DfnwhByAJIAFBWGopAwAiDnwgAkFgaikDACABQWBqKQMAIg+FIglCIIggCUL/////D4N+fCEJIAsgAUFIaikDACIQfCACQVBqKQMAIAFBUGopAwAiEYUiC0IgiCALQv////8Pg358IQsgAkF4aikDACABQXhqKQMAIhKFIhNCIIggE0L/////D4N+IAR8IAEpAwAiE3whBCACQWhqKQMAIAyFIgxCIIggDEL/////D4N+IAZ8IA18IQYgAkFYaikDACAOhSIMQiCIIAxC/////w+DfiAIfCAPfCEIIAJBSGopAwAgEIUiDEIgiCAMQv////8Pg34gCnwgEXwhCiAFIBJ8IAIpAwAgE4UiBUIgiCAFQv////8Pg358IQUgAUHAAGohASACQQhqIQIgA0F/aiIDDQALIAAgCTcDGCAAIAo3AwAgACALNwMIIAAgBzcDKCAAIAg3AxAgACAFNwM4IAAgBjcDICAAIAQ3AzALC94CAgF/AX4CQCACIAEoAgAiB2siAiAESw0AIAAgAyAFIAdBA3RqIAIQASAAIAApAwAiCCAFIAZqIgcpAwCFIAhCL4iFQrHz3fEJfjcDACAAIAApAwgiCCAHKQMIhSAIQi+IhUKx893xCX43AwggACAAKQMQIgggBykDEIUgCEIviIVCsfPd8Ql+NwMQIAAgACkDGCIIIAcpAxiFIAhCL4iFQrHz3fEJfjcDGCAAIAApAyAiCCAHKQMghSAIQi+IhUKx893xCX43AyAgACAAKQMoIgggBykDKIUgCEIviIVCsfPd8Ql+NwMoIAAgACkDMCIIIAcpAzCFIAhCL4iFQrHz3fEJfjcDMCAAIAApAzgiCCAHKQM4hSAIQi+IhUKx893xCX43AzggACADIAJBBnRqIAUgBCACayIHEAEgASAHNgIADwsgACADIAUgB0EDdGogBBABIAEgByAEajYCAAvtAwEFfiABKQM4IAApAziFIgNC/////w+DIgQgASkDMCAAKQMwhSIFQiCIIgZ+IgdC/////w+DIANCIIgiAyAFQv////8PgyIFfnwgBCAFfiIEQiCIfCIFQiCGIARC/////w+DhCAHQiCIIAMgBn58IAVCIIh8hSABKQMoIAApAyiFIgNC/////w+DIgQgASkDICAAKQMghSIFQiCIIgZ+IgdC/////w+DIANCIIgiAyAFQv////8PgyIFfnwgBCAFfiIEQiCIfCIFQiCGIARC/////w+DhCAHQiCIIAMgBn58IAVCIIh8hSABKQMYIAApAxiFIgNC/////w+DIgQgASkDECAAKQMQhSIFQiCIIgZ+IgdC/////w+DIANCIIgiAyAFQv////8PgyIFfnwgBC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CLAWopAwAiC4UiDEIgiCINfiIGQv////8PgyAJQiCIIgkgDEL/////D4MiDH58IAogDH4iCkIgiHwiDEIghiAKQv////8Pg4QgBkIgiCAJIA1+fCAMQiCIfIUgB3xBACkDqIwBIglBACkDoIwBIgp8hSEHIAIpA0ggA30gCYUiCUL/////D4MiDCACKQNAIAN8IAqFIgpCIIgiDX4iBkL/////D4MgCUIgiCIJIApC/////w+DIgp+fCAMIAp+IgpCIIh8IgxCIIYgCkL/////D4OEIAZCIIggCSANfnwgDEIgiHyFIAV8IAggC3yFIQULIAIpAzggA30gAUHoiwFqKQMAIgiFIglC/////w+DIgogAikDMCADfCABQeCLAWopAwAiC4UiDEIgiCINfiIGQv////8PgyAJQiCIIgkgDEL/////D4MiDH58IAogDH4iCkIgiHwiDEIghiAKQv////8Pg4QgBkIgiCAJIA1+fCAMQiCIfIUgB3xBACkDmIwBIgdBACkDkIwBIgl8hSEGIAIpAyggA30gB4UiB0L/////D4MiCiACKQMgIAN8IAmFIglCIIgiDH4iDUL/////D4MgB0IgiCIHIAlC/////w+DIgl+fCAKIAl+IglCIIh8IgpCIIYgCUL/////D4OEIA1CIIggByAMfnwgCkIgiHyFIAV8IAggC3yFIQULIAAgAikDGCADfSABQfiLAWopAwAiB4UiCEL/////D4MiCSACKQMQIAN8IAFB8IsBaikDACIKhSILQiCIIgx+Ig1C/////w+DIAhCIIgiCCALQv////8PgyILfnwgCSALfiIJQiCIfCILQiCGIAlC/////w+DhCANQiCIIAggDH58IAtCIIh8hSAGfEEAKQOIjAEiCEEAKQOAjAEiCXyFIgsgAikDCCADfSAIhSIIQv////8PgyIMIAIpAwAgA3wgCYUiCUIgiCINfiIGQv////8PgyAIQiCIIgggCUL/////D4MiCX58IAwgCX4iCUIgiHwiDEIghiAJQv////8Pg4QgBkIgiCAIIA1+fCAMQiCIfIUgBXwgByAKfIUiBXwiB0IliCAHhUL5893xmfKZqxZ+IgdCIIggB4U3AwAgAEIAIAVCh5Wvr5i23puef34gBCADfULP1tO+0ser2UJ+fCALQuPcypX8zvL1hX9+fCIDQiWIIAOFQvnz3fGZ8pmrFn4iA0IgiCADhX03AwgLiQ8DAX8UfgJ/QQAhBCACKQN4IAN9QQApA/iMASIFhSIGQv////8PgyIHIAIpA3AgA3xBACkD8IwBIgiFIglCIIgiCn4iC0L/////D4MgBkIgiCIGIAlC/////w+DIgl+fCAHIAl+IgdCIIh8IglCIIYgB0L/////D4OEIAtCIIggBiAKfnwgCUIgiHyFIAIpA1ggA31BACkD2IwBIgeFIgZC/////w+DIgkgAikDUCADfEEAKQPQjAEiCoUiC0IgiCIMfiINQv////8PgyAGQiCIIgYgC0L/////D4MiC358IAkgC34iCUIgiHwiC0IghiAJQv////8Pg4QgDUIgiCAGIAx+fCALQiCIfIUgAikDOCADfUEAKQO4jAEiCYUiBkL/////D4MiCyACKQMwIAN8QQApA7CMASIMhSINQiCIIg5+Ig9C/////w+DIAZCIIgiBiANQv////8PgyINfnwgCyANfiILQiCIfCINQiCGIAtC/////w+DhCAPQiCIIAYgDn58IA1CIIh8hSACKQMYIAN9QQApA5iMASILhSIGQv////8PgyINIAIpAxAgA3xBACkDkIwBIg6FIg9CIIgiEH4iEUL/////D4MgBkIgiCIGIA9C/////w+DIg9+fCANIA9+Ig1CIIh8Ig9CIIYgDUL/////D4OEIBFCIIggBiAQfnwgD0IgiHyFQQApA4iMASINQQApA4CMASIPfIV8QQApA6iMASIQQQApA6CMASIRfIV8QQApA8iMASISQQApA8CMASITfIV8QQApA+iMASIUQQApA+CMASIVfIUiBkIliCAGhUL5893xmfKZqxZ+IgZCIIggBoUhBiACKQNoIAN9IBSFIhRC/////w+DIhYgAikDYCADfCAVhSIVQiCIIhd+IhhC/////w+DIBRCIIgiFCAVQv////8PgyIVfnwgFiAVfiIVQiCIfCIWQiCGIBVC/////w+DhCAYQiCIIBQgF358IBZCIIh8hSACKQNIIAN9IBKFIhJC/////w+DIhQgAikDQCADfCAThSITQiCIIhV+IhZC/////w+DIBJCIIgiEiATQv////8PgyITfnwgFCATfiITQiCIfCIUQiCGIBNC/////w+DhCAWQiCIIBIgFX58IBRCIIh8hSACKQMoIAN9IBCFIhBC/////w+DIhIgAikDICADfCARhSIRQiCIIhN+IhRC/////w+DIBBCIIgiECARQv////8PgyIRfnwgEiARfiIRQiCIfCISQiCGIBFC/////w+DhCAUQiCIIBAgE358IBJCIIh8hSACKQMIIAN9IA2FIg1C/////w+DIhAgAikDACADfCAPhSIPQiCIIhF+IhJC/////w+DIA1CIIgiDSAPQv////8PgyIPfnwgECAPfiIPQiCIfCIQQiCGIA9C/////w+DhCASQiCIIA0gEX58IBBCIIh8hSABrSIPQoeVr6+Ytt6bnn9+fCALIA58hXwgCSAMfIV8IAcgCnyFfCAFIAh8hSIFQiWIIAWFQvnz3fGZ8pmrFn4iBUIgiCAFhSEFIAFBIG0hGQJAIAFBoAFIDQAgGUEFIBlBBUobQXxqIRoDQCACIARqIhlBG2opAwAgA30gBEGYjQFqKQMAIgeFIghC/////w+DIgkgGUETaikDACADfCAEQZCNAWopAwAiCoUiC0IgiCIMfiINQv////8PgyAIQiCIIgggC0L/////D4MiC358IAkgC34iCUIgiHwiC0IghiAJQv////8Pg4QgDUIgiCAIIAx+fCALQiCIfIUgBnwgBEGIjQFqKQMAIgggBEGAjQFqKQMAIgl8hSEGIBlBC2opAwAgA30gCIUiCEL/////D4MiCyAZQQNqKQMAIAN8IAmFIglCIIgiDH4iDUL/////D4MgCEIgiCIIIAlC/////w+DIgl+fCALIAl+IglCIIh8IgtCIIYgCUL/////D4OEIA1CIIggCCAMfnwgC0IgiHyFIAV8IAcgCnyFIQUgBEEgaiEEIBpBf2oiGg0ACwsgACACKQN/IAN8IAFB6IsBaikDACIHhSIIQv////8PgyIJIAIpA3cgA30gAUHgiwFqKQMAIgqFIgtCIIgiDH4iDUL/////D4MgCEIgiCIIIAtC/////w+DIgt+fCAJIAt+IglCIIh8IgtCIIYgCUL/////D4OEIA1CIIggCCAMfnwgC0IgiHyFIAZ8IAF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0AA0AgBCADLQAAOgAAIARBAWohBCADQQFqIQMgAUF/aiIBDQALC0EAIAI2AoCOAQvcDgUEfwF+An8EfgJ/IwAiACEBIABBgAFrQUBxIgAkAEEAKAKwjgEiAkHAigEgAhshAwJAAkBBACkDkI4BIgRC8QFUDQAgAEEAKQOAigE3AwAgAEEAKQOIigE3AwggAEEAKQOQigE3AxAgAEEAKQOYigE3AxggAEEAKQOgigE3AyAgAEEAKQOoigE3AyggAEEAKQOwigE3AzAgAEEAKQO4igE3AzgCQAJAQQAoAoCOASIFQcAASQ0AIABBACgCiI4BNgJAIAAgAEHAAGpBACgCmI4BQYCMASAFQX9qQQZ2IANBACgCnI4BEAIgACAAKQMIQQAoAoCOASICQcCLAWopAwAiBHwgA0EAKAKcjgFqIgZBAWopAwAgAkHIiwFqKQMAIgeFIghCIIggCEL/////D4N+fDcDCCAAIAApAxggAkHQiwFqKQMAIgh8IAZBEWopAwAgAkHYiwFqKQMAIgmFIgpCIIggCkL/////D4N+fDcDGCAAIAcgBCAGQXlqKQMAhSIEQiCIIARC/////w+DfiAAKQMAfHw3AwAgACAJIAggBkEJaikDAIUiBEIgiCAEQv////8Pg34gACkDEHx8NwMQIAZBGWopAwAhBCAAKQMgIQcgACAAKQMoIAJB4IsBaikDACIIfCAGQSFqKQMAIAJB6IsBaikDACIJhSIKQiCIIApC/////w+Dfnw3AyggACAJIAcgBCAIhSIEQiCIIARC/////w+Dfnx8NwMgIAAgACkDOCACQfCLAWopAwAiBHwgBkExaikDACACQfiLAWopAwAiB4UiCEIgiCAIQv////8Pg358NwM4IAAgByAEIAZBKWopAwCFIgRCIIggBEL/////D4N+IAApAzB8fDcDMAwBC0HAACAFayELAkACQAJAIAVBOE0NAEGAjgEgC2shBiAAQcAAaiEFIAshAgwBC0EAIQwgCyECA0AgAEHAAGogDGogBSAMakHAjQFqKQMANwMAIAxBCGohDCACQXhqIgJBB0sNAAsgBSAMaiIGQcAARg0BIAZBwI0BaiEGIABBwABqIAxqIQULA0AgBSAGLQAAOgAAIAVBAWohBSAGQQFqIQYgAkF/aiICDQALQQAoAoCOASEFCyAAQcAAaiALaiEGQYCMASECAkAgBUEISQ0AQYCMASECA0AgBiACKQMANwMAIAZBCGohBiACQQhqIQIgBUF4aiIFQQdLDQALCwJAIAVFDQADQCAGIAItAAA6AAAgBkEBaiEGIAJBAWohAiAFQX9qIgUNAAsLIAAgACkDCCAAKQNAIgR8IANBACgCnI4BaiICQQFqKQMAIAApA0giB4UiCEIgiCAIQv////8Pg358NwMIIAAgACkDGCAAKQNQIgh8IAJBEWopAwAgACkDWCIJhSIKQiCIIApC/////w+Dfnw3AxggACAHIAQgAkF5aikDAIUiBEIgiCAEQv////8Pg34gACkDAHx8NwMAIAAgCSAIIAJBCWopAwCFIgRCIIggBEL/////D4N+IAApAxB8fDcDECACQRlqKQMAIQQgACkDICEHIAAgACkDKCAAKQNgIgh8IAJBIWopAwAgACkDaCIJhSIKQiCIIApC/////w+Dfnw3AyggACAJIAcgBCAIhSIEQiCIIARC/////w+Dfnx8NwMgIAAgACkDOCAAKQNwIgR8IAJBMWopAwAgACkDeCIHhSIIQiCIIAhC/////w+Dfnw3AzggACAHIAQgAkEpaikDAIUiBEIgiCAEQv////8Pg34gACkDMHx8NwMwCyAAIAAgA0ELakEAKQOQjgEiBEKHla+vmLbem55/fhADNwNAIAAgACADQQAoApyOAWpBdWogBELP1tO+0ser2UJ+Qn+FEAM3A0gMAQsgBKchAgJAQQApA6COASIEUA0AAkAgAkEQSw0AIABBwABqIAJBgAggBBAEDAILAkAgAkGAAUsNACAAQcAAaiACQYAIIAQQBQwCCyAAQcAAaiACQYAIIAQQBgwBCwJAIAJBEEsNACAAQcAAaiACIANCABAEDAELAkAgAkGAAUsNACAAQcAAaiACIANCABAFDAELIABBwABqIAIgA0IAEAYLQQAgAEH4AGopAwA3A8AKQQAgAEHwAGopAwA3A7gKQQAgAEHoAGopAwA3A7AKQQAgAEHgAGopAwA3A6gKQQAgAEHYAGopAwA3A6AKQQAgAEHQAGopAwA3A5gKQQAgACkDSCIEQjiGIARCKIZCgICAgICAwP8Ag4QgBEIYhkKAgICAgOA/gyAEQgiGQoCAgIDwH4OEhCAEQgiIQoCAgPgPgyAEQhiIQoCA/AeDhCAEQiiIQoD+A4MgBEI4iISEhCIENwOACkEAIAQ3A5AKQQAgACkDQCIEQjiGIARCKIZCgICAgICAwP8Ag4QgBEIYhkKAgICAgOA/gyAEQgiGQoCAgIDwH4OEhCAEQgiIQoCAgPgPgyAEQhiIQoCA/AeDhCAEQiiIQoD+A4MgBEI4iISEhDcDiAogASQACwYAQYCKAQsCAAsLzAEBAEGACAvEAbj+bDkjpEu+fAGBLPchrRze1G3pg5CX23JApKS3s2cfy3nmTszA5XiCWtB9zP9yIbgIRnT3QySO4DWQ5oE6Jkw8KFK7kcMAy4jQZYsbUy6jcWRIl6IN+U44Ge9Gqd6s2Kj6dj/jnDQ/+dy7x8cLTx2KUeBLzbRZMciffsnZeHNk6sWsgzTT68PFgaD/+hNj6xcN3VG38NpJ0xZVJinUaJ4rFr5YfUeh/I/4uNF60DHORcs6j5UWBCiv1/vKu0tAfkACAAA=",hash:"e8e3fcf8"};const Ze=new A;let ze=null;const Te=new ArrayBuffer(8);function Xe(e){return!Number.isInteger(e)||e<0||e>4294967295?new Error("Seed must be given as two valid 32-bit long unsigned integers (lo + high)."):null}function Ve(e,t,i){const A=new DataView(e);A.setUint32(0,t,!0),A.setUint32(4,i,!0)}var je={name:"ripemd160",data:"AGFzbQEAAAABEQRgAAF/YAAAYAF/AGACf38AAwkIAAECAwIBAAIEBQFwAQEBBQQBAQICBg4CfwFB4IkFC38AQcAICweDAQkGbWVtb3J5AgAOSGFzaF9HZXRCdWZmZXIAAAlIYXNoX0luaXQAARByaXBlbWQxNjBfdXBkYXRlAAMLSGFzaF9VcGRhdGUABApIYXNoX0ZpbmFsAAUNSGFzaF9HZXRTdGF0ZQAGDkhhc2hfQ2FsY3VsYXRlAAcKU1RBVEVfU0laRQMBCtAxCA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ApiJAUEAIAAgCGogHWogBSAEaiAUIBZzIAFzakELd2o2ApSJAQuMAgEEfwJAIAFFDQBBACECQQBBACgCgIkBIgMgAWoiBDYCgIkBIANBP3EhBQJAIAQgA08NAEEAQQAoAoSJAUEBajYChIkBCwJAIAVFDQACQEHAACAFayICIAFNDQAgBSECDAELQQAhA0EAIQQDQCADIAVqQZyJAWogACADai0AADoAACACIARBAWoiBEH/AXEiA0sNAAtBnIkBEAIgASACayEBIAAgAmohAEEAIQILAkAgAUHAAEkNAANAIAAQAiAAQcAAaiEAIAFBQGoiAUE/Sw0ACwsgAUUNAEEAIQNBACEEA0AgAyACakGciQFqIAAgA2otAAA6AAAgASAEQQFqIgRB/wFxIgNLDQALCwsJAEGACSAAEAMLggEBAn8jAEEQayIAJAAgAEEAKAKAiQEiAUEDdDYCCCAAQQAoAoSJAUEDdCABQR12cjYCDEGACEE4QfgAIAFBP3EiAUE4SRsgAWsQAyAAQQhqQQgQA0EAQQAoAoiJATYCgAlBAEEAKQKMiQE3AoQJQQBBACkClIkBNwKMCSAAQRBqJAALBgBBgIkBC8EBAQF/IwBBEGsiASQAQQBB8MPLnnw2ApiJAUEAQv6568XpjpWZEDcCkIkBQQBCgcaUupbx6uZvNwKIiQFBAEIANwKAiQFBgAkgABADIAFBACgCgIkBIgBBA3Q2AgggAUEAKAKEiQFBA3QgAEEddnI2AgxBgAhBOEH4ACAAQT9xIgBBOEkbIABrEAMgAUEIakEIEANBAEEAKAKIiQE2AoAJQQBBACkCjIkBNwKECUEAQQApApSJATcCjAkgAUEQaiQACwtLAQBBgAgLRIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABcAAAA",hash:"42f1de39"};const We=new A;let $e=null;function et(e,t){e.init();const{blockSize:i}=e,A=function(e,t){const{blockSize:i}=e,A=u(t);if(A.length>i){e.update(A);const t=e.digest("binary");return e.init(),t}return new Uint8Array(A.buffer,A.byteOffset,A.length)}(e,t),r=new Uint8Array(i);r.set(A);const n=new Uint8Array(i);for(let e=0;e(e.init(),e.update(r),o),update:t=>(e.update(t),o),digest:t=>{const i=e.digest("binary");return e.init(),e.update(n),e.update(i),e.digest(t)},save:()=>{throw new Error("save() not supported")},load:()=>{throw new Error("load() not supported")},blockSize:e.blockSize,digestSize:e.digestSize};return o}function tt(e,t){if(!e||!e.then)throw new Error('Invalid hash function is provided! Usage: createHMAC(createMD5(), "key").');return e.then((e=>et(e,t)))}const it=e=>{if(!e||"object"!=typeof e)throw new Error("Invalid options parameter. It requires an object.");if(!e.hashFunction||!e.hashFunction.then)throw new Error('Invalid hash function is provided! Usage: pbkdf2("password", "salt", 1000, 32, createSHA1()).');if(!Number.isInteger(e.iterations)||e.iterations<1)throw new Error("Iterations should be a positive number");if(!Number.isInteger(e.hashLength)||e.hashLength<1)throw new Error("Hash length should be a positive number");if(void 0===e.outputType&&(e.outputType="hex"),!["hex","binary"].includes(e.outputType))throw new Error(`Insupported output type ${e.outputType}. Valid values: ['hex', 'binary']`)};function At(e){return i(this,void 0,void 0,(function*(){it(e);return function(e,t,A,r,n){return i(this,void 0,void 0,(function*(){const i=new Uint8Array(r),o=new Uint8Array(t.length+4),a=new DataView(o.buffer),s=u(t),c=new Uint8Array(s.buffer,s.byteOffset,s.length);o.set(c);let I=0;const f=e.digestSize,g=Math.ceil(r/f);let d=null,l=null;for(let n=1;n<=g;n++){a.setUint32(t.length,n),e.init(),e.update(o),d=e.digest("binary"),l=d.slice();for(let t=1;t{if(!e||"object"!=typeof e)throw new Error("Invalid options parameter. It requires an object.");if(!Number.isInteger(e.blockSize)||e.blockSize<1)throw new Error("Block size should be a positive number");if(!Number.isInteger(e.costFactor)||e.costFactor<2||(!(t=e.costFactor)||t&t-1))throw new Error("Cost factor should be a power of 2, greater than 1");var t;if(!Number.isInteger(e.parallelism)||e.parallelism<1)throw new Error("Parallelism should be a positive number");if(!Number.isInteger(e.hashLength)||e.hashLength<1)throw new Error("Hash length should be a positive number.");if(void 0===e.outputType&&(e.outputType="hex"),!["hex","binary"].includes(e.outputType))throw new Error(`Insupported output type ${e.outputType}. Valid values: ['hex', 'binary']`)};var ot={name:"bcrypt",data:"AGFzbQEAAAABFwRgAAF/YAR/f39/AGADf39/AGABfwF/AwUEAAECAwQFAXABAQEFBAEBAgIGCAF/AUGQqwULBzQEBm1lbW9yeQIADkhhc2hfR2V0QnVmZmVyAAAGYmNyeXB0AAINYmNyeXB0X3ZlcmlmeQADCuRbBAUAQYArC5FVAxJ/BX4HfyMAQfAAayEEIAJBADoAAiACQargADsAAAJAIAEtAABBKkcNACABLQABQTBHDQAgAkExOgABCwJAIAEsAAUgASwABEEKbGpB8HtqIgVBBEkNAEEBIAV0IQYgAUEHaiEFIARBGGohByAEQQhqIQgDQCAFLQAAQWBqIglB3wBLDQEgCUGACGotAAAiCkE/Sw0BIAVBAWotAABBYGoiCUHfAEsNASAJQYAIai0AACIJQT9LDQEgCCAJQQR2IApBAnRyOgAAAkAgCEEBaiIIIAdPDQAgBUECai0AAEFgaiIKQd8ASw0CIApBgAhqLQAAIgpBP0sNAiAIIApBAnYgCUEEdHI6AAAgCEEBaiIIIAdPDQAgBUEDai0AAEFgaiIJQd8ASw0CIAlBgAhqLQAAIglBP0sNAiAIIAkgCkEGdHI6AAAgBUEEaiEFIAhBAWoiCCAHSQ0BCwsgBCAEKAIIIgVBGHQgBUEIdEGAgPwHcXIgBUEIdkGA/gNxIAVBGHZyciILNgIIIAQgBCgCDCIFQRh0IAVBCHRBgID8B3FyIAVBCHZBgP4DcSAFQRh2cnIiDDYCDCAEIAQoAhAiBUEYdCAFQQh0QYCA/AdxciAFQQh2QYD+A3EgBUEYdnJyNgIQIAQgBCgCFCIFQRh0IAVBCHRBgID8B3FyIAVBCHZBgP4DcSAFQRh2cnI2AhQgBEHoAGogAS0AAkH/B2otAAAiDUEBcUECdGohDkEAIQhBACEJQQAhCiAAIQUDQCAEQgA3AmggBS0AACEHIARB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JhTrdb4nfO49+PV+ZywzqIaj8k0wijhS6KGRNEc3ADIjgJpNAxnymY+i4IiWxO7OYhKEV3E9A4z2ZUvmwM6TS3KazA3VB8ybXVhD8XCUe12dUWkhv7eYk=",hash:"9f4c7b9e"};function at(e){return i(this,void 0,void 0,(function*(){const{costFactor:t,password:i,salt:A}=e,r=yield b(ot,0);r.writeMemory(u(A),0);const n=u(i);r.writeMemory(n,16);const o="encoded"===e.outputType?1:0;r.getExports().bcrypt(n.length,t,o);const a=r.getMemory();if("encoded"===e.outputType)return s=a,c=60,String.fromCharCode(...s.subarray(0,c));var s,c;if("hex"===e.outputType){return h(new Uint8Array(48),a,24)}return a.slice(0,24)}))}const st=e=>{if(!e||"object"!=typeof e)throw new Error("Invalid options parameter. It requires an object.");if(!Number.isInteger(e.costFactor)||e.costFactor<4||e.costFactor>31)throw new Error("Cost factor should be a number between 4 and 31");if(e.password=u(e.password),e.password.length<1)throw new Error("Password should be at least 1 byte long");if(e.password.length>72)throw new Error("Password should be at most 72 bytes long");if(e.salt=u(e.salt),16!==e.salt.length)throw new Error("Salt should be 16 bytes long");if(void 0===e.outputType&&(e.outputType="encoded"),!["hex","binary","encoded"].includes(e.outputType))throw new Error(`Insupported output type ${e.outputType}. Valid values: ['hex', 'binary', 'encoded']`)};const ct=e=>{if(!e||"object"!=typeof e)throw new Error("Invalid options parameter. It requires an object.");if(void 0===e.hash||"string"!=typeof e.hash)throw new Error("Hash should be specified");if(60!==e.hash.length)throw new Error("Hash should be 60 bytes long");if(!(e=>!(!/^\$2[axyb]\$[0-3][0-9]\$[./A-Za-z0-9]{53}$/.test(e)||"0"===e[4]&&parseInt(e[5],10)<4||"3"===e[4]&&parseInt(e[5],10)>1))(e.hash))throw new Error("Invalid hash");if(e.password=u(e.password),e.password.length<1)throw new Error("Password should be at least 1 byte long");if(e.password.length>72)throw new Error("Password should be at most 72 bytes long")};var It={name:"whirlpool",data:"AGFzbQEAAAABEQRgAAF/YAF/AGACf38AYAAAAwkIA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AAsLEAQLC1ECAEGACAsEaAAAAABBkAgLQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",hash:"6e6f46ad"};const gt=new A;let dt=null;t.adler32=function(e){if(null===D)return w(v,m,4).then((t=>(D=t,D.calculate(e))));try{const t=D.calculate(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.argon2Verify=function(e){return i(this,void 0,void 0,(function*(){J(e);const t=x(e.password,e.hash);q(t);const i=e.hash.lastIndexOf("$")+1;return(yield K(t)).substring(i)===e.hash.substring(i)}))},t.argon2d=function(e){return i(this,void 0,void 0,(function*(){return q(e),K(Object.assign(Object.assign({},e),{hashType:"d"}))}))},t.argon2i=function(e){return i(this,void 0,void 0,(function*(){return q(e),K(Object.assign(Object.assign({},e),{hashType:"i"}))}))},t.argon2id=function(e){return i(this,void 0,void 0,(function*(){return q(e),K(Object.assign(Object.assign({},e),{hashType:"id"}))}))},t.bcrypt=function(e){return i(this,void 0,void 0,(function*(){return st(e),at(e)}))},t.bcryptVerify=function(e){return i(this,void 0,void 0,(function*(){ct(e);const{hash:t,password:i}=e,A=yield b(ot,0);A.writeMemory(u(t),0);const r=u(i);return A.writeMemory(r,60),!!A.getExports().bcrypt_verify(r.length)}))},t.blake2b=function(e,t=512,i=null){if(M(t))return Promise.reject(M(t));let A=null,r=t;if(null!==i){if(A=u(i),A.length>64)return Promise.reject(new Error("Max key length is 64 bytes"));r=N(t,A.length)}const n=t/8;if(null===k||k.hashLength!==n)return w(F,S,n).then((t=>(k=t,r>512&&k.writeMemory(A),k.calculate(e,r))));try{r>512&&k.writeMemory(A);const t=k.calculate(e,r);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.blake2s=function(e,t=256,i=null){if(P(t))return Promise.reject(P(t));let A=null,r=t;if(null!==i){if(A=u(i),A.length>32)return Promise.reject(new Error("Max key length is 32 bytes"));r=Z(t,A.length)}const n=t/8;if(null===L||L.hashLength!==n)return w(O,Y,n).then((t=>(L=t,r>512&&L.writeMemory(A),L.calculate(e,r))));try{r>512&&L.writeMemory(A);const t=L.calculate(e,r);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.blake3=function(e,t=256,i=null){if(V(t))return Promise.reject(V(t));let A=null,r=0;if(null!==i){if(A=u(i),32!==A.length)return Promise.reject(new Error("Key length must be exactly 32 bytes"));r=32}const n=t/8,o=n;if(null===X||X.hashLength!==n)return w(T,z,n).then((t=>(X=t,32===r&&X.writeMemory(A),X.calculate(e,r,o))));try{32===r&&X.writeMemory(A);const t=X.calculate(e,r,o);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.crc32=function(e){if(null===$)return w(W,j,4).then((t=>($=t,$.calculate(e,3988292384))));try{const t=$.calculate(e,3988292384);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.crc32c=function(e){if(null===te)return w(ee,j,4).then((t=>(te=t,te.calculate(e,2197175160))));try{const t=te.calculate(e,2197175160);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.createAdler32=function(){return b(m,4).then((e=>{e.init();const t={init:()=>(e.init(),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:4,digestSize:4};return t}))},t.createBLAKE2b=U,t.createBLAKE2s=function(e=256,t=null){if(P(e))return Promise.reject(P(e));let i=null,A=e;if(null!==t){if(i=u(t),i.length>32)return Promise.reject(new Error("Max key length is 32 bytes"));A=Z(e,i.length)}const r=e/8;return b(Y,r).then((e=>{A>512&&e.writeMemory(i),e.init(A);const t={init:A>512?()=>(e.writeMemory(i),e.init(A),t):()=>(e.init(A),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:r};return t}))},t.createBLAKE3=function(e=256,t=null){if(V(e))return Promise.reject(V(e));let i=null,A=0;if(null!==t){if(i=u(t),32!==i.length)return Promise.reject(new Error("Key length must be exactly 32 bytes"));A=32}const r=e/8,n=r;return b(z,r).then((e=>{32===A&&e.writeMemory(i),e.init(A);const t={init:32===A?()=>(e.writeMemory(i),e.init(A),t):()=>(e.init(A),t),update:i=>(e.update(i),t),digest:t=>e.digest(t,n),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:r};return t}))},t.createCRC32=function(){return b(j,4).then((e=>{e.init(3988292384);const t={init:()=>(e.init(3988292384),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:4,digestSize:4};return t}))},t.createCRC32C=function(){return b(j,4).then((e=>{e.init(2197175160);const t={init:()=>(e.init(2197175160),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:4,digestSize:4};return t}))},t.createHMAC=tt,t.createKeccak=function(e=512){if(Be(e))return Promise.reject(Be(e));const t=e/8;return b(fe,t).then((i=>{i.init(e);const A={init:()=>(i.init(e),A),update:e=>(i.update(e),A),digest:e=>i.digest(e,1),save:()=>i.save(),load:e=>(i.load(e),A),blockSize:200-2*t,digestSize:t};return A}))},t.createMD4=function(){return b(ie,16).then((e=>{e.init();const t={init:()=>(e.init(),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:16};return t}))},t.createMD5=function(){return b(ne,16).then((e=>{e.init();const t={init:()=>(e.init(),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:16};return t}))},t.createRIPEMD160=function(){return b(je,20).then((e=>{e.init();const t={init:()=>(e.init(),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:20};return t}))},t.createSHA1=function(){return b(se,20).then((e=>{e.init();const t={init:()=>(e.init(),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:20};return t}))},t.createSHA224=function(){return b(pe,28).then((e=>{e.init(224);const t={init:()=>(e.init(224),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:28};return t}))},t.createSHA256=be,t.createSHA3=function(e=512){if(ge(e))return Promise.reject(ge(e));const t=e/8;return b(fe,t).then((i=>{i.init(e);const A={init:()=>(i.init(e),A),update:e=>(i.update(e),A),digest:e=>i.digest(e,6),save:()=>i.save(),load:e=>(i.load(e),A),blockSize:200-2*t,digestSize:t};return A}))},t.createSHA384=function(){return b(me,48).then((e=>{e.init(384);const t={init:()=>(e.init(384),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:128,digestSize:48};return t}))},t.createSHA512=function(){return b(me,64).then((e=>{e.init(512);const t={init:()=>(e.init(512),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:128,digestSize:64};return t}))},t.createSM3=function(){return b(ut,32).then((e=>{e.init();const t={init:()=>(e.init(),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:32};return t}))},t.createWhirlpool=function(){return b(It,64).then((e=>{e.init();const t={init:()=>(e.init(),t),update:i=>(e.update(i),t),digest:t=>e.digest(t),save:()=>e.save(),load:i=>(e.load(i),t),blockSize:64,digestSize:64};return t}))},t.createXXHash128=function(e=0,t=0){return Xe(e)?Promise.reject(Xe(e)):Xe(t)?Promise.reject(Xe(t)):b(Pe,16).then((i=>{const A=new ArrayBuffer(8);Ve(A,e,t),i.writeMemory(new Uint8Array(A)),i.init();const r={init:()=>(i.writeMemory(new Uint8Array(A)),i.init(),r),update:e=>(i.update(e),r),digest:e=>i.digest(e),save:()=>i.save(),load:e=>(i.load(e),r),blockSize:512,digestSize:16};return r}))},t.createXXHash3=function(e=0,t=0){return Oe(e)?Promise.reject(Oe(e)):Oe(t)?Promise.reject(Oe(t)):b(qe,8).then((i=>{const A=new ArrayBuffer(8);Le(A,e,t),i.writeMemory(new Uint8Array(A)),i.init();const r={init:()=>(i.writeMemory(new Uint8Array(A)),i.init(),r),update:e=>(i.update(e),r),digest:e=>i.digest(e),save:()=>i.save(),load:e=>(i.load(e),r),blockSize:512,digestSize:8};return r}))},t.createXXHash32=function(e=0){return Ne(e)?Promise.reject(Ne(e)):b(Fe,4).then((t=>{t.init(e);const i={init:()=>(t.init(e),i),update:e=>(t.update(e),i),digest:e=>t.digest(e),save:()=>t.save(),load:e=>(t.load(e),i),blockSize:16,digestSize:4};return i}))},t.createXXHash64=function(e=0,t=0){return Re(e)?Promise.reject(Re(e)):Re(t)?Promise.reject(Re(t)):b(Ue,8).then((i=>{const A=new ArrayBuffer(8);Ke(A,e,t),i.writeMemory(new Uint8Array(A)),i.init();const r={init:()=>(i.writeMemory(new Uint8Array(A)),i.init(),r),update:e=>(i.update(e),r),digest:e=>i.digest(e),save:()=>i.save(),load:e=>(i.load(e),r),blockSize:32,digestSize:8};return r}))},t.keccak=function(e,t=512){if(Be(t))return Promise.reject(Be(t));const i=t/8;if(null===le||le.hashLength!==i)return w(de,fe,i).then((i=>(le=i,le.calculate(e,t,1))));try{const i=le.calculate(e,t,1);return Promise.resolve(i)}catch(e){return Promise.reject(e)}},t.md4=function(e){if(null===re)return w(Ae,ie,16).then((t=>(re=t,re.calculate(e))));try{const t=re.calculate(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.md5=function(e){if(null===ae)return w(oe,ne,16).then((t=>(ae=t,ae.calculate(e))));try{const t=ae.calculate(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.pbkdf2=At,t.ripemd160=function(e){if(null===$e)return w(We,je,20).then((t=>($e=t,$e.calculate(e))));try{const t=$e.calculate(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.scrypt=function(e){return i(this,void 0,void 0,(function*(){return nt(e),function(e){return i(this,void 0,void 0,(function*(){const{costFactor:t,blockSize:i,parallelism:A,hashLength:r}=e,n=be(),o=yield At({password:e.password,salt:e.salt,iterations:1,hashLength:128*i*A,hashFunction:n,outputType:"binary"}),a=yield b(rt,0),s=128*i*t,c=256*i;a.setMemorySize(o.length+s+c),a.writeMemory(o,0),a.getExports().scrypt(i,t,A);const I=a.getMemory().subarray(0,128*i*A),f=yield At({password:e.password,salt:I,iterations:1,hashLength:r,hashFunction:n,outputType:"binary"});return"hex"===e.outputType?h(new Uint8Array(2*r),f,r):f}))}(e)}))},t.sha1=function(e){if(null===Ie)return w(ce,se,20).then((t=>(Ie=t,Ie.calculate(e))));try{const t=Ie.calculate(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.sha224=function(e){if(null===Qe)return w(Ce,pe,28).then((t=>(Qe=t,Qe.calculate(e,224))));try{const t=Qe.calculate(e,224);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.sha256=function(e){if(null===ye)return w(Ee,pe,32).then((t=>(ye=t,ye.calculate(e,256))));try{const t=ye.calculate(e,256);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.sha3=function(e,t=512){if(ge(t))return Promise.reject(ge(t));const i=t/8;if(null===ue||ue.hashLength!==i)return w(he,fe,i).then((i=>(ue=i,ue.calculate(e,t,6))));try{const i=ue.calculate(e,t,6);return Promise.resolve(i)}catch(e){return Promise.reject(e)}},t.sha384=function(e){if(null===ve)return w(we,me,48).then((t=>(ve=t,ve.calculate(e,384))));try{const t=ve.calculate(e,384);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.sha512=function(e){if(null===Se)return w(De,me,64).then((t=>(Se=t,Se.calculate(e,512))));try{const t=Se.calculate(e,512);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.sm3=function(e){if(null===dt)return w(gt,ut,32).then((t=>(dt=t,dt.calculate(e))));try{const t=dt.calculate(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.whirlpool=function(e){if(null===ht)return w(ft,It,64).then((t=>(ht=t,ht.calculate(e))));try{const t=ht.calculate(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}},t.xxhash128=function(e,t=0,i=0){if(Xe(t))return Promise.reject(Xe(t));if(Xe(i))return Promise.reject(Xe(i));if(null===ze)return w(Ze,Pe,16).then((A=>(ze=A,Ve(Te,t,i),ze.writeMemory(new Uint8Array(Te)),ze.calculate(e))));try{Ve(Te,t,i),ze.writeMemory(new Uint8Array(Te));const A=ze.calculate(e);return Promise.resolve(A)}catch(e){return Promise.reject(e)}},t.xxhash3=function(e,t=0,i=0){if(Oe(t))return Promise.reject(Oe(t));if(Oe(i))return Promise.reject(Oe(i));if(null===Je)return w(xe,qe,8).then((A=>(Je=A,Le(Ye,t,i),Je.writeMemory(new Uint8Array(Ye)),Je.calculate(e))));try{Le(Ye,t,i),Je.writeMemory(new Uint8Array(Ye));const A=Je.calculate(e);return Promise.resolve(A)}catch(e){return Promise.reject(e)}},t.xxhash32=function(e,t=0){if(Ne(t))return Promise.reject(Ne(t));if(null===Me)return w(ke,Fe,4).then((i=>(Me=i,Me.calculate(e,t))));try{const i=Me.calculate(e,t);return Promise.resolve(i)}catch(e){return Promise.reject(e)}},t.xxhash64=function(e,t=0,i=0){if(Re(t))return Promise.reject(Re(t));if(Re(i))return Promise.reject(Re(i));if(null===He)return w(Ge,Ue,8).then((A=>(He=A,Ke(_e,t,i),He.writeMemory(new Uint8Array(_e)),He.calculate(e))));try{Ke(_e,t,i),He.writeMemory(new Uint8Array(_e));const A=He.calculate(e);return Promise.resolve(A)}catch(e){return Promise.reject(e)}},Object.defineProperty(t,"__esModule",{value:!0})}))}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],153:[function(e,t,i){var A=i;A.utils=e("./hash/utils"),A.common=e("./hash/common"),A.sha=e("./hash/sha"),A.ripemd=e("./hash/ripemd"),A.hmac=e("./hash/hmac"),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},{"./hash/common":154,"./hash/hmac":155,"./hash/ripemd":156,"./hash/sha":157,"./hash/utils":164}],154:[function(e,t,i){"use strict";var A=e("./utils"),r=e("minimalistic-assert");function n(){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}i.BlockHash=n,n.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 i=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-i,e.length),0===this.pending.length&&(this.pending=null),e=A.join32(e,0,e.length-i,this.endian);for(var r=0;r>>24&255,A[r++]=e>>>16&255,A[r++]=e>>>8&255,A[r++]=255&e}else for(A[r++]=255&e,A[r++]=e>>>8&255,A[r++]=e>>>16&255,A[r++]=e>>>24&255,A[r++]=0,A[r++]=0,A[r++]=0,A[r++]=0,n=8;nthis.blockSize&&(e=(new this.Hash).update(e).digest()),r(e.length<=this.blockSize);for(var t=e.length;t>>3},i.g1_256=function(e){return A(e,17)^A(e,19)^e>>>10}},{"../utils":164}],164:[function(e,t,i){"use strict";var A=e("minimalistic-assert"),r=e("inherits");function n(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function a(e){return 1===e.length?"0"+e:e}function s(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}i.inherits=r,i.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var i=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),r=0;r>6|192,i[A++]=63&o|128):n(e,r)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++r)),i[A++]=o>>18|240,i[A++]=o>>12&63|128,i[A++]=o>>6&63|128,i[A++]=63&o|128):(i[A++]=o>>12|224,i[A++]=o>>6&63|128,i[A++]=63&o|128)}else for(r=0;r>>0}return o},i.split32=function(e,t){for(var i=new Array(4*e.length),A=0,r=0;A>>24,i[r+1]=n>>>16&255,i[r+2]=n>>>8&255,i[r+3]=255&n):(i[r+3]=n>>>24,i[r+2]=n>>>16&255,i[r+1]=n>>>8&255,i[r]=255&n)}return i},i.rotr32=function(e,t){return e>>>t|e<<32-t},i.rotl32=function(e,t){return e<>>32-t},i.sum32=function(e,t){return e+t>>>0},i.sum32_3=function(e,t,i){return e+t+i>>>0},i.sum32_4=function(e,t,i,A){return e+t+i+A>>>0},i.sum32_5=function(e,t,i,A,r){return e+t+i+A+r>>>0},i.sum64=function(e,t,i,A){var r=e[t],n=A+e[t+1]>>>0,o=(n>>0,e[t+1]=n},i.sum64_hi=function(e,t,i,A){return(t+A>>>0>>0},i.sum64_lo=function(e,t,i,A){return t+A>>>0},i.sum64_4_hi=function(e,t,i,A,r,n,o,a){var s=0,c=t;return s+=(c=c+A>>>0)>>0)>>0)>>0},i.sum64_4_lo=function(e,t,i,A,r,n,o,a){return t+A+n+a>>>0},i.sum64_5_hi=function(e,t,i,A,r,n,o,a,s,c){var I=0,f=t;return I+=(f=f+A>>>0)>>0)>>0)>>0)>>0},i.sum64_5_lo=function(e,t,i,A,r,n,o,a,s,c){return t+A+n+a+c>>>0},i.rotr64_hi=function(e,t,i){return(t<<32-i|e>>>i)>>>0},i.rotr64_lo=function(e,t,i){return(e<<32-i|t>>>i)>>>0},i.shr64_hi=function(e,t,i){return e>>>i},i.shr64_lo=function(e,t,i){return(e<<32-i|t>>>i)>>>0}},{inherits:167,"minimalistic-assert":172}],165:[function(e,t,i){"use strict";var A=e("hash.js"),r=e("minimalistic-crypto-utils"),n=e("minimalistic-assert");function o(e){if(!(this instanceof o))return new o(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=r.toArray(e.entropy,e.entropyEnc||"hex"),i=r.toArray(e.nonce,e.nonceEnc||"hex"),A=r.toArray(e.pers,e.persEnc||"hex");n(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,i,A)}t.exports=o,o.prototype._init=function(e,t,i){var A=e.concat(t).concat(i);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var r=0;r=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(i||[])),this._reseed=1},o.prototype.generate=function(e,t,i,A){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(A=i,i=t,t=null),i&&(i=r.toArray(i,A||"hex"),this._update(i));for(var n=[];n.length */ -i.read=function(e,t,i,A,r){var n,o,a=8*r-A-1,s=(1<>1,I=-7,f=i?r-1:0,h=i?-1:1,g=e[t+f];for(f+=h,n=g&(1<<-I)-1,g>>=-I,I+=a;I>0;n=256*n+e[t+f],f+=h,I-=8);for(o=n&(1<<-I)-1,n>>=-I,I+=A;I>0;o=256*o+e[t+f],f+=h,I-=8);if(0===n)n=1-c;else{if(n===s)return o?NaN:1/0*(g?-1:1);o+=Math.pow(2,A),n-=c}return(g?-1:1)*o*Math.pow(2,n-A)},i.write=function(e,t,i,A,r,n){var o,a,s,c=8*n-r-1,I=(1<>1,h=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,g=A?0:n-1,u=A?1:-1,d=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=I):(o=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-o))<1&&(o--,s*=2),(t+=o+f>=1?h/s:h*Math.pow(2,1-f))*s>=2&&(o++,s/=2),o+f>=I?(a=0,o=I):o+f>=1?(a=(t*s-1)*Math.pow(2,r),o+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,r),o=0));r>=8;e[i+g]=255&a,g+=u,a/=256,r-=8);for(o=o<0;e[i+g]=255&o,g+=u,o/=256,c-=8);e[i+g-u]|=128*d}},{}],169:[function(e,t,i){"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}}},{}],170:[function(e,t,i){"use strict";t.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},{}],171:[function(e,t,i){"use strict";var A=e("inherits"),r=e("hash-base"),n=e("safe-buffer").Buffer,o=new Array(16);function a(){r.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function s(e,t){return e<>>32-t}function c(e,t,i,A,r,n,o){return s(e+(t&i|~t&A)+r+n|0,o)+t|0}function I(e,t,i,A,r,n,o){return s(e+(t&A|i&~A)+r+n|0,o)+t|0}function f(e,t,i,A,r,n,o){return s(e+(t^i^A)+r+n|0,o)+t|0}function h(e,t,i,A,r,n,o){return s(e+(i^(t|~A))+r+n|0,o)+t|0}A(a,r),a.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var i=this._a,A=this._b,r=this._c,n=this._d;i=c(i,A,r,n,e[0],3614090360,7),n=c(n,i,A,r,e[1],3905402710,12),r=c(r,n,i,A,e[2],606105819,17),A=c(A,r,n,i,e[3],3250441966,22),i=c(i,A,r,n,e[4],4118548399,7),n=c(n,i,A,r,e[5],1200080426,12),r=c(r,n,i,A,e[6],2821735955,17),A=c(A,r,n,i,e[7],4249261313,22),i=c(i,A,r,n,e[8],1770035416,7),n=c(n,i,A,r,e[9],2336552879,12),r=c(r,n,i,A,e[10],4294925233,17),A=c(A,r,n,i,e[11],2304563134,22),i=c(i,A,r,n,e[12],1804603682,7),n=c(n,i,A,r,e[13],4254626195,12),r=c(r,n,i,A,e[14],2792965006,17),i=I(i,A=c(A,r,n,i,e[15],1236535329,22),r,n,e[1],4129170786,5),n=I(n,i,A,r,e[6],3225465664,9),r=I(r,n,i,A,e[11],643717713,14),A=I(A,r,n,i,e[0],3921069994,20),i=I(i,A,r,n,e[5],3593408605,5),n=I(n,i,A,r,e[10],38016083,9),r=I(r,n,i,A,e[15],3634488961,14),A=I(A,r,n,i,e[4],3889429448,20),i=I(i,A,r,n,e[9],568446438,5),n=I(n,i,A,r,e[14],3275163606,9),r=I(r,n,i,A,e[3],4107603335,14),A=I(A,r,n,i,e[8],1163531501,20),i=I(i,A,r,n,e[13],2850285829,5),n=I(n,i,A,r,e[2],4243563512,9),r=I(r,n,i,A,e[7],1735328473,14),i=f(i,A=I(A,r,n,i,e[12],2368359562,20),r,n,e[5],4294588738,4),n=f(n,i,A,r,e[8],2272392833,11),r=f(r,n,i,A,e[11],1839030562,16),A=f(A,r,n,i,e[14],4259657740,23),i=f(i,A,r,n,e[1],2763975236,4),n=f(n,i,A,r,e[4],1272893353,11),r=f(r,n,i,A,e[7],4139469664,16),A=f(A,r,n,i,e[10],3200236656,23),i=f(i,A,r,n,e[13],681279174,4),n=f(n,i,A,r,e[0],3936430074,11),r=f(r,n,i,A,e[3],3572445317,16),A=f(A,r,n,i,e[6],76029189,23),i=f(i,A,r,n,e[9],3654602809,4),n=f(n,i,A,r,e[12],3873151461,11),r=f(r,n,i,A,e[15],530742520,16),i=h(i,A=f(A,r,n,i,e[2],3299628645,23),r,n,e[0],4096336452,6),n=h(n,i,A,r,e[7],1126891415,10),r=h(r,n,i,A,e[14],2878612391,15),A=h(A,r,n,i,e[5],4237533241,21),i=h(i,A,r,n,e[12],1700485571,6),n=h(n,i,A,r,e[3],2399980690,10),r=h(r,n,i,A,e[10],4293915773,15),A=h(A,r,n,i,e[1],2240044497,21),i=h(i,A,r,n,e[8],1873313359,6),n=h(n,i,A,r,e[15],4264355552,10),r=h(r,n,i,A,e[6],2734768916,15),A=h(A,r,n,i,e[13],1309151649,21),i=h(i,A,r,n,e[4],4149444226,6),n=h(n,i,A,r,e[11],3174756917,10),r=h(r,n,i,A,e[2],718787259,15),A=h(A,r,n,i,e[9],3951481745,21),this._a=this._a+i|0,this._b=this._b+A|0,this._c=this._c+r|0,this._d=this._d+n|0},a.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=n.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=a},{"hash-base":137,inherits:169,"safe-buffer":198}],172:[function(e,t,i){"use strict";const A=e("is-plain-obj"),{hasOwnProperty:r}=Object.prototype,{propertyIsEnumerable:n}=Object,o=(e,t,i)=>Object.defineProperty(e,t,{value:i,writable:!0,enumerable:!0,configurable:!0}),a=this,s={concatArrays:!1,ignoreUndefined:!1},c=e=>{const t=[];for(const i in e)r.call(e,i)&&t.push(i);if(Object.getOwnPropertySymbols){const i=Object.getOwnPropertySymbols(e);for(const A of i)n.call(e,A)&&t.push(A)}return t};function I(e){return Array.isArray(e)?function(e){const t=e.slice(0,0);return c(e).forEach((i=>{o(t,i,I(e[i]))})),t}(e):A(e)?function(e){const t=null===Object.getPrototypeOf(e)?Object.create(null):{};return c(e).forEach((i=>{o(t,i,I(e[i]))})),t}(e):e}const f=(e,t,i,A)=>(i.forEach((i=>{void 0===t[i]&&A.ignoreUndefined||(i in e&&e[i]!==Object.getPrototypeOf(e)?o(e,i,h(e[i],t[i],A)):o(e,i,I(t[i])))})),e);function h(e,t,i){return i.concatArrays&&Array.isArray(e)&&Array.isArray(t)?((e,t,i)=>{let A=e.slice(0,0),n=0;return[e,t].forEach((t=>{const a=[];for(let i=0;i!a.includes(e))),i)})),A})(e,t,i):A(t)&&A(e)?f(e,t,c(t),i):I(t)}t.exports=function(...e){const t=h(I(s),this!==a&&this||{},s);let i={_:{}};for(const r of e)if(void 0!==r){if(!A(r))throw new TypeError("`"+r+"` is not an Option Object");i=h(i,{_:r},t)}return i._}},{"is-plain-obj":170}],173:[function(e,t,i){var A=e("bn.js"),r=e("brorand");function n(e){this.rand=e||new r.Rand}t.exports=n,n.create=function(e){return new n(e)},n.prototype._randbelow=function(e){var t=e.bitLength(),i=Math.ceil(t/8);do{var r=new A(this.rand.generate(i))}while(r.cmp(e)>=0);return r},n.prototype._randrange=function(e,t){var i=t.sub(e);return e.add(this._randbelow(i))},n.prototype.test=function(e,t,i){var r=e.bitLength(),n=A.mont(e),o=new A(1).toRed(n);t||(t=Math.max(1,r/48|0));for(var a=e.subn(1),s=0;!a.testn(s);s++);for(var c=e.shrn(s),I=a.toRed(n);t>0;t--){var f=this._randrange(new A(2),a);i&&i(f);var h=f.toRed(n).redPow(c);if(0!==h.cmp(o)&&0!==h.cmp(I)){for(var g=1;g0;t--){var I=this._randrange(new A(2),o),f=e.gcd(I);if(0!==f.cmpn(1))return f;var h=I.toRed(r).redPow(s);if(0!==h.cmp(n)&&0!==h.cmp(c)){for(var g=1;g>8,o=255&r;n?i.push(n,o):i.push(o)}return i},A.zero2=r,A.toHex=n,A.encode=function(e,t){return"hex"===t?n(e):e}},{}],176:[function(e,t,i){t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],177:[function(e,t,i){"use strict";var A=e("asn1.js");i.certificate=e("./certificate");var r=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())}));i.RSAPrivateKey=r;var n=A.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));i.RSAPublicKey=n;var o=A.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}));i.PublicKey=o;var a=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())})),s=A.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())}));i.PrivateKey=s;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())}));i.EncryptedPrivateKey=c;var I=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())}));i.DSAPrivateKey=I,i.DSAparam=A.define("DSAparam",(function(){this.int()}));var f=A.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())}));i.ECPrivateKey=f;var h=A.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));i.signature=A.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},{"./certificate":178,"asn1.js":3}],178:[function(e,t,i){"use strict";var A=e("asn1.js"),r=A.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),n=A.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),o=A.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),a=A.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())})),s=A.define("RelativeDistinguishedName",(function(){this.setof(n)})),c=A.define("RDNSequence",(function(){this.seqof(s)})),I=A.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),f=A.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(r),this.key("notAfter").use(r))})),h=A.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),g=A.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(o),this.key("issuer").use(I),this.key("validity").use(f),this.key("subject").use(I),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())})),u=A.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(g),this.key("signatureAlgorithm").use(o),this.key("signatureValue").bitstr())}));t.exports=u},{"asn1.js":3}],179:[function(e,t,i){var A=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,n=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,o=e("evp_bytestokey"),a=e("browserify-aes"),s=e("safe-buffer").Buffer;t.exports=function(e,t){var i,c=e.toString(),I=c.match(A);if(I){var f="aes"+I[1],h=s.from(I[2],"hex"),g=s.from(I[3].replace(/[\r\n]/g,""),"base64"),u=o(t,h.slice(0,8),parseInt(I[1],10)).key,d=[],l=a.createDecipheriv(f,u,h);d.push(l.update(g)),d.push(l.final()),i=s.concat(d)}else{var B=c.match(n);i=s.from(B[2].replace(/[\r\n]/g,""),"base64")}return{tag:c.match(r)[1],data:i}}},{"browserify-aes":53,evp_bytestokey:135,"safe-buffer":198}],180:[function(e,t,i){var A=e("./asn1"),r=e("./aesid.json"),n=e("./fixProc"),o=e("browserify-aes"),a=e("pbkdf2"),s=e("safe-buffer").Buffer;function c(e){var t;"object"!=typeof e||s.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=s.from(e));var i,c,I=n(e,t),f=I.tag,h=I.data;switch(f){case"CERTIFICATE":c=A.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(c||(c=A.PublicKey.decode(h,"der")),i=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 "+i)}case"ENCRYPTED PRIVATE KEY":h=function(e,t){var i=e.algorithm.decrypt.kde.kdeparams.salt,A=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),n=r[e.algorithm.decrypt.cipher.algo.join(".")],c=e.algorithm.decrypt.cipher.iv,I=e.subjectPrivateKey,f=parseInt(n.split("-")[1],10)/8,h=a.pbkdf2Sync(t,i,A,f,"sha1"),g=o.createDecipheriv(n,h,c),u=[];return u.push(g.update(I)),u.push(g.final()),s.concat(u)}(h=A.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(i=(c=A.PrivateKey.decode(h,"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 "+i)}case"RSA PUBLIC KEY":return A.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return A.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:A.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=A.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+f)}}t.exports=c,c.signature=A.signature},{"./aesid.json":176,"./asn1":177,"./fixProc":179,"browserify-aes":53,pbkdf2:181,"safe-buffer":198}],181:[function(e,t,i){i.pbkdf2=e("./lib/async"),i.pbkdf2Sync=e("./lib/sync")},{"./lib/async":182,"./lib/sync":185}],182:[function(e,t,i){(function(i){(function(){var A,r,n=e("safe-buffer").Buffer,o=e("./precondition"),a=e("./default-encoding"),s=e("./sync"),c=e("./to-buffer"),I=i.crypto&&i.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function g(){return r||(r=i.process&&i.process.nextTick?i.process.nextTick:i.queueMicrotask?i.queueMicrotask:i.setImmediate?i.setImmediate:i.setTimeout)}function u(e,t,i,A,r){return I.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return I.deriveBits({name:"PBKDF2",salt:t,iterations:i,hash:{name:r}},e,A<<3)})).then((function(e){return n.from(e)}))}t.exports=function(e,t,r,d,l,B){"function"==typeof l&&(B=l,l=void 0);var p=f[(l=l||"sha1").toLowerCase()];if(p&&"function"==typeof i.Promise){if(o(r,d),e=c(e,a,"Password"),t=c(t,a,"Salt"),"function"!=typeof B)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){g()((function(){t(null,e)}))}),(function(e){g()((function(){t(e)}))}))}(function(e){if(i.process&&!i.process.browser)return Promise.resolve(!1);if(!I||!I.importKey||!I.deriveBits)return Promise.resolve(!1);if(void 0!==h[e])return h[e];var t=u(A=A||n.alloc(8),A,10,128,e).then((function(){return!0})).catch((function(){return!1}));return h[e]=t,t}(p).then((function(i){return i?u(e,t,r,d,p):s(e,t,r,d,l)})),B)}else g()((function(){var i;try{i=s(e,t,r,d,l)}catch(e){return B(e)}B(null,i)}))}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./default-encoding":183,"./precondition":184,"./sync":185,"./to-buffer":186,"safe-buffer":198}],183:[function(e,t,i){(function(e,i){(function(){var A;if(i.process&&i.process.browser)A="utf-8";else if(i.process&&i.process.version){A=parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else A="utf-8";t.exports=A}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:187}],184:[function(e,t,i){var A=Math.pow(2,30)-1;t.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>A||t!=t)throw new TypeError("Bad key length")}},{}],185:[function(e,t,i){var A=e("create-hash/md5"),r=e("ripemd160"),n=e("sha.js"),o=e("safe-buffer").Buffer,a=e("./precondition"),s=e("./default-encoding"),c=e("./to-buffer"),I=o.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(e,t,i){var a=function(e){function t(t){return n(e).update(t).digest()}function i(e){return(new r).update(e).digest()}return"rmd160"===e||"ripemd160"===e?i:"md5"===e?A:t}(e),s="sha512"===e||"sha384"===e?128:64;t.length>s?t=a(t):t.length1)for(var i=1;iu||new o(t).cmp(g.modulus)>=0)throw new Error("decryption error");h=i?c(new o(t),g):a(t,g);var d=I.alloc(u-h.length);if(h=I.concat([d,h],u),4===f)return function(e,t){var i=e.modulus.byteLength(),A=s("sha1").update(I.alloc(0)).digest(),o=A.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,o+1),c=t.slice(o+1),f=n(a,r(c,o)),h=n(c,r(f,i-o-1));if(function(e,t){e=I.from(e),t=I.from(t);var i=0,A=e.length;e.length!==t.length&&(i++,A=Math.min(e.length,t.length));var r=-1;for(;++r=t.length){n++;break}var o=t.slice(2,r-1);("0002"!==A.toString("hex")&&!i||"0001"!==A.toString("hex")&&i)&&n++;o.length<8&&n++;if(n)throw new Error("decryption error");return t.slice(r)}(0,h,i);if(3===f)return h;throw new Error("unknown padding")}},{"./mgf":189,"./withPublic":192,"./xor":193,"bn.js":47,"browserify-rsa":71,"create-hash":102,"parse-asn1":180,"safe-buffer":198}],191:[function(e,t,i){var A=e("parse-asn1"),r=e("randombytes"),n=e("create-hash"),o=e("./mgf"),a=e("./xor"),s=e("bn.js"),c=e("./withPublic"),I=e("browserify-rsa"),f=e("safe-buffer").Buffer;t.exports=function(e,t,i){var h;h=e.padding?e.padding:i?1:4;var g,u=A(e);if(4===h)g=function(e,t){var i=e.modulus.byteLength(),A=t.length,c=n("sha1").update(f.alloc(0)).digest(),I=c.length,h=2*I;if(A>i-h-2)throw new Error("message too long");var g=f.alloc(i-A-h-2),u=i-I-1,d=r(I),l=a(f.concat([c,g,f.alloc(1,1),t],u),o(d,u)),B=a(d,o(l,I));return new s(f.concat([f.alloc(1),B,l],i))}(u,t);else if(1===h)g=function(e,t,i){var A,n=t.length,o=e.modulus.byteLength();if(n>o-11)throw new Error("message too long");A=i?f.alloc(o-n-3,255):function(e){var t,i=f.allocUnsafe(e),A=0,n=r(2*e),o=0;for(;A=0)throw new Error("data too long for modulus")}return i?I(g,u):c(g,u)}},{"./mgf":189,"./withPublic":192,"./xor":193,"bn.js":47,"browserify-rsa":71,"create-hash":102,"parse-asn1":180,randombytes:195,"safe-buffer":198}],192:[function(e,t,i){var A=e("bn.js"),r=e("safe-buffer").Buffer;t.exports=function(e,t){return r.from(e.toRed(A.mont(t.modulus)).redPow(new A(t.publicExponent)).fromRed().toArray())}},{"bn.js":47,"safe-buffer":198}],193:[function(e,t,i){t.exports=function(e,t){for(var i=e.length,A=-1;++ANumber(e)-Number(t))).map((t=>e[t])):e}function f(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function h(e){const t=(e=f(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function g(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function u(e,t){a((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const i=function(e){let t;switch(e.arrayFormat){case"index":return(e,i,A)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===A[e]&&(A[e]={}),A[e][t[1]]=i):A[e]=i};case"bracket":return(e,i,A)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==A[e]?A[e]=[].concat(A[e],i):A[e]=[i]:A[e]=i};case"comma":case"separator":return(t,i,A)=>{const r="string"==typeof i&&i.includes(e.arrayFormatSeparator),n="string"==typeof i&&!r&&c(i,e).includes(e.arrayFormatSeparator);i=n?c(i,e):i;const o=r||n?i.split(e.arrayFormatSeparator).map((t=>c(t,e))):null===i?i:c(i,e);A[t]=o};default:return(e,t,i)=>{void 0!==i[e]?i[e]=[].concat(i[e],t):i[e]=t}}}(t),A=Object.create(null);if("string"!=typeof e)return A;if(!(e=e.trim().replace(/^[?#&]/,"")))return A;for(const r of e.split("&")){if(""===r)continue;let[e,o]=n(t.decode?r.replace(/\+/g," "):r,"=");o=void 0===o?null:["comma","separator"].includes(t.arrayFormat)?o:c(o,t),i(c(e,t),o,A)}for(const e of Object.keys(A)){const i=A[e];if("object"==typeof i&&null!==i)for(const e of Object.keys(i))i[e]=g(i[e],t);else A[e]=g(i,t)}return!1===t.sort?A:(!0===t.sort?Object.keys(A).sort():Object.keys(A).sort(t.sort)).reduce(((e,t)=>{const i=A[t];return Boolean(i)&&"object"==typeof i&&!Array.isArray(i)?e[t]=I(i):e[t]=i,e}),Object.create(null))}i.extract=h,i.parse=u,i.stringify=(e,t)=>{if(!e)return"";a((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const i=i=>t.skipNull&&null==e[i]||t.skipEmptyString&&""===e[i],A=function(e){switch(e.arrayFormat){case"index":return t=>(i,A)=>{const r=i.length;return void 0===A||e.skipNull&&null===A||e.skipEmptyString&&""===A?i:null===A?[...i,[s(t,e),"[",r,"]"].join("")]:[...i,[s(t,e),"[",s(r,e),"]=",s(A,e)].join("")]};case"bracket":return t=>(i,A)=>void 0===A||e.skipNull&&null===A||e.skipEmptyString&&""===A?i:null===A?[...i,[s(t,e),"[]"].join("")]:[...i,[s(t,e),"[]=",s(A,e)].join("")];case"comma":case"separator":return t=>(i,A)=>null==A||0===A.length?i:0===i.length?[[s(t,e),"=",s(A,e)].join("")]:[[i,s(A,e)].join(e.arrayFormatSeparator)];default:return t=>(i,A)=>void 0===A||e.skipNull&&null===A||e.skipEmptyString&&""===A?i:null===A?[...i,s(t,e)]:[...i,[s(t,e),"=",s(A,e)].join("")]}}(t),r={};for(const t of Object.keys(e))i(t)||(r[t]=e[t]);const n=Object.keys(r);return!1!==t.sort&&n.sort(t.sort),n.map((i=>{const r=e[i];return void 0===r?"":null===r?s(i,t):Array.isArray(r)?r.reduce(A(i),[]).join("&"):s(i,t)+"="+s(r,t)})).filter((e=>e.length>0)).join("&")},i.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[i,A]=n(e,"#");return Object.assign({url:i.split("?")[0]||"",query:u(h(e),t)},t&&t.parseFragmentIdentifier&&A?{fragmentIdentifier:c(A,t)}:{})},i.stringifyUrl=(e,t)=>{t=Object.assign({encode:!0,strict:!0},t);const A=f(e.url).split("?")[0]||"",r=i.extract(e.url),n=i.parse(r,{sort:!1}),o=Object.assign(n,e.query);let a=i.stringify(o,t);a&&(a=`?${a}`);let c=function(e){let t="";const i=e.indexOf("#");return-1!==i&&(t=e.slice(i)),t}(e.url);return e.fragmentIdentifier&&(c=`#${s(e.fragmentIdentifier,t)}`),`${A}${a}${c}`},i.pick=(e,t,A)=>{A=Object.assign({parseFragmentIdentifier:!0},A);const{url:r,query:n,fragmentIdentifier:a}=i.parseUrl(e,A);return i.stringifyUrl({url:r,query:o(n,t),fragmentIdentifier:a},A)},i.exclude=(e,t,A)=>{const r=Array.isArray(t)?e=>!t.includes(e):(e,i)=>!t(e,i);return i.pick(e,r,A)}},{"decode-uri-component":107,"filter-obj":136,"split-on-first":208,"strict-uri-encode":225}],195:[function(e,t,i){(function(i,A){(function(){"use strict";var r=65536,n=4294967295;var o=e("safe-buffer").Buffer,a=A.crypto||A.msCrypto;a&&a.getRandomValues?t.exports=function(e,t){if(e>n)throw new RangeError("requested too many random bytes");var A=o.allocUnsafe(e);if(e>0)if(e>r)for(var s=0;sI||e<0)throw new TypeError("offset must be a uint32");if(e>s||e>t)throw new RangeError("offset out of range")}function h(e,t,i){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>I||e<0)throw new TypeError("size must be a uint32");if(e+t>i||e>s)throw new RangeError("buffer too small")}function g(e,i,A,r){if(t.browser){var n=e.buffer,a=new Uint8Array(n,i,A);return c.getRandomValues(a),r?void t.nextTick((function(){r(null,e)})):e}if(!r)return o(A).copy(e,i),e;o(A,(function(t,A){if(t)return r(t);A.copy(e,i),r(null,e)}))}c&&c.getRandomValues||!t.browser?(i.randomFill=function(e,t,i,r){if(!(a.isBuffer(e)||e instanceof A.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)r=t,t=0,i=e.length;else if("function"==typeof i)r=i,i=e.length-t;else if("function"!=typeof r)throw new TypeError('"cb" argument must be a function');return f(t,e.length),h(i,t,e.length),g(e,t,i,r)},i.randomFillSync=function(e,t,i){void 0===t&&(t=0);if(!(a.isBuffer(e)||e instanceof A.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');f(t,e.length),void 0===i&&(i=e.length-t);return h(i,t,e.length),g(e,t,i)}):(i.randomFill=r,i.randomFillSync=r)}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:187,randombytes:195,"safe-buffer":198}],197:[function(e,t,i){"use strict";var A=e("buffer").Buffer,r=e("inherits"),n=e("hash-base"),o=new Array(16),a=[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],s=[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],I=[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],f=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function g(){n.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function u(e,t){return e<>>32-t}function d(e,t,i,A,r,n,o,a){return u(e+(t^i^A)+n+o|0,a)+r|0}function l(e,t,i,A,r,n,o,a){return u(e+(t&i|~t&A)+n+o|0,a)+r|0}function B(e,t,i,A,r,n,o,a){return u(e+((t|~i)^A)+n+o|0,a)+r|0}function p(e,t,i,A,r,n,o,a){return u(e+(t&A|i&~A)+n+o|0,a)+r|0}function C(e,t,i,A,r,n,o,a){return u(e+(t^(i|~A))+n+o|0,a)+r|0}r(g,n),g.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var i=0|this._a,A=0|this._b,r=0|this._c,n=0|this._d,g=0|this._e,Q=0|this._a,E=0|this._b,y=0|this._c,b=0|this._d,m=0|this._e,w=0;w<80;w+=1){var v,D;w<16?(v=d(i,A,r,n,g,e[a[w]],f[0],c[w]),D=C(Q,E,y,b,m,e[s[w]],h[0],I[w])):w<32?(v=l(i,A,r,n,g,e[a[w]],f[1],c[w]),D=p(Q,E,y,b,m,e[s[w]],h[1],I[w])):w<48?(v=B(i,A,r,n,g,e[a[w]],f[2],c[w]),D=B(Q,E,y,b,m,e[s[w]],h[2],I[w])):w<64?(v=p(i,A,r,n,g,e[a[w]],f[3],c[w]),D=l(Q,E,y,b,m,e[s[w]],h[3],I[w])):(v=C(i,A,r,n,g,e[a[w]],f[4],c[w]),D=d(Q,E,y,b,m,e[s[w]],h[4],I[w])),i=g,g=n,n=u(r,10),r=A,A=v,Q=m,m=b,b=u(y,10),y=E,E=D}var S=this._b+r+b|0;this._b=this._c+n+m|0,this._c=this._d+g+Q|0,this._d=this._e+i+E|0,this._e=this._a+A+y|0,this._a=S},g.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=g},{buffer:99,"hash-base":137,inherits:169}],198:[function(e,t,i){ +i.read=function(e,t,i,A,r){var n,o,a=8*r-A-1,s=(1<>1,I=-7,f=i?r-1:0,h=i?-1:1,u=e[t+f];for(f+=h,n=u&(1<<-I)-1,u>>=-I,I+=a;I>0;n=256*n+e[t+f],f+=h,I-=8);for(o=n&(1<<-I)-1,n>>=-I,I+=A;I>0;o=256*o+e[t+f],f+=h,I-=8);if(0===n)n=1-c;else{if(n===s)return o?NaN:1/0*(u?-1:1);o+=Math.pow(2,A),n-=c}return(u?-1:1)*o*Math.pow(2,n-A)},i.write=function(e,t,i,A,r,n){var o,a,s,c=8*n-r-1,I=(1<>1,h=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,u=A?0:n-1,g=A?1:-1,d=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=I):(o=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-o))<1&&(o--,s*=2),(t+=o+f>=1?h/s:h*Math.pow(2,1-f))*s>=2&&(o++,s/=2),o+f>=I?(a=0,o=I):o+f>=1?(a=(t*s-1)*Math.pow(2,r),o+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,r),o=0));r>=8;e[i+u]=255&a,u+=g,a/=256,r-=8);for(o=o<0;e[i+u]=255&o,u+=g,o/=256,c-=8);e[i+u-g]|=128*d}},{}],167:[function(e,t,i){"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}}},{}],168:[function(e,t,i){"use strict";t.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},{}],169:[function(e,t,i){"use strict";var A=e("inherits"),r=e("hash-base"),n=e("safe-buffer").Buffer,o=new Array(16);function a(){r.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function s(e,t){return e<>>32-t}function c(e,t,i,A,r,n,o){return s(e+(t&i|~t&A)+r+n|0,o)+t|0}function I(e,t,i,A,r,n,o){return s(e+(t&A|i&~A)+r+n|0,o)+t|0}function f(e,t,i,A,r,n,o){return s(e+(t^i^A)+r+n|0,o)+t|0}function h(e,t,i,A,r,n,o){return s(e+(i^(t|~A))+r+n|0,o)+t|0}A(a,r),a.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var i=this._a,A=this._b,r=this._c,n=this._d;i=c(i,A,r,n,e[0],3614090360,7),n=c(n,i,A,r,e[1],3905402710,12),r=c(r,n,i,A,e[2],606105819,17),A=c(A,r,n,i,e[3],3250441966,22),i=c(i,A,r,n,e[4],4118548399,7),n=c(n,i,A,r,e[5],1200080426,12),r=c(r,n,i,A,e[6],2821735955,17),A=c(A,r,n,i,e[7],4249261313,22),i=c(i,A,r,n,e[8],1770035416,7),n=c(n,i,A,r,e[9],2336552879,12),r=c(r,n,i,A,e[10],4294925233,17),A=c(A,r,n,i,e[11],2304563134,22),i=c(i,A,r,n,e[12],1804603682,7),n=c(n,i,A,r,e[13],4254626195,12),r=c(r,n,i,A,e[14],2792965006,17),i=I(i,A=c(A,r,n,i,e[15],1236535329,22),r,n,e[1],4129170786,5),n=I(n,i,A,r,e[6],3225465664,9),r=I(r,n,i,A,e[11],643717713,14),A=I(A,r,n,i,e[0],3921069994,20),i=I(i,A,r,n,e[5],3593408605,5),n=I(n,i,A,r,e[10],38016083,9),r=I(r,n,i,A,e[15],3634488961,14),A=I(A,r,n,i,e[4],3889429448,20),i=I(i,A,r,n,e[9],568446438,5),n=I(n,i,A,r,e[14],3275163606,9),r=I(r,n,i,A,e[3],4107603335,14),A=I(A,r,n,i,e[8],1163531501,20),i=I(i,A,r,n,e[13],2850285829,5),n=I(n,i,A,r,e[2],4243563512,9),r=I(r,n,i,A,e[7],1735328473,14),i=f(i,A=I(A,r,n,i,e[12],2368359562,20),r,n,e[5],4294588738,4),n=f(n,i,A,r,e[8],2272392833,11),r=f(r,n,i,A,e[11],1839030562,16),A=f(A,r,n,i,e[14],4259657740,23),i=f(i,A,r,n,e[1],2763975236,4),n=f(n,i,A,r,e[4],1272893353,11),r=f(r,n,i,A,e[7],4139469664,16),A=f(A,r,n,i,e[10],3200236656,23),i=f(i,A,r,n,e[13],681279174,4),n=f(n,i,A,r,e[0],3936430074,11),r=f(r,n,i,A,e[3],3572445317,16),A=f(A,r,n,i,e[6],76029189,23),i=f(i,A,r,n,e[9],3654602809,4),n=f(n,i,A,r,e[12],3873151461,11),r=f(r,n,i,A,e[15],530742520,16),i=h(i,A=f(A,r,n,i,e[2],3299628645,23),r,n,e[0],4096336452,6),n=h(n,i,A,r,e[7],1126891415,10),r=h(r,n,i,A,e[14],2878612391,15),A=h(A,r,n,i,e[5],4237533241,21),i=h(i,A,r,n,e[12],1700485571,6),n=h(n,i,A,r,e[3],2399980690,10),r=h(r,n,i,A,e[10],4293915773,15),A=h(A,r,n,i,e[1],2240044497,21),i=h(i,A,r,n,e[8],1873313359,6),n=h(n,i,A,r,e[15],4264355552,10),r=h(r,n,i,A,e[6],2734768916,15),A=h(A,r,n,i,e[13],1309151649,21),i=h(i,A,r,n,e[4],4149444226,6),n=h(n,i,A,r,e[11],3174756917,10),r=h(r,n,i,A,e[2],718787259,15),A=h(A,r,n,i,e[9],3951481745,21),this._a=this._a+i|0,this._b=this._b+A|0,this._c=this._c+r|0,this._d=this._d+n|0},a.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=n.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=a},{"hash-base":135,inherits:167,"safe-buffer":195}],170:[function(e,t,i){"use strict";const A=e("is-plain-obj"),{hasOwnProperty:r}=Object.prototype,{propertyIsEnumerable:n}=Object,o=(e,t,i)=>Object.defineProperty(e,t,{value:i,writable:!0,enumerable:!0,configurable:!0}),a=this,s={concatArrays:!1,ignoreUndefined:!1},c=e=>{const t=[];for(const i in e)r.call(e,i)&&t.push(i);if(Object.getOwnPropertySymbols){const i=Object.getOwnPropertySymbols(e);for(const A of i)n.call(e,A)&&t.push(A)}return t};function I(e){return Array.isArray(e)?function(e){const t=e.slice(0,0);return c(e).forEach((i=>{o(t,i,I(e[i]))})),t}(e):A(e)?function(e){const t=null===Object.getPrototypeOf(e)?Object.create(null):{};return c(e).forEach((i=>{o(t,i,I(e[i]))})),t}(e):e}const f=(e,t,i,A)=>(i.forEach((i=>{void 0===t[i]&&A.ignoreUndefined||(i in e&&e[i]!==Object.getPrototypeOf(e)?o(e,i,u(e[i],t[i],A)):o(e,i,I(t[i])))})),e),h=(e,t,i)=>{let A=e.slice(0,0),n=0;return[e,t].forEach((t=>{const a=[];for(let i=0;i!a.includes(e))),i)})),A};function u(e,t,i){return i.concatArrays&&Array.isArray(e)&&Array.isArray(t)?h(e,t,i):A(t)&&A(e)?f(e,t,c(t),i):I(t)}t.exports=function(...e){const t=u(I(s),this!==a&&this||{},s);let i={_:{}};for(const r of e)if(void 0!==r){if(!A(r))throw new TypeError("`"+r+"` is not an Option Object");i=u(i,{_:r},t)}return i._}},{"is-plain-obj":168}],171:[function(e,t,i){var A=e("bn.js"),r=e("brorand");function n(e){this.rand=e||new r.Rand}t.exports=n,n.create=function(e){return new n(e)},n.prototype._randbelow=function(e){var t=e.bitLength(),i=Math.ceil(t/8);do{var r=new A(this.rand.generate(i))}while(r.cmp(e)>=0);return r},n.prototype._randrange=function(e,t){var i=t.sub(e);return e.add(this._randbelow(i))},n.prototype.test=function(e,t,i){var r=e.bitLength(),n=A.mont(e),o=new A(1).toRed(n);t||(t=Math.max(1,r/48|0));for(var a=e.subn(1),s=0;!a.testn(s);s++);for(var c=e.shrn(s),I=a.toRed(n);t>0;t--){var f=this._randrange(new A(2),a);i&&i(f);var h=f.toRed(n).redPow(c);if(0!==h.cmp(o)&&0!==h.cmp(I)){for(var u=1;u0;t--){var I=this._randrange(new A(2),o),f=e.gcd(I);if(0!==f.cmpn(1))return f;var h=I.toRed(r).redPow(s);if(0!==h.cmp(n)&&0!==h.cmp(c)){for(var u=1;u>8,o=255&r;n?i.push(n,o):i.push(o)}return i},A.zero2=r,A.toHex=n,A.encode=function(e,t){return"hex"===t?n(e):e}},{}],174:[function(e,t,i){t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],175:[function(e,t,i){"use strict";var A=e("asn1.js");i.certificate=e("./certificate");var r=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())}));i.RSAPrivateKey=r;var n=A.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));i.RSAPublicKey=n;var o=A.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}));i.PublicKey=o;var a=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())})),s=A.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())}));i.PrivateKey=s;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())}));i.EncryptedPrivateKey=c;var I=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())}));i.DSAPrivateKey=I,i.DSAparam=A.define("DSAparam",(function(){this.int()}));var f=A.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())}));i.ECPrivateKey=f;var h=A.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));i.signature=A.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},{"./certificate":176,"asn1.js":3}],176:[function(e,t,i){"use strict";var A=e("asn1.js"),r=A.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),n=A.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),o=A.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),a=A.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())})),s=A.define("RelativeDistinguishedName",(function(){this.setof(n)})),c=A.define("RDNSequence",(function(){this.seqof(s)})),I=A.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),f=A.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(r),this.key("notAfter").use(r))})),h=A.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),u=A.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(o),this.key("issuer").use(I),this.key("validity").use(f),this.key("subject").use(I),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())})),g=A.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(u),this.key("signatureAlgorithm").use(o),this.key("signatureValue").bitstr())}));t.exports=g},{"asn1.js":3}],177:[function(e,t,i){var A=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,r=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,n=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,o=e("evp_bytestokey"),a=e("browserify-aes"),s=e("safe-buffer").Buffer;t.exports=function(e,t){var i,c=e.toString(),I=c.match(A);if(I){var f="aes"+I[1],h=s.from(I[2],"hex"),u=s.from(I[3].replace(/[\r\n]/g,""),"base64"),g=o(t,h.slice(0,8),parseInt(I[1],10)).key,d=[],l=a.createDecipheriv(f,g,h);d.push(l.update(u)),d.push(l.final()),i=s.concat(d)}else{var B=c.match(n);i=s.from(B[2].replace(/[\r\n]/g,""),"base64")}return{tag:c.match(r)[1],data:i}}},{"browserify-aes":53,evp_bytestokey:134,"safe-buffer":195}],178:[function(e,t,i){var A=e("./asn1"),r=e("./aesid.json"),n=e("./fixProc"),o=e("browserify-aes"),a=e("pbkdf2"),s=e("safe-buffer").Buffer;function c(e){var t;"object"!=typeof e||s.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=s.from(e));var i,c,I=n(e,t),f=I.tag,h=I.data;switch(f){case"CERTIFICATE":c=A.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(c||(c=A.PublicKey.decode(h,"der")),i=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 "+i)}case"ENCRYPTED PRIVATE KEY":h=function(e,t){var i=e.algorithm.decrypt.kde.kdeparams.salt,A=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),n=r[e.algorithm.decrypt.cipher.algo.join(".")],c=e.algorithm.decrypt.cipher.iv,I=e.subjectPrivateKey,f=parseInt(n.split("-")[1],10)/8,h=a.pbkdf2Sync(t,i,A,f,"sha1"),u=o.createDecipheriv(n,h,c),g=[];return g.push(u.update(I)),g.push(u.final()),s.concat(g)}(h=A.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(i=(c=A.PrivateKey.decode(h,"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 "+i)}case"RSA PUBLIC KEY":return A.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return A.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:A.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=A.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+f)}}t.exports=c,c.signature=A.signature},{"./aesid.json":174,"./asn1":175,"./fixProc":177,"browserify-aes":53,pbkdf2:179,"safe-buffer":195}],179:[function(e,t,i){i.pbkdf2=e("./lib/async"),i.pbkdf2Sync=e("./lib/sync")},{"./lib/async":180,"./lib/sync":183}],180:[function(e,t,i){(function(i){(function(){var A,r,n=e("safe-buffer").Buffer,o=e("./precondition"),a=e("./default-encoding"),s=e("./sync"),c=e("./to-buffer"),I=i.crypto&&i.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function u(){return r||(r=i.process&&i.process.nextTick?i.process.nextTick:i.queueMicrotask?i.queueMicrotask:i.setImmediate?i.setImmediate:i.setTimeout)}function g(e,t,i,A,r){return I.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return I.deriveBits({name:"PBKDF2",salt:t,iterations:i,hash:{name:r}},e,A<<3)})).then((function(e){return n.from(e)}))}t.exports=function(e,t,r,d,l,B){"function"==typeof l&&(B=l,l=void 0);var p=f[(l=l||"sha1").toLowerCase()];if(p&&"function"==typeof i.Promise){if(o(r,d),e=c(e,a,"Password"),t=c(t,a,"Salt"),"function"!=typeof B)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){u()((function(){t(null,e)}))}),(function(e){u()((function(){t(e)}))}))}(function(e){if(i.process&&!i.process.browser)return Promise.resolve(!1);if(!I||!I.importKey||!I.deriveBits)return Promise.resolve(!1);if(void 0!==h[e])return h[e];var t=g(A=A||n.alloc(8),A,10,128,e).then((function(){return!0})).catch((function(){return!1}));return h[e]=t,t}(p).then((function(i){return i?g(e,t,r,d,p):s(e,t,r,d,l)})),B)}else u()((function(){var i;try{i=s(e,t,r,d,l)}catch(e){return B(e)}B(null,i)}))}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./default-encoding":181,"./precondition":182,"./sync":183,"./to-buffer":184,"safe-buffer":195}],181:[function(e,t,i){(function(e,i){(function(){var A;if(i.process&&i.process.browser)A="utf-8";else if(i.process&&i.process.version){A=parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else A="utf-8";t.exports=A}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:185}],182:[function(e,t,i){var A=Math.pow(2,30)-1;t.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>A||t!=t)throw new TypeError("Bad key length")}},{}],183:[function(e,t,i){var A=e("create-hash/md5"),r=e("ripemd160"),n=e("sha.js"),o=e("safe-buffer").Buffer,a=e("./precondition"),s=e("./default-encoding"),c=e("./to-buffer"),I=o.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(e,t,i){var a=function(e){function t(t){return n(e).update(t).digest()}function i(e){return(new r).update(e).digest()}return"rmd160"===e||"ripemd160"===e?i:"md5"===e?A:t}(e),s="sha512"===e||"sha384"===e?128:64;t.length>s?t=a(t):t.length1)for(var i=1;ig||new o(t).cmp(u.modulus)>=0)throw new Error("decryption error");h=i?c(new o(t),u):a(t,u);var d=I.alloc(g-h.length);if(h=I.concat([d,h],g),4===f)return function(e,t){var i=e.modulus.byteLength(),A=s("sha1").update(I.alloc(0)).digest(),o=A.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,o+1),c=t.slice(o+1),f=n(a,r(c,o)),h=n(c,r(f,i-o-1));if(function(e,t){e=I.from(e),t=I.from(t);var i=0,A=e.length;e.length!==t.length&&(i++,A=Math.min(e.length,t.length));var r=-1;for(;++r=t.length){n++;break}var o=t.slice(2,r-1);("0002"!==A.toString("hex")&&!i||"0001"!==A.toString("hex")&&i)&&n++;o.length<8&&n++;if(n)throw new Error("decryption error");return t.slice(r)}(0,h,i);if(3===f)return h;throw new Error("unknown padding")}},{"./mgf":187,"./withPublic":190,"./xor":191,"bn.js":47,"browserify-rsa":71,"create-hash":102,"parse-asn1":178,"safe-buffer":195}],189:[function(e,t,i){var A=e("parse-asn1"),r=e("randombytes"),n=e("create-hash"),o=e("./mgf"),a=e("./xor"),s=e("bn.js"),c=e("./withPublic"),I=e("browserify-rsa"),f=e("safe-buffer").Buffer;t.exports=function(e,t,i){var h;h=e.padding?e.padding:i?1:4;var u,g=A(e);if(4===h)u=function(e,t){var i=e.modulus.byteLength(),A=t.length,c=n("sha1").update(f.alloc(0)).digest(),I=c.length,h=2*I;if(A>i-h-2)throw new Error("message too long");var u=f.alloc(i-A-h-2),g=i-I-1,d=r(I),l=a(f.concat([c,u,f.alloc(1,1),t],g),o(d,g)),B=a(d,o(l,I));return new s(f.concat([f.alloc(1),B,l],i))}(g,t);else if(1===h)u=function(e,t,i){var A,n=t.length,o=e.modulus.byteLength();if(n>o-11)throw new Error("message too long");A=i?f.alloc(o-n-3,255):function(e){var t,i=f.allocUnsafe(e),A=0,n=r(2*e),o=0;for(;A=0)throw new Error("data too long for modulus")}return i?I(u,g):c(u,g)}},{"./mgf":187,"./withPublic":190,"./xor":191,"bn.js":47,"browserify-rsa":71,"create-hash":102,"parse-asn1":178,randombytes:192,"safe-buffer":195}],190:[function(e,t,i){var A=e("bn.js"),r=e("safe-buffer").Buffer;t.exports=function(e,t){return r.from(e.toRed(A.mont(t.modulus)).redPow(new A(t.publicExponent)).fromRed().toArray())}},{"bn.js":47,"safe-buffer":195}],191:[function(e,t,i){t.exports=function(e,t){for(var i=e.length,A=-1;++An)throw new RangeError("requested too many random bytes");var A=o.allocUnsafe(e);if(e>0)if(e>r)for(var s=0;sI||e<0)throw new TypeError("offset must be a uint32");if(e>s||e>t)throw new RangeError("offset out of range")}function h(e,t,i){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>I||e<0)throw new TypeError("size must be a uint32");if(e+t>i||e>s)throw new RangeError("buffer too small")}function u(e,i,A,r){if(t.browser){var n=e.buffer,a=new Uint8Array(n,i,A);return c.getRandomValues(a),r?void t.nextTick((function(){r(null,e)})):e}if(!r)return o(A).copy(e,i),e;o(A,(function(t,A){if(t)return r(t);A.copy(e,i),r(null,e)}))}c&&c.getRandomValues||!t.browser?(i.randomFill=function(e,t,i,r){if(!(a.isBuffer(e)||e instanceof A.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)r=t,t=0,i=e.length;else if("function"==typeof i)r=i,i=e.length-t;else if("function"!=typeof r)throw new TypeError('"cb" argument must be a function');return f(t,e.length),h(i,t,e.length),u(e,t,i,r)},i.randomFillSync=function(e,t,i){void 0===t&&(t=0);if(!(a.isBuffer(e)||e instanceof A.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');f(t,e.length),void 0===i&&(i=e.length-t);return h(i,t,e.length),u(e,t,i)}):(i.randomFill=r,i.randomFillSync=r)}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:185,randombytes:192,"safe-buffer":195}],194:[function(e,t,i){"use strict";var A=e("buffer").Buffer,r=e("inherits"),n=e("hash-base"),o=new Array(16),a=[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],s=[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],I=[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],f=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function u(){n.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function g(e,t){return e<>>32-t}function d(e,t,i,A,r,n,o,a){return g(e+(t^i^A)+n+o|0,a)+r|0}function l(e,t,i,A,r,n,o,a){return g(e+(t&i|~t&A)+n+o|0,a)+r|0}function B(e,t,i,A,r,n,o,a){return g(e+((t|~i)^A)+n+o|0,a)+r|0}function p(e,t,i,A,r,n,o,a){return g(e+(t&A|i&~A)+n+o|0,a)+r|0}function C(e,t,i,A,r,n,o,a){return g(e+(t^(i|~A))+n+o|0,a)+r|0}r(u,n),u.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var i=0|this._a,A=0|this._b,r=0|this._c,n=0|this._d,u=0|this._e,Q=0|this._a,E=0|this._b,y=0|this._c,b=0|this._d,m=0|this._e,w=0;w<80;w+=1){var v,D;w<16?(v=d(i,A,r,n,u,e[a[w]],f[0],c[w]),D=C(Q,E,y,b,m,e[s[w]],h[0],I[w])):w<32?(v=l(i,A,r,n,u,e[a[w]],f[1],c[w]),D=p(Q,E,y,b,m,e[s[w]],h[1],I[w])):w<48?(v=B(i,A,r,n,u,e[a[w]],f[2],c[w]),D=B(Q,E,y,b,m,e[s[w]],h[2],I[w])):w<64?(v=p(i,A,r,n,u,e[a[w]],f[3],c[w]),D=l(Q,E,y,b,m,e[s[w]],h[3],I[w])):(v=C(i,A,r,n,u,e[a[w]],f[4],c[w]),D=d(Q,E,y,b,m,e[s[w]],h[4],I[w])),i=u,u=n,n=g(r,10),r=A,A=v,Q=m,m=b,b=g(y,10),y=E,E=D}var S=this._b+r+b|0;this._b=this._c+n+m|0,this._c=this._d+u+Q|0,this._d=this._e+i+E|0,this._e=this._a+A+y|0,this._a=S},u.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=u},{buffer:99,"hash-base":135,inherits:167}],195:[function(e,t,i){ /*! safe-buffer. MIT License. Feross Aboukhadijeh */ -var A=e("buffer"),r=A.Buffer;function n(e,t){for(var i in e)t[i]=e[i]}function o(e,t,i){return r(e,t,i)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=A:(n(A,i),i.Buffer=o),o.prototype=Object.create(r.prototype),n(r,o),o.from=function(e,t,i){if("number"==typeof e)throw new TypeError("Argument must not be a number");return r(e,t,i)},o.alloc=function(e,t,i){if("number"!=typeof e)throw new TypeError("Argument must be a number");var A=r(e);return void 0!==t?"string"==typeof i?A.fill(t,i):A.fill(t):A.fill(0),A},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return A.SlowBuffer(e)}},{buffer:99}],199:[function(e,t,i){(function(i){(function(){"use strict";var A,r=e("buffer"),n=r.Buffer,o={};for(A in r)r.hasOwnProperty(A)&&"SlowBuffer"!==A&&"Buffer"!==A&&(o[A]=r[A]);var a=o.Buffer={};for(A in n)n.hasOwnProperty(A)&&"allocUnsafe"!==A&&"allocUnsafeSlow"!==A&&(a[A]=n[A]);if(o.Buffer.prototype=n.prototype,a.from&&a.from!==Uint8Array.from||(a.from=function(e,t,i){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return n(e,t,i)}),a.alloc||(a.alloc=function(e,t,i){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var A=n(e);return t&&0!==t.length?"string"==typeof i?A.fill(t,i):A.fill(t):A.fill(0),A}),!o.kStringMaxLength)try{o.kStringMaxLength=i.binding("buffer").kStringMaxLength}catch(e){}o.constants||(o.constants={MAX_LENGTH:o.kMaxLength},o.kStringMaxLength&&(o.constants.MAX_STRING_LENGTH=o.kStringMaxLength)),t.exports=o}).call(this)}).call(this,e("_process"))},{_process:187,buffer:99}],200:[function(e,t,i){var A=e("safe-buffer").Buffer;function r(e,t){this._block=A.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}r.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=A.from(e,t));for(var i=this._block,r=this._blockSize,n=e.length,o=this._len,a=0;a=this._finalSize&&(this._update(this._block),this._block.fill(0));var i=8*this._len;if(i<=4294967295)this._block.writeUInt32BE(i,this._blockSize-4);else{var A=(4294967295&i)>>>0,r=(i-A)/4294967296;this._block.writeUInt32BE(r,this._blockSize-8),this._block.writeUInt32BE(A,this._blockSize-4)}this._update(this._block);var n=this._hash();return e?n.toString(e):n},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=r},{"safe-buffer":198}],201:[function(e,t,i){(i=t.exports=function(e){e=e.toLowerCase();var t=i[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t}).sha=e("./sha"),i.sha1=e("./sha1"),i.sha224=e("./sha224"),i.sha256=e("./sha256"),i.sha384=e("./sha384"),i.sha512=e("./sha512")},{"./sha":202,"./sha1":203,"./sha224":204,"./sha256":205,"./sha384":206,"./sha512":207}],202:[function(e,t,i){var A=e("inherits"),r=e("./hash"),n=e("safe-buffer").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function s(){this.init(),this._w=a,r.call(this,64,56)}function c(e){return e<<30|e>>>2}function I(e,t,i,A){return 0===e?t&i|~t&A:2===e?t&i|t&A|i&A:t^i^A}A(s,r),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(e){for(var t,i=this._w,A=0|this._a,r=0|this._b,n=0|this._c,a=0|this._d,s=0|this._e,f=0;f<16;++f)i[f]=e.readInt32BE(4*f);for(;f<80;++f)i[f]=i[f-3]^i[f-8]^i[f-14]^i[f-16];for(var h=0;h<80;++h){var g=~~(h/20),u=0|((t=A)<<5|t>>>27)+I(g,r,n,a)+s+i[h]+o[g];s=a,a=n,n=c(r),r=A,A=u}this._a=A+this._a|0,this._b=r+this._b|0,this._c=n+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},s.prototype._hash=function(){var e=n.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=s},{"./hash":200,inherits:169,"safe-buffer":198}],203:[function(e,t,i){var A=e("inherits"),r=e("./hash"),n=e("safe-buffer").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function s(){this.init(),this._w=a,r.call(this,64,56)}function c(e){return e<<5|e>>>27}function I(e){return e<<30|e>>>2}function f(e,t,i,A){return 0===e?t&i|~t&A:2===e?t&i|t&A|i&A:t^i^A}A(s,r),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(e){for(var t,i=this._w,A=0|this._a,r=0|this._b,n=0|this._c,a=0|this._d,s=0|this._e,h=0;h<16;++h)i[h]=e.readInt32BE(4*h);for(;h<80;++h)i[h]=(t=i[h-3]^i[h-8]^i[h-14]^i[h-16])<<1|t>>>31;for(var g=0;g<80;++g){var u=~~(g/20),d=c(A)+f(u,r,n,a)+s+i[g]+o[u]|0;s=a,a=n,n=I(r),r=A,A=d}this._a=A+this._a|0,this._b=r+this._b|0,this._c=n+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},s.prototype._hash=function(){var e=n.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=s},{"./hash":200,inherits:169,"safe-buffer":198}],204:[function(e,t,i){var A=e("inherits"),r=e("./sha256"),n=e("./hash"),o=e("safe-buffer").Buffer,a=new Array(64);function s(){this.init(),this._w=a,n.call(this,64,56)}A(s,r),s.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},s.prototype._hash=function(){var e=o.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=s},{"./hash":200,"./sha256":205,inherits:169,"safe-buffer":198}],205:[function(e,t,i){var A=e("inherits"),r=e("./hash"),n=e("safe-buffer").Buffer,o=[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],a=new Array(64);function s(){this.init(),this._w=a,r.call(this,64,56)}function c(e,t,i){return i^e&(t^i)}function I(e,t,i){return e&t|i&(e|t)}function f(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function g(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}A(s,r),s.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},s.prototype._update=function(e){for(var t,i=this._w,A=0|this._a,r=0|this._b,n=0|this._c,a=0|this._d,s=0|this._e,u=0|this._f,d=0|this._g,l=0|this._h,B=0;B<16;++B)i[B]=e.readInt32BE(4*B);for(;B<64;++B)i[B]=0|(((t=i[B-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+i[B-7]+g(i[B-15])+i[B-16];for(var p=0;p<64;++p){var C=l+h(s)+c(s,u,d)+o[p]+i[p]|0,Q=f(A)+I(A,r,n)|0;l=d,d=u,u=s,s=a+C|0,a=n,n=r,r=A,A=C+Q|0}this._a=A+this._a|0,this._b=r+this._b|0,this._c=n+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0,this._f=u+this._f|0,this._g=d+this._g|0,this._h=l+this._h|0},s.prototype._hash=function(){var e=n.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=s},{"./hash":200,inherits:169,"safe-buffer":198}],206:[function(e,t,i){var A=e("inherits"),r=e("./sha512"),n=e("./hash"),o=e("safe-buffer").Buffer,a=new Array(160);function s(){this.init(),this._w=a,n.call(this,128,112)}A(s,r),s.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},s.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,i,A){e.writeInt32BE(t,A),e.writeInt32BE(i,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=s},{"./hash":200,"./sha512":207,inherits:169,"safe-buffer":198}],207:[function(e,t,i){var A=e("inherits"),r=e("./hash"),n=e("safe-buffer").Buffer,o=[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],a=new Array(160);function s(){this.init(),this._w=a,r.call(this,128,112)}function c(e,t,i){return i^e&(t^i)}function I(e,t,i){return e&t|i&(e|t)}function f(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function g(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function u(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function d(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function l(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function B(e,t){return e>>>0>>0?1:0}A(s,r),s.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},s.prototype._update=function(e){for(var t=this._w,i=0|this._ah,A=0|this._bh,r=0|this._ch,n=0|this._dh,a=0|this._eh,s=0|this._fh,p=0|this._gh,C=0|this._hh,Q=0|this._al,E=0|this._bl,y=0|this._cl,b=0|this._dl,m=0|this._el,w=0|this._fl,v=0|this._gl,D=0|this._hl,S=0;S<32;S+=2)t[S]=e.readInt32BE(4*S),t[S+1]=e.readInt32BE(4*S+4);for(;S<160;S+=2){var F=t[S-30],k=t[S-30+1],M=g(F,k),N=u(k,F),U=d(F=t[S-4],k=t[S-4+1]),G=l(k,F),H=t[S-14],_=t[S-14+1],R=t[S-32],K=t[S-32+1],q=N+_|0,x=M+H+B(q,N)|0;x=(x=x+U+B(q=q+G|0,G)|0)+R+B(q=q+K|0,K)|0,t[S]=x,t[S+1]=q}for(var J=0;J<160;J+=2){x=t[J],q=t[J+1];var Y=I(i,A,r),O=I(Q,E,y),L=f(i,Q),P=f(Q,i),z=h(a,m),Z=h(m,a),T=o[J],X=o[J+1],V=c(a,s,p),j=c(m,w,v),W=D+Z|0,$=C+z+B(W,D)|0;$=($=($=$+V+B(W=W+j|0,j)|0)+T+B(W=W+X|0,X)|0)+x+B(W=W+q|0,q)|0;var ee=P+O|0,te=L+Y+B(ee,P)|0;C=p,D=v,p=s,v=w,s=a,w=m,a=n+$+B(m=b+W|0,b)|0,n=r,b=y,r=A,y=E,A=i,E=Q,i=$+te+B(Q=W+ee|0,W)|0}this._al=this._al+Q|0,this._bl=this._bl+E|0,this._cl=this._cl+y|0,this._dl=this._dl+b|0,this._el=this._el+m|0,this._fl=this._fl+w|0,this._gl=this._gl+v|0,this._hl=this._hl+D|0,this._ah=this._ah+i+B(this._al,Q)|0,this._bh=this._bh+A+B(this._bl,E)|0,this._ch=this._ch+r+B(this._cl,y)|0,this._dh=this._dh+n+B(this._dl,b)|0,this._eh=this._eh+a+B(this._el,m)|0,this._fh=this._fh+s+B(this._fl,w)|0,this._gh=this._gh+p+B(this._gl,v)|0,this._hh=this._hh+C+B(this._hl,D)|0},s.prototype._hash=function(){var e=n.allocUnsafe(64);function t(t,i,A){e.writeInt32BE(t,A),e.writeInt32BE(i,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=s},{"./hash":200,inherits:169,"safe-buffer":198}],208:[function(e,t,i){"use strict";t.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const i=e.indexOf(t);return-1===i?[e]:[e.slice(0,i),e.slice(i+t.length)]}},{}],209:[function(e,t,i){t.exports=r;var A=e("events").EventEmitter;function r(){A.call(this)}e("inherits")(r,A),r.Readable=e("readable-stream/lib/_stream_readable.js"),r.Writable=e("readable-stream/lib/_stream_writable.js"),r.Duplex=e("readable-stream/lib/_stream_duplex.js"),r.Transform=e("readable-stream/lib/_stream_transform.js"),r.PassThrough=e("readable-stream/lib/_stream_passthrough.js"),r.finished=e("readable-stream/lib/internal/streams/end-of-stream.js"),r.pipeline=e("readable-stream/lib/internal/streams/pipeline.js"),r.Stream=r,r.prototype.pipe=function(e,t){var i=this;function r(t){e.writable&&!1===e.write(t)&&i.pause&&i.pause()}function n(){i.readable&&i.resume&&i.resume()}i.on("data",r),e.on("drain",n),e._isStdio||t&&!1===t.end||(i.on("end",a),i.on("close",s));var o=!1;function a(){o||(o=!0,e.end())}function s(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(I(),0===A.listenerCount(this,"error"))throw e}function I(){i.removeListener("data",r),e.removeListener("drain",n),i.removeListener("end",a),i.removeListener("close",s),i.removeListener("error",c),e.removeListener("error",c),i.removeListener("end",I),i.removeListener("close",I),e.removeListener("close",I)}return i.on("error",c),e.on("error",c),i.on("end",I),i.on("close",I),e.on("close",I),e.emit("pipe",i),e}},{events:134,inherits:169,"readable-stream/lib/_stream_duplex.js":211,"readable-stream/lib/_stream_passthrough.js":212,"readable-stream/lib/_stream_readable.js":213,"readable-stream/lib/_stream_transform.js":214,"readable-stream/lib/_stream_writable.js":215,"readable-stream/lib/internal/streams/end-of-stream.js":219,"readable-stream/lib/internal/streams/pipeline.js":221}],210:[function(e,t,i){arguments[4][80][0].apply(i,arguments)},{dup:80}],211:[function(e,t,i){arguments[4][81][0].apply(i,arguments)},{"./_stream_readable":213,"./_stream_writable":215,_process:187,dup:81,inherits:169}],212:[function(e,t,i){arguments[4][82][0].apply(i,arguments)},{"./_stream_transform":214,dup:82,inherits:169}],213:[function(e,t,i){arguments[4][83][0].apply(i,arguments)},{"../errors":210,"./_stream_duplex":211,"./internal/streams/async_iterator":216,"./internal/streams/buffer_list":217,"./internal/streams/destroy":218,"./internal/streams/from":220,"./internal/streams/state":222,"./internal/streams/stream":223,_process:187,buffer:99,dup:83,events:134,inherits:169,"string_decoder/":224,util:50}],214:[function(e,t,i){arguments[4][84][0].apply(i,arguments)},{"../errors":210,"./_stream_duplex":211,dup:84,inherits:169}],215:[function(e,t,i){arguments[4][85][0].apply(i,arguments)},{"../errors":210,"./_stream_duplex":211,"./internal/streams/destroy":218,"./internal/streams/state":222,"./internal/streams/stream":223,_process:187,buffer:99,dup:85,inherits:169,"util-deprecate":226}],216:[function(e,t,i){arguments[4][86][0].apply(i,arguments)},{"./end-of-stream":219,_process:187,dup:86}],217:[function(e,t,i){arguments[4][87][0].apply(i,arguments)},{buffer:99,dup:87,util:50}],218:[function(e,t,i){arguments[4][88][0].apply(i,arguments)},{_process:187,dup:88}],219:[function(e,t,i){arguments[4][89][0].apply(i,arguments)},{"../../../errors":210,dup:89}],220:[function(e,t,i){arguments[4][90][0].apply(i,arguments)},{dup:90}],221:[function(e,t,i){arguments[4][91][0].apply(i,arguments)},{"../../../errors":210,"./end-of-stream":219,dup:91}],222:[function(e,t,i){arguments[4][92][0].apply(i,arguments)},{"../../../errors":210,dup:92}],223:[function(e,t,i){arguments[4][93][0].apply(i,arguments)},{dup:93,events:134}],224:[function(e,t,i){arguments[4][95][0].apply(i,arguments)},{dup:95,"safe-buffer":198}],225:[function(e,t,i){"use strict";t.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},{}],226:[function(e,t,i){(function(e){(function(){function i(t){try{if(!e.localStorage)return!1}catch(e){return!1}var i=e.localStorage[t];return null!=i&&"true"===String(i).toLowerCase()}t.exports=function(e,t){if(i("noDeprecation"))return e;var A=!1;return function(){if(!A){if(i("throwDeprecation"))throw new Error(t);i("traceDeprecation")?console.trace(t):console.warn(t),A=!0}return e.apply(this,arguments)}}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],227:[function(e,t,i){!function(e){"use strict";e.exports.is_uri=i,e.exports.is_http_uri=A,e.exports.is_https_uri=r,e.exports.is_web_uri=n,e.exports.isUri=i,e.exports.isHttpUri=A,e.exports.isHttpsUri=r,e.exports.isWebUri=n;var t=function(e){return e.match(/(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/)};function i(e){if(e&&!/[^a-z0-9\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=\.\-\_\~\%]/i.test(e)&&!/%[^0-9a-f]/i.test(e)&&!/%[0-9a-f](:?[^0-9a-f]|$)/i.test(e)){var i,A,r,n,o,a="",s="";if(a=(i=t(e))[1],A=i[2],r=i[3],n=i[4],o=i[5],a&&a.length&&r.length>=0){if(A&&A.length){if(0!==r.length&&!/^\//.test(r))return}else if(/^\/\//.test(r))return;if(/^[a-z][a-z0-9\+\-\.]*$/.test(a.toLowerCase()))return s+=a+":",A&&A.length&&(s+="//"+A),s+=r,n&&n.length&&(s+="?"+n),o&&o.length&&(s+="#"+o),s}}}function A(e,A){if(i(e)){var r,n,o,a,s="",c="",I="",f="";if(s=(r=t(e))[1],c=r[2],n=r[3],o=r[4],a=r[5],s){if(A){if("https"!=s.toLowerCase())return}else if("http"!=s.toLowerCase())return;if(c)return/:(\d+)$/.test(c)&&(I=c.match(/:(\d+)$/)[0],c=c.replace(/:\d+$/,"")),f+=s+":",f+="//"+c,I&&(f+=I),f+=n,o&&o.length&&(f+="?"+o),a&&a.length&&(f+="#"+a),f}}}function r(e){return A(e,!0)}function n(e){return A(e)||r(e)}}(t)},{}],228:[function(e,t,i){"use strict";function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=Pe(e("./lib/toDate")),n=Pe(e("./lib/toFloat")),o=Pe(e("./lib/toInt")),a=Pe(e("./lib/toBoolean")),s=Pe(e("./lib/equals")),c=Pe(e("./lib/contains")),I=Pe(e("./lib/matches")),f=Pe(e("./lib/isEmail")),h=Pe(e("./lib/isURL")),g=Pe(e("./lib/isMACAddress")),u=Pe(e("./lib/isIP")),d=Pe(e("./lib/isIPRange")),l=Pe(e("./lib/isFQDN")),B=Pe(e("./lib/isDate")),p=Pe(e("./lib/isBoolean")),C=Pe(e("./lib/isLocale")),Q=Le(e("./lib/isAlpha")),E=Le(e("./lib/isAlphanumeric")),y=Pe(e("./lib/isNumeric")),b=Pe(e("./lib/isPassportNumber")),m=Pe(e("./lib/isPort")),w=Pe(e("./lib/isLowercase")),v=Pe(e("./lib/isUppercase")),D=Pe(e("./lib/isIMEI")),S=Pe(e("./lib/isAscii")),F=Pe(e("./lib/isFullWidth")),k=Pe(e("./lib/isHalfWidth")),M=Pe(e("./lib/isVariableWidth")),N=Pe(e("./lib/isMultibyte")),U=Pe(e("./lib/isSemVer")),G=Pe(e("./lib/isSurrogatePair")),H=Pe(e("./lib/isInt")),_=Le(e("./lib/isFloat")),R=Pe(e("./lib/isDecimal")),K=Pe(e("./lib/isHexadecimal")),q=Pe(e("./lib/isOctal")),x=Pe(e("./lib/isDivisibleBy")),J=Pe(e("./lib/isHexColor")),Y=Pe(e("./lib/isRgbColor")),O=Pe(e("./lib/isHSL")),L=Pe(e("./lib/isISRC")),P=Le(e("./lib/isIBAN")),z=Pe(e("./lib/isBIC")),Z=Pe(e("./lib/isMD5")),T=Pe(e("./lib/isHash")),X=Pe(e("./lib/isJWT")),V=Pe(e("./lib/isJSON")),j=Pe(e("./lib/isEmpty")),W=Pe(e("./lib/isLength")),$=Pe(e("./lib/isByteLength")),ee=Pe(e("./lib/isUUID")),te=Pe(e("./lib/isMongoId")),ie=Pe(e("./lib/isAfter")),Ae=Pe(e("./lib/isBefore")),re=Pe(e("./lib/isIn")),ne=Pe(e("./lib/isCreditCard")),oe=Pe(e("./lib/isIdentityCard")),ae=Pe(e("./lib/isEAN")),se=Pe(e("./lib/isISIN")),ce=Pe(e("./lib/isISBN")),Ie=Pe(e("./lib/isISSN")),fe=Pe(e("./lib/isTaxID")),he=Le(e("./lib/isMobilePhone")),ge=Pe(e("./lib/isEthereumAddress")),ue=Pe(e("./lib/isCurrency")),de=Pe(e("./lib/isBtcAddress")),le=Pe(e("./lib/isISO8601")),Be=Pe(e("./lib/isRFC3339")),pe=Pe(e("./lib/isISO31661Alpha2")),Ce=Pe(e("./lib/isISO31661Alpha3")),Qe=Pe(e("./lib/isISO4217")),Ee=Pe(e("./lib/isBase32")),ye=Pe(e("./lib/isBase58")),be=Pe(e("./lib/isBase64")),me=Pe(e("./lib/isDataURI")),we=Pe(e("./lib/isMagnetURI")),ve=Pe(e("./lib/isMimeType")),De=Pe(e("./lib/isLatLong")),Se=Le(e("./lib/isPostalCode")),Fe=Pe(e("./lib/ltrim")),ke=Pe(e("./lib/rtrim")),Me=Pe(e("./lib/trim")),Ne=Pe(e("./lib/escape")),Ue=Pe(e("./lib/unescape")),Ge=Pe(e("./lib/stripLow")),He=Pe(e("./lib/whitelist")),_e=Pe(e("./lib/blacklist")),Re=Pe(e("./lib/isWhitelisted")),Ke=Pe(e("./lib/normalizeEmail")),qe=Pe(e("./lib/isSlug")),xe=Pe(e("./lib/isLicensePlate")),Je=Pe(e("./lib/isStrongPassword")),Ye=Pe(e("./lib/isVAT"));function Oe(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Oe=function(){return e},e}function Le(e){if(e&&e.__esModule)return e;if(null===e||"object"!==A(e)&&"function"!=typeof e)return{default:e};var t=Oe();if(t&&t.has(e))return t.get(e);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=r?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}return i.default=e,t&&t.set(e,i),i}function Pe(e){return e&&e.__esModule?e:{default:e}}var ze={version:"13.7.0",toDate:r.default,toFloat:n.default,toInt:o.default,toBoolean:a.default,equals:s.default,contains:c.default,matches:I.default,isEmail:f.default,isURL:h.default,isMACAddress:g.default,isIP:u.default,isIPRange:d.default,isFQDN:l.default,isBoolean:p.default,isIBAN:P.default,isBIC:z.default,isAlpha:Q.default,isAlphaLocales:Q.locales,isAlphanumeric:E.default,isAlphanumericLocales:E.locales,isNumeric:y.default,isPassportNumber:b.default,isPort:m.default,isLowercase:w.default,isUppercase:v.default,isAscii:S.default,isFullWidth:F.default,isHalfWidth:k.default,isVariableWidth:M.default,isMultibyte:N.default,isSemVer:U.default,isSurrogatePair:G.default,isInt:H.default,isIMEI:D.default,isFloat:_.default,isFloatLocales:_.locales,isDecimal:R.default,isHexadecimal:K.default,isOctal:q.default,isDivisibleBy:x.default,isHexColor:J.default,isRgbColor:Y.default,isHSL:O.default,isISRC:L.default,isMD5:Z.default,isHash:T.default,isJWT:X.default,isJSON:V.default,isEmpty:j.default,isLength:W.default,isLocale:C.default,isByteLength:$.default,isUUID:ee.default,isMongoId:te.default,isAfter:ie.default,isBefore:Ae.default,isIn:re.default,isCreditCard:ne.default,isIdentityCard:oe.default,isEAN:ae.default,isISIN:se.default,isISBN:ce.default,isISSN:Ie.default,isMobilePhone:he.default,isMobilePhoneLocales:he.locales,isPostalCode:Se.default,isPostalCodeLocales:Se.locales,isEthereumAddress:ge.default,isCurrency:ue.default,isBtcAddress:de.default,isISO8601:le.default,isRFC3339:Be.default,isISO31661Alpha2:pe.default,isISO31661Alpha3:Ce.default,isISO4217:Qe.default,isBase32:Ee.default,isBase58:ye.default,isBase64:be.default,isDataURI:me.default,isMagnetURI:we.default,isMimeType:ve.default,isLatLong:De.default,ltrim:Fe.default,rtrim:ke.default,trim:Me.default,escape:Ne.default,unescape:Ue.default,stripLow:Ge.default,whitelist:He.default,blacklist:_e.default,isWhitelisted:Re.default,normalizeEmail:Ke.default,toString:toString,isSlug:qe.default,isStrongPassword:Je.default,isTaxID:fe.default,isDate:B.default,isLicensePlate:xe.default,isVAT:Ye.default,ibanLocales:P.locales};i.default=ze,t.exports=i.default,t.exports.default=i.default},{"./lib/blacklist":230,"./lib/contains":231,"./lib/equals":232,"./lib/escape":233,"./lib/isAfter":234,"./lib/isAlpha":235,"./lib/isAlphanumeric":236,"./lib/isAscii":237,"./lib/isBIC":238,"./lib/isBase32":239,"./lib/isBase58":240,"./lib/isBase64":241,"./lib/isBefore":242,"./lib/isBoolean":243,"./lib/isBtcAddress":244,"./lib/isByteLength":245,"./lib/isCreditCard":246,"./lib/isCurrency":247,"./lib/isDataURI":248,"./lib/isDate":249,"./lib/isDecimal":250,"./lib/isDivisibleBy":251,"./lib/isEAN":252,"./lib/isEmail":253,"./lib/isEmpty":254,"./lib/isEthereumAddress":255,"./lib/isFQDN":256,"./lib/isFloat":257,"./lib/isFullWidth":258,"./lib/isHSL":259,"./lib/isHalfWidth":260,"./lib/isHash":261,"./lib/isHexColor":262,"./lib/isHexadecimal":263,"./lib/isIBAN":264,"./lib/isIMEI":265,"./lib/isIP":266,"./lib/isIPRange":267,"./lib/isISBN":268,"./lib/isISIN":269,"./lib/isISO31661Alpha2":270,"./lib/isISO31661Alpha3":271,"./lib/isISO4217":272,"./lib/isISO8601":273,"./lib/isISRC":274,"./lib/isISSN":275,"./lib/isIdentityCard":276,"./lib/isIn":277,"./lib/isInt":278,"./lib/isJSON":279,"./lib/isJWT":280,"./lib/isLatLong":281,"./lib/isLength":282,"./lib/isLicensePlate":283,"./lib/isLocale":284,"./lib/isLowercase":285,"./lib/isMACAddress":286,"./lib/isMD5":287,"./lib/isMagnetURI":288,"./lib/isMimeType":289,"./lib/isMobilePhone":290,"./lib/isMongoId":291,"./lib/isMultibyte":292,"./lib/isNumeric":293,"./lib/isOctal":294,"./lib/isPassportNumber":295,"./lib/isPort":296,"./lib/isPostalCode":297,"./lib/isRFC3339":298,"./lib/isRgbColor":299,"./lib/isSemVer":300,"./lib/isSlug":301,"./lib/isStrongPassword":302,"./lib/isSurrogatePair":303,"./lib/isTaxID":304,"./lib/isURL":305,"./lib/isUUID":306,"./lib/isUppercase":307,"./lib/isVAT":308,"./lib/isVariableWidth":309,"./lib/isWhitelisted":310,"./lib/ltrim":311,"./lib/matches":312,"./lib/normalizeEmail":313,"./lib/rtrim":314,"./lib/stripLow":315,"./lib/toBoolean":316,"./lib/toDate":317,"./lib/toFloat":318,"./lib/toInt":319,"./lib/trim":320,"./lib/unescape":321,"./lib/whitelist":328}],229:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.commaDecimal=i.dotDecimal=i.farsiLocales=i.arabicLocales=i.englishLocales=i.decimal=i.alphanumeric=i.alpha=void 0;var A={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fi-FI":/^[A-ZÅÄÖ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i,"hi-IN":/^[\u0900-\u0961]+[\u0972-\u097F]*$/i};i.alpha=A;var r={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fi-FI":/^[0-9A-ZÅÄÖ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i};i.alphanumeric=r;var n={"en-US":".",ar:"٫"};i.decimal=n;var o=["AU","GB","HK","IN","NZ","ZA","ZM"];i.englishLocales=o;for(var a,s=0;si.minOccurrences;return e.split((0,r.default)(t)).length>i.minOccurrences};var A=o(e("./util/assertString")),r=o(e("./util/toString")),n=o(e("./util/merge"));function o(e){return e&&e.__esModule?e:{default:e}}var a={ignoreCase:!1,minOccurrences:1};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323,"./util/merge":325,"./util/toString":327}],232:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){return(0,r.default)(e),e===t};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],233:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],234:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,A.default)(e);var i=(0,r.default)(t),n=(0,r.default)(e);return!!(n&&i&&n>i)};var A=n(e("./util/assertString")),r=n(e("./toDate"));function n(e){return e&&e.__esModule?e:{default:e}}t.exports=i.default,t.exports.default=i.default},{"./toDate":317,"./util/assertString":323}],235:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,r.default)(e);var A=e,o=i.ignore;if(o)if(o instanceof RegExp)A=A.replace(o,"");else{if("string"!=typeof o)throw new Error("ignore should be instance of a String or RegExp");A=A.replace(new RegExp("[".concat(o.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in n.alpha)return n.alpha[t].test(A);throw new Error("Invalid locale '".concat(t,"'"))},i.locales=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A},n=e("./alpha");var o=Object.keys(n.alpha);i.locales=o},{"./alpha":229,"./util/assertString":323}],236:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,r.default)(e);var A=e,o=i.ignore;if(o)if(o instanceof RegExp)A=A.replace(o,"");else{if("string"!=typeof o)throw new Error("ignore should be instance of a String or RegExp");A=A.replace(new RegExp("[".concat(o.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in n.alphanumeric)return n.alphanumeric[t].test(A);throw new Error("Invalid locale '".concat(t,"'"))},i.locales=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A},n=e("./alpha");var o=Object.keys(n.alphanumeric);i.locales=o},{"./alpha":229,"./util/assertString":323}],237:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[\x00-\x7F]+$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],238:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){if((0,r.default)(e),!n.CountryCodes.has(e.slice(4,6).toUpperCase()))return!1;return o.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A},n=e("./isISO31661Alpha2");var o=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;t.exports=i.default,t.exports.default=i.default},{"./isISO31661Alpha2":270,"./util/assertString":323}],239:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){if((0,r.default)(e),e.length%8==0&&n.test(e))return!0;return!1};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[A-Z2-7]+=*$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],240:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){if((0,r.default)(e),n.test(e))return!0;return!1};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[A-HJ-NP-Za-km-z1-9]*$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],241:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,A.default)(e),t=(0,r.default)(t,s);var i=e.length;if(t.urlSafe)return a.test(e);if(i%4!=0||o.test(e))return!1;var n=e.indexOf("=");return-1===n||n===i-1||n===i-2&&"="===e[i-1]};var A=n(e("./util/assertString")),r=n(e("./util/merge"));function n(e){return e&&e.__esModule?e:{default:e}}var o=/[^A-Z0-9+\/=]/i,a=/^[A-Z0-9_\-]*$/i,s={urlSafe:!1};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323,"./util/merge":325}],242:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,A.default)(e);var i=(0,r.default)(t),n=(0,r.default)(e);return!!(n&&i&&n1&&void 0!==arguments[1]?arguments[1]:n;if((0,r.default)(e),t.loose)return a.includes(e.toLowerCase());return o.includes(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n={loose:!1},o=["true","false","1","0"],a=[].concat(o,["yes","no"]);t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],244:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){if((0,r.default)(e),e.startsWith("bc1"))return n.test(e);return o.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^(bc1)[a-z0-9]{25,39}$/,o=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],245:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){var i,A;(0,r.default)(e),"object"===n(t)?(i=t.min||0,A=t.max):(i=arguments[1],A=arguments[2]);var o=encodeURI(e).split(/%..|./).length-1;return o>=i&&(void 0===A||o<=A)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],246:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){(0,r.default)(e);var t=e.replace(/[- ]+/g,"");if(!n.test(t))return!1;for(var i,A,o,a=0,s=t.length-1;s>=0;s--)i=t.substring(s,s+1),A=parseInt(i,10),a+=o&&(A*=2)>=10?A%10+1:A,o=!o;return!(a%10!=0||!t)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14}|^(81[0-9]{14,17}))$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],247:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){return(0,r.default)(e),function(e){var t="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach((function(e,i){0!==i&&(t="".concat(t,"|\\d{").concat(e,"}"))}));var i="(".concat(e.symbol.replace(/\W/,(function(e){return"\\".concat(e)})),")").concat(e.require_symbol?"":"?"),A="-?",r="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),n="(".concat(["0","[1-9]\\d*",r].join("|"),")?"),o="(\\".concat(e.decimal_separator,"(").concat(t,"))").concat(e.require_decimal?"":"?"),a=n+(e.allow_decimal||e.require_decimal?o:"");e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?a+=A:e.negative_sign_before_digits&&(a=A+a));e.allow_negative_sign_placeholder?a="( (?!\\-))?".concat(a):e.allow_space_after_symbol?a=" ?".concat(a):e.allow_space_after_digits&&(a+="( (?!$))?");e.symbol_after_digits?a+=i:a=i+a;e.allow_negatives&&(e.parens_for_negatives?a="(\\(".concat(a,"\\)|").concat(a,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(a=A+a));return new RegExp("^(?!-? )(?=.*\\d)".concat(a,"$"))}(t=(0,A.default)(t,o)).test(e)};var A=n(e("./util/merge")),r=n(e("./util/assertString"));function n(e){return e&&e.__esModule?e:{default:e}}var o={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323,"./util/merge":325}],248:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){(0,r.default)(e);var t=e.split(",");if(t.length<2)return!1;var i=t.shift().trim().split(";"),A=i.shift();if("data:"!==A.substr(0,5))return!1;var s=A.substr(5);if(""!==s&&!n.test(s))return!1;for(var c=0;c=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}(s);try{for(I.s();!(i=I.n()).done;){var f=(u=i.value,d=2,function(e){if(Array.isArray(e))return e}(u)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var i=[],A=!0,r=!1,n=void 0;try{for(var o,a=e[Symbol.iterator]();!(A=(o=a.next()).done)&&(i.push(o.value),!t||i.length!==t);A=!0);}catch(e){r=!0,n=e}finally{try{A||null==a.return||a.return()}finally{if(r)throw n}}return i}(u,d)||n(u,d)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=f[0],g=f[1];if(h.length!==g.length)return!1;c[g.charAt(0)]=h}}catch(e){I.e(e)}finally{I.f()}return new Date("".concat(c.m,"/").concat(c.d,"/").concat(c.y)).getDate()===+c.d}var u,d;var l;if(!t.strictMode)return"[object Date]"===Object.prototype.toString.call(e)&&isFinite(e);return!1};var A,r=(A=e("./util/merge"))&&A.__esModule?A:{default:A};function n(e,t){if(e){if("string"==typeof e)return o(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,A=new Array(t);i$)/g,""),s.endsWith(" ")&&(s=s.substr(0,s.length-1)),!function(e){var t=e.replace(/^"(.+)"$/,"$1");if(!t.trim())return!1;if(/[\.";<>]/.test(t)){if(t===e)return!1;if(!(t.split('"').length===t.split('\\"').length))return!1}return!0}(s))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var l=e.split("@"),B=l.pop(),p=B.toLowerCase();if(t.host_blacklist.includes(p))return!1;var C=l.join("@");if(t.domain_specific_validation&&("gmail.com"===p||"googlemail.com"===p)){var Q=(C=C.toLowerCase()).split("+")[0];if(!(0,n.default)(Q.replace(/\./g,""),{min:6,max:30}))return!1;for(var E=Q.split("."),y=0;y63)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))};var A=n(e("./util/assertString")),r=n(e("./util/merge"));function n(e){return e&&e.__esModule?e:{default:e}}var o={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323,"./util/merge":325}],257:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,r.default)(e),t=t||{};var i=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?n.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var A=parseFloat(e.replace(",","."));return i.test(e)&&(!t.hasOwnProperty("min")||A>=t.min)&&(!t.hasOwnProperty("max")||A<=t.max)&&(!t.hasOwnProperty("lt")||At.gt)},i.locales=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A},n=e("./alpha");var o=Object.keys(n.decimal);i.locales=o},{"./alpha":229,"./util/assertString":323}],258:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)},i.fullWidth=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;i.fullWidth=n},{"./util/assertString":323}],259:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){(0,r.default)(e);var t=e.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/gi,"$1");if(-1!==t.indexOf(","))return n.test(t);return o.test(t)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i,o=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],260:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)},i.halfWidth=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;i.halfWidth=n},{"./util/assertString":323}],261:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){return(0,r.default)(e),new RegExp("^[a-fA-F0-9]{".concat(n[t],"}$")).test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],262:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],263:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^(0x|0h)?[0-9A-F]+$/i;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],264:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),function(e){var t=e.replace(/[\s\-]+/gi,"").toUpperCase(),i=t.slice(0,2).toUpperCase();return i in n&&n[i].test(t)}(e)&&function(e){var t=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase();return 1===(t.slice(4)+t.slice(0,4)).replace(/[A-Z]/g,(function(e){return e.charCodeAt(0)-55})).match(/\d{1,7}/g).reduce((function(e,t){return Number(e+t)%97}),"")}(e)},i.locales=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(B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{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};var o=Object.keys(n);i.locales=o},{"./util/assertString":323}],265:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,r.default)(e);var i=n;(t=t||{}).allow_hyphens&&(i=o);if(!i.test(e))return!1;e=e.replace(/-/g,"");for(var A=0,a=2,s=0;s<14;s++){var c=e.substring(14-s-1,14-s),I=parseInt(c,10)*a;A+=I>=10?I%10+1:I,1===a?a+=1:a-=1}if((10-A%10)%10!==parseInt(e.substring(14,15),10))return!1;return!0};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[0-9]{15}$/,o=/^\d{2}-\d{6}-\d{6}-\d{1}$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],266:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,r.default)(t),!(i=String(i)))return e(t,4)||e(t,6);if("4"===i){if(!a.test(t))return!1;var A=t.split(".").sort((function(e,t){return e-t}));return A[3]<=255}if("6"===i)return!!c.test(t);return!1};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",o="(".concat(n,"[.]){3}").concat(n),a=new RegExp("^".concat(o,"$")),s="(?:[0-9a-fA-F]{1,4})",c=new RegExp("^("+"(?:".concat(s,":){7}(?:").concat(s,"|:)|")+"(?:".concat(s,":){6}(?:").concat(o,"|:").concat(s,"|:)|")+"(?:".concat(s,":){5}(?::").concat(o,"|(:").concat(s,"){1,2}|:)|")+"(?:".concat(s,":){4}(?:(:").concat(s,"){0,1}:").concat(o,"|(:").concat(s,"){1,3}|:)|")+"(?:".concat(s,":){3}(?:(:").concat(s,"){0,2}:").concat(o,"|(:").concat(s,"){1,4}|:)|")+"(?:".concat(s,":){2}(?:(:").concat(s,"){0,3}:").concat(o,"|(:").concat(s,"){1,5}|:)|")+"(?:".concat(s,":){1}(?:(:").concat(s,"){0,4}:").concat(o,"|(:").concat(s,"){1,6}|:)|")+"(?::((?::".concat(s,"){0,5}:").concat(o,"|(?::").concat(s,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],267:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,A.default)(e);var i=e.split("/");if(2!==i.length)return!1;if(!o.test(i[1]))return!1;if(i[1].length>1&&i[1].startsWith("0"))return!1;var n=(0,r.default)(i[0],t);if(!n)return!1;var s=null;switch(String(t)){case"4":s=32;break;case"6":s=a;break;default:s=(0,r.default)(i[0],"6")?a:32}return i[1]<=s&&i[1]>=0};var A=n(e("./util/assertString")),r=n(e("./isIP"));function n(e){return e&&e.__esModule?e:{default:e}}var o=/^\d{1,3}$/,a=128;t.exports=i.default,t.exports.default=i.default},{"./isIP":266,"./util/assertString":323}],268:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,r.default)(t),!(i=String(i)))return e(t,10)||e(t,13);var A,s=t.replace(/[\s-]+/g,""),c=0;if("10"===i){if(!n.test(s))return!1;for(A=0;A<9;A++)c+=(A+1)*s.charAt(A);if("X"===s.charAt(9)?c+=100:c+=10*s.charAt(9),c%11==0)return!!s}else if("13"===i){if(!o.test(s))return!1;for(A=0;A<12;A++)c+=a[A%2]*s.charAt(A);if(s.charAt(12)-(10-c%10)%10==0)return!!s}return!1};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^(?:[0-9]{9}X|[0-9]{10})$/,o=/^(?:[0-9]{13})$/,a=[1,3];t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],269:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){if((0,r.default)(e),!n.test(e))return!1;for(var t=!0,i=0,A=e.length-2;A>=0;A--)if(e[A]>="A"&&e[A]<="Z")for(var o=e[A].charCodeAt(0)-55,a=0,s=[o%10,Math.trunc(o/10)];a=5?1+2*(c-5):2*c:c,t=!t}else{var I=e[A].charCodeAt(0)-"0".charCodeAt(0);i+=t?I>=5?1+2*(I-5):2*I:I,t=!t}var f=10*Math.trunc((i+9)/10)-i;return+e[e.length-1]===f};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],270:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.has(e.toUpperCase())},i.CountryCodes=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=new Set(["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]);var o=n;i.CountryCodes=o},{"./util/assertString":323}],271:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.has(e.toUpperCase())};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=new Set(["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"]);t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],272:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.has(e.toUpperCase())},i.CurrencyCodes=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=new Set(["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]);var o=n;i.CurrencyCodes=o},{"./util/assertString":323}],273:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.default)(e);var i=t.strictSeparator?o.test(e):n.test(e);return i&&t.strict?a(e):i};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,o=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,a=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var i=Number(t[1]),A=Number(t[2]);return i%4==0&&i%100!=0||i%400==0?A<=366:A<=365}var r=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),n=r[1],o=r[2],a=r[3],s=o?"0".concat(o).slice(-2):o,c=a?"0".concat(a).slice(-2):a,I=new Date("".concat(n,"-").concat(s||"01","-").concat(c||"01"));return!o||!a||I.getUTCFullYear()===n&&I.getUTCMonth()+1===o&&I.getUTCDate()===a};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],274:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],275:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.default)(e);var i=n;if(i=t.require_hyphen?i.replace("?",""):i,!(i=t.case_sensitive?new RegExp(i):new RegExp(i,"i")).test(e))return!1;for(var A=e.replace("-","").toUpperCase(),o=0,a=0;a=2&&t===11-i},IT:function(e){return 9===e.length&&("CA00000AA"!==e&&e.search(/C[A-Z][0-9]{5}[A-Z]{2}/i)>-1)},NO:function(e){var t=e.trim();if(isNaN(Number(t)))return!1;if(11!==t.length)return!1;if("00000000000"===t)return!1;var i=t.split("").map(Number),A=(11-(3*i[0]+7*i[1]+6*i[2]+1*i[3]+8*i[4]+9*i[5]+4*i[6]+5*i[7]+2*i[8])%11)%11,r=(11-(5*i[0]+4*i[1]+3*i[2]+2*i[3]+7*i[4]+6*i[5]+5*i[6]+4*i[7]+3*i[8]+2*A)%11)%11;return A===i[9]&&r===i[10]},TH:function(e){if(!e.match(/^[1-8]\d{12}$/))return!1;for(var t=0,i=0;i<12;i++)t+=parseInt(e[i],10)*(13-i);return e[12]===((11-t%11)%10).toString()},LK:function(e){return!(10!==e.length||!/^[1-9]\d{8}[vx]$/i.test(e))||!(12!==e.length||!/^[1-9]\d{11}$/i.test(e))},"he-IL":function(e){var t=e.trim();if(!/^\d{9}$/.test(t))return!1;for(var i,A=t,r=0,n=0;n9?i-9:i;return r%10==0},"ar-LY":function(e){var t=e.trim();return!!/^(1|2)\d{11}$/.test(t)},"ar-TN":function(e){var t=e.trim();return!!/^\d{8}$/.test(t)},"zh-CN":function(e){var t,i=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],A=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],r=["1","0","X","9","8","7","6","5","4","3","2"],n=function(e){return i.includes(e)},o=function(e){var t=parseInt(e.substring(0,4),10),i=parseInt(e.substring(4,6),10),A=parseInt(e.substring(6),10),r=new Date(t,i-1,A);return!(r>new Date)&&(r.getFullYear()===t&&r.getMonth()===i-1&&r.getDate()===A)},a=function(e){return function(e){for(var t=e.substring(0,17),i=0,n=0;n<17;n++)i+=parseInt(t.charAt(n),10)*parseInt(A[n],10);return r[i%11]}(e)===e.charAt(17).toUpperCase()};return!!/^\d{15}|(\d{17}(\d|x|X))$/.test(t=e)&&(15===t.length?function(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return!1;var i=e.substring(0,2);if(!(t=n(i)))return!1;var A="19".concat(e.substring(6,12));return!!(t=o(A))}(t):function(e){var t=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e);if(!t)return!1;var i=e.substring(0,2);if(!(t=n(i)))return!1;var A=e.substring(6,14);return!!(t=o(A))&&a(e)}(t))},"zh-TW":function(e){var t={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},i=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(i)&&Array.from(i).reduce((function(e,i,A){if(0===A){var r=t[i];return r%10*9+Math.floor(r/10)}return 9===A?(10-e%10-Number(i))%10==0:e+Number(i)*(9-A)}),0)}};t.exports=i.default,t.exports.default=i.default},{"./isInt":278,"./util/assertString":323}],277:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){var i;if((0,A.default)(e),"[object Array]"===Object.prototype.toString.call(t)){var n=[];for(i in t)({}).hasOwnProperty.call(t,i)&&(n[i]=(0,r.default)(t[i]));return n.indexOf(e)>=0}if("object"===o(t))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return t.indexOf(e)>=0;return!1};var A=n(e("./util/assertString")),r=n(e("./util/toString"));function n(e){return e&&e.__esModule?e:{default:e}}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323,"./util/toString":327}],278:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,r.default)(e);var i=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?n:o,A=!t.hasOwnProperty("min")||e>=t.min,a=!t.hasOwnProperty("max")||e<=t.max,s=!t.hasOwnProperty("lt")||et.gt;return i.test(e)&&A&&a&&s&&c};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,o=/^[-+]?[0-9]+$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],279:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,A.default)(e);try{t=(0,r.default)(t,a);var i=[];t.allow_primitives&&(i=[null,!1,!0]);var n=JSON.parse(e);return i.includes(n)||!!n&&"object"===o(n)}catch(e){}return!1};var A=n(e("./util/assertString")),r=n(e("./util/merge"));function n(e){return e&&e.__esModule?e:{default:e}}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var a={allow_primitives:!1};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323,"./util/merge":325}],280:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){(0,A.default)(e);var t=e.split("."),i=t.length;if(i>3||i<2)return!1;return t.reduce((function(e,t){return e&&(0,r.default)(t,{urlSafe:!0})}),!0)};var A=n(e("./util/assertString")),r=n(e("./isBase64"));function n(e){return e&&e.__esModule?e:{default:e}}t.exports=i.default,t.exports.default=i.default},{"./isBase64":241,"./util/assertString":323}],281:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,A.default)(e),t=(0,r.default)(t,I),!e.includes(","))return!1;var i=e.split(",");if(i[0].startsWith("(")&&!i[1].endsWith(")")||i[1].endsWith(")")&&!i[0].startsWith("("))return!1;if(t.checkDMS)return s.test(i[0])&&c.test(i[1]);return o.test(i[0])&&a.test(i[1])};var A=n(e("./util/assertString")),r=n(e("./util/merge"));function n(e){return e&&e.__esModule?e:{default:e}}var o=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,a=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,s=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,c=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,I={checkDMS:!1};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323,"./util/merge":325}],282:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){var i,A;(0,r.default)(e),"object"===n(t)?(i=t.min||0,A=t.max):(i=arguments[1]||0,A=arguments[2]);var o=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],a=e.length-o.length;return a>=i&&(void 0===A||a<=A)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],283:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,r.default)(e),t in n)return n[t](e);if("any"===t){for(var i in n){if((0,n[i])(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n={"cs-CZ":function(e){return/^(([ABCDEFHKIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(e)},"de-DE":function(e){return/^((AW|UL|AK|GA|AÖ|LF|AZ|AM|AS|ZE|AN|AB|A|KG|KH|BA|EW|BZ|HY|KM|BT|HP|B|BC|BI|BO|FN|TT|ÜB|BN|AH|BS|FR|HB|ZZ|BB|BK|BÖ|OC|OK|CW|CE|C|CO|LH|CB|KW|LC|LN|DA|DI|DE|DH|SY|NÖ|DO|DD|DU|DN|D|EI|EA|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ZIG|SAD|NEN|OVI|SHA|BLB|SIG|SON|SPN|FOR|GUB|SPB|IGB|WND|STD|STA|SDL|OBG|HST|BOG|SHL|PIR|FTL|SEB|SÖM|SÜW|TIR|SAB|TUT|ANG|SDT|LÜN|LSZ|MHL|VEC|VER|VIE|OVL|ANK|OVP|SBG|UEM|UER|WLG|GMN|NVP|RDG|RÜG|DAU|FKB|WAF|WAK|SLZ|WEN|SOG|APD|WUG|GUN|ESW|WIZ|WES|DIN|BRA|BÜD|WHV|HWI|GHC|WTM|WOB|WUN|MAK|SEL|OCH|HOT|WDA)[- ]?(([A-Z][- ]?\d{1,4})|([A-Z]{2}[- ]?\d{1,3})))[- ]?(E|H)?$/.test(e)},"de-LI":function(e){return/^FL[- ]?\d{1,5}[UZ]?$/.test(e)},"fi-FI":function(e){return/^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(e)},"pt-PT":function(e){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(e)},"sq-AL":function(e){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(e)},"pt-BR":function(e){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(e)}};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],284:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){if((0,r.default)(e),"en_US_POSIX"===e||"ca_ES_VALENCIA"===e)return!0;return n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[A-Za-z]{2,4}([_-]([A-Za-z]{4}|[\d]{3}))?([_-]([A-Za-z]{2}|[\d]{3}))?$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],285:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),e===e.toLowerCase()};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],286:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,r.default)(e),t&&(t.no_colons||t.no_separators))return o.test(e);return n.test(e)||a.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,o=/^([0-9a-fA-F]){12}$/,a=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],287:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[a-f0-9]{32}$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],288:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e.trim())};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^magnet:\?xt(?:\.1)?=urn:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?($|&)/i;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],289:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)||o.test(e)||a.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,o=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,a=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],290:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t,i){if((0,r.default)(e),i&&i.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some((function(t){if(n.hasOwnProperty(t)&&n[t].test(e))return!0;return!1}));if(t in n)return n[t].test(e);if(!t||"any"===t){for(var A in n){if(n.hasOwnProperty(A))if(n[A].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},i.locales=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)[569]\d{7}$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)[1|3])([0|5][0-45-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|91|9[3-9])\d{7}$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}))/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(5|79)\d{7}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"ms-MY":/^(\+?6?01){1}(([0145]{1}(\-|\s)?\d{7,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-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/};n["en-CA"]=n["en-US"],n["fr-CA"]=n["en-CA"],n["fr-BE"]=n["nl-BE"],n["zh-HK"]=n["en-HK"],n["zh-MO"]=n["en-MO"],n["ga-IE"]=n["en-IE"],n["fr-CH"]=n["de-CH"],n["it-CH"]=n["fr-CH"];var o=Object.keys(n);i.locales=o},{"./util/assertString":323}],291:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,A.default)(e),(0,r.default)(e)&&24===e.length};var A=n(e("./util/assertString")),r=n(e("./isHexadecimal"));function n(e){return e&&e.__esModule?e:{default:e}}t.exports=i.default,t.exports.default=i.default},{"./isHexadecimal":263,"./util/assertString":323}],292:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/[^\x00-\x7F]/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],293:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,r.default)(e),t&&t.no_symbols)return o.test(e);return new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?n.decimal[t.locale]:".","])?[0-9]+$")).test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A},n=e("./alpha");var o=/^[0-9]+$/;t.exports=i.default,t.exports.default=i.default},{"./alpha":229,"./util/assertString":323}],294:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^(0o)?[0-7]+$/i;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],295:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,r.default)(e);var i=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in n&&n[t].test(i)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BR:/^[A-Z]{2}\d{6}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^G\d{8}$|^E(?![IO])[A-Z0-9]\d{7}$/,CY:/^[A-Z](\d{6}|\d{8})$/,CZ:/^\d{8}$/,DE:/^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,DK:/^\d{9}$/,DZ:/^\d{9}$/,EE:/^([A-Z]\d{7}|[A-Z]{2}\d{7})$/,ES:/^[A-Z0-9]{2}([A-Z0-9]?)\d{6}$/,FI:/^[A-Z]{2}\d{7}$/,FR:/^\d{2}[A-Z]{2}\d{5}$/,GB:/^\d{9}$/,GR:/^[A-Z]{2}\d{7}$/,HR:/^\d{9}$/,HU:/^[A-Z]{2}(\d{6}|\d{7})$/,IE:/^[A-Z0-9]{2}\d{7}$/,IN:/^[A-Z]{1}-?\d{7}$/,ID:/^[A-C]\d{7}$/,IR:/^[A-Z]\d{8}$/,IS:/^(A)\d{7}$/,IT:/^[A-Z0-9]{2}\d{7}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,LT:/^[A-Z0-9]{8}$/,LU:/^[A-Z0-9]{8}$/,LV:/^[A-Z0-9]{2}\d{7}$/,LY:/^[A-Z0-9]{8}$/,MT:/^\d{7}$/,MZ:/^([A-Z]{2}\d{7})|(\d{2}[A-Z]{2}\d{5})$/,MY:/^[AHK]\d{8}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,PL:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{9}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],296:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e,{min:0,max:65535})};var A,r=(A=e("./isInt"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./isInt":278}],297:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,r.default)(e),t in s)return s[t].test(e);if("any"===t){for(var i in s){if(s.hasOwnProperty(i))if(s[i].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},i.locales=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^\d{4}$/,o=/^\d{5}$/,a=/^\d{6}$/,s={AD:/^AD\d{3}$/,AT:n,AU:n,AZ:/^AZ\d{4}$/,BE:n,BG:n,BR:/^\d{5}-\d{3}$/,BY:/2[1-4]{1}\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:n,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:o,DK:n,DO:o,DZ:o,EE:o,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:o,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:n,ID:o,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/\b(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}\b/,IS:/^\d{3}$/,IT:o,JP:/^\d{3}\-\d{4}$/,KE:o,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:n,LV:/^LV\-\d{4}$/,LK:o,MX:o,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:o,NL:/^\d{4}\s?[a-z]{2}$/i,NO:n,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:n,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:a,RU:a,SA:o,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:a,SI:n,SK:/^\d{3}\s?\d{2}$/,TH:o,TN:n,TW:/^\d{3}(\d{2})?$/,UA:o,US:/^\d{5}(-\d{4})?$/,ZA:n,ZM:o},c=Object.keys(s);i.locales=c},{"./util/assertString":323}],298:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),h.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/([01][0-9]|2[0-3])/,o=/[0-5][0-9]/,a=new RegExp("[-+]".concat(n.source,":").concat(o.source)),s=new RegExp("([zZ]|".concat(a.source,")")),c=new RegExp("".concat(n.source,":").concat(o.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),I=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),f=new RegExp("".concat(c.source).concat(s.source)),h=new RegExp("^".concat(I.source,"[ tT]").concat(f.source,"$"));t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],299:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if((0,r.default)(e),!t)return n.test(e)||o.test(e);return n.test(e)||o.test(e)||a.test(e)||s.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,o=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,a=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)/,s=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],300:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,A.default)(e),n.test(e)};var A=r(e("./util/assertString"));function r(e){return e&&e.__esModule?e:{default:e}}var n=(0,r(e("./util/multilineRegex")).default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323,"./util/multilineRegex":326}],301:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],302:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;(0,r.default)(e);var i=f(e);if((t=(0,A.default)(t||{},I)).returnScore)return h(i,t);return i.length>=t.minLength&&i.lowercaseCount>=t.minLowercase&&i.uppercaseCount>=t.minUppercase&&i.numberCount>=t.minNumbers&&i.symbolCount>=t.minSymbols};var A=n(e("./util/merge")),r=n(e("./util/assertString"));function n(e){return e&&e.__esModule?e:{default:e}}var o=/^[A-Z]$/,a=/^[a-z]$/,s=/^[0-9]$/,c=/^[-#!$@%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/,I={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};function f(e){var t,i,A=(t=e,i={},Array.from(t).forEach((function(e){i[e]?i[e]+=1:i[e]=1})),i),r={length:e.length,uniqueChars:Object.keys(A).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(A).forEach((function(e){o.test(e)?r.uppercaseCount+=A[e]:a.test(e)?r.lowercaseCount+=A[e]:s.test(e)?r.numberCount+=A[e]:c.test(e)&&(r.symbolCount+=A[e])})),r}function h(e,t){var i=0;return i+=e.uniqueChars*t.pointsPerUnique,i+=(e.length-e.uniqueChars)*t.pointsPerRepeat,e.lowercaseCount>0&&(i+=t.pointsForContainingLower),e.uppercaseCount>0&&(i+=t.pointsForContainingUpper),e.numberCount>0&&(i+=t.pointsForContainingNumber),e.symbolCount>0&&(i+=t.pointsForContainingSymbol),i}t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323,"./util/merge":325}],303:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],304:[function(e,t,i){"use strict";function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";(0,r.default)(e);var i=e.slice(0);if(t in g)return t in l&&(i=i.replace(l[t],"")),!!g[t].test(i)&&(!(t in u)||u[t](i));throw new Error("Invalid locale '".concat(t,"'"))};var r=s(e("./util/assertString")),n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==A(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=r?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}i.default=e,t&&t.set(e,i);return i}(e("./util/algorithms")),o=s(e("./isDate"));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}function c(e){return function(e){if(Array.isArray(e))return I(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return I(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return I(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,A=new Array(t);i0){if(t&&!i&&!/[AEIOU]/.test(e[A]))return!1;if(i&&!/X/.test(e[A]))return!1}return!0}var g={"bg-BG":/^\d{10}$/,"cs-CZ":/^\d{6}\/{0,1}\d{3,4}$/,"de-AT":/^\d{9}$/,"de-DE":/^[1-9]\d{10}$/,"dk-DK":/^\d{6}-{0,1}\d{4}$/,"el-CY":/^[09]\d{7}[A-Z]$/,"el-GR":/^([0-4]|[7-9])\d{8}$/,"en-GB":/^\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\d{6}[ABCD ]$/i,"en-IE":/^\d{7}[A-W][A-IW]{0,1}$/i,"en-US":/^\d{2}[- ]{0,1}\d{7}$/,"es-ES":/^(\d{0,8}|[XYZKLM]\d{7})[A-HJ-NP-TV-Z]$/i,"et-EE":/^[1-6]\d{6}(00[1-9]|0[1-9][0-9]|[1-6][0-9]{2}|70[0-9]|710)\d$/,"fi-FI":/^\d{6}[-+A]\d{3}[0-9A-FHJ-NPR-Y]$/i,"fr-BE":/^\d{11}$/,"fr-FR":/^[0-3]\d{12}$|^[0-3]\d\s\d{2}(\s\d{3}){3}$/,"fr-LU":/^\d{13}$/,"hr-HR":/^\d{11}$/,"hu-HU":/^8\d{9}$/,"it-IT":/^[A-Z]{6}[L-NP-V0-9]{2}[A-EHLMPRST][L-NP-V0-9]{2}[A-ILMZ][L-NP-V0-9]{3}[A-Z]$/i,"lv-LV":/^\d{6}-{0,1}\d{5}$/,"mt-MT":/^\d{3,7}[APMGLHBZ]$|^([1-8])\1\d{7}$/i,"nl-NL":/^\d{9}$/,"pl-PL":/^\d{10,11}$/,"pt-BR":/(?:^\d{11}$)|(?:^\d{14}$)/,"pt-PT":/^\d{9}$/,"ro-RO":/^\d{13}$/,"sk-SK":/^\d{6}\/{0,1}\d{3,4}$/,"sl-SI":/^[1-9]\d{7}$/,"sv-SE":/^(\d{6}[-+]{0,1}\d{4}|(18|19|20)\d{6}[-+]{0,1}\d{4})$/};g["lb-LU"]=g["fr-LU"],g["lt-LT"]=g["et-EE"],g["nl-BE"]=g["fr-BE"];var u={"bg-BG":function(e){var t=e.slice(0,2),i=parseInt(e.slice(2,4),10);i>40?(i-=40,t="20".concat(t)):i>20?(i-=20,t="18".concat(t)):t="19".concat(t),i<10&&(i="0".concat(i));var A="".concat(t,"/").concat(i,"/").concat(e.slice(4,6));if(!(0,o.default)(A,"YYYY/MM/DD"))return!1;for(var r=e.split("").map((function(e){return parseInt(e,10)})),n=[2,4,8,5,10,9,7,3,6],a=0,s=0;s50&&(i-=50),i>20){if(parseInt(t,10)<2004)return!1;i-=20}i<10&&(i="0".concat(i));var A="".concat(t,"/").concat(i,"/").concat(e.slice(4,6));if(!(0,o.default)(A,"YYYY/MM/DD"))return!1;if(10===e.length&&parseInt(e,10)%11!=0){var r=parseInt(e.slice(0,9),10)%11;if(!(parseInt(t,10)<1986&&10===r))return!1;if(0!==parseInt(e.slice(9),10))return!1}return!0},"de-AT":function(e){return n.luhnCheck(e)},"de-DE":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),i=[],A=0;A1}))).length&&3!==i.length)return!1;if(3===i[0].length){for(var o=i[0].split("").map((function(e){return parseInt(e,10)})),a=0,s=0;s58))return!1;t="18".concat(t)}}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var i="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,o.default)(i,"YYYY/MM/DD"))return!1;for(var A=e.split("").map((function(e){return parseInt(e,10)})),r=0,n=4,a=0;a<9;a++)r+=A[a]*n,1===(n-=1)&&(n=7);return 1!==(r%=11)&&(0===r?0===A[9]:A[9]===11-r)},"el-CY":function(e){for(var t=e.slice(0,8).split("").map((function(e){return parseInt(e,10)})),i=0,A=1;A4&&(i+=2));return String.fromCharCode(i%26+65)===e.charAt(8)},"el-GR":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),i=0,A=0;A<8;A++)i+=t[A]*Math.pow(2,8-A);return i%11%10===t[8]},"en-IE":function(e){var t=n.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8);return 9===e.length&&"W"!==e[8]&&(t+=9*(e[8].charCodeAt(0)-64)),0===(t%=23)?"W"===e[7].toUpperCase():e[7].toUpperCase()===String.fromCharCode(64+t)},"en-US":function(e){return-1!==function(){var e=[];for(var t in f)f.hasOwnProperty(t)&&e.push.apply(e,c(f[t]));return e}().indexOf(e.substr(0,2))},"es-ES":function(e){var t=e.toUpperCase().split("");if(isNaN(parseInt(t[0],10))&&t.length>1){var i=0;switch(t[0]){case"Y":i=1;break;case"Z":i=2}t.splice(0,1,i)}else for(;t.length<9;)t.unshift(0);t=t.join("");var A=parseInt(t.slice(0,8),10)%23;return t[8]===["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][A]},"et-EE":function(e){var t=e.slice(1,3);switch(e.slice(0,1)){case"1":case"2":t="18".concat(t);break;case"3":case"4":t="19".concat(t);break;default:t="20".concat(t)}var i="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(!(0,o.default)(i,"YYYY/MM/DD"))return!1;for(var A=e.split("").map((function(e){return parseInt(e,10)})),r=0,n=1,a=0;a<10;a++)r+=A[a]*n,10===(n+=1)&&(n=1);if(r%11==10){r=0,n=3;for(var s=0;s<10;s++)r+=A[s]*n,10===(n+=1)&&(n=1);if(r%11==10)return 0===A[10]}return r%11===A[10]},"fi-FI":function(e){var t=e.slice(4,6);switch(e.slice(6,7)){case"+":t="18".concat(t);break;case"-":t="19".concat(t);break;default:t="20".concat(t)}var i="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,o.default)(i,"YYYY/MM/DD"))return!1;var A=parseInt(e.slice(0,6)+e.slice(7,10),10)%31;return A<10?A===parseInt(e.slice(10),10):["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"][A-=10]===e.slice(10)},"fr-BE":function(e){if("00"!==e.slice(2,4)||"00"!==e.slice(4,6)){var t="".concat(e.slice(0,2),"/").concat(e.slice(2,4),"/").concat(e.slice(4,6));if(!(0,o.default)(t,"YY/MM/DD"))return!1}var i=97-parseInt(e.slice(0,9),10)%97,A=parseInt(e.slice(9,11),10);return i===A||(i=97-parseInt("2".concat(e.slice(0,9)),10)%97)===A},"fr-FR":function(e){return e=e.replace(/\s/g,""),parseInt(e.slice(0,10),10)%511===parseInt(e.slice(10,13),10)},"fr-LU":function(e){var t="".concat(e.slice(0,4),"/").concat(e.slice(4,6),"/").concat(e.slice(6,8));return!!(0,o.default)(t,"YYYY/MM/DD")&&(!!n.luhnCheck(e.slice(0,12))&&n.verhoeffCheck("".concat(e.slice(0,11)).concat(e[12])))},"hr-HR":function(e){return n.iso7064Check(e)},"hu-HU":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),i=8,A=1;A<9;A++)i+=t[A]*(A+1);return i%11===t[9]},"it-IT":function(e){var t=e.toUpperCase().split("");if(!h(t.slice(0,3)))return!1;if(!h(t.slice(3,6)))return!1;for(var i={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},A=0,r=[6,7,9,10,12,13,14];A40&&(s-=40),s<10&&(s="0".concat(s));var c="".concat(t[6]).concat(t[7],"/").concat(a,"/").concat(s);if(!(0,o.default)(c,"YY/MM/DD"))return!1;for(var I=0,f=1;f4&&(l+=2)}I+=l}return String.fromCharCode(65+I%26)===t[15]},"lv-LV":function(e){var t=(e=e.replace(/\W/,"")).slice(0,2);if("32"!==t){if("00"!==e.slice(2,4)){var i=e.slice(4,6);switch(e[6]){case"0":i="18".concat(i);break;case"1":i="19".concat(i);break;default:i="20".concat(i)}var A="".concat(i,"/").concat(e.slice(2,4),"/").concat(t);if(!(0,o.default)(A,"YYYY/MM/DD"))return!1}for(var r=1101,n=[1,6,3,7,9,10,5,8,4,2],a=0;a32e3)return!1;if(i===parseInt(t.join("").slice(5,7),10))return!1}}return!0},"nl-NL":function(e){return n.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11===parseInt(e[8],10)},"pl-PL":function(e){if(10===e.length){for(var t=[6,5,7,2,3,4,5,6,7],i=0,A=0;A80?(r="18".concat(r),n-=80):n>60?(r="22".concat(r),n-=60):n>40?(r="21".concat(r),n-=40):n>20?(r="20".concat(r),n-=20):r="19".concat(r),n<10&&(n="0".concat(n));var a="".concat(r,"/").concat(n,"/").concat(e.slice(4,6));if(!(0,o.default)(a,"YYYY/MM/DD"))return!1;for(var s=0,c=1,I=0;I10?c=1:5===c&&(c+=2);return(s=10-s%10)===parseInt(e[10],10)},"pt-BR":function(e){if(11===e.length){var t,i;if(t=0,"11111111111"===e||"22222222222"===e||"33333333333"===e||"44444444444"===e||"55555555555"===e||"66666666666"===e||"77777777777"===e||"88888888888"===e||"99999999999"===e||"00000000000"===e)return!1;for(var A=1;A<=9;A++)t+=parseInt(e.substring(A-1,A),10)*(11-A);if(10===(i=10*t%11)&&(i=0),i!==parseInt(e.substring(9,10),10))return!1;t=0;for(var r=1;r<=10;r++)t+=parseInt(e.substring(r-1,r),10)*(12-r);return 10===(i=10*t%11)&&(i=0),i===parseInt(e.substring(10,11),10)}if("00000000000000"===e||"11111111111111"===e||"22222222222222"===e||"33333333333333"===e||"44444444444444"===e||"55555555555555"===e||"66666666666666"===e||"77777777777777"===e||"88888888888888"===e||"99999999999999"===e)return!1;for(var n=e.length-2,o=e.substring(0,n),a=e.substring(n),s=0,c=n-7,I=n;I>=1;I--)s+=o.charAt(n-I)*c,(c-=1)<2&&(c=9);var f=s%11<2?0:11-s%11;if(f!==parseInt(a.charAt(0),10))return!1;n+=1,o=e.substring(0,n),s=0,c=n-7;for(var h=n;h>=1;h--)s+=o.charAt(n-h)*c,(c-=1)<2&&(c=9);return(f=s%11<2?0:11-s%11)===parseInt(a.charAt(1),10)},"pt-PT":function(e){var t=11-n.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11;return t>9?0===parseInt(e[8],10):t===parseInt(e[8],10)},"ro-RO":function(e){if("9000"!==e.slice(0,4)){var t=e.slice(1,3);switch(e[0]){case"1":case"2":t="19".concat(t);break;case"3":case"4":t="18".concat(t);break;case"5":case"6":t="20".concat(t)}var i="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(8===i.length){if(!(0,o.default)(i,"YY/MM/DD"))return!1}else if(!(0,o.default)(i,"YYYY/MM/DD"))return!1;for(var A=e.split("").map((function(e){return parseInt(e,10)})),r=[2,7,9,1,4,6,3,5,8,2,7,9],n=0,a=0;a53)return!1;t=t<10?"190".concat(t):"19".concat(t);var i=parseInt(e.slice(2,4),10);i>50&&(i-=50),i<10&&(i="0".concat(i));var A="".concat(t,"/").concat(i,"/").concat(e.slice(4,6));if(!(0,o.default)(A,"YYYY/MM/DD"))return!1}return!0},"sl-SI":function(e){var t=11-n.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8)%11;return 10===t?0===parseInt(e[7],10):t===parseInt(e[7],10)},"sv-SE":function(e){var t=e.slice(0);e.length>11&&(t=t.slice(2));var i="",A=t.slice(2,4),r=parseInt(t.slice(4,6),10);if(e.length>11)i=e.slice(0,4);else if(i=e.slice(0,2),11===e.length&&r<60){var a=(new Date).getFullYear().toString(),s=parseInt(a.slice(0,2),10);if(a=parseInt(a,10),"-"===e[6])i=parseInt("".concat(s).concat(i),10)>a?"".concat(s-1).concat(i):"".concat(s).concat(i);else if(i="".concat(s-1).concat(i),a-parseInt(i,10)<100)return!1}r>60&&(r-=60),r<10&&(r="0".concat(r));var c="".concat(i,"/").concat(A,"/").concat(r);if(8===c.length){if(!(0,o.default)(c,"YY/MM/DD"))return!1}else if(!(0,o.default)(c,"YYYY/MM/DD"))return!1;return n.luhnCheck(e.replace(/\W/,""))}};u["lb-LU"]=u["fr-LU"],u["lt-LT"]=u["et-EE"],u["nl-BE"]=u["fr-BE"];var d=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,l={"de-AT":d,"de-DE":/[\/\\]/g,"fr-BE":d};l["nl-BE"]=l["fr-BE"],t.exports=i.default,t.exports.default=i.default},{"./isDate":249,"./util/algorithms":322,"./util/assertString":323}],305:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,A.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,o.default)(t,c)).validate_length&&e.length>=2083)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var i,a,h,g,u,d,l,B;if(l=e.split("#"),e=l.shift(),l=e.split("?"),e=l.shift(),(l=e.split("://")).length>1){if(i=l.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(i))return!1}else{if(t.require_protocol)return!1;if("//"===e.substr(0,2)){if(!t.allow_protocol_relative_urls)return!1;l[0]=e.substr(2)}}if(""===(e=l.join("://")))return!1;if(l=e.split("/"),""===(e=l.shift())&&!t.require_host)return!0;if((l=e.split("@")).length>1){if(t.disallow_auth)return!1;if(""===l[0])return!1;if((a=l.shift()).indexOf(":")>=0&&a.split(":").length>2)return!1;var p=a.split(":"),C=(b=2,function(e){if(Array.isArray(e))return e}(y=p)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var i=[],A=!0,r=!1,n=void 0;try{for(var o,a=e[Symbol.iterator]();!(A=(o=a.next()).done)&&(i.push(o.value),!t||i.length!==t);A=!0);}catch(e){r=!0,n=e}finally{try{A||null==a.return||a.return()}finally{if(r)throw n}}return i}}(y,b)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?s(e,t):void 0}}(y,b)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),Q=C[0],E=C[1];if(""===Q&&""===E)return!1}var y,b;g=l.join("@"),d=null,B=null;var m=g.match(I);m?(h="",B=m[1],d=m[2]||null):(h=(l=g.split(":")).shift(),l.length&&(d=l.join(":")));if(null!==d&&d.length>0){if(u=parseInt(d,10),!/^[0-9]+$/.test(d)||u<=0||u>65535)return!1}else if(t.require_port)return!1;if(t.host_whitelist)return f(h,t.host_whitelist);if(!((0,n.default)(h)||(0,r.default)(h,t)||B&&(0,n.default)(B,6)))return!1;if(h=h||B,t.host_blacklist&&f(h,t.host_blacklist))return!1;return!0};var A=a(e("./util/assertString")),r=a(e("./isFQDN")),n=a(e("./isIP")),o=a(e("./util/merge"));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,A=new Array(t);i=0;i--)if(-1===t.indexOf(e[i]))return!1;return!0};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],311:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,r.default)(e);var i=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(i,"")};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],312:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t,i){(0,r.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,i));return t.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],313:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){t=(0,r.default)(t,n);var i=e.split("@"),A=i.pop(),f=[i.join("@"),A];if(f[1]=f[1].toLowerCase(),"gmail.com"===f[1]||"googlemail.com"===f[1]){if(t.gmail_remove_subaddress&&(f[0]=f[0].split("+")[0]),t.gmail_remove_dots&&(f[0]=f[0].replace(/\.+/g,I)),!f[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(f[0]=f[0].toLowerCase()),f[1]=t.gmail_convert_googlemaildotcom?"gmail.com":f[1]}else if(o.indexOf(f[1])>=0){if(t.icloud_remove_subaddress&&(f[0]=f[0].split("+")[0]),!f[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(f[0]=f[0].toLowerCase())}else if(a.indexOf(f[1])>=0){if(t.outlookdotcom_remove_subaddress&&(f[0]=f[0].split("+")[0]),!f[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(f[0]=f[0].toLowerCase())}else if(s.indexOf(f[1])>=0){if(t.yahoo_remove_subaddress){var h=f[0].split("-");f[0]=h.length>1?h.slice(0,-1).join("-"):h[0]}if(!f[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(f[0]=f[0].toLowerCase())}else c.indexOf(f[1])>=0?((t.all_lowercase||t.yandex_lowercase)&&(f[0]=f[0].toLowerCase()),f[1]="yandex.ru"):t.all_lowercase&&(f[0]=f[0].toLowerCase());return f.join("@")};var A,r=(A=e("./util/merge"))&&A.__esModule?A:{default:A};var n={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},o=["icloud.com","me.com"],a=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],s=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],c=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function I(e){return e.length>1?e:""}t.exports=i.default,t.exports.default=i.default},{"./util/merge":325}],314:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,r.default)(e),t){var i=new RegExp("[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g");return e.replace(i,"")}var A=e.length-1;for(;/\s/.test(e.charAt(A));)A-=1;return e.slice(0,A+1)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],315:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,A.default)(e);var i=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,r.default)(e,i)};var A=n(e("./util/assertString")),r=n(e("./blacklist"));function n(e){return e&&e.__esModule?e:{default:e}}t.exports=i.default,t.exports.default=i.default},{"./blacklist":230,"./util/assertString":323}],316:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,r.default)(e),t)return"1"===e||/^true$/i.test(e);return"0"!==e&&!/^false$/i.test(e)&&""!==e};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],317:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],318:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e)?parseFloat(e):NaN};var A,r=(A=e("./isFloat"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./isFloat":257}],319:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){return(0,r.default)(e),parseInt(e,t||10)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],320:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){return(0,A.default)((0,r.default)(e,t),t)};var A=n(e("./rtrim")),r=n(e("./ltrim"));function n(e){return e&&e.__esModule?e:{default:e}}t.exports=i.default,t.exports.default=i.default},{"./ltrim":311,"./rtrim":314}],321:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),e.replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`").replace(/&/g,"&")};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],322:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.iso7064Check=function(e){for(var t=10,i=0;i=0;A--){if(i){var r=2*parseInt(e[A],10);t+=r>9?r.toString().split("").map((function(e){return parseInt(e,10)})).reduce((function(e,t){return e+t}),0):r}else t+=parseInt(e[A],10);i=!i}return t%10==0},i.reverseMultiplyAndSum=function(e,t){for(var i=0,A=0;A0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var i in t)void 0===e[i]&&(e[i]=t[i]);return e},t.exports=i.default,t.exports.default=i.default},{}],326:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){var i=e.join("");return new RegExp(i,t)},t.exports=i.default,t.exports.default=i.default},{}],327:[function(e,t,i){"use strict";function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){"object"===A(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null==e||isNaN(e)&&!e.length)&&(e="");return String(e)},t.exports=i.default,t.exports.default=i.default},{}],328:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){return(0,r.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":323}],329:[function(e,t,i){t.exports={name:"doipjs",version:"0.18.1",description:"Decentralized Online Identity Proofs library in Node.js",main:"./src/index.js",packageManager:"yarn@1.22.19",dependencies:{"@openpgp/hkp-client":"^0.0.2","@openpgp/wkd-client":"^0.0.3","@xmpp/client":"^0.13.1","@xmpp/debug":"^0.13.0",axios:"^0.25.0","browser-or-node":"^1.3.0",cors:"^2.8.5",dotenv:"^8.2.0",express:"^4.17.1","express-validator":"^6.10.0","hash-wasm":"^4.9.0","irc-upd":"^0.11.0","merge-options":"^3.0.3",openpgp:"^5.5.0","query-string":"^6.14.1","valid-url":"^1.0.9",validator:"^13.5.2"},devDependencies:{browserify:"^17.0.0","browserify-shim":"^3.8.14",chai:"^4.2.0","chai-as-promised":"^7.1.1","chai-match-pattern":"^1.2.0","clean-jsdoc-theme":"^3.2.4",husky:"^7.0.0",jsdoc:"^3.6.6","license-check-and-add":"^4.0.3","lint-staged":"^11.0.0",minify:"^9.1",mocha:"^9.2.0",nodemon:"^2.0.19",standard:"^16.0.3"},scripts:{release:"yarn run test && yarn run release:bundle && yarn run release:minify","release:bundle":"./node_modules/.bin/browserify ./src/index.js --standalone doip -x openpgp -x @xmpp/client -x @xmpp/debug -x irc-upd -o ./dist/doip.js","release:minify":"./node_modules/.bin/minify ./dist/doip.js > ./dist/doip.min.js","license:check":"./node_modules/.bin/license-check-and-add check","license:add":"./node_modules/.bin/license-check-and-add add","license:remove":"./node_modules/.bin/license-check-and-add remove","docs:lib":"./node_modules/.bin/jsdoc -c jsdoc-lib.json -r -d ./docs -P package.json","standard:check":"./node_modules/.bin/standard ./src","standard:fix":"./node_modules/.bin/standard --fix ./src",mocha:"./node_modules/.bin/mocha",test:"yarn run standard:check && yarn run license:check && yarn run mocha",prepare:"husky install"},repository:{type:"git",url:"https://codeberg.org/keyoxide/doipjs"},homepage:"https://js.doip.rocks",keywords:["pgp","gpg","openpgp","encryption","decentralized","identity"],author:"Yarmo Mackenbach (https://yarmo.eu)",license:"Apache-2.0",browserify:{transform:["browserify-shim"]},"browserify-shim":{openpgp:"global:openpgp"}}},{}],330:[function(e,t,i){const A=e("validator"),r=e("valid-url"),n=e("merge-options"),o=e("./proofs"),a=e("./verifications"),s=e("./claimDefinitions"),c=e("./defaults"),I=e("./enums");t.exports=class{constructor(e,t){if("object"==typeof e&&"claimVersion"in e){const t=e;if(1!==t.claimVersion)throw new Error("Invalid claim version");return this._uri=t.uri,this._fingerprint=t.fingerprint,this._status=t.status,this._matches=t.matches,void(this._verification=t.verification)}if(e&&!r.isUri(e))throw new Error("Invalid URI");if(t)try{A.isAlphanumeric(t)}catch(e){throw new Error("Invalid fingerprint")}this._uri=e||"",this._fingerprint=t||"",this._status=I.ClaimStatus.INIT,this._matches=[],this._verification={}}get uri(){return this._uri}get fingerprint(){return this._fingerprint}get status(){return this._status}get matches(){if(this._status===I.ClaimStatus.INIT)throw new Error("This claim has not yet been matched");return this._matches}get verification(){if(this._status!==I.ClaimStatus.VERIFIED)throw new Error("This claim has not yet been verified");return this._verification}set uri(e){if(this._status!==I.ClaimStatus.INIT)throw new Error("Cannot change the URI, this claim has already been matched");if(e.length>0&&!r.isUri(e))throw new Error("The URI was invalid");e=e.replace(/^\s+|\s+$/g,""),this._uri=e}set fingerprint(e){if(this._status===I.ClaimStatus.VERIFIED)throw new Error("Cannot change the fingerprint, this claim has already been verified");this._fingerprint=e}set status(e){throw new Error("Cannot change a claim's status")}set matches(e){throw new Error("Cannot change a claim's matches")}set verification(e){throw new Error("Cannot change a claim's verification result")}match(){if(this._status!==I.ClaimStatus.INIT)throw new Error("This claim was already matched");if(0===this._uri.length||!r.isUri(this._uri))throw new Error("This claim has no URI");this._matches=[],s.list.every(((e,t)=>{const i=s.data[e];if(!i.reURI.test(this._uri))return!0;const A=i.processURI(this._uri);return!A||(A.match.isAmbiguous?(this._matches.push(A),!0):(this._matches=[A],!1))})),this._status=I.ClaimStatus.MATCHED}async verify(e){if(this._status===I.ClaimStatus.INIT)throw new Error("This claim has not yet been matched");if(this._status===I.ClaimStatus.VERIFIED)throw new Error("This claim has already been verified");if(0===this._fingerprint.length)throw new Error("This claim has no fingerprint");e=n(c.opts,e||{}),0===this._matches.length&&(this._verification={result:!1,completed:!0,proof:{},errors:["No matches for claim"]});for(let t=0;t1||this._matches[0].match.isAmbiguous}toJSON(){return{claimVersion:1,uri:this._uri,fingerprint:this._fingerprint,status:this._status,matches:this._matches,verification:this._verification}}}},{"./claimDefinitions":340,"./defaults":352,"./enums":353,"./proofs":364,"./verifications":367,"merge-options":172,"valid-url":227,validator:228}],331:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/(.*)\/?/,n={postprocess:(e,t)=>(e.profile.display=`${t.result.preferredUsername}@${new URL(t.result.url).hostname}`,{claimData:e,proofData:t})};i.reURI=r,i.processURI=e=>({serviceprovider:{type:"web",name:"activitypub"},match:{regularExpression:r,isAmbiguous:!0},profile:{display:e,uri:e,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.ACTIVITYPUB,access:A.ProofAccess.GENERIC,format:A.ProofFormat.JSON,data:{url:e}}},claim:[{format:A.ClaimFormat.FINGERPRINT,relation:A.ClaimRelation.CONTAINS,path:["summary"]},{format:A.ClaimFormat.FINGERPRINT,relation:A.ClaimRelation.CONTAINS,path:["attachment","value"]},{format:A.ClaimFormat.FINGERPRINT,relation:A.ClaimRelation.CONTAINS,path:["content"]}]}),i.functions=n,i.tests=[{uri:"https://domain.org",shouldMatch:!0},{uri:"https://domain.org/@/alice/",shouldMatch:!0},{uri:"https://domain.org/@alice",shouldMatch:!0},{uri:"https://domain.org/@alice/123456",shouldMatch:!0},{uri:"https://domain.org/u/alice/",shouldMatch:!0},{uri:"https://domain.org/users/alice/",shouldMatch:!0},{uri:"https://domain.org/users/alice/123456",shouldMatch:!0},{uri:"http://domain.org/alice",shouldMatch:!1}]},{"../enums":353}],332:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/dev\.to\/(.*)\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"devto"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:`https://dev.to/${t[1]}`,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.NOCORS,format:A.ProofFormat.JSON,data:{url:`https://dev.to/api/articles/${t[1]}/${t[2]}`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["body_markdown"]}]}},i.tests=[{uri:"https://dev.to/alice/post",shouldMatch:!0},{uri:"https://dev.to/alice/post/",shouldMatch:!0},{uri:"https://domain.org/alice/post",shouldMatch:!1}]},{"../enums":353}],333:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/(.*)\/u\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"discourse"},match:{regularExpression:r,isAmbiguous:!0},profile:{display:`${t[2]}@${t[1]}`,uri:e,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.NOCORS,format:A.ProofFormat.JSON,data:{url:`https://${t[1]}/u/${t[2]}.json`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["user","bio_raw"]}]}},i.tests=[{uri:"https://domain.org/u/alice",shouldMatch:!0},{uri:"https://domain.org/u/alice/",shouldMatch:!0},{uri:"https://domain.org/alice",shouldMatch:!1}]},{"../enums":353}],334:[function(e,t,i){const A=e("../enums"),r=/^dns:([a-zA-Z0-9.\-_]*)(?:\?(.*))?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"dns"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:`https://${t[1]}`,qr:null},proof:{uri:null,request:{fetcher:A.Fetcher.DNS,access:A.ProofAccess.SERVER,format:A.ProofFormat.JSON,data:{domain:t[1]}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["records","txt"]}]}},i.tests=[{uri:"dns:domain.org",shouldMatch:!0},{uri:"dns:domain.org?type=TXT",shouldMatch:!0},{uri:"https://domain.org",shouldMatch:!1}]},{"../enums":353}],335:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/(.*)\/(.*)\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"forgejo"},match:{regularExpression:r,isAmbiguous:!0},profile:{display:`${t[2]}@${t[1]}`,uri:`https://${t[1]}/${t[2]}`,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.NOCORS,format:A.ProofFormat.JSON,data:{url:`https://${t[1]}/api/v1/repos/${t[2]}/${t[3]}`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.EQUALS,path:["description"]}]}},i.tests=[{uri:"https://domain.org/alice/forgejo_proof",shouldMatch:!0},{uri:"https://domain.org/alice/forgejo_proof/",shouldMatch:!0},{uri:"https://domain.org/alice/other_proof",shouldMatch:!0},{uri:"https://domain.org/alice",shouldMatch:!1}]},{"../enums":353}],336:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/(.*)\/(.*)\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"gitea"},match:{regularExpression:r,isAmbiguous:!0},profile:{display:`${t[2]}@${t[1]}`,uri:`https://${t[1]}/${t[2]}`,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.NOCORS,format:A.ProofFormat.JSON,data:{url:`https://${t[1]}/api/v1/repos/${t[2]}/${t[3]}`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.EQUALS,path:["description"]}]}},i.tests=[{uri:"https://domain.org/alice/gitea_proof",shouldMatch:!0},{uri:"https://domain.org/alice/gitea_proof/",shouldMatch:!0},{uri:"https://domain.org/alice/other_proof",shouldMatch:!0},{uri:"https://domain.org/alice",shouldMatch:!1}]},{"../enums":353}],337:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/gist\.github\.com\/(.*)\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"github"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:`https://github.com/${t[1]}`,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.GENERIC,format:A.ProofFormat.JSON,data:{url:`https://api.github.com/gists/${t[2]}`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["files","openpgp.md","content"]}]}},i.tests=[{uri:"https://gist.github.com/Alice/123456789",shouldMatch:!0},{uri:"https://gist.github.com/Alice/123456789/",shouldMatch:!0},{uri:"https://domain.org/Alice/123456789",shouldMatch:!1}]},{"../enums":353}],338:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/(.*)\/(.*)\/gitlab_proof\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"gitlab"},match:{regularExpression:r,isAmbiguous:!0},profile:{display:`${t[2]}@${t[1]}`,uri:`https://${t[1]}/${t[2]}`,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.GENERIC,format:A.ProofFormat.JSON,data:{url:`https://${t[1]}/api/v4/projects/${t[2]}%2Fgitlab_proof`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.EQUALS,path:["description"]}]}},i.tests=[{uri:"https://gitlab.domain.org/alice/gitlab_proof",shouldMatch:!0},{uri:"https://gitlab.domain.org/alice/gitlab_proof/",shouldMatch:!0},{uri:"https://domain.org/alice/other_proof",shouldMatch:!1}]},{"../enums":353}],339:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/news\.ycombinator\.com\/user\?id=(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"hackernews"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:e,qr:null},proof:{uri:`https://hacker-news.firebaseio.com/v0/user/${t[1]}.json`,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.NOCORS,format:A.ProofFormat.JSON,data:{url:`https://hacker-news.firebaseio.com/v0/user/${t[1]}.json`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["about"]}]}},i.tests=[{uri:"https://news.ycombinator.com/user?id=Alice",shouldMatch:!0},{uri:"https://news.ycombinator.com/user?id=Alice/",shouldMatch:!0},{uri:"https://domain.org/user?id=Alice",shouldMatch:!1}]},{"../enums":353}],340:[function(e,t,i){const A={dns:e("./dns"),irc:e("./irc"),xmpp:e("./xmpp"),matrix:e("./matrix"),telegram:e("./telegram"),twitter:e("./twitter"),reddit:e("./reddit"),liberapay:e("./liberapay"),lichess:e("./lichess"),hackernews:e("./hackernews"),lobsters:e("./lobsters"),devto:e("./devto"),forgejo:e("./forgejo"),gitea:e("./gitea"),gitlab:e("./gitlab"),github:e("./github"),activitypub:e("./activitypub"),discourse:e("./discourse"),owncast:e("./owncast"),stackexchange:e("./stackexchange")};i.list=Object.keys(A),i.data=A},{"./activitypub":331,"./devto":332,"./discourse":333,"./dns":334,"./forgejo":335,"./gitea":336,"./github":337,"./gitlab":338,"./hackernews":339,"./irc":341,"./liberapay":342,"./lichess":343,"./lobsters":344,"./matrix":345,"./owncast":346,"./reddit":347,"./stackexchange":348,"./telegram":349,"./twitter":350,"./xmpp":351}],341:[function(e,t,i){const A=e("../enums"),r=/^irc:\/\/(.*)\/([a-zA-Z0-9\-[\]\\`_^{|}]*)/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"communication",name:"irc"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:`irc://${t[1]}/${t[2]}`,uri:e,qr:null},proof:{uri:null,request:{fetcher:A.Fetcher.IRC,access:A.ProofAccess.SERVER,format:A.ProofFormat.JSON,data:{domain:t[1],nick:t[2]}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:[]}]}},i.tests=[{uri:"irc://chat.ircserver.org/Alice1",shouldMatch:!0},{uri:"irc://chat.ircserver.org/alice?param=123",shouldMatch:!0},{uri:"irc://chat.ircserver.org/alice_bob",shouldMatch:!0},{uri:"https://chat.ircserver.org/alice",shouldMatch:!1}]},{"../enums":353}],342:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/liberapay\.com\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"liberapay"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:e,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.GENERIC,format:A.ProofFormat.JSON,data:{url:`https://liberapay.com/${t[1]}/public.json`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["statements","content"]}]}},i.tests=[{uri:"https://liberapay.com/alice",shouldMatch:!0},{uri:"https://liberapay.com/alice/",shouldMatch:!0},{uri:"https://domain.org/alice",shouldMatch:!1}]},{"../enums":353}],343:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/lichess\.org\/@\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"lichess"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:e,qr:null},proof:{uri:`https://lichess.org/api/user/${t[1]}`,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.GENERIC,format:A.ProofFormat.JSON,data:{url:`https://lichess.org/api/user/${t[1]}`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.FINGERPRINT,relation:A.ClaimRelation.CONTAINS,path:["profile","links"]}]}},i.tests=[{uri:"https://lichess.org/@/Alice",shouldMatch:!0},{uri:"https://lichess.org/@/Alice/",shouldMatch:!0},{uri:"https://domain.org/@/Alice",shouldMatch:!1}]},{"../enums":353}],344:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/lobste\.rs\/u\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"lobsters"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:e,qr:null},proof:{uri:`https://lobste.rs/u/${t[1]}.json`,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.NOCORS,format:A.ProofFormat.JSON,data:{url:`https://lobste.rs/u/${t[1]}.json`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["about"]}]}},i.tests=[{uri:"https://lobste.rs/u/Alice",shouldMatch:!0},{uri:"https://lobste.rs/u/Alice/",shouldMatch:!0},{uri:"https://domain.org/u/Alice",shouldMatch:!1}]},{"../enums":353}],345:[function(e,t,i){const A=e("../enums"),r=e("query-string"),n=/^matrix:u\/(?:@)?([^@:]*:[^?]*)(\?.*)?/;i.reURI=n,i.processURI=e=>{const t=e.match(n);if(!t[2])return null;const i=r.parse(t[2]);if(!("org.keyoxide.e"in i)||!("org.keyoxide.r"in i))return null;const o=`https://matrix.to/#/@${t[1]}`,a=`https://matrix.to/#/${i["org.keyoxide.r"]}/${i["org.keyoxide.e"]}`;return{serviceprovider:{type:"communication",name:"matrix"},match:{regularExpression:n,isAmbiguous:!1},profile:{display:`@${t[1]}`,uri:o,qr:null},proof:{uri:a,request:{fetcher:A.Fetcher.MATRIX,access:A.ProofAccess.GRANTED,format:A.ProofFormat.JSON,data:{eventId:i["org.keyoxide.e"],roomId:i["org.keyoxide.r"]}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["content","body"]}]}},i.tests=[{uri:"matrix:u/alice:matrix.domain.org?org.keyoxide.r=!123:domain.org&org.keyoxide.e=$123",shouldMatch:!0},{uri:"matrix:u/alice:matrix.domain.org",shouldMatch:!0},{uri:"xmpp:alice@domain.org",shouldMatch:!1},{uri:"https://domain.org/@alice",shouldMatch:!1}]},{"../enums":353,"query-string":194}],346:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/(.*)/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"owncast"},match:{regularExpression:r,isAmbiguous:!0},profile:{display:t[1],uri:e,qr:null},proof:{uri:`${e}/api/config`,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.GENERIC,format:A.ProofFormat.JSON,data:{url:`${e}/api/config`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.FINGERPRINT,relation:A.ClaimRelation.CONTAINS,path:["socialHandles","url"]}]}},i.tests=[{uri:"https://live.domain.org",shouldMatch:!0},{uri:"https://live.domain.org/",shouldMatch:!0},{uri:"https://domain.org/live",shouldMatch:!0},{uri:"https://domain.org/live/",shouldMatch:!0}]},{"../enums":353}],347:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/(?:www\.)?reddit\.com\/user\/(.*)\/comments\/(.*)\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"reddit"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:`https://www.reddit.com/user/${t[1]}`,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.NOCORS,format:A.ProofFormat.JSON,data:{url:`https://www.reddit.com/user/${t[1]}/comments/${t[2]}.json`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["data","children","data","selftext"]}]}},i.tests=[{uri:"https://www.reddit.com/user/Alice/comments/123456/post",shouldMatch:!0},{uri:"https://www.reddit.com/user/Alice/comments/123456/post/",shouldMatch:!0},{uri:"https://reddit.com/user/Alice/comments/123456/post",shouldMatch:!0},{uri:"https://reddit.com/user/Alice/comments/123456/post/",shouldMatch:!0},{uri:"https://domain.org/user/Alice/comments/123456/post",shouldMatch:!1}]},{"../enums":353}],348:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/(.*(?:askubuntu|mathoverflow|serverfault|stackapps|stackoverflow|superuser)|.+\.stackexchange)\.com\/users\/(\d+)/,n=/\.stackexchange$/;i.reURI=r,i.processURI=e=>{const[,t,i]=e.match(r),o=t.replace(n,"");return{serviceprovider:{type:"web",name:"stackexchange"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:`${i}@${o}`,uri:e,qr:null},proof:{uri:`https://${t}.com/users/${i}?tab=profile`,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.GENERIC,format:A.ProofFormat.JSON,data:{url:`https://api.stackexchange.com/2.3/users/${i}?site=${o}&filter=!AH)b5JqVyImf`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["items","about_me"]}]}},i.tests=[{uri:"https://stackoverflow.com/users/1234",shouldMatch:!0},{uri:"https://stackoverflow.com/users/1234/alice",shouldMatch:!0},{uri:"https://stackoverflow.com/users/1234?tab=topactivity",shouldMatch:!0},{uri:"https://stackoverflow.com/users/1234/alice?tab=profile",shouldMatch:!0},{uri:"https://meta.stackoverflow.com/users/1234",shouldMatch:!0},{uri:"https://pt.stackoverflow.com/users/1234",shouldMatch:!0},{uri:"https://pt.meta.stackoverflow.com/users/1234",shouldMatch:!0},{uri:"https://serverfault.com/users/1234",shouldMatch:!0},{uri:"https://meta.stackexchange.com/users/1234",shouldMatch:!0},{uri:"https://gaming.meta.stackexchange.com/users/1234",shouldMatch:!0},{uri:"https://stackexchange.com/users/1234",shouldMatch:!1},{uri:"https://domain.com/users/1234",shouldMatch:!1},{uri:"https://meta.domain.com/users/1234",shouldMatch:!1}]},{"../enums":353}],349:[function(e,t,i){const A=e("../enums"),r=/https:\/\/t.me\/([A-Za-z0-9_]{5,32})\?proof=([A-Za-z0-9_]{5,32})/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"communication",name:"telegram"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:`@${t[1]}`,uri:`https://t.me/${t[1]}`,qr:`https://t.me/${t[1]}`},proof:{uri:`https://t.me/${t[2]}`,request:{fetcher:A.Fetcher.TELEGRAM,access:A.ProofAccess.GRANTED,format:A.ProofFormat.JSON,data:{user:t[1],chat:t[2]}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.EQUALS,path:["text"]}]}},i.tests=[{uri:"https://t.me/alice?proof=foobar",shouldMatch:!0},{uri:"https://t.me/complex_user_1234?proof=complex_chat_1234",shouldMatch:!0},{uri:"https://t.me/foobar",shouldMatch:!1},{uri:"https://t.me/foobar?proof=",shouldMatch:!1},{uri:"https://t.me/?proof=foobar",shouldMatch:!1}]},{"../enums":353}],350:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/twitter\.com\/(.*)\/status\/([0-9]*)(?:\?.*)?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"twitter"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:`@${t[1]}`,uri:`https://twitter.com/${t[1]}`,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.GENERIC,format:A.ProofFormat.JSON,data:{url:`https://publish.twitter.com/oembed?${new URLSearchParams({url:t[0],omit_script:1})}`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["html"]}]}},i.tests=[{uri:"https://twitter.com/alice/status/1234567890123456789",shouldMatch:!0},{uri:"https://twitter.com/alice/status/1234567890123456789/",shouldMatch:!0},{uri:"https://domain.org/alice/status/1234567890123456789",shouldMatch:!1}]},{"../enums":353}],351:[function(e,t,i){const A=e("../enums"),r=/^xmpp:([a-zA-Z0-9.\-_]*)@([a-zA-Z0-9.\-_]*)(?:\?(.*))?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"communication",name:"xmpp"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:`${t[1]}@${t[2]}`,uri:e,qr:e},proof:{uri:null,request:{fetcher:A.Fetcher.XMPP,access:A.ProofAccess.SERVER,format:A.ProofFormat.JSON,data:{id:`${t[1]}@${t[2]}`}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:[]}]}},i.tests=[{uri:"xmpp:alice@domain.org",shouldMatch:!0},{uri:"xmpp:alice@domain.org?omemo-sid-123456789=A1B2C3D4E5F6G7H8I9",shouldMatch:!0},{uri:"https://domain.org",shouldMatch:!1}]},{"../enums":353}],352:[function(e,t,i){const A={proxy:{hostname:null,policy:e("./enums").ProxyPolicy.NEVER},claims:{activitypub:{url:null,privateKey:null},irc:{nick:null},matrix:{instance:null,accessToken:null},telegram:{token:null},xmpp:{service:null,username:null,password:null}}};i.opts=A},{"./enums":353}],353:[function(e,t,i){const A={ADAPTIVE:"adaptive",ALWAYS:"always",NEVER:"never"};Object.freeze(A);const r={ACTIVITYPUB:"activitypub",DNS:"dns",HTTP:"http",IRC:"irc",MATRIX:"matrix",TELEGRAM:"telegram",XMPP:"xmpp"};Object.freeze(r);const n={GENERIC:"generic",NOCORS:"nocors",GRANTED:"granted",SERVER:"server"};Object.freeze(n);const o={JSON:"json",TEXT:"text"};Object.freeze(o);const a={URI:"uri",FINGERPRINT:"fingerprint"};Object.freeze(a);const s={CONTAINS:"contains",EQUALS:"equals",ONEOF:"oneof"};Object.freeze(s);const c={INIT:"init",MATCHED:"matched",VERIFIED:"verified"};Object.freeze(c),i.ProxyPolicy=A,i.Fetcher=r,i.ProofAccess=n,i.ProofFormat=o,i.ClaimFormat=a,i.ClaimRelation=s,i.ClaimStatus=c},{}],354:[function(e,t,i){const A=e("axios"),r=e("validator"),n=e("browser-or-node");t.exports.timeout=5e3,t.exports.fn=async(i,o)=>{let a,s;n.isNode&&(a=e("crypto"));const c=new Promise(((e,A)=>{s=setTimeout((()=>A(new Error("Request was timed out"))),i.fetcherTimeout?i.fetcherTimeout:t.exports.timeout)})),I=new Promise(((t,s)=>{(async()=>{let c=!1;try{r.isURL(o.claims.activitypub.url),c=!0}catch(e){}const I=new Date,{host:f,pathname:h,search:g}=new URL(i.url),u={host:f,date:I.toUTCString(),accept:"application/activity+json","User-Agent":`doipjs/${e("../../package.json").version}`};if(c&&n.isNode){const e=`(request-target): get ${h}${g}\nhost: ${f}\ndate: ${I.toUTCString()}`,t=a.createSign("SHA256");t.write(e),t.end();const i=t.sign(o.claims.activitypub.privateKey.replace(/\\n/g,"\n"),"base64");u.signature=`keyId="${o.claims.activitypub.url}#main-key",headers="(request-target) host date",signature="${i}",algorithm="rsa-sha256"`}A.get(i.url,{headers:u}).then((e=>e.data)).then((e=>{t(e)})).catch((e=>{s(e)}))})()}));return Promise.race([I,c]).then((e=>(clearTimeout(s),e)))}},{"../../package.json":329,axios:17,"browser-or-node":49,crypto:106,validator:228}],355:[function(e,t,i){const A=e("browser-or-node");if(t.exports.timeout=5e3,A.isNode){const i=e("dns");t.exports.fn=async(e,A)=>{let r;const n=new Promise(((i,A)=>{r=setTimeout((()=>A(new Error("Request was timed out"))),e.fetcherTimeout?e.fetcherTimeout:t.exports.timeout)})),o=new Promise(((t,A)=>{i.resolveTxt(e.domain,((i,r)=>{i?A(i):t({domain:e.domain,records:{txt:r}})}))}));return Promise.race([o,n]).then((e=>(clearTimeout(r),e)))}}else t.exports.fn=null},{"browser-or-node":49,dns:96}],356:[function(e,t,i){const A=e("axios"),r=e("../enums");t.exports.timeout=5e3,t.exports.fn=async(i,n)=>{let o;const a=new Promise(((e,A)=>{o=setTimeout((()=>A(new Error("Request was timed out"))),i.fetcherTimeout?i.fetcherTimeout:t.exports.timeout)})),s=new Promise(((t,n)=>{if(i.url)switch(i.format){case r.ProofFormat.JSON:A.get(i.url,{headers:{Accept:"application/json","User-Agent":`doipjs/${e("../../package.json").version}`},validateStatus:function(e){return e>=200&&e<400}}).then((e=>{t(e.data)})).catch((e=>{n(e)}));break;case r.ProofFormat.TEXT:A.get(i.url,{validateStatus:function(e){return e>=200&&e<400},responseType:"text"}).then((e=>{t(e.data)})).catch((e=>{n(e)}));break;default:n(new Error("No specified data format"))}else n(new Error("No valid URI provided"))}));return Promise.race([s,a]).then((e=>(clearTimeout(o),e)))}},{"../../package.json":329,"../enums":353,axios:17}],357:[function(e,t,i){i.activitypub=e("./activitypub"),i.dns=e("./dns"),i.http=e("./http"),i.irc=e("./irc"),i.matrix=e("./matrix"),i.telegram=e("./telegram"),i.xmpp=e("./xmpp")},{"./activitypub":354,"./dns":355,"./http":356,"./irc":358,"./matrix":359,"./telegram":360,"./xmpp":361}],358:[function(e,t,i){const A=e("browser-or-node");if(t.exports.timeout=2e4,A.isNode){const i=e("irc-upd"),A=e("validator");t.exports.fn=async(e,r)=>{let n;const o=new Promise(((i,A)=>{n=setTimeout((()=>A(new Error("Request was timed out"))),e.fetcherTimeout?e.fetcherTimeout:t.exports.timeout)})),a=new Promise(((t,n)=>{try{A.isAscii(r.claims.irc.nick)}catch(e){throw new Error(`IRC fetcher was not set up properly (${e.message})`)}try{const A=new i.Client(e.domain,r.claims.irc.nick,{port:6697,secure:!0,channels:[],showErrors:!1,debug:!1}),n=/[a-zA-Z0-9\-_]+\s+:\s(openpgp4fpr:.*)/,o=/End\sof\s.*\staxonomy./,a=[];A.addListener("registered",(t=>{A.send(`PRIVMSG NickServ TAXONOMY ${e.nick}`)})),A.addListener("notice",((e,i,r,s)=>{if(n.test(r)){const e=r.match(n);a.push(e[1])}o.test(r)&&(A.disconnect(),t(a))}))}catch(e){n(e)}}));return Promise.race([a,o]).then((e=>(clearTimeout(n),e)))}}else t.exports.fn=null},{"browser-or-node":49,"irc-upd":"irc-upd",validator:228}],359:[function(e,t,i){const A=e("axios"),r=e("validator");t.exports.timeout=5e3,t.exports.fn=async(i,n)=>{let o;const a=new Promise(((e,A)=>{o=setTimeout((()=>A(new Error("Request was timed out"))),i.fetcherTimeout?i.fetcherTimeout:t.exports.timeout)})),s=new Promise(((t,o)=>{try{r.isFQDN(n.claims.matrix.instance),r.isAscii(n.claims.matrix.accessToken)}catch(e){throw new Error(`Matrix fetcher was not set up properly (${e.message})`)}const a=`https://${n.claims.matrix.instance}/_matrix/client/r0/rooms/${i.roomId}/event/${i.eventId}?access_token=${n.claims.matrix.accessToken}`;A.get(a,{headers:{Accept:"application/json","User-Agent":`doipjs/${e("../../package.json").version}`}}).then((e=>e.data)).then((e=>{t(e)})).catch((e=>{o(e)}))}));return Promise.race([s,a]).then((e=>(clearTimeout(o),e)))}},{"../../package.json":329,axios:17,validator:228}],360:[function(e,t,i){const A=e("axios"),r=e("validator");t.exports.timeout=5e3,t.exports.fn=async(i,n)=>{let o;const a=new Promise(((e,A)=>{o=setTimeout((()=>A(new Error("Request was timed out"))),i.fetcherTimeout?i.fetcherTimeout:t.exports.timeout)})),s=t=>new Promise(((o,a)=>{try{r.isAscii(n.claims.telegram.token)}catch(e){throw new Error(`Telegram fetcher was not set up properly (${e.message})`)}if(!i.chat||!i.user)return void a(new Error("Both chat name and user name must be provided"));const s=`https://api.telegram.org/bot${n.claims.telegram.token}/${t}?chat_id=@${i.chat}`;A.get(s,{headers:{Accept:"application/json","User-Agent":`doipjs/${e("../../package.json").version}`},validateStatus:e=>200===e}).then((e=>o(e.data))).catch((e=>a(e)))})),c=s("getChatAdministrators").then((e=>{if(!e.ok)throw new Error("Request to get chat administrators failed");return s("getChat").then((t=>{if(!t.ok)throw new Error("Request to get chat info failed");let A;for(const t of e.result)"creator"===t.status&&(A=t.user.username);if(!t.result.description)throw new Error("There is no chat description");if(A!==i.user)throw new Error("User doesn't match");return{user:A,text:t.result.description}}))}));return Promise.race([c,a]).then((e=>(clearTimeout(o),e)))}},{"../../package.json":329,axios:17,validator:228}],361:[function(e,t,i){(function(i){(function(){const A=e("browser-or-node");if(t.exports.timeout=5e3,A.isNode){const{client:A,xml:r}=e("@xmpp/client"),n=e("@xmpp/debug"),o=e("validator");let a=null,s=null;const c=async(e,t,r)=>new Promise(((o,a)=>{const s=A({service:e,username:t,password:r});"production"!==i.env.NODE_ENV&&n(s,!0);const{iqCaller:c}=s;s.start(),s.on("online",(e=>{o({xmpp:s,iqCaller:c})})),s.on("error",(e=>{a(e)}))}));t.exports.fn=async(e,i)=>{try{o.isFQDN(i.claims.xmpp.service),o.isAscii(i.claims.xmpp.username),o.isAscii(i.claims.xmpp.password)}catch(e){throw new Error(`XMPP fetcher was not set up properly (${e.message})`)}if(!a||"online"!==a.status){const e=await c(i.claims.xmpp.service,i.claims.xmpp.username,i.claims.xmpp.password);a=e.xmpp,s=e.iqCaller}let A;const n=new Promise(((i,r)=>{A=setTimeout((()=>r(new Error("Request was timed out"))),e.fetcherTimeout?e.fetcherTimeout:t.exports.timeout)})),I=new Promise(((t,i)=>{(async()=>{let A=!1;const n=[];if(!A)try{(await s.request(r("iq",{type:"get",to:e.id},r("pubsub","http://jabber.org/protocol/pubsub",r("items",{node:"http://ariadne.id/protocol/proof"}))),3e4)).getChild("pubsub").getChildren("items").forEach((e=>{"http://ariadne.id/protocol/proof"===e.attrs.node&&e.getChildren("item").forEach((e=>{n.push(e.getChildText("value"))}))})),t(n),A=!0}catch(e){}if(!A)try{(await s.request(r("iq",{type:"get",to:e.id},r("pubsub","http://jabber.org/protocol/pubsub",r("items",{node:"urn:xmpp:vcard4",max_items:"1"}))),3e4)).getChild("pubsub").getChildren("items").forEach((e=>{"urn:xmpp:vcard4"===e.attrs.node&&e.getChildren("item").forEach((e=>{if("current"===e.attrs.id){const t=e.getChild("vcard","urn:ietf:params:xml:ns:vcard-4.0");t.getChildren("url").forEach((e=>{n.push(e.getChildText("uri"))})),t.getChildren("note").forEach((e=>{n.push(e.getChildText("text"))}))}}))})),t(n),A=!0}catch(e){}if(!A)try{const i=await s.request(r("iq",{type:"get",to:e.id},r("vCard","vcard-temp")),3e4);i.getChild("vCard","vcard-temp").getChildren("URL").forEach((e=>{n.push(e.children[0])})),i.getChild("vCard","vcard-temp").getChildren("NOTE").forEach((e=>{n.push(e.children[0])})),i.getChild("vCard","vcard-temp").getChildren("DESC").forEach((e=>{n.push(e.children[0])})),t(n),A=!0}catch(e){i(e)}a.stop()})()}));return Promise.race([I,n]).then((e=>(clearTimeout(A),e)))}}else t.exports.fn=null}).call(this)}).call(this,e("_process"))},{"@xmpp/client":"@xmpp/client","@xmpp/debug":"@xmpp/debug",_process:187,"browser-or-node":49,validator:228}],362:[function(e,t,i){const A=e("./claim"),r=e("./claimDefinitions"),n=e("./proofs"),o=e("./keys"),a=e("./signatures"),s=e("./enums"),c=e("./defaults"),I=e("./utils"),f=e("./verifications"),h=e("./fetcher");i.Claim=A,i.claimDefinitions=r,i.proofs=n,i.keys=o,i.signatures=a,i.enums=s,i.defaults=c,i.utils=I,i.verifications=f,i.fetcher=h},{"./claim":330,"./claimDefinitions":340,"./defaults":352,"./enums":353,"./fetcher":357,"./keys":363,"./proofs":364,"./signatures":365,"./utils":366,"./verifications":367}],363:[function(e,t,i){(function(t){(function(){const A=e("axios"),r=e("valid-url"),n="undefined"!=typeof window?window.openpgp:void 0!==t?t.openpgp:null,o=e("@openpgp/hkp-client"),a=e("@openpgp/wkd-client"),s=e("./claim"),c=async(e,t)=>{const i=new o(t?`https://${t}`:"https://keys.openpgp.org"),A={query:e},r=await i.lookup(A).catch((e=>{throw new Error(`Key does not exist or could not be fetched (${e})`)}));if(!r)throw new Error("Key does not exist or could not be fetched");return await n.readKey({armoredKey:r}).catch((e=>{throw new Error(`Key could not be read (${e})`)}))},I=async e=>{const t=new a,i={email:e},A=await t.lookup(i).catch((e=>{throw new Error(`Key does not exist or could not be fetched (${e})`)}));if(!A)throw new Error("Key does not exist or could not be fetched");return await n.readKey({binaryKey:A}).catch((e=>{throw new Error(`Key could not be read (${e})`)}))},f=async(e,t)=>{const i=`https://keybase.io/${e}/pgp_keys.asc?fingerprint=${t}`;let r;try{r=await A.get(i,{responseType:"text"}).then((e=>{if(200===e.status)return e})).then((e=>e.data))}catch(e){throw new Error(`Error fetching Keybase key: ${e.message}`)}return await n.readKey({armoredKey:r}).catch((e=>{throw new Error(`Key does not exist or could not be fetched (${e})`)}))},h=async e=>await n.readKey({armoredKey:e}).catch((e=>{throw new Error(`Key could not be read (${e})`)}));i.fetchHKP=c,i.fetchWKD=I,i.fetchKeybase=f,i.fetchPlaintext=h,i.fetchURI=async e=>{if(!r.isUri(e))throw new Error("Invalid URI");const t=e.match(/([a-zA-Z0-9]*):([a-zA-Z0-9@._=+-]*)(?::([a-zA-Z0-9@._=+-]*))?/);if(!t[1])throw new Error("Invalid URI");switch(t[1]){case"hkp":return await c(t[3]?t[3]:t[2],t[3]?t[2]:null);case"wkd":return await I(t[2]);case"kb":return await f(t[2],t.length>=4?t[3]:null);default:throw new Error("Invalid URI protocol")}},i.fetch=async e=>{const t=e.match(/([a-zA-Z0-9@._=+-]*)(?::([a-zA-Z0-9@._=+-]*))?/);let i=null;if(!i)try{i=await h(e)}catch(e){}if(!i&&e.includes("@"))try{i=await I(t[1])}catch(e){}if(i||(i=await c(t[2]?t[2]:t[1],t[2]?t[1]:null)),!i)throw new Error("Key does not exist or could not be fetched");return i},i.process=async e=>{if(!(e&&e instanceof n.PublicKey))throw new Error("Invalid public key");const t=e.getFingerprint(),i=await e.getPrimaryUser(),A=e.users,r=[];return A.forEach(((e,A)=>{if(r[A]={userData:{id:e.userID?e.userID.userID:null,name:e.userID?e.userID.name:null,email:e.userID?e.userID.email:null,comment:e.userID?e.userID.comment:null,isPrimary:i.index===A,isRevoked:!1},claims:[]},"selfCertifications"in e&&e.selfCertifications.length>0){const i=e.selfCertifications[0],n=i.rawNotations;r[A].claims=n.filter((({name:e,humanReadable:t})=>t&&("proof@ariadne.id"===e||"proof@metacode.biz"===e))).map((({value:e})=>new s((new TextDecoder).decode(e),t))),r[A].userData.isRevoked=i.revoked}})),{fingerprint:t,users:r,primaryUserIndex:i.index,key:{data:e,fetchMethod:null,uri:null}}}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./claim":330,"@openpgp/hkp-client":1,"@openpgp/wkd-client":2,axios:17,"valid-url":227}],364:[function(e,t,i){const A=e("browser-or-node"),r=e("./fetcher"),n=e("./utils"),o=e("./enums"),a=(e,t)=>{switch(t.proxy.policy){case o.ProxyPolicy.ALWAYS:return I(e,t);case o.ProxyPolicy.NEVER:switch(e.proof.request.access){case o.ProofAccess.GENERIC:case o.ProofAccess.GRANTED:return c(e,t);case o.ProofAccess.NOCORS:case o.ProofAccess.SERVER:throw new Error("Impossible to fetch proof (bad combination of service access and proxy policy)");default:throw new Error("Invalid proof access value")}case o.ProxyPolicy.ADAPTIVE:switch(e.proof.request.access){case o.ProofAccess.GENERIC:return f(e,t);case o.ProofAccess.NOCORS:return I(e,t);case o.ProofAccess.GRANTED:return f(e,t);case o.ProofAccess.SERVER:return I(e,t);default:throw new Error("Invalid proof access value")}default:throw new Error("Invalid proxy policy")}},s=(e,t)=>{switch(t.proxy.policy){case o.ProxyPolicy.ALWAYS:return I(e,t);case o.ProxyPolicy.NEVER:return c(e,t);case o.ProxyPolicy.ADAPTIVE:return f(e,t);default:throw new Error("Invalid proxy policy")}},c=(e,t)=>new Promise(((i,A)=>{r[e.proof.request.fetcher].fn(e.proof.request.data,t).then((t=>i({fetcher:e.proof.request.fetcher,data:e,viaProxy:!1,result:t}))).catch((e=>A(e)))})),I=(e,t)=>new Promise(((i,A)=>{let o;try{o=n.generateProxyURL(e.proof.request.fetcher,e.proof.request.data,t)}catch(e){A(e)}const a={url:o,format:e.proof.request.format,fetcherTimeout:r[e.proof.request.fetcher].timeout};r.http.fn(a,t).then((t=>i({fetcher:"http",data:e,viaProxy:!0,result:t}))).catch((e=>A(e)))})),f=(e,t)=>new Promise(((i,A)=>{c(e,t).then((e=>i(e))).catch((r=>{I(e,t).then((e=>i(e))).catch((e=>A(e)))}))}));i.fetch=(e,t)=>{if(e.proof.request.fetcher===o.Fetcher.HTTP)e.proof.request.data.format=e.proof.request.format;return A.isNode?s(e,t):a(e,t)}},{"./enums":353,"./fetcher":357,"./utils":366,"browser-or-node":49}],365:[function(e,t,i){(function(t){(function(){const A="undefined"!=typeof window?window.openpgp:void 0!==t?t.openpgp:null,r=e("./claim"),n=e("./keys");i.process=async e=>{let t;const i={fingerprint:null,users:[{userData:{},claims:[]}],primaryUserIndex:null,key:{data:null,fetchMethod:null,uri:null}};try{t=await A.readCleartextMessage({cleartextMessage:e})}catch(e){throw new Error(`Signature could not be read (${e.message})`)}const o=t.signature.packets[0].issuerKeyID.toHex(),a=t.signature.packets[0].signersUserID,s=t.signature.packets[0].preferredKeyServer||"https://keys.openpgp.org/",c=t.getText(),I=[];if(c.split("\n").forEach(((e,t)=>{const A=e.match(/^([a-zA-Z0-9]*)=(.*)$/i);if(A)switch(A[1].toLowerCase()){case"key":I.push(A[2]);break;case"proof":i.users[0].claims.push(new r(A[2]))}})),I.length>0)try{i.key.uri=I[0],i.key.data=await n.fetchURI(i.key.uri),i.key.fetchMethod=i.key.uri.split(":")[0]}catch(e){}if(!i.key.data&&a)try{i.key.uri=`wkd:${a}`,i.key.data=await n.fetchURI(i.key.uri),i.key.fetchMethod="wkd"}catch(e){}if(!i.key.data)try{const e=s.match(/^(.*:\/\/)?([^/]*)(?:\/)?$/i);i.key.uri=`hkp:${e[2]}:${o||a}`,i.key.data=await n.fetchURI(i.key.uri),i.key.fetchMethod="hkp"}catch(e){throw new Error("Public key not found")}const f=await A.verify({message:t,verificationKeys:i.key.data}),{verified:h}=f.signatures[0];try{await h}catch(e){throw new Error(`Signature could not be verified (${e.message})`)}i.fingerprint=i.key.data.keyPacket.getFingerprint(),i.users[0].claims.forEach((e=>{e.fingerprint=i.fingerprint}));const g=await i.key.data.getPrimaryUser();let u;return a&&i.key.data.users.forEach((e=>{e.userID.email===a&&(u=e)})),u||(u=g.user),i.users[0].userData={id:u.userID?u.userID.userID:null,name:u.userID?u.userID.name:null,email:u.userID?u.userID.email:null,comment:u.userID?u.userID.comment:null,isPrimary:g.user.userID.userID===u.userID.userID},i.primaryUserIndex=i.users[0].userData.isPrimary?0:null,i}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./claim":330,"./keys":363}],366:[function(e,t,i){const A=e("validator"),r=e("./enums");i.generateProxyURL=(e,t,i)=>{try{A.isFQDN(i.proxy.hostname)}catch(e){throw new Error("Invalid proxy hostname")}const r=[];return Object.keys(t).forEach((e=>{r.push(`${e}=${encodeURIComponent(t[e])}`)})),`https://${i.proxy.hostname}/api/2/get/${e}?${r.join("&")}`},i.generateClaim=(e,t)=>{switch(t){case r.ClaimFormat.URI:return`openpgp4fpr:${e}`;case r.ClaimFormat.FINGERPRINT:return e;default:throw new Error("No valid claim format")}},i.getUriFromString=e=>{const t=e.match(/((([A-Za-z0-9]+:(?:\/\/)?)(?:[-;:&=+$,\w]+@)?[A-Za-z0-9.-]+|(?:www\.|[-;:&=+$,\w]+@)[A-Za-z0-9.-]+)((?:\/[+~%/.\w\-_]*)?\??(?:[-+=&;%@.\w_]*)#?(?:[.!/\\\w]*))?)/gi),i=[];return t?(t.forEach((e=>{let t=!0;for(;t;){const i=e.charAt(e.length-1);-1!=="?!.".indexOf(i)?e=e.substring(0,e.length-1):t=!1}i.push(e)})),i):[]}},{"./enums":353,validator:228}],367:[function(e,t,i){const A=e("./utils"),r=e("./enums"),{bcryptVerify:n,argon2Verify:o}=e("hash-wasm"),a=async(e,t,i)=>{const a=A.generateClaim(t,i),s=A.generateClaim(t,r.ClaimFormat.URI);let c=!1;if(c=-1!==e.replace(/\r?\n|\r/g,"").toLowerCase().indexOf(a.toLowerCase()),!c){const t=/\$(argon2(?:id|d|i)|2a|2b|2y)(?:\$[a-zA-Z0-9=+\-,./]+)+/g;let i;for(;!c&&null!=(i=t.exec(e));){let e;const t=new Promise(((t,i)=>{e=setTimeout((()=>{t(!1)}),1e3)}));switch(i[1]){case"2a":case"2b":case"2y":try{if(parseInt(i[0].split("$")[2])>12)continue;const A=n({password:s,hash:i[0]}).then((e=>e)).catch((e=>!1));c=await Promise.race([A,t]).then((t=>(clearTimeout(e),t)))}catch(e){c=!1}break;case"argon2":case"argon2i":case"argon2d":case"argon2id":try{const A=o({password:s,hash:i[0]}).then((e=>e)).catch((e=>!1));c=await Promise.race([A,t]).then((t=>(clearTimeout(e),t)))}catch(e){c=!1}break;default:continue}}}if(!c){const t=A.getUriFromString(e);for(let e=0;e!1));r&&(200===r.status&&r.headers.get("ariadne-identity-proof")&&(c=-1!==r.headers.get("ariadne-identity-proof").toLowerCase().indexOf(s.toLowerCase())))}}return c},s=async(e,t,i,A,n)=>{if(!e)return!1;if(Array.isArray(e)){let r=!1;for(let o=0;o{const A={result:!1,completed:!1,errors:[]};switch(t.proof.request.format){case r.ProofFormat.JSON:for(let r=0;r=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var A=n(e);return t&&0!==t.length?"string"==typeof i?A.fill(t,i):A.fill(t):A.fill(0),A}),!o.kStringMaxLength)try{o.kStringMaxLength=i.binding("buffer").kStringMaxLength}catch(e){}o.constants||(o.constants={MAX_LENGTH:o.kMaxLength},o.kStringMaxLength&&(o.constants.MAX_STRING_LENGTH=o.kStringMaxLength)),t.exports=o}).call(this)}).call(this,e("_process"))},{_process:185,buffer:99}],197:[function(e,t,i){var A=e("safe-buffer").Buffer;function r(e,t){this._block=A.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}r.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=A.from(e,t));for(var i=this._block,r=this._blockSize,n=e.length,o=this._len,a=0;a=this._finalSize&&(this._update(this._block),this._block.fill(0));var i=8*this._len;if(i<=4294967295)this._block.writeUInt32BE(i,this._blockSize-4);else{var A=(4294967295&i)>>>0,r=(i-A)/4294967296;this._block.writeUInt32BE(r,this._blockSize-8),this._block.writeUInt32BE(A,this._blockSize-4)}this._update(this._block);var n=this._hash();return e?n.toString(e):n},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=r},{"safe-buffer":195}],198:[function(e,t,i){(i=t.exports=function(e){e=e.toLowerCase();var t=i[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t}).sha=e("./sha"),i.sha1=e("./sha1"),i.sha224=e("./sha224"),i.sha256=e("./sha256"),i.sha384=e("./sha384"),i.sha512=e("./sha512")},{"./sha":199,"./sha1":200,"./sha224":201,"./sha256":202,"./sha384":203,"./sha512":204}],199:[function(e,t,i){var A=e("inherits"),r=e("./hash"),n=e("safe-buffer").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function s(){this.init(),this._w=a,r.call(this,64,56)}function c(e){return e<<30|e>>>2}function I(e,t,i,A){return 0===e?t&i|~t&A:2===e?t&i|t&A|i&A:t^i^A}A(s,r),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(e){for(var t,i=this._w,A=0|this._a,r=0|this._b,n=0|this._c,a=0|this._d,s=0|this._e,f=0;f<16;++f)i[f]=e.readInt32BE(4*f);for(;f<80;++f)i[f]=i[f-3]^i[f-8]^i[f-14]^i[f-16];for(var h=0;h<80;++h){var u=~~(h/20),g=0|((t=A)<<5|t>>>27)+I(u,r,n,a)+s+i[h]+o[u];s=a,a=n,n=c(r),r=A,A=g}this._a=A+this._a|0,this._b=r+this._b|0,this._c=n+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},s.prototype._hash=function(){var e=n.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=s},{"./hash":197,inherits:167,"safe-buffer":195}],200:[function(e,t,i){var A=e("inherits"),r=e("./hash"),n=e("safe-buffer").Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function s(){this.init(),this._w=a,r.call(this,64,56)}function c(e){return e<<5|e>>>27}function I(e){return e<<30|e>>>2}function f(e,t,i,A){return 0===e?t&i|~t&A:2===e?t&i|t&A|i&A:t^i^A}A(s,r),s.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},s.prototype._update=function(e){for(var t,i=this._w,A=0|this._a,r=0|this._b,n=0|this._c,a=0|this._d,s=0|this._e,h=0;h<16;++h)i[h]=e.readInt32BE(4*h);for(;h<80;++h)i[h]=(t=i[h-3]^i[h-8]^i[h-14]^i[h-16])<<1|t>>>31;for(var u=0;u<80;++u){var g=~~(u/20),d=c(A)+f(g,r,n,a)+s+i[u]+o[g]|0;s=a,a=n,n=I(r),r=A,A=d}this._a=A+this._a|0,this._b=r+this._b|0,this._c=n+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},s.prototype._hash=function(){var e=n.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=s},{"./hash":197,inherits:167,"safe-buffer":195}],201:[function(e,t,i){var A=e("inherits"),r=e("./sha256"),n=e("./hash"),o=e("safe-buffer").Buffer,a=new Array(64);function s(){this.init(),this._w=a,n.call(this,64,56)}A(s,r),s.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},s.prototype._hash=function(){var e=o.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=s},{"./hash":197,"./sha256":202,inherits:167,"safe-buffer":195}],202:[function(e,t,i){var A=e("inherits"),r=e("./hash"),n=e("safe-buffer").Buffer,o=[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],a=new Array(64);function s(){this.init(),this._w=a,r.call(this,64,56)}function c(e,t,i){return i^e&(t^i)}function I(e,t,i){return e&t|i&(e|t)}function f(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function u(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}A(s,r),s.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},s.prototype._update=function(e){for(var t,i=this._w,A=0|this._a,r=0|this._b,n=0|this._c,a=0|this._d,s=0|this._e,g=0|this._f,d=0|this._g,l=0|this._h,B=0;B<16;++B)i[B]=e.readInt32BE(4*B);for(;B<64;++B)i[B]=0|(((t=i[B-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+i[B-7]+u(i[B-15])+i[B-16];for(var p=0;p<64;++p){var C=l+h(s)+c(s,g,d)+o[p]+i[p]|0,Q=f(A)+I(A,r,n)|0;l=d,d=g,g=s,s=a+C|0,a=n,n=r,r=A,A=C+Q|0}this._a=A+this._a|0,this._b=r+this._b|0,this._c=n+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0,this._f=g+this._f|0,this._g=d+this._g|0,this._h=l+this._h|0},s.prototype._hash=function(){var e=n.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=s},{"./hash":197,inherits:167,"safe-buffer":195}],203:[function(e,t,i){var A=e("inherits"),r=e("./sha512"),n=e("./hash"),o=e("safe-buffer").Buffer,a=new Array(160);function s(){this.init(),this._w=a,n.call(this,128,112)}A(s,r),s.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},s.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,i,A){e.writeInt32BE(t,A),e.writeInt32BE(i,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=s},{"./hash":197,"./sha512":204,inherits:167,"safe-buffer":195}],204:[function(e,t,i){var A=e("inherits"),r=e("./hash"),n=e("safe-buffer").Buffer,o=[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],a=new Array(160);function s(){this.init(),this._w=a,r.call(this,128,112)}function c(e,t,i){return i^e&(t^i)}function I(e,t,i){return e&t|i&(e|t)}function f(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function u(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function g(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function d(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function l(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function B(e,t){return e>>>0>>0?1:0}A(s,r),s.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},s.prototype._update=function(e){for(var t=this._w,i=0|this._ah,A=0|this._bh,r=0|this._ch,n=0|this._dh,a=0|this._eh,s=0|this._fh,p=0|this._gh,C=0|this._hh,Q=0|this._al,E=0|this._bl,y=0|this._cl,b=0|this._dl,m=0|this._el,w=0|this._fl,v=0|this._gl,D=0|this._hl,S=0;S<32;S+=2)t[S]=e.readInt32BE(4*S),t[S+1]=e.readInt32BE(4*S+4);for(;S<160;S+=2){var F=t[S-30],k=t[S-30+1],M=u(F,k),N=g(k,F),U=d(F=t[S-4],k=t[S-4+1]),G=l(k,F),H=t[S-14],_=t[S-14+1],R=t[S-32],K=t[S-32+1],q=N+_|0,x=M+H+B(q,N)|0;x=(x=x+U+B(q=q+G|0,G)|0)+R+B(q=q+K|0,K)|0,t[S]=x,t[S+1]=q}for(var J=0;J<160;J+=2){x=t[J],q=t[J+1];var Y=I(i,A,r),O=I(Q,E,y),L=f(i,Q),P=f(Q,i),Z=h(a,m),z=h(m,a),T=o[J],X=o[J+1],V=c(a,s,p),j=c(m,w,v),W=D+z|0,$=C+Z+B(W,D)|0;$=($=($=$+V+B(W=W+j|0,j)|0)+T+B(W=W+X|0,X)|0)+x+B(W=W+q|0,q)|0;var ee=P+O|0,te=L+Y+B(ee,P)|0;C=p,D=v,p=s,v=w,s=a,w=m,a=n+$+B(m=b+W|0,b)|0,n=r,b=y,r=A,y=E,A=i,E=Q,i=$+te+B(Q=W+ee|0,W)|0}this._al=this._al+Q|0,this._bl=this._bl+E|0,this._cl=this._cl+y|0,this._dl=this._dl+b|0,this._el=this._el+m|0,this._fl=this._fl+w|0,this._gl=this._gl+v|0,this._hl=this._hl+D|0,this._ah=this._ah+i+B(this._al,Q)|0,this._bh=this._bh+A+B(this._bl,E)|0,this._ch=this._ch+r+B(this._cl,y)|0,this._dh=this._dh+n+B(this._dl,b)|0,this._eh=this._eh+a+B(this._el,m)|0,this._fh=this._fh+s+B(this._fl,w)|0,this._gh=this._gh+p+B(this._gl,v)|0,this._hh=this._hh+C+B(this._hl,D)|0},s.prototype._hash=function(){var e=n.allocUnsafe(64);function t(t,i,A){e.writeInt32BE(t,A),e.writeInt32BE(i,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=s},{"./hash":197,inherits:167,"safe-buffer":195}],205:[function(e,t,i){t.exports=r;var A=e("events").EventEmitter;function r(){A.call(this)}e("inherits")(r,A),r.Readable=e("readable-stream/lib/_stream_readable.js"),r.Writable=e("readable-stream/lib/_stream_writable.js"),r.Duplex=e("readable-stream/lib/_stream_duplex.js"),r.Transform=e("readable-stream/lib/_stream_transform.js"),r.PassThrough=e("readable-stream/lib/_stream_passthrough.js"),r.finished=e("readable-stream/lib/internal/streams/end-of-stream.js"),r.pipeline=e("readable-stream/lib/internal/streams/pipeline.js"),r.Stream=r,r.prototype.pipe=function(e,t){var i=this;function r(t){e.writable&&!1===e.write(t)&&i.pause&&i.pause()}function n(){i.readable&&i.resume&&i.resume()}i.on("data",r),e.on("drain",n),e._isStdio||t&&!1===t.end||(i.on("end",a),i.on("close",s));var o=!1;function a(){o||(o=!0,e.end())}function s(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(I(),0===A.listenerCount(this,"error"))throw e}function I(){i.removeListener("data",r),e.removeListener("drain",n),i.removeListener("end",a),i.removeListener("close",s),i.removeListener("error",c),e.removeListener("error",c),i.removeListener("end",I),i.removeListener("close",I),e.removeListener("close",I)}return i.on("error",c),e.on("error",c),i.on("end",I),i.on("close",I),e.on("close",I),e.emit("pipe",i),e}},{events:133,inherits:167,"readable-stream/lib/_stream_duplex.js":207,"readable-stream/lib/_stream_passthrough.js":208,"readable-stream/lib/_stream_readable.js":209,"readable-stream/lib/_stream_transform.js":210,"readable-stream/lib/_stream_writable.js":211,"readable-stream/lib/internal/streams/end-of-stream.js":215,"readable-stream/lib/internal/streams/pipeline.js":217}],206:[function(e,t,i){arguments[4][80][0].apply(i,arguments)},{dup:80}],207:[function(e,t,i){arguments[4][81][0].apply(i,arguments)},{"./_stream_readable":209,"./_stream_writable":211,_process:185,dup:81,inherits:167}],208:[function(e,t,i){arguments[4][82][0].apply(i,arguments)},{"./_stream_transform":210,dup:82,inherits:167}],209:[function(e,t,i){arguments[4][83][0].apply(i,arguments)},{"../errors":206,"./_stream_duplex":207,"./internal/streams/async_iterator":212,"./internal/streams/buffer_list":213,"./internal/streams/destroy":214,"./internal/streams/from":216,"./internal/streams/state":218,"./internal/streams/stream":219,_process:185,buffer:99,dup:83,events:133,inherits:167,"string_decoder/":220,util:50}],210:[function(e,t,i){arguments[4][84][0].apply(i,arguments)},{"../errors":206,"./_stream_duplex":207,dup:84,inherits:167}],211:[function(e,t,i){arguments[4][85][0].apply(i,arguments)},{"../errors":206,"./_stream_duplex":207,"./internal/streams/destroy":214,"./internal/streams/state":218,"./internal/streams/stream":219,_process:185,buffer:99,dup:85,inherits:167,"util-deprecate":221}],212:[function(e,t,i){arguments[4][86][0].apply(i,arguments)},{"./end-of-stream":215,_process:185,dup:86}],213:[function(e,t,i){arguments[4][87][0].apply(i,arguments)},{buffer:99,dup:87,util:50}],214:[function(e,t,i){arguments[4][88][0].apply(i,arguments)},{_process:185,dup:88}],215:[function(e,t,i){arguments[4][89][0].apply(i,arguments)},{"../../../errors":206,dup:89}],216:[function(e,t,i){arguments[4][90][0].apply(i,arguments)},{dup:90}],217:[function(e,t,i){arguments[4][91][0].apply(i,arguments)},{"../../../errors":206,"./end-of-stream":215,dup:91}],218:[function(e,t,i){arguments[4][92][0].apply(i,arguments)},{"../../../errors":206,dup:92}],219:[function(e,t,i){arguments[4][93][0].apply(i,arguments)},{dup:93,events:133}],220:[function(e,t,i){arguments[4][95][0].apply(i,arguments)},{dup:95,"safe-buffer":195}],221:[function(e,t,i){(function(e){(function(){function i(t){try{if(!e.localStorage)return!1}catch(e){return!1}var i=e.localStorage[t];return null!=i&&"true"===String(i).toLowerCase()}t.exports=function(e,t){if(i("noDeprecation"))return e;var A=!1;return function(){if(!A){if(i("throwDeprecation"))throw new Error(t);i("traceDeprecation")?console.trace(t):console.warn(t),A=!0}return e.apply(this,arguments)}}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],222:[function(e,t,i){!function(e){"use strict";e.exports.is_uri=i,e.exports.is_http_uri=A,e.exports.is_https_uri=r,e.exports.is_web_uri=n,e.exports.isUri=i,e.exports.isHttpUri=A,e.exports.isHttpsUri=r,e.exports.isWebUri=n;var t=function(e){return e.match(/(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/)};function i(e){if(e&&!/[^a-z0-9\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=\.\-\_\~\%]/i.test(e)&&!/%[^0-9a-f]/i.test(e)&&!/%[0-9a-f](:?[^0-9a-f]|$)/i.test(e)){var i,A,r,n,o,a="",s="";if(a=(i=t(e))[1],A=i[2],r=i[3],n=i[4],o=i[5],a&&a.length&&r.length>=0){if(A&&A.length){if(0!==r.length&&!/^\//.test(r))return}else if(/^\/\//.test(r))return;if(/^[a-z][a-z0-9\+\-\.]*$/.test(a.toLowerCase()))return s+=a+":",A&&A.length&&(s+="//"+A),s+=r,n&&n.length&&(s+="?"+n),o&&o.length&&(s+="#"+o),s}}}function A(e,A){if(i(e)){var r,n,o,a,s="",c="",I="",f="";if(s=(r=t(e))[1],c=r[2],n=r[3],o=r[4],a=r[5],s){if(A){if("https"!=s.toLowerCase())return}else if("http"!=s.toLowerCase())return;if(c)return/:(\d+)$/.test(c)&&(I=c.match(/:(\d+)$/)[0],c=c.replace(/:\d+$/,"")),f+=s+":",f+="//"+c,I&&(f+=I),f+=n,o&&o.length&&(f+="?"+o),a&&a.length&&(f+="#"+a),f}}}function r(e){return A(e,!0)}function n(e){return A(e)||r(e)}}(t)},{}],223:[function(e,t,i){"use strict";function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=Te(e("./lib/toDate")),n=Te(e("./lib/toFloat")),o=Te(e("./lib/toInt")),a=Te(e("./lib/toBoolean")),s=Te(e("./lib/equals")),c=Te(e("./lib/contains")),I=Te(e("./lib/matches")),f=Te(e("./lib/isEmail")),h=Te(e("./lib/isURL")),u=Te(e("./lib/isMACAddress")),g=Te(e("./lib/isIP")),d=Te(e("./lib/isIPRange")),l=Te(e("./lib/isFQDN")),B=Te(e("./lib/isDate")),p=Te(e("./lib/isTime")),C=Te(e("./lib/isBoolean")),Q=Te(e("./lib/isLocale")),E=ze(e("./lib/isAlpha")),y=ze(e("./lib/isAlphanumeric")),b=Te(e("./lib/isNumeric")),m=Te(e("./lib/isPassportNumber")),w=Te(e("./lib/isPort")),v=Te(e("./lib/isLowercase")),D=Te(e("./lib/isUppercase")),S=Te(e("./lib/isIMEI")),F=Te(e("./lib/isAscii")),k=Te(e("./lib/isFullWidth")),M=Te(e("./lib/isHalfWidth")),N=Te(e("./lib/isVariableWidth")),U=Te(e("./lib/isMultibyte")),G=Te(e("./lib/isSemVer")),H=Te(e("./lib/isSurrogatePair")),_=Te(e("./lib/isInt")),R=ze(e("./lib/isFloat")),K=Te(e("./lib/isDecimal")),q=Te(e("./lib/isHexadecimal")),x=Te(e("./lib/isOctal")),J=Te(e("./lib/isDivisibleBy")),Y=Te(e("./lib/isHexColor")),O=Te(e("./lib/isRgbColor")),L=Te(e("./lib/isHSL")),P=Te(e("./lib/isISRC")),Z=ze(e("./lib/isIBAN")),z=Te(e("./lib/isBIC")),T=Te(e("./lib/isMD5")),X=Te(e("./lib/isHash")),V=Te(e("./lib/isJWT")),j=Te(e("./lib/isJSON")),W=Te(e("./lib/isEmpty")),$=Te(e("./lib/isLength")),ee=Te(e("./lib/isByteLength")),te=Te(e("./lib/isUUID")),ie=Te(e("./lib/isMongoId")),Ae=Te(e("./lib/isAfter")),re=Te(e("./lib/isBefore")),ne=Te(e("./lib/isIn")),oe=Te(e("./lib/isLuhnNumber")),ae=Te(e("./lib/isCreditCard")),se=Te(e("./lib/isIdentityCard")),ce=Te(e("./lib/isEAN")),Ie=Te(e("./lib/isISIN")),fe=Te(e("./lib/isISBN")),he=Te(e("./lib/isISSN")),ue=Te(e("./lib/isTaxID")),ge=ze(e("./lib/isMobilePhone")),de=Te(e("./lib/isEthereumAddress")),le=Te(e("./lib/isCurrency")),Be=Te(e("./lib/isBtcAddress")),pe=Te(e("./lib/isISO6391")),Ce=Te(e("./lib/isISO8601")),Qe=Te(e("./lib/isRFC3339")),Ee=Te(e("./lib/isISO31661Alpha2")),ye=Te(e("./lib/isISO31661Alpha3")),be=Te(e("./lib/isISO4217")),me=Te(e("./lib/isBase32")),we=Te(e("./lib/isBase58")),ve=Te(e("./lib/isBase64")),De=Te(e("./lib/isDataURI")),Se=Te(e("./lib/isMagnetURI")),Fe=Te(e("./lib/isMimeType")),ke=Te(e("./lib/isLatLong")),Me=ze(e("./lib/isPostalCode")),Ne=Te(e("./lib/ltrim")),Ue=Te(e("./lib/rtrim")),Ge=Te(e("./lib/trim")),He=Te(e("./lib/escape")),_e=Te(e("./lib/unescape")),Re=Te(e("./lib/stripLow")),Ke=Te(e("./lib/whitelist")),qe=Te(e("./lib/blacklist")),xe=Te(e("./lib/isWhitelisted")),Je=Te(e("./lib/normalizeEmail")),Ye=Te(e("./lib/isSlug")),Oe=Te(e("./lib/isLicensePlate")),Le=Te(e("./lib/isStrongPassword")),Pe=Te(e("./lib/isVAT"));function Ze(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Ze=function(){return e},e}function ze(e){if(e&&e.__esModule)return e;if(null===e||"object"!==A(e)&&"function"!=typeof e)return{default:e};var t=Ze();if(t&&t.has(e))return t.get(e);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=r?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}return i.default=e,t&&t.set(e,i),i}function Te(e){return e&&e.__esModule?e:{default:e}}var Xe={version:"13.9.0",toDate:r.default,toFloat:n.default,toInt:o.default,toBoolean:a.default,equals:s.default,contains:c.default,matches:I.default,isEmail:f.default,isURL:h.default,isMACAddress:u.default,isIP:g.default,isIPRange:d.default,isFQDN:l.default,isBoolean:C.default,isIBAN:Z.default,isBIC:z.default,isAlpha:E.default,isAlphaLocales:E.locales,isAlphanumeric:y.default,isAlphanumericLocales:y.locales,isNumeric:b.default,isPassportNumber:m.default,isPort:w.default,isLowercase:v.default,isUppercase:D.default,isAscii:F.default,isFullWidth:k.default,isHalfWidth:M.default,isVariableWidth:N.default,isMultibyte:U.default,isSemVer:G.default,isSurrogatePair:H.default,isInt:_.default,isIMEI:S.default,isFloat:R.default,isFloatLocales:R.locales,isDecimal:K.default,isHexadecimal:q.default,isOctal:x.default,isDivisibleBy:J.default,isHexColor:Y.default,isRgbColor:O.default,isHSL:L.default,isISRC:P.default,isMD5:T.default,isHash:X.default,isJWT:V.default,isJSON:j.default,isEmpty:W.default,isLength:$.default,isLocale:Q.default,isByteLength:ee.default,isUUID:te.default,isMongoId:ie.default,isAfter:Ae.default,isBefore:re.default,isIn:ne.default,isLuhnNumber:oe.default,isCreditCard:ae.default,isIdentityCard:se.default,isEAN:ce.default,isISIN:Ie.default,isISBN:fe.default,isISSN:he.default,isMobilePhone:ge.default,isMobilePhoneLocales:ge.locales,isPostalCode:Me.default,isPostalCodeLocales:Me.locales,isEthereumAddress:de.default,isCurrency:le.default,isBtcAddress:Be.default,isISO6391:pe.default,isISO8601:Ce.default,isRFC3339:Qe.default,isISO31661Alpha2:Ee.default,isISO31661Alpha3:ye.default,isISO4217:be.default,isBase32:me.default,isBase58:we.default,isBase64:ve.default,isDataURI:De.default,isMagnetURI:Se.default,isMimeType:Fe.default,isLatLong:ke.default,ltrim:Ne.default,rtrim:Ue.default,trim:Ge.default,escape:He.default,unescape:_e.default,stripLow:Re.default,whitelist:Ke.default,blacklist:qe.default,isWhitelisted:xe.default,normalizeEmail:Je.default,toString:toString,isSlug:Ye.default,isStrongPassword:Le.default,isTaxID:ue.default,isDate:B.default,isTime:p.default,isLicensePlate:Oe.default,isVAT:Pe.default,ibanLocales:Z.locales};i.default=Xe,t.exports=i.default,t.exports.default=i.default},{"./lib/blacklist":225,"./lib/contains":226,"./lib/equals":227,"./lib/escape":228,"./lib/isAfter":229,"./lib/isAlpha":230,"./lib/isAlphanumeric":231,"./lib/isAscii":232,"./lib/isBIC":233,"./lib/isBase32":234,"./lib/isBase58":235,"./lib/isBase64":236,"./lib/isBefore":237,"./lib/isBoolean":238,"./lib/isBtcAddress":239,"./lib/isByteLength":240,"./lib/isCreditCard":241,"./lib/isCurrency":242,"./lib/isDataURI":243,"./lib/isDate":244,"./lib/isDecimal":245,"./lib/isDivisibleBy":246,"./lib/isEAN":247,"./lib/isEmail":248,"./lib/isEmpty":249,"./lib/isEthereumAddress":250,"./lib/isFQDN":251,"./lib/isFloat":252,"./lib/isFullWidth":253,"./lib/isHSL":254,"./lib/isHalfWidth":255,"./lib/isHash":256,"./lib/isHexColor":257,"./lib/isHexadecimal":258,"./lib/isIBAN":259,"./lib/isIMEI":260,"./lib/isIP":261,"./lib/isIPRange":262,"./lib/isISBN":263,"./lib/isISIN":264,"./lib/isISO31661Alpha2":265,"./lib/isISO31661Alpha3":266,"./lib/isISO4217":267,"./lib/isISO6391":268,"./lib/isISO8601":269,"./lib/isISRC":270,"./lib/isISSN":271,"./lib/isIdentityCard":272,"./lib/isIn":273,"./lib/isInt":274,"./lib/isJSON":275,"./lib/isJWT":276,"./lib/isLatLong":277,"./lib/isLength":278,"./lib/isLicensePlate":279,"./lib/isLocale":280,"./lib/isLowercase":281,"./lib/isLuhnNumber":282,"./lib/isMACAddress":283,"./lib/isMD5":284,"./lib/isMagnetURI":285,"./lib/isMimeType":286,"./lib/isMobilePhone":287,"./lib/isMongoId":288,"./lib/isMultibyte":289,"./lib/isNumeric":290,"./lib/isOctal":291,"./lib/isPassportNumber":292,"./lib/isPort":293,"./lib/isPostalCode":294,"./lib/isRFC3339":295,"./lib/isRgbColor":296,"./lib/isSemVer":297,"./lib/isSlug":298,"./lib/isStrongPassword":299,"./lib/isSurrogatePair":300,"./lib/isTaxID":301,"./lib/isTime":302,"./lib/isURL":303,"./lib/isUUID":304,"./lib/isUppercase":305,"./lib/isVAT":306,"./lib/isVariableWidth":307,"./lib/isWhitelisted":308,"./lib/ltrim":309,"./lib/matches":310,"./lib/normalizeEmail":311,"./lib/rtrim":312,"./lib/stripLow":313,"./lib/toBoolean":314,"./lib/toDate":315,"./lib/toFloat":316,"./lib/toInt":317,"./lib/trim":318,"./lib/unescape":319,"./lib/whitelist":326}],224:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.commaDecimal=i.dotDecimal=i.bengaliLocales=i.farsiLocales=i.arabicLocales=i.englishLocales=i.decimal=i.alphanumeric=i.alpha=void 0;var A={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fi-FI":/^[A-ZÅÄÖ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[ぁ-んァ-ヶヲ-゚一-龠ー・。、]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ko-KR":/^[ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,"hi-IN":/^[\u0900-\u0961]+[\u0972-\u097F]*$/i,"si-LK":/^[\u0D80-\u0DFF]+$/};i.alpha=A;var r={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fi-FI":/^[0-9A-ZÅÄÖ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[0-90-9ぁ-んァ-ヶヲ-゚一-龠ー・。、]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ko-KR":/^[0-9ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣ০১২৩৪৫৬৭৮৯ৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i,"si-LK":/^[0-9\u0D80-\u0DFF]+$/};i.alphanumeric=r;var n={"en-US":".",ar:"٫"};i.decimal=n;var o=["AU","GB","HK","IN","NZ","ZA","ZM"];i.englishLocales=o;for(var a,s=0;si.minOccurrences;return e.split((0,r.default)(t)).length>i.minOccurrences};var A=o(e("./util/assertString")),r=o(e("./util/toString")),n=o(e("./util/merge"));function o(e){return e&&e.__esModule?e:{default:e}}var a={ignoreCase:!1,minOccurrences:1};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321,"./util/merge":323,"./util/toString":325}],227:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){return(0,r.default)(e),e===t};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],228:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],229:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){var i=(null==t?void 0:t.comparisonDate)||t||Date().toString(),A=(0,r.default)(i),n=(0,r.default)(e);return!!(n&&A&&n>A)};var A,r=(A=e("./toDate"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./toDate":315}],230:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,r.default)(e);var A=e,o=i.ignore;if(o)if(o instanceof RegExp)A=A.replace(o,"");else{if("string"!=typeof o)throw new Error("ignore should be instance of a String or RegExp");A=A.replace(new RegExp("[".concat(o.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in n.alpha)return n.alpha[t].test(A);throw new Error("Invalid locale '".concat(t,"'"))},i.locales=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A},n=e("./alpha");var o=Object.keys(n.alpha);i.locales=o},{"./alpha":224,"./util/assertString":321}],231:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,r.default)(e);var A=e,o=i.ignore;if(o)if(o instanceof RegExp)A=A.replace(o,"");else{if("string"!=typeof o)throw new Error("ignore should be instance of a String or RegExp");A=A.replace(new RegExp("[".concat(o.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in n.alphanumeric)return n.alphanumeric[t].test(A);throw new Error("Invalid locale '".concat(t,"'"))},i.locales=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A},n=e("./alpha");var o=Object.keys(n.alphanumeric);i.locales=o},{"./alpha":224,"./util/assertString":321}],232:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[\x00-\x7F]+$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],233:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){(0,r.default)(e);var t=e.slice(4,6).toUpperCase();if(!n.CountryCodes.has(t)&&"XK"!==t)return!1;return o.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A},n=e("./isISO31661Alpha2");var o=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;t.exports=i.default,t.exports.default=i.default},{"./isISO31661Alpha2":265,"./util/assertString":321}],234:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,A.default)(e),(t=(0,r.default)(t,s)).crockford)return a.test(e);if(e.length%8==0&&o.test(e))return!0;return!1};var A=n(e("./util/assertString")),r=n(e("./util/merge"));function n(e){return e&&e.__esModule?e:{default:e}}var o=/^[A-Z2-7]+=*$/,a=/^[A-HJKMNP-TV-Z0-9]+$/,s={crockford:!1};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321,"./util/merge":323}],235:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){if((0,r.default)(e),n.test(e))return!0;return!1};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[A-HJ-NP-Za-km-z1-9]*$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],236:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,A.default)(e),t=(0,r.default)(t,s);var i=e.length;if(t.urlSafe)return a.test(e);if(i%4!=0||o.test(e))return!1;var n=e.indexOf("=");return-1===n||n===i-1||n===i-2&&"="===e[i-1]};var A=n(e("./util/assertString")),r=n(e("./util/merge"));function n(e){return e&&e.__esModule?e:{default:e}}var o=/[^A-Z0-9+\/=]/i,a=/^[A-Z0-9_\-]*$/i,s={urlSafe:!1};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321,"./util/merge":323}],237:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,A.default)(e);var i=(0,r.default)(t),n=(0,r.default)(e);return!!(n&&i&&n1&&void 0!==arguments[1]?arguments[1]:n;if((0,r.default)(e),t.loose)return a.includes(e.toLowerCase());return o.includes(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n={loose:!1},o=["true","false","1","0"],a=[].concat(o,["yes","no"]);t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],239:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)||o.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^(bc1)[a-z0-9]{25,39}$/,o=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],240:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){var i,A;(0,r.default)(e),"object"===n(t)?(i=t.min||0,A=t.max):(i=arguments[1],A=arguments[2]);var o=encodeURI(e).split(/%..|./).length-1;return o>=i&&(void 0===A||o<=A)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],241:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,A.default)(e);var i=t.provider,n=e.replace(/[- ]+/g,"");if(i&&i.toLowerCase()in o){if(!o[i.toLowerCase()].test(n))return!1}else{if(i&&!(i.toLowerCase()in o))throw new Error("".concat(i," is not a valid credit card provider."));if(!a.test(n))return!1}return(0,r.default)(e)};var A=n(e("./util/assertString")),r=n(e("./isLuhnNumber"));function n(e){return e&&e.__esModule?e:{default:e}}var o={amex:/^3[47][0-9]{13}$/,dinersclub:/^3(?:0[0-5]|[68][0-9])[0-9]{11}$/,discover:/^6(?:011|5[0-9][0-9])[0-9]{12,15}$/,jcb:/^(?:2131|1800|35\d{3})\d{11}$/,mastercard:/^5[1-5][0-9]{2}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$/,unionpay:/^(6[27][0-9]{14}|^(81[0-9]{14,17}))$/,visa:/^(?:4[0-9]{12})(?:[0-9]{3,6})?$/},a=/^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14}|^(81[0-9]{14,17}))$/;t.exports=i.default,t.exports.default=i.default},{"./isLuhnNumber":282,"./util/assertString":321}],242:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){return(0,r.default)(e),function(e){var t="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach((function(e,i){0!==i&&(t="".concat(t,"|\\d{").concat(e,"}"))}));var i="(".concat(e.symbol.replace(/\W/,(function(e){return"\\".concat(e)})),")").concat(e.require_symbol?"":"?"),A="-?",r="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),n="(".concat(["0","[1-9]\\d*",r].join("|"),")?"),o="(\\".concat(e.decimal_separator,"(").concat(t,"))").concat(e.require_decimal?"":"?"),a=n+(e.allow_decimal||e.require_decimal?o:"");e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?a+=A:e.negative_sign_before_digits&&(a=A+a));e.allow_negative_sign_placeholder?a="( (?!\\-))?".concat(a):e.allow_space_after_symbol?a=" ?".concat(a):e.allow_space_after_digits&&(a+="( (?!$))?");e.symbol_after_digits?a+=i:a=i+a;e.allow_negatives&&(e.parens_for_negatives?a="(\\(".concat(a,"\\)|").concat(a,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(a=A+a));return new RegExp("^(?!-? )(?=.*\\d)".concat(a,"$"))}(t=(0,A.default)(t,o)).test(e)};var A=n(e("./util/merge")),r=n(e("./util/assertString"));function n(e){return e&&e.__esModule?e:{default:e}}var o={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321,"./util/merge":323}],243:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){(0,r.default)(e);var t=e.split(",");if(t.length<2)return!1;var i=t.shift().trim().split(";"),A=i.shift();if("data:"!==A.slice(0,5))return!1;var s=A.slice(5);if(""!==s&&!n.test(s))return!1;for(var c=0;c=e.length?{done:!0}:{done:!1,value:e[A++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}(s);try{for(I.s();!(i=I.n()).done;){var f=(g=i.value,d=2,function(e){if(Array.isArray(e))return e}(g)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var i=[],A=!0,r=!1,n=void 0;try{for(var o,a=e[Symbol.iterator]();!(A=(o=a.next()).done)&&(i.push(o.value),!t||i.length!==t);A=!0);}catch(e){r=!0,n=e}finally{try{A||null==a.return||a.return()}finally{if(r)throw n}}return i}(g,d)||n(g,d)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=f[0],u=f[1];if(h.length!==u.length)return!1;c[u.charAt(0)]=h}}catch(e){I.e(e)}finally{I.f()}return new Date("".concat(c.m,"/").concat(c.d,"/").concat(c.y)).getDate()===+c.d}var g,d;var l;if(!t.strictMode)return"[object Date]"===Object.prototype.toString.call(e)&&isFinite(e);return!1};var A,r=(A=e("./util/merge"))&&A.__esModule?A:{default:A};function n(e,t){if(e){if("string"==typeof e)return o(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,A=new Array(t);i$)/g,""),s.endsWith(" ")&&(s=s.slice(0,-1)),!function(e){var t=e.replace(/^"(.+)"$/,"$1");if(!t.trim())return!1;if(/[\.";<>]/.test(t)){if(t===e)return!1;if(!(t.split('"').length===t.split('\\"').length))return!1}return!0}(s))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>l)return!1;var B=e.split("@"),p=B.pop(),C=p.toLowerCase();if(t.host_blacklist.includes(C))return!1;if(t.host_whitelist.length>0&&!t.host_whitelist.includes(C))return!1;var Q=B.join("@");if(t.domain_specific_validation&&("gmail.com"===C||"googlemail.com"===C)){var E=(Q=Q.toLowerCase()).split("+")[0];if(!(0,n.default)(E.replace(/\./g,""),{min:6,max:30}))return!1;for(var y=E.split("."),b=0;b63&&!t.ignore_max_length)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))};var A=n(e("./util/assertString")),r=n(e("./util/merge"));function n(e){return e&&e.__esModule?e:{default:e}}var o={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321,"./util/merge":323}],252:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,r.default)(e),t=t||{};var i=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?n.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||","===e||"-"===e||"+"===e)return!1;var A=parseFloat(e.replace(",","."));return i.test(e)&&(!t.hasOwnProperty("min")||A>=t.min)&&(!t.hasOwnProperty("max")||A<=t.max)&&(!t.hasOwnProperty("lt")||At.gt)},i.locales=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A},n=e("./alpha");var o=Object.keys(n.decimal);i.locales=o},{"./alpha":224,"./util/assertString":321}],253:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)},i.fullWidth=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;i.fullWidth=n},{"./util/assertString":321}],254:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){(0,r.default)(e);var t=e.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/gi,"$1");if(-1!==t.indexOf(","))return n.test(t);return o.test(t)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i,o=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],255:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)},i.halfWidth=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;i.halfWidth=n},{"./util/assertString":321}],256:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){return(0,r.default)(e),new RegExp("^[a-fA-F0-9]{".concat(n[t],"}$")).test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],257:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],258:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^(0x|0h)?[0-9A-F]+$/i;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],259:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),function(e){var t=e.replace(/[\s\-]+/gi,"").toUpperCase(),i=t.slice(0,2).toUpperCase();return i in n&&n[i].test(t)}(e)&&function(e){var t=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase();return 1===(t.slice(4)+t.slice(0,4)).replace(/[A-Z]/g,(function(e){return e.charCodeAt(0)-55})).match(/\d{1,7}/g).reduce((function(e,t){return Number(e+t)%97}),"")}(e)},i.locales=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/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}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};var o=Object.keys(n);i.locales=o},{"./util/assertString":321}],260:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,r.default)(e);var i=n;(t=t||{}).allow_hyphens&&(i=o);if(!i.test(e))return!1;e=e.replace(/-/g,"");for(var A=0,a=2,s=0;s<14;s++){var c=e.substring(14-s-1,14-s),I=parseInt(c,10)*a;A+=I>=10?I%10+1:I,1===a?a+=1:a-=1}if((10-A%10)%10!==parseInt(e.substring(14,15),10))return!1;return!0};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[0-9]{15}$/,o=/^\d{2}-\d{6}-\d{6}-\d{1}$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],261:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,r.default)(t),!(i=String(i)))return e(t,4)||e(t,6);if("4"===i)return a.test(t);if("6"===i)return c.test(t);return!1};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",o="(".concat(n,"[.]){3}").concat(n),a=new RegExp("^".concat(o,"$")),s="(?:[0-9a-fA-F]{1,4})",c=new RegExp("^("+"(?:".concat(s,":){7}(?:").concat(s,"|:)|")+"(?:".concat(s,":){6}(?:").concat(o,"|:").concat(s,"|:)|")+"(?:".concat(s,":){5}(?::").concat(o,"|(:").concat(s,"){1,2}|:)|")+"(?:".concat(s,":){4}(?:(:").concat(s,"){0,1}:").concat(o,"|(:").concat(s,"){1,3}|:)|")+"(?:".concat(s,":){3}(?:(:").concat(s,"){0,2}:").concat(o,"|(:").concat(s,"){1,4}|:)|")+"(?:".concat(s,":){2}(?:(:").concat(s,"){0,3}:").concat(o,"|(:").concat(s,"){1,5}|:)|")+"(?:".concat(s,":){1}(?:(:").concat(s,"){0,4}:").concat(o,"|(:").concat(s,"){1,6}|:)|")+"(?::((?::".concat(s,"){0,5}:").concat(o,"|(?::").concat(s,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],262:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,A.default)(e);var i=e.split("/");if(2!==i.length)return!1;if(!o.test(i[1]))return!1;if(i[1].length>1&&i[1].startsWith("0"))return!1;if(!(0,r.default)(i[0],t))return!1;var n=null;switch(String(t)){case"4":n=a;break;case"6":n=s;break;default:n=(0,r.default)(i[0],"6")?s:a}return i[1]<=n&&i[1]>=0};var A=n(e("./util/assertString")),r=n(e("./isIP"));function n(e){return e&&e.__esModule?e:{default:e}}var o=/^\d{1,3}$/,a=32,s=128;t.exports=i.default,t.exports.default=i.default},{"./isIP":261,"./util/assertString":321}],263:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function e(t,i){(0,r.default)(t);var A=String((null==i?void 0:i.version)||i);if(!(null!=i&&i.version||i))return e(t,{version:10})||e(t,{version:13});var s=t.replace(/[\s-]+/g,""),c=0;if("10"===A){if(!n.test(s))return!1;for(var I=0;I=0;A--)if(e[A]>="A"&&e[A]<="Z")for(var o=e[A].charCodeAt(0)-55,a=0,s=[o%10,Math.trunc(o/10)];a=5?1+2*(c-5):2*c:c,t=!t}else{var I=e[A].charCodeAt(0)-"0".charCodeAt(0);i+=t?I>=5?1+2*(I-5):2*I:I,t=!t}var f=10*Math.trunc((i+9)/10)-i;return+e[e.length-1]===f};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],265:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.has(e.toUpperCase())},i.CountryCodes=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=new Set(["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]);var o=n;i.CountryCodes=o},{"./util/assertString":321}],266:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.has(e.toUpperCase())};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=new Set(["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"]);t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],267:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.has(e.toUpperCase())},i.CurrencyCodes=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=new Set(["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]);var o=n;i.CurrencyCodes=o},{"./util/assertString":321}],268:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.has(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=new Set(["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]);t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],269:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.default)(e);var i=t.strictSeparator?o.test(e):n.test(e);return i&&t.strict?a(e):i};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,o=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,a=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var i=Number(t[1]),A=Number(t[2]);return i%4==0&&i%100!=0||i%400==0?A<=366:A<=365}var r=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),n=r[1],o=r[2],a=r[3],s=o?"0".concat(o).slice(-2):o,c=a?"0".concat(a).slice(-2):a,I=new Date("".concat(n,"-").concat(s||"01","-").concat(c||"01"));return!o||!a||I.getUTCFullYear()===n&&I.getUTCMonth()+1===o&&I.getUTCDate()===a};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],270:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],271:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.default)(e);var i=n;if(i=t.require_hyphen?i.replace("?",""):i,!(i=t.case_sensitive?new RegExp(i):new RegExp(i,"i")).test(e))return!1;for(var A=e.replace("-","").toUpperCase(),o=0,a=0;a=2&&t===11-i},IT:function(e){return 9===e.length&&("CA00000AA"!==e&&e.search(/C[A-Z][0-9]{5}[A-Z]{2}/i)>-1)},NO:function(e){var t=e.trim();if(isNaN(Number(t)))return!1;if(11!==t.length)return!1;if("00000000000"===t)return!1;var i=t.split("").map(Number),A=(11-(3*i[0]+7*i[1]+6*i[2]+1*i[3]+8*i[4]+9*i[5]+4*i[6]+5*i[7]+2*i[8])%11)%11,r=(11-(5*i[0]+4*i[1]+3*i[2]+2*i[3]+7*i[4]+6*i[5]+5*i[6]+4*i[7]+3*i[8]+2*A)%11)%11;return A===i[9]&&r===i[10]},TH:function(e){if(!e.match(/^[1-8]\d{12}$/))return!1;for(var t=0,i=0;i<12;i++)t+=parseInt(e[i],10)*(13-i);return e[12]===((11-t%11)%10).toString()},LK:function(e){return!(10!==e.length||!/^[1-9]\d{8}[vx]$/i.test(e))||!(12!==e.length||!/^[1-9]\d{11}$/i.test(e))},"he-IL":function(e){var t=e.trim();if(!/^\d{9}$/.test(t))return!1;for(var i,A=t,r=0,n=0;n9?i-9:i;return r%10==0},"ar-LY":function(e){var t=e.trim();return!!/^(1|2)\d{11}$/.test(t)},"ar-TN":function(e){var t=e.trim();return!!/^\d{8}$/.test(t)},"zh-CN":function(e){var t,i=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],A=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],r=["1","0","X","9","8","7","6","5","4","3","2"],n=function(e){return i.includes(e)},o=function(e){var t=parseInt(e.substring(0,4),10),i=parseInt(e.substring(4,6),10),A=parseInt(e.substring(6),10),r=new Date(t,i-1,A);return!(r>new Date)&&(r.getFullYear()===t&&r.getMonth()===i-1&&r.getDate()===A)},a=function(e){return function(e){for(var t=e.substring(0,17),i=0,n=0;n<17;n++)i+=parseInt(t.charAt(n),10)*parseInt(A[n],10);return r[i%11]}(e)===e.charAt(17).toUpperCase()};return!!/^\d{15}|(\d{17}(\d|x|X))$/.test(t=e)&&(15===t.length?function(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return!1;var i=e.substring(0,2);if(!(t=n(i)))return!1;var A="19".concat(e.substring(6,12));return!!(t=o(A))}(t):function(e){var t=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e);if(!t)return!1;var i=e.substring(0,2);if(!(t=n(i)))return!1;var A=e.substring(6,14);return!!(t=o(A))&&a(e)}(t))},"zh-HK":function(e){var t=/^[0-9]$/;if(e=(e=e.trim()).toUpperCase(),!/^[A-Z]{1,2}[0-9]{6}((\([0-9A]\))|(\[[0-9A]\])|([0-9A]))$/.test(e))return!1;8===(e=e.replace(/\[|\]|\(|\)/g,"")).length&&(e="3".concat(e));for(var i=0,A=0;A<=7;A++){i+=(t.test(e[A])?e[A]:(e[A].charCodeAt(0)-55)%11)*(9-A)}return(0===(i%=11)?"0":1===i?"A":String(11-i))===e[e.length-1]},"zh-TW":function(e){var t={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},i=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(i)&&Array.from(i).reduce((function(e,i,A){if(0===A){var r=t[i];return r%10*9+Math.floor(r/10)}return 9===A?(10-e%10-Number(i))%10==0:e+Number(i)*(9-A)}),0)}};t.exports=i.default,t.exports.default=i.default},{"./isInt":274,"./util/assertString":321}],273:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){var i;if((0,A.default)(e),"[object Array]"===Object.prototype.toString.call(t)){var n=[];for(i in t)({}).hasOwnProperty.call(t,i)&&(n[i]=(0,r.default)(t[i]));return n.indexOf(e)>=0}if("object"===o(t))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return t.indexOf(e)>=0;return!1};var A=n(e("./util/assertString")),r=n(e("./util/toString"));function n(e){return e&&e.__esModule?e:{default:e}}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321,"./util/toString":325}],274:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,r.default)(e);var i=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?n:o,A=!t.hasOwnProperty("min")||e>=t.min,a=!t.hasOwnProperty("max")||e<=t.max,s=!t.hasOwnProperty("lt")||et.gt;return i.test(e)&&A&&a&&s&&c};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,o=/^[-+]?[0-9]+$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],275:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,A.default)(e);try{t=(0,r.default)(t,a);var i=[];t.allow_primitives&&(i=[null,!1,!0]);var n=JSON.parse(e);return i.includes(n)||!!n&&"object"===o(n)}catch(e){}return!1};var A=n(e("./util/assertString")),r=n(e("./util/merge"));function n(e){return e&&e.__esModule?e:{default:e}}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var a={allow_primitives:!1};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321,"./util/merge":323}],276:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){(0,A.default)(e);var t=e.split("."),i=t.length;if(i>3||i<2)return!1;return t.reduce((function(e,t){return e&&(0,r.default)(t,{urlSafe:!0})}),!0)};var A=n(e("./util/assertString")),r=n(e("./isBase64"));function n(e){return e&&e.__esModule?e:{default:e}}t.exports=i.default,t.exports.default=i.default},{"./isBase64":236,"./util/assertString":321}],277:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,A.default)(e),t=(0,r.default)(t,I),!e.includes(","))return!1;var i=e.split(",");if(i[0].startsWith("(")&&!i[1].endsWith(")")||i[1].endsWith(")")&&!i[0].startsWith("("))return!1;if(t.checkDMS)return s.test(i[0])&&c.test(i[1]);return o.test(i[0])&&a.test(i[1])};var A=n(e("./util/assertString")),r=n(e("./util/merge"));function n(e){return e&&e.__esModule?e:{default:e}}var o=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,a=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,s=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,c=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,I={checkDMS:!1};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321,"./util/merge":323}],278:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){var i,A;(0,r.default)(e),"object"===n(t)?(i=t.min||0,A=t.max):(i=arguments[1]||0,A=arguments[2]);var o=e.match(/(\uFE0F|\uFE0E)/g)||[],a=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],s=e.length-o.length-a.length;return s>=i&&(void 0===A||s<=A)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],279:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,r.default)(e),t in n)return n[t](e);if("any"===t){for(var i in n){if((0,n[i])(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n={"cs-CZ":function(e){return/^(([ABCDEFHIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(e)},"de-DE":function(e){return/^((A|AA|AB|AC|AE|AH|AK|AM|AN|AÖ|AP|AS|AT|AU|AW|AZ|B|BA|BB|BC|BE|BF|BH|BI|BK|BL|BM|BN|BO|BÖ|BS|BT|BZ|C|CA|CB|CE|CO|CR|CW|D|DA|DD|DE|DH|DI|DL|DM|DN|DO|DU|DW|DZ|E|EA|EB|ED|EE|EF|EG|EH|EI|EL|EM|EN|ER|ES|EU|EW|F|FB|FD|FF|FG|FI|FL|FN|FO|FR|FS|FT|FÜ|FW|FZ|G|GA|GC|GD|GE|GF|GG|GI|GK|GL|GM|GN|GÖ|GP|GR|GS|GT|GÜ|GV|GW|GZ|H|HA|HB|HC|HD|HE|HF|HG|HH|HI|HK|HL|HM|HN|HO|HP|HR|HS|HU|HV|HX|HY|HZ|IK|IL|IN|IZ|J|JE|JL|K|KA|KB|KC|KE|KF|KG|KH|KI|KK|KL|KM|KN|KO|KR|KS|KT|KU|KW|KY|L|LA|LB|LC|LD|LF|LG|LH|LI|LL|LM|LN|LÖ|LP|LR|LU|M|MA|MB|MC|MD|ME|MG|MH|MI|MK|ML|MM|MN|MO|MQ|MR|MS|MÜ|MW|MY|MZ|N|NB|ND|NE|NF|NH|NI|NK|NM|NÖ|NP|NR|NT|NU|NW|NY|NZ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(?:[ -]?[A-Z])(?:[ -]?[A-Z]*)?[ -]?[0-9]{4}$/.test(e)},"es-AR":function(e){return/^(([A-Z]{2} ?[0-9]{3} ?[A-Z]{2})|([A-Z]{3} ?[0-9]{3}))$/.test(e)},"fi-FI":function(e){return/^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(e)},"hu-HU":function(e){return/^((((?!AAA)(([A-NPRSTVZWXY]{1})([A-PR-Z]{1})([A-HJ-NPR-Z]))|(A[ABC]I)|A[ABC]O|A[A-W]Q|BPI|BPO|UCO|UDO|XAO)-(?!000)\d{3})|(M\d{6})|((CK|DT|CD|HC|H[ABEFIKLMNPRSTVX]|MA|OT|R[A-Z]) \d{2}-\d{2})|(CD \d{3}-\d{3})|(C-(C|X) \d{4})|(X-(A|B|C) \d{4})|(([EPVZ]-\d{5}))|(S A[A-Z]{2} \d{2})|(SP \d{2}-\d{2}))$/.test(e)},"pt-BR":function(e){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(e)},"pt-PT":function(e){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(e)},"sq-AL":function(e){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(e)},"sv-SE":function(e){return/^[A-HJ-PR-UW-Z]{3} ?[\d]{2}[A-HJ-PR-UW-Z1-9]$|(^[A-ZÅÄÖ ]{2,7}$)/.test(e.trim())}};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],280:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){if((0,r.default)(e),"en_US_POSIX"===e||"ca_ES_VALENCIA"===e)return!0;return n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[A-Za-z]{2,4}([_-]([A-Za-z]{4}|[\d]{3}))?([_-]([A-Za-z]{2}|[\d]{3}))?$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],281:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),e===e.toLowerCase()};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],282:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){(0,r.default)(e);for(var t,i,A,n=e.replace(/[- ]+/g,""),o=0,a=n.length-1;a>=0;a--)t=n.substring(a,a+1),i=parseInt(t,10),o+=A&&(i*=2)>=10?i%10+1:i,A=!A;return!(o%10!=0||!n)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],283:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function e(t,i){(0,r.default)(t),null!=i&&i.eui&&(i.eui=String(i.eui));if(null!=i&&i.no_colons||null!=i&&i.no_separators)return"48"===i.eui?o.test(t):"64"===i.eui?c.test(t):o.test(t)||c.test(t);if("48"===(null==i?void 0:i.eui))return n.test(t)||a.test(t);if("64"===(null==i?void 0:i.eui))return s.test(t)||I.test(t);return e(t,{eui:"48"})||e(t,{eui:"64"})};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,o=/^([0-9a-fA-F]){12}$/,a=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/,s=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){6}([0-9a-fA-F]{2})$/,c=/^([0-9a-fA-F]){16}$/,I=/^([0-9a-fA-F]{4}\.){3}([0-9a-fA-F]{4})$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],284:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[a-f0-9]{32}$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],285:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){if((0,r.default)(e),0!==e.indexOf("magnet:?"))return!1;return n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/(?:^magnet:\?|[^?&]&)xt(?:\.1)?=urn:(?:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?|btmh:1220[a-z0-9]{64})(?:$|&)/i;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],286:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)||o.test(e)||a.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+_]{1,100}$/i,o=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,a=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],287:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t,i){if((0,r.default)(e),i&&i.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some((function(t){if(n.hasOwnProperty(t)&&n[t].test(e))return!0;return!1}));if(t in n)return n[t].test(e);if(!t||"any"===t){for(var A in n){if(n.hasOwnProperty(A))if(n[A].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},i.locales=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)([569]\d{7}|41\d{6})$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(10|5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)1)(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|9[1-9])\d{5}$/,"el-GR":/^(\+?30|0)?6(8[5-9]|9(?![26])[0-9])\d{7}$/,"el-CY":/^(\+?357?)?(9(9|6)\d{6})$/,"en-AI":/^(\+?1|0)264(?:2(35|92)|4(?:6[1-2]|76|97)|5(?:3[6-9]|8[1-4])|7(?:2(4|9)|72))\d{4}$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-AG":/^(?:\+1|1)268(?:464|7(?:1[3-9]|[28]\d|3[0246]|64|7[0-689]))\d{4}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}$))/,"en-BS":/^(\+?1[-\s]?|0)?\(?242\)?[-\s]?\d{3}[-\s]?\d{4}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-JM":/^(\+?876)?\d{7}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-SS":/^(\+?211|0)(9[1257])\d{7}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-KN":/^(?:\+1|1)869(?:46\d|48[89]|55[6-8]|66\d|76[02-7])\d{4}$/,"en-LS":/^(\+?266)(22|28|57|58|59|27|52)\d{6}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PG":/^(\+?675|0)?(7\d|8[18])\d{6}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8|3|2]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-NI":/^(\+?505)\d{7,8}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4[0-6]|50)\s?(\d\s?){4,8}$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-BJ":/^(\+229)\d{8}$/,"fr-CD":/^(\+?243|0)?(8|9)\d{8}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"ir-IR":/^(\+98|0)?9\d{9}$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(79\d{7}|5\d{8})$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"ky-KG":/^(\+?7\s?\+?7|0)\s?\d{2}\s?\d{3}\s?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"mg-MG":/^((\+?261|0)(2|3)\d)?\d{7}$/,"mn-MN":/^(\+|00|011)?976(77|81|88|91|94|95|96|99)\d{6}$/,"my-MM":/^(\+?959|09|9)(2[5-7]|3[1-2]|4[0-5]|6[6-9]|7[5-9]|9[6-9])[0-9]{7}$/,"ms-MY":/^(\+?60|0)1(([0145](-|\s)?\d{7,8})|([236-9](-|\s)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nl-AW":/^(\+)?297(56|59|64|73|74|99)\d{5}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[1-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-MD":/^(\+?373|0)((6(0|1|2|6|7|8|9))|(7(6|7|8|9)))\d{6}$/,"ro-RO":/^(\+?40|0)\s?7\d{2}(\/|\s|\.|-)?\d{3}(\s|\.|-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"tg-TJ":/^(\+?992)?[5][5]\d{7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"tk-TM":/^(\+993|993|8)\d{8}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/,"ar-YE":/^(((\+|00)9677|0?7)[0137]\d{7}|((\+|00)967|0)[1-7]\d{6})$/,"ar-EH":/^(\+?212|0)[\s\-]?(5288|5289)[\s\-]?\d{5}$/,"fa-AF":/^(\+93|0)?(2{1}[0-8]{1}|[3-5]{1}[0-4]{1})(\d{7})$/};n["en-CA"]=n["en-US"],n["fr-CA"]=n["en-CA"],n["fr-BE"]=n["nl-BE"],n["zh-HK"]=n["en-HK"],n["zh-MO"]=n["en-MO"],n["ga-IE"]=n["en-IE"],n["fr-CH"]=n["de-CH"],n["it-CH"]=n["fr-CH"];var o=Object.keys(n);i.locales=o},{"./util/assertString":321}],288:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,A.default)(e),(0,r.default)(e)&&24===e.length};var A=n(e("./util/assertString")),r=n(e("./isHexadecimal"));function n(e){return e&&e.__esModule?e:{default:e}}t.exports=i.default,t.exports.default=i.default},{"./isHexadecimal":258,"./util/assertString":321}],289:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/[^\x00-\x7F]/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],290:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,r.default)(e),t&&t.no_symbols)return o.test(e);return new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?n.decimal[t.locale]:".","])?[0-9]+$")).test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A},n=e("./alpha");var o=/^[0-9]+$/;t.exports=i.default,t.exports.default=i.default},{"./alpha":224,"./util/assertString":321}],291:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^(0o)?[0-7]+$/i;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],292:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,r.default)(e);var i=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in n&&n[t].test(i)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,AZ:/^[A-Z]{2,3}\d{7,8}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BR:/^[A-Z]{2}\d{6}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z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SK:/^[0-9A-Z]\d{7}$/,TH:/^[A-Z]{1,2}\d{6,7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],293:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e,{min:0,max:65535})};var A,r=(A=e("./isInt"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./isInt":274}],294:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,r.default)(e),t in c)return c[t].test(e);if("any"===t){for(var i in c){if(c.hasOwnProperty(i))if(c[i].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},i.locales=void 0;var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^\d{3}$/,o=/^\d{4}$/,a=/^\d{5}$/,s=/^\d{6}$/,c={AD:/^AD\d{3}$/,AT:o,AU:o,AZ:/^AZ\d{4}$/,BA:/^([7-8]\d{4}$)/,BE:o,BG:o,BR:/^\d{5}-\d{3}$/,BY:/^2[1-4]\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:o,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:a,DK:o,DO:a,DZ:a,EE:a,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:a,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:o,ID:a,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/^(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}$/,IS:n,IT:a,JP:/^\d{3}\-\d{4}$/,KE:a,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:o,LV:/^LV\-\d{4}$/,LK:a,MG:n,MX:a,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:a,NL:/^\d{4}\s?[a-z]{2}$/i,NO:o,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:o,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:s,RU:s,SA:a,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:s,SI:o,SK:/^\d{3}\s?\d{2}$/,TH:a,TN:o,TW:/^\d{3}(\d{2})?$/,UA:a,US:/^\d{5}(-\d{4})?$/,ZA:o,ZM:a},I=Object.keys(c);i.locales=I},{"./util/assertString":321}],295:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),h.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/([01][0-9]|2[0-3])/,o=/[0-5][0-9]/,a=new RegExp("[-+]".concat(n.source,":").concat(o.source)),s=new RegExp("([zZ]|".concat(a.source,")")),c=new RegExp("".concat(n.source,":").concat(o.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),I=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),f=new RegExp("".concat(c.source).concat(s.source)),h=new RegExp("^".concat(I.source,"[ tT]").concat(f.source,"$"));t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],296:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if((0,r.default)(e),!t)return n.test(e)||o.test(e);return n.test(e)||o.test(e)||a.test(e)||s.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,o=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,a=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)$/,s=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],297:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,A.default)(e),n.test(e)};var A=r(e("./util/assertString"));function r(e){return e&&e.__esModule?e:{default:e}}var n=(0,r(e("./util/multilineRegex")).default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321,"./util/multilineRegex":324}],298:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],299:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;(0,r.default)(e);var i=function(e){var t=function(e){var t={};return Array.from(e).forEach((function(e){t[e]?t[e]+=1:t[e]=1})),t}(e),i={length:e.length,uniqueChars:Object.keys(t).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(t).forEach((function(e){o.test(e)?i.uppercaseCount+=t[e]:a.test(e)?i.lowercaseCount+=t[e]:s.test(e)?i.numberCount+=t[e]:c.test(e)&&(i.symbolCount+=t[e])})),i}(e);if((t=(0,A.default)(t||{},I)).returnScore)return function(e,t){var i=0;i+=e.uniqueChars*t.pointsPerUnique,i+=(e.length-e.uniqueChars)*t.pointsPerRepeat,e.lowercaseCount>0&&(i+=t.pointsForContainingLower);e.uppercaseCount>0&&(i+=t.pointsForContainingUpper);e.numberCount>0&&(i+=t.pointsForContainingNumber);e.symbolCount>0&&(i+=t.pointsForContainingSymbol);return i}(i,t);return i.length>=t.minLength&&i.lowercaseCount>=t.minLowercase&&i.uppercaseCount>=t.minUppercase&&i.numberCount>=t.minNumbers&&i.symbolCount>=t.minSymbols};var A=n(e("./util/merge")),r=n(e("./util/assertString"));function n(e){return e&&e.__esModule?e:{default:e}}var o=/^[A-Z]$/,a=/^[a-z]$/,s=/^[0-9]$/,c=/^[-#!$@£%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/,I={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321,"./util/merge":323}],300:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};var n=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],301:[function(e,t,i){"use strict";function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";(0,r.default)(e);var i=e.slice(0);if(t in u)return t in l&&(i=i.replace(l[t],"")),!!u[t].test(i)&&(!(t in g)||g[t](i));throw new Error("Invalid locale '".concat(t,"'"))};var r=s(e("./util/assertString")),n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==A(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=r?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(i,n,o):i[n]=e[n]}i.default=e,t&&t.set(e,i);return i}(e("./util/algorithms")),o=s(e("./isDate"));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}function c(e){return function(e){if(Array.isArray(e))return I(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return I(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return I(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,A=new Array(t);i0){if(t&&!i&&!/[AEIOU]/.test(e[A]))return!1;if(i&&!/X/.test(e[A]))return!1}return!0}var u={"bg-BG":/^\d{10}$/,"cs-CZ":/^\d{6}\/{0,1}\d{3,4}$/,"de-AT":/^\d{9}$/,"de-DE":/^[1-9]\d{10}$/,"dk-DK":/^\d{6}-{0,1}\d{4}$/,"el-CY":/^[09]\d{7}[A-Z]$/,"el-GR":/^([0-4]|[7-9])\d{8}$/,"en-CA":/^\d{9}$/,"en-GB":/^\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\d{6}[ABCD ]$/i,"en-IE":/^\d{7}[A-W][A-IW]{0,1}$/i,"en-US":/^\d{2}[- ]{0,1}\d{7}$/,"es-ES":/^(\d{0,8}|[XYZKLM]\d{7})[A-HJ-NP-TV-Z]$/i,"et-EE":/^[1-6]\d{6}(00[1-9]|0[1-9][0-9]|[1-6][0-9]{2}|70[0-9]|710)\d$/,"fi-FI":/^\d{6}[-+A]\d{3}[0-9A-FHJ-NPR-Y]$/i,"fr-BE":/^\d{11}$/,"fr-FR":/^[0-3]\d{12}$|^[0-3]\d\s\d{2}(\s\d{3}){3}$/,"fr-LU":/^\d{13}$/,"hr-HR":/^\d{11}$/,"hu-HU":/^8\d{9}$/,"it-IT":/^[A-Z]{6}[L-NP-V0-9]{2}[A-EHLMPRST][L-NP-V0-9]{2}[A-ILMZ][L-NP-V0-9]{3}[A-Z]$/i,"lv-LV":/^\d{6}-{0,1}\d{5}$/,"mt-MT":/^\d{3,7}[APMGLHBZ]$|^([1-8])\1\d{7}$/i,"nl-NL":/^\d{9}$/,"pl-PL":/^\d{10,11}$/,"pt-BR":/(?:^\d{11}$)|(?:^\d{14}$)/,"pt-PT":/^\d{9}$/,"ro-RO":/^\d{13}$/,"sk-SK":/^\d{6}\/{0,1}\d{3,4}$/,"sl-SI":/^[1-9]\d{7}$/,"sv-SE":/^(\d{6}[-+]{0,1}\d{4}|(18|19|20)\d{6}[-+]{0,1}\d{4})$/};u["lb-LU"]=u["fr-LU"],u["lt-LT"]=u["et-EE"],u["nl-BE"]=u["fr-BE"],u["fr-CA"]=u["en-CA"];var g={"bg-BG":function(e){var t=e.slice(0,2),i=parseInt(e.slice(2,4),10);i>40?(i-=40,t="20".concat(t)):i>20?(i-=20,t="18".concat(t)):t="19".concat(t),i<10&&(i="0".concat(i));var A="".concat(t,"/").concat(i,"/").concat(e.slice(4,6));if(!(0,o.default)(A,"YYYY/MM/DD"))return!1;for(var r=e.split("").map((function(e){return parseInt(e,10)})),n=[2,4,8,5,10,9,7,3,6],a=0,s=0;s50&&(i-=50),i>20){if(parseInt(t,10)<2004)return!1;i-=20}i<10&&(i="0".concat(i));var A="".concat(t,"/").concat(i,"/").concat(e.slice(4,6));if(!(0,o.default)(A,"YYYY/MM/DD"))return!1;if(10===e.length&&parseInt(e,10)%11!=0){var r=parseInt(e.slice(0,9),10)%11;if(!(parseInt(t,10)<1986&&10===r))return!1;if(0!==parseInt(e.slice(9),10))return!1}return!0},"de-AT":function(e){return n.luhnCheck(e)},"de-DE":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),i=[],A=0;A1}))).length&&3!==i.length)return!1;if(3===i[0].length){for(var o=i[0].split("").map((function(e){return parseInt(e,10)})),a=0,s=0;s58))return!1;t="18".concat(t)}}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var i="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,o.default)(i,"YYYY/MM/DD"))return!1;for(var A=e.split("").map((function(e){return parseInt(e,10)})),r=0,n=4,a=0;a<9;a++)r+=A[a]*n,1===(n-=1)&&(n=7);return 1!==(r%=11)&&(0===r?0===A[9]:A[9]===11-r)},"el-CY":function(e){for(var t=e.slice(0,8).split("").map((function(e){return parseInt(e,10)})),i=0,A=1;A4&&(i+=2));return String.fromCharCode(i%26+65)===e.charAt(8)},"el-GR":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),i=0,A=0;A<8;A++)i+=t[A]*Math.pow(2,8-A);return i%11%10===t[8]},"en-CA":function(e){var t=e.split(""),i=t.filter((function(e,t){return t%2})).map((function(e){return 2*Number(e)})).join("").split("");return t.filter((function(e,t){return!(t%2)})).concat(i).map((function(e){return Number(e)})).reduce((function(e,t){return e+t}))%10==0},"en-IE":function(e){var t=n.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8);return 9===e.length&&"W"!==e[8]&&(t+=9*(e[8].charCodeAt(0)-64)),0===(t%=23)?"W"===e[7].toUpperCase():e[7].toUpperCase()===String.fromCharCode(64+t)},"en-US":function(e){return-1!==function(){var e=[];for(var t in f)f.hasOwnProperty(t)&&e.push.apply(e,c(f[t]));return e}().indexOf(e.slice(0,2))},"es-ES":function(e){var t=e.toUpperCase().split("");if(isNaN(parseInt(t[0],10))&&t.length>1){var i=0;switch(t[0]){case"Y":i=1;break;case"Z":i=2}t.splice(0,1,i)}else for(;t.length<9;)t.unshift(0);t=t.join("");var A=parseInt(t.slice(0,8),10)%23;return t[8]===["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][A]},"et-EE":function(e){var t=e.slice(1,3);switch(e.slice(0,1)){case"1":case"2":t="18".concat(t);break;case"3":case"4":t="19".concat(t);break;default:t="20".concat(t)}var i="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(!(0,o.default)(i,"YYYY/MM/DD"))return!1;for(var A=e.split("").map((function(e){return parseInt(e,10)})),r=0,n=1,a=0;a<10;a++)r+=A[a]*n,10===(n+=1)&&(n=1);if(r%11==10){r=0,n=3;for(var s=0;s<10;s++)r+=A[s]*n,10===(n+=1)&&(n=1);if(r%11==10)return 0===A[10]}return r%11===A[10]},"fi-FI":function(e){var t=e.slice(4,6);switch(e.slice(6,7)){case"+":t="18".concat(t);break;case"-":t="19".concat(t);break;default:t="20".concat(t)}var i="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,o.default)(i,"YYYY/MM/DD"))return!1;var A=parseInt(e.slice(0,6)+e.slice(7,10),10)%31;return A<10?A===parseInt(e.slice(10),10):["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"][A-=10]===e.slice(10)},"fr-BE":function(e){if("00"!==e.slice(2,4)||"00"!==e.slice(4,6)){var t="".concat(e.slice(0,2),"/").concat(e.slice(2,4),"/").concat(e.slice(4,6));if(!(0,o.default)(t,"YY/MM/DD"))return!1}var i=97-parseInt(e.slice(0,9),10)%97,A=parseInt(e.slice(9,11),10);return i===A||(i=97-parseInt("2".concat(e.slice(0,9)),10)%97)===A},"fr-FR":function(e){return e=e.replace(/\s/g,""),parseInt(e.slice(0,10),10)%511===parseInt(e.slice(10,13),10)},"fr-LU":function(e){var t="".concat(e.slice(0,4),"/").concat(e.slice(4,6),"/").concat(e.slice(6,8));return!!(0,o.default)(t,"YYYY/MM/DD")&&(!!n.luhnCheck(e.slice(0,12))&&n.verhoeffCheck("".concat(e.slice(0,11)).concat(e[12])))},"hr-HR":function(e){return n.iso7064Check(e)},"hu-HU":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),i=8,A=1;A<9;A++)i+=t[A]*(A+1);return i%11===t[9]},"it-IT":function(e){var t=e.toUpperCase().split("");if(!h(t.slice(0,3)))return!1;if(!h(t.slice(3,6)))return!1;for(var i={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},A=0,r=[6,7,9,10,12,13,14];A40&&(s-=40),s<10&&(s="0".concat(s));var c="".concat(t[6]).concat(t[7],"/").concat(a,"/").concat(s);if(!(0,o.default)(c,"YY/MM/DD"))return!1;for(var I=0,f=1;f4&&(l+=2)}I+=l}return String.fromCharCode(65+I%26)===t[15]},"lv-LV":function(e){var t=(e=e.replace(/\W/,"")).slice(0,2);if("32"!==t){if("00"!==e.slice(2,4)){var i=e.slice(4,6);switch(e[6]){case"0":i="18".concat(i);break;case"1":i="19".concat(i);break;default:i="20".concat(i)}var A="".concat(i,"/").concat(e.slice(2,4),"/").concat(t);if(!(0,o.default)(A,"YYYY/MM/DD"))return!1}for(var r=1101,n=[1,6,3,7,9,10,5,8,4,2],a=0;a32e3)return!1;if(i===parseInt(t.join("").slice(5,7),10))return!1}}return!0},"nl-NL":function(e){return n.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11===parseInt(e[8],10)},"pl-PL":function(e){if(10===e.length){for(var t=[6,5,7,2,3,4,5,6,7],i=0,A=0;A80?(r="18".concat(r),n-=80):n>60?(r="22".concat(r),n-=60):n>40?(r="21".concat(r),n-=40):n>20?(r="20".concat(r),n-=20):r="19".concat(r),n<10&&(n="0".concat(n));var a="".concat(r,"/").concat(n,"/").concat(e.slice(4,6));if(!(0,o.default)(a,"YYYY/MM/DD"))return!1;for(var s=0,c=1,I=0;I10?c=1:5===c&&(c+=2);return(s=10-s%10)===parseInt(e[10],10)},"pt-BR":function(e){if(11===e.length){var t,i;if(t=0,"11111111111"===e||"22222222222"===e||"33333333333"===e||"44444444444"===e||"55555555555"===e||"66666666666"===e||"77777777777"===e||"88888888888"===e||"99999999999"===e||"00000000000"===e)return!1;for(var A=1;A<=9;A++)t+=parseInt(e.substring(A-1,A),10)*(11-A);if(10===(i=10*t%11)&&(i=0),i!==parseInt(e.substring(9,10),10))return!1;t=0;for(var r=1;r<=10;r++)t+=parseInt(e.substring(r-1,r),10)*(12-r);return 10===(i=10*t%11)&&(i=0),i===parseInt(e.substring(10,11),10)}if("00000000000000"===e||"11111111111111"===e||"22222222222222"===e||"33333333333333"===e||"44444444444444"===e||"55555555555555"===e||"66666666666666"===e||"77777777777777"===e||"88888888888888"===e||"99999999999999"===e)return!1;for(var n=e.length-2,o=e.substring(0,n),a=e.substring(n),s=0,c=n-7,I=n;I>=1;I--)s+=o.charAt(n-I)*c,(c-=1)<2&&(c=9);var f=s%11<2?0:11-s%11;if(f!==parseInt(a.charAt(0),10))return!1;n+=1,o=e.substring(0,n),s=0,c=n-7;for(var h=n;h>=1;h--)s+=o.charAt(n-h)*c,(c-=1)<2&&(c=9);return(f=s%11<2?0:11-s%11)===parseInt(a.charAt(1),10)},"pt-PT":function(e){var t=11-n.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11;return t>9?0===parseInt(e[8],10):t===parseInt(e[8],10)},"ro-RO":function(e){if("9000"!==e.slice(0,4)){var t=e.slice(1,3);switch(e[0]){case"1":case"2":t="19".concat(t);break;case"3":case"4":t="18".concat(t);break;case"5":case"6":t="20".concat(t)}var i="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(8===i.length){if(!(0,o.default)(i,"YY/MM/DD"))return!1}else if(!(0,o.default)(i,"YYYY/MM/DD"))return!1;for(var A=e.split("").map((function(e){return parseInt(e,10)})),r=[2,7,9,1,4,6,3,5,8,2,7,9],n=0,a=0;a53)return!1;t=t<10?"190".concat(t):"19".concat(t);var i=parseInt(e.slice(2,4),10);i>50&&(i-=50),i<10&&(i="0".concat(i));var A="".concat(t,"/").concat(i,"/").concat(e.slice(4,6));if(!(0,o.default)(A,"YYYY/MM/DD"))return!1}return!0},"sl-SI":function(e){var t=11-n.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8)%11;return 10===t?0===parseInt(e[7],10):t===parseInt(e[7],10)},"sv-SE":function(e){var t=e.slice(0);e.length>11&&(t=t.slice(2));var i="",A=t.slice(2,4),r=parseInt(t.slice(4,6),10);if(e.length>11)i=e.slice(0,4);else if(i=e.slice(0,2),11===e.length&&r<60){var a=(new Date).getFullYear().toString(),s=parseInt(a.slice(0,2),10);if(a=parseInt(a,10),"-"===e[6])i=parseInt("".concat(s).concat(i),10)>a?"".concat(s-1).concat(i):"".concat(s).concat(i);else if(i="".concat(s-1).concat(i),a-parseInt(i,10)<100)return!1}r>60&&(r-=60),r<10&&(r="0".concat(r));var c="".concat(i,"/").concat(A,"/").concat(r);if(8===c.length){if(!(0,o.default)(c,"YY/MM/DD"))return!1}else if(!(0,o.default)(c,"YYYY/MM/DD"))return!1;return n.luhnCheck(e.replace(/\W/,""))}};g["lb-LU"]=g["fr-LU"],g["lt-LT"]=g["et-EE"],g["nl-BE"]=g["fr-BE"],g["fr-CA"]=g["en-CA"];var d=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,l={"de-AT":d,"de-DE":/[\/\\]/g,"fr-BE":d};l["nl-BE"]=l["fr-BE"],t.exports=i.default,t.exports.default=i.default},{"./isDate":244,"./util/algorithms":320,"./util/assertString":321}],302:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){return t=(0,r.default)(t,n),"string"==typeof e&&o[t.hourFormat][t.mode].test(e)};var A,r=(A=e("./util/merge"))&&A.__esModule?A:{default:A};var n={hourFormat:"hour24",mode:"default"},o={hour24:{default:/^([01]?[0-9]|2[0-3]):([0-5][0-9])$/,withSeconds:/^([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/},hour12:{default:/^(0?[1-9]|1[0-2]):([0-5][0-9]) (A|P)M$/,withSeconds:/^(0?[1-9]|1[0-2]):([0-5][0-9]):([0-5][0-9]) (A|P)M$/}};t.exports=i.default,t.exports.default=i.default},{"./util/merge":323}],303:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,A.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,o.default)(t,c)).validate_length&&e.length>=2083)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var i,a,h,u,g,d,l,B;if(l=e.split("#"),e=l.shift(),l=e.split("?"),e=l.shift(),(l=e.split("://")).length>1){if(i=l.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(i))return!1}else{if(t.require_protocol)return!1;if("//"===e.slice(0,2)){if(!t.allow_protocol_relative_urls)return!1;l[0]=e.slice(2)}}if(""===(e=l.join("://")))return!1;if(l=e.split("/"),""===(e=l.shift())&&!t.require_host)return!0;if((l=e.split("@")).length>1){if(t.disallow_auth)return!1;if(""===l[0])return!1;if((a=l.shift()).indexOf(":")>=0&&a.split(":").length>2)return!1;var p=a.split(":"),C=(b=2,function(e){if(Array.isArray(e))return e}(y=p)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var i=[],A=!0,r=!1,n=void 0;try{for(var o,a=e[Symbol.iterator]();!(A=(o=a.next()).done)&&(i.push(o.value),!t||i.length!==t);A=!0);}catch(e){r=!0,n=e}finally{try{A||null==a.return||a.return()}finally{if(r)throw n}}return i}}(y,b)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?s(e,t):void 0}}(y,b)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),Q=C[0],E=C[1];if(""===Q&&""===E)return!1}var y,b;u=l.join("@"),d=null,B=null;var m=u.match(I);m?(h="",B=m[1],d=m[2]||null):(h=(l=u.split(":")).shift(),l.length&&(d=l.join(":")));if(null!==d&&d.length>0){if(g=parseInt(d,10),!/^[0-9]+$/.test(d)||g<=0||g>65535)return!1}else if(t.require_port)return!1;if(t.host_whitelist)return f(h,t.host_whitelist);if(""===h&&!t.require_host)return!0;if(!((0,n.default)(h)||(0,r.default)(h,t)||B&&(0,n.default)(B,6)))return!1;if(h=h||B,t.host_blacklist&&f(h,t.host_blacklist))return!1;return!0};var A=a(e("./util/assertString")),r=a(e("./isFQDN")),n=a(e("./isIP")),o=a(e("./util/merge"));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,A=new Array(t);i9?0===parseInt(i[8],10):A===parseInt(i[8],10)},RO:function(e){return/^(RO)?\d{2,10}$/.test(e)},SK:function(e){return/^(SK)?\d{10}$/.test(e)},SI:function(e){return/^(SI)?\d{8}$/.test(e)},ES:function(e){return/^(ES)?\w\d{7}[A-Z]$/.test(e)},SE:function(e){return/^(SE)?\d{12}$/.test(e)},AL:function(e){return/^(AL)?\w{9}[A-Z]$/.test(e)},MK:function(e){return/^(MK)?\d{13}$/.test(e)},AU:function(e){return/^(AU)?\d{11}$/.test(e)},BY:function(e){return/^(УНП )?\d{9}$/.test(e)},CA:function(e){return/^(CA)?\d{9}$/.test(e)},IS:function(e){return/^(IS)?\d{5,6}$/.test(e)},IN:function(e){return/^(IN)?\d{15}$/.test(e)},ID:function(e){return/^(ID)?(\d{15}|(\d{2}.\d{3}.\d{3}.\d{1}-\d{3}.\d{3}))$/.test(e)},IL:function(e){return/^(IL)?\d{9}$/.test(e)},KZ:function(e){return/^(KZ)?\d{9}$/.test(e)},NZ:function(e){return/^(NZ)?\d{9}$/.test(e)},NG:function(e){return/^(NG)?(\d{12}|(\d{8}-\d{4}))$/.test(e)},NO:function(e){return/^(NO)?\d{9}MVA$/.test(e)},PH:function(e){return/^(PH)?(\d{12}|\d{3} \d{3} \d{3} \d{3})$/.test(e)},RU:function(e){return/^(RU)?(\d{10}|\d{12})$/.test(e)},SM:function(e){return/^(SM)?\d{5}$/.test(e)},SA:function(e){return/^(SA)?\d{15}$/.test(e)},RS:function(e){return/^(RS)?\d{9}$/.test(e)},CH:function(e){return/^(CH)?(\d{6}|\d{9}|(\d{3}.\d{3})|(\d{3}.\d{3}.\d{3}))(TVA|MWST|IVA)$/.test(e)},TR:function(e){return/^(TR)?\d{10}$/.test(e)},UA:function(e){return/^(UA)?\d{12}$/.test(e)},GB:function(e){return/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/.test(e)},UZ:function(e){return/^(UZ)?\d{9}$/.test(e)},AR:function(e){return/^(AR)?\d{11}$/.test(e)},BO:function(e){return/^(BO)?\d{7}$/.test(e)},BR:function(e){return/^(BR)?((\d{2}.\d{3}.\d{3}\/\d{4}-\d{2})|(\d{3}.\d{3}.\d{3}-\d{2}))$/.test(e)},CL:function(e){return/^(CL)?\d{8}-\d{1}$/.test(e)},CO:function(e){return/^(CO)?\d{10}$/.test(e)},CR:function(e){return/^(CR)?\d{9,12}$/.test(e)},EC:function(e){return/^(EC)?\d{13}$/.test(e)},SV:function(e){return/^(SV)?\d{4}-\d{6}-\d{3}-\d{1}$/.test(e)},GT:function(e){return/^(GT)?\d{7}-\d{1}$/.test(e)},HN:function(e){return/^(HN)?$/.test(e)},MX:function(e){return/^(MX)?\w{3,4}\d{6}\w{3}$/.test(e)},NI:function(e){return/^(NI)?\d{3}-\d{6}-\d{4}\w{1}$/.test(e)},PA:function(e){return/^(PA)?$/.test(e)},PY:function(e){return/^(PY)?\d{6,8}-\d{1}$/.test(e)},PE:function(e){return/^(PE)?\d{11}$/.test(e)},DO:function(e){return/^(DO)?(\d{11}|(\d{3}-\d{7}-\d{1})|[1,4,5]{1}\d{8}|([1,4,5]{1})-\d{2}-\d{5}-\d{1})$/.test(e)},UY:function(e){return/^(UY)?\d{12}$/.test(e)},VE:function(e){return/^(VE)?[J,G,V,E]{1}-(\d{9}|(\d{8}-\d{1}))$/.test(e)}};i.vatMatchers=s},{"./util/algorithms":320,"./util/assertString":321}],307:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),n.fullWidth.test(e)&&o.halfWidth.test(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A},n=e("./isFullWidth"),o=e("./isHalfWidth");t.exports=i.default,t.exports.default=i.default},{"./isFullWidth":253,"./isHalfWidth":255,"./util/assertString":321}],308:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,r.default)(e);for(var i=e.length-1;i>=0;i--)if(-1===t.indexOf(e[i]))return!1;return!0};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],309:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,r.default)(e);var i=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(i,"")};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],310:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t,i){(0,r.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,i));return!!e.match(t)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],311:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){t=(0,r.default)(t,n);var i=e.split("@"),A=i.pop(),f=[i.join("@"),A];if(f[1]=f[1].toLowerCase(),"gmail.com"===f[1]||"googlemail.com"===f[1]){if(t.gmail_remove_subaddress&&(f[0]=f[0].split("+")[0]),t.gmail_remove_dots&&(f[0]=f[0].replace(/\.+/g,I)),!f[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(f[0]=f[0].toLowerCase()),f[1]=t.gmail_convert_googlemaildotcom?"gmail.com":f[1]}else if(o.indexOf(f[1])>=0){if(t.icloud_remove_subaddress&&(f[0]=f[0].split("+")[0]),!f[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(f[0]=f[0].toLowerCase())}else if(a.indexOf(f[1])>=0){if(t.outlookdotcom_remove_subaddress&&(f[0]=f[0].split("+")[0]),!f[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(f[0]=f[0].toLowerCase())}else if(s.indexOf(f[1])>=0){if(t.yahoo_remove_subaddress){var h=f[0].split("-");f[0]=h.length>1?h.slice(0,-1).join("-"):h[0]}if(!f[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(f[0]=f[0].toLowerCase())}else c.indexOf(f[1])>=0?((t.all_lowercase||t.yandex_lowercase)&&(f[0]=f[0].toLowerCase()),f[1]="yandex.ru"):t.all_lowercase&&(f[0]=f[0].toLowerCase());return f.join("@")};var A,r=(A=e("./util/merge"))&&A.__esModule?A:{default:A};var n={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},o=["icloud.com","me.com"],a=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],s=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],c=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function I(e){return e.length>1?e:""}t.exports=i.default,t.exports.default=i.default},{"./util/merge":323}],312:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,r.default)(e),t){var i=new RegExp("[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g");return e.replace(i,"")}var A=e.length-1;for(;/\s/.test(e.charAt(A));)A-=1;return e.slice(0,A+1)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],313:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){(0,A.default)(e);var i=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,r.default)(e,i)};var A=n(e("./util/assertString")),r=n(e("./blacklist"));function n(e){return e&&e.__esModule?e:{default:e}}t.exports=i.default,t.exports.default=i.default},{"./blacklist":225,"./util/assertString":321}],314:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){if((0,r.default)(e),t)return"1"===e||/^true$/i.test(e);return"0"!==e&&!/^false$/i.test(e)&&""!==e};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],315:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],316:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e)?parseFloat(e):NaN};var A,r=(A=e("./isFloat"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./isFloat":252}],317:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){return(0,r.default)(e),parseInt(e,t||10)};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],318:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){return(0,A.default)((0,r.default)(e,t),t)};var A=n(e("./rtrim")),r=n(e("./ltrim"));function n(e){return e&&e.__esModule?e:{default:e}}t.exports=i.default,t.exports.default=i.default},{"./ltrim":309,"./rtrim":312}],319:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){return(0,r.default)(e),e.replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`").replace(/&/g,"&")};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],320:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.iso7064Check=function(e){for(var t=10,i=0;i=0;A--){if(i){var r=2*parseInt(e[A],10);t+=r>9?r.toString().split("").map((function(e){return parseInt(e,10)})).reduce((function(e,t){return e+t}),0):r}else t+=parseInt(e[A],10);i=!i}return t%10==0},i.reverseMultiplyAndSum=function(e,t){for(var i=0,A=0;A0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var i in t)void 0===e[i]&&(e[i]=t[i]);return e},t.exports=i.default,t.exports.default=i.default},{}],324:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){var i=e.join("");return new RegExp(i,t)},t.exports=i.default,t.exports.default=i.default},{}],325:[function(e,t,i){"use strict";function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){"object"===A(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null==e||isNaN(e)&&!e.length)&&(e="");return String(e)},t.exports=i.default,t.exports.default=i.default},{}],326:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){return(0,r.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")};var A,r=(A=e("./util/assertString"))&&A.__esModule?A:{default:A};t.exports=i.default,t.exports.default=i.default},{"./util/assertString":321}],327:[function(e,t,i){t.exports={name:"doipjs",version:"0.18.2",description:"Decentralized Online Identity Proofs library in Node.js",main:"./src/index.js",packageManager:"yarn@1.22.19",dependencies:{"@openpgp/hkp-client":"^0.0.2","@openpgp/wkd-client":"^0.0.3","@xmpp/client":"^0.13.1","@xmpp/debug":"^0.13.0",axios:"^0.25.0","browser-or-node":"^1.3.0",cors:"^2.8.5",dotenv:"^8.2.0",express:"^4.17.1","express-validator":"^6.10.0","hash-wasm":"^4.9.0","irc-upd":"^0.11.0","merge-options":"^3.0.3",openpgp:"^5.5.0","valid-url":"^1.0.9",validator:"^13.5.2"},devDependencies:{browserify:"^17.0.0","browserify-shim":"^3.8.14",chai:"^4.2.0","chai-as-promised":"^7.1.1","chai-match-pattern":"^1.2.0","clean-jsdoc-theme":"^3.2.4",husky:"^7.0.0",jsdoc:"^3.6.6","license-check-and-add":"^4.0.3","lint-staged":"^11.0.0",minify:"^9.1",mocha:"^9.2.0",nodemon:"^2.0.19",standard:"^16.0.3"},scripts:{release:"yarn run test && yarn run release:bundle && yarn run release:minify","release:bundle":"./node_modules/.bin/browserify ./src/index.js --standalone doip -x openpgp -x @xmpp/client -x @xmpp/debug -x irc-upd -o ./dist/doip.js","release:minify":"./node_modules/.bin/minify ./dist/doip.js > ./dist/doip.min.js","license:check":"./node_modules/.bin/license-check-and-add check","license:add":"./node_modules/.bin/license-check-and-add add","license:remove":"./node_modules/.bin/license-check-and-add remove","docs:lib":"./node_modules/.bin/jsdoc -c jsdoc-lib.json -r -d ./docs -P package.json","standard:check":"./node_modules/.bin/standard ./src","standard:fix":"./node_modules/.bin/standard --fix ./src",mocha:"./node_modules/.bin/mocha",test:"yarn run standard:check && yarn run license:check && yarn run mocha",prepare:"husky install"},repository:{type:"git",url:"https://codeberg.org/keyoxide/doipjs"},homepage:"https://js.doip.rocks",keywords:["pgp","gpg","openpgp","encryption","decentralized","identity"],author:"Yarmo Mackenbach (https://yarmo.eu)",license:"Apache-2.0",browserify:{transform:["browserify-shim"]},"browserify-shim":{openpgp:"global:openpgp"}}},{}],328:[function(e,t,i){const A=e("validator"),r=e("valid-url"),n=e("merge-options"),o=e("./proofs"),a=e("./verifications"),s=e("./claimDefinitions"),c=e("./defaults"),I=e("./enums");t.exports=class{constructor(e,t){if("object"==typeof e&&"claimVersion"in e){const t=e;if(1!==t.claimVersion)throw new Error("Invalid claim version");return this._uri=t.uri,this._fingerprint=t.fingerprint,this._status=t.status,this._matches=t.matches,void(this._verification=t.verification)}if(e&&!r.isUri(e))throw new Error("Invalid URI");if(t)try{A.isAlphanumeric(t)}catch(e){throw new Error("Invalid fingerprint")}this._uri=e||"",this._fingerprint=t||"",this._status=I.ClaimStatus.INIT,this._matches=[],this._verification={}}get uri(){return this._uri}get fingerprint(){return this._fingerprint}get status(){return this._status}get matches(){if(this._status===I.ClaimStatus.INIT)throw new Error("This claim has not yet been matched");return this._matches}get verification(){if(this._status!==I.ClaimStatus.VERIFIED)throw new Error("This claim has not yet been verified");return this._verification}set uri(e){if(this._status!==I.ClaimStatus.INIT)throw new Error("Cannot change the URI, this claim has already been matched");if(e.length>0&&!r.isUri(e))throw new Error("The URI was invalid");e=e.replace(/^\s+|\s+$/g,""),this._uri=e}set fingerprint(e){if(this._status===I.ClaimStatus.VERIFIED)throw new Error("Cannot change the fingerprint, this claim has already been verified");this._fingerprint=e}set status(e){throw new Error("Cannot change a claim's status")}set matches(e){throw new Error("Cannot change a claim's matches")}set verification(e){throw new Error("Cannot change a claim's verification result")}match(){if(this._status!==I.ClaimStatus.INIT)throw new Error("This claim was already matched");if(0===this._uri.length||!r.isUri(this._uri))throw new Error("This claim has no URI");this._matches=[],s.list.every(((e,t)=>{const i=s.data[e];if(!i.reURI.test(this._uri))return!0;const A=i.processURI(this._uri);return!A||(A.match.isAmbiguous?(this._matches.push(A),!0):(this._matches=[A],!1))})),this._status=I.ClaimStatus.MATCHED}async verify(e){if(this._status===I.ClaimStatus.INIT)throw new Error("This claim has not yet been matched");if(this._status===I.ClaimStatus.VERIFIED)throw new Error("This claim has already been verified");if(0===this._fingerprint.length)throw new Error("This claim has no fingerprint");e=n(c.opts,e||{}),0===this._matches.length&&(this._verification={result:!1,completed:!0,proof:{},errors:["No matches for claim"]});for(let t=0;t1||this._matches[0].match.isAmbiguous}toJSON(){return{claimVersion:1,uri:this._uri,fingerprint:this._fingerprint,status:this._status,matches:this._matches,verification:this._verification}}}},{"./claimDefinitions":337,"./defaults":349,"./enums":350,"./proofs":361,"./verifications":364,"merge-options":170,"valid-url":222,validator:223}],329:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/(.*)\/?/,n={postprocess:(e,t)=>(e.profile.display=`${t.result.preferredUsername}@${new URL(t.result.url).hostname}`,{claimData:e,proofData:t})};i.reURI=r,i.processURI=e=>({serviceprovider:{type:"web",name:"activitypub"},match:{regularExpression:r,isAmbiguous:!0},profile:{display:e,uri:e,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.ACTIVITYPUB,access:A.ProofAccess.GENERIC,format:A.ProofFormat.JSON,data:{url:e}}},claim:[{format:A.ClaimFormat.FINGERPRINT,relation:A.ClaimRelation.CONTAINS,path:["summary"]},{format:A.ClaimFormat.FINGERPRINT,relation:A.ClaimRelation.CONTAINS,path:["attachment","value"]},{format:A.ClaimFormat.FINGERPRINT,relation:A.ClaimRelation.CONTAINS,path:["content"]}]}),i.functions=n,i.tests=[{uri:"https://domain.org",shouldMatch:!0},{uri:"https://domain.org/@/alice/",shouldMatch:!0},{uri:"https://domain.org/@alice",shouldMatch:!0},{uri:"https://domain.org/@alice/123456",shouldMatch:!0},{uri:"https://domain.org/u/alice/",shouldMatch:!0},{uri:"https://domain.org/users/alice/",shouldMatch:!0},{uri:"https://domain.org/users/alice/123456",shouldMatch:!0},{uri:"http://domain.org/alice",shouldMatch:!1}]},{"../enums":350}],330:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/dev\.to\/(.*)\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"devto"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:`https://dev.to/${t[1]}`,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.NOCORS,format:A.ProofFormat.JSON,data:{url:`https://dev.to/api/articles/${t[1]}/${t[2]}`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["body_markdown"]}]}},i.tests=[{uri:"https://dev.to/alice/post",shouldMatch:!0},{uri:"https://dev.to/alice/post/",shouldMatch:!0},{uri:"https://domain.org/alice/post",shouldMatch:!1}]},{"../enums":350}],331:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/(.*)\/u\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"discourse"},match:{regularExpression:r,isAmbiguous:!0},profile:{display:`${t[2]}@${t[1]}`,uri:e,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.NOCORS,format:A.ProofFormat.JSON,data:{url:`https://${t[1]}/u/${t[2]}.json`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["user","bio_raw"]}]}},i.tests=[{uri:"https://domain.org/u/alice",shouldMatch:!0},{uri:"https://domain.org/u/alice/",shouldMatch:!0},{uri:"https://domain.org/alice",shouldMatch:!1}]},{"../enums":350}],332:[function(e,t,i){const A=e("../enums"),r=/^dns:([a-zA-Z0-9.\-_]*)(?:\?(.*))?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"dns"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:`https://${t[1]}`,qr:null},proof:{uri:null,request:{fetcher:A.Fetcher.DNS,access:A.ProofAccess.SERVER,format:A.ProofFormat.JSON,data:{domain:t[1]}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["records","txt"]}]}},i.tests=[{uri:"dns:domain.org",shouldMatch:!0},{uri:"dns:domain.org?type=TXT",shouldMatch:!0},{uri:"https://domain.org",shouldMatch:!1}]},{"../enums":350}],333:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/(.*)\/(.*)\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"gitea"},match:{regularExpression:r,isAmbiguous:!0},profile:{display:`${t[2]}@${t[1]}`,uri:`https://${t[1]}/${t[2]}`,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.NOCORS,format:A.ProofFormat.JSON,data:{url:`https://${t[1]}/api/v1/repos/${t[2]}/${t[3]}`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.EQUALS,path:["description"]}]}},i.tests=[{uri:"https://domain.org/alice/gitea_proof",shouldMatch:!0},{uri:"https://domain.org/alice/gitea_proof/",shouldMatch:!0},{uri:"https://domain.org/alice/other_proof",shouldMatch:!0},{uri:"https://domain.org/alice",shouldMatch:!1}]},{"../enums":350}],334:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/gist\.github\.com\/(.*)\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"github"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:`https://github.com/${t[1]}`,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.GENERIC,format:A.ProofFormat.JSON,data:{url:`https://api.github.com/gists/${t[2]}`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["files","openpgp.md","content"]}]}},i.tests=[{uri:"https://gist.github.com/Alice/123456789",shouldMatch:!0},{uri:"https://gist.github.com/Alice/123456789/",shouldMatch:!0},{uri:"https://domain.org/Alice/123456789",shouldMatch:!1}]},{"../enums":350}],335:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/(.*)\/(.*)\/gitlab_proof\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"gitlab"},match:{regularExpression:r,isAmbiguous:!0},profile:{display:`${t[2]}@${t[1]}`,uri:`https://${t[1]}/${t[2]}`,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.GENERIC,format:A.ProofFormat.JSON,data:{url:`https://${t[1]}/api/v4/projects/${t[2]}%2Fgitlab_proof`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.EQUALS,path:["description"]}]}},i.tests=[{uri:"https://gitlab.domain.org/alice/gitlab_proof",shouldMatch:!0},{uri:"https://gitlab.domain.org/alice/gitlab_proof/",shouldMatch:!0},{uri:"https://domain.org/alice/other_proof",shouldMatch:!1}]},{"../enums":350}],336:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/news\.ycombinator\.com\/user\?id=(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"hackernews"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:e,qr:null},proof:{uri:`https://hacker-news.firebaseio.com/v0/user/${t[1]}.json`,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.NOCORS,format:A.ProofFormat.JSON,data:{url:`https://hacker-news.firebaseio.com/v0/user/${t[1]}.json`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["about"]}]}},i.tests=[{uri:"https://news.ycombinator.com/user?id=Alice",shouldMatch:!0},{uri:"https://news.ycombinator.com/user?id=Alice/",shouldMatch:!0},{uri:"https://domain.org/user?id=Alice",shouldMatch:!1}]},{"../enums":350}],337:[function(e,t,i){const A={dns:e("./dns"),irc:e("./irc"),xmpp:e("./xmpp"),matrix:e("./matrix"),telegram:e("./telegram"),twitter:e("./twitter"),reddit:e("./reddit"),liberapay:e("./liberapay"),lichess:e("./lichess"),hackernews:e("./hackernews"),lobsters:e("./lobsters"),devto:e("./devto"),gitea:e("./gitea"),gitlab:e("./gitlab"),github:e("./github"),activitypub:e("./activitypub"),discourse:e("./discourse"),owncast:e("./owncast"),stackexchange:e("./stackexchange")};i.list=Object.keys(A),i.data=A},{"./activitypub":329,"./devto":330,"./discourse":331,"./dns":332,"./gitea":333,"./github":334,"./gitlab":335,"./hackernews":336,"./irc":338,"./liberapay":339,"./lichess":340,"./lobsters":341,"./matrix":342,"./owncast":343,"./reddit":344,"./stackexchange":345,"./telegram":346,"./twitter":347,"./xmpp":348}],338:[function(e,t,i){const A=e("../enums"),r=/^irc:\/\/(.*)\/([a-zA-Z0-9\-[\]\\`_^{|}]*)/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"communication",name:"irc"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:`irc://${t[1]}/${t[2]}`,uri:e,qr:null},proof:{uri:null,request:{fetcher:A.Fetcher.IRC,access:A.ProofAccess.SERVER,format:A.ProofFormat.JSON,data:{domain:t[1],nick:t[2]}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:[]}]}},i.tests=[{uri:"irc://chat.ircserver.org/Alice1",shouldMatch:!0},{uri:"irc://chat.ircserver.org/alice?param=123",shouldMatch:!0},{uri:"irc://chat.ircserver.org/alice_bob",shouldMatch:!0},{uri:"https://chat.ircserver.org/alice",shouldMatch:!1}]},{"../enums":350}],339:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/liberapay\.com\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"liberapay"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:e,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.GENERIC,format:A.ProofFormat.JSON,data:{url:`https://liberapay.com/${t[1]}/public.json`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["statements","content"]}]}},i.tests=[{uri:"https://liberapay.com/alice",shouldMatch:!0},{uri:"https://liberapay.com/alice/",shouldMatch:!0},{uri:"https://domain.org/alice",shouldMatch:!1}]},{"../enums":350}],340:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/lichess\.org\/@\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"lichess"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:e,qr:null},proof:{uri:`https://lichess.org/api/user/${t[1]}`,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.GENERIC,format:A.ProofFormat.JSON,data:{url:`https://lichess.org/api/user/${t[1]}`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.FINGERPRINT,relation:A.ClaimRelation.CONTAINS,path:["profile","links"]}]}},i.tests=[{uri:"https://lichess.org/@/Alice",shouldMatch:!0},{uri:"https://lichess.org/@/Alice/",shouldMatch:!0},{uri:"https://domain.org/@/Alice",shouldMatch:!1}]},{"../enums":350}],341:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/lobste\.rs\/u\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"lobsters"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:e,qr:null},proof:{uri:`https://lobste.rs/u/${t[1]}.json`,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.NOCORS,format:A.ProofFormat.JSON,data:{url:`https://lobste.rs/u/${t[1]}.json`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["about"]}]}},i.tests=[{uri:"https://lobste.rs/u/Alice",shouldMatch:!0},{uri:"https://lobste.rs/u/Alice/",shouldMatch:!0},{uri:"https://domain.org/u/Alice",shouldMatch:!1}]},{"../enums":350}],342:[function(e,t,i){const A=e("../enums"),r=/^matrix:u\/(?:@)?([^@:]*:[^?]*)(\?.*)?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);if(!t[2])return null;const i=new URLSearchParams(t[2]);if(!i.has("org.keyoxide.e")||!i.has("org.keyoxide.r"))return null;const n=`${"!"!==i.get("org.keyoxide.r")[0]?"!":""}${i.get("org.keyoxide.r")}`,o=`${"$"!==i.get("org.keyoxide.e")[0]?"$":""}${i.get("org.keyoxide.e")}`,a=`https://matrix.to/#/@${t[1]}`,s=`https://matrix.to/#/${n}/${o}`;return{serviceprovider:{type:"communication",name:"matrix"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:`@${t[1]}`,uri:a,qr:null},proof:{uri:s,request:{fetcher:A.Fetcher.MATRIX,access:A.ProofAccess.GRANTED,format:A.ProofFormat.JSON,data:{eventId:o,roomId:n}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["content","body"]}]}},i.tests=[{uri:"matrix:u/alice:matrix.domain.org?org.keyoxide.r=123:domain.org&org.keyoxide.e=123",shouldMatch:!0},{uri:"matrix:u/alice:matrix.domain.org",shouldMatch:!0},{uri:"xmpp:alice@domain.org",shouldMatch:!1},{uri:"https://domain.org/@alice",shouldMatch:!1}]},{"../enums":350}],343:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/(.*)/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"owncast"},match:{regularExpression:r,isAmbiguous:!0},profile:{display:t[1],uri:e,qr:null},proof:{uri:`${e}/api/config`,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.GENERIC,format:A.ProofFormat.JSON,data:{url:`${e}/api/config`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.FINGERPRINT,relation:A.ClaimRelation.CONTAINS,path:["socialHandles","url"]}]}},i.tests=[{uri:"https://live.domain.org",shouldMatch:!0},{uri:"https://live.domain.org/",shouldMatch:!0},{uri:"https://domain.org/live",shouldMatch:!0},{uri:"https://domain.org/live/",shouldMatch:!0}]},{"../enums":350}],344:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/(?:www\.)?reddit\.com\/user\/(.*)\/comments\/(.*)\/(.*)\/?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"reddit"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:t[1],uri:`https://www.reddit.com/user/${t[1]}`,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.NOCORS,format:A.ProofFormat.JSON,data:{url:`https://www.reddit.com/user/${t[1]}/comments/${t[2]}.json`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["data","children","data","selftext"]}]}},i.tests=[{uri:"https://www.reddit.com/user/Alice/comments/123456/post",shouldMatch:!0},{uri:"https://www.reddit.com/user/Alice/comments/123456/post/",shouldMatch:!0},{uri:"https://reddit.com/user/Alice/comments/123456/post",shouldMatch:!0},{uri:"https://reddit.com/user/Alice/comments/123456/post/",shouldMatch:!0},{uri:"https://domain.org/user/Alice/comments/123456/post",shouldMatch:!1}]},{"../enums":350}],345:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/(.*(?:askubuntu|mathoverflow|serverfault|stackapps|stackoverflow|superuser)|.+\.stackexchange)\.com\/users\/(\d+)/,n=/\.stackexchange$/;i.reURI=r,i.processURI=e=>{const[,t,i]=e.match(r),o=t.replace(n,"");return{serviceprovider:{type:"web",name:"stackexchange"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:`${i}@${o}`,uri:e,qr:null},proof:{uri:`https://${t}.com/users/${i}?tab=profile`,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.GENERIC,format:A.ProofFormat.JSON,data:{url:`https://api.stackexchange.com/2.3/users/${i}?site=${o}&filter=!AH)b5JqVyImf`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["items","about_me"]}]}},i.tests=[{uri:"https://stackoverflow.com/users/1234",shouldMatch:!0},{uri:"https://stackoverflow.com/users/1234/alice",shouldMatch:!0},{uri:"https://stackoverflow.com/users/1234?tab=topactivity",shouldMatch:!0},{uri:"https://stackoverflow.com/users/1234/alice?tab=profile",shouldMatch:!0},{uri:"https://meta.stackoverflow.com/users/1234",shouldMatch:!0},{uri:"https://pt.stackoverflow.com/users/1234",shouldMatch:!0},{uri:"https://pt.meta.stackoverflow.com/users/1234",shouldMatch:!0},{uri:"https://serverfault.com/users/1234",shouldMatch:!0},{uri:"https://meta.stackexchange.com/users/1234",shouldMatch:!0},{uri:"https://gaming.meta.stackexchange.com/users/1234",shouldMatch:!0},{uri:"https://stackexchange.com/users/1234",shouldMatch:!1},{uri:"https://domain.com/users/1234",shouldMatch:!1},{uri:"https://meta.domain.com/users/1234",shouldMatch:!1}]},{"../enums":350}],346:[function(e,t,i){const A=e("../enums"),r=/https:\/\/t.me\/([A-Za-z0-9_]{5,32})\?proof=([A-Za-z0-9_]{5,32})/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"communication",name:"telegram"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:`@${t[1]}`,uri:`https://t.me/${t[1]}`,qr:`https://t.me/${t[1]}`},proof:{uri:`https://t.me/${t[2]}`,request:{fetcher:A.Fetcher.TELEGRAM,access:A.ProofAccess.GRANTED,format:A.ProofFormat.JSON,data:{user:t[1],chat:t[2]}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.EQUALS,path:["text"]}]}},i.tests=[{uri:"https://t.me/alice?proof=foobar",shouldMatch:!0},{uri:"https://t.me/complex_user_1234?proof=complex_chat_1234",shouldMatch:!0},{uri:"https://t.me/foobar",shouldMatch:!1},{uri:"https://t.me/foobar?proof=",shouldMatch:!1},{uri:"https://t.me/?proof=foobar",shouldMatch:!1}]},{"../enums":350}],347:[function(e,t,i){const A=e("../enums"),r=/^https:\/\/twitter\.com\/(.*)\/status\/([0-9]*)(?:\?.*)?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"web",name:"twitter"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:`@${t[1]}`,uri:`https://twitter.com/${t[1]}`,qr:null},proof:{uri:e,request:{fetcher:A.Fetcher.HTTP,access:A.ProofAccess.NOCORS,format:A.ProofFormat.JSON,data:{url:`https://publish.twitter.com/oembed?${new URLSearchParams({url:t[0],omit_script:1})}`,format:A.ProofFormat.JSON}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:["html"]}]}},i.tests=[{uri:"https://twitter.com/alice/status/1234567890123456789",shouldMatch:!0},{uri:"https://twitter.com/alice/status/1234567890123456789/",shouldMatch:!0},{uri:"https://domain.org/alice/status/1234567890123456789",shouldMatch:!1}]},{"../enums":350}],348:[function(e,t,i){const A=e("../enums"),r=/^xmpp:([a-zA-Z0-9.\-_]*)@([a-zA-Z0-9.\-_]*)(?:\?(.*))?/;i.reURI=r,i.processURI=e=>{const t=e.match(r);return{serviceprovider:{type:"communication",name:"xmpp"},match:{regularExpression:r,isAmbiguous:!1},profile:{display:`${t[1]}@${t[2]}`,uri:e,qr:e},proof:{uri:null,request:{fetcher:A.Fetcher.XMPP,access:A.ProofAccess.SERVER,format:A.ProofFormat.JSON,data:{id:`${t[1]}@${t[2]}`}}},claim:[{format:A.ClaimFormat.URI,relation:A.ClaimRelation.CONTAINS,path:[]}]}},i.tests=[{uri:"xmpp:alice@domain.org",shouldMatch:!0},{uri:"xmpp:alice@domain.org?omemo-sid-123456789=A1B2C3D4E5F6G7H8I9",shouldMatch:!0},{uri:"https://domain.org",shouldMatch:!1}]},{"../enums":350}],349:[function(e,t,i){const A={proxy:{hostname:null,policy:e("./enums").ProxyPolicy.NEVER},claims:{activitypub:{url:null,privateKey:null},irc:{nick:null},matrix:{instance:null,accessToken:null},telegram:{token:null},xmpp:{service:null,username:null,password:null}}};i.opts=A},{"./enums":350}],350:[function(e,t,i){const A={ADAPTIVE:"adaptive",ALWAYS:"always",NEVER:"never"};Object.freeze(A);const r={ACTIVITYPUB:"activitypub",DNS:"dns",HTTP:"http",IRC:"irc",MATRIX:"matrix",TELEGRAM:"telegram",XMPP:"xmpp"};Object.freeze(r);const n={GENERIC:"generic",NOCORS:"nocors",GRANTED:"granted",SERVER:"server"};Object.freeze(n);const o={JSON:"json",TEXT:"text"};Object.freeze(o);const a={URI:"uri",FINGERPRINT:"fingerprint"};Object.freeze(a);const s={CONTAINS:"contains",EQUALS:"equals",ONEOF:"oneof"};Object.freeze(s);const c={INIT:"init",MATCHED:"matched",VERIFIED:"verified"};Object.freeze(c),i.ProxyPolicy=A,i.Fetcher=r,i.ProofAccess=n,i.ProofFormat=o,i.ClaimFormat=a,i.ClaimRelation=s,i.ClaimStatus=c},{}],351:[function(e,t,i){const A=e("axios"),r=e("validator"),n=e("browser-or-node");t.exports.timeout=5e3,t.exports.fn=async(i,o)=>{let a,s;n.isNode&&(a=e("crypto"));const c=new Promise(((e,A)=>{s=setTimeout((()=>A(new Error("Request was timed out"))),i.fetcherTimeout?i.fetcherTimeout:t.exports.timeout)})),I=new Promise(((t,s)=>{(async()=>{let c=!1;try{r.isURL(o.claims.activitypub.url),c=!0}catch(e){}const I=new Date,{host:f,pathname:h,search:u}=new URL(i.url),g={host:f,date:I.toUTCString(),accept:"application/activity+json","User-Agent":`doipjs/${e("../../package.json").version}`};if(c&&n.isNode){const e=`(request-target): get ${h}${u}\nhost: ${f}\ndate: ${I.toUTCString()}`,t=a.createSign("SHA256");t.write(e),t.end();const i=t.sign(o.claims.activitypub.privateKey.replace(/\\n/g,"\n"),"base64");g.signature=`keyId="${o.claims.activitypub.url}#main-key",headers="(request-target) host date",signature="${i}",algorithm="rsa-sha256"`}A.get(i.url,{headers:g}).then((e=>e.data)).then((e=>{t(e)})).catch((e=>{s(e)}))})()}));return Promise.race([I,c]).then((e=>(clearTimeout(s),e)))}},{"../../package.json":327,axios:17,"browser-or-node":49,crypto:106,validator:223}],352:[function(e,t,i){const A=e("browser-or-node");if(t.exports.timeout=5e3,A.isNode){const i=e("dns");t.exports.fn=async(e,A)=>{let r;const n=new Promise(((i,A)=>{r=setTimeout((()=>A(new Error("Request was timed out"))),e.fetcherTimeout?e.fetcherTimeout:t.exports.timeout)})),o=new Promise(((t,A)=>{i.resolveTxt(e.domain,((i,r)=>{i?A(i):t({domain:e.domain,records:{txt:r}})}))}));return Promise.race([o,n]).then((e=>(clearTimeout(r),e)))}}else t.exports.fn=null},{"browser-or-node":49,dns:96}],353:[function(e,t,i){const A=e("axios"),r=e("../enums");t.exports.timeout=5e3,t.exports.fn=async(i,n)=>{let o;const a=new Promise(((e,A)=>{o=setTimeout((()=>A(new Error("Request was timed out"))),i.fetcherTimeout?i.fetcherTimeout:t.exports.timeout)})),s=new Promise(((t,n)=>{if(i.url)switch(i.format){case r.ProofFormat.JSON:A.get(i.url,{headers:{Accept:"application/json","User-Agent":`doipjs/${e("../../package.json").version}`},validateStatus:function(e){return e>=200&&e<400}}).then((e=>{t(e.data)})).catch((e=>{n(e)}));break;case r.ProofFormat.TEXT:A.get(i.url,{validateStatus:function(e){return e>=200&&e<400},responseType:"text"}).then((e=>{t(e.data)})).catch((e=>{n(e)}));break;default:n(new Error("No specified data format"))}else n(new Error("No valid URI provided"))}));return Promise.race([s,a]).then((e=>(clearTimeout(o),e)))}},{"../../package.json":327,"../enums":350,axios:17}],354:[function(e,t,i){i.activitypub=e("./activitypub"),i.dns=e("./dns"),i.http=e("./http"),i.irc=e("./irc"),i.matrix=e("./matrix"),i.telegram=e("./telegram"),i.xmpp=e("./xmpp")},{"./activitypub":351,"./dns":352,"./http":353,"./irc":355,"./matrix":356,"./telegram":357,"./xmpp":358}],355:[function(e,t,i){const A=e("browser-or-node");if(t.exports.timeout=2e4,A.isNode){const i=e("irc-upd"),A=e("validator");t.exports.fn=async(e,r)=>{let n;const o=new Promise(((i,A)=>{n=setTimeout((()=>A(new Error("Request was timed out"))),e.fetcherTimeout?e.fetcherTimeout:t.exports.timeout)})),a=new Promise(((t,n)=>{try{A.isAscii(r.claims.irc.nick)}catch(e){throw new Error(`IRC fetcher was not set up properly (${e.message})`)}try{const A=new i.Client(e.domain,r.claims.irc.nick,{port:6697,secure:!0,channels:[],showErrors:!1,debug:!1}),n=/[a-zA-Z0-9\-_]+\s+:\s(openpgp4fpr:.*)/,o=/End\sof\s.*\staxonomy./,a=[];A.addListener("registered",(t=>{A.send(`PRIVMSG NickServ TAXONOMY ${e.nick}`)})),A.addListener("notice",((e,i,r,s)=>{if(n.test(r)){const e=r.match(n);a.push(e[1])}o.test(r)&&(A.disconnect(),t(a))}))}catch(e){n(e)}}));return Promise.race([a,o]).then((e=>(clearTimeout(n),e)))}}else t.exports.fn=null},{"browser-or-node":49,"irc-upd":"irc-upd",validator:223}],356:[function(e,t,i){const A=e("axios"),r=e("validator");t.exports.timeout=5e3,t.exports.fn=async(i,n)=>{let o;const a=new Promise(((e,A)=>{o=setTimeout((()=>A(new Error("Request was timed out"))),i.fetcherTimeout?i.fetcherTimeout:t.exports.timeout)})),s=new Promise(((t,o)=>{try{r.isFQDN(n.claims.matrix.instance),r.isAscii(n.claims.matrix.accessToken)}catch(e){throw new Error(`Matrix fetcher was not set up properly (${e.message})`)}const a=`https://${n.claims.matrix.instance}/_matrix/client/r0/rooms/${i.roomId}/event/${i.eventId}?access_token=${n.claims.matrix.accessToken}`;A.get(a,{headers:{Accept:"application/json","User-Agent":`doipjs/${e("../../package.json").version}`}}).then((e=>e.data)).then((e=>{t(e)})).catch((e=>{o(e)}))}));return Promise.race([s,a]).then((e=>(clearTimeout(o),e)))}},{"../../package.json":327,axios:17,validator:223}],357:[function(e,t,i){const A=e("axios"),r=e("validator");t.exports.timeout=5e3,t.exports.fn=async(i,n)=>{let o;const a=new Promise(((e,A)=>{o=setTimeout((()=>A(new Error("Request was timed out"))),i.fetcherTimeout?i.fetcherTimeout:t.exports.timeout)})),s=t=>new Promise(((o,a)=>{try{r.isAscii(n.claims.telegram.token)}catch(e){throw new Error(`Telegram fetcher was not set up properly (${e.message})`)}if(!i.chat||!i.user)return void a(new Error("Both chat name and user name must be provided"));const s=`https://api.telegram.org/bot${n.claims.telegram.token}/${t}?chat_id=@${i.chat}`;A.get(s,{headers:{Accept:"application/json","User-Agent":`doipjs/${e("../../package.json").version}`},validateStatus:e=>200===e}).then((e=>o(e.data))).catch((e=>a(e)))})),c=s("getChatAdministrators").then((e=>{if(!e.ok)throw new Error("Request to get chat administrators failed");return s("getChat").then((t=>{if(!t.ok)throw new Error("Request to get chat info failed");let A;for(const t of e.result)"creator"===t.status&&(A=t.user.username);if(!t.result.description)throw new Error("There is no chat description");if(A!==i.user)throw new Error("User doesn't match");return{user:A,text:t.result.description}}))}));return Promise.race([c,a]).then((e=>(clearTimeout(o),e)))}},{"../../package.json":327,axios:17,validator:223}],358:[function(e,t,i){(function(i){(function(){const A=e("browser-or-node");if(t.exports.timeout=5e3,A.isNode){const{client:A,xml:r}=e("@xmpp/client"),n=e("@xmpp/debug"),o=e("validator");let a=null,s=null;const c=async(e,t,r)=>new Promise(((o,a)=>{const s=A({service:e,username:t,password:r});"production"!==i.env.NODE_ENV&&n(s,!0);const{iqCaller:c}=s;s.start(),s.on("online",(e=>{o({xmpp:s,iqCaller:c})})),s.on("error",(e=>{a(e)}))}));t.exports.fn=async(e,i)=>{try{o.isFQDN(i.claims.xmpp.service),o.isAscii(i.claims.xmpp.username),o.isAscii(i.claims.xmpp.password)}catch(e){throw new Error(`XMPP fetcher was not set up properly (${e.message})`)}if(!a||"online"!==a.status){const e=await c(i.claims.xmpp.service,i.claims.xmpp.username,i.claims.xmpp.password);a=e.xmpp,s=e.iqCaller}let A;const n=new Promise(((i,r)=>{A=setTimeout((()=>r(new Error("Request was timed out"))),e.fetcherTimeout?e.fetcherTimeout:t.exports.timeout)})),I=new Promise(((t,i)=>{(async()=>{let A=!1;const n=[];if(!A)try{(await s.request(r("iq",{type:"get",to:e.id},r("pubsub","http://jabber.org/protocol/pubsub",r("items",{node:"http://ariadne.id/protocol/proof"}))),3e4)).getChild("pubsub").getChildren("items").forEach((e=>{"http://ariadne.id/protocol/proof"===e.attrs.node&&e.getChildren("item").forEach((e=>{n.push(e.getChildText("value"))}))})),t(n),A=!0}catch(e){}if(!A)try{(await s.request(r("iq",{type:"get",to:e.id},r("pubsub","http://jabber.org/protocol/pubsub",r("items",{node:"urn:xmpp:vcard4",max_items:"1"}))),3e4)).getChild("pubsub").getChildren("items").forEach((e=>{"urn:xmpp:vcard4"===e.attrs.node&&e.getChildren("item").forEach((e=>{if("current"===e.attrs.id){const t=e.getChild("vcard","urn:ietf:params:xml:ns:vcard-4.0");t.getChildren("url").forEach((e=>{n.push(e.getChildText("uri"))})),t.getChildren("note").forEach((e=>{n.push(e.getChildText("text"))}))}}))})),t(n),A=!0}catch(e){}if(!A)try{const i=await s.request(r("iq",{type:"get",to:e.id},r("vCard","vcard-temp")),3e4);i.getChild("vCard","vcard-temp").getChildren("URL").forEach((e=>{n.push(e.children[0])})),i.getChild("vCard","vcard-temp").getChildren("NOTE").forEach((e=>{n.push(e.children[0])})),i.getChild("vCard","vcard-temp").getChildren("DESC").forEach((e=>{n.push(e.children[0])})),t(n),A=!0}catch(e){i(e)}a.stop()})()}));return Promise.race([I,n]).then((e=>(clearTimeout(A),e)))}}else t.exports.fn=null}).call(this)}).call(this,e("_process"))},{"@xmpp/client":"@xmpp/client","@xmpp/debug":"@xmpp/debug",_process:185,"browser-or-node":49,validator:223}],359:[function(e,t,i){const A=e("./claim"),r=e("./claimDefinitions"),n=e("./proofs"),o=e("./keys"),a=e("./signatures"),s=e("./enums"),c=e("./defaults"),I=e("./utils"),f=e("./verifications"),h=e("./fetcher");i.Claim=A,i.claimDefinitions=r,i.proofs=n,i.keys=o,i.signatures=a,i.enums=s,i.defaults=c,i.utils=I,i.verifications=f,i.fetcher=h},{"./claim":328,"./claimDefinitions":337,"./defaults":349,"./enums":350,"./fetcher":354,"./keys":360,"./proofs":361,"./signatures":362,"./utils":363,"./verifications":364}],360:[function(e,t,i){(function(t){(function(){const A=e("axios"),r=e("valid-url"),n="undefined"!=typeof window?window.openpgp:void 0!==t?t.openpgp:null,o=e("@openpgp/hkp-client"),a=e("@openpgp/wkd-client"),s=e("./claim"),c=async(e,t)=>{const i=new o(t?`https://${t}`:"https://keys.openpgp.org"),A={query:e},r=await i.lookup(A).catch((e=>{throw new Error(`Key does not exist or could not be fetched (${e})`)}));if(!r)throw new Error("Key does not exist or could not be fetched");return await n.readKey({armoredKey:r}).catch((e=>{throw new Error(`Key could not be read (${e})`)}))},I=async e=>{const t=new a,i={email:e},A=await t.lookup(i).catch((e=>{throw new Error(`Key does not exist or could not be fetched (${e})`)}));if(!A)throw new Error("Key does not exist or could not be fetched");return await n.readKey({binaryKey:A}).catch((e=>{throw new Error(`Key could not be read (${e})`)}))},f=async(e,t)=>{const i=`https://keybase.io/${e}/pgp_keys.asc?fingerprint=${t}`;let r;try{r=await A.get(i,{responseType:"text"}).then((e=>{if(200===e.status)return e})).then((e=>e.data))}catch(e){throw new Error(`Error fetching Keybase key: ${e.message}`)}return await n.readKey({armoredKey:r}).catch((e=>{throw new Error(`Key does not exist or could not be fetched (${e})`)}))},h=async e=>await n.readKey({armoredKey:e}).catch((e=>{throw new Error(`Key could not be read (${e})`)}));i.fetchHKP=c,i.fetchWKD=I,i.fetchKeybase=f,i.fetchPlaintext=h,i.fetchURI=async e=>{if(!r.isUri(e))throw new Error("Invalid URI");const t=e.match(/([a-zA-Z0-9]*):([a-zA-Z0-9@._=+-]*)(?::([a-zA-Z0-9@._=+-]*))?/);if(!t[1])throw new Error("Invalid URI");switch(t[1]){case"hkp":return await c(t[3]?t[3]:t[2],t[3]?t[2]:null);case"wkd":return await I(t[2]);case"kb":return await f(t[2],t.length>=4?t[3]:null);default:throw new Error("Invalid URI protocol")}},i.fetch=async e=>{const t=e.match(/([a-zA-Z0-9@._=+-]*)(?::([a-zA-Z0-9@._=+-]*))?/);let i=null;if(!i)try{i=await h(e)}catch(e){}if(!i&&e.includes("@"))try{i=await I(t[1])}catch(e){}if(i||(i=await c(t[2]?t[2]:t[1],t[2]?t[1]:null)),!i)throw new Error("Key does not exist or could not be fetched");return i},i.process=async e=>{if(!(e&&e instanceof n.PublicKey))throw new Error("Invalid public key");const t=e.getFingerprint(),i=await e.getPrimaryUser(),A=e.users,r=[];return A.forEach(((e,A)=>{if(r[A]={userData:{id:e.userID?e.userID.userID:null,name:e.userID?e.userID.name:null,email:e.userID?e.userID.email:null,comment:e.userID?e.userID.comment:null,isPrimary:i.index===A,isRevoked:!1},claims:[]},"selfCertifications"in e&&e.selfCertifications.length>0){const i=e.selfCertifications[0],n=i.rawNotations;r[A].claims=n.filter((({name:e,humanReadable:t})=>t&&("proof@ariadne.id"===e||"proof@metacode.biz"===e))).map((({value:e})=>new s((new TextDecoder).decode(e),t))),r[A].userData.isRevoked=i.revoked}})),{fingerprint:t,users:r,primaryUserIndex:i.index,key:{data:e,fetchMethod:null,uri:null}}}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./claim":328,"@openpgp/hkp-client":1,"@openpgp/wkd-client":2,axios:17,"valid-url":222}],361:[function(e,t,i){const A=e("browser-or-node"),r=e("./fetcher"),n=e("./utils"),o=e("./enums"),a=(e,t)=>{switch(t.proxy.policy){case o.ProxyPolicy.ALWAYS:return I(e,t);case o.ProxyPolicy.NEVER:switch(e.proof.request.access){case o.ProofAccess.GENERIC:case o.ProofAccess.GRANTED:return c(e,t);case o.ProofAccess.NOCORS:case o.ProofAccess.SERVER:throw new Error("Impossible to fetch proof (bad combination of service access and proxy policy)");default:throw new Error("Invalid proof access value")}case o.ProxyPolicy.ADAPTIVE:switch(e.proof.request.access){case o.ProofAccess.GENERIC:return f(e,t);case o.ProofAccess.NOCORS:return I(e,t);case o.ProofAccess.GRANTED:return f(e,t);case o.ProofAccess.SERVER:return I(e,t);default:throw new Error("Invalid proof access value")}default:throw new Error("Invalid proxy policy")}},s=(e,t)=>{switch(t.proxy.policy){case o.ProxyPolicy.ALWAYS:return I(e,t);case o.ProxyPolicy.NEVER:return c(e,t);case o.ProxyPolicy.ADAPTIVE:return f(e,t);default:throw new Error("Invalid proxy policy")}},c=(e,t)=>new Promise(((i,A)=>{r[e.proof.request.fetcher].fn(e.proof.request.data,t).then((t=>i({fetcher:e.proof.request.fetcher,data:e,viaProxy:!1,result:t}))).catch((e=>A(e)))})),I=(e,t)=>new Promise(((i,A)=>{let o;try{o=n.generateProxyURL(e.proof.request.fetcher,e.proof.request.data,t)}catch(e){A(e)}const a={url:o,format:e.proof.request.format,fetcherTimeout:r[e.proof.request.fetcher].timeout};r.http.fn(a,t).then((t=>i({fetcher:"http",data:e,viaProxy:!0,result:t}))).catch((e=>A(e)))})),f=(e,t)=>new Promise(((i,A)=>{c(e,t).then((e=>i(e))).catch((r=>{I(e,t).then((e=>i(e))).catch((e=>A(e)))}))}));i.fetch=(e,t)=>{if(e.proof.request.fetcher===o.Fetcher.HTTP)e.proof.request.data.format=e.proof.request.format;return A.isNode?s(e,t):a(e,t)}},{"./enums":350,"./fetcher":354,"./utils":363,"browser-or-node":49}],362:[function(e,t,i){(function(t){(function(){const A="undefined"!=typeof window?window.openpgp:void 0!==t?t.openpgp:null,r=e("./claim"),n=e("./keys");i.process=async e=>{let t;const i={fingerprint:null,users:[{userData:{},claims:[]}],primaryUserIndex:null,key:{data:null,fetchMethod:null,uri:null}};try{t=await A.readCleartextMessage({cleartextMessage:e})}catch(e){throw new Error(`Signature could not be read (${e.message})`)}const o=t.signature.packets[0].issuerKeyID.toHex(),a=t.signature.packets[0].signersUserID,s=t.signature.packets[0].preferredKeyServer||"https://keys.openpgp.org/",c=t.getText(),I=[];if(c.split("\n").forEach(((e,t)=>{const A=e.match(/^([a-zA-Z0-9]*)=(.*)$/i);if(A)switch(A[1].toLowerCase()){case"key":I.push(A[2]);break;case"proof":i.users[0].claims.push(new r(A[2]))}})),I.length>0)try{i.key.uri=I[0],i.key.data=await n.fetchURI(i.key.uri),i.key.fetchMethod=i.key.uri.split(":")[0]}catch(e){}if(!i.key.data&&a)try{i.key.uri=`wkd:${a}`,i.key.data=await n.fetchURI(i.key.uri),i.key.fetchMethod="wkd"}catch(e){}if(!i.key.data)try{const e=s.match(/^(.*:\/\/)?([^/]*)(?:\/)?$/i);i.key.uri=`hkp:${e[2]}:${o||a}`,i.key.data=await n.fetchURI(i.key.uri),i.key.fetchMethod="hkp"}catch(e){throw new Error("Public key not found")}const f=await A.verify({message:t,verificationKeys:i.key.data}),{verified:h}=f.signatures[0];try{await h}catch(e){throw new Error(`Signature could not be verified (${e.message})`)}i.fingerprint=i.key.data.keyPacket.getFingerprint(),i.users[0].claims.forEach((e=>{e.fingerprint=i.fingerprint}));const u=await i.key.data.getPrimaryUser();let g;return a&&i.key.data.users.forEach((e=>{e.userID.email===a&&(g=e)})),g||(g=u.user),i.users[0].userData={id:g.userID?g.userID.userID:null,name:g.userID?g.userID.name:null,email:g.userID?g.userID.email:null,comment:g.userID?g.userID.comment:null,isPrimary:u.user.userID.userID===g.userID.userID},i.primaryUserIndex=i.users[0].userData.isPrimary?0:null,i}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./claim":328,"./keys":360}],363:[function(e,t,i){const A=e("validator"),r=e("./enums");i.generateProxyURL=(e,t,i)=>{try{A.isFQDN(i.proxy.hostname)}catch(e){throw new Error("Invalid proxy hostname")}const r=[];return Object.keys(t).forEach((e=>{r.push(`${e}=${encodeURIComponent(t[e])}`)})),`https://${i.proxy.hostname}/api/2/get/${e}?${r.join("&")}`},i.generateClaim=(e,t)=>{switch(t){case r.ClaimFormat.URI:return`openpgp4fpr:${e}`;case r.ClaimFormat.FINGERPRINT:return e;default:throw new Error("No valid claim format")}},i.getUriFromString=e=>{const t=e.match(/((([A-Za-z0-9]+:(?:\/\/)?)(?:[-;:&=+$,\w]+@)?[A-Za-z0-9.-]+|(?:www\.|[-;:&=+$,\w]+@)[A-Za-z0-9.-]+)((?:\/[+~%/.\w\-_]*)?\??(?:[-+=&;%@.\w_]*)#?(?:[.!/\\\w]*))?)/gi),i=[];return t?(t.forEach((e=>{let t=!0;for(;t;){const i=e.charAt(e.length-1);-1!=="?!.".indexOf(i)?e=e.substring(0,e.length-1):t=!1}i.push(e)})),i):[]}},{"./enums":350,validator:223}],364:[function(e,t,i){const A=e("./utils"),r=e("./enums"),{bcryptVerify:n,argon2Verify:o}=e("hash-wasm"),a=async(e,t,i)=>{const a=A.generateClaim(t,i),s=A.generateClaim(t,r.ClaimFormat.URI);let c=!1;if(c=-1!==e.replace(/\r?\n|\r/g,"").toLowerCase().indexOf(a.toLowerCase()),!c){const t=/\$(argon2(?:id|d|i)|2a|2b|2y)(?:\$[a-zA-Z0-9=+\-,./]+)+/g;let i;for(;!c&&null!=(i=t.exec(e));){let e;const t=new Promise(((t,i)=>{e=setTimeout((()=>{t(!1)}),1e3)}));switch(i[1]){case"2a":case"2b":case"2y":try{if(parseInt(i[0].split("$")[2])>12)continue;const A=n({password:s,hash:i[0]}).then((e=>e)).catch((e=>!1));c=await Promise.race([A,t]).then((t=>(clearTimeout(e),t)))}catch(e){c=!1}break;case"argon2":case"argon2i":case"argon2d":case"argon2id":try{const A=o({password:s,hash:i[0]}).then((e=>e)).catch((e=>!1));c=await Promise.race([A,t]).then((t=>(clearTimeout(e),t)))}catch(e){c=!1}break;default:continue}}}if(!c){const t=A.getUriFromString(e);for(let e=0;e!1));r&&(200===r.status&&r.headers.get("ariadne-identity-proof")&&(c=-1!==r.headers.get("ariadne-identity-proof").toLowerCase().indexOf(s.toLowerCase())))}}return c},s=async(e,t,i,A,n)=>{if(!e)return!1;if(Array.isArray(e)){let r=!1;for(let o=0;o{const A={result:!1,completed:!1,errors:[]};switch(t.proof.request.format){case r.ProofFormat.JSON:for(let r=0;r