@fraku/video 0.1.34 → 0.1.35
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/index.cjs +41 -41
- package/dist/index.js +451 -451
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -130,13 +130,13 @@ function oj() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var Se = Object.assign,
|
|
133
|
+
var Se = Object.assign, ce = 0, Oe, De, oe, be, re, Ce, Ie;
|
|
134
134
|
function _e() {
|
|
135
135
|
}
|
|
136
136
|
_e.__reactDisabledLog = !0;
|
|
137
137
|
function Te() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
139
|
+
if (ce === 0) {
|
|
140
140
|
Oe = console.log, De = console.info, oe = console.warn, be = console.error, re = console.group, Ce = console.groupCollapsed, Ie = console.groupEnd;
|
|
141
141
|
var Ae = {
|
|
142
142
|
configurable: !0,
|
|
@@ -154,12 +154,12 @@ function oj() {
|
|
|
154
154
|
groupEnd: Ae
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
ce++;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
function ze() {
|
|
161
161
|
{
|
|
162
|
-
if (
|
|
162
|
+
if (ce--, ce === 0) {
|
|
163
163
|
var Ae = {
|
|
164
164
|
configurable: !0,
|
|
165
165
|
enumerable: !0,
|
|
@@ -189,7 +189,7 @@ function oj() {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
ce < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
var Et = A.ReactCurrentDispatcher, at;
|
|
@@ -2826,7 +2826,7 @@ function Na(e, t) {
|
|
|
2826
2826
|
return Aj(e) || Rj(e, t) || Tj(e, t) || Oj();
|
|
2827
2827
|
}
|
|
2828
2828
|
var Jr = /* @__PURE__ */ on.createContext(), _j = function(t) {
|
|
2829
|
-
var r, n, o, i, a, s, l, c, d, p, m, y, b, v, C, A, R = (r = t.value) !== null && r !== void 0 ? r : {}, x = Pr((n = R.ripple) !== null && n !== void 0 ? n : !1), k = Na(x, 2), N = k[0], F = k[1], $ = Pr((o = R.inputStyle) !== null && o !== void 0 ? o : "outlined"), H = Na($, 2), G = H[0], Q = H[1], Y = Pr((i = R.locale) !== null && i !== void 0 ? i : "en"), fe = Na(Y, 2), ne = fe[0], Se = fe[1],
|
|
2829
|
+
var r, n, o, i, a, s, l, c, d, p, m, y, b, v, C, A, R = (r = t.value) !== null && r !== void 0 ? r : {}, x = Pr((n = R.ripple) !== null && n !== void 0 ? n : !1), k = Na(x, 2), N = k[0], F = k[1], $ = Pr((o = R.inputStyle) !== null && o !== void 0 ? o : "outlined"), H = Na($, 2), G = H[0], Q = H[1], Y = Pr((i = R.locale) !== null && i !== void 0 ? i : "en"), fe = Na(Y, 2), ne = fe[0], Se = fe[1], ce = Pr((a = R.appendTo) !== null && a !== void 0 ? a : null), Oe = Na(ce, 2), De = Oe[0], oe = Oe[1], be = Pr((s = R.styleContainer) !== null && s !== void 0 ? s : null), re = Na(be, 2), Ce = re[0], Ie = re[1], _e = Pr((l = R.cssTransition) !== null && l !== void 0 ? l : !0), Te = Na(_e, 2), ze = Te[0], Et = Te[1], at = Pr((c = R.autoZIndex) !== null && c !== void 0 ? c : !0), vt = Na(at, 2), He = vt[0], nt = vt[1], ot = Pr((d = R.hideOverlaysOnDocumentScrolling) !== null && d !== void 0 ? d : !1), we = Na(ot, 2), et = we[0], ht = we[1], Wt = Pr((p = R.nonce) !== null && p !== void 0 ? p : null), ur = Na(Wt, 2), At = ur[0], je = ur[1], Yt = Pr((m = R.nullSortOrder) !== null && m !== void 0 ? m : 1), ir = Na(Yt, 2), dr = ir[0], mr = ir[1], tn = Pr((y = R.zIndex) !== null && y !== void 0 ? y : {
|
|
2830
2830
|
modal: 1100,
|
|
2831
2831
|
overlay: 1e3,
|
|
2832
2832
|
menu: 1e3,
|
|
@@ -5515,8 +5515,8 @@ class cr {
|
|
|
5515
5515
|
var fe, ne;
|
|
5516
5516
|
(l || oe) && ((fe = this.instance) === null || fe === void 0 || fe.initAudioDecode()), !oe || l && a || (ne = this.instance) === null || ne === void 0 || ne.initAudioEncode();
|
|
5517
5517
|
}
|
|
5518
|
-
var Se,
|
|
5519
|
-
((F = this.constraints) === null || F === void 0 ? void 0 : F.video) === !0 && H && ((Se = this.instance) === null || Se === void 0 || Se.initVideoDecode(), l && a || (
|
|
5518
|
+
var Se, ce, Oe, De;
|
|
5519
|
+
((F = this.constraints) === null || F === void 0 ? void 0 : F.video) === !0 && H && ((Se = this.instance) === null || Se === void 0 || Se.initVideoDecode(), l && a || (ce = this.instance) === null || ce === void 0 || ce.initVideoEncode()), (($ = this.constraints) === null || $ === void 0 ? void 0 : $.screen) === !0 && H && ((Oe = this.instance) === null || Oe === void 0 || Oe.initSharingDecode(), !Q || l && a || (De = this.instance) === null || De === void 0 || De.initSharingEncode()), this.inProgress = !0;
|
|
5520
5520
|
}
|
|
5521
5521
|
async addProcessor(t) {
|
|
5522
5522
|
var r;
|
|
@@ -6974,8 +6974,8 @@ function x5(e, t, r, n, o) {
|
|
|
6974
6974
|
case "[object Set]":
|
|
6975
6975
|
var Se = 1 & G;
|
|
6976
6976
|
if (ne || (ne = JB), F.size != $.size && !Se) return !1;
|
|
6977
|
-
var
|
|
6978
|
-
if (
|
|
6977
|
+
var ce = fe.get(F);
|
|
6978
|
+
if (ce) return ce == $;
|
|
6979
6979
|
G |= 2, fe.set(F, $);
|
|
6980
6980
|
var Oe = MO(ne(F), ne($), G, Q, Y, fe);
|
|
6981
6981
|
return fe.delete(F), Oe;
|
|
@@ -6994,16 +6994,16 @@ function x5(e, t, r, n, o) {
|
|
|
6994
6994
|
return !!A && (d || (d = new sc()), (function(F, $, H, G, Q, Y) {
|
|
6995
6995
|
var fe = 1 & H, ne = TO(F), Se = ne.length;
|
|
6996
6996
|
if (Se != TO($).length && !fe) return !1;
|
|
6997
|
-
for (var
|
|
6998
|
-
var Oe = ne[
|
|
6997
|
+
for (var ce = Se; ce--; ) {
|
|
6998
|
+
var Oe = ne[ce];
|
|
6999
6999
|
if (!(fe ? Oe in $ : YB.call($, Oe))) return !1;
|
|
7000
7000
|
}
|
|
7001
7001
|
var De = Y.get(F), oe = Y.get($);
|
|
7002
7002
|
if (De && oe) return De == $ && oe == F;
|
|
7003
7003
|
var be = !0;
|
|
7004
7004
|
Y.set(F, $), Y.set($, F);
|
|
7005
|
-
for (var re = fe; ++
|
|
7006
|
-
var Ce = F[Oe = ne[
|
|
7005
|
+
for (var re = fe; ++ce < Se; ) {
|
|
7006
|
+
var Ce = F[Oe = ne[ce]], Ie = $[Oe];
|
|
7007
7007
|
if (G) var _e = fe ? G(Ie, Ce, Oe, $, F, Y) : G(Ce, Ie, Oe, F, $, Y);
|
|
7008
7008
|
if (!(_e === void 0 ? Ce === Ie || Q(Ce, Ie, H, G, Y) : _e)) {
|
|
7009
7009
|
be = !1;
|
|
@@ -8840,7 +8840,7 @@ var n1, b2, PH = (function() {
|
|
|
8840
8840
|
var R = !0, x = !0;
|
|
8841
8841
|
if (typeof v != "function") throw new TypeError(e);
|
|
8842
8842
|
return y(A) && (R = "leading" in A ? !!A.leading : R, x = "trailing" in A ? !!A.trailing : x), (function(k, N, F) {
|
|
8843
|
-
var $, H, G, Q, Y, fe, ne = 0, Se = !1,
|
|
8843
|
+
var $, H, G, Q, Y, fe, ne = 0, Se = !1, ce = !1, Oe = !0;
|
|
8844
8844
|
if (typeof k != "function") throw new TypeError(e);
|
|
8845
8845
|
function De(Ie) {
|
|
8846
8846
|
var _e = $, Te = H;
|
|
@@ -8848,14 +8848,14 @@ var n1, b2, PH = (function() {
|
|
|
8848
8848
|
}
|
|
8849
8849
|
function oe(Ie) {
|
|
8850
8850
|
var _e = Ie - fe;
|
|
8851
|
-
return fe === void 0 || _e >= N || _e < 0 ||
|
|
8851
|
+
return fe === void 0 || _e >= N || _e < 0 || ce && Ie - ne >= G;
|
|
8852
8852
|
}
|
|
8853
8853
|
function be() {
|
|
8854
8854
|
var Ie = m();
|
|
8855
8855
|
if (oe(Ie)) return re(Ie);
|
|
8856
8856
|
Y = setTimeout(be, (function(_e) {
|
|
8857
8857
|
var Te = N - (_e - fe);
|
|
8858
|
-
return
|
|
8858
|
+
return ce ? p(Te, G - (_e - ne)) : Te;
|
|
8859
8859
|
})(Ie));
|
|
8860
8860
|
}
|
|
8861
8861
|
function re(Ie) {
|
|
@@ -8867,11 +8867,11 @@ var n1, b2, PH = (function() {
|
|
|
8867
8867
|
if (Y === void 0) return (function(Te) {
|
|
8868
8868
|
return ne = Te, Y = setTimeout(be, N), Se ? De(Te) : Q;
|
|
8869
8869
|
})(fe);
|
|
8870
|
-
if (
|
|
8870
|
+
if (ce) return Y = setTimeout(be, N), De(fe);
|
|
8871
8871
|
}
|
|
8872
8872
|
return Y === void 0 && (Y = setTimeout(be, N)), Q;
|
|
8873
8873
|
}
|
|
8874
|
-
return N = b(N) || 0, y(F) && (Se = !!F.leading, G = (
|
|
8874
|
+
return N = b(N) || 0, y(F) && (Se = !!F.leading, G = (ce = "maxWait" in F) ? d(b(F.maxWait) || 0, N) : G, Oe = "trailing" in F ? !!F.trailing : Oe), Ce.cancel = function() {
|
|
8875
8875
|
Y !== void 0 && clearTimeout(Y), ne = 0, $ = fe = H = Y = void 0;
|
|
8876
8876
|
}, Ce.flush = function() {
|
|
8877
8877
|
return Y === void 0 ? Q : re(m());
|
|
@@ -12230,8 +12230,8 @@ var x$ = function(e, t, r, n) {
|
|
|
12230
12230
|
r.next(Ie), r.complete();
|
|
12231
12231
|
} else (re = F == null ? void 0 : F.error) === null || re === void 0 || re.call(F, oe), Se(Ce);
|
|
12232
12232
|
}));
|
|
12233
|
-
var
|
|
12234
|
-
for (var y in
|
|
12233
|
+
var ce = N.user, Oe = N.method, De = N.async;
|
|
12234
|
+
for (var y in ce ? x.open(Oe, d, De, ce, N.password) : x.open(Oe, d, De), De && (x.timeout = N.timeout, x.responseType = N.responseType), "withCredentials" in x && (x.withCredentials = N.withCredentials), m) m.hasOwnProperty(y) && x.setRequestHeader(y, m[y]);
|
|
12235
12235
|
return k ? x.send(k) : x.send(), function() {
|
|
12236
12236
|
x && x.readyState !== 4 && x.abort();
|
|
12237
12237
|
};
|
|
@@ -12717,17 +12717,17 @@ const B$ = { epics0: (e, t) => nf(e, 24583).pipe(Jt(t), ke((([r, n]) => {
|
|
|
12717
12717
|
return $.append("file", H), Ra({ url: F, method: "POST", headers: { "Zoom-File-Size": H.size, "Zoom-File-Path": y, "x-zm-trackingid": b, "Zoom-File-Origin": "redirect=support_auth", zmk: N }, crossDomain: Ua(F), body: $, includeUploadProgress: !0 }).pipe(Jo(Uy(i, a, A, s)), ke(((G) => {
|
|
12718
12718
|
var Q;
|
|
12719
12719
|
const { type: Y, loaded: fe, total: ne, responseHeaders: Se } = G;
|
|
12720
|
-
let
|
|
12720
|
+
let ce = 0;
|
|
12721
12721
|
const Oe = { upload: { uniqueId: a, status: mi.InProgress } }, De = [], oe = $p(a, l.value), be = oe == null || (Q = oe.file) === null || Q === void 0 ? void 0 : Q.upload.progress;
|
|
12722
|
-
if (Y === "upload_loadstart")
|
|
12723
|
-
else if (Y === "upload_progress")
|
|
12724
|
-
else if (Y === "upload_load")
|
|
12722
|
+
if (Y === "upload_loadstart") ce = be || Math.floor(d / p * 100);
|
|
12723
|
+
else if (Y === "upload_progress") ce = Math.floor((d * qi.ChunkSize + 0.9 * fe) / C * 100);
|
|
12724
|
+
else if (Y === "upload_load") ce = Math.floor((d * qi.ChunkSize + 0.9 * ne) / C * 100);
|
|
12725
12725
|
else if (Y === "download_load") {
|
|
12726
|
-
|
|
12726
|
+
ce = be || Math.floor((d + 1) / p * 100);
|
|
12727
12727
|
const re = Se["x-zm-etag"].trim(), Ce = v ? { ...v, [`${d + 1}`]: re } : { [`${d + 1}`]: re };
|
|
12728
12728
|
Object.assign(Oe.upload, { etags: Ce, chunkIndex: d + 1, totalChunks: p }), Object.assign(Oe, { originFile: i });
|
|
12729
12729
|
}
|
|
12730
|
-
return (
|
|
12730
|
+
return (ce > 0 || Y === "upload_loadstart") && (Object.assign(Oe.upload, { progress: ce }), ee(Fd, { ...Pf(i, A), progress: ce, status: mi.InProgress }), De.push(Pi(Oe))), ct(De);
|
|
12731
12731
|
})), ua(((G) => (console.warn(G), Zu(`Upload file chunk error. chunk:${d},total chunks:${p},uploadid:${m},trackingId:${b}`, i, G), Hy(c, i)))));
|
|
12732
12732
|
}
|
|
12733
12733
|
}
|
|
@@ -12797,9 +12797,9 @@ const B$ = { epics0: (e, t) => nf(e, 24583).pipe(Jt(t), ke((([r, n]) => {
|
|
|
12797
12797
|
const G = ou.Success;
|
|
12798
12798
|
Object.assign(A, { progress: 100, status: G }), C.push(Pi({ id: n, fileUrl: (x = d.file) === null || x === void 0 ? void 0 : x.fileUrl, download: { progress: 100, status: G } }));
|
|
12799
12799
|
const Q = (k = c.find(((fe) => fe.userId === d.sender.userId))) === null || k === void 0 ? void 0 : k.zoomID, Y = await (async function(fe, ne, Se) {
|
|
12800
|
-
const
|
|
12800
|
+
const ce = Math.ceil(fe.byteLength / qi.DecodeBlockSize);
|
|
12801
12801
|
try {
|
|
12802
|
-
const Oe = await Promise.all(Array.from({ length: Math.max(
|
|
12802
|
+
const Oe = await Promise.all(Array.from({ length: Math.max(ce - 1, 1) }, ((De, oe) => ({ start: oe * qi.DecodeBlockSize, end: (oe === ce - 2 ? oe + 2 : oe + 1) * qi.DecodeBlockSize }))).map((async ({ start: De, end: oe }) => {
|
|
12803
12803
|
try {
|
|
12804
12804
|
const be = fe.slice(De, oe), { message: re } = await Li.beginDecrypt({ decryptedText: be, zoomId: Se, type: ki.CHAT_FILE });
|
|
12805
12805
|
return re;
|
|
@@ -13034,14 +13034,14 @@ const aa = Ai.getInstance(), g1 = () => {
|
|
|
13034
13034
|
oe && oe.length > 1 && (Y = oe[1]);
|
|
13035
13035
|
}
|
|
13036
13036
|
const fe = Math.floor(performance.now() - l), ne = Math.floor(performance.now() - c);
|
|
13037
|
-
let [Se,
|
|
13037
|
+
let [Se, ce] = [void 0, void 0];
|
|
13038
13038
|
if (v) {
|
|
13039
13039
|
var Oe;
|
|
13040
13040
|
const { enforce_web_rtc_audio: oe, audio_compatible_mode: be, audio_webrtc_mode: re, video_webrtc_mode: Ce } = jl(v);
|
|
13041
|
-
Se = (Oe = re ?? be) !== null && Oe !== void 0 ? Oe : oe,
|
|
13041
|
+
Se = (Oe = re ?? be) !== null && Oe !== void 0 ? Oe : oe, ce = Ce;
|
|
13042
13042
|
}
|
|
13043
13043
|
const De = sn.createAgent();
|
|
13044
|
-
aa.report(JSON.stringify({ ...G, tid: d, mid: p, userRegion: Y, rwgUrl: R.length > 0 ? (n = R[x]) === null || n === void 0 ? void 0 : n.rwg : void 0, hardwareConcurrency: navigator.hardwareConcurrency, sharedArrayBuffer: qt.isSupportSharedArrayBuffer, OffscreenCanvas: qt.isSupportOffscreenCanvas, browserVersion: `${qt.browser} ${qt.browserVersion}`, osVersion: `${qt.os} ${qt.osVersion}`, gpu: qt.gpu, architecture: qt.architecture, model: qt.model, bitness: qt.bitness, wow64: qt.wow64, totalDurationOfJoining: fe, durationOfRWG: ne, rendererType: k, sdkVersion: b, mediaSdkVersion: (o = window.JsMediaSDK_Instance) === null || o === void 0 ? void 0 : o.version, topic: m ? Di(m) : void 0, accountId: y ? Di(y) : void 0, patchJSMediaSDK: N, dependentAssets: F, webRtcAudio: $, crossOriginIsolated: !!window.crossOriginIsolated, jwtAudio: Se, jwtVideo:
|
|
13044
|
+
aa.report(JSON.stringify({ ...G, tid: d, mid: p, userRegion: Y, rwgUrl: R.length > 0 ? (n = R[x]) === null || n === void 0 ? void 0 : n.rwg : void 0, hardwareConcurrency: navigator.hardwareConcurrency, sharedArrayBuffer: qt.isSupportSharedArrayBuffer, OffscreenCanvas: qt.isSupportOffscreenCanvas, browserVersion: `${qt.browser} ${qt.browserVersion}`, osVersion: `${qt.os} ${qt.osVersion}`, gpu: qt.gpu, architecture: qt.architecture, model: qt.model, bitness: qt.bitness, wow64: qt.wow64, totalDurationOfJoining: fe, durationOfRWG: ne, rendererType: k, sdkVersion: b, mediaSdkVersion: (o = window.JsMediaSDK_Instance) === null || o === void 0 ? void 0 : o.version, topic: m ? Di(m) : void 0, accountId: y ? Di(y) : void 0, patchJSMediaSDK: N, dependentAssets: F, webRtcAudio: $, crossOriginIsolated: !!window.crossOriginIsolated, jwtAudio: Se, jwtVideo: ce, isRlbTP: (i = De.websocket) === null || i === void 0 ? void 0 : i.isRlb, abOption: C, logDetail: H, isPrivateMeeting: A }), Q, "info"), De.sendRWGConnectionPerformance(`WCL_M, conId: ${s == null ? void 0 : s.conID}, trackingId: ${(a = t.value.logger) === null || a === void 0 || (a = a.options) === null || a === void 0 ? void 0 : a.trackingId}, JOINFS(${fe}), JOINFRWC(${ne})`);
|
|
13045
13045
|
})), epics2: (e, t) => e.pipe(Mt(`${xA}`), Jt(t), Ve((([, r]) => r.meeting.encryptedRWC === void 0 && (r.meeting.encryptedGEORWC === void 0 || r.meeting.encryptedGEORWC.length === 0))), Va(e, t, (() => {
|
|
13046
13046
|
const { label: r, payload: n } = $c(t.value);
|
|
13047
13047
|
aa.report(`${r} ${JSON.stringify(n)}`, ["Join Meeting Flow", "Ping RWC Domain Empty"], "error");
|
|
@@ -13577,8 +13577,8 @@ let MW = (L_ = Nt("audio"), F_ = Nt("audio"), j_ = Nt("audio"), V_ = Nt("audio")
|
|
|
13577
13577
|
G.addEventListener("canplaythrough", (() => {
|
|
13578
13578
|
G.play().then((() => {
|
|
13579
13579
|
fe(!0);
|
|
13580
|
-
})).catch(((
|
|
13581
|
-
ne(
|
|
13580
|
+
})).catch(((ce) => {
|
|
13581
|
+
ne(ce);
|
|
13582
13582
|
}));
|
|
13583
13583
|
})), (Se = G.load) === null || Se === void 0 || Se.call(G);
|
|
13584
13584
|
})) : G.play();
|
|
@@ -13951,14 +13951,14 @@ let MW = (L_ = Nt("audio"), F_ = Nt("audio"), j_ = Nt("audio"), V_ = Nt("audio")
|
|
|
13951
13951
|
}
|
|
13952
13952
|
return !XE(d, v) && C != null && C.virtualBackground ? Promise.reject({ type: hr, reason: "Virtual background only compatible with Chrome and Edge with SharedArrayBuffer enabled.", errorCode: X.VIDEO_VB_UNSUPPORTED }) : b === pi.VideoProcessor && C != null && C.virtualBackground && C != null && (n = C.virtualBackground) !== null && n !== void 0 && n.imageUrl ? Promise.reject({ type: Pe, reason: "Cannot start capture video with virtual background when video processor is enabled", errorCode: X.VIDEO_VB_PROCESSOR_CONFLICT }) : (i(Vp(!0)), fi("video", c, l).subscribe((([A]) => {
|
|
13953
13953
|
if (A) {
|
|
13954
|
-
const R = o(), { video: { activeCamera: x, isSupportHDVideo: k, virtualBackground: { imageSrc: N }, mask: { imageSrc: F }, isMirrored: $, hardwareAcceleration: H } } = R, { cameraId: G = x, captureWidth: Q = 0, captureHeight: Y = 0, mirrored: fe, hd: ne, fullHd: Se, virtualBackground:
|
|
13954
|
+
const R = o(), { video: { activeCamera: x, isSupportHDVideo: k, virtualBackground: { imageSrc: N }, mask: { imageSrc: F }, isMirrored: $, hardwareAcceleration: H } } = R, { cameraId: G = x, captureWidth: Q = 0, captureHeight: Y = 0, mirrored: fe, hd: ne, fullHd: Se, virtualBackground: ce, mask: Oe } = C || {};
|
|
13955
13955
|
UO(fe ?? $, a, R), (ne || Se) && (k && H.encode !== !1 && cr.isCompatibleHardwareForEncode() && cr.isSupportVideoEncodeHardwareAcceleration().then(((re) => {
|
|
13956
13956
|
re && (a.enableHardwareAccelerationForVideoEncode(!0), i(Op({ encode: re })));
|
|
13957
13957
|
})), k || console.warn("Cannot capture HD video due to either account restriction and/or hardware limitation"));
|
|
13958
|
-
const De =
|
|
13958
|
+
const De = ce || ce === void 0 && !!N && Oe === void 0, oe = Oe || Oe === void 0 && !!F;
|
|
13959
13959
|
let be = Promise.resolve({});
|
|
13960
13960
|
if (De) {
|
|
13961
|
-
const re =
|
|
13961
|
+
const re = ce || { imageUrl: void 0, cropped: void 0 };
|
|
13962
13962
|
be = Ry({ ...re, captureWidth: Q, captureHeight: Y, cameraId: G, hd: ne }, a, R).then((() => re));
|
|
13963
13963
|
} else if (oe) {
|
|
13964
13964
|
const re = Oe || { imageUrl: void 0, cropped: void 0, clip: void 0, rootWidth: void 0, rootHeight: void 0 };
|
|
@@ -14060,7 +14060,7 @@ let MW = (L_ = Nt("audio"), F_ = Nt("audio"), j_ = Nt("audio"), V_ = Nt("audio")
|
|
|
14060
14060
|
}
|
|
14061
14061
|
return Promise.reject({ type: hr, reason: "You must use a <video> element to render self video for Chromium browser, Android browser without SharedArrayBuffer or iOS browser ", errorCode: X.STREAM_MISMATCH_RENDER_ELEMENT });
|
|
14062
14062
|
}
|
|
14063
|
-
const
|
|
14063
|
+
const ce = !!R, { media: { videoDecodeStatus: Oe } } = F;
|
|
14064
14064
|
return fi("video", "success", Oe).subscribe((async ([De, oe]) => {
|
|
14065
14065
|
if (oe) {
|
|
14066
14066
|
const { video: { ensuredCanvas: be, renderedVideoList: re } } = x();
|
|
@@ -14070,7 +14070,7 @@ let MW = (L_ = Nt("audio"), F_ = Nt("audio"), j_ = Nt("audio"), V_ = Nt("audio")
|
|
|
14070
14070
|
const { video: { prefetchedVideo: at } } = Et;
|
|
14071
14071
|
return (at == null ? void 0 : at.userId) !== ze || at.loaded ? "" : Un(ta(pn(G4, 1), co(1e3).pipe(Ld(""))));
|
|
14072
14072
|
})(p, x());
|
|
14073
|
-
re.some(((ze) => ze.userId === p && ze.key === _e && ze.canvasId === Ce.id)) || N.renderVideo(Ce, p, _e, m, y, b, v, C, Ie, R || "",
|
|
14073
|
+
re.some(((ze) => ze.userId === p && ze.key === _e && ze.canvasId === Ce.id)) || N.renderVideo(Ce, p, _e, m, y, b, v, C, Ie, R || "", ce), p !== $ && N.subscribeVideo(p, C, !1), Y.includes(p) || k(Sy(p)), Te && k(tf(void 0)), k(Od({ userId: p, key: _e, canvasId: Ce.id, videoQuality: C, aspectRatio: y ? m / y : 0 }));
|
|
14074
14074
|
}
|
|
14075
14075
|
})), Oe === "failed" ? Promise.reject({ type: Wo, reason: "Video decode status is failed", errorCode: X.INTERNAL_ERROR }) : Promise.resolve("");
|
|
14076
14076
|
})(this[Ke], e, t, r, n, o, i, a, s, l);
|
|
@@ -14559,7 +14559,7 @@ let MW = (L_ = Nt("audio"), F_ = Nt("audio"), j_ = Nt("audio"), V_ = Nt("audio")
|
|
|
14559
14559
|
var s;
|
|
14560
14560
|
const { store: { getState: l, dispatch: c }, mediaAgent: d, rwgAgent: p } = n;
|
|
14561
14561
|
await (async function(k, N, F, $) {
|
|
14562
|
-
const { share: { isReceiveSharing: H, isRemoteSharingActive: G, activeNodeId: Q, isSimultaneousShareView: Y, status: fe, annotationUsers: ne, isReceiveSharingFromMainSession: Se, ssrc:
|
|
14562
|
+
const { share: { isReceiveSharing: H, isRemoteSharingActive: G, activeNodeId: Q, isSimultaneousShareView: Y, status: fe, annotationUsers: ne, isReceiveSharingFromMainSession: Se, ssrc: ce } } = F;
|
|
14563
14563
|
if (Y) {
|
|
14564
14564
|
if (!k) return Promise.reject({ type: hr, reason: "", errorCode: X.STREAM_MISMATCH_USER });
|
|
14565
14565
|
if (Se) {
|
|
@@ -14569,7 +14569,7 @@ let MW = (L_ = Nt("audio"), F_ = Nt("audio"), j_ = Nt("audio"), V_ = Nt("audio")
|
|
|
14569
14569
|
if (De) return De;
|
|
14570
14570
|
}
|
|
14571
14571
|
if (H) return Promise.reject({ type: Pe, reason: "", errorCode: X.SCREEN_SHARE_MISMATCH_STATE });
|
|
14572
|
-
const Oe = H2(ne,
|
|
14572
|
+
const Oe = H2(ne, ce, $);
|
|
14573
14573
|
if (Oe) return Oe;
|
|
14574
14574
|
await Un(XT(F));
|
|
14575
14575
|
} else {
|
|
@@ -14764,25 +14764,25 @@ let MW = (L_ = Nt("audio"), F_ = Nt("audio"), j_ = Nt("audio"), V_ = Nt("audio")
|
|
|
14764
14764
|
const { share: { isSimultaneousShareView: A, annotationUsers: R, ssrc: x, status: k, isReceiveSharing: N, remoteControlledUserList: F, isReceiveSharingFromMainSession: $, activeNodeId: H }, meeting: { userId: G }, breakoutRoom: Q } = v, Y = [];
|
|
14765
14765
|
if ($) {
|
|
14766
14766
|
var fe;
|
|
14767
|
-
const
|
|
14768
|
-
Y.push(...(fe = Q == null ? void 0 : Q.mainSessionAttendeeList.filter(((Oe) => !Oe.bid && !Oe.bHold && Oe.userGUID !== (
|
|
14767
|
+
const ce = or(v);
|
|
14768
|
+
Y.push(...(fe = Q == null ? void 0 : Q.mainSessionAttendeeList.filter(((Oe) => !Oe.bid && !Oe.bHold && Oe.userGUID !== (ce == null ? void 0 : ce.userGUID)))) !== null && fe !== void 0 ? fe : []);
|
|
14769
14769
|
} else {
|
|
14770
14770
|
var ne, Se;
|
|
14771
|
-
Y.push(...(ne = (Se = uu(v)) === null || Se === void 0 ? void 0 : Se.filter(((
|
|
14771
|
+
Y.push(...(ne = (Se = uu(v)) === null || Se === void 0 ? void 0 : Se.filter(((ce) => ce.userId !== G))) !== null && ne !== void 0 ? ne : []);
|
|
14772
14772
|
}
|
|
14773
14773
|
if (b !== H) {
|
|
14774
|
-
const
|
|
14775
|
-
if (
|
|
14774
|
+
const ce = $2(Y, b);
|
|
14775
|
+
if (ce) return ce;
|
|
14776
14776
|
}
|
|
14777
14777
|
if (A) {
|
|
14778
|
-
const
|
|
14779
|
-
if (
|
|
14778
|
+
const ce = H2(R, x, C);
|
|
14779
|
+
if (ce) return ce;
|
|
14780
14780
|
} else if (k !== Nr.End) return Promise.reject({ type: Pe, reason: "Screen share is in progress", errorCode: X.SCREEN_SHARE_MISMATCH_STATE });
|
|
14781
14781
|
if (N) {
|
|
14782
14782
|
if (R.some(((De) => De.isInitialized))) return Promise.reject({ type: Pe, reason: "Cannot attach multiple share views due to annotation is in progress", errorCode: X.SCREEN_SHARE_MISMATCH_STATE });
|
|
14783
14783
|
if (F.length > 0) return Promise.reject({ type: Pe, reason: "Cannot attach multiple share views due to remote control is in progress", errorCode: X.SCREEN_SHARE_MISMATCH_STATE });
|
|
14784
|
-
const
|
|
14785
|
-
if (
|
|
14784
|
+
const ce = GA(v), Oe = W2();
|
|
14785
|
+
if (ce >= Oe) return Promise.reject({ type: Pe, reason: `Cannot attach multiple share views exceeding the maximum allowed limit(${Oe})`, errorCode: X.SCREEN_SHARE_LIMIT_EXCEED });
|
|
14786
14786
|
}
|
|
14787
14787
|
return "";
|
|
14788
14788
|
})(n, i(), s);
|
|
@@ -15438,10 +15438,10 @@ var VW = Ll(Oc, 9, 0), BW = Ll(Oc, 9, 1), UW = Ll(Rm, 5, 0), HW = Ll(Rm, 5, 1),
|
|
|
15438
15438
|
for (var p = C1(o, 15), m = p[0], y = p[1], b = C1(i, 15), v = b[0], C = b[1], A = Kx(m), R = A[0], x = A[1], k = Kx(v), N = k[0], F = k[1], $ = new Za(19), H = 0; H < R.length; ++H) $[31 & R[H]]++;
|
|
15439
15439
|
for (H = 0; H < N.length; ++H) $[31 & N[H]]++;
|
|
15440
15440
|
for (var G = C1($, 7), Q = G[0], Y = G[1], fe = 19; fe > 4 && !Q[Aw[fe - 1]]; --fe) ;
|
|
15441
|
-
var ne, Se,
|
|
15441
|
+
var ne, Se, ce, Oe, De = c + 5 << 3, oe = fh(o, Oc) + fh(i, Rm) + a, be = fh(o, m) + fh(i, v) + a + 14 + 3 * fe + fh($, Q) + (2 * $[16] + 3 * $[17] + 7 * $[18]);
|
|
15442
15442
|
if (De <= oe && De <= be) return f9(t, d, e.subarray(l, l + c));
|
|
15443
15443
|
if (Yl(t, d, 1 + (be < oe)), d += 2, be < oe) {
|
|
15444
|
-
ne = Ll(m, y, 0), Se = m,
|
|
15444
|
+
ne = Ll(m, y, 0), Se = m, ce = Ll(v, C, 0), Oe = v;
|
|
15445
15445
|
var re = Ll(Q, Y, 0);
|
|
15446
15446
|
for (Yl(t, d, x - 257), Yl(t, d + 5, F - 1), Yl(t, d + 10, fe - 4), d += 14, H = 0; H < fe; ++H) Yl(t, d + 3 * H, Q[Aw[H]]);
|
|
15447
15447
|
d += 3 * fe;
|
|
@@ -15452,11 +15452,11 @@ var VW = Ll(Oc, 9, 0), BW = Ll(Oc, 9, 1), UW = Ll(Rm, 5, 0), HW = Ll(Rm, 5, 1),
|
|
|
15452
15452
|
Yl(t, d, re[Te]), d += Q[Te], Te > 15 && (Yl(t, d, _e[H] >>> 5 & 127), d += _e[H] >>> 12);
|
|
15453
15453
|
}
|
|
15454
15454
|
}
|
|
15455
|
-
} else ne = VW, Se = Oc,
|
|
15455
|
+
} else ne = VW, Se = Oc, ce = UW, Oe = Rm;
|
|
15456
15456
|
for (H = 0; H < s; ++H) if (n[H] > 255) {
|
|
15457
15457
|
Te = n[H] >>> 18 & 31, ph(t, d, ne[Te + 257]), d += Se[Te + 257], Te > 7 && (Yl(t, d, n[H] >>> 23 & 31), d += $0[Te]);
|
|
15458
15458
|
var ze = 31 & n[H];
|
|
15459
|
-
ph(t, d,
|
|
15459
|
+
ph(t, d, ce[ze]), d += Oe[ze], ze > 3 && (ph(t, d, n[H] >>> 5 & 8191), d += W0[ze]);
|
|
15460
15460
|
} else ph(t, d, ne[n[H]]), d += Se[n[H]];
|
|
15461
15461
|
return ph(t, d, ne[256]), d + Se[256];
|
|
15462
15462
|
}, WW = new H0([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]), h9 = new Zi(0), zW = (function() {
|
|
@@ -15490,12 +15490,12 @@ function KW(e, t) {
|
|
|
15490
15490
|
else {
|
|
15491
15491
|
for (var F = WW[p - 1], $ = F >>> 13, H = 8191 & F, G = (1 << m) - 1, Q = new Za(32768), Y = new Za(G + 1), fe = Math.ceil(m / 3), ne = 2 * fe, Se = function(mr) {
|
|
15492
15492
|
return (d[mr] ^ d[mr + 1] << fe ^ d[mr + 2] << ne) & G;
|
|
15493
|
-
},
|
|
15493
|
+
}, ce = new H0(25e3), Oe = new Za(288), De = new Za(32), oe = 0, be = 0, re = (k = 0, 0), Ce = 0, Ie = 0; k < C; ++k) {
|
|
15494
15494
|
var _e = Se(k), Te = 32767 & k, ze = Y[_e];
|
|
15495
15495
|
if (Q[Te] = ze, Y[_e] = Te, Ce <= k) {
|
|
15496
15496
|
var Et = C - k;
|
|
15497
15497
|
if ((oe > 7e3 || re > 24576) && Et > 423) {
|
|
15498
|
-
x = Gx(d, R, 0,
|
|
15498
|
+
x = Gx(d, R, 0, ce, Oe, De, be, re, Ie, k - Ie, x), re = oe = be = 0, Ie = k;
|
|
15499
15499
|
for (var at = 0; at < 286; ++at) Oe[at] = 0;
|
|
15500
15500
|
for (at = 0; at < 30; ++at) De[at] = 0;
|
|
15501
15501
|
}
|
|
@@ -15515,13 +15515,13 @@ function KW(e, t) {
|
|
|
15515
15515
|
ot += (Te = ze) - (ze = Q[Te]) + 32768 & 32767;
|
|
15516
15516
|
}
|
|
15517
15517
|
if (He) {
|
|
15518
|
-
|
|
15518
|
+
ce[re++] = 268435456 | Rw[vt] << 18 | zx[He];
|
|
15519
15519
|
var ir = 31 & Rw[vt], dr = 31 & zx[He];
|
|
15520
15520
|
be += $0[ir] + W0[dr], ++Oe[257 + ir], ++De[dr], Ce = k + vt, ++oe;
|
|
15521
|
-
} else
|
|
15521
|
+
} else ce[re++] = d[k], ++Oe[d[k]];
|
|
15522
15522
|
}
|
|
15523
15523
|
}
|
|
15524
|
-
x = Gx(d, R, v,
|
|
15524
|
+
x = Gx(d, R, v, ce, Oe, De, be, re, Ie, k - Ie, x);
|
|
15525
15525
|
}
|
|
15526
15526
|
return d0(A, 0, y + hR(x) + b);
|
|
15527
15527
|
})(a, s.level == null ? 6 : s.level, s.mem == null ? Math.ceil(1.5 * Math.max(8, Math.min(13, Math.log(a.length)))) : 12 + s.mem, l, c, !0);
|
|
@@ -15977,7 +15977,7 @@ const ZW = { breakoutRoomSharingEpics0: (e, t) => lc(e, Hn).pipe(Ve(((r) => {
|
|
|
15977
15977
|
}
|
|
15978
15978
|
if (fe == 1) $ = BW, H = HW, G = 9, Q = 5;
|
|
15979
15979
|
else if (fe == 2) {
|
|
15980
|
-
var
|
|
15980
|
+
var ce = qs(y, N, 31) + 257, Oe = qs(y, N + 10, 15) + 4, De = ce + qs(y, N + 5, 31) + 1;
|
|
15981
15981
|
N += 14;
|
|
15982
15982
|
for (var oe = new Zi(De), be = new Zi(19), re = 0; re < Oe; ++re) be[Aw[re]] = qs(y, N + 3 * re, 7);
|
|
15983
15983
|
N += 3 * Oe;
|
|
@@ -15990,7 +15990,7 @@ const ZW = { breakoutRoomSharingEpics0: (e, t) => lc(e, Hn).pipe(Ve(((r) => {
|
|
|
15990
15990
|
for (Te == 16 ? (at = 3 + qs(y, N, 3), N += 2, Et = oe[re - 1]) : Te == 17 ? (at = 3 + qs(y, N, 7), N += 3) : Te == 18 && (at = 11 + qs(y, N, 127), N += 7); at--; ) oe[re++] = Et;
|
|
15991
15991
|
}
|
|
15992
15992
|
}
|
|
15993
|
-
var vt = oe.subarray(0,
|
|
15993
|
+
var vt = oe.subarray(0, ce), He = oe.subarray(ce);
|
|
15994
15994
|
G = S1(vt), Q = S1(He), $ = Ll(vt, G, 1), H = Ll(He, Q, 1);
|
|
15995
15995
|
} else Cl(1);
|
|
15996
15996
|
if (N > Y) {
|
|
@@ -16049,8 +16049,8 @@ const ZW = { breakoutRoomSharingEpics0: (e, t) => lc(e, Hn).pipe(Ve(((r) => {
|
|
|
16049
16049
|
switch (d.push(Gh(fe)), ee(sd, { controlStatus: y, roomList: fe }), y) {
|
|
16050
16050
|
case Gr.InProgress:
|
|
16051
16051
|
if (a !== wr.InRoom && a !== wr.Joining) {
|
|
16052
|
-
const ne = (function(Se,
|
|
16053
|
-
const { meeting: { isHost: Oe, userGUID: De }, breakoutRoom: { currentRoom: { status: oe, boId: be } } } =
|
|
16052
|
+
const ne = (function(Se, ce) {
|
|
16053
|
+
const { meeting: { isHost: Oe, userGUID: De }, breakoutRoom: { currentRoom: { status: oe, boId: be } } } = ce.value, re = $r.get(mR), Ce = [];
|
|
16054
16054
|
if (re) try {
|
|
16055
16055
|
const { status: Ie, boId: _e } = JSON.parse(re);
|
|
16056
16056
|
if (Ie === wr.Invited) if (Oe) xp();
|
|
@@ -16063,7 +16063,7 @@ const ZW = { breakoutRoomSharingEpics0: (e, t) => lc(e, Hn).pipe(Ve(((r) => {
|
|
|
16063
16063
|
if (Te = Oe ? Se.find(((ze) => ze.boId === _e)) : tl(Se, De), Te) {
|
|
16064
16064
|
Ce.push(lv(Te));
|
|
16065
16065
|
const ze = Te.boId;
|
|
16066
|
-
Ud(
|
|
16066
|
+
Ud(ce).subscribe((() => {
|
|
16067
16067
|
sn.createAgent().joinBO(ze);
|
|
16068
16068
|
}));
|
|
16069
16069
|
}
|
|
@@ -16084,9 +16084,9 @@ const ZW = { breakoutRoomSharingEpics0: (e, t) => lc(e, Hn).pipe(Ve(((r) => {
|
|
|
16084
16084
|
s === ne.boId || Se || Js.joinBO(ne.boId);
|
|
16085
16085
|
}));
|
|
16086
16086
|
}
|
|
16087
|
-
Y.isTimerEnabled && Y.timerDuration > 0 && (p = (function(ne, Se,
|
|
16087
|
+
Y.isTimerEnabled && Y.timerDuration > 0 && (p = (function(ne, Se, ce) {
|
|
16088
16088
|
return T1(ne).pipe(Jt(ne), qr((([Oe, De]) => {
|
|
16089
|
-
const { breakoutRoom: { currentRoom: { status: oe }, meetingElapsedTime: be }, meeting: { joinMeetingTimeStamp: re } } = De, Ce = re - 1e3 * be + 1e3 *
|
|
16089
|
+
const { breakoutRoom: { currentRoom: { status: oe }, meetingElapsedTime: be }, meeting: { joinMeetingTimeStamp: re } } = De, Ce = re - 1e3 * be + 1e3 * ce + 1e3 * Se;
|
|
16090
16090
|
if (performance.now() < Ce) {
|
|
16091
16091
|
if (Oe) return am(1e3).pipe(St((() => Math.floor((Ce - performance.now()) / 1e3))), Jt(ne), hd((([Ie, _e]) => {
|
|
16092
16092
|
const { breakoutRoom: { controlStatus: Te, currentRoom: { status: ze } }, socket: { zoomSocketStatus: Et }, meeting: { isHost: at } } = _e;
|
|
@@ -16110,7 +16110,7 @@ const ZW = { breakoutRoomSharingEpics0: (e, t) => lc(e, Hn).pipe(Ve(((r) => {
|
|
|
16110
16110
|
break;
|
|
16111
16111
|
case Gr.Closing:
|
|
16112
16112
|
p = T1(t).pipe(Ve(((ne) => ne)), ke((() => {
|
|
16113
|
-
const ne = [], { breakoutRoom: { closingRoomTime: Se, currentRoom: { status:
|
|
16113
|
+
const ne = [], { breakoutRoom: { closingRoomTime: Se, currentRoom: { status: ce } }, participants: { attendeesList: Oe } } = t.value;
|
|
16114
16114
|
let De = Y.waitSeconds;
|
|
16115
16115
|
if (Se !== 0 && Y.waitSeconds > 0) {
|
|
16116
16116
|
const oe = Math.floor((performance.now() - Se) / 1e3);
|
|
@@ -16118,7 +16118,7 @@ const ZW = { breakoutRoomSharingEpics0: (e, t) => lc(e, Hn).pipe(Ve(((r) => {
|
|
|
16118
16118
|
}
|
|
16119
16119
|
if (De === 0) return Js.stopBO(Gr.Closed), It;
|
|
16120
16120
|
{
|
|
16121
|
-
if (
|
|
16121
|
+
if (ce !== wr.InRoom && Oe.length > 1 && Oe.every(((be) => !be.bid))) return Js.stopBO(Gr.Closed), It;
|
|
16122
16122
|
Se || ne.push(dw(performance.now()));
|
|
16123
16123
|
const oe = performance.now() + 1e3 * De;
|
|
16124
16124
|
return qo(ct(ne), co(0, 1e3).pipe(St((() => Math.floor((oe - performance.now()) / 1e3))), Jt(t), hd((([, be]) => {
|
|
@@ -16218,7 +16218,7 @@ const ZW = { breakoutRoomSharingEpics0: (e, t) => lc(e, Hn).pipe(Ve(((r) => {
|
|
|
16218
16218
|
Js.askForHelpResultBO(N, ac.Received), b.push(lR(ac.Received), Xk(N));
|
|
16219
16219
|
const fe = (d === wr.InRoom ? F : Y).find(((ne) => ne.userId === N));
|
|
16220
16220
|
if (fe) {
|
|
16221
|
-
const ne = fe.bid, Se = $.find(((
|
|
16221
|
+
const ne = fe.bid, Se = $.find(((ce) => ce.boId === ne));
|
|
16222
16222
|
Se && ee(XM, { userId: N, userGuid: fe.userGUID, displayName: fe.displayName, roomName: Se.name, roomId: Se.boId });
|
|
16223
16223
|
}
|
|
16224
16224
|
}
|
|
@@ -16236,8 +16236,8 @@ const ZW = { breakoutRoomSharingEpics0: (e, t) => lc(e, Hn).pipe(Ve(((r) => {
|
|
|
16236
16236
|
if (H) {
|
|
16237
16237
|
const { breakoutRoom: { rooms: G } } = n, Q = tl(G, H), Y = (function(fe, ne) {
|
|
16238
16238
|
const Se = { isTalking: ne === 1 };
|
|
16239
|
-
return qW.forEach(((
|
|
16240
|
-
const { mask: Oe, key: De, value: oe } =
|
|
16239
|
+
return qW.forEach(((ce) => {
|
|
16240
|
+
const { mask: Oe, key: De, value: oe } = ce;
|
|
16241
16241
|
(Oe & fe) === Oe && Object.assign(Se, { [`${De}`]: oe });
|
|
16242
16242
|
})), Se;
|
|
16243
16243
|
})(Number(N), Number(F));
|
|
@@ -17123,7 +17123,7 @@ async function pD(e, t) {
|
|
|
17123
17123
|
m && (p.classList.contains(ow) || p.classList.add(ow), p.dataset.presenterId = `${m}`, window.getComputedStyle(p).position !== "relative" && (p.style.position = "relative"));
|
|
17124
17124
|
})(e, d == null ? void 0 : d.presenterId), await (async function(p, m) {
|
|
17125
17125
|
var y, b, v;
|
|
17126
|
-
const { getState: C, dispatch: A, whiteboardAgent: R, mediaSDKAgent: x } = m, { whiteboard: { whiteboardToken: k } } = C(), N = await b9(k, A), F = C(), { meeting: { userId: $, uid: H, zlkJwtToken: G, meetingId: Q, meetingNumber: Y, meetingOptions: fe, lang: ne }, whiteboard: { whiteboardConfig: Se, presenter:
|
|
17126
|
+
const { getState: C, dispatch: A, whiteboardAgent: R, mediaSDKAgent: x } = m, { whiteboard: { whiteboardToken: k } } = C(), N = await b9(k, A), F = C(), { meeting: { userId: $, uid: H, zlkJwtToken: G, meetingId: Q, meetingNumber: Y, meetingOptions: fe, lang: ne }, whiteboard: { whiteboardConfig: Se, presenter: ce } } = F, Oe = { container: p, docId: (y = Se.docId) !== null && y !== void 0 ? y : "", useSelfRouter: !0, isEnableWBChatGPT: !!fe.isEnableWBChatGPT, isLogin: !1, lang: ne, clientConfig: bz(F) }, De = or(F), oe = { docId: (b = Se.docId) !== null && b !== void 0 ? b : "", accountId: "", nodeId: $, userId: H, userName: (v = De == null ? void 0 : De.displayName) !== null && v !== void 0 ? v : "", userAvatar: G ? "" : De == null ? void 0 : De.displayName, dasDomain: Se.dasDomain, dcszDomain: Se.dcsz, confGroupToken: Se.confGroupToken, wbk: N, mySharing: $ === (ce == null ? void 0 : ce.presenterId), makePermanent: !1, meetingNumber: Y, meetingID: Q, onLocalMessage: (Ce) => {
|
|
17127
17127
|
A(H7(Ce));
|
|
17128
17128
|
} };
|
|
17129
17129
|
await R.init({ boardConfig: Oe, connConfig: oe });
|
|
@@ -18133,8 +18133,8 @@ const kz = Ai.getInstance(), L1 = { meetingStatus: vi.Initial, isWindowOpen: !1,
|
|
|
18133
18133
|
else if ([Ya.UserHasBeenRemoved, Ya.WebinarBlockedEmail].includes(i)) ee(ko, El(i));
|
|
18134
18134
|
else if (Ya.MeetingNotStarted === i) {
|
|
18135
18135
|
var R;
|
|
18136
|
-
const x = El(i), { meeting: { meetingNumber: k, passWord: N, userName: F, userEmail: $, inviteEmail: H, meetingTopic: G, region: Q, network: Y, userId: fe, lang: ne, meetingId: Se, participantID:
|
|
18137
|
-
Object.assign(x, { meetingInfo: { meetingNumber: k, password: N, userName: F, userEmail: $, inviteEmail: H, meetingTopic: G, region: Q, network: Y, userId: fe, lang: ne, webEndpoint: Ic(), meetingId: Se, participantId:
|
|
18136
|
+
const x = El(i), { meeting: { meetingNumber: k, passWord: N, userName: F, userEmail: $, inviteEmail: H, meetingTopic: G, region: Q, network: Y, userId: fe, lang: ne, meetingId: Se, participantID: ce, wrInfo: Oe, meetingInfo: De, isNewJoinFlow: oe, enableLongPollingCheckStart: be, tid: re, signature: Ce, rsPwd: Ie } } = o;
|
|
18137
|
+
Object.assign(x, { meetingInfo: { meetingNumber: k, password: N, userName: F, userEmail: $, inviteEmail: H, meetingTopic: G, region: Q, network: Y, userId: fe, lang: ne, webEndpoint: Ic(), meetingId: Se, participantId: ce, wrInfo: Object.assign({}, Oe, { isNew: oe }), scheduleInfo: De, enableLongPollingCheckStart: be, rid: A$(re), role: Number((R = jl(Ce)) === null || R === void 0 ? void 0 : R.role), rsPwd: Ie } }), ee(ko, x);
|
|
18138
18138
|
} else ee(ko, El(i));
|
|
18139
18139
|
return ct(bd(o, !1));
|
|
18140
18140
|
}, Ac(qr(((n, o) => r(n) || It)))));
|
|
@@ -18317,8 +18317,8 @@ const kz = Ai.getInstance(), L1 = { meetingStatus: vi.Initial, isWindowOpen: !1,
|
|
|
18317
18317
|
$r.init(s);
|
|
18318
18318
|
const d = ((y, b) => {
|
|
18319
18319
|
if (y.result) {
|
|
18320
|
-
const { result: { mn: v, ts: C, auth: A, track_auth: R, mid: x, tid: k, webMediaBlockConfig: N, encryptedRWC: F, encryptedGEORWC: $, user_identity: H, meetingOptions: G, can_recording: Q, wcXMPPConfig: Y, call_out_country_json: fe, isOriginalHost: ne, support_call_out: Se, liveTranscription:
|
|
18321
|
-
return { isSupportRtmsApp: Wt, meetingNumber: v, meetingId: x, tid: k, ts: C, auth: A, passWord: At, trackAuth: R, customerKey: H, encryptedRWC: JSON.parse(F || "{}"), encryptedGEORWC: JSON.parse($ || "{}"), meetingOptions: JSON.parse(G || "{}"), recordingEnable: Q === "1", topic: je, userName: $r.get(bn.WebclientUserName) || dr, cv: ir, zlkJwtToken: Yt, webMediaBlockConfig: N, xmppConfig: JSON.parse(Y || "{}"), callOutCountry: JSON.parse(fe || "{}"), lang: ur, isOriginHost: ne, isSupportCallOut: Se === "1", liveTranscription: JSON.parse(
|
|
18320
|
+
const { result: { mn: v, ts: C, auth: A, track_auth: R, mid: x, tid: k, webMediaBlockConfig: N, encryptedRWC: F, encryptedGEORWC: $, user_identity: H, meetingOptions: G, can_recording: Q, wcXMPPConfig: Y, call_out_country_json: fe, isOriginalHost: ne, support_call_out: Se, liveTranscription: ce, logConfig: Oe, toll_numbers_json: De, h323Password: oe, liveStreamInfo: be, rc_auto_delete: re, jwt_rc: Ce, op_rc: Ie, mediaSDKVersion: _e, mediaSDKPathPrefix: Te, zmk: ze, fileTransfer: Et, fileServerDomain: at, accountId: vt, whiteboardCdnPath: He, mediaFeatureOptions: nt, websdkClientFeatureOptions: ot, sipDomain: we, enableVsdkInteractiveLiveStream: et, enableHybridRWG: ht, supportRtmsApp: Wt } } = y, { lang: ur, password: At, topic: je, zlk: Yt, cv: ir, userName: dr } = b;
|
|
18321
|
+
return { isSupportRtmsApp: Wt, meetingNumber: v, meetingId: x, tid: k, ts: C, auth: A, passWord: At, trackAuth: R, customerKey: H, encryptedRWC: JSON.parse(F || "{}"), encryptedGEORWC: JSON.parse($ || "{}"), meetingOptions: JSON.parse(G || "{}"), recordingEnable: Q === "1", topic: je, userName: $r.get(bn.WebclientUserName) || dr, cv: ir, zlkJwtToken: Yt, webMediaBlockConfig: N, xmppConfig: JSON.parse(Y || "{}"), callOutCountry: JSON.parse(fe || "{}"), lang: ur, isOriginHost: ne, isSupportCallOut: Se === "1", liveTranscription: JSON.parse(ce || "{}"), logConfig: Oe, tollNumbers: De === void 0 ? void 0 : JSON.parse(De), h323Password: oe, liveStreamInfo: JSON.parse(be || "{}"), rcAutoDelete: re, jwtRc: Ce, opRc: Ie, mediaSDKPath: _e && Te ? `${x0(Te)}/${_e}` : void 0, zmk: ze, fileTransfer: JSON.parse(Et || "{}"), fileServerDomain: at, accountId: vt, mediaFeatureOptions: nt, websdkClientFeatureOptions: ot, sipDomain: we, enableVsdkInteractiveLiveStream: et, whiteboardCdnPath: He, enableHybridRWG: ht };
|
|
18322
18322
|
}
|
|
18323
18323
|
return y;
|
|
18324
18324
|
})(i, r.payload);
|
|
@@ -20147,7 +20147,7 @@ function OK() {
|
|
|
20147
20147
|
}
|
|
20148
20148
|
}
|
|
20149
20149
|
}
|
|
20150
|
-
var N = l, F = c, $ = s, H = a, G = t, Q = d, Y = n, fe = b, ne = y, Se = r,
|
|
20150
|
+
var N = l, F = c, $ = s, H = a, G = t, Q = d, Y = n, fe = b, ne = y, Se = r, ce = i, Oe = o, De = p, oe = !1;
|
|
20151
20151
|
function be(we) {
|
|
20152
20152
|
return oe || (oe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), re(we) || k(we) === l;
|
|
20153
20153
|
}
|
|
@@ -20187,7 +20187,7 @@ function OK() {
|
|
|
20187
20187
|
function ot(we) {
|
|
20188
20188
|
return k(we) === p;
|
|
20189
20189
|
}
|
|
20190
|
-
Zn.AsyncMode = N, Zn.ConcurrentMode = F, Zn.ContextConsumer = $, Zn.ContextProvider = H, Zn.Element = G, Zn.ForwardRef = Q, Zn.Fragment = Y, Zn.Lazy = fe, Zn.Memo = ne, Zn.Portal = Se, Zn.Profiler =
|
|
20190
|
+
Zn.AsyncMode = N, Zn.ConcurrentMode = F, Zn.ContextConsumer = $, Zn.ContextProvider = H, Zn.Element = G, Zn.ForwardRef = Q, Zn.Fragment = Y, Zn.Lazy = fe, Zn.Memo = ne, Zn.Portal = Se, Zn.Profiler = ce, Zn.StrictMode = Oe, Zn.Suspense = De, Zn.isAsyncMode = be, Zn.isConcurrentMode = re, Zn.isContextConsumer = Ce, Zn.isContextProvider = Ie, Zn.isElement = _e, Zn.isForwardRef = Te, Zn.isFragment = ze, Zn.isLazy = Et, Zn.isMemo = at, Zn.isPortal = vt, Zn.isProfiler = He, Zn.isStrictMode = nt, Zn.isSuspense = ot, Zn.isValidElementType = x, Zn.typeOf = k;
|
|
20191
20191
|
})()), Zn;
|
|
20192
20192
|
}
|
|
20193
20193
|
var KD;
|
|
@@ -20587,12 +20587,12 @@ Valid keys: ` + JSON.stringify(Object.keys(re), null, " ")
|
|
|
20587
20587
|
return !1;
|
|
20588
20588
|
}
|
|
20589
20589
|
}
|
|
20590
|
-
function
|
|
20590
|
+
function ce(re, Ce) {
|
|
20591
20591
|
return re === "symbol" ? !0 : Ce ? Ce["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && Ce instanceof Symbol : !1;
|
|
20592
20592
|
}
|
|
20593
20593
|
function Oe(re) {
|
|
20594
20594
|
var Ce = typeof re;
|
|
20595
|
-
return Array.isArray(re) ? "array" : re instanceof RegExp ? "object" :
|
|
20595
|
+
return Array.isArray(re) ? "array" : re instanceof RegExp ? "object" : ce(Ce, re) ? "symbol" : Ce;
|
|
20596
20596
|
}
|
|
20597
20597
|
function De(re) {
|
|
20598
20598
|
if (typeof re > "u" || re === null)
|
|
@@ -21647,16 +21647,16 @@ var K0 = {
|
|
|
21647
21647
|
var r = t.target, n = t.overlay, o = t.listener, i = t.when, a = i === void 0 ? !0 : i, s = t.type, l = s === void 0 ? "click" : s, c = S.useRef(null), d = S.useRef(null), p = _a({
|
|
21648
21648
|
target: "window",
|
|
21649
21649
|
type: l,
|
|
21650
|
-
listener: function(
|
|
21651
|
-
o && o(
|
|
21650
|
+
listener: function(ce) {
|
|
21651
|
+
o && o(ce, {
|
|
21652
21652
|
type: "outside",
|
|
21653
|
-
valid:
|
|
21653
|
+
valid: ce.which !== 3 && Y(ce)
|
|
21654
21654
|
});
|
|
21655
21655
|
},
|
|
21656
21656
|
when: a
|
|
21657
21657
|
}), m = Pl(p, 2), y = m[0], b = m[1], v = wR({
|
|
21658
|
-
listener: function(
|
|
21659
|
-
o && o(
|
|
21658
|
+
listener: function(ce) {
|
|
21659
|
+
o && o(ce, {
|
|
21660
21660
|
type: "resize",
|
|
21661
21661
|
valid: !se.isTouchDevice()
|
|
21662
21662
|
});
|
|
@@ -21665,8 +21665,8 @@ var K0 = {
|
|
|
21665
21665
|
}), C = Pl(v, 2), A = C[0], R = C[1], x = _a({
|
|
21666
21666
|
target: "window",
|
|
21667
21667
|
type: "orientationchange",
|
|
21668
|
-
listener: function(
|
|
21669
|
-
o && o(
|
|
21668
|
+
listener: function(ce) {
|
|
21669
|
+
o && o(ce, {
|
|
21670
21670
|
type: "orientationchange",
|
|
21671
21671
|
valid: !0
|
|
21672
21672
|
});
|
|
@@ -21674,15 +21674,15 @@ var K0 = {
|
|
|
21674
21674
|
when: a
|
|
21675
21675
|
}), k = Pl(x, 2), N = k[0], F = k[1], $ = k9({
|
|
21676
21676
|
target: r,
|
|
21677
|
-
listener: function(
|
|
21678
|
-
o && o(
|
|
21677
|
+
listener: function(ce) {
|
|
21678
|
+
o && o(ce, {
|
|
21679
21679
|
type: "scroll",
|
|
21680
21680
|
valid: !0
|
|
21681
21681
|
});
|
|
21682
21682
|
},
|
|
21683
21683
|
when: a
|
|
21684
|
-
}), H = Pl($, 2), G = H[0], Q = H[1], Y = function(
|
|
21685
|
-
return c.current && !(c.current.isSameNode(
|
|
21684
|
+
}), H = Pl($, 2), G = H[0], Q = H[1], Y = function(ce) {
|
|
21685
|
+
return c.current && !(c.current.isSameNode(ce.target) || c.current.contains(ce.target) || d.current && d.current.contains(ce.target));
|
|
21686
21686
|
}, fe = function() {
|
|
21687
21687
|
y(), A(), N(), G();
|
|
21688
21688
|
}, ne = function() {
|
|
@@ -22268,10 +22268,10 @@ svg.p-icon g,
|
|
|
22268
22268
|
} : oe != null && oe.hasOwnProperty("className") && Array.isArray(oe.className) ? {
|
|
22269
22269
|
className: dt.apply(void 0, nN(oe.className))
|
|
22270
22270
|
} : oe;
|
|
22271
|
-
}, Se = b ? C ? L9(ne, v, y) : F9(ne, v, y) : void 0,
|
|
22272
|
-
return Q || !Q &&
|
|
22271
|
+
}, Se = b ? C ? L9(ne, v, y) : F9(ne, v, y) : void 0, ce = C ? void 0 : J0(q0(p, x), ne, v, y), Oe = !k && Gi(Gi({}, A === "root" && jw({}, "".concat(N, "name"), y.props && y.props.__parentMetadata ? de.toFlatCase(y.props.__TYPE) : x)), {}, jw({}, "".concat(N, "section"), A));
|
|
22272
|
+
return Q || !Q && ce ? fe ? Xy([Se, ce, Object.keys(Oe).length ? Oe : {}], {
|
|
22273
22273
|
classNameMergeFunction: (d = Ar.context.ptOptions) === null || d === void 0 ? void 0 : d.classNameMergeFunction
|
|
22274
|
-
}) : Gi(Gi(Gi({}, Se),
|
|
22274
|
+
}) : Gi(Gi(Gi({}, Se), ce), Object.keys(Oe).length ? Oe : {}) : Gi(Gi({}, ce), Object.keys(Oe).length ? Oe : {});
|
|
22275
22275
|
}, l = function() {
|
|
22276
22276
|
var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, p = d.props, m = d.state, y = function() {
|
|
22277
22277
|
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", k = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
@@ -23181,9 +23181,9 @@ function ci(e) {
|
|
|
23181
23181
|
var B9 = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
23182
23182
|
var r = Br(), n = e.messageInfo, o = e.metaData, i = e.ptCallbacks, a = i.ptm, s = i.ptmo, l = i.cx, c = e.index, d = n.message, p = d.severity, m = d.content, y = d.summary, b = d.detail, v = d.closable, C = d.life, A = d.sticky, R = d.className, x = d.style, k = d.contentClassName, N = d.contentStyle, F = d.icon, $ = d.closeIcon, H = d.pt, G = {
|
|
23183
23183
|
index: c
|
|
23184
|
-
}, Q = ci(ci({}, o), G), Y = S.useState(!1), fe = Jw(Y, 2), ne = fe[0], Se = fe[1],
|
|
23184
|
+
}, Q = ci(ci({}, o), G), Y = S.useState(!1), fe = Jw(Y, 2), ne = fe[0], Se = fe[1], ce = tG(function() {
|
|
23185
23185
|
be();
|
|
23186
|
-
}, C || 3e3, !A && !ne), Oe = Jw(
|
|
23186
|
+
}, C || 3e3, !A && !ne), Oe = Jw(ce, 1), De = Oe[0], oe = function(nt, ot) {
|
|
23187
23187
|
return a(nt, ci({
|
|
23188
23188
|
hostName: e.hostName
|
|
23189
23189
|
}, ot));
|
|
@@ -23679,12 +23679,12 @@ var Hl = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
23679
23679
|
when: N,
|
|
23680
23680
|
priority: [K0.TOOLTIP, F]
|
|
23681
23681
|
});
|
|
23682
|
-
var ne = S.useRef(null), Se = S.useRef(null),
|
|
23682
|
+
var ne = S.useRef(null), Se = S.useRef(null), ce = S.useRef(null), Oe = S.useRef(null), De = S.useRef(!0), oe = S.useRef({}), be = S.useRef(null), re = wR({
|
|
23683
23683
|
listener: function(ye) {
|
|
23684
23684
|
!se.isTouchDevice() && mr(ye);
|
|
23685
23685
|
}
|
|
23686
23686
|
}), Ce = Cp(re, 2), Ie = Ce[0], _e = Ce[1], Te = k9({
|
|
23687
|
-
target:
|
|
23687
|
+
target: ce.current,
|
|
23688
23688
|
listener: function(ye) {
|
|
23689
23689
|
mr(ye);
|
|
23690
23690
|
},
|
|
@@ -23700,7 +23700,7 @@ var Hl = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
23700
23700
|
}, we = function(ye) {
|
|
23701
23701
|
return ht(ye, "showondisabled") || o.showOnDisabled;
|
|
23702
23702
|
}, et = function() {
|
|
23703
|
-
return ht(
|
|
23703
|
+
return ht(ce.current, "autohide") || o.autoHide;
|
|
23704
23704
|
}, ht = function(ye, $e) {
|
|
23705
23705
|
return Wt(ye, "data-pr-".concat($e)) ? ye.getAttribute("data-pr-".concat($e)) : null;
|
|
23706
23706
|
}, Wt = function(ye, $e) {
|
|
@@ -23731,33 +23731,33 @@ var Hl = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
23731
23731
|
Gt ? (Se.current.innerHTML = "", Se.current.appendChild(document.createTextNode(Gt)), $e()) : o.children && $e();
|
|
23732
23732
|
}
|
|
23733
23733
|
}, ir = function(ye) {
|
|
23734
|
-
Yt(
|
|
23734
|
+
Yt(ce.current, function() {
|
|
23735
23735
|
var $e = be.current, Gt = $e.pageX, Qt = $e.pageY;
|
|
23736
23736
|
o.autoZIndex && !Lo.get(ne.current) && Lo.set("tooltip", ne.current, n && n.autoZIndex || Wr.autoZIndex, o.baseZIndex || n && n.zIndex.tooltip || Wr.zIndex.tooltip), ne.current.style.left = "", ne.current.style.top = "", et() && (ne.current.style.pointerEvents = "none");
|
|
23737
|
-
var Zt = nt(
|
|
23737
|
+
var Zt = nt(ce.current) || ye === "mouse";
|
|
23738
23738
|
(Zt && !Oe.current || Zt) && (Oe.current = {
|
|
23739
23739
|
width: se.getOuterWidth(ne.current),
|
|
23740
23740
|
height: se.getOuterHeight(ne.current)
|
|
23741
|
-
}), tn(
|
|
23741
|
+
}), tn(ce.current, {
|
|
23742
23742
|
x: Gt,
|
|
23743
23743
|
y: Qt
|
|
23744
23744
|
}, ye);
|
|
23745
23745
|
});
|
|
23746
23746
|
}, dr = function(ye) {
|
|
23747
|
-
ye.type && ye.type === "focus" && k(!0),
|
|
23748
|
-
var $e = ot(
|
|
23747
|
+
ye.type && ye.type === "focus" && k(!0), ce.current = ye.currentTarget;
|
|
23748
|
+
var $e = ot(ce.current), Gt = He(we(ce.current) && $e ? ce.current.firstChild : ce.current);
|
|
23749
23749
|
if (!(Gt || $e))
|
|
23750
23750
|
if (be.current = ye, s)
|
|
23751
23751
|
Kr("updateDelay", ir);
|
|
23752
23752
|
else {
|
|
23753
23753
|
var Qt = Yr(o.onBeforeShow, {
|
|
23754
23754
|
originalEvent: ye,
|
|
23755
|
-
target:
|
|
23755
|
+
target: ce.current
|
|
23756
23756
|
});
|
|
23757
23757
|
Qt && Kr("showDelay", function() {
|
|
23758
23758
|
l(!0), Yr(o.onShow, {
|
|
23759
23759
|
originalEvent: ye,
|
|
23760
|
-
target:
|
|
23760
|
+
target: ce.current
|
|
23761
23761
|
});
|
|
23762
23762
|
});
|
|
23763
23763
|
}
|
|
@@ -23765,12 +23765,12 @@ var Hl = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
23765
23765
|
if (ye && ye.type === "blur" && k(!1), Rn(), s) {
|
|
23766
23766
|
var $e = Yr(o.onBeforeHide, {
|
|
23767
23767
|
originalEvent: ye,
|
|
23768
|
-
target:
|
|
23768
|
+
target: ce.current
|
|
23769
23769
|
});
|
|
23770
23770
|
$e && Kr("hideDelay", function() {
|
|
23771
23771
|
!et() && De.current === !1 || (Lo.clear(ne.current), se.removeClass(ne.current, "p-tooltip-active"), l(!1), Yr(o.onHide, {
|
|
23772
23772
|
originalEvent: ye,
|
|
23773
|
-
target:
|
|
23773
|
+
target: ce.current
|
|
23774
23774
|
}));
|
|
23775
23775
|
});
|
|
23776
23776
|
} else !o.onBeforeHide && !Vr("hideDelay") && l(!1);
|
|
@@ -23834,7 +23834,7 @@ var Hl = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
23834
23834
|
});
|
|
23835
23835
|
}
|
|
23836
23836
|
}, Vr = function(ye) {
|
|
23837
|
-
return ht(
|
|
23837
|
+
return ht(ce.current, ye.toLowerCase()) || o[ye];
|
|
23838
23838
|
}, Kr = function(ye, $e) {
|
|
23839
23839
|
Rn();
|
|
23840
23840
|
var Gt = Vr(ye);
|
|
@@ -23891,25 +23891,25 @@ var Hl = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
23891
23891
|
}
|
|
23892
23892
|
};
|
|
23893
23893
|
Zo(function() {
|
|
23894
|
-
s &&
|
|
23894
|
+
s && ce.current && ot(ce.current) && mr();
|
|
23895
23895
|
}), hn(function() {
|
|
23896
23896
|
return it(), function() {
|
|
23897
23897
|
Pt();
|
|
23898
23898
|
};
|
|
23899
23899
|
}, [dr, mr, o.target]), hn(function() {
|
|
23900
23900
|
if (s) {
|
|
23901
|
-
var me = At(
|
|
23901
|
+
var me = At(ce.current), ye = ht(ce.current, "classname");
|
|
23902
23902
|
m(me), C(ye), ir(me), Ie(), Et();
|
|
23903
23903
|
} else
|
|
23904
|
-
m(o.position || "right"), C(""),
|
|
23904
|
+
m(o.position || "right"), C(""), ce.current = null, Oe.current = null, De.current = !0;
|
|
23905
23905
|
return function() {
|
|
23906
23906
|
_e(), at();
|
|
23907
23907
|
};
|
|
23908
23908
|
}, [s]), hn(function() {
|
|
23909
|
-
var me = At(
|
|
23909
|
+
var me = At(ce.current);
|
|
23910
23910
|
s && me !== "mouse" && Kr("updateDelay", function() {
|
|
23911
|
-
Yt(
|
|
23912
|
-
tn(
|
|
23911
|
+
Yt(ce.current, function() {
|
|
23912
|
+
tn(ce.current);
|
|
23913
23913
|
});
|
|
23914
23914
|
});
|
|
23915
23915
|
}, [o.content]), Ri(function() {
|
|
@@ -23926,12 +23926,12 @@ var Hl = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
23926
23926
|
return ne.current;
|
|
23927
23927
|
},
|
|
23928
23928
|
getTarget: function() {
|
|
23929
|
-
return
|
|
23929
|
+
return ce.current;
|
|
23930
23930
|
}
|
|
23931
23931
|
};
|
|
23932
23932
|
});
|
|
23933
23933
|
var Rt = function() {
|
|
23934
|
-
var ye = vt(
|
|
23934
|
+
var ye = vt(ce.current), $e = r({
|
|
23935
23935
|
id: o.id,
|
|
23936
23936
|
className: dt(o.className, Q("root", {
|
|
23937
23937
|
positionState: p,
|
|
@@ -24850,7 +24850,7 @@ function nE(e) {
|
|
|
24850
24850
|
var Q0 = /* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
24851
24851
|
var r = Br(), n = S.useContext(Jr), o = Tv.getProps(e, n), i = o.id ? o.id : Es(), a = S.useState(i), s = Wu(a, 2), l = s[0];
|
|
24852
24852
|
s[1];
|
|
24853
|
-
var c = S.useState(!1), d = Wu(c, 2), p = d[0], m = d[1], y = S.useState(!1), b = Wu(y, 2), v = b[0], C = b[1], A = S.useState(o.maximized), R = Wu(A, 2), x = R[0], k = R[1], N = S.useRef(null), F = S.useRef(null), $ = S.useRef(null), H = S.useRef(null), G = S.useRef(null), Q = S.useRef(null), Y = S.useRef(null), fe = S.useRef(!1), ne = S.useRef(!1), Se = S.useRef(null),
|
|
24853
|
+
var c = S.useState(!1), d = Wu(c, 2), p = d[0], m = d[1], y = S.useState(!1), b = Wu(y, 2), v = b[0], C = b[1], A = S.useState(o.maximized), R = Wu(A, 2), x = R[0], k = R[1], N = S.useRef(null), F = S.useRef(null), $ = S.useRef(null), H = S.useRef(null), G = S.useRef(null), Q = S.useRef(null), Y = S.useRef(null), fe = S.useRef(!1), ne = S.useRef(!1), Se = S.useRef(null), ce = S.useRef(null), Oe = S.useRef(null), De = S.useRef(i), oe = S.useRef(null), be = o.onMaximize ? o.maximized : x, re = v && (o.blockScroll || o.maximizable && be), Ce = o.closable && o.closeOnEscape && v, Ie = z0("dialog", Ce), _e = Tv.setMetaData(nE(nE({
|
|
24854
24854
|
props: o
|
|
24855
24855
|
}, o.__parentMetadata), {}, {
|
|
24856
24856
|
state: {
|
|
@@ -24917,24 +24917,24 @@ var Q0 = /* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
24917
24917
|
return !Re;
|
|
24918
24918
|
}), Ee.preventDefault();
|
|
24919
24919
|
}, Vr = function(Ee) {
|
|
24920
|
-
se.hasClass(Ee.target, "p-dialog-header-icon") || se.hasClass(Ee.target.parentElement, "p-dialog-header-icon") || o.draggable && (fe.current = !0, Se.current = Ee.pageX,
|
|
24920
|
+
se.hasClass(Ee.target, "p-dialog-header-icon") || se.hasClass(Ee.target.parentElement, "p-dialog-header-icon") || o.draggable && (fe.current = !0, Se.current = Ee.pageX, ce.current = Ee.pageY, se.addClass(document.body, "p-unselectable-text"), o.onDragStart && o.onDragStart(Ee));
|
|
24921
24921
|
}, Kr = function(Ee) {
|
|
24922
24922
|
if (fe.current) {
|
|
24923
|
-
var Re = se.getOuterWidth(N.current), Xe = se.getOuterHeight(N.current), ft = Ee.pageX - Se.current, Ft = Ee.pageY -
|
|
24924
|
-
N.current.style.position = "fixed", o.keepInViewport ? (Lt >= o.minX && Lt + Re < gt.width && (Se.current = Ee.pageX, N.current.style.left = Lt - rr + "px"), qe >= o.minY && (Ft < 0 || qe + Xe < gt.height) && (
|
|
24923
|
+
var Re = se.getOuterWidth(N.current), Xe = se.getOuterHeight(N.current), ft = Ee.pageX - Se.current, Ft = Ee.pageY - ce.current, er = N.current.getBoundingClientRect(), Lt = er.left + ft, qe = er.top + Ft, gt = se.getViewport(), jt = getComputedStyle(N.current), rr = parseFloat(jt.marginLeft), Kt = parseFloat(jt.marginTop);
|
|
24924
|
+
N.current.style.position = "fixed", o.keepInViewport ? (Lt >= o.minX && Lt + Re < gt.width && (Se.current = Ee.pageX, N.current.style.left = Lt - rr + "px"), qe >= o.minY && (Ft < 0 || qe + Xe < gt.height) && (ce.current = Ee.pageY, N.current.style.top = qe - Kt + "px")) : (Se.current = Ee.pageX, N.current.style.left = Lt - rr + "px", ce.current = Ee.pageY, N.current.style.top = qe - Kt + "px"), o.onDrag && o.onDrag(Ee);
|
|
24925
24925
|
}
|
|
24926
24926
|
}, Yr = function(Ee) {
|
|
24927
24927
|
fe.current && (fe.current = !1, se.removeClass(document.body, "p-unselectable-text"), o.onDragEnd && o.onDragEnd(Ee));
|
|
24928
24928
|
}, Rn = function(Ee) {
|
|
24929
|
-
o.resizable && (ne.current = !0, Se.current = Ee.pageX,
|
|
24929
|
+
o.resizable && (ne.current = !0, Se.current = Ee.pageX, ce.current = Ee.pageY, se.addClass(document.body, "p-unselectable-text"), o.onResizeStart && o.onResizeStart(Ee));
|
|
24930
24930
|
}, rn = function(Ee, Re, Xe) {
|
|
24931
24931
|
!Xe && (Xe = se.getViewport());
|
|
24932
24932
|
var ft = parseInt(Ee);
|
|
24933
24933
|
return /^(\d+|(\.\d+))(\.\d+)?%$/.test(Ee) ? ft * (Xe[Re] / 100) : ft;
|
|
24934
24934
|
}, gr = function(Ee) {
|
|
24935
24935
|
if (ne.current) {
|
|
24936
|
-
var Re = Ee.pageX - Se.current, Xe = Ee.pageY -
|
|
24937
|
-
qe && (rr = rr + Re, Kt = Kt + Xe), (!gt || rr > gt) && (Re < 0 || er.left + rr < Lt.width) && (N.current.style.width = rr + "px"), (!jt || Kt > jt) && (Xe < 0 || er.top + Kt < Lt.height) && (N.current.style.height = Kt + "px"), Se.current = Ee.pageX,
|
|
24936
|
+
var Re = Ee.pageX - Se.current, Xe = Ee.pageY - ce.current, ft = se.getOuterWidth(N.current), Ft = se.getOuterHeight(N.current), er = N.current.getBoundingClientRect(), Lt = se.getViewport(), qe = !parseInt(N.current.style.top) || !parseInt(N.current.style.left), gt = rn(N.current.style.minWidth, "width", Lt), jt = rn(N.current.style.minHeight, "height", Lt), rr = ft + Re, Kt = Ft + Xe;
|
|
24937
|
+
qe && (rr = rr + Re, Kt = Kt + Xe), (!gt || rr > gt) && (Re < 0 || er.left + rr < Lt.width) && (N.current.style.width = rr + "px"), (!jt || Kt > jt) && (Xe < 0 || er.top + Kt < Lt.height) && (N.current.style.height = Kt + "px"), Se.current = Ee.pageX, ce.current = Ee.pageY, o.onResize && o.onResize(Ee);
|
|
24938
24938
|
}
|
|
24939
24939
|
}, it = function(Ee) {
|
|
24940
24940
|
ne.current && (ne.current = !1, se.removeClass(document.body, "p-unselectable-text"), o.onResizeEnd && o.onResizeEnd(Ee));
|
|
@@ -25384,7 +25384,7 @@ var OR = function() {
|
|
|
25384
25384
|
confirm: Se
|
|
25385
25385
|
};
|
|
25386
25386
|
});
|
|
25387
|
-
var
|
|
25387
|
+
var ce = function() {
|
|
25388
25388
|
var be = A("defaultFocus"), re = dt("p-confirm-dialog-accept", A("acceptClassName")), Ce = dt("p-confirm-dialog-reject", {
|
|
25389
25389
|
"p-button-text": !A("rejectClassName")
|
|
25390
25390
|
}, A("rejectClassName")), Ie = r({
|
|
@@ -25431,7 +25431,7 @@ var OR = function() {
|
|
|
25431
25431
|
className: H("icon")
|
|
25432
25432
|
}, $("icon")), Ie = an.getJSXIcon(A("icon"), Np({}, Ce), {
|
|
25433
25433
|
props: be
|
|
25434
|
-
}), _e =
|
|
25434
|
+
}), _e = ce(), Te = r({
|
|
25435
25435
|
className: H("message")
|
|
25436
25436
|
}, $("message")), ze = r({
|
|
25437
25437
|
visible: s,
|
|
@@ -25972,7 +25972,7 @@ const Uq = (e, t) => {
|
|
|
25972
25972
|
"left-bottom"
|
|
25973
25973
|
], N = () => [...k(), Or, Tr], F = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], H = () => [Or, Tr, l], G = () => [wp, "full", "auto", ...H()], Q = () => [zu, "none", "subgrid", Or, Tr], Y = () => ["auto", {
|
|
25974
25974
|
span: ["full", zu, Or, Tr]
|
|
25975
|
-
}, zu, Or, Tr], fe = () => [zu, "auto", Or, Tr], ne = () => ["auto", "min", "max", "fr", Or, Tr], Se = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"],
|
|
25975
|
+
}, zu, Or, Tr], fe = () => [zu, "auto", Or, Tr], ne = () => ["auto", "min", "max", "fr", Or, Tr], Se = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], ce = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], Oe = () => ["auto", ...H()], De = () => [wp, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...H()], oe = () => [e, Or, Tr], be = () => [...k(), IN, wN, {
|
|
25976
25976
|
position: [Or, Tr]
|
|
25977
25977
|
}], re = () => ["no-repeat", {
|
|
25978
25978
|
repeat: ["", "x", "y", "space", "round"]
|
|
@@ -26403,14 +26403,14 @@ const Uq = (e, t) => {
|
|
|
26403
26403
|
* @see https://tailwindcss.com/docs/justify-items
|
|
26404
26404
|
*/
|
|
26405
26405
|
"justify-items": [{
|
|
26406
|
-
"justify-items": [...
|
|
26406
|
+
"justify-items": [...ce(), "normal"]
|
|
26407
26407
|
}],
|
|
26408
26408
|
/**
|
|
26409
26409
|
* Justify Self
|
|
26410
26410
|
* @see https://tailwindcss.com/docs/justify-self
|
|
26411
26411
|
*/
|
|
26412
26412
|
"justify-self": [{
|
|
26413
|
-
"justify-self": ["auto", ...
|
|
26413
|
+
"justify-self": ["auto", ...ce()]
|
|
26414
26414
|
}],
|
|
26415
26415
|
/**
|
|
26416
26416
|
* Align Content
|
|
@@ -26424,7 +26424,7 @@ const Uq = (e, t) => {
|
|
|
26424
26424
|
* @see https://tailwindcss.com/docs/align-items
|
|
26425
26425
|
*/
|
|
26426
26426
|
"align-items": [{
|
|
26427
|
-
items: [...
|
|
26427
|
+
items: [...ce(), {
|
|
26428
26428
|
baseline: ["", "last"]
|
|
26429
26429
|
}]
|
|
26430
26430
|
}],
|
|
@@ -26433,7 +26433,7 @@ const Uq = (e, t) => {
|
|
|
26433
26433
|
* @see https://tailwindcss.com/docs/align-self
|
|
26434
26434
|
*/
|
|
26435
26435
|
"align-self": [{
|
|
26436
|
-
self: ["auto", ...
|
|
26436
|
+
self: ["auto", ...ce(), {
|
|
26437
26437
|
baseline: ["", "last"]
|
|
26438
26438
|
}]
|
|
26439
26439
|
}],
|
|
@@ -26449,14 +26449,14 @@ const Uq = (e, t) => {
|
|
|
26449
26449
|
* @see https://tailwindcss.com/docs/place-items
|
|
26450
26450
|
*/
|
|
26451
26451
|
"place-items": [{
|
|
26452
|
-
"place-items": [...
|
|
26452
|
+
"place-items": [...ce(), "baseline"]
|
|
26453
26453
|
}],
|
|
26454
26454
|
/**
|
|
26455
26455
|
* Place Self
|
|
26456
26456
|
* @see https://tailwindcss.com/docs/place-self
|
|
26457
26457
|
*/
|
|
26458
26458
|
"place-self": [{
|
|
26459
|
-
"place-self": ["auto", ...
|
|
26459
|
+
"place-self": ["auto", ...ce()]
|
|
26460
26460
|
}],
|
|
26461
26461
|
// Spacing
|
|
26462
26462
|
/**
|
|
@@ -28466,8 +28466,8 @@ function _J() {
|
|
|
28466
28466
|
var M = this.words, P = T.words, L = this.sigBytes, B = T.sigBytes;
|
|
28467
28467
|
if (this.clamp(), L % 4)
|
|
28468
28468
|
for (var W = 0; W < B; W++) {
|
|
28469
|
-
var
|
|
28470
|
-
M[L + W >>> 2] |=
|
|
28469
|
+
var ue = P[W >>> 2] >>> 24 - W % 4 * 8 & 255;
|
|
28470
|
+
M[L + W >>> 2] |= ue << 24 - (L + W) % 4 * 8;
|
|
28471
28471
|
}
|
|
28472
28472
|
else
|
|
28473
28473
|
for (var W = 0; W < B; W += 4)
|
|
@@ -28516,9 +28516,9 @@ function _J() {
|
|
|
28516
28516
|
}, _append: function(T) {
|
|
28517
28517
|
typeof T == "string" && (T = D.parse(T)), this._data.concat(T), this._nDataBytes += T.sigBytes;
|
|
28518
28518
|
}, _process: function(T) {
|
|
28519
|
-
var M = this._data, P = M.words, L = M.sigBytes, B = this.blockSize, W = B * 4,
|
|
28520
|
-
T ?
|
|
28521
|
-
var Ne =
|
|
28519
|
+
var M = this._data, P = M.words, L = M.sigBytes, B = this.blockSize, W = B * 4, ue = L / W;
|
|
28520
|
+
T ? ue = u.ceil(ue) : ue = u.max((ue | 0) - this._minBufferSize, 0);
|
|
28521
|
+
var Ne = ue * B, xe = u.min(Ne * 4, L);
|
|
28522
28522
|
if (Ne) {
|
|
28523
28523
|
for (var Le = 0; Le < Ne; Le += B)
|
|
28524
28524
|
this._doProcessBlock(P, Le);
|
|
@@ -28582,19 +28582,19 @@ function _J() {
|
|
|
28582
28582
|
}, finalize: function(L) {
|
|
28583
28583
|
return L && this._append(L), this._doFinalize();
|
|
28584
28584
|
}, keySize: 4, ivSize: 4, _ENC_XFORM_MODE: 1, _DEC_XFORM_MODE: 2, _createHelper: function(L) {
|
|
28585
|
-
return { encrypt: function(B, W,
|
|
28586
|
-
return (typeof W == "string" ? P : T).encrypt(L, B, W,
|
|
28587
|
-
}, decrypt: function(B, W,
|
|
28588
|
-
return (typeof W == "string" ? P : T).decrypt(L, B, W,
|
|
28585
|
+
return { encrypt: function(B, W, ue) {
|
|
28586
|
+
return (typeof W == "string" ? P : T).encrypt(L, B, W, ue);
|
|
28587
|
+
}, decrypt: function(B, W, ue) {
|
|
28588
|
+
return (typeof W == "string" ? P : T).decrypt(L, B, W, ue);
|
|
28589
28589
|
} };
|
|
28590
28590
|
} });
|
|
28591
28591
|
f.StreamCipher = O.extend({ _doFinalize: function() {
|
|
28592
28592
|
return this._process(!0);
|
|
28593
28593
|
}, blockSize: 1 });
|
|
28594
28594
|
var V = M.mode = {}, j = function(L, B, W) {
|
|
28595
|
-
var
|
|
28596
|
-
|
|
28597
|
-
for (var Ne = 0; Ne < W; Ne++) L[B + Ne] ^=
|
|
28595
|
+
var ue = this._iv;
|
|
28596
|
+
ue ? this._iv = u : ue = this._prevBlock;
|
|
28597
|
+
for (var Ne = 0; Ne < W; Ne++) L[B + Ne] ^= ue[Ne];
|
|
28598
28598
|
}, D = (f.BlockCipherMode = h.extend({ createEncryptor: function(L, B) {
|
|
28599
28599
|
return this.Encryptor.create(L, B);
|
|
28600
28600
|
}, createDecryptor: function(L, B) {
|
|
@@ -28603,16 +28603,16 @@ function _J() {
|
|
|
28603
28603
|
this._cipher = L, this._iv = B;
|
|
28604
28604
|
} })).extend();
|
|
28605
28605
|
D.Encryptor = D.extend({ processBlock: function(L, B) {
|
|
28606
|
-
var W = this._cipher,
|
|
28607
|
-
j.call(this, L, B,
|
|
28606
|
+
var W = this._cipher, ue = W.blockSize;
|
|
28607
|
+
j.call(this, L, B, ue), W.encryptBlock(L, B), this._prevBlock = L.slice(B, B + ue);
|
|
28608
28608
|
} }), D.Decryptor = D.extend({ processBlock: function(L, B) {
|
|
28609
|
-
var W = this._cipher,
|
|
28609
|
+
var W = this._cipher, ue = W.blockSize, Ne = L.slice(B, B + ue);
|
|
28610
28610
|
W.decryptBlock(
|
|
28611
28611
|
L,
|
|
28612
28612
|
B
|
|
28613
|
-
), j.call(this, L, B,
|
|
28613
|
+
), j.call(this, L, B, ue), this._prevBlock = Ne;
|
|
28614
28614
|
} }), V = V.CBC = D, D = (M.pad = {}).Pkcs7 = { pad: function(L, B) {
|
|
28615
|
-
for (var W = 4 * B, W = W - L.sigBytes % W,
|
|
28615
|
+
for (var W = 4 * B, W = W - L.sigBytes % W, ue = W << 24 | W << 16 | W << 8 | W, Ne = [], xe = 0; xe < W; xe += 4) Ne.push(ue);
|
|
28616
28616
|
W = g.create(Ne, W), L.concat(W);
|
|
28617
28617
|
}, unpad: function(L) {
|
|
28618
28618
|
L.sigBytes -= L.words[L.sigBytes - 1 >>> 2] & 255;
|
|
@@ -28647,9 +28647,9 @@ function _J() {
|
|
|
28647
28647
|
B.splice(0, 4), L.sigBytes -= 16;
|
|
28648
28648
|
}
|
|
28649
28649
|
return U.create({ ciphertext: L, salt: W });
|
|
28650
|
-
} }, T = f.SerializableCipher = h.extend({ cfg: h.extend({ format: V }), encrypt: function(L, B, W,
|
|
28651
|
-
|
|
28652
|
-
var Ne = L.createEncryptor(W,
|
|
28650
|
+
} }, T = f.SerializableCipher = h.extend({ cfg: h.extend({ format: V }), encrypt: function(L, B, W, ue) {
|
|
28651
|
+
ue = this.cfg.extend(ue);
|
|
28652
|
+
var Ne = L.createEncryptor(W, ue);
|
|
28653
28653
|
return B = Ne.finalize(B), Ne = Ne.cfg, U.create({
|
|
28654
28654
|
ciphertext: B,
|
|
28655
28655
|
key: W,
|
|
@@ -28658,26 +28658,26 @@ function _J() {
|
|
|
28658
28658
|
mode: Ne.mode,
|
|
28659
28659
|
padding: Ne.padding,
|
|
28660
28660
|
blockSize: L.blockSize,
|
|
28661
|
-
formatter:
|
|
28661
|
+
formatter: ue.format
|
|
28662
28662
|
});
|
|
28663
|
-
}, decrypt: function(L, B, W,
|
|
28664
|
-
return
|
|
28663
|
+
}, decrypt: function(L, B, W, ue) {
|
|
28664
|
+
return ue = this.cfg.extend(ue), B = this._parse(B, ue.format), L.createDecryptor(W, ue).finalize(B.ciphertext);
|
|
28665
28665
|
}, _parse: function(L, B) {
|
|
28666
28666
|
return typeof L == "string" ? B.parse(L, this) : L;
|
|
28667
|
-
} }), M = (M.kdf = {}).OpenSSL = { execute: function(L, B, W,
|
|
28668
|
-
return
|
|
28669
|
-
} }, P = f.PasswordBasedCipher = T.extend({ cfg: T.cfg.extend({ kdf: M }), encrypt: function(L, B, W,
|
|
28670
|
-
return
|
|
28671
|
-
}, decrypt: function(L, B, W,
|
|
28672
|
-
return
|
|
28667
|
+
} }), M = (M.kdf = {}).OpenSSL = { execute: function(L, B, W, ue) {
|
|
28668
|
+
return ue || (ue = g.random(8)), L = _.create({ keySize: B + W }).compute(L, ue), W = g.create(L.words.slice(B), 4 * W), L.sigBytes = 4 * B, U.create({ key: L, iv: W, salt: ue });
|
|
28669
|
+
} }, P = f.PasswordBasedCipher = T.extend({ cfg: T.cfg.extend({ kdf: M }), encrypt: function(L, B, W, ue) {
|
|
28670
|
+
return ue = this.cfg.extend(ue), W = ue.kdf.execute(W, L.keySize, L.ivSize), ue.iv = W.iv, L = T.encrypt.call(this, L, B, W.key, ue), L.mixIn(W), L;
|
|
28671
|
+
}, decrypt: function(L, B, W, ue) {
|
|
28672
|
+
return ue = this.cfg.extend(ue), B = this._parse(B, ue.format), W = ue.kdf.execute(W, L.keySize, L.ivSize, B.salt), ue.iv = W.iv, T.decrypt.call(this, L, B, W.key, ue);
|
|
28673
28673
|
} });
|
|
28674
28674
|
})(), (function() {
|
|
28675
28675
|
for (var u = o, f = u.lib.BlockCipher, z = u.algo, h = [], g = [], w = [], E = [], _ = [], O = [], j = [], D = [], U = [], V = [], T = [], M = 0; 256 > M; M++) T[M] = 128 > M ? M << 1 : M << 1 ^ 283;
|
|
28676
28676
|
for (var P = 0, L = 0, M = 0; 256 > M; M++) {
|
|
28677
28677
|
var B = L ^ L << 1 ^ L << 2 ^ L << 3 ^ L << 4, B = B >>> 8 ^ B & 255 ^ 99;
|
|
28678
28678
|
h[P] = B, g[B] = P;
|
|
28679
|
-
var W = T[P],
|
|
28680
|
-
w[P] = xe << 24 | xe >>> 8, E[P] = xe << 16 | xe >>> 16, _[P] = xe << 8 | xe >>> 24, O[P] = xe, xe = 16843009 * Ne ^ 65537 *
|
|
28679
|
+
var W = T[P], ue = T[W], Ne = T[ue], xe = 257 * T[B] ^ 16843008 * B;
|
|
28680
|
+
w[P] = xe << 24 | xe >>> 8, E[P] = xe << 16 | xe >>> 16, _[P] = xe << 8 | xe >>> 24, O[P] = xe, xe = 16843009 * Ne ^ 65537 * ue ^ 257 * W ^ 16843008 * P, j[B] = xe << 24 | xe >>> 8, D[B] = xe << 16 | xe >>> 16, U[B] = xe << 8 | xe >>> 24, V[B] = xe, P ? (P = W ^ T[T[T[Ne ^ W]]], L ^= T[T[L]]) : P = L = 1;
|
|
28681
28681
|
}
|
|
28682
28682
|
var Le = [
|
|
28683
28683
|
0,
|
|
@@ -29304,8 +29304,8 @@ function _J() {
|
|
|
29304
29304
|
}, _doCryptBlock: function(T, M, P) {
|
|
29305
29305
|
this._lBlock = T[M], this._rBlock = T[M + 1], u.call(this, 4, 252645135), u.call(this, 16, 65535), f.call(this, 2, 858993459), f.call(this, 8, 16711935), u.call(this, 1, 1431655765);
|
|
29306
29306
|
for (var L = 0; 16 > L; L++) {
|
|
29307
|
-
for (var B = P[L], W = this._lBlock,
|
|
29308
|
-
this._lBlock =
|
|
29307
|
+
for (var B = P[L], W = this._lBlock, ue = this._rBlock, Ne = 0, xe = 0; 8 > xe; xe++) Ne |= D[xe][((ue ^ B[xe]) & U[xe]) >>> 0];
|
|
29308
|
+
this._lBlock = ue, this._rBlock = W ^ Ne;
|
|
29309
29309
|
}
|
|
29310
29310
|
P = this._lBlock, this._lBlock = this._rBlock, this._rBlock = P, u.call(this, 1, 1431655765), f.call(this, 8, 16711935), f.call(this, 2, 858993459), u.call(this, 16, 65535), u.call(this, 4, 252645135), T[M] = this._lBlock, T[M + 1] = this._rBlock;
|
|
29311
29311
|
}, keySize: 2, ivSize: 2, blockSize: 2 });
|
|
@@ -29357,7 +29357,7 @@ function _J() {
|
|
|
29357
29357
|
var P = T + M, L = V[P];
|
|
29358
29358
|
V[P] = (L << 8 | L >>> 24) & 16711935 | (L << 24 | L >>> 8) & 4278255360;
|
|
29359
29359
|
}
|
|
29360
|
-
var M = this._hash.words, P = V[T + 0], L = V[T + 1], B = V[T + 2], W = V[T + 3],
|
|
29360
|
+
var M = this._hash.words, P = V[T + 0], L = V[T + 1], B = V[T + 2], W = V[T + 3], ue = V[T + 4], Ne = V[T + 5], xe = V[T + 6], Le = V[T + 7], z = V[T + 8], J = V[T + 9], te = V[T + 10], K = V[T + 11], le = V[T + 12], Me = V[T + 13], Ue = V[T + 14], wt = V[T + 15], Be = M[0], Bt = M[1], Tt = M[2], rt = M[3], Be = f(Be, Bt, Tt, rt, P, 7, D[0]), rt = f(rt, Be, Bt, Tt, L, 12, D[1]), Tt = f(Tt, rt, Be, Bt, B, 17, D[2]), Bt = f(Bt, Tt, rt, Be, W, 22, D[3]), Be = f(Be, Bt, Tt, rt, ue, 7, D[4]), rt = f(rt, Be, Bt, Tt, Ne, 12, D[5]), Tt = f(Tt, rt, Be, Bt, xe, 17, D[6]), Bt = f(Bt, Tt, rt, Be, Le, 22, D[7]), Be = f(Be, Bt, Tt, rt, z, 7, D[8]), rt = f(rt, Be, Bt, Tt, J, 12, D[9]), Tt = f(Tt, rt, Be, Bt, te, 17, D[10]), Bt = f(Bt, Tt, rt, Be, K, 22, D[11]), Be = f(Be, Bt, Tt, rt, le, 7, D[12]), rt = f(rt, Be, Bt, Tt, Me, 12, D[13]), Tt = f(Tt, rt, Be, Bt, Ue, 17, D[14]), Bt = f(Bt, Tt, rt, Be, wt, 22, D[15]), Be = h(Be, Bt, Tt, rt, L, 5, D[16]), rt = h(rt, Be, Bt, Tt, xe, 9, D[17]), Tt = h(Tt, rt, Be, Bt, K, 14, D[18]), Bt = h(Bt, Tt, rt, Be, P, 20, D[19]), Be = h(Be, Bt, Tt, rt, Ne, 5, D[20]), rt = h(rt, Be, Bt, Tt, te, 9, D[21]), Tt = h(Tt, rt, Be, Bt, wt, 14, D[22]), Bt = h(Bt, Tt, rt, Be, ue, 20, D[23]), Be = h(Be, Bt, Tt, rt, J, 5, D[24]), rt = h(rt, Be, Bt, Tt, Ue, 9, D[25]), Tt = h(Tt, rt, Be, Bt, W, 14, D[26]), Bt = h(Bt, Tt, rt, Be, z, 20, D[27]), Be = h(Be, Bt, Tt, rt, Me, 5, D[28]), rt = h(
|
|
29361
29361
|
rt,
|
|
29362
29362
|
Be,
|
|
29363
29363
|
Bt,
|
|
@@ -29365,7 +29365,7 @@ function _J() {
|
|
|
29365
29365
|
B,
|
|
29366
29366
|
9,
|
|
29367
29367
|
D[29]
|
|
29368
|
-
), Tt = h(Tt, rt, Be, Bt, Le, 14, D[30]), Bt = h(Bt, Tt, rt, Be, le, 20, D[31]), Be = g(Be, Bt, Tt, rt, Ne, 4, D[32]), rt = g(rt, Be, Bt, Tt, z, 11, D[33]), Tt = g(Tt, rt, Be, Bt, K, 16, D[34]), Bt = g(Bt, Tt, rt, Be, Ue, 23, D[35]), Be = g(Be, Bt, Tt, rt, L, 4, D[36]), rt = g(rt, Be, Bt, Tt,
|
|
29368
|
+
), Tt = h(Tt, rt, Be, Bt, Le, 14, D[30]), Bt = h(Bt, Tt, rt, Be, le, 20, D[31]), Be = g(Be, Bt, Tt, rt, Ne, 4, D[32]), rt = g(rt, Be, Bt, Tt, z, 11, D[33]), Tt = g(Tt, rt, Be, Bt, K, 16, D[34]), Bt = g(Bt, Tt, rt, Be, Ue, 23, D[35]), Be = g(Be, Bt, Tt, rt, L, 4, D[36]), rt = g(rt, Be, Bt, Tt, ue, 11, D[37]), Tt = g(Tt, rt, Be, Bt, Le, 16, D[38]), Bt = g(Bt, Tt, rt, Be, te, 23, D[39]), Be = g(Be, Bt, Tt, rt, Me, 4, D[40]), rt = g(rt, Be, Bt, Tt, P, 11, D[41]), Tt = g(Tt, rt, Be, Bt, W, 16, D[42]), Bt = g(Bt, Tt, rt, Be, xe, 23, D[43]), Be = g(Be, Bt, Tt, rt, J, 4, D[44]), rt = g(rt, Be, Bt, Tt, le, 11, D[45]), Tt = g(Tt, rt, Be, Bt, wt, 16, D[46]), Bt = g(Bt, Tt, rt, Be, B, 23, D[47]), Be = w(Be, Bt, Tt, rt, P, 6, D[48]), rt = w(rt, Be, Bt, Tt, Le, 10, D[49]), Tt = w(
|
|
29369
29369
|
Tt,
|
|
29370
29370
|
rt,
|
|
29371
29371
|
Be,
|
|
@@ -29373,7 +29373,7 @@ function _J() {
|
|
|
29373
29373
|
Ue,
|
|
29374
29374
|
15,
|
|
29375
29375
|
D[50]
|
|
29376
|
-
), Bt = w(Bt, Tt, rt, Be, Ne, 21, D[51]), Be = w(Be, Bt, Tt, rt, le, 6, D[52]), rt = w(rt, Be, Bt, Tt, W, 10, D[53]), Tt = w(Tt, rt, Be, Bt, te, 15, D[54]), Bt = w(Bt, Tt, rt, Be, L, 21, D[55]), Be = w(Be, Bt, Tt, rt, z, 6, D[56]), rt = w(rt, Be, Bt, Tt, wt, 10, D[57]), Tt = w(Tt, rt, Be, Bt, xe, 15, D[58]), Bt = w(Bt, Tt, rt, Be, Me, 21, D[59]), Be = w(Be, Bt, Tt, rt,
|
|
29376
|
+
), Bt = w(Bt, Tt, rt, Be, Ne, 21, D[51]), Be = w(Be, Bt, Tt, rt, le, 6, D[52]), rt = w(rt, Be, Bt, Tt, W, 10, D[53]), Tt = w(Tt, rt, Be, Bt, te, 15, D[54]), Bt = w(Bt, Tt, rt, Be, L, 21, D[55]), Be = w(Be, Bt, Tt, rt, z, 6, D[56]), rt = w(rt, Be, Bt, Tt, wt, 10, D[57]), Tt = w(Tt, rt, Be, Bt, xe, 15, D[58]), Bt = w(Bt, Tt, rt, Be, Me, 21, D[59]), Be = w(Be, Bt, Tt, rt, ue, 6, D[60]), rt = w(rt, Be, Bt, Tt, K, 10, D[61]), Tt = w(Tt, rt, Be, Bt, B, 15, D[62]), Bt = w(Bt, Tt, rt, Be, J, 21, D[63]);
|
|
29377
29377
|
M[0] = M[0] + Be | 0, M[1] = M[1] + Bt | 0, M[2] = M[2] + Tt | 0, M[3] = M[3] + rt | 0;
|
|
29378
29378
|
},
|
|
29379
29379
|
_doFinalize: function() {
|
|
@@ -29427,15 +29427,15 @@ function _J() {
|
|
|
29427
29427
|
var T = [], M = M.SHA256 = g.extend({ _doReset: function() {
|
|
29428
29428
|
this._hash = new h.init(w.slice(0));
|
|
29429
29429
|
}, _doProcessBlock: function(P, L) {
|
|
29430
|
-
for (var B = this._hash.words, W = B[0],
|
|
29430
|
+
for (var B = this._hash.words, W = B[0], ue = B[1], Ne = B[2], xe = B[3], Le = B[4], z = B[5], J = B[6], te = B[7], K = 0; 64 > K; K++) {
|
|
29431
29431
|
if (16 > K) T[K] = P[L + K] | 0;
|
|
29432
29432
|
else {
|
|
29433
29433
|
var le = T[K - 15], Me = T[K - 2];
|
|
29434
29434
|
T[K] = ((le << 25 | le >>> 7) ^ (le << 14 | le >>> 18) ^ le >>> 3) + T[K - 7] + ((Me << 15 | Me >>> 17) ^ (Me << 13 | Me >>> 19) ^ Me >>> 10) + T[K - 16];
|
|
29435
29435
|
}
|
|
29436
|
-
le = te + ((Le << 26 | Le >>> 6) ^ (Le << 21 | Le >>> 11) ^ (Le << 7 | Le >>> 25)) + (Le & z ^ ~Le & J) + E[K] + T[K], Me = ((W << 30 | W >>> 2) ^ (W << 19 | W >>> 13) ^ (W << 10 | W >>> 22)) + (W &
|
|
29436
|
+
le = te + ((Le << 26 | Le >>> 6) ^ (Le << 21 | Le >>> 11) ^ (Le << 7 | Le >>> 25)) + (Le & z ^ ~Le & J) + E[K] + T[K], Me = ((W << 30 | W >>> 2) ^ (W << 19 | W >>> 13) ^ (W << 10 | W >>> 22)) + (W & ue ^ W & Ne ^ ue & Ne), te = J, J = z, z = Le, Le = xe + le | 0, xe = Ne, Ne = ue, ue = W, W = le + Me | 0;
|
|
29437
29437
|
}
|
|
29438
|
-
B[0] = B[0] + W | 0, B[1] = B[1] +
|
|
29438
|
+
B[0] = B[0] + W | 0, B[1] = B[1] + ue | 0, B[2] = B[2] + Ne | 0, B[3] = B[3] + xe | 0, B[4] = B[4] + Le | 0, B[5] = B[5] + z | 0, B[6] = B[6] + J | 0, B[7] = B[7] + te | 0;
|
|
29439
29439
|
}, _doFinalize: function() {
|
|
29440
29440
|
var P = this._data, L = P.words, B = 8 * this._nDataBytes, W = 8 * P.sigBytes;
|
|
29441
29441
|
return L[W >>> 5] |= 128 << 24 - W % 32, L[(W + 64 >>> 9 << 4) + 14] = u.floor(B / 4294967296), L[(W + 64 >>> 9 << 4) + 15] = B, P.sigBytes = 4 * L.length, this._process(), this._hash;
|
|
@@ -29547,7 +29547,7 @@ function _J() {
|
|
|
29547
29547
|
E = E.SHA512 = h.extend({ _doReset: function() {
|
|
29548
29548
|
this._hash = new w.init([new g.init(1779033703, 4089235720), new g.init(3144134277, 2227873595), new g.init(1013904242, 4271175723), new g.init(2773480762, 1595750129), new g.init(1359893119, 2917565137), new g.init(2600822924, 725511199), new g.init(528734635, 4215389547), new g.init(1541459225, 327033209)]);
|
|
29549
29549
|
}, _doProcessBlock: function(D, U) {
|
|
29550
|
-
for (var
|
|
29550
|
+
for (var ue = this._hash.words, V = ue[0], T = ue[1], M = ue[2], P = ue[3], L = ue[4], B = ue[5], W = ue[6], ue = ue[7], Ne = V.high, xe = V.low, Le = T.high, z = T.low, J = M.high, te = M.low, K = P.high, le = P.low, Me = L.high, Ue = L.low, wt = B.high, Be = B.low, rt = W.high, Tt = W.low, Bt = ue.high, va = ue.low, Vo = Ne, vo = xe, Si = Le, $i = z, na = J, Wi = te, Gf = K, Da = le, _n = Me, oo = Ue, Bo = wt, Uo = Be, za = rt, Xo = Tt, qf = Bt, Mc = va, $s = 0; 80 > $s; $s++) {
|
|
29551
29551
|
var xu = O[$s];
|
|
29552
29552
|
if (16 > $s) var Ts = xu.high = D[U + 2 * $s] | 0, qn = xu.low = D[U + 2 * $s + 1] | 0;
|
|
29553
29553
|
else {
|
|
@@ -29556,7 +29556,7 @@ function _J() {
|
|
|
29556
29556
|
}
|
|
29557
29557
|
var CS = _n & Bo ^ ~_n & za, Pu = oo & Uo ^ ~oo & Xo, xu = Vo & Si ^ Vo & na ^ Si & na, JF = vo & $i ^ vo & Wi ^ $i & Wi, gl = (Vo >>> 28 | vo << 4) ^ (Vo << 30 | vo >>> 2) ^ (Vo << 25 | vo >>> 7), kc = (vo >>> 28 | Vo << 4) ^ (vo << 30 | Vo >>> 2) ^ (vo << 25 | Vo >>> 7), Oo = _[$s], YF = Oo.high, qR = Oo.low, Oo = Mc + ((oo >>> 14 | _n << 18) ^ (oo >>> 18 | _n << 14) ^ (oo << 23 | _n >>> 9)), vl = qf + ((_n >>> 14 | oo << 18) ^ (_n >>> 18 | oo << 14) ^ (_n << 23 | oo >>> 9)) + (Oo >>> 0 < Mc >>> 0 ? 1 : 0), Oo = Oo + Pu, vl = vl + CS + (Oo >>> 0 < Pu >>> 0 ? 1 : 0), Oo = Oo + qR, vl = vl + YF + (Oo >>> 0 < qR >>> 0 ? 1 : 0), Oo = Oo + qn, vl = vl + Ts + (Oo >>> 0 < qn >>> 0 ? 1 : 0), qn = kc + JF, xu = gl + xu + (qn >>> 0 < kc >>> 0 ? 1 : 0), qf = za, Mc = Xo, za = Bo, Xo = Uo, Bo = _n, Uo = oo, oo = Da + Oo | 0, _n = Gf + vl + (oo >>> 0 < Da >>> 0 ? 1 : 0) | 0, Gf = na, Da = Wi, na = Si, Wi = $i, Si = Vo, $i = vo, vo = Oo + qn | 0, Vo = vl + xu + (vo >>> 0 < Oo >>> 0 ? 1 : 0) | 0;
|
|
29558
29558
|
}
|
|
29559
|
-
xe = V.low = xe + vo, V.high = Ne + Vo + (xe >>> 0 < vo >>> 0 ? 1 : 0), z = T.low = z + $i, T.high = Le + Si + (z >>> 0 < $i >>> 0 ? 1 : 0), te = M.low = te + Wi, M.high = J + na + (te >>> 0 < Wi >>> 0 ? 1 : 0), le = P.low = le + Da, P.high = K + Gf + (le >>> 0 < Da >>> 0 ? 1 : 0), Ue = L.low = Ue + oo, L.high = Me + _n + (Ue >>> 0 < oo >>> 0 ? 1 : 0), Be = B.low = Be + Uo, B.high = wt + Bo + (Be >>> 0 < Uo >>> 0 ? 1 : 0), Tt = W.low = Tt + Xo, W.high = rt + za + (Tt >>> 0 < Xo >>> 0 ? 1 : 0), va =
|
|
29559
|
+
xe = V.low = xe + vo, V.high = Ne + Vo + (xe >>> 0 < vo >>> 0 ? 1 : 0), z = T.low = z + $i, T.high = Le + Si + (z >>> 0 < $i >>> 0 ? 1 : 0), te = M.low = te + Wi, M.high = J + na + (te >>> 0 < Wi >>> 0 ? 1 : 0), le = P.low = le + Da, P.high = K + Gf + (le >>> 0 < Da >>> 0 ? 1 : 0), Ue = L.low = Ue + oo, L.high = Me + _n + (Ue >>> 0 < oo >>> 0 ? 1 : 0), Be = B.low = Be + Uo, B.high = wt + Bo + (Be >>> 0 < Uo >>> 0 ? 1 : 0), Tt = W.low = Tt + Xo, W.high = rt + za + (Tt >>> 0 < Xo >>> 0 ? 1 : 0), va = ue.low = va + Mc, ue.high = Bt + qf + (va >>> 0 < Mc >>> 0 ? 1 : 0);
|
|
29560
29560
|
}, _doFinalize: function() {
|
|
29561
29561
|
var D = this._data, U = D.words, V = 8 * this._nDataBytes, T = 8 * D.sigBytes;
|
|
29562
29562
|
return U[T >>> 5] |= 128 << 24 - T % 32, U[(T + 128 >>> 10 << 5) + 30] = Math.floor(V / 4294967296), U[(T + 128 >>> 10 << 5) + 31] = V, D.sigBytes = 4 * U.length, this._process(), this._hash.toX32();
|
|
@@ -29667,9 +29667,9 @@ function _J() {
|
|
|
29667
29667
|
var M = V + T, P = U[M];
|
|
29668
29668
|
U[M] = (P << 8 | P >>> 24) & 16711935 | (P << 24 | P >>> 8) & 4278255360;
|
|
29669
29669
|
}
|
|
29670
|
-
var M = this._hash.words, P = O.words, L = j.words, B = g.words, W = w.words,
|
|
29670
|
+
var M = this._hash.words, P = O.words, L = j.words, B = g.words, W = w.words, ue = E.words, Ne = _.words, xe, Le, z, J, te, K, le, Me, Ue, wt;
|
|
29671
29671
|
K = xe = M[0], le = Le = M[1], Me = z = M[2], Ue = J = M[3], wt = te = M[4];
|
|
29672
|
-
for (var Be, T = 0; 80 > T; T += 1) Be = xe + U[V + B[T]] | 0, Be = 16 > T ? Be + ((Le ^ z ^ J) + P[0]) : 32 > T ? Be + ((Le & z | ~Le & J) + P[1]) : 48 > T ? Be + (((Le | ~z) ^ J) + P[2]) : 64 > T ? Be + ((Le & J | z & ~J) + P[3]) : Be + ((Le ^ (z | ~J)) + P[4]), Be |= 0, Be = Be <<
|
|
29672
|
+
for (var Be, T = 0; 80 > T; T += 1) Be = xe + U[V + B[T]] | 0, Be = 16 > T ? Be + ((Le ^ z ^ J) + P[0]) : 32 > T ? Be + ((Le & z | ~Le & J) + P[1]) : 48 > T ? Be + (((Le | ~z) ^ J) + P[2]) : 64 > T ? Be + ((Le & J | z & ~J) + P[3]) : Be + ((Le ^ (z | ~J)) + P[4]), Be |= 0, Be = Be << ue[T] | Be >>> 32 - ue[T], Be = Be + te | 0, xe = te, te = J, J = z << 10 | z >>> 22, z = Le, Le = Be, Be = K + U[V + W[T]] | 0, Be = 16 > T ? Be + ((le ^ (Me | ~Ue)) + L[0]) : 32 > T ? Be + ((le & Ue | Me & ~Ue) + L[1]) : 48 > T ? Be + (((le | ~Me) ^ Ue) + L[2]) : 64 > T ? Be + ((le & Me | ~le & Ue) + L[3]) : Be + ((le ^ Me ^ Ue) + L[4]), Be |= 0, Be = Be << Ne[T] | Be >>> 32 - Ne[T], Be = Be + wt | 0, K = wt, wt = Ue, Ue = Me << 10 | Me >>> 22, Me = le, le = Be;
|
|
29673
29673
|
Be = M[1] + z + Ue | 0, M[1] = M[2] + J + wt | 0, M[2] = M[3] + te + K | 0, M[3] = M[4] + xe + le | 0, M[4] = M[0] + Le + Me | 0, M[0] = Be;
|
|
29674
29674
|
}, _doFinalize: function() {
|
|
29675
29675
|
var U = this._data, V = U.words, T = 8 * this._nDataBytes, M = 8 * U.sigBytes;
|
|
@@ -29704,9 +29704,9 @@ function _J() {
|
|
|
29704
29704
|
for (var P = this.cfg, j = w.create(P.hasher, _), D = h.create(), U = h.create([1]), V = D.words, T = U.words, M = P.keySize, P = P.iterations; V.length < M; ) {
|
|
29705
29705
|
var L = j.update(O).finalize(U);
|
|
29706
29706
|
j.reset();
|
|
29707
|
-
for (var B = L.words, W = B.length,
|
|
29708
|
-
|
|
29709
|
-
for (var xe =
|
|
29707
|
+
for (var B = L.words, W = B.length, ue = L, Ne = 1; Ne < P; Ne++) {
|
|
29708
|
+
ue = j.finalize(ue), j.reset();
|
|
29709
|
+
for (var xe = ue.words, Le = 0; Le < W; Le++) B[Le] ^= xe[Le];
|
|
29710
29710
|
}
|
|
29711
29711
|
D.concat(L), T[0]++;
|
|
29712
29712
|
}
|
|
@@ -29860,7 +29860,7 @@ function _J() {
|
|
|
29860
29860
|
function Se() {
|
|
29861
29861
|
return this.s < 0 ? this.negate() : this;
|
|
29862
29862
|
}
|
|
29863
|
-
function
|
|
29863
|
+
function ce(u) {
|
|
29864
29864
|
var f = this.s - u.s;
|
|
29865
29865
|
if (f != 0)
|
|
29866
29866
|
return f;
|
|
@@ -29961,9 +29961,9 @@ function _J() {
|
|
|
29961
29961
|
for (E.dlShiftTo(B, W), h.compareTo(W) >= 0 && (h[h.t++] = 1, h.subTo(W, h)), p.ONE.dlShiftTo(D, W), W.subTo(E, E); E.t < D; )
|
|
29962
29962
|
E[E.t++] = 0;
|
|
29963
29963
|
for (; --B >= 0; ) {
|
|
29964
|
-
var
|
|
29965
|
-
if ((h[L] += E.am(0,
|
|
29966
|
-
for (E.dlShiftTo(B, W), h.subTo(W, h); h[L] < --
|
|
29964
|
+
var ue = h[--L] == U ? this.DM : Math.floor(h[L] * T + (h[L - 1] + P) * M);
|
|
29965
|
+
if ((h[L] += E.am(0, ue, h, B, 0, D)) < ue)
|
|
29966
|
+
for (E.dlShiftTo(B, W), h.subTo(W, h); h[L] < --ue; )
|
|
29967
29967
|
h.subTo(W, h);
|
|
29968
29968
|
}
|
|
29969
29969
|
f != null && (h.drShiftTo(D, f), _ != O && p.ZERO.subTo(f, f)), h.t = D, h.clamp(), j > 0 && h.rShiftTo(j, h), _ < 0 && p.ZERO.subTo(h, h);
|
|
@@ -30050,7 +30050,7 @@ function _J() {
|
|
|
30050
30050
|
var h;
|
|
30051
30051
|
return u < 256 || f.isEven() ? h = new at(f) : h = new ht(f), this.exp(u, h);
|
|
30052
30052
|
}
|
|
30053
|
-
p.prototype.copyTo = $, p.prototype.fromInt = H, p.prototype.fromString = Q, p.prototype.clamp = Y, p.prototype.dlShiftTo = oe, p.prototype.drShiftTo = be, p.prototype.lShiftTo = re, p.prototype.rShiftTo = Ce, p.prototype.subTo = Ie, p.prototype.multiplyTo = _e, p.prototype.squareTo = Te, p.prototype.divRemTo = ze, p.prototype.invDigit = et, p.prototype.isEven = ir, p.prototype.exp = dr, p.prototype.toString = fe, p.prototype.negate = ne, p.prototype.abs = Se, p.prototype.compareTo =
|
|
30053
|
+
p.prototype.copyTo = $, p.prototype.fromInt = H, p.prototype.fromString = Q, p.prototype.clamp = Y, p.prototype.dlShiftTo = oe, p.prototype.drShiftTo = be, p.prototype.lShiftTo = re, p.prototype.rShiftTo = Ce, p.prototype.subTo = Ie, p.prototype.multiplyTo = _e, p.prototype.squareTo = Te, p.prototype.divRemTo = ze, p.prototype.invDigit = et, p.prototype.isEven = ir, p.prototype.exp = dr, p.prototype.toString = fe, p.prototype.negate = ne, p.prototype.abs = Se, p.prototype.compareTo = ce, p.prototype.bitLength = De, p.prototype.mod = Et, p.prototype.modPowInt = mr, p.ZERO = G(0), p.ONE = G(1);
|
|
30054
30054
|
/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/
|
|
30055
30055
|
*/
|
|
30056
30056
|
function tn() {
|
|
@@ -30827,8 +30827,8 @@ function _J() {
|
|
|
30827
30827
|
return function(U, V) {
|
|
30828
30828
|
var T = U.match(g), M, P = T[0], L = !1;
|
|
30829
30829
|
P === "{" ? M = {} : P === "[" ? M = [] : (M = [], L = !0);
|
|
30830
|
-
for (var B, W = [M],
|
|
30831
|
-
P = T[
|
|
30830
|
+
for (var B, W = [M], ue = 1 - L, Ne = T.length; ue < Ne; ++ue) {
|
|
30831
|
+
P = T[ue];
|
|
30832
30832
|
var xe;
|
|
30833
30833
|
switch (P.charCodeAt(0)) {
|
|
30834
30834
|
default:
|
|
@@ -30903,7 +30903,7 @@ function _J() {
|
|
|
30903
30903
|
}, this.getPEMStringFromHex = function(u, f) {
|
|
30904
30904
|
return ve(u, f);
|
|
30905
30905
|
}, this.newObject = function(u) {
|
|
30906
|
-
var f = I, h = f.asn1, g = h.ASN1Object, w = h.DERBoolean, E = h.DERInteger, _ = h.DERBitString, O = h.DEROctetString, j = h.DERNull, D = h.DERObjectIdentifier, U = h.DEREnumerated, V = h.DERUTF8String, T = h.DERNumericString, M = h.DERPrintableString, P = h.DERTeletexString, L = h.DERIA5String, B = h.DERUTCTime, W = h.DERGeneralizedTime,
|
|
30906
|
+
var f = I, h = f.asn1, g = h.ASN1Object, w = h.DERBoolean, E = h.DERInteger, _ = h.DERBitString, O = h.DEROctetString, j = h.DERNull, D = h.DERObjectIdentifier, U = h.DEREnumerated, V = h.DERUTF8String, T = h.DERNumericString, M = h.DERPrintableString, P = h.DERTeletexString, L = h.DERIA5String, B = h.DERUTCTime, W = h.DERGeneralizedTime, ue = h.DERVisibleString, Ne = h.DERBMPString, xe = h.DERSequence, Le = h.DERSet, z = h.DERTaggedObject, J = h.ASN1Util.newObject;
|
|
30907
30907
|
if (u instanceof h.ASN1Object)
|
|
30908
30908
|
return u;
|
|
30909
30909
|
var te = Object.keys(u);
|
|
@@ -30941,7 +30941,7 @@ function _J() {
|
|
|
30941
30941
|
if (K == "gentime")
|
|
30942
30942
|
return new W(u[K]);
|
|
30943
30943
|
if (K == "visstr")
|
|
30944
|
-
return new
|
|
30944
|
+
return new ue(u[K]);
|
|
30945
30945
|
if (K == "bmpstr")
|
|
30946
30946
|
return new Ne(u[K]);
|
|
30947
30947
|
if (K == "asn1")
|
|
@@ -31472,13 +31472,13 @@ function _J() {
|
|
|
31472
31472
|
return g + `SEQUENCE {}
|
|
31473
31473
|
`;
|
|
31474
31474
|
var T = g + `SEQUENCE
|
|
31475
|
-
`, W = O(j, h),
|
|
31475
|
+
`, W = O(j, h), ue = f;
|
|
31476
31476
|
if ((W.length == 2 || W.length == 3) && j.substr(W[0], 2) == "06" && j.substr(W[W.length - 1], 2) == "04") {
|
|
31477
31477
|
var L = w.oidname(E(j, W[0])), Ne = JSON.parse(JSON.stringify(f));
|
|
31478
|
-
Ne.x509ExtName = L,
|
|
31478
|
+
Ne.x509ExtName = L, ue = Ne;
|
|
31479
31479
|
}
|
|
31480
31480
|
for (var xe = 0; xe < W.length; xe++)
|
|
31481
|
-
T = T + _(j,
|
|
31481
|
+
T = T + _(j, ue, W[xe], g + " ");
|
|
31482
31482
|
return T;
|
|
31483
31483
|
}
|
|
31484
31484
|
if (Le == "31") {
|
|
@@ -31526,10 +31526,10 @@ function _J() {
|
|
|
31526
31526
|
try {
|
|
31527
31527
|
if (W.substr(0, 2) != "00")
|
|
31528
31528
|
throw "not encap";
|
|
31529
|
-
var
|
|
31530
|
-
if (!g(
|
|
31529
|
+
var ue = W.substr(2);
|
|
31530
|
+
if (!g(ue))
|
|
31531
31531
|
throw "not encap";
|
|
31532
|
-
return { bitstr: { obj: h(
|
|
31532
|
+
return { bitstr: { obj: h(ue) } };
|
|
31533
31533
|
} catch {
|
|
31534
31534
|
var Ne = null;
|
|
31535
31535
|
return W.length <= 10 && (Ne = WR(W)), Ne == null ? { bitstr: { hex: W } } : { bitstr: { bin: Ne } };
|
|
@@ -32469,10 +32469,10 @@ function _J() {
|
|
|
32469
32469
|
var L, B, W = null;
|
|
32470
32470
|
if (V.certsubj !== void 0 ? (L = !1, B = V.certsubj) : (L = !0, B = V.certissuer), B.match(/^[0-9A-Fa-f]+$/), B.indexOf("-----BEGIN ") != -1 && (W = Fe(B)), W == null)
|
|
32471
32471
|
throw new Error("certsubj/certissuer not cert");
|
|
32472
|
-
var
|
|
32473
|
-
|
|
32472
|
+
var ue = new Qr();
|
|
32473
|
+
ue.hex = W;
|
|
32474
32474
|
var Ne;
|
|
32475
|
-
L ? Ne =
|
|
32475
|
+
L ? Ne = ue.getIssuerHex() : Ne = ue.getSubjectHex(), M = new D(), M.hTLV = Ne;
|
|
32476
32476
|
} else if (V.uri !== void 0)
|
|
32477
32477
|
T = "86", M = new _({ str: V.uri });
|
|
32478
32478
|
else if (V.ip !== void 0) {
|
|
@@ -32806,8 +32806,8 @@ function _J() {
|
|
|
32806
32806
|
j.ContentType, j.EncapsulatedContentInfo, j.MessageDigest, j.SignedData;
|
|
32807
32807
|
var V = g.x509, T = V.AlgorithmIdentifier, M = h.crypto, P = Cn;
|
|
32808
32808
|
j.SignerInfo.superclass.constructor.call(this), this.params = null, this.sign = function() {
|
|
32809
|
-
var L = this.params, B = L.sigalg, W = new U(L.sattrs).tohex(),
|
|
32810
|
-
Ne.init(
|
|
32809
|
+
var L = this.params, B = L.sigalg, W = new U(L.sattrs).tohex(), ue = P.getKey(L.signkey), Ne = new M.Signature({ alg: B });
|
|
32810
|
+
Ne.init(ue), Ne.updateHex(W);
|
|
32811
32811
|
var xe = Ne.sign();
|
|
32812
32812
|
L.sighex = xe;
|
|
32813
32813
|
}, this.tohex = function() {
|
|
@@ -32828,8 +32828,8 @@ function _J() {
|
|
|
32828
32828
|
throw new f("si uattr error: " + xe);
|
|
32829
32829
|
}
|
|
32830
32830
|
}
|
|
32831
|
-
var
|
|
32832
|
-
return
|
|
32831
|
+
var ue = new _({ array: B });
|
|
32832
|
+
return ue.tohex();
|
|
32833
32833
|
}, this.getEncodedHex = function() {
|
|
32834
32834
|
return this.tohex();
|
|
32835
32835
|
}, u != null && this.setByParam(u);
|
|
@@ -32873,13 +32873,13 @@ function _J() {
|
|
|
32873
32873
|
this._setDigestAlgs(P), this._setContentTypeByEContent(P), this._setMessageDigestByEContent(P), this._setSignerInfoVersion(P), this._setSignedDataVersion(P);
|
|
32874
32874
|
}, this._setDigestAlgs = function(P) {
|
|
32875
32875
|
for (var L = {}, B = P.sinfos, W = 0; W < B.length; W++) {
|
|
32876
|
-
var
|
|
32877
|
-
L[
|
|
32876
|
+
var ue = B[W];
|
|
32877
|
+
L[ue.hashalg] = 1;
|
|
32878
32878
|
}
|
|
32879
32879
|
P.hashalgs = Object.keys(L).sort();
|
|
32880
32880
|
}, this._setContentTypeByEContent = function(P) {
|
|
32881
32881
|
for (var L = P.econtent.type, B = P.sinfos, W = 0; W < B.length; W++) {
|
|
32882
|
-
var
|
|
32882
|
+
var ue = B[W], Ne = this._getAttrParamByName(ue, "contentType");
|
|
32883
32883
|
Ne.type = L;
|
|
32884
32884
|
}
|
|
32885
32885
|
}, this._setMessageDigestByEContent = function(P) {
|
|
@@ -32887,8 +32887,8 @@ function _J() {
|
|
|
32887
32887
|
P.econtent.type;
|
|
32888
32888
|
var B = L.content.hex;
|
|
32889
32889
|
B == null && L.type == "data" && L.content.str != null && (B = Rs(L.content.str));
|
|
32890
|
-
for (var W = P.sinfos,
|
|
32891
|
-
var Ne = W[
|
|
32890
|
+
for (var W = P.sinfos, ue = 0; ue < W.length; ue++) {
|
|
32891
|
+
var Ne = W[ue], xe = Ne.hashalg, Le = this._getAttrParamByName(Ne, "messageDigest"), z = I.crypto.Util.hashHex(B, xe);
|
|
32892
32892
|
Le.hex = z;
|
|
32893
32893
|
}
|
|
32894
32894
|
}, this._getAttrParamByName = function(P, L) {
|
|
@@ -32897,8 +32897,8 @@ function _J() {
|
|
|
32897
32897
|
return B[W];
|
|
32898
32898
|
}, this._setSignerInfoVersion = function(P) {
|
|
32899
32899
|
for (var L = P.sinfos, B = 0; B < L.length; B++) {
|
|
32900
|
-
var W = L[B],
|
|
32901
|
-
W.id.type == "skid" && (
|
|
32900
|
+
var W = L[B], ue = 1;
|
|
32901
|
+
W.id.type == "skid" && (ue = 3), W.version = ue;
|
|
32902
32902
|
}
|
|
32903
32903
|
}, this._setSignedDataVersion = function(P) {
|
|
32904
32904
|
var L = this._getSignedDataVersion(P);
|
|
@@ -32910,7 +32910,7 @@ function _J() {
|
|
|
32910
32910
|
if (W.ocsp != null)
|
|
32911
32911
|
return 5;
|
|
32912
32912
|
}
|
|
32913
|
-
for (var
|
|
32913
|
+
for (var ue = P.sinfos, B = 0; B < ue.length; B++) {
|
|
32914
32914
|
var Ne = P.sinfos[B];
|
|
32915
32915
|
if (Ne.version == 3)
|
|
32916
32916
|
return 3;
|
|
@@ -32922,8 +32922,8 @@ function _J() {
|
|
|
32922
32922
|
var L = [];
|
|
32923
32923
|
L.push(new g({ int: P.version }));
|
|
32924
32924
|
for (var B = [], W = 0; W < P.hashalgs.length; W++) {
|
|
32925
|
-
var
|
|
32926
|
-
B.push(new M({ name:
|
|
32925
|
+
var ue = P.hashalgs[W];
|
|
32926
|
+
B.push(new M({ name: ue }));
|
|
32927
32927
|
}
|
|
32928
32928
|
L.push(new w({ array: B })), L.push(new O(P.econtent)), P.certs != null && L.push(new U(P.certs)), P.revinfos != null && L.push(new V(P.revinfos));
|
|
32929
32929
|
for (var Ne = [], W = 0; W < P.sinfos.length; W++) {
|
|
@@ -33033,12 +33033,12 @@ function _J() {
|
|
|
33033
33033
|
var le = K.idx;
|
|
33034
33034
|
K.signerid_issuer1 = j(te, le, [1, 0], "30"), K.signerid_serial1 = O(te, le, [1, 1], "02"), K.hashalg = T(O(te, le, [2, 0], "06"));
|
|
33035
33035
|
var Me = D(te, le, [3], "a0");
|
|
33036
|
-
K.idxSignedAttrs = Me,
|
|
33036
|
+
K.idxSignedAttrs = Me, ue(te, K, Me);
|
|
33037
33037
|
var Ue = U(te, le), wt = Ue.length;
|
|
33038
33038
|
if (wt < 6)
|
|
33039
33039
|
throw "malformed SignerInfo";
|
|
33040
33040
|
K.sigalg = T(O(te, le, [wt - 2, 0], "06")), K.sigval = O(te, le, [wt - 1], "04");
|
|
33041
|
-
},
|
|
33041
|
+
}, ue = function(te, K, le) {
|
|
33042
33042
|
var Me = U(te, le);
|
|
33043
33043
|
K.signedAttrIdxList = Me;
|
|
33044
33044
|
for (var Ue = 0; Ue < Me.length; Ue++) {
|
|
@@ -33097,8 +33097,8 @@ function _J() {
|
|
|
33097
33097
|
M.hashalgs = this.getHashAlgArray(B);
|
|
33098
33098
|
var W = E(V, T[2]);
|
|
33099
33099
|
M.econtent = this.getEContent(W);
|
|
33100
|
-
var
|
|
33101
|
-
|
|
33100
|
+
var ue = O(V, 0, ["[0]"]);
|
|
33101
|
+
ue != null && (M.certs = this.getCertificateSet(ue)), O(V, 0, ["[1]"]);
|
|
33102
33102
|
var Ne = O(V, 0, [3]);
|
|
33103
33103
|
return M.sinfos = this.getSignerInfos(Ne), M;
|
|
33104
33104
|
}, this.getHashAlgArray = function(V) {
|
|
@@ -33121,8 +33121,8 @@ function _J() {
|
|
|
33121
33121
|
P != -1 && (T.version = P);
|
|
33122
33122
|
var L = E(V, M[1]), B = this.getIssuerAndSerialNumber(L);
|
|
33123
33123
|
T.id = B;
|
|
33124
|
-
var W = E(V, M[2]),
|
|
33125
|
-
T.hashalg =
|
|
33124
|
+
var W = E(V, M[2]), ue = h.getAlgorithmIdentifierName(W);
|
|
33125
|
+
T.hashalg = ue;
|
|
33126
33126
|
var Ne = O(V, 0, ["[0]"]);
|
|
33127
33127
|
if (Ne != null) {
|
|
33128
33128
|
var xe = this.getAttributeList(Ne);
|
|
@@ -33160,9 +33160,9 @@ function _J() {
|
|
|
33160
33160
|
if (W.length == 1)
|
|
33161
33161
|
T.valhex = E(B, W[0]);
|
|
33162
33162
|
else {
|
|
33163
|
-
for (var
|
|
33164
|
-
|
|
33165
|
-
T.valhex =
|
|
33163
|
+
for (var ue = [], Ne = 0; Ne < W.length; Ne++)
|
|
33164
|
+
ue.push(E(B, W[Ne]));
|
|
33165
|
+
T.valhex = ue;
|
|
33166
33166
|
}
|
|
33167
33167
|
return L == "contentType" ? this.setContentType(T) : L == "messageDigest" ? this.setMessageDigest(T) : L == "signingTime" ? this.setSigningTime(T) : L == "signingCertificate" ? this.setSigningCertificate(T) : L == "signingCertificateV2" ? this.setSigningCertificateV2(T) : L == "signaturePolicyIdentifier" && this.setSignaturePolicyIdentifier(T), T;
|
|
33168
33168
|
}, this.setContentType = function(V) {
|
|
@@ -33178,8 +33178,8 @@ function _J() {
|
|
|
33178
33178
|
var T = U(V.valhex, 0);
|
|
33179
33179
|
if (T.length > 0) {
|
|
33180
33180
|
for (var M = E(V.valhex, T[0]), P = U(M, 0), L = [], B = 0; B < P.length; B++) {
|
|
33181
|
-
var W = E(M, P[B]),
|
|
33182
|
-
L.push(
|
|
33181
|
+
var W = E(M, P[B]), ue = this.getESSCertID(W);
|
|
33182
|
+
L.push(ue);
|
|
33183
33183
|
}
|
|
33184
33184
|
V.array = L;
|
|
33185
33185
|
}
|
|
@@ -33197,16 +33197,16 @@ function _J() {
|
|
|
33197
33197
|
if (T.length > 1) {
|
|
33198
33198
|
var P = new f(), L = U(V.valhex, T[1]), B = E(V.valhex, L[0]), W = P.getAlgorithmIdentifierName(B);
|
|
33199
33199
|
V.alg = W;
|
|
33200
|
-
var
|
|
33201
|
-
V.hash =
|
|
33200
|
+
var ue = w(V.valhex, L[1]);
|
|
33201
|
+
V.hash = ue;
|
|
33202
33202
|
}
|
|
33203
33203
|
delete V.valhex;
|
|
33204
33204
|
}, this.setSigningCertificateV2 = function(V) {
|
|
33205
33205
|
var T = U(V.valhex, 0);
|
|
33206
33206
|
if (T.length > 0) {
|
|
33207
33207
|
for (var M = E(V.valhex, T[0]), P = U(M, 0), L = [], B = 0; B < P.length; B++) {
|
|
33208
|
-
var W = E(M, P[B]),
|
|
33209
|
-
L.push(
|
|
33208
|
+
var W = E(M, P[B]), ue = this.getESSCertIDv2(W);
|
|
33209
|
+
L.push(ue);
|
|
33210
33210
|
}
|
|
33211
33211
|
V.array = L;
|
|
33212
33212
|
}
|
|
@@ -33238,8 +33238,8 @@ function _J() {
|
|
|
33238
33238
|
T.alg = "sha256";
|
|
33239
33239
|
var B = w(V, M[P]);
|
|
33240
33240
|
if (T.hash = B, M.length > P + 1) {
|
|
33241
|
-
var W = E(V, M[P + 1]),
|
|
33242
|
-
T.issuer =
|
|
33241
|
+
var W = E(V, M[P + 1]), ue = this.getIssuerSerial(W);
|
|
33242
|
+
T.issuer = ue.issuer, T.serial = ue.serial;
|
|
33243
33243
|
}
|
|
33244
33244
|
return T;
|
|
33245
33245
|
}, this.getIssuerSerial = function(V) {
|
|
@@ -33479,8 +33479,8 @@ function _J() {
|
|
|
33479
33479
|
U.accuracy = this.getAccuracy(W), B++;
|
|
33480
33480
|
}
|
|
33481
33481
|
if (V.length > 5 + B && D.substr(V[5 + B], 2) == "01") {
|
|
33482
|
-
var
|
|
33483
|
-
|
|
33482
|
+
var ue = g(D, V[5 + B]);
|
|
33483
|
+
ue == "ff" && (U.ordering = !0), B++;
|
|
33484
33484
|
}
|
|
33485
33485
|
if (V.length > 5 + B && D.substr(V[5 + B], 2) == "02") {
|
|
33486
33486
|
var Ne = g(D, V[5 + B]);
|
|
@@ -33709,8 +33709,8 @@ function _J() {
|
|
|
33709
33709
|
M.si = E(u, B);
|
|
33710
33710
|
var W = P.shift();
|
|
33711
33711
|
M.digalg = E(u, W);
|
|
33712
|
-
var
|
|
33713
|
-
M.sattrs = E(u,
|
|
33712
|
+
var ue = P.shift();
|
|
33713
|
+
M.sattrs = E(u, ue);
|
|
33714
33714
|
var Ne = P.shift();
|
|
33715
33715
|
M.sigalg = E(u, Ne);
|
|
33716
33716
|
var xe = P.shift();
|
|
@@ -33751,7 +33751,7 @@ function _J() {
|
|
|
33751
33751
|
var B = M(P.attrs), W = O({ tag: { tage: "a0", obj: B } });
|
|
33752
33752
|
L.push(W);
|
|
33753
33753
|
} else if (P.extreq != null) {
|
|
33754
|
-
var
|
|
33754
|
+
var ue = new V(P.extreq), W = O({ tag: { tage: "a0", obj: { seq: [{ oid: "1.2.840.113549.1.9.14" }, { set: [ue] }] } } });
|
|
33755
33755
|
L.push(W);
|
|
33756
33756
|
} else
|
|
33757
33757
|
L.push(new _({ tag: "a0", explicit: !1, obj: new E({ str: "" }) }));
|
|
@@ -33761,8 +33761,8 @@ function _J() {
|
|
|
33761
33761
|
return this.tohex();
|
|
33762
33762
|
};
|
|
33763
33763
|
function M(P) {
|
|
33764
|
-
for (var L = Error, B = I.asn1.x509.Extensions, W = [],
|
|
33765
|
-
var Ne = P[
|
|
33764
|
+
for (var L = Error, B = I.asn1.x509.Extensions, W = [], ue = 0; ue < P.length; ue++) {
|
|
33765
|
+
var Ne = P[ue], xe = Ne.attr;
|
|
33766
33766
|
if (xe == "extensionRequest") {
|
|
33767
33767
|
var Le = new B(Ne.ext), z = { seq: [{ oid: "1.2.840.113549.1.9.14" }, { set: [Le] }] };
|
|
33768
33768
|
W.push(z);
|
|
@@ -33784,9 +33784,9 @@ function _J() {
|
|
|
33784
33784
|
var f = I.asn1.csr, h = new f.CertificationRequest(u), g = h.getPEM();
|
|
33785
33785
|
return g;
|
|
33786
33786
|
}, I.asn1.csr.CSRUtil.getParam = function(u, f) {
|
|
33787
|
-
var h = Xt, g = h.getV, w = h.getIdxbyList, E = h.getTLVbyList, _ = h.getTLVbyListEx, O = h.getVbyListEx, j = function(
|
|
33788
|
-
var Ne = w(
|
|
33789
|
-
return g(
|
|
33787
|
+
var h = Xt, g = h.getV, w = h.getIdxbyList, E = h.getTLVbyList, _ = h.getTLVbyListEx, O = h.getVbyListEx, j = function(ue) {
|
|
33788
|
+
var Ne = w(ue, 0, [0, 3, 0, 0], "06");
|
|
33789
|
+
return g(ue, Ne) != "2a864886f70d01090e" ? null : E(ue, 0, [0, 3, 0, 1, 0], "30");
|
|
33790
33790
|
}, D = {};
|
|
33791
33791
|
if (u.indexOf("-----BEGIN CERTIFICATE REQUEST") == -1)
|
|
33792
33792
|
throw new Error("argument is not PEM file");
|
|
@@ -34004,20 +34004,20 @@ function _J() {
|
|
|
34004
34004
|
B == null && (B = this.DEFAULT_HASH), this.params = { alg: B, issuerCert: P, subjectCert: L };
|
|
34005
34005
|
}, this.getParamByCerts = function(P, L, B) {
|
|
34006
34006
|
B == null && (B = this.DEFAULT_HASH);
|
|
34007
|
-
var W = new V(P),
|
|
34007
|
+
var W = new V(P), ue = new V(L), Ne = U(W.getSubjectHex(), B), xe = W.getPublicKeyHex(), Le = U(M(xe, 0, [1], "03", !0), B), z = ue.getSerialNumberHex(), J = { alg: B, issname: Ne, isskey: Le, sbjsn: z };
|
|
34008
34008
|
return J;
|
|
34009
34009
|
}, this.tohex = function() {
|
|
34010
34010
|
if (typeof this.params != "object")
|
|
34011
34011
|
throw new Error("params not set");
|
|
34012
|
-
var P = this.params, L, B, W,
|
|
34013
|
-
if (P.alg == null ?
|
|
34014
|
-
var Ne = this.getParamByCerts(P.issuerCert, P.subjectCert,
|
|
34012
|
+
var P = this.params, L, B, W, ue;
|
|
34013
|
+
if (P.alg == null ? ue = this.DEFAULT_HASH : ue = P.alg, P.issuerCert != null && P.subjectCert != null) {
|
|
34014
|
+
var Ne = this.getParamByCerts(P.issuerCert, P.subjectCert, ue);
|
|
34015
34015
|
L = Ne.issname, B = Ne.isskey, W = Ne.sbjsn;
|
|
34016
34016
|
} else if (P.issname != null && P.isskey != null && P.sbjsn != null)
|
|
34017
34017
|
L = P.issname, B = P.isskey, W = P.sbjsn;
|
|
34018
34018
|
else
|
|
34019
34019
|
throw new Error("required param members not defined");
|
|
34020
|
-
var xe = new O({ name:
|
|
34020
|
+
var xe = new O({ name: ue }), Le = new g({ hex: L }), z = new g({ hex: B }), J = new w({ hex: W }), te = new E({ array: [xe, Le, z, J] });
|
|
34021
34021
|
return this.hTLV = te.tohex(), this.hTLV;
|
|
34022
34022
|
}, this.getEncodedHex = function() {
|
|
34023
34023
|
return this.tohex();
|
|
@@ -34183,8 +34183,8 @@ function _J() {
|
|
|
34183
34183
|
P.sighex = B.substr(2);
|
|
34184
34184
|
var W = D(T, 0, ["[0]"]);
|
|
34185
34185
|
if (W != null) {
|
|
34186
|
-
for (var
|
|
34187
|
-
var Le = E(W,
|
|
34186
|
+
for (var ue = V(W, 0), Ne = [], xe = 0; xe < ue.length; xe++) {
|
|
34187
|
+
var Le = E(W, ue[xe]);
|
|
34188
34188
|
Ne.push(Le);
|
|
34189
34189
|
}
|
|
34190
34190
|
P.certs = Ne;
|
|
@@ -34195,8 +34195,8 @@ function _J() {
|
|
|
34195
34195
|
T.substr(M[0], 2) == "a0" && B++, L.respid = this.getResponderID(E(T, M[B++]));
|
|
34196
34196
|
var W = w(T, M[B++]);
|
|
34197
34197
|
if (L.prodat = Wn(W), L.array = this.getSingleResponseList(E(T, M[B++])), T.substr(M[P - 1], 2) == "a1") {
|
|
34198
|
-
var
|
|
34199
|
-
L.ext = Ne.getExtParamArray(
|
|
34198
|
+
var ue = j(T, M[P - 1], [0]), Ne = new Qr();
|
|
34199
|
+
L.ext = Ne.getExtParamArray(ue);
|
|
34200
34200
|
}
|
|
34201
34201
|
return L;
|
|
34202
34202
|
}, this.getResponderID = function(T) {
|
|
@@ -34224,13 +34224,13 @@ function _J() {
|
|
|
34224
34224
|
var W = w(T, M[2]);
|
|
34225
34225
|
P.thisupdate = Wn(W);
|
|
34226
34226
|
}
|
|
34227
|
-
for (var
|
|
34228
|
-
if (T.substr(M[
|
|
34229
|
-
var Ne = O(T, M[
|
|
34227
|
+
for (var ue = 3; ue < M.length; ue++) {
|
|
34228
|
+
if (T.substr(M[ue], 2) == "a0") {
|
|
34229
|
+
var Ne = O(T, M[ue], [0], "18");
|
|
34230
34230
|
P.nextupdate = Wn(Ne);
|
|
34231
34231
|
}
|
|
34232
|
-
if (T.substr(M[
|
|
34233
|
-
var xe = new Qr(), Le = j(T, 0, [
|
|
34232
|
+
if (T.substr(M[ue], 2) == "a1") {
|
|
34233
|
+
var xe = new Qr(), Le = j(T, 0, [ue, 0]);
|
|
34234
34234
|
P.ext = xe.getExtParamArray(Le);
|
|
34235
34235
|
}
|
|
34236
34236
|
}
|
|
@@ -35080,21 +35080,21 @@ function _J() {
|
|
|
35080
35080
|
var B = this.generatePublicKeyHex();
|
|
35081
35081
|
return { ecprvhex: L, ecpubhex: B };
|
|
35082
35082
|
}, this.generatePublicKeyHex = function() {
|
|
35083
|
-
var T = new g(this.prvKeyHex, 16), M = this.ecparams.G.multiply(T), P = M.getX().toBigInteger(), L = M.getY().toBigInteger(), B = this.ecparams.keycharlen, W = ("0000000000" + P.toString(16)).slice(-B),
|
|
35083
|
+
var T = new g(this.prvKeyHex, 16), M = this.ecparams.G.multiply(T), P = M.getX().toBigInteger(), L = M.getY().toBigInteger(), B = this.ecparams.keycharlen, W = ("0000000000" + P.toString(16)).slice(-B), ue = ("0000000000" + L.toString(16)).slice(-B), Ne = "04" + W + ue;
|
|
35084
35084
|
return this.setPublicKeyHex(Ne), Ne;
|
|
35085
35085
|
}, this.signWithMessageHash = function(T) {
|
|
35086
35086
|
return this.signHex(T, this.prvKeyHex);
|
|
35087
35087
|
}, this.signHex = function(T, M) {
|
|
35088
35088
|
var P = new g(M, 16), L = this.ecparams.n, B = new g(T.substring(0, this.ecparams.keycharlen), 16);
|
|
35089
35089
|
do
|
|
35090
|
-
var W = this.getBigRandom(L),
|
|
35090
|
+
var W = this.getBigRandom(L), ue = this.ecparams.G, Ne = ue.multiply(W), xe = Ne.getX().toBigInteger().mod(L);
|
|
35091
35091
|
while (xe.compareTo(g.ZERO) <= 0);
|
|
35092
35092
|
var Le = W.modInverse(L).multiply(B.add(P.multiply(xe))).mod(L);
|
|
35093
35093
|
return E.biRSSigToASN1Sig(xe, Le);
|
|
35094
35094
|
}, this.sign = function(T, M) {
|
|
35095
35095
|
var P = M, L = this.ecparams.n, B = g.fromByteArrayUnsigned(T);
|
|
35096
35096
|
do
|
|
35097
|
-
var W = this.getBigRandom(L),
|
|
35097
|
+
var W = this.getBigRandom(L), ue = this.ecparams.G, Ne = ue.multiply(W), xe = Ne.getX().toBigInteger().mod(L);
|
|
35098
35098
|
while (xe.compareTo(p.ZERO) <= 0);
|
|
35099
35099
|
var Le = W.modInverse(L).multiply(B.add(P.multiply(xe))).mod(L);
|
|
35100
35100
|
return this.serializeSig(xe, Le);
|
|
@@ -35104,8 +35104,8 @@ function _J() {
|
|
|
35104
35104
|
try {
|
|
35105
35105
|
var L, B, W = E.parseSigHex(M);
|
|
35106
35106
|
L = W.r, B = W.s;
|
|
35107
|
-
var
|
|
35108
|
-
return this.verifyRaw(Ne, L, B,
|
|
35107
|
+
var ue = w.decodeFromHex(this.ecparams.curve, P), Ne = new g(T.substring(0, this.ecparams.keycharlen), 16);
|
|
35108
|
+
return this.verifyRaw(Ne, L, B, ue);
|
|
35109
35109
|
} catch {
|
|
35110
35110
|
return !1;
|
|
35111
35111
|
}
|
|
@@ -35118,20 +35118,20 @@ function _J() {
|
|
|
35118
35118
|
L = M.r, B = M.s;
|
|
35119
35119
|
else
|
|
35120
35120
|
throw "Invalid value for signature";
|
|
35121
|
-
var
|
|
35121
|
+
var ue;
|
|
35122
35122
|
if (P instanceof Ln)
|
|
35123
|
-
|
|
35123
|
+
ue = P;
|
|
35124
35124
|
else if (Bitcoin.Util.isArray(P))
|
|
35125
|
-
|
|
35125
|
+
ue = w.decodeFrom(this.ecparams.curve, P);
|
|
35126
35126
|
else
|
|
35127
35127
|
throw "Invalid format for pubkey value, must be byte array or ECPointFp";
|
|
35128
35128
|
var Ne = g.fromByteArrayUnsigned(T);
|
|
35129
|
-
return this.verifyRaw(Ne, L, B,
|
|
35129
|
+
return this.verifyRaw(Ne, L, B, ue);
|
|
35130
35130
|
}, this.verifyRaw = function(T, M, P, L) {
|
|
35131
35131
|
var B = this.ecparams.n, W = this.ecparams.G;
|
|
35132
35132
|
if (M.compareTo(g.ONE) < 0 || M.compareTo(B) >= 0 || P.compareTo(g.ONE) < 0 || P.compareTo(B) >= 0)
|
|
35133
35133
|
return !1;
|
|
35134
|
-
var
|
|
35134
|
+
var ue = P.modInverse(B), Ne = T.multiply(ue).mod(B), xe = M.multiply(ue).mod(B), Le = W.multiply(Ne).add(L.multiply(xe)), z = Le.getX().toBigInteger().mod(B);
|
|
35135
35135
|
return z.equals(M);
|
|
35136
35136
|
}, this.serializeSig = function(T, M) {
|
|
35137
35137
|
var P = T.toByteArraySigned(), L = M.toByteArraySigned(), B = [];
|
|
@@ -35272,8 +35272,8 @@ function _J() {
|
|
|
35272
35272
|
throw "unregistered EC curve name: " + w;
|
|
35273
35273
|
}, this.regist = function(g, w, E, _, O, j, D, U, V, T, M, P) {
|
|
35274
35274
|
u[g] = {};
|
|
35275
|
-
var L = h(E), B = h(_), W = h(O),
|
|
35276
|
-
u[g].name = g, u[g].keylen = w, u[g].keycharlen = Math.ceil(w / 8) * 2, u[g].curve = xe, u[g].G = Le, u[g].n =
|
|
35275
|
+
var L = h(E), B = h(_), W = h(O), ue = h(j), Ne = h(D), xe = new Hs(L, B, W), Le = xe.decodePointHex("04" + U + V);
|
|
35276
|
+
u[g].name = g, u[g].keylen = w, u[g].keycharlen = Math.ceil(w / 8) * 2, u[g].curve = xe, u[g].G = Le, u[g].n = ue, u[g].h = Ne, u[g].oid = M, u[g].info = P;
|
|
35277
35277
|
for (var z = 0; z < T.length; z++)
|
|
35278
35278
|
f[T[z]] = g;
|
|
35279
35279
|
};
|
|
@@ -35300,8 +35300,8 @@ function _J() {
|
|
|
35300
35300
|
var _ = this.p, O = this.q, j = this.g, D = this.y, U = this.parseASN1Signature(E), V = U[0], T = U[1], M = w.substr(0, O.bitLength() / 4), P = new p(M, 16);
|
|
35301
35301
|
if (p.ZERO.compareTo(V) > 0 || V.compareTo(O) > 0 || p.ZERO.compareTo(T) >= 0 || T.compareTo(O) > 0)
|
|
35302
35302
|
throw "invalid DSA signature";
|
|
35303
|
-
var L = T.modInverse(O), B = P.multiply(L).mod(O), W = V.multiply(L).mod(O),
|
|
35304
|
-
return
|
|
35303
|
+
var L = T.modInverse(O), B = P.multiply(L).mod(O), W = V.multiply(L).mod(O), ue = j.modPow(B, _).multiply(D.modPow(W, _)).mod(_).mod(O);
|
|
35304
|
+
return ue.compareTo(V) == 0;
|
|
35305
35305
|
}, this.parseASN1Signature = function(w) {
|
|
35306
35306
|
try {
|
|
35307
35307
|
var E = new g(f(w, 0, [0], "02"), 16), _ = new g(f(w, 0, [1], "02"), 16);
|
|
@@ -35359,8 +35359,8 @@ function _J() {
|
|
|
35359
35359
|
}, h = function(P, L, B) {
|
|
35360
35360
|
return g(o.DES, P, L, B);
|
|
35361
35361
|
}, g = function(P, L, B, W) {
|
|
35362
|
-
var
|
|
35363
|
-
Le.key = Ne, Le.iv = xe, Le.ciphertext =
|
|
35362
|
+
var ue = o.enc.Hex.parse(L), Ne = o.enc.Hex.parse(B), xe = o.enc.Hex.parse(W), Le = {};
|
|
35363
|
+
Le.key = Ne, Le.iv = xe, Le.ciphertext = ue;
|
|
35364
35364
|
var z = P.decrypt(Le, Ne, { iv: xe });
|
|
35365
35365
|
return o.enc.Hex.stringify(z);
|
|
35366
35366
|
}, w = function(P, L, B) {
|
|
@@ -35370,7 +35370,7 @@ function _J() {
|
|
|
35370
35370
|
}, _ = function(P, L, B) {
|
|
35371
35371
|
return O(o.DES, P, L, B);
|
|
35372
35372
|
}, O = function(P, L, B, W) {
|
|
35373
|
-
var
|
|
35373
|
+
var ue = o.enc.Hex.parse(L), Ne = o.enc.Hex.parse(B), xe = o.enc.Hex.parse(W), Le = P.encrypt(ue, Ne, { iv: xe }), z = o.enc.Hex.parse(Le.toString()), J = o.enc.Base64.stringify(z);
|
|
35374
35374
|
return J;
|
|
35375
35375
|
}, j = { "AES-256-CBC": { proc: u, eproc: w, keylen: 32, ivlen: 16 }, "AES-192-CBC": { proc: u, eproc: w, keylen: 24, ivlen: 16 }, "AES-128-CBC": { proc: u, eproc: w, keylen: 16, ivlen: 16 }, "DES-EDE3-CBC": { proc: f, eproc: E, keylen: 24, ivlen: 8 }, "DES-CBC": { proc: h, eproc: _, keylen: 8, ivlen: 8 } }, D = function(P) {
|
|
35376
35376
|
var L = o.lib.WordArray.random(P), B = o.enc.Hex.stringify(L);
|
|
@@ -35380,35 +35380,35 @@ function _J() {
|
|
|
35380
35380
|
B && (L.cipher = B[1], L.ivsalt = B[2]);
|
|
35381
35381
|
var W = P.match(new RegExp("-----BEGIN ([A-Z]+) PRIVATE KEY-----"));
|
|
35382
35382
|
W && (L.type = W[1]);
|
|
35383
|
-
var
|
|
35383
|
+
var ue = -1, Ne = 0;
|
|
35384
35384
|
P.indexOf(`\r
|
|
35385
35385
|
\r
|
|
35386
|
-
`) != -1 && (
|
|
35386
|
+
`) != -1 && (ue = P.indexOf(`\r
|
|
35387
35387
|
\r
|
|
35388
35388
|
`), Ne = 2), P.indexOf(`
|
|
35389
35389
|
|
|
35390
|
-
`) != -1 && (
|
|
35390
|
+
`) != -1 && (ue = P.indexOf(`
|
|
35391
35391
|
|
|
35392
35392
|
`), Ne = 1);
|
|
35393
35393
|
var xe = P.indexOf("-----END");
|
|
35394
|
-
if (
|
|
35395
|
-
var Le = P.substring(
|
|
35394
|
+
if (ue != -1 && xe != -1) {
|
|
35395
|
+
var Le = P.substring(ue + Ne * 2, xe - Ne);
|
|
35396
35396
|
Le = Le.replace(/\s+/g, ""), L.data = Le;
|
|
35397
35397
|
}
|
|
35398
35398
|
return L;
|
|
35399
35399
|
}, V = function(P, L, B) {
|
|
35400
|
-
for (var W = B.substring(0, 16),
|
|
35400
|
+
for (var W = B.substring(0, 16), ue = o.enc.Hex.parse(W), Ne = o.enc.Utf8.parse(L), xe = j[P].keylen + j[P].ivlen, Le = "", z = null; ; ) {
|
|
35401
35401
|
var J = o.algo.MD5.create();
|
|
35402
|
-
if (z != null && J.update(z), J.update(Ne), J.update(
|
|
35402
|
+
if (z != null && J.update(z), J.update(Ne), J.update(ue), z = J.finalize(), Le = Le + o.enc.Hex.stringify(z), Le.length >= xe * 2)
|
|
35403
35403
|
break;
|
|
35404
35404
|
}
|
|
35405
35405
|
var te = {};
|
|
35406
35406
|
return te.keyhex = Le.substr(0, j[P].keylen * 2), te.ivhex = Le.substr(j[P].keylen * 2, j[P].ivlen * 2), te;
|
|
35407
35407
|
}, T = function(P, L, B, W) {
|
|
35408
|
-
var
|
|
35408
|
+
var ue = o.enc.Base64.parse(P), Ne = o.enc.Hex.stringify(ue), xe = j[L].proc, Le = xe(Ne, B, W);
|
|
35409
35409
|
return Le;
|
|
35410
35410
|
}, M = function(P, L, B, W) {
|
|
35411
|
-
var
|
|
35411
|
+
var ue = j[L].eproc, Ne = ue(P, B, W);
|
|
35412
35412
|
return Ne;
|
|
35413
35413
|
};
|
|
35414
35414
|
return { version: "1.0.0", parsePKCS5PEM: function(P) {
|
|
@@ -35418,21 +35418,21 @@ function _J() {
|
|
|
35418
35418
|
}, decryptKeyB64: function(P, L, B, W) {
|
|
35419
35419
|
return T(P, L, B, W);
|
|
35420
35420
|
}, getDecryptedKeyHex: function(P, L) {
|
|
35421
|
-
var B = U(P), W = B.cipher,
|
|
35421
|
+
var B = U(P), W = B.cipher, ue = B.ivsalt, Ne = B.data, xe = V(W, L, ue), Le = xe.keyhex, z = T(Ne, W, Le, ue);
|
|
35422
35422
|
return z;
|
|
35423
|
-
}, getEncryptedPKCS5PEMFromPrvKeyHex: function(P, L, B, W,
|
|
35423
|
+
}, getEncryptedPKCS5PEMFromPrvKeyHex: function(P, L, B, W, ue) {
|
|
35424
35424
|
var K = "";
|
|
35425
35425
|
if ((typeof W > "u" || W == null) && (W = "AES-256-CBC"), typeof j[W] > "u")
|
|
35426
35426
|
throw new Error("KEYUTIL unsupported algorithm: " + W);
|
|
35427
|
-
if (typeof
|
|
35427
|
+
if (typeof ue > "u" || ue == null) {
|
|
35428
35428
|
var Ne = j[W].ivlen, xe = D(Ne);
|
|
35429
|
-
|
|
35429
|
+
ue = xe.toUpperCase();
|
|
35430
35430
|
}
|
|
35431
|
-
var Le = V(W, B,
|
|
35431
|
+
var Le = V(W, B, ue), z = Le.keyhex, J = M(L, W, z, ue), te = J.replace(/(.{64})/g, `$1\r
|
|
35432
35432
|
`), K = "-----BEGIN " + P + ` PRIVATE KEY-----\r
|
|
35433
35433
|
`;
|
|
35434
35434
|
return K += `Proc-Type: 4,ENCRYPTED\r
|
|
35435
|
-
`, K += "DEK-Info: " + W + "," +
|
|
35435
|
+
`, K += "DEK-Info: " + W + "," + ue + `\r
|
|
35436
35436
|
`, K += `\r
|
|
35437
35437
|
`, K += te, K += `\r
|
|
35438
35438
|
-----END ` + P + ` PRIVATE KEY-----\r
|
|
@@ -35443,8 +35443,8 @@ function _J() {
|
|
|
35443
35443
|
}, getEncryptedPKCS8Hex: function(P, L, B) {
|
|
35444
35444
|
var W;
|
|
35445
35445
|
B == null || B == null ? W = {} : W = JSON.parse(JSON.stringify(B)), W.plain = P, this.initPBES2Param(W), this.encryptPBES2Param(W, L);
|
|
35446
|
-
var
|
|
35447
|
-
return I.asn1.ASN1Util.newObject(
|
|
35446
|
+
var ue = this.generatePBES2ASN1Param(W);
|
|
35447
|
+
return I.asn1.ASN1Util.newObject(ue).tohex();
|
|
35448
35448
|
}, initPBES2Param: function(P) {
|
|
35449
35449
|
if (lo(P, "encalg") == null && (P.encalg = "aes256-CBC"), lo(P, "iter") == null && (P.iter = 2048), lo(P, "prf") == null && (P.prf = "hmacWithSHA256"), lo(P, "salt") == null && (P.salt = o.enc.Hex.stringify(o.lib.WordArray.random(8))), lo(P, "enciv") == null) {
|
|
35450
35450
|
var L;
|
|
@@ -35462,10 +35462,10 @@ function _J() {
|
|
|
35462
35462
|
var L = { seq: [{ seq: [{ oid: "pkcs5PBES2" }, { seq: [{ seq: [{ oid: "pkcs5PBKDF2" }, { seq: [{ octstr: { hex: P.salt } }, { int: { hex: UR(P.iter) } }] }] }, { seq: [{ oid: P.encalg }, { octstr: { hex: P.enciv } }] }] }] }, { octstr: { hex: P.enc } }] };
|
|
35463
35463
|
return P.prf != "hmacWithSHA1" && L.seq[0].seq[1].seq[0].seq[1].seq.push({ seq: [{ oid: P.prf }, { null: "" }] }), L;
|
|
35464
35464
|
}, parseHexOfEncryptedPKCS8: function(P) {
|
|
35465
|
-
var L = Xt, B = L.getChildIdx, W = L.getV,
|
|
35465
|
+
var L = Xt, B = L.getChildIdx, W = L.getV, ue = {}, Ne = B(P, 0);
|
|
35466
35466
|
if (Ne.length != 2)
|
|
35467
35467
|
throw new Error("malformed format: SEQUENCE(0).items != 2: " + Ne.length);
|
|
35468
|
-
|
|
35468
|
+
ue.ciphertext = W(P, Ne[1]);
|
|
35469
35469
|
var xe = B(P, Ne[0]);
|
|
35470
35470
|
if (xe.length != 2)
|
|
35471
35471
|
throw new Error("malformed format: SEQUENCE(0.0).items != 2: " + xe.length);
|
|
@@ -35479,7 +35479,7 @@ function _J() {
|
|
|
35479
35479
|
throw new Error("malformed format: SEQUENCE(0.0.1.1).items != 2: " + z.length);
|
|
35480
35480
|
if (W(P, z[0]) != "2a864886f70d0307")
|
|
35481
35481
|
throw "this only supports TripleDES";
|
|
35482
|
-
|
|
35482
|
+
ue.encryptionSchemeAlg = "TripleDES", ue.encryptionSchemeIV = W(P, z[1]);
|
|
35483
35483
|
var J = B(P, Le[0]);
|
|
35484
35484
|
if (J.length != 2)
|
|
35485
35485
|
throw new Error("malformed format: SEQUENCE(0.0.1.0).items != 2: " + J.length);
|
|
@@ -35488,21 +35488,21 @@ function _J() {
|
|
|
35488
35488
|
var te = B(P, J[1]);
|
|
35489
35489
|
if (te.length < 2)
|
|
35490
35490
|
throw new Error("malformed format: SEQUENCE(0.0.1.0.1).items < 2: " + te.length);
|
|
35491
|
-
|
|
35491
|
+
ue.pbkdf2Salt = W(P, te[0]);
|
|
35492
35492
|
var K = W(P, te[1]);
|
|
35493
35493
|
try {
|
|
35494
|
-
|
|
35494
|
+
ue.pbkdf2Iter = parseInt(K, 16);
|
|
35495
35495
|
} catch {
|
|
35496
35496
|
throw new Error("malformed format pbkdf2Iter: " + K);
|
|
35497
35497
|
}
|
|
35498
|
-
return
|
|
35498
|
+
return ue;
|
|
35499
35499
|
}, getPBKDF2KeyHexFromParam: function(P, L) {
|
|
35500
|
-
var B = o.enc.Hex.parse(P.pbkdf2Salt), W = P.pbkdf2Iter,
|
|
35500
|
+
var B = o.enc.Hex.parse(P.pbkdf2Salt), W = P.pbkdf2Iter, ue = o.PBKDF2(L, B, { keySize: 192 / 32, iterations: W }), Ne = o.enc.Hex.stringify(ue);
|
|
35501
35501
|
return Ne;
|
|
35502
35502
|
}, _getPlainPKCS8HexFromEncryptedPKCS8PEM: function(P, L) {
|
|
35503
|
-
var B = Fe(P, "ENCRYPTED PRIVATE KEY"), W = this.parseHexOfEncryptedPKCS8(B),
|
|
35503
|
+
var B = Fe(P, "ENCRYPTED PRIVATE KEY"), W = this.parseHexOfEncryptedPKCS8(B), ue = Cn.getPBKDF2KeyHexFromParam(W, L), Ne = {};
|
|
35504
35504
|
Ne.ciphertext = o.enc.Hex.parse(W.ciphertext);
|
|
35505
|
-
var xe = o.enc.Hex.parse(
|
|
35505
|
+
var xe = o.enc.Hex.parse(ue), Le = o.enc.Hex.parse(W.encryptionSchemeIV), z = o.TripleDES.decrypt(Ne, xe, { iv: Le }), J = o.enc.Hex.stringify(z);
|
|
35506
35506
|
return J;
|
|
35507
35507
|
}, parsePBES2: function(P) {
|
|
35508
35508
|
var L = Xt.parse(P);
|
|
@@ -35511,9 +35511,9 @@ function _J() {
|
|
|
35511
35511
|
var B = lo(L, "seq.0.seq.1.seq.0.seq.1.seq");
|
|
35512
35512
|
if (B == null)
|
|
35513
35513
|
throw new Error("PBKDF2 parameter not found");
|
|
35514
|
-
var W = lo(B, "0.octstr.hex"),
|
|
35514
|
+
var W = lo(B, "0.octstr.hex"), ue = lo(B, "1.int.hex"), Ne = lo(B, "2.seq.0.oid", "hmacWithSHA1"), xe = -1;
|
|
35515
35515
|
try {
|
|
35516
|
-
xe = parseInt(
|
|
35516
|
+
xe = parseInt(ue, 16);
|
|
35517
35517
|
} catch {
|
|
35518
35518
|
throw new Error("iter not proper value");
|
|
35519
35519
|
}
|
|
@@ -35523,15 +35523,15 @@ function _J() {
|
|
|
35523
35523
|
var te = { salt: W, iter: xe, prf: Ne, encalg: Le, enciv: z, enc: J };
|
|
35524
35524
|
return te;
|
|
35525
35525
|
}, getDKFromPBES2Param: function(P, L) {
|
|
35526
|
-
var B = { hmacWithSHA1: o.algo.SHA1, hmacWithSHA224: o.algo.SHA224, hmacWithSHA256: o.algo.SHA256, hmacWithSHA384: o.algo.SHA384, hmacWithSHA512: o.algo.SHA512 }, W = { "des-EDE3-CBC": 192 / 32, "aes128-CBC": 128 / 32, "aes256-CBC": 256 / 32 },
|
|
35527
|
-
if (
|
|
35526
|
+
var B = { hmacWithSHA1: o.algo.SHA1, hmacWithSHA224: o.algo.SHA224, hmacWithSHA256: o.algo.SHA256, hmacWithSHA384: o.algo.SHA384, hmacWithSHA512: o.algo.SHA512 }, W = { "des-EDE3-CBC": 192 / 32, "aes128-CBC": 128 / 32, "aes256-CBC": 256 / 32 }, ue = B[P.prf];
|
|
35527
|
+
if (ue == null)
|
|
35528
35528
|
throw new Error("unsupported prf");
|
|
35529
35529
|
var Ne = W[P.encalg];
|
|
35530
35530
|
if (Ne == null)
|
|
35531
35531
|
throw new Error("unsupported encalg");
|
|
35532
35532
|
var xe = o.enc.Hex.parse(P.salt), Le = P.iter;
|
|
35533
35533
|
try {
|
|
35534
|
-
var z = o.PBKDF2(L, xe, { keySize: Ne, iterations: Le, hasher:
|
|
35534
|
+
var z = o.PBKDF2(L, xe, { keySize: Ne, iterations: Le, hasher: ue });
|
|
35535
35535
|
return o.enc.Hex.stringify(z);
|
|
35536
35536
|
} catch (J) {
|
|
35537
35537
|
throw new Error("PBKDF2 error: " + J + " " + JSON.stringify(P) + " " + L);
|
|
@@ -35545,14 +35545,14 @@ function _J() {
|
|
|
35545
35545
|
} catch (Ne) {
|
|
35546
35546
|
throw new Error("malformed PBES2 format: " + Ne.message);
|
|
35547
35547
|
}
|
|
35548
|
-
var
|
|
35549
|
-
return I.crypto.Cipher.decrypt(W.enc,
|
|
35548
|
+
var ue = Cn.getDKFromPBES2Param(W, L);
|
|
35549
|
+
return I.crypto.Cipher.decrypt(W.enc, ue, W.encalg, { iv: W.enciv });
|
|
35550
35550
|
}, getKeyFromEncryptedPKCS8PEM: function(P, L) {
|
|
35551
35551
|
var B = this.getPlainHexFromEncryptedPKCS8PEM(P, L), W = this.getKeyFromPlainPrivatePKCS8Hex(B);
|
|
35552
35552
|
return W;
|
|
35553
35553
|
}, parsePlainPrivatePKCS8Hex: function(P) {
|
|
35554
|
-
var L = Xt, B = L.getChildIdx, W = L.getV,
|
|
35555
|
-
if (
|
|
35554
|
+
var L = Xt, B = L.getChildIdx, W = L.getV, ue = {};
|
|
35555
|
+
if (ue.algparam = null, P.substr(0, 2) != "30")
|
|
35556
35556
|
throw new Error("malformed plain PKCS8 private key(code:001)");
|
|
35557
35557
|
var Ne = B(P, 0);
|
|
35558
35558
|
if (Ne.length < 3)
|
|
@@ -35564,9 +35564,9 @@ function _J() {
|
|
|
35564
35564
|
throw new Error("malformed PKCS8 private key(code:004)");
|
|
35565
35565
|
if (P.substr(xe[0], 2) != "06")
|
|
35566
35566
|
throw new Error("malformed PKCS8 private key(code:005)");
|
|
35567
|
-
if (
|
|
35567
|
+
if (ue.algoid = W(P, xe[0]), P.substr(xe[1], 2) == "06" && (ue.algparam = W(P, xe[1])), P.substr(Ne[2], 2) != "04")
|
|
35568
35568
|
throw new Error("malformed PKCS8 private key(code:006)");
|
|
35569
|
-
return
|
|
35569
|
+
return ue.keyidx = L.getVidx(P, Ne[2]), ue;
|
|
35570
35570
|
}, getKeyFromPlainPrivatePKCS8PEM: function(P) {
|
|
35571
35571
|
var L = Fe(P, "PRIVATE KEY"), B = this.getKeyFromPlainPrivatePKCS8Hex(L);
|
|
35572
35572
|
return B;
|
|
@@ -35593,7 +35593,7 @@ function _J() {
|
|
|
35593
35593
|
throw new Error("unsupported PKCS#8 public key hex");
|
|
35594
35594
|
return L.readPKCS8PubKeyHex(P), L;
|
|
35595
35595
|
}, parsePublicRawRSAKeyHex: function(P) {
|
|
35596
|
-
var L = Xt, B = L.getChildIdx, W = L.getV,
|
|
35596
|
+
var L = Xt, B = L.getChildIdx, W = L.getV, ue = {};
|
|
35597
35597
|
if (P.substr(0, 2) != "30")
|
|
35598
35598
|
throw new Error("malformed RSA key(code:001)");
|
|
35599
35599
|
var Ne = B(P, 0);
|
|
@@ -35601,12 +35601,12 @@ function _J() {
|
|
|
35601
35601
|
throw new Error("malformed RSA key(code:002)");
|
|
35602
35602
|
if (P.substr(Ne[0], 2) != "02")
|
|
35603
35603
|
throw new Error("malformed RSA key(code:003)");
|
|
35604
|
-
if (
|
|
35604
|
+
if (ue.n = W(P, Ne[0]), P.substr(Ne[1], 2) != "02")
|
|
35605
35605
|
throw new Error("malformed RSA key(code:004)");
|
|
35606
|
-
return
|
|
35606
|
+
return ue.e = W(P, Ne[1]), ue;
|
|
35607
35607
|
}, parsePublicPKCS8Hex: function(P) {
|
|
35608
|
-
var L = Xt, B = L.getChildIdx, W = L.getV,
|
|
35609
|
-
|
|
35608
|
+
var L = Xt, B = L.getChildIdx, W = L.getV, ue = {};
|
|
35609
|
+
ue.algparam = null;
|
|
35610
35610
|
var Ne = B(P, 0);
|
|
35611
35611
|
if (Ne.length != 2)
|
|
35612
35612
|
throw new Error("outer DERSequence shall have 2 elements: " + Ne.length);
|
|
@@ -35618,9 +35618,9 @@ function _J() {
|
|
|
35618
35618
|
throw new Error("malformed PKCS8 public key(code:002)");
|
|
35619
35619
|
if (P.substr(Le[0], 2) != "06")
|
|
35620
35620
|
throw new Error("malformed PKCS8 public key(code:003)");
|
|
35621
|
-
if (
|
|
35621
|
+
if (ue.algoid = W(P, Le[0]), P.substr(Le[1], 2) == "06" ? ue.algparam = W(P, Le[1]) : P.substr(Le[1], 2) == "30" && (ue.algparam = {}, ue.algparam.p = L.getVbyList(P, Le[1], [0], "02"), ue.algparam.q = L.getVbyList(P, Le[1], [1], "02"), ue.algparam.g = L.getVbyList(P, Le[1], [2], "02")), P.substr(Ne[1], 2) != "03")
|
|
35622
35622
|
throw new Error("malformed PKCS8 public key(code:004)");
|
|
35623
|
-
return
|
|
35623
|
+
return ue.key = W(P, Ne[1]).substr(2), ue;
|
|
35624
35624
|
} };
|
|
35625
35625
|
})();
|
|
35626
35626
|
Cn.getKey = function(u, f, h) {
|
|
@@ -35670,8 +35670,8 @@ function _J() {
|
|
|
35670
35670
|
return M.setPublicKeyHex(W), M;
|
|
35671
35671
|
}
|
|
35672
35672
|
if (u.kty === "EC" && u.crv !== void 0 && u.x !== void 0 && u.y !== void 0 && u.d !== void 0) {
|
|
35673
|
-
var M = new O({ curve: u.crv }), P = M.ecparams.keycharlen, L = ("0000000000" + no(u.x)).slice(-P), B = ("0000000000" + no(u.y)).slice(-P), W = "04" + L + B,
|
|
35674
|
-
return M.setPublicKeyHex(W), M.setPrivateKeyHex(
|
|
35673
|
+
var M = new O({ curve: u.crv }), P = M.ecparams.keycharlen, L = ("0000000000" + no(u.x)).slice(-P), B = ("0000000000" + no(u.y)).slice(-P), W = "04" + L + B, ue = ("0000000000" + no(u.d)).slice(-P);
|
|
35674
|
+
return M.setPublicKeyHex(W), M.setPrivateKeyHex(ue), M;
|
|
35675
35675
|
}
|
|
35676
35676
|
if (h === "pkcs5prv") {
|
|
35677
35677
|
var Ne = u, g = Xt, xe, T;
|
|
@@ -35756,7 +35756,7 @@ function _J() {
|
|
|
35756
35756
|
var Tt = U({ seq: [{ int: 0 }, { int: { bigint: rt.n } }, { int: rt.e }, { int: { bigint: rt.d } }, { int: { bigint: rt.p } }, { int: { bigint: rt.q } }, { int: { bigint: rt.dmp1 } }, { int: { bigint: rt.dmq1 } }, { int: { bigint: rt.coeff } }] });
|
|
35757
35757
|
return Tt;
|
|
35758
35758
|
}
|
|
35759
|
-
function
|
|
35759
|
+
function ue(rt) {
|
|
35760
35760
|
var Tt = U({ seq: [{ int: 1 }, { octstr: { hex: rt.prvKeyHex } }, { tag: ["a0", !0, { oid: { name: rt.curveName } }] }, { tag: ["a1", !0, { bitstr: { hex: "00" + rt.pubKeyHex } }] }] });
|
|
35761
35761
|
return Tt;
|
|
35762
35762
|
}
|
|
@@ -35773,7 +35773,7 @@ function _J() {
|
|
|
35773
35773
|
return ve(Le, "RSA PRIVATE KEY");
|
|
35774
35774
|
}
|
|
35775
35775
|
if (f == "PKCS1PRV" && L !== void 0 && u instanceof L && (h === void 0 || h == null) && u.isPrivate == !0) {
|
|
35776
|
-
var z = new j({ name: u.curveName }), J = z.tohex(), te =
|
|
35776
|
+
var z = new j({ name: u.curveName }), J = z.tohex(), te = ue(u), K = te.tohex(), le = "";
|
|
35777
35777
|
return le += ve(J, "EC PARAMETERS"), le += ve(K, "EC PRIVATE KEY"), le;
|
|
35778
35778
|
}
|
|
35779
35779
|
if (f == "PKCS1PRV" && P !== void 0 && u instanceof P && (h === void 0 || h == null) && u.isPrivate == !0) {
|
|
@@ -35785,7 +35785,7 @@ function _J() {
|
|
|
35785
35785
|
return g === void 0 && (g = "DES-EDE3-CBC"), this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA", Le, h, g, E);
|
|
35786
35786
|
}
|
|
35787
35787
|
if (f == "PKCS5PRV" && L !== void 0 && u instanceof L && h !== void 0 && h != null && u.isPrivate == !0) {
|
|
35788
|
-
var xe =
|
|
35788
|
+
var xe = ue(u), Le = xe.tohex();
|
|
35789
35789
|
return g === void 0 && (g = "DES-EDE3-CBC"), this.getEncryptedPKCS5PEMFromPrvKeyHex("EC", Le, h, g, E);
|
|
35790
35790
|
}
|
|
35791
35791
|
if (f == "PKCS5PRV" && P !== void 0 && u instanceof P && h !== void 0 && h != null && u.isPrivate == !0) {
|
|
@@ -36006,8 +36006,8 @@ function _J() {
|
|
|
36006
36006
|
}, Lr.prototype.verifyWithMessageHashPSS = function(u, f, h, g) {
|
|
36007
36007
|
if (f.length != Math.ceil(this.n.bitLength() / 4))
|
|
36008
36008
|
return !1;
|
|
36009
|
-
var w = new p(f, 16), E = function(
|
|
36010
|
-
return I.crypto.Util.hashHex(
|
|
36009
|
+
var w = new p(f, 16), E = function(ue) {
|
|
36010
|
+
return I.crypto.Util.hashHex(ue, h);
|
|
36011
36011
|
}, _ = ma(u), O = _.length, j = this.n.bitLength() - 1, D = Math.ceil(j / 8), U;
|
|
36012
36012
|
if (g === -1 || g === void 0)
|
|
36013
36013
|
g = O;
|
|
@@ -36043,7 +36043,7 @@ function _J() {
|
|
|
36043
36043
|
function Qr(u) {
|
|
36044
36044
|
var f = Xt, h = f.getChildIdx, g = f.getV;
|
|
36045
36045
|
f.dump;
|
|
36046
|
-
var w = f.parse, E = f.getTLV, _ = f.getVbyList, O = f.getVbyListEx, j = f.getTLVbyList, D = f.getTLVbyListEx, U = f.getIdxbyList, V = f.getIdxbyListEx, T = f.getVidx, M = f.getInt, P = f.oidname, L = f.hextooidstr, B = Fe, W,
|
|
36046
|
+
var w = f.parse, E = f.getTLV, _ = f.getVbyList, O = f.getVbyListEx, j = f.getTLVbyList, D = f.getTLVbyListEx, U = f.getIdxbyList, V = f.getIdxbyListEx, T = f.getVidx, M = f.getInt, P = f.oidname, L = f.hextooidstr, B = Fe, W, ue = Error;
|
|
36047
36047
|
try {
|
|
36048
36048
|
W = I.asn1.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV;
|
|
36049
36049
|
} catch {
|
|
@@ -36477,7 +36477,7 @@ function _J() {
|
|
|
36477
36477
|
}
|
|
36478
36478
|
K.array = Ue;
|
|
36479
36479
|
} catch {
|
|
36480
|
-
throw new
|
|
36480
|
+
throw new ue("malformed policyMappings");
|
|
36481
36481
|
}
|
|
36482
36482
|
return K;
|
|
36483
36483
|
}
|
|
@@ -36493,7 +36493,7 @@ function _J() {
|
|
|
36493
36493
|
wt.explicit == !1 && (wt.tag == "80" && (K.reqexp = parseInt(wt.hex, 16)), wt.tag == "81" && (K.inhibit = parseInt(wt.hex, 16)));
|
|
36494
36494
|
}
|
|
36495
36495
|
} catch {
|
|
36496
|
-
return new
|
|
36496
|
+
return new ue("malformed policyConstraints value");
|
|
36497
36497
|
}
|
|
36498
36498
|
return K;
|
|
36499
36499
|
}
|
|
@@ -36503,13 +36503,13 @@ function _J() {
|
|
|
36503
36503
|
var K = { extname: "inhibitAnyPolicy" };
|
|
36504
36504
|
J && (K.critical = !0);
|
|
36505
36505
|
var le = M(z, 0);
|
|
36506
|
-
return le == -1 ? new
|
|
36506
|
+
return le == -1 ? new ue("wrong value") : (K.skip = le, K);
|
|
36507
36507
|
}
|
|
36508
36508
|
}, this.getExtCRLNumber = function(z, J) {
|
|
36509
36509
|
var te = { extname: "cRLNumber" };
|
|
36510
36510
|
if (J && (te.critical = !0), z.substr(0, 2) == "02")
|
|
36511
36511
|
return te.num = { hex: g(z, 0) }, te;
|
|
36512
|
-
throw new
|
|
36512
|
+
throw new ue("hExtV parse error: " + z);
|
|
36513
36513
|
}, this.getExtCRLReason = function(z, J) {
|
|
36514
36514
|
var te = { extname: "cRLReason" };
|
|
36515
36515
|
if (J && (te.critical = !0), z.substr(0, 2) == "0a")
|
|
@@ -36899,8 +36899,8 @@ function _J() {
|
|
|
36899
36899
|
throw new Error("malformed 1st item of TBSCertList: " + P);
|
|
36900
36900
|
var L = D(this.hex, 0, [0, this.posSigAlg + 3]), B = this.hex.substr(L, 2);
|
|
36901
36901
|
if (B == "17" || B == "18") {
|
|
36902
|
-
var W,
|
|
36903
|
-
W = D(this.hex, 0, [0, this.posSigAlg + 4]), this.posRevCert = null, W != -1 && (
|
|
36902
|
+
var W, ue;
|
|
36903
|
+
W = D(this.hex, 0, [0, this.posSigAlg + 4]), this.posRevCert = null, W != -1 && (ue = this.hex.substr(W, 2), ue == "30" && (this.posRevCert = this.posSigAlg + 4));
|
|
36904
36904
|
} else if (B == "30")
|
|
36905
36905
|
this.posRevCert = this.posSigAlg + 3;
|
|
36906
36906
|
else if (B == "a0")
|
|
@@ -36955,8 +36955,8 @@ function _J() {
|
|
|
36955
36955
|
B != null && (P.nextupdate = B);
|
|
36956
36956
|
var W = this.getRevCertArray();
|
|
36957
36957
|
W != null && (P.revcert = W);
|
|
36958
|
-
var
|
|
36959
|
-
if (
|
|
36958
|
+
var ue = U(this.hex, 0, [0, "[0]"]);
|
|
36959
|
+
if (ue != -1) {
|
|
36960
36960
|
var Ne = j(this.hex, 0, [0, "[0]", 0]);
|
|
36961
36961
|
P.ext = T.getExtParamArray(Ne);
|
|
36962
36962
|
}
|
|
@@ -36997,7 +36997,7 @@ function _J() {
|
|
|
36997
36997
|
if (O.jwsalg2sigalg[u] === void 0)
|
|
36998
36998
|
throw "unsupported alg name: " + u;
|
|
36999
36999
|
W = O.jwsalg2sigalg[u];
|
|
37000
|
-
var
|
|
37000
|
+
var ue = Tu(P), Ne = Tu(B), xe = ue + "." + Ne, Le = "";
|
|
37001
37001
|
if (W.substr(0, 4) == "Hmac") {
|
|
37002
37002
|
if (g === void 0)
|
|
37003
37003
|
throw "mac key shall be specified for HS* alg";
|
|
@@ -37021,15 +37021,15 @@ function _J() {
|
|
|
37021
37021
|
var T = u.split(".");
|
|
37022
37022
|
if (T.length !== 3)
|
|
37023
37023
|
return !1;
|
|
37024
|
-
var M = T[0], P = T[1], L = M + "." + P, B = no(T[2]), W = _(Wa(T[0])),
|
|
37024
|
+
var M = T[0], P = T[1], L = M + "." + P, B = no(T[2]), W = _(Wa(T[0])), ue = null, Ne = null;
|
|
37025
37025
|
if (W.alg === void 0)
|
|
37026
37026
|
throw "algorithm not specified in header";
|
|
37027
|
-
if (
|
|
37027
|
+
if (ue = W.alg, Ne = ue.substr(0, 2), h != null && Object.prototype.toString.call(h) === "[object Array]" && h.length > 0) {
|
|
37028
37028
|
var xe = ":" + h.join(":") + ":";
|
|
37029
|
-
if (xe.indexOf(":" +
|
|
37030
|
-
throw "algorithm '" +
|
|
37029
|
+
if (xe.indexOf(":" + ue + ":") == -1)
|
|
37030
|
+
throw "algorithm '" + ue + "' not accepted in the list";
|
|
37031
37031
|
}
|
|
37032
|
-
if (
|
|
37032
|
+
if (ue != "none" && f === null)
|
|
37033
37033
|
throw "key shall be specified to verify.";
|
|
37034
37034
|
if (typeof f == "string" && f.indexOf("-----BEGIN ") != -1 && (f = Cn.getKey(f)), (Ne == "RS" || Ne == "PS") && !(f instanceof V))
|
|
37035
37035
|
throw "key shall be a RSAKey obj for RS* and PS* algs";
|
|
@@ -37037,8 +37037,8 @@ function _J() {
|
|
|
37037
37037
|
throw "key shall be a ECDSA obj for ES* algs";
|
|
37038
37038
|
var Le = null;
|
|
37039
37039
|
if (E.jwsalg2sigalg[W.alg] === void 0)
|
|
37040
|
-
throw "unsupported alg name: " +
|
|
37041
|
-
if (Le = E.jwsalg2sigalg[
|
|
37040
|
+
throw "unsupported alg name: " + ue;
|
|
37041
|
+
if (Le = E.jwsalg2sigalg[ue], Le == "none")
|
|
37042
37042
|
throw "not supported";
|
|
37043
37043
|
if (Le.substr(0, 4) == "Hmac") {
|
|
37044
37044
|
var z = null;
|
|
@@ -37372,18 +37372,18 @@ const vL = Bl({
|
|
|
37372
37372
|
}
|
|
37373
37373
|
const ne = r.getMediaStream();
|
|
37374
37374
|
if (!ne) return;
|
|
37375
|
-
const Se = ne.getActiveCamera()
|
|
37376
|
-
console.log("isSharedArrayBufferSupported: ",
|
|
37375
|
+
const Se = ne.getActiveCamera();
|
|
37376
|
+
console.log("isSharedArrayBufferSupported: ", typeof SharedArrayBuffer == "function");
|
|
37377
37377
|
const Oe = {
|
|
37378
37378
|
hd: !0,
|
|
37379
37379
|
fullHd: !1,
|
|
37380
37380
|
ptz: !1,
|
|
37381
37381
|
originalRatio: !0,
|
|
37382
|
-
virtualBackground:
|
|
37382
|
+
// virtualBackground: isSharedArrayBufferSupported ? { imageUrl: isBlurred ? 'blur' : '' } : undefined,
|
|
37383
37383
|
...c ? { cameraId: c } : { cameraId: Se }
|
|
37384
37384
|
};
|
|
37385
37385
|
await t(() => ne.startVideo(Oe)), console.log("Started video in session");
|
|
37386
|
-
}, [o, r,
|
|
37386
|
+
}, [o, r, c, t, i]), R = Cr(async () => {
|
|
37387
37387
|
await t(() => i.stop()), console.log("Local video stopped");
|
|
37388
37388
|
}, [i, t]), x = Cr(async () => {
|
|
37389
37389
|
const ne = r.getMediaStream();
|
|
@@ -37400,21 +37400,21 @@ const vL = Bl({
|
|
|
37400
37400
|
[o, r, p, t, i]
|
|
37401
37401
|
), N = Cr(
|
|
37402
37402
|
async (ne, Se) => {
|
|
37403
|
-
const
|
|
37404
|
-
!
|
|
37403
|
+
const ce = r.getMediaStream();
|
|
37404
|
+
!ce || !Se || (a.current.set(ne, Se), await t(() => ce.attachVideo(ne, 3, Se)), console.log("Attached video for user: ", ne));
|
|
37405
37405
|
},
|
|
37406
37406
|
[r, t]
|
|
37407
37407
|
), F = Cr(
|
|
37408
37408
|
async (ne) => {
|
|
37409
|
-
var
|
|
37409
|
+
var ce;
|
|
37410
37410
|
const Se = r.getMediaStream();
|
|
37411
|
-
Se && ((
|
|
37411
|
+
Se && ((ce = r.getSessionInfo()) != null && ce.isInMeeting && await t(() => Se.detachVideo(ne)), a.current.delete(ne), console.log("Detached video for user: ", ne));
|
|
37412
37412
|
},
|
|
37413
37413
|
[r, t]
|
|
37414
37414
|
), $ = Cr(
|
|
37415
37415
|
async (ne) => {
|
|
37416
|
-
const Se = r.getMediaStream(), { selfShareCanvas:
|
|
37417
|
-
(Se == null ? void 0 : Se.getShareStatus()) === Nr.End &&
|
|
37416
|
+
const Se = r.getMediaStream(), { selfShareCanvas: ce } = ne;
|
|
37417
|
+
(Se == null ? void 0 : Se.getShareStatus()) === Nr.End && ce && (Se == null || Se.startShareScreen(ce, {}));
|
|
37418
37418
|
},
|
|
37419
37419
|
[r]
|
|
37420
37420
|
), H = Cr(async () => {
|
|
@@ -37422,15 +37422,15 @@ const vL = Bl({
|
|
|
37422
37422
|
(ne == null ? void 0 : ne.getShareStatus()) === Nr.Sharing && await t(() => ne == null ? void 0 : ne.stopShareScreen());
|
|
37423
37423
|
}, [r, t]), G = Cr(
|
|
37424
37424
|
async ({ userId: ne, videoPlayer: Se }) => {
|
|
37425
|
-
const
|
|
37426
|
-
|
|
37425
|
+
const ce = r.getMediaStream();
|
|
37426
|
+
ce && await t(() => ce.attachShareView(ne, Se));
|
|
37427
37427
|
},
|
|
37428
37428
|
[r, t]
|
|
37429
37429
|
), Q = Cr(
|
|
37430
37430
|
async (ne) => {
|
|
37431
|
-
var
|
|
37431
|
+
var ce;
|
|
37432
37432
|
const Se = r.getMediaStream();
|
|
37433
|
-
Se && (
|
|
37433
|
+
Se && (ce = r.getSessionInfo()) != null && ce.isInMeeting && await t(() => Se.detachShareView(ne));
|
|
37434
37434
|
},
|
|
37435
37435
|
[r, t]
|
|
37436
37436
|
), Y = Cr((ne) => a.current.has(ne), []);
|
|
@@ -37445,15 +37445,15 @@ const vL = Bl({
|
|
|
37445
37445
|
var be;
|
|
37446
37446
|
l(oe), oe.find((re) => re.deviceId === c) || d(((be = oe[0]) == null ? void 0 : be.deviceId) || "");
|
|
37447
37447
|
}), console.log("Video devices changed");
|
|
37448
|
-
},
|
|
37448
|
+
}, ce = (oe) => {
|
|
37449
37449
|
console.log("video-capturing-change: ", oe), oe.state === "Started" ? m(!0) : oe.state === "Stopped" ? m(!1) : oe.state === "Failed" && console.error("Failed to capture video");
|
|
37450
37450
|
}, Oe = (oe) => {
|
|
37451
37451
|
H(), console.log("Passively stopped share due to: ", oe);
|
|
37452
37452
|
}, De = (oe) => {
|
|
37453
37453
|
console.log("Device permission changed: ", oe), oe.name === "camera" && oe.state === "denied" && m(!1);
|
|
37454
37454
|
};
|
|
37455
|
-
return r.on("active-media-failed", ne), r.on("device-change", Se), r.on("device-permission-change", De), r.on("video-capturing-change",
|
|
37456
|
-
r.off("active-media-failed", ne), r.off("device-change", Se), r.off("device-permission-change", De), r.off("video-capturing-change",
|
|
37455
|
+
return r.on("active-media-failed", ne), r.on("device-change", Se), r.on("device-permission-change", De), r.on("video-capturing-change", ce), r.on("passively-stop-share", Oe), () => {
|
|
37456
|
+
r.off("active-media-failed", ne), r.off("device-change", Se), r.off("device-permission-change", De), r.off("video-capturing-change", ce), r.off("passively-stop-share", Oe);
|
|
37457
37457
|
};
|
|
37458
37458
|
}, [c, H, v, n, r]), tL(() => {
|
|
37459
37459
|
v ? (l(RN), d(Xi.User)) : b0().then(({ cameraList: ne }) => {
|
|
@@ -37681,25 +37681,25 @@ const vL = Bl({
|
|
|
37681
37681
|
po(() => {
|
|
37682
37682
|
if (!n()) return;
|
|
37683
37683
|
const Q = () => {
|
|
37684
|
-
b0().then(({ micList:
|
|
37684
|
+
b0().then(({ micList: ce, speakerList: Oe }) => {
|
|
37685
37685
|
var De, oe;
|
|
37686
|
-
a(
|
|
37686
|
+
a(ce), m(Oe), ce.find((be) => be.deviceId === s) || l(((De = ce[0]) == null ? void 0 : De.deviceId) || ""), Oe.find((be) => be.deviceId === y) || b(((oe = Oe[0]) == null ? void 0 : oe.deviceId) || "");
|
|
37687
37687
|
}), console.log("Audio devices changed");
|
|
37688
|
-
}, Y = (
|
|
37689
|
-
C(["Unmute", "Spotlight"].includes(
|
|
37690
|
-
}, fe = (
|
|
37691
|
-
console.log("active-media-failed: ",
|
|
37688
|
+
}, Y = (ce) => {
|
|
37689
|
+
C(["Unmute", "Spotlight"].includes(ce.reason)), console.log("host-ask-unmute-audio: ", ce);
|
|
37690
|
+
}, fe = (ce) => {
|
|
37691
|
+
console.log("active-media-failed: ", ce), ce.type === "audio" && d(!0);
|
|
37692
37692
|
}, ne = () => {
|
|
37693
37693
|
o("allow-toggle-audio") && t({
|
|
37694
37694
|
header: "Micrófono silenciado",
|
|
37695
37695
|
message: "Estás hablando pero tu micrófono está silenciado.",
|
|
37696
37696
|
severity: "info"
|
|
37697
37697
|
});
|
|
37698
|
-
}, Se = (
|
|
37698
|
+
}, Se = (ce) => {
|
|
37699
37699
|
const Oe = r.getCurrentUserInfo();
|
|
37700
37700
|
if (!Oe) return;
|
|
37701
|
-
const De =
|
|
37702
|
-
(De == null ? void 0 : De.muted) !== void 0 && d(De.muted), console.log("user-updated (muted): ",
|
|
37701
|
+
const De = ce.find((oe) => oe.userId === Oe.userId);
|
|
37702
|
+
(De == null ? void 0 : De.muted) !== void 0 && d(De.muted), console.log("user-updated (muted): ", ce);
|
|
37703
37703
|
};
|
|
37704
37704
|
return r.on("active-media-failed", fe), r.on("device-change", Q), r.on("host-ask-unmute-audio", Y), r.on("speaking-while-muted", ne), r.on("user-updated", Se), () => {
|
|
37705
37705
|
r.off("active-media-failed", fe), r.off("device-change", Q), r.off("host-ask-unmute-audio", Y), r.off("speaking-while-muted", ne), r.off("user-updated", Se);
|
|
@@ -38377,7 +38377,7 @@ var mu = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
38377
38377
|
Eo(xv.css.styles, ne, {
|
|
38378
38378
|
name: "menu"
|
|
38379
38379
|
});
|
|
38380
|
-
var
|
|
38380
|
+
var ce = S.useRef(null), Oe = S.useRef(null), De = S.useRef(null), oe = !!(p && o.popup && o.closeOnEscape), be = z0("menu", oe);
|
|
38381
38381
|
G0({
|
|
38382
38382
|
callback: function(it) {
|
|
38383
38383
|
mr(it);
|
|
@@ -38387,10 +38387,10 @@ var mu = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
38387
38387
|
});
|
|
38388
38388
|
var re = IR({
|
|
38389
38389
|
target: De,
|
|
38390
|
-
overlay:
|
|
38390
|
+
overlay: ce,
|
|
38391
38391
|
listener: function(it, Pt) {
|
|
38392
38392
|
var pt = Pt.valid, Rt = Pt.type;
|
|
38393
|
-
pt && (n.hideOverlaysOnDocumentScrolling || Rt === "outside" ? (mr(it), C(-1)) : se.isDocument(it.target) || se.absolutePosition(
|
|
38393
|
+
pt && (n.hideOverlaysOnDocumentScrolling || Rt === "outside" ? (mr(it), C(-1)) : se.isDocument(it.target) || se.absolutePosition(ce.current, De.current, o.popupAlignment));
|
|
38394
38394
|
},
|
|
38395
38395
|
when: p
|
|
38396
38396
|
}), Ce = Ip(re, 2), Ie = Ce[0], _e = Ce[1], Te = function(it) {
|
|
@@ -38454,24 +38454,24 @@ var mu = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
38454
38454
|
}, we = function(it) {
|
|
38455
38455
|
je(0), it.preventDefault();
|
|
38456
38456
|
}, et = function(it) {
|
|
38457
|
-
je(se.find(
|
|
38457
|
+
je(se.find(ce.current, 'li[data-pc-section="menuitem"][data-p-disabled="false"]').length - 1), it.preventDefault();
|
|
38458
38458
|
}, ht = function(it) {
|
|
38459
|
-
var Pt = se.findSingle(
|
|
38459
|
+
var Pt = se.findSingle(ce.current, 'li[id="'.concat("".concat(v), '"]')), pt = Pt && se.findSingle(Pt, 'a[data-pc-section="action"]');
|
|
38460
38460
|
o.popup && se.focus(De.current), pt ? pt.click() : Pt && Pt.click(), it.preventDefault();
|
|
38461
38461
|
}, Wt = function(it) {
|
|
38462
38462
|
ht(it);
|
|
38463
38463
|
}, ur = function(it) {
|
|
38464
|
-
var Pt = se.find(
|
|
38464
|
+
var Pt = se.find(ce.current, 'li[data-pc-section="menuitem"][data-p-disabled="false"]'), pt = TN(Pt).findIndex(function(Rt) {
|
|
38465
38465
|
return Rt.id === it;
|
|
38466
38466
|
});
|
|
38467
38467
|
return pt > -1 ? pt + 1 : 0;
|
|
38468
38468
|
}, At = function(it) {
|
|
38469
|
-
var Pt = se.find(
|
|
38469
|
+
var Pt = se.find(ce.current, 'li[data-pc-section="menuitem"][data-p-disabled="false"]'), pt = TN(Pt).findIndex(function(Rt) {
|
|
38470
38470
|
return Rt.id === it;
|
|
38471
38471
|
});
|
|
38472
38472
|
return pt > -1 ? pt - 1 : 0;
|
|
38473
38473
|
}, je = function(it) {
|
|
38474
|
-
var Pt = se.find(
|
|
38474
|
+
var Pt = se.find(ce.current, 'li[data-pc-section="menuitem"][data-p-disabled="false"]'), pt = it >= Pt.length ? Pt.length - 1 : it < 0 ? 0 : it;
|
|
38475
38475
|
pt > -1 && C(Pt[pt].getAttribute("id"));
|
|
38476
38476
|
}, Yt = function() {
|
|
38477
38477
|
return v !== -1 ? v : null;
|
|
@@ -38482,22 +38482,22 @@ var mu = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
38482
38482
|
}, mr = function(it) {
|
|
38483
38483
|
De.current = it.currentTarget, m(!1), o.onHide && o.onHide(it);
|
|
38484
38484
|
}, tn = function() {
|
|
38485
|
-
se.addStyles(
|
|
38485
|
+
se.addStyles(ce.current, {
|
|
38486
38486
|
position: "absolute",
|
|
38487
38487
|
top: "0",
|
|
38488
38488
|
left: "0"
|
|
38489
|
-
}), Lo.set("menu",
|
|
38489
|
+
}), Lo.set("menu", ce.current, n && n.autoZIndex || Wr.autoZIndex, o.baseZIndex || n && n.zIndex.menu || Wr.zIndex.menu), se.absolutePosition(ce.current, De.current, o.popupAlignment), o.popup && (se.focus(Oe.current), je(0));
|
|
38490
38490
|
}, zr = function() {
|
|
38491
38491
|
Ie();
|
|
38492
38492
|
}, Xr = function() {
|
|
38493
38493
|
De.current = null, _e();
|
|
38494
38494
|
}, xr = function() {
|
|
38495
|
-
Lo.clear(
|
|
38495
|
+
Lo.clear(ce.current);
|
|
38496
38496
|
};
|
|
38497
38497
|
Zo(function() {
|
|
38498
38498
|
s || l(Es());
|
|
38499
38499
|
}), Ri(function() {
|
|
38500
|
-
Lo.clear(
|
|
38500
|
+
Lo.clear(ce.current);
|
|
38501
38501
|
}), S.useImperativeHandle(t, function() {
|
|
38502
38502
|
return {
|
|
38503
38503
|
props: o,
|
|
@@ -38505,7 +38505,7 @@ var mu = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
38505
38505
|
show: dr,
|
|
38506
38506
|
hide: mr,
|
|
38507
38507
|
getElement: function() {
|
|
38508
|
-
return
|
|
38508
|
+
return ce.current;
|
|
38509
38509
|
},
|
|
38510
38510
|
getTarget: function() {
|
|
38511
38511
|
return De.current;
|
|
@@ -38660,10 +38660,10 @@ var mu = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
38660
38660
|
onExited: xr
|
|
38661
38661
|
}, Q("transition"));
|
|
38662
38662
|
return /* @__PURE__ */ S.createElement(Vl, fd({
|
|
38663
|
-
nodeRef:
|
|
38663
|
+
nodeRef: ce
|
|
38664
38664
|
}, Rt), /* @__PURE__ */ S.createElement("div", fd({
|
|
38665
38665
|
id: o.id,
|
|
38666
|
-
ref:
|
|
38666
|
+
ref: ce
|
|
38667
38667
|
}, Pt), /* @__PURE__ */ S.createElement("ul", pt, it)));
|
|
38668
38668
|
}
|
|
38669
38669
|
return null;
|
|
@@ -39226,7 +39226,7 @@ var PR = /* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
39226
39226
|
o.dismissable && o.modal && x.current === ht.target && Se(ht);
|
|
39227
39227
|
}, Se = function(ht) {
|
|
39228
39228
|
o.onHide(), ht.preventDefault();
|
|
39229
|
-
},
|
|
39229
|
+
}, ce = function() {
|
|
39230
39230
|
o.onShow && o.onShow(), fe(), oe();
|
|
39231
39231
|
}, Oe = function() {
|
|
39232
39232
|
o.modal && !A() && se.addClass(x.current, "p-component-overlay-leave");
|
|
@@ -39311,7 +39311,7 @@ var PR = /* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
39311
39311
|
timeout: vt,
|
|
39312
39312
|
options: o.transitionOptions,
|
|
39313
39313
|
unmountOnExit: !0,
|
|
39314
|
-
onEntered:
|
|
39314
|
+
onEntered: ce,
|
|
39315
39315
|
onExiting: Oe,
|
|
39316
39316
|
onExited: De
|
|
39317
39317
|
}, b("transition")), nt = function() {
|
|
@@ -39970,7 +39970,7 @@ var xR = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
39970
39970
|
} : 0), b = tu(y, 2), v = b[0], C = b[1], A = S.useState(0), R = tu(A, 2), x = R[0], k = R[1], N = S.useState(l ? {
|
|
39971
39971
|
rows: 0,
|
|
39972
39972
|
cols: 0
|
|
39973
|
-
} : 0), F = tu(N, 2), $ = F[0], H = F[1], G = S.useState(o.numToleratedItems), Q = tu(G, 2), Y = Q[0], fe = Q[1], ne = S.useState(o.loading || !1), Se = tu(ne, 2),
|
|
39973
|
+
} : 0), F = tu(N, 2), $ = F[0], H = F[1], G = S.useState(o.numToleratedItems), Q = tu(G, 2), Y = Q[0], fe = Q[1], ne = S.useState(o.loading || !1), Se = tu(ne, 2), ce = Se[0], Oe = Se[1], De = S.useState([]), oe = tu(De, 2), be = oe[0], re = oe[1], Ce = Nv.setMetaData({
|
|
39974
39974
|
props: o,
|
|
39975
39975
|
state: {
|
|
39976
39976
|
first: p,
|
|
@@ -39978,7 +39978,7 @@ var xR = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
39978
39978
|
page: x,
|
|
39979
39979
|
numItemsInViewport: $,
|
|
39980
39980
|
numToleratedItems: Y,
|
|
39981
|
-
loading:
|
|
39981
|
+
loading: ce,
|
|
39982
39982
|
loaderArr: be
|
|
39983
39983
|
}
|
|
39984
39984
|
}), Ie = Ce.ptm;
|
|
@@ -40063,9 +40063,9 @@ var xR = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
40063
40063
|
} else
|
|
40064
40064
|
Kr(qe, jt);
|
|
40065
40065
|
}, Rn = function() {
|
|
40066
|
-
return
|
|
40066
|
+
return ce ? o.loaderDisabled ? be : [] : Ct();
|
|
40067
40067
|
}, rn = function() {
|
|
40068
|
-
return o.columns && l || s ?
|
|
40068
|
+
return o.columns && l || s ? ce && o.loaderDisabled ? l ? be[0] : be : o.columns.slice(l ? p.cols : p, l ? v.cols : v) : o.columns;
|
|
40069
40069
|
}, gr = function() {
|
|
40070
40070
|
var qe = function(kr, Vt) {
|
|
40071
40071
|
return Math.floor(kr / (Vt || kr));
|
|
@@ -40263,12 +40263,12 @@ var xR = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
40263
40263
|
}, Zt = function(qe) {
|
|
40264
40264
|
if (o.onScroll && o.onScroll(qe), o.delay) {
|
|
40265
40265
|
if (vt.current && clearTimeout(vt.current), Hr(p)) {
|
|
40266
|
-
if (!
|
|
40266
|
+
if (!ce && o.showLoader) {
|
|
40267
40267
|
var gt = Gt(qe), jt = gt.isRangeChanged, rr = jt || (o.step ? Hr(p) : !1);
|
|
40268
40268
|
rr && Oe(!0);
|
|
40269
40269
|
}
|
|
40270
40270
|
vt.current = setTimeout(function() {
|
|
40271
|
-
Qt(qe),
|
|
40271
|
+
Qt(qe), ce && o.showLoader && (!o.lazy || o.loading === void 0) && (Oe(!1), k(xr(p)));
|
|
40272
40272
|
}, o.delay);
|
|
40273
40273
|
}
|
|
40274
40274
|
} else
|
|
@@ -40304,7 +40304,7 @@ var xR = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
40304
40304
|
}, gt);
|
|
40305
40305
|
}, Ct = function() {
|
|
40306
40306
|
var qe = o.items;
|
|
40307
|
-
return qe && !
|
|
40307
|
+
return qe && !ce ? l ? qe.slice(o.appendOnly ? 0 : p.rows, v.rows).map(function(gt) {
|
|
40308
40308
|
return o.columns ? gt : gt.slice(o.appendOnly ? 0 : p.cols, v.cols);
|
|
40309
40309
|
}) : s && o.columns ? qe : qe.slice(o.appendOnly ? 0 : p, v) : [];
|
|
40310
40310
|
}, Ut = function() {
|
|
@@ -40333,8 +40333,8 @@ var xR = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
40333
40333
|
rr = Kt !== ar;
|
|
40334
40334
|
}
|
|
40335
40335
|
(!Lt || rr) && lr();
|
|
40336
|
-
var yr =
|
|
40337
|
-
o.lazy && i.loading !== o.loading && o.loading !==
|
|
40336
|
+
var yr = ce;
|
|
40337
|
+
o.lazy && i.loading !== o.loading && o.loading !== ce && (Oe(o.loading), yr = o.loading), pt(yr);
|
|
40338
40338
|
}), hn(function() {
|
|
40339
40339
|
at.current = l ? {
|
|
40340
40340
|
top: 0,
|
|
@@ -40363,7 +40363,7 @@ var xR = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
40363
40363
|
})), rr = an.getJSXIcon(jt, Ap({}, gt), {
|
|
40364
40364
|
props: o
|
|
40365
40365
|
});
|
|
40366
|
-
if (!o.loaderDisabled && o.showLoader &&
|
|
40366
|
+
if (!o.loaderDisabled && o.showLoader && ce) {
|
|
40367
40367
|
var Kt = dt("p-virtualscroller-loader", {
|
|
40368
40368
|
"p-component-overlay": !o.loadingTemplate
|
|
40369
40369
|
}), ar = rr;
|
|
@@ -40407,7 +40407,7 @@ var xR = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
40407
40407
|
return qe.map(vn);
|
|
40408
40408
|
}, Ye = function() {
|
|
40409
40409
|
var qe = Ae(), gt = dt("p-virtualscroller-content", {
|
|
40410
|
-
"p-virtualscroller-loading":
|
|
40410
|
+
"p-virtualscroller-loading": ce
|
|
40411
40411
|
}), jt = r({
|
|
40412
40412
|
ref: Te,
|
|
40413
40413
|
style: nt.current,
|
|
@@ -40434,7 +40434,7 @@ var xR = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
40434
40434
|
children: qe,
|
|
40435
40435
|
element: rr,
|
|
40436
40436
|
props: o,
|
|
40437
|
-
loading:
|
|
40437
|
+
loading: ce,
|
|
40438
40438
|
getLoaderOptions: function(yr, en) {
|
|
40439
40439
|
return Je(yr, en);
|
|
40440
40440
|
},
|
|
@@ -40984,7 +40984,7 @@ var ML = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
40984
40984
|
height: fe.props ? fe.props.itemSize : void 0
|
|
40985
40985
|
};
|
|
40986
40986
|
if (ne = Zs(Zs({}, ne), Q.style), Q.group && e.optionGroupLabel) {
|
|
40987
|
-
var Se = e.optionGroupLabel,
|
|
40987
|
+
var Se = e.optionGroupLabel, ce = e.optionGroupTemplate ? de.getJSXElement(e.optionGroupTemplate, Q, Y) : e.getOptionGroupLabel(Q), Oe = Y + "_" + e.getOptionGroupRenderKey(Q), De = r({
|
|
40988
40988
|
className: o("itemGroup", {
|
|
40989
40989
|
optionGroupLabel: Se
|
|
40990
40990
|
}),
|
|
@@ -40995,7 +40995,7 @@ var ML = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
40995
40995
|
}, p("itemGroupLabel"));
|
|
40996
40996
|
return /* @__PURE__ */ S.createElement("li", xl({
|
|
40997
40997
|
key: Oe
|
|
40998
|
-
}, De), /* @__PURE__ */ S.createElement("span", oe,
|
|
40998
|
+
}, De), /* @__PURE__ */ S.createElement("span", oe, ce));
|
|
40999
40999
|
}
|
|
41000
41000
|
var be = e.getOptionRenderKey(Q) + "_" + Y, re = e.getOptionLabel(Q), Ce = e.isOptionDisabled(Q);
|
|
41001
41001
|
return /* @__PURE__ */ S.createElement(NL, {
|
|
@@ -41045,7 +41045,7 @@ var ML = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
41045
41045
|
className: o("filterContainer", {
|
|
41046
41046
|
clearIcon: Q
|
|
41047
41047
|
})
|
|
41048
|
-
}, p("filterContainer")),
|
|
41048
|
+
}, p("filterContainer")), ce = r({
|
|
41049
41049
|
ref: s,
|
|
41050
41050
|
type: "text",
|
|
41051
41051
|
autoComplete: "off",
|
|
@@ -41058,7 +41058,7 @@ var ML = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
41058
41058
|
return b(re);
|
|
41059
41059
|
},
|
|
41060
41060
|
value: e.filterValue
|
|
41061
|
-
}, p("filterInput")), Oe = /* @__PURE__ */ S.createElement("div", Se, /* @__PURE__ */ S.createElement("input",
|
|
41061
|
+
}, p("filterInput")), Oe = /* @__PURE__ */ S.createElement("div", Se, /* @__PURE__ */ S.createElement("input", ce), Q, ne);
|
|
41062
41062
|
if (e.filterTemplate) {
|
|
41063
41063
|
var De = {
|
|
41064
41064
|
className: dt("p-dropdown-filter-container", {
|
|
@@ -41089,19 +41089,19 @@ var ML = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
41089
41089
|
className: dt("p-dropdown-items-wrapper", e.virtualScrollerOptions.className),
|
|
41090
41090
|
items: e.visibleOptions,
|
|
41091
41091
|
autoSize: !0,
|
|
41092
|
-
onLazyLoad: function(
|
|
41093
|
-
return e.virtualScrollerOptions.onLazyLoad(Zs(Zs({},
|
|
41092
|
+
onLazyLoad: function(ce) {
|
|
41093
|
+
return e.virtualScrollerOptions.onLazyLoad(Zs(Zs({}, ce), {
|
|
41094
41094
|
filter: e.filterValue
|
|
41095
41095
|
}));
|
|
41096
41096
|
},
|
|
41097
|
-
itemTemplate: function(
|
|
41098
|
-
return
|
|
41097
|
+
itemTemplate: function(ce, Oe) {
|
|
41098
|
+
return ce && R(ce, Oe.index, Oe);
|
|
41099
41099
|
},
|
|
41100
|
-
contentTemplate: function(
|
|
41101
|
-
var Oe =
|
|
41102
|
-
ref:
|
|
41103
|
-
style:
|
|
41104
|
-
className: dt(
|
|
41100
|
+
contentTemplate: function(ce) {
|
|
41101
|
+
var Oe = ce.children || [], De = e.hasFilter ? e.emptyFilterMessage : e.emptyMessage, oe = l || (Oe == null ? void 0 : Oe.length) === 0 ? A(De) : Oe, be = r({
|
|
41102
|
+
ref: ce.contentRef,
|
|
41103
|
+
style: ce.style,
|
|
41104
|
+
className: dt(ce.className, o("list", {
|
|
41105
41105
|
virtualScrollerProps: e.virtualScrollerOptions
|
|
41106
41106
|
})),
|
|
41107
41107
|
role: "listbox",
|
|
@@ -41225,7 +41225,7 @@ function Xs(e) {
|
|
|
41225
41225
|
return e;
|
|
41226
41226
|
}
|
|
41227
41227
|
var Su = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
41228
|
-
var r = Br(), n = S.useContext(Jr), o = Mv.getProps(e, n), i = YK("", o.filterDelay || 0), a = bh(i, 3), s = a[0], l = a[1], c = a[2], d = S.useState(!1), p = bh(d, 2), m = p[0], y = p[1], b = S.useState(-1), v = bh(b, 2), C = v[0], A = v[1], R = S.useState(!1), x = bh(R, 2), k = x[0], N = x[1], F = S.useRef(!1), $ = S.useRef(null), H = S.useRef(null), G = S.useRef(null), Q = S.useRef(null), Y = S.useRef(o.inputRef), fe = S.useRef(o.focusInputRef), ne = S.useRef(null), Se = S.useRef(null),
|
|
41228
|
+
var r = Br(), n = S.useContext(Jr), o = Mv.getProps(e, n), i = YK("", o.filterDelay || 0), a = bh(i, 3), s = a[0], l = a[1], c = a[2], d = S.useState(!1), p = bh(d, 2), m = p[0], y = p[1], b = S.useState(-1), v = bh(b, 2), C = v[0], A = v[1], R = S.useState(!1), x = bh(R, 2), k = x[0], N = x[1], F = S.useRef(!1), $ = S.useRef(null), H = S.useRef(null), G = S.useRef(null), Q = S.useRef(null), Y = S.useRef(o.inputRef), fe = S.useRef(o.focusInputRef), ne = S.useRef(null), Se = S.useRef(null), ce = S.useRef(null), Oe = o.virtualScrollerOptions && o.virtualScrollerOptions.lazy, De = de.isNotEmpty(l), oe = o.appendTo || n && n.appendTo || Wr.appendTo, be = Mv.setMetaData(Xs(Xs({
|
|
41229
41229
|
props: o
|
|
41230
41230
|
}, o.__parentMetadata), {}, {
|
|
41231
41231
|
state: {
|
|
@@ -41397,7 +41397,7 @@ var Su = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
41397
41397
|
return se.getFocusableElements(H.current, ':not([data-p-hidden-focusable="true"])').length > 0;
|
|
41398
41398
|
}, dr = function(ge) {
|
|
41399
41399
|
var xt;
|
|
41400
|
-
return mr(ge) && ((xt = Kt(ge)) === null || xt === void 0 ? void 0 : xt.toLocaleLowerCase(o.filterLocale).startsWith(
|
|
41400
|
+
return mr(ge) && ((xt = Kt(ge)) === null || xt === void 0 ? void 0 : xt.toLocaleLowerCase(o.filterLocale).startsWith(ce.current.toLocaleLowerCase(o.filterLocale)));
|
|
41401
41401
|
}, mr = function(ge) {
|
|
41402
41402
|
return de.isNotEmpty(ge) && !(kr(ge) || en(ge));
|
|
41403
41403
|
}, tn = function() {
|
|
@@ -41412,16 +41412,16 @@ var Su = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
41412
41412
|
var ge = Xr();
|
|
41413
41413
|
return ge < 0 ? Vr() : ge;
|
|
41414
41414
|
}, Ur = function(ge, xt) {
|
|
41415
|
-
|
|
41415
|
+
ce.current = (ce.current || "") + xt;
|
|
41416
41416
|
var _r = -1, On = !1;
|
|
41417
|
-
return de.isNotEmpty(
|
|
41417
|
+
return de.isNotEmpty(ce.current) && (C !== -1 ? (_r = Mn.slice(C).findIndex(function(un) {
|
|
41418
41418
|
return dr(un);
|
|
41419
41419
|
}), _r = _r === -1 ? Mn.slice(0, C).findIndex(function(un) {
|
|
41420
41420
|
return dr(un);
|
|
41421
41421
|
}) : _r + C) : _r = Mn.findIndex(function(un) {
|
|
41422
41422
|
return dr(un);
|
|
41423
41423
|
}), _r !== -1 && (On = !0), _r === -1 && C === -1 && (_r = xr()), _r !== -1 && rn(ge, _r)), Se.current && clearTimeout(Se.current), Se.current = setTimeout(function() {
|
|
41424
|
-
|
|
41424
|
+
ce.current = "", Se.current = null;
|
|
41425
41425
|
}, 500), On;
|
|
41426
41426
|
}, Hr = function() {
|
|
41427
41427
|
var ge = Xr();
|
|
@@ -42230,7 +42230,7 @@ const E0 = ({ option: e, icon: t }) => /* @__PURE__ */ ae.jsxs("div", { classNam
|
|
|
42230
42230
|
command: async () => F({ tab: rs.Audio }),
|
|
42231
42231
|
template: (oe, be) => /* @__PURE__ */ ae.jsx(bs, { item: oe, options: be, activeItem: k })
|
|
42232
42232
|
}
|
|
42233
|
-
]),
|
|
42233
|
+
]), ce = c.map((oe) => ({
|
|
42234
42234
|
disabled: e.loading,
|
|
42235
42235
|
label: oe.label,
|
|
42236
42236
|
id: oe.deviceId,
|
|
@@ -42359,7 +42359,7 @@ const E0 = ({ option: e, icon: t }) => /* @__PURE__ */ ae.jsxs("div", { classNam
|
|
|
42359
42359
|
/* @__PURE__ */ ae.jsx(kL, {}),
|
|
42360
42360
|
/* @__PURE__ */ ae.jsx(mu, { model: Oe, popup: !0, ref: G, id: "mic_popup_menu", popupAlignment: "left" }),
|
|
42361
42361
|
/* @__PURE__ */ ae.jsx(mu, { model: Se, popup: !0, ref: $, id: "audio_popup_menu", popupAlignment: "left" }),
|
|
42362
|
-
/* @__PURE__ */ ae.jsx(mu, { model:
|
|
42362
|
+
/* @__PURE__ */ ae.jsx(mu, { model: ce, popup: !0, ref: H, id: "video_popup_menu", popupAlignment: "left" })
|
|
42363
42363
|
] });
|
|
42364
42364
|
};
|
|
42365
42365
|
function cI() {
|
|
@@ -42586,7 +42586,7 @@ function sE(e) {
|
|
|
42586
42586
|
}
|
|
42587
42587
|
var pI = function() {
|
|
42588
42588
|
}, FL = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
42589
|
-
var r = Br(), n = S.useContext(Jr), o = Fv.getProps(e, n), i = S.useRef(""), a = S.useRef(null), s = S.useRef(), l = S.useRef({}), c = S.useRef(null), d = S.useRef(null), p = S.useRef(null), m = S.useRef(null), y = S.useRef(null), b = S.useRef(null), v = S.useRef(null), C = S.useRef(null), A = S.useRef(null), R = S.useRef(null), x = S.useRef(null), k = S.useRef(null), N = S.useState([]), F = Lv(N, 2), $ = F[0], H = F[1], G = S.useState(!1), Q = Lv(G, 2), Y = Q[0], fe = Q[1], ne = o.stateKey != null, Se = o.children && o.children.length || 1,
|
|
42589
|
+
var r = Br(), n = S.useContext(Jr), o = Fv.getProps(e, n), i = S.useRef(""), a = S.useRef(null), s = S.useRef(), l = S.useRef({}), c = S.useRef(null), d = S.useRef(null), p = S.useRef(null), m = S.useRef(null), y = S.useRef(null), b = S.useRef(null), v = S.useRef(null), C = S.useRef(null), A = S.useRef(null), R = S.useRef(null), x = S.useRef(null), k = S.useRef(null), N = S.useState([]), F = Lv(N, 2), $ = F[0], H = F[1], G = S.useState(!1), Q = Lv(G, 2), Y = Q[0], fe = Q[1], ne = o.stateKey != null, Se = o.children && o.children.length || 1, ce = function(pt, Rt) {
|
|
42590
42590
|
return Rt in pt ? pt[Rt] : o.children && [].concat(o.children)[Rt].props.size || 100 / Se;
|
|
42591
42591
|
}, Oe = o.layout === "horizontal", De = {
|
|
42592
42592
|
props: o,
|
|
@@ -42723,7 +42723,7 @@ var pI = function() {
|
|
|
42723
42723
|
return se.getAttribute(Rt, "data-pc-section") === "splitterpanel.root";
|
|
42724
42724
|
}), pt = [];
|
|
42725
42725
|
Pt.map(function(Rt, tt) {
|
|
42726
|
-
v.current =
|
|
42726
|
+
v.current = ce($, 0), pt[tt] = ce($, tt), Rt.childNodes && de.isNotEmpty(se.find(Rt, "[data-pc-name='splitter']") && se.find(Rt, "[data-pc-section='root']")) && (!Ce() && se.addClass(Rt, "p-splitter-panel-nested"), Rt.setAttribute("data-p-splitter-panel-nested", !0), fe(!0));
|
|
42727
42727
|
}), H(pt);
|
|
42728
42728
|
}, []), S.useEffect(function() {
|
|
42729
42729
|
ne && je();
|
|
@@ -42768,7 +42768,7 @@ var pI = function() {
|
|
|
42768
42768
|
"aria-valuetext": parseFloat(v.current).toFixed(0) + "%",
|
|
42769
42769
|
"aria-valuemin": et(pt, "minSize") || "0",
|
|
42770
42770
|
"aria-valuemax": "100"
|
|
42771
|
-
}, be("gutterHandler")), Gt = Rt !== o.children.length - 1 && /* @__PURE__ */ S.createElement("div", ye, /* @__PURE__ */ S.createElement("div", $e)), Qt = "calc(" +
|
|
42771
|
+
}, be("gutterHandler")), Gt = Rt !== o.children.length - 1 && /* @__PURE__ */ S.createElement("div", ye, /* @__PURE__ */ S.createElement("div", $e)), Qt = "calc(" + ce($, Rt) + "% - " + (Se - 1) * o.gutterSize + "px)", Zt = r({
|
|
42772
42772
|
key: Rt,
|
|
42773
42773
|
id: tt,
|
|
42774
42774
|
className: me,
|
|
@@ -43090,7 +43090,7 @@ var Yy = function() {
|
|
|
43090
43090
|
case "Enter":
|
|
43091
43091
|
case "NumpadEnter":
|
|
43092
43092
|
case "Space":
|
|
43093
|
-
|
|
43093
|
+
ce(He, nt, ot);
|
|
43094
43094
|
break;
|
|
43095
43095
|
}
|
|
43096
43096
|
}, Y = function(He) {
|
|
@@ -43105,7 +43105,7 @@ var Yy = function() {
|
|
|
43105
43105
|
}, Se = function(He) {
|
|
43106
43106
|
var nt = be();
|
|
43107
43107
|
re(nt), He.preventDefault();
|
|
43108
|
-
},
|
|
43108
|
+
}, ce = function(He, nt, ot) {
|
|
43109
43109
|
G(He, nt, ot), He.preventDefault();
|
|
43110
43110
|
}, Oe = function(He) {
|
|
43111
43111
|
var nt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, ot = nt ? He : He.nextElementSibling, we = se.findSingle(ot, '[data-pc-section="header"]');
|
|
@@ -45079,8 +45079,8 @@ var Kv = Ar.extend({
|
|
|
45079
45079
|
ref: y,
|
|
45080
45080
|
style: o.style,
|
|
45081
45081
|
className: dt(o.className, k("root"))
|
|
45082
|
-
}, Kv.getOtherProps(o), x("root")), Se = Q(),
|
|
45083
|
-
return /* @__PURE__ */ S.createElement("div", ne, Se,
|
|
45082
|
+
}, Kv.getOtherProps(o), x("root")), Se = Q(), ce = fe(), Oe = Y();
|
|
45083
|
+
return /* @__PURE__ */ S.createElement("div", ne, Se, ce, Oe);
|
|
45084
45084
|
});
|
|
45085
45085
|
JL.displayName = "Panel";
|
|
45086
45086
|
const RZ = () => {
|
|
@@ -45828,7 +45828,7 @@ function Jv(e) {
|
|
|
45828
45828
|
}
|
|
45829
45829
|
var II = function() {
|
|
45830
45830
|
}, XL = /* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
45831
|
-
var r = Br(), n = S.useContext(Jr), o = qv.getProps(e, n), i = S.useState(o.id), a = Sh(i, 2), s = a[0], l = a[1], c = S.useState(!0), d = Sh(c, 2), p = d[0], m = d[1], y = S.useState(!1), b = Sh(y, 2), v = b[0], C = b[1], A = S.useState([]), R = Sh(A, 2), x = R[0], k = R[1], N = S.useState(o.activeIndex), F = Sh(N, 2), $ = F[0], H = F[1], G = S.useRef(null), Q = S.useRef(null), Y = S.useRef(null), fe = S.useRef(null), ne = S.useRef(null), Se = S.useRef(null),
|
|
45831
|
+
var r = Br(), n = S.useContext(Jr), o = qv.getProps(e, n), i = S.useState(o.id), a = Sh(i, 2), s = a[0], l = a[1], c = S.useState(!0), d = Sh(c, 2), p = d[0], m = d[1], y = S.useState(!1), b = Sh(y, 2), v = b[0], C = b[1], A = S.useState([]), R = Sh(A, 2), x = R[0], k = R[1], N = S.useState(o.activeIndex), F = Sh(N, 2), $ = F[0], H = F[1], G = S.useRef(null), Q = S.useRef(null), Y = S.useRef(null), fe = S.useRef(null), ne = S.useRef(null), Se = S.useRef(null), ce = S.useRef({}), Oe = o.onTabChange ? o.activeIndex : $, De = S.Children.count(o.children), oe = {
|
|
45832
45832
|
props: o,
|
|
45833
45833
|
state: {
|
|
45834
45834
|
id: s,
|
|
@@ -45972,10 +45972,10 @@ var II = function() {
|
|
|
45972
45972
|
element: Je
|
|
45973
45973
|
}));
|
|
45974
45974
|
}, xr = function() {
|
|
45975
|
-
var Je =
|
|
45975
|
+
var Je = ce.current["tab_".concat(Oe)];
|
|
45976
45976
|
fe.current.style.width = se.getWidth(Je) + "px", fe.current.style.left = se.getOffset(Je).left - se.getOffset(Y.current).left + "px";
|
|
45977
45977
|
}, Ur = function(Je) {
|
|
45978
|
-
var Ct = Je.index, Ut = Je.element, lr = Ut ||
|
|
45978
|
+
var Ct = Je.index, Ut = Je.element, lr = Ut || ce.current["tab_".concat(Ct)];
|
|
45979
45979
|
lr && lr.scrollIntoView && lr.scrollIntoView({
|
|
45980
45980
|
block: "nearest"
|
|
45981
45981
|
});
|
|
@@ -46089,7 +46089,7 @@ var II = function() {
|
|
|
46089
46089
|
}
|
|
46090
46090
|
var Z = r({
|
|
46091
46091
|
ref: function(he) {
|
|
46092
|
-
return
|
|
46092
|
+
return ce.current["tab_".concat(Ct)] = he;
|
|
46093
46093
|
},
|
|
46094
46094
|
className: Ie("tab.header", {
|
|
46095
46095
|
selected: Ut,
|
|
@@ -46799,7 +46799,7 @@ var aF = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
46799
46799
|
Eo(Qv.css.styles, y, {
|
|
46800
46800
|
name: "inputnumber"
|
|
46801
46801
|
});
|
|
46802
|
-
var b = S.useRef(null), v = S.useRef(null), C = S.useRef(null), A = S.useRef(null), R = S.useRef(null), x = S.useRef(null), k = S.useRef(null), N = S.useRef(null), F = S.useRef(null), $ = S.useRef(null), H = S.useRef(null), G = S.useRef(null), Q = S.useRef(null), Y = S.useRef(null), fe = S.useRef(null), ne = S.useRef(null), Se = S.useRef(null),
|
|
46802
|
+
var b = S.useRef(null), v = S.useRef(null), C = S.useRef(null), A = S.useRef(null), R = S.useRef(null), x = S.useRef(null), k = S.useRef(null), N = S.useRef(null), F = S.useRef(null), $ = S.useRef(null), H = S.useRef(null), G = S.useRef(null), Q = S.useRef(null), Y = S.useRef(null), fe = S.useRef(null), ne = S.useRef(null), Se = S.useRef(null), ce = S.useRef(null), Oe = S.useRef(!1), De = o.locale || n && n.locale || Wr.locale, oe = o.showButtons && o.buttonLayout === "stacked", be = o.showButtons && o.buttonLayout === "horizontal", re = o.showButtons && o.buttonLayout === "vertical", Ce = o.inputMode || (o.mode === "decimal" && !o.minFractionDigits && !o.maxFractionDigits ? "numeric" : "decimal"), Ie = function() {
|
|
46803
46803
|
var q, he;
|
|
46804
46804
|
return {
|
|
46805
46805
|
localeMatcher: o.localeMatcher,
|
|
@@ -46818,7 +46818,7 @@ var aF = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
46818
46818
|
}).format(9876543210)).reverse(), he = new Map(q.map(function(We, st) {
|
|
46819
46819
|
return [We, st];
|
|
46820
46820
|
}));
|
|
46821
|
-
$.current = new RegExp("[".concat(q.join(""), "]"), "g"), H.current = at(), G.current = vt(), Q.current = He(), Y.current = Et(), fe.current = ze(), ne.current = ot(), Se.current = nt(),
|
|
46821
|
+
$.current = new RegExp("[".concat(q.join(""), "]"), "g"), H.current = at(), G.current = vt(), Q.current = He(), Y.current = Et(), fe.current = ze(), ne.current = ot(), Se.current = nt(), ce.current = function(We) {
|
|
46822
46822
|
return he.get(We);
|
|
46823
46823
|
};
|
|
46824
46824
|
}, Te = function(q) {
|
|
@@ -46894,7 +46894,7 @@ var aF = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
46894
46894
|
}
|
|
46895
46895
|
return "";
|
|
46896
46896
|
}, et = function(q) {
|
|
46897
|
-
var he = q.replace(ne.current, "").replace(Se.current, "").trim().replace(/\s/g, "").replace(Q.current, "").replace(H.current, "").replace(G.current, "-").replace(Y.current, ".").replace($.current,
|
|
46897
|
+
var he = q.replace(ne.current, "").replace(Se.current, "").trim().replace(/\s/g, "").replace(Q.current, "").replace(H.current, "").replace(G.current, "-").replace(Y.current, ".").replace($.current, ce.current);
|
|
46898
46898
|
if (he) {
|
|
46899
46899
|
if (he === "-")
|
|
46900
46900
|
return he;
|
|
@@ -48629,14 +48629,14 @@ var bF = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
48629
48629
|
return null;
|
|
48630
48630
|
var Y = de.getJSXElement(o.leftContent, o), fe = de.getJSXElement(o.rightContent, o), ne = Q(), Se = r({
|
|
48631
48631
|
className: l("left")
|
|
48632
|
-
}, s("left")),
|
|
48632
|
+
}, s("left")), ce = Y && /* @__PURE__ */ S.createElement("div", Se, Y), Oe = r({
|
|
48633
48633
|
className: l("end")
|
|
48634
48634
|
}, s("end")), De = fe && /* @__PURE__ */ S.createElement("div", Oe, fe), oe = r({
|
|
48635
48635
|
ref: d,
|
|
48636
48636
|
className: dt(o.className, l("root")),
|
|
48637
48637
|
style: o.style
|
|
48638
48638
|
}, Zv.getOtherProps(o), s("root"));
|
|
48639
|
-
return /* @__PURE__ */ S.createElement("div", oe,
|
|
48639
|
+
return /* @__PURE__ */ S.createElement("div", oe, ce, ne, De);
|
|
48640
48640
|
}));
|
|
48641
48641
|
bF.displayName = "Paginator";
|
|
48642
48642
|
function kI() {
|
|
@@ -50217,7 +50217,7 @@ var DF = function(t) {
|
|
|
50217
50217
|
},
|
|
50218
50218
|
options: !0,
|
|
50219
50219
|
when: Q()
|
|
50220
|
-
}), Se = Jn(ne, 2),
|
|
50220
|
+
}), Se = Jn(ne, 2), ce = Se[0], Oe = Se[1], De = function(je) {
|
|
50221
50221
|
return v.current && !(v.current.isSameNode(je) || v.current.contains(je));
|
|
50222
50222
|
}, oe = function() {
|
|
50223
50223
|
var je = H("bodyStyle"), Yt = H("style");
|
|
@@ -50257,7 +50257,7 @@ var DF = function(t) {
|
|
|
50257
50257
|
var ir = t.getEditingRowData();
|
|
50258
50258
|
ir && de.mutateFieldData(ir, t.field, je), x.current = Yt;
|
|
50259
50259
|
}, Te = function(je) {
|
|
50260
|
-
t.onClick(je, re(je), Q(), i, a, t.column,
|
|
50260
|
+
t.onClick(je, re(je), Q(), i, a, t.column, ce);
|
|
50261
50261
|
}, ze = function(je) {
|
|
50262
50262
|
var Yt = re(je);
|
|
50263
50263
|
t.onMouseDown && t.onMouseDown(Yt);
|
|
@@ -50734,7 +50734,7 @@ var kF = /* @__PURE__ */ S.memo(function(e) {
|
|
|
50734
50734
|
data: e.rowData,
|
|
50735
50735
|
index: e.rowIndex
|
|
50736
50736
|
});
|
|
50737
|
-
},
|
|
50737
|
+
}, ce = function(me) {
|
|
50738
50738
|
e.onRowMouseLeave({
|
|
50739
50739
|
originalEvent: me,
|
|
50740
50740
|
data: e.rowData,
|
|
@@ -51059,7 +51059,7 @@ var kF = /* @__PURE__ */ S.memo(function(e) {
|
|
|
51059
51059
|
return Se(me);
|
|
51060
51060
|
},
|
|
51061
51061
|
onMouseLeave: function(me) {
|
|
51062
|
-
return
|
|
51062
|
+
return ce(me);
|
|
51063
51063
|
},
|
|
51064
51064
|
onClick: function(me) {
|
|
51065
51065
|
return G(me);
|
|
@@ -51209,18 +51209,18 @@ var Qy = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
51209
51209
|
}), o("column.".concat(Z), q), i(y, Z, q));
|
|
51210
51210
|
}, C = S.useRef(null), A = S.useCallback(function(Vt) {
|
|
51211
51211
|
C.current = Vt, e.virtualScrollerContentRef && e.virtualScrollerContentRef(Vt);
|
|
51212
|
-
}, [e]), R = S.useRef(null), x = S.useRef(null), k = S.useRef(null), N = S.useRef(null), F = S.useRef(null), $ = S.useRef(null), H = S.useRef(!1), G = S.useRef(!1), Q = S.useRef(null), Y = S.useRef(null), fe = e.rowGroupMode && e.rowGroupMode === "subheader", ne = e.selectionMode === "radiobutton", Se = e.selectionMode === "checkbox",
|
|
51212
|
+
}, [e]), R = S.useRef(null), x = S.useRef(null), k = S.useRef(null), N = S.useRef(null), F = S.useRef(null), $ = S.useRef(null), H = S.useRef(!1), G = S.useRef(!1), Q = S.useRef(null), Y = S.useRef(null), fe = e.rowGroupMode && e.rowGroupMode === "subheader", ne = e.selectionMode === "radiobutton", Se = e.selectionMode === "checkbox", ce = e.selectionModeInColumn === "single", Oe = e.selectionModeInColumn === "multiple", De = function(Z, q) {
|
|
51213
51213
|
return At() ? (Z.rowIndex === q.rowIndex || Z.rowData === q.rowData) && (Z.field === q.field || Z.cellIndex === q.cellIndex) : e.compareSelectionBy === "equals" ? Z === q : de.equals(Z, q, e.dataKey);
|
|
51214
51214
|
}, oe = function() {
|
|
51215
51215
|
return e.selectionMode || e.selectionModeInColumn !== null || e.columns && e.columns.some(function(Z) {
|
|
51216
51216
|
return Z && !!Yt(Z, "selectionMode");
|
|
51217
51217
|
});
|
|
51218
51218
|
}, be = function() {
|
|
51219
|
-
return e.selectionMode === "single" && !Oe || !ne &&
|
|
51219
|
+
return e.selectionMode === "single" && !Oe || !ne && ce;
|
|
51220
51220
|
}, re = function() {
|
|
51221
|
-
return e.selectionMode === "multiple" && !
|
|
51221
|
+
return e.selectionMode === "multiple" && !ce || Oe;
|
|
51222
51222
|
}, Ce = function() {
|
|
51223
|
-
return ne &&
|
|
51223
|
+
return ne && ce;
|
|
51224
51224
|
}, Ie = function() {
|
|
51225
51225
|
return Se && Oe;
|
|
51226
51226
|
}, _e = function(Z) {
|
|
@@ -51269,7 +51269,7 @@ var Qy = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
51269
51269
|
}, ur = function() {
|
|
51270
51270
|
return (e.selectionMode || e.selectionModeInColumn) && !Ce() && !Ie();
|
|
51271
51271
|
}, At = function() {
|
|
51272
|
-
return e.cellSelection && !
|
|
51272
|
+
return e.cellSelection && !ce && !Oe;
|
|
51273
51273
|
}, je = function() {
|
|
51274
51274
|
return e.columns ? e.columns.length : 0;
|
|
51275
51275
|
}, Yt = function(Z, q) {
|
|
@@ -51444,7 +51444,7 @@ var Qy = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
51444
51444
|
if (Oe) {
|
|
51445
51445
|
var We = se.findSingle(he, 'td[data-p-selection-column="true"] [data-pc-section="checkbox"]');
|
|
51446
51446
|
We && We.focus();
|
|
51447
|
-
} else if (
|
|
51447
|
+
} else if (ce) {
|
|
51448
51448
|
var st = se.findSingle(he, 'td[data-p-selection-column="true"] input[type="radio"]');
|
|
51449
51449
|
st && st.focus();
|
|
51450
51450
|
}
|
|
@@ -51462,7 +51462,7 @@ var Qy = /* @__PURE__ */ S.memo(/* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
51462
51462
|
if (Wt(Z))
|
|
51463
51463
|
Yr(Z, "row");
|
|
51464
51464
|
else {
|
|
51465
|
-
var q =
|
|
51465
|
+
var q = ce || Oe || ht(Z);
|
|
51466
51466
|
k.current = Z.index, F.current = Z.index, $.current = e.first, be() ? Vr(fs(fs({}, Z), {}, {
|
|
51467
51467
|
toggleable: q,
|
|
51468
51468
|
type: "row"
|
|
@@ -52389,7 +52389,7 @@ var FR = /* @__PURE__ */ S.memo(function(e) {
|
|
|
52389
52389
|
value: Re
|
|
52390
52390
|
};
|
|
52391
52391
|
});
|
|
52392
|
-
},
|
|
52392
|
+
}, ce = function() {
|
|
52393
52393
|
return p("showFilterMenu") && (e.display === "row" ? p("dataType") !== "boolean" : !0);
|
|
52394
52394
|
}, Oe = function() {
|
|
52395
52395
|
return p("showClearButton") && e.display === "row";
|
|
@@ -52615,7 +52615,7 @@ var FR = /* @__PURE__ */ S.memo(function(e) {
|
|
|
52615
52615
|
}, me = function(Re, Xe) {
|
|
52616
52616
|
return e.display === "menu" ? Rt(Re, Xe) : null;
|
|
52617
52617
|
}, ye = function() {
|
|
52618
|
-
if (!
|
|
52618
|
+
if (!ce())
|
|
52619
52619
|
return null;
|
|
52620
52620
|
var Re = d({
|
|
52621
52621
|
"aria-hidden": !0
|
|
@@ -53082,7 +53082,7 @@ var VF = /* @__PURE__ */ S.memo(function(e) {
|
|
|
53082
53082
|
});
|
|
53083
53083
|
}, Se = function(we) {
|
|
53084
53084
|
(we.code == "Enter" || we.code === "NumpadEnter" || we.code == "Space") && we.target === i.current && se.getAttribute(we.currentTarget, "data-p-sortable-column") === !0 && (fe(we), we.preventDefault());
|
|
53085
|
-
},
|
|
53085
|
+
}, ce = function(we) {
|
|
53086
53086
|
e.onColumnDragStart({
|
|
53087
53087
|
originalEvent: we,
|
|
53088
53088
|
column: e.column
|
|
@@ -53229,7 +53229,7 @@ var VF = /* @__PURE__ */ S.memo(function(e) {
|
|
|
53229
53229
|
return ne(Vr);
|
|
53230
53230
|
},
|
|
53231
53231
|
onDragStart: function(Vr) {
|
|
53232
|
-
return
|
|
53232
|
+
return ce(Vr);
|
|
53233
53233
|
},
|
|
53234
53234
|
onDragOver: function(Vr) {
|
|
53235
53235
|
return Oe(Vr);
|
|
@@ -53397,7 +53397,7 @@ var BF = /* @__PURE__ */ S.memo(function(e) {
|
|
|
53397
53397
|
unstyled: e.unstyled
|
|
53398
53398
|
});
|
|
53399
53399
|
});
|
|
53400
|
-
},
|
|
53400
|
+
}, ce = function(Ie, _e) {
|
|
53401
53401
|
if (e.showSelectAll && _e === "multiple") {
|
|
53402
53402
|
var Te = e.allRowsSelected(e.value);
|
|
53403
53403
|
return /* @__PURE__ */ S.createElement(jR, {
|
|
@@ -53431,7 +53431,7 @@ var BF = /* @__PURE__ */ S.memo(function(e) {
|
|
|
53431
53431
|
return S.Children.map(e.columns, function(Ie, _e) {
|
|
53432
53432
|
var Te = !R(Ie, "hidden");
|
|
53433
53433
|
if (Te) {
|
|
53434
|
-
var ze = Yo.getCProps(Ie), Et = ze.filterHeaderStyle, at = ze.style, vt = ze.filterHeaderClassName, He = ze.className, nt = ze.frozen, ot = ze.columnKey, we = ze.field, et = ze.selectionMode, ht = ze.filter, Wt = pE(pE({}, Et || {}), at || {}), ur = ot || we || _e, At =
|
|
53434
|
+
var ze = Yo.getCProps(Ie), Et = ze.filterHeaderStyle, at = ze.style, vt = ze.filterHeaderClassName, He = ze.className, nt = ze.frozen, ot = ze.columnKey, we = ze.field, et = ze.selectionMode, ht = ze.filter, Wt = pE(pE({}, Et || {}), at || {}), ur = ot || we || _e, At = ce(Ie, et), je = Oe(Ie, ht), Yt = c({
|
|
53435
53435
|
style: Wt,
|
|
53436
53436
|
className: dt(vt, He, C("headerCell", {
|
|
53437
53437
|
frozen: nt,
|
|
@@ -53541,7 +53541,7 @@ function Ki(e) {
|
|
|
53541
53541
|
return e;
|
|
53542
53542
|
}
|
|
53543
53543
|
var UF = /* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
53544
|
-
var r = S.useContext(Jr), n = Br(), o = Xv.getProps(e, r), i = S.useState(o.first), a = Jn(i, 2), s = a[0], l = a[1], c = S.useState(o.rows), d = Jn(c, 2), p = d[0], m = d[1], y = S.useState(o.sortField), b = Jn(y, 2), v = b[0], C = b[1], A = S.useState(o.sortOrder), R = Jn(A, 2), x = R[0], k = R[1], N = S.useState(o.multiSortMeta), F = Jn(N, 2), $ = F[0], H = F[1], G = S.useState(o.filters), Q = Jn(G, 2), Y = Q[0], fe = Q[1], ne = S.useState([]), Se = Jn(ne, 2),
|
|
53544
|
+
var r = S.useContext(Jr), n = Br(), o = Xv.getProps(e, r), i = S.useState(o.first), a = Jn(i, 2), s = a[0], l = a[1], c = S.useState(o.rows), d = Jn(c, 2), p = d[0], m = d[1], y = S.useState(o.sortField), b = Jn(y, 2), v = b[0], C = b[1], A = S.useState(o.sortOrder), R = Jn(A, 2), x = R[0], k = R[1], N = S.useState(o.multiSortMeta), F = Jn(N, 2), $ = F[0], H = F[1], G = S.useState(o.filters), Q = Jn(G, 2), Y = Q[0], fe = Q[1], ne = S.useState([]), Se = Jn(ne, 2), ce = Se[0], Oe = Se[1], De = S.useState(null), oe = Jn(De, 2), be = oe[0], re = oe[1], Ce = S.useState({}), Ie = Jn(Ce, 2), _e = Ie[0], Te = Ie[1], ze = S.useState({}), Et = Jn(ze, 2), at = Et[0], vt = Et[1], He = S.useState(o.rows), nt = Jn(He, 2), ot = nt[0], we = nt[1], et = S.useState({}), ht = Jn(et, 2), Wt = ht[0], ur = ht[1], At = {
|
|
53545
53545
|
props: o,
|
|
53546
53546
|
state: {
|
|
53547
53547
|
first: s,
|
|
@@ -53550,7 +53550,7 @@ var UF = /* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
53550
53550
|
sortOrder: x,
|
|
53551
53551
|
multiSortMeta: $,
|
|
53552
53552
|
filters: Y,
|
|
53553
|
-
columnOrder:
|
|
53553
|
+
columnOrder: ce,
|
|
53554
53554
|
groupRowsSortMeta: be,
|
|
53555
53555
|
editingMeta: _e,
|
|
53556
53556
|
frozenEditingMeta: at,
|
|
@@ -53610,8 +53610,8 @@ var UF = /* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
53610
53610
|
var Fe = S.Children.toArray(o.children);
|
|
53611
53611
|
if (!Fe)
|
|
53612
53612
|
return null;
|
|
53613
|
-
if (!ve && o.reorderableColumns &&
|
|
53614
|
-
var mt =
|
|
53613
|
+
if (!ve && o.reorderableColumns && ce) {
|
|
53614
|
+
var mt = ce.reduce(function(Dt, $t) {
|
|
53615
53615
|
var kt = kn(Fe, $t);
|
|
53616
53616
|
return kt && Dt.push(kt), Dt;
|
|
53617
53617
|
}, []);
|
|
@@ -53626,7 +53626,7 @@ var UF = /* @__PURE__ */ S.forwardRef(function(e, t) {
|
|
|
53626
53626
|
var Fe = yr();
|
|
53627
53627
|
Fe && (ve.sortField = Fe, ve.sortOrder = en());
|
|
53628
53628
|
var mt = kr();
|
|
53629
|
-
if (mt && (ve.multiSortMeta = mt), rr() && (ve.filters = Vt()), o.resizableColumns && pr(ve), o.reorderableColumns && (ve.columnOrder =
|
|
53629
|
+
if (mt && (ve.multiSortMeta = mt), rr() && (ve.filters = Vt()), o.resizableColumns && pr(ve), o.reorderableColumns && (ve.columnOrder = ce), o.expandedRows && (ve.expandedRows = o.expandedRows), o.selection && o.onSelectionChange && (ve.selection = o.selection), Lt())
|
|
53630
53630
|
o.customSaveState && o.customSaveState(ve);
|
|
53631
53631
|
else {
|
|
53632
53632
|
var Dt = dE(o.stateStorage);
|
|
@@ -55342,7 +55342,7 @@ const wee = ({
|
|
|
55342
55342
|
[C, m]
|
|
55343
55343
|
), G = Cr(
|
|
55344
55344
|
(ne) => {
|
|
55345
|
-
y ? (N(ne), x(!0)) : A((Se) => Se.includes(ne) ? (H(ne === b ? null : b), Se.filter((
|
|
55345
|
+
y ? (N(ne), x(!0)) : A((Se) => Se.includes(ne) ? (H(ne === b ? null : b), Se.filter((ce) => ce !== ne)) : (H(ne), [...Se, ne])), ne === 2 && m();
|
|
55346
55346
|
},
|
|
55347
55347
|
[b, y, H, m]
|
|
55348
55348
|
), Q = Cr(() => {
|