aliyun-rtc-sdk 6.13.2-beta.1 → 6.13.2-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aliyun-rtc-sdk.es.js +886 -887
- package/dist/aliyun-rtc-sdk.umd.js +15 -15
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ var Wi = (s, c, e) => c in s ? no(s, c, { enumerable: !0, configurable: !0, writ
|
|
|
8
8
|
for (var e of yi(c))
|
|
9
9
|
Ds.call(c, e) && Wi(s, e, c[e]);
|
|
10
10
|
return s;
|
|
11
|
-
},
|
|
11
|
+
}, bt = (s, c) => ao(s, oo(c));
|
|
12
12
|
var Gt = (s, c) => {
|
|
13
13
|
var e = {};
|
|
14
14
|
for (var t in s)
|
|
@@ -48,8 +48,8 @@ var O = (s, c, e) => new Promise((t, i) => {
|
|
|
48
48
|
}, i = (n) => r[n] = (a) => new Promise((o, u) => t(n, a, o, u)), r = {};
|
|
49
49
|
return e = e.apply(s, c), r[Symbol.asyncIterator] = () => r, i("next"), i("throw"), i("return"), r;
|
|
50
50
|
};
|
|
51
|
-
import { AliRTS as
|
|
52
|
-
import
|
|
51
|
+
import { AliRTS as Re, EConnectStatus as Ts, EDatachannelStatus as Bs } from "aliyun-rts-sdk";
|
|
52
|
+
import Je from "eventemitter3";
|
|
53
53
|
var ho = Object.defineProperty, lo = (s, c, e) => c in s ? ho(s, c, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[c] = e, Jt = (s, c, e) => (lo(s, typeof c != "symbol" ? c + "" : c, e), e), $i = { exports: {} }, qi = { exports: {} }, Gi, Ps;
|
|
54
54
|
function tt() {
|
|
55
55
|
if (Ps)
|
|
@@ -669,7 +669,7 @@ function po() {
|
|
|
669
669
|
var u = this, h = u._conf, m = u.getPage(), f = h.ignore || {}, l = f.ignoreErrors, p = f.ignoreResErrors, d = f.ignoreUrls, g = f.ignoreApis;
|
|
670
670
|
if (u._isRobot || s.ignoreByRule(m, d) || s.ignoreByRule(s.decode(m), d) || r === "error" && (s.ignoreByRule(n.msg, l) || s.ignoreByRule(s.decode(n.msg), l)) || r === "resourceError" && (s.ignoreByRule(n.src, p) || s.ignoreByRule(s.decode(n.src), p)) || r === "api" && (s.ignoreByRule(n.api, g) || s.ignoreByRule(s.decode(n.api), g)) || !u.checkImgUrl(h.imgUrl) || !n || h.disabled || !h.pid || o === 0)
|
|
671
671
|
return u;
|
|
672
|
-
var
|
|
672
|
+
var v = n.dl;
|
|
673
673
|
if (delete n.dl, n = s.ext({
|
|
674
674
|
t: r,
|
|
675
675
|
times: 1,
|
|
@@ -687,13 +687,13 @@ function po() {
|
|
|
687
687
|
pv_id: u.pageview,
|
|
688
688
|
username: u.getUsername(),
|
|
689
689
|
sampling: a || 1,
|
|
690
|
-
dl:
|
|
690
|
+
dl: v,
|
|
691
691
|
z: s.seq()
|
|
692
692
|
}), s.T(h.beforeReport) === "Function")
|
|
693
693
|
try {
|
|
694
694
|
if (!(n = h.beforeReport(n)))
|
|
695
695
|
return u;
|
|
696
|
-
} catch (
|
|
696
|
+
} catch (b) {
|
|
697
697
|
return u;
|
|
698
698
|
}
|
|
699
699
|
return o === 1 ? t(u, n) : a && !u.sampling(a) ? u : t(u, n);
|
|
@@ -840,11 +840,11 @@ function mo() {
|
|
|
840
840
|
},
|
|
841
841
|
dl: h
|
|
842
842
|
}, d = ["tag", "c1", "c2", "c3"], g = 0; g < d.length; g++) {
|
|
843
|
-
var
|
|
844
|
-
n[
|
|
843
|
+
var v = d[g];
|
|
844
|
+
n[v] && (p[v] = n[v]);
|
|
845
845
|
}
|
|
846
|
-
var
|
|
847
|
-
return s.ignoreByRule(p.msg,
|
|
846
|
+
var b = (this.getConfig("ignore") || {}).ignoreErrors;
|
|
847
|
+
return s.ignoreByRule(p.msg, b) || s.ignoreByRule(s.decode(p.msg), b) ? this : (this.beforeSend && this.beforeSend("error", p), this._lg("error", p, 1));
|
|
848
848
|
},
|
|
849
849
|
behavior: function(r) {
|
|
850
850
|
if (r) {
|
|
@@ -854,7 +854,7 @@ function mo() {
|
|
|
854
854
|
return this.beforeSend && this.beforeSend("behavior", n), this._lg("behavior", n, 1);
|
|
855
855
|
}
|
|
856
856
|
},
|
|
857
|
-
api: function(r, n, a, o, u, h, m, f, l, p, d, g,
|
|
857
|
+
api: function(r, n, a, o, u, h, m, f, l, p, d, g, v, b, x, y) {
|
|
858
858
|
if (!r)
|
|
859
859
|
return s.warn("[retcode] api is null"), this;
|
|
860
860
|
if (r = typeof r == "string" ? {
|
|
@@ -869,8 +869,8 @@ function mo() {
|
|
|
869
869
|
apiSnapshot: l,
|
|
870
870
|
domain: p,
|
|
871
871
|
flag: g,
|
|
872
|
-
tag:
|
|
873
|
-
c1:
|
|
872
|
+
tag: v,
|
|
873
|
+
c1: b,
|
|
874
874
|
c2: x,
|
|
875
875
|
c3: y
|
|
876
876
|
} : s.sub(r, e), !s.checkAPI(r.api, !0))
|
|
@@ -956,7 +956,7 @@ function go() {
|
|
|
956
956
|
}, Yi.exports;
|
|
957
957
|
}
|
|
958
958
|
var Qi = { exports: {} }, Os;
|
|
959
|
-
function
|
|
959
|
+
function bo() {
|
|
960
960
|
if (Os)
|
|
961
961
|
return Qi.exports;
|
|
962
962
|
Os = 1;
|
|
@@ -972,7 +972,7 @@ function vo() {
|
|
|
972
972
|
}, Qi.exports;
|
|
973
973
|
}
|
|
974
974
|
var er, Vs;
|
|
975
|
-
function
|
|
975
|
+
function vo() {
|
|
976
976
|
if (Vs)
|
|
977
977
|
return er;
|
|
978
978
|
Vs = 1;
|
|
@@ -984,16 +984,16 @@ function bo() {
|
|
|
984
984
|
f[l] = p(d);
|
|
985
985
|
}
|
|
986
986
|
}, u = function(f) {
|
|
987
|
-
var l, p, d, g,
|
|
987
|
+
var l, p, d, g, v, b = [];
|
|
988
988
|
if (!f || typeof f.tagName != "string")
|
|
989
989
|
return "";
|
|
990
|
-
if (
|
|
991
|
-
for (p = l.split(/\s+/),
|
|
992
|
-
|
|
990
|
+
if (b.push(f.tagName.toLowerCase()), typeof f.id == "string" && b.push("#".concat(f.id)), typeof (l = f.className) == "string")
|
|
991
|
+
for (p = l.split(/\s+/), v = 0; v < p.length; v++)
|
|
992
|
+
b.push(".".concat(p[v]));
|
|
993
993
|
var x = ["type", "name", "title", "alt", "data-arms-attr"];
|
|
994
|
-
for (
|
|
995
|
-
d = x[
|
|
996
|
-
return
|
|
994
|
+
for (v = 0; v < x.length; v++)
|
|
995
|
+
d = x[v], typeof (g = f.getAttribute(d)) == "string" && b.push("[".concat(d, '="').concat(g, '"]'));
|
|
996
|
+
return b.join("");
|
|
997
997
|
}, h = function(f, l) {
|
|
998
998
|
return function(p) {
|
|
999
999
|
if (p && p !== a) {
|
|
@@ -1001,18 +1001,18 @@ function bo() {
|
|
|
1001
1001
|
var d;
|
|
1002
1002
|
try {
|
|
1003
1003
|
d = p.target;
|
|
1004
|
-
} catch (
|
|
1004
|
+
} catch (v) {
|
|
1005
1005
|
d = "<unknown>";
|
|
1006
1006
|
}
|
|
1007
1007
|
if (d.length !== 0) {
|
|
1008
1008
|
var g = {
|
|
1009
1009
|
type: "ui.".concat(f),
|
|
1010
1010
|
data: {
|
|
1011
|
-
message: function(
|
|
1012
|
-
if (!
|
|
1011
|
+
message: function(v) {
|
|
1012
|
+
if (!v || v.nodeType !== 1)
|
|
1013
1013
|
return "";
|
|
1014
|
-
for (var
|
|
1015
|
-
x.push(w), A += w.length,
|
|
1014
|
+
for (var b = v || null, x = [], y = 0, A = 0, I = 3, w = ""; b && y++ < 5 && !((w = u(b)) === "html" || y > 1 && A + x.length * I + w.length >= 80); )
|
|
1015
|
+
x.push(w), A += w.length, b = b.parentNode;
|
|
1016
1016
|
return x.reverse().join(" > ");
|
|
1017
1017
|
}(d)
|
|
1018
1018
|
},
|
|
@@ -1026,32 +1026,32 @@ function bo() {
|
|
|
1026
1026
|
};
|
|
1027
1027
|
}, m = function() {
|
|
1028
1028
|
if (function() {
|
|
1029
|
-
var d = e && e.chrome, g = d && d.app && d.app.runtime,
|
|
1030
|
-
return !g &&
|
|
1029
|
+
var d = e && e.chrome, g = d && d.app && d.app.runtime, v = "history" in e && !!e.history.pushState && !!e.history.replaceState;
|
|
1030
|
+
return !g && v;
|
|
1031
1031
|
}()) {
|
|
1032
1032
|
var f = function(d, g) {
|
|
1033
|
-
var
|
|
1033
|
+
var v = {
|
|
1034
1034
|
type: "navigation",
|
|
1035
1035
|
data: {
|
|
1036
1036
|
from: d,
|
|
1037
1037
|
to: g
|
|
1038
1038
|
}
|
|
1039
1039
|
};
|
|
1040
|
-
i && i.addBehavior(
|
|
1040
|
+
i && i.addBehavior(v), r = g;
|
|
1041
1041
|
}, l = e.onpopstate;
|
|
1042
1042
|
e.onpopstate = function() {
|
|
1043
|
-
for (var d = arguments.length, g = new Array(d),
|
|
1044
|
-
g[
|
|
1045
|
-
var
|
|
1046
|
-
if (f(r,
|
|
1043
|
+
for (var d = arguments.length, g = new Array(d), v = 0; v < d; v++)
|
|
1044
|
+
g[v] = arguments[v];
|
|
1045
|
+
var b = e.location.href;
|
|
1046
|
+
if (f(r, b), l)
|
|
1047
1047
|
return l.apply(this, g);
|
|
1048
1048
|
};
|
|
1049
1049
|
var p = function(d) {
|
|
1050
1050
|
return function() {
|
|
1051
|
-
for (var g = arguments.length,
|
|
1052
|
-
b
|
|
1053
|
-
var x =
|
|
1054
|
-
return x && f(r, String(x)), d.apply(this,
|
|
1051
|
+
for (var g = arguments.length, v = new Array(g), b = 0; b < g; b++)
|
|
1052
|
+
v[b] = arguments[b];
|
|
1053
|
+
var x = v.length > 2 ? v[2] : void 0;
|
|
1054
|
+
return x && f(r, String(x)), d.apply(this, v);
|
|
1055
1055
|
};
|
|
1056
1056
|
};
|
|
1057
1057
|
o(e.history, "pushState", p), o(e.history, "replaceState", p);
|
|
@@ -1115,19 +1115,19 @@ function bo() {
|
|
|
1115
1115
|
s.isArray(l) && (p = l);
|
|
1116
1116
|
for (var d = 0; d < p.length; d++) {
|
|
1117
1117
|
var g = p[d];
|
|
1118
|
-
g && s.isString(g) && e.console[g] && typeof e.console[g] == "function" && o(e.console, g, function(
|
|
1119
|
-
var
|
|
1118
|
+
g && s.isString(g) && e.console[g] && typeof e.console[g] == "function" && o(e.console, g, function(v) {
|
|
1119
|
+
var b = g;
|
|
1120
1120
|
return function() {
|
|
1121
1121
|
for (var x = arguments.length, y = new Array(x), A = 0; A < x; A++)
|
|
1122
1122
|
y[A] = arguments[A];
|
|
1123
1123
|
var I = {
|
|
1124
1124
|
type: "console",
|
|
1125
1125
|
data: {
|
|
1126
|
-
level:
|
|
1126
|
+
level: b,
|
|
1127
1127
|
message: y
|
|
1128
1128
|
}
|
|
1129
1129
|
};
|
|
1130
|
-
if (i && i.addBehavior(I),
|
|
1130
|
+
if (i && i.addBehavior(I), b === "error")
|
|
1131
1131
|
for (var w = 0; w < y.length; w++) {
|
|
1132
1132
|
var R = y[w];
|
|
1133
1133
|
R && R.message && R.stack && i && i.errorHandler(new ErrorEvent("error", {
|
|
@@ -1135,7 +1135,7 @@ function bo() {
|
|
|
1135
1135
|
message: R.message
|
|
1136
1136
|
}));
|
|
1137
1137
|
}
|
|
1138
|
-
|
|
1138
|
+
v && Function.prototype.apply.call(v, e.console, y);
|
|
1139
1139
|
};
|
|
1140
1140
|
});
|
|
1141
1141
|
}
|
|
@@ -1211,10 +1211,10 @@ function So() {
|
|
|
1211
1211
|
ready: [12, 1],
|
|
1212
1212
|
load: [14, 1]
|
|
1213
1213
|
}, function(p, d) {
|
|
1214
|
-
var g = n[e[p[1]]],
|
|
1215
|
-
if (o === 2 || g > 0 &&
|
|
1216
|
-
var
|
|
1217
|
-
|
|
1214
|
+
var g = n[e[p[1]]], v = n[e[p[0]]];
|
|
1215
|
+
if (o === 2 || g > 0 && v > 0) {
|
|
1216
|
+
var b = Math.round(v - g);
|
|
1217
|
+
b >= 0 && b < 6e5 && (r[d] = b);
|
|
1218
1218
|
}
|
|
1219
1219
|
});
|
|
1220
1220
|
var h = t.navigator.connection, m = i.navigation || {};
|
|
@@ -1234,7 +1234,7 @@ function _o() {
|
|
|
1234
1234
|
sr: screen.width + "x" + screen.height,
|
|
1235
1235
|
vp: o + "x" + u,
|
|
1236
1236
|
ct: h ? h.effectiveType || h.type : ""
|
|
1237
|
-
}, f = {}, l = function(d, g,
|
|
1237
|
+
}, f = {}, l = function(d, g, v, b, x) {
|
|
1238
1238
|
if (g === void 0) {
|
|
1239
1239
|
var y, A;
|
|
1240
1240
|
if (!f[d]) {
|
|
@@ -1249,7 +1249,7 @@ function _o() {
|
|
|
1249
1249
|
return f[d];
|
|
1250
1250
|
}
|
|
1251
1251
|
var I = d + "=" + g;
|
|
1252
|
-
I += "; path=/",
|
|
1252
|
+
I += "; path=/", v && (I += "; max-age=" + v);
|
|
1253
1253
|
try {
|
|
1254
1254
|
return e.cookie = I, !!e.cookie;
|
|
1255
1255
|
} catch (w) {
|
|
@@ -1268,33 +1268,33 @@ function _o() {
|
|
|
1268
1268
|
return this;
|
|
1269
1269
|
var g = d.type;
|
|
1270
1270
|
if (g === "error") {
|
|
1271
|
-
var
|
|
1272
|
-
!
|
|
1271
|
+
var v = d.target || d.srcElement;
|
|
1272
|
+
!v || !v.tagName || d.message || d.filename || d.lineno || d.colno ? this.error(d.error || {
|
|
1273
1273
|
message: d.message
|
|
1274
1274
|
}, d) : this.resourceErrorHandler(d);
|
|
1275
1275
|
} else
|
|
1276
1276
|
g === "unhandledrejection" && t.T(d.reason, "Error") && t.checkAutoError(d.reason) && this.error(d.reason);
|
|
1277
1277
|
try {
|
|
1278
1278
|
this.getConfig("behavior") && this.reportBehavior && this.reportBehavior();
|
|
1279
|
-
} catch (
|
|
1279
|
+
} catch (b) {
|
|
1280
1280
|
}
|
|
1281
1281
|
return this;
|
|
1282
1282
|
},
|
|
1283
1283
|
resourceErrorHandler: function(d) {
|
|
1284
|
-
var g = this,
|
|
1284
|
+
var g = this, v = d.target || d.srcElement;
|
|
1285
1285
|
try {
|
|
1286
|
-
var
|
|
1287
|
-
src:
|
|
1286
|
+
var b = g.getSrc(v), x = typeof v.tagName == "string" ? v.tagName.toLowerCase() : "", y = g.getXPath(v, 5), A = t.getURL(b), I = {
|
|
1287
|
+
src: b && b.substring(0, 1e3),
|
|
1288
1288
|
node_name: x,
|
|
1289
1289
|
xpath: y,
|
|
1290
|
-
res_type: t.getResType(x,
|
|
1290
|
+
res_type: t.getResType(x, b),
|
|
1291
1291
|
res_name: A.path,
|
|
1292
1292
|
domain: A.domain
|
|
1293
1293
|
};
|
|
1294
1294
|
return g._conf.enableResource && g.fixResourceStatus && d.timeStamp && g.fixResourceStatus({
|
|
1295
|
-
src:
|
|
1295
|
+
src: b,
|
|
1296
1296
|
node_name: x,
|
|
1297
|
-
res_type: t.getResType(x,
|
|
1297
|
+
res_type: t.getResType(x, b),
|
|
1298
1298
|
timeStamp: d.timeStamp,
|
|
1299
1299
|
domain: A.domain
|
|
1300
1300
|
}), g._lg("resourceError", I), g;
|
|
@@ -1306,8 +1306,8 @@ function _o() {
|
|
|
1306
1306
|
var g = d.src || d.href;
|
|
1307
1307
|
try {
|
|
1308
1308
|
if (!g) {
|
|
1309
|
-
var
|
|
1310
|
-
|
|
1309
|
+
var v = (typeof d.tagName == "string" ? d.tagName.toLowerCase() : "") === "object", b = d.getAttribute("classid") && d.getAttribute("classid").toLowerCase() === "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" || d.getAttribute("type") === "application/x-shockwave-flash";
|
|
1310
|
+
v && b && (g = d.getAttribute("data") || d.getAttribute("codebase")), g || (g = d.outerHTML || d.innerHTML);
|
|
1311
1311
|
}
|
|
1312
1312
|
} catch (x) {
|
|
1313
1313
|
g = "";
|
|
@@ -1315,30 +1315,30 @@ function _o() {
|
|
|
1315
1315
|
return g;
|
|
1316
1316
|
},
|
|
1317
1317
|
getXPath: function(d, g) {
|
|
1318
|
-
var
|
|
1318
|
+
var v = d.id ? "#" + d.id : "", b = typeof d.className == "string" ? "." + d.className.split(" ").join(".") : "", x = (typeof d.tagName == "string" ? d.tagName.toLowerCase() : "") + v + b;
|
|
1319
1319
|
return d.parentNode && d.parentNode.tagName && g - 1 != 0 ? this.getXPath(d.parentNode, g - 1) + " > " + x : x;
|
|
1320
1320
|
},
|
|
1321
1321
|
sendPerformance: function(d) {
|
|
1322
1322
|
var g = this;
|
|
1323
1323
|
g.onReady(function() {
|
|
1324
|
-
var
|
|
1325
|
-
|
|
1324
|
+
var v = r();
|
|
1325
|
+
v && v.load && v.load > 0 && (v.page = g.getPage(!0), d && (v = t.ext(v, d)), v.autoSend = !0, g.performance(v));
|
|
1326
1326
|
});
|
|
1327
1327
|
},
|
|
1328
1328
|
sendResources: function(d) {
|
|
1329
1329
|
var g = this;
|
|
1330
1330
|
g.onReady(function() {
|
|
1331
|
-
var
|
|
1332
|
-
|
|
1331
|
+
var v = i();
|
|
1332
|
+
v && v.load && v.load > 0 && (v.load && v.load <= 2e3 || v.load && v.load <= 8e3 && Math.random() > 0.05 || (v.page = g.getPage(!0), v.dl = location.href, d && (v = t.ext(v, d)), g._lg("res", v, g.getConfig("sample"))));
|
|
1333
1333
|
});
|
|
1334
1334
|
},
|
|
1335
1335
|
sendPV: function() {
|
|
1336
1336
|
var d = this;
|
|
1337
1337
|
d.onReady(function() {
|
|
1338
|
-
var g = function(
|
|
1339
|
-
var
|
|
1338
|
+
var g = function(v) {
|
|
1339
|
+
var b = p(v), x = c.devicePixelRatio || 1;
|
|
1340
1340
|
return {
|
|
1341
|
-
uid:
|
|
1341
|
+
uid: b,
|
|
1342
1342
|
dt: e.title,
|
|
1343
1343
|
dl: location.href,
|
|
1344
1344
|
dr: e.referrer,
|
|
@@ -1359,8 +1359,8 @@ function _o() {
|
|
|
1359
1359
|
try {
|
|
1360
1360
|
if (typeof window == "object" && typeof sessionStorage == "object" && typeof sessionStorage.getItem == "function")
|
|
1361
1361
|
return typeof (g = sessionStorage.getItem("_bl_sid")) == "string" ? (d.session = g, g) : (g = t.uu(), d.session = g, typeof sessionStorage.setItem == "function" && sessionStorage.setItem("_bl_sid", g), g);
|
|
1362
|
-
} catch (
|
|
1363
|
-
t.warn("[ARMS] getSid error :",
|
|
1362
|
+
} catch (v) {
|
|
1363
|
+
t.warn("[ARMS] getSid error :", v);
|
|
1364
1364
|
}
|
|
1365
1365
|
return d.session = g = t.uu(), g;
|
|
1366
1366
|
}(this), m;
|
|
@@ -1375,12 +1375,12 @@ function _o() {
|
|
|
1375
1375
|
var g = this;
|
|
1376
1376
|
if (!d ^ g.hashChangeHandler)
|
|
1377
1377
|
return g;
|
|
1378
|
-
d ? (g.hackHistoryState(), g.hashChangeHandler = function(
|
|
1379
|
-
var
|
|
1380
|
-
|
|
1381
|
-
}, g.stateChangeHandler = function(
|
|
1382
|
-
var
|
|
1383
|
-
|
|
1378
|
+
d ? (g.hackHistoryState(), g.hashChangeHandler = function(v) {
|
|
1379
|
+
var b = g._conf.parseHash(location.hash);
|
|
1380
|
+
b && g.setPage(b, v !== !1);
|
|
1381
|
+
}, g.stateChangeHandler = function(v) {
|
|
1382
|
+
var b = g._conf.parseHash(v.detail);
|
|
1383
|
+
b && g.setPage(b);
|
|
1384
1384
|
}, t.on(c, "hashchange", g.hashChangeHandler), t.on(c, "historystatechange", g.stateChangeHandler), g.hashChangeHandler(!1)) : (t.off(c, "hashchange", g.hashChangeHandler), t.off(c, "historystatechange", g.stateChangeHandler), g.hashChangeHandler = null, g.stateChangeHandler = null);
|
|
1385
1385
|
},
|
|
1386
1386
|
initHandler: function() {
|
|
@@ -1411,8 +1411,8 @@ function yo() {
|
|
|
1411
1411
|
if (d !== "SCRIPT" && d !== "STYLE" && d !== "META" && d !== "HEAD") {
|
|
1412
1412
|
var g = m.children ? m.children.length : 0;
|
|
1413
1413
|
if (g > 0)
|
|
1414
|
-
for (var
|
|
1415
|
-
p += r(b
|
|
1414
|
+
for (var v = m.children, b = g - 1; b >= 0; b--)
|
|
1415
|
+
p += r(v[b], f + 1, p > 0);
|
|
1416
1416
|
if (p <= 0 && !l && !(m.getBoundingClientRect && m.getBoundingClientRect().top < a))
|
|
1417
1417
|
return 0;
|
|
1418
1418
|
p += 1 + 0.5 * f;
|
|
@@ -1441,9 +1441,9 @@ function yo() {
|
|
|
1441
1441
|
(function(p) {
|
|
1442
1442
|
var d = Date.now() - p, g = i.querySelector("body");
|
|
1443
1443
|
if (g) {
|
|
1444
|
-
var
|
|
1445
|
-
|
|
1446
|
-
score:
|
|
1444
|
+
var v = 0;
|
|
1445
|
+
v += r(g, 1, !1), o.push({
|
|
1446
|
+
score: v,
|
|
1447
1447
|
t: d
|
|
1448
1448
|
});
|
|
1449
1449
|
} else
|
|
@@ -1462,9 +1462,9 @@ function yo() {
|
|
|
1462
1462
|
endObserving: function(m, f) {
|
|
1463
1463
|
var l = this;
|
|
1464
1464
|
if (u && h)
|
|
1465
|
-
if (l.fmpTimmer && (clearTimeout(l.fmpTimmer), l.fmpTimmer = null), f || !function(
|
|
1466
|
-
var x = Date.now() -
|
|
1467
|
-
return !(x >
|
|
1465
|
+
if (l.fmpTimmer && (clearTimeout(l.fmpTimmer), l.fmpTimmer = null), f || !function(v, b) {
|
|
1466
|
+
var x = Date.now() - v;
|
|
1467
|
+
return !(x > b || x - (o && o.length && o[o.length - 1].t || 0) > 2 * c);
|
|
1468
1468
|
}(l._startTime, m)) {
|
|
1469
1469
|
u.disconnect(), h = 0, o = n(o);
|
|
1470
1470
|
for (var p = null, d = 1; d < o.length; d++)
|
|
@@ -1489,12 +1489,12 @@ function yo() {
|
|
|
1489
1489
|
var qs, Gs;
|
|
1490
1490
|
function Eo() {
|
|
1491
1491
|
return Gs || (Gs = 1, qs = function(s, c) {
|
|
1492
|
-
var e = tt(), t = null, i = e.getCurDomain(), r = function(h, m, f, l, p, d, g,
|
|
1492
|
+
var e = tt(), t = null, i = e.getCurDomain(), r = function(h, m, f, l, p, d, g, v, b, x, y, A, I) {
|
|
1493
1493
|
var w = e.J(p) || null, R = e.safetyCall(m, [w, l], null);
|
|
1494
1494
|
if (!R)
|
|
1495
1495
|
return !1;
|
|
1496
1496
|
var L = R.code || d, D = !("success" in R) || R.success;
|
|
1497
|
-
h.api(f, D, g, L, R.msg,
|
|
1497
|
+
h.api(f, D, g, L, R.msg, v, b, x, D ? {} : y, i, A, I);
|
|
1498
1498
|
}, n = "fetch", a = "__oFetch_", o = "__oXMLHttpRequest_", u = "XMLHttpRequest";
|
|
1499
1499
|
return e.ext(s.prototype, {
|
|
1500
1500
|
removeHook: function(h, m) {
|
|
@@ -1509,13 +1509,13 @@ function Eo() {
|
|
|
1509
1509
|
if (!d || !d.api || l && (l.method === "HEAD" || l.mode === "no-cors"))
|
|
1510
1510
|
return m.apply(c, p);
|
|
1511
1511
|
l || (l = {});
|
|
1512
|
-
var g = Date.now(),
|
|
1512
|
+
var g = Date.now(), v = d._conf, b = e.duration(), x = (f && typeof f != "string" ? f.url : f) || "", y = x;
|
|
1513
1513
|
x = e.cutUrlSearch(x);
|
|
1514
|
-
var A = (
|
|
1514
|
+
var A = (v.ignore || {}).ignoreApis, I = v.parseTraceId;
|
|
1515
1515
|
if (!e.checkAPI(x, !0) || e.ignoreByRule(x, A))
|
|
1516
1516
|
return m.apply(c, p);
|
|
1517
|
-
x = e.filterByRule(x, y,
|
|
1518
|
-
var w =
|
|
1517
|
+
x = e.filterByRule(x, y, v.ignoreApiPath ? v.ignoreApiPath : v.apiHelper);
|
|
1518
|
+
var w = v.enableLinkTrace, R = "", L = "", D = d.getConfig("pid"), N = null, C = d.getConfig("sample"), M = d.getConfig("linkType"), E = 1;
|
|
1519
1519
|
if (C && !d.sampling(C) && (E = 0), w) {
|
|
1520
1520
|
var U = "";
|
|
1521
1521
|
try {
|
|
@@ -1589,18 +1589,18 @@ function Eo() {
|
|
|
1589
1589
|
if (ce && !/(text)|(json)/.test(ce))
|
|
1590
1590
|
return K;
|
|
1591
1591
|
if (!R) {
|
|
1592
|
-
var
|
|
1593
|
-
typeof
|
|
1592
|
+
var be = e.parseFetchHeaders(pe);
|
|
1593
|
+
typeof be == "object" && be["eagleeye-traceid"] && (R = be["eagleeye-traceid"], N = "response");
|
|
1594
1594
|
}
|
|
1595
1595
|
}
|
|
1596
|
-
var
|
|
1596
|
+
var we = b();
|
|
1597
1597
|
return Q.text().then(function(Ae) {
|
|
1598
1598
|
if (!R && e.isFunction(I)) {
|
|
1599
1599
|
var Fe = I(Q, Ae);
|
|
1600
1600
|
Fe && e.isString(Fe) && (R = Fe);
|
|
1601
1601
|
}
|
|
1602
|
-
var
|
|
1603
|
-
Q.ok ? r(d,
|
|
1602
|
+
var Ce = e.getFetchSnapshot(p, Ae, pe);
|
|
1603
|
+
Q.ok ? r(d, v.parseResponse, x, y, Ae, Q.status || 200, we, g, R, L, Ce, N, E) : (d.api(x, !1, we, Q.status || 404, Q.statusText, g, R, L, Ce, i, N, E), v.enableResource && t.fixResourceStatus && t.fixResourceStatus({
|
|
1604
1604
|
src: Q.url,
|
|
1605
1605
|
res_type: "api"
|
|
1606
1606
|
}));
|
|
@@ -1611,8 +1611,8 @@ function Eo() {
|
|
|
1611
1611
|
}).catch(function(K) {
|
|
1612
1612
|
if (!d || !d.api)
|
|
1613
1613
|
throw K;
|
|
1614
|
-
var Q =
|
|
1615
|
-
throw d.api(x, !1, Q, K.name || "Error", K.message, g, R, L, {}, i),
|
|
1614
|
+
var Q = b();
|
|
1615
|
+
throw d.api(x, !1, Q, K.name || "Error", K.message, g, R, L, {}, i), v.enableResource && t.fixResourceStatus && t.fixResourceStatus({
|
|
1616
1616
|
src: y,
|
|
1617
1617
|
res_type: "api"
|
|
1618
1618
|
}), K;
|
|
@@ -1627,7 +1627,7 @@ function Eo() {
|
|
|
1627
1627
|
var d = new f(p), g = t;
|
|
1628
1628
|
if (!g || !g.api || !d.addEventListener)
|
|
1629
1629
|
return d;
|
|
1630
|
-
var
|
|
1630
|
+
var v, b, x, y, A = d.send, I = d.open, w = d.setRequestHeader, R = g._conf, L = (R.ignore || {}).ignoreApis, D = R.parseTraceId, N = g.getConfig("enableLinkTrace"), C = "", M = "", E = "", U = null, ie = g.getConfig("sample"), q = g.getConfig("linkType"), oe = 1;
|
|
1631
1631
|
return ie && !g.sampling(ie) && (oe = 0), d.open = function($, se) {
|
|
1632
1632
|
m = $;
|
|
1633
1633
|
var T = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
|
|
@@ -1657,12 +1657,12 @@ function Eo() {
|
|
|
1657
1657
|
}
|
|
1658
1658
|
}
|
|
1659
1659
|
}, d.send = function() {
|
|
1660
|
-
|
|
1660
|
+
v = Date.now(), b = e.duration();
|
|
1661
1661
|
var $ = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
|
|
1662
1662
|
A.apply(d, $);
|
|
1663
1663
|
}, e.on(d, "readystatechange", function() {
|
|
1664
1664
|
if (x && d.readyState === 4) {
|
|
1665
|
-
var $ =
|
|
1665
|
+
var $ = b(), se = e.getXhrSnapshot(y, m, d);
|
|
1666
1666
|
if (!C) {
|
|
1667
1667
|
var T = e.parseXhrHeaders(typeof d.getAllResponseHeaders == "function" && d.getAllResponseHeaders() || "");
|
|
1668
1668
|
typeof T == "object" && T["eagleeye-traceid"] && (C = T["eagleeye-traceid"], U = "response");
|
|
@@ -1678,9 +1678,9 @@ function Eo() {
|
|
|
1678
1678
|
if (F && !/(text)|(json)/.test(F))
|
|
1679
1679
|
return;
|
|
1680
1680
|
}
|
|
1681
|
-
d.responseType && d.responseType !== "text" ? g.api(x, !0, $, z, "",
|
|
1681
|
+
d.responseType && d.responseType !== "text" ? g.api(x, !0, $, z, "", v, C, M, {}, i, U, oe) : r(g, R.parseResponse, x, y, d.responseText, z, $, v, C, M, se, U, oe);
|
|
1682
1682
|
} else
|
|
1683
|
-
g.api(x, !1, $, d.status || "FAILED", d.statusText,
|
|
1683
|
+
g.api(x, !1, $, d.status || "FAILED", d.statusText, v, C, M, se, i, U, oe), R.enableResource && t.fixResourceStatus && t.fixResourceStatus({
|
|
1684
1684
|
src: d.responseURL || y,
|
|
1685
1685
|
res_type: "api"
|
|
1686
1686
|
});
|
|
@@ -1714,8 +1714,8 @@ function Ao() {
|
|
|
1714
1714
|
if (!m || typeof m != "string" || m === l)
|
|
1715
1715
|
return p;
|
|
1716
1716
|
try {
|
|
1717
|
-
var d = l.split("#"), g = m.split("#"),
|
|
1718
|
-
x !== y ? r("historystatechange", y) :
|
|
1717
|
+
var d = l.split("#"), g = m.split("#"), v = e.cutUrlSearch(d[0]), b = e.cutUrlSearch(g[0]), x = d[1] && d[1].replace(/^\/?(.*)/, "$1"), y = g[1] && g[1].replace(/^\/?(.*)/, "$1");
|
|
1718
|
+
x !== y ? r("historystatechange", y) : v !== b && r("historystatechange", b);
|
|
1719
1719
|
} catch (A) {
|
|
1720
1720
|
e.warn("[retcode] error in " + a + ": " + A);
|
|
1721
1721
|
}
|
|
@@ -1740,8 +1740,8 @@ function wo() {
|
|
|
1740
1740
|
if (o instanceof i.PerformanceResourceTiming && o.initiatorType) {
|
|
1741
1741
|
var m = s.getResType(o.initiatorType, o.name), f = u.resourceTypes || [], l = (u.ignore || {}).ignoreResources;
|
|
1742
1742
|
if (m && f.includes(m) && !s.ignoreByRule(o.name, l) && !s.ignoreByRule(s.decode(o.name), l)) {
|
|
1743
|
-
var p = o[e[0]], d = o[e[1]], g = o[e[2]],
|
|
1744
|
-
if (!h.has(o) && (!s.areInOrder(p, d, g,
|
|
1743
|
+
var p = o[e[0]], d = o[e[1]], g = o[e[2]], v = o[e[3]], b = o[e[4]], x = o[e[5]], y = o[e[6]], A = o[e[7]], I = o[e[8]], w = o[e[18]], R = o[e[19]];
|
|
1744
|
+
if (!h.has(o) && (!s.areInOrder(p, d, g, v, b, x, y, A, I) || p > A))
|
|
1745
1745
|
return;
|
|
1746
1746
|
if (w < p && (w = p), R < p && (R = d), s.areInOrder(p, w, R, d))
|
|
1747
1747
|
return {
|
|
@@ -1814,7 +1814,7 @@ function wo() {
|
|
|
1814
1814
|
if (m.length !== 0) {
|
|
1815
1815
|
var f = [];
|
|
1816
1816
|
s.each(m, function(g) {
|
|
1817
|
-
var
|
|
1817
|
+
var v = o[g], b = {
|
|
1818
1818
|
domain: "",
|
|
1819
1819
|
res_type: "",
|
|
1820
1820
|
src_type: "",
|
|
@@ -1827,17 +1827,17 @@ function wo() {
|
|
|
1827
1827
|
slow_duration: 0,
|
|
1828
1828
|
timings: []
|
|
1829
1829
|
};
|
|
1830
|
-
s.each(
|
|
1830
|
+
s.each(v, function(x) {
|
|
1831
1831
|
var y = x.timing || {}, A = h.get(x.timing), I = A ? A.success : 1, w = x.duration > u ? 1 : 0;
|
|
1832
|
-
|
|
1832
|
+
b.domain = x.domain, b.res_type = x.res_type, b.src_type = x.src_type, b.count += 1, b.duration += x.duration, b.size += x.size, I || (b.err_count += 1, b.err_duration += x.duration), w && (b.slow_count += 1, b.slow_duration += x.duration);
|
|
1833
1833
|
try {
|
|
1834
1834
|
var R = JSON.parse(JSON.stringify(y));
|
|
1835
|
-
R.success = I, R.resourceSlow = u, R.isSlow = w,
|
|
1835
|
+
R.success = I, R.resourceSlow = u, R.isSlow = w, b.timings.push(R);
|
|
1836
1836
|
} catch (L) {
|
|
1837
1837
|
}
|
|
1838
|
-
}),
|
|
1838
|
+
}), b.count && (b.size = Math.round(b.size / b.count), b.duration = Math.round(b.duration / b.count)), b.slow_count && (b.slow_duration = Math.round(b.slow_duration / b.slow_count)), b.err_count && (b.err_duration = Math.round(b.err_duration / b.err_count)), b.timings.length > 20 && (b.timings.sort(function(x, y) {
|
|
1839
1839
|
return y.duration - x.duration;
|
|
1840
|
-
}),
|
|
1840
|
+
}), b.timings.length = 20), b.timings = encodeURIComponent(JSON.stringify(b.timings)), f.push(b);
|
|
1841
1841
|
});
|
|
1842
1842
|
var l = {
|
|
1843
1843
|
_combo: 1,
|
|
@@ -1856,7 +1856,7 @@ function Co() {
|
|
|
1856
1856
|
if (Ys)
|
|
1857
1857
|
return qi.exports;
|
|
1858
1858
|
Ys = 1;
|
|
1859
|
-
var s = tt(), c = mo(), e = go(), t =
|
|
1859
|
+
var s = tt(), c = mo(), e = go(), t = bo(), i = s.win, r = i.document, n = /^(error|api|speed|sum|avg|percent|custom|msg|setPage|setConfig|behavior|performance)$/, a = function(o) {
|
|
1860
1860
|
var u = this;
|
|
1861
1861
|
return c.call(u, o), u._initialPage = o.page && s.safetyCall(o.page, [], o.page + "") || null, u._isRobot = s.isRobot(), u._health = {
|
|
1862
1862
|
errcount: 0,
|
|
@@ -1992,7 +1992,7 @@ function Co() {
|
|
|
1992
1992
|
var u = this.__proto__.constructor(o);
|
|
1993
1993
|
return o.page && u.sendPV(), u;
|
|
1994
1994
|
}
|
|
1995
|
-
}),
|
|
1995
|
+
}), vo()(a, i), _o()(a, i, r), yo()(a, i, r), Eo()(a, i), Ao()(a, i), wo()(a, i), a._super = c, a._root = c._root, c.Browser = a, qi.exports = a, qi.exports;
|
|
1996
1996
|
}
|
|
1997
1997
|
var Qs;
|
|
1998
1998
|
function Io() {
|
|
@@ -2067,7 +2067,7 @@ function To(s, c, e) {
|
|
|
2067
2067
|
} catch (m) {
|
|
2068
2068
|
throw e(m), m;
|
|
2069
2069
|
}
|
|
2070
|
-
return
|
|
2070
|
+
return vt(h, c + 1, e);
|
|
2071
2071
|
}
|
|
2072
2072
|
let o = () => {
|
|
2073
2073
|
};
|
|
@@ -2080,13 +2080,13 @@ function To(s, c, e) {
|
|
|
2080
2080
|
} catch (f) {
|
|
2081
2081
|
throw e(f), f;
|
|
2082
2082
|
}
|
|
2083
|
-
return
|
|
2083
|
+
return vt(m, c + 1, e);
|
|
2084
2084
|
}
|
|
2085
2085
|
};
|
|
2086
|
-
return typeof n[a] == "function" ? u.MediaboxWrapperObjectMethod : c > 10 ? n[a] :
|
|
2086
|
+
return typeof n[a] == "function" ? u.MediaboxWrapperObjectMethod : c > 10 ? n[a] : vt(n[a], c + 1, e);
|
|
2087
2087
|
},
|
|
2088
2088
|
MediaboxWrapperObjectSetter(n, a, o) {
|
|
2089
|
-
return n[a] =
|
|
2089
|
+
return n[a] = vt(o, c + 1, e), !0;
|
|
2090
2090
|
}
|
|
2091
2091
|
};
|
|
2092
2092
|
return new Proxy(s, {
|
|
@@ -2103,11 +2103,11 @@ function Bo(s, c, e) {
|
|
|
2103
2103
|
} catch (o) {
|
|
2104
2104
|
throw e(o), o;
|
|
2105
2105
|
}
|
|
2106
|
-
return
|
|
2106
|
+
return vt(a, c + 1, e);
|
|
2107
2107
|
},
|
|
2108
2108
|
MediaboxWrapperFunctionGet(i, r) {
|
|
2109
2109
|
const n = Object.getOwnPropertyDescriptor(i, r);
|
|
2110
|
-
return n && !n.writable && !n.configurable ? i[r] :
|
|
2110
|
+
return n && !n.writable && !n.configurable ? i[r] : vt(i[r], c + 1, e);
|
|
2111
2111
|
},
|
|
2112
2112
|
MediaboxWrapperClassConstructor(i, r) {
|
|
2113
2113
|
let n;
|
|
@@ -2116,7 +2116,7 @@ function Bo(s, c, e) {
|
|
|
2116
2116
|
} catch (a) {
|
|
2117
2117
|
throw e(a), a;
|
|
2118
2118
|
}
|
|
2119
|
-
return
|
|
2119
|
+
return vt(n, c + 1, e);
|
|
2120
2120
|
}
|
|
2121
2121
|
};
|
|
2122
2122
|
return new Proxy(s, {
|
|
@@ -2148,8 +2148,8 @@ function cs(s) {
|
|
|
2148
2148
|
`);
|
|
2149
2149
|
return e < 0 ? c === s.length - Vt.length : c === e - Vt.length;
|
|
2150
2150
|
}
|
|
2151
|
-
function
|
|
2152
|
-
return typeof s == "function" ? Bo(s, c + 1, e) : s instanceof Promise ? s.then((t) =>
|
|
2151
|
+
function vt(s, c, e) {
|
|
2152
|
+
return typeof s == "function" ? Bo(s, c + 1, e) : s instanceof Promise ? s.then((t) => vt(t, c + 1, e)).catch((t) => (e(t), Promise.reject(t))) : Array.isArray(s) ? s.map((t) => vt(t, c + 1, e)) : _a(s) && ya(s) ? To(s, c + 1, e) : s;
|
|
2153
2153
|
}
|
|
2154
2154
|
function Mo(s) {
|
|
2155
2155
|
return typeof s != "string" ? !1 : s.indexOf("g.alicdn.com/apsara-media-") > -1 || s.indexOf("g.alicdn.com/thor-server") > -1;
|
|
@@ -2211,7 +2211,7 @@ class us {
|
|
|
2211
2211
|
return "0.19.0";
|
|
2212
2212
|
}
|
|
2213
2213
|
wrap(c) {
|
|
2214
|
-
return this.options.disabled || typeof Proxy > "u" ? c :
|
|
2214
|
+
return this.options.disabled || typeof Proxy > "u" ? c : vt(c, 0, (e) => {
|
|
2215
2215
|
e instanceof Error && typeof e.stack == "string" && on(e.stack) && (e.stack = Lo(e.stack), this.armsLogger.error(e), e.stack = Po(e.stack));
|
|
2216
2216
|
});
|
|
2217
2217
|
}
|
|
@@ -2238,11 +2238,11 @@ class us {
|
|
|
2238
2238
|
this.isDestroyed = !0;
|
|
2239
2239
|
}
|
|
2240
2240
|
}
|
|
2241
|
-
var
|
|
2241
|
+
var Ie = /* @__PURE__ */ ((s) => (s.PullStreamStats = "remoteStat", s.RtsSubscribeExceeds = "rtsSubscribeExceeds", s.UserJoined = "userJoined", s.UserLeft = "userLeft", s.Bye = "bye", s.MuteAudio = "muteAudio", s.UnmuteAudio = "unmuteAudio", s.MuteVideo = "muteVideo", s.UnmuteVideo = "unmuteVideo", s.MuteScreen = "muteScreen", s.UnmuteScreen = "unmuteScreen", s.Error = "error", s))(Ie || {}), et = /* @__PURE__ */ ((s) => (s.Local = "local-device-status-change", s.Remote = "remote-device-status-change", s))(et || {}), G = /* @__PURE__ */ ((s) => (s.Audio = "sophon_audio", s.VideoLarge = "sophon_video_camera_large", s.VideoSmall = "sophon_video_camera_small", s.Screen = "sophon_video_screen_share", s.Data = "sophon_data", s))(G || {}), hs = /* @__PURE__ */ ((s) => (s.Audio = "rts audio", s.VideoLarge = "rts video", s))(hs || {}), Nt = /* @__PURE__ */ ((s) => (s.Add = "add", s.Delete = "delete", s.Replace = "replace", s.Stop = "stop", s.UnPublish = "unpublish", s))(Nt || {}), ii = /* @__PURE__ */ ((s) => (s[s.Camera = 0] = "Camera", s[s.Screen = 1] = "Screen", s[s.Image = 2] = "Image", s))(ii || {}), Ii = /* @__PURE__ */ ((s) => (s[s.Microphone = 0] = "Microphone", s[s.Screen = 1] = "Screen", s[s.Mixed = 2] = "Mixed", s))(Ii || {}), Te = /* @__PURE__ */ ((s) => (s.InRoom = "inRoom", s.Join = "join", s.Publish = "publish", s.User = "user", s.Resume = "resume", s.Retry = "retry", s.Reconnect = "reconnect", s))(Te || {}), kt = /* @__PURE__ */ ((s) => (s[s.MANUAL = 0] = "MANUAL", s[s.JOIN_CHANNEL = 1] = "JOIN_CHANNEL", s[s.ROLE_CHANGE = 2] = "ROLE_CHANGE", s))(kt || {}), qe = [];
|
|
2242
2242
|
for (var ar = 0; ar < 256; ++ar)
|
|
2243
|
-
|
|
2243
|
+
qe.push((ar + 256).toString(16).slice(1));
|
|
2244
2244
|
function No(s, c = 0) {
|
|
2245
|
-
return (
|
|
2245
|
+
return (qe[s[c + 0]] + qe[s[c + 1]] + qe[s[c + 2]] + qe[s[c + 3]] + "-" + qe[s[c + 4]] + qe[s[c + 5]] + "-" + qe[s[c + 6]] + qe[s[c + 7]] + "-" + qe[s[c + 8]] + qe[s[c + 9]] + "-" + qe[s[c + 10]] + qe[s[c + 11]] + qe[s[c + 12]] + qe[s[c + 13]] + qe[s[c + 14]] + qe[s[c + 15]]).toLowerCase();
|
|
2246
2246
|
}
|
|
2247
2247
|
var Ai, Fo = new Uint8Array(16);
|
|
2248
2248
|
function Oo() {
|
|
@@ -2268,7 +2268,7 @@ function jt(s, c, e) {
|
|
|
2268
2268
|
return No(t);
|
|
2269
2269
|
}
|
|
2270
2270
|
var Ri = /* @__PURE__ */ ((s) => (s.prod = "rs.rtn.aliyuncs.com", s.pre = "prs.rtn.aliyuncs.com", s))(Ri || {});
|
|
2271
|
-
const ds = "6.13.2-beta.
|
|
2271
|
+
const ds = "6.13.2-beta.2", hn = "web";
|
|
2272
2272
|
class ft {
|
|
2273
2273
|
/**
|
|
2274
2274
|
* 将版本号转换为number
|
|
@@ -2343,7 +2343,7 @@ class ft {
|
|
|
2343
2343
|
});
|
|
2344
2344
|
}
|
|
2345
2345
|
}
|
|
2346
|
-
var
|
|
2346
|
+
var ve = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
2347
2347
|
function Ea(s) {
|
|
2348
2348
|
return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
|
|
2349
2349
|
}
|
|
@@ -2413,19 +2413,19 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2413
2413
|
}({ 1: [function(e, t, i) {
|
|
2414
2414
|
var r = e("./utils"), n = e("./support"), a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
2415
2415
|
i.encode = function(o) {
|
|
2416
|
-
for (var u, h, m, f, l, p, d, g = [],
|
|
2417
|
-
x =
|
|
2416
|
+
for (var u, h, m, f, l, p, d, g = [], v = 0, b = o.length, x = b, y = r.getTypeOf(o) !== "string"; v < o.length; )
|
|
2417
|
+
x = b - v, m = y ? (u = o[v++], h = v < b ? o[v++] : 0, v < b ? o[v++] : 0) : (u = o.charCodeAt(v++), h = v < b ? o.charCodeAt(v++) : 0, v < b ? o.charCodeAt(v++) : 0), f = u >> 2, l = (3 & u) << 4 | h >> 4, p = 1 < x ? (15 & h) << 2 | m >> 6 : 64, d = 2 < x ? 63 & m : 64, g.push(a.charAt(f) + a.charAt(l) + a.charAt(p) + a.charAt(d));
|
|
2418
2418
|
return g.join("");
|
|
2419
2419
|
}, i.decode = function(o) {
|
|
2420
|
-
var u, h, m, f, l, p, d = 0, g = 0,
|
|
2421
|
-
if (o.substr(0,
|
|
2420
|
+
var u, h, m, f, l, p, d = 0, g = 0, v = "data:";
|
|
2421
|
+
if (o.substr(0, v.length) === v)
|
|
2422
2422
|
throw new Error("Invalid base64 input, it looks like a data url.");
|
|
2423
|
-
var
|
|
2423
|
+
var b, x = 3 * (o = o.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
|
|
2424
2424
|
if (o.charAt(o.length - 1) === a.charAt(64) && x--, o.charAt(o.length - 2) === a.charAt(64) && x--, x % 1 != 0)
|
|
2425
2425
|
throw new Error("Invalid base64 input, bad content length.");
|
|
2426
|
-
for (
|
|
2427
|
-
u = a.indexOf(o.charAt(d++)) << 2 | (f = a.indexOf(o.charAt(d++))) >> 4, h = (15 & f) << 4 | (l = a.indexOf(o.charAt(d++))) >> 2, m = (3 & l) << 6 | (p = a.indexOf(o.charAt(d++))),
|
|
2428
|
-
return
|
|
2426
|
+
for (b = n.uint8array ? new Uint8Array(0 | x) : new Array(0 | x); d < o.length; )
|
|
2427
|
+
u = a.indexOf(o.charAt(d++)) << 2 | (f = a.indexOf(o.charAt(d++))) >> 4, h = (15 & f) << 4 | (l = a.indexOf(o.charAt(d++))) >> 2, m = (3 & l) << 6 | (p = a.indexOf(o.charAt(d++))), b[g++] = u, l !== 64 && (b[g++] = h), p !== 64 && (b[g++] = m);
|
|
2428
|
+
return b;
|
|
2429
2429
|
};
|
|
2430
2430
|
}, { "./support": 30, "./utils": 32 }], 2: [function(e, t, i) {
|
|
2431
2431
|
var r = e("./external"), n = e("./stream/DataWorker"), a = e("./stream/Crc32Probe"), o = e("./stream/DataLengthProbe");
|
|
@@ -2509,13 +2509,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2509
2509
|
g += String.fromCharCode(255 & l), l >>>= 8;
|
|
2510
2510
|
return g;
|
|
2511
2511
|
}
|
|
2512
|
-
function n(l, p, d, g,
|
|
2513
|
-
var x, y, A = l.file, I = l.compression, w =
|
|
2512
|
+
function n(l, p, d, g, v, b) {
|
|
2513
|
+
var x, y, A = l.file, I = l.compression, w = b !== u.utf8encode, R = a.transformTo("string", b(A.name)), L = a.transformTo("string", u.utf8encode(A.name)), D = A.comment, N = a.transformTo("string", b(D)), C = a.transformTo("string", u.utf8encode(D)), M = L.length !== A.name.length, E = C.length !== D.length, U = "", ie = "", q = "", oe = A.dir, $ = A.date, se = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
|
|
2514
2514
|
p && !d || (se.crc32 = l.crc32, se.compressedSize = l.compressedSize, se.uncompressedSize = l.uncompressedSize);
|
|
2515
2515
|
var T = 0;
|
|
2516
2516
|
p && (T |= 8), w || !M && !E || (T |= 2048);
|
|
2517
2517
|
var B = 0, z = 0;
|
|
2518
|
-
oe && (B |= 16),
|
|
2518
|
+
oe && (B |= 16), v === "UNIX" ? (z = 798, B |= function(K, Q) {
|
|
2519
2519
|
var pe = K;
|
|
2520
2520
|
return K || (pe = Q ? 16893 : 33204), (65535 & pe) << 16;
|
|
2521
2521
|
}(A.unixPermissions, oe)) : (z = 20, B |= function(K) {
|
|
@@ -2554,9 +2554,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2554
2554
|
}, f.prototype.flush = function() {
|
|
2555
2555
|
for (var l = this.bytesWritten, p = 0; p < this.dirRecords.length; p++)
|
|
2556
2556
|
this.push({ data: this.dirRecords[p], meta: { percent: 100 } });
|
|
2557
|
-
var d = this.bytesWritten - l, g = function(
|
|
2557
|
+
var d = this.bytesWritten - l, g = function(v, b, x, y, A) {
|
|
2558
2558
|
var I = a.transformTo("string", A(y));
|
|
2559
|
-
return m.CENTRAL_DIRECTORY_END + "\0\0\0\0" + r(
|
|
2559
|
+
return m.CENTRAL_DIRECTORY_END + "\0\0\0\0" + r(v, 2) + r(v, 2) + r(b, 4) + r(x, 4) + r(I.length, 2) + I;
|
|
2560
2560
|
}(this.dirRecords.length, d, l, this.zipComment, this.encodeFileName);
|
|
2561
2561
|
this.push({ data: g, meta: { percent: 100 } });
|
|
2562
2562
|
}, f.prototype.prepareNextSource = function() {
|
|
@@ -2595,13 +2595,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2595
2595
|
try {
|
|
2596
2596
|
a.forEach(function(f, l) {
|
|
2597
2597
|
m++;
|
|
2598
|
-
var p = function(
|
|
2599
|
-
var y =
|
|
2598
|
+
var p = function(b, x) {
|
|
2599
|
+
var y = b || x, A = r[y];
|
|
2600
2600
|
if (!A)
|
|
2601
2601
|
throw new Error(y + " is not a valid compression method !");
|
|
2602
2602
|
return A;
|
|
2603
|
-
}(l.options.compression, o.compression), d = l.options.compressionOptions || o.compressionOptions || {}, g = l.dir,
|
|
2604
|
-
l._compressWorker(p, d).withStreamInfo("file", { name: f, dir: g, date:
|
|
2603
|
+
}(l.options.compression, o.compression), d = l.options.compressionOptions || o.compressionOptions || {}, g = l.dir, v = l.date;
|
|
2604
|
+
l._compressWorker(p, d).withStreamInfo("file", { name: f, dir: g, date: v, comment: l.comment || "", unixPermissions: l.unixPermissions, dosPermissions: l.dosPermissions }).pipe(h);
|
|
2605
2605
|
}), h.entriesCount = m;
|
|
2606
2606
|
} catch (f) {
|
|
2607
2607
|
h.error(f);
|
|
@@ -2642,14 +2642,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2642
2642
|
var g = new o(l);
|
|
2643
2643
|
return g.load(d), g;
|
|
2644
2644
|
}).then(function(d) {
|
|
2645
|
-
var g = [n.Promise.resolve(d)],
|
|
2645
|
+
var g = [n.Promise.resolve(d)], v = d.files;
|
|
2646
2646
|
if (l.checkCRC32)
|
|
2647
|
-
for (var
|
|
2648
|
-
g.push(m(b
|
|
2647
|
+
for (var b = 0; b < v.length; b++)
|
|
2648
|
+
g.push(m(v[b]));
|
|
2649
2649
|
return n.Promise.all(g);
|
|
2650
2650
|
}).then(function(d) {
|
|
2651
|
-
for (var g = d.shift(),
|
|
2652
|
-
var x = b
|
|
2651
|
+
for (var g = d.shift(), v = g.files, b = 0; b < v.length; b++) {
|
|
2652
|
+
var x = v[b], y = x.fileNameStr, A = r.resolve(x.fileNameStr);
|
|
2653
2653
|
p.file(A, x.decompressed, { binary: !0, optimizedBinaryString: !0, date: x.date, dir: x.dir, comment: x.fileCommentStr.length ? x.fileCommentStr : null, unixPermissions: x.unixPermissions, dosPermissions: x.dosPermissions, createFolders: l.createFolders }), x.dir || (p.file(A).unsafeOriginalName = y);
|
|
2654
2654
|
}
|
|
2655
2655
|
return g.zipComment.length && (p.comment = g.zipComment), p;
|
|
@@ -2710,7 +2710,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2710
2710
|
}, {}], 15: [function(e, t, i) {
|
|
2711
2711
|
function r(A, I, w) {
|
|
2712
2712
|
var R, L = a.getTypeOf(I), D = a.extend(w || {}, h);
|
|
2713
|
-
D.date = D.date || /* @__PURE__ */ new Date(), D.compression !== null && (D.compression = D.compression.toUpperCase()), typeof D.unixPermissions == "string" && (D.unixPermissions = parseInt(D.unixPermissions, 8)), D.unixPermissions && 16384 & D.unixPermissions && (D.dir = !0), D.dosPermissions && 16 & D.dosPermissions && (D.dir = !0), D.dir && (A =
|
|
2713
|
+
D.date = D.date || /* @__PURE__ */ new Date(), D.compression !== null && (D.compression = D.compression.toUpperCase()), typeof D.unixPermissions == "string" && (D.unixPermissions = parseInt(D.unixPermissions, 8)), D.unixPermissions && 16384 & D.unixPermissions && (D.dir = !0), D.dosPermissions && 16 & D.dosPermissions && (D.dir = !0), D.dir && (A = v(A)), D.createFolders && (R = g(A)) && b.call(this, R, !0);
|
|
2714
2714
|
var N = L === "string" && D.binary === !1 && D.base64 === !1;
|
|
2715
2715
|
w && w.binary !== void 0 || (D.binary = !N), (I instanceof m && I.uncompressedSize === 0 || D.dir || !I || I.length === 0) && (D.base64 = !1, D.binary = !0, I = "", D.compression = "STORE", L = "string");
|
|
2716
2716
|
var C = null;
|
|
@@ -2722,10 +2722,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2722
2722
|
A.slice(-1) === "/" && (A = A.substring(0, A.length - 1));
|
|
2723
2723
|
var I = A.lastIndexOf("/");
|
|
2724
2724
|
return 0 < I ? A.substring(0, I) : "";
|
|
2725
|
-
},
|
|
2725
|
+
}, v = function(A) {
|
|
2726
2726
|
return A.slice(-1) !== "/" && (A += "/"), A;
|
|
2727
|
-
},
|
|
2728
|
-
return I = I !== void 0 ? I : h.createFolders, A =
|
|
2727
|
+
}, b = function(A, I) {
|
|
2728
|
+
return I = I !== void 0 ? I : h.createFolders, A = v(A), this.files[A] || r.call(this, A, null, { dir: !0, createFolders: I }), this.files[A];
|
|
2729
2729
|
};
|
|
2730
2730
|
function x(A) {
|
|
2731
2731
|
return Object.prototype.toString.call(A) === "[object RegExp]";
|
|
@@ -2759,7 +2759,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
2759
2759
|
return this.filter(function(L, D) {
|
|
2760
2760
|
return D.dir && A.test(L);
|
|
2761
2761
|
});
|
|
2762
|
-
var I = this.root + A, w =
|
|
2762
|
+
var I = this.root + A, w = b.call(this, I), R = this.clone();
|
|
2763
2763
|
return R.root = w.name, R;
|
|
2764
2764
|
}, remove: function(A) {
|
|
2765
2765
|
A = this.root + A;
|
|
@@ -3026,12 +3026,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3026
3026
|
} catch (p) {
|
|
3027
3027
|
}
|
|
3028
3028
|
function f(p, d) {
|
|
3029
|
-
return new h.Promise(function(g,
|
|
3030
|
-
var
|
|
3029
|
+
return new h.Promise(function(g, v) {
|
|
3030
|
+
var b = [], x = p._internalType, y = p._outputType, A = p._mimeType;
|
|
3031
3031
|
p.on("data", function(I, w) {
|
|
3032
|
-
|
|
3032
|
+
b.push(I), d && d(w);
|
|
3033
3033
|
}).on("error", function(I) {
|
|
3034
|
-
|
|
3034
|
+
b = [], v(I);
|
|
3035
3035
|
}).on("end", function() {
|
|
3036
3036
|
try {
|
|
3037
3037
|
var I = function(w, R, L) {
|
|
@@ -3061,37 +3061,37 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3061
3061
|
default:
|
|
3062
3062
|
throw new Error("concat : unsupported type '" + w + "'");
|
|
3063
3063
|
}
|
|
3064
|
-
}(x,
|
|
3064
|
+
}(x, b), A);
|
|
3065
3065
|
g(I);
|
|
3066
3066
|
} catch (w) {
|
|
3067
|
-
|
|
3067
|
+
v(w);
|
|
3068
3068
|
}
|
|
3069
|
-
|
|
3069
|
+
b = [];
|
|
3070
3070
|
}).resume();
|
|
3071
3071
|
});
|
|
3072
3072
|
}
|
|
3073
3073
|
function l(p, d, g) {
|
|
3074
|
-
var
|
|
3074
|
+
var v = d;
|
|
3075
3075
|
switch (d) {
|
|
3076
3076
|
case "blob":
|
|
3077
3077
|
case "arraybuffer":
|
|
3078
|
-
|
|
3078
|
+
v = "uint8array";
|
|
3079
3079
|
break;
|
|
3080
3080
|
case "base64":
|
|
3081
|
-
|
|
3081
|
+
v = "string";
|
|
3082
3082
|
}
|
|
3083
3083
|
try {
|
|
3084
|
-
this._internalType =
|
|
3085
|
-
} catch (
|
|
3086
|
-
this._worker = new a("error"), this._worker.error(
|
|
3084
|
+
this._internalType = v, this._outputType = d, this._mimeType = g, r.checkSupport(v), this._worker = p.pipe(new n(v)), p.lock();
|
|
3085
|
+
} catch (b) {
|
|
3086
|
+
this._worker = new a("error"), this._worker.error(b);
|
|
3087
3087
|
}
|
|
3088
3088
|
}
|
|
3089
3089
|
l.prototype = { accumulate: function(p) {
|
|
3090
3090
|
return f(this, p);
|
|
3091
3091
|
}, on: function(p, d) {
|
|
3092
3092
|
var g = this;
|
|
3093
|
-
return p === "data" ? this._worker.on(p, function(
|
|
3094
|
-
d.call(g,
|
|
3093
|
+
return p === "data" ? this._worker.on(p, function(v) {
|
|
3094
|
+
d.call(g, v.data, v.meta);
|
|
3095
3095
|
}) : this._worker.on(p, function() {
|
|
3096
3096
|
r.delay(d, arguments, g);
|
|
3097
3097
|
}), this;
|
|
@@ -3137,25 +3137,25 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3137
3137
|
}
|
|
3138
3138
|
i.utf8encode = function(l) {
|
|
3139
3139
|
return n.nodebuffer ? a.newBufferFrom(l, "utf-8") : function(p) {
|
|
3140
|
-
var d, g,
|
|
3141
|
-
for (
|
|
3142
|
-
(64512 & (g = p.charCodeAt(
|
|
3143
|
-
for (d = n.uint8array ? new Uint8Array(A) : new Array(A),
|
|
3144
|
-
(64512 & (g = p.charCodeAt(
|
|
3140
|
+
var d, g, v, b, x, y = p.length, A = 0;
|
|
3141
|
+
for (b = 0; b < y; b++)
|
|
3142
|
+
(64512 & (g = p.charCodeAt(b))) == 55296 && b + 1 < y && (64512 & (v = p.charCodeAt(b + 1))) == 56320 && (g = 65536 + (g - 55296 << 10) + (v - 56320), b++), A += g < 128 ? 1 : g < 2048 ? 2 : g < 65536 ? 3 : 4;
|
|
3143
|
+
for (d = n.uint8array ? new Uint8Array(A) : new Array(A), b = x = 0; x < A; b++)
|
|
3144
|
+
(64512 & (g = p.charCodeAt(b))) == 55296 && b + 1 < y && (64512 & (v = p.charCodeAt(b + 1))) == 56320 && (g = 65536 + (g - 55296 << 10) + (v - 56320), b++), g < 128 ? d[x++] = g : (g < 2048 ? d[x++] = 192 | g >>> 6 : (g < 65536 ? d[x++] = 224 | g >>> 12 : (d[x++] = 240 | g >>> 18, d[x++] = 128 | g >>> 12 & 63), d[x++] = 128 | g >>> 6 & 63), d[x++] = 128 | 63 & g);
|
|
3145
3145
|
return d;
|
|
3146
3146
|
}(l);
|
|
3147
3147
|
}, i.utf8decode = function(l) {
|
|
3148
3148
|
return n.nodebuffer ? r.transformTo("nodebuffer", l).toString("utf-8") : function(p) {
|
|
3149
|
-
var d, g,
|
|
3149
|
+
var d, g, v, b, x = p.length, y = new Array(2 * x);
|
|
3150
3150
|
for (d = g = 0; d < x; )
|
|
3151
|
-
if ((
|
|
3152
|
-
y[g++] =
|
|
3153
|
-
else if (4 < (
|
|
3154
|
-
y[g++] = 65533, d +=
|
|
3151
|
+
if ((v = p[d++]) < 128)
|
|
3152
|
+
y[g++] = v;
|
|
3153
|
+
else if (4 < (b = u[v]))
|
|
3154
|
+
y[g++] = 65533, d += b - 1;
|
|
3155
3155
|
else {
|
|
3156
|
-
for (
|
|
3157
|
-
|
|
3158
|
-
1 <
|
|
3156
|
+
for (v &= b === 2 ? 31 : b === 3 ? 15 : 7; 1 < b && d < x; )
|
|
3157
|
+
v = v << 6 | 63 & p[d++], b--;
|
|
3158
|
+
1 < b ? y[g++] = 65533 : v < 65536 ? y[g++] = v : (v -= 65536, y[g++] = 55296 | v >> 10 & 1023, y[g++] = 56320 | 1023 & v);
|
|
3159
3159
|
}
|
|
3160
3160
|
return y.length !== g && (y.subarray ? y = y.subarray(0, g) : y.length = g), r.applyFromCharCode(y);
|
|
3161
3161
|
}(l = r.transformTo(n.uint8array ? "uint8array" : "array", l));
|
|
@@ -3169,13 +3169,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3169
3169
|
p = this.leftOver.concat(p);
|
|
3170
3170
|
this.leftOver = null;
|
|
3171
3171
|
}
|
|
3172
|
-
var g = function(
|
|
3172
|
+
var g = function(b, x) {
|
|
3173
3173
|
var y;
|
|
3174
|
-
for ((x = x ||
|
|
3174
|
+
for ((x = x || b.length) > b.length && (x = b.length), y = x - 1; 0 <= y && (192 & b[y]) == 128; )
|
|
3175
3175
|
y--;
|
|
3176
|
-
return y < 0 || y === 0 ? x : y + u[
|
|
3177
|
-
}(p),
|
|
3178
|
-
g !== p.length && (n.uint8array ? (
|
|
3176
|
+
return y < 0 || y === 0 ? x : y + u[b[y]] > x ? y : x;
|
|
3177
|
+
}(p), v = p;
|
|
3178
|
+
g !== p.length && (n.uint8array ? (v = p.subarray(0, g), this.leftOver = p.subarray(g, p.length)) : (v = p.slice(0, g), this.leftOver = p.slice(g, p.length))), this.push({ data: i.utf8decode(v), meta: l.meta });
|
|
3179
3179
|
}, m.prototype.flush = function() {
|
|
3180
3180
|
this.leftOver && this.leftOver.length && (this.push({ data: i.utf8decode(this.leftOver), meta: {} }), this.leftOver = null);
|
|
3181
3181
|
}, i.Utf8DecodeWorker = m, r.inherits(f, o), f.prototype.processChunk = function(l) {
|
|
@@ -3187,33 +3187,33 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3187
3187
|
return d;
|
|
3188
3188
|
}
|
|
3189
3189
|
function h(d, g) {
|
|
3190
|
-
for (var
|
|
3191
|
-
g[
|
|
3190
|
+
for (var v = 0; v < d.length; ++v)
|
|
3191
|
+
g[v] = 255 & d.charCodeAt(v);
|
|
3192
3192
|
return g;
|
|
3193
3193
|
}
|
|
3194
3194
|
e("setimmediate"), i.newBlob = function(d, g) {
|
|
3195
3195
|
i.checkSupport("blob");
|
|
3196
3196
|
try {
|
|
3197
3197
|
return new Blob([d], { type: g });
|
|
3198
|
-
} catch (
|
|
3198
|
+
} catch (b) {
|
|
3199
3199
|
try {
|
|
3200
|
-
var
|
|
3201
|
-
return
|
|
3200
|
+
var v = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)();
|
|
3201
|
+
return v.append(d), v.getBlob(g);
|
|
3202
3202
|
} catch (x) {
|
|
3203
3203
|
throw new Error("Bug : can't construct the Blob.");
|
|
3204
3204
|
}
|
|
3205
3205
|
}
|
|
3206
3206
|
};
|
|
3207
|
-
var m = { stringifyByChunk: function(d, g,
|
|
3208
|
-
var
|
|
3209
|
-
if (y <=
|
|
3207
|
+
var m = { stringifyByChunk: function(d, g, v) {
|
|
3208
|
+
var b = [], x = 0, y = d.length;
|
|
3209
|
+
if (y <= v)
|
|
3210
3210
|
return String.fromCharCode.apply(null, d);
|
|
3211
3211
|
for (; x < y; )
|
|
3212
|
-
g === "array" || g === "nodebuffer" ?
|
|
3213
|
-
return
|
|
3212
|
+
g === "array" || g === "nodebuffer" ? b.push(String.fromCharCode.apply(null, d.slice(x, Math.min(x + v, y)))) : b.push(String.fromCharCode.apply(null, d.subarray(x, Math.min(x + v, y)))), x += v;
|
|
3213
|
+
return b.join("");
|
|
3214
3214
|
}, stringifyByChar: function(d) {
|
|
3215
|
-
for (var g = "",
|
|
3216
|
-
g += String.fromCharCode(d[
|
|
3215
|
+
for (var g = "", v = 0; v < d.length; v++)
|
|
3216
|
+
g += String.fromCharCode(d[v]);
|
|
3217
3217
|
return g;
|
|
3218
3218
|
}, applyCanBeUsed: { uint8array: function() {
|
|
3219
3219
|
try {
|
|
@@ -3229,19 +3229,19 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3229
3229
|
}
|
|
3230
3230
|
}() } };
|
|
3231
3231
|
function f(d) {
|
|
3232
|
-
var g = 65536,
|
|
3233
|
-
if (
|
|
3232
|
+
var g = 65536, v = i.getTypeOf(d), b = !0;
|
|
3233
|
+
if (v === "uint8array" ? b = m.applyCanBeUsed.uint8array : v === "nodebuffer" && (b = m.applyCanBeUsed.nodebuffer), b)
|
|
3234
3234
|
for (; 1 < g; )
|
|
3235
3235
|
try {
|
|
3236
|
-
return m.stringifyByChunk(d,
|
|
3236
|
+
return m.stringifyByChunk(d, v, g);
|
|
3237
3237
|
} catch (x) {
|
|
3238
3238
|
g = Math.floor(g / 2);
|
|
3239
3239
|
}
|
|
3240
3240
|
return m.stringifyByChar(d);
|
|
3241
3241
|
}
|
|
3242
3242
|
function l(d, g) {
|
|
3243
|
-
for (var
|
|
3244
|
-
g[
|
|
3243
|
+
for (var v = 0; v < d.length; v++)
|
|
3244
|
+
g[v] = d[v];
|
|
3245
3245
|
return g;
|
|
3246
3246
|
}
|
|
3247
3247
|
i.applyFromCharCode = f;
|
|
@@ -3284,39 +3284,39 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3284
3284
|
if (g = g || "", !d)
|
|
3285
3285
|
return g;
|
|
3286
3286
|
i.checkSupport(d);
|
|
3287
|
-
var
|
|
3288
|
-
return p[
|
|
3287
|
+
var v = i.getTypeOf(g);
|
|
3288
|
+
return p[v][d](g);
|
|
3289
3289
|
}, i.resolve = function(d) {
|
|
3290
|
-
for (var g = d.split("/"),
|
|
3291
|
-
var x = g[
|
|
3292
|
-
x === "." || x === "" &&
|
|
3290
|
+
for (var g = d.split("/"), v = [], b = 0; b < g.length; b++) {
|
|
3291
|
+
var x = g[b];
|
|
3292
|
+
x === "." || x === "" && b !== 0 && b !== g.length - 1 || (x === ".." ? v.pop() : v.push(x));
|
|
3293
3293
|
}
|
|
3294
|
-
return
|
|
3294
|
+
return v.join("/");
|
|
3295
3295
|
}, i.getTypeOf = function(d) {
|
|
3296
3296
|
return typeof d == "string" ? "string" : Object.prototype.toString.call(d) === "[object Array]" ? "array" : r.nodebuffer && a.isBuffer(d) ? "nodebuffer" : r.uint8array && d instanceof Uint8Array ? "uint8array" : r.arraybuffer && d instanceof ArrayBuffer ? "arraybuffer" : void 0;
|
|
3297
3297
|
}, i.checkSupport = function(d) {
|
|
3298
3298
|
if (!r[d.toLowerCase()])
|
|
3299
3299
|
throw new Error(d + " is not supported by this platform");
|
|
3300
3300
|
}, i.MAX_VALUE_16BITS = 65535, i.MAX_VALUE_32BITS = -1, i.pretty = function(d) {
|
|
3301
|
-
var g,
|
|
3302
|
-
for (
|
|
3303
|
-
|
|
3304
|
-
return
|
|
3305
|
-
}, i.delay = function(d, g,
|
|
3301
|
+
var g, v, b = "";
|
|
3302
|
+
for (v = 0; v < (d || "").length; v++)
|
|
3303
|
+
b += "\\x" + ((g = d.charCodeAt(v)) < 16 ? "0" : "") + g.toString(16).toUpperCase();
|
|
3304
|
+
return b;
|
|
3305
|
+
}, i.delay = function(d, g, v) {
|
|
3306
3306
|
setImmediate(function() {
|
|
3307
|
-
d.apply(
|
|
3307
|
+
d.apply(v || null, g || []);
|
|
3308
3308
|
});
|
|
3309
3309
|
}, i.inherits = function(d, g) {
|
|
3310
|
-
function
|
|
3310
|
+
function v() {
|
|
3311
3311
|
}
|
|
3312
|
-
|
|
3312
|
+
v.prototype = g.prototype, d.prototype = new v();
|
|
3313
3313
|
}, i.extend = function() {
|
|
3314
|
-
var d, g,
|
|
3314
|
+
var d, g, v = {};
|
|
3315
3315
|
for (d = 0; d < arguments.length; d++)
|
|
3316
3316
|
for (g in arguments[d])
|
|
3317
|
-
Object.prototype.hasOwnProperty.call(arguments[d], g) &&
|
|
3318
|
-
return
|
|
3319
|
-
}, i.prepareContent = function(d, g,
|
|
3317
|
+
Object.prototype.hasOwnProperty.call(arguments[d], g) && v[g] === void 0 && (v[g] = arguments[d][g]);
|
|
3318
|
+
return v;
|
|
3319
|
+
}, i.prepareContent = function(d, g, v, b, x) {
|
|
3320
3320
|
return o.Promise.resolve(g).then(function(y) {
|
|
3321
3321
|
return r.blob && (y instanceof Blob || ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(y)) !== -1) && typeof FileReader != "undefined" ? new o.Promise(function(A, I) {
|
|
3322
3322
|
var w = new FileReader();
|
|
@@ -3328,7 +3328,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3328
3328
|
}) : y;
|
|
3329
3329
|
}).then(function(y) {
|
|
3330
3330
|
var A = i.getTypeOf(y);
|
|
3331
|
-
return A ? (A === "arraybuffer" ? y = i.transformTo("uint8array", y) : A === "string" && (x ? y = n.decode(y) :
|
|
3331
|
+
return A ? (A === "arraybuffer" ? y = i.transformTo("uint8array", y) : A === "string" && (x ? y = n.decode(y) : v && b !== !0 && (y = function(I) {
|
|
3332
3332
|
return h(I, r.uint8array ? new Uint8Array(I.length) : new Array(I.length));
|
|
3333
3333
|
}(y))), y) : o.Promise.reject(new Error("Can't read the data of '" + d + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));
|
|
3334
3334
|
});
|
|
@@ -3409,9 +3409,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3409
3409
|
if (l.skip(22), this.fileNameLength = l.readInt(2), d = l.readInt(2), this.fileName = l.readData(this.fileNameLength), l.skip(d), this.compressedSize === -1 || this.uncompressedSize === -1)
|
|
3410
3410
|
throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");
|
|
3411
3411
|
if ((p = function(g) {
|
|
3412
|
-
for (var
|
|
3413
|
-
if (Object.prototype.hasOwnProperty.call(h,
|
|
3414
|
-
return h[
|
|
3412
|
+
for (var v in h)
|
|
3413
|
+
if (Object.prototype.hasOwnProperty.call(h, v) && h[v].magic === g)
|
|
3414
|
+
return h[v];
|
|
3415
3415
|
return null;
|
|
3416
3416
|
}(this.compressionMethod)) === null)
|
|
3417
3417
|
throw new Error("Corrupted zip : compression " + n.pretty(this.compressionMethod) + " unknown (inner file : " + n.transformTo("string", this.fileName) + ")");
|
|
@@ -3432,10 +3432,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3432
3432
|
this.uncompressedSize === n.MAX_VALUE_32BITS && (this.uncompressedSize = l.readInt(8)), this.compressedSize === n.MAX_VALUE_32BITS && (this.compressedSize = l.readInt(8)), this.localHeaderOffset === n.MAX_VALUE_32BITS && (this.localHeaderOffset = l.readInt(8)), this.diskNumberStart === n.MAX_VALUE_32BITS && (this.diskNumberStart = l.readInt(4));
|
|
3433
3433
|
}
|
|
3434
3434
|
}, readExtraFields: function(l) {
|
|
3435
|
-
var p, d, g,
|
|
3436
|
-
for (this.extraFields || (this.extraFields = {}); l.index + 4 <
|
|
3435
|
+
var p, d, g, v = l.index + this.extraFieldsLength;
|
|
3436
|
+
for (this.extraFields || (this.extraFields = {}); l.index + 4 < v; )
|
|
3437
3437
|
p = l.readInt(2), d = l.readInt(2), g = l.readData(d), this.extraFields[p] = { id: p, length: d, value: g };
|
|
3438
|
-
l.setIndex(
|
|
3438
|
+
l.setIndex(v);
|
|
3439
3439
|
}, handleUTF8: function() {
|
|
3440
3440
|
var l = m.uint8array ? "uint8array" : "array";
|
|
3441
3441
|
if (this.useUTF8())
|
|
@@ -3452,8 +3452,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3452
3452
|
if (g !== null)
|
|
3453
3453
|
this.fileCommentStr = g;
|
|
3454
3454
|
else {
|
|
3455
|
-
var
|
|
3456
|
-
this.fileCommentStr = this.loadOptions.decodeFileName(
|
|
3455
|
+
var v = n.transformTo(l, this.fileComment);
|
|
3456
|
+
this.fileCommentStr = this.loadOptions.decodeFileName(v);
|
|
3457
3457
|
}
|
|
3458
3458
|
}
|
|
3459
3459
|
}, findExtraFieldUnicodePath: function() {
|
|
@@ -3481,10 +3481,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3481
3481
|
try {
|
|
3482
3482
|
if (!p)
|
|
3483
3483
|
throw new Error("No output type specified.");
|
|
3484
|
-
var
|
|
3484
|
+
var v = (g = p.toLowerCase()) === "string" || g === "text";
|
|
3485
3485
|
g !== "binarystring" && g !== "text" || (g = "string"), d = this._decompressWorker();
|
|
3486
|
-
var
|
|
3487
|
-
|
|
3486
|
+
var b = !this._dataBinary;
|
|
3487
|
+
b && !v && (d = d.pipe(new o.Utf8EncodeWorker())), !b && v && (d = d.pipe(new o.Utf8DecodeWorker()));
|
|
3488
3488
|
} catch (x) {
|
|
3489
3489
|
(d = new h("error")).error(x);
|
|
3490
3490
|
}
|
|
@@ -3533,147 +3533,147 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3533
3533
|
function p() {
|
|
3534
3534
|
var d, g;
|
|
3535
3535
|
a = !0;
|
|
3536
|
-
for (var
|
|
3537
|
-
for (g = l, l = [], d = -1; ++d <
|
|
3536
|
+
for (var v = l.length; v; ) {
|
|
3537
|
+
for (g = l, l = [], d = -1; ++d < v; )
|
|
3538
3538
|
g[d]();
|
|
3539
|
-
|
|
3539
|
+
v = l.length;
|
|
3540
3540
|
}
|
|
3541
3541
|
a = !1;
|
|
3542
3542
|
}
|
|
3543
3543
|
t.exports = function(d) {
|
|
3544
3544
|
l.push(d) !== 1 || a || n();
|
|
3545
3545
|
};
|
|
3546
|
-
}).call(this, typeof
|
|
3546
|
+
}).call(this, typeof ve != "undefined" ? ve : typeof self != "undefined" ? self : typeof window != "undefined" ? window : {});
|
|
3547
3547
|
}, {}], 37: [function(e, t, i) {
|
|
3548
3548
|
var r = e("immediate");
|
|
3549
3549
|
function n() {
|
|
3550
3550
|
}
|
|
3551
3551
|
var a = {}, o = ["REJECTED"], u = ["FULFILLED"], h = ["PENDING"];
|
|
3552
|
-
function m(
|
|
3553
|
-
if (typeof
|
|
3552
|
+
function m(v) {
|
|
3553
|
+
if (typeof v != "function")
|
|
3554
3554
|
throw new TypeError("resolver must be a function");
|
|
3555
|
-
this.state = h, this.queue = [], this.outcome = void 0,
|
|
3555
|
+
this.state = h, this.queue = [], this.outcome = void 0, v !== n && d(this, v);
|
|
3556
3556
|
}
|
|
3557
|
-
function f(
|
|
3558
|
-
this.promise =
|
|
3557
|
+
function f(v, b, x) {
|
|
3558
|
+
this.promise = v, typeof b == "function" && (this.onFulfilled = b, this.callFulfilled = this.otherCallFulfilled), typeof x == "function" && (this.onRejected = x, this.callRejected = this.otherCallRejected);
|
|
3559
3559
|
}
|
|
3560
|
-
function l(
|
|
3560
|
+
function l(v, b, x) {
|
|
3561
3561
|
r(function() {
|
|
3562
3562
|
var y;
|
|
3563
3563
|
try {
|
|
3564
|
-
y =
|
|
3564
|
+
y = b(x);
|
|
3565
3565
|
} catch (A) {
|
|
3566
|
-
return a.reject(
|
|
3566
|
+
return a.reject(v, A);
|
|
3567
3567
|
}
|
|
3568
|
-
y ===
|
|
3568
|
+
y === v ? a.reject(v, new TypeError("Cannot resolve promise with itself")) : a.resolve(v, y);
|
|
3569
3569
|
});
|
|
3570
3570
|
}
|
|
3571
|
-
function p(
|
|
3572
|
-
var
|
|
3573
|
-
if (
|
|
3571
|
+
function p(v) {
|
|
3572
|
+
var b = v && v.then;
|
|
3573
|
+
if (v && (typeof v == "object" || typeof v == "function") && typeof b == "function")
|
|
3574
3574
|
return function() {
|
|
3575
|
-
|
|
3575
|
+
b.apply(v, arguments);
|
|
3576
3576
|
};
|
|
3577
3577
|
}
|
|
3578
|
-
function d(
|
|
3578
|
+
function d(v, b) {
|
|
3579
3579
|
var x = !1;
|
|
3580
3580
|
function y(w) {
|
|
3581
|
-
x || (x = !0, a.reject(
|
|
3581
|
+
x || (x = !0, a.reject(v, w));
|
|
3582
3582
|
}
|
|
3583
3583
|
function A(w) {
|
|
3584
|
-
x || (x = !0, a.resolve(
|
|
3584
|
+
x || (x = !0, a.resolve(v, w));
|
|
3585
3585
|
}
|
|
3586
3586
|
var I = g(function() {
|
|
3587
|
-
|
|
3587
|
+
b(A, y);
|
|
3588
3588
|
});
|
|
3589
3589
|
I.status === "error" && y(I.value);
|
|
3590
3590
|
}
|
|
3591
|
-
function g(
|
|
3591
|
+
function g(v, b) {
|
|
3592
3592
|
var x = {};
|
|
3593
3593
|
try {
|
|
3594
|
-
x.value = b
|
|
3594
|
+
x.value = v(b), x.status = "success";
|
|
3595
3595
|
} catch (y) {
|
|
3596
3596
|
x.status = "error", x.value = y;
|
|
3597
3597
|
}
|
|
3598
3598
|
return x;
|
|
3599
3599
|
}
|
|
3600
|
-
(t.exports = m).prototype.finally = function(
|
|
3601
|
-
if (typeof
|
|
3600
|
+
(t.exports = m).prototype.finally = function(v) {
|
|
3601
|
+
if (typeof v != "function")
|
|
3602
3602
|
return this;
|
|
3603
|
-
var
|
|
3603
|
+
var b = this.constructor;
|
|
3604
3604
|
return this.then(function(x) {
|
|
3605
|
-
return
|
|
3605
|
+
return b.resolve(v()).then(function() {
|
|
3606
3606
|
return x;
|
|
3607
3607
|
});
|
|
3608
3608
|
}, function(x) {
|
|
3609
|
-
return
|
|
3609
|
+
return b.resolve(v()).then(function() {
|
|
3610
3610
|
throw x;
|
|
3611
3611
|
});
|
|
3612
3612
|
});
|
|
3613
|
-
}, m.prototype.catch = function(
|
|
3614
|
-
return this.then(null,
|
|
3615
|
-
}, m.prototype.then = function(
|
|
3616
|
-
if (typeof
|
|
3613
|
+
}, m.prototype.catch = function(v) {
|
|
3614
|
+
return this.then(null, v);
|
|
3615
|
+
}, m.prototype.then = function(v, b) {
|
|
3616
|
+
if (typeof v != "function" && this.state === u || typeof b != "function" && this.state === o)
|
|
3617
3617
|
return this;
|
|
3618
3618
|
var x = new this.constructor(n);
|
|
3619
|
-
return this.state !== h ? l(x, this.state === u ?
|
|
3620
|
-
}, f.prototype.callFulfilled = function(
|
|
3621
|
-
a.resolve(this.promise,
|
|
3622
|
-
}, f.prototype.otherCallFulfilled = function(
|
|
3623
|
-
l(this.promise, this.onFulfilled,
|
|
3624
|
-
}, f.prototype.callRejected = function(
|
|
3625
|
-
a.reject(this.promise,
|
|
3626
|
-
}, f.prototype.otherCallRejected = function(
|
|
3627
|
-
l(this.promise, this.onRejected,
|
|
3628
|
-
}, a.resolve = function(
|
|
3629
|
-
var x = g(p,
|
|
3619
|
+
return this.state !== h ? l(x, this.state === u ? v : b, this.outcome) : this.queue.push(new f(x, v, b)), x;
|
|
3620
|
+
}, f.prototype.callFulfilled = function(v) {
|
|
3621
|
+
a.resolve(this.promise, v);
|
|
3622
|
+
}, f.prototype.otherCallFulfilled = function(v) {
|
|
3623
|
+
l(this.promise, this.onFulfilled, v);
|
|
3624
|
+
}, f.prototype.callRejected = function(v) {
|
|
3625
|
+
a.reject(this.promise, v);
|
|
3626
|
+
}, f.prototype.otherCallRejected = function(v) {
|
|
3627
|
+
l(this.promise, this.onRejected, v);
|
|
3628
|
+
}, a.resolve = function(v, b) {
|
|
3629
|
+
var x = g(p, b);
|
|
3630
3630
|
if (x.status === "error")
|
|
3631
|
-
return a.reject(
|
|
3631
|
+
return a.reject(v, x.value);
|
|
3632
3632
|
var y = x.value;
|
|
3633
3633
|
if (y)
|
|
3634
|
-
d(
|
|
3634
|
+
d(v, y);
|
|
3635
3635
|
else {
|
|
3636
|
-
|
|
3637
|
-
for (var A = -1, I =
|
|
3638
|
-
|
|
3636
|
+
v.state = u, v.outcome = b;
|
|
3637
|
+
for (var A = -1, I = v.queue.length; ++A < I; )
|
|
3638
|
+
v.queue[A].callFulfilled(b);
|
|
3639
3639
|
}
|
|
3640
|
-
return
|
|
3641
|
-
}, a.reject = function(
|
|
3642
|
-
|
|
3643
|
-
for (var x = -1, y =
|
|
3644
|
-
|
|
3645
|
-
return
|
|
3646
|
-
}, m.resolve = function(
|
|
3647
|
-
return
|
|
3648
|
-
}, m.reject = function(
|
|
3649
|
-
var
|
|
3650
|
-
return a.reject(
|
|
3651
|
-
}, m.all = function(
|
|
3652
|
-
var
|
|
3653
|
-
if (Object.prototype.toString.call(
|
|
3640
|
+
return v;
|
|
3641
|
+
}, a.reject = function(v, b) {
|
|
3642
|
+
v.state = o, v.outcome = b;
|
|
3643
|
+
for (var x = -1, y = v.queue.length; ++x < y; )
|
|
3644
|
+
v.queue[x].callRejected(b);
|
|
3645
|
+
return v;
|
|
3646
|
+
}, m.resolve = function(v) {
|
|
3647
|
+
return v instanceof this ? v : a.resolve(new this(n), v);
|
|
3648
|
+
}, m.reject = function(v) {
|
|
3649
|
+
var b = new this(n);
|
|
3650
|
+
return a.reject(b, v);
|
|
3651
|
+
}, m.all = function(v) {
|
|
3652
|
+
var b = this;
|
|
3653
|
+
if (Object.prototype.toString.call(v) !== "[object Array]")
|
|
3654
3654
|
return this.reject(new TypeError("must be an array"));
|
|
3655
|
-
var x =
|
|
3655
|
+
var x = v.length, y = !1;
|
|
3656
3656
|
if (!x)
|
|
3657
3657
|
return this.resolve([]);
|
|
3658
3658
|
for (var A = new Array(x), I = 0, w = -1, R = new this(n); ++w < x; )
|
|
3659
|
-
L(
|
|
3659
|
+
L(v[w], w);
|
|
3660
3660
|
return R;
|
|
3661
3661
|
function L(D, N) {
|
|
3662
|
-
|
|
3662
|
+
b.resolve(D).then(function(C) {
|
|
3663
3663
|
A[N] = C, ++I !== x || y || (y = !0, a.resolve(R, A));
|
|
3664
3664
|
}, function(C) {
|
|
3665
3665
|
y || (y = !0, a.reject(R, C));
|
|
3666
3666
|
});
|
|
3667
3667
|
}
|
|
3668
|
-
}, m.race = function(
|
|
3669
|
-
var
|
|
3670
|
-
if (Object.prototype.toString.call(
|
|
3668
|
+
}, m.race = function(v) {
|
|
3669
|
+
var b = this;
|
|
3670
|
+
if (Object.prototype.toString.call(v) !== "[object Array]")
|
|
3671
3671
|
return this.reject(new TypeError("must be an array"));
|
|
3672
|
-
var x =
|
|
3672
|
+
var x = v.length, y = !1;
|
|
3673
3673
|
if (!x)
|
|
3674
3674
|
return this.resolve([]);
|
|
3675
3675
|
for (var A = -1, I = new this(n); ++A < x; )
|
|
3676
|
-
w =
|
|
3676
|
+
w = v[A], b.resolve(w).then(function(R) {
|
|
3677
3677
|
y || (y = !0, a.resolve(I, R));
|
|
3678
3678
|
}, function(R) {
|
|
3679
3679
|
y || (y = !0, a.reject(I, R));
|
|
@@ -3686,47 +3686,47 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3686
3686
|
(0, e("./lib/utils/common").assign)(r, e("./lib/deflate"), e("./lib/inflate"), e("./lib/zlib/constants")), t.exports = r;
|
|
3687
3687
|
}, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(e, t, i) {
|
|
3688
3688
|
var r = e("./zlib/deflate"), n = e("./utils/common"), a = e("./utils/strings"), o = e("./zlib/messages"), u = e("./zlib/zstream"), h = Object.prototype.toString, m = 0, f = -1, l = 0, p = 8;
|
|
3689
|
-
function d(
|
|
3689
|
+
function d(v) {
|
|
3690
3690
|
if (!(this instanceof d))
|
|
3691
|
-
return new d(
|
|
3692
|
-
this.options = n.assign({ level: f, method: p, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: l, to: "" },
|
|
3693
|
-
var
|
|
3694
|
-
|
|
3695
|
-
var x = r.deflateInit2(this.strm,
|
|
3691
|
+
return new d(v);
|
|
3692
|
+
this.options = n.assign({ level: f, method: p, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: l, to: "" }, v || {});
|
|
3693
|
+
var b = this.options;
|
|
3694
|
+
b.raw && 0 < b.windowBits ? b.windowBits = -b.windowBits : b.gzip && 0 < b.windowBits && b.windowBits < 16 && (b.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new u(), this.strm.avail_out = 0;
|
|
3695
|
+
var x = r.deflateInit2(this.strm, b.level, b.method, b.windowBits, b.memLevel, b.strategy);
|
|
3696
3696
|
if (x !== m)
|
|
3697
3697
|
throw new Error(o[x]);
|
|
3698
|
-
if (
|
|
3698
|
+
if (b.header && r.deflateSetHeader(this.strm, b.header), b.dictionary) {
|
|
3699
3699
|
var y;
|
|
3700
|
-
if (y = typeof
|
|
3700
|
+
if (y = typeof b.dictionary == "string" ? a.string2buf(b.dictionary) : h.call(b.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(b.dictionary) : b.dictionary, (x = r.deflateSetDictionary(this.strm, y)) !== m)
|
|
3701
3701
|
throw new Error(o[x]);
|
|
3702
3702
|
this._dict_set = !0;
|
|
3703
3703
|
}
|
|
3704
3704
|
}
|
|
3705
|
-
function g(
|
|
3706
|
-
var x = new d(
|
|
3707
|
-
if (x.push(
|
|
3705
|
+
function g(v, b) {
|
|
3706
|
+
var x = new d(b);
|
|
3707
|
+
if (x.push(v, !0), x.err)
|
|
3708
3708
|
throw x.msg || o[x.err];
|
|
3709
3709
|
return x.result;
|
|
3710
3710
|
}
|
|
3711
|
-
d.prototype.push = function(
|
|
3711
|
+
d.prototype.push = function(v, b) {
|
|
3712
3712
|
var x, y, A = this.strm, I = this.options.chunkSize;
|
|
3713
3713
|
if (this.ended)
|
|
3714
3714
|
return !1;
|
|
3715
|
-
y =
|
|
3715
|
+
y = b === ~~b ? b : b === !0 ? 4 : 0, typeof v == "string" ? A.input = a.string2buf(v) : h.call(v) === "[object ArrayBuffer]" ? A.input = new Uint8Array(v) : A.input = v, A.next_in = 0, A.avail_in = A.input.length;
|
|
3716
3716
|
do {
|
|
3717
3717
|
if (A.avail_out === 0 && (A.output = new n.Buf8(I), A.next_out = 0, A.avail_out = I), (x = r.deflate(A, y)) !== 1 && x !== m)
|
|
3718
3718
|
return this.onEnd(x), !(this.ended = !0);
|
|
3719
3719
|
A.avail_out !== 0 && (A.avail_in !== 0 || y !== 4 && y !== 2) || (this.options.to === "string" ? this.onData(a.buf2binstring(n.shrinkBuf(A.output, A.next_out))) : this.onData(n.shrinkBuf(A.output, A.next_out)));
|
|
3720
3720
|
} while ((0 < A.avail_in || A.avail_out === 0) && x !== 1);
|
|
3721
3721
|
return y === 4 ? (x = r.deflateEnd(this.strm), this.onEnd(x), this.ended = !0, x === m) : y !== 2 || (this.onEnd(m), !(A.avail_out = 0));
|
|
3722
|
-
}, d.prototype.onData = function(
|
|
3723
|
-
this.chunks.push(
|
|
3724
|
-
}, d.prototype.onEnd = function(
|
|
3725
|
-
|
|
3726
|
-
}, i.Deflate = d, i.deflate = g, i.deflateRaw = function(
|
|
3727
|
-
return (
|
|
3728
|
-
}, i.gzip = function(
|
|
3729
|
-
return (
|
|
3722
|
+
}, d.prototype.onData = function(v) {
|
|
3723
|
+
this.chunks.push(v);
|
|
3724
|
+
}, d.prototype.onEnd = function(v) {
|
|
3725
|
+
v === m && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = n.flattenChunks(this.chunks)), this.chunks = [], this.err = v, this.msg = this.strm.msg;
|
|
3726
|
+
}, i.Deflate = d, i.deflate = g, i.deflateRaw = function(v, b) {
|
|
3727
|
+
return (b = b || {}).raw = !0, g(v, b);
|
|
3728
|
+
}, i.gzip = function(v, b) {
|
|
3729
|
+
return (b = b || {}).gzip = !0, g(v, b);
|
|
3730
3730
|
};
|
|
3731
3731
|
}, { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 }], 40: [function(e, t, i) {
|
|
3732
3732
|
var r = e("./zlib/inflate"), n = e("./utils/common"), a = e("./utils/strings"), o = e("./zlib/constants"), u = e("./zlib/messages"), h = e("./zlib/zstream"), m = e("./zlib/gzheader"), f = Object.prototype.toString;
|
|
@@ -3736,28 +3736,28 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3736
3736
|
this.options = n.assign({ chunkSize: 16384, windowBits: 0, to: "" }, d || {});
|
|
3737
3737
|
var g = this.options;
|
|
3738
3738
|
g.raw && 0 <= g.windowBits && g.windowBits < 16 && (g.windowBits = -g.windowBits, g.windowBits === 0 && (g.windowBits = -15)), !(0 <= g.windowBits && g.windowBits < 16) || d && d.windowBits || (g.windowBits += 32), 15 < g.windowBits && g.windowBits < 48 && !(15 & g.windowBits) && (g.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new h(), this.strm.avail_out = 0;
|
|
3739
|
-
var
|
|
3740
|
-
if (
|
|
3741
|
-
throw new Error(u[
|
|
3739
|
+
var v = r.inflateInit2(this.strm, g.windowBits);
|
|
3740
|
+
if (v !== o.Z_OK)
|
|
3741
|
+
throw new Error(u[v]);
|
|
3742
3742
|
this.header = new m(), r.inflateGetHeader(this.strm, this.header);
|
|
3743
3743
|
}
|
|
3744
3744
|
function p(d, g) {
|
|
3745
|
-
var
|
|
3746
|
-
if (
|
|
3747
|
-
throw
|
|
3748
|
-
return
|
|
3745
|
+
var v = new l(g);
|
|
3746
|
+
if (v.push(d, !0), v.err)
|
|
3747
|
+
throw v.msg || u[v.err];
|
|
3748
|
+
return v.result;
|
|
3749
3749
|
}
|
|
3750
3750
|
l.prototype.push = function(d, g) {
|
|
3751
|
-
var
|
|
3751
|
+
var v, b, x, y, A, I, w = this.strm, R = this.options.chunkSize, L = this.options.dictionary, D = !1;
|
|
3752
3752
|
if (this.ended)
|
|
3753
3753
|
return !1;
|
|
3754
|
-
|
|
3754
|
+
b = g === ~~g ? g : g === !0 ? o.Z_FINISH : o.Z_NO_FLUSH, typeof d == "string" ? w.input = a.binstring2buf(d) : f.call(d) === "[object ArrayBuffer]" ? w.input = new Uint8Array(d) : w.input = d, w.next_in = 0, w.avail_in = w.input.length;
|
|
3755
3755
|
do {
|
|
3756
|
-
if (w.avail_out === 0 && (w.output = new n.Buf8(R), w.next_out = 0, w.avail_out = R), (
|
|
3757
|
-
return this.onEnd(
|
|
3758
|
-
w.next_out && (w.avail_out !== 0 &&
|
|
3759
|
-
} while ((0 < w.avail_in || w.avail_out === 0) &&
|
|
3760
|
-
return
|
|
3756
|
+
if (w.avail_out === 0 && (w.output = new n.Buf8(R), w.next_out = 0, w.avail_out = R), (v = r.inflate(w, o.Z_NO_FLUSH)) === o.Z_NEED_DICT && L && (I = typeof L == "string" ? a.string2buf(L) : f.call(L) === "[object ArrayBuffer]" ? new Uint8Array(L) : L, v = r.inflateSetDictionary(this.strm, I)), v === o.Z_BUF_ERROR && D === !0 && (v = o.Z_OK, D = !1), v !== o.Z_STREAM_END && v !== o.Z_OK)
|
|
3757
|
+
return this.onEnd(v), !(this.ended = !0);
|
|
3758
|
+
w.next_out && (w.avail_out !== 0 && v !== o.Z_STREAM_END && (w.avail_in !== 0 || b !== o.Z_FINISH && b !== o.Z_SYNC_FLUSH) || (this.options.to === "string" ? (x = a.utf8border(w.output, w.next_out), y = w.next_out - x, A = a.buf2string(w.output, x), w.next_out = y, w.avail_out = R - y, y && n.arraySet(w.output, w.output, x, y, 0), this.onData(A)) : this.onData(n.shrinkBuf(w.output, w.next_out)))), w.avail_in === 0 && w.avail_out === 0 && (D = !0);
|
|
3759
|
+
} while ((0 < w.avail_in || w.avail_out === 0) && v !== o.Z_STREAM_END);
|
|
3760
|
+
return v === o.Z_STREAM_END && (b = o.Z_FINISH), b === o.Z_FINISH ? (v = r.inflateEnd(this.strm), this.onEnd(v), this.ended = !0, v === o.Z_OK) : b !== o.Z_SYNC_FLUSH || (this.onEnd(o.Z_OK), !(w.avail_out = 0));
|
|
3761
3761
|
}, l.prototype.onData = function(d) {
|
|
3762
3762
|
this.chunks.push(d);
|
|
3763
3763
|
}, l.prototype.onEnd = function(d) {
|
|
@@ -3825,11 +3825,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3825
3825
|
return l;
|
|
3826
3826
|
}
|
|
3827
3827
|
o[254] = o[254] = 1, i.string2buf = function(m) {
|
|
3828
|
-
var f, l, p, d, g,
|
|
3829
|
-
for (d = 0; d <
|
|
3830
|
-
(64512 & (l = m.charCodeAt(d))) == 55296 && d + 1 <
|
|
3831
|
-
for (f = new r.Buf8(
|
|
3832
|
-
(64512 & (l = m.charCodeAt(d))) == 55296 && d + 1 <
|
|
3828
|
+
var f, l, p, d, g, v = m.length, b = 0;
|
|
3829
|
+
for (d = 0; d < v; d++)
|
|
3830
|
+
(64512 & (l = m.charCodeAt(d))) == 55296 && d + 1 < v && (64512 & (p = m.charCodeAt(d + 1))) == 56320 && (l = 65536 + (l - 55296 << 10) + (p - 56320), d++), b += l < 128 ? 1 : l < 2048 ? 2 : l < 65536 ? 3 : 4;
|
|
3831
|
+
for (f = new r.Buf8(b), d = g = 0; g < b; d++)
|
|
3832
|
+
(64512 & (l = m.charCodeAt(d))) == 55296 && d + 1 < v && (64512 & (p = m.charCodeAt(d + 1))) == 56320 && (l = 65536 + (l - 55296 << 10) + (p - 56320), d++), l < 128 ? f[g++] = l : (l < 2048 ? f[g++] = 192 | l >>> 6 : (l < 65536 ? f[g++] = 224 | l >>> 12 : (f[g++] = 240 | l >>> 18, f[g++] = 128 | l >>> 12 & 63), f[g++] = 128 | l >>> 6 & 63), f[g++] = 128 | 63 & l);
|
|
3833
3833
|
return f;
|
|
3834
3834
|
}, i.buf2binstring = function(m) {
|
|
3835
3835
|
return h(m, m.length);
|
|
@@ -3838,18 +3838,18 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3838
3838
|
f[l] = m.charCodeAt(l);
|
|
3839
3839
|
return f;
|
|
3840
3840
|
}, i.buf2string = function(m, f) {
|
|
3841
|
-
var l, p, d, g,
|
|
3842
|
-
for (l = p = 0; l <
|
|
3841
|
+
var l, p, d, g, v = f || m.length, b = new Array(2 * v);
|
|
3842
|
+
for (l = p = 0; l < v; )
|
|
3843
3843
|
if ((d = m[l++]) < 128)
|
|
3844
|
-
|
|
3844
|
+
b[p++] = d;
|
|
3845
3845
|
else if (4 < (g = o[d]))
|
|
3846
|
-
|
|
3846
|
+
b[p++] = 65533, l += g - 1;
|
|
3847
3847
|
else {
|
|
3848
|
-
for (d &= g === 2 ? 31 : g === 3 ? 15 : 7; 1 < g && l <
|
|
3848
|
+
for (d &= g === 2 ? 31 : g === 3 ? 15 : 7; 1 < g && l < v; )
|
|
3849
3849
|
d = d << 6 | 63 & m[l++], g--;
|
|
3850
|
-
1 < g ?
|
|
3850
|
+
1 < g ? b[p++] = 65533 : d < 65536 ? b[p++] = d : (d -= 65536, b[p++] = 55296 | d >> 10 & 1023, b[p++] = 56320 | 1023 & d);
|
|
3851
3851
|
}
|
|
3852
|
-
return h(
|
|
3852
|
+
return h(b, p);
|
|
3853
3853
|
}, i.utf8border = function(m, f) {
|
|
3854
3854
|
var l;
|
|
3855
3855
|
for ((f = f || m.length) > m.length && (f = m.length), l = f - 1; 0 <= l && (192 & m[l]) == 128; )
|
|
@@ -3885,7 +3885,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3885
3885
|
return -1 ^ n;
|
|
3886
3886
|
};
|
|
3887
3887
|
}, {}], 46: [function(e, t, i) {
|
|
3888
|
-
var r, n = e("../utils/common"), a = e("./trees"), o = e("./adler32"), u = e("./crc32"), h = e("./messages"), m = 0, f = 4, l = 0, p = -2, d = -1, g = 4,
|
|
3888
|
+
var r, n = e("../utils/common"), a = e("./trees"), o = e("./adler32"), u = e("./crc32"), h = e("./messages"), m = 0, f = 4, l = 0, p = -2, d = -1, g = 4, v = 2, b = 8, x = 9, y = 286, A = 30, I = 19, w = 2 * y + 1, R = 15, L = 3, D = 258, N = D + L + 1, C = 42, M = 113, E = 1, U = 2, ie = 3, q = 4;
|
|
3889
3889
|
function oe(S, J) {
|
|
3890
3890
|
return S.msg = h[J], J;
|
|
3891
3891
|
}
|
|
@@ -3987,15 +3987,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
3987
3987
|
}
|
|
3988
3988
|
return S.match_available && (P = a._tr_tally(S, 0, S.window[S.strstart - 1]), S.match_available = 0), S.insert = S.strstart < L - 1 ? S.strstart : L - 1, J === f ? (B(S, !0), S.strm.avail_out === 0 ? ie : q) : S.last_lit && (B(S, !1), S.strm.avail_out === 0) ? E : U;
|
|
3989
3989
|
}
|
|
3990
|
-
function
|
|
3990
|
+
function be(S, J, W, P, k) {
|
|
3991
3991
|
this.good_length = S, this.max_lazy = J, this.nice_length = W, this.max_chain = P, this.func = k;
|
|
3992
3992
|
}
|
|
3993
|
-
function
|
|
3994
|
-
this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method =
|
|
3993
|
+
function we() {
|
|
3994
|
+
this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = b, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new n.Buf16(2 * w), this.dyn_dtree = new n.Buf16(2 * (2 * A + 1)), this.bl_tree = new n.Buf16(2 * (2 * I + 1)), se(this.dyn_ltree), se(this.dyn_dtree), se(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new n.Buf16(R + 1), this.heap = new n.Buf16(2 * y + 1), se(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new n.Buf16(2 * y + 1), se(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
|
|
3995
3995
|
}
|
|
3996
3996
|
function Ae(S) {
|
|
3997
3997
|
var J;
|
|
3998
|
-
return S && S.state ? (S.total_in = S.total_out = 0, S.data_type =
|
|
3998
|
+
return S && S.state ? (S.total_in = S.total_out = 0, S.data_type = v, (J = S.state).pending = 0, J.pending_out = 0, J.wrap < 0 && (J.wrap = -J.wrap), J.status = J.wrap ? C : M, S.adler = J.wrap === 2 ? 0 : 1, J.last_flush = m, a._tr_init(J), l) : oe(S, p);
|
|
3999
3999
|
}
|
|
4000
4000
|
function Fe(S) {
|
|
4001
4001
|
var J = Ae(S);
|
|
@@ -4003,17 +4003,17 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4003
4003
|
W.window_size = 2 * W.w_size, se(W.head), W.max_lazy_match = r[W.level].max_lazy, W.good_match = r[W.level].good_length, W.nice_match = r[W.level].nice_length, W.max_chain_length = r[W.level].max_chain, W.strstart = 0, W.block_start = 0, W.lookahead = 0, W.insert = 0, W.match_length = W.prev_length = L - 1, W.match_available = 0, W.ins_h = 0;
|
|
4004
4004
|
}(S.state), J;
|
|
4005
4005
|
}
|
|
4006
|
-
function
|
|
4006
|
+
function Ce(S, J, W, P, k, V) {
|
|
4007
4007
|
if (!S)
|
|
4008
4008
|
return p;
|
|
4009
4009
|
var Z = 1;
|
|
4010
|
-
if (J === d && (J = 6), P < 0 ? (Z = 0, P = -P) : 15 < P && (Z = 2, P -= 16), k < 1 || x < k || W !==
|
|
4010
|
+
if (J === d && (J = 6), P < 0 ? (Z = 0, P = -P) : 15 < P && (Z = 2, P -= 16), k < 1 || x < k || W !== b || P < 8 || 15 < P || J < 0 || 9 < J || V < 0 || g < V)
|
|
4011
4011
|
return oe(S, p);
|
|
4012
4012
|
P === 8 && (P = 9);
|
|
4013
|
-
var X = new
|
|
4013
|
+
var X = new we();
|
|
4014
4014
|
return (S.state = X).strm = S, X.wrap = Z, X.gzhead = null, X.w_bits = P, X.w_size = 1 << X.w_bits, X.w_mask = X.w_size - 1, X.hash_bits = k + 7, X.hash_size = 1 << X.hash_bits, X.hash_mask = X.hash_size - 1, X.hash_shift = ~~((X.hash_bits + L - 1) / L), X.window = new n.Buf8(2 * X.w_size), X.head = new n.Buf16(X.hash_size), X.prev = new n.Buf16(X.w_size), X.lit_bufsize = 1 << k + 6, X.pending_buf_size = 4 * X.lit_bufsize, X.pending_buf = new n.Buf8(X.pending_buf_size), X.d_buf = 1 * X.lit_bufsize, X.l_buf = 3 * X.lit_bufsize, X.level = J, X.strategy = V, X.method = W, Fe(S);
|
|
4015
4015
|
}
|
|
4016
|
-
r = [new
|
|
4016
|
+
r = [new be(0, 0, 0, 0, function(S, J) {
|
|
4017
4017
|
var W = 65535;
|
|
4018
4018
|
for (W > S.pending_buf_size - 5 && (W = S.pending_buf_size - 5); ; ) {
|
|
4019
4019
|
if (S.lookahead <= 1) {
|
|
@@ -4028,9 +4028,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4028
4028
|
return E;
|
|
4029
4029
|
}
|
|
4030
4030
|
return S.insert = 0, J === f ? (B(S, !0), S.strm.avail_out === 0 ? ie : q) : (S.strstart > S.block_start && (B(S, !1), S.strm.avail_out), E);
|
|
4031
|
-
}), new
|
|
4032
|
-
return
|
|
4033
|
-
}, i.deflateInit2 =
|
|
4031
|
+
}), new be(4, 4, 8, 4, pe), new be(4, 5, 16, 8, pe), new be(4, 6, 32, 32, pe), new be(4, 4, 16, 16, ce), new be(8, 16, 32, 32, ce), new be(8, 16, 128, 128, ce), new be(8, 32, 128, 256, ce), new be(32, 128, 258, 1024, ce), new be(32, 258, 258, 4096, ce)], i.deflateInit = function(S, J) {
|
|
4032
|
+
return Ce(S, J, b, 15, 8, 0);
|
|
4033
|
+
}, i.deflateInit2 = Ce, i.deflateReset = Fe, i.deflateResetKeep = Ae, i.deflateSetHeader = function(S, J) {
|
|
4034
4034
|
return S && S.state ? S.state.wrap !== 2 ? p : (S.state.gzhead = J, l) : p;
|
|
4035
4035
|
}, i.deflate = function(S, J) {
|
|
4036
4036
|
var W, P, k, V;
|
|
@@ -4042,7 +4042,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4042
4042
|
if (P.wrap === 2)
|
|
4043
4043
|
S.adler = 0, z(P, 31), z(P, 139), z(P, 8), P.gzhead ? (z(P, (P.gzhead.text ? 1 : 0) + (P.gzhead.hcrc ? 2 : 0) + (P.gzhead.extra ? 4 : 0) + (P.gzhead.name ? 8 : 0) + (P.gzhead.comment ? 16 : 0)), z(P, 255 & P.gzhead.time), z(P, P.gzhead.time >> 8 & 255), z(P, P.gzhead.time >> 16 & 255), z(P, P.gzhead.time >> 24 & 255), z(P, P.level === 9 ? 2 : 2 <= P.strategy || P.level < 2 ? 4 : 0), z(P, 255 & P.gzhead.os), P.gzhead.extra && P.gzhead.extra.length && (z(P, 255 & P.gzhead.extra.length), z(P, P.gzhead.extra.length >> 8 & 255)), P.gzhead.hcrc && (S.adler = u(S.adler, P.pending_buf, P.pending, 0)), P.gzindex = 0, P.status = 69) : (z(P, 0), z(P, 0), z(P, 0), z(P, 0), z(P, 0), z(P, P.level === 9 ? 2 : 2 <= P.strategy || P.level < 2 ? 4 : 0), z(P, 3), P.status = M);
|
|
4044
4044
|
else {
|
|
4045
|
-
var Z =
|
|
4045
|
+
var Z = b + (P.w_bits - 8 << 4) << 8;
|
|
4046
4046
|
Z |= (2 <= P.strategy || P.level < 2 ? 0 : P.level < 6 ? 1 : P.level === 6 ? 2 : 3) << 6, P.strstart !== 0 && (Z |= 32), Z += 31 - Z % 31, P.status = M, F(P, Z), P.strstart !== 0 && (F(P, S.adler >>> 16), F(P, 65535 & S.adler)), S.adler = 1;
|
|
4047
4047
|
}
|
|
4048
4048
|
if (P.status === 69)
|
|
@@ -4143,19 +4143,19 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4143
4143
|
};
|
|
4144
4144
|
}, {}], 48: [function(e, t, i) {
|
|
4145
4145
|
t.exports = function(r, n) {
|
|
4146
|
-
var a, o, u, h, m, f, l, p, d, g,
|
|
4147
|
-
a = r.state, o = r.next_in, E = r.input, u = o + (r.avail_in - 5), h = r.next_out, U = r.output, m = h - (n - r.avail_out), f = h + (r.avail_out - 257), l = a.dmax, p = a.wsize, d = a.whave, g = a.wnext,
|
|
4146
|
+
var a, o, u, h, m, f, l, p, d, g, v, b, x, y, A, I, w, R, L, D, N, C, M, E, U;
|
|
4147
|
+
a = r.state, o = r.next_in, E = r.input, u = o + (r.avail_in - 5), h = r.next_out, U = r.output, m = h - (n - r.avail_out), f = h + (r.avail_out - 257), l = a.dmax, p = a.wsize, d = a.whave, g = a.wnext, v = a.window, b = a.hold, x = a.bits, y = a.lencode, A = a.distcode, I = (1 << a.lenbits) - 1, w = (1 << a.distbits) - 1;
|
|
4148
4148
|
e:
|
|
4149
4149
|
do {
|
|
4150
|
-
x < 15 && (
|
|
4150
|
+
x < 15 && (b += E[o++] << x, x += 8, b += E[o++] << x, x += 8), R = y[b & I];
|
|
4151
4151
|
t:
|
|
4152
4152
|
for (; ; ) {
|
|
4153
|
-
if (
|
|
4153
|
+
if (b >>>= L = R >>> 24, x -= L, (L = R >>> 16 & 255) === 0)
|
|
4154
4154
|
U[h++] = 65535 & R;
|
|
4155
4155
|
else {
|
|
4156
4156
|
if (!(16 & L)) {
|
|
4157
4157
|
if (!(64 & L)) {
|
|
4158
|
-
R = y[(65535 & R) + (
|
|
4158
|
+
R = y[(65535 & R) + (b & (1 << L) - 1)];
|
|
4159
4159
|
continue t;
|
|
4160
4160
|
}
|
|
4161
4161
|
if (32 & L) {
|
|
@@ -4165,44 +4165,44 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4165
4165
|
r.msg = "invalid literal/length code", a.mode = 30;
|
|
4166
4166
|
break e;
|
|
4167
4167
|
}
|
|
4168
|
-
D = 65535 & R, (L &= 15) && (x < L && (
|
|
4168
|
+
D = 65535 & R, (L &= 15) && (x < L && (b += E[o++] << x, x += 8), D += b & (1 << L) - 1, b >>>= L, x -= L), x < 15 && (b += E[o++] << x, x += 8, b += E[o++] << x, x += 8), R = A[b & w];
|
|
4169
4169
|
i:
|
|
4170
4170
|
for (; ; ) {
|
|
4171
|
-
if (
|
|
4171
|
+
if (b >>>= L = R >>> 24, x -= L, !(16 & (L = R >>> 16 & 255))) {
|
|
4172
4172
|
if (!(64 & L)) {
|
|
4173
|
-
R = A[(65535 & R) + (
|
|
4173
|
+
R = A[(65535 & R) + (b & (1 << L) - 1)];
|
|
4174
4174
|
continue i;
|
|
4175
4175
|
}
|
|
4176
4176
|
r.msg = "invalid distance code", a.mode = 30;
|
|
4177
4177
|
break e;
|
|
4178
4178
|
}
|
|
4179
|
-
if (N = 65535 & R, x < (L &= 15) && (
|
|
4179
|
+
if (N = 65535 & R, x < (L &= 15) && (b += E[o++] << x, (x += 8) < L && (b += E[o++] << x, x += 8)), l < (N += b & (1 << L) - 1)) {
|
|
4180
4180
|
r.msg = "invalid distance too far back", a.mode = 30;
|
|
4181
4181
|
break e;
|
|
4182
4182
|
}
|
|
4183
|
-
if (
|
|
4183
|
+
if (b >>>= L, x -= L, (L = h - m) < N) {
|
|
4184
4184
|
if (d < (L = N - L) && a.sane) {
|
|
4185
4185
|
r.msg = "invalid distance too far back", a.mode = 30;
|
|
4186
4186
|
break e;
|
|
4187
4187
|
}
|
|
4188
|
-
if (M =
|
|
4188
|
+
if (M = v, (C = 0) === g) {
|
|
4189
4189
|
if (C += p - L, L < D) {
|
|
4190
|
-
for (D -= L; U[h++] =
|
|
4190
|
+
for (D -= L; U[h++] = v[C++], --L; )
|
|
4191
4191
|
;
|
|
4192
4192
|
C = h - N, M = U;
|
|
4193
4193
|
}
|
|
4194
4194
|
} else if (g < L) {
|
|
4195
4195
|
if (C += p + g - L, (L -= g) < D) {
|
|
4196
|
-
for (D -= L; U[h++] =
|
|
4196
|
+
for (D -= L; U[h++] = v[C++], --L; )
|
|
4197
4197
|
;
|
|
4198
4198
|
if (C = 0, g < D) {
|
|
4199
|
-
for (D -= L = g; U[h++] =
|
|
4199
|
+
for (D -= L = g; U[h++] = v[C++], --L; )
|
|
4200
4200
|
;
|
|
4201
4201
|
C = h - N, M = U;
|
|
4202
4202
|
}
|
|
4203
4203
|
}
|
|
4204
4204
|
} else if (C += g - L, L < D) {
|
|
4205
|
-
for (D -= L; U[h++] =
|
|
4205
|
+
for (D -= L; U[h++] = v[C++], --L; )
|
|
4206
4206
|
;
|
|
4207
4207
|
C = h - N, M = U;
|
|
4208
4208
|
}
|
|
@@ -4220,14 +4220,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4220
4220
|
break;
|
|
4221
4221
|
}
|
|
4222
4222
|
} while (o < u && h < f);
|
|
4223
|
-
o -= D = x >> 3,
|
|
4223
|
+
o -= D = x >> 3, b &= (1 << (x -= D << 3)) - 1, r.next_in = o, r.next_out = h, r.avail_in = o < u ? u - o + 5 : 5 - (o - u), r.avail_out = h < f ? f - h + 257 : 257 - (h - f), a.hold = b, a.bits = x;
|
|
4224
4224
|
};
|
|
4225
4225
|
}, {}], 49: [function(e, t, i) {
|
|
4226
4226
|
var r = e("../utils/common"), n = e("./adler32"), a = e("./crc32"), o = e("./inffast"), u = e("./inftrees"), h = 1, m = 2, f = 0, l = -2, p = 1, d = 852, g = 592;
|
|
4227
|
-
function
|
|
4227
|
+
function v(C) {
|
|
4228
4228
|
return (C >>> 24 & 255) + (C >>> 8 & 65280) + ((65280 & C) << 8) + ((255 & C) << 24);
|
|
4229
4229
|
}
|
|
4230
|
-
function
|
|
4230
|
+
function b() {
|
|
4231
4231
|
this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new r.Buf16(320), this.work = new r.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
|
|
4232
4232
|
}
|
|
4233
4233
|
function x(C) {
|
|
@@ -4244,7 +4244,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4244
4244
|
}
|
|
4245
4245
|
function I(C, M) {
|
|
4246
4246
|
var E, U;
|
|
4247
|
-
return C ? (U = new
|
|
4247
|
+
return C ? (U = new b(), (C.state = U).window = null, (E = A(C, M)) !== f && (C.state = null), E) : l;
|
|
4248
4248
|
}
|
|
4249
4249
|
var w, R, L = !0;
|
|
4250
4250
|
function D(C) {
|
|
@@ -4271,7 +4271,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4271
4271
|
i.inflateReset = y, i.inflateReset2 = A, i.inflateResetKeep = x, i.inflateInit = function(C) {
|
|
4272
4272
|
return I(C, 15);
|
|
4273
4273
|
}, i.inflateInit2 = I, i.inflate = function(C, M) {
|
|
4274
|
-
var E, U, ie, q, oe, $, se, T, B, z, F, K, Q, pe, ce,
|
|
4274
|
+
var E, U, ie, q, oe, $, se, T, B, z, F, K, Q, pe, ce, be, we, Ae, Fe, Ce, S, J, W, P, k = 0, V = new r.Buf8(4), Z = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
|
|
4275
4275
|
if (!C || !C.state || !C.output || !C.input && C.avail_in !== 0)
|
|
4276
4276
|
return l;
|
|
4277
4277
|
(E = C.state).mode === 12 && (E.mode = 13), oe = C.next_out, ie = C.output, se = C.avail_out, q = C.next_in, U = C.input, $ = C.avail_in, T = E.hold, B = E.bits, z = $, F = se, J = f;
|
|
@@ -4395,7 +4395,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4395
4395
|
break e;
|
|
4396
4396
|
$--, T += U[q++] << B, B += 8;
|
|
4397
4397
|
}
|
|
4398
|
-
C.adler = E.check =
|
|
4398
|
+
C.adler = E.check = v(T), B = T = 0, E.mode = 11;
|
|
4399
4399
|
case 11:
|
|
4400
4400
|
if (E.havedict === 0)
|
|
4401
4401
|
return C.next_out = oe, C.avail_out = se, C.next_in = q, C.avail_in = $, E.hold = T, E.bits = B, 2;
|
|
@@ -4482,15 +4482,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4482
4482
|
E.have = 0, E.mode = 19;
|
|
4483
4483
|
case 19:
|
|
4484
4484
|
for (; E.have < E.nlen + E.ndist; ) {
|
|
4485
|
-
for (;
|
|
4485
|
+
for (; be = (k = E.lencode[T & (1 << E.lenbits) - 1]) >>> 16 & 255, we = 65535 & k, !((ce = k >>> 24) <= B); ) {
|
|
4486
4486
|
if ($ === 0)
|
|
4487
4487
|
break e;
|
|
4488
4488
|
$--, T += U[q++] << B, B += 8;
|
|
4489
4489
|
}
|
|
4490
|
-
if (
|
|
4491
|
-
T >>>= ce, B -= ce, E.lens[E.have++] =
|
|
4490
|
+
if (we < 16)
|
|
4491
|
+
T >>>= ce, B -= ce, E.lens[E.have++] = we;
|
|
4492
4492
|
else {
|
|
4493
|
-
if (
|
|
4493
|
+
if (we === 16) {
|
|
4494
4494
|
for (P = ce + 2; B < P; ) {
|
|
4495
4495
|
if ($ === 0)
|
|
4496
4496
|
break e;
|
|
@@ -4501,7 +4501,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4501
4501
|
break;
|
|
4502
4502
|
}
|
|
4503
4503
|
S = E.lens[E.have - 1], K = 3 + (3 & T), T >>>= 2, B -= 2;
|
|
4504
|
-
} else if (
|
|
4504
|
+
} else if (we === 17) {
|
|
4505
4505
|
for (P = ce + 3; B < P; ) {
|
|
4506
4506
|
if ($ === 0)
|
|
4507
4507
|
break e;
|
|
@@ -4547,32 +4547,32 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4547
4547
|
C.next_out = oe, C.avail_out = se, C.next_in = q, C.avail_in = $, E.hold = T, E.bits = B, o(C, F), oe = C.next_out, ie = C.output, se = C.avail_out, q = C.next_in, U = C.input, $ = C.avail_in, T = E.hold, B = E.bits, E.mode === 12 && (E.back = -1);
|
|
4548
4548
|
break;
|
|
4549
4549
|
}
|
|
4550
|
-
for (E.back = 0;
|
|
4550
|
+
for (E.back = 0; be = (k = E.lencode[T & (1 << E.lenbits) - 1]) >>> 16 & 255, we = 65535 & k, !((ce = k >>> 24) <= B); ) {
|
|
4551
4551
|
if ($ === 0)
|
|
4552
4552
|
break e;
|
|
4553
4553
|
$--, T += U[q++] << B, B += 8;
|
|
4554
4554
|
}
|
|
4555
|
-
if (
|
|
4556
|
-
for (Ae = ce, Fe =
|
|
4555
|
+
if (be && !(240 & be)) {
|
|
4556
|
+
for (Ae = ce, Fe = be, Ce = we; be = (k = E.lencode[Ce + ((T & (1 << Ae + Fe) - 1) >> Ae)]) >>> 16 & 255, we = 65535 & k, !(Ae + (ce = k >>> 24) <= B); ) {
|
|
4557
4557
|
if ($ === 0)
|
|
4558
4558
|
break e;
|
|
4559
4559
|
$--, T += U[q++] << B, B += 8;
|
|
4560
4560
|
}
|
|
4561
4561
|
T >>>= Ae, B -= Ae, E.back += Ae;
|
|
4562
4562
|
}
|
|
4563
|
-
if (T >>>= ce, B -= ce, E.back += ce, E.length =
|
|
4563
|
+
if (T >>>= ce, B -= ce, E.back += ce, E.length = we, be === 0) {
|
|
4564
4564
|
E.mode = 26;
|
|
4565
4565
|
break;
|
|
4566
4566
|
}
|
|
4567
|
-
if (32 &
|
|
4567
|
+
if (32 & be) {
|
|
4568
4568
|
E.back = -1, E.mode = 12;
|
|
4569
4569
|
break;
|
|
4570
4570
|
}
|
|
4571
|
-
if (64 &
|
|
4571
|
+
if (64 & be) {
|
|
4572
4572
|
C.msg = "invalid literal/length code", E.mode = 30;
|
|
4573
4573
|
break;
|
|
4574
4574
|
}
|
|
4575
|
-
E.extra = 15 &
|
|
4575
|
+
E.extra = 15 & be, E.mode = 22;
|
|
4576
4576
|
case 22:
|
|
4577
4577
|
if (E.extra) {
|
|
4578
4578
|
for (P = E.extra; B < P; ) {
|
|
@@ -4584,24 +4584,24 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4584
4584
|
}
|
|
4585
4585
|
E.was = E.length, E.mode = 23;
|
|
4586
4586
|
case 23:
|
|
4587
|
-
for (;
|
|
4587
|
+
for (; be = (k = E.distcode[T & (1 << E.distbits) - 1]) >>> 16 & 255, we = 65535 & k, !((ce = k >>> 24) <= B); ) {
|
|
4588
4588
|
if ($ === 0)
|
|
4589
4589
|
break e;
|
|
4590
4590
|
$--, T += U[q++] << B, B += 8;
|
|
4591
4591
|
}
|
|
4592
|
-
if (!(240 &
|
|
4593
|
-
for (Ae = ce, Fe =
|
|
4592
|
+
if (!(240 & be)) {
|
|
4593
|
+
for (Ae = ce, Fe = be, Ce = we; be = (k = E.distcode[Ce + ((T & (1 << Ae + Fe) - 1) >> Ae)]) >>> 16 & 255, we = 65535 & k, !(Ae + (ce = k >>> 24) <= B); ) {
|
|
4594
4594
|
if ($ === 0)
|
|
4595
4595
|
break e;
|
|
4596
4596
|
$--, T += U[q++] << B, B += 8;
|
|
4597
4597
|
}
|
|
4598
4598
|
T >>>= Ae, B -= Ae, E.back += Ae;
|
|
4599
4599
|
}
|
|
4600
|
-
if (T >>>= ce, B -= ce, E.back += ce, 64 &
|
|
4600
|
+
if (T >>>= ce, B -= ce, E.back += ce, 64 & be) {
|
|
4601
4601
|
C.msg = "invalid distance code", E.mode = 30;
|
|
4602
4602
|
break;
|
|
4603
4603
|
}
|
|
4604
|
-
E.offset =
|
|
4604
|
+
E.offset = we, E.extra = 15 & be, E.mode = 24;
|
|
4605
4605
|
case 24:
|
|
4606
4606
|
if (E.extra) {
|
|
4607
4607
|
for (P = E.extra; B < P; ) {
|
|
@@ -4643,7 +4643,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4643
4643
|
break e;
|
|
4644
4644
|
$--, T |= U[q++] << B, B += 8;
|
|
4645
4645
|
}
|
|
4646
|
-
if (F -= se, C.total_out += F, E.total += F, F && (C.adler = E.check = E.flags ? a(E.check, ie, F, oe - F) : n(E.check, ie, F, oe - F)), F = se, (E.flags ? T :
|
|
4646
|
+
if (F -= se, C.total_out += F, E.total += F, F && (C.adler = E.check = E.flags ? a(E.check, ie, F, oe - F) : n(E.check, ie, F, oe - F)), F = se, (E.flags ? T : v(T)) !== E.check) {
|
|
4647
4647
|
C.msg = "incorrect data check", E.mode = 30;
|
|
4648
4648
|
break;
|
|
4649
4649
|
}
|
|
@@ -4691,8 +4691,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4691
4691
|
}, i.inflateInfo = "pako inflate (from Nodeca project)";
|
|
4692
4692
|
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(e, t, i) {
|
|
4693
4693
|
var r = e("../utils/common"), n = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], a = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], o = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], u = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
|
|
4694
|
-
t.exports = function(h, m, f, l, p, d, g,
|
|
4695
|
-
var
|
|
4694
|
+
t.exports = function(h, m, f, l, p, d, g, v) {
|
|
4695
|
+
var b, x, y, A, I, w, R, L, D, N = v.bits, C = 0, M = 0, E = 0, U = 0, ie = 0, q = 0, oe = 0, $ = 0, se = 0, T = 0, B = null, z = 0, F = new r.Buf16(16), K = new r.Buf16(16), Q = null, pe = 0;
|
|
4696
4696
|
for (C = 0; C <= 15; C++)
|
|
4697
4697
|
F[C] = 0;
|
|
4698
4698
|
for (M = 0; M < l; M++)
|
|
@@ -4700,7 +4700,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4700
4700
|
for (ie = N, U = 15; 1 <= U && F[U] === 0; U--)
|
|
4701
4701
|
;
|
|
4702
4702
|
if (U < ie && (ie = U), U === 0)
|
|
4703
|
-
return p[d++] = 20971520, p[d++] = 20971520,
|
|
4703
|
+
return p[d++] = 20971520, p[d++] = 20971520, v.bits = 1, 0;
|
|
4704
4704
|
for (E = 1; E < U && F[E] === 0; E++)
|
|
4705
4705
|
;
|
|
4706
4706
|
for (ie < E && (ie = E), C = $ = 1; C <= 15; C++)
|
|
@@ -4715,11 +4715,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4715
4715
|
if (w = h === 0 ? (B = Q = g, 19) : h === 1 ? (B = n, z -= 257, Q = a, pe -= 257, 256) : (B = o, Q = u, -1), C = E, I = d, oe = M = T = 0, y = -1, A = (se = 1 << (q = ie)) - 1, h === 1 && 852 < se || h === 2 && 592 < se)
|
|
4716
4716
|
return 1;
|
|
4717
4717
|
for (; ; ) {
|
|
4718
|
-
for (R = C - oe, D = g[M] < w ? (L = 0, g[M]) : g[M] > w ? (L = Q[pe + g[M]], B[z + g[M]]) : (L = 96, 0),
|
|
4718
|
+
for (R = C - oe, D = g[M] < w ? (L = 0, g[M]) : g[M] > w ? (L = Q[pe + g[M]], B[z + g[M]]) : (L = 96, 0), b = 1 << C - oe, E = x = 1 << q; p[I + (T >> oe) + (x -= b)] = R << 24 | L << 16 | D | 0, x !== 0; )
|
|
4719
4719
|
;
|
|
4720
|
-
for (
|
|
4721
|
-
|
|
4722
|
-
if (
|
|
4720
|
+
for (b = 1 << C - 1; T & b; )
|
|
4721
|
+
b >>= 1;
|
|
4722
|
+
if (b !== 0 ? (T &= b - 1, T += b) : T = 0, M++, --F[C] == 0) {
|
|
4723
4723
|
if (C === U)
|
|
4724
4724
|
break;
|
|
4725
4725
|
C = m[f + g[M]];
|
|
@@ -4732,7 +4732,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4732
4732
|
p[y = T & A] = ie << 24 | q << 16 | I - d | 0;
|
|
4733
4733
|
}
|
|
4734
4734
|
}
|
|
4735
|
-
return T !== 0 && (p[I + T] = C - oe << 24 | 64 << 16 | 0),
|
|
4735
|
+
return T !== 0 && (p[I + T] = C - oe << 24 | 64 << 16 | 0), v.bits = ie, 0;
|
|
4736
4736
|
};
|
|
4737
4737
|
}, { "../utils/common": 41 }], 51: [function(e, t, i) {
|
|
4738
4738
|
t.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" };
|
|
@@ -4742,7 +4742,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4742
4742
|
for (var V = k.length; 0 <= --V; )
|
|
4743
4743
|
k[V] = 0;
|
|
4744
4744
|
}
|
|
4745
|
-
var u = 0, h = 29, m = 256, f = m + 1 + h, l = 30, p = 19, d = 2 * f + 1, g = 15,
|
|
4745
|
+
var u = 0, h = 29, m = 256, f = m + 1 + h, l = 30, p = 19, d = 2 * f + 1, g = 15, v = 16, b = 7, x = 256, y = 16, A = 17, I = 18, w = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], R = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], L = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], D = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], N = new Array(2 * (f + 2));
|
|
4746
4746
|
o(N);
|
|
4747
4747
|
var C = new Array(2 * l);
|
|
4748
4748
|
o(C);
|
|
@@ -4766,7 +4766,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4766
4766
|
k.pending_buf[k.pending++] = 255 & V, k.pending_buf[k.pending++] = V >>> 8 & 255;
|
|
4767
4767
|
}
|
|
4768
4768
|
function F(k, V, Z) {
|
|
4769
|
-
k.bi_valid >
|
|
4769
|
+
k.bi_valid > v - Z ? (k.bi_buf |= V << k.bi_valid & 65535, z(k, k.bi_buf), k.bi_buf = V >> v - k.bi_valid, k.bi_valid += Z - v) : (k.bi_buf |= V << k.bi_valid & 65535, k.bi_valid += Z);
|
|
4770
4770
|
}
|
|
4771
4771
|
function K(k, V, Z) {
|
|
4772
4772
|
F(k, Z[2 * V], Z[2 * V + 1]);
|
|
@@ -4795,15 +4795,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4795
4795
|
k.bl_tree[2 * V] = 0;
|
|
4796
4796
|
k.dyn_ltree[2 * x] = 1, k.opt_len = k.static_len = 0, k.last_lit = k.matches = 0;
|
|
4797
4797
|
}
|
|
4798
|
-
function
|
|
4798
|
+
function be(k) {
|
|
4799
4799
|
8 < k.bi_valid ? z(k, k.bi_buf) : 0 < k.bi_valid && (k.pending_buf[k.pending++] = k.bi_buf), k.bi_buf = 0, k.bi_valid = 0;
|
|
4800
4800
|
}
|
|
4801
|
-
function
|
|
4801
|
+
function we(k, V, Z, X) {
|
|
4802
4802
|
var H = 2 * V, ee = 2 * Z;
|
|
4803
4803
|
return k[H] < k[ee] || k[H] === k[ee] && X[V] <= X[Z];
|
|
4804
4804
|
}
|
|
4805
4805
|
function Ae(k, V, Z) {
|
|
4806
|
-
for (var X = k.heap[Z], H = Z << 1; H <= k.heap_len && (H < k.heap_len &&
|
|
4806
|
+
for (var X = k.heap[Z], H = Z << 1; H <= k.heap_len && (H < k.heap_len && we(V, k.heap[H + 1], k.heap[H], k.depth) && H++, !we(V, X, k.heap[H], k.depth)); )
|
|
4807
4807
|
k.heap[Z] = k.heap[H], Z = H, H <<= 1;
|
|
4808
4808
|
k.heap[Z] = X;
|
|
4809
4809
|
}
|
|
@@ -4814,7 +4814,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4814
4814
|
;
|
|
4815
4815
|
K(k, x, V);
|
|
4816
4816
|
}
|
|
4817
|
-
function
|
|
4817
|
+
function Ce(k, V) {
|
|
4818
4818
|
var Z, X, H, ee = V.dyn_tree, he = V.stat_desc.static_tree, re = V.stat_desc.has_stree, fe = V.stat_desc.elems, _e = -1;
|
|
4819
4819
|
for (k.heap_len = 0, k.heap_max = d, Z = 0; Z < fe; Z++)
|
|
4820
4820
|
ee[2 * Z] !== 0 ? (k.heap[++k.heap_len] = _e = Z, k.depth[Z] = 0) : ee[2 * Z + 1] = 0;
|
|
@@ -4824,12 +4824,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4824
4824
|
Ae(k, ee, Z);
|
|
4825
4825
|
for (H = fe; Z = k.heap[1], k.heap[1] = k.heap[k.heap_len--], Ae(k, ee, 1), X = k.heap[1], k.heap[--k.heap_max] = Z, k.heap[--k.heap_max] = X, ee[2 * H] = ee[2 * Z] + ee[2 * X], k.depth[H] = (k.depth[Z] >= k.depth[X] ? k.depth[Z] : k.depth[X]) + 1, ee[2 * Z + 1] = ee[2 * X + 1] = H, k.heap[1] = H++, Ae(k, ee, 1), 2 <= k.heap_len; )
|
|
4826
4826
|
;
|
|
4827
|
-
k.heap[--k.heap_max] = k.heap[1], function(xe,
|
|
4828
|
-
var mt, Me, it, Pe, gt, $t, lt =
|
|
4827
|
+
k.heap[--k.heap_max] = k.heap[1], function(xe, $e) {
|
|
4828
|
+
var mt, Me, it, Pe, gt, $t, lt = $e.dyn_tree, vi = $e.max_code, xi = $e.stat_desc.static_tree, ji = $e.stat_desc.has_stree, Si = $e.stat_desc.extra_bits, _i = $e.stat_desc.extra_base, Et = $e.stat_desc.max_length, qt = 0;
|
|
4829
4829
|
for (Pe = 0; Pe <= g; Pe++)
|
|
4830
4830
|
xe.bl_count[Pe] = 0;
|
|
4831
4831
|
for (lt[2 * xe.heap[xe.heap_max] + 1] = 0, mt = xe.heap_max + 1; mt < d; mt++)
|
|
4832
|
-
Et < (Pe = lt[2 * lt[2 * (Me = xe.heap[mt]) + 1] + 1] + 1) && (Pe = Et, qt++), lt[2 * Me + 1] = Pe,
|
|
4832
|
+
Et < (Pe = lt[2 * lt[2 * (Me = xe.heap[mt]) + 1] + 1] + 1) && (Pe = Et, qt++), lt[2 * Me + 1] = Pe, vi < Me || (xe.bl_count[Pe]++, gt = 0, _i <= Me && (gt = Si[Me - _i]), $t = lt[2 * Me], xe.opt_len += $t * (Pe + gt), ji && (xe.static_len += $t * (xi[2 * Me + 1] + gt)));
|
|
4833
4833
|
if (qt !== 0) {
|
|
4834
4834
|
do {
|
|
4835
4835
|
for (Pe = Et - 1; xe.bl_count[Pe] === 0; )
|
|
@@ -4838,7 +4838,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4838
4838
|
} while (0 < qt);
|
|
4839
4839
|
for (Pe = Et; Pe !== 0; Pe--)
|
|
4840
4840
|
for (Me = xe.bl_count[Pe]; Me !== 0; )
|
|
4841
|
-
|
|
4841
|
+
vi < (it = xe.heap[--mt]) || (lt[2 * it + 1] !== Pe && (xe.opt_len += (Pe - lt[2 * it + 1]) * lt[2 * it], lt[2 * it + 1] = Pe), Me--);
|
|
4842
4842
|
}
|
|
4843
4843
|
}(k, V), pe(ee, _e, k.bl_count);
|
|
4844
4844
|
}
|
|
@@ -4863,7 +4863,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4863
4863
|
var W = !1;
|
|
4864
4864
|
function P(k, V, Z, X) {
|
|
4865
4865
|
F(k, (u << 1) + (X ? 1 : 0), 3), function(H, ee, he, re) {
|
|
4866
|
-
|
|
4866
|
+
be(H), re && (z(H, he), z(H, ~he)), r.arraySet(H.pending_buf, H.window, ee, he, H.pending), H.pending += he;
|
|
4867
4867
|
}(k, V, Z, !0);
|
|
4868
4868
|
}
|
|
4869
4869
|
i._tr_init = function(k) {
|
|
@@ -4890,7 +4890,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4890
4890
|
N[2 * V + 1] = 8, V++, he[8]++;
|
|
4891
4891
|
for (pe(N, f + 1, he), V = 0; V < l; V++)
|
|
4892
4892
|
C[2 * V + 1] = 5, C[2 * V] = Q(V, 5);
|
|
4893
|
-
ie = new se(N, w, m + 1, f, g), q = new se(C, R, 0, l, g), oe = new se(new Array(0), L, 0, p,
|
|
4893
|
+
ie = new se(N, w, m + 1, f, g), q = new se(C, R, 0, l, g), oe = new se(new Array(0), L, 0, p, b);
|
|
4894
4894
|
}(), W = !0), k.l_desc = new T(k.dyn_ltree, ie), k.d_desc = new T(k.dyn_dtree, q), k.bl_desc = new T(k.bl_tree, oe), k.bi_buf = 0, k.bi_valid = 0, ce(k);
|
|
4895
4895
|
}, i._tr_stored_block = P, i._tr_flush_block = function(k, V, Z, X) {
|
|
4896
4896
|
var H, ee, he = 0;
|
|
@@ -4905,17 +4905,17 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4905
4905
|
if (re.dyn_ltree[2 * fe] !== 0)
|
|
4906
4906
|
return a;
|
|
4907
4907
|
return n;
|
|
4908
|
-
}(k)),
|
|
4908
|
+
}(k)), Ce(k, k.l_desc), Ce(k, k.d_desc), he = function(re) {
|
|
4909
4909
|
var fe;
|
|
4910
|
-
for (S(re, re.dyn_ltree, re.l_desc.max_code), S(re, re.dyn_dtree, re.d_desc.max_code),
|
|
4910
|
+
for (S(re, re.dyn_ltree, re.l_desc.max_code), S(re, re.dyn_dtree, re.d_desc.max_code), Ce(re, re.bl_desc), fe = p - 1; 3 <= fe && re.bl_tree[2 * D[fe] + 1] === 0; fe--)
|
|
4911
4911
|
;
|
|
4912
4912
|
return re.opt_len += 3 * (fe + 1) + 5 + 5 + 4, fe;
|
|
4913
4913
|
}(k), H = k.opt_len + 3 + 7 >>> 3, (ee = k.static_len + 3 + 7 >>> 3) <= H && (H = ee)) : H = ee = Z + 5, Z + 4 <= H && V !== -1 ? P(k, V, Z, X) : k.strategy === 4 || ee === H ? (F(k, 2 + (X ? 1 : 0), 3), Fe(k, N, C)) : (F(k, 4 + (X ? 1 : 0), 3), function(re, fe, _e, xe) {
|
|
4914
|
-
var
|
|
4915
|
-
for (F(re, fe - 257, 5), F(re, _e - 1, 5), F(re, xe - 4, 4),
|
|
4916
|
-
F(re, re.bl_tree[2 * D[
|
|
4914
|
+
var $e;
|
|
4915
|
+
for (F(re, fe - 257, 5), F(re, _e - 1, 5), F(re, xe - 4, 4), $e = 0; $e < xe; $e++)
|
|
4916
|
+
F(re, re.bl_tree[2 * D[$e] + 1], 3);
|
|
4917
4917
|
J(re, re.dyn_ltree, fe - 1), J(re, re.dyn_dtree, _e - 1);
|
|
4918
|
-
}(k, k.l_desc.max_code + 1, k.d_desc.max_code + 1, he + 1), Fe(k, k.dyn_ltree, k.dyn_dtree)), ce(k), X &&
|
|
4918
|
+
}(k, k.l_desc.max_code + 1, k.d_desc.max_code + 1, he + 1), Fe(k, k.dyn_ltree, k.dyn_dtree)), ce(k), X && be(k);
|
|
4919
4919
|
}, i._tr_tally = function(k, V, Z) {
|
|
4920
4920
|
return k.pending_buf[k.d_buf + 2 * k.last_lit] = V >>> 8 & 255, k.pending_buf[k.d_buf + 2 * k.last_lit + 1] = 255 & V, k.pending_buf[k.l_buf + k.last_lit] = 255 & Z, k.last_lit++, V === 0 ? k.dyn_ltree[2 * Z]++ : (k.matches++, V--, k.dyn_ltree[2 * (E[Z] + m + 1)]++, k.dyn_dtree[2 * B(V)]++), k.last_lit === k.lit_bufsize - 1;
|
|
4921
4921
|
}, i._tr_align = function(k) {
|
|
@@ -4934,7 +4934,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4934
4934
|
var o, u, h, m, f = 1, l = {}, p = !1, d = n.document, g = Object.getPrototypeOf && Object.getPrototypeOf(n);
|
|
4935
4935
|
g = g && g.setTimeout ? g : n, o = {}.toString.call(n.process) === "[object process]" ? function(y) {
|
|
4936
4936
|
process.nextTick(function() {
|
|
4937
|
-
|
|
4937
|
+
b(y);
|
|
4938
4938
|
});
|
|
4939
4939
|
} : function() {
|
|
4940
4940
|
if (n.postMessage && !n.importScripts) {
|
|
@@ -4946,30 +4946,30 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4946
4946
|
}() ? (m = "setImmediate$" + Math.random() + "$", n.addEventListener ? n.addEventListener("message", x, !1) : n.attachEvent("onmessage", x), function(y) {
|
|
4947
4947
|
n.postMessage(m + y, "*");
|
|
4948
4948
|
}) : n.MessageChannel ? ((h = new MessageChannel()).port1.onmessage = function(y) {
|
|
4949
|
-
|
|
4949
|
+
b(y.data);
|
|
4950
4950
|
}, function(y) {
|
|
4951
4951
|
h.port2.postMessage(y);
|
|
4952
4952
|
}) : d && "onreadystatechange" in d.createElement("script") ? (u = d.documentElement, function(y) {
|
|
4953
4953
|
var A = d.createElement("script");
|
|
4954
4954
|
A.onreadystatechange = function() {
|
|
4955
|
-
|
|
4955
|
+
b(y), A.onreadystatechange = null, u.removeChild(A), A = null;
|
|
4956
4956
|
}, u.appendChild(A);
|
|
4957
4957
|
}) : function(y) {
|
|
4958
|
-
setTimeout(
|
|
4958
|
+
setTimeout(b, 0, y);
|
|
4959
4959
|
}, g.setImmediate = function(y) {
|
|
4960
4960
|
typeof y != "function" && (y = new Function("" + y));
|
|
4961
4961
|
for (var A = new Array(arguments.length - 1), I = 0; I < A.length; I++)
|
|
4962
4962
|
A[I] = arguments[I + 1];
|
|
4963
4963
|
var w = { callback: y, args: A };
|
|
4964
4964
|
return l[f] = w, o(f), f++;
|
|
4965
|
-
}, g.clearImmediate =
|
|
4965
|
+
}, g.clearImmediate = v;
|
|
4966
4966
|
}
|
|
4967
|
-
function
|
|
4967
|
+
function v(y) {
|
|
4968
4968
|
delete l[y];
|
|
4969
4969
|
}
|
|
4970
|
-
function
|
|
4970
|
+
function b(y) {
|
|
4971
4971
|
if (p)
|
|
4972
|
-
setTimeout(
|
|
4972
|
+
setTimeout(b, 0, y);
|
|
4973
4973
|
else {
|
|
4974
4974
|
var A = l[y];
|
|
4975
4975
|
if (A) {
|
|
@@ -4995,16 +4995,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
4995
4995
|
}
|
|
4996
4996
|
})(A);
|
|
4997
4997
|
} finally {
|
|
4998
|
-
|
|
4998
|
+
v(y), p = !1;
|
|
4999
4999
|
}
|
|
5000
5000
|
}
|
|
5001
5001
|
}
|
|
5002
5002
|
}
|
|
5003
5003
|
function x(y) {
|
|
5004
|
-
y.source === n && typeof y.data == "string" && y.data.indexOf(m) === 0 &&
|
|
5004
|
+
y.source === n && typeof y.data == "string" && y.data.indexOf(m) === 0 && b(+y.data.slice(m.length));
|
|
5005
5005
|
}
|
|
5006
5006
|
})(typeof self == "undefined" ? r === void 0 ? this : r : self);
|
|
5007
|
-
}).call(this, typeof
|
|
5007
|
+
}).call(this, typeof ve != "undefined" ? ve : typeof self != "undefined" ? self : typeof window != "undefined" ? window : {});
|
|
5008
5008
|
}, {}] }, {}, [10])(10);
|
|
5009
5009
|
});
|
|
5010
5010
|
})(Aa);
|
|
@@ -5133,7 +5133,7 @@ function fn(s, c) {
|
|
|
5133
5133
|
};
|
|
5134
5134
|
return cr.set(c, r), r;
|
|
5135
5135
|
}
|
|
5136
|
-
wa((s) =>
|
|
5136
|
+
wa((s) => bt(me({}, s), {
|
|
5137
5137
|
get: (c, e, t) => fn(c, e) || s.get(c, e, t),
|
|
5138
5138
|
has: (c, e) => !!fn(c, e) || s.has(c, e)
|
|
5139
5139
|
}));
|
|
@@ -5161,7 +5161,7 @@ function ec(...s) {
|
|
|
5161
5161
|
function mn(s, c) {
|
|
5162
5162
|
return c === Symbol.asyncIterator && Xr(s, [IDBIndex, IDBObjectStore, IDBCursor]) || c === "iterate" && Xr(s, [IDBIndex, IDBObjectStore]);
|
|
5163
5163
|
}
|
|
5164
|
-
wa((s) =>
|
|
5164
|
+
wa((s) => bt(me({}, s), {
|
|
5165
5165
|
get(c, e, t) {
|
|
5166
5166
|
return mn(c, e) ? ec : s.get(c, e, t);
|
|
5167
5167
|
},
|
|
@@ -5192,7 +5192,7 @@ const tc = "AliRTCLog", Li = "AliRTCSessiones", Mi = "AliRTCLogs", ic = () => O(
|
|
|
5192
5192
|
yield s.add(Li, { sid: c });
|
|
5193
5193
|
}), gn = (s, c, e, t) => O(void 0, null, function* () {
|
|
5194
5194
|
yield s.add(Mi, { sid: c, log: t, date: e });
|
|
5195
|
-
}),
|
|
5195
|
+
}), bn = (s, c) => O(void 0, null, function* () {
|
|
5196
5196
|
return yield s.getAllFromIndex(Mi, "sid", c);
|
|
5197
5197
|
}), sc = (s) => O(void 0, null, function* () {
|
|
5198
5198
|
return yield s.getAllFromIndex(Li, "sid");
|
|
@@ -5206,39 +5206,39 @@ const ac = {}, oc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5206
5206
|
__proto__: null,
|
|
5207
5207
|
default: ac
|
|
5208
5208
|
}, Symbol.toStringTag, { value: "Module" })), cc = /* @__PURE__ */ Uo(oc);
|
|
5209
|
-
var
|
|
5209
|
+
var vn;
|
|
5210
5210
|
function Ee() {
|
|
5211
|
-
return
|
|
5211
|
+
return vn || (vn = 1, function(s, c) {
|
|
5212
5212
|
(function(e, t) {
|
|
5213
5213
|
s.exports = t();
|
|
5214
|
-
})(
|
|
5214
|
+
})(ve, function() {
|
|
5215
5215
|
var e = e || function(t, i) {
|
|
5216
5216
|
var r;
|
|
5217
|
-
if (typeof window != "undefined" && window.crypto && (r = window.crypto), typeof self != "undefined" && self.crypto && (r = self.crypto), typeof globalThis != "undefined" && globalThis.crypto && (r = globalThis.crypto), !r && typeof window != "undefined" && window.msCrypto && (r = window.msCrypto), !r && typeof
|
|
5217
|
+
if (typeof window != "undefined" && window.crypto && (r = window.crypto), typeof self != "undefined" && self.crypto && (r = self.crypto), typeof globalThis != "undefined" && globalThis.crypto && (r = globalThis.crypto), !r && typeof window != "undefined" && window.msCrypto && (r = window.msCrypto), !r && typeof ve != "undefined" && ve.crypto && (r = ve.crypto), !r && typeof oi == "function")
|
|
5218
5218
|
try {
|
|
5219
5219
|
r = cc;
|
|
5220
|
-
} catch (
|
|
5220
|
+
} catch (b) {
|
|
5221
5221
|
}
|
|
5222
5222
|
var n = function() {
|
|
5223
5223
|
if (r) {
|
|
5224
5224
|
if (typeof r.getRandomValues == "function")
|
|
5225
5225
|
try {
|
|
5226
5226
|
return r.getRandomValues(new Uint32Array(1))[0];
|
|
5227
|
-
} catch (
|
|
5227
|
+
} catch (b) {
|
|
5228
5228
|
}
|
|
5229
5229
|
if (typeof r.randomBytes == "function")
|
|
5230
5230
|
try {
|
|
5231
5231
|
return r.randomBytes(4).readInt32LE();
|
|
5232
|
-
} catch (
|
|
5232
|
+
} catch (b) {
|
|
5233
5233
|
}
|
|
5234
5234
|
}
|
|
5235
5235
|
throw new Error("Native crypto module could not be used to get secure random number.");
|
|
5236
5236
|
}, a = Object.create || function() {
|
|
5237
|
-
function
|
|
5237
|
+
function b() {
|
|
5238
5238
|
}
|
|
5239
5239
|
return function(x) {
|
|
5240
5240
|
var y;
|
|
5241
|
-
return
|
|
5241
|
+
return b.prototype = x, y = new b(), b.prototype = null, y;
|
|
5242
5242
|
};
|
|
5243
5243
|
}(), o = {}, u = o.lib = {}, h = u.Base = function() {
|
|
5244
5244
|
return {
|
|
@@ -5260,9 +5260,9 @@ function Ee() {
|
|
|
5260
5260
|
* }
|
|
5261
5261
|
* });
|
|
5262
5262
|
*/
|
|
5263
|
-
extend: function(
|
|
5263
|
+
extend: function(b) {
|
|
5264
5264
|
var x = a(this);
|
|
5265
|
-
return
|
|
5265
|
+
return b && x.mixIn(b), (!x.hasOwnProperty("init") || this.init === x.init) && (x.init = function() {
|
|
5266
5266
|
x.$super.init.apply(this, arguments);
|
|
5267
5267
|
}), x.init.prototype = x, x.$super = this, x;
|
|
5268
5268
|
},
|
|
@@ -5279,8 +5279,8 @@ function Ee() {
|
|
|
5279
5279
|
* var instance = MyType.create();
|
|
5280
5280
|
*/
|
|
5281
5281
|
create: function() {
|
|
5282
|
-
var
|
|
5283
|
-
return
|
|
5282
|
+
var b = this.extend();
|
|
5283
|
+
return b.init.apply(b, arguments), b;
|
|
5284
5284
|
},
|
|
5285
5285
|
/**
|
|
5286
5286
|
* Initializes a newly created object.
|
|
@@ -5307,10 +5307,10 @@ function Ee() {
|
|
|
5307
5307
|
* field: 'value'
|
|
5308
5308
|
* });
|
|
5309
5309
|
*/
|
|
5310
|
-
mixIn: function(
|
|
5311
|
-
for (var x in
|
|
5312
|
-
|
|
5313
|
-
|
|
5310
|
+
mixIn: function(b) {
|
|
5311
|
+
for (var x in b)
|
|
5312
|
+
b.hasOwnProperty(x) && (this[x] = b[x]);
|
|
5313
|
+
b.hasOwnProperty("toString") && (this.toString = b.toString);
|
|
5314
5314
|
},
|
|
5315
5315
|
/**
|
|
5316
5316
|
* Creates a copy of this object.
|
|
@@ -5338,8 +5338,8 @@ function Ee() {
|
|
|
5338
5338
|
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
|
|
5339
5339
|
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
|
|
5340
5340
|
*/
|
|
5341
|
-
init: function(
|
|
5342
|
-
|
|
5341
|
+
init: function(b, x) {
|
|
5342
|
+
b = this.words = b || [], x != i ? this.sigBytes = x : this.sigBytes = b.length * 4;
|
|
5343
5343
|
},
|
|
5344
5344
|
/**
|
|
5345
5345
|
* Converts this word array to a string.
|
|
@@ -5354,8 +5354,8 @@ function Ee() {
|
|
|
5354
5354
|
* var string = wordArray.toString();
|
|
5355
5355
|
* var string = wordArray.toString(CryptoJS.enc.Utf8);
|
|
5356
5356
|
*/
|
|
5357
|
-
toString: function(
|
|
5358
|
-
return (
|
|
5357
|
+
toString: function(b) {
|
|
5358
|
+
return (b || l).stringify(this);
|
|
5359
5359
|
},
|
|
5360
5360
|
/**
|
|
5361
5361
|
* Concatenates a word array to this word array.
|
|
@@ -5368,8 +5368,8 @@ function Ee() {
|
|
|
5368
5368
|
*
|
|
5369
5369
|
* wordArray1.concat(wordArray2);
|
|
5370
5370
|
*/
|
|
5371
|
-
concat: function(
|
|
5372
|
-
var x = this.words, y =
|
|
5371
|
+
concat: function(b) {
|
|
5372
|
+
var x = this.words, y = b.words, A = this.sigBytes, I = b.sigBytes;
|
|
5373
5373
|
if (this.clamp(), A % 4)
|
|
5374
5374
|
for (var w = 0; w < I; w++) {
|
|
5375
5375
|
var R = y[w >>> 2] >>> 24 - w % 4 * 8 & 255;
|
|
@@ -5388,8 +5388,8 @@ function Ee() {
|
|
|
5388
5388
|
* wordArray.clamp();
|
|
5389
5389
|
*/
|
|
5390
5390
|
clamp: function() {
|
|
5391
|
-
var
|
|
5392
|
-
|
|
5391
|
+
var b = this.words, x = this.sigBytes;
|
|
5392
|
+
b[x >>> 2] &= 4294967295 << 32 - x % 4 * 8, b.length = t.ceil(x / 4);
|
|
5393
5393
|
},
|
|
5394
5394
|
/**
|
|
5395
5395
|
* Creates a copy of this word array.
|
|
@@ -5401,8 +5401,8 @@ function Ee() {
|
|
|
5401
5401
|
* var clone = wordArray.clone();
|
|
5402
5402
|
*/
|
|
5403
5403
|
clone: function() {
|
|
5404
|
-
var
|
|
5405
|
-
return
|
|
5404
|
+
var b = h.clone.call(this);
|
|
5405
|
+
return b.words = this.words.slice(0), b;
|
|
5406
5406
|
},
|
|
5407
5407
|
/**
|
|
5408
5408
|
* Creates a word array filled with random bytes.
|
|
@@ -5417,10 +5417,10 @@ function Ee() {
|
|
|
5417
5417
|
*
|
|
5418
5418
|
* var wordArray = CryptoJS.lib.WordArray.random(16);
|
|
5419
5419
|
*/
|
|
5420
|
-
random: function(
|
|
5421
|
-
for (var x = [], y = 0; y <
|
|
5420
|
+
random: function(b) {
|
|
5421
|
+
for (var x = [], y = 0; y < b; y += 4)
|
|
5422
5422
|
x.push(n());
|
|
5423
|
-
return new m.init(x,
|
|
5423
|
+
return new m.init(x, b);
|
|
5424
5424
|
}
|
|
5425
5425
|
}), f = o.enc = {}, l = f.Hex = {
|
|
5426
5426
|
/**
|
|
@@ -5436,8 +5436,8 @@ function Ee() {
|
|
|
5436
5436
|
*
|
|
5437
5437
|
* var hexString = CryptoJS.enc.Hex.stringify(wordArray);
|
|
5438
5438
|
*/
|
|
5439
|
-
stringify: function(
|
|
5440
|
-
for (var x =
|
|
5439
|
+
stringify: function(b) {
|
|
5440
|
+
for (var x = b.words, y = b.sigBytes, A = [], I = 0; I < y; I++) {
|
|
5441
5441
|
var w = x[I >>> 2] >>> 24 - I % 4 * 8 & 255;
|
|
5442
5442
|
A.push((w >>> 4).toString(16)), A.push((w & 15).toString(16));
|
|
5443
5443
|
}
|
|
@@ -5456,9 +5456,9 @@ function Ee() {
|
|
|
5456
5456
|
*
|
|
5457
5457
|
* var wordArray = CryptoJS.enc.Hex.parse(hexString);
|
|
5458
5458
|
*/
|
|
5459
|
-
parse: function(
|
|
5460
|
-
for (var x =
|
|
5461
|
-
y[A >>> 3] |= parseInt(
|
|
5459
|
+
parse: function(b) {
|
|
5460
|
+
for (var x = b.length, y = [], A = 0; A < x; A += 2)
|
|
5461
|
+
y[A >>> 3] |= parseInt(b.substr(A, 2), 16) << 24 - A % 8 * 4;
|
|
5462
5462
|
return new m.init(y, x / 2);
|
|
5463
5463
|
}
|
|
5464
5464
|
}, p = f.Latin1 = {
|
|
@@ -5475,8 +5475,8 @@ function Ee() {
|
|
|
5475
5475
|
*
|
|
5476
5476
|
* var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
|
|
5477
5477
|
*/
|
|
5478
|
-
stringify: function(
|
|
5479
|
-
for (var x =
|
|
5478
|
+
stringify: function(b) {
|
|
5479
|
+
for (var x = b.words, y = b.sigBytes, A = [], I = 0; I < y; I++) {
|
|
5480
5480
|
var w = x[I >>> 2] >>> 24 - I % 4 * 8 & 255;
|
|
5481
5481
|
A.push(String.fromCharCode(w));
|
|
5482
5482
|
}
|
|
@@ -5495,9 +5495,9 @@ function Ee() {
|
|
|
5495
5495
|
*
|
|
5496
5496
|
* var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
|
|
5497
5497
|
*/
|
|
5498
|
-
parse: function(
|
|
5499
|
-
for (var x =
|
|
5500
|
-
y[A >>> 2] |= (
|
|
5498
|
+
parse: function(b) {
|
|
5499
|
+
for (var x = b.length, y = [], A = 0; A < x; A++)
|
|
5500
|
+
y[A >>> 2] |= (b.charCodeAt(A) & 255) << 24 - A % 4 * 8;
|
|
5501
5501
|
return new m.init(y, x);
|
|
5502
5502
|
}
|
|
5503
5503
|
}, d = f.Utf8 = {
|
|
@@ -5514,9 +5514,9 @@ function Ee() {
|
|
|
5514
5514
|
*
|
|
5515
5515
|
* var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
|
|
5516
5516
|
*/
|
|
5517
|
-
stringify: function(
|
|
5517
|
+
stringify: function(b) {
|
|
5518
5518
|
try {
|
|
5519
|
-
return decodeURIComponent(escape(p.stringify(
|
|
5519
|
+
return decodeURIComponent(escape(p.stringify(b)));
|
|
5520
5520
|
} catch (x) {
|
|
5521
5521
|
throw new Error("Malformed UTF-8 data");
|
|
5522
5522
|
}
|
|
@@ -5534,8 +5534,8 @@ function Ee() {
|
|
|
5534
5534
|
*
|
|
5535
5535
|
* var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
|
|
5536
5536
|
*/
|
|
5537
|
-
parse: function(
|
|
5538
|
-
return p.parse(unescape(encodeURIComponent(
|
|
5537
|
+
parse: function(b) {
|
|
5538
|
+
return p.parse(unescape(encodeURIComponent(b)));
|
|
5539
5539
|
}
|
|
5540
5540
|
}, g = u.BufferedBlockAlgorithm = h.extend({
|
|
5541
5541
|
/**
|
|
@@ -5558,8 +5558,8 @@ function Ee() {
|
|
|
5558
5558
|
* bufferedBlockAlgorithm._append('data');
|
|
5559
5559
|
* bufferedBlockAlgorithm._append(wordArray);
|
|
5560
5560
|
*/
|
|
5561
|
-
_append: function(
|
|
5562
|
-
typeof
|
|
5561
|
+
_append: function(b) {
|
|
5562
|
+
typeof b == "string" && (b = d.parse(b)), this._data.concat(b), this._nDataBytes += b.sigBytes;
|
|
5563
5563
|
},
|
|
5564
5564
|
/**
|
|
5565
5565
|
* Processes available data blocks.
|
|
@@ -5575,9 +5575,9 @@ function Ee() {
|
|
|
5575
5575
|
* var processedData = bufferedBlockAlgorithm._process();
|
|
5576
5576
|
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
5577
5577
|
*/
|
|
5578
|
-
_process: function(
|
|
5578
|
+
_process: function(b) {
|
|
5579
5579
|
var x, y = this._data, A = y.words, I = y.sigBytes, w = this.blockSize, R = w * 4, L = I / R;
|
|
5580
|
-
|
|
5580
|
+
b ? L = t.ceil(L) : L = t.max((L | 0) - this._minBufferSize, 0);
|
|
5581
5581
|
var D = L * w, N = t.min(D * 4, I);
|
|
5582
5582
|
if (D) {
|
|
5583
5583
|
for (var C = 0; C < D; C += w)
|
|
@@ -5596,8 +5596,8 @@ function Ee() {
|
|
|
5596
5596
|
* var clone = bufferedBlockAlgorithm.clone();
|
|
5597
5597
|
*/
|
|
5598
5598
|
clone: function() {
|
|
5599
|
-
var
|
|
5600
|
-
return
|
|
5599
|
+
var b = h.clone.call(this);
|
|
5600
|
+
return b._data = this._data.clone(), b;
|
|
5601
5601
|
},
|
|
5602
5602
|
_minBufferSize: 0
|
|
5603
5603
|
});
|
|
@@ -5615,8 +5615,8 @@ function Ee() {
|
|
|
5615
5615
|
*
|
|
5616
5616
|
* var hasher = CryptoJS.algo.SHA256.create();
|
|
5617
5617
|
*/
|
|
5618
|
-
init: function(
|
|
5619
|
-
this.cfg = this.cfg.extend(
|
|
5618
|
+
init: function(b) {
|
|
5619
|
+
this.cfg = this.cfg.extend(b), this.reset();
|
|
5620
5620
|
},
|
|
5621
5621
|
/**
|
|
5622
5622
|
* Resets this hasher to its initial state.
|
|
@@ -5640,8 +5640,8 @@ function Ee() {
|
|
|
5640
5640
|
* hasher.update('message');
|
|
5641
5641
|
* hasher.update(wordArray);
|
|
5642
5642
|
*/
|
|
5643
|
-
update: function(
|
|
5644
|
-
return this._append(
|
|
5643
|
+
update: function(b) {
|
|
5644
|
+
return this._append(b), this._process(), this;
|
|
5645
5645
|
},
|
|
5646
5646
|
/**
|
|
5647
5647
|
* Finalizes the hash computation.
|
|
@@ -5657,8 +5657,8 @@ function Ee() {
|
|
|
5657
5657
|
* var hash = hasher.finalize('message');
|
|
5658
5658
|
* var hash = hasher.finalize(wordArray);
|
|
5659
5659
|
*/
|
|
5660
|
-
finalize: function(
|
|
5661
|
-
|
|
5660
|
+
finalize: function(b) {
|
|
5661
|
+
b && this._append(b);
|
|
5662
5662
|
var x = this._doFinalize();
|
|
5663
5663
|
return x;
|
|
5664
5664
|
},
|
|
@@ -5676,9 +5676,9 @@ function Ee() {
|
|
|
5676
5676
|
*
|
|
5677
5677
|
* var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
|
|
5678
5678
|
*/
|
|
5679
|
-
_createHelper: function(
|
|
5679
|
+
_createHelper: function(b) {
|
|
5680
5680
|
return function(x, y) {
|
|
5681
|
-
return new
|
|
5681
|
+
return new b.init(y).finalize(x);
|
|
5682
5682
|
};
|
|
5683
5683
|
},
|
|
5684
5684
|
/**
|
|
@@ -5694,13 +5694,13 @@ function Ee() {
|
|
|
5694
5694
|
*
|
|
5695
5695
|
* var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
|
|
5696
5696
|
*/
|
|
5697
|
-
_createHmacHelper: function(
|
|
5697
|
+
_createHmacHelper: function(b) {
|
|
5698
5698
|
return function(x, y) {
|
|
5699
|
-
return new
|
|
5699
|
+
return new v.HMAC.init(b, y).finalize(x);
|
|
5700
5700
|
};
|
|
5701
5701
|
}
|
|
5702
5702
|
});
|
|
5703
|
-
var
|
|
5703
|
+
var v = o.algo = {};
|
|
5704
5704
|
return o;
|
|
5705
5705
|
}(Math);
|
|
5706
5706
|
return e;
|
|
@@ -5712,7 +5712,7 @@ function Ni() {
|
|
|
5712
5712
|
return xn || (xn = 1, function(s, c) {
|
|
5713
5713
|
(function(e, t) {
|
|
5714
5714
|
s.exports = t(Ee());
|
|
5715
|
-
})(
|
|
5715
|
+
})(ve, function(e) {
|
|
5716
5716
|
return function(t) {
|
|
5717
5717
|
var i = e, r = i.lib, n = r.Base, a = r.WordArray, o = i.x64 = {};
|
|
5718
5718
|
o.Word = n.extend({
|
|
@@ -5942,7 +5942,7 @@ function uc() {
|
|
|
5942
5942
|
return Sn || (Sn = 1, function(s, c) {
|
|
5943
5943
|
(function(e, t) {
|
|
5944
5944
|
s.exports = t(Ee());
|
|
5945
|
-
})(
|
|
5945
|
+
})(ve, function(e) {
|
|
5946
5946
|
return function() {
|
|
5947
5947
|
if (typeof ArrayBuffer == "function") {
|
|
5948
5948
|
var t = e, i = t.lib, r = i.WordArray, n = r.init, a = r.init = function(o) {
|
|
@@ -5964,7 +5964,7 @@ function hc() {
|
|
|
5964
5964
|
return _n || (_n = 1, function(s, c) {
|
|
5965
5965
|
(function(e, t) {
|
|
5966
5966
|
s.exports = t(Ee());
|
|
5967
|
-
})(
|
|
5967
|
+
})(ve, function(e) {
|
|
5968
5968
|
return function() {
|
|
5969
5969
|
var t = e, i = t.lib, r = i.WordArray, n = t.enc;
|
|
5970
5970
|
n.Utf16 = n.Utf16BE = {
|
|
@@ -6058,7 +6058,7 @@ function Wt() {
|
|
|
6058
6058
|
return yn || (yn = 1, function(s, c) {
|
|
6059
6059
|
(function(e, t) {
|
|
6060
6060
|
s.exports = t(Ee());
|
|
6061
|
-
})(
|
|
6061
|
+
})(ve, function(e) {
|
|
6062
6062
|
return function() {
|
|
6063
6063
|
var t = e, i = t.lib, r = i.WordArray, n = t.enc;
|
|
6064
6064
|
n.Base64 = {
|
|
@@ -6079,8 +6079,8 @@ function Wt() {
|
|
|
6079
6079
|
var u = o.words, h = o.sigBytes, m = this._map;
|
|
6080
6080
|
o.clamp();
|
|
6081
6081
|
for (var f = [], l = 0; l < h; l += 3)
|
|
6082
|
-
for (var p = u[l >>> 2] >>> 24 - l % 4 * 8 & 255, d = u[l + 1 >>> 2] >>> 24 - (l + 1) % 4 * 8 & 255, g = u[l + 2 >>> 2] >>> 24 - (l + 2) % 4 * 8 & 255,
|
|
6083
|
-
f.push(m.charAt(
|
|
6082
|
+
for (var p = u[l >>> 2] >>> 24 - l % 4 * 8 & 255, d = u[l + 1 >>> 2] >>> 24 - (l + 1) % 4 * 8 & 255, g = u[l + 2 >>> 2] >>> 24 - (l + 2) % 4 * 8 & 255, v = p << 16 | d << 8 | g, b = 0; b < 4 && l + b * 0.75 < h; b++)
|
|
6083
|
+
f.push(m.charAt(v >>> 6 * (3 - b) & 63));
|
|
6084
6084
|
var x = m.charAt(64);
|
|
6085
6085
|
if (x)
|
|
6086
6086
|
for (; f.length % 4; )
|
|
@@ -6133,7 +6133,7 @@ function dc() {
|
|
|
6133
6133
|
return En || (En = 1, function(s, c) {
|
|
6134
6134
|
(function(e, t) {
|
|
6135
6135
|
s.exports = t(Ee());
|
|
6136
|
-
})(
|
|
6136
|
+
})(ve, function(e) {
|
|
6137
6137
|
return function() {
|
|
6138
6138
|
var t = e, i = t.lib, r = i.WordArray, n = t.enc;
|
|
6139
6139
|
n.Base64url = {
|
|
@@ -6157,8 +6157,8 @@ function dc() {
|
|
|
6157
6157
|
var h = o.words, m = o.sigBytes, f = u ? this._safe_map : this._map;
|
|
6158
6158
|
o.clamp();
|
|
6159
6159
|
for (var l = [], p = 0; p < m; p += 3)
|
|
6160
|
-
for (var d = h[p >>> 2] >>> 24 - p % 4 * 8 & 255, g = h[p + 1 >>> 2] >>> 24 - (p + 1) % 4 * 8 & 255,
|
|
6161
|
-
l.push(f.charAt(
|
|
6160
|
+
for (var d = h[p >>> 2] >>> 24 - p % 4 * 8 & 255, g = h[p + 1 >>> 2] >>> 24 - (p + 1) % 4 * 8 & 255, v = h[p + 2 >>> 2] >>> 24 - (p + 2) % 4 * 8 & 255, b = d << 16 | g << 8 | v, x = 0; x < 4 && p + x * 0.75 < m; x++)
|
|
6161
|
+
l.push(f.charAt(b >>> 6 * (3 - x) & 63));
|
|
6162
6162
|
var y = f.charAt(64);
|
|
6163
6163
|
if (y)
|
|
6164
6164
|
for (; l.length % 4; )
|
|
@@ -6215,7 +6215,7 @@ function Kt() {
|
|
|
6215
6215
|
return An || (An = 1, function(s, c) {
|
|
6216
6216
|
(function(e, t) {
|
|
6217
6217
|
s.exports = t(Ee());
|
|
6218
|
-
})(
|
|
6218
|
+
})(ve, function(e) {
|
|
6219
6219
|
return function(t) {
|
|
6220
6220
|
var i = e, r = i.lib, n = r.WordArray, a = r.Hasher, o = i.algo, u = [];
|
|
6221
6221
|
(function() {
|
|
@@ -6232,18 +6232,18 @@ function Kt() {
|
|
|
6232
6232
|
]);
|
|
6233
6233
|
},
|
|
6234
6234
|
_doProcessBlock: function(d, g) {
|
|
6235
|
-
for (var
|
|
6236
|
-
var
|
|
6237
|
-
d[
|
|
6235
|
+
for (var v = 0; v < 16; v++) {
|
|
6236
|
+
var b = g + v, x = d[b];
|
|
6237
|
+
d[b] = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360;
|
|
6238
6238
|
}
|
|
6239
6239
|
var y = this._hash.words, A = d[g + 0], I = d[g + 1], w = d[g + 2], R = d[g + 3], L = d[g + 4], D = d[g + 5], N = d[g + 6], C = d[g + 7], M = d[g + 8], E = d[g + 9], U = d[g + 10], ie = d[g + 11], q = d[g + 12], oe = d[g + 13], $ = d[g + 14], se = d[g + 15], T = y[0], B = y[1], z = y[2], F = y[3];
|
|
6240
6240
|
T = m(T, B, z, F, A, 7, u[0]), F = m(F, T, B, z, I, 12, u[1]), z = m(z, F, T, B, w, 17, u[2]), B = m(B, z, F, T, R, 22, u[3]), T = m(T, B, z, F, L, 7, u[4]), F = m(F, T, B, z, D, 12, u[5]), z = m(z, F, T, B, N, 17, u[6]), B = m(B, z, F, T, C, 22, u[7]), T = m(T, B, z, F, M, 7, u[8]), F = m(F, T, B, z, E, 12, u[9]), z = m(z, F, T, B, U, 17, u[10]), B = m(B, z, F, T, ie, 22, u[11]), T = m(T, B, z, F, q, 7, u[12]), F = m(F, T, B, z, oe, 12, u[13]), z = m(z, F, T, B, $, 17, u[14]), B = m(B, z, F, T, se, 22, u[15]), T = f(T, B, z, F, I, 5, u[16]), F = f(F, T, B, z, N, 9, u[17]), z = f(z, F, T, B, ie, 14, u[18]), B = f(B, z, F, T, A, 20, u[19]), T = f(T, B, z, F, D, 5, u[20]), F = f(F, T, B, z, U, 9, u[21]), z = f(z, F, T, B, se, 14, u[22]), B = f(B, z, F, T, L, 20, u[23]), T = f(T, B, z, F, E, 5, u[24]), F = f(F, T, B, z, $, 9, u[25]), z = f(z, F, T, B, R, 14, u[26]), B = f(B, z, F, T, M, 20, u[27]), T = f(T, B, z, F, oe, 5, u[28]), F = f(F, T, B, z, w, 9, u[29]), z = f(z, F, T, B, C, 14, u[30]), B = f(B, z, F, T, q, 20, u[31]), T = l(T, B, z, F, D, 4, u[32]), F = l(F, T, B, z, M, 11, u[33]), z = l(z, F, T, B, ie, 16, u[34]), B = l(B, z, F, T, $, 23, u[35]), T = l(T, B, z, F, I, 4, u[36]), F = l(F, T, B, z, L, 11, u[37]), z = l(z, F, T, B, C, 16, u[38]), B = l(B, z, F, T, U, 23, u[39]), T = l(T, B, z, F, oe, 4, u[40]), F = l(F, T, B, z, A, 11, u[41]), z = l(z, F, T, B, R, 16, u[42]), B = l(B, z, F, T, N, 23, u[43]), T = l(T, B, z, F, E, 4, u[44]), F = l(F, T, B, z, q, 11, u[45]), z = l(z, F, T, B, se, 16, u[46]), B = l(B, z, F, T, w, 23, u[47]), T = p(T, B, z, F, A, 6, u[48]), F = p(F, T, B, z, C, 10, u[49]), z = p(z, F, T, B, $, 15, u[50]), B = p(B, z, F, T, D, 21, u[51]), T = p(T, B, z, F, q, 6, u[52]), F = p(F, T, B, z, R, 10, u[53]), z = p(z, F, T, B, U, 15, u[54]), B = p(B, z, F, T, I, 21, u[55]), T = p(T, B, z, F, M, 6, u[56]), F = p(F, T, B, z, se, 10, u[57]), z = p(z, F, T, B, N, 15, u[58]), B = p(B, z, F, T, oe, 21, u[59]), T = p(T, B, z, F, L, 6, u[60]), F = p(F, T, B, z, ie, 10, u[61]), z = p(z, F, T, B, w, 15, u[62]), B = p(B, z, F, T, E, 21, u[63]), y[0] = y[0] + T | 0, y[1] = y[1] + B | 0, y[2] = y[2] + z | 0, y[3] = y[3] + F | 0;
|
|
6241
6241
|
},
|
|
6242
6242
|
_doFinalize: function() {
|
|
6243
|
-
var d = this._data, g = d.words,
|
|
6244
|
-
g[
|
|
6245
|
-
var x = t.floor(
|
|
6246
|
-
g[(
|
|
6243
|
+
var d = this._data, g = d.words, v = this._nDataBytes * 8, b = d.sigBytes * 8;
|
|
6244
|
+
g[b >>> 5] |= 128 << 24 - b % 32;
|
|
6245
|
+
var x = t.floor(v / 4294967296), y = v;
|
|
6246
|
+
g[(b + 64 >>> 9 << 4) + 15] = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, g[(b + 64 >>> 9 << 4) + 14] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, d.sigBytes = (g.length + 1) * 4, this._process();
|
|
6247
6247
|
for (var A = this._hash, I = A.words, w = 0; w < 4; w++) {
|
|
6248
6248
|
var R = I[w];
|
|
6249
6249
|
I[w] = (R << 8 | R >>> 24) & 16711935 | (R << 24 | R >>> 8) & 4278255360;
|
|
@@ -6255,20 +6255,20 @@ function Kt() {
|
|
|
6255
6255
|
return d._hash = this._hash.clone(), d;
|
|
6256
6256
|
}
|
|
6257
6257
|
});
|
|
6258
|
-
function m(d, g,
|
|
6259
|
-
var I = d + (g &
|
|
6258
|
+
function m(d, g, v, b, x, y, A) {
|
|
6259
|
+
var I = d + (g & v | ~g & b) + x + A;
|
|
6260
6260
|
return (I << y | I >>> 32 - y) + g;
|
|
6261
6261
|
}
|
|
6262
|
-
function f(d, g,
|
|
6263
|
-
var I = d + (g &
|
|
6262
|
+
function f(d, g, v, b, x, y, A) {
|
|
6263
|
+
var I = d + (g & b | v & ~b) + x + A;
|
|
6264
6264
|
return (I << y | I >>> 32 - y) + g;
|
|
6265
6265
|
}
|
|
6266
|
-
function l(d, g,
|
|
6267
|
-
var I = d + (g ^
|
|
6266
|
+
function l(d, g, v, b, x, y, A) {
|
|
6267
|
+
var I = d + (g ^ v ^ b) + x + A;
|
|
6268
6268
|
return (I << y | I >>> 32 - y) + g;
|
|
6269
6269
|
}
|
|
6270
|
-
function p(d, g,
|
|
6271
|
-
var I = d + (
|
|
6270
|
+
function p(d, g, v, b, x, y, A) {
|
|
6271
|
+
var I = d + (v ^ (g | ~b)) + x + A;
|
|
6272
6272
|
return (I << y | I >>> 32 - y) + g;
|
|
6273
6273
|
}
|
|
6274
6274
|
i.MD5 = a._createHelper(h), i.HmacMD5 = a._createHmacHelper(h);
|
|
@@ -6276,12 +6276,12 @@ function Kt() {
|
|
|
6276
6276
|
});
|
|
6277
6277
|
}(gr)), gr.exports;
|
|
6278
6278
|
}
|
|
6279
|
-
var
|
|
6279
|
+
var br = { exports: {} }, wn;
|
|
6280
6280
|
function Ra() {
|
|
6281
6281
|
return wn || (wn = 1, function(s, c) {
|
|
6282
6282
|
(function(e, t) {
|
|
6283
6283
|
s.exports = t(Ee());
|
|
6284
|
-
})(
|
|
6284
|
+
})(ve, function(e) {
|
|
6285
6285
|
return function() {
|
|
6286
6286
|
var t = e, i = t.lib, r = i.WordArray, n = i.Hasher, a = t.algo, o = [], u = a.SHA1 = n.extend({
|
|
6287
6287
|
_doReset: function() {
|
|
@@ -6294,17 +6294,17 @@ function Ra() {
|
|
|
6294
6294
|
]);
|
|
6295
6295
|
},
|
|
6296
6296
|
_doProcessBlock: function(h, m) {
|
|
6297
|
-
for (var f = this._hash.words, l = f[0], p = f[1], d = f[2], g = f[3],
|
|
6298
|
-
if (
|
|
6299
|
-
o[
|
|
6297
|
+
for (var f = this._hash.words, l = f[0], p = f[1], d = f[2], g = f[3], v = f[4], b = 0; b < 80; b++) {
|
|
6298
|
+
if (b < 16)
|
|
6299
|
+
o[b] = h[m + b] | 0;
|
|
6300
6300
|
else {
|
|
6301
|
-
var x = o[
|
|
6302
|
-
o[
|
|
6301
|
+
var x = o[b - 3] ^ o[b - 8] ^ o[b - 14] ^ o[b - 16];
|
|
6302
|
+
o[b] = x << 1 | x >>> 31;
|
|
6303
6303
|
}
|
|
6304
|
-
var y = (l << 5 | l >>> 27) +
|
|
6305
|
-
|
|
6304
|
+
var y = (l << 5 | l >>> 27) + v + o[b];
|
|
6305
|
+
b < 20 ? y += (p & d | ~p & g) + 1518500249 : b < 40 ? y += (p ^ d ^ g) + 1859775393 : b < 60 ? y += (p & d | p & g | d & g) - 1894007588 : y += (p ^ d ^ g) - 899497514, v = g, g = d, d = p << 30 | p >>> 2, p = l, l = y;
|
|
6306
6306
|
}
|
|
6307
|
-
f[0] = f[0] + l | 0, f[1] = f[1] + p | 0, f[2] = f[2] + d | 0, f[3] = f[3] + g | 0, f[4] = f[4] +
|
|
6307
|
+
f[0] = f[0] + l | 0, f[1] = f[1] + p | 0, f[2] = f[2] + d | 0, f[3] = f[3] + g | 0, f[4] = f[4] + v | 0;
|
|
6308
6308
|
},
|
|
6309
6309
|
_doFinalize: function() {
|
|
6310
6310
|
var h = this._data, m = h.words, f = this._nDataBytes * 8, l = h.sigBytes * 8;
|
|
@@ -6318,25 +6318,25 @@ function Ra() {
|
|
|
6318
6318
|
t.SHA1 = n._createHelper(u), t.HmacSHA1 = n._createHmacHelper(u);
|
|
6319
6319
|
}(), e.SHA1;
|
|
6320
6320
|
});
|
|
6321
|
-
}(
|
|
6321
|
+
}(br)), br.exports;
|
|
6322
6322
|
}
|
|
6323
|
-
var
|
|
6323
|
+
var vr = { exports: {} }, Cn;
|
|
6324
6324
|
function ls() {
|
|
6325
6325
|
return Cn || (Cn = 1, function(s, c) {
|
|
6326
6326
|
(function(e, t) {
|
|
6327
6327
|
s.exports = t(Ee());
|
|
6328
|
-
})(
|
|
6328
|
+
})(ve, function(e) {
|
|
6329
6329
|
return function(t) {
|
|
6330
6330
|
var i = e, r = i.lib, n = r.WordArray, a = r.Hasher, o = i.algo, u = [], h = [];
|
|
6331
6331
|
(function() {
|
|
6332
|
-
function l(
|
|
6333
|
-
for (var
|
|
6334
|
-
if (!(
|
|
6332
|
+
function l(v) {
|
|
6333
|
+
for (var b = t.sqrt(v), x = 2; x <= b; x++)
|
|
6334
|
+
if (!(v % x))
|
|
6335
6335
|
return !1;
|
|
6336
6336
|
return !0;
|
|
6337
6337
|
}
|
|
6338
|
-
function p(
|
|
6339
|
-
return (
|
|
6338
|
+
function p(v) {
|
|
6339
|
+
return (v - (v | 0)) * 4294967296 | 0;
|
|
6340
6340
|
}
|
|
6341
6341
|
for (var d = 2, g = 0; g < 64; )
|
|
6342
6342
|
l(d) && (g < 8 && (u[g] = p(t.pow(d, 1 / 2))), h[g] = p(t.pow(d, 1 / 3)), g++), d++;
|
|
@@ -6346,17 +6346,17 @@ function ls() {
|
|
|
6346
6346
|
this._hash = new n.init(u.slice(0));
|
|
6347
6347
|
},
|
|
6348
6348
|
_doProcessBlock: function(l, p) {
|
|
6349
|
-
for (var d = this._hash.words, g = d[0],
|
|
6349
|
+
for (var d = this._hash.words, g = d[0], v = d[1], b = d[2], x = d[3], y = d[4], A = d[5], I = d[6], w = d[7], R = 0; R < 64; R++) {
|
|
6350
6350
|
if (R < 16)
|
|
6351
6351
|
m[R] = l[p + R] | 0;
|
|
6352
6352
|
else {
|
|
6353
6353
|
var L = m[R - 15], D = (L << 25 | L >>> 7) ^ (L << 14 | L >>> 18) ^ L >>> 3, N = m[R - 2], C = (N << 15 | N >>> 17) ^ (N << 13 | N >>> 19) ^ N >>> 10;
|
|
6354
6354
|
m[R] = D + m[R - 7] + C + m[R - 16];
|
|
6355
6355
|
}
|
|
6356
|
-
var M = y & A ^ ~y & I, E = g &
|
|
6357
|
-
w = I, I = A, A = y, y = x + q | 0, x =
|
|
6356
|
+
var M = y & A ^ ~y & I, E = g & v ^ g & b ^ v & b, U = (g << 30 | g >>> 2) ^ (g << 19 | g >>> 13) ^ (g << 10 | g >>> 22), ie = (y << 26 | y >>> 6) ^ (y << 21 | y >>> 11) ^ (y << 7 | y >>> 25), q = w + ie + M + h[R] + m[R], oe = U + E;
|
|
6357
|
+
w = I, I = A, A = y, y = x + q | 0, x = b, b = v, v = g, g = q + oe | 0;
|
|
6358
6358
|
}
|
|
6359
|
-
d[0] = d[0] + g | 0, d[1] = d[1] +
|
|
6359
|
+
d[0] = d[0] + g | 0, d[1] = d[1] + v | 0, d[2] = d[2] + b | 0, d[3] = d[3] + x | 0, d[4] = d[4] + y | 0, d[5] = d[5] + A | 0, d[6] = d[6] + I | 0, d[7] = d[7] + w | 0;
|
|
6360
6360
|
},
|
|
6361
6361
|
_doFinalize: function() {
|
|
6362
6362
|
var l = this._data, p = l.words, d = this._nDataBytes * 8, g = l.sigBytes * 8;
|
|
@@ -6370,14 +6370,14 @@ function ls() {
|
|
|
6370
6370
|
i.SHA256 = a._createHelper(f), i.HmacSHA256 = a._createHmacHelper(f);
|
|
6371
6371
|
}(Math), e.SHA256;
|
|
6372
6372
|
});
|
|
6373
|
-
}(
|
|
6373
|
+
}(vr)), vr.exports;
|
|
6374
6374
|
}
|
|
6375
6375
|
var xr = { exports: {} }, In;
|
|
6376
6376
|
function lc() {
|
|
6377
6377
|
return In || (In = 1, function(s, c) {
|
|
6378
6378
|
(function(e, t, i) {
|
|
6379
6379
|
s.exports = t(Ee(), ls());
|
|
6380
|
-
})(
|
|
6380
|
+
})(ve, function(e) {
|
|
6381
6381
|
return function() {
|
|
6382
6382
|
var t = e, i = t.lib, r = i.WordArray, n = t.algo, a = n.SHA256, o = n.SHA224 = a.extend({
|
|
6383
6383
|
_doReset: function() {
|
|
@@ -6407,7 +6407,7 @@ function Da() {
|
|
|
6407
6407
|
return Rn || (Rn = 1, function(s, c) {
|
|
6408
6408
|
(function(e, t, i) {
|
|
6409
6409
|
s.exports = t(Ee(), Ni());
|
|
6410
|
-
})(
|
|
6410
|
+
})(ve, function(e) {
|
|
6411
6411
|
return function() {
|
|
6412
6412
|
var t = e, i = t.lib, r = i.Hasher, n = t.x64, a = n.Word, o = n.WordArray, u = t.algo;
|
|
6413
6413
|
function h() {
|
|
@@ -6513,24 +6513,24 @@ function Da() {
|
|
|
6513
6513
|
]);
|
|
6514
6514
|
},
|
|
6515
6515
|
_doProcessBlock: function(p, d) {
|
|
6516
|
-
for (var g = this._hash.words,
|
|
6516
|
+
for (var g = this._hash.words, v = g[0], b = g[1], x = g[2], y = g[3], A = g[4], I = g[5], w = g[6], R = g[7], L = v.high, D = v.low, N = b.high, C = b.low, M = x.high, E = x.low, U = y.high, ie = y.low, q = A.high, oe = A.low, $ = I.high, se = I.low, T = w.high, B = w.low, z = R.high, F = R.low, K = L, Q = D, pe = N, ce = C, be = M, we = E, Ae = U, Fe = ie, Ce = q, S = oe, J = $, W = se, P = T, k = B, V = z, Z = F, X = 0; X < 80; X++) {
|
|
6517
6517
|
var H, ee, he = f[X];
|
|
6518
6518
|
if (X < 16)
|
|
6519
6519
|
ee = he.high = p[d + X * 2] | 0, H = he.low = p[d + X * 2 + 1] | 0;
|
|
6520
6520
|
else {
|
|
6521
|
-
var re = f[X - 15], fe = re.high, _e = re.low, xe = (fe >>> 1 | _e << 31) ^ (fe >>> 8 | _e << 24) ^ fe >>> 7,
|
|
6522
|
-
H =
|
|
6521
|
+
var re = f[X - 15], fe = re.high, _e = re.low, xe = (fe >>> 1 | _e << 31) ^ (fe >>> 8 | _e << 24) ^ fe >>> 7, $e = (_e >>> 1 | fe << 31) ^ (_e >>> 8 | fe << 24) ^ (_e >>> 7 | fe << 25), mt = f[X - 2], Me = mt.high, it = mt.low, Pe = (Me >>> 19 | it << 13) ^ (Me << 3 | it >>> 29) ^ Me >>> 6, gt = (it >>> 19 | Me << 13) ^ (it << 3 | Me >>> 29) ^ (it >>> 6 | Me << 26), $t = f[X - 7], lt = $t.high, vi = $t.low, xi = f[X - 16], ji = xi.high, Si = xi.low;
|
|
6522
|
+
H = $e + vi, ee = xe + lt + (H >>> 0 < $e >>> 0 ? 1 : 0), H = H + gt, ee = ee + Pe + (H >>> 0 < gt >>> 0 ? 1 : 0), H = H + Si, ee = ee + ji + (H >>> 0 < Si >>> 0 ? 1 : 0), he.high = ee, he.low = H;
|
|
6523
6523
|
}
|
|
6524
|
-
var _i =
|
|
6525
|
-
V = P, Z = k, P = J, k = W, J =
|
|
6524
|
+
var _i = Ce & J ^ ~Ce & P, Et = S & W ^ ~S & k, qt = K & pe ^ K & be ^ pe & be, Qa = Q & ce ^ Q & we ^ ce & we, eo = (K >>> 28 | Q << 4) ^ (K << 30 | Q >>> 2) ^ (K << 25 | Q >>> 7), As = (Q >>> 28 | K << 4) ^ (Q << 30 | K >>> 2) ^ (Q << 25 | K >>> 7), to = (Ce >>> 14 | S << 18) ^ (Ce >>> 18 | S << 14) ^ (Ce << 23 | S >>> 9), io = (S >>> 14 | Ce << 18) ^ (S >>> 18 | Ce << 14) ^ (S << 23 | Ce >>> 9), ws = m[X], ro = ws.high, Cs = ws.low, at = Z + io, At = V + to + (at >>> 0 < Z >>> 0 ? 1 : 0), at = at + Et, At = At + _i + (at >>> 0 < Et >>> 0 ? 1 : 0), at = at + Cs, At = At + ro + (at >>> 0 < Cs >>> 0 ? 1 : 0), at = at + H, At = At + ee + (at >>> 0 < H >>> 0 ? 1 : 0), Is = As + Qa, so = eo + qt + (Is >>> 0 < As >>> 0 ? 1 : 0);
|
|
6525
|
+
V = P, Z = k, P = J, k = W, J = Ce, W = S, S = Fe + at | 0, Ce = Ae + At + (S >>> 0 < Fe >>> 0 ? 1 : 0) | 0, Ae = be, Fe = we, be = pe, we = ce, pe = K, ce = Q, Q = at + Is | 0, K = At + so + (Q >>> 0 < at >>> 0 ? 1 : 0) | 0;
|
|
6526
6526
|
}
|
|
6527
|
-
D =
|
|
6527
|
+
D = v.low = D + Q, v.high = L + K + (D >>> 0 < Q >>> 0 ? 1 : 0), C = b.low = C + ce, b.high = N + pe + (C >>> 0 < ce >>> 0 ? 1 : 0), E = x.low = E + we, x.high = M + be + (E >>> 0 < we >>> 0 ? 1 : 0), ie = y.low = ie + Fe, y.high = U + Ae + (ie >>> 0 < Fe >>> 0 ? 1 : 0), oe = A.low = oe + S, A.high = q + Ce + (oe >>> 0 < S >>> 0 ? 1 : 0), se = I.low = se + W, I.high = $ + J + (se >>> 0 < W >>> 0 ? 1 : 0), B = w.low = B + k, w.high = T + P + (B >>> 0 < k >>> 0 ? 1 : 0), F = R.low = F + Z, R.high = z + V + (F >>> 0 < Z >>> 0 ? 1 : 0);
|
|
6528
6528
|
},
|
|
6529
6529
|
_doFinalize: function() {
|
|
6530
|
-
var p = this._data, d = p.words, g = this._nDataBytes * 8,
|
|
6531
|
-
d[
|
|
6532
|
-
var
|
|
6533
|
-
return
|
|
6530
|
+
var p = this._data, d = p.words, g = this._nDataBytes * 8, v = p.sigBytes * 8;
|
|
6531
|
+
d[v >>> 5] |= 128 << 24 - v % 32, d[(v + 128 >>> 10 << 5) + 30] = Math.floor(g / 4294967296), d[(v + 128 >>> 10 << 5) + 31] = g, p.sigBytes = d.length * 4, this._process();
|
|
6532
|
+
var b = this._hash.toX32();
|
|
6533
|
+
return b;
|
|
6534
6534
|
},
|
|
6535
6535
|
clone: function() {
|
|
6536
6536
|
var p = r.clone.call(this);
|
|
@@ -6548,7 +6548,7 @@ function fc() {
|
|
|
6548
6548
|
return Dn || (Dn = 1, function(s, c) {
|
|
6549
6549
|
(function(e, t, i) {
|
|
6550
6550
|
s.exports = t(Ee(), Ni(), Da());
|
|
6551
|
-
})(
|
|
6551
|
+
})(ve, function(e) {
|
|
6552
6552
|
return function() {
|
|
6553
6553
|
var t = e, i = t.x64, r = i.Word, n = i.WordArray, a = t.algo, o = a.SHA512, u = a.SHA384 = o.extend({
|
|
6554
6554
|
_doReset: function() {
|
|
@@ -6578,18 +6578,18 @@ function pc() {
|
|
|
6578
6578
|
return kn || (kn = 1, function(s, c) {
|
|
6579
6579
|
(function(e, t, i) {
|
|
6580
6580
|
s.exports = t(Ee(), Ni());
|
|
6581
|
-
})(
|
|
6581
|
+
})(ve, function(e) {
|
|
6582
6582
|
return function(t) {
|
|
6583
6583
|
var i = e, r = i.lib, n = r.WordArray, a = r.Hasher, o = i.x64, u = o.Word, h = i.algo, m = [], f = [], l = [];
|
|
6584
6584
|
(function() {
|
|
6585
|
-
for (var g = 1,
|
|
6586
|
-
m[g + 5 *
|
|
6587
|
-
var x =
|
|
6588
|
-
g = x,
|
|
6585
|
+
for (var g = 1, v = 0, b = 0; b < 24; b++) {
|
|
6586
|
+
m[g + 5 * v] = (b + 1) * (b + 2) / 2 % 64;
|
|
6587
|
+
var x = v % 5, y = (2 * g + 3 * v) % 5;
|
|
6588
|
+
g = x, v = y;
|
|
6589
6589
|
}
|
|
6590
6590
|
for (var g = 0; g < 5; g++)
|
|
6591
|
-
for (var
|
|
6592
|
-
f[g + 5 *
|
|
6591
|
+
for (var v = 0; v < 5; v++)
|
|
6592
|
+
f[g + 5 * v] = v + (2 * g + 3 * v) % 5 * 5;
|
|
6593
6593
|
for (var A = 1, I = 0; I < 24; I++) {
|
|
6594
6594
|
for (var w = 0, R = 0, L = 0; L < 7; L++) {
|
|
6595
6595
|
if (A & 1) {
|
|
@@ -6619,21 +6619,21 @@ function pc() {
|
|
|
6619
6619
|
outputLength: 512
|
|
6620
6620
|
}),
|
|
6621
6621
|
_doReset: function() {
|
|
6622
|
-
for (var g = this._state = [],
|
|
6623
|
-
g[
|
|
6622
|
+
for (var g = this._state = [], v = 0; v < 25; v++)
|
|
6623
|
+
g[v] = new u.init();
|
|
6624
6624
|
this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
|
|
6625
6625
|
},
|
|
6626
|
-
_doProcessBlock: function(g,
|
|
6627
|
-
for (var
|
|
6628
|
-
var A = g[
|
|
6626
|
+
_doProcessBlock: function(g, v) {
|
|
6627
|
+
for (var b = this._state, x = this.blockSize / 2, y = 0; y < x; y++) {
|
|
6628
|
+
var A = g[v + 2 * y], I = g[v + 2 * y + 1];
|
|
6629
6629
|
A = (A << 8 | A >>> 24) & 16711935 | (A << 24 | A >>> 8) & 4278255360, I = (I << 8 | I >>> 24) & 16711935 | (I << 24 | I >>> 8) & 4278255360;
|
|
6630
|
-
var w =
|
|
6630
|
+
var w = b[y];
|
|
6631
6631
|
w.high ^= I, w.low ^= A;
|
|
6632
6632
|
}
|
|
6633
6633
|
for (var R = 0; R < 24; R++) {
|
|
6634
6634
|
for (var L = 0; L < 5; L++) {
|
|
6635
6635
|
for (var D = 0, N = 0, C = 0; C < 5; C++) {
|
|
6636
|
-
var w =
|
|
6636
|
+
var w = b[L + 5 * C];
|
|
6637
6637
|
D ^= w.high, N ^= w.low;
|
|
6638
6638
|
}
|
|
6639
6639
|
var M = p[L];
|
|
@@ -6641,31 +6641,31 @@ function pc() {
|
|
|
6641
6641
|
}
|
|
6642
6642
|
for (var L = 0; L < 5; L++)
|
|
6643
6643
|
for (var E = p[(L + 4) % 5], U = p[(L + 1) % 5], ie = U.high, q = U.low, D = E.high ^ (ie << 1 | q >>> 31), N = E.low ^ (q << 1 | ie >>> 31), C = 0; C < 5; C++) {
|
|
6644
|
-
var w =
|
|
6644
|
+
var w = b[L + 5 * C];
|
|
6645
6645
|
w.high ^= D, w.low ^= N;
|
|
6646
6646
|
}
|
|
6647
6647
|
for (var oe = 1; oe < 25; oe++) {
|
|
6648
|
-
var D, N, w =
|
|
6648
|
+
var D, N, w = b[oe], $ = w.high, se = w.low, T = m[oe];
|
|
6649
6649
|
T < 32 ? (D = $ << T | se >>> 32 - T, N = se << T | $ >>> 32 - T) : (D = se << T - 32 | $ >>> 64 - T, N = $ << T - 32 | se >>> 64 - T);
|
|
6650
6650
|
var B = p[f[oe]];
|
|
6651
6651
|
B.high = D, B.low = N;
|
|
6652
6652
|
}
|
|
6653
|
-
var z = p[0], F =
|
|
6653
|
+
var z = p[0], F = b[0];
|
|
6654
6654
|
z.high = F.high, z.low = F.low;
|
|
6655
6655
|
for (var L = 0; L < 5; L++)
|
|
6656
6656
|
for (var C = 0; C < 5; C++) {
|
|
6657
|
-
var oe = L + 5 * C, w =
|
|
6657
|
+
var oe = L + 5 * C, w = b[oe], K = p[oe], Q = p[(L + 1) % 5 + 5 * C], pe = p[(L + 2) % 5 + 5 * C];
|
|
6658
6658
|
w.high = K.high ^ ~Q.high & pe.high, w.low = K.low ^ ~Q.low & pe.low;
|
|
6659
6659
|
}
|
|
6660
|
-
var w =
|
|
6660
|
+
var w = b[0], ce = l[R];
|
|
6661
6661
|
w.high ^= ce.high, w.low ^= ce.low;
|
|
6662
6662
|
}
|
|
6663
6663
|
},
|
|
6664
6664
|
_doFinalize: function() {
|
|
6665
|
-
var g = this._data,
|
|
6665
|
+
var g = this._data, v = g.words;
|
|
6666
6666
|
this._nDataBytes * 8;
|
|
6667
|
-
var
|
|
6668
|
-
b
|
|
6667
|
+
var b = g.sigBytes * 8, x = this.blockSize * 32;
|
|
6668
|
+
v[b >>> 5] |= 1 << 24 - b % 32, v[(t.ceil((b + 1) / x) * x >>> 5) - 1] |= 128, g.sigBytes = v.length * 4, this._process();
|
|
6669
6669
|
for (var y = this._state, A = this.cfg.outputLength / 8, I = A / 8, w = [], R = 0; R < I; R++) {
|
|
6670
6670
|
var L = y[R], D = L.high, N = L.low;
|
|
6671
6671
|
D = (D << 8 | D >>> 24) & 16711935 | (D << 24 | D >>> 8) & 4278255360, N = (N << 8 | N >>> 24) & 16711935 | (N << 24 | N >>> 8) & 4278255360, w.push(N), w.push(D);
|
|
@@ -6673,8 +6673,8 @@ function pc() {
|
|
|
6673
6673
|
return new n.init(w, A);
|
|
6674
6674
|
},
|
|
6675
6675
|
clone: function() {
|
|
6676
|
-
for (var g = a.clone.call(this),
|
|
6677
|
-
b
|
|
6676
|
+
for (var g = a.clone.call(this), v = g._state = this._state.slice(0), b = 0; b < 25; b++)
|
|
6677
|
+
v[b] = v[b].clone();
|
|
6678
6678
|
return g;
|
|
6679
6679
|
}
|
|
6680
6680
|
});
|
|
@@ -6688,7 +6688,7 @@ function mc() {
|
|
|
6688
6688
|
return Tn || (Tn = 1, function(s, c) {
|
|
6689
6689
|
(function(e, t) {
|
|
6690
6690
|
s.exports = t(Ee());
|
|
6691
|
-
})(
|
|
6691
|
+
})(ve, function(e) {
|
|
6692
6692
|
/** @preserve
|
|
6693
6693
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
6694
6694
|
|
|
@@ -7036,7 +7036,7 @@ function mc() {
|
|
|
7036
7036
|
var N = this._hash.words, C = l.words, M = p.words, E = u.words, U = h.words, ie = m.words, q = f.words, oe, $, se, T, B, z, F, K, Q, pe;
|
|
7037
7037
|
z = oe = N[0], F = $ = N[1], K = se = N[2], Q = T = N[3], pe = B = N[4];
|
|
7038
7038
|
for (var ce, R = 0; R < 80; R += 1)
|
|
7039
|
-
ce = oe + I[w + E[R]] | 0, R < 16 ? ce += g($, se, T) + C[0] : R < 32 ? ce +=
|
|
7039
|
+
ce = oe + I[w + E[R]] | 0, R < 16 ? ce += g($, se, T) + C[0] : R < 32 ? ce += v($, se, T) + C[1] : R < 48 ? ce += b($, se, T) + C[2] : R < 64 ? ce += x($, se, T) + C[3] : ce += y($, se, T) + C[4], ce = ce | 0, ce = A(ce, ie[R]), ce = ce + B | 0, oe = B, B = T, T = A(se, 10), se = $, $ = ce, ce = z + I[w + U[R]] | 0, R < 16 ? ce += y(F, K, Q) + M[0] : R < 32 ? ce += x(F, K, Q) + M[1] : R < 48 ? ce += b(F, K, Q) + M[2] : R < 64 ? ce += v(F, K, Q) + M[3] : ce += g(F, K, Q) + M[4], ce = ce | 0, ce = A(ce, q[R]), ce = ce + pe | 0, z = pe, pe = Q, Q = A(K, 10), K = F, F = ce;
|
|
7040
7040
|
ce = N[1] + se + Q | 0, N[1] = N[2] + T + pe | 0, N[2] = N[3] + B + z | 0, N[3] = N[4] + oe + F | 0, N[4] = N[0] + $ + K | 0, N[0] = ce;
|
|
7041
7041
|
},
|
|
7042
7042
|
_doFinalize: function() {
|
|
@@ -7056,10 +7056,10 @@ function mc() {
|
|
|
7056
7056
|
function g(I, w, R) {
|
|
7057
7057
|
return I ^ w ^ R;
|
|
7058
7058
|
}
|
|
7059
|
-
function
|
|
7059
|
+
function v(I, w, R) {
|
|
7060
7060
|
return I & w | ~I & R;
|
|
7061
7061
|
}
|
|
7062
|
-
function
|
|
7062
|
+
function b(I, w, R) {
|
|
7063
7063
|
return (I | ~w) ^ R;
|
|
7064
7064
|
}
|
|
7065
7065
|
function x(I, w, R) {
|
|
@@ -7081,7 +7081,7 @@ function fs() {
|
|
|
7081
7081
|
return Bn || (Bn = 1, function(s, c) {
|
|
7082
7082
|
(function(e, t) {
|
|
7083
7083
|
s.exports = t(Ee());
|
|
7084
|
-
})(
|
|
7084
|
+
})(ve, function(e) {
|
|
7085
7085
|
(function() {
|
|
7086
7086
|
var t = e, i = t.lib, r = i.Base, n = t.enc, a = n.Utf8, o = t.algo;
|
|
7087
7087
|
o.HMAC = r.extend({
|
|
@@ -7099,8 +7099,8 @@ function fs() {
|
|
|
7099
7099
|
u = this._hasher = new u.init(), typeof h == "string" && (h = a.parse(h));
|
|
7100
7100
|
var m = u.blockSize, f = m * 4;
|
|
7101
7101
|
h.sigBytes > f && (h = u.finalize(h)), h.clamp();
|
|
7102
|
-
for (var l = this._oKey = h.clone(), p = this._iKey = h.clone(), d = l.words, g = p.words,
|
|
7103
|
-
d[
|
|
7102
|
+
for (var l = this._oKey = h.clone(), p = this._iKey = h.clone(), d = l.words, g = p.words, v = 0; v < m; v++)
|
|
7103
|
+
d[v] ^= 1549556828, g[v] ^= 909522486;
|
|
7104
7104
|
l.sigBytes = p.sigBytes = f, this.reset();
|
|
7105
7105
|
},
|
|
7106
7106
|
/**
|
|
@@ -7159,7 +7159,7 @@ function gc() {
|
|
|
7159
7159
|
return Pn || (Pn = 1, function(s, c) {
|
|
7160
7160
|
(function(e, t, i) {
|
|
7161
7161
|
s.exports = t(Ee(), ls(), fs());
|
|
7162
|
-
})(
|
|
7162
|
+
})(ve, function(e) {
|
|
7163
7163
|
return function() {
|
|
7164
7164
|
var t = e, i = t.lib, r = i.Base, n = i.WordArray, a = t.algo, o = a.SHA256, u = a.HMAC, h = a.PBKDF2 = r.extend({
|
|
7165
7165
|
/**
|
|
@@ -7201,7 +7201,7 @@ function gc() {
|
|
|
7201
7201
|
* var key = kdf.compute(password, salt);
|
|
7202
7202
|
*/
|
|
7203
7203
|
compute: function(m, f) {
|
|
7204
|
-
for (var l = this.cfg, p = u.create(l.hasher, m), d = n.create(), g = n.create([1]),
|
|
7204
|
+
for (var l = this.cfg, p = u.create(l.hasher, m), d = n.create(), g = n.create([1]), v = d.words, b = g.words, x = l.keySize, y = l.iterations; v.length < x; ) {
|
|
7205
7205
|
var A = p.update(f).finalize(g);
|
|
7206
7206
|
p.reset();
|
|
7207
7207
|
for (var I = A.words, w = I.length, R = A, L = 1; L < y; L++) {
|
|
@@ -7209,7 +7209,7 @@ function gc() {
|
|
|
7209
7209
|
for (var D = R.words, N = 0; N < w; N++)
|
|
7210
7210
|
I[N] ^= D[N];
|
|
7211
7211
|
}
|
|
7212
|
-
d.concat(A),
|
|
7212
|
+
d.concat(A), b[0]++;
|
|
7213
7213
|
}
|
|
7214
7214
|
return d.sigBytes = x * 4, d;
|
|
7215
7215
|
}
|
|
@@ -7226,7 +7226,7 @@ function Bt() {
|
|
|
7226
7226
|
return Ln || (Ln = 1, function(s, c) {
|
|
7227
7227
|
(function(e, t, i) {
|
|
7228
7228
|
s.exports = t(Ee(), Ra(), fs());
|
|
7229
|
-
})(
|
|
7229
|
+
})(ve, function(e) {
|
|
7230
7230
|
return function() {
|
|
7231
7231
|
var t = e, i = t.lib, r = i.Base, n = i.WordArray, a = t.algo, o = a.MD5, u = a.EvpKDF = r.extend({
|
|
7232
7232
|
/**
|
|
@@ -7268,13 +7268,13 @@ function Bt() {
|
|
|
7268
7268
|
* var key = kdf.compute(password, salt);
|
|
7269
7269
|
*/
|
|
7270
7270
|
compute: function(h, m) {
|
|
7271
|
-
for (var f, l = this.cfg, p = l.hasher.create(), d = n.create(), g = d.words,
|
|
7271
|
+
for (var f, l = this.cfg, p = l.hasher.create(), d = n.create(), g = d.words, v = l.keySize, b = l.iterations; g.length < v; ) {
|
|
7272
7272
|
f && p.update(f), f = p.update(h).finalize(m), p.reset();
|
|
7273
|
-
for (var x = 1; x <
|
|
7273
|
+
for (var x = 1; x < b; x++)
|
|
7274
7274
|
f = p.finalize(f), p.reset();
|
|
7275
7275
|
d.concat(f);
|
|
7276
7276
|
}
|
|
7277
|
-
return d.sigBytes =
|
|
7277
|
+
return d.sigBytes = v * 4, d;
|
|
7278
7278
|
}
|
|
7279
7279
|
});
|
|
7280
7280
|
t.EvpKDF = function(h, m, f) {
|
|
@@ -7289,7 +7289,7 @@ function We() {
|
|
|
7289
7289
|
return Mn || (Mn = 1, function(s, c) {
|
|
7290
7290
|
(function(e, t, i) {
|
|
7291
7291
|
s.exports = t(Ee(), Bt());
|
|
7292
|
-
})(
|
|
7292
|
+
})(ve, function(e) {
|
|
7293
7293
|
e.lib.Cipher || function(t) {
|
|
7294
7294
|
var i = e, r = i.lib, n = r.Base, a = r.WordArray, o = r.BufferedBlockAlgorithm, u = i.enc;
|
|
7295
7295
|
u.Utf8;
|
|
@@ -7516,7 +7516,7 @@ function We() {
|
|
|
7516
7516
|
C[M + q] ^= U[q];
|
|
7517
7517
|
}
|
|
7518
7518
|
return D;
|
|
7519
|
-
}(),
|
|
7519
|
+
}(), v = i.pad = {}, b = v.Pkcs7 = {
|
|
7520
7520
|
/**
|
|
7521
7521
|
* Pads data using the algorithm defined in PKCS #5/7.
|
|
7522
7522
|
*
|
|
@@ -7560,7 +7560,7 @@ function We() {
|
|
|
7560
7560
|
*/
|
|
7561
7561
|
cfg: l.cfg.extend({
|
|
7562
7562
|
mode: g,
|
|
7563
|
-
padding:
|
|
7563
|
+
padding: b
|
|
7564
7564
|
}),
|
|
7565
7565
|
reset: function() {
|
|
7566
7566
|
var D;
|
|
@@ -7823,11 +7823,11 @@ function We() {
|
|
|
7823
7823
|
}(Ir)), Ir.exports;
|
|
7824
7824
|
}
|
|
7825
7825
|
var Rr = { exports: {} }, Nn;
|
|
7826
|
-
function
|
|
7826
|
+
function bc() {
|
|
7827
7827
|
return Nn || (Nn = 1, function(s, c) {
|
|
7828
7828
|
(function(e, t, i) {
|
|
7829
7829
|
s.exports = t(Ee(), We());
|
|
7830
|
-
})(
|
|
7830
|
+
})(ve, function(e) {
|
|
7831
7831
|
return e.mode.CFB = function() {
|
|
7832
7832
|
var t = e.lib.BlockCipherMode.extend();
|
|
7833
7833
|
t.Encryptor = t.extend({
|
|
@@ -7853,11 +7853,11 @@ function vc() {
|
|
|
7853
7853
|
}(Rr)), Rr.exports;
|
|
7854
7854
|
}
|
|
7855
7855
|
var Dr = { exports: {} }, Fn;
|
|
7856
|
-
function
|
|
7856
|
+
function vc() {
|
|
7857
7857
|
return Fn || (Fn = 1, function(s, c) {
|
|
7858
7858
|
(function(e, t, i) {
|
|
7859
7859
|
s.exports = t(Ee(), We());
|
|
7860
|
-
})(
|
|
7860
|
+
})(ve, function(e) {
|
|
7861
7861
|
return e.mode.CTR = function() {
|
|
7862
7862
|
var t = e.lib.BlockCipherMode.extend(), i = t.Encryptor = t.extend({
|
|
7863
7863
|
processBlock: function(r, n) {
|
|
@@ -7879,7 +7879,7 @@ function xc() {
|
|
|
7879
7879
|
return On || (On = 1, function(s, c) {
|
|
7880
7880
|
(function(e, t, i) {
|
|
7881
7881
|
s.exports = t(Ee(), We());
|
|
7882
|
-
})(
|
|
7882
|
+
})(ve, function(e) {
|
|
7883
7883
|
/** @preserve
|
|
7884
7884
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
7885
7885
|
* derived from CryptoJS.mode.CTR
|
|
@@ -7918,7 +7918,7 @@ function Sc() {
|
|
|
7918
7918
|
return Vn || (Vn = 1, function(s, c) {
|
|
7919
7919
|
(function(e, t, i) {
|
|
7920
7920
|
s.exports = t(Ee(), We());
|
|
7921
|
-
})(
|
|
7921
|
+
})(ve, function(e) {
|
|
7922
7922
|
return e.mode.OFB = function() {
|
|
7923
7923
|
var t = e.lib.BlockCipherMode.extend(), i = t.Encryptor = t.extend({
|
|
7924
7924
|
processBlock: function(r, n) {
|
|
@@ -7938,7 +7938,7 @@ function _c() {
|
|
|
7938
7938
|
return Un || (Un = 1, function(s, c) {
|
|
7939
7939
|
(function(e, t, i) {
|
|
7940
7940
|
s.exports = t(Ee(), We());
|
|
7941
|
-
})(
|
|
7941
|
+
})(ve, function(e) {
|
|
7942
7942
|
return e.mode.ECB = function() {
|
|
7943
7943
|
var t = e.lib.BlockCipherMode.extend();
|
|
7944
7944
|
return t.Encryptor = t.extend({
|
|
@@ -7959,7 +7959,7 @@ function yc() {
|
|
|
7959
7959
|
return Hn || (Hn = 1, function(s, c) {
|
|
7960
7960
|
(function(e, t, i) {
|
|
7961
7961
|
s.exports = t(Ee(), We());
|
|
7962
|
-
})(
|
|
7962
|
+
})(ve, function(e) {
|
|
7963
7963
|
return e.pad.AnsiX923 = {
|
|
7964
7964
|
pad: function(t, i) {
|
|
7965
7965
|
var r = t.sigBytes, n = i * 4, a = n - r % n, o = r + a - 1;
|
|
@@ -7978,7 +7978,7 @@ function Ec() {
|
|
|
7978
7978
|
return zn || (zn = 1, function(s, c) {
|
|
7979
7979
|
(function(e, t, i) {
|
|
7980
7980
|
s.exports = t(Ee(), We());
|
|
7981
|
-
})(
|
|
7981
|
+
})(ve, function(e) {
|
|
7982
7982
|
return e.pad.Iso10126 = {
|
|
7983
7983
|
pad: function(t, i) {
|
|
7984
7984
|
var r = i * 4, n = r - t.sigBytes % r;
|
|
@@ -7997,7 +7997,7 @@ function Ac() {
|
|
|
7997
7997
|
return jn || (jn = 1, function(s, c) {
|
|
7998
7998
|
(function(e, t, i) {
|
|
7999
7999
|
s.exports = t(Ee(), We());
|
|
8000
|
-
})(
|
|
8000
|
+
})(ve, function(e) {
|
|
8001
8001
|
return e.pad.Iso97971 = {
|
|
8002
8002
|
pad: function(t, i) {
|
|
8003
8003
|
t.concat(e.lib.WordArray.create([2147483648], 1)), e.pad.ZeroPadding.pad(t, i);
|
|
@@ -8014,7 +8014,7 @@ function wc() {
|
|
|
8014
8014
|
return Wn || (Wn = 1, function(s, c) {
|
|
8015
8015
|
(function(e, t, i) {
|
|
8016
8016
|
s.exports = t(Ee(), We());
|
|
8017
|
-
})(
|
|
8017
|
+
})(ve, function(e) {
|
|
8018
8018
|
return e.pad.ZeroPadding = {
|
|
8019
8019
|
pad: function(t, i) {
|
|
8020
8020
|
var r = i * 4;
|
|
@@ -8036,7 +8036,7 @@ function Cc() {
|
|
|
8036
8036
|
return Kn || (Kn = 1, function(s, c) {
|
|
8037
8037
|
(function(e, t, i) {
|
|
8038
8038
|
s.exports = t(Ee(), We());
|
|
8039
|
-
})(
|
|
8039
|
+
})(ve, function(e) {
|
|
8040
8040
|
return e.pad.NoPadding = {
|
|
8041
8041
|
pad: function() {
|
|
8042
8042
|
},
|
|
@@ -8051,7 +8051,7 @@ function Ic() {
|
|
|
8051
8051
|
return $n || ($n = 1, function(s, c) {
|
|
8052
8052
|
(function(e, t, i) {
|
|
8053
8053
|
s.exports = t(Ee(), We());
|
|
8054
|
-
})(
|
|
8054
|
+
})(ve, function(e) {
|
|
8055
8055
|
return function(t) {
|
|
8056
8056
|
var i = e, r = i.lib, n = r.CipherParams, a = i.enc, o = a.Hex, u = i.format;
|
|
8057
8057
|
u.Hex = {
|
|
@@ -8098,7 +8098,7 @@ function Rc() {
|
|
|
8098
8098
|
return qn || (qn = 1, function(s, c) {
|
|
8099
8099
|
(function(e, t, i) {
|
|
8100
8100
|
s.exports = t(Ee(), Wt(), Kt(), Bt(), We());
|
|
8101
|
-
})(
|
|
8101
|
+
})(ve, function(e) {
|
|
8102
8102
|
return function() {
|
|
8103
8103
|
var t = e, i = t.lib, r = i.BlockCipher, n = t.algo, a = [], o = [], u = [], h = [], m = [], f = [], l = [], p = [], d = [], g = [];
|
|
8104
8104
|
(function() {
|
|
@@ -8113,12 +8113,12 @@ function Rc() {
|
|
|
8113
8113
|
l[w] = N << 24 | N >>> 8, p[w] = N << 16 | N >>> 16, d[w] = N << 8 | N >>> 24, g[w] = N, A ? (A = R ^ x[x[x[D ^ R]]], I ^= x[x[I]]) : A = I = 1;
|
|
8114
8114
|
}
|
|
8115
8115
|
})();
|
|
8116
|
-
var
|
|
8116
|
+
var v = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], b = n.AES = r.extend({
|
|
8117
8117
|
_doReset: function() {
|
|
8118
8118
|
var x;
|
|
8119
8119
|
if (!(this._nRounds && this._keyPriorReset === this._key)) {
|
|
8120
8120
|
for (var y = this._keyPriorReset = this._key, A = y.words, I = y.sigBytes / 4, w = this._nRounds = I + 6, R = (w + 1) * 4, L = this._keySchedule = [], D = 0; D < R; D++)
|
|
8121
|
-
D < I ? L[D] = A[D] : (x = L[D - 1], D % I ? I > 6 && D % I == 4 && (x = a[x >>> 24] << 24 | a[x >>> 16 & 255] << 16 | a[x >>> 8 & 255] << 8 | a[x & 255]) : (x = x << 8 | x >>> 24, x = a[x >>> 24] << 24 | a[x >>> 16 & 255] << 16 | a[x >>> 8 & 255] << 8 | a[x & 255], x ^=
|
|
8121
|
+
D < I ? L[D] = A[D] : (x = L[D - 1], D % I ? I > 6 && D % I == 4 && (x = a[x >>> 24] << 24 | a[x >>> 16 & 255] << 16 | a[x >>> 8 & 255] << 8 | a[x & 255]) : (x = x << 8 | x >>> 24, x = a[x >>> 24] << 24 | a[x >>> 16 & 255] << 16 | a[x >>> 8 & 255] << 8 | a[x & 255], x ^= v[D / I | 0] << 24), L[D] = L[D - I] ^ x);
|
|
8122
8122
|
for (var N = this._invKeySchedule = [], C = 0; C < R; C++) {
|
|
8123
8123
|
var D = R - C;
|
|
8124
8124
|
if (C % 4)
|
|
@@ -8148,7 +8148,7 @@ function Rc() {
|
|
|
8148
8148
|
},
|
|
8149
8149
|
keySize: 256 / 32
|
|
8150
8150
|
});
|
|
8151
|
-
t.AES = r._createHelper(
|
|
8151
|
+
t.AES = r._createHelper(b);
|
|
8152
8152
|
}(), e.AES;
|
|
8153
8153
|
});
|
|
8154
8154
|
}(Vr)), Vr.exports;
|
|
@@ -8158,7 +8158,7 @@ function Dc() {
|
|
|
8158
8158
|
return Gn || (Gn = 1, function(s, c) {
|
|
8159
8159
|
(function(e, t, i) {
|
|
8160
8160
|
s.exports = t(Ee(), Wt(), Kt(), Bt(), We());
|
|
8161
|
-
})(
|
|
8161
|
+
})(ve, function(e) {
|
|
8162
8162
|
return function() {
|
|
8163
8163
|
var t = e, i = t.lib, r = i.WordArray, n = i.BlockCipher, a = t.algo, o = [
|
|
8164
8164
|
57,
|
|
@@ -8806,9 +8806,9 @@ function Dc() {
|
|
|
8806
8806
|
2147483679
|
|
8807
8807
|
], l = a.DES = n.extend({
|
|
8808
8808
|
_doReset: function() {
|
|
8809
|
-
for (var
|
|
8809
|
+
for (var v = this._key, b = v.words, x = [], y = 0; y < 56; y++) {
|
|
8810
8810
|
var A = o[y] - 1;
|
|
8811
|
-
x[y] =
|
|
8811
|
+
x[y] = b[A >>> 5] >>> 31 - A % 32 & 1;
|
|
8812
8812
|
}
|
|
8813
8813
|
for (var I = this._subKeys = [], w = 0; w < 16; w++) {
|
|
8814
8814
|
for (var R = I[w] = [], L = h[w], y = 0; y < 24; y++)
|
|
@@ -8821,48 +8821,48 @@ function Dc() {
|
|
|
8821
8821
|
for (var D = this._invSubKeys = [], y = 0; y < 16; y++)
|
|
8822
8822
|
D[y] = I[15 - y];
|
|
8823
8823
|
},
|
|
8824
|
-
encryptBlock: function(
|
|
8825
|
-
this._doCryptBlock(
|
|
8824
|
+
encryptBlock: function(v, b) {
|
|
8825
|
+
this._doCryptBlock(v, b, this._subKeys);
|
|
8826
8826
|
},
|
|
8827
|
-
decryptBlock: function(
|
|
8828
|
-
this._doCryptBlock(
|
|
8827
|
+
decryptBlock: function(v, b) {
|
|
8828
|
+
this._doCryptBlock(v, b, this._invSubKeys);
|
|
8829
8829
|
},
|
|
8830
|
-
_doCryptBlock: function(
|
|
8831
|
-
this._lBlock = b
|
|
8830
|
+
_doCryptBlock: function(v, b, x) {
|
|
8831
|
+
this._lBlock = v[b], this._rBlock = v[b + 1], p.call(this, 4, 252645135), p.call(this, 16, 65535), d.call(this, 2, 858993459), d.call(this, 8, 16711935), p.call(this, 1, 1431655765);
|
|
8832
8832
|
for (var y = 0; y < 16; y++) {
|
|
8833
8833
|
for (var A = x[y], I = this._lBlock, w = this._rBlock, R = 0, L = 0; L < 8; L++)
|
|
8834
8834
|
R |= m[L][((w ^ A[L]) & f[L]) >>> 0];
|
|
8835
8835
|
this._lBlock = w, this._rBlock = I ^ R;
|
|
8836
8836
|
}
|
|
8837
8837
|
var D = this._lBlock;
|
|
8838
|
-
this._lBlock = this._rBlock, this._rBlock = D, p.call(this, 1, 1431655765), d.call(this, 8, 16711935), d.call(this, 2, 858993459), p.call(this, 16, 65535), p.call(this, 4, 252645135), b
|
|
8838
|
+
this._lBlock = this._rBlock, this._rBlock = D, p.call(this, 1, 1431655765), d.call(this, 8, 16711935), d.call(this, 2, 858993459), p.call(this, 16, 65535), p.call(this, 4, 252645135), v[b] = this._lBlock, v[b + 1] = this._rBlock;
|
|
8839
8839
|
},
|
|
8840
8840
|
keySize: 64 / 32,
|
|
8841
8841
|
ivSize: 64 / 32,
|
|
8842
8842
|
blockSize: 64 / 32
|
|
8843
8843
|
});
|
|
8844
|
-
function p(
|
|
8845
|
-
var x = (this._lBlock >>>
|
|
8846
|
-
this._rBlock ^= x, this._lBlock ^= x <<
|
|
8844
|
+
function p(v, b) {
|
|
8845
|
+
var x = (this._lBlock >>> v ^ this._rBlock) & b;
|
|
8846
|
+
this._rBlock ^= x, this._lBlock ^= x << v;
|
|
8847
8847
|
}
|
|
8848
|
-
function d(
|
|
8849
|
-
var x = (this._rBlock >>>
|
|
8850
|
-
this._lBlock ^= x, this._rBlock ^= x <<
|
|
8848
|
+
function d(v, b) {
|
|
8849
|
+
var x = (this._rBlock >>> v ^ this._lBlock) & b;
|
|
8850
|
+
this._lBlock ^= x, this._rBlock ^= x << v;
|
|
8851
8851
|
}
|
|
8852
8852
|
t.DES = n._createHelper(l);
|
|
8853
8853
|
var g = a.TripleDES = n.extend({
|
|
8854
8854
|
_doReset: function() {
|
|
8855
|
-
var
|
|
8856
|
-
if (
|
|
8855
|
+
var v = this._key, b = v.words;
|
|
8856
|
+
if (b.length !== 2 && b.length !== 4 && b.length < 6)
|
|
8857
8857
|
throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
|
|
8858
|
-
var x =
|
|
8858
|
+
var x = b.slice(0, 2), y = b.length < 4 ? b.slice(0, 2) : b.slice(2, 4), A = b.length < 6 ? b.slice(0, 2) : b.slice(4, 6);
|
|
8859
8859
|
this._des1 = l.createEncryptor(r.create(x)), this._des2 = l.createEncryptor(r.create(y)), this._des3 = l.createEncryptor(r.create(A));
|
|
8860
8860
|
},
|
|
8861
|
-
encryptBlock: function(
|
|
8862
|
-
this._des1.encryptBlock(
|
|
8861
|
+
encryptBlock: function(v, b) {
|
|
8862
|
+
this._des1.encryptBlock(v, b), this._des2.decryptBlock(v, b), this._des3.encryptBlock(v, b);
|
|
8863
8863
|
},
|
|
8864
|
-
decryptBlock: function(
|
|
8865
|
-
this._des3.decryptBlock(
|
|
8864
|
+
decryptBlock: function(v, b) {
|
|
8865
|
+
this._des3.decryptBlock(v, b), this._des2.encryptBlock(v, b), this._des1.decryptBlock(v, b);
|
|
8866
8866
|
},
|
|
8867
8867
|
keySize: 192 / 32,
|
|
8868
8868
|
ivSize: 64 / 32,
|
|
@@ -8878,17 +8878,17 @@ function kc() {
|
|
|
8878
8878
|
return Jn || (Jn = 1, function(s, c) {
|
|
8879
8879
|
(function(e, t, i) {
|
|
8880
8880
|
s.exports = t(Ee(), Wt(), Kt(), Bt(), We());
|
|
8881
|
-
})(
|
|
8881
|
+
})(ve, function(e) {
|
|
8882
8882
|
return function() {
|
|
8883
8883
|
var t = e, i = t.lib, r = i.StreamCipher, n = t.algo, a = n.RC4 = r.extend({
|
|
8884
8884
|
_doReset: function() {
|
|
8885
8885
|
for (var h = this._key, m = h.words, f = h.sigBytes, l = this._S = [], p = 0; p < 256; p++)
|
|
8886
8886
|
l[p] = p;
|
|
8887
8887
|
for (var p = 0, d = 0; p < 256; p++) {
|
|
8888
|
-
var g = p % f,
|
|
8889
|
-
d = (d + l[p] +
|
|
8890
|
-
var
|
|
8891
|
-
l[p] = l[d], l[d] =
|
|
8888
|
+
var g = p % f, v = m[g >>> 2] >>> 24 - g % 4 * 8 & 255;
|
|
8889
|
+
d = (d + l[p] + v) % 256;
|
|
8890
|
+
var b = l[p];
|
|
8891
|
+
l[p] = l[d], l[d] = b;
|
|
8892
8892
|
}
|
|
8893
8893
|
this._i = this._j = 0;
|
|
8894
8894
|
},
|
|
@@ -8932,7 +8932,7 @@ function Tc() {
|
|
|
8932
8932
|
return Xn || (Xn = 1, function(s, c) {
|
|
8933
8933
|
(function(e, t, i) {
|
|
8934
8934
|
s.exports = t(Ee(), Wt(), Kt(), Bt(), We());
|
|
8935
|
-
})(
|
|
8935
|
+
})(ve, function(e) {
|
|
8936
8936
|
return function() {
|
|
8937
8937
|
var t = e, i = t.lib, r = i.StreamCipher, n = t.algo, a = [], o = [], u = [], h = n.Rabbit = r.extend({
|
|
8938
8938
|
_doReset: function() {
|
|
@@ -8963,7 +8963,7 @@ function Tc() {
|
|
|
8963
8963
|
for (var p = 0; p < 8; p++)
|
|
8964
8964
|
g[p] ^= d[p + 4 & 7];
|
|
8965
8965
|
if (l) {
|
|
8966
|
-
var
|
|
8966
|
+
var v = l.words, b = v[0], x = v[1], y = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, A = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, I = y >>> 16 | A & 4294901760, w = A << 16 | y & 65535;
|
|
8967
8967
|
g[0] ^= y, g[1] ^= I, g[2] ^= A, g[3] ^= w, g[4] ^= y, g[5] ^= I, g[6] ^= A, g[7] ^= w;
|
|
8968
8968
|
for (var p = 0; p < 4; p++)
|
|
8969
8969
|
m.call(this);
|
|
@@ -8983,8 +8983,8 @@ function Tc() {
|
|
|
8983
8983
|
o[p] = l[p];
|
|
8984
8984
|
l[0] = l[0] + 1295307597 + this._b | 0, l[1] = l[1] + 3545052371 + (l[0] >>> 0 < o[0] >>> 0 ? 1 : 0) | 0, l[2] = l[2] + 886263092 + (l[1] >>> 0 < o[1] >>> 0 ? 1 : 0) | 0, l[3] = l[3] + 1295307597 + (l[2] >>> 0 < o[2] >>> 0 ? 1 : 0) | 0, l[4] = l[4] + 3545052371 + (l[3] >>> 0 < o[3] >>> 0 ? 1 : 0) | 0, l[5] = l[5] + 886263092 + (l[4] >>> 0 < o[4] >>> 0 ? 1 : 0) | 0, l[6] = l[6] + 1295307597 + (l[5] >>> 0 < o[5] >>> 0 ? 1 : 0) | 0, l[7] = l[7] + 3545052371 + (l[6] >>> 0 < o[6] >>> 0 ? 1 : 0) | 0, this._b = l[7] >>> 0 < o[7] >>> 0 ? 1 : 0;
|
|
8985
8985
|
for (var p = 0; p < 8; p++) {
|
|
8986
|
-
var d = f[p] + l[p], g = d & 65535,
|
|
8987
|
-
u[p] =
|
|
8986
|
+
var d = f[p] + l[p], g = d & 65535, v = d >>> 16, b = ((g * g >>> 17) + g * v >>> 15) + v * v, x = ((d & 4294901760) * d | 0) + ((d & 65535) * d | 0);
|
|
8987
|
+
u[p] = b ^ x;
|
|
8988
8988
|
}
|
|
8989
8989
|
f[0] = u[0] + (u[7] << 16 | u[7] >>> 16) + (u[6] << 16 | u[6] >>> 16) | 0, f[1] = u[1] + (u[0] << 8 | u[0] >>> 24) + u[7] | 0, f[2] = u[2] + (u[1] << 16 | u[1] >>> 16) + (u[0] << 16 | u[0] >>> 16) | 0, f[3] = u[3] + (u[2] << 8 | u[2] >>> 24) + u[1] | 0, f[4] = u[4] + (u[3] << 16 | u[3] >>> 16) + (u[2] << 16 | u[2] >>> 16) | 0, f[5] = u[5] + (u[4] << 8 | u[4] >>> 24) + u[3] | 0, f[6] = u[6] + (u[5] << 16 | u[5] >>> 16) + (u[4] << 16 | u[4] >>> 16) | 0, f[7] = u[7] + (u[6] << 8 | u[6] >>> 24) + u[5] | 0;
|
|
8990
8990
|
}
|
|
@@ -8998,7 +8998,7 @@ function Bc() {
|
|
|
8998
8998
|
return Zn || (Zn = 1, function(s, c) {
|
|
8999
8999
|
(function(e, t, i) {
|
|
9000
9000
|
s.exports = t(Ee(), Wt(), Kt(), Bt(), We());
|
|
9001
|
-
})(
|
|
9001
|
+
})(ve, function(e) {
|
|
9002
9002
|
return function() {
|
|
9003
9003
|
var t = e, i = t.lib, r = i.StreamCipher, n = t.algo, a = [], o = [], u = [], h = n.RabbitLegacy = r.extend({
|
|
9004
9004
|
_doReset: function() {
|
|
@@ -9027,7 +9027,7 @@ function Bc() {
|
|
|
9027
9027
|
for (var g = 0; g < 8; g++)
|
|
9028
9028
|
d[g] ^= p[g + 4 & 7];
|
|
9029
9029
|
if (l) {
|
|
9030
|
-
var
|
|
9030
|
+
var v = l.words, b = v[0], x = v[1], y = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, A = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, I = y >>> 16 | A & 4294901760, w = A << 16 | y & 65535;
|
|
9031
9031
|
d[0] ^= y, d[1] ^= I, d[2] ^= A, d[3] ^= w, d[4] ^= y, d[5] ^= I, d[6] ^= A, d[7] ^= w;
|
|
9032
9032
|
for (var g = 0; g < 4; g++)
|
|
9033
9033
|
m.call(this);
|
|
@@ -9047,8 +9047,8 @@ function Bc() {
|
|
|
9047
9047
|
o[p] = l[p];
|
|
9048
9048
|
l[0] = l[0] + 1295307597 + this._b | 0, l[1] = l[1] + 3545052371 + (l[0] >>> 0 < o[0] >>> 0 ? 1 : 0) | 0, l[2] = l[2] + 886263092 + (l[1] >>> 0 < o[1] >>> 0 ? 1 : 0) | 0, l[3] = l[3] + 1295307597 + (l[2] >>> 0 < o[2] >>> 0 ? 1 : 0) | 0, l[4] = l[4] + 3545052371 + (l[3] >>> 0 < o[3] >>> 0 ? 1 : 0) | 0, l[5] = l[5] + 886263092 + (l[4] >>> 0 < o[4] >>> 0 ? 1 : 0) | 0, l[6] = l[6] + 1295307597 + (l[5] >>> 0 < o[5] >>> 0 ? 1 : 0) | 0, l[7] = l[7] + 3545052371 + (l[6] >>> 0 < o[6] >>> 0 ? 1 : 0) | 0, this._b = l[7] >>> 0 < o[7] >>> 0 ? 1 : 0;
|
|
9049
9049
|
for (var p = 0; p < 8; p++) {
|
|
9050
|
-
var d = f[p] + l[p], g = d & 65535,
|
|
9051
|
-
u[p] =
|
|
9050
|
+
var d = f[p] + l[p], g = d & 65535, v = d >>> 16, b = ((g * g >>> 17) + g * v >>> 15) + v * v, x = ((d & 4294901760) * d | 0) + ((d & 65535) * d | 0);
|
|
9051
|
+
u[p] = b ^ x;
|
|
9052
9052
|
}
|
|
9053
9053
|
f[0] = u[0] + (u[7] << 16 | u[7] >>> 16) + (u[6] << 16 | u[6] >>> 16) | 0, f[1] = u[1] + (u[0] << 8 | u[0] >>> 24) + u[7] | 0, f[2] = u[2] + (u[1] << 16 | u[1] >>> 16) + (u[0] << 16 | u[0] >>> 16) | 0, f[3] = u[3] + (u[2] << 8 | u[2] >>> 24) + u[1] | 0, f[4] = u[4] + (u[3] << 16 | u[3] >>> 16) + (u[2] << 16 | u[2] >>> 16) | 0, f[5] = u[5] + (u[4] << 8 | u[4] >>> 24) + u[3] | 0, f[6] = u[6] + (u[5] << 16 | u[5] >>> 16) + (u[4] << 16 | u[4] >>> 16) | 0, f[7] = u[7] + (u[6] << 8 | u[6] >>> 24) + u[5] | 0;
|
|
9054
9054
|
}
|
|
@@ -9062,7 +9062,7 @@ function Pc() {
|
|
|
9062
9062
|
return Yn || (Yn = 1, function(s, c) {
|
|
9063
9063
|
(function(e, t, i) {
|
|
9064
9064
|
s.exports = t(Ee(), Wt(), Kt(), Bt(), We());
|
|
9065
|
-
})(
|
|
9065
|
+
})(ve, function(e) {
|
|
9066
9066
|
return function() {
|
|
9067
9067
|
var t = e, i = t.lib, r = i.BlockCipher, n = t.algo;
|
|
9068
9068
|
const a = 16, o = [
|
|
@@ -10122,23 +10122,23 @@ function Pc() {
|
|
|
10122
10122
|
pbox: [],
|
|
10123
10123
|
sbox: []
|
|
10124
10124
|
};
|
|
10125
|
-
function m(g,
|
|
10126
|
-
let
|
|
10125
|
+
function m(g, v) {
|
|
10126
|
+
let b = v >> 24 & 255, x = v >> 16 & 255, y = v >> 8 & 255, A = v & 255, I = g.sbox[0][b] + g.sbox[1][x];
|
|
10127
10127
|
return I = I ^ g.sbox[2][y], I = I + g.sbox[3][A], I;
|
|
10128
10128
|
}
|
|
10129
|
-
function f(g,
|
|
10130
|
-
let x =
|
|
10129
|
+
function f(g, v, b) {
|
|
10130
|
+
let x = v, y = b, A;
|
|
10131
10131
|
for (let I = 0; I < a; ++I)
|
|
10132
10132
|
x = x ^ g.pbox[I], y = m(g, x) ^ y, A = x, x = y, y = A;
|
|
10133
10133
|
return A = x, x = y, y = A, y = y ^ g.pbox[a], x = x ^ g.pbox[a + 1], { left: x, right: y };
|
|
10134
10134
|
}
|
|
10135
|
-
function l(g,
|
|
10136
|
-
let x =
|
|
10135
|
+
function l(g, v, b) {
|
|
10136
|
+
let x = v, y = b, A;
|
|
10137
10137
|
for (let I = a + 1; I > 1; --I)
|
|
10138
10138
|
x = x ^ g.pbox[I], y = m(g, x) ^ y, A = x, x = y, y = A;
|
|
10139
10139
|
return A = x, x = y, y = A, y = y ^ g.pbox[1], x = x ^ g.pbox[0], { left: x, right: y };
|
|
10140
10140
|
}
|
|
10141
|
-
function p(g,
|
|
10141
|
+
function p(g, v, b) {
|
|
10142
10142
|
for (let w = 0; w < 4; w++) {
|
|
10143
10143
|
g.sbox[w] = [];
|
|
10144
10144
|
for (let R = 0; R < 256; R++)
|
|
@@ -10146,7 +10146,7 @@ function Pc() {
|
|
|
10146
10146
|
}
|
|
10147
10147
|
let x = 0;
|
|
10148
10148
|
for (let w = 0; w < a + 2; w++)
|
|
10149
|
-
g.pbox[w] = o[w] ^
|
|
10149
|
+
g.pbox[w] = o[w] ^ v[x], x++, x >= b && (x = 0);
|
|
10150
10150
|
let y = 0, A = 0, I = 0;
|
|
10151
10151
|
for (let w = 0; w < a + 2; w += 2)
|
|
10152
10152
|
I = f(g, y, A), y = I.left, A = I.right, g.pbox[w] = y, g.pbox[w + 1] = A;
|
|
@@ -10158,17 +10158,17 @@ function Pc() {
|
|
|
10158
10158
|
var d = n.Blowfish = r.extend({
|
|
10159
10159
|
_doReset: function() {
|
|
10160
10160
|
if (this._keyPriorReset !== this._key) {
|
|
10161
|
-
var g = this._keyPriorReset = this._key,
|
|
10162
|
-
p(h,
|
|
10161
|
+
var g = this._keyPriorReset = this._key, v = g.words, b = g.sigBytes / 4;
|
|
10162
|
+
p(h, v, b);
|
|
10163
10163
|
}
|
|
10164
10164
|
},
|
|
10165
|
-
encryptBlock: function(g,
|
|
10166
|
-
var
|
|
10167
|
-
g[
|
|
10165
|
+
encryptBlock: function(g, v) {
|
|
10166
|
+
var b = f(h, g[v], g[v + 1]);
|
|
10167
|
+
g[v] = b.left, g[v + 1] = b.right;
|
|
10168
10168
|
},
|
|
10169
|
-
decryptBlock: function(g,
|
|
10170
|
-
var
|
|
10171
|
-
g[
|
|
10169
|
+
decryptBlock: function(g, v) {
|
|
10170
|
+
var b = l(h, g[v], g[v + 1]);
|
|
10171
|
+
g[v] = b.left, g[v + 1] = b.right;
|
|
10172
10172
|
},
|
|
10173
10173
|
blockSize: 64 / 32,
|
|
10174
10174
|
keySize: 128 / 32,
|
|
@@ -10181,8 +10181,8 @@ function Pc() {
|
|
|
10181
10181
|
}
|
|
10182
10182
|
(function(s, c) {
|
|
10183
10183
|
(function(e, t, i) {
|
|
10184
|
-
s.exports = t(Ee(), Ni(), uc(), hc(), Wt(), dc(), Kt(), Ra(), ls(), lc(), Da(), fc(), pc(), mc(), fs(), gc(), Bt(), We(),
|
|
10185
|
-
})(
|
|
10184
|
+
s.exports = t(Ee(), Ni(), uc(), hc(), Wt(), dc(), Kt(), Ra(), ls(), lc(), Da(), fc(), pc(), mc(), fs(), gc(), Bt(), We(), bc(), vc(), xc(), Sc(), _c(), yc(), Ec(), Ac(), wc(), Cc(), Ic(), Rc(), Dc(), kc(), Tc(), Bc(), Pc());
|
|
10185
|
+
})(ve, function(e) {
|
|
10186
10186
|
return e;
|
|
10187
10187
|
});
|
|
10188
10188
|
})(Ia);
|
|
@@ -10240,7 +10240,7 @@ function Kr(s, c, e, t) {
|
|
|
10240
10240
|
return Hc(s);
|
|
10241
10241
|
}, g = function() {
|
|
10242
10242
|
return zc(s);
|
|
10243
|
-
},
|
|
10243
|
+
}, v = { d: function() {
|
|
10244
10244
|
return n();
|
|
10245
10245
|
}, dd: function() {
|
|
10246
10246
|
return ot(n());
|
|
@@ -10307,8 +10307,8 @@ function Kr(s, c, e, t) {
|
|
|
10307
10307
|
}, N: function() {
|
|
10308
10308
|
return g();
|
|
10309
10309
|
} };
|
|
10310
|
-
return c.replace(Oc, function(
|
|
10311
|
-
return
|
|
10310
|
+
return c.replace(Oc, function(b) {
|
|
10311
|
+
return b in v ? v[b]() : b.slice(1, b.length - 1);
|
|
10312
10312
|
});
|
|
10313
10313
|
}
|
|
10314
10314
|
var Qn = { 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" }, rt = { 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"] }, ot = function(c) {
|
|
@@ -10329,16 +10329,16 @@ var Qn = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", paddedShort
|
|
|
10329
10329
|
return h[r + "Date"]();
|
|
10330
10330
|
}, g = function() {
|
|
10331
10331
|
return h[r + "Month"]();
|
|
10332
|
-
}, b = function() {
|
|
10333
|
-
return h[r + "FullYear"]();
|
|
10334
10332
|
}, v = function() {
|
|
10333
|
+
return h[r + "FullYear"]();
|
|
10334
|
+
}, b = function() {
|
|
10335
10335
|
return m[r + "Date"]();
|
|
10336
10336
|
}, x = function() {
|
|
10337
10337
|
return m[r + "Month"]();
|
|
10338
10338
|
}, y = function() {
|
|
10339
10339
|
return m[r + "FullYear"]();
|
|
10340
10340
|
};
|
|
10341
|
-
return p() === e && l() === t && f() === i ? o ? "Tdy" : "Today" :
|
|
10341
|
+
return p() === e && l() === t && f() === i ? o ? "Tdy" : "Today" : v() === e && g() === t && d() === i ? o ? "Ysd" : "Yesterday" : y() === e && x() === t && b() === i ? o ? "Tmw" : "Tomorrow" : n;
|
|
10342
10342
|
}, Hc = function(c) {
|
|
10343
10343
|
var e = new Date(c.getFullYear(), c.getMonth(), c.getDate());
|
|
10344
10344
|
e.setDate(e.getDate() - (e.getDay() + 6) % 7 + 3);
|
|
@@ -10606,7 +10606,7 @@ function Pa(s) {
|
|
|
10606
10606
|
};
|
|
10607
10607
|
}
|
|
10608
10608
|
typeof window != "undefined" && Ta(window, "stsPlugin", Pa);
|
|
10609
|
-
const { BrowserUtil: e0 } =
|
|
10609
|
+
const { BrowserUtil: e0 } = Re, Xt = {
|
|
10610
10610
|
EdgeHTML: "EdgeHTML",
|
|
10611
10611
|
Blink: "Blink",
|
|
10612
10612
|
Trident: "Trident",
|
|
@@ -10822,7 +10822,7 @@ const { BrowserUtil: e0 } = we, Xt = {
|
|
|
10822
10822
|
} catch (c) {
|
|
10823
10823
|
}
|
|
10824
10824
|
return s;
|
|
10825
|
-
}, { BrowserUtil: $r, SystenUtil: ra } =
|
|
10825
|
+
}, { BrowserUtil: $r, SystenUtil: ra } = Re;
|
|
10826
10826
|
class sa {
|
|
10827
10827
|
constructor() {
|
|
10828
10828
|
_(this, "tracker");
|
|
@@ -10854,7 +10854,7 @@ class sa {
|
|
|
10854
10854
|
const i = Pa(t);
|
|
10855
10855
|
e.useStsPlugin(i), this.tracker = e, this.msgCacheArr.forEach((r, n) => {
|
|
10856
10856
|
var a, o;
|
|
10857
|
-
(o = this.tracker) == null || o.send(me(
|
|
10857
|
+
(o = this.tracker) == null || o.send(me(bt(me({}, this.param), { stat_log_id: `${((a = this.param) == null ? void 0 : a.sesid) || "nosession"}-${n}` }), r));
|
|
10858
10858
|
}), this.index = this.index + this.msgCacheArr.length, this.msgCacheArr = [];
|
|
10859
10859
|
}
|
|
10860
10860
|
}
|
|
@@ -10880,7 +10880,7 @@ class sa {
|
|
|
10880
10880
|
let e;
|
|
10881
10881
|
try {
|
|
10882
10882
|
e = JSON.parse(
|
|
10883
|
-
JSON.stringify(me(
|
|
10883
|
+
JSON.stringify(me(bt(me({
|
|
10884
10884
|
bt: $r.browserName || "unknown"
|
|
10885
10885
|
}, this.param), {
|
|
10886
10886
|
stat_log_id: `${((t = this.param) == null ? void 0 : t.sesid) || "nosession"}-${this.index}`
|
|
@@ -10990,7 +10990,7 @@ const Be = (s, c = 1, e = 6e4, t = 0) => {
|
|
|
10990
10990
|
ctm: Math.floor(r[0].timestamp || 0),
|
|
10991
10991
|
src: r[0].ssrc || "",
|
|
10992
10992
|
codec: r[0]._codec || ""
|
|
10993
|
-
}, o = [], u = [], h = [], m = [], f = [], l = [], p = [], d = [], g = [],
|
|
10993
|
+
}, o = [], u = [], h = [], m = [], f = [], l = [], p = [], d = [], g = [], v = [], b = [], x = [], y = [], A = [], I = [], w = [], R = [], L = [], D = [];
|
|
10994
10994
|
try {
|
|
10995
10995
|
if (r.forEach((N) => {
|
|
10996
10996
|
var z, F, K, Q, pe, ce;
|
|
@@ -11010,17 +11010,17 @@ const Be = (s, c = 1, e = 6e4, t = 0) => {
|
|
|
11010
11010
|
if (l.push(B), n)
|
|
11011
11011
|
(F = N._source) != null && F.audioLevel && p.push(na(N._source.audioLevel)), d.push(0);
|
|
11012
11012
|
else {
|
|
11013
|
-
g.push(aa(N, "totalEncodeTime")),
|
|
11014
|
-
const
|
|
11015
|
-
R.push(Be(
|
|
11016
|
-
const
|
|
11017
|
-
L.push(Be(
|
|
11013
|
+
g.push(aa(N, "totalEncodeTime")), v.push(Lt((K = N._source) == null ? void 0 : K.framesPerSecond, 100)), b.push(Lt((Q = N._source) == null ? void 0 : Q.framesPerSecond, 100)), x.push(Lt(N.framesPerSecond, 100)), y.push(Lt((pe = N._source) == null ? void 0 : pe.height, 4400)), A.push(Lt((ce = N._source) == null ? void 0 : ce.width, 7700)), I.push(Lt(N.frameHeight, 4400)), w.push(Lt(N.frameWidth, 7700));
|
|
11014
|
+
const be = Le(N, "totalPacketSendDelay");
|
|
11015
|
+
R.push(Be(be, 1 / (se || 1), 2e3));
|
|
11016
|
+
const we = Le(N, "qpSum");
|
|
11017
|
+
L.push(Be(we, 1 / (N.framesPerSecond || 1), 51)), D.push(0);
|
|
11018
11018
|
}
|
|
11019
11019
|
}), a.sbr = o.join(","), a.mbrs = u.join(","), a.pbrs = h.join(","), a.ps = m.join(","), a.pl = f.join(","), a.plr = l.join(","), n) {
|
|
11020
11020
|
const N = (i == null ? void 0 : i.getSettings().sampleRate) || 0;
|
|
11021
11021
|
a.ailevel = p.join(","), a.arpc = d.join(","), a.arsr = N, a.aesr = N, a.publevel = -90, a.rawlevel = -90;
|
|
11022
11022
|
} else
|
|
11023
|
-
a.em = g.join(","), a.cfps =
|
|
11023
|
+
a.em = g.join(","), a.cfps = v.join(","), a.ifps = b.join(","), a.sfps = x.join(","), a.ih = y.join(","), a.iw = A.join(","), a.sh = I.join(","), a.sw = w.join(","), a.sd = R.join(","), a.aqp = L.join(","), a.caf = D.join(","), a.can = D.join(","), a.cav = u.join(","), a.ifimax = D.join(","), a.ifimin = D.join(","), a.efimax = D.join(","), a.efimin = D.join(","), a.sfimax = D.join(","), a.sfimin = D.join(","), a.apsnr = D.join(",");
|
|
11024
11024
|
} catch (N) {
|
|
11025
11025
|
}
|
|
11026
11026
|
this.log({
|
|
@@ -11041,23 +11041,23 @@ const Be = (s, c = 1, e = 6e4, t = 0) => {
|
|
|
11041
11041
|
ctm: Math.floor(r[0].timestamp || 0),
|
|
11042
11042
|
src: r[0].ssrc || "",
|
|
11043
11043
|
codec: r[0]._codec || ""
|
|
11044
|
-
}, o = [], u = [], h = [], m = [], f = [], l = [], p = [], d = [], g = [],
|
|
11044
|
+
}, o = [], u = [], h = [], m = [], f = [], l = [], p = [], d = [], g = [], v = [], b = [], x = [], y = [], A = [], I = [], w = [], R = [], L = [], D = [], N = [], C = [], M = [], E = [], U = [], ie = [], q = [], oe = [], $ = [], se = [], T = [], B = [], z = [], F = [], K = [];
|
|
11045
11045
|
try {
|
|
11046
11046
|
r.forEach((Q) => {
|
|
11047
11047
|
var ee, he;
|
|
11048
11048
|
if (!Q || !Q.timestamp)
|
|
11049
11049
|
return;
|
|
11050
|
-
const pe = (ee = Q._last) != null && ee.timestamp ? Q.timestamp - Q._last.timestamp : 1e3, ce = Le(Q, "bytesReceived"),
|
|
11051
|
-
o.push(
|
|
11050
|
+
const pe = (ee = Q._last) != null && ee.timestamp ? Q.timestamp - Q._last.timestamp : 1e3, ce = Le(Q, "bytesReceived"), be = Le(Q, "headerBytesReceived"), we = ut(Be(ce + be, 8, 2e7), pe);
|
|
11051
|
+
o.push(we);
|
|
11052
11052
|
const Ae = ut(Be(ce, 8, 2e7), pe);
|
|
11053
11053
|
u.push(Ae);
|
|
11054
|
-
const Fe = ut(Be(
|
|
11054
|
+
const Fe = ut(Be(be, 8, 2e7), pe);
|
|
11055
11055
|
h.push(Fe);
|
|
11056
|
-
const
|
|
11056
|
+
const Ce = Le(Q, "packetsReceived"), S = ut(Ce, pe);
|
|
11057
11057
|
m.push(S);
|
|
11058
11058
|
const J = Le(Q, "packetsLost"), W = ut(J, pe);
|
|
11059
11059
|
f.push(W);
|
|
11060
|
-
const P = Pt(J,
|
|
11060
|
+
const P = Pt(J, Ce);
|
|
11061
11061
|
l.push(P);
|
|
11062
11062
|
const k = Le(Q, "jitterBufferDelay"), V = Le(Q, "jitterBufferEmittedCount");
|
|
11063
11063
|
if (Q.jitterBufferDelay && Q.jitterBufferEmittedCount) {
|
|
@@ -11066,9 +11066,9 @@ const Be = (s, c = 1, e = 6e4, t = 0) => {
|
|
|
11066
11066
|
} else
|
|
11067
11067
|
p.push(0);
|
|
11068
11068
|
const Z = Le(Q, "fecPacketsReceived");
|
|
11069
|
-
x.push(Pt(Z,
|
|
11070
|
-
const X = Le(Q, "retransmittedPacketsReceived"), H =
|
|
11071
|
-
if (g.push(Pt(
|
|
11069
|
+
x.push(Pt(Z, Ce));
|
|
11070
|
+
const X = Le(Q, "retransmittedPacketsReceived"), H = Ce + J - X;
|
|
11071
|
+
if (g.push(Pt(Ce - X, H)), v.push(Pt(J, H)), d.push(Pt(X, H)), b.push(H), F.push(0), K.push(""), n) {
|
|
11072
11072
|
A.push(na(Q.audioLevel));
|
|
11073
11073
|
const re = o0(Q, "synthesizedSamplesEvents");
|
|
11074
11074
|
I.push(re);
|
|
@@ -11085,8 +11085,8 @@ const Be = (s, c = 1, e = 6e4, t = 0) => {
|
|
|
11085
11085
|
ie.push(_e);
|
|
11086
11086
|
const xe = Le(Q, "pliCount");
|
|
11087
11087
|
U.push(xe);
|
|
11088
|
-
const
|
|
11089
|
-
q.push(Be(
|
|
11088
|
+
const $e = Le(Q, "qpSum");
|
|
11089
|
+
q.push(Be($e, 1 / (Q.framesPerSecond || 1), 51)), oe.push(Be(Q.framesDropped));
|
|
11090
11090
|
const mt = Le(Q, "totalFreezesDuration");
|
|
11091
11091
|
$.push(Be(mt, 1e3, 3e4));
|
|
11092
11092
|
const Me = Le(Q, "jitterBufferEmittedCount"), it = Le(Q, "jitterBufferDelay");
|
|
@@ -11096,7 +11096,7 @@ const Be = (s, c = 1, e = 6e4, t = 0) => {
|
|
|
11096
11096
|
const gt = Le(Q, "jitterBufferMinimumDelay");
|
|
11097
11097
|
gt && Me ? B.push(Be(gt, 1e3 / Me, 3e4)) : B.push(0);
|
|
11098
11098
|
}
|
|
11099
|
-
}), a.rbr = o.join(","), a.mbrs = u.join(","), a.pbrs = h.join(","), a.pr = m.join(","), a.pl = f.join(","), a.plr = l.join(","), a.jd = p.join(","), a.fecr = x.join(","), a.retransr = d.join(","), a.baser = g.join(","), a.basel =
|
|
11099
|
+
}), a.rbr = o.join(","), a.mbrs = u.join(","), a.pbrs = h.join(","), a.pr = m.join(","), a.pl = f.join(","), a.plr = l.join(","), a.jd = p.join(","), a.fecr = x.join(","), a.retransr = d.join(","), a.baser = g.join(","), a.basel = v.join(","), a.recoverr = F.join(","), a.alll = v.join(","), a.totalc = b.join(","), n ? (a.er = y.join(","), a.aolevel = A.join(","), a.asrc = R.join(","), a.scnt = I.join(","), a.sdura = w.join(",")) : (a.dm = L.join(","), a.dfps = D.join(","), a.rfps = N.join(","), a.rh = C.join(","), a.rw = M.join(","), a.fpt = K.join(","), a.ns = ie.join(","), a.pliss = U.join(","), a.aqp = q.join(","), a.ofimax = F.join(","), a.ofimin = F.join(","), a.dfimax = F.join(","), a.dfimin = F.join(","), a.rfimax = F.join(","), a.rfimin = F.join(","), a.vrstutter = $.join(","), a.cdm = se.join(","), a.tdm = T.join(","), a.pdm = B.join(","), a.ofps = z.join(","), a.dfbd = oe.join(","));
|
|
11100
11100
|
} catch (Q) {
|
|
11101
11101
|
}
|
|
11102
11102
|
this.log({
|
|
@@ -11803,7 +11803,7 @@ class Di {
|
|
|
11803
11803
|
c && this.dbPromise.then((e) => O(this, null, function* () {
|
|
11804
11804
|
if (!this.stsToken)
|
|
11805
11805
|
return;
|
|
11806
|
-
const t = yield
|
|
11806
|
+
const t = yield bn(e, c), i = {}, r = [];
|
|
11807
11807
|
t.forEach((n) => {
|
|
11808
11808
|
if (!n.date || !n.log) {
|
|
11809
11809
|
try {
|
|
@@ -11822,7 +11822,7 @@ class Di {
|
|
|
11822
11822
|
i[a] || (i[a] = [], r.push(a)), i[a].push(n);
|
|
11823
11823
|
}), Promise.all(r.map((n) => this.uploadSessionDateLog(c, n, i[n]))).then(
|
|
11824
11824
|
() => O(this, null, function* () {
|
|
11825
|
-
(yield
|
|
11825
|
+
(yield bn(e, c)).length === 0 && nc(e, c);
|
|
11826
11826
|
})
|
|
11827
11827
|
);
|
|
11828
11828
|
}));
|
|
@@ -11921,7 +11921,7 @@ class ae {
|
|
|
11921
11921
|
}
|
|
11922
11922
|
_(ae, "logger");
|
|
11923
11923
|
const h0 = (s) => O(void 0, null, function* () {
|
|
11924
|
-
const c = new
|
|
11924
|
+
const c = new Re.SupportUtil();
|
|
11925
11925
|
let e = {
|
|
11926
11926
|
support: !1,
|
|
11927
11927
|
detail: {
|
|
@@ -11941,10 +11941,10 @@ const h0 = (s) => O(void 0, null, function* () {
|
|
|
11941
11941
|
const t = yield c.checkH264Encode();
|
|
11942
11942
|
e.detail.isH264EncodeSupported = t, e.support = e.support && t;
|
|
11943
11943
|
}
|
|
11944
|
-
return e.detail.isScreenShareSupported = c.checkWebRtcSupport() && c.checkScreenCapture() && !
|
|
11945
|
-
}), d0 = () => new
|
|
11944
|
+
return e.detail.isScreenShareSupported = c.checkWebRtcSupport() && c.checkScreenCapture() && !Re.SystenUtil.isAndroid && !Re.SystenUtil.isIos, e.detail.isSendMediaExtensionMsgSupported = c.checkWebRtcSupport() && c.checkEncodedTransformSupport(), e;
|
|
11945
|
+
}), d0 = () => new Re.SupportUtil().checkScreenCapture();
|
|
11946
11946
|
var je = /* @__PURE__ */ ((s) => (s[s.AliRtcSdkStreamTypeCapture = 0] = "AliRtcSdkStreamTypeCapture", s[s.AliRtcSdkStreamTypeScreen = 1] = "AliRtcSdkStreamTypeScreen", s))(je || {}), l0 = /* @__PURE__ */ ((s) => (s[s.PRE_PROCESSOR = 0] = "PRE_PROCESSOR", s[s.POST_PROCESSOR = 1] = "POST_PROCESSOR", s))(l0 || {}), Fi = /* @__PURE__ */ ((s) => (s[s.AUDIO = 0] = "AUDIO", s[s.VIDEO = 1] = "VIDEO", s[s.BOTH = 2] = "BOTH", s))(Fi || {});
|
|
11947
|
-
class ri extends
|
|
11947
|
+
class ri extends Je {
|
|
11948
11948
|
constructor(e, t = je.AliRtcSdkStreamTypeCapture, i = 1) {
|
|
11949
11949
|
super();
|
|
11950
11950
|
// 扩展名
|
|
@@ -12034,7 +12034,7 @@ const f0 = {
|
|
|
12034
12034
|
17: "16IN_360P",
|
|
12035
12035
|
9999: "Mixed_Audio"
|
|
12036
12036
|
};
|
|
12037
|
-
var gs = /* @__PURE__ */ ((s) => (s[s.LiveTranscoding_HZ_48000 = 48e3] = "LiveTranscoding_HZ_48000", s[s.LiveTranscoding_HZ_44100 = 44100] = "LiveTranscoding_HZ_44100", s[s.LiveTranscoding_HZ_32000 = 32e3] = "LiveTranscoding_HZ_32000", s[s.LiveTranscoding_HZ_16000 = 16e3] = "LiveTranscoding_HZ_16000", s[s.LiveTranscoding_HZ_8000 = 8e3] = "LiveTranscoding_HZ_8000", s))(gs || {}), Ti = /* @__PURE__ */ ((s) => (s[s.LiveTranscodingNoBody = 0] = "LiveTranscodingNoBody", s[s.LiveTranscodingBody = 1] = "LiveTranscodingBody", s))(Ti || {}), Oi = /* @__PURE__ */ ((s) => (s[s.NOTO_SERIF_CJKSC_REGULAR = 0] = "NOTO_SERIF_CJKSC_REGULAR", s[s.ALIBABA_PUHUITI_REGULAR = 1] = "ALIBABA_PUHUITI_REGULAR", s[s.ALIBABA_PUHUITI_BOLD = 2] = "ALIBABA_PUHUITI_BOLD", s[s.ALIBABA_PUHUITI_Heavy = 3] = "ALIBABA_PUHUITI_Heavy", s[s.ALIBABA_PUHUITI_LIGHT = 4] = "ALIBABA_PUHUITI_LIGHT", s[s.ALIBABA_PUHUITI_MEDIUM = 5] = "ALIBABA_PUHUITI_MEDIUM", s))(Oi || {}), Fa = /* @__PURE__ */ ((s) => (s[s.LiveTranscodingOrigin = 0] = "LiveTranscodingOrigin", s[s.LiveTranscodingCrop = 1] = "LiveTranscodingCrop", s[s.LiveTranscodingFill = 2] = "LiveTranscodingFill", s))(Fa || {}),
|
|
12037
|
+
var gs = /* @__PURE__ */ ((s) => (s[s.LiveTranscoding_HZ_48000 = 48e3] = "LiveTranscoding_HZ_48000", s[s.LiveTranscoding_HZ_44100 = 44100] = "LiveTranscoding_HZ_44100", s[s.LiveTranscoding_HZ_32000 = 32e3] = "LiveTranscoding_HZ_32000", s[s.LiveTranscoding_HZ_16000 = 16e3] = "LiveTranscoding_HZ_16000", s[s.LiveTranscoding_HZ_8000 = 8e3] = "LiveTranscoding_HZ_8000", s))(gs || {}), Ti = /* @__PURE__ */ ((s) => (s[s.LiveTranscodingNoBody = 0] = "LiveTranscodingNoBody", s[s.LiveTranscodingBody = 1] = "LiveTranscodingBody", s))(Ti || {}), Oi = /* @__PURE__ */ ((s) => (s[s.NOTO_SERIF_CJKSC_REGULAR = 0] = "NOTO_SERIF_CJKSC_REGULAR", s[s.ALIBABA_PUHUITI_REGULAR = 1] = "ALIBABA_PUHUITI_REGULAR", s[s.ALIBABA_PUHUITI_BOLD = 2] = "ALIBABA_PUHUITI_BOLD", s[s.ALIBABA_PUHUITI_Heavy = 3] = "ALIBABA_PUHUITI_Heavy", s[s.ALIBABA_PUHUITI_LIGHT = 4] = "ALIBABA_PUHUITI_LIGHT", s[s.ALIBABA_PUHUITI_MEDIUM = 5] = "ALIBABA_PUHUITI_MEDIUM", s))(Oi || {}), Fa = /* @__PURE__ */ ((s) => (s[s.LiveTranscodingOrigin = 0] = "LiveTranscodingOrigin", s[s.LiveTranscodingCrop = 1] = "LiveTranscodingCrop", s[s.LiveTranscodingFill = 2] = "LiveTranscodingFill", s))(Fa || {}), bs = /* @__PURE__ */ ((s) => (s[s.LiveTranscodingNormal = 0] = "LiveTranscodingNormal", s[s.LiveTranscodingVirtualBackground = 1] = "LiveTranscodingVirtualBackground", s))(bs || {}), Oa = /* @__PURE__ */ ((s) => (s[s.LiveTranscodingState_IDLE = 0] = "LiveTranscodingState_IDLE", s[s.LiveTranscodingState_CONNNECT = 1] = "LiveTranscodingState_CONNNECT", s[s.LiveTranscodingState_RUNNING = 2] = "LiveTranscodingState_RUNNING", s[s.LiveTranscodingState_RECOVERING = 3] = "LiveTranscodingState_RECOVERING", s[s.LiveTranscodingState_FAILURE = 4] = "LiveTranscodingState_FAILURE", s[s.LiveTranscodingState_END = 5] = "LiveTranscodingState_END", s))(Oa || {}), xt = /* @__PURE__ */ ((s) => (s[s.LiveTranscodingErrorPublishOk = 0] = "LiveTranscodingErrorPublishOk", s[s.LiveTranscodingErrorStreamNotFound = 17825793] = "LiveTranscodingErrorStreamNotFound", s[s.LiveTranscodingErrorStreamAlreadyExist = 17825794] = "LiveTranscodingErrorStreamAlreadyExist", s[s.LiveTranscodingErrorInvalidParam = 17825795] = "LiveTranscodingErrorInvalidParam", s[s.LiveTranscodingErrorInternalError = 17825796] = "LiveTranscodingErrorInternalError", s[s.LiveTranscodingErrorRtmpServerError = 17825797] = "LiveTranscodingErrorRtmpServerError", s[s.LiveTranscodingErrorRtmpStreamUrlError = 17825798] = "LiveTranscodingErrorRtmpStreamUrlError", s[s.LiveTranscodingErrorPublishTimeout = 17825799] = "LiveTranscodingErrorPublishTimeout", s[s.LiveTranscodingErrorNotAuthorized = 17825800] = "LiveTranscodingErrorNotAuthorized", s))(xt || {}), Va = /* @__PURE__ */ ((s) => (s[s.TrascodingPublishTaskStatusStart = 0] = "TrascodingPublishTaskStatusStart", s[s.TrascodingPublishTaskStatusUpdate = 1] = "TrascodingPublishTaskStatusUpdate", s[s.TrascodingPublishTaskStatusStop = 2] = "TrascodingPublishTaskStatusStop", s))(Va || {}), st = /* @__PURE__ */ ((s) => (s[s.MPU_TASK_TRANSACTION_START = 0] = "MPU_TASK_TRANSACTION_START", s[s.MPU_TASK_TRANSACTION_UPDATE = 1] = "MPU_TASK_TRANSACTION_UPDATE", s[s.MPU_TASK_TRANSACTION_STOP = 2] = "MPU_TASK_TRANSACTION_STOP", s[s.MPU_TASK_TRANSACTION_LIST = 3] = "MPU_TASK_TRANSACTION_LIST", s[s.MPU_TASK_TRANSACTION_POLLING = 4] = "MPU_TASK_TRANSACTION_POLLING", s[s.MPU_TASK_TRANSACTION_ACKNOWLEDGE = 5] = "MPU_TASK_TRANSACTION_ACKNOWLEDGE", s[s.MPU_TASK_TRANSACTION_END = 6] = "MPU_TASK_TRANSACTION_END", s))(st || {});
|
|
12038
12038
|
const p0 = {
|
|
12039
12039
|
0: "/libra/v1/sdk/start-task",
|
|
12040
12040
|
1: "/libra/v1/sdk/update-task",
|
|
@@ -12064,7 +12064,7 @@ class Ua {
|
|
|
12064
12064
|
this.videoWidth = c, this.videoHeight = e, t && (this.videoFramerate = t), i && (this.videoBitrate = i), r && (this.videoGop = r), n && (this.audioSamplerate = n), a && (this.audioBitrate = a), o && (this.audioChannels = o);
|
|
12065
12065
|
}
|
|
12066
12066
|
}
|
|
12067
|
-
const
|
|
12067
|
+
const vs = (s) => ((s & 16711680) >> 16) + (s & 65280) + ((s & 255) << 16), ht = (s = 0, c) => {
|
|
12068
12068
|
if (c == 0)
|
|
12069
12069
|
return 0;
|
|
12070
12070
|
let e = s / c;
|
|
@@ -12114,15 +12114,15 @@ class ts {
|
|
|
12114
12114
|
(l, p) => l.toJson(p, u, h, a.mediaProcessMode)
|
|
12115
12115
|
)
|
|
12116
12116
|
}
|
|
12117
|
-
], n.layoutids = ["0"], n.cropmode = a.cropMode, n.backgroundcolor =
|
|
12117
|
+
], n.layoutids = ["0"], n.cropmode = a.cropMode, n.backgroundcolor = vs(a.backgroundColor), n.taskmode = a.mediaProcessMode;
|
|
12118
12118
|
}
|
|
12119
12119
|
}
|
|
12120
12120
|
}
|
|
12121
12121
|
return n;
|
|
12122
12122
|
}
|
|
12123
12123
|
}
|
|
12124
|
-
var yt = /* @__PURE__ */ ((s) => (s.pre = "pre", s.prod = "prod", s))(yt || {}), It = /* @__PURE__ */ ((s) => (s.AliRtcSdkCommunication = "communication", s.AliRtcSdkInteractiveLive = "interactive_live", s.AliRtcSdkInteractiveWithLowLatencyLive = "cdn_live", s))(It || {}), Ft = /* @__PURE__ */ ((s) => (s.AliRtcSdkInteractive = "interactive", s.AliRtcSdkLive = "live", s))(Ft || {}), St = /* @__PURE__ */ ((s) => (s[s.AliEngineLocalDeviceTypeUnknown = 0] = "AliEngineLocalDeviceTypeUnknown", s[s.AliEngineLocalDeviceTypeMic = 1] = "AliEngineLocalDeviceTypeMic", s[s.AliEngineLocalDeviceTypeSpeaker = 2] = "AliEngineLocalDeviceTypeSpeaker", s[s.AliEngineLocalDeviceTypeAudioDevice = 3] = "AliEngineLocalDeviceTypeAudioDevice", s[s.AliEngineLocalDeviceTypeCamera = 4] = "AliEngineLocalDeviceTypeCamera", s[s.AliEngineLocalDeviceTypeDisplay = 5] = "AliEngineLocalDeviceTypeDisplay", s[s.AliEngineLocalDeviceTypeVideoDevice = 6] = "AliEngineLocalDeviceTypeVideoDevice", s))(St || {}), He = /* @__PURE__ */ ((s) => (s[s.AliEngineLocalDeviceExceptionTypeUnknown = 0] = "AliEngineLocalDeviceExceptionTypeUnknown", s[s.AliEngineLocalDeviceExceptionTypeMicOpenFail = 1] = "AliEngineLocalDeviceExceptionTypeMicOpenFail", s[s.AliEngineLocalDeviceExceptionTypeMicInterrupt = 2] = "AliEngineLocalDeviceExceptionTypeMicInterrupt", s[s.AliEngineLocalDeviceExceptionTypeMicAuthFail = 3] = "AliEngineLocalDeviceExceptionTypeMicAuthFail", s[s.AliEngineLocalDeviceExceptionTypeMicNotAvailable = 4] = "AliEngineLocalDeviceExceptionTypeMicNotAvailable", s[s.AliEngineLocalDeviceExceptionTypeSpeakerOpenFail = 5] = "AliEngineLocalDeviceExceptionTypeSpeakerOpenFail", s[s.AliEngineLocalDeviceExceptionTypeSpeakerInterrupt = 6] = "AliEngineLocalDeviceExceptionTypeSpeakerInterrupt", s[s.AliEngineLocalDeviceExceptionTypeSpeakerNotAvailable = 7] = "AliEngineLocalDeviceExceptionTypeSpeakerNotAvailable", s[s.AliEngineLocalDeviceExceptionTypeAudioDeviceException = 8] = "AliEngineLocalDeviceExceptionTypeAudioDeviceException", s[s.AliEngineLocalDeviceExceptionTypeCameraOpenFail = 9] = "AliEngineLocalDeviceExceptionTypeCameraOpenFail", s[s.AliEngineLocalDeviceExceptionTypeCameraInterrupt = 10] = "AliEngineLocalDeviceExceptionTypeCameraInterrupt", s[s.AliEngineLocalDeviceExceptionTypeCameraAuthFail = 11] = "AliEngineLocalDeviceExceptionTypeCameraAuthFail", s[s.AliEngineLocalDeviceExceptionTypeDisplayException = 12] = "AliEngineLocalDeviceExceptionTypeDisplayException", s[s.AliEngineLocalDeviceExceptionTypeVideoDeviceException = 13] = "AliEngineLocalDeviceExceptionTypeVideoDeviceException", s))(He || {}), De = /* @__PURE__ */ ((s) => (s[s.AliRtcConnectionStatusInit = 0] = "AliRtcConnectionStatusInit", s[s.AliRtcConnectionStatusDisconnected = 1] = "AliRtcConnectionStatusDisconnected", s[s.AliRtcConnectionStatusConnecting = 2] = "AliRtcConnectionStatusConnecting", s[s.AliRtcConnectionStatusConnected = 3] = "AliRtcConnectionStatusConnected", s[s.AliRtcConnectionStatusReconnecting = 4] = "AliRtcConnectionStatusReconnecting", s[s.AliRtcConnectionStatusFailed = 5] = "AliRtcConnectionStatusFailed", s))(De || {}), Yt = /* @__PURE__ */ ((s) => (s[s.AliRtcConnectionChangedDummyReason = 0] = "AliRtcConnectionChangedDummyReason", s[s.AliRtcConnectionMediaPathChanged = 1] = "AliRtcConnectionMediaPathChanged", s[s.AliRtcConnectionSignalingHeartbeatTimeout = 2] = "AliRtcConnectionSignalingHeartbeatTimeout", s[s.AliRtcConnectionSignalingHeartbeatAlive = 3] = "AliRtcConnectionSignalingHeartbeatAlive", s[s.AliRtcConnectionSignalingHttpDnsResolved = 4] = "AliRtcConnectionSignalingHttpDnsResolved", s[s.AliRtcConnectionSignalingHttpDnsFailure = 5] = "AliRtcConnectionSignalingHttpDnsFailure", s[s.AliRtcConnectionSignalingGslbFailure = 6] = "AliRtcConnectionSignalingGslbFailure", s[s.AliRtcConnectionSignalingGslbSuccess = 7] = "AliRtcConnectionSignalingGslbSuccess", s[s.AliRtcConnectionSignalingJoinRoomFailure = 8] = "AliRtcConnectionSignalingJoinRoomFailure", s[s.AliRtcConnectionSignalingJoinRoomSuccess = 9] = "AliRtcConnectionSignalingJoinRoomSuccess", s[s.AliRtcConnectionSignalingLeaveRoom = 10] = "AliRtcConnectionSignalingLeaveRoom", s[s.AliRtcConnectionSignalingConnecting = 11] = "AliRtcConnectionSignalingConnecting", s[s.AliRtcConnectionChangedNetworkInterrupted = 12] = "AliRtcConnectionChangedNetworkInterrupted", s))(Yt || {}), xs = /* @__PURE__ */ ((s) => (s[s.AliRtcUserOfflineQuit = 0] = "AliRtcUserOfflineQuit", s[s.AliRtcUserOfflineDropped = 1] = "AliRtcUserOfflineDropped", s[s.AliRtcUserOfflineBecomeAudience = 2] = "AliRtcUserOfflineBecomeAudience", s))(xs || {}), si = /* @__PURE__ */ ((s) => (s[s.AliRtcAudioTrackNo = 0] = "AliRtcAudioTrackNo", s[s.AliRtcAudioTrackMic = 1] = "AliRtcAudioTrackMic", s[s.AliRtcAudioTrackDual = 2] = "AliRtcAudioTrackDual", s))(si || {}), ye = /* @__PURE__ */ ((s) => (s[s.AliRtcVideoTrackNo = 0] = "AliRtcVideoTrackNo", s[s.AliRtcVideoTrackCamera = 1] = "AliRtcVideoTrackCamera", s[s.AliRtcVideoTrackScreen = 2] = "AliRtcVideoTrackScreen", s[s.AliRtcVideoTrackBoth = 3] = "AliRtcVideoTrackBoth", s))(ye || {}), ge = /* @__PURE__ */ ((s) => (s[s.AliRtcStatePublishIdle = 0] = "AliRtcStatePublishIdle", s[s.AliRtcStateNoPublish = 1] = "AliRtcStateNoPublish", s[s.AliRtcStatePublishing = 2] = "AliRtcStatePublishing", s[s.AliRtcStatePublished = 3] = "AliRtcStatePublished", s))(ge || {}), ke = /* @__PURE__ */ ((s) => (s[s.AliRtcStateSubscribeIdle = 0] = "AliRtcStateSubscribeIdle", s[s.AliRtcStateNoSubscribe = 1] = "AliRtcStateNoSubscribe", s[s.AliRtcStateSubscribing = 2] = "AliRtcStateSubscribing", s[s.AliRtcStateSubscribed = 3] = "AliRtcStateSubscribed", s))(ke || {}),
|
|
12125
|
-
const oa = 10, ca = 5e3, Qt = class Qt extends
|
|
12124
|
+
var yt = /* @__PURE__ */ ((s) => (s.pre = "pre", s.prod = "prod", s))(yt || {}), It = /* @__PURE__ */ ((s) => (s.AliRtcSdkCommunication = "communication", s.AliRtcSdkInteractiveLive = "interactive_live", s.AliRtcSdkInteractiveWithLowLatencyLive = "cdn_live", s))(It || {}), Ft = /* @__PURE__ */ ((s) => (s.AliRtcSdkInteractive = "interactive", s.AliRtcSdkLive = "live", s))(Ft || {}), St = /* @__PURE__ */ ((s) => (s[s.AliEngineLocalDeviceTypeUnknown = 0] = "AliEngineLocalDeviceTypeUnknown", s[s.AliEngineLocalDeviceTypeMic = 1] = "AliEngineLocalDeviceTypeMic", s[s.AliEngineLocalDeviceTypeSpeaker = 2] = "AliEngineLocalDeviceTypeSpeaker", s[s.AliEngineLocalDeviceTypeAudioDevice = 3] = "AliEngineLocalDeviceTypeAudioDevice", s[s.AliEngineLocalDeviceTypeCamera = 4] = "AliEngineLocalDeviceTypeCamera", s[s.AliEngineLocalDeviceTypeDisplay = 5] = "AliEngineLocalDeviceTypeDisplay", s[s.AliEngineLocalDeviceTypeVideoDevice = 6] = "AliEngineLocalDeviceTypeVideoDevice", s))(St || {}), He = /* @__PURE__ */ ((s) => (s[s.AliEngineLocalDeviceExceptionTypeUnknown = 0] = "AliEngineLocalDeviceExceptionTypeUnknown", s[s.AliEngineLocalDeviceExceptionTypeMicOpenFail = 1] = "AliEngineLocalDeviceExceptionTypeMicOpenFail", s[s.AliEngineLocalDeviceExceptionTypeMicInterrupt = 2] = "AliEngineLocalDeviceExceptionTypeMicInterrupt", s[s.AliEngineLocalDeviceExceptionTypeMicAuthFail = 3] = "AliEngineLocalDeviceExceptionTypeMicAuthFail", s[s.AliEngineLocalDeviceExceptionTypeMicNotAvailable = 4] = "AliEngineLocalDeviceExceptionTypeMicNotAvailable", s[s.AliEngineLocalDeviceExceptionTypeSpeakerOpenFail = 5] = "AliEngineLocalDeviceExceptionTypeSpeakerOpenFail", s[s.AliEngineLocalDeviceExceptionTypeSpeakerInterrupt = 6] = "AliEngineLocalDeviceExceptionTypeSpeakerInterrupt", s[s.AliEngineLocalDeviceExceptionTypeSpeakerNotAvailable = 7] = "AliEngineLocalDeviceExceptionTypeSpeakerNotAvailable", s[s.AliEngineLocalDeviceExceptionTypeAudioDeviceException = 8] = "AliEngineLocalDeviceExceptionTypeAudioDeviceException", s[s.AliEngineLocalDeviceExceptionTypeCameraOpenFail = 9] = "AliEngineLocalDeviceExceptionTypeCameraOpenFail", s[s.AliEngineLocalDeviceExceptionTypeCameraInterrupt = 10] = "AliEngineLocalDeviceExceptionTypeCameraInterrupt", s[s.AliEngineLocalDeviceExceptionTypeCameraAuthFail = 11] = "AliEngineLocalDeviceExceptionTypeCameraAuthFail", s[s.AliEngineLocalDeviceExceptionTypeDisplayException = 12] = "AliEngineLocalDeviceExceptionTypeDisplayException", s[s.AliEngineLocalDeviceExceptionTypeVideoDeviceException = 13] = "AliEngineLocalDeviceExceptionTypeVideoDeviceException", s))(He || {}), De = /* @__PURE__ */ ((s) => (s[s.AliRtcConnectionStatusInit = 0] = "AliRtcConnectionStatusInit", s[s.AliRtcConnectionStatusDisconnected = 1] = "AliRtcConnectionStatusDisconnected", s[s.AliRtcConnectionStatusConnecting = 2] = "AliRtcConnectionStatusConnecting", s[s.AliRtcConnectionStatusConnected = 3] = "AliRtcConnectionStatusConnected", s[s.AliRtcConnectionStatusReconnecting = 4] = "AliRtcConnectionStatusReconnecting", s[s.AliRtcConnectionStatusFailed = 5] = "AliRtcConnectionStatusFailed", s))(De || {}), Yt = /* @__PURE__ */ ((s) => (s[s.AliRtcConnectionChangedDummyReason = 0] = "AliRtcConnectionChangedDummyReason", s[s.AliRtcConnectionMediaPathChanged = 1] = "AliRtcConnectionMediaPathChanged", s[s.AliRtcConnectionSignalingHeartbeatTimeout = 2] = "AliRtcConnectionSignalingHeartbeatTimeout", s[s.AliRtcConnectionSignalingHeartbeatAlive = 3] = "AliRtcConnectionSignalingHeartbeatAlive", s[s.AliRtcConnectionSignalingHttpDnsResolved = 4] = "AliRtcConnectionSignalingHttpDnsResolved", s[s.AliRtcConnectionSignalingHttpDnsFailure = 5] = "AliRtcConnectionSignalingHttpDnsFailure", s[s.AliRtcConnectionSignalingGslbFailure = 6] = "AliRtcConnectionSignalingGslbFailure", s[s.AliRtcConnectionSignalingGslbSuccess = 7] = "AliRtcConnectionSignalingGslbSuccess", s[s.AliRtcConnectionSignalingJoinRoomFailure = 8] = "AliRtcConnectionSignalingJoinRoomFailure", s[s.AliRtcConnectionSignalingJoinRoomSuccess = 9] = "AliRtcConnectionSignalingJoinRoomSuccess", s[s.AliRtcConnectionSignalingLeaveRoom = 10] = "AliRtcConnectionSignalingLeaveRoom", s[s.AliRtcConnectionSignalingConnecting = 11] = "AliRtcConnectionSignalingConnecting", s[s.AliRtcConnectionChangedNetworkInterrupted = 12] = "AliRtcConnectionChangedNetworkInterrupted", s))(Yt || {}), xs = /* @__PURE__ */ ((s) => (s[s.AliRtcUserOfflineQuit = 0] = "AliRtcUserOfflineQuit", s[s.AliRtcUserOfflineDropped = 1] = "AliRtcUserOfflineDropped", s[s.AliRtcUserOfflineBecomeAudience = 2] = "AliRtcUserOfflineBecomeAudience", s))(xs || {}), si = /* @__PURE__ */ ((s) => (s[s.AliRtcAudioTrackNo = 0] = "AliRtcAudioTrackNo", s[s.AliRtcAudioTrackMic = 1] = "AliRtcAudioTrackMic", s[s.AliRtcAudioTrackDual = 2] = "AliRtcAudioTrackDual", s))(si || {}), ye = /* @__PURE__ */ ((s) => (s[s.AliRtcVideoTrackNo = 0] = "AliRtcVideoTrackNo", s[s.AliRtcVideoTrackCamera = 1] = "AliRtcVideoTrackCamera", s[s.AliRtcVideoTrackScreen = 2] = "AliRtcVideoTrackScreen", s[s.AliRtcVideoTrackBoth = 3] = "AliRtcVideoTrackBoth", s))(ye || {}), ge = /* @__PURE__ */ ((s) => (s[s.AliRtcStatePublishIdle = 0] = "AliRtcStatePublishIdle", s[s.AliRtcStateNoPublish = 1] = "AliRtcStateNoPublish", s[s.AliRtcStatePublishing = 2] = "AliRtcStatePublishing", s[s.AliRtcStatePublished = 3] = "AliRtcStatePublished", s))(ge || {}), ke = /* @__PURE__ */ ((s) => (s[s.AliRtcStateSubscribeIdle = 0] = "AliRtcStateSubscribeIdle", s[s.AliRtcStateNoSubscribe = 1] = "AliRtcStateNoSubscribe", s[s.AliRtcStateSubscribing = 2] = "AliRtcStateSubscribing", s[s.AliRtcStateSubscribed = 3] = "AliRtcStateSubscribed", s))(ke || {}), Ge = /* @__PURE__ */ ((s) => (s[s.AliRtcVideoStreamTypeNone = 0] = "AliRtcVideoStreamTypeNone", s[s.AliRtcVideoStreamTypeHigh = 1] = "AliRtcVideoStreamTypeHigh", s[s.AliRtcVideoStreamTypeLow = 2] = "AliRtcVideoStreamTypeLow", s))(Ge || {}), gi = /* @__PURE__ */ ((s) => (s[s.CAMERA_INVALID = -1] = "CAMERA_INVALID", s[s.CAMERA_REAR = 0] = "CAMERA_REAR", s[s.CAMERA_FRONT = 1] = "CAMERA_FRONT", s))(gi || {});
|
|
12125
|
+
const oa = 10, ca = 5e3, Qt = class Qt extends Je {
|
|
12126
12126
|
constructor(e) {
|
|
12127
12127
|
super();
|
|
12128
12128
|
_(this, "ws");
|
|
@@ -12394,7 +12394,7 @@ class Y extends Error {
|
|
|
12394
12394
|
return this._extra;
|
|
12395
12395
|
}
|
|
12396
12396
|
}
|
|
12397
|
-
const g0 = 3e4, ct = class ct extends
|
|
12397
|
+
const g0 = 3e4, ct = class ct extends Je {
|
|
12398
12398
|
// 发送重连信令时,房间信令凭这些信息找回 session
|
|
12399
12399
|
constructor(e, t, i, r, n, a) {
|
|
12400
12400
|
super();
|
|
@@ -12497,7 +12497,7 @@ const g0 = 3e4, ct = class ct extends Ge {
|
|
|
12497
12497
|
*/
|
|
12498
12498
|
refreshUrl(e) {
|
|
12499
12499
|
const t = this.packageCreater.createRefreshUrlPackage();
|
|
12500
|
-
t.data = me(
|
|
12500
|
+
t.data = me(bt(me({}, t.data), {
|
|
12501
12501
|
sessionid: t.header.sessionid
|
|
12502
12502
|
}), e), this.sendPackage(t);
|
|
12503
12503
|
}
|
|
@@ -12781,7 +12781,7 @@ const j = (s, c) => (e, t, i) => {
|
|
|
12781
12781
|
else
|
|
12782
12782
|
try {
|
|
12783
12783
|
l = c(f);
|
|
12784
|
-
} catch (
|
|
12784
|
+
} catch (v) {
|
|
12785
12785
|
}
|
|
12786
12786
|
else
|
|
12787
12787
|
return;
|
|
@@ -12796,12 +12796,12 @@ const j = (s, c) => (e, t, i) => {
|
|
|
12796
12796
|
}), h;
|
|
12797
12797
|
}, i;
|
|
12798
12798
|
}, ne = (s) => s;
|
|
12799
|
-
var
|
|
12800
|
-
for (var i = t > 1 ? void 0 : t ?
|
|
12799
|
+
var b0 = Object.defineProperty, v0 = Object.getOwnPropertyDescriptor, Ss = (s, c, e, t) => {
|
|
12800
|
+
for (var i = t > 1 ? void 0 : t ? v0(c, e) : c, r = s.length - 1, n; r >= 0; r--)
|
|
12801
12801
|
(n = s[r]) && (i = (t ? n(c, e, i) : n(i)) || i);
|
|
12802
|
-
return t && i &&
|
|
12802
|
+
return t && i && b0(c, e, i), i;
|
|
12803
12803
|
}, Ye;
|
|
12804
|
-
const Vi = (Ye = class extends
|
|
12804
|
+
const Vi = (Ye = class extends Je {
|
|
12805
12805
|
constructor(e, t, i, r = yt.prod) {
|
|
12806
12806
|
super();
|
|
12807
12807
|
_(this, "messageCenter");
|
|
@@ -12891,7 +12891,7 @@ const Vi = (Ye = class extends Ge {
|
|
|
12891
12891
|
return new Promise((t, i) => {
|
|
12892
12892
|
var r;
|
|
12893
12893
|
this.messageCenter ? (this.messageCenter.once("onPublishResult", (n, a, o) => {
|
|
12894
|
-
ae.info(`[${Ye.logName}]`, "recv pubish response " + n), n === 200 ? (this.updateReconnectData(
|
|
12894
|
+
ae.info(`[${Ye.logName}]`, "recv pubish response " + n), n === 200 ? (this.updateReconnectData(bt(me({}, this.reconnectData), {
|
|
12895
12895
|
publish: {
|
|
12896
12896
|
users: [e]
|
|
12897
12897
|
}
|
|
@@ -12998,7 +12998,7 @@ Ss([
|
|
|
12998
12998
|
j()
|
|
12999
12999
|
], Vi.prototype, "roleUpdate", 1);
|
|
13000
13000
|
let x0 = Vi;
|
|
13001
|
-
const S0 = "https://pgw.rtn.aliyuncs.com", _0 = "https://gw.rtn.aliyuncs.com", ua = 10 * 60 * 1e3, y0 = 12, li = class li extends
|
|
13001
|
+
const S0 = "https://pgw.rtn.aliyuncs.com", _0 = "https://gw.rtn.aliyuncs.com", ua = 10 * 60 * 1e3, y0 = 12, li = class li extends Je {
|
|
13002
13002
|
constructor(e, t) {
|
|
13003
13003
|
super();
|
|
13004
13004
|
_(this, "env");
|
|
@@ -13017,8 +13017,8 @@ const S0 = "https://pgw.rtn.aliyuncs.com", _0 = "https://gw.rtn.aliyuncs.com", u
|
|
|
13017
13017
|
fetch(m).then((l) => l.json()).then((l) => {
|
|
13018
13018
|
var p, d;
|
|
13019
13019
|
if (l.code === 0) {
|
|
13020
|
-
const g = (p = l.data) == null ? void 0 : p.oss,
|
|
13021
|
-
this.expiration = g.expiration ||
|
|
13020
|
+
const g = (p = l.data) == null ? void 0 : p.oss, v = (d = l.data) == null ? void 0 : d.sls;
|
|
13021
|
+
this.expiration = g.expiration || v.expiration, this.emit("onTokenUpdate", g, v), ae.event(`[${li.logName}]`, "getToken", g, v);
|
|
13022
13022
|
} else
|
|
13023
13023
|
throw new Error();
|
|
13024
13024
|
this.slsReporter.reportSTSResult(200, f);
|
|
@@ -13051,7 +13051,7 @@ var E0 = Object.defineProperty, A0 = Object.getOwnPropertyDescriptor, w0 = (s, c
|
|
|
13051
13051
|
(n = s[r]) && (i = (t ? n(c, e, i) : n(i)) || i);
|
|
13052
13052
|
return t && i && E0(c, e, i), i;
|
|
13053
13053
|
};
|
|
13054
|
-
class _s extends
|
|
13054
|
+
class _s extends Je {
|
|
13055
13055
|
constructor(e, t, i, r = yt.prod) {
|
|
13056
13056
|
super();
|
|
13057
13057
|
_(this, "signaling");
|
|
@@ -13303,7 +13303,7 @@ function C0(s, c, e, t, i) {
|
|
|
13303
13303
|
}
|
|
13304
13304
|
};
|
|
13305
13305
|
}
|
|
13306
|
-
class I0 extends
|
|
13306
|
+
class I0 extends Je {
|
|
13307
13307
|
constructor() {
|
|
13308
13308
|
super();
|
|
13309
13309
|
_(this, "audioContext");
|
|
@@ -13337,7 +13337,7 @@ class I0 extends Ge {
|
|
|
13337
13337
|
this.stop();
|
|
13338
13338
|
}
|
|
13339
13339
|
}
|
|
13340
|
-
class Ha extends
|
|
13340
|
+
class Ha extends Je {
|
|
13341
13341
|
constructor(e, t, i, r) {
|
|
13342
13342
|
super();
|
|
13343
13343
|
_(this, "uid");
|
|
@@ -13503,7 +13503,7 @@ const Ka = (s, c, e = !1) => {
|
|
|
13503
13503
|
return e && s.srcObject === c ? i = Promise.resolve() : (s.load(), s.srcObject = c, i = s.play(), s._playPromise = i), i;
|
|
13504
13504
|
}));
|
|
13505
13505
|
return new Promise((i) => {
|
|
13506
|
-
if (
|
|
13506
|
+
if (Re.BrowserUtil.isMicroMessenger) {
|
|
13507
13507
|
const r = window.top !== window.self, n = window.WeixinJSBridge || window.top.WeixinJSBridge;
|
|
13508
13508
|
n ? n.invoke("getNetworkType", {}, () => {
|
|
13509
13509
|
i(t());
|
|
@@ -13575,7 +13575,7 @@ class Ci {
|
|
|
13575
13575
|
return this._byteArray.buffer;
|
|
13576
13576
|
}
|
|
13577
13577
|
}
|
|
13578
|
-
class
|
|
13578
|
+
class bi {
|
|
13579
13579
|
constructor(c = 0, e = !0, t = 1, i = !1, r = 0, n = !1, a = !1, o = 3) {
|
|
13580
13580
|
_(this, "_fin", !0);
|
|
13581
13581
|
_(this, "_hasExtension", !1);
|
|
@@ -13623,7 +13623,7 @@ class vi {
|
|
|
13623
13623
|
}
|
|
13624
13624
|
static parse(c) {
|
|
13625
13625
|
const e = new DataView(c), t = e.getUint8(0) >> 7 === 1, i = (e.getUint8(0) & 64) >> 6 === 1, r = (e.getUint8(0) & 48) >> 4, n = e.getUint8(0) & 15, a = e.getUint8(1) >> 7 === 1, o = (e.getUint8(1) & 64) >> 6 === 1, u = e.getUint8(1) & 15, h = e.getUint16(2);
|
|
13626
|
-
return new
|
|
13626
|
+
return new bi(
|
|
13627
13627
|
h,
|
|
13628
13628
|
t,
|
|
13629
13629
|
n,
|
|
@@ -13638,7 +13638,7 @@ class vi {
|
|
|
13638
13638
|
class Hi {
|
|
13639
13639
|
constructor(c, e) {
|
|
13640
13640
|
_(this, "_body");
|
|
13641
|
-
_(this, "_header", new
|
|
13641
|
+
_(this, "_header", new bi());
|
|
13642
13642
|
this._header = c, this._body = e;
|
|
13643
13643
|
}
|
|
13644
13644
|
get header() {
|
|
@@ -13657,7 +13657,7 @@ class Hi {
|
|
|
13657
13657
|
return i.set(new Uint8Array(t), 0), i.set(new Uint8Array(c), t.byteLength), i.set(new Uint8Array(e), t.byteLength + c.byteLength), i.buffer;
|
|
13658
13658
|
}
|
|
13659
13659
|
static parse(c) {
|
|
13660
|
-
const e = c.slice(0, 4), t =
|
|
13660
|
+
const e = c.slice(0, 4), t = bi.parse(e);
|
|
13661
13661
|
let i = new ArrayBuffer(0);
|
|
13662
13662
|
return c.byteLength - 4 >= t.payloadLength && (i = c.slice(4, 4 + t.payloadLength)), new Hi(t, i);
|
|
13663
13663
|
}
|
|
@@ -13725,7 +13725,7 @@ var T0 = Object.defineProperty, B0 = Object.getOwnPropertyDescriptor, Oe = (s, c
|
|
|
13725
13725
|
return t && i && T0(c, e, i), i;
|
|
13726
13726
|
};
|
|
13727
13727
|
const fa = 30;
|
|
13728
|
-
class ni extends
|
|
13728
|
+
class ni extends Je {
|
|
13729
13729
|
constructor() {
|
|
13730
13730
|
super();
|
|
13731
13731
|
_(this, "state");
|
|
@@ -13952,9 +13952,9 @@ const Ne = (Tt = class extends Ha {
|
|
|
13952
13952
|
let n = [];
|
|
13953
13953
|
if (!t && !e && !i && r) {
|
|
13954
13954
|
try {
|
|
13955
|
-
n = yield
|
|
13955
|
+
n = yield Re.getCameraList(), n.length && (yield this.startCameraCapture());
|
|
13956
13956
|
} catch (a) {
|
|
13957
|
-
throw a.code ===
|
|
13957
|
+
throw a.code === Re.ErrorCode.ERROR_DEVICE_VIDEODEVICE_NOTALLOWED ? new Y(te.ERR_CAMERA_AUTH_FAIL, "camera auth fail") : new Y(te.ERR_CAMERA_OPEN_FAIL, `camera open fail: ${a.message}`);
|
|
13958
13958
|
}
|
|
13959
13959
|
if (!n.length)
|
|
13960
13960
|
throw new Y(te.ERR_CAMERA_NOT_AVAILABLE, "No camera device can be captured");
|
|
@@ -13967,9 +13967,9 @@ const Ne = (Tt = class extends Ha {
|
|
|
13967
13967
|
let r = [];
|
|
13968
13968
|
if (!e && !t && i) {
|
|
13969
13969
|
try {
|
|
13970
|
-
r = yield
|
|
13970
|
+
r = yield Re.getMicList(), r.length && (yield this.startAudioCapture());
|
|
13971
13971
|
} catch (n) {
|
|
13972
|
-
throw n.code ===
|
|
13972
|
+
throw n.code === Re.ErrorCode.ERROR_DEVICE_AUDIODEVICE_NOTALLOWED ? new Y(te.ERR_MIC_AUTH_FAIL, "microphone auth fail") : new Y(te.ERR_MIC_OPEN_FAIL, `microphone open fail: ${n.message}`);
|
|
13973
13973
|
}
|
|
13974
13974
|
if (!r.length)
|
|
13975
13975
|
throw new Y(te.ERR_MIC_NOT_AVAILABLE, "No microphone device can be captured");
|
|
@@ -14147,7 +14147,7 @@ const Ne = (Tt = class extends Ha {
|
|
|
14147
14147
|
});
|
|
14148
14148
|
}
|
|
14149
14149
|
reportAudioProfile() {
|
|
14150
|
-
const e = this.streamManager.cameraStreamInfo.audioProfile || "standard", t =
|
|
14150
|
+
const e = this.streamManager.cameraStreamInfo.audioProfile || "standard", t = Re.AudioProfileMap.get(e);
|
|
14151
14151
|
this.slsReporter.reportPublishProfile(G.Audio, {
|
|
14152
14152
|
a_profile: e,
|
|
14153
14153
|
bits: (t == null ? void 0 : t.maxBitrate) || 0,
|
|
@@ -14156,7 +14156,7 @@ const Ne = (Tt = class extends Ha {
|
|
|
14156
14156
|
});
|
|
14157
14157
|
}
|
|
14158
14158
|
reportVideoProfile() {
|
|
14159
|
-
const e = this.streamManager.cameraStreamInfo.videoProfile || "", t =
|
|
14159
|
+
const e = this.streamManager.cameraStreamInfo.videoProfile || "", t = Re.VideoProfileMap.get(e);
|
|
14160
14160
|
t && this.slsReporter.reportPublishProfile(G.VideoLarge, {
|
|
14161
14161
|
v_profile: e,
|
|
14162
14162
|
wdth: (t == null ? void 0 : t.width) || 0,
|
|
@@ -14166,7 +14166,7 @@ const Ne = (Tt = class extends Ha {
|
|
|
14166
14166
|
});
|
|
14167
14167
|
}
|
|
14168
14168
|
reportScreenProfile() {
|
|
14169
|
-
const e = this.streamManager.screenStreamInfo.videoProfile || "", t =
|
|
14169
|
+
const e = this.streamManager.screenStreamInfo.videoProfile || "", t = Re.VideoProfileMap.get(e);
|
|
14170
14170
|
t && this.slsReporter.reportPublishProfile(G.Screen, {
|
|
14171
14171
|
v_profile: e,
|
|
14172
14172
|
wdth: (t == null ? void 0 : t.width) || 0,
|
|
@@ -14237,15 +14237,15 @@ const Ne = (Tt = class extends Ha {
|
|
|
14237
14237
|
const i = (/* @__PURE__ */ new Date()).getTime();
|
|
14238
14238
|
try {
|
|
14239
14239
|
const u = (r = this.streamTracks) == null ? void 0 : r.find(
|
|
14240
|
-
({ ssrc:
|
|
14240
|
+
({ ssrc: v, type: b, msid: x }) => b === "audio" && v && x === G.Audio
|
|
14241
14241
|
), h = yield this.compareAndPublish(u, e.audio, G.Audio);
|
|
14242
14242
|
h && (t = h);
|
|
14243
14243
|
const m = (n = this.streamTracks) == null ? void 0 : n.find(
|
|
14244
|
-
({ ssrc:
|
|
14244
|
+
({ ssrc: v, type: b, msid: x }) => b === "video" && v && x === G.VideoLarge
|
|
14245
14245
|
), f = yield this.compareAndPublish(m, e.video, G.VideoLarge);
|
|
14246
14246
|
f && (t = f);
|
|
14247
14247
|
const l = (a = this.streamTracks) == null ? void 0 : a.find(
|
|
14248
|
-
({ ssrc:
|
|
14248
|
+
({ ssrc: v, type: b, msid: x }) => b === "video" && v && x === G.VideoSmall
|
|
14249
14249
|
), p = yield this.compareAndPublish(
|
|
14250
14250
|
l,
|
|
14251
14251
|
e.videoSmall,
|
|
@@ -14253,7 +14253,7 @@ const Ne = (Tt = class extends Ha {
|
|
|
14253
14253
|
);
|
|
14254
14254
|
p && (t = p);
|
|
14255
14255
|
const d = (o = this.streamTracks) == null ? void 0 : o.find(
|
|
14256
|
-
({ ssrc:
|
|
14256
|
+
({ ssrc: v, type: b, msid: x }) => b === "video" && v && x === G.Screen
|
|
14257
14257
|
), g = yield this.compareAndPublish(d, e.screen, G.Screen);
|
|
14258
14258
|
if (g && (t = g), !t)
|
|
14259
14259
|
return;
|
|
@@ -14273,7 +14273,7 @@ const Ne = (Tt = class extends Ha {
|
|
|
14273
14273
|
let r = e;
|
|
14274
14274
|
if (this.dc) {
|
|
14275
14275
|
const a = e, { tracks: u } = a, h = Gt(a, ["tracks"]);
|
|
14276
|
-
r =
|
|
14276
|
+
r = bt(me({}, h), {
|
|
14277
14277
|
tracks: [
|
|
14278
14278
|
...u,
|
|
14279
14279
|
{
|
|
@@ -14540,8 +14540,8 @@ const Ne = (Tt = class extends Ha {
|
|
|
14540
14540
|
const d = this.monitorDataCache[h];
|
|
14541
14541
|
let g;
|
|
14542
14542
|
if ((d == null ? void 0 : d.length) > 0) {
|
|
14543
|
-
const
|
|
14544
|
-
g = Gt(
|
|
14543
|
+
const v = d[d.length - 1] || {}, { _last: x } = v;
|
|
14544
|
+
g = Gt(v, ["_last"]);
|
|
14545
14545
|
}
|
|
14546
14546
|
(d == null ? void 0 : d.length) >= fa && this.reportPublishMonitor(h), l._last = g, l._codec = u.codec || "", this.monitorDataCache[h].push(l);
|
|
14547
14547
|
});
|
|
@@ -14604,7 +14604,7 @@ const Ne = (Tt = class extends Ha {
|
|
|
14604
14604
|
const t = e.toBuffer(), i = k0(t, 1156);
|
|
14605
14605
|
i.forEach((n, a) => {
|
|
14606
14606
|
const o = new Hi(
|
|
14607
|
-
new
|
|
14607
|
+
new bi(n.byteLength, a === i.length - 1, a === 0 ? 1 : 0),
|
|
14608
14608
|
n
|
|
14609
14609
|
);
|
|
14610
14610
|
this.dc.send(o.toGRTNBuffer());
|
|
@@ -14623,7 +14623,7 @@ const Ne = (Tt = class extends Ha {
|
|
|
14623
14623
|
const n = yield this.rtsManager.getPublishVideoStats(this.url, G.VideoLarge);
|
|
14624
14624
|
n && t.push({
|
|
14625
14625
|
track: ye.AliRtcVideoTrackCamera,
|
|
14626
|
-
streamType:
|
|
14626
|
+
streamType: Ge.AliRtcVideoStreamTypeHigh,
|
|
14627
14627
|
stats: n
|
|
14628
14628
|
});
|
|
14629
14629
|
}
|
|
@@ -14631,7 +14631,7 @@ const Ne = (Tt = class extends Ha {
|
|
|
14631
14631
|
const n = yield this.rtsManager.getPublishVideoStats(this.url, G.VideoSmall);
|
|
14632
14632
|
n && t.push({
|
|
14633
14633
|
track: ye.AliRtcVideoTrackCamera,
|
|
14634
|
-
streamType:
|
|
14634
|
+
streamType: Ge.AliRtcVideoStreamTypeLow,
|
|
14635
14635
|
stats: n
|
|
14636
14636
|
});
|
|
14637
14637
|
}
|
|
@@ -14725,7 +14725,7 @@ const P0 = (s) => {
|
|
|
14725
14725
|
const c = new MediaStream();
|
|
14726
14726
|
return c.addTrack(s), c;
|
|
14727
14727
|
}, qa = (s) => O(void 0, null, function* () {
|
|
14728
|
-
return yield
|
|
14728
|
+
return yield Re.createStream({
|
|
14729
14729
|
custom: !0,
|
|
14730
14730
|
mediaStream: s
|
|
14731
14731
|
});
|
|
@@ -14743,7 +14743,7 @@ var U0 = Object.defineProperty, H0 = Object.getOwnPropertyDescriptor, z0 = (s, c
|
|
|
14743
14743
|
(n = s[r]) && (i = (t ? n(c, e, i) : n(i)) || i);
|
|
14744
14744
|
return t && i && U0(c, e, i), i;
|
|
14745
14745
|
};
|
|
14746
|
-
class Bi extends
|
|
14746
|
+
class Bi extends Je {
|
|
14747
14747
|
constructor() {
|
|
14748
14748
|
super();
|
|
14749
14749
|
_(this, "audioInfo", {
|
|
@@ -14975,7 +14975,7 @@ class Bi extends Ge {
|
|
|
14975
14975
|
updateRemoteUserDeviceStatus(e) {
|
|
14976
14976
|
let t = za.parseStatus(e);
|
|
14977
14977
|
const { audioDisable: i, videoDisable: r, screenDisable: n } = t;
|
|
14978
|
-
return this.userStatus ? (this.userStatus.audioDisable != i && (this.userStatus.audioDisable = i, this.emit(et.Remote, i ?
|
|
14978
|
+
return this.userStatus ? (this.userStatus.audioDisable != i && (this.userStatus.audioDisable = i, this.emit(et.Remote, i ? Ie.MuteAudio : Ie.UnmuteAudio)), this.userStatus.videoDisable != r && (this.userStatus.videoDisable = r, this.emit(et.Remote, r ? Ie.MuteVideo : Ie.UnmuteVideo)), this.userStatus.screenDisable != n && (this.userStatus.screenDisable = n, this.emit(et.Remote, n ? Ie.MuteScreen : Ie.UnmuteScreen))) : (this.userStatus = t, this.emit(et.Remote, i ? Ie.MuteAudio : Ie.UnmuteAudio), this.emit(et.Remote, r ? Ie.MuteVideo : Ie.UnmuteVideo), this.emit(et.Remote, n ? Ie.MuteScreen : Ie.UnmuteScreen)), !1;
|
|
14979
14979
|
}
|
|
14980
14980
|
}
|
|
14981
14981
|
/**
|
|
@@ -15038,7 +15038,7 @@ var W0 = Object.defineProperty, K0 = Object.getOwnPropertyDescriptor, Xe = (s, c
|
|
|
15038
15038
|
(n = s[r]) && (i = (t ? n(c, e, i) : n(i)) || i);
|
|
15039
15039
|
return t && i && W0(c, e, i), i;
|
|
15040
15040
|
};
|
|
15041
|
-
class Zt extends
|
|
15041
|
+
class Zt extends Je {
|
|
15042
15042
|
constructor() {
|
|
15043
15043
|
super();
|
|
15044
15044
|
_(this, "state");
|
|
@@ -15064,7 +15064,7 @@ class Zt extends Ge {
|
|
|
15064
15064
|
}
|
|
15065
15065
|
const $0 = 30;
|
|
15066
15066
|
var _t;
|
|
15067
|
-
const
|
|
15067
|
+
const Ke = (_t = class extends Ha {
|
|
15068
15068
|
constructor(e) {
|
|
15069
15069
|
var l;
|
|
15070
15070
|
const {
|
|
@@ -15100,7 +15100,7 @@ const Je = (_t = class extends Ha {
|
|
|
15100
15100
|
_(this, "wantSubAudio", !1);
|
|
15101
15101
|
_(this, "wantSubVideo", !1);
|
|
15102
15102
|
_(this, "wantSubScreen", !1);
|
|
15103
|
-
_(this, "defaultVideoStreamType",
|
|
15103
|
+
_(this, "defaultVideoStreamType", Ge.AliRtcVideoStreamTypeHigh);
|
|
15104
15104
|
_(this, "audioMuted", !1);
|
|
15105
15105
|
_(this, "playoutVolume", 1);
|
|
15106
15106
|
_(this, "playoutGainNode");
|
|
@@ -15297,7 +15297,7 @@ const Je = (_t = class extends Ha {
|
|
|
15297
15297
|
"track is not AliRtcVideoTrackScreen or AliRtcVideoTrackCamera"
|
|
15298
15298
|
);
|
|
15299
15299
|
e ? ns(e).forEach((r) => {
|
|
15300
|
-
r.setAttribute("playsinline", ""),
|
|
15300
|
+
r.setAttribute("playsinline", ""), Re.BrowserUtil.isMicroMessenger && (r.setAttribute("x5-video-player-type", "h5-page"), r.setAttribute("x5-playsinline", ""), Re.SystenUtil.isAndroid || Re.SystenUtil.isIos && r.setAttribute("x-webkit-airplay", "allow")), t === ye.AliRtcVideoTrackScreen ? this.viewMap.screenViews.push(r) : this.viewMap.cameraViews.push(r), this.play(r, t === ye.AliRtcVideoTrackScreen);
|
|
15301
15301
|
}) : (this.stopPlayAll(t === ye.AliRtcVideoTrackScreen), t === ye.AliRtcVideoTrackScreen ? this.viewMap.screenViews = [] : this.viewMap.cameraViews = []);
|
|
15302
15302
|
}
|
|
15303
15303
|
clear(e = !0) {
|
|
@@ -15321,12 +15321,12 @@ const Je = (_t = class extends Ha {
|
|
|
15321
15321
|
var l, p;
|
|
15322
15322
|
let a = e;
|
|
15323
15323
|
if (!a) {
|
|
15324
|
-
const { hasAudio: d, hasVideo: g, hasScreen:
|
|
15324
|
+
const { hasAudio: d, hasVideo: g, hasScreen: v, hasData: b } = (l = this.streamInfo) != null ? l : {};
|
|
15325
15325
|
a = {
|
|
15326
15326
|
audio: this.wantSubAudio && d,
|
|
15327
15327
|
video: this.wantSubVideo && g,
|
|
15328
|
-
screen: this.wantSubScreen &&
|
|
15329
|
-
data: ((p = this.parameter.data) == null ? void 0 : p.enableSubDataChannel) &&
|
|
15328
|
+
screen: this.wantSubScreen && v,
|
|
15329
|
+
data: ((p = this.parameter.data) == null ? void 0 : p.enableSubDataChannel) && b
|
|
15330
15330
|
};
|
|
15331
15331
|
}
|
|
15332
15332
|
this.streamInfo.markRemoteTrackSubscribing(a);
|
|
@@ -15577,7 +15577,7 @@ const Je = (_t = class extends Ha {
|
|
|
15577
15577
|
getRetryOptions() {
|
|
15578
15578
|
var i, r, n, a, o, u, h;
|
|
15579
15579
|
const e = {};
|
|
15580
|
-
this.wantSubAudio && ((i = this.streamInfo) != null && i.hasAudio) && (e.audio = !0, e.aMsid = ((r = this.streamInfo.getAudioInfo()) == null ? void 0 : r.msid) || G.Audio), this.wantSubVideo && ((n = this.streamInfo) != null && n.hasVideo) && (this.defaultVideoStreamType ===
|
|
15580
|
+
this.wantSubAudio && ((i = this.streamInfo) != null && i.hasAudio) && (e.audio = !0, e.aMsid = ((r = this.streamInfo.getAudioInfo()) == null ? void 0 : r.msid) || G.Audio), this.wantSubVideo && ((n = this.streamInfo) != null && n.hasVideo) && (this.defaultVideoStreamType === Ge.AliRtcVideoStreamTypeLow && ((a = this.streamInfo) != null && a.hasVideoSmall) ? (e.video = !0, e.vMsid = G.VideoSmall) : (o = this.streamInfo) != null && o.hasVideoLarge && (e.video = !0, e.vMsid = ((u = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : u.msid) || G.VideoLarge)), this.wantSubScreen && ((h = this.streamInfo) != null && h.hasScreen) && (e.screen = !0);
|
|
15581
15581
|
let t = {};
|
|
15582
15582
|
if (e.audio || e.video)
|
|
15583
15583
|
t = {
|
|
@@ -15601,9 +15601,9 @@ const Je = (_t = class extends Ha {
|
|
|
15601
15601
|
};
|
|
15602
15602
|
}
|
|
15603
15603
|
updateSubscribe(e) {
|
|
15604
|
-
var n, a, o, u, h, m, f, l, p, d, g,
|
|
15604
|
+
var n, a, o, u, h, m, f, l, p, d, g, v, b, x, y, A, I;
|
|
15605
15605
|
const t = Date.now(), i = {}, r = {};
|
|
15606
|
-
if (this.wantSubAudio && !this.isAudioSubscribing && ((n = this.streamInfo) != null && n.hasAudio) ? (i.audio = !0, i.aMsid = ((a = this.streamInfo.getAudioInfo()) == null ? void 0 : a.msid) || G.Audio) : (!this.wantSubAudio || !((o = this.streamInfo) != null && o.hasAudio)) && this.isAudioSubscribing && (r.audio = !0, r.aMsid = ((u = this.streamInfo.getAudioInfo()) == null ? void 0 : u.msid) || G.Audio), this.wantSubVideo && ((h = this.streamInfo) != null && h.hasVideo) ? (this.defaultVideoStreamType ===
|
|
15606
|
+
if (this.wantSubAudio && !this.isAudioSubscribing && ((n = this.streamInfo) != null && n.hasAudio) ? (i.audio = !0, i.aMsid = ((a = this.streamInfo.getAudioInfo()) == null ? void 0 : a.msid) || G.Audio) : (!this.wantSubAudio || !((o = this.streamInfo) != null && o.hasAudio)) && this.isAudioSubscribing && (r.audio = !0, r.aMsid = ((u = this.streamInfo.getAudioInfo()) == null ? void 0 : u.msid) || G.Audio), this.wantSubVideo && ((h = this.streamInfo) != null && h.hasVideo) ? (this.defaultVideoStreamType === Ge.AliRtcVideoStreamTypeLow && !this.isVideoSmallSubscribing && ((m = this.streamInfo) != null && m.hasVideoSmall) ? (i.video = !0, i.vMsid = G.VideoSmall) : !this.isVideoLargeSubscribing && ((f = this.streamInfo) != null && f.hasVideoLarge) && !(this.defaultVideoStreamType === Ge.AliRtcVideoStreamTypeLow && this.isVideoSmallSubscribing) && (i.video = !0, i.vMsid = ((l = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : l.msid) || G.VideoLarge), this.defaultVideoStreamType === Ge.AliRtcVideoStreamTypeLow && this.isVideoLargeSubscribing && this.isVideoSmallSubscribing && this.streamInfo.hasVideoSmall ? (r.video = !0, r.vMsid = G.VideoLarge) : this.defaultVideoStreamType === Ge.AliRtcVideoStreamTypeHigh && this.isVideoLargeSubscribing && this.isVideoSmallSubscribing && (r.video = !0, r.vMsid = G.VideoSmall)) : (!this.wantSubVideo || !((p = this.streamInfo) != null && p.hasVideo)) && this.isVideoSubscribing && (r.video = !0, r.vMsid = this.streamInfo.isVideoSmallSubscribed || this.streamInfo.isVideoSmallSubscribing ? G.VideoSmall : ((d = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : d.msid) || G.VideoLarge), this.wantSubScreen && !this.isScreenSubscribing && ((g = this.streamInfo) != null && g.hasScreen) ? i.screen = !0 : (!this.wantSubScreen || !((v = this.streamInfo) != null && v.hasScreen)) && this.isScreenSubscribing && (r.screen = !0), (b = this.parameter.data) != null && b.enableSubDataChannel && !this.isDataSubscribing && ((x = this.streamInfo) != null && x.hasData) ? i.data = !0 : (!((y = this.parameter.data) != null && y.enableSubDataChannel) || !((A = this.streamInfo) != null && A.hasData)) && this.isDataSubscribing && (r.data = !0), (i.audio || i.video || i.screen || i.data) && (this.createCallId(), this.subscribe(i, e, t)), (r.audio || r.video || r.screen) && this.subscribeDeleteTracks(r), e === Te.Reconnect) {
|
|
15607
15607
|
if (ae.event(`[${_t.logName}]`, "reconnect, try to resume"), this.streamInfo.hasAudio && !i.audio) {
|
|
15608
15608
|
const w = this.rtsManager.getStreamByMsid({
|
|
15609
15609
|
url: this.streamUrl,
|
|
@@ -15651,32 +15651,28 @@ const Je = (_t = class extends Ha {
|
|
|
15651
15651
|
}
|
|
15652
15652
|
playAudio() {
|
|
15653
15653
|
return O(this, null, function* () {
|
|
15654
|
-
var
|
|
15655
|
-
if (
|
|
15656
|
-
|
|
15657
|
-
|
|
15658
|
-
|
|
15654
|
+
var e, t;
|
|
15655
|
+
if (this.audioTrack) {
|
|
15656
|
+
if (this.toggleAudio(!this.audioMuted), this.audioElement || (this.audioElement = document.createElement("audio"), 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) {
|
|
15657
|
+
let i = this.audioElement.srcObject;
|
|
15658
|
+
i ? i.getAudioTracks().forEach((r) => {
|
|
15659
|
+
i.removeTrack(r);
|
|
15660
|
+
}) : (i = new MediaStream(), this.audioElement.srcObject = i), i.addTrack(this.audioTrack);
|
|
15661
|
+
}
|
|
15662
|
+
if (Re.SystenUtil.isIos && parseInt(Re.SystenUtil.systemVersion) <= 14) {
|
|
15663
|
+
const i = this.audioElement;
|
|
15664
|
+
i.setAttribute("autoplay", "");
|
|
15659
15665
|
const r = () => {
|
|
15660
|
-
|
|
15661
|
-
|
|
15666
|
+
i.removeEventListener("playing", r), i.pause(), i.play().catch(() => {
|
|
15667
|
+
this.handleAutoPlayFailed();
|
|
15668
|
+
});
|
|
15662
15669
|
};
|
|
15663
15670
|
this.audioElement.addEventListener("playing", r);
|
|
15664
|
-
}
|
|
15665
|
-
|
|
15666
|
-
|
|
15667
|
-
|
|
15668
|
-
let r = this.audioElement.srcObject;
|
|
15669
|
-
r ? r.getAudioTracks().forEach((n) => {
|
|
15670
|
-
r.removeTrack(n);
|
|
15671
|
-
}) : (r = new MediaStream(), this.audioElement.srcObject = r), r.addTrack(this.audioTrack);
|
|
15671
|
+
} else
|
|
15672
|
+
this.audioElement.play().catch(() => {
|
|
15673
|
+
this.handleAutoPlayFailed();
|
|
15674
|
+
});
|
|
15672
15675
|
}
|
|
15673
|
-
this.audioElement.play().catch(() => {
|
|
15674
|
-
this.handleAutoPlayFailed();
|
|
15675
|
-
});
|
|
15676
|
-
const e = this.audioElement;
|
|
15677
|
-
this.audioElement.addEventListener("playing", function r() {
|
|
15678
|
-
e.removeEventListener("playing", r), we.SystenUtil.isIos && parseInt(we.SystenUtil.systemVersion) <= 14 && (e.muted || (e.pause(), e.play()));
|
|
15679
|
-
});
|
|
15680
15676
|
});
|
|
15681
15677
|
}
|
|
15682
15678
|
stopPlayAudio() {
|
|
@@ -15746,7 +15742,7 @@ const Je = (_t = class extends Ha {
|
|
|
15746
15742
|
u && t.push({
|
|
15747
15743
|
uid: this.uid,
|
|
15748
15744
|
track: ye.AliRtcVideoTrackCamera,
|
|
15749
|
-
streamType:
|
|
15745
|
+
streamType: Ge.AliRtcVideoStreamTypeHigh,
|
|
15750
15746
|
stats: u
|
|
15751
15747
|
});
|
|
15752
15748
|
}
|
|
@@ -15758,7 +15754,7 @@ const Je = (_t = class extends Ha {
|
|
|
15758
15754
|
u && t.push({
|
|
15759
15755
|
uid: this.uid,
|
|
15760
15756
|
track: ye.AliRtcVideoTrackCamera,
|
|
15761
|
-
streamType:
|
|
15757
|
+
streamType: Ge.AliRtcVideoStreamTypeLow,
|
|
15762
15758
|
stats: u
|
|
15763
15759
|
});
|
|
15764
15760
|
}
|
|
@@ -15845,59 +15841,62 @@ const Je = (_t = class extends Ha {
|
|
|
15845
15841
|
_(_t, "logName", "RemoteUser"), _t);
|
|
15846
15842
|
Xe([
|
|
15847
15843
|
j()
|
|
15848
|
-
],
|
|
15844
|
+
], Ke.prototype, "clear", 1);
|
|
15849
15845
|
Xe([
|
|
15850
15846
|
j()
|
|
15851
|
-
],
|
|
15847
|
+
], Ke.prototype, "updateRemoteUserDeviceStatus", 1);
|
|
15852
15848
|
Xe([
|
|
15853
15849
|
j()
|
|
15854
|
-
],
|
|
15850
|
+
], Ke.prototype, "updateRemoteTracks", 1);
|
|
15855
15851
|
Xe([
|
|
15856
15852
|
j(ne)
|
|
15857
|
-
],
|
|
15853
|
+
], Ke.prototype, "subscribe", 1);
|
|
15858
15854
|
Xe([
|
|
15859
15855
|
j()
|
|
15860
|
-
],
|
|
15856
|
+
], Ke.prototype, "subscribeProxy", 1);
|
|
15861
15857
|
Xe([
|
|
15862
15858
|
j(ne)
|
|
15863
|
-
],
|
|
15859
|
+
], Ke.prototype, "subscribeDeleteProxy", 1);
|
|
15864
15860
|
Xe([
|
|
15865
15861
|
j()
|
|
15866
|
-
],
|
|
15862
|
+
], Ke.prototype, "restore", 1);
|
|
15863
|
+
Xe([
|
|
15864
|
+
j(ne)
|
|
15865
|
+
], Ke.prototype, "resumeAudio", 1);
|
|
15867
15866
|
Xe([
|
|
15868
15867
|
j(ne)
|
|
15869
|
-
],
|
|
15868
|
+
], Ke.prototype, "stopSubscribe", 1);
|
|
15870
15869
|
Xe([
|
|
15871
15870
|
j(ne)
|
|
15872
|
-
],
|
|
15871
|
+
], Ke.prototype, "doStopSubscribe", 1);
|
|
15873
15872
|
Xe([
|
|
15874
15873
|
j()
|
|
15875
|
-
],
|
|
15874
|
+
], Ke.prototype, "clearStream", 1);
|
|
15876
15875
|
Xe([
|
|
15877
15876
|
j()
|
|
15878
|
-
],
|
|
15877
|
+
], Ke.prototype, "clearScreenStream", 1);
|
|
15879
15878
|
Xe([
|
|
15880
15879
|
j()
|
|
15881
|
-
],
|
|
15880
|
+
], Ke.prototype, "updateSubscribe", 1);
|
|
15882
15881
|
Xe([
|
|
15883
15882
|
j()
|
|
15884
|
-
],
|
|
15883
|
+
], Ke.prototype, "playAudio", 1);
|
|
15885
15884
|
Xe([
|
|
15886
15885
|
j()
|
|
15887
|
-
],
|
|
15886
|
+
], Ke.prototype, "stopPlayAudio", 1);
|
|
15888
15887
|
Xe([
|
|
15889
15888
|
j((s, c, e) => [
|
|
15890
15889
|
typeof s == "string" ? s : s == null ? void 0 : s.nodeType,
|
|
15891
15890
|
c,
|
|
15892
15891
|
e
|
|
15893
15892
|
])
|
|
15894
|
-
],
|
|
15893
|
+
], Ke.prototype, "play", 1);
|
|
15895
15894
|
Xe([
|
|
15896
15895
|
j()
|
|
15897
|
-
],
|
|
15898
|
-
let q0 =
|
|
15896
|
+
], Ke.prototype, "stopPlayAll", 1);
|
|
15897
|
+
let q0 = Ke;
|
|
15899
15898
|
var Dt = /* @__PURE__ */ ((s) => (s[s.AliRtcPluginErrorCodeSuccess = 0] = "AliRtcPluginErrorCodeSuccess", s[s.AliRtcPluginErrorCodeFailed = -1] = "AliRtcPluginErrorCodeFailed", s[s.AliRtcPluginErrorNoFindPlugin = -2] = "AliRtcPluginErrorNoFindPlugin", s[s.AliRtcPluginErrorParameterError = -3] = "AliRtcPluginErrorParameterError", s[s.AliRtcPluginErrorLoadError = -4] = "AliRtcPluginErrorLoadError", s[s.AliRtcPluginErrorCreateError = -5] = "AliRtcPluginErrorCreateError", s[s.AliRtcPluginErrorInitError = -6] = "AliRtcPluginErrorInitError", s[s.AliRtcPluginErrorInitTokenError = -7] = "AliRtcPluginErrorInitTokenError", s))(Dt || {});
|
|
15900
|
-
class G0 extends
|
|
15899
|
+
class G0 extends Je {
|
|
15901
15900
|
constructor() {
|
|
15902
15901
|
super(...arguments);
|
|
15903
15902
|
_(this, "plugins", /* @__PURE__ */ new Map());
|
|
@@ -15938,7 +15937,7 @@ const zi = ([s]) => {
|
|
|
15938
15937
|
return [`user(${c.userId})`, e];
|
|
15939
15938
|
}, ma = 5;
|
|
15940
15939
|
var Qe;
|
|
15941
|
-
const Ue = (Qe = class extends
|
|
15940
|
+
const Ue = (Qe = class extends Je {
|
|
15942
15941
|
constructor(e, t, i, r, n) {
|
|
15943
15942
|
super();
|
|
15944
15943
|
_(this, "rts");
|
|
@@ -15960,7 +15959,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
15960
15959
|
_(this, "dcConnectingPromise");
|
|
15961
15960
|
_(this, "_publishingTracks", []);
|
|
15962
15961
|
_(this, "parameter", {});
|
|
15963
|
-
this.localStreamManager = e, this.slsReporter = t, this.publishRetryHook = i, this.subscribeRetryOptionsHook = r, this.parameter = n, this.rts =
|
|
15962
|
+
this.localStreamManager = e, this.slsReporter = t, this.publishRetryHook = i, this.subscribeRetryOptionsHook = r, this.parameter = n, this.rts = Re.createClient(), this.addRTSListener();
|
|
15964
15963
|
}
|
|
15965
15964
|
addRTSListener() {
|
|
15966
15965
|
this.rts.on("connectStatusChange", (e) => {
|
|
@@ -16023,7 +16022,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16023
16022
|
this.rts.unpublish();
|
|
16024
16023
|
} catch (e) {
|
|
16025
16024
|
}
|
|
16026
|
-
this.rts =
|
|
16025
|
+
this.rts = Re.createClient(), this.addRTSListener();
|
|
16027
16026
|
}
|
|
16028
16027
|
startConnect() {
|
|
16029
16028
|
this.connecting = !0, this.connectingPromise = new Promise((e) => {
|
|
@@ -16063,7 +16062,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16063
16062
|
}
|
|
16064
16063
|
httpPublish(n, a) {
|
|
16065
16064
|
return O(this, arguments, function* (e, t, i = !1, r = kt.MANUAL) {
|
|
16066
|
-
var
|
|
16065
|
+
var b, x;
|
|
16067
16066
|
let o;
|
|
16068
16067
|
const { publishStream: u, videoSmallStream: h, screenStream: m, vMsid: f } = yield this.localStreamManager.createHTTPPublishStream();
|
|
16069
16068
|
if (!u)
|
|
@@ -16077,7 +16076,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16077
16076
|
this.encodedInsertableStreams && (l.encodedInsertableStreams = !0), l.answerSdpHook = (y) => {
|
|
16078
16077
|
const A = /\d+\.\d+\.\d+\.\d+(?=\s+1106|\s+8000)/.exec(y);
|
|
16079
16078
|
return A != null && A[0] && (o = A[0]), y;
|
|
16080
|
-
}, (x = (
|
|
16079
|
+
}, (x = (b = this.parameter) == null ? void 0 : b.net) != null && x.useTCP && (l.tcpOnly = !0), l.beforeRetry = (y) => O(this, null, function* () {
|
|
16081
16080
|
this._rtsReconnecting = !0, this.publishRetryHook && this.publishRetryHook();
|
|
16082
16081
|
const { publishStream: A, vMsid: I } = yield this.localStreamManager.createHTTPPublishStream();
|
|
16083
16082
|
if (!A)
|
|
@@ -16089,12 +16088,12 @@ const Ue = (Qe = class extends Ge {
|
|
|
16089
16088
|
}), this._rtsPeerConnectionType = "publish";
|
|
16090
16089
|
let p = !u.hasVideo, d = f, g = "";
|
|
16091
16090
|
this.startConnect();
|
|
16092
|
-
const
|
|
16091
|
+
const v = Date.now();
|
|
16093
16092
|
try {
|
|
16094
16093
|
g = yield this.rts.publish(e, u, l);
|
|
16095
16094
|
} catch (y) {
|
|
16096
16095
|
this.setConnected(!1);
|
|
16097
|
-
const A = 2e3 - (Date.now() -
|
|
16096
|
+
const A = 2e3 - (Date.now() - v);
|
|
16098
16097
|
throw A <= 0 ? this.emit("disconnected") : setTimeout(() => {
|
|
16099
16098
|
this.emit("disconnected");
|
|
16100
16099
|
}, A), this.slsReporter.reportPublish(
|
|
@@ -16108,7 +16107,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16108
16107
|
(y == null ? void 0 : y.errorCode) || -1,
|
|
16109
16108
|
this.pcTraceId,
|
|
16110
16109
|
"",
|
|
16111
|
-
|
|
16110
|
+
v
|
|
16112
16111
|
), Y.fromRtsError(y);
|
|
16113
16112
|
}
|
|
16114
16113
|
ae.event(`[${Qe.logName}]`, "rts publish success", g), this.slsReporter.reportPublish(
|
|
@@ -16122,7 +16121,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16122
16121
|
0,
|
|
16123
16122
|
g,
|
|
16124
16123
|
g,
|
|
16125
|
-
|
|
16124
|
+
v
|
|
16126
16125
|
);
|
|
16127
16126
|
try {
|
|
16128
16127
|
const y = Date.now();
|
|
@@ -16145,7 +16144,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16145
16144
|
), p = !1, d = G.Screen), yield this.waitPublishSender(e, p, d), this.slsReporter.reportPublishFirstPacket(
|
|
16146
16145
|
i,
|
|
16147
16146
|
t,
|
|
16148
|
-
|
|
16147
|
+
v,
|
|
16149
16148
|
y,
|
|
16150
16149
|
this._localJoinTime,
|
|
16151
16150
|
p ? G.Audio : l.vMsid,
|
|
@@ -16184,7 +16183,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16184
16183
|
}
|
|
16185
16184
|
publishAdd(u, h, m, f) {
|
|
16186
16185
|
return O(this, arguments, function* (e, t, i, r, n = !1, a = !1, o = kt.MANUAL) {
|
|
16187
|
-
var d, g,
|
|
16186
|
+
var d, g, v, b, x, y, A, I;
|
|
16188
16187
|
const l = Date.now(), p = this.getPubMsid(t, r);
|
|
16189
16188
|
try {
|
|
16190
16189
|
const w = yield da(
|
|
@@ -16209,8 +16208,8 @@ const Ue = (Qe = class extends Ge {
|
|
|
16209
16208
|
i,
|
|
16210
16209
|
((d = p.vMsid) == null ? void 0 : d[0]) === G.VideoLarge,
|
|
16211
16210
|
((g = p.vMsid) == null ? void 0 : g[0]) === G.VideoSmall,
|
|
16212
|
-
((
|
|
16213
|
-
((
|
|
16211
|
+
((v = p.vMsid) == null ? void 0 : v[0]) === G.Screen,
|
|
16212
|
+
((b = p.aMsid) == null ? void 0 : b[0]) === G.Audio,
|
|
16214
16213
|
0,
|
|
16215
16214
|
this.pcTraceId,
|
|
16216
16215
|
L.traceId || "",
|
|
@@ -16249,21 +16248,21 @@ const Ue = (Qe = class extends Ge {
|
|
|
16249
16248
|
return O(this, null, function* () {
|
|
16250
16249
|
var u, h, m, f, l, p, d, g;
|
|
16251
16250
|
yield this.dcConnectingPromise;
|
|
16252
|
-
const i = (h = (u = this.publishingTracks) == null ? void 0 : u.find(({ msid:
|
|
16251
|
+
const i = (h = (u = this.publishingTracks) == null ? void 0 : u.find(({ msid: v }) => v === G.Audio)) == null ? void 0 : h.msid, r = (f = (m = this.publishingTracks) == null ? void 0 : m.find(({ msid: v }) => v === G.VideoLarge)) == null ? void 0 : f.msid, n = (p = (l = this.publishingTracks) == null ? void 0 : l.find(({ msid: v }) => v === G.Screen)) == null ? void 0 : p.msid, a = [];
|
|
16253
16252
|
t.screen && n ? a.push(n) : t.video && a.push(t.vMsid || r);
|
|
16254
16253
|
const o = [];
|
|
16255
16254
|
t.audio && i && o.push(i), ae.event(Qe.logName, "publishDelete", { streamUrl: e, aMsid: o, vMsid: a });
|
|
16256
16255
|
try {
|
|
16257
|
-
const [
|
|
16256
|
+
const [v] = (yield this.rts.publishDeleteTracks([
|
|
16258
16257
|
{
|
|
16259
16258
|
url: e,
|
|
16260
16259
|
aMsid: o,
|
|
16261
16260
|
vMsid: a
|
|
16262
16261
|
}
|
|
16263
16262
|
])) || [];
|
|
16264
|
-
return ae.event(Qe.logName, "publishDelete", { result:
|
|
16265
|
-
} catch (
|
|
16266
|
-
throw Y.fromRtsError(
|
|
16263
|
+
return ae.event(Qe.logName, "publishDelete", { result: v }), v && this.updatePublishingTracks(v.trackInfoList), ((g = (d = v == null ? void 0 : v.trackInfoList) == null ? void 0 : d[0]) == null ? void 0 : g.trackId) || "";
|
|
16264
|
+
} catch (v) {
|
|
16265
|
+
throw Y.fromRtsError(v);
|
|
16267
16266
|
}
|
|
16268
16267
|
});
|
|
16269
16268
|
}
|
|
@@ -16388,7 +16387,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16388
16387
|
subscribeAdd(e) {
|
|
16389
16388
|
return O(this, null, function* () {
|
|
16390
16389
|
var n, a, o, u;
|
|
16391
|
-
const { remoteUser: t, options: i } = e, r =
|
|
16390
|
+
const { remoteUser: t, options: i } = e, r = bt(me({
|
|
16392
16391
|
url: t.streamUrl,
|
|
16393
16392
|
subAudio: !!i.audio,
|
|
16394
16393
|
subVideo: !!(i.screen || i.video)
|
|
@@ -16416,7 +16415,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16416
16415
|
return O(this, null, function* () {
|
|
16417
16416
|
var n, a, o, u;
|
|
16418
16417
|
yield this.dcConnectingPromise;
|
|
16419
|
-
const { remoteUser: t, options: i } = e, r =
|
|
16418
|
+
const { remoteUser: t, options: i } = e, r = bt(me({
|
|
16420
16419
|
url: t.streamUrl,
|
|
16421
16420
|
subAudio: !!i.audio,
|
|
16422
16421
|
subVideo: !!(i.screen || i.video)
|
|
@@ -16543,7 +16542,7 @@ const Ue = (Qe = class extends Ge {
|
|
|
16543
16542
|
const f = Date.now();
|
|
16544
16543
|
let l = G.VideoLarge, p = o.video || o.screen, d = o.audio;
|
|
16545
16544
|
o.video && o.vMsid ? l = o.vMsid : o.screen && (l = G.Screen);
|
|
16546
|
-
let g = 0,
|
|
16545
|
+
let g = 0, v = 0, b = 0;
|
|
16547
16546
|
const y = ((A, I) => {
|
|
16548
16547
|
let w = 0;
|
|
16549
16548
|
const R = () => {
|
|
@@ -16554,9 +16553,9 @@ const Ue = (Qe = class extends Ge {
|
|
|
16554
16553
|
else if (!p)
|
|
16555
16554
|
return w < A ? (w++, new Promise((N) => setTimeout(() => N(R()), I))) : !1;
|
|
16556
16555
|
return !0;
|
|
16557
|
-
})), p && !
|
|
16558
|
-
if (D.packetsReceived > 0 && (
|
|
16559
|
-
|
|
16556
|
+
})), p && !b && (L = this.rts.getSubscribeVideoStats(u.streamUrl, l).then((D) => {
|
|
16557
|
+
if (D.packetsReceived > 0 && (v = Date.now()), D.framesDecoded > 0)
|
|
16558
|
+
b = Date.now();
|
|
16560
16559
|
else
|
|
16561
16560
|
return w < A ? (w++, new Promise((N) => setTimeout(() => N(R()), I))) : (ae.error(`[${Qe.logName}]`, u.userId, "尝试获取首帧数据失败"), !1);
|
|
16562
16561
|
return !0;
|
|
@@ -16565,32 +16564,32 @@ const Ue = (Qe = class extends Ge {
|
|
|
16565
16564
|
return R();
|
|
16566
16565
|
})(40, 100);
|
|
16567
16566
|
return y.then(() => {
|
|
16568
|
-
|
|
16567
|
+
v && this.slsReporter.reportSubscribeFirstPacket(
|
|
16569
16568
|
t === Te.Resume,
|
|
16570
16569
|
i,
|
|
16571
16570
|
r,
|
|
16572
16571
|
l,
|
|
16573
16572
|
{
|
|
16574
|
-
fprt:
|
|
16575
|
-
ifsprtc:
|
|
16573
|
+
fprt: v - m,
|
|
16574
|
+
ifsprtc: b ? b - m : 0,
|
|
16576
16575
|
ajsub: t === Te.Join ? 1 : 0,
|
|
16577
16576
|
pctid: this.pcTraceId,
|
|
16578
16577
|
subtid: (h == null ? void 0 : h.traceId) || "",
|
|
16579
16578
|
sstc: f - m
|
|
16580
16579
|
}
|
|
16581
|
-
),
|
|
16580
|
+
), b && this.slsReporter.reportSubscribeFirstFrame(
|
|
16582
16581
|
t === Te.Resume,
|
|
16583
16582
|
i,
|
|
16584
16583
|
r,
|
|
16585
16584
|
l,
|
|
16586
16585
|
{
|
|
16587
|
-
fvfrt:
|
|
16588
|
-
fp2fftc:
|
|
16586
|
+
fvfrt: b - m,
|
|
16587
|
+
fp2fftc: b - v,
|
|
16589
16588
|
ajsub: t === Te.Join ? 1 : 0,
|
|
16590
|
-
tffrtc: t === Te.Join ?
|
|
16589
|
+
tffrtc: t === Te.Join ? b - this.localJoinTime : b - n,
|
|
16591
16590
|
pctid: this.pcTraceId,
|
|
16592
16591
|
subtid: (h == null ? void 0 : h.traceId) || "",
|
|
16593
|
-
fvfdtc:
|
|
16592
|
+
fvfdtc: b - m
|
|
16594
16593
|
}
|
|
16595
16594
|
), g && this.slsReporter.reportSubscribeFirstPacket(
|
|
16596
16595
|
t === Te.Resume,
|
|
@@ -16742,7 +16741,7 @@ class Gr {
|
|
|
16742
16741
|
});
|
|
16743
16742
|
}
|
|
16744
16743
|
}
|
|
16745
|
-
class ga extends
|
|
16744
|
+
class ga extends Je {
|
|
16746
16745
|
constructor(e) {
|
|
16747
16746
|
super();
|
|
16748
16747
|
_(this, "type");
|
|
@@ -16959,7 +16958,7 @@ var Y0 = Object.defineProperty, Q0 = Object.getOwnPropertyDescriptor, pt = (s, c
|
|
|
16959
16958
|
(n = s[r]) && (i = (t ? n(c, e, i) : n(i)) || i);
|
|
16960
16959
|
return t && i && Y0(c, e, i), i;
|
|
16961
16960
|
}, zt;
|
|
16962
|
-
const dt = (zt = class extends
|
|
16961
|
+
const dt = (zt = class extends Je {
|
|
16963
16962
|
// 设置是否发布屏幕流
|
|
16964
16963
|
constructor(e, t) {
|
|
16965
16964
|
super();
|
|
@@ -16982,7 +16981,7 @@ const dt = (zt = class extends Ge {
|
|
|
16982
16981
|
_(this, "_publishLocalScreenStreamEnabled", !0);
|
|
16983
16982
|
this.screenStreamInfo.setVideoContentHint("motion"), this.pluginManager = e, this.slsReporter = t;
|
|
16984
16983
|
const i = (r) => O(this, null, function* () {
|
|
16985
|
-
if (ae.info(`[${zt.logName}]`, "plugin added", r.name), !r.isSupported("6.13.2-beta.
|
|
16984
|
+
if (ae.info(`[${zt.logName}]`, "plugin added", r.name), !r.isSupported("6.13.2-beta.2")) {
|
|
16986
16985
|
console.warn(`${r.name} is not supported!!!`), r.emit("unsupported");
|
|
16987
16986
|
return;
|
|
16988
16987
|
}
|
|
@@ -17073,7 +17072,7 @@ const dt = (zt = class extends Ge {
|
|
|
17073
17072
|
var e, t, i, r;
|
|
17074
17073
|
if ((e = this.cameraStreamInfo.cameraVideoConstraints) != null && e.deviceId) {
|
|
17075
17074
|
let n = (t = this.cameraStreamInfo.cameraVideoConstraints) == null ? void 0 : t.deviceId;
|
|
17076
|
-
const a = yield
|
|
17075
|
+
const a = yield Re.getCameraList();
|
|
17077
17076
|
a.find((o) => o.deviceId === n) || (n = (r = (i = a.find((o) => !!o.deviceId)) == null ? void 0 : i.deviceId) != null ? r : ""), this.cameraStreamInfo.cameraVideoConstraints.deviceId = n;
|
|
17078
17077
|
}
|
|
17079
17078
|
});
|
|
@@ -17084,7 +17083,7 @@ const dt = (zt = class extends Ge {
|
|
|
17084
17083
|
var e, t, i, r;
|
|
17085
17084
|
if ((e = this.cameraStreamInfo.micAudioConstraints) != null && e.deviceId) {
|
|
17086
17085
|
let n = (t = this.cameraStreamInfo.micAudioConstraints) == null ? void 0 : t.deviceId;
|
|
17087
|
-
const a = yield
|
|
17086
|
+
const a = yield Re.getMicList();
|
|
17088
17087
|
a.find((o) => o.deviceId === n) || (n = (r = (i = a.find((o) => !!o.deviceId)) == null ? void 0 : i.deviceId) != null ? r : ""), this.cameraStreamInfo.micAudioConstraints.deviceId = n;
|
|
17089
17088
|
}
|
|
17090
17089
|
});
|
|
@@ -17100,7 +17099,7 @@ const dt = (zt = class extends Ge {
|
|
|
17100
17099
|
i || (a === !0 && this.cameraStreamInfo.cameraVideoConstraints ? (yield this.setAvailableCameraDeviceId(), a = me({}, this.cameraStreamInfo.cameraVideoConstraints)) : typeof a == "object" && (yield this.setAvailableCameraDeviceId(), a = me(me({}, a), this.cameraStreamInfo.cameraVideoConstraints)), o === void 0 && this.audioCaptureDisabled ? o = !1 : o && (o === !0 && this.cameraStreamInfo.micAudioConstraints ? (yield this.setAvailableMicrophoneDeviceId(), o = me({}, this.cameraStreamInfo.micAudioConstraints)) : typeof o == "object" && (yield this.setAvailableMicrophoneDeviceId(), o = me(me({}, o), this.cameraStreamInfo.micAudioConstraints)), this._audioCaptureDisabled = !1));
|
|
17101
17100
|
const f = Date.now();
|
|
17102
17101
|
try {
|
|
17103
|
-
h = yield
|
|
17102
|
+
h = yield Re.createStream({
|
|
17104
17103
|
audio: o,
|
|
17105
17104
|
video: a,
|
|
17106
17105
|
screen: t,
|
|
@@ -17118,7 +17117,7 @@ const dt = (zt = class extends Ge {
|
|
|
17118
17117
|
l && (yield h.setAudioProfile(l));
|
|
17119
17118
|
}
|
|
17120
17119
|
}
|
|
17121
|
-
return
|
|
17120
|
+
return Re.SystenUtil.isIos && Re.SystenUtil.compareVersion("15.1") && !Re.SystenUtil.compareVersion("15.2") && (yield Rt(1e3)), yield this.updateStreams(), h;
|
|
17122
17121
|
});
|
|
17123
17122
|
}
|
|
17124
17123
|
stopLocalStream(e) {
|
|
@@ -17619,7 +17618,7 @@ function hu(s) {
|
|
|
17619
17618
|
const c = s.createTexture();
|
|
17620
17619
|
return s.bindTexture(s.TEXTURE_2D, c), s.texParameteri(s.TEXTURE_2D, s.TEXTURE_WRAP_S, s.CLAMP_TO_EDGE), s.texParameteri(s.TEXTURE_2D, s.TEXTURE_WRAP_T, s.CLAMP_TO_EDGE), s.texParameteri(s.TEXTURE_2D, s.TEXTURE_MIN_FILTER, s.LINEAR), c;
|
|
17621
17620
|
}
|
|
17622
|
-
function
|
|
17621
|
+
function ba(s, c, e) {
|
|
17623
17622
|
const t = s.createShader(c);
|
|
17624
17623
|
if (!t) {
|
|
17625
17624
|
console.error("create shader failed");
|
|
@@ -17628,7 +17627,7 @@ function va(s, c, e) {
|
|
|
17628
17627
|
return s.shaderSource(t, e), s.compileShader(t), s.getShaderParameter(t, s.COMPILE_STATUS) ? t : (console.error(`An error occurred compiling the shaders: ${s.getShaderInfoLog(t)}`), s.deleteShader(t), null);
|
|
17629
17628
|
}
|
|
17630
17629
|
function du(s, c, e) {
|
|
17631
|
-
const t =
|
|
17630
|
+
const t = ba(s, s.VERTEX_SHADER, c), i = ba(s, s.FRAGMENT_SHADER, e), r = s.createProgram();
|
|
17632
17631
|
if (!(!r || !t || !i))
|
|
17633
17632
|
return s.attachShader(r, t), s.attachShader(r, i), s.linkProgram(r), s.getProgramParameter(r, s.LINK_STATUS) ? r : (console.error(`Unable to initialize the shader program: ${s.getProgramInfoLog(r)}`), null);
|
|
17634
17633
|
}
|
|
@@ -17638,7 +17637,7 @@ function lu(s, c, e, t = 0, i = 0) {
|
|
|
17638
17637
|
const n = t, a = i, o = c + t, u = e + i, h = [n, a, o, a, n, u, n, u, o, a, o, u];
|
|
17639
17638
|
return s.bufferData(s.ARRAY_BUFFER, new Float32Array(h), s.STATIC_DRAW), r;
|
|
17640
17639
|
}
|
|
17641
|
-
class
|
|
17640
|
+
class va extends ys {
|
|
17642
17641
|
constructor(e, t) {
|
|
17643
17642
|
super(e, t);
|
|
17644
17643
|
_(this, "targetCtx");
|
|
@@ -17860,7 +17859,7 @@ class as {
|
|
|
17860
17859
|
* @return {VideoScaler}
|
|
17861
17860
|
*/
|
|
17862
17861
|
static getInstance(c, e) {
|
|
17863
|
-
return xa.isSupport() ? new xa(c, e) :
|
|
17862
|
+
return xa.isSupport() ? new xa(c, e) : va.isSupport() ? new va(c, e) : new au(c, e);
|
|
17864
17863
|
}
|
|
17865
17864
|
}
|
|
17866
17865
|
class pu extends ri {
|
|
@@ -17908,7 +17907,7 @@ var mu = Object.defineProperty, gu = Object.getOwnPropertyDescriptor, nt = (s, c
|
|
|
17908
17907
|
(n = s[r]) && (i = (t ? n(c, e, i) : n(i)) || i);
|
|
17909
17908
|
return t && i && mu(c, e, i), i;
|
|
17910
17909
|
};
|
|
17911
|
-
class Ze extends
|
|
17910
|
+
class Ze extends Je {
|
|
17912
17911
|
constructor(e) {
|
|
17913
17912
|
super();
|
|
17914
17913
|
_(this, "self");
|
|
@@ -17930,7 +17929,7 @@ class Ze extends Ge {
|
|
|
17930
17929
|
_(this, "wantSubAudio", !0);
|
|
17931
17930
|
_(this, "wantSubVideo", !0);
|
|
17932
17931
|
_(this, "wantSubScreen", !0);
|
|
17933
|
-
_(this, "defaultStreamType",
|
|
17932
|
+
_(this, "defaultStreamType", Ge.AliRtcVideoStreamTypeHigh);
|
|
17934
17933
|
_(this, "audioMuted", !1);
|
|
17935
17934
|
_(this, "playoutVolume", 1);
|
|
17936
17935
|
// 音量检测时间间隔
|
|
@@ -18194,7 +18193,7 @@ class Ze extends Ge {
|
|
|
18194
18193
|
playoutVolume: this.playoutVolume,
|
|
18195
18194
|
parameter: this.parameter
|
|
18196
18195
|
});
|
|
18197
|
-
return r.on(et.Remote, this.onRemoteDeviceStatusChange.bind(this)), r.on(
|
|
18196
|
+
return r.on(et.Remote, this.onRemoteDeviceStatusChange.bind(this)), r.on(Ie.PullStreamStats, this.onRemoteStatReport.bind(this)), r.on(Ie.RtsSubscribeExceeds, this.onSubscribeExceeds.bind(this)), r.on("audioSubscribeStateChanged", (n, a, o, u) => {
|
|
18198
18197
|
this.emit("audioSubscribeStateChanged", n, a, o, u, this.channel || "");
|
|
18199
18198
|
}), r.on("videoSubscribeStateChanged", (n, a, o, u) => {
|
|
18200
18199
|
this.emit("videoSubscribeStateChanged", n, a, o, u, this.channel || "");
|
|
@@ -18224,20 +18223,20 @@ class Ze extends Ge {
|
|
|
18224
18223
|
* @param {string} userId
|
|
18225
18224
|
*/
|
|
18226
18225
|
onRemoteDeviceStatusChange(e, t) {
|
|
18227
|
-
e ===
|
|
18226
|
+
e === Ie.MuteAudio ? this.emit("userAudioMuted", t, !0) : e === Ie.UnmuteAudio ? this.emit("userAudioMuted", t, !1) : e === Ie.MuteVideo ? this.emit("userVideoMuted", t, !0) : e === Ie.UnmuteVideo ? this.emit("userVideoMuted", t, !1) : e === Ie.MuteScreen ? this.emit("userScreenMuted", t, !0) : e === Ie.UnmuteScreen && this.emit("userScreenMuted", t, !1);
|
|
18228
18227
|
}
|
|
18229
18228
|
/**
|
|
18230
18229
|
* 远端流数据采集上报
|
|
18231
18230
|
* @param {any} stat
|
|
18232
18231
|
*/
|
|
18233
18232
|
onRemoteStatReport(e, t, i) {
|
|
18234
|
-
this.emit(
|
|
18233
|
+
this.emit(Ie.PullStreamStats, e, t, i);
|
|
18235
18234
|
}
|
|
18236
18235
|
/**
|
|
18237
18236
|
* rts 单 PC 订阅超限
|
|
18238
18237
|
*/
|
|
18239
18238
|
onSubscribeExceeds(e, t) {
|
|
18240
|
-
this.emit(
|
|
18239
|
+
this.emit(Ie.RtsSubscribeExceeds, e, t);
|
|
18241
18240
|
}
|
|
18242
18241
|
removeLeftUser(e) {
|
|
18243
18242
|
return O(this, null, function* () {
|
|
@@ -18423,7 +18422,7 @@ const Jr = (s) => O(void 0, null, function* () {
|
|
|
18423
18422
|
);
|
|
18424
18423
|
return Array.from(new Uint8Array(i)).map((r) => r.toString(16).padStart(2, "0")).join("");
|
|
18425
18424
|
});
|
|
18426
|
-
class
|
|
18425
|
+
class bu {
|
|
18427
18426
|
constructor(c) {
|
|
18428
18427
|
_(this, "authInfo");
|
|
18429
18428
|
_(this, "slsReporter");
|
|
@@ -18584,7 +18583,7 @@ class Es {
|
|
|
18584
18583
|
return c && (c.width || c.height || c.frameRate || c.bitrateMax);
|
|
18585
18584
|
}
|
|
18586
18585
|
}
|
|
18587
|
-
class
|
|
18586
|
+
class vu {
|
|
18588
18587
|
constructor(c) {
|
|
18589
18588
|
_(this, "taskProfile");
|
|
18590
18589
|
_(this, "encodeParam");
|
|
@@ -18622,7 +18621,7 @@ class Su {
|
|
|
18622
18621
|
y: ht(this.y, e),
|
|
18623
18622
|
fonttype: this.fontType,
|
|
18624
18623
|
fontsize: this.fontSize,
|
|
18625
|
-
fontcolor:
|
|
18624
|
+
fontcolor: vs(this.fontColor),
|
|
18626
18625
|
zorder: this.zOrder
|
|
18627
18626
|
};
|
|
18628
18627
|
}
|
|
@@ -18672,7 +18671,7 @@ class _u {
|
|
|
18672
18671
|
y: ht(this.y, e),
|
|
18673
18672
|
fonttype: this.fontType,
|
|
18674
18673
|
fontsize: this.fontSize,
|
|
18675
|
-
fontcolor:
|
|
18674
|
+
fontcolor: vs(this.fontColor),
|
|
18676
18675
|
zorder: this.zOrder
|
|
18677
18676
|
};
|
|
18678
18677
|
}
|
|
@@ -18704,7 +18703,7 @@ class yu {
|
|
|
18704
18703
|
images: this.images.map((n) => n.toJson(e, t)),
|
|
18705
18704
|
texts: this.texts.map((n) => n.toJson(e, t))
|
|
18706
18705
|
};
|
|
18707
|
-
return this.sourceType && hi[this.sourceType] ? r.sourcetype = hi[this.sourceType] : r.sourcetype = hi[mi.LiveTranscodingCamera], this.segmentType && i ===
|
|
18706
|
+
return this.sourceType && hi[this.sourceType] ? r.sourcetype = hi[this.sourceType] : r.sourcetype = hi[mi.LiveTranscodingCamera], this.segmentType && i === bs.LiveTranscodingVirtualBackground ? r.segmenttype = this.segmentType : r.segmenttype = Ti.LiveTranscodingNoBody, r;
|
|
18708
18707
|
}
|
|
18709
18708
|
}
|
|
18710
18709
|
var Eu = Object.defineProperty, Au = Object.getOwnPropertyDescriptor, de = (s, c, e, t) => {
|
|
@@ -18712,7 +18711,7 @@ var Eu = Object.defineProperty, Au = Object.getOwnPropertyDescriptor, de = (s, c
|
|
|
18712
18711
|
(n = s[r]) && (i = (t ? n(c, e, i) : n(i)) || i);
|
|
18713
18712
|
return t && i && Eu(c, e, i), i;
|
|
18714
18713
|
}, le;
|
|
18715
|
-
const ue = (le = class extends
|
|
18714
|
+
const ue = (le = class extends Je {
|
|
18716
18715
|
constructor(e) {
|
|
18717
18716
|
super();
|
|
18718
18717
|
_(this, "channelProfile");
|
|
@@ -18731,7 +18730,7 @@ const ue = (le = class extends Ge {
|
|
|
18731
18730
|
_(this, "_serverCheckAuthInfoTimestamp", null);
|
|
18732
18731
|
_(this, "_localCheckAuthInfoTimestamp", null);
|
|
18733
18732
|
const t = Date.now();
|
|
18734
|
-
this.slsReporter = new pi(this), this.channelProfile = It.AliRtcSdkCommunication, this.clientRole = Ft.AliRtcSdkLive, this.liveTranscoding = new
|
|
18733
|
+
this.slsReporter = new pi(this), this.channelProfile = It.AliRtcSdkCommunication, this.clientRole = Ft.AliRtcSdkLive, this.liveTranscoding = new bu(this.slsReporter), this.signalingManager = new _s(
|
|
18735
18734
|
this.channelProfile,
|
|
18736
18735
|
this.clientRole,
|
|
18737
18736
|
this.slsReporter,
|
|
@@ -18965,7 +18964,7 @@ const ue = (le = class extends Ge {
|
|
|
18965
18964
|
const i = t.userid;
|
|
18966
18965
|
if (i) {
|
|
18967
18966
|
const r = this.bizControl.addUser(i, t.displayname, Te.Join);
|
|
18968
|
-
ae.event(`[${le.logName}]`,
|
|
18967
|
+
ae.event(`[${le.logName}]`, Ie.UserJoined, r);
|
|
18969
18968
|
}
|
|
18970
18969
|
});
|
|
18971
18970
|
}
|
|
@@ -19034,7 +19033,7 @@ const ue = (le = class extends Ge {
|
|
|
19034
19033
|
leaveList: i,
|
|
19035
19034
|
presentList: r
|
|
19036
19035
|
}), this.handleUsersJoin(t), i.forEach((n) => {
|
|
19037
|
-
ae.event(le.logName,
|
|
19036
|
+
ae.event(le.logName, Ie.UserLeft, n.userid, n.reason), this.emit("remoteUserOffLineNotify", n.userid, xs.AliRtcUserOfflineQuit);
|
|
19038
19037
|
});
|
|
19039
19038
|
for (let n = 0; n < r.length; n++) {
|
|
19040
19039
|
const a = r[n], o = a.userid, u = this.bizControl.getRemoteUser(o);
|
|
@@ -19076,7 +19075,7 @@ const ue = (le = class extends Ge {
|
|
|
19076
19075
|
* @returns {void}
|
|
19077
19076
|
*/
|
|
19078
19077
|
onError(e) {
|
|
19079
|
-
this.slsReporter.reportError(e), ae.event(le.logName,
|
|
19078
|
+
this.slsReporter.reportError(e), ae.event(le.logName, Ie.Error, e);
|
|
19080
19079
|
}
|
|
19081
19080
|
setEnableDualVideoStream(e, t) {
|
|
19082
19081
|
this.bizControl.setEnableDualVideoStream(e, t);
|
|
@@ -19377,10 +19376,10 @@ const ue = (le = class extends Ge {
|
|
|
19377
19376
|
return (t = (e = this.publisher) == null ? void 0 : e.publishLocalVideoStreamEnabled) != null ? t : !0;
|
|
19378
19377
|
}
|
|
19379
19378
|
setRemoteDefaultVideoStreamType(e) {
|
|
19380
|
-
[
|
|
19379
|
+
[Ge.AliRtcVideoStreamTypeHigh, Ge.AliRtcVideoStreamTypeLow].includes(e) && this.bizControl.setRemoteDefaultVideoStreamType(e);
|
|
19381
19380
|
}
|
|
19382
19381
|
setRemoteUserVideoStreamType(e, t) {
|
|
19383
|
-
[
|
|
19382
|
+
[Ge.AliRtcVideoStreamTypeHigh, Ge.AliRtcVideoStreamTypeLow].includes(t) && this.bizControl.setRemoteUserVideoStreamType(e, t);
|
|
19384
19383
|
}
|
|
19385
19384
|
setDefaultSubscribeAllRemoteVideoStreams(e) {
|
|
19386
19385
|
this.bizControl.setAutoSubVideo(e), this.bizControl.setAutoSubScreen(e);
|
|
@@ -19521,7 +19520,7 @@ const ue = (le = class extends Ge {
|
|
|
19521
19520
|
}
|
|
19522
19521
|
muteLocalMic(e = !1) {
|
|
19523
19522
|
var t;
|
|
19524
|
-
this.isPublishing && this.onLocalDeviceStatusChange(e ?
|
|
19523
|
+
this.isPublishing && this.onLocalDeviceStatusChange(e ? Ie.MuteAudio : Ie.UnmuteAudio), (t = this.publisher) == null || t.muteLocalMic(e);
|
|
19525
19524
|
}
|
|
19526
19525
|
muteRemoteAudioPlaying(e, t = !1) {
|
|
19527
19526
|
const i = this.bizControl.getRemoteUser(e);
|
|
@@ -19643,13 +19642,13 @@ const ue = (le = class extends Ge {
|
|
|
19643
19642
|
muteLocalCamera(e) {
|
|
19644
19643
|
return O(this, null, function* () {
|
|
19645
19644
|
var t;
|
|
19646
|
-
this.isPublishing && this.onLocalDeviceStatusChange(e ?
|
|
19645
|
+
this.isPublishing && this.onLocalDeviceStatusChange(e ? Ie.MuteVideo : Ie.UnmuteVideo), (t = this.publisher) == null || t.muteLocalCamera(e);
|
|
19647
19646
|
});
|
|
19648
19647
|
}
|
|
19649
19648
|
muteLocalScreen(e) {
|
|
19650
19649
|
return O(this, null, function* () {
|
|
19651
19650
|
var t;
|
|
19652
|
-
this.isPublishing && this.onLocalDeviceStatusChange(e ?
|
|
19651
|
+
this.isPublishing && this.onLocalDeviceStatusChange(e ? Ie.MuteScreen : Ie.UnmuteScreen), (t = this.publisher) == null || t.muteLocalScreen(e);
|
|
19653
19652
|
});
|
|
19654
19653
|
}
|
|
19655
19654
|
setRemoteViewConfig(e, t, i) {
|
|
@@ -19668,16 +19667,16 @@ const ue = (le = class extends Ge {
|
|
|
19668
19667
|
}
|
|
19669
19668
|
switchCamera(e, t) {
|
|
19670
19669
|
return O(this, null, function* () {
|
|
19671
|
-
var r, n, a, o, u, h, m, f, l, p, d, g,
|
|
19670
|
+
var r, n, a, o, u, h, m, f, l, p, d, g, v;
|
|
19672
19671
|
if (this._audioOnlyMode)
|
|
19673
19672
|
throw new Y(te.ERR_INNER, "Cannot switch camera in audio only mode");
|
|
19674
19673
|
const i = {};
|
|
19675
19674
|
if (e ? (i.deviceId = e, this.slsReporter.reportSwitchCamera(e)) : (i.cameraDirection = ((r = this.publisher) == null ? void 0 : r.cameraDirection) === "environment" ? gi.CAMERA_FRONT : gi.CAMERA_REAR, this.slsReporter.reportSwitchCamera(((n = this.publisher) == null ? void 0 : n.cameraDirection) || "")), yield this.setCameraCapturerConfiguration(i), !((a = this.publisher) != null && a.cameraCaptureDisabled)) {
|
|
19676
19675
|
(u = (o = this.publisher) == null ? void 0 : o.publishStreams) != null && u.video && ((f = (m = (h = this.publisher) == null ? void 0 : h.publishStreams) == null ? void 0 : m.video) == null || f.disableVideo(), (g = (d = (p = (l = this.publisher) == null ? void 0 : l.publishStreams) == null ? void 0 : p.video) == null ? void 0 : d.videoTrack) == null || g.stop());
|
|
19677
|
-
const
|
|
19676
|
+
const b = {
|
|
19678
19677
|
video: !0
|
|
19679
19678
|
};
|
|
19680
|
-
t && (
|
|
19679
|
+
t && (b.mediaStream = new MediaStream([t])), yield (v = this.publisher) == null ? void 0 : v.createLocalStream(b);
|
|
19681
19680
|
}
|
|
19682
19681
|
});
|
|
19683
19682
|
}
|
|
@@ -19915,12 +19914,12 @@ _(le, "isDualVideoStreamSupported", as.isSupport), /**
|
|
|
19915
19914
|
* @returns {Promise<string[]>}
|
|
19916
19915
|
*/
|
|
19917
19916
|
_(le, "getCameraList", () => O(le, null, function* () {
|
|
19918
|
-
return (yield
|
|
19917
|
+
return (yield Re.getCameraList()).filter((t) => t.deviceId);
|
|
19919
19918
|
})), _(le, "getMicrophoneList", () => O(le, null, function* () {
|
|
19920
|
-
return (yield
|
|
19919
|
+
return (yield Re.getMicList()).filter((t) => t.deviceId);
|
|
19921
19920
|
})), _(le, "getSpeakerList", () => O(le, null, function* () {
|
|
19922
|
-
return (yield
|
|
19923
|
-
})), _(le, "_instance"), _(le, "AliRtcSdkChannelProfile", It), _(le, "AliRtcSdkClientRole", Ft), _(le, "AliRtcVideoStreamType",
|
|
19921
|
+
return (yield Re.getSpeakerList()).filter((t) => t.deviceId);
|
|
19922
|
+
})), _(le, "_instance"), _(le, "AliRtcSdkChannelProfile", It), _(le, "AliRtcSdkClientRole", Ft), _(le, "AliRtcVideoStreamType", Ge), _(le, "AliRtcVideoTrack", ye), _(le, "AliRtcAudioTrack", si), _(le, "AliRtcPublishState", ge), _(le, "AliRtcSubscribeState", ke), _(le, "AliRtcRawDataStreamType", je), _(le, "AliRtcLogLevel", La), _(le, "AliRtcEngineLocalDeviceType", St), _(le, "AliRtcEngineLocalDeviceExceptionType", He), _(le, "AliRtcConnectionStatus", De), _(le, "AliRtcConnectionStatusChangeReason", Yt), _(le, "AliRtcPlugin", ri), _(le, "AliRtcPluginTrackType", Fi), _(le, "AliRtcLiveTranscodingParam", ts), _(le, "AliRtcLiveTranscodingEncodeParam", Ua), _(le, "AliRtcLiveTranscodingMixParam", vu), _(le, "AliRtcLiveTranscodingSingleParam", xu), _(le, "AliRtcTranscodingClockWidget", Su), _(le, "AliRtcTranscodingImage", Xa), _(le, "AliRtcTranscodingText", _u), _(le, "AliRtcTranscodingUser", yu), _(le, "AliRtcLiveTranscodingMixMode", ki), _(le, "AliRtcLiveTranscodingStreamType", Ma), _(le, "AliRtcLiveTranscodingSourceType", mi), _(le, "AliRtcLiveTranscodingTaskProfile", Na), _(le, "AliRtcLiveTranscodingAudioSampleRate", gs), _(le, "AliRtcLiveTranscodingSegmentType", Ti), _(le, "AliRtcLiveTranscodingFontType", Oi), _(le, "AliRtcLiveTranscodingCropMode", Fa), _(le, "AliRtcLiveTranscodingMediaProcessMode", bs), _(le, "AliRtcLiveTranscodingState", Oa), _(le, "AliRtcLiveTranscodingErrorCode", xt), _(le, "AliRtcTrascodingPublishTaskStatus", Va), _(le, "AliRtcDataChannelMsg", ti), _(le, "AliRtcDataMsgType", $a), _(le, "Plugin", ri), le);
|
|
19924
19923
|
de([
|
|
19925
19924
|
j()
|
|
19926
19925
|
], ue.prototype, "destroy", 1);
|
|
@@ -20169,9 +20168,9 @@ export {
|
|
|
20169
20168
|
Ua as AliRtcLiveTranscodingEncodeParam,
|
|
20170
20169
|
xt as AliRtcLiveTranscodingErrorCode,
|
|
20171
20170
|
Oi as AliRtcLiveTranscodingFontType,
|
|
20172
|
-
|
|
20171
|
+
bs as AliRtcLiveTranscodingMediaProcessMode,
|
|
20173
20172
|
ki as AliRtcLiveTranscodingMixMode,
|
|
20174
|
-
|
|
20173
|
+
vu as AliRtcLiveTranscodingMixParam,
|
|
20175
20174
|
ts as AliRtcLiveTranscodingParam,
|
|
20176
20175
|
Ti as AliRtcLiveTranscodingSegmentType,
|
|
20177
20176
|
xu as AliRtcLiveTranscodingSingleParam,
|
|
@@ -20195,7 +20194,7 @@ export {
|
|
|
20195
20194
|
_u as AliRtcTranscodingText,
|
|
20196
20195
|
yu as AliRtcTranscodingUser,
|
|
20197
20196
|
Va as AliRtcTrascodingPublishTaskStatus,
|
|
20198
|
-
|
|
20197
|
+
Ge as AliRtcVideoStreamType,
|
|
20199
20198
|
ye as AliRtcVideoTrack,
|
|
20200
20199
|
Ru as default
|
|
20201
20200
|
};
|