u-space 0.0.18 → 0.0.19

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.
@@ -1,6 +1,6 @@
1
1
  import { FileLoader, Scene, OrthographicCamera, Mesh, PlaneGeometry, MeshBasicNodeMaterial, SRGBColorSpace, Matrix4, Loader, LoadingManager, Group, EventDispatcher, Vector3, Box3, Quaternion, Sphere, Vector4, BufferGeometry, Float32BufferAttribute, DataTexture, RGBAFormat, FloatType, NearestFilter, MeshStandardNodeMaterial, Color, Euler } from "three/webgpu";
2
2
  import { TextureLoaderManager, Model, ShapeMesh, CircleMesh, ExtrudeMesh, tweenAnimation, Topology, BaseMesh, BaseGroup, MaterialEffects as MaterialEffects$1 } from "u-space";
3
- import { pass, attribute, vec4, positionLocal, textureLoad, ivec2, mat4, int, textureSize } from "three/tsl";
3
+ import { pass, attribute, vec4, positionLocal, transformNormal, normalLocal, textureLoad, ivec2, mat4, int, textureSize } from "three/tsl";
4
4
  import { MaterialEffects } from "../../index.js";
5
5
  class BaseFileLoader extends FileLoader {
6
6
  constructor(t) {
@@ -193,7 +193,7 @@ ieee754.write = function(c, t, u, o, d, r) {
193
193
  const se = X.write(U, I);
194
194
  return se !== C && (X = X.slice(0, se)), X;
195
195
  }
196
- function q(U) {
196
+ function B(U) {
197
197
  const I = U.length < 0 ? 0 : D(U.length) | 0, C = n(I);
198
198
  for (let X = 0; X < I; X += 1)
199
199
  C[X] = U[X] & 255;
@@ -204,7 +204,7 @@ ieee754.write = function(c, t, u, o, d, r) {
204
204
  const I = new r(U);
205
205
  return S(I.buffer, I.byteOffset, I.byteLength);
206
206
  }
207
- return q(U);
207
+ return B(U);
208
208
  }
209
209
  function S(U, I, C) {
210
210
  if (I < 0 || U.byteLength < I)
@@ -220,9 +220,9 @@ ieee754.write = function(c, t, u, o, d, r) {
220
220
  return C.length === 0 || U.copy(C, 0, 0, I), C;
221
221
  }
222
222
  if (U.length !== void 0)
223
- return typeof U.length != "number" || ge(U.length) ? n(0) : q(U);
223
+ return typeof U.length != "number" || ge(U.length) ? n(0) : B(U);
224
224
  if (U.type === "Buffer" && Array.isArray(U.data))
225
- return q(U.data);
225
+ return B(U.data);
226
226
  }
227
227
  function D(U) {
228
228
  if (U >= d)
@@ -338,7 +338,7 @@ ieee754.write = function(c, t, u, o, d, r) {
338
338
  return x(this, I, C);
339
339
  case "utf8":
340
340
  case "utf-8":
341
- return B(this, I, C);
341
+ return q(this, I, C);
342
342
  case "ascii":
343
343
  return w(this, I, C);
344
344
  case "latin1":
@@ -384,7 +384,7 @@ ieee754.write = function(c, t, u, o, d, r) {
384
384
  return this;
385
385
  }, e.prototype.toString = function() {
386
386
  const I = this.length;
387
- return I === 0 ? "" : arguments.length === 0 ? B(this, 0, I) : J.apply(this, arguments);
387
+ return I === 0 ? "" : arguments.length === 0 ? q(this, 0, I) : J.apply(this, arguments);
388
388
  }, e.prototype.toLocaleString = e.prototype.toString, e.prototype.equals = function(I) {
389
389
  if (!e.isBuffer(I)) throw new TypeError("Argument must be a Buffer");
390
390
  return this === I ? !0 : e.compare(this, I) === 0;
@@ -539,7 +539,7 @@ ieee754.write = function(c, t, u, o, d, r) {
539
539
  function R(U, I, C) {
540
540
  return I === 0 && C === U.length ? t.fromByteArray(U) : t.fromByteArray(U.slice(I, C));
541
541
  }
542
- function B(U, I, C) {
542
+ function q(U, I, C) {
543
543
  C = Math.min(U.length, C);
544
544
  const X = [];
545
545
  let se = I;
@@ -1196,8 +1196,8 @@ function requireDist() {
1196
1196
  o[O >> 10] + o[O >> 4 & 63] + o[O << 2 & 63] + "="
1197
1197
  )), j.join("");
1198
1198
  }
1199
- var q = {};
1200
- q.read = function(S, O, D, $, j) {
1199
+ var B = {};
1200
+ B.read = function(S, O, D, $, j) {
1201
1201
  var J, ie, ne = j * 8 - $ - 1, de = (1 << ne) - 1, Z = de >> 1, y = -7, g = D ? j - 1 : 0, p = D ? -1 : 1, _ = S[O + g];
1202
1202
  for (g += p, J = _ & (1 << -y) - 1, _ >>= -y, y += ne; y > 0; J = J * 256 + S[O + g], g += p, y -= 8)
1203
1203
  ;
@@ -1211,16 +1211,16 @@ function requireDist() {
1211
1211
  ie = ie + Math.pow(2, $), J = J - Z;
1212
1212
  }
1213
1213
  return (_ ? -1 : 1) * ie * Math.pow(2, J - $);
1214
- }, q.write = function(S, O, D, $, j, J) {
1215
- var ie, ne, de, Z = J * 8 - j - 1, y = (1 << Z) - 1, g = y >> 1, p = j === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, _ = $ ? 0 : J - 1, R = $ ? 1 : -1, B = O < 0 || O === 0 && 1 / O < 0 ? 1 : 0;
1214
+ }, B.write = function(S, O, D, $, j, J) {
1215
+ var ie, ne, de, Z = J * 8 - j - 1, y = (1 << Z) - 1, g = y >> 1, p = j === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, _ = $ ? 0 : J - 1, R = $ ? 1 : -1, q = O < 0 || O === 0 && 1 / O < 0 ? 1 : 0;
1216
1216
  for (O = Math.abs(O), isNaN(O) || O === 1 / 0 ? (ne = isNaN(O) ? 1 : 0, ie = y) : (ie = Math.floor(Math.log(O) / Math.LN2), O * (de = Math.pow(2, -ie)) < 1 && (ie--, de *= 2), ie + g >= 1 ? O += p / de : O += p * Math.pow(2, 1 - g), O * de >= 2 && (ie++, de /= 2), ie + g >= y ? (ne = 0, ie = y) : ie + g >= 1 ? (ne = (O * de - 1) * Math.pow(2, j), ie = ie + g) : (ne = O * Math.pow(2, g - 1) * Math.pow(2, j), ie = 0)); j >= 8; S[D + _] = ne & 255, _ += R, ne /= 256, j -= 8)
1217
1217
  ;
1218
1218
  for (ie = ie << j | ne, Z += j; Z > 0; S[D + _] = ie & 255, _ += R, ie /= 256, Z -= 8)
1219
1219
  ;
1220
- S[D + _ - R] |= B * 128;
1220
+ S[D + _ - R] |= q * 128;
1221
1221
  };
1222
1222
  (function(S) {
1223
- const O = u, D = q, $ = typeof Symbol == "function" && typeof Symbol.for == "function" ? /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom") : null;
1223
+ const O = u, D = B, $ = typeof Symbol == "function" && typeof Symbol.for == "function" ? /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom") : null;
1224
1224
  S.Buffer = y, S.SlowBuffer = L, S.INSPECT_MAX_BYTES = 50;
1225
1225
  const j = 2147483647;
1226
1226
  S.kMaxLength = j;
@@ -1270,7 +1270,7 @@ function requireDist() {
1270
1270
  y.poolSize = 8192;
1271
1271
  function g(W, T, k) {
1272
1272
  if (typeof W == "string")
1273
- return B(W, T);
1273
+ return q(W, T);
1274
1274
  if (ie.isView(W))
1275
1275
  return A(W);
1276
1276
  if (W == null)
@@ -1317,7 +1317,7 @@ function requireDist() {
1317
1317
  }, y.allocUnsafeSlow = function(W) {
1318
1318
  return R(W);
1319
1319
  };
1320
- function B(W, T) {
1320
+ function q(W, T) {
1321
1321
  if ((typeof T != "string" || T === "") && (T = "utf8"), !y.isEncoding(T))
1322
1322
  throw new TypeError("Unknown encoding: " + T);
1323
1323
  const k = K(W, T) | 0;
@@ -2389,7 +2389,7 @@ function requireEvents() {
2389
2389
  if (J === void 0)
2390
2390
  return [];
2391
2391
  var ie = J[$];
2392
- return ie === void 0 ? [] : typeof ie == "function" ? j ? [ie.listener || ie] : [ie] : j ? q(ie) : b(ie, ie.length);
2392
+ return ie === void 0 ? [] : typeof ie == "function" ? j ? [ie.listener || ie] : [ie] : j ? B(ie) : b(ie, ie.length);
2393
2393
  }
2394
2394
  r.prototype.listeners = function($) {
2395
2395
  return l(this, $, !0);
@@ -2422,7 +2422,7 @@ function requireEvents() {
2422
2422
  D[$] = D[$ + 1];
2423
2423
  D.pop();
2424
2424
  }
2425
- function q(D) {
2425
+ function B(D) {
2426
2426
  for (var $ = new Array(D.length), j = 0; j < $.length; ++j)
2427
2427
  $[j] = D[j].listener || D[j];
2428
2428
  return $;
@@ -2655,9 +2655,9 @@ function requireImplementation$4() {
2655
2655
  }, v = u(0, n.length - e.length), b = [], m = 0; m < v; m++)
2656
2656
  b[m] = "$" + m;
2657
2657
  if (s = Function("binder", "return function (" + h(b, ",") + "){ return binder.apply(this,arguments); }")(l), n.prototype) {
2658
- var q = function() {
2658
+ var B = function() {
2659
2659
  };
2660
- q.prototype = n.prototype, s.prototype = new q(), q.prototype = null;
2660
+ B.prototype = n.prototype, s.prototype = new B(), B.prototype = null;
2661
2661
  }
2662
2662
  return s;
2663
2663
  }, implementation$4;
@@ -2749,9 +2749,9 @@ var getIntrinsic, hasRequiredGetIntrinsic;
2749
2749
  function requireGetIntrinsic() {
2750
2750
  if (hasRequiredGetIntrinsic) return getIntrinsic;
2751
2751
  hasRequiredGetIntrinsic = 1;
2752
- var c, t = /* @__PURE__ */ requireEsObjectAtoms(), u = /* @__PURE__ */ requireEsErrors(), o = /* @__PURE__ */ require_eval(), d = /* @__PURE__ */ requireRange(), r = /* @__PURE__ */ requireRef(), h = /* @__PURE__ */ requireSyntax(), f = /* @__PURE__ */ requireType(), a = /* @__PURE__ */ requireUri(), n = /* @__PURE__ */ requireAbs(), e = /* @__PURE__ */ requireFloor(), s = /* @__PURE__ */ requireMax(), l = /* @__PURE__ */ requireMin(), v = /* @__PURE__ */ requirePow(), b = /* @__PURE__ */ requireRound(), m = /* @__PURE__ */ requireSign$1(), q = Function, E = function(ee) {
2752
+ var c, t = /* @__PURE__ */ requireEsObjectAtoms(), u = /* @__PURE__ */ requireEsErrors(), o = /* @__PURE__ */ require_eval(), d = /* @__PURE__ */ requireRange(), r = /* @__PURE__ */ requireRef(), h = /* @__PURE__ */ requireSyntax(), f = /* @__PURE__ */ requireType(), a = /* @__PURE__ */ requireUri(), n = /* @__PURE__ */ requireAbs(), e = /* @__PURE__ */ requireFloor(), s = /* @__PURE__ */ requireMax(), l = /* @__PURE__ */ requireMin(), v = /* @__PURE__ */ requirePow(), b = /* @__PURE__ */ requireRound(), m = /* @__PURE__ */ requireSign$1(), B = Function, E = function(ee) {
2753
2753
  try {
2754
- return q('"use strict"; return (' + ee + ").constructor;")();
2754
+ return B('"use strict"; return (' + ee + ").constructor;")();
2755
2755
  } catch {
2756
2756
  }
2757
2757
  }, S = /* @__PURE__ */ requireGopd(), O = /* @__PURE__ */ requireEsDefineProperty(), D = function() {
@@ -2796,7 +2796,7 @@ function requireGetIntrinsic() {
2796
2796
  "%Float32Array%": typeof Float32Array > "u" ? c : Float32Array,
2797
2797
  "%Float64Array%": typeof Float64Array > "u" ? c : Float64Array,
2798
2798
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? c : FinalizationRegistry,
2799
- "%Function%": q,
2799
+ "%Function%": B,
2800
2800
  "%GeneratorFunction%": y,
2801
2801
  "%Int8Array%": typeof Int8Array > "u" ? c : Int8Array,
2802
2802
  "%Int16Array%": typeof Int16Array > "u" ? c : Int16Array,
@@ -2873,7 +2873,7 @@ function requireGetIntrinsic() {
2873
2873
  fe && J && (z = J(fe.prototype));
2874
2874
  }
2875
2875
  return p[ae] = z, z;
2876
- }, B = {
2876
+ }, q = {
2877
2877
  __proto__: null,
2878
2878
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
2879
2879
  "%ArrayPrototype%": ["Array", "prototype"],
@@ -2938,7 +2938,7 @@ function requireGetIntrinsic() {
2938
2938
  }), fe;
2939
2939
  }, F = function(ae, z) {
2940
2940
  var G = ae, fe;
2941
- if (A(B, G) && (fe = B[G], G = "%" + fe[0] + "%"), A(p, G)) {
2941
+ if (A(q, G) && (fe = q[G], G = "%" + fe[0] + "%"), A(p, G)) {
2942
2942
  var me = p[G];
2943
2943
  if (me === y && (me = R(G)), typeof me > "u" && !z)
2944
2944
  throw new f("intrinsic " + ae + " exists, but is not available. Please file an issue!");
@@ -3131,12 +3131,12 @@ function requireIsCallable() {
3131
3131
  } catch {
3132
3132
  return !1;
3133
3133
  }
3134
- }, f = Object.prototype.toString, a = "[object Object]", n = "[object Function]", e = "[object GeneratorFunction]", s = "[object HTMLAllCollection]", l = "[object HTML document.all class]", v = "[object HTMLCollection]", b = typeof Symbol == "function" && !!Symbol.toStringTag, m = !(0 in [,]), q = function() {
3134
+ }, f = Object.prototype.toString, a = "[object Object]", n = "[object Function]", e = "[object GeneratorFunction]", s = "[object HTMLAllCollection]", l = "[object HTML document.all class]", v = "[object HTMLCollection]", b = typeof Symbol == "function" && !!Symbol.toStringTag, m = !(0 in [,]), B = function() {
3135
3135
  return !1;
3136
3136
  };
3137
3137
  if (typeof document == "object") {
3138
3138
  var E = document.all;
3139
- f.call(E) === f.call(document.all) && (q = function(O) {
3139
+ f.call(E) === f.call(document.all) && (B = function(O) {
3140
3140
  if ((m || !O) && (typeof O > "u" || typeof O == "object"))
3141
3141
  try {
3142
3142
  var D = f.call(O);
@@ -3147,7 +3147,7 @@ function requireIsCallable() {
3147
3147
  });
3148
3148
  }
3149
3149
  return isCallable = t ? function(O) {
3150
- if (q(O))
3150
+ if (B(O))
3151
3151
  return !0;
3152
3152
  if (!O || typeof O != "function" && typeof O != "object")
3153
3153
  return !1;
@@ -3159,7 +3159,7 @@ function requireIsCallable() {
3159
3159
  }
3160
3160
  return !r(O) && h(O);
3161
3161
  } : function(O) {
3162
- if (q(O))
3162
+ if (B(O))
3163
3163
  return !0;
3164
3164
  if (!O || typeof O != "function" && typeof O != "object")
3165
3165
  return !1;
@@ -3329,16 +3329,16 @@ var whichTypedArray, hasRequiredWhichTypedArray;
3329
3329
  function requireWhichTypedArray() {
3330
3330
  if (hasRequiredWhichTypedArray) return whichTypedArray;
3331
3331
  hasRequiredWhichTypedArray = 1;
3332
- var c = requireForEach(), t = /* @__PURE__ */ requireAvailableTypedArrays(), u = requireCallBind(), o = /* @__PURE__ */ requireCallBound$1(), d = /* @__PURE__ */ requireGopd(), r = requireGetProto(), h = o("Object.prototype.toString"), f = requireShams()(), a = typeof globalThis > "u" ? commonjsGlobal : globalThis, n = t(), e = o("String.prototype.slice"), s = o("Array.prototype.indexOf", !0) || function(q, E) {
3333
- for (var S = 0; S < q.length; S += 1)
3334
- if (q[S] === E)
3332
+ var c = requireForEach(), t = /* @__PURE__ */ requireAvailableTypedArrays(), u = requireCallBind(), o = /* @__PURE__ */ requireCallBound$1(), d = /* @__PURE__ */ requireGopd(), r = requireGetProto(), h = o("Object.prototype.toString"), f = requireShams()(), a = typeof globalThis > "u" ? commonjsGlobal : globalThis, n = t(), e = o("String.prototype.slice"), s = o("Array.prototype.indexOf", !0) || function(B, E) {
3333
+ for (var S = 0; S < B.length; S += 1)
3334
+ if (B[S] === E)
3335
3335
  return S;
3336
3336
  return -1;
3337
3337
  }, l = { __proto__: null };
3338
3338
  f && d && r ? c(n, function(m) {
3339
- var q = new a[m]();
3340
- if (Symbol.toStringTag in q && r) {
3341
- var E = r(q), S = d(E, Symbol.toStringTag);
3339
+ var B = new a[m]();
3340
+ if (Symbol.toStringTag in B && r) {
3341
+ var E = r(B), S = d(E, Symbol.toStringTag);
3342
3342
  if (!S && E) {
3343
3343
  var O = r(E);
3344
3344
  S = d(O, Symbol.toStringTag);
@@ -3352,7 +3352,7 @@ function requireWhichTypedArray() {
3352
3352
  }
3353
3353
  }
3354
3354
  }) : c(n, function(m) {
3355
- var q = new a[m](), E = q.slice || q.set;
3355
+ var B = new a[m](), E = B.slice || B.set;
3356
3356
  if (E) {
3357
3357
  var S = (
3358
3358
  /** @type {import('./types').BoundSlice | import('./types').BoundSet} */
@@ -3365,7 +3365,7 @@ function requireWhichTypedArray() {
3365
3365
  ] = S;
3366
3366
  }
3367
3367
  });
3368
- var v = function(q) {
3368
+ var v = function(B) {
3369
3369
  var E = !1;
3370
3370
  return c(
3371
3371
  /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
@@ -3374,13 +3374,13 @@ function requireWhichTypedArray() {
3374
3374
  function(S, O) {
3375
3375
  if (!E)
3376
3376
  try {
3377
- "$" + S(q) === O && (E = /** @type {import('.').TypedArrayName} */
3377
+ "$" + S(B) === O && (E = /** @type {import('.').TypedArrayName} */
3378
3378
  e(O, 1));
3379
3379
  } catch {
3380
3380
  }
3381
3381
  }
3382
3382
  ), E;
3383
- }, b = function(q) {
3383
+ }, b = function(B) {
3384
3384
  var E = !1;
3385
3385
  return c(
3386
3386
  /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
@@ -3389,21 +3389,21 @@ function requireWhichTypedArray() {
3389
3389
  function(S, O) {
3390
3390
  if (!E)
3391
3391
  try {
3392
- S(q), E = /** @type {import('.').TypedArrayName} */
3392
+ S(B), E = /** @type {import('.').TypedArrayName} */
3393
3393
  e(O, 1);
3394
3394
  } catch {
3395
3395
  }
3396
3396
  }
3397
3397
  ), E;
3398
3398
  };
3399
- return whichTypedArray = function(q) {
3400
- if (!q || typeof q != "object")
3399
+ return whichTypedArray = function(B) {
3400
+ if (!B || typeof B != "object")
3401
3401
  return !1;
3402
3402
  if (!f) {
3403
- var E = e(h(q), 8, -1);
3404
- return s(n, E) > -1 ? E : E !== "Object" ? !1 : b(q);
3403
+ var E = e(h(B), 8, -1);
3404
+ return s(n, E) > -1 ? E : E !== "Object" ? !1 : b(B);
3405
3405
  }
3406
- return d ? v(q) : null;
3406
+ return d ? v(B) : null;
3407
3407
  }, whichTypedArray;
3408
3408
  }
3409
3409
  var isTypedArray, hasRequiredIsTypedArray;
@@ -3441,10 +3441,10 @@ function requireTypes$1() {
3441
3441
  return typeof Promise < "u" && be instanceof Promise || be !== null && typeof be == "object" && typeof be.then == "function" && typeof be.catch == "function";
3442
3442
  }
3443
3443
  c.isPromise = m;
3444
- function q(be) {
3444
+ function B(be) {
3445
3445
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(be) : d(be) || L(be);
3446
3446
  }
3447
- c.isArrayBufferView = q;
3447
+ c.isArrayBufferView = B;
3448
3448
  function E(be) {
3449
3449
  return o(be) === "Uint8Array";
3450
3450
  }
@@ -3509,10 +3509,10 @@ function requireTypes$1() {
3509
3509
  return a(be) === "[object WeakMap]";
3510
3510
  }
3511
3511
  R.working = typeof WeakMap < "u" && R(/* @__PURE__ */ new WeakMap());
3512
- function B(be) {
3512
+ function q(be) {
3513
3513
  return typeof WeakMap > "u" ? !1 : R.working ? R(be) : be instanceof WeakMap;
3514
3514
  }
3515
- c.isWeakMap = B;
3515
+ c.isWeakMap = q;
3516
3516
  function P(be) {
3517
3517
  return a(be) === "[object WeakSet]";
3518
3518
  }
@@ -3749,7 +3749,7 @@ function requireUtil$1() {
3749
3749
  return l(L);
3750
3750
  }
3751
3751
  var ae = "", z = !1, G = ["{", "}"];
3752
- if (q(L) && (z = !0, G = ["[", "]"]), y(L)) {
3752
+ if (B(L) && (z = !0, G = ["[", "]"]), y(L)) {
3753
3753
  var fe = L.name ? ": " + L.name : "";
3754
3754
  ae = " [Function" + fe + "]";
3755
3755
  }
@@ -3830,10 +3830,10 @@ function requireUtil$1() {
3830
3830
  `) + " " + K[1] : K[0] + L + " " + x.join(", ") + " " + K[1];
3831
3831
  }
3832
3832
  c.types = requireTypes$1();
3833
- function q(x) {
3833
+ function B(x) {
3834
3834
  return Array.isArray(x);
3835
3835
  }
3836
- c.isArray = q;
3836
+ c.isArray = B;
3837
3837
  function E(x) {
3838
3838
  return typeof x == "boolean";
3839
3839
  }
@@ -3907,7 +3907,7 @@ function requireUtil$1() {
3907
3907
  "Nov",
3908
3908
  "Dec"
3909
3909
  ];
3910
- function B() {
3910
+ function q() {
3911
3911
  var x = /* @__PURE__ */ new Date(), L = [
3912
3912
  _(x.getHours()),
3913
3913
  _(x.getMinutes()),
@@ -3916,7 +3916,7 @@ function requireUtil$1() {
3916
3916
  return [x.getDate(), R[x.getMonth()], L].join(" ");
3917
3917
  }
3918
3918
  c.log = function() {
3919
- console.log("%s - %s", B(), c.format.apply(c, arguments));
3919
+ console.log("%s - %s", q(), c.format.apply(c, arguments));
3920
3920
  }, c.inherits = requireInherits_browser(), c._extend = function(x, L) {
3921
3921
  if (!L || !ne(L)) return x;
3922
3922
  for (var K = Object.keys(L), Q = K.length; Q--; )
@@ -4007,40 +4007,40 @@ function requireBuffer_list() {
4007
4007
  if (hasRequiredBuffer_list) return buffer_list;
4008
4008
  hasRequiredBuffer_list = 1;
4009
4009
  function c(b, m) {
4010
- var q = Object.keys(b);
4010
+ var B = Object.keys(b);
4011
4011
  if (Object.getOwnPropertySymbols) {
4012
4012
  var E = Object.getOwnPropertySymbols(b);
4013
4013
  m && (E = E.filter(function(S) {
4014
4014
  return Object.getOwnPropertyDescriptor(b, S).enumerable;
4015
- })), q.push.apply(q, E);
4015
+ })), B.push.apply(B, E);
4016
4016
  }
4017
- return q;
4017
+ return B;
4018
4018
  }
4019
4019
  function t(b) {
4020
4020
  for (var m = 1; m < arguments.length; m++) {
4021
- var q = arguments[m] != null ? arguments[m] : {};
4022
- m % 2 ? c(Object(q), !0).forEach(function(E) {
4023
- u(b, E, q[E]);
4024
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(b, Object.getOwnPropertyDescriptors(q)) : c(Object(q)).forEach(function(E) {
4025
- Object.defineProperty(b, E, Object.getOwnPropertyDescriptor(q, E));
4021
+ var B = arguments[m] != null ? arguments[m] : {};
4022
+ m % 2 ? c(Object(B), !0).forEach(function(E) {
4023
+ u(b, E, B[E]);
4024
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(b, Object.getOwnPropertyDescriptors(B)) : c(Object(B)).forEach(function(E) {
4025
+ Object.defineProperty(b, E, Object.getOwnPropertyDescriptor(B, E));
4026
4026
  });
4027
4027
  }
4028
4028
  return b;
4029
4029
  }
4030
- function u(b, m, q) {
4031
- return m = h(m), m in b ? Object.defineProperty(b, m, { value: q, enumerable: !0, configurable: !0, writable: !0 }) : b[m] = q, b;
4030
+ function u(b, m, B) {
4031
+ return m = h(m), m in b ? Object.defineProperty(b, m, { value: B, enumerable: !0, configurable: !0, writable: !0 }) : b[m] = B, b;
4032
4032
  }
4033
4033
  function o(b, m) {
4034
4034
  if (!(b instanceof m))
4035
4035
  throw new TypeError("Cannot call a class as a function");
4036
4036
  }
4037
4037
  function d(b, m) {
4038
- for (var q = 0; q < m.length; q++) {
4039
- var E = m[q];
4038
+ for (var B = 0; B < m.length; B++) {
4039
+ var E = m[B];
4040
4040
  E.enumerable = E.enumerable || !1, E.configurable = !0, "value" in E && (E.writable = !0), Object.defineProperty(b, h(E.key), E);
4041
4041
  }
4042
4042
  }
4043
- function r(b, m, q) {
4043
+ function r(b, m, B) {
4044
4044
  return m && d(b.prototype, m), Object.defineProperty(b, "prototype", { writable: !1 }), b;
4045
4045
  }
4046
4046
  function h(b) {
@@ -4049,17 +4049,17 @@ function requireBuffer_list() {
4049
4049
  }
4050
4050
  function f(b, m) {
4051
4051
  if (typeof b != "object" || b === null) return b;
4052
- var q = b[Symbol.toPrimitive];
4053
- if (q !== void 0) {
4054
- var E = q.call(b, m);
4052
+ var B = b[Symbol.toPrimitive];
4053
+ if (B !== void 0) {
4054
+ var E = B.call(b, m);
4055
4055
  if (typeof E != "object") return E;
4056
4056
  throw new TypeError("@@toPrimitive must return a primitive value.");
4057
4057
  }
4058
4058
  return String(b);
4059
4059
  }
4060
4060
  var a = requireDist(), n = a.Buffer, e = requireUtil$1(), s = e.inspect, l = s && s.custom || "inspect";
4061
- function v(b, m, q) {
4062
- n.prototype.copy.call(b, m, q);
4061
+ function v(b, m, B) {
4062
+ n.prototype.copy.call(b, m, B);
4063
4063
  }
4064
4064
  return buffer_list = /* @__PURE__ */ (function() {
4065
4065
  function b() {
@@ -4067,18 +4067,18 @@ function requireBuffer_list() {
4067
4067
  }
4068
4068
  return r(b, [{
4069
4069
  key: "push",
4070
- value: function(q) {
4070
+ value: function(B) {
4071
4071
  var E = {
4072
- data: q,
4072
+ data: B,
4073
4073
  next: null
4074
4074
  };
4075
4075
  this.length > 0 ? this.tail.next = E : this.head = E, this.tail = E, ++this.length;
4076
4076
  }
4077
4077
  }, {
4078
4078
  key: "unshift",
4079
- value: function(q) {
4079
+ value: function(B) {
4080
4080
  var E = {
4081
- data: q,
4081
+ data: B,
4082
4082
  next: this.head
4083
4083
  };
4084
4084
  this.length === 0 && (this.tail = E), this.head = E, ++this.length;
@@ -4087,8 +4087,8 @@ function requireBuffer_list() {
4087
4087
  key: "shift",
4088
4088
  value: function() {
4089
4089
  if (this.length !== 0) {
4090
- var q = this.head.data;
4091
- return this.length === 1 ? this.head = this.tail = null : this.head = this.head.next, --this.length, q;
4090
+ var B = this.head.data;
4091
+ return this.length === 1 ? this.head = this.tail = null : this.head = this.head.next, --this.length, B;
4092
4092
  }
4093
4093
  }
4094
4094
  }, {
@@ -4098,25 +4098,25 @@ function requireBuffer_list() {
4098
4098
  }
4099
4099
  }, {
4100
4100
  key: "join",
4101
- value: function(q) {
4101
+ value: function(B) {
4102
4102
  if (this.length === 0) return "";
4103
- for (var E = this.head, S = "" + E.data; E = E.next; ) S += q + E.data;
4103
+ for (var E = this.head, S = "" + E.data; E = E.next; ) S += B + E.data;
4104
4104
  return S;
4105
4105
  }
4106
4106
  }, {
4107
4107
  key: "concat",
4108
- value: function(q) {
4108
+ value: function(B) {
4109
4109
  if (this.length === 0) return n.alloc(0);
4110
- for (var E = n.allocUnsafe(q >>> 0), S = this.head, O = 0; S; )
4110
+ for (var E = n.allocUnsafe(B >>> 0), S = this.head, O = 0; S; )
4111
4111
  v(S.data, E, O), O += S.data.length, S = S.next;
4112
4112
  return E;
4113
4113
  }
4114
4114
  // Consumes a specified amount of bytes or characters from the buffered data.
4115
4115
  }, {
4116
4116
  key: "consume",
4117
- value: function(q, E) {
4117
+ value: function(B, E) {
4118
4118
  var S;
4119
- return q < this.head.data.length ? (S = this.head.data.slice(0, q), this.head.data = this.head.data.slice(q)) : q === this.head.data.length ? S = this.shift() : S = E ? this._getString(q) : this._getBuffer(q), S;
4119
+ return B < this.head.data.length ? (S = this.head.data.slice(0, B), this.head.data = this.head.data.slice(B)) : B === this.head.data.length ? S = this.shift() : S = E ? this._getString(B) : this._getBuffer(B), S;
4120
4120
  }
4121
4121
  }, {
4122
4122
  key: "first",
@@ -4126,11 +4126,11 @@ function requireBuffer_list() {
4126
4126
  // Consumes a specified amount of characters from the buffered data.
4127
4127
  }, {
4128
4128
  key: "_getString",
4129
- value: function(q) {
4129
+ value: function(B) {
4130
4130
  var E = this.head, S = 1, O = E.data;
4131
- for (q -= O.length; E = E.next; ) {
4132
- var D = E.data, $ = q > D.length ? D.length : q;
4133
- if ($ === D.length ? O += D : O += D.slice(0, q), q -= $, q === 0) {
4131
+ for (B -= O.length; E = E.next; ) {
4132
+ var D = E.data, $ = B > D.length ? D.length : B;
4133
+ if ($ === D.length ? O += D : O += D.slice(0, B), B -= $, B === 0) {
4134
4134
  $ === D.length ? (++S, E.next ? this.head = E.next : this.head = this.tail = null) : (this.head = E, E.data = D.slice($));
4135
4135
  break;
4136
4136
  }
@@ -4141,11 +4141,11 @@ function requireBuffer_list() {
4141
4141
  // Consumes a specified amount of bytes from the buffered data.
4142
4142
  }, {
4143
4143
  key: "_getBuffer",
4144
- value: function(q) {
4145
- var E = n.allocUnsafe(q), S = this.head, O = 1;
4146
- for (S.data.copy(E), q -= S.data.length; S = S.next; ) {
4147
- var D = S.data, $ = q > D.length ? D.length : q;
4148
- if (D.copy(E, E.length - q, 0, $), q -= $, q === 0) {
4144
+ value: function(B) {
4145
+ var E = n.allocUnsafe(B), S = this.head, O = 1;
4146
+ for (S.data.copy(E), B -= S.data.length; S = S.next; ) {
4147
+ var D = S.data, $ = B > D.length ? D.length : B;
4148
+ if (D.copy(E, E.length - B, 0, $), B -= $, B === 0) {
4149
4149
  $ === D.length ? (++O, S.next ? this.head = S.next : this.head = this.tail = null) : (this.head = S, S.data = D.slice($));
4150
4150
  break;
4151
4151
  }
@@ -4156,7 +4156,7 @@ function requireBuffer_list() {
4156
4156
  // Make sure the linked list only shows the minimal necessary information.
4157
4157
  }, {
4158
4158
  key: l,
4159
- value: function(q, E) {
4159
+ value: function(B, E) {
4160
4160
  return s(this, t(t({}, E), {}, {
4161
4161
  // Only inspect one level.
4162
4162
  depth: 0,
@@ -4214,8 +4214,8 @@ function requireErrorsBrowser() {
4214
4214
  }
4215
4215
  var s = /* @__PURE__ */ (function(l) {
4216
4216
  c(v, l);
4217
- function v(b, m, q) {
4218
- return l.call(this, e(b, m, q)) || this;
4217
+ function v(b, m, B) {
4218
+ return l.call(this, e(b, m, B)) || this;
4219
4219
  }
4220
4220
  return v;
4221
4221
  })(n);
@@ -4334,7 +4334,7 @@ function require_stream_writable$1() {
4334
4334
  function f(H) {
4335
4335
  return d.isBuffer(H) || H instanceof r;
4336
4336
  }
4337
- var a = requireDestroy$1(), n = requireState(), e = n.getHighWaterMark, s = requireErrorsBrowser().codes, l = s.ERR_INVALID_ARG_TYPE, v = s.ERR_METHOD_NOT_IMPLEMENTED, b = s.ERR_MULTIPLE_CALLBACK, m = s.ERR_STREAM_CANNOT_PIPE, q = s.ERR_STREAM_DESTROYED, E = s.ERR_STREAM_NULL_VALUES, S = s.ERR_STREAM_WRITE_AFTER_END, O = s.ERR_UNKNOWN_ENCODING, D = a.errorOrDestroy;
4337
+ var a = requireDestroy$1(), n = requireState(), e = n.getHighWaterMark, s = requireErrorsBrowser().codes, l = s.ERR_INVALID_ARG_TYPE, v = s.ERR_METHOD_NOT_IMPLEMENTED, b = s.ERR_MULTIPLE_CALLBACK, m = s.ERR_STREAM_CANNOT_PIPE, B = s.ERR_STREAM_DESTROYED, E = s.ERR_STREAM_NULL_VALUES, S = s.ERR_STREAM_WRITE_AFTER_END, O = s.ERR_UNKNOWN_ENCODING, D = a.errorOrDestroy;
4338
4338
  requireInherits_browser()(ie, o);
4339
4339
  function $() {
4340
4340
  }
@@ -4438,7 +4438,7 @@ function require_stream_writable$1() {
4438
4438
  return me;
4439
4439
  }
4440
4440
  function g(H, N, F, ee, ae, z, G) {
4441
- N.writelen = ee, N.writecb = G, N.writing = !0, N.sync = !0, N.destroyed ? N.onwrite(new q("write")) : F ? H._writev(ae, N.onwrite) : H._write(ae, z, N.onwrite), N.sync = !1;
4441
+ N.writelen = ee, N.writecb = G, N.writing = !0, N.sync = !0, N.destroyed ? N.onwrite(new B("write")) : F ? H._writev(ae, N.onwrite) : H._write(ae, z, N.onwrite), N.sync = !1;
4442
4442
  }
4443
4443
  function p(H, N, F, ee, ae) {
4444
4444
  --N.pendingcb, F ? (process$1.nextTick(ae, ee), process$1.nextTick(L, H, N), H._writableState.errorEmitted = !0, D(H, ee)) : (ae(ee), H._writableState.errorEmitted = !0, D(H, ee), L(H, N));
@@ -4452,10 +4452,10 @@ function require_stream_writable$1() {
4452
4452
  if (_(F), N) p(H, F, ee, N, ae);
4453
4453
  else {
4454
4454
  var z = w(F) || H.destroyed;
4455
- !z && !F.corked && !F.bufferProcessing && F.bufferedRequest && A(H, F), ee ? process$1.nextTick(B, H, F, z, ae) : B(H, F, z, ae);
4455
+ !z && !F.corked && !F.bufferProcessing && F.bufferedRequest && A(H, F), ee ? process$1.nextTick(q, H, F, z, ae) : q(H, F, z, ae);
4456
4456
  }
4457
4457
  }
4458
- function B(H, N, F, ee) {
4458
+ function q(H, N, F, ee) {
4459
4459
  F || P(H, N), N.pendingcb--, ee(), L(H, N);
4460
4460
  }
4461
4461
  function P(H, N) {
@@ -4669,7 +4669,7 @@ function requireString_decoder() {
4669
4669
  this.text = v, this.end = b, S = 3;
4670
4670
  break;
4671
4671
  default:
4672
- this.write = m, this.end = q;
4672
+ this.write = m, this.end = B;
4673
4673
  return;
4674
4674
  }
4675
4675
  this.lastNeed = 0, this.lastTotal = 0, this.lastChar = c.allocUnsafe(S);
@@ -4756,7 +4756,7 @@ function requireString_decoder() {
4756
4756
  function m(E) {
4757
4757
  return E.toString(this.encoding);
4758
4758
  }
4759
- function q(E) {
4759
+ function B(E) {
4760
4760
  return E && E.length ? this.write(E) : "";
4761
4761
  }
4762
4762
  return string_decoder;
@@ -4793,7 +4793,7 @@ function requireEndOfStream() {
4793
4793
  a = !1, v = !0, n || f.call(r);
4794
4794
  }, m = function(O) {
4795
4795
  f.call(r, O);
4796
- }, q = function() {
4796
+ }, B = function() {
4797
4797
  var O;
4798
4798
  if (a && !v)
4799
4799
  return (!r._readableState || !r._readableState.ended) && (O = new c()), f.call(r, O);
@@ -4802,8 +4802,8 @@ function requireEndOfStream() {
4802
4802
  }, E = function() {
4803
4803
  r.req.on("finish", l);
4804
4804
  };
4805
- return o(r) ? (r.on("complete", l), r.on("abort", q), r.req ? E() : r.on("request", E)) : n && !r._writableState && (r.on("end", e), r.on("close", e)), r.on("end", b), r.on("finish", l), h.error !== !1 && r.on("error", m), r.on("close", q), function() {
4806
- r.removeListener("complete", l), r.removeListener("abort", q), r.removeListener("request", E), r.req && r.req.removeListener("finish", l), r.removeListener("end", e), r.removeListener("close", e), r.removeListener("finish", l), r.removeListener("end", b), r.removeListener("error", m), r.removeListener("close", q);
4805
+ return o(r) ? (r.on("complete", l), r.on("abort", B), r.req ? E() : r.on("request", E)) : n && !r._writableState && (r.on("end", e), r.on("close", e)), r.on("end", b), r.on("finish", l), h.error !== !1 && r.on("error", m), r.on("close", B), function() {
4806
+ r.removeListener("complete", l), r.removeListener("abort", B), r.removeListener("request", E), r.req && r.req.removeListener("finish", l), r.removeListener("end", e), r.removeListener("close", e), r.removeListener("finish", l), r.removeListener("end", b), r.removeListener("error", m), r.removeListener("close", B);
4807
4807
  };
4808
4808
  }
4809
4809
  return endOfStream = d, endOfStream;
@@ -4858,7 +4858,7 @@ function requireAsync_iterator() {
4858
4858
  }, j);
4859
4859
  };
4860
4860
  }
4861
- var q = Object.getPrototypeOf(function() {
4861
+ var B = Object.getPrototypeOf(function() {
4862
4862
  }), E = Object.setPrototypeOf((c = {
4863
4863
  get stream() {
4864
4864
  return this[s];
@@ -4899,7 +4899,7 @@ function requireAsync_iterator() {
4899
4899
  $(l(void 0, !0));
4900
4900
  });
4901
4901
  });
4902
- }), c), q), S = function(D) {
4902
+ }), c), B), S = function(D) {
4903
4903
  var $, j = Object.create(E, ($ = {}, t($, s, {
4904
4904
  value: D,
4905
4905
  writable: !0
@@ -4959,7 +4959,7 @@ function require_stream_readable$1() {
4959
4959
  var f = requireUtil$1(), a;
4960
4960
  f && f.debuglog ? a = f.debuglog("stream") : a = function() {
4961
4961
  };
4962
- var n = requireBuffer_list(), e = requireDestroy$1(), s = requireState(), l = s.getHighWaterMark, v = requireErrorsBrowser().codes, b = v.ERR_INVALID_ARG_TYPE, m = v.ERR_STREAM_PUSH_AFTER_EOF, q = v.ERR_METHOD_NOT_IMPLEMENTED, E = v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, S, O, D;
4962
+ var n = requireBuffer_list(), e = requireDestroy$1(), s = requireState(), l = s.getHighWaterMark, v = requireErrorsBrowser().codes, b = v.ERR_INVALID_ARG_TYPE, m = v.ERR_STREAM_PUSH_AFTER_EOF, B = v.ERR_METHOD_NOT_IMPLEMENTED, E = v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, S, O, D;
4963
4963
  requireInherits_browser()(ne, u);
4964
4964
  var $ = e.errorOrDestroy, j = ["error", "close", "destroy", "pause", "resume"];
4965
4965
  function J(z, G, fe) {
@@ -5017,7 +5017,7 @@ function require_stream_readable$1() {
5017
5017
  return !_e.ended && (_e.length < _e.highWaterMark || _e.length === 0);
5018
5018
  }
5019
5019
  function Z(z, G, fe, me) {
5020
- G.flowing && G.length === 0 && !G.sync ? (G.awaitDrain = 0, z.emit("data", fe)) : (G.length += G.objectMode ? 1 : fe.length, me ? G.buffer.unshift(fe) : G.buffer.push(fe), G.needReadable && B(z)), A(z, G);
5020
+ G.flowing && G.length === 0 && !G.sync ? (G.awaitDrain = 0, z.emit("data", fe)) : (G.length += G.objectMode ? 1 : fe.length, me ? G.buffer.unshift(fe) : G.buffer.push(fe), G.needReadable && q(z)), A(z, G);
5021
5021
  }
5022
5022
  function y(z, G) {
5023
5023
  var fe;
@@ -5044,7 +5044,7 @@ function require_stream_readable$1() {
5044
5044
  a("read", z), z = parseInt(z, 10);
5045
5045
  var G = this._readableState, fe = z;
5046
5046
  if (z !== 0 && (G.emittedReadable = !1), z === 0 && G.needReadable && ((G.highWaterMark !== 0 ? G.length >= G.highWaterMark : G.length > 0) || G.ended))
5047
- return a("read: emitReadable", G.length, G.ended), G.length === 0 && G.ended ? F(this) : B(this), null;
5047
+ return a("read: emitReadable", G.length, G.ended), G.length === 0 && G.ended ? F(this) : q(this), null;
5048
5048
  if (z = _(z, G), z === 0 && G.ended)
5049
5049
  return G.length === 0 && F(this), null;
5050
5050
  var me = G.needReadable;
@@ -5058,10 +5058,10 @@ function require_stream_readable$1() {
5058
5058
  var fe = G.decoder.end();
5059
5059
  fe && fe.length && (G.buffer.push(fe), G.length += G.objectMode ? 1 : fe.length);
5060
5060
  }
5061
- G.ended = !0, G.sync ? B(z) : (G.needReadable = !1, G.emittedReadable || (G.emittedReadable = !0, P(z)));
5061
+ G.ended = !0, G.sync ? q(z) : (G.needReadable = !1, G.emittedReadable || (G.emittedReadable = !0, P(z)));
5062
5062
  }
5063
5063
  }
5064
- function B(z) {
5064
+ function q(z) {
5065
5065
  var G = z._readableState;
5066
5066
  a("emitReadable", G.needReadable, G.emittedReadable), G.needReadable = !1, G.emittedReadable || (a("emitReadable", G.flowing), G.emittedReadable = !0, process$1.nextTick(P, z));
5067
5067
  }
@@ -5081,7 +5081,7 @@ function require_stream_readable$1() {
5081
5081
  G.readingMore = !1;
5082
5082
  }
5083
5083
  ne.prototype._read = function(z) {
5084
- $(this, new q("_read()"));
5084
+ $(this, new B("_read()"));
5085
5085
  }, ne.prototype.pipe = function(z, G) {
5086
5086
  var fe = this, me = this._readableState;
5087
5087
  switch (me.pipesCount) {
@@ -5158,7 +5158,7 @@ function require_stream_readable$1() {
5158
5158
  return qe === -1 ? this : (G.pipes.splice(qe, 1), G.pipesCount -= 1, G.pipesCount === 1 && (G.pipes = G.pipes[0]), z.emit("unpipe", this, fe), this);
5159
5159
  }, ne.prototype.on = function(z, G) {
5160
5160
  var fe = u.prototype.on.call(this, z, G), me = this._readableState;
5161
- return z === "data" ? (me.readableListening = this.listenerCount("readable") > 0, me.flowing !== !1 && this.resume()) : z === "readable" && !me.endEmitted && !me.readableListening && (me.readableListening = me.needReadable = !0, me.flowing = !1, me.emittedReadable = !1, a("on readable", me.length, me.reading), me.length ? B(this) : me.reading || process$1.nextTick(L, this)), fe;
5161
+ return z === "data" ? (me.readableListening = this.listenerCount("readable") > 0, me.flowing !== !1 && this.resume()) : z === "readable" && !me.endEmitted && !me.readableListening && (me.readableListening = me.needReadable = !0, me.flowing = !1, me.emittedReadable = !1, a("on readable", me.length, me.reading), me.length ? q(this) : me.reading || process$1.nextTick(L, this)), fe;
5162
5162
  }, ne.prototype.addListener = ne.prototype.on, ne.prototype.removeListener = function(z, G) {
5163
5163
  var fe = u.prototype.removeListener.call(this, z, G);
5164
5164
  return z === "readable" && process$1.nextTick(x, this), fe;
@@ -5371,19 +5371,19 @@ function requirePipeline() {
5371
5371
  }
5372
5372
  function f(l, v, b, m) {
5373
5373
  m = t(m);
5374
- var q = !1;
5374
+ var B = !1;
5375
5375
  l.on("close", function() {
5376
- q = !0;
5376
+ B = !0;
5377
5377
  }), c === void 0 && (c = requireEndOfStream()), c(l, {
5378
5378
  readable: v,
5379
5379
  writable: b
5380
5380
  }, function(S) {
5381
5381
  if (S) return m(S);
5382
- q = !0, m();
5382
+ B = !0, m();
5383
5383
  });
5384
5384
  var E = !1;
5385
5385
  return function(S) {
5386
- if (!q && !E) {
5386
+ if (!B && !E) {
5387
5387
  if (E = !0, h(l)) return l.abort();
5388
5388
  if (typeof l.destroy == "function") return l.destroy();
5389
5389
  m(S || new d("pipe"));
@@ -5405,10 +5405,10 @@ function requirePipeline() {
5405
5405
  var m = e(v);
5406
5406
  if (Array.isArray(v[0]) && (v = v[0]), v.length < 2)
5407
5407
  throw new o("streams");
5408
- var q, E = v.map(function(S, O) {
5408
+ var B, E = v.map(function(S, O) {
5409
5409
  var D = O < v.length - 1, $ = O > 0;
5410
5410
  return f(S, D, $, function(j) {
5411
- q || (q = j), j && E.forEach(a), !D && (E.forEach(a), m(q));
5411
+ B || (B = j), j && E.forEach(a), !D && (E.forEach(a), m(B));
5412
5412
  });
5413
5413
  });
5414
5414
  return v.reduce(n);
@@ -5534,17 +5534,17 @@ function requireMd5_js() {
5534
5534
  function r(e, s) {
5535
5535
  return e << s | e >>> 32 - s;
5536
5536
  }
5537
- function h(e, s, l, v, b, m, q) {
5538
- return r(e + (s & l | ~s & v) + b + m | 0, q) + s | 0;
5537
+ function h(e, s, l, v, b, m, B) {
5538
+ return r(e + (s & l | ~s & v) + b + m | 0, B) + s | 0;
5539
5539
  }
5540
- function f(e, s, l, v, b, m, q) {
5541
- return r(e + (s & v | l & ~v) + b + m | 0, q) + s | 0;
5540
+ function f(e, s, l, v, b, m, B) {
5541
+ return r(e + (s & v | l & ~v) + b + m | 0, B) + s | 0;
5542
5542
  }
5543
- function a(e, s, l, v, b, m, q) {
5544
- return r(e + (s ^ l ^ v) + b + m | 0, q) + s | 0;
5543
+ function a(e, s, l, v, b, m, B) {
5544
+ return r(e + (s ^ l ^ v) + b + m | 0, B) + s | 0;
5545
5545
  }
5546
- function n(e, s, l, v, b, m, q) {
5547
- return r(e + (l ^ (s | ~v)) + b + m | 0, q) + s | 0;
5546
+ function n(e, s, l, v, b, m, B) {
5547
+ return r(e + (l ^ (s | ~v)) + b + m | 0, B) + s | 0;
5548
5548
  }
5549
5549
  return md5_js = d, md5_js;
5550
5550
  }
@@ -5839,10 +5839,10 @@ function require_stream_writable() {
5839
5839
  hasRequired_stream_writable = 1;
5840
5840
  var c = requireProcessNextickArgs();
5841
5841
  _stream_writable = m;
5842
- function t(B) {
5842
+ function t(q) {
5843
5843
  var P = this;
5844
5844
  this.next = null, this.entry = null, this.finish = function() {
5845
- R(P, B);
5845
+ R(P, q);
5846
5846
  };
5847
5847
  }
5848
5848
  var u = !process$1.browser && ["v0.10", "v0.9."].indexOf(process$1.version.slice(0, 5)) > -1 ? setImmediate : c.nextTick, o;
@@ -5853,24 +5853,24 @@ function require_stream_writable() {
5853
5853
  deprecate: requireBrowser$a()
5854
5854
  }, h = requireStreamBrowser(), f = requireSafeBuffer().Buffer, a = (typeof commonjsGlobal < "u" ? commonjsGlobal : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
5855
5855
  };
5856
- function n(B) {
5857
- return f.from(B);
5856
+ function n(q) {
5857
+ return f.from(q);
5858
5858
  }
5859
- function e(B) {
5860
- return f.isBuffer(B) || B instanceof a;
5859
+ function e(q) {
5860
+ return f.isBuffer(q) || q instanceof a;
5861
5861
  }
5862
5862
  var s = requireDestroy();
5863
5863
  d.inherits(m, h);
5864
5864
  function l() {
5865
5865
  }
5866
- function v(B, P) {
5867
- o = o || require_stream_duplex(), B = B || {};
5866
+ function v(q, P) {
5867
+ o = o || require_stream_duplex(), q = q || {};
5868
5868
  var A = P instanceof o;
5869
- this.objectMode = !!B.objectMode, A && (this.objectMode = this.objectMode || !!B.writableObjectMode);
5870
- var w = B.highWaterMark, M = B.writableHighWaterMark, x = this.objectMode ? 16 : 16 * 1024;
5869
+ this.objectMode = !!q.objectMode, A && (this.objectMode = this.objectMode || !!q.writableObjectMode);
5870
+ var w = q.highWaterMark, M = q.writableHighWaterMark, x = this.objectMode ? 16 : 16 * 1024;
5871
5871
  w || w === 0 ? this.highWaterMark = w : A && (M || M === 0) ? this.highWaterMark = M : this.highWaterMark = x, this.highWaterMark = Math.floor(this.highWaterMark), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1;
5872
- var L = B.decodeStrings === !1;
5873
- this.decodeStrings = !L, this.defaultEncoding = B.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(K) {
5872
+ var L = q.decodeStrings === !1;
5873
+ this.decodeStrings = !L, this.defaultEncoding = q.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(K) {
5874
5874
  J(P, K);
5875
5875
  }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.bufferedRequestCount = 0, this.corkedRequestsFree = new t(this);
5876
5876
  }
@@ -5890,43 +5890,43 @@ function require_stream_writable() {
5890
5890
  })();
5891
5891
  var b;
5892
5892
  typeof Symbol == "function" && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] == "function" ? (b = Function.prototype[Symbol.hasInstance], Object.defineProperty(m, Symbol.hasInstance, {
5893
- value: function(B) {
5894
- return b.call(this, B) ? !0 : this !== m ? !1 : B && B._writableState instanceof v;
5893
+ value: function(q) {
5894
+ return b.call(this, q) ? !0 : this !== m ? !1 : q && q._writableState instanceof v;
5895
5895
  }
5896
- })) : b = function(B) {
5897
- return B instanceof this;
5896
+ })) : b = function(q) {
5897
+ return q instanceof this;
5898
5898
  };
5899
- function m(B) {
5899
+ function m(q) {
5900
5900
  if (o = o || require_stream_duplex(), !b.call(m, this) && !(this instanceof o))
5901
- return new m(B);
5902
- this._writableState = new v(B, this), this.writable = !0, B && (typeof B.write == "function" && (this._write = B.write), typeof B.writev == "function" && (this._writev = B.writev), typeof B.destroy == "function" && (this._destroy = B.destroy), typeof B.final == "function" && (this._final = B.final)), h.call(this);
5901
+ return new m(q);
5902
+ this._writableState = new v(q, this), this.writable = !0, q && (typeof q.write == "function" && (this._write = q.write), typeof q.writev == "function" && (this._writev = q.writev), typeof q.destroy == "function" && (this._destroy = q.destroy), typeof q.final == "function" && (this._final = q.final)), h.call(this);
5903
5903
  }
5904
5904
  m.prototype.pipe = function() {
5905
5905
  this.emit("error", new Error("Cannot pipe, not readable"));
5906
5906
  };
5907
- function q(B, P) {
5907
+ function B(q, P) {
5908
5908
  var A = new Error("write after end");
5909
- B.emit("error", A), c.nextTick(P, A);
5909
+ q.emit("error", A), c.nextTick(P, A);
5910
5910
  }
5911
- function E(B, P, A, w) {
5911
+ function E(q, P, A, w) {
5912
5912
  var M = !0, x = !1;
5913
- return A === null ? x = new TypeError("May not write null values to stream") : typeof A != "string" && A !== void 0 && !P.objectMode && (x = new TypeError("Invalid non-string/buffer chunk")), x && (B.emit("error", x), c.nextTick(w, x), M = !1), M;
5913
+ return A === null ? x = new TypeError("May not write null values to stream") : typeof A != "string" && A !== void 0 && !P.objectMode && (x = new TypeError("Invalid non-string/buffer chunk")), x && (q.emit("error", x), c.nextTick(w, x), M = !1), M;
5914
5914
  }
5915
- m.prototype.write = function(B, P, A) {
5916
- var w = this._writableState, M = !1, x = !w.objectMode && e(B);
5917
- return x && !f.isBuffer(B) && (B = n(B)), typeof P == "function" && (A = P, P = null), x ? P = "buffer" : P || (P = w.defaultEncoding), typeof A != "function" && (A = l), w.ended ? q(this, A) : (x || E(this, w, B, A)) && (w.pendingcb++, M = O(this, w, x, B, P, A)), M;
5915
+ m.prototype.write = function(q, P, A) {
5916
+ var w = this._writableState, M = !1, x = !w.objectMode && e(q);
5917
+ return x && !f.isBuffer(q) && (q = n(q)), typeof P == "function" && (A = P, P = null), x ? P = "buffer" : P || (P = w.defaultEncoding), typeof A != "function" && (A = l), w.ended ? B(this, A) : (x || E(this, w, q, A)) && (w.pendingcb++, M = O(this, w, x, q, P, A)), M;
5918
5918
  }, m.prototype.cork = function() {
5919
- var B = this._writableState;
5920
- B.corked++;
5919
+ var q = this._writableState;
5920
+ q.corked++;
5921
5921
  }, m.prototype.uncork = function() {
5922
- var B = this._writableState;
5923
- B.corked && (B.corked--, !B.writing && !B.corked && !B.bufferProcessing && B.bufferedRequest && de(this, B));
5922
+ var q = this._writableState;
5923
+ q.corked && (q.corked--, !q.writing && !q.corked && !q.bufferProcessing && q.bufferedRequest && de(this, q));
5924
5924
  }, m.prototype.setDefaultEncoding = function(P) {
5925
5925
  if (typeof P == "string" && (P = P.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((P + "").toLowerCase()) > -1)) throw new TypeError("Unknown encoding: " + P);
5926
5926
  return this._writableState.defaultEncoding = P, this;
5927
5927
  };
5928
- function S(B, P, A) {
5929
- return !B.objectMode && B.decodeStrings !== !1 && typeof P == "string" && (P = f.from(P, A)), P;
5928
+ function S(q, P, A) {
5929
+ return !q.objectMode && q.decodeStrings !== !1 && typeof P == "string" && (P = f.from(P, A)), P;
5930
5930
  }
5931
5931
  Object.defineProperty(m.prototype, "writableHighWaterMark", {
5932
5932
  // making it explicit this property is not enumerable
@@ -5937,7 +5937,7 @@ function require_stream_writable() {
5937
5937
  return this._writableState.highWaterMark;
5938
5938
  }
5939
5939
  });
5940
- function O(B, P, A, w, M, x) {
5940
+ function O(q, P, A, w, M, x) {
5941
5941
  if (!A) {
5942
5942
  var L = S(P, w, M);
5943
5943
  w !== L && (A = !0, M = "buffer", w = L);
@@ -5955,92 +5955,92 @@ function require_stream_writable() {
5955
5955
  next: null
5956
5956
  }, H ? H.next = P.lastBufferedRequest : P.bufferedRequest = P.lastBufferedRequest, P.bufferedRequestCount += 1;
5957
5957
  } else
5958
- D(B, P, !1, K, w, M, x);
5958
+ D(q, P, !1, K, w, M, x);
5959
5959
  return Q;
5960
5960
  }
5961
- function D(B, P, A, w, M, x, L) {
5962
- P.writelen = w, P.writecb = L, P.writing = !0, P.sync = !0, A ? B._writev(M, P.onwrite) : B._write(M, x, P.onwrite), P.sync = !1;
5961
+ function D(q, P, A, w, M, x, L) {
5962
+ P.writelen = w, P.writecb = L, P.writing = !0, P.sync = !0, A ? q._writev(M, P.onwrite) : q._write(M, x, P.onwrite), P.sync = !1;
5963
5963
  }
5964
- function $(B, P, A, w, M) {
5965
- --P.pendingcb, A ? (c.nextTick(M, w), c.nextTick(p, B, P), B._writableState.errorEmitted = !0, B.emit("error", w)) : (M(w), B._writableState.errorEmitted = !0, B.emit("error", w), p(B, P));
5964
+ function $(q, P, A, w, M) {
5965
+ --P.pendingcb, A ? (c.nextTick(M, w), c.nextTick(p, q, P), q._writableState.errorEmitted = !0, q.emit("error", w)) : (M(w), q._writableState.errorEmitted = !0, q.emit("error", w), p(q, P));
5966
5966
  }
5967
- function j(B) {
5968
- B.writing = !1, B.writecb = null, B.length -= B.writelen, B.writelen = 0;
5967
+ function j(q) {
5968
+ q.writing = !1, q.writecb = null, q.length -= q.writelen, q.writelen = 0;
5969
5969
  }
5970
- function J(B, P) {
5971
- var A = B._writableState, w = A.sync, M = A.writecb;
5972
- if (j(A), P) $(B, A, w, P, M);
5970
+ function J(q, P) {
5971
+ var A = q._writableState, w = A.sync, M = A.writecb;
5972
+ if (j(A), P) $(q, A, w, P, M);
5973
5973
  else {
5974
5974
  var x = Z(A);
5975
- !x && !A.corked && !A.bufferProcessing && A.bufferedRequest && de(B, A), w ? u(ie, B, A, x, M) : ie(B, A, x, M);
5975
+ !x && !A.corked && !A.bufferProcessing && A.bufferedRequest && de(q, A), w ? u(ie, q, A, x, M) : ie(q, A, x, M);
5976
5976
  }
5977
5977
  }
5978
- function ie(B, P, A, w) {
5979
- A || ne(B, P), P.pendingcb--, w(), p(B, P);
5978
+ function ie(q, P, A, w) {
5979
+ A || ne(q, P), P.pendingcb--, w(), p(q, P);
5980
5980
  }
5981
- function ne(B, P) {
5982
- P.length === 0 && P.needDrain && (P.needDrain = !1, B.emit("drain"));
5981
+ function ne(q, P) {
5982
+ P.length === 0 && P.needDrain && (P.needDrain = !1, q.emit("drain"));
5983
5983
  }
5984
- function de(B, P) {
5984
+ function de(q, P) {
5985
5985
  P.bufferProcessing = !0;
5986
5986
  var A = P.bufferedRequest;
5987
- if (B._writev && A && A.next) {
5987
+ if (q._writev && A && A.next) {
5988
5988
  var w = P.bufferedRequestCount, M = new Array(w), x = P.corkedRequestsFree;
5989
5989
  x.entry = A;
5990
5990
  for (var L = 0, K = !0; A; )
5991
5991
  M[L] = A, A.isBuf || (K = !1), A = A.next, L += 1;
5992
- M.allBuffers = K, D(B, P, !0, P.length, M, "", x.finish), P.pendingcb++, P.lastBufferedRequest = null, x.next ? (P.corkedRequestsFree = x.next, x.next = null) : P.corkedRequestsFree = new t(P), P.bufferedRequestCount = 0;
5992
+ M.allBuffers = K, D(q, P, !0, P.length, M, "", x.finish), P.pendingcb++, P.lastBufferedRequest = null, x.next ? (P.corkedRequestsFree = x.next, x.next = null) : P.corkedRequestsFree = new t(P), P.bufferedRequestCount = 0;
5993
5993
  } else {
5994
5994
  for (; A; ) {
5995
5995
  var Q = A.chunk, H = A.encoding, N = A.callback, F = P.objectMode ? 1 : Q.length;
5996
- if (D(B, P, !1, F, Q, H, N), A = A.next, P.bufferedRequestCount--, P.writing)
5996
+ if (D(q, P, !1, F, Q, H, N), A = A.next, P.bufferedRequestCount--, P.writing)
5997
5997
  break;
5998
5998
  }
5999
5999
  A === null && (P.lastBufferedRequest = null);
6000
6000
  }
6001
6001
  P.bufferedRequest = A, P.bufferProcessing = !1;
6002
6002
  }
6003
- m.prototype._write = function(B, P, A) {
6003
+ m.prototype._write = function(q, P, A) {
6004
6004
  A(new Error("_write() is not implemented"));
6005
- }, m.prototype._writev = null, m.prototype.end = function(B, P, A) {
6005
+ }, m.prototype._writev = null, m.prototype.end = function(q, P, A) {
6006
6006
  var w = this._writableState;
6007
- typeof B == "function" ? (A = B, B = null, P = null) : typeof P == "function" && (A = P, P = null), B != null && this.write(B, P), w.corked && (w.corked = 1, this.uncork()), w.ending || _(this, w, A);
6007
+ typeof q == "function" ? (A = q, q = null, P = null) : typeof P == "function" && (A = P, P = null), q != null && this.write(q, P), w.corked && (w.corked = 1, this.uncork()), w.ending || _(this, w, A);
6008
6008
  };
6009
- function Z(B) {
6010
- return B.ending && B.length === 0 && B.bufferedRequest === null && !B.finished && !B.writing;
6009
+ function Z(q) {
6010
+ return q.ending && q.length === 0 && q.bufferedRequest === null && !q.finished && !q.writing;
6011
6011
  }
6012
- function y(B, P) {
6013
- B._final(function(A) {
6014
- P.pendingcb--, A && B.emit("error", A), P.prefinished = !0, B.emit("prefinish"), p(B, P);
6012
+ function y(q, P) {
6013
+ q._final(function(A) {
6014
+ P.pendingcb--, A && q.emit("error", A), P.prefinished = !0, q.emit("prefinish"), p(q, P);
6015
6015
  });
6016
6016
  }
6017
- function g(B, P) {
6018
- !P.prefinished && !P.finalCalled && (typeof B._final == "function" ? (P.pendingcb++, P.finalCalled = !0, c.nextTick(y, B, P)) : (P.prefinished = !0, B.emit("prefinish")));
6017
+ function g(q, P) {
6018
+ !P.prefinished && !P.finalCalled && (typeof q._final == "function" ? (P.pendingcb++, P.finalCalled = !0, c.nextTick(y, q, P)) : (P.prefinished = !0, q.emit("prefinish")));
6019
6019
  }
6020
- function p(B, P) {
6020
+ function p(q, P) {
6021
6021
  var A = Z(P);
6022
- return A && (g(B, P), P.pendingcb === 0 && (P.finished = !0, B.emit("finish"))), A;
6022
+ return A && (g(q, P), P.pendingcb === 0 && (P.finished = !0, q.emit("finish"))), A;
6023
6023
  }
6024
- function _(B, P, A) {
6025
- P.ending = !0, p(B, P), A && (P.finished ? c.nextTick(A) : B.once("finish", A)), P.ended = !0, B.writable = !1;
6024
+ function _(q, P, A) {
6025
+ P.ending = !0, p(q, P), A && (P.finished ? c.nextTick(A) : q.once("finish", A)), P.ended = !0, q.writable = !1;
6026
6026
  }
6027
- function R(B, P, A) {
6028
- var w = B.entry;
6029
- for (B.entry = null; w; ) {
6027
+ function R(q, P, A) {
6028
+ var w = q.entry;
6029
+ for (q.entry = null; w; ) {
6030
6030
  var M = w.callback;
6031
6031
  P.pendingcb--, M(A), w = w.next;
6032
6032
  }
6033
- P.corkedRequestsFree.next = B;
6033
+ P.corkedRequestsFree.next = q;
6034
6034
  }
6035
6035
  return Object.defineProperty(m.prototype, "destroyed", {
6036
6036
  get: function() {
6037
6037
  return this._writableState === void 0 ? !1 : this._writableState.destroyed;
6038
6038
  },
6039
- set: function(B) {
6040
- this._writableState && (this._writableState.destroyed = B);
6039
+ set: function(q) {
6040
+ this._writableState && (this._writableState.destroyed = q);
6041
6041
  }
6042
- }), m.prototype.destroy = s.destroy, m.prototype._undestroy = s.undestroy, m.prototype._destroy = function(B, P) {
6043
- this.end(), P(B);
6042
+ }), m.prototype.destroy = s.destroy, m.prototype._undestroy = s.undestroy, m.prototype._destroy = function(q, P) {
6043
+ this.end(), P(q);
6044
6044
  }, _stream_writable;
6045
6045
  }
6046
6046
  var _stream_duplex, hasRequired_stream_duplex;
@@ -6118,7 +6118,7 @@ function require_stream_readable() {
6118
6118
  var l = requireBufferList(), v = requireDestroy(), b;
6119
6119
  n.inherits(S, d);
6120
6120
  var m = ["error", "close", "destroy", "pause", "resume"];
6121
- function q(N, F, ee) {
6121
+ function B(N, F, ee) {
6122
6122
  if (typeof N.prependListener == "function") return N.prependListener(F, ee);
6123
6123
  !N._events || !N._events[F] ? N.on(F, ee) : t(N._events[F]) ? N._events[F].unshift(ee) : N._events[F] = [ee, N._events[F]];
6124
6124
  }
@@ -6256,7 +6256,7 @@ function require_stream_readable() {
6256
6256
  function Fe(oe) {
6257
6257
  s("onerror", oe), Te(), N.removeListener("error", Fe), o(N, "error") === 0 && N.emit("error", oe);
6258
6258
  }
6259
- q(N, "error", Fe);
6259
+ B(N, "error", Fe);
6260
6260
  function Be() {
6261
6261
  N.removeListener("finish", Me), Te();
6262
6262
  }
@@ -6305,9 +6305,9 @@ function require_stream_readable() {
6305
6305
  }
6306
6306
  S.prototype.resume = function() {
6307
6307
  var N = this._readableState;
6308
- return N.flowing || (s("resume"), N.flowing = !0, B(this, N)), this;
6308
+ return N.flowing || (s("resume"), N.flowing = !0, q(this, N)), this;
6309
6309
  };
6310
- function B(N, F) {
6310
+ function q(N, F) {
6311
6311
  F.resumeScheduled || (F.resumeScheduled = !0, c.nextTick(P, N, F));
6312
6312
  }
6313
6313
  function P(N, F) {
@@ -6882,10 +6882,10 @@ function requireRipemd160() {
6882
6882
  function m(E, S, O, D, $, j, J, ie) {
6883
6883
  return e(E + (S ^ (O | ~D)) + j + J | 0, ie) + $ | 0;
6884
6884
  }
6885
- function q() {
6885
+ function B() {
6886
6886
  u.call(this, 64), this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878, this._e = 3285377520;
6887
6887
  }
6888
- return t(q, u), q.prototype._update = function() {
6888
+ return t(B, u), B.prototype._update = function() {
6889
6889
  for (var E = o, S = 0; S < 16; ++S)
6890
6890
  E[S] = this._block.readInt32LE(S * 4);
6891
6891
  for (var O = this._a | 0, D = this._b | 0, $ = this._c | 0, j = this._d | 0, J = this._e | 0, ie = this._a | 0, ne = this._b | 0, de = this._c | 0, Z = this._d | 0, y = this._e | 0, g = 0; g < 80; g += 1) {
@@ -6894,11 +6894,11 @@ function requireRipemd160() {
6894
6894
  }
6895
6895
  var R = this._b + $ + Z | 0;
6896
6896
  this._b = this._c + j + y | 0, this._c = this._d + J + ie | 0, this._d = this._e + O + ne | 0, this._e = this._a + D + de | 0, this._a = R;
6897
- }, q.prototype._digest = function() {
6897
+ }, B.prototype._digest = function() {
6898
6898
  this._block[this._blockOffset] = 128, this._blockOffset += 1, this._blockOffset > 56 && (this._block.fill(0, this._blockOffset, 64), this._update(), this._blockOffset = 0), this._block.fill(0, this._blockOffset, 56), this._block.writeUInt32LE(this._length[0], 56), this._block.writeUInt32LE(this._length[1], 60), this._update();
6899
6899
  var E = c.alloc ? c.alloc(20) : new c(20);
6900
6900
  return E.writeInt32LE(this._a, 0), E.writeInt32LE(this._b, 4), E.writeInt32LE(this._c, 8), E.writeInt32LE(this._d, 12), E.writeInt32LE(this._e, 16), E;
6901
- }, ripemd160 = q, ripemd160;
6901
+ }, ripemd160 = B, ripemd160;
6902
6902
  }
6903
6903
  var sha_js = { exports: {} }, hash$1, hasRequiredHash$1;
6904
6904
  function requireHash$1() {
@@ -6959,10 +6959,10 @@ function requireSha$1() {
6959
6959
  return n === 0 ? e & s | ~e & l : n === 2 ? e & s | e & l | s & l : e ^ s ^ l;
6960
6960
  }
6961
6961
  return r.prototype._update = function(n) {
6962
- for (var e = this._w, s = this._a | 0, l = this._b | 0, v = this._c | 0, b = this._d | 0, m = this._e | 0, q = 0; q < 16; ++q)
6963
- e[q] = n.readInt32BE(q * 4);
6964
- for (; q < 80; ++q)
6965
- e[q] = e[q - 3] ^ e[q - 8] ^ e[q - 14] ^ e[q - 16];
6962
+ for (var e = this._w, s = this._a | 0, l = this._b | 0, v = this._c | 0, b = this._d | 0, m = this._e | 0, B = 0; B < 16; ++B)
6963
+ e[B] = n.readInt32BE(B * 4);
6964
+ for (; B < 80; ++B)
6965
+ e[B] = e[B - 3] ^ e[B - 8] ^ e[B - 14] ^ e[B - 16];
6966
6966
  for (var E = 0; E < 80; ++E) {
6967
6967
  var S = ~~(E / 20), O = h(s) + a(S, l, v, b) + m + e[E] + o[S] | 0;
6968
6968
  m = b, b = v, v = f(l), l = s, s = O;
@@ -7002,15 +7002,15 @@ function requireSha1() {
7002
7002
  return e === 0 ? s & l | ~s & v : e === 2 ? s & l | s & v | l & v : s ^ l ^ v;
7003
7003
  }
7004
7004
  return r.prototype._update = function(e) {
7005
- for (var s = this._w, l = this._a | 0, v = this._b | 0, b = this._c | 0, m = this._d | 0, q = this._e | 0, E = 0; E < 16; ++E)
7005
+ for (var s = this._w, l = this._a | 0, v = this._b | 0, b = this._c | 0, m = this._d | 0, B = this._e | 0, E = 0; E < 16; ++E)
7006
7006
  s[E] = e.readInt32BE(E * 4);
7007
7007
  for (; E < 80; ++E)
7008
7008
  s[E] = h(s[E - 3] ^ s[E - 8] ^ s[E - 14] ^ s[E - 16]);
7009
7009
  for (var S = 0; S < 80; ++S) {
7010
- var O = ~~(S / 20), D = f(l) + n(O, v, b, m) + q + s[S] + o[O] | 0;
7011
- q = m, m = b, b = a(v), v = l, l = D;
7010
+ var O = ~~(S / 20), D = f(l) + n(O, v, b, m) + B + s[S] + o[O] | 0;
7011
+ B = m, m = b, b = a(v), v = l, l = D;
7012
7012
  }
7013
- this._a = l + this._a | 0, this._b = v + this._b | 0, this._c = b + this._c | 0, this._d = m + this._d | 0, this._e = q + this._e | 0;
7013
+ this._a = l + this._a | 0, this._b = v + this._b | 0, this._c = b + this._c | 0, this._d = m + this._d | 0, this._e = B + this._e | 0;
7014
7014
  }, r.prototype._hash = function() {
7015
7015
  var e = u.allocUnsafe(20);
7016
7016
  return e.writeInt32BE(this._a | 0, 0), e.writeInt32BE(this._b | 0, 4), e.writeInt32BE(this._c | 0, 8), e.writeInt32BE(this._d | 0, 12), e.writeInt32BE(this._e | 0, 16), e;
@@ -7111,15 +7111,15 @@ function requireSha256() {
7111
7111
  return (l >>> 17 | l << 15) ^ (l >>> 19 | l << 13) ^ l >>> 10;
7112
7112
  }
7113
7113
  return r.prototype._update = function(l) {
7114
- for (var v = this._w, b = this._a | 0, m = this._b | 0, q = this._c | 0, E = this._d | 0, S = this._e | 0, O = this._f | 0, D = this._g | 0, $ = this._h | 0, j = 0; j < 16; ++j)
7114
+ for (var v = this._w, b = this._a | 0, m = this._b | 0, B = this._c | 0, E = this._d | 0, S = this._e | 0, O = this._f | 0, D = this._g | 0, $ = this._h | 0, j = 0; j < 16; ++j)
7115
7115
  v[j] = l.readInt32BE(j * 4);
7116
7116
  for (; j < 64; ++j)
7117
7117
  v[j] = s(v[j - 2]) + v[j - 7] + e(v[j - 15]) + v[j - 16] | 0;
7118
7118
  for (var J = 0; J < 64; ++J) {
7119
- var ie = $ + n(S) + h(S, O, D) + o[J] + v[J] | 0, ne = a(b) + f(b, m, q) | 0;
7120
- $ = D, D = O, O = S, S = E + ie | 0, E = q, q = m, m = b, b = ie + ne | 0;
7119
+ var ie = $ + n(S) + h(S, O, D) + o[J] + v[J] | 0, ne = a(b) + f(b, m, B) | 0;
7120
+ $ = D, D = O, O = S, S = E + ie | 0, E = B, B = m, m = b, b = ie + ne | 0;
7121
7121
  }
7122
- this._a = b + this._a | 0, this._b = m + this._b | 0, this._c = q + this._c | 0, this._d = E + this._d | 0, this._e = S + this._e | 0, this._f = O + this._f | 0, this._g = D + this._g | 0, this._h = $ + this._h | 0;
7122
+ this._a = b + this._a | 0, this._b = m + this._b | 0, this._c = B + this._c | 0, this._d = E + this._d | 0, this._e = S + this._e | 0, this._f = O + this._f | 0, this._g = D + this._g | 0, this._h = $ + this._h | 0;
7123
7123
  }, r.prototype._hash = function() {
7124
7124
  var l = u.allocUnsafe(32);
7125
7125
  return l.writeInt32BE(this._a, 0), l.writeInt32BE(this._b, 4), l.writeInt32BE(this._c, 8), l.writeInt32BE(this._d, 12), l.writeInt32BE(this._e, 16), l.writeInt32BE(this._f, 20), l.writeInt32BE(this._g, 24), l.writeInt32BE(this._h, 28), l;
@@ -7312,44 +7312,44 @@ function requireSha512() {
7312
7312
  c(r, t), r.prototype.init = function() {
7313
7313
  return this._ah = 1779033703, this._bh = 3144134277, this._ch = 1013904242, this._dh = 2773480762, this._eh = 1359893119, this._fh = 2600822924, this._gh = 528734635, this._hh = 1541459225, this._al = 4089235720, this._bl = 2227873595, this._cl = 4271175723, this._dl = 1595750129, this._el = 2917565137, this._fl = 725511199, this._gl = 4215389547, this._hl = 327033209, this;
7314
7314
  };
7315
- function h(m, q, E) {
7316
- return E ^ m & (q ^ E);
7315
+ function h(m, B, E) {
7316
+ return E ^ m & (B ^ E);
7317
7317
  }
7318
- function f(m, q, E) {
7319
- return m & q | E & (m | q);
7318
+ function f(m, B, E) {
7319
+ return m & B | E & (m | B);
7320
7320
  }
7321
- function a(m, q) {
7322
- return (m >>> 28 | q << 4) ^ (q >>> 2 | m << 30) ^ (q >>> 7 | m << 25);
7321
+ function a(m, B) {
7322
+ return (m >>> 28 | B << 4) ^ (B >>> 2 | m << 30) ^ (B >>> 7 | m << 25);
7323
7323
  }
7324
- function n(m, q) {
7325
- return (m >>> 14 | q << 18) ^ (m >>> 18 | q << 14) ^ (q >>> 9 | m << 23);
7324
+ function n(m, B) {
7325
+ return (m >>> 14 | B << 18) ^ (m >>> 18 | B << 14) ^ (B >>> 9 | m << 23);
7326
7326
  }
7327
- function e(m, q) {
7328
- return (m >>> 1 | q << 31) ^ (m >>> 8 | q << 24) ^ m >>> 7;
7327
+ function e(m, B) {
7328
+ return (m >>> 1 | B << 31) ^ (m >>> 8 | B << 24) ^ m >>> 7;
7329
7329
  }
7330
- function s(m, q) {
7331
- return (m >>> 1 | q << 31) ^ (m >>> 8 | q << 24) ^ (m >>> 7 | q << 25);
7330
+ function s(m, B) {
7331
+ return (m >>> 1 | B << 31) ^ (m >>> 8 | B << 24) ^ (m >>> 7 | B << 25);
7332
7332
  }
7333
- function l(m, q) {
7334
- return (m >>> 19 | q << 13) ^ (q >>> 29 | m << 3) ^ m >>> 6;
7333
+ function l(m, B) {
7334
+ return (m >>> 19 | B << 13) ^ (B >>> 29 | m << 3) ^ m >>> 6;
7335
7335
  }
7336
- function v(m, q) {
7337
- return (m >>> 19 | q << 13) ^ (q >>> 29 | m << 3) ^ (m >>> 6 | q << 26);
7336
+ function v(m, B) {
7337
+ return (m >>> 19 | B << 13) ^ (B >>> 29 | m << 3) ^ (m >>> 6 | B << 26);
7338
7338
  }
7339
- function b(m, q) {
7340
- return m >>> 0 < q >>> 0 ? 1 : 0;
7339
+ function b(m, B) {
7340
+ return m >>> 0 < B >>> 0 ? 1 : 0;
7341
7341
  }
7342
7342
  return r.prototype._update = function(m) {
7343
- for (var q = this._w, E = this._ah | 0, S = this._bh | 0, O = this._ch | 0, D = this._dh | 0, $ = this._eh | 0, j = this._fh | 0, J = this._gh | 0, ie = this._hh | 0, ne = this._al | 0, de = this._bl | 0, Z = this._cl | 0, y = this._dl | 0, g = this._el | 0, p = this._fl | 0, _ = this._gl | 0, R = this._hl | 0, B = 0; B < 32; B += 2)
7344
- q[B] = m.readInt32BE(B * 4), q[B + 1] = m.readInt32BE(B * 4 + 4);
7345
- for (; B < 160; B += 2) {
7346
- var P = q[B - 30], A = q[B - 30 + 1], w = e(P, A), M = s(A, P);
7347
- P = q[B - 4], A = q[B - 4 + 1];
7348
- var x = l(P, A), L = v(A, P), K = q[B - 14], Q = q[B - 14 + 1], H = q[B - 32], N = q[B - 32 + 1], F = M + Q | 0, ee = w + K + b(F, M) | 0;
7349
- F = F + L | 0, ee = ee + x + b(F, L) | 0, F = F + N | 0, ee = ee + H + b(F, N) | 0, q[B] = ee, q[B + 1] = F;
7343
+ for (var B = this._w, E = this._ah | 0, S = this._bh | 0, O = this._ch | 0, D = this._dh | 0, $ = this._eh | 0, j = this._fh | 0, J = this._gh | 0, ie = this._hh | 0, ne = this._al | 0, de = this._bl | 0, Z = this._cl | 0, y = this._dl | 0, g = this._el | 0, p = this._fl | 0, _ = this._gl | 0, R = this._hl | 0, q = 0; q < 32; q += 2)
7344
+ B[q] = m.readInt32BE(q * 4), B[q + 1] = m.readInt32BE(q * 4 + 4);
7345
+ for (; q < 160; q += 2) {
7346
+ var P = B[q - 30], A = B[q - 30 + 1], w = e(P, A), M = s(A, P);
7347
+ P = B[q - 4], A = B[q - 4 + 1];
7348
+ var x = l(P, A), L = v(A, P), K = B[q - 14], Q = B[q - 14 + 1], H = B[q - 32], N = B[q - 32 + 1], F = M + Q | 0, ee = w + K + b(F, M) | 0;
7349
+ F = F + L | 0, ee = ee + x + b(F, L) | 0, F = F + N | 0, ee = ee + H + b(F, N) | 0, B[q] = ee, B[q + 1] = F;
7350
7350
  }
7351
7351
  for (var ae = 0; ae < 160; ae += 2) {
7352
- ee = q[ae], F = q[ae + 1];
7352
+ ee = B[ae], F = B[ae + 1];
7353
7353
  var z = f(E, S, O), G = f(ne, de, Z), fe = a(E, ne), me = a(ne, E), xe = n($, g), _e = n(g, $), qe = o[ae], Re = o[ae + 1], be = h($, j, J), Fe = h(g, p, _), Be = R + _e | 0, Me = ie + xe + b(Be, R) | 0;
7354
7354
  Be = Be + Fe | 0, Me = Me + be + b(Be, Fe) | 0, Be = Be + Re | 0, Me = Me + qe + b(Be, Re) | 0, Be = Be + F | 0, Me = Me + ee + b(Be, F) | 0;
7355
7355
  var Te = me + G | 0, oe = fe + z + b(Te, me) | 0;
@@ -7358,10 +7358,10 @@ function requireSha512() {
7358
7358
  this._al = this._al + ne | 0, this._bl = this._bl + de | 0, this._cl = this._cl + Z | 0, this._dl = this._dl + y | 0, this._el = this._el + g | 0, this._fl = this._fl + p | 0, this._gl = this._gl + _ | 0, this._hl = this._hl + R | 0, this._ah = this._ah + E + b(this._al, ne) | 0, this._bh = this._bh + S + b(this._bl, de) | 0, this._ch = this._ch + O + b(this._cl, Z) | 0, this._dh = this._dh + D + b(this._dl, y) | 0, this._eh = this._eh + $ + b(this._el, g) | 0, this._fh = this._fh + j + b(this._fl, p) | 0, this._gh = this._gh + J + b(this._gl, _) | 0, this._hh = this._hh + ie + b(this._hl, R) | 0;
7359
7359
  }, r.prototype._hash = function() {
7360
7360
  var m = u.allocUnsafe(64);
7361
- function q(E, S, O) {
7361
+ function B(E, S, O) {
7362
7362
  m.writeInt32BE(E, O), m.writeInt32BE(S, O + 4);
7363
7363
  }
7364
- return q(this._ah, this._al, 0), q(this._bh, this._bl, 8), q(this._ch, this._cl, 16), q(this._dh, this._dl, 24), q(this._eh, this._el, 32), q(this._fh, this._fl, 40), q(this._gh, this._gl, 48), q(this._hh, this._hl, 56), m;
7364
+ return B(this._ah, this._al, 0), B(this._bh, this._bl, 8), B(this._ch, this._cl, 16), B(this._dh, this._dl, 24), B(this._eh, this._el, 32), B(this._fh, this._fl, 40), B(this._gh, this._gl, 48), B(this._hh, this._hl, 56), m;
7365
7365
  }, sha512$1 = r, sha512$1;
7366
7366
  }
7367
7367
  var sha384$1, hasRequiredSha384;
@@ -7611,26 +7611,26 @@ function requireSyncBrowser() {
7611
7611
  return new t().update(b).digest();
7612
7612
  }
7613
7613
  function s(b) {
7614
- function m(q) {
7615
- return u(b).update(q).digest();
7614
+ function m(B) {
7615
+ return u(b).update(B).digest();
7616
7616
  }
7617
7617
  return b === "rmd160" || b === "ripemd160" ? e : b === "md5" ? c : m;
7618
7618
  }
7619
- function l(b, m, q) {
7619
+ function l(b, m, B) {
7620
7620
  var E = s(b), S = b === "sha512" || b === "sha384" ? 128 : 64;
7621
7621
  m.length > S ? m = E(m) : m.length < S && (m = o.concat([m, f], S));
7622
7622
  for (var O = o.allocUnsafe(S + a[b]), D = o.allocUnsafe(S + a[b]), $ = 0; $ < S; $++)
7623
7623
  O[$] = m[$] ^ 54, D[$] = m[$] ^ 92;
7624
- var j = o.allocUnsafe(S + q + 4);
7624
+ var j = o.allocUnsafe(S + B + 4);
7625
7625
  O.copy(j, 0, 0, S), this.ipad1 = j, this.ipad2 = O, this.opad = D, this.alg = b, this.blocksize = S, this.hash = E, this.size = a[b];
7626
7626
  }
7627
7627
  l.prototype.run = function(b, m) {
7628
7628
  b.copy(m, this.blocksize);
7629
- var q = this.hash(m);
7630
- return q.copy(this.opad, this.blocksize), this.hash(this.opad);
7629
+ var B = this.hash(m);
7630
+ return B.copy(this.opad, this.blocksize), this.hash(this.opad);
7631
7631
  };
7632
- function v(b, m, q, E, S) {
7633
- d(q, E), b = h(b, r, "Password"), m = h(m, r, "Salt");
7632
+ function v(b, m, B, E, S) {
7633
+ d(B, E), b = h(b, r, "Password"), m = h(m, r, "Salt");
7634
7634
  var O = (S || "sha1").toLowerCase(), D = n[O] || O, $ = a[D];
7635
7635
  if (typeof $ != "number" || !$)
7636
7636
  throw new TypeError("Digest algorithm not supported: " + S);
@@ -7638,7 +7638,7 @@ function requireSyncBrowser() {
7638
7638
  m.copy(ie, 0, 0, m.length);
7639
7639
  for (var ne = 0, de = $, Z = Math.ceil(E / de), y = 1; y <= Z; y++) {
7640
7640
  ie.writeUInt32BE(y, m.length);
7641
- for (var g = j.run(ie, j.ipad1), p = g, _ = 1; _ < q; _++) {
7641
+ for (var g = j.run(ie, j.ipad1), p = g, _ = 1; _ < B; _++) {
7642
7642
  p = j.run(p, j.ipad2);
7643
7643
  for (var R = 0; R < de; R++)
7644
7644
  g[R] ^= p[R];
@@ -7667,12 +7667,12 @@ function requireAsync() {
7667
7667
  function e() {
7668
7668
  return n || (commonjsGlobal.process && commonjsGlobal.process.nextTick ? n = commonjsGlobal.process.nextTick : commonjsGlobal.queueMicrotask ? n = commonjsGlobal.queueMicrotask : commonjsGlobal.setImmediate ? n = commonjsGlobal.setImmediate : n = commonjsGlobal.setTimeout, n);
7669
7669
  }
7670
- function s(b, m, q, E, S) {
7670
+ function s(b, m, B, E, S) {
7671
7671
  return h.importKey("raw", b, { name: "PBKDF2" }, !1, ["deriveBits"]).then(function(O) {
7672
7672
  return h.deriveBits({
7673
7673
  name: "PBKDF2",
7674
7674
  salt: m,
7675
- iterations: q,
7675
+ iterations: B,
7676
7676
  hash: {
7677
7677
  name: S
7678
7678
  }
@@ -7698,18 +7698,18 @@ function requireAsync() {
7698
7698
  return a[b] = m, m;
7699
7699
  }
7700
7700
  function v(b, m) {
7701
- b.then(function(q) {
7701
+ b.then(function(B) {
7702
7702
  e()(function() {
7703
- m(null, q);
7703
+ m(null, B);
7704
7704
  });
7705
- }, function(q) {
7705
+ }, function(B) {
7706
7706
  e()(function() {
7707
- m(q);
7707
+ m(B);
7708
7708
  });
7709
7709
  });
7710
7710
  }
7711
- return async = function(b, m, q, E, S, O) {
7712
- if (typeof S == "function" && (O = S, S = void 0), t(q, E), b = d(b, u, "Password"), m = d(m, u, "Salt"), typeof O != "function")
7711
+ return async = function(b, m, B, E, S, O) {
7712
+ if (typeof S == "function" && (O = S, S = void 0), t(B, E), b = d(b, u, "Password"), m = d(m, u, "Salt"), typeof O != "function")
7713
7713
  throw new Error("No callback provided to pbkdf2");
7714
7714
  S = S || "sha1";
7715
7715
  var D = f[S.toLowerCase()];
@@ -7717,7 +7717,7 @@ function requireAsync() {
7717
7717
  e()(function() {
7718
7718
  var $;
7719
7719
  try {
7720
- $ = o(b, m, q, E, S);
7720
+ $ = o(b, m, B, E, S);
7721
7721
  } catch (j) {
7722
7722
  O(j);
7723
7723
  return;
@@ -7727,7 +7727,7 @@ function requireAsync() {
7727
7727
  return;
7728
7728
  }
7729
7729
  v(l(D).then(function($) {
7730
- return $ ? s(b, m, q, E, D) : o(b, m, q, E, S);
7730
+ return $ ? s(b, m, B, E, D) : o(b, m, B, E, S);
7731
7731
  }), O);
7732
7732
  }, async;
7733
7733
  }
@@ -8549,17 +8549,17 @@ function requireDes$1() {
8549
8549
  return a.slice(0, a.length - n);
8550
8550
  }, r.prototype._encrypt = function(a, n, e, s, l) {
8551
8551
  for (var v = n, b = e, m = 0; m < a.keys.length; m += 2) {
8552
- var q = a.keys[m], E = a.keys[m + 1];
8553
- u.expand(b, a.tmp, 0), q ^= a.tmp[0], E ^= a.tmp[1];
8554
- var S = u.substitute(q, E), O = u.permute(S), D = b;
8552
+ var B = a.keys[m], E = a.keys[m + 1];
8553
+ u.expand(b, a.tmp, 0), B ^= a.tmp[0], E ^= a.tmp[1];
8554
+ var S = u.substitute(B, E), O = u.permute(S), D = b;
8555
8555
  b = (v ^ O) >>> 0, v = D;
8556
8556
  }
8557
8557
  u.rip(b, v, s, l);
8558
8558
  }, r.prototype._decrypt = function(a, n, e, s, l) {
8559
8559
  for (var v = e, b = n, m = a.keys.length - 2; m >= 0; m -= 2) {
8560
- var q = a.keys[m], E = a.keys[m + 1];
8561
- u.expand(v, a.tmp, 0), q ^= a.tmp[0], E ^= a.tmp[1];
8562
- var S = u.substitute(q, E), O = u.permute(S), D = v;
8560
+ var B = a.keys[m], E = a.keys[m + 1];
8561
+ u.expand(v, a.tmp, 0), B ^= a.tmp[0], E ^= a.tmp[1];
8562
+ var S = u.substitute(B, E), O = u.permute(S), D = v;
8563
8563
  v = (b ^ O) >>> 0, b = D;
8564
8564
  }
8565
8565
  u.rip(v, b, s, l);
@@ -8882,18 +8882,18 @@ function requireAes() {
8882
8882
  f[a] = 0;
8883
8883
  }
8884
8884
  function o(f, a, n, e, s) {
8885
- for (var l = n[0], v = n[1], b = n[2], m = n[3], q = f[0] ^ a[0], E = f[1] ^ a[1], S = f[2] ^ a[2], O = f[3] ^ a[3], D, $, j, J, ie = 4, ne = 1; ne < s; ne++)
8886
- D = l[q >>> 24] ^ v[E >>> 16 & 255] ^ b[S >>> 8 & 255] ^ m[O & 255] ^ a[ie++], $ = l[E >>> 24] ^ v[S >>> 16 & 255] ^ b[O >>> 8 & 255] ^ m[q & 255] ^ a[ie++], j = l[S >>> 24] ^ v[O >>> 16 & 255] ^ b[q >>> 8 & 255] ^ m[E & 255] ^ a[ie++], J = l[O >>> 24] ^ v[q >>> 16 & 255] ^ b[E >>> 8 & 255] ^ m[S & 255] ^ a[ie++], q = D, E = $, S = j, O = J;
8887
- return D = (e[q >>> 24] << 24 | e[E >>> 16 & 255] << 16 | e[S >>> 8 & 255] << 8 | e[O & 255]) ^ a[ie++], $ = (e[E >>> 24] << 24 | e[S >>> 16 & 255] << 16 | e[O >>> 8 & 255] << 8 | e[q & 255]) ^ a[ie++], j = (e[S >>> 24] << 24 | e[O >>> 16 & 255] << 16 | e[q >>> 8 & 255] << 8 | e[E & 255]) ^ a[ie++], J = (e[O >>> 24] << 24 | e[q >>> 16 & 255] << 16 | e[E >>> 8 & 255] << 8 | e[S & 255]) ^ a[ie++], D = D >>> 0, $ = $ >>> 0, j = j >>> 0, J = J >>> 0, [D, $, j, J];
8885
+ for (var l = n[0], v = n[1], b = n[2], m = n[3], B = f[0] ^ a[0], E = f[1] ^ a[1], S = f[2] ^ a[2], O = f[3] ^ a[3], D, $, j, J, ie = 4, ne = 1; ne < s; ne++)
8886
+ D = l[B >>> 24] ^ v[E >>> 16 & 255] ^ b[S >>> 8 & 255] ^ m[O & 255] ^ a[ie++], $ = l[E >>> 24] ^ v[S >>> 16 & 255] ^ b[O >>> 8 & 255] ^ m[B & 255] ^ a[ie++], j = l[S >>> 24] ^ v[O >>> 16 & 255] ^ b[B >>> 8 & 255] ^ m[E & 255] ^ a[ie++], J = l[O >>> 24] ^ v[B >>> 16 & 255] ^ b[E >>> 8 & 255] ^ m[S & 255] ^ a[ie++], B = D, E = $, S = j, O = J;
8887
+ return D = (e[B >>> 24] << 24 | e[E >>> 16 & 255] << 16 | e[S >>> 8 & 255] << 8 | e[O & 255]) ^ a[ie++], $ = (e[E >>> 24] << 24 | e[S >>> 16 & 255] << 16 | e[O >>> 8 & 255] << 8 | e[B & 255]) ^ a[ie++], j = (e[S >>> 24] << 24 | e[O >>> 16 & 255] << 16 | e[B >>> 8 & 255] << 8 | e[E & 255]) ^ a[ie++], J = (e[O >>> 24] << 24 | e[B >>> 16 & 255] << 16 | e[E >>> 8 & 255] << 8 | e[S & 255]) ^ a[ie++], D = D >>> 0, $ = $ >>> 0, j = j >>> 0, J = J >>> 0, [D, $, j, J];
8888
8888
  }
8889
8889
  var d = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], r = (function() {
8890
8890
  for (var f = new Array(256), a = 0; a < 256; a++)
8891
8891
  a < 128 ? f[a] = a << 1 : f[a] = a << 1 ^ 283;
8892
8892
  for (var n = [], e = [], s = [[], [], [], []], l = [[], [], [], []], v = 0, b = 0, m = 0; m < 256; ++m) {
8893
- var q = b ^ b << 1 ^ b << 2 ^ b << 3 ^ b << 4;
8894
- q = q >>> 8 ^ q & 255 ^ 99, n[v] = q, e[q] = v;
8895
- var E = f[v], S = f[E], O = f[S], D = f[q] * 257 ^ q * 16843008;
8896
- s[0][v] = D << 24 | D >>> 8, s[1][v] = D << 16 | D >>> 16, s[2][v] = D << 8 | D >>> 24, s[3][v] = D, D = O * 16843009 ^ S * 65537 ^ E * 257 ^ v * 16843008, l[0][q] = D << 24 | D >>> 8, l[1][q] = D << 16 | D >>> 16, l[2][q] = D << 8 | D >>> 24, l[3][q] = D, v === 0 ? v = b = 1 : (v = E ^ f[f[f[O ^ E]]], b ^= f[f[b]]);
8893
+ var B = b ^ b << 1 ^ b << 2 ^ b << 3 ^ b << 4;
8894
+ B = B >>> 8 ^ B & 255 ^ 99, n[v] = B, e[B] = v;
8895
+ var E = f[v], S = f[E], O = f[S], D = f[B] * 257 ^ B * 16843008;
8896
+ s[0][v] = D << 24 | D >>> 8, s[1][v] = D << 16 | D >>> 16, s[2][v] = D << 8 | D >>> 24, s[3][v] = D, D = O * 16843009 ^ S * 65537 ^ E * 257 ^ v * 16843008, l[0][B] = D << 24 | D >>> 8, l[1][B] = D << 16 | D >>> 16, l[2][B] = D << 8 | D >>> 24, l[3][B] = D, v === 0 ? v = b = 1 : (v = E ^ f[f[f[O ^ E]]], b ^= f[f[b]]);
8897
8897
  }
8898
8898
  return {
8899
8899
  SBOX: n,
@@ -8913,8 +8913,8 @@ function requireAes() {
8913
8913
  l % a === 0 ? (v = v << 8 | v >>> 24, v = r.SBOX[v >>> 24] << 24 | r.SBOX[v >>> 16 & 255] << 16 | r.SBOX[v >>> 8 & 255] << 8 | r.SBOX[v & 255], v ^= d[l / a | 0] << 24) : a > 6 && l % a === 4 && (v = r.SBOX[v >>> 24] << 24 | r.SBOX[v >>> 16 & 255] << 16 | r.SBOX[v >>> 8 & 255] << 8 | r.SBOX[v & 255]), s[l] = s[l - a] ^ v;
8914
8914
  }
8915
8915
  for (var b = [], m = 0; m < e; m++) {
8916
- var q = e - m, E = s[q - (m % 4 ? 0 : 4)];
8917
- m < 4 || q <= 4 ? b[m] = E : b[m] = r.INV_SUB_MIX[0][r.SBOX[E >>> 24]] ^ r.INV_SUB_MIX[1][r.SBOX[E >>> 16 & 255]] ^ r.INV_SUB_MIX[2][r.SBOX[E >>> 8 & 255]] ^ r.INV_SUB_MIX[3][r.SBOX[E & 255]];
8916
+ var B = e - m, E = s[B - (m % 4 ? 0 : 4)];
8917
+ m < 4 || B <= 4 ? b[m] = E : b[m] = r.INV_SUB_MIX[0][r.SBOX[E >>> 24]] ^ r.INV_SUB_MIX[1][r.SBOX[E >>> 16 & 255]] ^ r.INV_SUB_MIX[2][r.SBOX[E >>> 8 & 255]] ^ r.INV_SUB_MIX[3][r.SBOX[E & 255]];
8918
8918
  }
8919
8919
  this._nRounds = n, this._keySchedule = s, this._invKeySchedule = b;
8920
8920
  }, h.prototype.encryptBlockRaw = function(f) {
@@ -8988,8 +8988,8 @@ function requireAuthCipher() {
8988
8988
  return e._finID = t.concat([s, t.from([0, 0, 0, 1])]), t.concat([s, t.from([0, 0, 0, 2])]);
8989
8989
  var v = new d(l), b = s.length, m = b % 16;
8990
8990
  v.update(s), m && (m = 16 - m, v.update(t.alloc(m, 0))), v.update(t.alloc(8, 0));
8991
- var q = b * 8, E = t.alloc(8);
8992
- E.writeUIntBE(q, 0, 8), v.update(E), e._finID = v.state;
8991
+ var B = b * 8, E = t.alloc(8);
8992
+ E.writeUIntBE(B, 0, 8), v.update(E), e._finID = v.state;
8993
8993
  var S = t.from(e._finID);
8994
8994
  return h(S), S;
8995
8995
  }
@@ -9073,9 +9073,9 @@ function requireEncrypter() {
9073
9073
  }
9074
9074
  f(a, d), a.prototype._update = function(v) {
9075
9075
  this._cache.add(v);
9076
- for (var b, m, q = []; b = this._cache.get(); )
9077
- m = this._mode.encrypt(this, b), q.push(m);
9078
- return u.concat(q);
9076
+ for (var b, m, B = []; b = this._cache.get(); )
9077
+ m = this._mode.encrypt(this, b), B.push(m);
9078
+ return u.concat(B);
9079
9079
  };
9080
9080
  var n = u.alloc(16, 16);
9081
9081
  a.prototype._final = function() {
@@ -9104,17 +9104,17 @@ function requireEncrypter() {
9104
9104
  return u.concat([this.cache, b]);
9105
9105
  };
9106
9106
  function s(v, b, m) {
9107
- var q = c[v.toLowerCase()];
9108
- if (!q) throw new TypeError("invalid suite type");
9109
- if (typeof b == "string" && (b = u.from(b)), b.length !== q.key / 8) throw new TypeError("invalid key length " + b.length);
9110
- if (typeof m == "string" && (m = u.from(m)), q.mode !== "GCM" && m.length !== q.iv) throw new TypeError("invalid iv length " + m.length);
9111
- return q.type === "stream" ? new o(q.module, b, m) : q.type === "auth" ? new t(q.module, b, m) : new a(q.module, b, m);
9107
+ var B = c[v.toLowerCase()];
9108
+ if (!B) throw new TypeError("invalid suite type");
9109
+ if (typeof b == "string" && (b = u.from(b)), b.length !== B.key / 8) throw new TypeError("invalid key length " + b.length);
9110
+ if (typeof m == "string" && (m = u.from(m)), B.mode !== "GCM" && m.length !== B.iv) throw new TypeError("invalid iv length " + m.length);
9111
+ return B.type === "stream" ? new o(B.module, b, m) : B.type === "auth" ? new t(B.module, b, m) : new a(B.module, b, m);
9112
9112
  }
9113
9113
  function l(v, b) {
9114
9114
  var m = c[v.toLowerCase()];
9115
9115
  if (!m) throw new TypeError("invalid suite type");
9116
- var q = h(b, !1, m.key, m.iv);
9117
- return s(v, q.key, q.iv);
9116
+ var B = h(b, !1, m.key, m.iv);
9117
+ return s(v, B.key, B.iv);
9118
9118
  }
9119
9119
  return encrypter.createCipheriv = s, encrypter.createCipher = l, encrypter;
9120
9120
  }
@@ -9128,9 +9128,9 @@ function requireDecrypter() {
9128
9128
  }
9129
9129
  f(a, d), a.prototype._update = function(v) {
9130
9130
  this._cache.add(v);
9131
- for (var b, m, q = []; b = this._cache.get(this._autopadding); )
9132
- m = this._mode.decrypt(this, b), q.push(m);
9133
- return t.concat(q);
9131
+ for (var b, m, B = []; b = this._cache.get(this._autopadding); )
9132
+ m = this._mode.decrypt(this, b), B.push(m);
9133
+ return t.concat(B);
9134
9134
  }, a.prototype._final = function() {
9135
9135
  var v = this._cache.flush();
9136
9136
  if (this._autopadding)
@@ -9167,17 +9167,17 @@ function requireDecrypter() {
9167
9167
  return v.slice(0, 16 - b);
9168
9168
  }
9169
9169
  function s(v, b, m) {
9170
- var q = u[v.toLowerCase()];
9171
- if (!q) throw new TypeError("invalid suite type");
9172
- if (typeof m == "string" && (m = t.from(m)), q.mode !== "GCM" && m.length !== q.iv) throw new TypeError("invalid iv length " + m.length);
9173
- if (typeof b == "string" && (b = t.from(b)), b.length !== q.key / 8) throw new TypeError("invalid key length " + b.length);
9174
- return q.type === "stream" ? new o(q.module, b, m, !0) : q.type === "auth" ? new c(q.module, b, m, !0) : new a(q.module, b, m);
9170
+ var B = u[v.toLowerCase()];
9171
+ if (!B) throw new TypeError("invalid suite type");
9172
+ if (typeof m == "string" && (m = t.from(m)), B.mode !== "GCM" && m.length !== B.iv) throw new TypeError("invalid iv length " + m.length);
9173
+ if (typeof b == "string" && (b = t.from(b)), b.length !== B.key / 8) throw new TypeError("invalid key length " + b.length);
9174
+ return B.type === "stream" ? new o(B.module, b, m, !0) : B.type === "auth" ? new c(B.module, b, m, !0) : new a(B.module, b, m);
9175
9175
  }
9176
9176
  function l(v, b) {
9177
9177
  var m = u[v.toLowerCase()];
9178
9178
  if (!m) throw new TypeError("invalid suite type");
9179
- var q = h(b, !1, m.key, m.iv);
9180
- return s(v, q.key, q.iv);
9179
+ var B = h(b, !1, m.key, m.iv);
9180
+ return s(v, B.key, B.iv);
9181
9181
  }
9182
9182
  return decrypter.createDecipher = l, decrypter.createDecipheriv = s, decrypter;
9183
9183
  }
@@ -9312,13 +9312,13 @@ function requireBn$1() {
9312
9312
  this.length = Math.ceil(y.length / 3), this.words = new Array(this.length);
9313
9313
  for (var _ = 0; _ < this.length; _++)
9314
9314
  this.words[_] = 0;
9315
- var R, B, P = 0;
9315
+ var R, q, P = 0;
9316
9316
  if (p === "be")
9317
9317
  for (_ = y.length - 1, R = 0; _ >= 0; _ -= 3)
9318
- B = y[_] | y[_ - 1] << 8 | y[_ - 2] << 16, this.words[R] |= B << P & 67108863, this.words[R + 1] = B >>> 26 - P & 67108863, P += 24, P >= 26 && (P -= 26, R++);
9318
+ q = y[_] | y[_ - 1] << 8 | y[_ - 2] << 16, this.words[R] |= q << P & 67108863, this.words[R + 1] = q >>> 26 - P & 67108863, P += 24, P >= 26 && (P -= 26, R++);
9319
9319
  else if (p === "le")
9320
9320
  for (_ = 0, R = 0; _ < y.length; _ += 3)
9321
- B = y[_] | y[_ + 1] << 8 | y[_ + 2] << 16, this.words[R] |= B << P & 67108863, this.words[R + 1] = B >>> 26 - P & 67108863, P += 24, P >= 26 && (P -= 26, R++);
9321
+ q = y[_] | y[_ + 1] << 8 | y[_ + 2] << 16, this.words[R] |= q << P & 67108863, this.words[R + 1] = q >>> 26 - P & 67108863, P += 24, P >= 26 && (P -= 26, R++);
9322
9322
  return this.strip();
9323
9323
  };
9324
9324
  function f(Z, y) {
@@ -9333,20 +9333,20 @@ function requireBn$1() {
9333
9333
  this.length = Math.ceil((y.length - g) / 6), this.words = new Array(this.length);
9334
9334
  for (var _ = 0; _ < this.length; _++)
9335
9335
  this.words[_] = 0;
9336
- var R = 0, B = 0, P;
9336
+ var R = 0, q = 0, P;
9337
9337
  if (p === "be")
9338
9338
  for (_ = y.length - 1; _ >= g; _ -= 2)
9339
- P = a(y, g, _) << R, this.words[B] |= P & 67108863, R >= 18 ? (R -= 18, B += 1, this.words[B] |= P >>> 26) : R += 8;
9339
+ P = a(y, g, _) << R, this.words[q] |= P & 67108863, R >= 18 ? (R -= 18, q += 1, this.words[q] |= P >>> 26) : R += 8;
9340
9340
  else {
9341
9341
  var A = y.length - g;
9342
9342
  for (_ = A % 2 === 0 ? g + 1 : g; _ < y.length; _ += 2)
9343
- P = a(y, g, _) << R, this.words[B] |= P & 67108863, R >= 18 ? (R -= 18, B += 1, this.words[B] |= P >>> 26) : R += 8;
9343
+ P = a(y, g, _) << R, this.words[q] |= P & 67108863, R >= 18 ? (R -= 18, q += 1, this.words[q] |= P >>> 26) : R += 8;
9344
9344
  }
9345
9345
  this.strip();
9346
9346
  };
9347
9347
  function n(Z, y, g, p) {
9348
- for (var _ = 0, R = Math.min(Z.length, g), B = y; B < R; B++) {
9349
- var P = Z.charCodeAt(B) - 48;
9348
+ for (var _ = 0, R = Math.min(Z.length, g), q = y; q < R; q++) {
9349
+ var P = Z.charCodeAt(q) - 48;
9350
9350
  _ *= p, P >= 49 ? _ += P - 49 + 10 : P >= 17 ? _ += P - 17 + 10 : _ += P;
9351
9351
  }
9352
9352
  return _;
@@ -9356,7 +9356,7 @@ function requireBn$1() {
9356
9356
  for (var _ = 0, R = 1; R <= 67108863; R *= g)
9357
9357
  _++;
9358
9358
  _--, R = R / g | 0;
9359
- for (var B = y.length - p, P = B % _, A = Math.min(B, B - P) + p, w = 0, M = p; M < A; M += _)
9359
+ for (var q = y.length - p, P = q % _, A = Math.min(q, q - P) + p, w = 0, M = p; M < A; M += _)
9360
9360
  w = n(y, M, M + _, g), this.imuln(R), this.words[0] + w < 67108864 ? this.words[0] += w : this._iaddn(w);
9361
9361
  if (P !== 0) {
9362
9362
  var x = 1;
@@ -9495,9 +9495,9 @@ function requireBn$1() {
9495
9495
  var p;
9496
9496
  if (y === 16 || y === "hex") {
9497
9497
  p = "";
9498
- for (var _ = 0, R = 0, B = 0; B < this.length; B++) {
9499
- var P = this.words[B], A = ((P << _ | R) & 16777215).toString(16);
9500
- R = P >>> 24 - _ & 16777215, _ += 2, _ >= 26 && (_ -= 26, B--), R !== 0 || B !== this.length - 1 ? p = e[6 - A.length] + A + p : p = A + p;
9498
+ for (var _ = 0, R = 0, q = 0; q < this.length; q++) {
9499
+ var P = this.words[q], A = ((P << _ | R) & 16777215).toString(16);
9500
+ R = P >>> 24 - _ & 16777215, _ += 2, _ >= 26 && (_ -= 26, q--), R !== 0 || q !== this.length - 1 ? p = e[6 - A.length] + A + p : p = A + p;
9501
9501
  }
9502
9502
  for (R !== 0 && (p = R.toString(16) + p); p.length % g !== 0; )
9503
9503
  p = "0" + p;
@@ -9528,8 +9528,8 @@ function requireBn$1() {
9528
9528
  }, r.prototype.toArrayLike = function(y, g, p) {
9529
9529
  var _ = this.byteLength(), R = p || Math.max(1, _);
9530
9530
  o(_ <= R, "byte array longer than desired length"), o(R > 0, "Requested array length <= 0"), this.strip();
9531
- var B = g === "le", P = new y(R), A, w, M = this.clone();
9532
- if (B) {
9531
+ var q = g === "le", P = new y(R), A, w, M = this.clone();
9532
+ if (q) {
9533
9533
  for (w = 0; !M.isZero(); w++)
9534
9534
  A = M.andln(255), M.iushrn(8), P[w] = A;
9535
9535
  for (; w < R; w++)
@@ -9640,15 +9640,15 @@ function requireBn$1() {
9640
9640
  return y.negative = 0, g = this.isub(y), y.negative = 1, g._normSign();
9641
9641
  var p, _;
9642
9642
  this.length > y.length ? (p = this, _ = y) : (p = y, _ = this);
9643
- for (var R = 0, B = 0; B < _.length; B++)
9644
- g = (p.words[B] | 0) + (_.words[B] | 0) + R, this.words[B] = g & 67108863, R = g >>> 26;
9645
- for (; R !== 0 && B < p.length; B++)
9646
- g = (p.words[B] | 0) + R, this.words[B] = g & 67108863, R = g >>> 26;
9643
+ for (var R = 0, q = 0; q < _.length; q++)
9644
+ g = (p.words[q] | 0) + (_.words[q] | 0) + R, this.words[q] = g & 67108863, R = g >>> 26;
9645
+ for (; R !== 0 && q < p.length; q++)
9646
+ g = (p.words[q] | 0) + R, this.words[q] = g & 67108863, R = g >>> 26;
9647
9647
  if (this.length = p.length, R !== 0)
9648
9648
  this.words[this.length] = R, this.length++;
9649
9649
  else if (p !== this)
9650
- for (; B < p.length; B++)
9651
- this.words[B] = p.words[B];
9650
+ for (; q < p.length; q++)
9651
+ this.words[q] = p.words[q];
9652
9652
  return this;
9653
9653
  }, r.prototype.add = function(y) {
9654
9654
  var g;
@@ -9665,11 +9665,11 @@ function requireBn$1() {
9665
9665
  return this.negative = 0, this.length = 1, this.words[0] = 0, this;
9666
9666
  var _, R;
9667
9667
  p > 0 ? (_ = this, R = y) : (_ = y, R = this);
9668
- for (var B = 0, P = 0; P < R.length; P++)
9669
- g = (_.words[P] | 0) - (R.words[P] | 0) + B, B = g >> 26, this.words[P] = g & 67108863;
9670
- for (; B !== 0 && P < _.length; P++)
9671
- g = (_.words[P] | 0) + B, B = g >> 26, this.words[P] = g & 67108863;
9672
- if (B === 0 && P < _.length && _ !== this)
9668
+ for (var q = 0, P = 0; P < R.length; P++)
9669
+ g = (_.words[P] | 0) - (R.words[P] | 0) + q, q = g >> 26, this.words[P] = g & 67108863;
9670
+ for (; q !== 0 && P < _.length; P++)
9671
+ g = (_.words[P] | 0) + q, q = g >> 26, this.words[P] = g & 67108863;
9672
+ if (q === 0 && P < _.length && _ !== this)
9673
9673
  for (; P < _.length; P++)
9674
9674
  this.words[P] = _.words[P];
9675
9675
  return this.length = Math.max(this.length, P), _ !== this && (this.negative = 1), this.strip();
@@ -9680,19 +9680,19 @@ function requireBn$1() {
9680
9680
  g.negative = y.negative ^ Z.negative;
9681
9681
  var p = Z.length + y.length | 0;
9682
9682
  g.length = p, p = p - 1 | 0;
9683
- var _ = Z.words[0] | 0, R = y.words[0] | 0, B = _ * R, P = B & 67108863, A = B / 67108864 | 0;
9683
+ var _ = Z.words[0] | 0, R = y.words[0] | 0, q = _ * R, P = q & 67108863, A = q / 67108864 | 0;
9684
9684
  g.words[0] = P;
9685
9685
  for (var w = 1; w < p; w++) {
9686
9686
  for (var M = A >>> 26, x = A & 67108863, L = Math.min(w, y.length - 1), K = Math.max(0, w - Z.length + 1); K <= L; K++) {
9687
9687
  var Q = w - K | 0;
9688
- _ = Z.words[Q] | 0, R = y.words[K] | 0, B = _ * R + x, M += B / 67108864 | 0, x = B & 67108863;
9688
+ _ = Z.words[Q] | 0, R = y.words[K] | 0, q = _ * R + x, M += q / 67108864 | 0, x = q & 67108863;
9689
9689
  }
9690
9690
  g.words[w] = x | 0, A = M | 0;
9691
9691
  }
9692
9692
  return A !== 0 ? g.words[w] = A | 0 : g.length--, g.strip();
9693
9693
  }
9694
9694
  var m = function(y, g, p) {
9695
- var _ = y.words, R = g.words, B = p.words, P = 0, A, w, M, x = _[0] | 0, L = x & 8191, K = x >>> 13, Q = _[1] | 0, H = Q & 8191, N = Q >>> 13, F = _[2] | 0, ee = F & 8191, ae = F >>> 13, z = _[3] | 0, G = z & 8191, fe = z >>> 13, me = _[4] | 0, xe = me & 8191, _e = me >>> 13, qe = _[5] | 0, Re = qe & 8191, be = qe >>> 13, Fe = _[6] | 0, Be = Fe & 8191, Me = Fe >>> 13, Te = _[7] | 0, oe = Te & 8191, ce = Te >>> 13, ge = _[8] | 0, we = ge & 8191, Se = ge >>> 13, Oe = _[9] | 0, U = Oe & 8191, I = Oe >>> 13, C = R[0] | 0, X = C & 8191, se = C >>> 13, le = R[1] | 0, ve = le & 8191, Ce = le >>> 13, Le = R[2] | 0, Ie = Le & 8191, je = Le >>> 13, $e = R[3] | 0, He = $e & 8191, Ke = $e >>> 13, Ze = R[4] | 0, We = Ze & 8191, Ye = Ze >>> 13, Xe = R[5] | 0, W = Xe & 8191, T = Xe >>> 13, k = R[6] | 0, re = k & 8191, ue = k >>> 13, pe = R[7] | 0, ye = pe & 8191, ke = pe >>> 13, Ve = R[8] | 0, Ne = Ve & 8191, Ge = Ve >>> 13, Ue = R[9] | 0, ze = Ue & 8191, Je = Ue >>> 13;
9695
+ var _ = y.words, R = g.words, q = p.words, P = 0, A, w, M, x = _[0] | 0, L = x & 8191, K = x >>> 13, Q = _[1] | 0, H = Q & 8191, N = Q >>> 13, F = _[2] | 0, ee = F & 8191, ae = F >>> 13, z = _[3] | 0, G = z & 8191, fe = z >>> 13, me = _[4] | 0, xe = me & 8191, _e = me >>> 13, qe = _[5] | 0, Re = qe & 8191, be = qe >>> 13, Fe = _[6] | 0, Be = Fe & 8191, Me = Fe >>> 13, Te = _[7] | 0, oe = Te & 8191, ce = Te >>> 13, ge = _[8] | 0, we = ge & 8191, Se = ge >>> 13, Oe = _[9] | 0, U = Oe & 8191, I = Oe >>> 13, C = R[0] | 0, X = C & 8191, se = C >>> 13, le = R[1] | 0, ve = le & 8191, Ce = le >>> 13, Le = R[2] | 0, Ie = Le & 8191, je = Le >>> 13, $e = R[3] | 0, He = $e & 8191, Ke = $e >>> 13, Ze = R[4] | 0, We = Ze & 8191, Ye = Ze >>> 13, Xe = R[5] | 0, W = Xe & 8191, T = Xe >>> 13, k = R[6] | 0, re = k & 8191, ue = k >>> 13, pe = R[7] | 0, ye = pe & 8191, ke = pe >>> 13, Ve = R[8] | 0, Ne = Ve & 8191, Ge = Ve >>> 13, Ue = R[9] | 0, ze = Ue & 8191, Je = Ue >>> 13;
9696
9696
  p.negative = y.negative ^ g.negative, p.length = 19, A = Math.imul(L, X), w = Math.imul(L, se), w = w + Math.imul(K, X) | 0, M = Math.imul(K, se);
9697
9697
  var Qe = (P + A | 0) + ((w & 8191) << 13) | 0;
9698
9698
  P = (M + (w >>> 13) | 0) + (Qe >>> 26) | 0, Qe &= 67108863, A = Math.imul(H, X), w = Math.imul(H, se), w = w + Math.imul(N, X) | 0, M = Math.imul(N, se), A = A + Math.imul(L, ve) | 0, w = w + Math.imul(L, Ce) | 0, w = w + Math.imul(K, ve) | 0, M = M + Math.imul(K, Ce) | 0;
@@ -9731,19 +9731,19 @@ function requireBn$1() {
9731
9731
  var xr = (P + A | 0) + ((w & 8191) << 13) | 0;
9732
9732
  P = (M + (w >>> 13) | 0) + (xr >>> 26) | 0, xr &= 67108863, A = Math.imul(U, ze), w = Math.imul(U, Je), w = w + Math.imul(I, ze) | 0, M = Math.imul(I, Je);
9733
9733
  var Sr = (P + A | 0) + ((w & 8191) << 13) | 0;
9734
- return P = (M + (w >>> 13) | 0) + (Sr >>> 26) | 0, Sr &= 67108863, B[0] = Qe, B[1] = er, B[2] = fr, B[3] = ur, B[4] = cr, B[5] = nr, B[6] = hr, B[7] = lr, B[8] = dr, B[9] = pr, B[10] = vr, B[11] = br, B[12] = yr, B[13] = gr, B[14] = wr, B[15] = rr, B[16] = _r, B[17] = xr, B[18] = Sr, P !== 0 && (B[19] = P, p.length++), p;
9734
+ return P = (M + (w >>> 13) | 0) + (Sr >>> 26) | 0, Sr &= 67108863, q[0] = Qe, q[1] = er, q[2] = fr, q[3] = ur, q[4] = cr, q[5] = nr, q[6] = hr, q[7] = lr, q[8] = dr, q[9] = pr, q[10] = vr, q[11] = br, q[12] = yr, q[13] = gr, q[14] = wr, q[15] = rr, q[16] = _r, q[17] = xr, q[18] = Sr, P !== 0 && (q[19] = P, p.length++), p;
9735
9735
  };
9736
9736
  Math.imul || (m = b);
9737
- function q(Z, y, g) {
9737
+ function B(Z, y, g) {
9738
9738
  g.negative = y.negative ^ Z.negative, g.length = Z.length + y.length;
9739
9739
  for (var p = 0, _ = 0, R = 0; R < g.length - 1; R++) {
9740
- var B = _;
9740
+ var q = _;
9741
9741
  _ = 0;
9742
9742
  for (var P = p & 67108863, A = Math.min(R, y.length - 1), w = Math.max(0, R - Z.length + 1); w <= A; w++) {
9743
9743
  var M = R - w, x = Z.words[M] | 0, L = y.words[w] | 0, K = x * L, Q = K & 67108863;
9744
- B = B + (K / 67108864 | 0) | 0, Q = Q + P | 0, P = Q & 67108863, B = B + (Q >>> 26) | 0, _ += B >>> 26, B &= 67108863;
9744
+ q = q + (K / 67108864 | 0) | 0, Q = Q + P | 0, P = Q & 67108863, q = q + (Q >>> 26) | 0, _ += q >>> 26, q &= 67108863;
9745
9745
  }
9746
- g.words[R] = P, p = B, B = _;
9746
+ g.words[R] = P, p = q, q = _;
9747
9747
  }
9748
9748
  return p !== 0 ? g.words[R] = p : g.length--, g.strip();
9749
9749
  }
@@ -9753,7 +9753,7 @@ function requireBn$1() {
9753
9753
  }
9754
9754
  r.prototype.mulTo = function(y, g) {
9755
9755
  var p, _ = this.length + y.length;
9756
- return this.length === 10 && y.length === 10 ? p = m(this, y, g) : _ < 63 ? p = b(this, y, g) : _ < 1024 ? p = q(this, y, g) : p = E(this, y, g), p;
9756
+ return this.length === 10 && y.length === 10 ? p = m(this, y, g) : _ < 63 ? p = b(this, y, g) : _ < 1024 ? p = B(this, y, g) : p = E(this, y, g), p;
9757
9757
  };
9758
9758
  function S(Z, y) {
9759
9759
  this.x = Z, this.y = y;
@@ -9767,11 +9767,11 @@ function requireBn$1() {
9767
9767
  for (var _ = 0, R = 0; R < g; R++)
9768
9768
  _ |= (y & 1) << g - R - 1, y >>= 1;
9769
9769
  return _;
9770
- }, S.prototype.permute = function(y, g, p, _, R, B) {
9771
- for (var P = 0; P < B; P++)
9770
+ }, S.prototype.permute = function(y, g, p, _, R, q) {
9771
+ for (var P = 0; P < q; P++)
9772
9772
  _[P] = g[y[P]], R[P] = p[y[P]];
9773
- }, S.prototype.transform = function(y, g, p, _, R, B) {
9774
- this.permute(B, y, g, p, _, R);
9773
+ }, S.prototype.transform = function(y, g, p, _, R, q) {
9774
+ this.permute(q, y, g, p, _, R);
9775
9775
  for (var P = 1; P < R; P <<= 1)
9776
9776
  for (var A = P << 1, w = Math.cos(2 * Math.PI / A), M = Math.sin(2 * Math.PI / A), x = 0; x < R; x += A)
9777
9777
  for (var L = w, K = M, Q = 0; Q < P; Q++) {
@@ -9796,23 +9796,23 @@ function requireBn$1() {
9796
9796
  }
9797
9797
  return y;
9798
9798
  }, S.prototype.convert13b = function(y, g, p, _) {
9799
- for (var R = 0, B = 0; B < g; B++)
9800
- R = R + (y[B] | 0), p[2 * B] = R & 8191, R = R >>> 13, p[2 * B + 1] = R & 8191, R = R >>> 13;
9801
- for (B = 2 * g; B < _; ++B)
9802
- p[B] = 0;
9799
+ for (var R = 0, q = 0; q < g; q++)
9800
+ R = R + (y[q] | 0), p[2 * q] = R & 8191, R = R >>> 13, p[2 * q + 1] = R & 8191, R = R >>> 13;
9801
+ for (q = 2 * g; q < _; ++q)
9802
+ p[q] = 0;
9803
9803
  o(R === 0), o((R & -8192) === 0);
9804
9804
  }, S.prototype.stub = function(y) {
9805
9805
  for (var g = new Array(y), p = 0; p < y; p++)
9806
9806
  g[p] = 0;
9807
9807
  return g;
9808
9808
  }, S.prototype.mulp = function(y, g, p) {
9809
- var _ = 2 * this.guessLen13b(y.length, g.length), R = this.makeRBT(_), B = this.stub(_), P = new Array(_), A = new Array(_), w = new Array(_), M = new Array(_), x = new Array(_), L = new Array(_), K = p.words;
9810
- K.length = _, this.convert13b(y.words, y.length, P, _), this.convert13b(g.words, g.length, M, _), this.transform(P, B, A, w, _, R), this.transform(M, B, x, L, _, R);
9809
+ var _ = 2 * this.guessLen13b(y.length, g.length), R = this.makeRBT(_), q = this.stub(_), P = new Array(_), A = new Array(_), w = new Array(_), M = new Array(_), x = new Array(_), L = new Array(_), K = p.words;
9810
+ K.length = _, this.convert13b(y.words, y.length, P, _), this.convert13b(g.words, g.length, M, _), this.transform(P, q, A, w, _, R), this.transform(M, q, x, L, _, R);
9811
9811
  for (var Q = 0; Q < _; Q++) {
9812
9812
  var H = A[Q] * x[Q] - w[Q] * L[Q];
9813
9813
  w[Q] = A[Q] * L[Q] + w[Q] * x[Q], A[Q] = H;
9814
9814
  }
9815
- return this.conjugate(A, w, _), this.transform(A, w, K, B, _, R), this.conjugate(K, B, _), this.normalize13b(K, _), p.negative = y.negative ^ g.negative, p.length = y.length + g.length, p.strip();
9815
+ return this.conjugate(A, w, _), this.transform(A, w, K, q, _, R), this.conjugate(K, q, _), this.normalize13b(K, _), p.negative = y.negative ^ g.negative, p.length = y.length + g.length, p.strip();
9816
9816
  }, r.prototype.mul = function(y) {
9817
9817
  var g = new r(null);
9818
9818
  return g.words = new Array(this.length + y.length), this.mulTo(y, g);
@@ -9847,12 +9847,12 @@ function requireBn$1() {
9847
9847
  o(typeof y == "number" && y >= 0);
9848
9848
  var g = y % 26, p = (y - g) / 26, _ = 67108863 >>> 26 - g << 26 - g, R;
9849
9849
  if (g !== 0) {
9850
- var B = 0;
9850
+ var q = 0;
9851
9851
  for (R = 0; R < this.length; R++) {
9852
9852
  var P = this.words[R] & _, A = (this.words[R] | 0) - P << g;
9853
- this.words[R] = A | B, B = P >>> 26 - g;
9853
+ this.words[R] = A | q, q = P >>> 26 - g;
9854
9854
  }
9855
- B && (this.words[R] = B, this.length++);
9855
+ q && (this.words[R] = q, this.length++);
9856
9856
  }
9857
9857
  if (p !== 0) {
9858
9858
  for (R = this.length - 1; R >= 0; R--)
@@ -9868,15 +9868,15 @@ function requireBn$1() {
9868
9868
  o(typeof y == "number" && y >= 0);
9869
9869
  var _;
9870
9870
  g ? _ = (g - g % 26) / 26 : _ = 0;
9871
- var R = y % 26, B = Math.min((y - R) / 26, this.length), P = 67108863 ^ 67108863 >>> R << R, A = p;
9872
- if (_ -= B, _ = Math.max(0, _), A) {
9873
- for (var w = 0; w < B; w++)
9871
+ var R = y % 26, q = Math.min((y - R) / 26, this.length), P = 67108863 ^ 67108863 >>> R << R, A = p;
9872
+ if (_ -= q, _ = Math.max(0, _), A) {
9873
+ for (var w = 0; w < q; w++)
9874
9874
  A.words[w] = this.words[w];
9875
- A.length = B;
9875
+ A.length = q;
9876
9876
  }
9877
- if (B !== 0) if (this.length > B)
9878
- for (this.length -= B, w = 0; w < this.length; w++)
9879
- this.words[w] = this.words[w + B];
9877
+ if (q !== 0) if (this.length > q)
9878
+ for (this.length -= q, w = 0; w < this.length; w++)
9879
+ this.words[w] = this.words[w + q];
9880
9880
  else
9881
9881
  this.words[0] = 0, this.length = 1;
9882
9882
  var M = 0;
@@ -9941,21 +9941,21 @@ function requireBn$1() {
9941
9941
  }, r.prototype._ishlnsubmul = function(y, g, p) {
9942
9942
  var _ = y.length + p, R;
9943
9943
  this._expand(_);
9944
- var B, P = 0;
9944
+ var q, P = 0;
9945
9945
  for (R = 0; R < y.length; R++) {
9946
- B = (this.words[R + p] | 0) + P;
9946
+ q = (this.words[R + p] | 0) + P;
9947
9947
  var A = (y.words[R] | 0) * g;
9948
- B -= A & 67108863, P = (B >> 26) - (A / 67108864 | 0), this.words[R + p] = B & 67108863;
9948
+ q -= A & 67108863, P = (q >> 26) - (A / 67108864 | 0), this.words[R + p] = q & 67108863;
9949
9949
  }
9950
9950
  for (; R < this.length - p; R++)
9951
- B = (this.words[R + p] | 0) + P, P = B >> 26, this.words[R + p] = B & 67108863;
9951
+ q = (this.words[R + p] | 0) + P, P = q >> 26, this.words[R + p] = q & 67108863;
9952
9952
  if (P === 0) return this.strip();
9953
9953
  for (o(P === -1), P = 0, R = 0; R < this.length; R++)
9954
- B = -(this.words[R] | 0) + P, P = B >> 26, this.words[R] = B & 67108863;
9954
+ q = -(this.words[R] | 0) + P, P = q >> 26, this.words[R] = q & 67108863;
9955
9955
  return this.negative = 1, this.strip();
9956
9956
  }, r.prototype._wordDiv = function(y, g) {
9957
- var p = this.length - y.length, _ = this.clone(), R = y, B = R.words[R.length - 1] | 0, P = this._countBits(B);
9958
- p = 26 - P, p !== 0 && (R = R.ushln(p), _.iushln(p), B = R.words[R.length - 1] | 0);
9957
+ var p = this.length - y.length, _ = this.clone(), R = y, q = R.words[R.length - 1] | 0, P = this._countBits(q);
9958
+ p = 26 - P, p !== 0 && (R = R.ushln(p), _.iushln(p), q = R.words[R.length - 1] | 0);
9959
9959
  var A = _.length - R.length, w;
9960
9960
  if (g !== "mod") {
9961
9961
  w = new r(null), w.length = A + 1, w.words = new Array(w.length);
@@ -9966,7 +9966,7 @@ function requireBn$1() {
9966
9966
  x.negative === 0 && (_ = x, w && (w.words[A] = 1));
9967
9967
  for (var L = A - 1; L >= 0; L--) {
9968
9968
  var K = (_.words[R.length + L] | 0) * 67108864 + (_.words[R.length + L - 1] | 0);
9969
- for (K = Math.min(K / B | 0, 67108863), _._ishlnsubmul(R, K, L); _.negative !== 0; )
9969
+ for (K = Math.min(K / q | 0, 67108863), _._ishlnsubmul(R, K, L); _.negative !== 0; )
9970
9970
  K--, _.negative = 0, _._ishlnsubmul(R, 1, L), _.isZero() || (_.negative ^= 1);
9971
9971
  w && (w.words[L] = K);
9972
9972
  }
@@ -9980,15 +9980,15 @@ function requireBn$1() {
9980
9980
  div: new r(0),
9981
9981
  mod: new r(0)
9982
9982
  };
9983
- var _, R, B;
9984
- return this.negative !== 0 && y.negative === 0 ? (B = this.neg().divmod(y, g), g !== "mod" && (_ = B.div.neg()), g !== "div" && (R = B.mod.neg(), p && R.negative !== 0 && R.iadd(y)), {
9983
+ var _, R, q;
9984
+ return this.negative !== 0 && y.negative === 0 ? (q = this.neg().divmod(y, g), g !== "mod" && (_ = q.div.neg()), g !== "div" && (R = q.mod.neg(), p && R.negative !== 0 && R.iadd(y)), {
9985
9985
  div: _,
9986
9986
  mod: R
9987
- }) : this.negative === 0 && y.negative !== 0 ? (B = this.divmod(y.neg(), g), g !== "mod" && (_ = B.div.neg()), {
9987
+ }) : this.negative === 0 && y.negative !== 0 ? (q = this.divmod(y.neg(), g), g !== "mod" && (_ = q.div.neg()), {
9988
9988
  div: _,
9989
- mod: B.mod
9990
- }) : (this.negative & y.negative) !== 0 ? (B = this.neg().divmod(y.neg(), g), g !== "div" && (R = B.mod.neg(), p && R.negative !== 0 && R.isub(y)), {
9991
- div: B.div,
9989
+ mod: q.mod
9990
+ }) : (this.negative & y.negative) !== 0 ? (q = this.neg().divmod(y.neg(), g), g !== "div" && (R = q.mod.neg(), p && R.negative !== 0 && R.isub(y)), {
9991
+ div: q.div,
9992
9992
  mod: R
9993
9993
  }) : y.length > this.length || this.cmp(y) < 0 ? {
9994
9994
  div: new r(0),
@@ -10012,8 +10012,8 @@ function requireBn$1() {
10012
10012
  }, r.prototype.divRound = function(y) {
10013
10013
  var g = this.divmod(y);
10014
10014
  if (g.mod.isZero()) return g.div;
10015
- var p = g.div.negative !== 0 ? g.mod.isub(y) : g.mod, _ = y.ushrn(1), R = y.andln(1), B = p.cmp(_);
10016
- return B < 0 || R === 1 && B === 0 ? g.div : g.div.negative !== 0 ? g.div.isubn(1) : g.div.iaddn(1);
10015
+ var p = g.div.negative !== 0 ? g.mod.isub(y) : g.mod, _ = y.ushrn(1), R = y.andln(1), q = p.cmp(_);
10016
+ return q < 0 || R === 1 && q === 0 ? g.div : g.div.negative !== 0 ? g.div.isubn(1) : g.div.iaddn(1);
10017
10017
  }, r.prototype.modn = function(y) {
10018
10018
  o(y <= 67108863);
10019
10019
  for (var g = (1 << 26) % y, p = 0, _ = this.length - 1; _ >= 0; _--)
@@ -10032,7 +10032,7 @@ function requireBn$1() {
10032
10032
  o(y.negative === 0), o(!y.isZero());
10033
10033
  var g = this, p = y.clone();
10034
10034
  g.negative !== 0 ? g = g.umod(y) : g = g.clone();
10035
- for (var _ = new r(1), R = new r(0), B = new r(0), P = new r(1), A = 0; g.isEven() && p.isEven(); )
10035
+ for (var _ = new r(1), R = new r(0), q = new r(0), P = new r(1), A = 0; g.isEven() && p.isEven(); )
10036
10036
  g.iushrn(1), p.iushrn(1), ++A;
10037
10037
  for (var w = p.clone(), M = g.clone(); !g.isZero(); ) {
10038
10038
  for (var x = 0, L = 1; (g.words[0] & L) === 0 && x < 26; ++x, L <<= 1) ;
@@ -10042,11 +10042,11 @@ function requireBn$1() {
10042
10042
  for (var K = 0, Q = 1; (p.words[0] & Q) === 0 && K < 26; ++K, Q <<= 1) ;
10043
10043
  if (K > 0)
10044
10044
  for (p.iushrn(K); K-- > 0; )
10045
- (B.isOdd() || P.isOdd()) && (B.iadd(w), P.isub(M)), B.iushrn(1), P.iushrn(1);
10046
- g.cmp(p) >= 0 ? (g.isub(p), _.isub(B), R.isub(P)) : (p.isub(g), B.isub(_), P.isub(R));
10045
+ (q.isOdd() || P.isOdd()) && (q.iadd(w), P.isub(M)), q.iushrn(1), P.iushrn(1);
10046
+ g.cmp(p) >= 0 ? (g.isub(p), _.isub(q), R.isub(P)) : (p.isub(g), q.isub(_), P.isub(R));
10047
10047
  }
10048
10048
  return {
10049
- a: B,
10049
+ a: q,
10050
10050
  b: P,
10051
10051
  gcd: p.iushln(A)
10052
10052
  };
@@ -10054,15 +10054,15 @@ function requireBn$1() {
10054
10054
  o(y.negative === 0), o(!y.isZero());
10055
10055
  var g = this, p = y.clone();
10056
10056
  g.negative !== 0 ? g = g.umod(y) : g = g.clone();
10057
- for (var _ = new r(1), R = new r(0), B = p.clone(); g.cmpn(1) > 0 && p.cmpn(1) > 0; ) {
10057
+ for (var _ = new r(1), R = new r(0), q = p.clone(); g.cmpn(1) > 0 && p.cmpn(1) > 0; ) {
10058
10058
  for (var P = 0, A = 1; (g.words[0] & A) === 0 && P < 26; ++P, A <<= 1) ;
10059
10059
  if (P > 0)
10060
10060
  for (g.iushrn(P); P-- > 0; )
10061
- _.isOdd() && _.iadd(B), _.iushrn(1);
10061
+ _.isOdd() && _.iadd(q), _.iushrn(1);
10062
10062
  for (var w = 0, M = 1; (p.words[0] & M) === 0 && w < 26; ++w, M <<= 1) ;
10063
10063
  if (w > 0)
10064
10064
  for (p.iushrn(w); w-- > 0; )
10065
- R.isOdd() && R.iadd(B), R.iushrn(1);
10065
+ R.isOdd() && R.iadd(q), R.iushrn(1);
10066
10066
  g.cmp(p) >= 0 ? (g.isub(p), _.isub(R)) : (p.isub(g), R.isub(_));
10067
10067
  }
10068
10068
  var x;
@@ -10081,8 +10081,8 @@ function requireBn$1() {
10081
10081
  p.iushrn(1);
10082
10082
  var R = g.cmp(p);
10083
10083
  if (R < 0) {
10084
- var B = g;
10085
- g = p, p = B;
10084
+ var q = g;
10085
+ g = p, p = q;
10086
10086
  } else if (R === 0 || p.cmpn(1) === 0)
10087
10087
  break;
10088
10088
  g.isub(p);
@@ -10101,11 +10101,11 @@ function requireBn$1() {
10101
10101
  var g = y % 26, p = (y - g) / 26, _ = 1 << g;
10102
10102
  if (this.length <= p)
10103
10103
  return this._expand(p + 1), this.words[p] |= _, this;
10104
- for (var R = _, B = p; R !== 0 && B < this.length; B++) {
10105
- var P = this.words[B] | 0;
10106
- P += R, R = P >>> 26, P &= 67108863, this.words[B] = P;
10104
+ for (var R = _, q = p; R !== 0 && q < this.length; q++) {
10105
+ var P = this.words[q] | 0;
10106
+ P += R, R = P >>> 26, P &= 67108863, this.words[q] = P;
10107
10107
  }
10108
- return R !== 0 && (this.words[B] = R, this.length++), this;
10108
+ return R !== 0 && (this.words[q] = R, this.length++), this;
10109
10109
  }, r.prototype.isZero = function() {
10110
10110
  return this.length === 1 && this.words[0] === 0;
10111
10111
  }, r.prototype.cmpn = function(y) {
@@ -10233,12 +10233,12 @@ function requireBn$1() {
10233
10233
  y.words[0] = 0, y.length = 1;
10234
10234
  return;
10235
10235
  }
10236
- var B = y.words[9];
10237
- for (g.words[g.length++] = B & p, R = 10; R < y.length; R++) {
10236
+ var q = y.words[9];
10237
+ for (g.words[g.length++] = q & p, R = 10; R < y.length; R++) {
10238
10238
  var P = y.words[R] | 0;
10239
- y.words[R - 10] = (P & p) << 4 | B >>> 22, B = P;
10239
+ y.words[R - 10] = (P & p) << 4 | q >>> 22, q = P;
10240
10240
  }
10241
- B >>>= 22, y.words[R - 10] = B, B === 0 && y.length > 10 ? y.length -= 10 : y.length -= 9;
10241
+ q >>>= 22, y.words[R - 10] = q, q === 0 && y.length > 10 ? y.length -= 10 : y.length -= 9;
10242
10242
  }, $.prototype.imulK = function(y) {
10243
10243
  y.words[y.length] = 0, y.words[y.length + 1] = 0, y.length += 2;
10244
10244
  for (var g = 0, p = 0; p < y.length; p++) {
@@ -10345,11 +10345,11 @@ function requireBn$1() {
10345
10345
  for (var _ = this.m.subn(1), R = 0; !_.isZero() && _.andln(1) === 0; )
10346
10346
  R++, _.iushrn(1);
10347
10347
  o(!_.isZero());
10348
- var B = new r(1).toRed(this), P = B.redNeg(), A = this.m.subn(1).iushrn(1), w = this.m.bitLength();
10348
+ var q = new r(1).toRed(this), P = q.redNeg(), A = this.m.subn(1).iushrn(1), w = this.m.bitLength();
10349
10349
  for (w = new r(2 * w * w).toRed(this); this.pow(w, A).cmp(P) !== 0; )
10350
10350
  w.redIAdd(P);
10351
- for (var M = this.pow(w, _), x = this.pow(y, _.addn(1).iushrn(1)), L = this.pow(y, _), K = R; L.cmp(B) !== 0; ) {
10352
- for (var Q = L, H = 0; Q.cmp(B) !== 0; H++)
10351
+ for (var M = this.pow(w, _), x = this.pow(y, _.addn(1).iushrn(1)), L = this.pow(y, _), K = R; L.cmp(q) !== 0; ) {
10352
+ for (var Q = L, H = 0; Q.cmp(q) !== 0; H++)
10353
10353
  Q = Q.redSqr();
10354
10354
  o(H < K);
10355
10355
  var N = this.pow(M, new r(1).iushln(K - H - 1));
@@ -10366,19 +10366,19 @@ function requireBn$1() {
10366
10366
  _[0] = new r(1).toRed(this), _[1] = y;
10367
10367
  for (var R = 2; R < _.length; R++)
10368
10368
  _[R] = this.mul(_[R - 1], y);
10369
- var B = _[0], P = 0, A = 0, w = g.bitLength() % 26;
10369
+ var q = _[0], P = 0, A = 0, w = g.bitLength() % 26;
10370
10370
  for (w === 0 && (w = 26), R = g.length - 1; R >= 0; R--) {
10371
10371
  for (var M = g.words[R], x = w - 1; x >= 0; x--) {
10372
10372
  var L = M >> x & 1;
10373
- if (B !== _[0] && (B = this.sqr(B)), L === 0 && P === 0) {
10373
+ if (q !== _[0] && (q = this.sqr(q)), L === 0 && P === 0) {
10374
10374
  A = 0;
10375
10375
  continue;
10376
10376
  }
10377
- P <<= 1, P |= L, A++, !(A !== p && (R !== 0 || x !== 0)) && (B = this.mul(B, _[P]), A = 0, P = 0);
10377
+ P <<= 1, P |= L, A++, !(A !== p && (R !== 0 || x !== 0)) && (q = this.mul(q, _[P]), A = 0, P = 0);
10378
10378
  }
10379
10379
  w = 26;
10380
10380
  }
10381
- return B;
10381
+ return q;
10382
10382
  }, ne.prototype.convertTo = function(y) {
10383
10383
  var g = y.umod(this.m);
10384
10384
  return g === y ? g.clone() : g;
@@ -10399,12 +10399,12 @@ function requireBn$1() {
10399
10399
  }, de.prototype.imul = function(y, g) {
10400
10400
  if (y.isZero() || g.isZero())
10401
10401
  return y.words[0] = 0, y.length = 1, y;
10402
- var p = y.imul(g), _ = p.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), R = p.isub(_).iushrn(this.shift), B = R;
10403
- return R.cmp(this.m) >= 0 ? B = R.isub(this.m) : R.cmpn(0) < 0 && (B = R.iadd(this.m)), B._forceRed(this);
10402
+ var p = y.imul(g), _ = p.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), R = p.isub(_).iushrn(this.shift), q = R;
10403
+ return R.cmp(this.m) >= 0 ? q = R.isub(this.m) : R.cmpn(0) < 0 && (q = R.iadd(this.m)), q._forceRed(this);
10404
10404
  }, de.prototype.mul = function(y, g) {
10405
10405
  if (y.isZero() || g.isZero()) return new r(0)._forceRed(this);
10406
- var p = y.mul(g), _ = p.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), R = p.isub(_).iushrn(this.shift), B = R;
10407
- return R.cmp(this.m) >= 0 ? B = R.isub(this.m) : R.cmpn(0) < 0 && (B = R.iadd(this.m)), B._forceRed(this);
10406
+ var p = y.mul(g), _ = p.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), R = p.isub(_).iushrn(this.shift), q = R;
10407
+ return R.cmp(this.m) >= 0 ? q = R.isub(this.m) : R.cmpn(0) < 0 && (q = R.iadd(this.m)), q._forceRed(this);
10408
10408
  }, de.prototype.invm = function(y) {
10409
10409
  var g = this.imod(y._invmp(this.m).mul(this.r2));
10410
10410
  return g._forceRed(this);
@@ -10480,12 +10480,12 @@ function requireMr() {
10480
10480
  for (var l = d.shrn(s), v = e.toRed(a), b = !0; r > 0; r--) {
10481
10481
  var m = this._randrange(new c(2), e);
10482
10482
  h && h(m);
10483
- var q = m.toRed(a).redPow(l);
10484
- if (!(q.cmp(n) === 0 || q.cmp(v) === 0)) {
10483
+ var B = m.toRed(a).redPow(l);
10484
+ if (!(B.cmp(n) === 0 || B.cmp(v) === 0)) {
10485
10485
  for (var E = 1; E < s; E++) {
10486
- if (q = q.redSqr(), q.cmp(n) === 0)
10486
+ if (B = B.redSqr(), B.cmp(n) === 0)
10487
10487
  return !1;
10488
- if (q.cmp(v) === 0)
10488
+ if (B.cmp(v) === 0)
10489
10489
  break;
10490
10490
  }
10491
10491
  if (E === s)
@@ -10504,13 +10504,13 @@ function requireMr() {
10504
10504
  return b;
10505
10505
  var m = v.toRed(f).redPow(s);
10506
10506
  if (!(m.cmp(a) === 0 || m.cmp(l) === 0)) {
10507
- for (var q = 1; q < e; q++) {
10507
+ for (var B = 1; B < e; B++) {
10508
10508
  if (m = m.redSqr(), m.cmp(a) === 0)
10509
10509
  return m.fromRed().subn(1).gcd(d);
10510
10510
  if (m.cmp(l) === 0)
10511
10511
  break;
10512
10512
  }
10513
- if (q === e)
10513
+ if (B === e)
10514
10514
  return m = m.redSqr(), m.fromRed().subn(1).gcd(d);
10515
10515
  }
10516
10516
  }
@@ -10522,7 +10522,7 @@ function requireGeneratePrime() {
10522
10522
  if (hasRequiredGeneratePrime) return generatePrime;
10523
10523
  hasRequiredGeneratePrime = 1;
10524
10524
  var c = requireBrowser$b();
10525
- generatePrime = q, q.simpleSieve = b, q.fermatTest = m;
10525
+ generatePrime = B, B.simpleSieve = b, B.fermatTest = m;
10526
10526
  var t = requireBn$1(), u = new t(24), o = requireMr(), d = new o(), r = new t(1), h = new t(2), f = new t(5);
10527
10527
  new t(16), new t(8);
10528
10528
  var a = new t(10), n = new t(3);
@@ -10552,7 +10552,7 @@ function requireGeneratePrime() {
10552
10552
  var S = t.mont(E);
10553
10553
  return h.toRed(S).redPow(E.subn(1)).fromRed().cmpn(1) === 0;
10554
10554
  }
10555
- function q(E, S) {
10555
+ function B(E, S) {
10556
10556
  if (E < 16)
10557
10557
  return S === 2 || S === 5 ? new t([140, 123]) : new t([140, 39]);
10558
10558
  S = new t(S);
@@ -10587,36 +10587,36 @@ function requireDh() {
10587
10587
  hasRequiredDh = 1;
10588
10588
  var c = requireBn$1(), t = requireMr(), u = new t(), o = new c(24), d = new c(11), r = new c(10), h = new c(3), f = new c(7), a = requireGeneratePrime(), n = requireBrowser$b();
10589
10589
  dh = b;
10590
- function e(q, E) {
10591
- return E = E || "utf8", Buffer.isBuffer(q) || (q = new Buffer(q, E)), this._pub = new c(q), this;
10590
+ function e(B, E) {
10591
+ return E = E || "utf8", Buffer.isBuffer(B) || (B = new Buffer(B, E)), this._pub = new c(B), this;
10592
10592
  }
10593
- function s(q, E) {
10594
- return E = E || "utf8", Buffer.isBuffer(q) || (q = new Buffer(q, E)), this._priv = new c(q), this;
10593
+ function s(B, E) {
10594
+ return E = E || "utf8", Buffer.isBuffer(B) || (B = new Buffer(B, E)), this._priv = new c(B), this;
10595
10595
  }
10596
10596
  var l = {};
10597
- function v(q, E) {
10598
- var S = E.toString("hex"), O = [S, q.toString(16)].join("_");
10597
+ function v(B, E) {
10598
+ var S = E.toString("hex"), O = [S, B.toString(16)].join("_");
10599
10599
  if (O in l)
10600
10600
  return l[O];
10601
10601
  var D = 0;
10602
- if (q.isEven() || !a.simpleSieve || !a.fermatTest(q) || !u.test(q))
10602
+ if (B.isEven() || !a.simpleSieve || !a.fermatTest(B) || !u.test(B))
10603
10603
  return D += 1, S === "02" || S === "05" ? D += 8 : D += 4, l[O] = D, D;
10604
- u.test(q.shrn(1)) || (D += 2);
10604
+ u.test(B.shrn(1)) || (D += 2);
10605
10605
  var $;
10606
10606
  switch (S) {
10607
10607
  case "02":
10608
- q.mod(o).cmp(d) && (D += 8);
10608
+ B.mod(o).cmp(d) && (D += 8);
10609
10609
  break;
10610
10610
  case "05":
10611
- $ = q.mod(r), $.cmp(h) && $.cmp(f) && (D += 8);
10611
+ $ = B.mod(r), $.cmp(h) && $.cmp(f) && (D += 8);
10612
10612
  break;
10613
10613
  default:
10614
10614
  D += 4;
10615
10615
  }
10616
10616
  return l[O] = D, D;
10617
10617
  }
10618
- function b(q, E, S) {
10619
- this.setGenerator(E), this.__prime = new c(q), this._prime = c.mont(this.__prime), this._primeLen = q.length, this._pub = void 0, this._priv = void 0, this._primeCode = void 0, S ? (this.setPublicKey = e, this.setPrivateKey = s) : this._primeCode = 8;
10618
+ function b(B, E, S) {
10619
+ this.setGenerator(E), this.__prime = new c(B), this._prime = c.mont(this.__prime), this._primeLen = B.length, this._pub = void 0, this._priv = void 0, this._primeCode = void 0, S ? (this.setPublicKey = e, this.setPrivateKey = s) : this._primeCode = 8;
10620
10620
  }
10621
10621
  Object.defineProperty(b.prototype, "verifyError", {
10622
10622
  enumerable: !0,
@@ -10625,9 +10625,9 @@ function requireDh() {
10625
10625
  }
10626
10626
  }), b.prototype.generateKeys = function() {
10627
10627
  return this._priv || (this._priv = new c(n(this._primeLen))), this._pub = this._gen.toRed(this._prime).redPow(this._priv).fromRed(), this.getPublicKey();
10628
- }, b.prototype.computeSecret = function(q) {
10629
- q = new c(q), q = q.toRed(this._prime);
10630
- var E = q.redPow(this._priv).fromRed(), S = new Buffer(E.toArray()), O = this.getPrime();
10628
+ }, b.prototype.computeSecret = function(B) {
10629
+ B = new c(B), B = B.toRed(this._prime);
10630
+ var E = B.redPow(this._priv).fromRed(), S = new Buffer(E.toArray()), O = this.getPrime();
10631
10631
  if (S.length < O.length) {
10632
10632
  var D = new Buffer(O.length - S.length);
10633
10633
  D.fill(0), S = Buffer.concat([D, S]);
@@ -10637,15 +10637,15 @@ function requireDh() {
10637
10637
  return m(this._pub, E);
10638
10638
  }, b.prototype.getPrivateKey = function(E) {
10639
10639
  return m(this._priv, E);
10640
- }, b.prototype.getPrime = function(q) {
10641
- return m(this.__prime, q);
10642
- }, b.prototype.getGenerator = function(q) {
10643
- return m(this._gen, q);
10644
- }, b.prototype.setGenerator = function(q, E) {
10645
- return E = E || "utf8", Buffer.isBuffer(q) || (q = new Buffer(q, E)), this.__gen = q, this._gen = new c(q), this;
10640
+ }, b.prototype.getPrime = function(B) {
10641
+ return m(this.__prime, B);
10642
+ }, b.prototype.getGenerator = function(B) {
10643
+ return m(this._gen, B);
10644
+ }, b.prototype.setGenerator = function(B, E) {
10645
+ return E = E || "utf8", Buffer.isBuffer(B) || (B = new Buffer(B, E)), this.__gen = B, this._gen = new c(B), this;
10646
10646
  };
10647
- function m(q, E) {
10648
- var S = new Buffer(q.toArray());
10647
+ function m(B, E) {
10648
+ var S = new Buffer(B.toArray());
10649
10649
  return E ? S.toString(E) : S;
10650
10650
  }
10651
10651
  return dh;
@@ -10705,8 +10705,8 @@ function requireBn() {
10705
10705
  if (typeof p == "object")
10706
10706
  return this._initArray(p, _, R);
10707
10707
  _ === "hex" && (_ = 16), o(_ === (_ | 0) && _ >= 2 && _ <= 36), p = p.toString().replace(/\s+/g, "");
10708
- var B = 0;
10709
- p[0] === "-" && (B++, this.negative = 1), B < p.length && (_ === 16 ? this._parseHex(p, B, R) : (this._parseBase(p, _, B), R === "le" && this._initArray(this.toArray(), _, R)));
10708
+ var q = 0;
10709
+ p[0] === "-" && (q++, this.negative = 1), q < p.length && (_ === 16 ? this._parseHex(p, q, R) : (this._parseBase(p, _, q), R === "le" && this._initArray(this.toArray(), _, R)));
10710
10710
  }, r.prototype._initNumber = function(p, _, R) {
10711
10711
  p < 0 && (this.negative = 1, p = -p), p < 67108864 ? (this.words = [p & 67108863], this.length = 1) : p < 4503599627370496 ? (this.words = [
10712
10712
  p & 67108863,
@@ -10720,15 +10720,15 @@ function requireBn() {
10720
10720
  if (o(typeof p.length == "number"), p.length <= 0)
10721
10721
  return this.words = [0], this.length = 1, this;
10722
10722
  this.length = Math.ceil(p.length / 3), this.words = new Array(this.length);
10723
- for (var B = 0; B < this.length; B++)
10724
- this.words[B] = 0;
10723
+ for (var q = 0; q < this.length; q++)
10724
+ this.words[q] = 0;
10725
10725
  var P, A, w = 0;
10726
10726
  if (R === "be")
10727
- for (B = p.length - 1, P = 0; B >= 0; B -= 3)
10728
- A = p[B] | p[B - 1] << 8 | p[B - 2] << 16, this.words[P] |= A << w & 67108863, this.words[P + 1] = A >>> 26 - w & 67108863, w += 24, w >= 26 && (w -= 26, P++);
10727
+ for (q = p.length - 1, P = 0; q >= 0; q -= 3)
10728
+ A = p[q] | p[q - 1] << 8 | p[q - 2] << 16, this.words[P] |= A << w & 67108863, this.words[P + 1] = A >>> 26 - w & 67108863, w += 24, w >= 26 && (w -= 26, P++);
10729
10729
  else if (R === "le")
10730
- for (B = 0, P = 0; B < p.length; B += 3)
10731
- A = p[B] | p[B + 1] << 8 | p[B + 2] << 16, this.words[P] |= A << w & 67108863, this.words[P + 1] = A >>> 26 - w & 67108863, w += 24, w >= 26 && (w -= 26, P++);
10730
+ for (q = 0, P = 0; q < p.length; q += 3)
10731
+ A = p[q] | p[q + 1] << 8 | p[q + 2] << 16, this.words[P] |= A << w & 67108863, this.words[P + 1] = A >>> 26 - w & 67108863, w += 24, w >= 26 && (w -= 26, P++);
10732
10732
  return this._strip();
10733
10733
  };
10734
10734
  function f(g, p) {
@@ -10747,33 +10747,33 @@ function requireBn() {
10747
10747
  }
10748
10748
  r.prototype._parseHex = function(p, _, R) {
10749
10749
  this.length = Math.ceil((p.length - _) / 6), this.words = new Array(this.length);
10750
- for (var B = 0; B < this.length; B++)
10751
- this.words[B] = 0;
10750
+ for (var q = 0; q < this.length; q++)
10751
+ this.words[q] = 0;
10752
10752
  var P = 0, A = 0, w;
10753
10753
  if (R === "be")
10754
- for (B = p.length - 1; B >= _; B -= 2)
10755
- w = a(p, _, B) << P, this.words[A] |= w & 67108863, P >= 18 ? (P -= 18, A += 1, this.words[A] |= w >>> 26) : P += 8;
10754
+ for (q = p.length - 1; q >= _; q -= 2)
10755
+ w = a(p, _, q) << P, this.words[A] |= w & 67108863, P >= 18 ? (P -= 18, A += 1, this.words[A] |= w >>> 26) : P += 8;
10756
10756
  else {
10757
10757
  var M = p.length - _;
10758
- for (B = M % 2 === 0 ? _ + 1 : _; B < p.length; B += 2)
10759
- w = a(p, _, B) << P, this.words[A] |= w & 67108863, P >= 18 ? (P -= 18, A += 1, this.words[A] |= w >>> 26) : P += 8;
10758
+ for (q = M % 2 === 0 ? _ + 1 : _; q < p.length; q += 2)
10759
+ w = a(p, _, q) << P, this.words[A] |= w & 67108863, P >= 18 ? (P -= 18, A += 1, this.words[A] |= w >>> 26) : P += 8;
10760
10760
  }
10761
10761
  this._strip();
10762
10762
  };
10763
10763
  function n(g, p, _, R) {
10764
- for (var B = 0, P = 0, A = Math.min(g.length, _), w = p; w < A; w++) {
10764
+ for (var q = 0, P = 0, A = Math.min(g.length, _), w = p; w < A; w++) {
10765
10765
  var M = g.charCodeAt(w) - 48;
10766
- B *= R, M >= 49 ? P = M - 49 + 10 : M >= 17 ? P = M - 17 + 10 : P = M, o(M >= 0 && P < R, "Invalid character"), B += P;
10766
+ q *= R, M >= 49 ? P = M - 49 + 10 : M >= 17 ? P = M - 17 + 10 : P = M, o(M >= 0 && P < R, "Invalid character"), q += P;
10767
10767
  }
10768
- return B;
10768
+ return q;
10769
10769
  }
10770
10770
  r.prototype._parseBase = function(p, _, R) {
10771
10771
  this.words = [0], this.length = 1;
10772
- for (var B = 0, P = 1; P <= 67108863; P *= _)
10773
- B++;
10774
- B--, P = P / _ | 0;
10775
- for (var A = p.length - R, w = A % B, M = Math.min(A, A - w) + R, x = 0, L = R; L < M; L += B)
10776
- x = n(p, L, L + B, _), this.imuln(P), this.words[0] + x < 67108864 ? this.words[0] += x : this._iaddn(x);
10772
+ for (var q = 0, P = 1; P <= 67108863; P *= _)
10773
+ q++;
10774
+ q--, P = P / _ | 0;
10775
+ for (var A = p.length - R, w = A % q, M = Math.min(A, A - w) + R, x = 0, L = R; L < M; L += q)
10776
+ x = n(p, L, L + q, _), this.imuln(P), this.words[0] + x < 67108864 ? this.words[0] += x : this._iaddn(x);
10777
10777
  if (w !== 0) {
10778
10778
  var K = 1;
10779
10779
  for (x = n(p, L, p.length, _), L = 0; L < w; L++)
@@ -10925,9 +10925,9 @@ function requireBn() {
10925
10925
  var R;
10926
10926
  if (p === 16 || p === "hex") {
10927
10927
  R = "";
10928
- for (var B = 0, P = 0, A = 0; A < this.length; A++) {
10929
- var w = this.words[A], M = ((w << B | P) & 16777215).toString(16);
10930
- P = w >>> 24 - B & 16777215, B += 2, B >= 26 && (B -= 26, A--), P !== 0 || A !== this.length - 1 ? R = l[6 - M.length] + M + R : R = M + R;
10928
+ for (var q = 0, P = 0, A = 0; A < this.length; A++) {
10929
+ var w = this.words[A], M = ((w << q | P) & 16777215).toString(16);
10930
+ P = w >>> 24 - q & 16777215, q += 2, q >= 26 && (q -= 26, A--), P !== 0 || A !== this.length - 1 ? R = l[6 - M.length] + M + R : R = M + R;
10931
10931
  }
10932
10932
  for (P !== 0 && (R = P.toString(16) + R); R.length % _ !== 0; )
10933
10933
  R = "0" + R;
@@ -10961,25 +10961,25 @@ function requireBn() {
10961
10961
  };
10962
10962
  r.prototype.toArrayLike = function(p, _, R) {
10963
10963
  this._strip();
10964
- var B = this.byteLength(), P = R || Math.max(1, B);
10965
- o(B <= P, "byte array longer than desired length"), o(P > 0, "Requested array length <= 0");
10964
+ var q = this.byteLength(), P = R || Math.max(1, q);
10965
+ o(q <= P, "byte array longer than desired length"), o(P > 0, "Requested array length <= 0");
10966
10966
  var A = m(p, P), w = _ === "le" ? "LE" : "BE";
10967
- return this["_toArrayLike" + w](A, B), A;
10967
+ return this["_toArrayLike" + w](A, q), A;
10968
10968
  }, r.prototype._toArrayLikeLE = function(p, _) {
10969
- for (var R = 0, B = 0, P = 0, A = 0; P < this.length; P++) {
10970
- var w = this.words[P] << A | B;
10971
- p[R++] = w & 255, R < p.length && (p[R++] = w >> 8 & 255), R < p.length && (p[R++] = w >> 16 & 255), A === 6 ? (R < p.length && (p[R++] = w >> 24 & 255), B = 0, A = 0) : (B = w >>> 24, A += 2);
10969
+ for (var R = 0, q = 0, P = 0, A = 0; P < this.length; P++) {
10970
+ var w = this.words[P] << A | q;
10971
+ p[R++] = w & 255, R < p.length && (p[R++] = w >> 8 & 255), R < p.length && (p[R++] = w >> 16 & 255), A === 6 ? (R < p.length && (p[R++] = w >> 24 & 255), q = 0, A = 0) : (q = w >>> 24, A += 2);
10972
10972
  }
10973
10973
  if (R < p.length)
10974
- for (p[R++] = B; R < p.length; )
10974
+ for (p[R++] = q; R < p.length; )
10975
10975
  p[R++] = 0;
10976
10976
  }, r.prototype._toArrayLikeBE = function(p, _) {
10977
- for (var R = p.length - 1, B = 0, P = 0, A = 0; P < this.length; P++) {
10978
- var w = this.words[P] << A | B;
10979
- p[R--] = w & 255, R >= 0 && (p[R--] = w >> 8 & 255), R >= 0 && (p[R--] = w >> 16 & 255), A === 6 ? (R >= 0 && (p[R--] = w >> 24 & 255), B = 0, A = 0) : (B = w >>> 24, A += 2);
10977
+ for (var R = p.length - 1, q = 0, P = 0, A = 0; P < this.length; P++) {
10978
+ var w = this.words[P] << A | q;
10979
+ p[R--] = w & 255, R >= 0 && (p[R--] = w >> 8 & 255), R >= 0 && (p[R--] = w >> 16 & 255), A === 6 ? (R >= 0 && (p[R--] = w >> 24 & 255), q = 0, A = 0) : (q = w >>> 24, A += 2);
10980
10980
  }
10981
10981
  if (R >= 0)
10982
- for (p[R--] = B; R >= 0; )
10982
+ for (p[R--] = q; R >= 0; )
10983
10983
  p[R--] = 0;
10984
10984
  }, Math.clz32 ? r.prototype._countBits = function(p) {
10985
10985
  return 32 - Math.clz32(p);
@@ -10994,10 +10994,10 @@ function requireBn() {
10994
10994
  var p = this.words[this.length - 1], _ = this._countBits(p);
10995
10995
  return (this.length - 1) * 26 + _;
10996
10996
  };
10997
- function q(g) {
10997
+ function B(g) {
10998
10998
  for (var p = new Array(g.bitLength()), _ = 0; _ < p.length; _++) {
10999
- var R = _ / 26 | 0, B = _ % 26;
11000
- p[_] = g.words[R] >>> B & 1;
10999
+ var R = _ / 26 | 0, q = _ % 26;
11000
+ p[_] = g.words[R] >>> q & 1;
11001
11001
  }
11002
11002
  return p;
11003
11003
  }
@@ -11047,11 +11047,11 @@ function requireBn() {
11047
11047
  }, r.prototype.iuxor = function(p) {
11048
11048
  var _, R;
11049
11049
  this.length > p.length ? (_ = this, R = p) : (_ = p, R = this);
11050
- for (var B = 0; B < R.length; B++)
11051
- this.words[B] = _.words[B] ^ R.words[B];
11050
+ for (var q = 0; q < R.length; q++)
11051
+ this.words[q] = _.words[q] ^ R.words[q];
11052
11052
  if (this !== _)
11053
- for (; B < _.length; B++)
11054
- this.words[B] = _.words[B];
11053
+ for (; q < _.length; q++)
11054
+ this.words[q] = _.words[q];
11055
11055
  return this.length = _.length, this._strip();
11056
11056
  }, r.prototype.ixor = function(p) {
11057
11057
  return o((this.negative | p.negative) === 0), this.iuxor(p);
@@ -11063,25 +11063,25 @@ function requireBn() {
11063
11063
  o(typeof p == "number" && p >= 0);
11064
11064
  var _ = Math.ceil(p / 26) | 0, R = p % 26;
11065
11065
  this._expand(_), R > 0 && _--;
11066
- for (var B = 0; B < _; B++)
11067
- this.words[B] = ~this.words[B] & 67108863;
11068
- return R > 0 && (this.words[B] = ~this.words[B] & 67108863 >> 26 - R), this._strip();
11066
+ for (var q = 0; q < _; q++)
11067
+ this.words[q] = ~this.words[q] & 67108863;
11068
+ return R > 0 && (this.words[q] = ~this.words[q] & 67108863 >> 26 - R), this._strip();
11069
11069
  }, r.prototype.notn = function(p) {
11070
11070
  return this.clone().inotn(p);
11071
11071
  }, r.prototype.setn = function(p, _) {
11072
11072
  o(typeof p == "number" && p >= 0);
11073
- var R = p / 26 | 0, B = p % 26;
11074
- return this._expand(R + 1), _ ? this.words[R] = this.words[R] | 1 << B : this.words[R] = this.words[R] & ~(1 << B), this._strip();
11073
+ var R = p / 26 | 0, q = p % 26;
11074
+ return this._expand(R + 1), _ ? this.words[R] = this.words[R] | 1 << q : this.words[R] = this.words[R] & ~(1 << q), this._strip();
11075
11075
  }, r.prototype.iadd = function(p) {
11076
11076
  var _;
11077
11077
  if (this.negative !== 0 && p.negative === 0)
11078
11078
  return this.negative = 0, _ = this.isub(p), this.negative ^= 1, this._normSign();
11079
11079
  if (this.negative === 0 && p.negative !== 0)
11080
11080
  return p.negative = 0, _ = this.isub(p), p.negative = 1, _._normSign();
11081
- var R, B;
11082
- this.length > p.length ? (R = this, B = p) : (R = p, B = this);
11083
- for (var P = 0, A = 0; A < B.length; A++)
11084
- _ = (R.words[A] | 0) + (B.words[A] | 0) + P, this.words[A] = _ & 67108863, P = _ >>> 26;
11081
+ var R, q;
11082
+ this.length > p.length ? (R = this, q = p) : (R = p, q = this);
11083
+ for (var P = 0, A = 0; A < q.length; A++)
11084
+ _ = (R.words[A] | 0) + (q.words[A] | 0) + P, this.words[A] = _ & 67108863, P = _ >>> 26;
11085
11085
  for (; P !== 0 && A < R.length; A++)
11086
11086
  _ = (R.words[A] | 0) + P, this.words[A] = _ & 67108863, P = _ >>> 26;
11087
11087
  if (this.length = R.length, P !== 0)
@@ -11103,16 +11103,16 @@ function requireBn() {
11103
11103
  var R = this.cmp(p);
11104
11104
  if (R === 0)
11105
11105
  return this.negative = 0, this.length = 1, this.words[0] = 0, this;
11106
- var B, P;
11107
- R > 0 ? (B = this, P = p) : (B = p, P = this);
11106
+ var q, P;
11107
+ R > 0 ? (q = this, P = p) : (q = p, P = this);
11108
11108
  for (var A = 0, w = 0; w < P.length; w++)
11109
- _ = (B.words[w] | 0) - (P.words[w] | 0) + A, A = _ >> 26, this.words[w] = _ & 67108863;
11110
- for (; A !== 0 && w < B.length; w++)
11111
- _ = (B.words[w] | 0) + A, A = _ >> 26, this.words[w] = _ & 67108863;
11112
- if (A === 0 && w < B.length && B !== this)
11113
- for (; w < B.length; w++)
11114
- this.words[w] = B.words[w];
11115
- return this.length = Math.max(this.length, w), B !== this && (this.negative = 1), this._strip();
11109
+ _ = (q.words[w] | 0) - (P.words[w] | 0) + A, A = _ >> 26, this.words[w] = _ & 67108863;
11110
+ for (; A !== 0 && w < q.length; w++)
11111
+ _ = (q.words[w] | 0) + A, A = _ >> 26, this.words[w] = _ & 67108863;
11112
+ if (A === 0 && w < q.length && q !== this)
11113
+ for (; w < q.length; w++)
11114
+ this.words[w] = q.words[w];
11115
+ return this.length = Math.max(this.length, w), q !== this && (this.negative = 1), this._strip();
11116
11116
  }, r.prototype.sub = function(p) {
11117
11117
  return this.clone().isub(p);
11118
11118
  };
@@ -11120,19 +11120,19 @@ function requireBn() {
11120
11120
  _.negative = p.negative ^ g.negative;
11121
11121
  var R = g.length + p.length | 0;
11122
11122
  _.length = R, R = R - 1 | 0;
11123
- var B = g.words[0] | 0, P = p.words[0] | 0, A = B * P, w = A & 67108863, M = A / 67108864 | 0;
11123
+ var q = g.words[0] | 0, P = p.words[0] | 0, A = q * P, w = A & 67108863, M = A / 67108864 | 0;
11124
11124
  _.words[0] = w;
11125
11125
  for (var x = 1; x < R; x++) {
11126
11126
  for (var L = M >>> 26, K = M & 67108863, Q = Math.min(x, p.length - 1), H = Math.max(0, x - g.length + 1); H <= Q; H++) {
11127
11127
  var N = x - H | 0;
11128
- B = g.words[N] | 0, P = p.words[H] | 0, A = B * P + K, L += A / 67108864 | 0, K = A & 67108863;
11128
+ q = g.words[N] | 0, P = p.words[H] | 0, A = q * P + K, L += A / 67108864 | 0, K = A & 67108863;
11129
11129
  }
11130
11130
  _.words[x] = K | 0, M = L | 0;
11131
11131
  }
11132
11132
  return M !== 0 ? _.words[x] = M | 0 : _.length--, _._strip();
11133
11133
  }
11134
11134
  var S = function(p, _, R) {
11135
- var B = p.words, P = _.words, A = R.words, w = 0, M, x, L, K = B[0] | 0, Q = K & 8191, H = K >>> 13, N = B[1] | 0, F = N & 8191, ee = N >>> 13, ae = B[2] | 0, z = ae & 8191, G = ae >>> 13, fe = B[3] | 0, me = fe & 8191, xe = fe >>> 13, _e = B[4] | 0, qe = _e & 8191, Re = _e >>> 13, be = B[5] | 0, Fe = be & 8191, Be = be >>> 13, Me = B[6] | 0, Te = Me & 8191, oe = Me >>> 13, ce = B[7] | 0, ge = ce & 8191, we = ce >>> 13, Se = B[8] | 0, Oe = Se & 8191, U = Se >>> 13, I = B[9] | 0, C = I & 8191, X = I >>> 13, se = P[0] | 0, le = se & 8191, ve = se >>> 13, Ce = P[1] | 0, Le = Ce & 8191, Ie = Ce >>> 13, je = P[2] | 0, $e = je & 8191, He = je >>> 13, Ke = P[3] | 0, Ze = Ke & 8191, We = Ke >>> 13, Ye = P[4] | 0, Xe = Ye & 8191, W = Ye >>> 13, T = P[5] | 0, k = T & 8191, re = T >>> 13, ue = P[6] | 0, pe = ue & 8191, ye = ue >>> 13, ke = P[7] | 0, Ve = ke & 8191, Ne = ke >>> 13, Ge = P[8] | 0, Ue = Ge & 8191, ze = Ge >>> 13, Je = P[9] | 0, Qe = Je & 8191, er = Je >>> 13;
11135
+ var q = p.words, P = _.words, A = R.words, w = 0, M, x, L, K = q[0] | 0, Q = K & 8191, H = K >>> 13, N = q[1] | 0, F = N & 8191, ee = N >>> 13, ae = q[2] | 0, z = ae & 8191, G = ae >>> 13, fe = q[3] | 0, me = fe & 8191, xe = fe >>> 13, _e = q[4] | 0, qe = _e & 8191, Re = _e >>> 13, be = q[5] | 0, Fe = be & 8191, Be = be >>> 13, Me = q[6] | 0, Te = Me & 8191, oe = Me >>> 13, ce = q[7] | 0, ge = ce & 8191, we = ce >>> 13, Se = q[8] | 0, Oe = Se & 8191, U = Se >>> 13, I = q[9] | 0, C = I & 8191, X = I >>> 13, se = P[0] | 0, le = se & 8191, ve = se >>> 13, Ce = P[1] | 0, Le = Ce & 8191, Ie = Ce >>> 13, je = P[2] | 0, $e = je & 8191, He = je >>> 13, Ke = P[3] | 0, Ze = Ke & 8191, We = Ke >>> 13, Ye = P[4] | 0, Xe = Ye & 8191, W = Ye >>> 13, T = P[5] | 0, k = T & 8191, re = T >>> 13, ue = P[6] | 0, pe = ue & 8191, ye = ue >>> 13, ke = P[7] | 0, Ve = ke & 8191, Ne = ke >>> 13, Ge = P[8] | 0, Ue = Ge & 8191, ze = Ge >>> 13, Je = P[9] | 0, Qe = Je & 8191, er = Je >>> 13;
11136
11136
  R.negative = p.negative ^ _.negative, R.length = 19, M = Math.imul(Q, le), x = Math.imul(Q, ve), x = x + Math.imul(H, le) | 0, L = Math.imul(H, ve);
11137
11137
  var fr = (w + M | 0) + ((x & 8191) << 13) | 0;
11138
11138
  w = (L + (x >>> 13) | 0) + (fr >>> 26) | 0, fr &= 67108863, M = Math.imul(F, le), x = Math.imul(F, ve), x = x + Math.imul(ee, le) | 0, L = Math.imul(ee, ve), M = M + Math.imul(Q, Le) | 0, x = x + Math.imul(Q, Ie) | 0, x = x + Math.imul(H, Le) | 0, L = L + Math.imul(H, Ie) | 0;
@@ -11176,14 +11176,14 @@ function requireBn() {
11176
11176
  Math.imul || (S = E);
11177
11177
  function O(g, p, _) {
11178
11178
  _.negative = p.negative ^ g.negative, _.length = g.length + p.length;
11179
- for (var R = 0, B = 0, P = 0; P < _.length - 1; P++) {
11180
- var A = B;
11181
- B = 0;
11179
+ for (var R = 0, q = 0, P = 0; P < _.length - 1; P++) {
11180
+ var A = q;
11181
+ q = 0;
11182
11182
  for (var w = R & 67108863, M = Math.min(P, p.length - 1), x = Math.max(0, P - g.length + 1); x <= M; x++) {
11183
11183
  var L = P - x, K = g.words[L] | 0, Q = p.words[x] | 0, H = K * Q, N = H & 67108863;
11184
- A = A + (H / 67108864 | 0) | 0, N = N + w | 0, w = N & 67108863, A = A + (N >>> 26) | 0, B += A >>> 26, A &= 67108863;
11184
+ A = A + (H / 67108864 | 0) | 0, N = N + w | 0, w = N & 67108863, A = A + (N >>> 26) | 0, q += A >>> 26, A &= 67108863;
11185
11185
  }
11186
- _.words[P] = w, R = A, A = B;
11186
+ _.words[P] = w, R = A, A = q;
11187
11187
  }
11188
11188
  return R !== 0 ? _.words[P] = R : _.length--, _._strip();
11189
11189
  }
@@ -11191,8 +11191,8 @@ function requireBn() {
11191
11191
  return O(g, p, _);
11192
11192
  }
11193
11193
  r.prototype.mulTo = function(p, _) {
11194
- var R, B = this.length + p.length;
11195
- return this.length === 10 && p.length === 10 ? R = S(this, p, _) : B < 63 ? R = E(this, p, _) : B < 1024 ? R = O(this, p, _) : R = D(this, p, _), R;
11194
+ var R, q = this.length + p.length;
11195
+ return this.length === 10 && p.length === 10 ? R = S(this, p, _) : q < 63 ? R = E(this, p, _) : q < 1024 ? R = O(this, p, _) : R = D(this, p, _), R;
11196
11196
  }, r.prototype.mul = function(p) {
11197
11197
  var _ = new r(null);
11198
11198
  return _.words = new Array(this.length + p.length), this.mulTo(p, _);
@@ -11204,11 +11204,11 @@ function requireBn() {
11204
11204
  }, r.prototype.imuln = function(p) {
11205
11205
  var _ = p < 0;
11206
11206
  _ && (p = -p), o(typeof p == "number"), o(p < 67108864);
11207
- for (var R = 0, B = 0; B < this.length; B++) {
11208
- var P = (this.words[B] | 0) * p, A = (P & 67108863) + (R & 67108863);
11209
- R >>= 26, R += P / 67108864 | 0, R += A >>> 26, this.words[B] = A & 67108863;
11207
+ for (var R = 0, q = 0; q < this.length; q++) {
11208
+ var P = (this.words[q] | 0) * p, A = (P & 67108863) + (R & 67108863);
11209
+ R >>= 26, R += P / 67108864 | 0, R += A >>> 26, this.words[q] = A & 67108863;
11210
11210
  }
11211
- return R !== 0 && (this.words[B] = R, this.length++), this.length = p === 0 ? 1 : this.length, _ ? this.ineg() : this;
11211
+ return R !== 0 && (this.words[q] = R, this.length++), this.length = p === 0 ? 1 : this.length, _ ? this.ineg() : this;
11212
11212
  }, r.prototype.muln = function(p) {
11213
11213
  return this.clone().imuln(p);
11214
11214
  }, r.prototype.sqr = function() {
@@ -11216,21 +11216,21 @@ function requireBn() {
11216
11216
  }, r.prototype.isqr = function() {
11217
11217
  return this.imul(this.clone());
11218
11218
  }, r.prototype.pow = function(p) {
11219
- var _ = q(p);
11219
+ var _ = B(p);
11220
11220
  if (_.length === 0) return new r(1);
11221
- for (var R = this, B = 0; B < _.length && _[B] === 0; B++, R = R.sqr())
11221
+ for (var R = this, q = 0; q < _.length && _[q] === 0; q++, R = R.sqr())
11222
11222
  ;
11223
- if (++B < _.length)
11224
- for (var P = R.sqr(); B < _.length; B++, P = P.sqr())
11225
- _[B] !== 0 && (R = R.mul(P));
11223
+ if (++q < _.length)
11224
+ for (var P = R.sqr(); q < _.length; q++, P = P.sqr())
11225
+ _[q] !== 0 && (R = R.mul(P));
11226
11226
  return R;
11227
11227
  }, r.prototype.iushln = function(p) {
11228
11228
  o(typeof p == "number" && p >= 0);
11229
- var _ = p % 26, R = (p - _) / 26, B = 67108863 >>> 26 - _ << 26 - _, P;
11229
+ var _ = p % 26, R = (p - _) / 26, q = 67108863 >>> 26 - _ << 26 - _, P;
11230
11230
  if (_ !== 0) {
11231
11231
  var A = 0;
11232
11232
  for (P = 0; P < this.length; P++) {
11233
- var w = this.words[P] & B, M = (this.words[P] | 0) - w << _;
11233
+ var w = this.words[P] & q, M = (this.words[P] | 0) - w << _;
11234
11234
  this.words[P] = M | A, A = w >>> 26 - _;
11235
11235
  }
11236
11236
  A && (this.words[P] = A, this.length++);
@@ -11247,10 +11247,10 @@ function requireBn() {
11247
11247
  return o(this.negative === 0), this.iushln(p);
11248
11248
  }, r.prototype.iushrn = function(p, _, R) {
11249
11249
  o(typeof p == "number" && p >= 0);
11250
- var B;
11251
- _ ? B = (_ - _ % 26) / 26 : B = 0;
11250
+ var q;
11251
+ _ ? q = (_ - _ % 26) / 26 : q = 0;
11252
11252
  var P = p % 26, A = Math.min((p - P) / 26, this.length), w = 67108863 ^ 67108863 >>> P << P, M = R;
11253
- if (B -= A, B = Math.max(0, B), M) {
11253
+ if (q -= A, q = Math.max(0, q), M) {
11254
11254
  for (var x = 0; x < A; x++)
11255
11255
  M.words[x] = this.words[x];
11256
11256
  M.length = A;
@@ -11261,7 +11261,7 @@ function requireBn() {
11261
11261
  else
11262
11262
  this.words[0] = 0, this.length = 1;
11263
11263
  var L = 0;
11264
- for (x = this.length - 1; x >= 0 && (L !== 0 || x >= B); x--) {
11264
+ for (x = this.length - 1; x >= 0 && (L !== 0 || x >= q); x--) {
11265
11265
  var K = this.words[x] | 0;
11266
11266
  this.words[x] = L << 26 - P | K >>> P, L = K & w;
11267
11267
  }
@@ -11278,18 +11278,18 @@ function requireBn() {
11278
11278
  return this.clone().iushrn(p);
11279
11279
  }, r.prototype.testn = function(p) {
11280
11280
  o(typeof p == "number" && p >= 0);
11281
- var _ = p % 26, R = (p - _) / 26, B = 1 << _;
11281
+ var _ = p % 26, R = (p - _) / 26, q = 1 << _;
11282
11282
  if (this.length <= R) return !1;
11283
11283
  var P = this.words[R];
11284
- return !!(P & B);
11284
+ return !!(P & q);
11285
11285
  }, r.prototype.imaskn = function(p) {
11286
11286
  o(typeof p == "number" && p >= 0);
11287
11287
  var _ = p % 26, R = (p - _) / 26;
11288
11288
  if (o(this.negative === 0, "imaskn works only with positive numbers"), this.length <= R)
11289
11289
  return this;
11290
11290
  if (_ !== 0 && R++, this.length = Math.min(R, this.length), _ !== 0) {
11291
- var B = 67108863 ^ 67108863 >>> _ << _;
11292
- this.words[this.length - 1] &= B;
11291
+ var q = 67108863 ^ 67108863 >>> _ << _;
11292
+ this.words[this.length - 1] &= q;
11293
11293
  }
11294
11294
  return this.length === 0 && (this.words[0] = 0, this.length = 1), this._strip();
11295
11295
  }, r.prototype.maskn = function(p) {
@@ -11320,8 +11320,8 @@ function requireBn() {
11320
11320
  }, r.prototype.abs = function() {
11321
11321
  return this.clone().iabs();
11322
11322
  }, r.prototype._ishlnsubmul = function(p, _, R) {
11323
- var B = p.length + R, P;
11324
- this._expand(B);
11323
+ var q = p.length + R, P;
11324
+ this._expand(q);
11325
11325
  var A, w = 0;
11326
11326
  for (P = 0; P < p.length; P++) {
11327
11327
  A = (this.words[P + R] | 0) + w;
@@ -11335,25 +11335,25 @@ function requireBn() {
11335
11335
  A = -(this.words[P] | 0) + w, w = A >> 26, this.words[P] = A & 67108863;
11336
11336
  return this.negative = 1, this._strip();
11337
11337
  }, r.prototype._wordDiv = function(p, _) {
11338
- var R = this.length - p.length, B = this.clone(), P = p, A = P.words[P.length - 1] | 0, w = this._countBits(A);
11339
- R = 26 - w, R !== 0 && (P = P.ushln(R), B.iushln(R), A = P.words[P.length - 1] | 0);
11340
- var M = B.length - P.length, x;
11338
+ var R = this.length - p.length, q = this.clone(), P = p, A = P.words[P.length - 1] | 0, w = this._countBits(A);
11339
+ R = 26 - w, R !== 0 && (P = P.ushln(R), q.iushln(R), A = P.words[P.length - 1] | 0);
11340
+ var M = q.length - P.length, x;
11341
11341
  if (_ !== "mod") {
11342
11342
  x = new r(null), x.length = M + 1, x.words = new Array(x.length);
11343
11343
  for (var L = 0; L < x.length; L++)
11344
11344
  x.words[L] = 0;
11345
11345
  }
11346
- var K = B.clone()._ishlnsubmul(P, 1, M);
11347
- K.negative === 0 && (B = K, x && (x.words[M] = 1));
11346
+ var K = q.clone()._ishlnsubmul(P, 1, M);
11347
+ K.negative === 0 && (q = K, x && (x.words[M] = 1));
11348
11348
  for (var Q = M - 1; Q >= 0; Q--) {
11349
- var H = (B.words[P.length + Q] | 0) * 67108864 + (B.words[P.length + Q - 1] | 0);
11350
- for (H = Math.min(H / A | 0, 67108863), B._ishlnsubmul(P, H, Q); B.negative !== 0; )
11351
- H--, B.negative = 0, B._ishlnsubmul(P, 1, Q), B.isZero() || (B.negative ^= 1);
11349
+ var H = (q.words[P.length + Q] | 0) * 67108864 + (q.words[P.length + Q - 1] | 0);
11350
+ for (H = Math.min(H / A | 0, 67108863), q._ishlnsubmul(P, H, Q); q.negative !== 0; )
11351
+ H--, q.negative = 0, q._ishlnsubmul(P, 1, Q), q.isZero() || (q.negative ^= 1);
11352
11352
  x && (x.words[Q] = H);
11353
11353
  }
11354
- return x && x._strip(), B._strip(), _ !== "div" && R !== 0 && B.iushrn(R), {
11354
+ return x && x._strip(), q._strip(), _ !== "div" && R !== 0 && q.iushrn(R), {
11355
11355
  div: x || null,
11356
- mod: B
11356
+ mod: q
11357
11357
  };
11358
11358
  }, r.prototype.divmod = function(p, _, R) {
11359
11359
  if (o(!p.isZero()), this.isZero())
@@ -11361,12 +11361,12 @@ function requireBn() {
11361
11361
  div: new r(0),
11362
11362
  mod: new r(0)
11363
11363
  };
11364
- var B, P, A;
11365
- return this.negative !== 0 && p.negative === 0 ? (A = this.neg().divmod(p, _), _ !== "mod" && (B = A.div.neg()), _ !== "div" && (P = A.mod.neg(), R && P.negative !== 0 && P.iadd(p)), {
11366
- div: B,
11364
+ var q, P, A;
11365
+ return this.negative !== 0 && p.negative === 0 ? (A = this.neg().divmod(p, _), _ !== "mod" && (q = A.div.neg()), _ !== "div" && (P = A.mod.neg(), R && P.negative !== 0 && P.iadd(p)), {
11366
+ div: q,
11367
11367
  mod: P
11368
- }) : this.negative === 0 && p.negative !== 0 ? (A = this.divmod(p.neg(), _), _ !== "mod" && (B = A.div.neg()), {
11369
- div: B,
11368
+ }) : this.negative === 0 && p.negative !== 0 ? (A = this.divmod(p.neg(), _), _ !== "mod" && (q = A.div.neg()), {
11369
+ div: q,
11370
11370
  mod: A.mod
11371
11371
  }) : (this.negative & p.negative) !== 0 ? (A = this.neg().divmod(p.neg(), _), _ !== "div" && (P = A.mod.neg(), R && P.negative !== 0 && P.isub(p)), {
11372
11372
  div: A.div,
@@ -11393,22 +11393,22 @@ function requireBn() {
11393
11393
  }, r.prototype.divRound = function(p) {
11394
11394
  var _ = this.divmod(p);
11395
11395
  if (_.mod.isZero()) return _.div;
11396
- var R = _.div.negative !== 0 ? _.mod.isub(p) : _.mod, B = p.ushrn(1), P = p.andln(1), A = R.cmp(B);
11396
+ var R = _.div.negative !== 0 ? _.mod.isub(p) : _.mod, q = p.ushrn(1), P = p.andln(1), A = R.cmp(q);
11397
11397
  return A < 0 || P === 1 && A === 0 ? _.div : _.div.negative !== 0 ? _.div.isubn(1) : _.div.iaddn(1);
11398
11398
  }, r.prototype.modrn = function(p) {
11399
11399
  var _ = p < 0;
11400
11400
  _ && (p = -p), o(p <= 67108863);
11401
- for (var R = (1 << 26) % p, B = 0, P = this.length - 1; P >= 0; P--)
11402
- B = (R * B + (this.words[P] | 0)) % p;
11403
- return _ ? -B : B;
11401
+ for (var R = (1 << 26) % p, q = 0, P = this.length - 1; P >= 0; P--)
11402
+ q = (R * q + (this.words[P] | 0)) % p;
11403
+ return _ ? -q : q;
11404
11404
  }, r.prototype.modn = function(p) {
11405
11405
  return this.modrn(p);
11406
11406
  }, r.prototype.idivn = function(p) {
11407
11407
  var _ = p < 0;
11408
11408
  _ && (p = -p), o(p <= 67108863);
11409
- for (var R = 0, B = this.length - 1; B >= 0; B--) {
11410
- var P = (this.words[B] | 0) + R * 67108864;
11411
- this.words[B] = P / p | 0, R = P % p;
11409
+ for (var R = 0, q = this.length - 1; q >= 0; q--) {
11410
+ var P = (this.words[q] | 0) + R * 67108864;
11411
+ this.words[q] = P / p | 0, R = P % p;
11412
11412
  }
11413
11413
  return this._strip(), _ ? this.ineg() : this;
11414
11414
  }, r.prototype.divn = function(p) {
@@ -11417,18 +11417,18 @@ function requireBn() {
11417
11417
  o(p.negative === 0), o(!p.isZero());
11418
11418
  var _ = this, R = p.clone();
11419
11419
  _.negative !== 0 ? _ = _.umod(p) : _ = _.clone();
11420
- for (var B = new r(1), P = new r(0), A = new r(0), w = new r(1), M = 0; _.isEven() && R.isEven(); )
11420
+ for (var q = new r(1), P = new r(0), A = new r(0), w = new r(1), M = 0; _.isEven() && R.isEven(); )
11421
11421
  _.iushrn(1), R.iushrn(1), ++M;
11422
11422
  for (var x = R.clone(), L = _.clone(); !_.isZero(); ) {
11423
11423
  for (var K = 0, Q = 1; (_.words[0] & Q) === 0 && K < 26; ++K, Q <<= 1) ;
11424
11424
  if (K > 0)
11425
11425
  for (_.iushrn(K); K-- > 0; )
11426
- (B.isOdd() || P.isOdd()) && (B.iadd(x), P.isub(L)), B.iushrn(1), P.iushrn(1);
11426
+ (q.isOdd() || P.isOdd()) && (q.iadd(x), P.isub(L)), q.iushrn(1), P.iushrn(1);
11427
11427
  for (var H = 0, N = 1; (R.words[0] & N) === 0 && H < 26; ++H, N <<= 1) ;
11428
11428
  if (H > 0)
11429
11429
  for (R.iushrn(H); H-- > 0; )
11430
11430
  (A.isOdd() || w.isOdd()) && (A.iadd(x), w.isub(L)), A.iushrn(1), w.iushrn(1);
11431
- _.cmp(R) >= 0 ? (_.isub(R), B.isub(A), P.isub(w)) : (R.isub(_), A.isub(B), w.isub(P));
11431
+ _.cmp(R) >= 0 ? (_.isub(R), q.isub(A), P.isub(w)) : (R.isub(_), A.isub(q), w.isub(P));
11432
11432
  }
11433
11433
  return {
11434
11434
  a: A,
@@ -11439,25 +11439,25 @@ function requireBn() {
11439
11439
  o(p.negative === 0), o(!p.isZero());
11440
11440
  var _ = this, R = p.clone();
11441
11441
  _.negative !== 0 ? _ = _.umod(p) : _ = _.clone();
11442
- for (var B = new r(1), P = new r(0), A = R.clone(); _.cmpn(1) > 0 && R.cmpn(1) > 0; ) {
11442
+ for (var q = new r(1), P = new r(0), A = R.clone(); _.cmpn(1) > 0 && R.cmpn(1) > 0; ) {
11443
11443
  for (var w = 0, M = 1; (_.words[0] & M) === 0 && w < 26; ++w, M <<= 1) ;
11444
11444
  if (w > 0)
11445
11445
  for (_.iushrn(w); w-- > 0; )
11446
- B.isOdd() && B.iadd(A), B.iushrn(1);
11446
+ q.isOdd() && q.iadd(A), q.iushrn(1);
11447
11447
  for (var x = 0, L = 1; (R.words[0] & L) === 0 && x < 26; ++x, L <<= 1) ;
11448
11448
  if (x > 0)
11449
11449
  for (R.iushrn(x); x-- > 0; )
11450
11450
  P.isOdd() && P.iadd(A), P.iushrn(1);
11451
- _.cmp(R) >= 0 ? (_.isub(R), B.isub(P)) : (R.isub(_), P.isub(B));
11451
+ _.cmp(R) >= 0 ? (_.isub(R), q.isub(P)) : (R.isub(_), P.isub(q));
11452
11452
  }
11453
11453
  var K;
11454
- return _.cmpn(1) === 0 ? K = B : K = P, K.cmpn(0) < 0 && K.iadd(p), K;
11454
+ return _.cmpn(1) === 0 ? K = q : K = P, K.cmpn(0) < 0 && K.iadd(p), K;
11455
11455
  }, r.prototype.gcd = function(p) {
11456
11456
  if (this.isZero()) return p.abs();
11457
11457
  if (p.isZero()) return this.abs();
11458
11458
  var _ = this.clone(), R = p.clone();
11459
11459
  _.negative = 0, R.negative = 0;
11460
- for (var B = 0; _.isEven() && R.isEven(); B++)
11460
+ for (var q = 0; _.isEven() && R.isEven(); q++)
11461
11461
  _.iushrn(1), R.iushrn(1);
11462
11462
  do {
11463
11463
  for (; _.isEven(); )
@@ -11472,7 +11472,7 @@ function requireBn() {
11472
11472
  break;
11473
11473
  _.isub(R);
11474
11474
  } while (!0);
11475
- return R.iushln(B);
11475
+ return R.iushln(q);
11476
11476
  }, r.prototype.invm = function(p) {
11477
11477
  return this.egcd(p).a.umod(p);
11478
11478
  }, r.prototype.isEven = function() {
@@ -11483,10 +11483,10 @@ function requireBn() {
11483
11483
  return this.words[0] & p;
11484
11484
  }, r.prototype.bincn = function(p) {
11485
11485
  o(typeof p == "number");
11486
- var _ = p % 26, R = (p - _) / 26, B = 1 << _;
11486
+ var _ = p % 26, R = (p - _) / 26, q = 1 << _;
11487
11487
  if (this.length <= R)
11488
- return this._expand(R + 1), this.words[R] |= B, this;
11489
- for (var P = B, A = R; P !== 0 && A < this.length; A++) {
11488
+ return this._expand(R + 1), this.words[R] |= q, this;
11489
+ for (var P = q, A = R; P !== 0 && A < this.length; A++) {
11490
11490
  var w = this.words[A] | 0;
11491
11491
  w += P, P = w >>> 26, w &= 67108863, this.words[A] = w;
11492
11492
  }
@@ -11503,8 +11503,8 @@ function requireBn() {
11503
11503
  R = 1;
11504
11504
  else {
11505
11505
  _ && (p = -p), o(p <= 67108863, "Number is too big");
11506
- var B = this.words[0] | 0;
11507
- R = B === p ? 0 : B < p ? -1 : 1;
11506
+ var q = this.words[0] | 0;
11507
+ R = q === p ? 0 : q < p ? -1 : 1;
11508
11508
  }
11509
11509
  return this.negative !== 0 ? -R | 0 : R;
11510
11510
  }, r.prototype.cmp = function(p) {
@@ -11516,9 +11516,9 @@ function requireBn() {
11516
11516
  if (this.length > p.length) return 1;
11517
11517
  if (this.length < p.length) return -1;
11518
11518
  for (var _ = 0, R = this.length - 1; R >= 0; R--) {
11519
- var B = this.words[R] | 0, P = p.words[R] | 0;
11520
- if (B !== P) {
11521
- B < P ? _ = -1 : B > P && (_ = 1);
11519
+ var q = this.words[R] | 0, P = p.words[R] | 0;
11520
+ if (q !== P) {
11521
+ q < P ? _ = -1 : q > P && (_ = 1);
11522
11522
  break;
11523
11523
  }
11524
11524
  }
@@ -11597,8 +11597,8 @@ function requireBn() {
11597
11597
  do
11598
11598
  this.split(_, this.tmp), _ = this.imulK(_), _ = _.iadd(this.tmp), R = _.bitLength();
11599
11599
  while (R > this.n);
11600
- var B = R < this.n ? -1 : _.ucmp(this.p);
11601
- return B === 0 ? (_.words[0] = 0, _.length = 1) : B > 0 ? _.isub(this.p) : _.strip !== void 0 ? _.strip() : _._strip(), _;
11600
+ var q = R < this.n ? -1 : _.ucmp(this.p);
11601
+ return q === 0 ? (_.words[0] = 0, _.length = 1) : q > 0 ? _.isub(this.p) : _.strip !== void 0 ? _.strip() : _._strip(), _;
11602
11602
  }, j.prototype.split = function(p, _) {
11603
11603
  p.iushrn(this.n, 0, _);
11604
11604
  }, j.prototype.imulK = function(p) {
@@ -11612,9 +11612,9 @@ function requireBn() {
11612
11612
  );
11613
11613
  }
11614
11614
  d(J, j), J.prototype.split = function(p, _) {
11615
- for (var R = 4194303, B = Math.min(p.length, 9), P = 0; P < B; P++)
11615
+ for (var R = 4194303, q = Math.min(p.length, 9), P = 0; P < q; P++)
11616
11616
  _.words[P] = p.words[P];
11617
- if (_.length = B, p.length <= 9) {
11617
+ if (_.length = q, p.length <= 9) {
11618
11618
  p.words[0] = 0, p.length = 1;
11619
11619
  return;
11620
11620
  }
@@ -11627,8 +11627,8 @@ function requireBn() {
11627
11627
  }, J.prototype.imulK = function(p) {
11628
11628
  p.words[p.length] = 0, p.words[p.length + 1] = 0, p.length += 2;
11629
11629
  for (var _ = 0, R = 0; R < p.length; R++) {
11630
- var B = p.words[R] | 0;
11631
- _ += B * 977, p.words[R] = _ & 67108863, _ = B * 64 + (_ / 67108864 | 0);
11630
+ var q = p.words[R] | 0;
11631
+ _ += q * 977, p.words[R] = _ & 67108863, _ = q * 64 + (_ / 67108864 | 0);
11632
11632
  }
11633
11633
  return p.words[p.length - 1] === 0 && (p.length--, p.words[p.length - 1] === 0 && p.length--), p;
11634
11634
  };
@@ -11657,8 +11657,8 @@ function requireBn() {
11657
11657
  }
11658
11658
  d(de, j), de.prototype.imulK = function(p) {
11659
11659
  for (var _ = 0, R = 0; R < p.length; R++) {
11660
- var B = (p.words[R] | 0) * 19 + _, P = B & 67108863;
11661
- B >>>= 26, p.words[R] = P, _ = B;
11660
+ var q = (p.words[R] | 0) * 19 + _, P = q & 67108863;
11661
+ q >>>= 26, p.words[R] = P, _ = q;
11662
11662
  }
11663
11663
  return _ !== 0 && (p.words[p.length++] = _), p;
11664
11664
  }, r._prime = function(p) {
@@ -11727,13 +11727,13 @@ function requireBn() {
11727
11727
  var R = this.m.add(new r(1)).iushrn(2);
11728
11728
  return this.pow(p, R);
11729
11729
  }
11730
- for (var B = this.m.subn(1), P = 0; !B.isZero() && B.andln(1) === 0; )
11731
- P++, B.iushrn(1);
11732
- o(!B.isZero());
11730
+ for (var q = this.m.subn(1), P = 0; !q.isZero() && q.andln(1) === 0; )
11731
+ P++, q.iushrn(1);
11732
+ o(!q.isZero());
11733
11733
  var A = new r(1).toRed(this), w = A.redNeg(), M = this.m.subn(1).iushrn(1), x = this.m.bitLength();
11734
11734
  for (x = new r(2 * x * x).toRed(this); this.pow(x, M).cmp(w) !== 0; )
11735
11735
  x.redIAdd(w);
11736
- for (var L = this.pow(x, B), K = this.pow(p, B.addn(1).iushrn(1)), Q = this.pow(p, B), H = P; Q.cmp(A) !== 0; ) {
11736
+ for (var L = this.pow(x, q), K = this.pow(p, q.addn(1).iushrn(1)), Q = this.pow(p, q), H = P; Q.cmp(A) !== 0; ) {
11737
11737
  for (var N = Q, F = 0; N.cmp(A) !== 0; F++)
11738
11738
  N = N.redSqr();
11739
11739
  o(F < H);
@@ -11747,19 +11747,19 @@ function requireBn() {
11747
11747
  }, Z.prototype.pow = function(p, _) {
11748
11748
  if (_.isZero()) return new r(1).toRed(this);
11749
11749
  if (_.cmpn(1) === 0) return p.clone();
11750
- var R = 4, B = new Array(1 << R);
11751
- B[0] = new r(1).toRed(this), B[1] = p;
11752
- for (var P = 2; P < B.length; P++)
11753
- B[P] = this.mul(B[P - 1], p);
11754
- var A = B[0], w = 0, M = 0, x = _.bitLength() % 26;
11750
+ var R = 4, q = new Array(1 << R);
11751
+ q[0] = new r(1).toRed(this), q[1] = p;
11752
+ for (var P = 2; P < q.length; P++)
11753
+ q[P] = this.mul(q[P - 1], p);
11754
+ var A = q[0], w = 0, M = 0, x = _.bitLength() % 26;
11755
11755
  for (x === 0 && (x = 26), P = _.length - 1; P >= 0; P--) {
11756
11756
  for (var L = _.words[P], K = x - 1; K >= 0; K--) {
11757
11757
  var Q = L >> K & 1;
11758
- if (A !== B[0] && (A = this.sqr(A)), Q === 0 && w === 0) {
11758
+ if (A !== q[0] && (A = this.sqr(A)), Q === 0 && w === 0) {
11759
11759
  M = 0;
11760
11760
  continue;
11761
11761
  }
11762
- w <<= 1, w |= Q, M++, !(M !== R && (P !== 0 || K !== 0)) && (A = this.mul(A, B[w]), M = 0, w = 0);
11762
+ w <<= 1, w |= Q, M++, !(M !== R && (P !== 0 || K !== 0)) && (A = this.mul(A, q[w]), M = 0, w = 0);
11763
11763
  }
11764
11764
  x = 26;
11765
11765
  }
@@ -11784,11 +11784,11 @@ function requireBn() {
11784
11784
  }, y.prototype.imul = function(p, _) {
11785
11785
  if (p.isZero() || _.isZero())
11786
11786
  return p.words[0] = 0, p.length = 1, p;
11787
- var R = p.imul(_), B = R.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), P = R.isub(B).iushrn(this.shift), A = P;
11787
+ var R = p.imul(_), q = R.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), P = R.isub(q).iushrn(this.shift), A = P;
11788
11788
  return P.cmp(this.m) >= 0 ? A = P.isub(this.m) : P.cmpn(0) < 0 && (A = P.iadd(this.m)), A._forceRed(this);
11789
11789
  }, y.prototype.mul = function(p, _) {
11790
11790
  if (p.isZero() || _.isZero()) return new r(0)._forceRed(this);
11791
- var R = p.mul(_), B = R.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), P = R.isub(B).iushrn(this.shift), A = P;
11791
+ var R = p.mul(_), q = R.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), P = R.isub(q).iushrn(this.shift), A = P;
11792
11792
  return P.cmp(this.m) >= 0 ? A = P.isub(this.m) : P.cmpn(0) < 0 && (A = P.iadd(this.m)), A._forceRed(this);
11793
11793
  }, y.prototype.invm = function(p) {
11794
11794
  var _ = this.imod(p._invmp(this.m).mul(this.r2));
@@ -11814,7 +11814,7 @@ function requireBrowserifyRsa() {
11814
11814
  return { blinder: a, unblinder: f.invm(h.modulus) };
11815
11815
  }
11816
11816
  function r(h, f) {
11817
- var a = d(f), n = f.modulus.byteLength(), e = new c(h).mul(a.blinder).umod(f.modulus), s = e.toRed(c.mont(f.prime1)), l = e.toRed(c.mont(f.prime2)), v = f.coefficient, b = f.prime1, m = f.prime2, q = s.redPow(f.exponent1).fromRed(), E = l.redPow(f.exponent2).fromRed(), S = q.isub(E).imul(v).umod(b).imul(m);
11817
+ var a = d(f), n = f.modulus.byteLength(), e = new c(h).mul(a.blinder).umod(f.modulus), s = e.toRed(c.mont(f.prime1)), l = e.toRed(c.mont(f.prime2)), v = f.coefficient, b = f.prime1, m = f.prime2, B = s.redPow(f.exponent1).fromRed(), E = l.redPow(f.exponent2).fromRed(), S = B.isub(E).imul(v).umod(b).imul(m);
11818
11818
  return E.iadd(S).imul(a.unblinder).umod(f.modulus).toArrayLike(u, "be", n);
11819
11819
  }
11820
11820
  return r.getr = o, browserifyRsa = r, browserifyRsa;
@@ -11873,10 +11873,10 @@ function requireUtils$2() {
11873
11873
  var v = new Array(Math.max(e.bitLength(), l) + 1), b;
11874
11874
  for (b = 0; b < v.length; b += 1)
11875
11875
  v[b] = 0;
11876
- var m = 1 << s + 1, q = e.clone();
11876
+ var m = 1 << s + 1, B = e.clone();
11877
11877
  for (b = 0; b < v.length; b++) {
11878
- var E, S = q.andln(m - 1);
11879
- q.isOdd() ? (S > (m >> 1) - 1 ? E = (m >> 1) - S : E = S, q.isubn(E)) : E = 0, v[b] = E, q.iushrn(1);
11878
+ var E, S = B.andln(m - 1);
11879
+ B.isOdd() ? (S > (m >> 1) - 1 ? E = (m >> 1) - S : E = S, B.isubn(E)) : E = 0, v[b] = E, B.iushrn(1);
11880
11880
  }
11881
11881
  return v;
11882
11882
  }
@@ -11888,12 +11888,12 @@ function requireUtils$2() {
11888
11888
  ];
11889
11889
  e = e.clone(), s = s.clone();
11890
11890
  for (var v = 0, b = 0, m; e.cmpn(-v) > 0 || s.cmpn(-b) > 0; ) {
11891
- var q = e.andln(3) + v & 3, E = s.andln(3) + b & 3;
11892
- q === 3 && (q = -1), E === 3 && (E = -1);
11891
+ var B = e.andln(3) + v & 3, E = s.andln(3) + b & 3;
11892
+ B === 3 && (B = -1), E === 3 && (E = -1);
11893
11893
  var S;
11894
- (q & 1) === 0 ? S = 0 : (m = e.andln(7) + v & 7, (m === 3 || m === 5) && E === 2 ? S = -q : S = q), l[0].push(S);
11894
+ (B & 1) === 0 ? S = 0 : (m = e.andln(7) + v & 7, (m === 3 || m === 5) && E === 2 ? S = -B : S = B), l[0].push(S);
11895
11895
  var O;
11896
- (E & 1) === 0 ? O = 0 : (m = s.andln(7) + b & 7, (m === 3 || m === 5) && q === 2 ? O = -E : O = E), l[1].push(O), 2 * v === S + 1 && (v = 1 - v), 2 * b === O + 1 && (b = 1 - b), e.iushrn(1), s.iushrn(1);
11896
+ (E & 1) === 0 ? O = 0 : (m = s.andln(7) + b & 7, (m === 3 || m === 5) && B === 2 ? O = -E : O = E), l[1].push(O), 2 * v === S + 1 && (v = 1 - v), 2 * b === O + 1 && (b = 1 - b), e.iushrn(1), s.iushrn(1);
11897
11897
  }
11898
11898
  return l;
11899
11899
  }
@@ -11936,8 +11936,8 @@ function requireBase$1() {
11936
11936
  var v = [], b, m;
11937
11937
  for (b = 0; b < s.length; b += e.step) {
11938
11938
  m = 0;
11939
- for (var q = b + e.step - 1; q >= b; q--)
11940
- m = (m << 1) + s[q];
11939
+ for (var B = b + e.step - 1; B >= b; B--)
11940
+ m = (m << 1) + s[B];
11941
11941
  v.push(m);
11942
11942
  }
11943
11943
  for (var E = this.jpoint(null, null, null), S = this.jpoint(null, null, null), O = l; O > 0; O--) {
@@ -11950,16 +11950,16 @@ function requireBase$1() {
11950
11950
  var e = 4, s = a._getNAFPoints(e);
11951
11951
  e = s.wnd;
11952
11952
  for (var l = s.points, v = u(n, e, this._bitLength), b = this.jpoint(null, null, null), m = v.length - 1; m >= 0; m--) {
11953
- for (var q = 0; m >= 0 && v[m] === 0; m--)
11954
- q++;
11955
- if (m >= 0 && q++, b = b.dblp(q), m < 0)
11953
+ for (var B = 0; m >= 0 && v[m] === 0; m--)
11954
+ B++;
11955
+ if (m >= 0 && B++, b = b.dblp(B), m < 0)
11956
11956
  break;
11957
11957
  var E = v[m];
11958
11958
  d(E !== 0), a.type === "affine" ? E > 0 ? b = b.mixedAdd(l[E - 1 >> 1]) : b = b.mixedAdd(l[-E - 1 >> 1].neg()) : E > 0 ? b = b.add(l[E - 1 >> 1]) : b = b.add(l[-E - 1 >> 1].neg());
11959
11959
  }
11960
11960
  return a.type === "affine" ? b.toP() : b;
11961
11961
  }, r.prototype._wnafMulAdd = function(a, n, e, s, l) {
11962
- var v = this._wnafT1, b = this._wnafT2, m = this._wnafT3, q = 0, E, S, O;
11962
+ var v = this._wnafT1, b = this._wnafT2, m = this._wnafT3, B = 0, E, S, O;
11963
11963
  for (E = 0; E < s; E++) {
11964
11964
  O = n[E];
11965
11965
  var D = O._getNAFPoints(a);
@@ -11968,7 +11968,7 @@ function requireBase$1() {
11968
11968
  for (E = s - 1; E >= 1; E -= 2) {
11969
11969
  var $ = E - 1, j = E;
11970
11970
  if (v[$] !== 1 || v[j] !== 1) {
11971
- m[$] = u(e[$], v[$], this._bitLength), m[j] = u(e[j], v[j], this._bitLength), q = Math.max(m[$].length, q), q = Math.max(m[j].length, q);
11971
+ m[$] = u(e[$], v[$], this._bitLength), m[j] = u(e[j], v[j], this._bitLength), B = Math.max(m[$].length, B), B = Math.max(m[j].length, B);
11972
11972
  continue;
11973
11973
  }
11974
11974
  var J = [
@@ -12002,13 +12002,13 @@ function requireBase$1() {
12002
12002
  3
12003
12003
  /* 1 1 */
12004
12004
  ], ne = o(e[$], e[j]);
12005
- for (q = Math.max(ne[0].length, q), m[$] = new Array(q), m[j] = new Array(q), S = 0; S < q; S++) {
12005
+ for (B = Math.max(ne[0].length, B), m[$] = new Array(B), m[j] = new Array(B), S = 0; S < B; S++) {
12006
12006
  var de = ne[0][S] | 0, Z = ne[1][S] | 0;
12007
12007
  m[$][S] = ie[(de + 1) * 3 + (Z + 1)], m[j][S] = 0, b[$] = J;
12008
12008
  }
12009
12009
  }
12010
12010
  var y = this.jpoint(null, null, null), g = this._wnafT4;
12011
- for (E = q; E >= 0; E--) {
12011
+ for (E = B; E >= 0; E--) {
12012
12012
  for (var p = 0; E >= 0; ) {
12013
12013
  var _ = !0;
12014
12014
  for (S = 0; S < s; S++)
@@ -12137,15 +12137,15 @@ function requireShort() {
12137
12137
  var e = n === this.p ? this.red : t.mont(n), s = new t(2).toRed(e).redInvm(), l = s.redNeg(), v = new t(3).toRed(e).redNeg().redSqrt().redMul(s), b = l.redAdd(v).fromRed(), m = l.redSub(v).fromRed();
12138
12138
  return [b, m];
12139
12139
  }, r.prototype._getEndoBasis = function(n) {
12140
- for (var e = this.n.ushrn(Math.floor(this.n.bitLength() / 2)), s = n, l = this.n.clone(), v = new t(1), b = new t(0), m = new t(0), q = new t(1), E, S, O, D, $, j, J, ie = 0, ne, de; s.cmpn(0) !== 0; ) {
12140
+ for (var e = this.n.ushrn(Math.floor(this.n.bitLength() / 2)), s = n, l = this.n.clone(), v = new t(1), b = new t(0), m = new t(0), B = new t(1), E, S, O, D, $, j, J, ie = 0, ne, de; s.cmpn(0) !== 0; ) {
12141
12141
  var Z = l.div(s);
12142
12142
  ne = l.sub(Z.mul(s)), de = m.sub(Z.mul(v));
12143
- var y = q.sub(Z.mul(b));
12143
+ var y = B.sub(Z.mul(b));
12144
12144
  if (!O && ne.cmp(e) < 0)
12145
12145
  E = J.neg(), S = v, O = ne.neg(), D = de;
12146
12146
  else if (O && ++ie === 2)
12147
12147
  break;
12148
- J = ne, l = s, s = ne, m = v, v = de, q = b, b = y;
12148
+ J = ne, l = s, s = ne, m = v, v = de, B = b, b = y;
12149
12149
  }
12150
12150
  $ = ne.neg(), j = de;
12151
12151
  var g = O.sqr().add(D.sqr()), p = $.sqr().add(j.sqr());
@@ -12154,7 +12154,7 @@ function requireShort() {
12154
12154
  { a: $, b: j }
12155
12155
  ];
12156
12156
  }, r.prototype._endoSplit = function(n) {
12157
- var e = this.endo.basis, s = e[0], l = e[1], v = l.b.mul(n).divRound(this.n), b = s.b.neg().mul(n).divRound(this.n), m = v.mul(s.a), q = b.mul(l.a), E = v.mul(s.b), S = b.mul(l.b), O = n.sub(m).sub(q), D = E.add(S).neg();
12157
+ var e = this.endo.basis, s = e[0], l = e[1], v = l.b.mul(n).divRound(this.n), b = s.b.neg().mul(n).divRound(this.n), m = v.mul(s.a), B = b.mul(l.a), E = v.mul(s.b), S = b.mul(l.b), O = n.sub(m).sub(B), D = E.add(S).neg();
12158
12158
  return { k1: O, k2: D };
12159
12159
  }, r.prototype.pointFromX = function(n, e) {
12160
12160
  n = new t(n, 16), n.red || (n = n.toRed(this.red));
@@ -12170,8 +12170,8 @@ function requireShort() {
12170
12170
  return s.redSqr().redISub(v).cmpn(0) === 0;
12171
12171
  }, r.prototype._endoWnafMulAdd = function(n, e, s) {
12172
12172
  for (var l = this._endoWnafT1, v = this._endoWnafT2, b = 0; b < n.length; b++) {
12173
- var m = this._endoSplit(e[b]), q = n[b], E = q._getBeta();
12174
- m.k1.negative && (m.k1.ineg(), q = q.neg(!0)), m.k2.negative && (m.k2.ineg(), E = E.neg(!0)), l[b * 2] = q, l[b * 2 + 1] = E, v[b * 2] = m.k1, v[b * 2 + 1] = m.k2;
12173
+ var m = this._endoSplit(e[b]), B = n[b], E = B._getBeta();
12174
+ m.k1.negative && (m.k1.ineg(), B = B.neg(!0)), m.k2.negative && (m.k2.ineg(), E = E.neg(!0)), l[b * 2] = B, l[b * 2 + 1] = E, v[b * 2] = m.k1, v[b * 2 + 1] = m.k2;
12175
12175
  }
12176
12176
  for (var S = this._wnafMulAdd(1, l, v, b * 2, s), O = 0; O < b * 2; O++)
12177
12177
  l[O] = null, v[O] = null;
@@ -12323,20 +12323,20 @@ function requireShort() {
12323
12323
  return n;
12324
12324
  if (n.isInfinity())
12325
12325
  return this;
12326
- var e = n.z.redSqr(), s = this.z.redSqr(), l = this.x.redMul(e), v = n.x.redMul(s), b = this.y.redMul(e.redMul(n.z)), m = n.y.redMul(s.redMul(this.z)), q = l.redSub(v), E = b.redSub(m);
12327
- if (q.cmpn(0) === 0)
12326
+ var e = n.z.redSqr(), s = this.z.redSqr(), l = this.x.redMul(e), v = n.x.redMul(s), b = this.y.redMul(e.redMul(n.z)), m = n.y.redMul(s.redMul(this.z)), B = l.redSub(v), E = b.redSub(m);
12327
+ if (B.cmpn(0) === 0)
12328
12328
  return E.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl();
12329
- var S = q.redSqr(), O = S.redMul(q), D = l.redMul(S), $ = E.redSqr().redIAdd(O).redISub(D).redISub(D), j = E.redMul(D.redISub($)).redISub(b.redMul(O)), J = this.z.redMul(n.z).redMul(q);
12329
+ var S = B.redSqr(), O = S.redMul(B), D = l.redMul(S), $ = E.redSqr().redIAdd(O).redISub(D).redISub(D), j = E.redMul(D.redISub($)).redISub(b.redMul(O)), J = this.z.redMul(n.z).redMul(B);
12330
12330
  return this.curve.jpoint($, j, J);
12331
12331
  }, f.prototype.mixedAdd = function(n) {
12332
12332
  if (this.isInfinity())
12333
12333
  return n.toJ();
12334
12334
  if (n.isInfinity())
12335
12335
  return this;
12336
- var e = this.z.redSqr(), s = this.x, l = n.x.redMul(e), v = this.y, b = n.y.redMul(e).redMul(this.z), m = s.redSub(l), q = v.redSub(b);
12336
+ var e = this.z.redSqr(), s = this.x, l = n.x.redMul(e), v = this.y, b = n.y.redMul(e).redMul(this.z), m = s.redSub(l), B = v.redSub(b);
12337
12337
  if (m.cmpn(0) === 0)
12338
- return q.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl();
12339
- var E = m.redSqr(), S = E.redMul(m), O = s.redMul(E), D = q.redSqr().redIAdd(S).redISub(O).redISub(O), $ = q.redMul(O.redISub(D)).redISub(v.redMul(S)), j = this.z.redMul(m);
12338
+ return B.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl();
12339
+ var E = m.redSqr(), S = E.redMul(m), O = s.redMul(E), D = B.redSqr().redIAdd(S).redISub(O).redISub(O), $ = B.redMul(O.redISub(D)).redISub(v.redMul(S)), j = this.z.redMul(m);
12340
12340
  return this.curve.jpoint(D, $, j);
12341
12341
  }, f.prototype.dblp = function(n) {
12342
12342
  if (n === 0)
@@ -12352,14 +12352,14 @@ function requireShort() {
12352
12352
  s = s.dbl();
12353
12353
  return s;
12354
12354
  }
12355
- var l = this.curve.a, v = this.curve.tinv, b = this.x, m = this.y, q = this.z, E = q.redSqr().redSqr(), S = m.redAdd(m);
12355
+ var l = this.curve.a, v = this.curve.tinv, b = this.x, m = this.y, B = this.z, E = B.redSqr().redSqr(), S = m.redAdd(m);
12356
12356
  for (e = 0; e < n; e++) {
12357
12357
  var O = b.redSqr(), D = S.redSqr(), $ = D.redSqr(), j = O.redAdd(O).redIAdd(O).redIAdd(l.redMul(E)), J = b.redMul(D), ie = j.redSqr().redISub(J.redAdd(J)), ne = J.redISub(ie), de = j.redMul(ne);
12358
12358
  de = de.redIAdd(de).redISub($);
12359
- var Z = S.redMul(q);
12360
- e + 1 < n && (E = E.redMul($)), b = ie, q = Z, S = de;
12359
+ var Z = S.redMul(B);
12360
+ e + 1 < n && (E = E.redMul($)), b = ie, B = Z, S = de;
12361
12361
  }
12362
- return this.curve.jpoint(b, S.redMul(v), q);
12362
+ return this.curve.jpoint(b, S.redMul(v), B);
12363
12363
  }, f.prototype.dbl = function() {
12364
12364
  return this.isInfinity() ? this : this.curve.zeroA ? this._zeroDbl() : this.curve.threeA ? this._threeDbl() : this._dbl();
12365
12365
  }, f.prototype._zeroDbl = function() {
@@ -12367,8 +12367,8 @@ function requireShort() {
12367
12367
  if (this.zOne) {
12368
12368
  var l = this.x.redSqr(), v = this.y.redSqr(), b = v.redSqr(), m = this.x.redAdd(v).redSqr().redISub(l).redISub(b);
12369
12369
  m = m.redIAdd(m);
12370
- var q = l.redAdd(l).redIAdd(l), E = q.redSqr().redISub(m).redISub(m), S = b.redIAdd(b);
12371
- S = S.redIAdd(S), S = S.redIAdd(S), n = E, e = q.redMul(m.redISub(E)).redISub(S), s = this.y.redAdd(this.y);
12370
+ var B = l.redAdd(l).redIAdd(l), E = B.redSqr().redISub(m).redISub(m), S = b.redIAdd(b);
12371
+ S = S.redIAdd(S), S = S.redIAdd(S), n = E, e = B.redMul(m.redISub(E)).redISub(S), s = this.y.redAdd(this.y);
12372
12372
  } else {
12373
12373
  var O = this.x.redSqr(), D = this.y.redSqr(), $ = D.redSqr(), j = this.x.redAdd(D).redSqr().redISub(O).redISub($);
12374
12374
  j = j.redIAdd(j);
@@ -12381,10 +12381,10 @@ function requireShort() {
12381
12381
  if (this.zOne) {
12382
12382
  var l = this.x.redSqr(), v = this.y.redSqr(), b = v.redSqr(), m = this.x.redAdd(v).redSqr().redISub(l).redISub(b);
12383
12383
  m = m.redIAdd(m);
12384
- var q = l.redAdd(l).redIAdd(l).redIAdd(this.curve.a), E = q.redSqr().redISub(m).redISub(m);
12384
+ var B = l.redAdd(l).redIAdd(l).redIAdd(this.curve.a), E = B.redSqr().redISub(m).redISub(m);
12385
12385
  n = E;
12386
12386
  var S = b.redIAdd(b);
12387
- S = S.redIAdd(S), S = S.redIAdd(S), e = q.redMul(m.redISub(E)).redISub(S), s = this.y.redAdd(this.y);
12387
+ S = S.redIAdd(S), S = S.redIAdd(S), e = B.redMul(m.redISub(E)).redISub(S), s = this.y.redAdd(this.y);
12388
12388
  } else {
12389
12389
  var O = this.z.redSqr(), D = this.y.redSqr(), $ = this.x.redMul(D), j = this.x.redSub(O).redMul(this.x.redAdd(O));
12390
12390
  j = j.redAdd(j).redIAdd(j);
@@ -12397,26 +12397,26 @@ function requireShort() {
12397
12397
  }
12398
12398
  return this.curve.jpoint(n, e, s);
12399
12399
  }, f.prototype._dbl = function() {
12400
- var n = this.curve.a, e = this.x, s = this.y, l = this.z, v = l.redSqr().redSqr(), b = e.redSqr(), m = s.redSqr(), q = b.redAdd(b).redIAdd(b).redIAdd(n.redMul(v)), E = e.redAdd(e);
12400
+ var n = this.curve.a, e = this.x, s = this.y, l = this.z, v = l.redSqr().redSqr(), b = e.redSqr(), m = s.redSqr(), B = b.redAdd(b).redIAdd(b).redIAdd(n.redMul(v)), E = e.redAdd(e);
12401
12401
  E = E.redIAdd(E);
12402
- var S = E.redMul(m), O = q.redSqr().redISub(S.redAdd(S)), D = S.redISub(O), $ = m.redSqr();
12402
+ var S = E.redMul(m), O = B.redSqr().redISub(S.redAdd(S)), D = S.redISub(O), $ = m.redSqr();
12403
12403
  $ = $.redIAdd($), $ = $.redIAdd($), $ = $.redIAdd($);
12404
- var j = q.redMul(D).redISub($), J = s.redAdd(s).redMul(l);
12404
+ var j = B.redMul(D).redISub($), J = s.redAdd(s).redMul(l);
12405
12405
  return this.curve.jpoint(O, j, J);
12406
12406
  }, f.prototype.trpl = function() {
12407
12407
  if (!this.curve.zeroA)
12408
12408
  return this.dbl().add(this);
12409
12409
  var n = this.x.redSqr(), e = this.y.redSqr(), s = this.z.redSqr(), l = e.redSqr(), v = n.redAdd(n).redIAdd(n), b = v.redSqr(), m = this.x.redAdd(e).redSqr().redISub(n).redISub(l);
12410
12410
  m = m.redIAdd(m), m = m.redAdd(m).redIAdd(m), m = m.redISub(b);
12411
- var q = m.redSqr(), E = l.redIAdd(l);
12411
+ var B = m.redSqr(), E = l.redIAdd(l);
12412
12412
  E = E.redIAdd(E), E = E.redIAdd(E), E = E.redIAdd(E);
12413
- var S = v.redIAdd(m).redSqr().redISub(b).redISub(q).redISub(E), O = e.redMul(S);
12413
+ var S = v.redIAdd(m).redSqr().redISub(b).redISub(B).redISub(E), O = e.redMul(S);
12414
12414
  O = O.redIAdd(O), O = O.redIAdd(O);
12415
- var D = this.x.redMul(q).redISub(O);
12415
+ var D = this.x.redMul(B).redISub(O);
12416
12416
  D = D.redIAdd(D), D = D.redIAdd(D);
12417
- var $ = this.y.redMul(S.redMul(E.redISub(S)).redISub(m.redMul(q)));
12417
+ var $ = this.y.redMul(S.redMul(E.redISub(S)).redISub(m.redMul(B)));
12418
12418
  $ = $.redIAdd($), $ = $.redIAdd($), $ = $.redIAdd($);
12419
- var j = this.z.redAdd(m).redSqr().redISub(s).redISub(q);
12419
+ var j = this.z.redAdd(m).redSqr().redISub(s).redISub(B);
12420
12420
  return this.curve.jpoint(D, $, j);
12421
12421
  }, f.prototype.mul = function(n, e) {
12422
12422
  return n = new t(n, e), this.curve._wnafMul(this, n);
@@ -12482,8 +12482,8 @@ function requireMont() {
12482
12482
  }, r.prototype.add = function() {
12483
12483
  throw new Error("Not supported on Montgomery curve");
12484
12484
  }, r.prototype.diffAdd = function(f, a) {
12485
- var n = this.x.redAdd(this.z), e = this.x.redSub(this.z), s = f.x.redAdd(f.z), l = f.x.redSub(f.z), v = l.redMul(n), b = s.redMul(e), m = a.z.redMul(v.redAdd(b).redSqr()), q = a.x.redMul(v.redISub(b).redSqr());
12486
- return this.curve.point(m, q);
12485
+ var n = this.x.redAdd(this.z), e = this.x.redSub(this.z), s = f.x.redAdd(f.z), l = f.x.redSub(f.z), v = l.redMul(n), b = s.redMul(e), m = a.z.redMul(v.redAdd(b).redSqr()), B = a.x.redMul(v.redISub(b).redSqr());
12486
+ return this.curve.point(m, B);
12487
12487
  }, r.prototype.mul = function(f) {
12488
12488
  for (var a = f.clone(), n = this, e = this.curve.point(null, null), s = this, l = []; a.cmpn(0) !== 0; a.iushrn(1))
12489
12489
  l.push(a.andln(1));
@@ -12558,24 +12558,24 @@ function requireEdwards() {
12558
12558
  }, h.prototype._extDbl = function() {
12559
12559
  var a = this.x.redSqr(), n = this.y.redSqr(), e = this.z.redSqr();
12560
12560
  e = e.redIAdd(e);
12561
- var s = this.curve._mulA(a), l = this.x.redAdd(this.y).redSqr().redISub(a).redISub(n), v = s.redAdd(n), b = v.redSub(e), m = s.redSub(n), q = l.redMul(b), E = v.redMul(m), S = l.redMul(m), O = b.redMul(v);
12562
- return this.curve.point(q, E, O, S);
12561
+ var s = this.curve._mulA(a), l = this.x.redAdd(this.y).redSqr().redISub(a).redISub(n), v = s.redAdd(n), b = v.redSub(e), m = s.redSub(n), B = l.redMul(b), E = v.redMul(m), S = l.redMul(m), O = b.redMul(v);
12562
+ return this.curve.point(B, E, O, S);
12563
12563
  }, h.prototype._projDbl = function() {
12564
- var a = this.x.redAdd(this.y).redSqr(), n = this.x.redSqr(), e = this.y.redSqr(), s, l, v, b, m, q;
12564
+ var a = this.x.redAdd(this.y).redSqr(), n = this.x.redSqr(), e = this.y.redSqr(), s, l, v, b, m, B;
12565
12565
  if (this.curve.twisted) {
12566
12566
  b = this.curve._mulA(n);
12567
12567
  var E = b.redAdd(e);
12568
- this.zOne ? (s = a.redSub(n).redSub(e).redMul(E.redSub(this.curve.two)), l = E.redMul(b.redSub(e)), v = E.redSqr().redSub(E).redSub(E)) : (m = this.z.redSqr(), q = E.redSub(m).redISub(m), s = a.redSub(n).redISub(e).redMul(q), l = E.redMul(b.redSub(e)), v = E.redMul(q));
12568
+ this.zOne ? (s = a.redSub(n).redSub(e).redMul(E.redSub(this.curve.two)), l = E.redMul(b.redSub(e)), v = E.redSqr().redSub(E).redSub(E)) : (m = this.z.redSqr(), B = E.redSub(m).redISub(m), s = a.redSub(n).redISub(e).redMul(B), l = E.redMul(b.redSub(e)), v = E.redMul(B));
12569
12569
  } else
12570
- b = n.redAdd(e), m = this.curve._mulC(this.z).redSqr(), q = b.redSub(m).redSub(m), s = this.curve._mulC(a.redISub(b)).redMul(q), l = this.curve._mulC(b).redMul(n.redISub(e)), v = b.redMul(q);
12570
+ b = n.redAdd(e), m = this.curve._mulC(this.z).redSqr(), B = b.redSub(m).redSub(m), s = this.curve._mulC(a.redISub(b)).redMul(B), l = this.curve._mulC(b).redMul(n.redISub(e)), v = b.redMul(B);
12571
12571
  return this.curve.point(s, l, v);
12572
12572
  }, h.prototype.dbl = function() {
12573
12573
  return this.isInfinity() ? this : this.curve.extended ? this._extDbl() : this._projDbl();
12574
12574
  }, h.prototype._extAdd = function(a) {
12575
- var n = this.y.redSub(this.x).redMul(a.y.redSub(a.x)), e = this.y.redAdd(this.x).redMul(a.y.redAdd(a.x)), s = this.t.redMul(this.curve.dd).redMul(a.t), l = this.z.redMul(a.z.redAdd(a.z)), v = e.redSub(n), b = l.redSub(s), m = l.redAdd(s), q = e.redAdd(n), E = v.redMul(b), S = m.redMul(q), O = v.redMul(q), D = b.redMul(m);
12575
+ var n = this.y.redSub(this.x).redMul(a.y.redSub(a.x)), e = this.y.redAdd(this.x).redMul(a.y.redAdd(a.x)), s = this.t.redMul(this.curve.dd).redMul(a.t), l = this.z.redMul(a.z.redAdd(a.z)), v = e.redSub(n), b = l.redSub(s), m = l.redAdd(s), B = e.redAdd(n), E = v.redMul(b), S = m.redMul(B), O = v.redMul(B), D = b.redMul(m);
12576
12576
  return this.curve.point(E, S, D, O);
12577
12577
  }, h.prototype._projAdd = function(a) {
12578
- var n = this.z.redMul(a.z), e = n.redSqr(), s = this.x.redMul(a.x), l = this.y.redMul(a.y), v = this.curve.d.redMul(s).redMul(l), b = e.redSub(v), m = e.redAdd(v), q = this.x.redAdd(this.y).redMul(a.x.redAdd(a.y)).redISub(s).redISub(l), E = n.redMul(b).redMul(q), S, O;
12578
+ var n = this.z.redMul(a.z), e = n.redSqr(), s = this.x.redMul(a.x), l = this.y.redMul(a.y), v = this.curve.d.redMul(s).redMul(l), b = e.redSub(v), m = e.redAdd(v), B = this.x.redAdd(this.y).redMul(a.x.redAdd(a.y)).redISub(s).redISub(l), E = n.redMul(b).redMul(B), S, O;
12579
12579
  return this.curve.twisted ? (S = n.redMul(m).redMul(l.redSub(this.curve._mulA(s))), O = b.redMul(m)) : (S = n.redMul(m).redMul(l.redSub(s)), O = this.curve._mulC(b).redMul(m)), this.curve.point(E, S, O);
12580
12580
  }, h.prototype.add = function(a) {
12581
12581
  return this.isInfinity() ? a : a.isInfinity() ? this : this.curve.extended ? this._extAdd(a) : this._projAdd(a);
@@ -12643,8 +12643,8 @@ function requireUtils$1() {
12643
12643
  for (y = y.replace(/[^a-z0-9]+/ig, ""), y.length % 2 !== 0 && (y = "0" + y), R = 0; R < y.length; R += 2)
12644
12644
  p.push(parseInt(y[R] + y[R + 1], 16));
12645
12645
  } else for (var _ = 0, R = 0; R < y.length; R++) {
12646
- var B = y.charCodeAt(R);
12647
- B < 128 ? p[_++] = B : B < 2048 ? (p[_++] = B >> 6 | 192, p[_++] = B & 63 | 128) : u(y, R) ? (B = 65536 + ((B & 1023) << 10) + (y.charCodeAt(++R) & 1023), p[_++] = B >> 18 | 240, p[_++] = B >> 12 & 63 | 128, p[_++] = B >> 6 & 63 | 128, p[_++] = B & 63 | 128) : (p[_++] = B >> 12 | 224, p[_++] = B >> 6 & 63 | 128, p[_++] = B & 63 | 128);
12646
+ var q = y.charCodeAt(R);
12647
+ q < 128 ? p[_++] = q : q < 2048 ? (p[_++] = q >> 6 | 192, p[_++] = q & 63 | 128) : u(y, R) ? (q = 65536 + ((q & 1023) << 10) + (y.charCodeAt(++R) & 1023), p[_++] = q >> 18 | 240, p[_++] = q >> 12 & 63 | 128, p[_++] = q >> 6 & 63 | 128, p[_++] = q & 63 | 128) : (p[_++] = q >> 12 | 224, p[_++] = q >> 6 & 63 | 128, p[_++] = q & 63 | 128);
12648
12648
  }
12649
12649
  else
12650
12650
  for (R = 0; R < y.length; R++)
@@ -12682,17 +12682,17 @@ function requireUtils$1() {
12682
12682
  function n(y, g, p, _) {
12683
12683
  var R = p - g;
12684
12684
  c(R % 4 === 0);
12685
- for (var B = new Array(R / 4), P = 0, A = g; P < B.length; P++, A += 4) {
12685
+ for (var q = new Array(R / 4), P = 0, A = g; P < q.length; P++, A += 4) {
12686
12686
  var w;
12687
- _ === "big" ? w = y[A] << 24 | y[A + 1] << 16 | y[A + 2] << 8 | y[A + 3] : w = y[A + 3] << 24 | y[A + 2] << 16 | y[A + 1] << 8 | y[A], B[P] = w >>> 0;
12687
+ _ === "big" ? w = y[A] << 24 | y[A + 1] << 16 | y[A + 2] << 8 | y[A + 3] : w = y[A + 3] << 24 | y[A + 2] << 16 | y[A + 1] << 8 | y[A], q[P] = w >>> 0;
12688
12688
  }
12689
- return B;
12689
+ return q;
12690
12690
  }
12691
12691
  utils.join32 = n;
12692
12692
  function e(y, g) {
12693
12693
  for (var p = new Array(y.length * 4), _ = 0, R = 0; _ < y.length; _++, R += 4) {
12694
- var B = y[_];
12695
- g === "big" ? (p[R] = B >>> 24, p[R + 1] = B >>> 16 & 255, p[R + 2] = B >>> 8 & 255, p[R + 3] = B & 255) : (p[R + 3] = B >>> 24, p[R + 2] = B >>> 16 & 255, p[R + 1] = B >>> 8 & 255, p[R] = B & 255);
12694
+ var q = y[_];
12695
+ g === "big" ? (p[R] = q >>> 24, p[R + 1] = q >>> 16 & 255, p[R + 2] = q >>> 8 & 255, p[R + 3] = q & 255) : (p[R + 3] = q >>> 24, p[R + 2] = q >>> 16 & 255, p[R + 1] = q >>> 8 & 255, p[R] = q & 255);
12696
12696
  }
12697
12697
  return p;
12698
12698
  }
@@ -12717,18 +12717,18 @@ function requireUtils$1() {
12717
12717
  return y + g + p + _ >>> 0;
12718
12718
  }
12719
12719
  utils.sum32_4 = m;
12720
- function q(y, g, p, _, R) {
12720
+ function B(y, g, p, _, R) {
12721
12721
  return y + g + p + _ + R >>> 0;
12722
12722
  }
12723
- utils.sum32_5 = q;
12723
+ utils.sum32_5 = B;
12724
12724
  function E(y, g, p, _) {
12725
- var R = y[g], B = y[g + 1], P = _ + B >>> 0, A = (P < _ ? 1 : 0) + p + R;
12725
+ var R = y[g], q = y[g + 1], P = _ + q >>> 0, A = (P < _ ? 1 : 0) + p + R;
12726
12726
  y[g] = A >>> 0, y[g + 1] = P;
12727
12727
  }
12728
12728
  utils.sum64 = E;
12729
12729
  function S(y, g, p, _) {
12730
- var R = g + _ >>> 0, B = (R < g ? 1 : 0) + y + p;
12731
- return B >>> 0;
12730
+ var R = g + _ >>> 0, q = (R < g ? 1 : 0) + y + p;
12731
+ return q >>> 0;
12732
12732
  }
12733
12733
  utils.sum64_hi = S;
12734
12734
  function O(y, g, p, _) {
@@ -12736,27 +12736,27 @@ function requireUtils$1() {
12736
12736
  return R >>> 0;
12737
12737
  }
12738
12738
  utils.sum64_lo = O;
12739
- function D(y, g, p, _, R, B, P, A) {
12739
+ function D(y, g, p, _, R, q, P, A) {
12740
12740
  var w = 0, M = g;
12741
- M = M + _ >>> 0, w += M < g ? 1 : 0, M = M + B >>> 0, w += M < B ? 1 : 0, M = M + A >>> 0, w += M < A ? 1 : 0;
12741
+ M = M + _ >>> 0, w += M < g ? 1 : 0, M = M + q >>> 0, w += M < q ? 1 : 0, M = M + A >>> 0, w += M < A ? 1 : 0;
12742
12742
  var x = y + p + R + P + w;
12743
12743
  return x >>> 0;
12744
12744
  }
12745
12745
  utils.sum64_4_hi = D;
12746
- function $(y, g, p, _, R, B, P, A) {
12747
- var w = g + _ + B + A;
12746
+ function $(y, g, p, _, R, q, P, A) {
12747
+ var w = g + _ + q + A;
12748
12748
  return w >>> 0;
12749
12749
  }
12750
12750
  utils.sum64_4_lo = $;
12751
- function j(y, g, p, _, R, B, P, A, w, M) {
12751
+ function j(y, g, p, _, R, q, P, A, w, M) {
12752
12752
  var x = 0, L = g;
12753
- L = L + _ >>> 0, x += L < g ? 1 : 0, L = L + B >>> 0, x += L < B ? 1 : 0, L = L + A >>> 0, x += L < A ? 1 : 0, L = L + M >>> 0, x += L < M ? 1 : 0;
12753
+ L = L + _ >>> 0, x += L < g ? 1 : 0, L = L + q >>> 0, x += L < q ? 1 : 0, L = L + A >>> 0, x += L < A ? 1 : 0, L = L + M >>> 0, x += L < M ? 1 : 0;
12754
12754
  var K = y + p + R + P + w + x;
12755
12755
  return K >>> 0;
12756
12756
  }
12757
12757
  utils.sum64_5_hi = j;
12758
- function J(y, g, p, _, R, B, P, A, w, M) {
12759
- var x = g + _ + B + A + M;
12758
+ function J(y, g, p, _, R, q, P, A, w, M) {
12759
+ var x = g + _ + q + A + M;
12760
12760
  return x >>> 0;
12761
12761
  }
12762
12762
  utils.sum64_5_lo = J;
@@ -12883,12 +12883,12 @@ function require_1() {
12883
12883
  v[b] = s[l + b];
12884
12884
  for (; b < v.length; b++)
12885
12885
  v[b] = o(v[b - 3] ^ v[b - 8] ^ v[b - 14] ^ v[b - 16], 1);
12886
- var m = this.h[0], q = this.h[1], E = this.h[2], S = this.h[3], O = this.h[4];
12886
+ var m = this.h[0], B = this.h[1], E = this.h[2], S = this.h[3], O = this.h[4];
12887
12887
  for (b = 0; b < v.length; b++) {
12888
- var D = ~~(b / 20), $ = r(o(m, 5), h(D, q, E, S), O, v[b], a[D]);
12889
- O = S, S = E, E = o(q, 30), q = m, m = $;
12888
+ var D = ~~(b / 20), $ = r(o(m, 5), h(D, B, E, S), O, v[b], a[D]);
12889
+ O = S, S = E, E = o(B, 30), B = m, m = $;
12890
12890
  }
12891
- this.h[0] = d(this.h[0], m), this.h[1] = d(this.h[1], q), this.h[2] = d(this.h[2], E), this.h[3] = d(this.h[3], S), this.h[4] = d(this.h[4], O);
12891
+ this.h[0] = d(this.h[0], m), this.h[1] = d(this.h[1], B), this.h[2] = d(this.h[2], E), this.h[3] = d(this.h[3], S), this.h[4] = d(this.h[4], O);
12892
12892
  }, n.prototype._digest = function(s) {
12893
12893
  return s === "hex" ? c.toHex32(this.h, "big") : c.split32(this.h, "big");
12894
12894
  }, _1;
@@ -13181,9 +13181,9 @@ function require_512() {
13181
13181
  1816402316,
13182
13182
  1246189591
13183
13183
  ];
13184
- function q() {
13185
- if (!(this instanceof q))
13186
- return new q();
13184
+ function B() {
13185
+ if (!(this instanceof B))
13186
+ return new B();
13187
13187
  b.call(this), this.h = [
13188
13188
  1779033703,
13189
13189
  4089235720,
@@ -13203,12 +13203,12 @@ function require_512() {
13203
13203
  327033209
13204
13204
  ], this.k = m, this.W = new Array(160);
13205
13205
  }
13206
- c.inherits(q, b), _512 = q, q.blockSize = 1024, q.outSize = 512, q.hmacStrength = 192, q.padLength = 128, q.prototype._prepareBlock = function(p, _) {
13207
- for (var R = this.W, B = 0; B < 32; B++)
13208
- R[B] = p[_ + B];
13209
- for (; B < R.length; B += 2) {
13210
- var P = Z(R[B - 4], R[B - 3]), A = y(R[B - 4], R[B - 3]), w = R[B - 14], M = R[B - 13], x = ne(R[B - 30], R[B - 29]), L = de(R[B - 30], R[B - 29]), K = R[B - 32], Q = R[B - 31];
13211
- R[B] = e(
13206
+ c.inherits(B, b), _512 = B, B.blockSize = 1024, B.outSize = 512, B.hmacStrength = 192, B.padLength = 128, B.prototype._prepareBlock = function(p, _) {
13207
+ for (var R = this.W, q = 0; q < 32; q++)
13208
+ R[q] = p[_ + q];
13209
+ for (; q < R.length; q += 2) {
13210
+ var P = Z(R[q - 4], R[q - 3]), A = y(R[q - 4], R[q - 3]), w = R[q - 14], M = R[q - 13], x = ne(R[q - 30], R[q - 29]), L = de(R[q - 30], R[q - 29]), K = R[q - 32], Q = R[q - 31];
13211
+ R[q] = e(
13212
13212
  P,
13213
13213
  A,
13214
13214
  w,
@@ -13217,7 +13217,7 @@ function require_512() {
13217
13217
  L,
13218
13218
  K,
13219
13219
  Q
13220
- ), R[B + 1] = s(
13220
+ ), R[q + 1] = s(
13221
13221
  P,
13222
13222
  A,
13223
13223
  w,
@@ -13228,9 +13228,9 @@ function require_512() {
13228
13228
  Q
13229
13229
  );
13230
13230
  }
13231
- }, q.prototype._update = function(p, _) {
13231
+ }, B.prototype._update = function(p, _) {
13232
13232
  this._prepareBlock(p, _);
13233
- var R = this.W, B = this.h[0], P = this.h[1], A = this.h[2], w = this.h[3], M = this.h[4], x = this.h[5], L = this.h[6], K = this.h[7], Q = this.h[8], H = this.h[9], N = this.h[10], F = this.h[11], ee = this.h[12], ae = this.h[13], z = this.h[14], G = this.h[15];
13233
+ var R = this.W, q = this.h[0], P = this.h[1], A = this.h[2], w = this.h[3], M = this.h[4], x = this.h[5], L = this.h[6], K = this.h[7], Q = this.h[8], H = this.h[9], N = this.h[10], F = this.h[11], ee = this.h[12], ae = this.h[13], z = this.h[14], G = this.h[15];
13234
13234
  u(this.k.length === R.length);
13235
13235
  for (var fe = 0; fe < R.length; fe += 2) {
13236
13236
  var me = z, xe = G, _e = J(Q, H), qe = ie(Q, H), Re = E(Q, H, N, F, ee), be = S(Q, H, N, F, ee, ae), Fe = this.k[fe], Be = this.k[fe + 1], Me = R[fe], Te = R[fe + 1], oe = l(
@@ -13256,60 +13256,60 @@ function require_512() {
13256
13256
  Me,
13257
13257
  Te
13258
13258
  );
13259
- me = $(B, P), xe = j(B, P), _e = O(B, P, A, w, M), qe = D(B, P, A, w, M, x);
13259
+ me = $(q, P), xe = j(q, P), _e = O(q, P, A, w, M), qe = D(q, P, A, w, M, x);
13260
13260
  var ge = a(me, xe, _e, qe), we = n(me, xe, _e, qe);
13261
- z = ee, G = ae, ee = N, ae = F, N = Q, F = H, Q = a(L, K, oe, ce), H = n(K, K, oe, ce), L = M, K = x, M = A, x = w, A = B, w = P, B = a(oe, ce, ge, we), P = n(oe, ce, ge, we);
13261
+ z = ee, G = ae, ee = N, ae = F, N = Q, F = H, Q = a(L, K, oe, ce), H = n(K, K, oe, ce), L = M, K = x, M = A, x = w, A = q, w = P, q = a(oe, ce, ge, we), P = n(oe, ce, ge, we);
13262
13262
  }
13263
- f(this.h, 0, B, P), f(this.h, 2, A, w), f(this.h, 4, M, x), f(this.h, 6, L, K), f(this.h, 8, Q, H), f(this.h, 10, N, F), f(this.h, 12, ee, ae), f(this.h, 14, z, G);
13264
- }, q.prototype._digest = function(p) {
13263
+ f(this.h, 0, q, P), f(this.h, 2, A, w), f(this.h, 4, M, x), f(this.h, 6, L, K), f(this.h, 8, Q, H), f(this.h, 10, N, F), f(this.h, 12, ee, ae), f(this.h, 14, z, G);
13264
+ }, B.prototype._digest = function(p) {
13265
13265
  return p === "hex" ? c.toHex32(this.h, "big") : c.split32(this.h, "big");
13266
13266
  };
13267
- function E(g, p, _, R, B) {
13268
- var P = g & _ ^ ~g & B;
13267
+ function E(g, p, _, R, q) {
13268
+ var P = g & _ ^ ~g & q;
13269
13269
  return P < 0 && (P += 4294967296), P;
13270
13270
  }
13271
- function S(g, p, _, R, B, P) {
13271
+ function S(g, p, _, R, q, P) {
13272
13272
  var A = p & R ^ ~p & P;
13273
13273
  return A < 0 && (A += 4294967296), A;
13274
13274
  }
13275
- function O(g, p, _, R, B) {
13276
- var P = g & _ ^ g & B ^ _ & B;
13275
+ function O(g, p, _, R, q) {
13276
+ var P = g & _ ^ g & q ^ _ & q;
13277
13277
  return P < 0 && (P += 4294967296), P;
13278
13278
  }
13279
- function D(g, p, _, R, B, P) {
13279
+ function D(g, p, _, R, q, P) {
13280
13280
  var A = p & R ^ p & P ^ R & P;
13281
13281
  return A < 0 && (A += 4294967296), A;
13282
13282
  }
13283
13283
  function $(g, p) {
13284
- var _ = o(g, p, 28), R = o(p, g, 2), B = o(p, g, 7), P = _ ^ R ^ B;
13284
+ var _ = o(g, p, 28), R = o(p, g, 2), q = o(p, g, 7), P = _ ^ R ^ q;
13285
13285
  return P < 0 && (P += 4294967296), P;
13286
13286
  }
13287
13287
  function j(g, p) {
13288
- var _ = d(g, p, 28), R = d(p, g, 2), B = d(p, g, 7), P = _ ^ R ^ B;
13288
+ var _ = d(g, p, 28), R = d(p, g, 2), q = d(p, g, 7), P = _ ^ R ^ q;
13289
13289
  return P < 0 && (P += 4294967296), P;
13290
13290
  }
13291
13291
  function J(g, p) {
13292
- var _ = o(g, p, 14), R = o(g, p, 18), B = o(p, g, 9), P = _ ^ R ^ B;
13292
+ var _ = o(g, p, 14), R = o(g, p, 18), q = o(p, g, 9), P = _ ^ R ^ q;
13293
13293
  return P < 0 && (P += 4294967296), P;
13294
13294
  }
13295
13295
  function ie(g, p) {
13296
- var _ = d(g, p, 14), R = d(g, p, 18), B = d(p, g, 9), P = _ ^ R ^ B;
13296
+ var _ = d(g, p, 14), R = d(g, p, 18), q = d(p, g, 9), P = _ ^ R ^ q;
13297
13297
  return P < 0 && (P += 4294967296), P;
13298
13298
  }
13299
13299
  function ne(g, p) {
13300
- var _ = o(g, p, 1), R = o(g, p, 8), B = r(g, p, 7), P = _ ^ R ^ B;
13300
+ var _ = o(g, p, 1), R = o(g, p, 8), q = r(g, p, 7), P = _ ^ R ^ q;
13301
13301
  return P < 0 && (P += 4294967296), P;
13302
13302
  }
13303
13303
  function de(g, p) {
13304
- var _ = d(g, p, 1), R = d(g, p, 8), B = h(g, p, 7), P = _ ^ R ^ B;
13304
+ var _ = d(g, p, 1), R = d(g, p, 8), q = h(g, p, 7), P = _ ^ R ^ q;
13305
13305
  return P < 0 && (P += 4294967296), P;
13306
13306
  }
13307
13307
  function Z(g, p) {
13308
- var _ = o(g, p, 19), R = o(p, g, 29), B = r(g, p, 6), P = _ ^ R ^ B;
13308
+ var _ = o(g, p, 19), R = o(p, g, 29), q = r(g, p, 6), P = _ ^ R ^ q;
13309
13309
  return P < 0 && (P += 4294967296), P;
13310
13310
  }
13311
13311
  function y(g, p) {
13312
- var _ = d(g, p, 19), R = d(p, g, 29), B = h(g, p, 6), P = _ ^ R ^ B;
13312
+ var _ = d(g, p, 19), R = d(p, g, 29), q = h(g, p, 6), P = _ ^ R ^ q;
13313
13313
  return P < 0 && (P += 4294967296), P;
13314
13314
  }
13315
13315
  return _512;
@@ -13359,29 +13359,29 @@ function requireRipemd() {
13359
13359
  return new f();
13360
13360
  h.call(this), this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], this.endian = "little";
13361
13361
  }
13362
- c.inherits(f, h), ripemd.ripemd160 = f, f.blockSize = 512, f.outSize = 160, f.hmacStrength = 192, f.padLength = 64, f.prototype._update = function(q, E) {
13362
+ c.inherits(f, h), ripemd.ripemd160 = f, f.blockSize = 512, f.outSize = 160, f.hmacStrength = 192, f.padLength = 64, f.prototype._update = function(B, E) {
13363
13363
  for (var S = this.h[0], O = this.h[1], D = this.h[2], $ = this.h[3], j = this.h[4], J = S, ie = O, ne = D, de = $, Z = j, y = 0; y < 80; y++) {
13364
13364
  var g = o(
13365
13365
  u(
13366
- r(S, a(y, O, D, $), q[s[y] + E], n(y)),
13366
+ r(S, a(y, O, D, $), B[s[y] + E], n(y)),
13367
13367
  v[y]
13368
13368
  ),
13369
13369
  j
13370
13370
  );
13371
13371
  S = j, j = $, $ = u(D, 10), D = O, O = g, g = o(
13372
13372
  u(
13373
- r(J, a(79 - y, ie, ne, de), q[l[y] + E], e(y)),
13373
+ r(J, a(79 - y, ie, ne, de), B[l[y] + E], e(y)),
13374
13374
  b[y]
13375
13375
  ),
13376
13376
  Z
13377
13377
  ), J = Z, Z = de, de = u(ne, 10), ne = ie, ie = g;
13378
13378
  }
13379
13379
  g = d(this.h[1], D, de), this.h[1] = d(this.h[2], $, Z), this.h[2] = d(this.h[3], j, J), this.h[3] = d(this.h[4], S, ie), this.h[4] = d(this.h[0], O, ne), this.h[0] = g;
13380
- }, f.prototype._digest = function(q) {
13381
- return q === "hex" ? c.toHex32(this.h, "little") : c.split32(this.h, "little");
13380
+ }, f.prototype._digest = function(B) {
13381
+ return B === "hex" ? c.toHex32(this.h, "little") : c.split32(this.h, "little");
13382
13382
  };
13383
- function a(m, q, E, S) {
13384
- return m <= 15 ? q ^ E ^ S : m <= 31 ? q & E | ~q & S : m <= 47 ? (q | ~E) ^ S : m <= 63 ? q & S | E & ~S : q ^ (E | ~S);
13383
+ function a(m, B, E, S) {
13384
+ return m <= 15 ? B ^ E ^ S : m <= 31 ? B & E | ~B & S : m <= 47 ? (B | ~E) ^ S : m <= 63 ? B & S | E & ~S : B ^ (E | ~S);
13385
13385
  }
13386
13386
  function n(m) {
13387
13387
  return m <= 15 ? 0 : m <= 31 ? 1518500249 : m <= 47 ? 1859775393 : m <= 63 ? 2400959708 : 2840853838;
@@ -14815,18 +14815,18 @@ function requireSignature$1() {
14815
14815
  var m = r(n, s);
14816
14816
  if (m === !1 || n.length !== m + s.place || (n[s.place] & 128) !== 0)
14817
14817
  return !1;
14818
- var q = n.slice(s.place, m + s.place);
14818
+ var B = n.slice(s.place, m + s.place);
14819
14819
  if (b[0] === 0)
14820
14820
  if (b[1] & 128)
14821
14821
  b = b.slice(1);
14822
14822
  else
14823
14823
  return !1;
14824
- if (q[0] === 0)
14825
- if (q[1] & 128)
14826
- q = q.slice(1);
14824
+ if (B[0] === 0)
14825
+ if (B[1] & 128)
14826
+ B = B.slice(1);
14827
14827
  else
14828
14828
  return !1;
14829
- return this.r = new c(b), this.s = new c(q), this.recoveryParam = null, !0;
14829
+ return this.r = new c(b), this.s = new c(B), this.recoveryParam = null, !0;
14830
14830
  };
14831
14831
  function f(a, n) {
14832
14832
  if (n < 128) {
@@ -14903,11 +14903,11 @@ function requireEc() {
14903
14903
  for (var b = 0; b < e.length; b++) r((e[b] & 255) === e[b]);
14904
14904
  }
14905
14905
  s = this.keyFromPrivate(s, l), e = this._truncateToN(e, !1, v.msgBitLength), r(!e.isNeg(), "Can not sign a negative message");
14906
- var m = this.n.byteLength(), q = s.getPrivate().toArray("be", m), E = e.toArray("be", m);
14906
+ var m = this.n.byteLength(), B = s.getPrivate().toArray("be", m), E = e.toArray("be", m);
14907
14907
  r(new c(E).eq(e), "Can not sign message");
14908
14908
  for (var S = new t({
14909
14909
  hash: this.hash,
14910
- entropy: q,
14910
+ entropy: B,
14911
14911
  nonce: E,
14912
14912
  pers: v.pers,
14913
14913
  persEnc: v.persEnc || "utf8"
@@ -14929,18 +14929,18 @@ function requireEc() {
14929
14929
  }
14930
14930
  }, a.prototype.verify = function(e, s, l, v, b) {
14931
14931
  b || (b = {}), e = this._truncateToN(e, !1, b.msgBitLength), l = this.keyFromPublic(l, v), s = new f(s, "hex");
14932
- var m = s.r, q = s.s;
14933
- if (m.cmpn(1) < 0 || m.cmp(this.n) >= 0 || q.cmpn(1) < 0 || q.cmp(this.n) >= 0)
14932
+ var m = s.r, B = s.s;
14933
+ if (m.cmpn(1) < 0 || m.cmp(this.n) >= 0 || B.cmpn(1) < 0 || B.cmp(this.n) >= 0)
14934
14934
  return !1;
14935
- var E = q.invm(this.n), S = E.mul(e).umod(this.n), O = E.mul(m).umod(this.n), D;
14935
+ var E = B.invm(this.n), S = E.mul(e).umod(this.n), O = E.mul(m).umod(this.n), D;
14936
14936
  return this.curve._maxwellTrick ? (D = this.g.jmulAdd(S, l.getPublic(), O), D.isInfinity() ? !1 : D.eqXToP(m)) : (D = this.g.mulAdd(S, l.getPublic(), O), D.isInfinity() ? !1 : D.getX().umod(this.n).cmp(m) === 0);
14937
14937
  }, a.prototype.recoverPubKey = function(n, e, s, l) {
14938
14938
  r((3 & s) === s, "The recovery param is more than two bits"), e = new f(e, l);
14939
- var v = this.n, b = new c(n), m = e.r, q = e.s, E = s & 1, S = s >> 1;
14939
+ var v = this.n, b = new c(n), m = e.r, B = e.s, E = s & 1, S = s >> 1;
14940
14940
  if (m.cmp(this.curve.p.umod(this.curve.n)) >= 0 && S)
14941
14941
  throw new Error("Unable to find sencond key candinate");
14942
14942
  S ? m = this.curve.pointFromX(m.add(this.curve.n), E) : m = this.curve.pointFromX(m, E);
14943
- var O = e.r.invm(v), D = v.sub(b).mul(O).umod(v), $ = q.mul(O).umod(v);
14943
+ var O = e.r.invm(v), D = v.sub(b).mul(O).umod(v), $ = B.mul(O).umod(v);
14944
14944
  return this.g.mulAdd(D, m, $);
14945
14945
  }, a.prototype.getKeyRecoveryParam = function(n, e, s, l) {
14946
14946
  if (e = new f(e, l), e.recoveryParam !== null)
@@ -15032,8 +15032,8 @@ function requireEddsa() {
15032
15032
  }
15033
15033
  return eddsa = f, f.prototype.sign = function(n, e) {
15034
15034
  n = d(n);
15035
- var s = this.keyFromSecret(e), l = this.hashInt(s.messagePrefix(), n), v = this.g.mul(l), b = this.encodePoint(v), m = this.hashInt(b, s.pubBytes(), n).mul(s.priv()), q = l.add(m).umod(this.curve.n);
15036
- return this.makeSignature({ R: v, S: q, Rencoded: b });
15035
+ var s = this.keyFromSecret(e), l = this.hashInt(s.messagePrefix(), n), v = this.g.mul(l), b = this.encodePoint(v), m = this.hashInt(b, s.pubBytes(), n).mul(s.priv()), B = l.add(m).umod(this.curve.n);
15036
+ return this.makeSignature({ R: v, S: B, Rencoded: b });
15037
15037
  }, f.prototype.verify = function(n, e, s) {
15038
15038
  if (n = d(n), e = this.makeSignature(e), e.S().gte(e.eddsa.curve.n) || e.S().isNeg())
15039
15039
  return !1;
@@ -15455,8 +15455,8 @@ function requireNode() {
15455
15455
  var b = {};
15456
15456
  return Object.keys(v).forEach(function(m) {
15457
15457
  m == (m | 0) && (m |= 0);
15458
- var q = v[m];
15459
- b[q] = m;
15458
+ var B = v[m];
15459
+ b[B] = m;
15460
15460
  }), b;
15461
15461
  }));
15462
15462
  }, h.forEach(function(n) {
@@ -15508,8 +15508,8 @@ function requireNode() {
15508
15508
  return e.wrapResult(l.children[0]._decode(e, s));
15509
15509
  var v = l.default, b = !0, m = null;
15510
15510
  if (l.key !== null && (m = e.enterKey(l.key)), l.optional) {
15511
- var q = null;
15512
- if (l.explicit !== null ? q = l.explicit : l.implicit !== null ? q = l.implicit : l.tag !== null && (q = l.tag), q === null && !l.any) {
15511
+ var B = null;
15512
+ if (l.explicit !== null ? B = l.explicit : l.implicit !== null ? B = l.implicit : l.tag !== null && (B = l.tag), B === null && !l.any) {
15513
15513
  var E = e.save();
15514
15514
  try {
15515
15515
  l.choice === null ? this._decodeGeneric(l.tag, e, s) : this._decodeChoice(e, s), b = !0;
@@ -15517,7 +15517,7 @@ function requireNode() {
15517
15517
  b = !1;
15518
15518
  }
15519
15519
  e.restore(E);
15520
- } else if (b = this._peekTag(e, q, l.any), e.isError(b))
15520
+ } else if (b = this._peekTag(e, B, l.any), e.isError(b))
15521
15521
  return b;
15522
15522
  }
15523
15523
  var S;
@@ -15560,14 +15560,14 @@ function requireNode() {
15560
15560
  }, f.prototype._decodeChoice = function(e, s) {
15561
15561
  var l = this._baseState, v = null, b = !1;
15562
15562
  return Object.keys(l.choice).some(function(m) {
15563
- var q = e.save(), E = l.choice[m];
15563
+ var B = e.save(), E = l.choice[m];
15564
15564
  try {
15565
15565
  var S = E._decode(e, s);
15566
15566
  if (e.isError(S))
15567
15567
  return !1;
15568
15568
  v = { type: m, value: S }, b = !0;
15569
15569
  } catch {
15570
- return e.restore(q), !1;
15570
+ return e.restore(B), !1;
15571
15571
  }
15572
15572
  return !0;
15573
15573
  }, this), b ? v : e.error("Choice not matched");
@@ -15616,11 +15616,11 @@ function requireNode() {
15616
15616
  return s.error("Too many args for : " + v.tag);
15617
15617
  if (!Array.isArray(e))
15618
15618
  return s.error("seqof/setof, but data is not Array");
15619
- var q = this.clone();
15620
- q._baseState.implicit = null, b = this._createEncoderBuffer(e.map(function(D) {
15619
+ var B = this.clone();
15620
+ B._baseState.implicit = null, b = this._createEncoderBuffer(e.map(function(D) {
15621
15621
  var $ = this._baseState;
15622
15622
  return this._getUse($.args[0], e)._encode(D, s);
15623
- }, q));
15623
+ }, B));
15624
15624
  } else v.use !== null ? E = this._getUse(v.use, l)._encode(e, s) : (b = this._encodePrimitive(v.tag, e), m = !0);
15625
15625
  var E;
15626
15626
  if (!v.any && v.choice === null) {
@@ -15759,11 +15759,11 @@ function requireDer$1() {
15759
15759
  return e.error('Failed to match tag: "' + s + '"');
15760
15760
  if (v.primitive || b !== null)
15761
15761
  return e.skip(b, 'Failed to match body of: "' + s + '"');
15762
- var m = e.save(), q = this._skipUntilEnd(
15762
+ var m = e.save(), B = this._skipUntilEnd(
15763
15763
  e,
15764
15764
  'Failed to skip indefinite length body: "' + this.tag + '"'
15765
15765
  );
15766
- return e.isError(q) ? q : (b = e.offset - m.offset, e.restore(m), e.skip(b, 'Failed to match body of: "' + s + '"'));
15766
+ return e.isError(B) ? B : (b = e.offset - m.offset, e.restore(m), e.skip(b, 'Failed to match body of: "' + s + '"'));
15767
15767
  }, h.prototype._skipUntilEnd = function(e, s) {
15768
15768
  for (; ; ) {
15769
15769
  var l = f(e, s);
@@ -15783,10 +15783,10 @@ function requireDer$1() {
15783
15783
  var m = this._peekTag(e, "end");
15784
15784
  if (e.isError(m))
15785
15785
  return m;
15786
- var q = l.decode(e, "der", v);
15787
- if (e.isError(q) && m)
15786
+ var B = l.decode(e, "der", v);
15787
+ if (e.isError(B) && m)
15788
15788
  break;
15789
- b.push(q);
15789
+ b.push(B);
15790
15790
  }
15791
15791
  return b;
15792
15792
  }, h.prototype._decodeStr = function(e, s) {
@@ -15801,8 +15801,8 @@ function requireDer$1() {
15801
15801
  b += String.fromCharCode(v.readUInt16BE(m * 2));
15802
15802
  return b;
15803
15803
  } else if (s === "numstr") {
15804
- var q = e.raw().toString("ascii");
15805
- return this._isNumstr(q) ? q : e.error("Decoding of string type: numstr unsupported characters");
15804
+ var B = e.raw().toString("ascii");
15805
+ return this._isNumstr(B) ? B : e.error("Decoding of string type: numstr unsupported characters");
15806
15806
  } else {
15807
15807
  if (s === "octstr")
15808
15808
  return e.raw();
@@ -15815,10 +15815,10 @@ function requireDer$1() {
15815
15815
  }
15816
15816
  }, h.prototype._decodeObjid = function(e, s, l) {
15817
15817
  for (var v, b = [], m = 0; !e.isEmpty(); ) {
15818
- var q = e.readUInt8();
15819
- m <<= 7, m |= q & 127, (q & 128) === 0 && (b.push(m), m = 0);
15818
+ var B = e.readUInt8();
15819
+ m <<= 7, m |= B & 127, (B & 128) === 0 && (b.push(m), m = 0);
15820
15820
  }
15821
- q & 128 && b.push(m);
15821
+ B & 128 && b.push(m);
15822
15822
  var E = b[0] / 40 | 0, S = b[0] % 40;
15823
15823
  if (l ? v = b : v = [E, S].concat(b.slice(1)), s) {
15824
15824
  var O = s[v.join(" ")];
@@ -15828,13 +15828,13 @@ function requireDer$1() {
15828
15828
  }, h.prototype._decodeTime = function(e, s) {
15829
15829
  var l = e.raw().toString();
15830
15830
  if (s === "gentime")
15831
- var v = l.slice(0, 4) | 0, b = l.slice(4, 6) | 0, m = l.slice(6, 8) | 0, q = l.slice(8, 10) | 0, E = l.slice(10, 12) | 0, S = l.slice(12, 14) | 0;
15831
+ var v = l.slice(0, 4) | 0, b = l.slice(4, 6) | 0, m = l.slice(6, 8) | 0, B = l.slice(8, 10) | 0, E = l.slice(10, 12) | 0, S = l.slice(12, 14) | 0;
15832
15832
  else if (s === "utctime") {
15833
- var v = l.slice(0, 2) | 0, b = l.slice(2, 4) | 0, m = l.slice(4, 6) | 0, q = l.slice(6, 8) | 0, E = l.slice(8, 10) | 0, S = l.slice(10, 12) | 0;
15833
+ var v = l.slice(0, 2) | 0, b = l.slice(2, 4) | 0, m = l.slice(4, 6) | 0, B = l.slice(6, 8) | 0, E = l.slice(8, 10) | 0, S = l.slice(10, 12) | 0;
15834
15834
  v < 70 ? v = 2e3 + v : v = 1900 + v;
15835
15835
  } else
15836
15836
  return e.error("Decoding " + s + " time is not supported yet");
15837
- return Date.UTC(v, b - 1, m, q, E, S, 0);
15837
+ return Date.UTC(v, b - 1, m, B, E, S, 0);
15838
15838
  }, h.prototype._decodeNull = function(e) {
15839
15839
  return null;
15840
15840
  }, h.prototype._decodeBool = function(e) {
@@ -15949,12 +15949,12 @@ function requireDer() {
15949
15949
  var E = new t(2);
15950
15950
  return E[0] = b, E[1] = v.length, this._createEncoderBuffer([E, v]);
15951
15951
  }
15952
- for (var m = 1, q = v.length; q >= 256; q >>= 8)
15952
+ for (var m = 1, B = v.length; B >= 256; B >>= 8)
15953
15953
  m++;
15954
15954
  var E = new t(2 + m);
15955
15955
  E[0] = b, E[1] = 128 | m;
15956
- for (var q = 1 + m, S = v.length; S > 0; q--, S >>= 8)
15957
- E[q] = S & 255;
15956
+ for (var B = 1 + m, S = v.length; S > 0; B--, S >>= 8)
15957
+ E[B] = S & 255;
15958
15958
  return this._createEncoderBuffer([E, v]);
15959
15959
  }, h.prototype._encodeStr = function(e, s) {
15960
15960
  if (s === "bitstr")
@@ -15990,12 +15990,12 @@ function requireDer() {
15990
15990
  for (b++; m >= 128; m >>= 7)
15991
15991
  b++;
15992
15992
  }
15993
- for (var q = new t(b), E = q.length - 1, v = e.length - 1; v >= 0; v--) {
15993
+ for (var B = new t(b), E = B.length - 1, v = e.length - 1; v >= 0; v--) {
15994
15994
  var m = e[v];
15995
- for (q[E--] = m & 127; (m >>= 7) > 0; )
15996
- q[E--] = 128 | m & 127;
15995
+ for (B[E--] = m & 127; (m >>= 7) > 0; )
15996
+ B[E--] = 128 | m & 127;
15997
15997
  }
15998
- return this._createEncoderBuffer(q);
15998
+ return this._createEncoderBuffer(B);
15999
15999
  };
16000
16000
  function f(n) {
16001
16001
  return n < 10 ? "0" + n : n;
@@ -16300,8 +16300,8 @@ function requireFixProc() {
16300
16300
  return fixProc = function(h, f) {
16301
16301
  var a = h.toString(), n = a.match(c), e;
16302
16302
  if (n) {
16303
- var l = "aes" + n[1], v = r.from(n[2], "hex"), b = r.from(n[3].replace(/[\r\n]/g, ""), "base64"), m = o(f, v.slice(0, 8), parseInt(n[1], 10)).key, q = [], E = d.createDecipheriv(l, m, v);
16304
- q.push(E.update(b)), q.push(E.final()), e = r.concat(q);
16303
+ var l = "aes" + n[1], v = r.from(n[2], "hex"), b = r.from(n[3].replace(/[\r\n]/g, ""), "base64"), m = o(f, v.slice(0, 8), parseInt(n[1], 10)).key, B = [], E = d.createDecipheriv(l, m, v);
16304
+ B.push(E.update(b)), B.push(E.final()), e = r.concat(B);
16305
16305
  } else {
16306
16306
  var s = a.match(u);
16307
16307
  e = r.from(s[2].replace(/[\r\n]/g, ""), "base64");
@@ -16319,7 +16319,7 @@ function requireParseAsn1() {
16319
16319
  hasRequiredParseAsn1 = 1;
16320
16320
  var c = requireAsn1(), t = require$$1, u = requireFixProc(), o = requireBrowser$6(), d = requireBrowser$7().pbkdf2Sync, r = requireSafeBuffer$1().Buffer;
16321
16321
  function h(a, n) {
16322
- var e = a.algorithm.decrypt.kde.kdeparams.salt, s = parseInt(a.algorithm.decrypt.kde.kdeparams.iters.toString(), 10), l = t[a.algorithm.decrypt.cipher.algo.join(".")], v = a.algorithm.decrypt.cipher.iv, b = a.subjectPrivateKey, m = parseInt(l.split("-")[1], 10) / 8, q = d(n, e, s, m, "sha1"), E = o.createDecipheriv(l, q, v), S = [];
16322
+ var e = a.algorithm.decrypt.kde.kdeparams.salt, s = parseInt(a.algorithm.decrypt.kde.kdeparams.iters.toString(), 10), l = t[a.algorithm.decrypt.cipher.algo.join(".")], v = a.algorithm.decrypt.cipher.iv, b = a.subjectPrivateKey, m = parseInt(l.split("-")[1], 10) / 8, B = d(n, e, s, m, "sha1"), E = o.createDecipheriv(l, B, v), S = [];
16323
16323
  return S.push(E.update(b)), S.push(E.final()), r.concat(S);
16324
16324
  }
16325
16325
  function f(a) {
@@ -16435,7 +16435,7 @@ function requireSign() {
16435
16435
  }
16436
16436
  function e(E, S, O) {
16437
16437
  for (var D = S.params.priv_key, $ = S.params.p, j = S.params.q, J = S.params.g, ie = new d(0), ne, de = v(E, j).mod(j), Z = !1, y = l(D, j, E, O); Z === !1; )
16438
- ne = m(j, y, O), ie = q(J, ne, $, j), Z = ne.invm(j).imul(de.add(D.mul(ie))).mod(j), Z.cmpn(0) === 0 && (Z = !1, ie = new d(0));
16438
+ ne = m(j, y, O), ie = B(J, ne, $, j), Z = ne.invm(j).imul(de.add(D.mul(ie))).mod(j), Z.cmpn(0) === 0 && (Z = !1, ie = new d(0));
16439
16439
  return s(ie, Z);
16440
16440
  }
16441
16441
  function s(E, S) {
@@ -16480,7 +16480,7 @@ function requireSign() {
16480
16480
  } while ($.cmp(E) !== -1);
16481
16481
  return $;
16482
16482
  }
16483
- function q(E, S, O, D) {
16483
+ function B(E, S, O, D) {
16484
16484
  return E.toRed(d.mont(O)).redPow(S).fromRed().mod(D);
16485
16485
  }
16486
16486
  return sign.exports = a, sign.exports.getKey = l, sign.exports.makeKey = m, sign.exports;
@@ -16504,17 +16504,17 @@ function requireVerify() {
16504
16504
  if (l !== "rsa" && l !== "ecdsa/rsa")
16505
16505
  throw new Error("wrong public key type");
16506
16506
  e = c.concat([v, e]);
16507
- for (var m = b.modulus.byteLength(), q = [1], E = 0; e.length + q.length + 2 < m; )
16508
- q.push(255), E += 1;
16509
- q.push(0);
16507
+ for (var m = b.modulus.byteLength(), B = [1], E = 0; e.length + B.length + 2 < m; )
16508
+ B.push(255), E += 1;
16509
+ B.push(0);
16510
16510
  for (var S = -1; ++S < e.length; )
16511
- q.push(e[S]);
16512
- q = c.from(q);
16511
+ B.push(e[S]);
16512
+ B = c.from(B);
16513
16513
  var O = t.mont(b.modulus);
16514
16514
  n = new t(n).toRed(O), n = n.redPow(new t(b.publicExponent)), n = c.from(n.fromRed().toArray());
16515
16515
  var D = E < 8 ? 1 : 0;
16516
- for (m = Math.min(n.length, q.length), n.length !== q.length && (D = 1), S = -1; ++S < m; )
16517
- D |= n[S] ^ q[S];
16516
+ for (m = Math.min(n.length, B.length), n.length !== B.length && (D = 1), S = -1; ++S < m; )
16517
+ D |= n[S] ^ B[S];
16518
16518
  return D === 0;
16519
16519
  }
16520
16520
  function h(n, e, s) {
@@ -16525,7 +16525,7 @@ function requireVerify() {
16525
16525
  return v.verify(e, n, b);
16526
16526
  }
16527
16527
  function f(n, e, s) {
16528
- var l = s.data.p, v = s.data.q, b = s.data.g, m = s.data.pub_key, q = o.signature.decode(n, "der"), E = q.s, S = q.r;
16528
+ var l = s.data.p, v = s.data.q, b = s.data.g, m = s.data.pub_key, B = o.signature.decode(n, "der"), E = B.s, S = B.r;
16529
16529
  a(E, v), a(S, v);
16530
16530
  var O = t.mont(l), D = E.invm(v), $ = b.toRed(O).redPow(new t(e).mul(D).mod(v)).fromRed().mul(m.toRed(O).redPow(S.mul(D).mod(v)).fromRed()).mod(l).mod(v);
16531
16531
  return $.cmp(S) === 0;
@@ -16576,8 +16576,8 @@ function requireBrowser$3() {
16576
16576
  }, a.prototype.verify = function(l, v, b) {
16577
16577
  var m = typeof v == "string" ? c.from(v, b) : v;
16578
16578
  this.end();
16579
- var q = this._hash.digest();
16580
- return r(m, q, l, this._signType, this._tag);
16579
+ var B = this._hash.digest();
16580
+ return r(m, B, l, this._signType, this._tag);
16581
16581
  };
16582
16582
  function n(s) {
16583
16583
  return new f(s);
@@ -16705,14 +16705,14 @@ function requirePublicEncrypt() {
16705
16705
  hasRequiredPublicEncrypt = 1;
16706
16706
  var c = requireParseAsn1(), t = requireBrowser$b(), u = requireBrowser$9(), o = requireMgf(), d = requireXor(), r = requireBn$1(), h = requireWithPublic(), f = /* @__PURE__ */ requireBrowserifyRsa(), a = requireSafeBuffer$1().Buffer;
16707
16707
  publicEncrypt = function(v, b, m) {
16708
- var q;
16709
- v.padding ? q = v.padding : m ? q = 1 : q = 4;
16708
+ var B;
16709
+ v.padding ? B = v.padding : m ? B = 1 : B = 4;
16710
16710
  var E = c(v), S;
16711
- if (q === 4)
16711
+ if (B === 4)
16712
16712
  S = n(E, b);
16713
- else if (q === 1)
16713
+ else if (B === 1)
16714
16714
  S = e(E, b, m);
16715
- else if (q === 3) {
16715
+ else if (B === 3) {
16716
16716
  if (S = new r(b), S.cmp(E.modulus) >= 0)
16717
16717
  throw new Error("data too long for modulus");
16718
16718
  } else
@@ -16720,22 +16720,22 @@ function requirePublicEncrypt() {
16720
16720
  return m ? f(S, E) : h(S, E);
16721
16721
  };
16722
16722
  function n(l, v) {
16723
- var b = l.modulus.byteLength(), m = v.length, q = u("sha1").update(a.alloc(0)).digest(), E = q.length, S = 2 * E;
16723
+ var b = l.modulus.byteLength(), m = v.length, B = u("sha1").update(a.alloc(0)).digest(), E = B.length, S = 2 * E;
16724
16724
  if (m > b - S - 2)
16725
16725
  throw new Error("message too long");
16726
- var O = a.alloc(b - m - S - 2), D = b - E - 1, $ = t(E), j = d(a.concat([q, O, a.alloc(1, 1), v], D), o($, D)), J = d($, o(j, E));
16726
+ var O = a.alloc(b - m - S - 2), D = b - E - 1, $ = t(E), j = d(a.concat([B, O, a.alloc(1, 1), v], D), o($, D)), J = d($, o(j, E));
16727
16727
  return new r(a.concat([a.alloc(1), J, j], b));
16728
16728
  }
16729
16729
  function e(l, v, b) {
16730
- var m = v.length, q = l.modulus.byteLength();
16731
- if (m > q - 11)
16730
+ var m = v.length, B = l.modulus.byteLength();
16731
+ if (m > B - 11)
16732
16732
  throw new Error("message too long");
16733
16733
  var E;
16734
- return b ? E = a.alloc(q - m - 3, 255) : E = s(q - m - 3), new r(a.concat([a.from([0, b ? 1 : 2]), E, a.alloc(1), v], q));
16734
+ return b ? E = a.alloc(B - m - 3, 255) : E = s(B - m - 3), new r(a.concat([a.from([0, b ? 1 : 2]), E, a.alloc(1), v], B));
16735
16735
  }
16736
16736
  function s(l) {
16737
- for (var v = a.allocUnsafe(l), b = 0, m = t(l * 2), q = 0, E; b < l; )
16738
- q === m.length && (m = t(l * 2), q = 0), E = m[q++], E && (v[b++] = E);
16737
+ for (var v = a.allocUnsafe(l), b = 0, m = t(l * 2), B = 0, E; b < l; )
16738
+ B === m.length && (m = t(l * 2), B = 0), E = m[B++], E && (v[b++] = E);
16739
16739
  return v;
16740
16740
  }
16741
16741
  return publicEncrypt;
@@ -16748,16 +16748,16 @@ function requirePrivateDecrypt() {
16748
16748
  privateDecrypt = function(l, v, b) {
16749
16749
  var m;
16750
16750
  l.padding ? m = l.padding : b ? m = 1 : m = 4;
16751
- var q = c(l), E = q.modulus.byteLength();
16752
- if (v.length > E || new o(v).cmp(q.modulus) >= 0)
16751
+ var B = c(l), E = B.modulus.byteLength();
16752
+ if (v.length > E || new o(v).cmp(B.modulus) >= 0)
16753
16753
  throw new Error("decryption error");
16754
16754
  var S;
16755
- b ? S = h(new o(v), q) : S = d(v, q);
16755
+ b ? S = h(new o(v), B) : S = d(v, B);
16756
16756
  var O = f.alloc(E - S.length);
16757
16757
  if (S = f.concat([O, S], E), m === 4)
16758
- return a(q, S);
16758
+ return a(B, S);
16759
16759
  if (m === 1)
16760
- return n(q, S, b);
16760
+ return n(B, S, b);
16761
16761
  if (m === 3)
16762
16762
  return S;
16763
16763
  throw new Error("unknown padding");
@@ -16766,7 +16766,7 @@ function requirePrivateDecrypt() {
16766
16766
  var v = s.modulus.byteLength(), b = r("sha1").update(f.alloc(0)).digest(), m = b.length;
16767
16767
  if (l[0] !== 0)
16768
16768
  throw new Error("decryption error");
16769
- var q = l.slice(1, m + 1), E = l.slice(m + 1), S = u(q, t(E, m)), O = u(E, t(S, v - m - 1));
16769
+ var B = l.slice(1, m + 1), E = l.slice(m + 1), S = u(B, t(E, m)), O = u(E, t(S, v - m - 1));
16770
16770
  if (e(b, O.slice(0, m)))
16771
16771
  throw new Error("decryption error");
16772
16772
  for (var D = m; O[D] === 0; )
@@ -16776,13 +16776,13 @@ function requirePrivateDecrypt() {
16776
16776
  return O.slice(D);
16777
16777
  }
16778
16778
  function n(s, l, v) {
16779
- for (var b = l.slice(0, 2), m = 2, q = 0; l[m++] !== 0; )
16779
+ for (var b = l.slice(0, 2), m = 2, B = 0; l[m++] !== 0; )
16780
16780
  if (m >= l.length) {
16781
- q++;
16781
+ B++;
16782
16782
  break;
16783
16783
  }
16784
16784
  var E = l.slice(2, m - 1);
16785
- if ((b.toString("hex") !== "0002" && !v || b.toString("hex") !== "0001" && v) && q++, E.length < 8 && q++, q)
16785
+ if ((b.toString("hex") !== "0002" && !v || b.toString("hex") !== "0001" && v) && B++, E.length < 8 && B++, B)
16786
16786
  throw new Error("decryption error");
16787
16787
  return l.slice(m);
16788
16788
  }
@@ -16845,7 +16845,7 @@ use chrome, FireFox or Internet Explorer 11`);
16845
16845
  }
16846
16846
  function e(l, v, b, m) {
16847
16847
  if (process$1.browser) {
16848
- var q = l.buffer, E = new Uint8Array(q, v, b);
16848
+ var B = l.buffer, E = new Uint8Array(B, v, b);
16849
16849
  if (r.getRandomValues(E), m) {
16850
16850
  process$1.nextTick(function() {
16851
16851
  m(null, l);
@@ -17014,7 +17014,7 @@ function requireJsbn() {
17014
17014
  var Y = d();
17015
17015
  return Y.fromInt(V), Y;
17016
17016
  }
17017
- function q(V, Y, te) {
17017
+ function B(V, Y, te) {
17018
17018
  var he;
17019
17019
  switch (Y) {
17020
17020
  case 2:
@@ -17154,7 +17154,7 @@ function requireJsbn() {
17154
17154
  }
17155
17155
  V.t > 0 && (V[V.t - 1] += Y.am(te, Y[te], V, 2 * te, 0, 1)), V.s = 0, V.clamp();
17156
17156
  }
17157
- function B(V, Y, te) {
17157
+ function q(V, Y, te) {
17158
17158
  var he = V.abs();
17159
17159
  if (!(he.t <= 0)) {
17160
17160
  var Ee = this.abs();
@@ -17632,7 +17632,7 @@ function requireJsbn() {
17632
17632
  }
17633
17633
  return !0;
17634
17634
  }
17635
- return o.prototype.copyTo = v, o.prototype.fromInt = b, o.prototype.fromString = q, o.prototype.fromByteArray = E, o.prototype.fromBuffer = S, o.prototype.clamp = O, o.prototype.dlShiftTo = de, o.prototype.drShiftTo = Z, o.prototype.lShiftTo = y, o.prototype.rShiftTo = g, o.prototype.subTo = p, o.prototype.multiplyTo = _, o.prototype.squareTo = R, o.prototype.divRemTo = B, o.prototype.invDigit = Q, o.prototype.isEven = G, o.prototype.exp = fe, o.prototype.chunkSize = be, o.prototype.toRadix = Be, o.prototype.fromRadix = Me, o.prototype.fromNumber = Te, o.prototype.bitwiseTo = Oe, o.prototype.changeBit = Ye, o.prototype.addTo = k, o.prototype.dMultiply = Ge, o.prototype.dAddOffset = Ue, o.prototype.multiplyLowerTo = ur, o.prototype.multiplyUpperTo = cr, o.prototype.modInt = gr, o.prototype.millerRabin = Sr, o.prototype.toString = D, o.prototype.negate = $, o.prototype.abs = j, o.prototype.compareTo = J, o.prototype.bitLength = ne, o.prototype.mod = P, o.prototype.modPowInt = me, o.prototype.clone = xe, o.prototype.intValue = _e, o.prototype.byteValue = qe, o.prototype.shortValue = Re, o.prototype.signum = Fe, o.prototype.toByteArray = oe, o.prototype.toBuffer = ce, o.prototype.equals = ge, o.prototype.min = we, o.prototype.max = Se, o.prototype.and = I, o.prototype.or = X, o.prototype.xor = le, o.prototype.andNot = Ce, o.prototype.not = Le, o.prototype.shiftLeft = Ie, o.prototype.shiftRight = je, o.prototype.getLowestSetBit = He, o.prototype.bitCount = Ze, o.prototype.testBit = We, o.prototype.setBit = Xe, o.prototype.clearBit = W, o.prototype.flipBit = T, o.prototype.add = re, o.prototype.subtract = ue, o.prototype.multiply = pe, o.prototype.divide = ke, o.prototype.remainder = Ve, o.prototype.divideAndRemainder = Ne, o.prototype.modPow = br, o.prototype.modInverse = wr, o.prototype.pow = fr, o.prototype.gcd = yr, o.prototype.isProbablePrime = xr, o.int2char = s, o.ZERO = m(0), o.ONE = m(1), o.prototype.square = ye, jsbn = o, jsbn;
17635
+ return o.prototype.copyTo = v, o.prototype.fromInt = b, o.prototype.fromString = B, o.prototype.fromByteArray = E, o.prototype.fromBuffer = S, o.prototype.clamp = O, o.prototype.dlShiftTo = de, o.prototype.drShiftTo = Z, o.prototype.lShiftTo = y, o.prototype.rShiftTo = g, o.prototype.subTo = p, o.prototype.multiplyTo = _, o.prototype.squareTo = R, o.prototype.divRemTo = q, o.prototype.invDigit = Q, o.prototype.isEven = G, o.prototype.exp = fe, o.prototype.chunkSize = be, o.prototype.toRadix = Be, o.prototype.fromRadix = Me, o.prototype.fromNumber = Te, o.prototype.bitwiseTo = Oe, o.prototype.changeBit = Ye, o.prototype.addTo = k, o.prototype.dMultiply = Ge, o.prototype.dAddOffset = Ue, o.prototype.multiplyLowerTo = ur, o.prototype.multiplyUpperTo = cr, o.prototype.modInt = gr, o.prototype.millerRabin = Sr, o.prototype.toString = D, o.prototype.negate = $, o.prototype.abs = j, o.prototype.compareTo = J, o.prototype.bitLength = ne, o.prototype.mod = P, o.prototype.modPowInt = me, o.prototype.clone = xe, o.prototype.intValue = _e, o.prototype.byteValue = qe, o.prototype.shortValue = Re, o.prototype.signum = Fe, o.prototype.toByteArray = oe, o.prototype.toBuffer = ce, o.prototype.equals = ge, o.prototype.min = we, o.prototype.max = Se, o.prototype.and = I, o.prototype.or = X, o.prototype.xor = le, o.prototype.andNot = Ce, o.prototype.not = Le, o.prototype.shiftLeft = Ie, o.prototype.shiftRight = je, o.prototype.getLowestSetBit = He, o.prototype.bitCount = Ze, o.prototype.testBit = We, o.prototype.setBit = Xe, o.prototype.clearBit = W, o.prototype.flipBit = T, o.prototype.add = re, o.prototype.subtract = ue, o.prototype.multiply = pe, o.prototype.divide = ke, o.prototype.remainder = Ve, o.prototype.divideAndRemainder = Ne, o.prototype.modPow = br, o.prototype.modInverse = wr, o.prototype.pow = fr, o.prototype.gcd = yr, o.prototype.isProbablePrime = xr, o.int2char = s, o.ZERO = m(0), o.ONE = m(1), o.prototype.square = ye, jsbn = o, jsbn;
17636
17636
  }
17637
17637
  var schemes = { exports: {} }, pkcs1$1 = { exports: {} }, hasRequiredPkcs1$1;
17638
17638
  function requirePkcs1$1() {
@@ -17722,8 +17722,8 @@ function requirePkcs1$1() {
17722
17722
  var b = this.pkcs1pad(v.digest(), l), m = this.key.$doPublic(new c(e));
17723
17723
  return m.toBuffer().toString("hex") == b.toString("hex");
17724
17724
  } else {
17725
- var q = t.createVerify("RSA-" + l.toUpperCase());
17726
- return q.update(n), q.verify(this.options.rsaUtils.exportKey("public"), e, s);
17725
+ var B = t.createVerify("RSA-" + l.toUpperCase());
17726
+ return B.update(n), B.verify(this.options.rsaUtils.exportKey("public"), e, s);
17727
17727
  }
17728
17728
  }, a.prototype.pkcs0pad = function(n) {
17729
17729
  var e = Buffer.alloc(this.key.maxMessageLength - n.length);
@@ -17786,10 +17786,10 @@ function requireOaep() {
17786
17786
  l.update(n), l = l.digest();
17787
17787
  var v = Buffer.alloc(e - h.length - 2 * s - 1);
17788
17788
  v.fill(0), v[v.length - 1] = 1;
17789
- for (var b = Buffer.concat([l, v, h]), m = t.randomBytes(s), q = a(m, b.length, f), E = 0; E < b.length; E++)
17790
- b[E] ^= q[E];
17791
- for (q = a(b, s, f), E = 0; E < m.length; E++)
17792
- m[E] ^= q[E];
17789
+ for (var b = Buffer.concat([l, v, h]), m = t.randomBytes(s), B = a(m, b.length, f), E = 0; E < b.length; E++)
17790
+ b[E] ^= B[E];
17791
+ for (B = a(b, s, f), E = 0; E < m.length; E++)
17792
+ m[E] ^= B[E];
17793
17793
  var S = Buffer.alloc(1 + m.length + b.length);
17794
17794
  return S[0] = 0, m.copy(S, 1), b.copy(S, 1 + m.length), S;
17795
17795
  }, r.prototype.encUnPad = function(h) {
@@ -17802,8 +17802,8 @@ function requireOaep() {
17802
17802
  l[b] ^= v[b];
17803
17803
  var m = t.createHash(f);
17804
17804
  m.update(n), m = m.digest();
17805
- var q = l.slice(0, e);
17806
- if (q.toString("hex") != m.toString("hex"))
17805
+ var B = l.slice(0, e);
17806
+ if (B.toString("hex") != m.toString("hex"))
17807
17807
  throw new Error("Error decoding message, the lHash calculated from the label provided and the lHash in the encrypted data do not match.");
17808
17808
  for (b = e; l[b++] === 0 && b < l.length; ) ;
17809
17809
  if (l[b - 1] != 1)
@@ -17843,10 +17843,10 @@ function requirePss() {
17843
17843
  throw new Error(
17844
17844
  "Output length passed to emBits(" + n + ") is too small for the options specified(" + e + ", " + l + "). To fix this issue increase the value of emBits. (minimum size: " + (8 * v + 8 * l + 9) + ")"
17845
17845
  );
17846
- var m = t.randomBytes(l), q = Buffer.alloc(8 + v + l);
17847
- q.fill(0, 0, 8), a.copy(q, 8), m.copy(q, 8 + a.length);
17846
+ var m = t.randomBytes(l), B = Buffer.alloc(8 + v + l);
17847
+ B.fill(0, 0, 8), a.copy(B, 8), m.copy(B, 8 + a.length);
17848
17848
  var E = t.createHash(e);
17849
- E.update(q), E = E.digest();
17849
+ E.update(B), E = E.digest();
17850
17850
  var S = Buffer.alloc(b - m.length - v - 2);
17851
17851
  S.fill(0);
17852
17852
  var O = Buffer.alloc(S.length + 1 + m.length);
@@ -17861,19 +17861,19 @@ function requirePss() {
17861
17861
  var s = this.options.signingSchemeOptions.hash || u, l = this.options.signingSchemeOptions.mgf || h.eme_oaep_mgf1, v = this.options.signingSchemeOptions.saltLength || o, b = h.digestLength[s], m = Math.ceil(e / 8);
17862
17862
  if (m < b + v + 2 || n[n.length - 1] != 188)
17863
17863
  return !1;
17864
- var q = Buffer.alloc(m - b - 1);
17865
- n.copy(q, 0, 0, m - b - 1);
17864
+ var B = Buffer.alloc(m - b - 1);
17865
+ n.copy(B, 0, 0, m - b - 1);
17866
17866
  for (var E = 0, S = 0, O = 8 * m - e; S < O; S++)
17867
17867
  E |= 1 << 7 - S;
17868
- if ((q[0] & E) !== 0)
17868
+ if ((B[0] & E) !== 0)
17869
17869
  return !1;
17870
- var D = n.slice(m - b - 1, m - 1), $ = l(D, q.length, s);
17871
- for (S = 0; S < q.length; S++)
17872
- q[S] ^= $[S];
17873
- for (O = 8 * m - e, E = 255 ^ 255 >> 8 - O << 8 - O, q[0] = q[0] & E, S = 0; q[S] === 0 && S < q.length; S++) ;
17874
- if (q[S] != 1)
17870
+ var D = n.slice(m - b - 1, m - 1), $ = l(D, B.length, s);
17871
+ for (S = 0; S < B.length; S++)
17872
+ B[S] ^= $[S];
17873
+ for (O = 8 * m - e, E = 255 ^ 255 >> 8 - O << 8 - O, B[0] = B[0] & E, S = 0; B[S] === 0 && S < B.length; S++) ;
17874
+ if (B[S] != 1)
17875
17875
  return !1;
17876
- var j = q.slice(q.length - v), J = Buffer.alloc(8 + b + v);
17876
+ var j = B.slice(B.length - v), J = Buffer.alloc(8 + b + v);
17877
17877
  J.fill(0, 0, 8), a.copy(J, 8), j.copy(J, 8 + a.length);
17878
17878
  var ie = t.createHash(s);
17879
17879
  return ie.update(J), ie = ie.digest(), D.toString("hex") === ie.toString("hex");
@@ -18246,7 +18246,7 @@ function requireErrors() {
18246
18246
  function m(S, O, D) {
18247
18247
  return S.substr(0, O.length) === O;
18248
18248
  }
18249
- function q(S, O, D) {
18249
+ function B(S, O, D) {
18250
18250
  return (D === void 0 || D > S.length) && (D = S.length), S.substring(D - O.length, D) === O;
18251
18251
  }
18252
18252
  function E(S, O, D) {
@@ -18257,7 +18257,7 @@ function requireErrors() {
18257
18257
  var $;
18258
18258
  typeof O == "string" && m(O, "not ") ? ($ = "must not be", O = O.replace(/^not /, "")) : $ = "must be";
18259
18259
  var j;
18260
- if (q(S, " argument"))
18260
+ if (B(S, " argument"))
18261
18261
  j = "The ".concat(S, " ").concat($, " ").concat(b(O, "type"));
18262
18262
  else {
18263
18263
  var J = E(S, ".") ? "property" : "argument";
@@ -18351,7 +18351,7 @@ function requireAssertion_error() {
18351
18351
  function a(A, w) {
18352
18352
  if (typeof w != "function" && w !== null)
18353
18353
  throw new TypeError("Super expression must either be null or a function");
18354
- A.prototype = Object.create(w && w.prototype, { constructor: { value: A, writable: !0, configurable: !0 } }), Object.defineProperty(A, "prototype", { writable: !1 }), w && q(A, w);
18354
+ A.prototype = Object.create(w && w.prototype, { constructor: { value: A, writable: !0, configurable: !0 } }), Object.defineProperty(A, "prototype", { writable: !1 }), w && B(A, w);
18355
18355
  }
18356
18356
  function n(A) {
18357
18357
  var w = b();
@@ -18390,7 +18390,7 @@ function requireAssertion_error() {
18390
18390
  function L() {
18391
18391
  return v(x, arguments, E(this).constructor);
18392
18392
  }
18393
- return L.prototype = Object.create(x.prototype, { constructor: { value: L, enumerable: !1, writable: !0, configurable: !0 } }), q(L, x);
18393
+ return L.prototype = Object.create(x.prototype, { constructor: { value: L, enumerable: !1, writable: !0, configurable: !0 } }), B(L, x);
18394
18394
  }, l(A);
18395
18395
  }
18396
18396
  function v(A, w, M) {
@@ -18398,7 +18398,7 @@ function requireAssertion_error() {
18398
18398
  var H = [null];
18399
18399
  H.push.apply(H, K);
18400
18400
  var N = Function.bind.apply(L, H), F = new N();
18401
- return Q && q(F, Q.prototype), F;
18401
+ return Q && B(F, Q.prototype), F;
18402
18402
  }, v.apply(null, arguments);
18403
18403
  }
18404
18404
  function b() {
@@ -18414,10 +18414,10 @@ function requireAssertion_error() {
18414
18414
  function m(A) {
18415
18415
  return Function.toString.call(A).indexOf("[native code]") !== -1;
18416
18416
  }
18417
- function q(A, w) {
18418
- return q = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(x, L) {
18417
+ function B(A, w) {
18418
+ return B = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(x, L) {
18419
18419
  return x.__proto__ = L, x;
18420
- }, q(A, w);
18420
+ }, B(A, w);
18421
18421
  }
18422
18422
  function E(A) {
18423
18423
  return E = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(M) {
@@ -18485,7 +18485,7 @@ function requireAssertion_error() {
18485
18485
  getters: !0
18486
18486
  });
18487
18487
  }
18488
- function B(A, w, M) {
18488
+ function q(A, w, M) {
18489
18489
  var x = "", L = "", K = 0, Q = "", H = !1, N = R(A), F = N.split(`
18490
18490
  `), ee = R(w).split(`
18491
18491
  `), ae = 0, z = "";
@@ -18572,7 +18572,7 @@ function requireAssertion_error() {
18572
18572
  if (Error.stackTraceLimit = 0, Q != null)
18573
18573
  K = M.call(this, String(Q));
18574
18574
  else if (process$1.stderr && process$1.stderr.isTTY && (process$1.stderr && process$1.stderr.getColorDepth && process$1.stderr.getColorDepth() !== 1 ? (ne = "\x1B[34m", de = "\x1B[32m", y = "\x1B[39m", Z = "\x1B[31m") : (ne = "", de = "", y = "", Z = "")), S(F) === "object" && F !== null && S(ee) === "object" && ee !== null && "stack" in F && F instanceof Error && "stack" in ee && ee instanceof Error && (F = _(F), ee = _(ee)), H === "deepStrictEqual" || H === "strictEqual")
18575
- K = M.call(this, B(F, ee, H));
18575
+ K = M.call(this, q(F, ee, H));
18576
18576
  else if (H === "notDeepStrictEqual" || H === "notStrictEqual") {
18577
18577
  var z = g[H], G = R(F).split(`
18578
18578
  `);
@@ -18697,14 +18697,14 @@ function requireImplementation$3() {
18697
18697
  }
18698
18698
  };
18699
18699
  c = function(v) {
18700
- var b = v !== null && typeof v == "object", m = u.call(v) === "[object Function]", q = o(v), E = b && u.call(v) === "[object String]", S = [];
18701
- if (!b && !m && !q)
18700
+ var b = v !== null && typeof v == "object", m = u.call(v) === "[object Function]", B = o(v), E = b && u.call(v) === "[object String]", S = [];
18701
+ if (!b && !m && !B)
18702
18702
  throw new TypeError("Object.keys called on a non-object");
18703
18703
  var O = h && m;
18704
18704
  if (E && v.length > 0 && !t.call(v, 0))
18705
18705
  for (var D = 0; D < v.length; ++D)
18706
18706
  S.push(String(D));
18707
- if (q && v.length > 0)
18707
+ if (B && v.length > 0)
18708
18708
  for (var $ = 0; $ < v.length; ++$)
18709
18709
  S.push(String($));
18710
18710
  else
@@ -18753,8 +18753,8 @@ function requireImplementation$2() {
18753
18753
  for (var s = 1; s < arguments.length; ++s) {
18754
18754
  var l = o(arguments[s]), v = c(l), b = t && (o.getOwnPropertySymbols || h);
18755
18755
  if (b)
18756
- for (var m = b(l), q = 0; q < m.length; ++q) {
18757
- var E = m[q];
18756
+ for (var m = b(l), B = 0; B < m.length; ++B) {
18757
+ var E = m[B];
18758
18758
  r(l, E) && d(v, E);
18759
18759
  }
18760
18760
  for (var S = 0; S < v.length; ++S) {
@@ -18983,8 +18983,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18983
18983
  function v(oe) {
18984
18984
  return oe.call.bind(oe);
18985
18985
  }
18986
- var b = v(Object.prototype.hasOwnProperty), m = v(Object.prototype.propertyIsEnumerable), q = v(Object.prototype.toString), E = requireUtil$1().types, S = E.isAnyArrayBuffer, O = E.isArrayBufferView, D = E.isDate, $ = E.isMap, j = E.isRegExp, J = E.isSet, ie = E.isNativeError, ne = E.isBoxedPrimitive, de = E.isNumberObject, Z = E.isStringObject, y = E.isBooleanObject, g = E.isBigIntObject, p = E.isSymbolObject, _ = E.isFloat32Array, R = E.isFloat64Array;
18987
- function B(oe) {
18986
+ var b = v(Object.prototype.hasOwnProperty), m = v(Object.prototype.propertyIsEnumerable), B = v(Object.prototype.toString), E = requireUtil$1().types, S = E.isAnyArrayBuffer, O = E.isArrayBufferView, D = E.isDate, $ = E.isMap, j = E.isRegExp, J = E.isSet, ie = E.isNativeError, ne = E.isBoxedPrimitive, de = E.isNumberObject, Z = E.isStringObject, y = E.isBooleanObject, g = E.isBigIntObject, p = E.isSymbolObject, _ = E.isFloat32Array, R = E.isFloat64Array;
18987
+ function q(oe) {
18988
18988
  if (oe.length === 0 || oe.length > 10) return !0;
18989
18989
  for (var ce = 0; ce < oe.length; ce++) {
18990
18990
  var ge = oe.charCodeAt(ce);
@@ -18993,7 +18993,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18993
18993
  return oe.length === 10 && oe >= Math.pow(2, 32);
18994
18994
  }
18995
18995
  function P(oe) {
18996
- return Object.keys(oe).filter(B).concat(s(oe).filter(Object.prototype.propertyIsEnumerable.bind(oe)));
18996
+ return Object.keys(oe).filter(q).concat(s(oe).filter(Object.prototype.propertyIsEnumerable.bind(oe)));
18997
18997
  }
18998
18998
  function A(oe, ce) {
18999
18999
  if (oe === ce)
@@ -19040,7 +19040,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
19040
19040
  if (ce === null || h(ce) !== "object")
19041
19041
  return !1;
19042
19042
  }
19043
- var Se = q(oe), Oe = q(ce);
19043
+ var Se = B(oe), Oe = B(ce);
19044
19044
  if (Se !== Oe)
19045
19045
  return !1;
19046
19046
  if (Array.isArray(oe)) {
@@ -19293,7 +19293,7 @@ function requireAssert() {
19293
19293
  if (!(K instanceof Q))
19294
19294
  throw new TypeError("Cannot call a class as a function");
19295
19295
  }
19296
- var o = requireErrors(), d = o.codes, r = d.ERR_AMBIGUOUS_ARGUMENT, h = d.ERR_INVALID_ARG_TYPE, f = d.ERR_INVALID_ARG_VALUE, a = d.ERR_INVALID_RETURN_VALUE, n = d.ERR_MISSING_ARGS, e = requireAssertion_error(), s = requireUtil$1(), l = s.inspect, v = requireUtil$1().types, b = v.isPromise, m = v.isRegExp, q = requirePolyfill$2()(), E = requirePolyfill$1()(), S = requireCallBound()("RegExp.prototype.test"), O, D;
19296
+ var o = requireErrors(), d = o.codes, r = d.ERR_AMBIGUOUS_ARGUMENT, h = d.ERR_INVALID_ARG_TYPE, f = d.ERR_INVALID_ARG_VALUE, a = d.ERR_INVALID_RETURN_VALUE, n = d.ERR_MISSING_ARGS, e = requireAssertion_error(), s = requireUtil$1(), l = s.inspect, v = requireUtil$1().types, b = v.isPromise, m = v.isRegExp, B = requirePolyfill$2()(), E = requirePolyfill$1()(), S = requireCallBound()("RegExp.prototype.test"), O, D;
19297
19297
  function $() {
19298
19298
  var K = requireComparisons();
19299
19299
  O = K.isDeepEqual, D = K.isDeepStrictEqual;
@@ -19485,7 +19485,7 @@ function requireAssert() {
19485
19485
  }
19486
19486
  return Q.prototype !== void 0 && K instanceof Q ? !0 : Error.isPrototypeOf(Q) ? !1 : Q.call({}, K) === !0;
19487
19487
  }
19488
- function B(K) {
19488
+ function q(K) {
19489
19489
  if (typeof K != "function")
19490
19490
  throw new h("fn", "Function", K);
19491
19491
  try {
@@ -19563,7 +19563,7 @@ function requireAssert() {
19563
19563
  J.throws = function K(Q) {
19564
19564
  for (var H = arguments.length, N = new Array(H > 1 ? H - 1 : 0), F = 1; F < H; F++)
19565
19565
  N[F - 1] = arguments[F];
19566
- w.apply(void 0, [K, B(Q)].concat(N));
19566
+ w.apply(void 0, [K, q(Q)].concat(N));
19567
19567
  }, J.rejects = function K(Q) {
19568
19568
  for (var H = arguments.length, N = new Array(H > 1 ? H - 1 : 0), F = 1; F < H; F++)
19569
19569
  N[F - 1] = arguments[F];
@@ -19573,7 +19573,7 @@ function requireAssert() {
19573
19573
  }, J.doesNotThrow = function K(Q) {
19574
19574
  for (var H = arguments.length, N = new Array(H > 1 ? H - 1 : 0), F = 1; F < H; F++)
19575
19575
  N[F - 1] = arguments[F];
19576
- M.apply(void 0, [K, B(Q)].concat(N));
19576
+ M.apply(void 0, [K, q(Q)].concat(N));
19577
19577
  }, J.doesNotReject = function K(Q) {
19578
19578
  for (var H = arguments.length, N = new Array(H > 1 ? H - 1 : 0), F = 1; F < H; F++)
19579
19579
  N[F - 1] = arguments[F];
@@ -19643,7 +19643,7 @@ function requireAssert() {
19643
19643
  Q[H] = arguments[H];
19644
19644
  Z.apply(void 0, [L, Q.length].concat(Q));
19645
19645
  }
19646
- return J.strict = q(L, J, {
19646
+ return J.strict = B(L, J, {
19647
19647
  equal: J.strictEqual,
19648
19648
  deepEqual: J.deepStrictEqual,
19649
19649
  notEqual: J.notStrictEqual,
@@ -19951,8 +19951,8 @@ function requirePkcs1() {
19951
19951
  c.exports = {
19952
19952
  privateExport: function(a, n) {
19953
19953
  n = n || {};
19954
- var e = a.n.toBuffer(), s = a.d.toBuffer(), l = a.p.toBuffer(), v = a.q.toBuffer(), b = a.dmp1.toBuffer(), m = a.dmq1.toBuffer(), q = a.coeff.toBuffer(), E = e.length + s.length + l.length + v.length + b.length + m.length + q.length + 512, S = new t.Writer({ size: E });
19955
- return S.startSequence(), S.writeInt(0), S.writeBuffer(e, 2), S.writeInt(a.e), S.writeBuffer(s, 2), S.writeBuffer(l, 2), S.writeBuffer(v, 2), S.writeBuffer(b, 2), S.writeBuffer(m, 2), S.writeBuffer(q, 2), S.endSequence(), n.type === "der" ? S.buffer : d + `
19954
+ var e = a.n.toBuffer(), s = a.d.toBuffer(), l = a.p.toBuffer(), v = a.q.toBuffer(), b = a.dmp1.toBuffer(), m = a.dmq1.toBuffer(), B = a.coeff.toBuffer(), E = e.length + s.length + l.length + v.length + b.length + m.length + B.length + 512, S = new t.Writer({ size: E });
19955
+ return S.startSequence(), S.writeInt(0), S.writeBuffer(e, 2), S.writeInt(a.e), S.writeBuffer(s, 2), S.writeBuffer(l, 2), S.writeBuffer(v, 2), S.writeBuffer(b, 2), S.writeBuffer(m, 2), S.writeBuffer(B, 2), S.endSequence(), n.type === "der" ? S.buffer : d + `
19956
19956
  ` + o.linebrk(S.buffer.toString("base64"), 64) + `
19957
19957
  ` + r;
19958
19958
  },
@@ -20035,8 +20035,8 @@ function requirePkcs8() {
20035
20035
  c.exports = {
20036
20036
  privateExport: function(n, e) {
20037
20037
  e = e || {};
20038
- var s = n.n.toBuffer(), l = n.d.toBuffer(), v = n.p.toBuffer(), b = n.q.toBuffer(), m = n.dmp1.toBuffer(), q = n.dmq1.toBuffer(), E = n.coeff.toBuffer(), S = s.length + l.length + v.length + b.length + m.length + q.length + E.length + 512, O = new t.Writer({ size: S });
20039
- O.startSequence(), O.writeInt(0), O.writeBuffer(s, 2), O.writeInt(n.e), O.writeBuffer(l, 2), O.writeBuffer(v, 2), O.writeBuffer(b, 2), O.writeBuffer(m, 2), O.writeBuffer(q, 2), O.writeBuffer(E, 2), O.endSequence();
20038
+ var s = n.n.toBuffer(), l = n.d.toBuffer(), v = n.p.toBuffer(), b = n.q.toBuffer(), m = n.dmp1.toBuffer(), B = n.dmq1.toBuffer(), E = n.coeff.toBuffer(), S = s.length + l.length + v.length + b.length + m.length + B.length + E.length + 512, O = new t.Writer({ size: S });
20039
+ O.startSequence(), O.writeInt(0), O.writeBuffer(s, 2), O.writeInt(n.e), O.writeBuffer(l, 2), O.writeBuffer(v, 2), O.writeBuffer(b, 2), O.writeBuffer(m, 2), O.writeBuffer(B, 2), O.writeBuffer(E, 2), O.endSequence();
20040
20040
  var D = new t.Writer({ size: S });
20041
20041
  return D.startSequence(), D.writeInt(0), D.startSequence(), D.writeOID(o), D.writeNull(), D.endSequence(), D.writeBuffer(O.buffer, 4), D.endSequence(), e.type === "der" ? D.buffer : r + `
20042
20042
  ` + d.linebrk(D.buffer.toString("base64"), 64) + `
@@ -20060,23 +20060,23 @@ function requirePkcs8() {
20060
20060
  var m = new t.Reader(b.readString(48, !0));
20061
20061
  if (m.readOID(6, !0) !== o)
20062
20062
  throw Error("Invalid Public key format");
20063
- var q = new t.Reader(b.readString(4, !0));
20064
- q.readSequence(), q.readString(2, !0), n.setPrivate(
20065
- q.readString(2, !0),
20063
+ var B = new t.Reader(b.readString(4, !0));
20064
+ B.readSequence(), B.readString(2, !0), n.setPrivate(
20065
+ B.readString(2, !0),
20066
20066
  // modulus
20067
- q.readString(2, !0),
20067
+ B.readString(2, !0),
20068
20068
  // publicExponent
20069
- q.readString(2, !0),
20069
+ B.readString(2, !0),
20070
20070
  // privateExponent
20071
- q.readString(2, !0),
20071
+ B.readString(2, !0),
20072
20072
  // prime1
20073
- q.readString(2, !0),
20073
+ B.readString(2, !0),
20074
20074
  // prime2
20075
- q.readString(2, !0),
20075
+ B.readString(2, !0),
20076
20076
  // exponent1 -- d mod (p1)
20077
- q.readString(2, !0),
20077
+ B.readString(2, !0),
20078
20078
  // exponent2 -- d mod (q-1)
20079
- q.readString(2, !0)
20079
+ B.readString(2, !0)
20080
20080
  // coefficient -- (inverse of q) mod p
20081
20081
  );
20082
20082
  },
@@ -20106,11 +20106,11 @@ function requirePkcs8() {
20106
20106
  var m = new t.Reader(b.readString(48, !0));
20107
20107
  if (m.readOID(6, !0) !== o)
20108
20108
  throw Error("Invalid Public key format");
20109
- var q = new t.Reader(b.readString(3, !0));
20110
- q.readByte(), q.readSequence(), n.setPublic(
20111
- q.readString(2, !0),
20109
+ var B = new t.Reader(b.readString(3, !0));
20110
+ B.readByte(), B.readSequence(), n.setPublic(
20111
+ B.readString(2, !0),
20112
20112
  // modulus
20113
- q.readString(2, !0)
20113
+ B.readString(2, !0)
20114
20114
  // publicExponent
20115
20115
  );
20116
20116
  },
@@ -20193,9 +20193,9 @@ function requireOpenssh() {
20193
20193
  let s = Buffer.alloc(4);
20194
20194
  for (s.writeUInt32BE(a.e, 0); s[0] === 0; ) s = s.slice(1);
20195
20195
  const l = a.d.toBuffer(), v = a.coeff.toBuffer(), b = a.p.toBuffer(), m = a.q.toBuffer();
20196
- let q;
20197
- typeof a.sshcomment < "u" ? q = Buffer.from(a.sshcomment) : q = Buffer.from([]);
20198
- const E = 15 + s.byteLength + 4 + e.byteLength, S = 23 + e.byteLength + 4 + s.byteLength + 4 + l.byteLength + 4 + v.byteLength + 4 + b.byteLength + 4 + m.byteLength + 4 + q.byteLength;
20196
+ let B;
20197
+ typeof a.sshcomment < "u" ? B = Buffer.from(a.sshcomment) : B = Buffer.from([]);
20198
+ const E = 15 + s.byteLength + 4 + e.byteLength, S = 23 + e.byteLength + 4 + s.byteLength + 4 + l.byteLength + 4 + v.byteLength + 4 + b.byteLength + 4 + m.byteLength + 4 + B.byteLength;
20199
20199
  let O = 43 + // 32bit pubkey length
20200
20200
  E + 4 + //32bit private+checksum+comment+padding length
20201
20201
  S;
@@ -20205,7 +20205,7 @@ function requireOpenssh() {
20205
20205
  $.write("openssh-key-v1", "utf8"), $.writeUInt8(0, 14), j.off += 15, f(j, Buffer.from("none")), f(j, Buffer.from("none")), f(j, Buffer.from("")), j.off = j.buf.writeUInt32BE(1, j.off), j.off = j.buf.writeUInt32BE(E, j.off), f(j, Buffer.from("ssh-rsa")), f(j, s), f(j, e), j.off = j.buf.writeUInt32BE(
20206
20206
  O - 47 - E,
20207
20207
  j.off
20208
- ), j.off += 8, f(j, Buffer.from("ssh-rsa")), f(j, e), f(j, s), f(j, l), f(j, v), f(j, b), f(j, m), f(j, q);
20208
+ ), j.off += 8, f(j, Buffer.from("ssh-rsa")), f(j, e), f(j, s), f(j, l), f(j, v), f(j, b), f(j, m), f(j, B);
20209
20209
  let J = 1;
20210
20210
  for (; j.off < O; )
20211
20211
  j.off = j.buf.writeUInt8(J++, j.off);
@@ -20232,13 +20232,13 @@ function requireOpenssh() {
20232
20232
  throw "Invalid file format.";
20233
20233
  if (v.off += 15, h(v).toString("ascii") !== "none" || h(v).toString("ascii") !== "none" || h(v).toString("ascii") !== "" || (v.off += 4, v.off += 4, h(v).toString("ascii") !== "ssh-rsa") || (h(v), h(v), v.off += 12, h(v).toString("ascii") !== "ssh-rsa"))
20234
20234
  throw Error("Unsupported key type");
20235
- const b = h(v), m = h(v), q = h(v), E = h(v), S = h(v), O = h(v), D = new o(q), $ = new o(O), j = new o(S), J = D.mod(j.subtract(o.ONE)), ie = D.mod($.subtract(o.ONE));
20235
+ const b = h(v), m = h(v), B = h(v), E = h(v), S = h(v), O = h(v), D = new o(B), $ = new o(O), j = new o(S), J = D.mod(j.subtract(o.ONE)), ie = D.mod($.subtract(o.ONE));
20236
20236
  a.setPrivate(
20237
20237
  b,
20238
20238
  // modulus
20239
20239
  m,
20240
20240
  // publicExponent
20241
- q,
20241
+ B,
20242
20242
  // privateExponent
20243
20243
  S,
20244
20244
  // prime1
@@ -20270,9 +20270,9 @@ function requireOpenssh() {
20270
20270
  if (Buffer.isBuffer(n) && (n = n.toString("utf8")), t.isString(n)) {
20271
20271
  if (n.substring(0, 8) !== "ssh-rsa ")
20272
20272
  throw Error("Unsupported key format");
20273
- let q = n.indexOf(" ", 8);
20274
- q === -1 ? q = n.length : a.sshcomment = n.substring(q + 1).replace(/\s+|\n\r|\n|\r$/gm, "");
20275
- const E = n.substring(8, q).replace(/\s+|\n\r|\n|\r$/gm, "");
20273
+ let B = n.indexOf(" ", 8);
20274
+ B === -1 ? B = n.length : a.sshcomment = n.substring(B + 1).replace(/\s+|\n\r|\n|\r$/gm, "");
20275
+ const E = n.substring(8, B).replace(/\s+|\n\r|\n|\r$/gm, "");
20276
20276
  s = Buffer.from(E, "base64");
20277
20277
  } else
20278
20278
  throw Error("Unsupported key format");
@@ -20475,8 +20475,8 @@ function requireNodeRSA() {
20475
20475
  try {
20476
20476
  var m = this.keyPair.encrypt(this.$getDataForEncrypt(l, b), s);
20477
20477
  return v == "buffer" || !v ? m : m.toString(v);
20478
- } catch (q) {
20479
- throw Error("Error during encryption. Original error: " + q);
20478
+ } catch (B) {
20479
+ throw Error("Error during encryption. Original error: " + B);
20480
20480
  }
20481
20481
  }, e.prototype.$$decryptKey = function(s, l, v) {
20482
20482
  try {
@@ -20796,8 +20796,8 @@ class AnimationsParser extends EventDispatcher {
20796
20796
  },
20797
20797
  { delay: h, duration: f, mode: a, repeat: n, yoyo: e },
20798
20798
  (s, l) => {
20799
- const { x: v, y: b, z: m, rotationX: q, rotationY: E, rotationZ: S, scaleX: O, scaleY: D, scaleZ: $ } = s;
20800
- this.target.position.set(v, b, m), this.target.rotation.set(q, E, S), this.target.scale.set(O, D, $), this.dispatchEvent({ type: "update", source: s, tween: l });
20799
+ const { x: v, y: b, z: m, rotationX: B, rotationY: E, rotationZ: S, scaleX: O, scaleY: D, scaleZ: $ } = s;
20800
+ this.target.position.set(v, b, m), this.target.rotation.set(B, E, S), this.target.scale.set(O, D, $), this.dispatchEvent({ type: "update", source: s, tween: l });
20801
20801
  },
20802
20802
  (s) => {
20803
20803
  this.tweenSet.add(s), this.dispatchEvent({ type: "start", tween: s });
@@ -20898,7 +20898,13 @@ class VisionsParser {
20898
20898
  ]);
20899
20899
  }
20900
20900
  }
20901
- const PLANISH_SCALE_Y = 0.01, _box = new Box3(), _pivot = new Vector3(), _raycastHits = [], _dummyPosition = new Vector3(), _dummyQuaternion = new Quaternion(), _dummyScale = new Vector3(), _boundsMatrix = new Matrix4(), _boundsSphere = new Sphere();
20901
+ const PLANISH_SCALE_Y = 0.01, SEMANTIC_RENDER_OFFSETS = {
20902
+ Walls: 0,
20903
+ Columns: 6e-3,
20904
+ Spaces: 0,
20905
+ Doors: 0.01,
20906
+ Windows: 0.01
20907
+ }, _box = new Box3(), _pivot = new Vector3(), _raycastHits = [], _dummyPosition = new Vector3(), _dummyQuaternion = new Quaternion(), _dummyScale = new Vector3(), _boundsMatrix = new Matrix4(), _boundsSphere = new Sphere();
20902
20908
  function getStateTextureSize(c, t = 1) {
20903
20909
  return Math.max(1, Math.ceil(Math.sqrt(Math.max(1, c * t))));
20904
20910
  }
@@ -20914,23 +20920,23 @@ function copyAttributeComponents(c, t, u, o) {
20914
20920
  for (let d = 0; d < u; d++)
20915
20921
  o.push(c?.getComponent(t, d) ?? 0);
20916
20922
  }
20917
- function createSemanticMaterial(c, t, u) {
20918
- const o = attribute("semanticIndex", "float").toInt(), d = (e) => int(textureSize(textureLoad(e), int(0)).x).toConst(), r = (e) => {
20919
- const s = d(e), l = o.mod(s).toConst(), v = o.div(s).toConst();
20920
- return textureLoad(e, ivec2(l, v));
20921
- }, h = () => {
20922
- const e = d(u), s = o.mul(4).toConst(), l = s.mod(e).toConst(), v = s.div(e).toConst();
20923
+ function createSemanticMaterial(c, t, u, o) {
20924
+ const d = attribute("semanticIndex", "float").toInt(), r = (m) => int(textureSize(textureLoad(m), int(0)).x).toConst(), h = (m) => {
20925
+ const B = r(m), E = d.mod(B).toConst(), S = d.div(B).toConst();
20926
+ return textureLoad(m, ivec2(E, S));
20927
+ }, f = () => {
20928
+ const m = r(u), B = d.mul(4).toConst(), E = B.mod(m).toConst(), S = B.div(m).toConst();
20923
20929
  return mat4(
20924
- textureLoad(u, ivec2(l, v)),
20925
- textureLoad(u, ivec2(l.add(1), v)),
20926
- textureLoad(u, ivec2(l.add(2), v)),
20927
- textureLoad(u, ivec2(l.add(3), v))
20930
+ textureLoad(u, ivec2(E, S)),
20931
+ textureLoad(u, ivec2(E.add(1), S)),
20932
+ textureLoad(u, ivec2(E.add(2), S)),
20933
+ textureLoad(u, ivec2(E.add(3), S))
20928
20934
  );
20929
- }, f = r(c), a = r(t).x, n = new MeshStandardNodeMaterial({
20935
+ }, a = h(c), n = h(t).x, e = h(o).x, s = f(), l = s.mul(vec4(positionLocal, 1)).xyz, v = transformNormal(normalLocal, s).normalize(), b = new MeshStandardNodeMaterial({
20930
20936
  transparent: !0,
20931
- depthWrite: !1
20937
+ depthWrite: !0
20932
20938
  });
20933
- return n.colorNode = vec4(f.rgb, 1), n.opacityNode = f.a.mul(a), n.maskNode = a.greaterThan(0.5).and(f.a.greaterThan(1e-3)), n.positionNode = h().mul(vec4(positionLocal, 1)).xyz, n;
20939
+ return b.colorNode = vec4(a.rgb, 1), b.opacityNode = a.a.mul(n), b.maskNode = n.greaterThan(0.5).and(a.a.greaterThan(1e-3)), b.positionNode = l.add(v.mul(e)), b;
20934
20940
  }
20935
20941
  function copySemanticColor(c, t) {
20936
20942
  if (c instanceof Color) {
@@ -20945,10 +20951,10 @@ function buildMergedSemanticGeometry(c) {
20945
20951
  const e = a.geometry, s = e.getAttribute("position"), l = e.getAttribute("normal"), v = e.getAttribute("uv"), b = e.getIndex();
20946
20952
  if (!s) return;
20947
20953
  e.computeBoundingBox(), _box.copy(e.boundingBox ?? _box.makeEmpty()), _box.getCenter(_pivot), _pivot.y = _box.min.y;
20948
- const m = t.length / 3, q = [], E = [], S = [], O = [];
20954
+ const m = t.length / 3, B = [], E = [], S = [], O = [];
20949
20955
  for (let j = 0; j < s.count; j++) {
20950
20956
  const J = s.getX(j) - _pivot.x, ie = s.getY(j) - _pivot.y, ne = s.getZ(j) - _pivot.z;
20951
- t.push(J, ie, ne), q.push(J, ie, ne), d.push(n), copyAttributeComponents(l, j, 3, u), copyAttributeComponents(l, j, 3, E), copyAttributeComponents(v, j, 2, o), copyAttributeComponents(v, j, 2, S);
20957
+ t.push(J, ie, ne), B.push(J, ie, ne), d.push(n), copyAttributeComponents(l, j, 3, u), copyAttributeComponents(l, j, 3, E), copyAttributeComponents(v, j, 2, o), copyAttributeComponents(v, j, 2, S);
20952
20958
  }
20953
20959
  if (b)
20954
20960
  for (let j = 0; j < b.count; j++) {
@@ -20959,7 +20965,7 @@ function buildMergedSemanticGeometry(c) {
20959
20965
  for (let j = 0; j < s.count; j++)
20960
20966
  r.push(m + j), O.push(j);
20961
20967
  const D = new BufferGeometry();
20962
- D.setAttribute("position", new Float32BufferAttribute(q, 3)), l && D.setAttribute("normal", new Float32BufferAttribute(E, 3)), v && D.setAttribute("uv", new Float32BufferAttribute(S, 2)), D.setIndex(O), D.computeBoundingBox(), D.computeBoundingSphere();
20968
+ D.setAttribute("position", new Float32BufferAttribute(B, 3)), l && D.setAttribute("normal", new Float32BufferAttribute(E, 3)), v && D.setAttribute("uv", new Float32BufferAttribute(S, 2)), D.setIndex(O), D.computeBoundingBox(), D.computeBoundingSphere();
20963
20969
  const $ = new Matrix4().makeTranslation(_pivot.x, _pivot.y, _pivot.z);
20964
20970
  h.push({
20965
20971
  id: a.id,
@@ -20993,24 +20999,25 @@ class FloorMesh extends BaseMesh {
20993
20999
  #i;
20994
21000
  #a;
20995
21001
  #o;
21002
+ #s;
20996
21003
  #n;
20997
21004
  constructor(t) {
20998
- const { geometry: u, states: o } = buildMergedSemanticGeometry(t), d = getStateTextureSize(o.length), r = getMatrixTextureSize(o.length), h = createStateTexture(d), f = createStateTexture(d), a = createStateTexture(r), n = createSemanticMaterial(h, f, a);
20999
- super(u, n), this.#r = o, this.#t = {
21005
+ const { geometry: u, states: o } = buildMergedSemanticGeometry(t), d = getStateTextureSize(o.length), r = getMatrixTextureSize(o.length), h = createStateTexture(d), f = createStateTexture(d), a = createStateTexture(r), n = createStateTexture(d), e = createSemanticMaterial(h, f, a, n);
21006
+ super(u, e), this.#r = o, this.#t = {
21000
21007
  Walls: this.wallsInstances,
21001
21008
  Columns: this.columnsInstances,
21002
21009
  Spaces: this.spacesInstances,
21003
21010
  Doors: this.doorsInstances,
21004
21011
  Windows: this.windowsInstances
21005
- }, this.#i = h, this.#a = f, this.#o = a, this.#n = new Mesh(), this.#n.matrixAutoUpdate = !1, this.frustumCulled = !1, this.#r.forEach((e) => {
21006
- this.semanticInstances.set(e.id, e.index), this.#t[e.kind].set(e.id, e.index), this.#s(e.index), this.#l(e.index), this.#f(e.index);
21007
- }), this.userData.semanticEntries = this.#r.map(({ id: e, kind: s, name: l, index: v }) => ({ id: e, kind: s, name: l, index: v }));
21012
+ }, this.#i = h, this.#a = f, this.#o = a, this.#s = n, this.#n = new Mesh(), this.#n.matrixAutoUpdate = !1, this.frustumCulled = !1, this.#r.forEach((s) => {
21013
+ this.semanticInstances.set(s.id, s.index), this.#t[s.kind].set(s.id, s.index), this.#f(s.index), this.#d(s.index), this.#u(s.index), this.#p(s.index);
21014
+ }), this.userData.semanticEntries = this.#r.map(({ id: s, kind: l, name: v, index: b }) => ({ id: s, kind: l, name: v, index: b }));
21008
21015
  }
21009
21016
  planish(t) {
21010
- return this.#c(t, (u) => this.setScaleYAt(u, PLANISH_SCALE_Y)), this;
21017
+ return this.#h(t, (u) => this.setScaleYAt(u, PLANISH_SCALE_Y)), this;
21011
21018
  }
21012
21019
  unplanish(t) {
21013
- return this.#c(t, (u) => this.setScaleYAt(u, 1)), this;
21020
+ return this.#h(t, (u) => this.setScaleYAt(u, 1)), this;
21014
21021
  }
21015
21022
  get semanticCount() {
21016
21023
  return this.#r.length;
@@ -21032,7 +21039,7 @@ class FloorMesh extends BaseMesh {
21032
21039
  }
21033
21040
  setColorAt(t, u) {
21034
21041
  const o = this.#e(t);
21035
- return copySemanticColor(u, o.color), this.#s(t), this;
21042
+ return copySemanticColor(u, o.color), this.#f(t), this;
21036
21043
  }
21037
21044
  getColorAt(t, u = new Vector4()) {
21038
21045
  const o = this.#e(t).color;
@@ -21040,29 +21047,29 @@ class FloorMesh extends BaseMesh {
21040
21047
  }
21041
21048
  setOpacityAt(t, u) {
21042
21049
  const o = this.#e(t);
21043
- return o.color.w = Math.max(0, Math.min(1, u)), this.#s(t), this;
21050
+ return o.color.w = Math.max(0, Math.min(1, u)), this.#f(t), this;
21044
21051
  }
21045
21052
  getOpacityAt(t) {
21046
21053
  return this.#e(t).color.w;
21047
21054
  }
21048
21055
  setVisibleAt(t, u) {
21049
21056
  const o = this.#e(t);
21050
- return o.visible = u, this.#l(t), this;
21057
+ return o.visible = u, this.#d(t), this;
21051
21058
  }
21052
21059
  getVisibleAt(t) {
21053
21060
  return this.#e(t).visible;
21054
21061
  }
21055
21062
  setMatrixAt(t, u) {
21056
21063
  const o = this.#e(t);
21057
- return o.matrix.copy(u), o.finalMatrix.multiplyMatrices(o.baseMatrix, o.matrix), this.#u(), this.#f(t), this;
21064
+ return o.matrix.copy(u), o.finalMatrix.multiplyMatrices(o.baseMatrix, o.matrix), this.#c(), this.#u(t), this;
21058
21065
  }
21059
21066
  setScaleAt(t, u, o, d) {
21060
- return this.#h(t, (r) => {
21067
+ return this.#l(t, (r) => {
21061
21068
  u instanceof Vector3 ? r.copy(u) : r.set(u, o ?? u, d ?? u);
21062
21069
  });
21063
21070
  }
21064
21071
  setScaleYAt(t, u) {
21065
- return this.#h(t, (o) => {
21072
+ return this.#l(t, (o) => {
21066
21073
  o.y = u;
21067
21074
  });
21068
21075
  }
@@ -21104,7 +21111,7 @@ class FloorMesh extends BaseMesh {
21104
21111
  }
21105
21112
  }
21106
21113
  dispose() {
21107
- this.geometry.dispose(), Array.isArray(this.material) ? this.material.forEach((t) => t.dispose()) : this.material.dispose(), this.#i.dispose(), this.#a.dispose(), this.#o.dispose(), this.#r.forEach((t) => t.geometry.dispose());
21114
+ this.geometry.dispose(), Array.isArray(this.material) ? this.material.forEach((t) => t.dispose()) : this.material.dispose(), this.#i.dispose(), this.#a.dispose(), this.#o.dispose(), this.#s.dispose(), this.#r.forEach((t) => t.geometry.dispose());
21108
21115
  }
21109
21116
  #e(t) {
21110
21117
  const u = this.#r[t];
@@ -21112,10 +21119,10 @@ class FloorMesh extends BaseMesh {
21112
21119
  throw new Error(`u-space FloorMesh: invalid semantic index ${t}.`);
21113
21120
  return u;
21114
21121
  }
21115
- #u() {
21122
+ #c() {
21116
21123
  this.boundingBox = null, this.boundingSphere = null;
21117
21124
  }
21118
- #c(t, u) {
21125
+ #h(t, u) {
21119
21126
  if (t === void 0) {
21120
21127
  this.#r.forEach((o) => u(o.index));
21121
21128
  return;
@@ -21123,20 +21130,24 @@ class FloorMesh extends BaseMesh {
21123
21130
  for (const o of this.#t[t].values())
21124
21131
  u(o);
21125
21132
  }
21126
- #h(t, u) {
21133
+ #l(t, u) {
21127
21134
  const o = this.#e(t);
21128
- return o.matrix.decompose(_dummyPosition, _dummyQuaternion, _dummyScale), u(_dummyScale), o.matrix.compose(_dummyPosition, _dummyQuaternion, _dummyScale), o.finalMatrix.multiplyMatrices(o.baseMatrix, o.matrix), this.#u(), this.#f(t), this;
21135
+ return o.matrix.decompose(_dummyPosition, _dummyQuaternion, _dummyScale), u(_dummyScale), o.matrix.compose(_dummyPosition, _dummyQuaternion, _dummyScale), o.finalMatrix.multiplyMatrices(o.baseMatrix, o.matrix), this.#c(), this.#u(t), this;
21129
21136
  }
21130
- #s(t) {
21137
+ #f(t) {
21131
21138
  this.#e(t).color.toArray(this.#i.image.data, t * 4), this.#i.needsUpdate = !0;
21132
21139
  }
21133
- #l(t) {
21140
+ #d(t) {
21134
21141
  const u = this.#e(t), o = this.#a.image.data;
21135
21142
  o[t * 4] = u.visible ? 1 : 0, o[t * 4 + 1] = 0, o[t * 4 + 2] = 0, o[t * 4 + 3] = 1, this.#a.needsUpdate = !0;
21136
21143
  }
21137
- #f(t) {
21144
+ #u(t) {
21138
21145
  this.#e(t).finalMatrix.toArray(this.#o.image.data, t * 16), this.#o.needsUpdate = !0;
21139
21146
  }
21147
+ #p(t) {
21148
+ const u = this.#e(t), o = this.#s.image.data;
21149
+ o[t * 4] = SEMANTIC_RENDER_OFFSETS[u.kind], o[t * 4 + 1] = 0, o[t * 4 + 2] = 0, o[t * 4 + 3] = 1, this.#s.needsUpdate = !0;
21150
+ }
21140
21151
  }
21141
21152
  class BuildingGroup extends BaseGroup {
21142
21153
  isBuildingGroup = !0;
@@ -21874,7 +21885,7 @@ class TranslateNode extends Node {
21874
21885
  m,
21875
21886
  new Vector3().set(m.x + a, m.y, m.z),
21876
21887
  { duration: 800 },
21877
- (q) => s(b.position, q)
21888
+ (B) => s(b.position, B)
21878
21889
  );
21879
21890
  break;
21880
21891
  case "y":
@@ -21883,7 +21894,7 @@ class TranslateNode extends Node {
21883
21894
  m,
21884
21895
  new Vector3().set(m.x, m.y + a, m.z),
21885
21896
  { duration: 800 },
21886
- (q) => s(b.position, q)
21897
+ (B) => s(b.position, B)
21887
21898
  );
21888
21899
  break;
21889
21900
  case "z":
@@ -21892,7 +21903,7 @@ class TranslateNode extends Node {
21892
21903
  m,
21893
21904
  new Vector3().set(m.x, m.y, m.z + a),
21894
21905
  { duration: 800 },
21895
- (q) => s(b.position, q)
21906
+ (B) => s(b.position, B)
21896
21907
  );
21897
21908
  break;
21898
21909
  }
@@ -21939,13 +21950,13 @@ class ScaleNode extends Node {
21939
21950
  const m = b.scale.clone();
21940
21951
  switch (f) {
21941
21952
  case "x":
21942
- await tweenAnimation(this.viewer, m, new Vector3().set(m.x * a, m.y, m.z), { duration: 800 }, (q) => s(b.scale, q));
21953
+ await tweenAnimation(this.viewer, m, new Vector3().set(m.x * a, m.y, m.z), { duration: 800 }, (B) => s(b.scale, B));
21943
21954
  break;
21944
21955
  case "y":
21945
- await tweenAnimation(this.viewer, m, new Vector3().set(m.x, m.y * a, m.z), { duration: 800 }, (q) => s(b.scale, q));
21956
+ await tweenAnimation(this.viewer, m, new Vector3().set(m.x, m.y * a, m.z), { duration: 800 }, (B) => s(b.scale, B));
21946
21957
  break;
21947
21958
  case "z":
21948
- await tweenAnimation(this.viewer, m, new Vector3().set(m.x, m.y, m.z * a), { duration: 800 }, (q) => s(b.scale, q));
21959
+ await tweenAnimation(this.viewer, m, new Vector3().set(m.x, m.y, m.z * a), { duration: 800 }, (B) => s(b.scale, B));
21949
21960
  break;
21950
21961
  }
21951
21962
  });
@@ -21988,13 +21999,13 @@ class RotateNode extends Node {
21988
21999
  };
21989
22000
  await (async () => {
21990
22001
  const v = a / 180 * Math.PI, b = objectHandle(h, async (m) => {
21991
- const q = m.rotation.clone();
22002
+ const B = m.rotation.clone();
21992
22003
  switch (f) {
21993
22004
  case "x":
21994
22005
  await tweenAnimation(
21995
22006
  this.viewer,
21996
- q,
21997
- new Euler().set(q.x + v, q.y, q.z),
22007
+ B,
22008
+ new Euler().set(B.x + v, B.y, B.z),
21998
22009
  { duration: 800 },
21999
22010
  (E) => s(m.rotation, E)
22000
22011
  );
@@ -22002,8 +22013,8 @@ class RotateNode extends Node {
22002
22013
  case "y":
22003
22014
  await tweenAnimation(
22004
22015
  this.viewer,
22005
- q,
22006
- new Euler().set(q.x, q.y + v, q.z),
22016
+ B,
22017
+ new Euler().set(B.x, B.y + v, B.z),
22007
22018
  { duration: 800 },
22008
22019
  (E) => s(m.rotation, E)
22009
22020
  );
@@ -22011,8 +22022,8 @@ class RotateNode extends Node {
22011
22022
  case "z":
22012
22023
  await tweenAnimation(
22013
22024
  this.viewer,
22014
- q,
22015
- new Euler().set(q.x, q.y, q.z + v),
22025
+ B,
22026
+ new Euler().set(B.x, B.y, B.z + v),
22016
22027
  { duration: 800 },
22017
22028
  (E) => s(m.rotation, E)
22018
22029
  );