mediasfu-shared 1.1.0 → 1.2.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.
Files changed (137) hide show
  1. package/README.md +17 -0
  2. package/dist/ProducerClient/producerClientEmits/createDeviceClient.d.ts +1 -1
  3. package/dist/ProducerClient/producerClientEmits/createDeviceClient.d.ts.map +1 -1
  4. package/dist/ProducerClient/producerClientEmits/updateRoomParametersClient.d.ts +1 -1
  5. package/dist/ProducerClient/producerClientEmits/updateRoomParametersClient.d.ts.map +1 -1
  6. package/dist/consumers/connectIps.d.ts +1 -1
  7. package/dist/consumers/connectIps.d.ts.map +1 -1
  8. package/dist/consumers/connectRecvTransport.d.ts +1 -1
  9. package/dist/consumers/connectRecvTransport.d.ts.map +1 -1
  10. package/dist/consumers/connectSendTransport.d.ts +1 -1
  11. package/dist/consumers/connectSendTransport.d.ts.map +1 -1
  12. package/dist/consumers/connectSendTransportAudio.d.ts +1 -1
  13. package/dist/consumers/connectSendTransportAudio.d.ts.map +1 -1
  14. package/dist/consumers/connectSendTransportScreen.d.ts +1 -1
  15. package/dist/consumers/connectSendTransportScreen.d.ts.map +1 -1
  16. package/dist/consumers/connectSendTransportVideo.d.ts +1 -1
  17. package/dist/consumers/connectSendTransportVideo.d.ts.map +1 -1
  18. package/dist/consumers/createSendTransport.d.ts +1 -1
  19. package/dist/consumers/createSendTransport.d.ts.map +1 -1
  20. package/dist/consumers/disconnectSendTransportAudio.d.ts +1 -1
  21. package/dist/consumers/disconnectSendTransportAudio.d.ts.map +1 -1
  22. package/dist/consumers/disconnectSendTransportScreen.d.ts +1 -1
  23. package/dist/consumers/disconnectSendTransportScreen.d.ts.map +1 -1
  24. package/dist/consumers/disconnectSendTransportVideo.d.ts +1 -1
  25. package/dist/consumers/disconnectSendTransportVideo.d.ts.map +1 -1
  26. package/dist/consumers/index.cjs +80 -0
  27. package/dist/consumers/index.cjs.map +1 -0
  28. package/dist/consumers/index.d.ts +62 -0
  29. package/dist/consumers/index.d.ts.map +1 -0
  30. package/dist/consumers/index.js +80 -0
  31. package/dist/consumers/index.js.map +1 -0
  32. package/dist/consumers/resumeSendTransportAudio.d.ts +1 -1
  33. package/dist/consumers/resumeSendTransportAudio.d.ts.map +1 -1
  34. package/dist/consumers/signalNewConsumerTransport.d.ts +1 -1
  35. package/dist/consumers/signalNewConsumerTransport.d.ts.map +1 -1
  36. package/dist/consumers/socketReceiveMethods/joinConsumeRoom.d.ts +1 -1
  37. package/dist/consumers/socketReceiveMethods/joinConsumeRoom.d.ts.map +1 -1
  38. package/dist/consumers/socketReceiveMethods/newPipeProducer.d.ts +1 -1
  39. package/dist/consumers/socketReceiveMethods/newPipeProducer.d.ts.map +1 -1
  40. package/dist/consumers/streamSuccessAudio.d.ts +1 -1
  41. package/dist/consumers/streamSuccessAudio.d.ts.map +1 -1
  42. package/dist/consumers/streamSuccessAudioSwitch.d.ts +1 -1
  43. package/dist/consumers/streamSuccessAudioSwitch.d.ts.map +1 -1
  44. package/dist/consumers/streamSuccessVideo.d.ts +1 -1
  45. package/dist/consumers/streamSuccessVideo.d.ts.map +1 -1
  46. package/dist/getParticipantMedia-B0JS6d2b.js +3555 -0
  47. package/dist/getParticipantMedia-B0JS6d2b.js.map +1 -0
  48. package/dist/getParticipantMedia-CdcYqcbD.cjs +3554 -0
  49. package/dist/getParticipantMedia-CdcYqcbD.cjs.map +1 -0
  50. package/dist/index.cjs +299 -252
  51. package/dist/index.cjs.map +1 -1
  52. package/dist/index.d.ts +1 -0
  53. package/dist/index.d.ts.map +1 -1
  54. package/dist/index.js +1994 -1947
  55. package/dist/index.js.map +1 -1
  56. package/dist/index.native.cjs +230 -224
  57. package/dist/index.native.cjs.map +1 -1
  58. package/dist/index.native.js +349 -343
  59. package/dist/index.native.js.map +1 -1
  60. package/dist/joinLocalRoom-BdM1msQt.cjs +673 -0
  61. package/dist/joinLocalRoom-BdM1msQt.cjs.map +1 -0
  62. package/dist/joinLocalRoom-CvteNe4R.js +657 -0
  63. package/dist/joinLocalRoom-CvteNe4R.js.map +1 -0
  64. package/dist/joinRoomOnMediaSFU-CC8RVJgr.cjs +1222 -0
  65. package/dist/joinRoomOnMediaSFU-CC8RVJgr.cjs.map +1 -0
  66. package/dist/joinRoomOnMediaSFU-y6vJ1OBo.js +1223 -0
  67. package/dist/joinRoomOnMediaSFU-y6vJ1OBo.js.map +1 -0
  68. package/dist/methods/index.cjs +3975 -0
  69. package/dist/methods/index.cjs.map +1 -0
  70. package/dist/methods/index.js +3976 -0
  71. package/dist/methods/index.js.map +1 -0
  72. package/dist/methods/socketReceive/getDomains.d.ts +1 -1
  73. package/dist/methods/socketReceive/getDomains.d.ts.map +1 -1
  74. package/dist/methods/utils/headless/virtualBackground.d.ts +2 -2
  75. package/dist/methods/utils/headless/virtualBackground.d.ts.map +1 -1
  76. package/dist/methods/utils/virtualBackgroundCompositor.d.ts +21 -0
  77. package/dist/methods/utils/virtualBackgroundCompositor.d.ts.map +1 -0
  78. package/dist/methods/whiteboard/captureCanvasStream.d.ts +1 -1
  79. package/dist/methods/whiteboard/captureCanvasStream.d.ts.map +1 -1
  80. package/dist/producers/producerEmits/joinConRoom.d.ts +1 -1
  81. package/dist/producers/producerEmits/joinConRoom.d.ts.map +1 -1
  82. package/dist/producers/producerEmits/joinRoom.d.ts +1 -1
  83. package/dist/producers/producerEmits/joinRoom.d.ts.map +1 -1
  84. package/dist/translationConsumerSwitch-C20MfNNq.cjs +509 -0
  85. package/dist/translationConsumerSwitch-C20MfNNq.cjs.map +1 -0
  86. package/dist/translationConsumerSwitch-zKuS5wgH.js +510 -0
  87. package/dist/translationConsumerSwitch-zKuS5wgH.js.map +1 -0
  88. package/dist/types/index.cjs +85 -0
  89. package/dist/types/index.cjs.map +1 -0
  90. package/dist/types/index.d.ts +2 -0
  91. package/dist/types/index.d.ts.map +1 -0
  92. package/dist/types/index.js +85 -0
  93. package/dist/types/index.js.map +1 -0
  94. package/dist/types/shared-base-types.d.ts +1 -1
  95. package/dist/types/shared-base-types.d.ts.map +1 -1
  96. package/dist/updateParticipantAudioDecibels-DLd8Y-Fh.js +5392 -0
  97. package/dist/updateParticipantAudioDecibels-DLd8Y-Fh.js.map +1 -0
  98. package/dist/updateParticipantAudioDecibels-DPmHiy3K.cjs +5391 -0
  99. package/dist/updateParticipantAudioDecibels-DPmHiy3K.cjs.map +1 -0
  100. package/dist/validateAlphanumeric-DKn5BsUP.cjs +15 -0
  101. package/dist/validateAlphanumeric-DKn5BsUP.cjs.map +1 -0
  102. package/dist/validateAlphanumeric-Dk1JB80W.js +16 -0
  103. package/dist/validateAlphanumeric-Dk1JB80W.js.map +1 -0
  104. package/package.json +1 -1
  105. package/src/ProducerClient/producerClientEmits/createDeviceClient.ts +1 -2
  106. package/src/ProducerClient/producerClientEmits/updateRoomParametersClient.ts +1 -1
  107. package/src/consumers/connectIps.ts +1 -1
  108. package/src/consumers/connectRecvTransport.ts +1 -1
  109. package/src/consumers/connectSendTransport.ts +1 -1
  110. package/src/consumers/connectSendTransportAudio.ts +1 -1
  111. package/src/consumers/connectSendTransportScreen.ts +1 -1
  112. package/src/consumers/connectSendTransportVideo.ts +1 -1
  113. package/src/consumers/createSendTransport.ts +1 -1
  114. package/src/consumers/disconnectSendTransportAudio.ts +1 -1
  115. package/src/consumers/disconnectSendTransportScreen.ts +1 -1
  116. package/src/consumers/disconnectSendTransportVideo.ts +1 -1
  117. package/src/consumers/index.ts +61 -0
  118. package/src/consumers/resumeSendTransportAudio.ts +1 -1
  119. package/src/consumers/signalNewConsumerTransport.ts +1 -2
  120. package/src/consumers/socketReceiveMethods/joinConsumeRoom.ts +1 -1
  121. package/src/consumers/socketReceiveMethods/newPipeProducer.ts +1 -1
  122. package/src/consumers/streamSuccessAudio.ts +1 -2
  123. package/src/consumers/streamSuccessAudioSwitch.ts +1 -2
  124. package/src/consumers/streamSuccessVideo.ts +1 -1
  125. package/src/index.ts +2 -0
  126. package/src/methods/socketReceive/getDomains.ts +1 -1
  127. package/src/methods/utils/headless/virtualBackground.ts +45 -30
  128. package/src/methods/utils/virtualBackgroundCompositor.ts +53 -0
  129. package/src/methods/whiteboard/captureCanvasStream.ts +2 -2
  130. package/src/producers/producerEmits/joinConRoom.ts +1 -1
  131. package/src/producers/producerEmits/joinRoom.ts +1 -1
  132. package/src/types/index.ts +1 -0
  133. package/src/types/shared-base-types.ts +2 -3
  134. package/dist/getParticipantMedia-D9ChmEqq.js +0 -15265
  135. package/dist/getParticipantMedia-D9ChmEqq.js.map +0 -1
  136. package/dist/getParticipantMedia-DWvIhPPY.cjs +0 -15281
  137. package/dist/getParticipantMedia-DWvIhPPY.cjs.map +0 -1
package/dist/index.js CHANGED
@@ -1,5 +1,11 @@
1
- import { du as getCurrentParams, dq as getLocalVideoStream } from "./getParticipantMedia-D9ChmEqq.js";
2
- import { bN, c4, c5, cg, cq, cl, cv, c6, bG, bT, bP, cc, b4, e, c, cD, cE, cC, e7, el, al, cF, a4, ax, aB, aA, aD, aC, ba, am, ad, g, an, a7, a6, ai, bj, ao, bk, i, a9, bA, aa, ab, j, k, l, aU, bl, ej, m, n, dl, o, q, s, t, w, dj, f, ap, cG, ae, bB, c7, c9, dX, x, eo, em, dH, cH, y, z, A, dk, cI, B, dZ, bS, bR, cj, ct, co, cy, aJ, ec, b6, bX, C, bY, bZ, b_, b$, c0, dA, aI, dt, bQ, d_, ep, ef, bO, cJ, aq, e3, bL, bJ, bK, dr, ea, dD, bV, dE, bU, ew, dy, eg, ar, ek, dW, ei, as, e0, d$, dO, dp, dn, dm, ds, dC, eh, bF, bM, e1, D, e4, dT, cd, bc, bh, bd, bi, aN, dg, aO, dh, be, h, ci, cs, cn, cx, a8, c1, aH, bI, aE, bC, ah, a1, aj, ak, af, c8, aM, aP, aQ, di, aV, aS, aW, aX, aY, b2, a_, b8, bf, bm, bu, bw, de, dv, dB, dz, c2, cK, cL, cb, a$, E, aR, aT, a5, dJ, dG, b0, a2, bH, F, b, a, p, cM, aF, dQ, cO, cN, cP, bg, G, H, I, es, eu, et, eq, a3, cQ, cR, cS, bD, en, ck, cu, cp, cz, cV, M, Q, J, e9, K, cT, at, bn, bo, bp, bq, cU, c3, b5, dK, b1, r, L, ev, N, az, ay, dM, bv, df, dL, aG, O, P, dR, au, cW, dx, cA, cf, cX, ch, cr, cm, cw, X, dw, aZ, e6, dN, dF, e5, ee, e2, R, bW, ca, br, cY, dP, S, dU, e8, aK, dI, er, bs, dS, T, dV, cZ, U, V, W, Y, bx, eb, ed, Z, _, $, by, bz, aL, ac, d5, c$, d7, d0, d6, d4, d3, c_, d9, d1, d8, d2, a0, b7, db, bE, da, u, av, b3, aw, b9, bb, bt, ag, dc, dd, ce, cB, v, d, dY } from "./getParticipantMedia-D9ChmEqq.js";
1
+ import { a, b, d, c, e, f, j, m, p, u } from "./joinLocalRoom-CvteNe4R.js";
2
+ import { Y, Z, a as a2, _, $, b as b2, W, d as d2, e as e2, f as f2, g, h, aa, i, j as j2, k, l, m as m2, a8, c as c2, a0, n, o, p as p2, q, a9, r, s, a1, a2 as a22, a3, t, X, T, v, U, w, x, y, V, C, G, z, A, a4, B, D, E, F, a5, N, H, I, J, K, L, M, O, P, Q, R, S, u as u2, a6, a7 } from "./updateParticipantAudioDecibels-DLd8Y-Fh.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-y6vJ1OBo.js";
4
+ import { b as b4, d as d4, c as c4, f as f4, e as e4, k as k3, j as j4, h as h3, i as i3, p as p4, a as a11, r as r3, g as g3, s as s3, l as l3 } from "./translationConsumerSwitch-zKuS5wgH.js";
5
+ import { _ as getCurrentParams, W as getLocalVideoStream } from "./getParticipantMedia-B0JS6d2b.js";
6
+ import { aD, aR, w as w3, x as x3, f as f5, y as y3, aP, ar, aU, aS, ab, 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, aO, aw, av, ai, V as V2, U as U2, T as T2, Y as Y2, a6 as a62, aN, ax, aA, an, q as q3, t as t3, h as h4, Q as Q3, a as a12, R as R2, u as u4, l as l4, b as b5, c as c5, S as S2, g as g4, d as d5, i as i4, j as j5, k as k4, n as n3, v as v3, 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 m4, e as e5, ad, aa as aa2, p as p5, ak, aY, a_, aZ, aW, aT, aF, A as A3, B as B3, C as C3, D as D3, ae, r as r4, a$, ag, I as I2, P as P2, af, al, a1 as a13, a0 as a02, s as s4, aC, ah, a9 as a92, aB, aK, ay, E as E3, aj, ao, aE, ac, aX, F as F3, am, ap, K as K2, aH, aJ, L as L2, M as M2, G as G2, as } from "./getParticipantMedia-B0JS6d2b.js";
7
+ 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 "./validateAlphanumeric-Dk1JB80W.js";
3
9
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
4
10
  var selfie_segmentation = {};
5
11
  var hasRequiredSelfie_segmentation;
@@ -7,103 +13,103 @@ function requireSelfie_segmentation() {
7
13
  if (hasRequiredSelfie_segmentation) return selfie_segmentation;
8
14
  hasRequiredSelfie_segmentation = 1;
9
15
  (function() {
10
- var x2;
11
- function aa2(a10) {
12
- var b10 = 0;
16
+ var x4;
17
+ function aa3(a14) {
18
+ var b6 = 0;
13
19
  return function() {
14
- return b10 < a10.length ? { done: false, value: a10[b10++] } : { done: true };
20
+ return b6 < a14.length ? { done: false, value: a14[b6++] } : { done: true };
15
21
  };
16
22
  }
17
- var ba2 = "function" == typeof Object.defineProperties ? Object.defineProperty : function(a10, b10, c10) {
18
- if (a10 == Array.prototype || a10 == Object.prototype) return a10;
19
- a10[b10] = c10.value;
20
- return a10;
23
+ var ba = "function" == typeof Object.defineProperties ? Object.defineProperty : function(a14, b6, c6) {
24
+ if (a14 == Array.prototype || a14 == Object.prototype) return a14;
25
+ a14[b6] = c6.value;
26
+ return a14;
21
27
  };
22
- function ca2(a10) {
23
- a10 = ["object" == typeof globalThis && globalThis, a10, "object" == typeof window && window, "object" == typeof self && self, "object" == typeof commonjsGlobal && commonjsGlobal];
24
- for (var b10 = 0; b10 < a10.length; ++b10) {
25
- var c10 = a10[b10];
26
- if (c10 && c10.Math == Math) return c10;
28
+ function ca(a14) {
29
+ a14 = ["object" == typeof globalThis && globalThis, a14, "object" == typeof window && window, "object" == typeof self && self, "object" == typeof commonjsGlobal && commonjsGlobal];
30
+ for (var b6 = 0; b6 < a14.length; ++b6) {
31
+ var c6 = a14[b6];
32
+ if (c6 && c6.Math == Math) return c6;
27
33
  }
28
34
  throw Error("Cannot find global object");
29
35
  }
30
- var y2 = ca2(this);
31
- function z2(a10, b10) {
32
- if (b10) a: {
33
- var c10 = y2;
34
- a10 = a10.split(".");
35
- for (var d10 = 0; d10 < a10.length - 1; d10++) {
36
- var e10 = a10[d10];
37
- if (!(e10 in c10)) break a;
38
- c10 = c10[e10];
36
+ var y4 = ca(this);
37
+ function z4(a14, b6) {
38
+ if (b6) a: {
39
+ var c6 = y4;
40
+ a14 = a14.split(".");
41
+ for (var d6 = 0; d6 < a14.length - 1; d6++) {
42
+ var e6 = a14[d6];
43
+ if (!(e6 in c6)) break a;
44
+ c6 = c6[e6];
39
45
  }
40
- a10 = a10[a10.length - 1];
41
- d10 = c10[a10];
42
- b10 = b10(d10);
43
- b10 != d10 && null != b10 && ba2(c10, a10, { configurable: true, writable: true, value: b10 });
46
+ a14 = a14[a14.length - 1];
47
+ d6 = c6[a14];
48
+ b6 = b6(d6);
49
+ b6 != d6 && null != b6 && ba(c6, a14, { configurable: true, writable: true, value: b6 });
44
50
  }
45
51
  }
46
- z2("Symbol", function(a10) {
47
- function b10(g2) {
48
- if (this instanceof b10) throw new TypeError("Symbol is not a constructor");
49
- return new c10(d10 + (g2 || "") + "_" + e10++, g2);
52
+ z4("Symbol", function(a14) {
53
+ function b6(g5) {
54
+ if (this instanceof b6) throw new TypeError("Symbol is not a constructor");
55
+ return new c6(d6 + (g5 || "") + "_" + e6++, g5);
50
56
  }
51
- function c10(g2, f2) {
52
- this.h = g2;
53
- ba2(this, "description", { configurable: true, writable: true, value: f2 });
57
+ function c6(g5, f6) {
58
+ this.h = g5;
59
+ ba(this, "description", { configurable: true, writable: true, value: f6 });
54
60
  }
55
- if (a10) return a10;
56
- c10.prototype.toString = function() {
61
+ if (a14) return a14;
62
+ c6.prototype.toString = function() {
57
63
  return this.h;
58
64
  };
59
- var d10 = "jscomp_symbol_" + (1e9 * Math.random() >>> 0) + "_", e10 = 0;
60
- return b10;
65
+ var d6 = "jscomp_symbol_" + (1e9 * Math.random() >>> 0) + "_", e6 = 0;
66
+ return b6;
61
67
  });
62
- z2("Symbol.iterator", function(a10) {
63
- if (a10) return a10;
64
- a10 = Symbol("Symbol.iterator");
65
- for (var b10 = "Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "), c10 = 0; c10 < b10.length; c10++) {
66
- var d10 = y2[b10[c10]];
67
- "function" === typeof d10 && "function" != typeof d10.prototype[a10] && ba2(d10.prototype, a10, { configurable: true, writable: true, value: function() {
68
- return da2(aa2(this));
68
+ z4("Symbol.iterator", function(a14) {
69
+ if (a14) return a14;
70
+ a14 = Symbol("Symbol.iterator");
71
+ for (var b6 = "Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "), c6 = 0; c6 < b6.length; c6++) {
72
+ var d6 = y4[b6[c6]];
73
+ "function" === typeof d6 && "function" != typeof d6.prototype[a14] && ba(d6.prototype, a14, { configurable: true, writable: true, value: function() {
74
+ return da(aa3(this));
69
75
  } });
70
76
  }
71
- return a10;
77
+ return a14;
72
78
  });
73
- function da2(a10) {
74
- a10 = { next: a10 };
75
- a10[Symbol.iterator] = function() {
79
+ function da(a14) {
80
+ a14 = { next: a14 };
81
+ a14[Symbol.iterator] = function() {
76
82
  return this;
77
83
  };
78
- return a10;
84
+ return a14;
79
85
  }
80
- function A2(a10) {
81
- var b10 = "undefined" != typeof Symbol && Symbol.iterator && a10[Symbol.iterator];
82
- return b10 ? b10.call(a10) : { next: aa2(a10) };
86
+ function A4(a14) {
87
+ var b6 = "undefined" != typeof Symbol && Symbol.iterator && a14[Symbol.iterator];
88
+ return b6 ? b6.call(a14) : { next: aa3(a14) };
83
89
  }
84
- function ea2(a10) {
85
- if (!(a10 instanceof Array)) {
86
- a10 = A2(a10);
87
- for (var b10, c10 = []; !(b10 = a10.next()).done; ) c10.push(b10.value);
88
- a10 = c10;
90
+ function ea(a14) {
91
+ if (!(a14 instanceof Array)) {
92
+ a14 = A4(a14);
93
+ for (var b6, c6 = []; !(b6 = a14.next()).done; ) c6.push(b6.value);
94
+ a14 = c6;
89
95
  }
90
- return a10;
96
+ return a14;
91
97
  }
92
- var fa = "function" == typeof Object.assign ? Object.assign : function(a10, b10) {
93
- for (var c10 = 1; c10 < arguments.length; c10++) {
94
- var d10 = arguments[c10];
95
- if (d10) for (var e10 in d10) Object.prototype.hasOwnProperty.call(d10, e10) && (a10[e10] = d10[e10]);
98
+ var fa = "function" == typeof Object.assign ? Object.assign : function(a14, b6) {
99
+ for (var c6 = 1; c6 < arguments.length; c6++) {
100
+ var d6 = arguments[c6];
101
+ if (d6) for (var e6 in d6) Object.prototype.hasOwnProperty.call(d6, e6) && (a14[e6] = d6[e6]);
96
102
  }
97
- return a10;
103
+ return a14;
98
104
  };
99
- z2("Object.assign", function(a10) {
100
- return a10 || fa;
105
+ z4("Object.assign", function(a14) {
106
+ return a14 || fa;
101
107
  });
102
- var ha = "function" == typeof Object.create ? Object.create : function(a10) {
103
- function b10() {
108
+ var ha = "function" == typeof Object.create ? Object.create : function(a14) {
109
+ function b6() {
104
110
  }
105
- b10.prototype = a10;
106
- return new b10();
111
+ b6.prototype = a14;
112
+ return new b6();
107
113
  }, ia;
108
114
  if ("function" == typeof Object.setPrototypeOf) ia = Object.setPrototypeOf;
109
115
  else {
@@ -114,26 +120,26 @@ function requireSelfie_segmentation() {
114
120
  la.__proto__ = ka;
115
121
  ja = la.a;
116
122
  break a;
117
- } catch (a10) {
123
+ } catch (a14) {
118
124
  }
119
125
  ja = false;
120
126
  }
121
- ia = ja ? function(a10, b10) {
122
- a10.__proto__ = b10;
123
- if (a10.__proto__ !== b10) throw new TypeError(a10 + " is not extensible");
124
- return a10;
127
+ ia = ja ? function(a14, b6) {
128
+ a14.__proto__ = b6;
129
+ if (a14.__proto__ !== b6) throw new TypeError(a14 + " is not extensible");
130
+ return a14;
125
131
  } : null;
126
132
  }
127
133
  var ma = ia;
128
- function na(a10, b10) {
129
- a10.prototype = ha(b10.prototype);
130
- a10.prototype.constructor = a10;
131
- if (ma) ma(a10, b10);
132
- else for (var c10 in b10) if ("prototype" != c10) if (Object.defineProperties) {
133
- var d10 = Object.getOwnPropertyDescriptor(b10, c10);
134
- d10 && Object.defineProperty(a10, c10, d10);
135
- } else a10[c10] = b10[c10];
136
- a10.za = b10.prototype;
134
+ function na(a14, b6) {
135
+ a14.prototype = ha(b6.prototype);
136
+ a14.prototype.constructor = a14;
137
+ if (ma) ma(a14, b6);
138
+ else for (var c6 in b6) if ("prototype" != c6) if (Object.defineProperties) {
139
+ var d6 = Object.getOwnPropertyDescriptor(b6, c6);
140
+ d6 && Object.defineProperty(a14, c6, d6);
141
+ } else a14[c6] = b6[c6];
142
+ a14.za = b6.prototype;
137
143
  }
138
144
  function oa() {
139
145
  this.m = false;
@@ -143,478 +149,478 @@ function requireSelfie_segmentation() {
143
149
  this.v = this.s = 0;
144
150
  this.l = null;
145
151
  }
146
- function pa(a10) {
147
- if (a10.m) throw new TypeError("Generator is already running");
148
- a10.m = true;
152
+ function pa(a14) {
153
+ if (a14.m) throw new TypeError("Generator is already running");
154
+ a14.m = true;
149
155
  }
150
- oa.prototype.u = function(a10) {
151
- this.i = a10;
156
+ oa.prototype.u = function(a14) {
157
+ this.i = a14;
152
158
  };
153
- function qa(a10, b10) {
154
- a10.l = { ma: b10, na: true };
155
- a10.h = a10.s || a10.v;
159
+ function qa(a14, b6) {
160
+ a14.l = { ma: b6, na: true };
161
+ a14.h = a14.s || a14.v;
156
162
  }
157
- oa.prototype.return = function(a10) {
158
- this.l = { return: a10 };
163
+ oa.prototype.return = function(a14) {
164
+ this.l = { return: a14 };
159
165
  this.h = this.v;
160
166
  };
161
- function D2(a10, b10, c10) {
162
- a10.h = c10;
163
- return { value: b10 };
167
+ function D4(a14, b6, c6) {
168
+ a14.h = c6;
169
+ return { value: b6 };
164
170
  }
165
- function ra(a10) {
171
+ function ra(a14) {
166
172
  this.h = new oa();
167
- this.i = a10;
168
- }
169
- function sa(a10, b10) {
170
- pa(a10.h);
171
- var c10 = a10.h.j;
172
- if (c10) return ta(a10, "return" in c10 ? c10["return"] : function(d10) {
173
- return { value: d10, done: true };
174
- }, b10, a10.h.return);
175
- a10.h.return(b10);
176
- return ua(a10);
177
- }
178
- function ta(a10, b10, c10, d10) {
173
+ this.i = a14;
174
+ }
175
+ function sa(a14, b6) {
176
+ pa(a14.h);
177
+ var c6 = a14.h.j;
178
+ if (c6) return ta(a14, "return" in c6 ? c6["return"] : function(d6) {
179
+ return { value: d6, done: true };
180
+ }, b6, a14.h.return);
181
+ a14.h.return(b6);
182
+ return ua(a14);
183
+ }
184
+ function ta(a14, b6, c6, d6) {
179
185
  try {
180
- var e10 = b10.call(a10.h.j, c10);
181
- if (!(e10 instanceof Object)) throw new TypeError("Iterator result " + e10 + " is not an object");
182
- if (!e10.done) return a10.h.m = false, e10;
183
- var g2 = e10.value;
184
- } catch (f2) {
185
- return a10.h.j = null, qa(a10.h, f2), ua(a10);
186
+ var e6 = b6.call(a14.h.j, c6);
187
+ if (!(e6 instanceof Object)) throw new TypeError("Iterator result " + e6 + " is not an object");
188
+ if (!e6.done) return a14.h.m = false, e6;
189
+ var g5 = e6.value;
190
+ } catch (f6) {
191
+ return a14.h.j = null, qa(a14.h, f6), ua(a14);
186
192
  }
187
- a10.h.j = null;
188
- d10.call(a10.h, g2);
189
- return ua(a10);
190
- }
191
- function ua(a10) {
192
- for (; a10.h.h; ) try {
193
- var b10 = a10.i(a10.h);
194
- if (b10) return a10.h.m = false, { value: b10.value, done: false };
195
- } catch (c10) {
196
- a10.h.i = void 0, qa(a10.h, c10);
193
+ a14.h.j = null;
194
+ d6.call(a14.h, g5);
195
+ return ua(a14);
196
+ }
197
+ function ua(a14) {
198
+ for (; a14.h.h; ) try {
199
+ var b6 = a14.i(a14.h);
200
+ if (b6) return a14.h.m = false, { value: b6.value, done: false };
201
+ } catch (c6) {
202
+ a14.h.i = void 0, qa(a14.h, c6);
197
203
  }
198
- a10.h.m = false;
199
- if (a10.h.l) {
200
- b10 = a10.h.l;
201
- a10.h.l = null;
202
- if (b10.na) throw b10.ma;
203
- return { value: b10.return, done: true };
204
+ a14.h.m = false;
205
+ if (a14.h.l) {
206
+ b6 = a14.h.l;
207
+ a14.h.l = null;
208
+ if (b6.na) throw b6.ma;
209
+ return { value: b6.return, done: true };
204
210
  }
205
211
  return { value: void 0, done: true };
206
212
  }
207
- function va(a10) {
208
- this.next = function(b10) {
209
- pa(a10.h);
210
- a10.h.j ? b10 = ta(a10, a10.h.j.next, b10, a10.h.u) : (a10.h.u(b10), b10 = ua(a10));
211
- return b10;
213
+ function va(a14) {
214
+ this.next = function(b6) {
215
+ pa(a14.h);
216
+ a14.h.j ? b6 = ta(a14, a14.h.j.next, b6, a14.h.u) : (a14.h.u(b6), b6 = ua(a14));
217
+ return b6;
212
218
  };
213
- this.throw = function(b10) {
214
- pa(a10.h);
215
- a10.h.j ? b10 = ta(a10, a10.h.j["throw"], b10, a10.h.u) : (qa(a10.h, b10), b10 = ua(a10));
216
- return b10;
219
+ this.throw = function(b6) {
220
+ pa(a14.h);
221
+ a14.h.j ? b6 = ta(a14, a14.h.j["throw"], b6, a14.h.u) : (qa(a14.h, b6), b6 = ua(a14));
222
+ return b6;
217
223
  };
218
- this.return = function(b10) {
219
- return sa(a10, b10);
224
+ this.return = function(b6) {
225
+ return sa(a14, b6);
220
226
  };
221
227
  this[Symbol.iterator] = function() {
222
228
  return this;
223
229
  };
224
230
  }
225
- function wa(a10) {
226
- function b10(d10) {
227
- return a10.next(d10);
231
+ function wa(a14) {
232
+ function b6(d6) {
233
+ return a14.next(d6);
228
234
  }
229
- function c10(d10) {
230
- return a10.throw(d10);
235
+ function c6(d6) {
236
+ return a14.throw(d6);
231
237
  }
232
- return new Promise(function(d10, e10) {
233
- function g2(f2) {
234
- f2.done ? d10(f2.value) : Promise.resolve(f2.value).then(b10, c10).then(g2, e10);
238
+ return new Promise(function(d6, e6) {
239
+ function g5(f6) {
240
+ f6.done ? d6(f6.value) : Promise.resolve(f6.value).then(b6, c6).then(g5, e6);
235
241
  }
236
- g2(a10.next());
242
+ g5(a14.next());
237
243
  });
238
244
  }
239
- function E2(a10) {
240
- return wa(new va(new ra(a10)));
245
+ function E4(a14) {
246
+ return wa(new va(new ra(a14)));
241
247
  }
242
- z2("Promise", function(a10) {
243
- function b10(f2) {
248
+ z4("Promise", function(a14) {
249
+ function b6(f6) {
244
250
  this.i = 0;
245
251
  this.j = void 0;
246
252
  this.h = [];
247
253
  this.u = false;
248
- var h2 = this.l();
254
+ var h5 = this.l();
249
255
  try {
250
- f2(h2.resolve, h2.reject);
251
- } catch (k2) {
252
- h2.reject(k2);
256
+ f6(h5.resolve, h5.reject);
257
+ } catch (k5) {
258
+ h5.reject(k5);
253
259
  }
254
260
  }
255
- function c10() {
261
+ function c6() {
256
262
  this.h = null;
257
263
  }
258
- function d10(f2) {
259
- return f2 instanceof b10 ? f2 : new b10(function(h2) {
260
- h2(f2);
264
+ function d6(f6) {
265
+ return f6 instanceof b6 ? f6 : new b6(function(h5) {
266
+ h5(f6);
261
267
  });
262
268
  }
263
- if (a10) return a10;
264
- c10.prototype.i = function(f2) {
269
+ if (a14) return a14;
270
+ c6.prototype.i = function(f6) {
265
271
  if (null == this.h) {
266
272
  this.h = [];
267
- var h2 = this;
273
+ var h5 = this;
268
274
  this.j(function() {
269
- h2.m();
275
+ h5.m();
270
276
  });
271
277
  }
272
- this.h.push(f2);
278
+ this.h.push(f6);
273
279
  };
274
- var e10 = y2.setTimeout;
275
- c10.prototype.j = function(f2) {
276
- e10(f2, 0);
280
+ var e6 = y4.setTimeout;
281
+ c6.prototype.j = function(f6) {
282
+ e6(f6, 0);
277
283
  };
278
- c10.prototype.m = function() {
284
+ c6.prototype.m = function() {
279
285
  for (; this.h && this.h.length; ) {
280
- var f2 = this.h;
286
+ var f6 = this.h;
281
287
  this.h = [];
282
- for (var h2 = 0; h2 < f2.length; ++h2) {
283
- var k2 = f2[h2];
284
- f2[h2] = null;
288
+ for (var h5 = 0; h5 < f6.length; ++h5) {
289
+ var k5 = f6[h5];
290
+ f6[h5] = null;
285
291
  try {
286
- k2();
287
- } catch (l2) {
288
- this.l(l2);
292
+ k5();
293
+ } catch (l5) {
294
+ this.l(l5);
289
295
  }
290
296
  }
291
297
  }
292
298
  this.h = null;
293
299
  };
294
- c10.prototype.l = function(f2) {
300
+ c6.prototype.l = function(f6) {
295
301
  this.j(function() {
296
- throw f2;
302
+ throw f6;
297
303
  });
298
304
  };
299
- b10.prototype.l = function() {
300
- function f2(l2) {
301
- return function(m2) {
302
- k2 || (k2 = true, l2.call(h2, m2));
305
+ b6.prototype.l = function() {
306
+ function f6(l5) {
307
+ return function(m5) {
308
+ k5 || (k5 = true, l5.call(h5, m5));
303
309
  };
304
310
  }
305
- var h2 = this, k2 = false;
306
- return { resolve: f2(this.I), reject: f2(this.m) };
311
+ var h5 = this, k5 = false;
312
+ return { resolve: f6(this.I), reject: f6(this.m) };
307
313
  };
308
- b10.prototype.I = function(f2) {
309
- if (f2 === this) this.m(new TypeError("A Promise cannot resolve to itself"));
310
- else if (f2 instanceof b10) this.L(f2);
314
+ b6.prototype.I = function(f6) {
315
+ if (f6 === this) this.m(new TypeError("A Promise cannot resolve to itself"));
316
+ else if (f6 instanceof b6) this.L(f6);
311
317
  else {
312
- a: switch (typeof f2) {
318
+ a: switch (typeof f6) {
313
319
  case "object":
314
- var h2 = null != f2;
320
+ var h5 = null != f6;
315
321
  break a;
316
322
  case "function":
317
- h2 = true;
323
+ h5 = true;
318
324
  break a;
319
325
  default:
320
- h2 = false;
326
+ h5 = false;
321
327
  }
322
- h2 ? this.F(f2) : this.s(f2);
328
+ h5 ? this.F(f6) : this.s(f6);
323
329
  }
324
330
  };
325
- b10.prototype.F = function(f2) {
326
- var h2 = void 0;
331
+ b6.prototype.F = function(f6) {
332
+ var h5 = void 0;
327
333
  try {
328
- h2 = f2.then;
329
- } catch (k2) {
330
- this.m(k2);
334
+ h5 = f6.then;
335
+ } catch (k5) {
336
+ this.m(k5);
331
337
  return;
332
338
  }
333
- "function" == typeof h2 ? this.M(h2, f2) : this.s(f2);
339
+ "function" == typeof h5 ? this.M(h5, f6) : this.s(f6);
334
340
  };
335
- b10.prototype.m = function(f2) {
336
- this.v(2, f2);
341
+ b6.prototype.m = function(f6) {
342
+ this.v(2, f6);
337
343
  };
338
- b10.prototype.s = function(f2) {
339
- this.v(1, f2);
344
+ b6.prototype.s = function(f6) {
345
+ this.v(1, f6);
340
346
  };
341
- b10.prototype.v = function(f2, h2) {
342
- if (0 != this.i) throw Error("Cannot settle(" + f2 + ", " + h2 + "): Promise already settled in state" + this.i);
343
- this.i = f2;
344
- this.j = h2;
347
+ b6.prototype.v = function(f6, h5) {
348
+ if (0 != this.i) throw Error("Cannot settle(" + f6 + ", " + h5 + "): Promise already settled in state" + this.i);
349
+ this.i = f6;
350
+ this.j = h5;
345
351
  2 === this.i && this.K();
346
352
  this.H();
347
353
  };
348
- b10.prototype.K = function() {
349
- var f2 = this;
350
- e10(function() {
351
- if (f2.D()) {
352
- var h2 = y2.console;
353
- "undefined" !== typeof h2 && h2.error(f2.j);
354
+ b6.prototype.K = function() {
355
+ var f6 = this;
356
+ e6(function() {
357
+ if (f6.D()) {
358
+ var h5 = y4.console;
359
+ "undefined" !== typeof h5 && h5.error(f6.j);
354
360
  }
355
361
  }, 1);
356
362
  };
357
- b10.prototype.D = function() {
363
+ b6.prototype.D = function() {
358
364
  if (this.u) return false;
359
- var f2 = y2.CustomEvent, h2 = y2.Event, k2 = y2.dispatchEvent;
360
- if ("undefined" === typeof k2) return true;
361
- "function" === typeof f2 ? f2 = new f2("unhandledrejection", { cancelable: true }) : "function" === typeof h2 ? f2 = new h2("unhandledrejection", { cancelable: true }) : (f2 = y2.document.createEvent("CustomEvent"), f2.initCustomEvent("unhandledrejection", false, true, f2));
362
- f2.promise = this;
363
- f2.reason = this.j;
364
- return k2(f2);
365
+ var f6 = y4.CustomEvent, h5 = y4.Event, k5 = y4.dispatchEvent;
366
+ if ("undefined" === typeof k5) return true;
367
+ "function" === typeof f6 ? f6 = new f6("unhandledrejection", { cancelable: true }) : "function" === typeof h5 ? f6 = new h5("unhandledrejection", { cancelable: true }) : (f6 = y4.document.createEvent("CustomEvent"), f6.initCustomEvent("unhandledrejection", false, true, f6));
368
+ f6.promise = this;
369
+ f6.reason = this.j;
370
+ return k5(f6);
365
371
  };
366
- b10.prototype.H = function() {
372
+ b6.prototype.H = function() {
367
373
  if (null != this.h) {
368
- for (var f2 = 0; f2 < this.h.length; ++f2) g2.i(this.h[f2]);
374
+ for (var f6 = 0; f6 < this.h.length; ++f6) g5.i(this.h[f6]);
369
375
  this.h = null;
370
376
  }
371
377
  };
372
- var g2 = new c10();
373
- b10.prototype.L = function(f2) {
374
- var h2 = this.l();
375
- f2.T(h2.resolve, h2.reject);
378
+ var g5 = new c6();
379
+ b6.prototype.L = function(f6) {
380
+ var h5 = this.l();
381
+ f6.T(h5.resolve, h5.reject);
376
382
  };
377
- b10.prototype.M = function(f2, h2) {
378
- var k2 = this.l();
383
+ b6.prototype.M = function(f6, h5) {
384
+ var k5 = this.l();
379
385
  try {
380
- f2.call(h2, k2.resolve, k2.reject);
381
- } catch (l2) {
382
- k2.reject(l2);
386
+ f6.call(h5, k5.resolve, k5.reject);
387
+ } catch (l5) {
388
+ k5.reject(l5);
383
389
  }
384
390
  };
385
- b10.prototype.then = function(f2, h2) {
386
- function k2(p2, n2) {
387
- return "function" == typeof p2 ? function(q2) {
391
+ b6.prototype.then = function(f6, h5) {
392
+ function k5(p6, n4) {
393
+ return "function" == typeof p6 ? function(q4) {
388
394
  try {
389
- l2(p2(q2));
390
- } catch (t2) {
391
- m2(t2);
395
+ l5(p6(q4));
396
+ } catch (t4) {
397
+ m5(t4);
392
398
  }
393
- } : n2;
399
+ } : n4;
394
400
  }
395
- var l2, m2, r2 = new b10(function(p2, n2) {
396
- l2 = p2;
397
- m2 = n2;
401
+ var l5, m5, r5 = new b6(function(p6, n4) {
402
+ l5 = p6;
403
+ m5 = n4;
398
404
  });
399
- this.T(k2(f2, l2), k2(h2, m2));
400
- return r2;
405
+ this.T(k5(f6, l5), k5(h5, m5));
406
+ return r5;
401
407
  };
402
- b10.prototype.catch = function(f2) {
403
- return this.then(void 0, f2);
408
+ b6.prototype.catch = function(f6) {
409
+ return this.then(void 0, f6);
404
410
  };
405
- b10.prototype.T = function(f2, h2) {
406
- function k2() {
407
- switch (l2.i) {
411
+ b6.prototype.T = function(f6, h5) {
412
+ function k5() {
413
+ switch (l5.i) {
408
414
  case 1:
409
- f2(l2.j);
415
+ f6(l5.j);
410
416
  break;
411
417
  case 2:
412
- h2(l2.j);
418
+ h5(l5.j);
413
419
  break;
414
420
  default:
415
- throw Error("Unexpected state: " + l2.i);
421
+ throw Error("Unexpected state: " + l5.i);
416
422
  }
417
423
  }
418
- var l2 = this;
419
- null == this.h ? g2.i(k2) : this.h.push(k2);
424
+ var l5 = this;
425
+ null == this.h ? g5.i(k5) : this.h.push(k5);
420
426
  this.u = true;
421
427
  };
422
- b10.resolve = d10;
423
- b10.reject = function(f2) {
424
- return new b10(function(h2, k2) {
425
- k2(f2);
428
+ b6.resolve = d6;
429
+ b6.reject = function(f6) {
430
+ return new b6(function(h5, k5) {
431
+ k5(f6);
426
432
  });
427
433
  };
428
- b10.race = function(f2) {
429
- return new b10(function(h2, k2) {
430
- for (var l2 = A2(f2), m2 = l2.next(); !m2.done; m2 = l2.next()) d10(m2.value).T(h2, k2);
434
+ b6.race = function(f6) {
435
+ return new b6(function(h5, k5) {
436
+ for (var l5 = A4(f6), m5 = l5.next(); !m5.done; m5 = l5.next()) d6(m5.value).T(h5, k5);
431
437
  });
432
438
  };
433
- b10.all = function(f2) {
434
- var h2 = A2(f2), k2 = h2.next();
435
- return k2.done ? d10([]) : new b10(function(l2, m2) {
436
- function r2(q2) {
437
- return function(t2) {
438
- p2[q2] = t2;
439
- n2--;
440
- 0 == n2 && l2(p2);
439
+ b6.all = function(f6) {
440
+ var h5 = A4(f6), k5 = h5.next();
441
+ return k5.done ? d6([]) : new b6(function(l5, m5) {
442
+ function r5(q4) {
443
+ return function(t4) {
444
+ p6[q4] = t4;
445
+ n4--;
446
+ 0 == n4 && l5(p6);
441
447
  };
442
448
  }
443
- var p2 = [], n2 = 0;
449
+ var p6 = [], n4 = 0;
444
450
  do
445
- p2.push(void 0), n2++, d10(k2.value).T(r2(p2.length - 1), m2), k2 = h2.next();
446
- while (!k2.done);
451
+ p6.push(void 0), n4++, d6(k5.value).T(r5(p6.length - 1), m5), k5 = h5.next();
452
+ while (!k5.done);
447
453
  });
448
454
  };
449
- return b10;
455
+ return b6;
450
456
  });
451
- function xa(a10, b10) {
452
- a10 instanceof String && (a10 += "");
453
- var c10 = 0, d10 = false, e10 = { next: function() {
454
- if (!d10 && c10 < a10.length) {
455
- var g2 = c10++;
456
- return { value: b10(g2, a10[g2]), done: false };
457
+ function xa(a14, b6) {
458
+ a14 instanceof String && (a14 += "");
459
+ var c6 = 0, d6 = false, e6 = { next: function() {
460
+ if (!d6 && c6 < a14.length) {
461
+ var g5 = c6++;
462
+ return { value: b6(g5, a14[g5]), done: false };
457
463
  }
458
- d10 = true;
464
+ d6 = true;
459
465
  return { done: true, value: void 0 };
460
466
  } };
461
- e10[Symbol.iterator] = function() {
462
- return e10;
467
+ e6[Symbol.iterator] = function() {
468
+ return e6;
463
469
  };
464
- return e10;
470
+ return e6;
465
471
  }
466
- z2("Array.prototype.keys", function(a10) {
467
- return a10 ? a10 : function() {
468
- return xa(this, function(b10) {
469
- return b10;
472
+ z4("Array.prototype.keys", function(a14) {
473
+ return a14 ? a14 : function() {
474
+ return xa(this, function(b6) {
475
+ return b6;
470
476
  });
471
477
  };
472
478
  });
473
- z2("Array.prototype.fill", function(a10) {
474
- return a10 ? a10 : function(b10, c10, d10) {
475
- var e10 = this.length || 0;
476
- 0 > c10 && (c10 = Math.max(0, e10 + c10));
477
- if (null == d10 || d10 > e10) d10 = e10;
478
- d10 = Number(d10);
479
- 0 > d10 && (d10 = Math.max(0, e10 + d10));
480
- for (c10 = Number(c10 || 0); c10 < d10; c10++) this[c10] = b10;
479
+ z4("Array.prototype.fill", function(a14) {
480
+ return a14 ? a14 : function(b6, c6, d6) {
481
+ var e6 = this.length || 0;
482
+ 0 > c6 && (c6 = Math.max(0, e6 + c6));
483
+ if (null == d6 || d6 > e6) d6 = e6;
484
+ d6 = Number(d6);
485
+ 0 > d6 && (d6 = Math.max(0, e6 + d6));
486
+ for (c6 = Number(c6 || 0); c6 < d6; c6++) this[c6] = b6;
481
487
  return this;
482
488
  };
483
489
  });
484
- function F2(a10) {
485
- return a10 ? a10 : Array.prototype.fill;
486
- }
487
- z2("Int8Array.prototype.fill", F2);
488
- z2("Uint8Array.prototype.fill", F2);
489
- z2("Uint8ClampedArray.prototype.fill", F2);
490
- z2("Int16Array.prototype.fill", F2);
491
- z2("Uint16Array.prototype.fill", F2);
492
- z2("Int32Array.prototype.fill", F2);
493
- z2("Uint32Array.prototype.fill", F2);
494
- z2("Float32Array.prototype.fill", F2);
495
- z2("Float64Array.prototype.fill", F2);
496
- z2("Object.is", function(a10) {
497
- return a10 ? a10 : function(b10, c10) {
498
- return b10 === c10 ? 0 !== b10 || 1 / b10 === 1 / c10 : b10 !== b10 && c10 !== c10;
490
+ function F4(a14) {
491
+ return a14 ? a14 : Array.prototype.fill;
492
+ }
493
+ z4("Int8Array.prototype.fill", F4);
494
+ z4("Uint8Array.prototype.fill", F4);
495
+ z4("Uint8ClampedArray.prototype.fill", F4);
496
+ z4("Int16Array.prototype.fill", F4);
497
+ z4("Uint16Array.prototype.fill", F4);
498
+ z4("Int32Array.prototype.fill", F4);
499
+ z4("Uint32Array.prototype.fill", F4);
500
+ z4("Float32Array.prototype.fill", F4);
501
+ z4("Float64Array.prototype.fill", F4);
502
+ z4("Object.is", function(a14) {
503
+ return a14 ? a14 : function(b6, c6) {
504
+ return b6 === c6 ? 0 !== b6 || 1 / b6 === 1 / c6 : b6 !== b6 && c6 !== c6;
499
505
  };
500
506
  });
501
- z2("Array.prototype.includes", function(a10) {
502
- return a10 ? a10 : function(b10, c10) {
503
- var d10 = this;
504
- d10 instanceof String && (d10 = String(d10));
505
- var e10 = d10.length;
506
- c10 = c10 || 0;
507
- for (0 > c10 && (c10 = Math.max(c10 + e10, 0)); c10 < e10; c10++) {
508
- var g2 = d10[c10];
509
- if (g2 === b10 || Object.is(g2, b10)) return true;
507
+ z4("Array.prototype.includes", function(a14) {
508
+ return a14 ? a14 : function(b6, c6) {
509
+ var d6 = this;
510
+ d6 instanceof String && (d6 = String(d6));
511
+ var e6 = d6.length;
512
+ c6 = c6 || 0;
513
+ for (0 > c6 && (c6 = Math.max(c6 + e6, 0)); c6 < e6; c6++) {
514
+ var g5 = d6[c6];
515
+ if (g5 === b6 || Object.is(g5, b6)) return true;
510
516
  }
511
517
  return false;
512
518
  };
513
519
  });
514
- z2("String.prototype.includes", function(a10) {
515
- return a10 ? a10 : function(b10, c10) {
520
+ z4("String.prototype.includes", function(a14) {
521
+ return a14 ? a14 : function(b6, c6) {
516
522
  if (null == this) throw new TypeError("The 'this' value for String.prototype.includes must not be null or undefined");
517
- if (b10 instanceof RegExp) throw new TypeError("First argument to String.prototype.includes must not be a regular expression");
518
- return -1 !== this.indexOf(b10, c10 || 0);
523
+ if (b6 instanceof RegExp) throw new TypeError("First argument to String.prototype.includes must not be a regular expression");
524
+ return -1 !== this.indexOf(b6, c6 || 0);
519
525
  };
520
526
  });
521
527
  var ya = this || self;
522
- function Aa(a10, b10) {
523
- a10 = a10.split(".");
524
- var c10 = ya;
525
- a10[0] in c10 || "undefined" == typeof c10.execScript || c10.execScript("var " + a10[0]);
526
- for (var d10; a10.length && (d10 = a10.shift()); ) a10.length || void 0 === b10 ? c10[d10] && c10[d10] !== Object.prototype[d10] ? c10 = c10[d10] : c10 = c10[d10] = {} : c10[d10] = b10;
527
- }
528
- function Ba(a10) {
529
- var b10;
528
+ function Aa(a14, b6) {
529
+ a14 = a14.split(".");
530
+ var c6 = ya;
531
+ a14[0] in c6 || "undefined" == typeof c6.execScript || c6.execScript("var " + a14[0]);
532
+ for (var d6; a14.length && (d6 = a14.shift()); ) a14.length || void 0 === b6 ? c6[d6] && c6[d6] !== Object.prototype[d6] ? c6 = c6[d6] : c6 = c6[d6] = {} : c6[d6] = b6;
533
+ }
534
+ function Ba(a14) {
535
+ var b6;
530
536
  a: {
531
- if (b10 = ya.navigator) {
532
- if (b10 = b10.userAgent) break a;
537
+ if (b6 = ya.navigator) {
538
+ if (b6 = b6.userAgent) break a;
533
539
  }
534
- b10 = "";
540
+ b6 = "";
535
541
  }
536
- return -1 != b10.indexOf(a10);
542
+ return -1 != b6.indexOf(a14);
537
543
  }
538
- var Ca = Array.prototype.map ? function(a10, b10) {
539
- return Array.prototype.map.call(a10, b10, void 0);
540
- } : function(a10, b10) {
541
- for (var c10 = a10.length, d10 = Array(c10), e10 = "string" === typeof a10 ? a10.split("") : a10, g2 = 0; g2 < c10; g2++) g2 in e10 && (d10[g2] = b10.call(void 0, e10[g2], g2, a10));
542
- return d10;
544
+ var Ca = Array.prototype.map ? function(a14, b6) {
545
+ return Array.prototype.map.call(a14, b6, void 0);
546
+ } : function(a14, b6) {
547
+ for (var c6 = a14.length, d6 = Array(c6), e6 = "string" === typeof a14 ? a14.split("") : a14, g5 = 0; g5 < c6; g5++) g5 in e6 && (d6[g5] = b6.call(void 0, e6[g5], g5, a14));
548
+ return d6;
543
549
  };
544
550
  var Da = {}, Ea = null;
545
- function Fa(a10) {
546
- var b10 = a10.length, c10 = 3 * b10 / 4;
547
- c10 % 3 ? c10 = Math.floor(c10) : -1 != "=.".indexOf(a10[b10 - 1]) && (c10 = -1 != "=.".indexOf(a10[b10 - 2]) ? c10 - 2 : c10 - 1);
548
- var d10 = new Uint8Array(c10), e10 = 0;
549
- Ga(a10, function(g2) {
550
- d10[e10++] = g2;
551
+ function Fa(a14) {
552
+ var b6 = a14.length, c6 = 3 * b6 / 4;
553
+ c6 % 3 ? c6 = Math.floor(c6) : -1 != "=.".indexOf(a14[b6 - 1]) && (c6 = -1 != "=.".indexOf(a14[b6 - 2]) ? c6 - 2 : c6 - 1);
554
+ var d6 = new Uint8Array(c6), e6 = 0;
555
+ Ga(a14, function(g5) {
556
+ d6[e6++] = g5;
551
557
  });
552
- return e10 !== c10 ? d10.subarray(0, e10) : d10;
553
- }
554
- function Ga(a10, b10) {
555
- function c10(k2) {
556
- for (; d10 < a10.length; ) {
557
- var l2 = a10.charAt(d10++), m2 = Ea[l2];
558
- if (null != m2) return m2;
559
- if (!/^[\s\xa0]*$/.test(l2)) throw Error("Unknown base64 encoding at char: " + l2);
558
+ return e6 !== c6 ? d6.subarray(0, e6) : d6;
559
+ }
560
+ function Ga(a14, b6) {
561
+ function c6(k5) {
562
+ for (; d6 < a14.length; ) {
563
+ var l5 = a14.charAt(d6++), m5 = Ea[l5];
564
+ if (null != m5) return m5;
565
+ if (!/^[\s\xa0]*$/.test(l5)) throw Error("Unknown base64 encoding at char: " + l5);
560
566
  }
561
- return k2;
567
+ return k5;
562
568
  }
563
569
  Ha();
564
- for (var d10 = 0; ; ) {
565
- var e10 = c10(-1), g2 = c10(0), f2 = c10(64), h2 = c10(64);
566
- if (64 === h2 && -1 === e10) break;
567
- b10(e10 << 2 | g2 >> 4);
568
- 64 != f2 && (b10(g2 << 4 & 240 | f2 >> 2), 64 != h2 && b10(f2 << 6 & 192 | h2));
570
+ for (var d6 = 0; ; ) {
571
+ var e6 = c6(-1), g5 = c6(0), f6 = c6(64), h5 = c6(64);
572
+ if (64 === h5 && -1 === e6) break;
573
+ b6(e6 << 2 | g5 >> 4);
574
+ 64 != f6 && (b6(g5 << 4 & 240 | f6 >> 2), 64 != h5 && b6(f6 << 6 & 192 | h5));
569
575
  }
570
576
  }
571
577
  function Ha() {
572
578
  if (!Ea) {
573
579
  Ea = {};
574
- for (var a10 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), b10 = ["+/=", "+/", "-_=", "-_.", "-_"], c10 = 0; 5 > c10; c10++) {
575
- var d10 = a10.concat(b10[c10].split(""));
576
- Da[c10] = d10;
577
- for (var e10 = 0; e10 < d10.length; e10++) {
578
- var g2 = d10[e10];
579
- void 0 === Ea[g2] && (Ea[g2] = e10);
580
+ for (var a14 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), b6 = ["+/=", "+/", "-_=", "-_.", "-_"], c6 = 0; 5 > c6; c6++) {
581
+ var d6 = a14.concat(b6[c6].split(""));
582
+ Da[c6] = d6;
583
+ for (var e6 = 0; e6 < d6.length; e6++) {
584
+ var g5 = d6[e6];
585
+ void 0 === Ea[g5] && (Ea[g5] = e6);
580
586
  }
581
587
  }
582
588
  }
583
589
  }
584
590
  var Ia = "undefined" !== typeof Uint8Array, Ja = !(Ba("Trident") || Ba("MSIE")) && "function" === typeof ya.btoa;
585
- function Ka(a10) {
591
+ function Ka(a14) {
586
592
  if (!Ja) {
587
- var b10;
588
- void 0 === b10 && (b10 = 0);
593
+ var b6;
594
+ void 0 === b6 && (b6 = 0);
589
595
  Ha();
590
- b10 = Da[b10];
591
- for (var c10 = Array(Math.floor(a10.length / 3)), d10 = b10[64] || "", e10 = 0, g2 = 0; e10 < a10.length - 2; e10 += 3) {
592
- var f2 = a10[e10], h2 = a10[e10 + 1], k2 = a10[e10 + 2], l2 = b10[f2 >> 2];
593
- f2 = b10[(f2 & 3) << 4 | h2 >> 4];
594
- h2 = b10[(h2 & 15) << 2 | k2 >> 6];
595
- k2 = b10[k2 & 63];
596
- c10[g2++] = l2 + f2 + h2 + k2;
596
+ b6 = Da[b6];
597
+ for (var c6 = Array(Math.floor(a14.length / 3)), d6 = b6[64] || "", e6 = 0, g5 = 0; e6 < a14.length - 2; e6 += 3) {
598
+ var f6 = a14[e6], h5 = a14[e6 + 1], k5 = a14[e6 + 2], l5 = b6[f6 >> 2];
599
+ f6 = b6[(f6 & 3) << 4 | h5 >> 4];
600
+ h5 = b6[(h5 & 15) << 2 | k5 >> 6];
601
+ k5 = b6[k5 & 63];
602
+ c6[g5++] = l5 + f6 + h5 + k5;
597
603
  }
598
- l2 = 0;
599
- k2 = d10;
600
- switch (a10.length - e10) {
604
+ l5 = 0;
605
+ k5 = d6;
606
+ switch (a14.length - e6) {
601
607
  case 2:
602
- l2 = a10[e10 + 1], k2 = b10[(l2 & 15) << 2] || d10;
608
+ l5 = a14[e6 + 1], k5 = b6[(l5 & 15) << 2] || d6;
603
609
  case 1:
604
- a10 = a10[e10], c10[g2] = b10[a10 >> 2] + b10[(a10 & 3) << 4 | l2 >> 4] + k2 + d10;
610
+ a14 = a14[e6], c6[g5] = b6[a14 >> 2] + b6[(a14 & 3) << 4 | l5 >> 4] + k5 + d6;
605
611
  }
606
- return c10.join("");
612
+ return c6.join("");
607
613
  }
608
- for (b10 = ""; 10240 < a10.length; ) b10 += String.fromCharCode.apply(null, a10.subarray(0, 10240)), a10 = a10.subarray(10240);
609
- b10 += String.fromCharCode.apply(
614
+ for (b6 = ""; 10240 < a14.length; ) b6 += String.fromCharCode.apply(null, a14.subarray(0, 10240)), a14 = a14.subarray(10240);
615
+ b6 += String.fromCharCode.apply(
610
616
  null,
611
- a10
617
+ a14
612
618
  );
613
- return btoa(b10);
619
+ return btoa(b6);
614
620
  }
615
621
  var La = RegExp("[-_.]", "g");
616
- function Ma(a10) {
617
- switch (a10) {
622
+ function Ma(a14) {
623
+ switch (a14) {
618
624
  case "-":
619
625
  return "+";
620
626
  case "_":
@@ -625,126 +631,126 @@ function requireSelfie_segmentation() {
625
631
  return "";
626
632
  }
627
633
  }
628
- function Na(a10) {
629
- if (!Ja) return Fa(a10);
630
- La.test(a10) && (a10 = a10.replace(La, Ma));
631
- a10 = atob(a10);
632
- for (var b10 = new Uint8Array(a10.length), c10 = 0; c10 < a10.length; c10++) b10[c10] = a10.charCodeAt(c10);
633
- return b10;
634
+ function Na(a14) {
635
+ if (!Ja) return Fa(a14);
636
+ La.test(a14) && (a14 = a14.replace(La, Ma));
637
+ a14 = atob(a14);
638
+ for (var b6 = new Uint8Array(a14.length), c6 = 0; c6 < a14.length; c6++) b6[c6] = a14.charCodeAt(c6);
639
+ return b6;
634
640
  }
635
641
  var Oa;
636
642
  function Pa() {
637
643
  return Oa || (Oa = new Uint8Array(0));
638
644
  }
639
645
  var Qa = {};
640
- var Ra = "function" === typeof Uint8Array.prototype.slice, G2 = 0, H2 = 0;
641
- function Sa(a10) {
642
- var b10 = 0 > a10;
643
- a10 = Math.abs(a10);
644
- var c10 = a10 >>> 0;
645
- a10 = Math.floor((a10 - c10) / 4294967296);
646
- b10 && (c10 = A2(Ta(c10, a10)), b10 = c10.next().value, a10 = c10.next().value, c10 = b10);
647
- G2 = c10 >>> 0;
648
- H2 = a10 >>> 0;
646
+ var Ra = "function" === typeof Uint8Array.prototype.slice, G3 = 0, H3 = 0;
647
+ function Sa(a14) {
648
+ var b6 = 0 > a14;
649
+ a14 = Math.abs(a14);
650
+ var c6 = a14 >>> 0;
651
+ a14 = Math.floor((a14 - c6) / 4294967296);
652
+ b6 && (c6 = A4(Ta(c6, a14)), b6 = c6.next().value, a14 = c6.next().value, c6 = b6);
653
+ G3 = c6 >>> 0;
654
+ H3 = a14 >>> 0;
649
655
  }
650
656
  var Ua = "function" === typeof BigInt;
651
- function Ta(a10, b10) {
652
- b10 = ~b10;
653
- a10 ? a10 = ~a10 + 1 : b10 += 1;
654
- return [a10, b10];
655
- }
656
- function Va(a10, b10) {
657
- this.i = a10 >>> 0;
658
- this.h = b10 >>> 0;
659
- }
660
- function Wa(a10) {
661
- if (!a10) return Xa || (Xa = new Va(0, 0));
662
- if (!/^-?\d+$/.test(a10)) return null;
663
- if (16 > a10.length) Sa(Number(a10));
664
- else if (Ua) a10 = BigInt(a10), G2 = Number(a10 & BigInt(4294967295)) >>> 0, H2 = Number(a10 >> BigInt(32) & BigInt(4294967295));
657
+ function Ta(a14, b6) {
658
+ b6 = ~b6;
659
+ a14 ? a14 = ~a14 + 1 : b6 += 1;
660
+ return [a14, b6];
661
+ }
662
+ function Va(a14, b6) {
663
+ this.i = a14 >>> 0;
664
+ this.h = b6 >>> 0;
665
+ }
666
+ function Wa(a14) {
667
+ if (!a14) return Xa || (Xa = new Va(0, 0));
668
+ if (!/^-?\d+$/.test(a14)) return null;
669
+ if (16 > a14.length) Sa(Number(a14));
670
+ else if (Ua) a14 = BigInt(a14), G3 = Number(a14 & BigInt(4294967295)) >>> 0, H3 = Number(a14 >> BigInt(32) & BigInt(4294967295));
665
671
  else {
666
- var b10 = +("-" === a10[0]);
667
- H2 = G2 = 0;
668
- for (var c10 = a10.length, d10 = b10, e10 = (c10 - b10) % 6 + b10; e10 <= c10; d10 = e10, e10 += 6) d10 = Number(a10.slice(d10, e10)), H2 *= 1e6, G2 = 1e6 * G2 + d10, 4294967296 <= G2 && (H2 += G2 / 4294967296 | 0, G2 %= 4294967296);
669
- b10 && (b10 = A2(Ta(G2, H2)), a10 = b10.next().value, b10 = b10.next().value, G2 = a10, H2 = b10);
672
+ var b6 = +("-" === a14[0]);
673
+ H3 = G3 = 0;
674
+ for (var c6 = a14.length, d6 = b6, e6 = (c6 - b6) % 6 + b6; e6 <= c6; d6 = e6, e6 += 6) d6 = Number(a14.slice(d6, e6)), H3 *= 1e6, G3 = 1e6 * G3 + d6, 4294967296 <= G3 && (H3 += G3 / 4294967296 | 0, G3 %= 4294967296);
675
+ b6 && (b6 = A4(Ta(G3, H3)), a14 = b6.next().value, b6 = b6.next().value, G3 = a14, H3 = b6);
670
676
  }
671
- return new Va(G2, H2);
677
+ return new Va(G3, H3);
672
678
  }
673
679
  var Xa;
674
- function Ya(a10, b10) {
675
- return Error("Invalid wire type: " + a10 + " (at position " + b10 + ")");
680
+ function Ya(a14, b6) {
681
+ return Error("Invalid wire type: " + a14 + " (at position " + b6 + ")");
676
682
  }
677
683
  function Za() {
678
684
  return Error("Failed to read varint, encoding is invalid.");
679
685
  }
680
- function $a(a10, b10) {
681
- return Error("Tried to read past the end of the data " + b10 + " > " + a10);
686
+ function $a(a14, b6) {
687
+ return Error("Tried to read past the end of the data " + b6 + " > " + a14);
682
688
  }
683
- function K2() {
689
+ function K3() {
684
690
  throw Error("Invalid UTF8");
685
691
  }
686
- function ab2(a10, b10) {
687
- b10 = String.fromCharCode.apply(null, b10);
688
- return null == a10 ? b10 : a10 + b10;
692
+ function ab2(a14, b6) {
693
+ b6 = String.fromCharCode.apply(null, b6);
694
+ return null == a14 ? b6 : a14 + b6;
689
695
  }
690
- var bb2 = void 0, cb2, db2 = "undefined" !== typeof TextDecoder, eb2, fb = "undefined" !== typeof TextEncoder;
696
+ var bb = void 0, cb, db = "undefined" !== typeof TextDecoder, eb, fb = "undefined" !== typeof TextEncoder;
691
697
  var gb;
692
- function hb(a10) {
693
- if (a10 !== Qa) throw Error("illegal external caller");
698
+ function hb(a14) {
699
+ if (a14 !== Qa) throw Error("illegal external caller");
694
700
  }
695
- function ib(a10, b10) {
696
- hb(b10);
697
- this.V = a10;
698
- if (null != a10 && 0 === a10.length) throw Error("ByteString should be constructed with non-empty values");
701
+ function ib(a14, b6) {
702
+ hb(b6);
703
+ this.V = a14;
704
+ if (null != a14 && 0 === a14.length) throw Error("ByteString should be constructed with non-empty values");
699
705
  }
700
706
  function jb() {
701
707
  return gb || (gb = new ib(null, Qa));
702
708
  }
703
- function kb(a10) {
709
+ function kb(a14) {
704
710
  hb(Qa);
705
- var b10 = a10.V;
706
- b10 = null == b10 || Ia && null != b10 && b10 instanceof Uint8Array ? b10 : "string" === typeof b10 ? Na(b10) : null;
707
- return null == b10 ? b10 : a10.V = b10;
708
- }
709
- function lb(a10) {
710
- if ("string" === typeof a10) return { buffer: Na(a10), C: false };
711
- if (Array.isArray(a10)) return { buffer: new Uint8Array(a10), C: false };
712
- if (a10.constructor === Uint8Array) return { buffer: a10, C: false };
713
- if (a10.constructor === ArrayBuffer) return { buffer: new Uint8Array(a10), C: false };
714
- if (a10.constructor === ib) return { buffer: kb(a10) || Pa(), C: true };
715
- if (a10 instanceof Uint8Array) return { buffer: new Uint8Array(a10.buffer, a10.byteOffset, a10.byteLength), C: false };
711
+ var b6 = a14.V;
712
+ b6 = null == b6 || Ia && null != b6 && b6 instanceof Uint8Array ? b6 : "string" === typeof b6 ? Na(b6) : null;
713
+ return null == b6 ? b6 : a14.V = b6;
714
+ }
715
+ function lb(a14) {
716
+ if ("string" === typeof a14) return { buffer: Na(a14), C: false };
717
+ if (Array.isArray(a14)) return { buffer: new Uint8Array(a14), C: false };
718
+ if (a14.constructor === Uint8Array) return { buffer: a14, C: false };
719
+ if (a14.constructor === ArrayBuffer) return { buffer: new Uint8Array(a14), C: false };
720
+ if (a14.constructor === ib) return { buffer: kb(a14) || Pa(), C: true };
721
+ if (a14 instanceof Uint8Array) return { buffer: new Uint8Array(a14.buffer, a14.byteOffset, a14.byteLength), C: false };
716
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");
717
723
  }
718
- function mb(a10, b10) {
724
+ function mb(a14, b6) {
719
725
  this.i = null;
720
726
  this.m = false;
721
727
  this.h = this.j = this.l = 0;
722
- nb(this, a10, b10);
728
+ nb(this, a14, b6);
723
729
  }
724
- function nb(a10, b10, c10) {
725
- c10 = void 0 === c10 ? {} : c10;
726
- a10.S = void 0 === c10.S ? false : c10.S;
727
- b10 && (b10 = lb(b10), a10.i = b10.buffer, a10.m = b10.C, a10.l = 0, a10.j = a10.i.length, a10.h = a10.l);
730
+ function nb(a14, b6, c6) {
731
+ c6 = void 0 === c6 ? {} : c6;
732
+ a14.S = void 0 === c6.S ? false : c6.S;
733
+ b6 && (b6 = lb(b6), a14.i = b6.buffer, a14.m = b6.C, a14.l = 0, a14.j = a14.i.length, a14.h = a14.l);
728
734
  }
729
735
  mb.prototype.reset = function() {
730
736
  this.h = this.l;
731
737
  };
732
- function L2(a10, b10) {
733
- a10.h = b10;
734
- if (b10 > a10.j) throw $a(a10.j, b10);
735
- }
736
- function ob(a10) {
737
- var b10 = a10.i, c10 = a10.h, d10 = b10[c10++], e10 = d10 & 127;
738
- if (d10 & 128 && (d10 = b10[c10++], e10 |= (d10 & 127) << 7, d10 & 128 && (d10 = b10[c10++], e10 |= (d10 & 127) << 14, d10 & 128 && (d10 = b10[c10++], e10 |= (d10 & 127) << 21, d10 & 128 && (d10 = b10[c10++], e10 |= d10 << 28, d10 & 128 && b10[c10++] & 128 && b10[c10++] & 128 && b10[c10++] & 128 && b10[c10++] & 128 && b10[c10++] & 128))))) throw Za();
739
- L2(a10, c10);
740
- return e10;
741
- }
742
- function pb(a10, b10) {
743
- if (0 > b10) throw Error("Tried to read a negative byte length: " + b10);
744
- var c10 = a10.h, d10 = c10 + b10;
745
- if (d10 > a10.j) throw $a(b10, a10.j - c10);
746
- a10.h = d10;
747
- return c10;
738
+ function L3(a14, b6) {
739
+ a14.h = b6;
740
+ if (b6 > a14.j) throw $a(a14.j, b6);
741
+ }
742
+ function ob(a14) {
743
+ var b6 = a14.i, c6 = a14.h, d6 = b6[c6++], e6 = d6 & 127;
744
+ if (d6 & 128 && (d6 = b6[c6++], e6 |= (d6 & 127) << 7, d6 & 128 && (d6 = b6[c6++], e6 |= (d6 & 127) << 14, d6 & 128 && (d6 = b6[c6++], e6 |= (d6 & 127) << 21, d6 & 128 && (d6 = b6[c6++], e6 |= d6 << 28, d6 & 128 && b6[c6++] & 128 && b6[c6++] & 128 && b6[c6++] & 128 && b6[c6++] & 128 && b6[c6++] & 128))))) throw Za();
745
+ L3(a14, c6);
746
+ return e6;
747
+ }
748
+ function pb(a14, b6) {
749
+ if (0 > b6) throw Error("Tried to read a negative byte length: " + b6);
750
+ var c6 = a14.h, d6 = c6 + b6;
751
+ if (d6 > a14.j) throw $a(b6, a14.j - c6);
752
+ a14.h = d6;
753
+ return c6;
748
754
  }
749
755
  var qb = [];
750
756
  function rb() {
@@ -754,88 +760,88 @@ function requireSelfie_segmentation() {
754
760
  return this.h.length;
755
761
  };
756
762
  rb.prototype.end = function() {
757
- var a10 = this.h;
763
+ var a14 = this.h;
758
764
  this.h = [];
759
- return a10;
765
+ return a14;
760
766
  };
761
- function sb(a10, b10, c10) {
762
- for (; 0 < c10 || 127 < b10; ) a10.h.push(b10 & 127 | 128), b10 = (b10 >>> 7 | c10 << 25) >>> 0, c10 >>>= 7;
763
- a10.h.push(b10);
767
+ function sb(a14, b6, c6) {
768
+ for (; 0 < c6 || 127 < b6; ) a14.h.push(b6 & 127 | 128), b6 = (b6 >>> 7 | c6 << 25) >>> 0, c6 >>>= 7;
769
+ a14.h.push(b6);
764
770
  }
765
- function M2(a10, b10) {
766
- for (; 127 < b10; ) a10.h.push(b10 & 127 | 128), b10 >>>= 7;
767
- a10.h.push(b10);
771
+ function M3(a14, b6) {
772
+ for (; 127 < b6; ) a14.h.push(b6 & 127 | 128), b6 >>>= 7;
773
+ a14.h.push(b6);
768
774
  }
769
- function tb(a10, b10) {
775
+ function tb(a14, b6) {
770
776
  if (qb.length) {
771
- var c10 = qb.pop();
772
- nb(c10, a10, b10);
773
- a10 = c10;
774
- } else a10 = new mb(a10, b10);
775
- this.h = a10;
777
+ var c6 = qb.pop();
778
+ nb(c6, a14, b6);
779
+ a14 = c6;
780
+ } else a14 = new mb(a14, b6);
781
+ this.h = a14;
776
782
  this.j = this.h.h;
777
783
  this.i = this.l = -1;
778
- this.setOptions(b10);
784
+ this.setOptions(b6);
779
785
  }
780
- tb.prototype.setOptions = function(a10) {
781
- a10 = void 0 === a10 ? {} : a10;
782
- this.ca = void 0 === a10.ca ? false : a10.ca;
786
+ tb.prototype.setOptions = function(a14) {
787
+ a14 = void 0 === a14 ? {} : a14;
788
+ this.ca = void 0 === a14.ca ? false : a14.ca;
783
789
  };
784
790
  tb.prototype.reset = function() {
785
791
  this.h.reset();
786
792
  this.j = this.h.h;
787
793
  this.i = this.l = -1;
788
794
  };
789
- function ub(a10) {
790
- var b10 = a10.h;
791
- if (b10.h == b10.j) return false;
792
- a10.j = a10.h.h;
793
- var c10 = ob(a10.h) >>> 0;
794
- b10 = c10 >>> 3;
795
- c10 &= 7;
796
- if (!(0 <= c10 && 5 >= c10)) throw Ya(c10, a10.j);
797
- if (1 > b10) throw Error("Invalid field number: " + b10 + " (at position " + a10.j + ")");
798
- a10.l = b10;
799
- a10.i = c10;
795
+ function ub(a14) {
796
+ var b6 = a14.h;
797
+ if (b6.h == b6.j) return false;
798
+ a14.j = a14.h.h;
799
+ var c6 = ob(a14.h) >>> 0;
800
+ b6 = c6 >>> 3;
801
+ c6 &= 7;
802
+ if (!(0 <= c6 && 5 >= c6)) throw Ya(c6, a14.j);
803
+ if (1 > b6) throw Error("Invalid field number: " + b6 + " (at position " + a14.j + ")");
804
+ a14.l = b6;
805
+ a14.i = c6;
800
806
  return true;
801
807
  }
802
- function vb(a10) {
803
- switch (a10.i) {
808
+ function vb(a14) {
809
+ switch (a14.i) {
804
810
  case 0:
805
- if (0 != a10.i) vb(a10);
811
+ if (0 != a14.i) vb(a14);
806
812
  else a: {
807
- a10 = a10.h;
808
- for (var b10 = a10.h, c10 = b10 + 10, d10 = a10.i; b10 < c10; ) if (0 === (d10[b10++] & 128)) {
809
- L2(a10, b10);
813
+ a14 = a14.h;
814
+ for (var b6 = a14.h, c6 = b6 + 10, d6 = a14.i; b6 < c6; ) if (0 === (d6[b6++] & 128)) {
815
+ L3(a14, b6);
810
816
  break a;
811
817
  }
812
818
  throw Za();
813
819
  }
814
820
  break;
815
821
  case 1:
816
- a10 = a10.h;
817
- L2(a10, a10.h + 8);
822
+ a14 = a14.h;
823
+ L3(a14, a14.h + 8);
818
824
  break;
819
825
  case 2:
820
- 2 != a10.i ? vb(a10) : (b10 = ob(a10.h) >>> 0, a10 = a10.h, L2(a10, a10.h + b10));
826
+ 2 != a14.i ? vb(a14) : (b6 = ob(a14.h) >>> 0, a14 = a14.h, L3(a14, a14.h + b6));
821
827
  break;
822
828
  case 5:
823
- a10 = a10.h;
824
- L2(a10, a10.h + 4);
829
+ a14 = a14.h;
830
+ L3(a14, a14.h + 4);
825
831
  break;
826
832
  case 3:
827
- b10 = a10.l;
833
+ b6 = a14.l;
828
834
  do {
829
- if (!ub(a10)) throw Error("Unmatched start-group tag: stream EOF");
830
- if (4 == a10.i) {
831
- if (a10.l != b10) throw Error("Unmatched end-group tag");
835
+ if (!ub(a14)) throw Error("Unmatched start-group tag: stream EOF");
836
+ if (4 == a14.i) {
837
+ if (a14.l != b6) throw Error("Unmatched end-group tag");
832
838
  break;
833
839
  }
834
- vb(a10);
840
+ vb(a14);
835
841
  } while (1);
836
842
  break;
837
843
  default:
838
- throw Ya(a10.i, a10.j);
844
+ throw Ya(a14.i, a14.j);
839
845
  }
840
846
  }
841
847
  var wb = [];
@@ -844,939 +850,939 @@ function requireSelfie_segmentation() {
844
850
  this.i = 0;
845
851
  this.h = new rb();
846
852
  }
847
- function N2(a10, b10) {
848
- 0 !== b10.length && (a10.j.push(b10), a10.i += b10.length);
853
+ function N3(a14, b6) {
854
+ 0 !== b6.length && (a14.j.push(b6), a14.i += b6.length);
849
855
  }
850
- function yb(a10, b10) {
851
- if (b10 = b10.R) {
852
- N2(a10, a10.h.end());
853
- for (var c10 = 0; c10 < b10.length; c10++) N2(a10, kb(b10[c10]) || Pa());
856
+ function yb(a14, b6) {
857
+ if (b6 = b6.R) {
858
+ N3(a14, a14.h.end());
859
+ for (var c6 = 0; c6 < b6.length; c6++) N3(a14, kb(b6[c6]) || Pa());
854
860
  }
855
861
  }
856
- var O2 = "function" === typeof Symbol && "symbol" === typeof Symbol() ? Symbol() : void 0;
857
- function P2(a10, b10) {
858
- if (O2) return a10[O2] |= b10;
859
- if (void 0 !== a10.A) return a10.A |= b10;
860
- Object.defineProperties(a10, { A: { value: b10, configurable: true, writable: true, enumerable: false } });
861
- return b10;
862
+ var O3 = "function" === typeof Symbol && "symbol" === typeof Symbol() ? Symbol() : void 0;
863
+ function P3(a14, b6) {
864
+ if (O3) return a14[O3] |= b6;
865
+ if (void 0 !== a14.A) return a14.A |= b6;
866
+ Object.defineProperties(a14, { A: { value: b6, configurable: true, writable: true, enumerable: false } });
867
+ return b6;
862
868
  }
863
- function zb(a10, b10) {
864
- O2 ? a10[O2] && (a10[O2] &= ~b10) : void 0 !== a10.A && (a10.A &= ~b10);
869
+ function zb(a14, b6) {
870
+ O3 ? a14[O3] && (a14[O3] &= ~b6) : void 0 !== a14.A && (a14.A &= ~b6);
865
871
  }
866
- function Q2(a10) {
867
- var b10;
868
- O2 ? b10 = a10[O2] : b10 = a10.A;
869
- return null == b10 ? 0 : b10;
872
+ function Q4(a14) {
873
+ var b6;
874
+ O3 ? b6 = a14[O3] : b6 = a14.A;
875
+ return null == b6 ? 0 : b6;
870
876
  }
871
- function R2(a10, b10) {
872
- O2 ? a10[O2] = b10 : void 0 !== a10.A ? a10.A = b10 : Object.defineProperties(a10, { A: { value: b10, configurable: true, writable: true, enumerable: false } });
877
+ function R3(a14, b6) {
878
+ O3 ? a14[O3] = b6 : void 0 !== a14.A ? a14.A = b6 : Object.defineProperties(a14, { A: { value: b6, configurable: true, writable: true, enumerable: false } });
873
879
  }
874
- function Ab(a10) {
875
- P2(a10, 1);
876
- return a10;
880
+ function Ab(a14) {
881
+ P3(a14, 1);
882
+ return a14;
877
883
  }
878
- function Bb(a10, b10) {
879
- R2(b10, (a10 | 0) & -51);
884
+ function Bb(a14, b6) {
885
+ R3(b6, (a14 | 0) & -51);
880
886
  }
881
- function Cb(a10, b10) {
882
- R2(b10, (a10 | 18) & -41);
887
+ function Cb(a14, b6) {
888
+ R3(b6, (a14 | 18) & -41);
883
889
  }
884
890
  var Db = {};
885
- function Eb(a10) {
886
- return null !== a10 && "object" === typeof a10 && !Array.isArray(a10) && a10.constructor === Object;
891
+ function Eb(a14) {
892
+ return null !== a14 && "object" === typeof a14 && !Array.isArray(a14) && a14.constructor === Object;
887
893
  }
888
894
  var Fb, Gb = [];
889
- R2(Gb, 23);
895
+ R3(Gb, 23);
890
896
  Fb = Object.freeze(Gb);
891
- function Hb(a10) {
892
- if (Q2(a10.o) & 2) throw Error("Cannot mutate an immutable Message");
893
- }
894
- function Ib(a10) {
895
- var b10 = a10.length;
896
- (b10 = b10 ? a10[b10 - 1] : void 0) && Eb(b10) ? b10.g = 1 : (b10 = {}, a10.push((b10.g = 1, b10)));
897
- }
898
- function Jb(a10) {
899
- var b10 = a10.i + a10.G;
900
- return a10.B || (a10.B = a10.o[b10] = {});
901
- }
902
- function S2(a10, b10) {
903
- return -1 === b10 ? null : b10 >= a10.i ? a10.B ? a10.B[b10] : void 0 : a10.o[b10 + a10.G];
904
- }
905
- function U2(a10, b10, c10, d10) {
906
- Hb(a10);
907
- Kb(a10, b10, c10, d10);
908
- }
909
- function Kb(a10, b10, c10, d10) {
910
- a10.j && (a10.j = void 0);
911
- b10 >= a10.i || d10 ? Jb(a10)[b10] = c10 : (a10.o[b10 + a10.G] = c10, (a10 = a10.B) && b10 in a10 && delete a10[b10]);
912
- }
913
- function Lb(a10, b10, c10, d10) {
914
- var e10 = S2(a10, b10);
915
- Array.isArray(e10) || (e10 = Fb);
916
- var g2 = Q2(e10);
917
- g2 & 1 || Ab(e10);
918
- if (d10) g2 & 2 || P2(e10, 2), c10 & 1 || Object.freeze(e10);
897
+ function Hb(a14) {
898
+ if (Q4(a14.o) & 2) throw Error("Cannot mutate an immutable Message");
899
+ }
900
+ function Ib(a14) {
901
+ var b6 = a14.length;
902
+ (b6 = b6 ? a14[b6 - 1] : void 0) && Eb(b6) ? b6.g = 1 : (b6 = {}, a14.push((b6.g = 1, b6)));
903
+ }
904
+ function Jb(a14) {
905
+ var b6 = a14.i + a14.G;
906
+ return a14.B || (a14.B = a14.o[b6] = {});
907
+ }
908
+ function S3(a14, b6) {
909
+ return -1 === b6 ? null : b6 >= a14.i ? a14.B ? a14.B[b6] : void 0 : a14.o[b6 + a14.G];
910
+ }
911
+ function U3(a14, b6, c6, d6) {
912
+ Hb(a14);
913
+ Kb(a14, b6, c6, d6);
914
+ }
915
+ function Kb(a14, b6, c6, d6) {
916
+ a14.j && (a14.j = void 0);
917
+ b6 >= a14.i || d6 ? Jb(a14)[b6] = c6 : (a14.o[b6 + a14.G] = c6, (a14 = a14.B) && b6 in a14 && delete a14[b6]);
918
+ }
919
+ function Lb(a14, b6, c6, d6) {
920
+ var e6 = S3(a14, b6);
921
+ Array.isArray(e6) || (e6 = Fb);
922
+ var g5 = Q4(e6);
923
+ g5 & 1 || Ab(e6);
924
+ if (d6) g5 & 2 || P3(e6, 2), c6 & 1 || Object.freeze(e6);
919
925
  else {
920
- d10 = !(c10 & 2);
921
- var f2 = g2 & 2;
922
- c10 & 1 || !f2 ? d10 && g2 & 16 && !f2 && zb(e10, 16) : (e10 = Ab(Array.prototype.slice.call(e10)), Kb(a10, b10, e10));
926
+ d6 = !(c6 & 2);
927
+ var f6 = g5 & 2;
928
+ c6 & 1 || !f6 ? d6 && g5 & 16 && !f6 && zb(e6, 16) : (e6 = Ab(Array.prototype.slice.call(e6)), Kb(a14, b6, e6));
923
929
  }
924
- return e10;
925
- }
926
- function Mb(a10, b10) {
927
- var c10 = S2(a10, b10);
928
- var d10 = null == c10 ? c10 : "number" === typeof c10 || "NaN" === c10 || "Infinity" === c10 || "-Infinity" === c10 ? Number(c10) : void 0;
929
- null != d10 && d10 !== c10 && Kb(a10, b10, d10);
930
- return d10;
931
- }
932
- function Nb(a10, b10, c10, d10, e10) {
933
- a10.h || (a10.h = {});
934
- var g2 = a10.h[c10], f2 = Lb(a10, c10, 3, e10);
935
- if (!g2) {
936
- var h2 = f2;
937
- g2 = [];
938
- var k2 = !!(Q2(a10.o) & 16);
939
- f2 = !!(Q2(h2) & 2);
940
- var l2 = h2;
941
- !e10 && f2 && (h2 = Array.prototype.slice.call(h2));
942
- for (var m2 = f2, r2 = 0; r2 < h2.length; r2++) {
943
- var p2 = h2[r2];
944
- var n2 = b10, q2 = false;
945
- q2 = void 0 === q2 ? false : q2;
946
- p2 = Array.isArray(p2) ? new n2(p2) : q2 ? new n2() : void 0;
947
- if (void 0 !== p2) {
948
- n2 = p2.o;
949
- var t2 = q2 = Q2(n2);
950
- f2 && (t2 |= 2);
951
- k2 && (t2 |= 16);
952
- t2 != q2 && R2(n2, t2);
953
- n2 = t2;
954
- m2 = m2 || !!(2 & n2);
955
- g2.push(p2);
930
+ return e6;
931
+ }
932
+ function Mb(a14, b6) {
933
+ var c6 = S3(a14, b6);
934
+ var d6 = null == c6 ? c6 : "number" === typeof c6 || "NaN" === c6 || "Infinity" === c6 || "-Infinity" === c6 ? Number(c6) : void 0;
935
+ null != d6 && d6 !== c6 && Kb(a14, b6, d6);
936
+ return d6;
937
+ }
938
+ function Nb(a14, b6, c6, d6, e6) {
939
+ a14.h || (a14.h = {});
940
+ var g5 = a14.h[c6], f6 = Lb(a14, c6, 3, e6);
941
+ if (!g5) {
942
+ var h5 = f6;
943
+ g5 = [];
944
+ var k5 = !!(Q4(a14.o) & 16);
945
+ f6 = !!(Q4(h5) & 2);
946
+ var l5 = h5;
947
+ !e6 && f6 && (h5 = Array.prototype.slice.call(h5));
948
+ for (var m5 = f6, r5 = 0; r5 < h5.length; r5++) {
949
+ var p6 = h5[r5];
950
+ var n4 = b6, q4 = false;
951
+ q4 = void 0 === q4 ? false : q4;
952
+ p6 = Array.isArray(p6) ? new n4(p6) : q4 ? new n4() : void 0;
953
+ if (void 0 !== p6) {
954
+ n4 = p6.o;
955
+ var t4 = q4 = Q4(n4);
956
+ f6 && (t4 |= 2);
957
+ k5 && (t4 |= 16);
958
+ t4 != q4 && R3(n4, t4);
959
+ n4 = t4;
960
+ m5 = m5 || !!(2 & n4);
961
+ g5.push(p6);
956
962
  }
957
963
  }
958
- a10.h[c10] = g2;
959
- k2 = Q2(h2);
960
- b10 = k2 | 33;
961
- b10 = m2 ? b10 & -9 : b10 | 8;
962
- k2 != b10 && (m2 = h2, Object.isFrozen(m2) && (m2 = Array.prototype.slice.call(m2)), R2(m2, b10), h2 = m2);
963
- l2 !== h2 && Kb(
964
- a10,
965
- c10,
966
- h2
964
+ a14.h[c6] = g5;
965
+ k5 = Q4(h5);
966
+ b6 = k5 | 33;
967
+ b6 = m5 ? b6 & -9 : b6 | 8;
968
+ k5 != b6 && (m5 = h5, Object.isFrozen(m5) && (m5 = Array.prototype.slice.call(m5)), R3(m5, b6), h5 = m5);
969
+ l5 !== h5 && Kb(
970
+ a14,
971
+ c6,
972
+ h5
967
973
  );
968
- (e10 || d10 && f2) && P2(g2, 2);
969
- d10 && Object.freeze(g2);
970
- return g2;
974
+ (e6 || d6 && f6) && P3(g5, 2);
975
+ d6 && Object.freeze(g5);
976
+ return g5;
971
977
  }
972
- e10 || (e10 = Object.isFrozen(g2), d10 && !e10 ? Object.freeze(g2) : !d10 && e10 && (g2 = Array.prototype.slice.call(g2), a10.h[c10] = g2));
973
- return g2;
974
- }
975
- function Ob(a10, b10, c10) {
976
- var d10 = !!(Q2(a10.o) & 2);
977
- b10 = Nb(a10, b10, c10, d10, d10);
978
- a10 = Lb(a10, c10, 3, d10);
979
- if (!(d10 || Q2(a10) & 8)) {
980
- for (d10 = 0; d10 < b10.length; d10++) {
981
- c10 = b10[d10];
982
- if (Q2(c10.o) & 2) {
983
- var e10 = Pb(c10, false);
984
- e10.j = c10;
985
- } else e10 = c10;
986
- c10 !== e10 && (b10[d10] = e10, a10[d10] = e10.o);
978
+ e6 || (e6 = Object.isFrozen(g5), d6 && !e6 ? Object.freeze(g5) : !d6 && e6 && (g5 = Array.prototype.slice.call(g5), a14.h[c6] = g5));
979
+ return g5;
980
+ }
981
+ function Ob(a14, b6, c6) {
982
+ var d6 = !!(Q4(a14.o) & 2);
983
+ b6 = Nb(a14, b6, c6, d6, d6);
984
+ a14 = Lb(a14, c6, 3, d6);
985
+ if (!(d6 || Q4(a14) & 8)) {
986
+ for (d6 = 0; d6 < b6.length; d6++) {
987
+ c6 = b6[d6];
988
+ if (Q4(c6.o) & 2) {
989
+ var e6 = Pb(c6, false);
990
+ e6.j = c6;
991
+ } else e6 = c6;
992
+ c6 !== e6 && (b6[d6] = e6, a14[d6] = e6.o);
987
993
  }
988
- P2(a10, 8);
994
+ P3(a14, 8);
989
995
  }
990
- return b10;
996
+ return b6;
991
997
  }
992
- function V2(a10, b10, c10) {
993
- if (null != c10 && "number" !== typeof c10) throw Error("Value of float/double field must be a number|null|undefined, found " + typeof c10 + ": " + c10);
994
- U2(a10, b10, c10);
998
+ function V3(a14, b6, c6) {
999
+ if (null != c6 && "number" !== typeof c6) throw Error("Value of float/double field must be a number|null|undefined, found " + typeof c6 + ": " + c6);
1000
+ U3(a14, b6, c6);
995
1001
  }
996
- function Qb(a10, b10, c10, d10, e10) {
997
- Hb(a10);
998
- var g2 = Nb(a10, c10, b10, false, false);
999
- c10 = null != d10 ? d10 : new c10();
1000
- a10 = Lb(a10, b10, 2, false);
1001
- void 0 != e10 ? (g2.splice(e10, 0, c10), a10.splice(e10, 0, c10.o)) : (g2.push(c10), a10.push(c10.o));
1002
- c10.C() && zb(a10, 8);
1003
- return c10;
1002
+ function Qb(a14, b6, c6, d6, e6) {
1003
+ Hb(a14);
1004
+ var g5 = Nb(a14, c6, b6, false, false);
1005
+ c6 = null != d6 ? d6 : new c6();
1006
+ a14 = Lb(a14, b6, 2, false);
1007
+ void 0 != e6 ? (g5.splice(e6, 0, c6), a14.splice(e6, 0, c6.o)) : (g5.push(c6), a14.push(c6.o));
1008
+ c6.C() && zb(a14, 8);
1009
+ return c6;
1004
1010
  }
1005
- function Rb(a10, b10) {
1006
- return null == a10 ? b10 : a10;
1011
+ function Rb(a14, b6) {
1012
+ return null == a14 ? b6 : a14;
1007
1013
  }
1008
- function W2(a10, b10, c10) {
1009
- c10 = void 0 === c10 ? 0 : c10;
1010
- return Rb(Mb(a10, b10), c10);
1014
+ function W2(a14, b6, c6) {
1015
+ c6 = void 0 === c6 ? 0 : c6;
1016
+ return Rb(Mb(a14, b6), c6);
1011
1017
  }
1012
1018
  var Sb;
1013
- function Tb(a10) {
1014
- switch (typeof a10) {
1019
+ function Tb(a14) {
1020
+ switch (typeof a14) {
1015
1021
  case "number":
1016
- return isFinite(a10) ? a10 : String(a10);
1022
+ return isFinite(a14) ? a14 : String(a14);
1017
1023
  case "object":
1018
- if (a10) if (Array.isArray(a10)) {
1019
- if (0 !== (Q2(a10) & 128)) return a10 = Array.prototype.slice.call(a10), Ib(a10), a10;
1024
+ if (a14) if (Array.isArray(a14)) {
1025
+ if (0 !== (Q4(a14) & 128)) return a14 = Array.prototype.slice.call(a14), Ib(a14), a14;
1020
1026
  } else {
1021
- if (Ia && null != a10 && a10 instanceof Uint8Array) return Ka(a10);
1022
- if (a10 instanceof ib) {
1023
- var b10 = a10.V;
1024
- return null == b10 ? "" : "string" === typeof b10 ? b10 : a10.V = Ka(b10);
1027
+ if (Ia && null != a14 && a14 instanceof Uint8Array) return Ka(a14);
1028
+ if (a14 instanceof ib) {
1029
+ var b6 = a14.V;
1030
+ return null == b6 ? "" : "string" === typeof b6 ? b6 : a14.V = Ka(b6);
1025
1031
  }
1026
1032
  }
1027
1033
  }
1028
- return a10;
1029
- }
1030
- function Ub(a10, b10, c10, d10) {
1031
- if (null != a10) {
1032
- if (Array.isArray(a10)) a10 = Vb(a10, b10, c10, void 0 !== d10);
1033
- else if (Eb(a10)) {
1034
- var e10 = {}, g2;
1035
- for (g2 in a10) e10[g2] = Ub(a10[g2], b10, c10, d10);
1036
- a10 = e10;
1037
- } else a10 = b10(a10, d10);
1038
- return a10;
1034
+ return a14;
1035
+ }
1036
+ function Ub(a14, b6, c6, d6) {
1037
+ if (null != a14) {
1038
+ if (Array.isArray(a14)) a14 = Vb(a14, b6, c6, void 0 !== d6);
1039
+ else if (Eb(a14)) {
1040
+ var e6 = {}, g5;
1041
+ for (g5 in a14) e6[g5] = Ub(a14[g5], b6, c6, d6);
1042
+ a14 = e6;
1043
+ } else a14 = b6(a14, d6);
1044
+ return a14;
1039
1045
  }
1040
1046
  }
1041
- function Vb(a10, b10, c10, d10) {
1042
- var e10 = Q2(a10);
1043
- d10 = d10 ? !!(e10 & 16) : void 0;
1044
- a10 = Array.prototype.slice.call(a10);
1045
- for (var g2 = 0; g2 < a10.length; g2++) a10[g2] = Ub(a10[g2], b10, c10, d10);
1046
- c10(e10, a10);
1047
- return a10;
1048
- }
1049
- function Wb(a10) {
1050
- return a10.ja === Db ? a10.toJSON() : Tb(a10);
1051
- }
1052
- function Xb(a10, b10) {
1053
- a10 & 128 && Ib(b10);
1054
- }
1055
- function Yb(a10, b10, c10) {
1056
- c10 = void 0 === c10 ? Cb : c10;
1057
- if (null != a10) {
1058
- if (Ia && a10 instanceof Uint8Array) return a10.length ? new ib(new Uint8Array(a10), Qa) : jb();
1059
- if (Array.isArray(a10)) {
1060
- var d10 = Q2(a10);
1061
- if (d10 & 2) return a10;
1062
- if (b10 && !(d10 & 32) && (d10 & 16 || 0 === d10)) return R2(a10, d10 | 2), a10;
1063
- a10 = Vb(a10, Yb, d10 & 4 ? Cb : c10, true);
1064
- b10 = Q2(a10);
1065
- b10 & 4 && b10 & 2 && Object.freeze(a10);
1066
- return a10;
1047
+ function Vb(a14, b6, c6, d6) {
1048
+ var e6 = Q4(a14);
1049
+ d6 = d6 ? !!(e6 & 16) : void 0;
1050
+ a14 = Array.prototype.slice.call(a14);
1051
+ for (var g5 = 0; g5 < a14.length; g5++) a14[g5] = Ub(a14[g5], b6, c6, d6);
1052
+ c6(e6, a14);
1053
+ return a14;
1054
+ }
1055
+ function Wb(a14) {
1056
+ return a14.ja === Db ? a14.toJSON() : Tb(a14);
1057
+ }
1058
+ function Xb(a14, b6) {
1059
+ a14 & 128 && Ib(b6);
1060
+ }
1061
+ function Yb(a14, b6, c6) {
1062
+ c6 = void 0 === c6 ? Cb : c6;
1063
+ if (null != a14) {
1064
+ if (Ia && a14 instanceof Uint8Array) return a14.length ? new ib(new Uint8Array(a14), Qa) : jb();
1065
+ if (Array.isArray(a14)) {
1066
+ var d6 = Q4(a14);
1067
+ if (d6 & 2) return a14;
1068
+ if (b6 && !(d6 & 32) && (d6 & 16 || 0 === d6)) return R3(a14, d6 | 2), a14;
1069
+ a14 = Vb(a14, Yb, d6 & 4 ? Cb : c6, true);
1070
+ b6 = Q4(a14);
1071
+ b6 & 4 && b6 & 2 && Object.freeze(a14);
1072
+ return a14;
1067
1073
  }
1068
- return a10.ja === Db ? Zb(a10) : a10;
1074
+ return a14.ja === Db ? Zb(a14) : a14;
1069
1075
  }
1070
1076
  }
1071
- function $b(a10, b10, c10, d10, e10, g2, f2) {
1072
- if (a10 = a10.h && a10.h[c10]) {
1073
- d10 = Q2(a10);
1074
- d10 & 2 ? d10 = a10 : (g2 = Ca(a10, Zb), Cb(d10, g2), Object.freeze(g2), d10 = g2);
1075
- Hb(b10);
1076
- f2 = null == d10 ? Fb : Ab([]);
1077
- if (null != d10) {
1078
- g2 = !!d10.length;
1079
- for (a10 = 0; a10 < d10.length; a10++) {
1080
- var h2 = d10[a10];
1081
- g2 = g2 && !(Q2(h2.o) & 2);
1082
- f2[a10] = h2.o;
1077
+ function $b(a14, b6, c6, d6, e6, g5, f6) {
1078
+ if (a14 = a14.h && a14.h[c6]) {
1079
+ d6 = Q4(a14);
1080
+ d6 & 2 ? d6 = a14 : (g5 = Ca(a14, Zb), Cb(d6, g5), Object.freeze(g5), d6 = g5);
1081
+ Hb(b6);
1082
+ f6 = null == d6 ? Fb : Ab([]);
1083
+ if (null != d6) {
1084
+ g5 = !!d6.length;
1085
+ for (a14 = 0; a14 < d6.length; a14++) {
1086
+ var h5 = d6[a14];
1087
+ g5 = g5 && !(Q4(h5.o) & 2);
1088
+ f6[a14] = h5.o;
1083
1089
  }
1084
- g2 = (g2 ? 8 : 0) | 1;
1085
- a10 = Q2(f2);
1086
- (a10 & g2) !== g2 && (Object.isFrozen(f2) && (f2 = Array.prototype.slice.call(f2)), R2(f2, a10 | g2));
1087
- b10.h || (b10.h = {});
1088
- b10.h[c10] = d10;
1089
- } else b10.h && (b10.h[c10] = void 0);
1090
- Kb(b10, c10, f2, e10);
1091
- } else U2(b10, c10, Yb(d10, g2, f2), e10);
1092
- }
1093
- function Zb(a10) {
1094
- if (Q2(a10.o) & 2) return a10;
1095
- a10 = Pb(a10, true);
1096
- P2(a10.o, 2);
1097
- return a10;
1098
- }
1099
- function Pb(a10, b10) {
1100
- var c10 = a10.o, d10 = [];
1101
- P2(d10, 16);
1102
- var e10 = a10.constructor.h;
1103
- e10 && d10.push(e10);
1104
- e10 = a10.B;
1105
- if (e10) {
1106
- d10.length = c10.length;
1107
- d10.fill(void 0, d10.length, c10.length);
1108
- var g2 = {};
1109
- d10[d10.length - 1] = g2;
1090
+ g5 = (g5 ? 8 : 0) | 1;
1091
+ a14 = Q4(f6);
1092
+ (a14 & g5) !== g5 && (Object.isFrozen(f6) && (f6 = Array.prototype.slice.call(f6)), R3(f6, a14 | g5));
1093
+ b6.h || (b6.h = {});
1094
+ b6.h[c6] = d6;
1095
+ } else b6.h && (b6.h[c6] = void 0);
1096
+ Kb(b6, c6, f6, e6);
1097
+ } else U3(b6, c6, Yb(d6, g5, f6), e6);
1098
+ }
1099
+ function Zb(a14) {
1100
+ if (Q4(a14.o) & 2) return a14;
1101
+ a14 = Pb(a14, true);
1102
+ P3(a14.o, 2);
1103
+ return a14;
1104
+ }
1105
+ function Pb(a14, b6) {
1106
+ var c6 = a14.o, d6 = [];
1107
+ P3(d6, 16);
1108
+ var e6 = a14.constructor.h;
1109
+ e6 && d6.push(e6);
1110
+ e6 = a14.B;
1111
+ if (e6) {
1112
+ d6.length = c6.length;
1113
+ d6.fill(void 0, d6.length, c6.length);
1114
+ var g5 = {};
1115
+ d6[d6.length - 1] = g5;
1110
1116
  }
1111
- 0 !== (Q2(c10) & 128) && Ib(d10);
1112
- b10 = b10 || a10.C() ? Cb : Bb;
1113
- g2 = a10.constructor;
1114
- Sb = d10;
1115
- d10 = new g2(d10);
1117
+ 0 !== (Q4(c6) & 128) && Ib(d6);
1118
+ b6 = b6 || a14.C() ? Cb : Bb;
1119
+ g5 = a14.constructor;
1120
+ Sb = d6;
1121
+ d6 = new g5(d6);
1116
1122
  Sb = void 0;
1117
- a10.R && (d10.R = a10.R.slice());
1118
- g2 = !!(Q2(c10) & 16);
1119
- for (var f2 = e10 ? c10.length - 1 : c10.length, h2 = 0; h2 < f2; h2++) $b(a10, d10, h2 - a10.G, c10[h2], false, g2, b10);
1120
- if (e10) for (var k2 in e10) $b(a10, d10, +k2, e10[k2], true, g2, b10);
1121
- return d10;
1122
- }
1123
- function X2(a10, b10, c10) {
1124
- null == a10 && (a10 = Sb);
1123
+ a14.R && (d6.R = a14.R.slice());
1124
+ g5 = !!(Q4(c6) & 16);
1125
+ for (var f6 = e6 ? c6.length - 1 : c6.length, h5 = 0; h5 < f6; h5++) $b(a14, d6, h5 - a14.G, c6[h5], false, g5, b6);
1126
+ if (e6) for (var k5 in e6) $b(a14, d6, +k5, e6[k5], true, g5, b6);
1127
+ return d6;
1128
+ }
1129
+ function X3(a14, b6, c6) {
1130
+ null == a14 && (a14 = Sb);
1125
1131
  Sb = void 0;
1126
- var d10 = this.constructor.i || 0, e10 = 0 < d10, g2 = this.constructor.h, f2 = false;
1127
- if (null == a10) {
1128
- a10 = g2 ? [g2] : [];
1129
- var h2 = 48;
1130
- var k2 = true;
1131
- e10 && (d10 = 0, h2 |= 128);
1132
- R2(a10, h2);
1132
+ var d6 = this.constructor.i || 0, e6 = 0 < d6, g5 = this.constructor.h, f6 = false;
1133
+ if (null == a14) {
1134
+ a14 = g5 ? [g5] : [];
1135
+ var h5 = 48;
1136
+ var k5 = true;
1137
+ e6 && (d6 = 0, h5 |= 128);
1138
+ R3(a14, h5);
1133
1139
  } else {
1134
- if (!Array.isArray(a10)) throw Error();
1135
- if (g2 && g2 !== a10[0]) throw Error();
1136
- var l2 = h2 = P2(a10, 0);
1137
- if (k2 = 0 !== (16 & l2)) (f2 = 0 !== (32 & l2)) || (l2 |= 32);
1138
- if (e10) if (128 & l2) d10 = 0;
1140
+ if (!Array.isArray(a14)) throw Error();
1141
+ if (g5 && g5 !== a14[0]) throw Error();
1142
+ var l5 = h5 = P3(a14, 0);
1143
+ if (k5 = 0 !== (16 & l5)) (f6 = 0 !== (32 & l5)) || (l5 |= 32);
1144
+ if (e6) if (128 & l5) d6 = 0;
1139
1145
  else {
1140
- if (0 < a10.length) {
1141
- var m2 = a10[a10.length - 1];
1142
- if (Eb(m2) && "g" in m2) {
1143
- d10 = 0;
1144
- l2 |= 128;
1145
- delete m2.g;
1146
- var r2 = true, p2;
1147
- for (p2 in m2) {
1148
- r2 = false;
1146
+ if (0 < a14.length) {
1147
+ var m5 = a14[a14.length - 1];
1148
+ if (Eb(m5) && "g" in m5) {
1149
+ d6 = 0;
1150
+ l5 |= 128;
1151
+ delete m5.g;
1152
+ var r5 = true, p6;
1153
+ for (p6 in m5) {
1154
+ r5 = false;
1149
1155
  break;
1150
1156
  }
1151
- r2 && a10.pop();
1157
+ r5 && a14.pop();
1152
1158
  }
1153
1159
  }
1154
1160
  }
1155
- else if (128 & l2) throw Error();
1156
- h2 !== l2 && R2(a10, l2);
1161
+ else if (128 & l5) throw Error();
1162
+ h5 !== l5 && R3(a14, l5);
1157
1163
  }
1158
- this.G = (g2 ? 0 : -1) - d10;
1164
+ this.G = (g5 ? 0 : -1) - d6;
1159
1165
  this.h = void 0;
1160
- this.o = a10;
1166
+ this.o = a14;
1161
1167
  a: {
1162
- g2 = this.o.length;
1163
- d10 = g2 - 1;
1164
- if (g2 && (g2 = this.o[d10], Eb(g2))) {
1165
- this.B = g2;
1166
- this.i = d10 - this.G;
1168
+ g5 = this.o.length;
1169
+ d6 = g5 - 1;
1170
+ if (g5 && (g5 = this.o[d6], Eb(g5))) {
1171
+ this.B = g5;
1172
+ this.i = d6 - this.G;
1167
1173
  break a;
1168
1174
  }
1169
- void 0 !== b10 && -1 < b10 ? (this.i = Math.max(b10, d10 + 1 - this.G), this.B = void 0) : this.i = Number.MAX_VALUE;
1175
+ void 0 !== b6 && -1 < b6 ? (this.i = Math.max(b6, d6 + 1 - this.G), this.B = void 0) : this.i = Number.MAX_VALUE;
1170
1176
  }
1171
- if (!e10 && this.B && "g" in this.B) throw Error('Unexpected "g" flag in sparse object of message that is not a group type.');
1172
- if (c10) {
1173
- b10 = k2 && !f2 && true;
1174
- e10 = this.i;
1175
- var n2;
1176
- for (k2 = 0; k2 < c10.length; k2++) f2 = c10[k2], f2 < e10 ? (f2 += this.G, (d10 = a10[f2]) ? ac2(d10, b10) : a10[f2] = Fb) : (n2 || (n2 = Jb(this)), (d10 = n2[f2]) ? ac2(d10, b10) : n2[f2] = Fb);
1177
+ if (!e6 && this.B && "g" in this.B) throw Error('Unexpected "g" flag in sparse object of message that is not a group type.');
1178
+ if (c6) {
1179
+ b6 = k5 && !f6 && true;
1180
+ e6 = this.i;
1181
+ var n4;
1182
+ for (k5 = 0; k5 < c6.length; k5++) f6 = c6[k5], f6 < e6 ? (f6 += this.G, (d6 = a14[f6]) ? ac2(d6, b6) : a14[f6] = Fb) : (n4 || (n4 = Jb(this)), (d6 = n4[f6]) ? ac2(d6, b6) : n4[f6] = Fb);
1177
1183
  }
1178
1184
  }
1179
- X2.prototype.toJSON = function() {
1185
+ X3.prototype.toJSON = function() {
1180
1186
  return Vb(this.o, Wb, Xb);
1181
1187
  };
1182
- X2.prototype.C = function() {
1183
- return !!(Q2(this.o) & 2);
1188
+ X3.prototype.C = function() {
1189
+ return !!(Q4(this.o) & 2);
1184
1190
  };
1185
- function ac2(a10, b10) {
1186
- if (Array.isArray(a10)) {
1187
- var c10 = Q2(a10), d10 = 1;
1188
- !b10 || c10 & 2 || (d10 |= 16);
1189
- (c10 & d10) !== d10 && R2(a10, c10 | d10);
1191
+ function ac2(a14, b6) {
1192
+ if (Array.isArray(a14)) {
1193
+ var c6 = Q4(a14), d6 = 1;
1194
+ !b6 || c6 & 2 || (d6 |= 16);
1195
+ (c6 & d6) !== d6 && R3(a14, c6 | d6);
1190
1196
  }
1191
1197
  }
1192
- X2.prototype.ja = Db;
1193
- X2.prototype.toString = function() {
1198
+ X3.prototype.ja = Db;
1199
+ X3.prototype.toString = function() {
1194
1200
  return this.o.toString();
1195
1201
  };
1196
- function bc2(a10, b10, c10) {
1197
- if (c10) {
1198
- var d10 = {}, e10;
1199
- for (e10 in c10) {
1200
- var g2 = c10[e10], f2 = g2.ra;
1201
- f2 || (d10.J = g2.xa || g2.oa.W, g2.ia ? (d10.aa = cc2(g2.ia), f2 = /* @__PURE__ */ (function(h2) {
1202
- return function(k2, l2, m2) {
1203
- return h2.J(k2, l2, m2, h2.aa);
1202
+ function bc(a14, b6, c6) {
1203
+ if (c6) {
1204
+ var d6 = {}, e6;
1205
+ for (e6 in c6) {
1206
+ var g5 = c6[e6], f6 = g5.ra;
1207
+ f6 || (d6.J = g5.xa || g5.oa.W, g5.ia ? (d6.aa = cc(g5.ia), f6 = /* @__PURE__ */ (function(h5) {
1208
+ return function(k5, l5, m5) {
1209
+ return h5.J(k5, l5, m5, h5.aa);
1204
1210
  };
1205
- })(d10)) : g2.ka ? (d10.Z = dc2(g2.da.P, g2.ka), f2 = /* @__PURE__ */ (function(h2) {
1206
- return function(k2, l2, m2) {
1207
- return h2.J(k2, l2, m2, h2.Z);
1211
+ })(d6)) : g5.ka ? (d6.Z = dc(g5.da.P, g5.ka), f6 = /* @__PURE__ */ (function(h5) {
1212
+ return function(k5, l5, m5) {
1213
+ return h5.J(k5, l5, m5, h5.Z);
1208
1214
  };
1209
- })(d10)) : f2 = d10.J, g2.ra = f2);
1210
- f2(b10, a10, g2.da);
1211
- d10 = { J: d10.J, aa: d10.aa, Z: d10.Z };
1215
+ })(d6)) : f6 = d6.J, g5.ra = f6);
1216
+ f6(b6, a14, g5.da);
1217
+ d6 = { J: d6.J, aa: d6.aa, Z: d6.Z };
1212
1218
  }
1213
1219
  }
1214
- yb(b10, a10);
1220
+ yb(b6, a14);
1215
1221
  }
1216
- var ec2 = Symbol();
1217
- function fc(a10, b10, c10) {
1218
- return a10[ec2] || (a10[ec2] = function(d10, e10) {
1219
- return b10(d10, e10, c10);
1222
+ var ec = Symbol();
1223
+ function fc(a14, b6, c6) {
1224
+ return a14[ec] || (a14[ec] = function(d6, e6) {
1225
+ return b6(d6, e6, c6);
1220
1226
  });
1221
1227
  }
1222
- function gc(a10) {
1223
- var b10 = a10[ec2];
1224
- if (!b10) {
1225
- var c10 = hc(a10);
1226
- b10 = function(d10, e10) {
1227
- return ic(d10, e10, c10);
1228
+ function gc(a14) {
1229
+ var b6 = a14[ec];
1230
+ if (!b6) {
1231
+ var c6 = hc(a14);
1232
+ b6 = function(d6, e6) {
1233
+ return ic(d6, e6, c6);
1228
1234
  };
1229
- a10[ec2] = b10;
1235
+ a14[ec] = b6;
1230
1236
  }
1231
- return b10;
1232
- }
1233
- function jc(a10) {
1234
- var b10 = a10.ia;
1235
- if (b10) return gc(b10);
1236
- if (b10 = a10.wa) return fc(a10.da.P, b10, a10.ka);
1237
- }
1238
- function kc(a10) {
1239
- var b10 = jc(a10), c10 = a10.da, d10 = a10.oa.U;
1240
- return b10 ? function(e10, g2) {
1241
- return d10(e10, g2, c10, b10);
1242
- } : function(e10, g2) {
1243
- return d10(e10, g2, c10);
1237
+ return b6;
1238
+ }
1239
+ function jc(a14) {
1240
+ var b6 = a14.ia;
1241
+ if (b6) return gc(b6);
1242
+ if (b6 = a14.wa) return fc(a14.da.P, b6, a14.ka);
1243
+ }
1244
+ function kc(a14) {
1245
+ var b6 = jc(a14), c6 = a14.da, d6 = a14.oa.U;
1246
+ return b6 ? function(e6, g5) {
1247
+ return d6(e6, g5, c6, b6);
1248
+ } : function(e6, g5) {
1249
+ return d6(e6, g5, c6);
1244
1250
  };
1245
1251
  }
1246
- function lc(a10, b10) {
1247
- var c10 = a10[b10];
1248
- "function" == typeof c10 && 0 === c10.length && (c10 = c10(), a10[b10] = c10);
1249
- return Array.isArray(c10) && (mc in c10 || nc in c10 || 0 < c10.length && "function" == typeof c10[0]) ? c10 : void 0;
1250
- }
1251
- function oc(a10, b10, c10, d10, e10, g2) {
1252
- b10.P = a10[0];
1253
- var f2 = 1;
1254
- if (a10.length > f2 && "number" !== typeof a10[f2]) {
1255
- var h2 = a10[f2++];
1256
- c10(b10, h2);
1252
+ function lc(a14, b6) {
1253
+ var c6 = a14[b6];
1254
+ "function" == typeof c6 && 0 === c6.length && (c6 = c6(), a14[b6] = c6);
1255
+ return Array.isArray(c6) && (mc in c6 || nc in c6 || 0 < c6.length && "function" == typeof c6[0]) ? c6 : void 0;
1256
+ }
1257
+ function oc(a14, b6, c6, d6, e6, g5) {
1258
+ b6.P = a14[0];
1259
+ var f6 = 1;
1260
+ if (a14.length > f6 && "number" !== typeof a14[f6]) {
1261
+ var h5 = a14[f6++];
1262
+ c6(b6, h5);
1257
1263
  }
1258
- for (; f2 < a10.length; ) {
1259
- c10 = a10[f2++];
1260
- for (var k2 = f2 + 1; k2 < a10.length && "number" !== typeof a10[k2]; ) k2++;
1261
- h2 = a10[f2++];
1262
- k2 -= f2;
1263
- switch (k2) {
1264
+ for (; f6 < a14.length; ) {
1265
+ c6 = a14[f6++];
1266
+ for (var k5 = f6 + 1; k5 < a14.length && "number" !== typeof a14[k5]; ) k5++;
1267
+ h5 = a14[f6++];
1268
+ k5 -= f6;
1269
+ switch (k5) {
1264
1270
  case 0:
1265
- d10(b10, c10, h2);
1271
+ d6(b6, c6, h5);
1266
1272
  break;
1267
1273
  case 1:
1268
- (k2 = lc(a10, f2)) ? (f2++, e10(b10, c10, h2, k2)) : d10(b10, c10, h2, a10[f2++]);
1274
+ (k5 = lc(a14, f6)) ? (f6++, e6(b6, c6, h5, k5)) : d6(b6, c6, h5, a14[f6++]);
1269
1275
  break;
1270
1276
  case 2:
1271
- k2 = f2++;
1272
- k2 = lc(a10, k2);
1273
- e10(b10, c10, h2, k2, a10[f2++]);
1277
+ k5 = f6++;
1278
+ k5 = lc(a14, k5);
1279
+ e6(b6, c6, h5, k5, a14[f6++]);
1274
1280
  break;
1275
1281
  case 3:
1276
- g2(b10, c10, h2, a10[f2++], a10[f2++], a10[f2++]);
1282
+ g5(b6, c6, h5, a14[f6++], a14[f6++], a14[f6++]);
1277
1283
  break;
1278
1284
  case 4:
1279
- g2(b10, c10, h2, a10[f2++], a10[f2++], a10[f2++], a10[f2++]);
1285
+ g5(b6, c6, h5, a14[f6++], a14[f6++], a14[f6++], a14[f6++]);
1280
1286
  break;
1281
1287
  default:
1282
- throw Error("unexpected number of binary field arguments: " + k2);
1288
+ throw Error("unexpected number of binary field arguments: " + k5);
1283
1289
  }
1284
1290
  }
1285
- return b10;
1291
+ return b6;
1286
1292
  }
1287
1293
  var pc = Symbol();
1288
- function cc2(a10) {
1289
- var b10 = a10[pc];
1290
- if (!b10) {
1291
- var c10 = qc(a10);
1292
- b10 = function(d10, e10) {
1293
- return rc(d10, e10, c10);
1294
+ function cc(a14) {
1295
+ var b6 = a14[pc];
1296
+ if (!b6) {
1297
+ var c6 = qc(a14);
1298
+ b6 = function(d6, e6) {
1299
+ return rc(d6, e6, c6);
1294
1300
  };
1295
- a10[pc] = b10;
1301
+ a14[pc] = b6;
1296
1302
  }
1297
- return b10;
1303
+ return b6;
1298
1304
  }
1299
- function dc2(a10, b10) {
1300
- var c10 = a10[pc];
1301
- c10 || (c10 = function(d10, e10) {
1302
- return bc2(d10, e10, b10);
1303
- }, a10[pc] = c10);
1304
- return c10;
1305
+ function dc(a14, b6) {
1306
+ var c6 = a14[pc];
1307
+ c6 || (c6 = function(d6, e6) {
1308
+ return bc(d6, e6, b6);
1309
+ }, a14[pc] = c6);
1310
+ return c6;
1305
1311
  }
1306
1312
  var nc = Symbol();
1307
- function sc(a10, b10) {
1308
- a10.push(b10);
1313
+ function sc(a14, b6) {
1314
+ a14.push(b6);
1309
1315
  }
1310
- function tc(a10, b10, c10) {
1311
- a10.push(b10, c10.W);
1316
+ function tc(a14, b6, c6) {
1317
+ a14.push(b6, c6.W);
1312
1318
  }
1313
- function uc(a10, b10, c10, d10) {
1314
- var e10 = cc2(d10), g2 = qc(d10).P, f2 = c10.W;
1315
- a10.push(b10, function(h2, k2, l2) {
1316
- return f2(h2, k2, l2, g2, e10);
1319
+ function uc(a14, b6, c6, d6) {
1320
+ var e6 = cc(d6), g5 = qc(d6).P, f6 = c6.W;
1321
+ a14.push(b6, function(h5, k5, l5) {
1322
+ return f6(h5, k5, l5, g5, e6);
1317
1323
  });
1318
1324
  }
1319
- function vc(a10, b10, c10, d10, e10, g2) {
1320
- var f2 = dc2(d10, g2), h2 = c10.W;
1321
- a10.push(b10, function(k2, l2, m2) {
1322
- return h2(k2, l2, m2, d10, f2);
1325
+ function vc(a14, b6, c6, d6, e6, g5) {
1326
+ var f6 = dc(d6, g5), h5 = c6.W;
1327
+ a14.push(b6, function(k5, l5, m5) {
1328
+ return h5(k5, l5, m5, d6, f6);
1323
1329
  });
1324
1330
  }
1325
- function qc(a10) {
1326
- var b10 = a10[nc];
1327
- if (b10) return b10;
1328
- b10 = oc(a10, a10[nc] = [], sc, tc, uc, vc);
1329
- mc in a10 && nc in a10 && (a10.length = 0);
1330
- return b10;
1331
+ function qc(a14) {
1332
+ var b6 = a14[nc];
1333
+ if (b6) return b6;
1334
+ b6 = oc(a14, a14[nc] = [], sc, tc, uc, vc);
1335
+ mc in a14 && nc in a14 && (a14.length = 0);
1336
+ return b6;
1331
1337
  }
1332
1338
  var mc = Symbol();
1333
- function wc(a10, b10) {
1334
- a10[0] = b10;
1335
- }
1336
- function xc(a10, b10, c10, d10) {
1337
- var e10 = c10.U;
1338
- a10[b10] = d10 ? function(g2, f2, h2) {
1339
- return e10(g2, f2, h2, d10);
1340
- } : e10;
1341
- }
1342
- function yc(a10, b10, c10, d10, e10) {
1343
- var g2 = c10.U, f2 = gc(d10), h2 = hc(d10).P;
1344
- a10[b10] = function(k2, l2, m2) {
1345
- return g2(k2, l2, m2, h2, f2, e10);
1339
+ function wc(a14, b6) {
1340
+ a14[0] = b6;
1341
+ }
1342
+ function xc(a14, b6, c6, d6) {
1343
+ var e6 = c6.U;
1344
+ a14[b6] = d6 ? function(g5, f6, h5) {
1345
+ return e6(g5, f6, h5, d6);
1346
+ } : e6;
1347
+ }
1348
+ function yc(a14, b6, c6, d6, e6) {
1349
+ var g5 = c6.U, f6 = gc(d6), h5 = hc(d6).P;
1350
+ a14[b6] = function(k5, l5, m5) {
1351
+ return g5(k5, l5, m5, h5, f6, e6);
1346
1352
  };
1347
1353
  }
1348
- function zc(a10, b10, c10, d10, e10, g2, f2) {
1349
- var h2 = c10.U, k2 = fc(d10, e10, g2);
1350
- a10[b10] = function(l2, m2, r2) {
1351
- return h2(l2, m2, r2, d10, k2, f2);
1354
+ function zc(a14, b6, c6, d6, e6, g5, f6) {
1355
+ var h5 = c6.U, k5 = fc(d6, e6, g5);
1356
+ a14[b6] = function(l5, m5, r5) {
1357
+ return h5(l5, m5, r5, d6, k5, f6);
1352
1358
  };
1353
1359
  }
1354
- function hc(a10) {
1355
- var b10 = a10[mc];
1356
- if (b10) return b10;
1357
- b10 = oc(a10, a10[mc] = {}, wc, xc, yc, zc);
1358
- mc in a10 && nc in a10 && (a10.length = 0);
1359
- return b10;
1360
- }
1361
- function ic(a10, b10, c10) {
1362
- for (; ub(b10) && 4 != b10.i; ) {
1363
- var d10 = b10.l, e10 = c10[d10];
1364
- if (!e10) {
1365
- var g2 = c10[0];
1366
- g2 && (g2 = g2[d10]) && (e10 = c10[d10] = kc(g2));
1360
+ function hc(a14) {
1361
+ var b6 = a14[mc];
1362
+ if (b6) return b6;
1363
+ b6 = oc(a14, a14[mc] = {}, wc, xc, yc, zc);
1364
+ mc in a14 && nc in a14 && (a14.length = 0);
1365
+ return b6;
1366
+ }
1367
+ function ic(a14, b6, c6) {
1368
+ for (; ub(b6) && 4 != b6.i; ) {
1369
+ var d6 = b6.l, e6 = c6[d6];
1370
+ if (!e6) {
1371
+ var g5 = c6[0];
1372
+ g5 && (g5 = g5[d6]) && (e6 = c6[d6] = kc(g5));
1367
1373
  }
1368
- if (!e10 || !e10(b10, a10, d10)) {
1369
- e10 = b10;
1370
- d10 = a10;
1371
- g2 = e10.j;
1372
- vb(e10);
1373
- var f2 = e10;
1374
- if (!f2.ca) {
1375
- e10 = f2.h.h - g2;
1376
- f2.h.h = g2;
1377
- f2 = f2.h;
1378
- if (0 == e10) e10 = jb();
1374
+ if (!e6 || !e6(b6, a14, d6)) {
1375
+ e6 = b6;
1376
+ d6 = a14;
1377
+ g5 = e6.j;
1378
+ vb(e6);
1379
+ var f6 = e6;
1380
+ if (!f6.ca) {
1381
+ e6 = f6.h.h - g5;
1382
+ f6.h.h = g5;
1383
+ f6 = f6.h;
1384
+ if (0 == e6) e6 = jb();
1379
1385
  else {
1380
- g2 = pb(f2, e10);
1381
- if (f2.S && f2.m) e10 = f2.i.subarray(g2, g2 + e10);
1386
+ g5 = pb(f6, e6);
1387
+ if (f6.S && f6.m) e6 = f6.i.subarray(g5, g5 + e6);
1382
1388
  else {
1383
- f2 = f2.i;
1384
- var h2 = g2;
1385
- e10 = g2 + e10;
1386
- e10 = h2 === e10 ? Pa() : Ra ? f2.slice(h2, e10) : new Uint8Array(f2.subarray(h2, e10));
1389
+ f6 = f6.i;
1390
+ var h5 = g5;
1391
+ e6 = g5 + e6;
1392
+ e6 = h5 === e6 ? Pa() : Ra ? f6.slice(h5, e6) : new Uint8Array(f6.subarray(h5, e6));
1387
1393
  }
1388
- e10 = 0 == e10.length ? jb() : new ib(e10, Qa);
1394
+ e6 = 0 == e6.length ? jb() : new ib(e6, Qa);
1389
1395
  }
1390
- (g2 = d10.R) ? g2.push(e10) : d10.R = [e10];
1396
+ (g5 = d6.R) ? g5.push(e6) : d6.R = [e6];
1391
1397
  }
1392
1398
  }
1393
1399
  }
1394
- return a10;
1395
- }
1396
- function rc(a10, b10, c10) {
1397
- for (var d10 = c10.length, e10 = 1 == d10 % 2, g2 = e10 ? 1 : 0; g2 < d10; g2 += 2) (0, c10[g2 + 1])(b10, a10, c10[g2]);
1398
- bc2(a10, b10, e10 ? c10[0] : void 0);
1399
- }
1400
- function Ac(a10, b10) {
1401
- return { U: a10, W: b10 };
1402
- }
1403
- var Y2 = Ac(function(a10, b10, c10) {
1404
- if (5 !== a10.i) return false;
1405
- a10 = a10.h;
1406
- var d10 = a10.i, e10 = a10.h, g2 = d10[e10];
1407
- var f2 = d10[e10 + 1];
1408
- var h2 = d10[e10 + 2];
1409
- d10 = d10[e10 + 3];
1410
- L2(a10, a10.h + 4);
1411
- f2 = (g2 << 0 | f2 << 8 | h2 << 16 | d10 << 24) >>> 0;
1412
- a10 = 2 * (f2 >> 31) + 1;
1413
- g2 = f2 >>> 23 & 255;
1414
- f2 &= 8388607;
1415
- U2(b10, c10, 255 == g2 ? f2 ? NaN : Infinity * a10 : 0 == g2 ? a10 * Math.pow(2, -149) * f2 : a10 * Math.pow(2, g2 - 150) * (f2 + Math.pow(2, 23)));
1400
+ return a14;
1401
+ }
1402
+ function rc(a14, b6, c6) {
1403
+ for (var d6 = c6.length, e6 = 1 == d6 % 2, g5 = e6 ? 1 : 0; g5 < d6; g5 += 2) (0, c6[g5 + 1])(b6, a14, c6[g5]);
1404
+ bc(a14, b6, e6 ? c6[0] : void 0);
1405
+ }
1406
+ function Ac(a14, b6) {
1407
+ return { U: a14, W: b6 };
1408
+ }
1409
+ var Y3 = Ac(function(a14, b6, c6) {
1410
+ if (5 !== a14.i) return false;
1411
+ a14 = a14.h;
1412
+ var d6 = a14.i, e6 = a14.h, g5 = d6[e6];
1413
+ var f6 = d6[e6 + 1];
1414
+ var h5 = d6[e6 + 2];
1415
+ d6 = d6[e6 + 3];
1416
+ L3(a14, a14.h + 4);
1417
+ f6 = (g5 << 0 | f6 << 8 | h5 << 16 | d6 << 24) >>> 0;
1418
+ a14 = 2 * (f6 >> 31) + 1;
1419
+ g5 = f6 >>> 23 & 255;
1420
+ f6 &= 8388607;
1421
+ U3(b6, c6, 255 == g5 ? f6 ? NaN : Infinity * a14 : 0 == g5 ? a14 * Math.pow(2, -149) * f6 : a14 * Math.pow(2, g5 - 150) * (f6 + Math.pow(2, 23)));
1416
1422
  return true;
1417
- }, function(a10, b10, c10) {
1418
- b10 = Mb(b10, c10);
1419
- if (null != b10) {
1420
- M2(a10.h, 8 * c10 + 5);
1421
- a10 = a10.h;
1422
- var d10 = +b10;
1423
- 0 === d10 ? 0 < 1 / d10 ? G2 = H2 = 0 : (H2 = 0, G2 = 2147483648) : isNaN(d10) ? (H2 = 0, G2 = 2147483647) : (d10 = (c10 = 0 > d10 ? -2147483648 : 0) ? -d10 : d10, 34028234663852886e22 < d10 ? (H2 = 0, G2 = (c10 | 2139095040) >>> 0) : 11754943508222875e-54 > d10 ? (d10 = Math.round(d10 / Math.pow(2, -149)), H2 = 0, G2 = (c10 | d10) >>> 0) : (b10 = Math.floor(Math.log(d10) / Math.LN2), d10 *= Math.pow(2, -b10), d10 = Math.round(8388608 * d10), 16777216 <= d10 && ++b10, H2 = 0, G2 = (c10 | b10 + 127 << 23 | d10 & 8388607) >>> 0));
1424
- c10 = G2;
1425
- a10.h.push(c10 >>> 0 & 255);
1426
- a10.h.push(c10 >>> 8 & 255);
1427
- a10.h.push(c10 >>> 16 & 255);
1428
- a10.h.push(c10 >>> 24 & 255);
1423
+ }, function(a14, b6, c6) {
1424
+ b6 = Mb(b6, c6);
1425
+ if (null != b6) {
1426
+ M3(a14.h, 8 * c6 + 5);
1427
+ a14 = a14.h;
1428
+ var d6 = +b6;
1429
+ 0 === d6 ? 0 < 1 / d6 ? G3 = H3 = 0 : (H3 = 0, G3 = 2147483648) : isNaN(d6) ? (H3 = 0, G3 = 2147483647) : (d6 = (c6 = 0 > d6 ? -2147483648 : 0) ? -d6 : d6, 34028234663852886e22 < d6 ? (H3 = 0, G3 = (c6 | 2139095040) >>> 0) : 11754943508222875e-54 > d6 ? (d6 = Math.round(d6 / Math.pow(2, -149)), H3 = 0, G3 = (c6 | d6) >>> 0) : (b6 = Math.floor(Math.log(d6) / Math.LN2), d6 *= Math.pow(2, -b6), d6 = Math.round(8388608 * d6), 16777216 <= d6 && ++b6, H3 = 0, G3 = (c6 | b6 + 127 << 23 | d6 & 8388607) >>> 0));
1430
+ c6 = G3;
1431
+ a14.h.push(c6 >>> 0 & 255);
1432
+ a14.h.push(c6 >>> 8 & 255);
1433
+ a14.h.push(c6 >>> 16 & 255);
1434
+ a14.h.push(c6 >>> 24 & 255);
1429
1435
  }
1430
- }), Bc = Ac(function(a10, b10, c10) {
1431
- if (0 !== a10.i) return false;
1432
- var d10 = a10.h, e10 = 0, g2 = a10 = 0, f2 = d10.i, h2 = d10.h;
1436
+ }), Bc = Ac(function(a14, b6, c6) {
1437
+ if (0 !== a14.i) return false;
1438
+ var d6 = a14.h, e6 = 0, g5 = a14 = 0, f6 = d6.i, h5 = d6.h;
1433
1439
  do {
1434
- var k2 = f2[h2++];
1435
- e10 |= (k2 & 127) << g2;
1436
- g2 += 7;
1437
- } while (32 > g2 && k2 & 128);
1438
- 32 < g2 && (a10 |= (k2 & 127) >> 4);
1439
- for (g2 = 3; 32 > g2 && k2 & 128; g2 += 7) k2 = f2[h2++], a10 |= (k2 & 127) << g2;
1440
- L2(
1441
- d10,
1442
- h2
1440
+ var k5 = f6[h5++];
1441
+ e6 |= (k5 & 127) << g5;
1442
+ g5 += 7;
1443
+ } while (32 > g5 && k5 & 128);
1444
+ 32 < g5 && (a14 |= (k5 & 127) >> 4);
1445
+ for (g5 = 3; 32 > g5 && k5 & 128; g5 += 7) k5 = f6[h5++], a14 |= (k5 & 127) << g5;
1446
+ L3(
1447
+ d6,
1448
+ h5
1443
1449
  );
1444
- if (128 > k2) {
1445
- d10 = e10 >>> 0;
1446
- k2 = a10 >>> 0;
1447
- if (a10 = k2 & 2147483648) d10 = ~d10 + 1 >>> 0, k2 = ~k2 >>> 0, 0 == d10 && (k2 = k2 + 1 >>> 0);
1448
- d10 = 4294967296 * k2 + (d10 >>> 0);
1450
+ if (128 > k5) {
1451
+ d6 = e6 >>> 0;
1452
+ k5 = a14 >>> 0;
1453
+ if (a14 = k5 & 2147483648) d6 = ~d6 + 1 >>> 0, k5 = ~k5 >>> 0, 0 == d6 && (k5 = k5 + 1 >>> 0);
1454
+ d6 = 4294967296 * k5 + (d6 >>> 0);
1449
1455
  } else throw Za();
1450
- U2(b10, c10, a10 ? -d10 : d10);
1456
+ U3(b6, c6, a14 ? -d6 : d6);
1451
1457
  return true;
1452
- }, function(a10, b10, c10) {
1453
- b10 = S2(b10, c10);
1454
- null != b10 && ("string" === typeof b10 && Wa(b10), null != b10 && (M2(a10.h, 8 * c10), "number" === typeof b10 ? (a10 = a10.h, Sa(b10), sb(a10, G2, H2)) : (c10 = Wa(b10), sb(a10.h, c10.i, c10.h))));
1455
- }), Cc = Ac(function(a10, b10, c10) {
1456
- if (0 !== a10.i) return false;
1457
- U2(b10, c10, ob(a10.h));
1458
+ }, function(a14, b6, c6) {
1459
+ b6 = S3(b6, c6);
1460
+ null != b6 && ("string" === typeof b6 && Wa(b6), null != b6 && (M3(a14.h, 8 * c6), "number" === typeof b6 ? (a14 = a14.h, Sa(b6), sb(a14, G3, H3)) : (c6 = Wa(b6), sb(a14.h, c6.i, c6.h))));
1461
+ }), Cc = Ac(function(a14, b6, c6) {
1462
+ if (0 !== a14.i) return false;
1463
+ U3(b6, c6, ob(a14.h));
1458
1464
  return true;
1459
- }, function(a10, b10, c10) {
1460
- b10 = S2(b10, c10);
1461
- if (null != b10 && null != b10) if (M2(a10.h, 8 * c10), a10 = a10.h, c10 = b10, 0 <= c10) M2(a10, c10);
1465
+ }, function(a14, b6, c6) {
1466
+ b6 = S3(b6, c6);
1467
+ if (null != b6 && null != b6) if (M3(a14.h, 8 * c6), a14 = a14.h, c6 = b6, 0 <= c6) M3(a14, c6);
1462
1468
  else {
1463
- for (b10 = 0; 9 > b10; b10++) a10.h.push(c10 & 127 | 128), c10 >>= 7;
1464
- a10.h.push(1);
1469
+ for (b6 = 0; 9 > b6; b6++) a14.h.push(c6 & 127 | 128), c6 >>= 7;
1470
+ a14.h.push(1);
1465
1471
  }
1466
- }), Dc = Ac(function(a10, b10, c10) {
1467
- if (2 !== a10.i) return false;
1468
- var d10 = ob(a10.h) >>> 0;
1469
- a10 = a10.h;
1470
- var e10 = pb(a10, d10);
1471
- a10 = a10.i;
1472
- if (db2) {
1473
- var g2 = a10, f2;
1474
- (f2 = cb2) || (f2 = cb2 = new TextDecoder("utf-8", { fatal: true }));
1475
- a10 = e10 + d10;
1476
- g2 = 0 === e10 && a10 === g2.length ? g2 : g2.subarray(e10, a10);
1472
+ }), Dc = Ac(function(a14, b6, c6) {
1473
+ if (2 !== a14.i) return false;
1474
+ var d6 = ob(a14.h) >>> 0;
1475
+ a14 = a14.h;
1476
+ var e6 = pb(a14, d6);
1477
+ a14 = a14.i;
1478
+ if (db) {
1479
+ var g5 = a14, f6;
1480
+ (f6 = cb) || (f6 = cb = new TextDecoder("utf-8", { fatal: true }));
1481
+ a14 = e6 + d6;
1482
+ g5 = 0 === e6 && a14 === g5.length ? g5 : g5.subarray(e6, a14);
1477
1483
  try {
1478
- var h2 = f2.decode(g2);
1479
- } catch (r2) {
1480
- if (void 0 === bb2) {
1484
+ var h5 = f6.decode(g5);
1485
+ } catch (r5) {
1486
+ if (void 0 === bb) {
1481
1487
  try {
1482
- f2.decode(new Uint8Array([128]));
1483
- } catch (p2) {
1488
+ f6.decode(new Uint8Array([128]));
1489
+ } catch (p6) {
1484
1490
  }
1485
1491
  try {
1486
- f2.decode(new Uint8Array([97])), bb2 = true;
1487
- } catch (p2) {
1488
- bb2 = false;
1492
+ f6.decode(new Uint8Array([97])), bb = true;
1493
+ } catch (p6) {
1494
+ bb = false;
1489
1495
  }
1490
1496
  }
1491
- !bb2 && (cb2 = void 0);
1492
- throw r2;
1497
+ !bb && (cb = void 0);
1498
+ throw r5;
1493
1499
  }
1494
1500
  } else {
1495
- h2 = e10;
1496
- d10 = h2 + d10;
1497
- e10 = [];
1498
- for (var k2 = null, l2, m2; h2 < d10; ) l2 = a10[h2++], 128 > l2 ? e10.push(l2) : 224 > l2 ? h2 >= d10 ? K2() : (m2 = a10[h2++], 194 > l2 || 128 !== (m2 & 192) ? (h2--, K2()) : e10.push((l2 & 31) << 6 | m2 & 63)) : 240 > l2 ? h2 >= d10 - 1 ? K2() : (m2 = a10[h2++], 128 !== (m2 & 192) || 224 === l2 && 160 > m2 || 237 === l2 && 160 <= m2 || 128 !== ((g2 = a10[h2++]) & 192) ? (h2--, K2()) : e10.push((l2 & 15) << 12 | (m2 & 63) << 6 | g2 & 63)) : 244 >= l2 ? h2 >= d10 - 2 ? K2() : (m2 = a10[h2++], 128 !== (m2 & 192) || 0 !== (l2 << 28) + (m2 - 144) >> 30 || 128 !== ((g2 = a10[h2++]) & 192) || 128 !== ((f2 = a10[h2++]) & 192) ? (h2--, K2()) : (l2 = (l2 & 7) << 18 | (m2 & 63) << 12 | (g2 & 63) << 6 | f2 & 63, l2 -= 65536, e10.push((l2 >> 10 & 1023) + 55296, (l2 & 1023) + 56320))) : K2(), 8192 <= e10.length && (k2 = ab2(k2, e10), e10.length = 0);
1499
- h2 = ab2(k2, e10);
1501
+ h5 = e6;
1502
+ d6 = h5 + d6;
1503
+ e6 = [];
1504
+ for (var k5 = null, l5, m5; h5 < d6; ) l5 = a14[h5++], 128 > l5 ? e6.push(l5) : 224 > l5 ? h5 >= d6 ? K3() : (m5 = a14[h5++], 194 > l5 || 128 !== (m5 & 192) ? (h5--, K3()) : e6.push((l5 & 31) << 6 | m5 & 63)) : 240 > l5 ? h5 >= d6 - 1 ? K3() : (m5 = a14[h5++], 128 !== (m5 & 192) || 224 === l5 && 160 > m5 || 237 === l5 && 160 <= m5 || 128 !== ((g5 = a14[h5++]) & 192) ? (h5--, K3()) : e6.push((l5 & 15) << 12 | (m5 & 63) << 6 | g5 & 63)) : 244 >= l5 ? h5 >= d6 - 2 ? K3() : (m5 = a14[h5++], 128 !== (m5 & 192) || 0 !== (l5 << 28) + (m5 - 144) >> 30 || 128 !== ((g5 = a14[h5++]) & 192) || 128 !== ((f6 = a14[h5++]) & 192) ? (h5--, K3()) : (l5 = (l5 & 7) << 18 | (m5 & 63) << 12 | (g5 & 63) << 6 | f6 & 63, l5 -= 65536, e6.push((l5 >> 10 & 1023) + 55296, (l5 & 1023) + 56320))) : K3(), 8192 <= e6.length && (k5 = ab2(k5, e6), e6.length = 0);
1505
+ h5 = ab2(k5, e6);
1500
1506
  }
1501
- U2(b10, c10, h2);
1507
+ U3(b6, c6, h5);
1502
1508
  return true;
1503
- }, function(a10, b10, c10) {
1504
- b10 = S2(b10, c10);
1505
- if (null != b10) {
1506
- var d10 = false;
1507
- d10 = void 0 === d10 ? false : d10;
1509
+ }, function(a14, b6, c6) {
1510
+ b6 = S3(b6, c6);
1511
+ if (null != b6) {
1512
+ var d6 = false;
1513
+ d6 = void 0 === d6 ? false : d6;
1508
1514
  if (fb) {
1509
- if (d10 && /(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(b10)) throw Error("Found an unpaired surrogate");
1510
- b10 = (eb2 || (eb2 = new TextEncoder())).encode(b10);
1515
+ if (d6 && /(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(b6)) throw Error("Found an unpaired surrogate");
1516
+ b6 = (eb || (eb = new TextEncoder())).encode(b6);
1511
1517
  } else {
1512
- for (var e10 = 0, g2 = new Uint8Array(3 * b10.length), f2 = 0; f2 < b10.length; f2++) {
1513
- var h2 = b10.charCodeAt(f2);
1514
- if (128 > h2) g2[e10++] = h2;
1518
+ for (var e6 = 0, g5 = new Uint8Array(3 * b6.length), f6 = 0; f6 < b6.length; f6++) {
1519
+ var h5 = b6.charCodeAt(f6);
1520
+ if (128 > h5) g5[e6++] = h5;
1515
1521
  else {
1516
- if (2048 > h2) g2[e10++] = h2 >> 6 | 192;
1522
+ if (2048 > h5) g5[e6++] = h5 >> 6 | 192;
1517
1523
  else {
1518
- if (55296 <= h2 && 57343 >= h2) {
1519
- if (56319 >= h2 && f2 < b10.length) {
1520
- var k2 = b10.charCodeAt(++f2);
1521
- if (56320 <= k2 && 57343 >= k2) {
1522
- h2 = 1024 * (h2 - 55296) + k2 - 56320 + 65536;
1523
- g2[e10++] = h2 >> 18 | 240;
1524
- g2[e10++] = h2 >> 12 & 63 | 128;
1525
- g2[e10++] = h2 >> 6 & 63 | 128;
1526
- g2[e10++] = h2 & 63 | 128;
1524
+ if (55296 <= h5 && 57343 >= h5) {
1525
+ if (56319 >= h5 && f6 < b6.length) {
1526
+ var k5 = b6.charCodeAt(++f6);
1527
+ if (56320 <= k5 && 57343 >= k5) {
1528
+ h5 = 1024 * (h5 - 55296) + k5 - 56320 + 65536;
1529
+ g5[e6++] = h5 >> 18 | 240;
1530
+ g5[e6++] = h5 >> 12 & 63 | 128;
1531
+ g5[e6++] = h5 >> 6 & 63 | 128;
1532
+ g5[e6++] = h5 & 63 | 128;
1527
1533
  continue;
1528
- } else f2--;
1534
+ } else f6--;
1529
1535
  }
1530
- if (d10) throw Error("Found an unpaired surrogate");
1531
- h2 = 65533;
1536
+ if (d6) throw Error("Found an unpaired surrogate");
1537
+ h5 = 65533;
1532
1538
  }
1533
- g2[e10++] = h2 >> 12 | 224;
1534
- g2[e10++] = h2 >> 6 & 63 | 128;
1539
+ g5[e6++] = h5 >> 12 | 224;
1540
+ g5[e6++] = h5 >> 6 & 63 | 128;
1535
1541
  }
1536
- g2[e10++] = h2 & 63 | 128;
1542
+ g5[e6++] = h5 & 63 | 128;
1537
1543
  }
1538
1544
  }
1539
- b10 = e10 === g2.length ? g2 : g2.subarray(0, e10);
1545
+ b6 = e6 === g5.length ? g5 : g5.subarray(0, e6);
1540
1546
  }
1541
- M2(a10.h, 8 * c10 + 2);
1542
- M2(a10.h, b10.length);
1543
- N2(a10, a10.h.end());
1544
- N2(a10, b10);
1547
+ M3(a14.h, 8 * c6 + 2);
1548
+ M3(a14.h, b6.length);
1549
+ N3(a14, a14.h.end());
1550
+ N3(a14, b6);
1545
1551
  }
1546
- }), Ec = Ac(function(a10, b10, c10, d10, e10) {
1547
- if (2 !== a10.i) return false;
1548
- b10 = Qb(b10, c10, d10);
1549
- c10 = a10.h.j;
1550
- d10 = ob(a10.h) >>> 0;
1551
- var g2 = a10.h.h + d10, f2 = g2 - c10;
1552
- 0 >= f2 && (a10.h.j = g2, e10(b10, a10, void 0, void 0, void 0), f2 = g2 - a10.h.h);
1553
- if (f2) throw Error("Message parsing ended unexpectedly. Expected to read " + (d10 + " bytes, instead read " + (d10 - f2) + " bytes, either the data ended unexpectedly or the message misreported its own length"));
1554
- a10.h.h = g2;
1555
- a10.h.j = c10;
1552
+ }), Ec = Ac(function(a14, b6, c6, d6, e6) {
1553
+ if (2 !== a14.i) return false;
1554
+ b6 = Qb(b6, c6, d6);
1555
+ c6 = a14.h.j;
1556
+ d6 = ob(a14.h) >>> 0;
1557
+ var g5 = a14.h.h + d6, f6 = g5 - c6;
1558
+ 0 >= f6 && (a14.h.j = g5, e6(b6, a14, void 0, void 0, void 0), f6 = g5 - a14.h.h);
1559
+ if (f6) throw Error("Message parsing ended unexpectedly. Expected to read " + (d6 + " bytes, instead read " + (d6 - f6) + " bytes, either the data ended unexpectedly or the message misreported its own length"));
1560
+ a14.h.h = g5;
1561
+ a14.h.j = c6;
1556
1562
  return true;
1557
- }, function(a10, b10, c10, d10, e10) {
1558
- b10 = Ob(b10, d10, c10);
1559
- if (null != b10) for (d10 = 0; d10 < b10.length; d10++) {
1560
- var g2 = a10;
1561
- M2(g2.h, 8 * c10 + 2);
1562
- var f2 = g2.h.end();
1563
- N2(g2, f2);
1564
- f2.push(g2.i);
1565
- g2 = f2;
1566
- e10(b10[d10], a10);
1567
- f2 = a10;
1568
- var h2 = g2.pop();
1569
- for (h2 = f2.i + f2.h.length() - h2; 127 < h2; ) g2.push(h2 & 127 | 128), h2 >>>= 7, f2.i++;
1570
- g2.push(h2);
1571
- f2.i++;
1563
+ }, function(a14, b6, c6, d6, e6) {
1564
+ b6 = Ob(b6, d6, c6);
1565
+ if (null != b6) for (d6 = 0; d6 < b6.length; d6++) {
1566
+ var g5 = a14;
1567
+ M3(g5.h, 8 * c6 + 2);
1568
+ var f6 = g5.h.end();
1569
+ N3(g5, f6);
1570
+ f6.push(g5.i);
1571
+ g5 = f6;
1572
+ e6(b6[d6], a14);
1573
+ f6 = a14;
1574
+ var h5 = g5.pop();
1575
+ for (h5 = f6.i + f6.h.length() - h5; 127 < h5; ) g5.push(h5 & 127 | 128), h5 >>>= 7, f6.i++;
1576
+ g5.push(h5);
1577
+ f6.i++;
1572
1578
  }
1573
1579
  });
1574
- function Fc(a10) {
1575
- return function(b10, c10) {
1580
+ function Fc(a14) {
1581
+ return function(b6, c6) {
1576
1582
  a: {
1577
1583
  if (wb.length) {
1578
- var d10 = wb.pop();
1579
- d10.setOptions(c10);
1580
- nb(d10.h, b10, c10);
1581
- b10 = d10;
1582
- } else b10 = new tb(b10, c10);
1584
+ var d6 = wb.pop();
1585
+ d6.setOptions(c6);
1586
+ nb(d6.h, b6, c6);
1587
+ b6 = d6;
1588
+ } else b6 = new tb(b6, c6);
1583
1589
  try {
1584
- var e10 = hc(a10);
1585
- var g2 = ic(new e10.P(), b10, e10);
1590
+ var e6 = hc(a14);
1591
+ var g5 = ic(new e6.P(), b6, e6);
1586
1592
  break a;
1587
1593
  } finally {
1588
- e10 = b10.h, e10.i = null, e10.m = false, e10.l = 0, e10.j = 0, e10.h = 0, e10.S = false, b10.l = -1, b10.i = -1, 100 > wb.length && wb.push(b10);
1594
+ e6 = b6.h, e6.i = null, e6.m = false, e6.l = 0, e6.j = 0, e6.h = 0, e6.S = false, b6.l = -1, b6.i = -1, 100 > wb.length && wb.push(b6);
1589
1595
  }
1590
- g2 = void 0;
1596
+ g5 = void 0;
1591
1597
  }
1592
- return g2;
1598
+ return g5;
1593
1599
  };
1594
1600
  }
1595
- function Gc(a10) {
1601
+ function Gc(a14) {
1596
1602
  return function() {
1597
- var b10 = new xb();
1598
- rc(this, b10, qc(a10));
1599
- N2(b10, b10.h.end());
1600
- for (var c10 = new Uint8Array(b10.i), d10 = b10.j, e10 = d10.length, g2 = 0, f2 = 0; f2 < e10; f2++) {
1601
- var h2 = d10[f2];
1602
- c10.set(h2, g2);
1603
- g2 += h2.length;
1603
+ var b6 = new xb();
1604
+ rc(this, b6, qc(a14));
1605
+ N3(b6, b6.h.end());
1606
+ for (var c6 = new Uint8Array(b6.i), d6 = b6.j, e6 = d6.length, g5 = 0, f6 = 0; f6 < e6; f6++) {
1607
+ var h5 = d6[f6];
1608
+ c6.set(h5, g5);
1609
+ g5 += h5.length;
1604
1610
  }
1605
- b10.j = [c10];
1606
- return c10;
1611
+ b6.j = [c6];
1612
+ return c6;
1607
1613
  };
1608
1614
  }
1609
- function Z2(a10) {
1610
- X2.call(this, a10);
1615
+ function Z3(a14) {
1616
+ X3.call(this, a14);
1611
1617
  }
1612
- na(Z2, X2);
1613
- var Hc = [Z2, 1, Cc, 2, Y2, 3, Dc, 4, Dc];
1614
- Z2.prototype.l = Gc(Hc);
1615
- function Ic(a10) {
1616
- X2.call(this, a10, -1, Jc);
1618
+ na(Z3, X3);
1619
+ var Hc = [Z3, 1, Cc, 2, Y3, 3, Dc, 4, Dc];
1620
+ Z3.prototype.l = Gc(Hc);
1621
+ function Ic(a14) {
1622
+ X3.call(this, a14, -1, Jc);
1617
1623
  }
1618
- na(Ic, X2);
1619
- Ic.prototype.addClassification = function(a10, b10) {
1620
- Qb(this, 1, Z2, a10, b10);
1624
+ na(Ic, X3);
1625
+ Ic.prototype.addClassification = function(a14, b6) {
1626
+ Qb(this, 1, Z3, a14, b6);
1621
1627
  return this;
1622
1628
  };
1623
1629
  var Jc = [1], Kc = Fc([Ic, 1, Ec, Hc]);
1624
- function Lc(a10) {
1625
- X2.call(this, a10);
1630
+ function Lc(a14) {
1631
+ X3.call(this, a14);
1626
1632
  }
1627
- na(Lc, X2);
1628
- var Mc = [Lc, 1, Y2, 2, Y2, 3, Y2, 4, Y2, 5, Y2];
1633
+ na(Lc, X3);
1634
+ var Mc = [Lc, 1, Y3, 2, Y3, 3, Y3, 4, Y3, 5, Y3];
1629
1635
  Lc.prototype.l = Gc(Mc);
1630
- function Nc(a10) {
1631
- X2.call(this, a10, -1, Oc);
1636
+ function Nc(a14) {
1637
+ X3.call(this, a14, -1, Oc);
1632
1638
  }
1633
- na(Nc, X2);
1639
+ na(Nc, X3);
1634
1640
  var Oc = [1], Pc = Fc([Nc, 1, Ec, Mc]);
1635
- function Qc(a10) {
1636
- X2.call(this, a10);
1641
+ function Qc(a14) {
1642
+ X3.call(this, a14);
1637
1643
  }
1638
- na(Qc, X2);
1639
- var Rc = [Qc, 1, Y2, 2, Y2, 3, Y2, 4, Y2, 5, Y2, 6, Bc], Sc = Fc(Rc);
1644
+ na(Qc, X3);
1645
+ var Rc = [Qc, 1, Y3, 2, Y3, 3, Y3, 4, Y3, 5, Y3, 6, Bc], Sc = Fc(Rc);
1640
1646
  Qc.prototype.l = Gc(Rc);
1641
- function Tc(a10, b10, c10) {
1642
- c10 = a10.createShader(0 === c10 ? a10.VERTEX_SHADER : a10.FRAGMENT_SHADER);
1643
- a10.shaderSource(c10, b10);
1644
- a10.compileShader(c10);
1645
- if (!a10.getShaderParameter(c10, a10.COMPILE_STATUS)) throw Error("Could not compile WebGL shader.\n\n" + a10.getShaderInfoLog(c10));
1646
- return c10;
1647
- }
1648
- function Uc(a10) {
1649
- return Ob(a10, Z2, 1).map(function(b10) {
1650
- var c10 = S2(b10, 1);
1651
- return { index: null == c10 ? 0 : c10, qa: W2(b10, 2), label: null != S2(b10, 3) ? Rb(S2(b10, 3), "") : void 0, displayName: null != S2(b10, 4) ? Rb(S2(b10, 4), "") : void 0 };
1647
+ function Tc(a14, b6, c6) {
1648
+ c6 = a14.createShader(0 === c6 ? a14.VERTEX_SHADER : a14.FRAGMENT_SHADER);
1649
+ a14.shaderSource(c6, b6);
1650
+ a14.compileShader(c6);
1651
+ if (!a14.getShaderParameter(c6, a14.COMPILE_STATUS)) throw Error("Could not compile WebGL shader.\n\n" + a14.getShaderInfoLog(c6));
1652
+ return c6;
1653
+ }
1654
+ function Uc(a14) {
1655
+ return Ob(a14, Z3, 1).map(function(b6) {
1656
+ var c6 = S3(b6, 1);
1657
+ return { index: null == c6 ? 0 : c6, qa: W2(b6, 2), label: null != S3(b6, 3) ? Rb(S3(b6, 3), "") : void 0, displayName: null != S3(b6, 4) ? Rb(S3(b6, 4), "") : void 0 };
1652
1658
  });
1653
1659
  }
1654
- function Vc(a10) {
1655
- return { x: W2(a10, 1), y: W2(a10, 2), z: W2(a10, 3), visibility: null != Mb(a10, 4) ? W2(a10, 4) : void 0 };
1660
+ function Vc(a14) {
1661
+ return { x: W2(a14, 1), y: W2(a14, 2), z: W2(a14, 3), visibility: null != Mb(a14, 4) ? W2(a14, 4) : void 0 };
1656
1662
  }
1657
- function Wc(a10, b10) {
1658
- this.i = a10;
1659
- this.h = b10;
1663
+ function Wc(a14, b6) {
1664
+ this.i = a14;
1665
+ this.h = b6;
1660
1666
  this.m = 0;
1661
1667
  }
1662
- function Xc(a10, b10, c10) {
1663
- Yc(a10, b10);
1664
- if ("function" === typeof a10.h.canvas.transferToImageBitmap) return Promise.resolve(a10.h.canvas.transferToImageBitmap());
1665
- if (c10) return Promise.resolve(a10.h.canvas);
1666
- if ("function" === typeof createImageBitmap) return createImageBitmap(a10.h.canvas);
1667
- void 0 === a10.j && (a10.j = document.createElement("canvas"));
1668
- return new Promise(function(d10) {
1669
- a10.j.height = a10.h.canvas.height;
1670
- a10.j.width = a10.h.canvas.width;
1671
- a10.j.getContext("2d", {}).drawImage(a10.h.canvas, 0, 0, a10.h.canvas.width, a10.h.canvas.height);
1672
- d10(a10.j);
1668
+ function Xc(a14, b6, c6) {
1669
+ Yc(a14, b6);
1670
+ if ("function" === typeof a14.h.canvas.transferToImageBitmap) return Promise.resolve(a14.h.canvas.transferToImageBitmap());
1671
+ if (c6) return Promise.resolve(a14.h.canvas);
1672
+ if ("function" === typeof createImageBitmap) return createImageBitmap(a14.h.canvas);
1673
+ void 0 === a14.j && (a14.j = document.createElement("canvas"));
1674
+ return new Promise(function(d6) {
1675
+ a14.j.height = a14.h.canvas.height;
1676
+ a14.j.width = a14.h.canvas.width;
1677
+ a14.j.getContext("2d", {}).drawImage(a14.h.canvas, 0, 0, a14.h.canvas.width, a14.h.canvas.height);
1678
+ d6(a14.j);
1673
1679
  });
1674
1680
  }
1675
- function Yc(a10, b10) {
1676
- var c10 = a10.h;
1677
- if (void 0 === a10.s) {
1678
- var d10 = Tc(c10, "\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), e10 = Tc(c10, "\n precision mediump float;\n varying vec2 vTex;\n uniform sampler2D sampler0;\n void main(){\n gl_FragColor = texture2D(sampler0, vTex);\n }", 1), g2 = c10.createProgram();
1679
- c10.attachShader(g2, d10);
1680
- c10.attachShader(g2, e10);
1681
- c10.linkProgram(g2);
1682
- if (!c10.getProgramParameter(g2, c10.LINK_STATUS)) throw Error("Could not compile WebGL program.\n\n" + c10.getProgramInfoLog(g2));
1683
- d10 = a10.s = g2;
1684
- c10.useProgram(d10);
1685
- e10 = c10.getUniformLocation(d10, "sampler0");
1686
- a10.l = { O: c10.getAttribLocation(d10, "aVertex"), N: c10.getAttribLocation(d10, "aTex"), ya: e10 };
1687
- a10.v = c10.createBuffer();
1688
- c10.bindBuffer(c10.ARRAY_BUFFER, a10.v);
1689
- c10.enableVertexAttribArray(a10.l.O);
1690
- c10.vertexAttribPointer(a10.l.O, 2, c10.FLOAT, false, 0, 0);
1691
- c10.bufferData(c10.ARRAY_BUFFER, new Float32Array([-1, -1, -1, 1, 1, 1, 1, -1]), c10.STATIC_DRAW);
1692
- c10.bindBuffer(c10.ARRAY_BUFFER, null);
1693
- a10.u = c10.createBuffer();
1694
- c10.bindBuffer(c10.ARRAY_BUFFER, a10.u);
1695
- c10.enableVertexAttribArray(a10.l.N);
1696
- c10.vertexAttribPointer(
1697
- a10.l.N,
1681
+ function Yc(a14, b6) {
1682
+ var c6 = a14.h;
1683
+ if (void 0 === a14.s) {
1684
+ var d6 = Tc(c6, "\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), e6 = Tc(c6, "\n precision mediump float;\n varying vec2 vTex;\n uniform sampler2D sampler0;\n void main(){\n gl_FragColor = texture2D(sampler0, vTex);\n }", 1), g5 = c6.createProgram();
1685
+ c6.attachShader(g5, d6);
1686
+ c6.attachShader(g5, e6);
1687
+ c6.linkProgram(g5);
1688
+ if (!c6.getProgramParameter(g5, c6.LINK_STATUS)) throw Error("Could not compile WebGL program.\n\n" + c6.getProgramInfoLog(g5));
1689
+ d6 = a14.s = g5;
1690
+ c6.useProgram(d6);
1691
+ e6 = c6.getUniformLocation(d6, "sampler0");
1692
+ a14.l = { O: c6.getAttribLocation(d6, "aVertex"), N: c6.getAttribLocation(d6, "aTex"), ya: e6 };
1693
+ a14.v = c6.createBuffer();
1694
+ c6.bindBuffer(c6.ARRAY_BUFFER, a14.v);
1695
+ c6.enableVertexAttribArray(a14.l.O);
1696
+ c6.vertexAttribPointer(a14.l.O, 2, c6.FLOAT, false, 0, 0);
1697
+ c6.bufferData(c6.ARRAY_BUFFER, new Float32Array([-1, -1, -1, 1, 1, 1, 1, -1]), c6.STATIC_DRAW);
1698
+ c6.bindBuffer(c6.ARRAY_BUFFER, null);
1699
+ a14.u = c6.createBuffer();
1700
+ c6.bindBuffer(c6.ARRAY_BUFFER, a14.u);
1701
+ c6.enableVertexAttribArray(a14.l.N);
1702
+ c6.vertexAttribPointer(
1703
+ a14.l.N,
1698
1704
  2,
1699
- c10.FLOAT,
1705
+ c6.FLOAT,
1700
1706
  false,
1701
1707
  0,
1702
1708
  0
1703
1709
  );
1704
- c10.bufferData(c10.ARRAY_BUFFER, new Float32Array([0, 1, 0, 0, 1, 0, 1, 1]), c10.STATIC_DRAW);
1705
- c10.bindBuffer(c10.ARRAY_BUFFER, null);
1706
- c10.uniform1i(e10, 0);
1710
+ c6.bufferData(c6.ARRAY_BUFFER, new Float32Array([0, 1, 0, 0, 1, 0, 1, 1]), c6.STATIC_DRAW);
1711
+ c6.bindBuffer(c6.ARRAY_BUFFER, null);
1712
+ c6.uniform1i(e6, 0);
1707
1713
  }
1708
- d10 = a10.l;
1709
- c10.useProgram(a10.s);
1710
- c10.canvas.width = b10.width;
1711
- c10.canvas.height = b10.height;
1712
- c10.viewport(0, 0, b10.width, b10.height);
1713
- c10.activeTexture(c10.TEXTURE0);
1714
- a10.i.bindTexture2d(b10.glName);
1715
- c10.enableVertexAttribArray(d10.O);
1716
- c10.bindBuffer(c10.ARRAY_BUFFER, a10.v);
1717
- c10.vertexAttribPointer(d10.O, 2, c10.FLOAT, false, 0, 0);
1718
- c10.enableVertexAttribArray(d10.N);
1719
- c10.bindBuffer(c10.ARRAY_BUFFER, a10.u);
1720
- c10.vertexAttribPointer(
1721
- d10.N,
1714
+ d6 = a14.l;
1715
+ c6.useProgram(a14.s);
1716
+ c6.canvas.width = b6.width;
1717
+ c6.canvas.height = b6.height;
1718
+ c6.viewport(0, 0, b6.width, b6.height);
1719
+ c6.activeTexture(c6.TEXTURE0);
1720
+ a14.i.bindTexture2d(b6.glName);
1721
+ c6.enableVertexAttribArray(d6.O);
1722
+ c6.bindBuffer(c6.ARRAY_BUFFER, a14.v);
1723
+ c6.vertexAttribPointer(d6.O, 2, c6.FLOAT, false, 0, 0);
1724
+ c6.enableVertexAttribArray(d6.N);
1725
+ c6.bindBuffer(c6.ARRAY_BUFFER, a14.u);
1726
+ c6.vertexAttribPointer(
1727
+ d6.N,
1722
1728
  2,
1723
- c10.FLOAT,
1729
+ c6.FLOAT,
1724
1730
  false,
1725
1731
  0,
1726
1732
  0
1727
1733
  );
1728
- c10.bindFramebuffer(c10.DRAW_FRAMEBUFFER ? c10.DRAW_FRAMEBUFFER : c10.FRAMEBUFFER, null);
1729
- c10.clearColor(0, 0, 0, 0);
1730
- c10.clear(c10.COLOR_BUFFER_BIT);
1731
- c10.colorMask(true, true, true, true);
1732
- c10.drawArrays(c10.TRIANGLE_FAN, 0, 4);
1733
- c10.disableVertexAttribArray(d10.O);
1734
- c10.disableVertexAttribArray(d10.N);
1735
- c10.bindBuffer(c10.ARRAY_BUFFER, null);
1736
- a10.i.bindTexture2d(0);
1737
- }
1738
- function Zc(a10) {
1739
- this.h = a10;
1734
+ c6.bindFramebuffer(c6.DRAW_FRAMEBUFFER ? c6.DRAW_FRAMEBUFFER : c6.FRAMEBUFFER, null);
1735
+ c6.clearColor(0, 0, 0, 0);
1736
+ c6.clear(c6.COLOR_BUFFER_BIT);
1737
+ c6.colorMask(true, true, true, true);
1738
+ c6.drawArrays(c6.TRIANGLE_FAN, 0, 4);
1739
+ c6.disableVertexAttribArray(d6.O);
1740
+ c6.disableVertexAttribArray(d6.N);
1741
+ c6.bindBuffer(c6.ARRAY_BUFFER, null);
1742
+ a14.i.bindTexture2d(0);
1743
+ }
1744
+ function Zc(a14) {
1745
+ this.h = a14;
1740
1746
  }
1741
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]);
1742
- function ad2(a10, b10) {
1743
- return b10 + a10;
1744
- }
1745
- function bd2(a10, b10) {
1746
- window[a10] = b10;
1747
- }
1748
- function cd2(a10) {
1749
- var b10 = document.createElement("script");
1750
- b10.setAttribute("src", a10);
1751
- b10.setAttribute("crossorigin", "anonymous");
1752
- return new Promise(function(c10) {
1753
- b10.addEventListener("load", function() {
1754
- c10();
1748
+ function ad2(a14, b6) {
1749
+ return b6 + a14;
1750
+ }
1751
+ function bd(a14, b6) {
1752
+ window[a14] = b6;
1753
+ }
1754
+ function cd(a14) {
1755
+ var b6 = document.createElement("script");
1756
+ b6.setAttribute("src", a14);
1757
+ b6.setAttribute("crossorigin", "anonymous");
1758
+ return new Promise(function(c6) {
1759
+ b6.addEventListener("load", function() {
1760
+ c6();
1755
1761
  }, false);
1756
- b10.addEventListener("error", function() {
1757
- c10();
1762
+ b6.addEventListener("error", function() {
1763
+ c6();
1758
1764
  }, false);
1759
- document.body.appendChild(b10);
1765
+ document.body.appendChild(b6);
1760
1766
  });
1761
1767
  }
1762
- function dd2() {
1763
- return E2(function(a10) {
1764
- switch (a10.h) {
1768
+ function dd() {
1769
+ return E4(function(a14) {
1770
+ switch (a14.h) {
1765
1771
  case 1:
1766
- return a10.s = 2, D2(a10, WebAssembly.instantiate($c), 4);
1772
+ return a14.s = 2, D4(a14, WebAssembly.instantiate($c), 4);
1767
1773
  case 4:
1768
- a10.h = 3;
1769
- a10.s = 0;
1774
+ a14.h = 3;
1775
+ a14.s = 0;
1770
1776
  break;
1771
1777
  case 2:
1772
- return a10.s = 0, a10.l = null, a10.return(false);
1778
+ return a14.s = 0, a14.l = null, a14.return(false);
1773
1779
  case 3:
1774
- return a10.return(true);
1780
+ return a14.return(true);
1775
1781
  }
1776
1782
  });
1777
1783
  }
1778
- function ed2(a10) {
1779
- this.h = a10;
1784
+ function ed(a14) {
1785
+ this.h = a14;
1780
1786
  this.listeners = {};
1781
1787
  this.l = {};
1782
1788
  this.L = {};
@@ -1786,490 +1792,490 @@ function requireSelfie_segmentation() {
1786
1792
  this.I = Promise.resolve();
1787
1793
  this.fa = "";
1788
1794
  this.D = {};
1789
- this.locateFile = a10 && a10.locateFile || ad2;
1790
- if ("object" === typeof window) var b10 = window.location.pathname.toString().substring(0, window.location.pathname.toString().lastIndexOf("/")) + "/";
1791
- else if ("undefined" !== typeof location) b10 = location.pathname.toString().substring(0, location.pathname.toString().lastIndexOf("/")) + "/";
1795
+ this.locateFile = a14 && a14.locateFile || ad2;
1796
+ if ("object" === typeof window) var b6 = window.location.pathname.toString().substring(0, window.location.pathname.toString().lastIndexOf("/")) + "/";
1797
+ else if ("undefined" !== typeof location) b6 = location.pathname.toString().substring(0, location.pathname.toString().lastIndexOf("/")) + "/";
1792
1798
  else throw Error("solutions can only be loaded on a web page or in a web worker");
1793
- this.ha = b10;
1794
- if (a10.options) {
1795
- b10 = A2(Object.keys(a10.options));
1796
- for (var c10 = b10.next(); !c10.done; c10 = b10.next()) {
1797
- c10 = c10.value;
1798
- var d10 = a10.options[c10].default;
1799
- void 0 !== d10 && (this.l[c10] = "function" === typeof d10 ? d10() : d10);
1799
+ this.ha = b6;
1800
+ if (a14.options) {
1801
+ b6 = A4(Object.keys(a14.options));
1802
+ for (var c6 = b6.next(); !c6.done; c6 = b6.next()) {
1803
+ c6 = c6.value;
1804
+ var d6 = a14.options[c6].default;
1805
+ void 0 !== d6 && (this.l[c6] = "function" === typeof d6 ? d6() : d6);
1800
1806
  }
1801
1807
  }
1802
1808
  }
1803
- x2 = ed2.prototype;
1804
- x2.close = function() {
1809
+ x4 = ed.prototype;
1810
+ x4.close = function() {
1805
1811
  this.j && this.j.delete();
1806
1812
  return Promise.resolve();
1807
1813
  };
1808
- function fd(a10) {
1809
- var b10, c10, d10, e10, g2, f2, h2, k2, l2, m2, r2;
1810
- return E2(function(p2) {
1811
- switch (p2.h) {
1814
+ function fd(a14) {
1815
+ var b6, c6, d6, e6, g5, f6, h5, k5, l5, m5, r5;
1816
+ return E4(function(p6) {
1817
+ switch (p6.h) {
1812
1818
  case 1:
1813
- if (!a10.ga) return p2.return();
1814
- b10 = void 0 === a10.h.files ? [] : "function" === typeof a10.h.files ? a10.h.files(a10.l) : a10.h.files;
1815
- return D2(p2, dd2(), 2);
1819
+ if (!a14.ga) return p6.return();
1820
+ b6 = void 0 === a14.h.files ? [] : "function" === typeof a14.h.files ? a14.h.files(a14.l) : a14.h.files;
1821
+ return D4(p6, dd(), 2);
1816
1822
  case 2:
1817
- c10 = p2.i;
1818
- if ("object" === typeof window) return bd2("createMediapipeSolutionsWasm", { locateFile: a10.locateFile }), bd2("createMediapipeSolutionsPackedAssets", { locateFile: a10.locateFile }), f2 = b10.filter(function(n2) {
1819
- return void 0 !== n2.data;
1820
- }), h2 = b10.filter(function(n2) {
1821
- return void 0 === n2.data;
1822
- }), k2 = Promise.all(f2.map(function(n2) {
1823
- var q2 = gd(a10, n2.url);
1824
- if (void 0 !== n2.path) {
1825
- var t2 = n2.path;
1826
- q2 = q2.then(function(w2) {
1827
- a10.overrideFile(t2, w2);
1828
- return Promise.resolve(w2);
1823
+ c6 = p6.i;
1824
+ if ("object" === typeof window) return bd("createMediapipeSolutionsWasm", { locateFile: a14.locateFile }), bd("createMediapipeSolutionsPackedAssets", { locateFile: a14.locateFile }), f6 = b6.filter(function(n4) {
1825
+ return void 0 !== n4.data;
1826
+ }), h5 = b6.filter(function(n4) {
1827
+ return void 0 === n4.data;
1828
+ }), k5 = Promise.all(f6.map(function(n4) {
1829
+ var q4 = gd(a14, n4.url);
1830
+ if (void 0 !== n4.path) {
1831
+ var t4 = n4.path;
1832
+ q4 = q4.then(function(w4) {
1833
+ a14.overrideFile(t4, w4);
1834
+ return Promise.resolve(w4);
1829
1835
  });
1830
1836
  }
1831
- return q2;
1832
- })), l2 = Promise.all(h2.map(function(n2) {
1833
- return void 0 === n2.simd || n2.simd && c10 || !n2.simd && !c10 ? cd2(a10.locateFile(n2.url, a10.ha)) : Promise.resolve();
1837
+ return q4;
1838
+ })), l5 = Promise.all(h5.map(function(n4) {
1839
+ return void 0 === n4.simd || n4.simd && c6 || !n4.simd && !c6 ? cd(a14.locateFile(n4.url, a14.ha)) : Promise.resolve();
1834
1840
  })).then(function() {
1835
- var n2, q2, t2;
1836
- return E2(function(w2) {
1837
- if (1 == w2.h) return n2 = window.createMediapipeSolutionsWasm, q2 = window.createMediapipeSolutionsPackedAssets, t2 = a10, D2(w2, n2(q2), 2);
1838
- t2.i = w2.i;
1839
- w2.h = 0;
1841
+ var n4, q4, t4;
1842
+ return E4(function(w4) {
1843
+ if (1 == w4.h) return n4 = window.createMediapipeSolutionsWasm, q4 = window.createMediapipeSolutionsPackedAssets, t4 = a14, D4(w4, n4(q4), 2);
1844
+ t4.i = w4.i;
1845
+ w4.h = 0;
1840
1846
  });
1841
- }), m2 = (function() {
1842
- return E2(function(n2) {
1843
- a10.h.graph && a10.h.graph.url ? n2 = D2(
1844
- n2,
1845
- gd(a10, a10.h.graph.url),
1847
+ }), m5 = (function() {
1848
+ return E4(function(n4) {
1849
+ a14.h.graph && a14.h.graph.url ? n4 = D4(
1850
+ n4,
1851
+ gd(a14, a14.h.graph.url),
1846
1852
  0
1847
- ) : (n2.h = 0, n2 = void 0);
1848
- return n2;
1853
+ ) : (n4.h = 0, n4 = void 0);
1854
+ return n4;
1849
1855
  });
1850
- })(), D2(p2, Promise.all([l2, k2, m2]), 7);
1856
+ })(), D4(p6, Promise.all([l5, k5, m5]), 7);
1851
1857
  if ("function" !== typeof importScripts) throw Error("solutions can only be loaded on a web page or in a web worker");
1852
- d10 = b10.filter(function(n2) {
1853
- return void 0 === n2.simd || n2.simd && c10 || !n2.simd && !c10;
1854
- }).map(function(n2) {
1855
- return a10.locateFile(n2.url, a10.ha);
1858
+ d6 = b6.filter(function(n4) {
1859
+ return void 0 === n4.simd || n4.simd && c6 || !n4.simd && !c6;
1860
+ }).map(function(n4) {
1861
+ return a14.locateFile(n4.url, a14.ha);
1856
1862
  });
1857
- importScripts.apply(null, ea2(d10));
1858
- e10 = a10;
1859
- return D2(p2, createMediapipeSolutionsWasm(Module), 6);
1863
+ importScripts.apply(null, ea(d6));
1864
+ e6 = a14;
1865
+ return D4(p6, createMediapipeSolutionsWasm(Module), 6);
1860
1866
  case 6:
1861
- e10.i = p2.i;
1862
- a10.m = new OffscreenCanvas(1, 1);
1863
- a10.i.canvas = a10.m;
1864
- g2 = a10.i.GL.createContext(a10.m, {
1867
+ e6.i = p6.i;
1868
+ a14.m = new OffscreenCanvas(1, 1);
1869
+ a14.i.canvas = a14.m;
1870
+ g5 = a14.i.GL.createContext(a14.m, {
1865
1871
  antialias: false,
1866
1872
  alpha: false,
1867
1873
  va: "undefined" !== typeof WebGL2RenderingContext ? 2 : 1
1868
1874
  });
1869
- a10.i.GL.makeContextCurrent(g2);
1870
- p2.h = 4;
1875
+ a14.i.GL.makeContextCurrent(g5);
1876
+ p6.h = 4;
1871
1877
  break;
1872
1878
  case 7:
1873
- a10.m = document.createElement("canvas");
1874
- r2 = a10.m.getContext("webgl2", {});
1875
- if (!r2 && (r2 = a10.m.getContext("webgl", {}), !r2)) return alert("Failed to create WebGL canvas context when passing video frame."), p2.return();
1876
- a10.K = r2;
1877
- a10.i.canvas = a10.m;
1878
- a10.i.createContext(a10.m, true, true, {});
1879
+ a14.m = document.createElement("canvas");
1880
+ r5 = a14.m.getContext("webgl2", {});
1881
+ if (!r5 && (r5 = a14.m.getContext("webgl", {}), !r5)) return alert("Failed to create WebGL canvas context when passing video frame."), p6.return();
1882
+ a14.K = r5;
1883
+ a14.i.canvas = a14.m;
1884
+ a14.i.createContext(a14.m, true, true, {});
1879
1885
  case 4:
1880
- a10.j = new a10.i.SolutionWasm(), a10.ga = false, p2.h = 0;
1886
+ a14.j = new a14.i.SolutionWasm(), a14.ga = false, p6.h = 0;
1881
1887
  }
1882
1888
  });
1883
1889
  }
1884
- function hd(a10) {
1885
- var b10, c10, d10, e10, g2, f2, h2, k2;
1886
- return E2(function(l2) {
1887
- if (1 == l2.h) {
1888
- if (a10.h.graph && a10.h.graph.url && a10.fa === a10.h.graph.url) return l2.return();
1889
- a10.u = true;
1890
- if (!a10.h.graph || !a10.h.graph.url) {
1891
- l2.h = 2;
1890
+ function hd(a14) {
1891
+ var b6, c6, d6, e6, g5, f6, h5, k5;
1892
+ return E4(function(l5) {
1893
+ if (1 == l5.h) {
1894
+ if (a14.h.graph && a14.h.graph.url && a14.fa === a14.h.graph.url) return l5.return();
1895
+ a14.u = true;
1896
+ if (!a14.h.graph || !a14.h.graph.url) {
1897
+ l5.h = 2;
1892
1898
  return;
1893
1899
  }
1894
- a10.fa = a10.h.graph.url;
1895
- return D2(l2, gd(a10, a10.h.graph.url), 3);
1900
+ a14.fa = a14.h.graph.url;
1901
+ return D4(l5, gd(a14, a14.h.graph.url), 3);
1896
1902
  }
1897
- 2 != l2.h && (b10 = l2.i, a10.j.loadGraph(b10));
1898
- c10 = A2(Object.keys(a10.D));
1899
- for (d10 = c10.next(); !d10.done; d10 = c10.next()) e10 = d10.value, a10.j.overrideFile(e10, a10.D[e10]);
1900
- a10.D = {};
1901
- if (a10.h.listeners) for (g2 = A2(a10.h.listeners), f2 = g2.next(); !f2.done; f2 = g2.next()) h2 = f2.value, id(a10, h2);
1902
- k2 = a10.l;
1903
- a10.l = {};
1904
- a10.setOptions(k2);
1905
- l2.h = 0;
1903
+ 2 != l5.h && (b6 = l5.i, a14.j.loadGraph(b6));
1904
+ c6 = A4(Object.keys(a14.D));
1905
+ for (d6 = c6.next(); !d6.done; d6 = c6.next()) e6 = d6.value, a14.j.overrideFile(e6, a14.D[e6]);
1906
+ a14.D = {};
1907
+ if (a14.h.listeners) for (g5 = A4(a14.h.listeners), f6 = g5.next(); !f6.done; f6 = g5.next()) h5 = f6.value, id(a14, h5);
1908
+ k5 = a14.l;
1909
+ a14.l = {};
1910
+ a14.setOptions(k5);
1911
+ l5.h = 0;
1906
1912
  });
1907
1913
  }
1908
- x2.reset = function() {
1909
- var a10 = this;
1910
- return E2(function(b10) {
1911
- a10.j && (a10.j.reset(), a10.s = {}, a10.v = {});
1912
- b10.h = 0;
1914
+ x4.reset = function() {
1915
+ var a14 = this;
1916
+ return E4(function(b6) {
1917
+ a14.j && (a14.j.reset(), a14.s = {}, a14.v = {});
1918
+ b6.h = 0;
1913
1919
  });
1914
1920
  };
1915
- x2.setOptions = function(a10, b10) {
1916
- var c10 = this;
1917
- if (b10 = b10 || this.h.options) {
1918
- for (var d10 = [], e10 = [], g2 = {}, f2 = A2(Object.keys(a10)), h2 = f2.next(); !h2.done; g2 = { X: g2.X, Y: g2.Y }, h2 = f2.next()) if (h2 = h2.value, !(h2 in this.l && this.l[h2] === a10[h2])) {
1919
- this.l[h2] = a10[h2];
1920
- var k2 = b10[h2];
1921
- void 0 !== k2 && (k2.onChange && (g2.X = k2.onChange, g2.Y = a10[h2], d10.push(/* @__PURE__ */ (function(l2) {
1921
+ x4.setOptions = function(a14, b6) {
1922
+ var c6 = this;
1923
+ if (b6 = b6 || this.h.options) {
1924
+ for (var d6 = [], e6 = [], g5 = {}, f6 = A4(Object.keys(a14)), h5 = f6.next(); !h5.done; g5 = { X: g5.X, Y: g5.Y }, h5 = f6.next()) if (h5 = h5.value, !(h5 in this.l && this.l[h5] === a14[h5])) {
1925
+ this.l[h5] = a14[h5];
1926
+ var k5 = b6[h5];
1927
+ void 0 !== k5 && (k5.onChange && (g5.X = k5.onChange, g5.Y = a14[h5], d6.push(/* @__PURE__ */ (function(l5) {
1922
1928
  return function() {
1923
- var m2;
1924
- return E2(function(r2) {
1925
- if (1 == r2.h) return D2(r2, l2.X(l2.Y), 2);
1926
- m2 = r2.i;
1927
- true === m2 && (c10.u = true);
1928
- r2.h = 0;
1929
+ var m5;
1930
+ return E4(function(r5) {
1931
+ if (1 == r5.h) return D4(r5, l5.X(l5.Y), 2);
1932
+ m5 = r5.i;
1933
+ true === m5 && (c6.u = true);
1934
+ r5.h = 0;
1929
1935
  });
1930
1936
  };
1931
- })(g2))), k2.graphOptionXref && (h2 = Object.assign(
1937
+ })(g5))), k5.graphOptionXref && (h5 = Object.assign(
1932
1938
  {},
1933
1939
  { calculatorName: "", calculatorIndex: 0 },
1934
- k2.graphOptionXref,
1935
- { valueNumber: 1 === k2.type ? a10[h2] : 0, valueBoolean: 0 === k2.type ? a10[h2] : false, valueString: 2 === k2.type ? a10[h2] : "" }
1936
- ), e10.push(h2)));
1940
+ k5.graphOptionXref,
1941
+ { valueNumber: 1 === k5.type ? a14[h5] : 0, valueBoolean: 0 === k5.type ? a14[h5] : false, valueString: 2 === k5.type ? a14[h5] : "" }
1942
+ ), e6.push(h5)));
1937
1943
  }
1938
- if (0 !== d10.length || 0 !== e10.length) this.u = true, this.H = (void 0 === this.H ? [] : this.H).concat(e10), this.F = (void 0 === this.F ? [] : this.F).concat(d10);
1944
+ if (0 !== d6.length || 0 !== e6.length) this.u = true, this.H = (void 0 === this.H ? [] : this.H).concat(e6), this.F = (void 0 === this.F ? [] : this.F).concat(d6);
1939
1945
  }
1940
1946
  };
1941
- function jd(a10) {
1942
- var b10, c10, d10, e10, g2, f2, h2;
1943
- return E2(function(k2) {
1944
- switch (k2.h) {
1947
+ function jd(a14) {
1948
+ var b6, c6, d6, e6, g5, f6, h5;
1949
+ return E4(function(k5) {
1950
+ switch (k5.h) {
1945
1951
  case 1:
1946
- if (!a10.u) return k2.return();
1947
- if (!a10.F) {
1948
- k2.h = 2;
1952
+ if (!a14.u) return k5.return();
1953
+ if (!a14.F) {
1954
+ k5.h = 2;
1949
1955
  break;
1950
1956
  }
1951
- b10 = A2(a10.F);
1952
- c10 = b10.next();
1957
+ b6 = A4(a14.F);
1958
+ c6 = b6.next();
1953
1959
  case 3:
1954
- if (c10.done) {
1955
- k2.h = 5;
1960
+ if (c6.done) {
1961
+ k5.h = 5;
1956
1962
  break;
1957
1963
  }
1958
- d10 = c10.value;
1959
- return D2(k2, d10(), 4);
1964
+ d6 = c6.value;
1965
+ return D4(k5, d6(), 4);
1960
1966
  case 4:
1961
- c10 = b10.next();
1962
- k2.h = 3;
1967
+ c6 = b6.next();
1968
+ k5.h = 3;
1963
1969
  break;
1964
1970
  case 5:
1965
- a10.F = void 0;
1971
+ a14.F = void 0;
1966
1972
  case 2:
1967
- if (a10.H) {
1968
- e10 = new a10.i.GraphOptionChangeRequestList();
1969
- g2 = A2(a10.H);
1970
- for (f2 = g2.next(); !f2.done; f2 = g2.next()) h2 = f2.value, e10.push_back(h2);
1971
- a10.j.changeOptions(e10);
1972
- e10.delete();
1973
- a10.H = void 0;
1973
+ if (a14.H) {
1974
+ e6 = new a14.i.GraphOptionChangeRequestList();
1975
+ g5 = A4(a14.H);
1976
+ for (f6 = g5.next(); !f6.done; f6 = g5.next()) h5 = f6.value, e6.push_back(h5);
1977
+ a14.j.changeOptions(e6);
1978
+ e6.delete();
1979
+ a14.H = void 0;
1974
1980
  }
1975
- a10.u = false;
1976
- k2.h = 0;
1981
+ a14.u = false;
1982
+ k5.h = 0;
1977
1983
  }
1978
1984
  });
1979
1985
  }
1980
- x2.initialize = function() {
1981
- var a10 = this;
1982
- return E2(function(b10) {
1983
- return 1 == b10.h ? D2(b10, fd(a10), 2) : 3 != b10.h ? D2(b10, hd(a10), 3) : D2(b10, jd(a10), 0);
1986
+ x4.initialize = function() {
1987
+ var a14 = this;
1988
+ return E4(function(b6) {
1989
+ return 1 == b6.h ? D4(b6, fd(a14), 2) : 3 != b6.h ? D4(b6, hd(a14), 3) : D4(b6, jd(a14), 0);
1984
1990
  });
1985
1991
  };
1986
- function gd(a10, b10) {
1987
- var c10, d10;
1988
- return E2(function(e10) {
1989
- if (b10 in a10.L) return e10.return(a10.L[b10]);
1990
- c10 = a10.locateFile(b10, "");
1991
- d10 = fetch(c10).then(function(g2) {
1992
- return g2.arrayBuffer();
1992
+ function gd(a14, b6) {
1993
+ var c6, d6;
1994
+ return E4(function(e6) {
1995
+ if (b6 in a14.L) return e6.return(a14.L[b6]);
1996
+ c6 = a14.locateFile(b6, "");
1997
+ d6 = fetch(c6).then(function(g5) {
1998
+ return g5.arrayBuffer();
1993
1999
  });
1994
- a10.L[b10] = d10;
1995
- return e10.return(d10);
2000
+ a14.L[b6] = d6;
2001
+ return e6.return(d6);
1996
2002
  });
1997
2003
  }
1998
- x2.overrideFile = function(a10, b10) {
1999
- this.j ? this.j.overrideFile(a10, b10) : this.D[a10] = b10;
2004
+ x4.overrideFile = function(a14, b6) {
2005
+ this.j ? this.j.overrideFile(a14, b6) : this.D[a14] = b6;
2000
2006
  };
2001
- x2.clearOverriddenFiles = function() {
2007
+ x4.clearOverriddenFiles = function() {
2002
2008
  this.D = {};
2003
2009
  this.j && this.j.clearOverriddenFiles();
2004
2010
  };
2005
- x2.send = function(a10, b10) {
2006
- var c10 = this, d10, e10, g2, f2, h2, k2, l2, m2, r2;
2007
- return E2(function(p2) {
2008
- switch (p2.h) {
2011
+ x4.send = function(a14, b6) {
2012
+ var c6 = this, d6, e6, g5, f6, h5, k5, l5, m5, r5;
2013
+ return E4(function(p6) {
2014
+ switch (p6.h) {
2009
2015
  case 1:
2010
- if (!c10.h.inputs) return p2.return();
2011
- d10 = 1e3 * (void 0 === b10 || null === b10 ? performance.now() : b10);
2012
- return D2(p2, c10.I, 2);
2016
+ if (!c6.h.inputs) return p6.return();
2017
+ d6 = 1e3 * (void 0 === b6 || null === b6 ? performance.now() : b6);
2018
+ return D4(p6, c6.I, 2);
2013
2019
  case 2:
2014
- return D2(p2, c10.initialize(), 3);
2020
+ return D4(p6, c6.initialize(), 3);
2015
2021
  case 3:
2016
- e10 = new c10.i.PacketDataList();
2017
- g2 = A2(Object.keys(a10));
2018
- for (f2 = g2.next(); !f2.done; f2 = g2.next()) if (h2 = f2.value, k2 = c10.h.inputs[h2]) {
2022
+ e6 = new c6.i.PacketDataList();
2023
+ g5 = A4(Object.keys(a14));
2024
+ for (f6 = g5.next(); !f6.done; f6 = g5.next()) if (h5 = f6.value, k5 = c6.h.inputs[h5]) {
2019
2025
  a: {
2020
- var n2 = a10[h2];
2021
- switch (k2.type) {
2026
+ var n4 = a14[h5];
2027
+ switch (k5.type) {
2022
2028
  case "video":
2023
- var q2 = c10.s[k2.stream];
2024
- q2 || (q2 = new Wc(c10.i, c10.K), c10.s[k2.stream] = q2);
2025
- 0 === q2.m && (q2.m = q2.i.createTexture());
2026
- if ("undefined" !== typeof HTMLVideoElement && n2 instanceof HTMLVideoElement) {
2027
- var t2 = n2.videoWidth;
2028
- var w2 = n2.videoHeight;
2029
- } else "undefined" !== typeof HTMLImageElement && n2 instanceof HTMLImageElement ? (t2 = n2.naturalWidth, w2 = n2.naturalHeight) : (t2 = n2.width, w2 = n2.height);
2030
- w2 = { glName: q2.m, width: t2, height: w2 };
2031
- t2 = q2.h;
2032
- t2.canvas.width = w2.width;
2033
- t2.canvas.height = w2.height;
2034
- t2.activeTexture(t2.TEXTURE0);
2035
- q2.i.bindTexture2d(q2.m);
2036
- t2.texImage2D(t2.TEXTURE_2D, 0, t2.RGBA, t2.RGBA, t2.UNSIGNED_BYTE, n2);
2037
- q2.i.bindTexture2d(0);
2038
- q2 = w2;
2029
+ var q4 = c6.s[k5.stream];
2030
+ q4 || (q4 = new Wc(c6.i, c6.K), c6.s[k5.stream] = q4);
2031
+ 0 === q4.m && (q4.m = q4.i.createTexture());
2032
+ if ("undefined" !== typeof HTMLVideoElement && n4 instanceof HTMLVideoElement) {
2033
+ var t4 = n4.videoWidth;
2034
+ var w4 = n4.videoHeight;
2035
+ } else "undefined" !== typeof HTMLImageElement && n4 instanceof HTMLImageElement ? (t4 = n4.naturalWidth, w4 = n4.naturalHeight) : (t4 = n4.width, w4 = n4.height);
2036
+ w4 = { glName: q4.m, width: t4, height: w4 };
2037
+ t4 = q4.h;
2038
+ t4.canvas.width = w4.width;
2039
+ t4.canvas.height = w4.height;
2040
+ t4.activeTexture(t4.TEXTURE0);
2041
+ q4.i.bindTexture2d(q4.m);
2042
+ t4.texImage2D(t4.TEXTURE_2D, 0, t4.RGBA, t4.RGBA, t4.UNSIGNED_BYTE, n4);
2043
+ q4.i.bindTexture2d(0);
2044
+ q4 = w4;
2039
2045
  break a;
2040
2046
  case "detections":
2041
- q2 = c10.s[k2.stream];
2042
- q2 || (q2 = new Zc(c10.i), c10.s[k2.stream] = q2);
2043
- q2.data || (q2.data = new q2.h.DetectionListData());
2044
- q2.data.reset(n2.length);
2045
- for (w2 = 0; w2 < n2.length; ++w2) {
2046
- t2 = n2[w2];
2047
- var v2 = q2.data, B2 = v2.setBoundingBox, J2 = w2;
2048
- var I2 = t2.la;
2049
- var u2 = new Qc();
2050
- V2(u2, 1, I2.sa);
2051
- V2(u2, 2, I2.ta);
2052
- V2(u2, 3, I2.height);
2053
- V2(u2, 4, I2.width);
2054
- V2(u2, 5, I2.rotation);
2055
- U2(u2, 6, I2.pa);
2056
- I2 = u2.l();
2057
- B2.call(v2, J2, I2);
2058
- if (t2.ea) for (v2 = 0; v2 < t2.ea.length; ++v2) {
2059
- u2 = t2.ea[v2];
2060
- B2 = q2.data;
2061
- J2 = B2.addNormalizedLandmark;
2062
- I2 = w2;
2063
- u2 = Object.assign({}, u2, { visibility: u2.visibility ? u2.visibility : 0 });
2064
- var C2 = new Lc();
2065
- V2(C2, 1, u2.x);
2066
- V2(C2, 2, u2.y);
2067
- V2(C2, 3, u2.z);
2068
- u2.visibility && V2(C2, 4, u2.visibility);
2069
- u2 = C2.l();
2070
- J2.call(
2071
- B2,
2072
- I2,
2073
- u2
2047
+ q4 = c6.s[k5.stream];
2048
+ q4 || (q4 = new Zc(c6.i), c6.s[k5.stream] = q4);
2049
+ q4.data || (q4.data = new q4.h.DetectionListData());
2050
+ q4.data.reset(n4.length);
2051
+ for (w4 = 0; w4 < n4.length; ++w4) {
2052
+ t4 = n4[w4];
2053
+ var v5 = q4.data, B4 = v5.setBoundingBox, J3 = w4;
2054
+ var I3 = t4.la;
2055
+ var u5 = new Qc();
2056
+ V3(u5, 1, I3.sa);
2057
+ V3(u5, 2, I3.ta);
2058
+ V3(u5, 3, I3.height);
2059
+ V3(u5, 4, I3.width);
2060
+ V3(u5, 5, I3.rotation);
2061
+ U3(u5, 6, I3.pa);
2062
+ I3 = u5.l();
2063
+ B4.call(v5, J3, I3);
2064
+ if (t4.ea) for (v5 = 0; v5 < t4.ea.length; ++v5) {
2065
+ u5 = t4.ea[v5];
2066
+ B4 = q4.data;
2067
+ J3 = B4.addNormalizedLandmark;
2068
+ I3 = w4;
2069
+ u5 = Object.assign({}, u5, { visibility: u5.visibility ? u5.visibility : 0 });
2070
+ var C4 = new Lc();
2071
+ V3(C4, 1, u5.x);
2072
+ V3(C4, 2, u5.y);
2073
+ V3(C4, 3, u5.z);
2074
+ u5.visibility && V3(C4, 4, u5.visibility);
2075
+ u5 = C4.l();
2076
+ J3.call(
2077
+ B4,
2078
+ I3,
2079
+ u5
2074
2080
  );
2075
2081
  }
2076
- if (t2.ba) for (v2 = 0; v2 < t2.ba.length; ++v2) B2 = q2.data, J2 = B2.addClassification, I2 = w2, u2 = t2.ba[v2], C2 = new Z2(), V2(C2, 2, u2.qa), u2.index && U2(C2, 1, u2.index), u2.label && U2(C2, 3, u2.label), u2.displayName && U2(C2, 4, u2.displayName), u2 = C2.l(), J2.call(B2, I2, u2);
2082
+ if (t4.ba) for (v5 = 0; v5 < t4.ba.length; ++v5) B4 = q4.data, J3 = B4.addClassification, I3 = w4, u5 = t4.ba[v5], C4 = new Z3(), V3(C4, 2, u5.qa), u5.index && U3(C4, 1, u5.index), u5.label && U3(C4, 3, u5.label), u5.displayName && U3(C4, 4, u5.displayName), u5 = C4.l(), J3.call(B4, I3, u5);
2077
2083
  }
2078
- q2 = q2.data;
2084
+ q4 = q4.data;
2079
2085
  break a;
2080
2086
  default:
2081
- q2 = {};
2087
+ q4 = {};
2082
2088
  }
2083
2089
  }
2084
- l2 = q2;
2085
- m2 = k2.stream;
2086
- switch (k2.type) {
2090
+ l5 = q4;
2091
+ m5 = k5.stream;
2092
+ switch (k5.type) {
2087
2093
  case "video":
2088
- e10.pushTexture2d(Object.assign({}, l2, { stream: m2, timestamp: d10 }));
2094
+ e6.pushTexture2d(Object.assign({}, l5, { stream: m5, timestamp: d6 }));
2089
2095
  break;
2090
2096
  case "detections":
2091
- r2 = l2;
2092
- r2.stream = m2;
2093
- r2.timestamp = d10;
2094
- e10.pushDetectionList(r2);
2097
+ r5 = l5;
2098
+ r5.stream = m5;
2099
+ r5.timestamp = d6;
2100
+ e6.pushDetectionList(r5);
2095
2101
  break;
2096
2102
  default:
2097
- throw Error("Unknown input config type: '" + k2.type + "'");
2103
+ throw Error("Unknown input config type: '" + k5.type + "'");
2098
2104
  }
2099
2105
  }
2100
- c10.j.send(e10);
2101
- return D2(p2, c10.I, 4);
2106
+ c6.j.send(e6);
2107
+ return D4(p6, c6.I, 4);
2102
2108
  case 4:
2103
- e10.delete(), p2.h = 0;
2109
+ e6.delete(), p6.h = 0;
2104
2110
  }
2105
2111
  });
2106
2112
  };
2107
- function kd(a10, b10, c10) {
2108
- var d10, e10, g2, f2, h2, k2, l2, m2, r2, p2, n2, q2, t2, w2;
2109
- return E2(function(v2) {
2110
- switch (v2.h) {
2113
+ function kd(a14, b6, c6) {
2114
+ var d6, e6, g5, f6, h5, k5, l5, m5, r5, p6, n4, q4, t4, w4;
2115
+ return E4(function(v5) {
2116
+ switch (v5.h) {
2111
2117
  case 1:
2112
- if (!c10) return v2.return(b10);
2113
- d10 = {};
2114
- e10 = 0;
2115
- g2 = A2(Object.keys(c10));
2116
- for (f2 = g2.next(); !f2.done; f2 = g2.next()) h2 = f2.value, k2 = c10[h2], "string" !== typeof k2 && "texture" === k2.type && void 0 !== b10[k2.stream] && ++e10;
2117
- 1 < e10 && (a10.M = false);
2118
- l2 = A2(Object.keys(c10));
2119
- f2 = l2.next();
2118
+ if (!c6) return v5.return(b6);
2119
+ d6 = {};
2120
+ e6 = 0;
2121
+ g5 = A4(Object.keys(c6));
2122
+ for (f6 = g5.next(); !f6.done; f6 = g5.next()) h5 = f6.value, k5 = c6[h5], "string" !== typeof k5 && "texture" === k5.type && void 0 !== b6[k5.stream] && ++e6;
2123
+ 1 < e6 && (a14.M = false);
2124
+ l5 = A4(Object.keys(c6));
2125
+ f6 = l5.next();
2120
2126
  case 2:
2121
- if (f2.done) {
2122
- v2.h = 4;
2127
+ if (f6.done) {
2128
+ v5.h = 4;
2123
2129
  break;
2124
2130
  }
2125
- m2 = f2.value;
2126
- r2 = c10[m2];
2127
- if ("string" === typeof r2) return t2 = d10, w2 = m2, D2(v2, ld(a10, m2, b10[r2]), 14);
2128
- p2 = b10[r2.stream];
2129
- if ("detection_list" === r2.type) {
2130
- if (p2) {
2131
- var B2 = p2.getRectList();
2132
- for (var J2 = p2.getLandmarksList(), I2 = p2.getClassificationsList(), u2 = [], C2 = 0; C2 < B2.size(); ++C2) {
2133
- var T2 = Sc(B2.get(C2)), od = W2(T2, 1), pd = W2(T2, 2), qd = W2(T2, 3), rd = W2(T2, 4), sd = W2(T2, 5, 0), za = void 0;
2131
+ m5 = f6.value;
2132
+ r5 = c6[m5];
2133
+ if ("string" === typeof r5) return t4 = d6, w4 = m5, D4(v5, ld(a14, m5, b6[r5]), 14);
2134
+ p6 = b6[r5.stream];
2135
+ if ("detection_list" === r5.type) {
2136
+ if (p6) {
2137
+ var B4 = p6.getRectList();
2138
+ for (var J3 = p6.getLandmarksList(), I3 = p6.getClassificationsList(), u5 = [], C4 = 0; C4 < B4.size(); ++C4) {
2139
+ var T3 = Sc(B4.get(C4)), od = W2(T3, 1), pd = W2(T3, 2), qd = W2(T3, 3), rd = W2(T3, 4), sd = W2(T3, 5, 0), za = void 0;
2134
2140
  za = void 0 === za ? 0 : za;
2135
- T2 = { la: { sa: od, ta: pd, height: qd, width: rd, rotation: sd, pa: Rb(S2(T2, 6), za) }, ea: Ob(Pc(J2.get(C2)), Lc, 1).map(Vc), ba: Uc(Kc(I2.get(C2))) };
2136
- u2.push(T2);
2141
+ T3 = { la: { sa: od, ta: pd, height: qd, width: rd, rotation: sd, pa: Rb(S3(T3, 6), za) }, ea: Ob(Pc(J3.get(C4)), Lc, 1).map(Vc), ba: Uc(Kc(I3.get(C4))) };
2142
+ u5.push(T3);
2137
2143
  }
2138
- B2 = u2;
2139
- } else B2 = [];
2140
- d10[m2] = B2;
2141
- v2.h = 7;
2144
+ B4 = u5;
2145
+ } else B4 = [];
2146
+ d6[m5] = B4;
2147
+ v5.h = 7;
2142
2148
  break;
2143
2149
  }
2144
- if ("proto_list" === r2.type) {
2145
- if (p2) {
2146
- B2 = Array(p2.size());
2147
- for (J2 = 0; J2 < p2.size(); J2++) B2[J2] = p2.get(J2);
2148
- p2.delete();
2149
- } else B2 = [];
2150
- d10[m2] = B2;
2151
- v2.h = 7;
2150
+ if ("proto_list" === r5.type) {
2151
+ if (p6) {
2152
+ B4 = Array(p6.size());
2153
+ for (J3 = 0; J3 < p6.size(); J3++) B4[J3] = p6.get(J3);
2154
+ p6.delete();
2155
+ } else B4 = [];
2156
+ d6[m5] = B4;
2157
+ v5.h = 7;
2152
2158
  break;
2153
2159
  }
2154
- if (void 0 === p2) {
2155
- v2.h = 3;
2160
+ if (void 0 === p6) {
2161
+ v5.h = 3;
2156
2162
  break;
2157
2163
  }
2158
- if ("float_list" === r2.type) {
2159
- d10[m2] = p2;
2160
- v2.h = 7;
2164
+ if ("float_list" === r5.type) {
2165
+ d6[m5] = p6;
2166
+ v5.h = 7;
2161
2167
  break;
2162
2168
  }
2163
- if ("proto" === r2.type) {
2164
- d10[m2] = p2;
2165
- v2.h = 7;
2169
+ if ("proto" === r5.type) {
2170
+ d6[m5] = p6;
2171
+ v5.h = 7;
2166
2172
  break;
2167
2173
  }
2168
- if ("texture" !== r2.type) throw Error("Unknown output config type: '" + r2.type + "'");
2169
- n2 = a10.v[m2];
2170
- n2 || (n2 = new Wc(a10.i, a10.K), a10.v[m2] = n2);
2171
- return D2(v2, Xc(n2, p2, a10.M), 13);
2174
+ if ("texture" !== r5.type) throw Error("Unknown output config type: '" + r5.type + "'");
2175
+ n4 = a14.v[m5];
2176
+ n4 || (n4 = new Wc(a14.i, a14.K), a14.v[m5] = n4);
2177
+ return D4(v5, Xc(n4, p6, a14.M), 13);
2172
2178
  case 13:
2173
- q2 = v2.i, d10[m2] = q2;
2179
+ q4 = v5.i, d6[m5] = q4;
2174
2180
  case 7:
2175
- r2.transform && d10[m2] && (d10[m2] = r2.transform(d10[m2]));
2176
- v2.h = 3;
2181
+ r5.transform && d6[m5] && (d6[m5] = r5.transform(d6[m5]));
2182
+ v5.h = 3;
2177
2183
  break;
2178
2184
  case 14:
2179
- t2[w2] = v2.i;
2185
+ t4[w4] = v5.i;
2180
2186
  case 3:
2181
- f2 = l2.next();
2182
- v2.h = 2;
2187
+ f6 = l5.next();
2188
+ v5.h = 2;
2183
2189
  break;
2184
2190
  case 4:
2185
- return v2.return(d10);
2191
+ return v5.return(d6);
2186
2192
  }
2187
2193
  });
2188
2194
  }
2189
- function ld(a10, b10, c10) {
2190
- var d10;
2191
- return E2(function(e10) {
2192
- return "number" === typeof c10 || c10 instanceof Uint8Array || c10 instanceof a10.i.Uint8BlobList ? e10.return(c10) : c10 instanceof a10.i.Texture2dDataOut ? (d10 = a10.v[b10], d10 || (d10 = new Wc(a10.i, a10.K), a10.v[b10] = d10), e10.return(Xc(d10, c10, a10.M))) : e10.return(void 0);
2195
+ function ld(a14, b6, c6) {
2196
+ var d6;
2197
+ return E4(function(e6) {
2198
+ return "number" === typeof c6 || c6 instanceof Uint8Array || c6 instanceof a14.i.Uint8BlobList ? e6.return(c6) : c6 instanceof a14.i.Texture2dDataOut ? (d6 = a14.v[b6], d6 || (d6 = new Wc(a14.i, a14.K), a14.v[b6] = d6), e6.return(Xc(d6, c6, a14.M))) : e6.return(void 0);
2193
2199
  });
2194
2200
  }
2195
- function id(a10, b10) {
2196
- for (var c10 = b10.name || "$", d10 = [].concat(ea2(b10.wants)), e10 = new a10.i.StringList(), g2 = A2(b10.wants), f2 = g2.next(); !f2.done; f2 = g2.next()) e10.push_back(f2.value);
2197
- g2 = a10.i.PacketListener.implement({ onResults: function(h2) {
2198
- for (var k2 = {}, l2 = 0; l2 < b10.wants.length; ++l2) k2[d10[l2]] = h2.get(l2);
2199
- var m2 = a10.listeners[c10];
2200
- m2 && (a10.I = kd(a10, k2, b10.outs).then(function(r2) {
2201
- r2 = m2(r2);
2202
- for (var p2 = 0; p2 < b10.wants.length; ++p2) {
2203
- var n2 = k2[d10[p2]];
2204
- "object" === typeof n2 && n2.hasOwnProperty && n2.hasOwnProperty("delete") && n2.delete();
2201
+ function id(a14, b6) {
2202
+ for (var c6 = b6.name || "$", d6 = [].concat(ea(b6.wants)), e6 = new a14.i.StringList(), g5 = A4(b6.wants), f6 = g5.next(); !f6.done; f6 = g5.next()) e6.push_back(f6.value);
2203
+ g5 = a14.i.PacketListener.implement({ onResults: function(h5) {
2204
+ for (var k5 = {}, l5 = 0; l5 < b6.wants.length; ++l5) k5[d6[l5]] = h5.get(l5);
2205
+ var m5 = a14.listeners[c6];
2206
+ m5 && (a14.I = kd(a14, k5, b6.outs).then(function(r5) {
2207
+ r5 = m5(r5);
2208
+ for (var p6 = 0; p6 < b6.wants.length; ++p6) {
2209
+ var n4 = k5[d6[p6]];
2210
+ "object" === typeof n4 && n4.hasOwnProperty && n4.hasOwnProperty("delete") && n4.delete();
2205
2211
  }
2206
- r2 && (a10.I = r2);
2212
+ r5 && (a14.I = r5);
2207
2213
  }));
2208
2214
  } });
2209
- a10.j.attachMultiListener(e10, g2);
2210
- e10.delete();
2215
+ a14.j.attachMultiListener(e6, g5);
2216
+ e6.delete();
2211
2217
  }
2212
- x2.onResults = function(a10, b10) {
2213
- this.listeners[b10 || "$"] = a10;
2218
+ x4.onResults = function(a14, b6) {
2219
+ this.listeners[b6 || "$"] = a14;
2214
2220
  };
2215
- Aa("Solution", ed2);
2221
+ Aa("Solution", ed);
2216
2222
  Aa("OptionType", { BOOL: 0, NUMBER: 1, ua: 2, 0: "BOOL", 1: "NUMBER", 2: "STRING" });
2217
- function md(a10) {
2218
- void 0 === a10 && (a10 = 0);
2219
- switch (a10) {
2223
+ function md(a14) {
2224
+ void 0 === a14 && (a14 = 0);
2225
+ switch (a14) {
2220
2226
  case 1:
2221
2227
  return "selfie_segmentation_landscape.tflite";
2222
2228
  default:
2223
2229
  return "selfie_segmentation.tflite";
2224
2230
  }
2225
2231
  }
2226
- function nd(a10) {
2227
- var b10 = this;
2228
- a10 = a10 || {};
2229
- this.h = new ed2({ locateFile: a10.locateFile, files: function(c10) {
2230
- return [{ simd: true, url: "selfie_segmentation_solution_simd_wasm_bin.js" }, { simd: false, url: "selfie_segmentation_solution_wasm_bin.js" }, { data: true, url: md(c10.modelSelection) }];
2232
+ function nd(a14) {
2233
+ var b6 = this;
2234
+ a14 = a14 || {};
2235
+ this.h = new ed({ locateFile: a14.locateFile, files: function(c6) {
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(c6.modelSelection) }];
2231
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: {
2232
2238
  type: "video",
2233
2239
  stream: "input_frames_gpu"
2234
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: {
2235
2241
  type: 1,
2236
2242
  graphOptionXref: { calculatorType: "ConstantSidePacketCalculator", calculatorName: "ConstantSidePacketCalculatorModelSelection", fieldName: "int_value" },
2237
- onChange: function(c10) {
2238
- var d10, e10, g2;
2239
- return E2(function(f2) {
2240
- if (1 == f2.h) return d10 = md(c10), e10 = "third_party/mediapipe/modules/selfie_segmentation/" + d10, D2(f2, gd(b10.h, d10), 2);
2241
- g2 = f2.i;
2242
- b10.h.overrideFile(e10, g2);
2243
- return f2.return(true);
2243
+ onChange: function(c6) {
2244
+ var d6, e6, g5;
2245
+ return E4(function(f6) {
2246
+ if (1 == f6.h) return d6 = md(c6), e6 = "third_party/mediapipe/modules/selfie_segmentation/" + d6, D4(f6, gd(b6.h, d6), 2);
2247
+ g5 = f6.i;
2248
+ b6.h.overrideFile(e6, g5);
2249
+ return f6.return(true);
2244
2250
  });
2245
2251
  }
2246
2252
  } } });
2247
2253
  }
2248
- x2 = nd.prototype;
2249
- x2.close = function() {
2254
+ x4 = nd.prototype;
2255
+ x4.close = function() {
2250
2256
  this.h.close();
2251
2257
  return Promise.resolve();
2252
2258
  };
2253
- x2.onResults = function(a10) {
2254
- this.h.onResults(a10);
2259
+ x4.onResults = function(a14) {
2260
+ this.h.onResults(a14);
2255
2261
  };
2256
- x2.initialize = function() {
2257
- var a10 = this;
2258
- return E2(function(b10) {
2259
- return D2(b10, a10.h.initialize(), 0);
2262
+ x4.initialize = function() {
2263
+ var a14 = this;
2264
+ return E4(function(b6) {
2265
+ return D4(b6, a14.h.initialize(), 0);
2260
2266
  });
2261
2267
  };
2262
- x2.reset = function() {
2268
+ x4.reset = function() {
2263
2269
  this.h.reset();
2264
2270
  };
2265
- x2.send = function(a10) {
2266
- var b10 = this;
2267
- return E2(function(c10) {
2268
- return D2(c10, b10.h.send(a10), 0);
2271
+ x4.send = function(a14) {
2272
+ var b6 = this;
2273
+ return E4(function(c6) {
2274
+ return D4(c6, b6.h.send(a14), 0);
2269
2275
  });
2270
2276
  };
2271
- x2.setOptions = function(a10) {
2272
- this.h.setOptions(a10);
2277
+ x4.setOptions = function(a14) {
2278
+ this.h.setOptions(a14);
2273
2279
  };
2274
2280
  Aa("SelfieSegmentation", nd);
2275
2281
  Aa("VERSION", "0.1.1675465747");
@@ -2277,6 +2283,39 @@ function requireSelfie_segmentation() {
2277
2283
  return selfie_segmentation;
2278
2284
  }
2279
2285
  var selfie_segmentationExports = /* @__PURE__ */ requireSelfie_segmentation();
2286
+ function compositeVirtualBackgroundFrame({
2287
+ ctx,
2288
+ segmentationMask,
2289
+ sourceImage,
2290
+ backgroundImage = null,
2291
+ width,
2292
+ height,
2293
+ repeatPattern = "repeat",
2294
+ blurFallbackPixels = 0
2295
+ }) {
2296
+ const previousFilter = ctx.filter;
2297
+ ctx.save();
2298
+ try {
2299
+ ctx.clearRect(0, 0, width, height);
2300
+ ctx.globalCompositeOperation = "source-over";
2301
+ ctx.drawImage(segmentationMask, 0, 0, width, height);
2302
+ ctx.globalCompositeOperation = "source-in";
2303
+ ctx.drawImage(sourceImage, 0, 0, width, height);
2304
+ ctx.globalCompositeOperation = "destination-over";
2305
+ if (backgroundImage) {
2306
+ const pattern = ctx.createPattern(backgroundImage, repeatPattern);
2307
+ ctx.fillStyle = pattern || "transparent";
2308
+ ctx.fillRect(0, 0, width, height);
2309
+ } else if (blurFallbackPixels > 0) {
2310
+ ctx.filter = `blur(${blurFallbackPixels}px)`;
2311
+ ctx.drawImage(sourceImage, 0, 0, width, height);
2312
+ }
2313
+ } finally {
2314
+ ctx.filter = previousFilter || "none";
2315
+ ctx.globalCompositeOperation = "source-over";
2316
+ ctx.restore();
2317
+ }
2318
+ }
2280
2319
  const MEDIAPIPE_CDN = "https://cdn.jsdelivr.net/npm/@mediapipe/selfie_segmentation";
2281
2320
  let session = null;
2282
2321
  function loadImage(src) {
@@ -2308,20 +2347,26 @@ async function applyVirtualBackground({
2308
2347
  if (!sourceTrack || sourceTrack.readyState !== "live") {
2309
2348
  return { ok: false, error: "Turn your camera on before applying a background.", stream: null };
2310
2349
  }
2311
- if (session) {
2312
- session.stop();
2313
- session = null;
2314
- }
2350
+ const previousSession = session;
2351
+ let candidateStop = null;
2315
2352
  try {
2316
2353
  const settings = sourceTrack.getSettings ? sourceTrack.getSettings() : {};
2317
2354
  const width = Number(settings.width) || 640;
2318
2355
  const height = Number(settings.height) || 360;
2319
2356
  const backgroundImage = typeof image === "string" ? await loadImage(image) : image;
2357
+ const producer = publish ? live.videoProducer || live.localVideoProducer : null;
2358
+ const processingTrack = sourceTrack.clone?.();
2359
+ if (!processingTrack) throw new Error("This camera cannot create the isolated track required for a virtual background.");
2360
+ const restoreTrack = producer ? sourceTrack.clone?.() : sourceTrack;
2361
+ if (!restoreTrack) {
2362
+ processingTrack.stop();
2363
+ throw new Error("This camera cannot preserve a track for restoring the original view.");
2364
+ }
2320
2365
  const video = document.createElement("video");
2321
2366
  video.autoplay = true;
2322
2367
  video.muted = true;
2323
2368
  video.playsInline = true;
2324
- video.srcObject = new MediaStream([sourceTrack]);
2369
+ video.srcObject = new MediaStream([processingTrack]);
2325
2370
  await video.play().catch(() => {
2326
2371
  });
2327
2372
  const canvas = document.createElement("canvas");
@@ -2338,18 +2383,14 @@ async function applyVirtualBackground({
2338
2383
  segmentation.onResults((results) => {
2339
2384
  try {
2340
2385
  if (!canvas.width || !canvas.height) return;
2341
- ctx.save();
2342
- ctx.clearRect(0, 0, canvas.width, canvas.height);
2343
- ctx.drawImage(results.segmentationMask, 0, 0, canvas.width, canvas.height);
2344
- ctx.globalCompositeOperation = "source-out";
2345
- if (backgroundImage) {
2346
- const pattern = ctx.createPattern(backgroundImage, "repeat");
2347
- ctx.fillStyle = pattern || "transparent";
2348
- ctx.fillRect(0, 0, canvas.width, canvas.height);
2349
- }
2350
- ctx.globalCompositeOperation = "destination-atop";
2351
- ctx.drawImage(results.image, 0, 0, canvas.width, canvas.height);
2352
- ctx.restore();
2386
+ compositeVirtualBackgroundFrame({
2387
+ ctx,
2388
+ segmentationMask: results.segmentationMask,
2389
+ sourceImage: results.image,
2390
+ backgroundImage,
2391
+ width: canvas.width,
2392
+ height: canvas.height
2393
+ });
2353
2394
  } catch {
2354
2395
  }
2355
2396
  });
@@ -2379,25 +2420,30 @@ async function applyVirtualBackground({
2379
2420
  } catch {
2380
2421
  }
2381
2422
  processed.getTracks().forEach((track) => track.stop());
2423
+ processingTrack.stop();
2382
2424
  video.srcObject = null;
2383
2425
  };
2384
- session = { stop, stream: processed, sourceTrack };
2385
- live.updateVirtualStream?.(processed);
2386
- live.updateProcessedStream?.(processed);
2387
- live.updateKeepBackground?.(true);
2388
- if (publish) {
2389
- const producer = live.videoProducer || live.localVideoProducer;
2426
+ candidateStop = stop;
2427
+ if (producer) {
2390
2428
  const track = processed.getVideoTracks()[0];
2391
2429
  if (producer && typeof producer.replaceTrack === "function" && track) {
2392
2430
  await producer.replaceTrack({ track });
2393
2431
  }
2432
+ if (camera?.removeTrack && camera?.addTrack && restoreTrack !== sourceTrack) {
2433
+ camera.removeTrack(sourceTrack);
2434
+ camera.addTrack(restoreTrack);
2435
+ if (sourceTrack.readyState === "live") sourceTrack.stop();
2436
+ }
2394
2437
  }
2438
+ previousSession?.stop();
2439
+ session = { stop, stream: processed, restoreTrack };
2440
+ candidateStop = null;
2441
+ live.updateVirtualStream?.(processed);
2442
+ live.updateProcessedStream?.(processed);
2443
+ live.updateKeepBackground?.(true);
2395
2444
  return { ok: true, error: "", stream: processed };
2396
2445
  } catch (error) {
2397
- if (session) {
2398
- session.stop();
2399
- session = null;
2400
- }
2446
+ candidateStop?.();
2401
2447
  return {
2402
2448
  ok: false,
2403
2449
  error: error?.message || "The virtual background could not be applied.",
@@ -2416,7 +2462,7 @@ async function clearVirtualBackground({
2416
2462
  }
2417
2463
  try {
2418
2464
  const producer = live.videoProducer || live.localVideoProducer;
2419
- const original = active.sourceTrack;
2465
+ const original = active.restoreTrack;
2420
2466
  if (producer && typeof producer.replaceTrack === "function" && original && original.readyState === "live") {
2421
2467
  await producer.replaceTrack({ track: original });
2422
2468
  }
@@ -2434,350 +2480,351 @@ function isVirtualBackgroundRunning() {
2434
2480
  return session !== null;
2435
2481
  }
2436
2482
  export {
2437
- bN as COMMON_LANGUAGE_CODES,
2438
- c4 as MediaStream,
2439
- c5 as MediaStreamTrack,
2440
- cg as QnHDCons,
2441
- cq as QnHDConsNeu,
2442
- cl as QnHDConsPort,
2443
- cv as QnHDFrameRate,
2444
- c6 as RTCView,
2445
- bG as SUPPORTED_LANGUAGE_CODES,
2446
- bT as SoundPlayer,
2447
- bP as TTS_PROVIDERS,
2448
- cc as aParams,
2449
- b4 as addPanelist,
2450
- e as addVideosGrid,
2451
- c as addedAsPanelist,
2452
- cD as allMembers,
2453
- cE as allMembersRest,
2454
- cC as allWaitingRoomMembers,
2483
+ COMMON_LANGUAGE_CODES,
2484
+ MediaStream2 as MediaStream,
2485
+ MediaStreamTrack,
2486
+ Q2 as QnHDCons,
2487
+ u3 as QnHDConsNeu,
2488
+ m3 as QnHDConsPort,
2489
+ A2 as QnHDFrameRate,
2490
+ RTCView,
2491
+ SUPPORTED_LANGUAGE_CODES,
2492
+ SoundPlayer,
2493
+ TTS_PROVIDERS,
2494
+ f3 as aParams,
2495
+ addPanelist,
2496
+ a as addVideosGrid,
2497
+ addedAsPanelist,
2498
+ allMembers,
2499
+ allMembersRest,
2500
+ allWaitingRoomMembers,
2455
2501
  applyVirtualBackground,
2456
- e7 as assignParticipantToBreakoutRoom,
2457
- el as attachPlayback,
2458
- al as autoAdjust,
2459
- cF as banParticipant,
2460
- a4 as breakoutRoomUpdated,
2461
- ax as buildAddVideosGridPlan,
2462
- aB as buildMainHostCardPlan,
2463
- aA as buildMainScreenState,
2464
- aD as buildPrepopulateUserMediaPlan,
2465
- aC as buildScreenShareHostCardPlan,
2466
- ba as bulkUpdateParticipantPermissions,
2467
- am as calculateRowsAndColumns,
2468
- ad as captureCanvasStream,
2469
- g as changeVids,
2470
- an as checkGrid,
2471
- a7 as checkLimitsAndMakeRequest,
2472
- a6 as checkLimitsAndMakeRequestWithStorage,
2473
- ai as checkMediasfuURL,
2474
- bj as checkPauseState,
2475
- ao as checkPermission,
2476
- bk as checkResumeState,
2477
- i as checkScreenShare,
2502
+ aD as assignParticipantToBreakoutRoom,
2503
+ aR as attachPlayback,
2504
+ Y as autoAdjust,
2505
+ banParticipant,
2506
+ b as breakoutRoomUpdated,
2507
+ b4 as buildAddVideosGridPlan,
2508
+ d4 as buildMainHostCardPlan,
2509
+ c4 as buildMainScreenState,
2510
+ f4 as buildPrepopulateUserMediaPlan,
2511
+ e4 as buildScreenShareHostCardPlan,
2512
+ bulkUpdateParticipantPermissions,
2513
+ Z as calculateRowsAndColumns,
2514
+ e3 as captureCanvasStream,
2515
+ a2 as changeVids,
2516
+ _ as checkGrid,
2517
+ a10 as checkLimitsAndMakeRequest,
2518
+ c3 as checkLimitsAndMakeRequestWithStorage,
2519
+ d as checkMediasfuURL,
2520
+ w3 as checkPauseState,
2521
+ $ as checkPermission,
2522
+ x3 as checkResumeState,
2523
+ b2 as checkScreenShare,
2478
2524
  clearVirtualBackground,
2479
- a9 as clickAudio,
2480
- bA as clickChat,
2481
- aa as clickScreenShare,
2482
- ab as clickVideo,
2483
- j as closeAndResize,
2484
- k as compareActiveNames,
2485
- l as compareScreenStates,
2486
- aU as confirmExit,
2487
- bl as confirmRecording,
2488
- ej as confirmStillHere,
2489
- m as connectIps,
2490
- n as connectLocalIps,
2491
- dl as connectLocalSocket,
2492
- o as connectRecvTransport,
2493
- q as connectSendTransport,
2494
- s as connectSendTransportAudio,
2495
- t as connectSendTransportScreen,
2496
- w as connectSendTransportVideo,
2497
- dj as connectSocket,
2498
- f as consumerResume,
2499
- ap as controlMedia,
2500
- cG as controlMediaHost,
2501
- ae as createDeviceClient,
2502
- bB as createLiveSubtitle,
2503
- c7 as createResponseJoinRoom,
2504
- c9 as createRoomOnMediaSFU,
2505
- dX as createRoomPoll,
2506
- x as createSendTransport,
2507
- eo as createViewerSession,
2508
- em as detachPlayback,
2509
- dH as disableParticipantVideo,
2510
- cH as disconnect,
2511
- y as disconnectSendTransportAudio,
2512
- z as disconnectSendTransportScreen,
2513
- A as disconnectSendTransportVideo,
2514
- dk as disconnectSocket,
2515
- cI as disconnectUserSelf,
2516
- B as dispStreams,
2517
- dZ as endRoomPoll,
2518
- bS as fetchLanguagesViaSocket,
2519
- bR as fetchVoicesViaSocket,
2520
- cj as fhdCons,
2521
- ct as fhdConsNeu,
2522
- co as fhdConsPort,
2523
- cy as fhdFrameRate,
2524
- aJ as findOriginalProducerForSpeaker,
2525
- ec as flipCamera,
2526
- b6 as focusPanelists,
2527
- bX as formatNumber,
2528
- C as generatePageContent,
2529
- bY as generateRandomMessages,
2530
- bZ as generateRandomParticipants,
2531
- b_ as generateRandomPolls,
2532
- b$ as generateRandomRequestList,
2533
- c0 as generateRandomWaitingRoomList,
2534
- dA as getActiveSpeaker,
2535
- aI as getActiveTranslationConsumers,
2536
- dt as getAudioGridComponents,
2537
- bQ as getAvailableVoices,
2538
- d_ as getBreakoutState,
2539
- ep as getCaptureLimits,
2540
- ef as getChatMessages,
2541
- bO as getCommonLanguages,
2525
+ b3 as clickAudio,
2526
+ clickChat,
2527
+ d3 as clickScreenShare,
2528
+ W as clickVideo,
2529
+ d2 as closeAndResize,
2530
+ e2 as compareActiveNames,
2531
+ f2 as compareScreenStates,
2532
+ compositeVirtualBackgroundFrame,
2533
+ f5 as confirmExit,
2534
+ y3 as confirmRecording,
2535
+ aP as confirmStillHere,
2536
+ g as connectIps,
2537
+ h as connectLocalIps,
2538
+ aa as connectLocalSocket,
2539
+ i as connectRecvTransport,
2540
+ j2 as connectSendTransport,
2541
+ k as connectSendTransportAudio,
2542
+ l as connectSendTransportScreen,
2543
+ m2 as connectSendTransportVideo,
2544
+ a8 as connectSocket,
2545
+ c2 as consumerResume,
2546
+ a0 as controlMedia,
2547
+ controlMediaHost,
2548
+ c as createDeviceClient,
2549
+ createLiveSubtitle,
2550
+ createResponseJoinRoom,
2551
+ createRoomOnMediaSFU,
2552
+ ar as createRoomPoll,
2553
+ n as createSendTransport,
2554
+ aU as createViewerSession,
2555
+ aS as detachPlayback,
2556
+ ab as disableParticipantVideo,
2557
+ disconnect,
2558
+ o as disconnectSendTransportAudio,
2559
+ p2 as disconnectSendTransportScreen,
2560
+ q as disconnectSendTransportVideo,
2561
+ a9 as disconnectSocket,
2562
+ disconnectUserSelf,
2563
+ r as dispStreams,
2564
+ at as endRoomPoll,
2565
+ fetchLanguagesViaSocket,
2566
+ fetchVoicesViaSocket,
2567
+ l2 as fhdCons,
2568
+ y2 as fhdConsNeu,
2569
+ p3 as fhdConsPort,
2570
+ D2 as fhdFrameRate,
2571
+ k3 as findOriginalProducerForSpeaker,
2572
+ aI as flipCamera,
2573
+ focusPanelists,
2574
+ formatNumber,
2575
+ s as generatePageContent,
2576
+ generateRandomMessages,
2577
+ generateRandomParticipants,
2578
+ generateRandomPolls,
2579
+ generateRandomRequestList,
2580
+ generateRandomWaitingRoomList,
2581
+ a42 as getActiveSpeaker,
2582
+ j4 as getActiveTranslationConsumers,
2583
+ Z2 as getAudioGridComponents,
2584
+ getAvailableVoices,
2585
+ au as getBreakoutState,
2586
+ aV as getCaptureLimits,
2587
+ aL as getChatMessages,
2588
+ getCommonLanguages,
2542
2589
  getCurrentParams,
2543
- cJ as getDomains,
2544
- aq as getEstimate,
2545
- e3 as getFocusModeState,
2546
- bL as getLanguageMetadata,
2547
- bJ as getLanguageName,
2548
- bK as getLanguageNativeName,
2549
- dr as getLocalAudioStream,
2590
+ getDomains,
2591
+ a1 as getEstimate,
2592
+ az as getFocusModeState,
2593
+ getLanguageMetadata,
2594
+ getLanguageName,
2595
+ getLanguageNativeName,
2596
+ X2 as getLocalAudioStream,
2550
2597
  getLocalVideoStream,
2551
- ea as getLocallyPausedProducerIds,
2552
- dD as getMediaPermissions,
2553
- bV as getModalPosition,
2554
- dE as getModerationPermissions,
2555
- bU as getOverlayPosition,
2556
- ew as getParticipantMedia,
2557
- dy as getParticipantMediaState,
2558
- eg as getPendingApprovals,
2559
- ar as getPipedProducersAlt,
2560
- ek as getPlaybackSources,
2561
- dW as getPollState,
2562
- ei as getPresenceCheck,
2563
- as as getProducersPiped,
2564
- e0 as getRecordingCapabilities,
2565
- d$ as getRecordingNotice,
2566
- dO as getRecordingState,
2567
- dp as getRemoteAudioStreams,
2568
- dn as getRemoteVideoStreams,
2569
- dm as getRoomReadiness,
2570
- ds as getScreenShareStream,
2571
- dC as getSelectedDevices,
2572
- eh as getSessionTimer,
2573
- bF as getSubtitleForSpeaker,
2574
- bM as getSupportedLanguages,
2575
- e1 as getTranslationState,
2576
- D as getVideos,
2577
- e4 as getVirtualBackgroundState,
2578
- dT as getWhiteboardState,
2579
- cd as hParams,
2580
- bc as handleCreatePoll,
2581
- bh as handleCreateRoom,
2582
- bd as handleEndPoll,
2583
- bi as handleJoinRoom,
2584
- aN as handleStartBreakout,
2585
- dg as handleStartWhiteboard,
2586
- aO as handleStopBreakout,
2587
- dh as handleStopWhiteboard,
2588
- be as handleVotePoll,
2589
- h as handleWelcomeRequest,
2590
- ci as hdCons,
2591
- cs as hdConsNeu,
2592
- cn as hdConsPort,
2593
- cx as hdFrameRate,
2594
- a8 as hostRequestResponse,
2595
- c1 as initialValuesState,
2596
- aH as isConsumingTranslationForSpeaker,
2597
- bI as isLanguageSupported,
2598
- aE as isSpeakerInMyBreakoutRoom,
2599
- bC as isSubtitleExpired,
2598
+ aG as getLocallyPausedProducerIds,
2599
+ a72 as getMediaPermissions,
2600
+ N2 as getModalPosition,
2601
+ a82 as getModerationPermissions,
2602
+ getOverlayPosition,
2603
+ b0 as getParticipantMedia,
2604
+ a23 as getParticipantMediaState,
2605
+ aM as getPendingApprovals,
2606
+ a22 as getPipedProducersAlt,
2607
+ aQ as getPlaybackSources,
2608
+ aq as getPollState,
2609
+ aO as getPresenceCheck,
2610
+ a3 as getProducersPiped,
2611
+ aw as getRecordingCapabilities,
2612
+ av as getRecordingNotice,
2613
+ ai as getRecordingState,
2614
+ V2 as getRemoteAudioStreams,
2615
+ U2 as getRemoteVideoStreams,
2616
+ T2 as getRoomReadiness,
2617
+ Y2 as getScreenShareStream,
2618
+ a62 as getSelectedDevices,
2619
+ aN as getSessionTimer,
2620
+ getSubtitleForSpeaker,
2621
+ getSupportedLanguages,
2622
+ ax as getTranslationState,
2623
+ t as getVideos,
2624
+ aA as getVirtualBackgroundState,
2625
+ an as getWhiteboardState,
2626
+ g2 as hParams,
2627
+ q3 as handleCreatePoll,
2628
+ handleCreateRoom,
2629
+ t3 as handleEndPoll,
2630
+ handleJoinRoom,
2631
+ h4 as handleStartBreakout,
2632
+ Q3 as handleStartWhiteboard,
2633
+ a12 as handleStopBreakout,
2634
+ R2 as handleStopWhiteboard,
2635
+ u4 as handleVotePoll,
2636
+ handleWelcomeRequest,
2637
+ k2 as hdCons,
2638
+ x2 as hdConsNeu,
2639
+ o2 as hdConsPort,
2640
+ C2 as hdFrameRate,
2641
+ h2 as hostRequestResponse,
2642
+ initialValuesState,
2643
+ h3 as isConsumingTranslationForSpeaker,
2644
+ isLanguageSupported,
2645
+ i3 as isSpeakerInMyBreakoutRoom,
2646
+ isSubtitleExpired,
2600
2647
  isVirtualBackgroundRunning,
2601
- ah as joinConRoom,
2602
- a1 as joinConsumeRoom,
2603
- aj as joinLocalRoom,
2604
- ak as joinRoom,
2605
- af as joinRoomClient,
2606
- c8 as joinRoomOnMediaSFU,
2607
- aM as launchBackground,
2608
- aP as launchBreakoutRooms,
2609
- aQ as launchCoHost,
2610
- di as launchConfigureWhiteboard,
2611
- aV as launchConfirmExit,
2612
- aS as launchDisplaySettings,
2613
- aW as launchMediaSettings,
2614
- aX as launchMenuModal,
2615
- aY as launchMessages,
2616
- b2 as launchPanelists,
2617
- a_ as launchParticipants,
2618
- b8 as launchPermissions,
2619
- bf as launchPoll,
2620
- bm as launchRecording,
2621
- bu as launchRequests,
2622
- bw as launchSettings,
2623
- de as launchWaiting,
2624
- dv as leaveRoom,
2625
- dB as listMediaDevices,
2626
- dz as listParticipantMediaStates,
2627
- c2 as mediaDevices,
2628
- cK as meetingEnded,
2629
- cL as meetingStillThere,
2630
- cb as meetingTimeRemaining,
2631
- a$ as messageParticipants,
2632
- E as mixStreams,
2633
- aR as modifyCoHostSettings,
2634
- aT as modifyDisplaySettings,
2635
- a5 as modifySettings,
2636
- dJ as muteEveryone,
2637
- dG as muteParticipant,
2638
- b0 as muteParticipants,
2639
- a2 as newPipeProducer,
2640
- bH as normalizeLanguageCode,
2641
- F as onScreenChanges,
2642
- b as panelistControlMedia,
2643
- a as panelistFocusChanged,
2644
- p as panelistsUpdated,
2645
- cM as participantRequested,
2646
- aF as pauseOriginalProducer,
2647
- dQ as pauseRoomRecording,
2648
- cO as permissionConfigUpdated,
2649
- cN as permissionUpdated,
2650
- cP as personJoined,
2651
- bg as pollUpdated,
2652
- G as prepopulateUserMedia,
2653
- H as processConsumerTransports,
2654
- I as processConsumerTransportsAudio,
2655
- es as produceCanvas,
2656
- eu as produceDisplay,
2657
- et as produceElement,
2658
- eq as produceMedia,
2659
- a3 as producerClosed,
2660
- cQ as producerMediaClosed,
2661
- cR as producerMediaPaused,
2662
- cS as producerMediaResumed,
2663
- bD as pruneExpiredSubtitles,
2664
- en as publishWhip,
2665
- ck as qhdCons,
2666
- cu as qhdConsNeu,
2667
- cp as qhdConsPort,
2668
- cz as qhdFrameRate,
2669
- cV as reInitiateRecording,
2670
- M as rePort,
2671
- Q as reUpdateInter,
2672
- J as readjust,
2673
- e9 as reapplyLocalPlayback,
2674
- K as receiveAllPipedTransports,
2675
- cT as receiveMessage,
2676
- at as receiveRoomMessages,
2677
- bn as recordPauseTimer,
2678
- bo as recordResumeTimer,
2679
- bp as recordStartTimer,
2680
- bq as recordUpdateTimer,
2681
- cU as recordingNotice,
2682
- c3 as registerGlobals,
2683
- b5 as removePanelist,
2684
- dK as removeParticipant,
2685
- b1 as removeParticipants,
2686
- r as removedFromPanelists,
2687
- L as reorderStreams,
2688
- ev as replaceProducerTrack,
2689
- N as requestScreenShare,
2690
- az as resolveHostVideoStream,
2691
- ay as resolveMainHostRenderMode,
2692
- dM as respondToParticipantRequest,
2693
- bv as respondToRequests,
2694
- df as respondToWaiting,
2695
- dL as respondToWaitingParticipant,
2696
- aG as resumeOriginalProducer,
2697
- O as resumePauseAudioStreams,
2698
- P as resumePauseStreams,
2699
- dR as resumeRoomRecording,
2700
- au as resumeSendTransportAudio,
2701
- cW as roomRecordParams,
2702
- dx as runMediaControl,
2703
- cA as screenFrameRate,
2704
- cf as screenParams,
2705
- cX as screenProducerId,
2706
- ch as sdCons,
2707
- cr as sdConsNeu,
2708
- cm as sdConsPort,
2709
- cw as sdFrameRate,
2710
- X as selectVideoProducerCodec,
2711
- dw as sendChatMessage,
2712
- aZ as sendMessage,
2713
- e6 as setBreakoutRooms,
2714
- dN as setCoHost,
2715
- dF as setParticipantMedia,
2716
- e5 as setParticipantPlayback,
2717
- ee as setRoomMediaPolicy,
2718
- e2 as setTranslationPreference,
2719
- R as signalNewConsumerTransport,
2720
- bW as sleep,
2721
- ca as startMeetingProgressTimer,
2722
- br as startRecording,
2723
- cY as startRecords,
2724
- dP as startRoomRecording,
2725
- S as startShareScreen,
2726
- dU as startWhiteboard,
2727
- e8 as stopBreakoutRooms,
2728
- aK as stopConsumingTranslation,
2729
- dI as stopParticipantScreenShare,
2730
- er as stopProducing,
2731
- bs as stopRecording,
2732
- dS as stopRoomRecording,
2733
- T as stopShareScreen,
2734
- dV as stopWhiteboard,
2735
- cZ as stoppedRecording,
2736
- U as streamSuccessAudio,
2737
- V as streamSuccessAudioSwitch,
2738
- W as streamSuccessScreen,
2739
- Y as streamSuccessVideo,
2740
- bx as switchAudio,
2741
- eb as switchCamera,
2742
- ed as switchMicrophone,
2743
- Z as switchUserAudio,
2744
- _ as switchUserVideo,
2745
- $ as switchUserVideoAlt,
2746
- by as switchVideo,
2747
- bz as switchVideoAlt,
2748
- aL as syncTranslationStateAfterBreakoutChange,
2749
- ac as timeLeftRecording,
2750
- d5 as translationChannelsAvailable,
2751
- c$ as translationConfigUpdated,
2752
- d7 as translationError,
2753
- d0 as translationLanguageSet,
2754
- d6 as translationMemberState,
2755
- d4 as translationProducerClosed,
2756
- d3 as translationProducerReady,
2757
- c_ as translationRoomConfig,
2758
- d9 as translationSpeakerOutputChanged,
2759
- d1 as translationSubscribed,
2760
- d8 as translationTranscript,
2761
- d2 as translationUnsubscribed,
2762
- a0 as trigger,
2763
- b7 as unfocusPanelists,
2764
- db as updateConsumingDomains,
2765
- bE as updateLiveSubtitlesFromTranscript,
2766
- da as updateMediaSettings,
2767
- u as updateMicLevel,
2768
- av as updateMiniCardsGrid,
2769
- b3 as updatePanelists,
2770
- aw as updateParticipantAudioDecibels,
2771
- b9 as updateParticipantPermission,
2772
- bb as updatePermissionConfig,
2773
- bt as updateRecording,
2774
- ag as updateRoomParametersClient,
2775
- dc as updatedCoHost,
2776
- dd as userWaiting,
2777
- ce as vParams,
2778
- cB as validateAlphanumeric,
2779
- v as validateWelcomeAlphanumeric,
2780
- d as validateWelcomeInputs,
2781
- dY as voteInRoomPoll
2648
+ X as joinConRoom,
2649
+ T as joinConsumeRoom,
2650
+ e as joinLocalRoom,
2651
+ f as joinRoom,
2652
+ j as joinRoomClient,
2653
+ j3 as joinRoomOnMediaSFU,
2654
+ l4 as launchBackground,
2655
+ b5 as launchBreakoutRooms,
2656
+ c5 as launchCoHost,
2657
+ S2 as launchConfigureWhiteboard,
2658
+ g4 as launchConfirmExit,
2659
+ d5 as launchDisplaySettings,
2660
+ i4 as launchMediaSettings,
2661
+ j5 as launchMenuModal,
2662
+ k4 as launchMessages,
2663
+ launchPanelists,
2664
+ n3 as launchParticipants,
2665
+ launchPermissions,
2666
+ v3 as launchPoll,
2667
+ z3 as launchRecording,
2668
+ H2 as launchRequests,
2669
+ J2 as launchSettings,
2670
+ O2 as launchWaiting,
2671
+ $2 as leaveRoom,
2672
+ a52 as listMediaDevices,
2673
+ a32 as listParticipantMediaStates,
2674
+ mediaDevices,
2675
+ meetingEnded,
2676
+ meetingStillThere,
2677
+ meetingTimeRemaining,
2678
+ o3 as messageParticipants,
2679
+ v as mixStreams,
2680
+ m4 as modifyCoHostSettings,
2681
+ e5 as modifyDisplaySettings,
2682
+ m as modifySettings,
2683
+ ad as muteEveryone,
2684
+ aa2 as muteParticipant,
2685
+ p5 as muteParticipants,
2686
+ U as newPipeProducer,
2687
+ normalizeLanguageCode,
2688
+ w as onScreenChanges,
2689
+ panelistControlMedia,
2690
+ panelistFocusChanged,
2691
+ panelistsUpdated,
2692
+ participantRequested,
2693
+ p4 as pauseOriginalProducer,
2694
+ ak as pauseRoomRecording,
2695
+ permissionConfigUpdated,
2696
+ permissionUpdated,
2697
+ personJoined,
2698
+ pollUpdated,
2699
+ p as prepopulateUserMedia,
2700
+ x as processConsumerTransports,
2701
+ y as processConsumerTransportsAudio,
2702
+ aY as produceCanvas,
2703
+ a_ as produceDisplay,
2704
+ aZ as produceElement,
2705
+ aW as produceMedia,
2706
+ V as producerClosed,
2707
+ producerMediaClosed,
2708
+ producerMediaPaused,
2709
+ producerMediaResumed,
2710
+ pruneExpiredSubtitles,
2711
+ aT as publishWhip,
2712
+ q2 as qhdCons,
2713
+ z2 as qhdConsNeu,
2714
+ r2 as qhdConsPort,
2715
+ E2 as qhdFrameRate,
2716
+ reInitiateRecording,
2717
+ C as rePort,
2718
+ G as reUpdateInter,
2719
+ z as readjust,
2720
+ aF as reapplyLocalPlayback,
2721
+ A as receiveAllPipedTransports,
2722
+ receiveMessage,
2723
+ a4 as receiveRoomMessages,
2724
+ A3 as recordPauseTimer,
2725
+ B3 as recordResumeTimer,
2726
+ C3 as recordStartTimer,
2727
+ D3 as recordUpdateTimer,
2728
+ recordingNotice,
2729
+ registerGlobals,
2730
+ removePanelist,
2731
+ ae as removeParticipant,
2732
+ r4 as removeParticipants,
2733
+ removedFromPanelists,
2734
+ B as reorderStreams,
2735
+ a$ as replaceProducerTrack,
2736
+ D as requestScreenShare,
2737
+ a11 as resolveHostVideoStream,
2738
+ r3 as resolveMainHostRenderMode,
2739
+ ag as respondToParticipantRequest,
2740
+ I2 as respondToRequests,
2741
+ P2 as respondToWaiting,
2742
+ af as respondToWaitingParticipant,
2743
+ g3 as resumeOriginalProducer,
2744
+ E as resumePauseAudioStreams,
2745
+ F as resumePauseStreams,
2746
+ al as resumeRoomRecording,
2747
+ a5 as resumeSendTransportAudio,
2748
+ roomRecordParams,
2749
+ a13 as runMediaControl,
2750
+ F2 as screenFrameRate,
2751
+ s2 as screenParams,
2752
+ screenProducerId,
2753
+ i2 as sdCons,
2754
+ w2 as sdConsNeu,
2755
+ n2 as sdConsPort,
2756
+ B2 as sdFrameRate,
2757
+ N as selectVideoProducerCodec,
2758
+ a02 as sendChatMessage,
2759
+ s4 as sendMessage,
2760
+ aC as setBreakoutRooms,
2761
+ ah as setCoHost,
2762
+ a92 as setParticipantMedia,
2763
+ aB as setParticipantPlayback,
2764
+ aK as setRoomMediaPolicy,
2765
+ ay as setTranslationPreference,
2766
+ H as signalNewConsumerTransport,
2767
+ sleep,
2768
+ startMeetingProgressTimer,
2769
+ E3 as startRecording,
2770
+ startRecords,
2771
+ aj as startRoomRecording,
2772
+ I as startShareScreen,
2773
+ ao as startWhiteboard,
2774
+ aE as stopBreakoutRooms,
2775
+ s3 as stopConsumingTranslation,
2776
+ ac as stopParticipantScreenShare,
2777
+ aX as stopProducing,
2778
+ F3 as stopRecording,
2779
+ am as stopRoomRecording,
2780
+ J as stopShareScreen,
2781
+ ap as stopWhiteboard,
2782
+ stoppedRecording,
2783
+ K as streamSuccessAudio,
2784
+ L as streamSuccessAudioSwitch,
2785
+ M as streamSuccessScreen,
2786
+ O as streamSuccessVideo,
2787
+ K2 as switchAudio,
2788
+ aH as switchCamera,
2789
+ aJ as switchMicrophone,
2790
+ P as switchUserAudio,
2791
+ Q as switchUserVideo,
2792
+ R as switchUserVideoAlt,
2793
+ L2 as switchVideo,
2794
+ M2 as switchVideoAlt,
2795
+ l3 as syncTranslationStateAfterBreakoutChange,
2796
+ t2 as timeLeftRecording,
2797
+ translationChannelsAvailable,
2798
+ translationConfigUpdated,
2799
+ translationError,
2800
+ translationLanguageSet,
2801
+ translationMemberState,
2802
+ translationProducerClosed,
2803
+ translationProducerReady,
2804
+ translationRoomConfig,
2805
+ translationSpeakerOutputChanged,
2806
+ translationSubscribed,
2807
+ translationTranscript,
2808
+ translationUnsubscribed,
2809
+ S as trigger,
2810
+ unfocusPanelists,
2811
+ updateConsumingDomains,
2812
+ updateLiveSubtitlesFromTranscript,
2813
+ updateMediaSettings,
2814
+ u2 as updateMicLevel,
2815
+ a6 as updateMiniCardsGrid,
2816
+ updatePanelists,
2817
+ a7 as updateParticipantAudioDecibels,
2818
+ updateParticipantPermission,
2819
+ updatePermissionConfig,
2820
+ G2 as updateRecording,
2821
+ u as updateRoomParametersClient,
2822
+ updatedCoHost,
2823
+ userWaiting,
2824
+ v2 as vParams,
2825
+ v4 as validateAlphanumeric,
2826
+ validateWelcomeAlphanumeric,
2827
+ validateWelcomeInputs,
2828
+ as as voteInRoomPoll
2782
2829
  };
2783
2830
  //# sourceMappingURL=index.js.map