@stellar/stellar-base 14.0.2 → 14.0.4

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.
@@ -11,8 +11,8 @@
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
- /***/ 41:
15
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14
+ /***/ 41
15
+ (module, __unused_webpack_exports, __webpack_require__) {
16
16
 
17
17
  "use strict";
18
18
 
@@ -73,10 +73,10 @@ module.exports = function defineDataProperty(
73
73
  };
74
74
 
75
75
 
76
- /***/ }),
76
+ /***/ },
77
77
 
78
- /***/ 76:
79
- /***/ ((module) => {
78
+ /***/ 76
79
+ (module) {
80
80
 
81
81
  "use strict";
82
82
 
@@ -85,10 +85,10 @@ module.exports = function defineDataProperty(
85
85
  module.exports = Function.prototype.call;
86
86
 
87
87
 
88
- /***/ }),
88
+ /***/ },
89
89
 
90
- /***/ 251:
91
- /***/ ((__unused_webpack_module, exports) => {
90
+ /***/ 251
91
+ (__unused_webpack_module, exports) {
92
92
 
93
93
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
94
94
  exports.read = function (buffer, offset, isLE, mLen, nBytes) {
@@ -177,10 +177,10 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
177
177
  }
178
178
 
179
179
 
180
- /***/ }),
180
+ /***/ },
181
181
 
182
- /***/ 392:
183
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
182
+ /***/ 392
183
+ (module, __unused_webpack_exports, __webpack_require__) {
184
184
 
185
185
  "use strict";
186
186
 
@@ -269,10 +269,10 @@ Hash.prototype._update = function () {
269
269
  module.exports = Hash;
270
270
 
271
271
 
272
- /***/ }),
272
+ /***/ },
273
273
 
274
- /***/ 414:
275
- /***/ ((module) => {
274
+ /***/ 414
275
+ (module) {
276
276
 
277
277
  "use strict";
278
278
 
@@ -281,10 +281,10 @@ module.exports = Hash;
281
281
  module.exports = Math.round;
282
282
 
283
283
 
284
- /***/ }),
284
+ /***/ },
285
285
 
286
- /***/ 448:
287
- /***/ ((module, __webpack_exports__, __webpack_require__) => {
286
+ /***/ 448
287
+ (module, __webpack_exports__, __webpack_require__) {
288
288
 
289
289
  "use strict";
290
290
  // ESM COMPAT FLAG
@@ -12390,7 +12390,7 @@ function eddsa(Point, cHash, eddsaOpts = {}) {
12390
12390
  const u = is25519 ? Fp.div(edwards_1n + y, edwards_1n - y) : Fp.div(y - edwards_1n, y + edwards_1n);
12391
12391
  return Fp.toBytes(u);
12392
12392
  },
12393
- toMontgomeryPriv(secretKey) {
12393
+ toMontgomerySecret(secretKey) {
12394
12394
  const size = lengths.secretKey;
12395
12395
  _abytes2(secretKey, size);
12396
12396
  const hashed = cHash(secretKey.subarray(0, size));
@@ -13110,9 +13110,9 @@ function edwardsToMontgomeryPub(edwardsPub) {
13110
13110
  }
13111
13111
  /** @deprecated use `ed25519.utils.toMontgomery` */
13112
13112
  const edwardsToMontgomery = (/* unused pure expression or super */ null && (edwardsToMontgomeryPub));
13113
- /** @deprecated use `ed25519.utils.toMontgomeryPriv` */
13113
+ /** @deprecated use `ed25519.utils.toMontgomerySecret` */
13114
13114
  function edwardsToMontgomeryPriv(edwardsPriv) {
13115
- return ed25519.utils.toMontgomeryPriv(ensureBytes('pub', edwardsPriv));
13115
+ return ed25519.utils.toMontgomerySecret(ensureBytes('pub', edwardsPriv));
13116
13116
  }
13117
13117
  /** @deprecated use `ristretto255.Point` */
13118
13118
  const RistrettoPoint = (/* unused pure expression or super */ null && (_RistrettoPoint));
@@ -19636,7 +19636,10 @@ var Address = /*#__PURE__*/function () {
19636
19636
  return Address.muxedAccount(raw);
19637
19637
  }
19638
19638
  case src_xdr.ScAddressType.scAddressTypeClaimableBalance().value:
19639
- return Address.claimableBalance(scAddress.claimableBalanceId());
19639
+ {
19640
+ var cbi = scAddress.claimableBalanceId();
19641
+ return Address.claimableBalance(address_Buffer.concat([address_Buffer.from([cbi["switch"]().value]), cbi.v0()]));
19642
+ }
19640
19643
  case src_xdr.ScAddressType.scAddressTypeLiquidityPool().value:
19641
19644
  return Address.liquidityPool(scAddress.liquidityPoolId());
19642
19645
  default:
@@ -22844,6 +22847,8 @@ var Soroban = /*#__PURE__*/function () {
22844
22847
  * @throws {TypeError} if the given amount has a decimal point already
22845
22848
  * @example
22846
22849
  * formatTokenAmount("123000", 4) === "12.3";
22850
+ * formatTokenAmount("123000", 3) === "123.0";
22851
+ * formatTokenAmount("123", 3) === "0.123";
22847
22852
  */
22848
22853
  function formatTokenAmount(amount, decimals) {
22849
22854
  if (amount.includes('.')) {
@@ -22857,9 +22862,9 @@ var Soroban = /*#__PURE__*/function () {
22857
22862
  formatted = [formatted.slice(0, -decimals), formatted.slice(-decimals)].join('.');
22858
22863
  }
22859
22864
  }
22860
-
22861
- // remove trailing zero if any
22862
- return formatted.replace(/(\.\d*?)0+$/, '$1');
22865
+ return formatted.replace(/(\.\d*?)0+$/, '$1') // strip trailing zeroes
22866
+ .replace(/\.$/, '.0') // but keep at least one
22867
+ .replace(/^\./, '0.'); // and a leading one
22863
22868
  }
22864
22869
 
22865
22870
  /**
@@ -22890,7 +22895,7 @@ var Soroban = /*#__PURE__*/function () {
22890
22895
  _value$split$slice2 = _toArray(_value$split$slice),
22891
22896
  whole = _value$split$slice2[0],
22892
22897
  fraction = _value$split$slice2[1],
22893
- rest = _value$split$slice2.slice(2);
22898
+ rest = soroban_arrayLikeToArray(_value$split$slice2).slice(2);
22894
22899
  if (rest.length) {
22895
22900
  throw new Error("Invalid decimal value: ".concat(value));
22896
22901
  }
@@ -23241,6 +23246,8 @@ var XdrLargeInt = /*#__PURE__*/function () {
23241
23246
  this["int"] = new Int256(values);
23242
23247
  break;
23243
23248
  case 'u64':
23249
+ case 'timepoint':
23250
+ case 'duration':
23244
23251
  this["int"] = new xdr.UnsignedHyper(values);
23245
23252
  break;
23246
23253
  case 'u128':
@@ -23297,6 +23304,24 @@ var XdrLargeInt = /*#__PURE__*/function () {
23297
23304
  );
23298
23305
  }
23299
23306
 
23307
+ /** @returns {xdr.ScVal} the integer encoded with `ScValType = Timepoint` */
23308
+ }, {
23309
+ key: "toTimepoint",
23310
+ value: function toTimepoint() {
23311
+ this._sizeCheck(64);
23312
+ return src_xdr.ScVal.scvTimepoint(new src_xdr.Uint64(BigInt.asUintN(64, this.toBigInt())) // reiterpret as unsigned
23313
+ );
23314
+ }
23315
+
23316
+ /** @returns {xdr.ScVal} the integer encoded with `ScValType = Duration` */
23317
+ }, {
23318
+ key: "toDuration",
23319
+ value: function toDuration() {
23320
+ this._sizeCheck(64);
23321
+ return src_xdr.ScVal.scvDuration(new src_xdr.Uint64(BigInt.asUintN(64, this.toBigInt())) // reiterpret as unsigned
23322
+ );
23323
+ }
23324
+
23300
23325
  /**
23301
23326
  * @returns {xdr.ScVal} the integer encoded with `ScValType = I128`
23302
23327
  * @throws {RangeError} if the value cannot fit in 128 bits
@@ -23381,6 +23406,10 @@ var XdrLargeInt = /*#__PURE__*/function () {
23381
23406
  return this.toU128();
23382
23407
  case 'u256':
23383
23408
  return this.toU256();
23409
+ case 'timepoint':
23410
+ return this.toTimepoint();
23411
+ case 'duration':
23412
+ return this.toDuration();
23384
23413
  default:
23385
23414
  throw TypeError("invalid type: ".concat(this.type));
23386
23415
  }
@@ -23420,6 +23449,8 @@ var XdrLargeInt = /*#__PURE__*/function () {
23420
23449
  case 'u64':
23421
23450
  case 'u128':
23422
23451
  case 'u256':
23452
+ case 'timepoint':
23453
+ case 'duration':
23423
23454
  return true;
23424
23455
  default:
23425
23456
  return false;
@@ -23602,6 +23633,8 @@ function scValToBigInt(scv) {
23602
23633
  return BigInt(scv.value());
23603
23634
  case 'scvU64':
23604
23635
  case 'scvI64':
23636
+ case 'scvTimepoint':
23637
+ case 'scvDuration':
23605
23638
  return new XdrLargeInt(scIntType, scv.value()).toBigInt();
23606
23639
  case 'scvU128':
23607
23640
  case 'scvI128':
@@ -23913,7 +23946,7 @@ function nativeToScVal(val) {
23913
23946
  *
23914
23947
  * - void -> `null`
23915
23948
  * - u32, i32 -> `number`
23916
- * - u64, i64, u128, i128, u256, i256 -> `bigint`
23949
+ * - u64, i64, u128, i128, u256, i256, timepoint, duration -> `bigint`
23917
23950
  * - vec -> `Array` of any of the above (via recursion)
23918
23951
  * - map -> key-value object of any of the above (via recursion)
23919
23952
  * - bool -> `boolean`
@@ -24609,10 +24642,10 @@ function walkHelper(node, depth, callback, parent) {
24609
24642
 
24610
24643
  /* harmony default export */ const src = (module.exports);
24611
24644
 
24612
- /***/ }),
24645
+ /***/ },
24613
24646
 
24614
- /***/ 453:
24615
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
24647
+ /***/ 453
24648
+ (module, __unused_webpack_exports, __webpack_require__) {
24616
24649
 
24617
24650
  "use strict";
24618
24651
 
@@ -24995,10 +25028,10 @@ module.exports = function GetIntrinsic(name, allowMissing) {
24995
25028
  };
24996
25029
 
24997
25030
 
24998
- /***/ }),
25031
+ /***/ },
24999
25032
 
25000
- /***/ 487:
25001
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25033
+ /***/ 487
25034
+ (module, __unused_webpack_exports, __webpack_require__) {
25002
25035
 
25003
25036
  "use strict";
25004
25037
 
@@ -25027,10 +25060,10 @@ if ($defineProperty) {
25027
25060
  }
25028
25061
 
25029
25062
 
25030
- /***/ }),
25063
+ /***/ },
25031
25064
 
25032
- /***/ 537:
25033
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
25065
+ /***/ 537
25066
+ (__unused_webpack_module, exports, __webpack_require__) {
25034
25067
 
25035
25068
  /* provided dependency */ var process = __webpack_require__(5606);
25036
25069
  /* provided dependency */ var console = __webpack_require__(6763);
@@ -25751,10 +25784,10 @@ function callbackify(original) {
25751
25784
  exports.callbackify = callbackify;
25752
25785
 
25753
25786
 
25754
- /***/ }),
25787
+ /***/ },
25755
25788
 
25756
- /***/ 592:
25757
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25789
+ /***/ 592
25790
+ (module, __unused_webpack_exports, __webpack_require__) {
25758
25791
 
25759
25792
  "use strict";
25760
25793
 
@@ -25781,10 +25814,10 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
25781
25814
  module.exports = hasPropertyDescriptors;
25782
25815
 
25783
25816
 
25784
- /***/ }),
25817
+ /***/ },
25785
25818
 
25786
- /***/ 655:
25787
- /***/ ((module) => {
25819
+ /***/ 655
25820
+ (module) {
25788
25821
 
25789
25822
  "use strict";
25790
25823
 
@@ -25803,10 +25836,10 @@ if ($defineProperty) {
25803
25836
  module.exports = $defineProperty;
25804
25837
 
25805
25838
 
25806
- /***/ }),
25839
+ /***/ },
25807
25840
 
25808
- /***/ 1002:
25809
- /***/ ((module) => {
25841
+ /***/ 1002
25842
+ (module) {
25810
25843
 
25811
25844
  "use strict";
25812
25845
 
@@ -25815,10 +25848,10 @@ module.exports = $defineProperty;
25815
25848
  module.exports = Function.prototype.apply;
25816
25849
 
25817
25850
 
25818
- /***/ }),
25851
+ /***/ },
25819
25852
 
25820
- /***/ 1064:
25821
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25853
+ /***/ 1064
25854
+ (module, __unused_webpack_exports, __webpack_require__) {
25822
25855
 
25823
25856
  "use strict";
25824
25857
 
@@ -25829,10 +25862,10 @@ var $Object = __webpack_require__(9612);
25829
25862
  module.exports = $Object.getPrototypeOf || null;
25830
25863
 
25831
25864
 
25832
- /***/ }),
25865
+ /***/ },
25833
25866
 
25834
- /***/ 1093:
25835
- /***/ ((module) => {
25867
+ /***/ 1093
25868
+ (module) {
25836
25869
 
25837
25870
  "use strict";
25838
25871
 
@@ -25854,10 +25887,10 @@ module.exports = function isArguments(value) {
25854
25887
  };
25855
25888
 
25856
25889
 
25857
- /***/ }),
25890
+ /***/ },
25858
25891
 
25859
- /***/ 1135:
25860
- /***/ ((module) => {
25892
+ /***/ 1135
25893
+ (module) {
25861
25894
 
25862
25895
  module.exports = function isBuffer(arg) {
25863
25896
  return arg && typeof arg === 'object'
@@ -25866,10 +25899,10 @@ module.exports = function isBuffer(arg) {
25866
25899
  && typeof arg.readUInt8 === 'function';
25867
25900
  }
25868
25901
 
25869
- /***/ }),
25902
+ /***/ },
25870
25903
 
25871
- /***/ 1189:
25872
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25904
+ /***/ 1189
25905
+ (module, __unused_webpack_exports, __webpack_require__) {
25873
25906
 
25874
25907
  "use strict";
25875
25908
 
@@ -25906,10 +25939,10 @@ keysShim.shim = function shimObjectKeys() {
25906
25939
  module.exports = keysShim;
25907
25940
 
25908
25941
 
25909
- /***/ }),
25942
+ /***/ },
25910
25943
 
25911
- /***/ 1237:
25912
- /***/ ((module) => {
25944
+ /***/ 1237
25945
+ (module) {
25913
25946
 
25914
25947
  "use strict";
25915
25948
 
@@ -25918,10 +25951,10 @@ module.exports = keysShim;
25918
25951
  module.exports = EvalError;
25919
25952
 
25920
25953
 
25921
- /***/ }),
25954
+ /***/ },
25922
25955
 
25923
- /***/ 1333:
25924
- /***/ ((module) => {
25956
+ /***/ 1333
25957
+ (module) {
25925
25958
 
25926
25959
  "use strict";
25927
25960
 
@@ -25971,10 +26004,10 @@ module.exports = function hasSymbols() {
25971
26004
  };
25972
26005
 
25973
26006
 
25974
- /***/ }),
26007
+ /***/ },
25975
26008
 
25976
- /***/ 1514:
25977
- /***/ ((module) => {
26009
+ /***/ 1514
26010
+ (module) {
25978
26011
 
25979
26012
  "use strict";
25980
26013
 
@@ -25983,10 +26016,10 @@ module.exports = function hasSymbols() {
25983
26016
  module.exports = Math.abs;
25984
26017
 
25985
26018
 
25986
- /***/ }),
26019
+ /***/ },
25987
26020
 
25988
- /***/ 2205:
25989
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26021
+ /***/ 2205
26022
+ (module, __unused_webpack_exports, __webpack_require__) {
25990
26023
 
25991
26024
  "use strict";
25992
26025
 
@@ -26001,10 +26034,10 @@ module.exports = function applyBind() {
26001
26034
  };
26002
26035
 
26003
26036
 
26004
- /***/ }),
26037
+ /***/ },
26005
26038
 
26006
- /***/ 2299:
26007
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26039
+ /***/ 2299
26040
+ (module, __unused_webpack_exports, __webpack_require__) {
26008
26041
 
26009
26042
  "use strict";
26010
26043
  // Currently in sync with Node.js lib/internal/util/comparisons.js
@@ -26583,10 +26616,10 @@ module.exports = {
26583
26616
  isDeepStrictEqual: isDeepStrictEqual
26584
26617
  };
26585
26618
 
26586
- /***/ }),
26619
+ /***/ },
26587
26620
 
26588
- /***/ 2464:
26589
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26621
+ /***/ 2464
26622
+ (module, __unused_webpack_exports, __webpack_require__) {
26590
26623
 
26591
26624
  "use strict";
26592
26625
 
@@ -26607,10 +26640,10 @@ module.exports = function shimNumberIsNaN() {
26607
26640
  };
26608
26641
 
26609
26642
 
26610
- /***/ }),
26643
+ /***/ },
26611
26644
 
26612
- /***/ 2682:
26613
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26645
+ /***/ 2682
26646
+ (module, __unused_webpack_exports, __webpack_require__) {
26614
26647
 
26615
26648
  "use strict";
26616
26649
 
@@ -26684,10 +26717,10 @@ module.exports = function forEach(list, iterator, thisArg) {
26684
26717
  };
26685
26718
 
26686
26719
 
26687
- /***/ }),
26720
+ /***/ },
26688
26721
 
26689
- /***/ 2802:
26690
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26722
+ /***/ 2802
26723
+ (module, __unused_webpack_exports, __webpack_require__) {
26691
26724
 
26692
26725
  "use strict";
26693
26726
 
@@ -26711,10 +26744,10 @@ module.exports.sha384 = __webpack_require__(2827);
26711
26744
  module.exports.sha512 = __webpack_require__(2890);
26712
26745
 
26713
26746
 
26714
- /***/ }),
26747
+ /***/ },
26715
26748
 
26716
- /***/ 2827:
26717
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26749
+ /***/ 2827
26750
+ (module, __unused_webpack_exports, __webpack_require__) {
26718
26751
 
26719
26752
  "use strict";
26720
26753
 
@@ -26778,10 +26811,10 @@ Sha384.prototype._hash = function () {
26778
26811
  module.exports = Sha384;
26779
26812
 
26780
26813
 
26781
- /***/ }),
26814
+ /***/ },
26782
26815
 
26783
- /***/ 2861:
26784
- /***/ ((module, exports, __webpack_require__) => {
26816
+ /***/ 2861
26817
+ (module, exports, __webpack_require__) {
26785
26818
 
26786
26819
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
26787
26820
  /* eslint-disable node/no-deprecated-api */
@@ -26850,10 +26883,10 @@ SafeBuffer.allocUnsafeSlow = function (size) {
26850
26883
  }
26851
26884
 
26852
26885
 
26853
- /***/ }),
26886
+ /***/ },
26854
26887
 
26855
- /***/ 2890:
26856
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26888
+ /***/ 2890
26889
+ (module, __unused_webpack_exports, __webpack_require__) {
26857
26890
 
26858
26891
  "use strict";
26859
26892
 
@@ -27240,10 +27273,10 @@ Sha512.prototype._hash = function () {
27240
27273
  module.exports = Sha512;
27241
27274
 
27242
27275
 
27243
- /***/ }),
27276
+ /***/ },
27244
27277
 
27245
- /***/ 3003:
27246
- /***/ ((module) => {
27278
+ /***/ 3003
27279
+ (module) {
27247
27280
 
27248
27281
  "use strict";
27249
27282
 
@@ -27255,10 +27288,10 @@ module.exports = function isNaN(value) {
27255
27288
  };
27256
27289
 
27257
27290
 
27258
- /***/ }),
27291
+ /***/ },
27259
27292
 
27260
- /***/ 3093:
27261
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
27293
+ /***/ 3093
27294
+ (module, __unused_webpack_exports, __webpack_require__) {
27262
27295
 
27263
27296
  "use strict";
27264
27297
 
@@ -27274,10 +27307,10 @@ module.exports = function sign(number) {
27274
27307
  };
27275
27308
 
27276
27309
 
27277
- /***/ }),
27310
+ /***/ },
27278
27311
 
27279
- /***/ 3126:
27280
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
27312
+ /***/ 3126
27313
+ (module, __unused_webpack_exports, __webpack_require__) {
27281
27314
 
27282
27315
  "use strict";
27283
27316
 
@@ -27297,10 +27330,10 @@ module.exports = function callBindBasic(args) {
27297
27330
  };
27298
27331
 
27299
27332
 
27300
- /***/ }),
27333
+ /***/ },
27301
27334
 
27302
- /***/ 3144:
27303
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
27335
+ /***/ 3144
27336
+ (module, __unused_webpack_exports, __webpack_require__) {
27304
27337
 
27305
27338
  "use strict";
27306
27339
 
@@ -27315,10 +27348,10 @@ var $reflectApply = __webpack_require__(7119);
27315
27348
  module.exports = $reflectApply || bind.call($call, $apply);
27316
27349
 
27317
27350
 
27318
- /***/ }),
27351
+ /***/ },
27319
27352
 
27320
- /***/ 3628:
27321
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
27353
+ /***/ 3628
27354
+ (module, __unused_webpack_exports, __webpack_require__) {
27322
27355
 
27323
27356
  "use strict";
27324
27357
 
@@ -27350,10 +27383,10 @@ module.exports = reflectGetProto
27350
27383
  : null;
27351
27384
 
27352
27385
 
27353
- /***/ }),
27386
+ /***/ },
27354
27387
 
27355
- /***/ 3737:
27356
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
27388
+ /***/ 3737
27389
+ (module, __unused_webpack_exports, __webpack_require__) {
27357
27390
 
27358
27391
  "use strict";
27359
27392
 
@@ -27467,20 +27500,20 @@ Sha1.prototype._hash = function () {
27467
27500
  module.exports = Sha1;
27468
27501
 
27469
27502
 
27470
- /***/ }),
27503
+ /***/ },
27471
27504
 
27472
- /***/ 3740:
27473
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
27505
+ /***/ 3740
27506
+ (module, __unused_webpack_exports, __webpack_require__) {
27474
27507
 
27475
27508
  /* provided dependency */ var console = __webpack_require__(6763);
27476
27509
  /*! For license information please see xdr.js.LICENSE.txt */
27477
27510
  !function(t,e){ true?module.exports=e():0}(this,(()=>(()=>{var t={616:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(287);n.hp.alloc(1).subarray(0,1)instanceof n.hp||(n.hp.prototype.subarray=function(t,e){const r=Uint8Array.prototype.subarray.call(this,t,e);return Object.setPrototypeOf(r,n.hp.prototype),r});const i=n.hp},281:(t,e,r)=>{const n=r(164);t.exports=n},164:(t,e,r)=>{"use strict";r.r(e),r.d(e,{Array:()=>F,Bool:()=>S,Double:()=>L,Enum:()=>q,Float:()=>O,Hyper:()=>U,Int:()=>v,LargeInt:()=>x,Opaque:()=>D,Option:()=>X,Quadruple:()=>N,Reference:()=>G,String:()=>M,Struct:()=>Y,Union:()=>W,UnsignedHyper:()=>T,UnsignedInt:()=>R,VarArray:()=>P,VarOpaque:()=>z,Void:()=>k,XdrReader:()=>f,XdrWriter:()=>c,config:()=>it});class n extends TypeError{constructor(t){super(`XDR Write Error: ${t}`)}}class i extends TypeError{constructor(t){super(`XDR Read Error: ${t}`)}}class o extends TypeError{constructor(t){super(`XDR Type Definition Error: ${t}`)}}class s extends o{constructor(){super("method not implemented, it should be overloaded in the descendant class.")}}var u=r(616).A;class f{constructor(t){if(!u.isBuffer(t)){if(!(t instanceof Array||Array.isArray(t)||ArrayBuffer.isView(t)))throw new i(`source invalid: ${t}`);t=u.from(t)}this._buffer=t,this._length=t.length,this._index=0}_buffer;_length;_index;get eof(){return this._index===this._length}advance(t){const e=this._index;if(this._index+=t,this._length<this._index)throw new i("attempt to read outside the boundary of the buffer");const r=4-(t%4||4);if(r>0){for(let t=0;t<r;t++)if(0!==this._buffer[this._index+t])throw new i("invalid padding");this._index+=r}return e}rewind(){this._index=0}read(t){const e=this.advance(t);return this._buffer.subarray(e,e+t)}readInt32BE(){return this._buffer.readInt32BE(this.advance(4))}readUInt32BE(){return this._buffer.readUInt32BE(this.advance(4))}readBigInt64BE(){return this._buffer.readBigInt64BE(this.advance(8))}readBigUInt64BE(){return this._buffer.readBigUInt64BE(this.advance(8))}readFloatBE(){return this._buffer.readFloatBE(this.advance(4))}readDoubleBE(){return this._buffer.readDoubleBE(this.advance(8))}ensureInputConsumed(){if(this._index!==this._length)throw new i("invalid XDR contract typecast - source buffer not entirely consumed")}}var a=r(616).A;const h=8192;class c{constructor(t){"number"==typeof t?t=a.allocUnsafe(t):t instanceof a||(t=a.allocUnsafe(h)),this._buffer=t,this._length=t.length}_buffer;_length;_index=0;alloc(t){const e=this._index;return this._index+=t,this._length<this._index&&this.resize(this._index),e}resize(t){const e=Math.ceil(t/h)*h,r=a.allocUnsafe(e);this._buffer.copy(r,0,0,this._length),this._buffer=r,this._length=e}finalize(){return this._buffer.subarray(0,this._index)}toArray(){return[...this.finalize()]}write(t,e){if("string"==typeof t){const r=this.alloc(e);this._buffer.write(t,r,"utf8")}else{t instanceof a||(t=a.from(t));const r=this.alloc(e);t.copy(this._buffer,r,0,e)}const r=4-(e%4||4);if(r>0){const t=this.alloc(r);this._buffer.fill(0,t,this._index)}}writeInt32BE(t){const e=this.alloc(4);this._buffer.writeInt32BE(t,e)}writeUInt32BE(t){const e=this.alloc(4);this._buffer.writeUInt32BE(t,e)}writeBigInt64BE(t){const e=this.alloc(8);this._buffer.writeBigInt64BE(t,e)}writeBigUInt64BE(t){const e=this.alloc(8);this._buffer.writeBigUInt64BE(t,e)}writeFloatBE(t){const e=this.alloc(4);this._buffer.writeFloatBE(t,e)}writeDoubleBE(t){const e=this.alloc(8);this._buffer.writeDoubleBE(t,e)}static bufferChunkSize=h}var l=r(616).A;class p{toXDR(t="raw"){if(!this.write)return this.constructor.toXDR(this,t);const e=new c;return this.write(this,e),w(e.finalize(),t)}fromXDR(t,e="raw"){if(!this.read)return this.constructor.fromXDR(t,e);const r=new f(m(t,e)),n=this.read(r);return r.ensureInputConsumed(),n}validateXDR(t,e="raw"){try{return this.fromXDR(t,e),!0}catch(t){return!1}}static toXDR(t,e="raw"){const r=new c;return this.write(t,r),w(r.finalize(),e)}static fromXDR(t,e="raw"){const r=new f(m(t,e)),n=this.read(r);return r.ensureInputConsumed(),n}static validateXDR(t,e="raw"){try{return this.fromXDR(t,e),!0}catch(t){return!1}}}class d extends p{static read(t){throw new s}static write(t,e){throw new s}static isValid(t){return!1}}class g extends p{isValid(t){return!1}}class y extends TypeError{constructor(t){super(`Invalid format ${t}, must be one of "raw", "hex", "base64"`)}}function w(t,e){switch(e){case"raw":return t;case"hex":return t.toString("hex");case"base64":return t.toString("base64");default:throw new y(e)}}function m(t,e){switch(e){case"raw":return t;case"hex":return l.from(t,"hex");case"base64":return l.from(t,"base64");default:throw new y(e)}}function b(t,e){return null!=t&&(t instanceof e||_(t,e)&&"function"==typeof t.constructor.read&&"function"==typeof t.constructor.write&&_(t,"XdrType"))}function _(t,e){do{if(t.constructor.name===e)return!0}while(t=Object.getPrototypeOf(t));return!1}const B=2147483647,E=-2147483648;class v extends d{static read(t){return t.readInt32BE()}static write(t,e){if("number"!=typeof t)throw new n("not a number");if((0|t)!==t)throw new n("invalid i32 value");e.writeInt32BE(t)}static isValid(t){return"number"==typeof t&&(0|t)===t&&(t>=E&&t<=B)}}function A(t,e,r){if("bigint"!=typeof t)throw new TypeError("Expected bigint 'value', got "+typeof t);const n=e/r;if(1===n)return[t];if(r<32||r>128||2!==n&&4!==n&&8!==n)throw new TypeError(`invalid bigint (${t}) and slice size (${e} -> ${r}) combination`);const i=BigInt(r),o=new Array(n);for(let e=0;e<n;e++)o[e]=BigInt.asIntN(r,t),t>>=i;return o}function I(t,e){if(e)return[0n,(1n<<BigInt(t))-1n];const r=1n<<BigInt(t-1);return[0n-r,r-1n]}v.MAX_VALUE=B,v.MIN_VALUE=2147483648;class x extends d{constructor(t){super(),this._value=function(t,e,r){t instanceof Array?t.length&&t[0]instanceof Array&&(t=t[0]):t=[t];const n=e/t.length;switch(n){case 32:case 64:case 128:case 256:break;default:throw new RangeError(`expected slices to fit in 32/64/128/256 bits, got ${t}`)}try{for(let e=0;e<t.length;e++)"bigint"!=typeof t[e]&&(t[e]=BigInt(t[e].valueOf()))}catch(e){throw new TypeError(`expected bigint-like values, got: ${t} (${e})`)}if(r&&1===t.length&&t[0]<0n)throw new RangeError(`expected a positive value, got: ${t}`);let i=BigInt.asUintN(n,t[0]);for(let e=1;e<t.length;e++)i|=BigInt.asUintN(n,t[e])<<BigInt(e*n);r||(i=BigInt.asIntN(e,i));const[o,s]=I(e,r);if(i>=o&&i<=s)return i;throw new TypeError(`bigint values [${t}] for ${function(t,e){return`${e?"u":"i"}${t}`}(e,r)} out of range [${o}, ${s}]: ${i}`)}(t,this.size,this.unsigned)}get unsigned(){throw new s}get size(){throw new s}slice(t){return A(this._value,this.size,t)}toString(){return this._value.toString()}toJSON(){return{_value:this._value.toString()}}toBigInt(){return BigInt(this._value)}static read(t){const{size:e}=this.prototype;return 64===e?new this(t.readBigUInt64BE()):new this(...Array.from({length:e/64},(()=>t.readBigUInt64BE())).reverse())}static write(t,e){if(t instanceof this)t=t._value;else if("bigint"!=typeof t||t>this.MAX_VALUE||t<this.MIN_VALUE)throw new n(`${t} is not a ${this.name}`);const{unsigned:r,size:i}=this.prototype;if(64===i)r?e.writeBigUInt64BE(t):e.writeBigInt64BE(t);else for(const n of A(t,i,64).reverse())r?e.writeBigUInt64BE(n):e.writeBigInt64BE(n)}static isValid(t){return"bigint"==typeof t||t instanceof this}static fromString(t){return new this(t)}static MAX_VALUE=0n;static MIN_VALUE=0n;static defineIntBoundaries(){const[t,e]=I(this.prototype.size,this.prototype.unsigned);this.MIN_VALUE=t,this.MAX_VALUE=e}}class U extends x{constructor(...t){super(t)}get low(){return Number(0xffffffffn&this._value)|0}get high(){return Number(this._value>>32n)|0}get size(){return 64}get unsigned(){return!1}static fromBits(t,e){return new this(t,e)}}U.defineIntBoundaries();const $=4294967295;class R extends d{static read(t){return t.readUInt32BE()}static write(t,e){if("number"!=typeof t||!(t>=0&&t<=$)||t%1!=0)throw new n("invalid u32 value");e.writeUInt32BE(t)}static isValid(t){return"number"==typeof t&&t%1==0&&(t>=0&&t<=$)}}R.MAX_VALUE=$,R.MIN_VALUE=0;class T extends x{constructor(...t){super(t)}get low(){return Number(0xffffffffn&this._value)|0}get high(){return Number(this._value>>32n)|0}get size(){return 64}get unsigned(){return!0}static fromBits(t,e){return new this(t,e)}}T.defineIntBoundaries();class O extends d{static read(t){return t.readFloatBE()}static write(t,e){if("number"!=typeof t)throw new n("not a number");e.writeFloatBE(t)}static isValid(t){return"number"==typeof t}}class L extends d{static read(t){return t.readDoubleBE()}static write(t,e){if("number"!=typeof t)throw new n("not a number");e.writeDoubleBE(t)}static isValid(t){return"number"==typeof t}}class N extends d{static read(){throw new o("quadruple not supported")}static write(){throw new o("quadruple not supported")}static isValid(){return!1}}class S extends d{static read(t){const e=v.read(t);switch(e){case 0:return!1;case 1:return!0;default:throw new i(`got ${e} when trying to read a bool`)}}static write(t,e){const r=t?1:0;v.write(r,e)}static isValid(t){return"boolean"==typeof t}}var V=r(616).A;class M extends g{constructor(t=R.MAX_VALUE){super(),this._maxLength=t}read(t){const e=R.read(t);if(e>this._maxLength)throw new i(`saw ${e} length String, max allowed is ${this._maxLength}`);return t.read(e)}readString(t){return this.read(t).toString("utf8")}write(t,e){const r="string"==typeof t?V.byteLength(t,"utf8"):t.length;if(r>this._maxLength)throw new n(`got ${t.length} bytes, max allowed is ${this._maxLength}`);R.write(r,e),e.write(t,r)}isValid(t){return"string"==typeof t?V.byteLength(t,"utf8")<=this._maxLength:!!(t instanceof Array||V.isBuffer(t))&&t.length<=this._maxLength}}var C=r(616).A;class D extends g{constructor(t){super(),this._length=t}read(t){return t.read(this._length)}write(t,e){const{length:r}=t;if(r!==this._length)throw new n(`got ${t.length} bytes, expected ${this._length}`);e.write(t,r)}isValid(t){return C.isBuffer(t)&&t.length===this._length}}var j=r(616).A;class z extends g{constructor(t=R.MAX_VALUE){super(),this._maxLength=t}read(t){const e=R.read(t);if(e>this._maxLength)throw new i(`saw ${e} length VarOpaque, max allowed is ${this._maxLength}`);return t.read(e)}write(t,e){const{length:r}=t;if(t.length>this._maxLength)throw new n(`got ${t.length} bytes, max allowed is ${this._maxLength}`);R.write(r,e),e.write(t,r)}isValid(t){return j.isBuffer(t)&&t.length<=this._maxLength}}class F extends g{constructor(t,e){super(),this._childType=t,this._length=e}read(t){const e=new r.g.Array(this._length);for(let r=0;r<this._length;r++)e[r]=this._childType.read(t);return e}write(t,e){if(!r.g.Array.isArray(t))throw new n("value is not array");if(t.length!==this._length)throw new n(`got array of size ${t.length}, expected ${this._length}`);for(const r of t)this._childType.write(r,e)}isValid(t){if(!(t instanceof r.g.Array)||t.length!==this._length)return!1;for(const e of t)if(!this._childType.isValid(e))return!1;return!0}}class P extends g{constructor(t,e=R.MAX_VALUE){super(),this._childType=t,this._maxLength=e}read(t){const e=R.read(t);if(e>this._maxLength)throw new i(`saw ${e} length VarArray, max allowed is ${this._maxLength}`);const r=new Array(e);for(let n=0;n<e;n++)r[n]=this._childType.read(t);return r}write(t,e){if(!(t instanceof Array))throw new n("value is not array");if(t.length>this._maxLength)throw new n(`got array of size ${t.length}, max allowed is ${this._maxLength}`);R.write(t.length,e);for(const r of t)this._childType.write(r,e)}isValid(t){if(!(t instanceof Array)||t.length>this._maxLength)return!1;for(const e of t)if(!this._childType.isValid(e))return!1;return!0}}class X extends d{constructor(t){super(),this._childType=t}read(t){if(S.read(t))return this._childType.read(t)}write(t,e){const r=null!=t;S.write(r,e),r&&this._childType.write(t,e)}isValid(t){return null==t||this._childType.isValid(t)}}class k extends d{static read(){}static write(t){if(void 0!==t)throw new n("trying to write value to a void slot")}static isValid(t){return void 0===t}}class q extends d{constructor(t,e){super(),this.name=t,this.value=e}static read(t){const e=v.read(t),r=this._byValue[e];if(void 0===r)throw new i(`unknown ${this.enumName} member for value ${e}`);return r}static write(t,e){if(!this.isValid(t))throw new n(`${t} has enum name ${t?.enumName}, not ${this.enumName}: ${JSON.stringify(t)}`);v.write(t.value,e)}static isValid(t){return t?.constructor?.enumName===this.enumName||b(t,this)}static members(){return this._members}static values(){return Object.values(this._members)}static fromName(t){const e=this._members[t];if(!e)throw new TypeError(`${t} is not a member of ${this.enumName}`);return e}static fromValue(t){const e=this._byValue[t];if(void 0===e)throw new TypeError(`${t} is not a value of any member of ${this.enumName}`);return e}static create(t,e,r){const n=class extends q{};n.enumName=e,t.results[e]=n,n._members={},n._byValue={};for(const[t,e]of Object.entries(r)){const r=new n(t,e);n._members[t]=r,n._byValue[e]=r,n[t]=()=>r}return n}}class G extends d{resolve(){throw new o('"resolve" method should be implemented in the descendant class')}}class Y extends g{constructor(t){super(),this._attributes=t||{}}static read(t){const e={};for(const[r,n]of this._fields)e[r]=n.read(t);return new this(e)}static write(t,e){if(!this.isValid(t))throw new n(`${t} has struct name ${t?.constructor?.structName}, not ${this.structName}: ${JSON.stringify(t)}`);for(const[r,n]of this._fields){const i=t._attributes[r];n.write(i,e)}}static isValid(t){return t?.constructor?.structName===this.structName||b(t,this)}static create(t,e,r){const n=class extends Y{};n.structName=e,t.results[e]=n;const i=new Array(r.length);for(let e=0;e<r.length;e++){const o=r[e],s=o[0];let u=o[1];u instanceof G&&(u=u.resolve(t)),i[e]=[s,u],n.prototype[s]=J(s)}return n._fields=i,n}}function J(t){return function(e){return void 0!==e&&(this._attributes[t]=e),this._attributes[t]}}class W extends g{constructor(t,e){super(),this.set(t,e)}set(t,e){"string"==typeof t&&(t=this.constructor._switchOn.fromName(t)),this._switch=t;const r=this.constructor.armForSwitch(this._switch);this._arm=r,this._armType=r===k?k:this.constructor._arms[r],this._value=e}get(t=this._arm){if(this._arm!==k&&this._arm!==t)throw new TypeError(`${t} not set`);return this._value}switch(){return this._switch}arm(){return this._arm}armType(){return this._armType}value(){return this._value}static armForSwitch(t){const e=this._switches.get(t);if(void 0!==e)return e;if(this._defaultArm)return this._defaultArm;throw new TypeError(`Bad union switch: ${t}`)}static armTypeForArm(t){return t===k?k:this._arms[t]}static read(t){const e=this._switchOn.read(t),r=this.armForSwitch(e),n=r===k?k:this._arms[r];let i;return i=void 0!==n?n.read(t):r.read(t),new this(e,i)}static write(t,e){if(!this.isValid(t))throw new n(`${t} has union name ${t?.unionName}, not ${this.unionName}: ${JSON.stringify(t)}`);this._switchOn.write(t.switch(),e),t.armType().write(t.value(),e)}static isValid(t){return t?.constructor?.unionName===this.unionName||b(t,this)}static create(t,e,r){const n=class extends W{};n.unionName=e,t.results[e]=n,r.switchOn instanceof G?n._switchOn=r.switchOn.resolve(t):n._switchOn=r.switchOn,n._switches=new Map,n._arms={};let i=r.defaultArm;i instanceof G&&(i=i.resolve(t)),n._defaultArm=i;for(const[t,e]of r.switches){const r="string"==typeof t?n._switchOn.fromName(t):t;n._switches.set(r,e)}if(void 0!==n._switchOn.values)for(const t of n._switchOn.values())n[t.name]=function(e){return new n(t,e)},n.prototype[t.name]=function(e){return this.set(t,e)};if(r.arms)for(const[e,i]of Object.entries(r.arms))n._arms[e]=i instanceof G?i.resolve(t):i,i!==k&&(n.prototype[e]=function(){return this.get(e)});return n}}class H extends G{constructor(t){super(),this.name=t}resolve(t){return t.definitions[this.name].resolve(t)}}class Q extends G{constructor(t,e,r=!1){super(),this.childReference=t,this.length=e,this.variable=r}resolve(t){let e=this.childReference,r=this.length;return e instanceof G&&(e=e.resolve(t)),r instanceof G&&(r=r.resolve(t)),this.variable?new P(e,r):new F(e,r)}}class Z extends G{constructor(t){super(),this.childReference=t,this.name=t.name}resolve(t){let e=this.childReference;return e instanceof G&&(e=e.resolve(t)),new X(e)}}class K extends G{constructor(t,e){super(),this.sizedType=t,this.length=e}resolve(t){let e=this.length;return e instanceof G&&(e=e.resolve(t)),new this.sizedType(e)}}class tt{constructor(t,e,r){this.constructor=t,this.name=e,this.config=r}resolve(t){return this.name in t.results?t.results[this.name]:this.constructor(t,this.name,this.config)}}function et(t,e,r){return r instanceof G&&(r=r.resolve(t)),t.results[e]=r,r}function rt(t,e,r){return t.results[e]=r,r}class nt{constructor(t){this._destination=t,this._definitions={}}enum(t,e){const r=new tt(q.create,t,e);this.define(t,r)}struct(t,e){const r=new tt(Y.create,t,e);this.define(t,r)}union(t,e){const r=new tt(W.create,t,e);this.define(t,r)}typedef(t,e){const r=new tt(et,t,e);this.define(t,r)}const(t,e){const r=new tt(rt,t,e);this.define(t,r)}void(){return k}bool(){return S}int(){return v}hyper(){return U}uint(){return R}uhyper(){return T}float(){return O}double(){return L}quadruple(){return N}string(t){return new K(M,t)}opaque(t){return new K(D,t)}varOpaque(t){return new K(z,t)}array(t,e){return new Q(t,e)}varArray(t,e){return new Q(t,e,!0)}option(t){return new Z(t)}define(t,e){if(void 0!==this._destination[t])throw new o(`${t} is already defined`);this._definitions[t]=e}lookup(t){return new H(t)}resolve(){for(const t of Object.values(this._definitions))t.resolve({definitions:this._definitions,results:this._destination})}}function it(t,e={}){if(t){const r=new nt(e);t(r),r.resolve()}return e}},526:(t,e)=>{"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,o=u(t),s=o[0],f=o[1],a=new i(function(t,e,r){return 3*(e+r)/4-r}(0,s,f)),h=0,c=f>0?s-4:s;for(r=0;r<c;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],a[h++]=e>>16&255,a[h++]=e>>8&255,a[h++]=255&e;2===f&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,a[h++]=255&e);1===f&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,a[h++]=e>>8&255,a[h++]=255&e);return a},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],s=16383,u=0,a=n-i;u<a;u+=s)o.push(f(t,u,u+s>a?a:u+s));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function f(t,e,n){for(var i,o,s=[],u=e;u<n;u+=3)i=(t[u]<<16&16711680)+(t[u+1]<<8&65280)+(255&t[u+2]),s.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return s.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},287:(t,e,r)=>{"use strict";const n=r(526),i=r(251),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.hp=f,e.IS=50;const s=2147483647;function u(t){if(t>s)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,f.prototype),e}function f(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return c(t)}return a(t,e,r)}function a(t,e,r){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!f.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=0|g(t,e);let n=u(r);const i=n.write(t,e);i!==r&&(n=n.slice(0,i));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(W(t,Uint8Array)){const e=new Uint8Array(t);return p(e.buffer,e.byteOffset,e.byteLength)}return l(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(W(t,ArrayBuffer)||t&&W(t.buffer,ArrayBuffer))return p(t,e,r);if("undefined"!=typeof SharedArrayBuffer&&(W(t,SharedArrayBuffer)||t&&W(t.buffer,SharedArrayBuffer)))return p(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return f.from(n,e,r);const i=function(t){if(f.isBuffer(t)){const e=0|d(t.length),r=u(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!=typeof t.length||H(t.length)?u(0):l(t);if("Buffer"===t.type&&Array.isArray(t.data))return l(t.data)}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return f.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function h(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return h(t),u(t<0?0:0|d(t))}function l(t){const e=t.length<0?0:0|d(t.length),r=u(e);for(let n=0;n<e;n+=1)r[n]=255&t[n];return r}function p(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,f.prototype),n}function d(t){if(t>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|t}function g(t,e){if(f.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||W(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return G(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Y(t).length;default:if(i)return n?-1:G(t).length;e=(""+e).toLowerCase(),i=!0}}function y(t,e,r){let n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return T(this,e,r);case"utf8":case"utf-8":return x(this,e,r);case"ascii":return $(this,e,r);case"latin1":case"binary":return R(this,e,r);case"base64":return I(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function w(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function m(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),H(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=f.from(e,n)),f.isBuffer(e))return 0===e.length?-1:b(t,e,r,n,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):b(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(t,e,r,n,i){let o,s=1,u=t.length,f=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;s=2,u/=2,f/=2,r/=2}function a(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){let n=-1;for(o=r;o<u;o++)if(a(t,o)===a(e,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===f)return n*s}else-1!==n&&(o-=o-n),n=-1}else for(r+f>u&&(r=u-f),o=r;o>=0;o--){let r=!0;for(let n=0;n<f;n++)if(a(t,o+n)!==a(e,n)){r=!1;break}if(r)return o}return-1}function _(t,e,r,n){r=Number(r)||0;const i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;const o=e.length;let s;for(n>o/2&&(n=o/2),s=0;s<n;++s){const n=parseInt(e.substr(2*s,2),16);if(H(n))return s;t[r+s]=n}return s}function B(t,e,r,n){return J(G(e,t.length-r),t,r,n)}function E(t,e,r,n){return J(function(t){const e=[];for(let r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function v(t,e,r,n){return J(Y(e),t,r,n)}function A(t,e,r,n){return J(function(t,e){let r,n,i;const o=[];for(let s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function I(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function x(t,e,r){r=Math.min(t.length,r);const n=[];let i=e;for(;i<r;){const e=t[i];let o=null,s=e>239?4:e>223?3:e>191?2:1;if(i+s<=r){let r,n,u,f;switch(s){case 1:e<128&&(o=e);break;case 2:r=t[i+1],128==(192&r)&&(f=(31&e)<<6|63&r,f>127&&(o=f));break;case 3:r=t[i+1],n=t[i+2],128==(192&r)&&128==(192&n)&&(f=(15&e)<<12|(63&r)<<6|63&n,f>2047&&(f<55296||f>57343)&&(o=f));break;case 4:r=t[i+1],n=t[i+2],u=t[i+3],128==(192&r)&&128==(192&n)&&128==(192&u)&&(f=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&u,f>65535&&f<1114112&&(o=f))}}null===o?(o=65533,s=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=s}return function(t){const e=t.length;if(e<=U)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=U));return r}(n)}f.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),f.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),f.poolSize=8192,f.from=function(t,e,r){return a(t,e,r)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array),f.alloc=function(t,e,r){return function(t,e,r){return h(t),t<=0?u(t):void 0!==e?"string"==typeof r?u(t).fill(e,r):u(t).fill(e):u(t)}(t,e,r)},f.allocUnsafe=function(t){return c(t)},f.allocUnsafeSlow=function(t){return c(t)},f.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==f.prototype},f.compare=function(t,e){if(W(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),W(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.isBuffer(t)||!f.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,n=e.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},f.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return f.alloc(0);let r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const n=f.allocUnsafe(e);let i=0;for(r=0;r<t.length;++r){let e=t[r];if(W(e,Uint8Array))i+e.length>n.length?(f.isBuffer(e)||(e=f.from(e)),e.copy(n,i)):Uint8Array.prototype.set.call(n,e,i);else{if(!f.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,i)}i+=e.length}return n},f.byteLength=g,f.prototype._isBuffer=!0,f.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)w(this,e,e+1);return this},f.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)w(this,e,e+3),w(this,e+1,e+2);return this},f.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)w(this,e,e+7),w(this,e+1,e+6),w(this,e+2,e+5),w(this,e+3,e+4);return this},f.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?x(this,0,t):y.apply(this,arguments)},f.prototype.toLocaleString=f.prototype.toString,f.prototype.equals=function(t){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===f.compare(this,t)},f.prototype.inspect=function(){let t="";const r=e.IS;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(f.prototype[o]=f.prototype.inspect),f.prototype.compare=function(t,e,r,n,i){if(W(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),!f.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;let o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0);const u=Math.min(o,s),a=this.slice(n,i),h=t.slice(e,r);for(let t=0;t<u;++t)if(a[t]!==h[t]){o=a[t],s=h[t];break}return o<s?-1:s<o?1:0},f.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},f.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},f.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},f.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return _(this,t,e,r);case"utf8":case"utf-8":return B(this,t,e,r);case"ascii":case"latin1":case"binary":return E(this,t,e,r);case"base64":return v(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const U=4096;function $(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function R(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function T(t,e,r){const n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=e;n<r;++n)i+=Q[t[n]];return i}function O(t,e,r){const n=t.slice(e,r);let i="";for(let t=0;t<n.length-1;t+=2)i+=String.fromCharCode(n[t]+256*n[t+1]);return i}function L(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function N(t,e,r,n,i,o){if(!f.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function S(t,e,r,n,i){P(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=s,s>>=8,t[r++]=s,s>>=8,t[r++]=s,s>>=8,t[r++]=s,r}function V(t,e,r,n,i){P(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r+7]=o,o>>=8,t[r+6]=o,o>>=8,t[r+5]=o,o>>=8,t[r+4]=o;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=s,s>>=8,t[r+2]=s,s>>=8,t[r+1]=s,s>>=8,t[r]=s,r+8}function M(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function C(t,e,r,n,o){return e=+e,r>>>=0,o||M(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function D(t,e,r,n,o){return e=+e,r>>>=0,o||M(t,0,r,8),i.write(t,e,r,n,52,8),r+8}f.prototype.slice=function(t,e){const r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);const n=this.subarray(t,e);return Object.setPrototypeOf(n,f.prototype),n},f.prototype.readUintLE=f.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||L(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return n},f.prototype.readUintBE=f.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||L(t,e,this.length);let n=this[t+--e],i=1;for(;e>0&&(i*=256);)n+=this[t+--e]*i;return n},f.prototype.readUint8=f.prototype.readUInt8=function(t,e){return t>>>=0,e||L(t,1,this.length),this[t]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(t,e){return t>>>=0,e||L(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(t,e){return t>>>=0,e||L(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(t,e){return t>>>=0,e||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(t,e){return t>>>=0,e||L(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readBigUInt64LE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,i=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(n)+(BigInt(i)<<BigInt(32))})),f.prototype.readBigUInt64BE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=e*2**24+65536*this[++t]+256*this[++t]+this[++t],i=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)})),f.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||L(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*e)),n},f.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||L(t,e,this.length);let n=e,i=1,o=this[t+--n];for(;n>0&&(i*=256);)o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},f.prototype.readInt8=function(t,e){return t>>>=0,e||L(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,e){t>>>=0,e||L(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt16BE=function(t,e){t>>>=0,e||L(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt32LE=function(t,e){return t>>>=0,e||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return t>>>=0,e||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readBigInt64LE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),f.prototype.readBigInt64BE=Z((function(t){X(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||k(t,this.length-8);const n=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(n)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+r)})),f.prototype.readFloatLE=function(t,e){return t>>>=0,e||L(t,4,this.length),i.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return t>>>=0,e||L(t,4,this.length),i.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return t>>>=0,e||L(t,8,this.length),i.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return t>>>=0,e||L(t,8,this.length),i.read(this,t,!1,52,8)},f.prototype.writeUintLE=f.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){N(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},f.prototype.writeUintBE=f.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){N(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},f.prototype.writeUint8=f.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,1,255,0),this[e]=255&t,e+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},f.prototype.writeBigUInt64LE=Z((function(t,e=0){return S(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),f.prototype.writeBigUInt64BE=Z((function(t,e=0){return V(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),f.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);N(this,t,e,r,n-1,-n)}let i=0,o=1,s=0;for(this[e]=255&t;++i<r&&(o*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/o|0)-s&255;return e+r},f.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);N(this,t,e,r,n-1,-n)}let i=r-1,o=1,s=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/o|0)-s&255;return e+r},f.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},f.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},f.prototype.writeBigInt64LE=Z((function(t,e=0){return S(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),f.prototype.writeBigInt64BE=Z((function(t,e=0){return V(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),f.prototype.writeFloatLE=function(t,e,r){return C(this,t,e,!0,r)},f.prototype.writeFloatBE=function(t,e,r){return C(this,t,e,!1,r)},f.prototype.writeDoubleLE=function(t,e,r){return D(this,t,e,!0,r)},f.prototype.writeDoubleBE=function(t,e,r){return D(this,t,e,!1,r)},f.prototype.copy=function(t,e,r,n){if(!f.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);const i=n-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),i},f.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!f.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){const e=t.charCodeAt(0);("utf8"===n&&e<128||"latin1"===n)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;let i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{const o=f.isBuffer(t)?t:f.from(t,n),s=o.length;if(0===s)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=o[i%s]}return this};const j={};function z(t,e,r){j[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function F(t){let e="",r=t.length;const n="-"===t[0]?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function P(t,e,r,n,i,o){if(t>r||t<e){const n="bigint"==typeof e?"n":"";let i;throw i=o>3?0===e||e===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(o+1)}${n}`:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}`:`>= ${e}${n} and <= ${r}${n}`,new j.ERR_OUT_OF_RANGE("value",i,t)}!function(t,e,r){X(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||k(e,t.length-(r+1))}(n,i,o)}function X(t,e){if("number"!=typeof t)throw new j.ERR_INVALID_ARG_TYPE(e,"number",t)}function k(t,e,r){if(Math.floor(t)!==t)throw X(t,r),new j.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new j.ERR_BUFFER_OUT_OF_BOUNDS;throw new j.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}z("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),z("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),z("ERR_OUT_OF_RANGE",(function(t,e,r){let n=`The value of "${t}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=F(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=F(i)),i+="n"),n+=` It must be ${e}. Received ${i}`,n}),RangeError);const q=/[^+/0-9A-Za-z-_]/g;function G(t,e){let r;e=e||1/0;const n=t.length;let i=null;const o=[];for(let s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function Y(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(q,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function J(t,e,r,n){let i;for(i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function W(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function H(t){return t!=t}const Q=function(){const t="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){const n=16*r;for(let i=0;i<16;++i)e[n+i]=t[r]+t[i]}return e}();function Z(t){return"undefined"==typeof BigInt?K:t}function K(){throw new Error("BigInt not supported")}},251:(t,e)=>{e.read=function(t,e,r,n,i){var o,s,u=8*i-n-1,f=(1<<u)-1,a=f>>1,h=-7,c=r?i-1:0,l=r?-1:1,p=t[e+c];for(c+=l,o=p&(1<<-h)-1,p>>=-h,h+=u;h>0;o=256*o+t[e+c],c+=l,h-=8);for(s=o&(1<<-h)-1,o>>=-h,h+=n;h>0;s=256*s+t[e+c],c+=l,h-=8);if(0===o)o=1-a;else{if(o===f)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=a}return(p?-1:1)*s*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var s,u,f,a=8*o-i-1,h=(1<<a)-1,c=h>>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-s))<1&&(s--,f*=2),(e+=s+c>=1?l/f:l*Math.pow(2,1-c))*f>=2&&(s++,f/=2),s+c>=h?(u=0,s=h):s+c>=1?(u=(e*f-1)*Math.pow(2,i),s+=c):(u=e*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;t[r+p]=255&u,p+=d,u/=256,i-=8);for(s=s<<i|u,a+=i;a>0;t[r+p]=255&s,p+=d,s/=256,a-=8);t[r+p-d]|=128*g}}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}return r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(281)})()));
27478
27511
  //# sourceMappingURL=xdr.js.map
27479
27512
 
27480
- /***/ }),
27513
+ /***/ },
27481
27514
 
27482
- /***/ 3918:
27483
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
27515
+ /***/ 3918
27516
+ (module, __unused_webpack_exports, __webpack_require__) {
27484
27517
 
27485
27518
  "use strict";
27486
27519
  /* provided dependency */ var process = __webpack_require__(5606);
@@ -27930,10 +27963,10 @@ var AssertionError = /*#__PURE__*/function (_Error, _inspect$custom) {
27930
27963
  }( /*#__PURE__*/_wrapNativeSuper(Error), inspect.custom);
27931
27964
  module.exports = AssertionError;
27932
27965
 
27933
- /***/ }),
27966
+ /***/ },
27934
27967
 
27935
- /***/ 4035:
27936
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
27968
+ /***/ 4035
27969
+ (module, __unused_webpack_exports, __webpack_require__) {
27937
27970
 
27938
27971
  "use strict";
27939
27972
 
@@ -28007,10 +28040,10 @@ if (hasToStringTag) {
28007
28040
  module.exports = fn;
28008
28041
 
28009
28042
 
28010
- /***/ }),
28043
+ /***/ },
28011
28044
 
28012
- /***/ 4039:
28013
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28045
+ /***/ 4039
28046
+ (module, __unused_webpack_exports, __webpack_require__) {
28014
28047
 
28015
28048
  "use strict";
28016
28049
 
@@ -28029,10 +28062,10 @@ module.exports = function hasNativeSymbols() {
28029
28062
  };
28030
28063
 
28031
28064
 
28032
- /***/ }),
28065
+ /***/ },
28033
28066
 
28034
- /***/ 4107:
28035
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28067
+ /***/ 4107
28068
+ (module, __unused_webpack_exports, __webpack_require__) {
28036
28069
 
28037
28070
  "use strict";
28038
28071
 
@@ -28226,10 +28259,10 @@ Sha256.prototype._hash = function () {
28226
28259
  module.exports = Sha256;
28227
28260
 
28228
28261
 
28229
- /***/ }),
28262
+ /***/ },
28230
28263
 
28231
- /***/ 4133:
28232
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28264
+ /***/ 4133
28265
+ (module, __unused_webpack_exports, __webpack_require__) {
28233
28266
 
28234
28267
  "use strict";
28235
28268
 
@@ -28254,10 +28287,10 @@ define(polyfill, {
28254
28287
  module.exports = polyfill;
28255
28288
 
28256
28289
 
28257
- /***/ }),
28290
+ /***/ },
28258
28291
 
28259
- /***/ 4148:
28260
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28292
+ /***/ 4148
28293
+ (module, __unused_webpack_exports, __webpack_require__) {
28261
28294
 
28262
28295
  "use strict";
28263
28296
  /* provided dependency */ var process = __webpack_require__(5606);
@@ -28853,10 +28886,26 @@ assert.strict = objectAssign(strict, assert, {
28853
28886
  });
28854
28887
  assert.strict.strict = assert.strict;
28855
28888
 
28856
- /***/ }),
28889
+ /***/ },
28857
28890
 
28858
- /***/ 4372:
28859
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28891
+ /***/ 4233
28892
+ (module) {
28893
+
28894
+ "use strict";
28895
+
28896
+
28897
+ // eslint-disable-next-line no-extra-parens, no-empty-function
28898
+ const cached = /** @type {GeneratorFunctionConstructor} */ (function* () {}.constructor);
28899
+
28900
+ /** @type {import('.')} */
28901
+ module.exports = () => cached;
28902
+
28903
+
28904
+
28905
+ /***/ },
28906
+
28907
+ /***/ 4372
28908
+ (module, __unused_webpack_exports, __webpack_require__) {
28860
28909
 
28861
28910
  "use strict";
28862
28911
 
@@ -28880,10 +28929,10 @@ module.exports = $typedArrayBuffer || function typedArrayBuffer(x) {
28880
28929
  };
28881
28930
 
28882
28931
 
28883
- /***/ }),
28932
+ /***/ },
28884
28933
 
28885
- /***/ 4459:
28886
- /***/ ((module) => {
28934
+ /***/ 4459
28935
+ (module) {
28887
28936
 
28888
28937
  "use strict";
28889
28938
 
@@ -28894,10 +28943,10 @@ module.exports = Number.isNaN || function isNaN(a) {
28894
28943
  };
28895
28944
 
28896
28945
 
28897
- /***/ }),
28946
+ /***/ },
28898
28947
 
28899
- /***/ 4634:
28900
- /***/ ((module) => {
28948
+ /***/ 4634
28949
+ (module) {
28901
28950
 
28902
28951
  var toString = {}.toString;
28903
28952
 
@@ -28906,10 +28955,10 @@ module.exports = Array.isArray || function (arr) {
28906
28955
  };
28907
28956
 
28908
28957
 
28909
- /***/ }),
28958
+ /***/ },
28910
28959
 
28911
- /***/ 5345:
28912
- /***/ ((module) => {
28960
+ /***/ 5345
28961
+ (module) {
28913
28962
 
28914
28963
  "use strict";
28915
28964
 
@@ -28918,10 +28967,10 @@ module.exports = Array.isArray || function (arr) {
28918
28967
  module.exports = URIError;
28919
28968
 
28920
28969
 
28921
- /***/ }),
28970
+ /***/ },
28922
28971
 
28923
- /***/ 5360:
28924
- /***/ ((__unused_webpack_module, exports) => {
28972
+ /***/ 5360
28973
+ (__unused_webpack_module, exports) {
28925
28974
 
28926
28975
  "use strict";
28927
28976
 
@@ -29238,10 +29287,10 @@ exports.rfc4648 = rfc4648;
29238
29287
  exports.base32hex = base32hex;
29239
29288
 
29240
29289
 
29241
- /***/ }),
29290
+ /***/ },
29242
29291
 
29243
- /***/ 5377:
29244
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29292
+ /***/ 5377
29293
+ (module, __unused_webpack_exports, __webpack_require__) {
29245
29294
 
29246
29295
  "use strict";
29247
29296
 
@@ -29265,11 +29314,11 @@ var useArrayBuffer = typeof ArrayBuffer !== 'undefined'
29265
29314
  var useFromArrayBuffer = useArrayBuffer && (Buffer.prototype instanceof Uint8Array || Buffer.TYPED_ARRAY_SUPPORT);
29266
29315
 
29267
29316
  module.exports = function toBuffer(data, encoding) {
29268
- /*
29269
- * No need to do anything for exact instance
29270
- * This is only valid when safe-buffer.Buffer === buffer.Buffer, i.e. when Buffer.from/Buffer.alloc existed
29271
- */
29272
- if (data instanceof Buffer) {
29317
+ if (Buffer.isBuffer(data)) {
29318
+ if (data.constructor && !('isBuffer' in data)) {
29319
+ // probably a SlowBuffer
29320
+ return Buffer.from(data);
29321
+ }
29273
29322
  return data;
29274
29323
  }
29275
29324
 
@@ -29343,9 +29392,9 @@ module.exports = function toBuffer(data, encoding) {
29343
29392
  if (
29344
29393
  isArr || (
29345
29394
  Buffer.isBuffer(data)
29346
- && data.constructor
29347
- && typeof data.constructor.isBuffer === 'function'
29348
- && data.constructor.isBuffer(data)
29395
+ && data.constructor
29396
+ && typeof data.constructor.isBuffer === 'function'
29397
+ && data.constructor.isBuffer(data)
29349
29398
  )
29350
29399
  ) {
29351
29400
  return Buffer.from(data);
@@ -29355,10 +29404,10 @@ module.exports = function toBuffer(data, encoding) {
29355
29404
  };
29356
29405
 
29357
29406
 
29358
- /***/ }),
29407
+ /***/ },
29359
29408
 
29360
- /***/ 5606:
29361
- /***/ ((module) => {
29409
+ /***/ 5606
29410
+ (module) {
29362
29411
 
29363
29412
  // shim for using process in browser
29364
29413
  var process = module.exports = {};
@@ -29546,10 +29595,10 @@ process.chdir = function (dir) {
29546
29595
  process.umask = function() { return 0; };
29547
29596
 
29548
29597
 
29549
- /***/ }),
29598
+ /***/ },
29550
29599
 
29551
- /***/ 5680:
29552
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29600
+ /***/ 5680
29601
+ (module, __unused_webpack_exports, __webpack_require__) {
29553
29602
 
29554
29603
  "use strict";
29555
29604
 
@@ -29562,10 +29611,10 @@ module.exports = function isTypedArray(value) {
29562
29611
  };
29563
29612
 
29564
29613
 
29565
- /***/ }),
29614
+ /***/ },
29566
29615
 
29567
- /***/ 5767:
29568
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29616
+ /***/ 5767
29617
+ (module, __unused_webpack_exports, __webpack_require__) {
29569
29618
 
29570
29619
  "use strict";
29571
29620
 
@@ -29687,10 +29736,10 @@ module.exports = function whichTypedArray(value) {
29687
29736
  };
29688
29737
 
29689
29738
 
29690
- /***/ }),
29739
+ /***/ },
29691
29740
 
29692
- /***/ 5795:
29693
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29741
+ /***/ 5795
29742
+ (module, __unused_webpack_exports, __webpack_require__) {
29694
29743
 
29695
29744
  "use strict";
29696
29745
 
@@ -29710,10 +29759,10 @@ if ($gOPD) {
29710
29759
  module.exports = $gOPD;
29711
29760
 
29712
29761
 
29713
- /***/ }),
29762
+ /***/ },
29714
29763
 
29715
- /***/ 5880:
29716
- /***/ ((module) => {
29764
+ /***/ 5880
29765
+ (module) {
29717
29766
 
29718
29767
  "use strict";
29719
29768
 
@@ -29722,10 +29771,10 @@ module.exports = $gOPD;
29722
29771
  module.exports = Math.pow;
29723
29772
 
29724
29773
 
29725
- /***/ }),
29774
+ /***/ },
29726
29775
 
29727
- /***/ 6188:
29728
- /***/ ((module) => {
29776
+ /***/ 6188
29777
+ (module) {
29729
29778
 
29730
29779
  "use strict";
29731
29780
 
@@ -29734,10 +29783,10 @@ module.exports = Math.pow;
29734
29783
  module.exports = Math.max;
29735
29784
 
29736
29785
 
29737
- /***/ }),
29786
+ /***/ },
29738
29787
 
29739
- /***/ 6549:
29740
- /***/ ((module) => {
29788
+ /***/ 6549
29789
+ (module) {
29741
29790
 
29742
29791
  "use strict";
29743
29792
 
@@ -29746,10 +29795,10 @@ module.exports = Math.max;
29746
29795
  module.exports = Object.getOwnPropertyDescriptor;
29747
29796
 
29748
29797
 
29749
- /***/ }),
29798
+ /***/ },
29750
29799
 
29751
- /***/ 6556:
29752
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29800
+ /***/ 6556
29801
+ (module, __unused_webpack_exports, __webpack_require__) {
29753
29802
 
29754
29803
  "use strict";
29755
29804
 
@@ -29773,10 +29822,10 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
29773
29822
  };
29774
29823
 
29775
29824
 
29776
- /***/ }),
29825
+ /***/ },
29777
29826
 
29778
- /***/ 6576:
29779
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29827
+ /***/ 6576
29828
+ (module, __unused_webpack_exports, __webpack_require__) {
29780
29829
 
29781
29830
  "use strict";
29782
29831
 
@@ -29795,10 +29844,10 @@ module.exports = function shimObjectIs() {
29795
29844
  };
29796
29845
 
29797
29846
 
29798
- /***/ }),
29847
+ /***/ },
29799
29848
 
29800
- /***/ 6578:
29801
- /***/ ((module) => {
29849
+ /***/ 6578
29850
+ (module) {
29802
29851
 
29803
29852
  "use strict";
29804
29853
 
@@ -29820,10 +29869,10 @@ module.exports = [
29820
29869
  ];
29821
29870
 
29822
29871
 
29823
- /***/ }),
29872
+ /***/ },
29824
29873
 
29825
- /***/ 6642:
29826
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29874
+ /***/ 6642
29875
+ (module, __unused_webpack_exports, __webpack_require__) {
29827
29876
 
29828
29877
  "use strict";
29829
29878
 
@@ -29838,10 +29887,10 @@ module.exports = function getPolyfill() {
29838
29887
  };
29839
29888
 
29840
29889
 
29841
- /***/ }),
29890
+ /***/ },
29842
29891
 
29843
- /***/ 6698:
29844
- /***/ ((module) => {
29892
+ /***/ 6698
29893
+ (module) {
29845
29894
 
29846
29895
  if (typeof Object.create === 'function') {
29847
29896
  // implementation from standard node.js 'util' module
@@ -29872,10 +29921,10 @@ if (typeof Object.create === 'function') {
29872
29921
  }
29873
29922
 
29874
29923
 
29875
- /***/ }),
29924
+ /***/ },
29876
29925
 
29877
- /***/ 6710:
29878
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29926
+ /***/ 6710
29927
+ (module, __unused_webpack_exports, __webpack_require__) {
29879
29928
 
29880
29929
  "use strict";
29881
29930
 
@@ -29935,10 +29984,10 @@ Sha224.prototype._hash = function () {
29935
29984
  module.exports = Sha224;
29936
29985
 
29937
29986
 
29938
- /***/ }),
29987
+ /***/ },
29939
29988
 
29940
- /***/ 6743:
29941
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29989
+ /***/ 6743
29990
+ (module, __unused_webpack_exports, __webpack_require__) {
29942
29991
 
29943
29992
  "use strict";
29944
29993
 
@@ -29948,10 +29997,10 @@ var implementation = __webpack_require__(9353);
29948
29997
  module.exports = Function.prototype.bind || implementation;
29949
29998
 
29950
29999
 
29951
- /***/ }),
30000
+ /***/ },
29952
30001
 
29953
- /***/ 6763:
29954
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30002
+ /***/ 6763
30003
+ (module, __unused_webpack_exports, __webpack_require__) {
29955
30004
 
29956
30005
  /*global window, global*/
29957
30006
  var util = __webpack_require__(537)
@@ -30042,10 +30091,10 @@ function consoleAssert(expression) {
30042
30091
  }
30043
30092
 
30044
30093
 
30045
- /***/ }),
30094
+ /***/ },
30046
30095
 
30047
- /***/ 6897:
30048
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30096
+ /***/ 6897
30097
+ (module, __unused_webpack_exports, __webpack_require__) {
30049
30098
 
30050
30099
  "use strict";
30051
30100
 
@@ -30092,10 +30141,10 @@ module.exports = function setFunctionLength(fn, length) {
30092
30141
  };
30093
30142
 
30094
30143
 
30095
- /***/ }),
30144
+ /***/ },
30096
30145
 
30097
- /***/ 7119:
30098
- /***/ ((module) => {
30146
+ /***/ 7119
30147
+ (module) {
30099
30148
 
30100
30149
  "use strict";
30101
30150
 
@@ -30104,10 +30153,10 @@ module.exports = function setFunctionLength(fn, length) {
30104
30153
  module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
30105
30154
 
30106
30155
 
30107
- /***/ }),
30156
+ /***/ },
30108
30157
 
30109
- /***/ 7176:
30110
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30158
+ /***/ 7176
30159
+ (module, __unused_webpack_exports, __webpack_require__) {
30111
30160
 
30112
30161
  "use strict";
30113
30162
 
@@ -30142,10 +30191,10 @@ module.exports = desc && typeof desc.get === 'function'
30142
30191
  : false;
30143
30192
 
30144
30193
 
30145
- /***/ }),
30194
+ /***/ },
30146
30195
 
30147
- /***/ 7244:
30148
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30196
+ /***/ 7244
30197
+ (module, __unused_webpack_exports, __webpack_require__) {
30149
30198
 
30150
30199
  "use strict";
30151
30200
 
@@ -30194,10 +30243,10 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
30194
30243
  module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
30195
30244
 
30196
30245
 
30197
- /***/ }),
30246
+ /***/ },
30198
30247
 
30199
- /***/ 7526:
30200
- /***/ ((__unused_webpack_module, exports) => {
30248
+ /***/ 7526
30249
+ (__unused_webpack_module, exports) {
30201
30250
 
30202
30251
  "use strict";
30203
30252
 
@@ -30352,10 +30401,10 @@ function fromByteArray (uint8) {
30352
30401
  }
30353
30402
 
30354
30403
 
30355
- /***/ }),
30404
+ /***/ },
30356
30405
 
30357
- /***/ 7653:
30358
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30406
+ /***/ 7653
30407
+ (module, __unused_webpack_exports, __webpack_require__) {
30359
30408
 
30360
30409
  "use strict";
30361
30410
 
@@ -30378,10 +30427,10 @@ define(polyfill, {
30378
30427
  module.exports = polyfill;
30379
30428
 
30380
30429
 
30381
- /***/ }),
30430
+ /***/ },
30382
30431
 
30383
- /***/ 7816:
30384
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30432
+ /***/ 7816
30433
+ (module, __unused_webpack_exports, __webpack_require__) {
30385
30434
 
30386
30435
  "use strict";
30387
30436
 
@@ -30490,10 +30539,10 @@ Sha.prototype._hash = function () {
30490
30539
  module.exports = Sha;
30491
30540
 
30492
30541
 
30493
- /***/ }),
30542
+ /***/ },
30494
30543
 
30495
- /***/ 8002:
30496
- /***/ ((module) => {
30544
+ /***/ 8002
30545
+ (module) {
30497
30546
 
30498
30547
  "use strict";
30499
30548
 
@@ -30502,10 +30551,10 @@ module.exports = Sha;
30502
30551
  module.exports = Math.min;
30503
30552
 
30504
30553
 
30505
- /***/ }),
30554
+ /***/ },
30506
30555
 
30507
- /***/ 8068:
30508
- /***/ ((module) => {
30556
+ /***/ 8068
30557
+ (module) {
30509
30558
 
30510
30559
  "use strict";
30511
30560
 
@@ -30514,10 +30563,10 @@ module.exports = Math.min;
30514
30563
  module.exports = SyntaxError;
30515
30564
 
30516
30565
 
30517
- /***/ }),
30566
+ /***/ },
30518
30567
 
30519
- /***/ 8075:
30520
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30568
+ /***/ 8075
30569
+ (module, __unused_webpack_exports, __webpack_require__) {
30521
30570
 
30522
30571
  "use strict";
30523
30572
 
@@ -30537,10 +30586,10 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
30537
30586
  };
30538
30587
 
30539
30588
 
30540
- /***/ }),
30589
+ /***/ },
30541
30590
 
30542
- /***/ 8184:
30543
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30591
+ /***/ 8184
30592
+ (module, __unused_webpack_exports, __webpack_require__) {
30544
30593
 
30545
30594
  "use strict";
30546
30595
 
@@ -30554,17 +30603,7 @@ var getProto = __webpack_require__(3628);
30554
30603
  var toStr = callBound('Object.prototype.toString');
30555
30604
  var fnToStr = callBound('Function.prototype.toString');
30556
30605
 
30557
- var getGeneratorFunc = function () { // eslint-disable-line consistent-return
30558
- if (!hasToStringTag) {
30559
- return false;
30560
- }
30561
- try {
30562
- return Function('return function*() {}')();
30563
- } catch (e) {
30564
- }
30565
- };
30566
- /** @type {undefined | false | null | GeneratorFunctionConstructor} */
30567
- var GeneratorFunction;
30606
+ var getGeneratorFunction = __webpack_require__(4233);
30568
30607
 
30569
30608
  /** @type {import('.')} */
30570
30609
  module.exports = function isGeneratorFunction(fn) {
@@ -30581,21 +30620,15 @@ module.exports = function isGeneratorFunction(fn) {
30581
30620
  if (!getProto) {
30582
30621
  return false;
30583
30622
  }
30584
- if (typeof GeneratorFunction === 'undefined') {
30585
- var generatorFunc = getGeneratorFunc();
30586
- GeneratorFunction = generatorFunc
30587
- // eslint-disable-next-line no-extra-parens
30588
- ? /** @type {GeneratorFunctionConstructor} */ (getProto(generatorFunc))
30589
- : false;
30590
- }
30591
- return getProto(fn) === GeneratorFunction;
30623
+ var GeneratorFunction = getGeneratorFunction();
30624
+ return GeneratorFunction && getProto(fn) === GeneratorFunction.prototype;
30592
30625
  };
30593
30626
 
30594
30627
 
30595
- /***/ }),
30628
+ /***/ },
30596
30629
 
30597
- /***/ 8287:
30598
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
30630
+ /***/ 8287
30631
+ (__unused_webpack_module, exports, __webpack_require__) {
30599
30632
 
30600
30633
  "use strict";
30601
30634
  /* provided dependency */ var console = __webpack_require__(6763);
@@ -32707,10 +32740,10 @@ function BufferBigIntNotDefined () {
32707
32740
  }
32708
32741
 
32709
32742
 
32710
- /***/ }),
32743
+ /***/ },
32711
32744
 
32712
- /***/ 8403:
32713
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
32745
+ /***/ 8403
32746
+ (module, __unused_webpack_exports, __webpack_require__) {
32714
32747
 
32715
32748
  "use strict";
32716
32749
 
@@ -32761,10 +32794,10 @@ module.exports = function assign(target, source1) {
32761
32794
  };
32762
32795
 
32763
32796
 
32764
- /***/ }),
32797
+ /***/ },
32765
32798
 
32766
- /***/ 8452:
32767
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
32799
+ /***/ 8452
32800
+ (module, __unused_webpack_exports, __webpack_require__) {
32768
32801
 
32769
32802
  "use strict";
32770
32803
 
@@ -32816,10 +32849,10 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
32816
32849
  module.exports = defineProperties;
32817
32850
 
32818
32851
 
32819
- /***/ }),
32852
+ /***/ },
32820
32853
 
32821
- /***/ 8648:
32822
- /***/ ((module) => {
32854
+ /***/ 8648
32855
+ (module) {
32823
32856
 
32824
32857
  "use strict";
32825
32858
 
@@ -32828,10 +32861,10 @@ module.exports = defineProperties;
32828
32861
  module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
32829
32862
 
32830
32863
 
32831
- /***/ }),
32864
+ /***/ },
32832
32865
 
32833
- /***/ 8875:
32834
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
32866
+ /***/ 8875
32867
+ (module, __unused_webpack_exports, __webpack_require__) {
32835
32868
 
32836
32869
  "use strict";
32837
32870
 
@@ -32958,10 +32991,10 @@ if (!Object.keys) {
32958
32991
  module.exports = keysShim;
32959
32992
 
32960
32993
 
32961
- /***/ }),
32994
+ /***/ },
32962
32995
 
32963
- /***/ 8968:
32964
- /***/ ((module) => {
32996
+ /***/ 8968
32997
+ (module) {
32965
32998
 
32966
32999
  "use strict";
32967
33000
 
@@ -32970,10 +33003,10 @@ module.exports = keysShim;
32970
33003
  module.exports = Math.floor;
32971
33004
 
32972
33005
 
32973
- /***/ }),
33006
+ /***/ },
32974
33007
 
32975
- /***/ 9032:
32976
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
33008
+ /***/ 9032
33009
+ (__unused_webpack_module, exports, __webpack_require__) {
32977
33010
 
32978
33011
  "use strict";
32979
33012
  // Currently in sync with Node.js lib/internal/util/types.js
@@ -33312,10 +33345,10 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
33312
33345
  });
33313
33346
 
33314
33347
 
33315
- /***/ }),
33348
+ /***/ },
33316
33349
 
33317
- /***/ 9092:
33318
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33350
+ /***/ 9092
33351
+ (module, __unused_webpack_exports, __webpack_require__) {
33319
33352
 
33320
33353
  "use strict";
33321
33354
 
@@ -33328,10 +33361,10 @@ module.exports = function hasToStringTagShams() {
33328
33361
  };
33329
33362
 
33330
33363
 
33331
- /***/ }),
33364
+ /***/ },
33332
33365
 
33333
- /***/ 9133:
33334
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33366
+ /***/ 9133
33367
+ (module, __unused_webpack_exports, __webpack_require__) {
33335
33368
 
33336
33369
  "use strict";
33337
33370
 
@@ -33391,10 +33424,10 @@ module.exports = function getPolyfill() {
33391
33424
  };
33392
33425
 
33393
33426
 
33394
- /***/ }),
33427
+ /***/ },
33395
33428
 
33396
- /***/ 9209:
33397
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33429
+ /***/ 9209
33430
+ (module, __unused_webpack_exports, __webpack_require__) {
33398
33431
 
33399
33432
  "use strict";
33400
33433
 
@@ -33416,10 +33449,10 @@ module.exports = function availableTypedArrays() {
33416
33449
  };
33417
33450
 
33418
33451
 
33419
- /***/ }),
33452
+ /***/ },
33420
33453
 
33421
- /***/ 9211:
33422
- /***/ ((module) => {
33454
+ /***/ 9211
33455
+ (module) {
33423
33456
 
33424
33457
  "use strict";
33425
33458
 
@@ -33443,10 +33476,10 @@ module.exports = function is(a, b) {
33443
33476
 
33444
33477
 
33445
33478
 
33446
- /***/ }),
33479
+ /***/ },
33447
33480
 
33448
- /***/ 9290:
33449
- /***/ ((module) => {
33481
+ /***/ 9290
33482
+ (module) {
33450
33483
 
33451
33484
  "use strict";
33452
33485
 
@@ -33455,10 +33488,10 @@ module.exports = function is(a, b) {
33455
33488
  module.exports = RangeError;
33456
33489
 
33457
33490
 
33458
- /***/ }),
33491
+ /***/ },
33459
33492
 
33460
- /***/ 9353:
33461
- /***/ ((module) => {
33493
+ /***/ 9353
33494
+ (module) {
33462
33495
 
33463
33496
  "use strict";
33464
33497
 
@@ -33547,10 +33580,10 @@ module.exports = function bind(that) {
33547
33580
  };
33548
33581
 
33549
33582
 
33550
- /***/ }),
33583
+ /***/ },
33551
33584
 
33552
- /***/ 9383:
33553
- /***/ ((module) => {
33585
+ /***/ 9383
33586
+ (module) {
33554
33587
 
33555
33588
  "use strict";
33556
33589
 
@@ -33559,10 +33592,10 @@ module.exports = function bind(that) {
33559
33592
  module.exports = Error;
33560
33593
 
33561
33594
 
33562
- /***/ }),
33595
+ /***/ },
33563
33596
 
33564
- /***/ 9394:
33565
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33597
+ /***/ 9394
33598
+ (module, __unused_webpack_exports, __webpack_require__) {
33566
33599
 
33567
33600
  "use strict";
33568
33601
 
@@ -33574,10 +33607,10 @@ module.exports = function getPolyfill() {
33574
33607
  };
33575
33608
 
33576
33609
 
33577
- /***/ }),
33610
+ /***/ },
33578
33611
 
33579
- /***/ 9538:
33580
- /***/ ((module) => {
33612
+ /***/ 9538
33613
+ (module) {
33581
33614
 
33582
33615
  "use strict";
33583
33616
 
@@ -33586,10 +33619,10 @@ module.exports = function getPolyfill() {
33586
33619
  module.exports = ReferenceError;
33587
33620
 
33588
33621
 
33589
- /***/ }),
33622
+ /***/ },
33590
33623
 
33591
- /***/ 9597:
33592
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33624
+ /***/ 9597
33625
+ (module, __unused_webpack_exports, __webpack_require__) {
33593
33626
 
33594
33627
  "use strict";
33595
33628
  // Currently in sync with Node.js lib/internal/errors.js
@@ -33764,10 +33797,10 @@ createErrorType('ERR_MISSING_ARGS', function () {
33764
33797
  }, TypeError);
33765
33798
  module.exports.codes = codes;
33766
33799
 
33767
- /***/ }),
33800
+ /***/ },
33768
33801
 
33769
- /***/ 9600:
33770
- /***/ ((module) => {
33802
+ /***/ 9600
33803
+ (module) {
33771
33804
 
33772
33805
  "use strict";
33773
33806
 
@@ -33873,10 +33906,10 @@ module.exports = reflectApply
33873
33906
  };
33874
33907
 
33875
33908
 
33876
- /***/ }),
33909
+ /***/ },
33877
33910
 
33878
- /***/ 9612:
33879
- /***/ ((module) => {
33911
+ /***/ 9612
33912
+ (module) {
33880
33913
 
33881
33914
  "use strict";
33882
33915
 
@@ -33885,10 +33918,10 @@ module.exports = reflectApply
33885
33918
  module.exports = Object;
33886
33919
 
33887
33920
 
33888
- /***/ }),
33921
+ /***/ },
33889
33922
 
33890
- /***/ 9675:
33891
- /***/ ((module) => {
33923
+ /***/ 9675
33924
+ (module) {
33892
33925
 
33893
33926
  "use strict";
33894
33927
 
@@ -33897,10 +33930,10 @@ module.exports = Object;
33897
33930
  module.exports = TypeError;
33898
33931
 
33899
33932
 
33900
- /***/ }),
33933
+ /***/ },
33901
33934
 
33902
- /***/ 9721:
33903
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33935
+ /***/ 9721
33936
+ (module, __unused_webpack_exports, __webpack_require__) {
33904
33937
 
33905
33938
  "use strict";
33906
33939
 
@@ -33922,10 +33955,10 @@ module.exports = function regexTester(regex) {
33922
33955
  };
33923
33956
 
33924
33957
 
33925
- /***/ }),
33958
+ /***/ },
33926
33959
 
33927
- /***/ 9957:
33928
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33960
+ /***/ 9957
33961
+ (module, __unused_webpack_exports, __webpack_require__) {
33929
33962
 
33930
33963
  "use strict";
33931
33964
 
@@ -33938,7 +33971,7 @@ var bind = __webpack_require__(6743);
33938
33971
  module.exports = bind.call(call, $hasOwn);
33939
33972
 
33940
33973
 
33941
- /***/ })
33974
+ /***/ }
33942
33975
 
33943
33976
  /******/ });
33944
33977
  /************************************************************************/