apify-client 2.17.1-beta.0 → 2.17.1-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.js CHANGED
@@ -14973,7 +14973,7 @@ module.exports = {
14973
14973
 
14974
14974
  }),
14975
14975
  "./node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/stream-browser.js": (function (module, __unused_webpack_exports, __webpack_require__) {
14976
- module.exports = (__webpack_require__("./node_modules/events/events.js")/* .EventEmitter */.EventEmitter);
14976
+ module.exports = __webpack_require__("./node_modules/events/events.js")/* .EventEmitter */.EventEmitter;
14977
14977
 
14978
14978
 
14979
14979
  }),
@@ -18462,6 +18462,7 @@ var Buffer = (__webpack_require__("./node_modules/safe-buffer/index.js")/* .Buff
18462
18462
  var Transform = (__webpack_require__("./node_modules/stream-browserify/index.js")/* .Transform */.Transform);
18463
18463
  var StringDecoder = (__webpack_require__("./node_modules/string_decoder/lib/string_decoder.js")/* .StringDecoder */.StringDecoder);
18464
18464
  var inherits = __webpack_require__("./node_modules/inherits/inherits_browser.js");
18465
+ var toBuffer = __webpack_require__("./node_modules/to-buffer/index.js");
18465
18466
 
18466
18467
  function CipherBase(hashMode) {
18467
18468
  Transform.call(this);
@@ -18480,71 +18481,6 @@ function CipherBase(hashMode) {
18480
18481
  }
18481
18482
  inherits(CipherBase, Transform);
18482
18483
 
18483
- var useUint8Array = typeof Uint8Array !== 'undefined';
18484
- var useArrayBuffer = typeof ArrayBuffer !== 'undefined'
18485
- && typeof Uint8Array !== 'undefined'
18486
- && ArrayBuffer.isView
18487
- && (Buffer.prototype instanceof Uint8Array || Buffer.TYPED_ARRAY_SUPPORT);
18488
-
18489
- function toBuffer(data, encoding) {
18490
- /*
18491
- * No need to do anything for exact instance
18492
- * This is only valid when safe-buffer.Buffer === buffer.Buffer, i.e. when Buffer.from/Buffer.alloc existed
18493
- */
18494
- if (data instanceof Buffer) {
18495
- return data;
18496
- }
18497
-
18498
- // Convert strings to Buffer
18499
- if (typeof data === 'string') {
18500
- return Buffer.from(data, encoding);
18501
- }
18502
-
18503
- /*
18504
- * Wrap any TypedArray instances and DataViews
18505
- * Makes sense only on engines with full TypedArray support -- let Buffer detect that
18506
- */
18507
- if (useArrayBuffer && ArrayBuffer.isView(data)) {
18508
- // Bug in Node.js <6.3.1, which treats this as out-of-bounds
18509
- if (data.byteLength === 0) {
18510
- return Buffer.alloc(0);
18511
- }
18512
-
18513
- var res = Buffer.from(data.buffer, data.byteOffset, data.byteLength);
18514
- /*
18515
- * Recheck result size, as offset/length doesn't work on Node.js <5.10
18516
- * We just go to Uint8Array case if this fails
18517
- */
18518
- if (res.byteLength === data.byteLength) {
18519
- return res;
18520
- }
18521
- }
18522
-
18523
- /*
18524
- * Uint8Array in engines where Buffer.from might not work with ArrayBuffer, just copy over
18525
- * Doesn't make sense with other TypedArray instances
18526
- */
18527
- if (useUint8Array && data instanceof Uint8Array) {
18528
- return Buffer.from(data);
18529
- }
18530
-
18531
- /*
18532
- * Old Buffer polyfill on an engine that doesn't have TypedArray support
18533
- * Also, this is from a different Buffer polyfill implementation then we have, as instanceof check failed
18534
- * Convert to our current Buffer implementation
18535
- */
18536
- if (
18537
- Buffer.isBuffer(data)
18538
- && data.constructor
18539
- && typeof data.constructor.isBuffer === 'function'
18540
- && data.constructor.isBuffer(data)
18541
- ) {
18542
- return Buffer.from(data);
18543
- }
18544
-
18545
- throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.');
18546
- }
18547
-
18548
18484
  CipherBase.prototype.update = function (data, inputEnc, outputEnc) {
18549
18485
  var bufferData = toBuffer(data, inputEnc); // asserts correct input type
18550
18486
  var outData = this._update(bufferData);
@@ -18959,7 +18895,7 @@ function isPrimitive(arg) {
18959
18895
  }
18960
18896
  exports.isPrimitive = isPrimitive;
18961
18897
 
18962
- exports.isBuffer = (__webpack_require__("./node_modules/buffer/index.js")/* .Buffer.isBuffer */.Buffer.isBuffer);
18898
+ exports.isBuffer = __webpack_require__("./node_modules/buffer/index.js")/* .Buffer.isBuffer */.Buffer.isBuffer;
18963
18899
 
18964
18900
  function objectToString(o) {
18965
18901
  return Object.prototype.toString.call(o);
@@ -35848,6 +35784,19 @@ var implementation = __webpack_require__("./node_modules/function-bind/implement
35848
35784
  module.exports = Function.prototype.bind || implementation;
35849
35785
 
35850
35786
 
35787
+ }),
35788
+ "./node_modules/generator-function/index.js": (function (module) {
35789
+ "use strict";
35790
+
35791
+
35792
+ // eslint-disable-next-line no-extra-parens, no-empty-function
35793
+ const cached = /** @type {GeneratorFunctionConstructor} */ (function* () {}.constructor);
35794
+
35795
+ /** @type {import('.')} */
35796
+ module.exports = () => cached;
35797
+
35798
+
35799
+
35851
35800
  }),
35852
35801
  "./node_modules/get-intrinsic/index.js": (function (module, __unused_webpack_exports, __webpack_require__) {
35853
35802
  "use strict";
@@ -38251,17 +38200,7 @@ var getProto = __webpack_require__("./node_modules/get-proto/index.js");
38251
38200
  var toStr = callBound('Object.prototype.toString');
38252
38201
  var fnToStr = callBound('Function.prototype.toString');
38253
38202
 
38254
- var getGeneratorFunc = function () { // eslint-disable-line consistent-return
38255
- if (!hasToStringTag) {
38256
- return false;
38257
- }
38258
- try {
38259
- return Function('return function*() {}')();
38260
- } catch (e) {
38261
- }
38262
- };
38263
- /** @type {undefined | false | null | GeneratorFunctionConstructor} */
38264
- var GeneratorFunction;
38203
+ var getGeneratorFunction = __webpack_require__("./node_modules/generator-function/index.js");
38265
38204
 
38266
38205
  /** @type {import('.')} */
38267
38206
  module.exports = function isGeneratorFunction(fn) {
@@ -38278,14 +38217,8 @@ module.exports = function isGeneratorFunction(fn) {
38278
38217
  if (!getProto) {
38279
38218
  return false;
38280
38219
  }
38281
- if (typeof GeneratorFunction === 'undefined') {
38282
- var generatorFunc = getGeneratorFunc();
38283
- GeneratorFunction = generatorFunc
38284
- // eslint-disable-next-line no-extra-parens
38285
- ? /** @type {GeneratorFunctionConstructor} */ (getProto(generatorFunc))
38286
- : false;
38287
- }
38288
- return getProto(fn) === GeneratorFunction;
38220
+ var GeneratorFunction = getGeneratorFunction();
38221
+ return GeneratorFunction && getProto(fn) === GeneratorFunction.prototype;
38289
38222
  };
38290
38223
 
38291
38224
 
@@ -53424,7 +53357,7 @@ var asn1 = __webpack_require__("./node_modules/parse-asn1/asn1.js");
53424
53357
  var aesid = __webpack_require__("./node_modules/parse-asn1/aesid.json");
53425
53358
  var fixProc = __webpack_require__("./node_modules/parse-asn1/fixProc.js");
53426
53359
  var ciphers = __webpack_require__("./node_modules/browserify-aes/browser.js");
53427
- var compat = __webpack_require__("./node_modules/pbkdf2/browser.js");
53360
+ var pbkdf2Sync = (__webpack_require__("./node_modules/pbkdf2/browser.js")/* .pbkdf2Sync */.pbkdf2Sync);
53428
53361
  var Buffer = (__webpack_require__("./node_modules/safe-buffer/index.js")/* .Buffer */.Buffer);
53429
53362
 
53430
53363
  function decrypt(data, password) {
@@ -53434,7 +53367,7 @@ function decrypt(data, password) {
53434
53367
  var iv = data.algorithm.decrypt.cipher.iv;
53435
53368
  var cipherText = data.subjectPrivateKey;
53436
53369
  var keylen = parseInt(algo.split('-')[1], 10) / 8;
53437
- var key = compat.pbkdf2Sync(password, salt, iters, keylen, 'sha1');
53370
+ var key = pbkdf2Sync(password, salt, iters, keylen, 'sha1');
53438
53371
  var cipher = ciphers.createDecipheriv(algo, key, iv);
53439
53372
  var out = [];
53440
53373
  out.push(cipher.update(cipherText));
@@ -53633,6 +53566,13 @@ module.exports = function (password, salt, iterations, keylen, digest, callback)
53633
53566
  digest = undefined;
53634
53567
  }
53635
53568
 
53569
+ checkParameters(iterations, keylen);
53570
+ password = toBuffer(password, defaultEncoding, 'Password');
53571
+ salt = toBuffer(salt, defaultEncoding, 'Salt');
53572
+ if (typeof callback !== 'function') {
53573
+ throw new Error('No callback provided to pbkdf2');
53574
+ }
53575
+
53636
53576
  digest = digest || 'sha1';
53637
53577
  var algo = toBrowser[digest.toLowerCase()];
53638
53578
 
@@ -53650,13 +53590,6 @@ module.exports = function (password, salt, iterations, keylen, digest, callback)
53650
53590
  return;
53651
53591
  }
53652
53592
 
53653
- checkParameters(iterations, keylen);
53654
- password = toBuffer(password, defaultEncoding, 'Password');
53655
- salt = toBuffer(salt, defaultEncoding, 'Salt');
53656
- if (typeof callback !== 'function') {
53657
- throw new Error('No callback provided to pbkdf2');
53658
- }
53659
-
53660
53593
  resolvePromise(checkNative(algo).then(function (resp) {
53661
53594
  if (resp) {
53662
53595
  return browserPbkdf2(password, salt, iterations, keylen, algo);
@@ -53692,6 +53625,7 @@ module.exports = defaultEncoding;
53692
53625
  "use strict";
53693
53626
 
53694
53627
 
53628
+ var $isFinite = isFinite;
53695
53629
  var MAX_ALLOC = Math.pow(2, 30) - 1; // default in iojs
53696
53630
 
53697
53631
  module.exports = function (iterations, keylen) {
@@ -53699,7 +53633,7 @@ module.exports = function (iterations, keylen) {
53699
53633
  throw new TypeError('Iterations not a number');
53700
53634
  }
53701
53635
 
53702
- if (iterations < 0) {
53636
+ if (iterations < 0 || !$isFinite(iterations)) {
53703
53637
  throw new TypeError('Bad iterations');
53704
53638
  }
53705
53639
 
@@ -53718,8 +53652,8 @@ module.exports = function (iterations, keylen) {
53718
53652
  "use strict";
53719
53653
 
53720
53654
 
53721
- var md5 = __webpack_require__("./node_modules/pbkdf2/node_modules/create-hash/md5.js");
53722
- var RIPEMD160 = __webpack_require__("./node_modules/pbkdf2/node_modules/ripemd160/index.js");
53655
+ var md5 = __webpack_require__("./node_modules/create-hash/md5.js");
53656
+ var RIPEMD160 = __webpack_require__("./node_modules/ripemd160/index.js");
53723
53657
  var sha = __webpack_require__("./node_modules/sha.js/index.js");
53724
53658
  var Buffer = (__webpack_require__("./node_modules/safe-buffer/index.js")/* .Buffer */.Buffer);
53725
53659
 
@@ -53874,584 +53808,6 @@ module.exports = function (thing, encoding, name) {
53874
53808
  };
53875
53809
 
53876
53810
 
53877
- }),
53878
- "./node_modules/pbkdf2/node_modules/create-hash/make-hash.js": (function (module, __unused_webpack_exports, __webpack_require__) {
53879
- "use strict";
53880
- /* provided dependency */ var Buffer = __webpack_require__("./node_modules/buffer/index.js")["Buffer"];
53881
-
53882
- var intSize = 4
53883
- var zeroBuffer = new Buffer(intSize)
53884
- zeroBuffer.fill(0)
53885
-
53886
- var charSize = 8
53887
- var hashSize = 16
53888
-
53889
- function toArray (buf) {
53890
- if ((buf.length % intSize) !== 0) {
53891
- var len = buf.length + (intSize - (buf.length % intSize))
53892
- buf = Buffer.concat([buf, zeroBuffer], len)
53893
- }
53894
-
53895
- var arr = new Array(buf.length >>> 2)
53896
- for (var i = 0, j = 0; i < buf.length; i += intSize, j++) {
53897
- arr[j] = buf.readInt32LE(i)
53898
- }
53899
-
53900
- return arr
53901
- }
53902
-
53903
- module.exports = function hash (buf, fn) {
53904
- var arr = fn(toArray(buf), buf.length * charSize)
53905
- buf = new Buffer(hashSize)
53906
- for (var i = 0; i < arr.length; i++) {
53907
- buf.writeInt32LE(arr[i], i << 2, true)
53908
- }
53909
- return buf
53910
- }
53911
-
53912
-
53913
- }),
53914
- "./node_modules/pbkdf2/node_modules/create-hash/md5.js": (function (module, __unused_webpack_exports, __webpack_require__) {
53915
- "use strict";
53916
-
53917
- /*
53918
- * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
53919
- * Digest Algorithm, as defined in RFC 1321.
53920
- * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
53921
- * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
53922
- * Distributed under the BSD License
53923
- * See http://pajhome.org.uk/crypt/md5 for more info.
53924
- */
53925
-
53926
- var makeHash = __webpack_require__("./node_modules/pbkdf2/node_modules/create-hash/make-hash.js")
53927
-
53928
- /*
53929
- * Calculate the MD5 of an array of little-endian words, and a bit length
53930
- */
53931
- function core_md5 (x, len) {
53932
- /* append padding */
53933
- x[len >> 5] |= 0x80 << ((len) % 32)
53934
- x[(((len + 64) >>> 9) << 4) + 14] = len
53935
-
53936
- var a = 1732584193
53937
- var b = -271733879
53938
- var c = -1732584194
53939
- var d = 271733878
53940
-
53941
- for (var i = 0; i < x.length; i += 16) {
53942
- var olda = a
53943
- var oldb = b
53944
- var oldc = c
53945
- var oldd = d
53946
-
53947
- a = md5_ff(a, b, c, d, x[i + 0], 7, -680876936)
53948
- d = md5_ff(d, a, b, c, x[i + 1], 12, -389564586)
53949
- c = md5_ff(c, d, a, b, x[i + 2], 17, 606105819)
53950
- b = md5_ff(b, c, d, a, x[i + 3], 22, -1044525330)
53951
- a = md5_ff(a, b, c, d, x[i + 4], 7, -176418897)
53952
- d = md5_ff(d, a, b, c, x[i + 5], 12, 1200080426)
53953
- c = md5_ff(c, d, a, b, x[i + 6], 17, -1473231341)
53954
- b = md5_ff(b, c, d, a, x[i + 7], 22, -45705983)
53955
- a = md5_ff(a, b, c, d, x[i + 8], 7, 1770035416)
53956
- d = md5_ff(d, a, b, c, x[i + 9], 12, -1958414417)
53957
- c = md5_ff(c, d, a, b, x[i + 10], 17, -42063)
53958
- b = md5_ff(b, c, d, a, x[i + 11], 22, -1990404162)
53959
- a = md5_ff(a, b, c, d, x[i + 12], 7, 1804603682)
53960
- d = md5_ff(d, a, b, c, x[i + 13], 12, -40341101)
53961
- c = md5_ff(c, d, a, b, x[i + 14], 17, -1502002290)
53962
- b = md5_ff(b, c, d, a, x[i + 15], 22, 1236535329)
53963
-
53964
- a = md5_gg(a, b, c, d, x[i + 1], 5, -165796510)
53965
- d = md5_gg(d, a, b, c, x[i + 6], 9, -1069501632)
53966
- c = md5_gg(c, d, a, b, x[i + 11], 14, 643717713)
53967
- b = md5_gg(b, c, d, a, x[i + 0], 20, -373897302)
53968
- a = md5_gg(a, b, c, d, x[i + 5], 5, -701558691)
53969
- d = md5_gg(d, a, b, c, x[i + 10], 9, 38016083)
53970
- c = md5_gg(c, d, a, b, x[i + 15], 14, -660478335)
53971
- b = md5_gg(b, c, d, a, x[i + 4], 20, -405537848)
53972
- a = md5_gg(a, b, c, d, x[i + 9], 5, 568446438)
53973
- d = md5_gg(d, a, b, c, x[i + 14], 9, -1019803690)
53974
- c = md5_gg(c, d, a, b, x[i + 3], 14, -187363961)
53975
- b = md5_gg(b, c, d, a, x[i + 8], 20, 1163531501)
53976
- a = md5_gg(a, b, c, d, x[i + 13], 5, -1444681467)
53977
- d = md5_gg(d, a, b, c, x[i + 2], 9, -51403784)
53978
- c = md5_gg(c, d, a, b, x[i + 7], 14, 1735328473)
53979
- b = md5_gg(b, c, d, a, x[i + 12], 20, -1926607734)
53980
-
53981
- a = md5_hh(a, b, c, d, x[i + 5], 4, -378558)
53982
- d = md5_hh(d, a, b, c, x[i + 8], 11, -2022574463)
53983
- c = md5_hh(c, d, a, b, x[i + 11], 16, 1839030562)
53984
- b = md5_hh(b, c, d, a, x[i + 14], 23, -35309556)
53985
- a = md5_hh(a, b, c, d, x[i + 1], 4, -1530992060)
53986
- d = md5_hh(d, a, b, c, x[i + 4], 11, 1272893353)
53987
- c = md5_hh(c, d, a, b, x[i + 7], 16, -155497632)
53988
- b = md5_hh(b, c, d, a, x[i + 10], 23, -1094730640)
53989
- a = md5_hh(a, b, c, d, x[i + 13], 4, 681279174)
53990
- d = md5_hh(d, a, b, c, x[i + 0], 11, -358537222)
53991
- c = md5_hh(c, d, a, b, x[i + 3], 16, -722521979)
53992
- b = md5_hh(b, c, d, a, x[i + 6], 23, 76029189)
53993
- a = md5_hh(a, b, c, d, x[i + 9], 4, -640364487)
53994
- d = md5_hh(d, a, b, c, x[i + 12], 11, -421815835)
53995
- c = md5_hh(c, d, a, b, x[i + 15], 16, 530742520)
53996
- b = md5_hh(b, c, d, a, x[i + 2], 23, -995338651)
53997
-
53998
- a = md5_ii(a, b, c, d, x[i + 0], 6, -198630844)
53999
- d = md5_ii(d, a, b, c, x[i + 7], 10, 1126891415)
54000
- c = md5_ii(c, d, a, b, x[i + 14], 15, -1416354905)
54001
- b = md5_ii(b, c, d, a, x[i + 5], 21, -57434055)
54002
- a = md5_ii(a, b, c, d, x[i + 12], 6, 1700485571)
54003
- d = md5_ii(d, a, b, c, x[i + 3], 10, -1894986606)
54004
- c = md5_ii(c, d, a, b, x[i + 10], 15, -1051523)
54005
- b = md5_ii(b, c, d, a, x[i + 1], 21, -2054922799)
54006
- a = md5_ii(a, b, c, d, x[i + 8], 6, 1873313359)
54007
- d = md5_ii(d, a, b, c, x[i + 15], 10, -30611744)
54008
- c = md5_ii(c, d, a, b, x[i + 6], 15, -1560198380)
54009
- b = md5_ii(b, c, d, a, x[i + 13], 21, 1309151649)
54010
- a = md5_ii(a, b, c, d, x[i + 4], 6, -145523070)
54011
- d = md5_ii(d, a, b, c, x[i + 11], 10, -1120210379)
54012
- c = md5_ii(c, d, a, b, x[i + 2], 15, 718787259)
54013
- b = md5_ii(b, c, d, a, x[i + 9], 21, -343485551)
54014
-
54015
- a = safe_add(a, olda)
54016
- b = safe_add(b, oldb)
54017
- c = safe_add(c, oldc)
54018
- d = safe_add(d, oldd)
54019
- }
54020
-
54021
- return [a, b, c, d]
54022
- }
54023
-
54024
- /*
54025
- * These functions implement the four basic operations the algorithm uses.
54026
- */
54027
- function md5_cmn (q, a, b, x, s, t) {
54028
- return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b)
54029
- }
54030
-
54031
- function md5_ff (a, b, c, d, x, s, t) {
54032
- return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t)
54033
- }
54034
-
54035
- function md5_gg (a, b, c, d, x, s, t) {
54036
- return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t)
54037
- }
54038
-
54039
- function md5_hh (a, b, c, d, x, s, t) {
54040
- return md5_cmn(b ^ c ^ d, a, b, x, s, t)
54041
- }
54042
-
54043
- function md5_ii (a, b, c, d, x, s, t) {
54044
- return md5_cmn(c ^ (b | (~d)), a, b, x, s, t)
54045
- }
54046
-
54047
- /*
54048
- * Add integers, wrapping at 2^32. This uses 16-bit operations internally
54049
- * to work around bugs in some JS interpreters.
54050
- */
54051
- function safe_add (x, y) {
54052
- var lsw = (x & 0xFFFF) + (y & 0xFFFF)
54053
- var msw = (x >> 16) + (y >> 16) + (lsw >> 16)
54054
- return (msw << 16) | (lsw & 0xFFFF)
54055
- }
54056
-
54057
- /*
54058
- * Bitwise rotate a 32-bit number to the left.
54059
- */
54060
- function bit_rol (num, cnt) {
54061
- return (num << cnt) | (num >>> (32 - cnt))
54062
- }
54063
-
54064
- module.exports = function md5 (buf) {
54065
- return makeHash(buf, core_md5)
54066
- }
54067
-
54068
-
54069
- }),
54070
- "./node_modules/pbkdf2/node_modules/hash-base/index.js": (function (module, __unused_webpack_exports, __webpack_require__) {
54071
- "use strict";
54072
- /* provided dependency */ var Buffer = __webpack_require__("./node_modules/buffer/index.js")["Buffer"];
54073
-
54074
- var Transform = (__webpack_require__("./node_modules/stream-browserify/index.js")/* .Transform */.Transform)
54075
- var inherits = __webpack_require__("./node_modules/inherits/inherits_browser.js")
54076
-
54077
- function HashBase (blockSize) {
54078
- Transform.call(this)
54079
-
54080
- this._block = new Buffer(blockSize)
54081
- this._blockSize = blockSize
54082
- this._blockOffset = 0
54083
- this._length = [0, 0, 0, 0]
54084
-
54085
- this._finalized = false
54086
- }
54087
-
54088
- inherits(HashBase, Transform)
54089
-
54090
- HashBase.prototype._transform = function (chunk, encoding, callback) {
54091
- var error = null
54092
- try {
54093
- if (encoding !== 'buffer') chunk = new Buffer(chunk, encoding)
54094
- this.update(chunk)
54095
- } catch (err) {
54096
- error = err
54097
- }
54098
-
54099
- callback(error)
54100
- }
54101
-
54102
- HashBase.prototype._flush = function (callback) {
54103
- var error = null
54104
- try {
54105
- this.push(this._digest())
54106
- } catch (err) {
54107
- error = err
54108
- }
54109
-
54110
- callback(error)
54111
- }
54112
-
54113
- HashBase.prototype.update = function (data, encoding) {
54114
- if (!Buffer.isBuffer(data) && typeof data !== 'string') throw new TypeError('Data must be a string or a buffer')
54115
- if (this._finalized) throw new Error('Digest already called')
54116
- if (!Buffer.isBuffer(data)) data = new Buffer(data, encoding || 'binary')
54117
-
54118
- // consume data
54119
- var block = this._block
54120
- var offset = 0
54121
- while (this._blockOffset + data.length - offset >= this._blockSize) {
54122
- for (var i = this._blockOffset; i < this._blockSize;) block[i++] = data[offset++]
54123
- this._update()
54124
- this._blockOffset = 0
54125
- }
54126
- while (offset < data.length) block[this._blockOffset++] = data[offset++]
54127
-
54128
- // update length
54129
- for (var j = 0, carry = data.length * 8; carry > 0; ++j) {
54130
- this._length[j] += carry
54131
- carry = (this._length[j] / 0x0100000000) | 0
54132
- if (carry > 0) this._length[j] -= 0x0100000000 * carry
54133
- }
54134
-
54135
- return this
54136
- }
54137
-
54138
- HashBase.prototype._update = function (data) {
54139
- throw new Error('_update is not implemented')
54140
- }
54141
-
54142
- HashBase.prototype.digest = function (encoding) {
54143
- if (this._finalized) throw new Error('Digest already called')
54144
- this._finalized = true
54145
-
54146
- var digest = this._digest()
54147
- if (encoding !== undefined) digest = digest.toString(encoding)
54148
- return digest
54149
- }
54150
-
54151
- HashBase.prototype._digest = function () {
54152
- throw new Error('_digest is not implemented')
54153
- }
54154
-
54155
- module.exports = HashBase
54156
-
54157
-
54158
- }),
54159
- "./node_modules/pbkdf2/node_modules/ripemd160/index.js": (function (module, __unused_webpack_exports, __webpack_require__) {
54160
- "use strict";
54161
- /* provided dependency */ var Buffer = __webpack_require__("./node_modules/buffer/index.js")["Buffer"];
54162
-
54163
- var inherits = __webpack_require__("./node_modules/inherits/inherits_browser.js")
54164
- var HashBase = __webpack_require__("./node_modules/pbkdf2/node_modules/hash-base/index.js")
54165
-
54166
- function RIPEMD160 () {
54167
- HashBase.call(this, 64)
54168
-
54169
- // state
54170
- this._a = 0x67452301
54171
- this._b = 0xefcdab89
54172
- this._c = 0x98badcfe
54173
- this._d = 0x10325476
54174
- this._e = 0xc3d2e1f0
54175
- }
54176
-
54177
- inherits(RIPEMD160, HashBase)
54178
-
54179
- RIPEMD160.prototype._update = function () {
54180
- var m = new Array(16)
54181
- for (var i = 0; i < 16; ++i) m[i] = this._block.readInt32LE(i * 4)
54182
-
54183
- var al = this._a
54184
- var bl = this._b
54185
- var cl = this._c
54186
- var dl = this._d
54187
- var el = this._e
54188
-
54189
- // Mj = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
54190
- // K = 0x00000000
54191
- // Sj = 11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8
54192
- al = fn1(al, bl, cl, dl, el, m[0], 0x00000000, 11); cl = rotl(cl, 10)
54193
- el = fn1(el, al, bl, cl, dl, m[1], 0x00000000, 14); bl = rotl(bl, 10)
54194
- dl = fn1(dl, el, al, bl, cl, m[2], 0x00000000, 15); al = rotl(al, 10)
54195
- cl = fn1(cl, dl, el, al, bl, m[3], 0x00000000, 12); el = rotl(el, 10)
54196
- bl = fn1(bl, cl, dl, el, al, m[4], 0x00000000, 5); dl = rotl(dl, 10)
54197
- al = fn1(al, bl, cl, dl, el, m[5], 0x00000000, 8); cl = rotl(cl, 10)
54198
- el = fn1(el, al, bl, cl, dl, m[6], 0x00000000, 7); bl = rotl(bl, 10)
54199
- dl = fn1(dl, el, al, bl, cl, m[7], 0x00000000, 9); al = rotl(al, 10)
54200
- cl = fn1(cl, dl, el, al, bl, m[8], 0x00000000, 11); el = rotl(el, 10)
54201
- bl = fn1(bl, cl, dl, el, al, m[9], 0x00000000, 13); dl = rotl(dl, 10)
54202
- al = fn1(al, bl, cl, dl, el, m[10], 0x00000000, 14); cl = rotl(cl, 10)
54203
- el = fn1(el, al, bl, cl, dl, m[11], 0x00000000, 15); bl = rotl(bl, 10)
54204
- dl = fn1(dl, el, al, bl, cl, m[12], 0x00000000, 6); al = rotl(al, 10)
54205
- cl = fn1(cl, dl, el, al, bl, m[13], 0x00000000, 7); el = rotl(el, 10)
54206
- bl = fn1(bl, cl, dl, el, al, m[14], 0x00000000, 9); dl = rotl(dl, 10)
54207
- al = fn1(al, bl, cl, dl, el, m[15], 0x00000000, 8); cl = rotl(cl, 10)
54208
-
54209
- // Mj = 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8
54210
- // K = 0x5a827999
54211
- // Sj = 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12
54212
- el = fn2(el, al, bl, cl, dl, m[7], 0x5a827999, 7); bl = rotl(bl, 10)
54213
- dl = fn2(dl, el, al, bl, cl, m[4], 0x5a827999, 6); al = rotl(al, 10)
54214
- cl = fn2(cl, dl, el, al, bl, m[13], 0x5a827999, 8); el = rotl(el, 10)
54215
- bl = fn2(bl, cl, dl, el, al, m[1], 0x5a827999, 13); dl = rotl(dl, 10)
54216
- al = fn2(al, bl, cl, dl, el, m[10], 0x5a827999, 11); cl = rotl(cl, 10)
54217
- el = fn2(el, al, bl, cl, dl, m[6], 0x5a827999, 9); bl = rotl(bl, 10)
54218
- dl = fn2(dl, el, al, bl, cl, m[15], 0x5a827999, 7); al = rotl(al, 10)
54219
- cl = fn2(cl, dl, el, al, bl, m[3], 0x5a827999, 15); el = rotl(el, 10)
54220
- bl = fn2(bl, cl, dl, el, al, m[12], 0x5a827999, 7); dl = rotl(dl, 10)
54221
- al = fn2(al, bl, cl, dl, el, m[0], 0x5a827999, 12); cl = rotl(cl, 10)
54222
- el = fn2(el, al, bl, cl, dl, m[9], 0x5a827999, 15); bl = rotl(bl, 10)
54223
- dl = fn2(dl, el, al, bl, cl, m[5], 0x5a827999, 9); al = rotl(al, 10)
54224
- cl = fn2(cl, dl, el, al, bl, m[2], 0x5a827999, 11); el = rotl(el, 10)
54225
- bl = fn2(bl, cl, dl, el, al, m[14], 0x5a827999, 7); dl = rotl(dl, 10)
54226
- al = fn2(al, bl, cl, dl, el, m[11], 0x5a827999, 13); cl = rotl(cl, 10)
54227
- el = fn2(el, al, bl, cl, dl, m[8], 0x5a827999, 12); bl = rotl(bl, 10)
54228
-
54229
- // Mj = 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12
54230
- // K = 0x6ed9eba1
54231
- // Sj = 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5
54232
- dl = fn3(dl, el, al, bl, cl, m[3], 0x6ed9eba1, 11); al = rotl(al, 10)
54233
- cl = fn3(cl, dl, el, al, bl, m[10], 0x6ed9eba1, 13); el = rotl(el, 10)
54234
- bl = fn3(bl, cl, dl, el, al, m[14], 0x6ed9eba1, 6); dl = rotl(dl, 10)
54235
- al = fn3(al, bl, cl, dl, el, m[4], 0x6ed9eba1, 7); cl = rotl(cl, 10)
54236
- el = fn3(el, al, bl, cl, dl, m[9], 0x6ed9eba1, 14); bl = rotl(bl, 10)
54237
- dl = fn3(dl, el, al, bl, cl, m[15], 0x6ed9eba1, 9); al = rotl(al, 10)
54238
- cl = fn3(cl, dl, el, al, bl, m[8], 0x6ed9eba1, 13); el = rotl(el, 10)
54239
- bl = fn3(bl, cl, dl, el, al, m[1], 0x6ed9eba1, 15); dl = rotl(dl, 10)
54240
- al = fn3(al, bl, cl, dl, el, m[2], 0x6ed9eba1, 14); cl = rotl(cl, 10)
54241
- el = fn3(el, al, bl, cl, dl, m[7], 0x6ed9eba1, 8); bl = rotl(bl, 10)
54242
- dl = fn3(dl, el, al, bl, cl, m[0], 0x6ed9eba1, 13); al = rotl(al, 10)
54243
- cl = fn3(cl, dl, el, al, bl, m[6], 0x6ed9eba1, 6); el = rotl(el, 10)
54244
- bl = fn3(bl, cl, dl, el, al, m[13], 0x6ed9eba1, 5); dl = rotl(dl, 10)
54245
- al = fn3(al, bl, cl, dl, el, m[11], 0x6ed9eba1, 12); cl = rotl(cl, 10)
54246
- el = fn3(el, al, bl, cl, dl, m[5], 0x6ed9eba1, 7); bl = rotl(bl, 10)
54247
- dl = fn3(dl, el, al, bl, cl, m[12], 0x6ed9eba1, 5); al = rotl(al, 10)
54248
-
54249
- // Mj = 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2
54250
- // K = 0x8f1bbcdc
54251
- // Sj = 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12
54252
- cl = fn4(cl, dl, el, al, bl, m[1], 0x8f1bbcdc, 11); el = rotl(el, 10)
54253
- bl = fn4(bl, cl, dl, el, al, m[9], 0x8f1bbcdc, 12); dl = rotl(dl, 10)
54254
- al = fn4(al, bl, cl, dl, el, m[11], 0x8f1bbcdc, 14); cl = rotl(cl, 10)
54255
- el = fn4(el, al, bl, cl, dl, m[10], 0x8f1bbcdc, 15); bl = rotl(bl, 10)
54256
- dl = fn4(dl, el, al, bl, cl, m[0], 0x8f1bbcdc, 14); al = rotl(al, 10)
54257
- cl = fn4(cl, dl, el, al, bl, m[8], 0x8f1bbcdc, 15); el = rotl(el, 10)
54258
- bl = fn4(bl, cl, dl, el, al, m[12], 0x8f1bbcdc, 9); dl = rotl(dl, 10)
54259
- al = fn4(al, bl, cl, dl, el, m[4], 0x8f1bbcdc, 8); cl = rotl(cl, 10)
54260
- el = fn4(el, al, bl, cl, dl, m[13], 0x8f1bbcdc, 9); bl = rotl(bl, 10)
54261
- dl = fn4(dl, el, al, bl, cl, m[3], 0x8f1bbcdc, 14); al = rotl(al, 10)
54262
- cl = fn4(cl, dl, el, al, bl, m[7], 0x8f1bbcdc, 5); el = rotl(el, 10)
54263
- bl = fn4(bl, cl, dl, el, al, m[15], 0x8f1bbcdc, 6); dl = rotl(dl, 10)
54264
- al = fn4(al, bl, cl, dl, el, m[14], 0x8f1bbcdc, 8); cl = rotl(cl, 10)
54265
- el = fn4(el, al, bl, cl, dl, m[5], 0x8f1bbcdc, 6); bl = rotl(bl, 10)
54266
- dl = fn4(dl, el, al, bl, cl, m[6], 0x8f1bbcdc, 5); al = rotl(al, 10)
54267
- cl = fn4(cl, dl, el, al, bl, m[2], 0x8f1bbcdc, 12); el = rotl(el, 10)
54268
-
54269
- // Mj = 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13
54270
- // K = 0xa953fd4e
54271
- // Sj = 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6
54272
- bl = fn5(bl, cl, dl, el, al, m[4], 0xa953fd4e, 9); dl = rotl(dl, 10)
54273
- al = fn5(al, bl, cl, dl, el, m[0], 0xa953fd4e, 15); cl = rotl(cl, 10)
54274
- el = fn5(el, al, bl, cl, dl, m[5], 0xa953fd4e, 5); bl = rotl(bl, 10)
54275
- dl = fn5(dl, el, al, bl, cl, m[9], 0xa953fd4e, 11); al = rotl(al, 10)
54276
- cl = fn5(cl, dl, el, al, bl, m[7], 0xa953fd4e, 6); el = rotl(el, 10)
54277
- bl = fn5(bl, cl, dl, el, al, m[12], 0xa953fd4e, 8); dl = rotl(dl, 10)
54278
- al = fn5(al, bl, cl, dl, el, m[2], 0xa953fd4e, 13); cl = rotl(cl, 10)
54279
- el = fn5(el, al, bl, cl, dl, m[10], 0xa953fd4e, 12); bl = rotl(bl, 10)
54280
- dl = fn5(dl, el, al, bl, cl, m[14], 0xa953fd4e, 5); al = rotl(al, 10)
54281
- cl = fn5(cl, dl, el, al, bl, m[1], 0xa953fd4e, 12); el = rotl(el, 10)
54282
- bl = fn5(bl, cl, dl, el, al, m[3], 0xa953fd4e, 13); dl = rotl(dl, 10)
54283
- al = fn5(al, bl, cl, dl, el, m[8], 0xa953fd4e, 14); cl = rotl(cl, 10)
54284
- el = fn5(el, al, bl, cl, dl, m[11], 0xa953fd4e, 11); bl = rotl(bl, 10)
54285
- dl = fn5(dl, el, al, bl, cl, m[6], 0xa953fd4e, 8); al = rotl(al, 10)
54286
- cl = fn5(cl, dl, el, al, bl, m[15], 0xa953fd4e, 5); el = rotl(el, 10)
54287
- bl = fn5(bl, cl, dl, el, al, m[13], 0xa953fd4e, 6); dl = rotl(dl, 10)
54288
-
54289
- var ar = this._a
54290
- var br = this._b
54291
- var cr = this._c
54292
- var dr = this._d
54293
- var er = this._e
54294
-
54295
- // M'j = 5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12
54296
- // K' = 0x50a28be6
54297
- // S'j = 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6
54298
- ar = fn5(ar, br, cr, dr, er, m[5], 0x50a28be6, 8); cr = rotl(cr, 10)
54299
- er = fn5(er, ar, br, cr, dr, m[14], 0x50a28be6, 9); br = rotl(br, 10)
54300
- dr = fn5(dr, er, ar, br, cr, m[7], 0x50a28be6, 9); ar = rotl(ar, 10)
54301
- cr = fn5(cr, dr, er, ar, br, m[0], 0x50a28be6, 11); er = rotl(er, 10)
54302
- br = fn5(br, cr, dr, er, ar, m[9], 0x50a28be6, 13); dr = rotl(dr, 10)
54303
- ar = fn5(ar, br, cr, dr, er, m[2], 0x50a28be6, 15); cr = rotl(cr, 10)
54304
- er = fn5(er, ar, br, cr, dr, m[11], 0x50a28be6, 15); br = rotl(br, 10)
54305
- dr = fn5(dr, er, ar, br, cr, m[4], 0x50a28be6, 5); ar = rotl(ar, 10)
54306
- cr = fn5(cr, dr, er, ar, br, m[13], 0x50a28be6, 7); er = rotl(er, 10)
54307
- br = fn5(br, cr, dr, er, ar, m[6], 0x50a28be6, 7); dr = rotl(dr, 10)
54308
- ar = fn5(ar, br, cr, dr, er, m[15], 0x50a28be6, 8); cr = rotl(cr, 10)
54309
- er = fn5(er, ar, br, cr, dr, m[8], 0x50a28be6, 11); br = rotl(br, 10)
54310
- dr = fn5(dr, er, ar, br, cr, m[1], 0x50a28be6, 14); ar = rotl(ar, 10)
54311
- cr = fn5(cr, dr, er, ar, br, m[10], 0x50a28be6, 14); er = rotl(er, 10)
54312
- br = fn5(br, cr, dr, er, ar, m[3], 0x50a28be6, 12); dr = rotl(dr, 10)
54313
- ar = fn5(ar, br, cr, dr, er, m[12], 0x50a28be6, 6); cr = rotl(cr, 10)
54314
-
54315
- // M'j = 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2
54316
- // K' = 0x5c4dd124
54317
- // S'j = 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11
54318
- er = fn4(er, ar, br, cr, dr, m[6], 0x5c4dd124, 9); br = rotl(br, 10)
54319
- dr = fn4(dr, er, ar, br, cr, m[11], 0x5c4dd124, 13); ar = rotl(ar, 10)
54320
- cr = fn4(cr, dr, er, ar, br, m[3], 0x5c4dd124, 15); er = rotl(er, 10)
54321
- br = fn4(br, cr, dr, er, ar, m[7], 0x5c4dd124, 7); dr = rotl(dr, 10)
54322
- ar = fn4(ar, br, cr, dr, er, m[0], 0x5c4dd124, 12); cr = rotl(cr, 10)
54323
- er = fn4(er, ar, br, cr, dr, m[13], 0x5c4dd124, 8); br = rotl(br, 10)
54324
- dr = fn4(dr, er, ar, br, cr, m[5], 0x5c4dd124, 9); ar = rotl(ar, 10)
54325
- cr = fn4(cr, dr, er, ar, br, m[10], 0x5c4dd124, 11); er = rotl(er, 10)
54326
- br = fn4(br, cr, dr, er, ar, m[14], 0x5c4dd124, 7); dr = rotl(dr, 10)
54327
- ar = fn4(ar, br, cr, dr, er, m[15], 0x5c4dd124, 7); cr = rotl(cr, 10)
54328
- er = fn4(er, ar, br, cr, dr, m[8], 0x5c4dd124, 12); br = rotl(br, 10)
54329
- dr = fn4(dr, er, ar, br, cr, m[12], 0x5c4dd124, 7); ar = rotl(ar, 10)
54330
- cr = fn4(cr, dr, er, ar, br, m[4], 0x5c4dd124, 6); er = rotl(er, 10)
54331
- br = fn4(br, cr, dr, er, ar, m[9], 0x5c4dd124, 15); dr = rotl(dr, 10)
54332
- ar = fn4(ar, br, cr, dr, er, m[1], 0x5c4dd124, 13); cr = rotl(cr, 10)
54333
- er = fn4(er, ar, br, cr, dr, m[2], 0x5c4dd124, 11); br = rotl(br, 10)
54334
-
54335
- // M'j = 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13
54336
- // K' = 0x6d703ef3
54337
- // S'j = 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5
54338
- dr = fn3(dr, er, ar, br, cr, m[15], 0x6d703ef3, 9); ar = rotl(ar, 10)
54339
- cr = fn3(cr, dr, er, ar, br, m[5], 0x6d703ef3, 7); er = rotl(er, 10)
54340
- br = fn3(br, cr, dr, er, ar, m[1], 0x6d703ef3, 15); dr = rotl(dr, 10)
54341
- ar = fn3(ar, br, cr, dr, er, m[3], 0x6d703ef3, 11); cr = rotl(cr, 10)
54342
- er = fn3(er, ar, br, cr, dr, m[7], 0x6d703ef3, 8); br = rotl(br, 10)
54343
- dr = fn3(dr, er, ar, br, cr, m[14], 0x6d703ef3, 6); ar = rotl(ar, 10)
54344
- cr = fn3(cr, dr, er, ar, br, m[6], 0x6d703ef3, 6); er = rotl(er, 10)
54345
- br = fn3(br, cr, dr, er, ar, m[9], 0x6d703ef3, 14); dr = rotl(dr, 10)
54346
- ar = fn3(ar, br, cr, dr, er, m[11], 0x6d703ef3, 12); cr = rotl(cr, 10)
54347
- er = fn3(er, ar, br, cr, dr, m[8], 0x6d703ef3, 13); br = rotl(br, 10)
54348
- dr = fn3(dr, er, ar, br, cr, m[12], 0x6d703ef3, 5); ar = rotl(ar, 10)
54349
- cr = fn3(cr, dr, er, ar, br, m[2], 0x6d703ef3, 14); er = rotl(er, 10)
54350
- br = fn3(br, cr, dr, er, ar, m[10], 0x6d703ef3, 13); dr = rotl(dr, 10)
54351
- ar = fn3(ar, br, cr, dr, er, m[0], 0x6d703ef3, 13); cr = rotl(cr, 10)
54352
- er = fn3(er, ar, br, cr, dr, m[4], 0x6d703ef3, 7); br = rotl(br, 10)
54353
- dr = fn3(dr, er, ar, br, cr, m[13], 0x6d703ef3, 5); ar = rotl(ar, 10)
54354
-
54355
- // M'j = 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14
54356
- // K' = 0x7a6d76e9
54357
- // S'j = 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8
54358
- cr = fn2(cr, dr, er, ar, br, m[8], 0x7a6d76e9, 15); er = rotl(er, 10)
54359
- br = fn2(br, cr, dr, er, ar, m[6], 0x7a6d76e9, 5); dr = rotl(dr, 10)
54360
- ar = fn2(ar, br, cr, dr, er, m[4], 0x7a6d76e9, 8); cr = rotl(cr, 10)
54361
- er = fn2(er, ar, br, cr, dr, m[1], 0x7a6d76e9, 11); br = rotl(br, 10)
54362
- dr = fn2(dr, er, ar, br, cr, m[3], 0x7a6d76e9, 14); ar = rotl(ar, 10)
54363
- cr = fn2(cr, dr, er, ar, br, m[11], 0x7a6d76e9, 14); er = rotl(er, 10)
54364
- br = fn2(br, cr, dr, er, ar, m[15], 0x7a6d76e9, 6); dr = rotl(dr, 10)
54365
- ar = fn2(ar, br, cr, dr, er, m[0], 0x7a6d76e9, 14); cr = rotl(cr, 10)
54366
- er = fn2(er, ar, br, cr, dr, m[5], 0x7a6d76e9, 6); br = rotl(br, 10)
54367
- dr = fn2(dr, er, ar, br, cr, m[12], 0x7a6d76e9, 9); ar = rotl(ar, 10)
54368
- cr = fn2(cr, dr, er, ar, br, m[2], 0x7a6d76e9, 12); er = rotl(er, 10)
54369
- br = fn2(br, cr, dr, er, ar, m[13], 0x7a6d76e9, 9); dr = rotl(dr, 10)
54370
- ar = fn2(ar, br, cr, dr, er, m[9], 0x7a6d76e9, 12); cr = rotl(cr, 10)
54371
- er = fn2(er, ar, br, cr, dr, m[7], 0x7a6d76e9, 5); br = rotl(br, 10)
54372
- dr = fn2(dr, er, ar, br, cr, m[10], 0x7a6d76e9, 15); ar = rotl(ar, 10)
54373
- cr = fn2(cr, dr, er, ar, br, m[14], 0x7a6d76e9, 8); er = rotl(er, 10)
54374
-
54375
- // M'j = 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11
54376
- // K' = 0x00000000
54377
- // S'j = 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11
54378
- br = fn1(br, cr, dr, er, ar, m[12], 0x00000000, 8); dr = rotl(dr, 10)
54379
- ar = fn1(ar, br, cr, dr, er, m[15], 0x00000000, 5); cr = rotl(cr, 10)
54380
- er = fn1(er, ar, br, cr, dr, m[10], 0x00000000, 12); br = rotl(br, 10)
54381
- dr = fn1(dr, er, ar, br, cr, m[4], 0x00000000, 9); ar = rotl(ar, 10)
54382
- cr = fn1(cr, dr, er, ar, br, m[1], 0x00000000, 12); er = rotl(er, 10)
54383
- br = fn1(br, cr, dr, er, ar, m[5], 0x00000000, 5); dr = rotl(dr, 10)
54384
- ar = fn1(ar, br, cr, dr, er, m[8], 0x00000000, 14); cr = rotl(cr, 10)
54385
- er = fn1(er, ar, br, cr, dr, m[7], 0x00000000, 6); br = rotl(br, 10)
54386
- dr = fn1(dr, er, ar, br, cr, m[6], 0x00000000, 8); ar = rotl(ar, 10)
54387
- cr = fn1(cr, dr, er, ar, br, m[2], 0x00000000, 13); er = rotl(er, 10)
54388
- br = fn1(br, cr, dr, er, ar, m[13], 0x00000000, 6); dr = rotl(dr, 10)
54389
- ar = fn1(ar, br, cr, dr, er, m[14], 0x00000000, 5); cr = rotl(cr, 10)
54390
- er = fn1(er, ar, br, cr, dr, m[0], 0x00000000, 15); br = rotl(br, 10)
54391
- dr = fn1(dr, er, ar, br, cr, m[3], 0x00000000, 13); ar = rotl(ar, 10)
54392
- cr = fn1(cr, dr, er, ar, br, m[9], 0x00000000, 11); er = rotl(er, 10)
54393
- br = fn1(br, cr, dr, er, ar, m[11], 0x00000000, 11); dr = rotl(dr, 10)
54394
-
54395
- // change state
54396
- var t = (this._b + cl + dr) | 0
54397
- this._b = (this._c + dl + er) | 0
54398
- this._c = (this._d + el + ar) | 0
54399
- this._d = (this._e + al + br) | 0
54400
- this._e = (this._a + bl + cr) | 0
54401
- this._a = t
54402
- }
54403
-
54404
- RIPEMD160.prototype._digest = function () {
54405
- // create padding and handle blocks
54406
- this._block[this._blockOffset++] = 0x80
54407
- if (this._blockOffset > 56) {
54408
- this._block.fill(0, this._blockOffset, 64)
54409
- this._update()
54410
- this._blockOffset = 0
54411
- }
54412
-
54413
- this._block.fill(0, this._blockOffset, 56)
54414
- this._block.writeUInt32LE(this._length[0], 56)
54415
- this._block.writeUInt32LE(this._length[1], 60)
54416
- this._update()
54417
-
54418
- // produce result
54419
- var buffer = new Buffer(20)
54420
- buffer.writeInt32LE(this._a, 0)
54421
- buffer.writeInt32LE(this._b, 4)
54422
- buffer.writeInt32LE(this._c, 8)
54423
- buffer.writeInt32LE(this._d, 12)
54424
- buffer.writeInt32LE(this._e, 16)
54425
- return buffer
54426
- }
54427
-
54428
- function rotl (x, n) {
54429
- return (x << n) | (x >>> (32 - n))
54430
- }
54431
-
54432
- function fn1 (a, b, c, d, e, m, k, s) {
54433
- return (rotl((a + (b ^ c ^ d) + m + k) | 0, s) + e) | 0
54434
- }
54435
-
54436
- function fn2 (a, b, c, d, e, m, k, s) {
54437
- return (rotl((a + ((b & c) | ((~b) & d)) + m + k) | 0, s) + e) | 0
54438
- }
54439
-
54440
- function fn3 (a, b, c, d, e, m, k, s) {
54441
- return (rotl((a + ((b | (~c)) ^ d) + m + k) | 0, s) + e) | 0
54442
- }
54443
-
54444
- function fn4 (a, b, c, d, e, m, k, s) {
54445
- return (rotl((a + ((b & d) | (c & (~d))) + m + k) | 0, s) + e) | 0
54446
- }
54447
-
54448
- function fn5 (a, b, c, d, e, m, k, s) {
54449
- return (rotl((a + (b ^ (c | (~d))) + m + k) | 0, s) + e) | 0
54450
- }
54451
-
54452
- module.exports = RIPEMD160
54453
-
54454
-
54455
53811
  }),
54456
53812
  "./node_modules/possible-typed-array-names/index.js": (function (module) {
54457
53813
  "use strict";
@@ -58879,168 +58235,3056 @@ RetryOperation.prototype.mainError = function() {
58879
58235
  "./node_modules/ripemd160/index.js": (function (module, __unused_webpack_exports, __webpack_require__) {
58880
58236
  "use strict";
58881
58237
 
58882
- var Buffer = (__webpack_require__("./node_modules/buffer/index.js")/* .Buffer */.Buffer)
58883
- var inherits = __webpack_require__("./node_modules/inherits/inherits_browser.js")
58884
- var HashBase = __webpack_require__("./node_modules/hash-base/index.js")
58885
58238
 
58886
- var ARRAY16 = new Array(16)
58239
+ var Buffer = (__webpack_require__("./node_modules/buffer/index.js")/* .Buffer */.Buffer);
58240
+ var inherits = __webpack_require__("./node_modules/inherits/inherits_browser.js");
58241
+ var HashBase = __webpack_require__("./node_modules/ripemd160/node_modules/hash-base/index.js");
58242
+
58243
+ var ARRAY16 = new Array(16);
58244
+
58245
+ var zl = [
58246
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
58247
+ 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8,
58248
+ 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12,
58249
+ 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2,
58250
+ 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13
58251
+ ];
58252
+
58253
+ var zr = [
58254
+ 5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12,
58255
+ 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2,
58256
+ 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13,
58257
+ 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14,
58258
+ 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11
58259
+ ];
58260
+
58261
+ var sl = [
58262
+ 11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8,
58263
+ 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12,
58264
+ 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5,
58265
+ 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12,
58266
+ 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6
58267
+ ];
58268
+
58269
+ var sr = [
58270
+ 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6,
58271
+ 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11,
58272
+ 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5,
58273
+ 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8,
58274
+ 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11
58275
+ ];
58276
+
58277
+ var hl = [0x00000000, 0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xa953fd4e];
58278
+ var hr = [0x50a28be6, 0x5c4dd124, 0x6d703ef3, 0x7a6d76e9, 0x00000000];
58279
+
58280
+ function rotl(x, n) {
58281
+ return (x << n) | (x >>> (32 - n));
58282
+ }
58283
+
58284
+ function fn1(a, b, c, d, e, m, k, s) {
58285
+ return (rotl((a + (b ^ c ^ d) + m + k) | 0, s) + e) | 0;
58286
+ }
58287
+
58288
+ function fn2(a, b, c, d, e, m, k, s) {
58289
+ return (rotl((a + ((b & c) | (~b & d)) + m + k) | 0, s) + e) | 0;
58290
+ }
58291
+
58292
+ function fn3(a, b, c, d, e, m, k, s) {
58293
+ return (rotl((a + ((b | ~c) ^ d) + m + k) | 0, s) + e) | 0;
58294
+ }
58295
+
58296
+ function fn4(a, b, c, d, e, m, k, s) {
58297
+ return (rotl((a + ((b & d) | (c & ~d)) + m + k) | 0, s) + e) | 0;
58298
+ }
58299
+
58300
+ function fn5(a, b, c, d, e, m, k, s) {
58301
+ return (rotl((a + (b ^ (c | ~d)) + m + k) | 0, s) + e) | 0;
58302
+ }
58303
+
58304
+ function RIPEMD160() {
58305
+ HashBase.call(this, 64);
58306
+
58307
+ // state
58308
+ this._a = 0x67452301;
58309
+ this._b = 0xefcdab89;
58310
+ this._c = 0x98badcfe;
58311
+ this._d = 0x10325476;
58312
+ this._e = 0xc3d2e1f0;
58313
+ }
58314
+
58315
+ inherits(RIPEMD160, HashBase);
58316
+
58317
+ RIPEMD160.prototype._update = function () {
58318
+ var words = ARRAY16;
58319
+ for (var j = 0; j < 16; ++j) {
58320
+ words[j] = this._block.readInt32LE(j * 4);
58321
+ }
58322
+
58323
+ var al = this._a | 0;
58324
+ var bl = this._b | 0;
58325
+ var cl = this._c | 0;
58326
+ var dl = this._d | 0;
58327
+ var el = this._e | 0;
58328
+
58329
+ var ar = this._a | 0;
58330
+ var br = this._b | 0;
58331
+ var cr = this._c | 0;
58332
+ var dr = this._d | 0;
58333
+ var er = this._e | 0;
58334
+
58335
+ // computation
58336
+ for (var i = 0; i < 80; i += 1) {
58337
+ var tl;
58338
+ var tr;
58339
+ if (i < 16) {
58340
+ tl = fn1(al, bl, cl, dl, el, words[zl[i]], hl[0], sl[i]);
58341
+ tr = fn5(ar, br, cr, dr, er, words[zr[i]], hr[0], sr[i]);
58342
+ } else if (i < 32) {
58343
+ tl = fn2(al, bl, cl, dl, el, words[zl[i]], hl[1], sl[i]);
58344
+ tr = fn4(ar, br, cr, dr, er, words[zr[i]], hr[1], sr[i]);
58345
+ } else if (i < 48) {
58346
+ tl = fn3(al, bl, cl, dl, el, words[zl[i]], hl[2], sl[i]);
58347
+ tr = fn3(ar, br, cr, dr, er, words[zr[i]], hr[2], sr[i]);
58348
+ } else if (i < 64) {
58349
+ tl = fn4(al, bl, cl, dl, el, words[zl[i]], hl[3], sl[i]);
58350
+ tr = fn2(ar, br, cr, dr, er, words[zr[i]], hr[3], sr[i]);
58351
+ } else { // if (i<80) {
58352
+ tl = fn5(al, bl, cl, dl, el, words[zl[i]], hl[4], sl[i]);
58353
+ tr = fn1(ar, br, cr, dr, er, words[zr[i]], hr[4], sr[i]);
58354
+ }
58355
+
58356
+ al = el;
58357
+ el = dl;
58358
+ dl = rotl(cl, 10);
58359
+ cl = bl;
58360
+ bl = tl;
58361
+
58362
+ ar = er;
58363
+ er = dr;
58364
+ dr = rotl(cr, 10);
58365
+ cr = br;
58366
+ br = tr;
58367
+ }
58368
+
58369
+ // update state
58370
+ var t = (this._b + cl + dr) | 0;
58371
+ this._b = (this._c + dl + er) | 0;
58372
+ this._c = (this._d + el + ar) | 0;
58373
+ this._d = (this._e + al + br) | 0;
58374
+ this._e = (this._a + bl + cr) | 0;
58375
+ this._a = t;
58376
+ };
58377
+
58378
+ RIPEMD160.prototype._digest = function () {
58379
+ // create padding and handle blocks
58380
+ this._block[this._blockOffset] = 0x80;
58381
+ this._blockOffset += 1;
58382
+ if (this._blockOffset > 56) {
58383
+ this._block.fill(0, this._blockOffset, 64);
58384
+ this._update();
58385
+ this._blockOffset = 0;
58386
+ }
58387
+
58388
+ this._block.fill(0, this._blockOffset, 56);
58389
+ this._block.writeUInt32LE(this._length[0], 56);
58390
+ this._block.writeUInt32LE(this._length[1], 60);
58391
+ this._update();
58392
+
58393
+ // produce result
58394
+ var buffer = Buffer.alloc ? Buffer.alloc(20) : new Buffer(20); // eslint-disable-line no-buffer-constructor
58395
+ buffer.writeInt32LE(this._a, 0);
58396
+ buffer.writeInt32LE(this._b, 4);
58397
+ buffer.writeInt32LE(this._c, 8);
58398
+ buffer.writeInt32LE(this._d, 12);
58399
+ buffer.writeInt32LE(this._e, 16);
58400
+ return buffer;
58401
+ };
58402
+
58403
+ module.exports = RIPEMD160;
58404
+
58405
+
58406
+ }),
58407
+ "./node_modules/ripemd160/node_modules/hash-base/index.js": (function (module, __unused_webpack_exports, __webpack_require__) {
58408
+ "use strict";
58409
+
58410
+
58411
+ var Buffer = (__webpack_require__("./node_modules/safe-buffer/index.js")/* .Buffer */.Buffer);
58412
+ var toBuffer = __webpack_require__("./node_modules/ripemd160/node_modules/hash-base/to-buffer.js");
58413
+ var Transform = (__webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/readable-browser.js")/* .Transform */.Transform);
58414
+ var inherits = __webpack_require__("./node_modules/inherits/inherits_browser.js");
58415
+
58416
+ function HashBase(blockSize) {
58417
+ Transform.call(this);
58418
+
58419
+ this._block = Buffer.allocUnsafe(blockSize);
58420
+ this._blockSize = blockSize;
58421
+ this._blockOffset = 0;
58422
+ this._length = [0, 0, 0, 0];
58423
+
58424
+ this._finalized = false;
58425
+ }
58426
+
58427
+ inherits(HashBase, Transform);
58428
+
58429
+ HashBase.prototype._transform = function (chunk, encoding, callback) {
58430
+ var error = null;
58431
+ try {
58432
+ this.update(chunk, encoding);
58433
+ } catch (err) {
58434
+ error = err;
58435
+ }
58436
+
58437
+ callback(error);
58438
+ };
58439
+
58440
+ HashBase.prototype._flush = function (callback) {
58441
+ var error = null;
58442
+ try {
58443
+ this.push(this.digest());
58444
+ } catch (err) {
58445
+ error = err;
58446
+ }
58447
+
58448
+ callback(error);
58449
+ };
58450
+
58451
+ HashBase.prototype.update = function (data, encoding) {
58452
+ if (this._finalized) {
58453
+ throw new Error('Digest already called');
58454
+ }
58455
+
58456
+ var dataBuffer = toBuffer(data, encoding); // asserts correct input type
58457
+
58458
+ // consume data
58459
+ var block = this._block;
58460
+ var offset = 0;
58461
+ while (this._blockOffset + dataBuffer.length - offset >= this._blockSize) {
58462
+ for (var i = this._blockOffset; i < this._blockSize;) {
58463
+ block[i] = dataBuffer[offset];
58464
+ i += 1;
58465
+ offset += 1;
58466
+ }
58467
+ this._update();
58468
+ this._blockOffset = 0;
58469
+ }
58470
+ while (offset < dataBuffer.length) {
58471
+ block[this._blockOffset] = dataBuffer[offset];
58472
+ this._blockOffset += 1;
58473
+ offset += 1;
58474
+ }
58475
+
58476
+ // update length
58477
+ for (var j = 0, carry = dataBuffer.length * 8; carry > 0; ++j) {
58478
+ this._length[j] += carry;
58479
+ carry = (this._length[j] / 0x0100000000) | 0;
58480
+ if (carry > 0) {
58481
+ this._length[j] -= 0x0100000000 * carry;
58482
+ }
58483
+ }
58484
+
58485
+ return this;
58486
+ };
58487
+
58488
+ HashBase.prototype._update = function () {
58489
+ throw new Error('_update is not implemented');
58490
+ };
58491
+
58492
+ HashBase.prototype.digest = function (encoding) {
58493
+ if (this._finalized) {
58494
+ throw new Error('Digest already called');
58495
+ }
58496
+ this._finalized = true;
58497
+
58498
+ var digest = this._digest();
58499
+ if (encoding !== undefined) {
58500
+ digest = digest.toString(encoding);
58501
+ }
58502
+
58503
+ // reset state
58504
+ this._block.fill(0);
58505
+ this._blockOffset = 0;
58506
+ for (var i = 0; i < 4; ++i) {
58507
+ this._length[i] = 0;
58508
+ }
58509
+
58510
+ return digest;
58511
+ };
58512
+
58513
+ HashBase.prototype._digest = function () {
58514
+ throw new Error('_digest is not implemented');
58515
+ };
58516
+
58517
+ module.exports = HashBase;
58518
+
58519
+
58520
+ }),
58521
+ "./node_modules/ripemd160/node_modules/hash-base/to-buffer.js": (function (module, __unused_webpack_exports, __webpack_require__) {
58522
+ "use strict";
58523
+
58524
+
58525
+ var Buffer = (__webpack_require__("./node_modules/safe-buffer/index.js")/* .Buffer */.Buffer);
58526
+ var toBuffer = __webpack_require__("./node_modules/to-buffer/index.js");
58527
+
58528
+ var useUint8Array = typeof Uint8Array !== 'undefined';
58529
+ var useArrayBuffer = useUint8Array && typeof ArrayBuffer !== 'undefined';
58530
+ var isView = useArrayBuffer && ArrayBuffer.isView;
58531
+
58532
+ module.exports = function (thing, encoding) {
58533
+ if (
58534
+ typeof thing === 'string'
58535
+ || Buffer.isBuffer(thing)
58536
+ || (useUint8Array && thing instanceof Uint8Array)
58537
+ || (isView && isView(thing))
58538
+ ) {
58539
+ return toBuffer(thing, encoding);
58540
+ }
58541
+ throw new TypeError('The "data" argument must be a string, a Buffer, a Uint8Array, or a DataView');
58542
+ };
58543
+
58544
+
58545
+ }),
58546
+ "./node_modules/ripemd160/node_modules/isarray/index.js": (function (module) {
58547
+ var toString = {}.toString;
58548
+
58549
+ module.exports = Array.isArray || function (arr) {
58550
+ return toString.call(arr) == '[object Array]';
58551
+ };
58552
+
58553
+
58554
+ }),
58555
+ "./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js": (function (module, __unused_webpack_exports, __webpack_require__) {
58556
+ "use strict";
58557
+ // Copyright Joyent, Inc. and other Node contributors.
58558
+ //
58559
+ // Permission is hereby granted, free of charge, to any person obtaining a
58560
+ // copy of this software and associated documentation files (the
58561
+ // "Software"), to deal in the Software without restriction, including
58562
+ // without limitation the rights to use, copy, modify, merge, publish,
58563
+ // distribute, sublicense, and/or sell copies of the Software, and to permit
58564
+ // persons to whom the Software is furnished to do so, subject to the
58565
+ // following conditions:
58566
+ //
58567
+ // The above copyright notice and this permission notice shall be included
58568
+ // in all copies or substantial portions of the Software.
58569
+ //
58570
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
58571
+ // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
58572
+ // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
58573
+ // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
58574
+ // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
58575
+ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
58576
+ // USE OR OTHER DEALINGS IN THE SOFTWARE.
58577
+
58578
+ // a duplex stream is just a stream that is both readable and writable.
58579
+ // Since JS doesn't have multiple prototypal inheritance, this class
58580
+ // prototypally inherits from Readable, and then parasitically from
58581
+ // Writable.
58582
+
58583
+
58584
+
58585
+ /*<replacement>*/
58586
+
58587
+ var pna = __webpack_require__("./node_modules/process-nextick-args/index.js");
58588
+ /*</replacement>*/
58589
+
58590
+ /*<replacement>*/
58591
+ var objectKeys = Object.keys || function (obj) {
58592
+ var keys = [];
58593
+ for (var key in obj) {
58594
+ keys.push(key);
58595
+ }return keys;
58596
+ };
58597
+ /*</replacement>*/
58598
+
58599
+ module.exports = Duplex;
58600
+
58601
+ /*<replacement>*/
58602
+ var util = Object.create(__webpack_require__("./node_modules/core-util-is/lib/util.js"));
58603
+ util.inherits = __webpack_require__("./node_modules/inherits/inherits_browser.js");
58604
+ /*</replacement>*/
58605
+
58606
+ var Readable = __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_readable.js");
58607
+ var Writable = __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_writable.js");
58608
+
58609
+ util.inherits(Duplex, Readable);
58610
+
58611
+ {
58612
+ // avoid scope creep, the keys array can then be collected
58613
+ var keys = objectKeys(Writable.prototype);
58614
+ for (var v = 0; v < keys.length; v++) {
58615
+ var method = keys[v];
58616
+ if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];
58617
+ }
58618
+ }
58619
+
58620
+ function Duplex(options) {
58621
+ if (!(this instanceof Duplex)) return new Duplex(options);
58622
+
58623
+ Readable.call(this, options);
58624
+ Writable.call(this, options);
58625
+
58626
+ if (options && options.readable === false) this.readable = false;
58627
+
58628
+ if (options && options.writable === false) this.writable = false;
58629
+
58630
+ this.allowHalfOpen = true;
58631
+ if (options && options.allowHalfOpen === false) this.allowHalfOpen = false;
58632
+
58633
+ this.once('end', onend);
58634
+ }
58635
+
58636
+ Object.defineProperty(Duplex.prototype, 'writableHighWaterMark', {
58637
+ // making it explicit this property is not enumerable
58638
+ // because otherwise some prototype manipulation in
58639
+ // userland will fail
58640
+ enumerable: false,
58641
+ get: function () {
58642
+ return this._writableState.highWaterMark;
58643
+ }
58644
+ });
58645
+
58646
+ // the no-half-open enforcer
58647
+ function onend() {
58648
+ // if we allow half-open state, or if the writable side ended,
58649
+ // then we're ok.
58650
+ if (this.allowHalfOpen || this._writableState.ended) return;
58651
+
58652
+ // no more data can be written.
58653
+ // But allow more writes to happen in this tick.
58654
+ pna.nextTick(onEndNT, this);
58655
+ }
58656
+
58657
+ function onEndNT(self) {
58658
+ self.end();
58659
+ }
58660
+
58661
+ Object.defineProperty(Duplex.prototype, 'destroyed', {
58662
+ get: function () {
58663
+ if (this._readableState === undefined || this._writableState === undefined) {
58664
+ return false;
58665
+ }
58666
+ return this._readableState.destroyed && this._writableState.destroyed;
58667
+ },
58668
+ set: function (value) {
58669
+ // we ignore the value if the stream
58670
+ // has not been initialized yet
58671
+ if (this._readableState === undefined || this._writableState === undefined) {
58672
+ return;
58673
+ }
58674
+
58675
+ // backward compatibility, the user is explicitly
58676
+ // managing destroyed
58677
+ this._readableState.destroyed = value;
58678
+ this._writableState.destroyed = value;
58679
+ }
58680
+ });
58681
+
58682
+ Duplex.prototype._destroy = function (err, cb) {
58683
+ this.push(null);
58684
+ this.end();
58685
+
58686
+ pna.nextTick(cb, err);
58687
+ };
58688
+
58689
+ }),
58690
+ "./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_passthrough.js": (function (module, __unused_webpack_exports, __webpack_require__) {
58691
+ "use strict";
58692
+ // Copyright Joyent, Inc. and other Node contributors.
58693
+ //
58694
+ // Permission is hereby granted, free of charge, to any person obtaining a
58695
+ // copy of this software and associated documentation files (the
58696
+ // "Software"), to deal in the Software without restriction, including
58697
+ // without limitation the rights to use, copy, modify, merge, publish,
58698
+ // distribute, sublicense, and/or sell copies of the Software, and to permit
58699
+ // persons to whom the Software is furnished to do so, subject to the
58700
+ // following conditions:
58701
+ //
58702
+ // The above copyright notice and this permission notice shall be included
58703
+ // in all copies or substantial portions of the Software.
58704
+ //
58705
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
58706
+ // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
58707
+ // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
58708
+ // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
58709
+ // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
58710
+ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
58711
+ // USE OR OTHER DEALINGS IN THE SOFTWARE.
58712
+
58713
+ // a passthrough stream.
58714
+ // basically just the most minimal sort of Transform stream.
58715
+ // Every written chunk gets output as-is.
58716
+
58717
+
58718
+
58719
+ module.exports = PassThrough;
58720
+
58721
+ var Transform = __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_transform.js");
58722
+
58723
+ /*<replacement>*/
58724
+ var util = Object.create(__webpack_require__("./node_modules/core-util-is/lib/util.js"));
58725
+ util.inherits = __webpack_require__("./node_modules/inherits/inherits_browser.js");
58726
+ /*</replacement>*/
58727
+
58728
+ util.inherits(PassThrough, Transform);
58729
+
58730
+ function PassThrough(options) {
58731
+ if (!(this instanceof PassThrough)) return new PassThrough(options);
58732
+
58733
+ Transform.call(this, options);
58734
+ }
58735
+
58736
+ PassThrough.prototype._transform = function (chunk, encoding, cb) {
58737
+ cb(null, chunk);
58738
+ };
58739
+
58740
+ }),
58741
+ "./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_readable.js": (function (module, __unused_webpack_exports, __webpack_require__) {
58742
+ "use strict";
58743
+ /* provided dependency */ var process = __webpack_require__("./node_modules/process/browser.js");
58744
+ // Copyright Joyent, Inc. and other Node contributors.
58745
+ //
58746
+ // Permission is hereby granted, free of charge, to any person obtaining a
58747
+ // copy of this software and associated documentation files (the
58748
+ // "Software"), to deal in the Software without restriction, including
58749
+ // without limitation the rights to use, copy, modify, merge, publish,
58750
+ // distribute, sublicense, and/or sell copies of the Software, and to permit
58751
+ // persons to whom the Software is furnished to do so, subject to the
58752
+ // following conditions:
58753
+ //
58754
+ // The above copyright notice and this permission notice shall be included
58755
+ // in all copies or substantial portions of the Software.
58756
+ //
58757
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
58758
+ // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
58759
+ // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
58760
+ // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
58761
+ // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
58762
+ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
58763
+ // USE OR OTHER DEALINGS IN THE SOFTWARE.
58764
+
58765
+
58766
+
58767
+ /*<replacement>*/
58768
+
58769
+ var pna = __webpack_require__("./node_modules/process-nextick-args/index.js");
58770
+ /*</replacement>*/
58771
+
58772
+ module.exports = Readable;
58773
+
58774
+ /*<replacement>*/
58775
+ var isArray = __webpack_require__("./node_modules/ripemd160/node_modules/isarray/index.js");
58776
+ /*</replacement>*/
58777
+
58778
+ /*<replacement>*/
58779
+ var Duplex;
58780
+ /*</replacement>*/
58781
+
58782
+ Readable.ReadableState = ReadableState;
58783
+
58784
+ /*<replacement>*/
58785
+ var EE = (__webpack_require__("./node_modules/events/events.js")/* .EventEmitter */.EventEmitter);
58786
+
58787
+ var EElistenerCount = function (emitter, type) {
58788
+ return emitter.listeners(type).length;
58789
+ };
58790
+ /*</replacement>*/
58791
+
58792
+ /*<replacement>*/
58793
+ var Stream = __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/stream-browser.js");
58794
+ /*</replacement>*/
58795
+
58796
+ /*<replacement>*/
58797
+
58798
+ var Buffer = (__webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/node_modules/safe-buffer/index.js")/* .Buffer */.Buffer);
58799
+ var OurUint8Array = (typeof __webpack_require__.g !== 'undefined' ? __webpack_require__.g : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {};
58800
+ function _uint8ArrayToBuffer(chunk) {
58801
+ return Buffer.from(chunk);
58802
+ }
58803
+ function _isUint8Array(obj) {
58804
+ return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;
58805
+ }
58806
+
58807
+ /*</replacement>*/
58808
+
58809
+ /*<replacement>*/
58810
+ var util = Object.create(__webpack_require__("./node_modules/core-util-is/lib/util.js"));
58811
+ util.inherits = __webpack_require__("./node_modules/inherits/inherits_browser.js");
58812
+ /*</replacement>*/
58813
+
58814
+ /*<replacement>*/
58815
+ var debugUtil = __webpack_require__("?5084");
58816
+ var debug = void 0;
58817
+ if (debugUtil && debugUtil.debuglog) {
58818
+ debug = debugUtil.debuglog('stream');
58819
+ } else {
58820
+ debug = function () {};
58821
+ }
58822
+ /*</replacement>*/
58823
+
58824
+ var BufferList = __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/BufferList.js");
58825
+ var destroyImpl = __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/destroy.js");
58826
+ var StringDecoder;
58827
+
58828
+ util.inherits(Readable, Stream);
58829
+
58830
+ var kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];
58831
+
58832
+ function prependListener(emitter, event, fn) {
58833
+ // Sadly this is not cacheable as some libraries bundle their own
58834
+ // event emitter implementation with them.
58835
+ if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);
58836
+
58837
+ // This is a hack to make sure that our error handler is attached before any
58838
+ // userland ones. NEVER DO THIS. This is here only because this code needs
58839
+ // to continue to work with older versions of Node.js that do not include
58840
+ // the prependListener() method. The goal is to eventually remove this hack.
58841
+ if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];
58842
+ }
58843
+
58844
+ function ReadableState(options, stream) {
58845
+ Duplex = Duplex || __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js");
58846
+
58847
+ options = options || {};
58848
+
58849
+ // Duplex streams are both readable and writable, but share
58850
+ // the same options object.
58851
+ // However, some cases require setting options to different
58852
+ // values for the readable and the writable sides of the duplex stream.
58853
+ // These options can be provided separately as readableXXX and writableXXX.
58854
+ var isDuplex = stream instanceof Duplex;
58855
+
58856
+ // object stream flag. Used to make read(n) ignore n and to
58857
+ // make all the buffer merging and length checks go away
58858
+ this.objectMode = !!options.objectMode;
58859
+
58860
+ if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;
58861
+
58862
+ // the point at which it stops calling _read() to fill the buffer
58863
+ // Note: 0 is a valid value, means "don't call _read preemptively ever"
58864
+ var hwm = options.highWaterMark;
58865
+ var readableHwm = options.readableHighWaterMark;
58866
+ var defaultHwm = this.objectMode ? 16 : 16 * 1024;
58867
+
58868
+ if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm === 0)) this.highWaterMark = readableHwm;else this.highWaterMark = defaultHwm;
58869
+
58870
+ // cast to ints.
58871
+ this.highWaterMark = Math.floor(this.highWaterMark);
58872
+
58873
+ // A linked list is used to store data chunks instead of an array because the
58874
+ // linked list can remove elements from the beginning faster than
58875
+ // array.shift()
58876
+ this.buffer = new BufferList();
58877
+ this.length = 0;
58878
+ this.pipes = null;
58879
+ this.pipesCount = 0;
58880
+ this.flowing = null;
58881
+ this.ended = false;
58882
+ this.endEmitted = false;
58883
+ this.reading = false;
58884
+
58885
+ // a flag to be able to tell if the event 'readable'/'data' is emitted
58886
+ // immediately, or on a later tick. We set this to true at first, because
58887
+ // any actions that shouldn't happen until "later" should generally also
58888
+ // not happen before the first read call.
58889
+ this.sync = true;
58890
+
58891
+ // whenever we return null, then we set a flag to say
58892
+ // that we're awaiting a 'readable' event emission.
58893
+ this.needReadable = false;
58894
+ this.emittedReadable = false;
58895
+ this.readableListening = false;
58896
+ this.resumeScheduled = false;
58897
+
58898
+ // has it been destroyed
58899
+ this.destroyed = false;
58900
+
58901
+ // Crypto is kind of old and crusty. Historically, its default string
58902
+ // encoding is 'binary' so we have to make this configurable.
58903
+ // Everything else in the universe uses 'utf8', though.
58904
+ this.defaultEncoding = options.defaultEncoding || 'utf8';
58905
+
58906
+ // the number of writers that are awaiting a drain event in .pipe()s
58907
+ this.awaitDrain = 0;
58908
+
58909
+ // if true, a maybeReadMore has been scheduled
58910
+ this.readingMore = false;
58911
+
58912
+ this.decoder = null;
58913
+ this.encoding = null;
58914
+ if (options.encoding) {
58915
+ if (!StringDecoder) StringDecoder = (__webpack_require__("./node_modules/ripemd160/node_modules/string_decoder/lib/string_decoder.js")/* .StringDecoder */.StringDecoder);
58916
+ this.decoder = new StringDecoder(options.encoding);
58917
+ this.encoding = options.encoding;
58918
+ }
58919
+ }
58920
+
58921
+ function Readable(options) {
58922
+ Duplex = Duplex || __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js");
58923
+
58924
+ if (!(this instanceof Readable)) return new Readable(options);
58925
+
58926
+ this._readableState = new ReadableState(options, this);
58927
+
58928
+ // legacy
58929
+ this.readable = true;
58930
+
58931
+ if (options) {
58932
+ if (typeof options.read === 'function') this._read = options.read;
58933
+
58934
+ if (typeof options.destroy === 'function') this._destroy = options.destroy;
58935
+ }
58936
+
58937
+ Stream.call(this);
58938
+ }
58939
+
58940
+ Object.defineProperty(Readable.prototype, 'destroyed', {
58941
+ get: function () {
58942
+ if (this._readableState === undefined) {
58943
+ return false;
58944
+ }
58945
+ return this._readableState.destroyed;
58946
+ },
58947
+ set: function (value) {
58948
+ // we ignore the value if the stream
58949
+ // has not been initialized yet
58950
+ if (!this._readableState) {
58951
+ return;
58952
+ }
58953
+
58954
+ // backward compatibility, the user is explicitly
58955
+ // managing destroyed
58956
+ this._readableState.destroyed = value;
58957
+ }
58958
+ });
58959
+
58960
+ Readable.prototype.destroy = destroyImpl.destroy;
58961
+ Readable.prototype._undestroy = destroyImpl.undestroy;
58962
+ Readable.prototype._destroy = function (err, cb) {
58963
+ this.push(null);
58964
+ cb(err);
58965
+ };
58966
+
58967
+ // Manually shove something into the read() buffer.
58968
+ // This returns true if the highWaterMark has not been hit yet,
58969
+ // similar to how Writable.write() returns true if you should
58970
+ // write() some more.
58971
+ Readable.prototype.push = function (chunk, encoding) {
58972
+ var state = this._readableState;
58973
+ var skipChunkCheck;
58974
+
58975
+ if (!state.objectMode) {
58976
+ if (typeof chunk === 'string') {
58977
+ encoding = encoding || state.defaultEncoding;
58978
+ if (encoding !== state.encoding) {
58979
+ chunk = Buffer.from(chunk, encoding);
58980
+ encoding = '';
58981
+ }
58982
+ skipChunkCheck = true;
58983
+ }
58984
+ } else {
58985
+ skipChunkCheck = true;
58986
+ }
58987
+
58988
+ return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);
58989
+ };
58990
+
58991
+ // Unshift should *always* be something directly out of read()
58992
+ Readable.prototype.unshift = function (chunk) {
58993
+ return readableAddChunk(this, chunk, null, true, false);
58994
+ };
58995
+
58996
+ function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {
58997
+ var state = stream._readableState;
58998
+ if (chunk === null) {
58999
+ state.reading = false;
59000
+ onEofChunk(stream, state);
59001
+ } else {
59002
+ var er;
59003
+ if (!skipChunkCheck) er = chunkInvalid(state, chunk);
59004
+ if (er) {
59005
+ stream.emit('error', er);
59006
+ } else if (state.objectMode || chunk && chunk.length > 0) {
59007
+ if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {
59008
+ chunk = _uint8ArrayToBuffer(chunk);
59009
+ }
59010
+
59011
+ if (addToFront) {
59012
+ if (state.endEmitted) stream.emit('error', new Error('stream.unshift() after end event'));else addChunk(stream, state, chunk, true);
59013
+ } else if (state.ended) {
59014
+ stream.emit('error', new Error('stream.push() after EOF'));
59015
+ } else {
59016
+ state.reading = false;
59017
+ if (state.decoder && !encoding) {
59018
+ chunk = state.decoder.write(chunk);
59019
+ if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);
59020
+ } else {
59021
+ addChunk(stream, state, chunk, false);
59022
+ }
59023
+ }
59024
+ } else if (!addToFront) {
59025
+ state.reading = false;
59026
+ }
59027
+ }
59028
+
59029
+ return needMoreData(state);
59030
+ }
59031
+
59032
+ function addChunk(stream, state, chunk, addToFront) {
59033
+ if (state.flowing && state.length === 0 && !state.sync) {
59034
+ stream.emit('data', chunk);
59035
+ stream.read(0);
59036
+ } else {
59037
+ // update the buffer info.
59038
+ state.length += state.objectMode ? 1 : chunk.length;
59039
+ if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);
59040
+
59041
+ if (state.needReadable) emitReadable(stream);
59042
+ }
59043
+ maybeReadMore(stream, state);
59044
+ }
59045
+
59046
+ function chunkInvalid(state, chunk) {
59047
+ var er;
59048
+ if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {
59049
+ er = new TypeError('Invalid non-string/buffer chunk');
59050
+ }
59051
+ return er;
59052
+ }
59053
+
59054
+ // if it's past the high water mark, we can push in some more.
59055
+ // Also, if we have no data yet, we can stand some
59056
+ // more bytes. This is to work around cases where hwm=0,
59057
+ // such as the repl. Also, if the push() triggered a
59058
+ // readable event, and the user called read(largeNumber) such that
59059
+ // needReadable was set, then we ought to push more, so that another
59060
+ // 'readable' event will be triggered.
59061
+ function needMoreData(state) {
59062
+ return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0);
59063
+ }
59064
+
59065
+ Readable.prototype.isPaused = function () {
59066
+ return this._readableState.flowing === false;
59067
+ };
59068
+
59069
+ // backwards compatibility.
59070
+ Readable.prototype.setEncoding = function (enc) {
59071
+ if (!StringDecoder) StringDecoder = (__webpack_require__("./node_modules/ripemd160/node_modules/string_decoder/lib/string_decoder.js")/* .StringDecoder */.StringDecoder);
59072
+ this._readableState.decoder = new StringDecoder(enc);
59073
+ this._readableState.encoding = enc;
59074
+ return this;
59075
+ };
59076
+
59077
+ // Don't raise the hwm > 8MB
59078
+ var MAX_HWM = 0x800000;
59079
+ function computeNewHighWaterMark(n) {
59080
+ if (n >= MAX_HWM) {
59081
+ n = MAX_HWM;
59082
+ } else {
59083
+ // Get the next highest power of 2 to prevent increasing hwm excessively in
59084
+ // tiny amounts
59085
+ n--;
59086
+ n |= n >>> 1;
59087
+ n |= n >>> 2;
59088
+ n |= n >>> 4;
59089
+ n |= n >>> 8;
59090
+ n |= n >>> 16;
59091
+ n++;
59092
+ }
59093
+ return n;
59094
+ }
59095
+
59096
+ // This function is designed to be inlinable, so please take care when making
59097
+ // changes to the function body.
59098
+ function howMuchToRead(n, state) {
59099
+ if (n <= 0 || state.length === 0 && state.ended) return 0;
59100
+ if (state.objectMode) return 1;
59101
+ if (n !== n) {
59102
+ // Only flow one buffer at a time
59103
+ if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;
59104
+ }
59105
+ // If we're asking for more than the current hwm, then raise the hwm.
59106
+ if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);
59107
+ if (n <= state.length) return n;
59108
+ // Don't have enough
59109
+ if (!state.ended) {
59110
+ state.needReadable = true;
59111
+ return 0;
59112
+ }
59113
+ return state.length;
59114
+ }
59115
+
59116
+ // you can override either this method, or the async _read(n) below.
59117
+ Readable.prototype.read = function (n) {
59118
+ debug('read', n);
59119
+ n = parseInt(n, 10);
59120
+ var state = this._readableState;
59121
+ var nOrig = n;
59122
+
59123
+ if (n !== 0) state.emittedReadable = false;
59124
+
59125
+ // if we're doing read(0) to trigger a readable event, but we
59126
+ // already have a bunch of data in the buffer, then just trigger
59127
+ // the 'readable' event and move on.
59128
+ if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) {
59129
+ debug('read: emitReadable', state.length, state.ended);
59130
+ if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);
59131
+ return null;
59132
+ }
59133
+
59134
+ n = howMuchToRead(n, state);
59135
+
59136
+ // if we've ended, and we're now clear, then finish it up.
59137
+ if (n === 0 && state.ended) {
59138
+ if (state.length === 0) endReadable(this);
59139
+ return null;
59140
+ }
59141
+
59142
+ // All the actual chunk generation logic needs to be
59143
+ // *below* the call to _read. The reason is that in certain
59144
+ // synthetic stream cases, such as passthrough streams, _read
59145
+ // may be a completely synchronous operation which may change
59146
+ // the state of the read buffer, providing enough data when
59147
+ // before there was *not* enough.
59148
+ //
59149
+ // So, the steps are:
59150
+ // 1. Figure out what the state of things will be after we do
59151
+ // a read from the buffer.
59152
+ //
59153
+ // 2. If that resulting state will trigger a _read, then call _read.
59154
+ // Note that this may be asynchronous, or synchronous. Yes, it is
59155
+ // deeply ugly to write APIs this way, but that still doesn't mean
59156
+ // that the Readable class should behave improperly, as streams are
59157
+ // designed to be sync/async agnostic.
59158
+ // Take note if the _read call is sync or async (ie, if the read call
59159
+ // has returned yet), so that we know whether or not it's safe to emit
59160
+ // 'readable' etc.
59161
+ //
59162
+ // 3. Actually pull the requested chunks out of the buffer and return.
59163
+
59164
+ // if we need a readable event, then we need to do some reading.
59165
+ var doRead = state.needReadable;
59166
+ debug('need readable', doRead);
59167
+
59168
+ // if we currently have less than the highWaterMark, then also read some
59169
+ if (state.length === 0 || state.length - n < state.highWaterMark) {
59170
+ doRead = true;
59171
+ debug('length less than watermark', doRead);
59172
+ }
59173
+
59174
+ // however, if we've ended, then there's no point, and if we're already
59175
+ // reading, then it's unnecessary.
59176
+ if (state.ended || state.reading) {
59177
+ doRead = false;
59178
+ debug('reading or ended', doRead);
59179
+ } else if (doRead) {
59180
+ debug('do read');
59181
+ state.reading = true;
59182
+ state.sync = true;
59183
+ // if the length is currently zero, then we *need* a readable event.
59184
+ if (state.length === 0) state.needReadable = true;
59185
+ // call internal read method
59186
+ this._read(state.highWaterMark);
59187
+ state.sync = false;
59188
+ // If _read pushed data synchronously, then `reading` will be false,
59189
+ // and we need to re-evaluate how much data we can return to the user.
59190
+ if (!state.reading) n = howMuchToRead(nOrig, state);
59191
+ }
59192
+
59193
+ var ret;
59194
+ if (n > 0) ret = fromList(n, state);else ret = null;
59195
+
59196
+ if (ret === null) {
59197
+ state.needReadable = true;
59198
+ n = 0;
59199
+ } else {
59200
+ state.length -= n;
59201
+ }
59202
+
59203
+ if (state.length === 0) {
59204
+ // If we have nothing in the buffer, then we want to know
59205
+ // as soon as we *do* get something into the buffer.
59206
+ if (!state.ended) state.needReadable = true;
59207
+
59208
+ // If we tried to read() past the EOF, then emit end on the next tick.
59209
+ if (nOrig !== n && state.ended) endReadable(this);
59210
+ }
59211
+
59212
+ if (ret !== null) this.emit('data', ret);
59213
+
59214
+ return ret;
59215
+ };
59216
+
59217
+ function onEofChunk(stream, state) {
59218
+ if (state.ended) return;
59219
+ if (state.decoder) {
59220
+ var chunk = state.decoder.end();
59221
+ if (chunk && chunk.length) {
59222
+ state.buffer.push(chunk);
59223
+ state.length += state.objectMode ? 1 : chunk.length;
59224
+ }
59225
+ }
59226
+ state.ended = true;
59227
+
59228
+ // emit 'readable' now to make sure it gets picked up.
59229
+ emitReadable(stream);
59230
+ }
59231
+
59232
+ // Don't emit readable right away in sync mode, because this can trigger
59233
+ // another read() call => stack overflow. This way, it might trigger
59234
+ // a nextTick recursion warning, but that's not so bad.
59235
+ function emitReadable(stream) {
59236
+ var state = stream._readableState;
59237
+ state.needReadable = false;
59238
+ if (!state.emittedReadable) {
59239
+ debug('emitReadable', state.flowing);
59240
+ state.emittedReadable = true;
59241
+ if (state.sync) pna.nextTick(emitReadable_, stream);else emitReadable_(stream);
59242
+ }
59243
+ }
59244
+
59245
+ function emitReadable_(stream) {
59246
+ debug('emit readable');
59247
+ stream.emit('readable');
59248
+ flow(stream);
59249
+ }
59250
+
59251
+ // at this point, the user has presumably seen the 'readable' event,
59252
+ // and called read() to consume some data. that may have triggered
59253
+ // in turn another _read(n) call, in which case reading = true if
59254
+ // it's in progress.
59255
+ // However, if we're not ended, or reading, and the length < hwm,
59256
+ // then go ahead and try to read some more preemptively.
59257
+ function maybeReadMore(stream, state) {
59258
+ if (!state.readingMore) {
59259
+ state.readingMore = true;
59260
+ pna.nextTick(maybeReadMore_, stream, state);
59261
+ }
59262
+ }
59263
+
59264
+ function maybeReadMore_(stream, state) {
59265
+ var len = state.length;
59266
+ while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) {
59267
+ debug('maybeReadMore read 0');
59268
+ stream.read(0);
59269
+ if (len === state.length)
59270
+ // didn't get any data, stop spinning.
59271
+ break;else len = state.length;
59272
+ }
59273
+ state.readingMore = false;
59274
+ }
59275
+
59276
+ // abstract method. to be overridden in specific implementation classes.
59277
+ // call cb(er, data) where data is <= n in length.
59278
+ // for virtual (non-string, non-buffer) streams, "length" is somewhat
59279
+ // arbitrary, and perhaps not very meaningful.
59280
+ Readable.prototype._read = function (n) {
59281
+ this.emit('error', new Error('_read() is not implemented'));
59282
+ };
59283
+
59284
+ Readable.prototype.pipe = function (dest, pipeOpts) {
59285
+ var src = this;
59286
+ var state = this._readableState;
59287
+
59288
+ switch (state.pipesCount) {
59289
+ case 0:
59290
+ state.pipes = dest;
59291
+ break;
59292
+ case 1:
59293
+ state.pipes = [state.pipes, dest];
59294
+ break;
59295
+ default:
59296
+ state.pipes.push(dest);
59297
+ break;
59298
+ }
59299
+ state.pipesCount += 1;
59300
+ debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);
59301
+
59302
+ var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;
59303
+
59304
+ var endFn = doEnd ? onend : unpipe;
59305
+ if (state.endEmitted) pna.nextTick(endFn);else src.once('end', endFn);
59306
+
59307
+ dest.on('unpipe', onunpipe);
59308
+ function onunpipe(readable, unpipeInfo) {
59309
+ debug('onunpipe');
59310
+ if (readable === src) {
59311
+ if (unpipeInfo && unpipeInfo.hasUnpiped === false) {
59312
+ unpipeInfo.hasUnpiped = true;
59313
+ cleanup();
59314
+ }
59315
+ }
59316
+ }
59317
+
59318
+ function onend() {
59319
+ debug('onend');
59320
+ dest.end();
59321
+ }
59322
+
59323
+ // when the dest drains, it reduces the awaitDrain counter
59324
+ // on the source. This would be more elegant with a .once()
59325
+ // handler in flow(), but adding and removing repeatedly is
59326
+ // too slow.
59327
+ var ondrain = pipeOnDrain(src);
59328
+ dest.on('drain', ondrain);
59329
+
59330
+ var cleanedUp = false;
59331
+ function cleanup() {
59332
+ debug('cleanup');
59333
+ // cleanup event handlers once the pipe is broken
59334
+ dest.removeListener('close', onclose);
59335
+ dest.removeListener('finish', onfinish);
59336
+ dest.removeListener('drain', ondrain);
59337
+ dest.removeListener('error', onerror);
59338
+ dest.removeListener('unpipe', onunpipe);
59339
+ src.removeListener('end', onend);
59340
+ src.removeListener('end', unpipe);
59341
+ src.removeListener('data', ondata);
59342
+
59343
+ cleanedUp = true;
59344
+
59345
+ // if the reader is waiting for a drain event from this
59346
+ // specific writer, then it would cause it to never start
59347
+ // flowing again.
59348
+ // So, if this is awaiting a drain, then we just call it now.
59349
+ // If we don't know, then assume that we are waiting for one.
59350
+ if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();
59351
+ }
59352
+
59353
+ // If the user pushes more data while we're writing to dest then we'll end up
59354
+ // in ondata again. However, we only want to increase awaitDrain once because
59355
+ // dest will only emit one 'drain' event for the multiple writes.
59356
+ // => Introduce a guard on increasing awaitDrain.
59357
+ var increasedAwaitDrain = false;
59358
+ src.on('data', ondata);
59359
+ function ondata(chunk) {
59360
+ debug('ondata');
59361
+ increasedAwaitDrain = false;
59362
+ var ret = dest.write(chunk);
59363
+ if (false === ret && !increasedAwaitDrain) {
59364
+ // If the user unpiped during `dest.write()`, it is possible
59365
+ // to get stuck in a permanently paused state if that write
59366
+ // also returned false.
59367
+ // => Check whether `dest` is still a piping destination.
59368
+ if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {
59369
+ debug('false write response, pause', state.awaitDrain);
59370
+ state.awaitDrain++;
59371
+ increasedAwaitDrain = true;
59372
+ }
59373
+ src.pause();
59374
+ }
59375
+ }
59376
+
59377
+ // if the dest has an error, then stop piping into it.
59378
+ // however, don't suppress the throwing behavior for this.
59379
+ function onerror(er) {
59380
+ debug('onerror', er);
59381
+ unpipe();
59382
+ dest.removeListener('error', onerror);
59383
+ if (EElistenerCount(dest, 'error') === 0) dest.emit('error', er);
59384
+ }
59385
+
59386
+ // Make sure our error handler is attached before userland ones.
59387
+ prependListener(dest, 'error', onerror);
59388
+
59389
+ // Both close and finish should trigger unpipe, but only once.
59390
+ function onclose() {
59391
+ dest.removeListener('finish', onfinish);
59392
+ unpipe();
59393
+ }
59394
+ dest.once('close', onclose);
59395
+ function onfinish() {
59396
+ debug('onfinish');
59397
+ dest.removeListener('close', onclose);
59398
+ unpipe();
59399
+ }
59400
+ dest.once('finish', onfinish);
59401
+
59402
+ function unpipe() {
59403
+ debug('unpipe');
59404
+ src.unpipe(dest);
59405
+ }
59406
+
59407
+ // tell the dest that it's being piped to
59408
+ dest.emit('pipe', src);
59409
+
59410
+ // start the flow if it hasn't been started already.
59411
+ if (!state.flowing) {
59412
+ debug('pipe resume');
59413
+ src.resume();
59414
+ }
59415
+
59416
+ return dest;
59417
+ };
59418
+
59419
+ function pipeOnDrain(src) {
59420
+ return function () {
59421
+ var state = src._readableState;
59422
+ debug('pipeOnDrain', state.awaitDrain);
59423
+ if (state.awaitDrain) state.awaitDrain--;
59424
+ if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {
59425
+ state.flowing = true;
59426
+ flow(src);
59427
+ }
59428
+ };
59429
+ }
59430
+
59431
+ Readable.prototype.unpipe = function (dest) {
59432
+ var state = this._readableState;
59433
+ var unpipeInfo = { hasUnpiped: false };
59434
+
59435
+ // if we're not piping anywhere, then do nothing.
59436
+ if (state.pipesCount === 0) return this;
59437
+
59438
+ // just one destination. most common case.
59439
+ if (state.pipesCount === 1) {
59440
+ // passed in one, but it's not the right one.
59441
+ if (dest && dest !== state.pipes) return this;
59442
+
59443
+ if (!dest) dest = state.pipes;
59444
+
59445
+ // got a match.
59446
+ state.pipes = null;
59447
+ state.pipesCount = 0;
59448
+ state.flowing = false;
59449
+ if (dest) dest.emit('unpipe', this, unpipeInfo);
59450
+ return this;
59451
+ }
59452
+
59453
+ // slow case. multiple pipe destinations.
59454
+
59455
+ if (!dest) {
59456
+ // remove all.
59457
+ var dests = state.pipes;
59458
+ var len = state.pipesCount;
59459
+ state.pipes = null;
59460
+ state.pipesCount = 0;
59461
+ state.flowing = false;
59462
+
59463
+ for (var i = 0; i < len; i++) {
59464
+ dests[i].emit('unpipe', this, { hasUnpiped: false });
59465
+ }return this;
59466
+ }
59467
+
59468
+ // try to find the right one.
59469
+ var index = indexOf(state.pipes, dest);
59470
+ if (index === -1) return this;
59471
+
59472
+ state.pipes.splice(index, 1);
59473
+ state.pipesCount -= 1;
59474
+ if (state.pipesCount === 1) state.pipes = state.pipes[0];
59475
+
59476
+ dest.emit('unpipe', this, unpipeInfo);
59477
+
59478
+ return this;
59479
+ };
59480
+
59481
+ // set up data events if they are asked for
59482
+ // Ensure readable listeners eventually get something
59483
+ Readable.prototype.on = function (ev, fn) {
59484
+ var res = Stream.prototype.on.call(this, ev, fn);
59485
+
59486
+ if (ev === 'data') {
59487
+ // Start flowing on next tick if stream isn't explicitly paused
59488
+ if (this._readableState.flowing !== false) this.resume();
59489
+ } else if (ev === 'readable') {
59490
+ var state = this._readableState;
59491
+ if (!state.endEmitted && !state.readableListening) {
59492
+ state.readableListening = state.needReadable = true;
59493
+ state.emittedReadable = false;
59494
+ if (!state.reading) {
59495
+ pna.nextTick(nReadingNextTick, this);
59496
+ } else if (state.length) {
59497
+ emitReadable(this);
59498
+ }
59499
+ }
59500
+ }
59501
+
59502
+ return res;
59503
+ };
59504
+ Readable.prototype.addListener = Readable.prototype.on;
59505
+
59506
+ function nReadingNextTick(self) {
59507
+ debug('readable nexttick read 0');
59508
+ self.read(0);
59509
+ }
59510
+
59511
+ // pause() and resume() are remnants of the legacy readable stream API
59512
+ // If the user uses them, then switch into old mode.
59513
+ Readable.prototype.resume = function () {
59514
+ var state = this._readableState;
59515
+ if (!state.flowing) {
59516
+ debug('resume');
59517
+ state.flowing = true;
59518
+ resume(this, state);
59519
+ }
59520
+ return this;
59521
+ };
59522
+
59523
+ function resume(stream, state) {
59524
+ if (!state.resumeScheduled) {
59525
+ state.resumeScheduled = true;
59526
+ pna.nextTick(resume_, stream, state);
59527
+ }
59528
+ }
59529
+
59530
+ function resume_(stream, state) {
59531
+ if (!state.reading) {
59532
+ debug('resume read 0');
59533
+ stream.read(0);
59534
+ }
59535
+
59536
+ state.resumeScheduled = false;
59537
+ state.awaitDrain = 0;
59538
+ stream.emit('resume');
59539
+ flow(stream);
59540
+ if (state.flowing && !state.reading) stream.read(0);
59541
+ }
59542
+
59543
+ Readable.prototype.pause = function () {
59544
+ debug('call pause flowing=%j', this._readableState.flowing);
59545
+ if (false !== this._readableState.flowing) {
59546
+ debug('pause');
59547
+ this._readableState.flowing = false;
59548
+ this.emit('pause');
59549
+ }
59550
+ return this;
59551
+ };
59552
+
59553
+ function flow(stream) {
59554
+ var state = stream._readableState;
59555
+ debug('flow', state.flowing);
59556
+ while (state.flowing && stream.read() !== null) {}
59557
+ }
59558
+
59559
+ // wrap an old-style stream as the async data source.
59560
+ // This is *not* part of the readable stream interface.
59561
+ // It is an ugly unfortunate mess of history.
59562
+ Readable.prototype.wrap = function (stream) {
59563
+ var _this = this;
59564
+
59565
+ var state = this._readableState;
59566
+ var paused = false;
59567
+
59568
+ stream.on('end', function () {
59569
+ debug('wrapped end');
59570
+ if (state.decoder && !state.ended) {
59571
+ var chunk = state.decoder.end();
59572
+ if (chunk && chunk.length) _this.push(chunk);
59573
+ }
59574
+
59575
+ _this.push(null);
59576
+ });
59577
+
59578
+ stream.on('data', function (chunk) {
59579
+ debug('wrapped data');
59580
+ if (state.decoder) chunk = state.decoder.write(chunk);
59581
+
59582
+ // don't skip over falsy values in objectMode
59583
+ if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;
59584
+
59585
+ var ret = _this.push(chunk);
59586
+ if (!ret) {
59587
+ paused = true;
59588
+ stream.pause();
59589
+ }
59590
+ });
59591
+
59592
+ // proxy all the other methods.
59593
+ // important when wrapping filters and duplexes.
59594
+ for (var i in stream) {
59595
+ if (this[i] === undefined && typeof stream[i] === 'function') {
59596
+ this[i] = function (method) {
59597
+ return function () {
59598
+ return stream[method].apply(stream, arguments);
59599
+ };
59600
+ }(i);
59601
+ }
59602
+ }
59603
+
59604
+ // proxy certain important events.
59605
+ for (var n = 0; n < kProxyEvents.length; n++) {
59606
+ stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));
59607
+ }
59608
+
59609
+ // when we try to consume some more bytes, simply unpause the
59610
+ // underlying stream.
59611
+ this._read = function (n) {
59612
+ debug('wrapped _read', n);
59613
+ if (paused) {
59614
+ paused = false;
59615
+ stream.resume();
59616
+ }
59617
+ };
59618
+
59619
+ return this;
59620
+ };
59621
+
59622
+ Object.defineProperty(Readable.prototype, 'readableHighWaterMark', {
59623
+ // making it explicit this property is not enumerable
59624
+ // because otherwise some prototype manipulation in
59625
+ // userland will fail
59626
+ enumerable: false,
59627
+ get: function () {
59628
+ return this._readableState.highWaterMark;
59629
+ }
59630
+ });
59631
+
59632
+ // exposed for testing purposes only.
59633
+ Readable._fromList = fromList;
59634
+
59635
+ // Pluck off n bytes from an array of buffers.
59636
+ // Length is the combined lengths of all the buffers in the list.
59637
+ // This function is designed to be inlinable, so please take care when making
59638
+ // changes to the function body.
59639
+ function fromList(n, state) {
59640
+ // nothing buffered
59641
+ if (state.length === 0) return null;
59642
+
59643
+ var ret;
59644
+ if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {
59645
+ // read it all, truncate the list
59646
+ if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.head.data;else ret = state.buffer.concat(state.length);
59647
+ state.buffer.clear();
59648
+ } else {
59649
+ // read part of list
59650
+ ret = fromListPartial(n, state.buffer, state.decoder);
59651
+ }
59652
+
59653
+ return ret;
59654
+ }
59655
+
59656
+ // Extracts only enough buffered data to satisfy the amount requested.
59657
+ // This function is designed to be inlinable, so please take care when making
59658
+ // changes to the function body.
59659
+ function fromListPartial(n, list, hasStrings) {
59660
+ var ret;
59661
+ if (n < list.head.data.length) {
59662
+ // slice is the same for buffers and strings
59663
+ ret = list.head.data.slice(0, n);
59664
+ list.head.data = list.head.data.slice(n);
59665
+ } else if (n === list.head.data.length) {
59666
+ // first chunk is a perfect match
59667
+ ret = list.shift();
59668
+ } else {
59669
+ // result spans more than one buffer
59670
+ ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list);
59671
+ }
59672
+ return ret;
59673
+ }
59674
+
59675
+ // Copies a specified amount of characters from the list of buffered data
59676
+ // chunks.
59677
+ // This function is designed to be inlinable, so please take care when making
59678
+ // changes to the function body.
59679
+ function copyFromBufferString(n, list) {
59680
+ var p = list.head;
59681
+ var c = 1;
59682
+ var ret = p.data;
59683
+ n -= ret.length;
59684
+ while (p = p.next) {
59685
+ var str = p.data;
59686
+ var nb = n > str.length ? str.length : n;
59687
+ if (nb === str.length) ret += str;else ret += str.slice(0, n);
59688
+ n -= nb;
59689
+ if (n === 0) {
59690
+ if (nb === str.length) {
59691
+ ++c;
59692
+ if (p.next) list.head = p.next;else list.head = list.tail = null;
59693
+ } else {
59694
+ list.head = p;
59695
+ p.data = str.slice(nb);
59696
+ }
59697
+ break;
59698
+ }
59699
+ ++c;
59700
+ }
59701
+ list.length -= c;
59702
+ return ret;
59703
+ }
59704
+
59705
+ // Copies a specified amount of bytes from the list of buffered data chunks.
59706
+ // This function is designed to be inlinable, so please take care when making
59707
+ // changes to the function body.
59708
+ function copyFromBuffer(n, list) {
59709
+ var ret = Buffer.allocUnsafe(n);
59710
+ var p = list.head;
59711
+ var c = 1;
59712
+ p.data.copy(ret);
59713
+ n -= p.data.length;
59714
+ while (p = p.next) {
59715
+ var buf = p.data;
59716
+ var nb = n > buf.length ? buf.length : n;
59717
+ buf.copy(ret, ret.length - n, 0, nb);
59718
+ n -= nb;
59719
+ if (n === 0) {
59720
+ if (nb === buf.length) {
59721
+ ++c;
59722
+ if (p.next) list.head = p.next;else list.head = list.tail = null;
59723
+ } else {
59724
+ list.head = p;
59725
+ p.data = buf.slice(nb);
59726
+ }
59727
+ break;
59728
+ }
59729
+ ++c;
59730
+ }
59731
+ list.length -= c;
59732
+ return ret;
59733
+ }
59734
+
59735
+ function endReadable(stream) {
59736
+ var state = stream._readableState;
59737
+
59738
+ // If we get here before consuming all the bytes, then that is a
59739
+ // bug in node. Should never happen.
59740
+ if (state.length > 0) throw new Error('"endReadable()" called on non-empty stream');
59741
+
59742
+ if (!state.endEmitted) {
59743
+ state.ended = true;
59744
+ pna.nextTick(endReadableNT, state, stream);
59745
+ }
59746
+ }
59747
+
59748
+ function endReadableNT(state, stream) {
59749
+ // Check that we didn't get one last unshift.
59750
+ if (!state.endEmitted && state.length === 0) {
59751
+ state.endEmitted = true;
59752
+ stream.readable = false;
59753
+ stream.emit('end');
59754
+ }
59755
+ }
59756
+
59757
+ function indexOf(xs, x) {
59758
+ for (var i = 0, l = xs.length; i < l; i++) {
59759
+ if (xs[i] === x) return i;
59760
+ }
59761
+ return -1;
59762
+ }
59763
+
59764
+ }),
59765
+ "./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_transform.js": (function (module, __unused_webpack_exports, __webpack_require__) {
59766
+ "use strict";
59767
+ // Copyright Joyent, Inc. and other Node contributors.
59768
+ //
59769
+ // Permission is hereby granted, free of charge, to any person obtaining a
59770
+ // copy of this software and associated documentation files (the
59771
+ // "Software"), to deal in the Software without restriction, including
59772
+ // without limitation the rights to use, copy, modify, merge, publish,
59773
+ // distribute, sublicense, and/or sell copies of the Software, and to permit
59774
+ // persons to whom the Software is furnished to do so, subject to the
59775
+ // following conditions:
59776
+ //
59777
+ // The above copyright notice and this permission notice shall be included
59778
+ // in all copies or substantial portions of the Software.
59779
+ //
59780
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
59781
+ // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59782
+ // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
59783
+ // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
59784
+ // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
59785
+ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
59786
+ // USE OR OTHER DEALINGS IN THE SOFTWARE.
59787
+
59788
+ // a transform stream is a readable/writable stream where you do
59789
+ // something with the data. Sometimes it's called a "filter",
59790
+ // but that's not a great name for it, since that implies a thing where
59791
+ // some bits pass through, and others are simply ignored. (That would
59792
+ // be a valid example of a transform, of course.)
59793
+ //
59794
+ // While the output is causally related to the input, it's not a
59795
+ // necessarily symmetric or synchronous transformation. For example,
59796
+ // a zlib stream might take multiple plain-text writes(), and then
59797
+ // emit a single compressed chunk some time in the future.
59798
+ //
59799
+ // Here's how this works:
59800
+ //
59801
+ // The Transform stream has all the aspects of the readable and writable
59802
+ // stream classes. When you write(chunk), that calls _write(chunk,cb)
59803
+ // internally, and returns false if there's a lot of pending writes
59804
+ // buffered up. When you call read(), that calls _read(n) until
59805
+ // there's enough pending readable data buffered up.
59806
+ //
59807
+ // In a transform stream, the written data is placed in a buffer. When
59808
+ // _read(n) is called, it transforms the queued up data, calling the
59809
+ // buffered _write cb's as it consumes chunks. If consuming a single
59810
+ // written chunk would result in multiple output chunks, then the first
59811
+ // outputted bit calls the readcb, and subsequent chunks just go into
59812
+ // the read buffer, and will cause it to emit 'readable' if necessary.
59813
+ //
59814
+ // This way, back-pressure is actually determined by the reading side,
59815
+ // since _read has to be called to start processing a new chunk. However,
59816
+ // a pathological inflate type of transform can cause excessive buffering
59817
+ // here. For example, imagine a stream where every byte of input is
59818
+ // interpreted as an integer from 0-255, and then results in that many
59819
+ // bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in
59820
+ // 1kb of data being output. In this case, you could write a very small
59821
+ // amount of input, and end up with a very large amount of output. In
59822
+ // such a pathological inflating mechanism, there'd be no way to tell
59823
+ // the system to stop doing the transform. A single 4MB write could
59824
+ // cause the system to run out of memory.
59825
+ //
59826
+ // However, even in such a pathological case, only a single written chunk
59827
+ // would be consumed, and then the rest would wait (un-transformed) until
59828
+ // the results of the previous transformed chunk were consumed.
59829
+
59830
+
59831
+
59832
+ module.exports = Transform;
59833
+
59834
+ var Duplex = __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js");
59835
+
59836
+ /*<replacement>*/
59837
+ var util = Object.create(__webpack_require__("./node_modules/core-util-is/lib/util.js"));
59838
+ util.inherits = __webpack_require__("./node_modules/inherits/inherits_browser.js");
59839
+ /*</replacement>*/
59840
+
59841
+ util.inherits(Transform, Duplex);
59842
+
59843
+ function afterTransform(er, data) {
59844
+ var ts = this._transformState;
59845
+ ts.transforming = false;
59846
+
59847
+ var cb = ts.writecb;
59848
+
59849
+ if (!cb) {
59850
+ return this.emit('error', new Error('write callback called multiple times'));
59851
+ }
59852
+
59853
+ ts.writechunk = null;
59854
+ ts.writecb = null;
59855
+
59856
+ if (data != null) // single equals check for both `null` and `undefined`
59857
+ this.push(data);
59858
+
59859
+ cb(er);
59860
+
59861
+ var rs = this._readableState;
59862
+ rs.reading = false;
59863
+ if (rs.needReadable || rs.length < rs.highWaterMark) {
59864
+ this._read(rs.highWaterMark);
59865
+ }
59866
+ }
59867
+
59868
+ function Transform(options) {
59869
+ if (!(this instanceof Transform)) return new Transform(options);
59870
+
59871
+ Duplex.call(this, options);
59872
+
59873
+ this._transformState = {
59874
+ afterTransform: afterTransform.bind(this),
59875
+ needTransform: false,
59876
+ transforming: false,
59877
+ writecb: null,
59878
+ writechunk: null,
59879
+ writeencoding: null
59880
+ };
59881
+
59882
+ // start out asking for a readable event once data is transformed.
59883
+ this._readableState.needReadable = true;
59884
+
59885
+ // we have implemented the _read method, and done the other things
59886
+ // that Readable wants before the first _read call, so unset the
59887
+ // sync guard flag.
59888
+ this._readableState.sync = false;
59889
+
59890
+ if (options) {
59891
+ if (typeof options.transform === 'function') this._transform = options.transform;
59892
+
59893
+ if (typeof options.flush === 'function') this._flush = options.flush;
59894
+ }
59895
+
59896
+ // When the writable side finishes, then flush out anything remaining.
59897
+ this.on('prefinish', prefinish);
59898
+ }
59899
+
59900
+ function prefinish() {
59901
+ var _this = this;
59902
+
59903
+ if (typeof this._flush === 'function') {
59904
+ this._flush(function (er, data) {
59905
+ done(_this, er, data);
59906
+ });
59907
+ } else {
59908
+ done(this, null, null);
59909
+ }
59910
+ }
59911
+
59912
+ Transform.prototype.push = function (chunk, encoding) {
59913
+ this._transformState.needTransform = false;
59914
+ return Duplex.prototype.push.call(this, chunk, encoding);
59915
+ };
59916
+
59917
+ // This is the part where you do stuff!
59918
+ // override this function in implementation classes.
59919
+ // 'chunk' is an input chunk.
59920
+ //
59921
+ // Call `push(newChunk)` to pass along transformed output
59922
+ // to the readable side. You may call 'push' zero or more times.
59923
+ //
59924
+ // Call `cb(err)` when you are done with this chunk. If you pass
59925
+ // an error, then that'll put the hurt on the whole operation. If you
59926
+ // never call cb(), then you'll never get another chunk.
59927
+ Transform.prototype._transform = function (chunk, encoding, cb) {
59928
+ throw new Error('_transform() is not implemented');
59929
+ };
59930
+
59931
+ Transform.prototype._write = function (chunk, encoding, cb) {
59932
+ var ts = this._transformState;
59933
+ ts.writecb = cb;
59934
+ ts.writechunk = chunk;
59935
+ ts.writeencoding = encoding;
59936
+ if (!ts.transforming) {
59937
+ var rs = this._readableState;
59938
+ if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);
59939
+ }
59940
+ };
59941
+
59942
+ // Doesn't matter what the args are here.
59943
+ // _transform does all the work.
59944
+ // That we got here means that the readable side wants more data.
59945
+ Transform.prototype._read = function (n) {
59946
+ var ts = this._transformState;
59947
+
59948
+ if (ts.writechunk !== null && ts.writecb && !ts.transforming) {
59949
+ ts.transforming = true;
59950
+ this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);
59951
+ } else {
59952
+ // mark that we need a transform, so that any data that comes in
59953
+ // will get processed, now that we've asked for it.
59954
+ ts.needTransform = true;
59955
+ }
59956
+ };
59957
+
59958
+ Transform.prototype._destroy = function (err, cb) {
59959
+ var _this2 = this;
59960
+
59961
+ Duplex.prototype._destroy.call(this, err, function (err2) {
59962
+ cb(err2);
59963
+ _this2.emit('close');
59964
+ });
59965
+ };
59966
+
59967
+ function done(stream, er, data) {
59968
+ if (er) return stream.emit('error', er);
59969
+
59970
+ if (data != null) // single equals check for both `null` and `undefined`
59971
+ stream.push(data);
59972
+
59973
+ // if there's nothing in the write buffer, then that means
59974
+ // that nothing more will ever be provided
59975
+ if (stream._writableState.length) throw new Error('Calling transform done when ws.length != 0');
59976
+
59977
+ if (stream._transformState.transforming) throw new Error('Calling transform done when still transforming');
59978
+
59979
+ return stream.push(null);
59980
+ }
59981
+
59982
+ }),
59983
+ "./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_writable.js": (function (module, __unused_webpack_exports, __webpack_require__) {
59984
+ "use strict";
59985
+ /* provided dependency */ var process = __webpack_require__("./node_modules/process/browser.js");
59986
+ // Copyright Joyent, Inc. and other Node contributors.
59987
+ //
59988
+ // Permission is hereby granted, free of charge, to any person obtaining a
59989
+ // copy of this software and associated documentation files (the
59990
+ // "Software"), to deal in the Software without restriction, including
59991
+ // without limitation the rights to use, copy, modify, merge, publish,
59992
+ // distribute, sublicense, and/or sell copies of the Software, and to permit
59993
+ // persons to whom the Software is furnished to do so, subject to the
59994
+ // following conditions:
59995
+ //
59996
+ // The above copyright notice and this permission notice shall be included
59997
+ // in all copies or substantial portions of the Software.
59998
+ //
59999
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
60000
+ // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
60001
+ // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
60002
+ // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
60003
+ // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
60004
+ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
60005
+ // USE OR OTHER DEALINGS IN THE SOFTWARE.
60006
+
60007
+ // A bit simpler than readable streams.
60008
+ // Implement an async ._write(chunk, encoding, cb), and it'll handle all
60009
+ // the drain event emission and buffering.
60010
+
60011
+
60012
+
60013
+ /*<replacement>*/
60014
+
60015
+ var pna = __webpack_require__("./node_modules/process-nextick-args/index.js");
60016
+ /*</replacement>*/
60017
+
60018
+ module.exports = Writable;
60019
+
60020
+ /* <replacement> */
60021
+ function WriteReq(chunk, encoding, cb) {
60022
+ this.chunk = chunk;
60023
+ this.encoding = encoding;
60024
+ this.callback = cb;
60025
+ this.next = null;
60026
+ }
60027
+
60028
+ // It seems a linked list but it is not
60029
+ // there will be only 2 of these for each stream
60030
+ function CorkedRequest(state) {
60031
+ var _this = this;
60032
+
60033
+ this.next = null;
60034
+ this.entry = null;
60035
+ this.finish = function () {
60036
+ onCorkedFinish(_this, state);
60037
+ };
60038
+ }
60039
+ /* </replacement> */
60040
+
60041
+ /*<replacement>*/
60042
+ var asyncWrite = !process.browser && ['v0.10', 'v0.9.'].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : pna.nextTick;
60043
+ /*</replacement>*/
60044
+
60045
+ /*<replacement>*/
60046
+ var Duplex;
60047
+ /*</replacement>*/
60048
+
60049
+ Writable.WritableState = WritableState;
60050
+
60051
+ /*<replacement>*/
60052
+ var util = Object.create(__webpack_require__("./node_modules/core-util-is/lib/util.js"));
60053
+ util.inherits = __webpack_require__("./node_modules/inherits/inherits_browser.js");
60054
+ /*</replacement>*/
60055
+
60056
+ /*<replacement>*/
60057
+ var internalUtil = {
60058
+ deprecate: __webpack_require__("./node_modules/util-deprecate/browser.js")
60059
+ };
60060
+ /*</replacement>*/
60061
+
60062
+ /*<replacement>*/
60063
+ var Stream = __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/stream-browser.js");
60064
+ /*</replacement>*/
60065
+
60066
+ /*<replacement>*/
60067
+
60068
+ var Buffer = (__webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/node_modules/safe-buffer/index.js")/* .Buffer */.Buffer);
60069
+ var OurUint8Array = (typeof __webpack_require__.g !== 'undefined' ? __webpack_require__.g : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {};
60070
+ function _uint8ArrayToBuffer(chunk) {
60071
+ return Buffer.from(chunk);
60072
+ }
60073
+ function _isUint8Array(obj) {
60074
+ return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;
60075
+ }
60076
+
60077
+ /*</replacement>*/
60078
+
60079
+ var destroyImpl = __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/destroy.js");
60080
+
60081
+ util.inherits(Writable, Stream);
60082
+
60083
+ function nop() {}
60084
+
60085
+ function WritableState(options, stream) {
60086
+ Duplex = Duplex || __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js");
60087
+
60088
+ options = options || {};
60089
+
60090
+ // Duplex streams are both readable and writable, but share
60091
+ // the same options object.
60092
+ // However, some cases require setting options to different
60093
+ // values for the readable and the writable sides of the duplex stream.
60094
+ // These options can be provided separately as readableXXX and writableXXX.
60095
+ var isDuplex = stream instanceof Duplex;
60096
+
60097
+ // object stream flag to indicate whether or not this stream
60098
+ // contains buffers or objects.
60099
+ this.objectMode = !!options.objectMode;
60100
+
60101
+ if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;
60102
+
60103
+ // the point at which write() starts returning false
60104
+ // Note: 0 is a valid value, means that we always return false if
60105
+ // the entire buffer is not flushed immediately on write()
60106
+ var hwm = options.highWaterMark;
60107
+ var writableHwm = options.writableHighWaterMark;
60108
+ var defaultHwm = this.objectMode ? 16 : 16 * 1024;
60109
+
60110
+ if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm === 0)) this.highWaterMark = writableHwm;else this.highWaterMark = defaultHwm;
60111
+
60112
+ // cast to ints.
60113
+ this.highWaterMark = Math.floor(this.highWaterMark);
60114
+
60115
+ // if _final has been called
60116
+ this.finalCalled = false;
60117
+
60118
+ // drain event flag.
60119
+ this.needDrain = false;
60120
+ // at the start of calling end()
60121
+ this.ending = false;
60122
+ // when end() has been called, and returned
60123
+ this.ended = false;
60124
+ // when 'finish' is emitted
60125
+ this.finished = false;
60126
+
60127
+ // has it been destroyed
60128
+ this.destroyed = false;
60129
+
60130
+ // should we decode strings into buffers before passing to _write?
60131
+ // this is here so that some node-core streams can optimize string
60132
+ // handling at a lower level.
60133
+ var noDecode = options.decodeStrings === false;
60134
+ this.decodeStrings = !noDecode;
60135
+
60136
+ // Crypto is kind of old and crusty. Historically, its default string
60137
+ // encoding is 'binary' so we have to make this configurable.
60138
+ // Everything else in the universe uses 'utf8', though.
60139
+ this.defaultEncoding = options.defaultEncoding || 'utf8';
60140
+
60141
+ // not an actual buffer we keep track of, but a measurement
60142
+ // of how much we're waiting to get pushed to some underlying
60143
+ // socket or file.
60144
+ this.length = 0;
60145
+
60146
+ // a flag to see when we're in the middle of a write.
60147
+ this.writing = false;
60148
+
60149
+ // when true all writes will be buffered until .uncork() call
60150
+ this.corked = 0;
60151
+
60152
+ // a flag to be able to tell if the onwrite cb is called immediately,
60153
+ // or on a later tick. We set this to true at first, because any
60154
+ // actions that shouldn't happen until "later" should generally also
60155
+ // not happen before the first write call.
60156
+ this.sync = true;
60157
+
60158
+ // a flag to know if we're processing previously buffered items, which
60159
+ // may call the _write() callback in the same tick, so that we don't
60160
+ // end up in an overlapped onwrite situation.
60161
+ this.bufferProcessing = false;
60162
+
60163
+ // the callback that's passed to _write(chunk,cb)
60164
+ this.onwrite = function (er) {
60165
+ onwrite(stream, er);
60166
+ };
60167
+
60168
+ // the callback that the user supplies to write(chunk,encoding,cb)
60169
+ this.writecb = null;
60170
+
60171
+ // the amount that is being written when _write is called.
60172
+ this.writelen = 0;
60173
+
60174
+ this.bufferedRequest = null;
60175
+ this.lastBufferedRequest = null;
60176
+
60177
+ // number of pending user-supplied write callbacks
60178
+ // this must be 0 before 'finish' can be emitted
60179
+ this.pendingcb = 0;
60180
+
60181
+ // emit prefinish if the only thing we're waiting for is _write cbs
60182
+ // This is relevant for synchronous Transform streams
60183
+ this.prefinished = false;
60184
+
60185
+ // True if the error was already emitted and should not be thrown again
60186
+ this.errorEmitted = false;
60187
+
60188
+ // count buffered requests
60189
+ this.bufferedRequestCount = 0;
60190
+
60191
+ // allocate the first CorkedRequest, there is always
60192
+ // one allocated and free to use, and we maintain at most two
60193
+ this.corkedRequestsFree = new CorkedRequest(this);
60194
+ }
60195
+
60196
+ WritableState.prototype.getBuffer = function getBuffer() {
60197
+ var current = this.bufferedRequest;
60198
+ var out = [];
60199
+ while (current) {
60200
+ out.push(current);
60201
+ current = current.next;
60202
+ }
60203
+ return out;
60204
+ };
60205
+
60206
+ (function () {
60207
+ try {
60208
+ Object.defineProperty(WritableState.prototype, 'buffer', {
60209
+ get: internalUtil.deprecate(function () {
60210
+ return this.getBuffer();
60211
+ }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')
60212
+ });
60213
+ } catch (_) {}
60214
+ })();
60215
+
60216
+ // Test _writableState for inheritance to account for Duplex streams,
60217
+ // whose prototype chain only points to Readable.
60218
+ var realHasInstance;
60219
+ if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {
60220
+ realHasInstance = Function.prototype[Symbol.hasInstance];
60221
+ Object.defineProperty(Writable, Symbol.hasInstance, {
60222
+ value: function (object) {
60223
+ if (realHasInstance.call(this, object)) return true;
60224
+ if (this !== Writable) return false;
60225
+
60226
+ return object && object._writableState instanceof WritableState;
60227
+ }
60228
+ });
60229
+ } else {
60230
+ realHasInstance = function (object) {
60231
+ return object instanceof this;
60232
+ };
60233
+ }
60234
+
60235
+ function Writable(options) {
60236
+ Duplex = Duplex || __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js");
60237
+
60238
+ // Writable ctor is applied to Duplexes, too.
60239
+ // `realHasInstance` is necessary because using plain `instanceof`
60240
+ // would return false, as no `_writableState` property is attached.
60241
+
60242
+ // Trying to use the custom `instanceof` for Writable here will also break the
60243
+ // Node.js LazyTransform implementation, which has a non-trivial getter for
60244
+ // `_writableState` that would lead to infinite recursion.
60245
+ if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {
60246
+ return new Writable(options);
60247
+ }
60248
+
60249
+ this._writableState = new WritableState(options, this);
60250
+
60251
+ // legacy.
60252
+ this.writable = true;
60253
+
60254
+ if (options) {
60255
+ if (typeof options.write === 'function') this._write = options.write;
60256
+
60257
+ if (typeof options.writev === 'function') this._writev = options.writev;
60258
+
60259
+ if (typeof options.destroy === 'function') this._destroy = options.destroy;
60260
+
60261
+ if (typeof options.final === 'function') this._final = options.final;
60262
+ }
60263
+
60264
+ Stream.call(this);
60265
+ }
60266
+
60267
+ // Otherwise people can pipe Writable streams, which is just wrong.
60268
+ Writable.prototype.pipe = function () {
60269
+ this.emit('error', new Error('Cannot pipe, not readable'));
60270
+ };
60271
+
60272
+ function writeAfterEnd(stream, cb) {
60273
+ var er = new Error('write after end');
60274
+ // TODO: defer error events consistently everywhere, not just the cb
60275
+ stream.emit('error', er);
60276
+ pna.nextTick(cb, er);
60277
+ }
60278
+
60279
+ // Checks that a user-supplied chunk is valid, especially for the particular
60280
+ // mode the stream is in. Currently this means that `null` is never accepted
60281
+ // and undefined/non-string values are only allowed in object mode.
60282
+ function validChunk(stream, state, chunk, cb) {
60283
+ var valid = true;
60284
+ var er = false;
60285
+
60286
+ if (chunk === null) {
60287
+ er = new TypeError('May not write null values to stream');
60288
+ } else if (typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {
60289
+ er = new TypeError('Invalid non-string/buffer chunk');
60290
+ }
60291
+ if (er) {
60292
+ stream.emit('error', er);
60293
+ pna.nextTick(cb, er);
60294
+ valid = false;
60295
+ }
60296
+ return valid;
60297
+ }
60298
+
60299
+ Writable.prototype.write = function (chunk, encoding, cb) {
60300
+ var state = this._writableState;
60301
+ var ret = false;
60302
+ var isBuf = !state.objectMode && _isUint8Array(chunk);
60303
+
60304
+ if (isBuf && !Buffer.isBuffer(chunk)) {
60305
+ chunk = _uint8ArrayToBuffer(chunk);
60306
+ }
60307
+
60308
+ if (typeof encoding === 'function') {
60309
+ cb = encoding;
60310
+ encoding = null;
60311
+ }
60312
+
60313
+ if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;
60314
+
60315
+ if (typeof cb !== 'function') cb = nop;
60316
+
60317
+ if (state.ended) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {
60318
+ state.pendingcb++;
60319
+ ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb);
60320
+ }
60321
+
60322
+ return ret;
60323
+ };
60324
+
60325
+ Writable.prototype.cork = function () {
60326
+ var state = this._writableState;
60327
+
60328
+ state.corked++;
60329
+ };
60330
+
60331
+ Writable.prototype.uncork = function () {
60332
+ var state = this._writableState;
60333
+
60334
+ if (state.corked) {
60335
+ state.corked--;
60336
+
60337
+ if (!state.writing && !state.corked && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);
60338
+ }
60339
+ };
60340
+
60341
+ Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {
60342
+ // node::ParseEncoding() requires lower case.
60343
+ if (typeof encoding === 'string') encoding = encoding.toLowerCase();
60344
+ if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new TypeError('Unknown encoding: ' + encoding);
60345
+ this._writableState.defaultEncoding = encoding;
60346
+ return this;
60347
+ };
60348
+
60349
+ function decodeChunk(state, chunk, encoding) {
60350
+ if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {
60351
+ chunk = Buffer.from(chunk, encoding);
60352
+ }
60353
+ return chunk;
60354
+ }
60355
+
60356
+ Object.defineProperty(Writable.prototype, 'writableHighWaterMark', {
60357
+ // making it explicit this property is not enumerable
60358
+ // because otherwise some prototype manipulation in
60359
+ // userland will fail
60360
+ enumerable: false,
60361
+ get: function () {
60362
+ return this._writableState.highWaterMark;
60363
+ }
60364
+ });
60365
+
60366
+ // if we're already writing something, then just put this
60367
+ // in the queue, and wait our turn. Otherwise, call _write
60368
+ // If we return false, then we need a drain event, so set that flag.
60369
+ function writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {
60370
+ if (!isBuf) {
60371
+ var newChunk = decodeChunk(state, chunk, encoding);
60372
+ if (chunk !== newChunk) {
60373
+ isBuf = true;
60374
+ encoding = 'buffer';
60375
+ chunk = newChunk;
60376
+ }
60377
+ }
60378
+ var len = state.objectMode ? 1 : chunk.length;
60379
+
60380
+ state.length += len;
60381
+
60382
+ var ret = state.length < state.highWaterMark;
60383
+ // we must ensure that previous needDrain will not be reset to false.
60384
+ if (!ret) state.needDrain = true;
60385
+
60386
+ if (state.writing || state.corked) {
60387
+ var last = state.lastBufferedRequest;
60388
+ state.lastBufferedRequest = {
60389
+ chunk: chunk,
60390
+ encoding: encoding,
60391
+ isBuf: isBuf,
60392
+ callback: cb,
60393
+ next: null
60394
+ };
60395
+ if (last) {
60396
+ last.next = state.lastBufferedRequest;
60397
+ } else {
60398
+ state.bufferedRequest = state.lastBufferedRequest;
60399
+ }
60400
+ state.bufferedRequestCount += 1;
60401
+ } else {
60402
+ doWrite(stream, state, false, len, chunk, encoding, cb);
60403
+ }
60404
+
60405
+ return ret;
60406
+ }
60407
+
60408
+ function doWrite(stream, state, writev, len, chunk, encoding, cb) {
60409
+ state.writelen = len;
60410
+ state.writecb = cb;
60411
+ state.writing = true;
60412
+ state.sync = true;
60413
+ if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);
60414
+ state.sync = false;
60415
+ }
60416
+
60417
+ function onwriteError(stream, state, sync, er, cb) {
60418
+ --state.pendingcb;
60419
+
60420
+ if (sync) {
60421
+ // defer the callback if we are being called synchronously
60422
+ // to avoid piling up things on the stack
60423
+ pna.nextTick(cb, er);
60424
+ // this can emit finish, and it will always happen
60425
+ // after error
60426
+ pna.nextTick(finishMaybe, stream, state);
60427
+ stream._writableState.errorEmitted = true;
60428
+ stream.emit('error', er);
60429
+ } else {
60430
+ // the caller expect this to happen before if
60431
+ // it is async
60432
+ cb(er);
60433
+ stream._writableState.errorEmitted = true;
60434
+ stream.emit('error', er);
60435
+ // this can emit finish, but finish must
60436
+ // always follow error
60437
+ finishMaybe(stream, state);
60438
+ }
60439
+ }
60440
+
60441
+ function onwriteStateUpdate(state) {
60442
+ state.writing = false;
60443
+ state.writecb = null;
60444
+ state.length -= state.writelen;
60445
+ state.writelen = 0;
60446
+ }
60447
+
60448
+ function onwrite(stream, er) {
60449
+ var state = stream._writableState;
60450
+ var sync = state.sync;
60451
+ var cb = state.writecb;
60452
+
60453
+ onwriteStateUpdate(state);
60454
+
60455
+ if (er) onwriteError(stream, state, sync, er, cb);else {
60456
+ // Check if we're actually ready to finish, but don't emit yet
60457
+ var finished = needFinish(state);
60458
+
60459
+ if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {
60460
+ clearBuffer(stream, state);
60461
+ }
60462
+
60463
+ if (sync) {
60464
+ /*<replacement>*/
60465
+ asyncWrite(afterWrite, stream, state, finished, cb);
60466
+ /*</replacement>*/
60467
+ } else {
60468
+ afterWrite(stream, state, finished, cb);
60469
+ }
60470
+ }
60471
+ }
60472
+
60473
+ function afterWrite(stream, state, finished, cb) {
60474
+ if (!finished) onwriteDrain(stream, state);
60475
+ state.pendingcb--;
60476
+ cb();
60477
+ finishMaybe(stream, state);
60478
+ }
60479
+
60480
+ // Must force callback to be called on nextTick, so that we don't
60481
+ // emit 'drain' before the write() consumer gets the 'false' return
60482
+ // value, and has a chance to attach a 'drain' listener.
60483
+ function onwriteDrain(stream, state) {
60484
+ if (state.length === 0 && state.needDrain) {
60485
+ state.needDrain = false;
60486
+ stream.emit('drain');
60487
+ }
60488
+ }
60489
+
60490
+ // if there's something in the buffer waiting, then process it
60491
+ function clearBuffer(stream, state) {
60492
+ state.bufferProcessing = true;
60493
+ var entry = state.bufferedRequest;
60494
+
60495
+ if (stream._writev && entry && entry.next) {
60496
+ // Fast case, write everything using _writev()
60497
+ var l = state.bufferedRequestCount;
60498
+ var buffer = new Array(l);
60499
+ var holder = state.corkedRequestsFree;
60500
+ holder.entry = entry;
60501
+
60502
+ var count = 0;
60503
+ var allBuffers = true;
60504
+ while (entry) {
60505
+ buffer[count] = entry;
60506
+ if (!entry.isBuf) allBuffers = false;
60507
+ entry = entry.next;
60508
+ count += 1;
60509
+ }
60510
+ buffer.allBuffers = allBuffers;
60511
+
60512
+ doWrite(stream, state, true, state.length, buffer, '', holder.finish);
60513
+
60514
+ // doWrite is almost always async, defer these to save a bit of time
60515
+ // as the hot path ends with doWrite
60516
+ state.pendingcb++;
60517
+ state.lastBufferedRequest = null;
60518
+ if (holder.next) {
60519
+ state.corkedRequestsFree = holder.next;
60520
+ holder.next = null;
60521
+ } else {
60522
+ state.corkedRequestsFree = new CorkedRequest(state);
60523
+ }
60524
+ state.bufferedRequestCount = 0;
60525
+ } else {
60526
+ // Slow case, write chunks one-by-one
60527
+ while (entry) {
60528
+ var chunk = entry.chunk;
60529
+ var encoding = entry.encoding;
60530
+ var cb = entry.callback;
60531
+ var len = state.objectMode ? 1 : chunk.length;
60532
+
60533
+ doWrite(stream, state, false, len, chunk, encoding, cb);
60534
+ entry = entry.next;
60535
+ state.bufferedRequestCount--;
60536
+ // if we didn't call the onwrite immediately, then
60537
+ // it means that we need to wait until it does.
60538
+ // also, that means that the chunk and cb are currently
60539
+ // being processed, so move the buffer counter past them.
60540
+ if (state.writing) {
60541
+ break;
60542
+ }
60543
+ }
60544
+
60545
+ if (entry === null) state.lastBufferedRequest = null;
60546
+ }
60547
+
60548
+ state.bufferedRequest = entry;
60549
+ state.bufferProcessing = false;
60550
+ }
60551
+
60552
+ Writable.prototype._write = function (chunk, encoding, cb) {
60553
+ cb(new Error('_write() is not implemented'));
60554
+ };
60555
+
60556
+ Writable.prototype._writev = null;
60557
+
60558
+ Writable.prototype.end = function (chunk, encoding, cb) {
60559
+ var state = this._writableState;
60560
+
60561
+ if (typeof chunk === 'function') {
60562
+ cb = chunk;
60563
+ chunk = null;
60564
+ encoding = null;
60565
+ } else if (typeof encoding === 'function') {
60566
+ cb = encoding;
60567
+ encoding = null;
60568
+ }
60569
+
60570
+ if (chunk !== null && chunk !== undefined) this.write(chunk, encoding);
60571
+
60572
+ // .end() fully uncorks
60573
+ if (state.corked) {
60574
+ state.corked = 1;
60575
+ this.uncork();
60576
+ }
60577
+
60578
+ // ignore unnecessary end() calls.
60579
+ if (!state.ending) endWritable(this, state, cb);
60580
+ };
60581
+
60582
+ function needFinish(state) {
60583
+ return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;
60584
+ }
60585
+ function callFinal(stream, state) {
60586
+ stream._final(function (err) {
60587
+ state.pendingcb--;
60588
+ if (err) {
60589
+ stream.emit('error', err);
60590
+ }
60591
+ state.prefinished = true;
60592
+ stream.emit('prefinish');
60593
+ finishMaybe(stream, state);
60594
+ });
60595
+ }
60596
+ function prefinish(stream, state) {
60597
+ if (!state.prefinished && !state.finalCalled) {
60598
+ if (typeof stream._final === 'function') {
60599
+ state.pendingcb++;
60600
+ state.finalCalled = true;
60601
+ pna.nextTick(callFinal, stream, state);
60602
+ } else {
60603
+ state.prefinished = true;
60604
+ stream.emit('prefinish');
60605
+ }
60606
+ }
60607
+ }
60608
+
60609
+ function finishMaybe(stream, state) {
60610
+ var need = needFinish(state);
60611
+ if (need) {
60612
+ prefinish(stream, state);
60613
+ if (state.pendingcb === 0) {
60614
+ state.finished = true;
60615
+ stream.emit('finish');
60616
+ }
60617
+ }
60618
+ return need;
60619
+ }
60620
+
60621
+ function endWritable(stream, state, cb) {
60622
+ state.ending = true;
60623
+ finishMaybe(stream, state);
60624
+ if (cb) {
60625
+ if (state.finished) pna.nextTick(cb);else stream.once('finish', cb);
60626
+ }
60627
+ state.ended = true;
60628
+ stream.writable = false;
60629
+ }
60630
+
60631
+ function onCorkedFinish(corkReq, state, err) {
60632
+ var entry = corkReq.entry;
60633
+ corkReq.entry = null;
60634
+ while (entry) {
60635
+ var cb = entry.callback;
60636
+ state.pendingcb--;
60637
+ cb(err);
60638
+ entry = entry.next;
60639
+ }
60640
+
60641
+ // reuse the free corkReq.
60642
+ state.corkedRequestsFree.next = corkReq;
60643
+ }
60644
+
60645
+ Object.defineProperty(Writable.prototype, 'destroyed', {
60646
+ get: function () {
60647
+ if (this._writableState === undefined) {
60648
+ return false;
60649
+ }
60650
+ return this._writableState.destroyed;
60651
+ },
60652
+ set: function (value) {
60653
+ // we ignore the value if the stream
60654
+ // has not been initialized yet
60655
+ if (!this._writableState) {
60656
+ return;
60657
+ }
60658
+
60659
+ // backward compatibility, the user is explicitly
60660
+ // managing destroyed
60661
+ this._writableState.destroyed = value;
60662
+ }
60663
+ });
60664
+
60665
+ Writable.prototype.destroy = destroyImpl.destroy;
60666
+ Writable.prototype._undestroy = destroyImpl.undestroy;
60667
+ Writable.prototype._destroy = function (err, cb) {
60668
+ this.end();
60669
+ cb(err);
60670
+ };
60671
+
60672
+ }),
60673
+ "./node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/BufferList.js": (function (module, __unused_webpack_exports, __webpack_require__) {
60674
+ "use strict";
60675
+
60676
+
60677
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
60678
+
60679
+ var Buffer = (__webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/node_modules/safe-buffer/index.js")/* .Buffer */.Buffer);
60680
+ var util = __webpack_require__("?5c48");
60681
+
60682
+ function copyBuffer(src, target, offset) {
60683
+ src.copy(target, offset);
60684
+ }
60685
+
60686
+ module.exports = function () {
60687
+ function BufferList() {
60688
+ _classCallCheck(this, BufferList);
60689
+
60690
+ this.head = null;
60691
+ this.tail = null;
60692
+ this.length = 0;
60693
+ }
60694
+
60695
+ BufferList.prototype.push = function push(v) {
60696
+ var entry = { data: v, next: null };
60697
+ if (this.length > 0) this.tail.next = entry;else this.head = entry;
60698
+ this.tail = entry;
60699
+ ++this.length;
60700
+ };
60701
+
60702
+ BufferList.prototype.unshift = function unshift(v) {
60703
+ var entry = { data: v, next: this.head };
60704
+ if (this.length === 0) this.tail = entry;
60705
+ this.head = entry;
60706
+ ++this.length;
60707
+ };
60708
+
60709
+ BufferList.prototype.shift = function shift() {
60710
+ if (this.length === 0) return;
60711
+ var ret = this.head.data;
60712
+ if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next;
60713
+ --this.length;
60714
+ return ret;
60715
+ };
60716
+
60717
+ BufferList.prototype.clear = function clear() {
60718
+ this.head = this.tail = null;
60719
+ this.length = 0;
60720
+ };
60721
+
60722
+ BufferList.prototype.join = function join(s) {
60723
+ if (this.length === 0) return '';
60724
+ var p = this.head;
60725
+ var ret = '' + p.data;
60726
+ while (p = p.next) {
60727
+ ret += s + p.data;
60728
+ }return ret;
60729
+ };
60730
+
60731
+ BufferList.prototype.concat = function concat(n) {
60732
+ if (this.length === 0) return Buffer.alloc(0);
60733
+ var ret = Buffer.allocUnsafe(n >>> 0);
60734
+ var p = this.head;
60735
+ var i = 0;
60736
+ while (p) {
60737
+ copyBuffer(p.data, ret, i);
60738
+ i += p.data.length;
60739
+ p = p.next;
60740
+ }
60741
+ return ret;
60742
+ };
60743
+
60744
+ return BufferList;
60745
+ }();
60746
+
60747
+ if (util && util.inspect && util.inspect.custom) {
60748
+ module.exports.prototype[util.inspect.custom] = function () {
60749
+ var obj = util.inspect({ length: this.length });
60750
+ return this.constructor.name + ' ' + obj;
60751
+ };
60752
+ }
60753
+
60754
+ }),
60755
+ "./node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/destroy.js": (function (module, __unused_webpack_exports, __webpack_require__) {
60756
+ "use strict";
60757
+
60758
+
60759
+ /*<replacement>*/
60760
+
60761
+ var pna = __webpack_require__("./node_modules/process-nextick-args/index.js");
60762
+ /*</replacement>*/
60763
+
60764
+ // undocumented cb() API, needed for core, not for public API
60765
+ function destroy(err, cb) {
60766
+ var _this = this;
60767
+
60768
+ var readableDestroyed = this._readableState && this._readableState.destroyed;
60769
+ var writableDestroyed = this._writableState && this._writableState.destroyed;
60770
+
60771
+ if (readableDestroyed || writableDestroyed) {
60772
+ if (cb) {
60773
+ cb(err);
60774
+ } else if (err) {
60775
+ if (!this._writableState) {
60776
+ pna.nextTick(emitErrorNT, this, err);
60777
+ } else if (!this._writableState.errorEmitted) {
60778
+ this._writableState.errorEmitted = true;
60779
+ pna.nextTick(emitErrorNT, this, err);
60780
+ }
60781
+ }
60782
+
60783
+ return this;
60784
+ }
60785
+
60786
+ // we set destroyed to true before firing error callbacks in order
60787
+ // to make it re-entrance safe in case destroy() is called within callbacks
60788
+
60789
+ if (this._readableState) {
60790
+ this._readableState.destroyed = true;
60791
+ }
60792
+
60793
+ // if this is a duplex stream mark the writable part as destroyed as well
60794
+ if (this._writableState) {
60795
+ this._writableState.destroyed = true;
60796
+ }
60797
+
60798
+ this._destroy(err || null, function (err) {
60799
+ if (!cb && err) {
60800
+ if (!_this._writableState) {
60801
+ pna.nextTick(emitErrorNT, _this, err);
60802
+ } else if (!_this._writableState.errorEmitted) {
60803
+ _this._writableState.errorEmitted = true;
60804
+ pna.nextTick(emitErrorNT, _this, err);
60805
+ }
60806
+ } else if (cb) {
60807
+ cb(err);
60808
+ }
60809
+ });
60810
+
60811
+ return this;
60812
+ }
60813
+
60814
+ function undestroy() {
60815
+ if (this._readableState) {
60816
+ this._readableState.destroyed = false;
60817
+ this._readableState.reading = false;
60818
+ this._readableState.ended = false;
60819
+ this._readableState.endEmitted = false;
60820
+ }
60821
+
60822
+ if (this._writableState) {
60823
+ this._writableState.destroyed = false;
60824
+ this._writableState.ended = false;
60825
+ this._writableState.ending = false;
60826
+ this._writableState.finalCalled = false;
60827
+ this._writableState.prefinished = false;
60828
+ this._writableState.finished = false;
60829
+ this._writableState.errorEmitted = false;
60830
+ }
60831
+ }
60832
+
60833
+ function emitErrorNT(self, err) {
60834
+ self.emit('error', err);
60835
+ }
60836
+
60837
+ module.exports = {
60838
+ destroy: destroy,
60839
+ undestroy: undestroy
60840
+ };
60841
+
60842
+ }),
60843
+ "./node_modules/ripemd160/node_modules/readable-stream/lib/internal/streams/stream-browser.js": (function (module, __unused_webpack_exports, __webpack_require__) {
60844
+ module.exports = __webpack_require__("./node_modules/events/events.js")/* .EventEmitter */.EventEmitter;
58887
60845
 
58888
- var zl = [
58889
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
58890
- 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8,
58891
- 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12,
58892
- 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2,
58893
- 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13
58894
- ]
58895
60846
 
58896
- var zr = [
58897
- 5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12,
58898
- 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2,
58899
- 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13,
58900
- 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14,
58901
- 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11
58902
- ]
60847
+ }),
60848
+ "./node_modules/ripemd160/node_modules/readable-stream/node_modules/safe-buffer/index.js": (function (module, exports, __webpack_require__) {
60849
+ /* eslint-disable node/no-deprecated-api */
60850
+ var buffer = __webpack_require__("./node_modules/buffer/index.js")
60851
+ var Buffer = buffer.Buffer
58903
60852
 
58904
- var sl = [
58905
- 11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8,
58906
- 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12,
58907
- 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5,
58908
- 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12,
58909
- 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6
58910
- ]
60853
+ // alternative to using Object.keys for old browsers
60854
+ function copyProps (src, dst) {
60855
+ for (var key in src) {
60856
+ dst[key] = src[key]
60857
+ }
60858
+ }
60859
+ if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {
60860
+ module.exports = buffer
60861
+ } else {
60862
+ // Copy properties from require('buffer')
60863
+ copyProps(buffer, exports)
60864
+ exports.Buffer = SafeBuffer
60865
+ }
58911
60866
 
58912
- var sr = [
58913
- 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6,
58914
- 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11,
58915
- 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5,
58916
- 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8,
58917
- 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11
58918
- ]
60867
+ function SafeBuffer (arg, encodingOrOffset, length) {
60868
+ return Buffer(arg, encodingOrOffset, length)
60869
+ }
58919
60870
 
58920
- var hl = [0x00000000, 0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xa953fd4e]
58921
- var hr = [0x50a28be6, 0x5c4dd124, 0x6d703ef3, 0x7a6d76e9, 0x00000000]
60871
+ // Copy static methods from Buffer
60872
+ copyProps(Buffer, SafeBuffer)
58922
60873
 
58923
- function RIPEMD160 () {
58924
- HashBase.call(this, 64)
60874
+ SafeBuffer.from = function (arg, encodingOrOffset, length) {
60875
+ if (typeof arg === 'number') {
60876
+ throw new TypeError('Argument must not be a number')
60877
+ }
60878
+ return Buffer(arg, encodingOrOffset, length)
60879
+ }
58925
60880
 
58926
- // state
58927
- this._a = 0x67452301
58928
- this._b = 0xefcdab89
58929
- this._c = 0x98badcfe
58930
- this._d = 0x10325476
58931
- this._e = 0xc3d2e1f0
60881
+ SafeBuffer.alloc = function (size, fill, encoding) {
60882
+ if (typeof size !== 'number') {
60883
+ throw new TypeError('Argument must be a number')
60884
+ }
60885
+ var buf = Buffer(size)
60886
+ if (fill !== undefined) {
60887
+ if (typeof encoding === 'string') {
60888
+ buf.fill(fill, encoding)
60889
+ } else {
60890
+ buf.fill(fill)
60891
+ }
60892
+ } else {
60893
+ buf.fill(0)
60894
+ }
60895
+ return buf
58932
60896
  }
58933
60897
 
58934
- inherits(RIPEMD160, HashBase)
60898
+ SafeBuffer.allocUnsafe = function (size) {
60899
+ if (typeof size !== 'number') {
60900
+ throw new TypeError('Argument must be a number')
60901
+ }
60902
+ return Buffer(size)
60903
+ }
58935
60904
 
58936
- RIPEMD160.prototype._update = function () {
58937
- var words = ARRAY16
58938
- for (var j = 0; j < 16; ++j) words[j] = this._block.readInt32LE(j * 4)
58939
-
58940
- var al = this._a | 0
58941
- var bl = this._b | 0
58942
- var cl = this._c | 0
58943
- var dl = this._d | 0
58944
- var el = this._e | 0
58945
-
58946
- var ar = this._a | 0
58947
- var br = this._b | 0
58948
- var cr = this._c | 0
58949
- var dr = this._d | 0
58950
- var er = this._e | 0
58951
-
58952
- // computation
58953
- for (var i = 0; i < 80; i += 1) {
58954
- var tl
58955
- var tr
58956
- if (i < 16) {
58957
- tl = fn1(al, bl, cl, dl, el, words[zl[i]], hl[0], sl[i])
58958
- tr = fn5(ar, br, cr, dr, er, words[zr[i]], hr[0], sr[i])
58959
- } else if (i < 32) {
58960
- tl = fn2(al, bl, cl, dl, el, words[zl[i]], hl[1], sl[i])
58961
- tr = fn4(ar, br, cr, dr, er, words[zr[i]], hr[1], sr[i])
58962
- } else if (i < 48) {
58963
- tl = fn3(al, bl, cl, dl, el, words[zl[i]], hl[2], sl[i])
58964
- tr = fn3(ar, br, cr, dr, er, words[zr[i]], hr[2], sr[i])
58965
- } else if (i < 64) {
58966
- tl = fn4(al, bl, cl, dl, el, words[zl[i]], hl[3], sl[i])
58967
- tr = fn2(ar, br, cr, dr, er, words[zr[i]], hr[3], sr[i])
58968
- } else { // if (i<80) {
58969
- tl = fn5(al, bl, cl, dl, el, words[zl[i]], hl[4], sl[i])
58970
- tr = fn1(ar, br, cr, dr, er, words[zr[i]], hr[4], sr[i])
58971
- }
58972
-
58973
- al = el
58974
- el = dl
58975
- dl = rotl(cl, 10)
58976
- cl = bl
58977
- bl = tl
58978
-
58979
- ar = er
58980
- er = dr
58981
- dr = rotl(cr, 10)
58982
- cr = br
58983
- br = tr
58984
- }
58985
-
58986
- // update state
58987
- var t = (this._b + cl + dr) | 0
58988
- this._b = (this._c + dl + er) | 0
58989
- this._c = (this._d + el + ar) | 0
58990
- this._d = (this._e + al + br) | 0
58991
- this._e = (this._a + bl + cr) | 0
58992
- this._a = t
60905
+ SafeBuffer.allocUnsafeSlow = function (size) {
60906
+ if (typeof size !== 'number') {
60907
+ throw new TypeError('Argument must be a number')
60908
+ }
60909
+ return buffer.SlowBuffer(size)
58993
60910
  }
58994
60911
 
58995
- RIPEMD160.prototype._digest = function () {
58996
- // create padding and handle blocks
58997
- this._block[this._blockOffset++] = 0x80
58998
- if (this._blockOffset > 56) {
58999
- this._block.fill(0, this._blockOffset, 64)
59000
- this._update()
59001
- this._blockOffset = 0
60912
+
60913
+ }),
60914
+ "./node_modules/ripemd160/node_modules/readable-stream/readable-browser.js": (function (module, exports, __webpack_require__) {
60915
+ exports = module.exports = __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_readable.js");
60916
+ exports.Stream = exports;
60917
+ exports.Readable = exports;
60918
+ exports.Writable = __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_writable.js");
60919
+ exports.Duplex = __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_duplex.js");
60920
+ exports.Transform = __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_transform.js");
60921
+ exports.PassThrough = __webpack_require__("./node_modules/ripemd160/node_modules/readable-stream/lib/_stream_passthrough.js");
60922
+
60923
+
60924
+ }),
60925
+ "./node_modules/ripemd160/node_modules/string_decoder/lib/string_decoder.js": (function (__unused_webpack_module, exports, __webpack_require__) {
60926
+ "use strict";
60927
+ // Copyright Joyent, Inc. and other Node contributors.
60928
+ //
60929
+ // Permission is hereby granted, free of charge, to any person obtaining a
60930
+ // copy of this software and associated documentation files (the
60931
+ // "Software"), to deal in the Software without restriction, including
60932
+ // without limitation the rights to use, copy, modify, merge, publish,
60933
+ // distribute, sublicense, and/or sell copies of the Software, and to permit
60934
+ // persons to whom the Software is furnished to do so, subject to the
60935
+ // following conditions:
60936
+ //
60937
+ // The above copyright notice and this permission notice shall be included
60938
+ // in all copies or substantial portions of the Software.
60939
+ //
60940
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
60941
+ // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
60942
+ // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
60943
+ // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
60944
+ // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
60945
+ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
60946
+ // USE OR OTHER DEALINGS IN THE SOFTWARE.
60947
+
60948
+
60949
+
60950
+ /*<replacement>*/
60951
+
60952
+ var Buffer = (__webpack_require__("./node_modules/ripemd160/node_modules/string_decoder/node_modules/safe-buffer/index.js")/* .Buffer */.Buffer);
60953
+ /*</replacement>*/
60954
+
60955
+ var isEncoding = Buffer.isEncoding || function (encoding) {
60956
+ encoding = '' + encoding;
60957
+ switch (encoding && encoding.toLowerCase()) {
60958
+ 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':
60959
+ return true;
60960
+ default:
60961
+ return false;
59002
60962
  }
60963
+ };
59003
60964
 
59004
- this._block.fill(0, this._blockOffset, 56)
59005
- this._block.writeUInt32LE(this._length[0], 56)
59006
- this._block.writeUInt32LE(this._length[1], 60)
59007
- this._update()
60965
+ function _normalizeEncoding(enc) {
60966
+ if (!enc) return 'utf8';
60967
+ var retried;
60968
+ while (true) {
60969
+ switch (enc) {
60970
+ case 'utf8':
60971
+ case 'utf-8':
60972
+ return 'utf8';
60973
+ case 'ucs2':
60974
+ case 'ucs-2':
60975
+ case 'utf16le':
60976
+ case 'utf-16le':
60977
+ return 'utf16le';
60978
+ case 'latin1':
60979
+ case 'binary':
60980
+ return 'latin1';
60981
+ case 'base64':
60982
+ case 'ascii':
60983
+ case 'hex':
60984
+ return enc;
60985
+ default:
60986
+ if (retried) return; // undefined
60987
+ enc = ('' + enc).toLowerCase();
60988
+ retried = true;
60989
+ }
60990
+ }
60991
+ };
59008
60992
 
59009
- // produce result
59010
- var buffer = Buffer.alloc ? Buffer.alloc(20) : new Buffer(20)
59011
- buffer.writeInt32LE(this._a, 0)
59012
- buffer.writeInt32LE(this._b, 4)
59013
- buffer.writeInt32LE(this._c, 8)
59014
- buffer.writeInt32LE(this._d, 12)
59015
- buffer.writeInt32LE(this._e, 16)
59016
- return buffer
60993
+ // Do not cache `Buffer.isEncoding` when checking encoding names as some
60994
+ // modules monkey-patch it to support additional encodings
60995
+ function normalizeEncoding(enc) {
60996
+ var nenc = _normalizeEncoding(enc);
60997
+ if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);
60998
+ return nenc || enc;
59017
60999
  }
59018
61000
 
59019
- function rotl (x, n) {
59020
- return (x << n) | (x >>> (32 - n))
61001
+ // StringDecoder provides an interface for efficiently splitting a series of
61002
+ // buffers into a series of JS strings without breaking apart multi-byte
61003
+ // characters.
61004
+ exports.StringDecoder = StringDecoder;
61005
+ function StringDecoder(encoding) {
61006
+ this.encoding = normalizeEncoding(encoding);
61007
+ var nb;
61008
+ switch (this.encoding) {
61009
+ case 'utf16le':
61010
+ this.text = utf16Text;
61011
+ this.end = utf16End;
61012
+ nb = 4;
61013
+ break;
61014
+ case 'utf8':
61015
+ this.fillLast = utf8FillLast;
61016
+ nb = 4;
61017
+ break;
61018
+ case 'base64':
61019
+ this.text = base64Text;
61020
+ this.end = base64End;
61021
+ nb = 3;
61022
+ break;
61023
+ default:
61024
+ this.write = simpleWrite;
61025
+ this.end = simpleEnd;
61026
+ return;
61027
+ }
61028
+ this.lastNeed = 0;
61029
+ this.lastTotal = 0;
61030
+ this.lastChar = Buffer.allocUnsafe(nb);
61031
+ }
61032
+
61033
+ StringDecoder.prototype.write = function (buf) {
61034
+ if (buf.length === 0) return '';
61035
+ var r;
61036
+ var i;
61037
+ if (this.lastNeed) {
61038
+ r = this.fillLast(buf);
61039
+ if (r === undefined) return '';
61040
+ i = this.lastNeed;
61041
+ this.lastNeed = 0;
61042
+ } else {
61043
+ i = 0;
61044
+ }
61045
+ if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);
61046
+ return r || '';
61047
+ };
61048
+
61049
+ StringDecoder.prototype.end = utf8End;
61050
+
61051
+ // Returns only complete characters in a Buffer
61052
+ StringDecoder.prototype.text = utf8Text;
61053
+
61054
+ // Attempts to complete a partial non-UTF-8 character using bytes from a Buffer
61055
+ StringDecoder.prototype.fillLast = function (buf) {
61056
+ if (this.lastNeed <= buf.length) {
61057
+ buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);
61058
+ return this.lastChar.toString(this.encoding, 0, this.lastTotal);
61059
+ }
61060
+ buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);
61061
+ this.lastNeed -= buf.length;
61062
+ };
61063
+
61064
+ // Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a
61065
+ // continuation byte. If an invalid byte is detected, -2 is returned.
61066
+ function utf8CheckByte(byte) {
61067
+ if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4;
61068
+ return byte >> 6 === 0x02 ? -1 : -2;
61069
+ }
61070
+
61071
+ // Checks at most 3 bytes at the end of a Buffer in order to detect an
61072
+ // incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)
61073
+ // needed to complete the UTF-8 character (if applicable) are returned.
61074
+ function utf8CheckIncomplete(self, buf, i) {
61075
+ var j = buf.length - 1;
61076
+ if (j < i) return 0;
61077
+ var nb = utf8CheckByte(buf[j]);
61078
+ if (nb >= 0) {
61079
+ if (nb > 0) self.lastNeed = nb - 1;
61080
+ return nb;
61081
+ }
61082
+ if (--j < i || nb === -2) return 0;
61083
+ nb = utf8CheckByte(buf[j]);
61084
+ if (nb >= 0) {
61085
+ if (nb > 0) self.lastNeed = nb - 2;
61086
+ return nb;
61087
+ }
61088
+ if (--j < i || nb === -2) return 0;
61089
+ nb = utf8CheckByte(buf[j]);
61090
+ if (nb >= 0) {
61091
+ if (nb > 0) {
61092
+ if (nb === 2) nb = 0;else self.lastNeed = nb - 3;
61093
+ }
61094
+ return nb;
61095
+ }
61096
+ return 0;
61097
+ }
61098
+
61099
+ // Validates as many continuation bytes for a multi-byte UTF-8 character as
61100
+ // needed or are available. If we see a non-continuation byte where we expect
61101
+ // one, we "replace" the validated continuation bytes we've seen so far with
61102
+ // a single UTF-8 replacement character ('\ufffd'), to match v8's UTF-8 decoding
61103
+ // behavior. The continuation byte check is included three times in the case
61104
+ // where all of the continuation bytes for a character exist in the same buffer.
61105
+ // It is also done this way as a slight performance increase instead of using a
61106
+ // loop.
61107
+ function utf8CheckExtraBytes(self, buf, p) {
61108
+ if ((buf[0] & 0xC0) !== 0x80) {
61109
+ self.lastNeed = 0;
61110
+ return '\ufffd';
61111
+ }
61112
+ if (self.lastNeed > 1 && buf.length > 1) {
61113
+ if ((buf[1] & 0xC0) !== 0x80) {
61114
+ self.lastNeed = 1;
61115
+ return '\ufffd';
61116
+ }
61117
+ if (self.lastNeed > 2 && buf.length > 2) {
61118
+ if ((buf[2] & 0xC0) !== 0x80) {
61119
+ self.lastNeed = 2;
61120
+ return '\ufffd';
61121
+ }
61122
+ }
61123
+ }
61124
+ }
61125
+
61126
+ // Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.
61127
+ function utf8FillLast(buf) {
61128
+ var p = this.lastTotal - this.lastNeed;
61129
+ var r = utf8CheckExtraBytes(this, buf, p);
61130
+ if (r !== undefined) return r;
61131
+ if (this.lastNeed <= buf.length) {
61132
+ buf.copy(this.lastChar, p, 0, this.lastNeed);
61133
+ return this.lastChar.toString(this.encoding, 0, this.lastTotal);
61134
+ }
61135
+ buf.copy(this.lastChar, p, 0, buf.length);
61136
+ this.lastNeed -= buf.length;
61137
+ }
61138
+
61139
+ // Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a
61140
+ // partial character, the character's bytes are buffered until the required
61141
+ // number of bytes are available.
61142
+ function utf8Text(buf, i) {
61143
+ var total = utf8CheckIncomplete(this, buf, i);
61144
+ if (!this.lastNeed) return buf.toString('utf8', i);
61145
+ this.lastTotal = total;
61146
+ var end = buf.length - (total - this.lastNeed);
61147
+ buf.copy(this.lastChar, 0, end);
61148
+ return buf.toString('utf8', i, end);
61149
+ }
61150
+
61151
+ // For UTF-8, a replacement character is added when ending on a partial
61152
+ // character.
61153
+ function utf8End(buf) {
61154
+ var r = buf && buf.length ? this.write(buf) : '';
61155
+ if (this.lastNeed) return r + '\ufffd';
61156
+ return r;
61157
+ }
61158
+
61159
+ // UTF-16LE typically needs two bytes per character, but even if we have an even
61160
+ // number of bytes available, we need to check if we end on a leading/high
61161
+ // surrogate. In that case, we need to wait for the next two bytes in order to
61162
+ // decode the last character properly.
61163
+ function utf16Text(buf, i) {
61164
+ if ((buf.length - i) % 2 === 0) {
61165
+ var r = buf.toString('utf16le', i);
61166
+ if (r) {
61167
+ var c = r.charCodeAt(r.length - 1);
61168
+ if (c >= 0xD800 && c <= 0xDBFF) {
61169
+ this.lastNeed = 2;
61170
+ this.lastTotal = 4;
61171
+ this.lastChar[0] = buf[buf.length - 2];
61172
+ this.lastChar[1] = buf[buf.length - 1];
61173
+ return r.slice(0, -1);
61174
+ }
61175
+ }
61176
+ return r;
61177
+ }
61178
+ this.lastNeed = 1;
61179
+ this.lastTotal = 2;
61180
+ this.lastChar[0] = buf[buf.length - 1];
61181
+ return buf.toString('utf16le', i, buf.length - 1);
61182
+ }
61183
+
61184
+ // For UTF-16LE we do not explicitly append special replacement characters if we
61185
+ // end on a partial character, we simply let v8 handle that.
61186
+ function utf16End(buf) {
61187
+ var r = buf && buf.length ? this.write(buf) : '';
61188
+ if (this.lastNeed) {
61189
+ var end = this.lastTotal - this.lastNeed;
61190
+ return r + this.lastChar.toString('utf16le', 0, end);
61191
+ }
61192
+ return r;
61193
+ }
61194
+
61195
+ function base64Text(buf, i) {
61196
+ var n = (buf.length - i) % 3;
61197
+ if (n === 0) return buf.toString('base64', i);
61198
+ this.lastNeed = 3 - n;
61199
+ this.lastTotal = 3;
61200
+ if (n === 1) {
61201
+ this.lastChar[0] = buf[buf.length - 1];
61202
+ } else {
61203
+ this.lastChar[0] = buf[buf.length - 2];
61204
+ this.lastChar[1] = buf[buf.length - 1];
61205
+ }
61206
+ return buf.toString('base64', i, buf.length - n);
61207
+ }
61208
+
61209
+ function base64End(buf) {
61210
+ var r = buf && buf.length ? this.write(buf) : '';
61211
+ if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed);
61212
+ return r;
61213
+ }
61214
+
61215
+ // Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)
61216
+ function simpleWrite(buf) {
61217
+ return buf.toString(this.encoding);
61218
+ }
61219
+
61220
+ function simpleEnd(buf) {
61221
+ return buf && buf.length ? this.write(buf) : '';
59021
61222
  }
59022
61223
 
59023
- function fn1 (a, b, c, d, e, m, k, s) {
59024
- return (rotl((a + (b ^ c ^ d) + m + k) | 0, s) + e) | 0
61224
+ }),
61225
+ "./node_modules/ripemd160/node_modules/string_decoder/node_modules/safe-buffer/index.js": (function (module, exports, __webpack_require__) {
61226
+ /* eslint-disable node/no-deprecated-api */
61227
+ var buffer = __webpack_require__("./node_modules/buffer/index.js")
61228
+ var Buffer = buffer.Buffer
61229
+
61230
+ // alternative to using Object.keys for old browsers
61231
+ function copyProps (src, dst) {
61232
+ for (var key in src) {
61233
+ dst[key] = src[key]
61234
+ }
61235
+ }
61236
+ if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {
61237
+ module.exports = buffer
61238
+ } else {
61239
+ // Copy properties from require('buffer')
61240
+ copyProps(buffer, exports)
61241
+ exports.Buffer = SafeBuffer
59025
61242
  }
59026
61243
 
59027
- function fn2 (a, b, c, d, e, m, k, s) {
59028
- return (rotl((a + ((b & c) | ((~b) & d)) + m + k) | 0, s) + e) | 0
61244
+ function SafeBuffer (arg, encodingOrOffset, length) {
61245
+ return Buffer(arg, encodingOrOffset, length)
59029
61246
  }
59030
61247
 
59031
- function fn3 (a, b, c, d, e, m, k, s) {
59032
- return (rotl((a + ((b | (~c)) ^ d) + m + k) | 0, s) + e) | 0
61248
+ // Copy static methods from Buffer
61249
+ copyProps(Buffer, SafeBuffer)
61250
+
61251
+ SafeBuffer.from = function (arg, encodingOrOffset, length) {
61252
+ if (typeof arg === 'number') {
61253
+ throw new TypeError('Argument must not be a number')
61254
+ }
61255
+ return Buffer(arg, encodingOrOffset, length)
59033
61256
  }
59034
61257
 
59035
- function fn4 (a, b, c, d, e, m, k, s) {
59036
- return (rotl((a + ((b & d) | (c & (~d))) + m + k) | 0, s) + e) | 0
61258
+ SafeBuffer.alloc = function (size, fill, encoding) {
61259
+ if (typeof size !== 'number') {
61260
+ throw new TypeError('Argument must be a number')
61261
+ }
61262
+ var buf = Buffer(size)
61263
+ if (fill !== undefined) {
61264
+ if (typeof encoding === 'string') {
61265
+ buf.fill(fill, encoding)
61266
+ } else {
61267
+ buf.fill(fill)
61268
+ }
61269
+ } else {
61270
+ buf.fill(0)
61271
+ }
61272
+ return buf
59037
61273
  }
59038
61274
 
59039
- function fn5 (a, b, c, d, e, m, k, s) {
59040
- return (rotl((a + (b ^ (c | (~d))) + m + k) | 0, s) + e) | 0
61275
+ SafeBuffer.allocUnsafe = function (size) {
61276
+ if (typeof size !== 'number') {
61277
+ throw new TypeError('Argument must be a number')
61278
+ }
61279
+ return Buffer(size)
59041
61280
  }
59042
61281
 
59043
- module.exports = RIPEMD160
61282
+ SafeBuffer.allocUnsafeSlow = function (size) {
61283
+ if (typeof size !== 'number') {
61284
+ throw new TypeError('Argument must be a number')
61285
+ }
61286
+ return buffer.SlowBuffer(size)
61287
+ }
59044
61288
 
59045
61289
 
59046
61290
  }),
@@ -63219,7 +65463,7 @@ module.exports = {
63219
65463
 
63220
65464
  }),
63221
65465
  "./node_modules/stream-browserify/node_modules/readable-stream/lib/internal/streams/stream-browser.js": (function (module, __unused_webpack_exports, __webpack_require__) {
63222
- module.exports = (__webpack_require__("./node_modules/events/events.js")/* .EventEmitter */.EventEmitter);
65466
+ module.exports = __webpack_require__("./node_modules/events/events.js")/* .EventEmitter */.EventEmitter;
63223
65467
 
63224
65468
 
63225
65469
  }),
@@ -63546,11 +65790,11 @@ var useArrayBuffer = typeof ArrayBuffer !== 'undefined'
63546
65790
  var useFromArrayBuffer = useArrayBuffer && (Buffer.prototype instanceof Uint8Array || Buffer.TYPED_ARRAY_SUPPORT);
63547
65791
 
63548
65792
  module.exports = function toBuffer(data, encoding) {
63549
- /*
63550
- * No need to do anything for exact instance
63551
- * This is only valid when safe-buffer.Buffer === buffer.Buffer, i.e. when Buffer.from/Buffer.alloc existed
63552
- */
63553
- if (data instanceof Buffer) {
65793
+ if (Buffer.isBuffer(data)) {
65794
+ if (data.constructor && !('isBuffer' in data)) {
65795
+ // probably a SlowBuffer
65796
+ return Buffer.from(data);
65797
+ }
63554
65798
  return data;
63555
65799
  }
63556
65800
 
@@ -63624,9 +65868,9 @@ module.exports = function toBuffer(data, encoding) {
63624
65868
  if (
63625
65869
  isArr || (
63626
65870
  Buffer.isBuffer(data)
63627
- && data.constructor
63628
- && typeof data.constructor.isBuffer === 'function'
63629
- && data.constructor.isBuffer(data)
65871
+ && data.constructor
65872
+ && typeof data.constructor.isBuffer === 'function'
65873
+ && data.constructor.isBuffer(data)
63630
65874
  )
63631
65875
  ) {
63632
65876
  return Buffer.from(data);
@@ -66010,6 +68254,12 @@ class HttpClient {
66010
68254
  return value !== undefined;
66011
68255
  }).map((param)=>{
66012
68256
  let [key, value] = param;
68257
+ if (value instanceof Date) {
68258
+ return [
68259
+ key,
68260
+ value.toISOString()
68261
+ ];
68262
+ }
66013
68263
  const updatedValue = typeof value === 'boolean' ? Number(value) : value;
66014
68264
  return [
66015
68265
  key,
@@ -66062,131 +68312,158 @@ class HttpClient {
66062
68312
  "use strict";
66063
68313
  __webpack_require__.r(__webpack_exports__);
66064
68314
  __webpack_require__.d(__webpack_exports__, {
66065
- ApifyApiError: () => (/* reexport safe */ _apify_api_error__WEBPACK_IMPORTED_MODULE_24__.ApifyApiError),
66066
- InvalidResponseBodyError: () => (/* reexport safe */ _interceptors__WEBPACK_IMPORTED_MODULE_25__.InvalidResponseBodyError)
68315
+ InvalidResponseBodyError: () => (/* reexport safe */ _interceptors__WEBPACK_IMPORTED_MODULE_29__.InvalidResponseBodyError)
66067
68316
  });
66068
68317
  /* ESM import */var _apify_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./src/apify_client.ts");
66069
68318
 
66070
68319
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66071
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _apify_client__WEBPACK_IMPORTED_MODULE_0__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _apify_client__WEBPACK_IMPORTED_MODULE_0__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68320
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _apify_client__WEBPACK_IMPORTED_MODULE_0__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _apify_client__WEBPACK_IMPORTED_MODULE_0__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66072
68321
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66073
68322
  /* ESM import */var _resource_clients_actor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("./src/resource_clients/actor.ts");
66074
68323
 
66075
68324
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66076
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_actor__WEBPACK_IMPORTED_MODULE_1__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_actor__WEBPACK_IMPORTED_MODULE_1__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68325
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_actor__WEBPACK_IMPORTED_MODULE_1__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_actor__WEBPACK_IMPORTED_MODULE_1__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66077
68326
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66078
68327
  /* ESM import */var _resource_clients_actor_collection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("./src/resource_clients/actor_collection.ts");
66079
68328
 
66080
68329
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66081
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_actor_collection__WEBPACK_IMPORTED_MODULE_2__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_actor_collection__WEBPACK_IMPORTED_MODULE_2__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68330
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_actor_collection__WEBPACK_IMPORTED_MODULE_2__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_actor_collection__WEBPACK_IMPORTED_MODULE_2__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68331
+ /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
68332
+ /* ESM import */var _resource_clients_actor_env_var__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("./src/resource_clients/actor_env_var.ts");
68333
+
68334
+ /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
68335
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_actor_env_var__WEBPACK_IMPORTED_MODULE_3__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_actor_env_var__WEBPACK_IMPORTED_MODULE_3__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68336
+ /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
68337
+ /* ESM import */var _resource_clients_actor_env_var_collection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("./src/resource_clients/actor_env_var_collection.ts");
68338
+
68339
+ /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
68340
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_actor_env_var_collection__WEBPACK_IMPORTED_MODULE_4__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_actor_env_var_collection__WEBPACK_IMPORTED_MODULE_4__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68341
+ /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
68342
+ /* ESM import */var _resource_clients_actor_version__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("./src/resource_clients/actor_version.ts");
68343
+
68344
+ /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
68345
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_actor_version__WEBPACK_IMPORTED_MODULE_5__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_actor_version__WEBPACK_IMPORTED_MODULE_5__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68346
+ /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
68347
+ /* ESM import */var _resource_clients_actor_version_collection__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("./src/resource_clients/actor_version_collection.ts");
68348
+
68349
+ /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
68350
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_actor_version_collection__WEBPACK_IMPORTED_MODULE_6__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_actor_version_collection__WEBPACK_IMPORTED_MODULE_6__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68351
+ /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
68352
+ /* ESM import */var _resource_clients_build__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("./src/resource_clients/build.ts");
68353
+
68354
+ /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
68355
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_build__WEBPACK_IMPORTED_MODULE_7__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_build__WEBPACK_IMPORTED_MODULE_7__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66082
68356
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66083
- /* ESM import */var _resource_clients_build__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("./src/resource_clients/build.ts");
68357
+ /* ESM import */var _resource_clients_build_collection__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("./src/resource_clients/build_collection.ts");
66084
68358
 
66085
68359
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66086
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_build__WEBPACK_IMPORTED_MODULE_3__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_build__WEBPACK_IMPORTED_MODULE_3__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68360
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_build_collection__WEBPACK_IMPORTED_MODULE_8__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_build_collection__WEBPACK_IMPORTED_MODULE_8__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66087
68361
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66088
- /* ESM import */var _resource_clients_build_collection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("./src/resource_clients/build_collection.ts");
68362
+ /* ESM import */var _resource_clients_dataset__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("./src/resource_clients/dataset.ts");
66089
68363
 
66090
68364
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66091
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_build_collection__WEBPACK_IMPORTED_MODULE_4__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_build_collection__WEBPACK_IMPORTED_MODULE_4__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68365
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_dataset__WEBPACK_IMPORTED_MODULE_9__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_dataset__WEBPACK_IMPORTED_MODULE_9__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66092
68366
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66093
- /* ESM import */var _resource_clients_dataset__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("./src/resource_clients/dataset.ts");
68367
+ /* ESM import */var _resource_clients_dataset_collection__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("./src/resource_clients/dataset_collection.ts");
66094
68368
 
66095
68369
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66096
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_dataset__WEBPACK_IMPORTED_MODULE_5__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_dataset__WEBPACK_IMPORTED_MODULE_5__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68370
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_dataset_collection__WEBPACK_IMPORTED_MODULE_10__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_dataset_collection__WEBPACK_IMPORTED_MODULE_10__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66097
68371
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66098
- /* ESM import */var _resource_clients_dataset_collection__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("./src/resource_clients/dataset_collection.ts");
68372
+ /* ESM import */var _resource_clients_key_value_store__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("./src/resource_clients/key_value_store.ts");
66099
68373
 
66100
68374
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66101
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_dataset_collection__WEBPACK_IMPORTED_MODULE_6__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_dataset_collection__WEBPACK_IMPORTED_MODULE_6__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68375
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_key_value_store__WEBPACK_IMPORTED_MODULE_11__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_key_value_store__WEBPACK_IMPORTED_MODULE_11__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66102
68376
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66103
- /* ESM import */var _resource_clients_key_value_store__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("./src/resource_clients/key_value_store.ts");
68377
+ /* ESM import */var _resource_clients_key_value_store_collection__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("./src/resource_clients/key_value_store_collection.ts");
66104
68378
 
66105
68379
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66106
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_key_value_store__WEBPACK_IMPORTED_MODULE_7__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_key_value_store__WEBPACK_IMPORTED_MODULE_7__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68380
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_key_value_store_collection__WEBPACK_IMPORTED_MODULE_12__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_key_value_store_collection__WEBPACK_IMPORTED_MODULE_12__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66107
68381
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66108
- /* ESM import */var _resource_clients_key_value_store_collection__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("./src/resource_clients/key_value_store_collection.ts");
68382
+ /* ESM import */var _resource_clients_log__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("./src/resource_clients/log.ts");
66109
68383
 
66110
68384
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66111
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_key_value_store_collection__WEBPACK_IMPORTED_MODULE_8__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_key_value_store_collection__WEBPACK_IMPORTED_MODULE_8__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68385
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_log__WEBPACK_IMPORTED_MODULE_13__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_log__WEBPACK_IMPORTED_MODULE_13__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66112
68386
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66113
- /* ESM import */var _resource_clients_log__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("./src/resource_clients/log.ts");
68387
+ /* ESM import */var _resource_clients_request_queue__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("./src/resource_clients/request_queue.ts");
66114
68388
 
66115
68389
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66116
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_log__WEBPACK_IMPORTED_MODULE_9__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_log__WEBPACK_IMPORTED_MODULE_9__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68390
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_request_queue__WEBPACK_IMPORTED_MODULE_14__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_request_queue__WEBPACK_IMPORTED_MODULE_14__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66117
68391
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66118
- /* ESM import */var _resource_clients_request_queue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("./src/resource_clients/request_queue.ts");
68392
+ /* ESM import */var _resource_clients_request_queue_collection__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("./src/resource_clients/request_queue_collection.ts");
66119
68393
 
66120
68394
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66121
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_request_queue__WEBPACK_IMPORTED_MODULE_10__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_request_queue__WEBPACK_IMPORTED_MODULE_10__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68395
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_request_queue_collection__WEBPACK_IMPORTED_MODULE_15__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_request_queue_collection__WEBPACK_IMPORTED_MODULE_15__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66122
68396
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66123
- /* ESM import */var _resource_clients_request_queue_collection__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("./src/resource_clients/request_queue_collection.ts");
68397
+ /* ESM import */var _resource_clients_run__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("./src/resource_clients/run.ts");
66124
68398
 
66125
68399
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66126
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_request_queue_collection__WEBPACK_IMPORTED_MODULE_11__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_request_queue_collection__WEBPACK_IMPORTED_MODULE_11__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68400
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_run__WEBPACK_IMPORTED_MODULE_16__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_run__WEBPACK_IMPORTED_MODULE_16__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66127
68401
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66128
- /* ESM import */var _resource_clients_run__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("./src/resource_clients/run.ts");
68402
+ /* ESM import */var _resource_clients_run_collection__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("./src/resource_clients/run_collection.ts");
66129
68403
 
66130
68404
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66131
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_run__WEBPACK_IMPORTED_MODULE_12__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_run__WEBPACK_IMPORTED_MODULE_12__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68405
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_run_collection__WEBPACK_IMPORTED_MODULE_17__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_run_collection__WEBPACK_IMPORTED_MODULE_17__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66132
68406
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66133
- /* ESM import */var _resource_clients_run_collection__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("./src/resource_clients/run_collection.ts");
68407
+ /* ESM import */var _resource_clients_schedule__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("./src/resource_clients/schedule.ts");
66134
68408
 
66135
68409
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66136
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_run_collection__WEBPACK_IMPORTED_MODULE_13__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_run_collection__WEBPACK_IMPORTED_MODULE_13__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68410
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_schedule__WEBPACK_IMPORTED_MODULE_18__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_schedule__WEBPACK_IMPORTED_MODULE_18__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66137
68411
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66138
- /* ESM import */var _resource_clients_schedule__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("./src/resource_clients/schedule.ts");
68412
+ /* ESM import */var _resource_clients_schedule_collection__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("./src/resource_clients/schedule_collection.ts");
66139
68413
 
66140
68414
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66141
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_schedule__WEBPACK_IMPORTED_MODULE_14__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_schedule__WEBPACK_IMPORTED_MODULE_14__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68415
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_schedule_collection__WEBPACK_IMPORTED_MODULE_19__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_schedule_collection__WEBPACK_IMPORTED_MODULE_19__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66142
68416
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66143
- /* ESM import */var _resource_clients_schedule_collection__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("./src/resource_clients/schedule_collection.ts");
68417
+ /* ESM import */var _resource_clients_store_collection__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("./src/resource_clients/store_collection.ts");
66144
68418
 
66145
68419
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66146
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_schedule_collection__WEBPACK_IMPORTED_MODULE_15__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_schedule_collection__WEBPACK_IMPORTED_MODULE_15__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68420
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_store_collection__WEBPACK_IMPORTED_MODULE_20__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_store_collection__WEBPACK_IMPORTED_MODULE_20__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66147
68421
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66148
- /* ESM import */var _resource_clients_task__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("./src/resource_clients/task.ts");
68422
+ /* ESM import */var _resource_clients_task__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__("./src/resource_clients/task.ts");
66149
68423
 
66150
68424
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66151
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_task__WEBPACK_IMPORTED_MODULE_16__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_task__WEBPACK_IMPORTED_MODULE_16__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68425
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_task__WEBPACK_IMPORTED_MODULE_21__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_task__WEBPACK_IMPORTED_MODULE_21__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66152
68426
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66153
- /* ESM import */var _resource_clients_task_collection__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("./src/resource_clients/task_collection.ts");
68427
+ /* ESM import */var _resource_clients_task_collection__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__("./src/resource_clients/task_collection.ts");
66154
68428
 
66155
68429
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66156
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_task_collection__WEBPACK_IMPORTED_MODULE_17__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_task_collection__WEBPACK_IMPORTED_MODULE_17__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68430
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_task_collection__WEBPACK_IMPORTED_MODULE_22__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_task_collection__WEBPACK_IMPORTED_MODULE_22__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66157
68431
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66158
- /* ESM import */var _resource_clients_user__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("./src/resource_clients/user.ts");
68432
+ /* ESM import */var _resource_clients_user__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__("./src/resource_clients/user.ts");
66159
68433
 
66160
68434
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66161
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_user__WEBPACK_IMPORTED_MODULE_18__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_user__WEBPACK_IMPORTED_MODULE_18__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68435
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_user__WEBPACK_IMPORTED_MODULE_23__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_user__WEBPACK_IMPORTED_MODULE_23__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66162
68436
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66163
- /* ESM import */var _resource_clients_webhook__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("./src/resource_clients/webhook.ts");
68437
+ /* ESM import */var _resource_clients_webhook__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__("./src/resource_clients/webhook.ts");
66164
68438
 
66165
68439
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66166
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_webhook__WEBPACK_IMPORTED_MODULE_19__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_webhook__WEBPACK_IMPORTED_MODULE_19__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68440
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_webhook__WEBPACK_IMPORTED_MODULE_24__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_webhook__WEBPACK_IMPORTED_MODULE_24__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66167
68441
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66168
- /* ESM import */var _resource_clients_webhook_collection__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("./src/resource_clients/webhook_collection.ts");
68442
+ /* ESM import */var _resource_clients_webhook_collection__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__("./src/resource_clients/webhook_collection.ts");
66169
68443
 
66170
68444
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66171
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_webhook_collection__WEBPACK_IMPORTED_MODULE_20__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_webhook_collection__WEBPACK_IMPORTED_MODULE_20__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68445
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_webhook_collection__WEBPACK_IMPORTED_MODULE_25__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_webhook_collection__WEBPACK_IMPORTED_MODULE_25__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66172
68446
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66173
- /* ESM import */var _resource_clients_webhook_dispatch__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__("./src/resource_clients/webhook_dispatch.ts");
68447
+ /* ESM import */var _resource_clients_webhook_dispatch__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__("./src/resource_clients/webhook_dispatch.ts");
66174
68448
 
66175
68449
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66176
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_webhook_dispatch__WEBPACK_IMPORTED_MODULE_21__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_webhook_dispatch__WEBPACK_IMPORTED_MODULE_21__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68450
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_webhook_dispatch__WEBPACK_IMPORTED_MODULE_26__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_webhook_dispatch__WEBPACK_IMPORTED_MODULE_26__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66177
68451
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66178
- /* ESM import */var _resource_clients_webhook_dispatch_collection__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__("./src/resource_clients/webhook_dispatch_collection.ts");
68452
+ /* ESM import */var _resource_clients_webhook_dispatch_collection__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__("./src/resource_clients/webhook_dispatch_collection.ts");
66179
68453
 
66180
68454
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66181
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_webhook_dispatch_collection__WEBPACK_IMPORTED_MODULE_22__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_webhook_dispatch_collection__WEBPACK_IMPORTED_MODULE_22__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68455
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_webhook_dispatch_collection__WEBPACK_IMPORTED_MODULE_27__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_webhook_dispatch_collection__WEBPACK_IMPORTED_MODULE_27__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66182
68456
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66183
- /* ESM import */var _resource_clients_store_collection__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__("./src/resource_clients/store_collection.ts");
68457
+ /* ESM import */var _apify_api_error__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__("./src/apify_api_error.ts");
66184
68458
 
66185
68459
  /* ESM reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
66186
- /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _resource_clients_store_collection__WEBPACK_IMPORTED_MODULE_23__) if(["ApifyApiError","default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _resource_clients_store_collection__WEBPACK_IMPORTED_MODULE_23__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
68460
+ /* ESM reexport (unknown) */ for( var __WEBPACK_IMPORT_KEY__ in _apify_api_error__WEBPACK_IMPORTED_MODULE_28__) if(["default","InvalidResponseBodyError"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] =function(key) { return _apify_api_error__WEBPACK_IMPORTED_MODULE_28__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
66187
68461
  /* ESM reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
66188
- /* ESM import */var _apify_api_error__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__("./src/apify_api_error.ts");
66189
- /* ESM import */var _interceptors__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__("./src/interceptors.ts");
68462
+ /* ESM import */var _interceptors__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__("./src/interceptors.ts");
68463
+
68464
+
68465
+
68466
+
66190
68467
 
66191
68468
 
66192
68469
 
@@ -66963,7 +69240,8 @@ class DatasetClient extends _base_resource_client__WEBPACK_IMPORTED_MODULE_1__.R
66963
69240
  skipEmpty: (ow__WEBPACK_IMPORTED_MODULE_3___default().optional.boolean),
66964
69241
  skipHidden: (ow__WEBPACK_IMPORTED_MODULE_3___default().optional.boolean),
66965
69242
  unwind: ow__WEBPACK_IMPORTED_MODULE_3___default().optional.any((ow__WEBPACK_IMPORTED_MODULE_3___default().string), ow__WEBPACK_IMPORTED_MODULE_3___default().array.ofType((ow__WEBPACK_IMPORTED_MODULE_3___default().string))),
66966
- view: (ow__WEBPACK_IMPORTED_MODULE_3___default().optional.string)
69243
+ view: (ow__WEBPACK_IMPORTED_MODULE_3___default().optional.string),
69244
+ signature: (ow__WEBPACK_IMPORTED_MODULE_3___default().optional.string)
66967
69245
  }));
66968
69246
  const response = await this.httpClient.call({
66969
69247
  url: this._url('items'),
@@ -66997,7 +69275,8 @@ class DatasetClient extends _base_resource_client__WEBPACK_IMPORTED_MODULE_1__.R
66997
69275
  unwind: ow__WEBPACK_IMPORTED_MODULE_3___default().any((ow__WEBPACK_IMPORTED_MODULE_3___default().optional.string), ow__WEBPACK_IMPORTED_MODULE_3___default().optional.array.ofType((ow__WEBPACK_IMPORTED_MODULE_3___default().string))),
66998
69276
  view: (ow__WEBPACK_IMPORTED_MODULE_3___default().optional.string),
66999
69277
  xmlRoot: (ow__WEBPACK_IMPORTED_MODULE_3___default().optional.string),
67000
- xmlRow: (ow__WEBPACK_IMPORTED_MODULE_3___default().optional.string)
69278
+ xmlRow: (ow__WEBPACK_IMPORTED_MODULE_3___default().optional.string),
69279
+ signature: (ow__WEBPACK_IMPORTED_MODULE_3___default().optional.string)
67001
69280
  }));
67002
69281
  const { data } = await this.httpClient.call({
67003
69282
  url: this._url('items'),
@@ -67206,7 +69485,8 @@ class KeyValueStoreClient extends _base_resource_client__WEBPACK_IMPORTED_MODULE
67206
69485
  limit: (ow__WEBPACK_IMPORTED_MODULE_4___default().optional.number),
67207
69486
  exclusiveStartKey: (ow__WEBPACK_IMPORTED_MODULE_4___default().optional.string),
67208
69487
  collection: (ow__WEBPACK_IMPORTED_MODULE_4___default().optional.string),
67209
- prefix: (ow__WEBPACK_IMPORTED_MODULE_4___default().optional.string)
69488
+ prefix: (ow__WEBPACK_IMPORTED_MODULE_4___default().optional.string),
69489
+ signature: (ow__WEBPACK_IMPORTED_MODULE_4___default().optional.string)
67210
69490
  }));
67211
69491
  const response = await this.httpClient.call({
67212
69492
  url: this._url('keys'),
@@ -67291,7 +69571,8 @@ class KeyValueStoreClient extends _base_resource_client__WEBPACK_IMPORTED_MODULE
67291
69571
  ow__WEBPACK_IMPORTED_MODULE_4___default()(options, ow__WEBPACK_IMPORTED_MODULE_4___default().object.exactShape({
67292
69572
  buffer: (ow__WEBPACK_IMPORTED_MODULE_4___default().optional.boolean),
67293
69573
  stream: (ow__WEBPACK_IMPORTED_MODULE_4___default().optional.boolean),
67294
- disableRedirect: (ow__WEBPACK_IMPORTED_MODULE_4___default().optional.boolean)
69574
+ disableRedirect: (ow__WEBPACK_IMPORTED_MODULE_4___default().optional.boolean),
69575
+ signature: (ow__WEBPACK_IMPORTED_MODULE_4___default().optional.string)
67295
69576
  }));
67296
69577
  if (options.stream && !(0,_utils__WEBPACK_IMPORTED_MODULE_3__.isNode)()) {
67297
69578
  throw new Error('The stream option can only be used in Node.js environment.');
@@ -67299,10 +69580,12 @@ class KeyValueStoreClient extends _base_resource_client__WEBPACK_IMPORTED_MODULE
67299
69580
  if ('disableRedirect' in options) {
67300
69581
  _apify_log__WEBPACK_IMPORTED_MODULE_0__["default"].deprecated('The disableRedirect option for getRecord() is deprecated. ' + 'It has no effect and will be removed in the following major release.');
67301
69582
  }
69583
+ const queryParams = {};
69584
+ if (options.signature) queryParams.signature = options.signature;
67302
69585
  const requestOpts = {
67303
69586
  url: this._url(`records/${key}`),
67304
69587
  method: 'GET',
67305
- params: this._params(),
69588
+ params: this._params(queryParams),
67306
69589
  timeout: _base_resource_client__WEBPACK_IMPORTED_MODULE_2__.DEFAULT_TIMEOUT_MILLIS
67307
69590
  };
67308
69591
  if (options.buffer) requestOpts.forceBuffer = true;
@@ -68189,7 +70472,9 @@ class RunCollectionClient extends _base_resource_collection_client__WEBPACK_IMPO
68189
70472
  limit: (ow__WEBPACK_IMPORTED_MODULE_2___default().optional.number),
68190
70473
  offset: (ow__WEBPACK_IMPORTED_MODULE_2___default().optional.number),
68191
70474
  desc: (ow__WEBPACK_IMPORTED_MODULE_2___default().optional.boolean),
68192
- status: ow__WEBPACK_IMPORTED_MODULE_2___default().optional.any(ow__WEBPACK_IMPORTED_MODULE_2___default().string.oneOf(Object.values(_apify_consts__WEBPACK_IMPORTED_MODULE_0__.ACTOR_JOB_STATUSES)), ow__WEBPACK_IMPORTED_MODULE_2___default().array.ofType(ow__WEBPACK_IMPORTED_MODULE_2___default().string.oneOf(Object.values(_apify_consts__WEBPACK_IMPORTED_MODULE_0__.ACTOR_JOB_STATUSES))))
70475
+ status: ow__WEBPACK_IMPORTED_MODULE_2___default().optional.any(ow__WEBPACK_IMPORTED_MODULE_2___default().string.oneOf(Object.values(_apify_consts__WEBPACK_IMPORTED_MODULE_0__.ACTOR_JOB_STATUSES)), ow__WEBPACK_IMPORTED_MODULE_2___default().array.ofType(ow__WEBPACK_IMPORTED_MODULE_2___default().string.oneOf(Object.values(_apify_consts__WEBPACK_IMPORTED_MODULE_0__.ACTOR_JOB_STATUSES)))),
70476
+ startedBefore: ow__WEBPACK_IMPORTED_MODULE_2___default().optional.any((ow__WEBPACK_IMPORTED_MODULE_2___default().optional.date), (ow__WEBPACK_IMPORTED_MODULE_2___default().optional.string)),
70477
+ startedAfter: ow__WEBPACK_IMPORTED_MODULE_2___default().optional.any((ow__WEBPACK_IMPORTED_MODULE_2___default().optional.date), (ow__WEBPACK_IMPORTED_MODULE_2___default().optional.string))
68193
70478
  }));
68194
70479
  return this._list(options);
68195
70480
  }
@@ -69026,7 +71311,7 @@ function isStream(value) {
69026
71311
  function getVersionData() {
69027
71312
  if (true) {
69028
71313
  return {
69029
- version: "2.17.1-beta.0"
71314
+ version: "2.17.1-beta.10"
69030
71315
  };
69031
71316
  }
69032
71317
  // eslint-disable-next-line
@@ -69145,6 +71430,16 @@ function asArray(value) {
69145
71430
  "use strict";
69146
71431
  /* (ignored) */
69147
71432
 
71433
+ }),
71434
+ "?5c48": (function () {
71435
+ "use strict";
71436
+ /* (ignored) */
71437
+
71438
+ }),
71439
+ "?5084": (function () {
71440
+ "use strict";
71441
+ /* (ignored) */
71442
+
69148
71443
  }),
69149
71444
  "?fa3e": (function () {
69150
71445
  "use strict";
@@ -69472,8 +71767,10 @@ var DEFAULT_PLATFORM_LIMITS = {
69472
71767
  };
69473
71768
  var REQUEST_QUEUE_HEAD_MAX_LIMIT = 1e3;
69474
71769
  var APIFY_ENV_VARS = {
71770
+ ACTOR_PRICING_INFO: "APIFY_ACTOR_PRICING_INFO",
69475
71771
  API_BASE_URL: "APIFY_API_BASE_URL",
69476
71772
  API_PUBLIC_BASE_URL: "APIFY_API_PUBLIC_BASE_URL",
71773
+ CHARGED_ACTOR_EVENT_COUNTS: "APIFY_CHARGED_ACTOR_EVENT_COUNTS",
69477
71774
  CHROME_EXECUTABLE_PATH: "APIFY_CHROME_EXECUTABLE_PATH",
69478
71775
  DEDICATED_CPUS: "APIFY_DEDICATED_CPUS",
69479
71776
  DISABLE_OUTDATED_WARNING: "APIFY_DISABLE_OUTDATED_WARNING",
@@ -70310,6 +72607,7 @@ __webpack_require__.d(__webpack_exports__, {
70310
72607
  concatStreamToBuffer: () => (concatStreamToBuffer),
70311
72608
  configureLogger: () => (configureLogger),
70312
72609
  createHmacSignature: () => (createHmacSignature),
72610
+ createInjectableRegExp: () => (createInjectableRegExp),
70313
72611
  createStorageContentSignature: () => (createStorageContentSignature),
70314
72612
  cryptoRandomObjectId: () => (cryptoRandomObjectId),
70315
72613
  dateToString: () => (dateToString),
@@ -70391,13 +72689,13 @@ function parseDateFromJson(date) {
70391
72689
  }
70392
72690
  __name(parseDateFromJson, "parseDateFromJson");
70393
72691
  async function delayPromise(millis) {
70394
- return new Promise((resolve) => {
72692
+ return new Promise(((resolve) => {
70395
72693
  if (millis > 0) {
70396
72694
  setTimeout(() => resolve(), millis);
70397
72695
  } else {
70398
72696
  resolve();
70399
72697
  }
70400
- });
72698
+ }));
70401
72699
  }
70402
72700
  __name(delayPromise, "delayPromise");
70403
72701
  function removeFromArray(array, element) {
@@ -71373,6 +73671,10 @@ async function timeoutPromise(promise, timeoutMillis, errorMessage = "Promise ha
71373
73671
  });
71374
73672
  }
71375
73673
  __name(timeoutPromise, "timeoutPromise");
73674
+ function createInjectableRegExp(regex) {
73675
+ return new RegExp(regex.source.replace(/^\^|\$$/g, ""));
73676
+ }
73677
+ __name(createInjectableRegExp, "createInjectableRegExp");
71376
73678
 
71377
73679
  // src/utilities.client.ts
71378
73680
 
@@ -71460,9 +73762,9 @@ function parseUrl(str) {
71460
73762
  });
71461
73763
  uri.fragmentKey = {};
71462
73764
  if (uri.fragment) {
71463
- uri.fragment.replace(o.q.parser, ($0, $1, $2) => {
73765
+ uri.fragment.replace(o.q.parser, (($0, $1, $2) => {
71464
73766
  if ($1) uri.fragmentKey[$1] = $2;
71465
- });
73767
+ }));
71466
73768
  }
71467
73769
  return uri;
71468
73770
  }
@@ -72444,9 +74746,9 @@ const DEFAULT_CHUNK_SIZE = 64 * 1024;
72444
74746
 
72445
74747
  const {isFunction} = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"];
72446
74748
 
72447
- const globalFetchAPI = (({fetch, Request, Response}) => ({
72448
- fetch, Request, Response
72449
- }))(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global);
74749
+ const globalFetchAPI = (({Request, Response}) => ({
74750
+ Request, Response
74751
+ }))(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global);
72450
74752
 
72451
74753
  const {
72452
74754
  ReadableStream, TextEncoder
@@ -72462,8 +74764,12 @@ const test = (fn, ...args) => {
72462
74764
  }
72463
74765
 
72464
74766
  const factory = (env) => {
72465
- const {fetch, Request, Response} = Object.assign({}, globalFetchAPI, env);
72466
- const isFetchSupported = isFunction(fetch);
74767
+ env = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].merge.call({
74768
+ skipUndefined: true
74769
+ }, globalFetchAPI, env);
74770
+
74771
+ const {fetch: envFetch, Request, Response} = env;
74772
+ const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';
72467
74773
  const isRequestSupported = isFunction(Request);
72468
74774
  const isResponseSupported = isFunction(Response);
72469
74775
 
@@ -72566,6 +74872,8 @@ const factory = (env) => {
72566
74872
  fetchOptions
72567
74873
  } = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"])(config);
72568
74874
 
74875
+ let _fetch = envFetch || fetch;
74876
+
72569
74877
  responseType = responseType ? (responseType + '').toLowerCase() : 'text';
72570
74878
 
72571
74879
  let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
@@ -72625,7 +74933,7 @@ const factory = (env) => {
72625
74933
 
72626
74934
  request = isRequestSupported && new Request(url, resolvedOptions);
72627
74935
 
72628
- let response = await (isRequestSupported ? fetch(request, fetchOptions) : fetch(url, resolvedOptions));
74936
+ let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions));
72629
74937
 
72630
74938
  const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
72631
74939
 
@@ -72688,12 +74996,8 @@ const factory = (env) => {
72688
74996
  const seedCache = new Map();
72689
74997
 
72690
74998
  const getFetch = (config) => {
72691
- let env = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].merge.call({
72692
- skipUndefined: true
72693
- }, globalFetchAPI, config ? config.env : null);
72694
-
74999
+ let env = config ? config.env : {};
72695
75000
  const {fetch, Request, Response} = env;
72696
-
72697
75001
  const seeds = [
72698
75002
  Request, Response, fetch
72699
75003
  ];
@@ -73434,8 +75738,6 @@ class Axios {
73434
75738
 
73435
75739
  let newConfig = config;
73436
75740
 
73437
- i = 0;
73438
-
73439
75741
  while (i < len) {
73440
75742
  const onFulfilled = requestInterceptorChain[i++];
73441
75743
  const onRejected = requestInterceptorChain[i++];
@@ -74555,7 +76857,7 @@ __webpack_require__.r(__webpack_exports__);
74555
76857
  __webpack_require__.d(__webpack_exports__, {
74556
76858
  VERSION: () => (VERSION)
74557
76859
  });
74558
- const VERSION = "1.12.0";
76860
+ const VERSION = "1.12.2";
74559
76861
 
74560
76862
  }),
74561
76863
  "./node_modules/axios/lib/helpers/AxiosURLSearchParams.js": (function (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
@@ -76470,10 +78772,8 @@ function merge(/* obj1, obj2, obj3, ... */) {
76470
78772
  result[targetKey] = merge({}, val);
76471
78773
  } else if (isArray(val)) {
76472
78774
  result[targetKey] = val.slice();
76473
- } else {
76474
- if (!skipUndefined || !isUndefined(val)) {
76475
- result[targetKey] = val;
76476
- }
78775
+ } else if (!skipUndefined || !isUndefined(val)) {
78776
+ result[targetKey] = val;
76477
78777
  }
76478
78778
  }
76479
78779
 
@@ -76936,7 +79236,7 @@ module.exports = JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1
76936
79236
  }),
76937
79237
  "./package.json": (function (module) {
76938
79238
  "use strict";
76939
- module.exports = JSON.parse('{"name":"apify-client","version":"2.17.1-beta.0","description":"Apify API client for JavaScript","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","browser":"dist/bundle.js","unpkg":"dist/bundle.js","exports":{"./package.json":"./package.json",".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts","browser":"./dist/bundle.js"}},"keywords":["apify","api","apifier","crawler","scraper"],"author":{"name":"Apify","email":"support@apify.com","url":"https://apify.com"},"contributors":["Jan Curn <jan@apify.com>","Marek Trunkát <marek@apify.com>","Ondra Urban <ondra@apify.com>","Jakub Drobník <jakub.drobnik@apify.com>"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/apify/apify-client-js"},"bugs":{"url":"https://github.com/apify/apify-client-js/issues"},"homepage":"https://docs.apify.com/api/client/js/","files":["dist","!dist/*.tsbuildinfo"],"scripts":{"build":"npm run clean && npm run build:node && npm run build:browser","postbuild":"gen-esm-wrapper dist/index.js dist/index.mjs","prepublishOnly":"(test $CI || (echo \\"Publishing is reserved to CI!\\"; exit 1))","clean":"rimraf dist","test":"npm run build && jest","lint":"eslint","lint:fix":"eslint --fix","tsc-check-tests":"tsc --noEmit --project test/tsconfig.json","format":"prettier --write .","format:check":"prettier --check .","build:node":"tsc","build:browser":"rsbuild build"},"dependencies":{"@apify/consts":"^2.42.0","@apify/log":"^2.2.6","@apify/utilities":"^2.18.0","@crawlee/types":"^3.3.0","agentkeepalive":"^4.2.1","async-retry":"^1.3.3","axios":"^1.6.7","content-type":"^1.0.5","ow":"^0.28.2","tslib":"^2.5.0","type-fest":"^4.0.0"},"devDependencies":{"@apify/eslint-config":"^1.0.0","@apify/tsconfig":"^0.1.1","@babel/cli":"^7.21.0","@babel/core":"^7.21.0","@babel/preset-env":"^7.20.2","@babel/register":"^7.21.0","@crawlee/puppeteer":"^3.2.2","@rsbuild/core":"^1.3.6","@rsbuild/plugin-node-polyfill":"^1.3.0","@stylistic/eslint-plugin-ts":"^4.2.0","@types/async-retry":"^1.4.5","@types/content-type":"^1.1.5","@types/express":"^4.17.17","@types/fs-extra":"^11.0.1","@types/jest":"^29.4.0","@types/node":"^22.0.0","ajv":"^8.17.1","babel-loader":"^10.0.0","body-parser":"^1.20.3","compression":"^1.7.4","eslint":"^9.24.0","eslint-config-prettier":"^10.1.2","express":"^4.21.1","fs-extra":"^11.1.0","gen-esm-wrapper":"^1.1.2","globals":"^16.0.0","jest":"^29.4.3","prettier":"^3.5.3","process":"^0.11.10","puppeteer":"^24.0.0","rimraf":"^6.0.0","source-map-support":"^0.5.21","ts-jest":"^29.0.5","ts-loader":"^9.4.2","ts-node":"^10.9.1","typescript":"^5.8.3","typescript-eslint":"^8.29.1"},"packageManager":"npm@10.9.2"}')
79239
+ module.exports = JSON.parse('{"name":"apify-client","version":"2.17.1-beta.10","description":"Apify API client for JavaScript","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","browser":"dist/bundle.js","unpkg":"dist/bundle.js","exports":{"./package.json":"./package.json",".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts","browser":"./dist/bundle.js"}},"keywords":["apify","api","apifier","crawler","scraper"],"author":{"name":"Apify","email":"support@apify.com","url":"https://apify.com"},"contributors":["Jan Curn <jan@apify.com>","Marek Trunkát <marek@apify.com>","Ondra Urban <ondra@apify.com>","Jakub Drobník <jakub.drobnik@apify.com>"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/apify/apify-client-js"},"bugs":{"url":"https://github.com/apify/apify-client-js/issues"},"homepage":"https://docs.apify.com/api/client/js/","files":["dist","!dist/*.tsbuildinfo"],"scripts":{"build":"npm run clean && npm run build:node && npm run build:browser","postbuild":"gen-esm-wrapper dist/index.js dist/index.mjs","prepublishOnly":"(test $CI || (echo \\"Publishing is reserved to CI!\\"; exit 1))","clean":"rimraf dist","test":"npm run build && jest","lint":"eslint","lint:fix":"eslint --fix","tsc-check-tests":"tsc --noEmit --project test/tsconfig.json","format":"prettier --write .","format:check":"prettier --check .","build:node":"tsc","build:browser":"rsbuild build"},"dependencies":{"@apify/consts":"^2.42.0","@apify/log":"^2.2.6","@apify/utilities":"^2.18.0","@crawlee/types":"^3.3.0","agentkeepalive":"^4.2.1","async-retry":"^1.3.3","axios":"^1.6.7","content-type":"^1.0.5","ow":"^0.28.2","tslib":"^2.5.0","type-fest":"^4.0.0"},"devDependencies":{"@apify/eslint-config":"^1.0.0","@apify/tsconfig":"^0.1.1","@babel/cli":"^7.21.0","@babel/core":"^7.21.0","@babel/preset-env":"^7.20.2","@babel/register":"^7.21.0","@crawlee/puppeteer":"^3.2.2","@rsbuild/core":"^1.3.6","@rsbuild/plugin-node-polyfill":"^1.3.0","@stylistic/eslint-plugin-ts":"^4.2.0","@types/async-retry":"^1.4.5","@types/content-type":"^1.1.5","@types/express":"^5.0.0","@types/fs-extra":"^11.0.1","@types/jest":"^29.4.0","@types/node":"^22.0.0","ajv":"^8.17.1","babel-loader":"^10.0.0","body-parser":"^1.20.3","compression":"^1.7.4","eslint":"^9.24.0","eslint-config-prettier":"^10.1.2","express":"^5.0.0","fs-extra":"^11.1.0","gen-esm-wrapper":"^1.1.2","globals":"^16.0.0","jest":"^29.4.3","prettier":"^3.5.3","process":"^0.11.10","puppeteer":"^24.0.0","rimraf":"^6.0.0","source-map-support":"^0.5.21","ts-jest":"^29.0.5","ts-loader":"^9.4.2","ts-node":"^10.9.1","typescript":"^5.8.3","typescript-eslint":"^8.29.1"},"packageManager":"npm@10.9.2"}')
76940
79240
 
76941
79241
  }),
76942
79242
 
@@ -76967,7 +79267,8 @@ var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[m
76967
79267
  __webpack_require__.i.forEach(function(handler) { handler(execOptions); });
76968
79268
  module = execOptions.module;
76969
79269
  if (!execOptions.factory) {
76970
- console.error("undefined factory", moduleId)
79270
+ console.error("undefined factory", moduleId);
79271
+ throw Error("RuntimeError: factory is undefined (" + moduleId + ")");
76971
79272
  }
76972
79273
  execOptions.factory.call(module.exports, module, module.exports, execOptions.require);
76973
79274
 
@@ -77030,7 +79331,7 @@ __webpack_require__.hu = (chunkId) => ('' + chunkId + '.' + __webpack_require__.
77030
79331
  })();
77031
79332
  // webpack/runtime/get_full_hash
77032
79333
  (() => {
77033
- __webpack_require__.h = () => ("5b7a7001798a765a")
79334
+ __webpack_require__.h = () => ("0bae44ccdf7cbff6")
77034
79335
  })();
77035
79336
  // webpack/runtime/get_main_filename/update manifest
77036
79337
  (() => {