@fraku/video 0.1.37 → 0.1.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/VideoPlugin.d.ts +4 -1
- package/dist/index.cjs +21 -21
- package/dist/index.js +229 -231
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as S from "react";
|
|
2
|
-
import on, { useState as Pr, createContext as Vl, useContext as os, isValidElement as oy, cloneElement as Mh, Children as J3, useEffect as lo, useRef as eo, useCallback as
|
|
2
|
+
import on, { useState as Pr, createContext as Vl, useContext as os, isValidElement as oy, cloneElement as Mh, Children as J3, useEffect as lo, useRef as eo, useCallback as Sr, useMemo as Bn, forwardRef as w0, useImperativeHandle as YF, useLayoutEffect as Y3, createRef as QF, useReducer as XF, Fragment as ZF } from "react";
|
|
3
3
|
import Sh, { createPortal as ej } from "react-dom";
|
|
4
4
|
function tj(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -492,7 +492,7 @@ Check the render method of \`` + Ae + "`.";
|
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
494
|
var Xt = {};
|
|
495
|
-
function
|
|
495
|
+
function Cr(Ae) {
|
|
496
496
|
{
|
|
497
497
|
var Qe = Kt();
|
|
498
498
|
if (!Qe) {
|
|
@@ -509,7 +509,7 @@ Check the top-level render call using <` + Ee + ">.");
|
|
|
509
509
|
if (!Ae._store || Ae._store.validated || Ae.key != null)
|
|
510
510
|
return;
|
|
511
511
|
Ae._store.validated = !0;
|
|
512
|
-
var Ee =
|
|
512
|
+
var Ee = Cr(Qe);
|
|
513
513
|
if (Xt[Ee])
|
|
514
514
|
return;
|
|
515
515
|
Xt[Ee] = !0;
|
|
@@ -2839,11 +2839,11 @@ var Jr = /* @__PURE__ */ on.createContext(), Oj = function(t) {
|
|
|
2839
2839
|
text: [wn.STARTS_WITH, wn.CONTAINS, wn.NOT_CONTAINS, wn.ENDS_WITH, wn.EQUALS, wn.NOT_EQUALS],
|
|
2840
2840
|
numeric: [wn.EQUALS, wn.NOT_EQUALS, wn.LESS_THAN, wn.LESS_THAN_OR_EQUAL_TO, wn.GREATER_THAN, wn.GREATER_THAN_OR_EQUAL_TO],
|
|
2841
2841
|
date: [wn.DATE_IS, wn.DATE_IS_NOT, wn.DATE_BEFORE, wn.DATE_AFTER]
|
|
2842
|
-
}), me = Na(tt, 2), ye = me[0], $e = me[1], Kt = function(
|
|
2842
|
+
}), me = Na(tt, 2), ye = me[0], $e = me[1], Kt = function(Cr, Wt, Ye, St) {
|
|
2843
2843
|
var Bt, lr = document.getElementById(Ye);
|
|
2844
2844
|
if (!lr)
|
|
2845
2845
|
throw Error("Element with id ".concat(Ye, " not found."));
|
|
2846
|
-
var Nr = lr.getAttribute("href").replace(
|
|
2846
|
+
var Nr = lr.getAttribute("href").replace(Cr, Wt), hn = document.createElement("link");
|
|
2847
2847
|
hn.setAttribute("rel", "stylesheet"), hn.setAttribute("id", Ye), hn.setAttribute("href", Nr), hn.addEventListener("load", function() {
|
|
2848
2848
|
St && St();
|
|
2849
2849
|
}), (Bt = lr.parentNode) === null || Bt === void 0 || Bt.replaceChild(hn, lr);
|
|
@@ -7135,7 +7135,7 @@ function rf(e, t) {
|
|
|
7135
7135
|
function dl(e, t) {
|
|
7136
7136
|
return e.pipe(Nt(`${Gd}`, `${yu}`), Ve(((r) => r.payload.evt === t)));
|
|
7137
7137
|
}
|
|
7138
|
-
function
|
|
7138
|
+
function Er(e, t) {
|
|
7139
7139
|
return e.pipe(Nt(`${j5}`), Ve(((r) => Array.isArray(t) ? t.indexOf(r.payload.type) > -1 : r.payload.type === t)));
|
|
7140
7140
|
}
|
|
7141
7141
|
const PC = 20225, NA = 20234, Un = 7937, es = 7938, MA = 7940, xC = 12039, RO = 16138, L0 = 4098, sp = 4305, Zg = 4343, DC = 16428, cH = "SET_ATTENDEES_LIST", dH = "SET_ASSISTANT_LIST", pH = "RESET_PARTICIPANTS", fH = "SET_IS_ADMIT_ALL_SILENT_USERS", hH = "SET_CLEAR_RAISE_HAND", mH = "SET_CLEAR_ATTENDEE_FEEDBACK", gH = "ADD_FAILOVER_ATTENDEES", vH = "REMOVE_FAILOVER_ATTENDEES", yH = "UPDATE_ATTENDEE_DISPLAY_NAME", bH = "REMOVE_XMPP_ATTENDEE_USER", SH = "UPDATE_XMPP_ATTENDEE_LIST", EH = "SET_ATTENDEE_EXTRA_KEY", { setAttendeesList: Cf, setAssistantList: Lee, setIsAdmitAllSilentUsers: z5, resetParticipants: K5, addFailoverAttendees: NC, removeFailoverAttendees: G5, setClearRaiseHand: q5, setClearAttendeeFeedback: J5, updateAttendeeDisplayName: Y5, removeXmppAttendeeUser: Q5, updateXmppAttendeeList: X5, setAttendeeExtraKey: pm } = Fo({ [cH]: (e) => e, [dH]: (e) => e, [SH]: (e) => e, [pH]: () => ({}), [fH]: (e) => e, [vH]: (e) => e, [gH]: (e) => e, [hH]: () => ({}), [mH]: () => ({}), [yH]: (e) => e, [bH]: (e) => e, [EH]: (e) => e }), CH = { id: "userId", type: (e) => Hd(e) ? { userType: e, avatarBackgroundType: Math.floor(8 * Math.random()) + 1 } : { userType: e }, role: (e) => ({ userRole: e, isHost: Bd(e) }), dn2: (e) => ({ displayName: Cs(e) }), bShareOn: "sharerOn", bSharePause: "sharerPause", bLocalRecordStatus: (e) => ({ bLocalRecord: e }), bGuest: "isGuest", bCapsRequestLT: "isRequestLT", customerKey: "userIdentity" }, Nl = (e) => {
|
|
@@ -9861,7 +9861,7 @@ const Gs = sn.createAgent(), _i = N0(na(cr.getInstance())), u2 = (e) => !e.muted
|
|
|
9861
9861
|
}))), epics9: (e, t) => Et(e, 7952).pipe(qr(((r) => pn(NE, 1).pipe(Qt(t), Ot((([, n]) => {
|
|
9862
9862
|
const { BindStatus: o, nOperatorUserId: i } = r.payload.body, a = n.participants.attendeesList.find(((s) => s.userId === i));
|
|
9863
9863
|
o === !0 && ee(lM, { operatorName: a == null ? void 0 : a.displayName, operatorUserId: i, operatorRole: a == null ? void 0 : a.userRole });
|
|
9864
|
-
})), Le((() => Gt)))))), epics10: (e, t) =>
|
|
9864
|
+
})), Le((() => Gt)))))), epics10: (e, t) => Er(e, lt.UserGrantCaptureAudio).pipe(Qt(t), Le((([r, n]) => {
|
|
9865
9865
|
const o = or(n);
|
|
9866
9866
|
var i;
|
|
9867
9867
|
(i = o, (i == null ? void 0 : i.audio) === ln.Computer ? Promise.resolve() : br({ event: Qi, operations: [Ve(((m) => m.audio !== void 0 && m.audio !== "")), jr(1)] }, (({ audio: m }) => m === ln.Phone || m === ln.Computer))).then((() => {
|
|
@@ -9869,17 +9869,17 @@ const Gs = sn.createAgent(), _i = N0(na(cr.getInstance())), u2 = (e) => !e.muted
|
|
|
9869
9869
|
}));
|
|
9870
9870
|
const { meeting: { isCurrentUserMutedBeforeReset: a }, audio: { isAllowToTalk: s, activeMicrophone: l, isUsingMediaPlayback: c } } = n, { payload: { data: d } } = r, p = [A8(!0)];
|
|
9871
9871
|
return o && (o.muted === !0 && s === !1 && (p.push(al(Ms.Inherited)), Gs.mute(o.userId, !0)), (a === !0 || V8(n)) && (p.push(al(Ms.Inherited)), Gs.mute(o.userId, !0)), a !== void 0 && p.push(yC(void 0)), !c && d && l !== d && p.push(gm(d))), pt(p);
|
|
9872
|
-
}))), epics11: (e) =>
|
|
9872
|
+
}))), epics11: (e) => Er(e, lt.AudioCaptureFailed).pipe(Ot(((t) => {
|
|
9873
9873
|
const { payload: { data: r } } = t;
|
|
9874
9874
|
ee(uM, r);
|
|
9875
|
-
})), Ct((() => KA(!0)))), epics12: (e) =>
|
|
9875
|
+
})), Ct((() => KA(!0)))), epics12: (e) => Er(e, lt.AudioWebsocketBroken).pipe(Ot((() => {
|
|
9876
9876
|
ee(cM);
|
|
9877
|
-
})), Le((() => Gt))), epics13: (e, t) =>
|
|
9877
|
+
})), Le((() => Gt))), epics13: (e, t) => Er(e, lt.AudioZeroData).pipe(Qt(t), gg((([, r]) => {
|
|
9878
9878
|
const { audio: { webrtcRestartCount: n, activeMicrophone: o } } = r;
|
|
9879
9879
|
if (n < 3) return _i.restoreWebRTC(o), Kd(n + 1);
|
|
9880
9880
|
}))), epics14: (e, t) => e.pipe(Nt(`${If}`), Ve(((r) => r.payload === !1)), Le((() => (ee(dM), oC().pipe(Ot((() => {
|
|
9881
9881
|
YC(Gs, t.value), of(_i, t.value);
|
|
9882
|
-
})), Ct((() => If(!0)))))))), epics15: (e, t) =>
|
|
9882
|
+
})), Ct((() => If(!0)))))))), epics15: (e, t) => Er(e, [lt.JoinComputerAudioComplete, lt.JoinSharingAudioComplete, lt.LeaveComputerAudioComplete, lt.LeaveSharingAudioComplete]).pipe(Ot(((r) => {
|
|
9883
9883
|
_6.completeAudioAction();
|
|
9884
9884
|
const { payload: { type: n } } = r;
|
|
9885
9885
|
if (n === lt.JoinComputerAudioComplete) {
|
|
@@ -9890,7 +9890,7 @@ const Gs = sn.createAgent(), _i = N0(na(cr.getInstance())), u2 = (e) => !e.muted
|
|
|
9890
9890
|
_i.setSharingAudioVolume(a.userId, !1, !1, !0);
|
|
9891
9891
|
}));
|
|
9892
9892
|
}
|
|
9893
|
-
})), Le((() => Gt))), epics16: (e, t) =>
|
|
9893
|
+
})), Le((() => Gt))), epics16: (e, t) => Er(e, lt.AudioQosData).pipe(Qt(t), Ct((([r, n]) => {
|
|
9894
9894
|
var o, i;
|
|
9895
9895
|
const { meeting: { isWebinar: a }, media: { audioEncodeStatus: s, audioDecodeStatus: l }, participants: { xmppAttendeeList: c, allowTalkAttendeesList: d } } = n, p = or(n), m = wA(n);
|
|
9896
9896
|
let y = m.length > 0, b = m.some(u2);
|
|
@@ -9905,7 +9905,7 @@ const Gs = sn.createAgent(), _i = N0(na(cr.getInstance())), u2 = (e) => !e.muted
|
|
|
9905
9905
|
return s.length > 0 ? (s.forEach(((l) => {
|
|
9906
9906
|
_i.muteOrUnmuteOtherAudio(l, !1);
|
|
9907
9907
|
})), pt(s.map(((l) => [qb(l), N8({ userId: l })])).flat())) : Gt;
|
|
9908
|
-
}))), epics18: (e, t) =>
|
|
9908
|
+
}))), epics18: (e, t) => Er(e, lt.HidStatusMute).pipe(Le(((r) => {
|
|
9909
9909
|
const { payload: { data: n } } = r, o = t.value, { meeting: { userId: i, mediaFeatureOptions: a }, audio: { isShareAudioEnabled: s, bCanUnmute: l } } = o, c = [];
|
|
9910
9910
|
if (n) s && !cr.isSupportOpenMicWhenShareAudio(a || "") && c.push(bu(!0)), c.push(al(Ms.Active)), Gs.mute(i, !0);
|
|
9911
9911
|
else if (!s || cr.isSupportOpenMicWhenShareAudio(a || "")) {
|
|
@@ -9917,22 +9917,22 @@ const Gs = sn.createAgent(), _i = N0(na(cr.getInstance())), u2 = (e) => !e.muted
|
|
|
9917
9917
|
}))), epics19: (e) => Et(e, 12040).pipe(Ot(((t) => {
|
|
9918
9918
|
const { payload: { body: { mode: r } } } = t;
|
|
9919
9919
|
_i.setAudioCodecMode(r);
|
|
9920
|
-
})), Le((() => Gt))), epics20: (e, t) =>
|
|
9920
|
+
})), Le((() => Gt))), epics20: (e, t) => Er(e, [lt.AudioSpeakerSetSuccess, lt.JoinComputerAudioComplete, lt.AudioSpeakerSetError]).pipe(Le(((r) => {
|
|
9921
9921
|
const { payload: { data: n, type: o } } = r, { audio: { activeSpeaker: i, activeMicrophone: a, isUsingMediaPlayback: s } } = t.value, l = [];
|
|
9922
9922
|
return o === lt.AudioSpeakerSetSuccess && i !== n ? l.push(V0(n)) : !s && o === lt.JoinComputerAudioComplete && n != null && n.microphoneDeviceId && a !== n.microphoneDeviceId && l.push(gm(n.microphoneDeviceId)), o === lt.AudioSpeakerSetSuccess ? ee(kE, !0) : o === lt.AudioSpeakerSetError && ee(kE, !1), pt(l);
|
|
9923
|
-
}))), epics21: (e, t) =>
|
|
9923
|
+
}))), epics21: (e, t) => Er(e, lt.AudioLevelIndicator).pipe(Ve((() => {
|
|
9924
9924
|
const r = or(t.value);
|
|
9925
9925
|
return !!r && r.audio === ln.Computer && !r.muted;
|
|
9926
9926
|
})), Ot(((r) => {
|
|
9927
9927
|
const { payload: { data: n } } = r;
|
|
9928
9928
|
ee(yM, { level: n.value });
|
|
9929
|
-
})), Le((() => Gt))), epics22: (e, t) =>
|
|
9929
|
+
})), Le((() => Gt))), epics22: (e, t) => Er(e, lt.WorkletProcessExceptions).pipe(Ve(((r) => !!r.payload.data)), Le((() => {
|
|
9930
9930
|
const r = or(t.value), n = [];
|
|
9931
9931
|
return (r == null ? void 0 : r.audio) === ln.Computer && (_i.leaveComputerAudio(), Gs.joinOrLeaveVoip(!1), n.push(Su(Id.EndedBySystem)), n.push(Kd(0))), pt(n);
|
|
9932
|
-
}))), epics23: (e, t) =>
|
|
9932
|
+
}))), epics23: (e, t) => Er(e, lt.RecaptureAudio).pipe(Ve((() => {
|
|
9933
9933
|
const r = or(t.value);
|
|
9934
9934
|
return (r == null ? void 0 : r.audio) === ln.Computer && !t.value.audio.isUsingMediaPlayback;
|
|
9935
|
-
})), Le((() => (x6(_i, t.value), Gt)))), epics24: (e, t) =>
|
|
9935
|
+
})), Le((() => (x6(_i, t.value), Gt)))), epics24: (e, t) => Er(e, lt.SpeakingWhenMute).pipe(Ve((() => {
|
|
9936
9936
|
const r = or(t.value);
|
|
9937
9937
|
return (r == null ? void 0 : r.audio) === ln.Computer && !!r.muted;
|
|
9938
9938
|
})), Ot((() => {
|
|
@@ -9945,14 +9945,14 @@ const Gs = sn.createAgent(), _i = N0(na(cr.getInstance())), u2 = (e) => !e.muted
|
|
|
9945
9945
|
return a.length > 0 && a.forEach(((l) => {
|
|
9946
9946
|
i.findIndex(((c) => c.userId === l.id)) === -1 && s.push(_8({ userId: l.id, isFromMainSession: !!l.bShareToBORooms }));
|
|
9947
9947
|
})), pt(s);
|
|
9948
|
-
}))), shareAudioEpics1: (e, t) =>
|
|
9948
|
+
}))), shareAudioEpics1: (e, t) => Er(e, lt.SharingDesktopStreamHaveAudio).pipe(Ve((() => !t.value.audio.secondaryAudioMicrophoneId)), qr((() => Et(e, Un).pipe(Ve(((r) => {
|
|
9949
9949
|
var n;
|
|
9950
9950
|
const { payload: { body: o } } = r, { meeting: { userId: i } } = t.value;
|
|
9951
9951
|
return (o == null || (n = o.update) === null || n === void 0 ? void 0 : n.findIndex(((a) => a.id === i && a.bShareOn === !0))) > -1;
|
|
9952
9952
|
})), jr(1), kl((async () => {
|
|
9953
9953
|
const r = t.value;
|
|
9954
9954
|
return await qC(Bc, pp, r);
|
|
9955
|
-
})), $s(B0(!0)))))), shareAudioEpics2: (e, t) =>
|
|
9955
|
+
})), $s(B0(!0)))))), shareAudioEpics2: (e, t) => Er(e, lt.SharingDesktopStreamHaveNoAudio).pipe(Qt(t), Ve((([, r]) => {
|
|
9956
9956
|
var n;
|
|
9957
9957
|
return ((n = r.audio) === null || n === void 0 ? void 0 : n.isShareAudioEnabled) === !0;
|
|
9958
9958
|
})), kl((async ([, r]) => await o2(Bc, pp, r)))), shareAudioEpics3: (e, t) => Et(e, Un).pipe(Qt(t), Ve((([, r]) => r.socket.zoomSocketStatus === An.Connected && r.audio.isSharingAudio === !0 && !cr.isSupportOpenMicWhenShareAudio(r.meeting.mediaFeatureOptions || ""))), Le((([r, n]) => {
|
|
@@ -9986,7 +9986,7 @@ const Gs = sn.createAgent(), _i = N0(na(cr.getInstance())), u2 = (e) => !e.muted
|
|
|
9986
9986
|
s.push(...l);
|
|
9987
9987
|
}
|
|
9988
9988
|
return s;
|
|
9989
|
-
}))), shareAudioEpics5: (e, t) =>
|
|
9989
|
+
}))), shareAudioEpics5: (e, t) => Er(e, lt.SharingDesktopStreamHaveAudio).pipe(Ve((() => !!t.value.audio.secondaryAudioMicrophoneId)), Ot((() => {
|
|
9990
9990
|
const { audio: { audioSsrc: r, secondaryAudioMicrophoneId: n, isWebRtcAudioCapable: o } } = t.value;
|
|
9991
9991
|
Bc.joinSharingAudio({ ssrc: r, microphoneDeviceId: n, speakerDeviceId: null, isCaptureAudio: !0, audioBridge: o }), ee(hM);
|
|
9992
9992
|
})), Le((() => Gt))), shareAudioEpics6: (e, t) => Et(e, Un).pipe(Ve(((r) => {
|
|
@@ -10000,7 +10000,7 @@ const Gs = sn.createAgent(), _i = N0(na(cr.getInstance())), u2 = (e) => !e.muted
|
|
|
10000
10000
|
}))) }, { audioBridgEpics0: (e) => Et(e, 4299).pipe(Ot(((t) => {
|
|
10001
10001
|
const { payload: r } = t;
|
|
10002
10002
|
fp.passThroughRWGMessage(r);
|
|
10003
|
-
})), un()), audioBridgEpics1: (e) =>
|
|
10003
|
+
})), un()), audioBridgEpics1: (e) => Er(e, lt.AudioBridgeReconnectStart).pipe(Le((() => (i1.joinOrLeaveVoip(!1), pt([qA(!0), Su(Id.Failover)]))))), audioBridgEpics2: (e, t) => Et(e, Un).pipe(Ve(((r) => {
|
|
10004
10004
|
var n, o;
|
|
10005
10005
|
return t.value.audio.isWebRtcAudioCapable && (((n = r.payload.body.update) === null || n === void 0 ? void 0 : n.some(((i) => i.muted !== void 0))) || ((o = r.payload.body.remove) === null || o === void 0 ? void 0 : o.length) > 0);
|
|
10006
10006
|
})), Ot(((r) => {
|
|
@@ -10012,10 +10012,10 @@ const Gs = sn.createAgent(), _i = N0(na(cr.getInstance())), u2 = (e) => !e.muted
|
|
|
10012
10012
|
})), Ot(((r) => {
|
|
10013
10013
|
const { payload: { body: { id: n } } } = r;
|
|
10014
10014
|
fp.changeActiveVideoSsrc(n);
|
|
10015
|
-
})), Le((() => Gt))), audioBridgEpics4: (e, t) =>
|
|
10015
|
+
})), Le((() => Gt))), audioBridgEpics4: (e, t) => Er(e, lt.AudioStreamFailed).pipe(Le(((r) => {
|
|
10016
10016
|
const { payload: { data: n } } = r, o = or(t.value), i = [];
|
|
10017
10017
|
return (o == null ? void 0 : o.audio) === ln.Computer && (fp.leaveComputerAudio(), bm() || Jt.isIOSMobile || n === Ch.PermissionReset ? (i1.joinOrLeaveVoip(!1), i.push(Su(Id.EndedBySystem)), i.push(Kd(0))) : of(fp, t.value)), pt(i);
|
|
10018
|
-
}))), audioBridgEpics5: (e, t) =>
|
|
10018
|
+
}))), audioBridgEpics5: (e, t) => Er(e, lt.AudioBridgeSocketConnectionError).pipe(Le((() => {
|
|
10019
10019
|
const r = or(t.value), n = [];
|
|
10020
10020
|
return (r == null ? void 0 : r.audio) === ln.Computer && (fp.leaveComputerAudio(), i1.joinOrLeaveVoip(!1), n.push(Su(Id.EndedBySystem)), n.push(Kd(0))), pt(n);
|
|
10021
10021
|
}))), audioBridgEpics6: (e, t) => e.pipe(Nt(`${OA}`), Ve((() => !!t.value.meeting.zlkJwtToken)), Ct(((r) => {
|
|
@@ -10817,7 +10817,7 @@ const $2 = sn.createAgent(), ia = na(cr.getInstance()), iv = sn.createAgent(), q
|
|
|
10817
10817
|
a !== void 0 && e$.sendCameraAblity({ pan: !!a.pan, tilt: !!a.tilt, zoom: !!a.zoom });
|
|
10818
10818
|
}
|
|
10819
10819
|
return Gt;
|
|
10820
|
-
}))) }, n$ = { videoCaptureEpics0: (e, t) =>
|
|
10820
|
+
}))) }, n$ = { videoCaptureEpics0: (e, t) => Er(e, lt.StartVideoCaptureSuccess).pipe(kl((async (r) => {
|
|
10821
10821
|
const { video: { activeCamera: n, ptz: o, isCurrentUserStartedVideo: i, isUsingMediaPlayback: a }, meeting: { userId: s } } = t.value, { payload: { data: { currentDeviceID: l, PTZRange: c, VideoSelectValue: d, usingFacingMode: p } } } = r, m = [], { cameras: y } = await Hn($d());
|
|
10822
10822
|
if (y.length < 1 && !a && (ee(pb, { reason: "Cannot detect camera devices" }), qs.stopCaptureVideo()), a || [n, l].some(((b) => wk(b, y)))) {
|
|
10823
10823
|
let b = "";
|
|
@@ -10837,7 +10837,7 @@ const $2 = sn.createAgent(), ia = na(cr.getInstance()), iv = sn.createAgent(), q
|
|
|
10837
10837
|
})), Ct(((r) => Nl(r.payload.body))), Le(((r) => {
|
|
10838
10838
|
const { update: n } = r, { meeting: { userId: o } } = t.value, i = n == null ? void 0 : n.find(((a) => a.userId === o));
|
|
10839
10839
|
return i ? (i.bVideoOn === !0 ? ee(pA) : ee(Qp), pt([W6(!!i.bVideoOn)])) : Gt;
|
|
10840
|
-
}))), videoCaptureEpics2: (e) =>
|
|
10840
|
+
}))), videoCaptureEpics2: (e) => Er(e, [lt.UserForbiddedCaptureVideo, lt.UserCameraIsTakenByOtherPrograms, lt.VideoWebsocketBroken, lt.StopVideoCaptureFailed]).pipe(Le(((t) => {
|
|
10841
10841
|
const { payload: { type: r, data: n } } = t, o = [];
|
|
10842
10842
|
switch (r) {
|
|
10843
10843
|
case lt.UserForbiddedCaptureVideo:
|
|
@@ -10853,7 +10853,7 @@ const $2 = sn.createAgent(), ia = na(cr.getInstance()), iv = sn.createAgent(), q
|
|
|
10853
10853
|
ee(Qp, { failed: !0, reason: "Unknown." });
|
|
10854
10854
|
}
|
|
10855
10855
|
return pt(o);
|
|
10856
|
-
}))), videoCaptureEpics3: (e, t) =>
|
|
10856
|
+
}))), videoCaptureEpics3: (e, t) => Er(e, lt.StopVideoCaptureSuccess).pipe(Qt(t), Ct((([, r]) => {
|
|
10857
10857
|
const { meeting: { userId: n }, video: { isCurrentUserStartedVideo: o } } = r;
|
|
10858
10858
|
return o || ee(Qp), iv.muteAttendeeVideo(n, !0), Bp(!1);
|
|
10859
10859
|
}))), videoCaptureEpics4: (e, t) => Et(e, 16133).pipe(Qt(t), Ve((([r, n]) => {
|
|
@@ -10879,11 +10879,11 @@ const $2 = sn.createAgent(), ia = na(cr.getInstance()), iv = sn.createAgent(), q
|
|
|
10879
10879
|
await rC("video", o);
|
|
10880
10880
|
const a = or(o);
|
|
10881
10881
|
n.length === 0 ? a && !a.bVideoConnect || iv.connectCamera(i, !1) : a != null && a.bVideoConnect || iv.connectCamera(i, !0);
|
|
10882
|
-
})), un()), videoCaptureEpics7: (e) =>
|
|
10882
|
+
})), un()), videoCaptureEpics7: (e) => Er(e, lt.InitSuccessVideo).pipe(Ve(((t) => !Jt.isIPad && Jt.isAndroidOrIOSBrowser && t.payload.data === Sa.EncodeSuccess)), qr((() => M6().pipe(Ot(((t) => {
|
|
10883
10883
|
qs.setMobileRotateMode(t);
|
|
10884
|
-
})), un())))), videoCaptureEpics8: (e) =>
|
|
10884
|
+
})), un())))), videoCaptureEpics8: (e) => Er(e, lt.StartVideoCaptureSuccess).pipe(Ve((() => !Jt.isIPad && Jt.isAndroidOrIOSBrowser)), Ot((() => {
|
|
10885
10885
|
qs.setMobileRotateMode(N6());
|
|
10886
|
-
})), Ko(Gt)), videoCaptureEpics9: (e, t) =>
|
|
10886
|
+
})), Ko(Gt)), videoCaptureEpics9: (e, t) => Er(e, lt.VideoStreamFailed).pipe(Ve((() => !!t.value.video.isCurrentUserStartedVideo && Jt.isIOSMobile)), Ot((() => {
|
|
10887
10887
|
qs.stopCaptureVideo();
|
|
10888
10888
|
})), Le((() => Gt))), videoCaptureEpics10: (e) => Et(e, 24322).pipe(Ot(((t) => {
|
|
10889
10889
|
const { payload: r } = t;
|
|
@@ -10891,7 +10891,7 @@ const $2 = sn.createAgent(), ia = na(cr.getInstance()), iv = sn.createAgent(), q
|
|
|
10891
10891
|
})), Le((() => Gt))) }, o$ = { videoRenderEpics0: (e, t) => Et(e, 16129).pipe(Ct(((r) => {
|
|
10892
10892
|
const { payload: { body: { id: n, bVideoOn: o } } } = r, { meeting: { isUseWBVideo: i } } = t.value, a = B2(n);
|
|
10893
10893
|
return ee(j4, { bVideoOn: o, userId: a }), i && ia.prefetchVideoSsrc(n), $6({ bVideoOn: o, userId: a });
|
|
10894
|
-
}))), videoRenderEpics1: (e) =>
|
|
10894
|
+
}))), videoRenderEpics1: (e) => Er(e, lt.VideoDecodeMaxSize).pipe(Ve(((t) => {
|
|
10895
10895
|
var r;
|
|
10896
10896
|
return t == null || (r = t.payload) === null || r === void 0 ? void 0 : r.data;
|
|
10897
10897
|
})), Ct((({ payload: { data: { size: t } } }) => z6(t)))), videoRenderEpics2: (e) => Et(e, 16135).pipe(Le(((t) => {
|
|
@@ -10906,7 +10906,7 @@ const $2 = sn.createAgent(), ia = na(cr.getInstance()), iv = sn.createAgent(), q
|
|
|
10906
10906
|
o && o.group_list && o.group_list[0] && (i = o.group_list[0].map(((s) => s.id)));
|
|
10907
10907
|
const a = fn(n);
|
|
10908
10908
|
return a.length > 0 && (i = i.filter(((s) => a.findIndex(((l) => l.userId === s)) >= 0))), ee(Xp, { spotlightList: i }), sC(i);
|
|
10909
|
-
}))), videoRenderEpics4: (e) =>
|
|
10909
|
+
}))), videoRenderEpics4: (e) => Er(e, [lt.CurrentVideoResolution, lt.CurrentCaptureVideoWidthHeight]).pipe(Ve(((t) => !!t.payload.data)), Ct(((t) => {
|
|
10910
10910
|
const { payload: { data: r, type: n } } = t;
|
|
10911
10911
|
return n === lt.CurrentVideoResolution ? (ee(H4, r), q6(r)) : (ee(U4, r), n5(r));
|
|
10912
10912
|
}))), videoRenderEpics5: (e) => Et(e, es).pipe(Ve(((t) => {
|
|
@@ -10938,11 +10938,11 @@ const $2 = sn.createAgent(), ia = na(cr.getInstance()), iv = sn.createAgent(), q
|
|
|
10938
10938
|
d.bVideoOn ? ee(z4, { userId: d.id }) : a.includes(d.id) && ee(hy, { userId: d.id });
|
|
10939
10939
|
}));
|
|
10940
10940
|
}
|
|
10941
|
-
})), Ko(Gt)), videoRenderEpics8: (e, t) =>
|
|
10941
|
+
})), Ko(Gt)), videoRenderEpics8: (e, t) => Er(e, lt.VideoQosData).pipe(Qt(t), Ct((([r, n]) => {
|
|
10942
10942
|
var o, i;
|
|
10943
10943
|
const { video: { isCaptureForbidden: a, isCameraTaken: s }, media: { videoEncodeStatus: l, videoDecodeStatus: c } } = n, d = or(n), p = wA(n), m = p.length > 0, y = (d == null ? void 0 : d.bVideoOn) && !a && !s, b = p.some(((A) => A.bVideoOn)), v = l === "success" && y && (m || ((o = n.recording) === null || o === void 0 ? void 0 : o.cmrStatus) === $o.Start), C = c === "success" && m && b;
|
|
10944
10944
|
return (i = r.payload.data) !== null && i !== void 0 && i.encoding ? v ? (ee(OE, r.payload), xb(r.payload)) : xb(fc) : C ? (ee(OE, r.payload), Db(r.payload)) : Db(fc);
|
|
10945
|
-
}))), videoRenderEpics9: (e, t) =>
|
|
10945
|
+
}))), videoRenderEpics9: (e, t) => Er(e, [lt.CurrentDecodeVideoQuality, lt.CurrentDecodeVideoFps]).pipe(Ot(((r) => {
|
|
10946
10946
|
const { payload: { type: n, data: o } } = r, { video: { subscriptionStatus: i } } = t.value;
|
|
10947
10947
|
if (i.detailed) {
|
|
10948
10948
|
if (n === lt.CurrentDecodeVideoQuality) {
|
|
@@ -10953,9 +10953,9 @@ const $2 = sn.createAgent(), ia = na(cr.getInstance()), iv = sn.createAgent(), q
|
|
|
10953
10953
|
ee(_E, { userId: a, fps: s });
|
|
10954
10954
|
}
|
|
10955
10955
|
}
|
|
10956
|
-
})), un()), videoRenderEpics10: (e) =>
|
|
10956
|
+
})), un()), videoRenderEpics10: (e) => Er(e, [lt.NotSupportExternalCanvasInVTagRenderer]).pipe(Ot((() => {
|
|
10957
10957
|
console.error("Hardware acceleration disabled: Use attachVideo method to render the video.");
|
|
10958
|
-
})), un()), videoRenderEpics11: (e, t) =>
|
|
10958
|
+
})), un()), videoRenderEpics11: (e, t) => Er(e, [lt.NetworkQualityChange, lt.NetworkQualityChangeAudio, lt.NetworkQualityChangeSharing]).pipe(Ve(((r) => !!r.payload.data)), Le(((r) => {
|
|
10959
10959
|
const { payload: { data: { bwLevel: n, isUplink: o, networkLevel: i, mediaType: a } } } = r, s = [], { meeting: { userId: l }, video: { networkQuality: c, subscribedVideoList: d, networkQualityBroadcastTime: p } } = t.value, m = o ? "uplink" : "downlink";
|
|
10960
10960
|
if (a === 3) $2.broadcastUserNetworkQuality({ isUplink: o, level: i, bwLevel: n, mediaType: a });
|
|
10961
10961
|
else {
|
|
@@ -10984,7 +10984,7 @@ const $2 = sn.createAgent(), ia = na(cr.getInstance()), iv = sn.createAgent(), q
|
|
|
10984
10984
|
}))), videoRenderEpics14: (e, t) => e.pipe(Nt(`${ef}`), Ve(((r) => !!r.payload)), Ot(((r) => {
|
|
10985
10985
|
const { payload: { lastCopy: n } } = r, { video: { prefetchedVideo: o } } = t.value;
|
|
10986
10986
|
!o || n && n.userId === o.userId || (n != null && n.userId && (n.loaded && ia.cancelPrefetchVideoSsrc(n.userId), ia.unsubscribeVideo(n.userId)), ia.subscribeVideo(o.userId, rb.Video_360P, !1), ia.prefetchVideoSsrc(o.userId));
|
|
10987
|
-
})), Ko(Gt)), videoRenderEpics15: (e, t) =>
|
|
10987
|
+
})), Ko(Gt)), videoRenderEpics15: (e, t) => Er(e, lt.NewActiveSpeakerFirstFrameCallback).pipe(Ve((() => !!t.value.video.prefetchedVideo)), Le(((r) => {
|
|
10988
10988
|
const { payload: { data: { ssrc: n } } } = r, { video: { prefetchedVideo: o } } = t.value, i = [];
|
|
10989
10989
|
return o && (Di(o.userId, n) ? (i.push(ef({ userId: o.userId, loaded: !0, lastCopy: o })), ee(J4, { userId: o.userId })) : ia.unsubscribeVideo(o.userId)), pt(i);
|
|
10990
10990
|
}))), videoRenderEpics16: (e, t) => Et(e, 16131).pipe(Ve(((r) => r.payload.body.ssrc !== void 0)), Ot((() => {
|
|
@@ -10999,7 +10999,7 @@ const $2 = sn.createAgent(), ia = na(cr.getInstance()), iv = sn.createAgent(), q
|
|
|
10999
10999
|
})), Ot((() => {
|
|
11000
11000
|
const { video: { renderedVideoList: r, subscriptionStatus: n } } = t.value, o = r.length;
|
|
11001
11001
|
o === 1 ? ia.enableVideoObserver(!0, n == null || !n.detailed) : o === 0 && ia.enableVideoObserver(!1);
|
|
11002
|
-
})), Ko(Gt)), videoRenderEpics18: (e, t) =>
|
|
11002
|
+
})), Ko(Gt)), videoRenderEpics18: (e, t) => Er(e, lt.CurrentDecodeVideoQuality).pipe(Le(((r) => {
|
|
11003
11003
|
const { payload: { data: n } } = r, { video: { renderedVideoList: o, videoAttachments: i } } = t.value, a = [], { ssrc: s, width: l, height: c } = n, d = c ? l / c : 0, p = o.filter(((m) => Di(m.userId, s)));
|
|
11004
11004
|
if (p.some(((m) => m.aspectRatio && Math.abs(m.aspectRatio - d) > 0.2))) {
|
|
11005
11005
|
const m = p.filter(((y) => y.canvasId === Jp));
|
|
@@ -11026,7 +11026,7 @@ const $2 = sn.createAgent(), ia = na(cr.getInstance()), iv = sn.createAgent(), q
|
|
|
11026
11026
|
})).length > 0) && ee(Q4, { userId: s, aspectRatio: d });
|
|
11027
11027
|
}
|
|
11028
11028
|
return pt(a);
|
|
11029
|
-
}))), videoRenderEpics19: (e, t) =>
|
|
11029
|
+
}))), videoRenderEpics19: (e, t) => Er(e, lt.SyncRendererTypeResponse).pipe(Le(((r) => {
|
|
11030
11030
|
const { payload: { data: { rendererType: n } } } = r, { video: { rendererType: o } } = t.value, i = [];
|
|
11031
11031
|
return o !== n && i.push(l5(n)), pt(i);
|
|
11032
11032
|
}))), videoRenderEpics20: (e, t) => e.pipe(Nt(`${ta}`), Ve((() => !!t.value.meeting.zlkJwtToken || !!t.value.meeting.sign)), Ct(((r) => {
|
|
@@ -11058,16 +11058,16 @@ const $2 = sn.createAgent(), ia = na(cr.getInstance()), iv = sn.createAgent(), q
|
|
|
11058
11058
|
const { element: n, ret: o } = r;
|
|
11059
11059
|
var i;
|
|
11060
11060
|
o && nR(n == null || (i = n.render) === null || i === void 0 ? void 0 : i.el, t.value.video.isMirrored);
|
|
11061
|
-
})), un()), videoRenderEpics22: (e) =>
|
|
11061
|
+
})), un()), videoRenderEpics22: (e) => Er(e, lt.MediaStatsLog).pipe(Ct(((t) => {
|
|
11062
11062
|
const { payload: { data: r } } = t;
|
|
11063
11063
|
return ee(Z4, r), f5(r);
|
|
11064
|
-
}))), videoRenderEpics23: (e) =>
|
|
11064
|
+
}))), videoRenderEpics23: (e) => Er(e, lt.CommonQosData).pipe(Ve(((t) => !!t.payload.data)), Ot(((t) => {
|
|
11065
11065
|
const { payload: { data: r } } = t;
|
|
11066
11066
|
ee(eM, r);
|
|
11067
|
-
})), un()) }, i$ = ra(o$, n$, { vbEpics0: (e) =>
|
|
11067
|
+
})), un()) }, i$ = ra(o$, n$, { vbEpics0: (e) => Er(e, [lt.VbModelPreloadingOk, lt.VbModelPreloading_3S, lt.VbModelPreloading_10S, lt.VbSettingParaError]).pipe(Le(((t) => {
|
|
11068
11068
|
const { payload: { type: r, data: n } } = t, o = [];
|
|
11069
11069
|
return [lt.VbModelPreloadingOk, lt.VbModelPreloading_3S, lt.VbModelPreloading_10S].includes(r) ? (o.push(lC(!0)), ee(gb, !0), r === lt.VbModelPreloading_10S && console.warn("Virtual Background is taking longer than expected to load.")) : r === lt.VbSettingParaError && (n === i4.VBModelNotMatch ? (ee(gb, !1), o.push(lC(!1))) : (ee(TE, !1), o.push(Pb(!1)))), pt(o);
|
|
11070
|
-
}))), vbEpics1: (e) =>
|
|
11070
|
+
}))), vbEpics1: (e) => Er(e, lt.StartVideoStreamInVbSettingSuccess).pipe(Ct((() => (ee(TE, !0), Pb(!0))))), vbEpics2: (e) => Er(e, lt.StartVideoStreamInMaskSettingSuccess).pipe(Ct((() => (ee(DE, !0), Lb(!0))))), vbEpics3: (e) => Er(e, lt.MaskSettingParaError).pipe(Ct((() => (ee(DE, !1), Lb(!1))))) }, r$);
|
|
11071
11071
|
let cl = (function(e) {
|
|
11072
11072
|
return e.VIDEO_ENCODE = "0", e.VIDEO_DECODE = "1", e.AUDIO_ENCODE = "2", e.AUDIO_DECODE = "3", e.SHARING_ENCODE = "4", e.SHARING_DECODE = "5", e;
|
|
11073
11073
|
})({}), vg = (function(e) {
|
|
@@ -11428,16 +11428,16 @@ const Js = sn.createAgent(), zi = na(cr.getInstance()), Kl = sn.createAgent(), y
|
|
|
11428
11428
|
})), [`${tk}`]: () => ({ ...Y2 }) }, Y2), f$ = { annotationEpics0: (e, t) => e.pipe(Nt(`${ta}`), Ct((() => {
|
|
11429
11429
|
const { meeting: { mediaFeatureOptions: r } } = t.value, n = r ? cr.getAnnotationCapability(r) : 0;
|
|
11430
11430
|
return Y8(n);
|
|
11431
|
-
}))), annotationEpics1: (e) =>
|
|
11431
|
+
}))), annotationEpics1: (e) => Er(e, [lt.StartAnnotationSuccess, lt.StartAnnotationFailed]).pipe(Ot(((t) => {
|
|
11432
11432
|
const { payload: { data: r, type: n } } = t;
|
|
11433
11433
|
n === lt.StartAnnotationSuccess ? ee(jE) : n === lt.StartAnnotationFailed && ee(jE, r);
|
|
11434
11434
|
})), Le((() => Gt))), annotationEpics2: (e) => Et(e, 20241).pipe(Ct(((t) => {
|
|
11435
11435
|
const { activeNodeID: r, annotationOff: n } = t.payload.body;
|
|
11436
11436
|
return ee(yA, { userId: r, isAnnotationEnabled: n === 0 }), ul({ userId: r, isDisabled: n === 1 });
|
|
11437
|
-
}))), annotationEpics3: (e, t) =>
|
|
11437
|
+
}))), annotationEpics3: (e, t) => Er(e, lt.AnnotationRedoStatus).pipe(Qt(t), Ot((([r, n]) => {
|
|
11438
11438
|
const { payload: { data: o } } = r, { share: { activeSsrc: i, ssrc: a, annotationUsers: s } } = n;
|
|
11439
11439
|
s.filter(((l) => [i, a].includes(l.ssrc))).some(((l) => l.isInitialized)) && ee(kM, o);
|
|
11440
|
-
})), Le((() => Gt))), annotationEpics4: (e, t) =>
|
|
11440
|
+
})), Le((() => Gt))), annotationEpics4: (e, t) => Er(e, lt.AnnotationUndoStatus).pipe(Qt(t), Ot((([r, n]) => {
|
|
11441
11441
|
const { payload: { data: o } } = r, { share: { activeSsrc: i, ssrc: a, annotationUsers: s } } = n;
|
|
11442
11442
|
s.filter(((l) => [i, a].includes(l.ssrc))).some(((l) => l.isInitialized)) && ee(MM, o);
|
|
11443
11443
|
})), Le((() => Gt))), annotationEpics5: (e, t) => Et(e, Un).pipe(Ct(((r) => Nl(r.payload.body))), Qt(t), Ot((([r, n]) => {
|
|
@@ -11449,7 +11449,7 @@ const Js = sn.createAgent(), zi = na(cr.getInstance()), Kl = sn.createAgent(), y
|
|
|
11449
11449
|
Gl.updateSharingInfo(o, (s == null ? void 0 : s.displayName) || "");
|
|
11450
11450
|
}
|
|
11451
11451
|
}
|
|
11452
|
-
})), Le((() => Gt))), annotationEpics6: (e, t) =>
|
|
11452
|
+
})), Le((() => Gt))), annotationEpics6: (e, t) => Er(e, lt.AnnoViewerRequestDraw).pipe(Qt(t), Ot((([r, n]) => {
|
|
11453
11453
|
const { payload: { data: o } } = r, { breakoutRoom: i, participants: { attendeesList: a } } = n, { userId: s } = o;
|
|
11454
11454
|
if (ee(LM, o), s) {
|
|
11455
11455
|
var l, c;
|
|
@@ -11506,7 +11506,7 @@ const Js = sn.createAgent(), zi = na(cr.getInstance()), Kl = sn.createAgent(), y
|
|
|
11506
11506
|
}))), remoteControlEpics2: (e, t) => Et(e, 16395).pipe(Qt(t), Ve((([r, n]) => r.payload.body.id === n.meeting.userId)), Ct((([r]) => {
|
|
11507
11507
|
const { payload: { body: { bOn: n } } } = r;
|
|
11508
11508
|
return yl.updateRemoteControlProperties({ isControllerNow: n }), ee(Rd, n), My(n);
|
|
11509
|
-
}))), remoteControlEpics3: (e) =>
|
|
11509
|
+
}))), remoteControlEpics3: (e) => Er(e, [lt.StartRemoteControlSuccess, lt.StartRemoteControlFailed, lt.CancelRemoteControlSuccess]).pipe(gg(((t) => t.payload.type === lt.StartRemoteControlSuccess ? (ee(TM), QC(!0)) : t.payload.type === lt.CancelRemoteControlSuccess ? QC(!1) : void (t.payload.type === lt.StartRemoteControlFailed && ee(OM))))), remoteControlEpics4: (e) => Er(e, [lt.RemoteControlCopiedTextNotify, lt.RemoteControlPasteTextLengthOverflow]).pipe(Ot(((t) => {
|
|
11510
11510
|
if (t.payload.type === lt.RemoteControlCopiedTextNotify) {
|
|
11511
11511
|
const { payload: { data: r } } = t;
|
|
11512
11512
|
ee(LE, { content: r.data, x: r.x, y: r.y });
|
|
@@ -11580,9 +11580,9 @@ const Js = sn.createAgent(), zi = na(cr.getInstance()), Kl = sn.createAgent(), y
|
|
|
11580
11580
|
})(r).then((() => {
|
|
11581
11581
|
Fy.log("qr scanning start"), n.startRemoteControlQRCheck(!0);
|
|
11582
11582
|
}));
|
|
11583
|
-
})(t.value, yl), pt([_l(""), sf(0)]))))), remoteControlEpics12: (e) =>
|
|
11583
|
+
})(t.value, yl), pt([_l(""), sf(0)]))))), remoteControlEpics12: (e) => Er(e, lt.CurrentDesktopSharingWidthHeight).pipe(Ot((() => {
|
|
11584
11584
|
Kl.syncSharedContentMetaWithRcApp(yl.getShareStreamInfo());
|
|
11585
|
-
})), Ko(Gt)), remoteControlEpics13: (e, t) =>
|
|
11585
|
+
})), Ko(Gt)), remoteControlEpics13: (e, t) => Er(e, lt.SendRemoteControlQrCode).pipe(Ot(((r) => {
|
|
11586
11586
|
const { payload: { data: n } } = r, { share: { status: o } } = t.value;
|
|
11587
11587
|
o !== kr.End && Array.isArray(n) && n.length > 0 && n.forEach(((i) => {
|
|
11588
11588
|
i != null && i.startsWith("zrc_") && Kl.sendRemoteControlAuth(i);
|
|
@@ -11664,18 +11664,18 @@ const Js = sn.createAgent(), zi = na(cr.getInstance()), Kl = sn.createAgent(), y
|
|
|
11664
11664
|
a && Object.assign(d, { isFromMainSession: !0 }), ee(md, d);
|
|
11665
11665
|
}
|
|
11666
11666
|
return c.push(af(l)), pt(c);
|
|
11667
|
-
}))), epics3: (e, t) =>
|
|
11667
|
+
}))), epics3: (e, t) => Er(e, [lt.SharingDesktopStreamHaveAudio, lt.SharingDesktopStreamHaveNoAudio]).pipe(Ve(((r) => r.payload.type !== lt.SharingDesktopStreamHaveAudio || !t.value.audio.secondaryAudioMicrophoneId)), Qt(t), Ct((([r, n]) => {
|
|
11668
11668
|
const { meeting: { userId: o }, share: { isSharingToBreakoutRoom: i, isOptimizedForSharedVideo: a } } = n, { payload: { type: s } } = r, l = s === lt.SharingDesktopStreamHaveAudio;
|
|
11669
11669
|
return Js.startSharing(o, { bShareToBO: i, bShareAudio: l, bShareVideo: !!a }), zi.switchSharingMode(a ? kp.VideoMode : kp.Normal), c2(!1);
|
|
11670
|
-
}))), epics4: (e) =>
|
|
11670
|
+
}))), epics4: (e) => Er(e, [lt.DesktopSharingError, lt.DesktopSharingChromeExtensionUninstalled, lt.DesktopSharingPermissionDenied, lt.DesktopSharingSystemError]).pipe(Le(((t) => {
|
|
11671
11671
|
const r = [];
|
|
11672
11672
|
let n = "";
|
|
11673
11673
|
return [lt.DesktopSharingPermissionDenied, lt.DesktopSharingSystemError].includes(t.payload.type) && (r.push(c2(!0)), t.payload.type === lt.DesktopSharingSystemError ? Jt.isMacOS && (n = "To use screen share on Chrome, please allow screen recording access in system setting.") : n = "To use screen share, please allow the permission request."), ee(SM, { reason: n }), pt(r);
|
|
11674
|
-
}))), epics5: (e, t) =>
|
|
11674
|
+
}))), epics5: (e, t) => Er(e, lt.CurrentDesktopSharingWidthHeight).pipe(Ve(((r) => !!r.payload.data)), Ct(((r) => {
|
|
11675
11675
|
ee(mA, { ...r.payload.data, userId: t.value.meeting.userId });
|
|
11676
11676
|
const { payload: { data: { width: n, height: o } } } = r;
|
|
11677
11677
|
return zi.ajustmentSharingCanvas(n, o), QA(r.payload.data);
|
|
11678
|
-
}))), epics6: (e, t) =>
|
|
11678
|
+
}))), epics6: (e, t) => Er(e, lt.SharingDecodeMaxSize).pipe(Ve(((r) => !!r.payload.data)), Qt(t), gg((([r, n]) => {
|
|
11679
11679
|
const { share: { shareQuality: o, activeNodeId: i, shareViewAttachments: a } } = n, { payload: { data: { fps: s } } } = r, l = Number(s);
|
|
11680
11680
|
if (o !== l) return ld(n) ? uf(Js, n, i, l) : Object.entries(a).filter((([, c]) => c.length > 0)).forEach((([c]) => {
|
|
11681
11681
|
uf(Js, n, Number(c), l);
|
|
@@ -11686,7 +11686,7 @@ const Js = sn.createAgent(), zi = na(cr.getInstance()), Kl = sn.createAgent(), y
|
|
|
11686
11686
|
const { payload: { body: { width: i, height: a } } } = r;
|
|
11687
11687
|
ld(t.value) && zi.ajustmentReceivedSharingCanvas(i, a);
|
|
11688
11688
|
}
|
|
11689
|
-
})), Ct(((r) => Qb(r.payload.body)))), epics8: (e, t) =>
|
|
11689
|
+
})), Ct(((r) => Qb(r.payload.body)))), epics8: (e, t) => Er(e, lt.SharingPara).pipe(Ot(((r) => {
|
|
11690
11690
|
var n, o;
|
|
11691
11691
|
if (ee(bb, (n = r.payload.data) === null || n === void 0 ? void 0 : n.body), (o = r.payload.data) !== null && o !== void 0 && o.body) {
|
|
11692
11692
|
const { payload: { data: { body: { width: i, height: a } } } } = r;
|
|
@@ -11695,7 +11695,7 @@ const Js = sn.createAgent(), zi = na(cr.getInstance()), Kl = sn.createAgent(), y
|
|
|
11695
11695
|
})), Ct(((r) => {
|
|
11696
11696
|
var n;
|
|
11697
11697
|
return Qb((n = r.payload.data) === null || n === void 0 ? void 0 : n.body);
|
|
11698
|
-
}))), epics9: (e, t) =>
|
|
11698
|
+
}))), epics9: (e, t) => Er(e, lt.UserStopDesktopSharing).pipe(Qt(t), Ct((([, r]) => {
|
|
11699
11699
|
const { meeting: { userId: n }, share: { status: o } } = r;
|
|
11700
11700
|
return o !== kr.End && (Js.stopSharing(n), zi.stopDesktopSharing(), ee(EM)), Ra(kr.End);
|
|
11701
11701
|
}))), epics10: (e, t) => Et(e, Un).pipe(Qt(t), Ve((([r, n]) => {
|
|
@@ -11755,7 +11755,7 @@ const Js = sn.createAgent(), zi = na(cr.getInstance()), Kl = sn.createAgent(), y
|
|
|
11755
11755
|
pi("sharing", "success", o).subscribe((([, l]) => {
|
|
11756
11756
|
l && zi.removeReceivedSharingChannelType({ isFromMainSession: s, ssrc: a });
|
|
11757
11757
|
}));
|
|
11758
|
-
})), Ko(Gt)), epics15: (e) =>
|
|
11758
|
+
})), Ko(Gt)), epics15: (e) => Er(e, lt.SharingFirstDecodeFrameReceivedSsrc).pipe(Ve(((t) => !!t.payload.data)), Ot(((t) => {
|
|
11759
11759
|
const { payload: { data: { ssrc: r } } } = t;
|
|
11760
11760
|
Js.sendReceivingSharingReady(r);
|
|
11761
11761
|
})), Ko(Gt)), epics16: (e, t) => Et(e, 20233).pipe(Ve((() => !!t.value.share.isRequireReadReceipt)), Ot(((r) => {
|
|
@@ -11767,7 +11767,7 @@ const Js = sn.createAgent(), zi = na(cr.getInstance()), Kl = sn.createAgent(), y
|
|
|
11767
11767
|
})), Le(((r) => {
|
|
11768
11768
|
const { payload: { body: { lockShare: n } } } = r, { share: { isOptimizedForSharedVideo: o, isSharingToBreakoutRoom: i }, audio: { isSharingAudio: a }, meeting: { userId: s } } = t.value, l = [];
|
|
11769
11769
|
return n === Ss.MultipleShare && o && (Js.startSharing(s, { bShareWb: !1, bShareAudio: a, bShareToBO: i, bShareVideo: !1 }), zi.switchSharingMode(kp.Normal), l.push(H0(!1))), pt(l);
|
|
11770
|
-
}))), epics18: (e, t) =>
|
|
11770
|
+
}))), epics18: (e, t) => Er(e, lt.ShareQosData).pipe(Qt(t), Ct((([r, n]) => {
|
|
11771
11771
|
var o, i;
|
|
11772
11772
|
const { meeting: { isWebinar: a }, media: { sharingEncodeStatus: s, sharingDecodeStatus: l }, share: { status: c, isReceiveSharing: d }, participants: { xmppAttendeeList: p } } = n;
|
|
11773
11773
|
let m = wA(n).length > 0;
|
|
@@ -12849,7 +12849,7 @@ function Va(e, t, r) {
|
|
|
12849
12849
|
})));
|
|
12850
12850
|
}
|
|
12851
12851
|
function Zu(e, t, r, n) {
|
|
12852
|
-
return
|
|
12852
|
+
return Er(e, r).pipe(Va(e, t, n));
|
|
12853
12853
|
}
|
|
12854
12854
|
function df(e, t, r, n) {
|
|
12855
12855
|
return Et(e, r).pipe(Va(e, t, n));
|
|
@@ -12904,7 +12904,7 @@ const sa = Ri.getInstance(), v1 = () => {
|
|
|
12904
12904
|
e.isLaplaceInitialized = t;
|
|
12905
12905
|
})), [`${M7}`]: ie(((e, { payload: t }) => {
|
|
12906
12906
|
e.isLogDetailed = t;
|
|
12907
|
-
})), [`${k7}`]: ({ options: e, isLogDetailed: t }, { payload: r }) => r ? { ...y1, isLogDetailed: t, options: e } : { ...y1 } }, y1), vW = { mlEpics0: (e, t) =>
|
|
12907
|
+
})), [`${k7}`]: ({ options: e, isLogDetailed: t }, { payload: r }) => r ? { ...y1, isLogDetailed: t, options: e } : { ...y1 } }, y1), vW = { mlEpics0: (e, t) => Er(e, [eW, tW, rW, nW, oW, iW]).pipe(Va(e, t, ((r) => {
|
|
12908
12908
|
const { payload: { type: n, data: o } } = r, { meeting: { userId: i } } = t.value, a = (function(s, l) {
|
|
12909
12909
|
const c = J$[`${s}`];
|
|
12910
12910
|
if (c) {
|
|
@@ -12969,7 +12969,7 @@ const sa = Ri.getInstance(), v1 = () => {
|
|
|
12969
12969
|
const r = document.visibilityState !== "visible", { video: { subscribedVideoList: n }, meeting: { userId: o } } = t.value, i = n.filter(((a) => a !== o)).length > 0;
|
|
12970
12970
|
r && i && (sn.createAgent().sendRWGConnectionPerformance("VCSV"), Ka.makeLogger(["Video"]).warn("Still subscribing videos after switching to background"));
|
|
12971
12971
|
}), 1e3);
|
|
12972
|
-
}))), mlEpics9: (e) =>
|
|
12972
|
+
}))), mlEpics9: (e) => Er(e, lt.InitSuccessVideo).pipe(Ve(((t) => t.payload.data === Sa.EncodeSuccess && Jt.isAndroidOrIOSBrowser)), qr((() => {
|
|
12973
12973
|
const t = Ka.makeLogger(["Video"]);
|
|
12974
12974
|
return t.info("Screen orientation: " + (N6() ? "landscape" : "portrait")), M6().pipe(Ot(((r) => {
|
|
12975
12975
|
t.info("Screen orientation changes, current orientation: " + (r ? "landscape" : "portrait"));
|
|
@@ -16683,7 +16683,7 @@ const az = { epics0: (e) => e.pipe(Nt(`${ta}`), Ct(((t) => {
|
|
|
16683
16683
|
a && !m || ee(vs, { autoCaption: !0, sessionLang: p, sessionLanguage: (d = s.find(((y) => y.code === p))) === null || d === void 0 ? void 0 : d.lang }), (o == null ? void 0 : o.audio) === ln.Computer && m && kw(p), c.push(cc(p));
|
|
16684
16684
|
}
|
|
16685
16685
|
return pt(c);
|
|
16686
|
-
}))), epics7: (e, t) =>
|
|
16686
|
+
}))), epics7: (e, t) => Er(e, lt.JoinComputerAudioComplete).pipe(Ve((() => {
|
|
16687
16687
|
const { liveTranscription: { transcriptionMode: r, isLiveTranscriptionSubscribed: n, currentTranscriptionLang: o } } = t.value;
|
|
16688
16688
|
return o !== void 0 && (r === pf.Individual || r === pf.Session && n);
|
|
16689
16689
|
})), Ot((() => {
|
|
@@ -16758,7 +16758,7 @@ const az = { epics0: (e) => e.pipe(Nt(`${ta}`), Ct(((t) => {
|
|
|
16758
16758
|
}));
|
|
16759
16759
|
}
|
|
16760
16760
|
})();
|
|
16761
|
-
})), un()), epics11: (e, t) =>
|
|
16761
|
+
})), un()), epics11: (e, t) => Er(e, [lt.AudiobridgeSetCcLangSuccess, lt.AudiobridgeSetCcLangFailure]).pipe(Le(((r) => {
|
|
16762
16762
|
const { payload: { type: n, data: o } } = r, { liveTranscription: { currentTranscriptionLang: i } } = t.value, a = [];
|
|
16763
16763
|
return n === lt.AudiobridgeSetCcLangSuccess && o !== i ? a.push(cc(o)) : n === lt.AudiobridgeSetCcLangFailure && a.push(cc(void 0)), pt(a);
|
|
16764
16764
|
}))), epics12: (e) => Et(e, 8014).pipe(Ve(((t) => !!t.payload.body)), Le(((t) => {
|
|
@@ -17468,7 +17468,7 @@ const vD = { isWhiteboardEnabled: !1, isWhiteboardShareOptionsLocked: !1, isWhit
|
|
|
17468
17468
|
return !1;
|
|
17469
17469
|
})), Eo(fa), Ot((() => {
|
|
17470
17470
|
gp(t.value);
|
|
17471
|
-
})), un()), moduleEpics16: (e) =>
|
|
17471
|
+
})), un()), moduleEpics16: (e) => Er(e, lt.WhiteboardSuccess).pipe(Ve(((t) => !!t.payload.data)), Ot(((t) => {
|
|
17472
17472
|
const { payload: { data: r } } = t;
|
|
17473
17473
|
cs.passThoughMessage(r.data);
|
|
17474
17474
|
})), un()), moduleEpics17: (e, t) => e.pipe(Nt(`${ns}`), Ve(((r) => {
|
|
@@ -18623,7 +18623,7 @@ const _D = { zoomSocketStatus: An.Closed, xmppSocketStatus: An.Closed, mainSessi
|
|
|
18623
18623
|
o && (li.connect({ svcUrl: i, meetingNumber: a, conId: s, confId: A, e2eEncrypt: l, isViewOnly: mi(o.userRole), currentUserId: c, isWebinar: d, reportDomain: v, abToken: C ?? "", enableWebtransport: !!p, webtransportPort: m ?? 0, isWebRtcVideoCapable: y, isWebRtcAudioCapable: !(D == null || !D.isWebRtcAudioCapable), rendererType: ($ = F == null ? void 0 : F.rendererType) !== null && $ !== void 0 ? $ : 0, webrtcMode: rB(!(D == null || !D.isWebRtcAudioCapable), y, !!((D == null ? void 0 : D.webRtcAudioMode) & a4.WebRTCAudio2)), mediasdkConfig: b ?? {}, enforceMultipleVideos: x, disableRenderLimits: k }), cr.initVideoPlayer({ mediaSDK: () => li.instance, tagName: R, failover: "1" }));
|
|
18624
18624
|
}));
|
|
18625
18625
|
})), qr((() => Fl(((r) => li.registerCallback(r)), ((r) => li.unregisterCallback(r)), ((r, n) => ({ type: r, data: n }))).pipe(Ct(((r) => j5(r))))))), epics3: (e) => {
|
|
18626
|
-
return
|
|
18626
|
+
return Er(e, [H1, U1, $1, W1, z1, K1]).pipe((t = (r) => {
|
|
18627
18627
|
const { payload: { type: n, data: o } } = r;
|
|
18628
18628
|
if (n === U1 || n === z1) {
|
|
18629
18629
|
if (o === Sa.EncodeSuccess) return ee(BM), Ln(IC("success"));
|
|
@@ -18644,7 +18644,7 @@ const _D = { zoomSocketStatus: An.Closed, xmppSocketStatus: An.Closed, mainSessi
|
|
|
18644
18644
|
}
|
|
18645
18645
|
}, Ic(Le(((r, n) => t(r) || Gt)))));
|
|
18646
18646
|
var t;
|
|
18647
|
-
}, epics4: (e, t) =>
|
|
18647
|
+
}, epics4: (e, t) => Er(e, [H1, U1]).pipe(qr((() => typeof navigator.mediaDevices == "object" ? qo($d(), qo(Er(e, lt.StartVideoCaptureSuccess), Er(e, lt.DeviceChangeEvent), Er(e, lt.UserGrantCaptureAudio).pipe(Ve((() => !t.value.audio.isUserGrantCaptureAudio))), Er(e, lt.JoinComputerAudioComplete).pipe(Ve(((r) => {
|
|
18648
18648
|
var n;
|
|
18649
18649
|
return !((n = r.payload.data) === null || n === void 0 || !n.isPassive);
|
|
18650
18650
|
}))), pn(BE).pipe(Ve(((r) => r.state === "granted")))).pipe(Le((() => $d().pipe(Ot((() => {
|
|
@@ -18685,7 +18685,7 @@ const _D = { zoomSocketStatus: An.Closed, xmppSocketStatus: An.Closed, mainSessi
|
|
|
18685
18685
|
}
|
|
18686
18686
|
li.updateUserMediaSN({ removed: o.remove.map(((a) => a.id)), isFromMainSession: i, iVType: cl.SHARING_DECODE }), i && li.updateUserMediaSN({ removed: o.remove.map(((a) => a.id)), isFromMainSession: i, iVType: cl.AUDIO_DECODE });
|
|
18687
18687
|
}
|
|
18688
|
-
})), un()), epics6: (e) =>
|
|
18688
|
+
})), un()), epics6: (e) => Er(e, lt.AesGcmIvResponse).pipe(Ot(((t) => {
|
|
18689
18689
|
const { payload: { data: { workerType: r, iv: n } } } = t, o = Wr.get(In.WebclientIVState);
|
|
18690
18690
|
if (o) {
|
|
18691
18691
|
const i = { ...o, [r]: n };
|
|
@@ -18711,7 +18711,7 @@ const _D = { zoomSocketStatus: An.Closed, xmppSocketStatus: An.Closed, mainSessi
|
|
|
18711
18711
|
}));
|
|
18712
18712
|
})) : Gt)), un()), epics11: (e) => e.pipe(Nt(`${PA}`), Ve(((t) => t.payload === gi.Closed)), Ot((() => {
|
|
18713
18713
|
Sv.length > 0 && (Sv.forEach(((t) => t())), Sv.length = 0);
|
|
18714
|
-
})), un()), epics12: (e, t) =>
|
|
18714
|
+
})), un()), epics12: (e, t) => Er(e, [xD, W1, z1, K1, DD, ND, MD, kD, LD, FD, jD, VD, BD, HD]).pipe(Le(((r) => {
|
|
18715
18715
|
const { payload: { type: n, data: o } } = r;
|
|
18716
18716
|
let i, a;
|
|
18717
18717
|
if (n === DD || n === BD) i = { message: "Audio connection failed. Please refresh your browser to reconnect.", type: "audio", code: Ma.AudioConnectionFailed };
|
|
@@ -18726,13 +18726,13 @@ const _D = { zoomSocketStatus: An.Closed, xmppSocketStatus: An.Closed, mainSessi
|
|
|
18726
18726
|
} else if (n === jD) {
|
|
18727
18727
|
const l = "audio";
|
|
18728
18728
|
let [c, d] = [0, ""];
|
|
18729
|
-
o ? (c = Ma.MicrophoneMuted, d = "Your mic is muted in system or browser settings. Please open your settings to unmute and adjust the level.") : (c = Ma.AudioStreamMuted, d = "Audio was interrupted by the system. Please click anywhere to resume playback.", a = oC().pipe(Jo(
|
|
18729
|
+
o ? (c = Ma.MicrophoneMuted, d = "Your mic is muted in system or browser settings. Please open your settings to unmute and adjust the level.") : (c = Ma.AudioStreamMuted, d = "Audio was interrupted by the system. Please click anywhere to resume playback.", a = oC().pipe(Jo(Er(e, lt.AudioStreamUnmuted).pipe(jr(1))), Ot((() => {
|
|
18730
18730
|
x6(li, t.value);
|
|
18731
18731
|
})))), i = { message: d, type: l, code: c };
|
|
18732
18732
|
} else if (n === VD) o === !1 && (i = { message: "Audio playback was interrupted. Please click anywhere to resume playback.", type: "audio", code: Ma.AudioPlaybackInterrupted });
|
|
18733
18733
|
else if (n === HD && t.value.video.isCurrentUserStartedVideo) {
|
|
18734
18734
|
const l = "video", c = Ma.VideoStreamMuted;
|
|
18735
|
-
a = oC().pipe(Jo(
|
|
18735
|
+
a = oC().pipe(Jo(Er(e, lt.VideoStreamUnmuted).pipe(jr(1))), Ot((() => {
|
|
18736
18736
|
(function(p, m) {
|
|
18737
18737
|
const { video: { isCurrentUserStartedVideo: y, activeCamera: b, isUsingMediaPlayback: v, customizedVideoOption: C } } = m;
|
|
18738
18738
|
if (y && !v) {
|
|
@@ -18747,7 +18747,7 @@ const _D = { zoomSocketStatus: An.Closed, xmppSocketStatus: An.Closed, mainSessi
|
|
|
18747
18747
|
})), un()), epics13: (e) => Et(e, 4366).pipe(Ot(((t) => {
|
|
18748
18748
|
const { payload: r } = t;
|
|
18749
18749
|
li.bypassMediaMessage(r);
|
|
18750
|
-
})), un()), epics14: (e, t) =>
|
|
18750
|
+
})), un()), epics14: (e, t) => Er(e, lt.NotifyUIFailover).pipe(Ve((() => !t.value.meeting.isMeetingReset && t.value.meeting.meetingStatus === gi.Joined)), Ct(((r) => {
|
|
18751
18751
|
const { payload: { data: n } } = r;
|
|
18752
18752
|
ee(Ba, { reason: ca.Failover });
|
|
18753
18753
|
let o = wi.NotifyUiFailover;
|
|
@@ -23768,15 +23768,15 @@ var Hl = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
23768
23768
|
});
|
|
23769
23769
|
} else !o.onBeforeHide && !Vr("hideDelay") && l(!1);
|
|
23770
23770
|
}, tn = function(ye, $e, Kt) {
|
|
23771
|
-
var Yt = 0, Xt = 0,
|
|
23772
|
-
if ((nt(ye) ||
|
|
23771
|
+
var Yt = 0, Xt = 0, Cr = Kt || p;
|
|
23772
|
+
if ((nt(ye) || Cr == "mouse") && $e) {
|
|
23773
23773
|
var Wt = {
|
|
23774
23774
|
width: se.getOuterWidth(ne.current),
|
|
23775
23775
|
height: se.getOuterHeight(ne.current)
|
|
23776
23776
|
};
|
|
23777
23777
|
Yt = $e.x, Xt = $e.y;
|
|
23778
23778
|
var Ye = je(ye), St = Ye.top, Bt = Ye.left;
|
|
23779
|
-
switch (
|
|
23779
|
+
switch (Cr) {
|
|
23780
23780
|
case "left":
|
|
23781
23781
|
Yt = Yt - (Wt.width + Bt), Xt = Xt - (Wt.height / 2 - St);
|
|
23782
23782
|
break;
|
|
@@ -23793,7 +23793,7 @@ var Hl = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
23793
23793
|
}
|
|
23794
23794
|
Yt <= 0 || Oe.current.width > Wt.width ? (ne.current.style.left = "0px", ne.current.style.right = window.innerWidth - Wt.width - Yt + "px") : (ne.current.style.right = "", ne.current.style.left = Yt + "px"), ne.current.style.top = Xt + "px", se.addClass(ne.current, "p-tooltip-active");
|
|
23795
23795
|
} else {
|
|
23796
|
-
var lr = se.findCollisionPosition(
|
|
23796
|
+
var lr = se.findCollisionPosition(Cr), Nr = ht(ye, "my") || o.my || lr.my, hn = ht(ye, "at") || o.at || lr.at;
|
|
23797
23797
|
ne.current.style.padding = "0px", se.flipfitCollision(ne.current, ye, Nr, hn, function(jn) {
|
|
23798
23798
|
var to = jn.at, yn = to.x, Ae = to.y, Qe = jn.my.x, Ee = o.at ? yn !== "center" && yn !== Qe ? yn : Ae : jn.at["".concat(lr.axis)];
|
|
23799
23799
|
ne.current.style.padding = "", m(Ee), zr(Ee), se.addClass(ne.current, "p-tooltip-active");
|
|
@@ -23811,19 +23811,19 @@ var Hl = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
23811
23811
|
}, Hr = function(ye) {
|
|
23812
23812
|
if (ye) {
|
|
23813
23813
|
var $e = ur(ye), Kt = $e.showEvents, Yt = $e.hideEvents, Xt = rn(ye);
|
|
23814
|
-
Kt.forEach(function(
|
|
23815
|
-
return Xt == null ? void 0 : Xt.addEventListener(
|
|
23816
|
-
}), Yt.forEach(function(
|
|
23817
|
-
return Xt == null ? void 0 : Xt.addEventListener(
|
|
23814
|
+
Kt.forEach(function(Cr) {
|
|
23815
|
+
return Xt == null ? void 0 : Xt.addEventListener(Cr, dr);
|
|
23816
|
+
}), Yt.forEach(function(Cr) {
|
|
23817
|
+
return Xt == null ? void 0 : Xt.addEventListener(Cr, mr);
|
|
23818
23818
|
});
|
|
23819
23819
|
}
|
|
23820
23820
|
}, Ur = function(ye) {
|
|
23821
23821
|
if (ye) {
|
|
23822
23822
|
var $e = ur(ye), Kt = $e.showEvents, Yt = $e.hideEvents, Xt = rn(ye);
|
|
23823
|
-
Kt.forEach(function(
|
|
23824
|
-
return Xt == null ? void 0 : Xt.removeEventListener(
|
|
23825
|
-
}), Yt.forEach(function(
|
|
23826
|
-
return Xt == null ? void 0 : Xt.removeEventListener(
|
|
23823
|
+
Kt.forEach(function(Cr) {
|
|
23824
|
+
return Xt == null ? void 0 : Xt.removeEventListener(Cr, dr);
|
|
23825
|
+
}), Yt.forEach(function(Cr) {
|
|
23826
|
+
return Xt == null ? void 0 : Xt.removeEventListener(Cr, mr);
|
|
23827
23827
|
});
|
|
23828
23828
|
}
|
|
23829
23829
|
}, Vr = function(ye) {
|
|
@@ -23873,8 +23873,8 @@ var Hl = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
23873
23873
|
$e(ye);
|
|
23874
23874
|
else {
|
|
23875
23875
|
var Kt = function(Xt) {
|
|
23876
|
-
var
|
|
23877
|
-
|
|
23876
|
+
var Cr = se.find(document, Xt);
|
|
23877
|
+
Cr.forEach(function(Wt) {
|
|
23878
23878
|
$e(Wt);
|
|
23879
23879
|
});
|
|
23880
23880
|
};
|
|
@@ -23933,11 +23933,11 @@ var Hl = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
23933
23933
|
style: o.style,
|
|
23934
23934
|
role: "tooltip",
|
|
23935
23935
|
"aria-hidden": s,
|
|
23936
|
-
onMouseEnter: function(
|
|
23936
|
+
onMouseEnter: function(Cr) {
|
|
23937
23937
|
return Zr();
|
|
23938
23938
|
},
|
|
23939
|
-
onMouseLeave: function(
|
|
23940
|
-
return xr(
|
|
23939
|
+
onMouseLeave: function(Cr) {
|
|
23940
|
+
return xr(Cr);
|
|
23941
23941
|
}
|
|
23942
23942
|
}, Av.getOtherProps(o), G("root")), Kt = r({
|
|
23943
23943
|
className: Y("arrow"),
|
|
@@ -24944,7 +24944,7 @@ var Q0 = /* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
24944
24944
|
}, ye = function() {
|
|
24945
24945
|
Xt();
|
|
24946
24946
|
}, $e = function() {
|
|
24947
|
-
|
|
24947
|
+
Cr();
|
|
24948
24948
|
}, Kt = function() {
|
|
24949
24949
|
var Ee = document.primeDialogParams && document.primeDialogParams.some(function(Re) {
|
|
24950
24950
|
return Re.hasBlockScroll;
|
|
@@ -24968,7 +24968,7 @@ var Q0 = /* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
24968
24968
|
Kt();
|
|
24969
24969
|
}, Xt = function() {
|
|
24970
24970
|
o.draggable && (je(), mr()), o.resizable && (nt(), ht());
|
|
24971
|
-
},
|
|
24971
|
+
}, Cr = function() {
|
|
24972
24972
|
qt(), tn(), ot(), $t();
|
|
24973
24973
|
}, Wt = function() {
|
|
24974
24974
|
Oe.current = se.createInlineStyle(n && n.nonce || $r.nonce, n && n.styleContainer);
|
|
@@ -25480,17 +25480,17 @@ const Y9 = Vl({
|
|
|
25480
25480
|
header: "",
|
|
25481
25481
|
message: "",
|
|
25482
25482
|
visible: !1
|
|
25483
|
-
}), l =
|
|
25483
|
+
}), l = Sr(({ tab: v }) => {
|
|
25484
25484
|
const C = v ?? rs.Audio;
|
|
25485
25485
|
r((A) => ({ visible: !A.visible, tab: C }));
|
|
25486
|
-
}, []), c =
|
|
25486
|
+
}, []), c = Sr(() => {
|
|
25487
25487
|
o((v) => !v);
|
|
25488
|
-
}, []), d =
|
|
25488
|
+
}, []), d = Sr(({ header: v, message: C, severity: A, clear: R }) => {
|
|
25489
25489
|
var x, k;
|
|
25490
25490
|
R && ((x = i.current) == null || x.clear()), (k = i.current) == null || k.show({ summary: v, detail: C, severity: A });
|
|
25491
|
-
}, []), p =
|
|
25491
|
+
}, []), p = Sr(({ header: v = "Alerta", message: C }) => {
|
|
25492
25492
|
s({ header: v, message: C, visible: !0 });
|
|
25493
|
-
}, []), m =
|
|
25493
|
+
}, []), m = Sr(({ header: v = "Por favor, confirme", message: C, onAccept: A }) => {
|
|
25494
25494
|
PR({ header: v, message: C, accept: A, acceptLabel: v, rejectLabel: "Cerrar" });
|
|
25495
25495
|
}, []), y = () => {
|
|
25496
25496
|
s((v) => ({ ...v, visible: !1 }));
|
|
@@ -25529,9 +25529,9 @@ const Y9 = Vl({
|
|
|
25529
25529
|
ej(/* @__PURE__ */ ae.jsx(U9, { ref: i }), document.body)
|
|
25530
25530
|
] });
|
|
25531
25531
|
}, Z9 = w0(({ children: e }, t) => {
|
|
25532
|
-
const [r] = Pr(() => Oc.createClient()), { credentials: n } = Nf(), { notify: o } = As(), [i, a] = Pr(!1), s =
|
|
25533
|
-
var
|
|
25534
|
-
(
|
|
25532
|
+
const [r] = Pr(() => Oc.createClient()), { credentials: n } = Nf(), { notify: o } = As(), [i, a] = Pr(!1), s = Sr(async () => {
|
|
25533
|
+
var v;
|
|
25534
|
+
(v = r.getSessionInfo()) != null && v.isInMeeting || await r.init("en-US", "Global", {
|
|
25535
25535
|
webEndpoint: (window == null ? void 0 : window.webEndpoint) ?? "zoom.us",
|
|
25536
25536
|
stayAwake: !0,
|
|
25537
25537
|
// Prevents devices from dimming or locking the screen when in a session.
|
|
@@ -25543,64 +25543,62 @@ const Y9 = Vl({
|
|
|
25543
25543
|
enforceVirtualBackground: !0
|
|
25544
25544
|
// Enforces virtual background on browser without SharedArrayBuffer.
|
|
25545
25545
|
});
|
|
25546
|
-
const { sessionName:
|
|
25547
|
-
await r.join(
|
|
25548
|
-
}, [n, r]), l =
|
|
25549
|
-
async ({ finishForAll:
|
|
25550
|
-
await r.leave(
|
|
25546
|
+
const { sessionName: p, signature: m, userName: y, sessionPasscode: b } = n;
|
|
25547
|
+
await r.join(p, m, y, b), a(!0);
|
|
25548
|
+
}, [n, r]), l = Sr(
|
|
25549
|
+
async ({ finishForAll: p }) => {
|
|
25550
|
+
await r.leave(p), a(!1);
|
|
25551
25551
|
},
|
|
25552
25552
|
[r]
|
|
25553
|
-
)
|
|
25554
|
-
|
|
25555
|
-
|
|
25556
|
-
|
|
25557
|
-
|
|
25558
|
-
|
|
25559
|
-
|
|
25560
|
-
d();
|
|
25561
|
-
};
|
|
25562
|
-
}, [r]), YF(
|
|
25553
|
+
), c = Sr(async () => {
|
|
25554
|
+
var p, m, y;
|
|
25555
|
+
await ((p = r.getMediaStream()) == null ? void 0 : p.stopVideo().catch(console.error)), await ((m = r.getMediaStream()) == null ? void 0 : m.stopAudio().catch(console.error)), (y = r.getSessionInfo()) != null && y.isInMeeting && await r.leave().catch(console.error), await Oc.destroyClient().catch(console.error), console.log("SessionProvider cleanup completed");
|
|
25556
|
+
}, [r]);
|
|
25557
|
+
lo(() => () => {
|
|
25558
|
+
c();
|
|
25559
|
+
}, [c, r]), YF(
|
|
25563
25560
|
t,
|
|
25564
|
-
|
|
25561
|
+
Sr(
|
|
25565
25562
|
() => ({
|
|
25563
|
+
cleanup: c,
|
|
25566
25564
|
sessionStarted: i,
|
|
25567
25565
|
joinSession: s,
|
|
25568
25566
|
leaveSession: l
|
|
25569
25567
|
}),
|
|
25570
|
-
[i, s, l]
|
|
25568
|
+
[i, s, l, c]
|
|
25571
25569
|
)
|
|
25572
25570
|
), lo(() => {
|
|
25573
|
-
const
|
|
25574
|
-
if (
|
|
25571
|
+
const p = (m) => {
|
|
25572
|
+
if (m.state === "Closed") {
|
|
25575
25573
|
a(!1);
|
|
25576
|
-
const
|
|
25574
|
+
const y = {
|
|
25577
25575
|
"ended by host": "The session has been ended by the host.",
|
|
25578
25576
|
"kicked by host": "You have been kicked out of the session by the host.",
|
|
25579
25577
|
"expeled by host": "You have been expelled from the session by the host."
|
|
25580
|
-
},
|
|
25581
|
-
|
|
25578
|
+
}, b = m.reason ? y[m.reason] : void 0;
|
|
25579
|
+
b && o({ header: "Session Ended", message: b, severity: "info" });
|
|
25582
25580
|
} else
|
|
25583
|
-
console.log("connection-change: ",
|
|
25581
|
+
console.log("connection-change: ", m);
|
|
25584
25582
|
};
|
|
25585
|
-
return r.on("connection-change",
|
|
25586
|
-
r.off("connection-change",
|
|
25583
|
+
return r.on("connection-change", p), () => {
|
|
25584
|
+
r.off("connection-change", p);
|
|
25587
25585
|
};
|
|
25588
25586
|
}, [r, o]);
|
|
25589
|
-
const
|
|
25587
|
+
const d = Bn(
|
|
25590
25588
|
() => ({
|
|
25591
25589
|
zmClient: r,
|
|
25592
25590
|
signature: n.signature,
|
|
25593
25591
|
sessionStarted: i,
|
|
25594
25592
|
isSessionStarted: () => {
|
|
25595
|
-
var
|
|
25596
|
-
return !!((
|
|
25593
|
+
var p;
|
|
25594
|
+
return !!((p = r.getSessionInfo()) != null && p.isInMeeting);
|
|
25597
25595
|
},
|
|
25598
25596
|
joinSession: s,
|
|
25599
25597
|
leaveSession: l
|
|
25600
25598
|
}),
|
|
25601
25599
|
[r, n.signature, i, s, l]
|
|
25602
25600
|
);
|
|
25603
|
-
return /* @__PURE__ */ ae.jsx(P9.Provider, { value:
|
|
25601
|
+
return /* @__PURE__ */ ae.jsx(P9.Provider, { value: d, children: e });
|
|
25604
25602
|
});
|
|
25605
25603
|
Z9.displayName = "SessionProvider";
|
|
25606
25604
|
var Fq = function() {
|
|
@@ -30174,7 +30172,7 @@ function xJ() {
|
|
|
30174
30172
|
u[f] = this.DM & ~this[f];
|
|
30175
30173
|
return u.t = this.t, u.s = ~this.s, u;
|
|
30176
30174
|
}
|
|
30177
|
-
function
|
|
30175
|
+
function Cr(u) {
|
|
30178
30176
|
var f = m();
|
|
30179
30177
|
return u < 0 ? this.rShiftTo(-u, f) : this.lShiftTo(u, f), f;
|
|
30180
30178
|
}
|
|
@@ -30448,7 +30446,7 @@ function xJ() {
|
|
|
30448
30446
|
}
|
|
30449
30447
|
return !0;
|
|
30450
30448
|
}
|
|
30451
|
-
p.prototype.chunkSize = Hr, p.prototype.toRadix = Vr, p.prototype.fromRadix = Kr, p.prototype.fromNumber = Yr, p.prototype.bitwiseTo = _t, p.prototype.changeBit = hn, p.prototype.addTo = Ae, p.prototype.dMultiply = kt, p.prototype.dAddOffset = qe, p.prototype.multiplyLowerTo = yr, p.prototype.multiplyUpperTo = en, p.prototype.modInt = vr, p.prototype.millerRabin = Nn, p.prototype.clone = tn, p.prototype.intValue = zr, p.prototype.byteValue = Zr, p.prototype.shortValue = xr, p.prototype.signum = Ur, p.prototype.toByteArray = Rn, p.prototype.equals = rn, p.prototype.min = gr, p.prototype.max = it, p.prototype.and = At, p.prototype.or = me, p.prototype.xor = $e, p.prototype.andNot = Yt, p.prototype.not = Xt, p.prototype.shiftLeft =
|
|
30449
|
+
p.prototype.chunkSize = Hr, p.prototype.toRadix = Vr, p.prototype.fromRadix = Kr, p.prototype.fromNumber = Yr, p.prototype.bitwiseTo = _t, p.prototype.changeBit = hn, p.prototype.addTo = Ae, p.prototype.dMultiply = kt, p.prototype.dAddOffset = qe, p.prototype.multiplyLowerTo = yr, p.prototype.multiplyUpperTo = en, p.prototype.modInt = vr, p.prototype.millerRabin = Nn, p.prototype.clone = tn, p.prototype.intValue = zr, p.prototype.byteValue = Zr, p.prototype.shortValue = xr, p.prototype.signum = Ur, p.prototype.toByteArray = Rn, p.prototype.equals = rn, p.prototype.min = gr, p.prototype.max = it, p.prototype.and = At, p.prototype.or = me, p.prototype.xor = $e, p.prototype.andNot = Yt, p.prototype.not = Xt, p.prototype.shiftLeft = Cr, p.prototype.shiftRight = Wt, p.prototype.getLowestSetBit = St, p.prototype.bitCount = lr, p.prototype.testBit = Nr, p.prototype.setBit = jn, p.prototype.clearBit = to, p.prototype.flipBit = yn, p.prototype.add = Qe, p.prototype.subtract = Ee, p.prototype.multiply = Re, p.prototype.divide = ft, p.prototype.remainder = Lt, p.prototype.divideAndRemainder = er, p.prototype.modPow = st, p.prototype.modInverse = pr, p.prototype.pow = ar, p.prototype.gcd = ut, p.prototype.isProbablePrime = fo, p.prototype.square = Ze;
|
|
30452
30450
|
/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/
|
|
30453
30451
|
*/
|
|
30454
30452
|
function Dr() {
|
|
@@ -37274,7 +37272,7 @@ const gL = Vl({
|
|
|
37274
37272
|
throw new Error("useVideoContext must be used within VideoProvider");
|
|
37275
37273
|
return e;
|
|
37276
37274
|
}, DJ = () => {
|
|
37277
|
-
const e = eo(Oc.createLocalVideoTrack()), t = eo(null), [r, n] = Pr(!1), o =
|
|
37275
|
+
const e = eo(Oc.createLocalVideoTrack()), t = eo(null), [r, n] = Pr(!1), o = Sr(
|
|
37278
37276
|
async (l) => {
|
|
37279
37277
|
const c = t.current;
|
|
37280
37278
|
if (!(!c || r)) {
|
|
@@ -37288,11 +37286,11 @@ const gL = Vl({
|
|
|
37288
37286
|
}
|
|
37289
37287
|
},
|
|
37290
37288
|
[r]
|
|
37291
|
-
), i =
|
|
37289
|
+
), i = Sr(async () => {
|
|
37292
37290
|
!t.current || !r || (n(!1), await e.current.stop());
|
|
37293
|
-
}, [r]), a =
|
|
37291
|
+
}, [r]), a = Sr(async (l) => {
|
|
37294
37292
|
t.current && await e.current.switchCamera(l);
|
|
37295
|
-
}, []), s =
|
|
37293
|
+
}, []), s = Sr(async (l) => {
|
|
37296
37294
|
await e.current.updateVirtualBackground(l ? "blur" : "");
|
|
37297
37295
|
}, []);
|
|
37298
37296
|
return lo(() => {
|
|
@@ -37348,7 +37346,7 @@ const gL = Vl({
|
|
|
37348
37346
|
lo(() => {
|
|
37349
37347
|
console.log("cameraList: ", s), console.log("activeCameraId: ", c);
|
|
37350
37348
|
}, [s, c]);
|
|
37351
|
-
const v = Bn(() => jJ(), []), C =
|
|
37349
|
+
const v = Bn(() => jJ(), []), C = Sr(
|
|
37352
37350
|
async (ne) => {
|
|
37353
37351
|
if (b(ne), !o()) {
|
|
37354
37352
|
await t(() => i.updateVirtualBackground(ne));
|
|
@@ -37358,7 +37356,7 @@ const gL = Vl({
|
|
|
37358
37356
|
!n || !(Se != null && Se.isSupportVirtualBackground()) || (ne ? await t(() => Se.updateVirtualBackgroundImage("blur")) : await t(() => Se.updateVirtualBackgroundImage("")));
|
|
37359
37357
|
},
|
|
37360
37358
|
[o, i, t, n, r]
|
|
37361
|
-
), A =
|
|
37359
|
+
), A = Sr(async () => {
|
|
37362
37360
|
if (!o()) {
|
|
37363
37361
|
console.log("Starting local video"), await t(() => i.start(c));
|
|
37364
37362
|
return;
|
|
@@ -37376,12 +37374,12 @@ const gL = Vl({
|
|
|
37376
37374
|
...c ? { cameraId: c } : { cameraId: Se }
|
|
37377
37375
|
};
|
|
37378
37376
|
await t(() => ne.startVideo(Oe)), console.log("Started video in session");
|
|
37379
|
-
}, [o, y, r, c, t, i]), R =
|
|
37377
|
+
}, [o, y, r, c, t, i]), R = Sr(async () => {
|
|
37380
37378
|
await t(() => i.stop()), console.log("Local video stopped");
|
|
37381
|
-
}, [i, t]), x =
|
|
37379
|
+
}, [i, t]), x = Sr(async () => {
|
|
37382
37380
|
const ne = r.getMediaStream();
|
|
37383
37381
|
ne && (await t(() => ne.stopVideo()), console.log("Video stopped"));
|
|
37384
|
-
}, [r, t]), k =
|
|
37382
|
+
}, [r, t]), k = Sr(
|
|
37385
37383
|
async (ne) => {
|
|
37386
37384
|
if (!o()) {
|
|
37387
37385
|
await t(() => i.switch(ne)), d(ne);
|
|
@@ -37391,42 +37389,42 @@ const gL = Vl({
|
|
|
37391
37389
|
Se && (p && await t(() => Se.switchCamera(ne)), d(ne));
|
|
37392
37390
|
},
|
|
37393
37391
|
[o, r, p, t, i]
|
|
37394
|
-
), D =
|
|
37392
|
+
), D = Sr(
|
|
37395
37393
|
async (ne, Se) => {
|
|
37396
37394
|
const ue = r.getMediaStream();
|
|
37397
37395
|
!ue || !Se || (a.current.set(ne, Se), await t(() => ue.attachVideo(ne, 3, Se)), console.log("Attached video for user: ", ne));
|
|
37398
37396
|
},
|
|
37399
37397
|
[r, t]
|
|
37400
|
-
), F =
|
|
37398
|
+
), F = Sr(
|
|
37401
37399
|
async (ne) => {
|
|
37402
37400
|
var ue;
|
|
37403
37401
|
const Se = r.getMediaStream();
|
|
37404
37402
|
Se && ((ue = r.getSessionInfo()) != null && ue.isInMeeting && await t(() => Se.detachVideo(ne)), a.current.delete(ne), console.log("Detached video for user: ", ne));
|
|
37405
37403
|
},
|
|
37406
37404
|
[r, t]
|
|
37407
|
-
), $ =
|
|
37405
|
+
), $ = Sr(
|
|
37408
37406
|
async (ne) => {
|
|
37409
37407
|
const Se = r.getMediaStream(), { selfShareCanvas: ue } = ne;
|
|
37410
37408
|
(Se == null ? void 0 : Se.getShareStatus()) === kr.End && ue && (Se == null || Se.startShareScreen(ue, {}));
|
|
37411
37409
|
},
|
|
37412
37410
|
[r]
|
|
37413
|
-
), U =
|
|
37411
|
+
), U = Sr(async () => {
|
|
37414
37412
|
const ne = r.getMediaStream();
|
|
37415
37413
|
(ne == null ? void 0 : ne.getShareStatus()) === kr.Sharing && await t(() => ne == null ? void 0 : ne.stopShareScreen());
|
|
37416
|
-
}, [r, t]), G =
|
|
37414
|
+
}, [r, t]), G = Sr(
|
|
37417
37415
|
async ({ userId: ne, videoPlayer: Se }) => {
|
|
37418
37416
|
const ue = r.getMediaStream();
|
|
37419
37417
|
ue && await t(() => ue.attachShareView(ne, Se));
|
|
37420
37418
|
},
|
|
37421
37419
|
[r, t]
|
|
37422
|
-
), Y =
|
|
37420
|
+
), Y = Sr(
|
|
37423
37421
|
async (ne) => {
|
|
37424
37422
|
var ue;
|
|
37425
37423
|
const Se = r.getMediaStream();
|
|
37426
37424
|
Se && (ue = r.getSessionInfo()) != null && ue.isInMeeting && await t(() => Se.detachShareView(ne));
|
|
37427
37425
|
},
|
|
37428
37426
|
[r, t]
|
|
37429
|
-
), Q =
|
|
37427
|
+
), Q = Sr((ne) => a.current.has(ne), []);
|
|
37430
37428
|
lo(() => {
|
|
37431
37429
|
if (!n) return;
|
|
37432
37430
|
const ne = (oe) => {
|
|
@@ -37453,8 +37451,8 @@ const gL = Vl({
|
|
|
37453
37451
|
var Se;
|
|
37454
37452
|
l(ne), d(((Se = ne[0]) == null ? void 0 : Se.deviceId) || "");
|
|
37455
37453
|
});
|
|
37456
|
-
}), Vq(() => {
|
|
37457
|
-
a.current.clear();
|
|
37454
|
+
}), Vq(async () => {
|
|
37455
|
+
a.current.clear(), await R(), await x(), console.log("VideoProvider unmounted, cleaned up video resources");
|
|
37458
37456
|
});
|
|
37459
37457
|
const he = Bn(
|
|
37460
37458
|
() => ({
|
|
@@ -37621,45 +37619,45 @@ const gL = Vl({
|
|
|
37621
37619
|
return /* @__PURE__ */ ae.jsx(yL.Provider, { value: b, children: e });
|
|
37622
37620
|
}, Qd = () => {
|
|
37623
37621
|
const { currentUser: e } = Au(), t = !!e && UJ(e);
|
|
37624
|
-
return
|
|
37622
|
+
return Sr(
|
|
37625
37623
|
(r) => t && BJ[r].includes(t),
|
|
37626
37624
|
[t]
|
|
37627
37625
|
);
|
|
37628
37626
|
}, UJ = (e) => e != null && e.isHost ? "admin" : e != null && e.isManager ? "panelist" : "attendee", $J = ({ children: e }) => {
|
|
37629
|
-
const { notify: t } = As(), { zmClient: r, isSessionStarted: n } = hl(), o = Qd(), [i, a] = Pr([]), [s, l] = Pr(""), [c, d] = Pr(!1), [p, m] = Pr([]), [y, b] = Pr(""), [v, C] = Pr(!1), A =
|
|
37627
|
+
const { notify: t } = As(), { zmClient: r, isSessionStarted: n } = hl(), o = Qd(), [i, a] = Pr([]), [s, l] = Pr(""), [c, d] = Pr(!1), [p, m] = Pr([]), [y, b] = Pr(""), [v, C] = Pr(!1), A = Sr(async () => {
|
|
37630
37628
|
const Y = r.getMediaStream();
|
|
37631
37629
|
Y && await Y.startAudio({
|
|
37632
37630
|
microphoneId: s,
|
|
37633
37631
|
speakerId: y,
|
|
37634
37632
|
mute: c
|
|
37635
37633
|
});
|
|
37636
|
-
}, [r, s, y, c]), R =
|
|
37634
|
+
}, [r, s, y, c]), R = Sr(async () => {
|
|
37637
37635
|
if (!n()) {
|
|
37638
37636
|
await d(!0);
|
|
37639
37637
|
return;
|
|
37640
37638
|
}
|
|
37641
37639
|
const Y = r.getMediaStream();
|
|
37642
37640
|
Y && (d(!0), await Y.muteAudio());
|
|
37643
|
-
}, [n, r]), x =
|
|
37641
|
+
}, [n, r]), x = Sr(
|
|
37644
37642
|
async (Y) => {
|
|
37645
37643
|
const Q = r.getMediaStream();
|
|
37646
37644
|
Q && await Q.muteAudio(Y);
|
|
37647
37645
|
},
|
|
37648
37646
|
[r]
|
|
37649
|
-
), k =
|
|
37647
|
+
), k = Sr(async () => {
|
|
37650
37648
|
if (!n()) {
|
|
37651
37649
|
d(!1);
|
|
37652
37650
|
return;
|
|
37653
37651
|
}
|
|
37654
37652
|
const Y = r.getMediaStream();
|
|
37655
37653
|
Y && (d(!1), await Y.unmuteAudio());
|
|
37656
|
-
}, [n, r]), D =
|
|
37654
|
+
}, [n, r]), D = Sr(
|
|
37657
37655
|
async (Y) => {
|
|
37658
37656
|
const Q = r.getMediaStream();
|
|
37659
37657
|
Q && await Q.unmuteAudio(Y);
|
|
37660
37658
|
},
|
|
37661
37659
|
[r]
|
|
37662
|
-
), F =
|
|
37660
|
+
), F = Sr(
|
|
37663
37661
|
async (Y) => {
|
|
37664
37662
|
if (l(Y), n()) {
|
|
37665
37663
|
const Q = r.getMediaStream();
|
|
@@ -37668,7 +37666,7 @@ const gL = Vl({
|
|
|
37668
37666
|
}
|
|
37669
37667
|
},
|
|
37670
37668
|
[r, n]
|
|
37671
|
-
), $ =
|
|
37669
|
+
), $ = Sr(
|
|
37672
37670
|
async (Y) => {
|
|
37673
37671
|
if (b(Y), n()) {
|
|
37674
37672
|
const Q = r.getMediaStream();
|
|
@@ -37677,7 +37675,7 @@ const gL = Vl({
|
|
|
37677
37675
|
}
|
|
37678
37676
|
},
|
|
37679
37677
|
[r, n]
|
|
37680
|
-
), U =
|
|
37678
|
+
), U = Sr(() => {
|
|
37681
37679
|
C(!1);
|
|
37682
37680
|
}, []);
|
|
37683
37681
|
lo(() => {
|
|
@@ -37764,17 +37762,17 @@ const gL = Vl({
|
|
|
37764
37762
|
updateReceiversAndChatHistory: () => {
|
|
37765
37763
|
}
|
|
37766
37764
|
}), SL = () => os(bL), WJ = ({ children: e }) => {
|
|
37767
|
-
const { zmClient: t, isSessionStarted: r } = hl(), [n, o] = Pr([]), [i, a] = Pr([]), [s, l] = Pr(null), c =
|
|
37765
|
+
const { zmClient: t, isSessionStarted: r } = hl(), [n, o] = Pr([]), [i, a] = Pr([]), [s, l] = Pr(null), c = Sr(
|
|
37768
37766
|
async ({ text: b, receiverId: v }) => {
|
|
37769
37767
|
if (!s || !(b != null && b.trim())) return;
|
|
37770
37768
|
await (v !== 0 ? () => s.send(b, v) : () => s.sendToAll(b))();
|
|
37771
37769
|
},
|
|
37772
37770
|
[s]
|
|
37773
|
-
), d =
|
|
37771
|
+
), d = Sr(() => {
|
|
37774
37772
|
s && o(s.getHistory() ?? []);
|
|
37775
|
-
}, [s]), p =
|
|
37773
|
+
}, [s]), p = Sr(() => {
|
|
37776
37774
|
s && a(s.getReceivers() ?? []);
|
|
37777
|
-
}, [s]), m =
|
|
37775
|
+
}, [s]), m = Sr(() => {
|
|
37778
37776
|
p(), d();
|
|
37779
37777
|
}, [p, d]);
|
|
37780
37778
|
lo(() => {
|
|
@@ -37918,7 +37916,7 @@ const gL = Vl({
|
|
|
37918
37916
|
return e.on("command-channel-status", r), () => {
|
|
37919
37917
|
e.off("command-channel-status", r);
|
|
37920
37918
|
};
|
|
37921
|
-
}, [e]),
|
|
37919
|
+
}, [e]), Sr(
|
|
37922
37920
|
async (r, n) => {
|
|
37923
37921
|
const {
|
|
37924
37922
|
maxAttempts: o = JJ,
|
|
@@ -37962,7 +37960,7 @@ const gL = Vl({
|
|
|
37962
37960
|
turnQueueState: CL,
|
|
37963
37961
|
speakerQueueIds: []
|
|
37964
37962
|
}
|
|
37965
|
-
}), s = XJ(), l =
|
|
37963
|
+
}), s = XJ(), l = Sr(
|
|
37966
37964
|
async (R, x) => {
|
|
37967
37965
|
await s({
|
|
37968
37966
|
type: "ALERT-USER",
|
|
@@ -37977,13 +37975,13 @@ const gL = Vl({
|
|
|
37977
37975
|
}, [t, i.speakerTurnState.speakerQueueIds]), d = Bn(
|
|
37978
37976
|
() => i.speakerTurnState.speakerQueueIds.map((R) => r.find((k) => k.userId === R)).filter((R) => R !== void 0),
|
|
37979
37977
|
[r, i.speakerTurnState.speakerQueueIds]
|
|
37980
|
-
), p =
|
|
37978
|
+
), p = Sr(async () => {
|
|
37981
37979
|
const R = t.getCurrentUserInfo();
|
|
37982
37980
|
await s({
|
|
37983
37981
|
type: "REQUEST-SHARED-STATE",
|
|
37984
37982
|
userId: R.userId
|
|
37985
37983
|
});
|
|
37986
|
-
}, [t, s]), m =
|
|
37984
|
+
}, [t, s]), m = Sr(async () => {
|
|
37987
37985
|
const R = t.getCurrentUserInfo();
|
|
37988
37986
|
if (!R) return;
|
|
37989
37987
|
const x = {
|
|
@@ -37991,7 +37989,7 @@ const gL = Vl({
|
|
|
37991
37989
|
senderId: R == null ? void 0 : R.userId
|
|
37992
37990
|
};
|
|
37993
37991
|
await s(x), a(x);
|
|
37994
|
-
}, [t, s]), y =
|
|
37992
|
+
}, [t, s]), y = Sr(
|
|
37995
37993
|
async (R) => {
|
|
37996
37994
|
const x = {
|
|
37997
37995
|
type: "TOGGLE-CHAT",
|
|
@@ -38001,7 +37999,7 @@ const gL = Vl({
|
|
|
38001
37999
|
await s(x), a(x);
|
|
38002
38000
|
},
|
|
38003
38001
|
[s]
|
|
38004
|
-
), b =
|
|
38002
|
+
), b = Sr(
|
|
38005
38003
|
async (R) => {
|
|
38006
38004
|
const x = {
|
|
38007
38005
|
type: "LOWER-USER-HAND",
|
|
@@ -38010,7 +38008,7 @@ const gL = Vl({
|
|
|
38010
38008
|
await s(x), a(x);
|
|
38011
38009
|
},
|
|
38012
38010
|
[s]
|
|
38013
|
-
), v =
|
|
38011
|
+
), v = Sr(
|
|
38014
38012
|
async (R) => {
|
|
38015
38013
|
const x = {
|
|
38016
38014
|
type: "TOGGLE-TURN-QUEUE",
|
|
@@ -38020,7 +38018,7 @@ const gL = Vl({
|
|
|
38020
38018
|
await s(x), a(x);
|
|
38021
38019
|
},
|
|
38022
38020
|
[s]
|
|
38023
|
-
), C =
|
|
38021
|
+
), C = Sr(
|
|
38024
38022
|
async (R) => {
|
|
38025
38023
|
const x = {
|
|
38026
38024
|
type: "CHANGE-SESSION-STATUS",
|
|
@@ -38091,18 +38089,18 @@ const gL = Vl({
|
|
|
38091
38089
|
children: i,
|
|
38092
38090
|
videoSessionStatus: a
|
|
38093
38091
|
}, s) => {
|
|
38094
|
-
const [l, c] = Pr(0), [d, p] = Pr(su.NOT_STARTED), m =
|
|
38092
|
+
const [l, c] = Pr(0), [d, p] = Pr(su.NOT_STARTED), m = Sr(
|
|
38095
38093
|
async (x) => {
|
|
38096
38094
|
await (e == null ? void 0 : e(x));
|
|
38097
38095
|
},
|
|
38098
38096
|
[e]
|
|
38099
|
-
), y =
|
|
38097
|
+
), y = Sr(async () => {
|
|
38100
38098
|
!t || a !== su.NOT_STARTED || (await t(), p(su.ONLY_PANELIST));
|
|
38101
|
-
}, [t, a]), b =
|
|
38099
|
+
}, [t, a]), b = Sr(async () => {
|
|
38102
38100
|
r && (await r(), p(su.IN_PROGRESS));
|
|
38103
|
-
}, [r]), v =
|
|
38101
|
+
}, [r]), v = Sr(async () => {
|
|
38104
38102
|
n && (await n(), p(su.CLOSED));
|
|
38105
|
-
}, [n]), C =
|
|
38103
|
+
}, [n]), C = Sr((x) => {
|
|
38106
38104
|
c(x);
|
|
38107
38105
|
}, []), A = Bn(
|
|
38108
38106
|
() => ({
|
|
@@ -38560,7 +38558,7 @@ var gu = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
38560
38558
|
props: o
|
|
38561
38559
|
}), Kt = r({
|
|
38562
38560
|
className: Q("label")
|
|
38563
|
-
}, Se("label", At)), Yt = it.label && /* @__PURE__ */ S.createElement("span", Kt, it.label), Xt = it.id || (dt || s) + "_" + _t,
|
|
38561
|
+
}, Se("label", At)), Yt = it.label && /* @__PURE__ */ S.createElement("span", Kt, it.label), Xt = it.id || (dt || s) + "_" + _t, Cr = r({
|
|
38564
38562
|
onClick: function(Nr) {
|
|
38565
38563
|
return ze(Nr, it, Xt);
|
|
38566
38564
|
},
|
|
@@ -38583,7 +38581,7 @@ var gu = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
38583
38581
|
"aria-label": it.label,
|
|
38584
38582
|
"aria-disabled": it.disabled,
|
|
38585
38583
|
"data-p-disabled": it.disabled
|
|
38586
|
-
}, Se("action", At)), Ye = /* @__PURE__ */ S.createElement("div",
|
|
38584
|
+
}, Se("action", At)), Ye = /* @__PURE__ */ S.createElement("div", Cr, /* @__PURE__ */ S.createElement("a", Wt, $e, Yt, /* @__PURE__ */ S.createElement(To, null)));
|
|
38587
38585
|
if (it.template) {
|
|
38588
38586
|
var St = {
|
|
38589
38587
|
onClick: function(Nr) {
|
|
@@ -38703,7 +38701,7 @@ const Eg = () => {
|
|
|
38703
38701
|
hasError: i.some((s) => s.error !== void 0),
|
|
38704
38702
|
loadingCount: i.filter((s) => s.loading).length
|
|
38705
38703
|
};
|
|
38706
|
-
}, [e]), o =
|
|
38704
|
+
}, [e]), o = Sr(() => {
|
|
38707
38705
|
t(
|
|
38708
38706
|
(i) => Object.fromEntries(Object.entries(i).map(([a, s]) => [a, { ...s, error: void 0 }]))
|
|
38709
38707
|
);
|
|
@@ -38725,7 +38723,7 @@ const Eg = () => {
|
|
|
38725
38723
|
lo(() => () => {
|
|
38726
38724
|
r && r.unregister(o);
|
|
38727
38725
|
}, [r, o]);
|
|
38728
|
-
const s =
|
|
38726
|
+
const s = Sr(
|
|
38729
38727
|
async (...c) => {
|
|
38730
38728
|
const d = { loading: !0, value: void 0, error: void 0 };
|
|
38731
38729
|
a(d), r && r.updateState(o, d);
|
|
@@ -38741,7 +38739,7 @@ const Eg = () => {
|
|
|
38741
38739
|
},
|
|
38742
38740
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
38743
38741
|
[o, r, ...t]
|
|
38744
|
-
), l =
|
|
38742
|
+
), l = Sr(() => {
|
|
38745
38743
|
const c = { loading: !1, value: void 0, error: void 0 };
|
|
38746
38744
|
a(c), r && r.updateState(o, c);
|
|
38747
38745
|
}, [o, r]);
|
|
@@ -39993,14 +39991,14 @@ var MR = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
39993
39991
|
left: 0
|
|
39994
39992
|
} : 0), vt = S.useRef(null), Ue = S.useRef(null), nt = S.useRef({}), ot = S.useRef({}), we = S.useRef(null), et = S.useRef(null), ht = S.useRef(null), $t = S.useRef(null), ur = S.useRef(!1), It = S.useRef(null), je = S.useRef(!1), qt = AR({
|
|
39995
39993
|
listener: function(qe) {
|
|
39996
|
-
return
|
|
39994
|
+
return Cr();
|
|
39997
39995
|
},
|
|
39998
39996
|
when: !o.disabled
|
|
39999
39997
|
}), ir = tu(qt, 1), dr = ir[0], mr = Pa({
|
|
40000
39998
|
target: "window",
|
|
40001
39999
|
type: "orientationchange",
|
|
40002
40000
|
listener: function(qe) {
|
|
40003
|
-
return
|
|
40001
|
+
return Cr();
|
|
40004
40002
|
},
|
|
40005
40003
|
when: !o.disabled
|
|
40006
40004
|
}), tn = tu(mr, 1), zr = tn[0], Zr = function() {
|
|
@@ -40276,7 +40274,7 @@ var MR = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
40276
40274
|
}
|
|
40277
40275
|
} else
|
|
40278
40276
|
Yt(qe);
|
|
40279
|
-
},
|
|
40277
|
+
}, Cr = function() {
|
|
40280
40278
|
Ue.current && clearTimeout(Ue.current), Ue.current = setTimeout(function() {
|
|
40281
40279
|
if (_e.current) {
|
|
40282
40280
|
var qe = [se.getWidth(_e.current), se.getHeight(_e.current)], gt = qe[0], Ft = qe[1], rr = gt !== we.current, zt = Ft !== et.current, ar = l ? rr || zt : s ? rr : a ? zt : !1;
|
|
@@ -41365,7 +41363,7 @@ var Eu = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
41365
41363
|
Xt(ge);
|
|
41366
41364
|
break;
|
|
41367
41365
|
case "Backspace":
|
|
41368
|
-
|
|
41366
|
+
Cr(ge, o.editable);
|
|
41369
41367
|
break;
|
|
41370
41368
|
case "ShiftLeft":
|
|
41371
41369
|
case "ShiftRight":
|
|
@@ -41507,7 +41505,7 @@ var Eu = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
41507
41505
|
}, Xt = function(ge) {
|
|
41508
41506
|
var Pt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
41509
41507
|
Pt || (k && !ir() ? (se.focus(G.current), ge.preventDefault()) : (C !== -1 && ur(ge, Nn[C]), k && Ze()));
|
|
41510
|
-
},
|
|
41508
|
+
}, Cr = function(ge) {
|
|
41511
41509
|
var Pt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
41512
41510
|
ge && Pt && !k && Re();
|
|
41513
41511
|
}, Wt = function(ge, Pt) {
|
|
@@ -41935,7 +41933,7 @@ const S0 = ({ option: e, icon: t }) => /* @__PURE__ */ ae.jsxs("div", { classNam
|
|
|
41935
41933
|
})), y = t.map((U, G) => ({
|
|
41936
41934
|
label: U.label || `Altavoz ${G + 1}`,
|
|
41937
41935
|
value: U.deviceId
|
|
41938
|
-
})), b = eo(null), v = eo(0), C =
|
|
41936
|
+
})), b = eo(null), v = eo(0), C = Sr(async () => {
|
|
41939
41937
|
var G, Y;
|
|
41940
41938
|
if (!Lv) return;
|
|
41941
41939
|
if (b.current) {
|
|
@@ -41957,7 +41955,7 @@ const S0 = ({ option: e, icon: t }) => /* @__PURE__ */ ae.jsxs("div", { classNam
|
|
|
41957
41955
|
}
|
|
41958
41956
|
});
|
|
41959
41957
|
b.current = U, p("recording");
|
|
41960
|
-
}, [r, o]), A = eo(null), R = eo(0), x =
|
|
41958
|
+
}, [r, o]), A = eo(null), R = eo(0), x = Sr(async () => {
|
|
41961
41959
|
var G, Y;
|
|
41962
41960
|
if (!Lv) return;
|
|
41963
41961
|
if (A.current) {
|
|
@@ -41972,16 +41970,16 @@ const S0 = ({ option: e, icon: t }) => /* @__PURE__ */ ae.jsxs("div", { classNam
|
|
|
41972
41970
|
}
|
|
41973
41971
|
});
|
|
41974
41972
|
A.current = U;
|
|
41975
|
-
}, [o]), k =
|
|
41973
|
+
}, [o]), k = Sr(
|
|
41976
41974
|
(U) => /* @__PURE__ */ ae.jsx(E0, { option: U, isActive: U.value === r }),
|
|
41977
41975
|
[r]
|
|
41978
|
-
), D =
|
|
41976
|
+
), D = Sr(
|
|
41979
41977
|
(U) => /* @__PURE__ */ ae.jsx(S0, { option: U, icon: "fa-regular fa-microphone" }),
|
|
41980
41978
|
[]
|
|
41981
|
-
), F =
|
|
41979
|
+
), F = Sr(
|
|
41982
41980
|
(U) => /* @__PURE__ */ ae.jsx(E0, { option: U, isActive: U.value === o }),
|
|
41983
41981
|
[o]
|
|
41984
|
-
), $ =
|
|
41982
|
+
), $ = Sr(
|
|
41985
41983
|
(U) => /* @__PURE__ */ ae.jsx(S0, { option: U, icon: "fa-regular fa-volume" }),
|
|
41986
41984
|
[]
|
|
41987
41985
|
);
|
|
@@ -42112,10 +42110,10 @@ const S0 = ({ option: e, icon: t }) => /* @__PURE__ */ ae.jsxs("div", { classNam
|
|
|
42112
42110
|
const { activeCameraId: e, switchCamera: t, cameraList: r } = Yd(), n = r.map((a, s) => ({
|
|
42113
42111
|
label: a.label || `Cámara ${s + 1}`,
|
|
42114
42112
|
value: a.deviceId
|
|
42115
|
-
})), o =
|
|
42113
|
+
})), o = Sr(
|
|
42116
42114
|
(a) => /* @__PURE__ */ ae.jsx(E0, { option: a, isActive: a.value === e }),
|
|
42117
42115
|
[e]
|
|
42118
|
-
), i =
|
|
42116
|
+
), i = Sr(
|
|
42119
42117
|
(a) => /* @__PURE__ */ ae.jsx(S0, { option: a, icon: "fa-regular fa-video" }),
|
|
42120
42118
|
[]
|
|
42121
42119
|
);
|
|
@@ -42211,7 +42209,7 @@ const S0 = ({ option: e, icon: t }) => /* @__PURE__ */ ae.jsxs("div", { classNam
|
|
|
42211
42209
|
},
|
|
42212
42210
|
[m],
|
|
42213
42211
|
e.ref
|
|
42214
|
-
), he =
|
|
42212
|
+
), he = Sr(() => {
|
|
42215
42213
|
A ? R() : C();
|
|
42216
42214
|
}, [A, C, R]), [ne] = Oa(
|
|
42217
42215
|
async () => {
|
|
@@ -43390,10 +43388,10 @@ const NQ = 448, MQ = () => {
|
|
|
43390
43388
|
value: d.deviceId
|
|
43391
43389
|
})),
|
|
43392
43390
|
[n]
|
|
43393
|
-
), l =
|
|
43391
|
+
), l = Sr(
|
|
43394
43392
|
(d) => /* @__PURE__ */ ae.jsx(E0, { option: d, isActive: d.value === o }),
|
|
43395
43393
|
[o]
|
|
43396
|
-
), c =
|
|
43394
|
+
), c = Sr(
|
|
43397
43395
|
(d) => /* @__PURE__ */ ae.jsx(S0, { option: d, icon: "fa-regular fa-microphone" }),
|
|
43398
43396
|
[]
|
|
43399
43397
|
);
|
|
@@ -43449,7 +43447,7 @@ const NQ = 448, MQ = () => {
|
|
|
43449
43447
|
},
|
|
43450
43448
|
selfShareViewRef: { current: null }
|
|
43451
43449
|
}), UL = () => os(HL), pE = ({ activeSection: e, label: t, tabIdx: r, onClose: n }) => {
|
|
43452
|
-
const o = e === r, i =
|
|
43450
|
+
const o = e === r, i = Sr(
|
|
43453
43451
|
(a) => {
|
|
43454
43452
|
a.preventDefault(), n == null || n(), a.stopPropagation();
|
|
43455
43453
|
},
|
|
@@ -46216,8 +46214,8 @@ var TI = function() {
|
|
|
46216
46214
|
className: ct(o.className, Ie("root"))
|
|
46217
46215
|
}, Jv.getOtherProps(o), re("root")), $e = r({
|
|
46218
46216
|
className: Ie("navcontainer")
|
|
46219
|
-
}, re("navcontainer")), Kt = dt(), Yt = At(), Xt = tt(),
|
|
46220
|
-
return /* @__PURE__ */ S.createElement("div", ye, /* @__PURE__ */ S.createElement("div", $e, Xt, Kt,
|
|
46217
|
+
}, re("navcontainer")), Kt = dt(), Yt = At(), Xt = tt(), Cr = me();
|
|
46218
|
+
return /* @__PURE__ */ S.createElement("div", ye, /* @__PURE__ */ S.createElement("div", $e, Xt, Kt, Cr), Yt);
|
|
46221
46219
|
});
|
|
46222
46220
|
TI.displayName = "TabPanel";
|
|
46223
46221
|
XL.displayName = "TabView";
|
|
@@ -46990,11 +46988,11 @@ var iF = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
46990
46988
|
break;
|
|
46991
46989
|
//left
|
|
46992
46990
|
case "ArrowLeft":
|
|
46993
|
-
|
|
46991
|
+
Cr(st.charAt(fe - 1)) || q.preventDefault();
|
|
46994
46992
|
break;
|
|
46995
46993
|
//right
|
|
46996
46994
|
case "ArrowRight":
|
|
46997
|
-
|
|
46995
|
+
Cr(st.charAt(fe)) || q.preventDefault();
|
|
46998
46996
|
break;
|
|
46999
46997
|
//enter and tab
|
|
47000
46998
|
case "Tab":
|
|
@@ -47006,7 +47004,7 @@ var iF = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
47006
47004
|
case "Backspace":
|
|
47007
47005
|
if (q.preventDefault(), fe === We) {
|
|
47008
47006
|
var vr = st.charAt(fe - 1);
|
|
47009
|
-
if (
|
|
47007
|
+
if (Cr(vr)) {
|
|
47010
47008
|
var pr = dt(st), Ir = pr.decimalCharIndex, Dn = pr.decimalCharIndexWithoutPrefix, fo = Qe(st);
|
|
47011
47009
|
if (U.current.test(vr))
|
|
47012
47010
|
U.current.lastIndex = 0, ut = st.slice(0, fe - 2) + st.slice(fe - 1);
|
|
@@ -47028,7 +47026,7 @@ var iF = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
47028
47026
|
case "Delete":
|
|
47029
47027
|
if (q.preventDefault(), fe === We) {
|
|
47030
47028
|
var Mn = st.charAt(fe), vi = dt(st), mo = vi.decimalCharIndex, Vn = vi.decimalCharIndexWithoutPrefix;
|
|
47031
|
-
if (
|
|
47029
|
+
if (Cr(Mn)) {
|
|
47032
47030
|
var Sn = Qe(st);
|
|
47033
47031
|
if (U.current.test(Mn))
|
|
47034
47032
|
U.current.lastIndex = 0, ut = st.slice(0, fe) + st.slice(fe + 2);
|
|
@@ -47169,10 +47167,10 @@ var iF = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
47169
47167
|
var q = v.current.selectionStart, fe = v.current.value, We = fe.length, st = null, ut = (k.current || "").length;
|
|
47170
47168
|
fe = fe.replace(Se.current, ""), q = q - ut;
|
|
47171
47169
|
var vr = fe.charAt(q);
|
|
47172
|
-
if (
|
|
47170
|
+
if (Cr(vr))
|
|
47173
47171
|
return q + ut;
|
|
47174
47172
|
for (var pr = q - 1; pr >= 0; )
|
|
47175
|
-
if (vr = fe.charAt(pr),
|
|
47173
|
+
if (vr = fe.charAt(pr), Cr(vr)) {
|
|
47176
47174
|
st = pr + ut;
|
|
47177
47175
|
break;
|
|
47178
47176
|
} else
|
|
@@ -47181,7 +47179,7 @@ var iF = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
47181
47179
|
v.current.setSelectionRange(st + 1, st + 1);
|
|
47182
47180
|
else {
|
|
47183
47181
|
for (pr = q; pr < We; )
|
|
47184
|
-
if (vr = fe.charAt(pr),
|
|
47182
|
+
if (vr = fe.charAt(pr), Cr(vr)) {
|
|
47185
47183
|
st = pr + ut;
|
|
47186
47184
|
break;
|
|
47187
47185
|
} else
|
|
@@ -47193,7 +47191,7 @@ var iF = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
47193
47191
|
Oe.current = !0;
|
|
47194
47192
|
}, Xt = function() {
|
|
47195
47193
|
Kt();
|
|
47196
|
-
},
|
|
47194
|
+
}, Cr = function(q) {
|
|
47197
47195
|
return q.length === 1 && ($.current.test(q) || Q.current.test(q) || U.current.test(q) || G.current.test(q)) ? (Wt(), !0) : !1;
|
|
47198
47196
|
}, Wt = function() {
|
|
47199
47197
|
$.current.lastIndex = 0, Q.current.lastIndex = 0, U.current.lastIndex = 0, G.current.lastIndex = 0;
|
|
@@ -47244,7 +47242,7 @@ var iF = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
47244
47242
|
} else We === "delete-single" ? ut.setSelectionRange(Dr - 1, Dr - 1) : (We === "delete-range" || We === "spin") && ut.setSelectionRange(Dr, Dr);
|
|
47245
47243
|
else if (We === "delete-back-single") {
|
|
47246
47244
|
var Hi = vr.charAt(Dr - 1), yi = vr.charAt(Dr), Rs = Ir - Tn, nr = U.current.test(yi);
|
|
47247
|
-
nr && Rs === 1 ? Dr = Dr + 1 : !nr &&
|
|
47245
|
+
nr && Rs === 1 ? Dr = Dr + 1 : !nr && Cr(Hi) && (Dr = Dr + (-1 * Rs + 1)), U.current.lastIndex = 0, ut.setSelectionRange(Dr, Dr);
|
|
47248
47246
|
} else if (vr === "-" && We === "insert") {
|
|
47249
47247
|
ut.setSelectionRange(0, 0);
|
|
47250
47248
|
var ge = Kt(), Pt = ge + fe.length + 1;
|
|
@@ -50443,8 +50441,8 @@ var xF = function(t) {
|
|
|
50443
50441
|
props: t.tableProps
|
|
50444
50442
|
}) : !0, Yt = U("rowReorderIcon"), Xt = r({
|
|
50445
50443
|
className: $("rowReorderIcon")
|
|
50446
|
-
}, Yt ? null : G("rowReorderIcon")),
|
|
50447
|
-
je = Kt ? an.getJSXIcon(
|
|
50444
|
+
}, Yt ? null : G("rowReorderIcon")), Cr = Yt || /* @__PURE__ */ S.createElement(bF, Xt);
|
|
50445
|
+
je = Kt ? an.getJSXIcon(Cr, Ja({}, Xt), {
|
|
50448
50446
|
props: t
|
|
50449
50447
|
}) : null;
|
|
50450
50448
|
} else if (rn) {
|
|
@@ -50708,9 +50706,9 @@ var MF = /* @__PURE__ */ S.memo(function(e) {
|
|
|
50708
50706
|
if (b(ye)) {
|
|
50709
50707
|
for (var Kt = de.resolveFieldData(me[$e], m(ye, "field")), Yt = Kt, Xt = 0; Kt === Yt; ) {
|
|
50710
50708
|
Xt++;
|
|
50711
|
-
var
|
|
50712
|
-
if (
|
|
50713
|
-
Yt = de.resolveFieldData(
|
|
50709
|
+
var Cr = me[++$e];
|
|
50710
|
+
if (Cr)
|
|
50711
|
+
Yt = de.resolveFieldData(Cr, m(ye, "field"));
|
|
50714
50712
|
else
|
|
50715
50713
|
break;
|
|
50716
50714
|
}
|
|
@@ -50855,7 +50853,7 @@ var MF = /* @__PURE__ */ S.memo(function(e) {
|
|
|
50855
50853
|
});
|
|
50856
50854
|
}, we = function(me, ye) {
|
|
50857
50855
|
if (e.onRowEditChange) {
|
|
50858
|
-
var $e, Kt = e.dataKey, Yt = me.originalEvent, Xt = me.data,
|
|
50856
|
+
var $e, Kt = e.dataKey, Yt = me.originalEvent, Xt = me.data, Cr = me.index, Wt = me.newData;
|
|
50859
50857
|
if (Kt) {
|
|
50860
50858
|
var Ye = String(de.resolveFieldData(Xt, Kt));
|
|
50861
50859
|
if ($e = e.editingRows ? P3({}, e.editingRows) : {}, ye)
|
|
@@ -50874,7 +50872,7 @@ var MF = /* @__PURE__ */ S.memo(function(e) {
|
|
|
50874
50872
|
e.onRowEditChange({
|
|
50875
50873
|
originalEvent: Yt,
|
|
50876
50874
|
data: $e,
|
|
50877
|
-
index:
|
|
50875
|
+
index: Cr
|
|
50878
50876
|
});
|
|
50879
50877
|
} else
|
|
50880
50878
|
i(ye);
|
|
@@ -50955,8 +50953,8 @@ var MF = /* @__PURE__ */ S.memo(function(e) {
|
|
|
50955
50953
|
if (me) {
|
|
50956
50954
|
var Yt = P3({}, $e);
|
|
50957
50955
|
if (ye === "right") {
|
|
50958
|
-
var Xt = 0,
|
|
50959
|
-
|
|
50956
|
+
var Xt = 0, Cr = tt.current && tt.current.nextElementSibling;
|
|
50957
|
+
Cr && Cr.classList.contains("p-frozen-column") && (Xt = se.getOuterWidth(Cr) + parseFloat(Cr.style.right || 0)), Yt.right = Xt + "px";
|
|
50960
50958
|
} else {
|
|
50961
50959
|
for (var Wt = 0, Ye = tt.current && tt.current.previousElementSibling; Ye; ) {
|
|
50962
50960
|
if (Ye.classList.contains("p-frozen-column")) {
|
|
@@ -50970,13 +50968,13 @@ var MF = /* @__PURE__ */ S.memo(function(e) {
|
|
|
50970
50968
|
var St = $e.left === Yt.left && $e.right === Yt.right;
|
|
50971
50969
|
!St && Kt(Yt);
|
|
50972
50970
|
}
|
|
50973
|
-
}, []), Rn = function(me, ye, $e, Kt, Yt, Xt,
|
|
50971
|
+
}, []), Rn = function(me, ye, $e, Kt, Yt, Xt, Cr) {
|
|
50974
50972
|
if (e.editMode !== "row" && $e && !Kt && (e.selectOnEdit || !e.selectOnEdit && e.isRowSelected)) {
|
|
50975
50973
|
var Wt = m(Xt, "onBeforeCellEditShow"), Ye = m(Xt, "onCellEditInit"), St = m(Xt, "cellEditValidatorEvent");
|
|
50976
50974
|
if (Wt && (Wt(ye) === !1 || me && me.defaultPrevented))
|
|
50977
50975
|
return;
|
|
50978
50976
|
setTimeout(function() {
|
|
50979
|
-
Yt(!0), !(Ye && (Ye(ye) === !1 || me && me.defaultPrevented)) && St === "click" &&
|
|
50977
|
+
Yt(!0), !(Ye && (Ye(ye) === !1 || me && me.defaultPrevented)) && St === "click" && Cr();
|
|
50980
50978
|
}, 1);
|
|
50981
50979
|
}
|
|
50982
50980
|
e.allowCellSelection && e.onCellClick && e.onCellClick(ye);
|
|
@@ -50985,7 +50983,7 @@ var MF = /* @__PURE__ */ S.memo(function(e) {
|
|
|
50985
50983
|
if ($(e.value, me, e.index)) {
|
|
50986
50984
|
var $e = "".concat(e.rowIndex, "_").concat(m(me, "columnKey") || m(me, "field"), "_").concat(ye), Kt = e.rowGroupMode === "rowspan" ? U(e.value, me, e.index) : null, Yt = m(me, "field") || "field_".concat(ye), Xt = function(St) {
|
|
50987
50985
|
return de.resolveFieldData(St || e.rowData, Yt);
|
|
50988
|
-
},
|
|
50986
|
+
}, Cr = m(me, "selectionMode"), Wt = t({
|
|
50989
50987
|
hostName: e.hostName,
|
|
50990
50988
|
allowCellSelection: e.allowCellSelection,
|
|
50991
50989
|
cellMemo: e.cellMemo,
|
|
@@ -51053,7 +51051,7 @@ var MF = /* @__PURE__ */ S.memo(function(e) {
|
|
|
51053
51051
|
});
|
|
51054
51052
|
return /* @__PURE__ */ S.createElement(ZF, {
|
|
51055
51053
|
key: $e
|
|
51056
|
-
},
|
|
51054
|
+
}, Cr ? /* @__PURE__ */ S.createElement(DF, Wt) : /* @__PURE__ */ S.createElement(NF, Wt));
|
|
51057
51055
|
}
|
|
51058
51056
|
return null;
|
|
51059
51057
|
});
|
|
@@ -51519,7 +51517,7 @@ var Xy = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
51519
51517
|
}
|
|
51520
51518
|
}, Xt = function(X) {
|
|
51521
51519
|
e.onRowMouseEnter && e.onRowMouseEnter(X);
|
|
51522
|
-
},
|
|
51520
|
+
}, Cr = function(X) {
|
|
51523
51521
|
e.onRowMouseLeave && e.onRowMouseLeave(X);
|
|
51524
51522
|
}, Wt = function() {
|
|
51525
51523
|
U.current = !0;
|
|
@@ -51744,7 +51742,7 @@ var Xy = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
51744
51742
|
onRowEditSave: e.onRowEditSave,
|
|
51745
51743
|
onRowMouseDown: Ye,
|
|
51746
51744
|
onRowMouseEnter: Xt,
|
|
51747
|
-
onRowMouseLeave:
|
|
51745
|
+
onRowMouseLeave: Cr,
|
|
51748
51746
|
onRowMouseUp: St,
|
|
51749
51747
|
onRowRightClick: Yt,
|
|
51750
51748
|
onRowToggle: lr,
|
|
@@ -52768,7 +52766,7 @@ var BR = /* @__PURE__ */ S.memo(function(e) {
|
|
|
52768
52766
|
});
|
|
52769
52767
|
}
|
|
52770
52768
|
return null;
|
|
52771
|
-
},
|
|
52769
|
+
}, Cr = function(Re) {
|
|
52772
52770
|
if (be()) {
|
|
52773
52771
|
var Ze = Rn();
|
|
52774
52772
|
return /* @__PURE__ */ S.createElement(ki, {
|
|
@@ -52794,7 +52792,7 @@ var BR = /* @__PURE__ */ S.memo(function(e) {
|
|
|
52794
52792
|
className: A("filterConstraint")
|
|
52795
52793
|
}, R("filterConstraint"));
|
|
52796
52794
|
return /* @__PURE__ */ S.createElement("div", Ze, Re.map(function(Lt, er) {
|
|
52797
|
-
var kt = Xt(Lt, er), qe = me(Lt, er), gt =
|
|
52795
|
+
var kt = Xt(Lt, er), qe = me(Lt, er), gt = Cr(er), Ft = d(R("filterRemove"));
|
|
52798
52796
|
return /* @__PURE__ */ S.createElement("div", Zn({}, ft, {
|
|
52799
52797
|
key: er
|
|
52800
52798
|
}), kt, qe, /* @__PURE__ */ S.createElement("div", Ft, gt));
|
|
@@ -53583,7 +53581,7 @@ var BF = /* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
53583
53581
|
Co(ey.css.styles, je.isUnstyled, {
|
|
53584
53582
|
name: "datatable"
|
|
53585
53583
|
});
|
|
53586
|
-
var qt = S.useRef(""), ir = S.useRef(null), dr = S.useRef(null), mr = S.useRef(null), tn = S.useRef(null), zr = S.useRef(null), Zr = S.useRef(null), xr = S.useRef(null), Hr = S.useRef(null), Ur = S.useRef(null), Vr = S.useRef(null), Kr = S.useRef(null), Yr = S.useRef(null), Rn = S.useRef(null), rn = S.useRef(null), gr = S.useRef(null), it = S.useRef(null), _t = S.useRef(null), dt = S.useRef(null), At = S.useRef(null), tt = S.useRef(null), me = S.useRef(null), ye = S.useRef(!1), $e = S.useRef(null), Kt = S.useRef(!1), Yt = S.useRef(null), Xt = S.useRef(null),
|
|
53584
|
+
var qt = S.useRef(""), ir = S.useRef(null), dr = S.useRef(null), mr = S.useRef(null), tn = S.useRef(null), zr = S.useRef(null), Zr = S.useRef(null), xr = S.useRef(null), Hr = S.useRef(null), Ur = S.useRef(null), Vr = S.useRef(null), Kr = S.useRef(null), Yr = S.useRef(null), Rn = S.useRef(null), rn = S.useRef(null), gr = S.useRef(null), it = S.useRef(null), _t = S.useRef(null), dt = S.useRef(null), At = S.useRef(null), tt = S.useRef(null), me = S.useRef(null), ye = S.useRef(!1), $e = S.useRef(null), Kt = S.useRef(!1), Yt = S.useRef(null), Xt = S.useRef(null), Cr = S.useRef(null);
|
|
53587
53585
|
o.rows !== ot && !o.onPage && (m(o.rows), we(o.rows));
|
|
53588
53586
|
var Wt = function(ve) {
|
|
53589
53587
|
return ye.current && yi(ve);
|
|
@@ -54098,7 +54096,7 @@ var BF = /* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
54098
54096
|
}, aS = function(ve) {
|
|
54099
54097
|
Vn(), xa(), ur(ve);
|
|
54100
54098
|
}, Uf = function(ve) {
|
|
54101
|
-
clearTimeout(
|
|
54099
|
+
clearTimeout(Cr.current), Cr.current = setTimeout(function() {
|
|
54102
54100
|
var Fe = Ul(ve || $t);
|
|
54103
54101
|
o.onFilter ? o.onFilter($l({
|
|
54104
54102
|
filters: Fe
|
|
@@ -55034,7 +55032,7 @@ const Aee = ({
|
|
|
55034
55032
|
}
|
|
55035
55033
|
)
|
|
55036
55034
|
] }), Ree = (e) => {
|
|
55037
|
-
const t = Qd(), { changeUserRole: r } = Nf(), n = Eg(), { alertUser: o } = X0(), { zmClient: i } = hl(), { currentUser: a } = Au(), { muteUserMic: s, unmuteUserMic: l } = xc(), { confirm: c, notify: d } = As(), [p, m] = Pr(""), y = p.toLocaleLowerCase().trim(), b = e.filter((F) => F.displayName.toLocaleLowerCase().includes(y)), v = eo(null), [C, A] = Pr(null), R =
|
|
55035
|
+
const t = Qd(), { changeUserRole: r } = Nf(), n = Eg(), { alertUser: o } = X0(), { zmClient: i } = hl(), { currentUser: a } = Au(), { muteUserMic: s, unmuteUserMic: l } = xc(), { confirm: c, notify: d } = As(), [p, m] = Pr(""), y = p.toLocaleLowerCase().trim(), b = e.filter((F) => F.displayName.toLocaleLowerCase().includes(y)), v = eo(null), [C, A] = Pr(null), R = Sr(async () => {
|
|
55038
55036
|
C && c({
|
|
55039
55037
|
header: "Convertir a panelista",
|
|
55040
55038
|
message: "¿Quieres convertir a esta persona en panelista?",
|
|
@@ -55046,7 +55044,7 @@ const Aee = ({
|
|
|
55046
55044
|
});
|
|
55047
55045
|
}
|
|
55048
55046
|
});
|
|
55049
|
-
}, [i, C, c, o, d, r]), x =
|
|
55047
|
+
}, [i, C, c, o, d, r]), x = Sr(async () => {
|
|
55050
55048
|
C && c({
|
|
55051
55049
|
header: "Convertir a asistente",
|
|
55052
55050
|
message: "¿Quieres convertir a esta persona en asistente?",
|
|
@@ -55058,7 +55056,7 @@ const Aee = ({
|
|
|
55058
55056
|
});
|
|
55059
55057
|
}
|
|
55060
55058
|
});
|
|
55061
|
-
}, [i, C, c, o, d, r]), k =
|
|
55059
|
+
}, [i, C, c, o, d, r]), k = Sr(async () => {
|
|
55062
55060
|
C && c({
|
|
55063
55061
|
header: "Transferir administración",
|
|
55064
55062
|
message: "Va a transferir la administración a otro usuario. Esta operación es irrevocable. ¿Está seguro?",
|
|
@@ -55354,17 +55352,17 @@ const Aee = ({
|
|
|
55354
55352
|
)
|
|
55355
55353
|
] });
|
|
55356
55354
|
}, Pee = ["Asistentes", "Turno de palabra", "Chat"], xee = () => {
|
|
55357
|
-
const e = Qd(), { startVideo: t } = Yd(), { toggleAcceptParticipationDialog: r } = As(), { muteMic: n, startAudio: o, hostAskUnmute: i, resetHostAskUnmute: a } = xc(), { breakpoint: s, sessionStatus: l, initVotingSession: c } = Nf(), { users: d, currentUser: p } = Au(), { updateReceiversAndChatHistory: m } = SL(), y = s === Vm.Mobile, [b, v] = Pr(y ? null : 0), [C, A] = Pr(y ? [] : [...Array(3).keys()]), [R, x] = Pr(!1), [k, D] = Pr(null), F = k !== null ? Pee[k] : "", $ = eo(null), U =
|
|
55355
|
+
const e = Qd(), { startVideo: t } = Yd(), { toggleAcceptParticipationDialog: r } = As(), { muteMic: n, startAudio: o, hostAskUnmute: i, resetHostAskUnmute: a } = xc(), { breakpoint: s, sessionStatus: l, initVotingSession: c } = Nf(), { users: d, currentUser: p } = Au(), { updateReceiversAndChatHistory: m } = SL(), y = s === Vm.Mobile, [b, v] = Pr(y ? null : 0), [C, A] = Pr(y ? [] : [...Array(3).keys()]), [R, x] = Pr(!1), [k, D] = Pr(null), F = k !== null ? Pee[k] : "", $ = eo(null), U = Sr(
|
|
55358
55356
|
(ne) => {
|
|
55359
55357
|
v(ne), ne === 2 && C.includes(2) && m();
|
|
55360
55358
|
},
|
|
55361
55359
|
[C, m]
|
|
55362
|
-
), G =
|
|
55360
|
+
), G = Sr(
|
|
55363
55361
|
(ne) => {
|
|
55364
55362
|
y ? (D(ne), x(!0)) : A((Se) => Se.includes(ne) ? (U(ne === b ? null : b), Se.filter((ue) => ue !== ne)) : (U(ne), [...Se, ne])), ne === 2 && m();
|
|
55365
55363
|
},
|
|
55366
55364
|
[b, y, U, m]
|
|
55367
|
-
), Y =
|
|
55365
|
+
), Y = Sr(() => {
|
|
55368
55366
|
PR({
|
|
55369
55367
|
header: "Abrir videoconferencia",
|
|
55370
55368
|
message: "Al abrir la videconferencia, los participantes recibirán una notificación y podrán unirse de inmediato. Asegúrate de que todo está listo antes de continuar.",
|