hx-live-client-plus 1.0.53 → 1.0.54
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/lib/hx-live-client-plus.css +1 -1
- package/lib/hx-live-client-plus.js +427 -419
- package/lib/hx-live-client-plus.umd.cjs +15 -15
- package/package.json +1 -1
@@ -1595,7 +1595,7 @@ const v5 = "ElInput", y5 = hn({
|
|
1595
1595
|
}), $ = He(() => {
|
1596
1596
|
var ge;
|
1597
1597
|
return (ge = u == null ? void 0 : u.statusIcon) != null ? ge : !1;
|
1598
|
-
}), B = He(() => (c == null ? void 0 : c.validateState) || ""),
|
1598
|
+
}), B = He(() => (c == null ? void 0 : c.validateState) || ""), Q = He(() => B.value && XE[B.value]), ie = He(() => T.value ? WE : HE), X = He(() => [
|
1599
1599
|
r.style
|
1600
1600
|
]), z = He(() => [
|
1601
1601
|
n.inputStyle,
|
@@ -1816,7 +1816,7 @@ const v5 = "ElInput", y5 = hn({
|
|
1816
1816
|
class: Qe(Ee(v).e("count-inner"))
|
1817
1817
|
}, nt(Ee(L)) + " / " + nt(ge.maxlength), 3)
|
1818
1818
|
], 2)) : Ye("v-if", !0),
|
1819
|
-
Ee(B) && Ee(
|
1819
|
+
Ee(B) && Ee(Q) && Ee($) ? (ee(), ot(Ee(Ur), {
|
1820
1820
|
key: 4,
|
1821
1821
|
class: Qe([
|
1822
1822
|
Ee(v).e("icon"),
|
@@ -1825,7 +1825,7 @@ const v5 = "ElInput", y5 = hn({
|
|
1825
1825
|
])
|
1826
1826
|
}, {
|
1827
1827
|
default: Le(() => [
|
1828
|
-
(ee(), ot(Ci(Ee(
|
1828
|
+
(ee(), ot(Ci(Ee(Q))))
|
1829
1829
|
]),
|
1830
1830
|
_: 1
|
1831
1831
|
}, 8, ["class"])) : Ye("v-if", !0)
|
@@ -3255,9 +3255,9 @@ function p8() {
|
|
3255
3255
|
}, X.toString = function() {
|
3256
3256
|
return this.$d.toUTCString();
|
3257
3257
|
}, ie;
|
3258
|
-
})(),
|
3259
|
-
return O.prototype =
|
3260
|
-
|
3258
|
+
})(), Q = B.prototype;
|
3259
|
+
return O.prototype = Q, [["$ms", s], ["$s", a], ["$m", o], ["$H", l], ["$W", u], ["$M", d], ["$y", p], ["$D", v]].forEach((function(ie) {
|
3260
|
+
Q[ie[1]] = function(X) {
|
3261
3261
|
return this.$g(X, ie[0], ie[1]);
|
3262
3262
|
};
|
3263
3263
|
})), O.extend = function(ie, X) {
|
@@ -3589,7 +3589,7 @@ const k8 = T8, _8 = (i, e, t, n) => {
|
|
3589
3589
|
visible: d,
|
3590
3590
|
bottom: w,
|
3591
3591
|
close: O
|
3592
|
-
}), (B,
|
3592
|
+
}), (B, Q) => (ee(), ot(Ym, {
|
3593
3593
|
name: Ee(a).b("fade"),
|
3594
3594
|
onBeforeEnter: (ie) => s.value = !0,
|
3595
3595
|
onBeforeLeave: B.onClose,
|
@@ -3883,7 +3883,7 @@ const Ui = PE(Da, "$message"), Ip = "_trap-focus-children", fa = [], k0 = (i) =>
|
|
3883
3883
|
return u.icon || j && hd[j] || "";
|
3884
3884
|
}), v = He(() => !!u.message), g = J(), h = J(), f = J(), b = J(), T = J(), w = He(() => u.confirmButtonClass);
|
3885
3885
|
bt(() => u.inputValue, async (j) => {
|
3886
|
-
await vt(), i.boxType === "prompt" && j &&
|
3886
|
+
await vt(), i.boxType === "prompt" && j && Q();
|
3887
3887
|
}, { immediate: !0 }), bt(() => l.value, (j) => {
|
3888
3888
|
var V, U;
|
3889
3889
|
j && (i.boxType !== "prompt" && (u.autofocus ? f.value = (U = (V = T.value) == null ? void 0 : V.$el) != null ? U : g.value : f.value = g.value), u.zIndex = o()), i.boxType === "prompt" && (j ? vt().then(() => {
|
@@ -3909,8 +3909,8 @@ const Ui = PE(Da, "$message"), Ip = "_trap-focus-children", fa = [], k0 = (i) =>
|
|
3909
3909
|
return j.preventDefault(), B("confirm");
|
3910
3910
|
}, B = (j) => {
|
3911
3911
|
var V;
|
3912
|
-
i.boxType === "prompt" && j === "confirm" && !
|
3913
|
-
},
|
3912
|
+
i.boxType === "prompt" && j === "confirm" && !Q() || (u.action = j, u.beforeClose ? (V = u.beforeClose) == null || V.call(u, j, u, P) : P());
|
3913
|
+
}, Q = () => {
|
3914
3914
|
if (i.boxType === "prompt") {
|
3915
3915
|
const j = u.inputPattern;
|
3916
3916
|
if (j && !j.test(u.inputValue || ""))
|
@@ -5510,7 +5510,7 @@ const ik = (i) => {
|
|
5510
5510
|
fetchOptions: O
|
5511
5511
|
} = ik(v), $ = e || fetch;
|
5512
5512
|
E = E ? (E + "").toLowerCase() : "text";
|
5513
|
-
let B = gD([b, T && T.toAbortSignal()], w),
|
5513
|
+
let B = gD([b, T && T.toAbortSignal()], w), Q = null;
|
5514
5514
|
const ie = B && B.unsubscribe && (() => {
|
5515
5515
|
B.unsubscribe();
|
5516
5516
|
});
|
@@ -5540,8 +5540,8 @@ const ik = (i) => {
|
|
5540
5540
|
duplex: "half",
|
5541
5541
|
credentials: z ? _ : void 0
|
5542
5542
|
};
|
5543
|
-
|
5544
|
-
let V = await (s ? $(
|
5543
|
+
Q = s && new t(g, j);
|
5544
|
+
let V = await (s ? $(Q, O) : $(g, j));
|
5545
5545
|
const U = c && (E === "stream" || E === "response");
|
5546
5546
|
if (c && (x || U && ie)) {
|
5547
5547
|
const L = {};
|
@@ -5568,16 +5568,16 @@ const ik = (i) => {
|
|
5568
5568
|
status: V.status,
|
5569
5569
|
statusText: V.statusText,
|
5570
5570
|
config: v,
|
5571
|
-
request:
|
5571
|
+
request: Q
|
5572
5572
|
});
|
5573
5573
|
});
|
5574
5574
|
} catch (z) {
|
5575
5575
|
throw ie && ie(), z && z.name === "TypeError" && /Load failed|fetch/i.test(z.message) ? Object.assign(
|
5576
|
-
new It("Network Error", It.ERR_NETWORK, v,
|
5576
|
+
new It("Network Error", It.ERR_NETWORK, v, Q),
|
5577
5577
|
{
|
5578
5578
|
cause: z.cause || z
|
5579
5579
|
}
|
5580
|
-
) : It.from(z, z && z.code, v,
|
5580
|
+
) : It.from(z, z && z.code, v, Q);
|
5581
5581
|
}
|
5582
5582
|
};
|
5583
5583
|
}, _D = /* @__PURE__ */ new Map(), rk = (i) => {
|
@@ -6511,7 +6511,7 @@ function YD() {
|
|
6511
6511
|
}
|
6512
6512
|
var D = p.xhr || null;
|
6513
6513
|
D || (p.cors || p.useXDR ? D = new u.XDomainRequest() : D = new u.XMLHttpRequest());
|
6514
|
-
var E, P, _ = D.url = p.uri || p.url, O = D.method = p.method || "GET", $ = p.body || p.data, B = D.headers = p.headers || {},
|
6514
|
+
var E, P, _ = D.url = p.uri || p.url, O = D.method = p.method || "GET", $ = p.body || p.data, B = D.headers = p.headers || {}, Q = !!p.sync, ie = !1, X, z = {
|
6515
6515
|
body: void 0,
|
6516
6516
|
headers: {},
|
6517
6517
|
statusCode: 0,
|
@@ -6522,7 +6522,7 @@ function YD() {
|
|
6522
6522
|
if ("json" in p && p.json !== !1 && (ie = !0, B.accept || B.Accept || (B.Accept = "application/json"), O !== "GET" && O !== "HEAD" && (B["content-type"] || B["Content-Type"] || (B["Content-Type"] = "application/json"), $ = JSON.stringify(p.json === !0 ? $ : p.json))), D.onreadystatechange = b, D.onload = x, D.onerror = w, D.onprogress = function() {
|
6523
6523
|
}, D.onabort = function() {
|
6524
6524
|
P = !0, clearTimeout(p.retryTimeout);
|
6525
|
-
}, D.ontimeout = w, D.open(O, _, !
|
6525
|
+
}, D.ontimeout = w, D.open(O, _, !Q, p.username, p.password), Q || (D.withCredentials = !!p.withCredentials), !Q && p.timeout > 0 && (X = setTimeout(function() {
|
6526
6526
|
if (!P) {
|
6527
6527
|
P = !0, D.abort("timeout");
|
6528
6528
|
var j = new Error("XMLHttpRequest timeout");
|
@@ -6579,8 +6579,8 @@ function QD() {
|
|
6579
6579
|
}
|
6580
6580
|
};
|
6581
6581
|
function n(_) {
|
6582
|
-
function O(B,
|
6583
|
-
return (B | 0) * 3600 + (
|
6582
|
+
function O(B, Q, ie, X) {
|
6583
|
+
return (B | 0) * 3600 + (Q | 0) * 60 + (ie | 0) + (X | 0) / 1e3;
|
6584
6584
|
}
|
6585
6585
|
var $ = _.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);
|
6586
6586
|
return $ ? $[3] ? O($[1], $[2], $[3].replace(":", ""), $[4]) : $[1] > 59 ? O($[1], $[2], 0, $[4]) : O(0, $[1], $[2], $[4]) : null;
|
@@ -6623,10 +6623,10 @@ function QD() {
|
|
6623
6623
|
}
|
6624
6624
|
};
|
6625
6625
|
function s(_, O, $, B) {
|
6626
|
-
var
|
6627
|
-
for (var ie in
|
6628
|
-
if (typeof
|
6629
|
-
var X =
|
6626
|
+
var Q = B ? _.split(B) : [_];
|
6627
|
+
for (var ie in Q)
|
6628
|
+
if (typeof Q[ie] == "string") {
|
6629
|
+
var X = Q[ie].split($);
|
6630
6630
|
if (X.length === 2) {
|
6631
6631
|
var z = X[0].trim(), j = X[1].trim();
|
6632
6632
|
O(z, j);
|
@@ -6635,7 +6635,7 @@ function QD() {
|
|
6635
6635
|
}
|
6636
6636
|
function a(_, O, $) {
|
6637
6637
|
var B = _;
|
6638
|
-
function
|
6638
|
+
function Q() {
|
6639
6639
|
var z = n(_);
|
6640
6640
|
if (z === null)
|
6641
6641
|
throw new t(
|
@@ -6707,12 +6707,12 @@ function QD() {
|
|
6707
6707
|
function X() {
|
6708
6708
|
_ = _.replace(/^\s+/, "");
|
6709
6709
|
}
|
6710
|
-
if (X(), O.startTime =
|
6710
|
+
if (X(), O.startTime = Q(), X(), _.substr(0, 3) !== "-->")
|
6711
6711
|
throw new t(
|
6712
6712
|
t.Errors.BadTimeStamp,
|
6713
6713
|
"Malformed time stamp (time stamps must be separated by '-->'): " + B
|
6714
6714
|
);
|
6715
|
-
_ = _.substr(3), X(), O.endTime =
|
6715
|
+
_ = _.substr(3), X(), O.endTime = Q(), X(), ie(_, O);
|
6716
6716
|
}
|
6717
6717
|
var o = i.createElement && i.createElement("textarea"), l = {
|
6718
6718
|
c: "span",
|
@@ -6751,7 +6751,7 @@ function QD() {
|
|
6751
6751
|
function B(ye) {
|
6752
6752
|
return o.innerHTML = ye, ye = o.textContent, o.textContent = "", ye;
|
6753
6753
|
}
|
6754
|
-
function
|
6754
|
+
function Q(ye, Ie) {
|
6755
6755
|
return !d[Ie.localName] || d[Ie.localName] === ye.localName;
|
6756
6756
|
}
|
6757
6757
|
function ie(ye, Ie) {
|
@@ -6773,7 +6773,7 @@ function QD() {
|
|
6773
6773
|
continue;
|
6774
6774
|
}
|
6775
6775
|
var L = j.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);
|
6776
|
-
if (!L || (q = ie(L[1], L[3]), !q) || !
|
6776
|
+
if (!L || (q = ie(L[1], L[3]), !q) || !Q(z, q))
|
6777
6777
|
continue;
|
6778
6778
|
if (L[2]) {
|
6779
6779
|
var se = L[2].split(".");
|
@@ -6911,7 +6911,7 @@ function QD() {
|
|
6911
6911
|
var O = [], $ = "", B;
|
6912
6912
|
if (!_ || !_.childNodes)
|
6913
6913
|
return "ltr";
|
6914
|
-
function
|
6914
|
+
function Q(z, j) {
|
6915
6915
|
for (var V = j.childNodes.length - 1; V >= 0; V--)
|
6916
6916
|
z.push(j.childNodes[V]);
|
6917
6917
|
}
|
@@ -6926,9 +6926,9 @@ function QD() {
|
|
6926
6926
|
if (j.tagName === "ruby")
|
6927
6927
|
return ie(z);
|
6928
6928
|
if (j.childNodes)
|
6929
|
-
return
|
6929
|
+
return Q(z, j), ie(z);
|
6930
6930
|
}
|
6931
|
-
for (
|
6931
|
+
for (Q(O, _); $ = ie(O); )
|
6932
6932
|
for (var X = 0; X < $.length; X++)
|
6933
6933
|
if (B = $.charCodeAt(X), v(B))
|
6934
6934
|
return "rtl";
|
@@ -6939,8 +6939,8 @@ function QD() {
|
|
6939
6939
|
return _.line;
|
6940
6940
|
if (!_.track || !_.track.textTrackList || !_.track.textTrackList.mediaElement)
|
6941
6941
|
return -1;
|
6942
|
-
for (var O = _.track, $ = O.textTrackList, B = 0,
|
6943
|
-
$[
|
6942
|
+
for (var O = _.track, $ = O.textTrackList, B = 0, Q = 0; Q < $.length && $[Q] !== O; Q++)
|
6943
|
+
$[Q].mode === "showing" && B++;
|
6944
6944
|
return ++B * -1;
|
6945
6945
|
}
|
6946
6946
|
function f() {
|
@@ -6975,25 +6975,25 @@ function QD() {
|
|
6975
6975
|
whiteSpace: "pre-line",
|
6976
6976
|
position: "absolute"
|
6977
6977
|
}, this.applyStyles(B), this.div.appendChild(this.cueDiv);
|
6978
|
-
var
|
6978
|
+
var Q = 0;
|
6979
6979
|
switch (O.positionAlign) {
|
6980
6980
|
case "start":
|
6981
6981
|
case "line-left":
|
6982
|
-
|
6982
|
+
Q = O.position;
|
6983
6983
|
break;
|
6984
6984
|
case "center":
|
6985
|
-
|
6985
|
+
Q = O.position - O.size / 2;
|
6986
6986
|
break;
|
6987
6987
|
case "end":
|
6988
6988
|
case "line-right":
|
6989
|
-
|
6989
|
+
Q = O.position - O.size;
|
6990
6990
|
break;
|
6991
6991
|
}
|
6992
6992
|
O.vertical === "" ? this.applyStyles({
|
6993
|
-
left: this.formatStyle(
|
6993
|
+
left: this.formatStyle(Q, "%"),
|
6994
6994
|
width: this.formatStyle(O.size, "%")
|
6995
6995
|
}) : this.applyStyles({
|
6996
|
-
top: this.formatStyle(
|
6996
|
+
top: this.formatStyle(Q, "%"),
|
6997
6997
|
height: this.formatStyle(O.size, "%")
|
6998
6998
|
}), this.move = function(ie) {
|
6999
6999
|
this.applyStyles({
|
@@ -7008,13 +7008,13 @@ function QD() {
|
|
7008
7008
|
}
|
7009
7009
|
b.prototype = e(f.prototype), b.prototype.constructor = b;
|
7010
7010
|
function T(_) {
|
7011
|
-
var O, $, B,
|
7011
|
+
var O, $, B, Q;
|
7012
7012
|
if (_.div) {
|
7013
|
-
$ = _.div.offsetHeight, B = _.div.offsetWidth,
|
7013
|
+
$ = _.div.offsetHeight, B = _.div.offsetWidth, Q = _.div.offsetTop;
|
7014
7014
|
var ie = (ie = _.div.childNodes) && (ie = ie[0]) && ie.getClientRects && ie.getClientRects();
|
7015
7015
|
_ = _.div.getBoundingClientRect(), O = ie ? Math.max(ie[0] && ie[0].height || 0, _.height / ie.length) : 0;
|
7016
7016
|
}
|
7017
|
-
this.left = _.left, this.right = _.right, this.top = _.top ||
|
7017
|
+
this.left = _.left, this.right = _.right, this.top = _.top || Q, this.height = _.height || $, this.bottom = _.bottom || Q + (_.height || $), this.width = _.width || B, this.lineHeight = O !== void 0 ? O : _.lineHeight;
|
7018
7018
|
}
|
7019
7019
|
T.prototype.move = function(_, O) {
|
7020
7020
|
switch (O = O !== void 0 ? O : this.lineHeight, _) {
|
@@ -7066,7 +7066,7 @@ function QD() {
|
|
7066
7066
|
}, T.getSimpleBoxPosition = function(_) {
|
7067
7067
|
var O = _.div ? _.div.offsetHeight : _.tagName ? _.offsetHeight : 0, $ = _.div ? _.div.offsetWidth : _.tagName ? _.offsetWidth : 0, B = _.div ? _.div.offsetTop : _.tagName ? _.offsetTop : 0;
|
7068
7068
|
_ = _.div ? _.div.getBoundingClientRect() : _.tagName ? _.getBoundingClientRect() : _;
|
7069
|
-
var
|
7069
|
+
var Q = {
|
7070
7070
|
left: _.left,
|
7071
7071
|
right: _.right,
|
7072
7072
|
top: _.top || B,
|
@@ -7074,10 +7074,10 @@ function QD() {
|
|
7074
7074
|
bottom: _.bottom || B + (_.height || O),
|
7075
7075
|
width: _.width || $
|
7076
7076
|
};
|
7077
|
-
return
|
7077
|
+
return Q;
|
7078
7078
|
};
|
7079
7079
|
function w(_, O, $, B) {
|
7080
|
-
function
|
7080
|
+
function Q(le, xe) {
|
7081
7081
|
for (var Ue, tt = new T(le), Je = 1, Te = 0; Te < xe.length; Te++) {
|
7082
7082
|
for (; le.overlapsOppositeAxis($, xe[Te]) || le.within($) && le.overlapsAny(B); )
|
7083
7083
|
le.move(xe[Te]);
|
@@ -7133,7 +7133,7 @@ function QD() {
|
|
7133
7133
|
}
|
7134
7134
|
j = ["+y", "-x", "+x", "-y"], ie = new T(O);
|
7135
7135
|
}
|
7136
|
-
var Ie =
|
7136
|
+
var Ie = Q(ie, j);
|
7137
7137
|
O.move(Ie.toCSSCompatValues($));
|
7138
7138
|
}
|
7139
7139
|
function x() {
|
@@ -7159,13 +7159,13 @@ function QD() {
|
|
7159
7159
|
$.removeChild($.firstChild);
|
7160
7160
|
var B = _.document.createElement("div");
|
7161
7161
|
B.style.position = "absolute", B.style.left = "0", B.style.right = "0", B.style.top = "0", B.style.bottom = "0", B.style.margin = P, $.appendChild(B);
|
7162
|
-
function
|
7162
|
+
function Q(U) {
|
7163
7163
|
for (var q = 0; q < U.length; q++)
|
7164
7164
|
if (U[q].hasBeenReset || !U[q].displayState)
|
7165
7165
|
return !0;
|
7166
7166
|
return !1;
|
7167
7167
|
}
|
7168
|
-
if (!
|
7168
|
+
if (!Q(O)) {
|
7169
7169
|
for (var ie = 0; ie < O.length; ie++)
|
7170
7170
|
B.appendChild(O[ie].displayState);
|
7171
7171
|
return;
|
@@ -7234,7 +7234,7 @@ function QD() {
|
|
7234
7234
|
});
|
7235
7235
|
}
|
7236
7236
|
}
|
7237
|
-
function
|
7237
|
+
function Q(U) {
|
7238
7238
|
var q = new r();
|
7239
7239
|
s(U, function(L, se) {
|
7240
7240
|
switch (L) {
|
@@ -7254,7 +7254,7 @@ function QD() {
|
|
7254
7254
|
U.match(/X-TIMESTAMP-MAP/) ? s(U, function(q, L) {
|
7255
7255
|
switch (q) {
|
7256
7256
|
case "X-TIMESTAMP-MAP":
|
7257
|
-
|
7257
|
+
Q(L);
|
7258
7258
|
break;
|
7259
7259
|
}
|
7260
7260
|
}, /=/) : s(U, function(q, L) {
|
@@ -8884,9 +8884,9 @@ function kk() {
|
|
8884
8884
|
return ae.code = F, G && (this.message = this.message + ": " + G), ae;
|
8885
8885
|
}
|
8886
8886
|
B.prototype = Error.prototype, l(E, B);
|
8887
|
-
function
|
8887
|
+
function Q() {
|
8888
8888
|
}
|
8889
|
-
|
8889
|
+
Q.prototype = {
|
8890
8890
|
/**
|
8891
8891
|
* The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.
|
8892
8892
|
* @standard level1
|
@@ -8940,7 +8940,7 @@ function kk() {
|
|
8940
8940
|
}
|
8941
8941
|
ie.prototype.item = function(F) {
|
8942
8942
|
return X(this), this[F] || null;
|
8943
|
-
}, u(ie,
|
8943
|
+
}, u(ie, Q);
|
8944
8944
|
function z() {
|
8945
8945
|
}
|
8946
8946
|
function j(F, G) {
|
@@ -8969,7 +8969,7 @@ function kk() {
|
|
8969
8969
|
}
|
8970
8970
|
z.prototype = {
|
8971
8971
|
length: 0,
|
8972
|
-
item:
|
8972
|
+
item: Q.prototype.item,
|
8973
8973
|
getNamedItem: function(F) {
|
8974
8974
|
for (var G = this.length; G--; ) {
|
8975
8975
|
var ae = this[G];
|
@@ -9056,7 +9056,7 @@ function kk() {
|
|
9056
9056
|
*/
|
9057
9057
|
createDocument: function(F, G, ae) {
|
9058
9058
|
var _e = new Ie();
|
9059
|
-
if (_e.implementation = this, _e.childNodes = new
|
9059
|
+
if (_e.implementation = this, _e.childNodes = new Q(), _e.doctype = ae || null, ae && _e.appendChild(ae), G) {
|
9060
9060
|
var Xe = _e.createElementNS(F, G);
|
9061
9061
|
_e.appendChild(Xe);
|
9062
9062
|
}
|
@@ -9429,13 +9429,13 @@ function kk() {
|
|
9429
9429
|
//document factory method:
|
9430
9430
|
createElement: function(F) {
|
9431
9431
|
var G = new Me();
|
9432
|
-
G.ownerDocument = this, G.nodeName = F, G.tagName = F, G.localName = F, G.childNodes = new
|
9432
|
+
G.ownerDocument = this, G.nodeName = F, G.tagName = F, G.localName = F, G.childNodes = new Q();
|
9433
9433
|
var ae = G.attributes = new z();
|
9434
9434
|
return ae._ownerElement = G, G;
|
9435
9435
|
},
|
9436
9436
|
createDocumentFragment: function() {
|
9437
9437
|
var F = new Lt();
|
9438
|
-
return F.ownerDocument = this, F.childNodes = new
|
9438
|
+
return F.ownerDocument = this, F.childNodes = new Q(), F;
|
9439
9439
|
},
|
9440
9440
|
createTextNode: function(F) {
|
9441
9441
|
var G = new Oe();
|
@@ -9464,7 +9464,7 @@ function kk() {
|
|
9464
9464
|
// Introduced in DOM Level 2:
|
9465
9465
|
createElementNS: function(F, G) {
|
9466
9466
|
var ae = new Me(), _e = G.split(":"), Xe = ae.attributes = new z();
|
9467
|
-
return ae.childNodes = new
|
9467
|
+
return ae.childNodes = new Q(), ae.ownerDocument = this, ae.nodeName = G, ae.tagName = G, ae.namespaceURI = F, _e.length == 2 ? (ae.prefix = _e[0], ae.localName = _e[1]) : ae.localName = G, Xe._ownerElement = ae, ae;
|
9468
9468
|
},
|
9469
9469
|
// Introduced in DOM Level 2:
|
9470
9470
|
createAttributeNS: function(F, G) {
|
@@ -9773,7 +9773,7 @@ function kk() {
|
|
9773
9773
|
var ze = G[Xe];
|
9774
9774
|
typeof ze != "object" && ze != _e[Xe] && (_e[Xe] = ze);
|
9775
9775
|
}
|
9776
|
-
switch (G.childNodes && (_e.childNodes = new
|
9776
|
+
switch (G.childNodes && (_e.childNodes = new Q()), _e.ownerDocument = F, _e.nodeType) {
|
9777
9777
|
case d:
|
9778
9778
|
var Fe = G.attributes, mn = _e.attributes = new z(), nn = Fe.length;
|
9779
9779
|
mn._ownerElement = _e;
|
@@ -9831,7 +9831,7 @@ function kk() {
|
|
9831
9831
|
}
|
9832
9832
|
} catch {
|
9833
9833
|
}
|
9834
|
-
return es.DocumentType = Vt, es.DOMException = B, es.DOMImplementation = q, es.Element = Me, es.Node = L, es.NodeList =
|
9834
|
+
return es.DocumentType = Vt, es.DOMException = B, es.DOMImplementation = q, es.Element = Me, es.Node = L, es.NodeList = Q, es.XMLSerializer = Fn, es;
|
9835
9835
|
}
|
9836
9836
|
var Pl = {}, Uf = {}, sy;
|
9837
9837
|
function SA() {
|
@@ -11996,7 +11996,7 @@ function CA() {
|
|
11996
11996
|
), B.endDocument();
|
11997
11997
|
}
|
11998
11998
|
};
|
11999
|
-
function v(_, O, $, B,
|
11999
|
+
function v(_, O, $, B, Q) {
|
12000
12000
|
function ie(Ae) {
|
12001
12001
|
if (Ae > 65535) {
|
12002
12002
|
Ae -= 65536;
|
@@ -12007,7 +12007,7 @@ function CA() {
|
|
12007
12007
|
}
|
12008
12008
|
function X(Ae) {
|
12009
12009
|
var Me = Ae.slice(1, -1);
|
12010
|
-
return Object.hasOwnProperty.call($, Me) ? $[Me] : Me.charAt(0) === "#" ? ie(parseInt(Me.substr(1).replace("x", "0x"))) : (
|
12010
|
+
return Object.hasOwnProperty.call($, Me) ? $[Me] : Me.charAt(0) === "#" ? ie(parseInt(Me.substr(1).replace("x", "0x"))) : (Q.error("entity not found:" + Ae), Ae);
|
12011
12011
|
}
|
12012
12012
|
function z(Ae) {
|
12013
12013
|
if (Ae > Ie) {
|
@@ -12033,13 +12033,13 @@ function CA() {
|
|
12033
12033
|
switch (le > Ie && z(le), _.charAt(le + 1)) {
|
12034
12034
|
case "/":
|
12035
12035
|
var de = _.indexOf(">", le + 3), tt = _.substring(le + 2, de).replace(/[ \t\n\r]+$/g, ""), Je = se.pop();
|
12036
|
-
de < 0 ? (tt = _.substring(le + 2).replace(/[\s<].*/, ""),
|
12036
|
+
de < 0 ? (tt = _.substring(le + 2).replace(/[\s<].*/, ""), Q.error("end tag name: " + tt + " is not complete:" + Je.tagName), de = le + 1 + tt.length) : tt.match(/\s</) && (tt = tt.replace(/[\s<].*/, ""), Q.error("end tag name: " + tt + " maybe not complete"), de = le + 1 + tt.length);
|
12037
12037
|
var Te = Je.localNSMap, Be = Je.tagName == tt, ht = Be || Je.tagName && Je.tagName.toLowerCase() == tt.toLowerCase();
|
12038
12038
|
if (ht) {
|
12039
12039
|
if (B.endElement(Je.uri, Je.localName, tt), Te)
|
12040
12040
|
for (var ce in Te)
|
12041
12041
|
Object.prototype.hasOwnProperty.call(Te, ce) && B.endPrefixMapping(ce);
|
12042
|
-
Be ||
|
12042
|
+
Be || Q.fatalError("end tag name: " + tt + " is not match the current start tagName:" + Je.tagName);
|
12043
12043
|
} else
|
12044
12044
|
se.push(Je);
|
12045
12045
|
de++;
|
@@ -12049,12 +12049,12 @@ function CA() {
|
|
12049
12049
|
L && j(le), de = D(_, le, B);
|
12050
12050
|
break;
|
12051
12051
|
case "!":
|
12052
|
-
L && j(le), de = x(_, le, B,
|
12052
|
+
L && j(le), de = x(_, le, B, Q);
|
12053
12053
|
break;
|
12054
12054
|
default:
|
12055
12055
|
L && j(le);
|
12056
|
-
var qe = new E(), ue = se[se.length - 1].currentNSMap, de = h(_, le, qe, ue, X,
|
12057
|
-
if (!qe.closed && T(_, de, qe.tagName, ye) && (qe.closed = !0, $.nbsp ||
|
12056
|
+
var qe = new E(), ue = se[se.length - 1].currentNSMap, de = h(_, le, qe, ue, X, Q), $e = qe.length;
|
12057
|
+
if (!qe.closed && T(_, de, qe.tagName, ye) && (qe.closed = !0, $.nbsp || Q.warning("unclosed xml attribute")), L && $e) {
|
12058
12058
|
for (var Ge = g(L, {}), ft = 0; ft < $e; ft++) {
|
12059
12059
|
var et = qe[ft];
|
12060
12060
|
j(et.offset), et.locator = g(L, {});
|
@@ -12067,7 +12067,7 @@ function CA() {
|
|
12067
12067
|
} catch (Ae) {
|
12068
12068
|
if (Ae instanceof y)
|
12069
12069
|
throw Ae;
|
12070
|
-
|
12070
|
+
Q.error("element parse error: " + Ae), de = -1;
|
12071
12071
|
}
|
12072
12072
|
de > Ie ? Ie = de : z(Math.max(le, Ie) + 1);
|
12073
12073
|
}
|
@@ -12075,7 +12075,7 @@ function CA() {
|
|
12075
12075
|
function g(_, O) {
|
12076
12076
|
return O.lineNumber = _.lineNumber, O.columnNumber = _.columnNumber, O;
|
12077
12077
|
}
|
12078
|
-
function h(_, O, $, B,
|
12078
|
+
function h(_, O, $, B, Q, ie) {
|
12079
12079
|
function X(L, se, ye) {
|
12080
12080
|
$.attributeNames.hasOwnProperty(L) && ie.fatalError("Attribute " + L + " redefined"), $.addValue(
|
12081
12081
|
L,
|
@@ -12083,7 +12083,7 @@ function CA() {
|
|
12083
12083
|
// since the xmldom sax parser does not "interpret" DTD the following is not implemented:
|
12084
12084
|
// - recursive replacement of (DTD) entity references
|
12085
12085
|
// - trimming and collapsing multiple spaces into a single one for attributes that are not of type CDATA
|
12086
|
-
se.replace(/[\t\n\r]/g, " ").replace(/&#?\w+;/g,
|
12086
|
+
se.replace(/[\t\n\r]/g, " ").replace(/&#?\w+;/g, Q),
|
12087
12087
|
ye
|
12088
12088
|
);
|
12089
12089
|
}
|
@@ -12194,13 +12194,13 @@ function CA() {
|
|
12194
12194
|
}
|
12195
12195
|
}
|
12196
12196
|
function f(_, O, $) {
|
12197
|
-
for (var B = _.tagName,
|
12197
|
+
for (var B = _.tagName, Q = null, q = _.length; q--; ) {
|
12198
12198
|
var ie = _[q], X = ie.qName, z = ie.value, L = X.indexOf(":");
|
12199
12199
|
if (L > 0)
|
12200
12200
|
var j = ie.prefix = X.slice(0, L), V = X.slice(L + 1), U = j === "xmlns" && V;
|
12201
12201
|
else
|
12202
12202
|
V = X, j = null, U = X === "xmlns" && "";
|
12203
|
-
ie.localName = V, U !== !1 && (
|
12203
|
+
ie.localName = V, U !== !1 && (Q == null && (Q = {}, w($, $ = {})), $[U] = Q[U] = z, ie.uri = i.XMLNS, O.startPrefixMapping(U, z));
|
12204
12204
|
}
|
12205
12205
|
for (var q = _.length; q--; ) {
|
12206
12206
|
ie = _[q];
|
@@ -12211,31 +12211,31 @@ function CA() {
|
|
12211
12211
|
L > 0 ? (j = _.prefix = B.slice(0, L), V = _.localName = B.slice(L + 1)) : (j = null, V = _.localName = B);
|
12212
12212
|
var se = _.uri = $[j || ""];
|
12213
12213
|
if (O.startElement(se, V, B, _), _.closed) {
|
12214
|
-
if (O.endElement(se, V, B),
|
12215
|
-
for (j in
|
12216
|
-
Object.prototype.hasOwnProperty.call(
|
12214
|
+
if (O.endElement(se, V, B), Q)
|
12215
|
+
for (j in Q)
|
12216
|
+
Object.prototype.hasOwnProperty.call(Q, j) && O.endPrefixMapping(j);
|
12217
12217
|
} else
|
12218
|
-
return _.currentNSMap = $, _.localNSMap =
|
12218
|
+
return _.currentNSMap = $, _.localNSMap = Q, !0;
|
12219
12219
|
}
|
12220
|
-
function b(_, O, $, B,
|
12220
|
+
function b(_, O, $, B, Q) {
|
12221
12221
|
if (/^(?:script|textarea)$/i.test($)) {
|
12222
12222
|
var ie = _.indexOf("</" + $ + ">", O), X = _.substring(O + 1, ie);
|
12223
12223
|
if (/[&<]/.test(X))
|
12224
|
-
return /^script$/i.test($) ? (
|
12224
|
+
return /^script$/i.test($) ? (Q.characters(X, 0, X.length), ie) : (X = X.replace(/&#?\w+;/g, B), Q.characters(X, 0, X.length), ie);
|
12225
12225
|
}
|
12226
12226
|
return O + 1;
|
12227
12227
|
}
|
12228
12228
|
function T(_, O, $, B) {
|
12229
|
-
var
|
12230
|
-
return
|
12229
|
+
var Q = B[$];
|
12230
|
+
return Q == null && (Q = _.lastIndexOf("</" + $ + ">"), Q < O && (Q = _.lastIndexOf("</" + $)), B[$] = Q), Q < O;
|
12231
12231
|
}
|
12232
12232
|
function w(_, O) {
|
12233
12233
|
for (var $ in _)
|
12234
12234
|
Object.prototype.hasOwnProperty.call(_, $) && (O[$] = _[$]);
|
12235
12235
|
}
|
12236
12236
|
function x(_, O, $, B) {
|
12237
|
-
var
|
12238
|
-
switch (
|
12237
|
+
var Q = _.charAt(O + 2);
|
12238
|
+
switch (Q) {
|
12239
12239
|
case "-":
|
12240
12240
|
if (_.charAt(O + 3) === "-") {
|
12241
12241
|
var ie = _.indexOf("-->", O + 4);
|
@@ -12260,8 +12260,8 @@ function CA() {
|
|
12260
12260
|
function D(_, O, $) {
|
12261
12261
|
var B = _.indexOf("?>", O);
|
12262
12262
|
if (B) {
|
12263
|
-
var
|
12264
|
-
return
|
12263
|
+
var Q = _.substring(O, B).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);
|
12264
|
+
return Q ? (Q[0].length, $.processingInstruction(Q[1], Q[2]), B + 2) : -1;
|
12265
12265
|
}
|
12266
12266
|
return -1;
|
12267
12267
|
}
|
@@ -12307,8 +12307,8 @@ function CA() {
|
|
12307
12307
|
// getType:function(i){},
|
12308
12308
|
};
|
12309
12309
|
function P(_, O) {
|
12310
|
-
var $, B = [],
|
12311
|
-
for (
|
12310
|
+
var $, B = [], Q = /'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;
|
12311
|
+
for (Q.lastIndex = O, Q.exec(_); $ = Q.exec(_); )
|
12312
12312
|
if (B.push($), $[1]) return B;
|
12313
12313
|
}
|
12314
12314
|
return gc.XMLReader = p, gc.ParseError = y, gc;
|
@@ -30807,10 +30807,10 @@ browserWorkerPolyFill(self);
|
|
30807
30807
|
}, s = {
|
30808
30808
|
getUint64: r,
|
30809
30809
|
MAX_UINT32: n
|
30810
|
-
}, a = s.MAX_UINT32, o, l, u, c, d, y, p, v, g, h, f, b, T, w, x, D, E, P, _, O, $, B,
|
30810
|
+
}, a = s.MAX_UINT32, o, l, u, c, d, y, p, v, g, h, f, b, T, w, x, D, E, P, _, O, $, B, Q, ie, X, z, j, V, U, q, L, se, ye, Ie, le, xe;
|
30811
30811
|
(function() {
|
30812
30812
|
var m;
|
30813
|
-
if (
|
30813
|
+
if (Q = {
|
30814
30814
|
avc1: [],
|
30815
30815
|
// codingname
|
30816
30816
|
avcC: [],
|
@@ -30850,8 +30850,8 @@ browserWorkerPolyFill(self);
|
|
30850
30850
|
tkhd: [],
|
30851
30851
|
vmhd: []
|
30852
30852
|
}, !(typeof Uint8Array > "u")) {
|
30853
|
-
for (m in
|
30854
|
-
|
30853
|
+
for (m in Q)
|
30854
|
+
Q.hasOwnProperty(m) && (Q[m] = [m.charCodeAt(0), m.charCodeAt(1), m.charCodeAt(2), m.charCodeAt(3)]);
|
30855
30855
|
ie = new Uint8Array([105, 115, 111, 109]), z = new Uint8Array([97, 118, 99, 49]), X = new Uint8Array([0, 0, 0, 1]), j = new Uint8Array([
|
30856
30856
|
0,
|
30857
30857
|
// version 0
|
@@ -31046,9 +31046,9 @@ browserWorkerPolyFill(self);
|
|
31046
31046
|
A.set(k[S], C), C += k[S].byteLength;
|
31047
31047
|
return A;
|
31048
31048
|
}, l = function() {
|
31049
|
-
return o(
|
31049
|
+
return o(Q.dinf, o(Q.dref, se));
|
31050
31050
|
}, u = function(m) {
|
31051
|
-
return o(
|
31051
|
+
return o(Q.esds, new Uint8Array([
|
31052
31052
|
0,
|
31053
31053
|
// version
|
31054
31054
|
0,
|
@@ -31103,11 +31103,11 @@ browserWorkerPolyFill(self);
|
|
31103
31103
|
// GASpecificConfig
|
31104
31104
|
]));
|
31105
31105
|
}, c = function() {
|
31106
|
-
return o(
|
31106
|
+
return o(Q.ftyp, ie, X, ie, z);
|
31107
31107
|
}, D = function(m) {
|
31108
|
-
return o(
|
31108
|
+
return o(Q.hdlr, U[m]);
|
31109
31109
|
}, d = function(m) {
|
31110
|
-
return o(
|
31110
|
+
return o(Q.mdat, m);
|
31111
31111
|
}, x = function(m) {
|
31112
31112
|
var k = new Uint8Array([
|
31113
31113
|
0,
|
@@ -31142,11 +31142,11 @@ browserWorkerPolyFill(self);
|
|
31142
31142
|
0,
|
31143
31143
|
0
|
31144
31144
|
]);
|
31145
|
-
return m.samplerate && (k[12] = m.samplerate >>> 24 & 255, k[13] = m.samplerate >>> 16 & 255, k[14] = m.samplerate >>> 8 & 255, k[15] = m.samplerate & 255), o(
|
31145
|
+
return m.samplerate && (k[12] = m.samplerate >>> 24 & 255, k[13] = m.samplerate >>> 16 & 255, k[14] = m.samplerate >>> 8 & 255, k[15] = m.samplerate & 255), o(Q.mdhd, k);
|
31146
31146
|
}, w = function(m) {
|
31147
|
-
return o(
|
31147
|
+
return o(Q.mdia, x(m), D(m.type), p(m));
|
31148
31148
|
}, y = function(m) {
|
31149
|
-
return o(
|
31149
|
+
return o(Q.mfhd, new Uint8Array([
|
31150
31150
|
0,
|
31151
31151
|
0,
|
31152
31152
|
0,
|
@@ -31159,19 +31159,19 @@ browserWorkerPolyFill(self);
|
|
31159
31159
|
// sequence_number
|
31160
31160
|
]));
|
31161
31161
|
}, p = function(m) {
|
31162
|
-
return o(
|
31162
|
+
return o(Q.minf, m.type === "video" ? o(Q.vmhd, q) : o(Q.smhd, L), l(), P(m));
|
31163
31163
|
}, v = function(m, k) {
|
31164
31164
|
for (var C = [], S = k.length; S--; )
|
31165
31165
|
C[S] = O(k[S]);
|
31166
|
-
return o.apply(null, [
|
31166
|
+
return o.apply(null, [Q.moof, y(m)].concat(C));
|
31167
31167
|
}, g = function(m) {
|
31168
31168
|
for (var k = m.length, C = []; k--; )
|
31169
31169
|
C[k] = b(m[k]);
|
31170
|
-
return o.apply(null, [
|
31170
|
+
return o.apply(null, [Q.moov, f(4294967295)].concat(C).concat(h(m)));
|
31171
31171
|
}, h = function(m) {
|
31172
31172
|
for (var k = m.length, C = []; k--; )
|
31173
31173
|
C[k] = $(m[k]);
|
31174
|
-
return o.apply(null, [
|
31174
|
+
return o.apply(null, [Q.mvex].concat(C));
|
31175
31175
|
}, f = function(m) {
|
31176
31176
|
var k = new Uint8Array([
|
31177
31177
|
0,
|
@@ -31289,18 +31289,18 @@ browserWorkerPolyFill(self);
|
|
31289
31289
|
255
|
31290
31290
|
// next_track_ID
|
31291
31291
|
]);
|
31292
|
-
return o(
|
31292
|
+
return o(Q.mvhd, k);
|
31293
31293
|
}, E = function(m) {
|
31294
31294
|
var k = m.samples || [], C = new Uint8Array(4 + k.length), S, A;
|
31295
31295
|
for (A = 0; A < k.length; A++)
|
31296
31296
|
S = k[A].flags, C[A + 4] = S.dependsOn << 4 | S.isDependedOn << 2 | S.hasRedundancy;
|
31297
|
-
return o(
|
31297
|
+
return o(Q.sdtp, C);
|
31298
31298
|
}, P = function(m) {
|
31299
|
-
return o(
|
31299
|
+
return o(Q.stbl, _(m), o(Q.stts, xe), o(Q.stsc, Ie), o(Q.stsz, le), o(Q.stco, ye));
|
31300
31300
|
}, (function() {
|
31301
31301
|
var m, k;
|
31302
31302
|
_ = function(C) {
|
31303
|
-
return o(
|
31303
|
+
return o(Q.stsd, new Uint8Array([
|
31304
31304
|
0,
|
31305
31305
|
// version 0
|
31306
31306
|
0,
|
@@ -31318,7 +31318,7 @@ browserWorkerPolyFill(self);
|
|
31318
31318
|
M.push((S[Y].byteLength & 65280) >>> 8), M.push(S[Y].byteLength & 255), M = M.concat(Array.prototype.slice.call(S[Y]));
|
31319
31319
|
for (Y = 0; Y < A.length; Y++)
|
31320
31320
|
K.push((A[Y].byteLength & 65280) >>> 8), K.push(A[Y].byteLength & 255), K = K.concat(Array.prototype.slice.call(A[Y]));
|
31321
|
-
if (te = [
|
31321
|
+
if (te = [Q.avc1, new Uint8Array([
|
31322
31322
|
0,
|
31323
31323
|
0,
|
31324
31324
|
0,
|
@@ -31411,7 +31411,7 @@ browserWorkerPolyFill(self);
|
|
31411
31411
|
17,
|
31412
31412
|
17
|
31413
31413
|
// pre_defined = -1
|
31414
|
-
]), o(
|
31414
|
+
]), o(Q.avcC, new Uint8Array([
|
31415
31415
|
1,
|
31416
31416
|
// configurationVersion
|
31417
31417
|
C.profileIdc,
|
@@ -31431,7 +31431,7 @@ browserWorkerPolyFill(self);
|
|
31431
31431
|
// numOfPictureParameterSets
|
31432
31432
|
K
|
31433
31433
|
// "PPS"
|
31434
|
-
))), o(
|
31434
|
+
))), o(Q.btrt, new Uint8Array([
|
31435
31435
|
0,
|
31436
31436
|
28,
|
31437
31437
|
156,
|
@@ -31449,11 +31449,11 @@ browserWorkerPolyFill(self);
|
|
31449
31449
|
// avgBitrate
|
31450
31450
|
]))], C.sarRatio) {
|
31451
31451
|
var re = C.sarRatio[0], fe = C.sarRatio[1];
|
31452
|
-
te.push(o(
|
31452
|
+
te.push(o(Q.pasp, new Uint8Array([(re & 4278190080) >> 24, (re & 16711680) >> 16, (re & 65280) >> 8, re & 255, (fe & 4278190080) >> 24, (fe & 16711680) >> 16, (fe & 65280) >> 8, fe & 255])));
|
31453
31453
|
}
|
31454
31454
|
return o.apply(null, te);
|
31455
31455
|
}, k = function(C) {
|
31456
|
-
return o(
|
31456
|
+
return o(Q.mp4a, new Uint8Array([
|
31457
31457
|
// SampleEntry, ISO/IEC 14496-12
|
31458
31458
|
0,
|
31459
31459
|
0,
|
@@ -31598,10 +31598,10 @@ browserWorkerPolyFill(self);
|
|
31598
31598
|
0
|
31599
31599
|
// height
|
31600
31600
|
]);
|
31601
|
-
return o(
|
31601
|
+
return o(Q.tkhd, k);
|
31602
31602
|
}, O = function(m) {
|
31603
31603
|
var k, C, S, A, M, K, Y;
|
31604
|
-
return k = o(
|
31604
|
+
return k = o(Q.tfhd, new Uint8Array([
|
31605
31605
|
0,
|
31606
31606
|
// version 0
|
31607
31607
|
0,
|
@@ -31633,7 +31633,7 @@ browserWorkerPolyFill(self);
|
|
31633
31633
|
0,
|
31634
31634
|
0
|
31635
31635
|
// default_sample_flags
|
31636
|
-
])), K = Math.floor(m.baseMediaDecodeTime / a), Y = Math.floor(m.baseMediaDecodeTime % a), C = o(
|
31636
|
+
])), K = Math.floor(m.baseMediaDecodeTime / a), Y = Math.floor(m.baseMediaDecodeTime % a), C = o(Q.tfdt, new Uint8Array([
|
31637
31637
|
1,
|
31638
31638
|
// version 1
|
31639
31639
|
0,
|
@@ -31649,9 +31649,9 @@ browserWorkerPolyFill(self);
|
|
31649
31649
|
Y >>> 16 & 255,
|
31650
31650
|
Y >>> 8 & 255,
|
31651
31651
|
Y & 255
|
31652
|
-
])), M = 92, m.type === "audio" ? (S = B(m, M), o(
|
31652
|
+
])), M = 92, m.type === "audio" ? (S = B(m, M), o(Q.traf, k, C, S)) : (A = E(m), S = B(m, A.length + M), o(Q.traf, k, C, S, A));
|
31653
31653
|
}, b = function(m) {
|
31654
|
-
return m.duration = m.duration || 4294967295, o(
|
31654
|
+
return m.duration = m.duration || 4294967295, o(Q.trak, T(m), w(m));
|
31655
31655
|
}, $ = function(m) {
|
31656
31656
|
var k = new Uint8Array([
|
31657
31657
|
0,
|
@@ -31686,7 +31686,7 @@ browserWorkerPolyFill(self);
|
|
31686
31686
|
1
|
31687
31687
|
// default_sample_flags
|
31688
31688
|
]);
|
31689
|
-
return m.type !== "video" && (k[k.length - 1] = 0), o(
|
31689
|
+
return m.type !== "video" && (k[k.length - 1] = 0), o(Q.trex, k);
|
31690
31690
|
}, (function() {
|
31691
31691
|
var m, k, C;
|
31692
31692
|
C = function(S, A) {
|
@@ -31713,12 +31713,12 @@ browserWorkerPolyFill(self);
|
|
31713
31713
|
var M, K, Y, te, re, fe;
|
31714
31714
|
for (te = S.samples || [], A += 20 + 16 * te.length, Y = C(te, A), K = new Uint8Array(Y.length + te.length * 16), K.set(Y), M = Y.length, fe = 0; fe < te.length; fe++)
|
31715
31715
|
re = te[fe], K[M++] = (re.duration & 4278190080) >>> 24, K[M++] = (re.duration & 16711680) >>> 16, K[M++] = (re.duration & 65280) >>> 8, K[M++] = re.duration & 255, K[M++] = (re.size & 4278190080) >>> 24, K[M++] = (re.size & 16711680) >>> 16, K[M++] = (re.size & 65280) >>> 8, K[M++] = re.size & 255, K[M++] = re.flags.isLeading << 2 | re.flags.dependsOn, K[M++] = re.flags.isDependedOn << 6 | re.flags.hasRedundancy << 4 | re.flags.paddingValue << 1 | re.flags.isNonSyncSample, K[M++] = re.flags.degradationPriority & 61440, K[M++] = re.flags.degradationPriority & 15, K[M++] = (re.compositionTimeOffset & 4278190080) >>> 24, K[M++] = (re.compositionTimeOffset & 16711680) >>> 16, K[M++] = (re.compositionTimeOffset & 65280) >>> 8, K[M++] = re.compositionTimeOffset & 255;
|
31716
|
-
return o(
|
31716
|
+
return o(Q.trun, K);
|
31717
31717
|
}, m = function(S, A) {
|
31718
31718
|
var M, K, Y, te, re, fe;
|
31719
31719
|
for (te = S.samples || [], A += 20 + 8 * te.length, Y = C(te, A), M = new Uint8Array(Y.length + te.length * 8), M.set(Y), K = Y.length, fe = 0; fe < te.length; fe++)
|
31720
31720
|
re = te[fe], M[K++] = (re.duration & 4278190080) >>> 24, M[K++] = (re.duration & 16711680) >>> 16, M[K++] = (re.duration & 65280) >>> 8, M[K++] = re.duration & 255, M[K++] = (re.size & 4278190080) >>> 24, M[K++] = (re.size & 16711680) >>> 16, M[K++] = (re.size & 65280) >>> 8, M[K++] = re.size & 255;
|
31721
|
-
return o(
|
31721
|
+
return o(Q.trun, M);
|
31722
31722
|
}, B = function(S, A) {
|
31723
31723
|
return S.type === "audio" ? m(S, A) : k(S, A);
|
31724
31724
|
};
|
@@ -33558,20 +33558,20 @@ browserWorkerPolyFill(self);
|
|
33558
33558
|
return m >>> 0;
|
33559
33559
|
}, W = function(m) {
|
33560
33560
|
return ("00" + m.toString(16)).slice(-2);
|
33561
|
-
},
|
33561
|
+
}, Z = {
|
33562
33562
|
toUnsigned: N,
|
33563
33563
|
toHexString: W
|
33564
33564
|
}, oe = function(m) {
|
33565
33565
|
var k = "";
|
33566
33566
|
return k += String.fromCharCode(m[0]), k += String.fromCharCode(m[1]), k += String.fromCharCode(m[2]), k += String.fromCharCode(m[3]), k;
|
33567
|
-
}, pe = oe, Se =
|
33567
|
+
}, pe = oe, Se = Z.toUnsigned, ke = pe, be = function(m, k) {
|
33568
33568
|
var C = [], S, A, M, K, Y;
|
33569
33569
|
if (!k.length)
|
33570
33570
|
return null;
|
33571
33571
|
for (S = 0; S < m.byteLength; )
|
33572
33572
|
A = Se(m[S] << 24 | m[S + 1] << 16 | m[S + 2] << 8 | m[S + 3]), M = ke(m.subarray(S + 4, S + 8)), K = A > 1 ? S + A : m.byteLength, M === k[0] && (k.length === 1 ? C.push(m.subarray(S + 8, K)) : (Y = be(m.subarray(S + 8, K), k.slice(1)), Y.length && (C = C.concat(Y)))), S = K;
|
33573
33573
|
return C;
|
33574
|
-
}, lt = be, at =
|
33574
|
+
}, lt = be, at = Z.toUnsigned, Nt = s.getUint64, Qr = function(m) {
|
33575
33575
|
var k = {
|
33576
33576
|
version: m[0],
|
33577
33577
|
flags: new Uint8Array(m.subarray(1, 4))
|
@@ -33652,7 +33652,7 @@ browserWorkerPolyFill(self);
|
|
33652
33652
|
scaleTime: Kx
|
33653
33653
|
}, bl;
|
33654
33654
|
typeof window < "u" ? bl = window : typeof i < "u" ? bl = i : typeof self < "u" ? bl = self : bl = {};
|
33655
|
-
var Tv = bl, ic =
|
33655
|
+
var Tv = bl, ic = Z.toUnsigned, Tl = Z.toHexString, Dn = lt, to = pe, af = Yx, Jx = gl, Qx = vl, Zx = bn, ew = s.getUint64, kv, _v, Sv, Cv, xv, of, wv, lf = Tv, tw = Bu.parseId3Frames;
|
33656
33656
|
kv = function(m) {
|
33657
33657
|
var k = {}, C = Dn(m, ["moov", "trak"]);
|
33658
33658
|
return C.reduce(function(S, A) {
|
@@ -35288,7 +35288,7 @@ const wo = function(i) {
|
|
35288
35288
|
uri: n.map.key.resolvedUri,
|
35289
35289
|
responseType: "arraybuffer",
|
35290
35290
|
requestType: "segment-key"
|
35291
|
-
}),
|
35291
|
+
}), Q = e1(n, [n.map.key], T, f), ie = {
|
35292
35292
|
uri: n.map.key.resolvedUri
|
35293
35293
|
};
|
35294
35294
|
f({
|
@@ -35296,7 +35296,7 @@ const wo = function(i) {
|
|
35296
35296
|
segment: n,
|
35297
35297
|
keyInfo: ie
|
35298
35298
|
});
|
35299
|
-
const X = i(B,
|
35299
|
+
const X = i(B, Q);
|
35300
35300
|
b.push(X);
|
35301
35301
|
}
|
35302
35302
|
const _ = $t(e, {
|
@@ -38659,12 +38659,12 @@ const o9 = CS(xS(function() {
|
|
38659
38659
|
const g = [[[], [], [], [], []], [[], [], [], [], []]], h = g[0], f = g[1], b = h[4], T = f[4];
|
38660
38660
|
let w, x, D;
|
38661
38661
|
const E = [], P = [];
|
38662
|
-
let _, O, $, B,
|
38662
|
+
let _, O, $, B, Q, ie;
|
38663
38663
|
for (w = 0; w < 256; w++)
|
38664
38664
|
P[(E[w] = w << 1 ^ (w >> 7) * 283) ^ w] = w;
|
38665
38665
|
for (x = D = 0; !b[x]; x ^= _ || 1, D = P[D] || 1)
|
38666
|
-
for (B = D ^ D << 1 ^ D << 2 ^ D << 3 ^ D << 4, B = B >> 8 ^ B & 255 ^ 99, b[x] = B, T[B] = x, $ = E[O = E[_ = E[x]]], ie = $ * 16843009 ^ O * 65537 ^ _ * 257 ^ x * 16843008,
|
38667
|
-
h[w][x] =
|
38666
|
+
for (B = D ^ D << 1 ^ D << 2 ^ D << 3 ^ D << 4, B = B >> 8 ^ B & 255 ^ 99, b[x] = B, T[B] = x, $ = E[O = E[_ = E[x]]], ie = $ * 16843009 ^ O * 65537 ^ _ * 257 ^ x * 16843008, Q = E[B] * 257 ^ B * 16843008, w = 0; w < 4; w++)
|
38667
|
+
h[w][x] = Q = Q << 24 ^ Q >>> 8, f[w][B] = ie = ie << 24 ^ ie >>> 8;
|
38668
38668
|
for (w = 0; w < 5; w++)
|
38669
38669
|
h[w] = h[w].slice(0), f[w] = f[w].slice(0);
|
38670
38670
|
return g;
|
@@ -38699,12 +38699,12 @@ const o9 = CS(xS(function() {
|
|
38699
38699
|
*/
|
38700
38700
|
decrypt(h, f, b, T, w, x) {
|
38701
38701
|
const D = this._key[1];
|
38702
|
-
let E = h ^ D[0], P = T ^ D[1], _ = b ^ D[2], O = f ^ D[3], $, B,
|
38702
|
+
let E = h ^ D[0], P = T ^ D[1], _ = b ^ D[2], O = f ^ D[3], $, B, Q;
|
38703
38703
|
const ie = D.length / 4 - 2;
|
38704
38704
|
let X, z = 4;
|
38705
38705
|
const j = this._tables[1], V = j[0], U = j[1], q = j[2], L = j[3], se = j[4];
|
38706
38706
|
for (X = 0; X < ie; X++)
|
38707
|
-
$ = V[E >>> 24] ^ U[P >> 16 & 255] ^ q[_ >> 8 & 255] ^ L[O & 255] ^ D[z], B = V[P >>> 24] ^ U[_ >> 16 & 255] ^ q[O >> 8 & 255] ^ L[E & 255] ^ D[z + 1],
|
38707
|
+
$ = V[E >>> 24] ^ U[P >> 16 & 255] ^ q[_ >> 8 & 255] ^ L[O & 255] ^ D[z], B = V[P >>> 24] ^ U[_ >> 16 & 255] ^ q[O >> 8 & 255] ^ L[E & 255] ^ D[z + 1], Q = V[_ >>> 24] ^ U[O >> 16 & 255] ^ q[E >> 8 & 255] ^ L[P & 255] ^ D[z + 2], O = V[O >>> 24] ^ U[E >> 16 & 255] ^ q[P >> 8 & 255] ^ L[_ & 255] ^ D[z + 3], z += 4, E = $, P = B, _ = Q;
|
38708
38708
|
for (X = 0; X < 4; X++)
|
38709
38709
|
w[(3 & -X) + x] = se[E >>> 24] << 24 ^ se[P >> 16 & 255] << 16 ^ se[_ >> 8 & 255] << 8 ^ se[O & 255] ^ D[z++], $ = E, E = P, P = _, _ = O, O = $;
|
38710
38710
|
}
|
@@ -38734,9 +38734,9 @@ const o9 = CS(xS(function() {
|
|
38734
38734
|
return g << 24 | (g & 65280) << 8 | (g & 16711680) >> 8 | g >>> 24;
|
38735
38735
|
}, o = function(g, h, f) {
|
38736
38736
|
const b = new Int32Array(g.buffer, g.byteOffset, g.byteLength >> 2), T = new r(Array.prototype.slice.call(h)), w = new Uint8Array(g.byteLength), x = new Int32Array(w.buffer);
|
38737
|
-
let D, E, P, _, O, $, B,
|
38737
|
+
let D, E, P, _, O, $, B, Q, ie;
|
38738
38738
|
for (D = f[0], E = f[1], P = f[2], _ = f[3], ie = 0; ie < b.length; ie += 4)
|
38739
|
-
O = a(b[ie]), $ = a(b[ie + 1]), B = a(b[ie + 2]),
|
38739
|
+
O = a(b[ie]), $ = a(b[ie + 1]), B = a(b[ie + 2]), Q = a(b[ie + 3]), T.decrypt(O, $, B, Q, x, ie), x[ie] = a(x[ie] ^ D), x[ie + 1] = a(x[ie + 1] ^ E), x[ie + 2] = a(x[ie + 2] ^ P), x[ie + 3] = a(x[ie + 3] ^ _), D = O, E = $, P = B, _ = Q;
|
38740
38740
|
return w;
|
38741
38741
|
};
|
38742
38742
|
class l {
|
@@ -42226,7 +42226,7 @@ const Ou = new z9(), G9 = (i) => Ou.init(i), W9 = () => Ou.stopScreenPolling(),
|
|
42226
42226
|
ce <= 0 && (P.value = !1, r && clearInterval(r));
|
42227
42227
|
}
|
42228
42228
|
);
|
42229
|
-
async function
|
42229
|
+
async function Q() {
|
42230
42230
|
s && await s.createRoom();
|
42231
42231
|
}
|
42232
42232
|
async function ie() {
|
@@ -42504,7 +42504,7 @@ const Ou = new z9(), G9 = (i) => Ou.init(i), W9 = () => Ou.stopScreenPolling(),
|
|
42504
42504
|
}
|
42505
42505
|
}
|
42506
42506
|
return ln(() => {
|
42507
|
-
s = window.liveClient, console.log("liveClient", s), le(), a.joinType === "launch" ? (a.meetingType === "video" || a.meetingType === "miniLink" ? s.roomMode = "auto" : a.meetingType === "voice" && (s.roomMode = "audio"),
|
42507
|
+
s = window.liveClient, console.log("liveClient", s), le(), a.joinType === "launch" ? (a.meetingType === "video" || a.meetingType === "miniLink" ? s.roomMode = "auto" : a.meetingType === "voice" && (s.roomMode = "audio"), Q()) : (a.meetingType === "video" || a.meetingType === "miniLink" ? s.roomMode = "auto" : a.meetingType === "voice" && (s.roomMode = "audio"), ie()), ye(4);
|
42508
42508
|
}), yr(() => {
|
42509
42509
|
w.value && Ue(), z();
|
42510
42510
|
}), (ce, qe) => (ee(), he("div", {
|
@@ -43186,7 +43186,7 @@ const mM = "/assets/img/multi/tree_slide.png", gM = "/assets/img/multi/tree_expa
|
|
43186
43186
|
const Je = $(tt, o.value);
|
43187
43187
|
D(Je);
|
43188
43188
|
});
|
43189
|
-
},
|
43189
|
+
}, Q = async () => {
|
43190
43190
|
await vt();
|
43191
43191
|
let le = c.value.getCheckedNodes(!0, !1).filter((xe) => xe.label.includes(l.value) && !xe.children);
|
43192
43192
|
v.value = le.map((xe) => $(xe)), console.log("所有选中节点(常用分组)", v.value);
|
@@ -43449,7 +43449,7 @@ const mM = "/assets/img/multi/tree_slide.png", gM = "/assets/img/multi/tree_expa
|
|
43449
43449
|
"show-checkbox": "",
|
43450
43450
|
"node-key": "id",
|
43451
43451
|
data: y.usualArr,
|
43452
|
-
onCheck:
|
43452
|
+
onCheck: Q,
|
43453
43453
|
"filter-node-method": O
|
43454
43454
|
}, {
|
43455
43455
|
default: Le(({ node: Te, data: Be }) => [
|
@@ -43962,7 +43962,7 @@ const mM = "/assets/img/multi/tree_slide.png", gM = "/assets/img/multi/tree_expa
|
|
43962
43962
|
}
|
43963
43963
|
}), yr(() => {
|
43964
43964
|
}), (x, D) => {
|
43965
|
-
const E = st("el-input"), P = st("el-form-item"), _ = st("el-date-picker"), O = st("el-time-select"), $ = st("el-option"), B = st("el-select"),
|
43965
|
+
const E = st("el-input"), P = st("el-form-item"), _ = st("el-date-picker"), O = st("el-time-select"), $ = st("el-option"), B = st("el-select"), Q = st("el-checkbox"), ie = st("el-form");
|
43966
43966
|
return ee(), he("div", {
|
43967
43967
|
class: "mask",
|
43968
43968
|
onClick: D[14] || (D[14] = Fi((X) => t("close"), ["self"]))
|
@@ -44179,25 +44179,25 @@ const mM = "/assets/img/multi/tree_slide.png", gM = "/assets/img/multi/tree_expa
|
|
44179
44179
|
Ce(P, { label: "会议设置" }, {
|
44180
44180
|
default: Le(() => [
|
44181
44181
|
I("div", AR, [
|
44182
|
-
Ce(
|
44182
|
+
Ce(Q, {
|
44183
44183
|
modelValue: a.joinBeforeHostEnabled,
|
44184
44184
|
"onUpdate:modelValue": D[10] || (D[10] = (X) => a.joinBeforeHostEnabled = X),
|
44185
44185
|
disabled: n.previewType === "detail",
|
44186
44186
|
label: "允许在主持人入会之前加入"
|
44187
44187
|
}, null, 8, ["modelValue", "disabled"]),
|
44188
|
-
Ce(
|
44188
|
+
Ce(Q, {
|
44189
44189
|
modelValue: a.inviteOtherEnabled,
|
44190
44190
|
"onUpdate:modelValue": D[11] || (D[11] = (X) => a.inviteOtherEnabled = X),
|
44191
44191
|
disabled: n.previewType === "detail",
|
44192
44192
|
label: "允许参会者邀请其他人"
|
44193
44193
|
}, null, 8, ["modelValue", "disabled"]),
|
44194
|
-
Ce(
|
44194
|
+
Ce(Q, {
|
44195
44195
|
modelValue: a.joinMute,
|
44196
44196
|
"onUpdate:modelValue": D[12] || (D[12] = (X) => a.joinMute = X),
|
44197
44197
|
disabled: n.previewType === "detail",
|
44198
44198
|
label: "参会人加入会议时静音"
|
44199
44199
|
}, null, 8, ["modelValue", "disabled"]),
|
44200
|
-
Ce(
|
44200
|
+
Ce(Q, {
|
44201
44201
|
modelValue: a.autoRecord,
|
44202
44202
|
"onUpdate:modelValue": D[13] || (D[13] = (X) => a.autoRecord = X),
|
44203
44203
|
disabled: n.previewType === "detail",
|
@@ -44371,7 +44371,7 @@ function H() {
|
|
44371
44371
|
var j = { tryLoc: z[0] };
|
44372
44372
|
1 in z && (j.catchLoc = z[1]), 2 in z && (j.finallyLoc = z[2], j.afterLoc = z[3]), this.tryEntries.push(j);
|
44373
44373
|
}
|
44374
|
-
function
|
44374
|
+
function Q(z) {
|
44375
44375
|
var j = z.completion || {};
|
44376
44376
|
j.type = "normal", delete j.arg, z.completion = j;
|
44377
44377
|
}
|
@@ -44423,7 +44423,7 @@ function H() {
|
|
44423
44423
|
return q.done = !0, q;
|
44424
44424
|
};
|
44425
44425
|
}, e.values = X, ie.prototype = { constructor: ie, reset: function(z) {
|
44426
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = i, this.done = !1, this.delegate = null, this.method = "next", this.arg = i, this.tryEntries.forEach(
|
44426
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = i, this.done = !1, this.delegate = null, this.method = "next", this.arg = i, this.tryEntries.forEach(Q), !z) for (var j in this) j.charAt(0) === "t" && n.call(this, j) && !isNaN(+j.slice(1)) && (this[j] = i);
|
44427
44427
|
}, stop: function() {
|
44428
44428
|
this.done = !0;
|
44429
44429
|
var z = this.tryEntries[0].completion;
|
@@ -44468,7 +44468,7 @@ function H() {
|
|
44468
44468
|
}, finish: function(z) {
|
44469
44469
|
for (var j = this.tryEntries.length - 1; j >= 0; --j) {
|
44470
44470
|
var V = this.tryEntries[j];
|
44471
|
-
if (V.finallyLoc === z) return this.complete(V.completion, V.afterLoc),
|
44471
|
+
if (V.finallyLoc === z) return this.complete(V.completion, V.afterLoc), Q(V), h;
|
44472
44472
|
}
|
44473
44473
|
}, catch: function(z) {
|
44474
44474
|
for (var j = this.tryEntries.length - 1; j >= 0; --j) {
|
@@ -44477,7 +44477,7 @@ function H() {
|
|
44477
44477
|
var U = V.completion;
|
44478
44478
|
if (U.type === "throw") {
|
44479
44479
|
var q = U.arg;
|
44480
|
-
|
44480
|
+
Q(V);
|
44481
44481
|
}
|
44482
44482
|
return q;
|
44483
44483
|
}
|
@@ -50984,8 +50984,8 @@ function Bm(i, e, t, n) {
|
|
50984
50984
|
var o = n == null ? void 0 : n.simulcast, l = n == null ? void 0 : n.scalabilityMode, u = n == null ? void 0 : n.videoCodec;
|
50985
50985
|
if (!a && !o && !l || !e || !t) return [{}];
|
50986
50986
|
a || (a = (function(w, x, D, E) {
|
50987
|
-
for (var P = (function(
|
50988
|
-
if (
|
50987
|
+
for (var P = (function(Q, ie, X) {
|
50988
|
+
if (Q) return IL;
|
50989
50989
|
var z = ie > X ? ie / X : X / ie;
|
50990
50990
|
return Math.abs(z - 16 / 9) < Math.abs(z - 4 / 3) ? AL : PL;
|
50991
50991
|
})(w, x, D), _ = P[0].encoding, O = Math.max(x, D), $ = 0; $ < P.length; $ += 1) {
|
@@ -54041,10 +54041,10 @@ var Ox = (function(i) {
|
|
54041
54041
|
return H().wrap((function(B) {
|
54042
54042
|
for (; ; ) switch (B.prev = B.next) {
|
54043
54043
|
case 0:
|
54044
|
-
if (Array.from(this.trackPublications.values()).find((function(
|
54045
|
-
return t instanceof Ro &&
|
54046
|
-
})) && t.source !== Ve.Source.Unknown && this.log.info("publishing a second track with the same source: ".concat(t.source), Object.assign(Object.assign({}, this.logContext), on(t))), n.stopMicTrackOnMute && t instanceof Wn && (t.stopOnMute = !0), t.source === Ve.Source.ScreenShare && Wo() && (n.simulcast = !1), n.videoCodec !== "av1" || hL() || (n.videoCodec = void 0), n.videoCodec !== "vp9" || fL() || (n.videoCodec = void 0), n.videoCodec === void 0 && (n.videoCodec = Nm), this.enabledPublishVideoCodecs.length > 0 && (this.enabledPublishVideoCodecs.some((function(
|
54047
|
-
return n.videoCodec === id(
|
54044
|
+
if (Array.from(this.trackPublications.values()).find((function(Q) {
|
54045
|
+
return t instanceof Ro && Q.source === t.source;
|
54046
|
+
})) && t.source !== Ve.Source.Unknown && this.log.info("publishing a second track with the same source: ".concat(t.source), Object.assign(Object.assign({}, this.logContext), on(t))), n.stopMicTrackOnMute && t instanceof Wn && (t.stopOnMute = !0), t.source === Ve.Source.ScreenShare && Wo() && (n.simulcast = !1), n.videoCodec !== "av1" || hL() || (n.videoCodec = void 0), n.videoCodec !== "vp9" || fL() || (n.videoCodec = void 0), n.videoCodec === void 0 && (n.videoCodec = Nm), this.enabledPublishVideoCodecs.length > 0 && (this.enabledPublishVideoCodecs.some((function(Q) {
|
54047
|
+
return n.videoCodec === id(Q.mime);
|
54048
54048
|
})) || (n.videoCodec = id(this.enabledPublishVideoCodecs[0].mime))), h = n.videoCodec, t.on(Ze.Muted, this.onTrackMuted), t.on(Ze.Unmuted, this.onTrackUnmuted), t.on(Ze.Ended, this.handleTrackEnded), t.on(Ze.UpstreamPaused, this.onTrackUpstreamPaused), t.on(Ze.UpstreamResumed, this.onTrackUpstreamResumed), t.on(Ze.AudioTrackFeatureUpdate, this.onTrackFeatureUpdate), f = new ym({ cid: t.mediaStreamTrack.id, name: n.name, type: Ve.kindToProto(t.kind), muted: t.isMuted, source: Ve.sourceToProto(t.source), disableDtx: !((a = n.dtx) === null || a === void 0 || a), encryption: this.encryptionType, stereo: r, disableRed: this.isE2EEEnabled || !((o = n.red) === null || o === void 0 || o), stream: n == null ? void 0 : n.stream }), t.kind !== Ve.Kind.Video) {
|
54049
54049
|
B.next = 36;
|
54050
54050
|
break;
|
@@ -54068,7 +54068,7 @@ var Ox = (function(i) {
|
|
54068
54068
|
throw new Bn("cannot publish track when not connected");
|
54069
54069
|
case 39:
|
54070
54070
|
if (x = function() {
|
54071
|
-
return me($, void 0, void 0, H().mark((function
|
54071
|
+
return me($, void 0, void 0, H().mark((function Q() {
|
54072
54072
|
var ie, X, z, j, V, U, q;
|
54073
54073
|
return H().wrap((function(L) {
|
54074
54074
|
for (; ; ) switch (L.prev = L.next) {
|
@@ -54121,7 +54121,7 @@ var Ox = (function(i) {
|
|
54121
54121
|
case "end":
|
54122
54122
|
return L.stop();
|
54123
54123
|
}
|
54124
|
-
}),
|
54124
|
+
}), Q, this, [[10, 21, 24, 27]]);
|
54125
54125
|
})));
|
54126
54126
|
}, this.enabledPublishVideoCodecs.length <= 0) {
|
54127
54127
|
B.next = 47;
|
@@ -54134,8 +54134,8 @@ var Ox = (function(i) {
|
|
54134
54134
|
case 47:
|
54135
54135
|
return B.next = 49, this.engine.addTrack(f);
|
54136
54136
|
case 49:
|
54137
|
-
return (D = B.sent).codecs.forEach((function(
|
54138
|
-
P === void 0 && (P =
|
54137
|
+
return (D = B.sent).codecs.forEach((function(Q) {
|
54138
|
+
P === void 0 && (P = Q.mimeType);
|
54139
54139
|
})), P && t.kind === Ve.Kind.Video && (_ = id(P)) !== h && (this.log.debug("falling back to server selected codec", Object.assign(Object.assign(Object.assign({}, this.logContext), on(t)), { codec: _ })), n.videoCodec = _, b = Bm(t.source === Ve.Source.ScreenShare, f.width, f.height, n)), B.next = 54, x();
|
54140
54140
|
case 54:
|
54141
54141
|
return (O = new qd(t.kind, D, t, { loggerName: this.roomOptions.loggerName, loggerContextCb: function() {
|
@@ -56054,8 +56054,8 @@ function da() {
|
|
56054
56054
|
var h = v + g, f = p[h];
|
56055
56055
|
p[h] = 16711935 & (f << 8 | f >>> 24) | 4278255360 & (f << 24 | f >>> 8);
|
56056
56056
|
}
|
56057
|
-
var b = this._hash.words, T = p[v + 0], w = p[v + 1], x = p[v + 2], D = p[v + 3], E = p[v + 4], P = p[v + 5], _ = p[v + 6], O = p[v + 7], $ = p[v + 8], B = p[v + 9],
|
56058
|
-
U = u(U, q, L, se, T, 7, o[0]), se = u(se, U, q, L, w, 12, o[1]), L = u(L, se, U, q, x, 17, o[2]), q = u(q, L, se, U, D, 22, o[3]), U = u(U, q, L, se, E, 7, o[4]), se = u(se, U, q, L, P, 12, o[5]), L = u(L, se, U, q, _, 17, o[6]), q = u(q, L, se, U, O, 22, o[7]), U = u(U, q, L, se, $, 7, o[8]), se = u(se, U, q, L, B, 12, o[9]), L = u(L, se, U, q,
|
56057
|
+
var b = this._hash.words, T = p[v + 0], w = p[v + 1], x = p[v + 2], D = p[v + 3], E = p[v + 4], P = p[v + 5], _ = p[v + 6], O = p[v + 7], $ = p[v + 8], B = p[v + 9], Q = p[v + 10], ie = p[v + 11], X = p[v + 12], z = p[v + 13], j = p[v + 14], V = p[v + 15], U = b[0], q = b[1], L = b[2], se = b[3];
|
56058
|
+
U = u(U, q, L, se, T, 7, o[0]), se = u(se, U, q, L, w, 12, o[1]), L = u(L, se, U, q, x, 17, o[2]), q = u(q, L, se, U, D, 22, o[3]), U = u(U, q, L, se, E, 7, o[4]), se = u(se, U, q, L, P, 12, o[5]), L = u(L, se, U, q, _, 17, o[6]), q = u(q, L, se, U, O, 22, o[7]), U = u(U, q, L, se, $, 7, o[8]), se = u(se, U, q, L, B, 12, o[9]), L = u(L, se, U, q, Q, 17, o[10]), q = u(q, L, se, U, ie, 22, o[11]), U = u(U, q, L, se, X, 7, o[12]), se = u(se, U, q, L, z, 12, o[13]), L = u(L, se, U, q, j, 17, o[14]), U = c(U, q = u(q, L, se, U, V, 22, o[15]), L, se, w, 5, o[16]), se = c(se, U, q, L, _, 9, o[17]), L = c(L, se, U, q, ie, 14, o[18]), q = c(q, L, se, U, T, 20, o[19]), U = c(U, q, L, se, P, 5, o[20]), se = c(se, U, q, L, Q, 9, o[21]), L = c(L, se, U, q, V, 14, o[22]), q = c(q, L, se, U, E, 20, o[23]), U = c(U, q, L, se, B, 5, o[24]), se = c(se, U, q, L, j, 9, o[25]), L = c(L, se, U, q, D, 14, o[26]), q = c(q, L, se, U, $, 20, o[27]), U = c(U, q, L, se, z, 5, o[28]), se = c(se, U, q, L, x, 9, o[29]), L = c(L, se, U, q, O, 14, o[30]), U = d(U, q = c(q, L, se, U, X, 20, o[31]), L, se, P, 4, o[32]), se = d(se, U, q, L, $, 11, o[33]), L = d(L, se, U, q, ie, 16, o[34]), q = d(q, L, se, U, j, 23, o[35]), U = d(U, q, L, se, w, 4, o[36]), se = d(se, U, q, L, E, 11, o[37]), L = d(L, se, U, q, O, 16, o[38]), q = d(q, L, se, U, Q, 23, o[39]), U = d(U, q, L, se, z, 4, o[40]), se = d(se, U, q, L, T, 11, o[41]), L = d(L, se, U, q, D, 16, o[42]), q = d(q, L, se, U, _, 23, o[43]), U = d(U, q, L, se, B, 4, o[44]), se = d(se, U, q, L, X, 11, o[45]), L = d(L, se, U, q, V, 16, o[46]), U = y(U, q = d(q, L, se, U, x, 23, o[47]), L, se, T, 6, o[48]), se = y(se, U, q, L, O, 10, o[49]), L = y(L, se, U, q, j, 15, o[50]), q = y(q, L, se, U, P, 21, o[51]), U = y(U, q, L, se, X, 6, o[52]), se = y(se, U, q, L, D, 10, o[53]), L = y(L, se, U, q, Q, 15, o[54]), q = y(q, L, se, U, w, 21, o[55]), U = y(U, q, L, se, $, 6, o[56]), se = y(se, U, q, L, V, 10, o[57]), L = y(L, se, U, q, _, 15, o[58]), q = y(q, L, se, U, z, 21, o[59]), U = y(U, q, L, se, E, 6, o[60]), se = y(se, U, q, L, ie, 10, o[61]), L = y(L, se, U, q, x, 15, o[62]), q = y(q, L, se, U, B, 21, o[63]), b[0] = b[0] + U | 0, b[1] = b[1] + q | 0, b[2] = b[2] + L | 0, b[3] = b[3] + se | 0;
|
56059
56059
|
}, _doFinalize: function() {
|
56060
56060
|
var p = this._data, v = p.words, g = 8 * this._nDataBytes, h = 8 * p.sigBytes;
|
56061
56061
|
v[h >>> 5] |= 128 << 24 - h % 32;
|
@@ -56140,8 +56140,8 @@ function Tp() {
|
|
56140
56140
|
var E = u[D - 15], P = (E << 25 | E >>> 7) ^ (E << 14 | E >>> 18) ^ E >>> 3, _ = u[D - 2], O = (_ << 15 | _ >>> 17) ^ (_ << 13 | _ >>> 19) ^ _ >>> 10;
|
56141
56141
|
u[D] = P + u[D - 7] + O + u[D - 16];
|
56142
56142
|
}
|
56143
|
-
var $ = v & g ^ v & h ^ g & h, B = (v << 30 | v >>> 2) ^ (v << 19 | v >>> 13) ^ (v << 10 | v >>> 22),
|
56144
|
-
x = w, w = T, T = b, b = f +
|
56143
|
+
var $ = v & g ^ v & h ^ g & h, B = (v << 30 | v >>> 2) ^ (v << 19 | v >>> 13) ^ (v << 10 | v >>> 22), Q = x + ((b << 26 | b >>> 6) ^ (b << 21 | b >>> 11) ^ (b << 7 | b >>> 25)) + (b & T ^ ~b & w) + l[D] + u[D];
|
56144
|
+
x = w, w = T, T = b, b = f + Q | 0, f = h, h = g, g = v, v = Q + (B + $) | 0;
|
56145
56145
|
}
|
56146
56146
|
p[0] = p[0] + v | 0, p[1] = p[1] + g | 0, p[2] = p[2] + h | 0, p[3] = p[3] + f | 0, p[4] = p[4] + b | 0, p[5] = p[5] + T | 0, p[6] = p[6] + w | 0, p[7] = p[7] + x | 0;
|
56147
56147
|
}, _doFinalize: function() {
|
@@ -56170,7 +56170,7 @@ function Kb() {
|
|
56170
56170
|
var c = a.SHA512 = t.extend({ _doReset: function() {
|
56171
56171
|
this._hash = new s.init([new r.init(1779033703, 4089235720), new r.init(3144134277, 2227873595), new r.init(1013904242, 4271175723), new r.init(2773480762, 1595750129), new r.init(1359893119, 2917565137), new r.init(2600822924, 725511199), new r.init(528734635, 4215389547), new r.init(1541459225, 327033209)]);
|
56172
56172
|
}, _doProcessBlock: function(d, y) {
|
56173
|
-
for (var p = this._hash.words, v = p[0], g = p[1], h = p[2], f = p[3], b = p[4], T = p[5], w = p[6], x = p[7], D = v.high, E = v.low, P = g.high, _ = g.low, O = h.high, $ = h.low, B = f.high,
|
56173
|
+
for (var p = this._hash.words, v = p[0], g = p[1], h = p[2], f = p[3], b = p[4], T = p[5], w = p[6], x = p[7], D = v.high, E = v.low, P = g.high, _ = g.low, O = h.high, $ = h.low, B = f.high, Q = f.low, ie = b.high, X = b.low, z = T.high, j = T.low, V = w.high, U = w.low, q = x.high, L = x.low, se = D, ye = E, Ie = P, le = _, xe = O, Ue = $, tt = B, Je = Q, Te = ie, Be = X, ht = z, ce = j, qe = V, ue = U, de = q, $e = L, Ge = 0; 80 > Ge; Ge++) {
|
56174
56174
|
var ft, et, Ae = u[Ge];
|
56175
56175
|
if (16 > Ge) et = Ae.high = 0 | d[y + 2 * Ge], ft = Ae.low = 0 | d[y + 2 * Ge + 1];
|
56176
56176
|
else {
|
@@ -56180,7 +56180,7 @@ function Kb() {
|
|
56180
56180
|
var Nn, vs = Te & ht ^ ~Te & qe, Sr = Be & ce ^ ~Be & ue, ys = se & Ie ^ se & xe ^ Ie & xe, F = ye & le ^ ye & Ue ^ le & Ue, G = (se >>> 28 | ye << 4) ^ (se << 30 | ye >>> 2) ^ (se << 25 | ye >>> 7), ae = (ye >>> 28 | se << 4) ^ (ye << 30 | se >>> 2) ^ (ye << 25 | se >>> 7), _e = (Te >>> 14 | Be << 18) ^ (Te >>> 18 | Be << 14) ^ (Te << 23 | Be >>> 9), Xe = (Be >>> 14 | Te << 18) ^ (Be >>> 18 | Te << 14) ^ (Be << 23 | Te >>> 9), ze = l[Ge], Fe = ze.high, mn = ze.low, nn = de + _e + ($e >>> 0 > (Nn = $e + Xe) >>> 0 ? 1 : 0), fn = ae + F;
|
56181
56181
|
de = qe, $e = ue, qe = ht, ue = ce, ht = Te, ce = Be, Te = tt + (nn = (nn = (nn = nn + vs + (Sr >>> 0 > (Nn += Sr) >>> 0 ? 1 : 0)) + Fe + (mn >>> 0 > (Nn += mn) >>> 0 ? 1 : 0)) + et + (ft >>> 0 > (Nn += ft) >>> 0 ? 1 : 0)) + (Je >>> 0 > (Be = Je + Nn | 0) >>> 0 ? 1 : 0) | 0, tt = xe, Je = Ue, xe = Ie, Ue = le, Ie = se, le = ye, se = nn + (G + ys + (ae >>> 0 > fn >>> 0 ? 1 : 0)) + (Nn >>> 0 > (ye = Nn + fn | 0) >>> 0 ? 1 : 0) | 0;
|
56182
56182
|
}
|
56183
|
-
E = v.low = E + ye, v.high = D + se + (ye >>> 0 > E >>> 0 ? 1 : 0), _ = g.low = _ + le, g.high = P + Ie + (le >>> 0 > _ >>> 0 ? 1 : 0), $ = h.low = $ + Ue, h.high = O + xe + (Ue >>> 0 > $ >>> 0 ? 1 : 0),
|
56183
|
+
E = v.low = E + ye, v.high = D + se + (ye >>> 0 > E >>> 0 ? 1 : 0), _ = g.low = _ + le, g.high = P + Ie + (le >>> 0 > _ >>> 0 ? 1 : 0), $ = h.low = $ + Ue, h.high = O + xe + (Ue >>> 0 > $ >>> 0 ? 1 : 0), Q = f.low = Q + Je, f.high = B + tt + (Je >>> 0 > Q >>> 0 ? 1 : 0), X = b.low = X + Be, b.high = ie + Te + (Be >>> 0 > X >>> 0 ? 1 : 0), j = T.low = j + ce, T.high = z + ht + (ce >>> 0 > j >>> 0 ? 1 : 0), U = w.low = U + ue, w.high = V + qe + (ue >>> 0 > U >>> 0 ? 1 : 0), L = x.low = L + $e, x.high = q + de + ($e >>> 0 > L >>> 0 ? 1 : 0);
|
56184
56184
|
}, _doFinalize: function() {
|
56185
56185
|
var d = this._data, y = d.words, p = 8 * this._nDataBytes, v = 8 * d.sigBytes;
|
56186
56186
|
return y[v >>> 5] |= 128 << 24 - v % 32, y[30 + (v + 128 >>> 10 << 5)] = Math.floor(p / 4294967296), y[31 + (v + 128 >>> 10 << 5)] = p, d.sigBytes = 4 * y.length, this._process(), this._hash.toX32();
|
@@ -56234,8 +56234,8 @@ function zL() {
|
|
56234
56234
|
_.high = D, _.low = E;
|
56235
56235
|
}
|
56236
56236
|
for (x = 0; 5 > x; x++) {
|
56237
|
-
var O = d[(x + 4) % 5], $ = d[(x + 1) % 5], B = $.high,
|
56238
|
-
for (D = O.high ^ (B << 1 |
|
56237
|
+
var O = d[(x + 4) % 5], $ = d[(x + 1) % 5], B = $.high, Q = $.low;
|
56238
|
+
for (D = O.high ^ (B << 1 | Q >>> 31), E = O.low ^ (Q << 1 | B >>> 31), P = 0; 5 > P; P++) (L = g[x + 5 * P]).high ^= D, L.low ^= E;
|
56239
56239
|
}
|
56240
56240
|
for (var ie = 1; 25 > ie; ie++) {
|
56241
56241
|
var X = (L = g[ie]).high, z = L.low, j = l[ie];
|
@@ -56616,9 +56616,9 @@ Nx.exports = /* @__PURE__ */ (function(i) {
|
|
56616
56616
|
var E = x + D, P = w[E];
|
56617
56617
|
w[E] = 16711935 & (P << 8 | P >>> 24) | 4278255360 & (P << 24 | P >>> 8);
|
56618
56618
|
}
|
56619
|
-
var _, O, $, B,
|
56620
|
-
for (ie = _ = q[0], X = O = q[1], z = $ = q[2], j = B = q[3], V =
|
56621
|
-
U = q[1] + $ + j | 0, q[1] = q[2] + B + V | 0, q[2] = q[3] +
|
56619
|
+
var _, O, $, B, Q, ie, X, z, j, V, U, q = this._hash.words, L = d.words, se = y.words, ye = o.words, Ie = l.words, le = u.words, xe = c.words;
|
56620
|
+
for (ie = _ = q[0], X = O = q[1], z = $ = q[2], j = B = q[3], V = Q = q[4], D = 0; 80 > D; D += 1) U = _ + w[x + ye[D]] | 0, U += 16 > D ? v(O, $, B) + L[0] : 32 > D ? g(O, $, B) + L[1] : 48 > D ? h(O, $, B) + L[2] : 64 > D ? f(O, $, B) + L[3] : b(O, $, B) + L[4], U = (U = T(U |= 0, le[D])) + Q | 0, _ = Q, Q = B, B = T($, 10), $ = O, O = U, U = ie + w[x + Ie[D]] | 0, U += 16 > D ? b(X, z, j) + se[0] : 32 > D ? f(X, z, j) + se[1] : 48 > D ? h(X, z, j) + se[2] : 64 > D ? g(X, z, j) + se[3] : v(X, z, j) + se[4], U = (U = T(U |= 0, xe[D])) + V | 0, ie = V, V = j, j = T(z, 10), z = X, X = U;
|
56621
|
+
U = q[1] + $ + j | 0, q[1] = q[2] + B + V | 0, q[2] = q[3] + Q + ie | 0, q[3] = q[4] + _ + X | 0, q[4] = q[0] + O + z | 0, q[0] = U;
|
56622
56622
|
}, _doFinalize: function() {
|
56623
56623
|
var w = this._data, x = w.words, D = 8 * this._nDataBytes, E = 8 * w.sigBytes;
|
56624
56624
|
x[E >>> 5] |= 128 << 24 - E % 32, x[14 + (E + 64 >>> 9 << 4)] = 16711935 & (D << 8 | D >>> 24) | 4278255360 & (D << 24 | D >>> 8), w.sigBytes = 4 * (x.length + 1), this._process();
|
@@ -56749,11 +56749,11 @@ Nx.exports = /* @__PURE__ */ (function(i) {
|
|
56749
56749
|
var b = h[f + 1];
|
56750
56750
|
h[f + 1] = h[f + 3], h[f + 3] = b, this._doCryptBlock(h, f, this._invKeySchedule, c, d, y, p, s), b = h[f + 1], h[f + 1] = h[f + 3], h[f + 3] = b;
|
56751
56751
|
}, _doCryptBlock: function(h, f, b, T, w, x, D, E) {
|
56752
|
-
for (var P = this._nRounds, _ = h[f] ^ b[0], O = h[f + 1] ^ b[1], $ = h[f + 2] ^ b[2], B = h[f + 3] ^ b[3],
|
56753
|
-
var X = T[_ >>> 24] ^ w[O >>> 16 & 255] ^ x[$ >>> 8 & 255] ^ D[255 & B] ^ b[
|
56752
|
+
for (var P = this._nRounds, _ = h[f] ^ b[0], O = h[f + 1] ^ b[1], $ = h[f + 2] ^ b[2], B = h[f + 3] ^ b[3], Q = 4, ie = 1; P > ie; ie++) {
|
56753
|
+
var X = T[_ >>> 24] ^ w[O >>> 16 & 255] ^ x[$ >>> 8 & 255] ^ D[255 & B] ^ b[Q++], z = T[O >>> 24] ^ w[$ >>> 16 & 255] ^ x[B >>> 8 & 255] ^ D[255 & _] ^ b[Q++], j = T[$ >>> 24] ^ w[B >>> 16 & 255] ^ x[_ >>> 8 & 255] ^ D[255 & O] ^ b[Q++], V = T[B >>> 24] ^ w[_ >>> 16 & 255] ^ x[O >>> 8 & 255] ^ D[255 & $] ^ b[Q++];
|
56754
56754
|
_ = X, O = z, $ = j, B = V;
|
56755
56755
|
}
|
56756
|
-
X = (E[_ >>> 24] << 24 | E[O >>> 16 & 255] << 16 | E[$ >>> 8 & 255] << 8 | E[255 & B]) ^ b[
|
56756
|
+
X = (E[_ >>> 24] << 24 | E[O >>> 16 & 255] << 16 | E[$ >>> 8 & 255] << 8 | E[255 & B]) ^ b[Q++], z = (E[O >>> 24] << 24 | E[$ >>> 16 & 255] << 16 | E[B >>> 8 & 255] << 8 | E[255 & _]) ^ b[Q++], j = (E[$ >>> 24] << 24 | E[B >>> 16 & 255] << 16 | E[_ >>> 8 & 255] << 8 | E[255 & O]) ^ b[Q++], V = (E[B >>> 24] << 24 | E[_ >>> 16 & 255] << 16 | E[O >>> 8 & 255] << 8 | E[255 & $]) ^ b[Q++], h[f] = X, h[f + 1] = z, h[f + 2] = j, h[f + 3] = V;
|
56757
56757
|
}, keySize: 8 });
|
56758
56758
|
e.AES = t._createHelper(g);
|
56759
56759
|
})(), i.AES;
|
@@ -57107,17 +57107,17 @@ var aa = /* @__PURE__ */ new WeakMap(), eB = (function() {
|
|
57107
57107
|
}))), function() {
|
57108
57108
|
return v.apply(this, arguments);
|
57109
57109
|
}) }, { key: "joinRoom", value: (p = Gn(H().mark((function h() {
|
57110
|
-
var f, b, T, w, x, D, E, P, _, O, $, B,
|
57110
|
+
var f, b, T, w, x, D, E, P, _, O, $, B, Q, ie, X, z, j, V, U, q, L, se, ye, Ie, le, xe, Ue, tt, Je, Te, Be, ht, ce = this, qe = arguments;
|
57111
57111
|
return H().wrap((function(ue) {
|
57112
57112
|
for (; ; ) switch (ue.prev = ue.next) {
|
57113
57113
|
case 0:
|
57114
|
-
if (x = (w = qe.length > 0 && qe[0] !== void 0 ? qe[0] : {}).audioDeviceId, D = x === void 0 ? "" : x, E = w.videoDeviceId, P = E === void 0 ? "" : E, _ = w.outputDeviceId, O = _ === void 0 ? "" : _, $ = w.facingMode, B = $ === void 0 ? "user" : $,
|
57114
|
+
if (x = (w = qe.length > 0 && qe[0] !== void 0 ? qe[0] : {}).audioDeviceId, D = x === void 0 ? "" : x, E = w.videoDeviceId, P = E === void 0 ? "" : E, _ = w.outputDeviceId, O = _ === void 0 ? "" : _, $ = w.facingMode, B = $ === void 0 ? "user" : $, Q = w.autoGainControl, ie = w.echoCancellation, X = w.noiseSuppression, z = w.roomNum, j = w.cameraStatus, V = j === void 0 || j, U = w.microphoneStatus, q = U === void 0 || U, L = w.origin, se = L === void 0 ? "0" : L, ye = w.videoCodec, z) {
|
57115
57115
|
ue.next = 4;
|
57116
57116
|
break;
|
57117
57117
|
}
|
57118
57118
|
return this.emit("errorPush", { type: "joinRoom", message: "请输入房间号" }), ue.abrupt("return");
|
57119
57119
|
case 4:
|
57120
|
-
return Ie = { audioCaptureDefaults: { deviceId: D || "default", autoGainControl:
|
57120
|
+
return Ie = { audioCaptureDefaults: { deviceId: D || "default", autoGainControl: Q != null && Q, echoCancellation: ie != null && ie, noiseSuppression: X != null && X }, videoCaptureDefaults: {}, stopLocalTrackOnUnpublish: !0, adaptiveStream: !0 }, O && (Ie.audioOutput = { deviceId: O }), le = { autoSubscribe: !0 }, P ? Ie.videoCaptureDefaults.deviceId = P : Ie.videoCaptureDefaults.facingMode = B, ye && typeof ye == "string" && (xe = { videoCodec: ye }, Ie.publishDefaults = xe), this.roomNum = z, ue.prev = 10, ue.next = 13, Tn(this, O2, rB).call(this, this.roomNum, se);
|
57121
57121
|
case 13:
|
57122
57122
|
return Ue = ue.sent, tt = this.baseUrl.split("//")[1], Je = tt.split("/ylapi")[0], ss(this, Oc, "".concat(this.wshead).concat(Je)), ss(this, Mc, Ue.token), this.room = new Ic(Ie), ue.next = 21, this.room.prepareConnection(Ht(this, Oc), Ht(this, Mc));
|
57123
57123
|
case 21:
|
@@ -57522,11 +57522,11 @@ var aa = /* @__PURE__ */ new WeakMap(), eB = (function() {
|
|
57522
57522
|
return this.emit("errorPush", { type: "changeParticipantMicrophoneStatus", message: "trackId不存在" }), _.abrupt("return");
|
57523
57523
|
case 18:
|
57524
57524
|
b ? (D = { cmd: "Mute", data: { org: this.org, room: this.roomNum, input: "1", identity: f, trackId: x } }, this.socket.addMessageHandler("Mute", (function(O) {
|
57525
|
-
var $, B,
|
57526
|
-
|
57525
|
+
var $, B, Q = JSON.parse(O);
|
57526
|
+
Q.cmd === "Mute" && ((Q == null ? void 0 : Q.data.code) == "200" || P.emit("errorPush", { type: "changeParticipantMicrophoneStatus", message: ($ = (B = Q.data) === null || B === void 0 ? void 0 : B.msg) !== null && $ !== void 0 ? $ : "关闭指定参与者麦克风失败" }));
|
57527
57527
|
})), this.socket.send(D)) : (E = { cmd: "UnMute", data: { org: this.org, room: this.roomNum, input: "1", identity: f, trackId: x } }, this.socket.addMessageHandler("UnMute", (function(O) {
|
57528
|
-
var $, B,
|
57529
|
-
ie.cmd === "UnMute" && ((ie == null ? void 0 : ie.data.code) == "200" || ($ = ie.data) !== null && $ !== void 0 && $.msg && P.emit("errorPush", { type: "changeParticipantMicrophoneStatus", message: (B = (
|
57528
|
+
var $, B, Q, ie = JSON.parse(O);
|
57529
|
+
ie.cmd === "UnMute" && ((ie == null ? void 0 : ie.data.code) == "200" || ($ = ie.data) !== null && $ !== void 0 && $.msg && P.emit("errorPush", { type: "changeParticipantMicrophoneStatus", message: (B = (Q = ie.data) === null || Q === void 0 ? void 0 : Q.msg) !== null && B !== void 0 ? B : "请求开启指定参与者麦克风失败" }));
|
57530
57530
|
})), this.socket.send(E));
|
57531
57531
|
case 19:
|
57532
57532
|
case "end":
|
@@ -57568,11 +57568,11 @@ var aa = /* @__PURE__ */ new WeakMap(), eB = (function() {
|
|
57568
57568
|
return this.emit("errorPush", { type: "changeParticipantCameraStatus", message: "trackId不存在" }), _.abrupt("return");
|
57569
57569
|
case 18:
|
57570
57570
|
b ? (D = { cmd: "Mute", data: { org: this.org, room: this.roomNum, identity: f, trackId: x, input: "2" } }, this.socket.addMessageHandler("Mute", (function(O) {
|
57571
|
-
var $, B,
|
57572
|
-
|
57571
|
+
var $, B, Q = JSON.parse(O);
|
57572
|
+
Q.cmd === "Mute" && ((Q == null ? void 0 : Q.data.code) == "200" || P.emit("errorPush", { type: "changeParticipantCameraStatus", message: ($ = (B = Q.data) === null || B === void 0 ? void 0 : B.msg) !== null && $ !== void 0 ? $ : "关闭指定参与者摄像头失败" }));
|
57573
57573
|
})), this.socket.send(D)) : (E = { cmd: "UnMute", data: { org: this.org, room: this.roomNum, identity: f, trackId: x, input: "2" } }, this.socket.addMessageHandler("UnMute", (function(O) {
|
57574
|
-
var $, B,
|
57575
|
-
ie.cmd === "UnMute" && ((ie == null ? void 0 : ie.data.code) == "200" || ($ = ie.data) !== null && $ !== void 0 && $.msg && P.emit("errorPush", { type: "changeParticipantCameraStatus", message: (B = (
|
57574
|
+
var $, B, Q, ie = JSON.parse(O);
|
57575
|
+
ie.cmd === "UnMute" && ((ie == null ? void 0 : ie.data.code) == "200" || ($ = ie.data) !== null && $ !== void 0 && $.msg && P.emit("errorPush", { type: "changeParticipantCameraStatus", message: (B = (Q = ie.data) === null || Q === void 0 ? void 0 : Q.msg) !== null && B !== void 0 ? B : "请求打开指定参与者摄像头失败" }));
|
57576
57576
|
})), this.socket.send(E));
|
57577
57577
|
case 19:
|
57578
57578
|
case "end":
|
@@ -57595,8 +57595,8 @@ var aa = /* @__PURE__ */ new WeakMap(), eB = (function() {
|
|
57595
57595
|
var f = arguments.length > 1 && arguments[1] !== void 0 && arguments[1];
|
57596
57596
|
this.roomMode === "auto" ? this.renderToVideo(h, f) : this.roomMode === "audio" && this.renderToAudio(h, f);
|
57597
57597
|
} }, { key: "renderToVideo", value: function(h, f) {
|
57598
|
-
var b = {}, T = h.name, w = h.identity, x = h.audioLevel, D = h.isSpeaking, E = h.metadata, P = h.sid, _ = h.isCameraEnabled, O = h.isLocal, $ = h.isMicrophoneEnabled, B = h.isScreenShareEnabled,
|
57599
|
-
b.remove = f, b.name = T || w, b.roomMode = this.roomMode, b.identity = w, b.audioLevel = x, b.isSpeaking = D, b.metadata = E, b.sid = P, b.isCameraEnabled = _, b.isLocal = O, b.isMicrophoneEnabled = $, b.isScreenShareEnabled = B, b.connectionQuality =
|
57598
|
+
var b = {}, T = h.name, w = h.identity, x = h.audioLevel, D = h.isSpeaking, E = h.metadata, P = h.sid, _ = h.isCameraEnabled, O = h.isLocal, $ = h.isMicrophoneEnabled, B = h.isScreenShareEnabled, Q = h.connectionQuality;
|
57599
|
+
b.remove = f, b.name = T || w, b.roomMode = this.roomMode, b.identity = w, b.audioLevel = x, b.isSpeaking = D, b.metadata = E, b.sid = P, b.isCameraEnabled = _, b.isLocal = O, b.isMicrophoneEnabled = $, b.isScreenShareEnabled = B, b.connectionQuality = Q;
|
57600
57600
|
var ie = h.getTrackPublication(Ve.Source.Camera), X = h.getTrackPublication(Ve.Source.Microphone);
|
57601
57601
|
B && (ie = h.getTrackPublication(Ve.Source.ScreenShare), X = h.getTrackPublication(Ve.Source.ScreenShareAudio)), b.videoTrack = ie ? ie.videoTrack : void 0, b.audioTrack = X ? X.audioTrack : void 0, this.emit("videoCallRender", b);
|
57602
57602
|
} }, { key: "renderToAudio", value: function(h, f) {
|
@@ -58184,7 +58184,7 @@ const xB = { class: "addressbox" }, wB = { class: "CustomHeader" }, EB = { class
|
|
58184
58184
|
console.warn("loadPersistedSettings err", ue);
|
58185
58185
|
}
|
58186
58186
|
}
|
58187
|
-
function
|
58187
|
+
function Q() {
|
58188
58188
|
try {
|
58189
58189
|
const ue = {
|
58190
58190
|
isVoiceMotivationOpen: x.value,
|
@@ -58248,7 +58248,7 @@ const xB = { class: "addressbox" }, wB = { class: "CustomHeader" }, EB = { class
|
|
58248
58248
|
P
|
58249
58249
|
],
|
58250
58250
|
() => {
|
58251
|
-
|
58251
|
+
Q();
|
58252
58252
|
}
|
58253
58253
|
);
|
58254
58254
|
const ht = async () => {
|
@@ -58794,7 +58794,7 @@ const xB = { class: "addressbox" }, wB = { class: "CustomHeader" }, EB = { class
|
|
58794
58794
|
}
|
58795
58795
|
await O(V);
|
58796
58796
|
}
|
58797
|
-
async function
|
58797
|
+
async function Q(V) {
|
58798
58798
|
if (V && V !== (f == null ? void 0 : f.audioInputDevice)) {
|
58799
58799
|
let U = {
|
58800
58800
|
audio: l.value ? { deviceId: V } : !0,
|
@@ -58894,7 +58894,7 @@ const xB = { class: "addressbox" }, wB = { class: "CustomHeader" }, EB = { class
|
|
58894
58894
|
outputDevices: g.value,
|
58895
58895
|
activeDevice: f,
|
58896
58896
|
onClose: U[4] || (U[4] = (L) => c.value = !1),
|
58897
|
-
onChooseAudioInputDevice:
|
58897
|
+
onChooseAudioInputDevice: Q,
|
58898
58898
|
onChooseAudioOutputDevice: ie
|
58899
58899
|
}, null, 8, ["audioDevices", "outputDevices", "activeDevice"])) : Ye("", !0)
|
58900
58900
|
]),
|
@@ -59275,7 +59275,7 @@ const xB = { class: "addressbox" }, wB = { class: "CustomHeader" }, EB = { class
|
|
59275
59275
|
console.log("视频播放结束");
|
59276
59276
|
}, B = (q) => {
|
59277
59277
|
console.error("视频播放错误:", q), Ui.error("视频播放出现错误");
|
59278
|
-
},
|
59278
|
+
}, Q = (q) => {
|
59279
59279
|
let L = c.value + q.filePath;
|
59280
59280
|
z(L, q.fileName);
|
59281
59281
|
}, ie = async () => {
|
@@ -59464,7 +59464,7 @@ const xB = { class: "addressbox" }, wB = { class: "CustomHeader" }, EB = { class
|
|
59464
59464
|
Ce(xe, {
|
59465
59465
|
text: "",
|
59466
59466
|
size: "small",
|
59467
|
-
onClick: (qe) =>
|
59467
|
+
onClick: (qe) => Q(ce),
|
59468
59468
|
class: "upload"
|
59469
59469
|
}, {
|
59470
59470
|
default: Le(() => [...L[14] || (L[14] = [
|
@@ -59725,7 +59725,7 @@ const xB = { class: "addressbox" }, wB = { class: "CustomHeader" }, EB = { class
|
|
59725
59725
|
function B() {
|
59726
59726
|
o.value = !0;
|
59727
59727
|
}
|
59728
|
-
function
|
59728
|
+
function Q(Ae) {
|
59729
59729
|
return new Promise((Me, pt) => {
|
59730
59730
|
ck(
|
59731
59731
|
{},
|
@@ -59928,7 +59928,7 @@ const xB = { class: "addressbox" }, wB = { class: "CustomHeader" }, EB = { class
|
|
59928
59928
|
}), yr(() => {
|
59929
59929
|
n && (clearInterval(n), n = null);
|
59930
59930
|
}), e({
|
59931
|
-
getUserAndOrgTreeData:
|
59931
|
+
getUserAndOrgTreeData: Q,
|
59932
59932
|
getPreviewMeetingList: le
|
59933
59933
|
}), (Ae, Me) => {
|
59934
59934
|
const pt = st("el-input"), ge = st("el-tree"), Oe = st("el-dialog");
|
@@ -60555,18 +60555,18 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
60555
60555
|
"icon-btn",
|
60556
60556
|
B.isMicrophoneEnabled ? "icon-btn-mic-on" : "icon-btn-mic-off"
|
60557
60557
|
]),
|
60558
|
-
onClick: (
|
60558
|
+
onClick: (Q) => p(B.identity, B.isMicrophoneEnabled)
|
60559
60559
|
}, null, 10, rj),
|
60560
60560
|
I("div", {
|
60561
60561
|
class: Qe([
|
60562
60562
|
"icon-btn",
|
60563
60563
|
B.isCameraEnabled ? "icon-btn-cam-on" : "icon-btn-cam-off"
|
60564
60564
|
]),
|
60565
|
-
onClick: (
|
60565
|
+
onClick: (Q) => y(B.identity, B.isCameraEnabled)
|
60566
60566
|
}, null, 10, sj),
|
60567
60567
|
I("div", {
|
60568
60568
|
class: "icon-btn icon-btn-option",
|
60569
|
-
onClick: (
|
60569
|
+
onClick: (Q) => v(B.identity, Q)
|
60570
60570
|
}, null, 8, aj)
|
60571
60571
|
])
|
60572
60572
|
]))), 128))
|
@@ -60633,11 +60633,11 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
60633
60633
|
I("div", fj, [
|
60634
60634
|
I("div", {
|
60635
60635
|
class: "text-btn text-btn-remove",
|
60636
|
-
onClick: (
|
60636
|
+
onClick: (Q) => w(B)
|
60637
60637
|
}, "移除", 8, pj),
|
60638
60638
|
I("div", {
|
60639
60639
|
class: "text-btn text-btn-invite",
|
60640
|
-
onClick: (
|
60640
|
+
onClick: (Q) => x(B)
|
60641
60641
|
}, "邀请", 8, mj)
|
60642
60642
|
])
|
60643
60643
|
]))), 128))
|
@@ -61588,27 +61588,35 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
61588
61588
|
endInterceptionObserve: r
|
61589
61589
|
};
|
61590
61590
|
}, gV = () => {
|
61591
|
-
const i = J(!0);
|
61592
|
-
function
|
61593
|
-
if (
|
61591
|
+
const i = J(!0), e = J(null);
|
61592
|
+
function t(s, a) {
|
61593
|
+
if (s && s === a.identity || a != null && a.isInViewport || e.value === a.identity)
|
61594
61594
|
return;
|
61595
|
-
const
|
61596
|
-
|
61595
|
+
const o = document.getElementById(`participant-${a.identity}`), l = document.querySelector("#meeting-contain .layout-participant");
|
61596
|
+
if (o && l) {
|
61597
|
+
if (l.firstChild && l.firstChild.id === o.id)
|
61598
|
+
return;
|
61599
|
+
l.insertBefore(o, l.firstChild ?? null), e.value = a.identity;
|
61600
|
+
}
|
61597
61601
|
}
|
61598
|
-
function
|
61599
|
-
if (
|
61602
|
+
function n(s) {
|
61603
|
+
if (s != null && s.isInViewport || e.value === s.identity)
|
61600
61604
|
return;
|
61601
|
-
const
|
61602
|
-
|
61605
|
+
const a = document.getElementById(`participant-${s.identity}`), o = document.getElementById("meeting-contain");
|
61606
|
+
if (a && o) {
|
61607
|
+
if (o.firstChild && o.firstChild.id === a.id)
|
61608
|
+
return;
|
61609
|
+
o.insertBefore(a, o.firstChild ?? null), e.value = s.identity;
|
61610
|
+
}
|
61603
61611
|
}
|
61604
|
-
function
|
61605
|
-
if (i.value &&
|
61606
|
-
const
|
61607
|
-
|
61612
|
+
function r(s, a, o, l) {
|
61613
|
+
if (i.value && l && l.length > 0) {
|
61614
|
+
const u = l.findIndex((c) => c.identity === s.identity);
|
61615
|
+
u >= 0 && (a === "blur" ? t(o, l[u]) : n(l[u]));
|
61608
61616
|
}
|
61609
61617
|
}
|
61610
61618
|
return {
|
61611
|
-
onSpeakerVoiceMotivate:
|
61619
|
+
onSpeakerVoiceMotivate: r
|
61612
61620
|
};
|
61613
61621
|
}, vV = {
|
61614
61622
|
class: /* @__PURE__ */ Qe(["meeting-room-top-bar"])
|
@@ -61724,7 +61732,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
61724
61732
|
audioInputDevice: "",
|
61725
61733
|
audioOutputDevice: "",
|
61726
61734
|
videoDevice: ""
|
61727
|
-
}), E = J([]), P = J(""), _ = J(""), O = J("grid"), $ = J("normal"), B = J(["grid", "rightSide"]),
|
61735
|
+
}), E = J([]), P = J(""), _ = J(""), O = J("grid"), $ = J("normal"), B = J(["grid", "rightSide"]), Q = J(["宫格", "右侧边栏"]), ie = J(0), X = J(!1), z = J(!1), j = J(!1), V = J(!1), U = J(!1), q = J(!1), L = J(!1), se = J(!1), ye = J(!1), Ie = J(!1), le = J(!1), xe = J(!1), Ue = J(null), tt = J([]), Je = J([]), Te = J(null), Be = J(null), ht = J(!1), ce = J({}), qe = J(!1), ue = J(!1), de = J(!1), $e = J(!1), Ge = J(""), ft = J(!1), et = J(3);
|
61728
61736
|
J("测试短信");
|
61729
61737
|
const Ae = J(!1), Me = J(!1), pt = J(!1), ge = J(!1), Oe = J({}), mt = J(!1), Mt = J(!1), Vt = J({}), zn = J(null), $i = J(!1), Oi = J(""), Lt = J(!0), nr = J(!1), Fn = J(null), Xr = J(), kr = J();
|
61730
61738
|
J(0);
|
@@ -61747,7 +61755,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
61747
61755
|
console.log(`❌ 无法获取参与者identity,元素ID: ${N.target.id}`);
|
61748
61756
|
return;
|
61749
61757
|
}
|
61750
|
-
const
|
61758
|
+
const Z = document.getElementById(`video-${W}`);
|
61751
61759
|
console.log(`参与者 ${W} 视口状态变化:`, {
|
61752
61760
|
isIntersecting: N.isIntersecting,
|
61753
61761
|
intersectionRatio: N.intersectionRatio,
|
@@ -61763,33 +61771,31 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
61763
61771
|
const ke = d.value.findIndex((be) => be.identity === W);
|
61764
61772
|
if (ke !== -1) {
|
61765
61773
|
const be = d.value[ke];
|
61766
|
-
console.log(`✅ 重试找到参与者: ${W}`), N.isIntersecting ? (be.isInViewport = !0, be.videoTrack &&
|
61774
|
+
console.log(`✅ 重试找到参与者: ${W}`), N.isIntersecting ? (be.isInViewport = !0, be.videoTrack && Z && (!Z.src && !Z.currentSrc ? requestAnimationFrame(() => {
|
61775
|
+
be.videoTrack.attach(Z), console.log(`✅ 重试渲染视频: ${W}`);
|
61776
|
+
}) : console.log(`✅ 重试时视频已在渲染: ${W}`))) : (be.isInViewport = !1, be.videoTrack && requestAnimationFrame(() => {
|
61777
|
+
be.videoTrack.detach(), console.log(`❌ 重试停止渲染视频: ${W}`);
|
61778
|
+
}));
|
61767
61779
|
} else
|
61768
61780
|
console.log(`❌ 重试后仍未找到参与者: ${W}`);
|
61769
|
-
},
|
61781
|
+
}, 50);
|
61770
61782
|
return;
|
61771
61783
|
}
|
61772
61784
|
const pe = d.value[oe];
|
61773
|
-
N.isIntersecting ? (pe.isInViewport = !0, pe.videoTrack &&
|
61774
|
-
|
61775
|
-
|
61776
|
-
currentSrc: Q.currentSrc,
|
61777
|
-
readyState: Q.readyState,
|
61778
|
-
videoWidth: Q.videoWidth,
|
61779
|
-
videoHeight: Q.videoHeight
|
61780
|
-
}) : (console.log(`⚠️ 视频源为空,尝试重新attach: ${W}`), pe.videoTrack.detach(), setTimeout(() => {
|
61781
|
-
pe.videoTrack.attach(Q), console.log(`🔄 重新attach完成: ${W}`);
|
61782
|
-
}, 100));
|
61783
|
-
}, 200)) : console.log(`✅ 视频已在渲染: ${W}`) : console.log(`❌ 无法渲染视频: ${W}`, {
|
61785
|
+
N.isIntersecting ? (pe.isInViewport = !0, pe.videoTrack && Z ? !Z.src && !Z.currentSrc ? requestAnimationFrame(() => {
|
61786
|
+
pe.videoTrack.attach(Z), console.log(`✅ 开始渲染视频: ${W}`);
|
61787
|
+
}) : console.log(`✅ 视频已在渲染: ${W}`) : console.log(`❌ 无法渲染视频: ${W}`, {
|
61784
61788
|
hasVideoTrack: !!pe.videoTrack,
|
61785
|
-
hasVideoElement: !!
|
61789
|
+
hasVideoElement: !!Z,
|
61786
61790
|
videoTrackDetails: pe.videoTrack ? {
|
61787
61791
|
id: pe.videoTrack.id,
|
61788
61792
|
kind: pe.videoTrack.kind,
|
61789
61793
|
enabled: pe.videoTrack.enabled,
|
61790
61794
|
muted: pe.videoTrack.muted
|
61791
61795
|
} : null
|
61792
|
-
})) : (pe.isInViewport = !1, pe.videoTrack && (
|
61796
|
+
})) : (pe.isInViewport = !1, pe.videoTrack && requestAnimationFrame(() => {
|
61797
|
+
pe.videoTrack.detach(), console.log(`❌ 停止渲染视频: ${W}`);
|
61798
|
+
}));
|
61793
61799
|
});
|
61794
61800
|
}, F = () => {
|
61795
61801
|
_r(ys), console.log("交叉观察器已初始化");
|
@@ -61806,9 +61812,9 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
61806
61812
|
});
|
61807
61813
|
}, ae = () => {
|
61808
61814
|
console.log("=== 手动触发视口检测 ==="), document.querySelectorAll('[id^="participant-"]').forEach((N) => {
|
61809
|
-
const W = N.getAttribute("data-identity"),
|
61815
|
+
const W = N.getAttribute("data-identity"), Z = N.getBoundingClientRect(), oe = Z.top >= 0 && Z.left >= 0 && Z.bottom <= window.innerHeight && Z.right <= window.innerWidth;
|
61810
61816
|
if (console.log(`参与者 ${W} 手动检测:`, {
|
61811
|
-
rect:
|
61817
|
+
rect: Z,
|
61812
61818
|
isInViewport: oe,
|
61813
61819
|
windowSize: { width: window.innerWidth, height: window.innerHeight }
|
61814
61820
|
}), oe && O.value === "grid") {
|
@@ -61827,7 +61833,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
61827
61833
|
return { identity: ke, rect: be, element: Se };
|
61828
61834
|
});
|
61829
61835
|
N.sort((Se, ke) => Se.rect.top - ke.rect.top);
|
61830
|
-
const W = 3,
|
61836
|
+
const W = 3, Z = W, oe = W * 2, pe = N.slice(Z, oe);
|
61831
61837
|
console.log("中间行参与者:", pe.map((Se) => Se.identity)), pe.forEach((Se) => {
|
61832
61838
|
const ke = Se.identity, be = document.getElementById(`video-${ke}`), lt = d.value.find((at) => at.identity === ke);
|
61833
61839
|
if (console.log(`中间参与者 ${ke} 详细状态:`, {
|
@@ -61864,7 +61870,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
61864
61870
|
console.log("=== 强制检查所有参与者视口状态 ==="), d.value.forEach((R) => {
|
61865
61871
|
const N = document.getElementById(`participant-${R.identity}`), W = document.getElementById(`video-${R.identity}`);
|
61866
61872
|
if (N && W) {
|
61867
|
-
const
|
61873
|
+
const Z = N.getBoundingClientRect(), oe = Z.top >= 0 && Z.left >= 0 && Z.bottom <= window.innerHeight && Z.right <= window.innerWidth;
|
61868
61874
|
console.log(`参与者 ${R.identity} 强制检查:`, {
|
61869
61875
|
isInViewport: oe,
|
61870
61876
|
hasVideoTrack: !!R.videoTrack,
|
@@ -61923,10 +61929,10 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
61923
61929
|
if (O.value !== "rightSide") return;
|
61924
61930
|
const N = document.querySelector("#room .layout-rightside");
|
61925
61931
|
if (!N) return;
|
61926
|
-
const W = 5,
|
61932
|
+
const W = 5, Z = [...R];
|
61927
61933
|
let oe = 0;
|
61928
|
-
for (let Se = 0; Se <
|
61929
|
-
const ke = (pe =
|
61934
|
+
for (let Se = 0; Se < Z.length && oe < W; Se++) {
|
61935
|
+
const ke = (pe = Z[Se]) == null ? void 0 : pe.identity;
|
61930
61936
|
if (!ke) continue;
|
61931
61937
|
const be = document.getElementById(`participant-${ke}`);
|
61932
61938
|
be && N.contains(be) && (N.appendChild(be), oe++);
|
@@ -61935,43 +61941,43 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
61935
61941
|
const Xt = async (R) => {
|
61936
61942
|
var N, W;
|
61937
61943
|
try {
|
61938
|
-
const
|
61944
|
+
const Z = {
|
61939
61945
|
display: R,
|
61940
61946
|
// 会议里的 Identity
|
61941
61947
|
org: n.org || "default",
|
61942
61948
|
room: o.value
|
61943
|
-
}, oe = await L2(
|
61949
|
+
}, oe = await L2(Z, {
|
61944
61950
|
baseUrl: n.meetingUrl,
|
61945
61951
|
token: n.token
|
61946
61952
|
});
|
61947
61953
|
((N = oe == null ? void 0 : oe.data) == null ? void 0 : N.code) === 0 || (oe == null ? void 0 : oe.status) === 200 ? (Fn.value = R, ze.message("success", "分发画面成功")) : ze.message("error", ((W = oe == null ? void 0 : oe.data) == null ? void 0 : W.msg) || "分发画面失败");
|
61948
|
-
} catch (
|
61949
|
-
console.error("分发画面失败",
|
61954
|
+
} catch (Z) {
|
61955
|
+
console.error("分发画面失败", Z), ze.message("error", "分发画面失败,请稍后重试");
|
61950
61956
|
}
|
61951
61957
|
}, Yr = async (R) => {
|
61952
61958
|
var N, W;
|
61953
61959
|
try {
|
61954
|
-
const
|
61960
|
+
const Z = {
|
61955
61961
|
display: " ",
|
61956
61962
|
// 清空display参数
|
61957
61963
|
org: n.org || "default",
|
61958
61964
|
room: o.value
|
61959
|
-
}, oe = await L2(
|
61965
|
+
}, oe = await L2(Z, {
|
61960
61966
|
baseUrl: n.meetingUrl,
|
61961
61967
|
token: n.token
|
61962
61968
|
});
|
61963
61969
|
((N = oe == null ? void 0 : oe.data) == null ? void 0 : N.code) === 0 || (oe == null ? void 0 : oe.status) === 200 ? (Fn.value = null, ze.message("success", "取消分发画面成功")) : ze.message("error", ((W = oe == null ? void 0 : oe.data) == null ? void 0 : W.msg) || "取消分发画面失败");
|
61964
|
-
} catch (
|
61965
|
-
console.error("取消分发画面失败",
|
61970
|
+
} catch (Z) {
|
61971
|
+
console.error("取消分发画面失败", Z), ze.message("error", "取消分发画面失败,请稍后重试");
|
61966
61972
|
}
|
61967
61973
|
};
|
61968
61974
|
function Bt(R) {
|
61969
61975
|
if (O.value = R, R === "grid")
|
61970
61976
|
vt(() => {
|
61971
61977
|
const N = document.querySelectorAll('[id^="participant-"]');
|
61972
|
-
console.log(`切换到宫格布局,设置观察器,参与者数量: ${N.length}`), N.forEach((W,
|
61978
|
+
console.log(`切换到宫格布局,设置观察器,参与者数量: ${N.length}`), N.forEach((W, Z) => {
|
61973
61979
|
const oe = W.getAttribute("data-identity");
|
61974
|
-
W.hasAttribute("data-observer-set") ? console.log(`参与者 ${oe} 已设置过观察器,跳过`) : (Nn(W), W.setAttribute("data-observer-set", "true"), console.log(`设置观察器 ${
|
61980
|
+
W.hasAttribute("data-observer-set") ? console.log(`参与者 ${oe} 已设置过观察器,跳过`) : (Nn(W), W.setAttribute("data-observer-set", "true"), console.log(`设置观察器 ${Z + 1}: ${oe}`));
|
61975
61981
|
}), setTimeout(() => {
|
61976
61982
|
G(), ae(), _e(), Xe();
|
61977
61983
|
}, 100);
|
@@ -61980,10 +61986,10 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
61980
61986
|
const N = document.querySelectorAll('[id^="participant-"]');
|
61981
61987
|
console.log(`切换到其他布局,停止观察,参与者数量: ${N.length}`), N.forEach((W) => {
|
61982
61988
|
vs(W), W.removeAttribute("data-observer-set");
|
61983
|
-
const
|
61984
|
-
if (oe &&
|
61985
|
-
const pe = d.value.find((Se) => Se.identity ===
|
61986
|
-
pe && pe.videoTrack && (pe.videoTrack.attach(oe), console.log(`恢复视频渲染: ${
|
61989
|
+
const Z = W.getAttribute("data-identity"), oe = W.querySelector("video");
|
61990
|
+
if (oe && Z) {
|
61991
|
+
const pe = d.value.find((Se) => Se.identity === Z);
|
61992
|
+
pe && pe.videoTrack && (pe.videoTrack.attach(oe), console.log(`恢复视频渲染: ${Z}`));
|
61987
61993
|
}
|
61988
61994
|
});
|
61989
61995
|
}
|
@@ -61994,14 +62000,14 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
61994
62000
|
N.style.position = "relative", N.querySelectorAll('[id^="participant-"]').forEach((oe) => {
|
61995
62001
|
oe.style.display = "none";
|
61996
62002
|
});
|
61997
|
-
const
|
61998
|
-
if (
|
61999
|
-
|
62000
|
-
const oe =
|
62003
|
+
const Z = document.getElementById(`participant-${R}`);
|
62004
|
+
if (Z) {
|
62005
|
+
Z.style.display = "block", Z.style.position = "absolute", Z.style.top = "0", Z.style.left = "0", Z.style.width = "100%", Z.style.height = "100%", Z.style.maxHeight = "none", Z.style.zIndex = "99", Z.style.margin = "0", Z.style.borderRadius = "0";
|
62006
|
+
const oe = Z.querySelector("video");
|
62001
62007
|
oe && (oe.style.width = "100%", oe.style.height = "100%", oe.style.objectFit = "cover", oe.style.borderRadius = "0");
|
62002
|
-
const pe =
|
62008
|
+
const pe = Z.querySelector("canvas");
|
62003
62009
|
pe && (pe.style.width = "100%", pe.style.height = "100%", pe.style.objectFit = "cover", pe.style.borderRadius = "0");
|
62004
|
-
const Se =
|
62010
|
+
const Se = Z.querySelector(".describe");
|
62005
62011
|
Se && (Se.style.position = "absolute", Se.style.bottom = "20px", Se.style.left = "20px", Se.style.right = "auto", Se.style.zIndex = "1000");
|
62006
62012
|
}
|
62007
62013
|
}
|
@@ -62010,8 +62016,8 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62010
62016
|
if (!R) return;
|
62011
62017
|
R.style.position = "", R.querySelectorAll('[id^="participant-"]').forEach((W) => {
|
62012
62018
|
W.style.display = "block", W.style.position = "", W.style.top = "", W.style.left = "", W.style.width = "", W.style.height = "", W.style.maxHeight = "", W.style.zIndex = "", W.style.margin = "", W.style.borderRadius = "";
|
62013
|
-
const
|
62014
|
-
|
62019
|
+
const Z = W.querySelector("video");
|
62020
|
+
Z && (Z.style.width = "", Z.style.height = "", Z.style.objectFit = "", Z.style.borderRadius = "");
|
62015
62021
|
const oe = W.querySelector("canvas");
|
62016
62022
|
oe && (oe.style.width = "", oe.style.height = "", oe.style.objectFit = "", oe.style.borderRadius = "");
|
62017
62023
|
const pe = W.querySelector(".describe");
|
@@ -62113,10 +62119,10 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62113
62119
|
return null;
|
62114
62120
|
}
|
62115
62121
|
const Va = (R) => {
|
62116
|
-
const W = window.innerHeight,
|
62122
|
+
const W = window.innerHeight, Z = R.clientY, oe = 10;
|
62117
62123
|
let pe;
|
62118
|
-
const Se = W -
|
62119
|
-
Se >= 268 + oe ? pe =
|
62124
|
+
const Se = W - Z, ke = Z;
|
62125
|
+
Se >= 268 + oe ? pe = Z + oe + "px" : ke >= 268 + oe ? pe = Z - 268 - oe + "px" : Se > ke ? pe = Math.max(10, W - 268 - 10) + "px" : pe = Math.min(Z - oe, 10) + "px", ce.value = {
|
62120
62126
|
left: X.value ? R.clientX - 120 + "px" : R.clientX - 400 + "px",
|
62121
62127
|
top: pe
|
62122
62128
|
}, Ge.value === R.identity && ht.value ? ht.value = !1 : (ht.value = !1, Ge.value = R.identity, ht.value = !0);
|
@@ -62124,28 +62130,28 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62124
62130
|
function Lu(R) {
|
62125
62131
|
var W;
|
62126
62132
|
ll(R.mobile), Rh(R.mobile);
|
62127
|
-
const N = u.value.map((
|
62133
|
+
const N = u.value.map((Z) => (Z == null ? void 0 : Z.classify) === "人员" ? {
|
62128
62134
|
roomName: o.value,
|
62129
62135
|
roomAlias: a.value,
|
62130
|
-
userId:
|
62131
|
-
userName:
|
62132
|
-
officeName:
|
62136
|
+
userId: Z.userId,
|
62137
|
+
userName: Z.userName,
|
62138
|
+
officeName: Z == null ? void 0 : Z.officeName,
|
62133
62139
|
metadata: JSON.stringify({
|
62134
|
-
classify:
|
62135
|
-
phone:
|
62140
|
+
classify: Z == null ? void 0 : Z.classify,
|
62141
|
+
phone: Z == null ? void 0 : Z.mobile
|
62136
62142
|
})
|
62137
62143
|
} : {
|
62138
62144
|
roomName: o.value,
|
62139
62145
|
roomAlias: a.value,
|
62140
|
-
userId:
|
62141
|
-
userName:
|
62142
|
-
officeName:
|
62146
|
+
userId: Z.userId,
|
62147
|
+
userName: Z.userName,
|
62148
|
+
officeName: Z == null ? void 0 : Z.officeName,
|
62143
62149
|
metadata: JSON.stringify({
|
62144
62150
|
phone: "",
|
62145
|
-
classify:
|
62146
|
-
equipmentCode:
|
62147
|
-
equipmentPassword:
|
62148
|
-
equipmentType:
|
62151
|
+
classify: Z == null ? void 0 : Z.classify,
|
62152
|
+
equipmentCode: Z == null ? void 0 : Z.mobile,
|
62153
|
+
equipmentPassword: Z == null ? void 0 : Z.equipmentPassword,
|
62154
|
+
equipmentType: Z == null ? void 0 : Z.equipmentType
|
62149
62155
|
})
|
62150
62156
|
});
|
62151
62157
|
n.joinType === "launch" && N.findIndex((oe) => oe.userId === n.userData.userId) < 0 && N.push({
|
@@ -62161,8 +62167,8 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62161
62167
|
}), pc(N, {
|
62162
62168
|
baseUrl: n.baseUrl,
|
62163
62169
|
token: n.token
|
62164
|
-
}).then((
|
62165
|
-
console.log("储存已邀请用户",
|
62170
|
+
}).then((Z) => {
|
62171
|
+
console.log("储存已邀请用户", Z);
|
62166
62172
|
});
|
62167
62173
|
}
|
62168
62174
|
const Xs = () => {
|
@@ -62170,15 +62176,15 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62170
62176
|
}, Ys = async () => {
|
62171
62177
|
try {
|
62172
62178
|
const { audioDevices: R, videoDevices: N, outputDevices: W } = await gv.getDeviceList();
|
62173
|
-
T.value = R.map((
|
62174
|
-
label:
|
62175
|
-
value:
|
62176
|
-
})), w.value = N.map((
|
62177
|
-
label:
|
62178
|
-
value:
|
62179
|
-
})), x.value = W.map((
|
62180
|
-
label:
|
62181
|
-
value:
|
62179
|
+
T.value = R.map((Z) => ({
|
62180
|
+
label: Z.label,
|
62181
|
+
value: Z.deviceId
|
62182
|
+
})), w.value = N.map((Z) => ({
|
62183
|
+
label: Z.label,
|
62184
|
+
value: Z.deviceId
|
62185
|
+
})), x.value = W.map((Z) => ({
|
62186
|
+
label: Z.label,
|
62187
|
+
value: Z.deviceId
|
62182
62188
|
}));
|
62183
62189
|
} catch {
|
62184
62190
|
ze.message("error", "获取设备列表失败");
|
@@ -62285,10 +62291,10 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62285
62291
|
const W = await F0(o.value, {
|
62286
62292
|
baseUrl: n.baseUrl,
|
62287
62293
|
token: n.token
|
62288
|
-
}),
|
62289
|
-
|
62294
|
+
}), Z = (N = W == null ? void 0 : W.data) == null ? void 0 : N.msg;
|
62295
|
+
Z && await Sf(
|
62290
62296
|
{
|
62291
|
-
dnis:
|
62297
|
+
dnis: Z,
|
62292
62298
|
mute: !0,
|
62293
62299
|
name: "重庆市卫健委",
|
62294
62300
|
org: "default",
|
@@ -62306,7 +62312,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62306
62312
|
}, Jr = async (R) => {
|
62307
62313
|
if (!R || R.length === 0)
|
62308
62314
|
return;
|
62309
|
-
const N = R.filter((pe) => pe.proxy), W = R.filter((pe) => !pe.proxy),
|
62315
|
+
const N = R.filter((pe) => pe.proxy), W = R.filter((pe) => !pe.proxy), Z = W.map((pe) => pe && pe.uri ? FD(o.value, [pe], {
|
62310
62316
|
baseUrl: n.baseUrl,
|
62311
62317
|
token: n.token
|
62312
62318
|
}) : Fe.makeCall(
|
@@ -62367,7 +62373,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62367
62373
|
};
|
62368
62374
|
try {
|
62369
62375
|
const [pe, Se] = await Promise.all([
|
62370
|
-
Promise.allSettled(
|
62376
|
+
Promise.allSettled(Z),
|
62371
62377
|
oe(N, 8)
|
62372
62378
|
// 同时处理8个带proxy的设备
|
62373
62379
|
]), ke = pe.filter(
|
@@ -62433,12 +62439,12 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62433
62439
|
if (N)
|
62434
62440
|
if ($.value === "pointTurn") {
|
62435
62441
|
if (!(R.identity === Be.value || R.identity === Te.value)) {
|
62436
|
-
const W = document.querySelector("#room .point-turn-top"),
|
62442
|
+
const W = document.querySelector("#room .point-turn-top"), Z = document.querySelector(
|
62437
62443
|
"#room .point-turn-bottom"
|
62438
62444
|
), oe = document.querySelector(
|
62439
62445
|
"#room .point-turn-other"
|
62440
62446
|
);
|
62441
|
-
if (!W || !
|
62447
|
+
if (!W || !Z || !oe)
|
62442
62448
|
return;
|
62443
62449
|
if (N.parentElement)
|
62444
62450
|
if (N.parentElement.className === "point-turn-top") {
|
@@ -62454,15 +62460,15 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62454
62460
|
), W.insertBefore(
|
62455
62461
|
N,
|
62456
62462
|
W.firstChild ?? null
|
62457
|
-
),
|
62463
|
+
), Z.insertBefore(
|
62458
62464
|
oe.firstChild,
|
62459
|
-
|
62465
|
+
Z.firstChild ?? null
|
62460
62466
|
)) : document.querySelectorAll(".point-turn-top .participant").length >= 5 && document.querySelectorAll(".point-turn-bottom .participant").length >= 5 && (oe.insertBefore(
|
62461
|
-
|
62467
|
+
Z.lastElementChild,
|
62462
62468
|
oe.firstChild ?? null
|
62463
|
-
),
|
62469
|
+
), Z.insertBefore(
|
62464
62470
|
W.lastElementChild,
|
62465
|
-
|
62471
|
+
Z.firstChild ?? null
|
62466
62472
|
), W.insertBefore(
|
62467
62473
|
N,
|
62468
62474
|
W.firstChild ?? null
|
@@ -62475,19 +62481,19 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62475
62481
|
return;
|
62476
62482
|
W.insertBefore(N, W.firstChild ?? null);
|
62477
62483
|
} else if (O.value === "rightSide") {
|
62478
|
-
const
|
62484
|
+
const Z = document.querySelector(
|
62479
62485
|
"#room .layout-rightside"
|
62480
62486
|
), oe = document.querySelector(
|
62481
62487
|
"#room .layout-leftside"
|
62482
62488
|
);
|
62483
|
-
if (!oe || !
|
62489
|
+
if (!oe || !Z)
|
62484
62490
|
return;
|
62485
62491
|
if (R.identity !== Te.value) {
|
62486
|
-
if (N.id === oe.firstElementChild.id || N.id ===
|
62492
|
+
if (N.id === oe.firstElementChild.id || N.id === Z.firstElementChild.id)
|
62487
62493
|
return;
|
62488
|
-
|
62494
|
+
Z.insertBefore(
|
62489
62495
|
N,
|
62490
|
-
|
62496
|
+
Z.firstElementChild ?? null
|
62491
62497
|
);
|
62492
62498
|
}
|
62493
62499
|
}
|
@@ -62542,8 +62548,8 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62542
62548
|
`, N;
|
62543
62549
|
}, ju = (R, N, W) => {
|
62544
62550
|
if ($.value === "pointTurn") {
|
62545
|
-
let
|
62546
|
-
if (
|
62551
|
+
let Z = document.querySelector("#room .point-turn-top"), oe = document.querySelector("#room .point-turn-center"), pe = document.querySelector("#room .point-turn-bottom"), Se = document.querySelector("#room .point-turn-other");
|
62552
|
+
if (Z || (Z = document.createElement("div"), Z.className = "point-turn-top", R.insertBefore(Z, R.firstChild ?? null)), oe || (oe = document.createElement("div"), oe.className = "point-turn-center", R.appendChild(oe)), pe || (pe = document.createElement("div"), pe.className = "point-turn-bottom", R.appendChild(pe)), Se || (Se = document.createElement("div"), Se.className = "point-turn-other", R.appendChild(Se)), Be.value === W.identity)
|
62547
62553
|
if (oe.hasChildNodes()) {
|
62548
62554
|
let ke = document.querySelectorAll(
|
62549
62555
|
".point-turn-center .participant"
|
@@ -62551,7 +62557,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62551
62557
|
ke.length > 0 ? ke.length === 1 ? oe.insertBefore(
|
62552
62558
|
N,
|
62553
62559
|
oe.firstChild ?? null
|
62554
|
-
) : ke[0].id ? (document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? Se.appendChild(ke[0]) : pe.appendChild(ke[0]) :
|
62560
|
+
) : ke[0].id ? (document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? Se.appendChild(ke[0]) : pe.appendChild(ke[0]) : Z.appendChild(ke[0]), oe.insertBefore(
|
62555
62561
|
N,
|
62556
62562
|
oe.firstChild ?? null
|
62557
62563
|
)) : (oe.removeChild(ke[0]), oe.insertBefore(
|
@@ -62568,24 +62574,24 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62568
62574
|
let ke = document.querySelectorAll(
|
62569
62575
|
".point-turn-center .participant"
|
62570
62576
|
);
|
62571
|
-
ke.length > 0 ? ke.length === 1 ? oe.appendChild(N) : ke[1].id ? (document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? Se.appendChild(ke[1]) : pe.appendChild(ke[1]) :
|
62577
|
+
ke.length > 0 ? ke.length === 1 ? oe.appendChild(N) : ke[1].id ? (document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? Se.appendChild(ke[1]) : pe.appendChild(ke[1]) : Z.appendChild(ke[1]), oe.appendChild(N)) : (oe.removeChild(ke[1]), oe.appendChild(N)) : oe.appendChild(N);
|
62572
62578
|
} else
|
62573
62579
|
oe.appendChild(N);
|
62574
62580
|
else
|
62575
|
-
document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? Se.appendChild(N) : pe.appendChild(N) :
|
62581
|
+
document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? Se.appendChild(N) : pe.appendChild(N) : Z.appendChild(N);
|
62576
62582
|
} else if (O.value === "grid")
|
62577
62583
|
W.isLocal ? R.insertBefore(N, R.firstChild ?? null) : R.appendChild(N);
|
62578
62584
|
else if (O.value === "rightSide") {
|
62579
|
-
let
|
62585
|
+
let Z = document.querySelector(
|
62580
62586
|
"#room .layout-rightside"
|
62581
62587
|
), oe = document.querySelector("#room .layout-leftside");
|
62582
|
-
oe || (oe = document.createElement("div"), oe.className = "layout-leftside", R.insertBefore(oe, R.firstChild ?? null)),
|
62588
|
+
oe || (oe = document.createElement("div"), oe.className = "layout-leftside", R.insertBefore(oe, R.firstChild ?? null)), Z || (Z = document.createElement("div"), Z.className = "layout-rightside", R.appendChild(Z)), Te.value && Te.value === W.identity ? oe.hasChildNodes() && (Z.insertBefore(
|
62583
62589
|
oe.firstChild,
|
62584
|
-
|
62585
|
-
), oe.appendChild(N)) : W.isLocal ? (oe.hasChildNodes() &&
|
62590
|
+
Z.firstChild ?? null
|
62591
|
+
), oe.appendChild(N)) : W.isLocal ? (oe.hasChildNodes() && Z.insertBefore(
|
62586
62592
|
oe.firstChild,
|
62587
|
-
|
62588
|
-
), oe.appendChild(N)) :
|
62593
|
+
Z.firstChild ?? null
|
62594
|
+
), oe.appendChild(N)) : Z.appendChild(N);
|
62589
62595
|
}
|
62590
62596
|
return R;
|
62591
62597
|
}, Ts = (R) => {
|
@@ -62617,7 +62623,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62617
62623
|
console.log("静音监控"), At.mobile == R.identity && At.type == "监控/监控1" && Fe.changeParticipantMicrophoneStatus(R.identity, !0);
|
62618
62624
|
});
|
62619
62625
|
}
|
62620
|
-
let
|
62626
|
+
let Z = document.getElementById(`video-${R.identity}`), oe = document.getElementById(`board-${R.identity}`), pe = document.getElementById(`microphone-${R.identity}`), Se = document.getElementById(`signal-${R.identity}`), ke = document.getElementById(`more-${R.identity}`);
|
62621
62627
|
const be = async () => {
|
62622
62628
|
Fe.changeParticipantMicrophoneStatus(R.identity, !0);
|
62623
62629
|
try {
|
@@ -62681,7 +62687,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62681
62687
|
bn && (W && W.removeChild(bn), bn = null);
|
62682
62688
|
}
|
62683
62689
|
if (R.remove) {
|
62684
|
-
if (
|
62690
|
+
if (Z && (Z.srcObject = null, Z.src = "", Z.remove()), W && W.remove(), Fa(R.identity), ol(), $.value === "pointTurn")
|
62685
62691
|
if (R.identity === Be.value) {
|
62686
62692
|
const At = document.querySelector(
|
62687
62693
|
"#room .point-turn-center"
|
@@ -62730,7 +62736,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62730
62736
|
Mi(), R.videoTrack && (O.value === "grid" ? (console.log(`参与者 ${R.identity} 在宫格布局中,延迟设置交叉观察器`), setTimeout(() => {
|
62731
62737
|
const At = document.getElementById(`participant-${R.identity}`);
|
62732
62738
|
At && !At.hasAttribute("data-observer-set") && (Nn(At), At.setAttribute("data-observer-set", "true"), console.log(`延迟为参与者 ${R.identity} 设置交叉观察器`));
|
62733
|
-
},
|
62739
|
+
}, 200)) : R.videoTrack.attach(Z)), R.isLocal || R.audioTrack && R.audioTrack.attach(Z);
|
62734
62740
|
let ei = document.getElementById(R.identity);
|
62735
62741
|
ei && (ei.innerHTML = R.isLocal ? R.name + "(我)" : R.name);
|
62736
62742
|
const gl = d.value.findIndex((At) => At.identity === R.identity);
|
@@ -62757,7 +62763,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62757
62763
|
}), Fe.on("joinRoomError", (R) => {
|
62758
62764
|
an("joinRoomError"), console.error("加入房间失败", R), Ae.value = !1, ze.message("error", "加入房间失败");
|
62759
62765
|
}), Fe.on("roomConnected", async (R) => {
|
62760
|
-
var N, W,
|
62766
|
+
var N, W, Z, oe;
|
62761
62767
|
if (an("roomConnected"), Fe.room) {
|
62762
62768
|
const pe = JSON.parse(Fe.room.metadata);
|
62763
62769
|
console.log("metadata222:", pe, pe.owner), a.value = pe.roomAlias, l.value = pe.creator ?? "暂无", v.value = pe.owner, pe.display && pe.display.trim() !== "" && !vi(g.value) && (Fn.value = pe.display, console.log("检测到分发画面设置:", pe.display), Ws(pe.display));
|
@@ -62773,7 +62779,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62773
62779
|
baseUrl: n.baseUrl,
|
62774
62780
|
token: n.token
|
62775
62781
|
});
|
62776
|
-
((W = pe == null ? void 0 : pe.data) == null ? void 0 : W.code) === 0 && Array.isArray((
|
62782
|
+
((W = pe == null ? void 0 : pe.data) == null ? void 0 : W.code) === 0 && Array.isArray((Z = pe == null ? void 0 : pe.data) == null ? void 0 : Z.data) && u.value.push(...pe.data.data);
|
62777
62783
|
} catch (pe) {
|
62778
62784
|
console.error("queryConfSitesStatus error", pe);
|
62779
62785
|
}
|
@@ -62878,19 +62884,19 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62878
62884
|
`participant-${Be.value}`
|
62879
62885
|
);
|
62880
62886
|
if ($.value === "pointTurn") {
|
62881
|
-
const
|
62887
|
+
const Z = document.querySelector("#room .point-turn-top"), oe = document.querySelector(
|
62882
62888
|
"#room .point-turn-center"
|
62883
62889
|
), pe = document.querySelector(
|
62884
62890
|
"#room .point-turn-bottom"
|
62885
62891
|
), Se = document.querySelector(
|
62886
62892
|
"#room .point-turn-other"
|
62887
62893
|
);
|
62888
|
-
let ke =
|
62894
|
+
let ke = Z.children.length, be = pe.children.length, lt = Se.children.length;
|
62889
62895
|
if (oe.hasChildNodes()) {
|
62890
62896
|
let at = oe.children;
|
62891
62897
|
if (console.log("childNodes", at), Be.value === Te.value)
|
62892
62898
|
if (at[0].id) {
|
62893
|
-
document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? Se.appendChild(at[0]) : pe.appendChild(at[0]) :
|
62899
|
+
document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? Se.appendChild(at[0]) : pe.appendChild(at[0]) : Z.appendChild(at[0]), oe.insertBefore(
|
62894
62900
|
W,
|
62895
62901
|
oe.firstElementChild ?? null
|
62896
62902
|
);
|
@@ -62902,7 +62908,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62902
62908
|
oe.firstElementChild ?? null
|
62903
62909
|
);
|
62904
62910
|
else
|
62905
|
-
at[0].id ? (document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? Se.appendChild(at[0]) : pe.appendChild(at[0]) :
|
62911
|
+
at[0].id ? (document.querySelectorAll(".point-turn-top .participant").length >= 5 ? document.querySelectorAll(".point-turn-bottom .participant").length >= 5 ? Se.appendChild(at[0]) : pe.appendChild(at[0]) : Z.appendChild(at[0]), oe.insertBefore(
|
62906
62912
|
W,
|
62907
62913
|
oe.firstElementChild ?? null
|
62908
62914
|
)) : (oe.removeChild(at[0]), oe.insertBefore(
|
@@ -62917,7 +62923,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62917
62923
|
let at = document.createElement("div");
|
62918
62924
|
at.className = "participant", at.innerHTML = oa, oe.appendChild(at);
|
62919
62925
|
}
|
62920
|
-
ke < 5 ? be > 0 ?
|
62926
|
+
ke < 5 ? be > 0 ? Z.appendChild(pe.firstElementChild) : lt > 0 && Z.appendChild(Se.firstChild) : be < 5 && lt > 0 && pe.appendChild(Se.firstChild);
|
62921
62927
|
}
|
62922
62928
|
}
|
62923
62929
|
}), Fe.on("roomMetadataChanged", (R) => {
|
@@ -62955,20 +62961,20 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
62955
62961
|
}), Fe.on("activeSpeakerChange", (R) => {
|
62956
62962
|
if (an("activeSpeakerChange"), R.length > 0) {
|
62957
62963
|
let N = 0, W = -1;
|
62958
|
-
if (R.forEach((
|
62959
|
-
|
62964
|
+
if (R.forEach((Z, oe) => {
|
62965
|
+
Z.audioLevel > N && (N = Z.audioLevel, W = oe);
|
62960
62966
|
}), W >= 0) {
|
62961
|
-
const
|
62962
|
-
bs(
|
62967
|
+
const Z = R[W];
|
62968
|
+
bs(Z);
|
62963
62969
|
try {
|
62964
62970
|
const {
|
62965
62971
|
setVoiceActivatedIdentity: oe
|
62966
62972
|
} = require("../utils/autoPolling.js");
|
62967
|
-
typeof oe == "function" && oe(
|
62973
|
+
typeof oe == "function" && oe(Z.identity);
|
62968
62974
|
} catch {
|
62969
62975
|
}
|
62970
62976
|
try {
|
62971
|
-
Ct.emit("voiceActivated",
|
62977
|
+
Ct.emit("voiceActivated", Z);
|
62972
62978
|
} catch (oe) {
|
62973
62979
|
console.warn("emit voiceActivated failed", oe);
|
62974
62980
|
}
|
@@ -63013,7 +63019,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63013
63019
|
const W = await ks(
|
63014
63020
|
R[N].userName,
|
63015
63021
|
R[N].mobile
|
63016
|
-
),
|
63022
|
+
), Z = await _f(
|
63017
63023
|
[
|
63018
63024
|
{
|
63019
63025
|
roomName: a.value,
|
@@ -63027,7 +63033,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63027
63033
|
token: n.token
|
63028
63034
|
}
|
63029
63035
|
);
|
63030
|
-
console.log("成功发送短信链接与语音播报", W,
|
63036
|
+
console.log("成功发送短信链接与语音播报", W, Z);
|
63031
63037
|
} catch (W) {
|
63032
63038
|
console.error("发送语音播报失败", W);
|
63033
63039
|
}
|
@@ -63069,10 +63075,10 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63069
63075
|
u.value.forEach((ke) => {
|
63070
63076
|
rn.value > 0 ? (W = c.value.findIndex((be) => be.mobile === ke.mobile), W < 0 && N.push(ke)) : N.push(ke);
|
63071
63077
|
}), console.log("本次追加邀请人员", N);
|
63072
|
-
const
|
63078
|
+
const Z = N.filter((ke) => (ke == null ? void 0 : ke.classify) === "人员"), oe = N.filter((ke) => ke && ke.uri), pe = N.filter(
|
63073
63079
|
(ke) => (ke == null ? void 0 : ke.classify) !== "人员" && !(ke != null && ke.uri)
|
63074
63080
|
);
|
63075
|
-
if (
|
63081
|
+
if (Z.length > 0 && Wa(Z), Jr(pe), oe.length > 0 && await $a(oe), Ln.value > 0) {
|
63076
63082
|
const be = u.value.filter((lt) => !(lt != null && lt.uri)).map((lt) => (lt == null ? void 0 : lt.classify) === "人员" ? {
|
63077
63083
|
roomName: o.value,
|
63078
63084
|
roomAlias: a.value,
|
@@ -63253,29 +63259,29 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63253
63259
|
return;
|
63254
63260
|
}
|
63255
63261
|
Te.value = R, await vt();
|
63256
|
-
const W = document.querySelector("#room .point-turn-center"),
|
63262
|
+
const W = document.querySelector("#room .point-turn-center"), Z = document.getElementById(
|
63257
63263
|
`participant-${Te.value}`
|
63258
63264
|
);
|
63259
63265
|
let oe = null;
|
63260
|
-
if (
|
63266
|
+
if (Z && (oe = Z.parentElement, console.log(
|
63261
63267
|
"焦点元素的父元素",
|
63262
63268
|
oe,
|
63263
63269
|
oe.className
|
63264
63270
|
), W)) {
|
63265
63271
|
if (W.children.length < 2) {
|
63266
|
-
if (W.appendChild(
|
63272
|
+
if (W.appendChild(Z), oe && oe.className !== "point-turn-other") {
|
63267
63273
|
const pe = document.querySelector(
|
63268
63274
|
"#room .point-turn-other"
|
63269
63275
|
);
|
63270
63276
|
pe && pe.children.length > 0 && oe.appendChild(pe.firstChild);
|
63271
63277
|
}
|
63272
63278
|
} else if (W.lastChild.id)
|
63273
|
-
oe && (oe.appendChild(W.lastChild), W.appendChild(
|
63274
|
-
else if (W.removeChild(W.lastChild), W.appendChild(
|
63279
|
+
oe && (oe.appendChild(W.lastChild), W.appendChild(Z));
|
63280
|
+
else if (W.removeChild(W.lastChild), W.appendChild(Z), oe && oe.className !== "point-turn-other") {
|
63275
63281
|
const pe = document.querySelector(
|
63276
63282
|
"#room .point-turn-other"
|
63277
63283
|
);
|
63278
|
-
pe && pe.children.length > 0 && oe.appendChild(
|
63284
|
+
pe && pe.children.length > 0 && oe.appendChild(Z);
|
63279
63285
|
}
|
63280
63286
|
}
|
63281
63287
|
} else if (O.value === "rightSide") {
|
@@ -63286,18 +63292,18 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63286
63292
|
Te.value = R;
|
63287
63293
|
const W = document.querySelector(
|
63288
63294
|
"#room .layout-rightside"
|
63289
|
-
),
|
63295
|
+
), Z = document.querySelector(
|
63290
63296
|
"#room .layout-leftside"
|
63291
63297
|
), oe = document.getElementById(
|
63292
63298
|
`participant-${Te.value}`
|
63293
63299
|
);
|
63294
|
-
if (oe &&
|
63300
|
+
if (oe && Z) {
|
63295
63301
|
let pe = null;
|
63296
|
-
for (; pe =
|
63302
|
+
for (; pe = Z.firstChild; )
|
63297
63303
|
pe && W && W.appendChild(pe);
|
63298
|
-
|
63304
|
+
Z.insertBefore(
|
63299
63305
|
oe,
|
63300
|
-
|
63306
|
+
Z.firstChild ?? null
|
63301
63307
|
);
|
63302
63308
|
}
|
63303
63309
|
} else O.value === "grid" && (Te.value && Te.value === R ? ze.message("info", "当前与会者已被设置为焦点") : Te.value = R, Ts("rightSide"));
|
@@ -63309,10 +63315,10 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63309
63315
|
if (R) {
|
63310
63316
|
const N = document.querySelector("#room .point-turn-top"), W = document.querySelector(
|
63311
63317
|
"#room .point-turn-center"
|
63312
|
-
),
|
63318
|
+
), Z = document.querySelector(
|
63313
63319
|
"#room .point-turn-bottom"
|
63314
63320
|
), oe = document.querySelector("#room .point-turn-other");
|
63315
|
-
N.children.length >= 5 ?
|
63321
|
+
N.children.length >= 5 ? Z.children.length >= 5 ? oe.appendChild(R) : Z.appendChild(R) : N.appendChild(R);
|
63316
63322
|
const pe = document.createElement("div");
|
63317
63323
|
pe.className = "participant", pe.innerHTML = oa, W.appendChild(pe);
|
63318
63324
|
}
|
@@ -63321,16 +63327,16 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63321
63327
|
"#room .layout-rightside"
|
63322
63328
|
), W = document.querySelector("#room .layout-leftside");
|
63323
63329
|
if (R) {
|
63324
|
-
let
|
63325
|
-
for (;
|
63326
|
-
|
63330
|
+
let Z = null;
|
63331
|
+
for (; Z = W.firstChild; )
|
63332
|
+
Z && N && N.appendChild(Z);
|
63327
63333
|
}
|
63328
63334
|
if (Be.value) {
|
63329
|
-
const
|
63335
|
+
const Z = document.getElementById(
|
63330
63336
|
`participant-${Be.value}`
|
63331
63337
|
);
|
63332
|
-
|
63333
|
-
|
63338
|
+
Z && W && W.insertBefore(
|
63339
|
+
Z,
|
63334
63340
|
W.firstChild ?? null
|
63335
63341
|
);
|
63336
63342
|
}
|
@@ -63359,8 +63365,8 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63359
63365
|
try {
|
63360
63366
|
const N = cl(R);
|
63361
63367
|
if (N && (N.uri || N.metadata && /"equipmentCode"|"equipmentType"/i.test(N.metadata)) && o.value) {
|
63362
|
-
const
|
63363
|
-
await UD(o.value,
|
63368
|
+
const Z = N.uri ? { uri: N.uri } : {};
|
63369
|
+
await UD(o.value, Z, {
|
63364
63370
|
baseUrl: n.baseUrl,
|
63365
63371
|
token: n.token
|
63366
63372
|
});
|
@@ -63434,7 +63440,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63434
63440
|
}
|
63435
63441
|
};
|
63436
63442
|
function ks(R, N) {
|
63437
|
-
return new Promise((W,
|
63443
|
+
return new Promise((W, Z) => {
|
63438
63444
|
ND(
|
63439
63445
|
{
|
63440
63446
|
path: n.miniPagePath,
|
@@ -63454,7 +63460,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63454
63460
|
messageTemplate: Se
|
63455
63461
|
});
|
63456
63462
|
} else
|
63457
|
-
|
63463
|
+
Z(oe.data.msg);
|
63458
63464
|
});
|
63459
63465
|
});
|
63460
63466
|
}
|
@@ -63462,7 +63468,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63462
63468
|
return new Promise((N) => setTimeout(N, R));
|
63463
63469
|
}
|
63464
63470
|
function eo(R) {
|
63465
|
-
var
|
63471
|
+
var Z;
|
63466
63472
|
let N = [], W = -1;
|
63467
63473
|
if (R && R.length > 0) {
|
63468
63474
|
R.forEach((Se) => {
|
@@ -63499,7 +63505,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63499
63505
|
roomAlias: a.value,
|
63500
63506
|
userId: n.userData.userId,
|
63501
63507
|
userName: n.userData.username,
|
63502
|
-
officeName: (
|
63508
|
+
officeName: (Z = n.userData) == null ? void 0 : Z.officeName,
|
63503
63509
|
metadata: JSON.stringify({
|
63504
63510
|
classify: "人员",
|
63505
63511
|
phone: n.userData.mobile
|
@@ -63541,8 +63547,8 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63541
63547
|
console.error("发送语音播报失败", N);
|
63542
63548
|
}
|
63543
63549
|
}, Zu = (R) => {
|
63544
|
-
const N = R.getFullYear(), W = String(R.getMonth() + 1).padStart(2, "0"),
|
63545
|
-
return `${N}-${W}-${
|
63550
|
+
const N = R.getFullYear(), W = String(R.getMonth() + 1).padStart(2, "0"), Z = String(R.getDate()).padStart(2, "0"), oe = String(R.getHours()).padStart(2, "0"), pe = String(R.getMinutes()).padStart(2, "0"), Se = String(R.getSeconds()).padStart(2, "0");
|
63551
|
+
return `${N}-${W}-${Z} ${oe}:${pe}:${Se}`;
|
63546
63552
|
};
|
63547
63553
|
bt(
|
63548
63554
|
() => et.value,
|
@@ -63561,12 +63567,12 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63561
63567
|
let W = document.getElementById("room");
|
63562
63568
|
if (W) {
|
63563
63569
|
if (N === "grid" && R === "rightSide") {
|
63564
|
-
let
|
63570
|
+
let Z = document.querySelector(
|
63565
63571
|
"#room .layout-rightside"
|
63566
63572
|
), oe = document.querySelector(
|
63567
63573
|
"#room .layout-leftside"
|
63568
63574
|
);
|
63569
|
-
if (oe || (oe = document.createElement("div"), oe.className = "layout-leftside"),
|
63575
|
+
if (oe || (oe = document.createElement("div"), oe.className = "layout-leftside"), Z || (Z = document.createElement("div"), Z.className = "layout-rightside"), Te.value) {
|
63570
63576
|
let pe = cl(Te.value);
|
63571
63577
|
if (pe) {
|
63572
63578
|
const Se = document.getElementById(
|
@@ -63576,12 +63582,12 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63576
63582
|
if (oe.hasChildNodes()) {
|
63577
63583
|
let ke;
|
63578
63584
|
for (; ke = oe.firstChild; )
|
63579
|
-
ke &&
|
63585
|
+
ke && Z.appendChild(ke);
|
63580
63586
|
}
|
63581
63587
|
if (oe.appendChild(Se), W.hasChildNodes()) {
|
63582
63588
|
let ke;
|
63583
63589
|
for (; ke = W.firstElementChild; )
|
63584
|
-
ke &&
|
63590
|
+
ke && Z.appendChild(ke);
|
63585
63591
|
}
|
63586
63592
|
}
|
63587
63593
|
} else if (pe = Ks(), pe) {
|
@@ -63592,12 +63598,12 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63592
63598
|
if (oe.hasChildNodes()) {
|
63593
63599
|
let ke;
|
63594
63600
|
for (; ke = oe.firstChild; )
|
63595
|
-
ke &&
|
63601
|
+
ke && Z.appendChild(ke);
|
63596
63602
|
}
|
63597
63603
|
if (oe.appendChild(Se), W.hasChildNodes()) {
|
63598
63604
|
let ke;
|
63599
63605
|
for (; ke = W.firstElementChild; )
|
63600
|
-
ke &&
|
63606
|
+
ke && Z.appendChild(ke);
|
63601
63607
|
}
|
63602
63608
|
}
|
63603
63609
|
}
|
@@ -63611,12 +63617,12 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63611
63617
|
if (oe.hasChildNodes()) {
|
63612
63618
|
let ke;
|
63613
63619
|
for (; ke = oe.firstChild; )
|
63614
|
-
ke &&
|
63620
|
+
ke && Z.appendChild(ke);
|
63615
63621
|
}
|
63616
63622
|
if (oe.appendChild(Se), W.hasChildNodes()) {
|
63617
63623
|
let ke;
|
63618
63624
|
for (; ke = W.firstChild; )
|
63619
|
-
ke &&
|
63625
|
+
ke && Z.appendChild(ke);
|
63620
63626
|
}
|
63621
63627
|
}
|
63622
63628
|
}
|
@@ -63624,23 +63630,23 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63624
63630
|
W.insertBefore(
|
63625
63631
|
oe,
|
63626
63632
|
W.firstChild ?? null
|
63627
|
-
), W.appendChild(
|
63633
|
+
), W.appendChild(Z);
|
63628
63634
|
}
|
63629
63635
|
if (N === "rightSide" && R === "grid") {
|
63630
|
-
let
|
63636
|
+
let Z = document.querySelector(
|
63631
63637
|
"#room .layout-rightside"
|
63632
63638
|
), oe = document.querySelector(
|
63633
63639
|
"#room .layout-leftside"
|
63634
63640
|
);
|
63635
|
-
console.log("layoutSideEle",
|
63641
|
+
console.log("layoutSideEle", Z, oe);
|
63636
63642
|
const pe = document.createDocumentFragment();
|
63637
|
-
if (
|
63638
|
-
if (
|
63643
|
+
if (Z) {
|
63644
|
+
if (Z.hasChildNodes()) {
|
63639
63645
|
let Se;
|
63640
|
-
for (; Se =
|
63646
|
+
for (; Se = Z.firstChild; )
|
63641
63647
|
pe.appendChild(Se);
|
63642
63648
|
}
|
63643
|
-
W.removeChild(
|
63649
|
+
W.removeChild(Z);
|
63644
63650
|
}
|
63645
63651
|
if (oe) {
|
63646
63652
|
if (oe.hasChildNodes()) {
|
@@ -63664,20 +63670,20 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63664
63670
|
if (R === "pointTurn") {
|
63665
63671
|
let W = document.createElement("div");
|
63666
63672
|
W.className = "point-turn-top";
|
63667
|
-
let
|
63668
|
-
|
63673
|
+
let Z = document.createElement("div");
|
63674
|
+
Z.className = "point-turn-center";
|
63669
63675
|
let oe = document.createElement("div");
|
63670
63676
|
oe.className = "point-turn-bottom";
|
63671
63677
|
let pe = document.createElement("div");
|
63672
63678
|
pe.className = "point-turn-other";
|
63673
63679
|
let Se = document.createElement("div"), ke = document.createElement("div");
|
63674
|
-
if (Se.className = "participant", Se.innerHTML = oa, ke.className = "participant", ke.innerHTML = oa,
|
63680
|
+
if (Se.className = "participant", Se.innerHTML = oa, ke.className = "participant", ke.innerHTML = oa, Z.appendChild(Se), Z.appendChild(ke), O.value === "grid") {
|
63675
63681
|
let be = null;
|
63676
63682
|
for (; be = N.firstChild; )
|
63677
|
-
be && (Be.value && be.id === `participant-${Be.value}` && (
|
63683
|
+
be && (Be.value && be.id === `participant-${Be.value}` && (Z.removeChild(Se), Z.insertBefore(
|
63678
63684
|
be,
|
63679
|
-
|
63680
|
-
)), Te.value && be.id === `participant-${Te.value}` && (Te.value === Be.value || (
|
63685
|
+
Z.firstChild ?? null
|
63686
|
+
)), Te.value && be.id === `participant-${Te.value}` && (Te.value === Be.value || (Z.removeChild(ke), Z.appendChild(be))), (!Be.value && !Te.value || !(be.id === `participant-${Be.value}` || be.id === `participant-${Te.value}`)) && (W.children.length >= 5 ? oe.children.length >= 5 ? pe.appendChild(be) : oe.appendChild(be) : W.appendChild(be)));
|
63681
63687
|
}
|
63682
63688
|
if (O.value === "rightSide") {
|
63683
63689
|
let be = document.querySelector(
|
@@ -63688,25 +63694,25 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63688
63694
|
if (lt) {
|
63689
63695
|
let at = null;
|
63690
63696
|
for (; at = lt.firstChild; )
|
63691
|
-
at && (Be.value && at.id === `participant-${Be.value}` && (
|
63697
|
+
at && (Be.value && at.id === `participant-${Be.value}` && (Z.removeChild(Se), Z.insertBefore(
|
63692
63698
|
at,
|
63693
|
-
|
63694
|
-
)), Te.value && at.id === `participant-${Te.value}` && (Te.value === Be.value || (
|
63699
|
+
Z.firstChild ?? null
|
63700
|
+
)), Te.value && at.id === `participant-${Te.value}` && (Te.value === Be.value || (Z.removeChild(ke), Z.appendChild(at))), (!Be.value && !Te.value || !(at.id === `participant-${Be.value}` || at.id === `participant-${Te.value}`)) && (W.children.length >= 5 ? oe.children.length >= 5 ? pe.appendChild(at) : oe.appendChild(at) : W.appendChild(at)));
|
63695
63701
|
N.removeChild(lt);
|
63696
63702
|
}
|
63697
63703
|
if (be) {
|
63698
63704
|
let at = null;
|
63699
63705
|
for (; at = be.firstChild; )
|
63700
|
-
at && (Be.value && at.id === `participant-${Be.value}` && (
|
63706
|
+
at && (Be.value && at.id === `participant-${Be.value}` && (Z.removeChild(Se), Z.insertBefore(
|
63701
63707
|
at,
|
63702
|
-
|
63703
|
-
)), Te.value && at.id === `participant-${Te.value}` && (Te.value === Be.value || (
|
63708
|
+
Z.firstChild ?? null
|
63709
|
+
)), Te.value && at.id === `participant-${Te.value}` && (Te.value === Be.value || (Z.removeChild(ke), Z.appendChild(at))), (!Be.value && !Te.value || !(at.id === `participant-${Be.value}` || at.id === `participant-${Te.value}`)) && (W.children.length >= 5 ? oe.children.length >= 5 ? pe.appendChild(at) : oe.appendChild(at) : W.appendChild(at)));
|
63704
63710
|
N.removeChild(be);
|
63705
63711
|
}
|
63706
63712
|
}
|
63707
|
-
N.insertBefore(W, N.firstChild ?? null), N.appendChild(
|
63713
|
+
N.insertBefore(W, N.firstChild ?? null), N.appendChild(Z), N.appendChild(oe), N.appendChild(pe);
|
63708
63714
|
} else {
|
63709
|
-
let W = document.querySelector("#room .point-turn-top"),
|
63715
|
+
let W = document.querySelector("#room .point-turn-top"), Z = document.querySelector("#room .point-turn-center"), oe = document.querySelector("#room .point-turn-bottom"), pe = document.querySelector("#room .point-turn-other");
|
63710
63716
|
if (console.log("currentLayout", O.value), O.value === "grid") {
|
63711
63717
|
if (W) {
|
63712
63718
|
if (W.children.length > 0) {
|
@@ -63716,13 +63722,13 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63716
63722
|
}
|
63717
63723
|
N.removeChild(W);
|
63718
63724
|
}
|
63719
|
-
if (
|
63720
|
-
if (
|
63725
|
+
if (Z) {
|
63726
|
+
if (Z.children.length > 0) {
|
63721
63727
|
let Se = null;
|
63722
|
-
for (; Se =
|
63728
|
+
for (; Se = Z.firstChild; )
|
63723
63729
|
Se && (Se.id ? N.appendChild(Se) : Se.remove());
|
63724
63730
|
}
|
63725
|
-
N.removeChild(
|
63731
|
+
N.removeChild(Z);
|
63726
63732
|
}
|
63727
63733
|
if (oe) {
|
63728
63734
|
if (oe.children.length > 0) {
|
@@ -63753,13 +63759,13 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63753
63759
|
}
|
63754
63760
|
N.removeChild(W);
|
63755
63761
|
}
|
63756
|
-
if (
|
63757
|
-
if (
|
63762
|
+
if (Z) {
|
63763
|
+
if (Z.children.length > 0) {
|
63758
63764
|
let be = null;
|
63759
|
-
for (; be =
|
63765
|
+
for (; be = Z.firstChild; )
|
63760
63766
|
be && (be.id ? Te.value && be.id === `participant-${Te.value}` ? Se.appendChild(be) : ke.appendChild(be) : be.remove());
|
63761
63767
|
}
|
63762
|
-
N.removeChild(
|
63768
|
+
N.removeChild(Z);
|
63763
63769
|
}
|
63764
63770
|
if (oe) {
|
63765
63771
|
if (oe.children.length > 0) {
|
@@ -63783,8 +63789,8 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63783
63789
|
try {
|
63784
63790
|
const W = localStorage.getItem("hx_device_setter_settings");
|
63785
63791
|
if (W) {
|
63786
|
-
const
|
63787
|
-
|
63792
|
+
const Z = JSON.parse(W);
|
63793
|
+
Z && typeof Z.isAutoPolling == "boolean" && _c(Z.isAutoPolling);
|
63788
63794
|
}
|
63789
63795
|
} catch (W) {
|
63790
63796
|
console.warn("读取本地轮询开关失败", W);
|
@@ -63792,7 +63798,9 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63792
63798
|
Rl();
|
63793
63799
|
}
|
63794
63800
|
), ln(async () => {
|
63795
|
-
await Ys(), Gh(),
|
63801
|
+
await Ys(), Gh(), setTimeout(() => {
|
63802
|
+
F();
|
63803
|
+
}, 300);
|
63796
63804
|
let R = null;
|
63797
63805
|
try {
|
63798
63806
|
const N = localStorage.getItem("hx_device_setter_settings");
|
@@ -63818,8 +63826,8 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63818
63826
|
if (W && typeof W.isAutoPolling == "boolean")
|
63819
63827
|
try {
|
63820
63828
|
_c(W.isAutoPolling);
|
63821
|
-
} catch (
|
63822
|
-
console.warn("同步本地轮询开关到 manager 失败",
|
63829
|
+
} catch (Z) {
|
63830
|
+
console.warn("同步本地轮询开关到 manager 失败", Z);
|
63823
63831
|
}
|
63824
63832
|
}
|
63825
63833
|
} catch (N) {
|
@@ -63836,15 +63844,15 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63836
63844
|
N && Array.isArray(N.participants) && O.value === "rightSide" && zi(N.participants);
|
63837
63845
|
}), Ct.on("pointTurnPolling", (N) => {
|
63838
63846
|
if (!N || !Array.isArray(N.participants) || $.value !== "pointTurn") return;
|
63839
|
-
const W = document.querySelector("#room .point-turn-top"),
|
63840
|
-
if (!W || !
|
63847
|
+
const W = document.querySelector("#room .point-turn-top"), Z = document.querySelector("#room .point-turn-bottom"), oe = document.querySelector("#room .point-turn-center");
|
63848
|
+
if (!W || !Z || !oe) return;
|
63841
63849
|
const pe = N.participants.filter((at) => !!(at && at.identity)), Se = 5, ke = 5, be = pe.slice(0, Se), lt = pe.slice(Se, Se + ke);
|
63842
63850
|
be.forEach((at) => {
|
63843
63851
|
const Nt = document.getElementById(`participant-${at.identity}`);
|
63844
63852
|
Nt && Nt !== oe.firstChild && Nt !== oe.lastChild && W.appendChild(Nt);
|
63845
63853
|
}), lt.forEach((at) => {
|
63846
63854
|
const Nt = document.getElementById(`participant-${at.identity}`);
|
63847
|
-
Nt && Nt !== oe.firstChild && Nt !== oe.lastChild &&
|
63855
|
+
Nt && Nt !== oe.firstChild && Nt !== oe.lastChild && Z.appendChild(Nt);
|
63848
63856
|
});
|
63849
63857
|
}), Rl();
|
63850
63858
|
}), yr(() => {
|
@@ -63911,7 +63919,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
63911
63919
|
key: 0,
|
63912
63920
|
currentLayout: O.value,
|
63913
63921
|
layoutList: B.value,
|
63914
|
-
layoutLabels:
|
63922
|
+
layoutLabels: Q.value,
|
63915
63923
|
currentRoomMode: $.value,
|
63916
63924
|
onSetLayout: Bt,
|
63917
63925
|
onMouseenter: N[5] || (N[5] = (W) => U.value = !0),
|
@@ -64227,7 +64235,7 @@ const B2 = "/assets/img/meeting/share.png", _F = "/assets/img/meeting/chat.png",
|
|
64227
64235
|
Ce(pV, { onUpdateNameConfirm: Zs })
|
64228
64236
|
], 512));
|
64229
64237
|
}
|
64230
|
-
}, Tu = /* @__PURE__ */ Zt(AV, [["__scopeId", "data-v-
|
64238
|
+
}, Tu = /* @__PURE__ */ Zt(AV, [["__scopeId", "data-v-6fa2a8d5"]]), $m = {
|
64231
64239
|
__name: "LiveMulti",
|
64232
64240
|
props: {
|
64233
64241
|
isEnterDialogShow: {
|
@@ -64722,12 +64730,12 @@ const PV = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
|
|
64722
64730
|
});
|
64723
64731
|
});
|
64724
64732
|
const $e = Array.from(de.values());
|
64725
|
-
|
64733
|
+
Q.value = $e, f.value = $e;
|
64726
64734
|
}
|
64727
|
-
console.log(
|
64735
|
+
console.log(Q.value, "2222");
|
64728
64736
|
}
|
64729
64737
|
const T = () => {
|
64730
|
-
O(), B.value = "",
|
64738
|
+
O(), B.value = "", Q.value = [], f.value = [], x.value = "", $.value = "edit", h.value = !1, r("dialogClose");
|
64731
64739
|
}, w = async () => {
|
64732
64740
|
if (v.value)
|
64733
64741
|
try {
|
@@ -64842,12 +64850,12 @@ const PV = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
|
|
64842
64850
|
function O() {
|
64843
64851
|
c.title = "", g.value = "", c.callNum = 1, c.speechRate = "1", c.deadlineTime = "";
|
64844
64852
|
}
|
64845
|
-
const $ = J("edit"), B = J(""),
|
64853
|
+
const $ = J("edit"), B = J(""), Q = J([]);
|
64846
64854
|
function ie() {
|
64847
64855
|
Ct.emit("getaddressBookUserForVoiceBroadcast");
|
64848
64856
|
}
|
64849
64857
|
function X(ue) {
|
64850
|
-
|
64858
|
+
Q.value.splice(ue, 1), f.value.splice(ue, 1);
|
64851
64859
|
}
|
64852
64860
|
function z(ue) {
|
64853
64861
|
return ue.getTime() < Date.now() - 60 * 1e3;
|
@@ -64895,7 +64903,7 @@ const PV = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
|
|
64895
64903
|
if (B.value === "" || typeof B.value == "object" && !Array.isArray(B.value) && Object.keys(B.value).length === 0)
|
64896
64904
|
return;
|
64897
64905
|
}
|
64898
|
-
if (!
|
64906
|
+
if (!Q.value.length) {
|
64899
64907
|
o.message("warning", "请选择接收人");
|
64900
64908
|
return;
|
64901
64909
|
}
|
@@ -64919,7 +64927,7 @@ const PV = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
|
|
64919
64927
|
// 发送人员姓名
|
64920
64928
|
videoUrl: B.value || "",
|
64921
64929
|
// 视频url
|
64922
|
-
callObjects:
|
64930
|
+
callObjects: Q.value.map((de) => ({
|
64923
64931
|
callName: de.userName,
|
64924
64932
|
callIdentity: de.userId,
|
64925
64933
|
phoneNumber: de.phone || "",
|
@@ -64931,7 +64939,7 @@ const PV = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
|
|
64931
64939
|
);
|
64932
64940
|
if (ue.ok) {
|
64933
64941
|
const de = await ue.json(), { code: $e, msg: Ge } = de;
|
64934
|
-
$e == 200 ? (o.message("success", Ge), r("taskCreated", { code: $e, msg: Ge }), O(), B.value = "",
|
64942
|
+
$e == 200 ? (o.message("success", Ge), r("taskCreated", { code: $e, msg: Ge }), O(), B.value = "", Q.value = [], f.value = [], x.value = "", $.value = "edit", T()) : o.message("error", Ge || "下发失败");
|
64935
64943
|
} else
|
64936
64944
|
o.message("error", "下发失败");
|
64937
64945
|
} catch {
|
@@ -64985,9 +64993,9 @@ const PV = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
|
|
64985
64993
|
userId: $e.userId,
|
64986
64994
|
phone: $e.phone
|
64987
64995
|
}));
|
64988
|
-
|
64996
|
+
Q.value = de, f.value = de;
|
64989
64997
|
} else
|
64990
|
-
|
64998
|
+
Q.value = [], f.value = [];
|
64991
64999
|
}
|
64992
65000
|
async function qe() {
|
64993
65001
|
const ue = localStorage.getItem("xtoken");
|
@@ -65018,7 +65026,7 @@ const PV = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
|
|
65018
65026
|
localStorage.getItem("xtoken") && qe(), q(), Ct.on("inviteListUpdate", (ue) => {
|
65019
65027
|
if (Array.isArray(ue)) {
|
65020
65028
|
const de = /* @__PURE__ */ new Map();
|
65021
|
-
|
65029
|
+
Q.value.forEach((Ge) => de.set(Ge.userId, Ge)), ue.forEach(
|
65022
65030
|
(Ge) => de.set(Ge.userId, {
|
65023
65031
|
userName: Ge.userName || Ge.label || Ge.userId,
|
65024
65032
|
userId: Ge.userId,
|
@@ -65026,7 +65034,7 @@ const PV = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
|
|
65026
65034
|
})
|
65027
65035
|
);
|
65028
65036
|
const $e = Array.from(de.values());
|
65029
|
-
|
65037
|
+
Q.value = $e, f.value = $e;
|
65030
65038
|
}
|
65031
65039
|
});
|
65032
65040
|
}), e({
|
@@ -65287,7 +65295,7 @@ const PV = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
|
|
65287
65295
|
style: { width: "18px", height: "18px", "margin-right": "10px" }
|
65288
65296
|
}, null, -1)),
|
65289
65297
|
de[12] || (de[12] = I("span", null, "接收人:", -1)),
|
65290
|
-
I("span", rH, nt(
|
65298
|
+
I("span", rH, nt(Q.value.length), 1),
|
65291
65299
|
I("img", {
|
65292
65300
|
src: IV,
|
65293
65301
|
style: { width: "18px", height: "18px", "margin-left": "11px", cursor: "pointer" },
|
@@ -65295,7 +65303,7 @@ const PV = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAzCAYAAADVY1sUAA
|
|
65295
65303
|
})
|
65296
65304
|
]),
|
65297
65305
|
I("div", sH, [
|
65298
|
-
(ee(!0), he(St, null, jt(
|
65306
|
+
(ee(!0), he(St, null, jt(Q.value, (Oe, mt) => (ee(), he("span", {
|
65299
65307
|
class: "receiver-tag",
|
65300
65308
|
key: Oe.userId
|
65301
65309
|
}, [
|