@stellar/stellar-base 14.0.3 → 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
  }
@@ -24637,10 +24642,10 @@ function walkHelper(node, depth, callback, parent) {
24637
24642
 
24638
24643
  /* harmony default export */ const src = (module.exports);
24639
24644
 
24640
- /***/ }),
24645
+ /***/ },
24641
24646
 
24642
- /***/ 453:
24643
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
24647
+ /***/ 453
24648
+ (module, __unused_webpack_exports, __webpack_require__) {
24644
24649
 
24645
24650
  "use strict";
24646
24651
 
@@ -25023,10 +25028,10 @@ module.exports = function GetIntrinsic(name, allowMissing) {
25023
25028
  };
25024
25029
 
25025
25030
 
25026
- /***/ }),
25031
+ /***/ },
25027
25032
 
25028
- /***/ 487:
25029
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25033
+ /***/ 487
25034
+ (module, __unused_webpack_exports, __webpack_require__) {
25030
25035
 
25031
25036
  "use strict";
25032
25037
 
@@ -25055,10 +25060,10 @@ if ($defineProperty) {
25055
25060
  }
25056
25061
 
25057
25062
 
25058
- /***/ }),
25063
+ /***/ },
25059
25064
 
25060
- /***/ 537:
25061
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
25065
+ /***/ 537
25066
+ (__unused_webpack_module, exports, __webpack_require__) {
25062
25067
 
25063
25068
  /* provided dependency */ var process = __webpack_require__(5606);
25064
25069
  /* provided dependency */ var console = __webpack_require__(6763);
@@ -25779,10 +25784,10 @@ function callbackify(original) {
25779
25784
  exports.callbackify = callbackify;
25780
25785
 
25781
25786
 
25782
- /***/ }),
25787
+ /***/ },
25783
25788
 
25784
- /***/ 592:
25785
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25789
+ /***/ 592
25790
+ (module, __unused_webpack_exports, __webpack_require__) {
25786
25791
 
25787
25792
  "use strict";
25788
25793
 
@@ -25809,10 +25814,10 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
25809
25814
  module.exports = hasPropertyDescriptors;
25810
25815
 
25811
25816
 
25812
- /***/ }),
25817
+ /***/ },
25813
25818
 
25814
- /***/ 655:
25815
- /***/ ((module) => {
25819
+ /***/ 655
25820
+ (module) {
25816
25821
 
25817
25822
  "use strict";
25818
25823
 
@@ -25831,10 +25836,10 @@ if ($defineProperty) {
25831
25836
  module.exports = $defineProperty;
25832
25837
 
25833
25838
 
25834
- /***/ }),
25839
+ /***/ },
25835
25840
 
25836
- /***/ 1002:
25837
- /***/ ((module) => {
25841
+ /***/ 1002
25842
+ (module) {
25838
25843
 
25839
25844
  "use strict";
25840
25845
 
@@ -25843,10 +25848,10 @@ module.exports = $defineProperty;
25843
25848
  module.exports = Function.prototype.apply;
25844
25849
 
25845
25850
 
25846
- /***/ }),
25851
+ /***/ },
25847
25852
 
25848
- /***/ 1064:
25849
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25853
+ /***/ 1064
25854
+ (module, __unused_webpack_exports, __webpack_require__) {
25850
25855
 
25851
25856
  "use strict";
25852
25857
 
@@ -25857,10 +25862,10 @@ var $Object = __webpack_require__(9612);
25857
25862
  module.exports = $Object.getPrototypeOf || null;
25858
25863
 
25859
25864
 
25860
- /***/ }),
25865
+ /***/ },
25861
25866
 
25862
- /***/ 1093:
25863
- /***/ ((module) => {
25867
+ /***/ 1093
25868
+ (module) {
25864
25869
 
25865
25870
  "use strict";
25866
25871
 
@@ -25882,10 +25887,10 @@ module.exports = function isArguments(value) {
25882
25887
  };
25883
25888
 
25884
25889
 
25885
- /***/ }),
25890
+ /***/ },
25886
25891
 
25887
- /***/ 1135:
25888
- /***/ ((module) => {
25892
+ /***/ 1135
25893
+ (module) {
25889
25894
 
25890
25895
  module.exports = function isBuffer(arg) {
25891
25896
  return arg && typeof arg === 'object'
@@ -25894,10 +25899,10 @@ module.exports = function isBuffer(arg) {
25894
25899
  && typeof arg.readUInt8 === 'function';
25895
25900
  }
25896
25901
 
25897
- /***/ }),
25902
+ /***/ },
25898
25903
 
25899
- /***/ 1189:
25900
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25904
+ /***/ 1189
25905
+ (module, __unused_webpack_exports, __webpack_require__) {
25901
25906
 
25902
25907
  "use strict";
25903
25908
 
@@ -25934,10 +25939,10 @@ keysShim.shim = function shimObjectKeys() {
25934
25939
  module.exports = keysShim;
25935
25940
 
25936
25941
 
25937
- /***/ }),
25942
+ /***/ },
25938
25943
 
25939
- /***/ 1237:
25940
- /***/ ((module) => {
25944
+ /***/ 1237
25945
+ (module) {
25941
25946
 
25942
25947
  "use strict";
25943
25948
 
@@ -25946,10 +25951,10 @@ module.exports = keysShim;
25946
25951
  module.exports = EvalError;
25947
25952
 
25948
25953
 
25949
- /***/ }),
25954
+ /***/ },
25950
25955
 
25951
- /***/ 1333:
25952
- /***/ ((module) => {
25956
+ /***/ 1333
25957
+ (module) {
25953
25958
 
25954
25959
  "use strict";
25955
25960
 
@@ -25999,10 +26004,10 @@ module.exports = function hasSymbols() {
25999
26004
  };
26000
26005
 
26001
26006
 
26002
- /***/ }),
26007
+ /***/ },
26003
26008
 
26004
- /***/ 1514:
26005
- /***/ ((module) => {
26009
+ /***/ 1514
26010
+ (module) {
26006
26011
 
26007
26012
  "use strict";
26008
26013
 
@@ -26011,10 +26016,10 @@ module.exports = function hasSymbols() {
26011
26016
  module.exports = Math.abs;
26012
26017
 
26013
26018
 
26014
- /***/ }),
26019
+ /***/ },
26015
26020
 
26016
- /***/ 2205:
26017
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26021
+ /***/ 2205
26022
+ (module, __unused_webpack_exports, __webpack_require__) {
26018
26023
 
26019
26024
  "use strict";
26020
26025
 
@@ -26029,10 +26034,10 @@ module.exports = function applyBind() {
26029
26034
  };
26030
26035
 
26031
26036
 
26032
- /***/ }),
26037
+ /***/ },
26033
26038
 
26034
- /***/ 2299:
26035
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26039
+ /***/ 2299
26040
+ (module, __unused_webpack_exports, __webpack_require__) {
26036
26041
 
26037
26042
  "use strict";
26038
26043
  // Currently in sync with Node.js lib/internal/util/comparisons.js
@@ -26611,10 +26616,10 @@ module.exports = {
26611
26616
  isDeepStrictEqual: isDeepStrictEqual
26612
26617
  };
26613
26618
 
26614
- /***/ }),
26619
+ /***/ },
26615
26620
 
26616
- /***/ 2464:
26617
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26621
+ /***/ 2464
26622
+ (module, __unused_webpack_exports, __webpack_require__) {
26618
26623
 
26619
26624
  "use strict";
26620
26625
 
@@ -26635,10 +26640,10 @@ module.exports = function shimNumberIsNaN() {
26635
26640
  };
26636
26641
 
26637
26642
 
26638
- /***/ }),
26643
+ /***/ },
26639
26644
 
26640
- /***/ 2682:
26641
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26645
+ /***/ 2682
26646
+ (module, __unused_webpack_exports, __webpack_require__) {
26642
26647
 
26643
26648
  "use strict";
26644
26649
 
@@ -26712,10 +26717,10 @@ module.exports = function forEach(list, iterator, thisArg) {
26712
26717
  };
26713
26718
 
26714
26719
 
26715
- /***/ }),
26720
+ /***/ },
26716
26721
 
26717
- /***/ 2802:
26718
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26722
+ /***/ 2802
26723
+ (module, __unused_webpack_exports, __webpack_require__) {
26719
26724
 
26720
26725
  "use strict";
26721
26726
 
@@ -26739,10 +26744,10 @@ module.exports.sha384 = __webpack_require__(2827);
26739
26744
  module.exports.sha512 = __webpack_require__(2890);
26740
26745
 
26741
26746
 
26742
- /***/ }),
26747
+ /***/ },
26743
26748
 
26744
- /***/ 2827:
26745
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26749
+ /***/ 2827
26750
+ (module, __unused_webpack_exports, __webpack_require__) {
26746
26751
 
26747
26752
  "use strict";
26748
26753
 
@@ -26806,10 +26811,10 @@ Sha384.prototype._hash = function () {
26806
26811
  module.exports = Sha384;
26807
26812
 
26808
26813
 
26809
- /***/ }),
26814
+ /***/ },
26810
26815
 
26811
- /***/ 2861:
26812
- /***/ ((module, exports, __webpack_require__) => {
26816
+ /***/ 2861
26817
+ (module, exports, __webpack_require__) {
26813
26818
 
26814
26819
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
26815
26820
  /* eslint-disable node/no-deprecated-api */
@@ -26878,10 +26883,10 @@ SafeBuffer.allocUnsafeSlow = function (size) {
26878
26883
  }
26879
26884
 
26880
26885
 
26881
- /***/ }),
26886
+ /***/ },
26882
26887
 
26883
- /***/ 2890:
26884
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26888
+ /***/ 2890
26889
+ (module, __unused_webpack_exports, __webpack_require__) {
26885
26890
 
26886
26891
  "use strict";
26887
26892
 
@@ -27268,10 +27273,10 @@ Sha512.prototype._hash = function () {
27268
27273
  module.exports = Sha512;
27269
27274
 
27270
27275
 
27271
- /***/ }),
27276
+ /***/ },
27272
27277
 
27273
- /***/ 3003:
27274
- /***/ ((module) => {
27278
+ /***/ 3003
27279
+ (module) {
27275
27280
 
27276
27281
  "use strict";
27277
27282
 
@@ -27283,10 +27288,10 @@ module.exports = function isNaN(value) {
27283
27288
  };
27284
27289
 
27285
27290
 
27286
- /***/ }),
27291
+ /***/ },
27287
27292
 
27288
- /***/ 3093:
27289
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
27293
+ /***/ 3093
27294
+ (module, __unused_webpack_exports, __webpack_require__) {
27290
27295
 
27291
27296
  "use strict";
27292
27297
 
@@ -27302,10 +27307,10 @@ module.exports = function sign(number) {
27302
27307
  };
27303
27308
 
27304
27309
 
27305
- /***/ }),
27310
+ /***/ },
27306
27311
 
27307
- /***/ 3126:
27308
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
27312
+ /***/ 3126
27313
+ (module, __unused_webpack_exports, __webpack_require__) {
27309
27314
 
27310
27315
  "use strict";
27311
27316
 
@@ -27325,10 +27330,10 @@ module.exports = function callBindBasic(args) {
27325
27330
  };
27326
27331
 
27327
27332
 
27328
- /***/ }),
27333
+ /***/ },
27329
27334
 
27330
- /***/ 3144:
27331
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
27335
+ /***/ 3144
27336
+ (module, __unused_webpack_exports, __webpack_require__) {
27332
27337
 
27333
27338
  "use strict";
27334
27339
 
@@ -27343,10 +27348,10 @@ var $reflectApply = __webpack_require__(7119);
27343
27348
  module.exports = $reflectApply || bind.call($call, $apply);
27344
27349
 
27345
27350
 
27346
- /***/ }),
27351
+ /***/ },
27347
27352
 
27348
- /***/ 3628:
27349
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
27353
+ /***/ 3628
27354
+ (module, __unused_webpack_exports, __webpack_require__) {
27350
27355
 
27351
27356
  "use strict";
27352
27357
 
@@ -27378,10 +27383,10 @@ module.exports = reflectGetProto
27378
27383
  : null;
27379
27384
 
27380
27385
 
27381
- /***/ }),
27386
+ /***/ },
27382
27387
 
27383
- /***/ 3737:
27384
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
27388
+ /***/ 3737
27389
+ (module, __unused_webpack_exports, __webpack_require__) {
27385
27390
 
27386
27391
  "use strict";
27387
27392
 
@@ -27495,20 +27500,20 @@ Sha1.prototype._hash = function () {
27495
27500
  module.exports = Sha1;
27496
27501
 
27497
27502
 
27498
- /***/ }),
27503
+ /***/ },
27499
27504
 
27500
- /***/ 3740:
27501
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
27505
+ /***/ 3740
27506
+ (module, __unused_webpack_exports, __webpack_require__) {
27502
27507
 
27503
27508
  /* provided dependency */ var console = __webpack_require__(6763);
27504
27509
  /*! For license information please see xdr.js.LICENSE.txt */
27505
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)})()));
27506
27511
  //# sourceMappingURL=xdr.js.map
27507
27512
 
27508
- /***/ }),
27513
+ /***/ },
27509
27514
 
27510
- /***/ 3918:
27511
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
27515
+ /***/ 3918
27516
+ (module, __unused_webpack_exports, __webpack_require__) {
27512
27517
 
27513
27518
  "use strict";
27514
27519
  /* provided dependency */ var process = __webpack_require__(5606);
@@ -27958,10 +27963,10 @@ var AssertionError = /*#__PURE__*/function (_Error, _inspect$custom) {
27958
27963
  }( /*#__PURE__*/_wrapNativeSuper(Error), inspect.custom);
27959
27964
  module.exports = AssertionError;
27960
27965
 
27961
- /***/ }),
27966
+ /***/ },
27962
27967
 
27963
- /***/ 4035:
27964
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
27968
+ /***/ 4035
27969
+ (module, __unused_webpack_exports, __webpack_require__) {
27965
27970
 
27966
27971
  "use strict";
27967
27972
 
@@ -28035,10 +28040,10 @@ if (hasToStringTag) {
28035
28040
  module.exports = fn;
28036
28041
 
28037
28042
 
28038
- /***/ }),
28043
+ /***/ },
28039
28044
 
28040
- /***/ 4039:
28041
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28045
+ /***/ 4039
28046
+ (module, __unused_webpack_exports, __webpack_require__) {
28042
28047
 
28043
28048
  "use strict";
28044
28049
 
@@ -28057,10 +28062,10 @@ module.exports = function hasNativeSymbols() {
28057
28062
  };
28058
28063
 
28059
28064
 
28060
- /***/ }),
28065
+ /***/ },
28061
28066
 
28062
- /***/ 4107:
28063
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28067
+ /***/ 4107
28068
+ (module, __unused_webpack_exports, __webpack_require__) {
28064
28069
 
28065
28070
  "use strict";
28066
28071
 
@@ -28254,10 +28259,10 @@ Sha256.prototype._hash = function () {
28254
28259
  module.exports = Sha256;
28255
28260
 
28256
28261
 
28257
- /***/ }),
28262
+ /***/ },
28258
28263
 
28259
- /***/ 4133:
28260
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28264
+ /***/ 4133
28265
+ (module, __unused_webpack_exports, __webpack_require__) {
28261
28266
 
28262
28267
  "use strict";
28263
28268
 
@@ -28282,10 +28287,10 @@ define(polyfill, {
28282
28287
  module.exports = polyfill;
28283
28288
 
28284
28289
 
28285
- /***/ }),
28290
+ /***/ },
28286
28291
 
28287
- /***/ 4148:
28288
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28292
+ /***/ 4148
28293
+ (module, __unused_webpack_exports, __webpack_require__) {
28289
28294
 
28290
28295
  "use strict";
28291
28296
  /* provided dependency */ var process = __webpack_require__(5606);
@@ -28881,10 +28886,26 @@ assert.strict = objectAssign(strict, assert, {
28881
28886
  });
28882
28887
  assert.strict.strict = assert.strict;
28883
28888
 
28884
- /***/ }),
28889
+ /***/ },
28890
+
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
+ /***/ },
28885
28906
 
28886
- /***/ 4372:
28887
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28907
+ /***/ 4372
28908
+ (module, __unused_webpack_exports, __webpack_require__) {
28888
28909
 
28889
28910
  "use strict";
28890
28911
 
@@ -28908,10 +28929,10 @@ module.exports = $typedArrayBuffer || function typedArrayBuffer(x) {
28908
28929
  };
28909
28930
 
28910
28931
 
28911
- /***/ }),
28932
+ /***/ },
28912
28933
 
28913
- /***/ 4459:
28914
- /***/ ((module) => {
28934
+ /***/ 4459
28935
+ (module) {
28915
28936
 
28916
28937
  "use strict";
28917
28938
 
@@ -28922,10 +28943,10 @@ module.exports = Number.isNaN || function isNaN(a) {
28922
28943
  };
28923
28944
 
28924
28945
 
28925
- /***/ }),
28946
+ /***/ },
28926
28947
 
28927
- /***/ 4634:
28928
- /***/ ((module) => {
28948
+ /***/ 4634
28949
+ (module) {
28929
28950
 
28930
28951
  var toString = {}.toString;
28931
28952
 
@@ -28934,10 +28955,10 @@ module.exports = Array.isArray || function (arr) {
28934
28955
  };
28935
28956
 
28936
28957
 
28937
- /***/ }),
28958
+ /***/ },
28938
28959
 
28939
- /***/ 5345:
28940
- /***/ ((module) => {
28960
+ /***/ 5345
28961
+ (module) {
28941
28962
 
28942
28963
  "use strict";
28943
28964
 
@@ -28946,10 +28967,10 @@ module.exports = Array.isArray || function (arr) {
28946
28967
  module.exports = URIError;
28947
28968
 
28948
28969
 
28949
- /***/ }),
28970
+ /***/ },
28950
28971
 
28951
- /***/ 5360:
28952
- /***/ ((__unused_webpack_module, exports) => {
28972
+ /***/ 5360
28973
+ (__unused_webpack_module, exports) {
28953
28974
 
28954
28975
  "use strict";
28955
28976
 
@@ -29266,10 +29287,10 @@ exports.rfc4648 = rfc4648;
29266
29287
  exports.base32hex = base32hex;
29267
29288
 
29268
29289
 
29269
- /***/ }),
29290
+ /***/ },
29270
29291
 
29271
- /***/ 5377:
29272
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29292
+ /***/ 5377
29293
+ (module, __unused_webpack_exports, __webpack_require__) {
29273
29294
 
29274
29295
  "use strict";
29275
29296
 
@@ -29293,11 +29314,11 @@ var useArrayBuffer = typeof ArrayBuffer !== 'undefined'
29293
29314
  var useFromArrayBuffer = useArrayBuffer && (Buffer.prototype instanceof Uint8Array || Buffer.TYPED_ARRAY_SUPPORT);
29294
29315
 
29295
29316
  module.exports = function toBuffer(data, encoding) {
29296
- /*
29297
- * No need to do anything for exact instance
29298
- * This is only valid when safe-buffer.Buffer === buffer.Buffer, i.e. when Buffer.from/Buffer.alloc existed
29299
- */
29300
- 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
+ }
29301
29322
  return data;
29302
29323
  }
29303
29324
 
@@ -29371,9 +29392,9 @@ module.exports = function toBuffer(data, encoding) {
29371
29392
  if (
29372
29393
  isArr || (
29373
29394
  Buffer.isBuffer(data)
29374
- && data.constructor
29375
- && typeof data.constructor.isBuffer === 'function'
29376
- && data.constructor.isBuffer(data)
29395
+ && data.constructor
29396
+ && typeof data.constructor.isBuffer === 'function'
29397
+ && data.constructor.isBuffer(data)
29377
29398
  )
29378
29399
  ) {
29379
29400
  return Buffer.from(data);
@@ -29383,10 +29404,10 @@ module.exports = function toBuffer(data, encoding) {
29383
29404
  };
29384
29405
 
29385
29406
 
29386
- /***/ }),
29407
+ /***/ },
29387
29408
 
29388
- /***/ 5606:
29389
- /***/ ((module) => {
29409
+ /***/ 5606
29410
+ (module) {
29390
29411
 
29391
29412
  // shim for using process in browser
29392
29413
  var process = module.exports = {};
@@ -29574,10 +29595,10 @@ process.chdir = function (dir) {
29574
29595
  process.umask = function() { return 0; };
29575
29596
 
29576
29597
 
29577
- /***/ }),
29598
+ /***/ },
29578
29599
 
29579
- /***/ 5680:
29580
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29600
+ /***/ 5680
29601
+ (module, __unused_webpack_exports, __webpack_require__) {
29581
29602
 
29582
29603
  "use strict";
29583
29604
 
@@ -29590,10 +29611,10 @@ module.exports = function isTypedArray(value) {
29590
29611
  };
29591
29612
 
29592
29613
 
29593
- /***/ }),
29614
+ /***/ },
29594
29615
 
29595
- /***/ 5767:
29596
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29616
+ /***/ 5767
29617
+ (module, __unused_webpack_exports, __webpack_require__) {
29597
29618
 
29598
29619
  "use strict";
29599
29620
 
@@ -29715,10 +29736,10 @@ module.exports = function whichTypedArray(value) {
29715
29736
  };
29716
29737
 
29717
29738
 
29718
- /***/ }),
29739
+ /***/ },
29719
29740
 
29720
- /***/ 5795:
29721
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29741
+ /***/ 5795
29742
+ (module, __unused_webpack_exports, __webpack_require__) {
29722
29743
 
29723
29744
  "use strict";
29724
29745
 
@@ -29738,10 +29759,10 @@ if ($gOPD) {
29738
29759
  module.exports = $gOPD;
29739
29760
 
29740
29761
 
29741
- /***/ }),
29762
+ /***/ },
29742
29763
 
29743
- /***/ 5880:
29744
- /***/ ((module) => {
29764
+ /***/ 5880
29765
+ (module) {
29745
29766
 
29746
29767
  "use strict";
29747
29768
 
@@ -29750,10 +29771,10 @@ module.exports = $gOPD;
29750
29771
  module.exports = Math.pow;
29751
29772
 
29752
29773
 
29753
- /***/ }),
29774
+ /***/ },
29754
29775
 
29755
- /***/ 6188:
29756
- /***/ ((module) => {
29776
+ /***/ 6188
29777
+ (module) {
29757
29778
 
29758
29779
  "use strict";
29759
29780
 
@@ -29762,10 +29783,10 @@ module.exports = Math.pow;
29762
29783
  module.exports = Math.max;
29763
29784
 
29764
29785
 
29765
- /***/ }),
29786
+ /***/ },
29766
29787
 
29767
- /***/ 6549:
29768
- /***/ ((module) => {
29788
+ /***/ 6549
29789
+ (module) {
29769
29790
 
29770
29791
  "use strict";
29771
29792
 
@@ -29774,10 +29795,10 @@ module.exports = Math.max;
29774
29795
  module.exports = Object.getOwnPropertyDescriptor;
29775
29796
 
29776
29797
 
29777
- /***/ }),
29798
+ /***/ },
29778
29799
 
29779
- /***/ 6556:
29780
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29800
+ /***/ 6556
29801
+ (module, __unused_webpack_exports, __webpack_require__) {
29781
29802
 
29782
29803
  "use strict";
29783
29804
 
@@ -29801,10 +29822,10 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
29801
29822
  };
29802
29823
 
29803
29824
 
29804
- /***/ }),
29825
+ /***/ },
29805
29826
 
29806
- /***/ 6576:
29807
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29827
+ /***/ 6576
29828
+ (module, __unused_webpack_exports, __webpack_require__) {
29808
29829
 
29809
29830
  "use strict";
29810
29831
 
@@ -29823,10 +29844,10 @@ module.exports = function shimObjectIs() {
29823
29844
  };
29824
29845
 
29825
29846
 
29826
- /***/ }),
29847
+ /***/ },
29827
29848
 
29828
- /***/ 6578:
29829
- /***/ ((module) => {
29849
+ /***/ 6578
29850
+ (module) {
29830
29851
 
29831
29852
  "use strict";
29832
29853
 
@@ -29848,10 +29869,10 @@ module.exports = [
29848
29869
  ];
29849
29870
 
29850
29871
 
29851
- /***/ }),
29872
+ /***/ },
29852
29873
 
29853
- /***/ 6642:
29854
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29874
+ /***/ 6642
29875
+ (module, __unused_webpack_exports, __webpack_require__) {
29855
29876
 
29856
29877
  "use strict";
29857
29878
 
@@ -29866,10 +29887,10 @@ module.exports = function getPolyfill() {
29866
29887
  };
29867
29888
 
29868
29889
 
29869
- /***/ }),
29890
+ /***/ },
29870
29891
 
29871
- /***/ 6698:
29872
- /***/ ((module) => {
29892
+ /***/ 6698
29893
+ (module) {
29873
29894
 
29874
29895
  if (typeof Object.create === 'function') {
29875
29896
  // implementation from standard node.js 'util' module
@@ -29900,10 +29921,10 @@ if (typeof Object.create === 'function') {
29900
29921
  }
29901
29922
 
29902
29923
 
29903
- /***/ }),
29924
+ /***/ },
29904
29925
 
29905
- /***/ 6710:
29906
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29926
+ /***/ 6710
29927
+ (module, __unused_webpack_exports, __webpack_require__) {
29907
29928
 
29908
29929
  "use strict";
29909
29930
 
@@ -29963,10 +29984,10 @@ Sha224.prototype._hash = function () {
29963
29984
  module.exports = Sha224;
29964
29985
 
29965
29986
 
29966
- /***/ }),
29987
+ /***/ },
29967
29988
 
29968
- /***/ 6743:
29969
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29989
+ /***/ 6743
29990
+ (module, __unused_webpack_exports, __webpack_require__) {
29970
29991
 
29971
29992
  "use strict";
29972
29993
 
@@ -29976,10 +29997,10 @@ var implementation = __webpack_require__(9353);
29976
29997
  module.exports = Function.prototype.bind || implementation;
29977
29998
 
29978
29999
 
29979
- /***/ }),
30000
+ /***/ },
29980
30001
 
29981
- /***/ 6763:
29982
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30002
+ /***/ 6763
30003
+ (module, __unused_webpack_exports, __webpack_require__) {
29983
30004
 
29984
30005
  /*global window, global*/
29985
30006
  var util = __webpack_require__(537)
@@ -30070,10 +30091,10 @@ function consoleAssert(expression) {
30070
30091
  }
30071
30092
 
30072
30093
 
30073
- /***/ }),
30094
+ /***/ },
30074
30095
 
30075
- /***/ 6897:
30076
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30096
+ /***/ 6897
30097
+ (module, __unused_webpack_exports, __webpack_require__) {
30077
30098
 
30078
30099
  "use strict";
30079
30100
 
@@ -30120,10 +30141,10 @@ module.exports = function setFunctionLength(fn, length) {
30120
30141
  };
30121
30142
 
30122
30143
 
30123
- /***/ }),
30144
+ /***/ },
30124
30145
 
30125
- /***/ 7119:
30126
- /***/ ((module) => {
30146
+ /***/ 7119
30147
+ (module) {
30127
30148
 
30128
30149
  "use strict";
30129
30150
 
@@ -30132,10 +30153,10 @@ module.exports = function setFunctionLength(fn, length) {
30132
30153
  module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
30133
30154
 
30134
30155
 
30135
- /***/ }),
30156
+ /***/ },
30136
30157
 
30137
- /***/ 7176:
30138
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30158
+ /***/ 7176
30159
+ (module, __unused_webpack_exports, __webpack_require__) {
30139
30160
 
30140
30161
  "use strict";
30141
30162
 
@@ -30170,10 +30191,10 @@ module.exports = desc && typeof desc.get === 'function'
30170
30191
  : false;
30171
30192
 
30172
30193
 
30173
- /***/ }),
30194
+ /***/ },
30174
30195
 
30175
- /***/ 7244:
30176
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30196
+ /***/ 7244
30197
+ (module, __unused_webpack_exports, __webpack_require__) {
30177
30198
 
30178
30199
  "use strict";
30179
30200
 
@@ -30222,10 +30243,10 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
30222
30243
  module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
30223
30244
 
30224
30245
 
30225
- /***/ }),
30246
+ /***/ },
30226
30247
 
30227
- /***/ 7526:
30228
- /***/ ((__unused_webpack_module, exports) => {
30248
+ /***/ 7526
30249
+ (__unused_webpack_module, exports) {
30229
30250
 
30230
30251
  "use strict";
30231
30252
 
@@ -30380,10 +30401,10 @@ function fromByteArray (uint8) {
30380
30401
  }
30381
30402
 
30382
30403
 
30383
- /***/ }),
30404
+ /***/ },
30384
30405
 
30385
- /***/ 7653:
30386
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30406
+ /***/ 7653
30407
+ (module, __unused_webpack_exports, __webpack_require__) {
30387
30408
 
30388
30409
  "use strict";
30389
30410
 
@@ -30406,10 +30427,10 @@ define(polyfill, {
30406
30427
  module.exports = polyfill;
30407
30428
 
30408
30429
 
30409
- /***/ }),
30430
+ /***/ },
30410
30431
 
30411
- /***/ 7816:
30412
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30432
+ /***/ 7816
30433
+ (module, __unused_webpack_exports, __webpack_require__) {
30413
30434
 
30414
30435
  "use strict";
30415
30436
 
@@ -30518,10 +30539,10 @@ Sha.prototype._hash = function () {
30518
30539
  module.exports = Sha;
30519
30540
 
30520
30541
 
30521
- /***/ }),
30542
+ /***/ },
30522
30543
 
30523
- /***/ 8002:
30524
- /***/ ((module) => {
30544
+ /***/ 8002
30545
+ (module) {
30525
30546
 
30526
30547
  "use strict";
30527
30548
 
@@ -30530,10 +30551,10 @@ module.exports = Sha;
30530
30551
  module.exports = Math.min;
30531
30552
 
30532
30553
 
30533
- /***/ }),
30554
+ /***/ },
30534
30555
 
30535
- /***/ 8068:
30536
- /***/ ((module) => {
30556
+ /***/ 8068
30557
+ (module) {
30537
30558
 
30538
30559
  "use strict";
30539
30560
 
@@ -30542,10 +30563,10 @@ module.exports = Math.min;
30542
30563
  module.exports = SyntaxError;
30543
30564
 
30544
30565
 
30545
- /***/ }),
30566
+ /***/ },
30546
30567
 
30547
- /***/ 8075:
30548
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30568
+ /***/ 8075
30569
+ (module, __unused_webpack_exports, __webpack_require__) {
30549
30570
 
30550
30571
  "use strict";
30551
30572
 
@@ -30565,10 +30586,10 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
30565
30586
  };
30566
30587
 
30567
30588
 
30568
- /***/ }),
30589
+ /***/ },
30569
30590
 
30570
- /***/ 8184:
30571
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
30591
+ /***/ 8184
30592
+ (module, __unused_webpack_exports, __webpack_require__) {
30572
30593
 
30573
30594
  "use strict";
30574
30595
 
@@ -30582,17 +30603,7 @@ var getProto = __webpack_require__(3628);
30582
30603
  var toStr = callBound('Object.prototype.toString');
30583
30604
  var fnToStr = callBound('Function.prototype.toString');
30584
30605
 
30585
- var getGeneratorFunc = function () { // eslint-disable-line consistent-return
30586
- if (!hasToStringTag) {
30587
- return false;
30588
- }
30589
- try {
30590
- return Function('return function*() {}')();
30591
- } catch (e) {
30592
- }
30593
- };
30594
- /** @type {undefined | false | null | GeneratorFunctionConstructor} */
30595
- var GeneratorFunction;
30606
+ var getGeneratorFunction = __webpack_require__(4233);
30596
30607
 
30597
30608
  /** @type {import('.')} */
30598
30609
  module.exports = function isGeneratorFunction(fn) {
@@ -30609,21 +30620,15 @@ module.exports = function isGeneratorFunction(fn) {
30609
30620
  if (!getProto) {
30610
30621
  return false;
30611
30622
  }
30612
- if (typeof GeneratorFunction === 'undefined') {
30613
- var generatorFunc = getGeneratorFunc();
30614
- GeneratorFunction = generatorFunc
30615
- // eslint-disable-next-line no-extra-parens
30616
- ? /** @type {GeneratorFunctionConstructor} */ (getProto(generatorFunc))
30617
- : false;
30618
- }
30619
- return getProto(fn) === GeneratorFunction;
30623
+ var GeneratorFunction = getGeneratorFunction();
30624
+ return GeneratorFunction && getProto(fn) === GeneratorFunction.prototype;
30620
30625
  };
30621
30626
 
30622
30627
 
30623
- /***/ }),
30628
+ /***/ },
30624
30629
 
30625
- /***/ 8287:
30626
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
30630
+ /***/ 8287
30631
+ (__unused_webpack_module, exports, __webpack_require__) {
30627
30632
 
30628
30633
  "use strict";
30629
30634
  /* provided dependency */ var console = __webpack_require__(6763);
@@ -32735,10 +32740,10 @@ function BufferBigIntNotDefined () {
32735
32740
  }
32736
32741
 
32737
32742
 
32738
- /***/ }),
32743
+ /***/ },
32739
32744
 
32740
- /***/ 8403:
32741
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
32745
+ /***/ 8403
32746
+ (module, __unused_webpack_exports, __webpack_require__) {
32742
32747
 
32743
32748
  "use strict";
32744
32749
 
@@ -32789,10 +32794,10 @@ module.exports = function assign(target, source1) {
32789
32794
  };
32790
32795
 
32791
32796
 
32792
- /***/ }),
32797
+ /***/ },
32793
32798
 
32794
- /***/ 8452:
32795
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
32799
+ /***/ 8452
32800
+ (module, __unused_webpack_exports, __webpack_require__) {
32796
32801
 
32797
32802
  "use strict";
32798
32803
 
@@ -32844,10 +32849,10 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
32844
32849
  module.exports = defineProperties;
32845
32850
 
32846
32851
 
32847
- /***/ }),
32852
+ /***/ },
32848
32853
 
32849
- /***/ 8648:
32850
- /***/ ((module) => {
32854
+ /***/ 8648
32855
+ (module) {
32851
32856
 
32852
32857
  "use strict";
32853
32858
 
@@ -32856,10 +32861,10 @@ module.exports = defineProperties;
32856
32861
  module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
32857
32862
 
32858
32863
 
32859
- /***/ }),
32864
+ /***/ },
32860
32865
 
32861
- /***/ 8875:
32862
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
32866
+ /***/ 8875
32867
+ (module, __unused_webpack_exports, __webpack_require__) {
32863
32868
 
32864
32869
  "use strict";
32865
32870
 
@@ -32986,10 +32991,10 @@ if (!Object.keys) {
32986
32991
  module.exports = keysShim;
32987
32992
 
32988
32993
 
32989
- /***/ }),
32994
+ /***/ },
32990
32995
 
32991
- /***/ 8968:
32992
- /***/ ((module) => {
32996
+ /***/ 8968
32997
+ (module) {
32993
32998
 
32994
32999
  "use strict";
32995
33000
 
@@ -32998,10 +33003,10 @@ module.exports = keysShim;
32998
33003
  module.exports = Math.floor;
32999
33004
 
33000
33005
 
33001
- /***/ }),
33006
+ /***/ },
33002
33007
 
33003
- /***/ 9032:
33004
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
33008
+ /***/ 9032
33009
+ (__unused_webpack_module, exports, __webpack_require__) {
33005
33010
 
33006
33011
  "use strict";
33007
33012
  // Currently in sync with Node.js lib/internal/util/types.js
@@ -33340,10 +33345,10 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
33340
33345
  });
33341
33346
 
33342
33347
 
33343
- /***/ }),
33348
+ /***/ },
33344
33349
 
33345
- /***/ 9092:
33346
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33350
+ /***/ 9092
33351
+ (module, __unused_webpack_exports, __webpack_require__) {
33347
33352
 
33348
33353
  "use strict";
33349
33354
 
@@ -33356,10 +33361,10 @@ module.exports = function hasToStringTagShams() {
33356
33361
  };
33357
33362
 
33358
33363
 
33359
- /***/ }),
33364
+ /***/ },
33360
33365
 
33361
- /***/ 9133:
33362
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33366
+ /***/ 9133
33367
+ (module, __unused_webpack_exports, __webpack_require__) {
33363
33368
 
33364
33369
  "use strict";
33365
33370
 
@@ -33419,10 +33424,10 @@ module.exports = function getPolyfill() {
33419
33424
  };
33420
33425
 
33421
33426
 
33422
- /***/ }),
33427
+ /***/ },
33423
33428
 
33424
- /***/ 9209:
33425
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33429
+ /***/ 9209
33430
+ (module, __unused_webpack_exports, __webpack_require__) {
33426
33431
 
33427
33432
  "use strict";
33428
33433
 
@@ -33444,10 +33449,10 @@ module.exports = function availableTypedArrays() {
33444
33449
  };
33445
33450
 
33446
33451
 
33447
- /***/ }),
33452
+ /***/ },
33448
33453
 
33449
- /***/ 9211:
33450
- /***/ ((module) => {
33454
+ /***/ 9211
33455
+ (module) {
33451
33456
 
33452
33457
  "use strict";
33453
33458
 
@@ -33471,10 +33476,10 @@ module.exports = function is(a, b) {
33471
33476
 
33472
33477
 
33473
33478
 
33474
- /***/ }),
33479
+ /***/ },
33475
33480
 
33476
- /***/ 9290:
33477
- /***/ ((module) => {
33481
+ /***/ 9290
33482
+ (module) {
33478
33483
 
33479
33484
  "use strict";
33480
33485
 
@@ -33483,10 +33488,10 @@ module.exports = function is(a, b) {
33483
33488
  module.exports = RangeError;
33484
33489
 
33485
33490
 
33486
- /***/ }),
33491
+ /***/ },
33487
33492
 
33488
- /***/ 9353:
33489
- /***/ ((module) => {
33493
+ /***/ 9353
33494
+ (module) {
33490
33495
 
33491
33496
  "use strict";
33492
33497
 
@@ -33575,10 +33580,10 @@ module.exports = function bind(that) {
33575
33580
  };
33576
33581
 
33577
33582
 
33578
- /***/ }),
33583
+ /***/ },
33579
33584
 
33580
- /***/ 9383:
33581
- /***/ ((module) => {
33585
+ /***/ 9383
33586
+ (module) {
33582
33587
 
33583
33588
  "use strict";
33584
33589
 
@@ -33587,10 +33592,10 @@ module.exports = function bind(that) {
33587
33592
  module.exports = Error;
33588
33593
 
33589
33594
 
33590
- /***/ }),
33595
+ /***/ },
33591
33596
 
33592
- /***/ 9394:
33593
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33597
+ /***/ 9394
33598
+ (module, __unused_webpack_exports, __webpack_require__) {
33594
33599
 
33595
33600
  "use strict";
33596
33601
 
@@ -33602,10 +33607,10 @@ module.exports = function getPolyfill() {
33602
33607
  };
33603
33608
 
33604
33609
 
33605
- /***/ }),
33610
+ /***/ },
33606
33611
 
33607
- /***/ 9538:
33608
- /***/ ((module) => {
33612
+ /***/ 9538
33613
+ (module) {
33609
33614
 
33610
33615
  "use strict";
33611
33616
 
@@ -33614,10 +33619,10 @@ module.exports = function getPolyfill() {
33614
33619
  module.exports = ReferenceError;
33615
33620
 
33616
33621
 
33617
- /***/ }),
33622
+ /***/ },
33618
33623
 
33619
- /***/ 9597:
33620
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33624
+ /***/ 9597
33625
+ (module, __unused_webpack_exports, __webpack_require__) {
33621
33626
 
33622
33627
  "use strict";
33623
33628
  // Currently in sync with Node.js lib/internal/errors.js
@@ -33792,10 +33797,10 @@ createErrorType('ERR_MISSING_ARGS', function () {
33792
33797
  }, TypeError);
33793
33798
  module.exports.codes = codes;
33794
33799
 
33795
- /***/ }),
33800
+ /***/ },
33796
33801
 
33797
- /***/ 9600:
33798
- /***/ ((module) => {
33802
+ /***/ 9600
33803
+ (module) {
33799
33804
 
33800
33805
  "use strict";
33801
33806
 
@@ -33901,10 +33906,10 @@ module.exports = reflectApply
33901
33906
  };
33902
33907
 
33903
33908
 
33904
- /***/ }),
33909
+ /***/ },
33905
33910
 
33906
- /***/ 9612:
33907
- /***/ ((module) => {
33911
+ /***/ 9612
33912
+ (module) {
33908
33913
 
33909
33914
  "use strict";
33910
33915
 
@@ -33913,10 +33918,10 @@ module.exports = reflectApply
33913
33918
  module.exports = Object;
33914
33919
 
33915
33920
 
33916
- /***/ }),
33921
+ /***/ },
33917
33922
 
33918
- /***/ 9675:
33919
- /***/ ((module) => {
33923
+ /***/ 9675
33924
+ (module) {
33920
33925
 
33921
33926
  "use strict";
33922
33927
 
@@ -33925,10 +33930,10 @@ module.exports = Object;
33925
33930
  module.exports = TypeError;
33926
33931
 
33927
33932
 
33928
- /***/ }),
33933
+ /***/ },
33929
33934
 
33930
- /***/ 9721:
33931
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33935
+ /***/ 9721
33936
+ (module, __unused_webpack_exports, __webpack_require__) {
33932
33937
 
33933
33938
  "use strict";
33934
33939
 
@@ -33950,10 +33955,10 @@ module.exports = function regexTester(regex) {
33950
33955
  };
33951
33956
 
33952
33957
 
33953
- /***/ }),
33958
+ /***/ },
33954
33959
 
33955
- /***/ 9957:
33956
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33960
+ /***/ 9957
33961
+ (module, __unused_webpack_exports, __webpack_require__) {
33957
33962
 
33958
33963
  "use strict";
33959
33964
 
@@ -33966,7 +33971,7 @@ var bind = __webpack_require__(6743);
33966
33971
  module.exports = bind.call(call, $hasOwn);
33967
33972
 
33968
33973
 
33969
- /***/ })
33974
+ /***/ }
33970
33975
 
33971
33976
  /******/ });
33972
33977
  /************************************************************************/