zigap-utils 0.0.26 → 0.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -47,14 +47,14 @@ function la() {
47
47
  ti = 1;
48
48
  var f = cn, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, a = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
49
49
  function y(x, u, o) {
50
- var c, v = {}, b = null, C = null;
51
- o !== void 0 && (b = "" + o), u.key !== void 0 && (b = "" + u.key), u.ref !== void 0 && (C = u.ref);
50
+ var c, v = {}, b = null, B = null;
51
+ o !== void 0 && (b = "" + o), u.key !== void 0 && (b = "" + u.key), u.ref !== void 0 && (B = u.ref);
52
52
  for (c in u)
53
53
  r.call(u, c) && !i.hasOwnProperty(c) && (v[c] = u[c]);
54
54
  if (x && x.defaultProps)
55
55
  for (c in u = x.defaultProps, u)
56
56
  v[c] === void 0 && (v[c] = u[c]);
57
- return { $$typeof: e, type: x, key: b, ref: C, props: v, _owner: a.current };
57
+ return { $$typeof: e, type: x, key: b, ref: B, props: v, _owner: a.current };
58
58
  }
59
59
  return Xt.Fragment = t, Xt.jsx = y, Xt.jsxs = y, Xt;
60
60
  }
@@ -71,7 +71,7 @@ var Zt = {};
71
71
  var ri;
72
72
  function xa() {
73
73
  return ri || (ri = 1, process.env.NODE_ENV !== "production" && function() {
74
- var f = cn, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), y = Symbol.for("react.provider"), x = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), o = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), w = Symbol.iterator, R = "@@iterator";
74
+ var f = cn, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), y = Symbol.for("react.provider"), x = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), o = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), w = Symbol.iterator, R = "@@iterator";
75
75
  function k(p) {
76
76
  if (p === null || typeof p != "object")
77
77
  return null;
@@ -99,7 +99,7 @@ function xa() {
99
99
  var T = !1, H = !1, $ = !1, K = !1, X = !1, Q;
100
100
  Q = Symbol.for("react.module.reference");
101
101
  function U(p) {
102
- return !!(typeof p == "string" || typeof p == "function" || p === r || p === i || X || p === a || p === o || p === c || K || p === C || T || H || $ || typeof p == "object" && p !== null && (p.$$typeof === b || p.$$typeof === v || p.$$typeof === y || p.$$typeof === x || p.$$typeof === u || // This needs to include all possible module reference object
102
+ return !!(typeof p == "string" || typeof p == "function" || p === r || p === i || X || p === a || p === o || p === c || K || p === B || T || H || $ || typeof p == "object" && p !== null && (p.$$typeof === b || p.$$typeof === v || p.$$typeof === y || p.$$typeof === x || p.$$typeof === u || // This needs to include all possible module reference object
103
103
  // types supported by any Flight configuration anywhere since
104
104
  // we don't know which Flight build this will end up being used
105
105
  // with.
@@ -160,13 +160,13 @@ function xa() {
160
160
  }
161
161
  return null;
162
162
  }
163
- var g = Object.assign, B = 0, F, z, N, D, h, E, j;
163
+ var g = Object.assign, C = 0, F, z, N, D, h, E, j;
164
164
  function Y() {
165
165
  }
166
166
  Y.__reactDisabledLog = !0;
167
167
  function W() {
168
168
  {
169
- if (B === 0) {
169
+ if (C === 0) {
170
170
  F = console.log, z = console.info, N = console.warn, D = console.error, h = console.group, E = console.groupCollapsed, j = console.groupEnd;
171
171
  var p = {
172
172
  configurable: !0,
@@ -184,12 +184,12 @@ function xa() {
184
184
  groupEnd: p
185
185
  });
186
186
  }
187
- B++;
187
+ C++;
188
188
  }
189
189
  }
190
190
  function re() {
191
191
  {
192
- if (B--, B === 0) {
192
+ if (C--, C === 0) {
193
193
  var p = {
194
194
  configurable: !0,
195
195
  enumerable: !0,
@@ -219,7 +219,7 @@ function xa() {
219
219
  })
220
220
  });
221
221
  }
222
- B < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
222
+ C < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
223
223
  }
224
224
  }
225
225
  var ce = q.ReactCurrentDispatcher, we;
@@ -699,8 +699,8 @@ var St;
699
699
  for (let w = 0; w < this.size; w++)
700
700
  this.modules.push(b.slice()), this.isFunction.push(b.slice());
701
701
  this.drawFunctionPatterns();
702
- const C = this.addEccAndInterleave(c);
703
- if (this.drawCodewords(C), v == -1) {
702
+ const B = this.addEccAndInterleave(c);
703
+ if (this.drawCodewords(B), v == -1) {
704
704
  let w = 1e9;
705
705
  for (let R = 0; R < 8; R++) {
706
706
  this.applyMask(R), this.drawFormatBits(R);
@@ -718,7 +718,7 @@ var St;
718
718
  const c = f.QrSegment.makeBytes(u);
719
719
  return e.encodeSegments([c], o);
720
720
  }
721
- static encodeSegments(u, o, c = 1, v = 40, b = -1, C = !0) {
721
+ static encodeSegments(u, o, c = 1, v = 40, b = -1, B = !0) {
722
722
  if (!(e.MIN_VERSION <= c && c <= v && v <= e.MAX_VERSION) || b < -1 || b > 7)
723
723
  throw new RangeError("Invalid value");
724
724
  let w, R;
@@ -732,7 +732,7 @@ var St;
732
732
  throw new RangeError("Data too long");
733
733
  }
734
734
  for (const P of [e.Ecc.MEDIUM, e.Ecc.QUARTILE, e.Ecc.HIGH])
735
- C && R <= e.getNumDataCodewords(w, P) * 8 && (o = P);
735
+ B && R <= e.getNumDataCodewords(w, P) * 8 && (o = P);
736
736
  let k = [];
737
737
  for (const P of u) {
738
738
  r(P.mode.modeBits, 4, k), r(P.numChars, P.mode.numCharCountBits(w), k);
@@ -792,15 +792,15 @@ var St;
792
792
  const o = this.version << 12 | u;
793
793
  i(o >>> 18 == 0);
794
794
  for (let c = 0; c < 18; c++) {
795
- const v = a(o, c), b = this.size - 11 + c % 3, C = Math.floor(c / 3);
796
- this.setFunctionModule(b, C, v), this.setFunctionModule(C, b, v);
795
+ const v = a(o, c), b = this.size - 11 + c % 3, B = Math.floor(c / 3);
796
+ this.setFunctionModule(b, B, v), this.setFunctionModule(B, b, v);
797
797
  }
798
798
  }
799
799
  drawFinderPattern(u, o) {
800
800
  for (let c = -4; c <= 4; c++)
801
801
  for (let v = -4; v <= 4; v++) {
802
- const b = Math.max(Math.abs(v), Math.abs(c)), C = u + v, w = o + c;
803
- 0 <= C && C < this.size && 0 <= w && w < this.size && this.setFunctionModule(C, w, b != 2 && b != 4);
802
+ const b = Math.max(Math.abs(v), Math.abs(c)), B = u + v, w = o + c;
803
+ 0 <= B && B < this.size && 0 <= w && w < this.size && this.setFunctionModule(B, w, b != 2 && b != 4);
804
804
  }
805
805
  }
806
806
  drawAlignmentPattern(u, o) {
@@ -815,7 +815,7 @@ var St;
815
815
  const o = this.version, c = this.errorCorrectionLevel;
816
816
  if (u.length != e.getNumDataCodewords(o, c))
817
817
  throw new RangeError("Invalid argument");
818
- const v = e.NUM_ERROR_CORRECTION_BLOCKS[c.ordinal][o], b = e.ECC_CODEWORDS_PER_BLOCK[c.ordinal][o], C = Math.floor(e.getNumRawDataModules(o) / 8), w = v - C % v, R = Math.floor(C / v);
818
+ const v = e.NUM_ERROR_CORRECTION_BLOCKS[c.ordinal][o], b = e.ECC_CODEWORDS_PER_BLOCK[c.ordinal][o], B = Math.floor(e.getNumRawDataModules(o) / 8), w = v - B % v, R = Math.floor(B / v);
819
819
  let k = [];
820
820
  const q = e.reedSolomonComputeDivisor(b);
821
821
  for (let P = 0, T = 0; P < v; P++) {
@@ -829,7 +829,7 @@ var St;
829
829
  k.forEach((T, H) => {
830
830
  (P != R - b || H >= w) && S.push(T[P]);
831
831
  });
832
- return i(S.length == C), S;
832
+ return i(S.length == B), S;
833
833
  }
834
834
  drawCodewords(u) {
835
835
  if (u.length != Math.floor(e.getNumRawDataModules(this.version) / 8))
@@ -839,8 +839,8 @@ var St;
839
839
  c == 6 && (c = 5);
840
840
  for (let v = 0; v < this.size; v++)
841
841
  for (let b = 0; b < 2; b++) {
842
- const C = c - b, R = (c + 1 & 2) == 0 ? this.size - 1 - v : v;
843
- !this.isFunction[R][C] && o < u.length * 8 && (this.modules[R][C] = a(u[o >>> 3], 7 - (o & 7)), o++);
842
+ const B = c - b, R = (c + 1 & 2) == 0 ? this.size - 1 - v : v;
843
+ !this.isFunction[R][B] && o < u.length * 8 && (this.modules[R][B] = a(u[o >>> 3], 7 - (o & 7)), o++);
844
844
  }
845
845
  }
846
846
  i(o == u.length * 8);
@@ -885,25 +885,25 @@ var St;
885
885
  getPenaltyScore() {
886
886
  let u = 0;
887
887
  for (let b = 0; b < this.size; b++) {
888
- let C = !1, w = 0, R = [0, 0, 0, 0, 0, 0, 0];
888
+ let B = !1, w = 0, R = [0, 0, 0, 0, 0, 0, 0];
889
889
  for (let k = 0; k < this.size; k++)
890
- this.modules[b][k] == C ? (w++, w == 5 ? u += e.PENALTY_N1 : w > 5 && u++) : (this.finderPenaltyAddHistory(w, R), C || (u += this.finderPenaltyCountPatterns(R) * e.PENALTY_N3), C = this.modules[b][k], w = 1);
891
- u += this.finderPenaltyTerminateAndCount(C, w, R) * e.PENALTY_N3;
890
+ this.modules[b][k] == B ? (w++, w == 5 ? u += e.PENALTY_N1 : w > 5 && u++) : (this.finderPenaltyAddHistory(w, R), B || (u += this.finderPenaltyCountPatterns(R) * e.PENALTY_N3), B = this.modules[b][k], w = 1);
891
+ u += this.finderPenaltyTerminateAndCount(B, w, R) * e.PENALTY_N3;
892
892
  }
893
893
  for (let b = 0; b < this.size; b++) {
894
- let C = !1, w = 0, R = [0, 0, 0, 0, 0, 0, 0];
894
+ let B = !1, w = 0, R = [0, 0, 0, 0, 0, 0, 0];
895
895
  for (let k = 0; k < this.size; k++)
896
- this.modules[k][b] == C ? (w++, w == 5 ? u += e.PENALTY_N1 : w > 5 && u++) : (this.finderPenaltyAddHistory(w, R), C || (u += this.finderPenaltyCountPatterns(R) * e.PENALTY_N3), C = this.modules[k][b], w = 1);
897
- u += this.finderPenaltyTerminateAndCount(C, w, R) * e.PENALTY_N3;
896
+ this.modules[k][b] == B ? (w++, w == 5 ? u += e.PENALTY_N1 : w > 5 && u++) : (this.finderPenaltyAddHistory(w, R), B || (u += this.finderPenaltyCountPatterns(R) * e.PENALTY_N3), B = this.modules[k][b], w = 1);
897
+ u += this.finderPenaltyTerminateAndCount(B, w, R) * e.PENALTY_N3;
898
898
  }
899
899
  for (let b = 0; b < this.size - 1; b++)
900
- for (let C = 0; C < this.size - 1; C++) {
901
- const w = this.modules[b][C];
902
- w == this.modules[b][C + 1] && w == this.modules[b + 1][C] && w == this.modules[b + 1][C + 1] && (u += e.PENALTY_N2);
900
+ for (let B = 0; B < this.size - 1; B++) {
901
+ const w = this.modules[b][B];
902
+ w == this.modules[b][B + 1] && w == this.modules[b + 1][B] && w == this.modules[b + 1][B + 1] && (u += e.PENALTY_N2);
903
903
  }
904
904
  let o = 0;
905
905
  for (const b of this.modules)
906
- o = b.reduce((C, w) => C + (w ? 1 : 0), o);
906
+ o = b.reduce((B, w) => B + (w ? 1 : 0), o);
907
907
  const c = this.size * this.size, v = Math.ceil(Math.abs(o * 20 - c * 10) / c) - 1;
908
908
  return i(0 <= v && v <= 9), u += v * e.PENALTY_N4, i(0 <= u && u <= 2568888), u;
909
909
  }
@@ -950,7 +950,7 @@ var St;
950
950
  let c = o.map((v) => 0);
951
951
  for (const v of u) {
952
952
  const b = v ^ c.shift();
953
- c.push(0), o.forEach((C, w) => c[w] ^= e.reedSolomonMultiply(C, b));
953
+ c.push(0), o.forEach((B, w) => c[w] ^= e.reedSolomonMultiply(B, b));
954
954
  }
955
955
  return c;
956
956
  }
@@ -1144,8 +1144,8 @@ function Ca(f, e, t, r) {
1144
1144
  const a = t ? un : 0, i = f.length + a * 2, y = Math.floor(e * Ea), x = i / e, u = (r.width || y) * x, o = (r.height || y) * x, c = r.x == null ? f.length / 2 - u / 2 : r.x * x, v = r.y == null ? f.length / 2 - o / 2 : r.y * x;
1145
1145
  let b = null;
1146
1146
  if (r.excavate) {
1147
- let C = Math.floor(c), w = Math.floor(v), R = Math.ceil(u + c - C), k = Math.ceil(o + v - w);
1148
- b = { x: C, y: w, w: R, h: k };
1147
+ let B = Math.floor(c), w = Math.floor(v), R = Math.ceil(u + c - B), k = Math.ceil(o + v - w);
1148
+ b = { x: B, y: w, w: R, h: k };
1149
1149
  }
1150
1150
  return { x: c, y: v, h: o, w: u, excavation: b };
1151
1151
  }
@@ -1176,21 +1176,21 @@ function ln(f) {
1176
1176
  "includeMargin",
1177
1177
  "style",
1178
1178
  "imageSettings"
1179
- ]), v = o == null ? void 0 : o.src, b = ei(null), C = ei(null), [w, R] = qf(!1);
1179
+ ]), v = o == null ? void 0 : o.src, b = ei(null), B = ei(null), [w, R] = qf(!1);
1180
1180
  zt(() => {
1181
1181
  if (b.current != null) {
1182
1182
  const S = b.current, P = S.getContext("2d");
1183
1183
  if (!P)
1184
1184
  return;
1185
1185
  let T = tr.QrCode.encodeText(t, pa[a]).getModules();
1186
- const H = x ? un : 0, $ = T.length + H * 2, K = Ca(T, r, x, o), X = C.current, Q = K != null && X !== null && X.complete && X.naturalHeight !== 0 && X.naturalWidth !== 0;
1186
+ const H = x ? un : 0, $ = T.length + H * 2, K = Ca(T, r, x, o), X = B.current, Q = K != null && X !== null && X.complete && X.naturalHeight !== 0 && X.naturalWidth !== 0;
1187
1187
  Q && K.excavation != null && (T = Ba(T, K.excavation));
1188
1188
  const U = window.devicePixelRatio || 1;
1189
1189
  S.height = S.width = r * U;
1190
1190
  const A = r / $ * U;
1191
1191
  P.scale(A, A), P.fillStyle = i, P.fillRect(0, 0, $, $), P.fillStyle = y, Ma ? P.fill(new Path2D(wa(T, H))) : T.forEach(function(n, d) {
1192
- n.forEach(function(g, B) {
1193
- g && P.fillRect(B + H, d + H, 1, 1);
1192
+ n.forEach(function(g, C) {
1193
+ g && P.fillRect(C + H, d + H, 1, 1);
1194
1194
  });
1195
1195
  }), Q && P.drawImage(X, K.x + H, K.y + H, K.w, K.h);
1196
1196
  }
@@ -1206,7 +1206,7 @@ function ln(f) {
1206
1206
  onLoad: () => {
1207
1207
  R(!0);
1208
1208
  },
1209
- ref: C
1209
+ ref: B
1210
1210
  })), /* @__PURE__ */ nr.createElement(nr.Fragment, null, /* @__PURE__ */ nr.createElement("canvas", ii({
1211
1211
  style: k,
1212
1212
  height: r,
@@ -1372,7 +1372,7 @@ function $e() {
1372
1372
  * var string = wordArray.toString(CryptoJS.enc.Utf8);
1373
1373
  */
1374
1374
  toString: function(S) {
1375
- return (S || C).stringify(this);
1375
+ return (S || B).stringify(this);
1376
1376
  },
1377
1377
  /**
1378
1378
  * Concatenates a word array to this word array.
@@ -1439,7 +1439,7 @@ function $e() {
1439
1439
  P.push(y());
1440
1440
  return new v.init(P, S);
1441
1441
  }
1442
- }), b = u.enc = {}, C = b.Hex = {
1442
+ }), b = u.enc = {}, B = b.Hex = {
1443
1443
  /**
1444
1444
  * Converts a word array to a hex string.
1445
1445
  *
@@ -1930,8 +1930,8 @@ function _r() {
1930
1930
  */
1931
1931
  toX32: function() {
1932
1932
  for (var o = this.words, c = o.length, v = [], b = 0; b < c; b++) {
1933
- var C = o[b];
1934
- v.push(C.high), v.push(C.low);
1933
+ var B = o[b];
1934
+ v.push(B.high), v.push(B.low);
1935
1935
  }
1936
1936
  return x.create(v, this.sigBytes);
1937
1937
  },
@@ -2000,8 +2000,8 @@ function Ra() {
2000
2000
  */
2001
2001
  stringify: function(u) {
2002
2002
  for (var o = u.words, c = u.sigBytes, v = [], b = 0; b < c; b += 2) {
2003
- var C = o[b >>> 2] >>> 16 - b % 4 * 8 & 65535;
2004
- v.push(String.fromCharCode(C));
2003
+ var B = o[b >>> 2] >>> 16 - b % 4 * 8 & 65535;
2004
+ v.push(String.fromCharCode(B));
2005
2005
  }
2006
2006
  return v.join("");
2007
2007
  },
@@ -2039,8 +2039,8 @@ function Ra() {
2039
2039
  */
2040
2040
  stringify: function(u) {
2041
2041
  for (var o = u.words, c = u.sigBytes, v = [], b = 0; b < c; b += 2) {
2042
- var C = x(o[b >>> 2] >>> 16 - b % 4 * 8 & 65535);
2043
- v.push(String.fromCharCode(C));
2042
+ var B = x(o[b >>> 2] >>> 16 - b % 4 * 8 & 65535);
2043
+ v.push(String.fromCharCode(B));
2044
2044
  }
2045
2045
  return v.join("");
2046
2046
  },
@@ -2095,8 +2095,8 @@ function Rt() {
2095
2095
  stringify: function(u) {
2096
2096
  var o = u.words, c = u.sigBytes, v = this._map;
2097
2097
  u.clamp();
2098
- for (var b = [], C = 0; C < c; C += 3)
2099
- for (var w = o[C >>> 2] >>> 24 - C % 4 * 8 & 255, R = o[C + 1 >>> 2] >>> 24 - (C + 1) % 4 * 8 & 255, k = o[C + 2 >>> 2] >>> 24 - (C + 2) % 4 * 8 & 255, q = w << 16 | R << 8 | k, S = 0; S < 4 && C + S * 0.75 < c; S++)
2098
+ for (var b = [], B = 0; B < c; B += 3)
2099
+ for (var w = o[B >>> 2] >>> 24 - B % 4 * 8 & 255, R = o[B + 1 >>> 2] >>> 24 - (B + 1) % 4 * 8 & 255, k = o[B + 2 >>> 2] >>> 24 - (B + 2) % 4 * 8 & 255, q = w << 16 | R << 8 | k, S = 0; S < 4 && B + S * 0.75 < c; S++)
2100
2100
  b.push(v.charAt(q >>> 6 * (3 - S) & 63));
2101
2101
  var P = v.charAt(64);
2102
2102
  if (P)
@@ -2124,9 +2124,9 @@ function Rt() {
2124
2124
  for (var b = 0; b < c.length; b++)
2125
2125
  v[c.charCodeAt(b)] = b;
2126
2126
  }
2127
- var C = c.charAt(64);
2128
- if (C) {
2129
- var w = u.indexOf(C);
2127
+ var B = c.charAt(64);
2128
+ if (B) {
2129
+ var w = u.indexOf(B);
2130
2130
  w !== -1 && (o = w);
2131
2131
  }
2132
2132
  return x(u, o, v);
@@ -2134,9 +2134,9 @@ function Rt() {
2134
2134
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
2135
2135
  };
2136
2136
  function x(u, o, c) {
2137
- for (var v = [], b = 0, C = 0; C < o; C++)
2138
- if (C % 4) {
2139
- var w = c[u.charCodeAt(C - 1)] << C % 4 * 2, R = c[u.charCodeAt(C)] >>> 6 - C % 4 * 2, k = w | R;
2137
+ for (var v = [], b = 0, B = 0; B < o; B++)
2138
+ if (B % 4) {
2139
+ var w = c[u.charCodeAt(B - 1)] << B % 4 * 2, R = c[u.charCodeAt(B)] >>> 6 - B % 4 * 2, k = w | R;
2140
2140
  v[b >>> 2] |= k << 24 - b % 4 * 8, b++;
2141
2141
  }
2142
2142
  return i.create(v, b);
@@ -2173,14 +2173,14 @@ function ka() {
2173
2173
  o === void 0 && (o = !0);
2174
2174
  var c = u.words, v = u.sigBytes, b = o ? this._safe_map : this._map;
2175
2175
  u.clamp();
2176
- for (var C = [], w = 0; w < v; w += 3)
2176
+ for (var B = [], w = 0; w < v; w += 3)
2177
2177
  for (var R = c[w >>> 2] >>> 24 - w % 4 * 8 & 255, k = c[w + 1 >>> 2] >>> 24 - (w + 1) % 4 * 8 & 255, q = c[w + 2 >>> 2] >>> 24 - (w + 2) % 4 * 8 & 255, S = R << 16 | k << 8 | q, P = 0; P < 4 && w + P * 0.75 < v; P++)
2178
- C.push(b.charAt(S >>> 6 * (3 - P) & 63));
2178
+ B.push(b.charAt(S >>> 6 * (3 - P) & 63));
2179
2179
  var T = b.charAt(64);
2180
2180
  if (T)
2181
- for (; C.length % 4; )
2182
- C.push(T);
2183
- return C.join("");
2181
+ for (; B.length % 4; )
2182
+ B.push(T);
2183
+ return B.join("");
2184
2184
  },
2185
2185
  /**
2186
2186
  * Converts a Base64url string to a word array.
@@ -2202,8 +2202,8 @@ function ka() {
2202
2202
  var c = u.length, v = o ? this._safe_map : this._map, b = this._reverseMap;
2203
2203
  if (!b) {
2204
2204
  b = this._reverseMap = [];
2205
- for (var C = 0; C < v.length; C++)
2206
- b[v.charCodeAt(C)] = C;
2205
+ for (var B = 0; B < v.length; B++)
2206
+ b[v.charCodeAt(B)] = B;
2207
2207
  }
2208
2208
  var w = v.charAt(64);
2209
2209
  if (w) {
@@ -2216,9 +2216,9 @@ function ka() {
2216
2216
  _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
2217
2217
  };
2218
2218
  function x(u, o, c) {
2219
- for (var v = [], b = 0, C = 0; C < o; C++)
2220
- if (C % 4) {
2221
- var w = c[u.charCodeAt(C - 1)] << C % 4 * 2, R = c[u.charCodeAt(C)] >>> 6 - C % 4 * 2, k = w | R;
2219
+ for (var v = [], b = 0, B = 0; B < o; B++)
2220
+ if (B % 4) {
2221
+ var w = c[u.charCodeAt(B - 1)] << B % 4 * 2, R = c[u.charCodeAt(B)] >>> 6 - B % 4 * 2, k = w | R;
2222
2222
  v[b >>> 2] |= k << 24 - b % 4 * 8, b++;
2223
2223
  }
2224
2224
  return i.create(v, b);
@@ -2253,8 +2253,8 @@ function kt() {
2253
2253
  var S = k + q, P = R[S];
2254
2254
  R[S] = (P << 8 | P >>> 24) & 16711935 | (P << 24 | P >>> 8) & 4278255360;
2255
2255
  }
2256
- var T = this._hash.words, H = R[k + 0], $ = R[k + 1], K = R[k + 2], X = R[k + 3], Q = R[k + 4], U = R[k + 5], A = R[k + 6], n = R[k + 7], d = R[k + 8], g = R[k + 9], B = R[k + 10], F = R[k + 11], z = R[k + 12], N = R[k + 13], D = R[k + 14], h = R[k + 15], E = T[0], j = T[1], Y = T[2], W = T[3];
2257
- E = v(E, j, Y, W, H, 7, o[0]), W = v(W, E, j, Y, $, 12, o[1]), Y = v(Y, W, E, j, K, 17, o[2]), j = v(j, Y, W, E, X, 22, o[3]), E = v(E, j, Y, W, Q, 7, o[4]), W = v(W, E, j, Y, U, 12, o[5]), Y = v(Y, W, E, j, A, 17, o[6]), j = v(j, Y, W, E, n, 22, o[7]), E = v(E, j, Y, W, d, 7, o[8]), W = v(W, E, j, Y, g, 12, o[9]), Y = v(Y, W, E, j, B, 17, o[10]), j = v(j, Y, W, E, F, 22, o[11]), E = v(E, j, Y, W, z, 7, o[12]), W = v(W, E, j, Y, N, 12, o[13]), Y = v(Y, W, E, j, D, 17, o[14]), j = v(j, Y, W, E, h, 22, o[15]), E = b(E, j, Y, W, $, 5, o[16]), W = b(W, E, j, Y, A, 9, o[17]), Y = b(Y, W, E, j, F, 14, o[18]), j = b(j, Y, W, E, H, 20, o[19]), E = b(E, j, Y, W, U, 5, o[20]), W = b(W, E, j, Y, B, 9, o[21]), Y = b(Y, W, E, j, h, 14, o[22]), j = b(j, Y, W, E, Q, 20, o[23]), E = b(E, j, Y, W, g, 5, o[24]), W = b(W, E, j, Y, D, 9, o[25]), Y = b(Y, W, E, j, X, 14, o[26]), j = b(j, Y, W, E, d, 20, o[27]), E = b(E, j, Y, W, N, 5, o[28]), W = b(W, E, j, Y, K, 9, o[29]), Y = b(Y, W, E, j, n, 14, o[30]), j = b(j, Y, W, E, z, 20, o[31]), E = C(E, j, Y, W, U, 4, o[32]), W = C(W, E, j, Y, d, 11, o[33]), Y = C(Y, W, E, j, F, 16, o[34]), j = C(j, Y, W, E, D, 23, o[35]), E = C(E, j, Y, W, $, 4, o[36]), W = C(W, E, j, Y, Q, 11, o[37]), Y = C(Y, W, E, j, n, 16, o[38]), j = C(j, Y, W, E, B, 23, o[39]), E = C(E, j, Y, W, N, 4, o[40]), W = C(W, E, j, Y, H, 11, o[41]), Y = C(Y, W, E, j, X, 16, o[42]), j = C(j, Y, W, E, A, 23, o[43]), E = C(E, j, Y, W, g, 4, o[44]), W = C(W, E, j, Y, z, 11, o[45]), Y = C(Y, W, E, j, h, 16, o[46]), j = C(j, Y, W, E, K, 23, o[47]), E = w(E, j, Y, W, H, 6, o[48]), W = w(W, E, j, Y, n, 10, o[49]), Y = w(Y, W, E, j, D, 15, o[50]), j = w(j, Y, W, E, U, 21, o[51]), E = w(E, j, Y, W, z, 6, o[52]), W = w(W, E, j, Y, X, 10, o[53]), Y = w(Y, W, E, j, B, 15, o[54]), j = w(j, Y, W, E, $, 21, o[55]), E = w(E, j, Y, W, d, 6, o[56]), W = w(W, E, j, Y, h, 10, o[57]), Y = w(Y, W, E, j, A, 15, o[58]), j = w(j, Y, W, E, N, 21, o[59]), E = w(E, j, Y, W, Q, 6, o[60]), W = w(W, E, j, Y, F, 10, o[61]), Y = w(Y, W, E, j, K, 15, o[62]), j = w(j, Y, W, E, g, 21, o[63]), T[0] = T[0] + E | 0, T[1] = T[1] + j | 0, T[2] = T[2] + Y | 0, T[3] = T[3] + W | 0;
2256
+ var T = this._hash.words, H = R[k + 0], $ = R[k + 1], K = R[k + 2], X = R[k + 3], Q = R[k + 4], U = R[k + 5], A = R[k + 6], n = R[k + 7], d = R[k + 8], g = R[k + 9], C = R[k + 10], F = R[k + 11], z = R[k + 12], N = R[k + 13], D = R[k + 14], h = R[k + 15], E = T[0], j = T[1], Y = T[2], W = T[3];
2257
+ E = v(E, j, Y, W, H, 7, o[0]), W = v(W, E, j, Y, $, 12, o[1]), Y = v(Y, W, E, j, K, 17, o[2]), j = v(j, Y, W, E, X, 22, o[3]), E = v(E, j, Y, W, Q, 7, o[4]), W = v(W, E, j, Y, U, 12, o[5]), Y = v(Y, W, E, j, A, 17, o[6]), j = v(j, Y, W, E, n, 22, o[7]), E = v(E, j, Y, W, d, 7, o[8]), W = v(W, E, j, Y, g, 12, o[9]), Y = v(Y, W, E, j, C, 17, o[10]), j = v(j, Y, W, E, F, 22, o[11]), E = v(E, j, Y, W, z, 7, o[12]), W = v(W, E, j, Y, N, 12, o[13]), Y = v(Y, W, E, j, D, 17, o[14]), j = v(j, Y, W, E, h, 22, o[15]), E = b(E, j, Y, W, $, 5, o[16]), W = b(W, E, j, Y, A, 9, o[17]), Y = b(Y, W, E, j, F, 14, o[18]), j = b(j, Y, W, E, H, 20, o[19]), E = b(E, j, Y, W, U, 5, o[20]), W = b(W, E, j, Y, C, 9, o[21]), Y = b(Y, W, E, j, h, 14, o[22]), j = b(j, Y, W, E, Q, 20, o[23]), E = b(E, j, Y, W, g, 5, o[24]), W = b(W, E, j, Y, D, 9, o[25]), Y = b(Y, W, E, j, X, 14, o[26]), j = b(j, Y, W, E, d, 20, o[27]), E = b(E, j, Y, W, N, 5, o[28]), W = b(W, E, j, Y, K, 9, o[29]), Y = b(Y, W, E, j, n, 14, o[30]), j = b(j, Y, W, E, z, 20, o[31]), E = B(E, j, Y, W, U, 4, o[32]), W = B(W, E, j, Y, d, 11, o[33]), Y = B(Y, W, E, j, F, 16, o[34]), j = B(j, Y, W, E, D, 23, o[35]), E = B(E, j, Y, W, $, 4, o[36]), W = B(W, E, j, Y, Q, 11, o[37]), Y = B(Y, W, E, j, n, 16, o[38]), j = B(j, Y, W, E, C, 23, o[39]), E = B(E, j, Y, W, N, 4, o[40]), W = B(W, E, j, Y, H, 11, o[41]), Y = B(Y, W, E, j, X, 16, o[42]), j = B(j, Y, W, E, A, 23, o[43]), E = B(E, j, Y, W, g, 4, o[44]), W = B(W, E, j, Y, z, 11, o[45]), Y = B(Y, W, E, j, h, 16, o[46]), j = B(j, Y, W, E, K, 23, o[47]), E = w(E, j, Y, W, H, 6, o[48]), W = w(W, E, j, Y, n, 10, o[49]), Y = w(Y, W, E, j, D, 15, o[50]), j = w(j, Y, W, E, U, 21, o[51]), E = w(E, j, Y, W, z, 6, o[52]), W = w(W, E, j, Y, X, 10, o[53]), Y = w(Y, W, E, j, C, 15, o[54]), j = w(j, Y, W, E, $, 21, o[55]), E = w(E, j, Y, W, d, 6, o[56]), W = w(W, E, j, Y, h, 10, o[57]), Y = w(Y, W, E, j, A, 15, o[58]), j = w(j, Y, W, E, N, 21, o[59]), E = w(E, j, Y, W, Q, 6, o[60]), W = w(W, E, j, Y, F, 10, o[61]), Y = w(Y, W, E, j, K, 15, o[62]), j = w(j, Y, W, E, g, 21, o[63]), T[0] = T[0] + E | 0, T[1] = T[1] + j | 0, T[2] = T[2] + Y | 0, T[3] = T[3] + W | 0;
2258
2258
  },
2259
2259
  _doFinalize: function() {
2260
2260
  var R = this._data, k = R.words, q = this._nDataBytes * 8, S = R.sigBytes * 8;
@@ -2280,7 +2280,7 @@ function kt() {
2280
2280
  var $ = R + (k & S | q & ~S) + P + H;
2281
2281
  return ($ << T | $ >>> 32 - T) + k;
2282
2282
  }
2283
- function C(R, k, q, S, P, T, H) {
2283
+ function B(R, k, q, S, P, T, H) {
2284
2284
  var $ = R + (k ^ q ^ S) + P + H;
2285
2285
  return ($ << T | $ >>> 32 - T) + k;
2286
2286
  }
@@ -2311,21 +2311,21 @@ function bn() {
2311
2311
  ]);
2312
2312
  },
2313
2313
  _doProcessBlock: function(c, v) {
2314
- for (var b = this._hash.words, C = b[0], w = b[1], R = b[2], k = b[3], q = b[4], S = 0; S < 80; S++) {
2314
+ for (var b = this._hash.words, B = b[0], w = b[1], R = b[2], k = b[3], q = b[4], S = 0; S < 80; S++) {
2315
2315
  if (S < 16)
2316
2316
  u[S] = c[v + S] | 0;
2317
2317
  else {
2318
2318
  var P = u[S - 3] ^ u[S - 8] ^ u[S - 14] ^ u[S - 16];
2319
2319
  u[S] = P << 1 | P >>> 31;
2320
2320
  }
2321
- var T = (C << 5 | C >>> 27) + q + u[S];
2322
- S < 20 ? T += (w & R | ~w & k) + 1518500249 : S < 40 ? T += (w ^ R ^ k) + 1859775393 : S < 60 ? T += (w & R | w & k | R & k) - 1894007588 : T += (w ^ R ^ k) - 899497514, q = k, k = R, R = w << 30 | w >>> 2, w = C, C = T;
2321
+ var T = (B << 5 | B >>> 27) + q + u[S];
2322
+ S < 20 ? T += (w & R | ~w & k) + 1518500249 : S < 40 ? T += (w ^ R ^ k) + 1859775393 : S < 60 ? T += (w & R | w & k | R & k) - 1894007588 : T += (w ^ R ^ k) - 899497514, q = k, k = R, R = w << 30 | w >>> 2, w = B, B = T;
2323
2323
  }
2324
- b[0] = b[0] + C | 0, b[1] = b[1] + w | 0, b[2] = b[2] + R | 0, b[3] = b[3] + k | 0, b[4] = b[4] + q | 0;
2324
+ b[0] = b[0] + B | 0, b[1] = b[1] + w | 0, b[2] = b[2] + R | 0, b[3] = b[3] + k | 0, b[4] = b[4] + q | 0;
2325
2325
  },
2326
2326
  _doFinalize: function() {
2327
- var c = this._data, v = c.words, b = this._nDataBytes * 8, C = c.sigBytes * 8;
2328
- return v[C >>> 5] |= 128 << 24 - C % 32, v[(C + 64 >>> 9 << 4) + 14] = Math.floor(b / 4294967296), v[(C + 64 >>> 9 << 4) + 15] = b, c.sigBytes = v.length * 4, this._process(), this._hash;
2327
+ var c = this._data, v = c.words, b = this._nDataBytes * 8, B = c.sigBytes * 8;
2328
+ return v[B >>> 5] |= 128 << 24 - B % 32, v[(B + 64 >>> 9 << 4) + 14] = Math.floor(b / 4294967296), v[(B + 64 >>> 9 << 4) + 15] = b, c.sigBytes = v.length * 4, this._process(), this._hash;
2329
2329
  },
2330
2330
  clone: function() {
2331
2331
  var c = y.clone.call(this);
@@ -2346,7 +2346,7 @@ function Nf() {
2346
2346
  return function(r) {
2347
2347
  var a = t, i = a.lib, y = i.WordArray, x = i.Hasher, u = a.algo, o = [], c = [];
2348
2348
  (function() {
2349
- function C(q) {
2349
+ function B(q) {
2350
2350
  for (var S = r.sqrt(q), P = 2; P <= S; P++)
2351
2351
  if (!(q % P))
2352
2352
  return !1;
@@ -2356,32 +2356,32 @@ function Nf() {
2356
2356
  return (q - (q | 0)) * 4294967296 | 0;
2357
2357
  }
2358
2358
  for (var R = 2, k = 0; k < 64; )
2359
- C(R) && (k < 8 && (o[k] = w(r.pow(R, 1 / 2))), c[k] = w(r.pow(R, 1 / 3)), k++), R++;
2359
+ B(R) && (k < 8 && (o[k] = w(r.pow(R, 1 / 2))), c[k] = w(r.pow(R, 1 / 3)), k++), R++;
2360
2360
  })();
2361
2361
  var v = [], b = u.SHA256 = x.extend({
2362
2362
  _doReset: function() {
2363
2363
  this._hash = new y.init(o.slice(0));
2364
2364
  },
2365
- _doProcessBlock: function(C, w) {
2365
+ _doProcessBlock: function(B, w) {
2366
2366
  for (var R = this._hash.words, k = R[0], q = R[1], S = R[2], P = R[3], T = R[4], H = R[5], $ = R[6], K = R[7], X = 0; X < 64; X++) {
2367
2367
  if (X < 16)
2368
- v[X] = C[w + X] | 0;
2368
+ v[X] = B[w + X] | 0;
2369
2369
  else {
2370
2370
  var Q = v[X - 15], U = (Q << 25 | Q >>> 7) ^ (Q << 14 | Q >>> 18) ^ Q >>> 3, A = v[X - 2], n = (A << 15 | A >>> 17) ^ (A << 13 | A >>> 19) ^ A >>> 10;
2371
2371
  v[X] = U + v[X - 7] + n + v[X - 16];
2372
2372
  }
2373
- var d = T & H ^ ~T & $, g = k & q ^ k & S ^ q & S, B = (k << 30 | k >>> 2) ^ (k << 19 | k >>> 13) ^ (k << 10 | k >>> 22), F = (T << 26 | T >>> 6) ^ (T << 21 | T >>> 11) ^ (T << 7 | T >>> 25), z = K + F + d + c[X] + v[X], N = B + g;
2373
+ var d = T & H ^ ~T & $, g = k & q ^ k & S ^ q & S, C = (k << 30 | k >>> 2) ^ (k << 19 | k >>> 13) ^ (k << 10 | k >>> 22), F = (T << 26 | T >>> 6) ^ (T << 21 | T >>> 11) ^ (T << 7 | T >>> 25), z = K + F + d + c[X] + v[X], N = C + g;
2374
2374
  K = $, $ = H, H = T, T = P + z | 0, P = S, S = q, q = k, k = z + N | 0;
2375
2375
  }
2376
2376
  R[0] = R[0] + k | 0, R[1] = R[1] + q | 0, R[2] = R[2] + S | 0, R[3] = R[3] + P | 0, R[4] = R[4] + T | 0, R[5] = R[5] + H | 0, R[6] = R[6] + $ | 0, R[7] = R[7] + K | 0;
2377
2377
  },
2378
2378
  _doFinalize: function() {
2379
- var C = this._data, w = C.words, R = this._nDataBytes * 8, k = C.sigBytes * 8;
2380
- return w[k >>> 5] |= 128 << 24 - k % 32, w[(k + 64 >>> 9 << 4) + 14] = r.floor(R / 4294967296), w[(k + 64 >>> 9 << 4) + 15] = R, C.sigBytes = w.length * 4, this._process(), this._hash;
2379
+ var B = this._data, w = B.words, R = this._nDataBytes * 8, k = B.sigBytes * 8;
2380
+ return w[k >>> 5] |= 128 << 24 - k % 32, w[(k + 64 >>> 9 << 4) + 14] = r.floor(R / 4294967296), w[(k + 64 >>> 9 << 4) + 15] = R, B.sigBytes = w.length * 4, this._process(), this._hash;
2381
2381
  },
2382
2382
  clone: function() {
2383
- var C = x.clone.call(this);
2384
- return C._hash = this._hash.clone(), C;
2383
+ var B = x.clone.call(this);
2384
+ return B._hash = this._hash.clone(), B;
2385
2385
  }
2386
2386
  });
2387
2387
  a.SHA256 = x._createHelper(b), a.HmacSHA256 = x._createHmacHelper(b);
@@ -2516,7 +2516,7 @@ function pn() {
2516
2516
  for (var w = 0; w < 80; w++)
2517
2517
  b[w] = c();
2518
2518
  })();
2519
- var C = o.SHA512 = i.extend({
2519
+ var B = o.SHA512 = i.extend({
2520
2520
  _doReset: function() {
2521
2521
  this._hash = new u.init([
2522
2522
  new x.init(1779033703, 4089235720),
@@ -2530,7 +2530,7 @@ function pn() {
2530
2530
  ]);
2531
2531
  },
2532
2532
  _doProcessBlock: function(w, R) {
2533
- for (var k = this._hash.words, q = k[0], S = k[1], P = k[2], T = k[3], H = k[4], $ = k[5], K = k[6], X = k[7], Q = q.high, U = q.low, A = S.high, n = S.low, d = P.high, g = P.low, B = T.high, F = T.low, z = H.high, N = H.low, D = $.high, h = $.low, E = K.high, j = K.low, Y = X.high, W = X.low, re = Q, ce = U, we = A, Ae = n, Me = d, Fe = g, Z0 = B, We = F, Oe = z, _0 = N, Ge = D, Ye = h, $0 = E, Qe = j, ze = Y, O0 = W, qe = 0; qe < 80; qe++) {
2533
+ for (var k = this._hash.words, q = k[0], S = k[1], P = k[2], T = k[3], H = k[4], $ = k[5], K = k[6], X = k[7], Q = q.high, U = q.low, A = S.high, n = S.low, d = P.high, g = P.low, C = T.high, F = T.low, z = H.high, N = H.low, D = $.high, h = $.low, E = K.high, j = K.low, Y = X.high, W = X.low, re = Q, ce = U, we = A, Ae = n, Me = d, Fe = g, Z0 = C, We = F, Oe = z, _0 = N, Ge = D, Ye = h, $0 = E, Qe = j, ze = Y, O0 = W, qe = 0; qe < 80; qe++) {
2534
2534
  var Se, F0, Je = b[qe];
2535
2535
  if (qe < 16)
2536
2536
  F0 = Je.high = w[R + qe * 2] | 0, Se = Je.low = w[R + qe * 2 + 1] | 0;
@@ -2541,7 +2541,7 @@ function pn() {
2541
2541
  var N0 = Oe & Ge ^ ~Oe & $0, o0 = _0 & Ye ^ ~_0 & Qe, x0 = re & we ^ re & Me ^ we & Me, D0 = ce & Ae ^ ce & Fe ^ Ae & Fe, t0 = (re >>> 28 | ce << 4) ^ (re << 30 | ce >>> 2) ^ (re << 25 | ce >>> 7), Ve = (ce >>> 28 | re << 4) ^ (ce << 30 | re >>> 2) ^ (ce << 25 | re >>> 7), tt = (Oe >>> 14 | _0 << 18) ^ (Oe >>> 18 | _0 << 14) ^ (Oe << 23 | _0 >>> 9), c0 = (_0 >>> 14 | Oe << 18) ^ (_0 >>> 18 | Oe << 14) ^ (_0 << 23 | Oe >>> 9), d0 = v[qe], yt = d0.high, Ie = d0.low, Re = O0 + c0, l = ze + tt + (Re >>> 0 < O0 >>> 0 ? 1 : 0), Re = Re + o0, l = l + N0 + (Re >>> 0 < o0 >>> 0 ? 1 : 0), Re = Re + Ie, l = l + yt + (Re >>> 0 < Ie >>> 0 ? 1 : 0), Re = Re + Se, l = l + F0 + (Re >>> 0 < Se >>> 0 ? 1 : 0), _ = Ve + D0, m = t0 + x0 + (_ >>> 0 < Ve >>> 0 ? 1 : 0);
2542
2542
  ze = $0, O0 = Qe, $0 = Ge, Qe = Ye, Ge = Oe, Ye = _0, _0 = We + Re | 0, Oe = Z0 + l + (_0 >>> 0 < We >>> 0 ? 1 : 0) | 0, Z0 = Me, We = Fe, Me = we, Fe = Ae, we = re, Ae = ce, ce = Re + _ | 0, re = l + m + (ce >>> 0 < Re >>> 0 ? 1 : 0) | 0;
2543
2543
  }
2544
- U = q.low = U + ce, q.high = Q + re + (U >>> 0 < ce >>> 0 ? 1 : 0), n = S.low = n + Ae, S.high = A + we + (n >>> 0 < Ae >>> 0 ? 1 : 0), g = P.low = g + Fe, P.high = d + Me + (g >>> 0 < Fe >>> 0 ? 1 : 0), F = T.low = F + We, T.high = B + Z0 + (F >>> 0 < We >>> 0 ? 1 : 0), N = H.low = N + _0, H.high = z + Oe + (N >>> 0 < _0 >>> 0 ? 1 : 0), h = $.low = h + Ye, $.high = D + Ge + (h >>> 0 < Ye >>> 0 ? 1 : 0), j = K.low = j + Qe, K.high = E + $0 + (j >>> 0 < Qe >>> 0 ? 1 : 0), W = X.low = W + O0, X.high = Y + ze + (W >>> 0 < O0 >>> 0 ? 1 : 0);
2544
+ U = q.low = U + ce, q.high = Q + re + (U >>> 0 < ce >>> 0 ? 1 : 0), n = S.low = n + Ae, S.high = A + we + (n >>> 0 < Ae >>> 0 ? 1 : 0), g = P.low = g + Fe, P.high = d + Me + (g >>> 0 < Fe >>> 0 ? 1 : 0), F = T.low = F + We, T.high = C + Z0 + (F >>> 0 < We >>> 0 ? 1 : 0), N = H.low = N + _0, H.high = z + Oe + (N >>> 0 < _0 >>> 0 ? 1 : 0), h = $.low = h + Ye, $.high = D + Ge + (h >>> 0 < Ye >>> 0 ? 1 : 0), j = K.low = j + Qe, K.high = E + $0 + (j >>> 0 < Qe >>> 0 ? 1 : 0), W = X.low = W + O0, X.high = Y + ze + (W >>> 0 < O0 >>> 0 ? 1 : 0);
2545
2545
  },
2546
2546
  _doFinalize: function() {
2547
2547
  var w = this._data, R = w.words, k = this._nDataBytes * 8, q = w.sigBytes * 8;
@@ -2555,7 +2555,7 @@ function pn() {
2555
2555
  },
2556
2556
  blockSize: 1024 / 32
2557
2557
  });
2558
- r.SHA512 = i._createHelper(C), r.HmacSHA512 = i._createHmacHelper(C);
2558
+ r.SHA512 = i._createHelper(B), r.HmacSHA512 = i._createHmacHelper(B);
2559
2559
  }(), t.SHA512;
2560
2560
  });
2561
2561
  }(Wr)), Wr.exports;
@@ -2597,7 +2597,7 @@ function Ta() {
2597
2597
  f.exports = r($e(), _r());
2598
2598
  })(Pe, function(t) {
2599
2599
  return function(r) {
2600
- var a = t, i = a.lib, y = i.WordArray, x = i.Hasher, u = a.x64, o = u.Word, c = a.algo, v = [], b = [], C = [];
2600
+ var a = t, i = a.lib, y = i.WordArray, x = i.Hasher, u = a.x64, o = u.Word, c = a.algo, v = [], b = [], B = [];
2601
2601
  (function() {
2602
2602
  for (var k = 1, q = 0, S = 0; S < 24; S++) {
2603
2603
  v[k + 5 * q] = (S + 1) * (S + 2) / 2 % 64;
@@ -2615,7 +2615,7 @@ function Ta() {
2615
2615
  }
2616
2616
  H & 128 ? H = H << 1 ^ 113 : H <<= 1;
2617
2617
  }
2618
- C[$] = o.create(K, X);
2618
+ B[$] = o.create(K, X);
2619
2619
  }
2620
2620
  })();
2621
2621
  var w = [];
@@ -2657,7 +2657,7 @@ function Ta() {
2657
2657
  d.high = U, d.low = A;
2658
2658
  }
2659
2659
  for (var Q = 0; Q < 5; Q++)
2660
- for (var g = w[(Q + 4) % 5], B = w[(Q + 1) % 5], F = B.high, z = B.low, U = g.high ^ (F << 1 | z >>> 31), A = g.low ^ (z << 1 | F >>> 31), n = 0; n < 5; n++) {
2660
+ for (var g = w[(Q + 4) % 5], C = w[(Q + 1) % 5], F = C.high, z = C.low, U = g.high ^ (F << 1 | z >>> 31), A = g.low ^ (z << 1 | F >>> 31), n = 0; n < 5; n++) {
2661
2661
  var K = S[Q + 5 * n];
2662
2662
  K.high ^= U, K.low ^= A;
2663
2663
  }
@@ -2674,7 +2674,7 @@ function Ta() {
2674
2674
  var N = Q + 5 * n, K = S[N], re = w[N], ce = w[(Q + 1) % 5 + 5 * n], we = w[(Q + 2) % 5 + 5 * n];
2675
2675
  K.high = re.high ^ ~ce.high & we.high, K.low = re.low ^ ~ce.low & we.low;
2676
2676
  }
2677
- var K = S[0], Ae = C[X];
2677
+ var K = S[0], Ae = B[X];
2678
2678
  K.high ^= Ae.high, K.low ^= Ae.low;
2679
2679
  }
2680
2680
  },
@@ -3041,7 +3041,7 @@ function Oa() {
3041
3041
  13,
3042
3042
  11,
3043
3043
  11
3044
- ]), C = y.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), w = y.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), R = u.RIPEMD160 = x.extend({
3044
+ ]), B = y.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), w = y.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), R = u.RIPEMD160 = x.extend({
3045
3045
  _doReset: function() {
3046
3046
  this._hash = y.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
3047
3047
  },
@@ -3050,10 +3050,10 @@ function Oa() {
3050
3050
  var Q = K + X, U = $[Q];
3051
3051
  $[Q] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360;
3052
3052
  }
3053
- var A = this._hash.words, n = C.words, d = w.words, g = o.words, B = c.words, F = v.words, z = b.words, N, D, h, E, j, Y, W, re, ce, we;
3053
+ var A = this._hash.words, n = B.words, d = w.words, g = o.words, C = c.words, F = v.words, z = b.words, N, D, h, E, j, Y, W, re, ce, we;
3054
3054
  Y = N = A[0], W = D = A[1], re = h = A[2], ce = E = A[3], we = j = A[4];
3055
3055
  for (var Ae, X = 0; X < 80; X += 1)
3056
- Ae = N + $[K + g[X]] | 0, X < 16 ? Ae += k(D, h, E) + n[0] : X < 32 ? Ae += q(D, h, E) + n[1] : X < 48 ? Ae += S(D, h, E) + n[2] : X < 64 ? Ae += P(D, h, E) + n[3] : Ae += T(D, h, E) + n[4], Ae = Ae | 0, Ae = H(Ae, F[X]), Ae = Ae + j | 0, N = j, j = E, E = H(h, 10), h = D, D = Ae, Ae = Y + $[K + B[X]] | 0, X < 16 ? Ae += T(W, re, ce) + d[0] : X < 32 ? Ae += P(W, re, ce) + d[1] : X < 48 ? Ae += S(W, re, ce) + d[2] : X < 64 ? Ae += q(W, re, ce) + d[3] : Ae += k(W, re, ce) + d[4], Ae = Ae | 0, Ae = H(Ae, z[X]), Ae = Ae + we | 0, Y = we, we = ce, ce = H(re, 10), re = W, W = Ae;
3056
+ Ae = N + $[K + g[X]] | 0, X < 16 ? Ae += k(D, h, E) + n[0] : X < 32 ? Ae += q(D, h, E) + n[1] : X < 48 ? Ae += S(D, h, E) + n[2] : X < 64 ? Ae += P(D, h, E) + n[3] : Ae += T(D, h, E) + n[4], Ae = Ae | 0, Ae = H(Ae, F[X]), Ae = Ae + j | 0, N = j, j = E, E = H(h, 10), h = D, D = Ae, Ae = Y + $[K + C[X]] | 0, X < 16 ? Ae += T(W, re, ce) + d[0] : X < 32 ? Ae += P(W, re, ce) + d[1] : X < 48 ? Ae += S(W, re, ce) + d[2] : X < 64 ? Ae += q(W, re, ce) + d[3] : Ae += k(W, re, ce) + d[4], Ae = Ae | 0, Ae = H(Ae, z[X]), Ae = Ae + we | 0, Y = we, we = ce, ce = H(re, 10), re = W, W = Ae;
3057
3057
  Ae = A[1] + h + ce | 0, A[1] = A[2] + E + we | 0, A[2] = A[3] + j + Y | 0, A[3] = A[4] + N + W | 0, A[4] = A[0] + D + re | 0, A[0] = Ae;
3058
3058
  },
3059
3059
  _doFinalize: function() {
@@ -3116,9 +3116,9 @@ function Lf() {
3116
3116
  o = this._hasher = new o.init(), typeof c == "string" && (c = x.parse(c));
3117
3117
  var v = o.blockSize, b = v * 4;
3118
3118
  c.sigBytes > b && (c = o.finalize(c)), c.clamp();
3119
- for (var C = this._oKey = c.clone(), w = this._iKey = c.clone(), R = C.words, k = w.words, q = 0; q < v; q++)
3119
+ for (var B = this._oKey = c.clone(), w = this._iKey = c.clone(), R = B.words, k = w.words, q = 0; q < v; q++)
3120
3120
  R[q] ^= 1549556828, k[q] ^= 909522486;
3121
- C.sigBytes = w.sigBytes = b, this.reset();
3121
+ B.sigBytes = w.sigBytes = b, this.reset();
3122
3122
  },
3123
3123
  /**
3124
3124
  * Resets this HMAC to its initial state.
@@ -3218,7 +3218,7 @@ function za() {
3218
3218
  * var key = kdf.compute(password, salt);
3219
3219
  */
3220
3220
  compute: function(v, b) {
3221
- for (var C = this.cfg, w = o.create(C.hasher, v), R = y.create(), k = y.create([1]), q = R.words, S = k.words, P = C.keySize, T = C.iterations; q.length < P; ) {
3221
+ for (var B = this.cfg, w = o.create(B.hasher, v), R = y.create(), k = y.create([1]), q = R.words, S = k.words, P = B.keySize, T = B.iterations; q.length < P; ) {
3222
3222
  var H = w.update(b).finalize(k);
3223
3223
  w.reset();
3224
3224
  for (var $ = H.words, K = $.length, X = H, Q = 1; Q < T; Q++) {
@@ -3231,8 +3231,8 @@ function za() {
3231
3231
  return R.sigBytes = P * 4, R;
3232
3232
  }
3233
3233
  });
3234
- r.PBKDF2 = function(v, b, C) {
3235
- return c.create(C).compute(v, b);
3234
+ r.PBKDF2 = function(v, b, B) {
3235
+ return c.create(B).compute(v, b);
3236
3236
  };
3237
3237
  }(), t.PBKDF2;
3238
3238
  });
@@ -3285,7 +3285,7 @@ function At() {
3285
3285
  * var key = kdf.compute(password, salt);
3286
3286
  */
3287
3287
  compute: function(c, v) {
3288
- for (var b, C = this.cfg, w = C.hasher.create(), R = y.create(), k = R.words, q = C.keySize, S = C.iterations; k.length < q; ) {
3288
+ for (var b, B = this.cfg, w = B.hasher.create(), R = y.create(), k = R.words, q = B.keySize, S = B.iterations; k.length < q; ) {
3289
3289
  b && w.update(b), b = w.update(c).finalize(v), w.reset();
3290
3290
  for (var P = 1; P < S; P++)
3291
3291
  b = w.finalize(b), w.reset();
@@ -3310,7 +3310,7 @@ function C0() {
3310
3310
  t.lib.Cipher || function(r) {
3311
3311
  var a = t, i = a.lib, y = i.Base, x = i.WordArray, u = i.BufferedBlockAlgorithm, o = a.enc;
3312
3312
  o.Utf8;
3313
- var c = o.Base64, v = a.algo, b = v.EvpKDF, C = i.Cipher = u.extend({
3313
+ var c = o.Base64, v = a.algo, b = v.EvpKDF, B = i.Cipher = u.extend({
3314
3314
  /**
3315
3315
  * Configuration options.
3316
3316
  *
@@ -3442,7 +3442,7 @@ function C0() {
3442
3442
  };
3443
3443
  }()
3444
3444
  });
3445
- i.StreamCipher = C.extend({
3445
+ i.StreamCipher = B.extend({
3446
3446
  _doFinalize: function() {
3447
3447
  var U = this._process(!0);
3448
3448
  return U;
@@ -3507,8 +3507,8 @@ function C0() {
3507
3507
  * mode.processBlock(data.words, offset);
3508
3508
  */
3509
3509
  processBlock: function(n, d) {
3510
- var g = this._cipher, B = g.blockSize;
3511
- A.call(this, n, d, B), g.encryptBlock(n, d), this._prevBlock = n.slice(d, d + B);
3510
+ var g = this._cipher, C = g.blockSize;
3511
+ A.call(this, n, d, C), g.encryptBlock(n, d), this._prevBlock = n.slice(d, d + C);
3512
3512
  }
3513
3513
  }), U.Decryptor = U.extend({
3514
3514
  /**
@@ -3522,15 +3522,15 @@ function C0() {
3522
3522
  * mode.processBlock(data.words, offset);
3523
3523
  */
3524
3524
  processBlock: function(n, d) {
3525
- var g = this._cipher, B = g.blockSize, F = n.slice(d, d + B);
3526
- g.decryptBlock(n, d), A.call(this, n, d, B), this._prevBlock = F;
3525
+ var g = this._cipher, C = g.blockSize, F = n.slice(d, d + C);
3526
+ g.decryptBlock(n, d), A.call(this, n, d, C), this._prevBlock = F;
3527
3527
  }
3528
3528
  });
3529
3529
  function A(n, d, g) {
3530
- var B, F = this._iv;
3531
- F ? (B = F, this._iv = r) : B = this._prevBlock;
3530
+ var C, F = this._iv;
3531
+ F ? (C = F, this._iv = r) : C = this._prevBlock;
3532
3532
  for (var z = 0; z < g; z++)
3533
- n[d + z] ^= B[z];
3533
+ n[d + z] ^= C[z];
3534
3534
  }
3535
3535
  return U;
3536
3536
  }(), q = a.pad = {}, S = q.Pkcs7 = {
@@ -3547,9 +3547,9 @@ function C0() {
3547
3547
  * CryptoJS.pad.Pkcs7.pad(wordArray, 4);
3548
3548
  */
3549
3549
  pad: function(U, A) {
3550
- for (var n = A * 4, d = n - U.sigBytes % n, g = d << 24 | d << 16 | d << 8 | d, B = [], F = 0; F < d; F += 4)
3551
- B.push(g);
3552
- var z = x.create(B, d);
3550
+ for (var n = A * 4, d = n - U.sigBytes % n, g = d << 24 | d << 16 | d << 8 | d, C = [], F = 0; F < d; F += 4)
3551
+ C.push(g);
3552
+ var z = x.create(C, d);
3553
3553
  U.concat(z);
3554
3554
  },
3555
3555
  /**
@@ -3568,20 +3568,20 @@ function C0() {
3568
3568
  U.sigBytes -= A;
3569
3569
  }
3570
3570
  };
3571
- i.BlockCipher = C.extend({
3571
+ i.BlockCipher = B.extend({
3572
3572
  /**
3573
3573
  * Configuration options.
3574
3574
  *
3575
3575
  * @property {Mode} mode The block mode to use. Default: CBC
3576
3576
  * @property {Padding} padding The padding strategy to use. Default: Pkcs7
3577
3577
  */
3578
- cfg: C.cfg.extend({
3578
+ cfg: B.cfg.extend({
3579
3579
  mode: k,
3580
3580
  padding: S
3581
3581
  }),
3582
3582
  reset: function() {
3583
3583
  var U;
3584
- C.reset.call(this);
3584
+ B.reset.call(this);
3585
3585
  var A = this.cfg, n = A.iv, d = A.mode;
3586
3586
  this._xformMode == this._ENC_XFORM_MODE ? U = d.createEncryptor : (U = d.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == U ? this._mode.init(this, n && n.words) : (this._mode = U.call(d, this, n && n.words), this._mode.__creator = U);
3587
3587
  },
@@ -3699,9 +3699,9 @@ function C0() {
3699
3699
  */
3700
3700
  encrypt: function(U, A, n, d) {
3701
3701
  d = this.cfg.extend(d);
3702
- var g = U.createEncryptor(n, d), B = g.finalize(A), F = g.cfg;
3702
+ var g = U.createEncryptor(n, d), C = g.finalize(A), F = g.cfg;
3703
3703
  return P.create({
3704
- ciphertext: B,
3704
+ ciphertext: C,
3705
3705
  key: n,
3706
3706
  iv: F.iv,
3707
3707
  algorithm: U,
@@ -3771,11 +3771,11 @@ function C0() {
3771
3771
  */
3772
3772
  execute: function(U, A, n, d, g) {
3773
3773
  if (d || (d = x.random(64 / 8)), g)
3774
- var B = b.create({ keySize: A + n, hasher: g }).compute(U, d);
3774
+ var C = b.create({ keySize: A + n, hasher: g }).compute(U, d);
3775
3775
  else
3776
- var B = b.create({ keySize: A + n }).compute(U, d);
3777
- var F = x.create(B.words.slice(A), n * 4);
3778
- return B.sigBytes = A * 4, P.create({ key: B, iv: F, salt: d });
3776
+ var C = b.create({ keySize: A + n }).compute(U, d);
3777
+ var F = x.create(C.words.slice(A), n * 4);
3778
+ return C.sigBytes = A * 4, P.create({ key: C, iv: F, salt: d });
3779
3779
  }
3780
3780
  }, Q = i.PasswordBasedCipher = $.extend({
3781
3781
  /**
@@ -3807,8 +3807,8 @@ function C0() {
3807
3807
  d = this.cfg.extend(d);
3808
3808
  var g = d.kdf.execute(n, U.keySize, U.ivSize, d.salt, d.hasher);
3809
3809
  d.iv = g.iv;
3810
- var B = $.encrypt.call(this, U, A, g.key, d);
3811
- return B.mixIn(g), B;
3810
+ var C = $.encrypt.call(this, U, A, g.key, d);
3811
+ return C.mixIn(g), C;
3812
3812
  },
3813
3813
  /**
3814
3814
  * Decrypts serialized ciphertext using a password.
@@ -3831,8 +3831,8 @@ function C0() {
3831
3831
  d = this.cfg.extend(d), A = this._parse(A, d.format);
3832
3832
  var g = d.kdf.execute(n, U.keySize, U.ivSize, A.salt, d.hasher);
3833
3833
  d.iv = g.iv;
3834
- var B = $.decrypt.call(this, U, A, g.key, d);
3835
- return B;
3834
+ var C = $.decrypt.call(this, U, A, g.key, d);
3835
+ return C;
3836
3836
  }
3837
3837
  });
3838
3838
  }();
@@ -3919,10 +3919,10 @@ function La() {
3919
3919
  processBlock: function(x, u) {
3920
3920
  var o = this._cipher, c = o.blockSize, v = this._iv, b = this._counter;
3921
3921
  v && (b = this._counter = v.slice(0), this._iv = void 0), i(b);
3922
- var C = b.slice(0);
3923
- o.encryptBlock(C, 0);
3922
+ var B = b.slice(0);
3923
+ o.encryptBlock(B, 0);
3924
3924
  for (var w = 0; w < c; w++)
3925
- x[u + w] ^= C[w];
3925
+ x[u + w] ^= B[w];
3926
3926
  }
3927
3927
  });
3928
3928
  return r.Decryptor = y, r;
@@ -4117,7 +4117,7 @@ function Xa() {
4117
4117
  f.exports = r($e(), Rt(), kt(), At(), C0());
4118
4118
  })(Pe, function(t) {
4119
4119
  return function() {
4120
- var r = t, a = r.lib, i = a.BlockCipher, y = r.algo, x = [], u = [], o = [], c = [], v = [], b = [], C = [], w = [], R = [], k = [];
4120
+ var r = t, a = r.lib, i = a.BlockCipher, y = r.algo, x = [], u = [], o = [], c = [], v = [], b = [], B = [], w = [], R = [], k = [];
4121
4121
  (function() {
4122
4122
  for (var P = [], T = 0; T < 256; T++)
4123
4123
  T < 128 ? P[T] = T << 1 : P[T] = T << 1 ^ 283;
@@ -4127,7 +4127,7 @@ function Xa() {
4127
4127
  var X = P[H], Q = P[X], U = P[Q], A = P[K] * 257 ^ K * 16843008;
4128
4128
  o[H] = A << 24 | A >>> 8, c[H] = A << 16 | A >>> 16, v[H] = A << 8 | A >>> 24, b[H] = A;
4129
4129
  var A = U * 16843009 ^ Q * 65537 ^ X * 257 ^ H * 16843008;
4130
- C[K] = A << 24 | A >>> 8, w[K] = A << 16 | A >>> 16, R[K] = A << 8 | A >>> 24, k[K] = A, H ? (H = X ^ P[P[P[U ^ X]]], $ ^= P[P[$]]) : H = $ = 1;
4130
+ B[K] = A << 24 | A >>> 8, w[K] = A << 16 | A >>> 16, R[K] = A << 8 | A >>> 24, k[K] = A, H ? (H = X ^ P[P[P[U ^ X]]], $ ^= P[P[$]]) : H = $ = 1;
4131
4131
  }
4132
4132
  })();
4133
4133
  var q = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], S = y.AES = i.extend({
@@ -4142,7 +4142,7 @@ function Xa() {
4142
4142
  var P = Q[U];
4143
4143
  else
4144
4144
  var P = Q[U - 4];
4145
- n < 4 || U <= 4 ? A[n] = P : A[n] = C[x[P >>> 24]] ^ w[x[P >>> 16 & 255]] ^ R[x[P >>> 8 & 255]] ^ k[x[P & 255]];
4145
+ n < 4 || U <= 4 ? A[n] = P : A[n] = B[x[P >>> 24]] ^ w[x[P >>> 16 & 255]] ^ R[x[P >>> 8 & 255]] ^ k[x[P & 255]];
4146
4146
  }
4147
4147
  }
4148
4148
  },
@@ -4151,16 +4151,16 @@ function Xa() {
4151
4151
  },
4152
4152
  decryptBlock: function(P, T) {
4153
4153
  var H = P[T + 1];
4154
- P[T + 1] = P[T + 3], P[T + 3] = H, this._doCryptBlock(P, T, this._invKeySchedule, C, w, R, k, u);
4154
+ P[T + 1] = P[T + 3], P[T + 3] = H, this._doCryptBlock(P, T, this._invKeySchedule, B, w, R, k, u);
4155
4155
  var H = P[T + 1];
4156
4156
  P[T + 1] = P[T + 3], P[T + 3] = H;
4157
4157
  },
4158
4158
  _doCryptBlock: function(P, T, H, $, K, X, Q, U) {
4159
- for (var A = this._nRounds, n = P[T] ^ H[0], d = P[T + 1] ^ H[1], g = P[T + 2] ^ H[2], B = P[T + 3] ^ H[3], F = 4, z = 1; z < A; z++) {
4160
- var N = $[n >>> 24] ^ K[d >>> 16 & 255] ^ X[g >>> 8 & 255] ^ Q[B & 255] ^ H[F++], D = $[d >>> 24] ^ K[g >>> 16 & 255] ^ X[B >>> 8 & 255] ^ Q[n & 255] ^ H[F++], h = $[g >>> 24] ^ K[B >>> 16 & 255] ^ X[n >>> 8 & 255] ^ Q[d & 255] ^ H[F++], E = $[B >>> 24] ^ K[n >>> 16 & 255] ^ X[d >>> 8 & 255] ^ Q[g & 255] ^ H[F++];
4161
- n = N, d = D, g = h, B = E;
4159
+ for (var A = this._nRounds, n = P[T] ^ H[0], d = P[T + 1] ^ H[1], g = P[T + 2] ^ H[2], C = P[T + 3] ^ H[3], F = 4, z = 1; z < A; z++) {
4160
+ var N = $[n >>> 24] ^ K[d >>> 16 & 255] ^ X[g >>> 8 & 255] ^ Q[C & 255] ^ H[F++], D = $[d >>> 24] ^ K[g >>> 16 & 255] ^ X[C >>> 8 & 255] ^ Q[n & 255] ^ H[F++], h = $[g >>> 24] ^ K[C >>> 16 & 255] ^ X[n >>> 8 & 255] ^ Q[d & 255] ^ H[F++], E = $[C >>> 24] ^ K[n >>> 16 & 255] ^ X[d >>> 8 & 255] ^ Q[g & 255] ^ H[F++];
4161
+ n = N, d = D, g = h, C = E;
4162
4162
  }
4163
- var N = (U[n >>> 24] << 24 | U[d >>> 16 & 255] << 16 | U[g >>> 8 & 255] << 8 | U[B & 255]) ^ H[F++], D = (U[d >>> 24] << 24 | U[g >>> 16 & 255] << 16 | U[B >>> 8 & 255] << 8 | U[n & 255]) ^ H[F++], h = (U[g >>> 24] << 24 | U[B >>> 16 & 255] << 16 | U[n >>> 8 & 255] << 8 | U[d & 255]) ^ H[F++], E = (U[B >>> 24] << 24 | U[n >>> 16 & 255] << 16 | U[d >>> 8 & 255] << 8 | U[g & 255]) ^ H[F++];
4163
+ var N = (U[n >>> 24] << 24 | U[d >>> 16 & 255] << 16 | U[g >>> 8 & 255] << 8 | U[C & 255]) ^ H[F++], D = (U[d >>> 24] << 24 | U[g >>> 16 & 255] << 16 | U[C >>> 8 & 255] << 8 | U[n & 255]) ^ H[F++], h = (U[g >>> 24] << 24 | U[C >>> 16 & 255] << 16 | U[n >>> 8 & 255] << 8 | U[d & 255]) ^ H[F++], E = (U[C >>> 24] << 24 | U[n >>> 16 & 255] << 16 | U[d >>> 8 & 255] << 8 | U[g & 255]) ^ H[F++];
4164
4164
  P[T] = N, P[T + 1] = D, P[T + 2] = h, P[T + 3] = E;
4165
4165
  },
4166
4166
  keySize: 256 / 32
@@ -4821,7 +4821,7 @@ function Za() {
4821
4821
  8064,
4822
4822
  504,
4823
4823
  2147483679
4824
- ], C = x.DES = y.extend({
4824
+ ], B = x.DES = y.extend({
4825
4825
  _doReset: function() {
4826
4826
  for (var q = this._key, S = q.words, P = [], T = 0; T < 56; T++) {
4827
4827
  var H = u[T] - 1;
@@ -4866,14 +4866,14 @@ function Za() {
4866
4866
  var P = (this._rBlock >>> q ^ this._lBlock) & S;
4867
4867
  this._lBlock ^= P, this._rBlock ^= P << q;
4868
4868
  }
4869
- r.DES = y._createHelper(C);
4869
+ r.DES = y._createHelper(B);
4870
4870
  var k = x.TripleDES = y.extend({
4871
4871
  _doReset: function() {
4872
4872
  var q = this._key, S = q.words;
4873
4873
  if (S.length !== 2 && S.length !== 4 && S.length < 6)
4874
4874
  throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
4875
4875
  var P = S.slice(0, 2), T = S.length < 4 ? S.slice(0, 2) : S.slice(2, 4), H = S.length < 6 ? S.slice(0, 2) : S.slice(4, 6);
4876
- this._des1 = C.createEncryptor(i.create(P)), this._des2 = C.createEncryptor(i.create(T)), this._des3 = C.createEncryptor(i.create(H));
4876
+ this._des1 = B.createEncryptor(i.create(P)), this._des2 = B.createEncryptor(i.create(T)), this._des3 = B.createEncryptor(i.create(H));
4877
4877
  },
4878
4878
  encryptBlock: function(q, S) {
4879
4879
  this._des1.encryptBlock(q, S), this._des2.decryptBlock(q, S), this._des3.encryptBlock(q, S);
@@ -4899,13 +4899,13 @@ function Ga() {
4899
4899
  return function() {
4900
4900
  var r = t, a = r.lib, i = a.StreamCipher, y = r.algo, x = y.RC4 = i.extend({
4901
4901
  _doReset: function() {
4902
- for (var c = this._key, v = c.words, b = c.sigBytes, C = this._S = [], w = 0; w < 256; w++)
4903
- C[w] = w;
4902
+ for (var c = this._key, v = c.words, b = c.sigBytes, B = this._S = [], w = 0; w < 256; w++)
4903
+ B[w] = w;
4904
4904
  for (var w = 0, R = 0; w < 256; w++) {
4905
4905
  var k = w % b, q = v[k >>> 2] >>> 24 - k % 4 * 8 & 255;
4906
- R = (R + C[w] + q) % 256;
4907
- var S = C[w];
4908
- C[w] = C[R], C[R] = S;
4906
+ R = (R + B[w] + q) % 256;
4907
+ var S = B[w];
4908
+ B[w] = B[R], B[R] = S;
4909
4909
  }
4910
4910
  this._i = this._j = 0;
4911
4911
  },
@@ -4916,12 +4916,12 @@ function Ga() {
4916
4916
  ivSize: 0
4917
4917
  });
4918
4918
  function u() {
4919
- for (var c = this._S, v = this._i, b = this._j, C = 0, w = 0; w < 4; w++) {
4919
+ for (var c = this._S, v = this._i, b = this._j, B = 0, w = 0; w < 4; w++) {
4920
4920
  v = (v + 1) % 256, b = (b + c[v]) % 256;
4921
4921
  var R = c[v];
4922
- c[v] = c[b], c[b] = R, C |= c[(c[v] + c[b]) % 256] << 24 - w * 8;
4922
+ c[v] = c[b], c[b] = R, B |= c[(c[v] + c[b]) % 256] << 24 - w * 8;
4923
4923
  }
4924
- return this._i = v, this._j = b, C;
4924
+ return this._i = v, this._j = b, B;
4925
4925
  }
4926
4926
  r.RC4 = i._createHelper(x);
4927
4927
  var o = y.RC4Drop = x.extend({
@@ -4953,7 +4953,7 @@ function Qa() {
4953
4953
  return function() {
4954
4954
  var r = t, a = r.lib, i = a.StreamCipher, y = r.algo, x = [], u = [], o = [], c = y.Rabbit = i.extend({
4955
4955
  _doReset: function() {
4956
- for (var b = this._key.words, C = this.cfg.iv, w = 0; w < 4; w++)
4956
+ for (var b = this._key.words, B = this.cfg.iv, w = 0; w < 4; w++)
4957
4957
  b[w] = (b[w] << 8 | b[w] >>> 24) & 16711935 | (b[w] << 24 | b[w] >>> 8) & 4278255360;
4958
4958
  var R = this._X = [
4959
4959
  b[0],
@@ -4979,28 +4979,28 @@ function Qa() {
4979
4979
  v.call(this);
4980
4980
  for (var w = 0; w < 8; w++)
4981
4981
  k[w] ^= R[w + 4 & 7];
4982
- if (C) {
4983
- var q = C.words, S = q[0], P = q[1], T = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360, H = (P << 8 | P >>> 24) & 16711935 | (P << 24 | P >>> 8) & 4278255360, $ = T >>> 16 | H & 4294901760, K = H << 16 | T & 65535;
4982
+ if (B) {
4983
+ var q = B.words, S = q[0], P = q[1], T = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360, H = (P << 8 | P >>> 24) & 16711935 | (P << 24 | P >>> 8) & 4278255360, $ = T >>> 16 | H & 4294901760, K = H << 16 | T & 65535;
4984
4984
  k[0] ^= T, k[1] ^= $, k[2] ^= H, k[3] ^= K, k[4] ^= T, k[5] ^= $, k[6] ^= H, k[7] ^= K;
4985
4985
  for (var w = 0; w < 4; w++)
4986
4986
  v.call(this);
4987
4987
  }
4988
4988
  },
4989
- _doProcessBlock: function(b, C) {
4989
+ _doProcessBlock: function(b, B) {
4990
4990
  var w = this._X;
4991
4991
  v.call(this), x[0] = w[0] ^ w[5] >>> 16 ^ w[3] << 16, x[1] = w[2] ^ w[7] >>> 16 ^ w[5] << 16, x[2] = w[4] ^ w[1] >>> 16 ^ w[7] << 16, x[3] = w[6] ^ w[3] >>> 16 ^ w[1] << 16;
4992
4992
  for (var R = 0; R < 4; R++)
4993
- x[R] = (x[R] << 8 | x[R] >>> 24) & 16711935 | (x[R] << 24 | x[R] >>> 8) & 4278255360, b[C + R] ^= x[R];
4993
+ x[R] = (x[R] << 8 | x[R] >>> 24) & 16711935 | (x[R] << 24 | x[R] >>> 8) & 4278255360, b[B + R] ^= x[R];
4994
4994
  },
4995
4995
  blockSize: 128 / 32,
4996
4996
  ivSize: 64 / 32
4997
4997
  });
4998
4998
  function v() {
4999
- for (var b = this._X, C = this._C, w = 0; w < 8; w++)
5000
- u[w] = C[w];
5001
- C[0] = C[0] + 1295307597 + this._b | 0, C[1] = C[1] + 3545052371 + (C[0] >>> 0 < u[0] >>> 0 ? 1 : 0) | 0, C[2] = C[2] + 886263092 + (C[1] >>> 0 < u[1] >>> 0 ? 1 : 0) | 0, C[3] = C[3] + 1295307597 + (C[2] >>> 0 < u[2] >>> 0 ? 1 : 0) | 0, C[4] = C[4] + 3545052371 + (C[3] >>> 0 < u[3] >>> 0 ? 1 : 0) | 0, C[5] = C[5] + 886263092 + (C[4] >>> 0 < u[4] >>> 0 ? 1 : 0) | 0, C[6] = C[6] + 1295307597 + (C[5] >>> 0 < u[5] >>> 0 ? 1 : 0) | 0, C[7] = C[7] + 3545052371 + (C[6] >>> 0 < u[6] >>> 0 ? 1 : 0) | 0, this._b = C[7] >>> 0 < u[7] >>> 0 ? 1 : 0;
4999
+ for (var b = this._X, B = this._C, w = 0; w < 8; w++)
5000
+ u[w] = B[w];
5001
+ B[0] = B[0] + 1295307597 + this._b | 0, B[1] = B[1] + 3545052371 + (B[0] >>> 0 < u[0] >>> 0 ? 1 : 0) | 0, B[2] = B[2] + 886263092 + (B[1] >>> 0 < u[1] >>> 0 ? 1 : 0) | 0, B[3] = B[3] + 1295307597 + (B[2] >>> 0 < u[2] >>> 0 ? 1 : 0) | 0, B[4] = B[4] + 3545052371 + (B[3] >>> 0 < u[3] >>> 0 ? 1 : 0) | 0, B[5] = B[5] + 886263092 + (B[4] >>> 0 < u[4] >>> 0 ? 1 : 0) | 0, B[6] = B[6] + 1295307597 + (B[5] >>> 0 < u[5] >>> 0 ? 1 : 0) | 0, B[7] = B[7] + 3545052371 + (B[6] >>> 0 < u[6] >>> 0 ? 1 : 0) | 0, this._b = B[7] >>> 0 < u[7] >>> 0 ? 1 : 0;
5002
5002
  for (var w = 0; w < 8; w++) {
5003
- var R = b[w] + C[w], k = R & 65535, q = R >>> 16, S = ((k * k >>> 17) + k * q >>> 15) + q * q, P = ((R & 4294901760) * R | 0) + ((R & 65535) * R | 0);
5003
+ var R = b[w] + B[w], k = R & 65535, q = R >>> 16, S = ((k * k >>> 17) + k * q >>> 15) + q * q, P = ((R & 4294901760) * R | 0) + ((R & 65535) * R | 0);
5004
5004
  o[w] = S ^ P;
5005
5005
  }
5006
5006
  b[0] = o[0] + (o[7] << 16 | o[7] >>> 16) + (o[6] << 16 | o[6] >>> 16) | 0, b[1] = o[1] + (o[0] << 8 | o[0] >>> 24) + o[7] | 0, b[2] = o[2] + (o[1] << 16 | o[1] >>> 16) + (o[0] << 16 | o[0] >>> 16) | 0, b[3] = o[3] + (o[2] << 8 | o[2] >>> 24) + o[1] | 0, b[4] = o[4] + (o[3] << 16 | o[3] >>> 16) + (o[2] << 16 | o[2] >>> 16) | 0, b[5] = o[5] + (o[4] << 8 | o[4] >>> 24) + o[3] | 0, b[6] = o[6] + (o[5] << 16 | o[5] >>> 16) + (o[4] << 16 | o[4] >>> 16) | 0, b[7] = o[7] + (o[6] << 8 | o[6] >>> 24) + o[5] | 0;
@@ -5019,7 +5019,7 @@ function Ja() {
5019
5019
  return function() {
5020
5020
  var r = t, a = r.lib, i = a.StreamCipher, y = r.algo, x = [], u = [], o = [], c = y.RabbitLegacy = i.extend({
5021
5021
  _doReset: function() {
5022
- var b = this._key.words, C = this.cfg.iv, w = this._X = [
5022
+ var b = this._key.words, B = this.cfg.iv, w = this._X = [
5023
5023
  b[0],
5024
5024
  b[3] << 16 | b[2] >>> 16,
5025
5025
  b[1],
@@ -5043,28 +5043,28 @@ function Ja() {
5043
5043
  v.call(this);
5044
5044
  for (var k = 0; k < 8; k++)
5045
5045
  R[k] ^= w[k + 4 & 7];
5046
- if (C) {
5047
- var q = C.words, S = q[0], P = q[1], T = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360, H = (P << 8 | P >>> 24) & 16711935 | (P << 24 | P >>> 8) & 4278255360, $ = T >>> 16 | H & 4294901760, K = H << 16 | T & 65535;
5046
+ if (B) {
5047
+ var q = B.words, S = q[0], P = q[1], T = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360, H = (P << 8 | P >>> 24) & 16711935 | (P << 24 | P >>> 8) & 4278255360, $ = T >>> 16 | H & 4294901760, K = H << 16 | T & 65535;
5048
5048
  R[0] ^= T, R[1] ^= $, R[2] ^= H, R[3] ^= K, R[4] ^= T, R[5] ^= $, R[6] ^= H, R[7] ^= K;
5049
5049
  for (var k = 0; k < 4; k++)
5050
5050
  v.call(this);
5051
5051
  }
5052
5052
  },
5053
- _doProcessBlock: function(b, C) {
5053
+ _doProcessBlock: function(b, B) {
5054
5054
  var w = this._X;
5055
5055
  v.call(this), x[0] = w[0] ^ w[5] >>> 16 ^ w[3] << 16, x[1] = w[2] ^ w[7] >>> 16 ^ w[5] << 16, x[2] = w[4] ^ w[1] >>> 16 ^ w[7] << 16, x[3] = w[6] ^ w[3] >>> 16 ^ w[1] << 16;
5056
5056
  for (var R = 0; R < 4; R++)
5057
- x[R] = (x[R] << 8 | x[R] >>> 24) & 16711935 | (x[R] << 24 | x[R] >>> 8) & 4278255360, b[C + R] ^= x[R];
5057
+ x[R] = (x[R] << 8 | x[R] >>> 24) & 16711935 | (x[R] << 24 | x[R] >>> 8) & 4278255360, b[B + R] ^= x[R];
5058
5058
  },
5059
5059
  blockSize: 128 / 32,
5060
5060
  ivSize: 64 / 32
5061
5061
  });
5062
5062
  function v() {
5063
- for (var b = this._X, C = this._C, w = 0; w < 8; w++)
5064
- u[w] = C[w];
5065
- C[0] = C[0] + 1295307597 + this._b | 0, C[1] = C[1] + 3545052371 + (C[0] >>> 0 < u[0] >>> 0 ? 1 : 0) | 0, C[2] = C[2] + 886263092 + (C[1] >>> 0 < u[1] >>> 0 ? 1 : 0) | 0, C[3] = C[3] + 1295307597 + (C[2] >>> 0 < u[2] >>> 0 ? 1 : 0) | 0, C[4] = C[4] + 3545052371 + (C[3] >>> 0 < u[3] >>> 0 ? 1 : 0) | 0, C[5] = C[5] + 886263092 + (C[4] >>> 0 < u[4] >>> 0 ? 1 : 0) | 0, C[6] = C[6] + 1295307597 + (C[5] >>> 0 < u[5] >>> 0 ? 1 : 0) | 0, C[7] = C[7] + 3545052371 + (C[6] >>> 0 < u[6] >>> 0 ? 1 : 0) | 0, this._b = C[7] >>> 0 < u[7] >>> 0 ? 1 : 0;
5063
+ for (var b = this._X, B = this._C, w = 0; w < 8; w++)
5064
+ u[w] = B[w];
5065
+ B[0] = B[0] + 1295307597 + this._b | 0, B[1] = B[1] + 3545052371 + (B[0] >>> 0 < u[0] >>> 0 ? 1 : 0) | 0, B[2] = B[2] + 886263092 + (B[1] >>> 0 < u[1] >>> 0 ? 1 : 0) | 0, B[3] = B[3] + 1295307597 + (B[2] >>> 0 < u[2] >>> 0 ? 1 : 0) | 0, B[4] = B[4] + 3545052371 + (B[3] >>> 0 < u[3] >>> 0 ? 1 : 0) | 0, B[5] = B[5] + 886263092 + (B[4] >>> 0 < u[4] >>> 0 ? 1 : 0) | 0, B[6] = B[6] + 1295307597 + (B[5] >>> 0 < u[5] >>> 0 ? 1 : 0) | 0, B[7] = B[7] + 3545052371 + (B[6] >>> 0 < u[6] >>> 0 ? 1 : 0) | 0, this._b = B[7] >>> 0 < u[7] >>> 0 ? 1 : 0;
5066
5066
  for (var w = 0; w < 8; w++) {
5067
- var R = b[w] + C[w], k = R & 65535, q = R >>> 16, S = ((k * k >>> 17) + k * q >>> 15) + q * q, P = ((R & 4294901760) * R | 0) + ((R & 65535) * R | 0);
5067
+ var R = b[w] + B[w], k = R & 65535, q = R >>> 16, S = ((k * k >>> 17) + k * q >>> 15) + q * q, P = ((R & 4294901760) * R | 0) + ((R & 65535) * R | 0);
5068
5068
  o[w] = S ^ P;
5069
5069
  }
5070
5070
  b[0] = o[0] + (o[7] << 16 | o[7] >>> 16) + (o[6] << 16 | o[6] >>> 16) | 0, b[1] = o[1] + (o[0] << 8 | o[0] >>> 24) + o[7] | 0, b[2] = o[2] + (o[1] << 16 | o[1] >>> 16) + (o[0] << 16 | o[0] >>> 16) | 0, b[3] = o[3] + (o[2] << 8 | o[2] >>> 24) + o[1] | 0, b[4] = o[4] + (o[3] << 16 | o[3] >>> 16) + (o[2] << 16 | o[2] >>> 16) | 0, b[5] = o[5] + (o[4] << 8 | o[4] >>> 24) + o[3] | 0, b[6] = o[6] + (o[5] << 16 | o[5] >>> 16) + (o[4] << 16 | o[4] >>> 16) | 0, b[7] = o[7] + (o[6] << 8 | o[6] >>> 24) + o[5] | 0;
@@ -6149,7 +6149,7 @@ function es() {
6149
6149
  P = P ^ k.pbox[$], T = v(k, P) ^ T, H = P, P = T, T = H;
6150
6150
  return H = P, P = T, T = H, T = T ^ k.pbox[x], P = P ^ k.pbox[x + 1], { left: P, right: T };
6151
6151
  }
6152
- function C(k, q, S) {
6152
+ function B(k, q, S) {
6153
6153
  let P = q, T = S, H;
6154
6154
  for (let $ = x + 1; $ > 1; --$)
6155
6155
  P = P ^ k.pbox[$], T = v(k, P) ^ T, H = P, P = T, T = H;
@@ -6184,7 +6184,7 @@ function es() {
6184
6184
  k[q] = S.left, k[q + 1] = S.right;
6185
6185
  },
6186
6186
  decryptBlock: function(k, q) {
6187
- var S = C(c, k[q], k[q + 1]);
6187
+ var S = B(c, k[q], k[q + 1]);
6188
6188
  k[q] = S.left, k[q + 1] = S.right;
6189
6189
  },
6190
6190
  blockSize: 64 / 32,
@@ -6299,8 +6299,8 @@ Hf.exports;
6299
6299
  if (typeof n == "object")
6300
6300
  return this._initArray(n, d, g);
6301
6301
  d === "hex" && (d = 16), r(d === (d | 0) && d >= 2 && d <= 36), n = n.toString().replace(/\s+/g, "");
6302
- var B = 0;
6303
- n[0] === "-" && (B++, this.negative = 1), B < n.length && (d === 16 ? this._parseHex(n, B, g) : (this._parseBase(n, d, B), g === "le" && this._initArray(this.toArray(), d, g)));
6302
+ var C = 0;
6303
+ n[0] === "-" && (C++, this.negative = 1), C < n.length && (d === 16 ? this._parseHex(n, C, g) : (this._parseBase(n, d, C), g === "le" && this._initArray(this.toArray(), d, g)));
6304
6304
  }, i.prototype._initNumber = function(n, d, g) {
6305
6305
  n < 0 && (this.negative = 1, n = -n), n < 67108864 ? (this.words = [n & 67108863], this.length = 1) : n < 4503599627370496 ? (this.words = [
6306
6306
  n & 67108863,
@@ -6314,15 +6314,15 @@ Hf.exports;
6314
6314
  if (r(typeof n.length == "number"), n.length <= 0)
6315
6315
  return this.words = [0], this.length = 1, this;
6316
6316
  this.length = Math.ceil(n.length / 3), this.words = new Array(this.length);
6317
- for (var B = 0; B < this.length; B++)
6318
- this.words[B] = 0;
6317
+ for (var C = 0; C < this.length; C++)
6318
+ this.words[C] = 0;
6319
6319
  var F, z, N = 0;
6320
6320
  if (g === "be")
6321
- for (B = n.length - 1, F = 0; B >= 0; B -= 3)
6322
- z = n[B] | n[B - 1] << 8 | n[B - 2] << 16, this.words[F] |= z << N & 67108863, this.words[F + 1] = z >>> 26 - N & 67108863, N += 24, N >= 26 && (N -= 26, F++);
6321
+ for (C = n.length - 1, F = 0; C >= 0; C -= 3)
6322
+ z = n[C] | n[C - 1] << 8 | n[C - 2] << 16, this.words[F] |= z << N & 67108863, this.words[F + 1] = z >>> 26 - N & 67108863, N += 24, N >= 26 && (N -= 26, F++);
6323
6323
  else if (g === "le")
6324
- for (B = 0, F = 0; B < n.length; B += 3)
6325
- z = n[B] | n[B + 1] << 8 | n[B + 2] << 16, this.words[F] |= z << N & 67108863, this.words[F + 1] = z >>> 26 - N & 67108863, N += 24, N >= 26 && (N -= 26, F++);
6324
+ for (C = 0, F = 0; C < n.length; C += 3)
6325
+ z = n[C] | n[C + 1] << 8 | n[C + 2] << 16, this.words[F] |= z << N & 67108863, this.words[F + 1] = z >>> 26 - N & 67108863, N += 24, N >= 26 && (N -= 26, F++);
6326
6326
  return this.strip();
6327
6327
  };
6328
6328
  function x(A, n) {
@@ -6335,33 +6335,33 @@ Hf.exports;
6335
6335
  }
6336
6336
  i.prototype._parseHex = function(n, d, g) {
6337
6337
  this.length = Math.ceil((n.length - d) / 6), this.words = new Array(this.length);
6338
- for (var B = 0; B < this.length; B++)
6339
- this.words[B] = 0;
6338
+ for (var C = 0; C < this.length; C++)
6339
+ this.words[C] = 0;
6340
6340
  var F = 0, z = 0, N;
6341
6341
  if (g === "be")
6342
- for (B = n.length - 1; B >= d; B -= 2)
6343
- N = u(n, d, B) << F, this.words[z] |= N & 67108863, F >= 18 ? (F -= 18, z += 1, this.words[z] |= N >>> 26) : F += 8;
6342
+ for (C = n.length - 1; C >= d; C -= 2)
6343
+ N = u(n, d, C) << F, this.words[z] |= N & 67108863, F >= 18 ? (F -= 18, z += 1, this.words[z] |= N >>> 26) : F += 8;
6344
6344
  else {
6345
6345
  var D = n.length - d;
6346
- for (B = D % 2 === 0 ? d + 1 : d; B < n.length; B += 2)
6347
- N = u(n, d, B) << F, this.words[z] |= N & 67108863, F >= 18 ? (F -= 18, z += 1, this.words[z] |= N >>> 26) : F += 8;
6346
+ for (C = D % 2 === 0 ? d + 1 : d; C < n.length; C += 2)
6347
+ N = u(n, d, C) << F, this.words[z] |= N & 67108863, F >= 18 ? (F -= 18, z += 1, this.words[z] |= N >>> 26) : F += 8;
6348
6348
  }
6349
6349
  this.strip();
6350
6350
  };
6351
6351
  function o(A, n, d, g) {
6352
- for (var B = 0, F = Math.min(A.length, d), z = n; z < F; z++) {
6352
+ for (var C = 0, F = Math.min(A.length, d), z = n; z < F; z++) {
6353
6353
  var N = A.charCodeAt(z) - 48;
6354
- B *= g, N >= 49 ? B += N - 49 + 10 : N >= 17 ? B += N - 17 + 10 : B += N;
6354
+ C *= g, N >= 49 ? C += N - 49 + 10 : N >= 17 ? C += N - 17 + 10 : C += N;
6355
6355
  }
6356
- return B;
6356
+ return C;
6357
6357
  }
6358
6358
  i.prototype._parseBase = function(n, d, g) {
6359
6359
  this.words = [0], this.length = 1;
6360
- for (var B = 0, F = 1; F <= 67108863; F *= d)
6361
- B++;
6362
- B--, F = F / d | 0;
6363
- for (var z = n.length - g, N = z % B, D = Math.min(z, z - N) + g, h = 0, E = g; E < D; E += B)
6364
- h = o(n, E, E + B, d), this.imuln(F), this.words[0] + h < 67108864 ? this.words[0] += h : this._iaddn(h);
6360
+ for (var C = 0, F = 1; F <= 67108863; F *= d)
6361
+ C++;
6362
+ C--, F = F / d | 0;
6363
+ for (var z = n.length - g, N = z % C, D = Math.min(z, z - N) + g, h = 0, E = g; E < D; E += C)
6364
+ h = o(n, E, E + C, d), this.imuln(F), this.words[0] + h < 67108864 ? this.words[0] += h : this._iaddn(h);
6365
6365
  if (N !== 0) {
6366
6366
  var j = 1;
6367
6367
  for (h = o(n, E, n.length, d), E = 0; E < N; E++)
@@ -6499,9 +6499,9 @@ Hf.exports;
6499
6499
  var g;
6500
6500
  if (n === 16 || n === "hex") {
6501
6501
  g = "";
6502
- for (var B = 0, F = 0, z = 0; z < this.length; z++) {
6503
- var N = this.words[z], D = ((N << B | F) & 16777215).toString(16);
6504
- F = N >>> 24 - B & 16777215, F !== 0 || z !== this.length - 1 ? g = c[6 - D.length] + D + g : g = D + g, B += 2, B >= 26 && (B -= 26, z--);
6502
+ for (var C = 0, F = 0, z = 0; z < this.length; z++) {
6503
+ var N = this.words[z], D = ((N << C | F) & 16777215).toString(16);
6504
+ F = N >>> 24 - C & 16777215, F !== 0 || z !== this.length - 1 ? g = c[6 - D.length] + D + g : g = D + g, C += 2, C >= 26 && (C -= 26, z--);
6505
6505
  }
6506
6506
  for (F !== 0 && (g = F.toString(16) + g); g.length % d !== 0; )
6507
6507
  g = "0" + g;
@@ -6530,8 +6530,8 @@ Hf.exports;
6530
6530
  }, i.prototype.toArray = function(n, d) {
6531
6531
  return this.toArrayLike(Array, n, d);
6532
6532
  }, i.prototype.toArrayLike = function(n, d, g) {
6533
- var B = this.byteLength(), F = g || Math.max(1, B);
6534
- r(B <= F, "byte array longer than desired length"), r(F > 0, "Requested array length <= 0"), this.strip();
6533
+ var C = this.byteLength(), F = g || Math.max(1, C);
6534
+ r(C <= F, "byte array longer than desired length"), r(F > 0, "Requested array length <= 0"), this.strip();
6535
6535
  var z = d === "le", N = new n(F), D, h, E = this.clone();
6536
6536
  if (z) {
6537
6537
  for (h = 0; !E.isZero(); h++)
@@ -6539,7 +6539,7 @@ Hf.exports;
6539
6539
  for (; h < F; h++)
6540
6540
  N[h] = 0;
6541
6541
  } else {
6542
- for (h = 0; h < F - B; h++)
6542
+ for (h = 0; h < F - C; h++)
6543
6543
  N[h] = 0;
6544
6544
  for (h = 0; !E.isZero(); h++)
6545
6545
  D = E.andln(255), E.iushrn(8), N[F - h - 1] = D;
@@ -6559,10 +6559,10 @@ Hf.exports;
6559
6559
  var n = this.words[this.length - 1], d = this._countBits(n);
6560
6560
  return (this.length - 1) * 26 + d;
6561
6561
  };
6562
- function C(A) {
6562
+ function B(A) {
6563
6563
  for (var n = new Array(A.bitLength()), d = 0; d < n.length; d++) {
6564
- var g = d / 26 | 0, B = d % 26;
6565
- n[d] = (A.words[g] & 1 << B) >>> B;
6564
+ var g = d / 26 | 0, C = d % 26;
6565
+ n[d] = (A.words[g] & 1 << C) >>> C;
6566
6566
  }
6567
6567
  return n;
6568
6568
  }
@@ -6614,11 +6614,11 @@ Hf.exports;
6614
6614
  }, i.prototype.iuxor = function(n) {
6615
6615
  var d, g;
6616
6616
  this.length > n.length ? (d = this, g = n) : (d = n, g = this);
6617
- for (var B = 0; B < g.length; B++)
6618
- this.words[B] = d.words[B] ^ g.words[B];
6617
+ for (var C = 0; C < g.length; C++)
6618
+ this.words[C] = d.words[C] ^ g.words[C];
6619
6619
  if (this !== d)
6620
- for (; B < d.length; B++)
6621
- this.words[B] = d.words[B];
6620
+ for (; C < d.length; C++)
6621
+ this.words[C] = d.words[C];
6622
6622
  return this.length = d.length, this.strip();
6623
6623
  }, i.prototype.ixor = function(n) {
6624
6624
  return r((this.negative | n.negative) === 0), this.iuxor(n);
@@ -6630,25 +6630,25 @@ Hf.exports;
6630
6630
  r(typeof n == "number" && n >= 0);
6631
6631
  var d = Math.ceil(n / 26) | 0, g = n % 26;
6632
6632
  this._expand(d), g > 0 && d--;
6633
- for (var B = 0; B < d; B++)
6634
- this.words[B] = ~this.words[B] & 67108863;
6635
- return g > 0 && (this.words[B] = ~this.words[B] & 67108863 >> 26 - g), this.strip();
6633
+ for (var C = 0; C < d; C++)
6634
+ this.words[C] = ~this.words[C] & 67108863;
6635
+ return g > 0 && (this.words[C] = ~this.words[C] & 67108863 >> 26 - g), this.strip();
6636
6636
  }, i.prototype.notn = function(n) {
6637
6637
  return this.clone().inotn(n);
6638
6638
  }, i.prototype.setn = function(n, d) {
6639
6639
  r(typeof n == "number" && n >= 0);
6640
- var g = n / 26 | 0, B = n % 26;
6641
- return this._expand(g + 1), d ? this.words[g] = this.words[g] | 1 << B : this.words[g] = this.words[g] & ~(1 << B), this.strip();
6640
+ var g = n / 26 | 0, C = n % 26;
6641
+ return this._expand(g + 1), d ? this.words[g] = this.words[g] | 1 << C : this.words[g] = this.words[g] & ~(1 << C), this.strip();
6642
6642
  }, i.prototype.iadd = function(n) {
6643
6643
  var d;
6644
6644
  if (this.negative !== 0 && n.negative === 0)
6645
6645
  return this.negative = 0, d = this.isub(n), this.negative ^= 1, this._normSign();
6646
6646
  if (this.negative === 0 && n.negative !== 0)
6647
6647
  return n.negative = 0, d = this.isub(n), n.negative = 1, d._normSign();
6648
- var g, B;
6649
- this.length > n.length ? (g = this, B = n) : (g = n, B = this);
6650
- for (var F = 0, z = 0; z < B.length; z++)
6651
- d = (g.words[z] | 0) + (B.words[z] | 0) + F, this.words[z] = d & 67108863, F = d >>> 26;
6648
+ var g, C;
6649
+ this.length > n.length ? (g = this, C = n) : (g = n, C = this);
6650
+ for (var F = 0, z = 0; z < C.length; z++)
6651
+ d = (g.words[z] | 0) + (C.words[z] | 0) + F, this.words[z] = d & 67108863, F = d >>> 26;
6652
6652
  for (; F !== 0 && z < g.length; z++)
6653
6653
  d = (g.words[z] | 0) + F, this.words[z] = d & 67108863, F = d >>> 26;
6654
6654
  if (this.length = g.length, F !== 0)
@@ -6670,16 +6670,16 @@ Hf.exports;
6670
6670
  var g = this.cmp(n);
6671
6671
  if (g === 0)
6672
6672
  return this.negative = 0, this.length = 1, this.words[0] = 0, this;
6673
- var B, F;
6674
- g > 0 ? (B = this, F = n) : (B = n, F = this);
6673
+ var C, F;
6674
+ g > 0 ? (C = this, F = n) : (C = n, F = this);
6675
6675
  for (var z = 0, N = 0; N < F.length; N++)
6676
- d = (B.words[N] | 0) - (F.words[N] | 0) + z, z = d >> 26, this.words[N] = d & 67108863;
6677
- for (; z !== 0 && N < B.length; N++)
6678
- d = (B.words[N] | 0) + z, z = d >> 26, this.words[N] = d & 67108863;
6679
- if (z === 0 && N < B.length && B !== this)
6680
- for (; N < B.length; N++)
6681
- this.words[N] = B.words[N];
6682
- return this.length = Math.max(this.length, N), B !== this && (this.negative = 1), this.strip();
6676
+ d = (C.words[N] | 0) - (F.words[N] | 0) + z, z = d >> 26, this.words[N] = d & 67108863;
6677
+ for (; z !== 0 && N < C.length; N++)
6678
+ d = (C.words[N] | 0) + z, z = d >> 26, this.words[N] = d & 67108863;
6679
+ if (z === 0 && N < C.length && C !== this)
6680
+ for (; N < C.length; N++)
6681
+ this.words[N] = C.words[N];
6682
+ return this.length = Math.max(this.length, N), C !== this && (this.negative = 1), this.strip();
6683
6683
  }, i.prototype.sub = function(n) {
6684
6684
  return this.clone().isub(n);
6685
6685
  };
@@ -6687,19 +6687,19 @@ Hf.exports;
6687
6687
  d.negative = n.negative ^ A.negative;
6688
6688
  var g = A.length + n.length | 0;
6689
6689
  d.length = g, g = g - 1 | 0;
6690
- var B = A.words[0] | 0, F = n.words[0] | 0, z = B * F, N = z & 67108863, D = z / 67108864 | 0;
6690
+ var C = A.words[0] | 0, F = n.words[0] | 0, z = C * F, N = z & 67108863, D = z / 67108864 | 0;
6691
6691
  d.words[0] = N;
6692
6692
  for (var h = 1; h < g; h++) {
6693
6693
  for (var E = D >>> 26, j = D & 67108863, Y = Math.min(h, n.length - 1), W = Math.max(0, h - A.length + 1); W <= Y; W++) {
6694
6694
  var re = h - W | 0;
6695
- B = A.words[re] | 0, F = n.words[W] | 0, z = B * F + j, E += z / 67108864 | 0, j = z & 67108863;
6695
+ C = A.words[re] | 0, F = n.words[W] | 0, z = C * F + j, E += z / 67108864 | 0, j = z & 67108863;
6696
6696
  }
6697
6697
  d.words[h] = j | 0, D = E | 0;
6698
6698
  }
6699
6699
  return D !== 0 ? d.words[h] = D | 0 : d.length--, d.strip();
6700
6700
  }
6701
6701
  var R = function(n, d, g) {
6702
- var B = n.words, F = d.words, z = g.words, N = 0, D, h, E, j = B[0] | 0, Y = j & 8191, W = j >>> 13, re = B[1] | 0, ce = re & 8191, we = re >>> 13, Ae = B[2] | 0, Me = Ae & 8191, Fe = Ae >>> 13, Z0 = B[3] | 0, We = Z0 & 8191, Oe = Z0 >>> 13, _0 = B[4] | 0, Ge = _0 & 8191, Ye = _0 >>> 13, $0 = B[5] | 0, Qe = $0 & 8191, ze = $0 >>> 13, O0 = B[6] | 0, qe = O0 & 8191, Se = O0 >>> 13, F0 = B[7] | 0, Je = F0 & 8191, f0 = F0 >>> 13, S0 = B[8] | 0, Ne = S0 & 8191, u0 = S0 >>> 13, G0 = B[9] | 0, l0 = G0 & 8191, He = G0 >>> 13, z0 = F[0] | 0, a0 = z0 & 8191, r0 = z0 >>> 13, q0 = F[1] | 0, i0 = q0 & 8191, s0 = q0 >>> 13, W0 = F[2] | 0, e0 = W0 & 8191, n0 = W0 >>> 13, N0 = F[3] | 0, o0 = N0 & 8191, x0 = N0 >>> 13, D0 = F[4] | 0, t0 = D0 & 8191, Ve = D0 >>> 13, tt = F[5] | 0, c0 = tt & 8191, d0 = tt >>> 13, yt = F[6] | 0, Ie = yt & 8191, Re = yt >>> 13, l = F[7] | 0, _ = l & 8191, m = l >>> 13, s = F[8] | 0, M = s & 8191, p = s >>> 13, I = F[9] | 0, L = I & 8191, V = I >>> 13;
6702
+ var C = n.words, F = d.words, z = g.words, N = 0, D, h, E, j = C[0] | 0, Y = j & 8191, W = j >>> 13, re = C[1] | 0, ce = re & 8191, we = re >>> 13, Ae = C[2] | 0, Me = Ae & 8191, Fe = Ae >>> 13, Z0 = C[3] | 0, We = Z0 & 8191, Oe = Z0 >>> 13, _0 = C[4] | 0, Ge = _0 & 8191, Ye = _0 >>> 13, $0 = C[5] | 0, Qe = $0 & 8191, ze = $0 >>> 13, O0 = C[6] | 0, qe = O0 & 8191, Se = O0 >>> 13, F0 = C[7] | 0, Je = F0 & 8191, f0 = F0 >>> 13, S0 = C[8] | 0, Ne = S0 & 8191, u0 = S0 >>> 13, G0 = C[9] | 0, l0 = G0 & 8191, He = G0 >>> 13, z0 = F[0] | 0, a0 = z0 & 8191, r0 = z0 >>> 13, q0 = F[1] | 0, i0 = q0 & 8191, s0 = q0 >>> 13, W0 = F[2] | 0, e0 = W0 & 8191, n0 = W0 >>> 13, N0 = F[3] | 0, o0 = N0 & 8191, x0 = N0 >>> 13, D0 = F[4] | 0, t0 = D0 & 8191, Ve = D0 >>> 13, tt = F[5] | 0, c0 = tt & 8191, d0 = tt >>> 13, yt = F[6] | 0, Ie = yt & 8191, Re = yt >>> 13, l = F[7] | 0, _ = l & 8191, m = l >>> 13, s = F[8] | 0, M = s & 8191, p = s >>> 13, I = F[9] | 0, L = I & 8191, V = I >>> 13;
6703
6703
  g.negative = n.negative ^ d.negative, g.length = 19, D = Math.imul(Y, a0), h = Math.imul(Y, r0), h = h + Math.imul(W, a0) | 0, E = Math.imul(W, r0);
6704
6704
  var ne = (N + D | 0) + ((h & 8191) << 13) | 0;
6705
6705
  N = (E + (h >>> 13) | 0) + (ne >>> 26) | 0, ne &= 67108863, D = Math.imul(ce, a0), h = Math.imul(ce, r0), h = h + Math.imul(we, a0) | 0, E = Math.imul(we, r0), D = D + Math.imul(Y, i0) | 0, h = h + Math.imul(Y, s0) | 0, h = h + Math.imul(W, i0) | 0, E = E + Math.imul(W, s0) | 0;
@@ -6743,14 +6743,14 @@ Hf.exports;
6743
6743
  Math.imul || (R = w);
6744
6744
  function k(A, n, d) {
6745
6745
  d.negative = n.negative ^ A.negative, d.length = A.length + n.length;
6746
- for (var g = 0, B = 0, F = 0; F < d.length - 1; F++) {
6747
- var z = B;
6748
- B = 0;
6746
+ for (var g = 0, C = 0, F = 0; F < d.length - 1; F++) {
6747
+ var z = C;
6748
+ C = 0;
6749
6749
  for (var N = g & 67108863, D = Math.min(F, n.length - 1), h = Math.max(0, F - A.length + 1); h <= D; h++) {
6750
6750
  var E = F - h, j = A.words[E] | 0, Y = n.words[h] | 0, W = j * Y, re = W & 67108863;
6751
- z = z + (W / 67108864 | 0) | 0, re = re + N | 0, N = re & 67108863, z = z + (re >>> 26) | 0, B += z >>> 26, z &= 67108863;
6751
+ z = z + (W / 67108864 | 0) | 0, re = re + N | 0, N = re & 67108863, z = z + (re >>> 26) | 0, C += z >>> 26, z &= 67108863;
6752
6752
  }
6753
- d.words[F] = N, g = z, z = B;
6753
+ d.words[F] = N, g = z, z = C;
6754
6754
  }
6755
6755
  return g !== 0 ? d.words[F] = g : d.length--, d.strip();
6756
6756
  }
@@ -6759,54 +6759,54 @@ Hf.exports;
6759
6759
  return g.mulp(A, n, d);
6760
6760
  }
6761
6761
  i.prototype.mulTo = function(n, d) {
6762
- var g, B = this.length + n.length;
6763
- return this.length === 10 && n.length === 10 ? g = R(this, n, d) : B < 63 ? g = w(this, n, d) : B < 1024 ? g = k(this, n, d) : g = q(this, n, d), g;
6762
+ var g, C = this.length + n.length;
6763
+ return this.length === 10 && n.length === 10 ? g = R(this, n, d) : C < 63 ? g = w(this, n, d) : C < 1024 ? g = k(this, n, d) : g = q(this, n, d), g;
6764
6764
  };
6765
6765
  function S(A, n) {
6766
6766
  this.x = A, this.y = n;
6767
6767
  }
6768
6768
  S.prototype.makeRBT = function(n) {
6769
- for (var d = new Array(n), g = i.prototype._countBits(n) - 1, B = 0; B < n; B++)
6770
- d[B] = this.revBin(B, g, n);
6769
+ for (var d = new Array(n), g = i.prototype._countBits(n) - 1, C = 0; C < n; C++)
6770
+ d[C] = this.revBin(C, g, n);
6771
6771
  return d;
6772
6772
  }, S.prototype.revBin = function(n, d, g) {
6773
6773
  if (n === 0 || n === g - 1)
6774
6774
  return n;
6775
- for (var B = 0, F = 0; F < d; F++)
6776
- B |= (n & 1) << d - F - 1, n >>= 1;
6777
- return B;
6778
- }, S.prototype.permute = function(n, d, g, B, F, z) {
6775
+ for (var C = 0, F = 0; F < d; F++)
6776
+ C |= (n & 1) << d - F - 1, n >>= 1;
6777
+ return C;
6778
+ }, S.prototype.permute = function(n, d, g, C, F, z) {
6779
6779
  for (var N = 0; N < z; N++)
6780
- B[N] = d[n[N]], F[N] = g[n[N]];
6781
- }, S.prototype.transform = function(n, d, g, B, F, z) {
6782
- this.permute(z, n, d, g, B, F);
6780
+ C[N] = d[n[N]], F[N] = g[n[N]];
6781
+ }, S.prototype.transform = function(n, d, g, C, F, z) {
6782
+ this.permute(z, n, d, g, C, F);
6783
6783
  for (var N = 1; N < F; N <<= 1)
6784
6784
  for (var D = N << 1, h = Math.cos(2 * Math.PI / D), E = Math.sin(2 * Math.PI / D), j = 0; j < F; j += D)
6785
6785
  for (var Y = h, W = E, re = 0; re < N; re++) {
6786
- var ce = g[j + re], we = B[j + re], Ae = g[j + re + N], Me = B[j + re + N], Fe = Y * Ae - W * Me;
6787
- Me = Y * Me + W * Ae, Ae = Fe, g[j + re] = ce + Ae, B[j + re] = we + Me, g[j + re + N] = ce - Ae, B[j + re + N] = we - Me, re !== D && (Fe = h * Y - E * W, W = h * W + E * Y, Y = Fe);
6786
+ var ce = g[j + re], we = C[j + re], Ae = g[j + re + N], Me = C[j + re + N], Fe = Y * Ae - W * Me;
6787
+ Me = Y * Me + W * Ae, Ae = Fe, g[j + re] = ce + Ae, C[j + re] = we + Me, g[j + re + N] = ce - Ae, C[j + re + N] = we - Me, re !== D && (Fe = h * Y - E * W, W = h * W + E * Y, Y = Fe);
6788
6788
  }
6789
6789
  }, S.prototype.guessLen13b = function(n, d) {
6790
- var g = Math.max(d, n) | 1, B = g & 1, F = 0;
6790
+ var g = Math.max(d, n) | 1, C = g & 1, F = 0;
6791
6791
  for (g = g / 2 | 0; g; g = g >>> 1)
6792
6792
  F++;
6793
- return 1 << F + 1 + B;
6793
+ return 1 << F + 1 + C;
6794
6794
  }, S.prototype.conjugate = function(n, d, g) {
6795
6795
  if (!(g <= 1))
6796
- for (var B = 0; B < g / 2; B++) {
6797
- var F = n[B];
6798
- n[B] = n[g - B - 1], n[g - B - 1] = F, F = d[B], d[B] = -d[g - B - 1], d[g - B - 1] = -F;
6796
+ for (var C = 0; C < g / 2; C++) {
6797
+ var F = n[C];
6798
+ n[C] = n[g - C - 1], n[g - C - 1] = F, F = d[C], d[C] = -d[g - C - 1], d[g - C - 1] = -F;
6799
6799
  }
6800
6800
  }, S.prototype.normalize13b = function(n, d) {
6801
- for (var g = 0, B = 0; B < d / 2; B++) {
6802
- var F = Math.round(n[2 * B + 1] / d) * 8192 + Math.round(n[2 * B] / d) + g;
6803
- n[B] = F & 67108863, F < 67108864 ? g = 0 : g = F / 67108864 | 0;
6801
+ for (var g = 0, C = 0; C < d / 2; C++) {
6802
+ var F = Math.round(n[2 * C + 1] / d) * 8192 + Math.round(n[2 * C] / d) + g;
6803
+ n[C] = F & 67108863, F < 67108864 ? g = 0 : g = F / 67108864 | 0;
6804
6804
  }
6805
6805
  return n;
6806
- }, S.prototype.convert13b = function(n, d, g, B) {
6806
+ }, S.prototype.convert13b = function(n, d, g, C) {
6807
6807
  for (var F = 0, z = 0; z < d; z++)
6808
6808
  F = F + (n[z] | 0), g[2 * z] = F & 8191, F = F >>> 13, g[2 * z + 1] = F & 8191, F = F >>> 13;
6809
- for (z = 2 * d; z < B; ++z)
6809
+ for (z = 2 * d; z < C; ++z)
6810
6810
  g[z] = 0;
6811
6811
  r(F === 0), r((F & -8192) === 0);
6812
6812
  }, S.prototype.stub = function(n) {
@@ -6814,13 +6814,13 @@ Hf.exports;
6814
6814
  d[g] = 0;
6815
6815
  return d;
6816
6816
  }, S.prototype.mulp = function(n, d, g) {
6817
- var B = 2 * this.guessLen13b(n.length, d.length), F = this.makeRBT(B), z = this.stub(B), N = new Array(B), D = new Array(B), h = new Array(B), E = new Array(B), j = new Array(B), Y = new Array(B), W = g.words;
6818
- W.length = B, this.convert13b(n.words, n.length, N, B), this.convert13b(d.words, d.length, E, B), this.transform(N, z, D, h, B, F), this.transform(E, z, j, Y, B, F);
6819
- for (var re = 0; re < B; re++) {
6817
+ var C = 2 * this.guessLen13b(n.length, d.length), F = this.makeRBT(C), z = this.stub(C), N = new Array(C), D = new Array(C), h = new Array(C), E = new Array(C), j = new Array(C), Y = new Array(C), W = g.words;
6818
+ W.length = C, this.convert13b(n.words, n.length, N, C), this.convert13b(d.words, d.length, E, C), this.transform(N, z, D, h, C, F), this.transform(E, z, j, Y, C, F);
6819
+ for (var re = 0; re < C; re++) {
6820
6820
  var ce = D[re] * j[re] - h[re] * Y[re];
6821
6821
  h[re] = D[re] * Y[re] + h[re] * j[re], D[re] = ce;
6822
6822
  }
6823
- return this.conjugate(D, h, B), this.transform(D, h, W, z, B, F), this.conjugate(W, z, B), this.normalize13b(W, B), g.negative = n.negative ^ d.negative, g.length = n.length + d.length, g.strip();
6823
+ return this.conjugate(D, h, C), this.transform(D, h, W, z, C, F), this.conjugate(W, z, C), this.normalize13b(W, C), g.negative = n.negative ^ d.negative, g.length = n.length + d.length, g.strip();
6824
6824
  }, i.prototype.mul = function(n) {
6825
6825
  var d = new i(null);
6826
6826
  return d.words = new Array(this.length + n.length), this.mulTo(n, d);
@@ -6832,8 +6832,8 @@ Hf.exports;
6832
6832
  }, i.prototype.imuln = function(n) {
6833
6833
  r(typeof n == "number"), r(n < 67108864);
6834
6834
  for (var d = 0, g = 0; g < this.length; g++) {
6835
- var B = (this.words[g] | 0) * n, F = (B & 67108863) + (d & 67108863);
6836
- d >>= 26, d += B / 67108864 | 0, d += F >>> 26, this.words[g] = F & 67108863;
6835
+ var C = (this.words[g] | 0) * n, F = (C & 67108863) + (d & 67108863);
6836
+ d >>= 26, d += C / 67108864 | 0, d += F >>> 26, this.words[g] = F & 67108863;
6837
6837
  }
6838
6838
  return d !== 0 && (this.words[g] = d, this.length++), this;
6839
6839
  }, i.prototype.muln = function(n) {
@@ -6843,22 +6843,22 @@ Hf.exports;
6843
6843
  }, i.prototype.isqr = function() {
6844
6844
  return this.imul(this.clone());
6845
6845
  }, i.prototype.pow = function(n) {
6846
- var d = C(n);
6846
+ var d = B(n);
6847
6847
  if (d.length === 0)
6848
6848
  return new i(1);
6849
- for (var g = this, B = 0; B < d.length && d[B] === 0; B++, g = g.sqr())
6849
+ for (var g = this, C = 0; C < d.length && d[C] === 0; C++, g = g.sqr())
6850
6850
  ;
6851
- if (++B < d.length)
6852
- for (var F = g.sqr(); B < d.length; B++, F = F.sqr())
6853
- d[B] !== 0 && (g = g.mul(F));
6851
+ if (++C < d.length)
6852
+ for (var F = g.sqr(); C < d.length; C++, F = F.sqr())
6853
+ d[C] !== 0 && (g = g.mul(F));
6854
6854
  return g;
6855
6855
  }, i.prototype.iushln = function(n) {
6856
6856
  r(typeof n == "number" && n >= 0);
6857
- var d = n % 26, g = (n - d) / 26, B = 67108863 >>> 26 - d << 26 - d, F;
6857
+ var d = n % 26, g = (n - d) / 26, C = 67108863 >>> 26 - d << 26 - d, F;
6858
6858
  if (d !== 0) {
6859
6859
  var z = 0;
6860
6860
  for (F = 0; F < this.length; F++) {
6861
- var N = this.words[F] & B, D = (this.words[F] | 0) - N << d;
6861
+ var N = this.words[F] & C, D = (this.words[F] | 0) - N << d;
6862
6862
  this.words[F] = D | z, z = N >>> 26 - d;
6863
6863
  }
6864
6864
  z && (this.words[F] = z, this.length++);
@@ -6875,10 +6875,10 @@ Hf.exports;
6875
6875
  return r(this.negative === 0), this.iushln(n);
6876
6876
  }, i.prototype.iushrn = function(n, d, g) {
6877
6877
  r(typeof n == "number" && n >= 0);
6878
- var B;
6879
- d ? B = (d - d % 26) / 26 : B = 0;
6878
+ var C;
6879
+ d ? C = (d - d % 26) / 26 : C = 0;
6880
6880
  var F = n % 26, z = Math.min((n - F) / 26, this.length), N = 67108863 ^ 67108863 >>> F << F, D = g;
6881
- if (B -= z, B = Math.max(0, B), D) {
6881
+ if (C -= z, C = Math.max(0, C), D) {
6882
6882
  for (var h = 0; h < z; h++)
6883
6883
  D.words[h] = this.words[h];
6884
6884
  D.length = z;
@@ -6890,7 +6890,7 @@ Hf.exports;
6890
6890
  else
6891
6891
  this.words[0] = 0, this.length = 1;
6892
6892
  var E = 0;
6893
- for (h = this.length - 1; h >= 0 && (E !== 0 || h >= B); h--) {
6893
+ for (h = this.length - 1; h >= 0 && (E !== 0 || h >= C); h--) {
6894
6894
  var j = this.words[h] | 0;
6895
6895
  this.words[h] = E << 26 - F | j >>> F, E = j & N;
6896
6896
  }
@@ -6907,19 +6907,19 @@ Hf.exports;
6907
6907
  return this.clone().iushrn(n);
6908
6908
  }, i.prototype.testn = function(n) {
6909
6909
  r(typeof n == "number" && n >= 0);
6910
- var d = n % 26, g = (n - d) / 26, B = 1 << d;
6910
+ var d = n % 26, g = (n - d) / 26, C = 1 << d;
6911
6911
  if (this.length <= g)
6912
6912
  return !1;
6913
6913
  var F = this.words[g];
6914
- return !!(F & B);
6914
+ return !!(F & C);
6915
6915
  }, i.prototype.imaskn = function(n) {
6916
6916
  r(typeof n == "number" && n >= 0);
6917
6917
  var d = n % 26, g = (n - d) / 26;
6918
6918
  if (r(this.negative === 0, "imaskn works only with positive numbers"), this.length <= g)
6919
6919
  return this;
6920
6920
  if (d !== 0 && g++, this.length = Math.min(g, this.length), d !== 0) {
6921
- var B = 67108863 ^ 67108863 >>> d << d;
6922
- this.words[this.length - 1] &= B;
6921
+ var C = 67108863 ^ 67108863 >>> d << d;
6922
+ this.words[this.length - 1] &= C;
6923
6923
  }
6924
6924
  return this.strip();
6925
6925
  }, i.prototype.maskn = function(n) {
@@ -6951,8 +6951,8 @@ Hf.exports;
6951
6951
  }, i.prototype.abs = function() {
6952
6952
  return this.clone().iabs();
6953
6953
  }, i.prototype._ishlnsubmul = function(n, d, g) {
6954
- var B = n.length + g, F;
6955
- this._expand(B);
6954
+ var C = n.length + g, F;
6955
+ this._expand(C);
6956
6956
  var z, N = 0;
6957
6957
  for (F = 0; F < n.length; F++) {
6958
6958
  z = (this.words[F + g] | 0) + N;
@@ -6967,25 +6967,25 @@ Hf.exports;
6967
6967
  z = -(this.words[F] | 0) + N, N = z >> 26, this.words[F] = z & 67108863;
6968
6968
  return this.negative = 1, this.strip();
6969
6969
  }, i.prototype._wordDiv = function(n, d) {
6970
- var g = this.length - n.length, B = this.clone(), F = n, z = F.words[F.length - 1] | 0, N = this._countBits(z);
6971
- g = 26 - N, g !== 0 && (F = F.ushln(g), B.iushln(g), z = F.words[F.length - 1] | 0);
6972
- var D = B.length - F.length, h;
6970
+ var g = this.length - n.length, C = this.clone(), F = n, z = F.words[F.length - 1] | 0, N = this._countBits(z);
6971
+ g = 26 - N, g !== 0 && (F = F.ushln(g), C.iushln(g), z = F.words[F.length - 1] | 0);
6972
+ var D = C.length - F.length, h;
6973
6973
  if (d !== "mod") {
6974
6974
  h = new i(null), h.length = D + 1, h.words = new Array(h.length);
6975
6975
  for (var E = 0; E < h.length; E++)
6976
6976
  h.words[E] = 0;
6977
6977
  }
6978
- var j = B.clone()._ishlnsubmul(F, 1, D);
6979
- j.negative === 0 && (B = j, h && (h.words[D] = 1));
6978
+ var j = C.clone()._ishlnsubmul(F, 1, D);
6979
+ j.negative === 0 && (C = j, h && (h.words[D] = 1));
6980
6980
  for (var Y = D - 1; Y >= 0; Y--) {
6981
- var W = (B.words[F.length + Y] | 0) * 67108864 + (B.words[F.length + Y - 1] | 0);
6982
- for (W = Math.min(W / z | 0, 67108863), B._ishlnsubmul(F, W, Y); B.negative !== 0; )
6983
- W--, B.negative = 0, B._ishlnsubmul(F, 1, Y), B.isZero() || (B.negative ^= 1);
6981
+ var W = (C.words[F.length + Y] | 0) * 67108864 + (C.words[F.length + Y - 1] | 0);
6982
+ for (W = Math.min(W / z | 0, 67108863), C._ishlnsubmul(F, W, Y); C.negative !== 0; )
6983
+ W--, C.negative = 0, C._ishlnsubmul(F, 1, Y), C.isZero() || (C.negative ^= 1);
6984
6984
  h && (h.words[Y] = W);
6985
6985
  }
6986
- return h && h.strip(), B.strip(), d !== "div" && g !== 0 && B.iushrn(g), {
6986
+ return h && h.strip(), C.strip(), d !== "div" && g !== 0 && C.iushrn(g), {
6987
6987
  div: h || null,
6988
- mod: B
6988
+ mod: C
6989
6989
  };
6990
6990
  }, i.prototype.divmod = function(n, d, g) {
6991
6991
  if (r(!n.isZero()), this.isZero())
@@ -6993,12 +6993,12 @@ Hf.exports;
6993
6993
  div: new i(0),
6994
6994
  mod: new i(0)
6995
6995
  };
6996
- var B, F, z;
6997
- return this.negative !== 0 && n.negative === 0 ? (z = this.neg().divmod(n, d), d !== "mod" && (B = z.div.neg()), d !== "div" && (F = z.mod.neg(), g && F.negative !== 0 && F.iadd(n)), {
6998
- div: B,
6996
+ var C, F, z;
6997
+ return this.negative !== 0 && n.negative === 0 ? (z = this.neg().divmod(n, d), d !== "mod" && (C = z.div.neg()), d !== "div" && (F = z.mod.neg(), g && F.negative !== 0 && F.iadd(n)), {
6998
+ div: C,
6999
6999
  mod: F
7000
- }) : this.negative === 0 && n.negative !== 0 ? (z = this.divmod(n.neg(), d), d !== "mod" && (B = z.div.neg()), {
7001
- div: B,
7000
+ }) : this.negative === 0 && n.negative !== 0 ? (z = this.divmod(n.neg(), d), d !== "mod" && (C = z.div.neg()), {
7001
+ div: C,
7002
7002
  mod: z.mod
7003
7003
  }) : this.negative & n.negative ? (z = this.neg().divmod(n.neg(), d), d !== "div" && (F = z.mod.neg(), g && F.negative !== 0 && F.isub(n)), {
7004
7004
  div: z.div,
@@ -7026,18 +7026,18 @@ Hf.exports;
7026
7026
  var d = this.divmod(n);
7027
7027
  if (d.mod.isZero())
7028
7028
  return d.div;
7029
- var g = d.div.negative !== 0 ? d.mod.isub(n) : d.mod, B = n.ushrn(1), F = n.andln(1), z = g.cmp(B);
7029
+ var g = d.div.negative !== 0 ? d.mod.isub(n) : d.mod, C = n.ushrn(1), F = n.andln(1), z = g.cmp(C);
7030
7030
  return z < 0 || F === 1 && z === 0 ? d.div : d.div.negative !== 0 ? d.div.isubn(1) : d.div.iaddn(1);
7031
7031
  }, i.prototype.modn = function(n) {
7032
7032
  r(n <= 67108863);
7033
- for (var d = (1 << 26) % n, g = 0, B = this.length - 1; B >= 0; B--)
7034
- g = (d * g + (this.words[B] | 0)) % n;
7033
+ for (var d = (1 << 26) % n, g = 0, C = this.length - 1; C >= 0; C--)
7034
+ g = (d * g + (this.words[C] | 0)) % n;
7035
7035
  return g;
7036
7036
  }, i.prototype.idivn = function(n) {
7037
7037
  r(n <= 67108863);
7038
7038
  for (var d = 0, g = this.length - 1; g >= 0; g--) {
7039
- var B = (this.words[g] | 0) + d * 67108864;
7040
- this.words[g] = B / n | 0, d = B % n;
7039
+ var C = (this.words[g] | 0) + d * 67108864;
7040
+ this.words[g] = C / n | 0, d = C % n;
7041
7041
  }
7042
7042
  return this.strip();
7043
7043
  }, i.prototype.divn = function(n) {
@@ -7046,20 +7046,20 @@ Hf.exports;
7046
7046
  r(n.negative === 0), r(!n.isZero());
7047
7047
  var d = this, g = n.clone();
7048
7048
  d.negative !== 0 ? d = d.umod(n) : d = d.clone();
7049
- for (var B = new i(1), F = new i(0), z = new i(0), N = new i(1), D = 0; d.isEven() && g.isEven(); )
7049
+ for (var C = new i(1), F = new i(0), z = new i(0), N = new i(1), D = 0; d.isEven() && g.isEven(); )
7050
7050
  d.iushrn(1), g.iushrn(1), ++D;
7051
7051
  for (var h = g.clone(), E = d.clone(); !d.isZero(); ) {
7052
7052
  for (var j = 0, Y = 1; !(d.words[0] & Y) && j < 26; ++j, Y <<= 1)
7053
7053
  ;
7054
7054
  if (j > 0)
7055
7055
  for (d.iushrn(j); j-- > 0; )
7056
- (B.isOdd() || F.isOdd()) && (B.iadd(h), F.isub(E)), B.iushrn(1), F.iushrn(1);
7056
+ (C.isOdd() || F.isOdd()) && (C.iadd(h), F.isub(E)), C.iushrn(1), F.iushrn(1);
7057
7057
  for (var W = 0, re = 1; !(g.words[0] & re) && W < 26; ++W, re <<= 1)
7058
7058
  ;
7059
7059
  if (W > 0)
7060
7060
  for (g.iushrn(W); W-- > 0; )
7061
7061
  (z.isOdd() || N.isOdd()) && (z.iadd(h), N.isub(E)), z.iushrn(1), N.iushrn(1);
7062
- d.cmp(g) >= 0 ? (d.isub(g), B.isub(z), F.isub(N)) : (g.isub(d), z.isub(B), N.isub(F));
7062
+ d.cmp(g) >= 0 ? (d.isub(g), C.isub(z), F.isub(N)) : (g.isub(d), z.isub(C), N.isub(F));
7063
7063
  }
7064
7064
  return {
7065
7065
  a: z,
@@ -7070,21 +7070,21 @@ Hf.exports;
7070
7070
  r(n.negative === 0), r(!n.isZero());
7071
7071
  var d = this, g = n.clone();
7072
7072
  d.negative !== 0 ? d = d.umod(n) : d = d.clone();
7073
- for (var B = new i(1), F = new i(0), z = g.clone(); d.cmpn(1) > 0 && g.cmpn(1) > 0; ) {
7073
+ for (var C = new i(1), F = new i(0), z = g.clone(); d.cmpn(1) > 0 && g.cmpn(1) > 0; ) {
7074
7074
  for (var N = 0, D = 1; !(d.words[0] & D) && N < 26; ++N, D <<= 1)
7075
7075
  ;
7076
7076
  if (N > 0)
7077
7077
  for (d.iushrn(N); N-- > 0; )
7078
- B.isOdd() && B.iadd(z), B.iushrn(1);
7078
+ C.isOdd() && C.iadd(z), C.iushrn(1);
7079
7079
  for (var h = 0, E = 1; !(g.words[0] & E) && h < 26; ++h, E <<= 1)
7080
7080
  ;
7081
7081
  if (h > 0)
7082
7082
  for (g.iushrn(h); h-- > 0; )
7083
7083
  F.isOdd() && F.iadd(z), F.iushrn(1);
7084
- d.cmp(g) >= 0 ? (d.isub(g), B.isub(F)) : (g.isub(d), F.isub(B));
7084
+ d.cmp(g) >= 0 ? (d.isub(g), C.isub(F)) : (g.isub(d), F.isub(C));
7085
7085
  }
7086
7086
  var j;
7087
- return d.cmpn(1) === 0 ? j = B : j = F, j.cmpn(0) < 0 && j.iadd(n), j;
7087
+ return d.cmpn(1) === 0 ? j = C : j = F, j.cmpn(0) < 0 && j.iadd(n), j;
7088
7088
  }, i.prototype.gcd = function(n) {
7089
7089
  if (this.isZero())
7090
7090
  return n.abs();
@@ -7092,7 +7092,7 @@ Hf.exports;
7092
7092
  return this.abs();
7093
7093
  var d = this.clone(), g = n.clone();
7094
7094
  d.negative = 0, g.negative = 0;
7095
- for (var B = 0; d.isEven() && g.isEven(); B++)
7095
+ for (var C = 0; d.isEven() && g.isEven(); C++)
7096
7096
  d.iushrn(1), g.iushrn(1);
7097
7097
  do {
7098
7098
  for (; d.isEven(); )
@@ -7107,7 +7107,7 @@ Hf.exports;
7107
7107
  break;
7108
7108
  d.isub(g);
7109
7109
  } while (!0);
7110
- return g.iushln(B);
7110
+ return g.iushln(C);
7111
7111
  }, i.prototype.invm = function(n) {
7112
7112
  return this.egcd(n).a.umod(n);
7113
7113
  }, i.prototype.isEven = function() {
@@ -7118,10 +7118,10 @@ Hf.exports;
7118
7118
  return this.words[0] & n;
7119
7119
  }, i.prototype.bincn = function(n) {
7120
7120
  r(typeof n == "number");
7121
- var d = n % 26, g = (n - d) / 26, B = 1 << d;
7121
+ var d = n % 26, g = (n - d) / 26, C = 1 << d;
7122
7122
  if (this.length <= g)
7123
- return this._expand(g + 1), this.words[g] |= B, this;
7124
- for (var F = B, z = g; F !== 0 && z < this.length; z++) {
7123
+ return this._expand(g + 1), this.words[g] |= C, this;
7124
+ for (var F = C, z = g; F !== 0 && z < this.length; z++) {
7125
7125
  var N = this.words[z] | 0;
7126
7126
  N += F, F = N >>> 26, N &= 67108863, this.words[z] = N;
7127
7127
  }
@@ -7140,8 +7140,8 @@ Hf.exports;
7140
7140
  g = 1;
7141
7141
  else {
7142
7142
  d && (n = -n), r(n <= 67108863, "Number is too big");
7143
- var B = this.words[0] | 0;
7144
- g = B === n ? 0 : B < n ? -1 : 1;
7143
+ var C = this.words[0] | 0;
7144
+ g = C === n ? 0 : C < n ? -1 : 1;
7145
7145
  }
7146
7146
  return this.negative !== 0 ? -g | 0 : g;
7147
7147
  }, i.prototype.cmp = function(n) {
@@ -7157,9 +7157,9 @@ Hf.exports;
7157
7157
  if (this.length < n.length)
7158
7158
  return -1;
7159
7159
  for (var d = 0, g = this.length - 1; g >= 0; g--) {
7160
- var B = this.words[g] | 0, F = n.words[g] | 0;
7161
- if (B !== F) {
7162
- B < F ? d = -1 : B > F && (d = 1);
7160
+ var C = this.words[g] | 0, F = n.words[g] | 0;
7161
+ if (C !== F) {
7162
+ C < F ? d = -1 : C > F && (d = 1);
7163
7163
  break;
7164
7164
  }
7165
7165
  }
@@ -7238,8 +7238,8 @@ Hf.exports;
7238
7238
  do
7239
7239
  this.split(d, this.tmp), d = this.imulK(d), d = d.iadd(this.tmp), g = d.bitLength();
7240
7240
  while (g > this.n);
7241
- var B = g < this.n ? -1 : d.ucmp(this.p);
7242
- return B === 0 ? (d.words[0] = 0, d.length = 1) : B > 0 ? d.isub(this.p) : d.strip !== void 0 ? d.strip() : d._strip(), d;
7241
+ var C = g < this.n ? -1 : d.ucmp(this.p);
7242
+ return C === 0 ? (d.words[0] = 0, d.length = 1) : C > 0 ? d.isub(this.p) : d.strip !== void 0 ? d.strip() : d._strip(), d;
7243
7243
  }, T.prototype.split = function(n, d) {
7244
7244
  n.iushrn(this.n, 0, d);
7245
7245
  }, T.prototype.imulK = function(n) {
@@ -7253,9 +7253,9 @@ Hf.exports;
7253
7253
  );
7254
7254
  }
7255
7255
  a(H, T), H.prototype.split = function(n, d) {
7256
- for (var g = 4194303, B = Math.min(n.length, 9), F = 0; F < B; F++)
7256
+ for (var g = 4194303, C = Math.min(n.length, 9), F = 0; F < C; F++)
7257
7257
  d.words[F] = n.words[F];
7258
- if (d.length = B, n.length <= 9) {
7258
+ if (d.length = C, n.length <= 9) {
7259
7259
  n.words[0] = 0, n.length = 1;
7260
7260
  return;
7261
7261
  }
@@ -7268,8 +7268,8 @@ Hf.exports;
7268
7268
  }, H.prototype.imulK = function(n) {
7269
7269
  n.words[n.length] = 0, n.words[n.length + 1] = 0, n.length += 2;
7270
7270
  for (var d = 0, g = 0; g < n.length; g++) {
7271
- var B = n.words[g] | 0;
7272
- d += B * 977, n.words[g] = d & 67108863, d = B * 64 + (d / 67108864 | 0);
7271
+ var C = n.words[g] | 0;
7272
+ d += C * 977, n.words[g] = d & 67108863, d = C * 64 + (d / 67108864 | 0);
7273
7273
  }
7274
7274
  return n.words[n.length - 1] === 0 && (n.length--, n.words[n.length - 1] === 0 && n.length--), n;
7275
7275
  };
@@ -7298,8 +7298,8 @@ Hf.exports;
7298
7298
  }
7299
7299
  a(X, T), X.prototype.imulK = function(n) {
7300
7300
  for (var d = 0, g = 0; g < n.length; g++) {
7301
- var B = (n.words[g] | 0) * 19 + d, F = B & 67108863;
7302
- B >>>= 26, n.words[g] = F, d = B;
7301
+ var C = (n.words[g] | 0) * 19 + d, F = C & 67108863;
7302
+ C >>>= 26, n.words[g] = F, d = C;
7303
7303
  }
7304
7304
  return d !== 0 && (n.words[n.length++] = d), n;
7305
7305
  }, i._prime = function(n) {
@@ -7370,13 +7370,13 @@ Hf.exports;
7370
7370
  var g = this.m.add(new i(1)).iushrn(2);
7371
7371
  return this.pow(n, g);
7372
7372
  }
7373
- for (var B = this.m.subn(1), F = 0; !B.isZero() && B.andln(1) === 0; )
7374
- F++, B.iushrn(1);
7375
- r(!B.isZero());
7373
+ for (var C = this.m.subn(1), F = 0; !C.isZero() && C.andln(1) === 0; )
7374
+ F++, C.iushrn(1);
7375
+ r(!C.isZero());
7376
7376
  var z = new i(1).toRed(this), N = z.redNeg(), D = this.m.subn(1).iushrn(1), h = this.m.bitLength();
7377
7377
  for (h = new i(2 * h * h).toRed(this); this.pow(h, D).cmp(N) !== 0; )
7378
7378
  h.redIAdd(N);
7379
- for (var E = this.pow(h, B), j = this.pow(n, B.addn(1).iushrn(1)), Y = this.pow(n, B), W = F; Y.cmp(z) !== 0; ) {
7379
+ for (var E = this.pow(h, C), j = this.pow(n, C.addn(1).iushrn(1)), Y = this.pow(n, C), W = F; Y.cmp(z) !== 0; ) {
7380
7380
  for (var re = Y, ce = 0; re.cmp(z) !== 0; ce++)
7381
7381
  re = re.redSqr();
7382
7382
  r(ce < W);
@@ -7392,19 +7392,19 @@ Hf.exports;
7392
7392
  return new i(1).toRed(this);
7393
7393
  if (d.cmpn(1) === 0)
7394
7394
  return n.clone();
7395
- var g = 4, B = new Array(1 << g);
7396
- B[0] = new i(1).toRed(this), B[1] = n;
7397
- for (var F = 2; F < B.length; F++)
7398
- B[F] = this.mul(B[F - 1], n);
7399
- var z = B[0], N = 0, D = 0, h = d.bitLength() % 26;
7395
+ var g = 4, C = new Array(1 << g);
7396
+ C[0] = new i(1).toRed(this), C[1] = n;
7397
+ for (var F = 2; F < C.length; F++)
7398
+ C[F] = this.mul(C[F - 1], n);
7399
+ var z = C[0], N = 0, D = 0, h = d.bitLength() % 26;
7400
7400
  for (h === 0 && (h = 26), F = d.length - 1; F >= 0; F--) {
7401
7401
  for (var E = d.words[F], j = h - 1; j >= 0; j--) {
7402
7402
  var Y = E >> j & 1;
7403
- if (z !== B[0] && (z = this.sqr(z)), Y === 0 && N === 0) {
7403
+ if (z !== C[0] && (z = this.sqr(z)), Y === 0 && N === 0) {
7404
7404
  D = 0;
7405
7405
  continue;
7406
7406
  }
7407
- N <<= 1, N |= Y, D++, !(D !== g && (F !== 0 || j !== 0)) && (z = this.mul(z, B[N]), D = 0, N = 0);
7407
+ N <<= 1, N |= Y, D++, !(D !== g && (F !== 0 || j !== 0)) && (z = this.mul(z, C[N]), D = 0, N = 0);
7408
7408
  }
7409
7409
  h = 26;
7410
7410
  }
@@ -7429,12 +7429,12 @@ Hf.exports;
7429
7429
  }, U.prototype.imul = function(n, d) {
7430
7430
  if (n.isZero() || d.isZero())
7431
7431
  return n.words[0] = 0, n.length = 1, n;
7432
- var g = n.imul(d), B = g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), F = g.isub(B).iushrn(this.shift), z = F;
7432
+ var g = n.imul(d), C = g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), F = g.isub(C).iushrn(this.shift), z = F;
7433
7433
  return F.cmp(this.m) >= 0 ? z = F.isub(this.m) : F.cmpn(0) < 0 && (z = F.iadd(this.m)), z._forceRed(this);
7434
7434
  }, U.prototype.mul = function(n, d) {
7435
7435
  if (n.isZero() || d.isZero())
7436
7436
  return new i(0)._forceRed(this);
7437
- var g = n.mul(d), B = g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), F = g.isub(B).iushrn(this.shift), z = F;
7437
+ var g = n.mul(d), C = g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), F = g.isub(C).iushrn(this.shift), z = F;
7438
7438
  return F.cmp(this.m) >= 0 ? z = F.isub(this.m) : F.cmpn(0) < 0 && (z = F.iadd(this.m)), z._forceRed(this);
7439
7439
  }, U.prototype.invm = function(n) {
7440
7440
  var d = this.imod(n._invmp(this.m).mul(this.r2));
@@ -7494,15 +7494,15 @@ var Uf = {};
7494
7494
  var e = f, t = pt, r = Pt, a = Uf;
7495
7495
  e.assert = r, e.toArray = a.toArray, e.zero2 = a.zero2, e.toHex = a.toHex, e.encode = a.encode;
7496
7496
  function i(c, v, b) {
7497
- var C = new Array(Math.max(c.bitLength(), b) + 1), w;
7498
- for (w = 0; w < C.length; w += 1)
7499
- C[w] = 0;
7497
+ var B = new Array(Math.max(c.bitLength(), b) + 1), w;
7498
+ for (w = 0; w < B.length; w += 1)
7499
+ B[w] = 0;
7500
7500
  var R = 1 << v + 1, k = c.clone();
7501
- for (w = 0; w < C.length; w++) {
7501
+ for (w = 0; w < B.length; w++) {
7502
7502
  var q, S = k.andln(R - 1);
7503
- k.isOdd() ? (S > (R >> 1) - 1 ? q = (R >> 1) - S : q = S, k.isubn(q)) : q = 0, C[w] = q, k.iushrn(1);
7503
+ k.isOdd() ? (S > (R >> 1) - 1 ? q = (R >> 1) - S : q = S, k.isubn(q)) : q = 0, B[w] = q, k.iushrn(1);
7504
7504
  }
7505
- return C;
7505
+ return B;
7506
7506
  }
7507
7507
  e.getNAF = i;
7508
7508
  function y(c, v) {
@@ -7511,21 +7511,21 @@ var Uf = {};
7511
7511
  []
7512
7512
  ];
7513
7513
  c = c.clone(), v = v.clone();
7514
- for (var C = 0, w = 0, R; c.cmpn(-C) > 0 || v.cmpn(-w) > 0; ) {
7515
- var k = c.andln(3) + C & 3, q = v.andln(3) + w & 3;
7514
+ for (var B = 0, w = 0, R; c.cmpn(-B) > 0 || v.cmpn(-w) > 0; ) {
7515
+ var k = c.andln(3) + B & 3, q = v.andln(3) + w & 3;
7516
7516
  k === 3 && (k = -1), q === 3 && (q = -1);
7517
7517
  var S;
7518
- k & 1 ? (R = c.andln(7) + C & 7, (R === 3 || R === 5) && q === 2 ? S = -k : S = k) : S = 0, b[0].push(S);
7518
+ k & 1 ? (R = c.andln(7) + B & 7, (R === 3 || R === 5) && q === 2 ? S = -k : S = k) : S = 0, b[0].push(S);
7519
7519
  var P;
7520
- q & 1 ? (R = v.andln(7) + w & 7, (R === 3 || R === 5) && k === 2 ? P = -q : P = q) : P = 0, b[1].push(P), 2 * C === S + 1 && (C = 1 - C), 2 * w === P + 1 && (w = 1 - w), c.iushrn(1), v.iushrn(1);
7520
+ q & 1 ? (R = v.andln(7) + w & 7, (R === 3 || R === 5) && k === 2 ? P = -q : P = q) : P = 0, b[1].push(P), 2 * B === S + 1 && (B = 1 - B), 2 * w === P + 1 && (w = 1 - w), c.iushrn(1), v.iushrn(1);
7521
7521
  }
7522
7522
  return b;
7523
7523
  }
7524
7524
  e.getJSF = y;
7525
7525
  function x(c, v, b) {
7526
- var C = "_" + v;
7526
+ var B = "_" + v;
7527
7527
  c.prototype[v] = function() {
7528
- return this[C] !== void 0 ? this[C] : this[C] = b.call(this);
7528
+ return this[B] !== void 0 ? this[B] : this[B] = b.call(this);
7529
7529
  };
7530
7530
  }
7531
7531
  e.cachedProperty = x;
@@ -7624,8 +7624,8 @@ Et.prototype._wnafMulAdd = function(e, t, r, a, i) {
7624
7624
  var y = this._wnafT1, x = this._wnafT2, u = this._wnafT3, o = 0, c, v, b;
7625
7625
  for (c = 0; c < a; c++) {
7626
7626
  b = t[c];
7627
- var C = b._getNAFPoints(e);
7628
- y[c] = C.wnd, x[c] = C.points;
7627
+ var B = b._getNAFPoints(e);
7628
+ y[c] = B.wnd, x[c] = B.points;
7629
7629
  }
7630
7630
  for (c = a - 1; c >= 1; c -= 2) {
7631
7631
  var w = c - 1, R = c;
@@ -7828,7 +7828,7 @@ X0.prototype._getEndoRoots = function(e) {
7828
7828
  return [y, x];
7829
7829
  };
7830
7830
  X0.prototype._getEndoBasis = function(e) {
7831
- for (var t = this.n.ushrn(Math.floor(this.n.bitLength() / 2)), r = e, a = this.n.clone(), i = new g0(1), y = new g0(0), x = new g0(0), u = new g0(1), o, c, v, b, C, w, R, k = 0, q, S; r.cmpn(0) !== 0; ) {
7831
+ for (var t = this.n.ushrn(Math.floor(this.n.bitLength() / 2)), r = e, a = this.n.clone(), i = new g0(1), y = new g0(0), x = new g0(0), u = new g0(1), o, c, v, b, B, w, R, k = 0, q, S; r.cmpn(0) !== 0; ) {
7832
7832
  var P = a.div(r);
7833
7833
  q = a.sub(P.mul(r)), S = x.sub(P.mul(i));
7834
7834
  var T = u.sub(P.mul(y));
@@ -7838,11 +7838,11 @@ X0.prototype._getEndoBasis = function(e) {
7838
7838
  break;
7839
7839
  R = q, a = r, r = q, x = i, i = S, u = y, y = T;
7840
7840
  }
7841
- C = q.neg(), w = S;
7842
- var H = v.sqr().add(b.sqr()), $ = C.sqr().add(w.sqr());
7843
- return $.cmp(H) >= 0 && (C = o, w = c), v.negative && (v = v.neg(), b = b.neg()), C.negative && (C = C.neg(), w = w.neg()), [
7841
+ B = q.neg(), w = S;
7842
+ var H = v.sqr().add(b.sqr()), $ = B.sqr().add(w.sqr());
7843
+ return $.cmp(H) >= 0 && (B = o, w = c), v.negative && (v = v.neg(), b = b.neg()), B.negative && (B = B.neg(), w = w.neg()), [
7844
7844
  { a: v, b },
7845
- { a: C, b: w }
7845
+ { a: B, b: w }
7846
7846
  ];
7847
7847
  };
7848
7848
  X0.prototype._endoSplit = function(e) {
@@ -8042,8 +8042,8 @@ R0.prototype.add = function(e) {
8042
8042
  var t = e.z.redSqr(), r = this.z.redSqr(), a = this.x.redMul(t), i = e.x.redMul(r), y = this.y.redMul(t.redMul(e.z)), x = e.y.redMul(r.redMul(this.z)), u = a.redSub(i), o = y.redSub(x);
8043
8043
  if (u.cmpn(0) === 0)
8044
8044
  return o.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl();
8045
- var c = u.redSqr(), v = c.redMul(u), b = a.redMul(c), C = o.redSqr().redIAdd(v).redISub(b).redISub(b), w = o.redMul(b.redISub(C)).redISub(y.redMul(v)), R = this.z.redMul(e.z).redMul(u);
8046
- return this.curve.jpoint(C, w, R);
8045
+ var c = u.redSqr(), v = c.redMul(u), b = a.redMul(c), B = o.redSqr().redIAdd(v).redISub(b).redISub(b), w = o.redMul(b.redISub(B)).redISub(y.redMul(v)), R = this.z.redMul(e.z).redMul(u);
8046
+ return this.curve.jpoint(B, w, R);
8047
8047
  };
8048
8048
  R0.prototype.mixedAdd = function(e) {
8049
8049
  if (this.isInfinity())
@@ -8053,8 +8053,8 @@ R0.prototype.mixedAdd = function(e) {
8053
8053
  var t = this.z.redSqr(), r = this.x, a = e.x.redMul(t), i = this.y, y = e.y.redMul(t).redMul(this.z), x = r.redSub(a), u = i.redSub(y);
8054
8054
  if (x.cmpn(0) === 0)
8055
8055
  return u.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl();
8056
- var o = x.redSqr(), c = o.redMul(x), v = r.redMul(o), b = u.redSqr().redIAdd(c).redISub(v).redISub(v), C = u.redMul(v.redISub(b)).redISub(i.redMul(c)), w = this.z.redMul(x);
8057
- return this.curve.jpoint(b, C, w);
8056
+ var o = x.redSqr(), c = o.redMul(x), v = r.redMul(o), b = u.redSqr().redIAdd(c).redISub(v).redISub(v), B = u.redMul(v.redISub(b)).redISub(i.redMul(c)), w = this.z.redMul(x);
8057
+ return this.curve.jpoint(b, B, w);
8058
8058
  };
8059
8059
  R0.prototype.dblp = function(e) {
8060
8060
  if (e === 0)
@@ -8072,10 +8072,10 @@ R0.prototype.dblp = function(e) {
8072
8072
  }
8073
8073
  var a = this.curve.a, i = this.curve.tinv, y = this.x, x = this.y, u = this.z, o = u.redSqr().redSqr(), c = x.redAdd(x);
8074
8074
  for (t = 0; t < e; t++) {
8075
- var v = y.redSqr(), b = c.redSqr(), C = b.redSqr(), w = v.redAdd(v).redIAdd(v).redIAdd(a.redMul(o)), R = y.redMul(b), k = w.redSqr().redISub(R.redAdd(R)), q = R.redISub(k), S = w.redMul(q);
8076
- S = S.redIAdd(S).redISub(C);
8075
+ var v = y.redSqr(), b = c.redSqr(), B = b.redSqr(), w = v.redAdd(v).redIAdd(v).redIAdd(a.redMul(o)), R = y.redMul(b), k = w.redSqr().redISub(R.redAdd(R)), q = R.redISub(k), S = w.redMul(q);
8076
+ S = S.redIAdd(S).redISub(B);
8077
8077
  var P = c.redMul(u);
8078
- t + 1 < e && (o = o.redMul(C)), y = k, u = P, c = S;
8078
+ t + 1 < e && (o = o.redMul(B)), y = k, u = P, c = S;
8079
8079
  }
8080
8080
  return this.curve.jpoint(y, c.redMul(i), u);
8081
8081
  };
@@ -8090,9 +8090,9 @@ R0.prototype._zeroDbl = function() {
8090
8090
  var u = a.redAdd(a).redIAdd(a), o = u.redSqr().redISub(x).redISub(x), c = y.redIAdd(y);
8091
8091
  c = c.redIAdd(c), c = c.redIAdd(c), e = o, t = u.redMul(x.redISub(o)).redISub(c), r = this.y.redAdd(this.y);
8092
8092
  } else {
8093
- var v = this.x.redSqr(), b = this.y.redSqr(), C = b.redSqr(), w = this.x.redAdd(b).redSqr().redISub(v).redISub(C);
8093
+ var v = this.x.redSqr(), b = this.y.redSqr(), B = b.redSqr(), w = this.x.redAdd(b).redSqr().redISub(v).redISub(B);
8094
8094
  w = w.redIAdd(w);
8095
- var R = v.redAdd(v).redIAdd(v), k = R.redSqr(), q = C.redIAdd(C);
8095
+ var R = v.redAdd(v).redIAdd(v), k = R.redSqr(), q = B.redIAdd(B);
8096
8096
  q = q.redIAdd(q), q = q.redIAdd(q), e = k.redISub(w).redISub(w), t = R.redMul(w.redISub(e)).redISub(q), r = this.y.redMul(this.z), r = r.redIAdd(r);
8097
8097
  }
8098
8098
  return this.curve.jpoint(e, t, r);
@@ -8107,9 +8107,9 @@ R0.prototype._threeDbl = function() {
8107
8107
  var c = y.redIAdd(y);
8108
8108
  c = c.redIAdd(c), c = c.redIAdd(c), t = u.redMul(x.redISub(o)).redISub(c), r = this.y.redAdd(this.y);
8109
8109
  } else {
8110
- var v = this.z.redSqr(), b = this.y.redSqr(), C = this.x.redMul(b), w = this.x.redSub(v).redMul(this.x.redAdd(v));
8110
+ var v = this.z.redSqr(), b = this.y.redSqr(), B = this.x.redMul(b), w = this.x.redSub(v).redMul(this.x.redAdd(v));
8111
8111
  w = w.redAdd(w).redIAdd(w);
8112
- var R = C.redIAdd(C);
8112
+ var R = B.redIAdd(B);
8113
8113
  R = R.redIAdd(R);
8114
8114
  var k = R.redAdd(R);
8115
8115
  e = w.redSqr().redISub(k), r = this.y.redAdd(this.z).redSqr().redISub(b).redISub(v);
@@ -8121,9 +8121,9 @@ R0.prototype._threeDbl = function() {
8121
8121
  R0.prototype._dbl = function() {
8122
8122
  var e = this.curve.a, t = this.x, r = this.y, a = this.z, i = a.redSqr().redSqr(), y = t.redSqr(), x = r.redSqr(), u = y.redAdd(y).redIAdd(y).redIAdd(e.redMul(i)), o = t.redAdd(t);
8123
8123
  o = o.redIAdd(o);
8124
- var c = o.redMul(x), v = u.redSqr().redISub(c.redAdd(c)), b = c.redISub(v), C = x.redSqr();
8125
- C = C.redIAdd(C), C = C.redIAdd(C), C = C.redIAdd(C);
8126
- var w = u.redMul(b).redISub(C), R = r.redAdd(r).redMul(a);
8124
+ var c = o.redMul(x), v = u.redSqr().redISub(c.redAdd(c)), b = c.redISub(v), B = x.redSqr();
8125
+ B = B.redIAdd(B), B = B.redIAdd(B), B = B.redIAdd(B);
8126
+ var w = u.redMul(b).redISub(B), R = r.redAdd(r).redMul(a);
8127
8127
  return this.curve.jpoint(v, w, R);
8128
8128
  };
8129
8129
  R0.prototype.trpl = function() {
@@ -8137,10 +8137,10 @@ R0.prototype.trpl = function() {
8137
8137
  v = v.redIAdd(v), v = v.redIAdd(v);
8138
8138
  var b = this.x.redMul(u).redISub(v);
8139
8139
  b = b.redIAdd(b), b = b.redIAdd(b);
8140
- var C = this.y.redMul(c.redMul(o.redISub(c)).redISub(x.redMul(u)));
8141
- C = C.redIAdd(C), C = C.redIAdd(C), C = C.redIAdd(C);
8140
+ var B = this.y.redMul(c.redMul(o.redISub(c)).redISub(x.redMul(u)));
8141
+ B = B.redIAdd(B), B = B.redIAdd(B), B = B.redIAdd(B);
8142
8142
  var w = this.z.redAdd(x).redSqr().redISub(r).redISub(u);
8143
- return this.curve.jpoint(b, C, w);
8143
+ return this.curve.jpoint(b, B, w);
8144
8144
  };
8145
8145
  R0.prototype.mul = function(e, t) {
8146
8146
  return e = new g0(e, t), this.curve._wnafMul(this, e);
@@ -8325,8 +8325,8 @@ v0.prototype.dbl = function() {
8325
8325
  return this.isInfinity() ? this : this.curve.extended ? this._extDbl() : this._projDbl();
8326
8326
  };
8327
8327
  v0.prototype._extAdd = function(e) {
8328
- var t = this.y.redSub(this.x).redMul(e.y.redSub(e.x)), r = this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)), a = this.t.redMul(this.curve.dd).redMul(e.t), i = this.z.redMul(e.z.redAdd(e.z)), y = r.redSub(t), x = i.redSub(a), u = i.redAdd(a), o = r.redAdd(t), c = y.redMul(x), v = u.redMul(o), b = y.redMul(o), C = x.redMul(u);
8329
- return this.curve.point(c, v, C, b);
8328
+ var t = this.y.redSub(this.x).redMul(e.y.redSub(e.x)), r = this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)), a = this.t.redMul(this.curve.dd).redMul(e.t), i = this.z.redMul(e.z.redAdd(e.z)), y = r.redSub(t), x = i.redSub(a), u = i.redAdd(a), o = r.redAdd(t), c = y.redMul(x), v = u.redMul(o), b = y.redMul(o), B = x.redMul(u);
8329
+ return this.curve.point(c, v, B, b);
8330
8330
  };
8331
8331
  v0.prototype._projAdd = function(e) {
8332
8332
  var t = this.z.redMul(e.z), r = t.redSqr(), a = this.x.redMul(e.x), i = this.y.redMul(e.y), y = this.curve.d.redMul(a).redMul(i), x = r.redSub(y), u = r.redAdd(y), o = this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(a).redISub(i), c = t.redMul(x).redMul(o), v, b;
@@ -8739,8 +8739,8 @@ st.prototype._update = function(e, t) {
8739
8739
  r[a] = lo(mo(r[a - 2]), r[a - 7], go(r[a - 15]), r[a - 16]);
8740
8740
  var i = this.h[0], y = this.h[1], x = this.h[2], u = this.h[3], o = this.h[4], c = this.h[5], v = this.h[6], b = this.h[7];
8741
8741
  for (uo(this.k.length === r.length), a = 0; a < r.length; a++) {
8742
- var C = xo(b, yo(o), vo(o, c, v), this.k[a], r[a]), w = Q0(po(i), bo(i, y, x));
8743
- b = v, v = c, c = o, o = Q0(u, C), u = x, x = y, y = i, i = Q0(C, w);
8742
+ var B = xo(b, yo(o), vo(o, c, v), this.k[a], r[a]), w = Q0(po(i), bo(i, y, x));
8743
+ b = v, v = c, c = o, o = Q0(u, B), u = x, x = y, y = i, i = Q0(B, w);
8744
8744
  }
8745
8745
  this.h[0] = Q0(this.h[0], i), this.h[1] = Q0(this.h[1], y), this.h[2] = Q0(this.h[2], x), this.h[3] = Q0(this.h[3], u), this.h[4] = Q0(this.h[4], o), this.h[5] = Q0(this.h[5], c), this.h[6] = Q0(this.h[6], v), this.h[7] = Q0(this.h[7], b);
8746
8746
  };
@@ -8989,10 +8989,10 @@ et.prototype._prepareBlock = function(e, t) {
8989
8989
  };
8990
8990
  et.prototype._update = function(e, t) {
8991
8991
  this._prepareBlock(e, t);
8992
- var r = this.W, a = this.h[0], i = this.h[1], y = this.h[2], x = this.h[3], u = this.h[4], o = this.h[5], c = this.h[6], v = this.h[7], b = this.h[8], C = this.h[9], w = this.h[10], R = this.h[11], k = this.h[12], q = this.h[13], S = this.h[14], P = this.h[15];
8992
+ var r = this.W, a = this.h[0], i = this.h[1], y = this.h[2], x = this.h[3], u = this.h[4], o = this.h[5], c = this.h[6], v = this.h[7], b = this.h[8], B = this.h[9], w = this.h[10], R = this.h[11], k = this.h[12], q = this.h[13], S = this.h[14], P = this.h[15];
8993
8993
  wo(this.k.length === r.length);
8994
8994
  for (var T = 0; T < r.length; T += 2) {
8995
- var H = S, $ = P, K = Oo(b, C), X = zo(b, C), Q = Do(b, C, w, R, k), U = Ro(b, C, w, R, k, q), A = this.k[T], n = this.k[T + 1], d = r[T], g = r[T + 1], B = Mo(
8995
+ var H = S, $ = P, K = Oo(b, B), X = zo(b, B), Q = Do(b, B, w, R, k), U = Ro(b, B, w, R, k, q), A = this.k[T], n = this.k[T + 1], d = r[T], g = r[T + 1], C = Mo(
8996
8996
  H,
8997
8997
  $,
8998
8998
  K,
@@ -9017,9 +9017,9 @@ et.prototype._update = function(e, t) {
9017
9017
  );
9018
9018
  H = Io(a, i), $ = To(a, i), K = ko(a, i, y, x, u), X = Po(a, i, y, x, u, o);
9019
9019
  var z = yf(H, $, K, X), N = gf(H, $, K, X);
9020
- S = k, P = q, k = w, q = R, w = b, R = C, b = yf(c, v, B, F), C = gf(v, v, B, F), c = u, v = o, u = y, o = x, y = a, x = i, a = yf(B, F, z, N), i = gf(B, F, z, N);
9020
+ S = k, P = q, k = w, q = R, w = b, R = B, b = yf(c, v, C, F), B = gf(v, v, C, F), c = u, v = o, u = y, o = x, y = a, x = i, a = yf(C, F, z, N), i = gf(C, F, z, N);
9021
9021
  }
9022
- gt(this.h, 0, a, i), gt(this.h, 2, y, x), gt(this.h, 4, u, o), gt(this.h, 6, c, v), gt(this.h, 8, b, C), gt(this.h, 10, w, R), gt(this.h, 12, k, q), gt(this.h, 14, S, P);
9022
+ gt(this.h, 0, a, i), gt(this.h, 2, y, x), gt(this.h, 4, u, o), gt(this.h, 6, c, v), gt(this.h, 8, b, B), gt(this.h, 10, w, R), gt(this.h, 12, k, q), gt(this.h, 14, S, P);
9023
9023
  };
9024
9024
  et.prototype._digest = function(e) {
9025
9025
  return e === "hex" ? H0.toHex32(this.h, "big") : H0.split32(this.h, "big");
@@ -9122,18 +9122,18 @@ ot.outSize = 160;
9122
9122
  ot.hmacStrength = 192;
9123
9123
  ot.padLength = 64;
9124
9124
  ot.prototype._update = function(e, t) {
9125
- for (var r = this.h[0], a = this.h[1], i = this.h[2], y = this.h[3], x = this.h[4], u = r, o = a, c = i, v = y, b = x, C = 0; C < 80; C++) {
9125
+ for (var r = this.h[0], a = this.h[1], i = this.h[2], y = this.h[3], x = this.h[4], u = r, o = a, c = i, v = y, b = x, B = 0; B < 80; B++) {
9126
9126
  var w = Ui(
9127
9127
  ar(
9128
- $i(r, Wi(C, a, i, y), e[Ko[C] + t], Wo(C)),
9129
- Vo[C]
9128
+ $i(r, Wi(B, a, i, y), e[Ko[B] + t], Wo(B)),
9129
+ Vo[B]
9130
9130
  ),
9131
9131
  x
9132
9132
  );
9133
9133
  r = x, x = y, y = ar(i, 10), i = a, a = w, w = Ui(
9134
9134
  ar(
9135
- $i(u, Wi(79 - C, o, c, v), e[jo[C] + t], Yo(C)),
9136
- Xo[C]
9135
+ $i(u, Wi(79 - B, o, c, v), e[jo[B] + t], Yo(B)),
9136
+ Xo[B]
9137
9137
  ),
9138
9138
  b
9139
9139
  ), u = b, b = v, v = ar(c, 10), c = o, o = w;
@@ -10652,11 +10652,11 @@ j0.prototype.sign = function(e, t, r, a) {
10652
10652
  if (v = this._truncateToN(v, !0), !(v.cmpn(1) <= 0 || v.cmp(o) >= 0)) {
10653
10653
  var b = this.g.mul(v);
10654
10654
  if (!b.isInfinity()) {
10655
- var C = b.getX(), w = C.umod(this.n);
10655
+ var B = b.getX(), w = B.umod(this.n);
10656
10656
  if (w.cmpn(0) !== 0) {
10657
10657
  var R = v.invm(this.n).mul(w.mul(t.getPrivate()).iadd(e));
10658
10658
  if (R = R.umod(this.n), R.cmpn(0) !== 0) {
10659
- var k = (b.getY().isOdd() ? 1 : 0) | (C.cmp(w) !== 0 ? 2 : 0);
10659
+ var k = (b.getY().isOdd() ? 1 : 0) | (B.cmp(w) !== 0 ? 2 : 0);
10660
10660
  return a.canonical && R.cmp(this.nh) > 0 && (R = this.n.sub(R), k ^= 1), new Dr({ r: w, s: R, recoveryParam: k });
10661
10661
  }
10662
10662
  }
@@ -10831,7 +10831,7 @@ var Kn = { exports: {} };
10831
10831
  throw new Error("no PRNG");
10832
10832
  }, a = new Uint8Array(16), i = new Uint8Array(32);
10833
10833
  i[0] = 9;
10834
- var y = t(), x = t([1]), u = t([56129, 1]), o = t([30883, 4953, 19914, 30187, 55467, 16705, 2637, 112, 59544, 30585, 16505, 36039, 65139, 11119, 27886, 20995]), c = t([61785, 9906, 39828, 60374, 45398, 33411, 5274, 224, 53552, 61171, 33010, 6542, 64743, 22239, 55772, 9222]), v = t([54554, 36645, 11616, 51542, 42930, 38181, 51040, 26924, 56412, 64982, 57905, 49316, 21502, 52590, 14035, 8553]), b = t([26200, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214]), C = t([41136, 18958, 6951, 50414, 58488, 44335, 6150, 12099, 55207, 15867, 153, 11085, 57099, 20417, 9344, 11139]);
10834
+ var y = t(), x = t([1]), u = t([56129, 1]), o = t([30883, 4953, 19914, 30187, 55467, 16705, 2637, 112, 59544, 30585, 16505, 36039, 65139, 11119, 27886, 20995]), c = t([61785, 9906, 39828, 60374, 45398, 33411, 5274, 224, 53552, 61171, 33010, 6542, 64743, 22239, 55772, 9222]), v = t([54554, 36645, 11616, 51542, 42930, 38181, 51040, 26924, 56412, 64982, 57905, 49316, 21502, 52590, 14035, 8553]), b = t([26200, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214]), B = t([41136, 18958, 6951, 50414, 58488, 44335, 6150, 12099, 55207, 15867, 153, 11085, 57099, 20417, 9344, 11139]);
10835
10835
  function w(l, _, m, s) {
10836
10836
  l[_] = m >> 24 & 255, l[_ + 1] = m >> 16 & 255, l[_ + 2] = m >> 8 & 255, l[_ + 3] = m & 255, l[_ + 4] = s >> 24 & 255, l[_ + 5] = s >> 16 & 255, l[_ + 6] = s >> 8 & 255, l[_ + 7] = s & 255;
10837
10837
  }
@@ -10972,7 +10972,7 @@ var Kn = { exports: {} };
10972
10972
  l[p] = 0;
10973
10973
  return 0;
10974
10974
  }
10975
- function B(l, _, m, s, M) {
10975
+ function C(l, _, m, s, M) {
10976
10976
  var p, I = new Uint8Array(32);
10977
10977
  if (m < 32 || (Q(I, 0, 32, s, M), d(_, 16, _, 32, m - 32, I) !== 0))
10978
10978
  return -1;
@@ -11077,7 +11077,7 @@ var Kn = { exports: {} };
11077
11077
  var s = new Uint8Array(32);
11078
11078
  return Me(s, m, _), H(l, a, s, $);
11079
11079
  }
11080
- var Oe = g, _0 = B;
11080
+ var Oe = g, _0 = C;
11081
11081
  function Ge(l, _, m, s, M, p) {
11082
11082
  var I = new Uint8Array(32);
11083
11083
  return We(I, M, p), Oe(l, _, m, s, I);
@@ -11340,7 +11340,7 @@ var Kn = { exports: {} };
11340
11340
  }
11341
11341
  function l0(l, _) {
11342
11342
  var m = t(), s = t(), M = t(), p = t(), I = t(), L = t(), V = t();
11343
- return F(l[2], x), j(l[1], _), ce(M, l[1]), re(p, M, o), W(M, M, l[2]), Y(p, l[2], p), ce(I, p), ce(L, I), re(V, L, I), re(m, V, M), re(m, m, p), Ae(m, m), re(m, m, M), re(m, m, p), re(m, m, p), re(l[0], m, p), ce(s, l[0]), re(s, s, p), h(s, M) && re(l[0], l[0], C), ce(s, l[0]), re(s, s, p), h(s, M) ? -1 : (E(l[0]) === _[31] >> 7 && W(l[0], y, l[0]), re(l[3], l[0], l[1]), 0);
11343
+ return F(l[2], x), j(l[1], _), ce(M, l[1]), re(p, M, o), W(M, M, l[2]), Y(p, l[2], p), ce(I, p), ce(L, I), re(V, L, I), re(m, V, M), re(m, m, p), Ae(m, m), re(m, m, M), re(m, m, p), re(m, m, p), re(l[0], m, p), ce(s, l[0]), re(s, s, p), h(s, M) && re(l[0], l[0], B), ce(s, l[0]), re(s, s, p), h(s, M) ? -1 : (E(l[0]) === _[31] >> 7 && W(l[0], y, l[0]), re(l[3], l[0], l[1]), 0);
11344
11344
  }
11345
11345
  function He(l, _, m, s) {
11346
11346
  var M, p = new Uint8Array(32), I = new Uint8Array(64), L = [t(), t(), t(), t()], V = [t(), t(), t(), t()];
@@ -11371,7 +11371,7 @@ var Kn = { exports: {} };
11371
11371
  crypto_verify_16: k,
11372
11372
  crypto_verify_32: q,
11373
11373
  crypto_secretbox: g,
11374
- crypto_secretbox_open: B,
11374
+ crypto_secretbox_open: C,
11375
11375
  crypto_scalarmult: Me,
11376
11376
  crypto_scalarmult_base: Fe,
11377
11377
  crypto_box_beforenm: We,
@@ -11449,7 +11449,7 @@ var Kn = { exports: {} };
11449
11449
  Ie(l, _, m), d0(m, _);
11450
11450
  for (var s = new Uint8Array(q0 + l.length), M = new Uint8Array(s.length), p = 0; p < l.length; p++)
11451
11451
  s[p + q0] = l[p];
11452
- return s.length < 32 || B(M, s, s.length, _, m) !== 0 ? null : M.subarray(r0);
11452
+ return s.length < 32 || C(M, s, s.length, _, m) !== 0 ? null : M.subarray(r0);
11453
11453
  }, e.secretbox.keyLength = z0, e.secretbox.nonceLength = a0, e.secretbox.overheadLength = q0, e.scalarMult = function(l, _) {
11454
11454
  if (Ie(l, _), l.length !== s0)
11455
11455
  throw new Error("bad n size");
@@ -13948,7 +13948,7 @@ class v1 {
13948
13948
  this.socketInstance.socket.emit("joinRoom", e);
13949
13949
  }
13950
13950
  leaveRoom(e) {
13951
- this.socketInstance.socket.emit("leaveRoom", e);
13951
+ this.socketInstance.socket.emit("leaveRoom", e), this.socketInstance.socket.disconnect();
13952
13952
  }
13953
13953
  confirmMessage(e, t) {
13954
13954
  return this.socketInstance.socket.emit("confirmMessage", e, t);
@@ -13972,7 +13972,7 @@ class b1 {
13972
13972
  // 타입 가드 함수
13973
13973
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13974
13974
  isAccountCryptoType(e) {
13975
- return typeof e == "object" && e !== null && typeof e.signature == "string" && typeof e.publicKey == "string" && typeof e.address == "string" && typeof e.etc == "string";
13975
+ return typeof e == "object" && e !== null && typeof e.signature == "string" && typeof e.publicKey == "string" && typeof e.address == "string" && typeof e.network == "string" && typeof e.etc == "string";
13976
13976
  }
13977
13977
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13978
13978
  // private isSignature(obj: any): obj is SignatureType {
@@ -14019,10 +14019,10 @@ class b1 {
14019
14019
  t = `${t}
14020
14020
 
14021
14021
  Nonce: ${r}`, await this.sendMessage(e, t);
14022
- const { publicKey: i, signature: y, address: x } = await this.getAccountCrypto();
14022
+ const { publicKey: i, signature: y, address: x, network: u } = await this.getAccountCrypto();
14023
14023
  if (!jn.xphereVerify(t, i, y))
14024
14024
  throw new Error("Verification failed");
14025
- return { address: x };
14025
+ return { address: x, network: u };
14026
14026
  } else
14027
14027
  throw new Error("Verification failed");
14028
14028
  } catch (a) {
@@ -14034,46 +14034,57 @@ Nonce: ${r}`, await this.sendMessage(e, t);
14034
14034
  }
14035
14035
  const p1 = new b1();
14036
14036
  class y1 {
14037
- generateQrCode(e, t) {
14038
- const r = ut.lib.WordArray.random(16).toString(ut.enc.Hex);
14039
- let a = "";
14040
- return e === "login" ? a = `zigap://login?roomId=${r}&dapp=${t}` : e === "send" ? a = `zigap://send?roomId=${r}&dapp=${t}` : e === "provide" && (a = `zigap://provide?roomId=${r}&dapp=${t}`), xt.joinRoom(r), {
14041
- qrCode: a,
14042
- roomId: r
14037
+ generateQrCode(e, t, r, a) {
14038
+ const i = ut.lib.WordArray.random(16).toString(ut.enc.Hex);
14039
+ let y = "";
14040
+ return e === "login" ? y = `http://172.30.1.61:3000/qrCode/scan?type=login&roomId=${i}&dapp=${t}&url=${r}&network=${a}` : e === "send" ? y = `zigap://send?roomId=${i}&dapp=${t}` : e === "provide" && (y = `zigap://provide?roomId=${i}&dapp=${t}`), xt.joinRoom(i), {
14041
+ qrCode: y,
14042
+ roomId: i
14043
14043
  };
14044
14044
  }
14045
14045
  }
14046
- const oa = new y1(), ca = "data:image/svg+xml,%3csvg%20width='167'%20height='166'%20viewBox='0%200%20167%20166'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M116.052%20115.296H166.355H166.36V0H51.0675V50.3042H0.759995V165.6H116.052V115.296ZM90.3366%2065.3428L40.21%20115.296H40.4307L40.2551%20115.471H101.014V150.561H15.7981V65.3428H90.3366ZM76.7327%20100.257H151.317V15.0386H66.1006V50.1536L109.424%2050.3042H126.684L126.624%2050.364L126.669%2050.3642L113.846%2063.1431L76.7327%20100.257Z'%20fill='url(%23paint0_linear_2322_66)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2322_66'%20x1='167.74'%20y1='-2.07'%20x2='-3.37985'%20y2='172.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%231349F8'/%3e%3cstop%20offset='1'%20stop-color='%235C13F8'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", E1 = ({ dapp: f, sigMessage: e, validTime: t, onReceive: r, isShowLogo: a = !0, ...i }) => {
14047
- const [y, x] = qf(!0), u = jn.generateNonce(16), { qrCode: o, roomId: c } = oa.generateQrCode("login", f);
14046
+ const oa = new y1(), ca = "data:image/svg+xml,%3csvg%20width='167'%20height='166'%20viewBox='0%200%20167%20166'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M116.052%20115.296H166.355H166.36V0H51.0675V50.3042H0.759995V165.6H116.052V115.296ZM90.3366%2065.3428L40.21%20115.296H40.4307L40.2551%20115.471H101.014V150.561H15.7981V65.3428H90.3366ZM76.7327%20100.257H151.317V15.0386H66.1006V50.1536L109.424%2050.3042H126.684L126.624%2050.364L126.669%2050.3642L113.846%2063.1431L76.7327%20100.257Z'%20fill='url(%23paint0_linear_2322_66)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2322_66'%20x1='167.74'%20y1='-2.07'%20x2='-3.37985'%20y2='172.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%231349F8'/%3e%3cstop%20offset='1'%20stop-color='%235C13F8'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", E1 = ({
14047
+ availableNetworks: f,
14048
+ dapp: e,
14049
+ url: t,
14050
+ sigMessage: r,
14051
+ validTime: a,
14052
+ onReceive: i,
14053
+ isShowLogo: y = !1,
14054
+ logoSize: x = 30,
14055
+ ...u
14056
+ }) => {
14057
+ const [o, c] = qf(!0), v = jn.generateNonce(16), { qrCode: b, roomId: B } = oa.generateQrCode("login", e, t, f);
14048
14058
  return zt(() => {
14049
- const v = setTimeout(
14059
+ const w = setTimeout(
14050
14060
  () => {
14051
- xt.leaveRoom(c), x(!1);
14061
+ xt.leaveRoom(B), c(!1);
14052
14062
  },
14053
- t * 60 * 1e3
14063
+ a * 60 * 1e3
14054
14064
  );
14055
- return () => clearTimeout(v);
14056
- }, [c, t]), zt(() => {
14065
+ return () => clearTimeout(w);
14066
+ }, [B, a]), zt(() => {
14057
14067
  (async () => {
14058
14068
  try {
14059
- console.log("roomId", c);
14060
- const C = {
14069
+ console.log("roomId", B);
14070
+ const R = await p1.qrLogin(B, r, v), k = {
14061
14071
  isSuccess: !0,
14062
- address: (await p1.qrLogin(c, e, u)).address
14072
+ address: R.address,
14073
+ network: R.network
14063
14074
  };
14064
- r(C);
14075
+ i(k);
14065
14076
  } catch {
14066
- r({
14077
+ i({
14067
14078
  isSuccess: !1
14068
14079
  });
14069
14080
  }
14070
14081
  })();
14071
- }, [r, e]), y ? /* @__PURE__ */ vr.jsx(
14082
+ }, [i, r]), o ? /* @__PURE__ */ vr.jsx(
14072
14083
  ln,
14073
14084
  {
14074
- value: o,
14075
- ...a && { imageSettings: { src: ca, width: 60, height: 60, excavate: !1 } },
14076
- ...i
14085
+ value: b,
14086
+ ...y && { imageSettings: { src: ca, width: x, height: x, excavate: !1 } },
14087
+ ...u
14077
14088
  }
14078
14089
  ) : /* @__PURE__ */ vr.jsx("div", { children: "QR loading error" });
14079
14090
  };
@@ -14081,7 +14092,7 @@ class g1 {
14081
14092
  // 타입 가드 함수
14082
14093
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
14083
14094
  isAccountType(e) {
14084
- return typeof e == "object" && e !== null && typeof e.address == "string";
14095
+ return typeof e == "object" && e !== null && typeof e.address == "string" && typeof e.network == "string";
14085
14096
  }
14086
14097
  getAccount() {
14087
14098
  return new Promise((e, t) => {
@@ -14100,36 +14111,47 @@ class g1 {
14100
14111
  }
14101
14112
  }
14102
14113
  }
14103
- const m1 = new g1(), w1 = ({ dapp: f, validTime: e, onReceive: t, isShowLogo: r = !0, ...a }) => {
14104
- const [i, y] = qf(!0), { qrCode: x, roomId: u } = oa.generateQrCode("provide", f);
14114
+ const m1 = new g1(), w1 = ({
14115
+ availableNetworks: f,
14116
+ dapp: e,
14117
+ url: t,
14118
+ validTime: r,
14119
+ onReceive: a,
14120
+ isShowLogo: i = !1,
14121
+ logoSize: y = 30,
14122
+ ...x
14123
+ }) => {
14124
+ const [u, o] = qf(!0), { qrCode: c, roomId: v } = oa.generateQrCode("provide", e, t, f);
14105
14125
  return zt(() => {
14106
- const o = setTimeout(
14126
+ const b = setTimeout(
14107
14127
  () => {
14108
- xt.leaveRoom(u), y(!1);
14128
+ xt.leaveRoom(v), o(!1);
14109
14129
  },
14110
- e * 60 * 1e3
14130
+ r * 60 * 1e3
14111
14131
  );
14112
- return () => clearTimeout(o);
14113
- }, [u, e]), zt(() => {
14132
+ return () => clearTimeout(b);
14133
+ }, [v, r]), zt(() => {
14114
14134
  (async () => {
14115
14135
  try {
14116
- const v = {
14136
+ console.log("roomId22", v);
14137
+ const B = await m1.qrAddressProvide(v), w = {
14117
14138
  isSuccess: !0,
14118
- address: (await m1.qrAddressProvide(u)).address
14139
+ address: B.address,
14140
+ network: B.network
14119
14141
  };
14120
- t(v);
14142
+ a(w);
14121
14143
  } catch {
14122
- t({
14144
+ a({
14123
14145
  isSuccess: !1
14124
14146
  });
14125
14147
  }
14126
14148
  })();
14127
- }, [t]), i ? /* @__PURE__ */ vr.jsx(
14149
+ }, [a]), u ? /* @__PURE__ */ vr.jsx(
14128
14150
  ln,
14129
14151
  {
14130
- value: x,
14131
- ...r && { imageSettings: { src: ca, width: 60, height: 60, excavate: !1 } },
14132
- ...a
14152
+ value: c,
14153
+ ...i && { imageSettings: { src: ca, width: y, height: y, excavate: !1 } },
14154
+ ...x
14133
14155
  }
14134
14156
  ) : /* @__PURE__ */ vr.jsx("div", { children: "QR loading error" });
14135
14157
  };