interview-widget 2.0.0 → 2.0.1
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/README.md +364 -364
- package/dist/services/api/endpoints.d.ts +1 -0
- package/dist/services/api/interview-api.d.ts +4 -0
- package/dist/widget.es.js +575 -560
- package/dist/widget.umd.js +7 -7
- package/package.json +66 -66
package/dist/widget.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Ie = (e, t, r) =>
|
|
4
|
-
import
|
|
5
|
-
import { createPortal as
|
|
6
|
-
var
|
|
1
|
+
var Fl = Object.defineProperty;
|
|
2
|
+
var Pl = (e, t, r) => t in e ? Fl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var Ie = (e, t, r) => Pl(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
+
import Dl, { createContext as wa, useContext as Jr, useSyncExternalStore as Vn, useRef as M, useCallback as T, useMemo as zr, useEffect as O, useState as A, forwardRef as ma, useImperativeHandle as ga } from "react";
|
|
5
|
+
import { createPortal as Ol } from "react-dom";
|
|
6
|
+
var pa = { exports: {} }, ki = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.js
|
|
@@ -13,8 +13,8 @@ var xa = { exports: {} }, ki = {};
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
var
|
|
17
|
-
function
|
|
16
|
+
var Bl = Symbol.for("react.transitional.element"), Ul = Symbol.for("react.fragment");
|
|
17
|
+
function xa(e, t, r) {
|
|
18
18
|
var i = null;
|
|
19
19
|
if (r !== void 0 && (i = "" + r), t.key !== void 0 && (i = "" + t.key), "key" in t) {
|
|
20
20
|
r = {};
|
|
@@ -22,18 +22,18 @@ function ya(e, t, r) {
|
|
|
22
22
|
n !== "key" && (r[n] = t[n]);
|
|
23
23
|
} else r = t;
|
|
24
24
|
return t = r.ref, {
|
|
25
|
-
$$typeof:
|
|
25
|
+
$$typeof: Bl,
|
|
26
26
|
type: e,
|
|
27
27
|
key: i,
|
|
28
28
|
ref: t !== void 0 ? t : null,
|
|
29
29
|
props: r
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
ki.Fragment =
|
|
33
|
-
ki.jsx =
|
|
34
|
-
ki.jsxs =
|
|
35
|
-
|
|
36
|
-
var o =
|
|
32
|
+
ki.Fragment = Ul;
|
|
33
|
+
ki.jsx = xa;
|
|
34
|
+
ki.jsxs = xa;
|
|
35
|
+
pa.exports = ki;
|
|
36
|
+
var o = pa.exports;
|
|
37
37
|
const sn = {}, ut = {
|
|
38
38
|
api: {
|
|
39
39
|
baseUrl: "/api",
|
|
@@ -67,26 +67,26 @@ const sn = {}, ut = {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
}, $n = "iw-storage";
|
|
70
|
-
function
|
|
70
|
+
function Gl() {
|
|
71
71
|
if (!(typeof import.meta < "u" && (sn != null && sn.VITE_IW_SECRET)))
|
|
72
72
|
return typeof process < "u" && process.env.NEXT_PUBLIC_IW_SECRET ? process.env.NEXT_PUBLIC_IW_SECRET : typeof window < "u" && window.__IW_SECRET__ ? window.__IW_SECRET__ : "proctoring-data-seed";
|
|
73
73
|
}
|
|
74
|
-
const
|
|
74
|
+
const ya = Gl(), Ei = 30, Vl = {
|
|
75
75
|
SCREENSHOT: "screenshot"
|
|
76
76
|
}, Wn = "AES-GCM", bn = 12;
|
|
77
|
-
async function
|
|
77
|
+
async function ba(e) {
|
|
78
78
|
const r = new TextEncoder().encode(e), i = await crypto.subtle.digest("SHA-256", r);
|
|
79
79
|
return crypto.subtle.importKey("raw", i, Wn, !1, [
|
|
80
80
|
"encrypt",
|
|
81
81
|
"decrypt"
|
|
82
82
|
]);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function $l() {
|
|
85
85
|
return crypto.getRandomValues(new Uint8Array(bn));
|
|
86
86
|
}
|
|
87
|
-
async function
|
|
87
|
+
async function Wl(e, t = "default-seed") {
|
|
88
88
|
try {
|
|
89
|
-
const r = typeof e == "string" ? e : JSON.stringify(e), n = new TextEncoder().encode(r), s = await
|
|
89
|
+
const r = typeof e == "string" ? e : JSON.stringify(e), n = new TextEncoder().encode(r), s = await ba(t), a = $l(), c = await crypto.subtle.encrypt(
|
|
90
90
|
{ name: Wn, iv: a },
|
|
91
91
|
s,
|
|
92
92
|
n
|
|
@@ -96,12 +96,12 @@ async function zl(e, t = "default-seed") {
|
|
|
96
96
|
throw console.error("Encryption failed:", r), new Error("Failed to encrypt data");
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
async function
|
|
99
|
+
async function zl(e, t = "default-seed") {
|
|
100
100
|
try {
|
|
101
101
|
const r = atob(e), i = new Uint8Array(r.length);
|
|
102
102
|
for (let u = 0; u < r.length; u++)
|
|
103
103
|
i[u] = r.charCodeAt(u);
|
|
104
|
-
const n = i.slice(0, bn), s = i.slice(bn), a = await
|
|
104
|
+
const n = i.slice(0, bn), s = i.slice(bn), a = await ba(t), c = await crypto.subtle.decrypt(
|
|
105
105
|
{ name: Wn, iv: n },
|
|
106
106
|
a,
|
|
107
107
|
s
|
|
@@ -111,22 +111,22 @@ async function Hl(e, t = "default-seed") {
|
|
|
111
111
|
throw console.error("Decryption failed:", r), new Error("Failed to decrypt data");
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
async function
|
|
115
|
-
return
|
|
114
|
+
async function Hl(e, t = "default-seed") {
|
|
115
|
+
return Wl(e, t);
|
|
116
116
|
}
|
|
117
|
-
async function
|
|
118
|
-
const r = await
|
|
117
|
+
async function ql(e, t = "default-seed") {
|
|
118
|
+
const r = await zl(e, t);
|
|
119
119
|
try {
|
|
120
120
|
return JSON.parse(r);
|
|
121
121
|
} catch {
|
|
122
122
|
return r;
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
const Zr =
|
|
125
|
+
const Zr = wa(null), Yl = async () => {
|
|
126
126
|
try {
|
|
127
127
|
const e = sessionStorage.getItem($n);
|
|
128
128
|
if (e) {
|
|
129
|
-
const r = (await
|
|
129
|
+
const r = (await ql(e, ya)).state;
|
|
130
130
|
return {
|
|
131
131
|
logViolations: (r == null ? void 0 : r.logViolations) || [],
|
|
132
132
|
totalViolations: (r == null ? void 0 : r.totalViolations) || 0,
|
|
@@ -165,18 +165,18 @@ const Zr = ma(null), Kl = async () => {
|
|
|
165
165
|
};
|
|
166
166
|
}, Fr = async (e) => {
|
|
167
167
|
try {
|
|
168
|
-
const t = await
|
|
168
|
+
const t = await Hl(
|
|
169
169
|
{
|
|
170
170
|
state: e,
|
|
171
171
|
version: 0
|
|
172
172
|
},
|
|
173
|
-
|
|
173
|
+
ya
|
|
174
174
|
);
|
|
175
175
|
sessionStorage.setItem($n, t);
|
|
176
176
|
} catch (t) {
|
|
177
177
|
console.error("Failed to save proctoring data to session storage:", t);
|
|
178
178
|
}
|
|
179
|
-
},
|
|
179
|
+
}, Kl = ({
|
|
180
180
|
children: e
|
|
181
181
|
}) => {
|
|
182
182
|
const t = M({
|
|
@@ -191,8 +191,8 @@ const Zr = ma(null), Kl = async () => {
|
|
|
191
191
|
referenceSet: !1,
|
|
192
192
|
referenceRef: { x: 0.5, y: 0.5, noseX: 0.5, noseY: 0.5 }
|
|
193
193
|
}), r = M(/* @__PURE__ */ new Set());
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
Dl.useEffect(() => {
|
|
195
|
+
Yl().then((f) => {
|
|
196
196
|
t.current = f, i();
|
|
197
197
|
});
|
|
198
198
|
}, []);
|
|
@@ -264,7 +264,7 @@ const Zr = ma(null), Kl = async () => {
|
|
|
264
264
|
]
|
|
265
265
|
);
|
|
266
266
|
return /* @__PURE__ */ o.jsx(Zr.Provider, { value: h, children: e });
|
|
267
|
-
},
|
|
267
|
+
}, va = () => {
|
|
268
268
|
const e = Jr(Zr);
|
|
269
269
|
if (!e)
|
|
270
270
|
throw new Error(
|
|
@@ -290,7 +290,7 @@ const Zr = ma(null), Kl = async () => {
|
|
|
290
290
|
clearGazeViolationCounters: e.clearGazeViolationCounters,
|
|
291
291
|
setReferenceData: e.setReferenceData
|
|
292
292
|
};
|
|
293
|
-
},
|
|
293
|
+
}, Xl = () => {
|
|
294
294
|
const e = Jr(Zr);
|
|
295
295
|
if (!e)
|
|
296
296
|
throw new Error("useViolations must be used within a ProctoringProvider");
|
|
@@ -299,7 +299,7 @@ const Zr = ma(null), Kl = async () => {
|
|
|
299
299
|
() => e.getState().logViolations,
|
|
300
300
|
() => e.getState().logViolations
|
|
301
301
|
);
|
|
302
|
-
},
|
|
302
|
+
}, Ql = () => {
|
|
303
303
|
const e = Jr(Zr);
|
|
304
304
|
if (!e)
|
|
305
305
|
throw new Error(
|
|
@@ -310,7 +310,7 @@ const Zr = ma(null), Kl = async () => {
|
|
|
310
310
|
() => e.getState().totalViolations,
|
|
311
311
|
() => e.getState().totalViolations
|
|
312
312
|
);
|
|
313
|
-
},
|
|
313
|
+
}, Jl = () => {
|
|
314
314
|
const e = Jr(Zr);
|
|
315
315
|
if (!e)
|
|
316
316
|
throw new Error(
|
|
@@ -320,10 +320,10 @@ const Zr = ma(null), Kl = async () => {
|
|
|
320
320
|
addViolation: e.addViolation,
|
|
321
321
|
clearViolations: e.clearViolations
|
|
322
322
|
};
|
|
323
|
-
},
|
|
323
|
+
}, _a = wa(
|
|
324
324
|
null
|
|
325
325
|
);
|
|
326
|
-
function
|
|
326
|
+
function Zl({
|
|
327
327
|
config: e = {},
|
|
328
328
|
children: t
|
|
329
329
|
}) {
|
|
@@ -358,17 +358,17 @@ function eu({
|
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
|
-
return /* @__PURE__ */ o.jsx(
|
|
361
|
+
return /* @__PURE__ */ o.jsx(_a.Provider, { value: r, children: /* @__PURE__ */ o.jsx(Kl, { children: t }) });
|
|
362
362
|
}
|
|
363
363
|
function Ai() {
|
|
364
|
-
const e = Jr(
|
|
364
|
+
const e = Jr(_a);
|
|
365
365
|
if (!e)
|
|
366
366
|
throw new Error(
|
|
367
367
|
"useInterviewConfig must be used within an InterviewWidgetProvider. Wrap your component tree with <InterviewWidgetProvider config={...}>"
|
|
368
368
|
);
|
|
369
369
|
return e;
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function ka() {
|
|
372
372
|
return Ai().api || ut.api;
|
|
373
373
|
}
|
|
374
374
|
function kr() {
|
|
@@ -377,7 +377,7 @@ function kr() {
|
|
|
377
377
|
function zn() {
|
|
378
378
|
return Ai().interview || ut.interview;
|
|
379
379
|
}
|
|
380
|
-
const
|
|
380
|
+
const Ea = ({
|
|
381
381
|
className: e,
|
|
382
382
|
...t
|
|
383
383
|
}) => /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsxs(
|
|
@@ -406,7 +406,7 @@ const Aa = ({
|
|
|
406
406
|
/* @__PURE__ */ o.jsx("path", { d: "M7.75 7.75l-2.15 -2.15" })
|
|
407
407
|
]
|
|
408
408
|
}
|
|
409
|
-
) }),
|
|
409
|
+
) }), Aa = ({
|
|
410
410
|
children: e,
|
|
411
411
|
variant: t = "primary",
|
|
412
412
|
size: r = "md",
|
|
@@ -434,13 +434,13 @@ const Aa = ({
|
|
|
434
434
|
disabled: s || n,
|
|
435
435
|
...c,
|
|
436
436
|
children: [
|
|
437
|
-
n && /* @__PURE__ */ o.jsx(
|
|
437
|
+
n && /* @__PURE__ */ o.jsx(Ea, { height: 16, width: 16, style: { marginRight: "3px" } }),
|
|
438
438
|
e
|
|
439
439
|
]
|
|
440
440
|
}
|
|
441
441
|
);
|
|
442
442
|
};
|
|
443
|
-
function
|
|
443
|
+
function eu(e) {
|
|
444
444
|
const t = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);
|
|
445
445
|
return t ? {
|
|
446
446
|
r: parseInt(t[1], 16),
|
|
@@ -448,29 +448,29 @@ function tu(e) {
|
|
|
448
448
|
b: parseInt(t[3], 16)
|
|
449
449
|
} : null;
|
|
450
450
|
}
|
|
451
|
-
function
|
|
451
|
+
function tu(e, t, r) {
|
|
452
452
|
return "#" + [e, t, r].map((i) => {
|
|
453
453
|
const n = Math.round(i).toString(16);
|
|
454
454
|
return n.length === 1 ? "0" + n : n;
|
|
455
455
|
}).join("");
|
|
456
456
|
}
|
|
457
|
-
function
|
|
458
|
-
const r =
|
|
457
|
+
function Ta(e, t) {
|
|
458
|
+
const r = eu(e);
|
|
459
459
|
if (!r) return e;
|
|
460
460
|
const i = r.r + (255 - r.r) * t, n = r.g + (255 - r.g) * t, s = r.b + (255 - r.b) * t;
|
|
461
|
-
return
|
|
461
|
+
return tu(i, n, s);
|
|
462
462
|
}
|
|
463
|
-
function
|
|
463
|
+
function ru(e, t = 0.8) {
|
|
464
464
|
return {
|
|
465
|
-
background: `linear-gradient(to bottom, ${
|
|
465
|
+
background: `linear-gradient(to bottom, ${Ta(e, t)}, #ffffff)`,
|
|
466
466
|
color: "#1f2937"
|
|
467
467
|
};
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function iu(e) {
|
|
470
470
|
return new Promise((t) => setTimeout(t, e));
|
|
471
471
|
}
|
|
472
|
-
function
|
|
473
|
-
return `linear-gradient(to left, ${
|
|
472
|
+
function ja(e) {
|
|
473
|
+
return `linear-gradient(to left, ${Ta(e, 0.4)}, ${e})`;
|
|
474
474
|
}
|
|
475
475
|
const nu = () => Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
|
|
476
476
|
function su(e) {
|
|
@@ -490,7 +490,7 @@ function su(e) {
|
|
|
490
490
|
const ou = (e) => {
|
|
491
491
|
var t;
|
|
492
492
|
return !e || typeof e != "string" ? "" : (t = e.charAt(0)) == null ? void 0 : t.toUpperCase();
|
|
493
|
-
},
|
|
493
|
+
}, Na = (e) => /* @__PURE__ */ o.jsxs(
|
|
494
494
|
"svg",
|
|
495
495
|
{
|
|
496
496
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -508,7 +508,7 @@ const ou = (e) => {
|
|
|
508
508
|
/* @__PURE__ */ o.jsx("path", { d: "m9 12 2 2 4-4" })
|
|
509
509
|
]
|
|
510
510
|
}
|
|
511
|
-
),
|
|
511
|
+
), Sa = (e) => /* @__PURE__ */ o.jsxs(
|
|
512
512
|
"svg",
|
|
513
513
|
{
|
|
514
514
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -549,14 +549,14 @@ const ou = (e) => {
|
|
|
549
549
|
), Qe = (e) => {
|
|
550
550
|
const { baseColor: t, borderRadius: r } = kr(), { loading: i, children: n, ...s } = e;
|
|
551
551
|
return /* @__PURE__ */ o.jsx(
|
|
552
|
-
|
|
552
|
+
Aa,
|
|
553
553
|
{
|
|
554
554
|
style: {
|
|
555
|
-
background:
|
|
555
|
+
background: ja(t),
|
|
556
556
|
borderRadius: r
|
|
557
557
|
},
|
|
558
558
|
...s,
|
|
559
|
-
children: i ? /* @__PURE__ */ o.jsx(
|
|
559
|
+
children: i ? /* @__PURE__ */ o.jsx(Ea, {}) : n
|
|
560
560
|
}
|
|
561
561
|
);
|
|
562
562
|
}, Ti = ({
|
|
@@ -637,7 +637,7 @@ const ou = (e) => {
|
|
|
637
637
|
}
|
|
638
638
|
)
|
|
639
639
|
] });
|
|
640
|
-
return
|
|
640
|
+
return Ol(u, document.body);
|
|
641
641
|
}, cu = (e) => /* @__PURE__ */ o.jsxs(
|
|
642
642
|
"svg",
|
|
643
643
|
{
|
|
@@ -777,7 +777,7 @@ function du(e) {
|
|
|
777
777
|
originalError: e
|
|
778
778
|
};
|
|
779
779
|
}
|
|
780
|
-
async function
|
|
780
|
+
async function Kt(e, t = {}, r = {
|
|
781
781
|
attempts: 3,
|
|
782
782
|
backoff: "exponential",
|
|
783
783
|
baseDelay: 1e3,
|
|
@@ -813,15 +813,16 @@ function hu(e, t) {
|
|
|
813
813
|
let r;
|
|
814
814
|
return t.backoff === "exponential" ? r = t.baseDelay * Math.pow(2, e - 1) : r = t.baseDelay, r = Math.min(r, t.maxDelay), t.jitter && (r = r * (0.5 + Math.random() * 0.5)), Math.round(r);
|
|
815
815
|
}
|
|
816
|
-
const
|
|
816
|
+
const qt = {
|
|
817
817
|
v2: "/v2"
|
|
818
|
-
},
|
|
819
|
-
GENERATE_QUESTION: (e) => `${
|
|
820
|
-
SCREENSHOT_UPLOAD: (e) => `${
|
|
821
|
-
CONFIRM_UPLOAD: (e) => `${
|
|
822
|
-
TRANSCRIBE_ANSWER: (e) => `${
|
|
823
|
-
SUBMIT_ANSWER: (e) => `${
|
|
824
|
-
|
|
818
|
+
}, Xt = {
|
|
819
|
+
GENERATE_QUESTION: (e) => `${qt.v2}/interviews/${e}/next-question`,
|
|
820
|
+
SCREENSHOT_UPLOAD: (e) => `${qt.v2}/interviews/${e}/assets/upload-url`,
|
|
821
|
+
CONFIRM_UPLOAD: (e) => `${qt.v2}/interviews/assets/${e}/confirm`,
|
|
822
|
+
TRANSCRIBE_ANSWER: (e) => `${qt.v2}/interviews/${e}/transcribe-answer`,
|
|
823
|
+
SUBMIT_ANSWER: (e) => `${qt.v2}/interviews/${e}/submit-answer`,
|
|
824
|
+
EXIT: (e) => `${qt.v2}/interviews/${e}/exit`,
|
|
825
|
+
CONFIG: (e) => `${qt.v2}/interviews/${e}/config`
|
|
825
826
|
};
|
|
826
827
|
class fu {
|
|
827
828
|
constructor(t = {}) {
|
|
@@ -858,8 +859,8 @@ class fu {
|
|
|
858
859
|
interviewId: t,
|
|
859
860
|
isInterviewDone: r = !1
|
|
860
861
|
}) {
|
|
861
|
-
const i = await
|
|
862
|
-
`${this.getBaseUrl()}${
|
|
862
|
+
const i = await Kt(
|
|
863
|
+
`${this.getBaseUrl()}${Xt.GENERATE_QUESTION(t)}`,
|
|
863
864
|
{
|
|
864
865
|
method: "POST",
|
|
865
866
|
headers: this.getHeaders(),
|
|
@@ -886,8 +887,8 @@ class fu {
|
|
|
886
887
|
qnaId: r,
|
|
887
888
|
answer: i
|
|
888
889
|
}) {
|
|
889
|
-
const n = await
|
|
890
|
-
`${this.getBaseUrl()}${
|
|
890
|
+
const n = await Kt(
|
|
891
|
+
`${this.getBaseUrl()}${Xt.SUBMIT_ANSWER(t)}`,
|
|
891
892
|
{
|
|
892
893
|
method: "POST",
|
|
893
894
|
headers: this.getHeaders(),
|
|
@@ -901,12 +902,26 @@ class fu {
|
|
|
901
902
|
throw new Error(`Failed to submit answer: ${n.status}`);
|
|
902
903
|
return await n.json();
|
|
903
904
|
}
|
|
905
|
+
/**
|
|
906
|
+
* Exit interview
|
|
907
|
+
*/
|
|
908
|
+
async exitInterview(t) {
|
|
909
|
+
const r = await Kt(
|
|
910
|
+
`${this.getBaseUrl()}${Xt.EXIT(t)}`,
|
|
911
|
+
{
|
|
912
|
+
method: "POST",
|
|
913
|
+
headers: this.getHeaders()
|
|
914
|
+
}
|
|
915
|
+
);
|
|
916
|
+
if (!r.ok)
|
|
917
|
+
throw new Error(`Failed to exit interview: ${r.status}`);
|
|
918
|
+
}
|
|
904
919
|
/**
|
|
905
920
|
* Get interview config
|
|
906
921
|
*/
|
|
907
922
|
async getInterviewConfig(t) {
|
|
908
|
-
const r = await
|
|
909
|
-
`${this.getBaseUrl()}${
|
|
923
|
+
const r = await Kt(
|
|
924
|
+
`${this.getBaseUrl()}${Xt.CONFIG(t)}`,
|
|
910
925
|
{
|
|
911
926
|
method: "GET",
|
|
912
927
|
headers: this.getHeaders()
|
|
@@ -920,15 +935,15 @@ class fu {
|
|
|
920
935
|
* Request a signed URL for uploading a screenshot
|
|
921
936
|
*/
|
|
922
937
|
async requestScreenshotUploadUrl(t, r = `screenshot-${Date.now()}.jpeg`) {
|
|
923
|
-
const i = await
|
|
924
|
-
`${this.getBaseUrl()}${
|
|
938
|
+
const i = await Kt(
|
|
939
|
+
`${this.getBaseUrl()}${Xt.SCREENSHOT_UPLOAD(t)}`,
|
|
925
940
|
{
|
|
926
941
|
method: "POST",
|
|
927
942
|
headers: this.getHeaders(),
|
|
928
943
|
body: JSON.stringify({
|
|
929
944
|
filename: r,
|
|
930
945
|
mime_type: "image/jpeg",
|
|
931
|
-
asset_type:
|
|
946
|
+
asset_type: Vl.SCREENSHOT
|
|
932
947
|
})
|
|
933
948
|
}
|
|
934
949
|
);
|
|
@@ -956,8 +971,8 @@ class fu {
|
|
|
956
971
|
* Confirm screenshot upload
|
|
957
972
|
*/
|
|
958
973
|
async confirmScreenshotUpload(t) {
|
|
959
|
-
const r = await
|
|
960
|
-
`${this.getBaseUrl()}${
|
|
974
|
+
const r = await Kt(
|
|
975
|
+
`${this.getBaseUrl()}${Xt.CONFIRM_UPLOAD(t)}`,
|
|
961
976
|
{
|
|
962
977
|
method: "POST",
|
|
963
978
|
headers: this.getHeaders()
|
|
@@ -969,7 +984,7 @@ class fu {
|
|
|
969
984
|
);
|
|
970
985
|
}
|
|
971
986
|
}
|
|
972
|
-
function
|
|
987
|
+
function Ca() {
|
|
973
988
|
const e = Ai();
|
|
974
989
|
return zr(() => {
|
|
975
990
|
const r = e.api || {};
|
|
@@ -1035,7 +1050,7 @@ const Gr = (e) => /* @__PURE__ */ o.jsxs(
|
|
|
1035
1050
|
/* @__PURE__ */ o.jsx("circle", { cx: "12", cy: "12", r: "10" })
|
|
1036
1051
|
]
|
|
1037
1052
|
}
|
|
1038
|
-
),
|
|
1053
|
+
), Ia = (e) => /* @__PURE__ */ o.jsxs(
|
|
1039
1054
|
"svg",
|
|
1040
1055
|
{
|
|
1041
1056
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1193,7 +1208,7 @@ const Gr = (e) => /* @__PURE__ */ o.jsxs(
|
|
|
1193
1208
|
CAMERA_ERROR: "camera_error"
|
|
1194
1209
|
}, vu = {
|
|
1195
1210
|
[Pr.FACE_DETECTED]: {
|
|
1196
|
-
icon:
|
|
1211
|
+
icon: Ia,
|
|
1197
1212
|
iconColor: "iw-text-green-600",
|
|
1198
1213
|
iconBg: "iw-bg-green-50",
|
|
1199
1214
|
iconBorder: "iw-border-green-100",
|
|
@@ -1459,17 +1474,17 @@ const ku = ({
|
|
|
1459
1474
|
] })
|
|
1460
1475
|
] }) : null;
|
|
1461
1476
|
var hr = typeof self < "u" ? self : {};
|
|
1462
|
-
function
|
|
1477
|
+
function Yt() {
|
|
1463
1478
|
throw Error("Invalid UTF8");
|
|
1464
1479
|
}
|
|
1465
|
-
function
|
|
1480
|
+
function eo(e, t) {
|
|
1466
1481
|
return t = String.fromCharCode.apply(null, t), e == null ? t : e + t;
|
|
1467
1482
|
}
|
|
1468
1483
|
let si, an;
|
|
1469
1484
|
const Au = typeof TextDecoder < "u";
|
|
1470
1485
|
let Tu;
|
|
1471
1486
|
const ju = typeof TextEncoder < "u";
|
|
1472
|
-
function
|
|
1487
|
+
function Ra(e) {
|
|
1473
1488
|
if (ju) e = (Tu || (Tu = new TextEncoder())).encode(e);
|
|
1474
1489
|
else {
|
|
1475
1490
|
let r = 0;
|
|
@@ -1502,15 +1517,15 @@ function Ma(e) {
|
|
|
1502
1517
|
}
|
|
1503
1518
|
var qn, pi;
|
|
1504
1519
|
e: {
|
|
1505
|
-
for (var
|
|
1520
|
+
for (var to = ["CLOSURE_FLAGS"], cn = hr, ln = 0; ln < to.length; ln++) if ((cn = cn[to[ln]]) == null) {
|
|
1506
1521
|
pi = null;
|
|
1507
1522
|
break e;
|
|
1508
1523
|
}
|
|
1509
1524
|
pi = cn;
|
|
1510
1525
|
}
|
|
1511
|
-
var Hr,
|
|
1512
|
-
qn =
|
|
1513
|
-
const
|
|
1526
|
+
var Hr, ro = pi && pi[610401301];
|
|
1527
|
+
qn = ro != null && ro;
|
|
1528
|
+
const io = hr.navigator;
|
|
1514
1529
|
function vn(e) {
|
|
1515
1530
|
return !!qn && !!Hr && Hr.brands.some(({ brand: t }) => t && t.indexOf(e) != -1);
|
|
1516
1531
|
}
|
|
@@ -1527,11 +1542,11 @@ function un() {
|
|
|
1527
1542
|
function ji(e) {
|
|
1528
1543
|
return ji[" "](e), e;
|
|
1529
1544
|
}
|
|
1530
|
-
Hr =
|
|
1545
|
+
Hr = io && io.userAgentData || null, ji[" "] = function() {
|
|
1531
1546
|
};
|
|
1532
1547
|
var Nu = !Rt() && (We("Trident") || We("MSIE"));
|
|
1533
1548
|
!We("Android") || un(), un(), We("Safari") && (un() || !Rt() && We("Coast") || !Rt() && We("Opera") || !Rt() && We("Edge") || (Rt() ? vn("Microsoft Edge") : We("Edg/")) || Rt() && vn("Opera"));
|
|
1534
|
-
var
|
|
1549
|
+
var Ma = {}, Br = null;
|
|
1535
1550
|
function Su(e) {
|
|
1536
1551
|
const t = e.length;
|
|
1537
1552
|
let r = 3 * t / 4;
|
|
@@ -1547,7 +1562,7 @@ function Su(e) {
|
|
|
1547
1562
|
}
|
|
1548
1563
|
return u;
|
|
1549
1564
|
}
|
|
1550
|
-
|
|
1565
|
+
La();
|
|
1551
1566
|
let l = 0;
|
|
1552
1567
|
for (; ; ) {
|
|
1553
1568
|
const u = c(-1), d = c(0), h = c(64), f = c(64);
|
|
@@ -1558,13 +1573,13 @@ function Su(e) {
|
|
|
1558
1573
|
i[n++] = s;
|
|
1559
1574
|
}), n !== r ? i.subarray(0, n) : i;
|
|
1560
1575
|
}
|
|
1561
|
-
function
|
|
1576
|
+
function La() {
|
|
1562
1577
|
if (!Br) {
|
|
1563
1578
|
Br = {};
|
|
1564
1579
|
var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), t = ["+/=", "+/", "-_=", "-_.", "-_"];
|
|
1565
1580
|
for (let r = 0; r < 5; r++) {
|
|
1566
1581
|
const i = e.concat(t[r].split(""));
|
|
1567
|
-
|
|
1582
|
+
Ma[r] = i;
|
|
1568
1583
|
for (let n = 0; n < i.length; n++) {
|
|
1569
1584
|
const s = i[n];
|
|
1570
1585
|
Br[s] === void 0 && (Br[s] = n);
|
|
@@ -1572,11 +1587,11 @@ function Fa() {
|
|
|
1572
1587
|
}
|
|
1573
1588
|
}
|
|
1574
1589
|
}
|
|
1575
|
-
var
|
|
1576
|
-
function
|
|
1577
|
-
if (!
|
|
1590
|
+
var Fa = typeof Uint8Array < "u", Pa = !Nu && typeof btoa == "function";
|
|
1591
|
+
function no(e) {
|
|
1592
|
+
if (!Pa) {
|
|
1578
1593
|
var t;
|
|
1579
|
-
t === void 0 && (t = 0),
|
|
1594
|
+
t === void 0 && (t = 0), La(), t = Ma[t];
|
|
1580
1595
|
var r = Array(Math.floor(e.length / 3)), i = t[64] || "";
|
|
1581
1596
|
let l = 0, u = 0;
|
|
1582
1597
|
for (; l < e.length - 2; l += 3) {
|
|
@@ -1594,51 +1609,51 @@ function so(e) {
|
|
|
1594
1609
|
for (t = "", r = 0, i = e.length - 10240; r < i; ) t += String.fromCharCode.apply(null, e.subarray(r, r += 10240));
|
|
1595
1610
|
return t += String.fromCharCode.apply(null, r ? e.subarray(r) : e), btoa(t);
|
|
1596
1611
|
}
|
|
1597
|
-
const
|
|
1612
|
+
const so = /[-_.]/g, Cu = { "-": "+", _: "/", ".": "=" };
|
|
1598
1613
|
function Iu(e) {
|
|
1599
1614
|
return Cu[e] || "";
|
|
1600
1615
|
}
|
|
1601
|
-
function
|
|
1602
|
-
if (!
|
|
1603
|
-
|
|
1616
|
+
function Da(e) {
|
|
1617
|
+
if (!Pa) return Su(e);
|
|
1618
|
+
so.test(e) && (e = e.replace(so, Iu)), e = atob(e);
|
|
1604
1619
|
const t = new Uint8Array(e.length);
|
|
1605
1620
|
for (let r = 0; r < e.length; r++) t[r] = e.charCodeAt(r);
|
|
1606
1621
|
return t;
|
|
1607
1622
|
}
|
|
1608
|
-
function
|
|
1609
|
-
return
|
|
1623
|
+
function tr(e) {
|
|
1624
|
+
return Fa && e != null && e instanceof Uint8Array;
|
|
1610
1625
|
}
|
|
1611
1626
|
var fr = {};
|
|
1612
|
-
function
|
|
1627
|
+
function rr() {
|
|
1613
1628
|
return Ru || (Ru = new vt(null, fr));
|
|
1614
1629
|
}
|
|
1615
1630
|
function Yn(e) {
|
|
1616
|
-
|
|
1631
|
+
Oa(fr);
|
|
1617
1632
|
var t = e.g;
|
|
1618
|
-
return (t = t == null ||
|
|
1633
|
+
return (t = t == null || tr(t) ? t : typeof t == "string" ? Da(t) : null) == null ? t : e.g = t;
|
|
1619
1634
|
}
|
|
1620
1635
|
var vt = class {
|
|
1621
1636
|
h() {
|
|
1622
1637
|
return new Uint8Array(Yn(this) || 0);
|
|
1623
1638
|
}
|
|
1624
1639
|
constructor(e, t) {
|
|
1625
|
-
if (
|
|
1640
|
+
if (Oa(t), this.g = e, e != null && e.length === 0) throw Error("ByteString should be constructed with non-empty values");
|
|
1626
1641
|
}
|
|
1627
1642
|
};
|
|
1628
1643
|
let Ru, Mu;
|
|
1629
|
-
function
|
|
1644
|
+
function Oa(e) {
|
|
1630
1645
|
if (e !== fr) throw Error("illegal external caller");
|
|
1631
1646
|
}
|
|
1632
|
-
function
|
|
1647
|
+
function Ba(e, t) {
|
|
1633
1648
|
e.__closure__error__context__984382 || (e.__closure__error__context__984382 = {}), e.__closure__error__context__984382.severity = t;
|
|
1634
1649
|
}
|
|
1635
1650
|
function _n(e) {
|
|
1636
|
-
return
|
|
1651
|
+
return Ba(e = Error(e), "warning"), e;
|
|
1637
1652
|
}
|
|
1638
1653
|
function Kn(e) {
|
|
1639
1654
|
if (e != null) {
|
|
1640
1655
|
var t = Mu ?? (Mu = {}), r = t[e] || 0;
|
|
1641
|
-
r >= 5 || (t[e] = r + 1,
|
|
1656
|
+
r >= 5 || (t[e] = r + 1, Ba(e = Error(), "incident"), function(i) {
|
|
1642
1657
|
hr.setTimeout(() => {
|
|
1643
1658
|
throw i;
|
|
1644
1659
|
}, 0);
|
|
@@ -1649,13 +1664,13 @@ var Ni = typeof Symbol == "function" && typeof Symbol() == "symbol";
|
|
|
1649
1664
|
function Er(e, t, r = !1) {
|
|
1650
1665
|
return typeof Symbol == "function" && typeof Symbol() == "symbol" ? r && Symbol.for && e ? Symbol.for(e) : e != null ? Symbol(e) : Symbol() : t;
|
|
1651
1666
|
}
|
|
1652
|
-
var Lu = Er("jas", void 0, !0),
|
|
1653
|
-
const k = Ni ? Lu : "Ea",
|
|
1667
|
+
var Lu = Er("jas", void 0, !0), oo = Er(void 0, "0di"), Dr = Er(void 0, "1oa"), wr = Er(void 0, Symbol()), Fu = Er(void 0, "0actk"), Ua = Er(void 0, "8utk");
|
|
1668
|
+
const k = Ni ? Lu : "Ea", Ga = { Ea: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Va = Object.defineProperties;
|
|
1654
1669
|
function Si(e, t) {
|
|
1655
|
-
Ni || k in e ||
|
|
1670
|
+
Ni || k in e || Va(e, Ga), e[k] |= t;
|
|
1656
1671
|
}
|
|
1657
1672
|
function de(e, t) {
|
|
1658
|
-
Ni || k in e ||
|
|
1673
|
+
Ni || k in e || Va(e, Ga), e[k] = t;
|
|
1659
1674
|
}
|
|
1660
1675
|
function Ar(e) {
|
|
1661
1676
|
return Si(e, 34), e;
|
|
@@ -1678,8 +1693,8 @@ function Ii(e) {
|
|
|
1678
1693
|
}
|
|
1679
1694
|
function Qn(e, t) {
|
|
1680
1695
|
if (e != null) {
|
|
1681
|
-
if (typeof e == "string") e = e ? new vt(e, fr) :
|
|
1682
|
-
else if (e.constructor !== vt) if (
|
|
1696
|
+
if (typeof e == "string") e = e ? new vt(e, fr) : rr();
|
|
1697
|
+
else if (e.constructor !== vt) if (tr(e)) e = e.length ? new vt(new Uint8Array(e), fr) : rr();
|
|
1683
1698
|
else {
|
|
1684
1699
|
if (!t) throw Error();
|
|
1685
1700
|
e = void 0;
|
|
@@ -1687,12 +1702,12 @@ function Qn(e, t) {
|
|
|
1687
1702
|
}
|
|
1688
1703
|
return e;
|
|
1689
1704
|
}
|
|
1690
|
-
const
|
|
1705
|
+
const ao = [];
|
|
1691
1706
|
function Ut(e) {
|
|
1692
1707
|
if (2 & e) throw Error();
|
|
1693
1708
|
}
|
|
1694
|
-
de(
|
|
1695
|
-
class
|
|
1709
|
+
de(ao, 55), Xn = Object.freeze(ao);
|
|
1710
|
+
class co {
|
|
1696
1711
|
constructor(t, r, i) {
|
|
1697
1712
|
this.g = t, this.h = r, this.l = i;
|
|
1698
1713
|
}
|
|
@@ -1711,17 +1726,17 @@ var Du = Object.freeze({});
|
|
|
1711
1726
|
function Ri(e) {
|
|
1712
1727
|
return e.Na = !0, e;
|
|
1713
1728
|
}
|
|
1714
|
-
var Ou = Ri((e) => typeof e == "number"),
|
|
1729
|
+
var Ou = Ri((e) => typeof e == "number"), lo = Ri((e) => typeof e == "string"), Bu = Ri((e) => typeof e == "boolean"), Mi = typeof hr.BigInt == "function" && typeof hr.BigInt(0) == "bigint";
|
|
1715
1730
|
function Lt(e) {
|
|
1716
1731
|
var t = e;
|
|
1717
|
-
if (
|
|
1732
|
+
if (lo(t)) {
|
|
1718
1733
|
if (!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(t)) throw Error(String(t));
|
|
1719
1734
|
} else if (Ou(t) && !Number.isSafeInteger(t)) throw Error(String(t));
|
|
1720
|
-
return Mi ? BigInt(e) : e = Bu(e) ? e ? "1" : "0" :
|
|
1735
|
+
return Mi ? BigInt(e) : e = Bu(e) ? e ? "1" : "0" : lo(e) ? e.trim() || "0" : String(e);
|
|
1721
1736
|
}
|
|
1722
|
-
var En = Ri((e) => Mi ? e >= Gu && e <= $u : e[0] === "-" ?
|
|
1737
|
+
var En = Ri((e) => Mi ? e >= Gu && e <= $u : e[0] === "-" ? uo(e, Uu) : uo(e, Vu));
|
|
1723
1738
|
const Uu = Number.MIN_SAFE_INTEGER.toString(), Gu = Mi ? BigInt(Number.MIN_SAFE_INTEGER) : void 0, Vu = Number.MAX_SAFE_INTEGER.toString(), $u = Mi ? BigInt(Number.MAX_SAFE_INTEGER) : void 0;
|
|
1724
|
-
function
|
|
1739
|
+
function uo(e, t) {
|
|
1725
1740
|
if (e.length > t.length) return !1;
|
|
1726
1741
|
if (e.length < t.length || e === t) return !0;
|
|
1727
1742
|
for (let r = 0; r < e.length; r++) {
|
|
@@ -1731,20 +1746,20 @@ function ho(e, t) {
|
|
|
1731
1746
|
}
|
|
1732
1747
|
}
|
|
1733
1748
|
const Wu = typeof Uint8Array.prototype.slice == "function";
|
|
1734
|
-
let
|
|
1735
|
-
function
|
|
1749
|
+
let $a, $ = 0, re = 0;
|
|
1750
|
+
function ho(e) {
|
|
1736
1751
|
const t = e >>> 0;
|
|
1737
1752
|
$ = t, re = (e - t) / 4294967296 >>> 0;
|
|
1738
1753
|
}
|
|
1739
|
-
function
|
|
1754
|
+
function ir(e) {
|
|
1740
1755
|
if (e < 0) {
|
|
1741
|
-
|
|
1756
|
+
ho(-e);
|
|
1742
1757
|
const [t, r] = rs($, re);
|
|
1743
1758
|
$ = t >>> 0, re = r >>> 0;
|
|
1744
|
-
} else
|
|
1759
|
+
} else ho(e);
|
|
1745
1760
|
}
|
|
1746
1761
|
function Zn(e) {
|
|
1747
|
-
const t =
|
|
1762
|
+
const t = $a || ($a = new DataView(new ArrayBuffer(8)));
|
|
1748
1763
|
t.setFloat32(0, +e, !0), re = 0, $ = t.getUint32(0, !0);
|
|
1749
1764
|
}
|
|
1750
1765
|
function es(e, t) {
|
|
@@ -1757,13 +1772,13 @@ function ts(e, t) {
|
|
|
1757
1772
|
}
|
|
1758
1773
|
function qr(e, t) {
|
|
1759
1774
|
if (e >>>= 0, (t >>>= 0) <= 2097151) var r = "" + (4294967296 * t + e);
|
|
1760
|
-
else Ci() ? r = "" + (BigInt(t) << BigInt(32) | BigInt(e)) : (e = (16777215 & e) + 6777216 * (r = 16777215 & (e >>> 24 | t << 8)) + 6710656 * (t = t >> 16 & 65535), r += 8147497 * t, t *= 2, e >= 1e7 && (r += e / 1e7 >>> 0, e %= 1e7), r >= 1e7 && (t += r / 1e7 >>> 0, r %= 1e7), r = t +
|
|
1775
|
+
else Ci() ? r = "" + (BigInt(t) << BigInt(32) | BigInt(e)) : (e = (16777215 & e) + 6777216 * (r = 16777215 & (e >>> 24 | t << 8)) + 6710656 * (t = t >> 16 & 65535), r += 8147497 * t, t *= 2, e >= 1e7 && (r += e / 1e7 >>> 0, e %= 1e7), r >= 1e7 && (t += r / 1e7 >>> 0, r %= 1e7), r = t + fo(r) + fo(e));
|
|
1761
1776
|
return r;
|
|
1762
1777
|
}
|
|
1763
|
-
function
|
|
1778
|
+
function fo(e) {
|
|
1764
1779
|
return e = String(e), "0000000".slice(e.length) + e;
|
|
1765
1780
|
}
|
|
1766
|
-
function
|
|
1781
|
+
function Wa() {
|
|
1767
1782
|
var e = $, t = re;
|
|
1768
1783
|
if (2147483648 & t) if (Ci()) e = "" + (BigInt(0 | t) << BigInt(32) | BigInt(e >>> 0));
|
|
1769
1784
|
else {
|
|
@@ -1774,7 +1789,7 @@ function za() {
|
|
|
1774
1789
|
return e;
|
|
1775
1790
|
}
|
|
1776
1791
|
function Li(e) {
|
|
1777
|
-
if (e.length < 16)
|
|
1792
|
+
if (e.length < 16) ir(Number(e));
|
|
1778
1793
|
else if (Ci()) e = BigInt(e), $ = Number(e & BigInt(4294967295)) >>> 0, re = Number(e >> BigInt(32) & BigInt(4294967295));
|
|
1779
1794
|
else {
|
|
1780
1795
|
const t = +(e[0] === "-");
|
|
@@ -1797,7 +1812,7 @@ const Yr = typeof BigInt == "function" ? BigInt.asIntN : void 0, zu = typeof Big
|
|
|
1797
1812
|
function Gt(e) {
|
|
1798
1813
|
return e == null || typeof e == "number" ? e : e === "NaN" || e === "Infinity" || e === "-Infinity" ? Number(e) : void 0;
|
|
1799
1814
|
}
|
|
1800
|
-
function
|
|
1815
|
+
function za(e) {
|
|
1801
1816
|
return e == null || typeof e == "boolean" ? e : typeof e == "number" ? !!e : void 0;
|
|
1802
1817
|
}
|
|
1803
1818
|
const qu = /^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;
|
|
@@ -1819,67 +1834,67 @@ function Tr(e) {
|
|
|
1819
1834
|
else if (typeof e != "number") return;
|
|
1820
1835
|
return Fi(e) ? 0 | e : void 0;
|
|
1821
1836
|
}
|
|
1822
|
-
function
|
|
1837
|
+
function Ha(e) {
|
|
1823
1838
|
if (e == null) return e;
|
|
1824
1839
|
if (typeof e == "string" && e) e = +e;
|
|
1825
1840
|
else if (typeof e != "number") return;
|
|
1826
1841
|
return Fi(e) ? e >>> 0 : void 0;
|
|
1827
1842
|
}
|
|
1828
|
-
function
|
|
1843
|
+
function wo(e) {
|
|
1829
1844
|
if (e[0] === "-") return !1;
|
|
1830
1845
|
const t = e.length;
|
|
1831
1846
|
return t < 20 || t === 20 && Number(e.substring(0, 6)) < 184467;
|
|
1832
1847
|
}
|
|
1833
|
-
function
|
|
1848
|
+
function qa(e) {
|
|
1834
1849
|
const t = e.length;
|
|
1835
1850
|
return e[0] === "-" ? t < 20 || t === 20 && Number(e.substring(0, 7)) > -922337 : t < 19 || t === 19 && Number(e.substring(0, 6)) < 922337;
|
|
1836
1851
|
}
|
|
1837
|
-
function
|
|
1838
|
-
return
|
|
1852
|
+
function Ya(e) {
|
|
1853
|
+
return qa(e) ? e : (Li(e), Wa());
|
|
1839
1854
|
}
|
|
1840
1855
|
function is(e) {
|
|
1841
|
-
return e = mr(e), Ft(e) || (
|
|
1856
|
+
return e = mr(e), Ft(e) || (ir(e), e = ts($, re)), e;
|
|
1842
1857
|
}
|
|
1843
|
-
function
|
|
1858
|
+
function Ka(e) {
|
|
1844
1859
|
var t = mr(Number(e));
|
|
1845
|
-
return Ft(t) ? String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)),
|
|
1860
|
+
return Ft(t) ? String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Ya(e));
|
|
1846
1861
|
}
|
|
1847
|
-
function
|
|
1862
|
+
function mo(e) {
|
|
1848
1863
|
var t = mr(Number(e));
|
|
1849
|
-
return Ft(t) ? Lt(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Ci() ? Lt(Yr(64, BigInt(e))) : Lt(
|
|
1864
|
+
return Ft(t) ? Lt(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Ci() ? Lt(Yr(64, BigInt(e))) : Lt(Ya(e)));
|
|
1850
1865
|
}
|
|
1851
|
-
function
|
|
1866
|
+
function go(e) {
|
|
1852
1867
|
if (Ft(e)) e = Lt(is(e));
|
|
1853
1868
|
else {
|
|
1854
1869
|
if (e = mr(e), Ft(e)) e = String(e);
|
|
1855
1870
|
else {
|
|
1856
1871
|
const t = String(e);
|
|
1857
|
-
|
|
1872
|
+
qa(t) ? e = t : (ir(e), e = Wa());
|
|
1858
1873
|
}
|
|
1859
1874
|
e = Lt(e);
|
|
1860
1875
|
}
|
|
1861
1876
|
return e;
|
|
1862
1877
|
}
|
|
1863
1878
|
function An(e) {
|
|
1864
|
-
return e == null ? e : typeof e == "bigint" ? (En(e) ? e = Number(e) : (e = Yr(64, e), e = En(e) ? Number(e) : String(e)), e) : Kr(e) ? typeof e == "number" ? is(e) :
|
|
1879
|
+
return e == null ? e : typeof e == "bigint" ? (En(e) ? e = Number(e) : (e = Yr(64, e), e = En(e) ? Number(e) : String(e)), e) : Kr(e) ? typeof e == "number" ? is(e) : Ka(e) : void 0;
|
|
1865
1880
|
}
|
|
1866
1881
|
function Yu(e) {
|
|
1867
1882
|
if (e == null) return e;
|
|
1868
1883
|
var t = typeof e;
|
|
1869
1884
|
if (t === "bigint") return String(zu(64, e));
|
|
1870
1885
|
if (Kr(e)) {
|
|
1871
|
-
if (t === "string") return t = mr(Number(e)), Ft(t) && t >= 0 ? e = String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)),
|
|
1886
|
+
if (t === "string") return t = mr(Number(e)), Ft(t) && t >= 0 ? e = String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), wo(e) || (Li(e), e = qr($, re))), e;
|
|
1872
1887
|
if (t === "number") return (e = mr(e)) >= 0 && Ft(e) ? e : function(r) {
|
|
1873
1888
|
if (r < 0) {
|
|
1874
|
-
|
|
1889
|
+
ir(r);
|
|
1875
1890
|
var i = qr($, re);
|
|
1876
1891
|
return r = Number(i), Ft(r) ? r : i;
|
|
1877
1892
|
}
|
|
1878
|
-
return
|
|
1893
|
+
return wo(i = String(r)) ? i : (ir(r), es($, re));
|
|
1879
1894
|
}(e);
|
|
1880
1895
|
}
|
|
1881
1896
|
}
|
|
1882
|
-
function
|
|
1897
|
+
function Xa(e) {
|
|
1883
1898
|
if (typeof e != "string") throw Error();
|
|
1884
1899
|
return e;
|
|
1885
1900
|
}
|
|
@@ -1892,7 +1907,7 @@ function gr(e) {
|
|
|
1892
1907
|
}
|
|
1893
1908
|
function ns(e, t, r, i) {
|
|
1894
1909
|
if (e != null && typeof e == "object" && e.W === ei) return e;
|
|
1895
|
-
if (!Array.isArray(e)) return r ? 2 & i ? ((e = t[
|
|
1910
|
+
if (!Array.isArray(e)) return r ? 2 & i ? ((e = t[oo]) || (Ar((e = new t()).u), e = t[oo] = e), t = e) : t = new t() : t = void 0, t;
|
|
1896
1911
|
let n = r = 0 | e[k];
|
|
1897
1912
|
return n === 0 && (n |= 32 & i), n |= 2 & i, n !== r && de(e, n), new t(e);
|
|
1898
1913
|
}
|
|
@@ -1901,16 +1916,16 @@ function Ku(e, t, r) {
|
|
|
1901
1916
|
if (!Kr(t = e)) throw _n("int64");
|
|
1902
1917
|
switch (typeof t) {
|
|
1903
1918
|
case "string":
|
|
1904
|
-
t =
|
|
1919
|
+
t = mo(t);
|
|
1905
1920
|
break e;
|
|
1906
1921
|
case "bigint":
|
|
1907
1922
|
t = Lt(Yr(64, t));
|
|
1908
1923
|
break e;
|
|
1909
1924
|
default:
|
|
1910
|
-
t =
|
|
1925
|
+
t = go(t);
|
|
1911
1926
|
}
|
|
1912
1927
|
}
|
|
1913
|
-
else e = typeof (t = e), t = t == null ? t : e === "bigint" ? Lt(Yr(64, t)) : Kr(t) ? e === "string" ?
|
|
1928
|
+
else e = typeof (t = e), t = t == null ? t : e === "bigint" ? Lt(Yr(64, t)) : Kr(t) ? e === "string" ? mo(t) : go(t) : void 0;
|
|
1914
1929
|
return (e = t) == null ? r ? Hu : void 0 : e;
|
|
1915
1930
|
}
|
|
1916
1931
|
function Xu(e) {
|
|
@@ -1968,14 +1983,14 @@ const Zu = Ju ? (Object.setPrototypeOf(dn.prototype, Map.prototype), Object.defi
|
|
|
1968
1983
|
super();
|
|
1969
1984
|
}
|
|
1970
1985
|
};
|
|
1971
|
-
function
|
|
1986
|
+
function po(e) {
|
|
1972
1987
|
return e;
|
|
1973
1988
|
}
|
|
1974
1989
|
function hn(e) {
|
|
1975
1990
|
if (2 & e.M) throw Error("Cannot mutate an immutable Map");
|
|
1976
1991
|
}
|
|
1977
1992
|
var ht = class extends Zu {
|
|
1978
|
-
constructor(e, t, r =
|
|
1993
|
+
constructor(e, t, r = po, i = po) {
|
|
1979
1994
|
super();
|
|
1980
1995
|
let n = 0 | e[k];
|
|
1981
1996
|
n |= 64, de(e, n), this.M = n, this.I = t, this.S = r, this.X = this.I ? ed : i;
|
|
@@ -2003,14 +2018,14 @@ var ht = class extends Zu {
|
|
|
2003
2018
|
entries() {
|
|
2004
2019
|
if (this.I) {
|
|
2005
2020
|
var e = super.keys();
|
|
2006
|
-
e = new
|
|
2021
|
+
e = new co(e, rd, this);
|
|
2007
2022
|
} else e = super.entries();
|
|
2008
2023
|
return e;
|
|
2009
2024
|
}
|
|
2010
2025
|
values() {
|
|
2011
2026
|
if (this.I) {
|
|
2012
2027
|
var e = super.keys();
|
|
2013
|
-
e = new
|
|
2028
|
+
e = new co(e, ht.prototype.get, this);
|
|
2014
2029
|
} else e = super.values();
|
|
2015
2030
|
return e;
|
|
2016
2031
|
}
|
|
@@ -2050,8 +2065,8 @@ function td(e) {
|
|
|
2050
2065
|
function rd(e) {
|
|
2051
2066
|
return [e, this.get(e)];
|
|
2052
2067
|
}
|
|
2053
|
-
let id,
|
|
2054
|
-
function
|
|
2068
|
+
let id, Qa, Ja, nd;
|
|
2069
|
+
function xo() {
|
|
2055
2070
|
return id || (id = new ht(Ar([]), void 0, void 0, void 0, Qu));
|
|
2056
2071
|
}
|
|
2057
2072
|
function Tn(e, t, r, i, n) {
|
|
@@ -2094,24 +2109,24 @@ function ss(e) {
|
|
|
2094
2109
|
case "boolean":
|
|
2095
2110
|
return e ? 1 : 0;
|
|
2096
2111
|
case "object":
|
|
2097
|
-
if (
|
|
2098
|
-
if (e.W === ei) return
|
|
2112
|
+
if (tr(e)) return tr(e) && Kn(Ua), no(e);
|
|
2113
|
+
if (e.W === ei) return Za(e);
|
|
2099
2114
|
if (e instanceof vt) {
|
|
2100
2115
|
const t = e.g;
|
|
2101
|
-
return t == null ? "" : typeof t == "string" ? t : e.g =
|
|
2116
|
+
return t == null ? "" : typeof t == "string" ? t : e.g = no(t);
|
|
2102
2117
|
}
|
|
2103
2118
|
return e instanceof ht ? e.La() : void 0;
|
|
2104
2119
|
}
|
|
2105
2120
|
return e;
|
|
2106
2121
|
}
|
|
2107
|
-
function
|
|
2122
|
+
function Za(e) {
|
|
2108
2123
|
var t = e.u;
|
|
2109
2124
|
e = Pi(t, ss, void 0, void 0, !1);
|
|
2110
2125
|
var r = 0 | t[k];
|
|
2111
2126
|
if ((t = e.length) && !(512 & r)) {
|
|
2112
2127
|
var i = e[t - 1], n = !1;
|
|
2113
2128
|
Ii(i) ? (t--, n = !0) : i = void 0;
|
|
2114
|
-
var s = t - (r = 512 & r ? 0 : -1), a = (
|
|
2129
|
+
var s = t - (r = 512 & r ? 0 : -1), a = (Qa ?? Xu)(s, r, e, i);
|
|
2115
2130
|
if (i && (e[t] = void 0), s < a && i) {
|
|
2116
2131
|
for (var c in s = !0, i) {
|
|
2117
2132
|
const l = +c;
|
|
@@ -2129,9 +2144,9 @@ function ec(e) {
|
|
|
2129
2144
|
return e;
|
|
2130
2145
|
}
|
|
2131
2146
|
function Pt(e, t, r) {
|
|
2132
|
-
return e =
|
|
2147
|
+
return e = ec(e, t[0], t[1], r ? 1 : 2), t !== Ja && r && Si(e, 8192), e;
|
|
2133
2148
|
}
|
|
2134
|
-
function
|
|
2149
|
+
function ec(e, t, r, i) {
|
|
2135
2150
|
if (e == null) {
|
|
2136
2151
|
var n = 96;
|
|
2137
2152
|
r ? (e = [r], n |= 512) : e = [], t && (n = -16760833 & n | (1023 & t) << 14);
|
|
@@ -2161,7 +2176,7 @@ function tc(e, t, r, i) {
|
|
|
2161
2176
|
}
|
|
2162
2177
|
function jn(e, t, r = kn) {
|
|
2163
2178
|
if (e != null) {
|
|
2164
|
-
if (
|
|
2179
|
+
if (Fa && e instanceof Uint8Array) return t ? e : new Uint8Array(e);
|
|
2165
2180
|
if (Array.isArray(e)) {
|
|
2166
2181
|
var i = 0 | e[k];
|
|
2167
2182
|
return 2 & i ? e : (t && (t = i === 0 || !!(32 & i) && !(64 & i || !(16 & i))), t ? (de(e, 34 | i), 4 & i && Object.freeze(e), e) : Pi(e, jn, 4 & i ? kn : r, !0, !0));
|
|
@@ -2210,15 +2225,15 @@ function hi(e, t) {
|
|
|
2210
2225
|
const i = Tt(e, r, t), n = Gt(i);
|
|
2211
2226
|
return n != null && n !== i && Z(e, r, t, n), n;
|
|
2212
2227
|
}
|
|
2213
|
-
function
|
|
2228
|
+
function tc(e) {
|
|
2214
2229
|
let t = 0 | (e = e.u)[k];
|
|
2215
2230
|
const r = Tt(e, t, 1), i = Qn(r, !0);
|
|
2216
2231
|
return i != null && i !== r && Z(e, t, 1, i), i;
|
|
2217
2232
|
}
|
|
2218
|
-
function
|
|
2233
|
+
function Jt() {
|
|
2219
2234
|
return Du === void 0 ? 2 : 4;
|
|
2220
2235
|
}
|
|
2221
|
-
function
|
|
2236
|
+
function Zt(e, t, r, i, n) {
|
|
2222
2237
|
const s = e.u, a = 2 & (e = 0 | s[k]) ? 1 : i;
|
|
2223
2238
|
n = !!n;
|
|
2224
2239
|
let c = 0 | (i = os(s, e, t))[k];
|
|
@@ -2242,7 +2257,7 @@ function as(e, t) {
|
|
|
2242
2257
|
function bt(e) {
|
|
2243
2258
|
return !!(2 & e) && !!(4 & e) || !!(1024 & e);
|
|
2244
2259
|
}
|
|
2245
|
-
function
|
|
2260
|
+
function rc(e) {
|
|
2246
2261
|
e = Ne(e);
|
|
2247
2262
|
for (let t = 0; t < e.length; t++) {
|
|
2248
2263
|
const r = e[t] = Ne(e[t]);
|
|
@@ -2266,7 +2281,7 @@ function Nr(e, t, r, i) {
|
|
|
2266
2281
|
return n;
|
|
2267
2282
|
}
|
|
2268
2283
|
function fn(e, t) {
|
|
2269
|
-
var r =
|
|
2284
|
+
var r = Wc;
|
|
2270
2285
|
return ls(cs(e = e.u), e, 0 | e[k], r) === t ? t : -1;
|
|
2271
2286
|
}
|
|
2272
2287
|
function cs(e) {
|
|
@@ -2275,7 +2290,7 @@ function cs(e) {
|
|
|
2275
2290
|
const t = /* @__PURE__ */ new Map();
|
|
2276
2291
|
return Object.defineProperty(e, Dr, { value: t }), t;
|
|
2277
2292
|
}
|
|
2278
|
-
function
|
|
2293
|
+
function ic(e, t, r, i) {
|
|
2279
2294
|
const n = cs(e), s = ls(n, e, t, r);
|
|
2280
2295
|
return s !== i && (s && (t = Z(e, t, s)), n.set(r, i)), t;
|
|
2281
2296
|
}
|
|
@@ -2300,13 +2315,13 @@ function us(e, t, r) {
|
|
|
2300
2315
|
} else s = Pt(void 0, t, !0);
|
|
2301
2316
|
return s !== n && Z(e, i, r, s), s;
|
|
2302
2317
|
}
|
|
2303
|
-
function
|
|
2318
|
+
function nc(e, t, r) {
|
|
2304
2319
|
let i = 0 | (e = e.u)[k];
|
|
2305
2320
|
const n = Tt(e, i, r);
|
|
2306
2321
|
return (t = ns(n, t, !1, i)) !== n && t != null && Z(e, i, r, t), t;
|
|
2307
2322
|
}
|
|
2308
2323
|
function D(e, t, r) {
|
|
2309
|
-
if ((t =
|
|
2324
|
+
if ((t = nc(e, t, r)) == null) return t;
|
|
2310
2325
|
let i = 0 | (e = e.u)[k];
|
|
2311
2326
|
if (!(2 & i)) {
|
|
2312
2327
|
const n = Oi(t);
|
|
@@ -2314,7 +2329,7 @@ function D(e, t, r) {
|
|
|
2314
2329
|
}
|
|
2315
2330
|
return t;
|
|
2316
2331
|
}
|
|
2317
|
-
function
|
|
2332
|
+
function sc(e, t, r, i, n, s, a) {
|
|
2318
2333
|
e = e.u;
|
|
2319
2334
|
var c = !!(2 & t);
|
|
2320
2335
|
const l = c ? 1 : n;
|
|
@@ -2345,7 +2360,7 @@ function oc(e, t, r, i, n, s, a) {
|
|
|
2345
2360
|
}
|
|
2346
2361
|
function Et(e, t, r) {
|
|
2347
2362
|
const i = 0 | e.u[k];
|
|
2348
|
-
return
|
|
2363
|
+
return sc(e, i, t, r, Jt(), !1, !(2 & i));
|
|
2349
2364
|
}
|
|
2350
2365
|
function E(e, t, r, i) {
|
|
2351
2366
|
return i == null && (i = void 0), W(e, r, i);
|
|
@@ -2358,7 +2373,7 @@ function Vr(e, t, r, i) {
|
|
|
2358
2373
|
const s = cs(e);
|
|
2359
2374
|
if (ls(s, e, n, r) !== t) break e;
|
|
2360
2375
|
s.set(r, 0);
|
|
2361
|
-
} else n =
|
|
2376
|
+
} else n = ic(e, n, r, t);
|
|
2362
2377
|
Z(e, n, t, i);
|
|
2363
2378
|
}
|
|
2364
2379
|
}
|
|
@@ -2369,11 +2384,11 @@ function Dt(e, t, r) {
|
|
|
2369
2384
|
return 32 & t && r || (e &= -33), e;
|
|
2370
2385
|
}
|
|
2371
2386
|
function Bi(e, t, r) {
|
|
2372
|
-
Ut(0 | e.u[k]),
|
|
2387
|
+
Ut(0 | e.u[k]), Zt(e, t, gr, 2, !0).push(Xa(r));
|
|
2373
2388
|
}
|
|
2374
2389
|
function xi(e, t, r, i) {
|
|
2375
2390
|
const n = 0 | e.u[k];
|
|
2376
|
-
Ut(n), e =
|
|
2391
|
+
Ut(n), e = sc(e, n, r, t, 2, !0), i = i ?? new r(), e.push(i), e[k] = 2 & (0 | i.u[k]) ? -9 & e[k] : -17 & e[k];
|
|
2377
2392
|
}
|
|
2378
2393
|
function ze(e, t) {
|
|
2379
2394
|
return Tr(pr(e, t));
|
|
@@ -2407,24 +2422,24 @@ function yi(e, t, r) {
|
|
|
2407
2422
|
else {
|
|
2408
2423
|
var i = e = 0 | r[k], n = bt(e), s = n || Object.isFrozen(r);
|
|
2409
2424
|
for (n || (e = 0), s || (r = Ne(r), i = 0, e = Dt(e = _t(e, c), c, !0), s = !1), e |= 21, n = 0; n < r.length; n++) {
|
|
2410
|
-
const l = r[n], u =
|
|
2425
|
+
const l = r[n], u = Xa(l);
|
|
2411
2426
|
Object.is(l, u) || (s && (r = Ne(r), i = 0, e = Dt(e = _t(e, c), c, !0), s = !1), r[n] = u);
|
|
2412
2427
|
}
|
|
2413
2428
|
e !== i && (s && (r = Ne(r), e = Dt(e = _t(e, c), c, !0)), de(r, e)), Z(a, c, t, r);
|
|
2414
2429
|
}
|
|
2415
2430
|
}
|
|
2416
2431
|
}
|
|
2417
|
-
function
|
|
2432
|
+
function oc(e, t) {
|
|
2418
2433
|
return Error(`Invalid wire type: ${e} (at position ${t})`);
|
|
2419
2434
|
}
|
|
2420
2435
|
function ds() {
|
|
2421
2436
|
return Error("Failed to read varint, encoding is invalid.");
|
|
2422
2437
|
}
|
|
2423
|
-
function
|
|
2438
|
+
function ac(e, t) {
|
|
2424
2439
|
return Error(`Tried to read past the end of the data ${t} > ${e}`);
|
|
2425
2440
|
}
|
|
2426
2441
|
function hs(e) {
|
|
2427
|
-
if (typeof e == "string") return { buffer:
|
|
2442
|
+
if (typeof e == "string") return { buffer: Da(e), O: !1 };
|
|
2428
2443
|
if (Array.isArray(e)) return { buffer: new Uint8Array(e), O: !1 };
|
|
2429
2444
|
if (e.constructor === Uint8Array) return { buffer: e, O: !1 };
|
|
2430
2445
|
if (e.constructor === ArrayBuffer) return { buffer: new Uint8Array(e), O: !1 };
|
|
@@ -2440,7 +2455,7 @@ function fs(e, t) {
|
|
|
2440
2455
|
r = a[c++], i |= (127 & r) << s, s += 7;
|
|
2441
2456
|
while (s < 32 && 128 & r);
|
|
2442
2457
|
for (s > 32 && (n |= (127 & r) >> 4), s = 3; s < 32 && 128 & r; s += 7) r = a[c++], n |= (127 & r) << s;
|
|
2443
|
-
if (
|
|
2458
|
+
if (er(e, c), r < 128) return t(i >>> 0, n >>> 0);
|
|
2444
2459
|
throw ds();
|
|
2445
2460
|
}
|
|
2446
2461
|
function ws(e) {
|
|
@@ -2448,7 +2463,7 @@ function ws(e) {
|
|
|
2448
2463
|
const i = r + 10, n = e.h;
|
|
2449
2464
|
for (; r < i; ) {
|
|
2450
2465
|
const s = n[r++];
|
|
2451
|
-
if (t |= s, (128 & s) == 0) return
|
|
2466
|
+
if (t |= s, (128 & s) == 0) return er(e, r), !!(127 & t);
|
|
2452
2467
|
}
|
|
2453
2468
|
throw ds();
|
|
2454
2469
|
}
|
|
@@ -2456,7 +2471,7 @@ function Ot(e) {
|
|
|
2456
2471
|
const t = e.h;
|
|
2457
2472
|
let r = e.g, i = t[r++], n = 127 & i;
|
|
2458
2473
|
if (128 & i && (i = t[r++], n |= (127 & i) << 7, 128 & i && (i = t[r++], n |= (127 & i) << 14, 128 & i && (i = t[r++], n |= (127 & i) << 21, 128 & i && (i = t[r++], n |= i << 28, 128 & i && 128 & t[r++] && 128 & t[r++] && 128 & t[r++] && 128 & t[r++] && 128 & t[r++]))))) throw ds();
|
|
2459
|
-
return
|
|
2474
|
+
return er(e, r), n;
|
|
2460
2475
|
}
|
|
2461
2476
|
function At(e) {
|
|
2462
2477
|
return Ot(e) >>> 0;
|
|
@@ -2464,7 +2479,7 @@ function At(e) {
|
|
|
2464
2479
|
function Sn(e) {
|
|
2465
2480
|
var t = e.h;
|
|
2466
2481
|
const r = e.g, i = t[r], n = t[r + 1], s = t[r + 2];
|
|
2467
|
-
return t = t[r + 3],
|
|
2482
|
+
return t = t[r + 3], er(e, e.g + 4), (i << 0 | n << 8 | s << 16 | t << 24) >>> 0;
|
|
2468
2483
|
}
|
|
2469
2484
|
function Cn(e) {
|
|
2470
2485
|
var t = Sn(e);
|
|
@@ -2478,28 +2493,28 @@ function od(e) {
|
|
|
2478
2493
|
function wn(e, t, { aa: r = !1 } = {}) {
|
|
2479
2494
|
e.aa = r, t && (t = hs(t), e.h = t.buffer, e.m = t.O, e.j = 0, e.l = e.h.length, e.g = e.j);
|
|
2480
2495
|
}
|
|
2481
|
-
function
|
|
2482
|
-
if (e.g = t, t > e.l) throw
|
|
2496
|
+
function er(e, t) {
|
|
2497
|
+
if (e.g = t, t > e.l) throw ac(e.l, t);
|
|
2483
2498
|
}
|
|
2484
|
-
function
|
|
2499
|
+
function cc(e, t) {
|
|
2485
2500
|
if (t < 0) throw Error(`Tried to read a negative byte length: ${t}`);
|
|
2486
2501
|
const r = e.g, i = r + t;
|
|
2487
|
-
if (i > e.l) throw
|
|
2502
|
+
if (i > e.l) throw ac(t, e.l - r);
|
|
2488
2503
|
return e.g = i, r;
|
|
2489
2504
|
}
|
|
2490
|
-
function
|
|
2491
|
-
if (t == 0) return
|
|
2492
|
-
var r =
|
|
2493
|
-
return e.aa && e.m ? r = e.h.subarray(r, r + t) : (e = e.h, r = r === (t = r + t) ? new Uint8Array(0) : Wu ? e.slice(r, t) : new Uint8Array(e.subarray(r, t))), r.length == 0 ?
|
|
2505
|
+
function lc(e, t) {
|
|
2506
|
+
if (t == 0) return rr();
|
|
2507
|
+
var r = cc(e, t);
|
|
2508
|
+
return e.aa && e.m ? r = e.h.subarray(r, r + t) : (e = e.h, r = r === (t = r + t) ? new Uint8Array(0) : Wu ? e.slice(r, t) : new Uint8Array(e.subarray(r, t))), r.length == 0 ? rr() : new vt(r, fr);
|
|
2494
2509
|
}
|
|
2495
2510
|
ht.prototype.toJSON = void 0;
|
|
2496
|
-
var
|
|
2497
|
-
function
|
|
2511
|
+
var yo = [];
|
|
2512
|
+
function uc(e) {
|
|
2498
2513
|
var t = e.g;
|
|
2499
2514
|
if (t.g == t.l) return !1;
|
|
2500
2515
|
e.l = e.g.g;
|
|
2501
2516
|
var r = At(e.g);
|
|
2502
|
-
if (t = r >>> 3, !((r &= 7) >= 0 && r <= 5)) throw
|
|
2517
|
+
if (t = r >>> 3, !((r &= 7) >= 0 && r <= 5)) throw oc(r, e.l);
|
|
2503
2518
|
if (t < 1) throw Error(`Invalid field number: ${t} (at position ${e.l})`);
|
|
2504
2519
|
return e.m = t, e.h = r, !0;
|
|
2505
2520
|
}
|
|
@@ -2509,21 +2524,21 @@ function fi(e) {
|
|
|
2509
2524
|
e.h != 0 ? fi(e) : ws(e.g);
|
|
2510
2525
|
break;
|
|
2511
2526
|
case 1:
|
|
2512
|
-
|
|
2527
|
+
er(e = e.g, e.g + 8);
|
|
2513
2528
|
break;
|
|
2514
2529
|
case 2:
|
|
2515
2530
|
if (e.h != 2) fi(e);
|
|
2516
2531
|
else {
|
|
2517
2532
|
var t = At(e.g);
|
|
2518
|
-
|
|
2533
|
+
er(e = e.g, e.g + t);
|
|
2519
2534
|
}
|
|
2520
2535
|
break;
|
|
2521
2536
|
case 5:
|
|
2522
|
-
|
|
2537
|
+
er(e = e.g, e.g + 4);
|
|
2523
2538
|
break;
|
|
2524
2539
|
case 3:
|
|
2525
2540
|
for (t = e.m; ; ) {
|
|
2526
|
-
if (!
|
|
2541
|
+
if (!uc(e)) throw Error("Unmatched start-group tag: stream EOF");
|
|
2527
2542
|
if (e.h == 4) {
|
|
2528
2543
|
if (e.m != t) throw Error("Unmatched end-group tag");
|
|
2529
2544
|
break;
|
|
@@ -2532,7 +2547,7 @@ function fi(e) {
|
|
|
2532
2547
|
}
|
|
2533
2548
|
break;
|
|
2534
2549
|
default:
|
|
2535
|
-
throw
|
|
2550
|
+
throw oc(e.h, e.l);
|
|
2536
2551
|
}
|
|
2537
2552
|
}
|
|
2538
2553
|
function ti(e, t, r) {
|
|
@@ -2542,7 +2557,7 @@ function ti(e, t, r) {
|
|
|
2542
2557
|
return e.g.g = s, e.g.l = i, t;
|
|
2543
2558
|
}
|
|
2544
2559
|
function ms(e) {
|
|
2545
|
-
var t = At(e.g), r =
|
|
2560
|
+
var t = At(e.g), r = cc(e = e.g, t);
|
|
2546
2561
|
if (e = e.h, Au) {
|
|
2547
2562
|
var i, n = e;
|
|
2548
2563
|
(i = an) || (i = an = new TextDecoder("utf-8", { fatal: !0 })), t = r + t, n = r === 0 && t === n.length ? n : n.subarray(r, t);
|
|
@@ -2567,15 +2582,15 @@ function ms(e) {
|
|
|
2567
2582
|
let c, l = null;
|
|
2568
2583
|
for (; s < t; ) {
|
|
2569
2584
|
var a = e[s++];
|
|
2570
|
-
a < 128 ? r.push(a) : a < 224 ? s >= t ?
|
|
2585
|
+
a < 128 ? r.push(a) : a < 224 ? s >= t ? Yt() : (c = e[s++], a < 194 || (192 & c) != 128 ? (s--, Yt()) : r.push((31 & a) << 6 | 63 & c)) : a < 240 ? s >= t - 1 ? Yt() : (c = e[s++], (192 & c) != 128 || a === 224 && c < 160 || a === 237 && c >= 160 || (192 & (i = e[s++])) != 128 ? (s--, Yt()) : r.push((15 & a) << 12 | (63 & c) << 6 | 63 & i)) : a <= 244 ? s >= t - 2 ? Yt() : (c = e[s++], (192 & c) != 128 || c - 144 + (a << 28) >> 30 || (192 & (i = e[s++])) != 128 || (192 & (n = e[s++])) != 128 ? (s--, Yt()) : (a = (7 & a) << 18 | (63 & c) << 12 | (63 & i) << 6 | 63 & n, a -= 65536, r.push(55296 + (a >> 10 & 1023), 56320 + (1023 & a)))) : Yt(), r.length >= 8192 && (l = eo(l, r), r.length = 0);
|
|
2571
2586
|
}
|
|
2572
|
-
s =
|
|
2587
|
+
s = eo(l, r);
|
|
2573
2588
|
}
|
|
2574
2589
|
return s;
|
|
2575
2590
|
}
|
|
2576
|
-
function
|
|
2591
|
+
function dc(e) {
|
|
2577
2592
|
const t = At(e.g);
|
|
2578
|
-
return
|
|
2593
|
+
return lc(e.g, t);
|
|
2579
2594
|
}
|
|
2580
2595
|
function Ui(e, t, r) {
|
|
2581
2596
|
var i = At(e.g);
|
|
@@ -2587,13 +2602,13 @@ function Je(e, t, r) {
|
|
|
2587
2602
|
}
|
|
2588
2603
|
var y = class {
|
|
2589
2604
|
constructor(e, t) {
|
|
2590
|
-
this.u =
|
|
2605
|
+
this.u = ec(e, t);
|
|
2591
2606
|
}
|
|
2592
2607
|
toJSON() {
|
|
2593
2608
|
try {
|
|
2594
|
-
var e =
|
|
2609
|
+
var e = Za(this);
|
|
2595
2610
|
} finally {
|
|
2596
|
-
|
|
2611
|
+
Qa = void 0;
|
|
2597
2612
|
}
|
|
2598
2613
|
return e;
|
|
2599
2614
|
}
|
|
@@ -2609,7 +2624,7 @@ var y = class {
|
|
|
2609
2624
|
return !!(2 & (0 | this.u[k]));
|
|
2610
2625
|
}
|
|
2611
2626
|
};
|
|
2612
|
-
function
|
|
2627
|
+
function bo(e) {
|
|
2613
2628
|
return e ? /^\d+$/.test(e) ? (Li(e), new In($, re)) : null : ad || (ad = new In(0, 0));
|
|
2614
2629
|
}
|
|
2615
2630
|
y.prototype.W = ei, y.prototype.toString = function() {
|
|
@@ -2621,7 +2636,7 @@ var In = class {
|
|
|
2621
2636
|
}
|
|
2622
2637
|
};
|
|
2623
2638
|
let ad;
|
|
2624
|
-
function
|
|
2639
|
+
function vo(e) {
|
|
2625
2640
|
return e ? /^-?\d+$/.test(e) ? (Li(e), new Rn($, re)) : null : cd || (cd = new Rn(0, 0));
|
|
2626
2641
|
}
|
|
2627
2642
|
var Rn = class {
|
|
@@ -2676,7 +2691,7 @@ function Ze() {
|
|
|
2676
2691
|
};
|
|
2677
2692
|
return Object.setPrototypeOf(e, e.prototype), e;
|
|
2678
2693
|
}
|
|
2679
|
-
var xs = Ze(),
|
|
2694
|
+
var xs = Ze(), hc = Ze(), ys = Ze(), bs = Ze(), fc = Ze(), wc = Ze(), vs = Ze(), mc = Ze(), gc = Ze(), Cr = class {
|
|
2680
2695
|
constructor(e, t, r) {
|
|
2681
2696
|
this.g = e, this.h = t, e = xs, this.l = !!e && r === e || !1;
|
|
2682
2697
|
}
|
|
@@ -2684,23 +2699,23 @@ var xs = Ze(), fc = Ze(), ys = Ze(), bs = Ze(), wc = Ze(), mc = Ze(), vs = Ze(),
|
|
|
2684
2699
|
function $i(e, t) {
|
|
2685
2700
|
return new Cr(e, t, xs);
|
|
2686
2701
|
}
|
|
2687
|
-
function
|
|
2688
|
-
bi(e, r,
|
|
2702
|
+
function pc(e, t, r, i, n) {
|
|
2703
|
+
bi(e, r, vc(t, i), n);
|
|
2689
2704
|
}
|
|
2690
2705
|
const ld = $i(function(e, t, r, i, n) {
|
|
2691
2706
|
return e.h === 2 && (ti(e, us(t, i, r), n), !0);
|
|
2692
|
-
},
|
|
2707
|
+
}, pc), ud = $i(function(e, t, r, i, n) {
|
|
2693
2708
|
return e.h === 2 && (ti(e, us(t, i, r), n), !0);
|
|
2694
|
-
},
|
|
2695
|
-
var Wi = Symbol(), _s = Symbol(),
|
|
2696
|
-
let
|
|
2697
|
-
function
|
|
2709
|
+
}, pc);
|
|
2710
|
+
var Wi = Symbol(), _s = Symbol(), _o = Symbol(), ko = Symbol();
|
|
2711
|
+
let xc, yc;
|
|
2712
|
+
function nr(e, t, r, i) {
|
|
2698
2713
|
var n = i[e];
|
|
2699
2714
|
if (n) return n;
|
|
2700
2715
|
(n = {}).Ma = i, n.T = function(h) {
|
|
2701
2716
|
switch (typeof h) {
|
|
2702
2717
|
case "boolean":
|
|
2703
|
-
return
|
|
2718
|
+
return Ja || (Ja = [0, void 0, !0]);
|
|
2704
2719
|
case "number":
|
|
2705
2720
|
return h > 0 ? void 0 : h === 0 ? nd || (nd = [0, void 0]) : [-h, void 0];
|
|
2706
2721
|
case "string":
|
|
@@ -2711,7 +2726,7 @@ function tr(e, t, r, i) {
|
|
|
2711
2726
|
}(i[0]);
|
|
2712
2727
|
var s = i[1];
|
|
2713
2728
|
let a = 1;
|
|
2714
|
-
s && s.constructor === Object && (n.ga = s, typeof (s = i[++a]) == "function" && (n.la = !0,
|
|
2729
|
+
s && s.constructor === Object && (n.ga = s, typeof (s = i[++a]) == "function" && (n.la = !0, xc ?? (xc = s), yc ?? (yc = i[a + 1]), s = i[a += 2]));
|
|
2715
2730
|
const c = {};
|
|
2716
2731
|
for (; s && Array.isArray(s) && s.length && typeof s[0] == "number" && s[0] > 0; ) {
|
|
2717
2732
|
for (var l = 0; l < s.length; l++) c[s[l]] = s;
|
|
@@ -2733,10 +2748,10 @@ function tr(e, t, r, i) {
|
|
|
2733
2748
|
}
|
|
2734
2749
|
return i[e] = n;
|
|
2735
2750
|
}
|
|
2736
|
-
function
|
|
2751
|
+
function bc(e) {
|
|
2737
2752
|
return Array.isArray(e) ? e[0] instanceof Cr ? e : [ud, e] : [e, void 0];
|
|
2738
2753
|
}
|
|
2739
|
-
function
|
|
2754
|
+
function vc(e, t) {
|
|
2740
2755
|
return e instanceof y ? e.u : Array.isArray(e) ? Pt(e, t, !1) : void 0;
|
|
2741
2756
|
}
|
|
2742
2757
|
function ks(e, t, r, i) {
|
|
@@ -2746,29 +2761,29 @@ function ks(e, t, r, i) {
|
|
|
2746
2761
|
function Es(e, t, r, i, n) {
|
|
2747
2762
|
const s = r.g;
|
|
2748
2763
|
let a, c;
|
|
2749
|
-
e[t] = (l, u, d) => s(l, u, d, c || (c =
|
|
2764
|
+
e[t] = (l, u, d) => s(l, u, d, c || (c = nr(_s, ks, Es, i).T), a || (a = As(i)), n);
|
|
2750
2765
|
}
|
|
2751
2766
|
function As(e) {
|
|
2752
|
-
let t = e[
|
|
2767
|
+
let t = e[_o];
|
|
2753
2768
|
if (t != null) return t;
|
|
2754
|
-
const r =
|
|
2755
|
-
return t = r.la ? (i, n) =>
|
|
2769
|
+
const r = nr(_s, ks, Es, e);
|
|
2770
|
+
return t = r.la ? (i, n) => xc(i, n, r) : (i, n) => {
|
|
2756
2771
|
const s = 0 | i[k];
|
|
2757
|
-
for (;
|
|
2772
|
+
for (; uc(n) && n.h != 4; ) {
|
|
2758
2773
|
var a = n.m, c = r[a];
|
|
2759
2774
|
if (c == null) {
|
|
2760
2775
|
var l = r.ga;
|
|
2761
2776
|
l && (l = l[a]) && (l = dd(l)) != null && (c = r[a] = l);
|
|
2762
2777
|
}
|
|
2763
|
-
c != null && c(n, i, a) || (a = (c = n).l, fi(c), c.fa ? c = void 0 : (l = c.g.g - a, c.g.g = a, c =
|
|
2778
|
+
c != null && c(n, i, a) || (a = (c = n).l, fi(c), c.fa ? c = void 0 : (l = c.g.g - a, c.g.g = a, c = lc(c.g, l)), a = i, c && ((l = a[wr]) ? l.push(c) : a[wr] = [c]));
|
|
2764
2779
|
}
|
|
2765
2780
|
return 8192 & s && Ar(i), !0;
|
|
2766
|
-
}, e[
|
|
2781
|
+
}, e[_o] = t;
|
|
2767
2782
|
}
|
|
2768
2783
|
function dd(e) {
|
|
2769
|
-
const t = (e =
|
|
2784
|
+
const t = (e = bc(e))[0].g;
|
|
2770
2785
|
if (e = e[1]) {
|
|
2771
|
-
const r = As(e), i =
|
|
2786
|
+
const r = As(e), i = nr(_s, ks, Es, e).T;
|
|
2772
2787
|
return (n, s, a) => t(n, s, a, i, r);
|
|
2773
2788
|
}
|
|
2774
2789
|
return t;
|
|
@@ -2779,17 +2794,17 @@ function zi(e, t, r) {
|
|
|
2779
2794
|
function Hi(e, t, r, i) {
|
|
2780
2795
|
let n, s;
|
|
2781
2796
|
const a = r.h;
|
|
2782
|
-
e[t] = (c, l, u) => a(c, l, u, s || (s =
|
|
2797
|
+
e[t] = (c, l, u) => a(c, l, u, s || (s = nr(Wi, zi, Hi, i).T), n || (n = _c(i)));
|
|
2783
2798
|
}
|
|
2784
|
-
function
|
|
2785
|
-
let t = e[
|
|
2799
|
+
function _c(e) {
|
|
2800
|
+
let t = e[ko];
|
|
2786
2801
|
if (!t) {
|
|
2787
|
-
const r =
|
|
2788
|
-
t = (i, n) =>
|
|
2802
|
+
const r = nr(Wi, zi, Hi, e);
|
|
2803
|
+
t = (i, n) => kc(i, n, r), e[ko] = t;
|
|
2789
2804
|
}
|
|
2790
2805
|
return t;
|
|
2791
2806
|
}
|
|
2792
|
-
function
|
|
2807
|
+
function kc(e, t, r) {
|
|
2793
2808
|
(function(i, n, s) {
|
|
2794
2809
|
const a = 512 & n ? 0 : -1, c = i.length, l = c + ((n = 64 & n ? 256 & n : !!c && Ii(i[c - 1])) ? -1 : 0);
|
|
2795
2810
|
for (let u = 0; u < l; u++) s(u - a, i[u]);
|
|
@@ -2803,10 +2818,10 @@ function Ec(e, t, r) {
|
|
|
2803
2818
|
var l = a[c];
|
|
2804
2819
|
if (l) return l;
|
|
2805
2820
|
if ((l = a.ga) && (l = l[c])) {
|
|
2806
|
-
var u = (l =
|
|
2821
|
+
var u = (l = bc(l))[0].h;
|
|
2807
2822
|
if (l = l[1]) {
|
|
2808
|
-
const d =
|
|
2809
|
-
l = a.la ?
|
|
2823
|
+
const d = _c(l), h = nr(Wi, zi, Hi, l).T;
|
|
2824
|
+
l = a.la ? yc(h, d) : (f, w, m) => u(f, w, m, h, d);
|
|
2810
2825
|
} else l = u;
|
|
2811
2826
|
return a[c] = l;
|
|
2812
2827
|
}
|
|
@@ -2839,7 +2854,7 @@ function Ee(e, t, r) {
|
|
|
2839
2854
|
Z(e, 0 | e[k], t, r);
|
|
2840
2855
|
}
|
|
2841
2856
|
var hd = $i(function(e, t, r, i, n) {
|
|
2842
|
-
return e.h === 2 && (e = ti(e, Pt([void 0, void 0], i, !0), n), Ut(i = 0 | t[k]), (n = Tt(t, i, r)) instanceof ht ? 2 & n.M ? ((n = n.da()).push(e), Z(t, i, r, n)) : n.Ja(e) : Array.isArray(n) ? (2 & (0 | n[k]) && Z(t, i, r, n =
|
|
2857
|
+
return e.h === 2 && (e = ti(e, Pt([void 0, void 0], i, !0), n), Ut(i = 0 | t[k]), (n = Tt(t, i, r)) instanceof ht ? 2 & n.M ? ((n = n.da()).push(e), Z(t, i, r, n)) : n.Ja(e) : Array.isArray(n) ? (2 & (0 | n[k]) && Z(t, i, r, n = rc(n)), n.push(e)) : Z(t, i, r, [e]), !0);
|
|
2843
2858
|
}, function(e, t, r, i, n) {
|
|
2844
2859
|
if (t instanceof ht) t.forEach((s, a) => {
|
|
2845
2860
|
bi(e, r, Pt([a, s], i, !1), n);
|
|
@@ -2849,43 +2864,43 @@ var hd = $i(function(e, t, r, i, n) {
|
|
|
2849
2864
|
Array.isArray(a) && bi(e, r, Pt(a, i, !1), n);
|
|
2850
2865
|
}
|
|
2851
2866
|
});
|
|
2852
|
-
function
|
|
2867
|
+
function Ec(e, t, r) {
|
|
2853
2868
|
if (t = function(i) {
|
|
2854
2869
|
if (i == null) return i;
|
|
2855
2870
|
const n = typeof i;
|
|
2856
2871
|
if (n === "bigint") return String(Yr(64, i));
|
|
2857
2872
|
if (Kr(i)) {
|
|
2858
|
-
if (n === "string") return
|
|
2873
|
+
if (n === "string") return Ka(i);
|
|
2859
2874
|
if (n === "number") return is(i);
|
|
2860
2875
|
}
|
|
2861
|
-
}(t), t != null && (typeof t == "string" &&
|
|
2876
|
+
}(t), t != null && (typeof t == "string" && vo(t), t != null))
|
|
2862
2877
|
switch (Oe(e, r, 0), typeof t) {
|
|
2863
2878
|
case "number":
|
|
2864
|
-
e = e.g,
|
|
2879
|
+
e = e.g, ir(t), lr(e, $, re);
|
|
2865
2880
|
break;
|
|
2866
2881
|
case "bigint":
|
|
2867
2882
|
r = BigInt.asUintN(64, t), r = new Rn(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), lr(e.g, r.h, r.g);
|
|
2868
2883
|
break;
|
|
2869
2884
|
default:
|
|
2870
|
-
r =
|
|
2885
|
+
r = vo(t), lr(e.g, r.h, r.g);
|
|
2871
2886
|
}
|
|
2872
2887
|
}
|
|
2873
|
-
function
|
|
2888
|
+
function Ac(e, t, r) {
|
|
2874
2889
|
(t = Tr(t)) != null && t != null && (Oe(e, r, 0), Gi(e.g, t));
|
|
2875
2890
|
}
|
|
2891
|
+
function Tc(e, t, r) {
|
|
2892
|
+
(t = za(t)) != null && (Oe(e, r, 0), e.g.g.push(t ? 1 : 0));
|
|
2893
|
+
}
|
|
2876
2894
|
function jc(e, t, r) {
|
|
2877
|
-
(t =
|
|
2895
|
+
(t = gr(t)) != null && Vi(e, r, Ra(t));
|
|
2878
2896
|
}
|
|
2879
|
-
function Nc(e, t, r) {
|
|
2880
|
-
(
|
|
2897
|
+
function Nc(e, t, r, i, n) {
|
|
2898
|
+
bi(e, r, vc(t, i), n);
|
|
2881
2899
|
}
|
|
2882
|
-
function Sc(e, t, r
|
|
2883
|
-
|
|
2900
|
+
function Sc(e, t, r) {
|
|
2901
|
+
t == null || typeof t == "string" || t instanceof vt || (tr(t) ? tr(t) && Kn(Ua) : t = void 0), t != null && Vi(e, r, hs(t).buffer);
|
|
2884
2902
|
}
|
|
2885
2903
|
function Cc(e, t, r) {
|
|
2886
|
-
t == null || typeof t == "string" || t instanceof vt || (Jt(t) ? Jt(t) && Kn(Ga) : t = void 0), t != null && Vi(e, r, hs(t).buffer);
|
|
2887
|
-
}
|
|
2888
|
-
function Ic(e, t, r) {
|
|
2889
2904
|
return (e.h === 5 || e.h === 2) && (t = Nr(t, 0 | t[k], r, !1), e.h == 2 ? Ui(e, Cn, t) : t.push(Cn(e.g)), !0);
|
|
2890
2905
|
}
|
|
2891
2906
|
var xt = ke(function(e, t, r) {
|
|
@@ -2897,42 +2912,42 @@ var xt = ke(function(e, t, r) {
|
|
|
2897
2912
|
const s = n >>> 20 & 2047;
|
|
2898
2913
|
return e = 4294967296 * (1048575 & n) + e, Ee(t, r, s == 2047 ? e ? NaN : i * (1 / 0) : s == 0 ? 5e-324 * i * e : i * Math.pow(2, s - 1075) * (e + 4503599627370496)), !0;
|
|
2899
2914
|
}, function(e, t, r) {
|
|
2900
|
-
(t = Gt(t)) != null && (Oe(e, r, 1), e = e.g, (r =
|
|
2915
|
+
(t = Gt(t)) != null && (Oe(e, r, 1), e = e.g, (r = $a || ($a = new DataView(new ArrayBuffer(8)))).setFloat64(0, +t, !0), $ = r.getUint32(0, !0), re = r.getUint32(4, !0), Qr(e, $), Qr(e, re));
|
|
2901
2916
|
}, Ze()), he = ke(function(e, t, r) {
|
|
2902
2917
|
return e.h === 5 && (Ee(t, r, Cn(e.g)), !0);
|
|
2903
2918
|
}, function(e, t, r) {
|
|
2904
2919
|
(t = Gt(t)) != null && (Oe(e, r, 5), e = e.g, Zn(t), Qr(e, $));
|
|
2905
|
-
}, vs), fd = Rr(
|
|
2920
|
+
}, vs), fd = Rr(Cc, function(e, t, r) {
|
|
2906
2921
|
if ((t = Ir(Gt, t)) != null) for (let a = 0; a < t.length; a++) {
|
|
2907
2922
|
var i = e, n = r, s = t[a];
|
|
2908
2923
|
s != null && (Oe(i, n, 5), i = i.g, Zn(s), Qr(i, $));
|
|
2909
2924
|
}
|
|
2910
|
-
}, vs), Ts = Rr(
|
|
2925
|
+
}, vs), Ts = Rr(Cc, function(e, t, r) {
|
|
2911
2926
|
if ((t = Ir(Gt, t)) != null && t.length) {
|
|
2912
2927
|
Oe(e, r, 2), Sr(e.g, 4 * t.length);
|
|
2913
2928
|
for (let i = 0; i < t.length; i++) r = e.g, Zn(t[i]), Qr(r, $);
|
|
2914
2929
|
}
|
|
2915
2930
|
}, vs), Bt = ke(function(e, t, r) {
|
|
2916
2931
|
return e.h === 0 && (Ee(t, r, fs(e.g, ts)), !0);
|
|
2917
|
-
},
|
|
2932
|
+
}, Ec, wc), mn = ke(function(e, t, r) {
|
|
2918
2933
|
return e.h === 0 && (Ee(t, r, (e = fs(e.g, ts)) === 0 ? void 0 : e), !0);
|
|
2919
|
-
},
|
|
2934
|
+
}, Ec, wc), wd = ke(function(e, t, r) {
|
|
2920
2935
|
return e.h === 0 && (Ee(t, r, fs(e.g, es)), !0);
|
|
2921
2936
|
}, function(e, t, r) {
|
|
2922
|
-
if ((t = Yu(t)) != null && (typeof t == "string" &&
|
|
2937
|
+
if ((t = Yu(t)) != null && (typeof t == "string" && bo(t), t != null))
|
|
2923
2938
|
switch (Oe(e, r, 0), typeof t) {
|
|
2924
2939
|
case "number":
|
|
2925
|
-
e = e.g,
|
|
2940
|
+
e = e.g, ir(t), lr(e, $, re);
|
|
2926
2941
|
break;
|
|
2927
2942
|
case "bigint":
|
|
2928
2943
|
r = BigInt.asUintN(64, t), r = new In(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), lr(e.g, r.h, r.g);
|
|
2929
2944
|
break;
|
|
2930
2945
|
default:
|
|
2931
|
-
r =
|
|
2946
|
+
r = bo(t), lr(e.g, r.h, r.g);
|
|
2932
2947
|
}
|
|
2933
2948
|
}, Ze()), ie = ke(function(e, t, r) {
|
|
2934
2949
|
return e.h === 0 && (Ee(t, r, Ot(e.g)), !0);
|
|
2935
|
-
},
|
|
2950
|
+
}, Ac, bs), qi = Rr(function(e, t, r) {
|
|
2936
2951
|
return (e.h === 0 || e.h === 2) && (t = Nr(t, 0 | t[k], r, !1), e.h == 2 ? Ui(e, Ot, t) : t.push(Ot(e.g)), !0);
|
|
2937
2952
|
}, function(e, t, r) {
|
|
2938
2953
|
if ((t = Ir(Tr, t)) != null && t.length) {
|
|
@@ -2942,47 +2957,47 @@ var xt = ke(function(e, t, r) {
|
|
|
2942
2957
|
}
|
|
2943
2958
|
}, bs), cr = ke(function(e, t, r) {
|
|
2944
2959
|
return e.h === 0 && (Ee(t, r, (e = Ot(e.g)) === 0 ? void 0 : e), !0);
|
|
2945
|
-
},
|
|
2960
|
+
}, Ac, bs), K = ke(function(e, t, r) {
|
|
2946
2961
|
return e.h === 0 && (Ee(t, r, ws(e.g)), !0);
|
|
2947
|
-
},
|
|
2962
|
+
}, Tc, hc), ur = ke(function(e, t, r) {
|
|
2948
2963
|
return e.h === 0 && (Ee(t, r, (e = ws(e.g)) === !1 ? void 0 : e), !0);
|
|
2949
|
-
},
|
|
2964
|
+
}, Tc, hc), ye = Rr(function(e, t, r) {
|
|
2950
2965
|
return e.h === 2 && (e = ms(e), Nr(t, 0 | t[k], r, !1).push(e), !0);
|
|
2951
2966
|
}, function(e, t, r) {
|
|
2952
2967
|
if ((t = Ir(gr, t)) != null) for (let a = 0; a < t.length; a++) {
|
|
2953
2968
|
var i = e, n = r, s = t[a];
|
|
2954
|
-
s != null && Vi(i, n,
|
|
2969
|
+
s != null && Vi(i, n, Ra(s));
|
|
2955
2970
|
}
|
|
2956
2971
|
}, ys), Mt = ke(function(e, t, r) {
|
|
2957
2972
|
return e.h === 2 && (Ee(t, r, (e = ms(e)) === "" ? void 0 : e), !0);
|
|
2958
|
-
},
|
|
2973
|
+
}, jc, ys), G = ke(function(e, t, r) {
|
|
2959
2974
|
return e.h === 2 && (Ee(t, r, ms(e)), !0);
|
|
2960
|
-
},
|
|
2975
|
+
}, jc, ys), we = function(e, t, r = xs) {
|
|
2961
2976
|
return new Cr(e, t, r);
|
|
2962
2977
|
}(function(e, t, r, i, n) {
|
|
2963
2978
|
return e.h === 2 && (i = Pt(void 0, i, !0), Nr(t, 0 | t[k], r, !0).push(i), ti(e, i, n), !0);
|
|
2964
2979
|
}, function(e, t, r, i, n) {
|
|
2965
|
-
if (Array.isArray(t)) for (let s = 0; s < t.length; s++)
|
|
2980
|
+
if (Array.isArray(t)) for (let s = 0; s < t.length; s++) Nc(e, t[s], r, i, n);
|
|
2966
2981
|
}), U = $i(function(e, t, r, i, n, s) {
|
|
2967
|
-
return e.h === 2 && (
|
|
2968
|
-
},
|
|
2969
|
-
return e.h === 2 && (Ee(t, r,
|
|
2970
|
-
},
|
|
2982
|
+
return e.h === 2 && (ic(t, 0 | t[k], s, r), ti(e, t = us(t, i, r), n), !0);
|
|
2983
|
+
}, Nc), Ic = ke(function(e, t, r) {
|
|
2984
|
+
return e.h === 2 && (Ee(t, r, dc(e)), !0);
|
|
2985
|
+
}, Sc, mc), md = Rr(function(e, t, r) {
|
|
2971
2986
|
return (e.h === 0 || e.h === 2) && (t = Nr(t, 0 | t[k], r, !1), e.h == 2 ? Ui(e, At, t) : t.push(At(e.g)), !0);
|
|
2972
2987
|
}, function(e, t, r) {
|
|
2973
|
-
if ((t = Ir(
|
|
2988
|
+
if ((t = Ir(Ha, t)) != null) for (let a = 0; a < t.length; a++) {
|
|
2974
2989
|
var i = e, n = r, s = t[a];
|
|
2975
2990
|
s != null && (Oe(i, n, 0), Sr(i.g, s));
|
|
2976
2991
|
}
|
|
2977
|
-
},
|
|
2992
|
+
}, fc), gd = ke(function(e, t, r) {
|
|
2978
2993
|
return e.h === 0 && (Ee(t, r, (e = At(e.g)) === 0 ? void 0 : e), !0);
|
|
2979
2994
|
}, function(e, t, r) {
|
|
2980
|
-
(t =
|
|
2981
|
-
},
|
|
2995
|
+
(t = Ha(t)) != null && t != null && (Oe(e, r, 0), Sr(e.g, t));
|
|
2996
|
+
}, fc), Pe = ke(function(e, t, r) {
|
|
2982
2997
|
return e.h === 0 && (Ee(t, r, Ot(e.g)), !0);
|
|
2983
2998
|
}, function(e, t, r) {
|
|
2984
2999
|
(t = Tr(t)) != null && (t = parseInt(t, 10), Oe(e, r, 0), Gi(e.g, t));
|
|
2985
|
-
},
|
|
3000
|
+
}, gc);
|
|
2986
3001
|
class pd {
|
|
2987
3002
|
constructor(t, r) {
|
|
2988
3003
|
this.h = t, this.g = r, this.l = D, this.m = E, this.defaultValue = void 0;
|
|
@@ -3001,8 +3016,8 @@ function Vt(e, t) {
|
|
|
3001
3016
|
s.o(i), wn(s.g, r, i), r = s;
|
|
3002
3017
|
} else r = new class {
|
|
3003
3018
|
constructor(s, a) {
|
|
3004
|
-
if (
|
|
3005
|
-
const c =
|
|
3019
|
+
if (yo.length) {
|
|
3020
|
+
const c = yo.pop();
|
|
3006
3021
|
wn(c, s, a), s = c;
|
|
3007
3022
|
} else s = new class {
|
|
3008
3023
|
constructor(c, l) {
|
|
@@ -3046,7 +3061,7 @@ function Yi(e) {
|
|
|
3046
3061
|
}();
|
|
3047
3062
|
}
|
|
3048
3063
|
}();
|
|
3049
|
-
|
|
3064
|
+
kc(this.u, t, nr(Wi, zi, Hi, e)), xr(t, t.g.end());
|
|
3050
3065
|
const r = new Uint8Array(t.h), i = t.l, n = i.length;
|
|
3051
3066
|
let s = 0;
|
|
3052
3067
|
for (let a = 0; a < n; a++) {
|
|
@@ -3056,12 +3071,12 @@ function Yi(e) {
|
|
|
3056
3071
|
return t.l = [r], r;
|
|
3057
3072
|
};
|
|
3058
3073
|
}
|
|
3059
|
-
var
|
|
3074
|
+
var Eo = class extends y {
|
|
3060
3075
|
constructor(e) {
|
|
3061
3076
|
super(e);
|
|
3062
3077
|
}
|
|
3063
|
-
},
|
|
3064
|
-
return e.h === 2 && (Ee(t, r, (e =
|
|
3078
|
+
}, Ao = [0, Mt, ke(function(e, t, r) {
|
|
3079
|
+
return e.h === 2 && (Ee(t, r, (e = dc(e)) === rr() ? void 0 : e), !0);
|
|
3065
3080
|
}, function(e, t, r) {
|
|
3066
3081
|
if (t != null) {
|
|
3067
3082
|
if (t instanceof y) {
|
|
@@ -3070,16 +3085,16 @@ var Ao = class extends y {
|
|
|
3070
3085
|
}
|
|
3071
3086
|
if (Array.isArray(t)) return;
|
|
3072
3087
|
}
|
|
3073
|
-
|
|
3074
|
-
},
|
|
3075
|
-
let gn,
|
|
3076
|
-
function
|
|
3088
|
+
Sc(e, t, r);
|
|
3089
|
+
}, mc)];
|
|
3090
|
+
let gn, To = globalThis.trustedTypes;
|
|
3091
|
+
function jo(e) {
|
|
3077
3092
|
gn === void 0 && (gn = function() {
|
|
3078
3093
|
let r = null;
|
|
3079
|
-
if (!
|
|
3094
|
+
if (!To) return r;
|
|
3080
3095
|
try {
|
|
3081
3096
|
const i = (n) => n;
|
|
3082
|
-
r =
|
|
3097
|
+
r = To.createPolicy("goog#html", { createHTML: i, createScript: i, createScriptURL: i });
|
|
3083
3098
|
} catch {
|
|
3084
3099
|
}
|
|
3085
3100
|
return r;
|
|
@@ -3095,16 +3110,16 @@ function No(e) {
|
|
|
3095
3110
|
}(t ? t.createScriptURL(e) : e);
|
|
3096
3111
|
}
|
|
3097
3112
|
function xd(e, ...t) {
|
|
3098
|
-
if (t.length === 0) return
|
|
3113
|
+
if (t.length === 0) return jo(e[0]);
|
|
3099
3114
|
let r = e[0];
|
|
3100
3115
|
for (let i = 0; i < t.length; i++) r += encodeURIComponent(t[i]) + e[i + 1];
|
|
3101
|
-
return
|
|
3116
|
+
return jo(r);
|
|
3102
3117
|
}
|
|
3103
|
-
var
|
|
3118
|
+
var Rc = [0, ie, Pe, K, -1, qi, Pe, -1], yd = class extends y {
|
|
3104
3119
|
constructor(e) {
|
|
3105
3120
|
super(e);
|
|
3106
3121
|
}
|
|
3107
|
-
},
|
|
3122
|
+
}, Mc = [0, K, G, K, Pe, -1, Rr(function(e, t, r) {
|
|
3108
3123
|
return (e.h === 0 || e.h === 2) && (t = Nr(t, 0 | t[k], r, !1), e.h == 2 ? Ui(e, od, t) : t.push(Ot(e.g)), !0);
|
|
3109
3124
|
}, function(e, t, r) {
|
|
3110
3125
|
if ((t = Ir(Tr, t)) != null && t.length) {
|
|
@@ -3112,17 +3127,17 @@ var Mc = [0, ie, Pe, K, -1, qi, Pe, -1], yd = class extends y {
|
|
|
3112
3127
|
for (let i = 0; i < t.length; i++) Gi(e.g, t[i]);
|
|
3113
3128
|
ps(e, r);
|
|
3114
3129
|
}
|
|
3115
|
-
},
|
|
3130
|
+
}, gc), G, -1, [0, K, -1], Pe, K, -1], Lc = [0, G, -2], No = class extends y {
|
|
3116
3131
|
constructor(e) {
|
|
3117
3132
|
super(e);
|
|
3118
3133
|
}
|
|
3119
|
-
},
|
|
3134
|
+
}, Fc = [0], Pc = [0, ie, K, 1, K, -3], De = class extends y {
|
|
3120
3135
|
constructor(e) {
|
|
3121
3136
|
super(e, 2);
|
|
3122
3137
|
}
|
|
3123
3138
|
}, fe = {};
|
|
3124
|
-
fe[336783863] = [0, G, K, -1, ie, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], U,
|
|
3125
|
-
var
|
|
3139
|
+
fe[336783863] = [0, G, K, -1, ie, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], U, Fc, U, Mc, U, Lc, U, Pc, U, Rc, U, [0, G, -2], U, [0, G, Pe], U, [0, Pe, G, -1], U, [0, Pe, -1]], [0, G], K, [0, [1, 3], [2, 4], U, [0, qi], -1, U, [0, ye], -1, we, [0, G, -1]], G];
|
|
3140
|
+
var So = [0, mn, -1, ur, -3, mn, qi, Mt, cr, mn, -1, ur, cr, ur, -2, Mt];
|
|
3126
3141
|
function Be(e, t) {
|
|
3127
3142
|
Nn(e, 2, jr(t), "");
|
|
3128
3143
|
}
|
|
@@ -3139,7 +3154,7 @@ var _e = class extends y {
|
|
|
3139
3154
|
o(e) {
|
|
3140
3155
|
return E(this, 0, 7, e);
|
|
3141
3156
|
}
|
|
3142
|
-
}, $r = [-1, {}],
|
|
3157
|
+
}, $r = [-1, {}], Co = [0, G, 1, $r], Io = [0, G, ye, $r];
|
|
3143
3158
|
function Ue(e, t) {
|
|
3144
3159
|
xi(e, 1, _e, t);
|
|
3145
3160
|
}
|
|
@@ -3156,20 +3171,20 @@ var Ce = class extends y {
|
|
|
3156
3171
|
o(e) {
|
|
3157
3172
|
return E(this, 0, 1001, e);
|
|
3158
3173
|
}
|
|
3159
|
-
},
|
|
3160
|
-
Ce.prototype.g = Yi(
|
|
3161
|
-
var bd = Vt(Ce,
|
|
3174
|
+
}, Dc = [-500, we, [-500, Mt, -1, ye, -3, [-2, fe, K], we, Ao, cr, -1, Co, Io, we, [0, Mt, ur], Mt, So, cr, ye, 987, ye], 4, we, [-500, G, -1, [-1, {}], 998, G], we, [-500, G, ye, -1, [-2, {}, K], 997, ye, -1], cr, we, [-500, G, ye, $r, 998, ye], ye, cr, Co, Io, we, [0, Mt, -1, $r], ye, -2, So, Mt, -1, ur, [0, ur, gd], 978, $r, we, Ao];
|
|
3175
|
+
Ce.prototype.g = Yi(Dc);
|
|
3176
|
+
var bd = Vt(Ce, Dc), vd = class extends y {
|
|
3162
3177
|
constructor(e) {
|
|
3163
3178
|
super(e);
|
|
3164
3179
|
}
|
|
3165
|
-
},
|
|
3180
|
+
}, Oc = class extends y {
|
|
3166
3181
|
constructor(e) {
|
|
3167
3182
|
super(e);
|
|
3168
3183
|
}
|
|
3169
3184
|
g() {
|
|
3170
3185
|
return Et(this, vd, 1);
|
|
3171
3186
|
}
|
|
3172
|
-
},
|
|
3187
|
+
}, Bc = [0, we, [0, ie, he, G, -1]], Ki = Vt(Oc, Bc), _d = class extends y {
|
|
3173
3188
|
constructor(e) {
|
|
3174
3189
|
super(e);
|
|
3175
3190
|
}
|
|
@@ -3187,11 +3202,11 @@ var bd = Vt(Ce, Oc), vd = class extends y {
|
|
|
3187
3202
|
g() {
|
|
3188
3203
|
return Et(this, kd, 5);
|
|
3189
3204
|
}
|
|
3190
|
-
},
|
|
3205
|
+
}, Uc = Vt(class extends y {
|
|
3191
3206
|
constructor(e) {
|
|
3192
3207
|
super(e);
|
|
3193
3208
|
}
|
|
3194
|
-
}, [0, ye, qi, Ts, [0, Pe, [0, ie, -3], [0, he, -3], [0, ie, -1, [0, we, [0, ie, -2]]], we, [0, he, -1, G, he]], G, -1, Bt, we, [0, ie, he], ye, Bt]),
|
|
3209
|
+
}, [0, ye, qi, Ts, [0, Pe, [0, ie, -3], [0, he, -3], [0, ie, -1, [0, we, [0, ie, -2]]], we, [0, he, -1, G, he]], G, -1, Bt, we, [0, ie, he], ye, Bt]), Gc = class extends y {
|
|
3195
3210
|
constructor(e) {
|
|
3196
3211
|
super(e);
|
|
3197
3212
|
}
|
|
@@ -3199,7 +3214,7 @@ var bd = Vt(Ce, Oc), vd = class extends y {
|
|
|
3199
3214
|
constructor(e) {
|
|
3200
3215
|
super(e);
|
|
3201
3216
|
}
|
|
3202
|
-
}, [0, we, [0, he, -4]]),
|
|
3217
|
+
}, [0, we, [0, he, -4]]), Vc = class extends y {
|
|
3203
3218
|
constructor(e) {
|
|
3204
3219
|
super(e);
|
|
3205
3220
|
}
|
|
@@ -3211,12 +3226,12 @@ var bd = Vt(Ce, Oc), vd = class extends y {
|
|
|
3211
3226
|
constructor(e) {
|
|
3212
3227
|
super(e);
|
|
3213
3228
|
}
|
|
3214
|
-
}, Ad = [0, ie, -1, Ts, Pe],
|
|
3229
|
+
}, Ad = [0, ie, -1, Ts, Pe], $c = class extends y {
|
|
3215
3230
|
constructor(e) {
|
|
3216
3231
|
super(e);
|
|
3217
3232
|
}
|
|
3218
3233
|
};
|
|
3219
|
-
|
|
3234
|
+
$c.prototype.g = Yi([0, he, -4, Bt]);
|
|
3220
3235
|
var Td = class extends y {
|
|
3221
3236
|
constructor(e) {
|
|
3222
3237
|
super(e);
|
|
@@ -3225,7 +3240,7 @@ var Td = class extends y {
|
|
|
3225
3240
|
constructor(e) {
|
|
3226
3241
|
super(e);
|
|
3227
3242
|
}
|
|
3228
|
-
}, [0, we, [0, 1, ie, G,
|
|
3243
|
+
}, [0, we, [0, 1, ie, G, Bc], Bt]), Ro = class extends y {
|
|
3229
3244
|
constructor(e) {
|
|
3230
3245
|
super(e);
|
|
3231
3246
|
}
|
|
@@ -3234,26 +3249,26 @@ var Td = class extends y {
|
|
|
3234
3249
|
super(e);
|
|
3235
3250
|
}
|
|
3236
3251
|
ma() {
|
|
3237
|
-
const e =
|
|
3238
|
-
return e ??
|
|
3252
|
+
const e = tc(this);
|
|
3253
|
+
return e ?? rr();
|
|
3239
3254
|
}
|
|
3240
3255
|
}, Sd = class extends y {
|
|
3241
3256
|
constructor(e) {
|
|
3242
3257
|
super(e);
|
|
3243
3258
|
}
|
|
3244
|
-
},
|
|
3259
|
+
}, Wc = [1, 2], Cd = Vt(class extends y {
|
|
3245
3260
|
constructor(e) {
|
|
3246
3261
|
super(e);
|
|
3247
3262
|
}
|
|
3248
|
-
}, [0, we, [0,
|
|
3263
|
+
}, [0, we, [0, Wc, U, [0, Ts], U, [0, Ic], ie, G], Bt]), js = class extends y {
|
|
3249
3264
|
constructor(e) {
|
|
3250
3265
|
super(e);
|
|
3251
3266
|
}
|
|
3252
|
-
},
|
|
3267
|
+
}, zc = [0, G, ie, he, ye, -1], Mo = class extends y {
|
|
3253
3268
|
constructor(e) {
|
|
3254
3269
|
super(e);
|
|
3255
3270
|
}
|
|
3256
|
-
}, Id = [0, K, -1],
|
|
3271
|
+
}, Id = [0, K, -1], Lo = class extends y {
|
|
3257
3272
|
constructor(e) {
|
|
3258
3273
|
super(e);
|
|
3259
3274
|
}
|
|
@@ -3262,7 +3277,7 @@ var Td = class extends y {
|
|
|
3262
3277
|
super(e);
|
|
3263
3278
|
}
|
|
3264
3279
|
g() {
|
|
3265
|
-
return
|
|
3280
|
+
return tc(this) != null;
|
|
3266
3281
|
}
|
|
3267
3282
|
h() {
|
|
3268
3283
|
return He(this, 2) != null;
|
|
@@ -3272,9 +3287,9 @@ var Td = class extends y {
|
|
|
3272
3287
|
super(e);
|
|
3273
3288
|
}
|
|
3274
3289
|
g() {
|
|
3275
|
-
return
|
|
3290
|
+
return za(pr(this, 2)) ?? !1;
|
|
3276
3291
|
}
|
|
3277
|
-
},
|
|
3292
|
+
}, Hc = [0, Ic, G, [0, ie, Bt, -1], [0, wd, Bt]], ue = [0, Hc, K, [0, wi, U, Pc, U, Mc, U, Rc, U, Fc, U, Lc], Pe], Xi = class extends y {
|
|
3278
3293
|
constructor(e) {
|
|
3279
3294
|
super(e);
|
|
3280
3295
|
}
|
|
@@ -3284,23 +3299,23 @@ var Md = Vt(class extends y {
|
|
|
3284
3299
|
constructor(e) {
|
|
3285
3300
|
super(e);
|
|
3286
3301
|
}
|
|
3287
|
-
}, [0, [0, Pe, -1, fd, md], Ad]),
|
|
3302
|
+
}, [0, [0, Pe, -1, fd, md], Ad]), qc = class extends y {
|
|
3288
3303
|
constructor(e) {
|
|
3289
3304
|
super(e);
|
|
3290
3305
|
}
|
|
3291
|
-
},
|
|
3306
|
+
}, Yc = class extends y {
|
|
3292
3307
|
constructor(e) {
|
|
3293
3308
|
super(e);
|
|
3294
3309
|
}
|
|
3295
|
-
}, Ss = [0, ue, he, [0, ue], K],
|
|
3296
|
-
fe[508968150] =
|
|
3297
|
-
var
|
|
3310
|
+
}, Ss = [0, ue, he, [0, ue], K], Kc = [0, ue, Ns, Ss, he, [0, [0, Hc]]], Ld = et(508968150, Yc);
|
|
3311
|
+
fe[508968150] = Kc, fe[508968149] = Ss;
|
|
3312
|
+
var Xc = class extends y {
|
|
3298
3313
|
constructor(e) {
|
|
3299
3314
|
super(e);
|
|
3300
3315
|
}
|
|
3301
|
-
}, Fd = et(513916220,
|
|
3302
|
-
fe[513916220] = [0, ue,
|
|
3303
|
-
var
|
|
3316
|
+
}, Fd = et(513916220, Xc);
|
|
3317
|
+
fe[513916220] = [0, ue, Kc, ie];
|
|
3318
|
+
var sr = class extends y {
|
|
3304
3319
|
constructor(e) {
|
|
3305
3320
|
super(e);
|
|
3306
3321
|
}
|
|
@@ -3310,13 +3325,13 @@ var ir = class extends y {
|
|
|
3310
3325
|
g() {
|
|
3311
3326
|
W(this, 2);
|
|
3312
3327
|
}
|
|
3313
|
-
},
|
|
3314
|
-
fe[478825465] =
|
|
3328
|
+
}, Qc = [0, ue, zc];
|
|
3329
|
+
fe[478825465] = Qc;
|
|
3315
3330
|
var Pd = class extends y {
|
|
3316
3331
|
constructor(e) {
|
|
3317
3332
|
super(e);
|
|
3318
3333
|
}
|
|
3319
|
-
},
|
|
3334
|
+
}, Jc = class extends y {
|
|
3320
3335
|
constructor(e) {
|
|
3321
3336
|
super(e);
|
|
3322
3337
|
}
|
|
@@ -3328,53 +3343,53 @@ var Pd = class extends y {
|
|
|
3328
3343
|
constructor(e) {
|
|
3329
3344
|
super(e);
|
|
3330
3345
|
}
|
|
3331
|
-
},
|
|
3346
|
+
}, Zc = class extends y {
|
|
3332
3347
|
constructor(e) {
|
|
3333
3348
|
super(e);
|
|
3334
3349
|
}
|
|
3335
|
-
},
|
|
3336
|
-
fe[479097054] = [0, ue,
|
|
3350
|
+
}, Fo = [0, ue, [0, ue], Qc, -1], el = [0, ue, he, ie], Rs = [0, ue, he], tl = [0, ue, el, Rs, he], Dd = et(479097054, Zc);
|
|
3351
|
+
fe[479097054] = [0, ue, tl, Fo], fe[463370452] = Fo, fe[464864288] = el;
|
|
3337
3352
|
var Od = et(462713202, Is);
|
|
3338
|
-
fe[462713202] =
|
|
3353
|
+
fe[462713202] = tl, fe[474472470] = Rs;
|
|
3339
3354
|
var Bd = class extends y {
|
|
3340
3355
|
constructor(e) {
|
|
3341
3356
|
super(e);
|
|
3342
3357
|
}
|
|
3343
|
-
},
|
|
3358
|
+
}, rl = class extends y {
|
|
3344
3359
|
constructor(e) {
|
|
3345
3360
|
super(e);
|
|
3346
3361
|
}
|
|
3347
|
-
},
|
|
3362
|
+
}, il = class extends y {
|
|
3348
3363
|
constructor(e) {
|
|
3349
3364
|
super(e);
|
|
3350
3365
|
}
|
|
3351
|
-
},
|
|
3366
|
+
}, nl = class extends y {
|
|
3352
3367
|
constructor(e) {
|
|
3353
3368
|
super(e);
|
|
3354
3369
|
}
|
|
3355
3370
|
}, Ms = [0, ue, he, -1, ie], Mn = [0, ue, he, K];
|
|
3356
|
-
|
|
3357
|
-
var
|
|
3371
|
+
nl.prototype.g = Yi([0, ue, Rs, [0, ue], Ns, Ss, Ms, Mn]);
|
|
3372
|
+
var sl = class extends y {
|
|
3358
3373
|
constructor(e) {
|
|
3359
3374
|
super(e);
|
|
3360
3375
|
}
|
|
3361
|
-
}, Ud = et(456383383,
|
|
3362
|
-
fe[456383383] = [0, ue,
|
|
3363
|
-
var
|
|
3376
|
+
}, Ud = et(456383383, sl);
|
|
3377
|
+
fe[456383383] = [0, ue, zc];
|
|
3378
|
+
var ol = class extends y {
|
|
3364
3379
|
constructor(e) {
|
|
3365
3380
|
super(e);
|
|
3366
3381
|
}
|
|
3367
|
-
}, Gd = et(476348187,
|
|
3382
|
+
}, Gd = et(476348187, ol);
|
|
3368
3383
|
fe[476348187] = [0, ue, Id];
|
|
3369
|
-
var
|
|
3384
|
+
var al = class extends y {
|
|
3370
3385
|
constructor(e) {
|
|
3371
3386
|
super(e);
|
|
3372
3387
|
}
|
|
3373
|
-
},
|
|
3388
|
+
}, Po = class extends y {
|
|
3374
3389
|
constructor(e) {
|
|
3375
3390
|
super(e);
|
|
3376
3391
|
}
|
|
3377
|
-
},
|
|
3392
|
+
}, cl = [0, Pe, -1], Vd = et(458105876, class extends y {
|
|
3378
3393
|
constructor(e) {
|
|
3379
3394
|
super(e);
|
|
3380
3395
|
}
|
|
@@ -3382,51 +3397,51 @@ var cl = class extends y {
|
|
|
3382
3397
|
var e = this.u;
|
|
3383
3398
|
const t = 0 | e[k], r = 2 & t;
|
|
3384
3399
|
return e = function(i, n, s) {
|
|
3385
|
-
var a =
|
|
3400
|
+
var a = Po;
|
|
3386
3401
|
const c = 2 & n;
|
|
3387
3402
|
let l = !1;
|
|
3388
3403
|
if (s == null) {
|
|
3389
|
-
if (c) return
|
|
3404
|
+
if (c) return xo();
|
|
3390
3405
|
s = [];
|
|
3391
3406
|
} else if (s.constructor === ht) {
|
|
3392
3407
|
if (!(2 & s.M) || c) return s;
|
|
3393
3408
|
s = s.da();
|
|
3394
3409
|
} else Array.isArray(s) ? l = !!(2 & (0 | s[k])) : s = [];
|
|
3395
3410
|
if (c) {
|
|
3396
|
-
if (!s.length) return
|
|
3411
|
+
if (!s.length) return xo();
|
|
3397
3412
|
l || (l = !0, Ar(s));
|
|
3398
|
-
} else l && (l = !1, s =
|
|
3413
|
+
} else l && (l = !1, s = rc(s));
|
|
3399
3414
|
return l || (64 & (0 | s[k]) ? s[k] &= -33 : 32 & n && Si(s, 32)), Z(i, n, 2, a = new ht(s, a, Ku, void 0)), a;
|
|
3400
|
-
}(e, t, Tt(e, t, 2)), !r &&
|
|
3415
|
+
}(e, t, Tt(e, t, 2)), !r && Po && (e.pa = !0), e;
|
|
3401
3416
|
}
|
|
3402
3417
|
});
|
|
3403
|
-
fe[458105876] = [0,
|
|
3418
|
+
fe[458105876] = [0, cl, hd, [!0, Bt, [0, G, -1, ye]]];
|
|
3404
3419
|
var Ls = class extends y {
|
|
3405
3420
|
constructor(e) {
|
|
3406
3421
|
super(e);
|
|
3407
3422
|
}
|
|
3408
|
-
},
|
|
3409
|
-
fe[458105758] = [0, ue, G,
|
|
3410
|
-
var
|
|
3423
|
+
}, ll = et(458105758, Ls);
|
|
3424
|
+
fe[458105758] = [0, ue, G, cl];
|
|
3425
|
+
var ul = class extends y {
|
|
3411
3426
|
constructor(e) {
|
|
3412
3427
|
super(e);
|
|
3413
3428
|
}
|
|
3414
|
-
}, $d = et(443442058,
|
|
3429
|
+
}, $d = et(443442058, ul);
|
|
3415
3430
|
fe[443442058] = [0, ue, G, ie, he, ye, -1, K, he], fe[514774813] = Ms;
|
|
3416
|
-
var
|
|
3431
|
+
var dl = class extends y {
|
|
3417
3432
|
constructor(e) {
|
|
3418
3433
|
super(e);
|
|
3419
3434
|
}
|
|
3420
|
-
}, Wd = et(516587230,
|
|
3435
|
+
}, Wd = et(516587230, dl);
|
|
3421
3436
|
function Ln(e, t) {
|
|
3422
3437
|
return t = t ? t.clone() : new js(), e.displayNamesLocale !== void 0 ? W(t, 1, jr(e.displayNamesLocale)) : e.displayNamesLocale === void 0 && W(t, 1), e.maxResults !== void 0 ? ft(t, 2, e.maxResults) : "maxResults" in e && W(t, 2), e.scoreThreshold !== void 0 ? b(t, 3, e.scoreThreshold) : "scoreThreshold" in e && W(t, 3), e.categoryAllowlist !== void 0 ? yi(t, 4, e.categoryAllowlist) : "categoryAllowlist" in e && W(t, 4), e.categoryDenylist !== void 0 ? yi(t, 5, e.categoryDenylist) : "categoryDenylist" in e && W(t, 5), t;
|
|
3423
3438
|
}
|
|
3424
3439
|
function Fs(e, t = -1, r = "") {
|
|
3425
3440
|
return { categories: e.map((i) => ({ index: ze(i, 1) ?? 0 ?? -1, score: le(i, 2) ?? 0, categoryName: He(i, 3) ?? "" ?? "", displayName: He(i, 4) ?? "" ?? "" })), headIndex: t, headName: r };
|
|
3426
3441
|
}
|
|
3427
|
-
function
|
|
3442
|
+
function hl(e) {
|
|
3428
3443
|
var a, c;
|
|
3429
|
-
var t =
|
|
3444
|
+
var t = Zt(e, 3, Gt, Jt()), r = Zt(e, 2, Tr, Jt()), i = Zt(e, 1, gr, Jt()), n = Zt(e, 9, gr, Jt());
|
|
3430
3445
|
const s = { categories: [], keypoints: [] };
|
|
3431
3446
|
for (let l = 0; l < t.length; l++) s.categories.push({ score: t[l], index: r[l] ?? -1, categoryName: i[l] ?? "", displayName: n[l] ?? "" });
|
|
3432
3447
|
if ((t = (a = D(e, pn, 4)) == null ? void 0 : a.h()) && (s.boundingBox = { originX: ze(t, 1) ?? 0, originY: ze(t, 2) ?? 0, width: ze(t, 3) ?? 0, height: ze(t, 4) ?? 0, angle: 0 }), (c = D(e, pn, 4)) == null ? void 0 : c.g().length) for (const l of D(e, pn, 4).g()) s.keypoints.push({ x: hi(l, 1) ?? 0, y: hi(l, 2) ?? 0, score: hi(l, 4) ?? 0, label: He(l, 3) ?? "" });
|
|
@@ -3434,18 +3449,18 @@ function fl(e) {
|
|
|
3434
3449
|
}
|
|
3435
3450
|
function Qi(e) {
|
|
3436
3451
|
const t = [];
|
|
3437
|
-
for (const r of Et(e,
|
|
3452
|
+
for (const r of Et(e, Vc, 1)) t.push({ x: le(r, 1) ?? 0, y: le(r, 2) ?? 0, z: le(r, 3) ?? 0, visibility: le(r, 4) ?? 0 });
|
|
3438
3453
|
return t;
|
|
3439
3454
|
}
|
|
3440
3455
|
function Wr(e) {
|
|
3441
3456
|
const t = [];
|
|
3442
|
-
for (const r of Et(e,
|
|
3457
|
+
for (const r of Et(e, Gc, 1)) t.push({ x: le(r, 1) ?? 0, y: le(r, 2) ?? 0, z: le(r, 3) ?? 0, visibility: le(r, 4) ?? 0 });
|
|
3443
3458
|
return t;
|
|
3444
3459
|
}
|
|
3445
|
-
function
|
|
3460
|
+
function Do(e) {
|
|
3446
3461
|
return Array.from(e, (t) => t > 127 ? t - 256 : t);
|
|
3447
3462
|
}
|
|
3448
|
-
function
|
|
3463
|
+
function Oo(e, t) {
|
|
3449
3464
|
if (e.length !== t.length) throw Error(`Cannot compute cosine similarity between embeddings of different sizes (${e.length} vs. ${t.length}).`);
|
|
3450
3465
|
let r = 0, i = 0, n = 0;
|
|
3451
3466
|
for (let s = 0; s < e.length; s++) r += e[s] * t[s], i += e[s] * e[s], n += t[s] * t[s];
|
|
@@ -3455,7 +3470,7 @@ function Bo(e, t) {
|
|
|
3455
3470
|
let ai;
|
|
3456
3471
|
fe[516587230] = [0, ue, Ms, Mn, he], fe[518928384] = Mn;
|
|
3457
3472
|
const zd = 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]);
|
|
3458
|
-
async function
|
|
3473
|
+
async function fl() {
|
|
3459
3474
|
if (ai === void 0) try {
|
|
3460
3475
|
await WebAssembly.instantiate(zd), ai = !0;
|
|
3461
3476
|
} catch {
|
|
@@ -3464,18 +3479,18 @@ async function wl() {
|
|
|
3464
3479
|
return ai;
|
|
3465
3480
|
}
|
|
3466
3481
|
async function Or(e, t = xd``) {
|
|
3467
|
-
const r = await
|
|
3482
|
+
const r = await fl() ? "wasm_internal" : "wasm_nosimd_internal";
|
|
3468
3483
|
return { wasmLoaderPath: `${t}/${e}_${r}.js`, wasmBinaryPath: `${t}/${e}_${r}.wasm` };
|
|
3469
3484
|
}
|
|
3470
|
-
var
|
|
3485
|
+
var Qt = class {
|
|
3471
3486
|
};
|
|
3472
|
-
function
|
|
3487
|
+
function wl() {
|
|
3473
3488
|
var e = navigator;
|
|
3474
3489
|
return typeof OffscreenCanvas < "u" && (!function(t = navigator) {
|
|
3475
3490
|
return (t = t.userAgent).includes("Safari") && !t.includes("Chrome");
|
|
3476
3491
|
}(e) || !!((e = e.userAgent.match(/Version\/([\d]+).*Safari/)) && e.length >= 1 && Number(e[1]) >= 17));
|
|
3477
3492
|
}
|
|
3478
|
-
async function
|
|
3493
|
+
async function Bo(e) {
|
|
3479
3494
|
if (typeof importScripts != "function") {
|
|
3480
3495
|
const t = document.createElement("script");
|
|
3481
3496
|
return t.src = e.toString(), t.crossOrigin = "anonymous", new Promise((r, i) => {
|
|
@@ -3488,20 +3503,20 @@ async function Uo(e) {
|
|
|
3488
3503
|
}
|
|
3489
3504
|
importScripts(e.toString());
|
|
3490
3505
|
}
|
|
3491
|
-
function
|
|
3506
|
+
function ml(e) {
|
|
3492
3507
|
return e.videoWidth !== void 0 ? [e.videoWidth, e.videoHeight] : e.naturalWidth !== void 0 ? [e.naturalWidth, e.naturalHeight] : e.displayWidth !== void 0 ? [e.displayWidth, e.displayHeight] : [e.width, e.height];
|
|
3493
3508
|
}
|
|
3494
3509
|
function _(e, t, r) {
|
|
3495
3510
|
e.m || console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target"), r(t = e.i.stringToNewUTF8(t)), e.i._free(t);
|
|
3496
3511
|
}
|
|
3497
|
-
function
|
|
3512
|
+
function Uo(e, t, r) {
|
|
3498
3513
|
if (!e.i.canvas) throw Error("No OpenGL canvas configured.");
|
|
3499
3514
|
if (r ? e.i._bindTextureToStream(r) : e.i._bindTextureToCanvas(), !(r = e.i.canvas.getContext("webgl2") || e.i.canvas.getContext("webgl"))) throw Error("Failed to obtain WebGL context from the provided canvas. `getContext()` should only be invoked with `webgl` or `webgl2`.");
|
|
3500
3515
|
e.i.gpuOriginForWebTexturesIsBottomLeft && r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL, !0), r.texImage2D(r.TEXTURE_2D, 0, r.RGBA, r.RGBA, r.UNSIGNED_BYTE, t), e.i.gpuOriginForWebTexturesIsBottomLeft && r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL, !1);
|
|
3501
|
-
const [i, n] =
|
|
3516
|
+
const [i, n] = ml(t);
|
|
3502
3517
|
return !e.l || i === e.i.canvas.width && n === e.i.canvas.height || (e.i.canvas.width = i, e.i.canvas.height = n), [i, n];
|
|
3503
3518
|
}
|
|
3504
|
-
function
|
|
3519
|
+
function Go(e, t, r) {
|
|
3505
3520
|
e.m || console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target");
|
|
3506
3521
|
const i = new Uint32Array(t.length);
|
|
3507
3522
|
for (let n = 0; n < t.length; n++) i[n] = e.i.stringToNewUTF8(t[n]);
|
|
@@ -3518,22 +3533,22 @@ function It(e, t, r) {
|
|
|
3518
3533
|
s ? (r(i, a), i = []) : i.push(n);
|
|
3519
3534
|
};
|
|
3520
3535
|
}
|
|
3521
|
-
|
|
3536
|
+
Qt.forVisionTasks = function(e) {
|
|
3522
3537
|
return Or("vision", e);
|
|
3523
|
-
},
|
|
3538
|
+
}, Qt.forTextTasks = function(e) {
|
|
3524
3539
|
return Or("text", e);
|
|
3525
|
-
},
|
|
3540
|
+
}, Qt.forGenAiExperimentalTasks = function(e) {
|
|
3526
3541
|
return Or("genai_experimental", e);
|
|
3527
|
-
},
|
|
3542
|
+
}, Qt.forGenAiTasks = function(e) {
|
|
3528
3543
|
return Or("genai", e);
|
|
3529
|
-
},
|
|
3544
|
+
}, Qt.forAudioTasks = function(e) {
|
|
3530
3545
|
return Or("audio", e);
|
|
3531
|
-
},
|
|
3532
|
-
return
|
|
3546
|
+
}, Qt.isSimdSupported = function() {
|
|
3547
|
+
return fl();
|
|
3533
3548
|
};
|
|
3534
3549
|
async function Hd(e, t, r, i) {
|
|
3535
3550
|
return e = await (async (n, s, a, c, l) => {
|
|
3536
|
-
if (s && await
|
|
3551
|
+
if (s && await Bo(s), !self.ModuleFactory || a && (await Bo(a), !self.ModuleFactory)) throw Error("ModuleFactory not set.");
|
|
3537
3552
|
return self.Module && l && ((s = self.Module).locateFile = l.locateFile, l.mainScriptUrlOrBlob && (s.mainScriptUrlOrBlob = l.mainScriptUrlOrBlob)), l = await self.ModuleFactory(self.Module || l), self.ModuleFactory = self.Module = void 0, new n(l, c);
|
|
3538
3553
|
})(e, r.wasmLoaderPath, r.assetLoaderPath, t, { locateFile: (n) => n.endsWith(".wasm") ? r.wasmBinaryPath.toString() : r.assetBinaryPath && n.endsWith(".data") ? r.assetBinaryPath.toString() : n }), await e.o(i), e;
|
|
3539
3554
|
}
|
|
@@ -3541,7 +3556,7 @@ function xn(e, t) {
|
|
|
3541
3556
|
const r = D(e.baseOptions, vi, 1) || new vi();
|
|
3542
3557
|
typeof t == "string" ? (W(r, 2, jr(t)), W(r, 1)) : t instanceof Uint8Array && (W(r, 1, Qn(t, !1)), W(r, 2)), E(e.baseOptions, 0, 1, r);
|
|
3543
3558
|
}
|
|
3544
|
-
function
|
|
3559
|
+
function Vo(e) {
|
|
3545
3560
|
try {
|
|
3546
3561
|
const t = e.G.length;
|
|
3547
3562
|
if (t === 1) throw Error(e.G[0].message);
|
|
@@ -3573,12 +3588,12 @@ var Fn = class {
|
|
|
3573
3588
|
if ((r = e.baseOptions) != null && r.modelAssetBuffer && ((i = e.baseOptions) != null && i.modelAssetPath)) throw Error("Cannot set both baseOptions.modelAssetPath and baseOptions.modelAssetBuffer");
|
|
3574
3589
|
if (!((n = D(this.baseOptions, vi, 1)) != null && n.g() || (s = D(this.baseOptions, vi, 1)) != null && s.h() || (a = e.baseOptions) != null && a.modelAssetBuffer || (c = e.baseOptions) != null && c.modelAssetPath)) throw Error("Either baseOptions.modelAssetPath or baseOptions.modelAssetBuffer must be set");
|
|
3575
3590
|
if (function(u, d) {
|
|
3576
|
-
let h = D(u.baseOptions,
|
|
3591
|
+
let h = D(u.baseOptions, Lo, 3);
|
|
3577
3592
|
if (!h) {
|
|
3578
|
-
var f = h = new
|
|
3593
|
+
var f = h = new Lo(), w = new No();
|
|
3579
3594
|
Vr(f, 4, wi, w);
|
|
3580
3595
|
}
|
|
3581
|
-
"delegate" in d && (d.delegate === "GPU" ? (d = h, f = new yd(), Vr(d, 2, wi, f)) : (d = h, f = new
|
|
3596
|
+
"delegate" in d && (d.delegate === "GPU" ? (d = h, f = new yd(), Vr(d, 2, wi, f)) : (d = h, f = new No(), Vr(d, 4, wi, f))), E(u.baseOptions, 0, 3, h);
|
|
3582
3597
|
}(this, l), l.modelAssetPath) return fetch(l.modelAssetPath.toString()).then((u) => {
|
|
3583
3598
|
if (u.ok) return u.arrayBuffer();
|
|
3584
3599
|
throw Error(`Failed to fetch model: ${l.modelAssetPath} (${u.status})`);
|
|
@@ -3620,10 +3635,10 @@ var Fn = class {
|
|
|
3620
3635
|
setGraph(e, t) {
|
|
3621
3636
|
this.g.attachErrorListener((r, i) => {
|
|
3622
3637
|
this.G.push(Error(i));
|
|
3623
|
-
}), this.g.Ha(), this.g.setGraph(e, t), this.A = void 0,
|
|
3638
|
+
}), this.g.Ha(), this.g.setGraph(e, t), this.A = void 0, Vo(this);
|
|
3624
3639
|
}
|
|
3625
3640
|
finishProcessing() {
|
|
3626
|
-
this.g.finishProcessing(),
|
|
3641
|
+
this.g.finishProcessing(), Vo(this);
|
|
3627
3642
|
}
|
|
3628
3643
|
close() {
|
|
3629
3644
|
this.A = void 0, this.g.closeGraph();
|
|
@@ -3645,12 +3660,12 @@ class qd {
|
|
|
3645
3660
|
this.g.deleteVertexArray(this.h), this.g.deleteBuffer(this.m), this.g.deleteBuffer(this.l);
|
|
3646
3661
|
}
|
|
3647
3662
|
}
|
|
3648
|
-
function
|
|
3663
|
+
function $o(e, t, r) {
|
|
3649
3664
|
const i = e.g;
|
|
3650
3665
|
if (r = kt(i.createShader(r), "Failed to create WebGL shader"), i.shaderSource(r, t), i.compileShader(r), !i.getShaderParameter(r, i.COMPILE_STATUS)) throw Error(`Could not compile WebGL shader: ${i.getShaderInfoLog(r)}`);
|
|
3651
3666
|
return i.attachShader(e.h, r), r;
|
|
3652
3667
|
}
|
|
3653
|
-
function
|
|
3668
|
+
function Wo(e, t) {
|
|
3654
3669
|
const r = e.g, i = kt(r.createVertexArray(), "Failed to create vertex array");
|
|
3655
3670
|
r.bindVertexArray(i);
|
|
3656
3671
|
const n = kt(r.createBuffer(), "Failed to create buffer");
|
|
@@ -3664,7 +3679,7 @@ function Ps(e, t) {
|
|
|
3664
3679
|
} else e.g = t;
|
|
3665
3680
|
}
|
|
3666
3681
|
function Ds(e, t, r, i) {
|
|
3667
|
-
return Ps(e, t), e.h || (e.m(), e.C()), r ? (e.s || (e.s =
|
|
3682
|
+
return Ps(e, t), e.h || (e.m(), e.C()), r ? (e.s || (e.s = Wo(e, !0)), r = e.s) : (e.v || (e.v = Wo(e, !1)), r = e.v), t.useProgram(e.h), r.bind(), e.l(), e = i(), r.g.bindVertexArray(null), e;
|
|
3668
3683
|
}
|
|
3669
3684
|
function en(e, t, r) {
|
|
3670
3685
|
return Ps(e, t), e = kt(t.createTexture(), "Failed to create texture"), t.bindTexture(t.TEXTURE_2D, e), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_WRAP_S, t.CLAMP_TO_EDGE), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_WRAP_T, t.CLAMP_TO_EDGE), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MIN_FILTER, r ?? t.LINEAR), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MAG_FILTER, r ?? t.LINEAR), t.bindTexture(t.TEXTURE_2D, null), e;
|
|
@@ -3689,14 +3704,14 @@ var Bs = class {
|
|
|
3689
3704
|
}
|
|
3690
3705
|
m() {
|
|
3691
3706
|
const e = this.g;
|
|
3692
|
-
if (this.h = kt(e.createProgram(), "Failed to create WebGL program"), this.Z =
|
|
3707
|
+
if (this.h = kt(e.createProgram(), "Failed to create WebGL program"), this.Z = $o(this, `
|
|
3693
3708
|
attribute vec2 aVertex;
|
|
3694
3709
|
attribute vec2 aTex;
|
|
3695
3710
|
varying vec2 vTex;
|
|
3696
3711
|
void main(void) {
|
|
3697
3712
|
gl_Position = vec4(aVertex, 0.0, 1.0);
|
|
3698
3713
|
vTex = aTex;
|
|
3699
|
-
}`, e.VERTEX_SHADER), this.Y =
|
|
3714
|
+
}`, e.VERTEX_SHADER), this.Y = $o(this, this.G(), e.FRAGMENT_SHADER), e.linkProgram(this.h), !e.getProgramParameter(this.h, e.LINK_STATUS)) throw Error(`Error during program linking: ${e.getProgramInfoLog(this.h)}`);
|
|
3700
3715
|
this.P = e.getAttribLocation(this.h, "aVertex"), this.J = e.getAttribLocation(this.h, "aTex");
|
|
3701
3716
|
}
|
|
3702
3717
|
C() {
|
|
@@ -3731,7 +3746,7 @@ function Pn(e) {
|
|
|
3731
3746
|
t = new Float32Array(e.width * e.height);
|
|
3732
3747
|
const i = br(e);
|
|
3733
3748
|
var r = Us(e);
|
|
3734
|
-
if (tn(r, i,
|
|
3749
|
+
if (tn(r, i, gl(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) {
|
|
3735
3750
|
r = new Float32Array(e.width * e.height * 4), i.readPixels(0, 0, e.width, e.height, i.RGBA, i.FLOAT, r);
|
|
3736
3751
|
for (let n = 0, s = 0; n < t.length; ++n, s += 4) t[n] = r[s];
|
|
3737
3752
|
} else i.readPixels(0, 0, e.width, e.height, i.RED, i.FLOAT, t);
|
|
@@ -3740,12 +3755,12 @@ function Pn(e) {
|
|
|
3740
3755
|
}
|
|
3741
3756
|
return t;
|
|
3742
3757
|
}
|
|
3743
|
-
function
|
|
3758
|
+
function gl(e) {
|
|
3744
3759
|
let t = yt(e, 2);
|
|
3745
3760
|
if (!t) {
|
|
3746
3761
|
const r = br(e);
|
|
3747
|
-
t =
|
|
3748
|
-
const i = Pn(e), n =
|
|
3762
|
+
t = xl(e);
|
|
3763
|
+
const i = Pn(e), n = pl(e);
|
|
3749
3764
|
r.texImage2D(r.TEXTURE_2D, 0, n, e.width, e.height, 0, r.RED, r.FLOAT, i), Dn(e);
|
|
3750
3765
|
}
|
|
3751
3766
|
return t;
|
|
@@ -3754,7 +3769,7 @@ function br(e) {
|
|
|
3754
3769
|
if (!e.canvas) throw Error("Conversion to different image formats require that a canvas is passed when initializing the image.");
|
|
3755
3770
|
return e.h || (e.h = kt(e.canvas.getContext("webgl2"), "You cannot use a canvas that is already bound to a different type of rendering context.")), e.h;
|
|
3756
3771
|
}
|
|
3757
|
-
function
|
|
3772
|
+
function pl(e) {
|
|
3758
3773
|
if (e = br(e), !ci) if (e.getExtension("EXT_color_buffer_float") && e.getExtension("OES_texture_float_linear") && e.getExtension("EXT_float_blend")) ci = e.R32F;
|
|
3759
3774
|
else {
|
|
3760
3775
|
if (!e.getExtension("EXT_color_buffer_half_float")) throw Error("GPU does not fully support 4-channel float32 or float16 formats");
|
|
@@ -3765,7 +3780,7 @@ function xl(e) {
|
|
|
3765
3780
|
function Us(e) {
|
|
3766
3781
|
return e.l || (e.l = new Bs()), e.l;
|
|
3767
3782
|
}
|
|
3768
|
-
function
|
|
3783
|
+
function xl(e) {
|
|
3769
3784
|
const t = br(e);
|
|
3770
3785
|
t.viewport(0, 0, e.width, e.height), t.activeTexture(t.TEXTURE0);
|
|
3771
3786
|
let r = yt(e, 2);
|
|
@@ -3776,7 +3791,7 @@ function Dn(e) {
|
|
|
3776
3791
|
}
|
|
3777
3792
|
var ci, me = class {
|
|
3778
3793
|
constructor(e, t, r, i, n, s, a) {
|
|
3779
|
-
this.g = e, this.m = t, this.j = r, this.canvas = i, this.l = n, this.width = s, this.height = a, this.j && --
|
|
3794
|
+
this.g = e, this.m = t, this.j = r, this.canvas = i, this.l = n, this.width = s, this.height = a, this.j && --zo === 0 && console.error("You seem to be creating MPMask instances without invoking .close(). This leaks resources.");
|
|
3780
3795
|
}
|
|
3781
3796
|
Da() {
|
|
3782
3797
|
return !!yt(this, 0);
|
|
@@ -3795,7 +3810,7 @@ var ci, me = class {
|
|
|
3795
3810
|
return Pn(this);
|
|
3796
3811
|
}
|
|
3797
3812
|
N() {
|
|
3798
|
-
return
|
|
3813
|
+
return gl(this);
|
|
3799
3814
|
}
|
|
3800
3815
|
clone() {
|
|
3801
3816
|
const e = [];
|
|
@@ -3808,9 +3823,9 @@ var ci, me = class {
|
|
|
3808
3823
|
{
|
|
3809
3824
|
const i = br(this), n = Us(this);
|
|
3810
3825
|
i.activeTexture(i.TEXTURE1), r = en(n, i, this.m ? i.LINEAR : i.NEAREST), i.bindTexture(i.TEXTURE_2D, r);
|
|
3811
|
-
const s =
|
|
3826
|
+
const s = pl(this);
|
|
3812
3827
|
i.texImage2D(i.TEXTURE_2D, 0, s, this.width, this.height, 0, i.RED, i.FLOAT, null), i.bindTexture(i.TEXTURE_2D, null), tn(n, i, r), Ds(n, i, !1, () => {
|
|
3813
|
-
|
|
3828
|
+
xl(this), i.clearColor(0, 0, 0, 0), i.clear(i.COLOR_BUFFER_BIT), i.drawArrays(i.TRIANGLE_FAN, 0, 4), Dn(this);
|
|
3814
3829
|
}), Os(n), Dn(this);
|
|
3815
3830
|
}
|
|
3816
3831
|
}
|
|
@@ -3819,11 +3834,11 @@ var ci, me = class {
|
|
|
3819
3834
|
return new me(e, this.m, this.R(), this.canvas, this.l, this.width, this.height);
|
|
3820
3835
|
}
|
|
3821
3836
|
close() {
|
|
3822
|
-
this.j && br(this).deleteTexture(yt(this, 2)),
|
|
3837
|
+
this.j && br(this).deleteTexture(yt(this, 2)), zo = -1;
|
|
3823
3838
|
}
|
|
3824
3839
|
};
|
|
3825
3840
|
me.prototype.close = me.prototype.close, me.prototype.clone = me.prototype.clone, me.prototype.getAsWebGLTexture = me.prototype.N, me.prototype.getAsFloat32Array = me.prototype.ha, me.prototype.getAsUint8Array = me.prototype.ia, me.prototype.hasWebGLTexture = me.prototype.R, me.prototype.hasFloat32Array = me.prototype.ja, me.prototype.hasUint8Array = me.prototype.Da;
|
|
3826
|
-
var
|
|
3841
|
+
var zo = 250;
|
|
3827
3842
|
function dt(e, t) {
|
|
3828
3843
|
switch (t) {
|
|
3829
3844
|
case 0:
|
|
@@ -3836,7 +3851,7 @@ function dt(e, t) {
|
|
|
3836
3851
|
throw Error(`Type is not supported: ${t}`);
|
|
3837
3852
|
}
|
|
3838
3853
|
}
|
|
3839
|
-
function
|
|
3854
|
+
function yl(e) {
|
|
3840
3855
|
var t = dt(e, 0);
|
|
3841
3856
|
if (!t) {
|
|
3842
3857
|
t = vr(e);
|
|
@@ -3850,7 +3865,7 @@ function mi(e) {
|
|
|
3850
3865
|
if (!t) {
|
|
3851
3866
|
const r = vr(e);
|
|
3852
3867
|
t = gi(e);
|
|
3853
|
-
const i = dt(e, 1) ||
|
|
3868
|
+
const i = dt(e, 1) || yl(e);
|
|
3854
3869
|
r.texImage2D(r.TEXTURE_2D, 0, r.RGBA, r.RGBA, r.UNSIGNED_BYTE, i), Ur(e);
|
|
3855
3870
|
}
|
|
3856
3871
|
return t;
|
|
@@ -3871,7 +3886,7 @@ function gi(e) {
|
|
|
3871
3886
|
function Ur(e) {
|
|
3872
3887
|
e.h.bindTexture(e.h.TEXTURE_2D, null);
|
|
3873
3888
|
}
|
|
3874
|
-
function
|
|
3889
|
+
function Ho(e) {
|
|
3875
3890
|
const t = vr(e);
|
|
3876
3891
|
return Ds(rn(e), t, !0, () => function(r, i) {
|
|
3877
3892
|
const n = r.canvas;
|
|
@@ -3885,7 +3900,7 @@ function qo(e) {
|
|
|
3885
3900
|
}
|
|
3886
3901
|
var ge = class {
|
|
3887
3902
|
constructor(e, t, r, i, n, s, a) {
|
|
3888
|
-
this.g = e, this.j = t, this.m = r, this.canvas = i, this.l = n, this.width = s, this.height = a, (this.j || this.m) && --
|
|
3903
|
+
this.g = e, this.j = t, this.m = r, this.canvas = i, this.l = n, this.width = s, this.height = a, (this.j || this.m) && --qo === 0 && console.error("You seem to be creating MPImage instances without invoking .close(). This leaks resources.");
|
|
3889
3904
|
}
|
|
3890
3905
|
Ca() {
|
|
3891
3906
|
return !!dt(this, 0);
|
|
@@ -3897,11 +3912,11 @@ var ge = class {
|
|
|
3897
3912
|
return !!dt(this, 2);
|
|
3898
3913
|
}
|
|
3899
3914
|
Aa() {
|
|
3900
|
-
return
|
|
3915
|
+
return yl(this);
|
|
3901
3916
|
}
|
|
3902
3917
|
za() {
|
|
3903
3918
|
var e = dt(this, 1);
|
|
3904
|
-
return e || (mi(this), gi(this), e =
|
|
3919
|
+
return e || (mi(this), gi(this), e = Ho(this), Ur(this), this.g.push(e), this.j = !0), e;
|
|
3905
3920
|
}
|
|
3906
3921
|
N() {
|
|
3907
3922
|
return mi(this);
|
|
@@ -3918,18 +3933,18 @@ var ge = class {
|
|
|
3918
3933
|
}), Os(n), Ur(this);
|
|
3919
3934
|
} else {
|
|
3920
3935
|
if (!(t instanceof ImageBitmap)) throw Error(`Type is not supported: ${t}`);
|
|
3921
|
-
mi(this), gi(this), r =
|
|
3936
|
+
mi(this), gi(this), r = Ho(this), Ur(this);
|
|
3922
3937
|
}
|
|
3923
3938
|
e.push(r);
|
|
3924
3939
|
}
|
|
3925
3940
|
return new ge(e, this.ka(), this.R(), this.canvas, this.l, this.width, this.height);
|
|
3926
3941
|
}
|
|
3927
3942
|
close() {
|
|
3928
|
-
this.j && dt(this, 1).close(), this.m && vr(this).deleteTexture(dt(this, 2)),
|
|
3943
|
+
this.j && dt(this, 1).close(), this.m && vr(this).deleteTexture(dt(this, 2)), qo = -1;
|
|
3929
3944
|
}
|
|
3930
3945
|
};
|
|
3931
3946
|
ge.prototype.close = ge.prototype.close, ge.prototype.clone = ge.prototype.clone, ge.prototype.getAsWebGLTexture = ge.prototype.N, ge.prototype.getAsImageBitmap = ge.prototype.za, ge.prototype.getAsImageData = ge.prototype.Aa, ge.prototype.hasWebGLTexture = ge.prototype.R, ge.prototype.hasImageBitmap = ge.prototype.ka, ge.prototype.hasImageData = ge.prototype.Ca;
|
|
3932
|
-
var
|
|
3947
|
+
var qo = 250;
|
|
3933
3948
|
function tt(...e) {
|
|
3934
3949
|
return e.map(([t, r]) => ({ start: t, end: r }));
|
|
3935
3950
|
}
|
|
@@ -3939,9 +3954,9 @@ const Yd = /* @__PURE__ */ function(e) {
|
|
|
3939
3954
|
this.i._registerModelResourcesGraphService();
|
|
3940
3955
|
}
|
|
3941
3956
|
};
|
|
3942
|
-
}((
|
|
3957
|
+
}((Yo = class {
|
|
3943
3958
|
constructor(e, t) {
|
|
3944
|
-
this.l = !0, this.i = e, this.g = null, this.h = 0, this.m = typeof this.i._addIntToInputStream == "function", t !== void 0 ? this.i.canvas = t :
|
|
3959
|
+
this.l = !0, this.i = e, this.g = null, this.h = 0, this.m = typeof this.i._addIntToInputStream == "function", t !== void 0 ? this.i.canvas = t : wl() ? this.i.canvas = new OffscreenCanvas(1, 1) : (console.warn("OffscreenCanvas not supported and GraphRunner constructor glCanvas parameter is undefined. Creating backup canvas."), this.i.canvas = document.createElement("canvas"));
|
|
3945
3960
|
}
|
|
3946
3961
|
async initializeGraph(e) {
|
|
3947
3962
|
const t = await (await fetch(e)).arrayBuffer();
|
|
@@ -3994,7 +4009,7 @@ const Yd = /* @__PURE__ */ function(e) {
|
|
|
3994
4009
|
}
|
|
3995
4010
|
addGpuBufferToStream(e, t, r) {
|
|
3996
4011
|
_(this, t, (i) => {
|
|
3997
|
-
const [n, s] =
|
|
4012
|
+
const [n, s] = Uo(this, e, i);
|
|
3998
4013
|
this.i._addBoundTextureToStream(i, n, s, r);
|
|
3999
4014
|
});
|
|
4000
4015
|
}
|
|
@@ -4032,8 +4047,8 @@ const Yd = /* @__PURE__ */ function(e) {
|
|
|
4032
4047
|
}
|
|
4033
4048
|
addStringRecordToStream(e, t, r) {
|
|
4034
4049
|
_(this, t, (i) => {
|
|
4035
|
-
|
|
4036
|
-
|
|
4050
|
+
Go(this, Object.keys(e), (n) => {
|
|
4051
|
+
Go(this, Object.values(e), (s) => {
|
|
4037
4052
|
this.i._addFlatHashMapToInputStream(n, s, Object.keys(e).length, i, r);
|
|
4038
4053
|
});
|
|
4039
4054
|
});
|
|
@@ -4275,13 +4290,13 @@ const Yd = /* @__PURE__ */ function(e) {
|
|
|
4275
4290
|
closeGraph() {
|
|
4276
4291
|
this.i._closeGraph(), this.i.simpleListeners = void 0, this.i.emptyPacketListeners = void 0;
|
|
4277
4292
|
}
|
|
4278
|
-
}, class extends
|
|
4293
|
+
}, class extends Yo {
|
|
4279
4294
|
get ea() {
|
|
4280
4295
|
return this.i;
|
|
4281
4296
|
}
|
|
4282
4297
|
oa(e, t, r) {
|
|
4283
4298
|
_(this, t, (i) => {
|
|
4284
|
-
const [n, s] =
|
|
4299
|
+
const [n, s] = Uo(this, e, i);
|
|
4285
4300
|
this.ea._addBoundTextureAsImageToStream(i, n, s, r);
|
|
4286
4301
|
});
|
|
4287
4302
|
}
|
|
@@ -4296,16 +4311,16 @@ const Yd = /* @__PURE__ */ function(e) {
|
|
|
4296
4311
|
});
|
|
4297
4312
|
}
|
|
4298
4313
|
}));
|
|
4299
|
-
var
|
|
4314
|
+
var Yo, qe = class extends Yd {
|
|
4300
4315
|
};
|
|
4301
4316
|
async function L(e, t, r) {
|
|
4302
4317
|
return async function(i, n, s, a) {
|
|
4303
4318
|
return Hd(i, n, s, a);
|
|
4304
|
-
}(e, r.canvas ?? (
|
|
4319
|
+
}(e, r.canvas ?? (wl() ? void 0 : document.createElement("canvas")), t, r);
|
|
4305
4320
|
}
|
|
4306
|
-
function
|
|
4321
|
+
function bl(e, t, r, i) {
|
|
4307
4322
|
if (e.U) {
|
|
4308
|
-
const s = new
|
|
4323
|
+
const s = new $c();
|
|
4309
4324
|
if (r != null && r.regionOfInterest) {
|
|
4310
4325
|
if (!e.na) throw Error("This task doesn't support region-of-interest.");
|
|
4311
4326
|
var n = r.regionOfInterest;
|
|
@@ -4316,7 +4331,7 @@ function vl(e, t, r, i) {
|
|
|
4316
4331
|
if (r != null && r.rotationDegrees) {
|
|
4317
4332
|
if ((r == null ? void 0 : r.rotationDegrees) % 90 != 0) throw Error("Expected rotation to be a multiple of 90°.");
|
|
4318
4333
|
if (b(s, 5, -Math.PI * r.rotationDegrees / 180), (r == null ? void 0 : r.rotationDegrees) % 180 != 0) {
|
|
4319
|
-
const [a, c] =
|
|
4334
|
+
const [a, c] = ml(t);
|
|
4320
4335
|
r = le(s, 3) * c / a, n = le(s, 4) * a / c, b(s, 4, r), b(s, 3, n);
|
|
4321
4336
|
}
|
|
4322
4337
|
}
|
|
@@ -4327,12 +4342,12 @@ function vl(e, t, r, i) {
|
|
|
4327
4342
|
function Ye(e, t, r) {
|
|
4328
4343
|
var i;
|
|
4329
4344
|
if ((i = e.baseOptions) != null && i.g()) throw Error("Task is not initialized with image mode. 'runningMode' must be set to 'IMAGE'.");
|
|
4330
|
-
|
|
4345
|
+
bl(e, t, r, e.B + 1);
|
|
4331
4346
|
}
|
|
4332
4347
|
function wt(e, t, r, i) {
|
|
4333
4348
|
var n;
|
|
4334
4349
|
if (!((n = e.baseOptions) != null && n.g())) throw Error("Task is not initialized with video mode. 'runningMode' must be set to 'VIDEO'.");
|
|
4335
|
-
|
|
4350
|
+
bl(e, t, r, i);
|
|
4336
4351
|
}
|
|
4337
4352
|
function _r(e, t, r, i) {
|
|
4338
4353
|
var n = t.data;
|
|
@@ -4379,7 +4394,7 @@ var Ge = class extends Se {
|
|
|
4379
4394
|
Je(t, Rd, this.h);
|
|
4380
4395
|
const r = new _e();
|
|
4381
4396
|
Be(r, "mediapipe.tasks.vision.face_detector.FaceDetectorGraph"), z(r, "IMAGE:image_in"), z(r, "NORM_RECT:norm_rect_in"), F(r, "DETECTIONS:detections"), r.o(t), Ue(e, r), this.g.attachProtoVectorListener("detections", (i, n) => {
|
|
4382
|
-
for (const s of i) i =
|
|
4397
|
+
for (const s of i) i = Uc(s), this.j.detections.push(hl(i));
|
|
4383
4398
|
p(this, n);
|
|
4384
4399
|
}), this.g.attachEmptyPacketListener("detections", (i) => {
|
|
4385
4400
|
p(this, i);
|
|
@@ -4393,13 +4408,13 @@ Ge.prototype.detectForVideo = Ge.prototype.F, Ge.prototype.detect = Ge.prototype
|
|
|
4393
4408
|
}, Ge.createFromOptions = function(e, t) {
|
|
4394
4409
|
return L(Ge, e, t);
|
|
4395
4410
|
};
|
|
4396
|
-
var Gs = tt([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]), Vs = tt([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]), $s = tt([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), _l = tt([474, 475], [475, 476], [476, 477], [477, 474]), Ws = tt([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]), zs = tt([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), kl = tt([469, 470], [470, 471], [471, 472], [472, 469]), Hs = tt([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]), El = [...Gs, ...Vs, ...$s, ...Ws, ...zs, ...Hs], Al = tt([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]);
|
|
4397
|
-
function
|
|
4411
|
+
var Gs = tt([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]), Vs = tt([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]), $s = tt([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), vl = tt([474, 475], [475, 476], [476, 477], [477, 474]), Ws = tt([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]), zs = tt([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), _l = tt([469, 470], [470, 471], [471, 472], [472, 469]), Hs = tt([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]), kl = [...Gs, ...Vs, ...$s, ...Ws, ...zs, ...Hs], El = tt([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]);
|
|
4412
|
+
function Ko(e) {
|
|
4398
4413
|
e.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] };
|
|
4399
4414
|
}
|
|
4400
4415
|
var J = class extends Se {
|
|
4401
4416
|
constructor(e, t) {
|
|
4402
|
-
super(new qe(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, E(e = this.h = new
|
|
4417
|
+
super(new qe(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, E(e = this.h = new Yc(), 0, 1, t = new X()), this.v = new qc(), E(this.h, 0, 3, this.v), this.s = new Xi(), E(this.h, 0, 2, this.s), ft(this.s, 4, 1), b(this.s, 2, 0.5), b(this.v, 2, 0.5), b(this.h, 4, 0.5);
|
|
4403
4418
|
}
|
|
4404
4419
|
get baseOptions() {
|
|
4405
4420
|
return D(this.h, X, 1);
|
|
@@ -4411,10 +4426,10 @@ var J = class extends Se {
|
|
|
4411
4426
|
return "numFaces" in e && ft(this.s, 4, e.numFaces ?? 1), "minFaceDetectionConfidence" in e && b(this.s, 2, e.minFaceDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && b(this.h, 4, e.minTrackingConfidence ?? 0.5), "minFacePresenceConfidence" in e && b(this.v, 2, e.minFacePresenceConfidence ?? 0.5), "outputFaceBlendshapes" in e && (this.outputFaceBlendshapes = !!e.outputFaceBlendshapes), "outputFacialTransformationMatrixes" in e && (this.outputFacialTransformationMatrixes = !!e.outputFacialTransformationMatrixes), this.l(e);
|
|
4412
4427
|
}
|
|
4413
4428
|
D(e, t) {
|
|
4414
|
-
return
|
|
4429
|
+
return Ko(this), Ye(this, e, t), this.j;
|
|
4415
4430
|
}
|
|
4416
4431
|
F(e, t, r) {
|
|
4417
|
-
return
|
|
4432
|
+
return Ko(this), wt(this, e, r, t), this.j;
|
|
4418
4433
|
}
|
|
4419
4434
|
m() {
|
|
4420
4435
|
var e = new Ce();
|
|
@@ -4433,7 +4448,7 @@ var J = class extends Se {
|
|
|
4433
4448
|
}), this.g.attachEmptyPacketListener("blendshapes", (i) => {
|
|
4434
4449
|
p(this, i);
|
|
4435
4450
|
})), this.outputFacialTransformationMatrixes && (B(e, "face_geometry"), F(r, "FACE_GEOMETRY:face_geometry"), this.g.attachProtoVectorListener("face_geometry", (i, n) => {
|
|
4436
|
-
if (this.outputFacialTransformationMatrixes) for (const s of i) (i = D(Md(s), Ed, 2)) && this.j.facialTransformationMatrixes.push({ rows: ze(i, 1) ?? 0 ?? 0, columns: ze(i, 2) ?? 0 ?? 0, data:
|
|
4451
|
+
if (this.outputFacialTransformationMatrixes) for (const s of i) (i = D(Md(s), Ed, 2)) && this.j.facialTransformationMatrixes.push({ rows: ze(i, 1) ?? 0 ?? 0, columns: ze(i, 2) ?? 0 ?? 0, data: Zt(i, 3, Gt, Jt()).slice() ?? [] });
|
|
4437
4452
|
p(this, n);
|
|
4438
4453
|
}), this.g.attachEmptyPacketListener("face_geometry", (i) => {
|
|
4439
4454
|
p(this, i);
|
|
@@ -4446,10 +4461,10 @@ J.prototype.detectForVideo = J.prototype.F, J.prototype.detect = J.prototype.D,
|
|
|
4446
4461
|
return L(J, e, { baseOptions: { modelAssetBuffer: t } });
|
|
4447
4462
|
}, J.createFromOptions = function(e, t) {
|
|
4448
4463
|
return L(J, e, t);
|
|
4449
|
-
}, J.FACE_LANDMARKS_LIPS = Gs, J.FACE_LANDMARKS_LEFT_EYE = Vs, J.FACE_LANDMARKS_LEFT_EYEBROW = $s, J.FACE_LANDMARKS_LEFT_IRIS =
|
|
4464
|
+
}, J.FACE_LANDMARKS_LIPS = Gs, J.FACE_LANDMARKS_LEFT_EYE = Vs, J.FACE_LANDMARKS_LEFT_EYEBROW = $s, J.FACE_LANDMARKS_LEFT_IRIS = vl, J.FACE_LANDMARKS_RIGHT_EYE = Ws, J.FACE_LANDMARKS_RIGHT_EYEBROW = zs, J.FACE_LANDMARKS_RIGHT_IRIS = _l, J.FACE_LANDMARKS_FACE_OVAL = Hs, J.FACE_LANDMARKS_CONTOURS = kl, J.FACE_LANDMARKS_TESSELATION = El;
|
|
4450
4465
|
var ct = class extends Se {
|
|
4451
4466
|
constructor(e, t) {
|
|
4452
|
-
super(new qe(e, t), "image_in", "norm_rect", !0), E(e = this.j = new
|
|
4467
|
+
super(new qe(e, t), "image_in", "norm_rect", !0), E(e = this.j = new Xc(), 0, 1, t = new X());
|
|
4453
4468
|
}
|
|
4454
4469
|
get baseOptions() {
|
|
4455
4470
|
return D(this.j, X, 1);
|
|
@@ -4496,13 +4511,13 @@ ct.prototype.stylize = ct.prototype.Ka, ct.prototype.setOptions = ct.prototype.o
|
|
|
4496
4511
|
return L(ct, e, t);
|
|
4497
4512
|
};
|
|
4498
4513
|
var qs = tt([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]);
|
|
4499
|
-
function
|
|
4514
|
+
function Xo(e) {
|
|
4500
4515
|
e.gestures = [], e.landmarks = [], e.worldLandmarks = [], e.handedness = [];
|
|
4501
4516
|
}
|
|
4502
|
-
function
|
|
4517
|
+
function Qo(e) {
|
|
4503
4518
|
return e.gestures.length === 0 ? { gestures: [], landmarks: [], worldLandmarks: [], handedness: [], handednesses: [] } : { gestures: e.gestures, landmarks: e.landmarks, worldLandmarks: e.worldLandmarks, handedness: e.handedness, handednesses: e.handedness };
|
|
4504
4519
|
}
|
|
4505
|
-
function
|
|
4520
|
+
function Jo(e, t = !0) {
|
|
4506
4521
|
const r = [];
|
|
4507
4522
|
for (const n of e) {
|
|
4508
4523
|
var i = Ki(n);
|
|
@@ -4514,7 +4529,7 @@ function Zo(e, t = !0) {
|
|
|
4514
4529
|
}
|
|
4515
4530
|
var Re = class extends Se {
|
|
4516
4531
|
constructor(e, t) {
|
|
4517
|
-
super(new qe(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], E(e = this.j = new
|
|
4532
|
+
super(new qe(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], E(e = this.j = new Zc(), 0, 1, t = new X()), this.s = new Is(), E(this.j, 0, 2, this.s), this.C = new Cs(), E(this.s, 0, 3, this.C), this.v = new Jc(), E(this.s, 0, 2, this.v), this.h = new Pd(), E(this.j, 0, 3, this.h), b(this.v, 2, 0.5), b(this.s, 4, 0.5), b(this.C, 2, 0.5);
|
|
4518
4533
|
}
|
|
4519
4534
|
get baseOptions() {
|
|
4520
4535
|
return D(this.j, X, 1);
|
|
@@ -4525,16 +4540,16 @@ var Re = class extends Se {
|
|
|
4525
4540
|
o(e) {
|
|
4526
4541
|
var n, s, a, c;
|
|
4527
4542
|
if (ft(this.v, 3, e.numHands ?? 1), "minHandDetectionConfidence" in e && b(this.v, 2, e.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && b(this.s, 4, e.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in e && b(this.C, 2, e.minHandPresenceConfidence ?? 0.5), e.cannedGesturesClassifierOptions) {
|
|
4528
|
-
var t = new
|
|
4543
|
+
var t = new sr(), r = t, i = Ln(e.cannedGesturesClassifierOptions, (n = D(this.h, sr, 3)) == null ? void 0 : n.h());
|
|
4529
4544
|
E(r, 0, 2, i), E(this.h, 0, 3, t);
|
|
4530
|
-
} else e.cannedGesturesClassifierOptions === void 0 && ((s = D(this.h,
|
|
4531
|
-
return e.customGesturesClassifierOptions ? (E(r = t = new
|
|
4545
|
+
} else e.cannedGesturesClassifierOptions === void 0 && ((s = D(this.h, sr, 3)) == null || s.g());
|
|
4546
|
+
return e.customGesturesClassifierOptions ? (E(r = t = new sr(), 0, 2, i = Ln(e.customGesturesClassifierOptions, (a = D(this.h, sr, 4)) == null ? void 0 : a.h())), E(this.h, 0, 4, t)) : e.customGesturesClassifierOptions === void 0 && ((c = D(this.h, sr, 4)) == null || c.g()), this.l(e);
|
|
4532
4547
|
}
|
|
4533
4548
|
Fa(e, t) {
|
|
4534
|
-
return
|
|
4549
|
+
return Xo(this), Ye(this, e, t), Qo(this);
|
|
4535
4550
|
}
|
|
4536
4551
|
Ga(e, t, r) {
|
|
4537
|
-
return
|
|
4552
|
+
return Xo(this), wt(this, e, r, t), Qo(this);
|
|
4538
4553
|
}
|
|
4539
4554
|
m() {
|
|
4540
4555
|
var e = new Ce();
|
|
@@ -4546,7 +4561,7 @@ var Re = class extends Se {
|
|
|
4546
4561
|
for (const s of i) {
|
|
4547
4562
|
i = ri(s);
|
|
4548
4563
|
const a = [];
|
|
4549
|
-
for (const c of Et(i,
|
|
4564
|
+
for (const c of Et(i, Vc, 1)) a.push({ x: le(c, 1) ?? 0, y: le(c, 2) ?? 0, z: le(c, 3) ?? 0, visibility: le(c, 4) ?? 0 });
|
|
4550
4565
|
this.landmarks.push(a);
|
|
4551
4566
|
}
|
|
4552
4567
|
p(this, n);
|
|
@@ -4556,24 +4571,24 @@ var Re = class extends Se {
|
|
|
4556
4571
|
for (const s of i) {
|
|
4557
4572
|
i = dr(s);
|
|
4558
4573
|
const a = [];
|
|
4559
|
-
for (const c of Et(i,
|
|
4574
|
+
for (const c of Et(i, Gc, 1)) a.push({ x: le(c, 1) ?? 0, y: le(c, 2) ?? 0, z: le(c, 3) ?? 0, visibility: le(c, 4) ?? 0 });
|
|
4560
4575
|
this.worldLandmarks.push(a);
|
|
4561
4576
|
}
|
|
4562
4577
|
p(this, n);
|
|
4563
4578
|
}), this.g.attachEmptyPacketListener("world_hand_landmarks", (i) => {
|
|
4564
4579
|
p(this, i);
|
|
4565
4580
|
}), this.g.attachProtoVectorListener("hand_gestures", (i, n) => {
|
|
4566
|
-
this.gestures.push(...
|
|
4581
|
+
this.gestures.push(...Jo(i, !1)), p(this, n);
|
|
4567
4582
|
}), this.g.attachEmptyPacketListener("hand_gestures", (i) => {
|
|
4568
4583
|
p(this, i);
|
|
4569
4584
|
}), this.g.attachProtoVectorListener("handedness", (i, n) => {
|
|
4570
|
-
this.handedness.push(...
|
|
4585
|
+
this.handedness.push(...Jo(i)), p(this, n);
|
|
4571
4586
|
}), this.g.attachEmptyPacketListener("handedness", (i) => {
|
|
4572
4587
|
p(this, i);
|
|
4573
4588
|
}), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
4574
4589
|
}
|
|
4575
4590
|
};
|
|
4576
|
-
function
|
|
4591
|
+
function Zo(e) {
|
|
4577
4592
|
return { landmarks: e.landmarks, worldLandmarks: e.worldLandmarks, handednesses: e.handedness, handedness: e.handedness };
|
|
4578
4593
|
}
|
|
4579
4594
|
Re.prototype.recognizeForVideo = Re.prototype.Ga, Re.prototype.recognize = Re.prototype.Fa, Re.prototype.setOptions = Re.prototype.o, Re.createFromModelPath = function(e, t) {
|
|
@@ -4585,7 +4600,7 @@ Re.prototype.recognizeForVideo = Re.prototype.Ga, Re.prototype.recognize = Re.pr
|
|
|
4585
4600
|
}, Re.HAND_CONNECTIONS = qs;
|
|
4586
4601
|
var Me = class extends Se {
|
|
4587
4602
|
constructor(e, t) {
|
|
4588
|
-
super(new qe(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], E(e = this.h = new Is(), 0, 1, t = new X()), this.s = new Cs(), E(this.h, 0, 3, this.s), this.j = new
|
|
4603
|
+
super(new qe(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], E(e = this.h = new Is(), 0, 1, t = new X()), this.s = new Cs(), E(this.h, 0, 3, this.s), this.j = new Jc(), E(this.h, 0, 2, this.j), ft(this.j, 3, 1), b(this.j, 2, 0.5), b(this.s, 2, 0.5), b(this.h, 4, 0.5);
|
|
4589
4604
|
}
|
|
4590
4605
|
get baseOptions() {
|
|
4591
4606
|
return D(this.h, X, 1);
|
|
@@ -4597,10 +4612,10 @@ var Me = class extends Se {
|
|
|
4597
4612
|
return "numHands" in e && ft(this.j, 3, e.numHands ?? 1), "minHandDetectionConfidence" in e && b(this.j, 2, e.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && b(this.h, 4, e.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in e && b(this.s, 2, e.minHandPresenceConfidence ?? 0.5), this.l(e);
|
|
4598
4613
|
}
|
|
4599
4614
|
D(e, t) {
|
|
4600
|
-
return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Ye(this, e, t),
|
|
4615
|
+
return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Ye(this, e, t), Zo(this);
|
|
4601
4616
|
}
|
|
4602
4617
|
F(e, t, r) {
|
|
4603
|
-
return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], wt(this, e, r, t),
|
|
4618
|
+
return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], wt(this, e, r, t), Zo(this);
|
|
4604
4619
|
}
|
|
4605
4620
|
m() {
|
|
4606
4621
|
var e = new Ce();
|
|
@@ -4640,11 +4655,11 @@ Me.prototype.detectForVideo = Me.prototype.F, Me.prototype.detect = Me.prototype
|
|
|
4640
4655
|
}, Me.createFromOptions = function(e, t) {
|
|
4641
4656
|
return L(Me, e, t);
|
|
4642
4657
|
}, Me.HAND_CONNECTIONS = qs;
|
|
4643
|
-
var
|
|
4644
|
-
function
|
|
4658
|
+
var Al = tt([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]);
|
|
4659
|
+
function ea(e) {
|
|
4645
4660
|
e.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] };
|
|
4646
4661
|
}
|
|
4647
|
-
function
|
|
4662
|
+
function ta(e) {
|
|
4648
4663
|
try {
|
|
4649
4664
|
if (!e.C) return e.h;
|
|
4650
4665
|
e.C(e.h);
|
|
@@ -4657,7 +4672,7 @@ function li(e, t) {
|
|
|
4657
4672
|
}
|
|
4658
4673
|
var Y = class extends Se {
|
|
4659
4674
|
constructor(e, t) {
|
|
4660
|
-
super(new qe(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, E(e = this.j = new
|
|
4675
|
+
super(new qe(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, E(e = this.j = new nl(), 0, 1, t = new X()), this.K = new Cs(), E(this.j, 0, 2, this.K), this.Y = new Bd(), E(this.j, 0, 3, this.Y), this.s = new Xi(), E(this.j, 0, 4, this.s), this.H = new qc(), E(this.j, 0, 5, this.H), this.v = new rl(), E(this.j, 0, 6, this.v), this.L = new il(), E(this.j, 0, 7, this.L), b(this.s, 2, 0.5), b(this.s, 3, 0.3), b(this.H, 2, 0.5), b(this.v, 2, 0.5), b(this.v, 3, 0.3), b(this.L, 2, 0.5), b(this.K, 2, 0.5);
|
|
4661
4676
|
}
|
|
4662
4677
|
get baseOptions() {
|
|
4663
4678
|
return D(this.j, X, 1);
|
|
@@ -4670,25 +4685,25 @@ var Y = class extends Se {
|
|
|
4670
4685
|
}
|
|
4671
4686
|
D(e, t, r) {
|
|
4672
4687
|
const i = typeof t != "function" ? t : {};
|
|
4673
|
-
return this.C = typeof t == "function" ? t : r,
|
|
4688
|
+
return this.C = typeof t == "function" ? t : r, ea(this), Ye(this, e, i), ta(this);
|
|
4674
4689
|
}
|
|
4675
4690
|
F(e, t, r, i) {
|
|
4676
4691
|
const n = typeof r != "function" ? r : {};
|
|
4677
|
-
return this.C = typeof r == "function" ? r : i,
|
|
4692
|
+
return this.C = typeof r == "function" ? r : i, ea(this), wt(this, e, n, t), ta(this);
|
|
4678
4693
|
}
|
|
4679
4694
|
m() {
|
|
4680
4695
|
var e = new Ce();
|
|
4681
4696
|
q(e, "input_frames_image"), B(e, "pose_landmarks"), B(e, "pose_world_landmarks"), B(e, "face_landmarks"), B(e, "left_hand_landmarks"), B(e, "left_hand_world_landmarks"), B(e, "right_hand_landmarks"), B(e, "right_hand_world_landmarks");
|
|
4682
|
-
const t = new De(), r = new
|
|
4697
|
+
const t = new De(), r = new Eo();
|
|
4683
4698
|
Nn(r, 1, jr("type.googleapis.com/mediapipe.tasks.vision.holistic_landmarker.proto.HolisticLandmarkerGraphOptions"), ""), function(n, s) {
|
|
4684
4699
|
if (s != null) if (Array.isArray(s)) W(n, 2, Pi(s, ss, void 0, void 0, !1));
|
|
4685
4700
|
else {
|
|
4686
|
-
if (!(typeof s == "string" || s instanceof vt ||
|
|
4687
|
-
Nn(n, 2, Qn(s, !1),
|
|
4701
|
+
if (!(typeof s == "string" || s instanceof vt || tr(s))) throw Error("invalid value in Any.value field: " + s + " expected a ByteString, a base64 encoded string, a Uint8Array or a jspb array");
|
|
4702
|
+
Nn(n, 2, Qn(s, !1), rr());
|
|
4688
4703
|
}
|
|
4689
4704
|
}(r, this.j.g());
|
|
4690
4705
|
const i = new _e();
|
|
4691
|
-
Be(i, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), xi(i, 8,
|
|
4706
|
+
Be(i, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), xi(i, 8, Eo, r), z(i, "IMAGE:input_frames_image"), F(i, "POSE_LANDMARKS:pose_landmarks"), F(i, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), F(i, "FACE_LANDMARKS:face_landmarks"), F(i, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), F(i, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), F(i, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), F(i, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), i.o(t), Ue(e, i), Ji(this, e), this.g.attachProtoListener("pose_landmarks", (n, s) => {
|
|
4692
4707
|
li(n, this.h.poseLandmarks), p(this, s);
|
|
4693
4708
|
}), this.g.attachEmptyPacketListener("pose_landmarks", (n) => {
|
|
4694
4709
|
p(this, n);
|
|
@@ -4737,10 +4752,10 @@ Y.prototype.detectForVideo = Y.prototype.F, Y.prototype.detect = Y.prototype.D,
|
|
|
4737
4752
|
return L(Y, e, { baseOptions: { modelAssetBuffer: t } });
|
|
4738
4753
|
}, Y.createFromOptions = function(e, t) {
|
|
4739
4754
|
return L(Y, e, t);
|
|
4740
|
-
}, Y.HAND_CONNECTIONS = qs, Y.POSE_CONNECTIONS =
|
|
4755
|
+
}, Y.HAND_CONNECTIONS = qs, Y.POSE_CONNECTIONS = Al, Y.FACE_LANDMARKS_LIPS = Gs, Y.FACE_LANDMARKS_LEFT_EYE = Vs, Y.FACE_LANDMARKS_LEFT_EYEBROW = $s, Y.FACE_LANDMARKS_LEFT_IRIS = vl, Y.FACE_LANDMARKS_RIGHT_EYE = Ws, Y.FACE_LANDMARKS_RIGHT_EYEBROW = zs, Y.FACE_LANDMARKS_RIGHT_IRIS = _l, Y.FACE_LANDMARKS_FACE_OVAL = Hs, Y.FACE_LANDMARKS_CONTOURS = kl, Y.FACE_LANDMARKS_TESSELATION = El;
|
|
4741
4756
|
var Ve = class extends Se {
|
|
4742
4757
|
constructor(e, t) {
|
|
4743
|
-
super(new qe(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, E(e = this.h = new
|
|
4758
|
+
super(new qe(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, E(e = this.h = new sl(), 0, 1, t = new X());
|
|
4744
4759
|
}
|
|
4745
4760
|
get baseOptions() {
|
|
4746
4761
|
return D(this.h, X, 1);
|
|
@@ -4767,7 +4782,7 @@ var Ve = class extends Se {
|
|
|
4767
4782
|
this.j = function(s) {
|
|
4768
4783
|
const a = { classifications: Et(s, Td, 1).map((c) => {
|
|
4769
4784
|
var l;
|
|
4770
|
-
return Fs(((l = D(c,
|
|
4785
|
+
return Fs(((l = D(c, Oc, 4)) == null ? void 0 : l.g()) ?? [], ze(c, 2) ?? 0, He(c, 3) ?? "");
|
|
4771
4786
|
}) };
|
|
4772
4787
|
return An(pr(s, 2)) != null && (a.timestampMs = An(pr(s, 2)) ?? 0), a;
|
|
4773
4788
|
}(jd(i)), p(this, n);
|
|
@@ -4785,7 +4800,7 @@ Ve.prototype.classifyForVideo = Ve.prototype.ra, Ve.prototype.classify = Ve.prot
|
|
|
4785
4800
|
};
|
|
4786
4801
|
var Le = class extends Se {
|
|
4787
4802
|
constructor(e, t) {
|
|
4788
|
-
super(new qe(e, t), "image_in", "norm_rect", !0), this.h = new
|
|
4803
|
+
super(new qe(e, t), "image_in", "norm_rect", !0), this.h = new ol(), this.embeddings = { embeddings: [] }, E(e = this.h, 0, 1, t = new X());
|
|
4789
4804
|
}
|
|
4790
4805
|
get baseOptions() {
|
|
4791
4806
|
return D(this.h, X, 1);
|
|
@@ -4794,8 +4809,8 @@ var Le = class extends Se {
|
|
|
4794
4809
|
E(this.h, 0, 1, e);
|
|
4795
4810
|
}
|
|
4796
4811
|
o(e) {
|
|
4797
|
-
var t = this.h, r = D(this.h,
|
|
4798
|
-
return r = r ? r.clone() : new
|
|
4812
|
+
var t = this.h, r = D(this.h, Mo, 2);
|
|
4813
|
+
return r = r ? r.clone() : new Mo(), e.l2Normalize !== void 0 ? Xr(r, 1, e.l2Normalize) : "l2Normalize" in e && W(r, 1), e.quantize !== void 0 ? Xr(r, 2, e.quantize) : "quantize" in e && W(r, 2), E(t, 0, 2, r), this.l(e);
|
|
4799
4814
|
}
|
|
4800
4815
|
xa(e, t) {
|
|
4801
4816
|
return Ye(this, e, t), this.embeddings;
|
|
@@ -4814,7 +4829,7 @@ var Le = class extends Se {
|
|
|
4814
4829
|
return { embeddings: Et(s, Sd, 1).map((a) => {
|
|
4815
4830
|
var l, u;
|
|
4816
4831
|
const c = { headIndex: ze(a, 3) ?? 0 ?? -1, headName: He(a, 4) ?? "" ?? "" };
|
|
4817
|
-
if (
|
|
4832
|
+
if (nc(a, Ro, fn(a, 1)) !== void 0) a = Zt(a = D(a, Ro, fn(a, 1)), 1, Gt, Jt()), c.floatEmbedding = a.slice();
|
|
4818
4833
|
else {
|
|
4819
4834
|
const d = new Uint8Array(0);
|
|
4820
4835
|
c.quantizedEmbedding = ((u = (l = D(a, Nd, fn(a, 2))) == null ? void 0 : l.ma()) == null ? void 0 : u.h()) ?? d;
|
|
@@ -4828,10 +4843,10 @@ var Le = class extends Se {
|
|
|
4828
4843
|
}
|
|
4829
4844
|
};
|
|
4830
4845
|
Le.cosineSimilarity = function(e, t) {
|
|
4831
|
-
if (e.floatEmbedding && t.floatEmbedding) e =
|
|
4846
|
+
if (e.floatEmbedding && t.floatEmbedding) e = Oo(e.floatEmbedding, t.floatEmbedding);
|
|
4832
4847
|
else {
|
|
4833
4848
|
if (!e.quantizedEmbedding || !t.quantizedEmbedding) throw Error("Cannot compute cosine similarity between quantized and float embeddings.");
|
|
4834
|
-
e =
|
|
4849
|
+
e = Oo(Do(e.quantizedEmbedding), Do(t.quantizedEmbedding));
|
|
4835
4850
|
}
|
|
4836
4851
|
return e;
|
|
4837
4852
|
}, Le.prototype.embedForVideo = Le.prototype.ya, Le.prototype.embed = Le.prototype.xa, Le.prototype.setOptions = Le.prototype.o, Le.createFromModelPath = function(e, t) {
|
|
@@ -4852,10 +4867,10 @@ var On = class {
|
|
|
4852
4867
|
}), (t = this.categoryMask) == null || t.close();
|
|
4853
4868
|
}
|
|
4854
4869
|
};
|
|
4855
|
-
function
|
|
4870
|
+
function ra(e) {
|
|
4856
4871
|
e.categoryMask = void 0, e.confidenceMasks = void 0, e.qualityScores = void 0;
|
|
4857
4872
|
}
|
|
4858
|
-
function
|
|
4873
|
+
function ia(e) {
|
|
4859
4874
|
try {
|
|
4860
4875
|
const t = new On(e.confidenceMasks, e.categoryMask, e.qualityScores);
|
|
4861
4876
|
if (!e.j) return t;
|
|
@@ -4867,7 +4882,7 @@ function na(e) {
|
|
|
4867
4882
|
On.prototype.close = On.prototype.close;
|
|
4868
4883
|
var je = class extends Se {
|
|
4869
4884
|
constructor(e, t) {
|
|
4870
|
-
super(new qe(e, t), "image_in", "norm_rect", !1), this.s = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Ls(), this.v = new
|
|
4885
|
+
super(new qe(e, t), "image_in", "norm_rect", !1), this.s = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Ls(), this.v = new al(), E(this.h, 0, 3, this.v), E(e = this.h, 0, 1, t = new X());
|
|
4871
4886
|
}
|
|
4872
4887
|
get baseOptions() {
|
|
4873
4888
|
return D(this.h, X, 1);
|
|
@@ -4890,11 +4905,11 @@ var je = class extends Se {
|
|
|
4890
4905
|
}
|
|
4891
4906
|
segment(e, t, r) {
|
|
4892
4907
|
const i = typeof t != "function" ? t : {};
|
|
4893
|
-
return this.j = typeof t == "function" ? t : r,
|
|
4908
|
+
return this.j = typeof t == "function" ? t : r, ra(this), Ye(this, e, i), ia(this);
|
|
4894
4909
|
}
|
|
4895
4910
|
Ia(e, t, r, i) {
|
|
4896
4911
|
const n = typeof r != "function" ? r : {};
|
|
4897
|
-
return this.j = typeof r == "function" ? r : i,
|
|
4912
|
+
return this.j = typeof r == "function" ? r : i, ra(this), wt(this, e, n, t), ia(this);
|
|
4898
4913
|
}
|
|
4899
4914
|
Ba() {
|
|
4900
4915
|
return this.s;
|
|
@@ -4903,7 +4918,7 @@ var je = class extends Se {
|
|
|
4903
4918
|
var e = new Ce();
|
|
4904
4919
|
q(e, "image_in"), q(e, "norm_rect");
|
|
4905
4920
|
const t = new De();
|
|
4906
|
-
Je(t,
|
|
4921
|
+
Je(t, ll, this.h);
|
|
4907
4922
|
const r = new _e();
|
|
4908
4923
|
Be(r, "mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"), z(r, "IMAGE:image_in"), z(r, "NORM_RECT:norm_rect"), r.o(t), Ue(e, r), Ji(this, e), this.outputConfidenceMasks && (B(e, "confidence_masks"), F(r, "CONFIDENCE_MASKS:confidence_masks"), yr(this, "confidence_masks"), this.g.ba("confidence_masks", (i, n) => {
|
|
4909
4924
|
this.confidenceMasks = i.map((s) => _r(this, s, !0, !this.j)), p(this, n);
|
|
@@ -4943,27 +4958,27 @@ var Kd = class extends y {
|
|
|
4943
4958
|
constructor(e) {
|
|
4944
4959
|
super(e);
|
|
4945
4960
|
}
|
|
4946
|
-
},
|
|
4961
|
+
}, or = [0, ie, -2], _i = [0, xt, -3, K, xt, -1], na = [0, _i], sa = [0, _i, ie, -1], yn = class extends y {
|
|
4947
4962
|
constructor(e) {
|
|
4948
4963
|
super(e);
|
|
4949
4964
|
}
|
|
4950
|
-
},
|
|
4965
|
+
}, oa = [0, xt, -1, K], Xd = class extends y {
|
|
4951
4966
|
constructor(e) {
|
|
4952
4967
|
super(e);
|
|
4953
4968
|
}
|
|
4954
|
-
},
|
|
4969
|
+
}, aa = class extends y {
|
|
4955
4970
|
constructor(e) {
|
|
4956
4971
|
super(e);
|
|
4957
4972
|
}
|
|
4958
|
-
}, Un = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15],
|
|
4973
|
+
}, Un = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15], Tl = class extends y {
|
|
4959
4974
|
constructor(e) {
|
|
4960
4975
|
super(e);
|
|
4961
4976
|
}
|
|
4962
4977
|
};
|
|
4963
|
-
|
|
4978
|
+
Tl.prototype.g = Yi([0, we, [0, Un, U, _i, U, [0, _i, or], U, na, U, [0, na, or], U, oa, U, [0, xt, -3, K, Pe], U, [0, xt, -3, K], U, [0, G, xt, -2, K, ie, K, -1, 2, xt, or], U, sa, U, [0, sa, or], xt, or, G, U, [0, xt, -3, K, or, -1], U, [0, we, oa]], G, [0, G, ie, -1, K]]);
|
|
4964
4979
|
var lt = class extends Se {
|
|
4965
4980
|
constructor(e, t) {
|
|
4966
|
-
super(new qe(e, t), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Ls(), this.s = new
|
|
4981
|
+
super(new qe(e, t), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Ls(), this.s = new al(), E(this.h, 0, 3, this.s), E(e = this.h, 0, 1, t = new X());
|
|
4967
4982
|
}
|
|
4968
4983
|
get baseOptions() {
|
|
4969
4984
|
return D(this.h, X, 1);
|
|
@@ -4976,8 +4991,8 @@ var lt = class extends Se {
|
|
|
4976
4991
|
}
|
|
4977
4992
|
segment(e, t, r, i) {
|
|
4978
4993
|
const n = typeof r != "function" ? r : {};
|
|
4979
|
-
this.j = typeof r == "function" ? r : i, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, r = this.B + 1, i = new
|
|
4980
|
-
const s = new
|
|
4994
|
+
this.j = typeof r == "function" ? r : i, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, r = this.B + 1, i = new Tl();
|
|
4995
|
+
const s = new aa();
|
|
4981
4996
|
var a = new Kd();
|
|
4982
4997
|
if (ft(a, 1, 255), E(s, 0, 12, a), t.keypoint && t.scribble) throw Error("Cannot provide both keypoint and scribble.");
|
|
4983
4998
|
if (t.keypoint) {
|
|
@@ -4988,7 +5003,7 @@ var lt = class extends Se {
|
|
|
4988
5003
|
for (c of (a = new Xd(), t.scribble)) Xr(t = new yn(), 3, !0), b(t, 1, c.x), b(t, 2, c.y), xi(a, 1, yn, t);
|
|
4989
5004
|
Vr(s, 15, Un, a);
|
|
4990
5005
|
}
|
|
4991
|
-
xi(i, 1,
|
|
5006
|
+
xi(i, 1, aa, s), this.g.addProtoToStream(i.g(), "drishti.RenderData", "roi_in", r), Ye(this, e, n);
|
|
4992
5007
|
e: {
|
|
4993
5008
|
try {
|
|
4994
5009
|
const u = new Bn(this.confidenceMasks, this.categoryMask, this.qualityScores);
|
|
@@ -5008,7 +5023,7 @@ var lt = class extends Se {
|
|
|
5008
5023
|
var e = new Ce();
|
|
5009
5024
|
q(e, "image_in"), q(e, "roi_in"), q(e, "norm_rect_in");
|
|
5010
5025
|
const t = new De();
|
|
5011
|
-
Je(t,
|
|
5026
|
+
Je(t, ll, this.h);
|
|
5012
5027
|
const r = new _e();
|
|
5013
5028
|
Be(r, "mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraph"), z(r, "IMAGE:image_in"), z(r, "ROI:roi_in"), z(r, "NORM_RECT:norm_rect_in"), r.o(t), Ue(e, r), Ji(this, e), this.outputConfidenceMasks && (B(e, "confidence_masks"), F(r, "CONFIDENCE_MASKS:confidence_masks"), yr(this, "confidence_masks"), this.g.ba("confidence_masks", (i, n) => {
|
|
5014
5029
|
this.confidenceMasks = i.map((s) => _r(this, s, !0, !this.j)), p(this, n);
|
|
@@ -5034,7 +5049,7 @@ lt.prototype.segment = lt.prototype.segment, lt.prototype.setOptions = lt.protot
|
|
|
5034
5049
|
};
|
|
5035
5050
|
var $e = class extends Se {
|
|
5036
5051
|
constructor(e, t) {
|
|
5037
|
-
super(new qe(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, E(e = this.h = new
|
|
5052
|
+
super(new qe(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, E(e = this.h = new ul(), 0, 1, t = new X());
|
|
5038
5053
|
}
|
|
5039
5054
|
get baseOptions() {
|
|
5040
5055
|
return D(this.h, X, 1);
|
|
@@ -5058,7 +5073,7 @@ var $e = class extends Se {
|
|
|
5058
5073
|
Je(t, $d, this.h);
|
|
5059
5074
|
const r = new _e();
|
|
5060
5075
|
Be(r, "mediapipe.tasks.vision.ObjectDetectorGraph"), z(r, "IMAGE:input_frame_gpu"), z(r, "NORM_RECT:norm_rect"), F(r, "DETECTIONS:detections"), r.o(t), Ue(e, r), this.g.attachProtoVectorListener("detections", (i, n) => {
|
|
5061
|
-
for (const s of i) i =
|
|
5076
|
+
for (const s of i) i = Uc(s), this.j.detections.push(hl(i));
|
|
5062
5077
|
p(this, n);
|
|
5063
5078
|
}), this.g.attachEmptyPacketListener("detections", (i) => {
|
|
5064
5079
|
p(this, i);
|
|
@@ -5083,10 +5098,10 @@ var Gn = class {
|
|
|
5083
5098
|
});
|
|
5084
5099
|
}
|
|
5085
5100
|
};
|
|
5086
|
-
function
|
|
5101
|
+
function ca(e) {
|
|
5087
5102
|
e.landmarks = [], e.worldLandmarks = [], e.segmentationMasks = void 0;
|
|
5088
5103
|
}
|
|
5089
|
-
function
|
|
5104
|
+
function la(e) {
|
|
5090
5105
|
try {
|
|
5091
5106
|
const t = new Gn(e.landmarks, e.worldLandmarks, e.segmentationMasks);
|
|
5092
5107
|
if (!e.s) return t;
|
|
@@ -5098,7 +5113,7 @@ function ua(e) {
|
|
|
5098
5113
|
Gn.prototype.close = Gn.prototype.close;
|
|
5099
5114
|
var Fe = class extends Se {
|
|
5100
5115
|
constructor(e, t) {
|
|
5101
|
-
super(new qe(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, E(e = this.h = new
|
|
5116
|
+
super(new qe(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, E(e = this.h = new dl(), 0, 1, t = new X()), this.v = new il(), E(this.h, 0, 3, this.v), this.j = new rl(), E(this.h, 0, 2, this.j), ft(this.j, 4, 1), b(this.j, 2, 0.5), b(this.v, 2, 0.5), b(this.h, 4, 0.5);
|
|
5102
5117
|
}
|
|
5103
5118
|
get baseOptions() {
|
|
5104
5119
|
return D(this.h, X, 1);
|
|
@@ -5111,11 +5126,11 @@ var Fe = class extends Se {
|
|
|
5111
5126
|
}
|
|
5112
5127
|
D(e, t, r) {
|
|
5113
5128
|
const i = typeof t != "function" ? t : {};
|
|
5114
|
-
return this.s = typeof t == "function" ? t : r,
|
|
5129
|
+
return this.s = typeof t == "function" ? t : r, ca(this), Ye(this, e, i), la(this);
|
|
5115
5130
|
}
|
|
5116
5131
|
F(e, t, r, i) {
|
|
5117
5132
|
const n = typeof r != "function" ? r : {};
|
|
5118
|
-
return this.s = typeof r == "function" ? r : i,
|
|
5133
|
+
return this.s = typeof r == "function" ? r : i, ca(this), wt(this, e, n, t), la(this);
|
|
5119
5134
|
}
|
|
5120
5135
|
m() {
|
|
5121
5136
|
var e = new Ce();
|
|
@@ -5148,7 +5163,7 @@ Fe.prototype.detectForVideo = Fe.prototype.F, Fe.prototype.detect = Fe.prototype
|
|
|
5148
5163
|
return L(Fe, e, { baseOptions: { modelAssetBuffer: t } });
|
|
5149
5164
|
}, Fe.createFromOptions = function(e, t) {
|
|
5150
5165
|
return L(Fe, e, t);
|
|
5151
|
-
}, Fe.POSE_CONNECTIONS =
|
|
5166
|
+
}, Fe.POSE_CONNECTIONS = Al;
|
|
5152
5167
|
const ui = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/latest/face_landmarker.task", Qd = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@latest/wasm", Jd = () => {
|
|
5153
5168
|
const e = M(null), [t, r] = A(!1), [i, n] = A("Initializing..."), [s, a] = A(0), [c, l] = A(!1);
|
|
5154
5169
|
O(() => {
|
|
@@ -5187,7 +5202,7 @@ const ui = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
5187
5202
|
(async () => {
|
|
5188
5203
|
try {
|
|
5189
5204
|
n("Checking cached models..."), await u() ? n("Using cached model...") : (n("Model not cached. Downloading..."), await d()), n("Loading MediaPipe WASM...");
|
|
5190
|
-
const m = await
|
|
5205
|
+
const m = await Qt.forVisionTasks(Qd);
|
|
5191
5206
|
n("Creating face landmarker...");
|
|
5192
5207
|
const x = await J.createFromOptions(m, {
|
|
5193
5208
|
baseOptions: {
|
|
@@ -5360,7 +5375,7 @@ const ui = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
|
|
|
5360
5375
|
setReferenceFaceNotDetected: i
|
|
5361
5376
|
};
|
|
5362
5377
|
}, sh = 1e3, oh = (e, t) => {
|
|
5363
|
-
const [r, i] = A(!1), [n, s] = A("face_detected"), { incrementGazeViolation: a } =
|
|
5378
|
+
const [r, i] = A(!1), [n, s] = A("face_detected"), { incrementGazeViolation: a } = va(), { multipleFacesDetected: c, referenceFaceNotDetected: l, isLookingAway: u } = e;
|
|
5364
5379
|
O(() => {
|
|
5365
5380
|
let f;
|
|
5366
5381
|
return (u || c || l) && t ? f = setTimeout(() => {
|
|
@@ -5545,8 +5560,8 @@ class ah {
|
|
|
5545
5560
|
"MISSING_INTERVIEW_ID",
|
|
5546
5561
|
!1
|
|
5547
5562
|
);
|
|
5548
|
-
const s = await
|
|
5549
|
-
`${this.config.baseUrl}${
|
|
5563
|
+
const s = await Kt(
|
|
5564
|
+
`${this.config.baseUrl}${Xt.TRANSCRIBE_ANSWER(this.config.interviewId)}`,
|
|
5550
5565
|
{
|
|
5551
5566
|
method: "POST",
|
|
5552
5567
|
headers: {
|
|
@@ -5728,7 +5743,7 @@ const ar = new ah(), ch = (e, t, r, i) => {
|
|
|
5728
5743
|
referenceSet: n,
|
|
5729
5744
|
referenceRef: s,
|
|
5730
5745
|
setReferenceData: a
|
|
5731
|
-
} =
|
|
5746
|
+
} = va(), c = M(s), l = T(() => {
|
|
5732
5747
|
c.current = s;
|
|
5733
5748
|
}, [s]), u = T(() => {
|
|
5734
5749
|
var f;
|
|
@@ -5764,7 +5779,7 @@ const ar = new ah(), ch = (e, t, r, i) => {
|
|
|
5764
5779
|
setReference: u,
|
|
5765
5780
|
syncReference: l
|
|
5766
5781
|
};
|
|
5767
|
-
},
|
|
5782
|
+
}, jl = ma(
|
|
5768
5783
|
({
|
|
5769
5784
|
className: e = "",
|
|
5770
5785
|
interviewId: t = "",
|
|
@@ -5773,7 +5788,7 @@ const ar = new ah(), ch = (e, t, r, i) => {
|
|
|
5773
5788
|
onSetReference: n
|
|
5774
5789
|
}, s) => {
|
|
5775
5790
|
var Zs;
|
|
5776
|
-
const { authToken: a } =
|
|
5791
|
+
const { authToken: a } = ka(), c = a ? su(a) : null, l = Ca(), { borderRadius: u } = kr(), d = u ?? 18, { proctoring: h } = zn(), f = !!(h != null && h.gazeAnalysisEnabled), [w, m] = A(!1), [x, v] = A(
|
|
5777
5792
|
(h == null ? void 0 : h.showLandmarks) ?? !1
|
|
5778
5793
|
), [g, j] = A(
|
|
5779
5794
|
i && ((h == null ? void 0 : h.showEngagementBar) ?? !0)
|
|
@@ -5838,11 +5853,11 @@ const ar = new ah(), ch = (e, t, r, i) => {
|
|
|
5838
5853
|
isLookingAway: H
|
|
5839
5854
|
}, {
|
|
5840
5855
|
showGazeWarningModal: Ks,
|
|
5841
|
-
getWarningType:
|
|
5856
|
+
getWarningType: Nl,
|
|
5842
5857
|
closeWarningModal: Xs,
|
|
5843
5858
|
setShowGazeWarningModal: Qs,
|
|
5844
5859
|
setFaceDetectionState: Js
|
|
5845
|
-
} = oh(nt, f), { renderLoop:
|
|
5860
|
+
} = oh(nt, f), { renderLoop: Sl } = lh(
|
|
5846
5861
|
I,
|
|
5847
5862
|
R,
|
|
5848
5863
|
ee,
|
|
@@ -5859,17 +5874,17 @@ const ar = new ah(), ch = (e, t, r, i) => {
|
|
|
5859
5874
|
se,
|
|
5860
5875
|
Wt
|
|
5861
5876
|
);
|
|
5862
|
-
ch(I, ne,
|
|
5877
|
+
ch(I, ne, Sl, se), O(() => {
|
|
5863
5878
|
Te();
|
|
5864
5879
|
}, [Te]), O(() => {
|
|
5865
5880
|
oe && oe.current && (oe.current.value = pe, oe.current.isLookingAway = H);
|
|
5866
5881
|
}, [pe, H, oe]);
|
|
5867
|
-
const
|
|
5882
|
+
const Cl = T(
|
|
5868
5883
|
(st) => {
|
|
5869
5884
|
S(st), st || (gt(100), N(!1));
|
|
5870
5885
|
},
|
|
5871
5886
|
[gt, N]
|
|
5872
|
-
),
|
|
5887
|
+
), Il = T(() => {
|
|
5873
5888
|
N(!1), St(!1), Wt(!1), Js("face_detected"), Qs(!1), Xs();
|
|
5874
5889
|
}, [
|
|
5875
5890
|
N,
|
|
@@ -5878,7 +5893,7 @@ const ar = new ah(), ch = (e, t, r, i) => {
|
|
|
5878
5893
|
Js,
|
|
5879
5894
|
Qs,
|
|
5880
5895
|
Xs
|
|
5881
|
-
]),
|
|
5896
|
+
]), Rl = {
|
|
5882
5897
|
engagement: pe,
|
|
5883
5898
|
fps: mt,
|
|
5884
5899
|
isLookingAway: H,
|
|
@@ -5899,9 +5914,9 @@ const ar = new ah(), ch = (e, t, r, i) => {
|
|
|
5899
5914
|
start: Ct * Lr,
|
|
5900
5915
|
end: (Ct + 1) * Lr
|
|
5901
5916
|
})), Ht = (ve, Ct) => ve === Ct ? ve : Math.random() * (Ct - ve) + ve;
|
|
5902
|
-
ni.forEach(({ label: ve, start: Ct, end:
|
|
5917
|
+
ni.forEach(({ label: ve, start: Ct, end: Ml }, Ll) => {
|
|
5903
5918
|
let nn;
|
|
5904
|
-
|
|
5919
|
+
Ll === 0 ? nn = 3e3 : nn = Ht(Ct, Ml), zt.push(
|
|
5905
5920
|
setTimeout(() => {
|
|
5906
5921
|
Q(ve);
|
|
5907
5922
|
}, nn)
|
|
@@ -5913,7 +5928,7 @@ const ar = new ah(), ch = (e, t, r, i) => {
|
|
|
5913
5928
|
})(), () => {
|
|
5914
5929
|
st && st.getTracks().forEach((ot) => ot.stop()), zt.forEach(clearTimeout);
|
|
5915
5930
|
};
|
|
5916
|
-
}, [Q]),
|
|
5931
|
+
}, [Q]), ga(
|
|
5917
5932
|
s,
|
|
5918
5933
|
() => ({
|
|
5919
5934
|
setReference: () => {
|
|
@@ -5971,8 +5986,8 @@ const ar = new ah(), ch = (e, t, r, i) => {
|
|
|
5971
5986
|
setShowLandmarks: v,
|
|
5972
5987
|
showEngagementBar: g,
|
|
5973
5988
|
setShowEngagementBar: j,
|
|
5974
|
-
handleToggleGazeAnalysis:
|
|
5975
|
-
stats:
|
|
5989
|
+
handleToggleGazeAnalysis: Cl,
|
|
5990
|
+
stats: Rl,
|
|
5976
5991
|
statusMessage: Ke,
|
|
5977
5992
|
loadingProgress: rt
|
|
5978
5993
|
}
|
|
@@ -5982,8 +5997,8 @@ const ar = new ah(), ch = (e, t, r, i) => {
|
|
|
5982
5997
|
_u,
|
|
5983
5998
|
{
|
|
5984
5999
|
isOpen: Ks,
|
|
5985
|
-
onClose:
|
|
5986
|
-
warningType:
|
|
6000
|
+
onClose: Il,
|
|
6001
|
+
warningType: Nl()
|
|
5987
6002
|
}
|
|
5988
6003
|
)
|
|
5989
6004
|
] });
|
|
@@ -6006,7 +6021,7 @@ const ar = new ah(), ch = (e, t, r, i) => {
|
|
|
6006
6021
|
var gt;
|
|
6007
6022
|
const c = M(null), l = M(null), { baseColor: u, borderRadius: d } = kr(), [h, f] = A(!1), [w, m] = A(!1), [x, v] = A(!1), [g, j] = A(!1), [P, S] = A(!1), [I, R] = A(null), [V, Q] = A(!1), ee = M(null), ne = M(null), Ke = (N) => {
|
|
6008
6023
|
ee.current = N, n && (typeof n == "function" ? n(N) : n.current = N);
|
|
6009
|
-
}, se = u ?? "#2563eb", rt =
|
|
6024
|
+
}, se = u ?? "#2563eb", rt = ja(se), Ae = d ?? 18, be = (N, ae) => N.startsWith("#") && N.length === 7 ? `${N}${ae}` : N, mt = [
|
|
6010
6025
|
`radial-gradient(120% 85% at 50% 125%, ${be(
|
|
6011
6026
|
se,
|
|
6012
6027
|
"34"
|
|
@@ -6059,7 +6074,7 @@ const ar = new ah(), ch = (e, t, r, i) => {
|
|
|
6059
6074
|
description: xe.cameraCopy,
|
|
6060
6075
|
status: xe.badge,
|
|
6061
6076
|
toneClass: xe.toneClass,
|
|
6062
|
-
Icon:
|
|
6077
|
+
Icon: Sa
|
|
6063
6078
|
},
|
|
6064
6079
|
{
|
|
6065
6080
|
label: "Microphone input",
|
|
@@ -6145,7 +6160,7 @@ const ar = new ah(), ch = (e, t, r, i) => {
|
|
|
6145
6160
|
),
|
|
6146
6161
|
/* @__PURE__ */ o.jsxs("div", { className: "iw-relative iw-grid md:iw-grid-cols-[minmax(0,1fr)_auto] iw-items-start iw-gap-6 iw-px-6 iw-py-7", children: [
|
|
6147
6162
|
/* @__PURE__ */ o.jsx("div", { className: "iw-flex iw-flex-col iw-gap-4 iw-text-white", children: /* @__PURE__ */ o.jsxs("div", { className: "iw-flex iw-items-start iw-gap-4", children: [
|
|
6148
|
-
/* @__PURE__ */ o.jsx("div", { className: "iw-flex iw-h-12 iw-w-12 iw-items-center iw-justify-center iw-rounded-2xl iw-bg-white/15 iw-shadow-inner", children: /* @__PURE__ */ o.jsx(
|
|
6163
|
+
/* @__PURE__ */ o.jsx("div", { className: "iw-flex iw-h-12 iw-w-12 iw-items-center iw-justify-center iw-rounded-2xl iw-bg-white/15 iw-shadow-inner", children: /* @__PURE__ */ o.jsx(Na, { className: "iw-h-6 iw-w-6" }) }),
|
|
6149
6164
|
/* @__PURE__ */ o.jsxs("div", { children: [
|
|
6150
6165
|
/* @__PURE__ */ o.jsx("p", { className: "iw-text-[11px] iw-font-medium iw-uppercase iw-tracking-wide iw-text-white/70", children: "Pre-interview checklist" }),
|
|
6151
6166
|
/* @__PURE__ */ o.jsx("h2", { className: "iw-mt-1 iw-text-xl iw-font-semibold iw-leading-tight", children: "Final checks before you go live" }),
|
|
@@ -6216,7 +6231,7 @@ const ar = new ah(), ch = (e, t, r, i) => {
|
|
|
6216
6231
|
style: { borderRadius: Ae },
|
|
6217
6232
|
children: [
|
|
6218
6233
|
/* @__PURE__ */ o.jsx("div", { className: "iw-relative iw-z-10 iw-rounded-2xl iw-border iw-border-slate-200 iw-bg-slate-50/80 iw-p-3", children: i && (P || g) ? /* @__PURE__ */ o.jsx(
|
|
6219
|
-
|
|
6234
|
+
jl,
|
|
6220
6235
|
{
|
|
6221
6236
|
ref: Ke,
|
|
6222
6237
|
interviewId: s,
|
|
@@ -6242,7 +6257,7 @@ const ar = new ah(), ch = (e, t, r, i) => {
|
|
|
6242
6257
|
) }),
|
|
6243
6258
|
/* @__PURE__ */ o.jsx("div", { className: "iw-relative iw-grid iw-grid-cols-2 iw-gap-4 iw-px-1", children: !x && !P ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
6244
6259
|
/* @__PURE__ */ o.jsx(
|
|
6245
|
-
|
|
6260
|
+
Aa,
|
|
6246
6261
|
{
|
|
6247
6262
|
onClick: pe,
|
|
6248
6263
|
disabled: V,
|
|
@@ -6863,12 +6878,12 @@ class kh {
|
|
|
6863
6878
|
return this.currentAudio !== null && !this.currentAudio.paused;
|
|
6864
6879
|
}
|
|
6865
6880
|
}
|
|
6866
|
-
const
|
|
6881
|
+
const ua = new kh(), Eh = (e = {}) => {
|
|
6867
6882
|
const [t, r] = A(!1), [i, n] = A(!1), [s, a] = A(null), c = T(
|
|
6868
6883
|
async (u) => {
|
|
6869
6884
|
var d;
|
|
6870
6885
|
try {
|
|
6871
|
-
a(null), n(!0), await
|
|
6886
|
+
a(null), n(!0), await ua.play(u, {
|
|
6872
6887
|
onStart: () => {
|
|
6873
6888
|
var h;
|
|
6874
6889
|
n(!1), r(!0), (h = e.onStart) == null || h.call(e);
|
|
@@ -6889,7 +6904,7 @@ const da = new kh(), Eh = (e = {}) => {
|
|
|
6889
6904
|
},
|
|
6890
6905
|
[e]
|
|
6891
6906
|
), l = T(() => {
|
|
6892
|
-
|
|
6907
|
+
ua.stop(), r(!1), n(!1);
|
|
6893
6908
|
}, []);
|
|
6894
6909
|
return {
|
|
6895
6910
|
speak: c,
|
|
@@ -6903,7 +6918,7 @@ const da = new kh(), Eh = (e = {}) => {
|
|
|
6903
6918
|
onEnd: t,
|
|
6904
6919
|
maxViolations: r = 5
|
|
6905
6920
|
}) => {
|
|
6906
|
-
const { addViolation: i } =
|
|
6921
|
+
const { addViolation: i } = Jl(), n = Xl(), s = Ql(), a = M(s);
|
|
6907
6922
|
O(() => {
|
|
6908
6923
|
a.current = s;
|
|
6909
6924
|
}, [s]);
|
|
@@ -7015,7 +7030,7 @@ const da = new kh(), Eh = (e = {}) => {
|
|
|
7015
7030
|
clearInterval(i), document.removeEventListener("keydown", n), document.removeEventListener("contextmenu", s), delete window.showStats, delete window.interviewTips;
|
|
7016
7031
|
};
|
|
7017
7032
|
}, []);
|
|
7018
|
-
}, jh = (e, t, r) => Math.max(t, Math.min(r, e)),
|
|
7033
|
+
}, jh = (e, t, r) => Math.max(t, Math.min(r, e)), da = (e) => {
|
|
7019
7034
|
const t = Math.max(0, Math.floor(e)), r = Math.floor(t / 60).toString().padStart(2, "0"), i = (t % 60).toString().padStart(2, "0");
|
|
7020
7035
|
return `${r}:${i}`;
|
|
7021
7036
|
}, Ys = ({
|
|
@@ -7035,7 +7050,7 @@ const da = new kh(), Eh = (e = {}) => {
|
|
|
7035
7050
|
{
|
|
7036
7051
|
className: `iw-relative iw-inline-flex iw-items-center iw-justify-center iw-rounded-full iw-bg-white ${n}`,
|
|
7037
7052
|
style: { width: r, height: r },
|
|
7038
|
-
"aria-label": `Time remaining ${
|
|
7053
|
+
"aria-label": `Time remaining ${da(t)}`,
|
|
7039
7054
|
role: "timer",
|
|
7040
7055
|
"aria-live": "polite",
|
|
7041
7056
|
children: [
|
|
@@ -7086,7 +7101,7 @@ const da = new kh(), Eh = (e = {}) => {
|
|
|
7086
7101
|
"span",
|
|
7087
7102
|
{
|
|
7088
7103
|
className: `iw-text-[11px] iw-font-semibold iw-tabular-nums ${c <= 0.25 ? "iw-text-red-600" : c <= 0.5 ? "iw-text-yellow-600" : "iw-text-green-600"}`,
|
|
7089
|
-
children:
|
|
7104
|
+
children: da(t)
|
|
7090
7105
|
}
|
|
7091
7106
|
) })
|
|
7092
7107
|
]
|
|
@@ -7194,7 +7209,7 @@ const da = new kh(), Eh = (e = {}) => {
|
|
|
7194
7209
|
"div",
|
|
7195
7210
|
{
|
|
7196
7211
|
className: "iw-rounded-xl iw-mb-4 message-animation iw-text-gray-800 iw-p-6 ",
|
|
7197
|
-
style:
|
|
7212
|
+
style: ru(r, 0.85),
|
|
7198
7213
|
children: /* @__PURE__ */ o.jsxs("div", { className: "iw-flex iw-items-center iw-gap-8", children: [
|
|
7199
7214
|
/* @__PURE__ */ o.jsx("div", { className: "iw-flex iw-flex-col iw-items-center iw-relative iw-h-32 iw-w-32 iw-shrink-0 iw-shadow iw-rounded-lg iw-bg-white", children: /* @__PURE__ */ o.jsx("div", { className: "iw-mt-2", children: /* @__PURE__ */ o.jsx(
|
|
7200
7215
|
"img",
|
|
@@ -7211,7 +7226,7 @@ const da = new kh(), Eh = (e = {}) => {
|
|
|
7211
7226
|
] })
|
|
7212
7227
|
}
|
|
7213
7228
|
);
|
|
7214
|
-
},
|
|
7229
|
+
}, ha = ({
|
|
7215
7230
|
currentQuestion: e,
|
|
7216
7231
|
phase: t,
|
|
7217
7232
|
className: r = "",
|
|
@@ -7233,7 +7248,7 @@ const da = new kh(), Eh = (e = {}) => {
|
|
|
7233
7248
|
) }) }),
|
|
7234
7249
|
/* @__PURE__ */ o.jsxs("div", { className: "iw iw-bg-[#F6F6F6] iw-grid iw-grid-cols-2 iw-rounded-[14px] iw-p-6", children: [
|
|
7235
7250
|
/* @__PURE__ */ o.jsx("div", { className: "iw-min-h-[400px] iw-max-h-[600px]", children: /* @__PURE__ */ o.jsx(
|
|
7236
|
-
|
|
7251
|
+
jl,
|
|
7237
7252
|
{
|
|
7238
7253
|
ref: a,
|
|
7239
7254
|
interviewId: n,
|
|
@@ -7287,7 +7302,7 @@ const da = new kh(), Eh = (e = {}) => {
|
|
|
7287
7302
|
] })
|
|
7288
7303
|
] })
|
|
7289
7304
|
}
|
|
7290
|
-
),
|
|
7305
|
+
), fa = ({
|
|
7291
7306
|
title: e,
|
|
7292
7307
|
brandName: t,
|
|
7293
7308
|
onExit: r
|
|
@@ -7764,13 +7779,13 @@ function Uh({
|
|
|
7764
7779
|
return {
|
|
7765
7780
|
title: "Tab Switch Detected",
|
|
7766
7781
|
description: "You attempted to switch to another tab or reload application.",
|
|
7767
|
-
icon: /* @__PURE__ */ o.jsx(
|
|
7782
|
+
icon: /* @__PURE__ */ o.jsx(Ia, { className: "iw-h-5 iw-w-5" })
|
|
7768
7783
|
};
|
|
7769
7784
|
case "fullscreen_exit":
|
|
7770
7785
|
return {
|
|
7771
7786
|
title: "Full Screen Exit Detected",
|
|
7772
7787
|
description: "You attempted to exit full screen mode.",
|
|
7773
|
-
icon: /* @__PURE__ */ o.jsx(
|
|
7788
|
+
icon: /* @__PURE__ */ o.jsx(Sa, { className: "iw-h-5 iw-w-5" })
|
|
7774
7789
|
};
|
|
7775
7790
|
case "focus_loss":
|
|
7776
7791
|
return {
|
|
@@ -7851,7 +7866,7 @@ function Uh({
|
|
|
7851
7866
|
/* @__PURE__ */ o.jsx("h3", { className: "iw-mb-2 iw-font-semibold iw-text-gray-900", children: u.title }),
|
|
7852
7867
|
/* @__PURE__ */ o.jsx("p", { className: "iw-text-sm iw-leading-relaxed iw-text-gray-700", children: u.description }),
|
|
7853
7868
|
/* @__PURE__ */ o.jsxs("div", { className: "iw-mt-3 iw-flex iw-items-center iw-gap-2 iw-text-xs iw-text-red-600", children: [
|
|
7854
|
-
/* @__PURE__ */ o.jsx(
|
|
7869
|
+
/* @__PURE__ */ o.jsx(Na, { className: "iw-h-3 iw-w-3" }),
|
|
7855
7870
|
/* @__PURE__ */ o.jsx("span", { children: "This action is monitored for interview integrity" })
|
|
7856
7871
|
] })
|
|
7857
7872
|
] })
|
|
@@ -7956,7 +7971,7 @@ const Gh = (e) => /* @__PURE__ */ o.jsxs(
|
|
|
7956
7971
|
]
|
|
7957
7972
|
}
|
|
7958
7973
|
);
|
|
7959
|
-
}, $h =
|
|
7974
|
+
}, $h = ma(
|
|
7960
7975
|
({ children: e, onDisqualify: t }, r) => {
|
|
7961
7976
|
const [i, n] = A(!1), [s, a] = A(!1), [c, l] = A(!1), [u, d] = A("fullscreen_exit"), { logViolation: h, violationCount: f } = Ah({
|
|
7962
7977
|
maxViolations: 5,
|
|
@@ -7977,7 +7992,7 @@ const Gh = (e) => /* @__PURE__ */ o.jsxs(
|
|
|
7977
7992
|
});
|
|
7978
7993
|
O(() => {
|
|
7979
7994
|
w();
|
|
7980
|
-
}, []),
|
|
7995
|
+
}, []), ga(
|
|
7981
7996
|
r,
|
|
7982
7997
|
() => ({
|
|
7983
7998
|
exitFullScreenIntentionally: async () => {
|
|
@@ -8028,7 +8043,7 @@ const Gh = (e) => /* @__PURE__ */ o.jsxs(
|
|
|
8028
8043
|
videoFeedRef: a
|
|
8029
8044
|
}) => {
|
|
8030
8045
|
var ii;
|
|
8031
|
-
const c =
|
|
8046
|
+
const c = Ca(), { baseUrl: l, authToken: u } = ka(), { timers: d, stt: h, proctoring: f } = zn(), w = M(null), [m, x] = A(null), [v, g] = A(""), [j, P] = A(
|
|
8032
8047
|
Ei
|
|
8033
8048
|
), S = M(""), I = M(null);
|
|
8034
8049
|
O(() => {
|
|
@@ -8158,12 +8173,12 @@ const Gh = (e) => /* @__PURE__ */ o.jsxs(
|
|
|
8158
8173
|
try {
|
|
8159
8174
|
ne.current = !1, await Ke(
|
|
8160
8175
|
I.current.question_audio_data_base64
|
|
8161
|
-
), I.current.is_interview_done &&
|
|
8176
|
+
), I.current.is_interview_done && Xe();
|
|
8162
8177
|
} catch (Te) {
|
|
8163
8178
|
console.error("Failed to speak question:", Te), H();
|
|
8164
8179
|
}
|
|
8165
8180
|
else
|
|
8166
|
-
console.warn("No audio data available for question"), await
|
|
8181
|
+
console.warn("No audio data available for question"), await iu(2e3), H();
|
|
8167
8182
|
else
|
|
8168
8183
|
H();
|
|
8169
8184
|
}, [Ke, H, Xe]), $t = T(async () => {
|
|
@@ -8184,7 +8199,7 @@ const Gh = (e) => /* @__PURE__ */ o.jsxs(
|
|
|
8184
8199
|
var Te;
|
|
8185
8200
|
se(), await ((Te = w.current) == null ? void 0 : Te.exitFullScreenIntentionally());
|
|
8186
8201
|
try {
|
|
8187
|
-
await c.generateQuestion({
|
|
8202
|
+
await c.exitInterview(r), await c.generateQuestion({
|
|
8188
8203
|
interviewId: r,
|
|
8189
8204
|
isInterviewDone: !0
|
|
8190
8205
|
});
|
|
@@ -8255,7 +8270,7 @@ const Gh = (e) => /* @__PURE__ */ o.jsxs(
|
|
|
8255
8270
|
onDisqualify: () => Wt(n),
|
|
8256
8271
|
children: [
|
|
8257
8272
|
/* @__PURE__ */ o.jsx(
|
|
8258
|
-
|
|
8273
|
+
fa,
|
|
8259
8274
|
{
|
|
8260
8275
|
title: e,
|
|
8261
8276
|
brandName: t,
|
|
@@ -8263,7 +8278,7 @@ const Gh = (e) => /* @__PURE__ */ o.jsxs(
|
|
|
8263
8278
|
}
|
|
8264
8279
|
),
|
|
8265
8280
|
/* @__PURE__ */ o.jsx(
|
|
8266
|
-
|
|
8281
|
+
ha,
|
|
8267
8282
|
{
|
|
8268
8283
|
currentQuestion: m,
|
|
8269
8284
|
phase: oe.phase,
|
|
@@ -8278,7 +8293,7 @@ const Gh = (e) => /* @__PURE__ */ o.jsxs(
|
|
|
8278
8293
|
}
|
|
8279
8294
|
) : /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
8280
8295
|
/* @__PURE__ */ o.jsx(
|
|
8281
|
-
|
|
8296
|
+
fa,
|
|
8282
8297
|
{
|
|
8283
8298
|
title: e,
|
|
8284
8299
|
brandName: t,
|
|
@@ -8286,7 +8301,7 @@ const Gh = (e) => /* @__PURE__ */ o.jsxs(
|
|
|
8286
8301
|
}
|
|
8287
8302
|
),
|
|
8288
8303
|
/* @__PURE__ */ o.jsx(
|
|
8289
|
-
|
|
8304
|
+
ha,
|
|
8290
8305
|
{
|
|
8291
8306
|
currentQuestion: m,
|
|
8292
8307
|
phase: oe.phase,
|
|
@@ -8349,10 +8364,10 @@ const Gh = (e) => /* @__PURE__ */ o.jsxs(
|
|
|
8349
8364
|
};
|
|
8350
8365
|
typeof window < "u" && (window.InterviewWidget = {
|
|
8351
8366
|
InterviewWidget: zh,
|
|
8352
|
-
InterviewWidgetProvider:
|
|
8367
|
+
InterviewWidgetProvider: Zl
|
|
8353
8368
|
});
|
|
8354
8369
|
export {
|
|
8355
8370
|
zh as InterviewWidget,
|
|
8356
|
-
|
|
8371
|
+
Zl as InterviewWidgetProvider,
|
|
8357
8372
|
zh as default
|
|
8358
8373
|
};
|