interview-widget 3.1.17 → 3.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/media/audio-visualizer.d.ts +2 -1
- package/dist/components/modals/mic-hint-card.d.ts +1 -1
- package/dist/widget.3.1.18.css +1 -0
- package/dist/{widget.es.3.1.17.js → widget.es.3.1.18.js} +515 -498
- package/dist/{widget.umd.3.1.17.js → widget.umd.3.1.18.js} +5 -5
- package/package.json +9 -9
- package/dist/widget.3.1.17.css +0 -1
|
@@ -416,13 +416,13 @@ const lu = (e) => {
|
|
|
416
416
|
);
|
|
417
417
|
}, uu = (e) => {
|
|
418
418
|
const t = D(null), i = D(null), [r, n] = T(!1), [o, s] = T(!1), [a, l] = T(null), [d, u] = T([]), [h, w] = T([]), [f, g] = T(""), [y, b] = T(""), [p, v] = T(!1), x = M(() => {
|
|
419
|
-
i.current && (i.current.getTracks().forEach((
|
|
419
|
+
i.current && (i.current.getTracks().forEach((C) => C.stop()), i.current = null, l(null));
|
|
420
420
|
}, []), E = M(async () => {
|
|
421
|
-
var
|
|
421
|
+
var C, A, U, j;
|
|
422
422
|
try {
|
|
423
423
|
const z = await navigator.mediaDevices.enumerateDevices(), X = z.filter((B) => B.kind === "audioinput"), P = z.filter((B) => B.kind === "videoinput");
|
|
424
424
|
if (u(X), w(P), !f && X.length > 0) {
|
|
425
|
-
const B = (
|
|
425
|
+
const B = (C = i.current) == null ? void 0 : C.getAudioTracks()[0], ee = B == null ? void 0 : B.getSettings().deviceId;
|
|
426
426
|
g(ee || ((A = X[0]) == null ? void 0 : A.deviceId) || "");
|
|
427
427
|
}
|
|
428
428
|
if (!y && P.length > 0) {
|
|
@@ -432,7 +432,7 @@ const lu = (e) => {
|
|
|
432
432
|
} catch (z) {
|
|
433
433
|
console.error("Error enumerating devices:", z);
|
|
434
434
|
}
|
|
435
|
-
}, [f, y]),
|
|
435
|
+
}, [f, y]), N = M(async (C, A) => {
|
|
436
436
|
const U = {
|
|
437
437
|
width: { ideal: 1280 },
|
|
438
438
|
height: { ideal: 720 },
|
|
@@ -443,7 +443,7 @@ const lu = (e) => {
|
|
|
443
443
|
autoGainControl: !0,
|
|
444
444
|
sampleRate: { ideal: 16e3 },
|
|
445
445
|
channelCount: { ideal: 1 },
|
|
446
|
-
...
|
|
446
|
+
...C ? { deviceId: { exact: C } } : {}
|
|
447
447
|
};
|
|
448
448
|
let z = null;
|
|
449
449
|
try {
|
|
@@ -467,17 +467,17 @@ const lu = (e) => {
|
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
469
|
z ? (i.current = z, l(z), t.current && (t.current.srcObject = z, await t.current.play().catch((X) => console.error("Error playing video element", X)))) : (i.current = null, l(null)), await E();
|
|
470
|
-
}, [E]), k = async (
|
|
471
|
-
|
|
472
|
-
}, V = async (
|
|
473
|
-
|
|
470
|
+
}, [E]), k = async (C) => {
|
|
471
|
+
C !== f && (v(!0), g(C), x(), await N(C, y), v(!1));
|
|
472
|
+
}, V = async (C) => {
|
|
473
|
+
C !== y && (v(!0), b(C), x(), await N(f, C), v(!1));
|
|
474
474
|
};
|
|
475
475
|
return O(() => {
|
|
476
476
|
if (!e) {
|
|
477
477
|
x();
|
|
478
478
|
return;
|
|
479
479
|
}
|
|
480
|
-
return
|
|
480
|
+
return N(), () => x();
|
|
481
481
|
}, [e]), {
|
|
482
482
|
videoRef: t,
|
|
483
483
|
audioAllowed: r,
|
|
@@ -662,7 +662,7 @@ const lu = (e) => {
|
|
|
662
662
|
)
|
|
663
663
|
]
|
|
664
664
|
}
|
|
665
|
-
),
|
|
665
|
+
), Na = ({
|
|
666
666
|
className: e,
|
|
667
667
|
...t
|
|
668
668
|
}) => /* @__PURE__ */ c("div", { children: /* @__PURE__ */ m(
|
|
@@ -733,11 +733,7 @@ const lu = (e) => {
|
|
|
733
733
|
/* @__PURE__ */ c("path", { d: "M11 8H13", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
|
|
734
734
|
/* @__PURE__ */ c("path", { d: "M2 11C2 7.70017 2 6.05025 3.02513 5.02513C4.05025 4 5.70017 4 9 4H10C13.2998 4 14.9497 4 15.9749 5.02513C17 6.05025 17 7.70017 17 11V13C17 16.2998 17 17.9497 15.9749 18.9749C14.9497 20 13.2998 20 10 20H9C5.70017 20 4.05025 20 3.02513 18.9749C2 17.9497 2 16.2998 2 13V11Z", stroke: "currentColor", strokeWidth: "1.5" }),
|
|
735
735
|
/* @__PURE__ */ c("path", { d: "M17 8.90585L17.1259 8.80196C19.2417 7.05623 20.2996 6.18336 21.1498 6.60482C22 7.02628 22 8.42355 22 11.2181V12.7819C22 15.5765 22 16.9737 21.1498 17.3952C20.2996 17.8166 19.2417 16.9438 17.1259 15.198L17 15.0941", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
736
|
-
] }), bu = (e) => /* @__PURE__ */ m(
|
|
737
|
-
/* @__PURE__ */ c("path", { d: "M8.16651 8.63991V5.35747C8.16651 3.52277 8.16651 2.60542 7.62675 2.37712C7.08699 2.14882 6.45168 2.79749 5.18119 4.09482C4.52323 4.76666 4.14784 4.91543 3.2117 4.91543C2.39301 4.91543 1.98366 4.91543 1.68961 5.11606C1.07921 5.53252 1.17148 6.34653 1.17148 6.9987C1.17148 7.65086 1.07921 8.46485 1.68961 8.88135C1.98366 9.08196 2.39301 9.08196 3.2117 9.08196C4.14784 9.08196 4.52323 9.23076 5.18119 9.90259C6.45168 11.1999 7.08699 11.8486 7.62675 11.6203C8.16651 11.392 8.16651 10.4746 8.16651 8.63991Z", stroke: "currentColor", strokeWidth: "0.875", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
738
|
-
/* @__PURE__ */ c("path", { d: "M9.9165 5.25C10.2813 5.72815 10.4998 6.33698 10.4998 7C10.4998 7.66302 10.2813 8.27184 9.9165 8.75", stroke: "currentColor", strokeWidth: "0.875", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
739
|
-
/* @__PURE__ */ c("path", { d: "M11.6665 4.08203C12.3961 4.87894 12.8332 5.89369 12.8332 6.9987C12.8332 8.10371 12.3961 9.11847 11.6665 9.91536", stroke: "currentColor", strokeWidth: "0.875", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
740
|
-
] }), vu = (e) => /* @__PURE__ */ m(
|
|
736
|
+
] }), bu = (e) => /* @__PURE__ */ m(
|
|
741
737
|
"svg",
|
|
742
738
|
{
|
|
743
739
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -763,7 +759,7 @@ const lu = (e) => {
|
|
|
763
759
|
LOOKING_AWAY: "looking_away",
|
|
764
760
|
CAMERA_ERROR: "camera_error",
|
|
765
761
|
MODEL_LOADING: "model_loading"
|
|
766
|
-
},
|
|
762
|
+
}, Ca = {
|
|
767
763
|
[Re.FACE_DETECTED]: {
|
|
768
764
|
icon: fu,
|
|
769
765
|
iconColor: "iw-text-green-600",
|
|
@@ -824,7 +820,7 @@ const lu = (e) => {
|
|
|
824
820
|
description: "The face detection model is being loaded. This should only take a moment.",
|
|
825
821
|
buttonText: "Wait"
|
|
826
822
|
}
|
|
827
|
-
},
|
|
823
|
+
}, vu = ({
|
|
828
824
|
gazeAnalysisEnabled: e,
|
|
829
825
|
isModelLoaded: t,
|
|
830
826
|
stats: i,
|
|
@@ -901,7 +897,7 @@ const lu = (e) => {
|
|
|
901
897
|
/* @__PURE__ */ c("br", {}),
|
|
902
898
|
"Enable to track engagement and attention levels."
|
|
903
899
|
] })
|
|
904
|
-
] }) }),
|
|
900
|
+
] }) }), xu = ({
|
|
905
901
|
showControls: e,
|
|
906
902
|
isBubbleOpen: t,
|
|
907
903
|
setIsBubbleOpen: i,
|
|
@@ -996,7 +992,7 @@ const lu = (e) => {
|
|
|
996
992
|
)
|
|
997
993
|
] }),
|
|
998
994
|
a && /* @__PURE__ */ c(
|
|
999
|
-
|
|
995
|
+
vu,
|
|
1000
996
|
{
|
|
1001
997
|
gazeAnalysisEnabled: s,
|
|
1002
998
|
isModelLoaded: o,
|
|
@@ -1024,12 +1020,12 @@ function jt() {
|
|
|
1024
1020
|
function cs(e, t) {
|
|
1025
1021
|
return t = String.fromCharCode.apply(null, t), e == null ? t : e + t;
|
|
1026
1022
|
}
|
|
1027
|
-
let
|
|
1028
|
-
const
|
|
1029
|
-
let
|
|
1030
|
-
const
|
|
1023
|
+
let Cr, kn;
|
|
1024
|
+
const Eu = typeof TextDecoder < "u";
|
|
1025
|
+
let _u;
|
|
1026
|
+
const ku = typeof TextEncoder < "u";
|
|
1031
1027
|
function Sa(e) {
|
|
1032
|
-
if (
|
|
1028
|
+
if (ku) e = (_u || (_u = new TextEncoder())).encode(e);
|
|
1033
1029
|
else {
|
|
1034
1030
|
let i = 0;
|
|
1035
1031
|
const r = new Uint8Array(3 * e.length);
|
|
@@ -1064,7 +1060,7 @@ function Ia(e) {
|
|
|
1064
1060
|
throw e;
|
|
1065
1061
|
}, 0);
|
|
1066
1062
|
}
|
|
1067
|
-
var Pn,
|
|
1063
|
+
var Pn, Au = cr(610401301, !1), ls = cr(748402147, !0), ao = cr(824648567, !0), co = cr(824656860, cr(1, !0));
|
|
1068
1064
|
function us() {
|
|
1069
1065
|
var e = pi.navigator;
|
|
1070
1066
|
return e && (e = e.userAgent) ? e : "";
|
|
@@ -1077,7 +1073,7 @@ Pn = ds && ds.userAgentData || null, Xr[" "] = function() {
|
|
|
1077
1073
|
};
|
|
1078
1074
|
const Fa = {};
|
|
1079
1075
|
let tr = null;
|
|
1080
|
-
function
|
|
1076
|
+
function Tu(e) {
|
|
1081
1077
|
const t = e.length;
|
|
1082
1078
|
let i = 3 * t / 4;
|
|
1083
1079
|
i % 3 ? i = Math.floor(i) : "=.".indexOf(e[t - 1]) != -1 && (i = "=.".indexOf(e[t - 2]) != -1 ? i - 2 : i - 1);
|
|
@@ -1117,14 +1113,14 @@ function Ra() {
|
|
|
1117
1113
|
}
|
|
1118
1114
|
}
|
|
1119
1115
|
}
|
|
1120
|
-
var Nu = typeof Uint8Array < "u", La = !(!(
|
|
1121
|
-
const hs = /[-_.]/g,
|
|
1122
|
-
function
|
|
1123
|
-
return
|
|
1116
|
+
var Nu = typeof Uint8Array < "u", La = !(!(Au && Pn && Pn.brands.length > 0) && (us().indexOf("Trident") != -1 || us().indexOf("MSIE") != -1)) && typeof btoa == "function";
|
|
1117
|
+
const hs = /[-_.]/g, Cu = { "-": "+", _: "/", ".": "=" };
|
|
1118
|
+
function Su(e) {
|
|
1119
|
+
return Cu[e] || "";
|
|
1124
1120
|
}
|
|
1125
1121
|
function Ma(e) {
|
|
1126
|
-
if (!La) return
|
|
1127
|
-
e = hs.test(e) ? e.replace(hs,
|
|
1122
|
+
if (!La) return Tu(e);
|
|
1123
|
+
e = hs.test(e) ? e.replace(hs, Su) : e, e = atob(e);
|
|
1128
1124
|
const t = new Uint8Array(e.length);
|
|
1129
1125
|
for (let i = 0; i < e.length; i++) t[i] = e.charCodeAt(i);
|
|
1130
1126
|
return t;
|
|
@@ -1134,7 +1130,7 @@ function lo(e) {
|
|
|
1134
1130
|
}
|
|
1135
1131
|
var yi = {};
|
|
1136
1132
|
function Jt() {
|
|
1137
|
-
return
|
|
1133
|
+
return Iu || (Iu = new ht(null, yi));
|
|
1138
1134
|
}
|
|
1139
1135
|
function uo(e) {
|
|
1140
1136
|
Da(yi);
|
|
@@ -1149,7 +1145,7 @@ var ht = class {
|
|
|
1149
1145
|
if (Da(t), this.g = e, e != null && e.length === 0) throw Error("ByteString should be constructed with non-empty values");
|
|
1150
1146
|
}
|
|
1151
1147
|
};
|
|
1152
|
-
let
|
|
1148
|
+
let Iu, Fu;
|
|
1153
1149
|
function Da(e) {
|
|
1154
1150
|
if (e !== yi) throw Error("illegal external caller");
|
|
1155
1151
|
}
|
|
@@ -1161,7 +1157,7 @@ function On(e) {
|
|
|
1161
1157
|
}
|
|
1162
1158
|
function bi(e, t) {
|
|
1163
1159
|
if (e != null) {
|
|
1164
|
-
var i =
|
|
1160
|
+
var i = Fu ?? (Fu = {}), r = i[e] || 0;
|
|
1165
1161
|
r >= t || (i[e] = r + 1, Pa(e = Error(), "incident"), Ia(e));
|
|
1166
1162
|
}
|
|
1167
1163
|
}
|
|
@@ -1172,8 +1168,8 @@ var Ri = typeof Symbol == "function" && typeof Symbol() == "symbol";
|
|
|
1172
1168
|
function wt(e, t, i = !1) {
|
|
1173
1169
|
return typeof Symbol == "function" && typeof Symbol() == "symbol" ? i && Symbol.for && e ? Symbol.for(e) : e != null ? Symbol(e) : Symbol() : t;
|
|
1174
1170
|
}
|
|
1175
|
-
var
|
|
1176
|
-
const Oa = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Ba = Object.defineProperties, S = Ri ?
|
|
1171
|
+
var Ru = wt("jas", void 0, !0), ws = wt(void 0, "0di"), Zi = wt(void 0, "1oa"), Ve = wt(void 0, Symbol()), Lu = wt(void 0, "0ub"), Mu = wt(void 0, "0ubs"), Bn = wt(void 0, "0ubsb"), Du = wt(void 0, "0actk"), vi = wt("m_m", "Pa", !0), fs = wt();
|
|
1172
|
+
const Oa = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Ba = Object.defineProperties, S = Ri ? Ru : "Ga";
|
|
1177
1173
|
var ti;
|
|
1178
1174
|
const ms = [];
|
|
1179
1175
|
function mr(e, t) {
|
|
@@ -1217,7 +1213,7 @@ class gs {
|
|
|
1217
1213
|
return this;
|
|
1218
1214
|
}
|
|
1219
1215
|
}
|
|
1220
|
-
var
|
|
1216
|
+
var Pu = Object.freeze({});
|
|
1221
1217
|
function Ua(e, t, i) {
|
|
1222
1218
|
const r = 128 & t ? 0 : -1, n = e.length;
|
|
1223
1219
|
var o;
|
|
@@ -1236,16 +1232,16 @@ function Li(e) {
|
|
|
1236
1232
|
function Qr(e) {
|
|
1237
1233
|
return e.Na = !0, e;
|
|
1238
1234
|
}
|
|
1239
|
-
var
|
|
1235
|
+
var Ou = Qr((e) => typeof e == "number"), ps = Qr((e) => typeof e == "string"), Bu = Qr((e) => typeof e == "boolean"), Jr = typeof pi.BigInt == "function" && typeof pi.BigInt(0) == "bigint";
|
|
1240
1236
|
function Ge(e) {
|
|
1241
1237
|
var t = e;
|
|
1242
1238
|
if (ps(t)) {
|
|
1243
1239
|
if (!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(t)) throw Error(String(t));
|
|
1244
|
-
} else if (
|
|
1245
|
-
return Jr ? BigInt(e) : e =
|
|
1240
|
+
} else if (Ou(t) && !Number.isSafeInteger(t)) throw Error(String(t));
|
|
1241
|
+
return Jr ? BigInt(e) : e = Bu(e) ? e ? "1" : "0" : ps(e) ? e.trim() || "0" : String(e);
|
|
1246
1242
|
}
|
|
1247
|
-
var Un = Qr((e) => Jr ? e >=
|
|
1248
|
-
const
|
|
1243
|
+
var Un = Qr((e) => Jr ? e >= Vu && e <= ju : e[0] === "-" ? ys(e, Uu) : ys(e, Gu));
|
|
1244
|
+
const Uu = Number.MIN_SAFE_INTEGER.toString(), Vu = Jr ? BigInt(Number.MIN_SAFE_INTEGER) : void 0, Gu = Number.MAX_SAFE_INTEGER.toString(), ju = Jr ? BigInt(Number.MAX_SAFE_INTEGER) : void 0;
|
|
1249
1245
|
function ys(e, t) {
|
|
1250
1246
|
if (e.length > t.length) return !1;
|
|
1251
1247
|
if (e.length < t.length || e === t) return !0;
|
|
@@ -1255,8 +1251,8 @@ function ys(e, t) {
|
|
|
1255
1251
|
if (r < n) return !0;
|
|
1256
1252
|
}
|
|
1257
1253
|
}
|
|
1258
|
-
const
|
|
1259
|
-
let
|
|
1254
|
+
const $u = typeof Uint8Array.prototype.slice == "function";
|
|
1255
|
+
let zu, oe = 0, he = 0;
|
|
1260
1256
|
function bs(e) {
|
|
1261
1257
|
const t = e >>> 0;
|
|
1262
1258
|
oe = t, he = (e - t) / 4294967296 >>> 0;
|
|
@@ -1269,14 +1265,14 @@ function Ei(e) {
|
|
|
1269
1265
|
} else bs(e);
|
|
1270
1266
|
}
|
|
1271
1267
|
function wo(e) {
|
|
1272
|
-
const t =
|
|
1268
|
+
const t = zu || (zu = new DataView(new ArrayBuffer(8)));
|
|
1273
1269
|
t.setFloat32(0, +e, !0), he = 0, oe = t.getUint32(0, !0);
|
|
1274
1270
|
}
|
|
1275
1271
|
function Vn(e, t) {
|
|
1276
1272
|
const i = 4294967296 * t + (e >>> 0);
|
|
1277
1273
|
return Number.isSafeInteger(i) ? i : ur(e, t);
|
|
1278
1274
|
}
|
|
1279
|
-
function
|
|
1275
|
+
function Wu(e, t) {
|
|
1280
1276
|
return Ge(Fi() ? BigInt.asUintN(64, (BigInt(t >>> 0) << BigInt(32)) + BigInt(e >>> 0)) : ur(e, t));
|
|
1281
1277
|
}
|
|
1282
1278
|
function fo(e, t) {
|
|
@@ -1326,7 +1322,7 @@ function go(e, t) {
|
|
|
1326
1322
|
function it(e) {
|
|
1327
1323
|
return Array.prototype.slice.call(e);
|
|
1328
1324
|
}
|
|
1329
|
-
const pr = typeof BigInt == "function" ? BigInt.asIntN : void 0,
|
|
1325
|
+
const pr = typeof BigInt == "function" ? BigInt.asIntN : void 0, Hu = typeof BigInt == "function" ? BigInt.asUintN : void 0, ei = Number.isSafeInteger, en = Number.isFinite, _i = Math.trunc, qu = Ge(0);
|
|
1330
1326
|
function ir(e) {
|
|
1331
1327
|
if (e != null && typeof e != "number") throw Error(`Value of float/double field must be a number, found ${typeof e}: ${e}`);
|
|
1332
1328
|
return e;
|
|
@@ -1344,7 +1340,7 @@ function dr(e) {
|
|
|
1344
1340
|
function ja(e) {
|
|
1345
1341
|
return e == null || typeof e == "boolean" ? e : typeof e == "number" ? !!e : void 0;
|
|
1346
1342
|
}
|
|
1347
|
-
const
|
|
1343
|
+
const Ku = /^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;
|
|
1348
1344
|
function yr(e) {
|
|
1349
1345
|
switch (typeof e) {
|
|
1350
1346
|
case "bigint":
|
|
@@ -1352,7 +1348,7 @@ function yr(e) {
|
|
|
1352
1348
|
case "number":
|
|
1353
1349
|
return en(e);
|
|
1354
1350
|
case "string":
|
|
1355
|
-
return
|
|
1351
|
+
return Ku.test(e);
|
|
1356
1352
|
default:
|
|
1357
1353
|
return !1;
|
|
1358
1354
|
}
|
|
@@ -1387,7 +1383,7 @@ function Ha(e) {
|
|
|
1387
1383
|
function qa(e) {
|
|
1388
1384
|
return ei(e) ? e = Ge(po(e)) : (e = _i(e), ei(e) ? e = String(e) : (Ei(e), e = mo(oe, he)), e = Ge(e)), e;
|
|
1389
1385
|
}
|
|
1390
|
-
function
|
|
1386
|
+
function Yu(e) {
|
|
1391
1387
|
return e == null ? e : typeof e == "bigint" ? (Un(e) ? e = Number(e) : (e = pr(64, e), e = Un(e) ? Number(e) : String(e)), e) : yr(e) ? typeof e == "number" ? po(e) : Wa(e) : void 0;
|
|
1392
1388
|
}
|
|
1393
1389
|
function Pr(e) {
|
|
@@ -1408,7 +1404,7 @@ function ke(e) {
|
|
|
1408
1404
|
function yo(e, t, i, r) {
|
|
1409
1405
|
return e != null && e[vi] === xi ? e : Array.isArray(e) ? ((r = (i = 0 | e[S]) | 32 & r | 2 & r) !== i && ye(e, r), new t(e)) : (i ? 2 & r ? ((e = t[ws]) || (gr((e = new t()).v), e = t[ws] = e), t = e) : t = new t() : t = void 0, t);
|
|
1410
1406
|
}
|
|
1411
|
-
function
|
|
1407
|
+
function Xu(e, t, i) {
|
|
1412
1408
|
if (t) e: {
|
|
1413
1409
|
if (!yr(t = e)) throw On("int64");
|
|
1414
1410
|
switch (typeof t) {
|
|
@@ -1423,10 +1419,10 @@ function Qu(e, t, i) {
|
|
|
1423
1419
|
}
|
|
1424
1420
|
}
|
|
1425
1421
|
else t = Pr(e);
|
|
1426
|
-
return (e = t) == null ? i ?
|
|
1422
|
+
return (e = t) == null ? i ? qu : void 0 : e;
|
|
1427
1423
|
}
|
|
1428
|
-
const
|
|
1429
|
-
let
|
|
1424
|
+
const Qu = {};
|
|
1425
|
+
let Ju = function() {
|
|
1430
1426
|
try {
|
|
1431
1427
|
return Xr(new class extends Map {
|
|
1432
1428
|
constructor() {
|
|
@@ -1472,7 +1468,7 @@ class An {
|
|
|
1472
1468
|
return this.entries();
|
|
1473
1469
|
}
|
|
1474
1470
|
}
|
|
1475
|
-
const
|
|
1471
|
+
const Zu = Ju ? (Object.setPrototypeOf(An.prototype, Map.prototype), Object.defineProperties(An.prototype, { size: { value: 0, configurable: !0, enumerable: !0, writable: !0 } }), An) : class extends Map {
|
|
1476
1472
|
constructor() {
|
|
1477
1473
|
super();
|
|
1478
1474
|
}
|
|
@@ -1483,9 +1479,9 @@ function xs(e) {
|
|
|
1483
1479
|
function Tn(e) {
|
|
1484
1480
|
if (2 & e.J) throw Error("Cannot mutate an immutable Map");
|
|
1485
1481
|
}
|
|
1486
|
-
var vt = class extends
|
|
1482
|
+
var vt = class extends Zu {
|
|
1487
1483
|
constructor(e, t, i = xs, r = xs) {
|
|
1488
|
-
super(), this.J = 0 | e[S], this.K = t, this.S = i, this.fa = this.K ?
|
|
1484
|
+
super(), this.J = 0 | e[S], this.K = t, this.S = i, this.fa = this.K ? ed : r;
|
|
1489
1485
|
for (let n = 0; n < e.length; n++) {
|
|
1490
1486
|
const o = e[n], s = i(o[0], !1, !0);
|
|
1491
1487
|
let a = o[1];
|
|
@@ -1504,7 +1500,7 @@ var vt = class extends ed {
|
|
|
1504
1500
|
entries() {
|
|
1505
1501
|
if (this.K) {
|
|
1506
1502
|
var e = super.keys();
|
|
1507
|
-
e = new gs(e,
|
|
1503
|
+
e = new gs(e, td, this);
|
|
1508
1504
|
} else e = super.entries();
|
|
1509
1505
|
return e;
|
|
1510
1506
|
}
|
|
@@ -1542,15 +1538,15 @@ var vt = class extends ed {
|
|
|
1542
1538
|
return this.entries();
|
|
1543
1539
|
}
|
|
1544
1540
|
};
|
|
1545
|
-
function
|
|
1541
|
+
function ed(e, t, i, r, n, o) {
|
|
1546
1542
|
return e = yo(e, r, i, o), n && (e = vo(e)), e;
|
|
1547
1543
|
}
|
|
1548
|
-
function
|
|
1544
|
+
function td(e) {
|
|
1549
1545
|
return [e, this.get(e)];
|
|
1550
1546
|
}
|
|
1551
|
-
let
|
|
1547
|
+
let id;
|
|
1552
1548
|
function Es() {
|
|
1553
|
-
return
|
|
1549
|
+
return id || (id = new vt(gr([]), void 0, void 0, void 0, Qu));
|
|
1554
1550
|
}
|
|
1555
1551
|
function tn(e) {
|
|
1556
1552
|
return Ve ? e[Ve] : void 0;
|
|
@@ -1561,15 +1557,15 @@ function Or(e, t) {
|
|
|
1561
1557
|
vt.prototype.toJSON = void 0;
|
|
1562
1558
|
var Gn = class {
|
|
1563
1559
|
};
|
|
1564
|
-
const
|
|
1565
|
-
function
|
|
1566
|
-
t < 100 || bi(
|
|
1560
|
+
const rd = { Ka: !0 };
|
|
1561
|
+
function nd(e, t) {
|
|
1562
|
+
t < 100 || bi(Mu, 1);
|
|
1567
1563
|
}
|
|
1568
1564
|
function rn(e, t, i, r) {
|
|
1569
1565
|
const n = r !== void 0;
|
|
1570
1566
|
r = !!r;
|
|
1571
1567
|
var o, s = Ve;
|
|
1572
|
-
!n && Ri && s && (o = e[s]) && Or(o,
|
|
1568
|
+
!n && Ri && s && (o = e[s]) && Or(o, nd), s = [];
|
|
1573
1569
|
var a = e.length;
|
|
1574
1570
|
let l;
|
|
1575
1571
|
o = 4294967295;
|
|
@@ -1595,7 +1591,7 @@ function rn(e, t, i, r) {
|
|
|
1595
1591
|
}), g.da = f.da, g;
|
|
1596
1592
|
}(e)), s;
|
|
1597
1593
|
}
|
|
1598
|
-
function
|
|
1594
|
+
function od(e) {
|
|
1599
1595
|
return e[0] = hr(e[0]), e[1] = hr(e[1]), e;
|
|
1600
1596
|
}
|
|
1601
1597
|
function hr(e) {
|
|
@@ -1638,14 +1634,14 @@ function hr(e) {
|
|
|
1638
1634
|
}
|
|
1639
1635
|
return e;
|
|
1640
1636
|
}
|
|
1641
|
-
return e instanceof vt ? e = e.size !== 0 ? e.V(
|
|
1637
|
+
return e instanceof vt ? e = e.size !== 0 ? e.V(od) : void 0 : void 0;
|
|
1642
1638
|
}
|
|
1643
1639
|
return e;
|
|
1644
1640
|
}
|
|
1645
1641
|
function Ya(e) {
|
|
1646
1642
|
return rn(e = e.v, 0 | e[S], hr);
|
|
1647
1643
|
}
|
|
1648
|
-
let
|
|
1644
|
+
let sd, ad;
|
|
1649
1645
|
function qt(e, t) {
|
|
1650
1646
|
return Xa(e, t[0], t[1]);
|
|
1651
1647
|
}
|
|
@@ -1658,7 +1654,7 @@ function Xa(e, t, i, r = 0) {
|
|
|
1658
1654
|
if (n = 0 | e[S], ls && 1 & n) throw Error("rfarr");
|
|
1659
1655
|
if (2048 & n && !(2 & n) && function() {
|
|
1660
1656
|
if (ls) throw Error("carr");
|
|
1661
|
-
bi(
|
|
1657
|
+
bi(Du, 5);
|
|
1662
1658
|
}(), 256 & n) throw Error("farr");
|
|
1663
1659
|
if (64 & n) return (n | r) !== n && ye(e, n | r), e;
|
|
1664
1660
|
if (i && (n |= 128, i !== e[0])) throw Error("mid");
|
|
@@ -1683,7 +1679,7 @@ function Xa(e, t, i, r = 0) {
|
|
|
1683
1679
|
}
|
|
1684
1680
|
return ye(e, 64 | n | r), e;
|
|
1685
1681
|
}
|
|
1686
|
-
function
|
|
1682
|
+
function cd(e, t) {
|
|
1687
1683
|
if (typeof e != "object") return e;
|
|
1688
1684
|
if (Array.isArray(e)) {
|
|
1689
1685
|
var i = 0 | e[S];
|
|
@@ -1713,7 +1709,7 @@ function ks(e) {
|
|
|
1713
1709
|
return je(e, i) ? e : xo(e, t, i) ? bo(e, t) : Di(t, i);
|
|
1714
1710
|
}
|
|
1715
1711
|
function Di(e, t, i, r) {
|
|
1716
|
-
return r ?? (r = !!(34 & t)), e = rn(e, t,
|
|
1712
|
+
return r ?? (r = !!(34 & t)), e = rn(e, t, cd, r), r = 32, i && (r |= 2), ye(e, t = 16769217 & t | r), e;
|
|
1717
1713
|
}
|
|
1718
1714
|
function vo(e) {
|
|
1719
1715
|
const t = e.v, i = 0 | t[S];
|
|
@@ -1733,7 +1729,7 @@ function ii(e, t) {
|
|
|
1733
1729
|
function xo(e, t, i) {
|
|
1734
1730
|
return !!(2 & i) || !(!(32 & i) || 4096 & i) && (ye(t, 2 | i), e.h = Zt, !0);
|
|
1735
1731
|
}
|
|
1736
|
-
const
|
|
1732
|
+
const ld = Ge(0), Ct = {};
|
|
1737
1733
|
function ie(e, t, i, r, n) {
|
|
1738
1734
|
if ((t = xt(e.v, t, i, n)) !== null || r && e.m !== Zt) return t;
|
|
1739
1735
|
}
|
|
@@ -1768,7 +1764,7 @@ function ge(e, t, i, r, n) {
|
|
|
1768
1764
|
return o <= s ? (e[o] = r, t) : (r !== void 0 && (i >= (s = (t ?? (t = 0 | e[S])) >> 14 & 1023 || 536870912) ? r != null && (e[s + (n ? 0 : -1)] = { [i]: r }) : e[o] = r), t);
|
|
1769
1765
|
}
|
|
1770
1766
|
function zt() {
|
|
1771
|
-
return
|
|
1767
|
+
return Pu === void 0 ? 2 : 4;
|
|
1772
1768
|
}
|
|
1773
1769
|
function Wt(e, t, i, r, n) {
|
|
1774
1770
|
let o = e.v, s = 0 | o[S];
|
|
@@ -1819,7 +1815,7 @@ function Bi(e, t, i) {
|
|
|
1819
1815
|
let n = Eo(e, i, r), o = n === ti ? 7 : 0 | n[S], s = _o(o, t);
|
|
1820
1816
|
return (2 & s || Kt(s) || 16 & s) && (s === o || Kt(s) || ye(n, s), n = it(n), o = 0, s = Yt(s, t), ge(e, t, i, n, r)), s &= -13, s !== o && ye(n, s), n;
|
|
1821
1817
|
}
|
|
1822
|
-
function
|
|
1818
|
+
function Nn(e, t) {
|
|
1823
1819
|
var i = Wc;
|
|
1824
1820
|
return Ao(ko(e = e.v), e, void 0, i) === t ? t : -1;
|
|
1825
1821
|
}
|
|
@@ -1928,7 +1924,7 @@ function rr(e, t, i, r) {
|
|
|
1928
1924
|
function Yt(e, t) {
|
|
1929
1925
|
return -273 & (2 & t ? 2 | e : -3 & e);
|
|
1930
1926
|
}
|
|
1931
|
-
function
|
|
1927
|
+
function No(e, t, i, r) {
|
|
1932
1928
|
var n = r;
|
|
1933
1929
|
Oi(e), e = ic(e, r = e.v, 0 | r[S], i, t, 2, !0), n = n ?? new i(), e.push(n), t = i = e === ti ? 7 : 0 | e[S], (n = je(n)) ? (i &= -9, e.length === 1 && (i &= -4097)) : i |= 4096, i !== t && ye(e, i), n || ii(r);
|
|
1934
1930
|
}
|
|
@@ -1936,7 +1932,7 @@ function Ze(e, t, i) {
|
|
|
1936
1932
|
return Mi(ie(e, t, void 0, i));
|
|
1937
1933
|
}
|
|
1938
1934
|
function nc(e) {
|
|
1939
|
-
return (co ? ie(e, 2, void 0, void 0, Pr) : Pr(ie(e, 2))) ??
|
|
1935
|
+
return (co ? ie(e, 2, void 0, void 0, Pr) : Pr(ie(e, 2))) ?? ld;
|
|
1940
1936
|
}
|
|
1941
1937
|
function ue(e, t) {
|
|
1942
1938
|
return ie(e, t, void 0, void 0, dt) ?? 0;
|
|
@@ -1979,7 +1975,7 @@ var hi = class {
|
|
|
1979
1975
|
this.g = t;
|
|
1980
1976
|
}
|
|
1981
1977
|
};
|
|
1982
|
-
function
|
|
1978
|
+
function Co(e, t) {
|
|
1983
1979
|
if (typeof e == "string") return new hi(Ma(e), t);
|
|
1984
1980
|
if (Array.isArray(e)) return new hi(new Uint8Array(e), t);
|
|
1985
1981
|
if (e.constructor === Uint8Array) return new hi(e, !1);
|
|
@@ -2024,7 +2020,7 @@ function Ur(e) {
|
|
|
2024
2020
|
const o = t[i + 2];
|
|
2025
2021
|
return t = t[i + 3], Xt(e, e.g + 4), e = 2 * ((n = (r << 0 | n << 8 | o << 16 | t << 24) >>> 0) >> 31) + 1, r = n >>> 23 & 255, n &= 8388607, r == 255 ? n ? NaN : e * (1 / 0) : r == 0 ? 1401298464324817e-60 * e * n : e * Math.pow(2, r - 150) * (n + 8388608);
|
|
2026
2022
|
}
|
|
2027
|
-
function
|
|
2023
|
+
function ud(e) {
|
|
2028
2024
|
return Pt(e);
|
|
2029
2025
|
}
|
|
2030
2026
|
function Xt(e, t) {
|
|
@@ -2039,7 +2035,7 @@ function oc(e, t) {
|
|
|
2039
2035
|
function sc(e, t) {
|
|
2040
2036
|
if (t == 0) return Jt();
|
|
2041
2037
|
var i = oc(e, t);
|
|
2042
|
-
return e.Y && e.j ? i = e.h.subarray(i, i + t) : (e = e.h, i = i === (t = i + t) ? new Uint8Array(0) :
|
|
2038
|
+
return e.Y && e.j ? i = e.h.subarray(i, i + t) : (e = e.h, i = i === (t = i + t) ? new Uint8Array(0) : $u ? e.slice(i, t) : new Uint8Array(e.subarray(i, t))), i.length == 0 ? Jt() : new ht(i, yi);
|
|
2043
2039
|
}
|
|
2044
2040
|
var As = [];
|
|
2045
2041
|
function ac(e, t, i, r) {
|
|
@@ -2047,7 +2043,7 @@ function ac(e, t, i, r) {
|
|
|
2047
2043
|
const n = Vr.pop();
|
|
2048
2044
|
return n.o(r), n.g.init(e, t, i, r), n;
|
|
2049
2045
|
}
|
|
2050
|
-
return new
|
|
2046
|
+
return new dd(e, t, i, r);
|
|
2051
2047
|
}
|
|
2052
2048
|
function cc(e) {
|
|
2053
2049
|
e.g.clear(), e.l = -1, e.h = -1, Vr.length < 100 && Vr.push(e);
|
|
@@ -2101,24 +2097,24 @@ function vr(e, t, i) {
|
|
|
2101
2097
|
}
|
|
2102
2098
|
function Io(e) {
|
|
2103
2099
|
var t = kt(e.g), i = oc(e = e.g, t);
|
|
2104
|
-
if (e = e.h,
|
|
2100
|
+
if (e = e.h, Eu) {
|
|
2105
2101
|
var r, n = e;
|
|
2106
2102
|
(r = kn) || (r = kn = new TextDecoder("utf-8", { fatal: !0 })), t = i + t, n = i === 0 && t === n.length ? n : n.subarray(i, t);
|
|
2107
2103
|
try {
|
|
2108
2104
|
var o = r.decode(n);
|
|
2109
2105
|
} catch (a) {
|
|
2110
|
-
if (
|
|
2106
|
+
if (Cr === void 0) {
|
|
2111
2107
|
try {
|
|
2112
2108
|
r.decode(new Uint8Array([128]));
|
|
2113
2109
|
} catch {
|
|
2114
2110
|
}
|
|
2115
2111
|
try {
|
|
2116
|
-
r.decode(new Uint8Array([97])),
|
|
2112
|
+
r.decode(new Uint8Array([97])), Cr = !0;
|
|
2117
2113
|
} catch {
|
|
2118
|
-
|
|
2114
|
+
Cr = !1;
|
|
2119
2115
|
}
|
|
2120
2116
|
}
|
|
2121
|
-
throw !
|
|
2117
|
+
throw !Cr && (kn = void 0), a;
|
|
2122
2118
|
}
|
|
2123
2119
|
} else {
|
|
2124
2120
|
t = (o = i) + t, i = [];
|
|
@@ -2139,7 +2135,7 @@ function on(e, t, i) {
|
|
|
2139
2135
|
var r = kt(e.g);
|
|
2140
2136
|
for (r = e.g.g + r; e.g.g < r; ) i.push(t(e.g));
|
|
2141
2137
|
}
|
|
2142
|
-
var
|
|
2138
|
+
var dd = class {
|
|
2143
2139
|
constructor(e, t, i, r) {
|
|
2144
2140
|
if (As.length) {
|
|
2145
2141
|
const n = As.pop();
|
|
@@ -2149,7 +2145,7 @@ var hd = class {
|
|
|
2149
2145
|
this.h = null, this.j = !1, this.g = this.l = this.m = 0, this.init(n, o, s, a);
|
|
2150
2146
|
}
|
|
2151
2147
|
init(n, o, s, { Y: a = !1, ea: l = !1 } = {}) {
|
|
2152
|
-
this.Y = a, this.ea = l, n && (n =
|
|
2148
|
+
this.Y = a, this.ea = l, n && (n = Co(n, this.ea), this.h = n.buffer, this.j = n.g, this.m = o || 0, this.l = s !== void 0 ? this.m + s : this.h.length, this.g = this.m);
|
|
2153
2149
|
}
|
|
2154
2150
|
clear() {
|
|
2155
2151
|
this.h = null, this.j = !1, this.g = this.l = this.m = 0, this.Y = !1;
|
|
@@ -2162,23 +2158,23 @@ var hd = class {
|
|
|
2162
2158
|
}
|
|
2163
2159
|
}, Vr = [];
|
|
2164
2160
|
function Ts(e) {
|
|
2165
|
-
return e ? /^\d+$/.test(e) ? (Zr(e), new jn(oe, he)) : null :
|
|
2161
|
+
return e ? /^\d+$/.test(e) ? (Zr(e), new jn(oe, he)) : null : hd || (hd = new jn(0, 0));
|
|
2166
2162
|
}
|
|
2167
2163
|
var jn = class {
|
|
2168
2164
|
constructor(e, t) {
|
|
2169
2165
|
this.h = e >>> 0, this.g = t >>> 0;
|
|
2170
2166
|
}
|
|
2171
2167
|
};
|
|
2172
|
-
let
|
|
2173
|
-
function
|
|
2174
|
-
return e ? /^-?\d+$/.test(e) ? (Zr(e), new $n(oe, he)) : null :
|
|
2168
|
+
let hd;
|
|
2169
|
+
function Ns(e) {
|
|
2170
|
+
return e ? /^-?\d+$/.test(e) ? (Zr(e), new $n(oe, he)) : null : wd || (wd = new $n(0, 0));
|
|
2175
2171
|
}
|
|
2176
2172
|
var $n = class {
|
|
2177
2173
|
constructor(e, t) {
|
|
2178
2174
|
this.h = e >>> 0, this.g = t >>> 0;
|
|
2179
2175
|
}
|
|
2180
2176
|
};
|
|
2181
|
-
let
|
|
2177
|
+
let wd;
|
|
2182
2178
|
function mi(e, t, i) {
|
|
2183
2179
|
for (; i > 0 || t > 127; ) e.g.push(127 & t | 128), t = (t >>> 7 | i << 25) >>> 0, i >>>= 7;
|
|
2184
2180
|
e.g.push(t);
|
|
@@ -2226,7 +2222,7 @@ function ft() {
|
|
|
2226
2222
|
};
|
|
2227
2223
|
return Object.setPrototypeOf(e, e.prototype), e;
|
|
2228
2224
|
}
|
|
2229
|
-
var Mo = ft(), dc = ft(), Do = ft(), Po = ft(), hc = ft(), wc = ft(),
|
|
2225
|
+
var Mo = ft(), dc = ft(), Do = ft(), Po = ft(), hc = ft(), wc = ft(), fd = ft(), cn = ft(), fc = ft(), mc = ft();
|
|
2230
2226
|
function mt(e, t, i) {
|
|
2231
2227
|
var r = e.v;
|
|
2232
2228
|
Ve && Ve in r && (r = r[Ve]) && delete r[t.g], t.h ? t.j(e, t.h, t.g, i, t.l) : t.j(e, t.g, i, t.l);
|
|
@@ -2240,9 +2236,9 @@ var I = class {
|
|
|
2240
2236
|
}
|
|
2241
2237
|
j() {
|
|
2242
2238
|
var n;
|
|
2243
|
-
var e =
|
|
2244
|
-
if (Ri && r && ((n = t[r]) == null ? void 0 : n[i]) != null && bi(
|
|
2245
|
-
r(i, t,
|
|
2239
|
+
var e = Xd, t = this.v, i = e.g, r = Ve;
|
|
2240
|
+
if (Ri && r && ((n = t[r]) == null ? void 0 : n[i]) != null && bi(Lu, 3), t = e.g, fs && Ve && fs === void 0 && (r = (i = this.v)[Ve]) && (r = r.da)) try {
|
|
2241
|
+
r(i, t, rd);
|
|
2246
2242
|
} catch (o) {
|
|
2247
2243
|
Ia(o);
|
|
2248
2244
|
}
|
|
@@ -2267,12 +2263,12 @@ function ln(e, t) {
|
|
|
2267
2263
|
function gc(e, t, i, r, n) {
|
|
2268
2264
|
Gr(e, i, vc(t, r), n);
|
|
2269
2265
|
}
|
|
2270
|
-
const
|
|
2266
|
+
const md = ln(function(e, t, i, r, n) {
|
|
2271
2267
|
return e.h === 2 && (vr(e, To(t, r, i), n), !0);
|
|
2272
|
-
}, gc),
|
|
2268
|
+
}, gc), gd = ln(function(e, t, i, r, n) {
|
|
2273
2269
|
return e.h === 2 && (vr(e, To(t, r, i), n), !0);
|
|
2274
2270
|
}, gc);
|
|
2275
|
-
var un = Symbol(), dn = Symbol(), zn = Symbol(),
|
|
2271
|
+
var un = Symbol(), dn = Symbol(), zn = Symbol(), Cs = Symbol(), Ss = Symbol();
|
|
2276
2272
|
let pc, yc;
|
|
2277
2273
|
function ri(e, t, i, r) {
|
|
2278
2274
|
var n = r[e];
|
|
@@ -2280,9 +2276,9 @@ function ri(e, t, i, r) {
|
|
|
2280
2276
|
(n = {}).qa = r, n.T = function(h) {
|
|
2281
2277
|
switch (typeof h) {
|
|
2282
2278
|
case "boolean":
|
|
2283
|
-
return
|
|
2279
|
+
return sd || (sd = [0, void 0, !0]);
|
|
2284
2280
|
case "number":
|
|
2285
|
-
return h > 0 ? void 0 : h === 0 ?
|
|
2281
|
+
return h > 0 ? void 0 : h === 0 ? ad || (ad = [0, void 0]) : [-h, void 0];
|
|
2286
2282
|
case "string":
|
|
2287
2283
|
return [0, h];
|
|
2288
2284
|
case "object":
|
|
@@ -2301,7 +2297,7 @@ function ri(e, t, i, r) {
|
|
|
2301
2297
|
let h;
|
|
2302
2298
|
typeof o == "number" && (l += o, o = r[++s]);
|
|
2303
2299
|
var d = void 0;
|
|
2304
|
-
if (o instanceof Vi ? h = o : (h =
|
|
2300
|
+
if (o instanceof Vi ? h = o : (h = md, s--), h == null ? void 0 : h.l) {
|
|
2305
2301
|
o = r[++s], d = r;
|
|
2306
2302
|
var u = s;
|
|
2307
2303
|
typeof o == "function" && (o = o(), d[u] = o), d = o;
|
|
@@ -2314,7 +2310,7 @@ function ri(e, t, i, r) {
|
|
|
2314
2310
|
return r[e] = n;
|
|
2315
2311
|
}
|
|
2316
2312
|
function bc(e) {
|
|
2317
|
-
return Array.isArray(e) ? e[0] instanceof Vi ? e : [
|
|
2313
|
+
return Array.isArray(e) ? e[0] instanceof Vi ? e : [gd, e] : [e, void 0];
|
|
2318
2314
|
}
|
|
2319
2315
|
function vc(e, t) {
|
|
2320
2316
|
return e instanceof I ? e.v : Array.isArray(e) ? qt(e, t) : void 0;
|
|
@@ -2337,7 +2333,7 @@ function Uo(e) {
|
|
|
2337
2333
|
var o = n.l, s = i[o];
|
|
2338
2334
|
if (s == null) {
|
|
2339
2335
|
var a = i.ba;
|
|
2340
|
-
a && (a = a[o]) && (a =
|
|
2336
|
+
a && (a = a[o]) && (a = yd(a)) != null && (s = i[o] = a);
|
|
2341
2337
|
}
|
|
2342
2338
|
if (s == null || !s(n, r, o)) {
|
|
2343
2339
|
if (s = (a = n).m, Lr(a), a.ha) var l = void 0;
|
|
@@ -2346,9 +2342,9 @@ function Uo(e) {
|
|
|
2346
2342
|
}
|
|
2347
2343
|
}
|
|
2348
2344
|
return (r = tn(r)) && (r.da = i.qa[Ss]), !0;
|
|
2349
|
-
}, e[zn] = t, e[Ss] =
|
|
2345
|
+
}, e[zn] = t, e[Ss] = pd.bind(e), t;
|
|
2350
2346
|
}
|
|
2351
|
-
function
|
|
2347
|
+
function pd(e, t, i, r) {
|
|
2352
2348
|
var n = this[dn];
|
|
2353
2349
|
const o = this[zn], s = qt(void 0, n.T), a = tn(e);
|
|
2354
2350
|
if (a) {
|
|
@@ -2386,7 +2382,7 @@ function yd(e, t, i, r) {
|
|
|
2386
2382
|
}
|
|
2387
2383
|
}
|
|
2388
2384
|
}
|
|
2389
|
-
function
|
|
2385
|
+
function yd(e) {
|
|
2390
2386
|
const t = (e = bc(e))[0].g;
|
|
2391
2387
|
if (e = e[1]) {
|
|
2392
2388
|
const i = Uo(e), r = ri(dn, Oo, Bo, e).T;
|
|
@@ -2403,10 +2399,10 @@ function wn(e, t, i, r) {
|
|
|
2403
2399
|
e[t] = (a, l, d) => s(a, l, d, o || (o = ri(un, hn, wn, r).T), n || (n = xc(r)));
|
|
2404
2400
|
}
|
|
2405
2401
|
function xc(e) {
|
|
2406
|
-
let t = e[
|
|
2402
|
+
let t = e[Cs];
|
|
2407
2403
|
if (!t) {
|
|
2408
2404
|
const i = ri(un, hn, wn, e);
|
|
2409
|
-
t = (r, n) => Ec(r, n, i), e[
|
|
2405
|
+
t = (r, n) => Ec(r, n, i), e[Cs] = t;
|
|
2410
2406
|
}
|
|
2411
2407
|
return t;
|
|
2412
2408
|
}
|
|
@@ -2431,7 +2427,7 @@ function Ec(e, t, i) {
|
|
|
2431
2427
|
for (Ai(t, t.g.end()), r = 0; r < o.length; r++) Ai(t, uo(o[r]) || new Uint8Array(0));
|
|
2432
2428
|
});
|
|
2433
2429
|
}
|
|
2434
|
-
const
|
|
2430
|
+
const bd = Ge(0);
|
|
2435
2431
|
function Gi(e, t) {
|
|
2436
2432
|
if (Array.isArray(t)) {
|
|
2437
2433
|
var i = 0 | t[S];
|
|
@@ -2452,7 +2448,7 @@ function ji(e, t, i) {
|
|
|
2452
2448
|
function _e(e, t, i) {
|
|
2453
2449
|
ge(e, 0 | e[S], t, i, Li(0 | e[S]));
|
|
2454
2450
|
}
|
|
2455
|
-
var
|
|
2451
|
+
var vd = ln(function(e, t, i, r, n) {
|
|
2456
2452
|
if (e.h !== 2) return !1;
|
|
2457
2453
|
if (e = it(e = vr(e, qt([void 0, void 0], r), n)), n = Li(r = 0 | t[S]), 2 & r) throw Error();
|
|
2458
2454
|
let o = xt(t, i, n);
|
|
@@ -2486,7 +2482,7 @@ function kc(e, t, i) {
|
|
|
2486
2482
|
if (n === "string") return Wa(r);
|
|
2487
2483
|
if (n === "number") return po(r);
|
|
2488
2484
|
}
|
|
2489
|
-
}(t), t != null && (typeof t == "string" &&
|
|
2485
|
+
}(t), t != null && (typeof t == "string" && Ns(t), t != null))
|
|
2490
2486
|
switch (et(e, i, 0), typeof t) {
|
|
2491
2487
|
case "number":
|
|
2492
2488
|
e = e.g, Ei(t), mi(e, oe, he);
|
|
@@ -2495,7 +2491,7 @@ function kc(e, t, i) {
|
|
|
2495
2491
|
i = BigInt.asUintN(64, t), i = new $n(Number(i & BigInt(4294967295)), Number(i >> BigInt(32))), mi(e.g, i.h, i.g);
|
|
2496
2492
|
break;
|
|
2497
2493
|
default:
|
|
2498
|
-
i =
|
|
2494
|
+
i = Ns(t), mi(e.g, i.h, i.g);
|
|
2499
2495
|
}
|
|
2500
2496
|
}
|
|
2501
2497
|
function Ac(e, t, i) {
|
|
@@ -2504,21 +2500,21 @@ function Ac(e, t, i) {
|
|
|
2504
2500
|
function Tc(e, t, i) {
|
|
2505
2501
|
(t = ja(t)) != null && (et(e, i, 0), e.g.g.push(t ? 1 : 0));
|
|
2506
2502
|
}
|
|
2507
|
-
function
|
|
2503
|
+
function Nc(e, t, i) {
|
|
2508
2504
|
(t = ke(t)) != null && an(e, i, Sa(t));
|
|
2509
2505
|
}
|
|
2510
|
-
function
|
|
2506
|
+
function Cc(e, t, i, r, n) {
|
|
2511
2507
|
Gr(e, i, vc(t, r), n);
|
|
2512
2508
|
}
|
|
2513
2509
|
function Sc(e, t, i) {
|
|
2514
|
-
(t = t == null || typeof t == "string" || t instanceof ht ? t : void 0) != null && an(e, i,
|
|
2510
|
+
(t = t == null || typeof t == "string" || t instanceof ht ? t : void 0) != null && an(e, i, Co(t, !0).buffer);
|
|
2515
2511
|
}
|
|
2516
2512
|
function Ic(e, t, i) {
|
|
2517
2513
|
return (e.h === 5 || e.h === 2) && (t = Bi(t, 0 | t[S], i), e.h == 2 ? on(e, Ur, t) : t.push(Ur(e.g)), !0);
|
|
2518
2514
|
}
|
|
2519
2515
|
var we = Se(function(e, t, i) {
|
|
2520
2516
|
return e.h === 5 && (_e(t, i, Ur(e.g)), !0);
|
|
2521
|
-
}, _c, cn),
|
|
2517
|
+
}, _c, cn), xd = ji(Ic, function(e, t, i) {
|
|
2522
2518
|
if ((t = Gi(dt, t)) != null) for (let s = 0; s < t.length; s++) {
|
|
2523
2519
|
var r = e, n = i, o = t[s];
|
|
2524
2520
|
o != null && (et(r, n, 5), r = r.g, wo(o), Fo(r));
|
|
@@ -2528,19 +2524,19 @@ var we = Se(function(e, t, i) {
|
|
|
2528
2524
|
et(e, i, 2), Ui(e.g, 4 * t.length);
|
|
2529
2525
|
for (let r = 0; r < t.length; r++) i = e.g, wo(t[r]), Fo(i);
|
|
2530
2526
|
}
|
|
2531
|
-
}, cn),
|
|
2527
|
+
}, cn), Ed = Se(function(e, t, i) {
|
|
2532
2528
|
return e.h === 5 && (_e(t, i, (e = Ur(e.g)) === 0 ? void 0 : e), !0);
|
|
2533
2529
|
}, _c, cn), Ot = Se(function(e, t, i) {
|
|
2534
2530
|
return ao ? (e.h !== 0 ? e = !1 : (_e(t, i, ki(e.g, Ga)), e = !0), e) : e.h === 0 && (_e(t, i, ki(e.g, fo)), !0);
|
|
2535
|
-
}, kc, wc),
|
|
2536
|
-
return ao ? (e.h !== 0 ? t = !1 : (_e(t, i, (e = ki(e.g, Ga)) ===
|
|
2537
|
-
}, kc, wc),
|
|
2538
|
-
return ao ? (e.h !== 0 ? e = !1 : (_e(t, i, ki(e.g,
|
|
2531
|
+
}, kc, wc), Cn = Se(function(e, t, i) {
|
|
2532
|
+
return ao ? (e.h !== 0 ? t = !1 : (_e(t, i, (e = ki(e.g, Ga)) === bd ? void 0 : e), t = !0), t) : e.h === 0 && (_e(t, i, (e = ki(e.g, fo)) === 0 ? void 0 : e), !0);
|
|
2533
|
+
}, kc, wc), _d = Se(function(e, t, i) {
|
|
2534
|
+
return ao ? (e.h !== 0 ? e = !1 : (_e(t, i, ki(e.g, Wu)), e = !0), e) : e.h === 0 && (_e(t, i, ki(e.g, Vn)), !0);
|
|
2539
2535
|
}, function(e, t, i) {
|
|
2540
2536
|
if (t = function(r) {
|
|
2541
2537
|
if (r == null) return r;
|
|
2542
2538
|
var n = typeof r;
|
|
2543
|
-
if (n === "bigint") return String(
|
|
2539
|
+
if (n === "bigint") return String(Hu(64, r));
|
|
2544
2540
|
if (yr(r)) {
|
|
2545
2541
|
if (n === "string") return n = _i(Number(r)), ei(n) && n >= 0 ? r = String(n) : ((n = r.indexOf(".")) !== -1 && (r = r.substring(0, n)), (n = r[0] !== "-" && ((n = r.length) < 20 || n === 20 && r <= "18446744073709551615")) || (Zr(r), r = ur(oe, he))), r;
|
|
2546
2542
|
if (n === "number") return (r = _i(r)) >= 0 && ei(r) || (Ei(r), r = Vn(oe, he)), r;
|
|
@@ -2556,7 +2552,7 @@ var we = Se(function(e, t, i) {
|
|
|
2556
2552
|
default:
|
|
2557
2553
|
i = Ts(t), mi(e.g, i.h, i.g);
|
|
2558
2554
|
}
|
|
2559
|
-
},
|
|
2555
|
+
}, fd), Ee = Se(function(e, t, i) {
|
|
2560
2556
|
return e.h === 0 && (_e(t, i, Pt(e.g)), !0);
|
|
2561
2557
|
}, Ac, Po), xr = ji(function(e, t, i) {
|
|
2562
2558
|
return (e.h === 0 || e.h === 2) && (t = Bi(t, 0 | t[S], i), e.h == 2 ? on(e, Pt, t) : t.push(Pt(e.g)), !0);
|
|
@@ -2581,31 +2577,31 @@ var we = Se(function(e, t, i) {
|
|
|
2581
2577
|
}
|
|
2582
2578
|
}, Do), Mt = Se(function(e, t, i) {
|
|
2583
2579
|
return e.h === 2 && (_e(t, i, (e = Io(e)) === "" ? void 0 : e), !0);
|
|
2584
|
-
},
|
|
2580
|
+
}, Nc, Do), Z = Se(function(e, t, i) {
|
|
2585
2581
|
return e.h === 2 && (_e(t, i, Io(e)), !0);
|
|
2586
|
-
},
|
|
2582
|
+
}, Nc, Do), xe = function(e, t, i = Mo) {
|
|
2587
2583
|
return new Vi(e, t, i);
|
|
2588
2584
|
}(function(e, t, i, r, n) {
|
|
2589
2585
|
return e.h === 2 && (r = qt(void 0, r), Bi(t, 0 | t[S], i).push(r), vr(e, r, n), !0);
|
|
2590
2586
|
}, function(e, t, i, r, n) {
|
|
2591
2587
|
if (Array.isArray(t)) {
|
|
2592
|
-
for (let o = 0; o < t.length; o++)
|
|
2588
|
+
for (let o = 0; o < t.length; o++) Cc(e, t[o], i, r, n);
|
|
2593
2589
|
1 & (e = 0 | t[S]) || ye(t, 1 | e);
|
|
2594
2590
|
}
|
|
2595
2591
|
}), le = ln(function(e, t, i, r, n, o) {
|
|
2596
2592
|
if (e.h !== 2) return !1;
|
|
2597
2593
|
let s = 0 | t[S];
|
|
2598
2594
|
return ec(t, s, o, i, Li(s)), vr(e, t = To(t, r, i), n), !0;
|
|
2599
|
-
},
|
|
2595
|
+
}, Cc), Fc = Se(function(e, t, i) {
|
|
2600
2596
|
return e.h === 2 && (_e(t, i, uc(e)), !0);
|
|
2601
|
-
}, Sc, fc),
|
|
2597
|
+
}, Sc, fc), kd = ji(function(e, t, i) {
|
|
2602
2598
|
return (e.h === 0 || e.h === 2) && (t = Bi(t, 0 | t[S], i), e.h == 2 ? on(e, kt, t) : t.push(kt(e.g)), !0);
|
|
2603
2599
|
}, function(e, t, i) {
|
|
2604
2600
|
if ((t = Gi($a, t)) != null) for (let s = 0; s < t.length; s++) {
|
|
2605
2601
|
var r = e, n = i, o = t[s];
|
|
2606
2602
|
o != null && (et(r, n, 0), Ui(r.g, o));
|
|
2607
2603
|
}
|
|
2608
|
-
}, hc),
|
|
2604
|
+
}, hc), Ad = Se(function(e, t, i) {
|
|
2609
2605
|
return e.h === 0 && (_e(t, i, (e = kt(e.g)) === 0 ? void 0 : e), !0);
|
|
2610
2606
|
}, function(e, t, i) {
|
|
2611
2607
|
(t = $a(t)) != null && t != null && (et(e, i, 0), Ui(e.g, t));
|
|
@@ -2614,7 +2610,7 @@ var we = Se(function(e, t, i) {
|
|
|
2614
2610
|
}, function(e, t, i) {
|
|
2615
2611
|
(t = Mi(t)) != null && (t = parseInt(t, 10), et(e, i, 0), sn(e.g, t));
|
|
2616
2612
|
}, mc);
|
|
2617
|
-
class
|
|
2613
|
+
class Td {
|
|
2618
2614
|
constructor(t, i) {
|
|
2619
2615
|
var r = He;
|
|
2620
2616
|
this.g = t, this.h = i, this.m = K, this.j = L, this.defaultValue = void 0, this.l = r.Oa != null ? Va : void 0;
|
|
@@ -2624,7 +2620,7 @@ class Cd {
|
|
|
2624
2620
|
}
|
|
2625
2621
|
}
|
|
2626
2622
|
function gt(e, t) {
|
|
2627
|
-
return new
|
|
2623
|
+
return new Td(e, t);
|
|
2628
2624
|
}
|
|
2629
2625
|
function Bt(e, t) {
|
|
2630
2626
|
return (i, r) => {
|
|
@@ -2680,7 +2676,7 @@ var Is = class extends I {
|
|
|
2680
2676
|
if (t != null) {
|
|
2681
2677
|
if (t instanceof I) {
|
|
2682
2678
|
const r = t.Ra;
|
|
2683
|
-
return void (r ? (t = r(t), t != null && an(e, i,
|
|
2679
|
+
return void (r ? (t = r(t), t != null && an(e, i, Co(t, !0).buffer)) : bi(Bn, 3));
|
|
2684
2680
|
}
|
|
2685
2681
|
if (Array.isArray(t)) return void bi(Bn, 3);
|
|
2686
2682
|
}
|
|
@@ -2713,12 +2709,12 @@ function Nd(e, ...t) {
|
|
|
2713
2709
|
for (let r = 0; r < t.length; r++) i += encodeURIComponent(t[r]) + e[r + 1];
|
|
2714
2710
|
return Ls(i);
|
|
2715
2711
|
}
|
|
2716
|
-
var Rc = [0, Ee, ze, de, -1, xr, ze, -1, de],
|
|
2712
|
+
var Rc = [0, Ee, ze, de, -1, xr, ze, -1, de], Cd = class extends I {
|
|
2717
2713
|
constructor(e) {
|
|
2718
2714
|
super(e);
|
|
2719
2715
|
}
|
|
2720
2716
|
}, Lc = [0, de, Z, de, ze, -1, ji(function(e, t, i) {
|
|
2721
|
-
return (e.h === 0 || e.h === 2) && (t = Bi(t, 0 | t[S], i), e.h == 2 ? on(e,
|
|
2717
|
+
return (e.h === 0 || e.h === 2) && (t = Bi(t, 0 | t[S], i), e.h == 2 ? on(e, ud, t) : t.push(Pt(e.g)), !0);
|
|
2722
2718
|
}, function(e, t, i) {
|
|
2723
2719
|
if ((t = Gi(Mi, t)) != null && t.length) {
|
|
2724
2720
|
i = Ro(e, i);
|
|
@@ -2735,7 +2731,7 @@ var Rc = [0, Ee, ze, de, -1, xr, ze, -1, de], Sd = class extends I {
|
|
|
2735
2731
|
}
|
|
2736
2732
|
}, pe = {};
|
|
2737
2733
|
pe[336783863] = [0, Z, de, -1, Ee, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], le, Pc, le, Lc, le, Dc, le, Oc, le, Rc, le, [0, Z, -2], le, [0, Z, ze], le, Mc, le, [0, ze, -1, de]], [0, Z], de, [0, [1, 3], [2, 4], le, [0, xr], -1, le, [0, Te], -1, xe, [0, Z, -1]], Z];
|
|
2738
|
-
var Ds = [0,
|
|
2734
|
+
var Ds = [0, Cn, -1, Qt, -3, Cn, xr, Mt, fi, Cn, -1, Qt, fi, Qt, -2, Mt];
|
|
2739
2735
|
function re(e, t) {
|
|
2740
2736
|
nn(e, 3, t);
|
|
2741
2737
|
}
|
|
@@ -2751,7 +2747,7 @@ var Le = class extends I {
|
|
|
2751
2747
|
}
|
|
2752
2748
|
}, nr = [-1, {}], Ps = [0, Z, 1, nr], Os = [0, Z, Te, nr];
|
|
2753
2749
|
function tt(e, t) {
|
|
2754
|
-
|
|
2750
|
+
No(e, 1, Le, t);
|
|
2755
2751
|
}
|
|
2756
2752
|
function se(e, t) {
|
|
2757
2753
|
nn(e, 10, t);
|
|
@@ -2766,9 +2762,9 @@ var qe = class extends I {
|
|
|
2766
2762
|
o(e) {
|
|
2767
2763
|
return L(this, 0, 1001, e);
|
|
2768
2764
|
}
|
|
2769
|
-
}, Bc = [-500, xe, [-500, Mt, -1, Te, -3, [-2, pe, de], xe, Fs, fi, -1, Ps, Os, xe, [0, Mt, Qt], Mt, Ds, fi, Te, 987, Te], 4, xe, [-500, Z, -1, [-1, {}], 998, Z], xe, [-500, Z, Te, -1, [-2, {}, de], 997, Te, -1], fi, xe, [-500, Z, Te, nr, 998, Te], Te, fi, Ps, Os, xe, [0, Mt, -1, nr], Te, -2, Ds, Mt, -1, Qt, [0, Qt,
|
|
2765
|
+
}, Bc = [-500, xe, [-500, Mt, -1, Te, -3, [-2, pe, de], xe, Fs, fi, -1, Ps, Os, xe, [0, Mt, Qt], Mt, Ds, fi, Te, 987, Te], 4, xe, [-500, Z, -1, [-1, {}], 998, Z], xe, [-500, Z, Te, -1, [-2, {}, de], 997, Te, -1], fi, xe, [-500, Z, Te, nr, 998, Te], Te, fi, Ps, Os, xe, [0, Mt, -1, nr], Te, -2, Ds, Mt, -1, Qt, [0, Qt, Ad], 978, nr, xe, Fs];
|
|
2770
2766
|
qe.prototype.g = fn(Bc);
|
|
2771
|
-
var
|
|
2767
|
+
var Sd = Bt(qe, Bc), Id = class extends I {
|
|
2772
2768
|
constructor(e) {
|
|
2773
2769
|
super(e);
|
|
2774
2770
|
}
|
|
@@ -2777,13 +2773,13 @@ var Id = Bt(qe, Bc), Fd = class extends I {
|
|
|
2777
2773
|
super(e);
|
|
2778
2774
|
}
|
|
2779
2775
|
g() {
|
|
2780
|
-
return Et(this,
|
|
2776
|
+
return Et(this, Id, 1);
|
|
2781
2777
|
}
|
|
2782
|
-
}, Vc = [0, xe, [0, Ee, we, Z, -1]], mn = Bt(Uc, Vc),
|
|
2778
|
+
}, Vc = [0, xe, [0, Ee, we, Z, -1]], mn = Bt(Uc, Vc), Fd = class extends I {
|
|
2783
2779
|
constructor(e) {
|
|
2784
2780
|
super(e);
|
|
2785
2781
|
}
|
|
2786
|
-
},
|
|
2782
|
+
}, Rd = class extends I {
|
|
2787
2783
|
constructor(e) {
|
|
2788
2784
|
super(e);
|
|
2789
2785
|
}
|
|
@@ -2792,10 +2788,10 @@ var Id = Bt(qe, Bc), Fd = class extends I {
|
|
|
2792
2788
|
super(e);
|
|
2793
2789
|
}
|
|
2794
2790
|
l() {
|
|
2795
|
-
return K(this,
|
|
2791
|
+
return K(this, Fd, 2);
|
|
2796
2792
|
}
|
|
2797
2793
|
g() {
|
|
2798
|
-
return Et(this,
|
|
2794
|
+
return Et(this, Rd, 5);
|
|
2799
2795
|
}
|
|
2800
2796
|
}, Gc = Bt(class extends I {
|
|
2801
2797
|
constructor(e) {
|
|
@@ -2817,21 +2813,21 @@ var Id = Bt(qe, Bc), Fd = class extends I {
|
|
|
2817
2813
|
constructor(e) {
|
|
2818
2814
|
super(e);
|
|
2819
2815
|
}
|
|
2820
|
-
}, [0, xe, [0, we, -4]]),
|
|
2816
|
+
}, [0, xe, [0, we, -4]]), Ld = class extends I {
|
|
2821
2817
|
constructor(e) {
|
|
2822
2818
|
super(e);
|
|
2823
2819
|
}
|
|
2824
|
-
},
|
|
2820
|
+
}, Md = [0, Ee, -1, Vo, ze], zc = class extends I {
|
|
2825
2821
|
constructor(e) {
|
|
2826
2822
|
super(e);
|
|
2827
2823
|
}
|
|
2828
2824
|
};
|
|
2829
2825
|
zc.prototype.g = fn([0, we, -4, Ot]);
|
|
2830
|
-
var
|
|
2826
|
+
var Dd = class extends I {
|
|
2831
2827
|
constructor(e) {
|
|
2832
2828
|
super(e);
|
|
2833
2829
|
}
|
|
2834
|
-
},
|
|
2830
|
+
}, Pd = Bt(class extends I {
|
|
2835
2831
|
constructor(e) {
|
|
2836
2832
|
super(e);
|
|
2837
2833
|
}
|
|
@@ -2839,7 +2835,7 @@ var Pd = class extends I {
|
|
|
2839
2835
|
constructor(e) {
|
|
2840
2836
|
super(e);
|
|
2841
2837
|
}
|
|
2842
|
-
},
|
|
2838
|
+
}, Od = class extends I {
|
|
2843
2839
|
constructor(e) {
|
|
2844
2840
|
super(e);
|
|
2845
2841
|
}
|
|
@@ -2847,11 +2843,11 @@ var Pd = class extends I {
|
|
|
2847
2843
|
const e = ie(this, 1, void 0, void 0, Ja);
|
|
2848
2844
|
return e ?? Jt();
|
|
2849
2845
|
}
|
|
2850
|
-
},
|
|
2846
|
+
}, Bd = class extends I {
|
|
2851
2847
|
constructor(e) {
|
|
2852
2848
|
super(e);
|
|
2853
2849
|
}
|
|
2854
|
-
}, Wc = [1, 2],
|
|
2850
|
+
}, Wc = [1, 2], Ud = Bt(class extends I {
|
|
2855
2851
|
constructor(e) {
|
|
2856
2852
|
super(e);
|
|
2857
2853
|
}
|
|
@@ -2863,7 +2859,7 @@ var Pd = class extends I {
|
|
|
2863
2859
|
constructor(e) {
|
|
2864
2860
|
super(e);
|
|
2865
2861
|
}
|
|
2866
|
-
},
|
|
2862
|
+
}, Vd = [0, de, -1], Vs = class extends I {
|
|
2867
2863
|
constructor(e) {
|
|
2868
2864
|
super(e);
|
|
2869
2865
|
}
|
|
@@ -2884,17 +2880,17 @@ var Pd = class extends I {
|
|
|
2884
2880
|
g() {
|
|
2885
2881
|
return ja(ie(this, 2)) ?? !1;
|
|
2886
2882
|
}
|
|
2887
|
-
}, qc = [0, Fc, Z, [0, Ee, Ot, -1], [0,
|
|
2883
|
+
}, qc = [0, Fc, Z, [0, Ee, Ot, -1], [0, _d, Ot]], fe = [0, qc, de, [0, Mr, le, Oc, le, Lc, le, Rc, le, Pc, le, Dc, le, Mc], ze], gn = class extends I {
|
|
2888
2884
|
constructor(e) {
|
|
2889
2885
|
super(e);
|
|
2890
2886
|
}
|
|
2891
|
-
}, jo = [0, fe, we, -1, Ee],
|
|
2887
|
+
}, jo = [0, fe, we, -1, Ee], Gd = gt(502141897, gn);
|
|
2892
2888
|
pe[502141897] = jo;
|
|
2893
|
-
var
|
|
2889
|
+
var jd = Bt(class extends I {
|
|
2894
2890
|
constructor(e) {
|
|
2895
2891
|
super(e);
|
|
2896
2892
|
}
|
|
2897
|
-
}, [0, [0, ze, -1,
|
|
2893
|
+
}, [0, [0, ze, -1, xd, kd], Md]), Kc = class extends I {
|
|
2898
2894
|
constructor(e) {
|
|
2899
2895
|
super(e);
|
|
2900
2896
|
}
|
|
@@ -2902,7 +2898,7 @@ var $d = Bt(class extends I {
|
|
|
2902
2898
|
constructor(e) {
|
|
2903
2899
|
super(e);
|
|
2904
2900
|
}
|
|
2905
|
-
}, Wn = [0, fe, we, [0, fe], de],
|
|
2901
|
+
}, Wn = [0, fe, we, [0, fe], de], $d = gt(508968150, Yc);
|
|
2906
2902
|
pe[508968150] = [0, fe, jo, Wn, we, [0, [0, qc]]], pe[508968149] = Wn;
|
|
2907
2903
|
var wi = class extends I {
|
|
2908
2904
|
constructor(e) {
|
|
@@ -2916,7 +2912,7 @@ var wi = class extends I {
|
|
|
2916
2912
|
}
|
|
2917
2913
|
}, Xc = [0, fe, Hc];
|
|
2918
2914
|
pe[478825465] = Xc;
|
|
2919
|
-
var
|
|
2915
|
+
var zd = class extends I {
|
|
2920
2916
|
constructor(e) {
|
|
2921
2917
|
super(e);
|
|
2922
2918
|
}
|
|
@@ -2936,11 +2932,11 @@ var Wd = class extends I {
|
|
|
2936
2932
|
constructor(e) {
|
|
2937
2933
|
super(e);
|
|
2938
2934
|
}
|
|
2939
|
-
}, Gs = [0, fe, [0, fe], Xc, -1], Zc = [0, fe, we, Ee], Wo = [0, fe, we], el = [0, fe, Zc, Wo, we],
|
|
2935
|
+
}, Gs = [0, fe, [0, fe], Xc, -1], Zc = [0, fe, we, Ee], Wo = [0, fe, we], el = [0, fe, Zc, Wo, we], Wd = gt(479097054, Jc);
|
|
2940
2936
|
pe[479097054] = [0, fe, el, Gs], pe[463370452] = Gs, pe[464864288] = Zc;
|
|
2941
|
-
var
|
|
2937
|
+
var Hd = gt(462713202, zo);
|
|
2942
2938
|
pe[462713202] = el, pe[474472470] = Wo;
|
|
2943
|
-
var
|
|
2939
|
+
var qd = class extends I {
|
|
2944
2940
|
constructor(e) {
|
|
2945
2941
|
super(e);
|
|
2946
2942
|
}
|
|
@@ -2962,14 +2958,14 @@ var nl = class extends I {
|
|
|
2962
2958
|
constructor(e) {
|
|
2963
2959
|
super(e);
|
|
2964
2960
|
}
|
|
2965
|
-
},
|
|
2961
|
+
}, Kd = gt(456383383, nl);
|
|
2966
2962
|
pe[456383383] = [0, fe, Hc];
|
|
2967
2963
|
var ol = class extends I {
|
|
2968
2964
|
constructor(e) {
|
|
2969
2965
|
super(e);
|
|
2970
2966
|
}
|
|
2971
|
-
},
|
|
2972
|
-
pe[476348187] = [0, fe,
|
|
2967
|
+
}, Yd = gt(476348187, ol);
|
|
2968
|
+
pe[476348187] = [0, fe, Vd];
|
|
2973
2969
|
var sl = class extends I {
|
|
2974
2970
|
constructor(e) {
|
|
2975
2971
|
super(e);
|
|
@@ -2978,7 +2974,7 @@ var sl = class extends I {
|
|
|
2978
2974
|
constructor(e) {
|
|
2979
2975
|
super(e);
|
|
2980
2976
|
}
|
|
2981
|
-
}, al = [0, ze, -1],
|
|
2977
|
+
}, al = [0, ze, -1], Xd = gt(458105876, class extends I {
|
|
2982
2978
|
constructor(e) {
|
|
2983
2979
|
super(e);
|
|
2984
2980
|
}
|
|
@@ -3001,11 +2997,11 @@ var sl = class extends I {
|
|
|
3001
2997
|
if (!l.length) return Es();
|
|
3002
2998
|
r || (r = !0, gr(l));
|
|
3003
2999
|
} else r && (r = !1, lr(l), l = Za(l));
|
|
3004
|
-
return !r && 32 & o && mr(l, 32), o = ge(n, o, 2, s = new vt(l, a,
|
|
3000
|
+
return !r && 32 & o && mr(l, 32), o = ge(n, o, 2, s = new vt(l, a, Xu, void 0)), r || ii(n, o), s;
|
|
3005
3001
|
}(this, t, i, e), !e && js && (t.ra = !0), t;
|
|
3006
3002
|
}
|
|
3007
3003
|
});
|
|
3008
|
-
pe[458105876] = [0, al,
|
|
3004
|
+
pe[458105876] = [0, al, vd, [!0, Ot, [0, Z, -1, Te]], [0, xr, de, ze]];
|
|
3009
3005
|
var qo = class extends I {
|
|
3010
3006
|
constructor(e) {
|
|
3011
3007
|
super(e);
|
|
@@ -3016,7 +3012,7 @@ var Fn = class extends I {
|
|
|
3016
3012
|
constructor(e) {
|
|
3017
3013
|
super(e);
|
|
3018
3014
|
}
|
|
3019
|
-
}, $s = [0,
|
|
3015
|
+
}, $s = [0, Ed, -1, Qt], Qd = class extends I {
|
|
3020
3016
|
constructor(e) {
|
|
3021
3017
|
super(e);
|
|
3022
3018
|
}
|
|
@@ -3030,13 +3026,13 @@ var ul = class extends I {
|
|
|
3030
3026
|
constructor(e) {
|
|
3031
3027
|
super(e);
|
|
3032
3028
|
}
|
|
3033
|
-
},
|
|
3029
|
+
}, Jd = gt(443442058, ul);
|
|
3034
3030
|
pe[443442058] = [0, fe, Z, Ee, we, Te, -1, de, we], pe[514774813] = Ho;
|
|
3035
3031
|
var dl = class extends I {
|
|
3036
3032
|
constructor(e) {
|
|
3037
3033
|
super(e);
|
|
3038
3034
|
}
|
|
3039
|
-
},
|
|
3035
|
+
}, Zd = gt(516587230, dl);
|
|
3040
3036
|
function Kn(e, t) {
|
|
3041
3037
|
return t = t ? t.clone() : new Go(), e.displayNamesLocale !== void 0 ? J(t, 1, br(e.displayNamesLocale)) : e.displayNamesLocale === void 0 && J(t, 1), e.maxResults !== void 0 ? _t(t, 2, e.maxResults) : "maxResults" in e && J(t, 2), e.scoreThreshold !== void 0 ? R(t, 3, e.scoreThreshold) : "scoreThreshold" in e && J(t, 3), e.categoryAllowlist !== void 0 ? Br(t, 4, e.categoryAllowlist) : "categoryAllowlist" in e && J(t, 4), e.categoryDenylist !== void 0 ? Br(t, 5, e.categoryDenylist) : "categoryDenylist" in e && J(t, 5), t;
|
|
3042
3038
|
}
|
|
@@ -3047,13 +3043,13 @@ function hl(e) {
|
|
|
3047
3043
|
function Ko(e, t = -1, i = "") {
|
|
3048
3044
|
return { categories: e.map((r) => ({ index: Ze(r, 1) ?? 0 ?? -1, score: ue(r, 2) ?? 0, categoryName: ke(ie(r, 3)) ?? "" ?? "", displayName: ke(ie(r, 4)) ?? "" ?? "" })), headIndex: t, headName: i };
|
|
3049
3045
|
}
|
|
3050
|
-
function
|
|
3051
|
-
const t = { classifications: Et(e,
|
|
3046
|
+
function eh(e) {
|
|
3047
|
+
const t = { classifications: Et(e, Dd, 1).map((i) => {
|
|
3052
3048
|
var r;
|
|
3053
3049
|
return Ko(((r = K(i, Uc, 4)) == null ? void 0 : r.g()) ?? [], Ze(i, 2) ?? 0, ke(ie(i, 3)) ?? "");
|
|
3054
3050
|
}) };
|
|
3055
3051
|
return function(i) {
|
|
3056
|
-
return
|
|
3052
|
+
return Yu(co ? ie(i, 2, void 0, void 0, Pr) : ie(i, 2));
|
|
3057
3053
|
}(e) != null && (t.timestampMs = hl(nc(e))), t;
|
|
3058
3054
|
}
|
|
3059
3055
|
function wl(e) {
|
|
@@ -3061,7 +3057,7 @@ function wl(e) {
|
|
|
3061
3057
|
var t = Wt(e, 3, dt, zt()), i = Wt(e, 2, Mi, zt()), r = Wt(e, 1, ke, zt()), n = Wt(e, 9, ke, zt());
|
|
3062
3058
|
const o = { categories: [], keypoints: [] };
|
|
3063
3059
|
for (let l = 0; l < t.length; l++) o.categories.push({ score: t[l], index: i[l] ?? -1, categoryName: r[l] ?? "", displayName: n[l] ?? "" });
|
|
3064
|
-
if ((t = (s = K(e, In, 4)) == null ? void 0 : s.l()) && (o.boundingBox = { originX: Ze(t, 1,
|
|
3060
|
+
if ((t = (s = K(e, In, 4)) == null ? void 0 : s.l()) && (o.boundingBox = { originX: Ze(t, 1, Ct) ?? 0, originY: Ze(t, 2, Ct) ?? 0, width: Ze(t, 3, Ct) ?? 0, height: Ze(t, 4, Ct) ?? 0, angle: 0 }), (a = K(e, In, 4)) == null ? void 0 : a.g().length) for (const l of K(e, In, 4).g()) o.keypoints.push({ x: ie(l, 1, void 0, Ct, dt) ?? 0, y: ie(l, 2, void 0, Ct, dt) ?? 0, score: ie(l, 4, void 0, Ct, dt) ?? 0, label: ke(ie(l, 3, void 0, Ct)) ?? "" });
|
|
3065
3061
|
return o;
|
|
3066
3062
|
}
|
|
3067
3063
|
function pn(e) {
|
|
@@ -3086,10 +3082,10 @@ function Ws(e, t) {
|
|
|
3086
3082
|
}
|
|
3087
3083
|
let Sr;
|
|
3088
3084
|
pe[516587230] = [0, fe, Ho, Hn, we], pe[518928384] = Hn;
|
|
3089
|
-
const
|
|
3085
|
+
const th = new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 96, 0, 1, 123, 3, 2, 1, 0, 10, 10, 1, 8, 0, 65, 0, 253, 15, 253, 98, 11]);
|
|
3090
3086
|
async function fl() {
|
|
3091
3087
|
if (Sr === void 0) try {
|
|
3092
|
-
await WebAssembly.instantiate(
|
|
3088
|
+
await WebAssembly.instantiate(th), Sr = !0;
|
|
3093
3089
|
} catch {
|
|
3094
3090
|
Sr = !1;
|
|
3095
3091
|
}
|
|
@@ -3168,7 +3164,7 @@ $t.forVisionTasks = function(e) {
|
|
|
3168
3164
|
}, $t.isSimdSupported = function() {
|
|
3169
3165
|
return fl();
|
|
3170
3166
|
};
|
|
3171
|
-
async function
|
|
3167
|
+
async function ih(e, t, i, r) {
|
|
3172
3168
|
return e = await (async (n, o, s, a, l) => {
|
|
3173
3169
|
if (o && await Hs(o), !self.ModuleFactory || s && (await Hs(s), !self.ModuleFactory)) throw Error("ModuleFactory not set.");
|
|
3174
3170
|
return self.Module && l && ((o = self.Module).locateFile = l.locateFile, l.mainScriptUrlOrBlob && (o.mainScriptUrlOrBlob = l.mainScriptUrlOrBlob)), l = await self.ModuleFactory(self.Module || l), self.ModuleFactory = self.Module = void 0, new n(l, a);
|
|
@@ -3215,7 +3211,7 @@ var Yn = class {
|
|
|
3215
3211
|
var w = h = new Vs(), f = new Ms();
|
|
3216
3212
|
rr(w, 4, Mr, f);
|
|
3217
3213
|
}
|
|
3218
|
-
"delegate" in u && (u.delegate === "GPU" ? (u = h, w = new
|
|
3214
|
+
"delegate" in u && (u.delegate === "GPU" ? (u = h, w = new Cd(), rr(u, 2, Mr, w)) : (u = h, w = new Ms(), rr(u, 4, Mr, w))), L(d.baseOptions, 0, 3, h);
|
|
3219
3215
|
}(this, l), l.modelAssetPath) return fetch(l.modelAssetPath.toString()).then((d) => {
|
|
3220
3216
|
if (d.ok) return d.arrayBuffer();
|
|
3221
3217
|
throw Error(`Failed to fetch model: ${l.modelAssetPath} (${d.status})`);
|
|
@@ -3250,7 +3246,7 @@ var Yn = class {
|
|
|
3250
3246
|
ca() {
|
|
3251
3247
|
let e;
|
|
3252
3248
|
if (this.g.ca((t) => {
|
|
3253
|
-
e =
|
|
3249
|
+
e = Sd(t);
|
|
3254
3250
|
}), !e) throw Error("Failed to retrieve CalculatorGraphConfig");
|
|
3255
3251
|
return e;
|
|
3256
3252
|
}
|
|
@@ -3271,7 +3267,7 @@ function Dt(e, t) {
|
|
|
3271
3267
|
return e;
|
|
3272
3268
|
}
|
|
3273
3269
|
Yn.prototype.close = Yn.prototype.close;
|
|
3274
|
-
class
|
|
3270
|
+
class rh {
|
|
3275
3271
|
constructor(t, i, r, n) {
|
|
3276
3272
|
this.g = t, this.h = i, this.m = r, this.l = n;
|
|
3277
3273
|
}
|
|
@@ -3293,14 +3289,14 @@ function Qs(e, t) {
|
|
|
3293
3289
|
const n = Dt(i.createBuffer(), "Failed to create buffer");
|
|
3294
3290
|
i.bindBuffer(i.ARRAY_BUFFER, n), i.enableVertexAttribArray(e.O), i.vertexAttribPointer(e.O, 2, i.FLOAT, !1, 0, 0), i.bufferData(i.ARRAY_BUFFER, new Float32Array([-1, -1, -1, 1, 1, 1, 1, -1]), i.STATIC_DRAW);
|
|
3295
3291
|
const o = Dt(i.createBuffer(), "Failed to create buffer");
|
|
3296
|
-
return i.bindBuffer(i.ARRAY_BUFFER, o), i.enableVertexAttribArray(e.L), i.vertexAttribPointer(e.L, 2, i.FLOAT, !1, 0, 0), i.bufferData(i.ARRAY_BUFFER, new Float32Array(t ? [0, 1, 0, 0, 1, 0, 1, 1] : [0, 0, 0, 1, 1, 1, 1, 0]), i.STATIC_DRAW), i.bindBuffer(i.ARRAY_BUFFER, null), i.bindVertexArray(null), new
|
|
3292
|
+
return i.bindBuffer(i.ARRAY_BUFFER, o), i.enableVertexAttribArray(e.L), i.vertexAttribPointer(e.L, 2, i.FLOAT, !1, 0, 0), i.bufferData(i.ARRAY_BUFFER, new Float32Array(t ? [0, 1, 0, 0, 1, 0, 1, 1] : [0, 0, 0, 1, 1, 1, 1, 0]), i.STATIC_DRAW), i.bindBuffer(i.ARRAY_BUFFER, null), i.bindVertexArray(null), new rh(i, r, n, o);
|
|
3297
3293
|
}
|
|
3298
3294
|
function Yo(e, t) {
|
|
3299
3295
|
if (e.g) {
|
|
3300
3296
|
if (t !== e.g) throw Error("Cannot change GL context once initialized");
|
|
3301
3297
|
} else e.g = t;
|
|
3302
3298
|
}
|
|
3303
|
-
function
|
|
3299
|
+
function nh(e, t, i, r) {
|
|
3304
3300
|
return Yo(e, t), e.h || (e.m(), e.D()), i ? (e.u || (e.u = Qs(e, !0)), i = e.u) : (e.A || (e.A = Qs(e, !1)), i = e.A), t.useProgram(e.h), i.bind(), e.l(), e = r(), i.g.bindVertexArray(null), e;
|
|
3305
3301
|
}
|
|
3306
3302
|
function pl(e, t, i) {
|
|
@@ -3309,7 +3305,7 @@ function pl(e, t, i) {
|
|
|
3309
3305
|
function yl(e, t, i) {
|
|
3310
3306
|
Yo(e, t), e.B || (e.B = Dt(t.createFramebuffer(), "Failed to create framebuffe.")), t.bindFramebuffer(t.FRAMEBUFFER, e.B), t.framebufferTexture2D(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0, t.TEXTURE_2D, i, 0);
|
|
3311
3307
|
}
|
|
3312
|
-
function
|
|
3308
|
+
function oh(e) {
|
|
3313
3309
|
var t;
|
|
3314
3310
|
(t = e.g) == null || t.bindFramebuffer(e.g.FRAMEBUFFER, null);
|
|
3315
3311
|
}
|
|
@@ -3366,7 +3362,7 @@ function Xn(e) {
|
|
|
3366
3362
|
if (t = yt(e, 0)) t = new Float32Array(t).map((r) => r / 255);
|
|
3367
3363
|
else {
|
|
3368
3364
|
t = new Float32Array(e.width * e.height);
|
|
3369
|
-
const r =
|
|
3365
|
+
const r = Ni(e);
|
|
3370
3366
|
var i = Xo(e);
|
|
3371
3367
|
if (yl(i, r, vl(e)), "iPad Simulator;iPhone Simulator;iPod Simulator;iPad;iPhone;iPod".split(";").includes(navigator.platform) || navigator.userAgent.includes("Mac") && "document" in self && "ontouchend" in self.document) {
|
|
3372
3368
|
i = new Float32Array(e.width * e.height * 4), r.readPixels(0, 0, e.width, e.height, r.RGBA, r.FLOAT, i);
|
|
@@ -3380,19 +3376,19 @@ function Xn(e) {
|
|
|
3380
3376
|
function vl(e) {
|
|
3381
3377
|
let t = yt(e, 2);
|
|
3382
3378
|
if (!t) {
|
|
3383
|
-
const i =
|
|
3379
|
+
const i = Ni(e);
|
|
3384
3380
|
t = El(e);
|
|
3385
3381
|
const r = Xn(e), n = xl(e);
|
|
3386
3382
|
i.texImage2D(i.TEXTURE_2D, 0, n, e.width, e.height, 0, i.RED, i.FLOAT, r), Qn(e);
|
|
3387
3383
|
}
|
|
3388
3384
|
return t;
|
|
3389
3385
|
}
|
|
3390
|
-
function
|
|
3386
|
+
function Ni(e) {
|
|
3391
3387
|
if (!e.canvas) throw Error("Conversion to different image formats require that a canvas is passed when initializing the image.");
|
|
3392
3388
|
return e.h || (e.h = Dt(e.canvas.getContext("webgl2"), "You cannot use a canvas that is already bound to a different type of rendering context.")), e.h;
|
|
3393
3389
|
}
|
|
3394
3390
|
function xl(e) {
|
|
3395
|
-
if (e =
|
|
3391
|
+
if (e = Ni(e), !Ir) if (e.getExtension("EXT_color_buffer_float") && e.getExtension("OES_texture_float_linear") && e.getExtension("EXT_float_blend")) Ir = e.R32F;
|
|
3396
3392
|
else {
|
|
3397
3393
|
if (!e.getExtension("EXT_color_buffer_half_float")) throw Error("GPU does not fully support 4-channel float32 or float16 formats");
|
|
3398
3394
|
Ir = e.R16F;
|
|
@@ -3403,7 +3399,7 @@ function Xo(e) {
|
|
|
3403
3399
|
return e.l || (e.l = new bl()), e.l;
|
|
3404
3400
|
}
|
|
3405
3401
|
function El(e) {
|
|
3406
|
-
const t =
|
|
3402
|
+
const t = Ni(e);
|
|
3407
3403
|
t.viewport(0, 0, e.width, e.height), t.activeTexture(t.TEXTURE0);
|
|
3408
3404
|
let i = yt(e, 2);
|
|
3409
3405
|
return i || (i = pl(Xo(e), t, e.m ? t.LINEAR : t.NEAREST), e.g.push(i), e.j = !0), t.bindTexture(t.TEXTURE_2D, i), i;
|
|
@@ -3443,12 +3439,12 @@ var Ir, ve = class {
|
|
|
3443
3439
|
else {
|
|
3444
3440
|
if (!(t instanceof WebGLTexture)) throw Error(`Type is not supported: ${t}`);
|
|
3445
3441
|
{
|
|
3446
|
-
const r =
|
|
3442
|
+
const r = Ni(this), n = Xo(this);
|
|
3447
3443
|
r.activeTexture(r.TEXTURE1), i = pl(n, r, this.m ? r.LINEAR : r.NEAREST), r.bindTexture(r.TEXTURE_2D, i);
|
|
3448
3444
|
const o = xl(this);
|
|
3449
|
-
r.texImage2D(r.TEXTURE_2D, 0, o, this.width, this.height, 0, r.RED, r.FLOAT, null), r.bindTexture(r.TEXTURE_2D, null), yl(n, r, i),
|
|
3445
|
+
r.texImage2D(r.TEXTURE_2D, 0, o, this.width, this.height, 0, r.RED, r.FLOAT, null), r.bindTexture(r.TEXTURE_2D, null), yl(n, r, i), nh(n, r, !1, () => {
|
|
3450
3446
|
El(this), r.clearColor(0, 0, 0, 0), r.clear(r.COLOR_BUFFER_BIT), r.drawArrays(r.TRIANGLE_FAN, 0, 4), Qn(this);
|
|
3451
|
-
}),
|
|
3447
|
+
}), oh(n), Qn(this);
|
|
3452
3448
|
}
|
|
3453
3449
|
}
|
|
3454
3450
|
e.push(i);
|
|
@@ -3456,7 +3452,7 @@ var Ir, ve = class {
|
|
|
3456
3452
|
return new ve(e, this.m, this.R(), this.canvas, this.l, this.width, this.height);
|
|
3457
3453
|
}
|
|
3458
3454
|
close() {
|
|
3459
|
-
this.j &&
|
|
3455
|
+
this.j && Ni(this).deleteTexture(yt(this, 2)), Js = -1;
|
|
3460
3456
|
}
|
|
3461
3457
|
};
|
|
3462
3458
|
ve.prototype.close = ve.prototype.close, ve.prototype.clone = ve.prototype.clone, ve.prototype.getAsWebGLTexture = ve.prototype.N, ve.prototype.getAsFloat32Array = ve.prototype.ia, ve.prototype.getAsUint8Array = ve.prototype.ja, ve.prototype.hasWebGLTexture = ve.prototype.R, ve.prototype.hasFloat32Array = ve.prototype.ka, ve.prototype.hasUint8Array = ve.prototype.Fa;
|
|
@@ -3464,7 +3460,7 @@ var Js = 250;
|
|
|
3464
3460
|
function rt(...e) {
|
|
3465
3461
|
return e.map(([t, i]) => ({ start: t, end: i }));
|
|
3466
3462
|
}
|
|
3467
|
-
const
|
|
3463
|
+
const sh = /* @__PURE__ */ function(e) {
|
|
3468
3464
|
return class extends e {
|
|
3469
3465
|
Ja() {
|
|
3470
3466
|
this.i._registerModelResourcesGraphService();
|
|
@@ -3827,11 +3823,11 @@ const a2 = /* @__PURE__ */ function(e) {
|
|
|
3827
3823
|
});
|
|
3828
3824
|
}
|
|
3829
3825
|
}));
|
|
3830
|
-
var Zs, nt = class extends
|
|
3826
|
+
var Zs, nt = class extends sh {
|
|
3831
3827
|
};
|
|
3832
3828
|
async function q(e, t, i) {
|
|
3833
3829
|
return async function(r, n, o, s) {
|
|
3834
|
-
return
|
|
3830
|
+
return ih(r, n, o, s);
|
|
3835
3831
|
}(e, i.canvas ?? (ml() ? void 0 : document.createElement("canvas")), t, i);
|
|
3836
3832
|
}
|
|
3837
3833
|
function _l(e, t, i, r) {
|
|
@@ -3865,7 +3861,7 @@ function pt(e, t, i, r) {
|
|
|
3865
3861
|
if (!((n = e.baseOptions) != null && n.g())) throw Error("Task is not initialized with video mode. 'runningMode' must be set to 'VIDEO'.");
|
|
3866
3862
|
_l(e, t, i, r);
|
|
3867
3863
|
}
|
|
3868
|
-
function
|
|
3864
|
+
function Ci(e, t, i, r) {
|
|
3869
3865
|
var n = t.data;
|
|
3870
3866
|
const o = t.width, s = o * (t = t.height);
|
|
3871
3867
|
if ((n instanceof Uint8Array || n instanceof Float32Array) && n.length !== s) throw Error("Unsupported channel count: " + n.length / s);
|
|
@@ -3907,7 +3903,7 @@ var Xe = class extends We {
|
|
|
3907
3903
|
var e = new qe();
|
|
3908
3904
|
se(e, "image_in"), se(e, "norm_rect_in"), Y(e, "detections");
|
|
3909
3905
|
const t = new He();
|
|
3910
|
-
mt(t,
|
|
3906
|
+
mt(t, Gd, this.h);
|
|
3911
3907
|
const i = new Le();
|
|
3912
3908
|
$e(i, 2, "mediapipe.tasks.vision.face_detector.FaceDetectorGraph"), re(i, "IMAGE:image_in"), re(i, "NORM_RECT:norm_rect_in"), H(i, "DETECTIONS:detections"), i.o(t), tt(e, i), this.g.attachProtoVectorListener("detections", (r, n) => {
|
|
3913
3909
|
for (const o of r) r = Gc(o), this.j.detections.push(wl(r));
|
|
@@ -3924,7 +3920,7 @@ Xe.prototype.detectForVideo = Xe.prototype.G, Xe.prototype.detect = Xe.prototype
|
|
|
3924
3920
|
}, Xe.createFromOptions = function(e, t) {
|
|
3925
3921
|
return q(Xe, e, t);
|
|
3926
3922
|
};
|
|
3927
|
-
var Qo = rt([61, 146], [146, 91], [91, 181], [181, 84], [84, 17], [17, 314], [314, 405], [405, 321], [321, 375], [375, 291], [61, 185], [185, 40], [40, 39], [39, 37], [37, 0], [0, 267], [267, 269], [269, 270], [270, 409], [409, 291], [78, 95], [95, 88], [88, 178], [178, 87], [87, 14], [14, 317], [317, 402], [402, 318], [318, 324], [324, 308], [78, 191], [191, 80], [80, 81], [81, 82], [82, 13], [13, 312], [312, 311], [311, 310], [310, 415], [415, 308]), Jo = rt([263, 249], [249, 390], [390, 373], [373, 374], [374, 380], [380, 381], [381, 382], [382, 362], [263, 466], [466, 388], [388, 387], [387, 386], [386, 385], [385, 384], [384, 398], [398, 362]), Zo = rt([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), kl = rt([474, 475], [475, 476], [476, 477], [477, 474]), es = rt([33, 7], [7, 163], [163, 144], [144, 145], [145, 153], [153, 154], [154, 155], [155, 133], [33, 246], [246, 161], [161, 160], [160, 159], [159, 158], [158, 157], [157, 173], [173, 133]), ts = rt([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), Al = rt([469, 470], [470, 471], [471, 472], [472, 469]), is = rt([10, 338], [338, 297], [297, 332], [332, 284], [284, 251], [251, 389], [389, 356], [356, 454], [454, 323], [323, 361], [361, 288], [288, 397], [397, 365], [365, 379], [379, 378], [378, 400], [400, 377], [377, 152], [152, 148], [148, 176], [176, 149], [149, 150], [150, 136], [136, 172], [172, 58], [58, 132], [132, 93], [93, 234], [234, 127], [127, 162], [162, 21], [21, 54], [54, 103], [103, 67], [67, 109], [109, 10]), Tl = [...Qo, ...Jo, ...Zo, ...es, ...ts, ...is], Cl = rt([127, 34], [34, 139], [139, 127], [11, 0], [0, 37], [37, 11], [232, 231], [231, 120], [120, 232], [72, 37], [37, 39], [39, 72], [128, 121], [121, 47], [47, 128], [232, 121], [121, 128], [128, 232], [104, 69], [69, 67], [67, 104], [175, 171], [171, 148], [148, 175], [118, 50], [50, 101], [101, 118], [73, 39], [39, 40], [40, 73], [9, 151], [151, 108], [108, 9], [48, 115], [115, 131], [131, 48], [194, 204], [204, 211], [211, 194], [74, 40], [40, 185], [185, 74], [80, 42], [42, 183], [183, 80], [40, 92], [92, 186], [186, 40], [230, 229], [229, 118], [118, 230], [202, 212], [212, 214], [214, 202], [83, 18], [18, 17], [17, 83], [76, 61], [61, 146], [146, 76], [160, 29], [29, 30], [30, 160], [56, 157], [157, 173], [173, 56], [106, 204], [204, 194], [194, 106], [135, 214], [214, 192], [192, 135], [203, 165], [165, 98], [98, 203], [21, 71], [71, 68], [68, 21], [51, 45], [45, 4], [4, 51], [144, 24], [24, 23], [23, 144], [77, 146], [146, 91], [91, 77], [205, 50], [50, 187], [187, 205], [201, 200], [200, 18], [18, 201], [91, 106], [106, 182], [182, 91], [90, 91], [91, 181], [181, 90], [85, 84], [84, 17], [17, 85], [206, 203], [203, 36], [36, 206], [148, 171], [171, 140], [140, 148], [92, 40], [40, 39], [39, 92], [193, 189], [189, 244], [244, 193], [159, 158], [158, 28], [28, 159], [247, 246], [246, 161], [161, 247], [236, 3], [3, 196], [196, 236], [54, 68], [68, 104], [104, 54], [193, 168], [168, 8], [8, 193], [117, 228], [228, 31], [31, 117], [189, 193], [193, 55], [55, 189], [98, 97], [97, 99], [99, 98], [126, 47], [47, 100], [100, 126], [166, 79], [79, 218], [218, 166], [155, 154], [154, 26], [26, 155], [209, 49], [49, 131], [131, 209], [135, 136], [136, 150], [150, 135], [47, 126], [126, 217], [217, 47], [223, 52], [52, 53], [53, 223], [45, 51], [51, 134], [134, 45], [211, 170], [170, 140], [140, 211], [67, 69], [69, 108], [108, 67], [43, 106], [106, 91], [91, 43], [230, 119], [119, 120], [120, 230], [226, 130], [130, 247], [247, 226], [63, 53], [53, 52], [52, 63], [238, 20], [20, 242], [242, 238], [46, 70], [70, 156], [156, 46], [78, 62], [62, 96], [96, 78], [46, 53], [53, 63], [63, 46], [143, 34], [34, 227], [227, 143], [123, 117], [117, 111], [111, 123], [44, 125], [125, 19], [19, 44], [236, 134], [134, 51], [51, 236], [216, 206], [206, 205], [205, 216], [154, 153], [153, 22], [22, 154], [39, 37], [37, 167], [167, 39], [200, 201], [201, 208], [208, 200], [36, 142], [142, 100], [100, 36], [57, 212], [212, 202], [202, 57], [20, 60], [60, 99], [99, 20], [28, 158], [158, 157], [157, 28], [35, 226], [226, 113], [113, 35], [160, 159], [159, 27], [27, 160], [204, 202], [202, 210], [210, 204], [113, 225], [225, 46], [46, 113], [43, 202], [202, 204], [204, 43], [62, 76], [76, 77], [77, 62], [137, 123], [123, 116], [116, 137], [41, 38], [38, 72], [72, 41], [203, 129], [129, 142], [142, 203], [64, 98], [98, 240], [240, 64], [49, 102], [102, 64], [64, 49], [41, 73], [73, 74], [74, 41], [212, 216], [216, 207], [207, 212], [42, 74], [74, 184], [184, 42], [169, 170], [170, 211], [211, 169], [170, 149], [149, 176], [176, 170], [105, 66], [66, 69], [69, 105], [122, 6], [6, 168], [168, 122], [123, 147], [147, 187], [187, 123], [96, 77], [77, 90], [90, 96], [65, 55], [55, 107], [107, 65], [89, 90], [90, 180], [180, 89], [101, 100], [100, 120], [120, 101], [63, 105], [105, 104], [104, 63], [93, 137], [137, 227], [227, 93], [15, 86], [86, 85], [85, 15], [129, 102], [102, 49], [49, 129], [14, 87], [87, 86], [86, 14], [55, 8], [8, 9], [9, 55], [100, 47], [47, 121], [121, 100], [145, 23], [23, 22], [22, 145], [88, 89], [89, 179], [179, 88], [6, 122], [122, 196], [196, 6], [88, 95], [95, 96], [96, 88], [138, 172], [172, 136], [136, 138], [215, 58], [58, 172], [172, 215], [115, 48], [48, 219], [219, 115], [42, 80], [80, 81], [81, 42], [195, 3], [3, 51], [51, 195], [43, 146], [146, 61], [61, 43], [171, 175], [175, 199], [199, 171], [81, 82], [82, 38], [38, 81], [53, 46], [46, 225], [225, 53], [144, 163], [163, 110], [110, 144], [52, 65], [65, 66], [66, 52], [229, 228], [228, 117], [117, 229], [34, 127], [127, 234], [234, 34], [107, 108], [108, 69], [69, 107], [109, 108], [108, 151], [151, 109], [48, 64], [64, 235], [235, 48], [62, 78], [78, 191], [191, 62], [129, 209], [209, 126], [126, 129], [111, 35], [35, 143], [143, 111], [117, 123], [123, 50], [50, 117], [222, 65], [65, 52], [52, 222], [19, 125], [125, 141], [141, 19], [221, 55], [55, 65], [65, 221], [3, 195], [195, 197], [197, 3], [25, 7], [7, 33], [33, 25], [220, 237], [237, 44], [44, 220], [70, 71], [71, 139], [139, 70], [122, 193], [193, 245], [245, 122], [247, 130], [130, 33], [33, 247], [71, 21], [21, 162], [162, 71], [170, 169], [169, 150], [150, 170], [188, 174], [174, 196], [196, 188], [216, 186], [186, 92], [92, 216], [2, 97], [97, 167], [167, 2], [141, 125], [125, 241], [241, 141], [164, 167], [167, 37], [37, 164], [72, 38], [38, 12], [12, 72], [38, 82], [82, 13], [13, 38], [63, 68], [68, 71], [71, 63], [226, 35], [35, 111], [111, 226], [101, 50], [50, 205], [205, 101], [206, 92], [92, 165], [165, 206], [209, 198], [198, 217], [217, 209], [165, 167], [167, 97], [97, 165], [220, 115], [115, 218], [218, 220], [133, 112], [112, 243], [243, 133], [239, 238], [238, 241], [241, 239], [214, 135], [135, 169], [169, 214], [190, 173], [173, 133], [133, 190], [171, 208], [208, 32], [32, 171], [125, 44], [44, 237], [237, 125], [86, 87], [87, 178], [178, 86], [85, 86], [86, 179], [179, 85], [84, 85], [85, 180], [180, 84], [83, 84], [84, 181], [181, 83], [201, 83], [83, 182], [182, 201], [137, 93], [93, 132], [132, 137], [76, 62], [62, 183], [183, 76], [61, 76], [76, 184], [184, 61], [57, 61], [61, 185], [185, 57], [212, 57], [57, 186], [186, 212], [214, 207], [207, 187], [187, 214], [34, 143], [143, 156], [156, 34], [79, 239], [239, 237], [237, 79], [123, 137], [137, 177], [177, 123], [44, 1], [1, 4], [4, 44], [201, 194], [194, 32], [32, 201], [64, 102], [102, 129], [129, 64], [213, 215], [215, 138], [138, 213], [59, 166], [166, 219], [219, 59], [242, 99], [99, 97], [97, 242], [2, 94], [94, 141], [141, 2], [75, 59], [59, 235], [235, 75], [24, 110], [110, 228], [228, 24], [25, 130], [130, 226], [226, 25], [23, 24], [24, 229], [229, 23], [22, 23], [23, 230], [230, 22], [26, 22], [22, 231], [231, 26], [112, 26], [26, 232], [232, 112], [189, 190], [190, 243], [243, 189], [221, 56], [56, 190], [190, 221], [28, 56], [56, 221], [221, 28], [27, 28], [28, 222], [222, 27], [29, 27], [27, 223], [223, 29], [30, 29], [29, 224], [224, 30], [247, 30], [30, 225], [225, 247], [238, 79], [79, 20], [20, 238], [166, 59], [59, 75], [75, 166], [60, 75], [75, 240], [240, 60], [147, 177], [177, 215], [215, 147], [20, 79], [79, 166], [166, 20], [187, 147], [147, 213], [213, 187], [112, 233], [233, 244], [244, 112], [233, 128], [128, 245], [245, 233], [128, 114], [114, 188], [188, 128], [114, 217], [217, 174], [174, 114], [131, 115], [115, 220], [220, 131], [217, 198], [198, 236], [236, 217], [198, 131], [131, 134], [134, 198], [177, 132], [132, 58], [58, 177], [143, 35], [35, 124], [124, 143], [110, 163], [163, 7], [7, 110], [228, 110], [110, 25], [25, 228], [356, 389], [389, 368], [368, 356], [11, 302], [302, 267], [267, 11], [452, 350], [350, 349], [349, 452], [302, 303], [303, 269], [269, 302], [357, 343], [343, 277], [277, 357], [452, 453], [453, 357], [357, 452], [333, 332], [332, 297], [297, 333], [175, 152], [152, 377], [377, 175], [347, 348], [348, 330], [330, 347], [303, 304], [304, 270], [270, 303], [9, 336], [336, 337], [337, 9], [278, 279], [279, 360], [360, 278], [418, 262], [262, 431], [431, 418], [304, 408], [408, 409], [409, 304], [310, 415], [415, 407], [407, 310], [270, 409], [409, 410], [410, 270], [450, 348], [348, 347], [347, 450], [422, 430], [430, 434], [434, 422], [313, 314], [314, 17], [17, 313], [306, 307], [307, 375], [375, 306], [387, 388], [388, 260], [260, 387], [286, 414], [414, 398], [398, 286], [335, 406], [406, 418], [418, 335], [364, 367], [367, 416], [416, 364], [423, 358], [358, 327], [327, 423], [251, 284], [284, 298], [298, 251], [281, 5], [5, 4], [4, 281], [373, 374], [374, 253], [253, 373], [307, 320], [320, 321], [321, 307], [425, 427], [427, 411], [411, 425], [421, 313], [313, 18], [18, 421], [321, 405], [405, 406], [406, 321], [320, 404], [404, 405], [405, 320], [315, 16], [16, 17], [17, 315], [426, 425], [425, 266], [266, 426], [377, 400], [400, 369], [369, 377], [322, 391], [391, 269], [269, 322], [417, 465], [465, 464], [464, 417], [386, 257], [257, 258], [258, 386], [466, 260], [260, 388], [388, 466], [456, 399], [399, 419], [419, 456], [284, 332], [332, 333], [333, 284], [417, 285], [285, 8], [8, 417], [346, 340], [340, 261], [261, 346], [413, 441], [441, 285], [285, 413], [327, 460], [460, 328], [328, 327], [355, 371], [371, 329], [329, 355], [392, 439], [439, 438], [438, 392], [382, 341], [341, 256], [256, 382], [429, 420], [420, 360], [360, 429], [364, 394], [394, 379], [379, 364], [277, 343], [343, 437], [437, 277], [443, 444], [444, 283], [283, 443], [275, 440], [440, 363], [363, 275], [431, 262], [262, 369], [369, 431], [297, 338], [338, 337], [337, 297], [273, 375], [375, 321], [321, 273], [450, 451], [451, 349], [349, 450], [446, 342], [342, 467], [467, 446], [293, 334], [334, 282], [282, 293], [458, 461], [461, 462], [462, 458], [276, 353], [353, 383], [383, 276], [308, 324], [324, 325], [325, 308], [276, 300], [300, 293], [293, 276], [372, 345], [345, 447], [447, 372], [352, 345], [345, 340], [340, 352], [274, 1], [1, 19], [19, 274], [456, 248], [248, 281], [281, 456], [436, 427], [427, 425], [425, 436], [381, 256], [256, 252], [252, 381], [269, 391], [391, 393], [393, 269], [200, 199], [199, 428], [428, 200], [266, 330], [330, 329], [329, 266], [287, 273], [273, 422], [422, 287], [250, 462], [462, 328], [328, 250], [258, 286], [286, 384], [384, 258], [265, 353], [353, 342], [342, 265], [387, 259], [259, 257], [257, 387], [424, 431], [431, 430], [430, 424], [342, 353], [353, 276], [276, 342], [273, 335], [335, 424], [424, 273], [292, 325], [325, 307], [307, 292], [366, 447], [447, 345], [345, 366], [271, 303], [303, 302], [302, 271], [423, 266], [266, 371], [371, 423], [294, 455], [455, 460], [460, 294], [279, 278], [278, 294], [294, 279], [271, 272], [272, 304], [304, 271], [432, 434], [434, 427], [427, 432], [272, 407], [407, 408], [408, 272], [394, 430], [430, 431], [431, 394], [395, 369], [369, 400], [400, 395], [334, 333], [333, 299], [299, 334], [351, 417], [417, 168], [168, 351], [352, 280], [280, 411], [411, 352], [325, 319], [319, 320], [320, 325], [295, 296], [296, 336], [336, 295], [319, 403], [403, 404], [404, 319], [330, 348], [348, 349], [349, 330], [293, 298], [298, 333], [333, 293], [323, 454], [454, 447], [447, 323], [15, 16], [16, 315], [315, 15], [358, 429], [429, 279], [279, 358], [14, 15], [15, 316], [316, 14], [285, 336], [336, 9], [9, 285], [329, 349], [349, 350], [350, 329], [374, 380], [380, 252], [252, 374], [318, 402], [402, 403], [403, 318], [6, 197], [197, 419], [419, 6], [318, 319], [319, 325], [325, 318], [367, 364], [364, 365], [365, 367], [435, 367], [367, 397], [397, 435], [344, 438], [438, 439], [439, 344], [272, 271], [271, 311], [311, 272], [195, 5], [5, 281], [281, 195], [273, 287], [287, 291], [291, 273], [396, 428], [428, 199], [199, 396], [311, 271], [271, 268], [268, 311], [283, 444], [444, 445], [445, 283], [373, 254], [254, 339], [339, 373], [282, 334], [334, 296], [296, 282], [449, 347], [347, 346], [346, 449], [264, 447], [447, 454], [454, 264], [336, 296], [296, 299], [299, 336], [338, 10], [10, 151], [151, 338], [278, 439], [439, 455], [455, 278], [292, 407], [407, 415], [415, 292], [358, 371], [371, 355], [355, 358], [340, 345], [345, 372], [372, 340], [346, 347], [347, 280], [280, 346], [442, 443], [443, 282], [282, 442], [19, 94], [94, 370], [370, 19], [441, 442], [442, 295], [295, 441], [248, 419], [419, 197], [197, 248], [263, 255], [255, 359], [359, 263], [440, 275], [275, 274], [274, 440], [300, 383], [383, 368], [368, 300], [351, 412], [412, 465], [465, 351], [263, 467], [467, 466], [466, 263], [301, 368], [368, 389], [389, 301], [395, 378], [378, 379], [379, 395], [412, 351], [351, 419], [419, 412], [436, 426], [426, 322], [322, 436], [2, 164], [164, 393], [393, 2], [370, 462], [462, 461], [461, 370], [164, 0], [0, 267], [267, 164], [302, 11], [11, 12], [12, 302], [268, 12], [12, 13], [13, 268], [293, 300], [300, 301], [301, 293], [446, 261], [261, 340], [340, 446], [330, 266], [266, 425], [425, 330], [426, 423], [423, 391], [391, 426], [429, 355], [355, 437], [437, 429], [391, 327], [327, 326], [326, 391], [440, 457], [457, 438], [438, 440], [341, 382], [382, 362], [362, 341], [459, 457], [457, 461], [461, 459], [434, 430], [430, 394], [394, 434], [414, 463], [463, 362], [362, 414], [396, 369], [369, 262], [262, 396], [354, 461], [461, 457], [457, 354], [316, 403], [403, 402], [402, 316], [315, 404], [404, 403], [403, 315], [314, 405], [405, 404], [404, 314], [313, 406], [406, 405], [405, 313], [421, 418], [418, 406], [406, 421], [366, 401], [401, 361], [361, 366], [306, 408], [408, 407], [407, 306], [291, 409], [409, 408], [408, 291], [287, 410], [410, 409], [409, 287], [432, 436], [436, 410], [410, 432], [434, 416], [416, 411], [411, 434], [264, 368], [368, 383], [383, 264], [309, 438], [438, 457], [457, 309], [352, 376], [376, 401], [401, 352], [274, 275], [275, 4], [4, 274], [421, 428], [428, 262], [262, 421], [294, 327], [327, 358], [358, 294], [433, 416], [416, 367], [367, 433], [289, 455], [455, 439], [439, 289], [462, 370], [370, 326], [326, 462], [2, 326], [326, 370], [370, 2], [305, 460], [460, 455], [455, 305], [254, 449], [449, 448], [448, 254], [255, 261], [261, 446], [446, 255], [253, 450], [450, 449], [449, 253], [252, 451], [451, 450], [450, 252], [256, 452], [452, 451], [451, 256], [341, 453], [453, 452], [452, 341], [413, 464], [464, 463], [463, 413], [441, 413], [413, 414], [414, 441], [258, 442], [442, 441], [441, 258], [257, 443], [443, 442], [442, 257], [259, 444], [444, 443], [443, 259], [260, 445], [445, 444], [444, 260], [467, 342], [342, 445], [445, 467], [459, 458], [458, 250], [250, 459], [289, 392], [392, 290], [290, 289], [290, 328], [328, 460], [460, 290], [376, 433], [433, 435], [435, 376], [250, 290], [290, 392], [392, 250], [411, 416], [416, 433], [433, 411], [341, 463], [463, 464], [464, 341], [453, 464], [464, 465], [465, 453], [357, 465], [465, 412], [412, 357], [343, 412], [412, 399], [399, 343], [360, 363], [363, 440], [440, 360], [437, 399], [399, 456], [456, 437], [420, 456], [456, 363], [363, 420], [401, 435], [435, 288], [288, 401], [372, 383], [383, 353], [353, 372], [339, 255], [255, 249], [249, 339], [448, 261], [261, 255], [255, 448], [133, 243], [243, 190], [190, 133], [133, 155], [155, 112], [112, 133], [33, 246], [246, 247], [247, 33], [33, 130], [130, 25], [25, 33], [398, 384], [384, 286], [286, 398], [362, 398], [398, 414], [414, 362], [362, 463], [463, 341], [341, 362], [263, 359], [359, 467], [467, 263], [263, 249], [249, 255], [255, 263], [466, 467], [467, 260], [260, 466], [75, 60], [60, 166], [166, 75], [238, 239], [239, 79], [79, 238], [162, 127], [127, 139], [139, 162], [72, 11], [11, 37], [37, 72], [121, 232], [232, 120], [120, 121], [73, 72], [72, 39], [39, 73], [114, 128], [128, 47], [47, 114], [233, 232], [232, 128], [128, 233], [103, 104], [104, 67], [67, 103], [152, 175], [175, 148], [148, 152], [119, 118], [118, 101], [101, 119], [74, 73], [73, 40], [40, 74], [107, 9], [9, 108], [108, 107], [49, 48], [48, 131], [131, 49], [32, 194], [194, 211], [211, 32], [184, 74], [74, 185], [185, 184], [191, 80], [80, 183], [183, 191], [185, 40], [40, 186], [186, 185], [119, 230], [230, 118], [118, 119], [210, 202], [202, 214], [214, 210], [84, 83], [83, 17], [17, 84], [77, 76], [76, 146], [146, 77], [161, 160], [160, 30], [30, 161], [190, 56], [56, 173], [173, 190], [182, 106], [106, 194], [194, 182], [138, 135], [135, 192], [192, 138], [129, 203], [203, 98], [98, 129], [54, 21], [21, 68], [68, 54], [5, 51], [51, 4], [4, 5], [145, 144], [144, 23], [23, 145], [90, 77], [77, 91], [91, 90], [207, 205], [205, 187], [187, 207], [83, 201], [201, 18], [18, 83], [181, 91], [91, 182], [182, 181], [180, 90], [90, 181], [181, 180], [16, 85], [85, 17], [17, 16], [205, 206], [206, 36], [36, 205], [176, 148], [148, 140], [140, 176], [165, 92], [92, 39], [39, 165], [245, 193], [193, 244], [244, 245], [27, 159], [159, 28], [28, 27], [30, 247], [247, 161], [161, 30], [174, 236], [236, 196], [196, 174], [103, 54], [54, 104], [104, 103], [55, 193], [193, 8], [8, 55], [111, 117], [117, 31], [31, 111], [221, 189], [189, 55], [55, 221], [240, 98], [98, 99], [99, 240], [142, 126], [126, 100], [100, 142], [219, 166], [166, 218], [218, 219], [112, 155], [155, 26], [26, 112], [198, 209], [209, 131], [131, 198], [169, 135], [135, 150], [150, 169], [114, 47], [47, 217], [217, 114], [224, 223], [223, 53], [53, 224], [220, 45], [45, 134], [134, 220], [32, 211], [211, 140], [140, 32], [109, 67], [67, 108], [108, 109], [146, 43], [43, 91], [91, 146], [231, 230], [230, 120], [120, 231], [113, 226], [226, 247], [247, 113], [105, 63], [63, 52], [52, 105], [241, 238], [238, 242], [242, 241], [124, 46], [46, 156], [156, 124], [95, 78], [78, 96], [96, 95], [70, 46], [46, 63], [63, 70], [116, 143], [143, 227], [227, 116], [116, 123], [123, 111], [111, 116], [1, 44], [44, 19], [19, 1], [3, 236], [236, 51], [51, 3], [207, 216], [216, 205], [205, 207], [26, 154], [154, 22], [22, 26], [165, 39], [39, 167], [167, 165], [199, 200], [200, 208], [208, 199], [101, 36], [36, 100], [100, 101], [43, 57], [57, 202], [202, 43], [242, 20], [20, 99], [99, 242], [56, 28], [28, 157], [157, 56], [124, 35], [35, 113], [113, 124], [29, 160], [160, 27], [27, 29], [211, 204], [204, 210], [210, 211], [124, 113], [113, 46], [46, 124], [106, 43], [43, 204], [204, 106], [96, 62], [62, 77], [77, 96], [227, 137], [137, 116], [116, 227], [73, 41], [41, 72], [72, 73], [36, 203], [203, 142], [142, 36], [235, 64], [64, 240], [240, 235], [48, 49], [49, 64], [64, 48], [42, 41], [41, 74], [74, 42], [214, 212], [212, 207], [207, 214], [183, 42], [42, 184], [184, 183], [210, 169], [169, 211], [211, 210], [140, 170], [170, 176], [176, 140], [104, 105], [105, 69], [69, 104], [193, 122], [122, 168], [168, 193], [50, 123], [123, 187], [187, 50], [89, 96], [96, 90], [90, 89], [66, 65], [65, 107], [107, 66], [179, 89], [89, 180], [180, 179], [119, 101], [101, 120], [120, 119], [68, 63], [63, 104], [104, 68], [234, 93], [93, 227], [227, 234], [16, 15], [15, 85], [85, 16], [209, 129], [129, 49], [49, 209], [15, 14], [14, 86], [86, 15], [107, 55], [55, 9], [9, 107], [120, 100], [100, 121], [121, 120], [153, 145], [145, 22], [22, 153], [178, 88], [88, 179], [179, 178], [197, 6], [6, 196], [196, 197], [89, 88], [88, 96], [96, 89], [135, 138], [138, 136], [136, 135], [138, 215], [215, 172], [172, 138], [218, 115], [115, 219], [219, 218], [41, 42], [42, 81], [81, 41], [5, 195], [195, 51], [51, 5], [57, 43], [43, 61], [61, 57], [208, 171], [171, 199], [199, 208], [41, 81], [81, 38], [38, 41], [224, 53], [53, 225], [225, 224], [24, 144], [144, 110], [110, 24], [105, 52], [52, 66], [66, 105], [118, 229], [229, 117], [117, 118], [227, 34], [34, 234], [234, 227], [66, 107], [107, 69], [69, 66], [10, 109], [109, 151], [151, 10], [219, 48], [48, 235], [235, 219], [183, 62], [62, 191], [191, 183], [142, 129], [129, 126], [126, 142], [116, 111], [111, 143], [143, 116], [118, 117], [117, 50], [50, 118], [223, 222], [222, 52], [52, 223], [94, 19], [19, 141], [141, 94], [222, 221], [221, 65], [65, 222], [196, 3], [3, 197], [197, 196], [45, 220], [220, 44], [44, 45], [156, 70], [70, 139], [139, 156], [188, 122], [122, 245], [245, 188], [139, 71], [71, 162], [162, 139], [149, 170], [170, 150], [150, 149], [122, 188], [188, 196], [196, 122], [206, 216], [216, 92], [92, 206], [164, 2], [2, 167], [167, 164], [242, 141], [141, 241], [241, 242], [0, 164], [164, 37], [37, 0], [11, 72], [72, 12], [12, 11], [12, 38], [38, 13], [13, 12], [70, 63], [63, 71], [71, 70], [31, 226], [226, 111], [111, 31], [36, 101], [101, 205], [205, 36], [203, 206], [206, 165], [165, 203], [126, 209], [209, 217], [217, 126], [98, 165], [165, 97], [97, 98], [237, 220], [220, 218], [218, 237], [237, 239], [239, 241], [241, 237], [210, 214], [214, 169], [169, 210], [140, 171], [171, 32], [32, 140], [241, 125], [125, 237], [237, 241], [179, 86], [86, 178], [178, 179], [180, 85], [85, 179], [179, 180], [181, 84], [84, 180], [180, 181], [182, 83], [83, 181], [181, 182], [194, 201], [201, 182], [182, 194], [177, 137], [137, 132], [132, 177], [184, 76], [76, 183], [183, 184], [185, 61], [61, 184], [184, 185], [186, 57], [57, 185], [185, 186], [216, 212], [212, 186], [186, 216], [192, 214], [214, 187], [187, 192], [139, 34], [34, 156], [156, 139], [218, 79], [79, 237], [237, 218], [147, 123], [123, 177], [177, 147], [45, 44], [44, 4], [4, 45], [208, 201], [201, 32], [32, 208], [98, 64], [64, 129], [129, 98], [192, 213], [213, 138], [138, 192], [235, 59], [59, 219], [219, 235], [141, 242], [242, 97], [97, 141], [97, 2], [2, 141], [141, 97], [240, 75], [75, 235], [235, 240], [229, 24], [24, 228], [228, 229], [31, 25], [25, 226], [226, 31], [230, 23], [23, 229], [229, 230], [231, 22], [22, 230], [230, 231], [232, 26], [26, 231], [231, 232], [233, 112], [112, 232], [232, 233], [244, 189], [189, 243], [243, 244], [189, 221], [221, 190], [190, 189], [222, 28], [28, 221], [221, 222], [223, 27], [27, 222], [222, 223], [224, 29], [29, 223], [223, 224], [225, 30], [30, 224], [224, 225], [113, 247], [247, 225], [225, 113], [99, 60], [60, 240], [240, 99], [213, 147], [147, 215], [215, 213], [60, 20], [20, 166], [166, 60], [192, 187], [187, 213], [213, 192], [243, 112], [112, 244], [244, 243], [244, 233], [233, 245], [245, 244], [245, 128], [128, 188], [188, 245], [188, 114], [114, 174], [174, 188], [134, 131], [131, 220], [220, 134], [174, 217], [217, 236], [236, 174], [236, 198], [198, 134], [134, 236], [215, 177], [177, 58], [58, 215], [156, 143], [143, 124], [124, 156], [25, 110], [110, 7], [7, 25], [31, 228], [228, 25], [25, 31], [264, 356], [356, 368], [368, 264], [0, 11], [11, 267], [267, 0], [451, 452], [452, 349], [349, 451], [267, 302], [302, 269], [269, 267], [350, 357], [357, 277], [277, 350], [350, 452], [452, 357], [357, 350], [299, 333], [333, 297], [297, 299], [396, 175], [175, 377], [377, 396], [280, 347], [347, 330], [330, 280], [269, 303], [303, 270], [270, 269], [151, 9], [9, 337], [337, 151], [344, 278], [278, 360], [360, 344], [424, 418], [418, 431], [431, 424], [270, 304], [304, 409], [409, 270], [272, 310], [310, 407], [407, 272], [322, 270], [270, 410], [410, 322], [449, 450], [450, 347], [347, 449], [432, 422], [422, 434], [434, 432], [18, 313], [313, 17], [17, 18], [291, 306], [306, 375], [375, 291], [259, 387], [387, 260], [260, 259], [424, 335], [335, 418], [418, 424], [434, 364], [364, 416], [416, 434], [391, 423], [423, 327], [327, 391], [301, 251], [251, 298], [298, 301], [275, 281], [281, 4], [4, 275], [254, 373], [373, 253], [253, 254], [375, 307], [307, 321], [321, 375], [280, 425], [425, 411], [411, 280], [200, 421], [421, 18], [18, 200], [335, 321], [321, 406], [406, 335], [321, 320], [320, 405], [405, 321], [314, 315], [315, 17], [17, 314], [423, 426], [426, 266], [266, 423], [396, 377], [377, 369], [369, 396], [270, 322], [322, 269], [269, 270], [413, 417], [417, 464], [464, 413], [385, 386], [386, 258], [258, 385], [248, 456], [456, 419], [419, 248], [298, 284], [284, 333], [333, 298], [168, 417], [417, 8], [8, 168], [448, 346], [346, 261], [261, 448], [417, 413], [413, 285], [285, 417], [326, 327], [327, 328], [328, 326], [277, 355], [355, 329], [329, 277], [309, 392], [392, 438], [438, 309], [381, 382], [382, 256], [256, 381], [279, 429], [429, 360], [360, 279], [365, 364], [364, 379], [379, 365], [355, 277], [277, 437], [437, 355], [282, 443], [443, 283], [283, 282], [281, 275], [275, 363], [363, 281], [395, 431], [431, 369], [369, 395], [299, 297], [297, 337], [337, 299], [335, 273], [273, 321], [321, 335], [348, 450], [450, 349], [349, 348], [359, 446], [446, 467], [467, 359], [283, 293], [293, 282], [282, 283], [250, 458], [458, 462], [462, 250], [300, 276], [276, 383], [383, 300], [292, 308], [308, 325], [325, 292], [283, 276], [276, 293], [293, 283], [264, 372], [372, 447], [447, 264], [346, 352], [352, 340], [340, 346], [354, 274], [274, 19], [19, 354], [363, 456], [456, 281], [281, 363], [426, 436], [436, 425], [425, 426], [380, 381], [381, 252], [252, 380], [267, 269], [269, 393], [393, 267], [421, 200], [200, 428], [428, 421], [371, 266], [266, 329], [329, 371], [432, 287], [287, 422], [422, 432], [290, 250], [250, 328], [328, 290], [385, 258], [258, 384], [384, 385], [446, 265], [265, 342], [342, 446], [386, 387], [387, 257], [257, 386], [422, 424], [424, 430], [430, 422], [445, 342], [342, 276], [276, 445], [422, 273], [273, 424], [424, 422], [306, 292], [292, 307], [307, 306], [352, 366], [366, 345], [345, 352], [268, 271], [271, 302], [302, 268], [358, 423], [423, 371], [371, 358], [327, 294], [294, 460], [460, 327], [331, 279], [279, 294], [294, 331], [303, 271], [271, 304], [304, 303], [436, 432], [432, 427], [427, 436], [304, 272], [272, 408], [408, 304], [395, 394], [394, 431], [431, 395], [378, 395], [395, 400], [400, 378], [296, 334], [334, 299], [299, 296], [6, 351], [351, 168], [168, 6], [376, 352], [352, 411], [411, 376], [307, 325], [325, 320], [320, 307], [285, 295], [295, 336], [336, 285], [320, 319], [319, 404], [404, 320], [329, 330], [330, 349], [349, 329], [334, 293], [293, 333], [333, 334], [366, 323], [323, 447], [447, 366], [316, 15], [15, 315], [315, 316], [331, 358], [358, 279], [279, 331], [317, 14], [14, 316], [316, 317], [8, 285], [285, 9], [9, 8], [277, 329], [329, 350], [350, 277], [253, 374], [374, 252], [252, 253], [319, 318], [318, 403], [403, 319], [351, 6], [6, 419], [419, 351], [324, 318], [318, 325], [325, 324], [397, 367], [367, 365], [365, 397], [288, 435], [435, 397], [397, 288], [278, 344], [344, 439], [439, 278], [310, 272], [272, 311], [311, 310], [248, 195], [195, 281], [281, 248], [375, 273], [273, 291], [291, 375], [175, 396], [396, 199], [199, 175], [312, 311], [311, 268], [268, 312], [276, 283], [283, 445], [445, 276], [390, 373], [373, 339], [339, 390], [295, 282], [282, 296], [296, 295], [448, 449], [449, 346], [346, 448], [356, 264], [264, 454], [454, 356], [337, 336], [336, 299], [299, 337], [337, 338], [338, 151], [151, 337], [294, 278], [278, 455], [455, 294], [308, 292], [292, 415], [415, 308], [429, 358], [358, 355], [355, 429], [265, 340], [340, 372], [372, 265], [352, 346], [346, 280], [280, 352], [295, 442], [442, 282], [282, 295], [354, 19], [19, 370], [370, 354], [285, 441], [441, 295], [295, 285], [195, 248], [248, 197], [197, 195], [457, 440], [440, 274], [274, 457], [301, 300], [300, 368], [368, 301], [417, 351], [351, 465], [465, 417], [251, 301], [301, 389], [389, 251], [394, 395], [395, 379], [379, 394], [399, 412], [412, 419], [419, 399], [410, 436], [436, 322], [322, 410], [326, 2], [2, 393], [393, 326], [354, 370], [370, 461], [461, 354], [393, 164], [164, 267], [267, 393], [268, 302], [302, 12], [12, 268], [312, 268], [268, 13], [13, 312], [298, 293], [293, 301], [301, 298], [265, 446], [446, 340], [340, 265], [280, 330], [330, 425], [425, 280], [322, 426], [426, 391], [391, 322], [420, 429], [429, 437], [437, 420], [393, 391], [391, 326], [326, 393], [344, 440], [440, 438], [438, 344], [458, 459], [459, 461], [461, 458], [364, 434], [434, 394], [394, 364], [428, 396], [396, 262], [262, 428], [274, 354], [354, 457], [457, 274], [317, 316], [316, 402], [402, 317], [316, 315], [315, 403], [403, 316], [315, 314], [314, 404], [404, 315], [314, 313], [313, 405], [405, 314], [313, 421], [421, 406], [406, 313], [323, 366], [366, 361], [361, 323], [292, 306], [306, 407], [407, 292], [306, 291], [291, 408], [408, 306], [291, 287], [287, 409], [409, 291], [287, 432], [432, 410], [410, 287], [427, 434], [434, 411], [411, 427], [372, 264], [264, 383], [383, 372], [459, 309], [309, 457], [457, 459], [366, 352], [352, 401], [401, 366], [1, 274], [274, 4], [4, 1], [418, 421], [421, 262], [262, 418], [331, 294], [294, 358], [358, 331], [435, 433], [433, 367], [367, 435], [392, 289], [289, 439], [439, 392], [328, 462], [462, 326], [326, 328], [94, 2], [2, 370], [370, 94], [289, 305], [305, 455], [455, 289], [339, 254], [254, 448], [448, 339], [359, 255], [255, 446], [446, 359], [254, 253], [253, 449], [449, 254], [253, 252], [252, 450], [450, 253], [252, 256], [256, 451], [451, 252], [256, 341], [341, 452], [452, 256], [414, 413], [413, 463], [463, 414], [286, 441], [441, 414], [414, 286], [286, 258], [258, 441], [441, 286], [258, 257], [257, 442], [442, 258], [257, 259], [259, 443], [443, 257], [259, 260], [260, 444], [444, 259], [260, 467], [467, 445], [445, 260], [309, 459], [459, 250], [250, 309], [305, 289], [289, 290], [290, 305], [305, 290], [290, 460], [460, 305], [401, 376], [376, 435], [435, 401], [309, 250], [250, 392], [392, 309], [376, 411], [411, 433], [433, 376], [453, 341], [341, 464], [464, 453], [357, 453], [453, 465], [465, 357], [343, 357], [357, 412], [412, 343], [437, 343], [343, 399], [399, 437], [344, 360], [360, 440], [440, 344], [420, 437], [437, 456], [456, 420], [360, 420], [420, 363], [363, 360], [361, 401], [401, 288], [288, 361], [265, 372], [372, 353], [353, 265], [390, 339], [339, 249], [249, 390], [339, 448], [448, 255], [255, 339]);
|
|
3923
|
+
var Qo = rt([61, 146], [146, 91], [91, 181], [181, 84], [84, 17], [17, 314], [314, 405], [405, 321], [321, 375], [375, 291], [61, 185], [185, 40], [40, 39], [39, 37], [37, 0], [0, 267], [267, 269], [269, 270], [270, 409], [409, 291], [78, 95], [95, 88], [88, 178], [178, 87], [87, 14], [14, 317], [317, 402], [402, 318], [318, 324], [324, 308], [78, 191], [191, 80], [80, 81], [81, 82], [82, 13], [13, 312], [312, 311], [311, 310], [310, 415], [415, 308]), Jo = rt([263, 249], [249, 390], [390, 373], [373, 374], [374, 380], [380, 381], [381, 382], [382, 362], [263, 466], [466, 388], [388, 387], [387, 386], [386, 385], [385, 384], [384, 398], [398, 362]), Zo = rt([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), kl = rt([474, 475], [475, 476], [476, 477], [477, 474]), es = rt([33, 7], [7, 163], [163, 144], [144, 145], [145, 153], [153, 154], [154, 155], [155, 133], [33, 246], [246, 161], [161, 160], [160, 159], [159, 158], [158, 157], [157, 173], [173, 133]), ts = rt([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), Al = rt([469, 470], [470, 471], [471, 472], [472, 469]), is = rt([10, 338], [338, 297], [297, 332], [332, 284], [284, 251], [251, 389], [389, 356], [356, 454], [454, 323], [323, 361], [361, 288], [288, 397], [397, 365], [365, 379], [379, 378], [378, 400], [400, 377], [377, 152], [152, 148], [148, 176], [176, 149], [149, 150], [150, 136], [136, 172], [172, 58], [58, 132], [132, 93], [93, 234], [234, 127], [127, 162], [162, 21], [21, 54], [54, 103], [103, 67], [67, 109], [109, 10]), Tl = [...Qo, ...Jo, ...Zo, ...es, ...ts, ...is], Nl = rt([127, 34], [34, 139], [139, 127], [11, 0], [0, 37], [37, 11], [232, 231], [231, 120], [120, 232], [72, 37], [37, 39], [39, 72], [128, 121], [121, 47], [47, 128], [232, 121], [121, 128], [128, 232], [104, 69], [69, 67], [67, 104], [175, 171], [171, 148], [148, 175], [118, 50], [50, 101], [101, 118], [73, 39], [39, 40], [40, 73], [9, 151], [151, 108], [108, 9], [48, 115], [115, 131], [131, 48], [194, 204], [204, 211], [211, 194], [74, 40], [40, 185], [185, 74], [80, 42], [42, 183], [183, 80], [40, 92], [92, 186], [186, 40], [230, 229], [229, 118], [118, 230], [202, 212], [212, 214], [214, 202], [83, 18], [18, 17], [17, 83], [76, 61], [61, 146], [146, 76], [160, 29], [29, 30], [30, 160], [56, 157], [157, 173], [173, 56], [106, 204], [204, 194], [194, 106], [135, 214], [214, 192], [192, 135], [203, 165], [165, 98], [98, 203], [21, 71], [71, 68], [68, 21], [51, 45], [45, 4], [4, 51], [144, 24], [24, 23], [23, 144], [77, 146], [146, 91], [91, 77], [205, 50], [50, 187], [187, 205], [201, 200], [200, 18], [18, 201], [91, 106], [106, 182], [182, 91], [90, 91], [91, 181], [181, 90], [85, 84], [84, 17], [17, 85], [206, 203], [203, 36], [36, 206], [148, 171], [171, 140], [140, 148], [92, 40], [40, 39], [39, 92], [193, 189], [189, 244], [244, 193], [159, 158], [158, 28], [28, 159], [247, 246], [246, 161], [161, 247], [236, 3], [3, 196], [196, 236], [54, 68], [68, 104], [104, 54], [193, 168], [168, 8], [8, 193], [117, 228], [228, 31], [31, 117], [189, 193], [193, 55], [55, 189], [98, 97], [97, 99], [99, 98], [126, 47], [47, 100], [100, 126], [166, 79], [79, 218], [218, 166], [155, 154], [154, 26], [26, 155], [209, 49], [49, 131], [131, 209], [135, 136], [136, 150], [150, 135], [47, 126], [126, 217], [217, 47], [223, 52], [52, 53], [53, 223], [45, 51], [51, 134], [134, 45], [211, 170], [170, 140], [140, 211], [67, 69], [69, 108], [108, 67], [43, 106], [106, 91], [91, 43], [230, 119], [119, 120], [120, 230], [226, 130], [130, 247], [247, 226], [63, 53], [53, 52], [52, 63], [238, 20], [20, 242], [242, 238], [46, 70], [70, 156], [156, 46], [78, 62], [62, 96], [96, 78], [46, 53], [53, 63], [63, 46], [143, 34], [34, 227], [227, 143], [123, 117], [117, 111], [111, 123], [44, 125], [125, 19], [19, 44], [236, 134], [134, 51], [51, 236], [216, 206], [206, 205], [205, 216], [154, 153], [153, 22], [22, 154], [39, 37], [37, 167], [167, 39], [200, 201], [201, 208], [208, 200], [36, 142], [142, 100], [100, 36], [57, 212], [212, 202], [202, 57], [20, 60], [60, 99], [99, 20], [28, 158], [158, 157], [157, 28], [35, 226], [226, 113], [113, 35], [160, 159], [159, 27], [27, 160], [204, 202], [202, 210], [210, 204], [113, 225], [225, 46], [46, 113], [43, 202], [202, 204], [204, 43], [62, 76], [76, 77], [77, 62], [137, 123], [123, 116], [116, 137], [41, 38], [38, 72], [72, 41], [203, 129], [129, 142], [142, 203], [64, 98], [98, 240], [240, 64], [49, 102], [102, 64], [64, 49], [41, 73], [73, 74], [74, 41], [212, 216], [216, 207], [207, 212], [42, 74], [74, 184], [184, 42], [169, 170], [170, 211], [211, 169], [170, 149], [149, 176], [176, 170], [105, 66], [66, 69], [69, 105], [122, 6], [6, 168], [168, 122], [123, 147], [147, 187], [187, 123], [96, 77], [77, 90], [90, 96], [65, 55], [55, 107], [107, 65], [89, 90], [90, 180], [180, 89], [101, 100], [100, 120], [120, 101], [63, 105], [105, 104], [104, 63], [93, 137], [137, 227], [227, 93], [15, 86], [86, 85], [85, 15], [129, 102], [102, 49], [49, 129], [14, 87], [87, 86], [86, 14], [55, 8], [8, 9], [9, 55], [100, 47], [47, 121], [121, 100], [145, 23], [23, 22], [22, 145], [88, 89], [89, 179], [179, 88], [6, 122], [122, 196], [196, 6], [88, 95], [95, 96], [96, 88], [138, 172], [172, 136], [136, 138], [215, 58], [58, 172], [172, 215], [115, 48], [48, 219], [219, 115], [42, 80], [80, 81], [81, 42], [195, 3], [3, 51], [51, 195], [43, 146], [146, 61], [61, 43], [171, 175], [175, 199], [199, 171], [81, 82], [82, 38], [38, 81], [53, 46], [46, 225], [225, 53], [144, 163], [163, 110], [110, 144], [52, 65], [65, 66], [66, 52], [229, 228], [228, 117], [117, 229], [34, 127], [127, 234], [234, 34], [107, 108], [108, 69], [69, 107], [109, 108], [108, 151], [151, 109], [48, 64], [64, 235], [235, 48], [62, 78], [78, 191], [191, 62], [129, 209], [209, 126], [126, 129], [111, 35], [35, 143], [143, 111], [117, 123], [123, 50], [50, 117], [222, 65], [65, 52], [52, 222], [19, 125], [125, 141], [141, 19], [221, 55], [55, 65], [65, 221], [3, 195], [195, 197], [197, 3], [25, 7], [7, 33], [33, 25], [220, 237], [237, 44], [44, 220], [70, 71], [71, 139], [139, 70], [122, 193], [193, 245], [245, 122], [247, 130], [130, 33], [33, 247], [71, 21], [21, 162], [162, 71], [170, 169], [169, 150], [150, 170], [188, 174], [174, 196], [196, 188], [216, 186], [186, 92], [92, 216], [2, 97], [97, 167], [167, 2], [141, 125], [125, 241], [241, 141], [164, 167], [167, 37], [37, 164], [72, 38], [38, 12], [12, 72], [38, 82], [82, 13], [13, 38], [63, 68], [68, 71], [71, 63], [226, 35], [35, 111], [111, 226], [101, 50], [50, 205], [205, 101], [206, 92], [92, 165], [165, 206], [209, 198], [198, 217], [217, 209], [165, 167], [167, 97], [97, 165], [220, 115], [115, 218], [218, 220], [133, 112], [112, 243], [243, 133], [239, 238], [238, 241], [241, 239], [214, 135], [135, 169], [169, 214], [190, 173], [173, 133], [133, 190], [171, 208], [208, 32], [32, 171], [125, 44], [44, 237], [237, 125], [86, 87], [87, 178], [178, 86], [85, 86], [86, 179], [179, 85], [84, 85], [85, 180], [180, 84], [83, 84], [84, 181], [181, 83], [201, 83], [83, 182], [182, 201], [137, 93], [93, 132], [132, 137], [76, 62], [62, 183], [183, 76], [61, 76], [76, 184], [184, 61], [57, 61], [61, 185], [185, 57], [212, 57], [57, 186], [186, 212], [214, 207], [207, 187], [187, 214], [34, 143], [143, 156], [156, 34], [79, 239], [239, 237], [237, 79], [123, 137], [137, 177], [177, 123], [44, 1], [1, 4], [4, 44], [201, 194], [194, 32], [32, 201], [64, 102], [102, 129], [129, 64], [213, 215], [215, 138], [138, 213], [59, 166], [166, 219], [219, 59], [242, 99], [99, 97], [97, 242], [2, 94], [94, 141], [141, 2], [75, 59], [59, 235], [235, 75], [24, 110], [110, 228], [228, 24], [25, 130], [130, 226], [226, 25], [23, 24], [24, 229], [229, 23], [22, 23], [23, 230], [230, 22], [26, 22], [22, 231], [231, 26], [112, 26], [26, 232], [232, 112], [189, 190], [190, 243], [243, 189], [221, 56], [56, 190], [190, 221], [28, 56], [56, 221], [221, 28], [27, 28], [28, 222], [222, 27], [29, 27], [27, 223], [223, 29], [30, 29], [29, 224], [224, 30], [247, 30], [30, 225], [225, 247], [238, 79], [79, 20], [20, 238], [166, 59], [59, 75], [75, 166], [60, 75], [75, 240], [240, 60], [147, 177], [177, 215], [215, 147], [20, 79], [79, 166], [166, 20], [187, 147], [147, 213], [213, 187], [112, 233], [233, 244], [244, 112], [233, 128], [128, 245], [245, 233], [128, 114], [114, 188], [188, 128], [114, 217], [217, 174], [174, 114], [131, 115], [115, 220], [220, 131], [217, 198], [198, 236], [236, 217], [198, 131], [131, 134], [134, 198], [177, 132], [132, 58], [58, 177], [143, 35], [35, 124], [124, 143], [110, 163], [163, 7], [7, 110], [228, 110], [110, 25], [25, 228], [356, 389], [389, 368], [368, 356], [11, 302], [302, 267], [267, 11], [452, 350], [350, 349], [349, 452], [302, 303], [303, 269], [269, 302], [357, 343], [343, 277], [277, 357], [452, 453], [453, 357], [357, 452], [333, 332], [332, 297], [297, 333], [175, 152], [152, 377], [377, 175], [347, 348], [348, 330], [330, 347], [303, 304], [304, 270], [270, 303], [9, 336], [336, 337], [337, 9], [278, 279], [279, 360], [360, 278], [418, 262], [262, 431], [431, 418], [304, 408], [408, 409], [409, 304], [310, 415], [415, 407], [407, 310], [270, 409], [409, 410], [410, 270], [450, 348], [348, 347], [347, 450], [422, 430], [430, 434], [434, 422], [313, 314], [314, 17], [17, 313], [306, 307], [307, 375], [375, 306], [387, 388], [388, 260], [260, 387], [286, 414], [414, 398], [398, 286], [335, 406], [406, 418], [418, 335], [364, 367], [367, 416], [416, 364], [423, 358], [358, 327], [327, 423], [251, 284], [284, 298], [298, 251], [281, 5], [5, 4], [4, 281], [373, 374], [374, 253], [253, 373], [307, 320], [320, 321], [321, 307], [425, 427], [427, 411], [411, 425], [421, 313], [313, 18], [18, 421], [321, 405], [405, 406], [406, 321], [320, 404], [404, 405], [405, 320], [315, 16], [16, 17], [17, 315], [426, 425], [425, 266], [266, 426], [377, 400], [400, 369], [369, 377], [322, 391], [391, 269], [269, 322], [417, 465], [465, 464], [464, 417], [386, 257], [257, 258], [258, 386], [466, 260], [260, 388], [388, 466], [456, 399], [399, 419], [419, 456], [284, 332], [332, 333], [333, 284], [417, 285], [285, 8], [8, 417], [346, 340], [340, 261], [261, 346], [413, 441], [441, 285], [285, 413], [327, 460], [460, 328], [328, 327], [355, 371], [371, 329], [329, 355], [392, 439], [439, 438], [438, 392], [382, 341], [341, 256], [256, 382], [429, 420], [420, 360], [360, 429], [364, 394], [394, 379], [379, 364], [277, 343], [343, 437], [437, 277], [443, 444], [444, 283], [283, 443], [275, 440], [440, 363], [363, 275], [431, 262], [262, 369], [369, 431], [297, 338], [338, 337], [337, 297], [273, 375], [375, 321], [321, 273], [450, 451], [451, 349], [349, 450], [446, 342], [342, 467], [467, 446], [293, 334], [334, 282], [282, 293], [458, 461], [461, 462], [462, 458], [276, 353], [353, 383], [383, 276], [308, 324], [324, 325], [325, 308], [276, 300], [300, 293], [293, 276], [372, 345], [345, 447], [447, 372], [352, 345], [345, 340], [340, 352], [274, 1], [1, 19], [19, 274], [456, 248], [248, 281], [281, 456], [436, 427], [427, 425], [425, 436], [381, 256], [256, 252], [252, 381], [269, 391], [391, 393], [393, 269], [200, 199], [199, 428], [428, 200], [266, 330], [330, 329], [329, 266], [287, 273], [273, 422], [422, 287], [250, 462], [462, 328], [328, 250], [258, 286], [286, 384], [384, 258], [265, 353], [353, 342], [342, 265], [387, 259], [259, 257], [257, 387], [424, 431], [431, 430], [430, 424], [342, 353], [353, 276], [276, 342], [273, 335], [335, 424], [424, 273], [292, 325], [325, 307], [307, 292], [366, 447], [447, 345], [345, 366], [271, 303], [303, 302], [302, 271], [423, 266], [266, 371], [371, 423], [294, 455], [455, 460], [460, 294], [279, 278], [278, 294], [294, 279], [271, 272], [272, 304], [304, 271], [432, 434], [434, 427], [427, 432], [272, 407], [407, 408], [408, 272], [394, 430], [430, 431], [431, 394], [395, 369], [369, 400], [400, 395], [334, 333], [333, 299], [299, 334], [351, 417], [417, 168], [168, 351], [352, 280], [280, 411], [411, 352], [325, 319], [319, 320], [320, 325], [295, 296], [296, 336], [336, 295], [319, 403], [403, 404], [404, 319], [330, 348], [348, 349], [349, 330], [293, 298], [298, 333], [333, 293], [323, 454], [454, 447], [447, 323], [15, 16], [16, 315], [315, 15], [358, 429], [429, 279], [279, 358], [14, 15], [15, 316], [316, 14], [285, 336], [336, 9], [9, 285], [329, 349], [349, 350], [350, 329], [374, 380], [380, 252], [252, 374], [318, 402], [402, 403], [403, 318], [6, 197], [197, 419], [419, 6], [318, 319], [319, 325], [325, 318], [367, 364], [364, 365], [365, 367], [435, 367], [367, 397], [397, 435], [344, 438], [438, 439], [439, 344], [272, 271], [271, 311], [311, 272], [195, 5], [5, 281], [281, 195], [273, 287], [287, 291], [291, 273], [396, 428], [428, 199], [199, 396], [311, 271], [271, 268], [268, 311], [283, 444], [444, 445], [445, 283], [373, 254], [254, 339], [339, 373], [282, 334], [334, 296], [296, 282], [449, 347], [347, 346], [346, 449], [264, 447], [447, 454], [454, 264], [336, 296], [296, 299], [299, 336], [338, 10], [10, 151], [151, 338], [278, 439], [439, 455], [455, 278], [292, 407], [407, 415], [415, 292], [358, 371], [371, 355], [355, 358], [340, 345], [345, 372], [372, 340], [346, 347], [347, 280], [280, 346], [442, 443], [443, 282], [282, 442], [19, 94], [94, 370], [370, 19], [441, 442], [442, 295], [295, 441], [248, 419], [419, 197], [197, 248], [263, 255], [255, 359], [359, 263], [440, 275], [275, 274], [274, 440], [300, 383], [383, 368], [368, 300], [351, 412], [412, 465], [465, 351], [263, 467], [467, 466], [466, 263], [301, 368], [368, 389], [389, 301], [395, 378], [378, 379], [379, 395], [412, 351], [351, 419], [419, 412], [436, 426], [426, 322], [322, 436], [2, 164], [164, 393], [393, 2], [370, 462], [462, 461], [461, 370], [164, 0], [0, 267], [267, 164], [302, 11], [11, 12], [12, 302], [268, 12], [12, 13], [13, 268], [293, 300], [300, 301], [301, 293], [446, 261], [261, 340], [340, 446], [330, 266], [266, 425], [425, 330], [426, 423], [423, 391], [391, 426], [429, 355], [355, 437], [437, 429], [391, 327], [327, 326], [326, 391], [440, 457], [457, 438], [438, 440], [341, 382], [382, 362], [362, 341], [459, 457], [457, 461], [461, 459], [434, 430], [430, 394], [394, 434], [414, 463], [463, 362], [362, 414], [396, 369], [369, 262], [262, 396], [354, 461], [461, 457], [457, 354], [316, 403], [403, 402], [402, 316], [315, 404], [404, 403], [403, 315], [314, 405], [405, 404], [404, 314], [313, 406], [406, 405], [405, 313], [421, 418], [418, 406], [406, 421], [366, 401], [401, 361], [361, 366], [306, 408], [408, 407], [407, 306], [291, 409], [409, 408], [408, 291], [287, 410], [410, 409], [409, 287], [432, 436], [436, 410], [410, 432], [434, 416], [416, 411], [411, 434], [264, 368], [368, 383], [383, 264], [309, 438], [438, 457], [457, 309], [352, 376], [376, 401], [401, 352], [274, 275], [275, 4], [4, 274], [421, 428], [428, 262], [262, 421], [294, 327], [327, 358], [358, 294], [433, 416], [416, 367], [367, 433], [289, 455], [455, 439], [439, 289], [462, 370], [370, 326], [326, 462], [2, 326], [326, 370], [370, 2], [305, 460], [460, 455], [455, 305], [254, 449], [449, 448], [448, 254], [255, 261], [261, 446], [446, 255], [253, 450], [450, 449], [449, 253], [252, 451], [451, 450], [450, 252], [256, 452], [452, 451], [451, 256], [341, 453], [453, 452], [452, 341], [413, 464], [464, 463], [463, 413], [441, 413], [413, 414], [414, 441], [258, 442], [442, 441], [441, 258], [257, 443], [443, 442], [442, 257], [259, 444], [444, 443], [443, 259], [260, 445], [445, 444], [444, 260], [467, 342], [342, 445], [445, 467], [459, 458], [458, 250], [250, 459], [289, 392], [392, 290], [290, 289], [290, 328], [328, 460], [460, 290], [376, 433], [433, 435], [435, 376], [250, 290], [290, 392], [392, 250], [411, 416], [416, 433], [433, 411], [341, 463], [463, 464], [464, 341], [453, 464], [464, 465], [465, 453], [357, 465], [465, 412], [412, 357], [343, 412], [412, 399], [399, 343], [360, 363], [363, 440], [440, 360], [437, 399], [399, 456], [456, 437], [420, 456], [456, 363], [363, 420], [401, 435], [435, 288], [288, 401], [372, 383], [383, 353], [353, 372], [339, 255], [255, 249], [249, 339], [448, 261], [261, 255], [255, 448], [133, 243], [243, 190], [190, 133], [133, 155], [155, 112], [112, 133], [33, 246], [246, 247], [247, 33], [33, 130], [130, 25], [25, 33], [398, 384], [384, 286], [286, 398], [362, 398], [398, 414], [414, 362], [362, 463], [463, 341], [341, 362], [263, 359], [359, 467], [467, 263], [263, 249], [249, 255], [255, 263], [466, 467], [467, 260], [260, 466], [75, 60], [60, 166], [166, 75], [238, 239], [239, 79], [79, 238], [162, 127], [127, 139], [139, 162], [72, 11], [11, 37], [37, 72], [121, 232], [232, 120], [120, 121], [73, 72], [72, 39], [39, 73], [114, 128], [128, 47], [47, 114], [233, 232], [232, 128], [128, 233], [103, 104], [104, 67], [67, 103], [152, 175], [175, 148], [148, 152], [119, 118], [118, 101], [101, 119], [74, 73], [73, 40], [40, 74], [107, 9], [9, 108], [108, 107], [49, 48], [48, 131], [131, 49], [32, 194], [194, 211], [211, 32], [184, 74], [74, 185], [185, 184], [191, 80], [80, 183], [183, 191], [185, 40], [40, 186], [186, 185], [119, 230], [230, 118], [118, 119], [210, 202], [202, 214], [214, 210], [84, 83], [83, 17], [17, 84], [77, 76], [76, 146], [146, 77], [161, 160], [160, 30], [30, 161], [190, 56], [56, 173], [173, 190], [182, 106], [106, 194], [194, 182], [138, 135], [135, 192], [192, 138], [129, 203], [203, 98], [98, 129], [54, 21], [21, 68], [68, 54], [5, 51], [51, 4], [4, 5], [145, 144], [144, 23], [23, 145], [90, 77], [77, 91], [91, 90], [207, 205], [205, 187], [187, 207], [83, 201], [201, 18], [18, 83], [181, 91], [91, 182], [182, 181], [180, 90], [90, 181], [181, 180], [16, 85], [85, 17], [17, 16], [205, 206], [206, 36], [36, 205], [176, 148], [148, 140], [140, 176], [165, 92], [92, 39], [39, 165], [245, 193], [193, 244], [244, 245], [27, 159], [159, 28], [28, 27], [30, 247], [247, 161], [161, 30], [174, 236], [236, 196], [196, 174], [103, 54], [54, 104], [104, 103], [55, 193], [193, 8], [8, 55], [111, 117], [117, 31], [31, 111], [221, 189], [189, 55], [55, 221], [240, 98], [98, 99], [99, 240], [142, 126], [126, 100], [100, 142], [219, 166], [166, 218], [218, 219], [112, 155], [155, 26], [26, 112], [198, 209], [209, 131], [131, 198], [169, 135], [135, 150], [150, 169], [114, 47], [47, 217], [217, 114], [224, 223], [223, 53], [53, 224], [220, 45], [45, 134], [134, 220], [32, 211], [211, 140], [140, 32], [109, 67], [67, 108], [108, 109], [146, 43], [43, 91], [91, 146], [231, 230], [230, 120], [120, 231], [113, 226], [226, 247], [247, 113], [105, 63], [63, 52], [52, 105], [241, 238], [238, 242], [242, 241], [124, 46], [46, 156], [156, 124], [95, 78], [78, 96], [96, 95], [70, 46], [46, 63], [63, 70], [116, 143], [143, 227], [227, 116], [116, 123], [123, 111], [111, 116], [1, 44], [44, 19], [19, 1], [3, 236], [236, 51], [51, 3], [207, 216], [216, 205], [205, 207], [26, 154], [154, 22], [22, 26], [165, 39], [39, 167], [167, 165], [199, 200], [200, 208], [208, 199], [101, 36], [36, 100], [100, 101], [43, 57], [57, 202], [202, 43], [242, 20], [20, 99], [99, 242], [56, 28], [28, 157], [157, 56], [124, 35], [35, 113], [113, 124], [29, 160], [160, 27], [27, 29], [211, 204], [204, 210], [210, 211], [124, 113], [113, 46], [46, 124], [106, 43], [43, 204], [204, 106], [96, 62], [62, 77], [77, 96], [227, 137], [137, 116], [116, 227], [73, 41], [41, 72], [72, 73], [36, 203], [203, 142], [142, 36], [235, 64], [64, 240], [240, 235], [48, 49], [49, 64], [64, 48], [42, 41], [41, 74], [74, 42], [214, 212], [212, 207], [207, 214], [183, 42], [42, 184], [184, 183], [210, 169], [169, 211], [211, 210], [140, 170], [170, 176], [176, 140], [104, 105], [105, 69], [69, 104], [193, 122], [122, 168], [168, 193], [50, 123], [123, 187], [187, 50], [89, 96], [96, 90], [90, 89], [66, 65], [65, 107], [107, 66], [179, 89], [89, 180], [180, 179], [119, 101], [101, 120], [120, 119], [68, 63], [63, 104], [104, 68], [234, 93], [93, 227], [227, 234], [16, 15], [15, 85], [85, 16], [209, 129], [129, 49], [49, 209], [15, 14], [14, 86], [86, 15], [107, 55], [55, 9], [9, 107], [120, 100], [100, 121], [121, 120], [153, 145], [145, 22], [22, 153], [178, 88], [88, 179], [179, 178], [197, 6], [6, 196], [196, 197], [89, 88], [88, 96], [96, 89], [135, 138], [138, 136], [136, 135], [138, 215], [215, 172], [172, 138], [218, 115], [115, 219], [219, 218], [41, 42], [42, 81], [81, 41], [5, 195], [195, 51], [51, 5], [57, 43], [43, 61], [61, 57], [208, 171], [171, 199], [199, 208], [41, 81], [81, 38], [38, 41], [224, 53], [53, 225], [225, 224], [24, 144], [144, 110], [110, 24], [105, 52], [52, 66], [66, 105], [118, 229], [229, 117], [117, 118], [227, 34], [34, 234], [234, 227], [66, 107], [107, 69], [69, 66], [10, 109], [109, 151], [151, 10], [219, 48], [48, 235], [235, 219], [183, 62], [62, 191], [191, 183], [142, 129], [129, 126], [126, 142], [116, 111], [111, 143], [143, 116], [118, 117], [117, 50], [50, 118], [223, 222], [222, 52], [52, 223], [94, 19], [19, 141], [141, 94], [222, 221], [221, 65], [65, 222], [196, 3], [3, 197], [197, 196], [45, 220], [220, 44], [44, 45], [156, 70], [70, 139], [139, 156], [188, 122], [122, 245], [245, 188], [139, 71], [71, 162], [162, 139], [149, 170], [170, 150], [150, 149], [122, 188], [188, 196], [196, 122], [206, 216], [216, 92], [92, 206], [164, 2], [2, 167], [167, 164], [242, 141], [141, 241], [241, 242], [0, 164], [164, 37], [37, 0], [11, 72], [72, 12], [12, 11], [12, 38], [38, 13], [13, 12], [70, 63], [63, 71], [71, 70], [31, 226], [226, 111], [111, 31], [36, 101], [101, 205], [205, 36], [203, 206], [206, 165], [165, 203], [126, 209], [209, 217], [217, 126], [98, 165], [165, 97], [97, 98], [237, 220], [220, 218], [218, 237], [237, 239], [239, 241], [241, 237], [210, 214], [214, 169], [169, 210], [140, 171], [171, 32], [32, 140], [241, 125], [125, 237], [237, 241], [179, 86], [86, 178], [178, 179], [180, 85], [85, 179], [179, 180], [181, 84], [84, 180], [180, 181], [182, 83], [83, 181], [181, 182], [194, 201], [201, 182], [182, 194], [177, 137], [137, 132], [132, 177], [184, 76], [76, 183], [183, 184], [185, 61], [61, 184], [184, 185], [186, 57], [57, 185], [185, 186], [216, 212], [212, 186], [186, 216], [192, 214], [214, 187], [187, 192], [139, 34], [34, 156], [156, 139], [218, 79], [79, 237], [237, 218], [147, 123], [123, 177], [177, 147], [45, 44], [44, 4], [4, 45], [208, 201], [201, 32], [32, 208], [98, 64], [64, 129], [129, 98], [192, 213], [213, 138], [138, 192], [235, 59], [59, 219], [219, 235], [141, 242], [242, 97], [97, 141], [97, 2], [2, 141], [141, 97], [240, 75], [75, 235], [235, 240], [229, 24], [24, 228], [228, 229], [31, 25], [25, 226], [226, 31], [230, 23], [23, 229], [229, 230], [231, 22], [22, 230], [230, 231], [232, 26], [26, 231], [231, 232], [233, 112], [112, 232], [232, 233], [244, 189], [189, 243], [243, 244], [189, 221], [221, 190], [190, 189], [222, 28], [28, 221], [221, 222], [223, 27], [27, 222], [222, 223], [224, 29], [29, 223], [223, 224], [225, 30], [30, 224], [224, 225], [113, 247], [247, 225], [225, 113], [99, 60], [60, 240], [240, 99], [213, 147], [147, 215], [215, 213], [60, 20], [20, 166], [166, 60], [192, 187], [187, 213], [213, 192], [243, 112], [112, 244], [244, 243], [244, 233], [233, 245], [245, 244], [245, 128], [128, 188], [188, 245], [188, 114], [114, 174], [174, 188], [134, 131], [131, 220], [220, 134], [174, 217], [217, 236], [236, 174], [236, 198], [198, 134], [134, 236], [215, 177], [177, 58], [58, 215], [156, 143], [143, 124], [124, 156], [25, 110], [110, 7], [7, 25], [31, 228], [228, 25], [25, 31], [264, 356], [356, 368], [368, 264], [0, 11], [11, 267], [267, 0], [451, 452], [452, 349], [349, 451], [267, 302], [302, 269], [269, 267], [350, 357], [357, 277], [277, 350], [350, 452], [452, 357], [357, 350], [299, 333], [333, 297], [297, 299], [396, 175], [175, 377], [377, 396], [280, 347], [347, 330], [330, 280], [269, 303], [303, 270], [270, 269], [151, 9], [9, 337], [337, 151], [344, 278], [278, 360], [360, 344], [424, 418], [418, 431], [431, 424], [270, 304], [304, 409], [409, 270], [272, 310], [310, 407], [407, 272], [322, 270], [270, 410], [410, 322], [449, 450], [450, 347], [347, 449], [432, 422], [422, 434], [434, 432], [18, 313], [313, 17], [17, 18], [291, 306], [306, 375], [375, 291], [259, 387], [387, 260], [260, 259], [424, 335], [335, 418], [418, 424], [434, 364], [364, 416], [416, 434], [391, 423], [423, 327], [327, 391], [301, 251], [251, 298], [298, 301], [275, 281], [281, 4], [4, 275], [254, 373], [373, 253], [253, 254], [375, 307], [307, 321], [321, 375], [280, 425], [425, 411], [411, 280], [200, 421], [421, 18], [18, 200], [335, 321], [321, 406], [406, 335], [321, 320], [320, 405], [405, 321], [314, 315], [315, 17], [17, 314], [423, 426], [426, 266], [266, 423], [396, 377], [377, 369], [369, 396], [270, 322], [322, 269], [269, 270], [413, 417], [417, 464], [464, 413], [385, 386], [386, 258], [258, 385], [248, 456], [456, 419], [419, 248], [298, 284], [284, 333], [333, 298], [168, 417], [417, 8], [8, 168], [448, 346], [346, 261], [261, 448], [417, 413], [413, 285], [285, 417], [326, 327], [327, 328], [328, 326], [277, 355], [355, 329], [329, 277], [309, 392], [392, 438], [438, 309], [381, 382], [382, 256], [256, 381], [279, 429], [429, 360], [360, 279], [365, 364], [364, 379], [379, 365], [355, 277], [277, 437], [437, 355], [282, 443], [443, 283], [283, 282], [281, 275], [275, 363], [363, 281], [395, 431], [431, 369], [369, 395], [299, 297], [297, 337], [337, 299], [335, 273], [273, 321], [321, 335], [348, 450], [450, 349], [349, 348], [359, 446], [446, 467], [467, 359], [283, 293], [293, 282], [282, 283], [250, 458], [458, 462], [462, 250], [300, 276], [276, 383], [383, 300], [292, 308], [308, 325], [325, 292], [283, 276], [276, 293], [293, 283], [264, 372], [372, 447], [447, 264], [346, 352], [352, 340], [340, 346], [354, 274], [274, 19], [19, 354], [363, 456], [456, 281], [281, 363], [426, 436], [436, 425], [425, 426], [380, 381], [381, 252], [252, 380], [267, 269], [269, 393], [393, 267], [421, 200], [200, 428], [428, 421], [371, 266], [266, 329], [329, 371], [432, 287], [287, 422], [422, 432], [290, 250], [250, 328], [328, 290], [385, 258], [258, 384], [384, 385], [446, 265], [265, 342], [342, 446], [386, 387], [387, 257], [257, 386], [422, 424], [424, 430], [430, 422], [445, 342], [342, 276], [276, 445], [422, 273], [273, 424], [424, 422], [306, 292], [292, 307], [307, 306], [352, 366], [366, 345], [345, 352], [268, 271], [271, 302], [302, 268], [358, 423], [423, 371], [371, 358], [327, 294], [294, 460], [460, 327], [331, 279], [279, 294], [294, 331], [303, 271], [271, 304], [304, 303], [436, 432], [432, 427], [427, 436], [304, 272], [272, 408], [408, 304], [395, 394], [394, 431], [431, 395], [378, 395], [395, 400], [400, 378], [296, 334], [334, 299], [299, 296], [6, 351], [351, 168], [168, 6], [376, 352], [352, 411], [411, 376], [307, 325], [325, 320], [320, 307], [285, 295], [295, 336], [336, 285], [320, 319], [319, 404], [404, 320], [329, 330], [330, 349], [349, 329], [334, 293], [293, 333], [333, 334], [366, 323], [323, 447], [447, 366], [316, 15], [15, 315], [315, 316], [331, 358], [358, 279], [279, 331], [317, 14], [14, 316], [316, 317], [8, 285], [285, 9], [9, 8], [277, 329], [329, 350], [350, 277], [253, 374], [374, 252], [252, 253], [319, 318], [318, 403], [403, 319], [351, 6], [6, 419], [419, 351], [324, 318], [318, 325], [325, 324], [397, 367], [367, 365], [365, 397], [288, 435], [435, 397], [397, 288], [278, 344], [344, 439], [439, 278], [310, 272], [272, 311], [311, 310], [248, 195], [195, 281], [281, 248], [375, 273], [273, 291], [291, 375], [175, 396], [396, 199], [199, 175], [312, 311], [311, 268], [268, 312], [276, 283], [283, 445], [445, 276], [390, 373], [373, 339], [339, 390], [295, 282], [282, 296], [296, 295], [448, 449], [449, 346], [346, 448], [356, 264], [264, 454], [454, 356], [337, 336], [336, 299], [299, 337], [337, 338], [338, 151], [151, 337], [294, 278], [278, 455], [455, 294], [308, 292], [292, 415], [415, 308], [429, 358], [358, 355], [355, 429], [265, 340], [340, 372], [372, 265], [352, 346], [346, 280], [280, 352], [295, 442], [442, 282], [282, 295], [354, 19], [19, 370], [370, 354], [285, 441], [441, 295], [295, 285], [195, 248], [248, 197], [197, 195], [457, 440], [440, 274], [274, 457], [301, 300], [300, 368], [368, 301], [417, 351], [351, 465], [465, 417], [251, 301], [301, 389], [389, 251], [394, 395], [395, 379], [379, 394], [399, 412], [412, 419], [419, 399], [410, 436], [436, 322], [322, 410], [326, 2], [2, 393], [393, 326], [354, 370], [370, 461], [461, 354], [393, 164], [164, 267], [267, 393], [268, 302], [302, 12], [12, 268], [312, 268], [268, 13], [13, 312], [298, 293], [293, 301], [301, 298], [265, 446], [446, 340], [340, 265], [280, 330], [330, 425], [425, 280], [322, 426], [426, 391], [391, 322], [420, 429], [429, 437], [437, 420], [393, 391], [391, 326], [326, 393], [344, 440], [440, 438], [438, 344], [458, 459], [459, 461], [461, 458], [364, 434], [434, 394], [394, 364], [428, 396], [396, 262], [262, 428], [274, 354], [354, 457], [457, 274], [317, 316], [316, 402], [402, 317], [316, 315], [315, 403], [403, 316], [315, 314], [314, 404], [404, 315], [314, 313], [313, 405], [405, 314], [313, 421], [421, 406], [406, 313], [323, 366], [366, 361], [361, 323], [292, 306], [306, 407], [407, 292], [306, 291], [291, 408], [408, 306], [291, 287], [287, 409], [409, 291], [287, 432], [432, 410], [410, 287], [427, 434], [434, 411], [411, 427], [372, 264], [264, 383], [383, 372], [459, 309], [309, 457], [457, 459], [366, 352], [352, 401], [401, 366], [1, 274], [274, 4], [4, 1], [418, 421], [421, 262], [262, 418], [331, 294], [294, 358], [358, 331], [435, 433], [433, 367], [367, 435], [392, 289], [289, 439], [439, 392], [328, 462], [462, 326], [326, 328], [94, 2], [2, 370], [370, 94], [289, 305], [305, 455], [455, 289], [339, 254], [254, 448], [448, 339], [359, 255], [255, 446], [446, 359], [254, 253], [253, 449], [449, 254], [253, 252], [252, 450], [450, 253], [252, 256], [256, 451], [451, 252], [256, 341], [341, 452], [452, 256], [414, 413], [413, 463], [463, 414], [286, 441], [441, 414], [414, 286], [286, 258], [258, 441], [441, 286], [258, 257], [257, 442], [442, 258], [257, 259], [259, 443], [443, 257], [259, 260], [260, 444], [444, 259], [260, 467], [467, 445], [445, 260], [309, 459], [459, 250], [250, 309], [305, 289], [289, 290], [290, 305], [305, 290], [290, 460], [460, 305], [401, 376], [376, 435], [435, 401], [309, 250], [250, 392], [392, 309], [376, 411], [411, 433], [433, 376], [453, 341], [341, 464], [464, 453], [357, 453], [453, 465], [465, 357], [343, 357], [357, 412], [412, 343], [437, 343], [343, 399], [399, 437], [344, 360], [360, 440], [440, 344], [420, 437], [437, 456], [456, 420], [360, 420], [420, 363], [363, 360], [361, 401], [401, 288], [288, 361], [265, 372], [372, 353], [353, 265], [390, 339], [339, 249], [249, 390], [339, 448], [448, 255], [255, 339]);
|
|
3928
3924
|
function ea(e) {
|
|
3929
3925
|
e.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] };
|
|
3930
3926
|
}
|
|
@@ -3951,7 +3947,7 @@ var ne = class extends We {
|
|
|
3951
3947
|
var e = new qe();
|
|
3952
3948
|
se(e, "image_in"), se(e, "norm_rect"), Y(e, "face_landmarks");
|
|
3953
3949
|
const t = new He();
|
|
3954
|
-
mt(t,
|
|
3950
|
+
mt(t, $d, this.h);
|
|
3955
3951
|
const i = new Le();
|
|
3956
3952
|
$e(i, 2, "mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"), re(i, "IMAGE:image_in"), re(i, "NORM_RECT:norm_rect"), H(i, "NORM_LANDMARKS:face_landmarks"), i.o(t), tt(e, i), this.g.attachProtoVectorListener("face_landmarks", (r, n) => {
|
|
3957
3953
|
for (const o of r) r = Er(o), this.j.faceLandmarks.push(pn(r));
|
|
@@ -3964,7 +3960,7 @@ var ne = class extends We {
|
|
|
3964
3960
|
}), this.g.attachEmptyPacketListener("blendshapes", (r) => {
|
|
3965
3961
|
_(this, r);
|
|
3966
3962
|
})), this.outputFacialTransformationMatrixes && (Y(e, "face_geometry"), H(i, "FACE_GEOMETRY:face_geometry"), this.g.attachProtoVectorListener("face_geometry", (r, n) => {
|
|
3967
|
-
if (this.outputFacialTransformationMatrixes) for (const o of r) (r = K(r =
|
|
3963
|
+
if (this.outputFacialTransformationMatrixes) for (const o of r) (r = K(r = jd(o), Ld, 2)) && this.j.facialTransformationMatrixes.push({ rows: Ze(r, 1) ?? 0 ?? 0, columns: Ze(r, 2) ?? 0 ?? 0, data: Wt(r, 3, dt, zt()).slice() ?? [] });
|
|
3968
3964
|
_(this, n);
|
|
3969
3965
|
}), this.g.attachEmptyPacketListener("face_geometry", (r) => {
|
|
3970
3966
|
_(this, r);
|
|
@@ -3977,7 +3973,7 @@ ne.prototype.detectForVideo = ne.prototype.G, ne.prototype.detect = ne.prototype
|
|
|
3977
3973
|
return q(ne, e, { baseOptions: { modelAssetBuffer: t } });
|
|
3978
3974
|
}, ne.createFromOptions = function(e, t) {
|
|
3979
3975
|
return q(ne, e, t);
|
|
3980
|
-
}, ne.FACE_LANDMARKS_LIPS = Qo, ne.FACE_LANDMARKS_LEFT_EYE = Jo, ne.FACE_LANDMARKS_LEFT_EYEBROW = Zo, ne.FACE_LANDMARKS_LEFT_IRIS = kl, ne.FACE_LANDMARKS_RIGHT_EYE = es, ne.FACE_LANDMARKS_RIGHT_EYEBROW = ts, ne.FACE_LANDMARKS_RIGHT_IRIS = Al, ne.FACE_LANDMARKS_FACE_OVAL = is, ne.FACE_LANDMARKS_CONTOURS = Tl, ne.FACE_LANDMARKS_TESSELATION =
|
|
3976
|
+
}, ne.FACE_LANDMARKS_LIPS = Qo, ne.FACE_LANDMARKS_LEFT_EYE = Jo, ne.FACE_LANDMARKS_LEFT_EYEBROW = Zo, ne.FACE_LANDMARKS_LEFT_IRIS = kl, ne.FACE_LANDMARKS_RIGHT_EYE = es, ne.FACE_LANDMARKS_RIGHT_EYEBROW = ts, ne.FACE_LANDMARKS_RIGHT_IRIS = Al, ne.FACE_LANDMARKS_FACE_OVAL = is, ne.FACE_LANDMARKS_CONTOURS = Tl, ne.FACE_LANDMARKS_TESSELATION = Nl;
|
|
3981
3977
|
var rs = rt([0, 1], [1, 2], [2, 3], [3, 4], [0, 5], [5, 6], [6, 7], [7, 8], [5, 9], [9, 10], [10, 11], [11, 12], [9, 13], [13, 14], [14, 15], [15, 16], [13, 17], [0, 17], [17, 18], [18, 19], [19, 20]);
|
|
3982
3978
|
function ta(e) {
|
|
3983
3979
|
e.gestures = [], e.landmarks = [], e.worldLandmarks = [], e.handedness = [];
|
|
@@ -3997,7 +3993,7 @@ function ra(e, t = !0) {
|
|
|
3997
3993
|
}
|
|
3998
3994
|
var Pe = class extends We {
|
|
3999
3995
|
constructor(e, t) {
|
|
4000
|
-
super(new nt(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], L(e = this.j = new Jc(), 0, 1, t = new ce()), this.u = new zo(), L(this.j, 0, 2, this.u), this.D = new $o(), L(this.u, 0, 3, this.D), this.A = new Qc(), L(this.u, 0, 2, this.A), this.h = new
|
|
3996
|
+
super(new nt(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], L(e = this.j = new Jc(), 0, 1, t = new ce()), this.u = new zo(), L(this.j, 0, 2, this.u), this.D = new $o(), L(this.u, 0, 3, this.D), this.A = new Qc(), L(this.u, 0, 2, this.A), this.h = new zd(), L(this.j, 0, 3, this.h), R(this.A, 2, 0.5), R(this.u, 4, 0.5), R(this.D, 2, 0.5);
|
|
4001
3997
|
}
|
|
4002
3998
|
get baseOptions() {
|
|
4003
3999
|
return K(this.j, ce, 1);
|
|
@@ -4023,7 +4019,7 @@ var Pe = class extends We {
|
|
|
4023
4019
|
var e = new qe();
|
|
4024
4020
|
se(e, "image_in"), se(e, "norm_rect"), Y(e, "hand_gestures"), Y(e, "hand_landmarks"), Y(e, "world_hand_landmarks"), Y(e, "handedness");
|
|
4025
4021
|
const t = new He();
|
|
4026
|
-
mt(t,
|
|
4022
|
+
mt(t, Wd, this.j);
|
|
4027
4023
|
const i = new Le();
|
|
4028
4024
|
$e(i, 2, "mediapipe.tasks.vision.gesture_recognizer.GestureRecognizerGraph"), re(i, "IMAGE:image_in"), re(i, "NORM_RECT:norm_rect"), H(i, "HAND_GESTURES:hand_gestures"), H(i, "LANDMARKS:hand_landmarks"), H(i, "WORLD_LANDMARKS:world_hand_landmarks"), H(i, "HANDEDNESS:handedness"), i.o(t), tt(e, i), this.g.attachProtoVectorListener("hand_landmarks", (r, n) => {
|
|
4029
4025
|
for (const o of r) {
|
|
@@ -4089,7 +4085,7 @@ var Oe = class extends We {
|
|
|
4089
4085
|
var e = new qe();
|
|
4090
4086
|
se(e, "image_in"), se(e, "norm_rect"), Y(e, "hand_landmarks"), Y(e, "world_hand_landmarks"), Y(e, "handedness");
|
|
4091
4087
|
const t = new He();
|
|
4092
|
-
mt(t,
|
|
4088
|
+
mt(t, Hd, this.h);
|
|
4093
4089
|
const i = new Le();
|
|
4094
4090
|
$e(i, 2, "mediapipe.tasks.vision.hand_landmarker.HandLandmarkerGraph"), re(i, "IMAGE:image_in"), re(i, "NORM_RECT:norm_rect"), H(i, "LANDMARKS:hand_landmarks"), H(i, "WORLD_LANDMARKS:world_hand_landmarks"), H(i, "HANDEDNESS:handedness"), i.o(t), tt(e, i), this.g.attachProtoVectorListener("hand_landmarks", (r, n) => {
|
|
4095
4091
|
for (const o of r) r = Er(o), this.landmarks.push(pn(r));
|
|
@@ -4123,7 +4119,7 @@ Oe.prototype.detectForVideo = Oe.prototype.G, Oe.prototype.detect = Oe.prototype
|
|
|
4123
4119
|
}, Oe.createFromOptions = function(e, t) {
|
|
4124
4120
|
return q(Oe, e, t);
|
|
4125
4121
|
}, Oe.HAND_CONNECTIONS = rs;
|
|
4126
|
-
var
|
|
4122
|
+
var Cl = rt([0, 1], [1, 2], [2, 3], [3, 7], [0, 4], [4, 5], [5, 6], [6, 8], [9, 10], [11, 12], [11, 13], [13, 15], [15, 17], [15, 19], [15, 21], [17, 19], [12, 14], [14, 16], [16, 18], [16, 20], [16, 22], [18, 20], [11, 23], [12, 24], [23, 24], [23, 25], [24, 26], [25, 27], [26, 28], [27, 29], [28, 30], [29, 31], [30, 32], [27, 31], [28, 32]);
|
|
4127
4123
|
function oa(e) {
|
|
4128
4124
|
e.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] };
|
|
4129
4125
|
}
|
|
@@ -4140,7 +4136,7 @@ function Fr(e, t) {
|
|
|
4140
4136
|
}
|
|
4141
4137
|
var te = class extends We {
|
|
4142
4138
|
constructor(e, t) {
|
|
4143
|
-
super(new nt(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, L(e = this.j = new rl(), 0, 1, t = new ce()), this.I = new $o(), L(this.j, 0, 2, this.I), this.W = new
|
|
4139
|
+
super(new nt(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, L(e = this.j = new rl(), 0, 1, t = new ce()), this.I = new $o(), L(this.j, 0, 2, this.I), this.W = new qd(), L(this.j, 0, 3, this.W), this.u = new gn(), L(this.j, 0, 4, this.u), this.O = new Kc(), L(this.j, 0, 5, this.O), this.A = new tl(), L(this.j, 0, 6, this.A), this.M = new il(), L(this.j, 0, 7, this.M), R(this.u, 2, 0.5), R(this.u, 3, 0.3), R(this.O, 2, 0.5), R(this.A, 2, 0.5), R(this.A, 3, 0.3), R(this.M, 2, 0.5), R(this.I, 2, 0.5);
|
|
4144
4140
|
}
|
|
4145
4141
|
get baseOptions() {
|
|
4146
4142
|
return K(this.j, ce, 1);
|
|
@@ -4171,7 +4167,7 @@ var te = class extends We {
|
|
|
4171
4167
|
}
|
|
4172
4168
|
}(i, this.j.g());
|
|
4173
4169
|
const r = new Le();
|
|
4174
|
-
$e(r, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"),
|
|
4170
|
+
$e(r, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), No(r, 8, Is, i), re(r, "IMAGE:input_frames_image"), H(r, "POSE_LANDMARKS:pose_landmarks"), H(r, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), H(r, "FACE_LANDMARKS:face_landmarks"), H(r, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), H(r, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), H(r, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), H(r, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), r.o(t), tt(e, r), yn(this, e), this.g.attachProtoListener("pose_landmarks", (n, o) => {
|
|
4175
4171
|
Fr(n, this.h.poseLandmarks), _(this, o);
|
|
4176
4172
|
}), this.g.attachEmptyPacketListener("pose_landmarks", (n) => {
|
|
4177
4173
|
_(this, n);
|
|
@@ -4181,7 +4177,7 @@ var te = class extends We {
|
|
|
4181
4177
|
}), this.g.attachEmptyPacketListener("pose_world_landmarks", (n) => {
|
|
4182
4178
|
_(this, n);
|
|
4183
4179
|
}), this.outputPoseSegmentationMasks && (H(r, "POSE_SEGMENTATION_MASK:pose_segmentation_mask"), Ti(this, "pose_segmentation_mask"), this.g.Z("pose_segmentation_mask", (n, o) => {
|
|
4184
|
-
this.h.poseSegmentationMasks = [
|
|
4180
|
+
this.h.poseSegmentationMasks = [Ci(this, n, !0, !this.D)], _(this, o);
|
|
4185
4181
|
}), this.g.attachEmptyPacketListener("pose_segmentation_mask", (n) => {
|
|
4186
4182
|
this.h.poseSegmentationMasks = [], _(this, n);
|
|
4187
4183
|
})), this.g.attachProtoListener("face_landmarks", (n, o) => {
|
|
@@ -4220,7 +4216,7 @@ te.prototype.detectForVideo = te.prototype.G, te.prototype.detect = te.prototype
|
|
|
4220
4216
|
return q(te, e, { baseOptions: { modelAssetBuffer: t } });
|
|
4221
4217
|
}, te.createFromOptions = function(e, t) {
|
|
4222
4218
|
return q(te, e, t);
|
|
4223
|
-
}, te.HAND_CONNECTIONS = rs, te.POSE_CONNECTIONS =
|
|
4219
|
+
}, te.HAND_CONNECTIONS = rs, te.POSE_CONNECTIONS = Cl, te.FACE_LANDMARKS_LIPS = Qo, te.FACE_LANDMARKS_LEFT_EYE = Jo, te.FACE_LANDMARKS_LEFT_EYEBROW = Zo, te.FACE_LANDMARKS_LEFT_IRIS = kl, te.FACE_LANDMARKS_RIGHT_EYE = es, te.FACE_LANDMARKS_RIGHT_EYEBROW = ts, te.FACE_LANDMARKS_RIGHT_IRIS = Al, te.FACE_LANDMARKS_FACE_OVAL = is, te.FACE_LANDMARKS_CONTOURS = Tl, te.FACE_LANDMARKS_TESSELATION = Nl;
|
|
4224
4220
|
var Qe = class extends We {
|
|
4225
4221
|
constructor(e, t) {
|
|
4226
4222
|
super(new nt(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, L(e = this.h = new nl(), 0, 1, t = new ce());
|
|
@@ -4244,10 +4240,10 @@ var Qe = class extends We {
|
|
|
4244
4240
|
var e = new qe();
|
|
4245
4241
|
se(e, "input_image"), se(e, "norm_rect"), Y(e, "classifications");
|
|
4246
4242
|
const t = new He();
|
|
4247
|
-
mt(t,
|
|
4243
|
+
mt(t, Kd, this.h);
|
|
4248
4244
|
const i = new Le();
|
|
4249
4245
|
$e(i, 2, "mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"), re(i, "IMAGE:input_image"), re(i, "NORM_RECT:norm_rect"), H(i, "CLASSIFICATIONS:classifications"), i.o(t), tt(e, i), this.g.attachProtoListener("classifications", (r, n) => {
|
|
4250
|
-
this.j =
|
|
4246
|
+
this.j = eh(Pd(r)), _(this, n);
|
|
4251
4247
|
}), this.g.attachEmptyPacketListener("classifications", (r) => {
|
|
4252
4248
|
_(this, r);
|
|
4253
4249
|
}), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
@@ -4284,15 +4280,15 @@ var Be = class extends We {
|
|
|
4284
4280
|
var e = new qe();
|
|
4285
4281
|
se(e, "image_in"), se(e, "norm_rect"), Y(e, "embeddings_out");
|
|
4286
4282
|
const t = new He();
|
|
4287
|
-
mt(t,
|
|
4283
|
+
mt(t, Yd, this.h);
|
|
4288
4284
|
const i = new Le();
|
|
4289
4285
|
$e(i, 2, "mediapipe.tasks.vision.image_embedder.ImageEmbedderGraph"), re(i, "IMAGE:image_in"), re(i, "NORM_RECT:norm_rect"), H(i, "EMBEDDINGS:embeddings_out"), i.o(t), tt(e, i), this.g.attachProtoListener("embeddings_out", (r, n) => {
|
|
4290
|
-
r =
|
|
4291
|
-
return { embeddings: Et(o,
|
|
4286
|
+
r = Ud(r), this.embeddings = function(o) {
|
|
4287
|
+
return { embeddings: Et(o, Bd, 1).map((s) => {
|
|
4292
4288
|
var d, u;
|
|
4293
4289
|
const a = { headIndex: Ze(s, 3) ?? 0 ?? -1, headName: ke(ie(s, 4)) ?? "" ?? "" };
|
|
4294
4290
|
var l = s.v;
|
|
4295
|
-
return tc(l, 0 | l[S], Bs,
|
|
4291
|
+
return tc(l, 0 | l[S], Bs, Nn(s, 1)) !== void 0 ? (s = Wt(s = K(s, Bs, Nn(s, 1), void 0), 1, dt, zt()), a.floatEmbedding = s.slice()) : (l = new Uint8Array(0), a.quantizedEmbedding = ((u = (d = K(s, Od, Nn(s, 2), void 0)) == null ? void 0 : d.na()) == null ? void 0 : u.h()) ?? l), a;
|
|
4296
4292
|
}), timestampMs: hl(nc(o)) };
|
|
4297
4293
|
}(r), _(this, n);
|
|
4298
4294
|
}), this.g.attachEmptyPacketListener("embeddings_out", (r) => {
|
|
@@ -4325,7 +4321,7 @@ var Jn = class {
|
|
|
4325
4321
|
}), (t = this.categoryMask) == null || t.close();
|
|
4326
4322
|
}
|
|
4327
4323
|
};
|
|
4328
|
-
function
|
|
4324
|
+
function ah(e) {
|
|
4329
4325
|
var i, r;
|
|
4330
4326
|
const t = function(n) {
|
|
4331
4327
|
return Et(n, Le, 1);
|
|
@@ -4362,7 +4358,7 @@ var Fe = class extends We {
|
|
|
4362
4358
|
return e.displayNamesLocale !== void 0 ? J(this.h, 2, br(e.displayNamesLocale)) : "displayNamesLocale" in e && J(this.h, 2), "outputCategoryMask" in e && (this.outputCategoryMask = e.outputCategoryMask ?? !1), "outputConfidenceMasks" in e && (this.outputConfidenceMasks = e.outputConfidenceMasks ?? !0), super.l(e);
|
|
4363
4359
|
}
|
|
4364
4360
|
L() {
|
|
4365
|
-
|
|
4361
|
+
ah(this);
|
|
4366
4362
|
}
|
|
4367
4363
|
segment(e, t, i) {
|
|
4368
4364
|
const r = typeof t != "function" ? t : {};
|
|
@@ -4382,11 +4378,11 @@ var Fe = class extends We {
|
|
|
4382
4378
|
mt(t, cl, this.h);
|
|
4383
4379
|
const i = new Le();
|
|
4384
4380
|
$e(i, 2, "mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"), re(i, "IMAGE:image_in"), re(i, "NORM_RECT:norm_rect"), i.o(t), tt(e, i), yn(this, e), this.outputConfidenceMasks && (Y(e, "confidence_masks"), H(i, "CONFIDENCE_MASKS:confidence_masks"), Ti(this, "confidence_masks"), this.g.aa("confidence_masks", (r, n) => {
|
|
4385
|
-
this.confidenceMasks = r.map((o) =>
|
|
4381
|
+
this.confidenceMasks = r.map((o) => Ci(this, o, !0, !this.j)), _(this, n);
|
|
4386
4382
|
}), this.g.attachEmptyPacketListener("confidence_masks", (r) => {
|
|
4387
4383
|
this.confidenceMasks = [], _(this, r);
|
|
4388
4384
|
})), this.outputCategoryMask && (Y(e, "category_mask"), H(i, "CATEGORY_MASK:category_mask"), Ti(this, "category_mask"), this.g.Z("category_mask", (r, n) => {
|
|
4389
|
-
this.categoryMask =
|
|
4385
|
+
this.categoryMask = Ci(this, r, !1, !this.j), _(this, n);
|
|
4390
4386
|
}), this.g.attachEmptyPacketListener("category_mask", (r) => {
|
|
4391
4387
|
this.categoryMask = void 0, _(this, r);
|
|
4392
4388
|
})), Y(e, "quality_scores"), H(i, "QUALITY_SCORES:quality_scores"), this.g.attachFloatVectorListener("quality_scores", (r, n) => {
|
|
@@ -4437,8 +4433,8 @@ var lt = class extends We {
|
|
|
4437
4433
|
} else {
|
|
4438
4434
|
if (!t.scribble) throw Error("Must provide either a keypoint or a scribble.");
|
|
4439
4435
|
{
|
|
4440
|
-
const a = new
|
|
4441
|
-
for (o of t.scribble) Lt(t = new Fn(), 3, dr(!0), !1), Lt(t, 1, ir(o.x), 0), Lt(t, 2, ir(o.y), 0),
|
|
4436
|
+
const a = new Qd();
|
|
4437
|
+
for (o of t.scribble) Lt(t = new Fn(), 3, dr(!0), !1), Lt(t, 1, ir(o.x), 0), Lt(t, 2, ir(o.y), 0), No(a, 1, Fn, t);
|
|
4442
4438
|
rr(r, 2, qn, a);
|
|
4443
4439
|
}
|
|
4444
4440
|
}
|
|
@@ -4465,11 +4461,11 @@ var lt = class extends We {
|
|
|
4465
4461
|
mt(t, cl, this.h);
|
|
4466
4462
|
const i = new Le();
|
|
4467
4463
|
$e(i, 2, "mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraphV2"), re(i, "IMAGE:image_in"), re(i, "ROI:roi_in"), re(i, "NORM_RECT:norm_rect_in"), i.o(t), tt(e, i), yn(this, e), this.outputConfidenceMasks && (Y(e, "confidence_masks"), H(i, "CONFIDENCE_MASKS:confidence_masks"), Ti(this, "confidence_masks"), this.g.aa("confidence_masks", (r, n) => {
|
|
4468
|
-
this.confidenceMasks = r.map((o) =>
|
|
4464
|
+
this.confidenceMasks = r.map((o) => Ci(this, o, !0, !this.j)), _(this, n);
|
|
4469
4465
|
}), this.g.attachEmptyPacketListener("confidence_masks", (r) => {
|
|
4470
4466
|
this.confidenceMasks = [], _(this, r);
|
|
4471
4467
|
})), this.outputCategoryMask && (Y(e, "category_mask"), H(i, "CATEGORY_MASK:category_mask"), Ti(this, "category_mask"), this.g.Z("category_mask", (r, n) => {
|
|
4472
|
-
this.categoryMask =
|
|
4468
|
+
this.categoryMask = Ci(this, r, !1, !this.j), _(this, n);
|
|
4473
4469
|
}), this.g.attachEmptyPacketListener("category_mask", (r) => {
|
|
4474
4470
|
this.categoryMask = void 0, _(this, r);
|
|
4475
4471
|
})), Y(e, "quality_scores"), H(i, "QUALITY_SCORES:quality_scores"), this.g.attachFloatVectorListener("quality_scores", (r, n) => {
|
|
@@ -4509,7 +4505,7 @@ var Je = class extends We {
|
|
|
4509
4505
|
var e = new qe();
|
|
4510
4506
|
se(e, "input_frame_gpu"), se(e, "norm_rect"), Y(e, "detections");
|
|
4511
4507
|
const t = new He();
|
|
4512
|
-
mt(t,
|
|
4508
|
+
mt(t, Jd, this.h);
|
|
4513
4509
|
const i = new Le();
|
|
4514
4510
|
$e(i, 2, "mediapipe.tasks.vision.ObjectDetectorGraph"), re(i, "IMAGE:input_frame_gpu"), re(i, "NORM_RECT:norm_rect"), H(i, "DETECTIONS:detections"), i.o(t), tt(e, i), this.g.attachProtoVectorListener("detections", (r, n) => {
|
|
4515
4511
|
for (const o of r) r = Gc(o), this.j.detections.push(wl(r));
|
|
@@ -4575,7 +4571,7 @@ var Ue = class extends We {
|
|
|
4575
4571
|
var e = new qe();
|
|
4576
4572
|
se(e, "image_in"), se(e, "norm_rect"), Y(e, "normalized_landmarks"), Y(e, "world_landmarks"), Y(e, "segmentation_masks");
|
|
4577
4573
|
const t = new He();
|
|
4578
|
-
mt(t,
|
|
4574
|
+
mt(t, Zd, this.h);
|
|
4579
4575
|
const i = new Le();
|
|
4580
4576
|
$e(i, 2, "mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"), re(i, "IMAGE:image_in"), re(i, "NORM_RECT:norm_rect"), H(i, "NORM_LANDMARKS:normalized_landmarks"), H(i, "WORLD_LANDMARKS:world_landmarks"), i.o(t), tt(e, i), yn(this, e), this.g.attachProtoVectorListener("normalized_landmarks", (r, n) => {
|
|
4581
4577
|
this.landmarks = [];
|
|
@@ -4590,7 +4586,7 @@ var Ue = class extends We {
|
|
|
4590
4586
|
}), this.g.attachEmptyPacketListener("world_landmarks", (r) => {
|
|
4591
4587
|
this.worldLandmarks = [], _(this, r);
|
|
4592
4588
|
}), this.outputSegmentationMasks && (H(i, "SEGMENTATION_MASK:segmentation_masks"), Ti(this, "segmentation_masks"), this.g.aa("segmentation_masks", (r, n) => {
|
|
4593
|
-
this.segmentationMasks = r.map((o) =>
|
|
4589
|
+
this.segmentationMasks = r.map((o) => Ci(this, o, !0, !this.u)), _(this, n);
|
|
4594
4590
|
}), this.g.attachEmptyPacketListener("segmentation_masks", (r) => {
|
|
4595
4591
|
this.segmentationMasks = [], _(this, r);
|
|
4596
4592
|
})), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
@@ -4602,8 +4598,8 @@ Ue.prototype.detectForVideo = Ue.prototype.G, Ue.prototype.detect = Ue.prototype
|
|
|
4602
4598
|
return q(Ue, e, { baseOptions: { modelAssetBuffer: t } });
|
|
4603
4599
|
}, Ue.createFromOptions = function(e, t) {
|
|
4604
4600
|
return q(Ue, e, t);
|
|
4605
|
-
}, Ue.POSE_CONNECTIONS =
|
|
4606
|
-
const Rr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/latest/face_landmarker.task",
|
|
4601
|
+
}, Ue.POSE_CONNECTIONS = Cl;
|
|
4602
|
+
const Rr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/latest/face_landmarker.task", ch = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@0.10.32/wasm", lh = () => {
|
|
4607
4603
|
const e = D(null), [t, i] = T(!1), [r, n] = T("Initializing..."), [o, s] = T(0), [a, l] = T(!1);
|
|
4608
4604
|
O(() => {
|
|
4609
4605
|
"serviceWorker" in navigator && navigator.serviceWorker.register("/sw.js").then((w) => {
|
|
@@ -4641,7 +4637,7 @@ const Rr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
4641
4637
|
(async () => {
|
|
4642
4638
|
try {
|
|
4643
4639
|
n("Checking cached models..."), await d() ? n("Using cached model...") : (n("Model not cached. Downloading..."), await u()), n("Loading MediaPipe WASM...");
|
|
4644
|
-
const g = await $t.forVisionTasks(
|
|
4640
|
+
const g = await $t.forVisionTasks(ch);
|
|
4645
4641
|
n("Creating face landmarker...");
|
|
4646
4642
|
const y = await ne.createFromOptions(g, {
|
|
4647
4643
|
baseOptions: {
|
|
@@ -4669,7 +4665,7 @@ const Rr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
4669
4665
|
"caches" in window && (await caches.delete("mediapipe-models-v1"), n("Cache cleared. Please refresh to re-download models."));
|
|
4670
4666
|
}
|
|
4671
4667
|
};
|
|
4672
|
-
},
|
|
4668
|
+
}, uh = () => {
|
|
4673
4669
|
const [e, t] = T(0), i = D({ lastTime: 0, frames: 0, fps: 0 }), r = M(() => {
|
|
4674
4670
|
const n = performance.now(), o = i.current;
|
|
4675
4671
|
if (o.frames++, n - o.lastTime >= 1e3) {
|
|
@@ -4678,7 +4674,7 @@ const Rr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
4678
4674
|
}
|
|
4679
4675
|
}, []);
|
|
4680
4676
|
return { fps: e, updateFPS: r };
|
|
4681
|
-
},
|
|
4677
|
+
}, dh = () => {
|
|
4682
4678
|
const e = D({ value: 100, isLookingAway: !1 }), t = M(
|
|
4683
4679
|
(o, s, a, l) => {
|
|
4684
4680
|
if (!o || !a || !s) return;
|
|
@@ -4721,7 +4717,7 @@ const Rr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
4721
4717
|
clearCanvas: n,
|
|
4722
4718
|
engagementRef: e
|
|
4723
4719
|
};
|
|
4724
|
-
},
|
|
4720
|
+
}, hh = 50, wh = () => {
|
|
4725
4721
|
const [e, t] = T(100), [i, r] = T(!1), n = D(0), o = M(
|
|
4726
4722
|
(s, a, l) => {
|
|
4727
4723
|
if (!l || s.length < 468)
|
|
@@ -4731,8 +4727,8 @@ const Rr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
4731
4727
|
const w = (d.x + u.x) * 0.5, f = (d.y + u.y) * 0.5, g = w - a.x, y = f - a.y, b = Math.sqrt(g * g + y * y), p = Math.abs(h.y - a.noseY) * 100, v = Math.abs(h.x - a.noseX) * 100, x = Math.max(
|
|
4732
4728
|
0,
|
|
4733
4729
|
100 - (b * 200 + p + v)
|
|
4734
|
-
), E = x <
|
|
4735
|
-
return
|
|
4730
|
+
), E = x < hh, N = performance.now();
|
|
4731
|
+
return N - n.current > 100 && (t(x), r(E), n.current = N), { engagement: x, isLookingAway: E };
|
|
4736
4732
|
},
|
|
4737
4733
|
[]
|
|
4738
4734
|
);
|
|
@@ -4743,7 +4739,7 @@ const Rr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
4743
4739
|
setEngagement: t,
|
|
4744
4740
|
setIsLookingAway: r
|
|
4745
4741
|
};
|
|
4746
|
-
},
|
|
4742
|
+
}, fh = 0.05, mh = () => {
|
|
4747
4743
|
const [e, t] = T(!1), [i, r] = T(!1), n = M(
|
|
4748
4744
|
(a, l) => Math.sqrt(Math.pow(a.x - l.x, 2) + Math.pow(a.y - l.y, 2)),
|
|
4749
4745
|
[]
|
|
@@ -4773,9 +4769,9 @@ const Rr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
4773
4769
|
);
|
|
4774
4770
|
if (b === 0 || p === 0) return 0;
|
|
4775
4771
|
for (const x of d) {
|
|
4776
|
-
const E = l[x],
|
|
4777
|
-
if (E &&
|
|
4778
|
-
const k = w.x + (
|
|
4772
|
+
const E = l[x], N = a[x];
|
|
4773
|
+
if (E && N) {
|
|
4774
|
+
const k = w.x + (N.x - g.x) * b / p, V = w.y + (N.y - g.y) * b / p;
|
|
4779
4775
|
u += n(E, {
|
|
4780
4776
|
x: k,
|
|
4781
4777
|
y: V
|
|
@@ -4792,7 +4788,7 @@ const Rr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
4792
4788
|
if (l && d) {
|
|
4793
4789
|
let h = null, w = 0;
|
|
4794
4790
|
for (const f of a.faceLandmarks)
|
|
4795
|
-
o(f, d) <
|
|
4791
|
+
o(f, d) < fh && (h = f, w++);
|
|
4796
4792
|
return w === 1 ? (t(!1), r(!1), u("Reference face tracked."), h) : w > 1 ? (t(!0), r(!1), u(
|
|
4797
4793
|
"Multiple matching faces detected. Tracking suspended."
|
|
4798
4794
|
), null) : (t(!1), r(!0), u("Reference face not detected."), null);
|
|
@@ -4817,13 +4813,13 @@ const Rr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
4817
4813
|
setMultipleFacesDetected: t,
|
|
4818
4814
|
setReferenceFaceNotDetected: r
|
|
4819
4815
|
};
|
|
4820
|
-
},
|
|
4816
|
+
}, gh = 500, ph = (e, t) => {
|
|
4821
4817
|
const [i, r] = T(!1), [n, o] = T(Re.MODEL_LOADING), { incrementGazeViolation: s } = _a(), { multipleFacesDetected: a, referenceFaceNotDetected: l, isLookingAway: d } = e;
|
|
4822
4818
|
O(() => {
|
|
4823
4819
|
let w;
|
|
4824
4820
|
return (d || a || l) && t ? w = setTimeout(() => {
|
|
4825
4821
|
r(!0), d ? (o("looking_away"), s("looking_away")) : a ? (o("multiple_faces"), s("multiple_faces")) : l && (o("no_face_detected"), s("no_face_detected"));
|
|
4826
|
-
},
|
|
4822
|
+
}, gh) : (r(!1), o("face_detected")), () => {
|
|
4827
4823
|
clearTimeout(w);
|
|
4828
4824
|
};
|
|
4829
4825
|
}, [
|
|
@@ -4845,7 +4841,7 @@ const Rr = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
4845
4841
|
setFaceDetectionState: o
|
|
4846
4842
|
};
|
|
4847
4843
|
};
|
|
4848
|
-
function
|
|
4844
|
+
function yh(e) {
|
|
4849
4845
|
var t;
|
|
4850
4846
|
if (!navigator.onLine)
|
|
4851
4847
|
return {
|
|
@@ -4925,10 +4921,10 @@ async function Ft(e, t = {}, i = {
|
|
|
4925
4921
|
return a;
|
|
4926
4922
|
} catch (o) {
|
|
4927
4923
|
r = o;
|
|
4928
|
-
const s =
|
|
4924
|
+
const s = yh(o);
|
|
4929
4925
|
if (!s.retryable || n === i.attempts)
|
|
4930
4926
|
throw s;
|
|
4931
|
-
const a =
|
|
4927
|
+
const a = bh(n, i);
|
|
4932
4928
|
console.warn(
|
|
4933
4929
|
`API request failed (attempt ${n}/${i.attempts}), retrying in ${a}ms:`,
|
|
4934
4930
|
s.message
|
|
@@ -4936,7 +4932,7 @@ async function Ft(e, t = {}, i = {
|
|
|
4936
4932
|
}
|
|
4937
4933
|
throw r;
|
|
4938
4934
|
}
|
|
4939
|
-
function
|
|
4935
|
+
function bh(e, t) {
|
|
4940
4936
|
let i;
|
|
4941
4937
|
return t.backoff === "exponential" ? i = t.baseDelay * Math.pow(2, e - 1) : i = t.baseDelay, i = Math.min(i, t.maxDelay), t.jitter && (i = i * (0.5 + Math.random() * 0.5)), Math.round(i);
|
|
4942
4938
|
}
|
|
@@ -4957,7 +4953,7 @@ class Q extends Error {
|
|
|
4957
4953
|
super(t), this.code = i, this.recoverable = r, this.name = "STTError";
|
|
4958
4954
|
}
|
|
4959
4955
|
}
|
|
4960
|
-
const
|
|
4956
|
+
const vh = 50 * 1024 * 1024, da = 300, ha = 500, sr = class sr {
|
|
4961
4957
|
constructor(t = {}) {
|
|
4962
4958
|
me(this, "config");
|
|
4963
4959
|
me(this, "mediaRecorder", null);
|
|
@@ -5033,7 +5029,7 @@ const x2 = 50 * 1024 * 1024, da = 300, ha = 500, sr = class sr {
|
|
|
5033
5029
|
(o) => {
|
|
5034
5030
|
var s, a, l;
|
|
5035
5031
|
if (o.data.size > 0) {
|
|
5036
|
-
if (this.audioChunksTotalSize + o.data.size >
|
|
5032
|
+
if (this.audioChunksTotalSize + o.data.size > vh) {
|
|
5037
5033
|
console.error(
|
|
5038
5034
|
`Max size exceeded: ${(this.audioChunksTotalSize / 1024 / 1024).toFixed(2)} MB`
|
|
5039
5035
|
);
|
|
@@ -5308,7 +5304,7 @@ const x2 = 50 * 1024 * 1024, da = 300, ha = 500, sr = class sr {
|
|
|
5308
5304
|
};
|
|
5309
5305
|
me(sr, "activeStream", null);
|
|
5310
5306
|
let wr = sr;
|
|
5311
|
-
const
|
|
5307
|
+
const xh = new wr(), Eh = (e, t, i, r) => {
|
|
5312
5308
|
const n = D(null);
|
|
5313
5309
|
return O(() => {
|
|
5314
5310
|
if (!t) return;
|
|
@@ -5332,7 +5328,7 @@ const E2 = new wr(), _2 = (e, t, i, r) => {
|
|
|
5332
5328
|
s && cancelAnimationFrame(s), a != null && a.srcObject && a.srcObject.getTracks().forEach((d) => d.stop());
|
|
5333
5329
|
};
|
|
5334
5330
|
}, [t, i]), O(() => {
|
|
5335
|
-
const o =
|
|
5331
|
+
const o = xh.getRecordingStream();
|
|
5336
5332
|
if (o && e.current) {
|
|
5337
5333
|
e.current.srcObject = o;
|
|
5338
5334
|
const s = o.getVideoTracks(), a = o.getAudioTracks(), l = () => {
|
|
@@ -5343,7 +5339,7 @@ const E2 = new wr(), _2 = (e, t, i, r) => {
|
|
|
5343
5339
|
});
|
|
5344
5340
|
}
|
|
5345
5341
|
}, []), { animationFrameRef: n };
|
|
5346
|
-
},
|
|
5342
|
+
}, _h = (e, t, i, r, n, o, s, a, l, d, u, h, w, f, g) => {
|
|
5347
5343
|
const y = D(null), b = M(() => {
|
|
5348
5344
|
const p = e.current, v = t.current, x = i.current;
|
|
5349
5345
|
if (!p || p.readyState < 2 || !x || !v) {
|
|
@@ -5352,11 +5348,11 @@ const E2 = new wr(), _2 = (e, t, i, r) => {
|
|
|
5352
5348
|
}
|
|
5353
5349
|
r();
|
|
5354
5350
|
try {
|
|
5355
|
-
const E = performance.now(),
|
|
5351
|
+
const E = performance.now(), N = x.detectForVideo(
|
|
5356
5352
|
p,
|
|
5357
5353
|
E
|
|
5358
5354
|
), k = n(
|
|
5359
|
-
|
|
5355
|
+
N,
|
|
5360
5356
|
l,
|
|
5361
5357
|
d.current,
|
|
5362
5358
|
f
|
|
@@ -5392,7 +5388,7 @@ const E2 = new wr(), _2 = (e, t, i, r) => {
|
|
|
5392
5388
|
g
|
|
5393
5389
|
]);
|
|
5394
5390
|
return { renderLoop: b, animationFrameRef: y };
|
|
5395
|
-
},
|
|
5391
|
+
}, kh = (e, t, i, r) => {
|
|
5396
5392
|
const {
|
|
5397
5393
|
referenceSet: n,
|
|
5398
5394
|
referenceRef: o,
|
|
@@ -5437,12 +5433,12 @@ const E2 = new wr(), _2 = (e, t, i, r) => {
|
|
|
5437
5433
|
syncReference: l
|
|
5438
5434
|
};
|
|
5439
5435
|
};
|
|
5440
|
-
function
|
|
5436
|
+
function Ah({
|
|
5441
5437
|
onClose: e,
|
|
5442
5438
|
warningType: t,
|
|
5443
5439
|
isCheatingModalOpen: i = !1
|
|
5444
5440
|
}) {
|
|
5445
|
-
const r =
|
|
5441
|
+
const r = Ca[t], n = r.icon;
|
|
5446
5442
|
return t === "face_detected" ? null : /* @__PURE__ */ c(
|
|
5447
5443
|
"div",
|
|
5448
5444
|
{
|
|
@@ -5471,8 +5467,8 @@ function T2({
|
|
|
5471
5467
|
}
|
|
5472
5468
|
);
|
|
5473
5469
|
}
|
|
5474
|
-
const
|
|
5475
|
-
const t =
|
|
5470
|
+
const Th = ({ status: e }) => {
|
|
5471
|
+
const t = Ca[e];
|
|
5476
5472
|
if (!t) return null;
|
|
5477
5473
|
const i = e !== "face_detected";
|
|
5478
5474
|
return /* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-items-center iw-gap-0.5", children: [
|
|
@@ -5483,7 +5479,7 @@ const C2 = ({ status: e }) => {
|
|
|
5483
5479
|
i && /* @__PURE__ */ c("span", { className: "iw-text-white iw-text-center iw-text-xs iw-drop-shadow-sm iw-max-w-[400px] iw-px-3", children: e === "model_loading" ? "Initializing Face models. Please wait..." : e === "no_face_detected" ? "Face not detected. Please position yourself clearly in the frame." : e === "multiple_faces" ? "Multiple faces detected. Please ensure only you are visible." : "Please position your face correctly." })
|
|
5484
5480
|
] });
|
|
5485
5481
|
};
|
|
5486
|
-
function
|
|
5482
|
+
function Nh(e, t = {}) {
|
|
5487
5483
|
const [i, r] = T({
|
|
5488
5484
|
data: null,
|
|
5489
5485
|
loading: !1,
|
|
@@ -5522,7 +5518,7 @@ function N2(e, t = {}) {
|
|
|
5522
5518
|
execute: n
|
|
5523
5519
|
};
|
|
5524
5520
|
}
|
|
5525
|
-
const
|
|
5521
|
+
const Ch = (e) => {
|
|
5526
5522
|
const [t, i] = T(null), [r, n] = T(!1), o = document, s = () => !!(o.fullscreenEnabled || o.webkitFullscreenEnabled || o.mozFullScreenEnabled || o.msFullscreenEnabled), a = () => o.fullscreenElement || o.webkitFullscreenElement || o.mozFullScreenElement || o.msFullscreenElement, l = async (f) => {
|
|
5527
5523
|
var g;
|
|
5528
5524
|
try {
|
|
@@ -5582,7 +5578,7 @@ const S2 = (e) => {
|
|
|
5582
5578
|
error: t
|
|
5583
5579
|
};
|
|
5584
5580
|
};
|
|
5585
|
-
class
|
|
5581
|
+
class Sh {
|
|
5586
5582
|
constructor(t = {}) {
|
|
5587
5583
|
me(this, "config");
|
|
5588
5584
|
this.config = t;
|
|
@@ -5760,10 +5756,10 @@ function ns() {
|
|
|
5760
5756
|
const e = Hr();
|
|
5761
5757
|
return ar(() => {
|
|
5762
5758
|
const i = e.api || {};
|
|
5763
|
-
return new
|
|
5759
|
+
return new Sh(i);
|
|
5764
5760
|
}, [e.api]);
|
|
5765
5761
|
}
|
|
5766
|
-
const
|
|
5762
|
+
const Ih = (e) => {
|
|
5767
5763
|
O(() => {
|
|
5768
5764
|
const t = (r) => {
|
|
5769
5765
|
(r.ctrlKey || r.metaKey) && ["c", "v", "a", "t", "n", "w", "r", "s", "p"].includes(r.key.toLowerCase()) && (r.preventDefault(), e({
|
|
@@ -5802,7 +5798,7 @@ const F2 = (e) => {
|
|
|
5802
5798
|
document.removeEventListener("keydown", t), document.removeEventListener("contextmenu", i);
|
|
5803
5799
|
};
|
|
5804
5800
|
}, [e]);
|
|
5805
|
-
},
|
|
5801
|
+
}, Fh = (e = {}) => {
|
|
5806
5802
|
const [t, i] = T(!1), [r, n] = T(!1), [o, s] = T(null), [a, l] = T(null), [d, u] = T(null), h = D(e);
|
|
5807
5803
|
h.current = e;
|
|
5808
5804
|
const w = D(null);
|
|
@@ -5827,24 +5823,24 @@ const F2 = (e) => {
|
|
|
5827
5823
|
try {
|
|
5828
5824
|
l(null), s(null), u(null), await v.startRecording(p, {
|
|
5829
5825
|
onStart: () => {
|
|
5830
|
-
var
|
|
5831
|
-
i(!0), (k = (
|
|
5826
|
+
var N, k;
|
|
5827
|
+
i(!0), (k = (N = h.current).onStart) == null || k.call(N);
|
|
5832
5828
|
},
|
|
5833
5829
|
// ---- FIX: onStop is the SINGLE source of truth for stop events.
|
|
5834
5830
|
// stopRecording() no longer calls onStop separately, preventing double-fire.
|
|
5835
5831
|
onStop: () => {
|
|
5836
|
-
var
|
|
5837
|
-
i(!1), (k = (
|
|
5832
|
+
var N, k;
|
|
5833
|
+
i(!1), (k = (N = h.current).onStop) == null || k.call(N);
|
|
5838
5834
|
},
|
|
5839
|
-
onError: (
|
|
5840
|
-
var V,
|
|
5841
|
-
const k =
|
|
5842
|
-
l(k), i(!1), (
|
|
5835
|
+
onError: (N) => {
|
|
5836
|
+
var V, C;
|
|
5837
|
+
const k = N instanceof Q ? N : new Q(N.message, "RECORDING_ERROR", !0);
|
|
5838
|
+
l(k), i(!1), (C = (V = h.current).onError) == null || C.call(V, k);
|
|
5843
5839
|
}
|
|
5844
5840
|
});
|
|
5845
|
-
} catch (
|
|
5846
|
-
const k =
|
|
5847
|
-
|
|
5841
|
+
} catch (N) {
|
|
5842
|
+
const k = N instanceof Q ? N : new Q(
|
|
5843
|
+
N instanceof Error ? N.message : String(N),
|
|
5848
5844
|
"START_FAILED",
|
|
5849
5845
|
!1
|
|
5850
5846
|
);
|
|
@@ -5863,16 +5859,16 @@ const F2 = (e) => {
|
|
|
5863
5859
|
const E = await p.stopRecording();
|
|
5864
5860
|
return u(E), E;
|
|
5865
5861
|
} catch (E) {
|
|
5866
|
-
const
|
|
5862
|
+
const N = E instanceof Q ? E : new Q(
|
|
5867
5863
|
E instanceof Error ? E.message : String(E),
|
|
5868
5864
|
"STOP_FAILED",
|
|
5869
5865
|
!1
|
|
5870
5866
|
);
|
|
5871
|
-
throw l(
|
|
5867
|
+
throw l(N), i(!1), (x = (v = h.current).onError) == null || x.call(v, N), N;
|
|
5872
5868
|
}
|
|
5873
5869
|
}, []), y = M(
|
|
5874
5870
|
async (p, v = {}) => {
|
|
5875
|
-
var E,
|
|
5871
|
+
var E, N, k, V, C, A;
|
|
5876
5872
|
const x = w.current;
|
|
5877
5873
|
if (!x || x.isDisposed())
|
|
5878
5874
|
throw new Q(
|
|
@@ -5884,7 +5880,7 @@ const F2 = (e) => {
|
|
|
5884
5880
|
if (l(null), n(!0), !p || p.size === 0) {
|
|
5885
5881
|
console.warn("Skipping transcription — blob is empty");
|
|
5886
5882
|
const z = { transcript: "" };
|
|
5887
|
-
return s(z.transcript), n(!1), (
|
|
5883
|
+
return s(z.transcript), n(!1), (N = (E = h.current).onTranscriptionComplete) == null || N.call(E, z), z;
|
|
5888
5884
|
}
|
|
5889
5885
|
const U = {
|
|
5890
5886
|
audioBlob: p,
|
|
@@ -5897,7 +5893,7 @@ const F2 = (e) => {
|
|
|
5897
5893
|
"TRANSCRIPTION_FAILED",
|
|
5898
5894
|
!0
|
|
5899
5895
|
);
|
|
5900
|
-
throw l(j), n(!1), (A = (
|
|
5896
|
+
throw l(j), n(!1), (A = (C = h.current).onError) == null || A.call(C, j), j;
|
|
5901
5897
|
}
|
|
5902
5898
|
},
|
|
5903
5899
|
[]
|
|
@@ -5916,7 +5912,7 @@ const F2 = (e) => {
|
|
|
5916
5912
|
error: a,
|
|
5917
5913
|
audioBlob: d
|
|
5918
5914
|
};
|
|
5919
|
-
},
|
|
5915
|
+
}, Rh = (e) => {
|
|
5920
5916
|
const t = D(null), i = D(!1);
|
|
5921
5917
|
O(() => {
|
|
5922
5918
|
const r = () => {
|
|
@@ -5946,7 +5942,7 @@ const F2 = (e) => {
|
|
|
5946
5942
|
document.removeEventListener("visibilitychange", r), window.removeEventListener("blur", n), t.current && clearTimeout(t.current);
|
|
5947
5943
|
};
|
|
5948
5944
|
}, [e]);
|
|
5949
|
-
},
|
|
5945
|
+
}, Lh = () => {
|
|
5950
5946
|
O(() => {
|
|
5951
5947
|
const e = document.createElement("style");
|
|
5952
5948
|
return e.textContent = `
|
|
@@ -6002,7 +5998,7 @@ const Sl = {
|
|
|
6002
5998
|
/* COMPLETED */
|
|
6003
5999
|
}
|
|
6004
6000
|
};
|
|
6005
|
-
class
|
|
6001
|
+
class Mh {
|
|
6006
6002
|
constructor(t = {}, i = {}) {
|
|
6007
6003
|
me(this, "config");
|
|
6008
6004
|
me(this, "state");
|
|
@@ -6121,9 +6117,9 @@ class D2 {
|
|
|
6121
6117
|
(i = (t = this.callbacks).onPhaseChange) == null || i.call(t, this.state.phase, this.getState());
|
|
6122
6118
|
}
|
|
6123
6119
|
}
|
|
6124
|
-
function
|
|
6120
|
+
function Dh(e = {}) {
|
|
6125
6121
|
const { config: t = {}, callbacks: i = {} } = e, r = D(null);
|
|
6126
|
-
r.current || (r.current = new
|
|
6122
|
+
r.current || (r.current = new Mh(t, {}));
|
|
6127
6123
|
const n = r.current, [o, s] = T(n.getState()), a = M(() => {
|
|
6128
6124
|
s(n.getState());
|
|
6129
6125
|
}, [n]);
|
|
@@ -6163,7 +6159,7 @@ function P2(e = {}) {
|
|
|
6163
6159
|
timerService: n
|
|
6164
6160
|
};
|
|
6165
6161
|
}
|
|
6166
|
-
class
|
|
6162
|
+
class Ph {
|
|
6167
6163
|
constructor() {
|
|
6168
6164
|
me(this, "currentAudio", null);
|
|
6169
6165
|
}
|
|
@@ -6218,7 +6214,7 @@ class O2 {
|
|
|
6218
6214
|
return this.currentAudio !== null && !this.currentAudio.paused;
|
|
6219
6215
|
}
|
|
6220
6216
|
}
|
|
6221
|
-
const fa = new
|
|
6217
|
+
const fa = new Ph(), Oh = (e = {}) => {
|
|
6222
6218
|
const [t, i] = T(!1), [r, n] = T(!1), [o, s] = T(null), a = M(
|
|
6223
6219
|
async (d) => {
|
|
6224
6220
|
var u;
|
|
@@ -6253,7 +6249,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6253
6249
|
isLoading: r,
|
|
6254
6250
|
error: o
|
|
6255
6251
|
};
|
|
6256
|
-
},
|
|
6252
|
+
}, Bh = ({
|
|
6257
6253
|
onViolation: e,
|
|
6258
6254
|
onEnd: t,
|
|
6259
6255
|
maxViolations: i = 5
|
|
@@ -6288,7 +6284,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6288
6284
|
violationCount: o,
|
|
6289
6285
|
logList: n
|
|
6290
6286
|
};
|
|
6291
|
-
},
|
|
6287
|
+
}, Uh = () => {
|
|
6292
6288
|
O(() => {
|
|
6293
6289
|
function e() {
|
|
6294
6290
|
console.clear(), console.log(
|
|
@@ -6385,34 +6381,34 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6385
6381
|
videoAllowed: u = !0
|
|
6386
6382
|
}, h) => {
|
|
6387
6383
|
var ss;
|
|
6388
|
-
const { authToken: w } = Aa(), f = ns(), g = w ? cu(w) : null, { borderRadius: y } = Ii(), b = y ?? 18, { proctoring: p, capture_screenshots: v } = qr(), x = !!(p != null && p.gazeAnalysisEnabled), [E,
|
|
6384
|
+
const { authToken: w } = Aa(), f = ns(), g = w ? cu(w) : null, { borderRadius: y } = Ii(), b = y ?? 18, { proctoring: p, capture_screenshots: v } = qr(), x = !!(p != null && p.gazeAnalysisEnabled), [E, N] = T(!1), [k, V] = T(
|
|
6389
6385
|
(p == null ? void 0 : p.showLandmarks) ?? !1
|
|
6390
|
-
), [
|
|
6386
|
+
), [C, A] = T(
|
|
6391
6387
|
r && ((p == null ? void 0 : p.showEngagementBar) ?? !0)
|
|
6392
6388
|
), [U, j] = T(
|
|
6393
6389
|
x
|
|
6394
6390
|
), [z, X] = T(!1), P = D(null), B = D(null), ee = D(null), be = D(null), Me = M(
|
|
6395
6391
|
async (Ae) => {
|
|
6396
|
-
var
|
|
6397
|
-
const Xi = P.current,
|
|
6398
|
-
if (!Xi || !
|
|
6399
|
-
const di =
|
|
6392
|
+
var Nr;
|
|
6393
|
+
const Xi = P.current, Ne = ee.current;
|
|
6394
|
+
if (!Xi || !Ne) return;
|
|
6395
|
+
const di = Ne.getContext("2d");
|
|
6400
6396
|
if (!di) return;
|
|
6401
|
-
|
|
6397
|
+
Ne.width = Xi.videoWidth, Ne.height = Xi.videoHeight, di.save(), di.scale(-1, 1), di.drawImage(Xi, -Ne.width, 0, Ne.width, Ne.height), di.restore();
|
|
6402
6398
|
const Qi = await new Promise(
|
|
6403
|
-
(Gt) =>
|
|
6399
|
+
(Gt) => Ne.toBlob(Gt, "image/jpeg")
|
|
6404
6400
|
);
|
|
6405
6401
|
if (Qi && t)
|
|
6406
6402
|
try {
|
|
6407
|
-
const Gt = `${Ae}-${Date.now()}.jpeg`,
|
|
6403
|
+
const Gt = `${Ae}-${Date.now()}.jpeg`, Ce = await f.requestScreenshotUploadUrl(
|
|
6408
6404
|
t,
|
|
6409
6405
|
Gt
|
|
6410
6406
|
);
|
|
6411
|
-
|
|
6412
|
-
(
|
|
6407
|
+
Ce.data && Ce.data.upload_url && (await f.uploadScreenshot(
|
|
6408
|
+
(Nr = Ce == null ? void 0 : Ce.data) == null ? void 0 : Nr.upload_url,
|
|
6413
6409
|
Qi
|
|
6414
|
-
),
|
|
6415
|
-
|
|
6410
|
+
), Ce.data.asset_id && await f.confirmScreenshotUpload(
|
|
6411
|
+
Ce.data.asset_id
|
|
6416
6412
|
));
|
|
6417
6413
|
} catch (Gt) {
|
|
6418
6414
|
console.error(`Failed to upload screenshot for ${Ae}:`, Gt);
|
|
@@ -6434,19 +6430,19 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6434
6430
|
loadingProgress: At,
|
|
6435
6431
|
permissionDenied: ni,
|
|
6436
6432
|
clearCache: oi
|
|
6437
|
-
} =
|
|
6433
|
+
} = lh(), { fps: si, updateFPS: ai } = uh(), { drawWithEngagementBar: ci, clearCanvas: Ut, engagementRef: Ie } = dh(), {
|
|
6438
6434
|
engagement: Tt,
|
|
6439
6435
|
isLookingAway: ae,
|
|
6440
6436
|
analyzeGaze: $i,
|
|
6441
6437
|
setEngagement: li,
|
|
6442
6438
|
setIsLookingAway: Vt
|
|
6443
|
-
} =
|
|
6439
|
+
} = wh(), {
|
|
6444
6440
|
multipleFacesDetected: ui,
|
|
6445
6441
|
referenceFaceNotDetected: zi,
|
|
6446
6442
|
analyzeFace: xn,
|
|
6447
6443
|
setMultipleFacesDetected: _r,
|
|
6448
6444
|
setReferenceFaceNotDetected: Wi
|
|
6449
|
-
} =
|
|
6445
|
+
} = mh(), { referenceSet: Hi, referenceRef: kr, setReference: qi, resetReference: Ki, syncReference: Yi } = kh(
|
|
6450
6446
|
st,
|
|
6451
6447
|
P,
|
|
6452
6448
|
at,
|
|
@@ -6461,7 +6457,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6461
6457
|
closeWarningModal: Ye,
|
|
6462
6458
|
setShowGazeWarningModal: Tr,
|
|
6463
6459
|
setFaceDetectionState: os
|
|
6464
|
-
} =
|
|
6460
|
+
} = ph(
|
|
6465
6461
|
Ar,
|
|
6466
6462
|
x && !a
|
|
6467
6463
|
// Disable warning manager modal triggers if overlay is on
|
|
@@ -6489,7 +6485,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6489
6485
|
W,
|
|
6490
6486
|
s
|
|
6491
6487
|
]);
|
|
6492
|
-
const { renderLoop: Ml } =
|
|
6488
|
+
const { renderLoop: Ml } = _h(
|
|
6493
6489
|
P,
|
|
6494
6490
|
B,
|
|
6495
6491
|
st,
|
|
@@ -6501,12 +6497,12 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6501
6497
|
Hi,
|
|
6502
6498
|
kr,
|
|
6503
6499
|
k,
|
|
6504
|
-
|
|
6500
|
+
C,
|
|
6505
6501
|
x,
|
|
6506
6502
|
at,
|
|
6507
6503
|
Wi
|
|
6508
6504
|
);
|
|
6509
|
-
|
|
6505
|
+
Eh(P, Ke, Ml, at), O(() => {
|
|
6510
6506
|
Yi();
|
|
6511
6507
|
}, [Yi]), O(() => {
|
|
6512
6508
|
Ie && Ie.current && (Ie.current.value = Tt, Ie.current.isLookingAway = ae);
|
|
@@ -6537,29 +6533,29 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6537
6533
|
const Ae = [];
|
|
6538
6534
|
return (async () => {
|
|
6539
6535
|
try {
|
|
6540
|
-
const
|
|
6536
|
+
const Ne = await navigator.mediaDevices.getUserMedia({
|
|
6541
6537
|
video: !0,
|
|
6542
6538
|
audio: !1
|
|
6543
6539
|
});
|
|
6544
|
-
be.current =
|
|
6545
|
-
const Qi = (i ?? Wr) * 60 * 1e3 / 3,
|
|
6546
|
-
label: `capture-${
|
|
6547
|
-
start:
|
|
6548
|
-
end: (
|
|
6549
|
-
})), Gt = (
|
|
6550
|
-
|
|
6540
|
+
be.current = Ne, P.current && (P.current.srcObject = Ne);
|
|
6541
|
+
const Qi = (i ?? Wr) * 60 * 1e3 / 3, Nr = [0, 1, 2].map((Ce, Nt) => ({
|
|
6542
|
+
label: `capture-${Nt + 1}`,
|
|
6543
|
+
start: Nt * Qi,
|
|
6544
|
+
end: (Nt + 1) * Qi
|
|
6545
|
+
})), Gt = (Ce, Nt) => Ce === Nt ? Ce : Math.random() * (Nt - Ce) + Ce;
|
|
6546
|
+
Nr.forEach(({ label: Ce, start: Nt, end: Bl }, Ul) => {
|
|
6551
6547
|
let En;
|
|
6552
|
-
Ul === 0 ? En = 3e3 : En = Gt(
|
|
6548
|
+
Ul === 0 ? En = 3e3 : En = Gt(Nt, Bl), Ae.push(
|
|
6553
6549
|
setTimeout(() => {
|
|
6554
|
-
Me(
|
|
6550
|
+
Me(Ce);
|
|
6555
6551
|
}, En)
|
|
6556
6552
|
);
|
|
6557
6553
|
});
|
|
6558
|
-
} catch (
|
|
6559
|
-
console.error("Error accessing camera:",
|
|
6554
|
+
} catch (Ne) {
|
|
6555
|
+
console.error("Error accessing camera:", Ne);
|
|
6560
6556
|
}
|
|
6561
6557
|
})(), () => {
|
|
6562
|
-
be.current && be.current.getTracks().forEach((
|
|
6558
|
+
be.current && be.current.getTracks().forEach((Ne) => Ne.stop()), Ae.forEach(clearTimeout);
|
|
6563
6559
|
};
|
|
6564
6560
|
}, [Me, v]), va(
|
|
6565
6561
|
h,
|
|
@@ -6624,11 +6620,11 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6624
6620
|
] }),
|
|
6625
6621
|
r && ((ss = g == null ? void 0 : g.data) == null ? void 0 : ss.user_name) && /* @__PURE__ */ c("div", { className: "iw-absolute iw-z-50 iw-bottom-4 iw-right-4 iw-inline-flex iw-items-center iw-gap-2 iw-rounded-lg iw-border iw-border-white/10 iw-bg-[#F1F5FE] iw-px-3 iw-py-1 iw-backdrop-blur-md", children: /* @__PURE__ */ c("span", { className: "iw-font-medium iw-text-xs iw-text-[#062260]", children: g.data.user_name }) }),
|
|
6626
6622
|
r && /* @__PURE__ */ c("div", { className: "iw-absolute iw-bottom-4 iw-right-4", children: /* @__PURE__ */ c(
|
|
6627
|
-
|
|
6623
|
+
xu,
|
|
6628
6624
|
{
|
|
6629
6625
|
showControls: (p == null ? void 0 : p.showControls) ?? !1,
|
|
6630
6626
|
isBubbleOpen: E,
|
|
6631
|
-
setIsBubbleOpen:
|
|
6627
|
+
setIsBubbleOpen: N,
|
|
6632
6628
|
setReference: qi,
|
|
6633
6629
|
clearCache: oi,
|
|
6634
6630
|
isModelLoaded: Ke,
|
|
@@ -6636,7 +6632,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6636
6632
|
referenceSet: Hi,
|
|
6637
6633
|
showLandmarks: k,
|
|
6638
6634
|
setShowLandmarks: V,
|
|
6639
|
-
showEngagementBar:
|
|
6635
|
+
showEngagementBar: C,
|
|
6640
6636
|
setShowEngagementBar: A,
|
|
6641
6637
|
handleToggleGazeAnalysis: Dl,
|
|
6642
6638
|
stats: Ol,
|
|
@@ -6655,7 +6651,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6655
6651
|
}
|
|
6656
6652
|
),
|
|
6657
6653
|
/* @__PURE__ */ c("div", { className: "iw-absolute iw-bottom-2 iw-inset-x-0 iw-flex iw-justify-center iw-pointer-events-none iw-z-20", children: /* @__PURE__ */ c(
|
|
6658
|
-
|
|
6654
|
+
Th,
|
|
6659
6655
|
{
|
|
6660
6656
|
status: u ? d || !Ke ? "model_loading" : W() ?? "no_face_detected" : "camera_error"
|
|
6661
6657
|
}
|
|
@@ -6665,7 +6661,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6665
6661
|
}
|
|
6666
6662
|
) }),
|
|
6667
6663
|
x && G && !a && /* @__PURE__ */ c(
|
|
6668
|
-
|
|
6664
|
+
Ah,
|
|
6669
6665
|
{
|
|
6670
6666
|
isOpen: G,
|
|
6671
6667
|
onClose: Pl,
|
|
@@ -6703,7 +6699,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6703
6699
|
disabled: o || n,
|
|
6704
6700
|
...a,
|
|
6705
6701
|
children: [
|
|
6706
|
-
n && /* @__PURE__ */ c(
|
|
6702
|
+
n && /* @__PURE__ */ c(Na, { height: 16, width: 16, style: { marginRight: "3px" } }),
|
|
6707
6703
|
e
|
|
6708
6704
|
]
|
|
6709
6705
|
}
|
|
@@ -6734,7 +6730,12 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6734
6730
|
)
|
|
6735
6731
|
]
|
|
6736
6732
|
}
|
|
6737
|
-
) }) }),
|
|
6733
|
+
) }) }), Vh = ({
|
|
6734
|
+
stream: e,
|
|
6735
|
+
className: t = "",
|
|
6736
|
+
barCount: i = 50,
|
|
6737
|
+
onAudioLevel: r
|
|
6738
|
+
}) => {
|
|
6738
6739
|
const n = D(null), o = D(null), s = D(0), a = D(null), l = D(null), d = D(null);
|
|
6739
6740
|
O(() => {
|
|
6740
6741
|
if (!e || window === void 0) return;
|
|
@@ -6761,16 +6762,16 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6761
6762
|
const B = p[P] ?? 0;
|
|
6762
6763
|
E += B * B;
|
|
6763
6764
|
}
|
|
6764
|
-
const
|
|
6765
|
+
const N = Math.sqrt(E / b), k = Math.min(1, N / 128), V = new Float32Array(w.fftSize);
|
|
6765
6766
|
w.getFloatTimeDomainData(V);
|
|
6766
|
-
let
|
|
6767
|
+
let C = 0;
|
|
6767
6768
|
for (let P = 0; P < V.length; P++) {
|
|
6768
6769
|
const B = V[P] || 0;
|
|
6769
|
-
|
|
6770
|
+
C += B * B;
|
|
6770
6771
|
}
|
|
6771
|
-
const A = Math.sqrt(
|
|
6772
|
+
const A = Math.sqrt(C / V.length), U = A > 0 ? 20 * Math.log10(A) : -1 / 0;
|
|
6772
6773
|
let j = "problem";
|
|
6773
|
-
if (U >= -20 ? j = "good" : U >= -25 ? j = "acceptable" : j = "problem", r) {
|
|
6774
|
+
if (U >= -20 ? j = "good" : U >= -25 ? j = "acceptable" : U >= -45 ? j = "poor" : j = "problem", r) {
|
|
6774
6775
|
const P = Date.now();
|
|
6775
6776
|
P - s.current > 200 && (s.current = P, r(j, U));
|
|
6776
6777
|
}
|
|
@@ -6786,8 +6787,14 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6786
6787
|
o.current && cancelAnimationFrame(o.current);
|
|
6787
6788
|
};
|
|
6788
6789
|
}, [e, i]);
|
|
6789
|
-
const u = D({
|
|
6790
|
-
|
|
6790
|
+
const u = D({
|
|
6791
|
+
audioContext: l.current,
|
|
6792
|
+
source: d.current
|
|
6793
|
+
});
|
|
6794
|
+
return u.current = {
|
|
6795
|
+
audioContext: l.current,
|
|
6796
|
+
source: d.current
|
|
6797
|
+
}, O(() => () => {
|
|
6791
6798
|
u.current.source && u.current.source.disconnect(), u.current.audioContext && u.current.audioContext.state !== "closed" && u.current.audioContext.close();
|
|
6792
6799
|
}, []), /* @__PURE__ */ c(
|
|
6793
6800
|
"canvas",
|
|
@@ -6796,10 +6803,10 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6796
6803
|
className: t,
|
|
6797
6804
|
width: 300,
|
|
6798
6805
|
height: 20,
|
|
6799
|
-
style: { width: "
|
|
6806
|
+
style: { width: "100%", height: "100%" }
|
|
6800
6807
|
}
|
|
6801
6808
|
);
|
|
6802
|
-
},
|
|
6809
|
+
}, Gh = {
|
|
6803
6810
|
initial: {
|
|
6804
6811
|
bgColor: "iw-bg-[#FEF2F2]",
|
|
6805
6812
|
borderColor: "iw-border-[#FECACA]",
|
|
@@ -6807,11 +6814,23 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6807
6814
|
iconColor: "iw-text-white",
|
|
6808
6815
|
titleColor: "iw-text-[#C81E1E]",
|
|
6809
6816
|
subtitleColor: "iw-text-[#991B1B]",
|
|
6810
|
-
title: "Action Required:
|
|
6811
|
-
subtitle: "
|
|
6817
|
+
title: "Action Required: No Sound Detected",
|
|
6818
|
+
subtitle: "Please speak into your microphone to test it.",
|
|
6812
6819
|
tooltipText: "Please speak into your microphone to verify audio quality before proceeding",
|
|
6813
6820
|
tooltipBg: "#DC2626"
|
|
6814
6821
|
},
|
|
6822
|
+
poor: {
|
|
6823
|
+
bgColor: "iw-bg-[#FFF7ED]",
|
|
6824
|
+
borderColor: "iw-border-[#FFEDD5]",
|
|
6825
|
+
iconBg: "iw-bg-[#EA580C]",
|
|
6826
|
+
iconColor: "iw-text-white",
|
|
6827
|
+
titleColor: "iw-text-[#EA580C]",
|
|
6828
|
+
subtitleColor: "iw-text-[#9A3412]",
|
|
6829
|
+
title: "Poor Audio Levels: Speak Louder to Continue",
|
|
6830
|
+
subtitle: "We can hear you, but your microphone sound is very low.",
|
|
6831
|
+
tooltipText: "Your microphone sound is very low. Please try speaking louder or check your microphone settings.",
|
|
6832
|
+
tooltipBg: "#EA580C"
|
|
6833
|
+
},
|
|
6815
6834
|
acceptable: {
|
|
6816
6835
|
bgColor: "iw-bg-[#FFFBEB]",
|
|
6817
6836
|
borderColor: "iw-border-[#FDE68A]",
|
|
@@ -6848,25 +6867,25 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6848
6867
|
tooltipText: "Your microphone is working perfectly and ready for the interview",
|
|
6849
6868
|
tooltipBg: "#16A34A"
|
|
6850
6869
|
}
|
|
6851
|
-
},
|
|
6870
|
+
}, jh = ({
|
|
6852
6871
|
micEnabled: e,
|
|
6853
6872
|
micTested: t,
|
|
6854
6873
|
audioStatus: i
|
|
6855
6874
|
}) => {
|
|
6856
6875
|
if (!e) return null;
|
|
6857
6876
|
let r = "initial";
|
|
6858
|
-
t && i === "problem" ? r = "success" : i === "good" ? r = "good" : i === "acceptable" && (r = "
|
|
6859
|
-
const n =
|
|
6877
|
+
t && i === "problem" ? r = "success" : i === "good" ? r = "good" : i === "acceptable" ? r = "acceptable" : i === "poor" && (r = "poor");
|
|
6878
|
+
const n = Gh[r];
|
|
6860
6879
|
return /* @__PURE__ */ c("div", { className: "iw-relative iw-w-full iw-group", children: /* @__PURE__ */ m(
|
|
6861
6880
|
"div",
|
|
6862
6881
|
{
|
|
6863
|
-
className: `iw-flex iw-items-center iw-gap-3 iw-py-2 iw-px-2 iw-w-full iw-rounded-xl iw-border ${n.borderColor} ${n.bgColor} iw-transition-all iw-duration-300`,
|
|
6882
|
+
className: `iw-flex iw-items-center iw-gap-3 iw-py-2 iw-px-2 iw-w-full iw-rounded-xl iw-border ${n.borderColor} ${n.bgColor} iw-transition-all iw-duration-300 ${r === "initial" || r === "poor" ? "iw-animate-initial-mic" : ""}`,
|
|
6864
6883
|
children: [
|
|
6865
6884
|
/* @__PURE__ */ c(
|
|
6866
6885
|
"div",
|
|
6867
6886
|
{
|
|
6868
6887
|
className: `iw-flex iw-items-center iw-justify-center iw-w-9 iw-h-9 iw-rounded-full ${n.iconBg} iw-shrink-0`,
|
|
6869
|
-
children: /* @__PURE__ */ c(
|
|
6888
|
+
children: /* @__PURE__ */ c(bu, { className: `iw-w-5 iw-h-5 ${n.iconColor}` })
|
|
6870
6889
|
}
|
|
6871
6890
|
),
|
|
6872
6891
|
/* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-gap-[2px] iw-pr-2", children: [
|
|
@@ -6923,9 +6942,20 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6923
6942
|
onClick: () => u && g(!f),
|
|
6924
6943
|
title: u ? "" : "Permission denied or device not found",
|
|
6925
6944
|
children: [
|
|
6926
|
-
/* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-3 iw-min-w-0 iw-
|
|
6945
|
+
/* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-3 iw-min-w-0 iw-flex-1", children: [
|
|
6927
6946
|
/* @__PURE__ */ c(e, { className: "iw-w-5 iw-h-5 iw-text-[#062260] iw-flex-shrink-0" }),
|
|
6928
|
-
/* @__PURE__ */
|
|
6947
|
+
/* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-min-w-0 iw-flex-1", children: [
|
|
6948
|
+
/* @__PURE__ */ c("span", { className: "iw-text-sm iw-text-[#062260] iw-font-medium iw-truncate", children: p }),
|
|
6949
|
+
o && u && /* @__PURE__ */ c("div", { className: "iw-w-full iw-h-1.5 iw-mt-1", children: /* @__PURE__ */ c(
|
|
6950
|
+
Vh,
|
|
6951
|
+
{
|
|
6952
|
+
stream: d,
|
|
6953
|
+
className: "iw-w-full iw-h-full",
|
|
6954
|
+
onAudioLevel: h,
|
|
6955
|
+
barCount: 45
|
|
6956
|
+
}
|
|
6957
|
+
) })
|
|
6958
|
+
] })
|
|
6929
6959
|
] }),
|
|
6930
6960
|
/* @__PURE__ */ c("div", { className: "iw-flex iw-items-center iw-gap-2", children: u ? /* @__PURE__ */ m(bt, { children: [
|
|
6931
6961
|
/* @__PURE__ */ c(
|
|
@@ -6948,27 +6978,14 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
6948
6978
|
description: "We need permission to access your device. Go to your browser privacy settings to allow it"
|
|
6949
6979
|
}
|
|
6950
6980
|
),
|
|
6951
|
-
|
|
6952
|
-
|
|
6953
|
-
|
|
6954
|
-
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
6959
|
-
onAudioLevel: h
|
|
6960
|
-
}
|
|
6961
|
-
)
|
|
6962
|
-
] }),
|
|
6963
|
-
s && u && /* @__PURE__ */ c("div", { className: "iw-flex iw-flex-1 iw-w-full iw-z-100", children: /* @__PURE__ */ c(
|
|
6964
|
-
$2,
|
|
6965
|
-
{
|
|
6966
|
-
micEnabled: u,
|
|
6967
|
-
micTested: a,
|
|
6968
|
-
audioStatus: l
|
|
6969
|
-
}
|
|
6970
|
-
) })
|
|
6971
|
-
] }),
|
|
6981
|
+
s && u && /* @__PURE__ */ c("div", { className: "iw-w-full iw-mt-2 sm:iw-w-[calc(200%+16px)] iw-z-100", children: /* @__PURE__ */ c(
|
|
6982
|
+
jh,
|
|
6983
|
+
{
|
|
6984
|
+
micEnabled: u,
|
|
6985
|
+
micTested: a,
|
|
6986
|
+
audioStatus: l
|
|
6987
|
+
}
|
|
6988
|
+
) }),
|
|
6972
6989
|
f && u && /* @__PURE__ */ m("div", { className: "iw-absolute iw-bottom-full iw-left-0 iw-right-0 iw-mb-2 iw-bg-white iw-border iw-border-gray-100 iw-rounded-xl iw-shadow-xl iw-z-50 iw-py-2 iw-max-h-60 iw-overflow-y-auto", children: [
|
|
6973
6990
|
t.map((v) => /* @__PURE__ */ m(
|
|
6974
6991
|
"div",
|
|
@@ -7008,9 +7025,9 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7008
7025
|
audioStream: y = null,
|
|
7009
7026
|
isDeviceLoading: b = !1
|
|
7010
7027
|
}) => {
|
|
7011
|
-
const { baseColor: p } = Ii(), [v, x] = T("problem"), [E,
|
|
7028
|
+
const { baseColor: p } = Ii(), [v, x] = T("problem"), [E, N] = T(!1);
|
|
7012
7029
|
Ht.useEffect(() => {
|
|
7013
|
-
x("problem"),
|
|
7030
|
+
x("problem"), N(!1);
|
|
7014
7031
|
}, [h]);
|
|
7015
7032
|
const k = l || !n || a && (!e || !t || !E) || b;
|
|
7016
7033
|
return /* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-gap-1 iw-w-full", children: [
|
|
@@ -7022,7 +7039,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7022
7039
|
icon: gu,
|
|
7023
7040
|
devices: d,
|
|
7024
7041
|
selectedId: h ?? "",
|
|
7025
|
-
onChange: (
|
|
7042
|
+
onChange: (C) => f && f(C),
|
|
7026
7043
|
label: "Choose mic",
|
|
7027
7044
|
showVisualizer: !0,
|
|
7028
7045
|
showMicHint: !0,
|
|
@@ -7030,11 +7047,11 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7030
7047
|
audioStatus: v,
|
|
7031
7048
|
stream: y,
|
|
7032
7049
|
hasPermission: e,
|
|
7033
|
-
onAudioLevel: (
|
|
7034
|
-
const A = { good:
|
|
7050
|
+
onAudioLevel: (C) => {
|
|
7051
|
+
const A = { good: 3, acceptable: 2, poor: 1, problem: 0 };
|
|
7035
7052
|
x(
|
|
7036
|
-
(U) => A[
|
|
7037
|
-
), !E && (
|
|
7053
|
+
(U) => A[C] > A[U] ? C : U
|
|
7054
|
+
), !E && (C === "good" || C === "acceptable") && N(!0);
|
|
7038
7055
|
}
|
|
7039
7056
|
}
|
|
7040
7057
|
),
|
|
@@ -7044,19 +7061,19 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7044
7061
|
icon: yu,
|
|
7045
7062
|
devices: u,
|
|
7046
7063
|
selectedId: w ?? "",
|
|
7047
|
-
onChange: (
|
|
7064
|
+
onChange: (C) => g && g(C),
|
|
7048
7065
|
label: "Choose camera",
|
|
7049
7066
|
hasPermission: t
|
|
7050
7067
|
}
|
|
7051
7068
|
)
|
|
7052
7069
|
] }),
|
|
7053
|
-
s && /* @__PURE__ */ m("div", { className: "iw-flex iw-items-start iw-gap-3 iw-bg-[#F1F5FE] iw-rounded-xl iw-mb-1 iw-p-3 iw-border iw-border-[#c2c3c7]", children: [
|
|
7070
|
+
s && /* @__PURE__ */ m("div", { className: "iw-flex iw-items-start iw-gap-3 iw-bg-[#F1F5FE] iw-rounded-xl iw-mb-1 iw-p-3 iw-pr-8 iw-border iw-border-[#c2c3c7]", children: [
|
|
7054
7071
|
/* @__PURE__ */ c(
|
|
7055
7072
|
"div",
|
|
7056
7073
|
{
|
|
7057
7074
|
className: `iw-mt-0.5 iw-h-5 iw-w-5 iw-min-w-[20px] iw-rounded iw-border iw-flex iw-items-center iw-justify-center iw-cursor-pointer iw-transition-colors ${n ? "iw-bg-[#062260] iw-border-[#062260]" : "iw-bg-white iw-border-[#062260]"}`,
|
|
7058
|
-
onClick: (
|
|
7059
|
-
|
|
7075
|
+
onClick: (C) => {
|
|
7076
|
+
C.stopPropagation(), o(!n);
|
|
7060
7077
|
},
|
|
7061
7078
|
children: n && /* @__PURE__ */ c(Dr, { className: "iw-size-3 iw-text-white" })
|
|
7062
7079
|
}
|
|
@@ -7065,7 +7082,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7065
7082
|
"label",
|
|
7066
7083
|
{
|
|
7067
7084
|
onClick: () => o(!n),
|
|
7068
|
-
className: "iw-text-
|
|
7085
|
+
className: "iw-text-[13px] iw-text-[#062260] iw-font-medium iw-cursor-pointer iw-select-none",
|
|
7069
7086
|
children: "By continuing, you acknowledge and consent to the use of your face data exclusively for interview monitoring"
|
|
7070
7087
|
}
|
|
7071
7088
|
)
|
|
@@ -7077,7 +7094,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7077
7094
|
{
|
|
7078
7095
|
onClick: r,
|
|
7079
7096
|
disabled: k,
|
|
7080
|
-
className: `iw-h-12 iw-w-full !iw-bg-[#F1F5FE] !iw-text-[#062260] !iw-font-bold !iw-border-[#E7EAF1] iw-rounded-lg ${k ? "iw-opacity-50" : "hover:iw-opacity-75"}`,
|
|
7097
|
+
className: `iw-h-12 iw-w-full iw-shadow-lg !iw-bg-[#F1F5FE] !iw-text-[#062260] !iw-font-bold !iw-border-[#E7EAF1] iw-rounded-lg ${k ? "iw-opacity-50" : "hover:iw-opacity-75"}`,
|
|
7081
7098
|
children: b ? "Device Loading..." : i
|
|
7082
7099
|
}
|
|
7083
7100
|
),
|
|
@@ -7088,7 +7105,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7088
7105
|
})
|
|
7089
7106
|
] })
|
|
7090
7107
|
] });
|
|
7091
|
-
},
|
|
7108
|
+
}, $h = ({ steps: e, currentStepIndex: t }) => /* @__PURE__ */ c("div", { className: "iw-flex iw-items-center iw-justify-center iw-gap-4 iw-w-full iw-py-2", children: e.map((i, r) => {
|
|
7092
7109
|
const n = r < t, o = r === t;
|
|
7093
7110
|
return /* @__PURE__ */ m(Ht.Fragment, { children: [
|
|
7094
7111
|
/* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-3", children: [
|
|
@@ -7123,12 +7140,12 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7123
7140
|
] }),
|
|
7124
7141
|
r < e.length - 1 && /* @__PURE__ */ c("div", { className: "iw-flex-1 iw-max-w-[120px] iw-border-t iw-border-dotted iw-border-[#B3B9CB]" })
|
|
7125
7142
|
] }, r);
|
|
7126
|
-
}) }),
|
|
7143
|
+
}) }), zh = [
|
|
7127
7144
|
"Don't refresh or reload the page during your assessment",
|
|
7128
7145
|
"Don't switch tabs or open other applications while session is ongoing",
|
|
7129
7146
|
"Don't leave your position during the session",
|
|
7130
7147
|
"Don't disable or interfere with video/audio monitoring"
|
|
7131
|
-
],
|
|
7148
|
+
], Wh = ({
|
|
7132
7149
|
isOpen: e,
|
|
7133
7150
|
onStart: t,
|
|
7134
7151
|
gazeEnabled: i = !1,
|
|
@@ -7149,27 +7166,27 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7149
7166
|
handleAudioChange: y,
|
|
7150
7167
|
handleVideoChange: b,
|
|
7151
7168
|
stopStream: p
|
|
7152
|
-
} = uu(e), [v, x] = T(!1), [E,
|
|
7153
|
-
|
|
7169
|
+
} = uu(e), [v, x] = T(!1), [E, N] = T(0), [k, V] = T(!1), C = D(null), A = D(null), U = (B) => {
|
|
7170
|
+
C.current = B, r && (typeof r == "function" ? r(B) : r.current = B);
|
|
7154
7171
|
};
|
|
7155
7172
|
if (O(() => () => {
|
|
7156
7173
|
A.current && (clearInterval(A.current), A.current = null);
|
|
7157
7174
|
}, []), !e) return null;
|
|
7158
7175
|
const [j, z] = T(Re.MODEL_LOADING), X = async () => {
|
|
7159
7176
|
var ee;
|
|
7160
|
-
x(!0), (ee =
|
|
7177
|
+
x(!0), (ee = C.current) == null || ee.resetReference();
|
|
7161
7178
|
const B = () => {
|
|
7162
7179
|
var be;
|
|
7163
|
-
return (be =
|
|
7180
|
+
return (be = C.current) == null ? void 0 : be.setReference();
|
|
7164
7181
|
};
|
|
7165
7182
|
B(), A.current && clearInterval(A.current), A.current = setInterval(B, 500);
|
|
7166
7183
|
};
|
|
7167
|
-
return /* @__PURE__ */ c("div", { className: "iw-fixed iw-inset-0 iw-z-50 iw-flex iw-items-center iw-justify-center iw-bg-gray-900/40 iw-backdrop-blur-sm iw-p-4 iw-pt-
|
|
7184
|
+
return /* @__PURE__ */ c("div", { className: "iw-fixed iw-inset-0 iw-z-50 iw-flex iw-items-center iw-justify-center iw-bg-gray-900/40 iw-backdrop-blur-sm iw-p-4 iw-pt-16 iw-overflow-auto", children: /* @__PURE__ */ m("div", { className: "iw-w-full iw-max-w-[700px] iw-max-h-[900px] iw-my-6 iw-bg-white iw-rounded-xl iw-shadow-2xl iw-overflow-auto", children: [
|
|
7168
7185
|
/* @__PURE__ */ m("div", { className: "iw-px-12 iw-pt-3", children: [
|
|
7169
7186
|
/* @__PURE__ */ c("h2", { className: "iw-text-[#062260] iw-text-2xl iw-font-medium iw-tracking-tight", children: "Final checks before you go live" }),
|
|
7170
7187
|
/* @__PURE__ */ c("div", { className: "iw-mt-1 iw-bg-[#F1F5FE] iw-rounded-xl iw-p-2 iw-border iw-border-[#E7EAF1]", children: /* @__PURE__ */ c("p", { className: "iw-text-[#5C6686] iw-text-xs iw-leading-relaxed", children: "To ensure the integrity of the interview process, this platform uses your device’s camera to monitor your face and gaze direction. We do not store any outside this session" }) }),
|
|
7171
7188
|
/* @__PURE__ */ c("div", { className: "iw-mt-3 iw-border-b iw-border-dashed iw-border-[#B3B9CB] iw-w-full" }),
|
|
7172
|
-
/* @__PURE__ */ c(
|
|
7189
|
+
/* @__PURE__ */ c($h, { steps: [
|
|
7173
7190
|
{ label: i ? "Calibrate your camera" : "Camera & Mic permission" },
|
|
7174
7191
|
{ label: "Basic guidelines" }
|
|
7175
7192
|
], currentStepIndex: E })
|
|
@@ -7187,7 +7204,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7187
7204
|
videoAllowed: a,
|
|
7188
7205
|
onProctoringStatusChange: z,
|
|
7189
7206
|
onSetReference: () => {
|
|
7190
|
-
A.current && (clearInterval(A.current), A.current = null), x(!1),
|
|
7207
|
+
A.current && (clearInterval(A.current), A.current = null), x(!1), N(1);
|
|
7191
7208
|
}
|
|
7192
7209
|
}
|
|
7193
7210
|
) : /* @__PURE__ */ c(
|
|
@@ -7208,7 +7225,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7208
7225
|
videoEnabled: a,
|
|
7209
7226
|
buttonText: i ? v ? "Calibrating..." : j === "model_loading" ? "Initialising..." : "Start calibrate" : "Next",
|
|
7210
7227
|
onButtonClick: () => {
|
|
7211
|
-
i ? X() :
|
|
7228
|
+
i ? X() : N(1);
|
|
7212
7229
|
},
|
|
7213
7230
|
disabled: !k || i && j !== "face_detected" || !i && (!s || !a),
|
|
7214
7231
|
isAgreed: k,
|
|
@@ -7224,7 +7241,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7224
7241
|
}
|
|
7225
7242
|
)
|
|
7226
7243
|
] }) : /* @__PURE__ */ m("div", { className: "iw-w-full iw-flex iw-flex-col iw-gap-6", children: [
|
|
7227
|
-
/* @__PURE__ */ c("div", { className: "iw-w-full iw-bg-[#F8FAFF] iw-rounded-2xl iw-p-8 iw-flex iw-flex-col iw-gap-5", children:
|
|
7244
|
+
/* @__PURE__ */ c("div", { className: "iw-w-full iw-bg-[#F8FAFF] iw-rounded-2xl iw-p-8 iw-flex iw-flex-col iw-gap-5", children: zh.map((B, ee) => /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-4", children: [
|
|
7228
7245
|
/* @__PURE__ */ c("div", { className: "iw-flex iw-h-7 iw-w-7 iw-min-w-[28px] iw-items-center iw-justify-center iw-rounded-full iw-bg-[#DBEAFE] iw-text-[#062260] iw-text-xs iw-font-bold", children: ee + 1 }),
|
|
7229
7246
|
/* @__PURE__ */ c("span", { className: "iw-text-[#5C6686] iw-font-medium", children: B })
|
|
7230
7247
|
] }, ee)) }),
|
|
@@ -7252,10 +7269,10 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7252
7269
|
borderRadius: i
|
|
7253
7270
|
},
|
|
7254
7271
|
...o,
|
|
7255
|
-
children: r ? /* @__PURE__ */ c(
|
|
7272
|
+
children: r ? /* @__PURE__ */ c(Na, {}) : n
|
|
7256
7273
|
}
|
|
7257
7274
|
);
|
|
7258
|
-
},
|
|
7275
|
+
}, Hh = ({
|
|
7259
7276
|
question: e,
|
|
7260
7277
|
isLoading: t = !1,
|
|
7261
7278
|
phase: i,
|
|
@@ -7283,7 +7300,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7283
7300
|
}
|
|
7284
7301
|
),
|
|
7285
7302
|
/* @__PURE__ */ c(
|
|
7286
|
-
|
|
7303
|
+
qh,
|
|
7287
7304
|
{
|
|
7288
7305
|
phase: i,
|
|
7289
7306
|
question: e,
|
|
@@ -7293,7 +7310,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7293
7310
|
)
|
|
7294
7311
|
] })
|
|
7295
7312
|
}
|
|
7296
|
-
),
|
|
7313
|
+
), qh = ({ phase: e, question: t, isLoading: i, brandName: r }) => {
|
|
7297
7314
|
const n = r || "We", o = r ? "is" : "are";
|
|
7298
7315
|
if (i || e === $.FETCHING_QUESTION || e === $.IDLE)
|
|
7299
7316
|
return /* @__PURE__ */ m("div", { className: "iw-animate-pulse iw-w-full iw-space-y-3 iw-mr-10", children: [
|
|
@@ -7329,7 +7346,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7329
7346
|
default:
|
|
7330
7347
|
return /* @__PURE__ */ c("p", { className: "iw-text-lg iw-leading-7", children: t == null ? void 0 : t.question });
|
|
7331
7348
|
}
|
|
7332
|
-
},
|
|
7349
|
+
}, Kh = (e, t, i) => Math.max(t, Math.min(i, e)), pa = (e) => {
|
|
7333
7350
|
const t = Math.max(0, Math.floor(e)), i = Math.floor(t / 60).toString().padStart(2, "0"), r = (t % 60).toString().padStart(2, "0");
|
|
7334
7351
|
return `${i}:${r}`;
|
|
7335
7352
|
}, vn = ({
|
|
@@ -7340,7 +7357,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7340
7357
|
className: n = "",
|
|
7341
7358
|
showLabel: o = !0
|
|
7342
7359
|
}) => {
|
|
7343
|
-
const s = Math.max(1, e || 1), a =
|
|
7360
|
+
const s = Math.max(1, e || 1), a = Kh(t / s, 0, 1), { radius: l, circumference: d, dashOffset: u, center: h } = ar(() => {
|
|
7344
7361
|
const g = (i - r) / 2, y = 2 * Math.PI * g, b = y * (1 - a), p = Math.round(r) % 2 === 1, v = i / 2 + (p ? 0.5 : 0);
|
|
7345
7362
|
return { radius: g, circumference: y, dashOffset: b, center: v };
|
|
7346
7363
|
}, [i, r, a]), w = ar(() => a <= 0.25 ? "iw-stroke-red-500" : a <= 0.5 ? "iw-stroke-yellow-500" : "iw-stroke-green-500", [a]), f = a <= 0.25 ? "iw-animate-pulse" : "";
|
|
@@ -7406,7 +7423,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7406
7423
|
]
|
|
7407
7424
|
}
|
|
7408
7425
|
);
|
|
7409
|
-
},
|
|
7426
|
+
}, Yh = ({
|
|
7410
7427
|
label: e,
|
|
7411
7428
|
error: t,
|
|
7412
7429
|
fullWidth: i = !1,
|
|
@@ -7441,14 +7458,14 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7441
7458
|
]
|
|
7442
7459
|
}
|
|
7443
7460
|
);
|
|
7444
|
-
},
|
|
7461
|
+
}, Xh = ({
|
|
7445
7462
|
answerText: e,
|
|
7446
7463
|
onAnswerChange: t,
|
|
7447
7464
|
timerState: i,
|
|
7448
7465
|
editingTime: r
|
|
7449
7466
|
}) => /* @__PURE__ */ m("div", { className: "iw-w-full iw-bg-white iw-rounded-xl iw-border iw-border-[#84bbf5] iw-overflow-hidden iw-rounded-tr-none", children: [
|
|
7450
7467
|
/* @__PURE__ */ c("div", { className: "iw-p-2 iw-pb-0", children: /* @__PURE__ */ c(
|
|
7451
|
-
|
|
7468
|
+
Yh,
|
|
7452
7469
|
{
|
|
7453
7470
|
value: e,
|
|
7454
7471
|
onChange: t,
|
|
@@ -7475,7 +7492,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7475
7492
|
] })
|
|
7476
7493
|
] }), ya = ({
|
|
7477
7494
|
children: e
|
|
7478
|
-
}) => /* @__PURE__ */ c("div", { className: "iw-flex iw-flex-col iw-items-start iw-mt-3 iw-gap-1", children: e }),
|
|
7495
|
+
}) => /* @__PURE__ */ c("div", { className: "iw-flex iw-flex-col iw-items-start iw-mt-3 iw-gap-1", children: e }), Qh = ({ questionNumber: e }) => /* @__PURE__ */ m(
|
|
7479
7496
|
"div",
|
|
7480
7497
|
{
|
|
7481
7498
|
className: "iw-px-4 iw-py-1.5 iw-rounded-full iw-mb-2 iw-text-sm iw-font-semibold",
|
|
@@ -7489,14 +7506,14 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7489
7506
|
e
|
|
7490
7507
|
]
|
|
7491
7508
|
}
|
|
7492
|
-
),
|
|
7509
|
+
), Jh = ({ label: e }) => /* @__PURE__ */ m("div", { className: "iw-flex iw-items-center iw-gap-2 iw-text-sm iw-text-gray-500 iw-bg-[#F1F5FE] iw-px-4 iw-py-1.5 iw-rounded-full iw-my-2 iw-font-semibold", children: [
|
|
7493
7510
|
e && /* @__PURE__ */ c("span", { className: "iw-font-medium", children: e }),
|
|
7494
7511
|
/* @__PURE__ */ m("span", { className: "iw-animate-dot-wave iw-text-2xl", children: [
|
|
7495
7512
|
/* @__PURE__ */ c("span", { children: "." }),
|
|
7496
7513
|
/* @__PURE__ */ c("span", { children: "." }),
|
|
7497
7514
|
/* @__PURE__ */ c("span", { children: "." })
|
|
7498
7515
|
] })
|
|
7499
|
-
] }),
|
|
7516
|
+
] }), Zh = ({
|
|
7500
7517
|
timerState: e,
|
|
7501
7518
|
answeringTime: t
|
|
7502
7519
|
}) => {
|
|
@@ -7521,7 +7538,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7521
7538
|
)
|
|
7522
7539
|
] })
|
|
7523
7540
|
] });
|
|
7524
|
-
},
|
|
7541
|
+
}, e2 = () => {
|
|
7525
7542
|
const e = Ht.useRef(null), t = Ht.useRef(null);
|
|
7526
7543
|
return Ht.useEffect(() => {
|
|
7527
7544
|
const i = e.current;
|
|
@@ -7548,16 +7565,16 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7548
7565
|
const U = f[A] || 0, j = w[A] || 0;
|
|
7549
7566
|
f[A] = U * g + j * (1 - g);
|
|
7550
7567
|
}
|
|
7551
|
-
const v = 3, x = 2, E = Math.floor(b / (v + x)),
|
|
7552
|
-
if (
|
|
7568
|
+
const v = 3, x = 2, E = Math.floor(b / (v + x)), N = E > 0 ? E % 2 === 0 ? E - 1 : E : 0;
|
|
7569
|
+
if (N <= 0) {
|
|
7553
7570
|
a = requestAnimationFrame(y);
|
|
7554
7571
|
return;
|
|
7555
7572
|
}
|
|
7556
|
-
const k = (b -
|
|
7573
|
+
const k = (b - N * (v + x)) / 2, V = Math.floor(N / 2);
|
|
7557
7574
|
r.fillStyle = "#27ba71";
|
|
7558
|
-
const
|
|
7559
|
-
for (let A = 0; A <
|
|
7560
|
-
const U = Math.abs(A - V), j = V > 0 ? U / V : 0, z = 2 + Math.floor(Math.pow(j, 1.5) *
|
|
7575
|
+
const C = 38;
|
|
7576
|
+
for (let A = 0; A < N; A++) {
|
|
7577
|
+
const U = Math.abs(A - V), j = V > 0 ? U / V : 0, z = 2 + Math.floor(Math.pow(j, 1.5) * C);
|
|
7561
7578
|
let X = f[Math.min(z, h - 1)] || 0;
|
|
7562
7579
|
X = X / 255, X = Math.pow(X, 2.2);
|
|
7563
7580
|
const P = 1 - j * 0.8, B = 1.5, ee = X > 0.05 ? Math.sin(Date.now() / 300 + A) * 0.5 * P : 0, be = X * (p - 8) * P, Me = Math.max(B, be + ee), st = k + A * (v + x), Ke = (p - Me) / 2;
|
|
@@ -7596,19 +7613,19 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7596
7613
|
}
|
|
7597
7614
|
)
|
|
7598
7615
|
] });
|
|
7599
|
-
},
|
|
7616
|
+
}, t2 = ({ phase: e, questionNumber: t, timerState: i }) => {
|
|
7600
7617
|
const { timers: r } = qr();
|
|
7601
7618
|
switch (e) {
|
|
7602
7619
|
case $.FETCHING_QUESTION:
|
|
7603
7620
|
return /* @__PURE__ */ m(ya, { children: [
|
|
7604
|
-
/* @__PURE__ */ c(
|
|
7605
|
-
/* @__PURE__ */ c(
|
|
7621
|
+
/* @__PURE__ */ c(Qh, { questionNumber: t + 1 }),
|
|
7622
|
+
/* @__PURE__ */ c(Jh, {})
|
|
7606
7623
|
] });
|
|
7607
7624
|
case $.ANSWERING:
|
|
7608
7625
|
return /* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-items-end iw-w-full", children: [
|
|
7609
|
-
/* @__PURE__ */ c(
|
|
7626
|
+
/* @__PURE__ */ c(e2, {}),
|
|
7610
7627
|
/* @__PURE__ */ c("div", { className: "iw-mt-2 iw-w-full", children: /* @__PURE__ */ c(
|
|
7611
|
-
|
|
7628
|
+
Zh,
|
|
7612
7629
|
{
|
|
7613
7630
|
timerState: i,
|
|
7614
7631
|
answeringTime: r == null ? void 0 : r.answeringDuration
|
|
@@ -7623,7 +7640,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7623
7640
|
default:
|
|
7624
7641
|
return null;
|
|
7625
7642
|
}
|
|
7626
|
-
},
|
|
7643
|
+
}, i2 = ({
|
|
7627
7644
|
item: e,
|
|
7628
7645
|
index: t,
|
|
7629
7646
|
isCurrentQuestion: i = !1,
|
|
@@ -7677,7 +7694,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7677
7694
|
}
|
|
7678
7695
|
),
|
|
7679
7696
|
l ? /* @__PURE__ */ c(
|
|
7680
|
-
|
|
7697
|
+
Xh,
|
|
7681
7698
|
{
|
|
7682
7699
|
answerText: n || "",
|
|
7683
7700
|
onAnswerChange: o,
|
|
@@ -7696,7 +7713,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7696
7713
|
)
|
|
7697
7714
|
] }),
|
|
7698
7715
|
i && /* @__PURE__ */ c(
|
|
7699
|
-
|
|
7716
|
+
t2,
|
|
7700
7717
|
{
|
|
7701
7718
|
phase: s == null ? void 0 : s.phase,
|
|
7702
7719
|
questionNumber: t + 1,
|
|
@@ -7704,7 +7721,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7704
7721
|
}
|
|
7705
7722
|
)
|
|
7706
7723
|
] });
|
|
7707
|
-
},
|
|
7724
|
+
}, r2 = () => /* @__PURE__ */ c("div", { className: "iw-space-y-6 iw-animate-pulse", children: [1, 2, 3].map((e) => /* @__PURE__ */ m(
|
|
7708
7725
|
"div",
|
|
7709
7726
|
{
|
|
7710
7727
|
className: `iw-flex iw-flex-col ${e % 2 === 0 ? "iw-items-end" : "iw-items-start"} iw-gap-2`,
|
|
@@ -7714,7 +7731,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7714
7731
|
]
|
|
7715
7732
|
},
|
|
7716
7733
|
e
|
|
7717
|
-
)) }),
|
|
7734
|
+
)) }), n2 = ({
|
|
7718
7735
|
transcript: e,
|
|
7719
7736
|
isLoading: t,
|
|
7720
7737
|
className: i = "",
|
|
@@ -7741,8 +7758,8 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7741
7758
|
/* @__PURE__ */ c("div", { className: "iw-h-px iw-w-full iw-border-t iw-border-dashed iw-border-gray-300" })
|
|
7742
7759
|
] }),
|
|
7743
7760
|
/* @__PURE__ */ m("div", { className: "iw-flex-1 iw-overflow-y-auto iw-pr-2 iw-space-y-6 iw-scrollbar-thin iw-max-w-xl iw-pb-5", children: [
|
|
7744
|
-
t ? /* @__PURE__ */ c(
|
|
7745
|
-
|
|
7761
|
+
t ? /* @__PURE__ */ c(r2, {}) : e == null ? void 0 : e.map((d, u) => /* @__PURE__ */ c(
|
|
7762
|
+
i2,
|
|
7746
7763
|
{
|
|
7747
7764
|
item: d,
|
|
7748
7765
|
index: u,
|
|
@@ -7760,7 +7777,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7760
7777
|
] })
|
|
7761
7778
|
]
|
|
7762
7779
|
}
|
|
7763
|
-
),
|
|
7780
|
+
), o2 = ({
|
|
7764
7781
|
interviewId: e,
|
|
7765
7782
|
className: t = "",
|
|
7766
7783
|
currentQuestion: i,
|
|
@@ -7812,7 +7829,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7812
7829
|
answer_submitted_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
7813
7830
|
} : b));
|
|
7814
7831
|
}, [r, o]), /* @__PURE__ */ c(
|
|
7815
|
-
|
|
7832
|
+
n2,
|
|
7816
7833
|
{
|
|
7817
7834
|
transcript: u,
|
|
7818
7835
|
isLoading: w || (u == null ? void 0 : u.length) === 0,
|
|
@@ -7826,7 +7843,7 @@ const fa = new O2(), B2 = (e = {}) => {
|
|
|
7826
7843
|
}
|
|
7827
7844
|
);
|
|
7828
7845
|
}, Ln = 5, Mn = 5;
|
|
7829
|
-
function
|
|
7846
|
+
function s2({
|
|
7830
7847
|
isOpen: e,
|
|
7831
7848
|
onClose: t,
|
|
7832
7849
|
warningCount: i,
|
|
@@ -7904,7 +7921,7 @@ function ah({
|
|
|
7904
7921
|
}
|
|
7905
7922
|
);
|
|
7906
7923
|
}
|
|
7907
|
-
const
|
|
7924
|
+
const a2 = (e) => /* @__PURE__ */ m(
|
|
7908
7925
|
"svg",
|
|
7909
7926
|
{
|
|
7910
7927
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8021,7 +8038,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8021
8038
|
}
|
|
8022
8039
|
);
|
|
8023
8040
|
return jl(d, document.body);
|
|
8024
|
-
},
|
|
8041
|
+
}, c2 = ({
|
|
8025
8042
|
showHardReloadWarning: e,
|
|
8026
8043
|
onContinue: t
|
|
8027
8044
|
}) => {
|
|
@@ -8050,7 +8067,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8050
8067
|
onClick: i,
|
|
8051
8068
|
className: "iw-w-full iw-flex iw-items-center iw-justify-center iw-gap-2 iw-px-4 iw-py-3 iw-bg-gray-100 iw-text-gray-600 iw-rounded-md iw-font-medium iw-transition-colors hover:iw-bg-gray-200 focus:iw-outline-none focus:iw-ring-2 focus:iw-ring-gray-400 focus:iw-ring-offset-2",
|
|
8052
8069
|
children: [
|
|
8053
|
-
/* @__PURE__ */ c(
|
|
8070
|
+
/* @__PURE__ */ c(a2, { className: "iw-size-4" }),
|
|
8054
8071
|
"Continue Session"
|
|
8055
8072
|
]
|
|
8056
8073
|
}
|
|
@@ -8058,7 +8075,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8058
8075
|
]
|
|
8059
8076
|
}
|
|
8060
8077
|
);
|
|
8061
|
-
}, Ll = to(null),
|
|
8078
|
+
}, Ll = to(null), l2 = () => {
|
|
8062
8079
|
const e = Si(Ll);
|
|
8063
8080
|
return e || {
|
|
8064
8081
|
violationCount: 0,
|
|
@@ -8071,14 +8088,14 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8071
8088
|
handleDisqualify: () => {
|
|
8072
8089
|
}
|
|
8073
8090
|
};
|
|
8074
|
-
},
|
|
8091
|
+
}, u2 = ba(
|
|
8075
8092
|
({ children: e, onDisqualify: t, isCompleted: i }, r) => {
|
|
8076
|
-
const [n, o] = T(!1), [s, a] = T(!1), [l, d] = T(!1), [u, h] = T("fullscreen_exit"), { logViolation: w, violationCount: f } =
|
|
8093
|
+
const [n, o] = T(!1), [s, a] = T(!1), [l, d] = T(!1), [u, h] = T("fullscreen_exit"), { logViolation: w, violationCount: f } = Bh({
|
|
8077
8094
|
maxViolations: 5,
|
|
8078
8095
|
onViolation: (v) => {
|
|
8079
8096
|
!s && !i && !l && (o(!0), h(v.type));
|
|
8080
8097
|
}
|
|
8081
|
-
}), { enterFullScreen: g, isFullScreen: y, exitFullScreen: b } =
|
|
8098
|
+
}), { enterFullScreen: g, isFullScreen: y, exitFullScreen: b } = Ch({
|
|
8082
8099
|
onFullScreenChange(v) {
|
|
8083
8100
|
!v && !s && !l && !i && (o(!0), w({
|
|
8084
8101
|
type: "fullscreen_exit",
|
|
@@ -8105,7 +8122,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8105
8122
|
}
|
|
8106
8123
|
}),
|
|
8107
8124
|
[]
|
|
8108
|
-
),
|
|
8125
|
+
), Rh(w), Ih(w), Lh(), Uh(), O(() => {
|
|
8109
8126
|
const v = (x) => {
|
|
8110
8127
|
if (!(s || l || i))
|
|
8111
8128
|
return x.preventDefault(), x.returnValue = void 0, "";
|
|
@@ -8133,7 +8150,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8133
8150
|
children: [
|
|
8134
8151
|
/* @__PURE__ */ c("div", { className: "iw-relative iw-h-full iw-w-full", children: e }),
|
|
8135
8152
|
!y && f > 0 && !s && !l && /* @__PURE__ */ c(
|
|
8136
|
-
|
|
8153
|
+
c2,
|
|
8137
8154
|
{
|
|
8138
8155
|
showHardReloadWarning: !0,
|
|
8139
8156
|
logViolation: w,
|
|
@@ -8144,7 +8161,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8144
8161
|
}
|
|
8145
8162
|
);
|
|
8146
8163
|
}
|
|
8147
|
-
),
|
|
8164
|
+
), d2 = ({
|
|
8148
8165
|
onClick: e,
|
|
8149
8166
|
text: t = "Submit response",
|
|
8150
8167
|
disabled: i = !1,
|
|
@@ -8176,7 +8193,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8176
8193
|
]
|
|
8177
8194
|
}
|
|
8178
8195
|
)
|
|
8179
|
-
] })),
|
|
8196
|
+
] })), h2 = ({
|
|
8180
8197
|
brandName: e,
|
|
8181
8198
|
brandLogo: t,
|
|
8182
8199
|
currentQuestion: i,
|
|
@@ -8199,7 +8216,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8199
8216
|
violationType: p,
|
|
8200
8217
|
handleClose: v,
|
|
8201
8218
|
handleDisqualify: x
|
|
8202
|
-
} =
|
|
8219
|
+
} = l2();
|
|
8203
8220
|
return /* @__PURE__ */ m(
|
|
8204
8221
|
"div",
|
|
8205
8222
|
{
|
|
@@ -8207,7 +8224,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8207
8224
|
children: [
|
|
8208
8225
|
/* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-flex-1 iw-p-5 iw-bg-white/50 iw-border iw-border-[#E8EEFE] iw-rounded-s-3xl iw-overflow-hidden", children: [
|
|
8209
8226
|
/* @__PURE__ */ c("div", { className: "iw-flex iw-items-start iw-justify-between iw-gap-3 iw-mb-4", children: /* @__PURE__ */ c("div", { className: "iw-flex-1", children: /* @__PURE__ */ c(
|
|
8210
|
-
|
|
8227
|
+
Hh,
|
|
8211
8228
|
{
|
|
8212
8229
|
question: i,
|
|
8213
8230
|
isLoading: n === $.FETCHING_QUESTION || n === $.IDLE,
|
|
@@ -8228,7 +8245,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8228
8245
|
}
|
|
8229
8246
|
),
|
|
8230
8247
|
/* @__PURE__ */ c(
|
|
8231
|
-
|
|
8248
|
+
s2,
|
|
8232
8249
|
{
|
|
8233
8250
|
isOpen: y,
|
|
8234
8251
|
warningCount: b,
|
|
@@ -8240,7 +8257,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8240
8257
|
] })
|
|
8241
8258
|
] }),
|
|
8242
8259
|
/* @__PURE__ */ c("div", { className: "iw-interview-transcription iw-w-1/4 iw-min-w-32 iw-h-full", children: /* @__PURE__ */ c(
|
|
8243
|
-
|
|
8260
|
+
o2,
|
|
8244
8261
|
{
|
|
8245
8262
|
interviewId: s,
|
|
8246
8263
|
currentQuestion: i,
|
|
@@ -8253,7 +8270,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8253
8270
|
}
|
|
8254
8271
|
) }),
|
|
8255
8272
|
u && (n === $.ANSWERING || n === $.EDITING) && /* @__PURE__ */ c(
|
|
8256
|
-
|
|
8273
|
+
d2,
|
|
8257
8274
|
{
|
|
8258
8275
|
onClick: u,
|
|
8259
8276
|
disabled: g,
|
|
@@ -8264,7 +8281,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8264
8281
|
]
|
|
8265
8282
|
}
|
|
8266
8283
|
);
|
|
8267
|
-
},
|
|
8284
|
+
}, w2 = ({
|
|
8268
8285
|
confirmExitInterview: e,
|
|
8269
8286
|
isOpen: t,
|
|
8270
8287
|
onClose: i
|
|
@@ -8302,7 +8319,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8302
8319
|
] })
|
|
8303
8320
|
]
|
|
8304
8321
|
}
|
|
8305
|
-
),
|
|
8322
|
+
), f2 = ({
|
|
8306
8323
|
title: e,
|
|
8307
8324
|
brandName: t,
|
|
8308
8325
|
brandLogo: i,
|
|
@@ -8349,7 +8366,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8349
8366
|
] }), {}),
|
|
8350
8367
|
/* @__PURE__ */ c("div", { className: "iw-h-px iw-bg-gray-200" }),
|
|
8351
8368
|
/* @__PURE__ */ c(
|
|
8352
|
-
|
|
8369
|
+
w2,
|
|
8353
8370
|
{
|
|
8354
8371
|
isOpen: s,
|
|
8355
8372
|
confirmExitInterview: () => {
|
|
@@ -8359,7 +8376,7 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8359
8376
|
}
|
|
8360
8377
|
)
|
|
8361
8378
|
] });
|
|
8362
|
-
},
|
|
8379
|
+
}, m2 = ({
|
|
8363
8380
|
className: e = "",
|
|
8364
8381
|
width: t,
|
|
8365
8382
|
height: i = 56,
|
|
@@ -8373,13 +8390,13 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8373
8390
|
const { baseColor: d } = Ii(), u = D(null), h = D(null), w = D(null), f = D(null), g = D(null), y = D(null), b = D(!1), [p, v] = T(null);
|
|
8374
8391
|
O(() => {
|
|
8375
8392
|
if (t || !h.current) return;
|
|
8376
|
-
const E = h.current,
|
|
8393
|
+
const E = h.current, N = () => {
|
|
8377
8394
|
const V = u.current;
|
|
8378
8395
|
if (!V) return;
|
|
8379
|
-
const
|
|
8380
|
-
V.width = Math.max(1, Math.floor(
|
|
8381
|
-
}, k = new ResizeObserver(
|
|
8382
|
-
return k.observe(E),
|
|
8396
|
+
const C = E.clientWidth, A = i;
|
|
8397
|
+
V.width = Math.max(1, Math.floor(C * window.devicePixelRatio || 1)), V.height = Math.max(1, Math.floor(A * window.devicePixelRatio || 1));
|
|
8398
|
+
}, k = new ResizeObserver(N);
|
|
8399
|
+
return k.observe(E), N(), () => k.disconnect();
|
|
8383
8400
|
}, [t, i]), O(() => {
|
|
8384
8401
|
if (!t) return;
|
|
8385
8402
|
const E = u.current;
|
|
@@ -8405,15 +8422,15 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8405
8422
|
}), b.current = !0;
|
|
8406
8423
|
}
|
|
8407
8424
|
if (E) return;
|
|
8408
|
-
const
|
|
8409
|
-
|
|
8425
|
+
const C = k.createAnalyser();
|
|
8426
|
+
C.fftSize = o, C.smoothingTimeConstant = s, f.current = C;
|
|
8410
8427
|
const A = k.createMediaStreamSource(V);
|
|
8411
|
-
g.current = A, A.connect(
|
|
8428
|
+
g.current = A, A.connect(C), x();
|
|
8412
8429
|
} catch (k) {
|
|
8413
8430
|
v((k == null ? void 0 : k.message) || "Failed to initialize microphone");
|
|
8414
8431
|
}
|
|
8415
8432
|
})(), () => {
|
|
8416
|
-
var k, V,
|
|
8433
|
+
var k, V, C, A;
|
|
8417
8434
|
E = !0, y.current && cancelAnimationFrame(y.current);
|
|
8418
8435
|
try {
|
|
8419
8436
|
(k = g.current) == null || k.disconnect();
|
|
@@ -8423,22 +8440,22 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8423
8440
|
(V = f.current) == null || V.disconnect();
|
|
8424
8441
|
} catch {
|
|
8425
8442
|
}
|
|
8426
|
-
b.current && ((A = ((
|
|
8443
|
+
b.current && ((A = ((C = g.current) == null ? void 0 : C.mediaStream) || void 0) == null || A.getTracks().forEach((U) => U.stop())), w.current && w.current.state !== "closed" && w.current.close();
|
|
8427
8444
|
};
|
|
8428
8445
|
}, [a, o, s, l]);
|
|
8429
8446
|
const x = () => {
|
|
8430
|
-
const E = u.current,
|
|
8431
|
-
if (!E || !
|
|
8447
|
+
const E = u.current, N = f.current;
|
|
8448
|
+
if (!E || !N) return;
|
|
8432
8449
|
const k = E.getContext("2d");
|
|
8433
8450
|
if (!k) return;
|
|
8434
|
-
const V = window.devicePixelRatio || 1,
|
|
8435
|
-
y.current = requestAnimationFrame(z),
|
|
8436
|
-
const X = Math.max(1, Math.floor(r * V)), P = Math.max(1, Math.floor(n * V)), B = X + P, ee = Math.max(8, Math.floor((
|
|
8451
|
+
const V = window.devicePixelRatio || 1, C = E.width, A = E.height, U = N.frequencyBinCount, j = new Uint8Array(U), z = () => {
|
|
8452
|
+
y.current = requestAnimationFrame(z), N.getByteTimeDomainData(j), k.clearRect(0, 0, C, A), k.fillStyle = "rgba(0,0,0,0)", k.fillRect(0, 0, C, A);
|
|
8453
|
+
const X = Math.max(1, Math.floor(r * V)), P = Math.max(1, Math.floor(n * V)), B = X + P, ee = Math.max(8, Math.floor((C + P) / B)), be = Math.floor(j.length / ee);
|
|
8437
8454
|
for (let Me = 0; Me < ee; Me++) {
|
|
8438
8455
|
const st = Math.min(j.length - 1, Me * be), Ke = j[st] / 128 - 1, De = Math.abs(Ke), at = Math.pow(De, 0.6), At = Math.max(A * 0.06, at * (A * 0.9)), ni = Me * B, oi = (A - At) / 2, si = 140 - Math.min(140, 140 * De), ai = 85, ci = 48 + Math.floor(12 * (1 - De));
|
|
8439
8456
|
k.fillStyle = `${d}`, k.shadowColor = `hsla(${si}, ${ai}%, ${ci}%, ${0.25 * De})`, k.shadowBlur = 8 * De;
|
|
8440
8457
|
const Ut = Math.min(X / 2, At / 2);
|
|
8441
|
-
|
|
8458
|
+
g2(k, ni, oi, X, At, Ut), k.fill();
|
|
8442
8459
|
}
|
|
8443
8460
|
};
|
|
8444
8461
|
z();
|
|
@@ -8456,11 +8473,11 @@ const ch = (e) => /* @__PURE__ */ m(
|
|
|
8456
8473
|
}
|
|
8457
8474
|
);
|
|
8458
8475
|
};
|
|
8459
|
-
function
|
|
8476
|
+
function g2(e, t, i, r, n, o) {
|
|
8460
8477
|
const s = Math.min(o, r / 2, n / 2);
|
|
8461
8478
|
e.beginPath(), e.moveTo(t + s, i), e.lineTo(t + r - s, i), e.quadraticCurveTo(t + r, i, t + r, i + s), e.lineTo(t + r, i + n - s), e.quadraticCurveTo(t + r, i + n, t + r - s, i + n), e.lineTo(t + s, i + n), e.quadraticCurveTo(t, i + n, t, i + n - s), e.lineTo(t, i + s), e.quadraticCurveTo(t, i, t + s, i), e.closePath();
|
|
8462
8479
|
}
|
|
8463
|
-
const
|
|
8480
|
+
const p2 = ({
|
|
8464
8481
|
state: e,
|
|
8465
8482
|
answeringTime: t,
|
|
8466
8483
|
nextPhase: i,
|
|
@@ -8489,7 +8506,7 @@ const yh = ({
|
|
|
8489
8506
|
/* @__PURE__ */ c("p", { className: "iw-max-w-lg iw-text-gray-500 iw-text-xs iw-leading-[21px]", children: "Done talking? Click the button to review your answer." })
|
|
8490
8507
|
] }),
|
|
8491
8508
|
/* @__PURE__ */ m("div", { children: [
|
|
8492
|
-
/* @__PURE__ */ c(
|
|
8509
|
+
/* @__PURE__ */ c(m2, {}),
|
|
8493
8510
|
r && /* @__PURE__ */ m("div", { className: "iw-mt-2 iw-text-xs iw-text-red-600", children: [
|
|
8494
8511
|
"Recording error: ",
|
|
8495
8512
|
r.message
|
|
@@ -8506,7 +8523,7 @@ const yh = ({
|
|
|
8506
8523
|
}
|
|
8507
8524
|
) })
|
|
8508
8525
|
] });
|
|
8509
|
-
function
|
|
8526
|
+
function y2() {
|
|
8510
8527
|
const [e, t] = T(!0), i = ar(
|
|
8511
8528
|
() => [0, 1, 2].map((r) => ({ id: r })),
|
|
8512
8529
|
[]
|
|
@@ -8544,7 +8561,7 @@ function bh() {
|
|
|
8544
8561
|
/* @__PURE__ */ c("div", { className: "iw-text-center", children: /* @__PURE__ */ c("p", { className: "iw-text-gray-500 iw-font-medium", children: "Preparing your question..." }) })
|
|
8545
8562
|
] });
|
|
8546
8563
|
}
|
|
8547
|
-
const
|
|
8564
|
+
const b2 = ({
|
|
8548
8565
|
size: e = "192px",
|
|
8549
8566
|
className: t,
|
|
8550
8567
|
colors: i,
|
|
@@ -8686,9 +8703,9 @@ const vh = ({
|
|
|
8686
8703
|
}
|
|
8687
8704
|
);
|
|
8688
8705
|
};
|
|
8689
|
-
function
|
|
8706
|
+
function v2({ ttsError: e }) {
|
|
8690
8707
|
return /* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-items-center iw-justify-center iw-gap-8 iw-w-full iw-h-full", children: [
|
|
8691
|
-
/* @__PURE__ */ c(
|
|
8708
|
+
/* @__PURE__ */ c(b2, { size: "80px" }),
|
|
8692
8709
|
e && /* @__PURE__ */ m("div", { className: "iw-mt-2 iw-text-xs iw-text-red-600", children: [
|
|
8693
8710
|
"Audio playback failed: ",
|
|
8694
8711
|
e.message
|
|
@@ -8696,7 +8713,7 @@ function xh({ ttsError: e }) {
|
|
|
8696
8713
|
/* @__PURE__ */ c("p", { className: "iw-text- iw-text-gray-700", children: "Your AI interviewer is speaking..." })
|
|
8697
8714
|
] });
|
|
8698
8715
|
}
|
|
8699
|
-
const
|
|
8716
|
+
const x2 = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-gap-6 iw-items-center iw-justify-center iw-text-center iw-h-full ", children: [
|
|
8700
8717
|
/* @__PURE__ */ m("div", { children: [
|
|
8701
8718
|
/* @__PURE__ */ c("h3", { className: "iw-text-lg iw-font-semibold iw-text-gray-900 iw-mb-1", children: "Get Ready to Answer" }),
|
|
8702
8719
|
/* @__PURE__ */ c("p", { className: "iw-max-w-lg iw-text-gray-500 iw-text-xs iw-leading-[21px]", children: "After 30-seconds thinking time, recording will start automatically, or you can begin recording early by clicking the button below." })
|
|
@@ -8725,7 +8742,7 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
8725
8742
|
children: "Start Answering"
|
|
8726
8743
|
}
|
|
8727
8744
|
) })
|
|
8728
|
-
] }),
|
|
8745
|
+
] }), E2 = ({
|
|
8729
8746
|
sttError: e,
|
|
8730
8747
|
editingDuration: t
|
|
8731
8748
|
}) => /* @__PURE__ */ m("div", { className: "iw-flex iw-flex-col iw-items-center iw-justify-center iw-h-full", children: [
|
|
@@ -8773,7 +8790,7 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
8773
8790
|
e.message,
|
|
8774
8791
|
e.recoverable && " (attempting to continue)"
|
|
8775
8792
|
] })
|
|
8776
|
-
] }),
|
|
8793
|
+
] }), _2 = ({
|
|
8777
8794
|
interviewTitle: e,
|
|
8778
8795
|
brandName: t = "Novara",
|
|
8779
8796
|
brandLogo: i,
|
|
@@ -8784,9 +8801,9 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
8784
8801
|
videoFeedRef: a
|
|
8785
8802
|
}) => {
|
|
8786
8803
|
var Yi, Ar;
|
|
8787
|
-
const l = ns(), { baseUrl: d, authToken: u } = Aa(), { timers: h, stt: w, proctoring: f } = qr(), g = D(null), [y, b] = T(null), [p, v] = T(""), [x, E] = T(null), [
|
|
8804
|
+
const l = ns(), { baseUrl: d, authToken: u } = Aa(), { timers: h, stt: w, proctoring: f } = qr(), g = D(null), [y, b] = T(null), [p, v] = T(""), [x, E] = T(null), [N, k] = T(
|
|
8788
8805
|
Wr
|
|
8789
|
-
), [V,
|
|
8806
|
+
), [V, C] = T(!0), A = D(""), U = D(null), j = {
|
|
8790
8807
|
thinkingTime: (h == null ? void 0 : h.thinkingDuration) || 0,
|
|
8791
8808
|
// TODO: Use this to use the estimated answer duration from response
|
|
8792
8809
|
// answeringTime:
|
|
@@ -8803,7 +8820,7 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
8803
8820
|
speak: Me,
|
|
8804
8821
|
stop: st,
|
|
8805
8822
|
error: Ke
|
|
8806
|
-
} =
|
|
8823
|
+
} = Oh({
|
|
8807
8824
|
onEnd: () => {
|
|
8808
8825
|
be.current = !1, ae();
|
|
8809
8826
|
},
|
|
@@ -8818,7 +8835,7 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
8818
8835
|
isRecording: ai,
|
|
8819
8836
|
error: ci,
|
|
8820
8837
|
audioBlob: Ut
|
|
8821
|
-
} =
|
|
8838
|
+
} = Fh({
|
|
8822
8839
|
config: {
|
|
8823
8840
|
baseUrl: d,
|
|
8824
8841
|
provider: w == null ? void 0 : w.provider,
|
|
@@ -8840,7 +8857,7 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
8840
8857
|
onError: (G) => {
|
|
8841
8858
|
console.error("STT Error:", G), De.current || (De.current = !0, ae());
|
|
8842
8859
|
}
|
|
8843
|
-
}), { state: Ie, startQuestion: Tt, nextPhase: ae, completeInterview: $i, timerService: li } =
|
|
8860
|
+
}), { state: Ie, startQuestion: Tt, nextPhase: ae, completeInterview: $i, timerService: li } = Dh({
|
|
8844
8861
|
config: {
|
|
8845
8862
|
// thinkingDuration: thinkingTime,
|
|
8846
8863
|
answeringDuration: X,
|
|
@@ -8877,7 +8894,7 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
8877
8894
|
(async () => {
|
|
8878
8895
|
try {
|
|
8879
8896
|
const W = await l.getInterviewConfig(r);
|
|
8880
|
-
if (W != null && W.data && (W.data.duration_in_minutes && k(W.data.duration_in_minutes), typeof W.data.allow_answer_editing == "boolean" &&
|
|
8897
|
+
if (W != null && W.data && (W.data.duration_in_minutes && k(W.data.duration_in_minutes), typeof W.data.allow_answer_editing == "boolean" && C(W.data.allow_answer_editing), typeof W.data.elapsed_time_in_minutes == "number")) {
|
|
8881
8898
|
const Ye = Math.floor(
|
|
8882
8899
|
W.data.elapsed_time_in_minutes * 60
|
|
8883
8900
|
);
|
|
@@ -8888,7 +8905,7 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
8888
8905
|
}
|
|
8889
8906
|
})();
|
|
8890
8907
|
}, [r, li]);
|
|
8891
|
-
const { execute: Vt, error: ui } =
|
|
8908
|
+
const { execute: Vt, error: ui } = Nh(
|
|
8892
8909
|
async () => {
|
|
8893
8910
|
const G = await l.generateQuestion({
|
|
8894
8911
|
interviewId: r
|
|
@@ -9010,12 +9027,12 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
9010
9027
|
children: "Retry"
|
|
9011
9028
|
}
|
|
9012
9029
|
)
|
|
9013
|
-
] }) : /* @__PURE__ */ c(
|
|
9030
|
+
] }) : /* @__PURE__ */ c(y2, {});
|
|
9014
9031
|
case $.READING_QUESTION:
|
|
9015
|
-
return /* @__PURE__ */ c(
|
|
9032
|
+
return /* @__PURE__ */ c(v2, { ttsError: Ke });
|
|
9016
9033
|
case $.THINKING:
|
|
9017
9034
|
return /* @__PURE__ */ c(
|
|
9018
|
-
|
|
9035
|
+
x2,
|
|
9019
9036
|
{
|
|
9020
9037
|
state: Ie,
|
|
9021
9038
|
thinkingTime: z,
|
|
@@ -9024,7 +9041,7 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
9024
9041
|
);
|
|
9025
9042
|
case $.ANSWERING:
|
|
9026
9043
|
return /* @__PURE__ */ c(
|
|
9027
|
-
|
|
9044
|
+
p2,
|
|
9028
9045
|
{
|
|
9029
9046
|
state: Ie,
|
|
9030
9047
|
answeringTime: X,
|
|
@@ -9035,7 +9052,7 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
9035
9052
|
);
|
|
9036
9053
|
case $.TRANSCRIBING:
|
|
9037
9054
|
return /* @__PURE__ */ c(
|
|
9038
|
-
|
|
9055
|
+
E2,
|
|
9039
9056
|
{
|
|
9040
9057
|
sttError: ci,
|
|
9041
9058
|
editingDuration: P
|
|
@@ -9051,18 +9068,18 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
9051
9068
|
}
|
|
9052
9069
|
}, Ki = /* @__PURE__ */ m(bt, { children: [
|
|
9053
9070
|
/* @__PURE__ */ c(
|
|
9054
|
-
|
|
9071
|
+
f2,
|
|
9055
9072
|
{
|
|
9056
9073
|
title: e,
|
|
9057
9074
|
brandName: t,
|
|
9058
9075
|
brandLogo: i,
|
|
9059
|
-
totalDuration:
|
|
9076
|
+
totalDuration: N,
|
|
9060
9077
|
elapsedTime: Ie.totalTimeElapsed,
|
|
9061
9078
|
onExit: () => kr()
|
|
9062
9079
|
}
|
|
9063
9080
|
),
|
|
9064
9081
|
/* @__PURE__ */ c(
|
|
9065
|
-
|
|
9082
|
+
h2,
|
|
9066
9083
|
{
|
|
9067
9084
|
brandName: t,
|
|
9068
9085
|
brandLogo: i,
|
|
@@ -9071,7 +9088,7 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
9071
9088
|
phase: Ie.phase,
|
|
9072
9089
|
className: s,
|
|
9073
9090
|
interviewId: r,
|
|
9074
|
-
interview_duration:
|
|
9091
|
+
interview_duration: N,
|
|
9075
9092
|
videoFeedRef: a,
|
|
9076
9093
|
lastSubmittedAnswer: x,
|
|
9077
9094
|
onNextPhase: Ie.phase === $.ANSWERING ? Hi : ae,
|
|
@@ -9087,7 +9104,7 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
9087
9104
|
)
|
|
9088
9105
|
] });
|
|
9089
9106
|
return /* @__PURE__ */ c(bt, { children: f != null && f.enabled ? /* @__PURE__ */ c(
|
|
9090
|
-
|
|
9107
|
+
u2,
|
|
9091
9108
|
{
|
|
9092
9109
|
ref: g,
|
|
9093
9110
|
onDisqualify: () => kr(o),
|
|
@@ -9095,7 +9112,7 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
9095
9112
|
children: Ki
|
|
9096
9113
|
}
|
|
9097
9114
|
) : Ki });
|
|
9098
|
-
},
|
|
9115
|
+
}, k2 = ({
|
|
9099
9116
|
title: e,
|
|
9100
9117
|
brandName: t,
|
|
9101
9118
|
brandLogo: i,
|
|
@@ -9120,7 +9137,7 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
9120
9137
|
ref: g,
|
|
9121
9138
|
className: `iw-flex iw-flex-col iw-rounded-xl iw-shadow-lg iw-overflow-hidden iw-h-[calc(100vh-1rem)] ${s}`,
|
|
9122
9139
|
children: /* @__PURE__ */ c("div", { className: "iw-h-[calc(100vh-1rem)] iw-flex iw-flex-col iw-justify-between gap-1", children: /* @__PURE__ */ c(
|
|
9123
|
-
|
|
9140
|
+
_2,
|
|
9124
9141
|
{
|
|
9125
9142
|
interviewTitle: e ?? "Interview",
|
|
9126
9143
|
brandName: t ?? "Novara",
|
|
@@ -9140,7 +9157,7 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
9140
9157
|
/* @__PURE__ */ c("p", { className: "iw-text-xl iw-font-semibold", children: t })
|
|
9141
9158
|
] }),
|
|
9142
9159
|
/* @__PURE__ */ c(
|
|
9143
|
-
|
|
9160
|
+
Wh,
|
|
9144
9161
|
{
|
|
9145
9162
|
isOpen: d,
|
|
9146
9163
|
gazeEnabled: b,
|
|
@@ -9153,11 +9170,11 @@ const Eh = ({ state: e, thinkingTime: t, nextPhase: i }) => /* @__PURE__ */ m("d
|
|
|
9153
9170
|
] });
|
|
9154
9171
|
};
|
|
9155
9172
|
typeof window < "u" && (window.InterviewWidget = {
|
|
9156
|
-
InterviewWidget:
|
|
9173
|
+
InterviewWidget: k2,
|
|
9157
9174
|
InterviewWidgetProvider: tu
|
|
9158
9175
|
});
|
|
9159
9176
|
export {
|
|
9160
|
-
|
|
9177
|
+
k2 as InterviewWidget,
|
|
9161
9178
|
tu as InterviewWidgetProvider,
|
|
9162
|
-
|
|
9179
|
+
k2 as default
|
|
9163
9180
|
};
|