mediasfu-shared 1.2.6 → 1.3.0
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/CHANGELOG.md +17 -0
- package/HEADLESS_GUIDE.md +12 -0
- package/README.md +14 -2
- package/dist/ProducerClient/producerClientEmits/roomVideoPolicy.d.ts +20 -0
- package/dist/ProducerClient/producerClientEmits/roomVideoPolicy.d.ts.map +1 -0
- package/dist/ProducerClient/producerClientEmits/updateRoomParametersClient.d.ts +11 -1
- package/dist/ProducerClient/producerClientEmits/updateRoomParametersClient.d.ts.map +1 -1
- package/dist/audioProcessing-Ca5wm1nV.js +150 -0
- package/dist/audioProcessing-Ca5wm1nV.js.map +1 -0
- package/dist/audioProcessing-VCbu70Jt.cjs +149 -0
- package/dist/audioProcessing-VCbu70Jt.cjs.map +1 -0
- package/dist/consumers/closeAndResize.d.ts +3 -0
- package/dist/consumers/closeAndResize.d.ts.map +1 -1
- package/dist/consumers/connectIps.d.ts +6 -0
- package/dist/consumers/connectIps.d.ts.map +1 -1
- package/dist/consumers/connectSendTransportScreenAudio.d.ts +65 -0
- package/dist/consumers/connectSendTransportScreenAudio.d.ts.map +1 -0
- package/dist/consumers/consumerBackupPreference.d.ts +14 -0
- package/dist/consumers/consumerBackupPreference.d.ts.map +1 -0
- package/dist/consumers/disconnectSendTransportScreen.d.ts.map +1 -1
- package/dist/consumers/getPipedProducersAlt.d.ts.map +1 -1
- package/dist/consumers/index.cjs +23 -1
- package/dist/consumers/index.cjs.map +1 -1
- package/dist/consumers/index.d.ts +3 -0
- package/dist/consumers/index.d.ts.map +1 -1
- package/dist/consumers/index.js +61 -39
- package/dist/consumers/index.js.map +1 -1
- package/dist/consumers/screenAudio.d.ts +64 -0
- package/dist/consumers/screenAudio.d.ts.map +1 -0
- package/dist/consumers/socketReceiveMethods/producerClosed.d.ts.map +1 -1
- package/dist/consumers/startShareScreen.d.ts +14 -0
- package/dist/consumers/startShareScreen.d.ts.map +1 -1
- package/dist/consumers/streamSuccessScreen.d.ts.map +1 -1
- package/dist/{getParticipantMedia-B6LsMxmS.cjs → getParticipantMedia-1okyF4H7.cjs} +4 -4
- package/dist/{getParticipantMedia-B6LsMxmS.cjs.map → getParticipantMedia-1okyF4H7.cjs.map} +1 -1
- package/dist/{getParticipantMedia-B8MFkrT1.js → getParticipantMedia-DEJwXXhU.js} +4 -4
- package/dist/{getParticipantMedia-B8MFkrT1.js.map → getParticipantMedia-DEJwXXhU.js.map} +1 -1
- package/dist/index.cjs +36 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1523 -1493
- package/dist/index.native.cjs +36 -6
- package/dist/index.native.cjs.map +1 -1
- package/dist/index.native.d.ts +4 -0
- package/dist/index.native.d.ts.map +1 -1
- package/dist/index.native.js +105 -75
- package/dist/{joinLocalRoom-X3NXzGmE.js → joinLocalRoom-DS6_6lJL.js} +26 -23
- package/dist/joinLocalRoom-DS6_6lJL.js.map +1 -0
- package/dist/{joinLocalRoom-XjGmL1_k.cjs → joinLocalRoom-Dsn39SwS.cjs} +26 -23
- package/dist/joinLocalRoom-Dsn39SwS.cjs.map +1 -0
- package/dist/{joinRoomOnMediaSFU-BnAWLciF.js → joinRoomOnMediaSFU-B6tTA0Mx.js} +17 -13
- package/dist/joinRoomOnMediaSFU-B6tTA0Mx.js.map +1 -0
- package/dist/{joinRoomOnMediaSFU-D2C7q1GK.cjs → joinRoomOnMediaSFU-CxwD9fBz.cjs} +17 -13
- package/dist/joinRoomOnMediaSFU-CxwD9fBz.cjs.map +1 -0
- package/dist/methods/index.cjs +12 -8
- package/dist/methods/index.cjs.map +1 -1
- package/dist/methods/index.js +14 -9
- package/dist/methods/index.js.map +1 -1
- package/dist/methods/socketReceive/getDomains.d.ts.map +1 -1
- package/dist/methods/utils/checkLimitsAndMakeRequest.d.ts.map +1 -1
- package/dist/methods/utils/createResponseJoinRoom.d.ts.map +1 -1
- package/dist/methods/welcome/handleWelcomeRequest.d.ts.map +1 -1
- package/dist/sockets/SocketManager.d.ts.map +1 -1
- package/dist/sockets/mediaSocketErrors.d.ts +62 -0
- package/dist/sockets/mediaSocketErrors.d.ts.map +1 -0
- package/dist/types/index.cjs +4 -3
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.js +39 -38
- package/dist/types/shared-base-types.d.ts +8 -0
- package/dist/types/shared-base-types.d.ts.map +1 -1
- package/dist/{updateParticipantAudioDecibels-DiJ_LFfH.js → updateParticipantAudioDecibels-BBfdHWQ0.js} +344 -61
- package/dist/updateParticipantAudioDecibels-BBfdHWQ0.js.map +1 -0
- package/dist/{updateParticipantAudioDecibels-BJ2PxJJD.cjs → updateParticipantAudioDecibels-Dni8i6AY.cjs} +306 -23
- package/dist/updateParticipantAudioDecibels-Dni8i6AY.cjs.map +1 -0
- package/package.json +3 -2
- package/src/ProducerClient/producerClientEmits/roomVideoPolicy.ts +41 -0
- package/src/ProducerClient/producerClientEmits/updateRoomParametersClient.ts +19 -21
- package/src/consumers/closeAndResize.ts +14 -0
- package/src/consumers/connectIps.ts +81 -8
- package/src/consumers/connectSendTransportScreenAudio.ts +184 -0
- package/src/consumers/consumerBackupPreference.ts +43 -0
- package/src/consumers/disconnectSendTransportScreen.ts +8 -0
- package/src/consumers/getPipedProducersAlt.ts +4 -0
- package/src/consumers/index.ts +3 -0
- package/src/consumers/screenAudio.ts +132 -0
- package/src/consumers/socketReceiveMethods/producerClosed.ts +3 -0
- package/src/consumers/startShareScreen.ts +44 -8
- package/src/consumers/streamSuccessScreen.ts +11 -0
- package/src/index.native.ts +4 -0
- package/src/index.ts +4 -0
- package/src/methods/socketReceive/getDomains.ts +4 -0
- package/src/methods/utils/checkLimitsAndMakeRequest.ts +24 -11
- package/src/methods/utils/createResponseJoinRoom.ts +2 -1
- package/src/methods/welcome/handleWelcomeRequest.ts +15 -6
- package/src/sockets/SocketManager.ts +76 -12
- package/src/sockets/mediaSocketErrors.ts +156 -0
- package/src/types/shared-base-types.ts +8 -0
- package/dist/audioProcessing-0z5KlcmO.js +0 -35
- package/dist/audioProcessing-0z5KlcmO.js.map +0 -1
- package/dist/audioProcessing-BpbrdCk-.cjs +0 -34
- package/dist/audioProcessing-BpbrdCk-.cjs.map +0 -1
- package/dist/joinLocalRoom-X3NXzGmE.js.map +0 -1
- package/dist/joinLocalRoom-XjGmL1_k.cjs.map +0 -1
- package/dist/joinRoomOnMediaSFU-BnAWLciF.js.map +0 -1
- package/dist/joinRoomOnMediaSFU-D2C7q1GK.cjs.map +0 -1
- package/dist/updateParticipantAudioDecibels-BJ2PxJJD.cjs.map +0 -1
- package/dist/updateParticipantAudioDecibels-DiJ_LFfH.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a, b, d, c, e, f, j, m, p, u } from "./joinLocalRoom-
|
|
2
|
-
import {
|
|
3
|
-
import { Q as Q2, u as u3, m as m3, A as A2, f as f3, e as e3, a as a10, c as c3, b as b3, d as d3, l as l2, y as y2, p as p3, D as D2, g as g2, k as k2, x as x2, o as o2, C as C2, h as h2, j as j3, q as q2, z as z2, r as r2, E as E2, F as F2, s as s2, i as i2, w as w2, n as n2, B as B2, t as t2, v as v2 } from "./joinRoomOnMediaSFU-
|
|
1
|
+
import { a, b, d, c, e, f, j, m, p, u } from "./joinLocalRoom-DS6_6lJL.js";
|
|
2
|
+
import { C, ad, ac, Z, ak, _, ai, a as a2, $, a0, b as b2, X, d as d2, e as e2, f as f2, g, h, aq, i, j as j2, k, l, ab, m as m2, ao, c as c2, a1, n, o, p as p2, a9, q, ap, r, af, s, a2 as a22, a3, a4, t, ag, Y, U, ae, v, V, w, x, y, W, D, H, z, am, A, a5, al, B, E, F, G, a6, O, aj, an, ah, I, J, K, L, M, N, P, Q, R, S, aa, T, u as u2, a7, a8 } from "./updateParticipantAudioDecibels-BBfdHWQ0.js";
|
|
3
|
+
import { Q as Q2, u as u3, m as m3, A as A2, f as f3, e as e3, a as a10, c as c3, b as b3, d as d3, l as l2, y as y2, p as p3, D as D2, g as g2, k as k2, x as x2, o as o2, C as C2, h as h2, j as j3, q as q2, z as z2, r as r2, E as E2, F as F2, s as s2, i as i2, w as w2, n as n2, B as B2, t as t2, v as v2 } from "./joinRoomOnMediaSFU-B6tTA0Mx.js";
|
|
4
4
|
import { b as b4, e as e4, d as d4, g as g3, f as f4, l as l3, k as k3, j as j4, i as i3, p as p4, c as c4, a as a11, r as r3, h as h3, s as s3, m as m4 } from "./translationConsumerSwitch-BUODiT6o.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { C as C3, M as M2, a as a12, c as c5, b as b5, h as h4, f as f5, d as d5, i as i4, e as e5, g as g4, n as n3, p as p5, r as r4, v as v3 } from "./audioProcessing-Ca5wm1nV.js";
|
|
6
|
+
import { _ as getCurrentParams, W as getLocalVideoStream } from "./getParticipantMedia-DEJwXXhU.js";
|
|
7
|
+
import { aD, aR, w as w3, x as x3, f as f6, y as y3, aP, ar, aU, aS, ab as ab2, at, aI, a4 as a42, Z as Z2, au, aV, aL, az, X as X2, aG, a7 as a72, N as N2, a8 as a82, b0, a2 as a23, aM, aQ, aq as aq2, aO, aw, av, ai as ai2, V as V2, U as U2, T as T2, Y as Y2, a6 as a62, aN, ax, aA, an as an2, q as q3, t as t3, h as h5, Q as Q3, a as a13, R as R2, u as u4, l as l4, b as b6, c as c6, S as S2, g as g5, d as d6, i as i5, j as j5, k as k4, n as n4, v as v4, z as z3, H as H2, J as J2, O as O2, $ as $2, a5 as a52, a3 as a32, o as o3, m as m5, e as e6, ad as ad2, aa as aa2, p as p6, ak as ak2, aY, a_, aZ, aW, aT, aF, A as A3, B as B3, C as C4, D as D3, ae as ae2, r as r5, a$, ag as ag2, I as I2, P as P2, af as af2, al as al2, a1 as a14, a0 as a02, s as s4, aC, ah as ah2, a9 as a92, aB, aK, ay, E as E3, aj as aj2, ao as ao2, aE, ac as ac2, aX, F as F3, am as am2, ap as ap2, K as K2, aH, aJ, L as L2, M as M3, G as G2, as } from "./getParticipantMedia-DEJwXXhU.js";
|
|
7
8
|
import { COMMON_LANGUAGE_CODES, MediaStream as MediaStream2, MediaStreamTrack, RTCView, SUPPORTED_LANGUAGE_CODES, SoundPlayer, TTS_PROVIDERS, addPanelist, addedAsPanelist, allMembers, allMembersRest, allWaitingRoomMembers, banParticipant, bulkUpdateParticipantPermissions, clickChat, controlMediaHost, createLiveSubtitle, createResponseJoinRoom, createRoomOnMediaSFU, disconnect, disconnectUserSelf, fetchLanguagesViaSocket, fetchVoicesViaSocket, focusPanelists, formatNumber, generateRandomMessages, generateRandomParticipants, generateRandomPolls, generateRandomRequestList, generateRandomWaitingRoomList, getAvailableVoices, getCommonLanguages, getDomains, getLanguageMetadata, getLanguageName, getLanguageNativeName, getOverlayPosition, getSubtitleForSpeaker, getSupportedLanguages, handleCreateRoom, handleJoinRoom, handleWelcomeRequest, initialValuesState, isLanguageSupported, isSubtitleExpired, launchPanelists, launchPermissions, mediaDevices, meetingEnded, meetingStillThere, meetingTimeRemaining, normalizeLanguageCode, panelistControlMedia, panelistFocusChanged, panelistsUpdated, participantRequested, permissionConfigUpdated, permissionUpdated, personJoined, pollUpdated, producerMediaClosed, producerMediaPaused, producerMediaResumed, pruneExpiredSubtitles, reInitiateRecording, receiveMessage, recordingNotice, registerGlobals, removePanelist, removedFromPanelists, roomRecordParams, screenProducerId, sleep, startMeetingProgressTimer, startRecords, stoppedRecording, translationChannelsAvailable, translationConfigUpdated, translationError, translationLanguageSet, translationMemberState, translationProducerClosed, translationProducerReady, translationRoomConfig, translationSpeakerOutputChanged, translationSubscribed, translationTranscript, translationUnsubscribed, unfocusPanelists, updateConsumingDomains, updateLiveSubtitlesFromTranscript, updateMediaSettings, updatePanelists, updateParticipantPermission, updatePermissionConfig, updatedCoHost, userWaiting, validateWelcomeAlphanumeric, validateWelcomeInputs } from "./methods/index.js";
|
|
8
|
-
import { v as v4 } from "./audioProcessing-0z5KlcmO.js";
|
|
9
9
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
10
10
|
var selfie_segmentation = {};
|
|
11
11
|
var hasRequiredSelfie_segmentation;
|
|
@@ -14,102 +14,102 @@ function requireSelfie_segmentation() {
|
|
|
14
14
|
hasRequiredSelfie_segmentation = 1;
|
|
15
15
|
(function() {
|
|
16
16
|
var x4;
|
|
17
|
-
function aa3(
|
|
18
|
-
var
|
|
17
|
+
function aa3(a15) {
|
|
18
|
+
var b7 = 0;
|
|
19
19
|
return function() {
|
|
20
|
-
return
|
|
20
|
+
return b7 < a15.length ? { done: false, value: a15[b7++] } : { done: true };
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
var ba = "function" == typeof Object.defineProperties ? Object.defineProperty : function(
|
|
24
|
-
if (
|
|
25
|
-
|
|
26
|
-
return
|
|
23
|
+
var ba = "function" == typeof Object.defineProperties ? Object.defineProperty : function(a15, b7, c7) {
|
|
24
|
+
if (a15 == Array.prototype || a15 == Object.prototype) return a15;
|
|
25
|
+
a15[b7] = c7.value;
|
|
26
|
+
return a15;
|
|
27
27
|
};
|
|
28
|
-
function ca(
|
|
29
|
-
|
|
30
|
-
for (var
|
|
31
|
-
var
|
|
32
|
-
if (
|
|
28
|
+
function ca(a15) {
|
|
29
|
+
a15 = ["object" == typeof globalThis && globalThis, a15, "object" == typeof window && window, "object" == typeof self && self, "object" == typeof commonjsGlobal && commonjsGlobal];
|
|
30
|
+
for (var b7 = 0; b7 < a15.length; ++b7) {
|
|
31
|
+
var c7 = a15[b7];
|
|
32
|
+
if (c7 && c7.Math == Math) return c7;
|
|
33
33
|
}
|
|
34
34
|
throw Error("Cannot find global object");
|
|
35
35
|
}
|
|
36
36
|
var y4 = ca(this);
|
|
37
|
-
function z4(
|
|
38
|
-
if (
|
|
39
|
-
var
|
|
40
|
-
|
|
41
|
-
for (var
|
|
42
|
-
var
|
|
43
|
-
if (!(
|
|
44
|
-
|
|
37
|
+
function z4(a15, b7) {
|
|
38
|
+
if (b7) a: {
|
|
39
|
+
var c7 = y4;
|
|
40
|
+
a15 = a15.split(".");
|
|
41
|
+
for (var d7 = 0; d7 < a15.length - 1; d7++) {
|
|
42
|
+
var e7 = a15[d7];
|
|
43
|
+
if (!(e7 in c7)) break a;
|
|
44
|
+
c7 = c7[e7];
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
a15 = a15[a15.length - 1];
|
|
47
|
+
d7 = c7[a15];
|
|
48
|
+
b7 = b7(d7);
|
|
49
|
+
b7 != d7 && null != b7 && ba(c7, a15, { configurable: true, writable: true, value: b7 });
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
z4("Symbol", function(
|
|
53
|
-
function
|
|
54
|
-
if (this instanceof
|
|
55
|
-
return new
|
|
52
|
+
z4("Symbol", function(a15) {
|
|
53
|
+
function b7(g6) {
|
|
54
|
+
if (this instanceof b7) throw new TypeError("Symbol is not a constructor");
|
|
55
|
+
return new c7(d7 + (g6 || "") + "_" + e7++, g6);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
this.h =
|
|
59
|
-
ba(this, "description", { configurable: true, writable: true, value:
|
|
57
|
+
function c7(g6, f7) {
|
|
58
|
+
this.h = g6;
|
|
59
|
+
ba(this, "description", { configurable: true, writable: true, value: f7 });
|
|
60
60
|
}
|
|
61
|
-
if (
|
|
62
|
-
|
|
61
|
+
if (a15) return a15;
|
|
62
|
+
c7.prototype.toString = function() {
|
|
63
63
|
return this.h;
|
|
64
64
|
};
|
|
65
|
-
var
|
|
66
|
-
return
|
|
65
|
+
var d7 = "jscomp_symbol_" + (1e9 * Math.random() >>> 0) + "_", e7 = 0;
|
|
66
|
+
return b7;
|
|
67
67
|
});
|
|
68
|
-
z4("Symbol.iterator", function(
|
|
69
|
-
if (
|
|
70
|
-
|
|
71
|
-
for (var
|
|
72
|
-
var
|
|
73
|
-
"function" === typeof
|
|
68
|
+
z4("Symbol.iterator", function(a15) {
|
|
69
|
+
if (a15) return a15;
|
|
70
|
+
a15 = Symbol("Symbol.iterator");
|
|
71
|
+
for (var b7 = "Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "), c7 = 0; c7 < b7.length; c7++) {
|
|
72
|
+
var d7 = y4[b7[c7]];
|
|
73
|
+
"function" === typeof d7 && "function" != typeof d7.prototype[a15] && ba(d7.prototype, a15, { configurable: true, writable: true, value: function() {
|
|
74
74
|
return da(aa3(this));
|
|
75
75
|
} });
|
|
76
76
|
}
|
|
77
|
-
return
|
|
77
|
+
return a15;
|
|
78
78
|
});
|
|
79
|
-
function da(
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
function da(a15) {
|
|
80
|
+
a15 = { next: a15 };
|
|
81
|
+
a15[Symbol.iterator] = function() {
|
|
82
82
|
return this;
|
|
83
83
|
};
|
|
84
|
-
return
|
|
84
|
+
return a15;
|
|
85
85
|
}
|
|
86
|
-
function A4(
|
|
87
|
-
var
|
|
88
|
-
return
|
|
86
|
+
function A4(a15) {
|
|
87
|
+
var b7 = "undefined" != typeof Symbol && Symbol.iterator && a15[Symbol.iterator];
|
|
88
|
+
return b7 ? b7.call(a15) : { next: aa3(a15) };
|
|
89
89
|
}
|
|
90
|
-
function ea(
|
|
91
|
-
if (!(
|
|
92
|
-
|
|
93
|
-
for (var
|
|
94
|
-
|
|
90
|
+
function ea(a15) {
|
|
91
|
+
if (!(a15 instanceof Array)) {
|
|
92
|
+
a15 = A4(a15);
|
|
93
|
+
for (var b7, c7 = []; !(b7 = a15.next()).done; ) c7.push(b7.value);
|
|
94
|
+
a15 = c7;
|
|
95
95
|
}
|
|
96
|
-
return
|
|
96
|
+
return a15;
|
|
97
97
|
}
|
|
98
|
-
var fa = "function" == typeof Object.assign ? Object.assign : function(
|
|
99
|
-
for (var
|
|
100
|
-
var
|
|
101
|
-
if (
|
|
98
|
+
var fa = "function" == typeof Object.assign ? Object.assign : function(a15, b7) {
|
|
99
|
+
for (var c7 = 1; c7 < arguments.length; c7++) {
|
|
100
|
+
var d7 = arguments[c7];
|
|
101
|
+
if (d7) for (var e7 in d7) Object.prototype.hasOwnProperty.call(d7, e7) && (a15[e7] = d7[e7]);
|
|
102
102
|
}
|
|
103
|
-
return
|
|
103
|
+
return a15;
|
|
104
104
|
};
|
|
105
|
-
z4("Object.assign", function(
|
|
106
|
-
return
|
|
105
|
+
z4("Object.assign", function(a15) {
|
|
106
|
+
return a15 || fa;
|
|
107
107
|
});
|
|
108
|
-
var ha = "function" == typeof Object.create ? Object.create : function(
|
|
109
|
-
function
|
|
108
|
+
var ha = "function" == typeof Object.create ? Object.create : function(a15) {
|
|
109
|
+
function b7() {
|
|
110
110
|
}
|
|
111
|
-
|
|
112
|
-
return new
|
|
111
|
+
b7.prototype = a15;
|
|
112
|
+
return new b7();
|
|
113
113
|
}, ia;
|
|
114
114
|
if ("function" == typeof Object.setPrototypeOf) ia = Object.setPrototypeOf;
|
|
115
115
|
else {
|
|
@@ -120,26 +120,26 @@ function requireSelfie_segmentation() {
|
|
|
120
120
|
la.__proto__ = ka;
|
|
121
121
|
ja = la.a;
|
|
122
122
|
break a;
|
|
123
|
-
} catch (
|
|
123
|
+
} catch (a15) {
|
|
124
124
|
}
|
|
125
125
|
ja = false;
|
|
126
126
|
}
|
|
127
|
-
ia = ja ? function(
|
|
128
|
-
|
|
129
|
-
if (
|
|
130
|
-
return
|
|
127
|
+
ia = ja ? function(a15, b7) {
|
|
128
|
+
a15.__proto__ = b7;
|
|
129
|
+
if (a15.__proto__ !== b7) throw new TypeError(a15 + " is not extensible");
|
|
130
|
+
return a15;
|
|
131
131
|
} : null;
|
|
132
132
|
}
|
|
133
133
|
var ma = ia;
|
|
134
|
-
function na(
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
if (ma) ma(
|
|
138
|
-
else for (var
|
|
139
|
-
var
|
|
140
|
-
|
|
141
|
-
} else
|
|
142
|
-
|
|
134
|
+
function na(a15, b7) {
|
|
135
|
+
a15.prototype = ha(b7.prototype);
|
|
136
|
+
a15.prototype.constructor = a15;
|
|
137
|
+
if (ma) ma(a15, b7);
|
|
138
|
+
else for (var c7 in b7) if ("prototype" != c7) if (Object.defineProperties) {
|
|
139
|
+
var d7 = Object.getOwnPropertyDescriptor(b7, c7);
|
|
140
|
+
d7 && Object.defineProperty(a15, c7, d7);
|
|
141
|
+
} else a15[c7] = b7[c7];
|
|
142
|
+
a15.za = b7.prototype;
|
|
143
143
|
}
|
|
144
144
|
function oa() {
|
|
145
145
|
this.m = false;
|
|
@@ -149,145 +149,145 @@ function requireSelfie_segmentation() {
|
|
|
149
149
|
this.v = this.s = 0;
|
|
150
150
|
this.l = null;
|
|
151
151
|
}
|
|
152
|
-
function pa(
|
|
153
|
-
if (
|
|
154
|
-
|
|
152
|
+
function pa(a15) {
|
|
153
|
+
if (a15.m) throw new TypeError("Generator is already running");
|
|
154
|
+
a15.m = true;
|
|
155
155
|
}
|
|
156
|
-
oa.prototype.u = function(
|
|
157
|
-
this.i =
|
|
156
|
+
oa.prototype.u = function(a15) {
|
|
157
|
+
this.i = a15;
|
|
158
158
|
};
|
|
159
|
-
function qa(
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
function qa(a15, b7) {
|
|
160
|
+
a15.l = { ma: b7, na: true };
|
|
161
|
+
a15.h = a15.s || a15.v;
|
|
162
162
|
}
|
|
163
|
-
oa.prototype.return = function(
|
|
164
|
-
this.l = { return:
|
|
163
|
+
oa.prototype.return = function(a15) {
|
|
164
|
+
this.l = { return: a15 };
|
|
165
165
|
this.h = this.v;
|
|
166
166
|
};
|
|
167
|
-
function D4(
|
|
168
|
-
|
|
169
|
-
return { value:
|
|
167
|
+
function D4(a15, b7, c7) {
|
|
168
|
+
a15.h = c7;
|
|
169
|
+
return { value: b7 };
|
|
170
170
|
}
|
|
171
|
-
function ra(
|
|
171
|
+
function ra(a15) {
|
|
172
172
|
this.h = new oa();
|
|
173
|
-
this.i =
|
|
174
|
-
}
|
|
175
|
-
function sa(
|
|
176
|
-
pa(
|
|
177
|
-
var
|
|
178
|
-
if (
|
|
179
|
-
return { value:
|
|
180
|
-
},
|
|
181
|
-
|
|
182
|
-
return ua(
|
|
183
|
-
}
|
|
184
|
-
function ta(
|
|
173
|
+
this.i = a15;
|
|
174
|
+
}
|
|
175
|
+
function sa(a15, b7) {
|
|
176
|
+
pa(a15.h);
|
|
177
|
+
var c7 = a15.h.j;
|
|
178
|
+
if (c7) return ta(a15, "return" in c7 ? c7["return"] : function(d7) {
|
|
179
|
+
return { value: d7, done: true };
|
|
180
|
+
}, b7, a15.h.return);
|
|
181
|
+
a15.h.return(b7);
|
|
182
|
+
return ua(a15);
|
|
183
|
+
}
|
|
184
|
+
function ta(a15, b7, c7, d7) {
|
|
185
185
|
try {
|
|
186
|
-
var
|
|
187
|
-
if (!(
|
|
188
|
-
if (!
|
|
189
|
-
var
|
|
190
|
-
} catch (
|
|
191
|
-
return
|
|
186
|
+
var e7 = b7.call(a15.h.j, c7);
|
|
187
|
+
if (!(e7 instanceof Object)) throw new TypeError("Iterator result " + e7 + " is not an object");
|
|
188
|
+
if (!e7.done) return a15.h.m = false, e7;
|
|
189
|
+
var g6 = e7.value;
|
|
190
|
+
} catch (f7) {
|
|
191
|
+
return a15.h.j = null, qa(a15.h, f7), ua(a15);
|
|
192
192
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
return ua(
|
|
196
|
-
}
|
|
197
|
-
function ua(
|
|
198
|
-
for (;
|
|
199
|
-
var
|
|
200
|
-
if (
|
|
201
|
-
} catch (
|
|
202
|
-
|
|
193
|
+
a15.h.j = null;
|
|
194
|
+
d7.call(a15.h, g6);
|
|
195
|
+
return ua(a15);
|
|
196
|
+
}
|
|
197
|
+
function ua(a15) {
|
|
198
|
+
for (; a15.h.h; ) try {
|
|
199
|
+
var b7 = a15.i(a15.h);
|
|
200
|
+
if (b7) return a15.h.m = false, { value: b7.value, done: false };
|
|
201
|
+
} catch (c7) {
|
|
202
|
+
a15.h.i = void 0, qa(a15.h, c7);
|
|
203
203
|
}
|
|
204
|
-
|
|
205
|
-
if (
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
if (
|
|
209
|
-
return { value:
|
|
204
|
+
a15.h.m = false;
|
|
205
|
+
if (a15.h.l) {
|
|
206
|
+
b7 = a15.h.l;
|
|
207
|
+
a15.h.l = null;
|
|
208
|
+
if (b7.na) throw b7.ma;
|
|
209
|
+
return { value: b7.return, done: true };
|
|
210
210
|
}
|
|
211
211
|
return { value: void 0, done: true };
|
|
212
212
|
}
|
|
213
|
-
function va(
|
|
214
|
-
this.next = function(
|
|
215
|
-
pa(
|
|
216
|
-
|
|
217
|
-
return
|
|
213
|
+
function va(a15) {
|
|
214
|
+
this.next = function(b7) {
|
|
215
|
+
pa(a15.h);
|
|
216
|
+
a15.h.j ? b7 = ta(a15, a15.h.j.next, b7, a15.h.u) : (a15.h.u(b7), b7 = ua(a15));
|
|
217
|
+
return b7;
|
|
218
218
|
};
|
|
219
|
-
this.throw = function(
|
|
220
|
-
pa(
|
|
221
|
-
|
|
222
|
-
return
|
|
219
|
+
this.throw = function(b7) {
|
|
220
|
+
pa(a15.h);
|
|
221
|
+
a15.h.j ? b7 = ta(a15, a15.h.j["throw"], b7, a15.h.u) : (qa(a15.h, b7), b7 = ua(a15));
|
|
222
|
+
return b7;
|
|
223
223
|
};
|
|
224
|
-
this.return = function(
|
|
225
|
-
return sa(
|
|
224
|
+
this.return = function(b7) {
|
|
225
|
+
return sa(a15, b7);
|
|
226
226
|
};
|
|
227
227
|
this[Symbol.iterator] = function() {
|
|
228
228
|
return this;
|
|
229
229
|
};
|
|
230
230
|
}
|
|
231
|
-
function wa(
|
|
232
|
-
function
|
|
233
|
-
return
|
|
231
|
+
function wa(a15) {
|
|
232
|
+
function b7(d7) {
|
|
233
|
+
return a15.next(d7);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
return
|
|
235
|
+
function c7(d7) {
|
|
236
|
+
return a15.throw(d7);
|
|
237
237
|
}
|
|
238
|
-
return new Promise(function(
|
|
239
|
-
function
|
|
240
|
-
|
|
238
|
+
return new Promise(function(d7, e7) {
|
|
239
|
+
function g6(f7) {
|
|
240
|
+
f7.done ? d7(f7.value) : Promise.resolve(f7.value).then(b7, c7).then(g6, e7);
|
|
241
241
|
}
|
|
242
|
-
|
|
242
|
+
g6(a15.next());
|
|
243
243
|
});
|
|
244
244
|
}
|
|
245
|
-
function E4(
|
|
246
|
-
return wa(new va(new ra(
|
|
245
|
+
function E4(a15) {
|
|
246
|
+
return wa(new va(new ra(a15)));
|
|
247
247
|
}
|
|
248
|
-
z4("Promise", function(
|
|
249
|
-
function
|
|
248
|
+
z4("Promise", function(a15) {
|
|
249
|
+
function b7(f7) {
|
|
250
250
|
this.i = 0;
|
|
251
251
|
this.j = void 0;
|
|
252
252
|
this.h = [];
|
|
253
253
|
this.u = false;
|
|
254
|
-
var
|
|
254
|
+
var h6 = this.l();
|
|
255
255
|
try {
|
|
256
|
-
|
|
256
|
+
f7(h6.resolve, h6.reject);
|
|
257
257
|
} catch (k5) {
|
|
258
|
-
|
|
258
|
+
h6.reject(k5);
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function c7() {
|
|
262
262
|
this.h = null;
|
|
263
263
|
}
|
|
264
|
-
function
|
|
265
|
-
return
|
|
266
|
-
|
|
264
|
+
function d7(f7) {
|
|
265
|
+
return f7 instanceof b7 ? f7 : new b7(function(h6) {
|
|
266
|
+
h6(f7);
|
|
267
267
|
});
|
|
268
268
|
}
|
|
269
|
-
if (
|
|
270
|
-
|
|
269
|
+
if (a15) return a15;
|
|
270
|
+
c7.prototype.i = function(f7) {
|
|
271
271
|
if (null == this.h) {
|
|
272
272
|
this.h = [];
|
|
273
|
-
var
|
|
273
|
+
var h6 = this;
|
|
274
274
|
this.j(function() {
|
|
275
|
-
|
|
275
|
+
h6.m();
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
|
-
this.h.push(
|
|
278
|
+
this.h.push(f7);
|
|
279
279
|
};
|
|
280
|
-
var
|
|
281
|
-
|
|
282
|
-
|
|
280
|
+
var e7 = y4.setTimeout;
|
|
281
|
+
c7.prototype.j = function(f7) {
|
|
282
|
+
e7(f7, 0);
|
|
283
283
|
};
|
|
284
|
-
|
|
284
|
+
c7.prototype.m = function() {
|
|
285
285
|
for (; this.h && this.h.length; ) {
|
|
286
|
-
var
|
|
286
|
+
var f7 = this.h;
|
|
287
287
|
this.h = [];
|
|
288
|
-
for (var
|
|
289
|
-
var k5 =
|
|
290
|
-
|
|
288
|
+
for (var h6 = 0; h6 < f7.length; ++h6) {
|
|
289
|
+
var k5 = f7[h6];
|
|
290
|
+
f7[h6] = null;
|
|
291
291
|
try {
|
|
292
292
|
k5();
|
|
293
293
|
} catch (l5) {
|
|
@@ -297,198 +297,198 @@ function requireSelfie_segmentation() {
|
|
|
297
297
|
}
|
|
298
298
|
this.h = null;
|
|
299
299
|
};
|
|
300
|
-
|
|
300
|
+
c7.prototype.l = function(f7) {
|
|
301
301
|
this.j(function() {
|
|
302
|
-
throw
|
|
302
|
+
throw f7;
|
|
303
303
|
});
|
|
304
304
|
};
|
|
305
|
-
|
|
306
|
-
function
|
|
305
|
+
b7.prototype.l = function() {
|
|
306
|
+
function f7(l5) {
|
|
307
307
|
return function(m6) {
|
|
308
|
-
k5 || (k5 = true, l5.call(
|
|
308
|
+
k5 || (k5 = true, l5.call(h6, m6));
|
|
309
309
|
};
|
|
310
310
|
}
|
|
311
|
-
var
|
|
312
|
-
return { resolve:
|
|
311
|
+
var h6 = this, k5 = false;
|
|
312
|
+
return { resolve: f7(this.I), reject: f7(this.m) };
|
|
313
313
|
};
|
|
314
|
-
|
|
315
|
-
if (
|
|
316
|
-
else if (
|
|
314
|
+
b7.prototype.I = function(f7) {
|
|
315
|
+
if (f7 === this) this.m(new TypeError("A Promise cannot resolve to itself"));
|
|
316
|
+
else if (f7 instanceof b7) this.L(f7);
|
|
317
317
|
else {
|
|
318
|
-
a: switch (typeof
|
|
318
|
+
a: switch (typeof f7) {
|
|
319
319
|
case "object":
|
|
320
|
-
var
|
|
320
|
+
var h6 = null != f7;
|
|
321
321
|
break a;
|
|
322
322
|
case "function":
|
|
323
|
-
|
|
323
|
+
h6 = true;
|
|
324
324
|
break a;
|
|
325
325
|
default:
|
|
326
|
-
|
|
326
|
+
h6 = false;
|
|
327
327
|
}
|
|
328
|
-
|
|
328
|
+
h6 ? this.F(f7) : this.s(f7);
|
|
329
329
|
}
|
|
330
330
|
};
|
|
331
|
-
|
|
332
|
-
var
|
|
331
|
+
b7.prototype.F = function(f7) {
|
|
332
|
+
var h6 = void 0;
|
|
333
333
|
try {
|
|
334
|
-
|
|
334
|
+
h6 = f7.then;
|
|
335
335
|
} catch (k5) {
|
|
336
336
|
this.m(k5);
|
|
337
337
|
return;
|
|
338
338
|
}
|
|
339
|
-
"function" == typeof
|
|
339
|
+
"function" == typeof h6 ? this.M(h6, f7) : this.s(f7);
|
|
340
340
|
};
|
|
341
|
-
|
|
342
|
-
this.v(2,
|
|
341
|
+
b7.prototype.m = function(f7) {
|
|
342
|
+
this.v(2, f7);
|
|
343
343
|
};
|
|
344
|
-
|
|
345
|
-
this.v(1,
|
|
344
|
+
b7.prototype.s = function(f7) {
|
|
345
|
+
this.v(1, f7);
|
|
346
346
|
};
|
|
347
|
-
|
|
348
|
-
if (0 != this.i) throw Error("Cannot settle(" +
|
|
349
|
-
this.i =
|
|
350
|
-
this.j =
|
|
347
|
+
b7.prototype.v = function(f7, h6) {
|
|
348
|
+
if (0 != this.i) throw Error("Cannot settle(" + f7 + ", " + h6 + "): Promise already settled in state" + this.i);
|
|
349
|
+
this.i = f7;
|
|
350
|
+
this.j = h6;
|
|
351
351
|
2 === this.i && this.K();
|
|
352
352
|
this.H();
|
|
353
353
|
};
|
|
354
|
-
|
|
355
|
-
var
|
|
356
|
-
|
|
357
|
-
if (
|
|
358
|
-
var
|
|
359
|
-
"undefined" !== typeof
|
|
354
|
+
b7.prototype.K = function() {
|
|
355
|
+
var f7 = this;
|
|
356
|
+
e7(function() {
|
|
357
|
+
if (f7.D()) {
|
|
358
|
+
var h6 = y4.console;
|
|
359
|
+
"undefined" !== typeof h6 && h6.error(f7.j);
|
|
360
360
|
}
|
|
361
361
|
}, 1);
|
|
362
362
|
};
|
|
363
|
-
|
|
363
|
+
b7.prototype.D = function() {
|
|
364
364
|
if (this.u) return false;
|
|
365
|
-
var
|
|
365
|
+
var f7 = y4.CustomEvent, h6 = y4.Event, k5 = y4.dispatchEvent;
|
|
366
366
|
if ("undefined" === typeof k5) return true;
|
|
367
|
-
"function" === typeof
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
return k5(
|
|
367
|
+
"function" === typeof f7 ? f7 = new f7("unhandledrejection", { cancelable: true }) : "function" === typeof h6 ? f7 = new h6("unhandledrejection", { cancelable: true }) : (f7 = y4.document.createEvent("CustomEvent"), f7.initCustomEvent("unhandledrejection", false, true, f7));
|
|
368
|
+
f7.promise = this;
|
|
369
|
+
f7.reason = this.j;
|
|
370
|
+
return k5(f7);
|
|
371
371
|
};
|
|
372
|
-
|
|
372
|
+
b7.prototype.H = function() {
|
|
373
373
|
if (null != this.h) {
|
|
374
|
-
for (var
|
|
374
|
+
for (var f7 = 0; f7 < this.h.length; ++f7) g6.i(this.h[f7]);
|
|
375
375
|
this.h = null;
|
|
376
376
|
}
|
|
377
377
|
};
|
|
378
|
-
var
|
|
379
|
-
|
|
380
|
-
var
|
|
381
|
-
|
|
378
|
+
var g6 = new c7();
|
|
379
|
+
b7.prototype.L = function(f7) {
|
|
380
|
+
var h6 = this.l();
|
|
381
|
+
f7.T(h6.resolve, h6.reject);
|
|
382
382
|
};
|
|
383
|
-
|
|
383
|
+
b7.prototype.M = function(f7, h6) {
|
|
384
384
|
var k5 = this.l();
|
|
385
385
|
try {
|
|
386
|
-
|
|
386
|
+
f7.call(h6, k5.resolve, k5.reject);
|
|
387
387
|
} catch (l5) {
|
|
388
388
|
k5.reject(l5);
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
|
-
|
|
392
|
-
function k5(
|
|
393
|
-
return "function" == typeof
|
|
391
|
+
b7.prototype.then = function(f7, h6) {
|
|
392
|
+
function k5(p7, n5) {
|
|
393
|
+
return "function" == typeof p7 ? function(q4) {
|
|
394
394
|
try {
|
|
395
|
-
l5(
|
|
395
|
+
l5(p7(q4));
|
|
396
396
|
} catch (t4) {
|
|
397
397
|
m6(t4);
|
|
398
398
|
}
|
|
399
|
-
} :
|
|
399
|
+
} : n5;
|
|
400
400
|
}
|
|
401
|
-
var l5, m6,
|
|
402
|
-
l5 =
|
|
403
|
-
m6 =
|
|
401
|
+
var l5, m6, r6 = new b7(function(p7, n5) {
|
|
402
|
+
l5 = p7;
|
|
403
|
+
m6 = n5;
|
|
404
404
|
});
|
|
405
|
-
this.T(k5(
|
|
406
|
-
return
|
|
405
|
+
this.T(k5(f7, l5), k5(h6, m6));
|
|
406
|
+
return r6;
|
|
407
407
|
};
|
|
408
|
-
|
|
409
|
-
return this.then(void 0,
|
|
408
|
+
b7.prototype.catch = function(f7) {
|
|
409
|
+
return this.then(void 0, f7);
|
|
410
410
|
};
|
|
411
|
-
|
|
411
|
+
b7.prototype.T = function(f7, h6) {
|
|
412
412
|
function k5() {
|
|
413
413
|
switch (l5.i) {
|
|
414
414
|
case 1:
|
|
415
|
-
|
|
415
|
+
f7(l5.j);
|
|
416
416
|
break;
|
|
417
417
|
case 2:
|
|
418
|
-
|
|
418
|
+
h6(l5.j);
|
|
419
419
|
break;
|
|
420
420
|
default:
|
|
421
421
|
throw Error("Unexpected state: " + l5.i);
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
424
|
var l5 = this;
|
|
425
|
-
null == this.h ?
|
|
425
|
+
null == this.h ? g6.i(k5) : this.h.push(k5);
|
|
426
426
|
this.u = true;
|
|
427
427
|
};
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
return new
|
|
431
|
-
k5(
|
|
428
|
+
b7.resolve = d7;
|
|
429
|
+
b7.reject = function(f7) {
|
|
430
|
+
return new b7(function(h6, k5) {
|
|
431
|
+
k5(f7);
|
|
432
432
|
});
|
|
433
433
|
};
|
|
434
|
-
|
|
435
|
-
return new
|
|
436
|
-
for (var l5 = A4(
|
|
434
|
+
b7.race = function(f7) {
|
|
435
|
+
return new b7(function(h6, k5) {
|
|
436
|
+
for (var l5 = A4(f7), m6 = l5.next(); !m6.done; m6 = l5.next()) d7(m6.value).T(h6, k5);
|
|
437
437
|
});
|
|
438
438
|
};
|
|
439
|
-
|
|
440
|
-
var
|
|
441
|
-
return k5.done ?
|
|
442
|
-
function
|
|
439
|
+
b7.all = function(f7) {
|
|
440
|
+
var h6 = A4(f7), k5 = h6.next();
|
|
441
|
+
return k5.done ? d7([]) : new b7(function(l5, m6) {
|
|
442
|
+
function r6(q4) {
|
|
443
443
|
return function(t4) {
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
0 ==
|
|
444
|
+
p7[q4] = t4;
|
|
445
|
+
n5--;
|
|
446
|
+
0 == n5 && l5(p7);
|
|
447
447
|
};
|
|
448
448
|
}
|
|
449
|
-
var
|
|
449
|
+
var p7 = [], n5 = 0;
|
|
450
450
|
do
|
|
451
|
-
|
|
451
|
+
p7.push(void 0), n5++, d7(k5.value).T(r6(p7.length - 1), m6), k5 = h6.next();
|
|
452
452
|
while (!k5.done);
|
|
453
453
|
});
|
|
454
454
|
};
|
|
455
|
-
return
|
|
455
|
+
return b7;
|
|
456
456
|
});
|
|
457
|
-
function xa(
|
|
458
|
-
|
|
459
|
-
var
|
|
460
|
-
if (!
|
|
461
|
-
var
|
|
462
|
-
return { value:
|
|
457
|
+
function xa(a15, b7) {
|
|
458
|
+
a15 instanceof String && (a15 += "");
|
|
459
|
+
var c7 = 0, d7 = false, e7 = { next: function() {
|
|
460
|
+
if (!d7 && c7 < a15.length) {
|
|
461
|
+
var g6 = c7++;
|
|
462
|
+
return { value: b7(g6, a15[g6]), done: false };
|
|
463
463
|
}
|
|
464
|
-
|
|
464
|
+
d7 = true;
|
|
465
465
|
return { done: true, value: void 0 };
|
|
466
466
|
} };
|
|
467
|
-
|
|
468
|
-
return
|
|
467
|
+
e7[Symbol.iterator] = function() {
|
|
468
|
+
return e7;
|
|
469
469
|
};
|
|
470
|
-
return
|
|
470
|
+
return e7;
|
|
471
471
|
}
|
|
472
|
-
z4("Array.prototype.keys", function(
|
|
473
|
-
return
|
|
474
|
-
return xa(this, function(
|
|
475
|
-
return
|
|
472
|
+
z4("Array.prototype.keys", function(a15) {
|
|
473
|
+
return a15 ? a15 : function() {
|
|
474
|
+
return xa(this, function(b7) {
|
|
475
|
+
return b7;
|
|
476
476
|
});
|
|
477
477
|
};
|
|
478
478
|
});
|
|
479
|
-
z4("Array.prototype.fill", function(
|
|
480
|
-
return
|
|
481
|
-
var
|
|
482
|
-
0 >
|
|
483
|
-
if (null ==
|
|
484
|
-
|
|
485
|
-
0 >
|
|
486
|
-
for (
|
|
479
|
+
z4("Array.prototype.fill", function(a15) {
|
|
480
|
+
return a15 ? a15 : function(b7, c7, d7) {
|
|
481
|
+
var e7 = this.length || 0;
|
|
482
|
+
0 > c7 && (c7 = Math.max(0, e7 + c7));
|
|
483
|
+
if (null == d7 || d7 > e7) d7 = e7;
|
|
484
|
+
d7 = Number(d7);
|
|
485
|
+
0 > d7 && (d7 = Math.max(0, e7 + d7));
|
|
486
|
+
for (c7 = Number(c7 || 0); c7 < d7; c7++) this[c7] = b7;
|
|
487
487
|
return this;
|
|
488
488
|
};
|
|
489
489
|
});
|
|
490
|
-
function F4(
|
|
491
|
-
return
|
|
490
|
+
function F4(a15) {
|
|
491
|
+
return a15 ? a15 : Array.prototype.fill;
|
|
492
492
|
}
|
|
493
493
|
z4("Int8Array.prototype.fill", F4);
|
|
494
494
|
z4("Uint8Array.prototype.fill", F4);
|
|
@@ -499,128 +499,128 @@ function requireSelfie_segmentation() {
|
|
|
499
499
|
z4("Uint32Array.prototype.fill", F4);
|
|
500
500
|
z4("Float32Array.prototype.fill", F4);
|
|
501
501
|
z4("Float64Array.prototype.fill", F4);
|
|
502
|
-
z4("Object.is", function(
|
|
503
|
-
return
|
|
504
|
-
return
|
|
502
|
+
z4("Object.is", function(a15) {
|
|
503
|
+
return a15 ? a15 : function(b7, c7) {
|
|
504
|
+
return b7 === c7 ? 0 !== b7 || 1 / b7 === 1 / c7 : b7 !== b7 && c7 !== c7;
|
|
505
505
|
};
|
|
506
506
|
});
|
|
507
|
-
z4("Array.prototype.includes", function(
|
|
508
|
-
return
|
|
509
|
-
var
|
|
510
|
-
|
|
511
|
-
var
|
|
512
|
-
|
|
513
|
-
for (0 >
|
|
514
|
-
var
|
|
515
|
-
if (
|
|
507
|
+
z4("Array.prototype.includes", function(a15) {
|
|
508
|
+
return a15 ? a15 : function(b7, c7) {
|
|
509
|
+
var d7 = this;
|
|
510
|
+
d7 instanceof String && (d7 = String(d7));
|
|
511
|
+
var e7 = d7.length;
|
|
512
|
+
c7 = c7 || 0;
|
|
513
|
+
for (0 > c7 && (c7 = Math.max(c7 + e7, 0)); c7 < e7; c7++) {
|
|
514
|
+
var g6 = d7[c7];
|
|
515
|
+
if (g6 === b7 || Object.is(g6, b7)) return true;
|
|
516
516
|
}
|
|
517
517
|
return false;
|
|
518
518
|
};
|
|
519
519
|
});
|
|
520
|
-
z4("String.prototype.includes", function(
|
|
521
|
-
return
|
|
520
|
+
z4("String.prototype.includes", function(a15) {
|
|
521
|
+
return a15 ? a15 : function(b7, c7) {
|
|
522
522
|
if (null == this) throw new TypeError("The 'this' value for String.prototype.includes must not be null or undefined");
|
|
523
|
-
if (
|
|
524
|
-
return -1 !== this.indexOf(
|
|
523
|
+
if (b7 instanceof RegExp) throw new TypeError("First argument to String.prototype.includes must not be a regular expression");
|
|
524
|
+
return -1 !== this.indexOf(b7, c7 || 0);
|
|
525
525
|
};
|
|
526
526
|
});
|
|
527
527
|
var ya = this || self;
|
|
528
|
-
function Aa(
|
|
529
|
-
|
|
530
|
-
var
|
|
531
|
-
|
|
532
|
-
for (var
|
|
533
|
-
}
|
|
534
|
-
function Ba(
|
|
535
|
-
var
|
|
528
|
+
function Aa(a15, b7) {
|
|
529
|
+
a15 = a15.split(".");
|
|
530
|
+
var c7 = ya;
|
|
531
|
+
a15[0] in c7 || "undefined" == typeof c7.execScript || c7.execScript("var " + a15[0]);
|
|
532
|
+
for (var d7; a15.length && (d7 = a15.shift()); ) a15.length || void 0 === b7 ? c7[d7] && c7[d7] !== Object.prototype[d7] ? c7 = c7[d7] : c7 = c7[d7] = {} : c7[d7] = b7;
|
|
533
|
+
}
|
|
534
|
+
function Ba(a15) {
|
|
535
|
+
var b7;
|
|
536
536
|
a: {
|
|
537
|
-
if (
|
|
538
|
-
if (
|
|
537
|
+
if (b7 = ya.navigator) {
|
|
538
|
+
if (b7 = b7.userAgent) break a;
|
|
539
539
|
}
|
|
540
|
-
|
|
540
|
+
b7 = "";
|
|
541
541
|
}
|
|
542
|
-
return -1 !=
|
|
542
|
+
return -1 != b7.indexOf(a15);
|
|
543
543
|
}
|
|
544
|
-
var Ca = Array.prototype.map ? function(
|
|
545
|
-
return Array.prototype.map.call(
|
|
546
|
-
} : function(
|
|
547
|
-
for (var
|
|
548
|
-
return
|
|
544
|
+
var Ca = Array.prototype.map ? function(a15, b7) {
|
|
545
|
+
return Array.prototype.map.call(a15, b7, void 0);
|
|
546
|
+
} : function(a15, b7) {
|
|
547
|
+
for (var c7 = a15.length, d7 = Array(c7), e7 = "string" === typeof a15 ? a15.split("") : a15, g6 = 0; g6 < c7; g6++) g6 in e7 && (d7[g6] = b7.call(void 0, e7[g6], g6, a15));
|
|
548
|
+
return d7;
|
|
549
549
|
};
|
|
550
550
|
var Da = {}, Ea = null;
|
|
551
|
-
function Fa(
|
|
552
|
-
var
|
|
553
|
-
|
|
554
|
-
var
|
|
555
|
-
Ga(
|
|
556
|
-
|
|
551
|
+
function Fa(a15) {
|
|
552
|
+
var b7 = a15.length, c7 = 3 * b7 / 4;
|
|
553
|
+
c7 % 3 ? c7 = Math.floor(c7) : -1 != "=.".indexOf(a15[b7 - 1]) && (c7 = -1 != "=.".indexOf(a15[b7 - 2]) ? c7 - 2 : c7 - 1);
|
|
554
|
+
var d7 = new Uint8Array(c7), e7 = 0;
|
|
555
|
+
Ga(a15, function(g6) {
|
|
556
|
+
d7[e7++] = g6;
|
|
557
557
|
});
|
|
558
|
-
return
|
|
558
|
+
return e7 !== c7 ? d7.subarray(0, e7) : d7;
|
|
559
559
|
}
|
|
560
|
-
function Ga(
|
|
561
|
-
function
|
|
562
|
-
for (;
|
|
563
|
-
var l5 =
|
|
560
|
+
function Ga(a15, b7) {
|
|
561
|
+
function c7(k5) {
|
|
562
|
+
for (; d7 < a15.length; ) {
|
|
563
|
+
var l5 = a15.charAt(d7++), m6 = Ea[l5];
|
|
564
564
|
if (null != m6) return m6;
|
|
565
565
|
if (!/^[\s\xa0]*$/.test(l5)) throw Error("Unknown base64 encoding at char: " + l5);
|
|
566
566
|
}
|
|
567
567
|
return k5;
|
|
568
568
|
}
|
|
569
569
|
Ha();
|
|
570
|
-
for (var
|
|
571
|
-
var
|
|
572
|
-
if (64 ===
|
|
573
|
-
|
|
574
|
-
64 !=
|
|
570
|
+
for (var d7 = 0; ; ) {
|
|
571
|
+
var e7 = c7(-1), g6 = c7(0), f7 = c7(64), h6 = c7(64);
|
|
572
|
+
if (64 === h6 && -1 === e7) break;
|
|
573
|
+
b7(e7 << 2 | g6 >> 4);
|
|
574
|
+
64 != f7 && (b7(g6 << 4 & 240 | f7 >> 2), 64 != h6 && b7(f7 << 6 & 192 | h6));
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
577
|
function Ha() {
|
|
578
578
|
if (!Ea) {
|
|
579
579
|
Ea = {};
|
|
580
|
-
for (var
|
|
581
|
-
var
|
|
582
|
-
Da[
|
|
583
|
-
for (var
|
|
584
|
-
var
|
|
585
|
-
void 0 === Ea[
|
|
580
|
+
for (var a15 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), b7 = ["+/=", "+/", "-_=", "-_.", "-_"], c7 = 0; 5 > c7; c7++) {
|
|
581
|
+
var d7 = a15.concat(b7[c7].split(""));
|
|
582
|
+
Da[c7] = d7;
|
|
583
|
+
for (var e7 = 0; e7 < d7.length; e7++) {
|
|
584
|
+
var g6 = d7[e7];
|
|
585
|
+
void 0 === Ea[g6] && (Ea[g6] = e7);
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
var Ia = "undefined" !== typeof Uint8Array, Ja = !(Ba("Trident") || Ba("MSIE")) && "function" === typeof ya.btoa;
|
|
591
|
-
function Ka(
|
|
591
|
+
function Ka(a15) {
|
|
592
592
|
if (!Ja) {
|
|
593
|
-
var
|
|
594
|
-
void 0 ===
|
|
593
|
+
var b7;
|
|
594
|
+
void 0 === b7 && (b7 = 0);
|
|
595
595
|
Ha();
|
|
596
|
-
|
|
597
|
-
for (var
|
|
598
|
-
var
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
k5 =
|
|
602
|
-
|
|
596
|
+
b7 = Da[b7];
|
|
597
|
+
for (var c7 = Array(Math.floor(a15.length / 3)), d7 = b7[64] || "", e7 = 0, g6 = 0; e7 < a15.length - 2; e7 += 3) {
|
|
598
|
+
var f7 = a15[e7], h6 = a15[e7 + 1], k5 = a15[e7 + 2], l5 = b7[f7 >> 2];
|
|
599
|
+
f7 = b7[(f7 & 3) << 4 | h6 >> 4];
|
|
600
|
+
h6 = b7[(h6 & 15) << 2 | k5 >> 6];
|
|
601
|
+
k5 = b7[k5 & 63];
|
|
602
|
+
c7[g6++] = l5 + f7 + h6 + k5;
|
|
603
603
|
}
|
|
604
604
|
l5 = 0;
|
|
605
|
-
k5 =
|
|
606
|
-
switch (
|
|
605
|
+
k5 = d7;
|
|
606
|
+
switch (a15.length - e7) {
|
|
607
607
|
case 2:
|
|
608
|
-
l5 =
|
|
608
|
+
l5 = a15[e7 + 1], k5 = b7[(l5 & 15) << 2] || d7;
|
|
609
609
|
case 1:
|
|
610
|
-
|
|
610
|
+
a15 = a15[e7], c7[g6] = b7[a15 >> 2] + b7[(a15 & 3) << 4 | l5 >> 4] + k5 + d7;
|
|
611
611
|
}
|
|
612
|
-
return
|
|
612
|
+
return c7.join("");
|
|
613
613
|
}
|
|
614
|
-
for (
|
|
615
|
-
|
|
614
|
+
for (b7 = ""; 10240 < a15.length; ) b7 += String.fromCharCode.apply(null, a15.subarray(0, 10240)), a15 = a15.subarray(10240);
|
|
615
|
+
b7 += String.fromCharCode.apply(
|
|
616
616
|
null,
|
|
617
|
-
|
|
617
|
+
a15
|
|
618
618
|
);
|
|
619
|
-
return btoa(
|
|
619
|
+
return btoa(b7);
|
|
620
620
|
}
|
|
621
621
|
var La = RegExp("[-_.]", "g");
|
|
622
|
-
function Ma(
|
|
623
|
-
switch (
|
|
622
|
+
function Ma(a15) {
|
|
623
|
+
switch (a15) {
|
|
624
624
|
case "-":
|
|
625
625
|
return "+";
|
|
626
626
|
case "_":
|
|
@@ -631,12 +631,12 @@ function requireSelfie_segmentation() {
|
|
|
631
631
|
return "";
|
|
632
632
|
}
|
|
633
633
|
}
|
|
634
|
-
function Na(
|
|
635
|
-
if (!Ja) return Fa(
|
|
636
|
-
La.test(
|
|
637
|
-
|
|
638
|
-
for (var
|
|
639
|
-
return
|
|
634
|
+
function Na(a15) {
|
|
635
|
+
if (!Ja) return Fa(a15);
|
|
636
|
+
La.test(a15) && (a15 = a15.replace(La, Ma));
|
|
637
|
+
a15 = atob(a15);
|
|
638
|
+
for (var b7 = new Uint8Array(a15.length), c7 = 0; c7 < a15.length; c7++) b7[c7] = a15.charCodeAt(c7);
|
|
639
|
+
return b7;
|
|
640
640
|
}
|
|
641
641
|
var Oa;
|
|
642
642
|
function Pa() {
|
|
@@ -644,113 +644,113 @@ function requireSelfie_segmentation() {
|
|
|
644
644
|
}
|
|
645
645
|
var Qa = {};
|
|
646
646
|
var Ra = "function" === typeof Uint8Array.prototype.slice, G3 = 0, H3 = 0;
|
|
647
|
-
function Sa(
|
|
648
|
-
var
|
|
649
|
-
|
|
650
|
-
var
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
G3 =
|
|
654
|
-
H3 =
|
|
647
|
+
function Sa(a15) {
|
|
648
|
+
var b7 = 0 > a15;
|
|
649
|
+
a15 = Math.abs(a15);
|
|
650
|
+
var c7 = a15 >>> 0;
|
|
651
|
+
a15 = Math.floor((a15 - c7) / 4294967296);
|
|
652
|
+
b7 && (c7 = A4(Ta(c7, a15)), b7 = c7.next().value, a15 = c7.next().value, c7 = b7);
|
|
653
|
+
G3 = c7 >>> 0;
|
|
654
|
+
H3 = a15 >>> 0;
|
|
655
655
|
}
|
|
656
656
|
var Ua = "function" === typeof BigInt;
|
|
657
|
-
function Ta(
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
return [
|
|
661
|
-
}
|
|
662
|
-
function Va(
|
|
663
|
-
this.i =
|
|
664
|
-
this.h =
|
|
665
|
-
}
|
|
666
|
-
function Wa(
|
|
667
|
-
if (!
|
|
668
|
-
if (!/^-?\d+$/.test(
|
|
669
|
-
if (16 >
|
|
670
|
-
else if (Ua)
|
|
657
|
+
function Ta(a15, b7) {
|
|
658
|
+
b7 = ~b7;
|
|
659
|
+
a15 ? a15 = ~a15 + 1 : b7 += 1;
|
|
660
|
+
return [a15, b7];
|
|
661
|
+
}
|
|
662
|
+
function Va(a15, b7) {
|
|
663
|
+
this.i = a15 >>> 0;
|
|
664
|
+
this.h = b7 >>> 0;
|
|
665
|
+
}
|
|
666
|
+
function Wa(a15) {
|
|
667
|
+
if (!a15) return Xa || (Xa = new Va(0, 0));
|
|
668
|
+
if (!/^-?\d+$/.test(a15)) return null;
|
|
669
|
+
if (16 > a15.length) Sa(Number(a15));
|
|
670
|
+
else if (Ua) a15 = BigInt(a15), G3 = Number(a15 & BigInt(4294967295)) >>> 0, H3 = Number(a15 >> BigInt(32) & BigInt(4294967295));
|
|
671
671
|
else {
|
|
672
|
-
var
|
|
672
|
+
var b7 = +("-" === a15[0]);
|
|
673
673
|
H3 = G3 = 0;
|
|
674
|
-
for (var
|
|
675
|
-
|
|
674
|
+
for (var c7 = a15.length, d7 = b7, e7 = (c7 - b7) % 6 + b7; e7 <= c7; d7 = e7, e7 += 6) d7 = Number(a15.slice(d7, e7)), H3 *= 1e6, G3 = 1e6 * G3 + d7, 4294967296 <= G3 && (H3 += G3 / 4294967296 | 0, G3 %= 4294967296);
|
|
675
|
+
b7 && (b7 = A4(Ta(G3, H3)), a15 = b7.next().value, b7 = b7.next().value, G3 = a15, H3 = b7);
|
|
676
676
|
}
|
|
677
677
|
return new Va(G3, H3);
|
|
678
678
|
}
|
|
679
679
|
var Xa;
|
|
680
|
-
function Ya(
|
|
681
|
-
return Error("Invalid wire type: " +
|
|
680
|
+
function Ya(a15, b7) {
|
|
681
|
+
return Error("Invalid wire type: " + a15 + " (at position " + b7 + ")");
|
|
682
682
|
}
|
|
683
683
|
function Za() {
|
|
684
684
|
return Error("Failed to read varint, encoding is invalid.");
|
|
685
685
|
}
|
|
686
|
-
function $a(
|
|
687
|
-
return Error("Tried to read past the end of the data " +
|
|
686
|
+
function $a(a15, b7) {
|
|
687
|
+
return Error("Tried to read past the end of the data " + b7 + " > " + a15);
|
|
688
688
|
}
|
|
689
689
|
function K3() {
|
|
690
690
|
throw Error("Invalid UTF8");
|
|
691
691
|
}
|
|
692
|
-
function
|
|
693
|
-
|
|
694
|
-
return null ==
|
|
692
|
+
function ab3(a15, b7) {
|
|
693
|
+
b7 = String.fromCharCode.apply(null, b7);
|
|
694
|
+
return null == a15 ? b7 : a15 + b7;
|
|
695
695
|
}
|
|
696
696
|
var bb = void 0, cb, db = "undefined" !== typeof TextDecoder, eb, fb = "undefined" !== typeof TextEncoder;
|
|
697
697
|
var gb;
|
|
698
|
-
function hb(
|
|
699
|
-
if (
|
|
698
|
+
function hb(a15) {
|
|
699
|
+
if (a15 !== Qa) throw Error("illegal external caller");
|
|
700
700
|
}
|
|
701
|
-
function ib(
|
|
702
|
-
hb(
|
|
703
|
-
this.V =
|
|
704
|
-
if (null !=
|
|
701
|
+
function ib(a15, b7) {
|
|
702
|
+
hb(b7);
|
|
703
|
+
this.V = a15;
|
|
704
|
+
if (null != a15 && 0 === a15.length) throw Error("ByteString should be constructed with non-empty values");
|
|
705
705
|
}
|
|
706
706
|
function jb() {
|
|
707
707
|
return gb || (gb = new ib(null, Qa));
|
|
708
708
|
}
|
|
709
|
-
function kb(
|
|
709
|
+
function kb(a15) {
|
|
710
710
|
hb(Qa);
|
|
711
|
-
var
|
|
712
|
-
|
|
713
|
-
return null ==
|
|
714
|
-
}
|
|
715
|
-
function lb(
|
|
716
|
-
if ("string" === typeof
|
|
717
|
-
if (Array.isArray(
|
|
718
|
-
if (
|
|
719
|
-
if (
|
|
720
|
-
if (
|
|
721
|
-
if (
|
|
711
|
+
var b7 = a15.V;
|
|
712
|
+
b7 = null == b7 || Ia && null != b7 && b7 instanceof Uint8Array ? b7 : "string" === typeof b7 ? Na(b7) : null;
|
|
713
|
+
return null == b7 ? b7 : a15.V = b7;
|
|
714
|
+
}
|
|
715
|
+
function lb(a15) {
|
|
716
|
+
if ("string" === typeof a15) return { buffer: Na(a15), C: false };
|
|
717
|
+
if (Array.isArray(a15)) return { buffer: new Uint8Array(a15), C: false };
|
|
718
|
+
if (a15.constructor === Uint8Array) return { buffer: a15, C: false };
|
|
719
|
+
if (a15.constructor === ArrayBuffer) return { buffer: new Uint8Array(a15), C: false };
|
|
720
|
+
if (a15.constructor === ib) return { buffer: kb(a15) || Pa(), C: true };
|
|
721
|
+
if (a15 instanceof Uint8Array) return { buffer: new Uint8Array(a15.buffer, a15.byteOffset, a15.byteLength), C: false };
|
|
722
722
|
throw Error("Type not convertible to a Uint8Array, expected a Uint8Array, an ArrayBuffer, a base64 encoded string, a ByteString or an Array of numbers");
|
|
723
723
|
}
|
|
724
|
-
function mb(
|
|
724
|
+
function mb(a15, b7) {
|
|
725
725
|
this.i = null;
|
|
726
726
|
this.m = false;
|
|
727
727
|
this.h = this.j = this.l = 0;
|
|
728
|
-
nb(this,
|
|
728
|
+
nb(this, a15, b7);
|
|
729
729
|
}
|
|
730
|
-
function nb(
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
730
|
+
function nb(a15, b7, c7) {
|
|
731
|
+
c7 = void 0 === c7 ? {} : c7;
|
|
732
|
+
a15.S = void 0 === c7.S ? false : c7.S;
|
|
733
|
+
b7 && (b7 = lb(b7), a15.i = b7.buffer, a15.m = b7.C, a15.l = 0, a15.j = a15.i.length, a15.h = a15.l);
|
|
734
734
|
}
|
|
735
735
|
mb.prototype.reset = function() {
|
|
736
736
|
this.h = this.l;
|
|
737
737
|
};
|
|
738
|
-
function L3(
|
|
739
|
-
|
|
740
|
-
if (
|
|
741
|
-
}
|
|
742
|
-
function ob(
|
|
743
|
-
var
|
|
744
|
-
if (
|
|
745
|
-
L3(
|
|
746
|
-
return
|
|
747
|
-
}
|
|
748
|
-
function pb(
|
|
749
|
-
if (0 >
|
|
750
|
-
var
|
|
751
|
-
if (
|
|
752
|
-
|
|
753
|
-
return
|
|
738
|
+
function L3(a15, b7) {
|
|
739
|
+
a15.h = b7;
|
|
740
|
+
if (b7 > a15.j) throw $a(a15.j, b7);
|
|
741
|
+
}
|
|
742
|
+
function ob(a15) {
|
|
743
|
+
var b7 = a15.i, c7 = a15.h, d7 = b7[c7++], e7 = d7 & 127;
|
|
744
|
+
if (d7 & 128 && (d7 = b7[c7++], e7 |= (d7 & 127) << 7, d7 & 128 && (d7 = b7[c7++], e7 |= (d7 & 127) << 14, d7 & 128 && (d7 = b7[c7++], e7 |= (d7 & 127) << 21, d7 & 128 && (d7 = b7[c7++], e7 |= d7 << 28, d7 & 128 && b7[c7++] & 128 && b7[c7++] & 128 && b7[c7++] & 128 && b7[c7++] & 128 && b7[c7++] & 128))))) throw Za();
|
|
745
|
+
L3(a15, c7);
|
|
746
|
+
return e7;
|
|
747
|
+
}
|
|
748
|
+
function pb(a15, b7) {
|
|
749
|
+
if (0 > b7) throw Error("Tried to read a negative byte length: " + b7);
|
|
750
|
+
var c7 = a15.h, d7 = c7 + b7;
|
|
751
|
+
if (d7 > a15.j) throw $a(b7, a15.j - c7);
|
|
752
|
+
a15.h = d7;
|
|
753
|
+
return c7;
|
|
754
754
|
}
|
|
755
755
|
var qb = [];
|
|
756
756
|
function rb() {
|
|
@@ -760,88 +760,88 @@ function requireSelfie_segmentation() {
|
|
|
760
760
|
return this.h.length;
|
|
761
761
|
};
|
|
762
762
|
rb.prototype.end = function() {
|
|
763
|
-
var
|
|
763
|
+
var a15 = this.h;
|
|
764
764
|
this.h = [];
|
|
765
|
-
return
|
|
765
|
+
return a15;
|
|
766
766
|
};
|
|
767
|
-
function sb(
|
|
768
|
-
for (; 0 <
|
|
769
|
-
|
|
767
|
+
function sb(a15, b7, c7) {
|
|
768
|
+
for (; 0 < c7 || 127 < b7; ) a15.h.push(b7 & 127 | 128), b7 = (b7 >>> 7 | c7 << 25) >>> 0, c7 >>>= 7;
|
|
769
|
+
a15.h.push(b7);
|
|
770
770
|
}
|
|
771
|
-
function
|
|
772
|
-
for (; 127 <
|
|
773
|
-
|
|
771
|
+
function M4(a15, b7) {
|
|
772
|
+
for (; 127 < b7; ) a15.h.push(b7 & 127 | 128), b7 >>>= 7;
|
|
773
|
+
a15.h.push(b7);
|
|
774
774
|
}
|
|
775
|
-
function tb(
|
|
775
|
+
function tb(a15, b7) {
|
|
776
776
|
if (qb.length) {
|
|
777
|
-
var
|
|
778
|
-
nb(
|
|
779
|
-
|
|
780
|
-
} else
|
|
781
|
-
this.h =
|
|
777
|
+
var c7 = qb.pop();
|
|
778
|
+
nb(c7, a15, b7);
|
|
779
|
+
a15 = c7;
|
|
780
|
+
} else a15 = new mb(a15, b7);
|
|
781
|
+
this.h = a15;
|
|
782
782
|
this.j = this.h.h;
|
|
783
783
|
this.i = this.l = -1;
|
|
784
|
-
this.setOptions(
|
|
784
|
+
this.setOptions(b7);
|
|
785
785
|
}
|
|
786
|
-
tb.prototype.setOptions = function(
|
|
787
|
-
|
|
788
|
-
this.ca = void 0 ===
|
|
786
|
+
tb.prototype.setOptions = function(a15) {
|
|
787
|
+
a15 = void 0 === a15 ? {} : a15;
|
|
788
|
+
this.ca = void 0 === a15.ca ? false : a15.ca;
|
|
789
789
|
};
|
|
790
790
|
tb.prototype.reset = function() {
|
|
791
791
|
this.h.reset();
|
|
792
792
|
this.j = this.h.h;
|
|
793
793
|
this.i = this.l = -1;
|
|
794
794
|
};
|
|
795
|
-
function ub(
|
|
796
|
-
var
|
|
797
|
-
if (
|
|
798
|
-
|
|
799
|
-
var
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
if (!(0 <=
|
|
803
|
-
if (1 >
|
|
804
|
-
|
|
805
|
-
|
|
795
|
+
function ub(a15) {
|
|
796
|
+
var b7 = a15.h;
|
|
797
|
+
if (b7.h == b7.j) return false;
|
|
798
|
+
a15.j = a15.h.h;
|
|
799
|
+
var c7 = ob(a15.h) >>> 0;
|
|
800
|
+
b7 = c7 >>> 3;
|
|
801
|
+
c7 &= 7;
|
|
802
|
+
if (!(0 <= c7 && 5 >= c7)) throw Ya(c7, a15.j);
|
|
803
|
+
if (1 > b7) throw Error("Invalid field number: " + b7 + " (at position " + a15.j + ")");
|
|
804
|
+
a15.l = b7;
|
|
805
|
+
a15.i = c7;
|
|
806
806
|
return true;
|
|
807
807
|
}
|
|
808
|
-
function vb(
|
|
809
|
-
switch (
|
|
808
|
+
function vb(a15) {
|
|
809
|
+
switch (a15.i) {
|
|
810
810
|
case 0:
|
|
811
|
-
if (0 !=
|
|
811
|
+
if (0 != a15.i) vb(a15);
|
|
812
812
|
else a: {
|
|
813
|
-
|
|
814
|
-
for (var
|
|
815
|
-
L3(
|
|
813
|
+
a15 = a15.h;
|
|
814
|
+
for (var b7 = a15.h, c7 = b7 + 10, d7 = a15.i; b7 < c7; ) if (0 === (d7[b7++] & 128)) {
|
|
815
|
+
L3(a15, b7);
|
|
816
816
|
break a;
|
|
817
817
|
}
|
|
818
818
|
throw Za();
|
|
819
819
|
}
|
|
820
820
|
break;
|
|
821
821
|
case 1:
|
|
822
|
-
|
|
823
|
-
L3(
|
|
822
|
+
a15 = a15.h;
|
|
823
|
+
L3(a15, a15.h + 8);
|
|
824
824
|
break;
|
|
825
825
|
case 2:
|
|
826
|
-
2 !=
|
|
826
|
+
2 != a15.i ? vb(a15) : (b7 = ob(a15.h) >>> 0, a15 = a15.h, L3(a15, a15.h + b7));
|
|
827
827
|
break;
|
|
828
828
|
case 5:
|
|
829
|
-
|
|
830
|
-
L3(
|
|
829
|
+
a15 = a15.h;
|
|
830
|
+
L3(a15, a15.h + 4);
|
|
831
831
|
break;
|
|
832
832
|
case 3:
|
|
833
|
-
|
|
833
|
+
b7 = a15.l;
|
|
834
834
|
do {
|
|
835
|
-
if (!ub(
|
|
836
|
-
if (4 ==
|
|
837
|
-
if (
|
|
835
|
+
if (!ub(a15)) throw Error("Unmatched start-group tag: stream EOF");
|
|
836
|
+
if (4 == a15.i) {
|
|
837
|
+
if (a15.l != b7) throw Error("Unmatched end-group tag");
|
|
838
838
|
break;
|
|
839
839
|
}
|
|
840
|
-
vb(
|
|
840
|
+
vb(a15);
|
|
841
841
|
} while (1);
|
|
842
842
|
break;
|
|
843
843
|
default:
|
|
844
|
-
throw Ya(
|
|
844
|
+
throw Ya(a15.i, a15.j);
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
847
|
var wb = [];
|
|
@@ -850,336 +850,336 @@ function requireSelfie_segmentation() {
|
|
|
850
850
|
this.i = 0;
|
|
851
851
|
this.h = new rb();
|
|
852
852
|
}
|
|
853
|
-
function N3(
|
|
854
|
-
0 !==
|
|
853
|
+
function N3(a15, b7) {
|
|
854
|
+
0 !== b7.length && (a15.j.push(b7), a15.i += b7.length);
|
|
855
855
|
}
|
|
856
|
-
function yb(
|
|
857
|
-
if (
|
|
858
|
-
N3(
|
|
859
|
-
for (var
|
|
856
|
+
function yb(a15, b7) {
|
|
857
|
+
if (b7 = b7.R) {
|
|
858
|
+
N3(a15, a15.h.end());
|
|
859
|
+
for (var c7 = 0; c7 < b7.length; c7++) N3(a15, kb(b7[c7]) || Pa());
|
|
860
860
|
}
|
|
861
861
|
}
|
|
862
862
|
var O3 = "function" === typeof Symbol && "symbol" === typeof Symbol() ? Symbol() : void 0;
|
|
863
|
-
function P3(
|
|
864
|
-
if (O3) return
|
|
865
|
-
if (void 0 !==
|
|
866
|
-
Object.defineProperties(
|
|
867
|
-
return
|
|
863
|
+
function P3(a15, b7) {
|
|
864
|
+
if (O3) return a15[O3] |= b7;
|
|
865
|
+
if (void 0 !== a15.A) return a15.A |= b7;
|
|
866
|
+
Object.defineProperties(a15, { A: { value: b7, configurable: true, writable: true, enumerable: false } });
|
|
867
|
+
return b7;
|
|
868
868
|
}
|
|
869
|
-
function zb(
|
|
870
|
-
O3 ?
|
|
869
|
+
function zb(a15, b7) {
|
|
870
|
+
O3 ? a15[O3] && (a15[O3] &= ~b7) : void 0 !== a15.A && (a15.A &= ~b7);
|
|
871
871
|
}
|
|
872
|
-
function Q4(
|
|
873
|
-
var
|
|
874
|
-
O3 ?
|
|
875
|
-
return null ==
|
|
872
|
+
function Q4(a15) {
|
|
873
|
+
var b7;
|
|
874
|
+
O3 ? b7 = a15[O3] : b7 = a15.A;
|
|
875
|
+
return null == b7 ? 0 : b7;
|
|
876
876
|
}
|
|
877
|
-
function R3(
|
|
878
|
-
O3 ?
|
|
877
|
+
function R3(a15, b7) {
|
|
878
|
+
O3 ? a15[O3] = b7 : void 0 !== a15.A ? a15.A = b7 : Object.defineProperties(a15, { A: { value: b7, configurable: true, writable: true, enumerable: false } });
|
|
879
879
|
}
|
|
880
|
-
function Ab(
|
|
881
|
-
P3(
|
|
882
|
-
return
|
|
880
|
+
function Ab(a15) {
|
|
881
|
+
P3(a15, 1);
|
|
882
|
+
return a15;
|
|
883
883
|
}
|
|
884
|
-
function Bb(
|
|
885
|
-
R3(
|
|
884
|
+
function Bb(a15, b7) {
|
|
885
|
+
R3(b7, (a15 | 0) & -51);
|
|
886
886
|
}
|
|
887
|
-
function Cb(
|
|
888
|
-
R3(
|
|
887
|
+
function Cb(a15, b7) {
|
|
888
|
+
R3(b7, (a15 | 18) & -41);
|
|
889
889
|
}
|
|
890
890
|
var Db = {};
|
|
891
|
-
function Eb(
|
|
892
|
-
return null !==
|
|
891
|
+
function Eb(a15) {
|
|
892
|
+
return null !== a15 && "object" === typeof a15 && !Array.isArray(a15) && a15.constructor === Object;
|
|
893
893
|
}
|
|
894
894
|
var Fb, Gb = [];
|
|
895
895
|
R3(Gb, 23);
|
|
896
896
|
Fb = Object.freeze(Gb);
|
|
897
|
-
function Hb(
|
|
898
|
-
if (Q4(
|
|
899
|
-
}
|
|
900
|
-
function Ib(
|
|
901
|
-
var
|
|
902
|
-
(
|
|
903
|
-
}
|
|
904
|
-
function Jb(
|
|
905
|
-
var
|
|
906
|
-
return
|
|
907
|
-
}
|
|
908
|
-
function S3(
|
|
909
|
-
return -1 ===
|
|
910
|
-
}
|
|
911
|
-
function U3(
|
|
912
|
-
Hb(
|
|
913
|
-
Kb(
|
|
914
|
-
}
|
|
915
|
-
function Kb(
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
}
|
|
919
|
-
function Lb(
|
|
920
|
-
var
|
|
921
|
-
Array.isArray(
|
|
922
|
-
var
|
|
923
|
-
|
|
924
|
-
if (
|
|
897
|
+
function Hb(a15) {
|
|
898
|
+
if (Q4(a15.o) & 2) throw Error("Cannot mutate an immutable Message");
|
|
899
|
+
}
|
|
900
|
+
function Ib(a15) {
|
|
901
|
+
var b7 = a15.length;
|
|
902
|
+
(b7 = b7 ? a15[b7 - 1] : void 0) && Eb(b7) ? b7.g = 1 : (b7 = {}, a15.push((b7.g = 1, b7)));
|
|
903
|
+
}
|
|
904
|
+
function Jb(a15) {
|
|
905
|
+
var b7 = a15.i + a15.G;
|
|
906
|
+
return a15.B || (a15.B = a15.o[b7] = {});
|
|
907
|
+
}
|
|
908
|
+
function S3(a15, b7) {
|
|
909
|
+
return -1 === b7 ? null : b7 >= a15.i ? a15.B ? a15.B[b7] : void 0 : a15.o[b7 + a15.G];
|
|
910
|
+
}
|
|
911
|
+
function U3(a15, b7, c7, d7) {
|
|
912
|
+
Hb(a15);
|
|
913
|
+
Kb(a15, b7, c7, d7);
|
|
914
|
+
}
|
|
915
|
+
function Kb(a15, b7, c7, d7) {
|
|
916
|
+
a15.j && (a15.j = void 0);
|
|
917
|
+
b7 >= a15.i || d7 ? Jb(a15)[b7] = c7 : (a15.o[b7 + a15.G] = c7, (a15 = a15.B) && b7 in a15 && delete a15[b7]);
|
|
918
|
+
}
|
|
919
|
+
function Lb(a15, b7, c7, d7) {
|
|
920
|
+
var e7 = S3(a15, b7);
|
|
921
|
+
Array.isArray(e7) || (e7 = Fb);
|
|
922
|
+
var g6 = Q4(e7);
|
|
923
|
+
g6 & 1 || Ab(e7);
|
|
924
|
+
if (d7) g6 & 2 || P3(e7, 2), c7 & 1 || Object.freeze(e7);
|
|
925
925
|
else {
|
|
926
|
-
|
|
927
|
-
var
|
|
928
|
-
|
|
926
|
+
d7 = !(c7 & 2);
|
|
927
|
+
var f7 = g6 & 2;
|
|
928
|
+
c7 & 1 || !f7 ? d7 && g6 & 16 && !f7 && zb(e7, 16) : (e7 = Ab(Array.prototype.slice.call(e7)), Kb(a15, b7, e7));
|
|
929
929
|
}
|
|
930
|
-
return
|
|
931
|
-
}
|
|
932
|
-
function Mb(
|
|
933
|
-
var
|
|
934
|
-
var
|
|
935
|
-
null !=
|
|
936
|
-
return
|
|
937
|
-
}
|
|
938
|
-
function Nb(
|
|
939
|
-
|
|
940
|
-
var
|
|
941
|
-
if (!
|
|
942
|
-
var
|
|
943
|
-
|
|
944
|
-
var k5 = !!(Q4(
|
|
945
|
-
|
|
946
|
-
var l5 =
|
|
947
|
-
!
|
|
948
|
-
for (var m6 =
|
|
949
|
-
var
|
|
950
|
-
var
|
|
930
|
+
return e7;
|
|
931
|
+
}
|
|
932
|
+
function Mb(a15, b7) {
|
|
933
|
+
var c7 = S3(a15, b7);
|
|
934
|
+
var d7 = null == c7 ? c7 : "number" === typeof c7 || "NaN" === c7 || "Infinity" === c7 || "-Infinity" === c7 ? Number(c7) : void 0;
|
|
935
|
+
null != d7 && d7 !== c7 && Kb(a15, b7, d7);
|
|
936
|
+
return d7;
|
|
937
|
+
}
|
|
938
|
+
function Nb(a15, b7, c7, d7, e7) {
|
|
939
|
+
a15.h || (a15.h = {});
|
|
940
|
+
var g6 = a15.h[c7], f7 = Lb(a15, c7, 3, e7);
|
|
941
|
+
if (!g6) {
|
|
942
|
+
var h6 = f7;
|
|
943
|
+
g6 = [];
|
|
944
|
+
var k5 = !!(Q4(a15.o) & 16);
|
|
945
|
+
f7 = !!(Q4(h6) & 2);
|
|
946
|
+
var l5 = h6;
|
|
947
|
+
!e7 && f7 && (h6 = Array.prototype.slice.call(h6));
|
|
948
|
+
for (var m6 = f7, r6 = 0; r6 < h6.length; r6++) {
|
|
949
|
+
var p7 = h6[r6];
|
|
950
|
+
var n5 = b7, q4 = false;
|
|
951
951
|
q4 = void 0 === q4 ? false : q4;
|
|
952
|
-
|
|
953
|
-
if (void 0 !==
|
|
954
|
-
|
|
955
|
-
var t4 = q4 = Q4(
|
|
956
|
-
|
|
952
|
+
p7 = Array.isArray(p7) ? new n5(p7) : q4 ? new n5() : void 0;
|
|
953
|
+
if (void 0 !== p7) {
|
|
954
|
+
n5 = p7.o;
|
|
955
|
+
var t4 = q4 = Q4(n5);
|
|
956
|
+
f7 && (t4 |= 2);
|
|
957
957
|
k5 && (t4 |= 16);
|
|
958
|
-
t4 != q4 && R3(
|
|
959
|
-
|
|
960
|
-
m6 = m6 || !!(2 &
|
|
961
|
-
|
|
958
|
+
t4 != q4 && R3(n5, t4);
|
|
959
|
+
n5 = t4;
|
|
960
|
+
m6 = m6 || !!(2 & n5);
|
|
961
|
+
g6.push(p7);
|
|
962
962
|
}
|
|
963
963
|
}
|
|
964
|
-
|
|
965
|
-
k5 = Q4(
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
k5 !=
|
|
969
|
-
l5 !==
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
964
|
+
a15.h[c7] = g6;
|
|
965
|
+
k5 = Q4(h6);
|
|
966
|
+
b7 = k5 | 33;
|
|
967
|
+
b7 = m6 ? b7 & -9 : b7 | 8;
|
|
968
|
+
k5 != b7 && (m6 = h6, Object.isFrozen(m6) && (m6 = Array.prototype.slice.call(m6)), R3(m6, b7), h6 = m6);
|
|
969
|
+
l5 !== h6 && Kb(
|
|
970
|
+
a15,
|
|
971
|
+
c7,
|
|
972
|
+
h6
|
|
973
973
|
);
|
|
974
|
-
(
|
|
975
|
-
|
|
976
|
-
return
|
|
974
|
+
(e7 || d7 && f7) && P3(g6, 2);
|
|
975
|
+
d7 && Object.freeze(g6);
|
|
976
|
+
return g6;
|
|
977
977
|
}
|
|
978
|
-
|
|
979
|
-
return
|
|
980
|
-
}
|
|
981
|
-
function Ob(
|
|
982
|
-
var
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
if (!(
|
|
986
|
-
for (
|
|
987
|
-
|
|
988
|
-
if (Q4(
|
|
989
|
-
var
|
|
990
|
-
|
|
991
|
-
} else
|
|
992
|
-
|
|
978
|
+
e7 || (e7 = Object.isFrozen(g6), d7 && !e7 ? Object.freeze(g6) : !d7 && e7 && (g6 = Array.prototype.slice.call(g6), a15.h[c7] = g6));
|
|
979
|
+
return g6;
|
|
980
|
+
}
|
|
981
|
+
function Ob(a15, b7, c7) {
|
|
982
|
+
var d7 = !!(Q4(a15.o) & 2);
|
|
983
|
+
b7 = Nb(a15, b7, c7, d7, d7);
|
|
984
|
+
a15 = Lb(a15, c7, 3, d7);
|
|
985
|
+
if (!(d7 || Q4(a15) & 8)) {
|
|
986
|
+
for (d7 = 0; d7 < b7.length; d7++) {
|
|
987
|
+
c7 = b7[d7];
|
|
988
|
+
if (Q4(c7.o) & 2) {
|
|
989
|
+
var e7 = Pb(c7, false);
|
|
990
|
+
e7.j = c7;
|
|
991
|
+
} else e7 = c7;
|
|
992
|
+
c7 !== e7 && (b7[d7] = e7, a15[d7] = e7.o);
|
|
993
993
|
}
|
|
994
|
-
P3(
|
|
994
|
+
P3(a15, 8);
|
|
995
995
|
}
|
|
996
|
-
return
|
|
996
|
+
return b7;
|
|
997
997
|
}
|
|
998
|
-
function V3(
|
|
999
|
-
if (null !=
|
|
1000
|
-
U3(
|
|
998
|
+
function V3(a15, b7, c7) {
|
|
999
|
+
if (null != c7 && "number" !== typeof c7) throw Error("Value of float/double field must be a number|null|undefined, found " + typeof c7 + ": " + c7);
|
|
1000
|
+
U3(a15, b7, c7);
|
|
1001
1001
|
}
|
|
1002
|
-
function Qb(
|
|
1003
|
-
Hb(
|
|
1004
|
-
var
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
void 0 !=
|
|
1008
|
-
|
|
1009
|
-
return
|
|
1002
|
+
function Qb(a15, b7, c7, d7, e7) {
|
|
1003
|
+
Hb(a15);
|
|
1004
|
+
var g6 = Nb(a15, c7, b7, false, false);
|
|
1005
|
+
c7 = null != d7 ? d7 : new c7();
|
|
1006
|
+
a15 = Lb(a15, b7, 2, false);
|
|
1007
|
+
void 0 != e7 ? (g6.splice(e7, 0, c7), a15.splice(e7, 0, c7.o)) : (g6.push(c7), a15.push(c7.o));
|
|
1008
|
+
c7.C() && zb(a15, 8);
|
|
1009
|
+
return c7;
|
|
1010
1010
|
}
|
|
1011
|
-
function Rb(
|
|
1012
|
-
return null ==
|
|
1011
|
+
function Rb(a15, b7) {
|
|
1012
|
+
return null == a15 ? b7 : a15;
|
|
1013
1013
|
}
|
|
1014
|
-
function W2(
|
|
1015
|
-
|
|
1016
|
-
return Rb(Mb(
|
|
1014
|
+
function W2(a15, b7, c7) {
|
|
1015
|
+
c7 = void 0 === c7 ? 0 : c7;
|
|
1016
|
+
return Rb(Mb(a15, b7), c7);
|
|
1017
1017
|
}
|
|
1018
1018
|
var Sb;
|
|
1019
|
-
function Tb(
|
|
1020
|
-
switch (typeof
|
|
1019
|
+
function Tb(a15) {
|
|
1020
|
+
switch (typeof a15) {
|
|
1021
1021
|
case "number":
|
|
1022
|
-
return isFinite(
|
|
1022
|
+
return isFinite(a15) ? a15 : String(a15);
|
|
1023
1023
|
case "object":
|
|
1024
|
-
if (
|
|
1025
|
-
if (0 !== (Q4(
|
|
1024
|
+
if (a15) if (Array.isArray(a15)) {
|
|
1025
|
+
if (0 !== (Q4(a15) & 128)) return a15 = Array.prototype.slice.call(a15), Ib(a15), a15;
|
|
1026
1026
|
} else {
|
|
1027
|
-
if (Ia && null !=
|
|
1028
|
-
if (
|
|
1029
|
-
var
|
|
1030
|
-
return null ==
|
|
1027
|
+
if (Ia && null != a15 && a15 instanceof Uint8Array) return Ka(a15);
|
|
1028
|
+
if (a15 instanceof ib) {
|
|
1029
|
+
var b7 = a15.V;
|
|
1030
|
+
return null == b7 ? "" : "string" === typeof b7 ? b7 : a15.V = Ka(b7);
|
|
1031
1031
|
}
|
|
1032
1032
|
}
|
|
1033
1033
|
}
|
|
1034
|
-
return
|
|
1035
|
-
}
|
|
1036
|
-
function Ub(
|
|
1037
|
-
if (null !=
|
|
1038
|
-
if (Array.isArray(
|
|
1039
|
-
else if (Eb(
|
|
1040
|
-
var
|
|
1041
|
-
for (
|
|
1042
|
-
|
|
1043
|
-
} else
|
|
1044
|
-
return
|
|
1034
|
+
return a15;
|
|
1035
|
+
}
|
|
1036
|
+
function Ub(a15, b7, c7, d7) {
|
|
1037
|
+
if (null != a15) {
|
|
1038
|
+
if (Array.isArray(a15)) a15 = Vb(a15, b7, c7, void 0 !== d7);
|
|
1039
|
+
else if (Eb(a15)) {
|
|
1040
|
+
var e7 = {}, g6;
|
|
1041
|
+
for (g6 in a15) e7[g6] = Ub(a15[g6], b7, c7, d7);
|
|
1042
|
+
a15 = e7;
|
|
1043
|
+
} else a15 = b7(a15, d7);
|
|
1044
|
+
return a15;
|
|
1045
1045
|
}
|
|
1046
1046
|
}
|
|
1047
|
-
function Vb(
|
|
1048
|
-
var
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
for (var
|
|
1052
|
-
|
|
1053
|
-
return
|
|
1054
|
-
}
|
|
1055
|
-
function Wb(
|
|
1056
|
-
return
|
|
1057
|
-
}
|
|
1058
|
-
function Xb(
|
|
1059
|
-
|
|
1060
|
-
}
|
|
1061
|
-
function Yb(
|
|
1062
|
-
|
|
1063
|
-
if (null !=
|
|
1064
|
-
if (Ia &&
|
|
1065
|
-
if (Array.isArray(
|
|
1066
|
-
var
|
|
1067
|
-
if (
|
|
1068
|
-
if (
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
return
|
|
1047
|
+
function Vb(a15, b7, c7, d7) {
|
|
1048
|
+
var e7 = Q4(a15);
|
|
1049
|
+
d7 = d7 ? !!(e7 & 16) : void 0;
|
|
1050
|
+
a15 = Array.prototype.slice.call(a15);
|
|
1051
|
+
for (var g6 = 0; g6 < a15.length; g6++) a15[g6] = Ub(a15[g6], b7, c7, d7);
|
|
1052
|
+
c7(e7, a15);
|
|
1053
|
+
return a15;
|
|
1054
|
+
}
|
|
1055
|
+
function Wb(a15) {
|
|
1056
|
+
return a15.ja === Db ? a15.toJSON() : Tb(a15);
|
|
1057
|
+
}
|
|
1058
|
+
function Xb(a15, b7) {
|
|
1059
|
+
a15 & 128 && Ib(b7);
|
|
1060
|
+
}
|
|
1061
|
+
function Yb(a15, b7, c7) {
|
|
1062
|
+
c7 = void 0 === c7 ? Cb : c7;
|
|
1063
|
+
if (null != a15) {
|
|
1064
|
+
if (Ia && a15 instanceof Uint8Array) return a15.length ? new ib(new Uint8Array(a15), Qa) : jb();
|
|
1065
|
+
if (Array.isArray(a15)) {
|
|
1066
|
+
var d7 = Q4(a15);
|
|
1067
|
+
if (d7 & 2) return a15;
|
|
1068
|
+
if (b7 && !(d7 & 32) && (d7 & 16 || 0 === d7)) return R3(a15, d7 | 2), a15;
|
|
1069
|
+
a15 = Vb(a15, Yb, d7 & 4 ? Cb : c7, true);
|
|
1070
|
+
b7 = Q4(a15);
|
|
1071
|
+
b7 & 4 && b7 & 2 && Object.freeze(a15);
|
|
1072
|
+
return a15;
|
|
1073
1073
|
}
|
|
1074
|
-
return
|
|
1074
|
+
return a15.ja === Db ? Zb(a15) : a15;
|
|
1075
1075
|
}
|
|
1076
1076
|
}
|
|
1077
|
-
function $b(
|
|
1078
|
-
if (
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
Hb(
|
|
1082
|
-
|
|
1083
|
-
if (null !=
|
|
1084
|
-
|
|
1085
|
-
for (
|
|
1086
|
-
var
|
|
1087
|
-
|
|
1088
|
-
|
|
1077
|
+
function $b(a15, b7, c7, d7, e7, g6, f7) {
|
|
1078
|
+
if (a15 = a15.h && a15.h[c7]) {
|
|
1079
|
+
d7 = Q4(a15);
|
|
1080
|
+
d7 & 2 ? d7 = a15 : (g6 = Ca(a15, Zb), Cb(d7, g6), Object.freeze(g6), d7 = g6);
|
|
1081
|
+
Hb(b7);
|
|
1082
|
+
f7 = null == d7 ? Fb : Ab([]);
|
|
1083
|
+
if (null != d7) {
|
|
1084
|
+
g6 = !!d7.length;
|
|
1085
|
+
for (a15 = 0; a15 < d7.length; a15++) {
|
|
1086
|
+
var h6 = d7[a15];
|
|
1087
|
+
g6 = g6 && !(Q4(h6.o) & 2);
|
|
1088
|
+
f7[a15] = h6.o;
|
|
1089
1089
|
}
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
(
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
} else
|
|
1096
|
-
Kb(
|
|
1097
|
-
} else U3(
|
|
1098
|
-
}
|
|
1099
|
-
function Zb(
|
|
1100
|
-
if (Q4(
|
|
1101
|
-
|
|
1102
|
-
P3(
|
|
1103
|
-
return
|
|
1104
|
-
}
|
|
1105
|
-
function Pb(
|
|
1106
|
-
var
|
|
1107
|
-
P3(
|
|
1108
|
-
var
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
if (
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
var
|
|
1115
|
-
|
|
1090
|
+
g6 = (g6 ? 8 : 0) | 1;
|
|
1091
|
+
a15 = Q4(f7);
|
|
1092
|
+
(a15 & g6) !== g6 && (Object.isFrozen(f7) && (f7 = Array.prototype.slice.call(f7)), R3(f7, a15 | g6));
|
|
1093
|
+
b7.h || (b7.h = {});
|
|
1094
|
+
b7.h[c7] = d7;
|
|
1095
|
+
} else b7.h && (b7.h[c7] = void 0);
|
|
1096
|
+
Kb(b7, c7, f7, e7);
|
|
1097
|
+
} else U3(b7, c7, Yb(d7, g6, f7), e7);
|
|
1098
|
+
}
|
|
1099
|
+
function Zb(a15) {
|
|
1100
|
+
if (Q4(a15.o) & 2) return a15;
|
|
1101
|
+
a15 = Pb(a15, true);
|
|
1102
|
+
P3(a15.o, 2);
|
|
1103
|
+
return a15;
|
|
1104
|
+
}
|
|
1105
|
+
function Pb(a15, b7) {
|
|
1106
|
+
var c7 = a15.o, d7 = [];
|
|
1107
|
+
P3(d7, 16);
|
|
1108
|
+
var e7 = a15.constructor.h;
|
|
1109
|
+
e7 && d7.push(e7);
|
|
1110
|
+
e7 = a15.B;
|
|
1111
|
+
if (e7) {
|
|
1112
|
+
d7.length = c7.length;
|
|
1113
|
+
d7.fill(void 0, d7.length, c7.length);
|
|
1114
|
+
var g6 = {};
|
|
1115
|
+
d7[d7.length - 1] = g6;
|
|
1116
1116
|
}
|
|
1117
|
-
0 !== (Q4(
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
Sb =
|
|
1121
|
-
|
|
1117
|
+
0 !== (Q4(c7) & 128) && Ib(d7);
|
|
1118
|
+
b7 = b7 || a15.C() ? Cb : Bb;
|
|
1119
|
+
g6 = a15.constructor;
|
|
1120
|
+
Sb = d7;
|
|
1121
|
+
d7 = new g6(d7);
|
|
1122
1122
|
Sb = void 0;
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
for (var
|
|
1126
|
-
if (
|
|
1127
|
-
return
|
|
1128
|
-
}
|
|
1129
|
-
function X3(
|
|
1130
|
-
null ==
|
|
1123
|
+
a15.R && (d7.R = a15.R.slice());
|
|
1124
|
+
g6 = !!(Q4(c7) & 16);
|
|
1125
|
+
for (var f7 = e7 ? c7.length - 1 : c7.length, h6 = 0; h6 < f7; h6++) $b(a15, d7, h6 - a15.G, c7[h6], false, g6, b7);
|
|
1126
|
+
if (e7) for (var k5 in e7) $b(a15, d7, +k5, e7[k5], true, g6, b7);
|
|
1127
|
+
return d7;
|
|
1128
|
+
}
|
|
1129
|
+
function X3(a15, b7, c7) {
|
|
1130
|
+
null == a15 && (a15 = Sb);
|
|
1131
1131
|
Sb = void 0;
|
|
1132
|
-
var
|
|
1133
|
-
if (null ==
|
|
1134
|
-
|
|
1135
|
-
var
|
|
1132
|
+
var d7 = this.constructor.i || 0, e7 = 0 < d7, g6 = this.constructor.h, f7 = false;
|
|
1133
|
+
if (null == a15) {
|
|
1134
|
+
a15 = g6 ? [g6] : [];
|
|
1135
|
+
var h6 = 48;
|
|
1136
1136
|
var k5 = true;
|
|
1137
|
-
|
|
1138
|
-
R3(
|
|
1137
|
+
e7 && (d7 = 0, h6 |= 128);
|
|
1138
|
+
R3(a15, h6);
|
|
1139
1139
|
} else {
|
|
1140
|
-
if (!Array.isArray(
|
|
1141
|
-
if (
|
|
1142
|
-
var l5 =
|
|
1143
|
-
if (k5 = 0 !== (16 & l5)) (
|
|
1144
|
-
if (
|
|
1140
|
+
if (!Array.isArray(a15)) throw Error();
|
|
1141
|
+
if (g6 && g6 !== a15[0]) throw Error();
|
|
1142
|
+
var l5 = h6 = P3(a15, 0);
|
|
1143
|
+
if (k5 = 0 !== (16 & l5)) (f7 = 0 !== (32 & l5)) || (l5 |= 32);
|
|
1144
|
+
if (e7) if (128 & l5) d7 = 0;
|
|
1145
1145
|
else {
|
|
1146
|
-
if (0 <
|
|
1147
|
-
var m6 =
|
|
1146
|
+
if (0 < a15.length) {
|
|
1147
|
+
var m6 = a15[a15.length - 1];
|
|
1148
1148
|
if (Eb(m6) && "g" in m6) {
|
|
1149
|
-
|
|
1149
|
+
d7 = 0;
|
|
1150
1150
|
l5 |= 128;
|
|
1151
1151
|
delete m6.g;
|
|
1152
|
-
var
|
|
1153
|
-
for (
|
|
1154
|
-
|
|
1152
|
+
var r6 = true, p7;
|
|
1153
|
+
for (p7 in m6) {
|
|
1154
|
+
r6 = false;
|
|
1155
1155
|
break;
|
|
1156
1156
|
}
|
|
1157
|
-
|
|
1157
|
+
r6 && a15.pop();
|
|
1158
1158
|
}
|
|
1159
1159
|
}
|
|
1160
1160
|
}
|
|
1161
1161
|
else if (128 & l5) throw Error();
|
|
1162
|
-
|
|
1162
|
+
h6 !== l5 && R3(a15, l5);
|
|
1163
1163
|
}
|
|
1164
|
-
this.G = (
|
|
1164
|
+
this.G = (g6 ? 0 : -1) - d7;
|
|
1165
1165
|
this.h = void 0;
|
|
1166
|
-
this.o =
|
|
1166
|
+
this.o = a15;
|
|
1167
1167
|
a: {
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
if (
|
|
1171
|
-
this.B =
|
|
1172
|
-
this.i =
|
|
1168
|
+
g6 = this.o.length;
|
|
1169
|
+
d7 = g6 - 1;
|
|
1170
|
+
if (g6 && (g6 = this.o[d7], Eb(g6))) {
|
|
1171
|
+
this.B = g6;
|
|
1172
|
+
this.i = d7 - this.G;
|
|
1173
1173
|
break a;
|
|
1174
1174
|
}
|
|
1175
|
-
void 0 !==
|
|
1175
|
+
void 0 !== b7 && -1 < b7 ? (this.i = Math.max(b7, d7 + 1 - this.G), this.B = void 0) : this.i = Number.MAX_VALUE;
|
|
1176
1176
|
}
|
|
1177
|
-
if (!
|
|
1178
|
-
if (
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
var
|
|
1182
|
-
for (k5 = 0; k5 <
|
|
1177
|
+
if (!e7 && this.B && "g" in this.B) throw Error('Unexpected "g" flag in sparse object of message that is not a group type.');
|
|
1178
|
+
if (c7) {
|
|
1179
|
+
b7 = k5 && !f7 && true;
|
|
1180
|
+
e7 = this.i;
|
|
1181
|
+
var n5;
|
|
1182
|
+
for (k5 = 0; k5 < c7.length; k5++) f7 = c7[k5], f7 < e7 ? (f7 += this.G, (d7 = a15[f7]) ? ac3(d7, b7) : a15[f7] = Fb) : (n5 || (n5 = Jb(this)), (d7 = n5[f7]) ? ac3(d7, b7) : n5[f7] = Fb);
|
|
1183
1183
|
}
|
|
1184
1184
|
}
|
|
1185
1185
|
X3.prototype.toJSON = function() {
|
|
@@ -1188,601 +1188,601 @@ function requireSelfie_segmentation() {
|
|
|
1188
1188
|
X3.prototype.C = function() {
|
|
1189
1189
|
return !!(Q4(this.o) & 2);
|
|
1190
1190
|
};
|
|
1191
|
-
function
|
|
1192
|
-
if (Array.isArray(
|
|
1193
|
-
var
|
|
1194
|
-
!
|
|
1195
|
-
(
|
|
1191
|
+
function ac3(a15, b7) {
|
|
1192
|
+
if (Array.isArray(a15)) {
|
|
1193
|
+
var c7 = Q4(a15), d7 = 1;
|
|
1194
|
+
!b7 || c7 & 2 || (d7 |= 16);
|
|
1195
|
+
(c7 & d7) !== d7 && R3(a15, c7 | d7);
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
1198
|
X3.prototype.ja = Db;
|
|
1199
1199
|
X3.prototype.toString = function() {
|
|
1200
1200
|
return this.o.toString();
|
|
1201
1201
|
};
|
|
1202
|
-
function bc(
|
|
1203
|
-
if (
|
|
1204
|
-
var
|
|
1205
|
-
for (
|
|
1206
|
-
var
|
|
1207
|
-
|
|
1202
|
+
function bc(a15, b7, c7) {
|
|
1203
|
+
if (c7) {
|
|
1204
|
+
var d7 = {}, e7;
|
|
1205
|
+
for (e7 in c7) {
|
|
1206
|
+
var g6 = c7[e7], f7 = g6.ra;
|
|
1207
|
+
f7 || (d7.J = g6.xa || g6.oa.W, g6.ia ? (d7.aa = cc(g6.ia), f7 = /* @__PURE__ */ (function(h6) {
|
|
1208
1208
|
return function(k5, l5, m6) {
|
|
1209
|
-
return
|
|
1209
|
+
return h6.J(k5, l5, m6, h6.aa);
|
|
1210
1210
|
};
|
|
1211
|
-
})(
|
|
1211
|
+
})(d7)) : g6.ka ? (d7.Z = dc(g6.da.P, g6.ka), f7 = /* @__PURE__ */ (function(h6) {
|
|
1212
1212
|
return function(k5, l5, m6) {
|
|
1213
|
-
return
|
|
1213
|
+
return h6.J(k5, l5, m6, h6.Z);
|
|
1214
1214
|
};
|
|
1215
|
-
})(
|
|
1216
|
-
|
|
1217
|
-
|
|
1215
|
+
})(d7)) : f7 = d7.J, g6.ra = f7);
|
|
1216
|
+
f7(b7, a15, g6.da);
|
|
1217
|
+
d7 = { J: d7.J, aa: d7.aa, Z: d7.Z };
|
|
1218
1218
|
}
|
|
1219
1219
|
}
|
|
1220
|
-
yb(
|
|
1220
|
+
yb(b7, a15);
|
|
1221
1221
|
}
|
|
1222
1222
|
var ec = Symbol();
|
|
1223
|
-
function fc(
|
|
1224
|
-
return
|
|
1225
|
-
return
|
|
1223
|
+
function fc(a15, b7, c7) {
|
|
1224
|
+
return a15[ec] || (a15[ec] = function(d7, e7) {
|
|
1225
|
+
return b7(d7, e7, c7);
|
|
1226
1226
|
});
|
|
1227
1227
|
}
|
|
1228
|
-
function gc(
|
|
1229
|
-
var
|
|
1230
|
-
if (!
|
|
1231
|
-
var
|
|
1232
|
-
|
|
1233
|
-
return ic(
|
|
1228
|
+
function gc(a15) {
|
|
1229
|
+
var b7 = a15[ec];
|
|
1230
|
+
if (!b7) {
|
|
1231
|
+
var c7 = hc(a15);
|
|
1232
|
+
b7 = function(d7, e7) {
|
|
1233
|
+
return ic(d7, e7, c7);
|
|
1234
1234
|
};
|
|
1235
|
-
|
|
1235
|
+
a15[ec] = b7;
|
|
1236
1236
|
}
|
|
1237
|
-
return
|
|
1238
|
-
}
|
|
1239
|
-
function jc(
|
|
1240
|
-
var
|
|
1241
|
-
if (
|
|
1242
|
-
if (
|
|
1243
|
-
}
|
|
1244
|
-
function kc(
|
|
1245
|
-
var
|
|
1246
|
-
return
|
|
1247
|
-
return
|
|
1248
|
-
} : function(
|
|
1249
|
-
return
|
|
1237
|
+
return b7;
|
|
1238
|
+
}
|
|
1239
|
+
function jc(a15) {
|
|
1240
|
+
var b7 = a15.ia;
|
|
1241
|
+
if (b7) return gc(b7);
|
|
1242
|
+
if (b7 = a15.wa) return fc(a15.da.P, b7, a15.ka);
|
|
1243
|
+
}
|
|
1244
|
+
function kc(a15) {
|
|
1245
|
+
var b7 = jc(a15), c7 = a15.da, d7 = a15.oa.U;
|
|
1246
|
+
return b7 ? function(e7, g6) {
|
|
1247
|
+
return d7(e7, g6, c7, b7);
|
|
1248
|
+
} : function(e7, g6) {
|
|
1249
|
+
return d7(e7, g6, c7);
|
|
1250
1250
|
};
|
|
1251
1251
|
}
|
|
1252
|
-
function lc(
|
|
1253
|
-
var
|
|
1254
|
-
"function" == typeof
|
|
1255
|
-
return Array.isArray(
|
|
1256
|
-
}
|
|
1257
|
-
function oc(
|
|
1258
|
-
|
|
1259
|
-
var
|
|
1260
|
-
if (
|
|
1261
|
-
var
|
|
1262
|
-
|
|
1252
|
+
function lc(a15, b7) {
|
|
1253
|
+
var c7 = a15[b7];
|
|
1254
|
+
"function" == typeof c7 && 0 === c7.length && (c7 = c7(), a15[b7] = c7);
|
|
1255
|
+
return Array.isArray(c7) && (mc in c7 || nc in c7 || 0 < c7.length && "function" == typeof c7[0]) ? c7 : void 0;
|
|
1256
|
+
}
|
|
1257
|
+
function oc(a15, b7, c7, d7, e7, g6) {
|
|
1258
|
+
b7.P = a15[0];
|
|
1259
|
+
var f7 = 1;
|
|
1260
|
+
if (a15.length > f7 && "number" !== typeof a15[f7]) {
|
|
1261
|
+
var h6 = a15[f7++];
|
|
1262
|
+
c7(b7, h6);
|
|
1263
1263
|
}
|
|
1264
|
-
for (;
|
|
1265
|
-
|
|
1266
|
-
for (var k5 =
|
|
1267
|
-
|
|
1268
|
-
k5 -=
|
|
1264
|
+
for (; f7 < a15.length; ) {
|
|
1265
|
+
c7 = a15[f7++];
|
|
1266
|
+
for (var k5 = f7 + 1; k5 < a15.length && "number" !== typeof a15[k5]; ) k5++;
|
|
1267
|
+
h6 = a15[f7++];
|
|
1268
|
+
k5 -= f7;
|
|
1269
1269
|
switch (k5) {
|
|
1270
1270
|
case 0:
|
|
1271
|
-
|
|
1271
|
+
d7(b7, c7, h6);
|
|
1272
1272
|
break;
|
|
1273
1273
|
case 1:
|
|
1274
|
-
(k5 = lc(
|
|
1274
|
+
(k5 = lc(a15, f7)) ? (f7++, e7(b7, c7, h6, k5)) : d7(b7, c7, h6, a15[f7++]);
|
|
1275
1275
|
break;
|
|
1276
1276
|
case 2:
|
|
1277
|
-
k5 =
|
|
1278
|
-
k5 = lc(
|
|
1279
|
-
|
|
1277
|
+
k5 = f7++;
|
|
1278
|
+
k5 = lc(a15, k5);
|
|
1279
|
+
e7(b7, c7, h6, k5, a15[f7++]);
|
|
1280
1280
|
break;
|
|
1281
1281
|
case 3:
|
|
1282
|
-
|
|
1282
|
+
g6(b7, c7, h6, a15[f7++], a15[f7++], a15[f7++]);
|
|
1283
1283
|
break;
|
|
1284
1284
|
case 4:
|
|
1285
|
-
|
|
1285
|
+
g6(b7, c7, h6, a15[f7++], a15[f7++], a15[f7++], a15[f7++]);
|
|
1286
1286
|
break;
|
|
1287
1287
|
default:
|
|
1288
1288
|
throw Error("unexpected number of binary field arguments: " + k5);
|
|
1289
1289
|
}
|
|
1290
1290
|
}
|
|
1291
|
-
return
|
|
1291
|
+
return b7;
|
|
1292
1292
|
}
|
|
1293
1293
|
var pc = Symbol();
|
|
1294
|
-
function cc(
|
|
1295
|
-
var
|
|
1296
|
-
if (!
|
|
1297
|
-
var
|
|
1298
|
-
|
|
1299
|
-
return rc(
|
|
1294
|
+
function cc(a15) {
|
|
1295
|
+
var b7 = a15[pc];
|
|
1296
|
+
if (!b7) {
|
|
1297
|
+
var c7 = qc(a15);
|
|
1298
|
+
b7 = function(d7, e7) {
|
|
1299
|
+
return rc(d7, e7, c7);
|
|
1300
1300
|
};
|
|
1301
|
-
|
|
1301
|
+
a15[pc] = b7;
|
|
1302
1302
|
}
|
|
1303
|
-
return
|
|
1303
|
+
return b7;
|
|
1304
1304
|
}
|
|
1305
|
-
function dc(
|
|
1306
|
-
var
|
|
1307
|
-
|
|
1308
|
-
return bc(
|
|
1309
|
-
},
|
|
1310
|
-
return
|
|
1305
|
+
function dc(a15, b7) {
|
|
1306
|
+
var c7 = a15[pc];
|
|
1307
|
+
c7 || (c7 = function(d7, e7) {
|
|
1308
|
+
return bc(d7, e7, b7);
|
|
1309
|
+
}, a15[pc] = c7);
|
|
1310
|
+
return c7;
|
|
1311
1311
|
}
|
|
1312
1312
|
var nc = Symbol();
|
|
1313
|
-
function sc(
|
|
1314
|
-
|
|
1313
|
+
function sc(a15, b7) {
|
|
1314
|
+
a15.push(b7);
|
|
1315
1315
|
}
|
|
1316
|
-
function tc(
|
|
1317
|
-
|
|
1316
|
+
function tc(a15, b7, c7) {
|
|
1317
|
+
a15.push(b7, c7.W);
|
|
1318
1318
|
}
|
|
1319
|
-
function uc(
|
|
1320
|
-
var
|
|
1321
|
-
|
|
1322
|
-
return
|
|
1319
|
+
function uc(a15, b7, c7, d7) {
|
|
1320
|
+
var e7 = cc(d7), g6 = qc(d7).P, f7 = c7.W;
|
|
1321
|
+
a15.push(b7, function(h6, k5, l5) {
|
|
1322
|
+
return f7(h6, k5, l5, g6, e7);
|
|
1323
1323
|
});
|
|
1324
1324
|
}
|
|
1325
|
-
function vc(
|
|
1326
|
-
var
|
|
1327
|
-
|
|
1328
|
-
return
|
|
1325
|
+
function vc(a15, b7, c7, d7, e7, g6) {
|
|
1326
|
+
var f7 = dc(d7, g6), h6 = c7.W;
|
|
1327
|
+
a15.push(b7, function(k5, l5, m6) {
|
|
1328
|
+
return h6(k5, l5, m6, d7, f7);
|
|
1329
1329
|
});
|
|
1330
1330
|
}
|
|
1331
|
-
function qc(
|
|
1332
|
-
var
|
|
1333
|
-
if (
|
|
1334
|
-
|
|
1335
|
-
mc in
|
|
1336
|
-
return
|
|
1331
|
+
function qc(a15) {
|
|
1332
|
+
var b7 = a15[nc];
|
|
1333
|
+
if (b7) return b7;
|
|
1334
|
+
b7 = oc(a15, a15[nc] = [], sc, tc, uc, vc);
|
|
1335
|
+
mc in a15 && nc in a15 && (a15.length = 0);
|
|
1336
|
+
return b7;
|
|
1337
1337
|
}
|
|
1338
1338
|
var mc = Symbol();
|
|
1339
|
-
function wc(
|
|
1340
|
-
|
|
1341
|
-
}
|
|
1342
|
-
function xc(
|
|
1343
|
-
var
|
|
1344
|
-
|
|
1345
|
-
return
|
|
1346
|
-
} :
|
|
1347
|
-
}
|
|
1348
|
-
function yc(
|
|
1349
|
-
var
|
|
1350
|
-
|
|
1351
|
-
return
|
|
1339
|
+
function wc(a15, b7) {
|
|
1340
|
+
a15[0] = b7;
|
|
1341
|
+
}
|
|
1342
|
+
function xc(a15, b7, c7, d7) {
|
|
1343
|
+
var e7 = c7.U;
|
|
1344
|
+
a15[b7] = d7 ? function(g6, f7, h6) {
|
|
1345
|
+
return e7(g6, f7, h6, d7);
|
|
1346
|
+
} : e7;
|
|
1347
|
+
}
|
|
1348
|
+
function yc(a15, b7, c7, d7, e7) {
|
|
1349
|
+
var g6 = c7.U, f7 = gc(d7), h6 = hc(d7).P;
|
|
1350
|
+
a15[b7] = function(k5, l5, m6) {
|
|
1351
|
+
return g6(k5, l5, m6, h6, f7, e7);
|
|
1352
1352
|
};
|
|
1353
1353
|
}
|
|
1354
|
-
function zc(
|
|
1355
|
-
var
|
|
1356
|
-
|
|
1357
|
-
return
|
|
1354
|
+
function zc(a15, b7, c7, d7, e7, g6, f7) {
|
|
1355
|
+
var h6 = c7.U, k5 = fc(d7, e7, g6);
|
|
1356
|
+
a15[b7] = function(l5, m6, r6) {
|
|
1357
|
+
return h6(l5, m6, r6, d7, k5, f7);
|
|
1358
1358
|
};
|
|
1359
1359
|
}
|
|
1360
|
-
function hc(
|
|
1361
|
-
var
|
|
1362
|
-
if (
|
|
1363
|
-
|
|
1364
|
-
mc in
|
|
1365
|
-
return
|
|
1366
|
-
}
|
|
1367
|
-
function ic(
|
|
1368
|
-
for (; ub(
|
|
1369
|
-
var
|
|
1370
|
-
if (!
|
|
1371
|
-
var
|
|
1372
|
-
|
|
1360
|
+
function hc(a15) {
|
|
1361
|
+
var b7 = a15[mc];
|
|
1362
|
+
if (b7) return b7;
|
|
1363
|
+
b7 = oc(a15, a15[mc] = {}, wc, xc, yc, zc);
|
|
1364
|
+
mc in a15 && nc in a15 && (a15.length = 0);
|
|
1365
|
+
return b7;
|
|
1366
|
+
}
|
|
1367
|
+
function ic(a15, b7, c7) {
|
|
1368
|
+
for (; ub(b7) && 4 != b7.i; ) {
|
|
1369
|
+
var d7 = b7.l, e7 = c7[d7];
|
|
1370
|
+
if (!e7) {
|
|
1371
|
+
var g6 = c7[0];
|
|
1372
|
+
g6 && (g6 = g6[d7]) && (e7 = c7[d7] = kc(g6));
|
|
1373
1373
|
}
|
|
1374
|
-
if (!
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
vb(
|
|
1379
|
-
var
|
|
1380
|
-
if (!
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
if (0 ==
|
|
1374
|
+
if (!e7 || !e7(b7, a15, d7)) {
|
|
1375
|
+
e7 = b7;
|
|
1376
|
+
d7 = a15;
|
|
1377
|
+
g6 = e7.j;
|
|
1378
|
+
vb(e7);
|
|
1379
|
+
var f7 = e7;
|
|
1380
|
+
if (!f7.ca) {
|
|
1381
|
+
e7 = f7.h.h - g6;
|
|
1382
|
+
f7.h.h = g6;
|
|
1383
|
+
f7 = f7.h;
|
|
1384
|
+
if (0 == e7) e7 = jb();
|
|
1385
1385
|
else {
|
|
1386
|
-
|
|
1387
|
-
if (
|
|
1386
|
+
g6 = pb(f7, e7);
|
|
1387
|
+
if (f7.S && f7.m) e7 = f7.i.subarray(g6, g6 + e7);
|
|
1388
1388
|
else {
|
|
1389
|
-
|
|
1390
|
-
var
|
|
1391
|
-
|
|
1392
|
-
|
|
1389
|
+
f7 = f7.i;
|
|
1390
|
+
var h6 = g6;
|
|
1391
|
+
e7 = g6 + e7;
|
|
1392
|
+
e7 = h6 === e7 ? Pa() : Ra ? f7.slice(h6, e7) : new Uint8Array(f7.subarray(h6, e7));
|
|
1393
1393
|
}
|
|
1394
|
-
|
|
1394
|
+
e7 = 0 == e7.length ? jb() : new ib(e7, Qa);
|
|
1395
1395
|
}
|
|
1396
|
-
(
|
|
1396
|
+
(g6 = d7.R) ? g6.push(e7) : d7.R = [e7];
|
|
1397
1397
|
}
|
|
1398
1398
|
}
|
|
1399
1399
|
}
|
|
1400
|
-
return
|
|
1401
|
-
}
|
|
1402
|
-
function rc(
|
|
1403
|
-
for (var
|
|
1404
|
-
bc(
|
|
1405
|
-
}
|
|
1406
|
-
function Ac(
|
|
1407
|
-
return { U:
|
|
1408
|
-
}
|
|
1409
|
-
var Y3 = Ac(function(
|
|
1410
|
-
if (5 !==
|
|
1411
|
-
|
|
1412
|
-
var
|
|
1413
|
-
var
|
|
1414
|
-
var
|
|
1415
|
-
|
|
1416
|
-
L3(
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
U3(
|
|
1400
|
+
return a15;
|
|
1401
|
+
}
|
|
1402
|
+
function rc(a15, b7, c7) {
|
|
1403
|
+
for (var d7 = c7.length, e7 = 1 == d7 % 2, g6 = e7 ? 1 : 0; g6 < d7; g6 += 2) (0, c7[g6 + 1])(b7, a15, c7[g6]);
|
|
1404
|
+
bc(a15, b7, e7 ? c7[0] : void 0);
|
|
1405
|
+
}
|
|
1406
|
+
function Ac(a15, b7) {
|
|
1407
|
+
return { U: a15, W: b7 };
|
|
1408
|
+
}
|
|
1409
|
+
var Y3 = Ac(function(a15, b7, c7) {
|
|
1410
|
+
if (5 !== a15.i) return false;
|
|
1411
|
+
a15 = a15.h;
|
|
1412
|
+
var d7 = a15.i, e7 = a15.h, g6 = d7[e7];
|
|
1413
|
+
var f7 = d7[e7 + 1];
|
|
1414
|
+
var h6 = d7[e7 + 2];
|
|
1415
|
+
d7 = d7[e7 + 3];
|
|
1416
|
+
L3(a15, a15.h + 4);
|
|
1417
|
+
f7 = (g6 << 0 | f7 << 8 | h6 << 16 | d7 << 24) >>> 0;
|
|
1418
|
+
a15 = 2 * (f7 >> 31) + 1;
|
|
1419
|
+
g6 = f7 >>> 23 & 255;
|
|
1420
|
+
f7 &= 8388607;
|
|
1421
|
+
U3(b7, c7, 255 == g6 ? f7 ? NaN : Infinity * a15 : 0 == g6 ? a15 * Math.pow(2, -149) * f7 : a15 * Math.pow(2, g6 - 150) * (f7 + Math.pow(2, 23)));
|
|
1422
1422
|
return true;
|
|
1423
|
-
}, function(
|
|
1424
|
-
|
|
1425
|
-
if (null !=
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
var
|
|
1429
|
-
0 ===
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1423
|
+
}, function(a15, b7, c7) {
|
|
1424
|
+
b7 = Mb(b7, c7);
|
|
1425
|
+
if (null != b7) {
|
|
1426
|
+
M4(a15.h, 8 * c7 + 5);
|
|
1427
|
+
a15 = a15.h;
|
|
1428
|
+
var d7 = +b7;
|
|
1429
|
+
0 === d7 ? 0 < 1 / d7 ? G3 = H3 = 0 : (H3 = 0, G3 = 2147483648) : isNaN(d7) ? (H3 = 0, G3 = 2147483647) : (d7 = (c7 = 0 > d7 ? -2147483648 : 0) ? -d7 : d7, 34028234663852886e22 < d7 ? (H3 = 0, G3 = (c7 | 2139095040) >>> 0) : 11754943508222875e-54 > d7 ? (d7 = Math.round(d7 / Math.pow(2, -149)), H3 = 0, G3 = (c7 | d7) >>> 0) : (b7 = Math.floor(Math.log(d7) / Math.LN2), d7 *= Math.pow(2, -b7), d7 = Math.round(8388608 * d7), 16777216 <= d7 && ++b7, H3 = 0, G3 = (c7 | b7 + 127 << 23 | d7 & 8388607) >>> 0));
|
|
1430
|
+
c7 = G3;
|
|
1431
|
+
a15.h.push(c7 >>> 0 & 255);
|
|
1432
|
+
a15.h.push(c7 >>> 8 & 255);
|
|
1433
|
+
a15.h.push(c7 >>> 16 & 255);
|
|
1434
|
+
a15.h.push(c7 >>> 24 & 255);
|
|
1435
1435
|
}
|
|
1436
|
-
}), Bc = Ac(function(
|
|
1437
|
-
if (0 !==
|
|
1438
|
-
var
|
|
1436
|
+
}), Bc = Ac(function(a15, b7, c7) {
|
|
1437
|
+
if (0 !== a15.i) return false;
|
|
1438
|
+
var d7 = a15.h, e7 = 0, g6 = a15 = 0, f7 = d7.i, h6 = d7.h;
|
|
1439
1439
|
do {
|
|
1440
|
-
var k5 =
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
} while (32 >
|
|
1444
|
-
32 <
|
|
1445
|
-
for (
|
|
1440
|
+
var k5 = f7[h6++];
|
|
1441
|
+
e7 |= (k5 & 127) << g6;
|
|
1442
|
+
g6 += 7;
|
|
1443
|
+
} while (32 > g6 && k5 & 128);
|
|
1444
|
+
32 < g6 && (a15 |= (k5 & 127) >> 4);
|
|
1445
|
+
for (g6 = 3; 32 > g6 && k5 & 128; g6 += 7) k5 = f7[h6++], a15 |= (k5 & 127) << g6;
|
|
1446
1446
|
L3(
|
|
1447
|
-
|
|
1448
|
-
|
|
1447
|
+
d7,
|
|
1448
|
+
h6
|
|
1449
1449
|
);
|
|
1450
1450
|
if (128 > k5) {
|
|
1451
|
-
|
|
1452
|
-
k5 =
|
|
1453
|
-
if (
|
|
1454
|
-
|
|
1451
|
+
d7 = e7 >>> 0;
|
|
1452
|
+
k5 = a15 >>> 0;
|
|
1453
|
+
if (a15 = k5 & 2147483648) d7 = ~d7 + 1 >>> 0, k5 = ~k5 >>> 0, 0 == d7 && (k5 = k5 + 1 >>> 0);
|
|
1454
|
+
d7 = 4294967296 * k5 + (d7 >>> 0);
|
|
1455
1455
|
} else throw Za();
|
|
1456
|
-
U3(
|
|
1456
|
+
U3(b7, c7, a15 ? -d7 : d7);
|
|
1457
1457
|
return true;
|
|
1458
|
-
}, function(
|
|
1459
|
-
|
|
1460
|
-
null !=
|
|
1461
|
-
}), Cc = Ac(function(
|
|
1462
|
-
if (0 !==
|
|
1463
|
-
U3(
|
|
1458
|
+
}, function(a15, b7, c7) {
|
|
1459
|
+
b7 = S3(b7, c7);
|
|
1460
|
+
null != b7 && ("string" === typeof b7 && Wa(b7), null != b7 && (M4(a15.h, 8 * c7), "number" === typeof b7 ? (a15 = a15.h, Sa(b7), sb(a15, G3, H3)) : (c7 = Wa(b7), sb(a15.h, c7.i, c7.h))));
|
|
1461
|
+
}), Cc = Ac(function(a15, b7, c7) {
|
|
1462
|
+
if (0 !== a15.i) return false;
|
|
1463
|
+
U3(b7, c7, ob(a15.h));
|
|
1464
1464
|
return true;
|
|
1465
|
-
}, function(
|
|
1466
|
-
|
|
1467
|
-
if (null !=
|
|
1465
|
+
}, function(a15, b7, c7) {
|
|
1466
|
+
b7 = S3(b7, c7);
|
|
1467
|
+
if (null != b7 && null != b7) if (M4(a15.h, 8 * c7), a15 = a15.h, c7 = b7, 0 <= c7) M4(a15, c7);
|
|
1468
1468
|
else {
|
|
1469
|
-
for (
|
|
1470
|
-
|
|
1469
|
+
for (b7 = 0; 9 > b7; b7++) a15.h.push(c7 & 127 | 128), c7 >>= 7;
|
|
1470
|
+
a15.h.push(1);
|
|
1471
1471
|
}
|
|
1472
|
-
}), Dc = Ac(function(
|
|
1473
|
-
if (2 !==
|
|
1474
|
-
var
|
|
1475
|
-
|
|
1476
|
-
var
|
|
1477
|
-
|
|
1472
|
+
}), Dc = Ac(function(a15, b7, c7) {
|
|
1473
|
+
if (2 !== a15.i) return false;
|
|
1474
|
+
var d7 = ob(a15.h) >>> 0;
|
|
1475
|
+
a15 = a15.h;
|
|
1476
|
+
var e7 = pb(a15, d7);
|
|
1477
|
+
a15 = a15.i;
|
|
1478
1478
|
if (db) {
|
|
1479
|
-
var
|
|
1480
|
-
(
|
|
1481
|
-
|
|
1482
|
-
|
|
1479
|
+
var g6 = a15, f7;
|
|
1480
|
+
(f7 = cb) || (f7 = cb = new TextDecoder("utf-8", { fatal: true }));
|
|
1481
|
+
a15 = e7 + d7;
|
|
1482
|
+
g6 = 0 === e7 && a15 === g6.length ? g6 : g6.subarray(e7, a15);
|
|
1483
1483
|
try {
|
|
1484
|
-
var
|
|
1485
|
-
} catch (
|
|
1484
|
+
var h6 = f7.decode(g6);
|
|
1485
|
+
} catch (r6) {
|
|
1486
1486
|
if (void 0 === bb) {
|
|
1487
1487
|
try {
|
|
1488
|
-
|
|
1489
|
-
} catch (
|
|
1488
|
+
f7.decode(new Uint8Array([128]));
|
|
1489
|
+
} catch (p7) {
|
|
1490
1490
|
}
|
|
1491
1491
|
try {
|
|
1492
|
-
|
|
1493
|
-
} catch (
|
|
1492
|
+
f7.decode(new Uint8Array([97])), bb = true;
|
|
1493
|
+
} catch (p7) {
|
|
1494
1494
|
bb = false;
|
|
1495
1495
|
}
|
|
1496
1496
|
}
|
|
1497
1497
|
!bb && (cb = void 0);
|
|
1498
|
-
throw
|
|
1498
|
+
throw r6;
|
|
1499
1499
|
}
|
|
1500
1500
|
} else {
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
for (var k5 = null, l5, m6;
|
|
1505
|
-
|
|
1501
|
+
h6 = e7;
|
|
1502
|
+
d7 = h6 + d7;
|
|
1503
|
+
e7 = [];
|
|
1504
|
+
for (var k5 = null, l5, m6; h6 < d7; ) l5 = a15[h6++], 128 > l5 ? e7.push(l5) : 224 > l5 ? h6 >= d7 ? K3() : (m6 = a15[h6++], 194 > l5 || 128 !== (m6 & 192) ? (h6--, K3()) : e7.push((l5 & 31) << 6 | m6 & 63)) : 240 > l5 ? h6 >= d7 - 1 ? K3() : (m6 = a15[h6++], 128 !== (m6 & 192) || 224 === l5 && 160 > m6 || 237 === l5 && 160 <= m6 || 128 !== ((g6 = a15[h6++]) & 192) ? (h6--, K3()) : e7.push((l5 & 15) << 12 | (m6 & 63) << 6 | g6 & 63)) : 244 >= l5 ? h6 >= d7 - 2 ? K3() : (m6 = a15[h6++], 128 !== (m6 & 192) || 0 !== (l5 << 28) + (m6 - 144) >> 30 || 128 !== ((g6 = a15[h6++]) & 192) || 128 !== ((f7 = a15[h6++]) & 192) ? (h6--, K3()) : (l5 = (l5 & 7) << 18 | (m6 & 63) << 12 | (g6 & 63) << 6 | f7 & 63, l5 -= 65536, e7.push((l5 >> 10 & 1023) + 55296, (l5 & 1023) + 56320))) : K3(), 8192 <= e7.length && (k5 = ab3(k5, e7), e7.length = 0);
|
|
1505
|
+
h6 = ab3(k5, e7);
|
|
1506
1506
|
}
|
|
1507
|
-
U3(
|
|
1507
|
+
U3(b7, c7, h6);
|
|
1508
1508
|
return true;
|
|
1509
|
-
}, function(
|
|
1510
|
-
|
|
1511
|
-
if (null !=
|
|
1512
|
-
var
|
|
1513
|
-
|
|
1509
|
+
}, function(a15, b7, c7) {
|
|
1510
|
+
b7 = S3(b7, c7);
|
|
1511
|
+
if (null != b7) {
|
|
1512
|
+
var d7 = false;
|
|
1513
|
+
d7 = void 0 === d7 ? false : d7;
|
|
1514
1514
|
if (fb) {
|
|
1515
|
-
if (
|
|
1516
|
-
|
|
1515
|
+
if (d7 && /(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(b7)) throw Error("Found an unpaired surrogate");
|
|
1516
|
+
b7 = (eb || (eb = new TextEncoder())).encode(b7);
|
|
1517
1517
|
} else {
|
|
1518
|
-
for (var
|
|
1519
|
-
var
|
|
1520
|
-
if (128 >
|
|
1518
|
+
for (var e7 = 0, g6 = new Uint8Array(3 * b7.length), f7 = 0; f7 < b7.length; f7++) {
|
|
1519
|
+
var h6 = b7.charCodeAt(f7);
|
|
1520
|
+
if (128 > h6) g6[e7++] = h6;
|
|
1521
1521
|
else {
|
|
1522
|
-
if (2048 >
|
|
1522
|
+
if (2048 > h6) g6[e7++] = h6 >> 6 | 192;
|
|
1523
1523
|
else {
|
|
1524
|
-
if (55296 <=
|
|
1525
|
-
if (56319 >=
|
|
1526
|
-
var k5 =
|
|
1524
|
+
if (55296 <= h6 && 57343 >= h6) {
|
|
1525
|
+
if (56319 >= h6 && f7 < b7.length) {
|
|
1526
|
+
var k5 = b7.charCodeAt(++f7);
|
|
1527
1527
|
if (56320 <= k5 && 57343 >= k5) {
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1528
|
+
h6 = 1024 * (h6 - 55296) + k5 - 56320 + 65536;
|
|
1529
|
+
g6[e7++] = h6 >> 18 | 240;
|
|
1530
|
+
g6[e7++] = h6 >> 12 & 63 | 128;
|
|
1531
|
+
g6[e7++] = h6 >> 6 & 63 | 128;
|
|
1532
|
+
g6[e7++] = h6 & 63 | 128;
|
|
1533
1533
|
continue;
|
|
1534
|
-
} else
|
|
1534
|
+
} else f7--;
|
|
1535
1535
|
}
|
|
1536
|
-
if (
|
|
1537
|
-
|
|
1536
|
+
if (d7) throw Error("Found an unpaired surrogate");
|
|
1537
|
+
h6 = 65533;
|
|
1538
1538
|
}
|
|
1539
|
-
|
|
1540
|
-
|
|
1539
|
+
g6[e7++] = h6 >> 12 | 224;
|
|
1540
|
+
g6[e7++] = h6 >> 6 & 63 | 128;
|
|
1541
1541
|
}
|
|
1542
|
-
|
|
1542
|
+
g6[e7++] = h6 & 63 | 128;
|
|
1543
1543
|
}
|
|
1544
1544
|
}
|
|
1545
|
-
|
|
1545
|
+
b7 = e7 === g6.length ? g6 : g6.subarray(0, e7);
|
|
1546
1546
|
}
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
N3(
|
|
1550
|
-
N3(
|
|
1547
|
+
M4(a15.h, 8 * c7 + 2);
|
|
1548
|
+
M4(a15.h, b7.length);
|
|
1549
|
+
N3(a15, a15.h.end());
|
|
1550
|
+
N3(a15, b7);
|
|
1551
1551
|
}
|
|
1552
|
-
}), Ec = Ac(function(
|
|
1553
|
-
if (2 !==
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
var
|
|
1558
|
-
0 >=
|
|
1559
|
-
if (
|
|
1560
|
-
|
|
1561
|
-
|
|
1552
|
+
}), Ec = Ac(function(a15, b7, c7, d7, e7) {
|
|
1553
|
+
if (2 !== a15.i) return false;
|
|
1554
|
+
b7 = Qb(b7, c7, d7);
|
|
1555
|
+
c7 = a15.h.j;
|
|
1556
|
+
d7 = ob(a15.h) >>> 0;
|
|
1557
|
+
var g6 = a15.h.h + d7, f7 = g6 - c7;
|
|
1558
|
+
0 >= f7 && (a15.h.j = g6, e7(b7, a15, void 0, void 0, void 0), f7 = g6 - a15.h.h);
|
|
1559
|
+
if (f7) throw Error("Message parsing ended unexpectedly. Expected to read " + (d7 + " bytes, instead read " + (d7 - f7) + " bytes, either the data ended unexpectedly or the message misreported its own length"));
|
|
1560
|
+
a15.h.h = g6;
|
|
1561
|
+
a15.h.j = c7;
|
|
1562
1562
|
return true;
|
|
1563
|
-
}, function(
|
|
1564
|
-
|
|
1565
|
-
if (null !=
|
|
1566
|
-
var
|
|
1567
|
-
|
|
1568
|
-
var
|
|
1569
|
-
N3(
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
var
|
|
1575
|
-
for (
|
|
1576
|
-
|
|
1577
|
-
|
|
1563
|
+
}, function(a15, b7, c7, d7, e7) {
|
|
1564
|
+
b7 = Ob(b7, d7, c7);
|
|
1565
|
+
if (null != b7) for (d7 = 0; d7 < b7.length; d7++) {
|
|
1566
|
+
var g6 = a15;
|
|
1567
|
+
M4(g6.h, 8 * c7 + 2);
|
|
1568
|
+
var f7 = g6.h.end();
|
|
1569
|
+
N3(g6, f7);
|
|
1570
|
+
f7.push(g6.i);
|
|
1571
|
+
g6 = f7;
|
|
1572
|
+
e7(b7[d7], a15);
|
|
1573
|
+
f7 = a15;
|
|
1574
|
+
var h6 = g6.pop();
|
|
1575
|
+
for (h6 = f7.i + f7.h.length() - h6; 127 < h6; ) g6.push(h6 & 127 | 128), h6 >>>= 7, f7.i++;
|
|
1576
|
+
g6.push(h6);
|
|
1577
|
+
f7.i++;
|
|
1578
1578
|
}
|
|
1579
1579
|
});
|
|
1580
|
-
function Fc(
|
|
1581
|
-
return function(
|
|
1580
|
+
function Fc(a15) {
|
|
1581
|
+
return function(b7, c7) {
|
|
1582
1582
|
a: {
|
|
1583
1583
|
if (wb.length) {
|
|
1584
|
-
var
|
|
1585
|
-
|
|
1586
|
-
nb(
|
|
1587
|
-
|
|
1588
|
-
} else
|
|
1584
|
+
var d7 = wb.pop();
|
|
1585
|
+
d7.setOptions(c7);
|
|
1586
|
+
nb(d7.h, b7, c7);
|
|
1587
|
+
b7 = d7;
|
|
1588
|
+
} else b7 = new tb(b7, c7);
|
|
1589
1589
|
try {
|
|
1590
|
-
var
|
|
1591
|
-
var
|
|
1590
|
+
var e7 = hc(a15);
|
|
1591
|
+
var g6 = ic(new e7.P(), b7, e7);
|
|
1592
1592
|
break a;
|
|
1593
1593
|
} finally {
|
|
1594
|
-
|
|
1594
|
+
e7 = b7.h, e7.i = null, e7.m = false, e7.l = 0, e7.j = 0, e7.h = 0, e7.S = false, b7.l = -1, b7.i = -1, 100 > wb.length && wb.push(b7);
|
|
1595
1595
|
}
|
|
1596
|
-
|
|
1596
|
+
g6 = void 0;
|
|
1597
1597
|
}
|
|
1598
|
-
return
|
|
1598
|
+
return g6;
|
|
1599
1599
|
};
|
|
1600
1600
|
}
|
|
1601
|
-
function Gc(
|
|
1601
|
+
function Gc(a15) {
|
|
1602
1602
|
return function() {
|
|
1603
|
-
var
|
|
1604
|
-
rc(this,
|
|
1605
|
-
N3(
|
|
1606
|
-
for (var
|
|
1607
|
-
var
|
|
1608
|
-
|
|
1609
|
-
|
|
1603
|
+
var b7 = new xb();
|
|
1604
|
+
rc(this, b7, qc(a15));
|
|
1605
|
+
N3(b7, b7.h.end());
|
|
1606
|
+
for (var c7 = new Uint8Array(b7.i), d7 = b7.j, e7 = d7.length, g6 = 0, f7 = 0; f7 < e7; f7++) {
|
|
1607
|
+
var h6 = d7[f7];
|
|
1608
|
+
c7.set(h6, g6);
|
|
1609
|
+
g6 += h6.length;
|
|
1610
1610
|
}
|
|
1611
|
-
|
|
1612
|
-
return
|
|
1611
|
+
b7.j = [c7];
|
|
1612
|
+
return c7;
|
|
1613
1613
|
};
|
|
1614
1614
|
}
|
|
1615
|
-
function Z3(
|
|
1616
|
-
X3.call(this,
|
|
1615
|
+
function Z3(a15) {
|
|
1616
|
+
X3.call(this, a15);
|
|
1617
1617
|
}
|
|
1618
1618
|
na(Z3, X3);
|
|
1619
1619
|
var Hc = [Z3, 1, Cc, 2, Y3, 3, Dc, 4, Dc];
|
|
1620
1620
|
Z3.prototype.l = Gc(Hc);
|
|
1621
|
-
function Ic(
|
|
1622
|
-
X3.call(this,
|
|
1621
|
+
function Ic(a15) {
|
|
1622
|
+
X3.call(this, a15, -1, Jc);
|
|
1623
1623
|
}
|
|
1624
1624
|
na(Ic, X3);
|
|
1625
|
-
Ic.prototype.addClassification = function(
|
|
1626
|
-
Qb(this, 1, Z3,
|
|
1625
|
+
Ic.prototype.addClassification = function(a15, b7) {
|
|
1626
|
+
Qb(this, 1, Z3, a15, b7);
|
|
1627
1627
|
return this;
|
|
1628
1628
|
};
|
|
1629
1629
|
var Jc = [1], Kc = Fc([Ic, 1, Ec, Hc]);
|
|
1630
|
-
function Lc(
|
|
1631
|
-
X3.call(this,
|
|
1630
|
+
function Lc(a15) {
|
|
1631
|
+
X3.call(this, a15);
|
|
1632
1632
|
}
|
|
1633
1633
|
na(Lc, X3);
|
|
1634
1634
|
var Mc = [Lc, 1, Y3, 2, Y3, 3, Y3, 4, Y3, 5, Y3];
|
|
1635
1635
|
Lc.prototype.l = Gc(Mc);
|
|
1636
|
-
function Nc(
|
|
1637
|
-
X3.call(this,
|
|
1636
|
+
function Nc(a15) {
|
|
1637
|
+
X3.call(this, a15, -1, Oc);
|
|
1638
1638
|
}
|
|
1639
1639
|
na(Nc, X3);
|
|
1640
1640
|
var Oc = [1], Pc = Fc([Nc, 1, Ec, Mc]);
|
|
1641
|
-
function Qc(
|
|
1642
|
-
X3.call(this,
|
|
1641
|
+
function Qc(a15) {
|
|
1642
|
+
X3.call(this, a15);
|
|
1643
1643
|
}
|
|
1644
1644
|
na(Qc, X3);
|
|
1645
1645
|
var Rc = [Qc, 1, Y3, 2, Y3, 3, Y3, 4, Y3, 5, Y3, 6, Bc], Sc = Fc(Rc);
|
|
1646
1646
|
Qc.prototype.l = Gc(Rc);
|
|
1647
|
-
function Tc(
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
if (!
|
|
1652
|
-
return
|
|
1653
|
-
}
|
|
1654
|
-
function Uc(
|
|
1655
|
-
return Ob(
|
|
1656
|
-
var
|
|
1657
|
-
return { index: null ==
|
|
1647
|
+
function Tc(a15, b7, c7) {
|
|
1648
|
+
c7 = a15.createShader(0 === c7 ? a15.VERTEX_SHADER : a15.FRAGMENT_SHADER);
|
|
1649
|
+
a15.shaderSource(c7, b7);
|
|
1650
|
+
a15.compileShader(c7);
|
|
1651
|
+
if (!a15.getShaderParameter(c7, a15.COMPILE_STATUS)) throw Error("Could not compile WebGL shader.\n\n" + a15.getShaderInfoLog(c7));
|
|
1652
|
+
return c7;
|
|
1653
|
+
}
|
|
1654
|
+
function Uc(a15) {
|
|
1655
|
+
return Ob(a15, Z3, 1).map(function(b7) {
|
|
1656
|
+
var c7 = S3(b7, 1);
|
|
1657
|
+
return { index: null == c7 ? 0 : c7, qa: W2(b7, 2), label: null != S3(b7, 3) ? Rb(S3(b7, 3), "") : void 0, displayName: null != S3(b7, 4) ? Rb(S3(b7, 4), "") : void 0 };
|
|
1658
1658
|
});
|
|
1659
1659
|
}
|
|
1660
|
-
function Vc(
|
|
1661
|
-
return { x: W2(
|
|
1660
|
+
function Vc(a15) {
|
|
1661
|
+
return { x: W2(a15, 1), y: W2(a15, 2), z: W2(a15, 3), visibility: null != Mb(a15, 4) ? W2(a15, 4) : void 0 };
|
|
1662
1662
|
}
|
|
1663
|
-
function Wc(
|
|
1664
|
-
this.i =
|
|
1665
|
-
this.h =
|
|
1663
|
+
function Wc(a15, b7) {
|
|
1664
|
+
this.i = a15;
|
|
1665
|
+
this.h = b7;
|
|
1666
1666
|
this.m = 0;
|
|
1667
1667
|
}
|
|
1668
|
-
function Xc(
|
|
1669
|
-
Yc(
|
|
1670
|
-
if ("function" === typeof
|
|
1671
|
-
if (
|
|
1672
|
-
if ("function" === typeof createImageBitmap) return createImageBitmap(
|
|
1673
|
-
void 0 ===
|
|
1674
|
-
return new Promise(function(
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1668
|
+
function Xc(a15, b7, c7) {
|
|
1669
|
+
Yc(a15, b7);
|
|
1670
|
+
if ("function" === typeof a15.h.canvas.transferToImageBitmap) return Promise.resolve(a15.h.canvas.transferToImageBitmap());
|
|
1671
|
+
if (c7) return Promise.resolve(a15.h.canvas);
|
|
1672
|
+
if ("function" === typeof createImageBitmap) return createImageBitmap(a15.h.canvas);
|
|
1673
|
+
void 0 === a15.j && (a15.j = document.createElement("canvas"));
|
|
1674
|
+
return new Promise(function(d7) {
|
|
1675
|
+
a15.j.height = a15.h.canvas.height;
|
|
1676
|
+
a15.j.width = a15.h.canvas.width;
|
|
1677
|
+
a15.j.getContext("2d", {}).drawImage(a15.h.canvas, 0, 0, a15.h.canvas.width, a15.h.canvas.height);
|
|
1678
|
+
d7(a15.j);
|
|
1679
1679
|
});
|
|
1680
1680
|
}
|
|
1681
|
-
function Yc(
|
|
1682
|
-
var
|
|
1683
|
-
if (void 0 ===
|
|
1684
|
-
var
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
if (!
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1681
|
+
function Yc(a15, b7) {
|
|
1682
|
+
var c7 = a15.h;
|
|
1683
|
+
if (void 0 === a15.s) {
|
|
1684
|
+
var d7 = Tc(c7, "\n attribute vec2 aVertex;\n attribute vec2 aTex;\n varying vec2 vTex;\n void main(void) {\n gl_Position = vec4(aVertex, 0.0, 1.0);\n vTex = aTex;\n }", 0), e7 = Tc(c7, "\n precision mediump float;\n varying vec2 vTex;\n uniform sampler2D sampler0;\n void main(){\n gl_FragColor = texture2D(sampler0, vTex);\n }", 1), g6 = c7.createProgram();
|
|
1685
|
+
c7.attachShader(g6, d7);
|
|
1686
|
+
c7.attachShader(g6, e7);
|
|
1687
|
+
c7.linkProgram(g6);
|
|
1688
|
+
if (!c7.getProgramParameter(g6, c7.LINK_STATUS)) throw Error("Could not compile WebGL program.\n\n" + c7.getProgramInfoLog(g6));
|
|
1689
|
+
d7 = a15.s = g6;
|
|
1690
|
+
c7.useProgram(d7);
|
|
1691
|
+
e7 = c7.getUniformLocation(d7, "sampler0");
|
|
1692
|
+
a15.l = { O: c7.getAttribLocation(d7, "aVertex"), N: c7.getAttribLocation(d7, "aTex"), ya: e7 };
|
|
1693
|
+
a15.v = c7.createBuffer();
|
|
1694
|
+
c7.bindBuffer(c7.ARRAY_BUFFER, a15.v);
|
|
1695
|
+
c7.enableVertexAttribArray(a15.l.O);
|
|
1696
|
+
c7.vertexAttribPointer(a15.l.O, 2, c7.FLOAT, false, 0, 0);
|
|
1697
|
+
c7.bufferData(c7.ARRAY_BUFFER, new Float32Array([-1, -1, -1, 1, 1, 1, 1, -1]), c7.STATIC_DRAW);
|
|
1698
|
+
c7.bindBuffer(c7.ARRAY_BUFFER, null);
|
|
1699
|
+
a15.u = c7.createBuffer();
|
|
1700
|
+
c7.bindBuffer(c7.ARRAY_BUFFER, a15.u);
|
|
1701
|
+
c7.enableVertexAttribArray(a15.l.N);
|
|
1702
|
+
c7.vertexAttribPointer(
|
|
1703
|
+
a15.l.N,
|
|
1704
1704
|
2,
|
|
1705
|
-
|
|
1705
|
+
c7.FLOAT,
|
|
1706
1706
|
false,
|
|
1707
1707
|
0,
|
|
1708
1708
|
0
|
|
1709
1709
|
);
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1710
|
+
c7.bufferData(c7.ARRAY_BUFFER, new Float32Array([0, 1, 0, 0, 1, 0, 1, 1]), c7.STATIC_DRAW);
|
|
1711
|
+
c7.bindBuffer(c7.ARRAY_BUFFER, null);
|
|
1712
|
+
c7.uniform1i(e7, 0);
|
|
1713
1713
|
}
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1714
|
+
d7 = a15.l;
|
|
1715
|
+
c7.useProgram(a15.s);
|
|
1716
|
+
c7.canvas.width = b7.width;
|
|
1717
|
+
c7.canvas.height = b7.height;
|
|
1718
|
+
c7.viewport(0, 0, b7.width, b7.height);
|
|
1719
|
+
c7.activeTexture(c7.TEXTURE0);
|
|
1720
|
+
a15.i.bindTexture2d(b7.glName);
|
|
1721
|
+
c7.enableVertexAttribArray(d7.O);
|
|
1722
|
+
c7.bindBuffer(c7.ARRAY_BUFFER, a15.v);
|
|
1723
|
+
c7.vertexAttribPointer(d7.O, 2, c7.FLOAT, false, 0, 0);
|
|
1724
|
+
c7.enableVertexAttribArray(d7.N);
|
|
1725
|
+
c7.bindBuffer(c7.ARRAY_BUFFER, a15.u);
|
|
1726
|
+
c7.vertexAttribPointer(
|
|
1727
|
+
d7.N,
|
|
1728
1728
|
2,
|
|
1729
|
-
|
|
1729
|
+
c7.FLOAT,
|
|
1730
1730
|
false,
|
|
1731
1731
|
0,
|
|
1732
1732
|
0
|
|
1733
1733
|
);
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
}
|
|
1744
|
-
function Zc(
|
|
1745
|
-
this.h =
|
|
1734
|
+
c7.bindFramebuffer(c7.DRAW_FRAMEBUFFER ? c7.DRAW_FRAMEBUFFER : c7.FRAMEBUFFER, null);
|
|
1735
|
+
c7.clearColor(0, 0, 0, 0);
|
|
1736
|
+
c7.clear(c7.COLOR_BUFFER_BIT);
|
|
1737
|
+
c7.colorMask(true, true, true, true);
|
|
1738
|
+
c7.drawArrays(c7.TRIANGLE_FAN, 0, 4);
|
|
1739
|
+
c7.disableVertexAttribArray(d7.O);
|
|
1740
|
+
c7.disableVertexAttribArray(d7.N);
|
|
1741
|
+
c7.bindBuffer(c7.ARRAY_BUFFER, null);
|
|
1742
|
+
a15.i.bindTexture2d(0);
|
|
1743
|
+
}
|
|
1744
|
+
function Zc(a15) {
|
|
1745
|
+
this.h = a15;
|
|
1746
1746
|
}
|
|
1747
1747
|
var $c = new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0, 1, 4, 1, 96, 0, 0, 3, 2, 1, 0, 10, 9, 1, 7, 0, 65, 0, 253, 15, 26, 11]);
|
|
1748
|
-
function
|
|
1749
|
-
return
|
|
1750
|
-
}
|
|
1751
|
-
function bd(
|
|
1752
|
-
window[
|
|
1753
|
-
}
|
|
1754
|
-
function cd(
|
|
1755
|
-
var
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
return new Promise(function(
|
|
1759
|
-
|
|
1760
|
-
|
|
1748
|
+
function ad3(a15, b7) {
|
|
1749
|
+
return b7 + a15;
|
|
1750
|
+
}
|
|
1751
|
+
function bd(a15, b7) {
|
|
1752
|
+
window[a15] = b7;
|
|
1753
|
+
}
|
|
1754
|
+
function cd(a15) {
|
|
1755
|
+
var b7 = document.createElement("script");
|
|
1756
|
+
b7.setAttribute("src", a15);
|
|
1757
|
+
b7.setAttribute("crossorigin", "anonymous");
|
|
1758
|
+
return new Promise(function(c7) {
|
|
1759
|
+
b7.addEventListener("load", function() {
|
|
1760
|
+
c7();
|
|
1761
1761
|
}, false);
|
|
1762
|
-
|
|
1763
|
-
|
|
1762
|
+
b7.addEventListener("error", function() {
|
|
1763
|
+
c7();
|
|
1764
1764
|
}, false);
|
|
1765
|
-
document.body.appendChild(
|
|
1765
|
+
document.body.appendChild(b7);
|
|
1766
1766
|
});
|
|
1767
1767
|
}
|
|
1768
1768
|
function dd() {
|
|
1769
|
-
return E4(function(
|
|
1770
|
-
switch (
|
|
1769
|
+
return E4(function(a15) {
|
|
1770
|
+
switch (a15.h) {
|
|
1771
1771
|
case 1:
|
|
1772
|
-
return
|
|
1772
|
+
return a15.s = 2, D4(a15, WebAssembly.instantiate($c), 4);
|
|
1773
1773
|
case 4:
|
|
1774
|
-
|
|
1775
|
-
|
|
1774
|
+
a15.h = 3;
|
|
1775
|
+
a15.s = 0;
|
|
1776
1776
|
break;
|
|
1777
1777
|
case 2:
|
|
1778
|
-
return
|
|
1778
|
+
return a15.s = 0, a15.l = null, a15.return(false);
|
|
1779
1779
|
case 3:
|
|
1780
|
-
return
|
|
1780
|
+
return a15.return(true);
|
|
1781
1781
|
}
|
|
1782
1782
|
});
|
|
1783
1783
|
}
|
|
1784
|
-
function ed(
|
|
1785
|
-
this.h =
|
|
1784
|
+
function ed(a15) {
|
|
1785
|
+
this.h = a15;
|
|
1786
1786
|
this.listeners = {};
|
|
1787
1787
|
this.l = {};
|
|
1788
1788
|
this.L = {};
|
|
@@ -1792,17 +1792,17 @@ function requireSelfie_segmentation() {
|
|
|
1792
1792
|
this.I = Promise.resolve();
|
|
1793
1793
|
this.fa = "";
|
|
1794
1794
|
this.D = {};
|
|
1795
|
-
this.locateFile =
|
|
1796
|
-
if ("object" === typeof window) var
|
|
1797
|
-
else if ("undefined" !== typeof location)
|
|
1795
|
+
this.locateFile = a15 && a15.locateFile || ad3;
|
|
1796
|
+
if ("object" === typeof window) var b7 = window.location.pathname.toString().substring(0, window.location.pathname.toString().lastIndexOf("/")) + "/";
|
|
1797
|
+
else if ("undefined" !== typeof location) b7 = location.pathname.toString().substring(0, location.pathname.toString().lastIndexOf("/")) + "/";
|
|
1798
1798
|
else throw Error("solutions can only be loaded on a web page or in a web worker");
|
|
1799
|
-
this.ha =
|
|
1800
|
-
if (
|
|
1801
|
-
|
|
1802
|
-
for (var
|
|
1803
|
-
|
|
1804
|
-
var
|
|
1805
|
-
void 0 !==
|
|
1799
|
+
this.ha = b7;
|
|
1800
|
+
if (a15.options) {
|
|
1801
|
+
b7 = A4(Object.keys(a15.options));
|
|
1802
|
+
for (var c7 = b7.next(); !c7.done; c7 = b7.next()) {
|
|
1803
|
+
c7 = c7.value;
|
|
1804
|
+
var d7 = a15.options[c7].default;
|
|
1805
|
+
void 0 !== d7 && (this.l[c7] = "function" === typeof d7 ? d7() : d7);
|
|
1806
1806
|
}
|
|
1807
1807
|
}
|
|
1808
1808
|
}
|
|
@@ -1811,245 +1811,245 @@ function requireSelfie_segmentation() {
|
|
|
1811
1811
|
this.j && this.j.delete();
|
|
1812
1812
|
return Promise.resolve();
|
|
1813
1813
|
};
|
|
1814
|
-
function fd(
|
|
1815
|
-
var
|
|
1816
|
-
return E4(function(
|
|
1817
|
-
switch (
|
|
1814
|
+
function fd(a15) {
|
|
1815
|
+
var b7, c7, d7, e7, g6, f7, h6, k5, l5, m6, r6;
|
|
1816
|
+
return E4(function(p7) {
|
|
1817
|
+
switch (p7.h) {
|
|
1818
1818
|
case 1:
|
|
1819
|
-
if (!
|
|
1820
|
-
|
|
1821
|
-
return D4(
|
|
1819
|
+
if (!a15.ga) return p7.return();
|
|
1820
|
+
b7 = void 0 === a15.h.files ? [] : "function" === typeof a15.h.files ? a15.h.files(a15.l) : a15.h.files;
|
|
1821
|
+
return D4(p7, dd(), 2);
|
|
1822
1822
|
case 2:
|
|
1823
|
-
|
|
1824
|
-
if ("object" === typeof window) return bd("createMediapipeSolutionsWasm", { locateFile:
|
|
1825
|
-
return void 0 !==
|
|
1826
|
-
}),
|
|
1827
|
-
return void 0 ===
|
|
1828
|
-
}), k5 = Promise.all(
|
|
1829
|
-
var q4 = gd(
|
|
1830
|
-
if (void 0 !==
|
|
1831
|
-
var t4 =
|
|
1823
|
+
c7 = p7.i;
|
|
1824
|
+
if ("object" === typeof window) return bd("createMediapipeSolutionsWasm", { locateFile: a15.locateFile }), bd("createMediapipeSolutionsPackedAssets", { locateFile: a15.locateFile }), f7 = b7.filter(function(n5) {
|
|
1825
|
+
return void 0 !== n5.data;
|
|
1826
|
+
}), h6 = b7.filter(function(n5) {
|
|
1827
|
+
return void 0 === n5.data;
|
|
1828
|
+
}), k5 = Promise.all(f7.map(function(n5) {
|
|
1829
|
+
var q4 = gd(a15, n5.url);
|
|
1830
|
+
if (void 0 !== n5.path) {
|
|
1831
|
+
var t4 = n5.path;
|
|
1832
1832
|
q4 = q4.then(function(w4) {
|
|
1833
|
-
|
|
1833
|
+
a15.overrideFile(t4, w4);
|
|
1834
1834
|
return Promise.resolve(w4);
|
|
1835
1835
|
});
|
|
1836
1836
|
}
|
|
1837
1837
|
return q4;
|
|
1838
|
-
})), l5 = Promise.all(
|
|
1839
|
-
return void 0 ===
|
|
1838
|
+
})), l5 = Promise.all(h6.map(function(n5) {
|
|
1839
|
+
return void 0 === n5.simd || n5.simd && c7 || !n5.simd && !c7 ? cd(a15.locateFile(n5.url, a15.ha)) : Promise.resolve();
|
|
1840
1840
|
})).then(function() {
|
|
1841
|
-
var
|
|
1841
|
+
var n5, q4, t4;
|
|
1842
1842
|
return E4(function(w4) {
|
|
1843
|
-
if (1 == w4.h) return
|
|
1843
|
+
if (1 == w4.h) return n5 = window.createMediapipeSolutionsWasm, q4 = window.createMediapipeSolutionsPackedAssets, t4 = a15, D4(w4, n5(q4), 2);
|
|
1844
1844
|
t4.i = w4.i;
|
|
1845
1845
|
w4.h = 0;
|
|
1846
1846
|
});
|
|
1847
1847
|
}), m6 = (function() {
|
|
1848
|
-
return E4(function(
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
gd(
|
|
1848
|
+
return E4(function(n5) {
|
|
1849
|
+
a15.h.graph && a15.h.graph.url ? n5 = D4(
|
|
1850
|
+
n5,
|
|
1851
|
+
gd(a15, a15.h.graph.url),
|
|
1852
1852
|
0
|
|
1853
|
-
) : (
|
|
1854
|
-
return
|
|
1853
|
+
) : (n5.h = 0, n5 = void 0);
|
|
1854
|
+
return n5;
|
|
1855
1855
|
});
|
|
1856
|
-
})(), D4(
|
|
1856
|
+
})(), D4(p7, Promise.all([l5, k5, m6]), 7);
|
|
1857
1857
|
if ("function" !== typeof importScripts) throw Error("solutions can only be loaded on a web page or in a web worker");
|
|
1858
|
-
|
|
1859
|
-
return void 0 ===
|
|
1860
|
-
}).map(function(
|
|
1861
|
-
return
|
|
1858
|
+
d7 = b7.filter(function(n5) {
|
|
1859
|
+
return void 0 === n5.simd || n5.simd && c7 || !n5.simd && !c7;
|
|
1860
|
+
}).map(function(n5) {
|
|
1861
|
+
return a15.locateFile(n5.url, a15.ha);
|
|
1862
1862
|
});
|
|
1863
|
-
importScripts.apply(null, ea(
|
|
1864
|
-
|
|
1865
|
-
return D4(
|
|
1863
|
+
importScripts.apply(null, ea(d7));
|
|
1864
|
+
e7 = a15;
|
|
1865
|
+
return D4(p7, createMediapipeSolutionsWasm(Module), 6);
|
|
1866
1866
|
case 6:
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1867
|
+
e7.i = p7.i;
|
|
1868
|
+
a15.m = new OffscreenCanvas(1, 1);
|
|
1869
|
+
a15.i.canvas = a15.m;
|
|
1870
|
+
g6 = a15.i.GL.createContext(a15.m, {
|
|
1871
1871
|
antialias: false,
|
|
1872
1872
|
alpha: false,
|
|
1873
1873
|
va: "undefined" !== typeof WebGL2RenderingContext ? 2 : 1
|
|
1874
1874
|
});
|
|
1875
|
-
|
|
1876
|
-
|
|
1875
|
+
a15.i.GL.makeContextCurrent(g6);
|
|
1876
|
+
p7.h = 4;
|
|
1877
1877
|
break;
|
|
1878
1878
|
case 7:
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
if (!
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1879
|
+
a15.m = document.createElement("canvas");
|
|
1880
|
+
r6 = a15.m.getContext("webgl2", {});
|
|
1881
|
+
if (!r6 && (r6 = a15.m.getContext("webgl", {}), !r6)) return alert("Failed to create WebGL canvas context when passing video frame."), p7.return();
|
|
1882
|
+
a15.K = r6;
|
|
1883
|
+
a15.i.canvas = a15.m;
|
|
1884
|
+
a15.i.createContext(a15.m, true, true, {});
|
|
1885
1885
|
case 4:
|
|
1886
|
-
|
|
1886
|
+
a15.j = new a15.i.SolutionWasm(), a15.ga = false, p7.h = 0;
|
|
1887
1887
|
}
|
|
1888
1888
|
});
|
|
1889
1889
|
}
|
|
1890
|
-
function hd(
|
|
1891
|
-
var
|
|
1890
|
+
function hd(a15) {
|
|
1891
|
+
var b7, c7, d7, e7, g6, f7, h6, k5;
|
|
1892
1892
|
return E4(function(l5) {
|
|
1893
1893
|
if (1 == l5.h) {
|
|
1894
|
-
if (
|
|
1895
|
-
|
|
1896
|
-
if (!
|
|
1894
|
+
if (a15.h.graph && a15.h.graph.url && a15.fa === a15.h.graph.url) return l5.return();
|
|
1895
|
+
a15.u = true;
|
|
1896
|
+
if (!a15.h.graph || !a15.h.graph.url) {
|
|
1897
1897
|
l5.h = 2;
|
|
1898
1898
|
return;
|
|
1899
1899
|
}
|
|
1900
|
-
|
|
1901
|
-
return D4(l5, gd(
|
|
1900
|
+
a15.fa = a15.h.graph.url;
|
|
1901
|
+
return D4(l5, gd(a15, a15.h.graph.url), 3);
|
|
1902
1902
|
}
|
|
1903
|
-
2 != l5.h && (
|
|
1904
|
-
|
|
1905
|
-
for (
|
|
1906
|
-
|
|
1907
|
-
if (
|
|
1908
|
-
k5 =
|
|
1909
|
-
|
|
1910
|
-
|
|
1903
|
+
2 != l5.h && (b7 = l5.i, a15.j.loadGraph(b7));
|
|
1904
|
+
c7 = A4(Object.keys(a15.D));
|
|
1905
|
+
for (d7 = c7.next(); !d7.done; d7 = c7.next()) e7 = d7.value, a15.j.overrideFile(e7, a15.D[e7]);
|
|
1906
|
+
a15.D = {};
|
|
1907
|
+
if (a15.h.listeners) for (g6 = A4(a15.h.listeners), f7 = g6.next(); !f7.done; f7 = g6.next()) h6 = f7.value, id(a15, h6);
|
|
1908
|
+
k5 = a15.l;
|
|
1909
|
+
a15.l = {};
|
|
1910
|
+
a15.setOptions(k5);
|
|
1911
1911
|
l5.h = 0;
|
|
1912
1912
|
});
|
|
1913
1913
|
}
|
|
1914
1914
|
x4.reset = function() {
|
|
1915
|
-
var
|
|
1916
|
-
return E4(function(
|
|
1917
|
-
|
|
1918
|
-
|
|
1915
|
+
var a15 = this;
|
|
1916
|
+
return E4(function(b7) {
|
|
1917
|
+
a15.j && (a15.j.reset(), a15.s = {}, a15.v = {});
|
|
1918
|
+
b7.h = 0;
|
|
1919
1919
|
});
|
|
1920
1920
|
};
|
|
1921
|
-
x4.setOptions = function(
|
|
1922
|
-
var
|
|
1923
|
-
if (
|
|
1924
|
-
for (var
|
|
1925
|
-
this.l[
|
|
1926
|
-
var k5 =
|
|
1927
|
-
void 0 !== k5 && (k5.onChange && (
|
|
1921
|
+
x4.setOptions = function(a15, b7) {
|
|
1922
|
+
var c7 = this;
|
|
1923
|
+
if (b7 = b7 || this.h.options) {
|
|
1924
|
+
for (var d7 = [], e7 = [], g6 = {}, f7 = A4(Object.keys(a15)), h6 = f7.next(); !h6.done; g6 = { X: g6.X, Y: g6.Y }, h6 = f7.next()) if (h6 = h6.value, !(h6 in this.l && this.l[h6] === a15[h6])) {
|
|
1925
|
+
this.l[h6] = a15[h6];
|
|
1926
|
+
var k5 = b7[h6];
|
|
1927
|
+
void 0 !== k5 && (k5.onChange && (g6.X = k5.onChange, g6.Y = a15[h6], d7.push(/* @__PURE__ */ (function(l5) {
|
|
1928
1928
|
return function() {
|
|
1929
1929
|
var m6;
|
|
1930
|
-
return E4(function(
|
|
1931
|
-
if (1 ==
|
|
1932
|
-
m6 =
|
|
1933
|
-
true === m6 && (
|
|
1934
|
-
|
|
1930
|
+
return E4(function(r6) {
|
|
1931
|
+
if (1 == r6.h) return D4(r6, l5.X(l5.Y), 2);
|
|
1932
|
+
m6 = r6.i;
|
|
1933
|
+
true === m6 && (c7.u = true);
|
|
1934
|
+
r6.h = 0;
|
|
1935
1935
|
});
|
|
1936
1936
|
};
|
|
1937
|
-
})(
|
|
1937
|
+
})(g6))), k5.graphOptionXref && (h6 = Object.assign(
|
|
1938
1938
|
{},
|
|
1939
1939
|
{ calculatorName: "", calculatorIndex: 0 },
|
|
1940
1940
|
k5.graphOptionXref,
|
|
1941
|
-
{ valueNumber: 1 === k5.type ?
|
|
1942
|
-
),
|
|
1941
|
+
{ valueNumber: 1 === k5.type ? a15[h6] : 0, valueBoolean: 0 === k5.type ? a15[h6] : false, valueString: 2 === k5.type ? a15[h6] : "" }
|
|
1942
|
+
), e7.push(h6)));
|
|
1943
1943
|
}
|
|
1944
|
-
if (0 !==
|
|
1944
|
+
if (0 !== d7.length || 0 !== e7.length) this.u = true, this.H = (void 0 === this.H ? [] : this.H).concat(e7), this.F = (void 0 === this.F ? [] : this.F).concat(d7);
|
|
1945
1945
|
}
|
|
1946
1946
|
};
|
|
1947
|
-
function jd(
|
|
1948
|
-
var
|
|
1947
|
+
function jd(a15) {
|
|
1948
|
+
var b7, c7, d7, e7, g6, f7, h6;
|
|
1949
1949
|
return E4(function(k5) {
|
|
1950
1950
|
switch (k5.h) {
|
|
1951
1951
|
case 1:
|
|
1952
|
-
if (!
|
|
1953
|
-
if (!
|
|
1952
|
+
if (!a15.u) return k5.return();
|
|
1953
|
+
if (!a15.F) {
|
|
1954
1954
|
k5.h = 2;
|
|
1955
1955
|
break;
|
|
1956
1956
|
}
|
|
1957
|
-
|
|
1958
|
-
|
|
1957
|
+
b7 = A4(a15.F);
|
|
1958
|
+
c7 = b7.next();
|
|
1959
1959
|
case 3:
|
|
1960
|
-
if (
|
|
1960
|
+
if (c7.done) {
|
|
1961
1961
|
k5.h = 5;
|
|
1962
1962
|
break;
|
|
1963
1963
|
}
|
|
1964
|
-
|
|
1965
|
-
return D4(k5,
|
|
1964
|
+
d7 = c7.value;
|
|
1965
|
+
return D4(k5, d7(), 4);
|
|
1966
1966
|
case 4:
|
|
1967
|
-
|
|
1967
|
+
c7 = b7.next();
|
|
1968
1968
|
k5.h = 3;
|
|
1969
1969
|
break;
|
|
1970
1970
|
case 5:
|
|
1971
|
-
|
|
1971
|
+
a15.F = void 0;
|
|
1972
1972
|
case 2:
|
|
1973
|
-
if (
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
for (
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1973
|
+
if (a15.H) {
|
|
1974
|
+
e7 = new a15.i.GraphOptionChangeRequestList();
|
|
1975
|
+
g6 = A4(a15.H);
|
|
1976
|
+
for (f7 = g6.next(); !f7.done; f7 = g6.next()) h6 = f7.value, e7.push_back(h6);
|
|
1977
|
+
a15.j.changeOptions(e7);
|
|
1978
|
+
e7.delete();
|
|
1979
|
+
a15.H = void 0;
|
|
1980
1980
|
}
|
|
1981
|
-
|
|
1981
|
+
a15.u = false;
|
|
1982
1982
|
k5.h = 0;
|
|
1983
1983
|
}
|
|
1984
1984
|
});
|
|
1985
1985
|
}
|
|
1986
1986
|
x4.initialize = function() {
|
|
1987
|
-
var
|
|
1988
|
-
return E4(function(
|
|
1989
|
-
return 1 ==
|
|
1987
|
+
var a15 = this;
|
|
1988
|
+
return E4(function(b7) {
|
|
1989
|
+
return 1 == b7.h ? D4(b7, fd(a15), 2) : 3 != b7.h ? D4(b7, hd(a15), 3) : D4(b7, jd(a15), 0);
|
|
1990
1990
|
});
|
|
1991
1991
|
};
|
|
1992
|
-
function gd(
|
|
1993
|
-
var
|
|
1994
|
-
return E4(function(
|
|
1995
|
-
if (
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
return
|
|
1992
|
+
function gd(a15, b7) {
|
|
1993
|
+
var c7, d7;
|
|
1994
|
+
return E4(function(e7) {
|
|
1995
|
+
if (b7 in a15.L) return e7.return(a15.L[b7]);
|
|
1996
|
+
c7 = a15.locateFile(b7, "");
|
|
1997
|
+
d7 = fetch(c7).then(function(g6) {
|
|
1998
|
+
return g6.arrayBuffer();
|
|
1999
1999
|
});
|
|
2000
|
-
|
|
2001
|
-
return
|
|
2000
|
+
a15.L[b7] = d7;
|
|
2001
|
+
return e7.return(d7);
|
|
2002
2002
|
});
|
|
2003
2003
|
}
|
|
2004
|
-
x4.overrideFile = function(
|
|
2005
|
-
this.j ? this.j.overrideFile(
|
|
2004
|
+
x4.overrideFile = function(a15, b7) {
|
|
2005
|
+
this.j ? this.j.overrideFile(a15, b7) : this.D[a15] = b7;
|
|
2006
2006
|
};
|
|
2007
2007
|
x4.clearOverriddenFiles = function() {
|
|
2008
2008
|
this.D = {};
|
|
2009
2009
|
this.j && this.j.clearOverriddenFiles();
|
|
2010
2010
|
};
|
|
2011
|
-
x4.send = function(
|
|
2012
|
-
var
|
|
2013
|
-
return E4(function(
|
|
2014
|
-
switch (
|
|
2011
|
+
x4.send = function(a15, b7) {
|
|
2012
|
+
var c7 = this, d7, e7, g6, f7, h6, k5, l5, m6, r6;
|
|
2013
|
+
return E4(function(p7) {
|
|
2014
|
+
switch (p7.h) {
|
|
2015
2015
|
case 1:
|
|
2016
|
-
if (!
|
|
2017
|
-
|
|
2018
|
-
return D4(
|
|
2016
|
+
if (!c7.h.inputs) return p7.return();
|
|
2017
|
+
d7 = 1e3 * (void 0 === b7 || null === b7 ? performance.now() : b7);
|
|
2018
|
+
return D4(p7, c7.I, 2);
|
|
2019
2019
|
case 2:
|
|
2020
|
-
return D4(
|
|
2020
|
+
return D4(p7, c7.initialize(), 3);
|
|
2021
2021
|
case 3:
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
for (
|
|
2022
|
+
e7 = new c7.i.PacketDataList();
|
|
2023
|
+
g6 = A4(Object.keys(a15));
|
|
2024
|
+
for (f7 = g6.next(); !f7.done; f7 = g6.next()) if (h6 = f7.value, k5 = c7.h.inputs[h6]) {
|
|
2025
2025
|
a: {
|
|
2026
|
-
var
|
|
2026
|
+
var n5 = a15[h6];
|
|
2027
2027
|
switch (k5.type) {
|
|
2028
2028
|
case "video":
|
|
2029
|
-
var q4 =
|
|
2030
|
-
q4 || (q4 = new Wc(
|
|
2029
|
+
var q4 = c7.s[k5.stream];
|
|
2030
|
+
q4 || (q4 = new Wc(c7.i, c7.K), c7.s[k5.stream] = q4);
|
|
2031
2031
|
0 === q4.m && (q4.m = q4.i.createTexture());
|
|
2032
|
-
if ("undefined" !== typeof HTMLVideoElement &&
|
|
2033
|
-
var t4 =
|
|
2034
|
-
var w4 =
|
|
2035
|
-
} else "undefined" !== typeof HTMLImageElement &&
|
|
2032
|
+
if ("undefined" !== typeof HTMLVideoElement && n5 instanceof HTMLVideoElement) {
|
|
2033
|
+
var t4 = n5.videoWidth;
|
|
2034
|
+
var w4 = n5.videoHeight;
|
|
2035
|
+
} else "undefined" !== typeof HTMLImageElement && n5 instanceof HTMLImageElement ? (t4 = n5.naturalWidth, w4 = n5.naturalHeight) : (t4 = n5.width, w4 = n5.height);
|
|
2036
2036
|
w4 = { glName: q4.m, width: t4, height: w4 };
|
|
2037
2037
|
t4 = q4.h;
|
|
2038
2038
|
t4.canvas.width = w4.width;
|
|
2039
2039
|
t4.canvas.height = w4.height;
|
|
2040
2040
|
t4.activeTexture(t4.TEXTURE0);
|
|
2041
2041
|
q4.i.bindTexture2d(q4.m);
|
|
2042
|
-
t4.texImage2D(t4.TEXTURE_2D, 0, t4.RGBA, t4.RGBA, t4.UNSIGNED_BYTE,
|
|
2042
|
+
t4.texImage2D(t4.TEXTURE_2D, 0, t4.RGBA, t4.RGBA, t4.UNSIGNED_BYTE, n5);
|
|
2043
2043
|
q4.i.bindTexture2d(0);
|
|
2044
2044
|
q4 = w4;
|
|
2045
2045
|
break a;
|
|
2046
2046
|
case "detections":
|
|
2047
|
-
q4 =
|
|
2048
|
-
q4 || (q4 = new Zc(
|
|
2047
|
+
q4 = c7.s[k5.stream];
|
|
2048
|
+
q4 || (q4 = new Zc(c7.i), c7.s[k5.stream] = q4);
|
|
2049
2049
|
q4.data || (q4.data = new q4.h.DetectionListData());
|
|
2050
|
-
q4.data.reset(
|
|
2051
|
-
for (w4 = 0; w4 <
|
|
2052
|
-
t4 =
|
|
2050
|
+
q4.data.reset(n5.length);
|
|
2051
|
+
for (w4 = 0; w4 < n5.length; ++w4) {
|
|
2052
|
+
t4 = n5[w4];
|
|
2053
2053
|
var v5 = q4.data, B4 = v5.setBoundingBox, J3 = w4;
|
|
2054
2054
|
var I3 = t4.la;
|
|
2055
2055
|
var u5 = new Qc();
|
|
@@ -2067,19 +2067,19 @@ function requireSelfie_segmentation() {
|
|
|
2067
2067
|
J3 = B4.addNormalizedLandmark;
|
|
2068
2068
|
I3 = w4;
|
|
2069
2069
|
u5 = Object.assign({}, u5, { visibility: u5.visibility ? u5.visibility : 0 });
|
|
2070
|
-
var
|
|
2071
|
-
V3(
|
|
2072
|
-
V3(
|
|
2073
|
-
V3(
|
|
2074
|
-
u5.visibility && V3(
|
|
2075
|
-
u5 =
|
|
2070
|
+
var C5 = new Lc();
|
|
2071
|
+
V3(C5, 1, u5.x);
|
|
2072
|
+
V3(C5, 2, u5.y);
|
|
2073
|
+
V3(C5, 3, u5.z);
|
|
2074
|
+
u5.visibility && V3(C5, 4, u5.visibility);
|
|
2075
|
+
u5 = C5.l();
|
|
2076
2076
|
J3.call(
|
|
2077
2077
|
B4,
|
|
2078
2078
|
I3,
|
|
2079
2079
|
u5
|
|
2080
2080
|
);
|
|
2081
2081
|
}
|
|
2082
|
-
if (t4.ba) for (v5 = 0; v5 < t4.ba.length; ++v5) B4 = q4.data, J3 = B4.addClassification, I3 = w4, u5 = t4.ba[v5],
|
|
2082
|
+
if (t4.ba) for (v5 = 0; v5 < t4.ba.length; ++v5) B4 = q4.data, J3 = B4.addClassification, I3 = w4, u5 = t4.ba[v5], C5 = new Z3(), V3(C5, 2, u5.qa), u5.index && U3(C5, 1, u5.index), u5.label && U3(C5, 3, u5.label), u5.displayName && U3(C5, 4, u5.displayName), u5 = C5.l(), J3.call(B4, I3, u5);
|
|
2083
2083
|
}
|
|
2084
2084
|
q4 = q4.data;
|
|
2085
2085
|
break a;
|
|
@@ -2091,162 +2091,162 @@ function requireSelfie_segmentation() {
|
|
|
2091
2091
|
m6 = k5.stream;
|
|
2092
2092
|
switch (k5.type) {
|
|
2093
2093
|
case "video":
|
|
2094
|
-
|
|
2094
|
+
e7.pushTexture2d(Object.assign({}, l5, { stream: m6, timestamp: d7 }));
|
|
2095
2095
|
break;
|
|
2096
2096
|
case "detections":
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2097
|
+
r6 = l5;
|
|
2098
|
+
r6.stream = m6;
|
|
2099
|
+
r6.timestamp = d7;
|
|
2100
|
+
e7.pushDetectionList(r6);
|
|
2101
2101
|
break;
|
|
2102
2102
|
default:
|
|
2103
2103
|
throw Error("Unknown input config type: '" + k5.type + "'");
|
|
2104
2104
|
}
|
|
2105
2105
|
}
|
|
2106
|
-
|
|
2107
|
-
return D4(
|
|
2106
|
+
c7.j.send(e7);
|
|
2107
|
+
return D4(p7, c7.I, 4);
|
|
2108
2108
|
case 4:
|
|
2109
|
-
|
|
2109
|
+
e7.delete(), p7.h = 0;
|
|
2110
2110
|
}
|
|
2111
2111
|
});
|
|
2112
2112
|
};
|
|
2113
|
-
function kd(
|
|
2114
|
-
var
|
|
2113
|
+
function kd(a15, b7, c7) {
|
|
2114
|
+
var d7, e7, g6, f7, h6, k5, l5, m6, r6, p7, n5, q4, t4, w4;
|
|
2115
2115
|
return E4(function(v5) {
|
|
2116
2116
|
switch (v5.h) {
|
|
2117
2117
|
case 1:
|
|
2118
|
-
if (!
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
for (
|
|
2123
|
-
1 <
|
|
2124
|
-
l5 = A4(Object.keys(
|
|
2125
|
-
|
|
2118
|
+
if (!c7) return v5.return(b7);
|
|
2119
|
+
d7 = {};
|
|
2120
|
+
e7 = 0;
|
|
2121
|
+
g6 = A4(Object.keys(c7));
|
|
2122
|
+
for (f7 = g6.next(); !f7.done; f7 = g6.next()) h6 = f7.value, k5 = c7[h6], "string" !== typeof k5 && "texture" === k5.type && void 0 !== b7[k5.stream] && ++e7;
|
|
2123
|
+
1 < e7 && (a15.M = false);
|
|
2124
|
+
l5 = A4(Object.keys(c7));
|
|
2125
|
+
f7 = l5.next();
|
|
2126
2126
|
case 2:
|
|
2127
|
-
if (
|
|
2127
|
+
if (f7.done) {
|
|
2128
2128
|
v5.h = 4;
|
|
2129
2129
|
break;
|
|
2130
2130
|
}
|
|
2131
|
-
m6 =
|
|
2132
|
-
|
|
2133
|
-
if ("string" === typeof
|
|
2134
|
-
|
|
2135
|
-
if ("detection_list" ===
|
|
2136
|
-
if (
|
|
2137
|
-
var B4 =
|
|
2138
|
-
for (var J3 =
|
|
2139
|
-
var T3 = Sc(B4.get(
|
|
2131
|
+
m6 = f7.value;
|
|
2132
|
+
r6 = c7[m6];
|
|
2133
|
+
if ("string" === typeof r6) return t4 = d7, w4 = m6, D4(v5, ld(a15, m6, b7[r6]), 14);
|
|
2134
|
+
p7 = b7[r6.stream];
|
|
2135
|
+
if ("detection_list" === r6.type) {
|
|
2136
|
+
if (p7) {
|
|
2137
|
+
var B4 = p7.getRectList();
|
|
2138
|
+
for (var J3 = p7.getLandmarksList(), I3 = p7.getClassificationsList(), u5 = [], C5 = 0; C5 < B4.size(); ++C5) {
|
|
2139
|
+
var T3 = Sc(B4.get(C5)), od = W2(T3, 1), pd = W2(T3, 2), qd = W2(T3, 3), rd = W2(T3, 4), sd = W2(T3, 5, 0), za = void 0;
|
|
2140
2140
|
za = void 0 === za ? 0 : za;
|
|
2141
|
-
T3 = { la: { sa: od, ta: pd, height: qd, width: rd, rotation: sd, pa: Rb(S3(T3, 6), za) }, ea: Ob(Pc(J3.get(
|
|
2141
|
+
T3 = { la: { sa: od, ta: pd, height: qd, width: rd, rotation: sd, pa: Rb(S3(T3, 6), za) }, ea: Ob(Pc(J3.get(C5)), Lc, 1).map(Vc), ba: Uc(Kc(I3.get(C5))) };
|
|
2142
2142
|
u5.push(T3);
|
|
2143
2143
|
}
|
|
2144
2144
|
B4 = u5;
|
|
2145
2145
|
} else B4 = [];
|
|
2146
|
-
|
|
2146
|
+
d7[m6] = B4;
|
|
2147
2147
|
v5.h = 7;
|
|
2148
2148
|
break;
|
|
2149
2149
|
}
|
|
2150
|
-
if ("proto_list" ===
|
|
2151
|
-
if (
|
|
2152
|
-
B4 = Array(
|
|
2153
|
-
for (J3 = 0; J3 <
|
|
2154
|
-
|
|
2150
|
+
if ("proto_list" === r6.type) {
|
|
2151
|
+
if (p7) {
|
|
2152
|
+
B4 = Array(p7.size());
|
|
2153
|
+
for (J3 = 0; J3 < p7.size(); J3++) B4[J3] = p7.get(J3);
|
|
2154
|
+
p7.delete();
|
|
2155
2155
|
} else B4 = [];
|
|
2156
|
-
|
|
2156
|
+
d7[m6] = B4;
|
|
2157
2157
|
v5.h = 7;
|
|
2158
2158
|
break;
|
|
2159
2159
|
}
|
|
2160
|
-
if (void 0 ===
|
|
2160
|
+
if (void 0 === p7) {
|
|
2161
2161
|
v5.h = 3;
|
|
2162
2162
|
break;
|
|
2163
2163
|
}
|
|
2164
|
-
if ("float_list" ===
|
|
2165
|
-
|
|
2164
|
+
if ("float_list" === r6.type) {
|
|
2165
|
+
d7[m6] = p7;
|
|
2166
2166
|
v5.h = 7;
|
|
2167
2167
|
break;
|
|
2168
2168
|
}
|
|
2169
|
-
if ("proto" ===
|
|
2170
|
-
|
|
2169
|
+
if ("proto" === r6.type) {
|
|
2170
|
+
d7[m6] = p7;
|
|
2171
2171
|
v5.h = 7;
|
|
2172
2172
|
break;
|
|
2173
2173
|
}
|
|
2174
|
-
if ("texture" !==
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
return D4(v5, Xc(
|
|
2174
|
+
if ("texture" !== r6.type) throw Error("Unknown output config type: '" + r6.type + "'");
|
|
2175
|
+
n5 = a15.v[m6];
|
|
2176
|
+
n5 || (n5 = new Wc(a15.i, a15.K), a15.v[m6] = n5);
|
|
2177
|
+
return D4(v5, Xc(n5, p7, a15.M), 13);
|
|
2178
2178
|
case 13:
|
|
2179
|
-
q4 = v5.i,
|
|
2179
|
+
q4 = v5.i, d7[m6] = q4;
|
|
2180
2180
|
case 7:
|
|
2181
|
-
|
|
2181
|
+
r6.transform && d7[m6] && (d7[m6] = r6.transform(d7[m6]));
|
|
2182
2182
|
v5.h = 3;
|
|
2183
2183
|
break;
|
|
2184
2184
|
case 14:
|
|
2185
2185
|
t4[w4] = v5.i;
|
|
2186
2186
|
case 3:
|
|
2187
|
-
|
|
2187
|
+
f7 = l5.next();
|
|
2188
2188
|
v5.h = 2;
|
|
2189
2189
|
break;
|
|
2190
2190
|
case 4:
|
|
2191
|
-
return v5.return(
|
|
2191
|
+
return v5.return(d7);
|
|
2192
2192
|
}
|
|
2193
2193
|
});
|
|
2194
2194
|
}
|
|
2195
|
-
function ld(
|
|
2196
|
-
var
|
|
2197
|
-
return E4(function(
|
|
2198
|
-
return "number" === typeof
|
|
2195
|
+
function ld(a15, b7, c7) {
|
|
2196
|
+
var d7;
|
|
2197
|
+
return E4(function(e7) {
|
|
2198
|
+
return "number" === typeof c7 || c7 instanceof Uint8Array || c7 instanceof a15.i.Uint8BlobList ? e7.return(c7) : c7 instanceof a15.i.Texture2dDataOut ? (d7 = a15.v[b7], d7 || (d7 = new Wc(a15.i, a15.K), a15.v[b7] = d7), e7.return(Xc(d7, c7, a15.M))) : e7.return(void 0);
|
|
2199
2199
|
});
|
|
2200
2200
|
}
|
|
2201
|
-
function id(
|
|
2202
|
-
for (var
|
|
2203
|
-
|
|
2204
|
-
for (var k5 = {}, l5 = 0; l5 <
|
|
2205
|
-
var m6 =
|
|
2206
|
-
m6 && (
|
|
2207
|
-
|
|
2208
|
-
for (var
|
|
2209
|
-
var
|
|
2210
|
-
"object" === typeof
|
|
2201
|
+
function id(a15, b7) {
|
|
2202
|
+
for (var c7 = b7.name || "$", d7 = [].concat(ea(b7.wants)), e7 = new a15.i.StringList(), g6 = A4(b7.wants), f7 = g6.next(); !f7.done; f7 = g6.next()) e7.push_back(f7.value);
|
|
2203
|
+
g6 = a15.i.PacketListener.implement({ onResults: function(h6) {
|
|
2204
|
+
for (var k5 = {}, l5 = 0; l5 < b7.wants.length; ++l5) k5[d7[l5]] = h6.get(l5);
|
|
2205
|
+
var m6 = a15.listeners[c7];
|
|
2206
|
+
m6 && (a15.I = kd(a15, k5, b7.outs).then(function(r6) {
|
|
2207
|
+
r6 = m6(r6);
|
|
2208
|
+
for (var p7 = 0; p7 < b7.wants.length; ++p7) {
|
|
2209
|
+
var n5 = k5[d7[p7]];
|
|
2210
|
+
"object" === typeof n5 && n5.hasOwnProperty && n5.hasOwnProperty("delete") && n5.delete();
|
|
2211
2211
|
}
|
|
2212
|
-
|
|
2212
|
+
r6 && (a15.I = r6);
|
|
2213
2213
|
}));
|
|
2214
2214
|
} });
|
|
2215
|
-
|
|
2216
|
-
|
|
2215
|
+
a15.j.attachMultiListener(e7, g6);
|
|
2216
|
+
e7.delete();
|
|
2217
2217
|
}
|
|
2218
|
-
x4.onResults = function(
|
|
2219
|
-
this.listeners[
|
|
2218
|
+
x4.onResults = function(a15, b7) {
|
|
2219
|
+
this.listeners[b7 || "$"] = a15;
|
|
2220
2220
|
};
|
|
2221
2221
|
Aa("Solution", ed);
|
|
2222
2222
|
Aa("OptionType", { BOOL: 0, NUMBER: 1, ua: 2, 0: "BOOL", 1: "NUMBER", 2: "STRING" });
|
|
2223
|
-
function md(
|
|
2224
|
-
void 0 ===
|
|
2225
|
-
switch (
|
|
2223
|
+
function md(a15) {
|
|
2224
|
+
void 0 === a15 && (a15 = 0);
|
|
2225
|
+
switch (a15) {
|
|
2226
2226
|
case 1:
|
|
2227
2227
|
return "selfie_segmentation_landscape.tflite";
|
|
2228
2228
|
default:
|
|
2229
2229
|
return "selfie_segmentation.tflite";
|
|
2230
2230
|
}
|
|
2231
2231
|
}
|
|
2232
|
-
function nd(
|
|
2233
|
-
var
|
|
2234
|
-
|
|
2235
|
-
this.h = new ed({ locateFile:
|
|
2236
|
-
return [{ simd: true, url: "selfie_segmentation_solution_simd_wasm_bin.js" }, { simd: false, url: "selfie_segmentation_solution_wasm_bin.js" }, { data: true, url: md(
|
|
2232
|
+
function nd(a15) {
|
|
2233
|
+
var b7 = this;
|
|
2234
|
+
a15 = a15 || {};
|
|
2235
|
+
this.h = new ed({ locateFile: a15.locateFile, files: function(c7) {
|
|
2236
|
+
return [{ simd: true, url: "selfie_segmentation_solution_simd_wasm_bin.js" }, { simd: false, url: "selfie_segmentation_solution_wasm_bin.js" }, { data: true, url: md(c7.modelSelection) }];
|
|
2237
2237
|
}, graph: { url: "selfie_segmentation.binarypb" }, listeners: [{ wants: ["segmentation_mask", "image_transformed"], outs: { image: { type: "texture", stream: "image_transformed" }, segmentationMask: { type: "texture", stream: "segmentation_mask" } } }], inputs: { image: {
|
|
2238
2238
|
type: "video",
|
|
2239
2239
|
stream: "input_frames_gpu"
|
|
2240
2240
|
} }, options: { useCpuInference: { type: 0, graphOptionXref: { calculatorType: "InferenceCalculator", fieldName: "use_cpu_inference" }, default: "object" !== typeof window || void 0 === window.navigator ? false : "iPad Simulator;iPhone Simulator;iPod Simulator;iPad;iPhone;iPod".split(";").includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document }, selfieMode: { type: 0, graphOptionXref: { calculatorType: "GlScalerCalculator", calculatorIndex: 1, fieldName: "flip_horizontal" } }, modelSelection: {
|
|
2241
2241
|
type: 1,
|
|
2242
2242
|
graphOptionXref: { calculatorType: "ConstantSidePacketCalculator", calculatorName: "ConstantSidePacketCalculatorModelSelection", fieldName: "int_value" },
|
|
2243
|
-
onChange: function(
|
|
2244
|
-
var
|
|
2245
|
-
return E4(function(
|
|
2246
|
-
if (1 ==
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
return
|
|
2243
|
+
onChange: function(c7) {
|
|
2244
|
+
var d7, e7, g6;
|
|
2245
|
+
return E4(function(f7) {
|
|
2246
|
+
if (1 == f7.h) return d7 = md(c7), e7 = "third_party/mediapipe/modules/selfie_segmentation/" + d7, D4(f7, gd(b7.h, d7), 2);
|
|
2247
|
+
g6 = f7.i;
|
|
2248
|
+
b7.h.overrideFile(e7, g6);
|
|
2249
|
+
return f7.return(true);
|
|
2250
2250
|
});
|
|
2251
2251
|
}
|
|
2252
2252
|
} } });
|
|
@@ -2256,26 +2256,26 @@ function requireSelfie_segmentation() {
|
|
|
2256
2256
|
this.h.close();
|
|
2257
2257
|
return Promise.resolve();
|
|
2258
2258
|
};
|
|
2259
|
-
x4.onResults = function(
|
|
2260
|
-
this.h.onResults(
|
|
2259
|
+
x4.onResults = function(a15) {
|
|
2260
|
+
this.h.onResults(a15);
|
|
2261
2261
|
};
|
|
2262
2262
|
x4.initialize = function() {
|
|
2263
|
-
var
|
|
2264
|
-
return E4(function(
|
|
2265
|
-
return D4(
|
|
2263
|
+
var a15 = this;
|
|
2264
|
+
return E4(function(b7) {
|
|
2265
|
+
return D4(b7, a15.h.initialize(), 0);
|
|
2266
2266
|
});
|
|
2267
2267
|
};
|
|
2268
2268
|
x4.reset = function() {
|
|
2269
2269
|
this.h.reset();
|
|
2270
2270
|
};
|
|
2271
|
-
x4.send = function(
|
|
2272
|
-
var
|
|
2273
|
-
return E4(function(
|
|
2274
|
-
return D4(
|
|
2271
|
+
x4.send = function(a15) {
|
|
2272
|
+
var b7 = this;
|
|
2273
|
+
return E4(function(c7) {
|
|
2274
|
+
return D4(c7, b7.h.send(a15), 0);
|
|
2275
2275
|
});
|
|
2276
2276
|
};
|
|
2277
|
-
x4.setOptions = function(
|
|
2278
|
-
this.h.setOptions(
|
|
2277
|
+
x4.setOptions = function(a15) {
|
|
2278
|
+
this.h.setOptions(a15);
|
|
2279
2279
|
};
|
|
2280
2280
|
Aa("SelfieSegmentation", nd);
|
|
2281
2281
|
Aa("VERSION", "0.1.1675465747");
|
|
@@ -2588,7 +2588,11 @@ function isVirtualBackgroundRunning() {
|
|
|
2588
2588
|
}
|
|
2589
2589
|
export {
|
|
2590
2590
|
COMMON_LANGUAGE_CODES,
|
|
2591
|
+
C3 as CONSUMER_BACKUP_PREFER_DELAY_MS,
|
|
2592
|
+
C as CONSUME_REJECTION_COOLDOWN_MS,
|
|
2591
2593
|
DEFAULT_BACKGROUND_BLUR_PIXELS,
|
|
2594
|
+
M2 as MEDIA_CONNECTION_REJECTION_REASONS,
|
|
2595
|
+
a12 as MediaSocketConnectError,
|
|
2592
2596
|
MediaStream2 as MediaStream,
|
|
2593
2597
|
MediaStreamTrack,
|
|
2594
2598
|
Q2 as QnHDCons,
|
|
@@ -2596,6 +2600,8 @@ export {
|
|
|
2596
2600
|
m3 as QnHDConsPort,
|
|
2597
2601
|
A2 as QnHDFrameRate,
|
|
2598
2602
|
RTCView,
|
|
2603
|
+
ad as SCREEN_AUDIO_CODEC_OPTIONS,
|
|
2604
|
+
ac as SCREEN_AUDIO_MEDIA_TAG,
|
|
2599
2605
|
SUPPORTED_LANGUAGE_CODES,
|
|
2600
2606
|
SoundPlayer,
|
|
2601
2607
|
TTS_PROVIDERS,
|
|
@@ -2611,49 +2617,53 @@ export {
|
|
|
2611
2617
|
applyVirtualBackground,
|
|
2612
2618
|
aD as assignParticipantToBreakoutRoom,
|
|
2613
2619
|
aR as attachPlayback,
|
|
2614
|
-
|
|
2620
|
+
Z as autoAdjust,
|
|
2615
2621
|
banParticipant,
|
|
2616
2622
|
b as breakoutRoomUpdated,
|
|
2617
2623
|
b4 as buildAddVideosGridPlan,
|
|
2624
|
+
ak as buildDisplayMediaOptions,
|
|
2618
2625
|
e4 as buildMainHostCardPlan,
|
|
2619
2626
|
d4 as buildMainScreenState,
|
|
2620
2627
|
g3 as buildPrepopulateUserMediaPlan,
|
|
2621
2628
|
f4 as buildScreenShareHostCardPlan,
|
|
2622
2629
|
bulkUpdateParticipantPermissions,
|
|
2623
|
-
|
|
2630
|
+
_ as calculateRowsAndColumns,
|
|
2631
|
+
ai as canCaptureDisplayAudio,
|
|
2624
2632
|
e3 as captureCanvasStream,
|
|
2625
2633
|
a2 as changeVids,
|
|
2626
|
-
|
|
2634
|
+
$ as checkGrid,
|
|
2627
2635
|
a10 as checkLimitsAndMakeRequest,
|
|
2628
2636
|
c3 as checkLimitsAndMakeRequestWithStorage,
|
|
2629
2637
|
d as checkMediasfuURL,
|
|
2630
2638
|
w3 as checkPauseState,
|
|
2631
|
-
|
|
2639
|
+
a0 as checkPermission,
|
|
2632
2640
|
x3 as checkResumeState,
|
|
2633
2641
|
b2 as checkScreenShare,
|
|
2634
2642
|
clearVirtualBackground,
|
|
2635
2643
|
b3 as clickAudio,
|
|
2636
2644
|
clickChat,
|
|
2637
2645
|
d3 as clickScreenShare,
|
|
2638
|
-
|
|
2646
|
+
X as clickVideo,
|
|
2639
2647
|
d2 as closeAndResize,
|
|
2640
2648
|
e2 as compareActiveNames,
|
|
2641
2649
|
f2 as compareScreenStates,
|
|
2642
2650
|
compositeVirtualBackgroundFrame,
|
|
2643
|
-
|
|
2651
|
+
f6 as confirmExit,
|
|
2644
2652
|
y3 as confirmRecording,
|
|
2645
2653
|
aP as confirmStillHere,
|
|
2646
2654
|
g as connectIps,
|
|
2647
2655
|
h as connectLocalIps,
|
|
2648
|
-
|
|
2656
|
+
aq as connectLocalSocket,
|
|
2649
2657
|
i as connectRecvTransport,
|
|
2650
2658
|
j2 as connectSendTransport,
|
|
2651
2659
|
k as connectSendTransportAudio,
|
|
2652
2660
|
l as connectSendTransportScreen,
|
|
2661
|
+
ab as connectSendTransportScreenAudio,
|
|
2653
2662
|
m2 as connectSendTransportVideo,
|
|
2654
|
-
|
|
2663
|
+
ao as connectSocket,
|
|
2664
|
+
c5 as consumerBackupPreferDelay,
|
|
2655
2665
|
c2 as consumerResume,
|
|
2656
|
-
|
|
2666
|
+
a1 as controlMedia,
|
|
2657
2667
|
controlMediaHost,
|
|
2658
2668
|
c as createDeviceClient,
|
|
2659
2669
|
createLiveSubtitle,
|
|
@@ -2662,13 +2672,16 @@ export {
|
|
|
2662
2672
|
ar as createRoomPoll,
|
|
2663
2673
|
n as createSendTransport,
|
|
2664
2674
|
aU as createViewerSession,
|
|
2675
|
+
b5 as currentOnlineState,
|
|
2676
|
+
h4 as describeMediaSocketError,
|
|
2665
2677
|
aS as detachPlayback,
|
|
2666
|
-
|
|
2678
|
+
ab2 as disableParticipantVideo,
|
|
2667
2679
|
disconnect,
|
|
2668
2680
|
o as disconnectSendTransportAudio,
|
|
2669
2681
|
p2 as disconnectSendTransportScreen,
|
|
2682
|
+
a9 as disconnectSendTransportScreenAudio,
|
|
2670
2683
|
q as disconnectSendTransportVideo,
|
|
2671
|
-
|
|
2684
|
+
ap as disconnectSocket,
|
|
2672
2685
|
disconnectUserSelf,
|
|
2673
2686
|
r as dispStreams,
|
|
2674
2687
|
at as endRoomPoll,
|
|
@@ -2681,6 +2694,9 @@ export {
|
|
|
2681
2694
|
l3 as findOriginalProducerForSpeaker,
|
|
2682
2695
|
aI as flipCamera,
|
|
2683
2696
|
focusPanelists,
|
|
2697
|
+
f5 as forgetConsumerBackups,
|
|
2698
|
+
af as forgetScreenAudioProducer,
|
|
2699
|
+
d5 as formatMediaSocketError,
|
|
2684
2700
|
formatNumber,
|
|
2685
2701
|
s as generatePageContent,
|
|
2686
2702
|
generateRandomMessages,
|
|
@@ -2698,7 +2714,7 @@ export {
|
|
|
2698
2714
|
getCommonLanguages,
|
|
2699
2715
|
getCurrentParams,
|
|
2700
2716
|
getDomains,
|
|
2701
|
-
|
|
2717
|
+
a22 as getEstimate,
|
|
2702
2718
|
az as getFocusModeState,
|
|
2703
2719
|
getLanguageMetadata,
|
|
2704
2720
|
getLanguageName,
|
|
@@ -2713,14 +2729,14 @@ export {
|
|
|
2713
2729
|
b0 as getParticipantMedia,
|
|
2714
2730
|
a23 as getParticipantMediaState,
|
|
2715
2731
|
aM as getPendingApprovals,
|
|
2716
|
-
|
|
2732
|
+
a3 as getPipedProducersAlt,
|
|
2717
2733
|
aQ as getPlaybackSources,
|
|
2718
|
-
|
|
2734
|
+
aq2 as getPollState,
|
|
2719
2735
|
aO as getPresenceCheck,
|
|
2720
|
-
|
|
2736
|
+
a4 as getProducersPiped,
|
|
2721
2737
|
aw as getRecordingCapabilities,
|
|
2722
2738
|
av as getRecordingNotice,
|
|
2723
|
-
|
|
2739
|
+
ai2 as getRecordingState,
|
|
2724
2740
|
V2 as getRemoteAudioStreams,
|
|
2725
2741
|
U2 as getRemoteVideoStreams,
|
|
2726
2742
|
T2 as getRoomReadiness,
|
|
@@ -2732,15 +2748,15 @@ export {
|
|
|
2732
2748
|
ax as getTranslationState,
|
|
2733
2749
|
t as getVideos,
|
|
2734
2750
|
aA as getVirtualBackgroundState,
|
|
2735
|
-
|
|
2751
|
+
an2 as getWhiteboardState,
|
|
2736
2752
|
g2 as hParams,
|
|
2737
2753
|
q3 as handleCreatePoll,
|
|
2738
2754
|
handleCreateRoom,
|
|
2739
2755
|
t3 as handleEndPoll,
|
|
2740
2756
|
handleJoinRoom,
|
|
2741
|
-
|
|
2757
|
+
h5 as handleStartBreakout,
|
|
2742
2758
|
Q3 as handleStartWhiteboard,
|
|
2743
|
-
|
|
2759
|
+
a13 as handleStopBreakout,
|
|
2744
2760
|
R2 as handleStopWhiteboard,
|
|
2745
2761
|
u4 as handleVotePoll,
|
|
2746
2762
|
handleWelcomeRequest,
|
|
@@ -2752,29 +2768,33 @@ export {
|
|
|
2752
2768
|
initialValuesState,
|
|
2753
2769
|
j4 as isConsumingTranslationForSpeaker,
|
|
2754
2770
|
isLanguageSupported,
|
|
2771
|
+
i4 as isMediaSocketConnectError,
|
|
2772
|
+
e5 as isNetworkOnlyMediaSocketError,
|
|
2773
|
+
g4 as isRetryableMediaSocketError,
|
|
2774
|
+
ag as isScreenAudioProducer,
|
|
2755
2775
|
i3 as isSpeakerInMyBreakoutRoom,
|
|
2756
2776
|
isSubtitleExpired,
|
|
2757
2777
|
isVirtualBackgroundBlur,
|
|
2758
2778
|
isVirtualBackgroundRunning,
|
|
2759
|
-
|
|
2760
|
-
|
|
2779
|
+
Y as joinConRoom,
|
|
2780
|
+
U as joinConsumeRoom,
|
|
2761
2781
|
e as joinLocalRoom,
|
|
2762
2782
|
f as joinRoom,
|
|
2763
2783
|
j as joinRoomClient,
|
|
2764
2784
|
j3 as joinRoomOnMediaSFU,
|
|
2765
2785
|
l4 as launchBackground,
|
|
2766
|
-
|
|
2767
|
-
|
|
2786
|
+
b6 as launchBreakoutRooms,
|
|
2787
|
+
c6 as launchCoHost,
|
|
2768
2788
|
S2 as launchConfigureWhiteboard,
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2789
|
+
g5 as launchConfirmExit,
|
|
2790
|
+
d6 as launchDisplaySettings,
|
|
2791
|
+
i5 as launchMediaSettings,
|
|
2772
2792
|
j5 as launchMenuModal,
|
|
2773
2793
|
k4 as launchMessages,
|
|
2774
2794
|
launchPanelists,
|
|
2775
|
-
|
|
2795
|
+
n4 as launchParticipants,
|
|
2776
2796
|
launchPermissions,
|
|
2777
|
-
|
|
2797
|
+
v4 as launchPoll,
|
|
2778
2798
|
z3 as launchRecording,
|
|
2779
2799
|
H2 as launchRequests,
|
|
2780
2800
|
J2 as launchSettings,
|
|
@@ -2782,6 +2802,7 @@ export {
|
|
|
2782
2802
|
$2 as leaveRoom,
|
|
2783
2803
|
a52 as listMediaDevices,
|
|
2784
2804
|
a32 as listParticipantMediaStates,
|
|
2805
|
+
ae as markScreenAudioProducer,
|
|
2785
2806
|
mediaDevices,
|
|
2786
2807
|
meetingEnded,
|
|
2787
2808
|
meetingStillThere,
|
|
@@ -2789,24 +2810,26 @@ export {
|
|
|
2789
2810
|
o3 as messageParticipants,
|
|
2790
2811
|
v as mixStreams,
|
|
2791
2812
|
m5 as modifyCoHostSettings,
|
|
2792
|
-
|
|
2813
|
+
e6 as modifyDisplaySettings,
|
|
2793
2814
|
m as modifySettings,
|
|
2794
|
-
|
|
2815
|
+
ad2 as muteEveryone,
|
|
2795
2816
|
aa2 as muteParticipant,
|
|
2796
|
-
|
|
2797
|
-
|
|
2817
|
+
p6 as muteParticipants,
|
|
2818
|
+
V as newPipeProducer,
|
|
2798
2819
|
normalizeLanguageCode,
|
|
2820
|
+
n3 as normalizeRejectionReason,
|
|
2799
2821
|
w as onScreenChanges,
|
|
2800
2822
|
panelistControlMedia,
|
|
2801
2823
|
panelistFocusChanged,
|
|
2802
2824
|
panelistsUpdated,
|
|
2803
2825
|
participantRequested,
|
|
2804
2826
|
p4 as pauseOriginalProducer,
|
|
2805
|
-
|
|
2827
|
+
ak2 as pauseRoomRecording,
|
|
2806
2828
|
permissionConfigUpdated,
|
|
2807
2829
|
permissionUpdated,
|
|
2808
2830
|
personJoined,
|
|
2809
2831
|
pollUpdated,
|
|
2832
|
+
p5 as preferredConsumerBackup,
|
|
2810
2833
|
p as prepopulateUserMedia,
|
|
2811
2834
|
x as processConsumerTransports,
|
|
2812
2835
|
y as processConsumerTransportsAudio,
|
|
@@ -2814,7 +2837,7 @@ export {
|
|
|
2814
2837
|
a_ as produceDisplay,
|
|
2815
2838
|
aZ as produceElement,
|
|
2816
2839
|
aW as produceMedia,
|
|
2817
|
-
|
|
2840
|
+
W as producerClosed,
|
|
2818
2841
|
producerMediaClosed,
|
|
2819
2842
|
producerMediaPaused,
|
|
2820
2843
|
producerMediaResumed,
|
|
@@ -2825,40 +2848,43 @@ export {
|
|
|
2825
2848
|
r2 as qhdConsPort,
|
|
2826
2849
|
E2 as qhdFrameRate,
|
|
2827
2850
|
reInitiateRecording,
|
|
2828
|
-
|
|
2829
|
-
|
|
2851
|
+
D as rePort,
|
|
2852
|
+
H as reUpdateInter,
|
|
2830
2853
|
z as readjust,
|
|
2831
2854
|
aF as reapplyLocalPlayback,
|
|
2855
|
+
am as recallScreenAudioProducer,
|
|
2832
2856
|
A as receiveAllPipedTransports,
|
|
2833
2857
|
receiveMessage,
|
|
2834
|
-
|
|
2858
|
+
a5 as receiveRoomMessages,
|
|
2835
2859
|
A3 as recordPauseTimer,
|
|
2836
2860
|
B3 as recordResumeTimer,
|
|
2837
|
-
|
|
2861
|
+
C4 as recordStartTimer,
|
|
2838
2862
|
D3 as recordUpdateTimer,
|
|
2839
2863
|
recordingNotice,
|
|
2840
2864
|
registerGlobals,
|
|
2865
|
+
r4 as rememberConsumerBackups,
|
|
2866
|
+
al as rememberScreenAudioProducer,
|
|
2841
2867
|
removePanelist,
|
|
2842
|
-
|
|
2843
|
-
|
|
2868
|
+
ae2 as removeParticipant,
|
|
2869
|
+
r5 as removeParticipants,
|
|
2844
2870
|
removedFromPanelists,
|
|
2845
2871
|
B as reorderStreams,
|
|
2846
2872
|
a$ as replaceProducerTrack,
|
|
2847
|
-
|
|
2873
|
+
E as requestScreenShare,
|
|
2848
2874
|
c4 as resolveHostVideoStream,
|
|
2849
2875
|
a11 as resolveMainHostRenderMode,
|
|
2850
2876
|
r3 as resolveSidePanelForceFullDisplay,
|
|
2851
|
-
|
|
2877
|
+
ag2 as respondToParticipantRequest,
|
|
2852
2878
|
I2 as respondToRequests,
|
|
2853
2879
|
P2 as respondToWaiting,
|
|
2854
|
-
|
|
2880
|
+
af2 as respondToWaitingParticipant,
|
|
2855
2881
|
h3 as resumeOriginalProducer,
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2882
|
+
F as resumePauseAudioStreams,
|
|
2883
|
+
G as resumePauseStreams,
|
|
2884
|
+
al2 as resumeRoomRecording,
|
|
2885
|
+
a6 as resumeSendTransportAudio,
|
|
2860
2886
|
roomRecordParams,
|
|
2861
|
-
|
|
2887
|
+
a14 as runMediaControl,
|
|
2862
2888
|
F2 as screenFrameRate,
|
|
2863
2889
|
s2 as screenParams,
|
|
2864
2890
|
screenProducerId,
|
|
@@ -2866,47 +2892,51 @@ export {
|
|
|
2866
2892
|
w2 as sdConsNeu,
|
|
2867
2893
|
n2 as sdConsPort,
|
|
2868
2894
|
B2 as sdFrameRate,
|
|
2869
|
-
|
|
2895
|
+
O as selectVideoProducerCodec,
|
|
2870
2896
|
a02 as sendChatMessage,
|
|
2871
2897
|
s4 as sendMessage,
|
|
2872
2898
|
aC as setBreakoutRooms,
|
|
2873
|
-
|
|
2899
|
+
ah2 as setCoHost,
|
|
2874
2900
|
a92 as setParticipantMedia,
|
|
2875
2901
|
aB as setParticipantPlayback,
|
|
2876
2902
|
aK as setRoomMediaPolicy,
|
|
2903
|
+
aj as setScreenAudioPaused,
|
|
2904
|
+
an as setScreenAudioVolume,
|
|
2877
2905
|
ay as setTranslationPreference,
|
|
2878
|
-
|
|
2906
|
+
ah as shouldShareScreenAudio,
|
|
2907
|
+
I as signalNewConsumerTransport,
|
|
2879
2908
|
sleep,
|
|
2880
2909
|
startMeetingProgressTimer,
|
|
2881
2910
|
E3 as startRecording,
|
|
2882
2911
|
startRecords,
|
|
2883
|
-
|
|
2884
|
-
|
|
2912
|
+
aj2 as startRoomRecording,
|
|
2913
|
+
J as startShareScreen,
|
|
2885
2914
|
startVirtualBackgroundFrameLoop,
|
|
2886
|
-
|
|
2915
|
+
ao2 as startWhiteboard,
|
|
2887
2916
|
aE as stopBreakoutRooms,
|
|
2888
2917
|
s3 as stopConsumingTranslation,
|
|
2889
|
-
|
|
2918
|
+
ac2 as stopParticipantScreenShare,
|
|
2890
2919
|
aX as stopProducing,
|
|
2891
2920
|
F3 as stopRecording,
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2921
|
+
am2 as stopRoomRecording,
|
|
2922
|
+
K as stopShareScreen,
|
|
2923
|
+
ap2 as stopWhiteboard,
|
|
2895
2924
|
stoppedRecording,
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2925
|
+
L as streamSuccessAudio,
|
|
2926
|
+
M as streamSuccessAudioSwitch,
|
|
2927
|
+
N as streamSuccessScreen,
|
|
2928
|
+
P as streamSuccessVideo,
|
|
2900
2929
|
K2 as switchAudio,
|
|
2901
2930
|
aH as switchCamera,
|
|
2902
2931
|
aJ as switchMicrophone,
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2932
|
+
Q as switchUserAudio,
|
|
2933
|
+
R as switchUserVideo,
|
|
2934
|
+
S as switchUserVideoAlt,
|
|
2906
2935
|
L2 as switchVideo,
|
|
2907
|
-
|
|
2936
|
+
M3 as switchVideoAlt,
|
|
2908
2937
|
m4 as syncTranslationStateAfterBreakoutChange,
|
|
2909
2938
|
t2 as timeLeftRecording,
|
|
2939
|
+
aa as toggleScreenAudio,
|
|
2910
2940
|
translationChannelsAvailable,
|
|
2911
2941
|
translationConfigUpdated,
|
|
2912
2942
|
translationError,
|
|
@@ -2919,15 +2949,15 @@ export {
|
|
|
2919
2949
|
translationSubscribed,
|
|
2920
2950
|
translationTranscript,
|
|
2921
2951
|
translationUnsubscribed,
|
|
2922
|
-
|
|
2952
|
+
T as trigger,
|
|
2923
2953
|
unfocusPanelists,
|
|
2924
2954
|
updateConsumingDomains,
|
|
2925
2955
|
updateLiveSubtitlesFromTranscript,
|
|
2926
2956
|
updateMediaSettings,
|
|
2927
2957
|
u2 as updateMicLevel,
|
|
2928
|
-
|
|
2958
|
+
a7 as updateMiniCardsGrid,
|
|
2929
2959
|
updatePanelists,
|
|
2930
|
-
|
|
2960
|
+
a8 as updateParticipantAudioDecibels,
|
|
2931
2961
|
updateParticipantPermission,
|
|
2932
2962
|
updatePermissionConfig,
|
|
2933
2963
|
G2 as updateRecording,
|
|
@@ -2935,7 +2965,7 @@ export {
|
|
|
2935
2965
|
updatedCoHost,
|
|
2936
2966
|
userWaiting,
|
|
2937
2967
|
v2 as vParams,
|
|
2938
|
-
|
|
2968
|
+
v3 as validateAlphanumeric,
|
|
2939
2969
|
validateWelcomeAlphanumeric,
|
|
2940
2970
|
validateWelcomeInputs,
|
|
2941
2971
|
as as voteInRoomPoll
|