aliyun-rtc-sdk 6.13.6 → 6.13.7-beta.1

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.
@@ -130,8 +130,8 @@ function Fe() {
130
130
  if (!a)
131
131
  return c;
132
132
  var o = this, u = o.T(a), h = i.slice(0, s - 1);
133
- return u === "Function" ? o.safetyCall(a, h, c) : u === "Array" ? (this.each(a, function(p) {
134
- h[0] = c = o.filterByRule.apply(o, [].concat(h, p));
133
+ return u === "Function" ? o.safetyCall(a, h, c) : u === "Array" ? (this.each(a, function(g) {
134
+ h[0] = c = o.filterByRule.apply(o, [].concat(h, g));
135
135
  }), c) : u === "Object" ? c.replace(a.rule, a.target || "") : c.replace(a, "");
136
136
  },
137
137
  ignoreByRule: function(i, s) {
@@ -336,7 +336,7 @@ function Fe() {
336
336
  if (i.indexOf("?") >= 0 && (u = i.substring(i.indexOf("?") + 1, i.length).split("&")), u.length > 0)
337
337
  for (var h in u)
338
338
  c = (a = u[h].split("="))[0], o = a[1], s[c] = o;
339
- } catch (p) {
339
+ } catch (g) {
340
340
  s = {};
341
341
  }
342
342
  return s;
@@ -350,8 +350,8 @@ function Fe() {
350
350
  s.protocol = i.substring(0, c + 1);
351
351
  var o = i.indexOf("#"), u = i.indexOf("?");
352
352
  o < 0 && (o = a), u < 0 && (u = o), s.search = i.substring(u, o).substring(0, 1e3);
353
- var h = i.substring(c + 3, u), p = h.indexOf("/");
354
- return p < 0 && (p = h.length), s.domain = h.substring(0, p).split(":")[0], s.path = h.substring(p, h.length).substring(0, 1e3), s;
353
+ var h = i.substring(c + 3, u), g = h.indexOf("/");
354
+ return g < 0 && (g = h.length), s.domain = h.substring(0, g).split(":")[0], s.path = h.substring(g, h.length).substring(0, 1e3), s;
355
355
  },
356
356
  getResType: function(i, s) {
357
357
  if (["script", "img", "other"].indexOf(i) > -1)
@@ -380,11 +380,11 @@ function Fe() {
380
380
  getFetchSnapshot: function(i, s, a) {
381
381
  var c, o;
382
382
  try {
383
- var u = (i && typeof i[0] != "string" ? i[0].url : i[0]) || "", h = (i && typeof i[0] != "string" ? i[0] : i[1]) || {}, p = h.method.toUpperCase() === "POST" ? h.body : this.getQuerys(u);
383
+ var u = (i && typeof i[0] != "string" ? i[0].url : i[0]) || "", h = (i && typeof i[0] != "string" ? i[0] : i[1]) || {}, g = h.method.toUpperCase() === "POST" ? h.body : this.getQuerys(u);
384
384
  c = {
385
385
  originApi: u,
386
386
  method: h.method || "unknown",
387
- params: p,
387
+ params: g,
388
388
  response: s || "",
389
389
  reqHeaders: this.parseFetchHeaders(h.headers || null),
390
390
  resHeaders: this.parseFetchHeaders(a)
@@ -597,19 +597,19 @@ function $n() {
597
597
  };
598
598
  },
599
599
  getUberTraceId: function(s) {
600
- var a = this.rip, c = Date.now(), o = r.getSortNum(this.record), u = r.getRandNum(this._conf.pid), h = a + c + o + r.getNum(2) + u, p = h.substring(0, 16);
600
+ var a = this.rip, c = Date.now(), o = r.getSortNum(this.record), u = r.getRandNum(this._conf.pid), h = a + c + o + r.getNum(2) + u, g = h.substring(0, 16);
601
601
  return s = s ? "1" : "0", h[0] === "0" && (h[0] = "1"), h[16] === "0" && (h[16] = "1"), {
602
- "uber-trace-id": h + ":" + p + ":0:" + s,
602
+ "uber-trace-id": h + ":" + g + ":0:" + s,
603
603
  traceId: h
604
604
  };
605
605
  },
606
606
  getB3TraceId: function(s) {
607
- var a = this.rip, c = Date.now(), o = r.getSortNum(this.record), u = r.getRandNum(this._conf.pid), h = a + c + o + r.getNum(2) + u, p = h.substring(0, 16);
607
+ var a = this.rip, c = Date.now(), o = r.getSortNum(this.record), u = r.getRandNum(this._conf.pid), h = a + c + o + r.getNum(2) + u, g = h.substring(0, 16);
608
608
  return s = s ? "1" : "0", h[0] === "0" && (h[0] = "1"), h[16] === "0" && (h[16] = "1"), {
609
- b3: h + "-" + p + "-" + s + "-0",
609
+ b3: h + "-" + g + "-" + s + "-0",
610
610
  "X-B3-TraceId": h,
611
611
  "X-B3-ParentSpanId": "0",
612
- "X-B3-SpanId": p,
612
+ "X-B3-SpanId": g,
613
613
  "X-B3-Sampled": s
614
614
  };
615
615
  },
@@ -654,14 +654,14 @@ 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, 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)
657
+ var u = this, h = u._conf, g = u.getPage(), d = h.ignore || {}, f = d.ignoreErrors, p = d.ignoreResErrors, l = d.ignoreUrls, x = d.ignoreApis;
658
+ if (u._isRobot || r.ignoreByRule(g, l) || r.ignoreByRule(r.decode(g), l) || s === "error" && (r.ignoreByRule(a.msg, f) || r.ignoreByRule(r.decode(a.msg), f)) || s === "resourceError" && (r.ignoreByRule(a.src, p) || r.ignoreByRule(r.decode(a.src), p)) || 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)
659
659
  return u;
660
660
  var v = a.dl;
661
661
  if (delete a.dl, a = r.ext({
662
662
  t: s,
663
663
  times: 1,
664
- page: p,
664
+ page: g,
665
665
  tag: h.tag || "",
666
666
  release: h.release || "",
667
667
  environment: h.environment,
@@ -681,7 +681,7 @@ function $n() {
681
681
  try {
682
682
  if (!(a = h.beforeReport(a)))
683
683
  return u;
684
- } catch (x) {
684
+ } catch (S) {
685
685
  return u;
686
686
  }
687
687
  return o === 1 ? t(u, a) : c && !u.sampling(c) ? u : t(u, a);
@@ -707,7 +707,7 @@ function $n() {
707
707
  h.times++;
708
708
  try {
709
709
  h.err && a.err && h.err.msg_raw && a.err.msg_raw && h.err.msg_raw.split("&").indexOf(a.err.msg_raw) < 0 && h.err.msg_raw.length < 1e3 && (h.err.msg_raw += "&" + a.err.msg_raw);
710
- } catch (p) {
710
+ } catch (g) {
711
711
  }
712
712
  } else
713
713
  o.selfQueue.unshift(a), o.onReady(function() {
@@ -803,8 +803,8 @@ function Kn() {
803
803
  a = a || {};
804
804
  var h = typeof location == "object" && typeof location.href == "string" && location.href.substring(0, 500) || "";
805
805
  if (r.checkSDKError(o, a.filename)) {
806
- var p = /^Script error\.?$/, d = s.msg || s.message;
807
- if (r.ignoreByRule(d, p) || r.ignoreByRule(r.decode(d), p))
806
+ var g = /^Script error\.?$/, d = s.msg || s.message;
807
+ if (r.ignoreByRule(d, g) || r.ignoreByRule(r.decode(d), g))
808
808
  return this;
809
809
  var f = {
810
810
  msg: r.selfErrKey,
@@ -814,7 +814,7 @@ function Kn() {
814
814
  };
815
815
  return this._self("error", f, 1);
816
816
  }
817
- for (var g = {
817
+ for (var p = {
818
818
  begin: Date.now(),
819
819
  cate: c,
820
820
  msg: o && o.substring(0, 1e3),
@@ -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"], S = 0; S < l.length; S++) {
831
- var v = l[S];
832
- a[v] && (g[v] = a[v]);
830
+ }, l = ["tag", "c1", "c2", "c3"], x = 0; x < l.length; x++) {
831
+ var v = l[x];
832
+ a[v] && (p[v] = a[v]);
833
833
  }
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));
834
+ var S = (this.getConfig("ignore") || {}).ignoreErrors;
835
+ return r.ignoreByRule(p.msg, S) || r.ignoreByRule(r.decode(p.msg), S) ? this : (this.beforeSend && this.beforeSend("error", p), this._lg("error", p, 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, S, v, x, b, y) {
845
+ api: function(s, a, c, o, u, h, g, d, f, p, l, x, v, S, b, y) {
846
846
  if (!s)
847
847
  return r.warn("[retcode] api is null"), this;
848
848
  if (s = typeof s == "string" ? {
@@ -852,13 +852,13 @@ function Kn() {
852
852
  code: o,
853
853
  msg: u,
854
854
  begin: h,
855
- traceId: p,
855
+ traceId: g,
856
856
  pv_id: d,
857
857
  apiSnapshot: f,
858
- domain: g,
859
- flag: S,
858
+ domain: p,
859
+ flag: x,
860
860
  tag: v,
861
- c1: x,
861
+ c1: S,
862
862
  c2: b,
863
863
  c3: y
864
864
  } : r.sub(s, e), !r.checkAPI(s.api, !0))
@@ -901,14 +901,14 @@ function Kn() {
901
901
  }
902
902
  if (u)
903
903
  return r.warn("[arms] lack param data: " + s), this;
904
- var p = {
904
+ var g = {
905
905
  begin: s.begin || Date.now(),
906
906
  dom: s.dom || "",
907
907
  load: s.load || "",
908
908
  res: r.isArray(s.res) ? JSON.stringify(s.res) : JSON.stringify([]),
909
909
  dl: s.dl || ""
910
910
  };
911
- return this._lg("res", p, a);
911
+ return this._lg("res", g, a);
912
912
  },
913
913
  event: function(s, a) {
914
914
  if (typeof s == "object" && s && s.key) {
@@ -966,95 +966,95 @@ function Gn() {
966
966
  Es = 1;
967
967
  var r = Fe();
968
968
  return Ui = function(n, e) {
969
- var t = [], i = null, s = e && e.location && e.location.href, a = void 0, c = null, o = function(d, f, g) {
969
+ var t = [], i = null, s = e && e.location && e.location.href, a = void 0, c = null, o = function(d, f, p) {
970
970
  if (d !== null) {
971
971
  var l = d[f];
972
- d[f] = g(l);
972
+ d[f] = p(l);
973
973
  }
974
974
  }, u = function(d) {
975
- var f, g, l, S, v, x = [];
975
+ var f, p, l, x, v, S = [];
976
976
  if (!d || typeof d.tagName != "string")
977
977
  return "";
978
- if (x.push(d.tagName.toLowerCase()), typeof d.id == "string" && x.push("#".concat(d.id)), typeof (f = d.className) == "string")
979
- for (g = f.split(/\s+/), v = 0; v < g.length; v++)
980
- x.push(".".concat(g[v]));
978
+ if (S.push(d.tagName.toLowerCase()), typeof d.id == "string" && S.push("#".concat(d.id)), typeof (f = d.className) == "string")
979
+ for (p = f.split(/\s+/), v = 0; v < p.length; v++)
980
+ S.push(".".concat(p[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 (S = d.getAttribute(l)) == "string" && x.push("[".concat(l, '="').concat(S, '"]'));
984
- return x.join("");
983
+ l = b[v], typeof (x = d.getAttribute(l)) == "string" && S.push("[".concat(l, '="').concat(x, '"]'));
984
+ return S.join("");
985
985
  }, h = function(d, f) {
986
- return function(g) {
987
- if (g && g !== c) {
988
- c = g;
986
+ return function(p) {
987
+ if (p && p !== c) {
988
+ c = p;
989
989
  var l;
990
990
  try {
991
- l = g.target;
991
+ l = p.target;
992
992
  } catch (v) {
993
993
  l = "<unknown>";
994
994
  }
995
995
  if (l.length !== 0) {
996
- var S = {
996
+ var x = {
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 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;
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;
1004
1004
  return b.reverse().join(" > ");
1005
1005
  }(l)
1006
1006
  },
1007
1007
  timestamp: Date.now()
1008
1008
  };
1009
- d === "click" ? i && i.addBehavior(S) : d === "keypress" && (a || i && i.addBehavior(S), clearTimeout(a), a = setTimeout(function() {
1009
+ d === "click" ? i && i.addBehavior(x) : d === "keypress" && (a || i && i.addBehavior(x), clearTimeout(a), a = setTimeout(function() {
1010
1010
  a = void 0;
1011
1011
  }, 100));
1012
1012
  }
1013
1013
  }
1014
1014
  };
1015
- }, p = function() {
1015
+ }, g = function() {
1016
1016
  if (function() {
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;
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;
1019
1019
  }()) {
1020
- var d = function(l, S) {
1020
+ var d = function(l, x) {
1021
1021
  var v = {
1022
1022
  type: "navigation",
1023
1023
  data: {
1024
1024
  from: l,
1025
- to: S
1025
+ to: x
1026
1026
  }
1027
1027
  };
1028
- i && i.addBehavior(v), s = S;
1028
+ i && i.addBehavior(v), s = x;
1029
1029
  }, f = e.onpopstate;
1030
1030
  e.onpopstate = function() {
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);
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);
1036
1036
  };
1037
- var g = function(l) {
1037
+ var p = function(l) {
1038
1038
  return function() {
1039
- for (var S = arguments.length, v = new Array(S), x = 0; x < S; x++)
1040
- v[x] = arguments[x];
1039
+ for (var x = arguments.length, v = new Array(x), S = 0; S < x; S++)
1040
+ v[S] = arguments[S];
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
  };
1044
1044
  };
1045
- o(e.history, "pushState", g), o(e.history, "replaceState", g);
1045
+ o(e.history, "pushState", p), o(e.history, "replaceState", p);
1046
1046
  }
1047
1047
  };
1048
1048
  r.ext(n.prototype, {
1049
1049
  addBehavior: function(d) {
1050
1050
  if (this.getConfig("behavior") && d && typeof d == "object") {
1051
- var f = {}, g = d.data || {};
1051
+ var f = {}, p = d.data || {};
1052
1052
  if (d.type)
1053
- f = g;
1053
+ f = p;
1054
1054
  else {
1055
- if (typeof g.name != "string" || typeof g.message != "string")
1055
+ if (typeof p.name != "string" || typeof p.message != "string")
1056
1056
  return;
1057
- f.name = g.name.substr(0, 20), f.message = g.message.substr(0, 200);
1057
+ f.name = p.name.substr(0, 20), f.message = p.message.substr(0, 200);
1058
1058
  }
1059
1059
  f.message && (f.message = r.encode(f.message));
1060
1060
  var l = {
@@ -1083,39 +1083,39 @@ function Gn() {
1083
1083
  try {
1084
1084
  (function() {
1085
1085
  if (document && document.referrer && document.location) {
1086
- var f = document.referrer, g = document.location.href;
1086
+ var f = document.referrer, p = document.location.href;
1087
1087
  if (f !== "") {
1088
1088
  var l = {
1089
1089
  type: "navigation",
1090
1090
  data: {
1091
1091
  from: f,
1092
- to: g
1092
+ to: p
1093
1093
  }
1094
1094
  };
1095
- s = g, i && i.addBehavior(l);
1095
+ s = p, i && i.addBehavior(l);
1096
1096
  }
1097
1097
  }
1098
- })(), e && e.document && e.document.addEventListener && (e.document.addEventListener("click", h("click"), !1), e.document.addEventListener("keypress", h("keypress"), !1)), p();
1098
+ })(), e && e.document && e.document.addEventListener && (e.document.addEventListener("click", h("click"), !1), e.document.addEventListener("keypress", h("keypress"), !1)), g();
1099
1099
  var d = this.getConfig("enableConsole");
1100
1100
  d && function(f) {
1101
1101
  if (e && e.console) {
1102
- var g = ["debug", "info", "warn", "log", "error", "assert"];
1103
- r.isArray(f) && (g = f);
1104
- for (var l = 0; l < g.length; l++) {
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;
1102
+ var p = ["debug", "info", "warn", "log", "error", "assert"];
1103
+ r.isArray(f) && (p = f);
1104
+ for (var l = 0; l < p.length; l++) {
1105
+ var x = p[l];
1106
+ x && r.isString(x) && e.console[x] && typeof e.console[x] == "function" && o(e.console, x, function(v) {
1107
+ var S = x;
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: x,
1114
+ level: S,
1115
1115
  message: y
1116
1116
  }
1117
1117
  };
1118
- if (i && i.addBehavior(I), x === "error")
1118
+ if (i && i.addBehavior(I), S === "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", {
@@ -1162,9 +1162,9 @@ function Xn() {
1162
1162
  dom: [10, 8],
1163
1163
  load: [14, 1]
1164
1164
  }, function(u, h) {
1165
- var p = a[e[u[1]]], d = a[e[u[0]]];
1166
- if (p > 0 && d > 0) {
1167
- var f = Math.round(d - p);
1165
+ var g = a[e[u[1]]], d = a[e[u[0]]];
1166
+ if (g > 0 && d > 0) {
1167
+ var f = Math.round(d - g);
1168
1168
  f >= 0 && f < 6e5 && (s[h] = f);
1169
1169
  }
1170
1170
  }), s.res = JSON.stringify(c), s;
@@ -1198,17 +1198,17 @@ function Yn() {
1198
1198
  tti: [10, 1],
1199
1199
  ready: [12, 1],
1200
1200
  load: [14, 1]
1201
- }, function(g, l) {
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);
1201
+ }, function(p, l) {
1202
+ var x = a[e[p[1]]], v = a[e[p[0]]];
1203
+ if (o === 2 || x > 0 && v > 0) {
1204
+ var S = Math.round(v - x);
1205
+ S >= 0 && S < 6e5 && (s[l] = S);
1206
1206
  }
1207
1207
  });
1208
- var h = t.navigator.connection, p = i.navigation || {};
1208
+ var h = t.navigator.connection, g = i.navigation || {};
1209
1209
  s.ct = h ? h.effectiveType || h.type : "";
1210
1210
  var d = h && (h.downlink || h.downlinkMax || h.bandwidth) || null;
1211
- if ((d = d > 999 ? 999 : d) && (s.bandwidth = d), s.navtype = p.type === 1 ? "Reload" : "Other", o === 1 && a[e[16]] > 0 && a[e[1]] > 0) {
1211
+ if ((d = d > 999 ? 999 : d) && (s.bandwidth = d), s.navtype = g.type === 1 ? "Reload" : "Other", o === 1 && a[e[16]] > 0 && a[e[1]] > 0) {
1212
1212
  var f = a[e[16]] - a[e[1]];
1213
1213
  f >= 0 && f < 36e5 && (s.fpt = f);
1214
1214
  }
@@ -1218,12 +1218,12 @@ function Yn() {
1218
1218
  var Rs, ws;
1219
1219
  function Zn() {
1220
1220
  return ws || (ws = 1, Rs = function(r, n, e) {
1221
- var t = Fe(), i = Xn(), s = Yn(), a = null, c = e.documentElement, o = n.innerWidth || c.clientWidth || e.body.clientWidth, u = n.innerHeight || c.clientHeight || e.body.clientHeight, h = n.navigator.connection, p = {
1221
+ var t = Fe(), i = Xn(), s = Yn(), a = null, c = e.documentElement, o = n.innerWidth || c.clientWidth || e.body.clientWidth, u = n.innerHeight || c.clientHeight || e.body.clientHeight, h = n.navigator.connection, g = {
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, S, v, x, b) {
1226
- if (S === void 0) {
1225
+ }, d = {}, f = function(l, x, v, S, b) {
1226
+ if (x === void 0) {
1227
1227
  var y, E;
1228
1228
  if (!d[l]) {
1229
1229
  y = new RegExp(l + "=([^;]+)");
@@ -1236,16 +1236,16 @@ function Zn() {
1236
1236
  }
1237
1237
  return d[l];
1238
1238
  }
1239
- var I = l + "=" + S;
1239
+ var I = l + "=" + x;
1240
1240
  I += "; path=/", v && (I += "; max-age=" + v);
1241
1241
  try {
1242
1242
  return e.cookie = I, !!e.cookie;
1243
1243
  } catch (A) {
1244
1244
  return t.warn("[retcode] can not set cookie: ", A), !1;
1245
1245
  }
1246
- }, g = function(l) {
1247
- var S = l._conf.uid || f("_nk_") || f("_bl_uid");
1248
- return !S && (S = t.uu(), !f("_bl_uid", S, 15552e3)) ? null : S;
1246
+ }, p = 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;
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 S = l.type;
1258
- if (S === "error") {
1257
+ var x = l.type;
1258
+ if (x === "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
- S === "unhandledrejection" && t.T(l.reason, "Error") && t.checkAutoError(l.reason) && this.error(l.reason);
1264
+ x === "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 (x) {
1267
+ } catch (S) {
1268
1268
  }
1269
1269
  return this;
1270
1270
  },
1271
1271
  resourceErrorHandler: function(l) {
1272
- var S = this, v = l.target || l.srcElement;
1272
+ var x = this, v = l.target || l.srcElement;
1273
1273
  try {
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),
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),
1276
1276
  node_name: b,
1277
1277
  xpath: y,
1278
- res_type: t.getResType(b, x),
1278
+ res_type: t.getResType(b, S),
1279
1279
  res_name: E.path,
1280
1280
  domain: E.domain
1281
1281
  };
1282
- return S._conf.enableResource && S.fixResourceStatus && l.timeStamp && S.fixResourceStatus({
1283
- src: x,
1282
+ return x._conf.enableResource && x.fixResourceStatus && l.timeStamp && x.fixResourceStatus({
1283
+ src: S,
1284
1284
  node_name: b,
1285
- res_type: t.getResType(b, x),
1285
+ res_type: t.getResType(b, S),
1286
1286
  timeStamp: l.timeStamp,
1287
1287
  domain: E.domain
1288
- }), S._lg("resourceError", I), S;
1288
+ }), x._lg("resourceError", I), x;
1289
1289
  } catch (A) {
1290
- return t.warn("[ARMS] resourceErrorHandler error :", A), S;
1290
+ return t.warn("[ARMS] resourceErrorHandler error :", A), x;
1291
1291
  }
1292
1292
  },
1293
1293
  getSrc: function(l) {
1294
- var S = l.src || l.href;
1294
+ var x = l.src || l.href;
1295
1295
  try {
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);
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);
1299
1299
  }
1300
1300
  } catch (b) {
1301
- S = "";
1301
+ x = "";
1302
1302
  }
1303
- return S;
1303
+ return x;
1304
1304
  },
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;
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;
1308
1308
  },
1309
1309
  sendPerformance: function(l) {
1310
- var S = this;
1311
- S.onReady(function() {
1310
+ var x = this;
1311
+ x.onReady(function() {
1312
1312
  var v = s();
1313
- v && v.load && v.load > 0 && (v.page = S.getPage(!0), l && (v = t.ext(v, l)), v.autoSend = !0, S.performance(v));
1313
+ v && v.load && v.load > 0 && (v.page = x.getPage(!0), l && (v = t.ext(v, l)), v.autoSend = !0, x.performance(v));
1314
1314
  });
1315
1315
  },
1316
1316
  sendResources: function(l) {
1317
- var S = this;
1318
- S.onReady(function() {
1317
+ var x = this;
1318
+ x.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 = S.getPage(!0), v.dl = location.href, l && (v = t.ext(v, l)), S._lg("res", v, S.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 = x.getPage(!0), v.dl = location.href, l && (v = t.ext(v, l)), x._lg("res", v, x.getConfig("sample"))));
1321
1321
  });
1322
1322
  },
1323
1323
  sendPV: function() {
1324
1324
  var l = this;
1325
1325
  l.onReady(function() {
1326
- var S = function(v) {
1327
- var x = g(v), b = n.devicePixelRatio || 1;
1326
+ var x = function(v) {
1327
+ var S = p(v), b = n.devicePixelRatio || 1;
1328
1328
  return {
1329
- uid: x,
1329
+ uid: S,
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
- S && S.uid && l._lg("pv", S, l.getConfig("pvSample"));
1339
+ x && x.uid && l._lg("pv", x, l.getConfig("pvSample"));
1340
1340
  });
1341
1341
  },
1342
1342
  commonInfo: function() {
1343
- return p.uid = g(this), p.sid = function(l) {
1343
+ return g.uid = p(this), g.sid = function(l) {
1344
1344
  if (l.session)
1345
1345
  return l.session;
1346
- var S;
1346
+ var x;
1347
1347
  try {
1348
1348
  if (typeof window == "object" && typeof sessionStorage == "object" && typeof sessionStorage.getItem == "function")
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);
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);
1350
1350
  } catch (v) {
1351
1351
  t.warn("[ARMS] getSid error :", v);
1352
1352
  }
1353
- return l.session = S = t.uu(), S;
1354
- }(this), p;
1353
+ return l.session = x = t.uu(), x;
1354
+ }(this), g;
1355
1355
  },
1356
1356
  handleUnload: function(l) {
1357
- var S = Date.now();
1358
- if (S - this._lastUnload < 200)
1357
+ var x = Date.now();
1358
+ if (x - this._lastUnload < 200)
1359
1359
  return this;
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);
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);
1361
1361
  },
1362
1362
  bindHashChange: function(l) {
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);
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);
1373
1373
  },
1374
1374
  initHandler: function() {
1375
1375
  var l = this;
1376
1376
  if (l.hasInitHandler)
1377
1377
  return l;
1378
- var S = l._conf;
1378
+ var x = l._conf;
1379
1379
  return t.on(n, "beforeunload", function() {
1380
1380
  l.handleUnload(0);
1381
- }), l.bindHashChange(S.enableSPA), l.activeErrHandler(!1), l.hasInitHandler = !0, l;
1381
+ }), l.bindHashChange(x.enableSPA), l.activeErrHandler(!1), l.hasInitHandler = !0, l;
1382
1382
  }
1383
1383
  }), t.on(n, "error", function(l) {
1384
1384
  a && a.errorHandler(l);
@@ -1394,28 +1394,28 @@ function Qn() {
1394
1394
  Ds = 1;
1395
1395
  var r = Fe(), n = 500;
1396
1396
  return zi = function(e, t, i) {
1397
- function s(p, d, f) {
1398
- var g = 0, l = p.tagName;
1397
+ function s(g, d, f) {
1398
+ var p = 0, l = g.tagName;
1399
1399
  if (l !== "SCRIPT" && l !== "STYLE" && l !== "META" && l !== "HEAD") {
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
- if (g <= 0 && !f && !(p.getBoundingClientRect && p.getBoundingClientRect().top < c))
1400
+ var x = g.children ? g.children.length : 0;
1401
+ if (x > 0)
1402
+ for (var v = g.children, S = x - 1; S >= 0; S--)
1403
+ p += s(v[S], d + 1, p > 0);
1404
+ if (p <= 0 && !f && !(g.getBoundingClientRect && g.getBoundingClientRect().top < c))
1405
1405
  return 0;
1406
- g += 1 + 0.5 * d;
1406
+ p += 1 + 0.5 * d;
1407
1407
  }
1408
- return g;
1409
- }
1410
- function a(p) {
1411
- for (var d = 1; d < p.length; d++)
1412
- if (p[d].score < p[d - 1].score)
1413
- return p.splice(d, 1), a(p);
1414
1408
  return p;
1415
1409
  }
1410
+ function a(g) {
1411
+ for (var d = 1; d < g.length; d++)
1412
+ if (g[d].score < g[d - 1].score)
1413
+ return g.splice(d, 1), a(g);
1414
+ return g;
1415
+ }
1416
1416
  var c = t.innerHeight || 0, o = [], u = null, h = 0;
1417
1417
  r.ext(e.prototype, {
1418
- initFmpObserver: function(p) {
1418
+ initFmpObserver: function(g) {
1419
1419
  var d = this;
1420
1420
  if (!d._conf || !d._conf.useFmp)
1421
1421
  return null;
@@ -1426,11 +1426,11 @@ function Qn() {
1426
1426
  });
1427
1427
  var f = t.MutationObserver;
1428
1428
  return (u = new f(function() {
1429
- (function(g) {
1430
- var l = Date.now() - g, S = i.querySelector("body");
1431
- if (S) {
1429
+ (function(p) {
1430
+ var l = Date.now() - p, x = i.querySelector("body");
1431
+ if (x) {
1432
1432
  var v = 0;
1433
- v += s(S, 1, !1), o.push({
1433
+ v += s(x, 1, !1), o.push({
1434
1434
  score: v,
1435
1435
  t: l
1436
1436
  });
@@ -1444,31 +1444,31 @@ function Qn() {
1444
1444
  childList: !0,
1445
1445
  subtree: !0
1446
1446
  }), h = 1, d.onReady(function() {
1447
- d.endObserving(p);
1447
+ d.endObserving(g);
1448
1448
  }), u;
1449
1449
  },
1450
- endObserving: function(p, d) {
1450
+ endObserving: function(g, d) {
1451
1451
  var f = this;
1452
1452
  if (u && h)
1453
- if (f.fmpTimmer && (clearTimeout(f.fmpTimmer), f.fmpTimmer = null), d || !function(v, x) {
1453
+ if (f.fmpTimmer && (clearTimeout(f.fmpTimmer), f.fmpTimmer = null), d || !function(v, S) {
1454
1454
  var b = Date.now() - v;
1455
- return !(b > x || b - (o && o.length && o[o.length - 1].t || 0) > 2 * n);
1456
- }(f._startTime, p)) {
1455
+ return !(b > S || b - (o && o.length && o[o.length - 1].t || 0) > 2 * n);
1456
+ }(f._startTime, g)) {
1457
1457
  u.disconnect(), h = 0, o = a(o);
1458
- for (var g = null, l = 1; l < o.length; l++)
1458
+ for (var p = null, l = 1; l < o.length; l++)
1459
1459
  if (o[l].t >= o[l - 1].t) {
1460
- var S = o[l].score - o[l - 1].score;
1461
- (!g || g.rate <= S) && (g = {
1460
+ var x = o[l].score - o[l - 1].score;
1461
+ (!p || p.rate <= x) && (p = {
1462
1462
  t: o[l].t,
1463
- rate: S
1463
+ rate: x
1464
1464
  });
1465
1465
  }
1466
- g && g.t > 0 && g.t < 36e5 ? f.sendPerformance({
1467
- fmp: g.t
1466
+ p && p.t > 0 && p.t < 36e5 ? f.sendPerformance({
1467
+ fmp: p.t
1468
1468
  }) : f.sendPerformance();
1469
1469
  } else
1470
1470
  f.fmpTimmer = r.delay(function() {
1471
- f.endObserving(p);
1471
+ f.endObserving(g);
1472
1472
  }, n);
1473
1473
  }
1474
1474
  });
@@ -1477,31 +1477,31 @@ function Qn() {
1477
1477
  var Ts, Ps;
1478
1478
  function eo() {
1479
1479
  return Ps || (Ps = 1, Ts = function(r, n) {
1480
- var e = Fe(), t = null, i = e.getCurDomain(), s = function(h, p, d, f, g, l, S, v, x, b, y, E, I) {
1481
- var A = e.J(g) || null, C = e.safetyCall(p, [A, f], null);
1480
+ var e = Fe(), t = null, i = e.getCurDomain(), s = function(h, g, d, f, p, l, x, v, S, b, y, E, I) {
1481
+ var A = e.J(p) || null, C = e.safetyCall(g, [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, _, S, L, C.msg, v, x, b, _ ? {} : y, i, E, I);
1485
+ h.api(d, _, x, L, C.msg, v, S, b, _ ? {} : y, i, E, I);
1486
1486
  }, a = "fetch", c = "__oFetch_", o = "__oXMLHttpRequest_", u = "XMLHttpRequest";
1487
1487
  return e.ext(r.prototype, {
1488
- removeHook: function(h, p) {
1489
- return t && (p || this === t) ? (n[c] && (n[a] = n[c], delete n[c]), n[o] && (n[u] = n[o], delete n[o]), t = null, this) : this;
1488
+ removeHook: function(h, g) {
1489
+ return t && (g || this === t) ? (n[c] && (n[a] = n[c], delete n[c]), n[o] && (n[u] = n[o], delete n[o]), t = null, this) : this;
1490
1490
  },
1491
1491
  addHook: function(h) {
1492
1492
  return !h && t ? this : (t || (function() {
1493
1493
  if (typeof n[a] == "function") {
1494
- var p = n[a];
1495
- n[c] = p, n[a] = function(d, f) {
1496
- var g = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments), l = t;
1494
+ var g = n[a];
1495
+ n[c] = g, n[a] = function(d, f) {
1496
+ var p = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments), l = t;
1497
1497
  if (!l || !l.api || f && (f.method === "HEAD" || f.mode === "no-cors"))
1498
- return p.apply(n, g);
1498
+ return g.apply(n, p);
1499
1499
  f || (f = {});
1500
- var S = Date.now(), v = l._conf, x = e.duration(), b = (d && typeof d != "string" ? d.url : d) || "", y = b;
1500
+ var x = Date.now(), v = l._conf, S = 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))
1504
- return p.apply(n, g);
1504
+ return g.apply(n, p);
1505
1505
  b = e.filterByRule(b, y, v.ignoreApiPath ? v.ignoreApiPath : v.apiHelper);
1506
1506
  var A = v.enableLinkTrace, C = "", L = "", _ = l.getConfig("pid"), R = null, T = l.getConfig("sample"), B = l.getConfig("linkType"), $ = 1;
1507
1507
  if (T && !l.sampling(T) && ($ = 0), A) {
@@ -1515,26 +1515,26 @@ function eo() {
1515
1515
  if (l.getConfig("enableApiCors") || G)
1516
1516
  if (d && typeof d != "string")
1517
1517
  try {
1518
- if (g[0].headers && typeof g[0].headers.get == "function" && typeof g[0].headers.append == "function")
1518
+ if (p[0].headers && typeof p[0].headers.get == "function" && typeof p[0].headers.append == "function")
1519
1519
  switch (B) {
1520
1520
  case "arms":
1521
- var ae = g[0].headers.get("EagleEye-TraceID"), Q = g[0].headers.get("EagleEye-SessionID"), te = g[0].headers.get("EagleEye-pAppName");
1522
- ae ? C = ae : (C = l.getTraceId()["EagleEye-TraceID"], g[0].headers.append("EagleEye-TraceID", C)), Q ? L = Q : (L = l.getPageviewId()["EagleEye-SessionID"], g[0].headers.append("EagleEye-SessionID", L)), te || g[0].headers.append("EagleEye-pAppName", _);
1521
+ var ae = p[0].headers.get("EagleEye-TraceID"), Q = p[0].headers.get("EagleEye-SessionID"), te = p[0].headers.get("EagleEye-pAppName");
1522
+ ae ? C = ae : (C = l.getTraceId()["EagleEye-TraceID"], p[0].headers.append("EagleEye-TraceID", C)), Q ? L = Q : (L = l.getPageviewId()["EagleEye-SessionID"], p[0].headers.append("EagleEye-SessionID", L)), te || p[0].headers.append("EagleEye-pAppName", _);
1523
1523
  break;
1524
1524
  case "b3":
1525
- var ee = g[0].headers.get("X-B3-TraceId");
1525
+ var ee = p[0].headers.get("X-B3-TraceId");
1526
1526
  if (ee)
1527
1527
  C = ee;
1528
1528
  else {
1529
1529
  var P = l.getB3TraceId($);
1530
- g[0].headers.append("X-B3-TraceId", P["X-B3-TraceId"]), g[0].headers.append("X-B3-ParentSpanId", P["X-B3-ParentSpanId"]), g[0].headers.append("X-B3-SpanId", P["X-B3-SpanId"]), g[0].headers.append("X-B3-Sampled", P["X-B3-Sampled"]), g[0].headers.append("X-Request-ID", e.guid()), C = P["X-B3-TraceId"];
1530
+ p[0].headers.append("X-B3-TraceId", P["X-B3-TraceId"]), p[0].headers.append("X-B3-ParentSpanId", P["X-B3-ParentSpanId"]), p[0].headers.append("X-B3-SpanId", P["X-B3-SpanId"]), p[0].headers.append("X-B3-Sampled", P["X-B3-Sampled"]), p[0].headers.append("X-Request-ID", e.guid()), C = P["X-B3-TraceId"];
1531
1531
  }
1532
1532
  L = l.pageview;
1533
1533
  break;
1534
1534
  case "tracing":
1535
1535
  default:
1536
- var N = g[0].headers.get("uber-trace-id");
1537
- N ? C = N.split(":")[0] : (N = l.getUberTraceId($), g[0].headers.append("uber-trace-id", N["uber-trace-id"]), C = N.traceId), L = l.pageview;
1536
+ var N = p[0].headers.get("uber-trace-id");
1537
+ N ? C = N.split(":")[0] : (N = l.getUberTraceId($), p[0].headers.append("uber-trace-id", N["uber-trace-id"]), C = N.traceId), L = l.pageview;
1538
1538
  }
1539
1539
  } catch (J) {
1540
1540
  e.warn(`[retcode] fetch failed to set header, exception is :
@@ -1565,7 +1565,7 @@ function eo() {
1565
1565
  L = l.getPageviewId()["EagleEye-SessionID"];
1566
1566
  }
1567
1567
  }
1568
- return p.apply(n, g).then(function(J) {
1568
+ return g.apply(n, p).then(function(J) {
1569
1569
  if (!l || !l.api)
1570
1570
  return J;
1571
1571
  try {
@@ -1581,14 +1581,14 @@ function eo() {
1581
1581
  typeof Ve == "object" && Ve["eagleeye-traceid"] && (C = Ve["eagleeye-traceid"], R = "response");
1582
1582
  }
1583
1583
  }
1584
- var ze = x();
1584
+ var ze = S();
1585
1585
  return j.text().then(function(Ye) {
1586
1586
  if (!C && e.isFunction(I)) {
1587
1587
  var Ze = I(j, Ye);
1588
1588
  Ze && e.isString(Ze) && (C = Ze);
1589
1589
  }
1590
- var Se = e.getFetchSnapshot(g, Ye, ue);
1591
- j.ok ? s(l, v.parseResponse, b, y, Ye, j.status || 200, ze, S, C, L, Se, R, $) : (l.api(b, !1, ze, j.status || 404, j.statusText, S, C, L, Se, i, R, $), v.enableResource && t.fixResourceStatus && t.fixResourceStatus({
1590
+ var Se = e.getFetchSnapshot(p, Ye, ue);
1591
+ j.ok ? s(l, v.parseResponse, b, y, Ye, j.status || 200, ze, x, C, L, Se, R, $) : (l.api(b, !1, ze, j.status || 404, j.statusText, x, C, L, Se, 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 = x();
1603
- throw l.api(b, !1, j, J.name || "Error", J.message, S, C, L, {}, i), v.enableResource && t.fixResourceStatus && t.fixResourceStatus({
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({
1604
1604
  src: y,
1605
1605
  res_type: "api"
1606
1606
  }), J;
@@ -1609,15 +1609,15 @@ function eo() {
1609
1609
  }
1610
1610
  }(), function() {
1611
1611
  if (typeof n[u] == "function") {
1612
- var p, d = n[u];
1612
+ var g, d = n[u];
1613
1613
  n[o] = d;
1614
- var f = function(g) {
1615
- var l = new d(g), S = t;
1616
- if (!S || !S.api || !l.addEventListener)
1614
+ var f = function(p) {
1615
+ var l = new d(p), x = t;
1616
+ if (!x || !x.api || !l.addEventListener)
1617
1617
  return l;
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
- p = te;
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) {
1620
+ g = 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);
1623
1623
  var N = !e.checkAPI(b, !0) || e.ignoreByRule(b, L);
@@ -1629,28 +1629,28 @@ function eo() {
1629
1629
  F = "";
1630
1630
  }
1631
1631
  var M = e.checkSameOrigin(y, F);
1632
- if ((S.getConfig("enableApiCors") || M) && A && typeof A == "function")
1632
+ if ((x.getConfig("enableApiCors") || M) && A && typeof A == "function")
1633
1633
  switch (ae) {
1634
1634
  case "arms":
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", $]);
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", $]);
1636
1636
  break;
1637
1637
  case "b3":
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"];
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"];
1640
1640
  break;
1641
1641
  case "tracing":
1642
1642
  default:
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"];
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"];
1645
1645
  }
1646
1646
  }
1647
1647
  }, l.send = function() {
1648
- v = Date.now(), x = e.duration();
1648
+ v = Date.now(), S = 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 = x(), ee = e.getXhrSnapshot(y, p, l);
1653
+ var te = S(), ee = e.getXhrSnapshot(y, g, 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,17 +1666,17 @@ function eo() {
1666
1666
  if (M && !/(text)|(json)/.test(M))
1667
1667
  return;
1668
1668
  }
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);
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);
1670
1670
  } else
1671
- S.api(b, !1, te, l.status || "FAILED", l.statusText, v, T, B, ee, i, q, Q), C.enableResource && t.fixResourceStatus && t.fixResourceStatus({
1671
+ x.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
  });
1675
1675
  }
1676
1676
  }), l;
1677
1677
  };
1678
- f.prototype = d.prototype, e.each(Object.keys(d), function(g) {
1679
- f[g] = d[g];
1678
+ f.prototype = d.prototype, e.each(Object.keys(d), function(p) {
1679
+ f[p] = d[p];
1680
1680
  }), n[u] = f, n[u].toString = e.createFakeToString(u);
1681
1681
  }
1682
1682
  }()), t = this, this);
@@ -1697,17 +1697,17 @@ function to() {
1697
1697
  }) : ((u = i.createEvent("HTMLEvents")).initEvent(c, !1, !0), u.detail = o), n.dispatchEvent(u);
1698
1698
  }, a = function(c) {
1699
1699
  var o = t[c];
1700
- typeof o == "function" && (t[c] = function(u, h, p) {
1701
- var d = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments), f = location.href, g = o.apply(t, d);
1702
- if (!p || typeof p != "string" || p === f)
1703
- return g;
1700
+ typeof o == "function" && (t[c] = function(u, h, g) {
1701
+ var d = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments), f = location.href, p = o.apply(t, d);
1702
+ if (!g || typeof g != "string" || g === f)
1703
+ return p;
1704
1704
  try {
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);
1705
+ var l = f.split("#"), x = g.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);
1707
1707
  } catch (E) {
1708
1708
  e.warn("[retcode] error in " + c + ": " + E);
1709
1709
  }
1710
- return g;
1710
+ return p;
1711
1711
  }, t[c].toString = e.createFakeToString(c));
1712
1712
  };
1713
1713
  e.ext(r.prototype, {
@@ -1726,15 +1726,15 @@ function io() {
1726
1726
  return Wi = function(t, i) {
1727
1727
  function s(o, u, h) {
1728
1728
  if (o instanceof i.PerformanceResourceTiming && o.initiatorType) {
1729
- var p = r.getResType(o.initiatorType, o.name), d = u.resourceTypes || [], f = (u.ignore || {}).ignoreResources;
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]], 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))
1729
+ var g = r.getResType(o.initiatorType, o.name), d = u.resourceTypes || [], f = (u.ignore || {}).ignoreResources;
1730
+ if (g && d.includes(g) && !r.ignoreByRule(o.name, f) && !r.ignoreByRule(r.decode(o.name), f)) {
1731
+ var p = 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(p, l, x, v, S, b, y, E, I) || p > E))
1733
1733
  return;
1734
- if (A < g && (A = g), C < g && (C = l), r.areInOrder(g, A, C, l))
1734
+ if (A < p && (A = p), C < p && (C = l), r.areInOrder(p, A, C, l))
1735
1735
  return {
1736
1736
  domain: r.getURL(o.name).domain,
1737
- res_type: p,
1737
+ res_type: g,
1738
1738
  src_type: r.getSrcType(o.name, u.cdnHostList),
1739
1739
  success: 1,
1740
1740
  size: Math.round(o.decodedBodySize),
@@ -1751,9 +1751,9 @@ function io() {
1751
1751
  var o = this, u = i.performance, h = i.PerformanceObserver;
1752
1752
  if (o[c] || (o[c] = /* @__PURE__ */ new WeakMap()), !u || !h || typeof u != "object" || typeof u.getEntriesByType != "function")
1753
1753
  return null;
1754
- var p = u.getEntriesByType("resource") || [];
1754
+ var g = u.getEntriesByType("resource") || [];
1755
1755
  return setTimeout(function() {
1756
- o.setResource(p);
1756
+ o.setResource(g);
1757
1757
  }, 10), new h(function(d) {
1758
1758
  setTimeout(function() {
1759
1759
  o.setResource(d.getEntries());
@@ -1768,13 +1768,13 @@ function io() {
1768
1768
  var u = this._conf, h = this[c];
1769
1769
  if (r.isArray(o) && o.length) {
1770
1770
  this[a] || (this[a] = {});
1771
- for (var p = this[a], d = 0, f = o.length; d < f; d += 1) {
1772
- var g = o[d];
1773
- if (r.checkAPI(g.name, !1)) {
1774
- var l = s(g, u, h);
1771
+ for (var g = this[a], d = 0, f = o.length; d < f; d += 1) {
1772
+ var p = o[d];
1773
+ if (r.checkAPI(p.name, !1)) {
1774
+ var l = s(p, u, h);
1775
1775
  if (l) {
1776
- var S = l.res_type + "-" + l.domain;
1777
- S in p || (p[S] = []), p[S].push(l);
1776
+ var x = l.res_type + "-" + l.domain;
1777
+ x in g || (g[x] = []), g[x].push(l);
1778
1778
  }
1779
1779
  }
1780
1780
  }
@@ -1788,9 +1788,9 @@ function io() {
1788
1788
  var h = this[c];
1789
1789
  if (!o.src || !r.checkAPI(o.src, !1))
1790
1790
  return this;
1791
- var p = o.timeStamp || u.now(), d = u.getEntriesByName(o.src, "resource");
1791
+ var g = o.timeStamp || u.now(), d = u.getEntriesByName(o.src, "resource");
1792
1792
  return r.each(d, function(f) {
1793
- h.has(f) || p - f.responseEnd < 100 && h.set(f, {
1793
+ h.has(f) || g - f.responseEnd < 100 && h.set(f, {
1794
1794
  success: 0
1795
1795
  });
1796
1796
  }), this;
@@ -1798,11 +1798,11 @@ function io() {
1798
1798
  resourceComboReport: function() {
1799
1799
  var o = this[a] || {}, u = this._conf.resourceSlow || 2e3, h = this[c];
1800
1800
  this[a] = {};
1801
- var p = Object.keys(o);
1802
- if (p.length !== 0) {
1801
+ var g = Object.keys(o);
1802
+ if (g.length !== 0) {
1803
1803
  var d = [];
1804
- r.each(p, function(S) {
1805
- var v = o[S], x = {
1804
+ r.each(g, function(x) {
1805
+ var v = o[x], S = {
1806
1806
  domain: "",
1807
1807
  res_type: "",
1808
1808
  src_type: "",
@@ -1817,22 +1817,22 @@ 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
- 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);
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);
1821
1821
  try {
1822
1822
  var C = JSON.parse(JSON.stringify(y));
1823
- C.success = I, C.resourceSlow = u, C.isSlow = A, x.timings.push(C);
1823
+ C.success = I, C.resourceSlow = u, C.isSlow = A, S.timings.push(C);
1824
1824
  } catch (L) {
1825
1825
  }
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) {
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) {
1827
1827
  return y.duration - b.duration;
1828
- }), x.timings.length = 20), x.timings = encodeURIComponent(JSON.stringify(x.timings)), d.push(x);
1828
+ }), S.timings.length = 20), S.timings = encodeURIComponent(JSON.stringify(S.timings)), d.push(S);
1829
1829
  });
1830
1830
  var f = {
1831
1831
  _combo: 1,
1832
1832
  resource: JSON.stringify(d)
1833
- }, g = i.navigator.connection;
1834
- f.ct = g ? g.effectiveType || g.type : "";
1835
- var l = g && (g.downlink || g.downlinkMax || g.bandwidth) || null;
1833
+ }, p = i.navigator.connection;
1834
+ f.ct = p ? p.effectiveType || p.type : "";
1835
+ var l = p && (p.downlink || p.downlinkMax || p.bandwidth) || null;
1836
1836
  (l = l > 999 ? 999 : l) && (f.bandwidth = l), this._lg("resource", f, this.getConfig("sample"));
1837
1837
  }
1838
1838
  }
@@ -1850,8 +1850,8 @@ function ro() {
1850
1850
  errcount: 0,
1851
1851
  apisucc: 0,
1852
1852
  apifail: 0
1853
- }, u.beforeSend = function(h, p) {
1854
- h === "error" ? u._health.errcount++ : h === "api" && u._health[p.success ? "apisucc" : "apifail"]++;
1853
+ }, u.beforeSend = function(h, g) {
1854
+ h === "error" ? u._health.errcount++ : h === "api" && u._health[g.success ? "apisucc" : "apifail"]++;
1855
1855
  }, o.enableInstanceAutoSend !== !1 && (u.initHandler(), u.initHook(), u.initFmpObserver(1e4), u._conf && u._conf.behavior && typeof u.initBehavior == "function" && u.initBehavior(), u._conf && u._conf.enableResource && typeof u.initResource == "function" && u.initResource()), Object.defineProperty && i.addEventListener && Object.defineProperty(u, "pipe", {
1856
1856
  set: u.sendPipe
1857
1857
  }), u;
@@ -1910,13 +1910,13 @@ function ro() {
1910
1910
  }, !0);
1911
1911
  },
1912
1912
  getPage: function(o) {
1913
- var u = this._conf, h = u.page, p = location, d = p.host + p.pathname;
1914
- return h && !o ? r.safetyCall(h, [], h + "") : this._initialPage || r.filterByRule(u.ignoreUrlCase ? d.toLowerCase() : d, p.href, u.ignoreUrlPath ? u.ignoreUrlPath : u.urlHelper);
1913
+ var u = this._conf, h = u.page, g = location, d = g.host + g.pathname;
1914
+ return h && !o ? r.safetyCall(h, [], h + "") : this._initialPage || r.filterByRule(u.ignoreUrlCase ? d.toLowerCase() : d, g.href, u.ignoreUrlPath ? u.ignoreUrlPath : u.urlHelper);
1915
1915
  },
1916
1916
  setPage: function(o, u) {
1917
- var h = this, p = h.prevPage;
1917
+ var h = this, g = h.prevPage;
1918
1918
  if (u !== !1) {
1919
- if (!o || o === p)
1919
+ if (!o || o === g)
1920
1920
  return h;
1921
1921
  h.prevPage = o, clearTimeout(h.sendPVTimmer), h.handleUnload(1), h.resetPageview(), h.sendPVTimmer = setTimeout(function() {
1922
1922
  h.sendPV();
@@ -1930,8 +1930,8 @@ function ro() {
1930
1930
  r.verifyConfig(o), o = this.setImgUrl(o);
1931
1931
  var h = this._conf;
1932
1932
  if (this._conf = r.ext({}, h, o), !u) {
1933
- var p = "disableHook";
1934
- p in o && h[p] !== o[p] && (o[p] ? this.removeHook() : this.addHook()), (p = "enableSPA") in o && h[p] !== o[p] && this.bindHashChange(o[p]);
1933
+ var g = "disableHook";
1934
+ g in o && h[g] !== o[g] && (o[g] ? this.removeHook() : this.addHook()), (g = "enableSPA") in o && h[g] !== o[g] && this.bindHashChange(o[g]);
1935
1935
  }
1936
1936
  }
1937
1937
  },
@@ -1941,8 +1941,8 @@ function ro() {
1941
1941
  postData: function(o, u) {
1942
1942
  var h = {};
1943
1943
  h[u] = o[u], delete o[u];
1944
- var p = "";
1945
- typeof o == "object" && (p = r.serialize(o)), t(h, this.getConfig("imgUrl") + p + "&post_res=");
1944
+ var g = "";
1945
+ typeof o == "object" && (g = r.serialize(o)), t(h, this.getConfig("imgUrl") + g + "&post_res=");
1946
1946
  },
1947
1947
  sendPipe: function(o) {
1948
1948
  var u = this;
@@ -1950,8 +1950,8 @@ function ro() {
1950
1950
  return u;
1951
1951
  try {
1952
1952
  if (r.T(o[0]) === "Array")
1953
- return r.each(o, function(p) {
1954
- return u.sendPipe(p);
1953
+ return r.each(o, function(g) {
1954
+ return u.sendPipe(g);
1955
1955
  });
1956
1956
  if (r.T(o) !== "Array")
1957
1957
  return u;
@@ -1959,8 +1959,8 @@ function ro() {
1959
1959
  if (!a.test(h))
1960
1960
  return u;
1961
1961
  u[h].apply(u, o);
1962
- } catch (p) {
1963
- return r.warn("[retcode] error in sendPipe", p), u;
1962
+ } catch (g) {
1963
+ return r.warn("[retcode] error in sendPipe", g), u;
1964
1964
  }
1965
1965
  },
1966
1966
  sendHealth: function() {
@@ -2052,8 +2052,8 @@ function co(r, n, e) {
2052
2052
  let h;
2053
2053
  try {
2054
2054
  h = a[c];
2055
- } catch (p) {
2056
- throw e(p), p;
2055
+ } catch (g) {
2056
+ throw e(g), g;
2057
2057
  }
2058
2058
  return rt(h, n + 1, e);
2059
2059
  }
@@ -2062,13 +2062,13 @@ function co(r, n, e) {
2062
2062
  typeof a[c] == "function" && (o = a[c].bind(a));
2063
2063
  const u = {
2064
2064
  MediaboxWrapperObjectMethod(...h) {
2065
- let p;
2065
+ let g;
2066
2066
  try {
2067
- p = o(...h);
2067
+ g = o(...h);
2068
2068
  } catch (d) {
2069
2069
  throw e(d), d;
2070
2070
  }
2071
- return rt(p, n + 1, e);
2071
+ return rt(g, n + 1, e);
2072
2072
  }
2073
2073
  };
2074
2074
  return typeof a[c] == "function" ? u.MediaboxWrapperObjectMethod : n > 10 ? a[c] : rt(a[c], n + 1, e);
@@ -2256,7 +2256,7 @@ function at(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.6", Ks = "web";
2259
+ const yi = "6.13.7-beta.1", Ks = "web";
2260
2260
  class He {
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 (x) {
2561
+ } catch (S) {
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 (x) {
2568
+ } catch (S) {
2569
2569
  }
2570
2570
  if (typeof s.randomBytes == "function")
2571
2571
  try {
2572
2572
  return s.randomBytes(4).readInt32LE();
2573
- } catch (x) {
2573
+ } catch (S) {
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 x() {
2578
+ function S() {
2579
2579
  }
2580
2580
  return function(b) {
2581
2581
  var y;
2582
- return x.prototype = b, y = new x(), x.prototype = null, y;
2582
+ return S.prototype = b, y = new S(), S.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(x) {
2604
+ extend: function(S) {
2605
2605
  var b = c(this);
2606
- return x && b.mixIn(x), (!b.hasOwnProperty("init") || this.init === b.init) && (b.init = function() {
2606
+ return S && b.mixIn(S), (!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 x = this.extend();
2624
- return x.init.apply(x, arguments), x;
2623
+ var S = this.extend();
2624
+ return S.init.apply(S, arguments), S;
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(x) {
2652
- for (var b in x)
2653
- x.hasOwnProperty(b) && (this[b] = x[b]);
2654
- x.hasOwnProperty("toString") && (this.toString = x.toString);
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);
2655
2655
  },
2656
2656
  /**
2657
2657
  * Creates a copy of this object.
@@ -2666,7 +2666,7 @@ function ne() {
2666
2666
  return this.init.prototype.extend(this);
2667
2667
  }
2668
2668
  };
2669
- }(), p = u.WordArray = h.extend({
2669
+ }(), g = u.WordArray = h.extend({
2670
2670
  /**
2671
2671
  * Initializes a newly created word array.
2672
2672
  *
@@ -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(x, b) {
2683
- x = this.words = x || [], b != i ? this.sigBytes = b : this.sigBytes = x.length * 4;
2682
+ init: function(S, b) {
2683
+ S = this.words = S || [], b != i ? this.sigBytes = b : this.sigBytes = S.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(x) {
2699
- return (x || f).stringify(this);
2698
+ toString: function(S) {
2699
+ return (S || 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(x) {
2713
- var b = this.words, y = x.words, E = this.sigBytes, I = x.sigBytes;
2712
+ concat: function(S) {
2713
+ var b = this.words, y = S.words, E = this.sigBytes, I = S.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 x = this.words, b = this.sigBytes;
2733
- x[b >>> 2] &= 4294967295 << 32 - b % 4 * 8, x.length = t.ceil(b / 4);
2732
+ var S = this.words, b = this.sigBytes;
2733
+ S[b >>> 2] &= 4294967295 << 32 - b % 4 * 8, S.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 x = h.clone.call(this);
2746
- return x.words = this.words.slice(0), x;
2745
+ var S = h.clone.call(this);
2746
+ return S.words = this.words.slice(0), S;
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(x) {
2762
- for (var b = [], y = 0; y < x; y += 4)
2761
+ random: function(S) {
2762
+ for (var b = [], y = 0; y < S; y += 4)
2763
2763
  b.push(a());
2764
- return new p.init(b, x);
2764
+ return new g.init(b, S);
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(x) {
2781
- for (var b = x.words, y = x.sigBytes, E = [], I = 0; I < y; I++) {
2780
+ stringify: function(S) {
2781
+ for (var b = S.words, y = S.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,12 +2797,12 @@ function ne() {
2797
2797
  *
2798
2798
  * var wordArray = CryptoJS.enc.Hex.parse(hexString);
2799
2799
  */
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
- return new p.init(y, b / 2);
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;
2803
+ return new g.init(y, b / 2);
2804
2804
  }
2805
- }, g = d.Latin1 = {
2805
+ }, p = d.Latin1 = {
2806
2806
  /**
2807
2807
  * Converts a word array to a Latin1 string.
2808
2808
  *
@@ -2816,8 +2816,8 @@ function ne() {
2816
2816
  *
2817
2817
  * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
2818
2818
  */
2819
- stringify: function(x) {
2820
- for (var b = x.words, y = x.sigBytes, E = [], I = 0; I < y; I++) {
2819
+ stringify: function(S) {
2820
+ for (var b = S.words, y = S.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,10 +2836,10 @@ function ne() {
2836
2836
  *
2837
2837
  * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
2838
2838
  */
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
- return new p.init(y, b);
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;
2842
+ return new g.init(y, b);
2843
2843
  }
2844
2844
  }, l = d.Utf8 = {
2845
2845
  /**
@@ -2855,9 +2855,9 @@ function ne() {
2855
2855
  *
2856
2856
  * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
2857
2857
  */
2858
- stringify: function(x) {
2858
+ stringify: function(S) {
2859
2859
  try {
2860
- return decodeURIComponent(escape(g.stringify(x)));
2860
+ return decodeURIComponent(escape(p.stringify(S)));
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(x) {
2879
- return g.parse(unescape(encodeURIComponent(x)));
2878
+ parse: function(S) {
2879
+ return p.parse(unescape(encodeURIComponent(S)));
2880
2880
  }
2881
- }, S = u.BufferedBlockAlgorithm = h.extend({
2881
+ }, x = u.BufferedBlockAlgorithm = h.extend({
2882
2882
  /**
2883
2883
  * Resets this block algorithm's data buffer to its initial state.
2884
2884
  *
@@ -2887,7 +2887,7 @@ function ne() {
2887
2887
  * bufferedBlockAlgorithm.reset();
2888
2888
  */
2889
2889
  reset: function() {
2890
- this._data = new p.init(), this._nDataBytes = 0;
2890
+ this._data = new g.init(), this._nDataBytes = 0;
2891
2891
  },
2892
2892
  /**
2893
2893
  * Adds new data to this block algorithm's buffer.
@@ -2899,8 +2899,8 @@ function ne() {
2899
2899
  * bufferedBlockAlgorithm._append('data');
2900
2900
  * bufferedBlockAlgorithm._append(wordArray);
2901
2901
  */
2902
- _append: function(x) {
2903
- typeof x == "string" && (x = l.parse(x)), this._data.concat(x), this._nDataBytes += x.sigBytes;
2902
+ _append: function(S) {
2903
+ typeof S == "string" && (S = l.parse(S)), this._data.concat(S), this._nDataBytes += S.sigBytes;
2904
2904
  },
2905
2905
  /**
2906
2906
  * Processes available data blocks.
@@ -2916,16 +2916,16 @@ function ne() {
2916
2916
  * var processedData = bufferedBlockAlgorithm._process();
2917
2917
  * var processedData = bufferedBlockAlgorithm._process(!!'flush');
2918
2918
  */
2919
- _process: function(x) {
2919
+ _process: function(S) {
2920
2920
  var b, y = this._data, E = y.words, I = y.sigBytes, A = this.blockSize, C = A * 4, L = I / C;
2921
- x ? L = t.ceil(L) : L = t.max((L | 0) - this._minBufferSize, 0);
2921
+ S ? 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)
2925
2925
  this._doProcessBlock(E, T);
2926
2926
  b = E.splice(0, _), y.sigBytes -= R;
2927
2927
  }
2928
- return new p.init(b, R);
2928
+ return new g.init(b, R);
2929
2929
  },
2930
2930
  /**
2931
2931
  * Creates a copy of this object.
@@ -2937,12 +2937,12 @@ function ne() {
2937
2937
  * var clone = bufferedBlockAlgorithm.clone();
2938
2938
  */
2939
2939
  clone: function() {
2940
- var x = h.clone.call(this);
2941
- return x._data = this._data.clone(), x;
2940
+ var S = h.clone.call(this);
2941
+ return S._data = this._data.clone(), S;
2942
2942
  },
2943
2943
  _minBufferSize: 0
2944
2944
  });
2945
- u.Hasher = S.extend({
2945
+ u.Hasher = x.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(x) {
2960
- this.cfg = this.cfg.extend(x), this.reset();
2959
+ init: function(S) {
2960
+ this.cfg = this.cfg.extend(S), 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
- S.reset.call(this), this._doReset();
2970
+ x.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(x) {
2985
- return this._append(x), this._process(), this;
2984
+ update: function(S) {
2985
+ return this._append(S), 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(x) {
3002
- x && this._append(x);
3001
+ finalize: function(S) {
3002
+ S && this._append(S);
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(x) {
3020
+ _createHelper: function(S) {
3021
3021
  return function(b, y) {
3022
- return new x.init(y).finalize(b);
3022
+ return new S.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(x) {
3038
+ _createHmacHelper: function(S) {
3039
3039
  return function(b, y) {
3040
- return new v.HMAC.init(x, y).finalize(b);
3040
+ return new v.HMAC.init(S, y).finalize(b);
3041
3041
  };
3042
3042
  }
3043
3043
  });
@@ -3253,11 +3253,11 @@ function Ei() {
3253
3253
  * var x32WordArray = x64WordArray.toX32();
3254
3254
  */
3255
3255
  toX32: function() {
3256
- for (var u = this.words, h = u.length, p = [], d = 0; d < h; d++) {
3256
+ for (var u = this.words, h = u.length, g = [], d = 0; d < h; d++) {
3257
3257
  var f = u[d];
3258
- p.push(f.high), p.push(f.low);
3258
+ g.push(f.high), g.push(f.low);
3259
3259
  }
3260
- return c.create(p, this.sigBytes);
3260
+ return c.create(g, this.sigBytes);
3261
3261
  },
3262
3262
  /**
3263
3263
  * Creates a copy of this word array.
@@ -3269,7 +3269,7 @@ function Ei() {
3269
3269
  * var clone = x64WordArray.clone();
3270
3270
  */
3271
3271
  clone: function() {
3272
- for (var u = a.clone.call(this), h = u.words = this.words.slice(0), p = h.length, d = 0; d < p; d++)
3272
+ for (var u = a.clone.call(this), h = u.words = this.words.slice(0), g = h.length, d = 0; d < g; d++)
3273
3273
  h[d] = h[d].clone();
3274
3274
  return u;
3275
3275
  }
@@ -3288,8 +3288,8 @@ function Do() {
3288
3288
  if (typeof ArrayBuffer == "function") {
3289
3289
  var t = e, i = t.lib, s = i.WordArray, a = s.init, c = s.init = function(o) {
3290
3290
  if (o instanceof ArrayBuffer && (o = new Uint8Array(o)), (o instanceof Int8Array || typeof Uint8ClampedArray != "undefined" && o instanceof Uint8ClampedArray || o instanceof Int16Array || o instanceof Uint16Array || o instanceof Int32Array || o instanceof Uint32Array || o instanceof Float32Array || o instanceof Float64Array) && (o = new Uint8Array(o.buffer, o.byteOffset, o.byteLength)), o instanceof Uint8Array) {
3291
- for (var u = o.byteLength, h = [], p = 0; p < u; p++)
3292
- h[p >>> 2] |= o[p] << 24 - p % 4 * 8;
3291
+ for (var u = o.byteLength, h = [], g = 0; g < u; g++)
3292
+ h[g >>> 2] |= o[g] << 24 - g % 4 * 8;
3293
3293
  a.call(this, h, u);
3294
3294
  } else
3295
3295
  a.apply(this, arguments);
@@ -3323,11 +3323,11 @@ function To() {
3323
3323
  * var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
3324
3324
  */
3325
3325
  stringify: function(o) {
3326
- for (var u = o.words, h = o.sigBytes, p = [], d = 0; d < h; d += 2) {
3326
+ for (var u = o.words, h = o.sigBytes, g = [], d = 0; d < h; d += 2) {
3327
3327
  var f = u[d >>> 2] >>> 16 - d % 4 * 8 & 65535;
3328
- p.push(String.fromCharCode(f));
3328
+ g.push(String.fromCharCode(f));
3329
3329
  }
3330
- return p.join("");
3330
+ return g.join("");
3331
3331
  },
3332
3332
  /**
3333
3333
  * Converts a UTF-16 BE string to a word array.
@@ -3343,8 +3343,8 @@ function To() {
3343
3343
  * var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
3344
3344
  */
3345
3345
  parse: function(o) {
3346
- for (var u = o.length, h = [], p = 0; p < u; p++)
3347
- h[p >>> 1] |= o.charCodeAt(p) << 16 - p % 2 * 16;
3346
+ for (var u = o.length, h = [], g = 0; g < u; g++)
3347
+ h[g >>> 1] |= o.charCodeAt(g) << 16 - g % 2 * 16;
3348
3348
  return s.create(h, u * 2);
3349
3349
  }
3350
3350
  }, a.Utf16LE = {
@@ -3362,11 +3362,11 @@ function To() {
3362
3362
  * var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
3363
3363
  */
3364
3364
  stringify: function(o) {
3365
- for (var u = o.words, h = o.sigBytes, p = [], d = 0; d < h; d += 2) {
3365
+ for (var u = o.words, h = o.sigBytes, g = [], d = 0; d < h; d += 2) {
3366
3366
  var f = c(u[d >>> 2] >>> 16 - d % 4 * 8 & 65535);
3367
- p.push(String.fromCharCode(f));
3367
+ g.push(String.fromCharCode(f));
3368
3368
  }
3369
- return p.join("");
3369
+ return g.join("");
3370
3370
  },
3371
3371
  /**
3372
3372
  * Converts a UTF-16 LE string to a word array.
@@ -3382,8 +3382,8 @@ function To() {
3382
3382
  * var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
3383
3383
  */
3384
3384
  parse: function(o) {
3385
- for (var u = o.length, h = [], p = 0; p < u; p++)
3386
- h[p >>> 1] |= c(o.charCodeAt(p) << 16 - p % 2 * 16);
3385
+ for (var u = o.length, h = [], g = 0; g < u; g++)
3386
+ h[g >>> 1] |= c(o.charCodeAt(g) << 16 - g % 2 * 16);
3387
3387
  return s.create(h, u * 2);
3388
3388
  }
3389
3389
  };
@@ -3417,12 +3417,12 @@ function Mt() {
3417
3417
  * var base64String = CryptoJS.enc.Base64.stringify(wordArray);
3418
3418
  */
3419
3419
  stringify: function(o) {
3420
- var u = o.words, h = o.sigBytes, p = this._map;
3420
+ var u = o.words, h = o.sigBytes, g = 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, 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
- var b = p.charAt(64);
3423
+ for (var p = 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 = p << 16 | l << 8 | x, S = 0; S < 4 && f + S * 0.75 < h; S++)
3424
+ d.push(g.charAt(v >>> 6 * (3 - S) & 63));
3425
+ var b = g.charAt(64);
3426
3426
  if (b)
3427
3427
  for (; d.length % 4; )
3428
3428
  d.push(b);
@@ -3442,28 +3442,28 @@ function Mt() {
3442
3442
  * var wordArray = CryptoJS.enc.Base64.parse(base64String);
3443
3443
  */
3444
3444
  parse: function(o) {
3445
- var u = o.length, h = this._map, p = this._reverseMap;
3446
- if (!p) {
3447
- p = this._reverseMap = [];
3445
+ var u = o.length, h = this._map, g = this._reverseMap;
3446
+ if (!g) {
3447
+ g = this._reverseMap = [];
3448
3448
  for (var d = 0; d < h.length; d++)
3449
- p[h.charCodeAt(d)] = d;
3449
+ g[h.charCodeAt(d)] = d;
3450
3450
  }
3451
3451
  var f = h.charAt(64);
3452
3452
  if (f) {
3453
- var g = o.indexOf(f);
3454
- g !== -1 && (u = g);
3453
+ var p = o.indexOf(f);
3454
+ p !== -1 && (u = p);
3455
3455
  }
3456
- return c(o, u, p);
3456
+ return c(o, u, g);
3457
3457
  },
3458
3458
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
3459
3459
  };
3460
3460
  function c(o, u, h) {
3461
- for (var p = [], d = 0, f = 0; f < u; f++)
3461
+ for (var g = [], 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, S = g | l;
3464
- p[d >>> 2] |= S << 24 - d % 4 * 8, d++;
3463
+ var p = h[o.charCodeAt(f - 1)] << f % 4 * 2, l = h[o.charCodeAt(f)] >>> 6 - f % 4 * 2, x = p | l;
3464
+ g[d >>> 2] |= x << 24 - d % 4 * 8, d++;
3465
3465
  }
3466
- return s.create(p, d);
3466
+ return s.create(g, d);
3467
3467
  }
3468
3468
  }(), e.enc.Base64;
3469
3469
  });
@@ -3495,11 +3495,11 @@ function Po() {
3495
3495
  */
3496
3496
  stringify: function(o, u) {
3497
3497
  u === void 0 && (u = !0);
3498
- var h = o.words, p = o.sigBytes, d = u ? this._safe_map : this._map;
3498
+ var h = o.words, g = o.sigBytes, d = u ? this._safe_map : this._map;
3499
3499
  o.clamp();
3500
- for (var f = [], g = 0; g < p; g += 3)
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));
3500
+ for (var f = [], p = 0; p < g; p += 3)
3501
+ for (var l = h[p >>> 2] >>> 24 - p % 4 * 8 & 255, x = h[p + 1 >>> 2] >>> 24 - (p + 1) % 4 * 8 & 255, v = h[p + 2 >>> 2] >>> 24 - (p + 2) % 4 * 8 & 255, S = l << 16 | x << 8 | v, b = 0; b < 4 && p + b * 0.75 < g; b++)
3502
+ f.push(d.charAt(S >>> 6 * (3 - b) & 63));
3503
3503
  var y = d.charAt(64);
3504
3504
  if (y)
3505
3505
  for (; f.length % 4; )
@@ -3523,15 +3523,15 @@ function Po() {
3523
3523
  */
3524
3524
  parse: function(o, u) {
3525
3525
  u === void 0 && (u = !0);
3526
- var h = o.length, p = u ? this._safe_map : this._map, d = this._reverseMap;
3526
+ var h = o.length, g = u ? this._safe_map : this._map, d = this._reverseMap;
3527
3527
  if (!d) {
3528
3528
  d = this._reverseMap = [];
3529
- for (var f = 0; f < p.length; f++)
3530
- d[p.charCodeAt(f)] = f;
3529
+ for (var f = 0; f < g.length; f++)
3530
+ d[g.charCodeAt(f)] = f;
3531
3531
  }
3532
- var g = p.charAt(64);
3533
- if (g) {
3534
- var l = o.indexOf(g);
3532
+ var p = g.charAt(64);
3533
+ if (p) {
3534
+ var l = o.indexOf(p);
3535
3535
  l !== -1 && (h = l);
3536
3536
  }
3537
3537
  return c(o, h, d);
@@ -3540,12 +3540,12 @@ function Po() {
3540
3540
  _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
3541
3541
  };
3542
3542
  function c(o, u, h) {
3543
- for (var p = [], d = 0, f = 0; f < u; f++)
3543
+ for (var g = [], 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, S = g | l;
3546
- p[d >>> 2] |= S << 24 - d % 4 * 8, d++;
3545
+ var p = h[o.charCodeAt(f - 1)] << f % 4 * 2, l = h[o.charCodeAt(f)] >>> 6 - f % 4 * 2, x = p | l;
3546
+ g[d >>> 2] |= x << 24 - d % 4 * 8, d++;
3547
3547
  }
3548
- return s.create(p, d);
3548
+ return s.create(g, d);
3549
3549
  }
3550
3550
  }(), e.enc.Base64url;
3551
3551
  });
@@ -3572,19 +3572,19 @@ function Lt() {
3572
3572
  271733878
3573
3573
  ]);
3574
3574
  },
3575
- _doProcessBlock: function(l, S) {
3575
+ _doProcessBlock: function(l, x) {
3576
3576
  for (var v = 0; v < 16; v++) {
3577
- var x = S + v, b = l[x];
3578
- l[x] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360;
3577
+ var S = x + v, b = l[S];
3578
+ l[S] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360;
3579
3579
  }
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
- 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;
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];
3581
+ P = g(P, N, F, M, E, 7, u[0]), M = g(M, P, N, F, I, 12, u[1]), F = g(F, M, P, N, A, 17, u[2]), N = g(N, F, M, P, C, 22, u[3]), P = g(P, N, F, M, L, 7, u[4]), M = g(M, P, N, F, _, 12, u[5]), F = g(F, M, P, N, R, 17, u[6]), N = g(N, F, M, P, T, 22, u[7]), P = g(P, N, F, M, B, 7, u[8]), M = g(M, P, N, F, $, 12, u[9]), F = g(F, M, P, N, q, 17, u[10]), N = g(N, F, M, P, G, 22, u[11]), P = g(P, N, F, M, ae, 7, u[12]), M = g(M, P, N, F, Q, 12, u[13]), F = g(F, M, P, N, te, 17, u[14]), N = g(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 = p(P, N, F, M, E, 6, u[48]), M = p(M, P, N, F, T, 10, u[49]), F = p(F, M, P, N, te, 15, u[50]), N = p(N, F, M, P, _, 21, u[51]), P = p(P, N, F, M, ae, 6, u[52]), M = p(M, P, N, F, C, 10, u[53]), F = p(F, M, P, N, q, 15, u[54]), N = p(N, F, M, P, I, 21, u[55]), P = p(P, N, F, M, B, 6, u[56]), M = p(M, P, N, F, ee, 10, u[57]), F = p(F, M, P, N, R, 15, u[58]), N = p(N, F, M, P, Q, 21, u[59]), P = p(P, N, F, M, L, 6, u[60]), M = p(M, P, N, F, G, 10, u[61]), F = p(F, M, P, N, A, 15, u[62]), N = p(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, S = l.words, v = this._nDataBytes * 8, x = l.sigBytes * 8;
3585
- S[x >>> 5] |= 128 << 24 - x % 32;
3584
+ var l = this._data, x = l.words, v = this._nDataBytes * 8, S = l.sigBytes * 8;
3585
+ x[S >>> 5] |= 128 << 24 - S % 32;
3586
3586
  var b = t.floor(v / 4294967296), y = v;
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();
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();
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, S, v, x, b, y, E) {
3600
- var I = l + (S & v | ~S & x) + b + E;
3601
- return (I << y | I >>> 32 - y) + S;
3599
+ function g(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;
3602
3602
  }
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;
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;
3606
3606
  }
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;
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;
3610
3610
  }
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;
3611
+ function p(l, x, v, S, b, y, E) {
3612
+ var I = l + (v ^ (x | ~S)) + b + E;
3613
+ return (I << y | I >>> 32 - y) + x;
3614
3614
  }
3615
3615
  i.MD5 = c._createHelper(h), i.HmacMD5 = c._createHmacHelper(h);
3616
3616
  }(Math), e.MD5;
@@ -3634,22 +3634,22 @@ function sn() {
3634
3634
  3285377520
3635
3635
  ]);
3636
3636
  },
3637
- _doProcessBlock: function(h, p) {
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;
3637
+ _doProcessBlock: function(h, g) {
3638
+ for (var d = this._hash.words, f = d[0], p = d[1], l = d[2], x = d[3], v = d[4], S = 0; S < 80; S++) {
3639
+ if (S < 16)
3640
+ o[S] = h[g + S] | 0;
3641
3641
  else {
3642
- var b = o[x - 3] ^ o[x - 8] ^ o[x - 14] ^ o[x - 16];
3643
- o[x] = b << 1 | b >>> 31;
3642
+ var b = o[S - 3] ^ o[S - 8] ^ o[S - 14] ^ o[S - 16];
3643
+ o[S] = b << 1 | b >>> 31;
3644
3644
  }
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;
3645
+ var y = (f << 5 | f >>> 27) + v + o[S];
3646
+ S < 20 ? y += (p & l | ~p & x) + 1518500249 : S < 40 ? y += (p ^ l ^ x) + 1859775393 : S < 60 ? y += (p & l | p & x | l & x) - 1894007588 : y += (p ^ l ^ x) - 899497514, v = x, x = l, l = p << 30 | p >>> 2, p = 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] + S | 0, d[4] = d[4] + v | 0;
3648
+ d[0] = d[0] + f | 0, d[1] = d[1] + p | 0, d[2] = d[2] + l | 0, d[3] = d[3] + x | 0, d[4] = d[4] + v | 0;
3649
3649
  },
3650
3650
  _doFinalize: function() {
3651
- var h = this._data, p = h.words, d = this._nDataBytes * 8, f = h.sigBytes * 8;
3652
- return p[f >>> 5] |= 128 << 24 - f % 32, p[(f + 64 >>> 9 << 4) + 14] = Math.floor(d / 4294967296), p[(f + 64 >>> 9 << 4) + 15] = d, h.sigBytes = p.length * 4, this._process(), this._hash;
3651
+ var h = this._data, g = h.words, d = this._nDataBytes * 8, f = h.sigBytes * 8;
3652
+ return g[f >>> 5] |= 128 << 24 - f % 32, g[(f + 64 >>> 9 << 4) + 14] = Math.floor(d / 4294967296), g[(f + 64 >>> 9 << 4) + 15] = d, h.sigBytes = g.length * 4, this._process(), this._hash;
3653
3653
  },
3654
3654
  clone: function() {
3655
3655
  var h = a.clone.call(this);
@@ -3671,37 +3671,37 @@ 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 x = t.sqrt(v), b = 2; b <= x; b++)
3674
+ for (var S = t.sqrt(v), b = 2; b <= S; b++)
3675
3675
  if (!(v % b))
3676
3676
  return !1;
3677
3677
  return !0;
3678
3678
  }
3679
- function g(v) {
3679
+ function p(v) {
3680
3680
  return (v - (v | 0)) * 4294967296 | 0;
3681
3681
  }
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++;
3682
+ for (var l = 2, x = 0; x < 64; )
3683
+ f(l) && (x < 8 && (u[x] = p(t.pow(l, 1 / 2))), h[x] = p(t.pow(l, 1 / 3)), x++), l++;
3684
3684
  })();
3685
- var p = [], d = o.SHA256 = c.extend({
3685
+ var g = [], d = o.SHA256 = c.extend({
3686
3686
  _doReset: function() {
3687
3687
  this._hash = new a.init(u.slice(0));
3688
3688
  },
3689
- _doProcessBlock: function(f, g) {
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++) {
3689
+ _doProcessBlock: function(f, p) {
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++) {
3691
3691
  if (C < 16)
3692
- p[C] = f[g + C] | 0;
3692
+ g[C] = f[p + C] | 0;
3693
3693
  else {
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
- p[C] = _ + p[C - 7] + T + p[C - 16];
3694
+ var L = g[C - 15], _ = (L << 25 | L >>> 7) ^ (L << 14 | L >>> 18) ^ L >>> 3, R = g[C - 2], T = (R << 15 | R >>> 17) ^ (R << 13 | R >>> 19) ^ R >>> 10;
3695
+ g[C] = _ + g[C - 7] + T + g[C - 16];
3696
3696
  }
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;
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] + g[C], Q = q + $;
3698
+ A = I, I = E, E = y, y = b + ae | 0, b = S, S = v, v = x, x = ae + Q | 0;
3699
3699
  }
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;
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;
3701
3701
  },
3702
3702
  _doFinalize: function() {
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;
3703
+ var f = this._data, p = f.words, l = this._nDataBytes * 8, x = f.sigBytes * 8;
3704
+ return p[x >>> 5] |= 128 << 24 - x % 32, p[(x + 64 >>> 9 << 4) + 14] = t.floor(l / 4294967296), p[(x + 64 >>> 9 << 4) + 15] = l, f.sigBytes = p.length * 4, this._process(), this._hash;
3705
3705
  },
3706
3706
  clone: function() {
3707
3707
  var f = c.clone.call(this);
@@ -3754,7 +3754,7 @@ function an() {
3754
3754
  function h() {
3755
3755
  return c.create.apply(c, arguments);
3756
3756
  }
3757
- var p = [
3757
+ var g = [
3758
3758
  h(1116352408, 3609767458),
3759
3759
  h(1899447441, 602891725),
3760
3760
  h(3049323471, 3964484399),
@@ -3837,8 +3837,8 @@ function an() {
3837
3837
  h(1816402316, 1246189591)
3838
3838
  ], d = [];
3839
3839
  (function() {
3840
- for (var g = 0; g < 80; g++)
3841
- d[g] = h();
3840
+ for (var p = 0; p < 80; p++)
3841
+ d[p] = h();
3842
3842
  })();
3843
3843
  var f = u.SHA512 = s.extend({
3844
3844
  _doReset: function() {
@@ -3853,29 +3853,29 @@ function an() {
3853
3853
  new c.init(1541459225, 327033209)
3854
3854
  ]);
3855
3855
  },
3856
- _doProcessBlock: function(g, l) {
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, Ve = B, ze = $, Ye = q, Ze = G, Se = ae, Pe = Q, nt = te, Et = ee, Nt = P, At = N, Jt = F, _t = M, ke = 0; ke < 80; ke++) {
3856
+ _doProcessBlock: function(p, 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, Ve = B, ze = $, Ye = q, Ze = G, Se = ae, Pe = Q, nt = te, Et = ee, Nt = P, At = N, Jt = F, _t = M, ke = 0; ke < 80; ke++) {
3858
3858
  var Ce, Qe, Ct = d[ke];
3859
3859
  if (ke < 16)
3860
- Qe = Ct.high = g[l + ke * 2] | 0, Ce = Ct.low = g[l + ke * 2 + 1] | 0;
3860
+ Qe = Ct.high = p[l + ke * 2] | 0, Ce = Ct.low = p[l + ke * 2 + 1] | 0;
3861
3861
  else {
3862
3862
  var lt = d[ke - 15], et = lt.high, ot = lt.low, Di = (et >>> 1 | ot << 31) ^ (et >>> 8 | ot << 24) ^ et >>> 7, oi = (ot >>> 1 | et << 31) ^ (ot >>> 8 | et << 24) ^ (ot >>> 7 | et << 25), ci = d[ke - 2], We = ci.high, ft = ci.low, ui = (We >>> 19 | ft << 13) ^ (We << 3 | ft >>> 29) ^ We >>> 6, Gt = (ft >>> 19 | We << 13) ^ (ft << 3 | We >>> 29) ^ (ft >>> 6 | We << 26), ss = d[ke - 7], In = ss.high, Rn = ss.low, as = d[ke - 16], wn = as.high, ns = as.low;
3863
3863
  Ce = oi + Rn, Qe = Di + In + (Ce >>> 0 < oi >>> 0 ? 1 : 0), Ce = Ce + Gt, Qe = Qe + ui + (Ce >>> 0 < Gt >>> 0 ? 1 : 0), Ce = Ce + ns, Qe = Qe + wn + (Ce >>> 0 < ns >>> 0 ? 1 : 0), Ct.high = Qe, Ct.low = Ce;
3864
3864
  }
3865
- var Dn = Se & nt ^ ~Se & Nt, os = Pe & Et ^ ~Pe & At, Tn = J & ue ^ J & Ve ^ ue & Ve, Pn = j & X ^ j & ze ^ X & ze, 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 = (Se >>> 14 | Pe << 18) ^ (Se >>> 18 | Pe << 14) ^ (Se << 23 | Pe >>> 9), Mn = (Pe >>> 14 | Se << 18) ^ (Pe >>> 18 | Se << 14) ^ (Pe << 23 | Se >>> 9), us = p[ke], Ln = us.high, hs = us.low, $e = _t + Mn, pt = Jt + Bn + ($e >>> 0 < _t >>> 0 ? 1 : 0), $e = $e + os, pt = pt + Dn + ($e >>> 0 < os >>> 0 ? 1 : 0), $e = $e + hs, pt = pt + Ln + ($e >>> 0 < hs >>> 0 ? 1 : 0), $e = $e + Ce, pt = pt + Qe + ($e >>> 0 < Ce >>> 0 ? 1 : 0), ds = cs + Pn, Nn = kn + Tn + (ds >>> 0 < cs >>> 0 ? 1 : 0);
3865
+ var Dn = Se & nt ^ ~Se & Nt, os = Pe & Et ^ ~Pe & At, Tn = J & ue ^ J & Ve ^ ue & Ve, Pn = j & X ^ j & ze ^ X & ze, 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 = (Se >>> 14 | Pe << 18) ^ (Se >>> 18 | Pe << 14) ^ (Se << 23 | Pe >>> 9), Mn = (Pe >>> 14 | Se << 18) ^ (Pe >>> 18 | Se << 14) ^ (Pe << 23 | Se >>> 9), us = g[ke], Ln = us.high, hs = us.low, $e = _t + Mn, pt = Jt + Bn + ($e >>> 0 < _t >>> 0 ? 1 : 0), $e = $e + os, pt = pt + Dn + ($e >>> 0 < os >>> 0 ? 1 : 0), $e = $e + hs, pt = pt + Ln + ($e >>> 0 < hs >>> 0 ? 1 : 0), $e = $e + Ce, pt = pt + Qe + ($e >>> 0 < Ce >>> 0 ? 1 : 0), ds = cs + Pn, Nn = kn + Tn + (ds >>> 0 < cs >>> 0 ? 1 : 0);
3866
3866
  Jt = Nt, _t = At, Nt = nt, At = Et, nt = Se, Et = Pe, Pe = Ze + $e | 0, Se = Ye + pt + (Pe >>> 0 < Ze >>> 0 ? 1 : 0) | 0, Ye = Ve, Ze = ze, Ve = ue, ze = X, ue = J, X = j, j = $e + ds | 0, J = pt + Nn + (j >>> 0 < $e >>> 0 ? 1 : 0) | 0;
3867
3867
  }
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 = $ + ze, b.high = B + Ve + ($ >>> 0 < ze >>> 0 ? 1 : 0), G = y.low = G + Ze, y.high = q + Ye + (G >>> 0 < Ze >>> 0 ? 1 : 0), Q = E.low = Q + Pe, E.high = ae + Se + (Q >>> 0 < Pe >>> 0 ? 1 : 0), ee = I.low = ee + Et, I.high = te + nt + (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 = S.low = T + X, S.high = R + ue + (T >>> 0 < X >>> 0 ? 1 : 0), $ = b.low = $ + ze, b.high = B + Ve + ($ >>> 0 < ze >>> 0 ? 1 : 0), G = y.low = G + Ze, y.high = q + Ye + (G >>> 0 < Ze >>> 0 ? 1 : 0), Q = E.low = Q + Pe, E.high = ae + Se + (Q >>> 0 < Pe >>> 0 ? 1 : 0), ee = I.low = ee + Et, I.high = te + nt + (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, 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;
3871
+ var p = this._data, l = p.words, x = this._nDataBytes * 8, v = p.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, p.sigBytes = l.length * 4, this._process();
3873
+ var S = this._hash.toX32();
3874
+ return S;
3875
3875
  },
3876
3876
  clone: function() {
3877
- var g = s.clone.call(this);
3878
- return g._hash = this._hash.clone(), g;
3877
+ var p = s.clone.call(this);
3878
+ return p._hash = this._hash.clone(), p;
3879
3879
  },
3880
3880
  blockSize: 1024 / 32
3881
3881
  });
@@ -3921,16 +3921,16 @@ function Mo() {
3921
3921
  r.exports = t(ne(), Ei());
3922
3922
  })(ie, function(e) {
3923
3923
  return function(t) {
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 = [];
3924
+ var i = e, s = i.lib, a = s.WordArray, c = s.Hasher, o = i.x64, u = o.Word, h = i.algo, g = [], d = [], f = [];
3925
3925
  (function() {
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;
3926
+ for (var x = 1, v = 0, S = 0; S < 24; S++) {
3927
+ g[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;
3930
3930
  }
3931
- for (var S = 0; S < 5; S++)
3931
+ for (var x = 0; x < 5; x++)
3932
3932
  for (var v = 0; v < 5; v++)
3933
- d[S + 5 * v] = v + (2 * S + 3 * v) % 5 * 5;
3933
+ d[x + 5 * v] = v + (2 * x + 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) {
@@ -3942,10 +3942,10 @@ function Mo() {
3942
3942
  f[I] = u.create(A, C);
3943
3943
  }
3944
3944
  })();
3945
- var g = [];
3945
+ var p = [];
3946
3946
  (function() {
3947
- for (var S = 0; S < 25; S++)
3948
- g[S] = u.create();
3947
+ for (var x = 0; x < 25; x++)
3948
+ p[x] = u.create();
3949
3949
  })();
3950
3950
  var l = h.SHA3 = c.extend({
3951
3951
  /**
@@ -3960,53 +3960,53 @@ function Mo() {
3960
3960
  outputLength: 512
3961
3961
  }),
3962
3962
  _doReset: function() {
3963
- for (var S = this._state = [], v = 0; v < 25; v++)
3964
- S[v] = new u.init();
3963
+ for (var x = this._state = [], v = 0; v < 25; v++)
3964
+ x[v] = new u.init();
3965
3965
  this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
3966
3966
  },
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];
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];
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 = x[y];
3971
+ var A = S[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 = x[L + 5 * T];
3977
+ var A = S[L + 5 * T];
3978
3978
  _ ^= A.high, R ^= A.low;
3979
3979
  }
3980
- var B = g[L];
3980
+ var B = p[L];
3981
3981
  B.high = _, B.low = R;
3982
3982
  }
3983
3983
  for (var L = 0; L < 5; L++)
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 = x[L + 5 * T];
3984
+ for (var $ = p[(L + 4) % 5], q = p[(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];
3986
3986
  A.high ^= _, A.low ^= R;
3987
3987
  }
3988
3988
  for (var Q = 1; Q < 25; Q++) {
3989
- var _, R, A = x[Q], te = A.high, ee = A.low, P = p[Q];
3989
+ var _, R, A = S[Q], te = A.high, ee = A.low, P = g[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
- var N = g[d[Q]];
3991
+ var N = p[d[Q]];
3992
3992
  N.high = _, N.low = R;
3993
3993
  }
3994
- var F = g[0], M = x[0];
3994
+ var F = p[0], M = S[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 = x[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 = S[Q], J = p[Q], j = p[(L + 1) % 5 + 5 * T], ue = p[(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 = x[0], X = f[C];
4001
+ var A = S[0], X = f[C];
4002
4002
  A.high ^= X.high, A.low ^= X.low;
4003
4003
  }
4004
4004
  },
4005
4005
  _doFinalize: function() {
4006
- var S = this._data, v = S.words;
4006
+ var x = this._data, v = x.words;
4007
4007
  this._nDataBytes * 8;
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();
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();
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 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;
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;
4020
4020
  }
4021
4021
  });
4022
4022
  i.SHA3 = c._createHelper(l), i.HmacSHA3 = c._createHmacHelper(l);
@@ -4203,7 +4203,7 @@ function Lo() {
4203
4203
  3,
4204
4204
  9,
4205
4205
  11
4206
- ]), p = a.create([
4206
+ ]), g = a.create([
4207
4207
  11,
4208
4208
  14,
4209
4209
  15,
@@ -4365,7 +4365,7 @@ function Lo() {
4365
4365
  13,
4366
4366
  11,
4367
4367
  11
4368
- ]), f = a.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), g = a.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), l = o.RIPEMD160 = c.extend({
4368
+ ]), f = a.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), p = a.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), l = o.RIPEMD160 = c.extend({
4369
4369
  _doReset: function() {
4370
4370
  this._hash = a.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
4371
4371
  },
@@ -4374,10 +4374,10 @@ function Lo() {
4374
4374
  var L = A + C, _ = I[L];
4375
4375
  I[L] = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360;
4376
4376
  }
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;
4377
+ var R = this._hash.words, T = f.words, B = p.words, $ = u.words, q = h.words, G = g.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 += 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;
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;
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 S(I, A, C) {
4397
+ function x(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 x(I, A, C) {
4403
+ function S(I, A, C) {
4404
4404
  return (I | ~A) ^ C;
4405
4405
  }
4406
4406
  function b(I, A, C) {
@@ -4438,11 +4438,11 @@ function Kr() {
4438
4438
  */
4439
4439
  init: function(u, h) {
4440
4440
  u = this._hasher = new u.init(), typeof h == "string" && (h = c.parse(h));
4441
- var p = u.blockSize, d = p * 4;
4441
+ var g = u.blockSize, d = g * 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, S = g.words, v = 0; v < p; v++)
4444
- l[v] ^= 1549556828, S[v] ^= 909522486;
4445
- f.sigBytes = g.sigBytes = d, this.reset();
4443
+ for (var f = this._oKey = h.clone(), p = this._iKey = h.clone(), l = f.words, x = p.words, v = 0; v < g; v++)
4444
+ l[v] ^= 1549556828, x[v] ^= 909522486;
4445
+ f.sigBytes = p.sigBytes = d, this.reset();
4446
4446
  },
4447
4447
  /**
4448
4448
  * Resets this HMAC to its initial state.
@@ -4485,9 +4485,9 @@ function Kr() {
4485
4485
  * var hmac = hmacHasher.finalize(wordArray);
4486
4486
  */
4487
4487
  finalize: function(u) {
4488
- var h = this._hasher, p = h.finalize(u);
4488
+ var h = this._hasher, g = h.finalize(u);
4489
4489
  h.reset();
4490
- var d = h.finalize(this._oKey.clone().concat(p));
4490
+ var d = h.finalize(this._oKey.clone().concat(g));
4491
4491
  return d;
4492
4492
  }
4493
4493
  });
@@ -4526,8 +4526,8 @@ function No() {
4526
4526
  * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });
4527
4527
  * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });
4528
4528
  */
4529
- init: function(p) {
4530
- this.cfg = this.cfg.extend(p);
4529
+ init: function(g) {
4530
+ this.cfg = this.cfg.extend(g);
4531
4531
  },
4532
4532
  /**
4533
4533
  * Computes the Password-Based Key Derivation Function 2.
@@ -4541,22 +4541,22 @@ function No() {
4541
4541
  *
4542
4542
  * var key = kdf.compute(password, salt);
4543
4543
  */
4544
- compute: function(p, d) {
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
- g.reset();
4544
+ compute: function(g, d) {
4545
+ for (var f = this.cfg, p = u.create(f.hasher, g), 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 = p.update(d).finalize(x);
4547
+ p.reset();
4548
4548
  for (var I = E.words, A = I.length, C = E, L = 1; L < y; L++) {
4549
- C = g.finalize(C), g.reset();
4549
+ C = p.finalize(C), p.reset();
4550
4550
  for (var _ = C.words, R = 0; R < A; R++)
4551
4551
  I[R] ^= _[R];
4552
4552
  }
4553
- l.concat(E), x[0]++;
4553
+ l.concat(E), S[0]++;
4554
4554
  }
4555
4555
  return l.sigBytes = b * 4, l;
4556
4556
  }
4557
4557
  });
4558
- t.PBKDF2 = function(p, d, f) {
4559
- return h.create(f).compute(p, d);
4558
+ t.PBKDF2 = function(g, d, f) {
4559
+ return h.create(f).compute(g, d);
4560
4560
  };
4561
4561
  }(), e.PBKDF2;
4562
4562
  });
@@ -4608,18 +4608,18 @@ function yt() {
4608
4608
  *
4609
4609
  * var key = kdf.compute(password, salt);
4610
4610
  */
4611
- compute: function(h, p) {
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
- d && g.update(d), d = g.update(h).finalize(p), g.reset();
4614
- for (var b = 1; b < x; b++)
4615
- d = g.finalize(d), g.reset();
4611
+ compute: function(h, g) {
4612
+ for (var d, f = this.cfg, p = f.hasher.create(), l = a.create(), x = l.words, v = f.keySize, S = f.iterations; x.length < v; ) {
4613
+ d && p.update(d), d = p.update(h).finalize(g), p.reset();
4614
+ for (var b = 1; b < S; b++)
4615
+ d = p.finalize(d), p.reset();
4616
4616
  l.concat(d);
4617
4617
  }
4618
4618
  return l.sigBytes = v * 4, l;
4619
4619
  }
4620
4620
  });
4621
- t.EvpKDF = function(h, p, d) {
4622
- return u.create(d).compute(h, p);
4621
+ t.EvpKDF = function(h, g, d) {
4622
+ return u.create(d).compute(h, g);
4623
4623
  };
4624
4624
  }(), e.EvpKDF;
4625
4625
  });
@@ -4634,7 +4634,7 @@ function Ae() {
4634
4634
  e.lib.Cipher || function(t) {
4635
4635
  var i = e, s = i.lib, a = s.Base, c = s.WordArray, o = s.BufferedBlockAlgorithm, u = i.enc;
4636
4636
  u.Utf8;
4637
- var h = u.Base64, p = i.algo, d = p.EvpKDF, f = s.Cipher = o.extend({
4637
+ var h = u.Base64, g = i.algo, d = g.EvpKDF, f = s.Cipher = o.extend({
4638
4638
  /**
4639
4639
  * Configuration options.
4640
4640
  *
@@ -4773,7 +4773,7 @@ function Ae() {
4773
4773
  },
4774
4774
  blockSize: 1
4775
4775
  });
4776
- var g = i.mode = {}, l = s.BlockCipherMode = a.extend({
4776
+ var p = i.mode = {}, l = s.BlockCipherMode = a.extend({
4777
4777
  /**
4778
4778
  * Creates this mode for encryption.
4779
4779
  *
@@ -4817,7 +4817,7 @@ function Ae() {
4817
4817
  init: function(_, R) {
4818
4818
  this._cipher = _, this._iv = R;
4819
4819
  }
4820
- }), S = g.CBC = function() {
4820
+ }), x = p.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 = {}, x = v.Pkcs7 = {
4860
+ }(), v = i.pad = {}, S = 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: S,
4904
- padding: x
4903
+ mode: x,
4904
+ padding: S
4905
4905
  }),
4906
4906
  reset: function() {
4907
4907
  var _;
@@ -5185,8 +5185,8 @@ function Fo() {
5185
5185
  function i(s, a, c, o) {
5186
5186
  var u, h = this._iv;
5187
5187
  h ? (u = h.slice(0), this._iv = void 0) : u = this._prevBlock, o.encryptBlock(u, 0);
5188
- for (var p = 0; p < c; p++)
5189
- s[a + p] ^= u[p];
5188
+ for (var g = 0; g < c; g++)
5189
+ s[a + g] ^= u[g];
5190
5190
  }
5191
5191
  return t;
5192
5192
  }(), e.mode.CFB;
@@ -5204,10 +5204,10 @@ function Vo() {
5204
5204
  processBlock: function(s, a) {
5205
5205
  var c = this._cipher, o = c.blockSize, u = this._iv, h = this._counter;
5206
5206
  u && (h = this._counter = u.slice(0), this._iv = void 0);
5207
- var p = h.slice(0);
5208
- c.encryptBlock(p, 0), h[o - 1] = h[o - 1] + 1 | 0;
5207
+ var g = h.slice(0);
5208
+ c.encryptBlock(g, 0), h[o - 1] = h[o - 1] + 1 | 0;
5209
5209
  for (var d = 0; d < o; d++)
5210
- s[a + d] ^= p[d];
5210
+ s[a + d] ^= g[d];
5211
5211
  }
5212
5212
  });
5213
5213
  return t.Decryptor = i, t;
@@ -5241,12 +5241,12 @@ function Oo() {
5241
5241
  }
5242
5242
  var a = t.Encryptor = t.extend({
5243
5243
  processBlock: function(c, o) {
5244
- var u = this._cipher, h = u.blockSize, p = this._iv, d = this._counter;
5245
- p && (d = this._counter = p.slice(0), this._iv = void 0), s(d);
5244
+ var u = this._cipher, h = u.blockSize, g = this._iv, d = this._counter;
5245
+ g && (d = this._counter = g.slice(0), this._iv = void 0), s(d);
5246
5246
  var f = d.slice(0);
5247
5247
  u.encryptBlock(f, 0);
5248
- for (var g = 0; g < h; g++)
5249
- c[o + g] ^= f[g];
5248
+ for (var p = 0; p < h; p++)
5249
+ c[o + p] ^= f[p];
5250
5250
  }
5251
5251
  });
5252
5252
  return t.Decryptor = a, t;
@@ -5265,8 +5265,8 @@ function Uo() {
5265
5265
  processBlock: function(s, a) {
5266
5266
  var c = this._cipher, o = c.blockSize, u = this._iv, h = this._keystream;
5267
5267
  u && (h = this._keystream = u.slice(0), this._iv = void 0), c.encryptBlock(h, 0);
5268
- for (var p = 0; p < o; p++)
5269
- s[a + p] ^= h[p];
5268
+ for (var g = 0; g < o; g++)
5269
+ s[a + g] ^= h[g];
5270
5270
  }
5271
5271
  });
5272
5272
  return t.Decryptor = i, t;
@@ -5426,8 +5426,8 @@ function qo() {
5426
5426
  * var cipherParams = CryptoJS.format.Hex.parse(hexString);
5427
5427
  */
5428
5428
  parse: function(h) {
5429
- var p = o.parse(h);
5430
- return a.create({ ciphertext: p });
5429
+ var g = o.parse(h);
5430
+ return a.create({ ciphertext: g });
5431
5431
  }
5432
5432
  };
5433
5433
  }(), e.format.Hex;
@@ -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 = [], S = [];
5444
+ var t = e, i = t.lib, s = i.BlockCipher, a = t.algo, c = [], o = [], u = [], h = [], g = [], d = [], f = [], p = [], l = [], x = [];
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;
@@ -5449,12 +5449,12 @@ function Jo() {
5449
5449
  var A = I ^ I << 1 ^ I << 2 ^ I << 3 ^ I << 4;
5450
5450
  A = A >>> 8 ^ A & 255 ^ 99, c[E] = A, o[A] = E;
5451
5451
  var C = b[E], L = b[C], _ = b[L], R = b[A] * 257 ^ A * 16843008;
5452
- u[E] = R << 24 | R >>> 8, h[E] = R << 16 | R >>> 16, p[E] = R << 8 | R >>> 24, d[E] = R;
5452
+ u[E] = R << 24 | R >>> 8, h[E] = R << 16 | R >>> 16, g[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, S[A] = R, E ? (E = C ^ b[b[b[_ ^ C]]], I ^= b[b[I]]) : E = I = 1;
5454
+ f[A] = R << 24 | R >>> 8, p[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;
5455
5455
  }
5456
5456
  })();
5457
- var v = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], x = a.AES = s.extend({
5457
+ var v = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], S = a.AES = s.extend({
5458
5458
  _doReset: function() {
5459
5459
  var b;
5460
5460
  if (!(this._nRounds && this._keyPriorReset === this._key)) {
@@ -5466,16 +5466,16 @@ 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]] ^ S[c[b & 255]];
5469
+ T < 4 || _ <= 4 ? R[T] = b : R[T] = f[c[b >>> 24]] ^ p[c[b >>> 16 & 255]] ^ l[c[b >>> 8 & 255]] ^ x[c[b & 255]];
5470
5470
  }
5471
5471
  }
5472
5472
  },
5473
5473
  encryptBlock: function(b, y) {
5474
- this._doCryptBlock(b, y, this._keySchedule, u, h, p, d, c);
5474
+ this._doCryptBlock(b, y, this._keySchedule, u, h, g, d, c);
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, S, o);
5478
+ b[y + 1] = b[y + 3], b[y + 3] = E, this._doCryptBlock(b, y, this._invKeySchedule, f, p, l, x, 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(x);
5492
+ t.AES = s._createHelper(S);
5493
5493
  }(), e.AES;
5494
5494
  });
5495
5495
  }(Er)), Er.exports;
@@ -5607,7 +5607,7 @@ function Go() {
5607
5607
  36,
5608
5608
  29,
5609
5609
  32
5610
- ], h = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], p = [
5610
+ ], h = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], g = [
5611
5611
  {
5612
5612
  0: 8421888,
5613
5613
  268435456: 32768,
@@ -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, x = v.words, b = [], y = 0; y < 56; y++) {
6150
+ for (var v = this._key, S = v.words, b = [], y = 0; y < 56; y++) {
6151
6151
  var E = o[y] - 1;
6152
- b[y] = x[E >>> 5] >>> 31 - E % 32 & 1;
6152
+ b[y] = S[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, x) {
6166
- this._doCryptBlock(v, x, this._subKeys);
6165
+ encryptBlock: function(v, S) {
6166
+ this._doCryptBlock(v, S, this._subKeys);
6167
6167
  },
6168
- decryptBlock: function(v, x) {
6169
- this._doCryptBlock(v, x, this._invSubKeys);
6168
+ decryptBlock: function(v, S) {
6169
+ this._doCryptBlock(v, S, this._invSubKeys);
6170
6170
  },
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);
6171
+ _doCryptBlock: function(v, S, b) {
6172
+ this._lBlock = v[S], this._rBlock = v[S + 1], p.call(this, 4, 252645135), p.call(this, 16, 65535), l.call(this, 2, 858993459), l.call(this, 8, 16711935), p.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
- C |= p[L][((A ^ E[L]) & d[L]) >>> 0];
6175
+ C |= g[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[x] = this._lBlock, v[x + 1] = this._rBlock;
6179
+ this._lBlock = this._rBlock, this._rBlock = _, p.call(this, 1, 1431655765), l.call(this, 8, 16711935), l.call(this, 2, 858993459), p.call(this, 16, 65535), p.call(this, 4, 252645135), v[S] = this._lBlock, v[S + 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, x) {
6186
- var b = (this._lBlock >>> v ^ this._rBlock) & x;
6185
+ function p(v, S) {
6186
+ var b = (this._lBlock >>> v ^ this._rBlock) & S;
6187
6187
  this._rBlock ^= b, this._lBlock ^= b << v;
6188
6188
  }
6189
- function l(v, x) {
6190
- var b = (this._rBlock >>> v ^ this._lBlock) & x;
6189
+ function l(v, S) {
6190
+ var b = (this._rBlock >>> v ^ this._lBlock) & S;
6191
6191
  this._lBlock ^= b, this._rBlock ^= b << v;
6192
6192
  }
6193
6193
  t.DES = a._createHelper(f);
6194
- var S = c.TripleDES = a.extend({
6194
+ var x = c.TripleDES = a.extend({
6195
6195
  _doReset: function() {
6196
- var v = this._key, x = v.words;
6197
- if (x.length !== 2 && x.length !== 4 && x.length < 6)
6196
+ var v = this._key, S = v.words;
6197
+ if (S.length !== 2 && S.length !== 4 && S.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 = 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);
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);
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, x) {
6203
- this._des1.encryptBlock(v, x), this._des2.decryptBlock(v, x), this._des3.encryptBlock(v, x);
6202
+ encryptBlock: function(v, S) {
6203
+ this._des1.encryptBlock(v, S), this._des2.decryptBlock(v, S), this._des3.encryptBlock(v, S);
6204
6204
  },
6205
- decryptBlock: function(v, x) {
6206
- this._des3.decryptBlock(v, x), this._des2.encryptBlock(v, x), this._des1.decryptBlock(v, x);
6205
+ decryptBlock: function(v, S) {
6206
+ this._des3.decryptBlock(v, S), this._des2.encryptBlock(v, S), this._des1.decryptBlock(v, S);
6207
6207
  },
6208
6208
  keySize: 192 / 32,
6209
6209
  ivSize: 64 / 32,
6210
6210
  blockSize: 64 / 32
6211
6211
  });
6212
- t.TripleDES = a._createHelper(S);
6212
+ t.TripleDES = a._createHelper(x);
6213
6213
  }(), e.TripleDES;
6214
6214
  });
6215
6215
  }(Ar)), Ar.exports;
@@ -6223,29 +6223,29 @@ function Xo() {
6223
6223
  return function() {
6224
6224
  var t = e, i = t.lib, s = i.StreamCipher, a = t.algo, c = a.RC4 = s.extend({
6225
6225
  _doReset: function() {
6226
- for (var h = this._key, p = h.words, d = h.sigBytes, f = this._S = [], g = 0; g < 256; g++)
6227
- f[g] = g;
6228
- for (var g = 0, l = 0; g < 256; g++) {
6229
- var S = g % d, v = p[S >>> 2] >>> 24 - S % 4 * 8 & 255;
6230
- l = (l + f[g] + v) % 256;
6231
- var x = f[g];
6232
- f[g] = f[l], f[l] = x;
6226
+ for (var h = this._key, g = h.words, d = h.sigBytes, f = this._S = [], p = 0; p < 256; p++)
6227
+ f[p] = p;
6228
+ for (var p = 0, l = 0; p < 256; p++) {
6229
+ var x = p % d, v = g[x >>> 2] >>> 24 - x % 4 * 8 & 255;
6230
+ l = (l + f[p] + v) % 256;
6231
+ var S = f[p];
6232
+ f[p] = f[l], f[l] = S;
6233
6233
  }
6234
6234
  this._i = this._j = 0;
6235
6235
  },
6236
- _doProcessBlock: function(h, p) {
6237
- h[p] ^= o.call(this);
6236
+ _doProcessBlock: function(h, g) {
6237
+ h[g] ^= o.call(this);
6238
6238
  },
6239
6239
  keySize: 256 / 32,
6240
6240
  ivSize: 0
6241
6241
  });
6242
6242
  function o() {
6243
- for (var h = this._S, p = this._i, d = this._j, f = 0, g = 0; g < 4; g++) {
6244
- p = (p + 1) % 256, d = (d + h[p]) % 256;
6245
- var l = h[p];
6246
- h[p] = h[d], h[d] = l, f |= h[(h[p] + h[d]) % 256] << 24 - g * 8;
6243
+ for (var h = this._S, g = this._i, d = this._j, f = 0, p = 0; p < 4; p++) {
6244
+ g = (g + 1) % 256, d = (d + h[g]) % 256;
6245
+ var l = h[g];
6246
+ h[g] = h[d], h[d] = l, f |= h[(h[g] + h[d]) % 256] << 24 - p * 8;
6247
6247
  }
6248
- return this._i = p, this._j = d, f;
6248
+ return this._i = g, this._j = d, f;
6249
6249
  }
6250
6250
  t.RC4 = s._createHelper(c);
6251
6251
  var u = a.RC4Drop = c.extend({
@@ -6277,8 +6277,8 @@ function Yo() {
6277
6277
  return function() {
6278
6278
  var t = e, i = t.lib, s = i.StreamCipher, a = t.algo, c = [], o = [], u = [], h = a.Rabbit = s.extend({
6279
6279
  _doReset: function() {
6280
- for (var d = this._key.words, f = this.cfg.iv, g = 0; g < 4; g++)
6281
- d[g] = (d[g] << 8 | d[g] >>> 24) & 16711935 | (d[g] << 24 | d[g] >>> 8) & 4278255360;
6280
+ for (var d = this._key.words, f = this.cfg.iv, p = 0; p < 4; p++)
6281
+ d[p] = (d[p] << 8 | d[p] >>> 24) & 16711935 | (d[p] << 24 | d[p] >>> 8) & 4278255360;
6282
6282
  var l = this._X = [
6283
6283
  d[0],
6284
6284
  d[3] << 16 | d[2] >>> 16,
@@ -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
- ], S = this._C = [
6291
+ ], x = 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,
@@ -6299,33 +6299,33 @@ function Yo() {
6299
6299
  d[3] & 4294901760 | d[0] & 65535
6300
6300
  ];
6301
6301
  this._b = 0;
6302
- for (var g = 0; g < 4; g++)
6303
- p.call(this);
6304
- for (var g = 0; g < 8; g++)
6305
- S[g] ^= l[g + 4 & 7];
6302
+ for (var p = 0; p < 4; p++)
6303
+ g.call(this);
6304
+ for (var p = 0; p < 8; p++)
6305
+ x[p] ^= l[p + 4 & 7];
6306
6306
  if (f) {
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
- for (var g = 0; g < 4; g++)
6310
- p.call(this);
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;
6309
+ for (var p = 0; p < 4; p++)
6310
+ g.call(this);
6311
6311
  }
6312
6312
  },
6313
6313
  _doProcessBlock: function(d, f) {
6314
- var g = this._X;
6315
- p.call(this), c[0] = g[0] ^ g[5] >>> 16 ^ g[3] << 16, c[1] = g[2] ^ g[7] >>> 16 ^ g[5] << 16, c[2] = g[4] ^ g[1] >>> 16 ^ g[7] << 16, c[3] = g[6] ^ g[3] >>> 16 ^ g[1] << 16;
6314
+ var p = this._X;
6315
+ g.call(this), c[0] = p[0] ^ p[5] >>> 16 ^ p[3] << 16, c[1] = p[2] ^ p[7] >>> 16 ^ p[5] << 16, c[2] = p[4] ^ p[1] >>> 16 ^ p[7] << 16, c[3] = p[6] ^ p[3] >>> 16 ^ p[1] << 16;
6316
6316
  for (var l = 0; l < 4; l++)
6317
6317
  c[l] = (c[l] << 8 | c[l] >>> 24) & 16711935 | (c[l] << 24 | c[l] >>> 8) & 4278255360, d[f + l] ^= c[l];
6318
6318
  },
6319
6319
  blockSize: 128 / 32,
6320
6320
  ivSize: 64 / 32
6321
6321
  });
6322
- function p() {
6323
- for (var d = this._X, f = this._C, g = 0; g < 8; g++)
6324
- o[g] = f[g];
6322
+ function g() {
6323
+ for (var d = this._X, f = this._C, p = 0; p < 8; p++)
6324
+ o[p] = f[p];
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
- for (var g = 0; g < 8; g++) {
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;
6326
+ for (var p = 0; p < 8; p++) {
6327
+ var l = d[p] + f[p], 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[p] = S ^ 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
  }
@@ -6343,7 +6343,7 @@ function Zo() {
6343
6343
  return function() {
6344
6344
  var t = e, i = t.lib, s = i.StreamCipher, a = t.algo, c = [], o = [], u = [], h = a.RabbitLegacy = s.extend({
6345
6345
  _doReset: function() {
6346
- var d = this._key.words, f = this.cfg.iv, g = this._X = [
6346
+ var d = this._key.words, f = this.cfg.iv, p = this._X = [
6347
6347
  d[0],
6348
6348
  d[3] << 16 | d[2] >>> 16,
6349
6349
  d[1],
@@ -6363,33 +6363,33 @@ function Zo() {
6363
6363
  d[3] & 4294901760 | d[0] & 65535
6364
6364
  ];
6365
6365
  this._b = 0;
6366
- for (var S = 0; S < 4; S++)
6367
- p.call(this);
6368
- for (var S = 0; S < 8; S++)
6369
- l[S] ^= g[S + 4 & 7];
6366
+ for (var x = 0; x < 4; x++)
6367
+ g.call(this);
6368
+ for (var x = 0; x < 8; x++)
6369
+ l[x] ^= p[x + 4 & 7];
6370
6370
  if (f) {
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;
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;
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 S = 0; S < 4; S++)
6374
- p.call(this);
6373
+ for (var x = 0; x < 4; x++)
6374
+ g.call(this);
6375
6375
  }
6376
6376
  },
6377
6377
  _doProcessBlock: function(d, f) {
6378
- var g = this._X;
6379
- p.call(this), c[0] = g[0] ^ g[5] >>> 16 ^ g[3] << 16, c[1] = g[2] ^ g[7] >>> 16 ^ g[5] << 16, c[2] = g[4] ^ g[1] >>> 16 ^ g[7] << 16, c[3] = g[6] ^ g[3] >>> 16 ^ g[1] << 16;
6378
+ var p = this._X;
6379
+ g.call(this), c[0] = p[0] ^ p[5] >>> 16 ^ p[3] << 16, c[1] = p[2] ^ p[7] >>> 16 ^ p[5] << 16, c[2] = p[4] ^ p[1] >>> 16 ^ p[7] << 16, c[3] = p[6] ^ p[3] >>> 16 ^ p[1] << 16;
6380
6380
  for (var l = 0; l < 4; l++)
6381
6381
  c[l] = (c[l] << 8 | c[l] >>> 24) & 16711935 | (c[l] << 24 | c[l] >>> 8) & 4278255360, d[f + l] ^= c[l];
6382
6382
  },
6383
6383
  blockSize: 128 / 32,
6384
6384
  ivSize: 64 / 32
6385
6385
  });
6386
- function p() {
6387
- for (var d = this._X, f = this._C, g = 0; g < 8; g++)
6388
- o[g] = f[g];
6386
+ function g() {
6387
+ for (var d = this._X, f = this._C, p = 0; p < 8; p++)
6388
+ o[p] = f[p];
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
- for (var g = 0; g < 8; g++) {
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;
6390
+ for (var p = 0; p < 8; p++) {
6391
+ var l = d[p] + f[p], 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[p] = S ^ 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(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;
7466
+ function g(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;
7469
7469
  }
7470
- function d(S, v, x) {
7471
- let b = v, y = x, E;
7470
+ function d(x, v, S) {
7471
+ let b = v, y = S, E;
7472
7472
  for (let I = 0; I < c; ++I)
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 };
7473
+ b = b ^ x.pbox[I], y = g(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 };
7475
7475
  }
7476
- function f(S, v, x) {
7477
- let b = v, y = x, E;
7476
+ function f(x, v, S) {
7477
+ let b = v, y = S, E;
7478
7478
  for (let I = c + 1; I > 1; --I)
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 };
7479
+ b = b ^ x.pbox[I], y = g(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 };
7481
7481
  }
7482
- function g(S, v, x) {
7482
+ function p(x, v, S) {
7483
7483
  for (let A = 0; A < 4; A++) {
7484
- S.sbox[A] = [];
7484
+ x.sbox[A] = [];
7485
7485
  for (let C = 0; C < 256; C++)
7486
- S.sbox[A][C] = u[A][C];
7486
+ x.sbox[A][C] = u[A][C];
7487
7487
  }
7488
7488
  let b = 0;
7489
7489
  for (let A = 0; A < c + 2; A++)
7490
- S.pbox[A] = o[A] ^ v[b], b++, b >= x && (b = 0);
7490
+ x.pbox[A] = o[A] ^ v[b], b++, b >= S && (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(S, y, E), y = I.left, E = I.right, S.pbox[A] = y, S.pbox[A + 1] = E;
7493
+ I = d(x, y, E), y = I.left, E = I.right, x.pbox[A] = y, x.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(S, y, E), y = I.left, E = I.right, S.sbox[A][C] = y, S.sbox[A][C + 1] = E;
7496
+ I = d(x, y, E), y = I.left, E = I.right, x.sbox[A][C] = y, x.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 S = this._keyPriorReset = this._key, v = S.words, x = S.sigBytes / 4;
7503
- g(h, v, x);
7502
+ var x = this._keyPriorReset = this._key, v = x.words, S = x.sigBytes / 4;
7503
+ p(h, v, S);
7504
7504
  }
7505
7505
  },
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;
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;
7509
7509
  },
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;
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;
7513
7513
  },
7514
7514
  blockSize: 64 / 32,
7515
7515
  keySize: 128 / 32,
@@ -7540,17 +7540,17 @@ function i0(r, n, e, t, i, s, a, c) {
7540
7540
  ` + ((o = s.get("Content-Type")) != null ? o : "") + `
7541
7541
  ` + c + `
7542
7542
  `;
7543
- const h = (g, l) => g[0].localeCompare(l[0]), p = (g) => g[0].startsWith("x-log-") || g[0].startsWith("x-acs-");
7543
+ const h = (p, l) => p[0].localeCompare(l[0]), g = (p) => p[0].startsWith("x-log-") || p[0].startsWith("x-acs-");
7544
7544
  try {
7545
- const g = [...s.entries()].filter(p).sort(h).map((l) => l[0] + ":" + l[1] + `
7545
+ const p = [...s.entries()].filter(g).sort(h).map((l) => l[0] + ":" + l[1] + `
7546
7546
  `).join("");
7547
- u += g;
7548
- } catch (g) {
7547
+ u += p;
7548
+ } catch (p) {
7549
7549
  }
7550
7550
  u += n, i.size > 0 && (u += "?");
7551
7551
  try {
7552
- u += [...i.entries()].sort(h).map((g) => g[0] + "=" + g[1]).join("&");
7553
- } catch (g) {
7552
+ u += [...i.entries()].sort(h).map((p) => p[0] + "=" + p[1]).join("&");
7553
+ } catch (p) {
7554
7554
  }
7555
7555
  const d = ri.HmacSHA1(u, t).toString(ri.enc.Base64), f = "LOG " + e + ":" + d;
7556
7556
  return s.set("Authorization", f), s.set("x-log-date", c), f;
@@ -7653,17 +7653,17 @@ function Jr(r, n, e, t) {
7653
7653
  return r[s() + "FullYear"]();
7654
7654
  }, h = function() {
7655
7655
  return r[s() + "Hours"]();
7656
- }, p = function() {
7656
+ }, g = function() {
7657
7657
  return r[s() + "Minutes"]();
7658
7658
  }, d = function() {
7659
7659
  return r[s() + "Seconds"]();
7660
7660
  }, f = function() {
7661
7661
  return r[s() + "Milliseconds"]();
7662
- }, g = function() {
7662
+ }, p = function() {
7663
7663
  return e ? 0 : r.getTimezoneOffset();
7664
7664
  }, l = function() {
7665
7665
  return u0(r);
7666
- }, S = function() {
7666
+ }, x = function() {
7667
7667
  return h0(r);
7668
7668
  }, v = { d: function() {
7669
7669
  return a();
@@ -7698,9 +7698,9 @@ function Jr(r, n, e, t) {
7698
7698
  }, HH: function() {
7699
7699
  return Ke(h());
7700
7700
  }, M: function() {
7701
- return p();
7701
+ return g();
7702
7702
  }, MM: function() {
7703
- return Ke(p());
7703
+ return Ke(g());
7704
7704
  }, s: function() {
7705
7705
  return d();
7706
7706
  }, ss: function() {
@@ -7720,9 +7720,9 @@ function Jr(r, n, e, t) {
7720
7720
  }, Z: function() {
7721
7721
  return t ? "GMT" : e ? "UTC" : d0(r);
7722
7722
  }, o: function() {
7723
- return (g() > 0 ? "-" : "+") + Ke(Math.floor(Math.abs(g()) / 60) * 100 + Math.abs(g()) % 60, 4);
7723
+ return (p() > 0 ? "-" : "+") + Ke(Math.floor(Math.abs(p()) / 60) * 100 + Math.abs(p()) % 60, 4);
7724
7724
  }, p: function() {
7725
- return (g() > 0 ? "-" : "+") + Ke(Math.floor(Math.abs(g()) / 60), 2) + ":" + Ke(Math.floor(Math.abs(g()) % 60), 2);
7725
+ return (p() > 0 ? "-" : "+") + Ke(Math.floor(Math.abs(p()) / 60), 2) + ":" + Ke(Math.floor(Math.abs(p()) % 60), 2);
7726
7726
  }, S: function() {
7727
7727
  return ["th", "st", "nd", "rd"][a() % 10 > 3 ? 0 : (a() % 100 - a() % 10 != 10) * a() % 10];
7728
7728
  }, W: function() {
@@ -7730,10 +7730,10 @@ function Jr(r, n, e, t) {
7730
7730
  }, WW: function() {
7731
7731
  return Ke(l());
7732
7732
  }, N: function() {
7733
- return S();
7733
+ return x();
7734
7734
  } };
7735
- return n.replace(n0, function(x) {
7736
- return x in v ? v[x]() : x.slice(1, x.length - 1);
7735
+ return n.replace(n0, function(S) {
7736
+ return S in v ? v[S]() : S.slice(1, S.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" }, Oe = { 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"] }, Ke = function(n) {
@@ -7742,28 +7742,28 @@ var Ta = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", paddedShort
7742
7742
  }, Pa = function(n) {
7743
7743
  var e = n.y, t = n.m, i = n.d, s = n._, a = n.dayName, c = n.short, o = c === void 0 ? !1 : c, u = /* @__PURE__ */ new Date(), h = /* @__PURE__ */ new Date();
7744
7744
  h.setDate(h[s + "Date"]() - 1);
7745
- var p = /* @__PURE__ */ new Date();
7746
- p.setDate(p[s + "Date"]() + 1);
7745
+ var g = /* @__PURE__ */ new Date();
7746
+ g.setDate(g[s + "Date"]() + 1);
7747
7747
  var d = function() {
7748
7748
  return u[s + "Date"]();
7749
7749
  }, f = function() {
7750
7750
  return u[s + "Month"]();
7751
- }, g = function() {
7751
+ }, p = function() {
7752
7752
  return u[s + "FullYear"]();
7753
7753
  }, l = function() {
7754
7754
  return h[s + "Date"]();
7755
- }, S = function() {
7755
+ }, x = function() {
7756
7756
  return h[s + "Month"]();
7757
7757
  }, v = function() {
7758
7758
  return h[s + "FullYear"]();
7759
- }, x = function() {
7760
- return p[s + "Date"]();
7759
+ }, S = function() {
7760
+ return g[s + "Date"]();
7761
7761
  }, b = function() {
7762
- return p[s + "Month"]();
7762
+ return g[s + "Month"]();
7763
7763
  }, y = function() {
7764
- return p[s + "FullYear"]();
7764
+ return g[s + "FullYear"]();
7765
7765
  };
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;
7766
+ return p() === 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;
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);
@@ -8468,17 +8468,17 @@ class Br {
8468
8468
  c.taskProfile && (a.taskprofile = C0[c.taskProfile]);
8469
8469
  const o = c.encodeParam || new fn(1280, 720);
8470
8470
  let u = o.videoWidth, h = o.videoHeight;
8471
- const p = {};
8471
+ const g = {};
8472
8472
  Object.keys(o).forEach((f) => {
8473
- const g = o[f];
8474
- g > 0 && (p[f.toLowerCase()] = g);
8475
- }), p.lowbitratehighquality = 0, a.encodeparam = p, a.backgrounds = c.backgrounds.map((f) => f.toJson(u, h)), a.watermarks = c.watermarks.map((f) => f.toJson(u, h)), a.clockwidgets = c.clockWidgets.map((f) => f.toJson(u, h));
8473
+ const p = o[f];
8474
+ p > 0 && (g[f.toLowerCase()] = p);
8475
+ }), g.lowbitratehighquality = 0, a.encodeparam = g, a.backgrounds = c.backgrounds.map((f) => f.toJson(u, h)), a.watermarks = c.watermarks.map((f) => f.toJson(u, h)), a.clockwidgets = c.clockWidgets.map((f) => f.toJson(u, h));
8476
8476
  const d = c.users.map((f) => f.userId);
8477
8477
  a.subspecusers = [...new Set(d)], a.layouts = [
8478
8478
  {
8479
8479
  audiomixcount: c.users.length,
8480
8480
  panes: c.users.map(
8481
- (f, g) => f.toJson(g, u, h, c.mediaProcessMode)
8481
+ (f, p) => f.toJson(p, u, h, c.mediaProcessMode)
8482
8482
  )
8483
8483
  }
8484
8484
  ], a.layoutids = ["0"], a.cropmode = c.cropMode, a.backgroundcolor = Zr(c.backgroundColor), a.taskmode = c.mediaProcessMode;
@@ -8843,10 +8843,10 @@ const w0 = 3e4, qe = class qe extends we {
8843
8843
  s.data.users = [], s.data.l1ip = t, i.subscribe.signal = this.wsClient.connectUrl;
8844
8844
  const { tracks: a, resume: c } = i;
8845
8845
  a.forEach((u) => {
8846
- const { codec: h, ssrc: p } = u;
8846
+ const { codec: h, ssrc: g } = u;
8847
8847
  u.userdata = JSON.stringify({
8848
8848
  codec: h
8849
- }), u.ssrc = `${p}`, c && (u.attr = {
8849
+ }), u.ssrc = `${g}`, c && (u.attr = {
8850
8850
  reason: "reconnect"
8851
8851
  });
8852
8852
  }), s.data.users.push(i), this.sendPackage(s);
@@ -9123,8 +9123,8 @@ let Lr = qe;
9123
9123
  const D = (r, n) => (e, t, i) => {
9124
9124
  const s = i.value;
9125
9125
  return i.value = function(...a) {
9126
- var p;
9127
- const c = `[${((p = e.constructor) == null ? void 0 : p.logName) || ""}]`, o = Date.now();
9126
+ var g;
9127
+ const c = `[${((g = e.constructor) == null ? void 0 : g.logName) || ""}]`, o = Date.now();
9128
9128
  let u = [];
9129
9129
  if (r)
9130
9130
  try {
@@ -9134,13 +9134,13 @@ const D = (r, n) => (e, t, i) => {
9134
9134
  O.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 S;
9137
+ var x;
9138
9138
  let f = "";
9139
- const g = d instanceof Error, l = g && ((S = e.constructor) == null ? void 0 : S.logError);
9140
- if (!(!n && !g)) {
9139
+ const p = d instanceof Error, l = p && ((x = e.constructor) == null ? void 0 : x.logError);
9140
+ if (!(!n && !p)) {
9141
9141
  if (l)
9142
9142
  f = d;
9143
- else if (g)
9143
+ else if (p)
9144
9144
  f = d.message || "";
9145
9145
  else if (n)
9146
9146
  if (d === void 0)
@@ -9155,7 +9155,7 @@ const D = (r, n) => (e, t, i) => {
9155
9155
  O.interfaceResult(
9156
9156
  c,
9157
9157
  t,
9158
- !(g && l),
9158
+ !(p && l),
9159
9159
  `${Date.now() - o}ms`,
9160
9160
  f
9161
9161
  );
@@ -9215,9 +9215,9 @@ const Ci = (Be = class extends we {
9215
9215
  this.slsReporter,
9216
9216
  i
9217
9217
  ), this.initMessageCenter(), this.messageCenter.once("onJoinChannelResult", (u) => {
9218
- var h, p, d;
9218
+ var h, g, d;
9219
9219
  if (O.info(`[${Be.logName}]`, "join result: ", u), c.taskretrynum = ((h = this.messageCenter) == null ? void 0 : h.retryCount) || 0, u.code == 200) {
9220
- (p = this.messageCenter) == null || p.sendPkgCache(), (d = this.messageCenter) == null || d.startKeepAlive();
9220
+ (g = this.messageCenter) == null || g.sendPkgCache(), (d = this.messageCenter) == null || d.startKeepAlive();
9221
9221
  let f = u.data;
9222
9222
  f.tid = u.tid, f.users = u.data.users, f.timestamp = u.timestamp, c.est && (c.joinconnecttc = Date.now() - c.est), this.slsReporter.reportJoinConnection(c), s(f);
9223
9223
  } else
@@ -9324,29 +9324,29 @@ const Ci = (Be = class extends we {
9324
9324
  * 初始化MessageCenter,增加事件监听
9325
9325
  */
9326
9326
  initMessageCenter() {
9327
- var e, t, i, s, a, c, o, u, h, p, d, f;
9327
+ var e, t, i, s, a, c, o, u, h, g, d, f;
9328
9328
  (e = this.messageCenter) == null || e.on("onKeepAliveRsp", () => {
9329
9329
  this.emit("onKeepAliveRsp");
9330
- }), (t = this.messageCenter) == null || t.on("onNotifyJoin", (g) => {
9331
- this.emit("onNotifyJoin", g);
9332
- }), (i = this.messageCenter) == null || i.on("onNotifyStatus", (g) => {
9333
- this.emit("onNotifyStatus", g);
9334
- }), (s = this.messageCenter) == null || s.on("onNotifyLeave", (g) => {
9335
- this.emit("onNotifyLeave", g);
9336
- }), (a = this.messageCenter) == null || a.on("onNotifyPublish", (g) => {
9337
- this.emit("onNotifyPublish", g);
9338
- }), (c = this.messageCenter) == null || c.on("onBye", (g, l) => {
9339
- this.emit("onBye", g, l);
9330
+ }), (t = this.messageCenter) == null || t.on("onNotifyJoin", (p) => {
9331
+ this.emit("onNotifyJoin", p);
9332
+ }), (i = this.messageCenter) == null || i.on("onNotifyStatus", (p) => {
9333
+ this.emit("onNotifyStatus", p);
9334
+ }), (s = this.messageCenter) == null || s.on("onNotifyLeave", (p) => {
9335
+ this.emit("onNotifyLeave", p);
9336
+ }), (a = this.messageCenter) == null || a.on("onNotifyPublish", (p) => {
9337
+ this.emit("onNotifyPublish", p);
9338
+ }), (c = this.messageCenter) == null || c.on("onBye", (p, l) => {
9339
+ this.emit("onBye", p, l);
9340
9340
  }), (o = this.messageCenter) == null || o.on("onReconnectStart", () => {
9341
9341
  this.emit("onReconnectStart");
9342
- }), (u = this.messageCenter) == null || u.on("onReconnectSuccess", (g) => {
9343
- this.emit("onReconnectSuccess", g);
9344
- }), (h = this.messageCenter) == null || h.on("onReconnectFail", (g) => {
9345
- this.emit("onReconnectFail", g);
9346
- }), (p = this.messageCenter) == null || p.on("onConnectFail", (g) => {
9347
- this.emit("onConnectFail", g), this.reset();
9348
- }), (d = this.messageCenter) == null || d.on("onNetworkError", (g) => {
9349
- this.emit("onNetworkError", g);
9342
+ }), (u = this.messageCenter) == null || u.on("onReconnectSuccess", (p) => {
9343
+ this.emit("onReconnectSuccess", p);
9344
+ }), (h = this.messageCenter) == null || h.on("onReconnectFail", (p) => {
9345
+ this.emit("onReconnectFail", p);
9346
+ }), (g = this.messageCenter) == null || g.on("onConnectFail", (p) => {
9347
+ this.emit("onConnectFail", p), this.reset();
9348
+ }), (d = this.messageCenter) == null || d.on("onNetworkError", (p) => {
9349
+ this.emit("onNetworkError", p);
9350
9350
  }), (f = this.messageCenter) == null || f.on("onAuthInvalid", () => {
9351
9351
  this.emit("onAuthInvalid");
9352
9352
  });
@@ -9380,12 +9380,12 @@ const k0 = "https://pgw.rtn.aliyuncs.com", B0 = "https://gw.rtn.aliyuncs.com", F
9380
9380
  const { appId: e, channelId: t, userId: i, nonce: s = "", token: a, timestamp: c, sessionId: o, role: u } = this.authInfo;
9381
9381
  let h = B0;
9382
9382
  this.env === dt.pre && (h = k0);
9383
- const p = `${h}/gslb/v1/stsupdate?appid=${e}&channelid=${t}&userid=${i}&nonce=${s}&token=${a}&timestamp=${c}&session=${o}${u ? `&tokenrole=${u}` : ""}&slstoken=true&osstoken=true&tokensid=false`, d = Date.now();
9384
- fetch(p).then((f) => f.json()).then((f) => {
9385
- var g, l;
9383
+ const g = `${h}/gslb/v1/stsupdate?appid=${e}&channelid=${t}&userid=${i}&nonce=${s}&token=${a}&timestamp=${c}&session=${o}${u ? `&tokenrole=${u}` : ""}&slstoken=true&osstoken=true&tokensid=false`, d = Date.now();
9384
+ fetch(g).then((f) => f.json()).then((f) => {
9385
+ var p, l;
9386
9386
  if (f.code === 0) {
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), O.event(`[${ti.logName}]`, "getToken", S, v);
9387
+ const x = (p = f.data) == null ? void 0 : p.oss, v = (l = f.data) == null ? void 0 : l.sls;
9388
+ this.expiration = x.expiration || v.expiration, this.emit("onTokenUpdate", x, v), O.event(`[${ti.logName}]`, "getToken", x, v);
9389
9389
  } else
9390
9390
  throw new Error();
9391
9391
  this.slsReporter.reportSTSResult(200, d);
@@ -9541,8 +9541,8 @@ class ts extends we {
9541
9541
  * 监听业务信令相关的事件
9542
9542
  */
9543
9543
  initSignaling() {
9544
- var e, t, i, s, a, c, o, u, h, p, d, f, g;
9545
- (e = this.signaling) == null || e.on("onKeepAliveRsp", this.onKeepAliveRsp.bind(this)), (t = this.signaling) == null || t.on("onNotifyJoin", this.onNotifyJoin.bind(this)), (i = this.signaling) == null || i.on("onNotifyStatus", this.onNotifyStatus.bind(this)), (s = this.signaling) == null || s.on("onNotifyLeave", this.onNotifyLeave.bind(this)), (a = this.signaling) == null || a.on("onNotifyPublish", this.onNotifyPublish.bind(this)), (c = this.signaling) == null || c.on("onBye", this.onBye.bind(this)), (o = this.signaling) == null || o.on("onReconnectStart", this.onReconnectStart.bind(this)), (u = this.signaling) == null || u.on("onReconnectSuccess", this.onReconnectSuccess.bind(this)), (h = this.signaling) == null || h.on("onReconnectFail", this.onReconnectFail.bind(this)), (p = this.signaling) == null || p.on("onConnectFail", this.onConnectFail.bind(this)), (d = this.signaling) == null || d.on("onNetworkError", this.onNetworkError.bind(this)), (f = this.signaling) == null || f.on("onAuthInvalid", this.onAuthInvalid.bind(this)), (g = this.signaling) == null || g.on("onError", this.onError.bind(this));
9544
+ var e, t, i, s, a, c, o, u, h, g, d, f, p;
9545
+ (e = this.signaling) == null || e.on("onKeepAliveRsp", this.onKeepAliveRsp.bind(this)), (t = this.signaling) == null || t.on("onNotifyJoin", this.onNotifyJoin.bind(this)), (i = this.signaling) == null || i.on("onNotifyStatus", this.onNotifyStatus.bind(this)), (s = this.signaling) == null || s.on("onNotifyLeave", this.onNotifyLeave.bind(this)), (a = this.signaling) == null || a.on("onNotifyPublish", this.onNotifyPublish.bind(this)), (c = this.signaling) == null || c.on("onBye", this.onBye.bind(this)), (o = this.signaling) == null || o.on("onReconnectStart", this.onReconnectStart.bind(this)), (u = this.signaling) == null || u.on("onReconnectSuccess", this.onReconnectSuccess.bind(this)), (h = this.signaling) == null || h.on("onReconnectFail", this.onReconnectFail.bind(this)), (g = this.signaling) == null || g.on("onConnectFail", this.onConnectFail.bind(this)), (d = this.signaling) == null || d.on("onNetworkError", this.onNetworkError.bind(this)), (f = this.signaling) == null || f.on("onAuthInvalid", this.onAuthInvalid.bind(this)), (p = this.signaling) == null || p.on("onError", this.onError.bind(this));
9546
9546
  }
9547
9547
  /**
9548
9548
  * 收到心跳消息
@@ -9653,16 +9653,16 @@ function V0(r, n, e, t, i) {
9653
9653
  n.connect(o), o.connect(e);
9654
9654
  const h = () => {
9655
9655
  c && window.clearInterval(c);
9656
- }, p = () => {
9656
+ }, g = () => {
9657
9657
  c = window.setInterval(() => {
9658
9658
  o.getByteFrequencyData(u);
9659
- let d = Math.round(u.reduce((f, g) => f + g) / u.length);
9659
+ let d = Math.round(u.reduce((f, p) => f + p) / u.length);
9660
9660
  d = Math.min(100, d), a = d, i && i(d);
9661
9661
  }, s);
9662
9662
  };
9663
- return p(), {
9663
+ return g(), {
9664
9664
  updateInterval: (d) => {
9665
- h(), s = d, p();
9665
+ h(), s = d, g();
9666
9666
  },
9667
9667
  getLevel: () => a,
9668
9668
  dispose: () => {
@@ -10147,16 +10147,16 @@ const ge = (ht = class extends pn {
10147
10147
  this.onTrackEnd(u);
10148
10148
  }), this.streamManager.on("publishupdate", () => {
10149
10149
  this.publishUpdate();
10150
- }), this.audioPubState = new Xt(), this.audioPubState.on("change", (u, h, p) => {
10151
- this.emit("audioPublishStateChanged", u, h, p);
10152
- }), this.videoPubState = new Xt(), this.videoPubState.on("change", (u, h, p) => {
10153
- this.emit("videoPublishStateChanged", u, h, p);
10154
- }), this.videoSmallPubState = new Xt(), this.videoSmallPubState.on("change", (u, h, p) => {
10155
- this.emit("dualStreamPublishStateChanged", u, h, p);
10156
- }), this.screenPubState = new Xt(), this.screenPubState.on("change", (u, h, p) => {
10157
- this.emit("screenPublishStateChanged", u, h, p);
10158
- }), this.dataPubState = new Xt(), this.dataPubState.on("change", (u, h, p) => {
10159
- this.emit("dataPublishStateChanged", u, h, p);
10150
+ }), this.audioPubState = new Xt(), this.audioPubState.on("change", (u, h, g) => {
10151
+ this.emit("audioPublishStateChanged", u, h, g);
10152
+ }), this.videoPubState = new Xt(), this.videoPubState.on("change", (u, h, g) => {
10153
+ this.emit("videoPublishStateChanged", u, h, g);
10154
+ }), this.videoSmallPubState = new Xt(), this.videoSmallPubState.on("change", (u, h, g) => {
10155
+ this.emit("dualStreamPublishStateChanged", u, h, g);
10156
+ }), this.screenPubState = new Xt(), this.screenPubState.on("change", (u, h, g) => {
10157
+ this.emit("screenPublishStateChanged", u, h, g);
10158
+ }), this.dataPubState = new Xt(), this.dataPubState.on("change", (u, h, g) => {
10159
+ this.emit("dataPublishStateChanged", u, h, g);
10160
10160
  }), this.startStreamMonitor();
10161
10161
  }
10162
10162
  get joined() {
@@ -10569,13 +10569,13 @@ const ge = (ht = class extends pn {
10569
10569
  try {
10570
10570
  const h = (/* @__PURE__ */ new Date()).getTime();
10571
10571
  s && this.audioPubState.setState(Z.AliRtcStatePublishing), a && this.videoPubState.setState(Z.AliRtcStatePublishing), c && this.videoSmallPubState.setState(Z.AliRtcStatePublishing), o && this.screenPubState.setState(Z.AliRtcStatePublishing), this.publishPromise = this.rtsManager.publish(this.url, this.callId, e, t);
10572
- const { traceId: p, l1ip: d } = yield this.publishPromise;
10573
- if (this._isPublishing = !0, this.streamTracks = this.rtsManager.publishingTracks, this.traceId = p, (u = this.parameter.data) != null && u.enablePubDataChannel) {
10572
+ const { traceId: g, l1ip: d } = yield this.publishPromise;
10573
+ if (this._isPublishing = !0, this.streamTracks = this.rtsManager.publishingTracks, this.traceId = g, (u = this.parameter.data) != null && u.enablePubDataChannel) {
10574
10574
  this.dataPubState.setState(Z.AliRtcStatePublishing);
10575
- const g = yield this.rtsManager.publishAddDataChannel(this.url);
10576
- g ? (this.dc = g, this.dc.datachannel && (this.dc.datachannel.binaryType = "arraybuffer"), this.dataPubState.setState(Z.AliRtcStatePublished)) : this.emit("publishDataError", new V(U.ERR_INNER, "publishDataError"));
10575
+ const p = yield this.rtsManager.publishAddDataChannel(this.url);
10576
+ p ? (this.dc = p, this.dc.datachannel && (this.dc.datachannel.binaryType = "arraybuffer"), this.dataPubState.setState(Z.AliRtcStatePublished)) : this.emit("publishDataError", new V(U.ERR_INNER, "publishDataError"));
10577
10577
  }
10578
- s && (this.trackTraceIdMap[k.Audio] = p, this.reportAudioProfile()), c && (this.trackTraceIdMap[k.VideoSmall] = p), a && (this.trackTraceIdMap[k.VideoLarge] = p, this.reportVideoProfile()), o && (this.trackTraceIdMap[k.Screen] = p, this.reportScreenProfile());
10578
+ s && (this.trackTraceIdMap[k.Audio] = g, this.reportAudioProfile()), c && (this.trackTraceIdMap[k.VideoSmall] = g), a && (this.trackTraceIdMap[k.VideoLarge] = g, this.reportVideoProfile()), o && (this.trackTraceIdMap[k.Screen] = g, this.reportScreenProfile());
10579
10579
  const f = {
10580
10580
  type: mt.Add,
10581
10581
  userid: this.userId,
@@ -10590,7 +10590,7 @@ const ge = (ht = class extends pn {
10590
10590
  l1ip: this.parameter.reportL1IP ? d : void 0,
10591
10591
  callid: this.callId,
10592
10592
  tracks: this.streamTracks,
10593
- traceid: p
10593
+ traceid: g
10594
10594
  };
10595
10595
  yield this.syncPublishToRoomServer(f, i, h), s && this.audioPubState.setState(Z.AliRtcStatePublished), a && this.videoPubState.setState(Z.AliRtcStatePublished), c && this.videoSmallPubState.setState(Z.AliRtcStatePublished), o && this.screenPubState.setState(Z.AliRtcStatePublished);
10596
10596
  } catch (h) {
@@ -10614,31 +10614,31 @@ const ge = (ht = class extends pn {
10614
10614
  const s = (/* @__PURE__ */ new Date()).getTime();
10615
10615
  try {
10616
10616
  const h = (a = this.streamTracks) == null ? void 0 : a.find(
10617
- ({ ssrc: x, type: b, msid: y }) => b === "audio" && x && y === k.Audio
10618
- ), p = yield this.compareAndPublish(h, t.audio, k.Audio);
10619
- p && (i = p);
10617
+ ({ ssrc: S, type: b, msid: y }) => b === "audio" && S && y === k.Audio
10618
+ ), g = yield this.compareAndPublish(h, t.audio, k.Audio);
10619
+ g && (i = g);
10620
10620
  const d = (c = this.streamTracks) == null ? void 0 : c.find(
10621
- ({ ssrc: x, type: b, msid: y }) => b === "video" && x && y === k.VideoLarge
10621
+ ({ ssrc: S, type: b, msid: y }) => b === "video" && S && y === k.VideoLarge
10622
10622
  ), f = yield this.compareAndPublish(d, t.video, k.VideoLarge);
10623
10623
  f && (i = f);
10624
- const g = (o = this.streamTracks) == null ? void 0 : o.find(
10625
- ({ ssrc: x, type: b, msid: y }) => b === "video" && x && y === k.VideoSmall
10624
+ const p = (o = this.streamTracks) == null ? void 0 : o.find(
10625
+ ({ ssrc: S, type: b, msid: y }) => b === "video" && S && y === k.VideoSmall
10626
10626
  ), l = yield this.compareAndPublish(
10627
- g,
10627
+ p,
10628
10628
  t.videoSmall,
10629
10629
  k.VideoSmall
10630
10630
  );
10631
10631
  l && (i = l);
10632
- const S = (u = this.streamTracks) == null ? void 0 : u.find(
10633
- ({ ssrc: x, type: b, msid: y }) => b === "video" && x && y === k.Screen
10634
- ), v = yield this.compareAndPublish(S, t.screen, k.Screen);
10632
+ const x = (u = this.streamTracks) == null ? void 0 : u.find(
10633
+ ({ ssrc: S, type: b, msid: y }) => b === "video" && S && y === k.Screen
10634
+ ), v = yield this.compareAndPublish(x, t.screen, k.Screen);
10635
10635
  if (v && (i = v), !i)
10636
10636
  if (e === st.RECONNECT && this.rtsManager.publishingTracks.length > 0) {
10637
- const x = this.rtsManager.publishingTracks.find(({ type: y }) => y === "video"), b = this.rtsManager.publishingTracks.find(({ type: y }) => y === "audio");
10638
- (x || b) && (yield this.rtsManager.waitPublishSender(
10637
+ const S = this.rtsManager.publishingTracks.find(({ type: y }) => y === "video"), b = this.rtsManager.publishingTracks.find(({ type: y }) => y === "audio");
10638
+ (S || b) && (yield this.rtsManager.waitPublishSender(
10639
10639
  this.url,
10640
- !x,
10641
- x ? x.msid : b == null ? void 0 : b.msid
10640
+ !S,
10641
+ S ? S.msid : b == null ? void 0 : b.msid
10642
10642
  )), i = {
10643
10643
  type: mt.Add,
10644
10644
  userid: this.userId,
@@ -10658,8 +10658,8 @@ const ge = (ht = class extends pn {
10658
10658
  return;
10659
10659
  yield this.syncPublishToRoomServer(i, t, s);
10660
10660
  } catch (h) {
10661
- const { code: p } = h != null ? h : {}, d = this.url;
10662
- throw p === 403 && d && (yield this.refreshPushStreamUrl(), i = yield this.publishUpdate()), h;
10661
+ const { code: g } = h != null ? h : {}, d = this.url;
10662
+ throw g === 403 && d && (yield this.refreshPushStreamUrl(), i = yield this.publishUpdate()), h;
10663
10663
  }
10664
10664
  return i;
10665
10665
  });
@@ -10709,7 +10709,7 @@ const ge = (ht = class extends pn {
10709
10709
  try {
10710
10710
  const h = yield this.rtsManager.publishAdd(this.url, e, this.callId, t, !1, !0);
10711
10711
  a && (this.audioPubState.setState(Z.AliRtcStatePublished), this.reportAudioProfile(), this.trackTraceIdMap[k.Audio] = h), c && (this.videoPubState.setState(Z.AliRtcStatePublished), this.reportVideoProfile(), this.trackTraceIdMap[k.VideoLarge] = h), o && (this.videoSmallPubState.setState(Z.AliRtcStatePublished), this.trackTraceIdMap[k.VideoSmall] = h), u && (this.screenPubState.setState(Z.AliRtcStatePublished), this.reportScreenProfile(), this.trackTraceIdMap[k.Screen] = h), this.streamTracks = this.rtsManager.publishingTracks;
10712
- const p = {
10712
+ const g = {
10713
10713
  type: mt.Add,
10714
10714
  userid: this.userId,
10715
10715
  sessionid: "",
@@ -10724,12 +10724,12 @@ const ge = (ht = class extends pn {
10724
10724
  tracks: this.streamTracks,
10725
10725
  traceid: h
10726
10726
  };
10727
- return this.reportSelfDeviceStatus(), this.monitorTimerId || this.startStreamMonitor(), p;
10727
+ return this.reportSelfDeviceStatus(), this.monitorTimerId || this.startStreamMonitor(), g;
10728
10728
  } catch (h) {
10729
- let p = U.ERR_SDK_PUBLISH_INVAILD;
10730
- if (a && (this.audioPubState.setState(Z.AliRtcStateNoPublish), p = U.ERR_SDK_PUBLISH_AUDIO_STREAM_FAILED), c && (this.videoPubState.setState(Z.AliRtcStateNoPublish), p = U.ERR_SDK_PUBLISH_VIDEO_STREAM_FAILED), o && (this.videoSmallPubState.setState(Z.AliRtcStateNoPublish), p = U.ERR_SDK_PUBLISH_DUAL_STREAM_FAILED), u && (this.screenPubState.setState(Z.AliRtcStateNoPublish), p = U.ERR_SDK_PUBLISH_SCEEN_SHARE_FAILED), h.errorCode === 15006 && s < 3)
10729
+ let g = U.ERR_SDK_PUBLISH_INVAILD;
10730
+ if (a && (this.audioPubState.setState(Z.AliRtcStateNoPublish), g = U.ERR_SDK_PUBLISH_AUDIO_STREAM_FAILED), c && (this.videoPubState.setState(Z.AliRtcStateNoPublish), g = U.ERR_SDK_PUBLISH_VIDEO_STREAM_FAILED), o && (this.videoSmallPubState.setState(Z.AliRtcStateNoPublish), g = U.ERR_SDK_PUBLISH_DUAL_STREAM_FAILED), u && (this.screenPubState.setState(Z.AliRtcStateNoPublish), g = U.ERR_SDK_PUBLISH_SCEEN_SHARE_FAILED), h.errorCode === 15006 && s < 3)
10731
10731
  return this.publishAdd(e, t, i, s + 1);
10732
- throw V.fromError(h, p, "publish add failed");
10732
+ throw V.fromError(h, g, "publish add failed");
10733
10733
  }
10734
10734
  });
10735
10735
  }
@@ -10929,20 +10929,20 @@ const ge = (ht = class extends pn {
10929
10929
  if (!h)
10930
10930
  return;
10931
10931
  o.includes(h) && (o = o.filter((f) => f !== h));
10932
- let p;
10933
- h === k.Audio ? p = this.rtsManager.getPublishAudioStats(this.url) : p = this.rtsManager.getPublishVideoStats(this.url, h), p.then((f) => {
10932
+ let g;
10933
+ h === k.Audio ? g = this.rtsManager.getPublishAudioStats(this.url) : g = this.rtsManager.getPublishVideoStats(this.url, h), g.then((f) => {
10934
10934
  if (!f.timestamp)
10935
10935
  return;
10936
10936
  this.monitorDataCache[h] || (this.monitorDataCache[h] = []);
10937
- const g = this.getMediaStats(f.mediaSourceId);
10938
- f._source = g;
10937
+ const p = this.getMediaStats(f.mediaSourceId);
10938
+ f._source = p;
10939
10939
  const l = this.monitorDataCache[h];
10940
- let S;
10940
+ let x;
10941
10941
  if ((l == null ? void 0 : l.length) > 0) {
10942
10942
  const v = l[l.length - 1] || {}, { _last: b } = v;
10943
- S = Ft(v, ["_last"]);
10943
+ x = Ft(v, ["_last"]);
10944
10944
  }
10945
- (l == null ? void 0 : l.length) >= Ha && this.reportPublishMonitor(h), f._last = S, f._codec = u.codec || "", this.monitorDataCache[h].push(f);
10945
+ (l == null ? void 0 : l.length) >= Ha && this.reportPublishMonitor(h), f._last = x, f._codec = u.codec || "", this.monitorDataCache[h].push(f);
10946
10946
  });
10947
10947
  }), o.forEach((u) => {
10948
10948
  this.reportPublishMonitor(u);
@@ -11344,9 +11344,9 @@ class bi extends we {
11344
11344
  updateTracks(e) {
11345
11345
  let t = "", i = "", s = "", a = "", c = "";
11346
11346
  return e ? (e.forEach((o) => {
11347
- var p;
11347
+ var g;
11348
11348
  let u = xt.UNKNOWN;
11349
- const h = ((p = o == null ? void 0 : o.attr) == null ? void 0 : p.reason) === "reconnect";
11349
+ const h = ((g = o == null ? void 0 : o.attr) == null ? void 0 : g.reason) === "reconnect";
11350
11350
  if (o.userdata) {
11351
11351
  const { codec: d } = JSON.parse(o.userdata);
11352
11352
  d && (u = d);
@@ -11481,7 +11481,7 @@ const _e = (Me = class extends pn {
11481
11481
  signalingManager: o,
11482
11482
  localUser: u,
11483
11483
  audioVolumeIndicationInterval: h,
11484
- playoutVolume: p,
11484
+ playoutVolume: g,
11485
11485
  parameter: d
11486
11486
  } = e;
11487
11487
  super(t, i, s, h);
@@ -11543,8 +11543,8 @@ const _e = (Me = class extends pn {
11543
11543
  const c = new ArrayBuffer(a);
11544
11544
  let o = 0;
11545
11545
  for (let h = 0; h < this.dcMsgWaitingPieces.length; h++) {
11546
- const p = this.dcMsgWaitingPieces[h];
11547
- new Uint8Array(c, o, p.byteLength).set(new Uint8Array(p)), o += p.byteLength;
11546
+ const g = this.dcMsgWaitingPieces[h];
11547
+ new Uint8Array(c, o, g.byteLength).set(new Uint8Array(g)), o += g.byteLength;
11548
11548
  }
11549
11549
  new Uint8Array(c, o, t.body.byteLength).set(new Uint8Array(t.body)), i = Wt.parse(c);
11550
11550
  } catch (c) {
@@ -11571,17 +11571,17 @@ const _e = (Me = class extends pn {
11571
11571
  m(this, "handleAudioPaused", () => {
11572
11572
  this.emit("remoteAudioPlayError", this.uid, "paused");
11573
11573
  });
11574
- this.streamInfo = new bi(), this.remoteUserInfo = new tc(this), this.parameter = d, this.streamInfo.on(Ne.Remote, (g) => {
11575
- this.emit(Ne.Remote, g, this.userId);
11576
- }), 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) => {
11577
- this.emit("audioSubscribeStateChanged", this.uid, g, l, S);
11578
- }), this.videoSubState = new Ut(), this.videoSubState.on("change", (g, l, S) => {
11579
- this.emit("videoSubscribeStateChanged", this.uid, g, l, S);
11580
- }), this.screenSubState = new Ut(), this.screenSubState.on("change", (g, l, S) => {
11581
- this.emit("screenSubscribeStateChanged", this.uid, g, l, S);
11582
- }), this.dataSubState = new Ut(), this.dataSubState.on("change", (g, l, S) => {
11583
- this.emit("dataSubscribeStateChanged", this.uid, g, l, S);
11584
- }), this.playoutVolume = p;
11574
+ this.streamInfo = new bi(), this.remoteUserInfo = new tc(this), this.parameter = d, this.streamInfo.on(Ne.Remote, (p) => {
11575
+ this.emit(Ne.Remote, p, this.userId);
11576
+ }), 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", (p, l, x) => {
11577
+ this.emit("audioSubscribeStateChanged", this.uid, p, l, x);
11578
+ }), this.videoSubState = new Ut(), this.videoSubState.on("change", (p, l, x) => {
11579
+ this.emit("videoSubscribeStateChanged", this.uid, p, l, x);
11580
+ }), this.screenSubState = new Ut(), this.screenSubState.on("change", (p, l, x) => {
11581
+ this.emit("screenSubscribeStateChanged", this.uid, p, l, x);
11582
+ }), this.dataSubState = new Ut(), this.dataSubState.on("change", (p, l, x) => {
11583
+ this.emit("dataSubscribeStateChanged", this.uid, p, l, x);
11584
+ }), this.playoutVolume = g;
11585
11585
  }
11586
11586
  isWantSubAudio() {
11587
11587
  return this.wantSubAudio;
@@ -11723,23 +11723,23 @@ const _e = (Me = class extends pn {
11723
11723
  }
11724
11724
  subscribe(s, a) {
11725
11725
  return w(this, arguments, function* (e, t, i = Date.now()) {
11726
- var f, g;
11726
+ var f, p;
11727
11727
  let c = e;
11728
11728
  if (!c) {
11729
- const { hasAudio: l, hasVideo: S, hasScreen: v, hasData: x } = (f = this.streamInfo) != null ? f : {};
11729
+ const { hasAudio: l, hasVideo: x, hasScreen: v, hasData: S } = (f = this.streamInfo) != null ? f : {};
11730
11730
  c = {
11731
11731
  audio: this.wantSubAudio && l,
11732
- video: this.wantSubVideo && S,
11732
+ video: this.wantSubVideo && x,
11733
11733
  screen: this.wantSubScreen && v,
11734
- data: ((g = this.parameter.data) == null ? void 0 : g.enableSubDataChannel) && x
11734
+ data: ((p = this.parameter.data) == null ? void 0 : p.enableSubDataChannel) && S
11735
11735
  };
11736
11736
  }
11737
11737
  this.streamInfo.markRemoteTrackSubscribing(c);
11738
- const { screen: o, audio: u, video: h, vMsid: p } = c, d = [];
11738
+ const { screen: o, audio: u, video: h, vMsid: g } = c, d = [];
11739
11739
  (h || u) && d.push({
11740
11740
  audio: u,
11741
11741
  video: h,
11742
- vMsid: p
11742
+ vMsid: g
11743
11743
  }), o && d.push({
11744
11744
  screen: o
11745
11745
  }), !(d.length === 0 && !(e != null && e.data)) && (yield Promise.all(d.map((l) => this.subscribeProxy(l, t || le.User, i))), e != null && e.data && this.subscribeDataChannel());
@@ -11751,7 +11751,7 @@ const _e = (Me = class extends pn {
11751
11751
  let s = (/* @__PURE__ */ new Date()).getTime(), a = "";
11752
11752
  try {
11753
11753
  e.audio && this.audioSubState.setState(de.AliRtcStateSubscribing), e.video && (this.videoSubState.currentState === de.AliRtcStateSubscribeIdle || this.videoSubState.currentState === de.AliRtcStateNoSubscribe) && this.videoSubState.setState(de.AliRtcStateSubscribing), e.screen && this.screenSubState.setState(de.AliRtcStateSubscribing);
11754
- const p = yield this.rtsManager.subscribe(
11754
+ const g = yield this.rtsManager.subscribe(
11755
11755
  {
11756
11756
  remoteUser: this,
11757
11757
  options: e
@@ -11761,12 +11761,12 @@ const _e = (Me = class extends pn {
11761
11761
  this.callId,
11762
11762
  i
11763
11763
  );
11764
- this.streamInfo.updateRemoteTrackSubState(e), a = p.traceId || "";
11765
- const { stream: d } = p;
11764
+ this.streamInfo.updateRemoteTrackSubState(e), a = g.traceId || "";
11765
+ const { stream: d } = g;
11766
11766
  if (e.audio) {
11767
11767
  this.trackTraceIdMap[k.Audio] = a;
11768
- const g = d.audioTrack;
11769
- g && (this.audioTrack = g, (o = d.mediaStream) == null || o.removeTrack(g), this.playAudio(), this.audioVolumeIndicationInterval && this.audioLevelMonitor.start(g, this.audioVolumeIndicationInterval)), this.audioSubState.setState(de.AliRtcStateSubscribed), this.audioSubState.getEnabled() || this.toggleAudio(!1);
11768
+ const p = d.audioTrack;
11769
+ p && (this.audioTrack = p, (o = d.mediaStream) == null || o.removeTrack(p), this.playAudio(), this.audioVolumeIndicationInterval && this.audioLevelMonitor.start(p, this.audioVolumeIndicationInterval)), this.audioSubState.setState(de.AliRtcStateSubscribed), this.audioSubState.getEnabled() || this.toggleAudio(!1);
11770
11770
  }
11771
11771
  e.video && (this.videoSubState.setState(de.AliRtcStateSubscribed), e.vMsid === k.VideoSmall ? (this.trackTraceIdMap[k.VideoSmall] = a, this.videoSmallSubState.setState(de.AliRtcStateSubscribed)) : (this.trackTraceIdMap[k.VideoLarge] = a, this.videoLargeSubState.setState(de.AliRtcStateSubscribed)), this.videoSubState.getEnabled() || this.toggleVideo(!1), this.updateStream(d, this.isVideoLargeSubscribing && this.isVideoSmallSubscribing)), e.screen && (this.screenSubState.setState(de.AliRtcStateSubscribed), this.trackTraceIdMap[k.Screen] = a, this.videoSubState.getEnabled() || this.toggleScreen(!1), this.updateScreenStream(d));
11772
11772
  const f = (/* @__PURE__ */ new Date()).getTime() - s;
@@ -11788,9 +11788,9 @@ const _e = (Me = class extends pn {
11788
11788
  est: s
11789
11789
  }
11790
11790
  ), this.startStreamMonitor();
11791
- } catch (p) {
11791
+ } catch (g) {
11792
11792
  const d = (/* @__PURE__ */ new Date()).getTime() - s;
11793
- e.audio && this.audioSubState.setState(de.AliRtcStateNoSubscribe), e.video && this.videoSubState.setState(de.AliRtcStateNoSubscribe), e.screen && this.screenSubState.setState(de.AliRtcStateNoSubscribe), p && (p.message = `user(${this.uid}) subscribe error, ${(p == null ? void 0 : p.message) || ""}`);
11793
+ e.audio && this.audioSubState.setState(de.AliRtcStateNoSubscribe), e.video && this.videoSubState.setState(de.AliRtcStateNoSubscribe), e.screen && this.screenSubState.setState(de.AliRtcStateNoSubscribe), g && (g.message = `user(${this.uid}) subscribe error, ${(g == null ? void 0 : g.message) || ""}`);
11794
11794
  let f = U.ERR_INNER;
11795
11795
  e.audio && (f = U.ERR_SDK_SUBSCRIBE_AUDIO_STREAM_FAILED), e.video && (e.vMsid === k.VideoSmall ? f = U.ERR_SDK_SUBSCRIBE_DUAL_STREAM_FAILED : f = U.ERR_SDK_SUBSCRIBE_VIDEO_STREAM_FAILED), e.screen && (f = U.ERR_SDK_SUBSCRIBE_SCREEN_SHARE_FAILED), this.slsReporter.reportSubscribe(
11796
11796
  ((h = this.localUser) == null ? void 0 : h.callId) || "",
@@ -11810,8 +11810,8 @@ const _e = (Me = class extends pn {
11810
11810
  est: s
11811
11811
  }
11812
11812
  );
11813
- const g = V.fromError(p, f);
11814
- throw this.emit("remoteSubscribeError", g), g;
11813
+ const p = V.fromError(g, f);
11814
+ throw this.emit("remoteSubscribeError", p), p;
11815
11815
  }
11816
11816
  });
11817
11817
  }
@@ -12006,9 +12006,9 @@ const _e = (Me = class extends pn {
12006
12006
  };
12007
12007
  }
12008
12008
  updateSubscribe(e) {
12009
- var a, c, o, u, h, p, d, f, g, l, S, v, x, b, y, E, I;
12009
+ var a, c, o, u, h, g, d, f, p, l, x, v, S, b, y, E, I;
12010
12010
  const t = Date.now(), i = {}, s = {};
12011
- 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) {
12011
+ 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 && ((g = this.streamInfo) != null && g.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 || !((p = this.streamInfo) != null && p.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) {
12012
12012
  if (O.event(`[${Me.logName}]`, "reconnect, try to resume"), this.streamInfo.hasAudio && !i.audio) {
12013
12013
  const A = this.rtsManager.getStreamByMsid({
12014
12014
  url: this.streamUrl,
@@ -12221,7 +12221,7 @@ const _e = (Me = class extends pn {
12221
12221
  let s;
12222
12222
  const a = i === k.Audio;
12223
12223
  a ? s = this.rtsManager.getSubscribeAudioStats(this.streamUrl) : s = this.rtsManager.getSubscribeVideoStats(this.streamUrl, i), s.then((c) => {
12224
- var p;
12224
+ var g;
12225
12225
  if (!c.timestamp)
12226
12226
  return;
12227
12227
  this.monitorDataCache[i] || (this.monitorDataCache[i] = []);
@@ -12231,7 +12231,7 @@ const _e = (Me = class extends pn {
12231
12231
  const h = o[o.length - 1] || {}, { _last: f } = h;
12232
12232
  u = Ft(h, ["_last"]);
12233
12233
  }
12234
- (o == null ? void 0 : o.length) >= sc && this.reportSubscribeMonitor(i), c._last = u, c._codec = t.codec, a && (c._source = (p = this.localUser) == null ? void 0 : p.getMediaStats(c.playoutId)), this.monitorDataCache[i].push(c);
12234
+ (o == null ? void 0 : o.length) >= sc && this.reportSubscribeMonitor(i), c._last = u, c._codec = t.codec, a && (c._source = (g = this.localUser) == null ? void 0 : g.getMediaStats(c.playoutId)), this.monitorDataCache[i].push(c);
12235
12235
  });
12236
12236
  }), e.forEach((t) => {
12237
12237
  this.reportSubscribeMonitor(t);
@@ -12475,9 +12475,9 @@ const xe = (Le = class extends we {
12475
12475
  }
12476
12476
  httpPublish(a, c) {
12477
12477
  return w(this, arguments, function* (e, t, i = !1, s = st.MANUAL) {
12478
- var x, b;
12478
+ var S, b;
12479
12479
  let o;
12480
- const { publishStream: u, videoSmallStream: h, screenStream: p, vMsid: d } = yield this.localStreamManager.createHTTPPublishStream();
12480
+ const { publishStream: u, videoSmallStream: h, screenStream: g, vMsid: d } = yield this.localStreamManager.createHTTPPublishStream();
12481
12481
  if (!u)
12482
12482
  return O.warn(`[${Le.logName}]`, "publishStream is null"), {
12483
12483
  traceId: "",
@@ -12489,7 +12489,7 @@ const xe = (Le = class extends we {
12489
12489
  this.encodedInsertableStreams && (f.encodedInsertableStreams = !0), f.answerSdpHook = (y) => {
12490
12490
  const E = /\d+\.\d+\.\d+\.\d+(?=\s+1106|\s+8000)/.exec(y);
12491
12491
  return E != null && E[0] && (o = E[0]), y;
12492
- }, (b = (x = this.parameter) == null ? void 0 : x.net) != null && b.useTCP && (f.tcpOnly = !0), f.beforeRetry = (y) => w(this, null, function* () {
12492
+ }, (b = (S = this.parameter) == null ? void 0 : S.net) != null && b.useTCP && (f.tcpOnly = !0), f.beforeRetry = (y) => w(this, null, function* () {
12493
12493
  this._rtsReconnecting = !0, this.publishRetryHook && this.publishRetryHook();
12494
12494
  const { publishStream: E, vMsid: I } = yield this.localStreamManager.createHTTPPublishStream();
12495
12495
  if (!E)
@@ -12499,11 +12499,11 @@ const xe = (Le = class extends we {
12499
12499
  });
12500
12500
  return y.stream = E, A.aMsid ? y.aMsid = A.aMsid : y.aMsid = [], A.vMsid ? y.vMsid = A.vMsid : y.vMsid = [], y;
12501
12501
  }), this._rtsPeerConnectionType = "publish";
12502
- let g = !u.hasVideo, l = d, S = "";
12502
+ let p = !u.hasVideo, l = d, x = "";
12503
12503
  this.startConnect();
12504
12504
  const v = Date.now();
12505
12505
  try {
12506
- S = yield this.rts.publish(e, u, f);
12506
+ x = yield this.rts.publish(e, u, f);
12507
12507
  } catch (y) {
12508
12508
  this.setConnected(!1);
12509
12509
  const E = 2e3 - (Date.now() - v);
@@ -12523,7 +12523,7 @@ const xe = (Le = class extends we {
12523
12523
  v
12524
12524
  ), V.fromRtsError(y);
12525
12525
  }
12526
- O.event(`[${Le.logName}]`, "rts publish success", S), this.slsReporter.reportPublish(
12526
+ O.event(`[${Le.logName}]`, "rts publish success", x), this.slsReporter.reportPublish(
12527
12527
  i,
12528
12528
  e,
12529
12529
  t,
@@ -12532,13 +12532,13 @@ const xe = (Le = class extends we {
12532
12532
  u.hasVideo && d === k.Screen,
12533
12533
  u.hasAudio,
12534
12534
  0,
12535
- S,
12536
- S,
12535
+ x,
12536
+ x,
12537
12537
  v
12538
12538
  );
12539
12539
  try {
12540
12540
  const y = Date.now();
12541
- return this._pcTraceId = S, this.setConnected(!0), this._publishingTracks = this.rts.getPublishTrackInfoList(), h && (yield this.publishAdd(
12541
+ return this._pcTraceId = x, this.setConnected(!0), this._publishingTracks = this.rts.getPublishTrackInfoList(), h && (yield this.publishAdd(
12542
12542
  e,
12543
12543
  h,
12544
12544
  t,
@@ -12546,26 +12546,26 @@ const xe = (Le = class extends we {
12546
12546
  vMsid: k.VideoSmall
12547
12547
  },
12548
12548
  i
12549
- ), g = !1, l = k.VideoSmall), p && (yield this.publishAdd(
12549
+ ), p = !1, l = k.VideoSmall), g && (yield this.publishAdd(
12550
12550
  e,
12551
- p,
12551
+ g,
12552
12552
  t,
12553
12553
  {
12554
12554
  vMsid: k.Screen
12555
12555
  },
12556
12556
  i
12557
- ), g = !1, l = k.Screen), yield this.waitPublishSender(e, g, l), this.slsReporter.reportPublishFirstPacket(
12557
+ ), p = !1, l = k.Screen), yield this.waitPublishSender(e, p, l), this.slsReporter.reportPublishFirstPacket(
12558
12558
  i,
12559
12559
  t,
12560
12560
  v,
12561
12561
  y,
12562
12562
  this._localJoinTime,
12563
- g ? k.Audio : f.vMsid,
12564
- S || "",
12565
- S || "",
12563
+ p ? k.Audio : f.vMsid,
12564
+ x || "",
12565
+ x || "",
12566
12566
  s
12567
12567
  ), {
12568
- traceId: S,
12568
+ traceId: x,
12569
12569
  l1ip: o
12570
12570
  };
12571
12571
  } catch (y) {
@@ -12577,7 +12577,7 @@ const xe = (Le = class extends we {
12577
12577
  return w(this, null, function* () {
12578
12578
  const s = (a, c) => {
12579
12579
  let o = 0;
12580
- const u = () => (t ? this.rts.getPublishAudioStats(e, i) : this.rts.getPublishVideoStats(e, i)).then((p) => !(p.bytesSent > 0) && o < a ? (o++, new Promise((f) => setTimeout(() => f(u()), c))) : Promise.resolve());
12580
+ const u = () => (t ? this.rts.getPublishAudioStats(e, i) : this.rts.getPublishVideoStats(e, i)).then((g) => !(g.bytesSent > 0) && o < a ? (o++, new Promise((f) => setTimeout(() => f(u()), c))) : Promise.resolve());
12581
12581
  return u();
12582
12582
  };
12583
12583
  return Promise.race([vt(1e3), s(5, 100)]).catch(() => {
@@ -12594,10 +12594,10 @@ const xe = (Le = class extends we {
12594
12594
  return yield this.rts.getPublishAudioStats(e, t);
12595
12595
  });
12596
12596
  }
12597
- publishAdd(u, h, p, d) {
12597
+ publishAdd(u, h, g, d) {
12598
12598
  return w(this, arguments, function* (e, t, i, s, a = !1, c = !1, o = st.MANUAL) {
12599
- var l, S, v, x, b, y, E, I;
12600
- const f = Date.now(), g = this.getPubMsid(t, s);
12599
+ var l, x, v, S, b, y, E, I;
12600
+ const f = Date.now(), p = this.getPubMsid(t, s);
12601
12601
  try {
12602
12602
  const A = yield Oa(
12603
12603
  (C) => w(this, null, function* () {
@@ -12606,7 +12606,7 @@ const xe = (Le = class extends we {
12606
12606
  url: e,
12607
12607
  stream: t,
12608
12608
  updateSourceStream: !1
12609
- }, g)
12609
+ }, p)
12610
12610
  ])) : Promise.reject(new V(U.ERR_INNER, "rts not connected"));
12611
12611
  }),
12612
12612
  za,
@@ -12619,10 +12619,10 @@ const xe = (Le = class extends we {
12619
12619
  !1,
12620
12620
  e,
12621
12621
  i,
12622
- ((l = g.vMsid) == null ? void 0 : l[0]) === k.VideoLarge,
12623
- ((S = g.vMsid) == null ? void 0 : S[0]) === k.VideoSmall,
12624
- ((v = g.vMsid) == null ? void 0 : v[0]) === k.Screen,
12625
- ((x = g.aMsid) == null ? void 0 : x[0]) === k.Audio,
12622
+ ((l = p.vMsid) == null ? void 0 : l[0]) === k.VideoLarge,
12623
+ ((x = p.vMsid) == null ? void 0 : x[0]) === k.VideoSmall,
12624
+ ((v = p.vMsid) == null ? void 0 : v[0]) === k.Screen,
12625
+ ((S = p.aMsid) == null ? void 0 : S[0]) === k.Audio,
12626
12626
  0,
12627
12627
  this.pcTraceId,
12628
12628
  L.traceId || "",
@@ -12644,10 +12644,10 @@ const xe = (Le = class extends we {
12644
12644
  !1,
12645
12645
  e,
12646
12646
  i,
12647
- ((b = g.vMsid) == null ? void 0 : b[0]) === k.VideoLarge,
12648
- ((y = g.vMsid) == null ? void 0 : y[0]) === k.VideoSmall,
12649
- ((E = g.vMsid) == null ? void 0 : E[0]) === k.Screen,
12650
- ((I = g.aMsid) == null ? void 0 : I[0]) === k.Audio,
12647
+ ((b = p.vMsid) == null ? void 0 : b[0]) === k.VideoLarge,
12648
+ ((y = p.vMsid) == null ? void 0 : y[0]) === k.VideoSmall,
12649
+ ((E = p.vMsid) == null ? void 0 : E[0]) === k.Screen,
12650
+ ((I = p.aMsid) == null ? void 0 : I[0]) === k.Audio,
12651
12651
  (A == null ? void 0 : A.errorCode) || -1,
12652
12652
  this.pcTraceId,
12653
12653
  "",
@@ -12659,9 +12659,9 @@ const xe = (Le = class extends we {
12659
12659
  }
12660
12660
  publishDelete(e, t) {
12661
12661
  return w(this, null, function* () {
12662
- var u, h, p, d, f, g, l, S;
12662
+ var u, h, g, d, f, p, l, x;
12663
12663
  yield this.dcConnectingPromise;
12664
- 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 = [];
12664
+ const i = (h = (u = this.publishingTracks) == null ? void 0 : u.find(({ msid: v }) => v === k.Audio)) == null ? void 0 : h.msid, s = (d = (g = this.publishingTracks) == null ? void 0 : g.find(({ msid: v }) => v === k.VideoLarge)) == null ? void 0 : d.msid, a = (p = (f = this.publishingTracks) == null ? void 0 : f.find(({ msid: v }) => v === k.Screen)) == null ? void 0 : p.msid, c = [];
12665
12665
  t.screen && a ? c.push(a) : t.video && c.push(t.vMsid || s);
12666
12666
  const o = [];
12667
12667
  t.audio && i && o.push(i), O.event(Le.logName, "publishDelete", { streamUrl: e, aMsid: o, vMsid: c });
@@ -12673,7 +12673,7 @@ const xe = (Le = class extends we {
12673
12673
  vMsid: c
12674
12674
  }
12675
12675
  ])) || [];
12676
- return O.event(Le.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) || "";
12676
+ return O.event(Le.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) || "";
12677
12677
  } catch (v) {
12678
12678
  throw V.fromRtsError(v);
12679
12679
  }
@@ -12755,12 +12755,16 @@ const xe = (Le = class extends we {
12755
12755
  }
12756
12756
  httpSubscribe(e) {
12757
12757
  return w(this, null, function* () {
12758
- var c, o;
12758
+ var c, o, u, h, g, d;
12759
12759
  const { remoteUser: t, options: i } = e;
12760
12760
  let s = t.streamUrl;
12761
12761
  i.video || i.screen ? i != null && i.audio || (s += "@subaudio=no") : s += "@subvideo=no";
12762
12762
  const a = this.getSubConfig(t.streamInfo, i);
12763
- this.encodedInsertableStreams && (a.encodedInsertableStreams = !0), (o = (c = this.parameter) == null ? void 0 : c.net) != null && o.useTCP && (a.tcpOnly = !0), a.beforeRetry = (u) => w(this, null, function* () {
12763
+ if (this.encodedInsertableStreams && (a.encodedInsertableStreams = !0), (o = (c = this.parameter) == null ? void 0 : c.net) != null && o.useTCP && (a.tcpOnly = !0), (h = (u = this.parameter) == null ? void 0 : u.net) != null && h.mediaTimeout) {
12764
+ const f = (d = (g = this.parameter) == null ? void 0 : g.net) == null ? void 0 : d.mediaTimeout;
12765
+ f > 1e3 && f < 1e5 && (a.mediaTimeout = f);
12766
+ }
12767
+ a.beforeRetry = (f) => w(this, null, function* () {
12764
12768
  this._rtsReconnecting = !0;
12765
12769
  try {
12766
12770
  this.emit(
@@ -12768,32 +12772,32 @@ const xe = (Le = class extends we {
12768
12772
  "subscribe"
12769
12773
  /* SUBSCRIBE */
12770
12774
  );
12771
- } catch (h) {
12775
+ } catch (p) {
12772
12776
  }
12773
12777
  if (this._publishingTracks = [], this.subscribeRetryOptionsHook) {
12774
- const h = this.subscribeRetryOptionsHook();
12775
- if (h) {
12776
- let p = t.streamUrl;
12777
- i.video || i.screen ? i != null && i.audio || (p += "@subaudio=no") : p += "@subvideo=no", u.url = p;
12778
- const d = this.getSubConfig(
12779
- h.remoteUser.streamInfo,
12780
- h.options
12778
+ const p = this.subscribeRetryOptionsHook();
12779
+ if (p) {
12780
+ let l = t.streamUrl;
12781
+ i.video || i.screen ? i != null && i.audio || (l += "@subaudio=no") : l += "@subvideo=no", f.url = l;
12782
+ const x = this.getSubConfig(
12783
+ p.remoteUser.streamInfo,
12784
+ p.options
12781
12785
  );
12782
- d.aMsid && (u.aMsid = d.aMsid), d.vMsid && (u.vMsid = d.vMsid);
12786
+ x.aMsid && (f.aMsid = x.aMsid), x.vMsid && (f.vMsid = x.vMsid);
12783
12787
  } else
12784
12788
  return;
12785
12789
  }
12786
- return u;
12790
+ return f;
12787
12791
  }), this._rtsPeerConnectionType = "subscribe";
12788
12792
  try {
12789
12793
  this.startConnect();
12790
- const u = yield this.rts.subscribe(s, a);
12791
- return this._pcTraceId = u.traceId, this.setConnected(!0), {
12792
- traceId: u.traceId,
12793
- stream: u
12794
+ const f = yield this.rts.subscribe(s, a);
12795
+ return this._pcTraceId = f.traceId, this.setConnected(!0), {
12796
+ traceId: f.traceId,
12797
+ stream: f
12794
12798
  };
12795
- } catch (u) {
12796
- throw this.setConnected(!1), this.emit("disconnected"), V.fromRtsError(u);
12799
+ } catch (f) {
12800
+ throw this.setConnected(!1), this.emit("disconnected"), V.fromRtsError(f);
12797
12801
  }
12798
12802
  });
12799
12803
  }
@@ -12809,13 +12813,13 @@ const xe = (Le = class extends we {
12809
12813
  });
12810
12814
  try {
12811
12815
  return (yield Oa(
12812
- (p) => w(this, null, function* () {
12813
- return yield this.dcConnectingPromise, p > 0 && O.event(`[${Le.logName}]`, `subscribeAdd retry times: ${p}`), this.isConnected ? this.rts.subscribeAdd([s]) : Promise.reject();
12816
+ (g) => w(this, null, function* () {
12817
+ return yield this.dcConnectingPromise, g > 0 && O.event(`[${Le.logName}]`, `subscribeAdd retry times: ${g}`), this.isConnected ? this.rts.subscribeAdd([s]) : Promise.reject();
12814
12818
  }),
12815
12819
  za,
12816
12820
  0,
12817
12821
  // 仅超时重试
12818
- (p) => (p == null ? void 0 : p.errorCode) === 15006
12822
+ (g) => (g == null ? void 0 : g.errorCode) === 15006
12819
12823
  ))[0];
12820
12824
  } catch (h) {
12821
12825
  if (((u = (o = (c = (a = h == null ? void 0 : h.extraInfo) == null ? void 0 : a.parsedData) == null ? void 0 : c.streams) == null ? void 0 : o[0]) == null ? void 0 : u.res_code) === 508)
@@ -12894,8 +12898,8 @@ const xe = (Le = class extends we {
12894
12898
  let o = "", u;
12895
12899
  if (this.connecting && (yield this.connectingPromise), this.connected) {
12896
12900
  yield this.dcConnectingPromise;
12897
- let h = !1, p;
12898
- const { audio: d, video: f, videoSmall: g, screen: l } = this.localStreamManager.publishStreams;
12901
+ let h = !1, g;
12902
+ const { audio: d, video: f, videoSmall: p, screen: l } = this.localStreamManager.publishStreams;
12899
12903
  d && (o = yield this.publishAdd(
12900
12904
  e,
12901
12905
  d,
@@ -12904,7 +12908,7 @@ const xe = (Le = class extends we {
12904
12908
  aMsid: k.Audio
12905
12909
  },
12906
12910
  i
12907
- ), h = !0, p = k.Audio, yield vt(100)), f && (o = yield this.publishAdd(
12911
+ ), h = !0, g = k.Audio, yield vt(100)), f && (o = yield this.publishAdd(
12908
12912
  e,
12909
12913
  f,
12910
12914
  t,
@@ -12912,15 +12916,15 @@ const xe = (Le = class extends we {
12912
12916
  vMsid: k.VideoLarge
12913
12917
  },
12914
12918
  i
12915
- ), h = !1, p = k.VideoLarge, yield vt(100)), g && (o = yield this.publishAdd(
12919
+ ), h = !1, g = k.VideoLarge, yield vt(100)), p && (o = yield this.publishAdd(
12916
12920
  e,
12917
- g,
12921
+ p,
12918
12922
  t,
12919
12923
  {
12920
12924
  vMsid: k.VideoSmall
12921
12925
  },
12922
12926
  i
12923
- ), h = !1, p = k.VideoSmall, yield vt(100)), l && (o = yield this.publishAdd(
12927
+ ), h = !1, g = k.VideoSmall, yield vt(100)), l && (o = yield this.publishAdd(
12924
12928
  e,
12925
12929
  l,
12926
12930
  t,
@@ -12929,7 +12933,7 @@ const xe = (Le = class extends we {
12929
12933
  vMsid: k.Screen
12930
12934
  },
12931
12935
  i
12932
- ), h = !1, p = k.Screen), p && (yield this.waitPublishSender(e, h, p));
12936
+ ), h = !1, g = k.Screen), g && (yield this.waitPublishSender(e, h, g));
12933
12937
  } else {
12934
12938
  const h = yield this.httpPublish(e, t, i, s);
12935
12939
  o = h.traceId, u = h.l1ip;
@@ -12950,27 +12954,27 @@ const xe = (Le = class extends we {
12950
12954
  "subscribe error, video and screen cannot be subscribed at the same time"
12951
12955
  );
12952
12956
  this.connecting && (yield this.connectingPromise);
12953
- let h, p = Date.now();
12954
- this.connected ? (p = Date.now(), h = yield this.subscribeAdd(e)) : (c = !0, h = yield this.httpSubscribe(e));
12957
+ let h, g = Date.now();
12958
+ this.connected ? (g = Date.now(), h = yield this.subscribeAdd(e)) : (c = !0, h = yield this.httpSubscribe(e));
12955
12959
  const d = Date.now();
12956
- let f = k.VideoLarge, g = o.video || o.screen, l = o.audio;
12960
+ let f = k.VideoLarge, p = o.video || o.screen, l = o.audio;
12957
12961
  o.video && o.vMsid ? f = o.vMsid : o.screen && (f = k.Screen);
12958
- let S = 0, v = 0, x = 0;
12962
+ let x = 0, v = 0, S = 0;
12959
12963
  const y = ((E, I) => {
12960
12964
  let A = 0;
12961
12965
  const C = () => {
12962
12966
  let L;
12963
- return l && !S && (L = this.rts.getSubscribeAudioStats(u.streamUrl).then((_) => {
12967
+ return l && !x && (L = this.rts.getSubscribeAudioStats(u.streamUrl).then((_) => {
12964
12968
  if (_.packetsReceived > 0)
12965
- S = Date.now();
12966
- else if (!g)
12969
+ x = Date.now();
12970
+ else if (!p)
12967
12971
  return A < E ? (A++, new Promise((R) => setTimeout(() => R(C()), I))) : !1;
12968
12972
  return !0;
12969
- })), g && !x && (L = this.rts.getSubscribeVideoStats(u.streamUrl, f).then((_) => {
12973
+ })), p && !S && (L = this.rts.getSubscribeVideoStats(u.streamUrl, f).then((_) => {
12970
12974
  if (_.packetsReceived > 0 && (v = Date.now()), _.framesDecoded > 0)
12971
- x = Date.now();
12975
+ S = Date.now();
12972
12976
  else
12973
- return A < E ? (A++, new Promise((R) => setTimeout(() => R(C()), I))) : (O.error(`[${Le.logName}]`, u.userId, "尝试获取首帧数据失败"), !1);
12977
+ return A < E ? (A++, new Promise((R) => setTimeout(() => R(C()), I))) : (O.event(`[${Le.logName}]`, u.userId, "尝试获取首帧数据失败"), !1);
12974
12978
  return !0;
12975
12979
  })), Promise.resolve(L);
12976
12980
  };
@@ -12983,39 +12987,39 @@ const xe = (Le = class extends we {
12983
12987
  s,
12984
12988
  f,
12985
12989
  {
12986
- fprt: v - p,
12987
- ifsprtc: x ? x - p : 0,
12990
+ fprt: v - g,
12991
+ ifsprtc: S ? S - g : 0,
12988
12992
  ajsub: t === le.Join ? 1 : 0,
12989
12993
  pctid: this.pcTraceId,
12990
12994
  subtid: (h == null ? void 0 : h.traceId) || "",
12991
- sstc: d - p
12995
+ sstc: d - g
12992
12996
  }
12993
- ), x && this.slsReporter.reportSubscribeFirstFrame(
12997
+ ), S && this.slsReporter.reportSubscribeFirstFrame(
12994
12998
  t === le.Resume,
12995
12999
  i,
12996
13000
  s,
12997
13001
  f,
12998
13002
  {
12999
- fvfrt: x - p,
13000
- fp2fftc: x - v,
13003
+ fvfrt: S - g,
13004
+ fp2fftc: S - v,
13001
13005
  ajsub: t === le.Join ? 1 : 0,
13002
- tffrtc: t === le.Join ? x - this.localJoinTime : x - a,
13006
+ tffrtc: t === le.Join ? S - this.localJoinTime : S - a,
13003
13007
  pctid: this.pcTraceId,
13004
13008
  subtid: (h == null ? void 0 : h.traceId) || "",
13005
- fvfdtc: x - p
13009
+ fvfdtc: S - g
13006
13010
  }
13007
- ), S && this.slsReporter.reportSubscribeFirstPacket(
13011
+ ), x && this.slsReporter.reportSubscribeFirstPacket(
13008
13012
  t === le.Resume,
13009
13013
  i,
13010
13014
  s,
13011
13015
  k.Audio,
13012
13016
  {
13013
- fprt: S - p,
13014
- ifsprtc: S - p,
13017
+ fprt: x - g,
13018
+ ifsprtc: x - g,
13015
13019
  ajsub: t === le.Join ? 1 : 0,
13016
13020
  pctid: this.pcTraceId,
13017
13021
  subtid: (h == null ? void 0 : h.traceId) || "",
13018
- sstc: d - p
13022
+ sstc: d - g
13019
13023
  }
13020
13024
  );
13021
13025
  }), c && (yield Promise.race([y, vt(1500)])), h;
@@ -13205,9 +13209,9 @@ class Wa extends we {
13205
13209
  }
13206
13210
  updateSource(e, t, i) {
13207
13211
  return w(this, null, function* () {
13208
- var c, o, u, h, p, d;
13212
+ var c, o, u, h, g, d;
13209
13213
  const { videoTrack: s, audioTrack: a } = e;
13210
- s && ((c = this.originVideoTrack) == null || c.removeEventListener("ended", this.onVideoTrackEnded)), a && ((o = this.originAudioTrack) == null || o.removeEventListener("ended", this.onAudioTrackEnded)), this.type === Ee.AliRtcSdkStreamTypeScreen ? this.stop() : (s && ((u = this.originVideoTrack) == null || u.stop()), a && ((h = this.originAudioTrack) == null || h.stop())), s && (this.originVideoTrack = s, (p = this.originVideoTrack) == null || p.addEventListener("ended", this.onVideoTrackEnded), this.videoSource = t || $t.Camera, this.updateVideoTrack(s)), a && (this.originAudioTrack = a, (d = this.originAudioTrack) == null || d.addEventListener("ended", this.onAudioTrackEnded), this.audioSource = i || mi.Microphone, this.updateAudioTrack(a));
13214
+ s && ((c = this.originVideoTrack) == null || c.removeEventListener("ended", this.onVideoTrackEnded)), a && ((o = this.originAudioTrack) == null || o.removeEventListener("ended", this.onAudioTrackEnded)), this.type === Ee.AliRtcSdkStreamTypeScreen ? this.stop() : (s && ((u = this.originVideoTrack) == null || u.stop()), a && ((h = this.originAudioTrack) == null || h.stop())), s && (this.originVideoTrack = s, (g = this.originVideoTrack) == null || g.addEventListener("ended", this.onVideoTrackEnded), this.videoSource = t || $t.Camera, this.updateVideoTrack(s)), a && (this.originAudioTrack = a, (d = this.originAudioTrack) == null || d.addEventListener("ended", this.onAudioTrackEnded), this.audioSource = i || mi.Microphone, this.updateAudioTrack(a));
13211
13215
  });
13212
13216
  }
13213
13217
  get currentProfile() {
@@ -13287,15 +13291,15 @@ class Wa extends we {
13287
13291
  }
13288
13292
  process(e) {
13289
13293
  return w(this, null, function* () {
13290
- var t, i, s, a, c, o, u, h, p, d, f, g;
13294
+ var t, i, s, a, c, o, u, h, g, d, f, p;
13291
13295
  this._targetAudioTrack = this.originAudioTrack, this._targetVideoTrack = this.originVideoTrack;
13292
13296
  for (const l of this.plugins)
13293
13297
  try {
13294
13298
  yield l.execute(this, e);
13295
- } catch (S) {
13296
- console.error(`error in plugin-${l.name}, error: ${S}`);
13299
+ } catch (x) {
13300
+ console.error(`error in plugin-${l.name}, error: ${x}`);
13297
13301
  }
13298
- 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 }));
13302
+ 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 = (g = this._publishAudioStream) == null ? void 0 : g.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, (p = this.previewStream) == null || p.deleteTracks({ audio: !0 }));
13299
13303
  });
13300
13304
  }
13301
13305
  /**
@@ -13397,7 +13401,7 @@ const Xe = (Bt = class extends we {
13397
13401
  m(this, "_publishLocalScreenStreamEnabled", !0);
13398
13402
  this.screenStreamInfo.setVideoContentHint("motion"), this.pluginManager = e, this.slsReporter = t;
13399
13403
  const i = (s) => w(this, null, function* () {
13400
- if (O.info(`[${Bt.logName}]`, "plugin added", s.name), !s.isSupported("6.13.6")) {
13404
+ if (O.info(`[${Bt.logName}]`, "plugin added", s.name), !s.isSupported("6.13.7-beta.1")) {
13401
13405
  console.warn(`${s.name} is not supported!!!`), s.emit("unsupported");
13402
13406
  return;
13403
13407
  }
@@ -13506,7 +13510,7 @@ const Xe = (Bt = class extends we {
13506
13510
  }
13507
13511
  createLocalStream(e) {
13508
13512
  return w(this, null, function* () {
13509
- var p;
13513
+ var g;
13510
13514
  const { screen: t, mediaStream: i, videoProfile: s, screenProfile: a } = e;
13511
13515
  let { video: c, audio: o } = e;
13512
13516
  const u = K0(e);
@@ -13522,7 +13526,7 @@ const Xe = (Bt = class extends we {
13522
13526
  custom: !!i,
13523
13527
  mediaStream: i,
13524
13528
  skipProfile: !0
13525
- }), o && !i && this.slsReporter.reportAudio(null, Date.now() - d, ((p = h == null ? void 0 : h.audioTrack) == null ? void 0 : p.label) || ""), t && !i && this.slsReporter.reportScreen(null, Date.now() - d);
13529
+ }), o && !i && this.slsReporter.reportAudio(null, Date.now() - d, ((g = h == null ? void 0 : h.audioTrack) == null ? void 0 : g.label) || ""), t && !i && this.slsReporter.reportScreen(null, Date.now() - d);
13526
13530
  } catch (f) {
13527
13531
  throw o && !i && this.slsReporter.reportAudio(f, Date.now() - d, ""), t && !i && this.slsReporter.reportScreen(null, Date.now() - d), f;
13528
13532
  }
@@ -13558,14 +13562,14 @@ const Xe = (Bt = class extends we {
13558
13562
  }
13559
13563
  createHTTPPublishStream() {
13560
13564
  return w(this, null, function* () {
13561
- var o, u, h, p;
13565
+ var o, u, h, g;
13562
13566
  let e, t = !1, i, s, a;
13563
13567
  const c = yield this.publishStreams;
13564
13568
  try {
13565
13569
  if (!c.audio && !c.video && !c.videoSmall && !c.screen)
13566
13570
  throw O.error(`[${Bt.logName}]`, "no tracks founded"), new V(U.ERR_SDK_PUBLISH_INVAILD, "no tracks founded");
13567
13571
  const d = new MediaStream();
13568
- (o = c.audio) != null && o.audioTrack && d.addTrack(c.audio.audioTrack), (u = c.video) != null && u.videoTrack ? (d.addTrack(c.video.videoTrack), s = c.videoSmall, a = c.screen) : (h = c.screen) != null && h.videoTrack && (i = k.Screen, d.addTrack((p = c.screen) == null ? void 0 : p.videoTrack), t = !0), e = yield bn(d), t ? (this.screenStreamInfo.cloneVideoProfile(e), this.publishingScreenVideoStream = e) : (this.cameraStreamInfo.cloneVideoProfile(e), this.publishingCameraVideoStream = e);
13572
+ (o = c.audio) != null && o.audioTrack && d.addTrack(c.audio.audioTrack), (u = c.video) != null && u.videoTrack ? (d.addTrack(c.video.videoTrack), s = c.videoSmall, a = c.screen) : (h = c.screen) != null && h.videoTrack && (i = k.Screen, d.addTrack((g = c.screen) == null ? void 0 : g.videoTrack), t = !0), e = yield bn(d), t ? (this.screenStreamInfo.cloneVideoProfile(e), this.publishingScreenVideoStream = e) : (this.cameraStreamInfo.cloneVideoProfile(e), this.publishingCameraVideoStream = e);
13569
13573
  } catch (d) {
13570
13574
  }
13571
13575
  return { publishStream: e, videoSmallStream: s, screenStream: a, vMsid: i };
@@ -13713,9 +13717,9 @@ class fc extends Kt {
13713
13717
  return;
13714
13718
  }
13715
13719
  const t = new MediaStreamTrackProcessor({ track: e.originVideoTrack }), i = new MediaStreamTrackGenerator({ kind: "video" }), s = new MediaStream([i]), a = this, c = new TransformStream({
13716
- transform(p, d) {
13720
+ transform(g, d) {
13717
13721
  return w(this, null, function* () {
13718
- const f = yield a.handleFrame(p, e);
13722
+ const f = yield a.handleFrame(g, e);
13719
13723
  yield d.enqueue(f), f == null || f.close();
13720
13724
  });
13721
13725
  }
@@ -14470,8 +14474,8 @@ class Te extends we {
14470
14474
  const s = Fr(t);
14471
14475
  s.length !== 0 && (s.forEach((o) => {
14472
14476
  var u;
14473
- (u = this.publisher) == null || u.resetElement(o), Object.values(this.usersViewMap).forEach(({ cameraViews: h = [], screenViews: p = [] }) => {
14474
- h.includes(o) && h.splice(h.indexOf(o), 1), p.includes(o) && p.splice(p.indexOf(o), 1);
14477
+ (u = this.publisher) == null || u.resetElement(o), Object.values(this.usersViewMap).forEach(({ cameraViews: h = [], screenViews: g = [] }) => {
14478
+ h.includes(o) && h.splice(h.indexOf(o), 1), g.includes(o) && g.splice(g.indexOf(o), 1);
14475
14479
  });
14476
14480
  }), (c = this.userMap[e]) == null || c.setViewConfig(s, i));
14477
14481
  }
@@ -14514,8 +14518,8 @@ class Te extends we {
14514
14518
  let u = this.getRemoteUser(t);
14515
14519
  if (!u)
14516
14520
  return;
14517
- const h = u.streamInfo.audioTrackInfo, p = u.streamInfo.videoTrackInfo;
14518
- u.updateRemoteTracks(i, o, a, c), u.updateSubscribe(le.Publish), (h !== u.streamInfo.audioTrackInfo || p !== u.streamInfo.videoTrackInfo) && this.emit(
14521
+ const h = u.streamInfo.audioTrackInfo, g = u.streamInfo.videoTrackInfo;
14522
+ u.updateRemoteTracks(i, o, a, c), u.updateSubscribe(le.Publish), (h !== u.streamInfo.audioTrackInfo || g !== u.streamInfo.videoTrackInfo) && this.emit(
14519
14523
  "remoteTrackAvailableChange",
14520
14524
  t,
14521
14525
  u.streamInfo.audioTrackInfo,
@@ -15290,7 +15294,7 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15290
15294
  ctm: Math.floor(s[0].timestamp || 0),
15291
15295
  src: s[0].ssrc || "",
15292
15296
  codec: s[0]._codec || ""
15293
- }, o = [], u = [], h = [], p = [], d = [], f = [], g = [], l = [], S = [], v = [], x = [], b = [], y = [], E = [], I = [], A = [], C = [], L = [], _ = [];
15297
+ }, o = [], u = [], h = [], g = [], d = [], f = [], p = [], l = [], x = [], v = [], S = [], b = [], y = [], E = [], I = [], A = [], C = [], L = [], _ = [];
15294
15298
  try {
15295
15299
  if (s.forEach((R) => {
15296
15300
  var F, M, J, j, ue, X;
@@ -15303,24 +15307,24 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15303
15307
  const ae = Je(fe($, 8, 2e7), T);
15304
15308
  h.push(ae);
15305
15309
  const Q = pe(R, "packetsSent"), te = Je(Q, T);
15306
- p.push(te);
15310
+ g.push(te);
15307
15311
  const ee = pe(R, "packetsLost"), P = Je(ee, T);
15308
15312
  d.push(P);
15309
15313
  const N = Rt(ee, Q);
15310
15314
  if (f.push(N), a)
15311
- (M = R._source) != null && M.audioLevel && g.push(Xa(R._source.audioLevel)), l.push(0);
15315
+ (M = R._source) != null && M.audioLevel && p.push(Xa(R._source.audioLevel)), l.push(0);
15312
15316
  else {
15313
- 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));
15317
+ 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));
15314
15318
  const Ve = pe(R, "totalPacketSendDelay");
15315
15319
  C.push(fe(Ve, 1 / (ee || 1), 2e3));
15316
15320
  const ze = pe(R, "qpSum");
15317
15321
  L.push(fe(ze, 1 / (R.framesPerSecond || 1), 51)), _.push(0);
15318
15322
  }
15319
- }), c.sbr = o.join(","), c.mbrs = u.join(","), c.pbrs = h.join(","), c.ps = p.join(","), c.pl = d.join(","), c.plr = f.join(","), a) {
15323
+ }), c.sbr = o.join(","), c.mbrs = u.join(","), c.pbrs = h.join(","), c.ps = g.join(","), c.pl = d.join(","), c.plr = f.join(","), a) {
15320
15324
  const R = (i == null ? void 0 : i.getSettings().sampleRate) || 0;
15321
- c.ailevel = g.join(","), c.arpc = l.join(","), c.arsr = R, c.aesr = R, c.publevel = -90, c.rawlevel = -90;
15325
+ c.ailevel = p.join(","), c.arpc = l.join(","), c.arsr = R, c.aesr = R, c.publevel = -90, c.rawlevel = -90;
15322
15326
  } else
15323
- 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(",");
15327
+ 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(",");
15324
15328
  } catch (R) {
15325
15329
  }
15326
15330
  this.log({
@@ -15341,7 +15345,7 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15341
15345
  ctm: Math.floor(s[0].timestamp || 0),
15342
15346
  src: s[0].ssrc || "",
15343
15347
  codec: s[0]._codec || ""
15344
- }, 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 = [];
15348
+ }, o = [], u = [], h = [], g = [], d = [], f = [], p = [], 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 = [];
15345
15349
  try {
15346
15350
  s.forEach((j) => {
15347
15351
  var Qe, Ct;
@@ -15354,7 +15358,7 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15354
15358
  const Ze = Je(fe(Ve, 8, 2e7), ue);
15355
15359
  h.push(Ze);
15356
15360
  const Se = pe(j, "packetsReceived"), Pe = Je(Se, ue);
15357
- p.push(Pe);
15361
+ g.push(Pe);
15358
15362
  const nt = pe(j, "packetsLost"), Et = Je(nt, ue);
15359
15363
  d.push(Et);
15360
15364
  const Nt = Rt(nt, Se);
@@ -15362,13 +15366,13 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15362
15366
  const At = pe(j, "jitterBufferDelay"), Jt = pe(j, "jitterBufferEmittedCount");
15363
15367
  if (j.jitterBufferDelay && j.jitterBufferEmittedCount) {
15364
15368
  const lt = fe(At, 1e3 / Jt, 1e4);
15365
- g.push(lt);
15369
+ p.push(lt);
15366
15370
  } else
15367
- g.push(0);
15371
+ p.push(0);
15368
15372
  const _t = pe(j, "fecPacketsReceived");
15369
15373
  b.push(Rt(_t, Se));
15370
15374
  const ke = pe(j, "retransmittedPacketsReceived"), Ce = Se + nt - ke;
15371
- if (S.push(Rt(Se - ke, Ce)), v.push(Rt(nt, Ce)), l.push(Rt(ke, Ce)), x.push(Ce), M.push(0), J.push(""), a) {
15375
+ if (x.push(Rt(Se - ke, Ce)), v.push(Rt(nt, Ce)), l.push(Rt(ke, Ce)), S.push(Ce), M.push(0), J.push(""), a) {
15372
15376
  E.push(Xa(j.audioLevel));
15373
15377
  const lt = Lc(j, "synthesizedSamplesEvents");
15374
15378
  I.push(lt);
@@ -15396,7 +15400,7 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15396
15400
  const Gt = pe(j, "jitterBufferMinimumDelay");
15397
15401
  Gt && We ? N.push(fe(Gt, 1e3 / We, 3e4)) : N.push(0);
15398
15402
  }
15399
- }), 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(","));
15403
+ }), c.rbr = o.join(","), c.mbrs = u.join(","), c.pbrs = h.join(","), c.pr = g.join(","), c.pl = d.join(","), c.plr = f.join(","), c.jd = p.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(","));
15400
15404
  } catch (j) {
15401
15405
  }
15402
15406
  this.log({
@@ -15415,13 +15419,13 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15415
15419
  reportNetworkMonitor(n) {
15416
15420
  if (n.length <= 0)
15417
15421
  return;
15418
- const e = [], t = [], i = [], s = [], a = [], c = [], o = [], u = [], h = [], p = [];
15419
- n.forEach((f, g) => {
15420
- var S;
15422
+ const e = [], t = [], i = [], s = [], a = [], c = [], o = [], u = [], h = [], g = [];
15423
+ n.forEach((f, p) => {
15424
+ var x;
15421
15425
  if (!f.timestamp)
15422
15426
  return;
15423
- const l = (S = f._last) != null && S.timestamp ? f.timestamp - f._last.timestamp : 1e3;
15424
- e.push(fe(f.currentRoundTripTime, 1e3)), t.push(fe(f.availableOutgoingBitrate, 8, 2e8)), i.push(Je(fe(f.bytesSent, 8, 2e7), l, 25e6)), s.push(Je(fe(f.bytesReceived, 8, 2e7), l, 25e6)), a.push(0), c.push(0), g % 5 === 0 && (o.push(""), u.push(""), h.push(""), p.push(""));
15427
+ const l = (x = f._last) != null && x.timestamp ? f.timestamp - f._last.timestamp : 1e3;
15428
+ e.push(fe(f.currentRoundTripTime, 1e3)), t.push(fe(f.availableOutgoingBitrate, 8, 2e8)), i.push(Je(fe(f.bytesSent, 8, 2e7), l, 25e6)), s.push(Je(fe(f.bytesReceived, 8, 2e7), l, 25e6)), a.push(0), c.push(0), p % 5 === 0 && (o.push(""), u.push(""), h.push(""), g.push(""));
15425
15429
  });
15426
15430
  const d = {
15427
15431
  ctm: Math.floor(n[0].timestamp || 0),
@@ -15431,7 +15435,7 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15431
15435
  cpu: o.join(","),
15432
15436
  mem: u.join(","),
15433
15437
  sysmem: h.join(","),
15434
- systotalmem: p.join(","),
15438
+ systotalmem: g.join(","),
15435
15439
  audioonly: this.engine.isAudioOnly() ? 1 : 0
15436
15440
  };
15437
15441
  this.log({
@@ -15453,7 +15457,7 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15453
15457
  * @param {string} tid
15454
15458
  */
15455
15459
  reportJoin(n, e, t = "") {
15456
- var p, d;
15460
+ var g, d;
15457
15461
  const { start: i, rs: s = 0, re: a = 0 } = e, c = Date.now() - i, o = a - s;
15458
15462
  let u = 0;
15459
15463
  s && (u = s - i);
@@ -15461,7 +15465,7 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15461
15465
  a && (h = a - s), this.log({
15462
15466
  evetid: 10010,
15463
15467
  args: this.data2String({
15464
- sesid: ((p = this.authInfo) == null ? void 0 : p.sessionId) || "",
15468
+ sesid: ((g = this.authInfo) == null ? void 0 : g.sessionId) || "",
15465
15469
  joitm: c,
15466
15470
  rslt: n,
15467
15471
  gslbtm: 0,
@@ -15528,7 +15532,7 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15528
15532
  * @param {string} tid
15529
15533
  * @param {number} pubTime
15530
15534
  */
15531
- reportPublish(n, e, t, i, s, a, c, o, u, h, p) {
15535
+ reportPublish(n, e, t, i, s, a, c, o, u, h, g) {
15532
15536
  this.log({
15533
15537
  evetid: n ? 10032 : 10030,
15534
15538
  calid: t,
@@ -15541,7 +15545,7 @@ const fe = (r, n = 1, e = 6e4, t = 0) => {
15541
15545
  isaudio: c ? 1 : 0,
15542
15546
  rslt: o,
15543
15547
  tid: "123",
15544
- pubtm: Date.now() - p,
15548
+ pubtm: Date.now() - g,
15545
15549
  pctid: u,
15546
15550
  pubtid: h,
15547
15551
  isvp: 0,
@@ -16063,7 +16067,7 @@ const z = (K = class extends we {
16063
16067
  * 监听 Publisher 事件
16064
16068
  */
16065
16069
  addPublisherListeners() {
16066
- var e, t, i, s, a, c, o, u, h, p;
16070
+ var e, t, i, s, a, c, o, u, h, g;
16067
16071
  (e = this.publisher) == null || e.on(Ne.Local, (d) => {
16068
16072
  O.event("[Publisher] Device Status Change", d), this.onLocalDeviceStatusChange(d);
16069
16073
  }), (t = this.publisher) == null || t.on(kt.VideoTrackEnded, () => {
@@ -16089,24 +16093,24 @@ const z = (K = class extends we {
16089
16093
  );
16090
16094
  }), (a = this.publisher) == null || a.on(
16091
16095
  "localDeviceException",
16092
- (d, f, g = "") => {
16093
- this.emit("localDeviceException", d, f, g);
16096
+ (d, f, p = "") => {
16097
+ this.emit("localDeviceException", d, f, p);
16094
16098
  }
16095
- ), (c = this.publisher) == null || c.on("audioPublishStateChanged", (d, f, g) => {
16099
+ ), (c = this.publisher) == null || c.on("audioPublishStateChanged", (d, f, p) => {
16096
16100
  var l;
16097
- this.emit("audioPublishStateChanged", d, f, g, (l = this.channel) != null ? l : "");
16098
- }), (o = this.publisher) == null || o.on("videoPublishStateChanged", (d, f, g) => {
16101
+ this.emit("audioPublishStateChanged", d, f, p, (l = this.channel) != null ? l : "");
16102
+ }), (o = this.publisher) == null || o.on("videoPublishStateChanged", (d, f, p) => {
16099
16103
  var l;
16100
- this.emit("videoPublishStateChanged", d, f, g, (l = this.channel) != null ? l : "");
16101
- }), (u = this.publisher) == null || u.on("dualStreamPublishStateChanged", (d, f, g) => {
16104
+ this.emit("videoPublishStateChanged", d, f, p, (l = this.channel) != null ? l : "");
16105
+ }), (u = this.publisher) == null || u.on("dualStreamPublishStateChanged", (d, f, p) => {
16102
16106
  var l;
16103
- this.emit("dualStreamPublishStateChanged", d, f, g, (l = this.channel) != null ? l : "");
16104
- }), (h = this.publisher) == null || h.on("screenPublishStateChanged", (d, f, g) => {
16107
+ this.emit("dualStreamPublishStateChanged", d, f, p, (l = this.channel) != null ? l : "");
16108
+ }), (h = this.publisher) == null || h.on("screenPublishStateChanged", (d, f, p) => {
16105
16109
  var l;
16106
- this.emit("screenSharePublishStateChanged", d, f, g, (l = this.channel) != null ? l : "");
16107
- }), (p = this.publisher) == null || p.on("dataPublishStateChanged", (d, f, g) => {
16110
+ this.emit("screenSharePublishStateChanged", d, f, p, (l = this.channel) != null ? l : "");
16111
+ }), (g = this.publisher) == null || g.on("dataPublishStateChanged", (d, f, p) => {
16108
16112
  var l;
16109
- this.emit("dataPublishStateChanged", d, f, g, (l = this.channel) != null ? l : "");
16113
+ this.emit("dataPublishStateChanged", d, f, p, (l = this.channel) != null ? l : "");
16110
16114
  });
16111
16115
  }
16112
16116
  occurError(e, t) {
@@ -16267,8 +16271,8 @@ const z = (K = class extends we {
16267
16271
  a > 1 && (clearInterval(u), o()), a += 1;
16268
16272
  try {
16269
16273
  yield (h = this.publisher) == null ? void 0 : h.resumePublish(), clearInterval(u), c();
16270
- } catch (p) {
16271
- const { code: d } = p;
16274
+ } catch (g) {
16275
+ const { code: d } = g;
16272
16276
  d !== 10205 && (clearInterval(u), o());
16273
16277
  }
16274
16278
  }), 1e3);
@@ -16378,41 +16382,41 @@ const z = (K = class extends we {
16378
16382
  }
16379
16383
  startAndPublishDefaultDevices(e) {
16380
16384
  return w(this, null, function* () {
16381
- var c, o, u, h, p;
16385
+ var c, o, u, h, g;
16382
16386
  if (!this.publisher)
16383
16387
  return;
16384
16388
  const { hasCamera: t, hasMicrophone: i, hasScreenShare: s } = this.publisher;
16385
- if (t || i || s)
16386
- return;
16387
- try {
16388
- yield (c = this.publisher) == null ? void 0 : c.startDefaultCamera(this._audioOnlyMode);
16389
- } catch (d) {
16390
- O.warn(`[${K.logName}]`, "startDefaultCamera failed", d.code, d.message), d instanceof V && this.occurError(d), this.occurError(
16391
- new V(
16392
- U.ERR_SDK_PUBLISH_VIDEO_STREAM_FAILED,
16393
- `auto start video failed, ${d.message || ""}`
16394
- )
16395
- );
16396
- }
16397
- try {
16398
- yield (o = this.publisher) == null ? void 0 : o.startDefaultAudio();
16399
- } catch (d) {
16400
- O.warn(`[${K.logName}]`, "startDefaultAUdio failed", d.code, d.message), d instanceof V && this.occurError(d), this.occurError(
16401
- new V(
16402
- U.ERR_SDK_PUBLISH_AUDIO_STREAM_FAILED,
16403
- `auto start audio failed, ${d.message || ""}`
16404
- )
16405
- );
16389
+ if (!t && !i && !s) {
16390
+ try {
16391
+ yield (c = this.publisher) == null ? void 0 : c.startDefaultCamera(this._audioOnlyMode);
16392
+ } catch (d) {
16393
+ O.warn(`[${K.logName}]`, "startDefaultCamera failed", d.code, d.message), d instanceof V && this.occurError(d), this.occurError(
16394
+ new V(
16395
+ U.ERR_SDK_PUBLISH_VIDEO_STREAM_FAILED,
16396
+ `auto start video failed, ${d.message || ""}`
16397
+ )
16398
+ );
16399
+ }
16400
+ try {
16401
+ yield (o = this.publisher) == null ? void 0 : o.startDefaultAudio();
16402
+ } catch (d) {
16403
+ O.warn(`[${K.logName}]`, "startDefaultAUdio failed", d.code, d.message), d instanceof V && this.occurError(d), this.occurError(
16404
+ new V(
16405
+ U.ERR_SDK_PUBLISH_AUDIO_STREAM_FAILED,
16406
+ `auto start audio failed, ${d.message || ""}`
16407
+ )
16408
+ );
16409
+ }
16410
+ yield (u = this.publisher) == null ? void 0 : u.previewAll();
16406
16411
  }
16407
- yield (u = this.publisher) == null ? void 0 : u.previewAll();
16408
16412
  const a = ((h = this.publisher) == null ? void 0 : h.publishStreams) || {};
16409
16413
  if (Object.values(a).some((d) => d))
16410
16414
  try {
16411
- yield (p = this.publisher) == null ? void 0 : p.startPublish(!1, e);
16415
+ yield (g = this.publisher) == null ? void 0 : g.startPublish(!1, e);
16412
16416
  } catch (d) {
16413
16417
  const f = [];
16414
- a != null && a.audio && f.push(U.ERR_SDK_PUBLISH_AUDIO_STREAM_FAILED), a != null && a.video && f.push(U.ERR_SDK_PUBLISH_VIDEO_STREAM_FAILED), f.forEach((g) => {
16415
- this.occurError(new V(g, `auto publish stream failed, ${d.message || ""}`));
16418
+ a != null && a.audio && f.push(U.ERR_SDK_PUBLISH_AUDIO_STREAM_FAILED), a != null && a.video && f.push(U.ERR_SDK_PUBLISH_VIDEO_STREAM_FAILED), f.forEach((p) => {
16419
+ this.occurError(new V(p, `auto publish stream failed, ${d.message || ""}`));
16416
16420
  });
16417
16421
  }
16418
16422
  });
@@ -16430,7 +16434,7 @@ const z = (K = class extends we {
16430
16434
  );
16431
16435
  if (this.clientRole === e)
16432
16436
  return;
16433
- this.slsReporter.reportRoleUpdate(this.clientRole, e), this.isInCall() ? this.clientRole === Dt.AliRtcSdkInteractive ? (this.bizControl.isSubscribing ? yield (t = this.publisher) == null ? void 0 : t.clearStream() : yield (i = this.publisher) == null ? void 0 : i.unPublish(), yield this.signalingManager.setClientRole(e)) : (yield this.signalingManager.setClientRole(e), yield this.startAndPublishDefaultDevices(st.JOIN_CHANNEL)) : yield this.signalingManager.setClientRole(e), this.clientRole = e;
16437
+ this.slsReporter.reportRoleUpdate(this.clientRole, e), this.isInCall() ? this.clientRole === Dt.AliRtcSdkInteractive ? (this.bizControl.isSubscribing ? yield (t = this.publisher) == null ? void 0 : t.clearStream() : yield (i = this.publisher) == null ? void 0 : i.unPublish(), yield this.signalingManager.setClientRole(e)) : (yield this.signalingManager.setClientRole(e), yield this.startAndPublishDefaultDevices(st.ROLE_CHANGE)) : yield this.signalingManager.setClientRole(e), this.clientRole = e;
16434
16438
  } catch (s) {
16435
16439
  throw s.code === 403 && this.emit("authInfoExpired"), s;
16436
16440
  }
@@ -16507,10 +16511,10 @@ const z = (K = class extends we {
16507
16511
  );
16508
16512
  this.connectState = he.AliRtcConnectionStatusConnected, (o = this.publisher) == null || o.reportSelfDeviceStatus(), this.bizControl.init(i, h), this.setCheckAuthInfoTimer(i.timestamp, h.timestamp), this.liveTranscoding.setAuthInfo(i), this.slsReporter.reportJoin(0, a, h.tid), this.slsReporter.reportJoinResult(null);
16509
16513
  } catch (h) {
16510
- const p = (u = h.code) != null ? u : -1, d = h.reason || h.message || "";
16511
- throw this.connectState = he.AliRtcConnectionStatusDisconnected, this.slsReporter.reportJoin(p, a, ""), this.slsReporter.reportJoinResult(h), new V(p, d);
16514
+ const g = (u = h.code) != null ? u : -1, d = h.reason || h.message || "";
16515
+ throw this.connectState = he.AliRtcConnectionStatusDisconnected, this.slsReporter.reportJoin(g, a, ""), this.slsReporter.reportJoinResult(h), new V(g, d);
16512
16516
  }
16513
- this.currentRoleCanPublish && (yield this.startAndPublishDefaultDevices(st.ROLE_CHANGE)), this.remoteUsers.forEach((h) => {
16517
+ this.currentRoleCanPublish && (yield this.startAndPublishDefaultDevices(st.JOIN_CHANNEL)), this.remoteUsers.forEach((h) => {
16514
16518
  h.updateSubscribe(le.Join);
16515
16519
  });
16516
16520
  } else {
@@ -16879,7 +16883,7 @@ const z = (K = class extends we {
16879
16883
  }
16880
16884
  setCameraCapturerConfiguration(e) {
16881
16885
  return w(this, null, function* () {
16882
- var u, h, p;
16886
+ var u, h, g;
16883
16887
  const {
16884
16888
  width: t = Zt.width,
16885
16889
  height: i = Zt.height,
@@ -16893,7 +16897,7 @@ const z = (K = class extends we {
16893
16897
  height: i,
16894
16898
  frameRate: s,
16895
16899
  maxBitrate: a
16896
- }), c !== void 0 && ((h = this.publisher) == null || h.setCameraDirection(c)), o && ((p = this.publisher) == null || p.setCameraDeviceId(o));
16900
+ }), c !== void 0 && ((h = this.publisher) == null || h.setCameraDirection(c)), o && ((g = this.publisher) == null || g.setCameraDeviceId(o));
16897
16901
  });
16898
16902
  }
16899
16903
  setCameraCapturerContentHint(e) {
@@ -16904,10 +16908,10 @@ const z = (K = class extends we {
16904
16908
  }
16905
16909
  enableLocalVideo(e = !0) {
16906
16910
  return w(this, null, function* () {
16907
- var t, i, s, a, c, o, u, h, p, d, f;
16911
+ var t, i, s, a, c, o, u, h, g, d, f;
16908
16912
  if (this._audioOnlyMode)
16909
16913
  throw new V(U.ERR_INNER, "Cannot enable local video in audio only mode");
16910
- e ? ((i = (t = this.publisher) == null ? void 0 : t.publishStreams) != null && i.video && ((c = (a = (s = this.publisher) == null ? void 0 : s.publishStreams) == null ? void 0 : a.video) == null || c.disableVideo(), (p = (h = (u = (o = this.publisher) == null ? void 0 : o.publishStreams) == null ? void 0 : u.video) == null ? void 0 : h.videoTrack) == null || p.stop()), yield (d = this.publisher) == null ? void 0 : d.startCameraCapture()) : yield (f = this.publisher) == null ? void 0 : f.stopCameraCapture();
16914
+ e ? ((i = (t = this.publisher) == null ? void 0 : t.publishStreams) != null && i.video && ((c = (a = (s = this.publisher) == null ? void 0 : s.publishStreams) == null ? void 0 : a.video) == null || c.disableVideo(), (g = (h = (u = (o = this.publisher) == null ? void 0 : o.publishStreams) == null ? void 0 : u.video) == null ? void 0 : h.videoTrack) == null || g.stop()), yield (d = this.publisher) == null ? void 0 : d.startCameraCapture()) : yield (f = this.publisher) == null ? void 0 : f.stopCameraCapture();
16911
16915
  });
16912
16916
  }
16913
16917
  muteLocalCamera(e) {
@@ -16938,16 +16942,16 @@ const z = (K = class extends we {
16938
16942
  }
16939
16943
  switchCamera(e, t) {
16940
16944
  return w(this, null, function* () {
16941
- var s, a, c, o, u, h, p, d, f, g, l, S, v;
16945
+ var s, a, c, o, u, h, g, d, f, p, l, x, v;
16942
16946
  if (this._audioOnlyMode)
16943
16947
  throw new V(U.ERR_INNER, "Cannot switch camera in audio only mode");
16944
16948
  const i = {};
16945
16949
  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)) {
16946
- (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());
16947
- const x = {
16950
+ (u = (o = this.publisher) == null ? void 0 : o.publishStreams) != null && u.video && ((d = (g = (h = this.publisher) == null ? void 0 : h.publishStreams) == null ? void 0 : g.video) == null || d.disableVideo(), (x = (l = (p = (f = this.publisher) == null ? void 0 : f.publishStreams) == null ? void 0 : p.video) == null ? void 0 : l.videoTrack) == null || x.stop());
16951
+ const S = {
16948
16952
  video: !0
16949
16953
  };
16950
- t && (x.mediaStream = new MediaStream([t])), yield (v = this.publisher) == null ? void 0 : v.createLocalStream(x);
16954
+ t && (S.mediaStream = new MediaStream([t])), yield (v = this.publisher) == null ? void 0 : v.createLocalStream(S);
16951
16955
  }
16952
16956
  });
16953
16957
  }