aliyun-rtc-sdk 6.13.3 → 6.13.4-beta.0

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.
@@ -654,8 +654,8 @@ function $n() {
654
654
  return this;
655
655
  },
656
656
  _lg: function(s, a, c, o) {
657
- var u = this, h = u._conf, p = u.getPage(), d = h.ignore || {}, f = d.ignoreErrors, g = d.ignoreResErrors, l = d.ignoreUrls, x = d.ignoreApis;
658
- if (u._isRobot || r.ignoreByRule(p, l) || r.ignoreByRule(r.decode(p), l) || s === "error" && (r.ignoreByRule(a.msg, f) || r.ignoreByRule(r.decode(a.msg), f)) || s === "resourceError" && (r.ignoreByRule(a.src, g) || r.ignoreByRule(r.decode(a.src), g)) || s === "api" && (r.ignoreByRule(a.api, x) || r.ignoreByRule(r.decode(a.api), x)) || !u.checkImgUrl(h.imgUrl) || !a || h.disabled || !h.pid || o === 0)
657
+ var u = this, h = u._conf, p = u.getPage(), d = h.ignore || {}, f = d.ignoreErrors, g = d.ignoreResErrors, l = d.ignoreUrls, S = d.ignoreApis;
658
+ if (u._isRobot || r.ignoreByRule(p, l) || r.ignoreByRule(r.decode(p), l) || s === "error" && (r.ignoreByRule(a.msg, f) || r.ignoreByRule(r.decode(a.msg), f)) || s === "resourceError" && (r.ignoreByRule(a.src, g) || r.ignoreByRule(r.decode(a.src), g)) || s === "api" && (r.ignoreByRule(a.api, S) || r.ignoreByRule(r.decode(a.api), S)) || !u.checkImgUrl(h.imgUrl) || !a || h.disabled || !h.pid || o === 0)
659
659
  return u;
660
660
  var v = a.dl;
661
661
  if (delete a.dl, a = r.ext({
@@ -681,7 +681,7 @@ function $n() {
681
681
  try {
682
682
  if (!(a = h.beforeReport(a)))
683
683
  return u;
684
- } catch (S) {
684
+ } catch (x) {
685
685
  return u;
686
686
  }
687
687
  return o === 1 ? t(u, a) : c && !u.sampling(c) ? u : t(u, a);
@@ -827,12 +827,12 @@ function Kn() {
827
827
  stack_raw: r.encode(u)
828
828
  },
829
829
  dl: h
830
- }, l = ["tag", "c1", "c2", "c3"], x = 0; x < l.length; x++) {
831
- var v = l[x];
830
+ }, l = ["tag", "c1", "c2", "c3"], S = 0; S < l.length; S++) {
831
+ var v = l[S];
832
832
  a[v] && (g[v] = a[v]);
833
833
  }
834
- var S = (this.getConfig("ignore") || {}).ignoreErrors;
835
- return r.ignoreByRule(g.msg, S) || r.ignoreByRule(r.decode(g.msg), S) ? this : (this.beforeSend && this.beforeSend("error", g), this._lg("error", g, 1));
834
+ var x = (this.getConfig("ignore") || {}).ignoreErrors;
835
+ return r.ignoreByRule(g.msg, x) || r.ignoreByRule(r.decode(g.msg), x) ? this : (this.beforeSend && this.beforeSend("error", g), this._lg("error", g, 1));
836
836
  },
837
837
  behavior: function(s) {
838
838
  if (s) {
@@ -842,7 +842,7 @@ function Kn() {
842
842
  return this.beforeSend && this.beforeSend("behavior", a), this._lg("behavior", a, 1);
843
843
  }
844
844
  },
845
- api: function(s, a, c, o, u, h, p, d, f, g, l, x, v, S, b, y) {
845
+ api: function(s, a, c, o, u, h, p, d, f, g, l, S, v, x, b, y) {
846
846
  if (!s)
847
847
  return r.warn("[retcode] api is null"), this;
848
848
  if (s = typeof s == "string" ? {
@@ -856,9 +856,9 @@ function Kn() {
856
856
  pv_id: d,
857
857
  apiSnapshot: f,
858
858
  domain: g,
859
- flag: x,
859
+ flag: S,
860
860
  tag: v,
861
- c1: S,
861
+ c1: x,
862
862
  c2: b,
863
863
  c3: y
864
864
  } : r.sub(s, e), !r.checkAPI(s.api, !0))
@@ -972,16 +972,16 @@ function Gn() {
972
972
  d[f] = g(l);
973
973
  }
974
974
  }, u = function(d) {
975
- var f, g, l, x, v, S = [];
975
+ var f, g, l, S, v, x = [];
976
976
  if (!d || typeof d.tagName != "string")
977
977
  return "";
978
- if (S.push(d.tagName.toLowerCase()), typeof d.id == "string" && S.push("#".concat(d.id)), typeof (f = d.className) == "string")
978
+ if (x.push(d.tagName.toLowerCase()), typeof d.id == "string" && x.push("#".concat(d.id)), typeof (f = d.className) == "string")
979
979
  for (g = f.split(/\s+/), v = 0; v < g.length; v++)
980
- S.push(".".concat(g[v]));
980
+ x.push(".".concat(g[v]));
981
981
  var b = ["type", "name", "title", "alt", "data-arms-attr"];
982
982
  for (v = 0; v < b.length; v++)
983
- l = b[v], typeof (x = d.getAttribute(l)) == "string" && S.push("[".concat(l, '="').concat(x, '"]'));
984
- return S.join("");
983
+ l = b[v], typeof (S = d.getAttribute(l)) == "string" && x.push("[".concat(l, '="').concat(S, '"]'));
984
+ return x.join("");
985
985
  }, h = function(d, f) {
986
986
  return function(g) {
987
987
  if (g && g !== c) {
@@ -993,20 +993,20 @@ function Gn() {
993
993
  l = "<unknown>";
994
994
  }
995
995
  if (l.length !== 0) {
996
- var x = {
996
+ var S = {
997
997
  type: "ui.".concat(d),
998
998
  data: {
999
999
  message: function(v) {
1000
1000
  if (!v || v.nodeType !== 1)
1001
1001
  return "";
1002
- for (var S = v || null, b = [], y = 0, E = 0, I = 3, A = ""; S && y++ < 5 && !((A = u(S)) === "html" || y > 1 && E + b.length * I + A.length >= 80); )
1003
- b.push(A), E += A.length, S = S.parentNode;
1002
+ for (var x = v || null, b = [], y = 0, E = 0, I = 3, A = ""; x && y++ < 5 && !((A = u(x)) === "html" || y > 1 && E + b.length * I + A.length >= 80); )
1003
+ b.push(A), E += A.length, x = x.parentNode;
1004
1004
  return b.reverse().join(" > ");
1005
1005
  }(l)
1006
1006
  },
1007
1007
  timestamp: Date.now()
1008
1008
  };
1009
- d === "click" ? i && i.addBehavior(x) : d === "keypress" && (a || i && i.addBehavior(x), clearTimeout(a), a = setTimeout(function() {
1009
+ d === "click" ? i && i.addBehavior(S) : d === "keypress" && (a || i && i.addBehavior(S), clearTimeout(a), a = setTimeout(function() {
1010
1010
  a = void 0;
1011
1011
  }, 100));
1012
1012
  }
@@ -1014,30 +1014,30 @@ function Gn() {
1014
1014
  };
1015
1015
  }, p = function() {
1016
1016
  if (function() {
1017
- var l = e && e.chrome, x = l && l.app && l.app.runtime, v = "history" in e && !!e.history.pushState && !!e.history.replaceState;
1018
- return !x && v;
1017
+ var l = e && e.chrome, S = l && l.app && l.app.runtime, v = "history" in e && !!e.history.pushState && !!e.history.replaceState;
1018
+ return !S && v;
1019
1019
  }()) {
1020
- var d = function(l, x) {
1020
+ var d = function(l, S) {
1021
1021
  var v = {
1022
1022
  type: "navigation",
1023
1023
  data: {
1024
1024
  from: l,
1025
- to: x
1025
+ to: S
1026
1026
  }
1027
1027
  };
1028
- i && i.addBehavior(v), s = x;
1028
+ i && i.addBehavior(v), s = S;
1029
1029
  }, f = e.onpopstate;
1030
1030
  e.onpopstate = function() {
1031
- for (var l = arguments.length, x = new Array(l), v = 0; v < l; v++)
1032
- x[v] = arguments[v];
1033
- var S = e.location.href;
1034
- if (d(s, S), f)
1035
- return f.apply(this, x);
1031
+ for (var l = arguments.length, S = new Array(l), v = 0; v < l; v++)
1032
+ S[v] = arguments[v];
1033
+ var x = e.location.href;
1034
+ if (d(s, x), f)
1035
+ return f.apply(this, S);
1036
1036
  };
1037
1037
  var g = function(l) {
1038
1038
  return function() {
1039
- for (var x = arguments.length, v = new Array(x), S = 0; S < x; S++)
1040
- v[S] = arguments[S];
1039
+ for (var S = arguments.length, v = new Array(S), x = 0; x < S; x++)
1040
+ v[x] = arguments[x];
1041
1041
  var b = v.length > 2 ? v[2] : void 0;
1042
1042
  return b && d(s, String(b)), l.apply(this, v);
1043
1043
  };
@@ -1102,20 +1102,20 @@ function Gn() {
1102
1102
  var g = ["debug", "info", "warn", "log", "error", "assert"];
1103
1103
  r.isArray(f) && (g = f);
1104
1104
  for (var l = 0; l < g.length; l++) {
1105
- var x = g[l];
1106
- x && r.isString(x) && e.console[x] && typeof e.console[x] == "function" && o(e.console, x, function(v) {
1107
- var S = x;
1105
+ var S = g[l];
1106
+ S && r.isString(S) && e.console[S] && typeof e.console[S] == "function" && o(e.console, S, function(v) {
1107
+ var x = S;
1108
1108
  return function() {
1109
1109
  for (var b = arguments.length, y = new Array(b), E = 0; E < b; E++)
1110
1110
  y[E] = arguments[E];
1111
1111
  var I = {
1112
1112
  type: "console",
1113
1113
  data: {
1114
- level: S,
1114
+ level: x,
1115
1115
  message: y
1116
1116
  }
1117
1117
  };
1118
- if (i && i.addBehavior(I), S === "error")
1118
+ if (i && i.addBehavior(I), x === "error")
1119
1119
  for (var A = 0; A < y.length; A++) {
1120
1120
  var C = y[A];
1121
1121
  C && C.message && C.stack && i && i.errorHandler(new ErrorEvent("error", {
@@ -1199,10 +1199,10 @@ function Yn() {
1199
1199
  ready: [12, 1],
1200
1200
  load: [14, 1]
1201
1201
  }, function(g, l) {
1202
- var x = a[e[g[1]]], v = a[e[g[0]]];
1203
- if (o === 2 || x > 0 && v > 0) {
1204
- var S = Math.round(v - x);
1205
- S >= 0 && S < 6e5 && (s[l] = S);
1202
+ var S = a[e[g[1]]], v = a[e[g[0]]];
1203
+ if (o === 2 || S > 0 && v > 0) {
1204
+ var x = Math.round(v - S);
1205
+ x >= 0 && x < 6e5 && (s[l] = x);
1206
1206
  }
1207
1207
  });
1208
1208
  var h = t.navigator.connection, p = i.navigation || {};
@@ -1222,8 +1222,8 @@ function Zn() {
1222
1222
  sr: screen.width + "x" + screen.height,
1223
1223
  vp: o + "x" + u,
1224
1224
  ct: h ? h.effectiveType || h.type : ""
1225
- }, d = {}, f = function(l, x, v, S, b) {
1226
- if (x === void 0) {
1225
+ }, d = {}, f = function(l, S, v, x, b) {
1226
+ if (S === void 0) {
1227
1227
  var y, E;
1228
1228
  if (!d[l]) {
1229
1229
  y = new RegExp(l + "=([^;]+)");
@@ -1236,7 +1236,7 @@ function Zn() {
1236
1236
  }
1237
1237
  return d[l];
1238
1238
  }
1239
- var I = l + "=" + x;
1239
+ var I = l + "=" + S;
1240
1240
  I += "; path=/", v && (I += "; max-age=" + v);
1241
1241
  try {
1242
1242
  return e.cookie = I, !!e.cookie;
@@ -1244,8 +1244,8 @@ function Zn() {
1244
1244
  return t.warn("[retcode] can not set cookie: ", A), !1;
1245
1245
  }
1246
1246
  }, g = function(l) {
1247
- var x = l._conf.uid || f("_nk_") || f("_bl_uid");
1248
- return !x && (x = t.uu(), !f("_bl_uid", x, 15552e3)) ? null : x;
1247
+ var S = l._conf.uid || f("_nk_") || f("_bl_uid");
1248
+ return !S && (S = t.uu(), !f("_bl_uid", S, 15552e3)) ? null : S;
1249
1249
  };
1250
1250
  return t.ext(r.prototype, {
1251
1251
  activeErrHandler: function(l) {
@@ -1254,79 +1254,79 @@ function Zn() {
1254
1254
  errorHandler: function(l) {
1255
1255
  if (!l)
1256
1256
  return this;
1257
- var x = l.type;
1258
- if (x === "error") {
1257
+ var S = l.type;
1258
+ if (S === "error") {
1259
1259
  var v = l.target || l.srcElement;
1260
1260
  !v || !v.tagName || l.message || l.filename || l.lineno || l.colno ? this.error(l.error || {
1261
1261
  message: l.message
1262
1262
  }, l) : this.resourceErrorHandler(l);
1263
1263
  } else
1264
- x === "unhandledrejection" && t.T(l.reason, "Error") && t.checkAutoError(l.reason) && this.error(l.reason);
1264
+ S === "unhandledrejection" && t.T(l.reason, "Error") && t.checkAutoError(l.reason) && this.error(l.reason);
1265
1265
  try {
1266
1266
  this.getConfig("behavior") && this.reportBehavior && this.reportBehavior();
1267
- } catch (S) {
1267
+ } catch (x) {
1268
1268
  }
1269
1269
  return this;
1270
1270
  },
1271
1271
  resourceErrorHandler: function(l) {
1272
- var x = this, v = l.target || l.srcElement;
1272
+ var S = this, v = l.target || l.srcElement;
1273
1273
  try {
1274
- var S = x.getSrc(v), b = typeof v.tagName == "string" ? v.tagName.toLowerCase() : "", y = x.getXPath(v, 5), E = t.getURL(S), I = {
1275
- src: S && S.substring(0, 1e3),
1274
+ var x = S.getSrc(v), b = typeof v.tagName == "string" ? v.tagName.toLowerCase() : "", y = S.getXPath(v, 5), E = t.getURL(x), I = {
1275
+ src: x && x.substring(0, 1e3),
1276
1276
  node_name: b,
1277
1277
  xpath: y,
1278
- res_type: t.getResType(b, S),
1278
+ res_type: t.getResType(b, x),
1279
1279
  res_name: E.path,
1280
1280
  domain: E.domain
1281
1281
  };
1282
- return x._conf.enableResource && x.fixResourceStatus && l.timeStamp && x.fixResourceStatus({
1283
- src: S,
1282
+ return S._conf.enableResource && S.fixResourceStatus && l.timeStamp && S.fixResourceStatus({
1283
+ src: x,
1284
1284
  node_name: b,
1285
- res_type: t.getResType(b, S),
1285
+ res_type: t.getResType(b, x),
1286
1286
  timeStamp: l.timeStamp,
1287
1287
  domain: E.domain
1288
- }), x._lg("resourceError", I), x;
1288
+ }), S._lg("resourceError", I), S;
1289
1289
  } catch (A) {
1290
- return t.warn("[ARMS] resourceErrorHandler error :", A), x;
1290
+ return t.warn("[ARMS] resourceErrorHandler error :", A), S;
1291
1291
  }
1292
1292
  },
1293
1293
  getSrc: function(l) {
1294
- var x = l.src || l.href;
1294
+ var S = l.src || l.href;
1295
1295
  try {
1296
- if (!x) {
1297
- var v = (typeof l.tagName == "string" ? l.tagName.toLowerCase() : "") === "object", S = l.getAttribute("classid") && l.getAttribute("classid").toLowerCase() === "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" || l.getAttribute("type") === "application/x-shockwave-flash";
1298
- v && S && (x = l.getAttribute("data") || l.getAttribute("codebase")), x || (x = l.outerHTML || l.innerHTML);
1296
+ if (!S) {
1297
+ var v = (typeof l.tagName == "string" ? l.tagName.toLowerCase() : "") === "object", x = l.getAttribute("classid") && l.getAttribute("classid").toLowerCase() === "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" || l.getAttribute("type") === "application/x-shockwave-flash";
1298
+ v && x && (S = l.getAttribute("data") || l.getAttribute("codebase")), S || (S = l.outerHTML || l.innerHTML);
1299
1299
  }
1300
1300
  } catch (b) {
1301
- x = "";
1301
+ S = "";
1302
1302
  }
1303
- return x;
1303
+ return S;
1304
1304
  },
1305
- getXPath: function(l, x) {
1306
- var v = l.id ? "#" + l.id : "", S = typeof l.className == "string" ? "." + l.className.split(" ").join(".") : "", b = (typeof l.tagName == "string" ? l.tagName.toLowerCase() : "") + v + S;
1307
- return l.parentNode && l.parentNode.tagName && x - 1 != 0 ? this.getXPath(l.parentNode, x - 1) + " > " + b : b;
1305
+ getXPath: function(l, S) {
1306
+ var v = l.id ? "#" + l.id : "", x = typeof l.className == "string" ? "." + l.className.split(" ").join(".") : "", b = (typeof l.tagName == "string" ? l.tagName.toLowerCase() : "") + v + x;
1307
+ return l.parentNode && l.parentNode.tagName && S - 1 != 0 ? this.getXPath(l.parentNode, S - 1) + " > " + b : b;
1308
1308
  },
1309
1309
  sendPerformance: function(l) {
1310
- var x = this;
1311
- x.onReady(function() {
1310
+ var S = this;
1311
+ S.onReady(function() {
1312
1312
  var v = s();
1313
- v && v.load && v.load > 0 && (v.page = x.getPage(!0), l && (v = t.ext(v, l)), v.autoSend = !0, x.performance(v));
1313
+ v && v.load && v.load > 0 && (v.page = S.getPage(!0), l && (v = t.ext(v, l)), v.autoSend = !0, S.performance(v));
1314
1314
  });
1315
1315
  },
1316
1316
  sendResources: function(l) {
1317
- var x = this;
1318
- x.onReady(function() {
1317
+ var S = this;
1318
+ S.onReady(function() {
1319
1319
  var v = i();
1320
- v && v.load && v.load > 0 && (v.load && v.load <= 2e3 || v.load && v.load <= 8e3 && Math.random() > 0.05 || (v.page = x.getPage(!0), v.dl = location.href, l && (v = t.ext(v, l)), x._lg("res", v, x.getConfig("sample"))));
1320
+ v && v.load && v.load > 0 && (v.load && v.load <= 2e3 || v.load && v.load <= 8e3 && Math.random() > 0.05 || (v.page = S.getPage(!0), v.dl = location.href, l && (v = t.ext(v, l)), S._lg("res", v, S.getConfig("sample"))));
1321
1321
  });
1322
1322
  },
1323
1323
  sendPV: function() {
1324
1324
  var l = this;
1325
1325
  l.onReady(function() {
1326
- var x = function(v) {
1327
- var S = g(v), b = n.devicePixelRatio || 1;
1326
+ var S = function(v) {
1327
+ var x = g(v), b = n.devicePixelRatio || 1;
1328
1328
  return {
1329
- uid: S,
1329
+ uid: x,
1330
1330
  dt: e.title,
1331
1331
  dl: location.href,
1332
1332
  dr: e.referrer,
@@ -1336,49 +1336,49 @@ function Zn() {
1336
1336
  begin: Date.now()
1337
1337
  };
1338
1338
  }(l);
1339
- x && x.uid && l._lg("pv", x, l.getConfig("pvSample"));
1339
+ S && S.uid && l._lg("pv", S, l.getConfig("pvSample"));
1340
1340
  });
1341
1341
  },
1342
1342
  commonInfo: function() {
1343
1343
  return p.uid = g(this), p.sid = function(l) {
1344
1344
  if (l.session)
1345
1345
  return l.session;
1346
- var x;
1346
+ var S;
1347
1347
  try {
1348
1348
  if (typeof window == "object" && typeof sessionStorage == "object" && typeof sessionStorage.getItem == "function")
1349
- return typeof (x = sessionStorage.getItem("_bl_sid")) == "string" ? (l.session = x, x) : (x = t.uu(), l.session = x, typeof sessionStorage.setItem == "function" && sessionStorage.setItem("_bl_sid", x), x);
1349
+ return typeof (S = sessionStorage.getItem("_bl_sid")) == "string" ? (l.session = S, S) : (S = t.uu(), l.session = S, typeof sessionStorage.setItem == "function" && sessionStorage.setItem("_bl_sid", S), S);
1350
1350
  } catch (v) {
1351
1351
  t.warn("[ARMS] getSid error :", v);
1352
1352
  }
1353
- return l.session = x = t.uu(), x;
1353
+ return l.session = S = t.uu(), S;
1354
1354
  }(this), p;
1355
1355
  },
1356
1356
  handleUnload: function(l) {
1357
- var x = Date.now();
1358
- if (x - this._lastUnload < 200)
1357
+ var S = Date.now();
1358
+ if (S - this._lastUnload < 200)
1359
1359
  return this;
1360
- this._lastUnload = x, this.sendHealth(l), this.speedCache && (this._lg("speed", this.speedCache), this.speedCache = null, clearTimeout(this.speedTimmer)), this._conf && this._conf.enableResource && this.resourceComboReport(), this.clear(!0);
1360
+ this._lastUnload = S, this.sendHealth(l), this.speedCache && (this._lg("speed", this.speedCache), this.speedCache = null, clearTimeout(this.speedTimmer)), this._conf && this._conf.enableResource && this.resourceComboReport(), this.clear(!0);
1361
1361
  },
1362
1362
  bindHashChange: function(l) {
1363
- var x = this;
1364
- if (!l ^ x.hashChangeHandler)
1365
- return x;
1366
- l ? (x.hackHistoryState(), x.hashChangeHandler = function(v) {
1367
- var S = x._conf.parseHash(location.hash);
1368
- S && x.setPage(S, v !== !1);
1369
- }, x.stateChangeHandler = function(v) {
1370
- var S = x._conf.parseHash(v.detail);
1371
- S && x.setPage(S);
1372
- }, t.on(n, "hashchange", x.hashChangeHandler), t.on(n, "historystatechange", x.stateChangeHandler), x.hashChangeHandler(!1)) : (t.off(n, "hashchange", x.hashChangeHandler), t.off(n, "historystatechange", x.stateChangeHandler), x.hashChangeHandler = null, x.stateChangeHandler = null);
1363
+ var S = this;
1364
+ if (!l ^ S.hashChangeHandler)
1365
+ return S;
1366
+ l ? (S.hackHistoryState(), S.hashChangeHandler = function(v) {
1367
+ var x = S._conf.parseHash(location.hash);
1368
+ x && S.setPage(x, v !== !1);
1369
+ }, S.stateChangeHandler = function(v) {
1370
+ var x = S._conf.parseHash(v.detail);
1371
+ x && S.setPage(x);
1372
+ }, t.on(n, "hashchange", S.hashChangeHandler), t.on(n, "historystatechange", S.stateChangeHandler), S.hashChangeHandler(!1)) : (t.off(n, "hashchange", S.hashChangeHandler), t.off(n, "historystatechange", S.stateChangeHandler), S.hashChangeHandler = null, S.stateChangeHandler = null);
1373
1373
  },
1374
1374
  initHandler: function() {
1375
1375
  var l = this;
1376
1376
  if (l.hasInitHandler)
1377
1377
  return l;
1378
- var x = l._conf;
1378
+ var S = l._conf;
1379
1379
  return t.on(n, "beforeunload", function() {
1380
1380
  l.handleUnload(0);
1381
- }), l.bindHashChange(x.enableSPA), l.activeErrHandler(!1), l.hasInitHandler = !0, l;
1381
+ }), l.bindHashChange(S.enableSPA), l.activeErrHandler(!1), l.hasInitHandler = !0, l;
1382
1382
  }
1383
1383
  }), t.on(n, "error", function(l) {
1384
1384
  a && a.errorHandler(l);
@@ -1397,10 +1397,10 @@ function Qn() {
1397
1397
  function s(p, d, f) {
1398
1398
  var g = 0, l = p.tagName;
1399
1399
  if (l !== "SCRIPT" && l !== "STYLE" && l !== "META" && l !== "HEAD") {
1400
- var x = p.children ? p.children.length : 0;
1401
- if (x > 0)
1402
- for (var v = p.children, S = x - 1; S >= 0; S--)
1403
- g += s(v[S], d + 1, g > 0);
1400
+ var S = p.children ? p.children.length : 0;
1401
+ if (S > 0)
1402
+ for (var v = p.children, x = S - 1; x >= 0; x--)
1403
+ g += s(v[x], d + 1, g > 0);
1404
1404
  if (g <= 0 && !f && !(p.getBoundingClientRect && p.getBoundingClientRect().top < c))
1405
1405
  return 0;
1406
1406
  g += 1 + 0.5 * d;
@@ -1427,10 +1427,10 @@ function Qn() {
1427
1427
  var f = t.MutationObserver;
1428
1428
  return (u = new f(function() {
1429
1429
  (function(g) {
1430
- var l = Date.now() - g, x = i.querySelector("body");
1431
- if (x) {
1430
+ var l = Date.now() - g, S = i.querySelector("body");
1431
+ if (S) {
1432
1432
  var v = 0;
1433
- v += s(x, 1, !1), o.push({
1433
+ v += s(S, 1, !1), o.push({
1434
1434
  score: v,
1435
1435
  t: l
1436
1436
  });
@@ -1450,17 +1450,17 @@ function Qn() {
1450
1450
  endObserving: function(p, d) {
1451
1451
  var f = this;
1452
1452
  if (u && h)
1453
- if (f.fmpTimmer && (clearTimeout(f.fmpTimmer), f.fmpTimmer = null), d || !function(v, S) {
1453
+ if (f.fmpTimmer && (clearTimeout(f.fmpTimmer), f.fmpTimmer = null), d || !function(v, x) {
1454
1454
  var b = Date.now() - v;
1455
- return !(b > S || b - (o && o.length && o[o.length - 1].t || 0) > 2 * n);
1455
+ return !(b > x || b - (o && o.length && o[o.length - 1].t || 0) > 2 * n);
1456
1456
  }(f._startTime, p)) {
1457
1457
  u.disconnect(), h = 0, o = a(o);
1458
1458
  for (var g = null, l = 1; l < o.length; l++)
1459
1459
  if (o[l].t >= o[l - 1].t) {
1460
- var x = o[l].score - o[l - 1].score;
1461
- (!g || g.rate <= x) && (g = {
1460
+ var S = o[l].score - o[l - 1].score;
1461
+ (!g || g.rate <= S) && (g = {
1462
1462
  t: o[l].t,
1463
- rate: x
1463
+ rate: S
1464
1464
  });
1465
1465
  }
1466
1466
  g && g.t > 0 && g.t < 36e5 ? f.sendPerformance({
@@ -1477,12 +1477,12 @@ function Qn() {
1477
1477
  var Ts, Ps;
1478
1478
  function eo() {
1479
1479
  return Ps || (Ps = 1, Ts = function(r, n) {
1480
- var e = Ne(), t = null, i = e.getCurDomain(), s = function(h, p, d, f, g, l, x, v, S, b, y, E, I) {
1480
+ var e = Ne(), t = null, i = e.getCurDomain(), s = function(h, p, d, f, g, l, S, v, x, b, y, E, I) {
1481
1481
  var A = e.J(g) || null, C = e.safetyCall(p, [A, f], null);
1482
1482
  if (!C)
1483
1483
  return !1;
1484
1484
  var L = C.code || l, _ = !("success" in C) || C.success;
1485
- h.api(d, _, x, L, C.msg, v, S, b, _ ? {} : y, i, E, I);
1485
+ h.api(d, _, S, L, C.msg, v, x, b, _ ? {} : y, i, E, I);
1486
1486
  }, a = "fetch", c = "__oFetch_", o = "__oXMLHttpRequest_", u = "XMLHttpRequest";
1487
1487
  return e.ext(r.prototype, {
1488
1488
  removeHook: function(h, p) {
@@ -1497,7 +1497,7 @@ function eo() {
1497
1497
  if (!l || !l.api || f && (f.method === "HEAD" || f.mode === "no-cors"))
1498
1498
  return p.apply(n, g);
1499
1499
  f || (f = {});
1500
- var x = Date.now(), v = l._conf, S = e.duration(), b = (d && typeof d != "string" ? d.url : d) || "", y = b;
1500
+ var S = Date.now(), v = l._conf, x = e.duration(), b = (d && typeof d != "string" ? d.url : d) || "", y = b;
1501
1501
  b = e.cutUrlSearch(b);
1502
1502
  var E = (v.ignore || {}).ignoreApis, I = v.parseTraceId;
1503
1503
  if (!e.checkAPI(b, !0) || e.ignoreByRule(b, E))
@@ -1581,14 +1581,14 @@ function eo() {
1581
1581
  typeof Fe == "object" && Fe["eagleeye-traceid"] && (C = Fe["eagleeye-traceid"], R = "response");
1582
1582
  }
1583
1583
  }
1584
- var je = S();
1584
+ var je = x();
1585
1585
  return j.text().then(function(Xe) {
1586
1586
  if (!C && e.isFunction(I)) {
1587
1587
  var Ye = I(j, Xe);
1588
1588
  Ye && e.isString(Ye) && (C = Ye);
1589
1589
  }
1590
1590
  var xe = e.getFetchSnapshot(g, Xe, ue);
1591
- j.ok ? s(l, v.parseResponse, b, y, Xe, j.status || 200, je, x, C, L, xe, R, $) : (l.api(b, !1, je, j.status || 404, j.statusText, x, C, L, xe, i, R, $), v.enableResource && t.fixResourceStatus && t.fixResourceStatus({
1591
+ j.ok ? s(l, v.parseResponse, b, y, Xe, j.status || 200, je, S, C, L, xe, R, $) : (l.api(b, !1, je, j.status || 404, j.statusText, S, C, L, xe, i, R, $), v.enableResource && t.fixResourceStatus && t.fixResourceStatus({
1592
1592
  src: j.url,
1593
1593
  res_type: "api"
1594
1594
  }));
@@ -1599,8 +1599,8 @@ function eo() {
1599
1599
  }).catch(function(J) {
1600
1600
  if (!l || !l.api)
1601
1601
  throw J;
1602
- var j = S();
1603
- throw l.api(b, !1, j, J.name || "Error", J.message, x, C, L, {}, i), v.enableResource && t.fixResourceStatus && t.fixResourceStatus({
1602
+ var j = x();
1603
+ throw l.api(b, !1, j, J.name || "Error", J.message, S, C, L, {}, i), v.enableResource && t.fixResourceStatus && t.fixResourceStatus({
1604
1604
  src: y,
1605
1605
  res_type: "api"
1606
1606
  }), J;
@@ -1612,11 +1612,11 @@ function eo() {
1612
1612
  var p, d = n[u];
1613
1613
  n[o] = d;
1614
1614
  var f = function(g) {
1615
- var l = new d(g), x = t;
1616
- if (!x || !x.api || !l.addEventListener)
1615
+ var l = new d(g), S = t;
1616
+ if (!S || !S.api || !l.addEventListener)
1617
1617
  return l;
1618
- var v, S, b, y, E = l.send, I = l.open, A = l.setRequestHeader, C = x._conf, L = (C.ignore || {}).ignoreApis, _ = C.parseTraceId, R = x.getConfig("enableLinkTrace"), T = "", B = "", $ = "", q = null, G = x.getConfig("sample"), ae = x.getConfig("linkType"), Q = 1;
1619
- return G && !x.sampling(G) && (Q = 0), l.open = function(te, ee) {
1618
+ var v, x, b, y, E = l.send, I = l.open, A = l.setRequestHeader, C = S._conf, L = (C.ignore || {}).ignoreApis, _ = C.parseTraceId, R = S.getConfig("enableLinkTrace"), T = "", B = "", $ = "", q = null, G = S.getConfig("sample"), ae = S.getConfig("linkType"), Q = 1;
1619
+ return G && !S.sampling(G) && (Q = 0), l.open = function(te, ee) {
1620
1620
  p = te;
1621
1621
  var P = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
1622
1622
  I.apply(l, P), y = ee || "", b = e.cutUrlSearch(y);
@@ -1629,28 +1629,28 @@ function eo() {
1629
1629
  F = "";
1630
1630
  }
1631
1631
  var M = e.checkSameOrigin(y, F);
1632
- if ((x.getConfig("enableApiCors") || M) && A && typeof A == "function")
1632
+ if ((S.getConfig("enableApiCors") || M) && A && typeof A == "function")
1633
1633
  switch (ae) {
1634
1634
  case "arms":
1635
- T = x.getTraceId()["EagleEye-TraceID"], A.apply(l, ["EagleEye-TraceID", T]), B = x.getPageviewId()["EagleEye-SessionID"], A.apply(l, ["EagleEye-SessionID", B]), $ = x.getConfig("pid"), A.apply(l, ["EagleEye-pAppName", $]);
1635
+ T = S.getTraceId()["EagleEye-TraceID"], A.apply(l, ["EagleEye-TraceID", T]), B = S.getPageviewId()["EagleEye-SessionID"], A.apply(l, ["EagleEye-SessionID", B]), $ = S.getConfig("pid"), A.apply(l, ["EagleEye-pAppName", $]);
1636
1636
  break;
1637
1637
  case "b3":
1638
- var J = x.getB3TraceId(Q);
1639
- A.apply(l, ["X-B3-TraceId", J["X-B3-TraceId"]]), A.apply(l, ["X-B3-ParentSpanId", J["X-B3-ParentSpanId"]]), A.apply(l, ["X-B3-SpanId", J["X-B3-SpanId"]]), A.apply(l, ["X-B3-Sampled", J["X-B3-Sampled"]]), A.apply(l, ["X-Request-ID", e.guid()]), T = J["X-B3-TraceId"], B = x.getPageviewId()["EagleEye-SessionID"];
1638
+ var J = S.getB3TraceId(Q);
1639
+ A.apply(l, ["X-B3-TraceId", J["X-B3-TraceId"]]), A.apply(l, ["X-B3-ParentSpanId", J["X-B3-ParentSpanId"]]), A.apply(l, ["X-B3-SpanId", J["X-B3-SpanId"]]), A.apply(l, ["X-B3-Sampled", J["X-B3-Sampled"]]), A.apply(l, ["X-Request-ID", e.guid()]), T = J["X-B3-TraceId"], B = S.getPageviewId()["EagleEye-SessionID"];
1640
1640
  break;
1641
1641
  case "tracing":
1642
1642
  default:
1643
- var j = x.getUberTraceId(Q);
1644
- A.apply(l, ["uber-trace-id", j["uber-trace-id"]]), T = j.traceId, B = x.getPageviewId()["EagleEye-SessionID"];
1643
+ var j = S.getUberTraceId(Q);
1644
+ A.apply(l, ["uber-trace-id", j["uber-trace-id"]]), T = j.traceId, B = S.getPageviewId()["EagleEye-SessionID"];
1645
1645
  }
1646
1646
  }
1647
1647
  }, l.send = function() {
1648
- v = Date.now(), S = e.duration();
1648
+ v = Date.now(), x = e.duration();
1649
1649
  var te = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
1650
1650
  E.apply(l, te);
1651
1651
  }, e.on(l, "readystatechange", function() {
1652
1652
  if (b && l.readyState === 4) {
1653
- var te = S(), ee = e.getXhrSnapshot(y, p, l);
1653
+ var te = x(), ee = e.getXhrSnapshot(y, p, l);
1654
1654
  if (!T) {
1655
1655
  var P = e.parseXhrHeaders(typeof l.getAllResponseHeaders == "function" && l.getAllResponseHeaders() || "");
1656
1656
  typeof P == "object" && P["eagleeye-traceid"] && (T = P["eagleeye-traceid"], q = "response");
@@ -1666,9 +1666,9 @@ function eo() {
1666
1666
  if (M && !/(text)|(json)/.test(M))
1667
1667
  return;
1668
1668
  }
1669
- l.responseType && l.responseType !== "text" ? x.api(b, !0, te, F, "", v, T, B, {}, i, q, Q) : s(x, C.parseResponse, b, y, l.responseText, F, te, v, T, B, ee, q, Q);
1669
+ l.responseType && l.responseType !== "text" ? S.api(b, !0, te, F, "", v, T, B, {}, i, q, Q) : s(S, C.parseResponse, b, y, l.responseText, F, te, v, T, B, ee, q, Q);
1670
1670
  } else
1671
- x.api(b, !1, te, l.status || "FAILED", l.statusText, v, T, B, ee, i, q, Q), C.enableResource && t.fixResourceStatus && t.fixResourceStatus({
1671
+ S.api(b, !1, te, l.status || "FAILED", l.statusText, v, T, B, ee, i, q, Q), C.enableResource && t.fixResourceStatus && t.fixResourceStatus({
1672
1672
  src: l.responseURL || y,
1673
1673
  res_type: "api"
1674
1674
  });
@@ -1702,8 +1702,8 @@ function to() {
1702
1702
  if (!p || typeof p != "string" || p === f)
1703
1703
  return g;
1704
1704
  try {
1705
- var l = f.split("#"), x = p.split("#"), v = e.cutUrlSearch(l[0]), S = e.cutUrlSearch(x[0]), b = l[1] && l[1].replace(/^\/?(.*)/, "$1"), y = x[1] && x[1].replace(/^\/?(.*)/, "$1");
1706
- b !== y ? s("historystatechange", y) : v !== S && s("historystatechange", S);
1705
+ var l = f.split("#"), S = p.split("#"), v = e.cutUrlSearch(l[0]), x = e.cutUrlSearch(S[0]), b = l[1] && l[1].replace(/^\/?(.*)/, "$1"), y = S[1] && S[1].replace(/^\/?(.*)/, "$1");
1706
+ b !== y ? s("historystatechange", y) : v !== x && s("historystatechange", x);
1707
1707
  } catch (E) {
1708
1708
  e.warn("[retcode] error in " + c + ": " + E);
1709
1709
  }
@@ -1728,8 +1728,8 @@ function io() {
1728
1728
  if (o instanceof i.PerformanceResourceTiming && o.initiatorType) {
1729
1729
  var p = r.getResType(o.initiatorType, o.name), d = u.resourceTypes || [], f = (u.ignore || {}).ignoreResources;
1730
1730
  if (p && d.includes(p) && !r.ignoreByRule(o.name, f) && !r.ignoreByRule(r.decode(o.name), f)) {
1731
- var g = o[e[0]], l = o[e[1]], x = o[e[2]], v = o[e[3]], S = o[e[4]], b = o[e[5]], y = o[e[6]], E = o[e[7]], I = o[e[8]], A = o[e[18]], C = o[e[19]];
1732
- if (!h.has(o) && (!r.areInOrder(g, l, x, v, S, b, y, E, I) || g > E))
1731
+ var g = o[e[0]], l = o[e[1]], S = o[e[2]], v = o[e[3]], x = o[e[4]], b = o[e[5]], y = o[e[6]], E = o[e[7]], I = o[e[8]], A = o[e[18]], C = o[e[19]];
1732
+ if (!h.has(o) && (!r.areInOrder(g, l, S, v, x, b, y, E, I) || g > E))
1733
1733
  return;
1734
1734
  if (A < g && (A = g), C < g && (C = l), r.areInOrder(g, A, C, l))
1735
1735
  return {
@@ -1773,8 +1773,8 @@ function io() {
1773
1773
  if (r.checkAPI(g.name, !1)) {
1774
1774
  var l = s(g, u, h);
1775
1775
  if (l) {
1776
- var x = l.res_type + "-" + l.domain;
1777
- x in p || (p[x] = []), p[x].push(l);
1776
+ var S = l.res_type + "-" + l.domain;
1777
+ S in p || (p[S] = []), p[S].push(l);
1778
1778
  }
1779
1779
  }
1780
1780
  }
@@ -1801,8 +1801,8 @@ function io() {
1801
1801
  var p = Object.keys(o);
1802
1802
  if (p.length !== 0) {
1803
1803
  var d = [];
1804
- r.each(p, function(x) {
1805
- var v = o[x], S = {
1804
+ r.each(p, function(S) {
1805
+ var v = o[S], x = {
1806
1806
  domain: "",
1807
1807
  res_type: "",
1808
1808
  src_type: "",
@@ -1817,15 +1817,15 @@ function io() {
1817
1817
  };
1818
1818
  r.each(v, function(b) {
1819
1819
  var y = b.timing || {}, E = h.get(b.timing), I = E ? E.success : 1, A = b.duration > u ? 1 : 0;
1820
- S.domain = b.domain, S.res_type = b.res_type, S.src_type = b.src_type, S.count += 1, S.duration += b.duration, S.size += b.size, I || (S.err_count += 1, S.err_duration += b.duration), A && (S.slow_count += 1, S.slow_duration += b.duration);
1820
+ x.domain = b.domain, x.res_type = b.res_type, x.src_type = b.src_type, x.count += 1, x.duration += b.duration, x.size += b.size, I || (x.err_count += 1, x.err_duration += b.duration), A && (x.slow_count += 1, x.slow_duration += b.duration);
1821
1821
  try {
1822
1822
  var C = JSON.parse(JSON.stringify(y));
1823
- C.success = I, C.resourceSlow = u, C.isSlow = A, S.timings.push(C);
1823
+ C.success = I, C.resourceSlow = u, C.isSlow = A, x.timings.push(C);
1824
1824
  } catch (L) {
1825
1825
  }
1826
- }), S.count && (S.size = Math.round(S.size / S.count), S.duration = Math.round(S.duration / S.count)), S.slow_count && (S.slow_duration = Math.round(S.slow_duration / S.slow_count)), S.err_count && (S.err_duration = Math.round(S.err_duration / S.err_count)), S.timings.length > 20 && (S.timings.sort(function(b, y) {
1826
+ }), x.count && (x.size = Math.round(x.size / x.count), x.duration = Math.round(x.duration / x.count)), x.slow_count && (x.slow_duration = Math.round(x.slow_duration / x.slow_count)), x.err_count && (x.err_duration = Math.round(x.err_duration / x.err_count)), x.timings.length > 20 && (x.timings.sort(function(b, y) {
1827
1827
  return y.duration - b.duration;
1828
- }), S.timings.length = 20), S.timings = encodeURIComponent(JSON.stringify(S.timings)), d.push(S);
1828
+ }), x.timings.length = 20), x.timings = encodeURIComponent(JSON.stringify(x.timings)), d.push(x);
1829
1829
  });
1830
1830
  var f = {
1831
1831
  _combo: 1,
@@ -2256,7 +2256,7 @@ function st(r, n, e) {
2256
2256
  return po(t);
2257
2257
  }
2258
2258
  var xi = /* @__PURE__ */ ((r) => (r.prod = "rs.rtn.aliyuncs.com", r.pre = "prs.rtn.aliyuncs.com", r))(xi || {});
2259
- const yi = "6.13.3", Ks = "web";
2259
+ const yi = "6.13.4-beta.0", Ks = "web";
2260
2260
  class Ue {
2261
2261
  /**
2262
2262
  * 将版本号转换为number
@@ -2558,28 +2558,28 @@ function ne() {
2558
2558
  if (typeof window != "undefined" && window.crypto && (s = window.crypto), typeof self != "undefined" && self.crypto && (s = self.crypto), typeof globalThis != "undefined" && globalThis.crypto && (s = globalThis.crypto), !s && typeof window != "undefined" && window.msCrypto && (s = window.msCrypto), !s && typeof ie != "undefined" && ie.crypto && (s = ie.crypto), !s && typeof Co == "function")
2559
2559
  try {
2560
2560
  s = wo;
2561
- } catch (S) {
2561
+ } catch (x) {
2562
2562
  }
2563
2563
  var a = function() {
2564
2564
  if (s) {
2565
2565
  if (typeof s.getRandomValues == "function")
2566
2566
  try {
2567
2567
  return s.getRandomValues(new Uint32Array(1))[0];
2568
- } catch (S) {
2568
+ } catch (x) {
2569
2569
  }
2570
2570
  if (typeof s.randomBytes == "function")
2571
2571
  try {
2572
2572
  return s.randomBytes(4).readInt32LE();
2573
- } catch (S) {
2573
+ } catch (x) {
2574
2574
  }
2575
2575
  }
2576
2576
  throw new Error("Native crypto module could not be used to get secure random number.");
2577
2577
  }, c = Object.create || function() {
2578
- function S() {
2578
+ function x() {
2579
2579
  }
2580
2580
  return function(b) {
2581
2581
  var y;
2582
- return S.prototype = b, y = new S(), S.prototype = null, y;
2582
+ return x.prototype = b, y = new x(), x.prototype = null, y;
2583
2583
  };
2584
2584
  }(), o = {}, u = o.lib = {}, h = u.Base = function() {
2585
2585
  return {
@@ -2601,9 +2601,9 @@ function ne() {
2601
2601
  * }
2602
2602
  * });
2603
2603
  */
2604
- extend: function(S) {
2604
+ extend: function(x) {
2605
2605
  var b = c(this);
2606
- return S && b.mixIn(S), (!b.hasOwnProperty("init") || this.init === b.init) && (b.init = function() {
2606
+ return x && b.mixIn(x), (!b.hasOwnProperty("init") || this.init === b.init) && (b.init = function() {
2607
2607
  b.$super.init.apply(this, arguments);
2608
2608
  }), b.init.prototype = b, b.$super = this, b;
2609
2609
  },
@@ -2620,8 +2620,8 @@ function ne() {
2620
2620
  * var instance = MyType.create();
2621
2621
  */
2622
2622
  create: function() {
2623
- var S = this.extend();
2624
- return S.init.apply(S, arguments), S;
2623
+ var x = this.extend();
2624
+ return x.init.apply(x, arguments), x;
2625
2625
  },
2626
2626
  /**
2627
2627
  * Initializes a newly created object.
@@ -2648,10 +2648,10 @@ function ne() {
2648
2648
  * field: 'value'
2649
2649
  * });
2650
2650
  */
2651
- mixIn: function(S) {
2652
- for (var b in S)
2653
- S.hasOwnProperty(b) && (this[b] = S[b]);
2654
- S.hasOwnProperty("toString") && (this.toString = S.toString);
2651
+ mixIn: function(x) {
2652
+ for (var b in x)
2653
+ x.hasOwnProperty(b) && (this[b] = x[b]);
2654
+ x.hasOwnProperty("toString") && (this.toString = x.toString);
2655
2655
  },
2656
2656
  /**
2657
2657
  * Creates a copy of this object.
@@ -2679,8 +2679,8 @@ function ne() {
2679
2679
  * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
2680
2680
  * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
2681
2681
  */
2682
- init: function(S, b) {
2683
- S = this.words = S || [], b != i ? this.sigBytes = b : this.sigBytes = S.length * 4;
2682
+ init: function(x, b) {
2683
+ x = this.words = x || [], b != i ? this.sigBytes = b : this.sigBytes = x.length * 4;
2684
2684
  },
2685
2685
  /**
2686
2686
  * Converts this word array to a string.
@@ -2695,8 +2695,8 @@ function ne() {
2695
2695
  * var string = wordArray.toString();
2696
2696
  * var string = wordArray.toString(CryptoJS.enc.Utf8);
2697
2697
  */
2698
- toString: function(S) {
2699
- return (S || f).stringify(this);
2698
+ toString: function(x) {
2699
+ return (x || f).stringify(this);
2700
2700
  },
2701
2701
  /**
2702
2702
  * Concatenates a word array to this word array.
@@ -2709,8 +2709,8 @@ function ne() {
2709
2709
  *
2710
2710
  * wordArray1.concat(wordArray2);
2711
2711
  */
2712
- concat: function(S) {
2713
- var b = this.words, y = S.words, E = this.sigBytes, I = S.sigBytes;
2712
+ concat: function(x) {
2713
+ var b = this.words, y = x.words, E = this.sigBytes, I = x.sigBytes;
2714
2714
  if (this.clamp(), E % 4)
2715
2715
  for (var A = 0; A < I; A++) {
2716
2716
  var C = y[A >>> 2] >>> 24 - A % 4 * 8 & 255;
@@ -2729,8 +2729,8 @@ function ne() {
2729
2729
  * wordArray.clamp();
2730
2730
  */
2731
2731
  clamp: function() {
2732
- var S = this.words, b = this.sigBytes;
2733
- S[b >>> 2] &= 4294967295 << 32 - b % 4 * 8, S.length = t.ceil(b / 4);
2732
+ var x = this.words, b = this.sigBytes;
2733
+ x[b >>> 2] &= 4294967295 << 32 - b % 4 * 8, x.length = t.ceil(b / 4);
2734
2734
  },
2735
2735
  /**
2736
2736
  * Creates a copy of this word array.
@@ -2742,8 +2742,8 @@ function ne() {
2742
2742
  * var clone = wordArray.clone();
2743
2743
  */
2744
2744
  clone: function() {
2745
- var S = h.clone.call(this);
2746
- return S.words = this.words.slice(0), S;
2745
+ var x = h.clone.call(this);
2746
+ return x.words = this.words.slice(0), x;
2747
2747
  },
2748
2748
  /**
2749
2749
  * Creates a word array filled with random bytes.
@@ -2758,10 +2758,10 @@ function ne() {
2758
2758
  *
2759
2759
  * var wordArray = CryptoJS.lib.WordArray.random(16);
2760
2760
  */
2761
- random: function(S) {
2762
- for (var b = [], y = 0; y < S; y += 4)
2761
+ random: function(x) {
2762
+ for (var b = [], y = 0; y < x; y += 4)
2763
2763
  b.push(a());
2764
- return new p.init(b, S);
2764
+ return new p.init(b, x);
2765
2765
  }
2766
2766
  }), d = o.enc = {}, f = d.Hex = {
2767
2767
  /**
@@ -2777,8 +2777,8 @@ function ne() {
2777
2777
  *
2778
2778
  * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
2779
2779
  */
2780
- stringify: function(S) {
2781
- for (var b = S.words, y = S.sigBytes, E = [], I = 0; I < y; I++) {
2780
+ stringify: function(x) {
2781
+ for (var b = x.words, y = x.sigBytes, E = [], I = 0; I < y; I++) {
2782
2782
  var A = b[I >>> 2] >>> 24 - I % 4 * 8 & 255;
2783
2783
  E.push((A >>> 4).toString(16)), E.push((A & 15).toString(16));
2784
2784
  }
@@ -2797,9 +2797,9 @@ function ne() {
2797
2797
  *
2798
2798
  * var wordArray = CryptoJS.enc.Hex.parse(hexString);
2799
2799
  */
2800
- parse: function(S) {
2801
- for (var b = S.length, y = [], E = 0; E < b; E += 2)
2802
- y[E >>> 3] |= parseInt(S.substr(E, 2), 16) << 24 - E % 8 * 4;
2800
+ parse: function(x) {
2801
+ for (var b = x.length, y = [], E = 0; E < b; E += 2)
2802
+ y[E >>> 3] |= parseInt(x.substr(E, 2), 16) << 24 - E % 8 * 4;
2803
2803
  return new p.init(y, b / 2);
2804
2804
  }
2805
2805
  }, g = d.Latin1 = {
@@ -2816,8 +2816,8 @@ function ne() {
2816
2816
  *
2817
2817
  * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
2818
2818
  */
2819
- stringify: function(S) {
2820
- for (var b = S.words, y = S.sigBytes, E = [], I = 0; I < y; I++) {
2819
+ stringify: function(x) {
2820
+ for (var b = x.words, y = x.sigBytes, E = [], I = 0; I < y; I++) {
2821
2821
  var A = b[I >>> 2] >>> 24 - I % 4 * 8 & 255;
2822
2822
  E.push(String.fromCharCode(A));
2823
2823
  }
@@ -2836,9 +2836,9 @@ function ne() {
2836
2836
  *
2837
2837
  * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
2838
2838
  */
2839
- parse: function(S) {
2840
- for (var b = S.length, y = [], E = 0; E < b; E++)
2841
- y[E >>> 2] |= (S.charCodeAt(E) & 255) << 24 - E % 4 * 8;
2839
+ parse: function(x) {
2840
+ for (var b = x.length, y = [], E = 0; E < b; E++)
2841
+ y[E >>> 2] |= (x.charCodeAt(E) & 255) << 24 - E % 4 * 8;
2842
2842
  return new p.init(y, b);
2843
2843
  }
2844
2844
  }, l = d.Utf8 = {
@@ -2855,9 +2855,9 @@ function ne() {
2855
2855
  *
2856
2856
  * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
2857
2857
  */
2858
- stringify: function(S) {
2858
+ stringify: function(x) {
2859
2859
  try {
2860
- return decodeURIComponent(escape(g.stringify(S)));
2860
+ return decodeURIComponent(escape(g.stringify(x)));
2861
2861
  } catch (b) {
2862
2862
  throw new Error("Malformed UTF-8 data");
2863
2863
  }
@@ -2875,10 +2875,10 @@ function ne() {
2875
2875
  *
2876
2876
  * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
2877
2877
  */
2878
- parse: function(S) {
2879
- return g.parse(unescape(encodeURIComponent(S)));
2878
+ parse: function(x) {
2879
+ return g.parse(unescape(encodeURIComponent(x)));
2880
2880
  }
2881
- }, x = u.BufferedBlockAlgorithm = h.extend({
2881
+ }, S = u.BufferedBlockAlgorithm = h.extend({
2882
2882
  /**
2883
2883
  * Resets this block algorithm's data buffer to its initial state.
2884
2884
  *
@@ -2899,8 +2899,8 @@ function ne() {
2899
2899
  * bufferedBlockAlgorithm._append('data');
2900
2900
  * bufferedBlockAlgorithm._append(wordArray);
2901
2901
  */
2902
- _append: function(S) {
2903
- typeof S == "string" && (S = l.parse(S)), this._data.concat(S), this._nDataBytes += S.sigBytes;
2902
+ _append: function(x) {
2903
+ typeof x == "string" && (x = l.parse(x)), this._data.concat(x), this._nDataBytes += x.sigBytes;
2904
2904
  },
2905
2905
  /**
2906
2906
  * Processes available data blocks.
@@ -2916,9 +2916,9 @@ function ne() {
2916
2916
  * var processedData = bufferedBlockAlgorithm._process();
2917
2917
  * var processedData = bufferedBlockAlgorithm._process(!!'flush');
2918
2918
  */
2919
- _process: function(S) {
2919
+ _process: function(x) {
2920
2920
  var b, y = this._data, E = y.words, I = y.sigBytes, A = this.blockSize, C = A * 4, L = I / C;
2921
- S ? L = t.ceil(L) : L = t.max((L | 0) - this._minBufferSize, 0);
2921
+ x ? L = t.ceil(L) : L = t.max((L | 0) - this._minBufferSize, 0);
2922
2922
  var _ = L * A, R = t.min(_ * 4, I);
2923
2923
  if (_) {
2924
2924
  for (var T = 0; T < _; T += A)
@@ -2937,12 +2937,12 @@ function ne() {
2937
2937
  * var clone = bufferedBlockAlgorithm.clone();
2938
2938
  */
2939
2939
  clone: function() {
2940
- var S = h.clone.call(this);
2941
- return S._data = this._data.clone(), S;
2940
+ var x = h.clone.call(this);
2941
+ return x._data = this._data.clone(), x;
2942
2942
  },
2943
2943
  _minBufferSize: 0
2944
2944
  });
2945
- u.Hasher = x.extend({
2945
+ u.Hasher = S.extend({
2946
2946
  /**
2947
2947
  * Configuration options.
2948
2948
  */
@@ -2956,8 +2956,8 @@ function ne() {
2956
2956
  *
2957
2957
  * var hasher = CryptoJS.algo.SHA256.create();
2958
2958
  */
2959
- init: function(S) {
2960
- this.cfg = this.cfg.extend(S), this.reset();
2959
+ init: function(x) {
2960
+ this.cfg = this.cfg.extend(x), this.reset();
2961
2961
  },
2962
2962
  /**
2963
2963
  * Resets this hasher to its initial state.
@@ -2967,7 +2967,7 @@ function ne() {
2967
2967
  * hasher.reset();
2968
2968
  */
2969
2969
  reset: function() {
2970
- x.reset.call(this), this._doReset();
2970
+ S.reset.call(this), this._doReset();
2971
2971
  },
2972
2972
  /**
2973
2973
  * Updates this hasher with a message.
@@ -2981,8 +2981,8 @@ function ne() {
2981
2981
  * hasher.update('message');
2982
2982
  * hasher.update(wordArray);
2983
2983
  */
2984
- update: function(S) {
2985
- return this._append(S), this._process(), this;
2984
+ update: function(x) {
2985
+ return this._append(x), this._process(), this;
2986
2986
  },
2987
2987
  /**
2988
2988
  * Finalizes the hash computation.
@@ -2998,8 +2998,8 @@ function ne() {
2998
2998
  * var hash = hasher.finalize('message');
2999
2999
  * var hash = hasher.finalize(wordArray);
3000
3000
  */
3001
- finalize: function(S) {
3002
- S && this._append(S);
3001
+ finalize: function(x) {
3002
+ x && this._append(x);
3003
3003
  var b = this._doFinalize();
3004
3004
  return b;
3005
3005
  },
@@ -3017,9 +3017,9 @@ function ne() {
3017
3017
  *
3018
3018
  * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
3019
3019
  */
3020
- _createHelper: function(S) {
3020
+ _createHelper: function(x) {
3021
3021
  return function(b, y) {
3022
- return new S.init(y).finalize(b);
3022
+ return new x.init(y).finalize(b);
3023
3023
  };
3024
3024
  },
3025
3025
  /**
@@ -3035,9 +3035,9 @@ function ne() {
3035
3035
  *
3036
3036
  * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
3037
3037
  */
3038
- _createHmacHelper: function(S) {
3038
+ _createHmacHelper: function(x) {
3039
3039
  return function(b, y) {
3040
- return new v.HMAC.init(S, y).finalize(b);
3040
+ return new v.HMAC.init(x, y).finalize(b);
3041
3041
  };
3042
3042
  }
3043
3043
  });
@@ -3420,8 +3420,8 @@ function Mt() {
3420
3420
  var u = o.words, h = o.sigBytes, p = this._map;
3421
3421
  o.clamp();
3422
3422
  for (var d = [], f = 0; f < h; f += 3)
3423
- for (var g = u[f >>> 2] >>> 24 - f % 4 * 8 & 255, l = u[f + 1 >>> 2] >>> 24 - (f + 1) % 4 * 8 & 255, x = u[f + 2 >>> 2] >>> 24 - (f + 2) % 4 * 8 & 255, v = g << 16 | l << 8 | x, S = 0; S < 4 && f + S * 0.75 < h; S++)
3424
- d.push(p.charAt(v >>> 6 * (3 - S) & 63));
3423
+ for (var g = u[f >>> 2] >>> 24 - f % 4 * 8 & 255, l = u[f + 1 >>> 2] >>> 24 - (f + 1) % 4 * 8 & 255, S = u[f + 2 >>> 2] >>> 24 - (f + 2) % 4 * 8 & 255, v = g << 16 | l << 8 | S, x = 0; x < 4 && f + x * 0.75 < h; x++)
3424
+ d.push(p.charAt(v >>> 6 * (3 - x) & 63));
3425
3425
  var b = p.charAt(64);
3426
3426
  if (b)
3427
3427
  for (; d.length % 4; )
@@ -3460,8 +3460,8 @@ function Mt() {
3460
3460
  function c(o, u, h) {
3461
3461
  for (var p = [], d = 0, f = 0; f < u; f++)
3462
3462
  if (f % 4) {
3463
- var g = h[o.charCodeAt(f - 1)] << f % 4 * 2, l = h[o.charCodeAt(f)] >>> 6 - f % 4 * 2, x = g | l;
3464
- p[d >>> 2] |= x << 24 - d % 4 * 8, d++;
3463
+ var g = h[o.charCodeAt(f - 1)] << f % 4 * 2, l = h[o.charCodeAt(f)] >>> 6 - f % 4 * 2, S = g | l;
3464
+ p[d >>> 2] |= S << 24 - d % 4 * 8, d++;
3465
3465
  }
3466
3466
  return s.create(p, d);
3467
3467
  }
@@ -3498,8 +3498,8 @@ function Po() {
3498
3498
  var h = o.words, p = o.sigBytes, d = u ? this._safe_map : this._map;
3499
3499
  o.clamp();
3500
3500
  for (var f = [], g = 0; g < p; g += 3)
3501
- for (var l = h[g >>> 2] >>> 24 - g % 4 * 8 & 255, x = h[g + 1 >>> 2] >>> 24 - (g + 1) % 4 * 8 & 255, v = h[g + 2 >>> 2] >>> 24 - (g + 2) % 4 * 8 & 255, S = l << 16 | x << 8 | v, b = 0; b < 4 && g + b * 0.75 < p; b++)
3502
- f.push(d.charAt(S >>> 6 * (3 - b) & 63));
3501
+ for (var l = h[g >>> 2] >>> 24 - g % 4 * 8 & 255, S = h[g + 1 >>> 2] >>> 24 - (g + 1) % 4 * 8 & 255, v = h[g + 2 >>> 2] >>> 24 - (g + 2) % 4 * 8 & 255, x = l << 16 | S << 8 | v, b = 0; b < 4 && g + b * 0.75 < p; b++)
3502
+ f.push(d.charAt(x >>> 6 * (3 - b) & 63));
3503
3503
  var y = d.charAt(64);
3504
3504
  if (y)
3505
3505
  for (; f.length % 4; )
@@ -3542,8 +3542,8 @@ function Po() {
3542
3542
  function c(o, u, h) {
3543
3543
  for (var p = [], d = 0, f = 0; f < u; f++)
3544
3544
  if (f % 4) {
3545
- var g = h[o.charCodeAt(f - 1)] << f % 4 * 2, l = h[o.charCodeAt(f)] >>> 6 - f % 4 * 2, x = g | l;
3546
- p[d >>> 2] |= x << 24 - d % 4 * 8, d++;
3545
+ var g = h[o.charCodeAt(f - 1)] << f % 4 * 2, l = h[o.charCodeAt(f)] >>> 6 - f % 4 * 2, S = g | l;
3546
+ p[d >>> 2] |= S << 24 - d % 4 * 8, d++;
3547
3547
  }
3548
3548
  return s.create(p, d);
3549
3549
  }
@@ -3572,19 +3572,19 @@ function Lt() {
3572
3572
  271733878
3573
3573
  ]);
3574
3574
  },
3575
- _doProcessBlock: function(l, x) {
3575
+ _doProcessBlock: function(l, S) {
3576
3576
  for (var v = 0; v < 16; v++) {
3577
- var S = x + v, b = l[S];
3578
- l[S] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360;
3577
+ var x = S + v, b = l[x];
3578
+ l[x] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360;
3579
3579
  }
3580
- var y = this._hash.words, E = l[x + 0], I = l[x + 1], A = l[x + 2], C = l[x + 3], L = l[x + 4], _ = l[x + 5], R = l[x + 6], T = l[x + 7], B = l[x + 8], $ = l[x + 9], q = l[x + 10], G = l[x + 11], ae = l[x + 12], Q = l[x + 13], te = l[x + 14], ee = l[x + 15], P = y[0], N = y[1], F = y[2], M = y[3];
3580
+ var y = this._hash.words, E = l[S + 0], I = l[S + 1], A = l[S + 2], C = l[S + 3], L = l[S + 4], _ = l[S + 5], R = l[S + 6], T = l[S + 7], B = l[S + 8], $ = l[S + 9], q = l[S + 10], G = l[S + 11], ae = l[S + 12], Q = l[S + 13], te = l[S + 14], ee = l[S + 15], P = y[0], N = y[1], F = y[2], M = y[3];
3581
3581
  P = p(P, N, F, M, E, 7, u[0]), M = p(M, P, N, F, I, 12, u[1]), F = p(F, M, P, N, A, 17, u[2]), N = p(N, F, M, P, C, 22, u[3]), P = p(P, N, F, M, L, 7, u[4]), M = p(M, P, N, F, _, 12, u[5]), F = p(F, M, P, N, R, 17, u[6]), N = p(N, F, M, P, T, 22, u[7]), P = p(P, N, F, M, B, 7, u[8]), M = p(M, P, N, F, $, 12, u[9]), F = p(F, M, P, N, q, 17, u[10]), N = p(N, F, M, P, G, 22, u[11]), P = p(P, N, F, M, ae, 7, u[12]), M = p(M, P, N, F, Q, 12, u[13]), F = p(F, M, P, N, te, 17, u[14]), N = p(N, F, M, P, ee, 22, u[15]), P = d(P, N, F, M, I, 5, u[16]), M = d(M, P, N, F, R, 9, u[17]), F = d(F, M, P, N, G, 14, u[18]), N = d(N, F, M, P, E, 20, u[19]), P = d(P, N, F, M, _, 5, u[20]), M = d(M, P, N, F, q, 9, u[21]), F = d(F, M, P, N, ee, 14, u[22]), N = d(N, F, M, P, L, 20, u[23]), P = d(P, N, F, M, $, 5, u[24]), M = d(M, P, N, F, te, 9, u[25]), F = d(F, M, P, N, C, 14, u[26]), N = d(N, F, M, P, B, 20, u[27]), P = d(P, N, F, M, Q, 5, u[28]), M = d(M, P, N, F, A, 9, u[29]), F = d(F, M, P, N, T, 14, u[30]), N = d(N, F, M, P, ae, 20, u[31]), P = f(P, N, F, M, _, 4, u[32]), M = f(M, P, N, F, B, 11, u[33]), F = f(F, M, P, N, G, 16, u[34]), N = f(N, F, M, P, te, 23, u[35]), P = f(P, N, F, M, I, 4, u[36]), M = f(M, P, N, F, L, 11, u[37]), F = f(F, M, P, N, T, 16, u[38]), N = f(N, F, M, P, q, 23, u[39]), P = f(P, N, F, M, Q, 4, u[40]), M = f(M, P, N, F, E, 11, u[41]), F = f(F, M, P, N, C, 16, u[42]), N = f(N, F, M, P, R, 23, u[43]), P = f(P, N, F, M, $, 4, u[44]), M = f(M, P, N, F, ae, 11, u[45]), F = f(F, M, P, N, ee, 16, u[46]), N = f(N, F, M, P, A, 23, u[47]), P = g(P, N, F, M, E, 6, u[48]), M = g(M, P, N, F, T, 10, u[49]), F = g(F, M, P, N, te, 15, u[50]), N = g(N, F, M, P, _, 21, u[51]), P = g(P, N, F, M, ae, 6, u[52]), M = g(M, P, N, F, C, 10, u[53]), F = g(F, M, P, N, q, 15, u[54]), N = g(N, F, M, P, I, 21, u[55]), P = g(P, N, F, M, B, 6, u[56]), M = g(M, P, N, F, ee, 10, u[57]), F = g(F, M, P, N, R, 15, u[58]), N = g(N, F, M, P, Q, 21, u[59]), P = g(P, N, F, M, L, 6, u[60]), M = g(M, P, N, F, G, 10, u[61]), F = g(F, M, P, N, A, 15, u[62]), N = g(N, F, M, P, $, 21, u[63]), y[0] = y[0] + P | 0, y[1] = y[1] + N | 0, y[2] = y[2] + F | 0, y[3] = y[3] + M | 0;
3582
3582
  },
3583
3583
  _doFinalize: function() {
3584
- var l = this._data, x = l.words, v = this._nDataBytes * 8, S = l.sigBytes * 8;
3585
- x[S >>> 5] |= 128 << 24 - S % 32;
3584
+ var l = this._data, S = l.words, v = this._nDataBytes * 8, x = l.sigBytes * 8;
3585
+ S[x >>> 5] |= 128 << 24 - x % 32;
3586
3586
  var b = t.floor(v / 4294967296), y = v;
3587
- x[(S + 64 >>> 9 << 4) + 15] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, x[(S + 64 >>> 9 << 4) + 14] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, l.sigBytes = (x.length + 1) * 4, this._process();
3587
+ S[(x + 64 >>> 9 << 4) + 15] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, S[(x + 64 >>> 9 << 4) + 14] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, l.sigBytes = (S.length + 1) * 4, this._process();
3588
3588
  for (var E = this._hash, I = E.words, A = 0; A < 4; A++) {
3589
3589
  var C = I[A];
3590
3590
  I[A] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360;
@@ -3596,21 +3596,21 @@ function Lt() {
3596
3596
  return l._hash = this._hash.clone(), l;
3597
3597
  }
3598
3598
  });
3599
- function p(l, x, v, S, b, y, E) {
3600
- var I = l + (x & v | ~x & S) + b + E;
3601
- return (I << y | I >>> 32 - y) + x;
3599
+ function p(l, S, v, x, b, y, E) {
3600
+ var I = l + (S & v | ~S & x) + b + E;
3601
+ return (I << y | I >>> 32 - y) + S;
3602
3602
  }
3603
- function d(l, x, v, S, b, y, E) {
3604
- var I = l + (x & S | v & ~S) + b + E;
3605
- return (I << y | I >>> 32 - y) + x;
3603
+ function d(l, S, v, x, b, y, E) {
3604
+ var I = l + (S & x | v & ~x) + b + E;
3605
+ return (I << y | I >>> 32 - y) + S;
3606
3606
  }
3607
- function f(l, x, v, S, b, y, E) {
3608
- var I = l + (x ^ v ^ S) + b + E;
3609
- return (I << y | I >>> 32 - y) + x;
3607
+ function f(l, S, v, x, b, y, E) {
3608
+ var I = l + (S ^ v ^ x) + b + E;
3609
+ return (I << y | I >>> 32 - y) + S;
3610
3610
  }
3611
- function g(l, x, v, S, b, y, E) {
3612
- var I = l + (v ^ (x | ~S)) + b + E;
3613
- return (I << y | I >>> 32 - y) + x;
3611
+ function g(l, S, v, x, b, y, E) {
3612
+ var I = l + (v ^ (S | ~x)) + b + E;
3613
+ return (I << y | I >>> 32 - y) + S;
3614
3614
  }
3615
3615
  i.MD5 = c._createHelper(h), i.HmacMD5 = c._createHmacHelper(h);
3616
3616
  }(Math), e.MD5;
@@ -3635,17 +3635,17 @@ function sn() {
3635
3635
  ]);
3636
3636
  },
3637
3637
  _doProcessBlock: function(h, p) {
3638
- for (var d = this._hash.words, f = d[0], g = d[1], l = d[2], x = d[3], v = d[4], S = 0; S < 80; S++) {
3639
- if (S < 16)
3640
- o[S] = h[p + S] | 0;
3638
+ for (var d = this._hash.words, f = d[0], g = d[1], l = d[2], S = d[3], v = d[4], x = 0; x < 80; x++) {
3639
+ if (x < 16)
3640
+ o[x] = h[p + x] | 0;
3641
3641
  else {
3642
- var b = o[S - 3] ^ o[S - 8] ^ o[S - 14] ^ o[S - 16];
3643
- o[S] = b << 1 | b >>> 31;
3642
+ var b = o[x - 3] ^ o[x - 8] ^ o[x - 14] ^ o[x - 16];
3643
+ o[x] = b << 1 | b >>> 31;
3644
3644
  }
3645
- var y = (f << 5 | f >>> 27) + v + o[S];
3646
- S < 20 ? y += (g & l | ~g & x) + 1518500249 : S < 40 ? y += (g ^ l ^ x) + 1859775393 : S < 60 ? y += (g & l | g & x | l & x) - 1894007588 : y += (g ^ l ^ x) - 899497514, v = x, x = l, l = g << 30 | g >>> 2, g = f, f = y;
3645
+ var y = (f << 5 | f >>> 27) + v + o[x];
3646
+ x < 20 ? y += (g & l | ~g & S) + 1518500249 : x < 40 ? y += (g ^ l ^ S) + 1859775393 : x < 60 ? y += (g & l | g & S | l & S) - 1894007588 : y += (g ^ l ^ S) - 899497514, v = S, S = l, l = g << 30 | g >>> 2, g = f, f = y;
3647
3647
  }
3648
- d[0] = d[0] + f | 0, d[1] = d[1] + g | 0, d[2] = d[2] + l | 0, d[3] = d[3] + x | 0, d[4] = d[4] + v | 0;
3648
+ d[0] = d[0] + f | 0, d[1] = d[1] + g | 0, d[2] = d[2] + l | 0, d[3] = d[3] + S | 0, d[4] = d[4] + v | 0;
3649
3649
  },
3650
3650
  _doFinalize: function() {
3651
3651
  var h = this._data, p = h.words, d = this._nDataBytes * 8, f = h.sigBytes * 8;
@@ -3671,7 +3671,7 @@ function $r() {
3671
3671
  var i = e, s = i.lib, a = s.WordArray, c = s.Hasher, o = i.algo, u = [], h = [];
3672
3672
  (function() {
3673
3673
  function f(v) {
3674
- for (var S = t.sqrt(v), b = 2; b <= S; b++)
3674
+ for (var x = t.sqrt(v), b = 2; b <= x; b++)
3675
3675
  if (!(v % b))
3676
3676
  return !1;
3677
3677
  return !0;
@@ -3679,29 +3679,29 @@ function $r() {
3679
3679
  function g(v) {
3680
3680
  return (v - (v | 0)) * 4294967296 | 0;
3681
3681
  }
3682
- for (var l = 2, x = 0; x < 64; )
3683
- f(l) && (x < 8 && (u[x] = g(t.pow(l, 1 / 2))), h[x] = g(t.pow(l, 1 / 3)), x++), l++;
3682
+ for (var l = 2, S = 0; S < 64; )
3683
+ f(l) && (S < 8 && (u[S] = g(t.pow(l, 1 / 2))), h[S] = g(t.pow(l, 1 / 3)), S++), l++;
3684
3684
  })();
3685
3685
  var p = [], d = o.SHA256 = c.extend({
3686
3686
  _doReset: function() {
3687
3687
  this._hash = new a.init(u.slice(0));
3688
3688
  },
3689
3689
  _doProcessBlock: function(f, g) {
3690
- for (var l = this._hash.words, x = l[0], v = l[1], S = l[2], b = l[3], y = l[4], E = l[5], I = l[6], A = l[7], C = 0; C < 64; C++) {
3690
+ for (var l = this._hash.words, S = l[0], v = l[1], x = l[2], b = l[3], y = l[4], E = l[5], I = l[6], A = l[7], C = 0; C < 64; C++) {
3691
3691
  if (C < 16)
3692
3692
  p[C] = f[g + C] | 0;
3693
3693
  else {
3694
3694
  var L = p[C - 15], _ = (L << 25 | L >>> 7) ^ (L << 14 | L >>> 18) ^ L >>> 3, R = p[C - 2], T = (R << 15 | R >>> 17) ^ (R << 13 | R >>> 19) ^ R >>> 10;
3695
3695
  p[C] = _ + p[C - 7] + T + p[C - 16];
3696
3696
  }
3697
- var B = y & E ^ ~y & I, $ = x & v ^ x & S ^ v & S, q = (x << 30 | x >>> 2) ^ (x << 19 | x >>> 13) ^ (x << 10 | x >>> 22), G = (y << 26 | y >>> 6) ^ (y << 21 | y >>> 11) ^ (y << 7 | y >>> 25), ae = A + G + B + h[C] + p[C], Q = q + $;
3698
- A = I, I = E, E = y, y = b + ae | 0, b = S, S = v, v = x, x = ae + Q | 0;
3697
+ var B = y & E ^ ~y & I, $ = S & v ^ S & x ^ v & x, q = (S << 30 | S >>> 2) ^ (S << 19 | S >>> 13) ^ (S << 10 | S >>> 22), G = (y << 26 | y >>> 6) ^ (y << 21 | y >>> 11) ^ (y << 7 | y >>> 25), ae = A + G + B + h[C] + p[C], Q = q + $;
3698
+ A = I, I = E, E = y, y = b + ae | 0, b = x, x = v, v = S, S = ae + Q | 0;
3699
3699
  }
3700
- l[0] = l[0] + x | 0, l[1] = l[1] + v | 0, l[2] = l[2] + S | 0, l[3] = l[3] + b | 0, l[4] = l[4] + y | 0, l[5] = l[5] + E | 0, l[6] = l[6] + I | 0, l[7] = l[7] + A | 0;
3700
+ l[0] = l[0] + S | 0, l[1] = l[1] + v | 0, l[2] = l[2] + x | 0, l[3] = l[3] + b | 0, l[4] = l[4] + y | 0, l[5] = l[5] + E | 0, l[6] = l[6] + I | 0, l[7] = l[7] + A | 0;
3701
3701
  },
3702
3702
  _doFinalize: function() {
3703
- var f = this._data, g = f.words, l = this._nDataBytes * 8, x = f.sigBytes * 8;
3704
- return g[x >>> 5] |= 128 << 24 - x % 32, g[(x + 64 >>> 9 << 4) + 14] = t.floor(l / 4294967296), g[(x + 64 >>> 9 << 4) + 15] = l, f.sigBytes = g.length * 4, this._process(), this._hash;
3703
+ var f = this._data, g = f.words, l = this._nDataBytes * 8, S = f.sigBytes * 8;
3704
+ return g[S >>> 5] |= 128 << 24 - S % 32, g[(S + 64 >>> 9 << 4) + 14] = t.floor(l / 4294967296), g[(S + 64 >>> 9 << 4) + 15] = l, f.sigBytes = g.length * 4, this._process(), this._hash;
3705
3705
  },
3706
3706
  clone: function() {
3707
3707
  var f = c.clone.call(this);
@@ -3854,7 +3854,7 @@ function an() {
3854
3854
  ]);
3855
3855
  },
3856
3856
  _doProcessBlock: function(g, l) {
3857
- for (var x = this._hash.words, v = x[0], S = x[1], b = x[2], y = x[3], E = x[4], I = x[5], A = x[6], C = x[7], L = v.high, _ = v.low, R = S.high, T = S.low, B = b.high, $ = b.low, q = y.high, G = y.low, ae = E.high, Q = E.low, te = I.high, ee = I.low, P = A.high, N = A.low, F = C.high, M = C.low, J = L, j = _, ue = R, X = T, Fe = B, je = $, Xe = q, Ye = G, xe = ae, Pe = Q, at = te, Et = ee, Nt = P, At = N, Jt = F, _t = M, ke = 0; ke < 80; ke++) {
3857
+ for (var S = this._hash.words, v = S[0], x = S[1], b = S[2], y = S[3], E = S[4], I = S[5], A = S[6], C = S[7], L = v.high, _ = v.low, R = x.high, T = x.low, B = b.high, $ = b.low, q = y.high, G = y.low, ae = E.high, Q = E.low, te = I.high, ee = I.low, P = A.high, N = A.low, F = C.high, M = C.low, J = L, j = _, ue = R, X = T, Fe = B, je = $, Xe = q, Ye = G, xe = ae, Pe = Q, at = te, Et = ee, Nt = P, At = N, Jt = F, _t = M, ke = 0; ke < 80; ke++) {
3858
3858
  var Ce, Ze, Ct = d[ke];
3859
3859
  if (ke < 16)
3860
3860
  Ze = Ct.high = g[l + ke * 2] | 0, Ce = Ct.low = g[l + ke * 2 + 1] | 0;
@@ -3865,13 +3865,13 @@ function an() {
3865
3865
  var Dn = xe & at ^ ~xe & Nt, os = Pe & Et ^ ~Pe & At, Tn = J & ue ^ J & Fe ^ ue & Fe, Pn = j & X ^ j & je ^ X & je, kn = (J >>> 28 | j << 4) ^ (J << 30 | j >>> 2) ^ (J << 25 | j >>> 7), cs = (j >>> 28 | J << 4) ^ (j << 30 | J >>> 2) ^ (j << 25 | J >>> 7), Bn = (xe >>> 14 | Pe << 18) ^ (xe >>> 18 | Pe << 14) ^ (xe << 23 | Pe >>> 9), Mn = (Pe >>> 14 | xe << 18) ^ (Pe >>> 18 | xe << 14) ^ (Pe << 23 | xe >>> 9), us = p[ke], Ln = us.high, hs = us.low, We = _t + Mn, ft = Jt + Bn + (We >>> 0 < _t >>> 0 ? 1 : 0), We = We + os, ft = ft + Dn + (We >>> 0 < os >>> 0 ? 1 : 0), We = We + hs, ft = ft + Ln + (We >>> 0 < hs >>> 0 ? 1 : 0), We = We + Ce, ft = ft + Ze + (We >>> 0 < Ce >>> 0 ? 1 : 0), ds = cs + Pn, Nn = kn + Tn + (ds >>> 0 < cs >>> 0 ? 1 : 0);
3866
3866
  Jt = Nt, _t = At, Nt = at, At = Et, at = xe, Et = Pe, Pe = Ye + We | 0, xe = Xe + ft + (Pe >>> 0 < Ye >>> 0 ? 1 : 0) | 0, Xe = Fe, Ye = je, Fe = ue, je = X, ue = J, X = j, j = We + ds | 0, J = ft + Nn + (j >>> 0 < We >>> 0 ? 1 : 0) | 0;
3867
3867
  }
3868
- _ = v.low = _ + j, v.high = L + J + (_ >>> 0 < j >>> 0 ? 1 : 0), T = S.low = T + X, S.high = R + ue + (T >>> 0 < X >>> 0 ? 1 : 0), $ = b.low = $ + je, b.high = B + Fe + ($ >>> 0 < je >>> 0 ? 1 : 0), G = y.low = G + Ye, y.high = q + Xe + (G >>> 0 < Ye >>> 0 ? 1 : 0), Q = E.low = Q + Pe, E.high = ae + xe + (Q >>> 0 < Pe >>> 0 ? 1 : 0), ee = I.low = ee + Et, I.high = te + at + (ee >>> 0 < Et >>> 0 ? 1 : 0), N = A.low = N + At, A.high = P + Nt + (N >>> 0 < At >>> 0 ? 1 : 0), M = C.low = M + _t, C.high = F + Jt + (M >>> 0 < _t >>> 0 ? 1 : 0);
3868
+ _ = v.low = _ + j, v.high = L + J + (_ >>> 0 < j >>> 0 ? 1 : 0), T = x.low = T + X, x.high = R + ue + (T >>> 0 < X >>> 0 ? 1 : 0), $ = b.low = $ + je, b.high = B + Fe + ($ >>> 0 < je >>> 0 ? 1 : 0), G = y.low = G + Ye, y.high = q + Xe + (G >>> 0 < Ye >>> 0 ? 1 : 0), Q = E.low = Q + Pe, E.high = ae + xe + (Q >>> 0 < Pe >>> 0 ? 1 : 0), ee = I.low = ee + Et, I.high = te + at + (ee >>> 0 < Et >>> 0 ? 1 : 0), N = A.low = N + At, A.high = P + Nt + (N >>> 0 < At >>> 0 ? 1 : 0), M = C.low = M + _t, C.high = F + Jt + (M >>> 0 < _t >>> 0 ? 1 : 0);
3869
3869
  },
3870
3870
  _doFinalize: function() {
3871
- var g = this._data, l = g.words, x = this._nDataBytes * 8, v = g.sigBytes * 8;
3872
- l[v >>> 5] |= 128 << 24 - v % 32, l[(v + 128 >>> 10 << 5) + 30] = Math.floor(x / 4294967296), l[(v + 128 >>> 10 << 5) + 31] = x, g.sigBytes = l.length * 4, this._process();
3873
- var S = this._hash.toX32();
3874
- return S;
3871
+ var g = this._data, l = g.words, S = this._nDataBytes * 8, v = g.sigBytes * 8;
3872
+ l[v >>> 5] |= 128 << 24 - v % 32, l[(v + 128 >>> 10 << 5) + 30] = Math.floor(S / 4294967296), l[(v + 128 >>> 10 << 5) + 31] = S, g.sigBytes = l.length * 4, this._process();
3873
+ var x = this._hash.toX32();
3874
+ return x;
3875
3875
  },
3876
3876
  clone: function() {
3877
3877
  var g = s.clone.call(this);
@@ -3923,14 +3923,14 @@ function Mo() {
3923
3923
  return function(t) {
3924
3924
  var i = e, s = i.lib, a = s.WordArray, c = s.Hasher, o = i.x64, u = o.Word, h = i.algo, p = [], d = [], f = [];
3925
3925
  (function() {
3926
- for (var x = 1, v = 0, S = 0; S < 24; S++) {
3927
- p[x + 5 * v] = (S + 1) * (S + 2) / 2 % 64;
3928
- var b = v % 5, y = (2 * x + 3 * v) % 5;
3929
- x = b, v = y;
3926
+ for (var S = 1, v = 0, x = 0; x < 24; x++) {
3927
+ p[S + 5 * v] = (x + 1) * (x + 2) / 2 % 64;
3928
+ var b = v % 5, y = (2 * S + 3 * v) % 5;
3929
+ S = b, v = y;
3930
3930
  }
3931
- for (var x = 0; x < 5; x++)
3931
+ for (var S = 0; S < 5; S++)
3932
3932
  for (var v = 0; v < 5; v++)
3933
- d[x + 5 * v] = v + (2 * x + 3 * v) % 5 * 5;
3933
+ d[S + 5 * v] = v + (2 * S + 3 * v) % 5 * 5;
3934
3934
  for (var E = 1, I = 0; I < 24; I++) {
3935
3935
  for (var A = 0, C = 0, L = 0; L < 7; L++) {
3936
3936
  if (E & 1) {
@@ -3944,8 +3944,8 @@ function Mo() {
3944
3944
  })();
3945
3945
  var g = [];
3946
3946
  (function() {
3947
- for (var x = 0; x < 25; x++)
3948
- g[x] = u.create();
3947
+ for (var S = 0; S < 25; S++)
3948
+ g[S] = u.create();
3949
3949
  })();
3950
3950
  var l = h.SHA3 = c.extend({
3951
3951
  /**
@@ -3960,21 +3960,21 @@ function Mo() {
3960
3960
  outputLength: 512
3961
3961
  }),
3962
3962
  _doReset: function() {
3963
- for (var x = this._state = [], v = 0; v < 25; v++)
3964
- x[v] = new u.init();
3963
+ for (var S = this._state = [], v = 0; v < 25; v++)
3964
+ S[v] = new u.init();
3965
3965
  this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
3966
3966
  },
3967
- _doProcessBlock: function(x, v) {
3968
- for (var S = this._state, b = this.blockSize / 2, y = 0; y < b; y++) {
3969
- var E = x[v + 2 * y], I = x[v + 2 * y + 1];
3967
+ _doProcessBlock: function(S, v) {
3968
+ for (var x = this._state, b = this.blockSize / 2, y = 0; y < b; y++) {
3969
+ var E = S[v + 2 * y], I = S[v + 2 * y + 1];
3970
3970
  E = (E << 8 | E >>> 24) & 16711935 | (E << 24 | E >>> 8) & 4278255360, I = (I << 8 | I >>> 24) & 16711935 | (I << 24 | I >>> 8) & 4278255360;
3971
- var A = S[y];
3971
+ var A = x[y];
3972
3972
  A.high ^= I, A.low ^= E;
3973
3973
  }
3974
3974
  for (var C = 0; C < 24; C++) {
3975
3975
  for (var L = 0; L < 5; L++) {
3976
3976
  for (var _ = 0, R = 0, T = 0; T < 5; T++) {
3977
- var A = S[L + 5 * T];
3977
+ var A = x[L + 5 * T];
3978
3978
  _ ^= A.high, R ^= A.low;
3979
3979
  }
3980
3980
  var B = g[L];
@@ -3982,31 +3982,31 @@ function Mo() {
3982
3982
  }
3983
3983
  for (var L = 0; L < 5; L++)
3984
3984
  for (var $ = g[(L + 4) % 5], q = g[(L + 1) % 5], G = q.high, ae = q.low, _ = $.high ^ (G << 1 | ae >>> 31), R = $.low ^ (ae << 1 | G >>> 31), T = 0; T < 5; T++) {
3985
- var A = S[L + 5 * T];
3985
+ var A = x[L + 5 * T];
3986
3986
  A.high ^= _, A.low ^= R;
3987
3987
  }
3988
3988
  for (var Q = 1; Q < 25; Q++) {
3989
- var _, R, A = S[Q], te = A.high, ee = A.low, P = p[Q];
3989
+ var _, R, A = x[Q], te = A.high, ee = A.low, P = p[Q];
3990
3990
  P < 32 ? (_ = te << P | ee >>> 32 - P, R = ee << P | te >>> 32 - P) : (_ = ee << P - 32 | te >>> 64 - P, R = te << P - 32 | ee >>> 64 - P);
3991
3991
  var N = g[d[Q]];
3992
3992
  N.high = _, N.low = R;
3993
3993
  }
3994
- var F = g[0], M = S[0];
3994
+ var F = g[0], M = x[0];
3995
3995
  F.high = M.high, F.low = M.low;
3996
3996
  for (var L = 0; L < 5; L++)
3997
3997
  for (var T = 0; T < 5; T++) {
3998
- var Q = L + 5 * T, A = S[Q], J = g[Q], j = g[(L + 1) % 5 + 5 * T], ue = g[(L + 2) % 5 + 5 * T];
3998
+ var Q = L + 5 * T, A = x[Q], J = g[Q], j = g[(L + 1) % 5 + 5 * T], ue = g[(L + 2) % 5 + 5 * T];
3999
3999
  A.high = J.high ^ ~j.high & ue.high, A.low = J.low ^ ~j.low & ue.low;
4000
4000
  }
4001
- var A = S[0], X = f[C];
4001
+ var A = x[0], X = f[C];
4002
4002
  A.high ^= X.high, A.low ^= X.low;
4003
4003
  }
4004
4004
  },
4005
4005
  _doFinalize: function() {
4006
- var x = this._data, v = x.words;
4006
+ var S = this._data, v = S.words;
4007
4007
  this._nDataBytes * 8;
4008
- var S = x.sigBytes * 8, b = this.blockSize * 32;
4009
- v[S >>> 5] |= 1 << 24 - S % 32, v[(t.ceil((S + 1) / b) * b >>> 5) - 1] |= 128, x.sigBytes = v.length * 4, this._process();
4008
+ var x = S.sigBytes * 8, b = this.blockSize * 32;
4009
+ v[x >>> 5] |= 1 << 24 - x % 32, v[(t.ceil((x + 1) / b) * b >>> 5) - 1] |= 128, S.sigBytes = v.length * 4, this._process();
4010
4010
  for (var y = this._state, E = this.cfg.outputLength / 8, I = E / 8, A = [], C = 0; C < I; C++) {
4011
4011
  var L = y[C], _ = L.high, R = L.low;
4012
4012
  _ = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, R = (R << 8 | R >>> 24) & 16711935 | (R << 24 | R >>> 8) & 4278255360, A.push(R), A.push(_);
@@ -4014,9 +4014,9 @@ function Mo() {
4014
4014
  return new a.init(A, E);
4015
4015
  },
4016
4016
  clone: function() {
4017
- for (var x = c.clone.call(this), v = x._state = this._state.slice(0), S = 0; S < 25; S++)
4018
- v[S] = v[S].clone();
4019
- return x;
4017
+ for (var S = c.clone.call(this), v = S._state = this._state.slice(0), x = 0; x < 25; x++)
4018
+ v[x] = v[x].clone();
4019
+ return S;
4020
4020
  }
4021
4021
  });
4022
4022
  i.SHA3 = c._createHelper(l), i.HmacSHA3 = c._createHmacHelper(l);
@@ -4377,7 +4377,7 @@ function Lo() {
4377
4377
  var R = this._hash.words, T = f.words, B = g.words, $ = u.words, q = h.words, G = p.words, ae = d.words, Q, te, ee, P, N, F, M, J, j, ue;
4378
4378
  F = Q = R[0], M = te = R[1], J = ee = R[2], j = P = R[3], ue = N = R[4];
4379
4379
  for (var X, C = 0; C < 80; C += 1)
4380
- X = Q + I[A + $[C]] | 0, C < 16 ? X += x(te, ee, P) + T[0] : C < 32 ? X += v(te, ee, P) + T[1] : C < 48 ? X += S(te, ee, P) + T[2] : C < 64 ? X += b(te, ee, P) + T[3] : X += y(te, ee, P) + T[4], X = X | 0, X = E(X, G[C]), X = X + N | 0, Q = N, N = P, P = E(ee, 10), ee = te, te = X, X = F + I[A + q[C]] | 0, C < 16 ? X += y(M, J, j) + B[0] : C < 32 ? X += b(M, J, j) + B[1] : C < 48 ? X += S(M, J, j) + B[2] : C < 64 ? X += v(M, J, j) + B[3] : X += x(M, J, j) + B[4], X = X | 0, X = E(X, ae[C]), X = X + ue | 0, F = ue, ue = j, j = E(J, 10), J = M, M = X;
4380
+ X = Q + I[A + $[C]] | 0, C < 16 ? X += S(te, ee, P) + T[0] : C < 32 ? X += v(te, ee, P) + T[1] : C < 48 ? X += x(te, ee, P) + T[2] : C < 64 ? X += b(te, ee, P) + T[3] : X += y(te, ee, P) + T[4], X = X | 0, X = E(X, G[C]), X = X + N | 0, Q = N, N = P, P = E(ee, 10), ee = te, te = X, X = F + I[A + q[C]] | 0, C < 16 ? X += y(M, J, j) + B[0] : C < 32 ? X += b(M, J, j) + B[1] : C < 48 ? X += x(M, J, j) + B[2] : C < 64 ? X += v(M, J, j) + B[3] : X += S(M, J, j) + B[4], X = X | 0, X = E(X, ae[C]), X = X + ue | 0, F = ue, ue = j, j = E(J, 10), J = M, M = X;
4381
4381
  X = R[1] + ee + j | 0, R[1] = R[2] + P + ue | 0, R[2] = R[3] + N + F | 0, R[3] = R[4] + Q + M | 0, R[4] = R[0] + te + J | 0, R[0] = X;
4382
4382
  },
4383
4383
  _doFinalize: function() {
@@ -4394,13 +4394,13 @@ function Lo() {
4394
4394
  return I._hash = this._hash.clone(), I;
4395
4395
  }
4396
4396
  });
4397
- function x(I, A, C) {
4397
+ function S(I, A, C) {
4398
4398
  return I ^ A ^ C;
4399
4399
  }
4400
4400
  function v(I, A, C) {
4401
4401
  return I & A | ~I & C;
4402
4402
  }
4403
- function S(I, A, C) {
4403
+ function x(I, A, C) {
4404
4404
  return (I | ~A) ^ C;
4405
4405
  }
4406
4406
  function b(I, A, C) {
@@ -4440,8 +4440,8 @@ function Kr() {
4440
4440
  u = this._hasher = new u.init(), typeof h == "string" && (h = c.parse(h));
4441
4441
  var p = u.blockSize, d = p * 4;
4442
4442
  h.sigBytes > d && (h = u.finalize(h)), h.clamp();
4443
- for (var f = this._oKey = h.clone(), g = this._iKey = h.clone(), l = f.words, x = g.words, v = 0; v < p; v++)
4444
- l[v] ^= 1549556828, x[v] ^= 909522486;
4443
+ for (var f = this._oKey = h.clone(), g = this._iKey = h.clone(), l = f.words, S = g.words, v = 0; v < p; v++)
4444
+ l[v] ^= 1549556828, S[v] ^= 909522486;
4445
4445
  f.sigBytes = g.sigBytes = d, this.reset();
4446
4446
  },
4447
4447
  /**
@@ -4542,15 +4542,15 @@ function No() {
4542
4542
  * var key = kdf.compute(password, salt);
4543
4543
  */
4544
4544
  compute: function(p, d) {
4545
- for (var f = this.cfg, g = u.create(f.hasher, p), l = a.create(), x = a.create([1]), v = l.words, S = x.words, b = f.keySize, y = f.iterations; v.length < b; ) {
4546
- var E = g.update(d).finalize(x);
4545
+ for (var f = this.cfg, g = u.create(f.hasher, p), l = a.create(), S = a.create([1]), v = l.words, x = S.words, b = f.keySize, y = f.iterations; v.length < b; ) {
4546
+ var E = g.update(d).finalize(S);
4547
4547
  g.reset();
4548
4548
  for (var I = E.words, A = I.length, C = E, L = 1; L < y; L++) {
4549
4549
  C = g.finalize(C), g.reset();
4550
4550
  for (var _ = C.words, R = 0; R < A; R++)
4551
4551
  I[R] ^= _[R];
4552
4552
  }
4553
- l.concat(E), S[0]++;
4553
+ l.concat(E), x[0]++;
4554
4554
  }
4555
4555
  return l.sigBytes = b * 4, l;
4556
4556
  }
@@ -4609,9 +4609,9 @@ function yt() {
4609
4609
  * var key = kdf.compute(password, salt);
4610
4610
  */
4611
4611
  compute: function(h, p) {
4612
- for (var d, f = this.cfg, g = f.hasher.create(), l = a.create(), x = l.words, v = f.keySize, S = f.iterations; x.length < v; ) {
4612
+ for (var d, f = this.cfg, g = f.hasher.create(), l = a.create(), S = l.words, v = f.keySize, x = f.iterations; S.length < v; ) {
4613
4613
  d && g.update(d), d = g.update(h).finalize(p), g.reset();
4614
- for (var b = 1; b < S; b++)
4614
+ for (var b = 1; b < x; b++)
4615
4615
  d = g.finalize(d), g.reset();
4616
4616
  l.concat(d);
4617
4617
  }
@@ -4817,7 +4817,7 @@ function Ae() {
4817
4817
  init: function(_, R) {
4818
4818
  this._cipher = _, this._iv = R;
4819
4819
  }
4820
- }), x = g.CBC = function() {
4820
+ }), S = g.CBC = function() {
4821
4821
  var _ = l.extend();
4822
4822
  _.Encryptor = _.extend({
4823
4823
  /**
@@ -4857,7 +4857,7 @@ function Ae() {
4857
4857
  T[B + ae] ^= q[ae];
4858
4858
  }
4859
4859
  return _;
4860
- }(), v = i.pad = {}, S = v.Pkcs7 = {
4860
+ }(), v = i.pad = {}, x = v.Pkcs7 = {
4861
4861
  /**
4862
4862
  * Pads data using the algorithm defined in PKCS #5/7.
4863
4863
  *
@@ -4900,8 +4900,8 @@ function Ae() {
4900
4900
  * @property {Padding} padding The padding strategy to use. Default: Pkcs7
4901
4901
  */
4902
4902
  cfg: f.cfg.extend({
4903
- mode: x,
4904
- padding: S
4903
+ mode: S,
4904
+ padding: x
4905
4905
  }),
4906
4906
  reset: function() {
4907
4907
  var _;
@@ -5441,7 +5441,7 @@ function Jo() {
5441
5441
  r.exports = t(ne(), Mt(), Lt(), yt(), Ae());
5442
5442
  })(ie, function(e) {
5443
5443
  return function() {
5444
- var t = e, i = t.lib, s = i.BlockCipher, a = t.algo, c = [], o = [], u = [], h = [], p = [], d = [], f = [], g = [], l = [], x = [];
5444
+ var t = e, i = t.lib, s = i.BlockCipher, a = t.algo, c = [], o = [], u = [], h = [], p = [], d = [], f = [], g = [], l = [], S = [];
5445
5445
  (function() {
5446
5446
  for (var b = [], y = 0; y < 256; y++)
5447
5447
  y < 128 ? b[y] = y << 1 : b[y] = y << 1 ^ 283;
@@ -5451,10 +5451,10 @@ function Jo() {
5451
5451
  var C = b[E], L = b[C], _ = b[L], R = b[A] * 257 ^ A * 16843008;
5452
5452
  u[E] = R << 24 | R >>> 8, h[E] = R << 16 | R >>> 16, p[E] = R << 8 | R >>> 24, d[E] = R;
5453
5453
  var R = _ * 16843009 ^ L * 65537 ^ C * 257 ^ E * 16843008;
5454
- f[A] = R << 24 | R >>> 8, g[A] = R << 16 | R >>> 16, l[A] = R << 8 | R >>> 24, x[A] = R, E ? (E = C ^ b[b[b[_ ^ C]]], I ^= b[b[I]]) : E = I = 1;
5454
+ f[A] = R << 24 | R >>> 8, g[A] = R << 16 | R >>> 16, l[A] = R << 8 | R >>> 24, S[A] = R, E ? (E = C ^ b[b[b[_ ^ C]]], I ^= b[b[I]]) : E = I = 1;
5455
5455
  }
5456
5456
  })();
5457
- var v = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], S = a.AES = s.extend({
5457
+ var v = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], x = a.AES = s.extend({
5458
5458
  _doReset: function() {
5459
5459
  var b;
5460
5460
  if (!(this._nRounds && this._keyPriorReset === this._key)) {
@@ -5466,7 +5466,7 @@ function Jo() {
5466
5466
  var b = L[_];
5467
5467
  else
5468
5468
  var b = L[_ - 4];
5469
- T < 4 || _ <= 4 ? R[T] = b : R[T] = f[c[b >>> 24]] ^ g[c[b >>> 16 & 255]] ^ l[c[b >>> 8 & 255]] ^ x[c[b & 255]];
5469
+ T < 4 || _ <= 4 ? R[T] = b : R[T] = f[c[b >>> 24]] ^ g[c[b >>> 16 & 255]] ^ l[c[b >>> 8 & 255]] ^ S[c[b & 255]];
5470
5470
  }
5471
5471
  }
5472
5472
  },
@@ -5475,7 +5475,7 @@ function Jo() {
5475
5475
  },
5476
5476
  decryptBlock: function(b, y) {
5477
5477
  var E = b[y + 1];
5478
- b[y + 1] = b[y + 3], b[y + 3] = E, this._doCryptBlock(b, y, this._invKeySchedule, f, g, l, x, o);
5478
+ b[y + 1] = b[y + 3], b[y + 3] = E, this._doCryptBlock(b, y, this._invKeySchedule, f, g, l, S, o);
5479
5479
  var E = b[y + 1];
5480
5480
  b[y + 1] = b[y + 3], b[y + 3] = E;
5481
5481
  },
@@ -5489,7 +5489,7 @@ function Jo() {
5489
5489
  },
5490
5490
  keySize: 256 / 32
5491
5491
  });
5492
- t.AES = s._createHelper(S);
5492
+ t.AES = s._createHelper(x);
5493
5493
  }(), e.AES;
5494
5494
  });
5495
5495
  }(Er)), Er.exports;
@@ -6147,9 +6147,9 @@ function Go() {
6147
6147
  2147483679
6148
6148
  ], f = c.DES = a.extend({
6149
6149
  _doReset: function() {
6150
- for (var v = this._key, S = v.words, b = [], y = 0; y < 56; y++) {
6150
+ for (var v = this._key, x = v.words, b = [], y = 0; y < 56; y++) {
6151
6151
  var E = o[y] - 1;
6152
- b[y] = S[E >>> 5] >>> 31 - E % 32 & 1;
6152
+ b[y] = x[E >>> 5] >>> 31 - E % 32 & 1;
6153
6153
  }
6154
6154
  for (var I = this._subKeys = [], A = 0; A < 16; A++) {
6155
6155
  for (var C = I[A] = [], L = h[A], y = 0; y < 24; y++)
@@ -6162,54 +6162,54 @@ function Go() {
6162
6162
  for (var _ = this._invSubKeys = [], y = 0; y < 16; y++)
6163
6163
  _[y] = I[15 - y];
6164
6164
  },
6165
- encryptBlock: function(v, S) {
6166
- this._doCryptBlock(v, S, this._subKeys);
6165
+ encryptBlock: function(v, x) {
6166
+ this._doCryptBlock(v, x, this._subKeys);
6167
6167
  },
6168
- decryptBlock: function(v, S) {
6169
- this._doCryptBlock(v, S, this._invSubKeys);
6168
+ decryptBlock: function(v, x) {
6169
+ this._doCryptBlock(v, x, this._invSubKeys);
6170
6170
  },
6171
- _doCryptBlock: function(v, S, b) {
6172
- this._lBlock = v[S], this._rBlock = v[S + 1], g.call(this, 4, 252645135), g.call(this, 16, 65535), l.call(this, 2, 858993459), l.call(this, 8, 16711935), g.call(this, 1, 1431655765);
6171
+ _doCryptBlock: function(v, x, b) {
6172
+ this._lBlock = v[x], this._rBlock = v[x + 1], g.call(this, 4, 252645135), g.call(this, 16, 65535), l.call(this, 2, 858993459), l.call(this, 8, 16711935), g.call(this, 1, 1431655765);
6173
6173
  for (var y = 0; y < 16; y++) {
6174
6174
  for (var E = b[y], I = this._lBlock, A = this._rBlock, C = 0, L = 0; L < 8; L++)
6175
6175
  C |= p[L][((A ^ E[L]) & d[L]) >>> 0];
6176
6176
  this._lBlock = A, this._rBlock = I ^ C;
6177
6177
  }
6178
6178
  var _ = this._lBlock;
6179
- this._lBlock = this._rBlock, this._rBlock = _, g.call(this, 1, 1431655765), l.call(this, 8, 16711935), l.call(this, 2, 858993459), g.call(this, 16, 65535), g.call(this, 4, 252645135), v[S] = this._lBlock, v[S + 1] = this._rBlock;
6179
+ this._lBlock = this._rBlock, this._rBlock = _, g.call(this, 1, 1431655765), l.call(this, 8, 16711935), l.call(this, 2, 858993459), g.call(this, 16, 65535), g.call(this, 4, 252645135), v[x] = this._lBlock, v[x + 1] = this._rBlock;
6180
6180
  },
6181
6181
  keySize: 64 / 32,
6182
6182
  ivSize: 64 / 32,
6183
6183
  blockSize: 64 / 32
6184
6184
  });
6185
- function g(v, S) {
6186
- var b = (this._lBlock >>> v ^ this._rBlock) & S;
6185
+ function g(v, x) {
6186
+ var b = (this._lBlock >>> v ^ this._rBlock) & x;
6187
6187
  this._rBlock ^= b, this._lBlock ^= b << v;
6188
6188
  }
6189
- function l(v, S) {
6190
- var b = (this._rBlock >>> v ^ this._lBlock) & S;
6189
+ function l(v, x) {
6190
+ var b = (this._rBlock >>> v ^ this._lBlock) & x;
6191
6191
  this._lBlock ^= b, this._rBlock ^= b << v;
6192
6192
  }
6193
6193
  t.DES = a._createHelper(f);
6194
- var x = c.TripleDES = a.extend({
6194
+ var S = c.TripleDES = a.extend({
6195
6195
  _doReset: function() {
6196
- var v = this._key, S = v.words;
6197
- if (S.length !== 2 && S.length !== 4 && S.length < 6)
6196
+ var v = this._key, x = v.words;
6197
+ if (x.length !== 2 && x.length !== 4 && x.length < 6)
6198
6198
  throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
6199
- var b = S.slice(0, 2), y = S.length < 4 ? S.slice(0, 2) : S.slice(2, 4), E = S.length < 6 ? S.slice(0, 2) : S.slice(4, 6);
6199
+ var b = x.slice(0, 2), y = x.length < 4 ? x.slice(0, 2) : x.slice(2, 4), E = x.length < 6 ? x.slice(0, 2) : x.slice(4, 6);
6200
6200
  this._des1 = f.createEncryptor(s.create(b)), this._des2 = f.createEncryptor(s.create(y)), this._des3 = f.createEncryptor(s.create(E));
6201
6201
  },
6202
- encryptBlock: function(v, S) {
6203
- this._des1.encryptBlock(v, S), this._des2.decryptBlock(v, S), this._des3.encryptBlock(v, S);
6202
+ encryptBlock: function(v, x) {
6203
+ this._des1.encryptBlock(v, x), this._des2.decryptBlock(v, x), this._des3.encryptBlock(v, x);
6204
6204
  },
6205
- decryptBlock: function(v, S) {
6206
- this._des3.decryptBlock(v, S), this._des2.encryptBlock(v, S), this._des1.decryptBlock(v, S);
6205
+ decryptBlock: function(v, x) {
6206
+ this._des3.decryptBlock(v, x), this._des2.encryptBlock(v, x), this._des1.decryptBlock(v, x);
6207
6207
  },
6208
6208
  keySize: 192 / 32,
6209
6209
  ivSize: 64 / 32,
6210
6210
  blockSize: 64 / 32
6211
6211
  });
6212
- t.TripleDES = a._createHelper(x);
6212
+ t.TripleDES = a._createHelper(S);
6213
6213
  }(), e.TripleDES;
6214
6214
  });
6215
6215
  }(Ar)), Ar.exports;
@@ -6226,10 +6226,10 @@ function Xo() {
6226
6226
  for (var h = this._key, p = h.words, d = h.sigBytes, f = this._S = [], g = 0; g < 256; g++)
6227
6227
  f[g] = g;
6228
6228
  for (var g = 0, l = 0; g < 256; g++) {
6229
- var x = g % d, v = p[x >>> 2] >>> 24 - x % 4 * 8 & 255;
6229
+ var S = g % d, v = p[S >>> 2] >>> 24 - S % 4 * 8 & 255;
6230
6230
  l = (l + f[g] + v) % 256;
6231
- var S = f[g];
6232
- f[g] = f[l], f[l] = S;
6231
+ var x = f[g];
6232
+ f[g] = f[l], f[l] = x;
6233
6233
  }
6234
6234
  this._i = this._j = 0;
6235
6235
  },
@@ -6288,7 +6288,7 @@ function Yo() {
6288
6288
  d[1] << 16 | d[0] >>> 16,
6289
6289
  d[3],
6290
6290
  d[2] << 16 | d[1] >>> 16
6291
- ], x = this._C = [
6291
+ ], S = this._C = [
6292
6292
  d[2] << 16 | d[2] >>> 16,
6293
6293
  d[0] & 4294901760 | d[1] & 65535,
6294
6294
  d[3] << 16 | d[3] >>> 16,
@@ -6302,10 +6302,10 @@ function Yo() {
6302
6302
  for (var g = 0; g < 4; g++)
6303
6303
  p.call(this);
6304
6304
  for (var g = 0; g < 8; g++)
6305
- x[g] ^= l[g + 4 & 7];
6305
+ S[g] ^= l[g + 4 & 7];
6306
6306
  if (f) {
6307
- var v = f.words, S = v[0], b = v[1], y = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360, E = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, I = y >>> 16 | E & 4294901760, A = E << 16 | y & 65535;
6308
- x[0] ^= y, x[1] ^= I, x[2] ^= E, x[3] ^= A, x[4] ^= y, x[5] ^= I, x[6] ^= E, x[7] ^= A;
6307
+ var v = f.words, x = v[0], b = v[1], y = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, E = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, I = y >>> 16 | E & 4294901760, A = E << 16 | y & 65535;
6308
+ S[0] ^= y, S[1] ^= I, S[2] ^= E, S[3] ^= A, S[4] ^= y, S[5] ^= I, S[6] ^= E, S[7] ^= A;
6309
6309
  for (var g = 0; g < 4; g++)
6310
6310
  p.call(this);
6311
6311
  }
@@ -6324,8 +6324,8 @@ function Yo() {
6324
6324
  o[g] = f[g];
6325
6325
  f[0] = f[0] + 1295307597 + this._b | 0, f[1] = f[1] + 3545052371 + (f[0] >>> 0 < o[0] >>> 0 ? 1 : 0) | 0, f[2] = f[2] + 886263092 + (f[1] >>> 0 < o[1] >>> 0 ? 1 : 0) | 0, f[3] = f[3] + 1295307597 + (f[2] >>> 0 < o[2] >>> 0 ? 1 : 0) | 0, f[4] = f[4] + 3545052371 + (f[3] >>> 0 < o[3] >>> 0 ? 1 : 0) | 0, f[5] = f[5] + 886263092 + (f[4] >>> 0 < o[4] >>> 0 ? 1 : 0) | 0, f[6] = f[6] + 1295307597 + (f[5] >>> 0 < o[5] >>> 0 ? 1 : 0) | 0, f[7] = f[7] + 3545052371 + (f[6] >>> 0 < o[6] >>> 0 ? 1 : 0) | 0, this._b = f[7] >>> 0 < o[7] >>> 0 ? 1 : 0;
6326
6326
  for (var g = 0; g < 8; g++) {
6327
- var l = d[g] + f[g], x = l & 65535, v = l >>> 16, S = ((x * x >>> 17) + x * v >>> 15) + v * v, b = ((l & 4294901760) * l | 0) + ((l & 65535) * l | 0);
6328
- u[g] = S ^ b;
6327
+ var l = d[g] + f[g], S = l & 65535, v = l >>> 16, x = ((S * S >>> 17) + S * v >>> 15) + v * v, b = ((l & 4294901760) * l | 0) + ((l & 65535) * l | 0);
6328
+ u[g] = x ^ b;
6329
6329
  }
6330
6330
  d[0] = u[0] + (u[7] << 16 | u[7] >>> 16) + (u[6] << 16 | u[6] >>> 16) | 0, d[1] = u[1] + (u[0] << 8 | u[0] >>> 24) + u[7] | 0, d[2] = u[2] + (u[1] << 16 | u[1] >>> 16) + (u[0] << 16 | u[0] >>> 16) | 0, d[3] = u[3] + (u[2] << 8 | u[2] >>> 24) + u[1] | 0, d[4] = u[4] + (u[3] << 16 | u[3] >>> 16) + (u[2] << 16 | u[2] >>> 16) | 0, d[5] = u[5] + (u[4] << 8 | u[4] >>> 24) + u[3] | 0, d[6] = u[6] + (u[5] << 16 | u[5] >>> 16) + (u[4] << 16 | u[4] >>> 16) | 0, d[7] = u[7] + (u[6] << 8 | u[6] >>> 24) + u[5] | 0;
6331
6331
  }
@@ -6363,14 +6363,14 @@ function Zo() {
6363
6363
  d[3] & 4294901760 | d[0] & 65535
6364
6364
  ];
6365
6365
  this._b = 0;
6366
- for (var x = 0; x < 4; x++)
6366
+ for (var S = 0; S < 4; S++)
6367
6367
  p.call(this);
6368
- for (var x = 0; x < 8; x++)
6369
- l[x] ^= g[x + 4 & 7];
6368
+ for (var S = 0; S < 8; S++)
6369
+ l[S] ^= g[S + 4 & 7];
6370
6370
  if (f) {
6371
- var v = f.words, S = v[0], b = v[1], y = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360, E = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, I = y >>> 16 | E & 4294901760, A = E << 16 | y & 65535;
6371
+ var v = f.words, x = v[0], b = v[1], y = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, E = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, I = y >>> 16 | E & 4294901760, A = E << 16 | y & 65535;
6372
6372
  l[0] ^= y, l[1] ^= I, l[2] ^= E, l[3] ^= A, l[4] ^= y, l[5] ^= I, l[6] ^= E, l[7] ^= A;
6373
- for (var x = 0; x < 4; x++)
6373
+ for (var S = 0; S < 4; S++)
6374
6374
  p.call(this);
6375
6375
  }
6376
6376
  },
@@ -6388,8 +6388,8 @@ function Zo() {
6388
6388
  o[g] = f[g];
6389
6389
  f[0] = f[0] + 1295307597 + this._b | 0, f[1] = f[1] + 3545052371 + (f[0] >>> 0 < o[0] >>> 0 ? 1 : 0) | 0, f[2] = f[2] + 886263092 + (f[1] >>> 0 < o[1] >>> 0 ? 1 : 0) | 0, f[3] = f[3] + 1295307597 + (f[2] >>> 0 < o[2] >>> 0 ? 1 : 0) | 0, f[4] = f[4] + 3545052371 + (f[3] >>> 0 < o[3] >>> 0 ? 1 : 0) | 0, f[5] = f[5] + 886263092 + (f[4] >>> 0 < o[4] >>> 0 ? 1 : 0) | 0, f[6] = f[6] + 1295307597 + (f[5] >>> 0 < o[5] >>> 0 ? 1 : 0) | 0, f[7] = f[7] + 3545052371 + (f[6] >>> 0 < o[6] >>> 0 ? 1 : 0) | 0, this._b = f[7] >>> 0 < o[7] >>> 0 ? 1 : 0;
6390
6390
  for (var g = 0; g < 8; g++) {
6391
- var l = d[g] + f[g], x = l & 65535, v = l >>> 16, S = ((x * x >>> 17) + x * v >>> 15) + v * v, b = ((l & 4294901760) * l | 0) + ((l & 65535) * l | 0);
6392
- u[g] = S ^ b;
6391
+ var l = d[g] + f[g], S = l & 65535, v = l >>> 16, x = ((S * S >>> 17) + S * v >>> 15) + v * v, b = ((l & 4294901760) * l | 0) + ((l & 65535) * l | 0);
6392
+ u[g] = x ^ b;
6393
6393
  }
6394
6394
  d[0] = u[0] + (u[7] << 16 | u[7] >>> 16) + (u[6] << 16 | u[6] >>> 16) | 0, d[1] = u[1] + (u[0] << 8 | u[0] >>> 24) + u[7] | 0, d[2] = u[2] + (u[1] << 16 | u[1] >>> 16) + (u[0] << 16 | u[0] >>> 16) | 0, d[3] = u[3] + (u[2] << 8 | u[2] >>> 24) + u[1] | 0, d[4] = u[4] + (u[3] << 16 | u[3] >>> 16) + (u[2] << 16 | u[2] >>> 16) | 0, d[5] = u[5] + (u[4] << 8 | u[4] >>> 24) + u[3] | 0, d[6] = u[6] + (u[5] << 16 | u[5] >>> 16) + (u[4] << 16 | u[4] >>> 16) | 0, d[7] = u[7] + (u[6] << 8 | u[6] >>> 24) + u[5] | 0;
6395
6395
  }
@@ -7463,53 +7463,53 @@ function Qo() {
7463
7463
  pbox: [],
7464
7464
  sbox: []
7465
7465
  };
7466
- function p(x, v) {
7467
- let S = v >> 24 & 255, b = v >> 16 & 255, y = v >> 8 & 255, E = v & 255, I = x.sbox[0][S] + x.sbox[1][b];
7468
- return I = I ^ x.sbox[2][y], I = I + x.sbox[3][E], I;
7466
+ function p(S, v) {
7467
+ let x = v >> 24 & 255, b = v >> 16 & 255, y = v >> 8 & 255, E = v & 255, I = S.sbox[0][x] + S.sbox[1][b];
7468
+ return I = I ^ S.sbox[2][y], I = I + S.sbox[3][E], I;
7469
7469
  }
7470
- function d(x, v, S) {
7471
- let b = v, y = S, E;
7470
+ function d(S, v, x) {
7471
+ let b = v, y = x, E;
7472
7472
  for (let I = 0; I < c; ++I)
7473
- b = b ^ x.pbox[I], y = p(x, b) ^ y, E = b, b = y, y = E;
7474
- return E = b, b = y, y = E, y = y ^ x.pbox[c], b = b ^ x.pbox[c + 1], { left: b, right: y };
7473
+ b = b ^ S.pbox[I], y = p(S, b) ^ y, E = b, b = y, y = E;
7474
+ return E = b, b = y, y = E, y = y ^ S.pbox[c], b = b ^ S.pbox[c + 1], { left: b, right: y };
7475
7475
  }
7476
- function f(x, v, S) {
7477
- let b = v, y = S, E;
7476
+ function f(S, v, x) {
7477
+ let b = v, y = x, E;
7478
7478
  for (let I = c + 1; I > 1; --I)
7479
- b = b ^ x.pbox[I], y = p(x, b) ^ y, E = b, b = y, y = E;
7480
- return E = b, b = y, y = E, y = y ^ x.pbox[1], b = b ^ x.pbox[0], { left: b, right: y };
7479
+ b = b ^ S.pbox[I], y = p(S, b) ^ y, E = b, b = y, y = E;
7480
+ return E = b, b = y, y = E, y = y ^ S.pbox[1], b = b ^ S.pbox[0], { left: b, right: y };
7481
7481
  }
7482
- function g(x, v, S) {
7482
+ function g(S, v, x) {
7483
7483
  for (let A = 0; A < 4; A++) {
7484
- x.sbox[A] = [];
7484
+ S.sbox[A] = [];
7485
7485
  for (let C = 0; C < 256; C++)
7486
- x.sbox[A][C] = u[A][C];
7486
+ S.sbox[A][C] = u[A][C];
7487
7487
  }
7488
7488
  let b = 0;
7489
7489
  for (let A = 0; A < c + 2; A++)
7490
- x.pbox[A] = o[A] ^ v[b], b++, b >= S && (b = 0);
7490
+ S.pbox[A] = o[A] ^ v[b], b++, b >= x && (b = 0);
7491
7491
  let y = 0, E = 0, I = 0;
7492
7492
  for (let A = 0; A < c + 2; A += 2)
7493
- I = d(x, y, E), y = I.left, E = I.right, x.pbox[A] = y, x.pbox[A + 1] = E;
7493
+ I = d(S, y, E), y = I.left, E = I.right, S.pbox[A] = y, S.pbox[A + 1] = E;
7494
7494
  for (let A = 0; A < 4; A++)
7495
7495
  for (let C = 0; C < 256; C += 2)
7496
- I = d(x, y, E), y = I.left, E = I.right, x.sbox[A][C] = y, x.sbox[A][C + 1] = E;
7496
+ I = d(S, y, E), y = I.left, E = I.right, S.sbox[A][C] = y, S.sbox[A][C + 1] = E;
7497
7497
  return !0;
7498
7498
  }
7499
7499
  var l = a.Blowfish = s.extend({
7500
7500
  _doReset: function() {
7501
7501
  if (this._keyPriorReset !== this._key) {
7502
- var x = this._keyPriorReset = this._key, v = x.words, S = x.sigBytes / 4;
7503
- g(h, v, S);
7502
+ var S = this._keyPriorReset = this._key, v = S.words, x = S.sigBytes / 4;
7503
+ g(h, v, x);
7504
7504
  }
7505
7505
  },
7506
- encryptBlock: function(x, v) {
7507
- var S = d(h, x[v], x[v + 1]);
7508
- x[v] = S.left, x[v + 1] = S.right;
7506
+ encryptBlock: function(S, v) {
7507
+ var x = d(h, S[v], S[v + 1]);
7508
+ S[v] = x.left, S[v + 1] = x.right;
7509
7509
  },
7510
- decryptBlock: function(x, v) {
7511
- var S = f(h, x[v], x[v + 1]);
7512
- x[v] = S.left, x[v + 1] = S.right;
7510
+ decryptBlock: function(S, v) {
7511
+ var x = f(h, S[v], S[v + 1]);
7512
+ S[v] = x.left, S[v + 1] = x.right;
7513
7513
  },
7514
7514
  blockSize: 64 / 32,
7515
7515
  keySize: 128 / 32,
@@ -7663,7 +7663,7 @@ function Jr(r, n, e, t) {
7663
7663
  return e ? 0 : r.getTimezoneOffset();
7664
7664
  }, l = function() {
7665
7665
  return u0(r);
7666
- }, x = function() {
7666
+ }, S = function() {
7667
7667
  return h0(r);
7668
7668
  }, v = { d: function() {
7669
7669
  return a();
@@ -7730,10 +7730,10 @@ function Jr(r, n, e, t) {
7730
7730
  }, WW: function() {
7731
7731
  return $e(l());
7732
7732
  }, N: function() {
7733
- return x();
7733
+ return S();
7734
7734
  } };
7735
- return n.replace(n0, function(S) {
7736
- return S in v ? v[S]() : S.slice(1, S.length - 1);
7735
+ return n.replace(n0, function(x) {
7736
+ return x in v ? v[x]() : x.slice(1, x.length - 1);
7737
7737
  });
7738
7738
  }
7739
7739
  var Ta = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", paddedShortDate: "mm/dd/yyyy", mediumDate: "mmm d, yyyy", longDate: "mmmm d, yyyy", fullDate: "dddd, mmmm d, yyyy", shortTime: "h:MM TT", mediumTime: "h:MM:ss TT", longTime: "h:MM:ss TT Z", isoDate: "yyyy-mm-dd", isoTime: "HH:MM:ss", isoDateTime: "yyyy-mm-dd'T'HH:MM:sso", isoUtcDateTime: "UTC:yyyy-mm-dd'T'HH:MM:ss'Z'", expiresHeaderFormat: "ddd, dd mmm yyyy HH:MM:ss Z" }, Ve = { dayNames: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], timeNames: ["a", "p", "am", "pm", "A", "P", "AM", "PM"] }, $e = function(n) {
@@ -7752,18 +7752,18 @@ var Ta = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", paddedShort
7752
7752
  return u[s + "FullYear"]();
7753
7753
  }, l = function() {
7754
7754
  return h[s + "Date"]();
7755
- }, x = function() {
7755
+ }, S = function() {
7756
7756
  return h[s + "Month"]();
7757
7757
  }, v = function() {
7758
7758
  return h[s + "FullYear"]();
7759
- }, S = function() {
7759
+ }, x = function() {
7760
7760
  return p[s + "Date"]();
7761
7761
  }, b = function() {
7762
7762
  return p[s + "Month"]();
7763
7763
  }, y = function() {
7764
7764
  return p[s + "FullYear"]();
7765
7765
  };
7766
- return g() === e && f() === t && d() === i ? o ? "Tdy" : "Today" : v() === e && x() === t && l() === i ? o ? "Ysd" : "Yesterday" : y() === e && b() === t && S() === i ? o ? "Tmw" : "Tomorrow" : a;
7766
+ return g() === e && f() === t && d() === i ? o ? "Tdy" : "Today" : v() === e && S() === t && l() === i ? o ? "Ysd" : "Yesterday" : y() === e && b() === t && x() === i ? o ? "Tmw" : "Tomorrow" : a;
7767
7767
  }, u0 = function(n) {
7768
7768
  var e = new Date(n.getFullYear(), n.getMonth(), n.getDate());
7769
7769
  e.setDate(e.getDate() - (e.getDay() + 6) % 7 + 3);
@@ -8053,7 +8053,7 @@ class y0 {
8053
8053
  let i = wr();
8054
8054
  this.logLevel <= n && e(i, ...t);
8055
8055
  let s = Ue.paramArrayToString(t);
8056
- this.addLog(s);
8056
+ n > 0 && this.addLog(s);
8057
8057
  });
8058
8058
  // debug level message
8059
8059
  m(this, "d", this.logMethod(0, console.debug));
@@ -9134,9 +9134,9 @@ const D = (r, n) => (e, t, i) => {
9134
9134
  H.interface(c, t, ...u);
9135
9135
  const h = s.apply(this, a);
9136
9136
  return Promise.resolve(h).then((d) => d).catch((d) => d).then((d) => {
9137
- var x;
9137
+ var S;
9138
9138
  let f = "";
9139
- const g = d instanceof Error, l = g && ((x = e.constructor) == null ? void 0 : x.logError);
9139
+ const g = d instanceof Error, l = g && ((S = e.constructor) == null ? void 0 : S.logError);
9140
9140
  if (!(!n && !g)) {
9141
9141
  if (l)
9142
9142
  f = d;
@@ -9384,8 +9384,8 @@ const k0 = "https://pgw.rtn.aliyuncs.com", B0 = "https://gw.rtn.aliyuncs.com", F
9384
9384
  fetch(p).then((f) => f.json()).then((f) => {
9385
9385
  var g, l;
9386
9386
  if (f.code === 0) {
9387
- const x = (g = f.data) == null ? void 0 : g.oss, v = (l = f.data) == null ? void 0 : l.sls;
9388
- this.expiration = x.expiration || v.expiration, this.emit("onTokenUpdate", x, v), H.event(`[${ti.logName}]`, "getToken", x, v);
9387
+ const S = (g = f.data) == null ? void 0 : g.oss, v = (l = f.data) == null ? void 0 : l.sls;
9388
+ this.expiration = S.expiration || v.expiration, this.emit("onTokenUpdate", S, v), H.event(`[${ti.logName}]`, "getToken", S, v);
9389
9389
  } else
9390
9390
  throw new Error();
9391
9391
  this.slsReporter.reportSTSResult(200, d);
@@ -10617,43 +10617,47 @@ const ge = (bt = class extends pn {
10617
10617
  const s = (/* @__PURE__ */ new Date()).getTime();
10618
10618
  try {
10619
10619
  const h = (a = this.streamTracks) == null ? void 0 : a.find(
10620
- ({ ssrc: S, type: b, msid: y }) => b === "audio" && S && y === k.Audio
10620
+ ({ ssrc: x, type: b, msid: y }) => b === "audio" && x && y === k.Audio
10621
10621
  ), p = yield this.compareAndPublish(h, t.audio, k.Audio);
10622
10622
  p && (i = p);
10623
10623
  const d = (c = this.streamTracks) == null ? void 0 : c.find(
10624
- ({ ssrc: S, type: b, msid: y }) => b === "video" && S && y === k.VideoLarge
10624
+ ({ ssrc: x, type: b, msid: y }) => b === "video" && x && y === k.VideoLarge
10625
10625
  ), f = yield this.compareAndPublish(d, t.video, k.VideoLarge);
10626
10626
  f && (i = f);
10627
10627
  const g = (o = this.streamTracks) == null ? void 0 : o.find(
10628
- ({ ssrc: S, type: b, msid: y }) => b === "video" && S && y === k.VideoSmall
10628
+ ({ ssrc: x, type: b, msid: y }) => b === "video" && x && y === k.VideoSmall
10629
10629
  ), l = yield this.compareAndPublish(
10630
10630
  g,
10631
10631
  t.videoSmall,
10632
10632
  k.VideoSmall
10633
10633
  );
10634
10634
  l && (i = l);
10635
- const x = (u = this.streamTracks) == null ? void 0 : u.find(
10636
- ({ ssrc: S, type: b, msid: y }) => b === "video" && S && y === k.Screen
10637
- ), v = yield this.compareAndPublish(x, t.screen, k.Screen);
10638
- if (v && (i = v), !i)
10639
- if (e === rt.RECONNECT)
10640
- i = {
10641
- type: gt.Add,
10642
- userid: this.userId,
10643
- sessionid: "",
10644
- displayname: this.name,
10645
- pubid: this.publishId,
10646
- resume: !0,
10647
- subscribe: {
10648
- signal: "",
10649
- pullstreamurl: this.url
10650
- },
10651
- callid: this.callId,
10652
- tracks: this.rtsManager.publishingTracks,
10653
- traceid: this.traceId
10654
- };
10655
- else
10656
- return;
10635
+ const S = (u = this.streamTracks) == null ? void 0 : u.find(
10636
+ ({ ssrc: x, type: b, msid: y }) => b === "video" && x && y === k.Screen
10637
+ ), v = yield this.compareAndPublish(S, t.screen, k.Screen);
10638
+ if (v && (i = v), !i && e === rt.RECONNECT && this.rtsManager.publishingTracks.length > 0) {
10639
+ const x = this.rtsManager.publishingTracks.find(({ type: y }) => y === "video"), b = this.rtsManager.publishingTracks.find(({ type: y }) => y === "audio");
10640
+ (x || b) && (yield this.rtsManager.waitPublishSender(
10641
+ this.url,
10642
+ !x,
10643
+ x ? x.msid : b == null ? void 0 : b.msid
10644
+ )), i = {
10645
+ type: gt.Add,
10646
+ userid: this.userId,
10647
+ sessionid: "",
10648
+ displayname: this.name,
10649
+ pubid: this.publishId,
10650
+ resume: !0,
10651
+ subscribe: {
10652
+ signal: "",
10653
+ pullstreamurl: this.url
10654
+ },
10655
+ callid: this.callId,
10656
+ tracks: this.rtsManager.publishingTracks,
10657
+ traceid: this.traceId
10658
+ };
10659
+ } else
10660
+ return;
10657
10661
  yield this.syncPublishToRoomServer(i, t, s);
10658
10662
  } catch (h) {
10659
10663
  const { code: p } = h != null ? h : {}, d = this.url;
@@ -10935,12 +10939,12 @@ const ge = (bt = class extends pn {
10935
10939
  const g = this.getMediaStats(f.mediaSourceId);
10936
10940
  f._source = g;
10937
10941
  const l = this.monitorDataCache[h];
10938
- let x;
10942
+ let S;
10939
10943
  if ((l == null ? void 0 : l.length) > 0) {
10940
10944
  const v = l[l.length - 1] || {}, { _last: b } = v;
10941
- x = Ft(v, ["_last"]);
10945
+ S = Ft(v, ["_last"]);
10942
10946
  }
10943
- (l == null ? void 0 : l.length) >= Ha && this.reportPublishMonitor(h), f._last = x, f._codec = u.codec || "", this.monitorDataCache[h].push(f);
10947
+ (l == null ? void 0 : l.length) >= Ha && this.reportPublishMonitor(h), f._last = S, f._codec = u.codec || "", this.monitorDataCache[h].push(f);
10944
10948
  });
10945
10949
  }), o.forEach((u) => {
10946
10950
  this.reportPublishMonitor(u);
@@ -11565,14 +11569,14 @@ const _e = (ut = class extends pn {
11565
11569
  });
11566
11570
  this.streamInfo = new bi(), this.remoteUserInfo = new tc(this), this.parameter = d, this.streamInfo.on(Le.Remote, (g) => {
11567
11571
  this.emit(Le.Remote, g, this.userId);
11568
- }), this.signalingManager = o, this.viewMap = (f = a[t]) != null ? f : { cameraViews: [], screenViews: [] }, a[t] = this.viewMap, this.slsReporter = c, this.localUser = u, this.audioSubState = new Ut(), this.audioSubState.on("change", (g, l, x) => {
11569
- this.emit("audioSubscribeStateChanged", this.uid, g, l, x);
11570
- }), this.videoSubState = new Ut(), this.videoSubState.on("change", (g, l, x) => {
11571
- this.emit("videoSubscribeStateChanged", this.uid, g, l, x);
11572
- }), this.screenSubState = new Ut(), this.screenSubState.on("change", (g, l, x) => {
11573
- this.emit("screenSubscribeStateChanged", this.uid, g, l, x);
11574
- }), this.dataSubState = new Ut(), this.dataSubState.on("change", (g, l, x) => {
11575
- this.emit("dataSubscribeStateChanged", this.uid, g, l, x);
11572
+ }), this.signalingManager = o, this.viewMap = (f = a[t]) != null ? f : { cameraViews: [], screenViews: [] }, a[t] = this.viewMap, this.slsReporter = c, this.localUser = u, this.audioSubState = new Ut(), this.audioSubState.on("change", (g, l, S) => {
11573
+ this.emit("audioSubscribeStateChanged", this.uid, g, l, S);
11574
+ }), this.videoSubState = new Ut(), this.videoSubState.on("change", (g, l, S) => {
11575
+ this.emit("videoSubscribeStateChanged", this.uid, g, l, S);
11576
+ }), this.screenSubState = new Ut(), this.screenSubState.on("change", (g, l, S) => {
11577
+ this.emit("screenSubscribeStateChanged", this.uid, g, l, S);
11578
+ }), this.dataSubState = new Ut(), this.dataSubState.on("change", (g, l, S) => {
11579
+ this.emit("dataSubscribeStateChanged", this.uid, g, l, S);
11576
11580
  }), this.playoutVolume = p;
11577
11581
  }
11578
11582
  isWantSubAudio() {
@@ -11718,12 +11722,12 @@ const _e = (ut = class extends pn {
11718
11722
  var f, g;
11719
11723
  let c = e;
11720
11724
  if (!c) {
11721
- const { hasAudio: l, hasVideo: x, hasScreen: v, hasData: S } = (f = this.streamInfo) != null ? f : {};
11725
+ const { hasAudio: l, hasVideo: S, hasScreen: v, hasData: x } = (f = this.streamInfo) != null ? f : {};
11722
11726
  c = {
11723
11727
  audio: this.wantSubAudio && l,
11724
- video: this.wantSubVideo && x,
11728
+ video: this.wantSubVideo && S,
11725
11729
  screen: this.wantSubScreen && v,
11726
- data: ((g = this.parameter.data) == null ? void 0 : g.enableSubDataChannel) && S
11730
+ data: ((g = this.parameter.data) == null ? void 0 : g.enableSubDataChannel) && x
11727
11731
  };
11728
11732
  }
11729
11733
  this.streamInfo.markRemoteTrackSubscribing(c);
@@ -11998,9 +12002,9 @@ const _e = (ut = class extends pn {
11998
12002
  };
11999
12003
  }
12000
12004
  updateSubscribe(e) {
12001
- var a, c, o, u, h, p, d, f, g, l, x, v, S, b, y, E, I;
12005
+ var a, c, o, u, h, p, d, f, g, l, S, v, x, b, y, E, I;
12002
12006
  const t = Date.now(), i = {}, s = {};
12003
- if (this.wantSubAudio && !this.isAudioSubscribing && ((a = this.streamInfo) != null && a.hasAudio) ? (i.audio = !0, i.aMsid = ((c = this.streamInfo.getAudioInfo()) == null ? void 0 : c.msid) || k.Audio) : (!this.wantSubAudio || !((o = this.streamInfo) != null && o.hasAudio)) && this.isAudioSubscribing && (s.audio = !0, s.aMsid = ((u = this.streamInfo.getAudioInfo()) == null ? void 0 : u.msid) || k.Audio), this.wantSubVideo && ((h = this.streamInfo) != null && h.hasVideo) ? (this.defaultVideoStreamType === Re.AliRtcVideoStreamTypeLow && !this.isVideoSmallSubscribing && ((p = this.streamInfo) != null && p.hasVideoSmall) ? (i.video = !0, i.vMsid = k.VideoSmall) : !this.isVideoLargeSubscribing && ((d = this.streamInfo) != null && d.hasVideoLarge) && !(this.defaultVideoStreamType === Re.AliRtcVideoStreamTypeLow && this.isVideoSmallSubscribing) && (i.video = !0, i.vMsid = ((f = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : f.msid) || k.VideoLarge), this.defaultVideoStreamType === Re.AliRtcVideoStreamTypeLow && this.isVideoLargeSubscribing && this.isVideoSmallSubscribing && this.streamInfo.hasVideoSmall ? (s.video = !0, s.vMsid = k.VideoLarge) : this.defaultVideoStreamType === Re.AliRtcVideoStreamTypeHigh && this.isVideoLargeSubscribing && this.isVideoSmallSubscribing && (s.video = !0, s.vMsid = k.VideoSmall)) : (!this.wantSubVideo || !((g = this.streamInfo) != null && g.hasVideo)) && this.isVideoSubscribing && (s.video = !0, s.vMsid = this.streamInfo.isVideoSmallSubscribed || this.streamInfo.isVideoSmallSubscribing ? k.VideoSmall : ((l = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : l.msid) || k.VideoLarge), this.wantSubScreen && !this.isScreenSubscribing && ((x = this.streamInfo) != null && x.hasScreen) ? i.screen = !0 : (!this.wantSubScreen || !((v = this.streamInfo) != null && v.hasScreen)) && this.isScreenSubscribing && (s.screen = !0), (S = this.parameter.data) != null && S.enableSubDataChannel && !this.isDataSubscribing && ((b = this.streamInfo) != null && b.hasData) ? i.data = !0 : (!((y = this.parameter.data) != null && y.enableSubDataChannel) || !((E = this.streamInfo) != null && E.hasData)) && this.isDataSubscribing && (s.data = !0), (i.audio || i.video || i.screen || i.data) && (this.createCallId(), this.subscribe(i, e, t)), (s.audio || s.video || s.screen) && this.subscribeDeleteTracks(s), e === le.Reconnect) {
12007
+ if (this.wantSubAudio && !this.isAudioSubscribing && ((a = this.streamInfo) != null && a.hasAudio) ? (i.audio = !0, i.aMsid = ((c = this.streamInfo.getAudioInfo()) == null ? void 0 : c.msid) || k.Audio) : (!this.wantSubAudio || !((o = this.streamInfo) != null && o.hasAudio)) && this.isAudioSubscribing && (s.audio = !0, s.aMsid = ((u = this.streamInfo.getAudioInfo()) == null ? void 0 : u.msid) || k.Audio), this.wantSubVideo && ((h = this.streamInfo) != null && h.hasVideo) ? (this.defaultVideoStreamType === Re.AliRtcVideoStreamTypeLow && !this.isVideoSmallSubscribing && ((p = this.streamInfo) != null && p.hasVideoSmall) ? (i.video = !0, i.vMsid = k.VideoSmall) : !this.isVideoLargeSubscribing && ((d = this.streamInfo) != null && d.hasVideoLarge) && !(this.defaultVideoStreamType === Re.AliRtcVideoStreamTypeLow && this.isVideoSmallSubscribing) && (i.video = !0, i.vMsid = ((f = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : f.msid) || k.VideoLarge), this.defaultVideoStreamType === Re.AliRtcVideoStreamTypeLow && this.isVideoLargeSubscribing && this.isVideoSmallSubscribing && this.streamInfo.hasVideoSmall ? (s.video = !0, s.vMsid = k.VideoLarge) : this.defaultVideoStreamType === Re.AliRtcVideoStreamTypeHigh && this.isVideoLargeSubscribing && this.isVideoSmallSubscribing && (s.video = !0, s.vMsid = k.VideoSmall)) : (!this.wantSubVideo || !((g = this.streamInfo) != null && g.hasVideo)) && this.isVideoSubscribing && (s.video = !0, s.vMsid = this.streamInfo.isVideoSmallSubscribed || this.streamInfo.isVideoSmallSubscribing ? k.VideoSmall : ((l = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : l.msid) || k.VideoLarge), this.wantSubScreen && !this.isScreenSubscribing && ((S = this.streamInfo) != null && S.hasScreen) ? i.screen = !0 : (!this.wantSubScreen || !((v = this.streamInfo) != null && v.hasScreen)) && this.isScreenSubscribing && (s.screen = !0), (x = this.parameter.data) != null && x.enableSubDataChannel && !this.isDataSubscribing && ((b = this.streamInfo) != null && b.hasData) ? i.data = !0 : (!((y = this.parameter.data) != null && y.enableSubDataChannel) || !((E = this.streamInfo) != null && E.hasData)) && this.isDataSubscribing && (s.data = !0), (i.audio || i.video || i.screen || i.data) && (this.createCallId(), this.subscribe(i, e, t)), (s.audio || s.video || s.screen) && this.subscribeDeleteTracks(s), e === le.Reconnect) {
12004
12008
  if (H.event(`[${ut.logName}]`, "reconnect, try to resume"), this.streamInfo.hasAudio && !i.audio) {
12005
12009
  const A = this.rtsManager.getStreamByMsid({
12006
12010
  url: this.streamUrl,
@@ -12459,7 +12463,7 @@ const ve = (Me = class extends we {
12459
12463
  }
12460
12464
  httpPublish(a, c) {
12461
12465
  return w(this, arguments, function* (e, t, i = !1, s = rt.MANUAL) {
12462
- var S, b;
12466
+ var x, b;
12463
12467
  let o;
12464
12468
  const { publishStream: u, videoSmallStream: h, screenStream: p, vMsid: d } = yield this.localStreamManager.createHTTPPublishStream();
12465
12469
  if (!u)
@@ -12473,7 +12477,7 @@ const ve = (Me = class extends we {
12473
12477
  this.encodedInsertableStreams && (f.encodedInsertableStreams = !0), f.answerSdpHook = (y) => {
12474
12478
  const E = /\d+\.\d+\.\d+\.\d+(?=\s+1106|\s+8000)/.exec(y);
12475
12479
  return E != null && E[0] && (o = E[0]), y;
12476
- }, (b = (S = this.parameter) == null ? void 0 : S.net) != null && b.useTCP && (f.tcpOnly = !0), f.beforeRetry = (y) => w(this, null, function* () {
12480
+ }, (b = (x = this.parameter) == null ? void 0 : x.net) != null && b.useTCP && (f.tcpOnly = !0), f.beforeRetry = (y) => w(this, null, function* () {
12477
12481
  this._rtsReconnecting = !0, this.publishRetryHook && this.publishRetryHook();
12478
12482
  const { publishStream: E, vMsid: I } = yield this.localStreamManager.createHTTPPublishStream();
12479
12483
  if (!E)
@@ -12483,11 +12487,11 @@ const ve = (Me = class extends we {
12483
12487
  });
12484
12488
  return y.stream = E, A.aMsid ? y.aMsid = A.aMsid : y.aMsid = [], A.vMsid ? y.vMsid = A.vMsid : y.vMsid = [], y;
12485
12489
  }), this._rtsPeerConnectionType = "publish";
12486
- let g = !u.hasVideo, l = d, x = "";
12490
+ let g = !u.hasVideo, l = d, S = "";
12487
12491
  this.startConnect();
12488
12492
  const v = Date.now();
12489
12493
  try {
12490
- x = yield this.rts.publish(e, u, f);
12494
+ S = yield this.rts.publish(e, u, f);
12491
12495
  } catch (y) {
12492
12496
  this.setConnected(!1);
12493
12497
  const E = 2e3 - (Date.now() - v);
@@ -12507,7 +12511,7 @@ const ve = (Me = class extends we {
12507
12511
  v
12508
12512
  ), V.fromRtsError(y);
12509
12513
  }
12510
- H.event(`[${Me.logName}]`, "rts publish success", x), this.slsReporter.reportPublish(
12514
+ H.event(`[${Me.logName}]`, "rts publish success", S), this.slsReporter.reportPublish(
12511
12515
  i,
12512
12516
  e,
12513
12517
  t,
@@ -12516,13 +12520,13 @@ const ve = (Me = class extends we {
12516
12520
  u.hasVideo && d === k.Screen,
12517
12521
  u.hasAudio,
12518
12522
  0,
12519
- x,
12520
- x,
12523
+ S,
12524
+ S,
12521
12525
  v
12522
12526
  );
12523
12527
  try {
12524
12528
  const y = Date.now();
12525
- return this._pcTraceId = x, this.setConnected(!0), this._publishingTracks = this.rts.getPublishTrackInfoList(), h && (yield this.publishAdd(
12529
+ return this._pcTraceId = S, this.setConnected(!0), this._publishingTracks = this.rts.getPublishTrackInfoList(), h && (yield this.publishAdd(
12526
12530
  e,
12527
12531
  h,
12528
12532
  t,
@@ -12545,11 +12549,11 @@ const ve = (Me = class extends we {
12545
12549
  y,
12546
12550
  this._localJoinTime,
12547
12551
  g ? k.Audio : f.vMsid,
12548
- x || "",
12549
- x || "",
12552
+ S || "",
12553
+ S || "",
12550
12554
  s
12551
12555
  ), {
12552
- traceId: x,
12556
+ traceId: S,
12553
12557
  l1ip: o
12554
12558
  };
12555
12559
  } catch (y) {
@@ -12580,7 +12584,7 @@ const ve = (Me = class extends we {
12580
12584
  }
12581
12585
  publishAdd(u, h, p, d) {
12582
12586
  return w(this, arguments, function* (e, t, i, s, a = !1, c = !1, o = rt.MANUAL) {
12583
- var l, x, v, S, b, y, E, I;
12587
+ var l, S, v, x, b, y, E, I;
12584
12588
  const f = Date.now(), g = this.getPubMsid(t, s);
12585
12589
  try {
12586
12590
  const A = yield Oa(
@@ -12604,9 +12608,9 @@ const ve = (Me = class extends we {
12604
12608
  e,
12605
12609
  i,
12606
12610
  ((l = g.vMsid) == null ? void 0 : l[0]) === k.VideoLarge,
12607
- ((x = g.vMsid) == null ? void 0 : x[0]) === k.VideoSmall,
12611
+ ((S = g.vMsid) == null ? void 0 : S[0]) === k.VideoSmall,
12608
12612
  ((v = g.vMsid) == null ? void 0 : v[0]) === k.Screen,
12609
- ((S = g.aMsid) == null ? void 0 : S[0]) === k.Audio,
12613
+ ((x = g.aMsid) == null ? void 0 : x[0]) === k.Audio,
12610
12614
  0,
12611
12615
  this.pcTraceId,
12612
12616
  L.traceId || "",
@@ -12643,7 +12647,7 @@ const ve = (Me = class extends we {
12643
12647
  }
12644
12648
  publishDelete(e, t) {
12645
12649
  return w(this, null, function* () {
12646
- var u, h, p, d, f, g, l, x;
12650
+ var u, h, p, d, f, g, l, S;
12647
12651
  yield this.dcConnectingPromise;
12648
12652
  const i = (h = (u = this.publishingTracks) == null ? void 0 : u.find(({ msid: v }) => v === k.Audio)) == null ? void 0 : h.msid, s = (d = (p = this.publishingTracks) == null ? void 0 : p.find(({ msid: v }) => v === k.VideoLarge)) == null ? void 0 : d.msid, a = (g = (f = this.publishingTracks) == null ? void 0 : f.find(({ msid: v }) => v === k.Screen)) == null ? void 0 : g.msid, c = [];
12649
12653
  t.screen && a ? c.push(a) : t.video && c.push(t.vMsid || s);
@@ -12657,7 +12661,7 @@ const ve = (Me = class extends we {
12657
12661
  vMsid: c
12658
12662
  }
12659
12663
  ])) || [];
12660
- return H.event(Me.logName, "publishDelete", { result: v }), v && this.updatePublishingTracks(v.trackInfoList), ((x = (l = v == null ? void 0 : v.trackInfoList) == null ? void 0 : l[0]) == null ? void 0 : x.trackId) || "";
12664
+ return H.event(Me.logName, "publishDelete", { result: v }), v && this.updatePublishingTracks(v.trackInfoList), ((S = (l = v == null ? void 0 : v.trackInfoList) == null ? void 0 : l[0]) == null ? void 0 : S.trackId) || "";
12661
12665
  } catch (v) {
12662
12666
  throw V.fromRtsError(v);
12663
12667
  }
@@ -12939,20 +12943,20 @@ const ve = (Me = class extends we {
12939
12943
  const d = Date.now();
12940
12944
  let f = k.VideoLarge, g = o.video || o.screen, l = o.audio;
12941
12945
  o.video && o.vMsid ? f = o.vMsid : o.screen && (f = k.Screen);
12942
- let x = 0, v = 0, S = 0;
12946
+ let S = 0, v = 0, x = 0;
12943
12947
  const y = ((E, I) => {
12944
12948
  let A = 0;
12945
12949
  const C = () => {
12946
12950
  let L;
12947
- return l && !x && (L = this.rts.getSubscribeAudioStats(u.streamUrl).then((_) => {
12951
+ return l && !S && (L = this.rts.getSubscribeAudioStats(u.streamUrl).then((_) => {
12948
12952
  if (_.packetsReceived > 0)
12949
- x = Date.now();
12953
+ S = Date.now();
12950
12954
  else if (!g)
12951
12955
  return A < E ? (A++, new Promise((R) => setTimeout(() => R(C()), I))) : !1;
12952
12956
  return !0;
12953
- })), g && !S && (L = this.rts.getSubscribeVideoStats(u.streamUrl, f).then((_) => {
12957
+ })), g && !x && (L = this.rts.getSubscribeVideoStats(u.streamUrl, f).then((_) => {
12954
12958
  if (_.packetsReceived > 0 && (v = Date.now()), _.framesDecoded > 0)
12955
- S = Date.now();
12959
+ x = Date.now();
12956
12960
  else
12957
12961
  return A < E ? (A++, new Promise((R) => setTimeout(() => R(C()), I))) : (H.error(`[${Me.logName}]`, u.userId, "尝试获取首帧数据失败"), !1);
12958
12962
  return !0;
@@ -12968,34 +12972,34 @@ const ve = (Me = class extends we {
12968
12972
  f,
12969
12973
  {
12970
12974
  fprt: v - p,
12971
- ifsprtc: S ? S - p : 0,
12975
+ ifsprtc: x ? x - p : 0,
12972
12976
  ajsub: t === le.Join ? 1 : 0,
12973
12977
  pctid: this.pcTraceId,
12974
12978
  subtid: (h == null ? void 0 : h.traceId) || "",
12975
12979
  sstc: d - p
12976
12980
  }
12977
- ), S && this.slsReporter.reportSubscribeFirstFrame(
12981
+ ), x && this.slsReporter.reportSubscribeFirstFrame(
12978
12982
  t === le.Resume,
12979
12983
  i,
12980
12984
  s,
12981
12985
  f,
12982
12986
  {
12983
- fvfrt: S - p,
12984
- fp2fftc: S - v,
12987
+ fvfrt: x - p,
12988
+ fp2fftc: x - v,
12985
12989
  ajsub: t === le.Join ? 1 : 0,
12986
- tffrtc: t === le.Join ? S - this.localJoinTime : S - a,
12990
+ tffrtc: t === le.Join ? x - this.localJoinTime : x - a,
12987
12991
  pctid: this.pcTraceId,
12988
12992
  subtid: (h == null ? void 0 : h.traceId) || "",
12989
- fvfdtc: S - p
12993
+ fvfdtc: x - p
12990
12994
  }
12991
- ), x && this.slsReporter.reportSubscribeFirstPacket(
12995
+ ), S && this.slsReporter.reportSubscribeFirstPacket(
12992
12996
  t === le.Resume,
12993
12997
  i,
12994
12998
  s,
12995
12999
  k.Audio,
12996
13000
  {
12997
- fprt: x - p,
12998
- ifsprtc: x - p,
13001
+ fprt: S - p,
13002
+ ifsprtc: S - p,
12999
13003
  ajsub: t === le.Join ? 1 : 0,
13000
13004
  pctid: this.pcTraceId,
13001
13005
  subtid: (h == null ? void 0 : h.traceId) || "",
@@ -13273,8 +13277,8 @@ class Wa extends we {
13273
13277
  for (const l of this.plugins)
13274
13278
  try {
13275
13279
  yield l.execute(this, e);
13276
- } catch (x) {
13277
- console.error(`error in plugin-${l.name}, error: ${x}`);
13280
+ } catch (S) {
13281
+ console.error(`error in plugin-${l.name}, error: ${S}`);
13278
13282
  }
13279
13283
  this._targetVideoTrack ? ((i = (t = this._publishVideoStream) == null ? void 0 : t.videoTrack) == null ? void 0 : i.id) !== this._targetVideoTrack.id && (this._publishVideoStream = yield Yt(this._targetVideoTrack), this.setVideoMuted(this._videoMuted), (s = this.profileManager) == null || s.setVideoProfile(this.originVideoTrack, this._publishVideoStream, !0), (a = this.profileManager) == null || a.setContentHint(this._targetVideoTrack), this.previewStream ? (c = this.previewStream) == null || c.mergeStream(this._publishVideoStream) : this._previewStream = yield Yt(this._targetVideoTrack)) : (this._publishVideoStream = void 0, (o = this.previewStream) == null || o.deleteTracks({ video: !0 })), this._targetDualVideoTrack ? ((h = (u = this._publishDualVideoStream) == null ? void 0 : u.videoTrack) == null ? void 0 : h.id) !== this._targetDualVideoTrack.id && (this._publishDualVideoStream = yield Yt(this._targetDualVideoTrack), this._videoMuted ? this._publishDualVideoStream.disableVideo() : this._publishDualVideoStream.enableVideo()) : this._publishDualVideoStream = void 0, this._targetAudioTrack ? ((d = (p = this._publishAudioStream) == null ? void 0 : p.audioTrack) == null ? void 0 : d.id) !== this._targetAudioTrack.id && (this._publishAudioStream = yield Yt(this._targetAudioTrack), this.setAudioMuted(this._audioMuted), this.previewStream ? (f = this.previewStream) == null || f.mergeStream(this._publishAudioStream) : this._previewStream = yield Yt(this._targetAudioTrack)) : (this._publishAudioStream = void 0, (g = this.previewStream) == null || g.deleteTracks({ audio: !0 }));
13280
13284
  });
@@ -13378,7 +13382,7 @@ const Ge = (Bt = class extends we {
13378
13382
  m(this, "_publishLocalScreenStreamEnabled", !0);
13379
13383
  this.screenStreamInfo.setVideoContentHint("motion"), this.pluginManager = e, this.slsReporter = t;
13380
13384
  const i = (s) => w(this, null, function* () {
13381
- if (H.info(`[${Bt.logName}]`, "plugin added", s.name), !s.isSupported("6.13.3")) {
13385
+ if (H.info(`[${Bt.logName}]`, "plugin added", s.name), !s.isSupported("6.13.4-beta.0")) {
13382
13386
  console.warn(`${s.name} is not supported!!!`), s.emit("unsupported");
13383
13387
  return;
13384
13388
  }
@@ -15271,7 +15275,7 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15271
15275
  ctm: Math.floor(s[0].timestamp || 0),
15272
15276
  src: s[0].ssrc || "",
15273
15277
  codec: s[0]._codec || ""
15274
- }, o = [], u = [], h = [], p = [], d = [], f = [], g = [], l = [], x = [], v = [], S = [], b = [], y = [], E = [], I = [], A = [], C = [], L = [], _ = [];
15278
+ }, o = [], u = [], h = [], p = [], d = [], f = [], g = [], l = [], S = [], v = [], x = [], b = [], y = [], E = [], I = [], A = [], C = [], L = [], _ = [];
15275
15279
  try {
15276
15280
  if (s.forEach((R) => {
15277
15281
  var F, M, J, j, ue, X;
@@ -15291,7 +15295,7 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15291
15295
  if (f.push(N), a)
15292
15296
  (M = R._source) != null && M.audioLevel && g.push(Xa(R._source.audioLevel)), l.push(0);
15293
15297
  else {
15294
- x.push(Ya(R, "totalEncodeTime")), v.push(wt((J = R._source) == null ? void 0 : J.framesPerSecond, 100)), S.push(wt((j = R._source) == null ? void 0 : j.framesPerSecond, 100)), b.push(wt(R.framesPerSecond, 100)), y.push(wt((ue = R._source) == null ? void 0 : ue.height, 4400)), E.push(wt((X = R._source) == null ? void 0 : X.width, 7700)), I.push(wt(R.frameHeight, 4400)), A.push(wt(R.frameWidth, 7700));
15298
+ S.push(Ya(R, "totalEncodeTime")), v.push(wt((J = R._source) == null ? void 0 : J.framesPerSecond, 100)), x.push(wt((j = R._source) == null ? void 0 : j.framesPerSecond, 100)), b.push(wt(R.framesPerSecond, 100)), y.push(wt((ue = R._source) == null ? void 0 : ue.height, 4400)), E.push(wt((X = R._source) == null ? void 0 : X.width, 7700)), I.push(wt(R.frameHeight, 4400)), A.push(wt(R.frameWidth, 7700));
15295
15299
  const Fe = pe(R, "totalPacketSendDelay");
15296
15300
  C.push(fe(Fe, 1 / (ee || 1), 2e3));
15297
15301
  const je = pe(R, "qpSum");
@@ -15301,7 +15305,7 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15301
15305
  const R = (i == null ? void 0 : i.getSettings().sampleRate) || 0;
15302
15306
  c.ailevel = g.join(","), c.arpc = l.join(","), c.arsr = R, c.aesr = R, c.publevel = -90, c.rawlevel = -90;
15303
15307
  } else
15304
- c.em = x.join(","), c.cfps = v.join(","), c.ifps = S.join(","), c.sfps = b.join(","), c.ih = y.join(","), c.iw = E.join(","), c.sh = I.join(","), c.sw = A.join(","), c.sd = C.join(","), c.aqp = L.join(","), c.caf = _.join(","), c.can = _.join(","), c.cav = u.join(","), c.ifimax = _.join(","), c.ifimin = _.join(","), c.efimax = _.join(","), c.efimin = _.join(","), c.sfimax = _.join(","), c.sfimin = _.join(","), c.apsnr = _.join(",");
15308
+ c.em = S.join(","), c.cfps = v.join(","), c.ifps = x.join(","), c.sfps = b.join(","), c.ih = y.join(","), c.iw = E.join(","), c.sh = I.join(","), c.sw = A.join(","), c.sd = C.join(","), c.aqp = L.join(","), c.caf = _.join(","), c.can = _.join(","), c.cav = u.join(","), c.ifimax = _.join(","), c.ifimin = _.join(","), c.efimax = _.join(","), c.efimin = _.join(","), c.sfimax = _.join(","), c.sfimin = _.join(","), c.apsnr = _.join(",");
15305
15309
  } catch (R) {
15306
15310
  }
15307
15311
  this.log({
@@ -15322,7 +15326,7 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15322
15326
  ctm: Math.floor(s[0].timestamp || 0),
15323
15327
  src: s[0].ssrc || "",
15324
15328
  codec: s[0]._codec || ""
15325
- }, o = [], u = [], h = [], p = [], d = [], f = [], g = [], l = [], x = [], v = [], S = [], b = [], y = [], E = [], I = [], A = [], C = [], L = [], _ = [], R = [], T = [], B = [], $ = [], q = [], G = [], ae = [], Q = [], te = [], ee = [], P = [], N = [], F = [], M = [], J = [];
15329
+ }, o = [], u = [], h = [], p = [], d = [], f = [], g = [], l = [], S = [], v = [], x = [], b = [], y = [], E = [], I = [], A = [], C = [], L = [], _ = [], R = [], T = [], B = [], $ = [], q = [], G = [], ae = [], Q = [], te = [], ee = [], P = [], N = [], F = [], M = [], J = [];
15326
15330
  try {
15327
15331
  s.forEach((j) => {
15328
15332
  var Ze, Ct;
@@ -15349,7 +15353,7 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15349
15353
  const _t = pe(j, "fecPacketsReceived");
15350
15354
  b.push(Rt(_t, xe));
15351
15355
  const ke = pe(j, "retransmittedPacketsReceived"), Ce = xe + at - ke;
15352
- if (x.push(Rt(xe - ke, Ce)), v.push(Rt(at, Ce)), l.push(Rt(ke, Ce)), S.push(Ce), M.push(0), J.push(""), a) {
15356
+ if (S.push(Rt(xe - ke, Ce)), v.push(Rt(at, Ce)), l.push(Rt(ke, Ce)), x.push(Ce), M.push(0), J.push(""), a) {
15353
15357
  E.push(Xa(j.audioLevel));
15354
15358
  const dt = Lc(j, "synthesizedSamplesEvents");
15355
15359
  I.push(dt);
@@ -15377,7 +15381,7 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15377
15381
  const Gt = pe(j, "jitterBufferMinimumDelay");
15378
15382
  Gt && ze ? N.push(fe(Gt, 1e3 / ze, 3e4)) : N.push(0);
15379
15383
  }
15380
- }), c.rbr = o.join(","), c.mbrs = u.join(","), c.pbrs = h.join(","), c.pr = p.join(","), c.pl = d.join(","), c.plr = f.join(","), c.jd = g.join(","), c.fecr = b.join(","), c.retransr = l.join(","), c.baser = x.join(","), c.basel = v.join(","), c.recoverr = M.join(","), c.alll = v.join(","), c.totalc = S.join(","), a ? (c.er = y.join(","), c.aolevel = E.join(","), c.asrc = C.join(","), c.scnt = I.join(","), c.sdura = A.join(",")) : (c.dm = L.join(","), c.dfps = _.join(","), c.rfps = R.join(","), c.rh = T.join(","), c.rw = B.join(","), c.fpt = J.join(","), c.ns = G.join(","), c.pliss = q.join(","), c.aqp = ae.join(","), c.ofimax = M.join(","), c.ofimin = M.join(","), c.dfimax = M.join(","), c.dfimin = M.join(","), c.rfimax = M.join(","), c.rfimin = M.join(","), c.vrstutter = te.join(","), c.cdm = ee.join(","), c.tdm = P.join(","), c.pdm = N.join(","), c.ofps = F.join(","), c.dfbd = Q.join(","));
15384
+ }), c.rbr = o.join(","), c.mbrs = u.join(","), c.pbrs = h.join(","), c.pr = p.join(","), c.pl = d.join(","), c.plr = f.join(","), c.jd = g.join(","), c.fecr = b.join(","), c.retransr = l.join(","), c.baser = S.join(","), c.basel = v.join(","), c.recoverr = M.join(","), c.alll = v.join(","), c.totalc = x.join(","), a ? (c.er = y.join(","), c.aolevel = E.join(","), c.asrc = C.join(","), c.scnt = I.join(","), c.sdura = A.join(",")) : (c.dm = L.join(","), c.dfps = _.join(","), c.rfps = R.join(","), c.rh = T.join(","), c.rw = B.join(","), c.fpt = J.join(","), c.ns = G.join(","), c.pliss = q.join(","), c.aqp = ae.join(","), c.ofimax = M.join(","), c.ofimin = M.join(","), c.dfimax = M.join(","), c.dfimin = M.join(","), c.rfimax = M.join(","), c.rfimin = M.join(","), c.vrstutter = te.join(","), c.cdm = ee.join(","), c.tdm = P.join(","), c.pdm = N.join(","), c.ofps = F.join(","), c.dfbd = Q.join(","));
15381
15385
  } catch (j) {
15382
15386
  }
15383
15387
  this.log({
@@ -15398,10 +15402,10 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15398
15402
  return;
15399
15403
  const e = [], t = [], i = [], s = [], a = [], c = [], o = [], u = [], h = [], p = [];
15400
15404
  n.forEach((f, g) => {
15401
- var x;
15405
+ var S;
15402
15406
  if (!f.timestamp)
15403
15407
  return;
15404
- const l = (x = f._last) != null && x.timestamp ? f.timestamp - f._last.timestamp : 1e3;
15408
+ const l = (S = f._last) != null && S.timestamp ? f.timestamp - f._last.timestamp : 1e3;
15405
15409
  e.push(fe(f.currentRoundTripTime, 1e3)), t.push(fe(f.availableOutgoingBitrate, 8, 2e8)), i.push(qe(fe(f.bytesSent, 8, 2e7), l, 25e6)), s.push(qe(fe(f.bytesReceived, 8, 2e7), l, 25e6)), a.push(0), c.push(0), g % 5 === 0 && (o.push(""), u.push(""), h.push(""), p.push(""));
15406
15410
  });
15407
15411
  const d = {
@@ -16919,16 +16923,16 @@ const z = (K = class extends we {
16919
16923
  }
16920
16924
  switchCamera(e, t) {
16921
16925
  return w(this, null, function* () {
16922
- var s, a, c, o, u, h, p, d, f, g, l, x, v;
16926
+ var s, a, c, o, u, h, p, d, f, g, l, S, v;
16923
16927
  if (this._audioOnlyMode)
16924
16928
  throw new V(O.ERR_INNER, "Cannot switch camera in audio only mode");
16925
16929
  const i = {};
16926
16930
  if (e ? (i.deviceId = e, this.slsReporter.reportSwitchCamera(e)) : (i.cameraDirection = ((s = this.publisher) == null ? void 0 : s.cameraDirection) === "environment" ? ai.CAMERA_FRONT : ai.CAMERA_REAR, this.slsReporter.reportSwitchCamera(((a = this.publisher) == null ? void 0 : a.cameraDirection) || "")), yield this.setCameraCapturerConfiguration(i), !((c = this.publisher) != null && c.cameraCaptureDisabled)) {
16927
- (u = (o = this.publisher) == null ? void 0 : o.publishStreams) != null && u.video && ((d = (p = (h = this.publisher) == null ? void 0 : h.publishStreams) == null ? void 0 : p.video) == null || d.disableVideo(), (x = (l = (g = (f = this.publisher) == null ? void 0 : f.publishStreams) == null ? void 0 : g.video) == null ? void 0 : l.videoTrack) == null || x.stop());
16928
- const S = {
16931
+ (u = (o = this.publisher) == null ? void 0 : o.publishStreams) != null && u.video && ((d = (p = (h = this.publisher) == null ? void 0 : h.publishStreams) == null ? void 0 : p.video) == null || d.disableVideo(), (S = (l = (g = (f = this.publisher) == null ? void 0 : f.publishStreams) == null ? void 0 : g.video) == null ? void 0 : l.videoTrack) == null || S.stop());
16932
+ const x = {
16929
16933
  video: !0
16930
16934
  };
16931
- t && (S.mediaStream = new MediaStream([t])), yield (v = this.publisher) == null ? void 0 : v.createLocalStream(S);
16935
+ t && (x.mediaStream = new MediaStream([t])), yield (v = this.publisher) == null ? void 0 : v.createLocalStream(x);
16932
16936
  }
16933
16937
  });
16934
16938
  }