aliyun-rtc-sdk 6.14.4-beta.6 → 6.14.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,25 +1,25 @@
1
- var jn = Object.defineProperty, zn = Object.defineProperties;
2
- var Wn = Object.getOwnPropertyDescriptors;
3
- var li = Object.getOwnPropertySymbols, $n = Object.getPrototypeOf, xs = Object.prototype.hasOwnProperty, Ss = Object.prototype.propertyIsEnumerable, Kn = Reflect.get;
4
- var Bi = (r, a, e) => a in r ? jn(r, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[a] = e, J = (r, a) => {
1
+ var Wn = Object.defineProperty, $n = Object.defineProperties;
2
+ var Kn = Object.getOwnPropertyDescriptors;
3
+ var li = Object.getOwnPropertySymbols, qn = Object.getPrototypeOf, Ss = Object.prototype.hasOwnProperty, xs = Object.prototype.propertyIsEnumerable, Jn = Reflect.get;
4
+ var Bi = (r, a, e) => a in r ? Wn(r, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[a] = e, J = (r, a) => {
5
5
  for (var e in a || (a = {}))
6
- xs.call(a, e) && Bi(r, e, a[e]);
6
+ Ss.call(a, e) && Bi(r, e, a[e]);
7
7
  if (li)
8
8
  for (var e of li(a))
9
- Ss.call(a, e) && Bi(r, e, a[e]);
9
+ xs.call(a, e) && Bi(r, e, a[e]);
10
10
  return r;
11
- }, ut = (r, a) => zn(r, Wn(a));
11
+ }, ut = (r, a) => $n(r, Kn(a));
12
12
  var Dt = (r, a) => {
13
13
  var e = {};
14
14
  for (var t in r)
15
- xs.call(r, t) && a.indexOf(t) < 0 && (e[t] = r[t]);
15
+ Ss.call(r, t) && a.indexOf(t) < 0 && (e[t] = r[t]);
16
16
  if (r != null && li)
17
17
  for (var t of li(r))
18
- a.indexOf(t) < 0 && Ss.call(r, t) && (e[t] = r[t]);
18
+ a.indexOf(t) < 0 && xs.call(r, t) && (e[t] = r[t]);
19
19
  return e;
20
20
  };
21
21
  var g = (r, a, e) => (Bi(r, typeof a != "symbol" ? a + "" : a, e), e);
22
- var Ni = (r, a, e) => Kn($n(r), e, a);
22
+ var Ni = (r, a, e) => Jn(qn(r), e, a);
23
23
  var w = (r, a, e) => new Promise((t, i) => {
24
24
  var s = (o) => {
25
25
  try {
@@ -36,9 +36,9 @@ var w = (r, a, e) => new Promise((t, i) => {
36
36
  }, c = (o) => o.done ? t(o.value) : Promise.resolve(o.value).then(s, n);
37
37
  c((e = e.apply(r, a)).next());
38
38
  });
39
- import { AliRTS as le, EConnectStatus as Li, EDatachannelStatus as vs } from "aliyun-rts-sdk";
39
+ import { AliRTS as le, EConnectStatus as Mi, EDatachannelStatus as vs } from "aliyun-rts-sdk";
40
40
  import De from "eventemitter3";
41
- var qn = Object.defineProperty, Jn = (r, a, e) => a in r ? qn(r, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[a] = e, Tt = (r, a, e) => (Jn(r, typeof a != "symbol" ? a + "" : a, e), e), Mi = { exports: {} }, Fi = { exports: {} }, Vi, bs;
41
+ var Gn = Object.defineProperty, Xn = (r, a, e) => a in r ? Gn(r, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[a] = e, Tt = (r, a, e) => (Xn(r, typeof a != "symbol" ? a + "" : a, e), e), Li = { exports: {} }, Fi = { exports: {} }, Vi, bs;
42
42
  function Fe() {
43
43
  if (bs)
44
44
  return Vi;
@@ -482,7 +482,7 @@ function Fe() {
482
482
  return Vi = t, Vi;
483
483
  }
484
484
  var Oi = { exports: {} }, Ui = { exports: {} }, Hi, Es;
485
- function Gn() {
485
+ function Yn() {
486
486
  if (Es)
487
487
  return Hi;
488
488
  Es = 1;
@@ -494,11 +494,11 @@ function Gn() {
494
494
  }, Hi;
495
495
  }
496
496
  var _s;
497
- function Xn() {
497
+ function Zn() {
498
498
  if (_s)
499
499
  return Ui.exports;
500
500
  _s = 1;
501
- var r = Fe(), a = Gn(), e = "aokcdqn3ly@e629dabd48a9933", t = function(s, n) {
501
+ var r = Fe(), a = Yn(), e = "aokcdqn3ly@e629dabd48a9933", t = function(s, n) {
502
502
  var c;
503
503
  if (n.t === "error" && (c = s.requestQueue[0]) && c.t === "error" && n.msg === c.msg)
504
504
  return n.times = c.times + 1, void (s.requestQueue[0] = n);
@@ -654,8 +654,8 @@ function Xn() {
654
654
  return this;
655
655
  },
656
656
  _lg: function(s, n, c, o) {
657
- var u = this, h = u._conf, p = u.getPage(), d = h.ignore || {}, f = d.ignoreErrors, m = d.ignoreResErrors, l = d.ignoreUrls, x = d.ignoreApis;
658
- if (u._isRobot || r.ignoreByRule(p, l) || r.ignoreByRule(r.decode(p), l) || s === "error" && (r.ignoreByRule(n.msg, f) || r.ignoreByRule(r.decode(n.msg), f)) || s === "resourceError" && (r.ignoreByRule(n.src, m) || r.ignoreByRule(r.decode(n.src), m)) || s === "api" && (r.ignoreByRule(n.api, x) || r.ignoreByRule(r.decode(n.api), x)) || !u.checkImgUrl(h.imgUrl) || !n || h.disabled || !h.pid || o === 0)
657
+ var u = this, h = u._conf, p = u.getPage(), d = h.ignore || {}, f = d.ignoreErrors, m = 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(n.msg, f) || r.ignoreByRule(r.decode(n.msg), f)) || s === "resourceError" && (r.ignoreByRule(n.src, m) || r.ignoreByRule(r.decode(n.src), m)) || s === "api" && (r.ignoreByRule(n.api, S) || r.ignoreByRule(r.decode(n.api), S)) || !u.checkImgUrl(h.imgUrl) || !n || h.disabled || !h.pid || o === 0)
659
659
  return u;
660
660
  var v = n.dl;
661
661
  if (delete n.dl, n = r.ext({
@@ -681,7 +681,7 @@ function Xn() {
681
681
  try {
682
682
  if (!(n = h.beforeReport(n)))
683
683
  return u;
684
- } catch (S) {
684
+ } catch (x) {
685
685
  return u;
686
686
  }
687
687
  return o === 1 ? t(u, n) : c && !u.sampling(c) ? u : t(u, n);
@@ -729,11 +729,11 @@ function Xn() {
729
729
  }, Ui.exports = i, Ui.exports;
730
730
  }
731
731
  var As;
732
- function Yn() {
732
+ function Qn() {
733
733
  if (As)
734
734
  return Oi.exports;
735
735
  As = 1;
736
- var r = Fe(), a = Xn(), e = ["api", "success", "time", "code", "msg", "trace", "traceId", "begin", "pv_id", "sid", "seq", "domain", "flag", "apiSnapshot", "tag", "c1", "c2", "c3"], t = function(s) {
736
+ var r = Fe(), a = Zn(), e = ["api", "success", "time", "code", "msg", "trace", "traceId", "begin", "pv_id", "sid", "seq", "domain", "flag", "apiSnapshot", "tag", "c1", "c2", "c3"], t = function(s) {
737
737
  var n = (s.key || "default").split("::");
738
738
  return n.length > 1 ? r.ext(s, {
739
739
  group: n[0],
@@ -827,12 +827,12 @@ function Yn() {
827
827
  stack_raw: r.encode(u)
828
828
  },
829
829
  dl: h
830
- }, l = ["tag", "c1", "c2", "c3"], x = 0; x < l.length; x++) {
831
- var v = l[x];
830
+ }, l = ["tag", "c1", "c2", "c3"], S = 0; S < l.length; S++) {
831
+ var v = l[S];
832
832
  n[v] && (m[v] = n[v]);
833
833
  }
834
- var S = (this.getConfig("ignore") || {}).ignoreErrors;
835
- return r.ignoreByRule(m.msg, S) || r.ignoreByRule(r.decode(m.msg), S) ? this : (this.beforeSend && this.beforeSend("error", m), this._lg("error", m, 1));
834
+ var x = (this.getConfig("ignore") || {}).ignoreErrors;
835
+ return r.ignoreByRule(m.msg, x) || r.ignoreByRule(r.decode(m.msg), x) ? this : (this.beforeSend && this.beforeSend("error", m), this._lg("error", m, 1));
836
836
  },
837
837
  behavior: function(s) {
838
838
  if (s) {
@@ -842,7 +842,7 @@ function Yn() {
842
842
  return this.beforeSend && this.beforeSend("behavior", n), this._lg("behavior", n, 1);
843
843
  }
844
844
  },
845
- api: function(s, n, c, o, u, h, p, d, f, m, l, x, v, S, b, E) {
845
+ api: function(s, n, c, o, u, h, p, d, f, m, l, S, v, x, b, E) {
846
846
  if (!s)
847
847
  return r.warn("[retcode] api is null"), this;
848
848
  if (s = typeof s == "string" ? {
@@ -856,9 +856,9 @@ function Yn() {
856
856
  pv_id: d,
857
857
  apiSnapshot: f,
858
858
  domain: m,
859
- flag: x,
859
+ flag: S,
860
860
  tag: v,
861
- c1: S,
861
+ c1: x,
862
862
  c2: b,
863
863
  c3: E
864
864
  } : r.sub(s, e), !r.checkAPI(s.api, !0))
@@ -921,7 +921,7 @@ function Yn() {
921
921
  }), i._super = a, i._root = a, a.Reporter = i, Oi.exports = i, Oi.exports;
922
922
  }
923
923
  var ji = { exports: {} }, ys;
924
- function Zn() {
924
+ function eo() {
925
925
  if (ys)
926
926
  return ji.exports;
927
927
  ys = 1;
@@ -944,7 +944,7 @@ function Zn() {
944
944
  }, ji.exports;
945
945
  }
946
946
  var zi = { exports: {} }, Cs;
947
- function Qn() {
947
+ function to() {
948
948
  if (Cs)
949
949
  return zi.exports;
950
950
  Cs = 1;
@@ -960,7 +960,7 @@ function Qn() {
960
960
  }, zi.exports;
961
961
  }
962
962
  var Wi, Rs;
963
- function eo() {
963
+ function io() {
964
964
  if (Rs)
965
965
  return Wi;
966
966
  Rs = 1;
@@ -972,16 +972,16 @@ function eo() {
972
972
  d[f] = m(l);
973
973
  }
974
974
  }, u = function(d) {
975
- var f, m, l, x, v, S = [];
975
+ var f, m, l, S, v, x = [];
976
976
  if (!d || typeof d.tagName != "string")
977
977
  return "";
978
- if (S.push(d.tagName.toLowerCase()), typeof d.id == "string" && S.push("#".concat(d.id)), typeof (f = d.className) == "string")
978
+ if (x.push(d.tagName.toLowerCase()), typeof d.id == "string" && x.push("#".concat(d.id)), typeof (f = d.className) == "string")
979
979
  for (m = f.split(/\s+/), v = 0; v < m.length; v++)
980
- S.push(".".concat(m[v]));
980
+ x.push(".".concat(m[v]));
981
981
  var b = ["type", "name", "title", "alt", "data-arms-attr"];
982
982
  for (v = 0; v < b.length; v++)
983
- l = b[v], typeof (x = d.getAttribute(l)) == "string" && S.push("[".concat(l, '="').concat(x, '"]'));
984
- return S.join("");
983
+ l = b[v], typeof (S = d.getAttribute(l)) == "string" && x.push("[".concat(l, '="').concat(S, '"]'));
984
+ return x.join("");
985
985
  }, h = function(d, f) {
986
986
  return function(m) {
987
987
  if (m && m !== c) {
@@ -993,20 +993,20 @@ function eo() {
993
993
  l = "<unknown>";
994
994
  }
995
995
  if (l.length !== 0) {
996
- var x = {
996
+ var S = {
997
997
  type: "ui.".concat(d),
998
998
  data: {
999
999
  message: function(v) {
1000
1000
  if (!v || v.nodeType !== 1)
1001
1001
  return "";
1002
- for (var S = v || null, b = [], E = 0, _ = 0, y = 3, A = ""; S && E++ < 5 && !((A = u(S)) === "html" || E > 1 && _ + b.length * y + A.length >= 80); )
1003
- b.push(A), _ += A.length, S = S.parentNode;
1002
+ for (var x = v || null, b = [], E = 0, _ = 0, y = 3, A = ""; x && E++ < 5 && !((A = u(x)) === "html" || E > 1 && _ + b.length * y + A.length >= 80); )
1003
+ b.push(A), _ += A.length, x = x.parentNode;
1004
1004
  return b.reverse().join(" > ");
1005
1005
  }(l)
1006
1006
  },
1007
1007
  timestamp: Date.now()
1008
1008
  };
1009
- d === "click" ? i && i.addBehavior(x) : d === "keypress" && (n || i && i.addBehavior(x), clearTimeout(n), n = setTimeout(function() {
1009
+ d === "click" ? i && i.addBehavior(S) : d === "keypress" && (n || i && i.addBehavior(S), clearTimeout(n), n = setTimeout(function() {
1010
1010
  n = void 0;
1011
1011
  }, 100));
1012
1012
  }
@@ -1014,30 +1014,30 @@ function eo() {
1014
1014
  };
1015
1015
  }, p = function() {
1016
1016
  if (function() {
1017
- var l = e && e.chrome, x = l && l.app && l.app.runtime, v = "history" in e && !!e.history.pushState && !!e.history.replaceState;
1018
- return !x && v;
1017
+ var l = e && e.chrome, S = l && l.app && l.app.runtime, v = "history" in e && !!e.history.pushState && !!e.history.replaceState;
1018
+ return !S && v;
1019
1019
  }()) {
1020
- var d = function(l, x) {
1020
+ var d = function(l, S) {
1021
1021
  var v = {
1022
1022
  type: "navigation",
1023
1023
  data: {
1024
1024
  from: l,
1025
- to: x
1025
+ to: S
1026
1026
  }
1027
1027
  };
1028
- i && i.addBehavior(v), s = x;
1028
+ i && i.addBehavior(v), s = S;
1029
1029
  }, f = e.onpopstate;
1030
1030
  e.onpopstate = function() {
1031
- for (var l = arguments.length, x = new Array(l), v = 0; v < l; v++)
1032
- x[v] = arguments[v];
1033
- var S = e.location.href;
1034
- if (d(s, S), f)
1035
- return f.apply(this, x);
1031
+ for (var l = arguments.length, S = new Array(l), v = 0; v < l; v++)
1032
+ S[v] = arguments[v];
1033
+ var x = e.location.href;
1034
+ if (d(s, x), f)
1035
+ return f.apply(this, S);
1036
1036
  };
1037
1037
  var m = function(l) {
1038
1038
  return function() {
1039
- for (var x = arguments.length, v = new Array(x), S = 0; S < x; S++)
1040
- v[S] = arguments[S];
1039
+ for (var S = arguments.length, v = new Array(S), x = 0; x < S; x++)
1040
+ v[x] = arguments[x];
1041
1041
  var b = v.length > 2 ? v[2] : void 0;
1042
1042
  return b && d(s, String(b)), l.apply(this, v);
1043
1043
  };
@@ -1102,20 +1102,20 @@ function eo() {
1102
1102
  var m = ["debug", "info", "warn", "log", "error", "assert"];
1103
1103
  r.isArray(f) && (m = f);
1104
1104
  for (var l = 0; l < m.length; l++) {
1105
- var x = m[l];
1106
- x && r.isString(x) && e.console[x] && typeof e.console[x] == "function" && o(e.console, x, function(v) {
1107
- var S = x;
1105
+ var S = m[l];
1106
+ S && r.isString(S) && e.console[S] && typeof e.console[S] == "function" && o(e.console, S, function(v) {
1107
+ var x = S;
1108
1108
  return function() {
1109
1109
  for (var b = arguments.length, E = new Array(b), _ = 0; _ < b; _++)
1110
1110
  E[_] = arguments[_];
1111
1111
  var y = {
1112
1112
  type: "console",
1113
1113
  data: {
1114
- level: S,
1114
+ level: x,
1115
1115
  message: E
1116
1116
  }
1117
1117
  };
1118
- if (i && i.addBehavior(y), S === "error")
1118
+ if (i && i.addBehavior(y), x === "error")
1119
1119
  for (var A = 0; A < E.length; A++) {
1120
1120
  var R = E[A];
1121
1121
  R && R.message && R.stack && i && i.errorHandler(new ErrorEvent("error", {
@@ -1144,7 +1144,7 @@ function Kr() {
1144
1144
  return ws || (ws = 1, Is.TIMING_KEYS = ["startTime", "fetchStart", "domainLookupStart", "domainLookupEnd", "connectStart", "connectEnd", "requestStart", "responseStart", "responseEnd", "", "domInteractive", "", "domContentLoadedEventEnd", "", "loadEventStart", "", "msFirstPaint", "secureConnectionStart", "redirectStart", "redirectEnd"]), Is;
1145
1145
  }
1146
1146
  var $i, Ds;
1147
- function to() {
1147
+ function ro() {
1148
1148
  if (Ds)
1149
1149
  return $i;
1150
1150
  Ds = 1;
@@ -1171,7 +1171,7 @@ function to() {
1171
1171
  }, $i;
1172
1172
  }
1173
1173
  var Ki, Ts;
1174
- function io() {
1174
+ function so() {
1175
1175
  if (Ts)
1176
1176
  return Ki;
1177
1177
  Ts = 1;
@@ -1199,10 +1199,10 @@ function io() {
1199
1199
  ready: [12, 1],
1200
1200
  load: [14, 1]
1201
1201
  }, function(m, l) {
1202
- var x = n[e[m[1]]], v = n[e[m[0]]];
1203
- if (o === 2 || x > 0 && v > 0) {
1204
- var S = Math.round(v - x);
1205
- S >= 0 && S < 6e5 && (s[l] = S);
1202
+ var S = n[e[m[1]]], v = n[e[m[0]]];
1203
+ if (o === 2 || S > 0 && v > 0) {
1204
+ var x = Math.round(v - S);
1205
+ x >= 0 && x < 6e5 && (s[l] = x);
1206
1206
  }
1207
1207
  });
1208
1208
  var h = t.navigator.connection, p = i.navigation || {};
@@ -1216,14 +1216,14 @@ function io() {
1216
1216
  }, Ki;
1217
1217
  }
1218
1218
  var Ps, ks;
1219
- function ro() {
1219
+ function ao() {
1220
1220
  return ks || (ks = 1, Ps = function(r, a, e) {
1221
- var t = Fe(), i = to(), s = io(), n = null, c = e.documentElement, o = a.innerWidth || c.clientWidth || e.body.clientWidth, u = a.innerHeight || c.clientHeight || e.body.clientHeight, h = a.navigator.connection, p = {
1221
+ var t = Fe(), i = ro(), s = so(), n = null, c = e.documentElement, o = a.innerWidth || c.clientWidth || e.body.clientWidth, u = a.innerHeight || c.clientHeight || e.body.clientHeight, h = a.navigator.connection, p = {
1222
1222
  sr: screen.width + "x" + screen.height,
1223
1223
  vp: o + "x" + u,
1224
1224
  ct: h ? h.effectiveType || h.type : ""
1225
- }, d = {}, f = function(l, x, v, S, b) {
1226
- if (x === void 0) {
1225
+ }, d = {}, f = function(l, S, v, x, b) {
1226
+ if (S === void 0) {
1227
1227
  var E, _;
1228
1228
  if (!d[l]) {
1229
1229
  E = new RegExp(l + "=([^;]+)");
@@ -1236,7 +1236,7 @@ function ro() {
1236
1236
  }
1237
1237
  return d[l];
1238
1238
  }
1239
- var y = l + "=" + x;
1239
+ var y = l + "=" + S;
1240
1240
  y += "; path=/", v && (y += "; max-age=" + v);
1241
1241
  try {
1242
1242
  return e.cookie = y, !!e.cookie;
@@ -1244,8 +1244,8 @@ function ro() {
1244
1244
  return t.warn("[retcode] can not set cookie: ", A), !1;
1245
1245
  }
1246
1246
  }, m = function(l) {
1247
- var x = l._conf.uid || f("_nk_") || f("_bl_uid");
1248
- return !x && (x = t.uu(), !f("_bl_uid", x, 15552e3)) ? null : x;
1247
+ var S = l._conf.uid || f("_nk_") || f("_bl_uid");
1248
+ return !S && (S = t.uu(), !f("_bl_uid", S, 15552e3)) ? null : S;
1249
1249
  };
1250
1250
  return t.ext(r.prototype, {
1251
1251
  activeErrHandler: function(l) {
@@ -1254,79 +1254,79 @@ function ro() {
1254
1254
  errorHandler: function(l) {
1255
1255
  if (!l)
1256
1256
  return this;
1257
- var x = l.type;
1258
- if (x === "error") {
1257
+ var S = l.type;
1258
+ if (S === "error") {
1259
1259
  var v = l.target || l.srcElement;
1260
1260
  !v || !v.tagName || l.message || l.filename || l.lineno || l.colno ? this.error(l.error || {
1261
1261
  message: l.message
1262
1262
  }, l) : this.resourceErrorHandler(l);
1263
1263
  } else
1264
- x === "unhandledrejection" && t.T(l.reason, "Error") && t.checkAutoError(l.reason) && this.error(l.reason);
1264
+ S === "unhandledrejection" && t.T(l.reason, "Error") && t.checkAutoError(l.reason) && this.error(l.reason);
1265
1265
  try {
1266
1266
  this.getConfig("behavior") && this.reportBehavior && this.reportBehavior();
1267
- } catch (S) {
1267
+ } catch (x) {
1268
1268
  }
1269
1269
  return this;
1270
1270
  },
1271
1271
  resourceErrorHandler: function(l) {
1272
- var x = this, v = l.target || l.srcElement;
1272
+ var S = this, v = l.target || l.srcElement;
1273
1273
  try {
1274
- var S = x.getSrc(v), b = typeof v.tagName == "string" ? v.tagName.toLowerCase() : "", E = x.getXPath(v, 5), _ = t.getURL(S), y = {
1275
- src: S && S.substring(0, 1e3),
1274
+ var x = S.getSrc(v), b = typeof v.tagName == "string" ? v.tagName.toLowerCase() : "", E = S.getXPath(v, 5), _ = t.getURL(x), y = {
1275
+ src: x && x.substring(0, 1e3),
1276
1276
  node_name: b,
1277
1277
  xpath: E,
1278
- res_type: t.getResType(b, S),
1278
+ res_type: t.getResType(b, x),
1279
1279
  res_name: _.path,
1280
1280
  domain: _.domain
1281
1281
  };
1282
- return x._conf.enableResource && x.fixResourceStatus && l.timeStamp && x.fixResourceStatus({
1283
- src: S,
1282
+ return S._conf.enableResource && S.fixResourceStatus && l.timeStamp && S.fixResourceStatus({
1283
+ src: x,
1284
1284
  node_name: b,
1285
- res_type: t.getResType(b, S),
1285
+ res_type: t.getResType(b, x),
1286
1286
  timeStamp: l.timeStamp,
1287
1287
  domain: _.domain
1288
- }), x._lg("resourceError", y), x;
1288
+ }), S._lg("resourceError", y), S;
1289
1289
  } catch (A) {
1290
- return t.warn("[ARMS] resourceErrorHandler error :", A), x;
1290
+ return t.warn("[ARMS] resourceErrorHandler error :", A), S;
1291
1291
  }
1292
1292
  },
1293
1293
  getSrc: function(l) {
1294
- var x = l.src || l.href;
1294
+ var S = l.src || l.href;
1295
1295
  try {
1296
- if (!x) {
1297
- var v = (typeof l.tagName == "string" ? l.tagName.toLowerCase() : "") === "object", S = l.getAttribute("classid") && l.getAttribute("classid").toLowerCase() === "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" || l.getAttribute("type") === "application/x-shockwave-flash";
1298
- v && S && (x = l.getAttribute("data") || l.getAttribute("codebase")), x || (x = l.outerHTML || l.innerHTML);
1296
+ if (!S) {
1297
+ var v = (typeof l.tagName == "string" ? l.tagName.toLowerCase() : "") === "object", x = l.getAttribute("classid") && l.getAttribute("classid").toLowerCase() === "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" || l.getAttribute("type") === "application/x-shockwave-flash";
1298
+ v && x && (S = l.getAttribute("data") || l.getAttribute("codebase")), S || (S = l.outerHTML || l.innerHTML);
1299
1299
  }
1300
1300
  } catch (b) {
1301
- x = "";
1301
+ S = "";
1302
1302
  }
1303
- return x;
1303
+ return S;
1304
1304
  },
1305
- getXPath: function(l, x) {
1306
- var v = l.id ? "#" + l.id : "", S = typeof l.className == "string" ? "." + l.className.split(" ").join(".") : "", b = (typeof l.tagName == "string" ? l.tagName.toLowerCase() : "") + v + S;
1307
- return l.parentNode && l.parentNode.tagName && x - 1 != 0 ? this.getXPath(l.parentNode, x - 1) + " > " + b : b;
1305
+ getXPath: function(l, S) {
1306
+ var v = l.id ? "#" + l.id : "", x = typeof l.className == "string" ? "." + l.className.split(" ").join(".") : "", b = (typeof l.tagName == "string" ? l.tagName.toLowerCase() : "") + v + x;
1307
+ return l.parentNode && l.parentNode.tagName && S - 1 != 0 ? this.getXPath(l.parentNode, S - 1) + " > " + b : b;
1308
1308
  },
1309
1309
  sendPerformance: function(l) {
1310
- var x = this;
1311
- x.onReady(function() {
1310
+ var S = this;
1311
+ S.onReady(function() {
1312
1312
  var v = s();
1313
- v && v.load && v.load > 0 && (v.page = x.getPage(!0), l && (v = t.ext(v, l)), v.autoSend = !0, x.performance(v));
1313
+ v && v.load && v.load > 0 && (v.page = S.getPage(!0), l && (v = t.ext(v, l)), v.autoSend = !0, S.performance(v));
1314
1314
  });
1315
1315
  },
1316
1316
  sendResources: function(l) {
1317
- var x = this;
1318
- x.onReady(function() {
1317
+ var S = this;
1318
+ S.onReady(function() {
1319
1319
  var v = i();
1320
- v && v.load && v.load > 0 && (v.load && v.load <= 2e3 || v.load && v.load <= 8e3 && Math.random() > 0.05 || (v.page = x.getPage(!0), v.dl = location.href, l && (v = t.ext(v, l)), x._lg("res", v, x.getConfig("sample"))));
1320
+ v && v.load && v.load > 0 && (v.load && v.load <= 2e3 || v.load && v.load <= 8e3 && Math.random() > 0.05 || (v.page = S.getPage(!0), v.dl = location.href, l && (v = t.ext(v, l)), S._lg("res", v, S.getConfig("sample"))));
1321
1321
  });
1322
1322
  },
1323
1323
  sendPV: function() {
1324
1324
  var l = this;
1325
1325
  l.onReady(function() {
1326
- var x = function(v) {
1327
- var S = m(v), b = a.devicePixelRatio || 1;
1326
+ var S = function(v) {
1327
+ var x = m(v), b = a.devicePixelRatio || 1;
1328
1328
  return {
1329
- uid: S,
1329
+ uid: x,
1330
1330
  dt: e.title,
1331
1331
  dl: location.href,
1332
1332
  dr: e.referrer,
@@ -1336,49 +1336,49 @@ function ro() {
1336
1336
  begin: Date.now()
1337
1337
  };
1338
1338
  }(l);
1339
- x && x.uid && l._lg("pv", x, l.getConfig("pvSample"));
1339
+ S && S.uid && l._lg("pv", S, l.getConfig("pvSample"));
1340
1340
  });
1341
1341
  },
1342
1342
  commonInfo: function() {
1343
1343
  return p.uid = m(this), p.sid = function(l) {
1344
1344
  if (l.session)
1345
1345
  return l.session;
1346
- var x;
1346
+ var S;
1347
1347
  try {
1348
1348
  if (typeof window == "object" && typeof sessionStorage == "object" && typeof sessionStorage.getItem == "function")
1349
- return typeof (x = sessionStorage.getItem("_bl_sid")) == "string" ? (l.session = x, x) : (x = t.uu(), l.session = x, typeof sessionStorage.setItem == "function" && sessionStorage.setItem("_bl_sid", x), x);
1349
+ return typeof (S = sessionStorage.getItem("_bl_sid")) == "string" ? (l.session = S, S) : (S = t.uu(), l.session = S, typeof sessionStorage.setItem == "function" && sessionStorage.setItem("_bl_sid", S), S);
1350
1350
  } catch (v) {
1351
1351
  t.warn("[ARMS] getSid error :", v);
1352
1352
  }
1353
- return l.session = x = t.uu(), x;
1353
+ return l.session = S = t.uu(), S;
1354
1354
  }(this), p;
1355
1355
  },
1356
1356
  handleUnload: function(l) {
1357
- var x = Date.now();
1358
- if (x - this._lastUnload < 200)
1357
+ var S = Date.now();
1358
+ if (S - this._lastUnload < 200)
1359
1359
  return this;
1360
- this._lastUnload = x, this.sendHealth(l), this.speedCache && (this._lg("speed", this.speedCache), this.speedCache = null, clearTimeout(this.speedTimmer)), this._conf && this._conf.enableResource && this.resourceComboReport(), this.clear(!0);
1360
+ this._lastUnload = S, this.sendHealth(l), this.speedCache && (this._lg("speed", this.speedCache), this.speedCache = null, clearTimeout(this.speedTimmer)), this._conf && this._conf.enableResource && this.resourceComboReport(), this.clear(!0);
1361
1361
  },
1362
1362
  bindHashChange: function(l) {
1363
- var x = this;
1364
- if (!l ^ x.hashChangeHandler)
1365
- return x;
1366
- l ? (x.hackHistoryState(), x.hashChangeHandler = function(v) {
1367
- var S = x._conf.parseHash(location.hash);
1368
- S && x.setPage(S, v !== !1);
1369
- }, x.stateChangeHandler = function(v) {
1370
- var S = x._conf.parseHash(v.detail);
1371
- S && x.setPage(S);
1372
- }, t.on(a, "hashchange", x.hashChangeHandler), t.on(a, "historystatechange", x.stateChangeHandler), x.hashChangeHandler(!1)) : (t.off(a, "hashchange", x.hashChangeHandler), t.off(a, "historystatechange", x.stateChangeHandler), x.hashChangeHandler = null, x.stateChangeHandler = null);
1363
+ var S = this;
1364
+ if (!l ^ S.hashChangeHandler)
1365
+ return S;
1366
+ l ? (S.hackHistoryState(), S.hashChangeHandler = function(v) {
1367
+ var x = S._conf.parseHash(location.hash);
1368
+ x && S.setPage(x, v !== !1);
1369
+ }, S.stateChangeHandler = function(v) {
1370
+ var x = S._conf.parseHash(v.detail);
1371
+ x && S.setPage(x);
1372
+ }, t.on(a, "hashchange", S.hashChangeHandler), t.on(a, "historystatechange", S.stateChangeHandler), S.hashChangeHandler(!1)) : (t.off(a, "hashchange", S.hashChangeHandler), t.off(a, "historystatechange", S.stateChangeHandler), S.hashChangeHandler = null, S.stateChangeHandler = null);
1373
1373
  },
1374
1374
  initHandler: function() {
1375
1375
  var l = this;
1376
1376
  if (l.hasInitHandler)
1377
1377
  return l;
1378
- var x = l._conf;
1378
+ var S = l._conf;
1379
1379
  return t.on(a, "beforeunload", function() {
1380
1380
  l.handleUnload(0);
1381
- }), l.bindHashChange(x.enableSPA), l.activeErrHandler(!1), l.hasInitHandler = !0, l;
1381
+ }), l.bindHashChange(S.enableSPA), l.activeErrHandler(!1), l.hasInitHandler = !0, l;
1382
1382
  }
1383
1383
  }), t.on(a, "error", function(l) {
1384
1384
  n && n.errorHandler(l);
@@ -1388,7 +1388,7 @@ function ro() {
1388
1388
  }), Ps;
1389
1389
  }
1390
1390
  var qi, Bs;
1391
- function so() {
1391
+ function no() {
1392
1392
  if (Bs)
1393
1393
  return qi;
1394
1394
  Bs = 1;
@@ -1397,10 +1397,10 @@ function so() {
1397
1397
  function s(p, d, f) {
1398
1398
  var m = 0, l = p.tagName;
1399
1399
  if (l !== "SCRIPT" && l !== "STYLE" && l !== "META" && l !== "HEAD") {
1400
- var x = p.children ? p.children.length : 0;
1401
- if (x > 0)
1402
- for (var v = p.children, S = x - 1; S >= 0; S--)
1403
- m += s(v[S], d + 1, m > 0);
1400
+ var S = p.children ? p.children.length : 0;
1401
+ if (S > 0)
1402
+ for (var v = p.children, x = S - 1; x >= 0; x--)
1403
+ m += s(v[x], d + 1, m > 0);
1404
1404
  if (m <= 0 && !f && !(p.getBoundingClientRect && p.getBoundingClientRect().top < c))
1405
1405
  return 0;
1406
1406
  m += 1 + 0.5 * d;
@@ -1427,10 +1427,10 @@ function so() {
1427
1427
  var f = t.MutationObserver;
1428
1428
  return (u = new f(function() {
1429
1429
  (function(m) {
1430
- var l = Date.now() - m, x = i.querySelector("body");
1431
- if (x) {
1430
+ var l = Date.now() - m, S = i.querySelector("body");
1431
+ if (S) {
1432
1432
  var v = 0;
1433
- v += s(x, 1, !1), o.push({
1433
+ v += s(S, 1, !1), o.push({
1434
1434
  score: v,
1435
1435
  t: l
1436
1436
  });
@@ -1450,17 +1450,17 @@ function so() {
1450
1450
  endObserving: function(p, d) {
1451
1451
  var f = this;
1452
1452
  if (u && h)
1453
- if (f.fmpTimmer && (clearTimeout(f.fmpTimmer), f.fmpTimmer = null), d || !function(v, S) {
1453
+ if (f.fmpTimmer && (clearTimeout(f.fmpTimmer), f.fmpTimmer = null), d || !function(v, x) {
1454
1454
  var b = Date.now() - v;
1455
- return !(b > S || b - (o && o.length && o[o.length - 1].t || 0) > 2 * a);
1455
+ return !(b > x || b - (o && o.length && o[o.length - 1].t || 0) > 2 * a);
1456
1456
  }(f._startTime, p)) {
1457
1457
  u.disconnect(), h = 0, o = n(o);
1458
1458
  for (var m = null, l = 1; l < o.length; l++)
1459
1459
  if (o[l].t >= o[l - 1].t) {
1460
- var x = o[l].score - o[l - 1].score;
1461
- (!m || m.rate <= x) && (m = {
1460
+ var S = o[l].score - o[l - 1].score;
1461
+ (!m || m.rate <= S) && (m = {
1462
1462
  t: o[l].t,
1463
- rate: x
1463
+ rate: S
1464
1464
  });
1465
1465
  }
1466
1466
  m && m.t > 0 && m.t < 36e5 ? f.sendPerformance({
@@ -1474,15 +1474,15 @@ function so() {
1474
1474
  });
1475
1475
  }, qi;
1476
1476
  }
1477
- var Ns, Ls;
1478
- function ao() {
1479
- return Ls || (Ls = 1, Ns = function(r, a) {
1480
- var e = Fe(), t = null, i = e.getCurDomain(), s = function(h, p, d, f, m, l, x, v, S, b, E, _, y) {
1477
+ var Ns, Ms;
1478
+ function oo() {
1479
+ return Ms || (Ms = 1, Ns = function(r, a) {
1480
+ var e = Fe(), t = null, i = e.getCurDomain(), s = function(h, p, d, f, m, l, S, v, x, b, E, _, y) {
1481
1481
  var A = e.J(m) || null, R = e.safetyCall(p, [A, f], null);
1482
1482
  if (!R)
1483
1483
  return !1;
1484
- var L = R.code || l, C = !("success" in R) || R.success;
1485
- h.api(d, C, x, L, R.msg, v, S, b, C ? {} : E, i, _, y);
1484
+ var M = R.code || l, C = !("success" in R) || R.success;
1485
+ h.api(d, C, S, M, R.msg, v, x, b, C ? {} : E, i, _, y);
1486
1486
  }, n = "fetch", c = "__oFetch_", o = "__oXMLHttpRequest_", u = "XMLHttpRequest";
1487
1487
  return e.ext(r.prototype, {
1488
1488
  removeHook: function(h, p) {
@@ -1497,13 +1497,13 @@ function ao() {
1497
1497
  if (!l || !l.api || f && (f.method === "HEAD" || f.mode === "no-cors"))
1498
1498
  return p.apply(a, m);
1499
1499
  f || (f = {});
1500
- var x = Date.now(), v = l._conf, S = e.duration(), b = (d && typeof d != "string" ? d.url : d) || "", E = b;
1500
+ var S = Date.now(), v = l._conf, x = e.duration(), b = (d && typeof d != "string" ? d.url : d) || "", E = b;
1501
1501
  b = e.cutUrlSearch(b);
1502
1502
  var _ = (v.ignore || {}).ignoreApis, y = v.parseTraceId;
1503
1503
  if (!e.checkAPI(b, !0) || e.ignoreByRule(b, _))
1504
1504
  return p.apply(a, m);
1505
1505
  b = e.filterByRule(b, E, v.ignoreApiPath ? v.ignoreApiPath : v.apiHelper);
1506
- var A = v.enableLinkTrace, R = "", L = "", C = l.getConfig("pid"), I = null, P = l.getConfig("sample"), B = l.getConfig("linkType"), $ = 1;
1506
+ var A = v.enableLinkTrace, R = "", M = "", C = l.getConfig("pid"), I = null, P = l.getConfig("sample"), B = l.getConfig("linkType"), $ = 1;
1507
1507
  if (P && !l.sampling(P) && ($ = 0), A) {
1508
1508
  var q = "";
1509
1509
  try {
@@ -1519,7 +1519,7 @@ function ao() {
1519
1519
  switch (B) {
1520
1520
  case "arms":
1521
1521
  var ae = m[0].headers.get("EagleEye-TraceID"), Q = m[0].headers.get("EagleEye-SessionID"), te = m[0].headers.get("EagleEye-pAppName");
1522
- ae ? R = ae : (R = l.getTraceId()["EagleEye-TraceID"], m[0].headers.append("EagleEye-TraceID", R)), Q ? L = Q : (L = l.getPageviewId()["EagleEye-SessionID"], m[0].headers.append("EagleEye-SessionID", L)), te || m[0].headers.append("EagleEye-pAppName", C);
1522
+ ae ? R = ae : (R = l.getTraceId()["EagleEye-TraceID"], m[0].headers.append("EagleEye-TraceID", R)), Q ? M = Q : (M = l.getPageviewId()["EagleEye-SessionID"], m[0].headers.append("EagleEye-SessionID", M)), te || m[0].headers.append("EagleEye-pAppName", C);
1523
1523
  break;
1524
1524
  case "b3":
1525
1525
  var ee = m[0].headers.get("X-B3-TraceId");
@@ -1529,12 +1529,12 @@ function ao() {
1529
1529
  var k = l.getB3TraceId($);
1530
1530
  m[0].headers.append("X-B3-TraceId", k["X-B3-TraceId"]), m[0].headers.append("X-B3-ParentSpanId", k["X-B3-ParentSpanId"]), m[0].headers.append("X-B3-SpanId", k["X-B3-SpanId"]), m[0].headers.append("X-B3-Sampled", k["X-B3-Sampled"]), m[0].headers.append("X-Request-ID", e.guid()), R = k["X-B3-TraceId"];
1531
1531
  }
1532
- L = l.pageview;
1532
+ M = l.pageview;
1533
1533
  break;
1534
1534
  case "tracing":
1535
1535
  default:
1536
- var M = m[0].headers.get("uber-trace-id");
1537
- M ? R = M.split(":")[0] : (M = l.getUberTraceId($), m[0].headers.append("uber-trace-id", M["uber-trace-id"]), R = M.traceId), L = l.pageview;
1536
+ var L = m[0].headers.get("uber-trace-id");
1537
+ L ? R = L.split(":")[0] : (L = l.getUberTraceId($), m[0].headers.append("uber-trace-id", L["uber-trace-id"]), R = L.traceId), M = l.pageview;
1538
1538
  }
1539
1539
  } catch (G) {
1540
1540
  e.warn(`[retcode] fetch failed to set header, exception is :
@@ -1543,7 +1543,7 @@ function ao() {
1543
1543
  else
1544
1544
  switch (f.headers = f.headers ? f.headers : {}, B) {
1545
1545
  case "arms":
1546
- f.headers["EagleEye-TraceID"] ? R = f.headers["EagleEye-TraceID"] : (R = l.getTraceId()["EagleEye-TraceID"], f.headers["EagleEye-TraceID"] = R), f.headers["EagleEye-SessionID"] ? L = f.headers["EagleEye-SessionID"] : (L = l.getPageviewId()["EagleEye-SessionID"], f.headers["EagleEye-SessionID"] = L), f.headers["EagleEye-pAppName"] || (f.headers["EagleEye-pAppName"] = C);
1546
+ f.headers["EagleEye-TraceID"] ? R = f.headers["EagleEye-TraceID"] : (R = l.getTraceId()["EagleEye-TraceID"], f.headers["EagleEye-TraceID"] = R), f.headers["EagleEye-SessionID"] ? M = f.headers["EagleEye-SessionID"] : (M = l.getPageviewId()["EagleEye-SessionID"], f.headers["EagleEye-SessionID"] = M), f.headers["EagleEye-pAppName"] || (f.headers["EagleEye-pAppName"] = C);
1547
1547
  break;
1548
1548
  case "b3":
1549
1549
  if (f.headers["X-B3-TraceId"])
@@ -1552,7 +1552,7 @@ function ao() {
1552
1552
  var F = l.getB3TraceId($);
1553
1553
  f.headers["X-B3-TraceId"] = F["X-B3-TraceId"], f.headers["X-B3-ParentSpanId"] = F["X-B3-ParentSpanId"], f.headers["X-B3-SpanId"] = F["X-B3-SpanId"], f.headers["X-B3-Sampled"] = F["X-B3-Sampled"], f.headers["X-Request-ID"] = e.guid(), R = F["X-B3-TraceId"];
1554
1554
  }
1555
- L = l.getPageviewId()["EagleEye-SessionID"];
1555
+ M = l.getPageviewId()["EagleEye-SessionID"];
1556
1556
  break;
1557
1557
  case "tracing":
1558
1558
  default:
@@ -1562,7 +1562,7 @@ function ao() {
1562
1562
  var N = l.getUberTraceId($);
1563
1563
  f.headers["uber-trace-id"] = N["uber-trace-id"], R = N.traceId;
1564
1564
  }
1565
- L = l.getPageviewId()["EagleEye-SessionID"];
1565
+ M = l.getPageviewId()["EagleEye-SessionID"];
1566
1566
  }
1567
1567
  }
1568
1568
  return p.apply(a, m).then(function(G) {
@@ -1581,14 +1581,14 @@ function ao() {
1581
1581
  typeof Ve == "object" && Ve["eagleeye-traceid"] && (R = Ve["eagleeye-traceid"], I = "response");
1582
1582
  }
1583
1583
  }
1584
- var ze = S();
1584
+ var ze = x();
1585
1585
  return j.text().then(function(Qe) {
1586
1586
  if (!R && e.isFunction(y)) {
1587
1587
  var et = y(j, Qe);
1588
1588
  et && e.isString(et) && (R = et);
1589
1589
  }
1590
- var Se = e.getFetchSnapshot(m, Qe, ce);
1591
- j.ok ? s(l, v.parseResponse, b, E, Qe, j.status || 200, ze, x, R, L, Se, I, $) : (l.api(b, !1, ze, j.status || 404, j.statusText, x, R, L, Se, i, I, $), v.enableResource && t.fixResourceStatus && t.fixResourceStatus({
1590
+ var xe = e.getFetchSnapshot(m, Qe, ce);
1591
+ j.ok ? s(l, v.parseResponse, b, E, Qe, j.status || 200, ze, S, R, M, xe, I, $) : (l.api(b, !1, ze, j.status || 404, j.statusText, S, R, M, xe, i, I, $), v.enableResource && t.fixResourceStatus && t.fixResourceStatus({
1592
1592
  src: j.url,
1593
1593
  res_type: "api"
1594
1594
  }));
@@ -1599,8 +1599,8 @@ function ao() {
1599
1599
  }).catch(function(G) {
1600
1600
  if (!l || !l.api)
1601
1601
  throw G;
1602
- var j = S();
1603
- throw l.api(b, !1, j, G.name || "Error", G.message, x, R, L, {}, i), v.enableResource && t.fixResourceStatus && t.fixResourceStatus({
1602
+ var j = x();
1603
+ throw l.api(b, !1, j, G.name || "Error", G.message, S, R, M, {}, i), v.enableResource && t.fixResourceStatus && t.fixResourceStatus({
1604
1604
  src: E,
1605
1605
  res_type: "api"
1606
1606
  }), G;
@@ -1612,16 +1612,16 @@ function ao() {
1612
1612
  var p, d = a[u];
1613
1613
  a[o] = d;
1614
1614
  var f = function(m) {
1615
- var l = new d(m), x = t;
1616
- if (!x || !x.api || !l.addEventListener)
1615
+ var l = new d(m), S = t;
1616
+ if (!S || !S.api || !l.addEventListener)
1617
1617
  return l;
1618
- var v, S, b, E, _ = l.send, y = l.open, A = l.setRequestHeader, R = x._conf, L = (R.ignore || {}).ignoreApis, C = R.parseTraceId, I = x.getConfig("enableLinkTrace"), P = "", B = "", $ = "", q = null, X = x.getConfig("sample"), ae = x.getConfig("linkType"), Q = 1;
1619
- return X && !x.sampling(X) && (Q = 0), l.open = function(te, ee) {
1618
+ var v, x, b, E, _ = l.send, y = l.open, A = l.setRequestHeader, R = S._conf, M = (R.ignore || {}).ignoreApis, C = R.parseTraceId, I = S.getConfig("enableLinkTrace"), P = "", B = "", $ = "", q = null, X = S.getConfig("sample"), ae = S.getConfig("linkType"), Q = 1;
1619
+ return X && !S.sampling(X) && (Q = 0), l.open = function(te, ee) {
1620
1620
  p = te;
1621
1621
  var k = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
1622
1622
  y.apply(l, k), E = ee || "", b = e.cutUrlSearch(E);
1623
- var M = !e.checkAPI(b, !0) || e.ignoreByRule(b, L);
1624
- if (b = b ? e.filterByRule(b, E, R.ignoreApiPath ? R.ignoreApiPath : R.apiHelper) : "", !M && I) {
1623
+ var L = !e.checkAPI(b, !0) || e.ignoreByRule(b, M);
1624
+ if (b = b ? e.filterByRule(b, E, R.ignoreApiPath ? R.ignoreApiPath : R.apiHelper) : "", !L && I) {
1625
1625
  var F = "";
1626
1626
  try {
1627
1627
  F = location.origin ? location.origin : location.protocol + "//" + location.hostname + (location.port ? ":" + location.port : "");
@@ -1629,35 +1629,35 @@ function ao() {
1629
1629
  F = "";
1630
1630
  }
1631
1631
  var N = e.checkSameOrigin(E, F);
1632
- if ((x.getConfig("enableApiCors") || N) && A && typeof A == "function")
1632
+ if ((S.getConfig("enableApiCors") || N) && A && typeof A == "function")
1633
1633
  switch (ae) {
1634
1634
  case "arms":
1635
- P = x.getTraceId()["EagleEye-TraceID"], A.apply(l, ["EagleEye-TraceID", P]), B = x.getPageviewId()["EagleEye-SessionID"], A.apply(l, ["EagleEye-SessionID", B]), $ = x.getConfig("pid"), A.apply(l, ["EagleEye-pAppName", $]);
1635
+ P = S.getTraceId()["EagleEye-TraceID"], A.apply(l, ["EagleEye-TraceID", P]), B = S.getPageviewId()["EagleEye-SessionID"], A.apply(l, ["EagleEye-SessionID", B]), $ = S.getConfig("pid"), A.apply(l, ["EagleEye-pAppName", $]);
1636
1636
  break;
1637
1637
  case "b3":
1638
- var G = x.getB3TraceId(Q);
1639
- A.apply(l, ["X-B3-TraceId", G["X-B3-TraceId"]]), A.apply(l, ["X-B3-ParentSpanId", G["X-B3-ParentSpanId"]]), A.apply(l, ["X-B3-SpanId", G["X-B3-SpanId"]]), A.apply(l, ["X-B3-Sampled", G["X-B3-Sampled"]]), A.apply(l, ["X-Request-ID", e.guid()]), P = G["X-B3-TraceId"], B = x.getPageviewId()["EagleEye-SessionID"];
1638
+ var G = S.getB3TraceId(Q);
1639
+ A.apply(l, ["X-B3-TraceId", G["X-B3-TraceId"]]), A.apply(l, ["X-B3-ParentSpanId", G["X-B3-ParentSpanId"]]), A.apply(l, ["X-B3-SpanId", G["X-B3-SpanId"]]), A.apply(l, ["X-B3-Sampled", G["X-B3-Sampled"]]), A.apply(l, ["X-Request-ID", e.guid()]), P = G["X-B3-TraceId"], B = S.getPageviewId()["EagleEye-SessionID"];
1640
1640
  break;
1641
1641
  case "tracing":
1642
1642
  default:
1643
- var j = x.getUberTraceId(Q);
1644
- A.apply(l, ["uber-trace-id", j["uber-trace-id"]]), P = j.traceId, B = x.getPageviewId()["EagleEye-SessionID"];
1643
+ var j = S.getUberTraceId(Q);
1644
+ A.apply(l, ["uber-trace-id", j["uber-trace-id"]]), P = j.traceId, B = S.getPageviewId()["EagleEye-SessionID"];
1645
1645
  }
1646
1646
  }
1647
1647
  }, l.send = function() {
1648
- v = Date.now(), S = e.duration();
1648
+ v = Date.now(), x = e.duration();
1649
1649
  var te = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
1650
1650
  _.apply(l, te);
1651
1651
  }, e.on(l, "readystatechange", function() {
1652
1652
  if (b && l.readyState === 4) {
1653
- var te = S(), ee = e.getXhrSnapshot(E, p, l);
1653
+ var te = x(), ee = e.getXhrSnapshot(E, p, l);
1654
1654
  if (!P) {
1655
1655
  var k = e.parseXhrHeaders(typeof l.getAllResponseHeaders == "function" && l.getAllResponseHeaders() || "");
1656
1656
  typeof k == "object" && k["eagleeye-traceid"] && (P = k["eagleeye-traceid"], q = "response");
1657
1657
  }
1658
1658
  if (!P && e.isFunction(C)) {
1659
- var M = C(l);
1660
- M && e.isString(M) && (P = M);
1659
+ var L = C(l);
1660
+ L && e.isString(L) && (P = L);
1661
1661
  }
1662
1662
  if (l.status >= 200 && l.status <= 299) {
1663
1663
  var F = l.status || 200;
@@ -1666,9 +1666,9 @@ function ao() {
1666
1666
  if (N && !/(text)|(json)/.test(N))
1667
1667
  return;
1668
1668
  }
1669
- l.responseType && l.responseType !== "text" ? x.api(b, !0, te, F, "", v, P, B, {}, i, q, Q) : s(x, R.parseResponse, b, E, l.responseText, F, te, v, P, B, ee, q, Q);
1669
+ l.responseType && l.responseType !== "text" ? S.api(b, !0, te, F, "", v, P, B, {}, i, q, Q) : s(S, R.parseResponse, b, E, l.responseText, F, te, v, P, B, ee, q, Q);
1670
1670
  } else
1671
- x.api(b, !1, te, l.status || "FAILED", l.statusText, v, P, B, ee, i, q, Q), R.enableResource && t.fixResourceStatus && t.fixResourceStatus({
1671
+ S.api(b, !1, te, l.status || "FAILED", l.statusText, v, P, B, ee, i, q, Q), R.enableResource && t.fixResourceStatus && t.fixResourceStatus({
1672
1672
  src: l.responseURL || E,
1673
1673
  res_type: "api"
1674
1674
  });
@@ -1687,9 +1687,9 @@ function ao() {
1687
1687
  }), r;
1688
1688
  }), Ns;
1689
1689
  }
1690
- var Ms, Fs;
1691
- function no() {
1692
- return Fs || (Fs = 1, Ms = function(r, a) {
1690
+ var Ls, Fs;
1691
+ function co() {
1692
+ return Fs || (Fs = 1, Ls = function(r, a) {
1693
1693
  var e = Fe(), t = a.history || {}, i = a.document, s = function(c, o) {
1694
1694
  var u;
1695
1695
  a.CustomEvent ? u = new CustomEvent(c, {
@@ -1702,8 +1702,8 @@ function no() {
1702
1702
  if (!p || typeof p != "string" || p === f)
1703
1703
  return m;
1704
1704
  try {
1705
- var l = f.split("#"), x = p.split("#"), v = e.cutUrlSearch(l[0]), S = e.cutUrlSearch(x[0]), b = l[1] && l[1].replace(/^\/?(.*)/, "$1"), E = x[1] && x[1].replace(/^\/?(.*)/, "$1");
1706
- b !== E ? s("historystatechange", E) : v !== S && s("historystatechange", S);
1705
+ var l = f.split("#"), S = p.split("#"), v = e.cutUrlSearch(l[0]), x = e.cutUrlSearch(S[0]), b = l[1] && l[1].replace(/^\/?(.*)/, "$1"), E = S[1] && S[1].replace(/^\/?(.*)/, "$1");
1706
+ b !== E ? s("historystatechange", E) : v !== x && s("historystatechange", x);
1707
1707
  } catch (_) {
1708
1708
  e.warn("[retcode] error in " + c + ": " + _);
1709
1709
  }
@@ -1715,10 +1715,10 @@ function no() {
1715
1715
  return this.hasHackedHistoryState ? this : (n("pushState"), n("replaceState"), this.hasHackedHistoryState = !0, this);
1716
1716
  }
1717
1717
  });
1718
- }), Ms;
1718
+ }), Ls;
1719
1719
  }
1720
1720
  var Ji, Vs;
1721
- function oo() {
1721
+ function uo() {
1722
1722
  if (Vs)
1723
1723
  return Ji;
1724
1724
  Vs = 1;
@@ -1728,8 +1728,8 @@ function oo() {
1728
1728
  if (o instanceof i.PerformanceResourceTiming && o.initiatorType) {
1729
1729
  var p = r.getResType(o.initiatorType, o.name), d = u.resourceTypes || [], f = (u.ignore || {}).ignoreResources;
1730
1730
  if (p && d.includes(p) && !r.ignoreByRule(o.name, f) && !r.ignoreByRule(r.decode(o.name), f)) {
1731
- var m = o[e[0]], l = o[e[1]], x = o[e[2]], v = o[e[3]], S = o[e[4]], b = o[e[5]], E = o[e[6]], _ = o[e[7]], y = o[e[8]], A = o[e[18]], R = o[e[19]];
1732
- if (!h.has(o) && (!r.areInOrder(m, l, x, v, S, b, E, _, y) || m > _))
1731
+ var m = o[e[0]], l = o[e[1]], S = o[e[2]], v = o[e[3]], x = o[e[4]], b = o[e[5]], E = o[e[6]], _ = o[e[7]], y = o[e[8]], A = o[e[18]], R = o[e[19]];
1732
+ if (!h.has(o) && (!r.areInOrder(m, l, S, v, x, b, E, _, y) || m > _))
1733
1733
  return;
1734
1734
  if (A < m && (A = m), R < m && (R = l), r.areInOrder(m, A, R, l))
1735
1735
  return {
@@ -1773,8 +1773,8 @@ function oo() {
1773
1773
  if (r.checkAPI(m.name, !1)) {
1774
1774
  var l = s(m, u, h);
1775
1775
  if (l) {
1776
- var x = l.res_type + "-" + l.domain;
1777
- x in p || (p[x] = []), p[x].push(l);
1776
+ var S = l.res_type + "-" + l.domain;
1777
+ S in p || (p[S] = []), p[S].push(l);
1778
1778
  }
1779
1779
  }
1780
1780
  }
@@ -1801,8 +1801,8 @@ function oo() {
1801
1801
  var p = Object.keys(o);
1802
1802
  if (p.length !== 0) {
1803
1803
  var d = [];
1804
- r.each(p, function(x) {
1805
- var v = o[x], S = {
1804
+ r.each(p, function(S) {
1805
+ var v = o[S], x = {
1806
1806
  domain: "",
1807
1807
  res_type: "",
1808
1808
  src_type: "",
@@ -1817,15 +1817,15 @@ function oo() {
1817
1817
  };
1818
1818
  r.each(v, function(b) {
1819
1819
  var E = b.timing || {}, _ = h.get(b.timing), y = _ ? _.success : 1, A = b.duration > u ? 1 : 0;
1820
- S.domain = b.domain, S.res_type = b.res_type, S.src_type = b.src_type, S.count += 1, S.duration += b.duration, S.size += b.size, y || (S.err_count += 1, S.err_duration += b.duration), A && (S.slow_count += 1, S.slow_duration += b.duration);
1820
+ x.domain = b.domain, x.res_type = b.res_type, x.src_type = b.src_type, x.count += 1, x.duration += b.duration, x.size += b.size, y || (x.err_count += 1, x.err_duration += b.duration), A && (x.slow_count += 1, x.slow_duration += b.duration);
1821
1821
  try {
1822
1822
  var R = JSON.parse(JSON.stringify(E));
1823
- R.success = y, R.resourceSlow = u, R.isSlow = A, S.timings.push(R);
1824
- } catch (L) {
1823
+ R.success = y, R.resourceSlow = u, R.isSlow = A, x.timings.push(R);
1824
+ } catch (M) {
1825
1825
  }
1826
- }), S.count && (S.size = Math.round(S.size / S.count), S.duration = Math.round(S.duration / S.count)), S.slow_count && (S.slow_duration = Math.round(S.slow_duration / S.slow_count)), S.err_count && (S.err_duration = Math.round(S.err_duration / S.err_count)), S.timings.length > 20 && (S.timings.sort(function(b, E) {
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, E) {
1827
1827
  return E.duration - b.duration;
1828
- }), S.timings.length = 20), S.timings = encodeURIComponent(JSON.stringify(S.timings)), d.push(S);
1828
+ }), x.timings.length = 20), x.timings = encodeURIComponent(JSON.stringify(x.timings)), d.push(x);
1829
1829
  });
1830
1830
  var f = {
1831
1831
  _combo: 1,
@@ -1840,11 +1840,11 @@ function oo() {
1840
1840
  }, Ji;
1841
1841
  }
1842
1842
  var Os;
1843
- function co() {
1843
+ function ho() {
1844
1844
  if (Os)
1845
1845
  return Fi.exports;
1846
1846
  Os = 1;
1847
- var r = Fe(), a = Yn(), e = Zn(), t = Qn(), i = r.win, s = i.document, n = /^(error|api|speed|sum|avg|percent|custom|msg|setPage|setConfig|behavior|performance)$/, c = function(o) {
1847
+ var r = Fe(), a = Qn(), e = eo(), t = to(), i = r.win, s = i.document, n = /^(error|api|speed|sum|avg|percent|custom|msg|setPage|setConfig|behavior|performance)$/, c = function(o) {
1848
1848
  var u = this;
1849
1849
  return a.call(u, o), u._initialPage = o.page && r.safetyCall(o.page, [], o.page + "") || null, u._isRobot = r.isRobot(), u._health = {
1850
1850
  errcount: 0,
@@ -1980,12 +1980,12 @@ function co() {
1980
1980
  var u = this.__proto__.constructor(o);
1981
1981
  return o.page && u.sendPV(), u;
1982
1982
  }
1983
- }), eo()(c, i), ro()(c, i, s), so()(c, i, s), ao()(c, i), no()(c, i), oo()(c, i), c._super = a, c._root = a._root, a.Browser = c, Fi.exports = c, Fi.exports;
1983
+ }), io()(c, i), ao()(c, i, s), no()(c, i, s), oo()(c, i), co()(c, i), uo()(c, i), c._super = a, c._root = a._root, a.Browser = c, Fi.exports = c, Fi.exports;
1984
1984
  }
1985
1985
  var Us;
1986
- function uo() {
1986
+ function lo() {
1987
1987
  if (Us)
1988
- return Mi.exports;
1988
+ return Li.exports;
1989
1989
  Us = 1;
1990
1990
  function r(c, o) {
1991
1991
  var u = e[i] = new t(c);
@@ -1999,7 +1999,7 @@ function uo() {
1999
1999
  var c = {}, o = [];
2000
2000
  return i in e && (c = e[i].config || {}, o = e[i].pipe || []), r(c, o);
2001
2001
  }
2002
- var e = window, t = e.BrowserLogger = co(), i = Fe().key, s = "__hasInitBlSdk";
2002
+ var e = window, t = e.BrowserLogger = ho(), i = Fe().key, s = "__hasInitBlSdk";
2003
2003
  t.singleton = function(c, o) {
2004
2004
  return e[s] ? e[i] : r(c, o);
2005
2005
  }, t.createExtraInstance = function(c) {
@@ -2008,13 +2008,13 @@ function uo() {
2008
2008
  return u.enableInstanceAutoSend && (u.autoSendPv !== !1 && o.sendPV(), u && u.useFmp || o.sendPerformance(), u && u.sendResource && o.sendResources()), o;
2009
2009
  };
2010
2010
  var n = typeof window == "object" && !!window.navigator;
2011
- return n && e[i] && (t.bl = a()), Mi.exports = t, Mi.exports;
2011
+ return n && e[i] && (t.bl = a()), Li.exports = t, Li.exports;
2012
2012
  }
2013
- function ho() {
2014
- return uo();
2013
+ function fo() {
2014
+ return lo();
2015
2015
  }
2016
- var lo = {
2017
- getArmsLogger: ho
2016
+ var po = {
2017
+ getArmsLogger: fo
2018
2018
  };
2019
2019
  const Hs = "https://arms-retcode.aliyuncs.com/r.png?", js = "https://arms-retcode-sg.aliyuncs.com/r.png?", zs = "https://retcode-us-west-1.arms.aliyuncs.com/r.png?", Ws = "e1iftji1w7@7ec1cef2cc88733", $s = "e1iftji1w7@10a06d1ec260adc", Ks = "e1iftji1w7@10a06d1ec260adc", Gi = {
2020
2020
  cn: {
@@ -2041,8 +2041,8 @@ const Hs = "https://arms-retcode.aliyuncs.com/r.png?", js = "https://arms-retcod
2041
2041
  reportUrl: zs,
2042
2042
  pid: Ks
2043
2043
  }
2044
- }, fo = (r) => r !== null && typeof r == "object", po = (r) => Object.prototype.toString.call(r).slice(8, -1), go = (r) => Object.isExtensible(r) ? po(r) === "Object" : !1;
2045
- function mo(r, a, e) {
2044
+ }, go = (r) => r !== null && typeof r == "object", mo = (r) => Object.prototype.toString.call(r).slice(8, -1), So = (r) => Object.isExtensible(r) ? mo(r) === "Object" : !1;
2045
+ function xo(r, a, e) {
2046
2046
  var n;
2047
2047
  if (Reflect.get(r, "__v_skip") === !0)
2048
2048
  return r;
@@ -2076,7 +2076,7 @@ function mo(r, a, e) {
2076
2076
  set: s.MediaboxWrapperObjectSetter
2077
2077
  });
2078
2078
  }
2079
- function xo(r, a, e) {
2079
+ function vo(r, a, e) {
2080
2080
  const t = {
2081
2081
  MediaboxWrapperFunctionApply(i, s, n) {
2082
2082
  let c;
@@ -2107,7 +2107,7 @@ function xo(r, a, e) {
2107
2107
  construct: t.MediaboxWrapperClassConstructor
2108
2108
  });
2109
2109
  }
2110
- function So(r, a) {
2110
+ function bo(r, a) {
2111
2111
  if (typeof r != "string")
2112
2112
  return a;
2113
2113
  if (on(r, a))
@@ -2127,11 +2127,11 @@ function on(r, a) {
2127
2127
  return t < 0 ? !0 : e < t;
2128
2128
  }
2129
2129
  function ft(r, a, e) {
2130
- return typeof r == "function" ? xo(r, a + 1, e) : r instanceof Promise ? r.then((t) => ft(t, a + 1, e)).catch((t) => (e(t), Promise.reject(t))) : Array.isArray(r) ? (r.forEach((t, i) => {
2130
+ return typeof r == "function" ? vo(r, a + 1, e) : r instanceof Promise ? r.then((t) => ft(t, a + 1, e)).catch((t) => (e(t), Promise.reject(t))) : Array.isArray(r) ? (r.forEach((t, i) => {
2131
2131
  r[i] = ft(t, a + 1, e);
2132
- }), r) : fo(r) && go(r) ? mo(r, a + 1, e) : r;
2132
+ }), r) : go(r) && So(r) ? xo(r, a + 1, e) : r;
2133
2133
  }
2134
- function vo(r) {
2134
+ function Eo(r) {
2135
2135
  return typeof r != "string" ? !1 : r.indexOf("g.alicdn.com/apsara-media-") > -1 || r.indexOf("g.alicdn.com/thor-server") > -1;
2136
2136
  }
2137
2137
  function qs(r) {
@@ -2142,7 +2142,7 @@ class Js extends Error {
2142
2142
  super(a), this.name = "MQTError";
2143
2143
  }
2144
2144
  }
2145
- let bo = 1;
2145
+ let _o = 1;
2146
2146
  class qr {
2147
2147
  constructor(a) {
2148
2148
  var e, t;
@@ -2156,7 +2156,7 @@ class qr {
2156
2156
  }), this.options = ut(J({}, a), {
2157
2157
  region: a.deferRegionSet ? void 0 : (e = a.region) != null ? e : "cn",
2158
2158
  env: (t = a.env) != null ? t : "prod"
2159
- }), this.marker = `-${bo++}-`, this.initArmsLogger();
2159
+ }), this.marker = `-${_o++}-`, this.initArmsLogger();
2160
2160
  }
2161
2161
  static get version() {
2162
2162
  return "0.23.0";
@@ -2176,14 +2176,14 @@ class qr {
2176
2176
  if (this.isDestroyed || on(c.stack, this.marker) || c.t !== "pv" && c.t !== "error")
2177
2177
  return !1;
2178
2178
  if (c.c1 = (o = this.options.cid) != null ? o : window.location.host, c.c2 = qr.version, this.options.customData && (c.c3 = new URLSearchParams(this.options.customData).toString()), c.t === "error") {
2179
- if (vo(c.file) || qs(c.stack)) {
2179
+ if (Eo(c.file) || qs(c.stack)) {
2180
2180
  let u = c;
2181
2181
  return this.options.beforeSend && (u = this.options.beforeSend(c)), this.isReady ? u : (u && this.queue.push(u), !1);
2182
2182
  }
2183
2183
  return !1;
2184
2184
  }
2185
2185
  return c;
2186
- }, n = lo.getArmsLogger();
2186
+ }, n = po.getArmsLogger();
2187
2187
  this.armsLogger = n.createExtraInstance({
2188
2188
  enableInstanceAutoSend: !0,
2189
2189
  pid: Gi[e].pid,
@@ -2206,7 +2206,7 @@ class qr {
2206
2206
  wrap(a) {
2207
2207
  return this.options.disabled || typeof Proxy > "u" ? a : ft(a, 0, (e) => {
2208
2208
  var t;
2209
- e instanceof Error && typeof e.stack == "string" && qs(e.stack) && ((t = this.armsLogger) == null || t.error(e), e.stack = So(e.stack, this.marker));
2209
+ e instanceof Error && typeof e.stack == "string" && qs(e.stack) && ((t = this.armsLogger) == null || t.error(e), e.stack = bo(e.stack, this.marker));
2210
2210
  });
2211
2211
  }
2212
2212
  updateOptions(a) {
@@ -2234,37 +2234,37 @@ class qr {
2234
2234
  this.isDestroyed = !0;
2235
2235
  }
2236
2236
  }
2237
- var oe = /* @__PURE__ */ ((r) => (r.PullStreamStats = "remoteStat", r.RtsSubscribeExceeds = "rtsSubscribeExceeds", r.UserJoined = "userJoined", r.UserLeft = "userLeft", r.Bye = "bye", r.MuteAudio = "muteAudio", r.UnmuteAudio = "unmuteAudio", r.MuteVideo = "muteVideo", r.UnmuteVideo = "unmuteVideo", r.MuteScreen = "muteScreen", r.UnmuteScreen = "unmuteScreen", r.Error = "error", r))(oe || {}), Me = /* @__PURE__ */ ((r) => (r.Local = "local-device-status-change", r.Remote = "remote-device-status-change", r))(Me || {}), T = /* @__PURE__ */ ((r) => (r.Audio = "sophon_audio", r.VideoLarge = "sophon_video_camera_large", r.VideoSmall = "sophon_video_camera_small", r.Screen = "sophon_video_screen_share", r.Data = "sophon_data", r))(T || {}), Jr = /* @__PURE__ */ ((r) => (r.Audio = "rts audio", r.VideoLarge = "rts video", r))(Jr || {}), St = /* @__PURE__ */ ((r) => (r.Add = "add", r.Delete = "delete", r.Replace = "replace", r.Stop = "stop", r.UnPublish = "unpublish", r))(St || {}), Jt = /* @__PURE__ */ ((r) => (r[r.Camera = 0] = "Camera", r[r.Screen = 1] = "Screen", r[r.Image = 2] = "Image", r))(Jt || {}), Si = /* @__PURE__ */ ((r) => (r[r.Microphone = 0] = "Microphone", r[r.Screen = 1] = "Screen", r[r.Mixed = 2] = "Mixed", r))(Si || {}), de = /* @__PURE__ */ ((r) => (r.InRoom = "inRoom", r.Join = "join", r.Publish = "publish", r.User = "user", r.Resume = "resume", r.Retry = "retry", r.Reconnect = "reconnect", r))(de || {}), nt = /* @__PURE__ */ ((r) => (r[r.MANUAL = 0] = "MANUAL", r[r.JOIN_CHANNEL = 1] = "JOIN_CHANNEL", r[r.ROLE_CHANGE = 2] = "ROLE_CHANGE", r[r.RECONNECT = 3] = "RECONNECT", r))(nt || {}), Ie = [];
2237
+ var oe = /* @__PURE__ */ ((r) => (r.PullStreamStats = "remoteStat", r.RtsSubscribeExceeds = "rtsSubscribeExceeds", r.UserJoined = "userJoined", r.UserLeft = "userLeft", r.Bye = "bye", r.MuteAudio = "muteAudio", r.UnmuteAudio = "unmuteAudio", r.MuteVideo = "muteVideo", r.UnmuteVideo = "unmuteVideo", r.MuteScreen = "muteScreen", r.UnmuteScreen = "unmuteScreen", r.Error = "error", r))(oe || {}), Le = /* @__PURE__ */ ((r) => (r.Local = "local-device-status-change", r.Remote = "remote-device-status-change", r))(Le || {}), T = /* @__PURE__ */ ((r) => (r.Audio = "sophon_audio", r.VideoLarge = "sophon_video_camera_large", r.VideoSmall = "sophon_video_camera_small", r.Screen = "sophon_video_screen_share", r.Data = "sophon_data", r))(T || {}), Jr = /* @__PURE__ */ ((r) => (r.Audio = "rts audio", r.VideoLarge = "rts video", r))(Jr || {}), xt = /* @__PURE__ */ ((r) => (r.Add = "add", r.Delete = "delete", r.Replace = "replace", r.Stop = "stop", r.UnPublish = "unpublish", r))(xt || {}), Jt = /* @__PURE__ */ ((r) => (r[r.Camera = 0] = "Camera", r[r.Screen = 1] = "Screen", r[r.Image = 2] = "Image", r))(Jt || {}), xi = /* @__PURE__ */ ((r) => (r[r.Microphone = 0] = "Microphone", r[r.Screen = 1] = "Screen", r[r.Mixed = 2] = "Mixed", r))(xi || {}), de = /* @__PURE__ */ ((r) => (r.InRoom = "inRoom", r.Join = "join", r.Publish = "publish", r.User = "user", r.Resume = "resume", r.Retry = "retry", r.Reconnect = "reconnect", r))(de || {}), nt = /* @__PURE__ */ ((r) => (r[r.MANUAL = 0] = "MANUAL", r[r.JOIN_CHANNEL = 1] = "JOIN_CHANNEL", r[r.ROLE_CHANGE = 2] = "ROLE_CHANGE", r[r.RECONNECT = 3] = "RECONNECT", r))(nt || {}), Ie = [];
2238
2238
  for (var Xi = 0; Xi < 256; ++Xi)
2239
2239
  Ie.push((Xi + 256).toString(16).slice(1));
2240
- function Eo(r, a = 0) {
2240
+ function Ao(r, a = 0) {
2241
2241
  return (Ie[r[a + 0]] + Ie[r[a + 1]] + Ie[r[a + 2]] + Ie[r[a + 3]] + "-" + Ie[r[a + 4]] + Ie[r[a + 5]] + "-" + Ie[r[a + 6]] + Ie[r[a + 7]] + "-" + Ie[r[a + 8]] + Ie[r[a + 9]] + "-" + Ie[r[a + 10]] + Ie[r[a + 11]] + Ie[r[a + 12]] + Ie[r[a + 13]] + Ie[r[a + 14]] + Ie[r[a + 15]]).toLowerCase();
2242
2242
  }
2243
- var fi, _o = new Uint8Array(16);
2244
- function Ao() {
2243
+ var fi, yo = new Uint8Array(16);
2244
+ function Co() {
2245
2245
  if (!fi && (fi = typeof crypto != "undefined" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !fi))
2246
2246
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
2247
- return fi(_o);
2247
+ return fi(yo);
2248
2248
  }
2249
- var yo = typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
2249
+ var Ro = typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
2250
2250
  const Gs = {
2251
- randomUUID: yo
2251
+ randomUUID: Ro
2252
2252
  };
2253
2253
  function rt(r, a, e) {
2254
2254
  if (Gs.randomUUID && !a && !r)
2255
2255
  return Gs.randomUUID();
2256
2256
  r = r || {};
2257
- var t = r.random || (r.rng || Ao)();
2257
+ var t = r.random || (r.rng || Co)();
2258
2258
  if (t[6] = t[6] & 15 | 64, t[8] = t[8] & 63 | 128, a) {
2259
2259
  e = e || 0;
2260
2260
  for (var i = 0; i < 16; ++i)
2261
2261
  a[e + i] = t[i];
2262
2262
  return a;
2263
2263
  }
2264
- return Eo(t);
2264
+ return Ao(t);
2265
2265
  }
2266
2266
  var vi = /* @__PURE__ */ ((r) => (r.prod = "rs.rtn.aliyuncs.com", r.pre = "prs.rtn.aliyuncs.com", r))(vi || {});
2267
- const yi = "6.14.4-beta.6", Xs = "web";
2267
+ const yi = "6.14.5", Xs = "web";
2268
2268
  class He {
2269
2269
  /**
2270
2270
  * 将版本号转换为number
@@ -2388,7 +2388,7 @@ function cn(r, a, e, t) {
2388
2388
  }) : Ys(r, a, e);
2389
2389
  }
2390
2390
  Array(32);
2391
- class Co {
2391
+ class Io {
2392
2392
  constructor(a) {
2393
2393
  this.timer = null, this.time = 10, this.count = 10, this.arr = [];
2394
2394
  var e, t;
@@ -2450,7 +2450,7 @@ class Co {
2450
2450
  return this.opt;
2451
2451
  }
2452
2452
  }
2453
- var Ro = (r, a, e) => new Promise((t, i) => {
2453
+ var wo = (r, a, e) => new Promise((t, i) => {
2454
2454
  var s = (o) => {
2455
2455
  try {
2456
2456
  c(e.next(o));
@@ -2466,27 +2466,27 @@ var Ro = (r, a, e) => new Promise((t, i) => {
2466
2466
  }, c = (o) => o.done ? t(o.value) : Promise.resolve(o.value).then(s, n);
2467
2467
  c((e = e.apply(r, a)).next());
2468
2468
  });
2469
- function Io(r, a) {
2469
+ function Do(r, a) {
2470
2470
  return navigator && navigator.sendBeacon ? navigator.sendBeacon(`${r}?APIVersion=0.6.0`, a) : !1;
2471
2471
  }
2472
2472
  function Zs(r, a) {
2473
2473
  const e = new window.XMLHttpRequest();
2474
2474
  e.open("POST", `${r}?APIVersion=0.6.0`, !0), e.send(a);
2475
2475
  }
2476
- function wo(r, a) {
2476
+ function To(r, a) {
2477
2477
  try {
2478
2478
  if (a.length >= 32768) {
2479
2479
  Zs(r, a);
2480
2480
  return;
2481
2481
  }
2482
- Io(r, a) || Zs(r, a);
2482
+ Do(r, a) || Zs(r, a);
2483
2483
  } catch (e) {
2484
2484
  window && window.console && typeof window.console.error == "function" && (console.error(`Failed to log to ali log service because of this exception:
2485
2485
  ` + e), console.error("Failed log data:", r));
2486
2486
  }
2487
2487
  }
2488
- function Do(r, a, e) {
2489
- return Ro(this, null, function* () {
2488
+ function Po(r, a, e) {
2489
+ return wo(this, null, function* () {
2490
2490
  try {
2491
2491
  r = r.slice(0, -6);
2492
2492
  const { data: t, header: i } = yield e.process(r, a), s = new window.XMLHttpRequest();
@@ -2500,7 +2500,7 @@ function Do(r, a, e) {
2500
2500
  }
2501
2501
  });
2502
2502
  }
2503
- class Gr extends Co {
2503
+ class Gr extends Io {
2504
2504
  constructor(a) {
2505
2505
  const e = Object.assign({}, a, {
2506
2506
  installUnloadHook: (t) => {
@@ -2509,23 +2509,23 @@ class Gr extends Co {
2509
2509
  });
2510
2510
  },
2511
2511
  sendPayload: (t, i) => {
2512
- wo(t, i);
2512
+ To(t, i);
2513
2513
  }
2514
2514
  });
2515
2515
  super(e);
2516
2516
  }
2517
2517
  useStsPlugin(a) {
2518
2518
  this.getOpt().sendPayload = (e, t) => {
2519
- Do(e, t, a);
2519
+ Po(e, t, a);
2520
2520
  }, this.overwriteTransString(a);
2521
2521
  }
2522
2522
  }
2523
2523
  cn(window, "SLS_Tracker", Gr);
2524
2524
  var ie = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
2525
- function To(r) {
2525
+ function ko(r) {
2526
2526
  return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
2527
2527
  }
2528
- function Po(r) {
2528
+ function Bo(r) {
2529
2529
  if (r.__esModule)
2530
2530
  return r;
2531
2531
  var a = r.default;
@@ -2547,14 +2547,14 @@ function Po(r) {
2547
2547
  }), e;
2548
2548
  }
2549
2549
  var un = { exports: {} };
2550
- function ko(r) {
2550
+ function No(r) {
2551
2551
  throw new Error('Could not dynamically require "' + r + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
2552
2552
  }
2553
2553
  var Yi = { exports: {} };
2554
- const Bo = {}, No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2554
+ const Mo = {}, Lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2555
2555
  __proto__: null,
2556
- default: Bo
2557
- }, Symbol.toStringTag, { value: "Module" })), Lo = /* @__PURE__ */ Po(No);
2556
+ default: Mo
2557
+ }, Symbol.toStringTag, { value: "Module" })), Fo = /* @__PURE__ */ Bo(Lo);
2558
2558
  var Qs;
2559
2559
  function ne() {
2560
2560
  return Qs || (Qs = 1, function(r, a) {
@@ -2563,31 +2563,31 @@ function ne() {
2563
2563
  })(ie, function() {
2564
2564
  var e = e || function(t, i) {
2565
2565
  var s;
2566
- 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 ko == "function")
2566
+ 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 No == "function")
2567
2567
  try {
2568
- s = Lo;
2569
- } catch (S) {
2568
+ s = Fo;
2569
+ } catch (x) {
2570
2570
  }
2571
2571
  var n = function() {
2572
2572
  if (s) {
2573
2573
  if (typeof s.getRandomValues == "function")
2574
2574
  try {
2575
2575
  return s.getRandomValues(new Uint32Array(1))[0];
2576
- } catch (S) {
2576
+ } catch (x) {
2577
2577
  }
2578
2578
  if (typeof s.randomBytes == "function")
2579
2579
  try {
2580
2580
  return s.randomBytes(4).readInt32LE();
2581
- } catch (S) {
2581
+ } catch (x) {
2582
2582
  }
2583
2583
  }
2584
2584
  throw new Error("Native crypto module could not be used to get secure random number.");
2585
2585
  }, c = Object.create || function() {
2586
- function S() {
2586
+ function x() {
2587
2587
  }
2588
2588
  return function(b) {
2589
2589
  var E;
2590
- return S.prototype = b, E = new S(), S.prototype = null, E;
2590
+ return x.prototype = b, E = new x(), x.prototype = null, E;
2591
2591
  };
2592
2592
  }(), o = {}, u = o.lib = {}, h = u.Base = function() {
2593
2593
  return {
@@ -2609,9 +2609,9 @@ function ne() {
2609
2609
  * }
2610
2610
  * });
2611
2611
  */
2612
- extend: function(S) {
2612
+ extend: function(x) {
2613
2613
  var b = c(this);
2614
- return S && b.mixIn(S), (!b.hasOwnProperty("init") || this.init === b.init) && (b.init = function() {
2614
+ return x && b.mixIn(x), (!b.hasOwnProperty("init") || this.init === b.init) && (b.init = function() {
2615
2615
  b.$super.init.apply(this, arguments);
2616
2616
  }), b.init.prototype = b, b.$super = this, b;
2617
2617
  },
@@ -2628,8 +2628,8 @@ function ne() {
2628
2628
  * var instance = MyType.create();
2629
2629
  */
2630
2630
  create: function() {
2631
- var S = this.extend();
2632
- return S.init.apply(S, arguments), S;
2631
+ var x = this.extend();
2632
+ return x.init.apply(x, arguments), x;
2633
2633
  },
2634
2634
  /**
2635
2635
  * Initializes a newly created object.
@@ -2656,10 +2656,10 @@ function ne() {
2656
2656
  * field: 'value'
2657
2657
  * });
2658
2658
  */
2659
- mixIn: function(S) {
2660
- for (var b in S)
2661
- S.hasOwnProperty(b) && (this[b] = S[b]);
2662
- S.hasOwnProperty("toString") && (this.toString = S.toString);
2659
+ mixIn: function(x) {
2660
+ for (var b in x)
2661
+ x.hasOwnProperty(b) && (this[b] = x[b]);
2662
+ x.hasOwnProperty("toString") && (this.toString = x.toString);
2663
2663
  },
2664
2664
  /**
2665
2665
  * Creates a copy of this object.
@@ -2687,8 +2687,8 @@ function ne() {
2687
2687
  * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
2688
2688
  * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
2689
2689
  */
2690
- init: function(S, b) {
2691
- S = this.words = S || [], b != i ? this.sigBytes = b : this.sigBytes = S.length * 4;
2690
+ init: function(x, b) {
2691
+ x = this.words = x || [], b != i ? this.sigBytes = b : this.sigBytes = x.length * 4;
2692
2692
  },
2693
2693
  /**
2694
2694
  * Converts this word array to a string.
@@ -2703,8 +2703,8 @@ function ne() {
2703
2703
  * var string = wordArray.toString();
2704
2704
  * var string = wordArray.toString(CryptoJS.enc.Utf8);
2705
2705
  */
2706
- toString: function(S) {
2707
- return (S || f).stringify(this);
2706
+ toString: function(x) {
2707
+ return (x || f).stringify(this);
2708
2708
  },
2709
2709
  /**
2710
2710
  * Concatenates a word array to this word array.
@@ -2717,16 +2717,16 @@ function ne() {
2717
2717
  *
2718
2718
  * wordArray1.concat(wordArray2);
2719
2719
  */
2720
- concat: function(S) {
2721
- var b = this.words, E = S.words, _ = this.sigBytes, y = S.sigBytes;
2720
+ concat: function(x) {
2721
+ var b = this.words, E = x.words, _ = this.sigBytes, y = x.sigBytes;
2722
2722
  if (this.clamp(), _ % 4)
2723
2723
  for (var A = 0; A < y; A++) {
2724
2724
  var R = E[A >>> 2] >>> 24 - A % 4 * 8 & 255;
2725
2725
  b[_ + A >>> 2] |= R << 24 - (_ + A) % 4 * 8;
2726
2726
  }
2727
2727
  else
2728
- for (var L = 0; L < y; L += 4)
2729
- b[_ + L >>> 2] = E[L >>> 2];
2728
+ for (var M = 0; M < y; M += 4)
2729
+ b[_ + M >>> 2] = E[M >>> 2];
2730
2730
  return this.sigBytes += y, this;
2731
2731
  },
2732
2732
  /**
@@ -2737,8 +2737,8 @@ function ne() {
2737
2737
  * wordArray.clamp();
2738
2738
  */
2739
2739
  clamp: function() {
2740
- var S = this.words, b = this.sigBytes;
2741
- S[b >>> 2] &= 4294967295 << 32 - b % 4 * 8, S.length = t.ceil(b / 4);
2740
+ var x = this.words, b = this.sigBytes;
2741
+ x[b >>> 2] &= 4294967295 << 32 - b % 4 * 8, x.length = t.ceil(b / 4);
2742
2742
  },
2743
2743
  /**
2744
2744
  * Creates a copy of this word array.
@@ -2750,8 +2750,8 @@ function ne() {
2750
2750
  * var clone = wordArray.clone();
2751
2751
  */
2752
2752
  clone: function() {
2753
- var S = h.clone.call(this);
2754
- return S.words = this.words.slice(0), S;
2753
+ var x = h.clone.call(this);
2754
+ return x.words = this.words.slice(0), x;
2755
2755
  },
2756
2756
  /**
2757
2757
  * Creates a word array filled with random bytes.
@@ -2766,10 +2766,10 @@ function ne() {
2766
2766
  *
2767
2767
  * var wordArray = CryptoJS.lib.WordArray.random(16);
2768
2768
  */
2769
- random: function(S) {
2770
- for (var b = [], E = 0; E < S; E += 4)
2769
+ random: function(x) {
2770
+ for (var b = [], E = 0; E < x; E += 4)
2771
2771
  b.push(n());
2772
- return new p.init(b, S);
2772
+ return new p.init(b, x);
2773
2773
  }
2774
2774
  }), d = o.enc = {}, f = d.Hex = {
2775
2775
  /**
@@ -2785,8 +2785,8 @@ function ne() {
2785
2785
  *
2786
2786
  * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
2787
2787
  */
2788
- stringify: function(S) {
2789
- for (var b = S.words, E = S.sigBytes, _ = [], y = 0; y < E; y++) {
2788
+ stringify: function(x) {
2789
+ for (var b = x.words, E = x.sigBytes, _ = [], y = 0; y < E; y++) {
2790
2790
  var A = b[y >>> 2] >>> 24 - y % 4 * 8 & 255;
2791
2791
  _.push((A >>> 4).toString(16)), _.push((A & 15).toString(16));
2792
2792
  }
@@ -2805,9 +2805,9 @@ function ne() {
2805
2805
  *
2806
2806
  * var wordArray = CryptoJS.enc.Hex.parse(hexString);
2807
2807
  */
2808
- parse: function(S) {
2809
- for (var b = S.length, E = [], _ = 0; _ < b; _ += 2)
2810
- E[_ >>> 3] |= parseInt(S.substr(_, 2), 16) << 24 - _ % 8 * 4;
2808
+ parse: function(x) {
2809
+ for (var b = x.length, E = [], _ = 0; _ < b; _ += 2)
2810
+ E[_ >>> 3] |= parseInt(x.substr(_, 2), 16) << 24 - _ % 8 * 4;
2811
2811
  return new p.init(E, b / 2);
2812
2812
  }
2813
2813
  }, m = d.Latin1 = {
@@ -2824,8 +2824,8 @@ function ne() {
2824
2824
  *
2825
2825
  * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
2826
2826
  */
2827
- stringify: function(S) {
2828
- for (var b = S.words, E = S.sigBytes, _ = [], y = 0; y < E; y++) {
2827
+ stringify: function(x) {
2828
+ for (var b = x.words, E = x.sigBytes, _ = [], y = 0; y < E; y++) {
2829
2829
  var A = b[y >>> 2] >>> 24 - y % 4 * 8 & 255;
2830
2830
  _.push(String.fromCharCode(A));
2831
2831
  }
@@ -2844,9 +2844,9 @@ function ne() {
2844
2844
  *
2845
2845
  * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
2846
2846
  */
2847
- parse: function(S) {
2848
- for (var b = S.length, E = [], _ = 0; _ < b; _++)
2849
- E[_ >>> 2] |= (S.charCodeAt(_) & 255) << 24 - _ % 4 * 8;
2847
+ parse: function(x) {
2848
+ for (var b = x.length, E = [], _ = 0; _ < b; _++)
2849
+ E[_ >>> 2] |= (x.charCodeAt(_) & 255) << 24 - _ % 4 * 8;
2850
2850
  return new p.init(E, b);
2851
2851
  }
2852
2852
  }, l = d.Utf8 = {
@@ -2863,9 +2863,9 @@ function ne() {
2863
2863
  *
2864
2864
  * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
2865
2865
  */
2866
- stringify: function(S) {
2866
+ stringify: function(x) {
2867
2867
  try {
2868
- return decodeURIComponent(escape(m.stringify(S)));
2868
+ return decodeURIComponent(escape(m.stringify(x)));
2869
2869
  } catch (b) {
2870
2870
  throw new Error("Malformed UTF-8 data");
2871
2871
  }
@@ -2883,10 +2883,10 @@ function ne() {
2883
2883
  *
2884
2884
  * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
2885
2885
  */
2886
- parse: function(S) {
2887
- return m.parse(unescape(encodeURIComponent(S)));
2886
+ parse: function(x) {
2887
+ return m.parse(unescape(encodeURIComponent(x)));
2888
2888
  }
2889
- }, x = u.BufferedBlockAlgorithm = h.extend({
2889
+ }, S = u.BufferedBlockAlgorithm = h.extend({
2890
2890
  /**
2891
2891
  * Resets this block algorithm's data buffer to its initial state.
2892
2892
  *
@@ -2907,8 +2907,8 @@ function ne() {
2907
2907
  * bufferedBlockAlgorithm._append('data');
2908
2908
  * bufferedBlockAlgorithm._append(wordArray);
2909
2909
  */
2910
- _append: function(S) {
2911
- typeof S == "string" && (S = l.parse(S)), this._data.concat(S), this._nDataBytes += S.sigBytes;
2910
+ _append: function(x) {
2911
+ typeof x == "string" && (x = l.parse(x)), this._data.concat(x), this._nDataBytes += x.sigBytes;
2912
2912
  },
2913
2913
  /**
2914
2914
  * Processes available data blocks.
@@ -2924,10 +2924,10 @@ function ne() {
2924
2924
  * var processedData = bufferedBlockAlgorithm._process();
2925
2925
  * var processedData = bufferedBlockAlgorithm._process(!!'flush');
2926
2926
  */
2927
- _process: function(S) {
2928
- var b, E = this._data, _ = E.words, y = E.sigBytes, A = this.blockSize, R = A * 4, L = y / R;
2929
- S ? L = t.ceil(L) : L = t.max((L | 0) - this._minBufferSize, 0);
2930
- var C = L * A, I = t.min(C * 4, y);
2927
+ _process: function(x) {
2928
+ var b, E = this._data, _ = E.words, y = E.sigBytes, A = this.blockSize, R = A * 4, M = y / R;
2929
+ x ? M = t.ceil(M) : M = t.max((M | 0) - this._minBufferSize, 0);
2930
+ var C = M * A, I = t.min(C * 4, y);
2931
2931
  if (C) {
2932
2932
  for (var P = 0; P < C; P += A)
2933
2933
  this._doProcessBlock(_, P);
@@ -2945,12 +2945,12 @@ function ne() {
2945
2945
  * var clone = bufferedBlockAlgorithm.clone();
2946
2946
  */
2947
2947
  clone: function() {
2948
- var S = h.clone.call(this);
2949
- return S._data = this._data.clone(), S;
2948
+ var x = h.clone.call(this);
2949
+ return x._data = this._data.clone(), x;
2950
2950
  },
2951
2951
  _minBufferSize: 0
2952
2952
  });
2953
- u.Hasher = x.extend({
2953
+ u.Hasher = S.extend({
2954
2954
  /**
2955
2955
  * Configuration options.
2956
2956
  */
@@ -2964,8 +2964,8 @@ function ne() {
2964
2964
  *
2965
2965
  * var hasher = CryptoJS.algo.SHA256.create();
2966
2966
  */
2967
- init: function(S) {
2968
- this.cfg = this.cfg.extend(S), this.reset();
2967
+ init: function(x) {
2968
+ this.cfg = this.cfg.extend(x), this.reset();
2969
2969
  },
2970
2970
  /**
2971
2971
  * Resets this hasher to its initial state.
@@ -2975,7 +2975,7 @@ function ne() {
2975
2975
  * hasher.reset();
2976
2976
  */
2977
2977
  reset: function() {
2978
- x.reset.call(this), this._doReset();
2978
+ S.reset.call(this), this._doReset();
2979
2979
  },
2980
2980
  /**
2981
2981
  * Updates this hasher with a message.
@@ -2989,8 +2989,8 @@ function ne() {
2989
2989
  * hasher.update('message');
2990
2990
  * hasher.update(wordArray);
2991
2991
  */
2992
- update: function(S) {
2993
- return this._append(S), this._process(), this;
2992
+ update: function(x) {
2993
+ return this._append(x), this._process(), this;
2994
2994
  },
2995
2995
  /**
2996
2996
  * Finalizes the hash computation.
@@ -3006,8 +3006,8 @@ function ne() {
3006
3006
  * var hash = hasher.finalize('message');
3007
3007
  * var hash = hasher.finalize(wordArray);
3008
3008
  */
3009
- finalize: function(S) {
3010
- S && this._append(S);
3009
+ finalize: function(x) {
3010
+ x && this._append(x);
3011
3011
  var b = this._doFinalize();
3012
3012
  return b;
3013
3013
  },
@@ -3025,9 +3025,9 @@ function ne() {
3025
3025
  *
3026
3026
  * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
3027
3027
  */
3028
- _createHelper: function(S) {
3028
+ _createHelper: function(x) {
3029
3029
  return function(b, E) {
3030
- return new S.init(E).finalize(b);
3030
+ return new x.init(E).finalize(b);
3031
3031
  };
3032
3032
  },
3033
3033
  /**
@@ -3043,9 +3043,9 @@ function ne() {
3043
3043
  *
3044
3044
  * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
3045
3045
  */
3046
- _createHmacHelper: function(S) {
3046
+ _createHmacHelper: function(x) {
3047
3047
  return function(b, E) {
3048
- return new v.HMAC.init(S, E).finalize(b);
3048
+ return new v.HMAC.init(x, E).finalize(b);
3049
3049
  };
3050
3050
  }
3051
3051
  });
@@ -3287,7 +3287,7 @@ function Ci() {
3287
3287
  }(Zi)), Zi.exports;
3288
3288
  }
3289
3289
  var Qi = { exports: {} }, ta;
3290
- function Mo() {
3290
+ function Vo() {
3291
3291
  return ta || (ta = 1, function(r, a) {
3292
3292
  (function(e, t) {
3293
3293
  r.exports = t(ne());
@@ -3309,7 +3309,7 @@ function Mo() {
3309
3309
  }(Qi)), Qi.exports;
3310
3310
  }
3311
3311
  var er = { exports: {} }, ia;
3312
- function Fo() {
3312
+ function Oo() {
3313
3313
  return ia || (ia = 1, function(r, a) {
3314
3314
  (function(e, t) {
3315
3315
  r.exports = t(ne());
@@ -3428,8 +3428,8 @@ function Ot() {
3428
3428
  var u = o.words, h = o.sigBytes, p = this._map;
3429
3429
  o.clamp();
3430
3430
  for (var d = [], f = 0; f < h; f += 3)
3431
- for (var m = 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 = m << 16 | l << 8 | x, S = 0; S < 4 && f + S * 0.75 < h; S++)
3432
- d.push(p.charAt(v >>> 6 * (3 - S) & 63));
3431
+ for (var m = 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 = m << 16 | l << 8 | S, x = 0; x < 4 && f + x * 0.75 < h; x++)
3432
+ d.push(p.charAt(v >>> 6 * (3 - x) & 63));
3433
3433
  var b = p.charAt(64);
3434
3434
  if (b)
3435
3435
  for (; d.length % 4; )
@@ -3468,8 +3468,8 @@ function Ot() {
3468
3468
  function c(o, u, h) {
3469
3469
  for (var p = [], d = 0, f = 0; f < u; f++)
3470
3470
  if (f % 4) {
3471
- var m = h[o.charCodeAt(f - 1)] << f % 4 * 2, l = h[o.charCodeAt(f)] >>> 6 - f % 4 * 2, x = m | l;
3472
- p[d >>> 2] |= x << 24 - d % 4 * 8, d++;
3471
+ var m = h[o.charCodeAt(f - 1)] << f % 4 * 2, l = h[o.charCodeAt(f)] >>> 6 - f % 4 * 2, S = m | l;
3472
+ p[d >>> 2] |= S << 24 - d % 4 * 8, d++;
3473
3473
  }
3474
3474
  return s.create(p, d);
3475
3475
  }
@@ -3478,7 +3478,7 @@ function Ot() {
3478
3478
  }(tr)), tr.exports;
3479
3479
  }
3480
3480
  var ir = { exports: {} }, sa;
3481
- function Vo() {
3481
+ function Uo() {
3482
3482
  return sa || (sa = 1, function(r, a) {
3483
3483
  (function(e, t) {
3484
3484
  r.exports = t(ne());
@@ -3506,8 +3506,8 @@ function Vo() {
3506
3506
  var h = o.words, p = o.sigBytes, d = u ? this._safe_map : this._map;
3507
3507
  o.clamp();
3508
3508
  for (var f = [], m = 0; m < p; m += 3)
3509
- for (var l = h[m >>> 2] >>> 24 - m % 4 * 8 & 255, x = h[m + 1 >>> 2] >>> 24 - (m + 1) % 4 * 8 & 255, v = h[m + 2 >>> 2] >>> 24 - (m + 2) % 4 * 8 & 255, S = l << 16 | x << 8 | v, b = 0; b < 4 && m + b * 0.75 < p; b++)
3510
- f.push(d.charAt(S >>> 6 * (3 - b) & 63));
3509
+ for (var l = h[m >>> 2] >>> 24 - m % 4 * 8 & 255, S = h[m + 1 >>> 2] >>> 24 - (m + 1) % 4 * 8 & 255, v = h[m + 2 >>> 2] >>> 24 - (m + 2) % 4 * 8 & 255, x = l << 16 | S << 8 | v, b = 0; b < 4 && m + b * 0.75 < p; b++)
3510
+ f.push(d.charAt(x >>> 6 * (3 - b) & 63));
3511
3511
  var E = d.charAt(64);
3512
3512
  if (E)
3513
3513
  for (; f.length % 4; )
@@ -3550,8 +3550,8 @@ function Vo() {
3550
3550
  function c(o, u, h) {
3551
3551
  for (var p = [], d = 0, f = 0; f < u; f++)
3552
3552
  if (f % 4) {
3553
- var m = h[o.charCodeAt(f - 1)] << f % 4 * 2, l = h[o.charCodeAt(f)] >>> 6 - f % 4 * 2, x = m | l;
3554
- p[d >>> 2] |= x << 24 - d % 4 * 8, d++;
3553
+ var m = h[o.charCodeAt(f - 1)] << f % 4 * 2, l = h[o.charCodeAt(f)] >>> 6 - f % 4 * 2, S = m | l;
3554
+ p[d >>> 2] |= S << 24 - d % 4 * 8, d++;
3555
3555
  }
3556
3556
  return s.create(p, d);
3557
3557
  }
@@ -3580,19 +3580,19 @@ function Ut() {
3580
3580
  271733878
3581
3581
  ]);
3582
3582
  },
3583
- _doProcessBlock: function(l, x) {
3583
+ _doProcessBlock: function(l, S) {
3584
3584
  for (var v = 0; v < 16; v++) {
3585
- var S = x + v, b = l[S];
3586
- l[S] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360;
3585
+ var x = S + v, b = l[x];
3586
+ l[x] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360;
3587
3587
  }
3588
- var E = this._hash.words, _ = l[x + 0], y = l[x + 1], A = l[x + 2], R = l[x + 3], L = l[x + 4], C = l[x + 5], I = l[x + 6], P = l[x + 7], B = l[x + 8], $ = l[x + 9], q = l[x + 10], X = l[x + 11], ae = l[x + 12], Q = l[x + 13], te = l[x + 14], ee = l[x + 15], k = E[0], M = E[1], F = E[2], N = E[3];
3589
- k = p(k, M, F, N, _, 7, u[0]), N = p(N, k, M, F, y, 12, u[1]), F = p(F, N, k, M, A, 17, u[2]), M = p(M, F, N, k, R, 22, u[3]), k = p(k, M, F, N, L, 7, u[4]), N = p(N, k, M, F, C, 12, u[5]), F = p(F, N, k, M, I, 17, u[6]), M = p(M, F, N, k, P, 22, u[7]), k = p(k, M, F, N, B, 7, u[8]), N = p(N, k, M, F, $, 12, u[9]), F = p(F, N, k, M, q, 17, u[10]), M = p(M, F, N, k, X, 22, u[11]), k = p(k, M, F, N, ae, 7, u[12]), N = p(N, k, M, F, Q, 12, u[13]), F = p(F, N, k, M, te, 17, u[14]), M = p(M, F, N, k, ee, 22, u[15]), k = d(k, M, F, N, y, 5, u[16]), N = d(N, k, M, F, I, 9, u[17]), F = d(F, N, k, M, X, 14, u[18]), M = d(M, F, N, k, _, 20, u[19]), k = d(k, M, F, N, C, 5, u[20]), N = d(N, k, M, F, q, 9, u[21]), F = d(F, N, k, M, ee, 14, u[22]), M = d(M, F, N, k, L, 20, u[23]), k = d(k, M, F, N, $, 5, u[24]), N = d(N, k, M, F, te, 9, u[25]), F = d(F, N, k, M, R, 14, u[26]), M = d(M, F, N, k, B, 20, u[27]), k = d(k, M, F, N, Q, 5, u[28]), N = d(N, k, M, F, A, 9, u[29]), F = d(F, N, k, M, P, 14, u[30]), M = d(M, F, N, k, ae, 20, u[31]), k = f(k, M, F, N, C, 4, u[32]), N = f(N, k, M, F, B, 11, u[33]), F = f(F, N, k, M, X, 16, u[34]), M = f(M, F, N, k, te, 23, u[35]), k = f(k, M, F, N, y, 4, u[36]), N = f(N, k, M, F, L, 11, u[37]), F = f(F, N, k, M, P, 16, u[38]), M = f(M, F, N, k, q, 23, u[39]), k = f(k, M, F, N, Q, 4, u[40]), N = f(N, k, M, F, _, 11, u[41]), F = f(F, N, k, M, R, 16, u[42]), M = f(M, F, N, k, I, 23, u[43]), k = f(k, M, F, N, $, 4, u[44]), N = f(N, k, M, F, ae, 11, u[45]), F = f(F, N, k, M, ee, 16, u[46]), M = f(M, F, N, k, A, 23, u[47]), k = m(k, M, F, N, _, 6, u[48]), N = m(N, k, M, F, P, 10, u[49]), F = m(F, N, k, M, te, 15, u[50]), M = m(M, F, N, k, C, 21, u[51]), k = m(k, M, F, N, ae, 6, u[52]), N = m(N, k, M, F, R, 10, u[53]), F = m(F, N, k, M, q, 15, u[54]), M = m(M, F, N, k, y, 21, u[55]), k = m(k, M, F, N, B, 6, u[56]), N = m(N, k, M, F, ee, 10, u[57]), F = m(F, N, k, M, I, 15, u[58]), M = m(M, F, N, k, Q, 21, u[59]), k = m(k, M, F, N, L, 6, u[60]), N = m(N, k, M, F, X, 10, u[61]), F = m(F, N, k, M, A, 15, u[62]), M = m(M, F, N, k, $, 21, u[63]), E[0] = E[0] + k | 0, E[1] = E[1] + M | 0, E[2] = E[2] + F | 0, E[3] = E[3] + N | 0;
3588
+ var E = this._hash.words, _ = l[S + 0], y = l[S + 1], A = l[S + 2], R = l[S + 3], M = l[S + 4], C = l[S + 5], I = l[S + 6], P = l[S + 7], B = l[S + 8], $ = l[S + 9], q = l[S + 10], X = l[S + 11], ae = l[S + 12], Q = l[S + 13], te = l[S + 14], ee = l[S + 15], k = E[0], L = E[1], F = E[2], N = E[3];
3589
+ k = p(k, L, F, N, _, 7, u[0]), N = p(N, k, L, F, y, 12, u[1]), F = p(F, N, k, L, A, 17, u[2]), L = p(L, F, N, k, R, 22, u[3]), k = p(k, L, F, N, M, 7, u[4]), N = p(N, k, L, F, C, 12, u[5]), F = p(F, N, k, L, I, 17, u[6]), L = p(L, F, N, k, P, 22, u[7]), k = p(k, L, F, N, B, 7, u[8]), N = p(N, k, L, F, $, 12, u[9]), F = p(F, N, k, L, q, 17, u[10]), L = p(L, F, N, k, X, 22, u[11]), k = p(k, L, F, N, ae, 7, u[12]), N = p(N, k, L, F, Q, 12, u[13]), F = p(F, N, k, L, te, 17, u[14]), L = p(L, F, N, k, ee, 22, u[15]), k = d(k, L, F, N, y, 5, u[16]), N = d(N, k, L, F, I, 9, u[17]), F = d(F, N, k, L, X, 14, u[18]), L = d(L, F, N, k, _, 20, u[19]), k = d(k, L, F, N, C, 5, u[20]), N = d(N, k, L, F, q, 9, u[21]), F = d(F, N, k, L, ee, 14, u[22]), L = d(L, F, N, k, M, 20, u[23]), k = d(k, L, F, N, $, 5, u[24]), N = d(N, k, L, F, te, 9, u[25]), F = d(F, N, k, L, R, 14, u[26]), L = d(L, F, N, k, B, 20, u[27]), k = d(k, L, F, N, Q, 5, u[28]), N = d(N, k, L, F, A, 9, u[29]), F = d(F, N, k, L, P, 14, u[30]), L = d(L, F, N, k, ae, 20, u[31]), k = f(k, L, F, N, C, 4, u[32]), N = f(N, k, L, F, B, 11, u[33]), F = f(F, N, k, L, X, 16, u[34]), L = f(L, F, N, k, te, 23, u[35]), k = f(k, L, F, N, y, 4, u[36]), N = f(N, k, L, F, M, 11, u[37]), F = f(F, N, k, L, P, 16, u[38]), L = f(L, F, N, k, q, 23, u[39]), k = f(k, L, F, N, Q, 4, u[40]), N = f(N, k, L, F, _, 11, u[41]), F = f(F, N, k, L, R, 16, u[42]), L = f(L, F, N, k, I, 23, u[43]), k = f(k, L, F, N, $, 4, u[44]), N = f(N, k, L, F, ae, 11, u[45]), F = f(F, N, k, L, ee, 16, u[46]), L = f(L, F, N, k, A, 23, u[47]), k = m(k, L, F, N, _, 6, u[48]), N = m(N, k, L, F, P, 10, u[49]), F = m(F, N, k, L, te, 15, u[50]), L = m(L, F, N, k, C, 21, u[51]), k = m(k, L, F, N, ae, 6, u[52]), N = m(N, k, L, F, R, 10, u[53]), F = m(F, N, k, L, q, 15, u[54]), L = m(L, F, N, k, y, 21, u[55]), k = m(k, L, F, N, B, 6, u[56]), N = m(N, k, L, F, ee, 10, u[57]), F = m(F, N, k, L, I, 15, u[58]), L = m(L, F, N, k, Q, 21, u[59]), k = m(k, L, F, N, M, 6, u[60]), N = m(N, k, L, F, X, 10, u[61]), F = m(F, N, k, L, A, 15, u[62]), L = m(L, F, N, k, $, 21, u[63]), E[0] = E[0] + k | 0, E[1] = E[1] + L | 0, E[2] = E[2] + F | 0, E[3] = E[3] + N | 0;
3590
3590
  },
3591
3591
  _doFinalize: function() {
3592
- var l = this._data, x = l.words, v = this._nDataBytes * 8, S = l.sigBytes * 8;
3593
- x[S >>> 5] |= 128 << 24 - S % 32;
3592
+ var l = this._data, S = l.words, v = this._nDataBytes * 8, x = l.sigBytes * 8;
3593
+ S[x >>> 5] |= 128 << 24 - x % 32;
3594
3594
  var b = t.floor(v / 4294967296), E = v;
3595
- x[(S + 64 >>> 9 << 4) + 15] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, x[(S + 64 >>> 9 << 4) + 14] = (E << 8 | E >>> 24) & 16711935 | (E << 24 | E >>> 8) & 4278255360, l.sigBytes = (x.length + 1) * 4, this._process();
3595
+ S[(x + 64 >>> 9 << 4) + 15] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, S[(x + 64 >>> 9 << 4) + 14] = (E << 8 | E >>> 24) & 16711935 | (E << 24 | E >>> 8) & 4278255360, l.sigBytes = (S.length + 1) * 4, this._process();
3596
3596
  for (var _ = this._hash, y = _.words, A = 0; A < 4; A++) {
3597
3597
  var R = y[A];
3598
3598
  y[A] = (R << 8 | R >>> 24) & 16711935 | (R << 24 | R >>> 8) & 4278255360;
@@ -3604,21 +3604,21 @@ function Ut() {
3604
3604
  return l._hash = this._hash.clone(), l;
3605
3605
  }
3606
3606
  });
3607
- function p(l, x, v, S, b, E, _) {
3608
- var y = l + (x & v | ~x & S) + b + _;
3609
- return (y << E | y >>> 32 - E) + x;
3607
+ function p(l, S, v, x, b, E, _) {
3608
+ var y = l + (S & v | ~S & x) + b + _;
3609
+ return (y << E | y >>> 32 - E) + S;
3610
3610
  }
3611
- function d(l, x, v, S, b, E, _) {
3612
- var y = l + (x & S | v & ~S) + b + _;
3613
- return (y << E | y >>> 32 - E) + x;
3611
+ function d(l, S, v, x, b, E, _) {
3612
+ var y = l + (S & x | v & ~x) + b + _;
3613
+ return (y << E | y >>> 32 - E) + S;
3614
3614
  }
3615
- function f(l, x, v, S, b, E, _) {
3616
- var y = l + (x ^ v ^ S) + b + _;
3617
- return (y << E | y >>> 32 - E) + x;
3615
+ function f(l, S, v, x, b, E, _) {
3616
+ var y = l + (S ^ v ^ x) + b + _;
3617
+ return (y << E | y >>> 32 - E) + S;
3618
3618
  }
3619
- function m(l, x, v, S, b, E, _) {
3620
- var y = l + (v ^ (x | ~S)) + b + _;
3621
- return (y << E | y >>> 32 - E) + x;
3619
+ function m(l, S, v, x, b, E, _) {
3620
+ var y = l + (v ^ (S | ~x)) + b + _;
3621
+ return (y << E | y >>> 32 - E) + S;
3622
3622
  }
3623
3623
  i.MD5 = c._createHelper(h), i.HmacMD5 = c._createHmacHelper(h);
3624
3624
  }(Math), e.MD5;
@@ -3643,17 +3643,17 @@ function hn() {
3643
3643
  ]);
3644
3644
  },
3645
3645
  _doProcessBlock: function(h, p) {
3646
- for (var d = this._hash.words, f = d[0], m = d[1], l = d[2], x = d[3], v = d[4], S = 0; S < 80; S++) {
3647
- if (S < 16)
3648
- o[S] = h[p + S] | 0;
3646
+ for (var d = this._hash.words, f = d[0], m = d[1], l = d[2], S = d[3], v = d[4], x = 0; x < 80; x++) {
3647
+ if (x < 16)
3648
+ o[x] = h[p + x] | 0;
3649
3649
  else {
3650
- var b = o[S - 3] ^ o[S - 8] ^ o[S - 14] ^ o[S - 16];
3651
- o[S] = b << 1 | b >>> 31;
3650
+ var b = o[x - 3] ^ o[x - 8] ^ o[x - 14] ^ o[x - 16];
3651
+ o[x] = b << 1 | b >>> 31;
3652
3652
  }
3653
- var E = (f << 5 | f >>> 27) + v + o[S];
3654
- S < 20 ? E += (m & l | ~m & x) + 1518500249 : S < 40 ? E += (m ^ l ^ x) + 1859775393 : S < 60 ? E += (m & l | m & x | l & x) - 1894007588 : E += (m ^ l ^ x) - 899497514, v = x, x = l, l = m << 30 | m >>> 2, m = f, f = E;
3653
+ var E = (f << 5 | f >>> 27) + v + o[x];
3654
+ x < 20 ? E += (m & l | ~m & S) + 1518500249 : x < 40 ? E += (m ^ l ^ S) + 1859775393 : x < 60 ? E += (m & l | m & S | l & S) - 1894007588 : E += (m ^ l ^ S) - 899497514, v = S, S = l, l = m << 30 | m >>> 2, m = f, f = E;
3655
3655
  }
3656
- d[0] = d[0] + f | 0, d[1] = d[1] + m | 0, d[2] = d[2] + l | 0, d[3] = d[3] + x | 0, d[4] = d[4] + v | 0;
3656
+ d[0] = d[0] + f | 0, d[1] = d[1] + m | 0, d[2] = d[2] + l | 0, d[3] = d[3] + S | 0, d[4] = d[4] + v | 0;
3657
3657
  },
3658
3658
  _doFinalize: function() {
3659
3659
  var h = this._data, p = h.words, d = this._nDataBytes * 8, f = h.sigBytes * 8;
@@ -3679,7 +3679,7 @@ function Xr() {
3679
3679
  var i = e, s = i.lib, n = s.WordArray, c = s.Hasher, o = i.algo, u = [], h = [];
3680
3680
  (function() {
3681
3681
  function f(v) {
3682
- for (var S = t.sqrt(v), b = 2; b <= S; b++)
3682
+ for (var x = t.sqrt(v), b = 2; b <= x; b++)
3683
3683
  if (!(v % b))
3684
3684
  return !1;
3685
3685
  return !0;
@@ -3687,29 +3687,29 @@ function Xr() {
3687
3687
  function m(v) {
3688
3688
  return (v - (v | 0)) * 4294967296 | 0;
3689
3689
  }
3690
- for (var l = 2, x = 0; x < 64; )
3691
- f(l) && (x < 8 && (u[x] = m(t.pow(l, 1 / 2))), h[x] = m(t.pow(l, 1 / 3)), x++), l++;
3690
+ for (var l = 2, S = 0; S < 64; )
3691
+ f(l) && (S < 8 && (u[S] = m(t.pow(l, 1 / 2))), h[S] = m(t.pow(l, 1 / 3)), S++), l++;
3692
3692
  })();
3693
3693
  var p = [], d = o.SHA256 = c.extend({
3694
3694
  _doReset: function() {
3695
3695
  this._hash = new n.init(u.slice(0));
3696
3696
  },
3697
3697
  _doProcessBlock: function(f, m) {
3698
- for (var l = this._hash.words, x = l[0], v = l[1], S = l[2], b = l[3], E = l[4], _ = l[5], y = l[6], A = l[7], R = 0; R < 64; R++) {
3698
+ for (var l = this._hash.words, S = l[0], v = l[1], x = l[2], b = l[3], E = l[4], _ = l[5], y = l[6], A = l[7], R = 0; R < 64; R++) {
3699
3699
  if (R < 16)
3700
3700
  p[R] = f[m + R] | 0;
3701
3701
  else {
3702
- var L = p[R - 15], C = (L << 25 | L >>> 7) ^ (L << 14 | L >>> 18) ^ L >>> 3, I = p[R - 2], P = (I << 15 | I >>> 17) ^ (I << 13 | I >>> 19) ^ I >>> 10;
3702
+ var M = p[R - 15], C = (M << 25 | M >>> 7) ^ (M << 14 | M >>> 18) ^ M >>> 3, I = p[R - 2], P = (I << 15 | I >>> 17) ^ (I << 13 | I >>> 19) ^ I >>> 10;
3703
3703
  p[R] = C + p[R - 7] + P + p[R - 16];
3704
3704
  }
3705
- var B = E & _ ^ ~E & y, $ = x & v ^ x & S ^ v & S, q = (x << 30 | x >>> 2) ^ (x << 19 | x >>> 13) ^ (x << 10 | x >>> 22), X = (E << 26 | E >>> 6) ^ (E << 21 | E >>> 11) ^ (E << 7 | E >>> 25), ae = A + X + B + h[R] + p[R], Q = q + $;
3706
- A = y, y = _, _ = E, E = b + ae | 0, b = S, S = v, v = x, x = ae + Q | 0;
3705
+ var B = E & _ ^ ~E & y, $ = S & v ^ S & x ^ v & x, q = (S << 30 | S >>> 2) ^ (S << 19 | S >>> 13) ^ (S << 10 | S >>> 22), X = (E << 26 | E >>> 6) ^ (E << 21 | E >>> 11) ^ (E << 7 | E >>> 25), ae = A + X + B + h[R] + p[R], Q = q + $;
3706
+ A = y, y = _, _ = E, E = b + ae | 0, b = x, x = v, v = S, S = ae + Q | 0;
3707
3707
  }
3708
- 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] + E | 0, l[5] = l[5] + _ | 0, l[6] = l[6] + y | 0, l[7] = l[7] + A | 0;
3708
+ 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] + E | 0, l[5] = l[5] + _ | 0, l[6] = l[6] + y | 0, l[7] = l[7] + A | 0;
3709
3709
  },
3710
3710
  _doFinalize: function() {
3711
- var f = this._data, m = f.words, l = this._nDataBytes * 8, x = f.sigBytes * 8;
3712
- return m[x >>> 5] |= 128 << 24 - x % 32, m[(x + 64 >>> 9 << 4) + 14] = t.floor(l / 4294967296), m[(x + 64 >>> 9 << 4) + 15] = l, f.sigBytes = m.length * 4, this._process(), this._hash;
3711
+ var f = this._data, m = f.words, l = this._nDataBytes * 8, S = f.sigBytes * 8;
3712
+ return m[S >>> 5] |= 128 << 24 - S % 32, m[(S + 64 >>> 9 << 4) + 14] = t.floor(l / 4294967296), m[(S + 64 >>> 9 << 4) + 15] = l, f.sigBytes = m.length * 4, this._process(), this._hash;
3713
3713
  },
3714
3714
  clone: function() {
3715
3715
  var f = c.clone.call(this);
@@ -3722,7 +3722,7 @@ function Xr() {
3722
3722
  }(ar)), ar.exports;
3723
3723
  }
3724
3724
  var nr = { exports: {} }, ca;
3725
- function Oo() {
3725
+ function Ho() {
3726
3726
  return ca || (ca = 1, function(r, a) {
3727
3727
  (function(e, t, i) {
3728
3728
  r.exports = t(ne(), Xr());
@@ -3862,24 +3862,24 @@ function dn() {
3862
3862
  ]);
3863
3863
  },
3864
3864
  _doProcessBlock: function(m, l) {
3865
- for (var x = this._hash.words, v = x[0], S = x[1], b = x[2], E = x[3], _ = x[4], y = x[5], A = x[6], R = x[7], L = v.high, C = v.low, I = S.high, P = S.low, B = b.high, $ = b.low, q = E.high, X = E.low, ae = _.high, Q = _.low, te = y.high, ee = y.low, k = A.high, M = A.low, F = R.high, N = R.low, G = L, j = C, ce = I, Z = P, Ve = B, ze = $, Qe = q, et = X, Se = ae, ke = Q, ot = te, Ct = ee, Ht = k, Rt = M, Yt = F, It = N, Be = 0; Be < 80; Be++) {
3865
+ for (var S = this._hash.words, v = S[0], x = S[1], b = S[2], E = S[3], _ = S[4], y = S[5], A = S[6], R = S[7], M = v.high, C = v.low, I = x.high, P = x.low, B = b.high, $ = b.low, q = E.high, X = E.low, ae = _.high, Q = _.low, te = y.high, ee = y.low, k = A.high, L = A.low, F = R.high, N = R.low, G = M, j = C, ce = I, Z = P, Ve = B, ze = $, Qe = q, et = X, xe = ae, ke = Q, ot = te, Ct = ee, Ht = k, Rt = L, Yt = F, It = N, Be = 0; Be < 80; Be++) {
3866
3866
  var Re, tt, wt = d[Be];
3867
3867
  if (Be < 16)
3868
3868
  tt = wt.high = m[l + Be * 2] | 0, Re = wt.low = m[l + Be * 2 + 1] | 0;
3869
3869
  else {
3870
- var gt = d[Be - 15], it = gt.high, ct = gt.low, ki = (it >>> 1 | ct << 31) ^ (it >>> 8 | ct << 24) ^ it >>> 7, ui = (ct >>> 1 | it << 31) ^ (ct >>> 8 | it << 24) ^ (ct >>> 7 | it << 25), hi = d[Be - 2], We = hi.high, mt = hi.low, di = (We >>> 19 | mt << 13) ^ (We << 3 | mt >>> 29) ^ We >>> 6, Zt = (mt >>> 19 | We << 13) ^ (mt << 3 | We >>> 29) ^ (mt >>> 6 | We << 26), us = d[Be - 7], Pn = us.high, kn = us.low, hs = d[Be - 16], Bn = hs.high, ds = hs.low;
3871
- Re = ui + kn, tt = ki + Pn + (Re >>> 0 < ui >>> 0 ? 1 : 0), Re = Re + Zt, tt = tt + di + (Re >>> 0 < Zt >>> 0 ? 1 : 0), Re = Re + ds, tt = tt + Bn + (Re >>> 0 < ds >>> 0 ? 1 : 0), wt.high = tt, wt.low = Re;
3870
+ var gt = d[Be - 15], it = gt.high, ct = gt.low, ki = (it >>> 1 | ct << 31) ^ (it >>> 8 | ct << 24) ^ it >>> 7, ui = (ct >>> 1 | it << 31) ^ (ct >>> 8 | it << 24) ^ (ct >>> 7 | it << 25), hi = d[Be - 2], We = hi.high, mt = hi.low, di = (We >>> 19 | mt << 13) ^ (We << 3 | mt >>> 29) ^ We >>> 6, Zt = (mt >>> 19 | We << 13) ^ (mt << 3 | We >>> 29) ^ (mt >>> 6 | We << 26), us = d[Be - 7], Bn = us.high, Nn = us.low, hs = d[Be - 16], Mn = hs.high, ds = hs.low;
3871
+ Re = ui + Nn, tt = ki + Bn + (Re >>> 0 < ui >>> 0 ? 1 : 0), Re = Re + Zt, tt = tt + di + (Re >>> 0 < Zt >>> 0 ? 1 : 0), Re = Re + ds, tt = tt + Mn + (Re >>> 0 < ds >>> 0 ? 1 : 0), wt.high = tt, wt.low = Re;
3872
3872
  }
3873
- var Nn = Se & ot ^ ~Se & Ht, ls = ke & Ct ^ ~ke & Rt, Ln = G & ce ^ G & Ve ^ ce & Ve, Mn = j & Z ^ j & ze ^ Z & ze, Fn = (G >>> 28 | j << 4) ^ (G << 30 | j >>> 2) ^ (G << 25 | j >>> 7), fs = (j >>> 28 | G << 4) ^ (j << 30 | G >>> 2) ^ (j << 25 | G >>> 7), Vn = (Se >>> 14 | ke << 18) ^ (Se >>> 18 | ke << 14) ^ (Se << 23 | ke >>> 9), On = (ke >>> 14 | Se << 18) ^ (ke >>> 18 | Se << 14) ^ (ke << 23 | Se >>> 9), ps = p[Be], Un = ps.high, gs = ps.low, $e = It + On, xt = Yt + Vn + ($e >>> 0 < It >>> 0 ? 1 : 0), $e = $e + ls, xt = xt + Nn + ($e >>> 0 < ls >>> 0 ? 1 : 0), $e = $e + gs, xt = xt + Un + ($e >>> 0 < gs >>> 0 ? 1 : 0), $e = $e + Re, xt = xt + tt + ($e >>> 0 < Re >>> 0 ? 1 : 0), ms = fs + Mn, Hn = Fn + Ln + (ms >>> 0 < fs >>> 0 ? 1 : 0);
3874
- Yt = Ht, It = Rt, Ht = ot, Rt = Ct, ot = Se, Ct = ke, ke = et + $e | 0, Se = Qe + xt + (ke >>> 0 < et >>> 0 ? 1 : 0) | 0, Qe = Ve, et = ze, Ve = ce, ze = Z, ce = G, Z = j, j = $e + ms | 0, G = xt + Hn + (j >>> 0 < $e >>> 0 ? 1 : 0) | 0;
3873
+ var Ln = xe & ot ^ ~xe & Ht, ls = ke & Ct ^ ~ke & Rt, Fn = G & ce ^ G & Ve ^ ce & Ve, Vn = j & Z ^ j & ze ^ Z & ze, On = (G >>> 28 | j << 4) ^ (G << 30 | j >>> 2) ^ (G << 25 | j >>> 7), fs = (j >>> 28 | G << 4) ^ (j << 30 | G >>> 2) ^ (j << 25 | G >>> 7), Un = (xe >>> 14 | ke << 18) ^ (xe >>> 18 | ke << 14) ^ (xe << 23 | ke >>> 9), Hn = (ke >>> 14 | xe << 18) ^ (ke >>> 18 | xe << 14) ^ (ke << 23 | xe >>> 9), ps = p[Be], jn = ps.high, gs = ps.low, $e = It + Hn, St = Yt + Un + ($e >>> 0 < It >>> 0 ? 1 : 0), $e = $e + ls, St = St + Ln + ($e >>> 0 < ls >>> 0 ? 1 : 0), $e = $e + gs, St = St + jn + ($e >>> 0 < gs >>> 0 ? 1 : 0), $e = $e + Re, St = St + tt + ($e >>> 0 < Re >>> 0 ? 1 : 0), ms = fs + Vn, zn = On + Fn + (ms >>> 0 < fs >>> 0 ? 1 : 0);
3874
+ Yt = Ht, It = Rt, Ht = ot, Rt = Ct, ot = xe, Ct = ke, ke = et + $e | 0, xe = Qe + St + (ke >>> 0 < et >>> 0 ? 1 : 0) | 0, Qe = Ve, et = ze, Ve = ce, ze = Z, ce = G, Z = j, j = $e + ms | 0, G = St + zn + (j >>> 0 < $e >>> 0 ? 1 : 0) | 0;
3875
3875
  }
3876
- C = v.low = C + j, v.high = L + G + (C >>> 0 < j >>> 0 ? 1 : 0), P = S.low = P + Z, S.high = I + ce + (P >>> 0 < Z >>> 0 ? 1 : 0), $ = b.low = $ + ze, b.high = B + Ve + ($ >>> 0 < ze >>> 0 ? 1 : 0), X = E.low = X + et, E.high = q + Qe + (X >>> 0 < et >>> 0 ? 1 : 0), Q = _.low = Q + ke, _.high = ae + Se + (Q >>> 0 < ke >>> 0 ? 1 : 0), ee = y.low = ee + Ct, y.high = te + ot + (ee >>> 0 < Ct >>> 0 ? 1 : 0), M = A.low = M + Rt, A.high = k + Ht + (M >>> 0 < Rt >>> 0 ? 1 : 0), N = R.low = N + It, R.high = F + Yt + (N >>> 0 < It >>> 0 ? 1 : 0);
3876
+ C = v.low = C + j, v.high = M + G + (C >>> 0 < j >>> 0 ? 1 : 0), P = x.low = P + Z, x.high = I + ce + (P >>> 0 < Z >>> 0 ? 1 : 0), $ = b.low = $ + ze, b.high = B + Ve + ($ >>> 0 < ze >>> 0 ? 1 : 0), X = E.low = X + et, E.high = q + Qe + (X >>> 0 < et >>> 0 ? 1 : 0), Q = _.low = Q + ke, _.high = ae + xe + (Q >>> 0 < ke >>> 0 ? 1 : 0), ee = y.low = ee + Ct, y.high = te + ot + (ee >>> 0 < Ct >>> 0 ? 1 : 0), L = A.low = L + Rt, A.high = k + Ht + (L >>> 0 < Rt >>> 0 ? 1 : 0), N = R.low = N + It, R.high = F + Yt + (N >>> 0 < It >>> 0 ? 1 : 0);
3877
3877
  },
3878
3878
  _doFinalize: function() {
3879
- var m = this._data, l = m.words, x = this._nDataBytes * 8, v = m.sigBytes * 8;
3880
- l[v >>> 5] |= 128 << 24 - v % 32, l[(v + 128 >>> 10 << 5) + 30] = Math.floor(x / 4294967296), l[(v + 128 >>> 10 << 5) + 31] = x, m.sigBytes = l.length * 4, this._process();
3881
- var S = this._hash.toX32();
3882
- return S;
3879
+ var m = this._data, l = m.words, S = this._nDataBytes * 8, v = m.sigBytes * 8;
3880
+ l[v >>> 5] |= 128 << 24 - v % 32, l[(v + 128 >>> 10 << 5) + 30] = Math.floor(S / 4294967296), l[(v + 128 >>> 10 << 5) + 31] = S, m.sigBytes = l.length * 4, this._process();
3881
+ var x = this._hash.toX32();
3882
+ return x;
3883
3883
  },
3884
3884
  clone: function() {
3885
3885
  var m = s.clone.call(this);
@@ -3893,7 +3893,7 @@ function dn() {
3893
3893
  }(or)), or.exports;
3894
3894
  }
3895
3895
  var cr = { exports: {} }, ha;
3896
- function Uo() {
3896
+ function jo() {
3897
3897
  return ha || (ha = 1, function(r, a) {
3898
3898
  (function(e, t, i) {
3899
3899
  r.exports = t(ne(), Ci(), dn());
@@ -3923,7 +3923,7 @@ function Uo() {
3923
3923
  }(cr)), cr.exports;
3924
3924
  }
3925
3925
  var ur = { exports: {} }, da;
3926
- function Ho() {
3926
+ function zo() {
3927
3927
  return da || (da = 1, function(r, a) {
3928
3928
  (function(e, t, i) {
3929
3929
  r.exports = t(ne(), Ci());
@@ -3931,18 +3931,18 @@ function Ho() {
3931
3931
  return function(t) {
3932
3932
  var i = e, s = i.lib, n = s.WordArray, c = s.Hasher, o = i.x64, u = o.Word, h = i.algo, p = [], d = [], f = [];
3933
3933
  (function() {
3934
- for (var x = 1, v = 0, S = 0; S < 24; S++) {
3935
- p[x + 5 * v] = (S + 1) * (S + 2) / 2 % 64;
3936
- var b = v % 5, E = (2 * x + 3 * v) % 5;
3937
- x = b, v = E;
3934
+ for (var S = 1, v = 0, x = 0; x < 24; x++) {
3935
+ p[S + 5 * v] = (x + 1) * (x + 2) / 2 % 64;
3936
+ var b = v % 5, E = (2 * S + 3 * v) % 5;
3937
+ S = b, v = E;
3938
3938
  }
3939
- for (var x = 0; x < 5; x++)
3939
+ for (var S = 0; S < 5; S++)
3940
3940
  for (var v = 0; v < 5; v++)
3941
- d[x + 5 * v] = v + (2 * x + 3 * v) % 5 * 5;
3941
+ d[S + 5 * v] = v + (2 * S + 3 * v) % 5 * 5;
3942
3942
  for (var _ = 1, y = 0; y < 24; y++) {
3943
- for (var A = 0, R = 0, L = 0; L < 7; L++) {
3943
+ for (var A = 0, R = 0, M = 0; M < 7; M++) {
3944
3944
  if (_ & 1) {
3945
- var C = (1 << L) - 1;
3945
+ var C = (1 << M) - 1;
3946
3946
  C < 32 ? R ^= 1 << C : A ^= 1 << C - 32;
3947
3947
  }
3948
3948
  _ & 128 ? _ = _ << 1 ^ 113 : _ <<= 1;
@@ -3952,8 +3952,8 @@ function Ho() {
3952
3952
  })();
3953
3953
  var m = [];
3954
3954
  (function() {
3955
- for (var x = 0; x < 25; x++)
3956
- m[x] = u.create();
3955
+ for (var S = 0; S < 25; S++)
3956
+ m[S] = u.create();
3957
3957
  })();
3958
3958
  var l = h.SHA3 = c.extend({
3959
3959
  /**
@@ -3968,63 +3968,63 @@ function Ho() {
3968
3968
  outputLength: 512
3969
3969
  }),
3970
3970
  _doReset: function() {
3971
- for (var x = this._state = [], v = 0; v < 25; v++)
3972
- x[v] = new u.init();
3971
+ for (var S = this._state = [], v = 0; v < 25; v++)
3972
+ S[v] = new u.init();
3973
3973
  this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
3974
3974
  },
3975
- _doProcessBlock: function(x, v) {
3976
- for (var S = this._state, b = this.blockSize / 2, E = 0; E < b; E++) {
3977
- var _ = x[v + 2 * E], y = x[v + 2 * E + 1];
3975
+ _doProcessBlock: function(S, v) {
3976
+ for (var x = this._state, b = this.blockSize / 2, E = 0; E < b; E++) {
3977
+ var _ = S[v + 2 * E], y = S[v + 2 * E + 1];
3978
3978
  _ = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, y = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360;
3979
- var A = S[E];
3979
+ var A = x[E];
3980
3980
  A.high ^= y, A.low ^= _;
3981
3981
  }
3982
3982
  for (var R = 0; R < 24; R++) {
3983
- for (var L = 0; L < 5; L++) {
3983
+ for (var M = 0; M < 5; M++) {
3984
3984
  for (var C = 0, I = 0, P = 0; P < 5; P++) {
3985
- var A = S[L + 5 * P];
3985
+ var A = x[M + 5 * P];
3986
3986
  C ^= A.high, I ^= A.low;
3987
3987
  }
3988
- var B = m[L];
3988
+ var B = m[M];
3989
3989
  B.high = C, B.low = I;
3990
3990
  }
3991
- for (var L = 0; L < 5; L++)
3992
- for (var $ = m[(L + 4) % 5], q = m[(L + 1) % 5], X = q.high, ae = q.low, C = $.high ^ (X << 1 | ae >>> 31), I = $.low ^ (ae << 1 | X >>> 31), P = 0; P < 5; P++) {
3993
- var A = S[L + 5 * P];
3991
+ for (var M = 0; M < 5; M++)
3992
+ for (var $ = m[(M + 4) % 5], q = m[(M + 1) % 5], X = q.high, ae = q.low, C = $.high ^ (X << 1 | ae >>> 31), I = $.low ^ (ae << 1 | X >>> 31), P = 0; P < 5; P++) {
3993
+ var A = x[M + 5 * P];
3994
3994
  A.high ^= C, A.low ^= I;
3995
3995
  }
3996
3996
  for (var Q = 1; Q < 25; Q++) {
3997
- var C, I, A = S[Q], te = A.high, ee = A.low, k = p[Q];
3997
+ var C, I, A = x[Q], te = A.high, ee = A.low, k = p[Q];
3998
3998
  k < 32 ? (C = te << k | ee >>> 32 - k, I = ee << k | te >>> 32 - k) : (C = ee << k - 32 | te >>> 64 - k, I = te << k - 32 | ee >>> 64 - k);
3999
- var M = m[d[Q]];
4000
- M.high = C, M.low = I;
3999
+ var L = m[d[Q]];
4000
+ L.high = C, L.low = I;
4001
4001
  }
4002
- var F = m[0], N = S[0];
4002
+ var F = m[0], N = x[0];
4003
4003
  F.high = N.high, F.low = N.low;
4004
- for (var L = 0; L < 5; L++)
4004
+ for (var M = 0; M < 5; M++)
4005
4005
  for (var P = 0; P < 5; P++) {
4006
- var Q = L + 5 * P, A = S[Q], G = m[Q], j = m[(L + 1) % 5 + 5 * P], ce = m[(L + 2) % 5 + 5 * P];
4006
+ var Q = M + 5 * P, A = x[Q], G = m[Q], j = m[(M + 1) % 5 + 5 * P], ce = m[(M + 2) % 5 + 5 * P];
4007
4007
  A.high = G.high ^ ~j.high & ce.high, A.low = G.low ^ ~j.low & ce.low;
4008
4008
  }
4009
- var A = S[0], Z = f[R];
4009
+ var A = x[0], Z = f[R];
4010
4010
  A.high ^= Z.high, A.low ^= Z.low;
4011
4011
  }
4012
4012
  },
4013
4013
  _doFinalize: function() {
4014
- var x = this._data, v = x.words;
4014
+ var S = this._data, v = S.words;
4015
4015
  this._nDataBytes * 8;
4016
- var S = x.sigBytes * 8, b = this.blockSize * 32;
4017
- v[S >>> 5] |= 1 << 24 - S % 32, v[(t.ceil((S + 1) / b) * b >>> 5) - 1] |= 128, x.sigBytes = v.length * 4, this._process();
4016
+ var x = S.sigBytes * 8, b = this.blockSize * 32;
4017
+ v[x >>> 5] |= 1 << 24 - x % 32, v[(t.ceil((x + 1) / b) * b >>> 5) - 1] |= 128, S.sigBytes = v.length * 4, this._process();
4018
4018
  for (var E = this._state, _ = this.cfg.outputLength / 8, y = _ / 8, A = [], R = 0; R < y; R++) {
4019
- var L = E[R], C = L.high, I = L.low;
4019
+ var M = E[R], C = M.high, I = M.low;
4020
4020
  C = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, I = (I << 8 | I >>> 24) & 16711935 | (I << 24 | I >>> 8) & 4278255360, A.push(I), A.push(C);
4021
4021
  }
4022
4022
  return new n.init(A, _);
4023
4023
  },
4024
4024
  clone: function() {
4025
- for (var x = c.clone.call(this), v = x._state = this._state.slice(0), S = 0; S < 25; S++)
4026
- v[S] = v[S].clone();
4027
- return x;
4025
+ for (var S = c.clone.call(this), v = S._state = this._state.slice(0), x = 0; x < 25; x++)
4026
+ v[x] = v[x].clone();
4027
+ return S;
4028
4028
  }
4029
4029
  });
4030
4030
  i.SHA3 = c._createHelper(l), i.HmacSHA3 = c._createHmacHelper(l);
@@ -4033,7 +4033,7 @@ function Ho() {
4033
4033
  }(ur)), ur.exports;
4034
4034
  }
4035
4035
  var hr = { exports: {} }, la;
4036
- function jo() {
4036
+ function Wo() {
4037
4037
  return la || (la = 1, function(r, a) {
4038
4038
  (function(e, t) {
4039
4039
  r.exports = t(ne());
@@ -4379,18 +4379,18 @@ function jo() {
4379
4379
  },
4380
4380
  _doProcessBlock: function(y, A) {
4381
4381
  for (var R = 0; R < 16; R++) {
4382
- var L = A + R, C = y[L];
4383
- y[L] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360;
4382
+ var M = A + R, C = y[M];
4383
+ y[M] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360;
4384
4384
  }
4385
- var I = this._hash.words, P = f.words, B = m.words, $ = u.words, q = h.words, X = p.words, ae = d.words, Q, te, ee, k, M, F, N, G, j, ce;
4386
- F = Q = I[0], N = te = I[1], G = ee = I[2], j = k = I[3], ce = M = I[4];
4385
+ var I = this._hash.words, P = f.words, B = m.words, $ = u.words, q = h.words, X = p.words, ae = d.words, Q, te, ee, k, L, F, N, G, j, ce;
4386
+ F = Q = I[0], N = te = I[1], G = ee = I[2], j = k = I[3], ce = L = I[4];
4387
4387
  for (var Z, R = 0; R < 80; R += 1)
4388
- Z = Q + y[A + $[R]] | 0, R < 16 ? Z += x(te, ee, k) + P[0] : R < 32 ? Z += v(te, ee, k) + P[1] : R < 48 ? Z += S(te, ee, k) + P[2] : R < 64 ? Z += b(te, ee, k) + P[3] : Z += E(te, ee, k) + P[4], Z = Z | 0, Z = _(Z, X[R]), Z = Z + M | 0, Q = M, M = k, k = _(ee, 10), ee = te, te = Z, Z = F + y[A + q[R]] | 0, R < 16 ? Z += E(N, G, j) + B[0] : R < 32 ? Z += b(N, G, j) + B[1] : R < 48 ? Z += S(N, G, j) + B[2] : R < 64 ? Z += v(N, G, j) + B[3] : Z += x(N, G, j) + B[4], Z = Z | 0, Z = _(Z, ae[R]), Z = Z + ce | 0, F = ce, ce = j, j = _(G, 10), G = N, N = Z;
4389
- Z = I[1] + ee + j | 0, I[1] = I[2] + k + ce | 0, I[2] = I[3] + M + F | 0, I[3] = I[4] + Q + N | 0, I[4] = I[0] + te + G | 0, I[0] = Z;
4388
+ Z = Q + y[A + $[R]] | 0, R < 16 ? Z += S(te, ee, k) + P[0] : R < 32 ? Z += v(te, ee, k) + P[1] : R < 48 ? Z += x(te, ee, k) + P[2] : R < 64 ? Z += b(te, ee, k) + P[3] : Z += E(te, ee, k) + P[4], Z = Z | 0, Z = _(Z, X[R]), Z = Z + L | 0, Q = L, L = k, k = _(ee, 10), ee = te, te = Z, Z = F + y[A + q[R]] | 0, R < 16 ? Z += E(N, G, j) + B[0] : R < 32 ? Z += b(N, G, j) + B[1] : R < 48 ? Z += x(N, G, j) + B[2] : R < 64 ? Z += v(N, G, j) + B[3] : Z += S(N, G, j) + B[4], Z = Z | 0, Z = _(Z, ae[R]), Z = Z + ce | 0, F = ce, ce = j, j = _(G, 10), G = N, N = Z;
4389
+ Z = I[1] + ee + j | 0, I[1] = I[2] + k + ce | 0, I[2] = I[3] + L + F | 0, I[3] = I[4] + Q + N | 0, I[4] = I[0] + te + G | 0, I[0] = Z;
4390
4390
  },
4391
4391
  _doFinalize: function() {
4392
- var y = this._data, A = y.words, R = this._nDataBytes * 8, L = y.sigBytes * 8;
4393
- A[L >>> 5] |= 128 << 24 - L % 32, A[(L + 64 >>> 9 << 4) + 14] = (R << 8 | R >>> 24) & 16711935 | (R << 24 | R >>> 8) & 4278255360, y.sigBytes = (A.length + 1) * 4, this._process();
4392
+ var y = this._data, A = y.words, R = this._nDataBytes * 8, M = y.sigBytes * 8;
4393
+ A[M >>> 5] |= 128 << 24 - M % 32, A[(M + 64 >>> 9 << 4) + 14] = (R << 8 | R >>> 24) & 16711935 | (R << 24 | R >>> 8) & 4278255360, y.sigBytes = (A.length + 1) * 4, this._process();
4394
4394
  for (var C = this._hash, I = C.words, P = 0; P < 5; P++) {
4395
4395
  var B = I[P];
4396
4396
  I[P] = (B << 8 | B >>> 24) & 16711935 | (B << 24 | B >>> 8) & 4278255360;
@@ -4402,13 +4402,13 @@ function jo() {
4402
4402
  return y._hash = this._hash.clone(), y;
4403
4403
  }
4404
4404
  });
4405
- function x(y, A, R) {
4405
+ function S(y, A, R) {
4406
4406
  return y ^ A ^ R;
4407
4407
  }
4408
4408
  function v(y, A, R) {
4409
4409
  return y & A | ~y & R;
4410
4410
  }
4411
- function S(y, A, R) {
4411
+ function x(y, A, R) {
4412
4412
  return (y | ~A) ^ R;
4413
4413
  }
4414
4414
  function b(y, A, R) {
@@ -4448,8 +4448,8 @@ function Yr() {
4448
4448
  u = this._hasher = new u.init(), typeof h == "string" && (h = c.parse(h));
4449
4449
  var p = u.blockSize, d = p * 4;
4450
4450
  h.sigBytes > d && (h = u.finalize(h)), h.clamp();
4451
- for (var f = this._oKey = h.clone(), m = this._iKey = h.clone(), l = f.words, x = m.words, v = 0; v < p; v++)
4452
- l[v] ^= 1549556828, x[v] ^= 909522486;
4451
+ for (var f = this._oKey = h.clone(), m = this._iKey = h.clone(), l = f.words, S = m.words, v = 0; v < p; v++)
4452
+ l[v] ^= 1549556828, S[v] ^= 909522486;
4453
4453
  f.sigBytes = m.sigBytes = d, this.reset();
4454
4454
  },
4455
4455
  /**
@@ -4504,7 +4504,7 @@ function Yr() {
4504
4504
  }(dr)), dr.exports;
4505
4505
  }
4506
4506
  var lr = { exports: {} }, pa;
4507
- function zo() {
4507
+ function $o() {
4508
4508
  return pa || (pa = 1, function(r, a) {
4509
4509
  (function(e, t, i) {
4510
4510
  r.exports = t(ne(), Xr(), Yr());
@@ -4550,15 +4550,15 @@ function zo() {
4550
4550
  * var key = kdf.compute(password, salt);
4551
4551
  */
4552
4552
  compute: function(p, d) {
4553
- for (var f = this.cfg, m = u.create(f.hasher, p), l = n.create(), x = n.create([1]), v = l.words, S = x.words, b = f.keySize, E = f.iterations; v.length < b; ) {
4554
- var _ = m.update(d).finalize(x);
4553
+ for (var f = this.cfg, m = u.create(f.hasher, p), l = n.create(), S = n.create([1]), v = l.words, x = S.words, b = f.keySize, E = f.iterations; v.length < b; ) {
4554
+ var _ = m.update(d).finalize(S);
4555
4555
  m.reset();
4556
- for (var y = _.words, A = y.length, R = _, L = 1; L < E; L++) {
4556
+ for (var y = _.words, A = y.length, R = _, M = 1; M < E; M++) {
4557
4557
  R = m.finalize(R), m.reset();
4558
4558
  for (var C = R.words, I = 0; I < A; I++)
4559
4559
  y[I] ^= C[I];
4560
4560
  }
4561
- l.concat(_), S[0]++;
4561
+ l.concat(_), x[0]++;
4562
4562
  }
4563
4563
  return l.sigBytes = b * 4, l;
4564
4564
  }
@@ -4617,9 +4617,9 @@ function yt() {
4617
4617
  * var key = kdf.compute(password, salt);
4618
4618
  */
4619
4619
  compute: function(h, p) {
4620
- for (var d, f = this.cfg, m = f.hasher.create(), l = n.create(), x = l.words, v = f.keySize, S = f.iterations; x.length < v; ) {
4620
+ for (var d, f = this.cfg, m = f.hasher.create(), l = n.create(), S = l.words, v = f.keySize, x = f.iterations; S.length < v; ) {
4621
4621
  d && m.update(d), d = m.update(h).finalize(p), m.reset();
4622
- for (var b = 1; b < S; b++)
4622
+ for (var b = 1; b < x; b++)
4623
4623
  d = m.finalize(d), m.reset();
4624
4624
  l.concat(d);
4625
4625
  }
@@ -4760,7 +4760,7 @@ function ye() {
4760
4760
  */
4761
4761
  _createHelper: function() {
4762
4762
  function C(I) {
4763
- return typeof I == "string" ? L : y;
4763
+ return typeof I == "string" ? M : y;
4764
4764
  }
4765
4765
  return function(I) {
4766
4766
  return {
@@ -4825,7 +4825,7 @@ function ye() {
4825
4825
  init: function(C, I) {
4826
4826
  this._cipher = C, this._iv = I;
4827
4827
  }
4828
- }), x = m.CBC = function() {
4828
+ }), S = m.CBC = function() {
4829
4829
  var C = l.extend();
4830
4830
  C.Encryptor = C.extend({
4831
4831
  /**
@@ -4865,7 +4865,7 @@ function ye() {
4865
4865
  P[B + ae] ^= q[ae];
4866
4866
  }
4867
4867
  return C;
4868
- }(), v = i.pad = {}, S = v.Pkcs7 = {
4868
+ }(), v = i.pad = {}, x = v.Pkcs7 = {
4869
4869
  /**
4870
4870
  * Pads data using the algorithm defined in PKCS #5/7.
4871
4871
  *
@@ -4908,8 +4908,8 @@ function ye() {
4908
4908
  * @property {Padding} padding The padding strategy to use. Default: Pkcs7
4909
4909
  */
4910
4910
  cfg: f.cfg.extend({
4911
- mode: x,
4912
- padding: S
4911
+ mode: S,
4912
+ padding: x
4913
4913
  }),
4914
4914
  reset: function() {
4915
4915
  var C;
@@ -5109,7 +5109,7 @@ function ye() {
5109
5109
  var X = c.create(q.words.slice(I), P * 4);
5110
5110
  return q.sigBytes = I * 4, b.create({ key: q, iv: X, salt: B });
5111
5111
  }
5112
- }, L = s.PasswordBasedCipher = y.extend({
5112
+ }, M = s.PasswordBasedCipher = y.extend({
5113
5113
  /**
5114
5114
  * Configuration options.
5115
5115
  *
@@ -5171,9 +5171,9 @@ function ye() {
5171
5171
  });
5172
5172
  }(pr)), pr.exports;
5173
5173
  }
5174
- var gr = { exports: {} }, xa;
5175
- function Wo() {
5176
- return xa || (xa = 1, function(r, a) {
5174
+ var gr = { exports: {} }, Sa;
5175
+ function Ko() {
5176
+ return Sa || (Sa = 1, function(r, a) {
5177
5177
  (function(e, t, i) {
5178
5178
  r.exports = t(ne(), ye());
5179
5179
  })(ie, function(e) {
@@ -5201,9 +5201,9 @@ function Wo() {
5201
5201
  });
5202
5202
  }(gr)), gr.exports;
5203
5203
  }
5204
- var mr = { exports: {} }, Sa;
5205
- function $o() {
5206
- return Sa || (Sa = 1, function(r, a) {
5204
+ var mr = { exports: {} }, xa;
5205
+ function qo() {
5206
+ return xa || (xa = 1, function(r, a) {
5207
5207
  (function(e, t, i) {
5208
5208
  r.exports = t(ne(), ye());
5209
5209
  })(ie, function(e) {
@@ -5223,8 +5223,8 @@ function $o() {
5223
5223
  });
5224
5224
  }(mr)), mr.exports;
5225
5225
  }
5226
- var xr = { exports: {} }, va;
5227
- function Ko() {
5226
+ var Sr = { exports: {} }, va;
5227
+ function Jo() {
5228
5228
  return va || (va = 1, function(r, a) {
5229
5229
  (function(e, t, i) {
5230
5230
  r.exports = t(ne(), ye());
@@ -5260,10 +5260,10 @@ function Ko() {
5260
5260
  return t.Decryptor = n, t;
5261
5261
  }(), e.mode.CTRGladman;
5262
5262
  });
5263
- }(xr)), xr.exports;
5263
+ }(Sr)), Sr.exports;
5264
5264
  }
5265
- var Sr = { exports: {} }, ba;
5266
- function qo() {
5265
+ var xr = { exports: {} }, ba;
5266
+ function Go() {
5267
5267
  return ba || (ba = 1, function(r, a) {
5268
5268
  (function(e, t, i) {
5269
5269
  r.exports = t(ne(), ye());
@@ -5280,10 +5280,10 @@ function qo() {
5280
5280
  return t.Decryptor = i, t;
5281
5281
  }(), e.mode.OFB;
5282
5282
  });
5283
- }(Sr)), Sr.exports;
5283
+ }(xr)), xr.exports;
5284
5284
  }
5285
5285
  var vr = { exports: {} }, Ea;
5286
- function Jo() {
5286
+ function Xo() {
5287
5287
  return Ea || (Ea = 1, function(r, a) {
5288
5288
  (function(e, t, i) {
5289
5289
  r.exports = t(ne(), ye());
@@ -5304,7 +5304,7 @@ function Jo() {
5304
5304
  }(vr)), vr.exports;
5305
5305
  }
5306
5306
  var br = { exports: {} }, _a;
5307
- function Go() {
5307
+ function Yo() {
5308
5308
  return _a || (_a = 1, function(r, a) {
5309
5309
  (function(e, t, i) {
5310
5310
  r.exports = t(ne(), ye());
@@ -5323,7 +5323,7 @@ function Go() {
5323
5323
  }(br)), br.exports;
5324
5324
  }
5325
5325
  var Er = { exports: {} }, Aa;
5326
- function Xo() {
5326
+ function Zo() {
5327
5327
  return Aa || (Aa = 1, function(r, a) {
5328
5328
  (function(e, t, i) {
5329
5329
  r.exports = t(ne(), ye());
@@ -5342,7 +5342,7 @@ function Xo() {
5342
5342
  }(Er)), Er.exports;
5343
5343
  }
5344
5344
  var _r = { exports: {} }, ya;
5345
- function Yo() {
5345
+ function Qo() {
5346
5346
  return ya || (ya = 1, function(r, a) {
5347
5347
  (function(e, t, i) {
5348
5348
  r.exports = t(ne(), ye());
@@ -5359,7 +5359,7 @@ function Yo() {
5359
5359
  }(_r)), _r.exports;
5360
5360
  }
5361
5361
  var Ar = { exports: {} }, Ca;
5362
- function Zo() {
5362
+ function e0() {
5363
5363
  return Ca || (Ca = 1, function(r, a) {
5364
5364
  (function(e, t, i) {
5365
5365
  r.exports = t(ne(), ye());
@@ -5381,7 +5381,7 @@ function Zo() {
5381
5381
  }(Ar)), Ar.exports;
5382
5382
  }
5383
5383
  var yr = { exports: {} }, Ra;
5384
- function Qo() {
5384
+ function t0() {
5385
5385
  return Ra || (Ra = 1, function(r, a) {
5386
5386
  (function(e, t, i) {
5387
5387
  r.exports = t(ne(), ye());
@@ -5396,7 +5396,7 @@ function Qo() {
5396
5396
  }(yr)), yr.exports;
5397
5397
  }
5398
5398
  var Cr = { exports: {} }, Ia;
5399
- function e0() {
5399
+ function i0() {
5400
5400
  return Ia || (Ia = 1, function(r, a) {
5401
5401
  (function(e, t, i) {
5402
5402
  r.exports = t(ne(), ye());
@@ -5443,38 +5443,38 @@ function e0() {
5443
5443
  }(Cr)), Cr.exports;
5444
5444
  }
5445
5445
  var Rr = { exports: {} }, wa;
5446
- function t0() {
5446
+ function r0() {
5447
5447
  return wa || (wa = 1, function(r, a) {
5448
5448
  (function(e, t, i) {
5449
5449
  r.exports = t(ne(), Ot(), Ut(), yt(), ye());
5450
5450
  })(ie, function(e) {
5451
5451
  return function() {
5452
- var t = e, i = t.lib, s = i.BlockCipher, n = t.algo, c = [], o = [], u = [], h = [], p = [], d = [], f = [], m = [], l = [], x = [];
5452
+ var t = e, i = t.lib, s = i.BlockCipher, n = t.algo, c = [], o = [], u = [], h = [], p = [], d = [], f = [], m = [], l = [], S = [];
5453
5453
  (function() {
5454
5454
  for (var b = [], E = 0; E < 256; E++)
5455
5455
  E < 128 ? b[E] = E << 1 : b[E] = E << 1 ^ 283;
5456
5456
  for (var _ = 0, y = 0, E = 0; E < 256; E++) {
5457
5457
  var A = y ^ y << 1 ^ y << 2 ^ y << 3 ^ y << 4;
5458
5458
  A = A >>> 8 ^ A & 255 ^ 99, c[_] = A, o[A] = _;
5459
- var R = b[_], L = b[R], C = b[L], I = b[A] * 257 ^ A * 16843008;
5459
+ var R = b[_], M = b[R], C = b[M], I = b[A] * 257 ^ A * 16843008;
5460
5460
  u[_] = I << 24 | I >>> 8, h[_] = I << 16 | I >>> 16, p[_] = I << 8 | I >>> 24, d[_] = I;
5461
- var I = C * 16843009 ^ L * 65537 ^ R * 257 ^ _ * 16843008;
5462
- f[A] = I << 24 | I >>> 8, m[A] = I << 16 | I >>> 16, l[A] = I << 8 | I >>> 24, x[A] = I, _ ? (_ = R ^ b[b[b[C ^ R]]], y ^= b[b[y]]) : _ = y = 1;
5461
+ var I = C * 16843009 ^ M * 65537 ^ R * 257 ^ _ * 16843008;
5462
+ f[A] = I << 24 | I >>> 8, m[A] = I << 16 | I >>> 16, l[A] = I << 8 | I >>> 24, S[A] = I, _ ? (_ = R ^ b[b[b[C ^ R]]], y ^= b[b[y]]) : _ = y = 1;
5463
5463
  }
5464
5464
  })();
5465
- var v = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], S = n.AES = s.extend({
5465
+ var v = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], x = n.AES = s.extend({
5466
5466
  _doReset: function() {
5467
5467
  var b;
5468
5468
  if (!(this._nRounds && this._keyPriorReset === this._key)) {
5469
- for (var E = this._keyPriorReset = this._key, _ = E.words, y = E.sigBytes / 4, A = this._nRounds = y + 6, R = (A + 1) * 4, L = this._keySchedule = [], C = 0; C < R; C++)
5470
- C < y ? L[C] = _[C] : (b = L[C - 1], C % y ? y > 6 && C % y == 4 && (b = c[b >>> 24] << 24 | c[b >>> 16 & 255] << 16 | c[b >>> 8 & 255] << 8 | c[b & 255]) : (b = b << 8 | b >>> 24, b = c[b >>> 24] << 24 | c[b >>> 16 & 255] << 16 | c[b >>> 8 & 255] << 8 | c[b & 255], b ^= v[C / y | 0] << 24), L[C] = L[C - y] ^ b);
5469
+ for (var E = this._keyPriorReset = this._key, _ = E.words, y = E.sigBytes / 4, A = this._nRounds = y + 6, R = (A + 1) * 4, M = this._keySchedule = [], C = 0; C < R; C++)
5470
+ C < y ? M[C] = _[C] : (b = M[C - 1], C % y ? y > 6 && C % y == 4 && (b = c[b >>> 24] << 24 | c[b >>> 16 & 255] << 16 | c[b >>> 8 & 255] << 8 | c[b & 255]) : (b = b << 8 | b >>> 24, b = c[b >>> 24] << 24 | c[b >>> 16 & 255] << 16 | c[b >>> 8 & 255] << 8 | c[b & 255], b ^= v[C / y | 0] << 24), M[C] = M[C - y] ^ b);
5471
5471
  for (var I = this._invKeySchedule = [], P = 0; P < R; P++) {
5472
5472
  var C = R - P;
5473
5473
  if (P % 4)
5474
- var b = L[C];
5474
+ var b = M[C];
5475
5475
  else
5476
- var b = L[C - 4];
5477
- P < 4 || C <= 4 ? I[P] = b : I[P] = f[c[b >>> 24]] ^ m[c[b >>> 16 & 255]] ^ l[c[b >>> 8 & 255]] ^ x[c[b & 255]];
5476
+ var b = M[C - 4];
5477
+ P < 4 || C <= 4 ? I[P] = b : I[P] = f[c[b >>> 24]] ^ m[c[b >>> 16 & 255]] ^ l[c[b >>> 8 & 255]] ^ S[c[b & 255]];
5478
5478
  }
5479
5479
  }
5480
5480
  },
@@ -5483,13 +5483,13 @@ function t0() {
5483
5483
  },
5484
5484
  decryptBlock: function(b, E) {
5485
5485
  var _ = b[E + 1];
5486
- b[E + 1] = b[E + 3], b[E + 3] = _, this._doCryptBlock(b, E, this._invKeySchedule, f, m, l, x, o);
5486
+ b[E + 1] = b[E + 3], b[E + 3] = _, this._doCryptBlock(b, E, this._invKeySchedule, f, m, l, S, o);
5487
5487
  var _ = b[E + 1];
5488
5488
  b[E + 1] = b[E + 3], b[E + 3] = _;
5489
5489
  },
5490
- _doCryptBlock: function(b, E, _, y, A, R, L, C) {
5490
+ _doCryptBlock: function(b, E, _, y, A, R, M, C) {
5491
5491
  for (var I = this._nRounds, P = b[E] ^ _[0], B = b[E + 1] ^ _[1], $ = b[E + 2] ^ _[2], q = b[E + 3] ^ _[3], X = 4, ae = 1; ae < I; ae++) {
5492
- var Q = y[P >>> 24] ^ A[B >>> 16 & 255] ^ R[$ >>> 8 & 255] ^ L[q & 255] ^ _[X++], te = y[B >>> 24] ^ A[$ >>> 16 & 255] ^ R[q >>> 8 & 255] ^ L[P & 255] ^ _[X++], ee = y[$ >>> 24] ^ A[q >>> 16 & 255] ^ R[P >>> 8 & 255] ^ L[B & 255] ^ _[X++], k = y[q >>> 24] ^ A[P >>> 16 & 255] ^ R[B >>> 8 & 255] ^ L[$ & 255] ^ _[X++];
5492
+ var Q = y[P >>> 24] ^ A[B >>> 16 & 255] ^ R[$ >>> 8 & 255] ^ M[q & 255] ^ _[X++], te = y[B >>> 24] ^ A[$ >>> 16 & 255] ^ R[q >>> 8 & 255] ^ M[P & 255] ^ _[X++], ee = y[$ >>> 24] ^ A[q >>> 16 & 255] ^ R[P >>> 8 & 255] ^ M[B & 255] ^ _[X++], k = y[q >>> 24] ^ A[P >>> 16 & 255] ^ R[B >>> 8 & 255] ^ M[$ & 255] ^ _[X++];
5493
5493
  P = Q, B = te, $ = ee, q = k;
5494
5494
  }
5495
5495
  var Q = (C[P >>> 24] << 24 | C[B >>> 16 & 255] << 16 | C[$ >>> 8 & 255] << 8 | C[q & 255]) ^ _[X++], te = (C[B >>> 24] << 24 | C[$ >>> 16 & 255] << 16 | C[q >>> 8 & 255] << 8 | C[P & 255]) ^ _[X++], ee = (C[$ >>> 24] << 24 | C[q >>> 16 & 255] << 16 | C[P >>> 8 & 255] << 8 | C[B & 255]) ^ _[X++], k = (C[q >>> 24] << 24 | C[P >>> 16 & 255] << 16 | C[B >>> 8 & 255] << 8 | C[$ & 255]) ^ _[X++];
@@ -5497,13 +5497,13 @@ function t0() {
5497
5497
  },
5498
5498
  keySize: 256 / 32
5499
5499
  });
5500
- t.AES = s._createHelper(S);
5500
+ t.AES = s._createHelper(x);
5501
5501
  }(), e.AES;
5502
5502
  });
5503
5503
  }(Rr)), Rr.exports;
5504
5504
  }
5505
5505
  var Ir = { exports: {} }, Da;
5506
- function i0() {
5506
+ function s0() {
5507
5507
  return Da || (Da = 1, function(r, a) {
5508
5508
  (function(e, t, i) {
5509
5509
  r.exports = t(ne(), Ot(), Ut(), yt(), ye());
@@ -6155,13 +6155,13 @@ function i0() {
6155
6155
  2147483679
6156
6156
  ], f = c.DES = n.extend({
6157
6157
  _doReset: function() {
6158
- for (var v = this._key, S = v.words, b = [], E = 0; E < 56; E++) {
6158
+ for (var v = this._key, x = v.words, b = [], E = 0; E < 56; E++) {
6159
6159
  var _ = o[E] - 1;
6160
- b[E] = S[_ >>> 5] >>> 31 - _ % 32 & 1;
6160
+ b[E] = x[_ >>> 5] >>> 31 - _ % 32 & 1;
6161
6161
  }
6162
6162
  for (var y = this._subKeys = [], A = 0; A < 16; A++) {
6163
- for (var R = y[A] = [], L = h[A], E = 0; E < 24; E++)
6164
- R[E / 6 | 0] |= b[(u[E] - 1 + L) % 28] << 31 - E % 6, R[4 + (E / 6 | 0)] |= b[28 + (u[E + 24] - 1 + L) % 28] << 31 - E % 6;
6163
+ for (var R = y[A] = [], M = h[A], E = 0; E < 24; E++)
6164
+ R[E / 6 | 0] |= b[(u[E] - 1 + M) % 28] << 31 - E % 6, R[4 + (E / 6 | 0)] |= b[28 + (u[E + 24] - 1 + M) % 28] << 31 - E % 6;
6165
6165
  R[0] = R[0] << 1 | R[0] >>> 31;
6166
6166
  for (var E = 1; E < 7; E++)
6167
6167
  R[E] = R[E] >>> (E - 1) * 4 + 3;
@@ -6170,60 +6170,60 @@ function i0() {
6170
6170
  for (var C = this._invSubKeys = [], E = 0; E < 16; E++)
6171
6171
  C[E] = y[15 - E];
6172
6172
  },
6173
- encryptBlock: function(v, S) {
6174
- this._doCryptBlock(v, S, this._subKeys);
6173
+ encryptBlock: function(v, x) {
6174
+ this._doCryptBlock(v, x, this._subKeys);
6175
6175
  },
6176
- decryptBlock: function(v, S) {
6177
- this._doCryptBlock(v, S, this._invSubKeys);
6176
+ decryptBlock: function(v, x) {
6177
+ this._doCryptBlock(v, x, this._invSubKeys);
6178
6178
  },
6179
- _doCryptBlock: function(v, S, b) {
6180
- this._lBlock = v[S], this._rBlock = v[S + 1], m.call(this, 4, 252645135), m.call(this, 16, 65535), l.call(this, 2, 858993459), l.call(this, 8, 16711935), m.call(this, 1, 1431655765);
6179
+ _doCryptBlock: function(v, x, b) {
6180
+ this._lBlock = v[x], this._rBlock = v[x + 1], m.call(this, 4, 252645135), m.call(this, 16, 65535), l.call(this, 2, 858993459), l.call(this, 8, 16711935), m.call(this, 1, 1431655765);
6181
6181
  for (var E = 0; E < 16; E++) {
6182
- for (var _ = b[E], y = this._lBlock, A = this._rBlock, R = 0, L = 0; L < 8; L++)
6183
- R |= p[L][((A ^ _[L]) & d[L]) >>> 0];
6182
+ for (var _ = b[E], y = this._lBlock, A = this._rBlock, R = 0, M = 0; M < 8; M++)
6183
+ R |= p[M][((A ^ _[M]) & d[M]) >>> 0];
6184
6184
  this._lBlock = A, this._rBlock = y ^ R;
6185
6185
  }
6186
6186
  var C = this._lBlock;
6187
- this._lBlock = this._rBlock, this._rBlock = C, m.call(this, 1, 1431655765), l.call(this, 8, 16711935), l.call(this, 2, 858993459), m.call(this, 16, 65535), m.call(this, 4, 252645135), v[S] = this._lBlock, v[S + 1] = this._rBlock;
6187
+ this._lBlock = this._rBlock, this._rBlock = C, m.call(this, 1, 1431655765), l.call(this, 8, 16711935), l.call(this, 2, 858993459), m.call(this, 16, 65535), m.call(this, 4, 252645135), v[x] = this._lBlock, v[x + 1] = this._rBlock;
6188
6188
  },
6189
6189
  keySize: 64 / 32,
6190
6190
  ivSize: 64 / 32,
6191
6191
  blockSize: 64 / 32
6192
6192
  });
6193
- function m(v, S) {
6194
- var b = (this._lBlock >>> v ^ this._rBlock) & S;
6193
+ function m(v, x) {
6194
+ var b = (this._lBlock >>> v ^ this._rBlock) & x;
6195
6195
  this._rBlock ^= b, this._lBlock ^= b << v;
6196
6196
  }
6197
- function l(v, S) {
6198
- var b = (this._rBlock >>> v ^ this._lBlock) & S;
6197
+ function l(v, x) {
6198
+ var b = (this._rBlock >>> v ^ this._lBlock) & x;
6199
6199
  this._lBlock ^= b, this._rBlock ^= b << v;
6200
6200
  }
6201
6201
  t.DES = n._createHelper(f);
6202
- var x = c.TripleDES = n.extend({
6202
+ var S = c.TripleDES = n.extend({
6203
6203
  _doReset: function() {
6204
- var v = this._key, S = v.words;
6205
- if (S.length !== 2 && S.length !== 4 && S.length < 6)
6204
+ var v = this._key, x = v.words;
6205
+ if (x.length !== 2 && x.length !== 4 && x.length < 6)
6206
6206
  throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
6207
- var b = S.slice(0, 2), E = S.length < 4 ? S.slice(0, 2) : S.slice(2, 4), _ = S.length < 6 ? S.slice(0, 2) : S.slice(4, 6);
6207
+ var b = x.slice(0, 2), E = x.length < 4 ? x.slice(0, 2) : x.slice(2, 4), _ = x.length < 6 ? x.slice(0, 2) : x.slice(4, 6);
6208
6208
  this._des1 = f.createEncryptor(s.create(b)), this._des2 = f.createEncryptor(s.create(E)), this._des3 = f.createEncryptor(s.create(_));
6209
6209
  },
6210
- encryptBlock: function(v, S) {
6211
- this._des1.encryptBlock(v, S), this._des2.decryptBlock(v, S), this._des3.encryptBlock(v, S);
6210
+ encryptBlock: function(v, x) {
6211
+ this._des1.encryptBlock(v, x), this._des2.decryptBlock(v, x), this._des3.encryptBlock(v, x);
6212
6212
  },
6213
- decryptBlock: function(v, S) {
6214
- this._des3.decryptBlock(v, S), this._des2.encryptBlock(v, S), this._des1.decryptBlock(v, S);
6213
+ decryptBlock: function(v, x) {
6214
+ this._des3.decryptBlock(v, x), this._des2.encryptBlock(v, x), this._des1.decryptBlock(v, x);
6215
6215
  },
6216
6216
  keySize: 192 / 32,
6217
6217
  ivSize: 64 / 32,
6218
6218
  blockSize: 64 / 32
6219
6219
  });
6220
- t.TripleDES = n._createHelper(x);
6220
+ t.TripleDES = n._createHelper(S);
6221
6221
  }(), e.TripleDES;
6222
6222
  });
6223
6223
  }(Ir)), Ir.exports;
6224
6224
  }
6225
6225
  var wr = { exports: {} }, Ta;
6226
- function r0() {
6226
+ function a0() {
6227
6227
  return Ta || (Ta = 1, function(r, a) {
6228
6228
  (function(e, t, i) {
6229
6229
  r.exports = t(ne(), Ot(), Ut(), yt(), ye());
@@ -6234,10 +6234,10 @@ function r0() {
6234
6234
  for (var h = this._key, p = h.words, d = h.sigBytes, f = this._S = [], m = 0; m < 256; m++)
6235
6235
  f[m] = m;
6236
6236
  for (var m = 0, l = 0; m < 256; m++) {
6237
- var x = m % d, v = p[x >>> 2] >>> 24 - x % 4 * 8 & 255;
6237
+ var S = m % d, v = p[S >>> 2] >>> 24 - S % 4 * 8 & 255;
6238
6238
  l = (l + f[m] + v) % 256;
6239
- var S = f[m];
6240
- f[m] = f[l], f[l] = S;
6239
+ var x = f[m];
6240
+ f[m] = f[l], f[l] = x;
6241
6241
  }
6242
6242
  this._i = this._j = 0;
6243
6243
  },
@@ -6277,7 +6277,7 @@ function r0() {
6277
6277
  }(wr)), wr.exports;
6278
6278
  }
6279
6279
  var Dr = { exports: {} }, Pa;
6280
- function s0() {
6280
+ function n0() {
6281
6281
  return Pa || (Pa = 1, function(r, a) {
6282
6282
  (function(e, t, i) {
6283
6283
  r.exports = t(ne(), Ot(), Ut(), yt(), ye());
@@ -6296,7 +6296,7 @@ function s0() {
6296
6296
  d[1] << 16 | d[0] >>> 16,
6297
6297
  d[3],
6298
6298
  d[2] << 16 | d[1] >>> 16
6299
- ], x = this._C = [
6299
+ ], S = this._C = [
6300
6300
  d[2] << 16 | d[2] >>> 16,
6301
6301
  d[0] & 4294901760 | d[1] & 65535,
6302
6302
  d[3] << 16 | d[3] >>> 16,
@@ -6310,10 +6310,10 @@ function s0() {
6310
6310
  for (var m = 0; m < 4; m++)
6311
6311
  p.call(this);
6312
6312
  for (var m = 0; m < 8; m++)
6313
- x[m] ^= l[m + 4 & 7];
6313
+ S[m] ^= l[m + 4 & 7];
6314
6314
  if (f) {
6315
- var v = f.words, S = v[0], b = v[1], E = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360, _ = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, y = E >>> 16 | _ & 4294901760, A = _ << 16 | E & 65535;
6316
- x[0] ^= E, x[1] ^= y, x[2] ^= _, x[3] ^= A, x[4] ^= E, x[5] ^= y, x[6] ^= _, x[7] ^= A;
6315
+ var v = f.words, x = v[0], b = v[1], E = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, _ = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, y = E >>> 16 | _ & 4294901760, A = _ << 16 | E & 65535;
6316
+ S[0] ^= E, S[1] ^= y, S[2] ^= _, S[3] ^= A, S[4] ^= E, S[5] ^= y, S[6] ^= _, S[7] ^= A;
6317
6317
  for (var m = 0; m < 4; m++)
6318
6318
  p.call(this);
6319
6319
  }
@@ -6332,8 +6332,8 @@ function s0() {
6332
6332
  o[m] = f[m];
6333
6333
  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;
6334
6334
  for (var m = 0; m < 8; m++) {
6335
- var l = d[m] + f[m], x = l & 65535, v = l >>> 16, S = ((x * x >>> 17) + x * v >>> 15) + v * v, b = ((l & 4294901760) * l | 0) + ((l & 65535) * l | 0);
6336
- u[m] = S ^ b;
6335
+ var l = d[m] + f[m], S = l & 65535, v = l >>> 16, x = ((S * S >>> 17) + S * v >>> 15) + v * v, b = ((l & 4294901760) * l | 0) + ((l & 65535) * l | 0);
6336
+ u[m] = x ^ b;
6337
6337
  }
6338
6338
  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;
6339
6339
  }
@@ -6343,7 +6343,7 @@ function s0() {
6343
6343
  }(Dr)), Dr.exports;
6344
6344
  }
6345
6345
  var Tr = { exports: {} }, ka;
6346
- function a0() {
6346
+ function o0() {
6347
6347
  return ka || (ka = 1, function(r, a) {
6348
6348
  (function(e, t, i) {
6349
6349
  r.exports = t(ne(), Ot(), Ut(), yt(), ye());
@@ -6371,14 +6371,14 @@ function a0() {
6371
6371
  d[3] & 4294901760 | d[0] & 65535
6372
6372
  ];
6373
6373
  this._b = 0;
6374
- for (var x = 0; x < 4; x++)
6374
+ for (var S = 0; S < 4; S++)
6375
6375
  p.call(this);
6376
- for (var x = 0; x < 8; x++)
6377
- l[x] ^= m[x + 4 & 7];
6376
+ for (var S = 0; S < 8; S++)
6377
+ l[S] ^= m[S + 4 & 7];
6378
6378
  if (f) {
6379
- var v = f.words, S = v[0], b = v[1], E = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360, _ = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, y = E >>> 16 | _ & 4294901760, A = _ << 16 | E & 65535;
6379
+ var v = f.words, x = v[0], b = v[1], E = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, _ = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, y = E >>> 16 | _ & 4294901760, A = _ << 16 | E & 65535;
6380
6380
  l[0] ^= E, l[1] ^= y, l[2] ^= _, l[3] ^= A, l[4] ^= E, l[5] ^= y, l[6] ^= _, l[7] ^= A;
6381
- for (var x = 0; x < 4; x++)
6381
+ for (var S = 0; S < 4; S++)
6382
6382
  p.call(this);
6383
6383
  }
6384
6384
  },
@@ -6396,8 +6396,8 @@ function a0() {
6396
6396
  o[m] = f[m];
6397
6397
  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;
6398
6398
  for (var m = 0; m < 8; m++) {
6399
- var l = d[m] + f[m], x = l & 65535, v = l >>> 16, S = ((x * x >>> 17) + x * v >>> 15) + v * v, b = ((l & 4294901760) * l | 0) + ((l & 65535) * l | 0);
6400
- u[m] = S ^ b;
6399
+ var l = d[m] + f[m], S = l & 65535, v = l >>> 16, x = ((S * S >>> 17) + S * v >>> 15) + v * v, b = ((l & 4294901760) * l | 0) + ((l & 65535) * l | 0);
6400
+ u[m] = x ^ b;
6401
6401
  }
6402
6402
  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;
6403
6403
  }
@@ -6407,7 +6407,7 @@ function a0() {
6407
6407
  }(Tr)), Tr.exports;
6408
6408
  }
6409
6409
  var Pr = { exports: {} }, Ba;
6410
- function n0() {
6410
+ function c0() {
6411
6411
  return Ba || (Ba = 1, function(r, a) {
6412
6412
  (function(e, t, i) {
6413
6413
  r.exports = t(ne(), Ot(), Ut(), yt(), ye());
@@ -7471,53 +7471,53 @@ function n0() {
7471
7471
  pbox: [],
7472
7472
  sbox: []
7473
7473
  };
7474
- function p(x, v) {
7475
- let S = v >> 24 & 255, b = v >> 16 & 255, E = v >> 8 & 255, _ = v & 255, y = x.sbox[0][S] + x.sbox[1][b];
7476
- return y = y ^ x.sbox[2][E], y = y + x.sbox[3][_], y;
7474
+ function p(S, v) {
7475
+ let x = v >> 24 & 255, b = v >> 16 & 255, E = v >> 8 & 255, _ = v & 255, y = S.sbox[0][x] + S.sbox[1][b];
7476
+ return y = y ^ S.sbox[2][E], y = y + S.sbox[3][_], y;
7477
7477
  }
7478
- function d(x, v, S) {
7479
- let b = v, E = S, _;
7478
+ function d(S, v, x) {
7479
+ let b = v, E = x, _;
7480
7480
  for (let y = 0; y < c; ++y)
7481
- b = b ^ x.pbox[y], E = p(x, b) ^ E, _ = b, b = E, E = _;
7482
- return _ = b, b = E, E = _, E = E ^ x.pbox[c], b = b ^ x.pbox[c + 1], { left: b, right: E };
7481
+ b = b ^ S.pbox[y], E = p(S, b) ^ E, _ = b, b = E, E = _;
7482
+ return _ = b, b = E, E = _, E = E ^ S.pbox[c], b = b ^ S.pbox[c + 1], { left: b, right: E };
7483
7483
  }
7484
- function f(x, v, S) {
7485
- let b = v, E = S, _;
7484
+ function f(S, v, x) {
7485
+ let b = v, E = x, _;
7486
7486
  for (let y = c + 1; y > 1; --y)
7487
- b = b ^ x.pbox[y], E = p(x, b) ^ E, _ = b, b = E, E = _;
7488
- return _ = b, b = E, E = _, E = E ^ x.pbox[1], b = b ^ x.pbox[0], { left: b, right: E };
7487
+ b = b ^ S.pbox[y], E = p(S, b) ^ E, _ = b, b = E, E = _;
7488
+ return _ = b, b = E, E = _, E = E ^ S.pbox[1], b = b ^ S.pbox[0], { left: b, right: E };
7489
7489
  }
7490
- function m(x, v, S) {
7490
+ function m(S, v, x) {
7491
7491
  for (let A = 0; A < 4; A++) {
7492
- x.sbox[A] = [];
7492
+ S.sbox[A] = [];
7493
7493
  for (let R = 0; R < 256; R++)
7494
- x.sbox[A][R] = u[A][R];
7494
+ S.sbox[A][R] = u[A][R];
7495
7495
  }
7496
7496
  let b = 0;
7497
7497
  for (let A = 0; A < c + 2; A++)
7498
- x.pbox[A] = o[A] ^ v[b], b++, b >= S && (b = 0);
7498
+ S.pbox[A] = o[A] ^ v[b], b++, b >= x && (b = 0);
7499
7499
  let E = 0, _ = 0, y = 0;
7500
7500
  for (let A = 0; A < c + 2; A += 2)
7501
- y = d(x, E, _), E = y.left, _ = y.right, x.pbox[A] = E, x.pbox[A + 1] = _;
7501
+ y = d(S, E, _), E = y.left, _ = y.right, S.pbox[A] = E, S.pbox[A + 1] = _;
7502
7502
  for (let A = 0; A < 4; A++)
7503
7503
  for (let R = 0; R < 256; R += 2)
7504
- y = d(x, E, _), E = y.left, _ = y.right, x.sbox[A][R] = E, x.sbox[A][R + 1] = _;
7504
+ y = d(S, E, _), E = y.left, _ = y.right, S.sbox[A][R] = E, S.sbox[A][R + 1] = _;
7505
7505
  return !0;
7506
7506
  }
7507
7507
  var l = n.Blowfish = s.extend({
7508
7508
  _doReset: function() {
7509
7509
  if (this._keyPriorReset !== this._key) {
7510
- var x = this._keyPriorReset = this._key, v = x.words, S = x.sigBytes / 4;
7511
- m(h, v, S);
7510
+ var S = this._keyPriorReset = this._key, v = S.words, x = S.sigBytes / 4;
7511
+ m(h, v, x);
7512
7512
  }
7513
7513
  },
7514
- encryptBlock: function(x, v) {
7515
- var S = d(h, x[v], x[v + 1]);
7516
- x[v] = S.left, x[v + 1] = S.right;
7514
+ encryptBlock: function(S, v) {
7515
+ var x = d(h, S[v], S[v + 1]);
7516
+ S[v] = x.left, S[v + 1] = x.right;
7517
7517
  },
7518
- decryptBlock: function(x, v) {
7519
- var S = f(h, x[v], x[v + 1]);
7520
- x[v] = S.left, x[v + 1] = S.right;
7518
+ decryptBlock: function(S, v) {
7519
+ var x = f(h, S[v], S[v + 1]);
7520
+ S[v] = x.left, S[v + 1] = x.right;
7521
7521
  },
7522
7522
  blockSize: 64 / 32,
7523
7523
  keySize: 128 / 32,
@@ -7530,17 +7530,17 @@ function n0() {
7530
7530
  }
7531
7531
  (function(r, a) {
7532
7532
  (function(e, t, i) {
7533
- r.exports = t(ne(), Ci(), Mo(), Fo(), Ot(), Vo(), Ut(), hn(), Xr(), Oo(), dn(), Uo(), Ho(), jo(), Yr(), zo(), yt(), ye(), Wo(), $o(), Ko(), qo(), Jo(), Go(), Xo(), Yo(), Zo(), Qo(), e0(), t0(), i0(), r0(), s0(), a0(), n0());
7533
+ r.exports = t(ne(), Ci(), Vo(), Oo(), Ot(), Uo(), Ut(), hn(), Xr(), Ho(), dn(), jo(), zo(), Wo(), Yr(), $o(), yt(), ye(), Ko(), qo(), Jo(), Go(), Xo(), Yo(), Zo(), Qo(), e0(), t0(), i0(), r0(), s0(), a0(), n0(), o0(), c0());
7534
7534
  })(ie, function(e) {
7535
7535
  return e;
7536
7536
  });
7537
7537
  })(un);
7538
- var o0 = un.exports;
7539
- const ai = /* @__PURE__ */ To(o0);
7540
- function c0(r) {
7538
+ var u0 = un.exports;
7539
+ const ai = /* @__PURE__ */ ko(u0);
7540
+ function h0(r) {
7541
7541
  return ai.MD5(r).toString().toUpperCase();
7542
7542
  }
7543
- function u0(r, a, e, t, i, s, n, c) {
7543
+ function d0(r, a, e, t, i, s, n, c) {
7544
7544
  var o;
7545
7545
  let u = "";
7546
7546
  s.set("x-log-apiversion", "0.6.0"), s.set("x-log-signaturemethod", "hmac-sha1"), u += r + `
@@ -7563,7 +7563,7 @@ function u0(r, a, e, t, i, s, n, c) {
7563
7563
  const d = ai.HmacSHA1(u, t).toString(ai.enc.Base64), f = "LOG " + e + ":" + d;
7564
7564
  return s.set("Authorization", f), s.set("x-log-date", c), f;
7565
7565
  }
7566
- var h0 = (r, a, e) => new Promise((t, i) => {
7566
+ var l0 = (r, a, e) => new Promise((t, i) => {
7567
7567
  var s = (o) => {
7568
7568
  try {
7569
7569
  c(e.next(o));
@@ -7579,8 +7579,8 @@ var h0 = (r, a, e) => new Promise((t, i) => {
7579
7579
  }, c = (o) => o.done ? t(o.value) : Promise.resolve(o.value).then(s, n);
7580
7580
  c((e = e.apply(r, a)).next());
7581
7581
  });
7582
- function d0(r) {
7583
- return h0(this, null, function* () {
7582
+ function f0(r) {
7583
+ return l0(this, null, function* () {
7584
7584
  const a = /* @__PURE__ */ new Date();
7585
7585
  if (r.refreshSTSTokenInterval || (r.refreshSTSTokenInterval = 3e5), !r.stsTokenFreshTime || +a - r.stsTokenFreshTime >= r.refreshSTSTokenInterval) {
7586
7586
  r.stsTokenFreshTime = a;
@@ -7594,7 +7594,7 @@ function d0(r) {
7594
7594
  return null;
7595
7595
  });
7596
7596
  }
7597
- var l0 = (r, a, e) => new Promise((t, i) => {
7597
+ var p0 = (r, a, e) => new Promise((t, i) => {
7598
7598
  var s = (o) => {
7599
7599
  try {
7600
7600
  c(e.next(o));
@@ -7624,14 +7624,14 @@ function Zr(r) {
7624
7624
  return e.__time__ = i ? t : Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3), e;
7625
7625
  },
7626
7626
  process: function(a, e) {
7627
- return l0(this, null, function* () {
7628
- yield d0(r);
7629
- let t = a.slice(a.indexOf("/logstores")), i = e.length, s = c0(e), n = (/* @__PURE__ */ new Date()).toUTCString(), c = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map([
7627
+ return p0(this, null, function* () {
7628
+ yield f0(r);
7629
+ let t = a.slice(a.indexOf("/logstores")), i = e.length, s = h0(e), n = (/* @__PURE__ */ new Date()).toUTCString(), c = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map([
7630
7630
  ["Content-Type", "application/json"],
7631
7631
  ["Content-MD5", s],
7632
7632
  ["x-log-bodyrawsize", i.toString()]
7633
7633
  ]);
7634
- r.securityToken && o.set("x-acs-security-token", r.securityToken), u0("POST", t, r.accessKeyId, r.accessKeySecret, c, o, s, n);
7634
+ r.securityToken && o.set("x-acs-security-token", r.securityToken), d0("POST", t, r.accessKeyId, r.accessKeySecret, c, o, s, n);
7635
7635
  let u = Object.fromEntries(o);
7636
7636
  return {
7637
7637
  data: e,
@@ -7642,7 +7642,7 @@ function Zr(r) {
7642
7642
  };
7643
7643
  }
7644
7644
  typeof window != "undefined" && cn(window, "stsPlugin", Zr);
7645
- var f0 = /d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g, p0 = /\b(?:[A-Z]{1,3}[A-Z][TC])(?:[-+]\d{4})?|((?:Australian )?(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time)\b/g, g0 = /[^-+\dA-Z]/g;
7645
+ var g0 = /d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g, m0 = /\b(?:[A-Z]{1,3}[A-Z][TC])(?:[-+]\d{4})?|((?:Australian )?(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time)\b/g, S0 = /[^-+\dA-Z]/g;
7646
7646
  function Qr(r, a, e, t) {
7647
7647
  if (arguments.length === 1 && typeof r == "string" && !/\d/.test(r) && (a = r, r = void 0), r = r || r === 0 ? r : /* @__PURE__ */ new Date(), r instanceof Date || (r = new Date(r)), isNaN(r))
7648
7648
  throw TypeError("Invalid date");
@@ -7670,9 +7670,9 @@ function Qr(r, a, e, t) {
7670
7670
  }, m = function() {
7671
7671
  return e ? 0 : r.getTimezoneOffset();
7672
7672
  }, l = function() {
7673
- return m0(r);
7674
- }, x = function() {
7675
7673
  return x0(r);
7674
+ }, S = function() {
7675
+ return v0(r);
7676
7676
  }, v = { d: function() {
7677
7677
  return n();
7678
7678
  }, dd: function() {
@@ -7680,11 +7680,11 @@ function Qr(r, a, e, t) {
7680
7680
  }, ddd: function() {
7681
7681
  return Oe.dayNames[c()];
7682
7682
  }, DDD: function() {
7683
- return La({ y: u(), m: o(), d: n(), _: s(), dayName: Oe.dayNames[c()], short: !0 });
7683
+ return Ma({ y: u(), m: o(), d: n(), _: s(), dayName: Oe.dayNames[c()], short: !0 });
7684
7684
  }, dddd: function() {
7685
7685
  return Oe.dayNames[c() + 7];
7686
7686
  }, DDDD: function() {
7687
- return La({ y: u(), m: o(), d: n(), _: s(), dayName: Oe.dayNames[c() + 7] });
7687
+ return Ma({ y: u(), m: o(), d: n(), _: s(), dayName: Oe.dayNames[c() + 7] });
7688
7688
  }, m: function() {
7689
7689
  return o() + 1;
7690
7690
  }, mm: function() {
@@ -7726,7 +7726,7 @@ function Qr(r, a, e, t) {
7726
7726
  }, TT: function() {
7727
7727
  return h() < 12 ? Oe.timeNames[6] : Oe.timeNames[7];
7728
7728
  }, Z: function() {
7729
- return t ? "GMT" : e ? "UTC" : S0(r);
7729
+ return t ? "GMT" : e ? "UTC" : b0(r);
7730
7730
  }, o: function() {
7731
7731
  return (m() > 0 ? "-" : "+") + Ke(Math.floor(Math.abs(m()) / 60) * 100 + Math.abs(m()) % 60, 4);
7732
7732
  }, p: function() {
@@ -7738,16 +7738,16 @@ function Qr(r, a, e, t) {
7738
7738
  }, WW: function() {
7739
7739
  return Ke(l());
7740
7740
  }, N: function() {
7741
- return x();
7741
+ return S();
7742
7742
  } };
7743
- return a.replace(f0, function(S) {
7744
- return S in v ? v[S]() : S.slice(1, S.length - 1);
7743
+ return a.replace(g0, function(x) {
7744
+ return x in v ? v[x]() : x.slice(1, x.length - 1);
7745
7745
  });
7746
7746
  }
7747
7747
  var Na = { 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(a) {
7748
7748
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2;
7749
7749
  return String(a).padStart(e, "0");
7750
- }, La = function(a) {
7750
+ }, Ma = function(a) {
7751
7751
  var e = a.y, t = a.m, i = a.d, s = a._, n = a.dayName, c = a.short, o = c === void 0 ? !1 : c, u = /* @__PURE__ */ new Date(), h = /* @__PURE__ */ new Date();
7752
7752
  h.setDate(h[s + "Date"]() - 1);
7753
7753
  var p = /* @__PURE__ */ new Date();
@@ -7760,19 +7760,19 @@ var Na = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", paddedShort
7760
7760
  return u[s + "FullYear"]();
7761
7761
  }, l = function() {
7762
7762
  return h[s + "Date"]();
7763
- }, x = function() {
7763
+ }, S = function() {
7764
7764
  return h[s + "Month"]();
7765
7765
  }, v = function() {
7766
7766
  return h[s + "FullYear"]();
7767
- }, S = function() {
7767
+ }, x = function() {
7768
7768
  return p[s + "Date"]();
7769
7769
  }, b = function() {
7770
7770
  return p[s + "Month"]();
7771
7771
  }, E = function() {
7772
7772
  return p[s + "FullYear"]();
7773
7773
  };
7774
- return m() === e && f() === t && d() === i ? o ? "Tdy" : "Today" : v() === e && x() === t && l() === i ? o ? "Ysd" : "Yesterday" : E() === e && b() === t && S() === i ? o ? "Tmw" : "Tomorrow" : n;
7775
- }, m0 = function(a) {
7774
+ return m() === e && f() === t && d() === i ? o ? "Tdy" : "Today" : v() === e && S() === t && l() === i ? o ? "Ysd" : "Yesterday" : E() === e && b() === t && x() === i ? o ? "Tmw" : "Tomorrow" : n;
7775
+ }, x0 = function(a) {
7776
7776
  var e = new Date(a.getFullYear(), a.getMonth(), a.getDate());
7777
7777
  e.setDate(e.getDate() - (e.getDay() + 6) % 7 + 3);
7778
7778
  var t = new Date(e.getFullYear(), 0, 4);
@@ -7781,13 +7781,13 @@ var Na = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", paddedShort
7781
7781
  e.setHours(e.getHours() - i);
7782
7782
  var s = (e - t) / (864e5 * 7);
7783
7783
  return 1 + Math.floor(s);
7784
- }, x0 = function(a) {
7784
+ }, v0 = function(a) {
7785
7785
  var e = a.getDay();
7786
7786
  return e === 0 && (e = 7), e;
7787
- }, S0 = function(a) {
7788
- return (String(a).match(p0) || [""]).pop().replace(g0, "").replace(/GMT\+0000/g, "UTC");
7787
+ }, b0 = function(a) {
7788
+ return (String(a).match(m0) || [""]).pop().replace(S0, "").replace(/GMT\+0000/g, "UTC");
7789
7789
  };
7790
- const { BrowserUtil: v0 } = le, jt = {
7790
+ const { BrowserUtil: E0 } = le, jt = {
7791
7791
  EdgeHTML: "EdgeHTML",
7792
7792
  Blink: "Blink",
7793
7793
  Trident: "Trident",
@@ -7796,7 +7796,7 @@ const { BrowserUtil: v0 } = le, jt = {
7796
7796
  }, pi = (r, a) => {
7797
7797
  const e = a.match(r);
7798
7798
  return e && e.length > 0 && e[1] || "";
7799
- }, b0 = [
7799
+ }, _0 = [
7800
7800
  /* EdgeHTML */
7801
7801
  {
7802
7802
  test: [/\sedg\//i, [/edg([ea]|ios)/i]],
@@ -7859,17 +7859,17 @@ const { BrowserUtil: v0 } = le, jt = {
7859
7859
  return e.test(a);
7860
7860
  if (Array.isArray(e.test))
7861
7861
  return e.test.some((t) => typeof t == "string" ? a.indexOf(t) > -1 : t instanceof RegExp ? t.test(a) : !1);
7862
- }), E0 = () => {
7862
+ }), A0 = () => {
7863
7863
  try {
7864
- const r = navigator.userAgent || "", a = es(b0, r);
7864
+ const r = navigator.userAgent || "", a = es(_0, r);
7865
7865
  if (a) {
7866
7866
  const e = a.describe(r);
7867
- return `${e.name}/${e.version || v0.browserVersion}`;
7867
+ return `${e.name}/${e.version || E0.browserVersion}`;
7868
7868
  }
7869
7869
  } catch (r) {
7870
7870
  }
7871
7871
  return navigator.userAgent;
7872
- }, _0 = [
7872
+ }, y0 = [
7873
7873
  {
7874
7874
  test: ["wow64", "win64", "x64"],
7875
7875
  describe() {
@@ -7897,14 +7897,14 @@ const { BrowserUtil: v0 } = le, jt = {
7897
7897
  ], ln = () => {
7898
7898
  let r = "unknown";
7899
7899
  try {
7900
- const a = navigator.userAgent || "", e = es(_0, a);
7900
+ const a = navigator.userAgent || "", e = es(y0, a);
7901
7901
  if (!e)
7902
7902
  return r;
7903
7903
  r = e.describe(a);
7904
7904
  } catch (a) {
7905
7905
  }
7906
7906
  return r;
7907
- }, A0 = [
7907
+ }, C0 = [
7908
7908
  {
7909
7909
  test: [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i],
7910
7910
  describe() {
@@ -7993,17 +7993,17 @@ const { BrowserUtil: v0 } = le, jt = {
7993
7993
  return "Meizu";
7994
7994
  }
7995
7995
  }
7996
- ], y0 = () => {
7996
+ ], R0 = () => {
7997
7997
  let r = "Unknown";
7998
7998
  try {
7999
- const a = navigator.userAgent || "", e = es(A0, a);
7999
+ const a = navigator.userAgent || "", e = es(C0, a);
8000
8000
  if (!e)
8001
8001
  return r;
8002
8002
  r = e.describe(a);
8003
8003
  } catch (a) {
8004
8004
  }
8005
8005
  return r;
8006
- }, { BrowserUtil: Ma, SystenUtil: Fa } = le, C0 = ln(), R0 = "woMMssV6jmyol9fr", I0 = 200, gi = 10 * 60 * 1e3, mi = {
8006
+ }, { BrowserUtil: La, SystenUtil: Fa } = le, I0 = ln(), w0 = "woMMssV6jmyol9fr", D0 = 200, gi = 10 * 60 * 1e3, mi = {
8007
8007
  host: "cn-hangzhou.log.aliyuncs.com",
8008
8008
  // 所在地域的服务入口。例如cn-hangzhou.log.aliyuncs.com
8009
8009
  project: "alivc-aio",
@@ -8022,7 +8022,7 @@ function Va() {
8022
8022
  return Qr(/* @__PURE__ */ new Date(), "isoDate");
8023
8023
  }
8024
8024
  var fn = /* @__PURE__ */ ((r) => (r[r.DEBUG = 0] = "DEBUG", r[r.INFO = 1] = "INFO", r[r.API = 2] = "API", r[r.WARNING = 3] = "WARNING", r[r.ERROR = 4] = "ERROR", r[r.NONE = 5] = "NONE", r))(fn || {});
8025
- class w0 {
8025
+ class T0 {
8026
8026
  constructor() {
8027
8027
  g(this, "tracker");
8028
8028
  g(this, "slsPlugin");
@@ -8130,7 +8130,7 @@ class w0 {
8130
8130
  });
8131
8131
  }
8132
8132
  requestSTSToken() {
8133
- const a = Date.now(), e = `${this.clientId}|${R0}|${a}`, i = {
8133
+ const a = Date.now(), e = `${this.clientId}|${w0}|${a}`, i = {
8134
8134
  Action: "AssumeSlsRoleV2",
8135
8135
  AuthInfo: ai.MD5(e).toString(ai.enc.Hex),
8136
8136
  ClientId: this.clientId,
@@ -8216,9 +8216,9 @@ class w0 {
8216
8216
  b_sesid: this.bSesid,
8217
8217
  // 与其他端对齐,用于该字段标记某个上传任务
8218
8218
  biz_type: "rtc",
8219
- cpu_info: C0,
8220
- db: Ma.browserName,
8221
- dm: Ma.browserVersion,
8219
+ cpu_info: I0,
8220
+ db: La.browserName,
8221
+ dm: La.browserVersion,
8222
8222
  install_uuid: this.clientId,
8223
8223
  logger_v: "0.0.1",
8224
8224
  os: Fa.systemName,
@@ -8246,12 +8246,12 @@ class w0 {
8246
8246
  }
8247
8247
  addLog(a) {
8248
8248
  const e = kr(), i = `[${Va()} ${e}] ${a}`;
8249
- !this.sessionId || !this.tracker ? (this.logCache.push(i), this.logCache.length >= I0 && this.logCache.shift()) : this.sendLog(i);
8249
+ !this.sessionId || !this.tracker ? (this.logCache.push(i), this.logCache.length >= D0 && this.logCache.shift()) : this.sendLog(i);
8250
8250
  }
8251
8251
  }
8252
8252
  class O {
8253
8253
  static getLogger() {
8254
- return this.logger || (this.logger = new w0()), this.logger;
8254
+ return this.logger || (this.logger = new T0()), this.logger;
8255
8255
  }
8256
8256
  static init() {
8257
8257
  this.getLogger().init();
@@ -8295,7 +8295,7 @@ class O {
8295
8295
  }
8296
8296
  }
8297
8297
  g(O, "logger");
8298
- const D0 = (r) => w(void 0, null, function* () {
8298
+ const P0 = (r) => w(void 0, null, function* () {
8299
8299
  const a = new le.SupportUtil();
8300
8300
  let e = {
8301
8301
  support: !1,
@@ -8305,20 +8305,27 @@ const D0 = (r) => w(void 0, null, function* () {
8305
8305
  isH264EncodeSupported: !1,
8306
8306
  isScreenShareSupported: !1,
8307
8307
  isSendMediaExtensionMsgSupported: !1,
8308
- isBrowserSupported: a.checkBrowser({ errorCode: 0, message: "" })
8308
+ isBrowserSupported: !0
8309
8309
  }
8310
- };
8311
- if (e.support = e.detail.isWebRTCSupported && e.detail.isBrowserSupported, a.checkWebRtcSupport() && r !== "sendonly") {
8312
- const t = yield a.checkH264Decode();
8313
- e.detail.isH264DecodeSupported = t, e.support = e.support && t;
8310
+ }, t = !1;
8311
+ try {
8312
+ yield a.isSupport({
8313
+ isReceiveVideo: !0
8314
+ }), t = !0;
8315
+ } catch (i) {
8316
+ t = !1, e.detail.isBrowserSupported = a.checkBrowser({ errorCode: 0, message: "" });
8317
+ }
8318
+ if (e.support = t, a.checkWebRtcSupport() && r !== "sendonly") {
8319
+ const i = yield a.checkH264Decode();
8320
+ e.detail.isH264DecodeSupported = i, e.support = e.support && i;
8314
8321
  }
8315
8322
  if (a.checkWebRtcSupport() && r !== "recvonly") {
8316
- const t = yield a.checkH264Encode();
8317
- e.detail.isH264EncodeSupported = t, e.support = e.support && t;
8323
+ const i = yield a.checkH264Encode();
8324
+ e.detail.isH264EncodeSupported = i, e.support = e.support && i;
8318
8325
  }
8319
8326
  return e.detail.isScreenShareSupported = a.checkWebRtcSupport() && a.checkScreenCapture() && !le.SystenUtil.isAndroid && !le.SystenUtil.isIos, e.detail.isSendMediaExtensionMsgSupported = a.checkWebRtcSupport() && a.checkEncodedTransformSupport(), e;
8320
- }), T0 = () => new le.SupportUtil().checkScreenCapture();
8321
- var be = /* @__PURE__ */ ((r) => (r[r.AliRtcSdkStreamTypeCapture = 0] = "AliRtcSdkStreamTypeCapture", r[r.AliRtcSdkStreamTypeScreen = 1] = "AliRtcSdkStreamTypeScreen", r))(be || {}), P0 = /* @__PURE__ */ ((r) => (r[r.PRE_PROCESSOR = 0] = "PRE_PROCESSOR", r[r.POST_PROCESSOR = 1] = "POST_PROCESSOR", r))(P0 || {}), Ri = /* @__PURE__ */ ((r) => (r[r.AUDIO = 0] = "AUDIO", r[r.VIDEO = 1] = "VIDEO", r[r.BOTH = 2] = "BOTH", r))(Ri || {});
8327
+ }), k0 = () => new le.SupportUtil().checkScreenCapture();
8328
+ var be = /* @__PURE__ */ ((r) => (r[r.AliRtcSdkStreamTypeCapture = 0] = "AliRtcSdkStreamTypeCapture", r[r.AliRtcSdkStreamTypeScreen = 1] = "AliRtcSdkStreamTypeScreen", r))(be || {}), B0 = /* @__PURE__ */ ((r) => (r[r.PRE_PROCESSOR = 0] = "PRE_PROCESSOR", r[r.POST_PROCESSOR = 1] = "POST_PROCESSOR", r))(B0 || {}), Ri = /* @__PURE__ */ ((r) => (r[r.AUDIO = 0] = "AUDIO", r[r.VIDEO = 1] = "VIDEO", r[r.BOTH = 2] = "BOTH", r))(Ri || {});
8322
8329
  class Gt extends De {
8323
8330
  constructor(e, t = be.AliRtcSdkStreamTypeCapture, i = 1) {
8324
8331
  super();
@@ -8388,7 +8395,7 @@ const ii = {
8388
8395
  1: "shareScreen"
8389
8396
  };
8390
8397
  var gn = /* @__PURE__ */ ((r) => (r[r.LiveTranscoding_Profile_1IN_1080P = 0] = "LiveTranscoding_Profile_1IN_1080P", r[r.LiveTranscoding_Profile_1IN_720P = 1] = "LiveTranscoding_Profile_1IN_720P", r[r.LiveTranscoding_Profile_1IN_360P = 2] = "LiveTranscoding_Profile_1IN_360P", r[r.LiveTranscoding_Profile_2IN_1080P = 3] = "LiveTranscoding_Profile_2IN_1080P", r[r.LiveTranscoding_Profile_2IN_720P = 4] = "LiveTranscoding_Profile_2IN_720P", r[r.LiveTranscoding_Profile_2IN_360P = 5] = "LiveTranscoding_Profile_2IN_360P", r[r.LiveTranscoding_Profile_4IN_1080P = 6] = "LiveTranscoding_Profile_4IN_1080P", r[r.LiveTranscoding_Profile_4IN_720P = 7] = "LiveTranscoding_Profile_4IN_720P", r[r.LiveTranscoding_Profile_4IN_360P = 8] = "LiveTranscoding_Profile_4IN_360P", r[r.LiveTranscoding_Profile_9IN_1080P = 9] = "LiveTranscoding_Profile_9IN_1080P", r[r.LiveTranscoding_Profile_9IN_720P = 10] = "LiveTranscoding_Profile_9IN_720P", r[r.LiveTranscoding_Profile_9IN_360P = 11] = "LiveTranscoding_Profile_9IN_360P", r[r.LiveTranscoding_Profile_12IN_1080P = 12] = "LiveTranscoding_Profile_12IN_1080P", r[r.LiveTranscoding_Profile_12IN_720P = 13] = "LiveTranscoding_Profile_12IN_720P", r[r.LiveTranscoding_Profile_12IN_360P = 14] = "LiveTranscoding_Profile_12IN_360P", r[r.LiveTranscoding_Profile_16IN_1080P = 15] = "LiveTranscoding_Profile_16IN_1080P", r[r.LiveTranscoding_Profile_16IN_720P = 16] = "LiveTranscoding_Profile_16IN_720P", r[r.LiveTranscoding_Profile_16IN_360P = 17] = "LiveTranscoding_Profile_16IN_360P", r[r.LiveTranscoding_Profile_Mixed = 9999] = "LiveTranscoding_Profile_Mixed", r))(gn || {});
8391
- const k0 = {
8398
+ const N0 = {
8392
8399
  0: "1IN_1080P",
8393
8400
  1: "1IN_720P",
8394
8401
  2: "1IN_360P",
@@ -8409,8 +8416,8 @@ const k0 = {
8409
8416
  17: "16IN_360P",
8410
8417
  9999: "Mixed_Audio"
8411
8418
  };
8412
- var ts = /* @__PURE__ */ ((r) => (r[r.LiveTranscoding_HZ_48000 = 48e3] = "LiveTranscoding_HZ_48000", r[r.LiveTranscoding_HZ_44100 = 44100] = "LiveTranscoding_HZ_44100", r[r.LiveTranscoding_HZ_32000 = 32e3] = "LiveTranscoding_HZ_32000", r[r.LiveTranscoding_HZ_16000 = 16e3] = "LiveTranscoding_HZ_16000", r[r.LiveTranscoding_HZ_8000 = 8e3] = "LiveTranscoding_HZ_8000", r))(ts || {}), Ei = /* @__PURE__ */ ((r) => (r[r.LiveTranscodingNoBody = 0] = "LiveTranscodingNoBody", r[r.LiveTranscodingBody = 1] = "LiveTranscodingBody", r))(Ei || {}), Ii = /* @__PURE__ */ ((r) => (r[r.NOTO_SERIF_CJKSC_REGULAR = 0] = "NOTO_SERIF_CJKSC_REGULAR", r[r.ALIBABA_PUHUITI_REGULAR = 1] = "ALIBABA_PUHUITI_REGULAR", r[r.ALIBABA_PUHUITI_BOLD = 2] = "ALIBABA_PUHUITI_BOLD", r[r.ALIBABA_PUHUITI_Heavy = 3] = "ALIBABA_PUHUITI_Heavy", r[r.ALIBABA_PUHUITI_LIGHT = 4] = "ALIBABA_PUHUITI_LIGHT", r[r.ALIBABA_PUHUITI_MEDIUM = 5] = "ALIBABA_PUHUITI_MEDIUM", r))(Ii || {}), mn = /* @__PURE__ */ ((r) => (r[r.LiveTranscodingOrigin = 0] = "LiveTranscodingOrigin", r[r.LiveTranscodingCrop = 1] = "LiveTranscodingCrop", r[r.LiveTranscodingFill = 2] = "LiveTranscodingFill", r))(mn || {}), is = /* @__PURE__ */ ((r) => (r[r.LiveTranscodingNormal = 0] = "LiveTranscodingNormal", r[r.LiveTranscodingVirtualBackground = 1] = "LiveTranscodingVirtualBackground", r))(is || {}), xn = /* @__PURE__ */ ((r) => (r[r.LiveTranscodingState_IDLE = 0] = "LiveTranscodingState_IDLE", r[r.LiveTranscodingState_CONNNECT = 1] = "LiveTranscodingState_CONNNECT", r[r.LiveTranscodingState_RUNNING = 2] = "LiveTranscodingState_RUNNING", r[r.LiveTranscodingState_RECOVERING = 3] = "LiveTranscodingState_RECOVERING", r[r.LiveTranscodingState_FAILURE = 4] = "LiveTranscodingState_FAILURE", r[r.LiveTranscodingState_END = 5] = "LiveTranscodingState_END", r))(xn || {}), ht = /* @__PURE__ */ ((r) => (r[r.LiveTranscodingErrorPublishOk = 0] = "LiveTranscodingErrorPublishOk", r[r.LiveTranscodingErrorStreamNotFound = 17825793] = "LiveTranscodingErrorStreamNotFound", r[r.LiveTranscodingErrorStreamAlreadyExist = 17825794] = "LiveTranscodingErrorStreamAlreadyExist", r[r.LiveTranscodingErrorInvalidParam = 17825795] = "LiveTranscodingErrorInvalidParam", r[r.LiveTranscodingErrorInternalError = 17825796] = "LiveTranscodingErrorInternalError", r[r.LiveTranscodingErrorRtmpServerError = 17825797] = "LiveTranscodingErrorRtmpServerError", r[r.LiveTranscodingErrorRtmpStreamUrlError = 17825798] = "LiveTranscodingErrorRtmpStreamUrlError", r[r.LiveTranscodingErrorPublishTimeout = 17825799] = "LiveTranscodingErrorPublishTimeout", r[r.LiveTranscodingErrorNotAuthorized = 17825800] = "LiveTranscodingErrorNotAuthorized", r))(ht || {}), Sn = /* @__PURE__ */ ((r) => (r[r.TrascodingPublishTaskStatusStart = 0] = "TrascodingPublishTaskStatusStart", r[r.TrascodingPublishTaskStatusUpdate = 1] = "TrascodingPublishTaskStatusUpdate", r[r.TrascodingPublishTaskStatusStop = 2] = "TrascodingPublishTaskStatusStop", r))(Sn || {}), Ue = /* @__PURE__ */ ((r) => (r[r.MPU_TASK_TRANSACTION_START = 0] = "MPU_TASK_TRANSACTION_START", r[r.MPU_TASK_TRANSACTION_UPDATE = 1] = "MPU_TASK_TRANSACTION_UPDATE", r[r.MPU_TASK_TRANSACTION_STOP = 2] = "MPU_TASK_TRANSACTION_STOP", r[r.MPU_TASK_TRANSACTION_LIST = 3] = "MPU_TASK_TRANSACTION_LIST", r[r.MPU_TASK_TRANSACTION_POLLING = 4] = "MPU_TASK_TRANSACTION_POLLING", r[r.MPU_TASK_TRANSACTION_ACKNOWLEDGE = 5] = "MPU_TASK_TRANSACTION_ACKNOWLEDGE", r[r.MPU_TASK_TRANSACTION_END = 6] = "MPU_TASK_TRANSACTION_END", r))(Ue || {});
8413
- const B0 = {
8419
+ var ts = /* @__PURE__ */ ((r) => (r[r.LiveTranscoding_HZ_48000 = 48e3] = "LiveTranscoding_HZ_48000", r[r.LiveTranscoding_HZ_44100 = 44100] = "LiveTranscoding_HZ_44100", r[r.LiveTranscoding_HZ_32000 = 32e3] = "LiveTranscoding_HZ_32000", r[r.LiveTranscoding_HZ_16000 = 16e3] = "LiveTranscoding_HZ_16000", r[r.LiveTranscoding_HZ_8000 = 8e3] = "LiveTranscoding_HZ_8000", r))(ts || {}), Ei = /* @__PURE__ */ ((r) => (r[r.LiveTranscodingNoBody = 0] = "LiveTranscodingNoBody", r[r.LiveTranscodingBody = 1] = "LiveTranscodingBody", r))(Ei || {}), Ii = /* @__PURE__ */ ((r) => (r[r.NOTO_SERIF_CJKSC_REGULAR = 0] = "NOTO_SERIF_CJKSC_REGULAR", r[r.ALIBABA_PUHUITI_REGULAR = 1] = "ALIBABA_PUHUITI_REGULAR", r[r.ALIBABA_PUHUITI_BOLD = 2] = "ALIBABA_PUHUITI_BOLD", r[r.ALIBABA_PUHUITI_Heavy = 3] = "ALIBABA_PUHUITI_Heavy", r[r.ALIBABA_PUHUITI_LIGHT = 4] = "ALIBABA_PUHUITI_LIGHT", r[r.ALIBABA_PUHUITI_MEDIUM = 5] = "ALIBABA_PUHUITI_MEDIUM", r))(Ii || {}), mn = /* @__PURE__ */ ((r) => (r[r.LiveTranscodingOrigin = 0] = "LiveTranscodingOrigin", r[r.LiveTranscodingCrop = 1] = "LiveTranscodingCrop", r[r.LiveTranscodingFill = 2] = "LiveTranscodingFill", r))(mn || {}), is = /* @__PURE__ */ ((r) => (r[r.LiveTranscodingNormal = 0] = "LiveTranscodingNormal", r[r.LiveTranscodingVirtualBackground = 1] = "LiveTranscodingVirtualBackground", r))(is || {}), Sn = /* @__PURE__ */ ((r) => (r[r.LiveTranscodingState_IDLE = 0] = "LiveTranscodingState_IDLE", r[r.LiveTranscodingState_CONNNECT = 1] = "LiveTranscodingState_CONNNECT", r[r.LiveTranscodingState_RUNNING = 2] = "LiveTranscodingState_RUNNING", r[r.LiveTranscodingState_RECOVERING = 3] = "LiveTranscodingState_RECOVERING", r[r.LiveTranscodingState_FAILURE = 4] = "LiveTranscodingState_FAILURE", r[r.LiveTranscodingState_END = 5] = "LiveTranscodingState_END", r))(Sn || {}), ht = /* @__PURE__ */ ((r) => (r[r.LiveTranscodingErrorPublishOk = 0] = "LiveTranscodingErrorPublishOk", r[r.LiveTranscodingErrorStreamNotFound = 17825793] = "LiveTranscodingErrorStreamNotFound", r[r.LiveTranscodingErrorStreamAlreadyExist = 17825794] = "LiveTranscodingErrorStreamAlreadyExist", r[r.LiveTranscodingErrorInvalidParam = 17825795] = "LiveTranscodingErrorInvalidParam", r[r.LiveTranscodingErrorInternalError = 17825796] = "LiveTranscodingErrorInternalError", r[r.LiveTranscodingErrorRtmpServerError = 17825797] = "LiveTranscodingErrorRtmpServerError", r[r.LiveTranscodingErrorRtmpStreamUrlError = 17825798] = "LiveTranscodingErrorRtmpStreamUrlError", r[r.LiveTranscodingErrorPublishTimeout = 17825799] = "LiveTranscodingErrorPublishTimeout", r[r.LiveTranscodingErrorNotAuthorized = 17825800] = "LiveTranscodingErrorNotAuthorized", r))(ht || {}), xn = /* @__PURE__ */ ((r) => (r[r.TrascodingPublishTaskStatusStart = 0] = "TrascodingPublishTaskStatusStart", r[r.TrascodingPublishTaskStatusUpdate = 1] = "TrascodingPublishTaskStatusUpdate", r[r.TrascodingPublishTaskStatusStop = 2] = "TrascodingPublishTaskStatusStop", r))(xn || {}), Ue = /* @__PURE__ */ ((r) => (r[r.MPU_TASK_TRANSACTION_START = 0] = "MPU_TASK_TRANSACTION_START", r[r.MPU_TASK_TRANSACTION_UPDATE = 1] = "MPU_TASK_TRANSACTION_UPDATE", r[r.MPU_TASK_TRANSACTION_STOP = 2] = "MPU_TASK_TRANSACTION_STOP", r[r.MPU_TASK_TRANSACTION_LIST = 3] = "MPU_TASK_TRANSACTION_LIST", r[r.MPU_TASK_TRANSACTION_POLLING = 4] = "MPU_TASK_TRANSACTION_POLLING", r[r.MPU_TASK_TRANSACTION_ACKNOWLEDGE = 5] = "MPU_TASK_TRANSACTION_ACKNOWLEDGE", r[r.MPU_TASK_TRANSACTION_END = 6] = "MPU_TASK_TRANSACTION_END", r))(Ue || {});
8420
+ const M0 = {
8414
8421
  0: "/libra/v1/sdk/start-task",
8415
8422
  1: "/libra/v1/sdk/update-task",
8416
8423
  2: "/libra/v1/sdk/stop-task",
@@ -8473,7 +8480,7 @@ class Fr {
8473
8480
  } else if (a === Ue.MPU_TASK_TRANSACTION_START || a === Ue.MPU_TASK_TRANSACTION_UPDATE) {
8474
8481
  const c = this.mixParam;
8475
8482
  if (c) {
8476
- c.taskProfile && (n.taskprofile = k0[c.taskProfile]);
8483
+ c.taskProfile && (n.taskprofile = N0[c.taskProfile]);
8477
8484
  const o = c.encodeParam || new vn(1280, 720);
8478
8485
  let u = o.videoWidth, h = o.videoHeight;
8479
8486
  const p = {};
@@ -8616,7 +8623,7 @@ const Oa = 12, Ua = 5e3, $t = class $t extends De {
8616
8623
  g($t, "logName", "Socket");
8617
8624
  let Vr = $t;
8618
8625
  var ve = /* @__PURE__ */ ((r) => (r.KEEPALIVE = "keepalive", r.JOINCHANNEL = "joinchannel", r.NOTIFYJOIN = "notifyjoin", r.NOTIFYSTATUS = "notifystatus", r.STATUSREPORT = "statusreport", r.LEAVECHANNEL = "leavechannel", r.NOTIFYLEAVE = "notifyleave", r.NOTIFYPUBLISH = "notifypublish", r.BYE = "bye", r.RECONNECT = "reconnect", r.PUBLISH = "publish", r.REFRESHURL = "refreshurl", r.UNSUBSCRIBE = "unsubscribe", r.ROLEUPDATE = "roleupdate", r))(ve || {});
8619
- class N0 {
8626
+ class L0 {
8620
8627
  constructor(a, e) {
8621
8628
  g(this, "authInfo");
8622
8629
  g(this, "userName");
@@ -8769,7 +8776,7 @@ class V extends Error {
8769
8776
  return this._extra;
8770
8777
  }
8771
8778
  }
8772
- const L0 = 3e4, qe = class qe extends De {
8779
+ const F0 = 3e4, qe = class qe extends De {
8773
8780
  // 发送重连信令时,房间信令凭这些信息找回 session
8774
8781
  constructor(e, t, i, s, n, c) {
8775
8782
  super();
@@ -8792,7 +8799,7 @@ const L0 = 3e4, qe = class qe extends De {
8792
8799
  g(this, "aliveChecker", 0);
8793
8800
  // 心跳检查定时器
8794
8801
  g(this, "reconnectData");
8795
- this.authInfo = e, this.userName = t, this.packageCreater = new N0(e, t), this.channelProfile = i, this.clientRole = s, this.slsReporter = n, this.wsClient = new Vr(c), this.wsClient.on("onOpen", this.onOpen.bind(this)), this.wsClient.on("onMessage", this.onMessage.bind(this)), this.wsClient.on("onError", this.onError.bind(this)), this.wsClient.on("onClose", this.onClose.bind(this)), this.wsClient.on("onConnectFail", this.onConnectFail.bind(this)), this.wsClient.on("onAuthInvalid", this.onAuthInvalid.bind(this)), this.wsClient.on("onNetworkError", this.onNetworkError.bind(this)), this.wsClient.on("onReconnectStart", this.onReconnectStart.bind(this)), this.wsClient.on("onReconnectFail", this.onReconnectFail.bind(this));
8802
+ this.authInfo = e, this.userName = t, this.packageCreater = new L0(e, t), this.channelProfile = i, this.clientRole = s, this.slsReporter = n, this.wsClient = new Vr(c), this.wsClient.on("onOpen", this.onOpen.bind(this)), this.wsClient.on("onMessage", this.onMessage.bind(this)), this.wsClient.on("onError", this.onError.bind(this)), this.wsClient.on("onClose", this.onClose.bind(this)), this.wsClient.on("onConnectFail", this.onConnectFail.bind(this)), this.wsClient.on("onAuthInvalid", this.onAuthInvalid.bind(this)), this.wsClient.on("onNetworkError", this.onNetworkError.bind(this)), this.wsClient.on("onReconnectStart", this.onReconnectStart.bind(this)), this.wsClient.on("onReconnectFail", this.onReconnectFail.bind(this));
8796
8803
  }
8797
8804
  get retryCount() {
8798
8805
  return this.wsClient.connectRetryCount;
@@ -8980,7 +8987,7 @@ const L0 = 3e4, qe = class qe extends De {
8980
8987
  checkAlive() {
8981
8988
  window.clearTimeout(this.aliveChecker), this.aliveChecker = window.setTimeout(() => {
8982
8989
  O.info(`[${qe.logName}] not alive, reconnect`), this.stopKeepAlive(), this.emit("onReconnectStart"), this.wsClient.reconnect();
8983
- }, L0);
8990
+ }, F0);
8984
8991
  }
8985
8992
  /**
8986
8993
  * 处理收到的业务信令
@@ -9142,9 +9149,9 @@ const D = (r, a) => (e, t, i) => {
9142
9149
  O.interface(c, t, ...u);
9143
9150
  const h = s.apply(this, n);
9144
9151
  return Promise.resolve(h).then((d) => d).catch((d) => d).then((d) => {
9145
- var x;
9152
+ var S;
9146
9153
  let f = "";
9147
- const m = d instanceof Error, l = m && ((x = e.constructor) == null ? void 0 : x.logError);
9154
+ const m = d instanceof Error, l = m && ((S = e.constructor) == null ? void 0 : S.logError);
9148
9155
  if (!(!a && !m)) {
9149
9156
  if (l)
9150
9157
  f = d;
@@ -9171,10 +9178,10 @@ const D = (r, a) => (e, t, i) => {
9171
9178
  }), h;
9172
9179
  }, i;
9173
9180
  }, H = (r) => r;
9174
- var M0 = Object.defineProperty, F0 = Object.getOwnPropertyDescriptor, as = (r, a, e, t) => {
9175
- for (var i = t > 1 ? void 0 : t ? F0(a, e) : a, s = r.length - 1, n; s >= 0; s--)
9181
+ var V0 = Object.defineProperty, O0 = Object.getOwnPropertyDescriptor, as = (r, a, e, t) => {
9182
+ for (var i = t > 1 ? void 0 : t ? O0(a, e) : a, s = r.length - 1, n; s >= 0; s--)
9176
9183
  (n = r[s]) && (i = (t ? n(a, e, i) : n(i)) || i);
9177
- return t && i && M0(a, e, i), i;
9184
+ return t && i && V0(a, e, i), i;
9178
9185
  }, Ne;
9179
9186
  const wi = (Ne = class extends De {
9180
9187
  constructor(e, t, i, s = pt.prod) {
@@ -9372,8 +9379,8 @@ as([
9372
9379
  as([
9373
9380
  D()
9374
9381
  ], wi.prototype, "roleUpdate", 1);
9375
- let V0 = wi;
9376
- const O0 = "https://pgw.rtn.aliyuncs.com", U0 = "https://gw.rtn.aliyuncs.com", Ha = 10 * 60 * 1e3, H0 = 12, ri = class ri extends De {
9382
+ let U0 = wi;
9383
+ const H0 = "https://pgw.rtn.aliyuncs.com", j0 = "https://gw.rtn.aliyuncs.com", Ha = 10 * 60 * 1e3, z0 = 12, ri = class ri extends De {
9377
9384
  constructor(e, t) {
9378
9385
  super();
9379
9386
  g(this, "env");
@@ -9386,14 +9393,14 @@ const O0 = "https://pgw.rtn.aliyuncs.com", U0 = "https://gw.rtn.aliyuncs.com", H
9386
9393
  if (this.skipTime = 0, !this.authInfo)
9387
9394
  return;
9388
9395
  const { appId: e, channelId: t, userId: i, nonce: s = "", token: n, timestamp: c, sessionId: o, role: u } = this.authInfo;
9389
- let h = U0;
9390
- this.env === pt.pre && (h = O0);
9396
+ let h = j0;
9397
+ this.env === pt.pre && (h = H0);
9391
9398
  const p = `${h}/gslb/v1/stsupdate?appid=${e}&channelid=${t}&userid=${i}&nonce=${s}&token=${n}&timestamp=${c}&session=${o}${u ? `&tokenrole=${u}` : ""}&slstoken=true&osstoken=true&tokensid=false`, d = Date.now();
9392
9399
  fetch(p).then((f) => f.json()).then((f) => {
9393
9400
  var m, l;
9394
9401
  if (f.code === 0) {
9395
- const x = (m = f.data) == null ? void 0 : m.oss, v = (l = f.data) == null ? void 0 : l.sls;
9396
- this.expiration = x.expiration || v.expiration, this.emit("onTokenUpdate", x, v), O.event(`[${ri.logName}]`, "getToken", x, v);
9402
+ const S = (m = f.data) == null ? void 0 : m.oss, v = (l = f.data) == null ? void 0 : l.sls;
9403
+ this.expiration = S.expiration || v.expiration, this.emit("onTokenUpdate", S, v), O.event(`[${ri.logName}]`, "getToken", S, v);
9397
9404
  } else
9398
9405
  throw new Error();
9399
9406
  this.slsReporter.reportSTSResult(200, d);
@@ -9408,7 +9415,7 @@ const O0 = "https://pgw.rtn.aliyuncs.com", U0 = "https://gw.rtn.aliyuncs.com", H
9408
9415
  }
9409
9416
  startSTSUpdate(e) {
9410
9417
  this.authInfo = e, this.requestToken(), this.timer && clearInterval(this.timer), this.timer = window.setInterval(() => {
9411
- if (this.expiration && Math.floor((Date.now() + Ha * 1.5) / 1e3) < this.expiration && this.skipTime < H0) {
9418
+ if (this.expiration && Math.floor((Date.now() + Ha * 1.5) / 1e3) < this.expiration && this.skipTime < z0) {
9412
9419
  this.skipTime += 1;
9413
9420
  return;
9414
9421
  }
@@ -9421,10 +9428,10 @@ const O0 = "https://pgw.rtn.aliyuncs.com", U0 = "https://gw.rtn.aliyuncs.com", H
9421
9428
  };
9422
9429
  g(ri, "logName", "StsManager");
9423
9430
  let Ur = ri;
9424
- var j0 = Object.defineProperty, z0 = Object.getOwnPropertyDescriptor, W0 = (r, a, e, t) => {
9425
- for (var i = t > 1 ? void 0 : t ? z0(a, e) : a, s = r.length - 1, n; s >= 0; s--)
9431
+ var W0 = Object.defineProperty, $0 = Object.getOwnPropertyDescriptor, K0 = (r, a, e, t) => {
9432
+ for (var i = t > 1 ? void 0 : t ? $0(a, e) : a, s = r.length - 1, n; s >= 0; s--)
9426
9433
  (n = r[s]) && (i = (t ? n(a, e, i) : n(i)) || i);
9427
- return t && i && j0(a, e, i), i;
9434
+ return t && i && W0(a, e, i), i;
9428
9435
  };
9429
9436
  class ns extends De {
9430
9437
  constructor(e, t, i, s = pt.prod) {
@@ -9451,7 +9458,7 @@ class ns extends De {
9451
9458
  */
9452
9459
  join(e, t = e.userId, i, s) {
9453
9460
  return this.maxConnectRetryCount = i, this.userName = t, new Promise((n, c) => {
9454
- this.signaling ? c(new V(U.ERR_JOIN_ALREADY_JOINED, "already joined")) : (O.info("[signalingmanager] create signaling"), this.signaling = new V0(this.channelProfile, this.clientRole, this.slsReporter, this.env), this.initSignaling(), s && (s.rs = Date.now()), this.signaling.join(e, t, i).then((o) => {
9461
+ this.signaling ? c(new V(U.ERR_JOIN_ALREADY_JOINED, "already joined")) : (O.info("[signalingmanager] create signaling"), this.signaling = new U0(this.channelProfile, this.clientRole, this.slsReporter, this.env), this.initSignaling(), s && (s.rs = Date.now()), this.signaling.join(e, t, i).then((o) => {
9455
9462
  this.authInfo = e, s && (s.re = Date.now()), n(o);
9456
9463
  }).catch((o) => {
9457
9464
  this.reset(), c(o);
@@ -9642,27 +9649,27 @@ class ns extends De {
9642
9649
  * @ignore
9643
9650
  */
9644
9651
  g(ns, "logName", "SignalingManager");
9645
- W0([
9652
+ K0([
9646
9653
  D(H)
9647
9654
  ], ns.prototype, "publish", 1);
9648
9655
  function Kt() {
9649
9656
  }
9650
- const Lt = class Lt {
9657
+ const Mt = class Mt {
9651
9658
  static getInstance() {
9652
9659
  var a;
9653
- return Lt.instance || (Lt.instance = new AudioContext()), (a = Lt.instance.resume()) == null || a.then(Kt, Kt).catch(Kt), Lt.instance;
9660
+ return Mt.instance || (Mt.instance = new AudioContext()), (a = Mt.instance.resume()) == null || a.then(Kt, Kt).catch(Kt), Mt.instance;
9654
9661
  }
9655
9662
  };
9656
- g(Lt, "instance");
9657
- let Ft = Lt;
9663
+ g(Mt, "instance");
9664
+ let Ft = Mt;
9658
9665
  const _i = () => {
9659
9666
  var a;
9660
9667
  const r = Ft.getInstance();
9661
9668
  r.state !== "running" && r.state !== "closed" && ((a = r.resume()) == null || a.then(Kt, Kt).catch(Kt)), window.removeEventListener("mousedown", _i), window.removeEventListener("touchstart", _i);
9662
9669
  };
9663
9670
  window.addEventListener("mousedown", _i);
9664
- window.addEventListener("touchend", _i);
9665
- function $0(r, a, e, t, i) {
9671
+ window.addEventListener("touchstart", _i);
9672
+ function q0(r, a, e, t, i) {
9666
9673
  let s = t, n = 0, c;
9667
9674
  const o = r.createAnalyser();
9668
9675
  o.fftSize = 256;
@@ -9687,7 +9694,7 @@ function $0(r, a, e, t, i) {
9687
9694
  }
9688
9695
  };
9689
9696
  }
9690
- class K0 extends De {
9697
+ class J0 extends De {
9691
9698
  constructor() {
9692
9699
  super();
9693
9700
  g(this, "audioContext");
@@ -9708,7 +9715,7 @@ class K0 extends De {
9708
9715
  start(e, t = 1e3) {
9709
9716
  this.sourceNode && this.stop(), this.stream.addTrack(e), this.sourceNode = this.audioContext.createMediaStreamSource(this.stream);
9710
9717
  const i = this.audioContext.createMediaStreamDestination();
9711
- this.analyser = $0(this.audioContext, this.sourceNode, i, t, (s) => {
9718
+ this.analyser = q0(this.audioContext, this.sourceNode, i, t, (s) => {
9712
9719
  this.emit("audioLevel", s);
9713
9720
  });
9714
9721
  }
@@ -9731,7 +9738,7 @@ class bn extends De {
9731
9738
  // 本地音量检测
9732
9739
  g(this, "audioLevelMonitor");
9733
9740
  g(this, "audioVolumeIndicationInterval", 0);
9734
- this.uid = e, this.name = t, this.rtsManager = i, this.audioVolumeIndicationInterval = s, this.audioLevelMonitor = new K0();
9741
+ this.uid = e, this.name = t, this.rtsManager = i, this.audioVolumeIndicationInterval = s, this.audioLevelMonitor = new J0();
9735
9742
  }
9736
9743
  get userId() {
9737
9744
  return this.uid;
@@ -9797,7 +9804,7 @@ class En {
9797
9804
  };
9798
9805
  }
9799
9806
  }
9800
- const q0 = "customVideoProfile", J0 = "customScreenProfile", Hr = {
9807
+ const _n = "customVideoProfile", An = "customScreenProfile", Hr = {
9801
9808
  width: 1280,
9802
9809
  height: 720,
9803
9810
  frameRate: 30,
@@ -9902,7 +9909,7 @@ function $a(r, a) {
9902
9909
  let e = a;
9903
9910
  return typeof window.__ali_prefer_media_server == "string" && window.__ali_prefer_media_server !== "" && (e = window.__ali_prefer_media_server), e ? `${r}&ali_prefer_media_server=${e}` : r;
9904
9911
  }
9905
- const _n = (r, a, e = !1) => {
9912
+ const yn = (r, a, e = !1) => {
9906
9913
  const t = () => (r.muted = !0, Promise.race([Et(500), r._playPromise || Promise.resolve()]).catch(() => {
9907
9914
  }).then(() => {
9908
9915
  let i;
@@ -9931,7 +9938,7 @@ const _n = (r, a, e = !1) => {
9931
9938
  r.srcObject = null, r._playPromise = void 0;
9932
9939
  });
9933
9940
  };
9934
- var An = /* @__PURE__ */ ((r) => (r[r.AliEngineDataMsgNone = 0] = "AliEngineDataMsgNone", r[r.AliEngineDataMsgMusicProgress = 1] = "AliEngineDataMsgMusicProgress", r[r.AliEngineDataMsgCustom = 2] = "AliEngineDataMsgCustom", r))(An || {});
9941
+ var Cn = /* @__PURE__ */ ((r) => (r[r.AliEngineDataMsgNone = 0] = "AliEngineDataMsgNone", r[r.AliEngineDataMsgMusicProgress = 1] = "AliEngineDataMsgMusicProgress", r[r.AliEngineDataMsgCustom = 2] = "AliEngineDataMsgCustom", r))(Cn || {});
9935
9942
  class Di {
9936
9943
  constructor(a, e, t, i = 0) {
9937
9944
  g(this, "msgType");
@@ -9950,7 +9957,7 @@ class Di {
9950
9957
  }
9951
9958
  }
9952
9959
  const Pt = 5;
9953
- class xi {
9960
+ class Si {
9954
9961
  constructor(a, e, t) {
9955
9962
  g(this, "_byteArray");
9956
9963
  if (this._byteArray = new Uint8Array(0), a !== void 0 && e !== void 0 && t !== void 0) {
@@ -10085,9 +10092,9 @@ class qt {
10085
10092
  this.data = a, this.type = e, this.networkTime = t, this.futureOrProgress = i;
10086
10093
  }
10087
10094
  toBuffer() {
10088
- const a = new xi(0, 0, 0);
10095
+ const a = new Si(0, 0, 0);
10089
10096
  a.write(1, Uint8Array.from([0]).buffer), a.write(2, Uint16Array.from([0]).buffer), Ka++, a.write(3, Uint32Array.from([Ka]).buffer);
10090
- const e = new xi();
10097
+ const e = new Si();
10091
10098
  return e.write(1, Uint8Array.from([0]).buffer), e.write(2, Uint8Array.from([this.type]).buffer), e.write(3, Uint32Array.from([this.futureOrProgress]).buffer), e.write(
10092
10099
  4,
10093
10100
  Uint32Array.from([Number(this.networkTime >> 32 & 4294967295), Number(this.networkTime & 4294967295)]).buffer
@@ -10097,13 +10104,13 @@ class qt {
10097
10104
  if (!a || a.byteLength < 4)
10098
10105
  return;
10099
10106
  Di.parse(a.slice(0, 4));
10100
- const t = xi.parse(a.slice(4))[
10107
+ const t = Si.parse(a.slice(4))[
10101
10108
  30
10102
10109
  /* TLV_TAG_Music */
10103
10110
  ];
10104
10111
  if (!t)
10105
10112
  return;
10106
- const i = xi.parse(t), s = i[
10113
+ const i = Si.parse(t), s = i[
10107
10114
  2
10108
10115
  /* TLV_TAG_Command */
10109
10116
  ], n = i[
@@ -10290,7 +10297,7 @@ const ge = (lt = class extends bn {
10290
10297
  }
10291
10298
  setVideoProfile(e) {
10292
10299
  return w(this, null, function* () {
10293
- yield this.streamManager.setVideoProfile(q0, e);
10300
+ yield this.streamManager.setVideoProfile(_n, e);
10294
10301
  });
10295
10302
  }
10296
10303
  setVideoContentHint(e) {
@@ -10306,7 +10313,7 @@ const ge = (lt = class extends bn {
10306
10313
  }
10307
10314
  setScreenProfile(e) {
10308
10315
  return w(this, null, function* () {
10309
- yield this.streamManager.setScreenProfile(J0, e);
10316
+ yield this.streamManager.setScreenProfile(An, e);
10310
10317
  });
10311
10318
  }
10312
10319
  setCameraDirection(e) {
@@ -10389,7 +10396,7 @@ const ge = (lt = class extends bn {
10389
10396
  } catch (s) {
10390
10397
  const n = s.errorCode;
10391
10398
  let c = U.ERR_MIC_OPEN_FAIL;
10392
- throw n === ti.ERROR_DEVICE_AUDIODEVICE_NOTFOUND ? c = U.ERR_MIC_NOT_AVAILABLE : n === ti.ERROR_DEVICE_VIDEODEVICE_NOTALLOWED && (c = U.ERR_MIC_AUTH_FAIL), new V(c, `mic open fail: ${s.message}`);
10399
+ throw n === ti.ERROR_DEVICE_AUDIODEVICE_NOTFOUND ? c = U.ERR_MIC_NOT_AVAILABLE : n === ti.ERROR_DEVICE_AUDIODEVICE_NOTALLOWED && (c = U.ERR_MIC_AUTH_FAIL), new V(c, `mic open fail: ${s.message}`);
10393
10400
  }
10394
10401
  });
10395
10402
  }
@@ -10459,7 +10466,7 @@ const ge = (lt = class extends bn {
10459
10466
  O.info(`[${lt.logName}]`, "preview no stream founded");
10460
10467
  return;
10461
10468
  }
10462
- return _n(t, s.mediaStream), this.setPreviewElement(e), s.mediaStream;
10469
+ return yn(t, s.mediaStream), this.setPreviewElement(e), s.mediaStream;
10463
10470
  } catch (s) {
10464
10471
  const n = U.ERR_INNER;
10465
10472
  throw V.fromError(s, n, "preview failed");
@@ -10635,7 +10642,7 @@ const ge = (lt = class extends bn {
10635
10642
  const { traceId: p, l1ip: d } = yield this.publishPromise;
10636
10643
  this._isPublishing = !0, this.streamTracks = this.rtsManager.publishingTracks, this.traceId = p, (u = this.parameter.data) != null && u.enablePubDataChannel && (yield this.publishDataChannel()), s && (this.trackTraceIdMap[T.Audio] = p, this.reportAudioProfile()), c && (this.trackTraceIdMap[T.VideoSmall] = p), n && (this.trackTraceIdMap[T.VideoLarge] = p, this.reportVideoProfile()), o && (this.trackTraceIdMap[T.Screen] = p, this.reportScreenProfile());
10637
10644
  const f = {
10638
- type: St.Add,
10645
+ type: xt.Add,
10639
10646
  userid: this.userId,
10640
10647
  sessionid: "",
10641
10648
  displayname: this.name,
@@ -10679,17 +10686,17 @@ const ge = (lt = class extends bn {
10679
10686
  ({ ssrc: E, type: _, msid: y }) => _ === "video" && E && y === T.VideoLarge
10680
10687
  ), l = yield this.compareAndPublish(m, t.video, T.VideoLarge);
10681
10688
  l && (i = l);
10682
- const x = (o = this.streamTracks) == null ? void 0 : o.find(
10689
+ const S = (o = this.streamTracks) == null ? void 0 : o.find(
10683
10690
  ({ ssrc: E, type: _, msid: y }) => _ === "video" && E && y === T.VideoSmall
10684
10691
  ), v = yield this.compareAndPublish(
10685
- x,
10692
+ S,
10686
10693
  t.videoSmall,
10687
10694
  T.VideoSmall
10688
10695
  );
10689
10696
  v && (i = v);
10690
- const S = (u = this.streamTracks) == null ? void 0 : u.find(
10697
+ const x = (u = this.streamTracks) == null ? void 0 : u.find(
10691
10698
  ({ ssrc: E, type: _, msid: y }) => _ === "video" && E && y === T.Screen
10692
- ), b = yield this.compareAndPublish(S, t.screen, T.Screen);
10699
+ ), b = yield this.compareAndPublish(x, t.screen, T.Screen);
10693
10700
  if (b && (i = b), !i)
10694
10701
  if (e === nt.RECONNECT && this.rtsManager.publishingTracks.length > 0) {
10695
10702
  if ((h = this.parameter.data) != null && h.enablePubDataChannel) {
@@ -10705,7 +10712,7 @@ const ge = (lt = class extends bn {
10705
10712
  !E,
10706
10713
  E ? E.msid : _ == null ? void 0 : _.msid
10707
10714
  )), i = {
10708
- type: St.Add,
10715
+ type: xt.Add,
10709
10716
  userid: this.userId,
10710
10717
  sessionid: "",
10711
10718
  displayname: this.name,
@@ -10775,7 +10782,7 @@ const ge = (lt = class extends bn {
10775
10782
  const h = yield this.rtsManager.publishAdd(this.url, e, this.callId, t, !1, !0);
10776
10783
  n && (this.audioPubState.setState(Y.AliRtcStatePublished), this.reportAudioProfile(), this.trackTraceIdMap[T.Audio] = h), c && (this.videoPubState.setState(Y.AliRtcStatePublished), this.reportVideoProfile(), this.trackTraceIdMap[T.VideoLarge] = h), o && (this.videoSmallPubState.setState(Y.AliRtcStatePublished), this.trackTraceIdMap[T.VideoSmall] = h), u && (this.screenPubState.setState(Y.AliRtcStatePublished), this.reportScreenProfile(), this.trackTraceIdMap[T.Screen] = h), this.streamTracks = this.rtsManager.publishingTracks;
10777
10784
  const p = {
10778
- type: St.Add,
10785
+ type: xt.Add,
10779
10786
  userid: this.userId,
10780
10787
  sessionid: "",
10781
10788
  displayname: this.name,
@@ -10802,8 +10809,10 @@ const ge = (lt = class extends bn {
10802
10809
  return w(this, null, function* () {
10803
10810
  try {
10804
10811
  yield this.rtsManager.publishReplace(this.url, e, t), this.streamTracks = this.rtsManager.publishingTracks;
10805
- const i = {
10806
- type: St.Replace,
10812
+ const i = (t == null ? void 0 : t.vMsid) === T.VideoLarge, s = (t == null ? void 0 : t.vMsid) === T.Screen;
10813
+ i && this.streamManager.setVideoProfile(void 0, void 0, !0), s && this.streamManager.setScreenProfile(void 0, void 0);
10814
+ const n = {
10815
+ type: xt.Replace,
10807
10816
  userid: this.userId,
10808
10817
  sessionid: "",
10809
10818
  pubid: this.publishId,
@@ -10815,7 +10824,7 @@ const ge = (lt = class extends bn {
10815
10824
  callid: this.callId,
10816
10825
  tracks: this.streamTracks
10817
10826
  };
10818
- return this.reportSelfDeviceStatus(), i;
10827
+ return this.reportSelfDeviceStatus(), n;
10819
10828
  } catch (i) {
10820
10829
  throw V.fromError(
10821
10830
  i,
@@ -10828,7 +10837,7 @@ const ge = (lt = class extends bn {
10828
10837
  publishDeleteTracks(e) {
10829
10838
  return w(this, null, function* () {
10830
10839
  const t = {
10831
- type: St.Delete,
10840
+ type: xt.Delete,
10832
10841
  userid: this.userId,
10833
10842
  sessionid: "",
10834
10843
  displayname: this.displayname,
@@ -10862,7 +10871,7 @@ const ge = (lt = class extends bn {
10862
10871
  this.reportPublishMonitor(o);
10863
10872
  }), this.streamTracks = [];
10864
10873
  const c = {
10865
- type: St.Stop,
10874
+ type: xt.Stop,
10866
10875
  userid: this.userId,
10867
10876
  sessionid: "",
10868
10877
  displayname: this.displayname,
@@ -10884,7 +10893,7 @@ const ge = (lt = class extends bn {
10884
10893
  return w(this, null, function* () {
10885
10894
  const e = (/* @__PURE__ */ new Date()).getTime();
10886
10895
  let t = {
10887
- type: St.UnPublish,
10896
+ type: xt.UnPublish,
10888
10897
  userid: this.userId,
10889
10898
  sessionid: "",
10890
10899
  displayname: this.displayname,
@@ -10911,7 +10920,7 @@ const ge = (lt = class extends bn {
10911
10920
  * 事件通知本地的设备使用状态
10912
10921
  */
10913
10922
  reportSelfDeviceStatus() {
10914
- this.emit(Me.Local, this.getDeviceStatus());
10923
+ this.emit(Le.Local, this.getDeviceStatus());
10915
10924
  }
10916
10925
  /**
10917
10926
  * 从localStream 中获取当前的设备状态
@@ -11002,12 +11011,12 @@ const ge = (lt = class extends bn {
11002
11011
  const m = this.getMediaStats(f.mediaSourceId);
11003
11012
  f._source = m;
11004
11013
  const l = this.monitorDataCache[h];
11005
- let x;
11014
+ let S;
11006
11015
  if ((l == null ? void 0 : l.length) > 0) {
11007
11016
  const v = l[l.length - 1] || {}, { _last: b } = v;
11008
- x = Dt(v, ["_last"]);
11017
+ S = Dt(v, ["_last"]);
11009
11018
  }
11010
- (l == null ? void 0 : l.length) >= qa && this.reportPublishMonitor(h), f._last = x, f._codec = u.codec || "", this.monitorDataCache[h].push(f);
11019
+ (l == null ? void 0 : l.length) >= qa && this.reportPublishMonitor(h), f._last = S, f._codec = u.codec || "", this.monitorDataCache[h].push(f);
11011
11020
  });
11012
11021
  }), o.forEach((u) => {
11013
11022
  this.reportPublishMonitor(u);
@@ -11194,14 +11203,14 @@ var vt = /* @__PURE__ */ ((r) => (r.OPUS = "opus", r.H264 = "H264", r.UNKNOWN =
11194
11203
  const ic = (r) => {
11195
11204
  const a = new MediaStream();
11196
11205
  return a.addTrack(r), a;
11197
- }, yn = (r) => w(void 0, null, function* () {
11206
+ }, Rn = (r) => w(void 0, null, function* () {
11198
11207
  return yield le.createStream({
11199
11208
  custom: !0,
11200
11209
  mediaStream: r
11201
11210
  });
11202
11211
  }), ei = (r) => w(void 0, null, function* () {
11203
11212
  const a = ic(r);
11204
- return yield yn(a);
11213
+ return yield Rn(a);
11205
11214
  }), rc = (r) => {
11206
11215
  const { audio: a, video: e, screen: t } = r;
11207
11216
  if (e && t)
@@ -11445,7 +11454,7 @@ class Ai extends De {
11445
11454
  updateRemoteUserDeviceStatus(e) {
11446
11455
  let t = En.parseStatus(e);
11447
11456
  const { audioDisable: i, videoDisable: s, screenDisable: n } = t;
11448
- return this.userStatus ? (this.userStatus.audioDisable != i && (this.userStatus.audioDisable = i, this.emit(Me.Remote, i ? oe.MuteAudio : oe.UnmuteAudio)), this.userStatus.videoDisable != s && (this.userStatus.videoDisable = s, this.emit(Me.Remote, s ? oe.MuteVideo : oe.UnmuteVideo)), this.userStatus.screenDisable != n && (this.userStatus.screenDisable = n, this.emit(Me.Remote, n ? oe.MuteScreen : oe.UnmuteScreen))) : (this.userStatus = t, this.emit(Me.Remote, i ? oe.MuteAudio : oe.UnmuteAudio), this.emit(Me.Remote, s ? oe.MuteVideo : oe.UnmuteVideo), this.emit(Me.Remote, n ? oe.MuteScreen : oe.UnmuteScreen)), !1;
11457
+ return this.userStatus ? (this.userStatus.audioDisable != i && (this.userStatus.audioDisable = i, this.emit(Le.Remote, i ? oe.MuteAudio : oe.UnmuteAudio)), this.userStatus.videoDisable != s && (this.userStatus.videoDisable = s, this.emit(Le.Remote, s ? oe.MuteVideo : oe.UnmuteVideo)), this.userStatus.screenDisable != n && (this.userStatus.screenDisable = n, this.emit(Le.Remote, n ? oe.MuteScreen : oe.UnmuteScreen))) : (this.userStatus = t, this.emit(Le.Remote, i ? oe.MuteAudio : oe.UnmuteAudio), this.emit(Le.Remote, s ? oe.MuteVideo : oe.UnmuteVideo), this.emit(Le.Remote, n ? oe.MuteScreen : oe.UnmuteScreen)), !1;
11449
11458
  }
11450
11459
  }
11451
11460
  /**
@@ -11533,8 +11542,8 @@ class zt extends De {
11533
11542
  }
11534
11543
  }
11535
11544
  const gc = 30;
11536
- var Le;
11537
- const Ce = (Le = class extends bn {
11545
+ var Me;
11546
+ const Ce = (Me = class extends bn {
11538
11547
  constructor(e) {
11539
11548
  var f;
11540
11549
  const {
@@ -11618,7 +11627,7 @@ const Ce = (Le = class extends bn {
11618
11627
  } else
11619
11628
  i = qt.parse(t.body);
11620
11629
  i || O.event(
11621
- `[${Le.logName}]`,
11630
+ `[${Me.logName}]`,
11622
11631
  `parse data channel message fail, piece count: ${this.dcMsgWaitingPieces.length + 1}`
11623
11632
  );
11624
11633
  } else {
@@ -11626,7 +11635,7 @@ const Ce = (Le = class extends bn {
11626
11635
  return;
11627
11636
  }
11628
11637
  i && (O.event(
11629
- `[${Le.logName}]`,
11638
+ `[${Me.logName}]`,
11630
11639
  `receive data channel message, length: ${(s = i.data) == null ? void 0 : s.byteLength}`
11631
11640
  ), this.emit("remoteDataChannelMessage", this.uid, i));
11632
11641
  });
@@ -11639,16 +11648,16 @@ const Ce = (Le = class extends bn {
11639
11648
  g(this, "handleAudioPaused", () => {
11640
11649
  this.emit("remoteAudioPlayError", this.uid, "paused");
11641
11650
  });
11642
- this.streamInfo = new Ai(), this.remoteUserInfo = new lc(this), this.parameter = d, this.streamInfo.on(Me.Remote, (m) => {
11643
- this.emit(Me.Remote, m, this.userId);
11644
- }), this.signalingManager = o, this.viewMap = (f = n[t]) != null ? f : { cameraViews: [], screenViews: [] }, n[t] = this.viewMap, this.slsReporter = c, this.localUser = u, this.audioSubState = new zt(), this.audioSubState.on("change", (m, l, x) => {
11645
- this.emit("audioSubscribeStateChanged", this.uid, m, l, x);
11646
- }), this.videoSubState = new zt(), this.videoSubState.on("change", (m, l, x) => {
11647
- this.emit("videoSubscribeStateChanged", this.uid, m, l, x);
11648
- }), this.screenSubState = new zt(), this.screenSubState.on("change", (m, l, x) => {
11649
- this.emit("screenSubscribeStateChanged", this.uid, m, l, x);
11650
- }), this.dataSubState = new zt(), this.dataSubState.on("change", (m, l, x) => {
11651
- this.emit("dataSubscribeStateChanged", this.uid, m, l, x);
11651
+ this.streamInfo = new Ai(), this.remoteUserInfo = new lc(this), this.parameter = d, this.streamInfo.on(Le.Remote, (m) => {
11652
+ this.emit(Le.Remote, m, this.userId);
11653
+ }), this.signalingManager = o, this.viewMap = (f = n[t]) != null ? f : { cameraViews: [], screenViews: [] }, n[t] = this.viewMap, this.slsReporter = c, this.localUser = u, this.audioSubState = new zt(), this.audioSubState.on("change", (m, l, S) => {
11654
+ this.emit("audioSubscribeStateChanged", this.uid, m, l, S);
11655
+ }), this.videoSubState = new zt(), this.videoSubState.on("change", (m, l, S) => {
11656
+ this.emit("videoSubscribeStateChanged", this.uid, m, l, S);
11657
+ }), this.screenSubState = new zt(), this.screenSubState.on("change", (m, l, S) => {
11658
+ this.emit("screenSubscribeStateChanged", this.uid, m, l, S);
11659
+ }), this.dataSubState = new zt(), this.dataSubState.on("change", (m, l, S) => {
11660
+ this.emit("dataSubscribeStateChanged", this.uid, m, l, S);
11652
11661
  }), this.playoutVolume = p;
11653
11662
  }
11654
11663
  get streamUrl() {
@@ -11782,7 +11791,7 @@ const Ce = (Le = class extends bn {
11782
11791
  clear(e = !0) {
11783
11792
  return w(this, null, function* () {
11784
11793
  var t;
11785
- this.subscribeStopDataChannel(), e && this.doStopSubscribe(this.streamUrl), Ni(Le.prototype, this, "clear").call(this), this.stopPlayAudio(), this.clearStream(), this.clearScreenStream(), this.playoutGainNode && (this.playoutGainNode.disconnect(), this.playoutGainNode = void 0, Ft.getInstance().removeEventListener("statechange", this.handleAudioContextSuspended)), (t = this.streamInfo) == null || t.removeAllListeners(Me.Remote);
11794
+ this.subscribeStopDataChannel(), e && this.doStopSubscribe(this.streamUrl), Ni(Me.prototype, this, "clear").call(this), this.stopPlayAudio(), this.clearStream(), this.clearScreenStream(), this.playoutGainNode && (this.playoutGainNode.disconnect(), this.playoutGainNode = void 0, Ft.getInstance().removeEventListener("statechange", this.handleAudioContextSuspended)), (t = this.streamInfo) == null || t.removeAllListeners(Le.Remote);
11786
11795
  });
11787
11796
  }
11788
11797
  updateRemoteUserDeviceStatus(e) {
@@ -11800,12 +11809,12 @@ const Ce = (Le = class extends bn {
11800
11809
  var f, m;
11801
11810
  let c = e;
11802
11811
  if (!c) {
11803
- const { hasAudio: l, hasVideo: x, hasScreen: v, hasData: S } = (f = this.streamInfo) != null ? f : {};
11812
+ const { hasAudio: l, hasVideo: S, hasScreen: v, hasData: x } = (f = this.streamInfo) != null ? f : {};
11804
11813
  c = {
11805
11814
  audio: this.wantSubAudio && l,
11806
- video: this.wantSubVideo && x,
11815
+ video: this.wantSubVideo && S,
11807
11816
  screen: this.wantSubScreen && v,
11808
- data: ((m = this.parameter.data) == null ? void 0 : m.enableSubDataChannel) && S
11817
+ data: ((m = this.parameter.data) == null ? void 0 : m.enableSubDataChannel) && x
11809
11818
  };
11810
11819
  }
11811
11820
  this.streamInfo.markRemoteTrackSubscribing(c);
@@ -12080,10 +12089,10 @@ const Ce = (Le = class extends bn {
12080
12089
  };
12081
12090
  }
12082
12091
  updateSubscribe(e) {
12083
- var n, c, o, u, h, p, d, f, m, l, x, v, S, b, E, _, y;
12092
+ var n, c, o, u, h, p, d, f, m, l, S, v, x, b, E, _, y;
12084
12093
  const t = Date.now(), i = {}, s = {};
12085
- if (this.wantSubAudio && !this.isAudioSubscribing && ((n = this.streamInfo) != null && n.hasAudio) ? (i.audio = !0, i.aMsid = ((c = this.streamInfo.getAudioInfo()) == null ? void 0 : c.msid) || T.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) || T.Audio), this.wantSubVideo && ((h = this.streamInfo) != null && h.hasVideo) ? (this.defaultVideoStreamType === we.AliRtcVideoStreamTypeLow && !this.isVideoSmallSubscribing && ((p = this.streamInfo) != null && p.hasVideoSmall) ? (i.video = !0, i.vMsid = T.VideoSmall) : !this.isVideoLargeSubscribing && ((d = this.streamInfo) != null && d.hasVideoLarge) && !(this.defaultVideoStreamType === we.AliRtcVideoStreamTypeLow && this.isVideoSmallSubscribing) && (i.video = !0, i.vMsid = ((f = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : f.msid) || T.VideoLarge), this.defaultVideoStreamType === we.AliRtcVideoStreamTypeLow && this.isVideoLargeSubscribing && this.isVideoSmallSubscribing && this.streamInfo.hasVideoSmall ? (s.video = !0, s.vMsid = T.VideoLarge) : this.defaultVideoStreamType === we.AliRtcVideoStreamTypeHigh && this.isVideoLargeSubscribing && this.isVideoSmallSubscribing && (s.video = !0, s.vMsid = T.VideoSmall)) : (!this.wantSubVideo || !((m = this.streamInfo) != null && m.hasVideo)) && this.isVideoSubscribing && (s.video = !0, s.vMsid = this.streamInfo.isVideoSmallSubscribed || this.streamInfo.isVideoSmallSubscribing ? T.VideoSmall : ((l = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : l.msid) || T.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 : (!((E = this.parameter.data) != null && E.enableSubDataChannel) || !((_ = this.streamInfo) != null && _.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 === de.Reconnect) {
12086
- if (O.event(`[${Le.logName}]`, "reconnect, try to resume"), this.streamInfo.hasData && !i.data) {
12094
+ if (this.wantSubAudio && !this.isAudioSubscribing && ((n = this.streamInfo) != null && n.hasAudio) ? (i.audio = !0, i.aMsid = ((c = this.streamInfo.getAudioInfo()) == null ? void 0 : c.msid) || T.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) || T.Audio), this.wantSubVideo && ((h = this.streamInfo) != null && h.hasVideo) ? (this.defaultVideoStreamType === we.AliRtcVideoStreamTypeLow && !this.isVideoSmallSubscribing && ((p = this.streamInfo) != null && p.hasVideoSmall) ? (i.video = !0, i.vMsid = T.VideoSmall) : !this.isVideoLargeSubscribing && ((d = this.streamInfo) != null && d.hasVideoLarge) && !(this.defaultVideoStreamType === we.AliRtcVideoStreamTypeLow && this.isVideoSmallSubscribing) && (i.video = !0, i.vMsid = ((f = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : f.msid) || T.VideoLarge), this.defaultVideoStreamType === we.AliRtcVideoStreamTypeLow && this.isVideoLargeSubscribing && this.isVideoSmallSubscribing && this.streamInfo.hasVideoSmall ? (s.video = !0, s.vMsid = T.VideoLarge) : this.defaultVideoStreamType === we.AliRtcVideoStreamTypeHigh && this.isVideoLargeSubscribing && this.isVideoSmallSubscribing && (s.video = !0, s.vMsid = T.VideoSmall)) : (!this.wantSubVideo || !((m = this.streamInfo) != null && m.hasVideo)) && this.isVideoSubscribing && (s.video = !0, s.vMsid = this.streamInfo.isVideoSmallSubscribed || this.streamInfo.isVideoSmallSubscribing ? T.VideoSmall : ((l = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : l.msid) || T.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 : (!((E = this.parameter.data) != null && E.enableSubDataChannel) || !((_ = this.streamInfo) != null && _.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 === de.Reconnect) {
12095
+ if (O.event(`[${Me.logName}]`, "reconnect, try to resume"), this.streamInfo.hasData && !i.data) {
12087
12096
  const A = this.rtsManager.getDatachannelByMsid({
12088
12097
  url: this.streamUrl,
12089
12098
  msid: this.streamInfo.getDataInfo().msid || T.Data
@@ -12118,7 +12127,7 @@ const Ce = (Le = class extends bn {
12118
12127
  };
12119
12128
  }
12120
12129
  handleAutoPlayFailed() {
12121
- O.event(`[${Le.logName}]`, "auto play failed"), this.emit("remoteAudioAutoPlayFail", this.uid);
12130
+ O.event(`[${Me.logName}]`, "auto play failed"), this.emit("remoteAudioAutoPlayFail", this.uid);
12122
12131
  const e = () => {
12123
12132
  this.resumeAudio().then(() => {
12124
12133
  document.removeEventListener("click", e, !1), document.removeEventListener("touchstart", e, !1);
@@ -12139,17 +12148,17 @@ const Ce = (Le = class extends bn {
12139
12148
  return w(this, null, function* () {
12140
12149
  var e, t;
12141
12150
  if (!this.audioTrack) {
12142
- O.event(`[${Le.logName}]`, this.userId, "audio track is null");
12151
+ O.event(`[${Me.logName}]`, this.userId, "audio track is null");
12143
12152
  return;
12144
12153
  }
12145
- if (this.toggleAudio(!this.audioMuted), this.audioElement || (O.event(`[${Le.logName}]`, this.userId, "create audio element"), this.audioElement = document.createElement("audio"), this.audioElement.setAttribute("autoplay", "autoplay"), this.audioElement.addEventListener("pause", this.handleAudioPaused), this.setPlayoutVolume(this.playoutVolume)), ((t = (e = this.audioElement.srcObject) == null ? void 0 : e.getAudioTracks()) == null ? void 0 : t[0]) !== this.audioTrack) {
12154
+ if (this.toggleAudio(!this.audioMuted), this.audioElement || (O.event(`[${Me.logName}]`, this.userId, "create audio element"), this.audioElement = document.createElement("audio"), this.audioElement.setAttribute("autoplay", "autoplay"), this.audioElement.addEventListener("pause", this.handleAudioPaused), this.setPlayoutVolume(this.playoutVolume)), ((t = (e = this.audioElement.srcObject) == null ? void 0 : e.getAudioTracks()) == null ? void 0 : t[0]) !== this.audioTrack) {
12146
12155
  let i = this.audioElement.srcObject;
12147
12156
  i ? i.getAudioTracks().forEach((s) => {
12148
12157
  i.removeTrack(s);
12149
12158
  }) : (i = new MediaStream(), this.audioElement.srcObject = i), i.addTrack(this.audioTrack);
12150
12159
  }
12151
12160
  if (le.SystenUtil.isIos && parseInt(le.SystenUtil.systemVersion) <= 13) {
12152
- O.event(`[${Le.logName}]`, "play audio for iOS 13-");
12161
+ O.event(`[${Me.logName}]`, "play audio for iOS 13-");
12153
12162
  const i = this.audioElement;
12154
12163
  i.setAttribute("autoplay", "");
12155
12164
  const s = () => {
@@ -12161,8 +12170,8 @@ const Ce = (Le = class extends bn {
12161
12170
  } else
12162
12171
  (() => {
12163
12172
  var s;
12164
- O.event(`[${Le.logName}]`, "try play audio"), (s = this.audioElement) == null || s.play().then(() => {
12165
- O.event(`[${Le.logName}]`, "play audio success");
12173
+ O.event(`[${Me.logName}]`, "try play audio"), (s = this.audioElement) == null || s.play().then(() => {
12174
+ O.event(`[${Me.logName}]`, "play audio success");
12166
12175
  }).catch(() => {
12167
12176
  this.handleAutoPlayFailed();
12168
12177
  });
@@ -12181,7 +12190,7 @@ const Ce = (Le = class extends bn {
12181
12190
  }
12182
12191
  play(e, t = !1, i = !1) {
12183
12192
  const s = t ? this.screenStream : this.stream;
12184
- !e || !s || !s.mediaStream || _n(e, s.mediaStream, i).catch((n) => {
12193
+ !e || !s || !s.mediaStream || yn(e, s.mediaStream, i).catch((n) => {
12185
12194
  n.code === 20 || n.name === "AbortError" || this.handleVideoPlayFailded(
12186
12195
  e,
12187
12196
  t ? se.AliRtcVideoTrackScreen : se.AliRtcVideoTrackCamera
@@ -12332,7 +12341,7 @@ const Ce = (Le = class extends bn {
12332
12341
  }, /**
12333
12342
  * @ignore
12334
12343
  */
12335
- g(Le, "logName", "RemoteUser"), Le);
12344
+ g(Me, "logName", "RemoteUser"), Me);
12336
12345
  Te([
12337
12346
  D()
12338
12347
  ], Ce.prototype, "clear", 1);
@@ -12390,7 +12399,7 @@ Te([
12390
12399
  ], Ce.prototype, "stopPlayAll", 1);
12391
12400
  let mc = Ce;
12392
12401
  var _t = /* @__PURE__ */ ((r) => (r[r.AliRtcPluginErrorCodeSuccess = 0] = "AliRtcPluginErrorCodeSuccess", r[r.AliRtcPluginErrorCodeFailed = -1] = "AliRtcPluginErrorCodeFailed", r[r.AliRtcPluginErrorNoFindPlugin = -2] = "AliRtcPluginErrorNoFindPlugin", r[r.AliRtcPluginErrorParameterError = -3] = "AliRtcPluginErrorParameterError", r[r.AliRtcPluginErrorLoadError = -4] = "AliRtcPluginErrorLoadError", r[r.AliRtcPluginErrorCreateError = -5] = "AliRtcPluginErrorCreateError", r[r.AliRtcPluginErrorInitError = -6] = "AliRtcPluginErrorInitError", r[r.AliRtcPluginErrorInitTokenError = -7] = "AliRtcPluginErrorInitTokenError", r))(_t || {});
12393
- class xc extends De {
12402
+ class Sc extends De {
12394
12403
  constructor() {
12395
12404
  super(...arguments);
12396
12405
  g(this, "plugins", /* @__PURE__ */ new Map());
@@ -12421,17 +12430,17 @@ class xc extends De {
12421
12430
  return Array.from(this.plugins.values());
12422
12431
  }
12423
12432
  }
12424
- var Sc = Object.defineProperty, vc = Object.getOwnPropertyDescriptor, Ee = (r, a, e, t) => {
12433
+ var xc = Object.defineProperty, vc = Object.getOwnPropertyDescriptor, Ee = (r, a, e, t) => {
12425
12434
  for (var i = t > 1 ? void 0 : t ? vc(a, e) : a, s = r.length - 1, n; s >= 0; s--)
12426
12435
  (n = r[s]) && (i = (t ? n(a, e, i) : n(i)) || i);
12427
- return t && i && Sc(a, e, i), i;
12436
+ return t && i && xc(a, e, i), i;
12428
12437
  };
12429
12438
  const Pi = ([r]) => {
12430
12439
  const { remoteUser: a, options: e } = r;
12431
12440
  return [`user(${a.userId})`, e];
12432
12441
  }, Ja = 5, Ga = 17, Xa = 5e3;
12433
12442
  var Ae;
12434
- const xe = (Ae = class extends De {
12443
+ const Se = (Ae = class extends De {
12435
12444
  constructor(e, t, i) {
12436
12445
  super();
12437
12446
  g(this, "rts");
@@ -12461,11 +12470,11 @@ const xe = (Ae = class extends De {
12461
12470
  addRTSListener() {
12462
12471
  this.rts.on("connectStatusChange", (e) => {
12463
12472
  var t, i, s, n;
12464
- if (O.event(`[${Ae.logName}]`, "rts connectStatusChange to:", e.status), e.status === Li.CONNECT_STATUS_DISCONNECTED)
12473
+ if (O.event(`[${Ae.logName}]`, "rts connectStatusChange to:", e.status), e.status === Mi.CONNECT_STATUS_DISCONNECTED)
12465
12474
  this.dcReject && this.dcReject(), this.setConnected(!1), this.slsReporter.reportWarning("rts disconnected"), this.emit("disconnected");
12466
- else if (e.status === Li.CONNECT_STATUS_RECONNECTING)
12475
+ else if (e.status === Mi.CONNECT_STATUS_RECONNECTING)
12467
12476
  this._rtsReconnecting = !0;
12468
- else if (e.status === Li.CONNECT_STATUS_CONNECTED) {
12477
+ else if (e.status === Mi.CONNECT_STATUS_CONNECTED) {
12469
12478
  const c = (n = (s = (i = (t = this.rts.commonController) == null ? void 0 : t.peerCore) == null ? void 0 : i.getSignal()) == null ? void 0 : s.getDatachannelCore()) == null ? void 0 : n.readyState;
12470
12479
  O.event(`[${Ae.logName}]`, "dcReadyState:", c), c === "open" && this.dcResolve && this.dcResolve(!0), this._rtsReconnecting && this._rtsPeerConnectionType === "publish" && (this._publishingTracks = this.rts.getPublishTrackInfoList()), this.setConnected(!0);
12471
12480
  }
@@ -12587,14 +12596,14 @@ const xe = (Ae = class extends De {
12587
12596
  const y = /\d+\.\d+\.\d+\.\d+(?=\s+1106|\s+8000)/.exec(_);
12588
12597
  return y != null && y[0] && (o = y[0]), _;
12589
12598
  }, (E = (b = this.parameter) == null ? void 0 : b.net) != null && E.useTCP && (m.tcpOnly = !0), m.retryTimes = Ga, m.retryInterval = Xa, this._rtsPeerConnectionType = "publish";
12590
- let l = !h.hasVideo, x = f, v = "";
12599
+ let l = !h.hasVideo, S = f, v = "";
12591
12600
  this.startConnect();
12592
- const S = Date.now();
12601
+ const x = Date.now();
12593
12602
  try {
12594
12603
  v = yield this.rts.publish($a(e), h, m);
12595
12604
  } catch (_) {
12596
12605
  this.setConnected(!1);
12597
- const y = 2e3 - (Date.now() - S);
12606
+ const y = 2e3 - (Date.now() - x);
12598
12607
  throw y <= 0 ? this.emit("disconnected") : setTimeout(() => {
12599
12608
  this.emit("disconnected");
12600
12609
  }, y), this.slsReporter.reportPublish(
@@ -12608,7 +12617,7 @@ const xe = (Ae = class extends De {
12608
12617
  (_ == null ? void 0 : _.errorCode) || -1,
12609
12618
  this.pcTraceId,
12610
12619
  "",
12611
- S
12620
+ x
12612
12621
  ), V.fromRtsError(_);
12613
12622
  }
12614
12623
  O.event(`[${Ae.logName}]`, "rts publish success", v), this.slsReporter.reportPublish(
@@ -12622,7 +12631,7 @@ const xe = (Ae = class extends De {
12622
12631
  0,
12623
12632
  v,
12624
12633
  v,
12625
- S
12634
+ x
12626
12635
  ), this.slsReporter.reportConnectionLatencyEvent(
12627
12636
  Je.HANDLE_PUB_TASK,
12628
12637
  Xe.START,
@@ -12646,7 +12655,7 @@ const xe = (Ae = class extends De {
12646
12655
  vMsid: T.VideoSmall
12647
12656
  },
12648
12657
  i
12649
- ), l = !1, x = T.VideoSmall), d && (yield this.publishAdd(
12658
+ ), l = !1, S = T.VideoSmall), d && (yield this.publishAdd(
12650
12659
  e,
12651
12660
  d,
12652
12661
  t,
@@ -12654,10 +12663,10 @@ const xe = (Ae = class extends De {
12654
12663
  vMsid: T.Screen
12655
12664
  },
12656
12665
  i
12657
- ), l = !1, x = T.Screen), yield this.waitPublishSender(e, l, x), this.slsReporter.reportPublishFirstPacket(
12666
+ ), l = !1, S = T.Screen), yield this.waitPublishSender(e, l, S), this.slsReporter.reportPublishFirstPacket(
12658
12667
  i,
12659
12668
  t,
12660
- S,
12669
+ x,
12661
12670
  _,
12662
12671
  this._localJoinTime,
12663
12672
  l ? T.Audio : m.vMsid,
@@ -12696,7 +12705,7 @@ const xe = (Ae = class extends De {
12696
12705
  }
12697
12706
  publishAdd(u, h, p, d) {
12698
12707
  return w(this, arguments, function* (e, t, i, s, n = !1, c = !1, o = nt.MANUAL) {
12699
- var l, x, v, S, b, E, _, y;
12708
+ var l, S, v, x, b, E, _, y;
12700
12709
  yield this.dcConnectingPromise;
12701
12710
  const f = Date.now(), m = this.getPubMsid(t, s);
12702
12711
  try {
@@ -12715,20 +12724,20 @@ const xe = (Ae = class extends De {
12715
12724
  (R) => (R == null ? void 0 : R.errorCode) === 15006
12716
12725
  );
12717
12726
  if (A) {
12718
- const R = Date.now(), [L] = A;
12727
+ const R = Date.now(), [M] = A;
12719
12728
  return this.slsReporter.reportPublish(
12720
12729
  !1,
12721
12730
  e,
12722
12731
  i,
12723
12732
  ((l = m.vMsid) == null ? void 0 : l[0]) === T.VideoLarge,
12724
- ((x = m.vMsid) == null ? void 0 : x[0]) === T.VideoSmall,
12733
+ ((S = m.vMsid) == null ? void 0 : S[0]) === T.VideoSmall,
12725
12734
  ((v = m.vMsid) == null ? void 0 : v[0]) === T.Screen,
12726
- ((S = m.aMsid) == null ? void 0 : S[0]) === T.Audio,
12735
+ ((x = m.aMsid) == null ? void 0 : x[0]) === T.Audio,
12727
12736
  0,
12728
12737
  this.pcTraceId,
12729
- L.traceId || "",
12738
+ M.traceId || "",
12730
12739
  f
12731
- ), this.updatePublishingTracks(L.trackInfoList), c && (yield this.waitPublishSender(e, !t.hasVideo, t.hasVideo ? s == null ? void 0 : s.vMsid : s == null ? void 0 : s.aMsid)), this.slsReporter.reportPublishFirstPacket(
12740
+ ), this.updatePublishingTracks(M.trackInfoList), c && (yield this.waitPublishSender(e, !t.hasVideo, t.hasVideo ? s == null ? void 0 : s.vMsid : s == null ? void 0 : s.aMsid)), this.slsReporter.reportPublishFirstPacket(
12732
12741
  n,
12733
12742
  i,
12734
12743
  f,
@@ -12736,9 +12745,9 @@ const xe = (Ae = class extends De {
12736
12745
  this._localJoinTime,
12737
12746
  (t.hasVideo ? s == null ? void 0 : s.vMsid : s == null ? void 0 : s.aMsid) || "",
12738
12747
  this.pcTraceId,
12739
- L.traceId || "",
12748
+ M.traceId || "",
12740
12749
  o
12741
- ), L.traceId || "";
12750
+ ), M.traceId || "";
12742
12751
  }
12743
12752
  } catch (A) {
12744
12753
  throw this.slsReporter.reportPublish(
@@ -12760,7 +12769,7 @@ const xe = (Ae = class extends De {
12760
12769
  }
12761
12770
  publishDelete(e, t) {
12762
12771
  return w(this, null, function* () {
12763
- var u, h, p, d, f, m, l, x;
12772
+ var u, h, p, d, f, m, l, S;
12764
12773
  yield this.dcConnectingPromise;
12765
12774
  const i = (h = (u = this.publishingTracks) == null ? void 0 : u.find(({ msid: v }) => v === T.Audio)) == null ? void 0 : h.msid, s = (d = (p = this.publishingTracks) == null ? void 0 : p.find(({ msid: v }) => v === T.VideoLarge)) == null ? void 0 : d.msid, n = (m = (f = this.publishingTracks) == null ? void 0 : f.find(({ msid: v }) => v === T.Screen)) == null ? void 0 : m.msid, c = [];
12766
12775
  t.screen && n ? c.push(n) : t.video && c.push(t.vMsid || s);
@@ -12774,7 +12783,7 @@ const xe = (Ae = class extends De {
12774
12783
  vMsid: c
12775
12784
  }
12776
12785
  ])) || [];
12777
- return O.event(Ae.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) || "";
12786
+ return O.event(Ae.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) || "";
12778
12787
  } catch (v) {
12779
12788
  throw V.fromRtsError(v);
12780
12789
  }
@@ -12790,7 +12799,6 @@ const xe = (Ae = class extends De {
12790
12799
  {
12791
12800
  url: e,
12792
12801
  stream: t,
12793
- updateSourceStream: !1,
12794
12802
  vMsid: s,
12795
12803
  aMsid: n
12796
12804
  }
@@ -13059,24 +13067,24 @@ const xe = (Ae = class extends De {
13059
13067
  const d = Date.now();
13060
13068
  let f = T.VideoLarge, m = o.video || o.screen, l = o.audio;
13061
13069
  o.video && o.vMsid ? f = o.vMsid : o.screen && (f = T.Screen);
13062
- let x = 0, v = 0, S = 0;
13070
+ let S = 0, v = 0, x = 0;
13063
13071
  const E = ((_, y) => {
13064
13072
  let A = 0;
13065
13073
  const R = () => {
13066
- let L;
13067
- return l && !x && (L = this.rts.getSubscribeAudioStats(u.streamUrl).then((C) => {
13074
+ let M;
13075
+ return l && !S && (M = this.rts.getSubscribeAudioStats(u.streamUrl).then((C) => {
13068
13076
  if (C.packetsReceived > 0)
13069
- x = Date.now();
13077
+ S = Date.now();
13070
13078
  else if (!m)
13071
13079
  return A < _ ? (A++, new Promise((I) => setTimeout(() => I(R()), y))) : !1;
13072
13080
  return !0;
13073
- })), m && !S && (L = this.rts.getSubscribeVideoStats(u.streamUrl, f).then((C) => {
13081
+ })), m && !x && (M = this.rts.getSubscribeVideoStats(u.streamUrl, f).then((C) => {
13074
13082
  if (C.packetsReceived > 0 && (v = Date.now()), C.framesDecoded > 0)
13075
- S = Date.now();
13083
+ x = Date.now();
13076
13084
  else
13077
13085
  return A < _ ? (A++, new Promise((I) => setTimeout(() => I(R()), y))) : (O.event(`[${Ae.logName}]`, u.userId, "尝试获取首帧数据失败"), !1);
13078
13086
  return !0;
13079
- })), Promise.resolve(L);
13087
+ })), Promise.resolve(M);
13080
13088
  };
13081
13089
  return R();
13082
13090
  })(40, 100);
@@ -13088,40 +13096,40 @@ const xe = (Ae = class extends De {
13088
13096
  f,
13089
13097
  {
13090
13098
  fprt: v - p,
13091
- ifsprtc: S ? S - p : 0,
13099
+ ifsprtc: x ? x - p : 0,
13092
13100
  ajsub: t === de.Join ? 1 : 0,
13093
13101
  pctid: this.pcTraceId,
13094
13102
  subtid: (h == null ? void 0 : h.traceId) || "",
13095
13103
  sstc: d - p
13096
13104
  }
13097
- ), S && this.slsReporter.reportSubscribeFirstFrame(
13105
+ ), x && this.slsReporter.reportSubscribeFirstFrame(
13098
13106
  t === de.Resume,
13099
13107
  i,
13100
13108
  s,
13101
13109
  f,
13102
13110
  {
13103
- fvfrt: S - p,
13104
- fp2fftc: S - v,
13111
+ fvfrt: x - p,
13112
+ fp2fftc: x - v,
13105
13113
  ajsub: t === de.Join ? 1 : 0,
13106
- tffrtc: t === de.Join ? S - this.localJoinTime : S - n,
13114
+ tffrtc: t === de.Join ? x - this.localJoinTime : x - n,
13107
13115
  pctid: this.pcTraceId,
13108
13116
  subtid: (h == null ? void 0 : h.traceId) || "",
13109
- fvfdtc: S - p
13117
+ fvfdtc: x - p
13110
13118
  }
13111
- ), x && (this.slsReporter.reportConnectionLatencyEvent(
13119
+ ), S && (this.slsReporter.reportConnectionLatencyEvent(
13112
13120
  Je.FIRST_REMOTE,
13113
13121
  Xe.DECODED,
13114
13122
  i,
13115
13123
  T.Audio,
13116
- x
13124
+ S
13117
13125
  ), this.slsReporter.reportSubscribeFirstPacket(
13118
13126
  t === de.Resume,
13119
13127
  i,
13120
13128
  s,
13121
13129
  T.Audio,
13122
13130
  {
13123
- fprt: x - p,
13124
- ifsprtc: x - p,
13131
+ fprt: S - p,
13132
+ ifsprtc: S - p,
13125
13133
  ajsub: t === de.Join ? 1 : 0,
13126
13134
  pctid: this.pcTraceId,
13127
13135
  subtid: (h == null ? void 0 : h.traceId) || "",
@@ -13170,65 +13178,65 @@ const xe = (Ae = class extends De {
13170
13178
  g(Ae, "logName", "RtsManager"), Ae);
13171
13179
  Ee([
13172
13180
  D(H)
13173
- ], xe.prototype, "startConnect", 1);
13181
+ ], Se.prototype, "startConnect", 1);
13174
13182
  Ee([
13175
13183
  D()
13176
- ], xe.prototype, "updatePublishingTracks", 1);
13184
+ ], Se.prototype, "updatePublishingTracks", 1);
13177
13185
  Ee([
13178
13186
  D(H, H)
13179
- ], xe.prototype, "httpPublish", 1);
13187
+ ], Se.prototype, "httpPublish", 1);
13180
13188
  Ee([
13181
13189
  D(H, H)
13182
- ], xe.prototype, "waitPublishSender", 1);
13190
+ ], Se.prototype, "waitPublishSender", 1);
13183
13191
  Ee([
13184
13192
  D(([r, a, e]) => [r, JSON.stringify(e)], H)
13185
- ], xe.prototype, "publishAdd", 1);
13193
+ ], Se.prototype, "publishAdd", 1);
13186
13194
  Ee([
13187
13195
  D(H, H)
13188
- ], xe.prototype, "publishDelete", 1);
13196
+ ], Se.prototype, "publishDelete", 1);
13189
13197
  Ee([
13190
13198
  D(([r, a, e]) => [r, JSON.stringify(e)])
13191
- ], xe.prototype, "publishReplace", 1);
13199
+ ], Se.prototype, "publishReplace", 1);
13192
13200
  Ee([
13193
13201
  D(H)
13194
- ], xe.prototype, "publishStop", 1);
13202
+ ], Se.prototype, "publishStop", 1);
13195
13203
  Ee([
13196
13204
  D(H)
13197
- ], xe.prototype, "publishAddDataChannel", 1);
13205
+ ], Se.prototype, "publishAddDataChannel", 1);
13198
13206
  Ee([
13199
13207
  D(H)
13200
- ], xe.prototype, "publishStopDataChannel", 1);
13208
+ ], Se.prototype, "publishStopDataChannel", 1);
13201
13209
  Ee([
13202
13210
  D()
13203
- ], xe.prototype, "unpublish", 1);
13211
+ ], Se.prototype, "unpublish", 1);
13204
13212
  Ee([
13205
13213
  D(Pi, ({ traceId: r }) => r)
13206
- ], xe.prototype, "httpSubscribe", 1);
13214
+ ], Se.prototype, "httpSubscribe", 1);
13207
13215
  Ee([
13208
13216
  D(Pi, ({ traceId: r }) => r)
13209
- ], xe.prototype, "subscribeAdd", 1);
13217
+ ], Se.prototype, "subscribeAdd", 1);
13210
13218
  Ee([
13211
13219
  D(Pi)
13212
- ], xe.prototype, "subscribeDelete", 1);
13220
+ ], Se.prototype, "subscribeDelete", 1);
13213
13221
  Ee([
13214
13222
  D(H)
13215
- ], xe.prototype, "subscibeStop", 1);
13223
+ ], Se.prototype, "subscibeStop", 1);
13216
13224
  Ee([
13217
13225
  D(H)
13218
- ], xe.prototype, "subscribeAddDataChannel", 1);
13226
+ ], Se.prototype, "subscribeAddDataChannel", 1);
13219
13227
  Ee([
13220
13228
  D(H)
13221
- ], xe.prototype, "subscribeStopDatachannel", 1);
13229
+ ], Se.prototype, "subscribeStopDatachannel", 1);
13222
13230
  Ee([
13223
13231
  D(H)
13224
- ], xe.prototype, "publish", 1);
13232
+ ], Se.prototype, "publish", 1);
13225
13233
  Ee([
13226
13234
  D(Pi)
13227
- ], xe.prototype, "subscribe", 1);
13235
+ ], Se.prototype, "subscribe", 1);
13228
13236
  Ee([
13229
13237
  D()
13230
- ], xe.prototype, "sendSEI", 1);
13231
- let bc = xe;
13238
+ ], Se.prototype, "sendSEI", 1);
13239
+ let bc = Se;
13232
13240
  class Nr {
13233
13241
  constructor(a = Hr) {
13234
13242
  g(this, "defaultProfile");
@@ -13239,7 +13247,7 @@ class Nr {
13239
13247
  this.defaultProfile = J({}, a);
13240
13248
  }
13241
13249
  updateProfile(a, e) {
13242
- e && this.profileMap.set(a, J(J(J({}, this.defaultProfile), this.profileMap.get(a) || {}), e)), this.profile = a;
13250
+ this.profileMap.set(a, J(J(J({}, this.defaultProfile), this.profileMap.get(a) || {}), e || {})), this.profile = a;
13243
13251
  }
13244
13252
  get videoProfile() {
13245
13253
  return this.profile;
@@ -13326,7 +13334,7 @@ class Ya extends De {
13326
13334
  return w(this, null, function* () {
13327
13335
  var c, o, u, h, p, d;
13328
13336
  const { videoTrack: s, audioTrack: n } = e;
13329
- s && ((c = this.originVideoTrack) == null || c.removeEventListener("ended", this.onVideoTrackEnded)), n && ((o = this.originAudioTrack) == null || o.removeEventListener("ended", this.onAudioTrackEnded)), this.type === be.AliRtcSdkStreamTypeScreen ? this.stop() : (s && ((u = this.originVideoTrack) == null || u.stop()), n && ((h = this.originAudioTrack) == null || h.stop())), s && (this.originVideoTrack = s, (p = this.originVideoTrack) == null || p.addEventListener("ended", this.onVideoTrackEnded), this.videoSource = t || Jt.Camera, this.updateVideoTrack(s)), n && (this.originAudioTrack = n, (d = this.originAudioTrack) == null || d.addEventListener("ended", this.onAudioTrackEnded), this.audioSource = i || Si.Microphone, this.updateAudioTrack(n));
13337
+ s && ((c = this.originVideoTrack) == null || c.removeEventListener("ended", this.onVideoTrackEnded)), n && ((o = this.originAudioTrack) == null || o.removeEventListener("ended", this.onAudioTrackEnded)), this.type === be.AliRtcSdkStreamTypeScreen ? this.stop() : (s && ((u = this.originVideoTrack) == null || u.stop()), n && ((h = this.originAudioTrack) == null || h.stop())), s && (this.originVideoTrack = s, (p = this.originVideoTrack) == null || p.addEventListener("ended", this.onVideoTrackEnded), this.videoSource = t || Jt.Camera, this.updateVideoTrack(s)), n && (this.originAudioTrack = n, (d = this.originAudioTrack) == null || d.addEventListener("ended", this.onAudioTrackEnded), this.audioSource = i || xi.Microphone, this.updateAudioTrack(n));
13330
13338
  });
13331
13339
  }
13332
13340
  get currentProfile() {
@@ -13411,8 +13419,8 @@ class Ya extends De {
13411
13419
  for (const l of this.plugins)
13412
13420
  try {
13413
13421
  yield l.execute(this, e);
13414
- } catch (x) {
13415
- console.error(`error in plugin-${l.name}, error: ${x}`);
13422
+ } catch (S) {
13423
+ console.error(`error in plugin-${l.name}, error: ${S}`);
13416
13424
  }
13417
13425
  this._targetVideoTrack ? ((i = (t = this._publishVideoStream) == null ? void 0 : t.videoTrack) == null ? void 0 : i.id) !== this._targetVideoTrack.id && (this._publishVideoStream = yield ei(this._targetVideoTrack), this.setVideoMuted(this._videoMuted), (s = this.profileManager) == null || s.setVideoProfile(this.originVideoTrack, this._publishVideoStream, !0), (n = this.profileManager) == null || n.setContentHint(this._targetVideoTrack), this.previewStream ? (c = this.previewStream) == null || c.mergeStream(this._publishVideoStream) : this._previewStream = yield ei(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 ei(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 ei(this._targetAudioTrack), this.setAudioMuted(this._audioMuted), this.previewStream ? (f = this.previewStream) == null || f.mergeStream(this._publishAudioStream) : this._previewStream = yield ei(this._targetAudioTrack)) : (this._publishAudioStream = void 0, (m = this.previewStream) == null || m.deleteTracks({ audio: !0 }));
13418
13426
  });
@@ -13442,14 +13450,14 @@ class Ya extends De {
13442
13450
  * @param profileName
13443
13451
  * @param profileValue
13444
13452
  */
13445
- updateVideoProfile(e, t) {
13453
+ updateVideoProfile(e, t, i = !1) {
13446
13454
  return w(this, null, function* () {
13447
13455
  this._profileManager || (this._profileManager = new Nr(
13448
13456
  this.type === be.AliRtcSdkStreamTypeScreen ? ja : Hr
13449
13457
  )), e && this._profileManager.updateProfile(e, t), yield this._profileManager.setVideoProfile(
13450
13458
  this.originVideoTrack,
13451
13459
  this._publishVideoStream,
13452
- this.type === be.AliRtcSdkStreamTypeScreen
13460
+ i || this.type === be.AliRtcSdkStreamTypeScreen
13453
13461
  );
13454
13462
  });
13455
13463
  }
@@ -13520,7 +13528,7 @@ const Ze = (At = class extends De {
13520
13528
  g(this, "_publishLocalScreenStreamEnabled", !0);
13521
13529
  this.screenStreamInfo.setVideoContentHint("motion"), this.pluginManager = e, this.slsReporter = t;
13522
13530
  const i = (s) => w(this, null, function* () {
13523
- if (O.info(`[${At.logName}]`, "plugin added", s.name), !s.isSupported("6.14.4-beta.6")) {
13531
+ if (O.info(`[${At.logName}]`, "plugin added", s.name), !s.isSupported("6.14.5")) {
13524
13532
  console.warn(`${s.name} is not supported!!!`), s.emit("unsupported");
13525
13533
  return;
13526
13534
  }
@@ -13656,8 +13664,8 @@ const Ze = (At = class extends De {
13656
13664
  throw o && !i && this.slsReporter.reportAudio(f, Date.now() - d, ""), t && !i && this.slsReporter.reportScreen(null, Date.now() - d), f;
13657
13665
  }
13658
13666
  if (t)
13659
- yield this.screenStreamInfo.updateSource(h, Jt.Screen, Si.Screen), yield this.setScreenProfile(n), this.setScreenContentHint(), this.publishingScreenVideoStream = void 0;
13660
- else if (yield this.cameraStreamInfo.updateSource(h, Jt.Camera, Si.Microphone), h.hasVideo && (yield this.setVideoProfile(s), this.setVideoContentHint(), this.publishingCameraVideoStream = void 0), h.hasAudio && typeof o == "boolean") {
13667
+ yield this.screenStreamInfo.updateSource(h, Jt.Screen, xi.Screen), yield this.setScreenProfile(n || An), this.setScreenContentHint(), this.publishingScreenVideoStream = void 0;
13668
+ else if (yield this.cameraStreamInfo.updateSource(h, Jt.Camera, xi.Microphone), h.hasVideo && (yield this.setVideoProfile(s || _n), this.setVideoContentHint(), this.publishingCameraVideoStream = void 0), h.hasAudio && typeof o == "boolean") {
13661
13669
  const f = this.cameraStreamInfo.audioProfile;
13662
13670
  f && (yield h.setAudioProfile(f));
13663
13671
  }
@@ -13694,7 +13702,7 @@ const Ze = (At = class extends De {
13694
13702
  if (!c.audio && !c.video && !c.videoSmall && !c.screen)
13695
13703
  throw O.error(`[${At.logName}]`, "no tracks founded"), new V(U.ERR_SDK_PUBLISH_INVAILD, "no tracks founded");
13696
13704
  const d = new MediaStream();
13697
- (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, n = c.screen) : (h = c.screen) != null && h.videoTrack && (i = T.Screen, d.addTrack((p = c.screen) == null ? void 0 : p.videoTrack), t = !0), e = yield yn(d), t ? (this.screenStreamInfo.cloneVideoProfile(e), this.publishingScreenVideoStream = e) : (this.cameraStreamInfo.cloneVideoProfile(e), this.publishingCameraVideoStream = e);
13705
+ (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, n = c.screen) : (h = c.screen) != null && h.videoTrack && (i = T.Screen, d.addTrack((p = c.screen) == null ? void 0 : p.videoTrack), t = !0), e = yield Rn(d), t ? (this.screenStreamInfo.cloneVideoProfile(e), this.publishingScreenVideoStream = e) : (this.cameraStreamInfo.cloneVideoProfile(e), this.publishingCameraVideoStream = e);
13698
13706
  } catch (d) {
13699
13707
  }
13700
13708
  return { publishStream: e, videoSmallStream: s, screenStream: n, vMsid: i };
@@ -13703,9 +13711,9 @@ const Ze = (At = class extends De {
13703
13711
  stop() {
13704
13712
  this.cameraStreamInfo.stop(), this.screenStreamInfo.stop(), this.updateStreams();
13705
13713
  }
13706
- setVideoProfile(e, t) {
13714
+ setVideoProfile(e, t, i = !1) {
13707
13715
  return w(this, null, function* () {
13708
- yield this.cameraStreamInfo.updateVideoProfile(e, t), this.publishingCameraVideoStream && this.cameraStreamInfo.cloneVideoProfile(this.publishingCameraVideoStream);
13716
+ yield this.cameraStreamInfo.updateVideoProfile(e, t, i), this.publishingCameraVideoStream && this.cameraStreamInfo.cloneVideoProfile(this.publishingCameraVideoStream);
13709
13717
  });
13710
13718
  }
13711
13719
  setVideoContentHint(e) {
@@ -13893,7 +13901,7 @@ class Cc extends Gt {
13893
13901
  });
13894
13902
  }
13895
13903
  }
13896
- class Cn {
13904
+ class In {
13897
13905
  constructor(a) {
13898
13906
  g(this, "name", "COMMON");
13899
13907
  this.name = a || this.name;
@@ -13907,10 +13915,10 @@ class Cn {
13907
13915
  t && console[t](`[${a}][${this.name}]`, ...e);
13908
13916
  }
13909
13917
  }
13910
- g(Cn, "LEVEL", 0);
13918
+ g(In, "LEVEL", 0);
13911
13919
  class Rc {
13912
13920
  constructor() {
13913
- g(this, "logger", new Cn("AudioMixer"));
13921
+ g(this, "logger", new In("AudioMixer"));
13914
13922
  g(this, "audioContext", new AudioContext());
13915
13923
  g(this, "audioDestination", this.audioContext.createMediaStreamDestination());
13916
13924
  g(this, "audioTrack", X0(this.audioDestination.stream));
@@ -14176,7 +14184,7 @@ function Nc(r, a, e) {
14176
14184
  if (!(!s || !t || !i))
14177
14185
  return r.attachShader(s, t), r.attachShader(s, i), r.linkProgram(s), r.getProgramParameter(s, r.LINK_STATUS) ? s : (console.error(`Unable to initialize the shader program: ${r.getProgramInfoLog(s)}`), null);
14178
14186
  }
14179
- function Lc(r, a, e, t = 0, i = 0) {
14187
+ function Mc(r, a, e, t = 0, i = 0) {
14180
14188
  const s = r.createBuffer();
14181
14189
  r.bindBuffer(r.ARRAY_BUFFER, s);
14182
14190
  const n = t, c = i, o = a + t, u = e + i, h = [n, c, o, c, n, u, n, u, o, c, o, u];
@@ -14242,7 +14250,7 @@ class Qa extends os {
14242
14250
  this.originVideo.videoHeight,
14243
14251
  this.targetWidth,
14244
14252
  this.targetHeight
14245
- ), c = Lc(e, n.width, n.height, n.x, n.y);
14253
+ ), c = Mc(e, n.width, n.height, n.x, n.y);
14246
14254
  e.enableVertexAttribArray(t), e.bindBuffer(e.ARRAY_BUFFER, c), e.vertexAttribPointer(t, 2, e.FLOAT, !1, 0, 0), e.enableVertexAttribArray(i);
14247
14255
  const o = e.createBuffer();
14248
14256
  e.bindBuffer(e.ARRAY_BUFFER, o), e.bufferData(
@@ -14265,7 +14273,7 @@ class Qa extends os {
14265
14273
  this.stopRender(), this.originVideo.removeEventListener("play", this.startRender), this.originVideo.removeEventListener("pause", this.stopRender), this.originVideo.removeEventListener("ended", this.stopRender), this.originVideo.removeEventListener("resize", this.updateBuffer), this.originVideo.pause(), this.originVideo.srcObject = null;
14266
14274
  }
14267
14275
  }
14268
- const Mc = `
14276
+ const Lc = `
14269
14277
  var targetOptions={
14270
14278
  width: 320,
14271
14279
  height: 180,
@@ -14363,7 +14371,7 @@ class en extends os {
14363
14371
  return "MediaStreamTrackProcessor" in window && "MediaStreamTrackGenerator" in window && "TransformStream" in window && "VideoFrame" in window;
14364
14372
  }
14365
14373
  startTransform() {
14366
- const e = new Blob([Mc], { type: "text/javascript" }), i = (window.URL || window.webkitURL).createObjectURL(e);
14374
+ const e = new Blob([Lc], { type: "text/javascript" }), i = (window.URL || window.webkitURL).createObjectURL(e);
14367
14375
  this.worker = new Worker(i);
14368
14376
  const { readable: s } = this.processor, { writable: n } = this.trackGenerator;
14369
14377
  this.worker.postMessage(
@@ -14484,7 +14492,7 @@ class Pe extends De {
14484
14492
  g(this, "indicationTimer", 0);
14485
14493
  g(this, "parameter", {});
14486
14494
  const { signalingManager: t, slsReporter: i } = e;
14487
- this.signalingManager = t, this.addSignalingManagerListener(), this.slsReporter = i, this.pluginManager = new xc(), this.localStreamManager = new Ac(this.pluginManager, this.slsReporter), this.rtsManager = new bc(this.localStreamManager, this.slsReporter, this.parameter), this.self = new tc({
14495
+ this.signalingManager = t, this.addSignalingManagerListener(), this.slsReporter = i, this.pluginManager = new Sc(), this.localStreamManager = new Ac(this.pluginManager, this.slsReporter), this.rtsManager = new bc(this.localStreamManager, this.slsReporter, this.parameter), this.self = new tc({
14488
14496
  rtsManager: this.rtsManager,
14489
14497
  localStreamManager: this.localStreamManager,
14490
14498
  slsReporter: this.slsReporter,
@@ -14492,7 +14500,7 @@ class Pe extends De {
14492
14500
  pluginManager: this.pluginManager,
14493
14501
  audioVolumeIndicationInterval: this.audioVolumeIndicationInterval,
14494
14502
  parameter: this.parameter
14495
- }), this.audioMixerPlugin = new wc(), this.pluginManager.add(this.audioMixerPlugin), this.dualVideoPlugin = new Fc("dualVideoPlugin"), T0() && this.pluginManager.add(new yc());
14503
+ }), this.audioMixerPlugin = new wc(), this.pluginManager.add(this.audioMixerPlugin), this.dualVideoPlugin = new Fc("dualVideoPlugin"), k0() && this.pluginManager.add(new yc());
14496
14504
  }
14497
14505
  addSignalingManagerListener() {
14498
14506
  this.signalingManager.on("onNotifyPublish", (e) => {
@@ -14748,7 +14756,7 @@ class Pe extends De {
14748
14756
  playoutVolume: this.playoutVolume,
14749
14757
  parameter: this.parameter
14750
14758
  });
14751
- return s.on(Me.Remote, this.onRemoteDeviceStatusChange.bind(this)), s.on(oe.PullStreamStats, this.onRemoteStatReport.bind(this)), s.on(oe.RtsSubscribeExceeds, this.onSubscribeExceeds.bind(this)), s.on("audioSubscribeStateChanged", (n, c, o, u) => {
14759
+ return s.on(Le.Remote, this.onRemoteDeviceStatusChange.bind(this)), s.on(oe.PullStreamStats, this.onRemoteStatReport.bind(this)), s.on(oe.RtsSubscribeExceeds, this.onSubscribeExceeds.bind(this)), s.on("audioSubscribeStateChanged", (n, c, o, u) => {
14752
14760
  this.emit("audioSubscribeStateChanged", n, c, o, u, this.channel || "");
14753
14761
  }), s.on("videoSubscribeStateChanged", (n, c, o, u) => {
14754
14762
  this.emit("videoSubscribeStateChanged", n, c, o, u, this.channel || "");
@@ -14953,7 +14961,7 @@ je([
14953
14961
  je([
14954
14962
  D()
14955
14963
  ], Pe.prototype, "enableAudioVolumeIndication", 1);
14956
- const Lr = (r) => w(void 0, null, function* () {
14964
+ const Mr = (r) => w(void 0, null, function* () {
14957
14965
  const a = new Uint8Array(160).fill(170), e = new TextEncoder().encode(r), t = yield window.crypto.subtle.importKey(
14958
14966
  "raw",
14959
14967
  // 密钥格式
@@ -14984,7 +14992,7 @@ class Uc {
14984
14992
  const t = this.authInfo;
14985
14993
  if (!t)
14986
14994
  return Promise.reject(ht.LiveTranscodingErrorInvalidParam);
14987
- const i = "https://gw.rtn.aliyuncs.com", s = B0[a], n = {
14995
+ const i = "https://gw.rtn.aliyuncs.com", s = M0[a], n = {
14988
14996
  appid: t.appId,
14989
14997
  userid: t.userId,
14990
14998
  channelid: t.channelId,
@@ -15017,7 +15025,7 @@ class Uc {
15017
15025
  return w(this, null, function* () {
15018
15026
  if (!this.authInfo)
15019
15027
  return Promise.reject(ht.LiveTranscodingErrorInvalidParam);
15020
- const t = yield Lr(a.split("?")[0]), i = Ue.MPU_TASK_TRANSACTION_UPDATE, s = e.toJson(i, this.authInfo, t, a);
15028
+ const t = yield Mr(a.split("?")[0]), i = Ue.MPU_TASK_TRANSACTION_UPDATE, s = e.toJson(i, this.authInfo, t, a);
15021
15029
  return this.doRequest(i, s);
15022
15030
  });
15023
15031
  }
@@ -15033,7 +15041,7 @@ class Uc {
15033
15041
  return w(this, null, function* () {
15034
15042
  if (!this.authInfo)
15035
15043
  return Promise.reject(ht.LiveTranscodingErrorInvalidParam);
15036
- const t = yield Lr(a.split("?")[0]), i = Ue.MPU_TASK_TRANSACTION_UPDATE, s = e.toJson(i, this.authInfo, t, a);
15044
+ const t = yield Mr(a.split("?")[0]), i = Ue.MPU_TASK_TRANSACTION_UPDATE, s = e.toJson(i, this.authInfo, t, a);
15037
15045
  return this.doRequest(i, s);
15038
15046
  });
15039
15047
  }
@@ -15049,7 +15057,7 @@ class Uc {
15049
15057
  return w(this, null, function* () {
15050
15058
  if (!this.authInfo)
15051
15059
  return Promise.reject(ht.LiveTranscodingErrorInvalidParam);
15052
- const e = yield Lr(a.split("?")[0]), t = Ue.MPU_TASK_TRANSACTION_STOP, i = new Fr().toJson(t, this.authInfo, e, a);
15060
+ const e = yield Mr(a.split("?")[0]), t = Ue.MPU_TASK_TRANSACTION_STOP, i = new Fr().toJson(t, this.authInfo, e, a);
15053
15061
  return this.doRequest(t, i);
15054
15062
  });
15055
15063
  }
@@ -15177,8 +15185,8 @@ class zc {
15177
15185
  };
15178
15186
  }
15179
15187
  }
15180
- var Rn = /* @__PURE__ */ ((r) => (r[r.NOT_DISPLAY = 0] = "NOT_DISPLAY", r[r.ALWAYS = 1] = "ALWAYS", r[r.WHEN_NO_VIDEO = 2] = "WHEN_NO_VIDEO", r))(Rn || {});
15181
- class In {
15188
+ var wn = /* @__PURE__ */ ((r) => (r[r.NOT_DISPLAY = 0] = "NOT_DISPLAY", r[r.ALWAYS = 1] = "ALWAYS", r[r.WHEN_NO_VIDEO = 2] = "WHEN_NO_VIDEO", r))(wn || {});
15189
+ class Dn {
15182
15190
  constructor(a, e, t, i, s, n = 0, c = 1, o = 1) {
15183
15191
  g(this, "url");
15184
15192
  g(this, "x");
@@ -15203,7 +15211,7 @@ class In {
15203
15211
  };
15204
15212
  }
15205
15213
  }
15206
- g(In, "DisplayType", Rn);
15214
+ g(Dn, "DisplayType", wn);
15207
15215
  class Wc {
15208
15216
  constructor(a, e, t, i, s = 0, n = 16777215, c = Ii.NOTO_SERIF_CJKSC_REGULAR) {
15209
15217
  g(this, "text");
@@ -15257,22 +15265,22 @@ class $c {
15257
15265
  return this.sourceType && ii[this.sourceType] ? s.sourcetype = ii[this.sourceType] : s.sourcetype = ii[ni.LiveTranscodingCamera], this.segmentType && i === is.LiveTranscodingVirtualBackground ? s.segmenttype = this.segmentType : s.segmenttype = Ei.LiveTranscodingNoBody, s;
15258
15266
  }
15259
15267
  }
15260
- const Mt = class Mt {
15268
+ const Lt = class Lt {
15261
15269
  constructor() {
15262
15270
  // 使用 static 声明实例
15263
15271
  g(this, "ntpClock");
15264
15272
  this.ntpClock = new le.Clock();
15265
15273
  }
15266
15274
  static getInstance() {
15267
- return Mt.instance || (Mt.instance = new Mt()), Mt.instance;
15275
+ return Lt.instance || (Lt.instance = new Lt()), Lt.instance;
15268
15276
  }
15269
15277
  now() {
15270
15278
  return this.ntpClock.now();
15271
15279
  }
15272
15280
  };
15273
- g(Mt, "instance");
15274
- let Wr = Mt;
15275
- const wn = () => Wr.getInstance(), { BrowserUtil: Mr, SystenUtil: tn } = le;
15281
+ g(Lt, "instance");
15282
+ let Wr = Lt;
15283
+ const Tn = () => Wr.getInstance(), { BrowserUtil: Lr, SystenUtil: tn } = le;
15276
15284
  class rn {
15277
15285
  constructor() {
15278
15286
  g(this, "tracker");
@@ -15283,7 +15291,7 @@ class rn {
15283
15291
  g(this, "slsToken");
15284
15292
  g(this, "ossToken");
15285
15293
  g(this, "ntpClock");
15286
- this.ntpClock = wn();
15294
+ this.ntpClock = Tn();
15287
15295
  }
15288
15296
  createTracker() {
15289
15297
  if (!this.tracker && this.slsToken && this.param) {
@@ -15333,7 +15341,7 @@ class rn {
15333
15341
  try {
15334
15342
  e = JSON.parse(
15335
15343
  JSON.stringify(J(ut(J({
15336
- bt: Mr.browserName || "unknown",
15344
+ bt: Lr.browserName || "unknown",
15337
15345
  ntptm: this.ntpClock.now(),
15338
15346
  // NTP时间
15339
15347
  ntpofs: this.ntpClock.now() - Date.now()
@@ -15355,8 +15363,12 @@ class rn {
15355
15363
  * 初始化公共参数
15356
15364
  */
15357
15365
  initParam(a) {
15358
- let e = localStorage == null ? void 0 : localStorage.getItem("AliRtcUUID");
15359
- e || (e = rt(), localStorage == null || localStorage.setItem("AliRtcUUID", e)), this.param || (this.param = {
15366
+ let e = "";
15367
+ try {
15368
+ e = (localStorage == null ? void 0 : localStorage.getItem("AliRtcUUID")) || "", e || (e = rt(), localStorage == null || localStorage.setItem("AliRtcUUID", e));
15369
+ } catch (t) {
15370
+ }
15371
+ this.param || (this.param = {
15360
15372
  apid: a.appId,
15361
15373
  usrid: a.userId,
15362
15374
  statsvrs: "0.6.1",
@@ -15367,16 +15379,16 @@ class rn {
15367
15379
  usrn: a.userId,
15368
15380
  osn: tn.systemName,
15369
15381
  osv: tn.systemVersion,
15370
- deb: y0(),
15371
- den: E0(),
15382
+ deb: R0(),
15383
+ den: A0(),
15372
15384
  udid: e,
15373
15385
  sdkvrs: yi,
15374
15386
  acs: "Unknown",
15375
15387
  cput: ln(),
15376
15388
  dm: `${window.location.protocol}//${window.location.host}`,
15377
15389
  // bt 需要保证不为空
15378
- bt: Mr.browserName,
15379
- bv: Mr.browserVersion,
15390
+ bt: Lr.browserName,
15391
+ bv: Lr.browserVersion,
15380
15392
  envir: "PRODUCT",
15381
15393
  args: "",
15382
15394
  instid: rt()
@@ -15411,7 +15423,7 @@ const fe = (r, a = 1, e = 6e4, t = 0) => {
15411
15423
  g(this, "authInfo");
15412
15424
  g(this, "ntpClock");
15413
15425
  g(this, "customFields", {});
15414
- this.logClient = new rn(), this.engine = a, this.ntpClock = wn();
15426
+ this.logClient = new rn(), this.engine = a, this.ntpClock = Tn();
15415
15427
  }
15416
15428
  static getLogClient() {
15417
15429
  return this.staticClient || (this.staticClient = new rn()), this.staticClient;
@@ -15464,7 +15476,7 @@ const fe = (r, a = 1, e = 6e4, t = 0) => {
15464
15476
  ctm: Math.floor(s[0].timestamp || 0),
15465
15477
  src: s[0].ssrc || "",
15466
15478
  codec: s[0]._codec || ""
15467
- }, o = [], u = [], h = [], p = [], d = [], f = [], m = [], l = [], x = [], v = [], S = [], b = [], E = [], _ = [], y = [], A = [], R = [], L = [], C = [];
15479
+ }, o = [], u = [], h = [], p = [], d = [], f = [], m = [], l = [], S = [], v = [], x = [], b = [], E = [], _ = [], y = [], A = [], R = [], M = [], C = [];
15468
15480
  try {
15469
15481
  if (s.forEach((I) => {
15470
15482
  var F, N, G, j, ce, Z;
@@ -15480,21 +15492,21 @@ const fe = (r, a = 1, e = 6e4, t = 0) => {
15480
15492
  p.push(te);
15481
15493
  const ee = pe(I, "packetsLost"), k = Ge(ee, P);
15482
15494
  d.push(k);
15483
- const M = kt(ee, Q);
15484
- if (f.push(M), n)
15495
+ const L = kt(ee, Q);
15496
+ if (f.push(L), n)
15485
15497
  (N = I._source) != null && N.audioLevel && m.push(sn(I._source.audioLevel)), l.push(0);
15486
15498
  else {
15487
- x.push(an(I, "totalEncodeTime")), v.push(Bt((G = I._source) == null ? void 0 : G.framesPerSecond, 100)), S.push(Bt((j = I._source) == null ? void 0 : j.framesPerSecond, 100)), b.push(Bt(I.framesPerSecond, 100)), E.push(Bt((ce = I._source) == null ? void 0 : ce.height, 4400)), _.push(Bt((Z = I._source) == null ? void 0 : Z.width, 7700)), y.push(Bt(I.frameHeight, 4400)), A.push(Bt(I.frameWidth, 7700));
15499
+ S.push(an(I, "totalEncodeTime")), v.push(Bt((G = I._source) == null ? void 0 : G.framesPerSecond, 100)), x.push(Bt((j = I._source) == null ? void 0 : j.framesPerSecond, 100)), b.push(Bt(I.framesPerSecond, 100)), E.push(Bt((ce = I._source) == null ? void 0 : ce.height, 4400)), _.push(Bt((Z = I._source) == null ? void 0 : Z.width, 7700)), y.push(Bt(I.frameHeight, 4400)), A.push(Bt(I.frameWidth, 7700));
15488
15500
  const Ve = pe(I, "totalPacketSendDelay");
15489
15501
  R.push(fe(Ve, 1 / (ee || 1), 2e3));
15490
15502
  const ze = pe(I, "qpSum");
15491
- L.push(fe(ze, 1 / (I.framesPerSecond || 1), 51)), C.push(0);
15503
+ M.push(fe(ze, 1 / (I.framesPerSecond || 1), 51)), C.push(0);
15492
15504
  }
15493
15505
  }), c.sbr = o.join(","), c.mbrs = u.join(","), c.pbrs = h.join(","), c.ps = p.join(","), c.pl = d.join(","), c.plr = f.join(","), n) {
15494
15506
  const I = (i == null ? void 0 : i.getSettings().sampleRate) || 0;
15495
15507
  c.ailevel = m.join(","), c.arpc = l.join(","), c.arsr = I, c.aesr = I, c.publevel = -90, c.rawlevel = -90;
15496
15508
  } else
15497
- c.em = x.join(","), c.cfps = v.join(","), c.ifps = S.join(","), c.sfps = b.join(","), c.ih = E.join(","), c.iw = _.join(","), c.sh = y.join(","), c.sw = A.join(","), c.sd = R.join(","), c.aqp = L.join(","), c.caf = C.join(","), c.can = C.join(","), c.cav = u.join(","), c.ifimax = C.join(","), c.ifimin = C.join(","), c.efimax = C.join(","), c.efimin = C.join(","), c.sfimax = C.join(","), c.sfimin = C.join(","), c.apsnr = C.join(",");
15509
+ c.em = S.join(","), c.cfps = v.join(","), c.ifps = x.join(","), c.sfps = b.join(","), c.ih = E.join(","), c.iw = _.join(","), c.sh = y.join(","), c.sw = A.join(","), c.sd = R.join(","), c.aqp = M.join(","), c.caf = C.join(","), c.can = C.join(","), c.cav = u.join(","), c.ifimax = C.join(","), c.ifimin = C.join(","), c.efimax = C.join(","), c.efimin = C.join(","), c.sfimax = C.join(","), c.sfimin = C.join(","), c.apsnr = C.join(",");
15498
15510
  } catch (I) {
15499
15511
  }
15500
15512
  this.log({
@@ -15515,7 +15527,7 @@ const fe = (r, a = 1, e = 6e4, t = 0) => {
15515
15527
  ctm: Math.floor(s[0].timestamp || 0),
15516
15528
  src: s[0].ssrc || "",
15517
15529
  codec: s[0]._codec || ""
15518
- }, o = [], u = [], h = [], p = [], d = [], f = [], m = [], l = [], x = [], v = [], S = [], b = [], E = [], _ = [], y = [], A = [], R = [], L = [], C = [], I = [], P = [], B = [], $ = [], q = [], X = [], ae = [], Q = [], te = [], ee = [], k = [], M = [], F = [], N = [], G = [];
15530
+ }, o = [], u = [], h = [], p = [], d = [], f = [], m = [], l = [], S = [], v = [], x = [], b = [], E = [], _ = [], y = [], A = [], R = [], M = [], C = [], I = [], P = [], B = [], $ = [], q = [], X = [], ae = [], Q = [], te = [], ee = [], k = [], L = [], F = [], N = [], G = [];
15519
15531
  try {
15520
15532
  s.forEach((j) => {
15521
15533
  var tt, wt;
@@ -15527,11 +15539,11 @@ const fe = (r, a = 1, e = 6e4, t = 0) => {
15527
15539
  u.push(Qe);
15528
15540
  const et = Ge(fe(Ve, 8, 2e7), ce);
15529
15541
  h.push(et);
15530
- const Se = pe(j, "packetsReceived"), ke = Ge(Se, ce);
15542
+ const xe = pe(j, "packetsReceived"), ke = Ge(xe, ce);
15531
15543
  p.push(ke);
15532
15544
  const ot = pe(j, "packetsLost"), Ct = Ge(ot, ce);
15533
15545
  d.push(Ct);
15534
- const Ht = kt(ot, Se);
15546
+ const Ht = kt(ot, xe);
15535
15547
  f.push(Ht);
15536
15548
  const Rt = pe(j, "jitterBufferDelay"), Yt = pe(j, "jitterBufferEmittedCount");
15537
15549
  if (j.jitterBufferDelay && j.jitterBufferEmittedCount) {
@@ -15540,9 +15552,9 @@ const fe = (r, a = 1, e = 6e4, t = 0) => {
15540
15552
  } else
15541
15553
  m.push(0);
15542
15554
  const It = pe(j, "fecPacketsReceived");
15543
- b.push(kt(It, Se));
15544
- const Be = pe(j, "retransmittedPacketsReceived"), Re = Se + ot - Be;
15545
- if (x.push(kt(Se - Be, Re)), v.push(kt(ot, Re)), l.push(kt(Be, Re)), S.push(Re), N.push(0), G.push(""), n) {
15555
+ b.push(kt(It, xe));
15556
+ const Be = pe(j, "retransmittedPacketsReceived"), Re = xe + ot - Be;
15557
+ if (S.push(kt(xe - Be, Re)), v.push(kt(ot, Re)), l.push(kt(Be, Re)), x.push(Re), N.push(0), G.push(""), n) {
15546
15558
  _.push(sn(j.audioLevel));
15547
15559
  const gt = Kc(j, "synthesizedSamplesEvents");
15548
15560
  y.push(gt);
@@ -15552,7 +15564,7 @@ const fe = (r, a = 1, e = 6e4, t = 0) => {
15552
15564
  E.push(ct), R.push(0);
15553
15565
  } else {
15554
15566
  const gt = (wt = j._last) != null && wt.totalInterFrameDelay ? j.totalInterFrameDelay - j._last.totalInterFrameDelay : 0;
15555
- L.push(fe(gt, 1e3 / (j.framesDecoded || 30), 500)), C.push(fe(j.framesPerSecond, 1, 100)), I.push(pe(j, "framesReceived")), F.push(pe(j, "framesRendered")), P.push(fe(j.frameHeight, 1, 4400)), B.push(fe(j.frameWidth, 1, 7700));
15567
+ M.push(fe(gt, 1e3 / (j.framesDecoded || 30), 500)), C.push(fe(j.framesPerSecond, 1, 100)), I.push(pe(j, "framesReceived")), F.push(pe(j, "framesRendered")), P.push(fe(j.frameHeight, 1, 4400)), B.push(fe(j.frameWidth, 1, 7700));
15556
15568
  const it = pe(j, "totalProcessingDelay");
15557
15569
  $.push(fe(it, 1e3 / (j.framesDecoded || 30), 12e4));
15558
15570
  const ct = pe(j, "nackCount");
@@ -15568,9 +15580,9 @@ const fe = (r, a = 1, e = 6e4, t = 0) => {
15568
15580
  const di = pe(j, "jitterBufferTargetDelay");
15569
15581
  di && We ? k.push(fe(di, 1e3 / We, 3e4)) : k.push(0);
15570
15582
  const Zt = pe(j, "jitterBufferMinimumDelay");
15571
- Zt && We ? M.push(fe(Zt, 1e3 / We, 3e4)) : M.push(0);
15583
+ Zt && We ? L.push(fe(Zt, 1e3 / We, 3e4)) : L.push(0);
15572
15584
  }
15573
- }), 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 = m.join(","), c.fecr = b.join(","), c.retransr = l.join(","), c.baser = x.join(","), c.basel = v.join(","), c.recoverr = N.join(","), c.alll = v.join(","), c.totalc = S.join(","), n ? (c.er = E.join(","), c.aolevel = _.join(","), c.asrc = R.join(","), c.scnt = y.join(","), c.sdura = A.join(",")) : (c.dm = L.join(","), c.dfps = C.join(","), c.rfps = I.join(","), c.rh = P.join(","), c.rw = B.join(","), c.fpt = G.join(","), c.ns = X.join(","), c.pliss = q.join(","), c.aqp = ae.join(","), c.ofimax = N.join(","), c.ofimin = N.join(","), c.dfimax = N.join(","), c.dfimin = N.join(","), c.rfimax = N.join(","), c.rfimin = N.join(","), c.vrstutter = te.join(","), c.cdm = ee.join(","), c.tdm = k.join(","), c.pdm = M.join(","), c.ofps = F.join(","), c.dfbd = Q.join(","));
15585
+ }), 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 = m.join(","), c.fecr = b.join(","), c.retransr = l.join(","), c.baser = S.join(","), c.basel = v.join(","), c.recoverr = N.join(","), c.alll = v.join(","), c.totalc = x.join(","), n ? (c.er = E.join(","), c.aolevel = _.join(","), c.asrc = R.join(","), c.scnt = y.join(","), c.sdura = A.join(",")) : (c.dm = M.join(","), c.dfps = C.join(","), c.rfps = I.join(","), c.rh = P.join(","), c.rw = B.join(","), c.fpt = G.join(","), c.ns = X.join(","), c.pliss = q.join(","), c.aqp = ae.join(","), c.ofimax = N.join(","), c.ofimin = N.join(","), c.dfimax = N.join(","), c.dfimin = N.join(","), c.rfimax = N.join(","), c.rfimin = N.join(","), c.vrstutter = te.join(","), c.cdm = ee.join(","), c.tdm = k.join(","), c.pdm = L.join(","), c.ofps = F.join(","), c.dfbd = Q.join(","));
15574
15586
  } catch (j) {
15575
15587
  }
15576
15588
  this.log({
@@ -15591,10 +15603,10 @@ const fe = (r, a = 1, e = 6e4, t = 0) => {
15591
15603
  return;
15592
15604
  const e = [], t = [], i = [], s = [], n = [], c = [], o = [], u = [], h = [], p = [];
15593
15605
  a.forEach((f, m) => {
15594
- var x;
15606
+ var S;
15595
15607
  if (!f.timestamp)
15596
15608
  return;
15597
- const l = (x = f._last) != null && x.timestamp ? f.timestamp - f._last.timestamp : 1e3;
15609
+ const l = (S = f._last) != null && S.timestamp ? f.timestamp - f._last.timestamp : 1e3;
15598
15610
  e.push(fe(f.currentRoundTripTime, 1e3)), t.push(fe(f.availableOutgoingBitrate, 8, 2e8)), i.push(Ge(fe(f.bytesSent, 8, 2e7), l, 25e6)), s.push(Ge(fe(f.bytesReceived, 8, 2e7), l, 25e6)), n.push(0), c.push(0), m % 5 === 0 && (o.push(""), u.push(""), h.push(""), p.push(""));
15599
15611
  });
15600
15612
  const d = {
@@ -16277,7 +16289,7 @@ const z = (K = class extends De {
16277
16289
  */
16278
16290
  addPublisherListeners() {
16279
16291
  var e, t, i, s, n, c, o, u, h, p;
16280
- (e = this.publisher) == null || e.on(Me.Local, (d) => {
16292
+ (e = this.publisher) == null || e.on(Le.Local, (d) => {
16281
16293
  O.event("[Publisher] Device Status Change", d), this.onLocalDeviceStatusChange(d);
16282
16294
  }), (t = this.publisher) == null || t.on(Vt.VideoTrackEnded, () => {
16283
16295
  O.event("[Publisher] VideoTrack Ended"), this.emit(
@@ -16341,7 +16353,7 @@ const z = (K = class extends De {
16341
16353
  })), this.bizControl.rtsManager.on("seimessage", (e, t, i) => {
16342
16354
  const s = this.remoteUsers.find((n) => n.streamUrl === e);
16343
16355
  s && this.emit("mediaExtensionMsgReceived", s.userId, i, t);
16344
- }), this.bizControl.on(Me.Remote, (e, t) => {
16356
+ }), this.bizControl.on(Le.Remote, (e, t) => {
16345
16357
  O.event(`[${K.logName}]`, "RemoteUser Device Status Change", e, t);
16346
16358
  }), this.bizControl.on("remoteTrackAvailableChange", (e, t, i) => {
16347
16359
  this.emit("remoteTrackAvailableNotify", e, t, i);
@@ -16458,7 +16470,7 @@ const z = (K = class extends De {
16458
16470
  * @returns {void}
16459
16471
  */
16460
16472
  onLocalDeviceStatusChange(e) {
16461
- O.event(`[${K.logName}]`, Me.Local, e), this.signalingManager.reportStatus(e).then(() => {
16473
+ O.event(`[${K.logName}]`, Le.Local, e), this.signalingManager.reportStatus(e).then(() => {
16462
16474
  O.debug("[signaling] reportStatus suc");
16463
16475
  }).catch((t) => {
16464
16476
  O.error("[signaling] reportStatus failed", t);
@@ -17397,7 +17409,7 @@ g(K, "logError", !0), /**
17397
17409
  * @param {string} direction
17398
17410
  * @returns {Promise<AliRtcCheckResult>}
17399
17411
  */
17400
- g(K, "isSupported", D0), /**
17412
+ g(K, "isSupported", P0), /**
17401
17413
  * 检查浏览器是否支持开启大小流
17402
17414
  * @returns {boolean}
17403
17415
  */
@@ -17411,7 +17423,7 @@ g(K, "getCameraList", () => w(K, null, function* () {
17411
17423
  return (yield le.getMicList()).filter((t) => t.deviceId);
17412
17424
  })), g(K, "getSpeakerList", () => w(K, null, function* () {
17413
17425
  return (yield le.getSpeakerList()).filter((t) => t.deviceId);
17414
- })), g(K, "_instance"), g(K, "AliRtcSdkChannelProfile", bt), g(K, "AliRtcSdkClientRole", Nt), g(K, "AliRtcVideoStreamType", we), g(K, "AliRtcVideoTrack", se), g(K, "AliRtcAudioTrack", Xt), g(K, "AliRtcPublishState", Y), g(K, "AliRtcSubscribeState", he), g(K, "AliRtcRawDataStreamType", be), g(K, "AliRtcLogLevel", fn), g(K, "AliRtcEngineLocalDeviceType", dt), g(K, "AliRtcEngineLocalDeviceExceptionType", _e), g(K, "AliRtcConnectionStatus", ue), g(K, "AliRtcConnectionStatusChangeReason", Wt), g(K, "AliRtcPlugin", Gt), g(K, "AliRtcPluginTrackType", Ri), g(K, "AliRtcLiveTranscodingParam", Fr), g(K, "AliRtcLiveTranscodingEncodeParam", vn), g(K, "AliRtcLiveTranscodingMixParam", Hc), g(K, "AliRtcLiveTranscodingSingleParam", jc), g(K, "AliRtcTranscodingClockWidget", zc), g(K, "AliRtcTranscodingImage", In), g(K, "AliRtcTranscodingText", Wc), g(K, "AliRtcTranscodingUser", $c), g(K, "AliRtcLiveTranscodingMixMode", bi), g(K, "AliRtcLiveTranscodingStreamType", pn), g(K, "AliRtcLiveTranscodingSourceType", ni), g(K, "AliRtcLiveTranscodingTaskProfile", gn), g(K, "AliRtcLiveTranscodingAudioSampleRate", ts), g(K, "AliRtcLiveTranscodingSegmentType", Ei), g(K, "AliRtcLiveTranscodingFontType", Ii), g(K, "AliRtcLiveTranscodingCropMode", mn), g(K, "AliRtcLiveTranscodingMediaProcessMode", is), g(K, "AliRtcLiveTranscodingState", xn), g(K, "AliRtcLiveTranscodingErrorCode", ht), g(K, "AliRtcTrascodingPublishTaskStatus", Sn), g(K, "AliRtcDataChannelMsg", qt), g(K, "AliRtcDataMsgType", An), g(K, "Plugin", Gt), K);
17426
+ })), g(K, "_instance"), g(K, "AliRtcSdkChannelProfile", bt), g(K, "AliRtcSdkClientRole", Nt), g(K, "AliRtcVideoStreamType", we), g(K, "AliRtcVideoTrack", se), g(K, "AliRtcAudioTrack", Xt), g(K, "AliRtcPublishState", Y), g(K, "AliRtcSubscribeState", he), g(K, "AliRtcRawDataStreamType", be), g(K, "AliRtcLogLevel", fn), g(K, "AliRtcEngineLocalDeviceType", dt), g(K, "AliRtcEngineLocalDeviceExceptionType", _e), g(K, "AliRtcConnectionStatus", ue), g(K, "AliRtcConnectionStatusChangeReason", Wt), g(K, "AliRtcPlugin", Gt), g(K, "AliRtcPluginTrackType", Ri), g(K, "AliRtcLiveTranscodingParam", Fr), g(K, "AliRtcLiveTranscodingEncodeParam", vn), g(K, "AliRtcLiveTranscodingMixParam", Hc), g(K, "AliRtcLiveTranscodingSingleParam", jc), g(K, "AliRtcTranscodingClockWidget", zc), g(K, "AliRtcTranscodingImage", Dn), g(K, "AliRtcTranscodingText", Wc), g(K, "AliRtcTranscodingUser", $c), g(K, "AliRtcLiveTranscodingMixMode", bi), g(K, "AliRtcLiveTranscodingStreamType", pn), g(K, "AliRtcLiveTranscodingSourceType", ni), g(K, "AliRtcLiveTranscodingTaskProfile", gn), g(K, "AliRtcLiveTranscodingAudioSampleRate", ts), g(K, "AliRtcLiveTranscodingSegmentType", Ei), g(K, "AliRtcLiveTranscodingFontType", Ii), g(K, "AliRtcLiveTranscodingCropMode", mn), g(K, "AliRtcLiveTranscodingMediaProcessMode", is), g(K, "AliRtcLiveTranscodingState", Sn), g(K, "AliRtcLiveTranscodingErrorCode", ht), g(K, "AliRtcTrascodingPublishTaskStatus", xn), g(K, "AliRtcDataChannelMsg", qt), g(K, "AliRtcDataMsgType", Cn), g(K, "Plugin", Gt), K);
17415
17427
  W([
17416
17428
  D()
17417
17429
  ], z.prototype, "destroy", 1);
@@ -17640,21 +17652,21 @@ W([
17640
17652
  W([
17641
17653
  D(H)
17642
17654
  ], z, "setLogLevel", 1);
17643
- let Dn = z;
17655
+ let Pn = z;
17644
17656
  var nn;
17645
- const Tn = new qr({
17657
+ const kn = new qr({
17646
17658
  businessName: "imp-web-rtc",
17647
- version: (nn = Dn.getSdkVersion()) != null ? nn : "unknown",
17659
+ version: (nn = Pn.getSdkVersion()) != null ? nn : "unknown",
17648
17660
  env: "prod",
17649
17661
  disabled: window.AliRtcOptionsDisableProxy === !0
17650
17662
  });
17651
- Tn.setReady();
17652
- const Zc = Tn.wrap(Dn);
17663
+ kn.setReady();
17664
+ const Zc = kn.wrap(Pn);
17653
17665
  export {
17654
17666
  ue as AliRtcConnectionStatus,
17655
17667
  Wt as AliRtcConnectionStatusChangeReason,
17656
17668
  qt as AliRtcDataChannelMsg,
17657
- An as AliRtcDataMsgType,
17669
+ Cn as AliRtcDataMsgType,
17658
17670
  _e as AliRtcEngineLocalDeviceExceptionType,
17659
17671
  dt as AliRtcEngineLocalDeviceType,
17660
17672
  U as AliRtcErrorCode,
@@ -17670,14 +17682,14 @@ export {
17670
17682
  Ei as AliRtcLiveTranscodingSegmentType,
17671
17683
  jc as AliRtcLiveTranscodingSingleParam,
17672
17684
  ni as AliRtcLiveTranscodingSourceType,
17673
- xn as AliRtcLiveTranscodingState,
17685
+ Sn as AliRtcLiveTranscodingState,
17674
17686
  pn as AliRtcLiveTranscodingStreamType,
17675
17687
  gn as AliRtcLiveTranscodingTaskProfile,
17676
17688
  Ya as AliRtcLocalStreamInfo,
17677
17689
  fn as AliRtcLogLevel,
17678
17690
  Gt as AliRtcPlugin,
17679
17691
  Ri as AliRtcPluginTrackType,
17680
- P0 as AliRtcPluginType,
17692
+ B0 as AliRtcPluginType,
17681
17693
  Y as AliRtcPublishState,
17682
17694
  be as AliRtcRawDataStreamType,
17683
17695
  lc as AliRtcRemoteUserInfo,
@@ -17685,10 +17697,10 @@ export {
17685
17697
  Nt as AliRtcSdkClientRole,
17686
17698
  he as AliRtcSubscribeState,
17687
17699
  zc as AliRtcTranscodingClockWidget,
17688
- In as AliRtcTranscodingImage,
17700
+ Dn as AliRtcTranscodingImage,
17689
17701
  Wc as AliRtcTranscodingText,
17690
17702
  $c as AliRtcTranscodingUser,
17691
- Sn as AliRtcTrascodingPublishTaskStatus,
17703
+ xn as AliRtcTrascodingPublishTaskStatus,
17692
17704
  we as AliRtcVideoStreamType,
17693
17705
  se as AliRtcVideoTrack,
17694
17706
  Zc as default