@richard.fadiora/liveness-detection 5.0.4 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -5
- package/dist/{LivenessCheck-CjVP-81C.cjs → LivenessCheck-6oh9vnb0.cjs} +6 -6
- package/dist/{LivenessCheck-uEzmlOY8.js → LivenessCheck-CtndKzVw.js} +654 -649
- package/dist/angular/README.md +19 -5
- package/dist/angular/fesm2022/richard.fadiora-liveness-detection.mjs +41 -13
- package/dist/angular/fesm2022/richard.fadiora-liveness-detection.mjs.map +1 -1
- package/dist/angular/types/richard.fadiora-liveness-detection.d.ts +5 -0
- package/dist/core/LivenessEngine.d.ts +5 -0
- package/dist/core/LivenessEngine.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import Ja, { useState as Qa, useRef as Fs, useEffect as Rs, useCallback as Ns } from "react";
|
|
2
2
|
import Za from "react-webcam";
|
|
3
|
-
var
|
|
3
|
+
var bt = typeof self < "u" ? self : {};
|
|
4
4
|
function Zt(e, t) {
|
|
5
5
|
e: {
|
|
6
|
-
for (var r = ["CLOSURE_FLAGS"], n =
|
|
6
|
+
for (var r = ["CLOSURE_FLAGS"], n = bt, s = 0; s < r.length; s++) if ((n = n[r[s]]) == null) {
|
|
7
7
|
r = null;
|
|
8
8
|
break e;
|
|
9
9
|
}
|
|
@@ -53,16 +53,16 @@ function Vi(e) {
|
|
|
53
53
|
return e;
|
|
54
54
|
}
|
|
55
55
|
function Gi(e) {
|
|
56
|
-
|
|
56
|
+
bt.setTimeout(() => {
|
|
57
57
|
throw e;
|
|
58
58
|
}, 0);
|
|
59
59
|
}
|
|
60
|
-
var ln, n2 = Zt(610401301, !1),
|
|
61
|
-
function
|
|
62
|
-
var e =
|
|
60
|
+
var ln, n2 = Zt(610401301, !1), Ds = Zt(748402147, !0), xn = Zt(824648567, !0), On = Zt(824656860, Zt(1, !0));
|
|
61
|
+
function Bs() {
|
|
62
|
+
var e = bt.navigator;
|
|
63
63
|
return e && (e = e.userAgent) ? e : "";
|
|
64
64
|
}
|
|
65
|
-
const js =
|
|
65
|
+
const js = bt.navigator;
|
|
66
66
|
function Lr(e) {
|
|
67
67
|
return Lr[" "](e), e;
|
|
68
68
|
}
|
|
@@ -110,13 +110,13 @@ function Wi() {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
var i2 = typeof Uint8Array < "u",
|
|
113
|
+
var i2 = typeof Uint8Array < "u", qi = !(!(n2 && ln && ln.brands.length > 0) && (Bs().indexOf("Trident") != -1 || Bs().indexOf("MSIE") != -1)) && typeof btoa == "function";
|
|
114
114
|
const Us = /[-_.]/g, o2 = { "-": "+", _: "/", ".": "=" };
|
|
115
115
|
function a2(e) {
|
|
116
116
|
return o2[e] || "";
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
if (!
|
|
118
|
+
function Ki(e) {
|
|
119
|
+
if (!qi) return s2(e);
|
|
120
120
|
e = Us.test(e) ? e.replace(Us, a2) : e, e = atob(e);
|
|
121
121
|
const t = new Uint8Array(e.length);
|
|
122
122
|
for (let r = 0; r < e.length; r++) t[r] = e.charCodeAt(r);
|
|
@@ -125,14 +125,14 @@ function qi(e) {
|
|
|
125
125
|
function Fn(e) {
|
|
126
126
|
return i2 && e != null && e instanceof Uint8Array;
|
|
127
127
|
}
|
|
128
|
-
var
|
|
128
|
+
var wt = {};
|
|
129
129
|
function at() {
|
|
130
|
-
return c2 || (c2 = new xe(null,
|
|
130
|
+
return c2 || (c2 = new xe(null, wt));
|
|
131
131
|
}
|
|
132
132
|
function Rn(e) {
|
|
133
|
-
zi(
|
|
133
|
+
zi(wt);
|
|
134
134
|
var t = e.g;
|
|
135
|
-
return (t = t == null || Fn(t) ? t : typeof t == "string" ?
|
|
135
|
+
return (t = t == null || Fn(t) ? t : typeof t == "string" ? Ki(t) : null) == null ? t : e.g = t;
|
|
136
136
|
}
|
|
137
137
|
var xe = class {
|
|
138
138
|
h() {
|
|
@@ -144,7 +144,7 @@ var xe = class {
|
|
|
144
144
|
};
|
|
145
145
|
let c2, u2;
|
|
146
146
|
function zi(e) {
|
|
147
|
-
if (e !==
|
|
147
|
+
if (e !== wt) throw Error("illegal external caller");
|
|
148
148
|
}
|
|
149
149
|
function Yi(e, t) {
|
|
150
150
|
e.__closure__error__context__984382 || (e.__closure__error__context__984382 = {}), e.__closure__error__context__984382.severity = t;
|
|
@@ -158,22 +158,22 @@ function Et(e, t) {
|
|
|
158
158
|
n >= t || (r[e] = n + 1, Yi(e = Error(), "incident"), Gi(e));
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Ot() {
|
|
162
162
|
return typeof BigInt == "function";
|
|
163
163
|
}
|
|
164
|
-
var
|
|
164
|
+
var Ft = typeof Symbol == "function" && typeof Symbol() == "symbol";
|
|
165
165
|
function Oe(e, t, r = !1) {
|
|
166
166
|
return typeof Symbol == "function" && typeof Symbol() == "symbol" ? r && Symbol.for && e ? Symbol.for(e) : e != null ? Symbol(e) : Symbol() : t;
|
|
167
167
|
}
|
|
168
|
-
var h2 = Oe("jas", void 0, !0), Vs = Oe(void 0, "0di"), Wt = Oe(void 0, "1oa"),
|
|
169
|
-
const Xi = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, $i = Object.defineProperties, p =
|
|
168
|
+
var h2 = Oe("jas", void 0, !0), Vs = Oe(void 0, "0di"), Wt = Oe(void 0, "1oa"), ue = Oe(void 0, Symbol()), l2 = Oe(void 0, "0ub"), f2 = Oe(void 0, "0ubs"), dn = Oe(void 0, "0ubsb"), d2 = Oe(void 0, "0actk"), At = Oe("m_m", "Pa", !0), Gs = Oe();
|
|
169
|
+
const Xi = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, $i = Object.defineProperties, p = Ft ? h2 : "Ga";
|
|
170
170
|
var ht;
|
|
171
171
|
const Hs = [];
|
|
172
172
|
function sr(e, t) {
|
|
173
|
-
|
|
173
|
+
Ft || p in e || $i(e, Xi), e[p] |= t;
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
|
|
175
|
+
function z(e, t) {
|
|
176
|
+
Ft || p in e || $i(e, Xi), e[p] = t;
|
|
177
177
|
}
|
|
178
178
|
function ir(e) {
|
|
179
179
|
return sr(e, 34), e;
|
|
@@ -181,16 +181,16 @@ function ir(e) {
|
|
|
181
181
|
function er(e) {
|
|
182
182
|
return sr(e, 8192), e;
|
|
183
183
|
}
|
|
184
|
-
|
|
185
|
-
var
|
|
186
|
-
function
|
|
184
|
+
z(Hs, 7), ht = Object.freeze(Hs);
|
|
185
|
+
var kt = {};
|
|
186
|
+
function le(e, t) {
|
|
187
187
|
return t === void 0 ? e.h !== ct && !!(2 & (0 | e.v[p])) : !!(2 & t) && e.h !== ct;
|
|
188
188
|
}
|
|
189
189
|
const ct = {};
|
|
190
190
|
function Nn(e, t) {
|
|
191
191
|
if (e != null) {
|
|
192
|
-
if (typeof e == "string") e = e ? new xe(e,
|
|
193
|
-
else if (e.constructor !== xe) if (Fn(e)) e = e.length ? new xe(new Uint8Array(e),
|
|
192
|
+
if (typeof e == "string") e = e ? new xe(e, wt) : at();
|
|
193
|
+
else if (e.constructor !== xe) if (Fn(e)) e = e.length ? new xe(new Uint8Array(e), wt) : at();
|
|
194
194
|
else {
|
|
195
195
|
if (!t) throw Error();
|
|
196
196
|
e = void 0;
|
|
@@ -223,23 +223,23 @@ function Ji(e, t, r) {
|
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
var Qi = {};
|
|
226
|
-
function
|
|
226
|
+
function Rt(e) {
|
|
227
227
|
return 128 & e ? Qi : void 0;
|
|
228
228
|
}
|
|
229
229
|
function Pr(e) {
|
|
230
230
|
return e.Na = !0, e;
|
|
231
231
|
}
|
|
232
|
-
var g2 = Pr((e) => typeof e == "number"),
|
|
233
|
-
function
|
|
232
|
+
var g2 = Pr((e) => typeof e == "number"), qs = Pr((e) => typeof e == "string"), m2 = Pr((e) => typeof e == "boolean"), Mr = typeof bt.BigInt == "function" && typeof bt.BigInt(0) == "bigint";
|
|
233
|
+
function he(e) {
|
|
234
234
|
var t = e;
|
|
235
|
-
if (
|
|
235
|
+
if (qs(t)) {
|
|
236
236
|
if (!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(t)) throw Error(String(t));
|
|
237
237
|
} else if (g2(t) && !Number.isSafeInteger(t)) throw Error(String(t));
|
|
238
|
-
return
|
|
238
|
+
return Mr ? BigInt(e) : e = m2(e) ? e ? "1" : "0" : qs(e) ? e.trim() || "0" : String(e);
|
|
239
239
|
}
|
|
240
|
-
var pn = Pr((e) =>
|
|
241
|
-
const y2 = Number.MIN_SAFE_INTEGER.toString(), _2 =
|
|
242
|
-
function
|
|
240
|
+
var pn = Pr((e) => Mr ? e >= _2 && e <= b2 : e[0] === "-" ? Ks(e, y2) : Ks(e, v2));
|
|
241
|
+
const y2 = Number.MIN_SAFE_INTEGER.toString(), _2 = Mr ? BigInt(Number.MIN_SAFE_INTEGER) : void 0, v2 = Number.MAX_SAFE_INTEGER.toString(), b2 = Mr ? BigInt(Number.MAX_SAFE_INTEGER) : void 0;
|
|
242
|
+
function Ks(e, t) {
|
|
243
243
|
if (e.length > t.length) return !1;
|
|
244
244
|
if (e.length < t.length || e === t) return !0;
|
|
245
245
|
for (let r = 0; r < e.length; r++) {
|
|
@@ -248,13 +248,13 @@ function qs(e, t) {
|
|
|
248
248
|
if (n < s) return !0;
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
-
const
|
|
252
|
-
let
|
|
251
|
+
const w2 = typeof Uint8Array.prototype.slice == "function";
|
|
252
|
+
let E2, F = 0, U = 0;
|
|
253
253
|
function zs(e) {
|
|
254
254
|
const t = e >>> 0;
|
|
255
255
|
F = t, U = (e - t) / 4294967296 >>> 0;
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function St(e) {
|
|
258
258
|
if (e < 0) {
|
|
259
259
|
zs(-e);
|
|
260
260
|
const [t, r] = jn(F, U);
|
|
@@ -262,7 +262,7 @@ function kt(e) {
|
|
|
262
262
|
} else zs(e);
|
|
263
263
|
}
|
|
264
264
|
function Cn(e) {
|
|
265
|
-
const t =
|
|
265
|
+
const t = E2 || (E2 = new DataView(new ArrayBuffer(8)));
|
|
266
266
|
t.setFloat32(0, +e, !0), U = 0, F = t.getUint32(0, !0);
|
|
267
267
|
}
|
|
268
268
|
function gn(e, t) {
|
|
@@ -270,25 +270,25 @@ function gn(e, t) {
|
|
|
270
270
|
return Number.isSafeInteger(r) ? r : tr(e, t);
|
|
271
271
|
}
|
|
272
272
|
function A2(e, t) {
|
|
273
|
-
return
|
|
273
|
+
return he(Ot() ? BigInt.asUintN(64, (BigInt(t >>> 0) << BigInt(32)) + BigInt(e >>> 0)) : tr(e, t));
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function Dn(e, t) {
|
|
276
276
|
const r = 2147483648 & t;
|
|
277
277
|
return r && (t = ~t >>> 0, (e = 1 + ~e >>> 0) == 0 && (t = t + 1 >>> 0)), typeof (e = gn(e, t)) == "number" ? r ? -e : e : r ? "-" + e : e;
|
|
278
278
|
}
|
|
279
279
|
function Zi(e, t) {
|
|
280
|
-
return
|
|
280
|
+
return Ot() ? he(BigInt.asIntN(64, (BigInt.asUintN(32, BigInt(t)) << BigInt(32)) + BigInt.asUintN(32, BigInt(e)))) : he(Bn(e, t));
|
|
281
281
|
}
|
|
282
282
|
function tr(e, t) {
|
|
283
283
|
if (e >>>= 0, (t >>>= 0) <= 2097151) var r = "" + (4294967296 * t + e);
|
|
284
|
-
else
|
|
284
|
+
else Ot() ? 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 + Ys(r) + Ys(e));
|
|
285
285
|
return r;
|
|
286
286
|
}
|
|
287
287
|
function Ys(e) {
|
|
288
288
|
return e = String(e), "0000000".slice(e.length) + e;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
if (2147483648 & t) if (
|
|
290
|
+
function Bn(e, t) {
|
|
291
|
+
if (2147483648 & t) if (Ot()) e = "" + (BigInt(0 | t) << BigInt(32) | BigInt(e >>> 0));
|
|
292
292
|
else {
|
|
293
293
|
const [r, n] = jn(e, t);
|
|
294
294
|
e = "-" + tr(r, n);
|
|
@@ -296,9 +296,9 @@ function Dn(e, t) {
|
|
|
296
296
|
else e = tr(e, t);
|
|
297
297
|
return e;
|
|
298
298
|
}
|
|
299
|
-
function
|
|
300
|
-
if (e.length < 16)
|
|
301
|
-
else if (
|
|
299
|
+
function Ir(e) {
|
|
300
|
+
if (e.length < 16) St(Number(e));
|
|
301
|
+
else if (Ot()) e = BigInt(e), F = Number(e & BigInt(4294967295)) >>> 0, U = Number(e >> BigInt(32) & BigInt(4294967295));
|
|
302
302
|
else {
|
|
303
303
|
const t = +(e[0] === "-");
|
|
304
304
|
U = F = 0;
|
|
@@ -319,12 +319,12 @@ function jn(e, t) {
|
|
|
319
319
|
function ke(e) {
|
|
320
320
|
return Array.prototype.slice.call(e);
|
|
321
321
|
}
|
|
322
|
-
const or = typeof BigInt == "function" ? BigInt.asIntN : void 0, k2 = typeof BigInt == "function" ? BigInt.asUintN : void 0, ut = Number.isSafeInteger, xr = Number.isFinite,
|
|
322
|
+
const or = typeof BigInt == "function" ? BigInt.asIntN : void 0, k2 = typeof BigInt == "function" ? BigInt.asUintN : void 0, ut = Number.isSafeInteger, xr = Number.isFinite, Tt = Math.trunc, S2 = he(0);
|
|
323
323
|
function Xt(e) {
|
|
324
324
|
if (e != null && typeof e != "number") throw Error(`Value of float/double field must be a number, found ${typeof e}: ${e}`);
|
|
325
325
|
return e;
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function Ie(e) {
|
|
328
328
|
return e == null || typeof e == "number" ? e : e === "NaN" || e === "Infinity" || e === "-Infinity" ? Number(e) : void 0;
|
|
329
329
|
}
|
|
330
330
|
function rr(e) {
|
|
@@ -350,7 +350,7 @@ function ar(e) {
|
|
|
350
350
|
return !1;
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function Nt(e) {
|
|
354
354
|
if (e == null) return e;
|
|
355
355
|
if (typeof e == "string" && e) e = +e;
|
|
356
356
|
else if (typeof e != "number") return;
|
|
@@ -364,28 +364,28 @@ function to(e) {
|
|
|
364
364
|
}
|
|
365
365
|
function ro(e) {
|
|
366
366
|
const t = e.length;
|
|
367
|
-
return (e[0] === "-" ? t < 20 || t === 20 && e <= "-9223372036854775808" : t < 19 || t === 19 && e <= "9223372036854775807") ? e : (
|
|
367
|
+
return (e[0] === "-" ? t < 20 || t === 20 && e <= "-9223372036854775808" : t < 19 || t === 19 && e <= "9223372036854775807") ? e : (Ir(e), Bn(F, U));
|
|
368
368
|
}
|
|
369
369
|
function Un(e) {
|
|
370
|
-
return e =
|
|
370
|
+
return e = Tt(e), ut(e) || (St(e), e = Dn(F, U)), e;
|
|
371
371
|
}
|
|
372
372
|
function no(e) {
|
|
373
|
-
var t =
|
|
373
|
+
var t = Tt(Number(e));
|
|
374
374
|
return ut(t) ? String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), ro(e));
|
|
375
375
|
}
|
|
376
376
|
function so(e) {
|
|
377
|
-
var t =
|
|
378
|
-
return ut(t) ?
|
|
377
|
+
var t = Tt(Number(e));
|
|
378
|
+
return ut(t) ? he(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Ot() ? he(or(64, BigInt(e))) : he(ro(e)));
|
|
379
379
|
}
|
|
380
380
|
function io(e) {
|
|
381
|
-
return ut(e) ? e =
|
|
381
|
+
return ut(e) ? e = he(Un(e)) : (e = Tt(e), ut(e) ? e = String(e) : (St(e), e = Bn(F, U)), e = he(e)), e;
|
|
382
382
|
}
|
|
383
383
|
function L2(e) {
|
|
384
384
|
return e == null ? e : typeof e == "bigint" ? (pn(e) ? e = Number(e) : (e = or(64, e), e = pn(e) ? Number(e) : String(e)), e) : ar(e) ? typeof e == "number" ? Un(e) : no(e) : void 0;
|
|
385
385
|
}
|
|
386
386
|
function br(e) {
|
|
387
387
|
const t = typeof e;
|
|
388
|
-
return e == null ? e : t === "bigint" ?
|
|
388
|
+
return e == null ? e : t === "bigint" ? he(or(64, e)) : ar(e) ? t === "string" ? so(e) : io(e) : void 0;
|
|
389
389
|
}
|
|
390
390
|
function oo(e) {
|
|
391
391
|
if (typeof e != "string") throw Error();
|
|
@@ -395,11 +395,11 @@ function cr(e) {
|
|
|
395
395
|
if (e != null && typeof e != "string") throw Error();
|
|
396
396
|
return e;
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function Q(e) {
|
|
399
399
|
return e == null || typeof e == "string" ? e : void 0;
|
|
400
400
|
}
|
|
401
401
|
function Vn(e, t, r, n) {
|
|
402
|
-
return e != null && e[
|
|
402
|
+
return e != null && e[At] === kt ? e : Array.isArray(e) ? ((n = (r = 0 | e[p]) | 32 & n | 2 & n) !== r && z(e, n), new t(e)) : (r ? 2 & n ? ((e = t[Vs]) || (ir((e = new t()).v), e = t[Vs] = e), t = e) : t = new t() : t = void 0, t);
|
|
403
403
|
}
|
|
404
404
|
function P2(e, t, r) {
|
|
405
405
|
if (t) e: {
|
|
@@ -409,7 +409,7 @@ function P2(e, t, r) {
|
|
|
409
409
|
t = so(t);
|
|
410
410
|
break e;
|
|
411
411
|
case "bigint":
|
|
412
|
-
t =
|
|
412
|
+
t = he(or(64, t));
|
|
413
413
|
break e;
|
|
414
414
|
default:
|
|
415
415
|
t = io(t);
|
|
@@ -418,8 +418,8 @@ function P2(e, t, r) {
|
|
|
418
418
|
else t = br(e);
|
|
419
419
|
return (e = t) == null ? r ? S2 : void 0 : e;
|
|
420
420
|
}
|
|
421
|
-
const
|
|
422
|
-
let
|
|
421
|
+
const M2 = {};
|
|
422
|
+
let I2 = function() {
|
|
423
423
|
try {
|
|
424
424
|
return Lr(new class extends Map {
|
|
425
425
|
constructor() {
|
|
@@ -465,7 +465,7 @@ class rn {
|
|
|
465
465
|
return this.entries();
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
const x2 =
|
|
468
|
+
const x2 = I2 ? (Object.setPrototypeOf(rn.prototype, Map.prototype), Object.defineProperties(rn.prototype, { size: { value: 0, configurable: !0, enumerable: !0, writable: !0 } }), rn) : class extends Map {
|
|
469
469
|
constructor() {
|
|
470
470
|
super();
|
|
471
471
|
}
|
|
@@ -476,7 +476,7 @@ function Xs(e) {
|
|
|
476
476
|
function nn(e) {
|
|
477
477
|
if (2 & e.J) throw Error("Cannot mutate an immutable Map");
|
|
478
478
|
}
|
|
479
|
-
var
|
|
479
|
+
var Be = class extends x2 {
|
|
480
480
|
constructor(e, t, r = Xs, n = Xs) {
|
|
481
481
|
super(), this.J = 0 | e[p], this.K = t, this.S = r, this.fa = this.K ? O2 : n;
|
|
482
482
|
for (let s = 0; s < e.length; s++) {
|
|
@@ -504,7 +504,7 @@ var De = class extends x2 {
|
|
|
504
504
|
values() {
|
|
505
505
|
if (this.K) {
|
|
506
506
|
var e = super.keys();
|
|
507
|
-
e = new Ws(e,
|
|
507
|
+
e = new Ws(e, Be.prototype.get, this);
|
|
508
508
|
} else e = super.values();
|
|
509
509
|
return e;
|
|
510
510
|
}
|
|
@@ -543,15 +543,15 @@ function F2(e) {
|
|
|
543
543
|
}
|
|
544
544
|
let R2;
|
|
545
545
|
function $s() {
|
|
546
|
-
return R2 || (R2 = new
|
|
546
|
+
return R2 || (R2 = new Be(ir([]), void 0, void 0, void 0, M2));
|
|
547
547
|
}
|
|
548
548
|
function Or(e) {
|
|
549
|
-
return
|
|
549
|
+
return ue ? e[ue] : void 0;
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function wr(e, t) {
|
|
552
552
|
for (const r in e) !isNaN(r) && t(e, +r, e[r]);
|
|
553
553
|
}
|
|
554
|
-
|
|
554
|
+
Be.prototype.toJSON = void 0;
|
|
555
555
|
var mn = class {
|
|
556
556
|
};
|
|
557
557
|
const N2 = { Ka: !0 };
|
|
@@ -561,8 +561,8 @@ function C2(e, t) {
|
|
|
561
561
|
function Fr(e, t, r, n) {
|
|
562
562
|
const s = n !== void 0;
|
|
563
563
|
n = !!n;
|
|
564
|
-
var i, o =
|
|
565
|
-
!s &&
|
|
564
|
+
var i, o = ue;
|
|
565
|
+
!s && Ft && o && (i = e[o]) && wr(i, C2), o = [];
|
|
566
566
|
var a = e.length;
|
|
567
567
|
let c;
|
|
568
568
|
i = 4294967295;
|
|
@@ -581,14 +581,14 @@ function Fr(e, t, r, n) {
|
|
|
581
581
|
let P;
|
|
582
582
|
_ = +b, u && !Number.isNaN(_) && (P = _ + f) < i ? o[P] = a : (t ?? (t = {}))[b] = a;
|
|
583
583
|
}
|
|
584
|
-
return t && (l ? o.push(t) : o[i] = t), s &&
|
|
584
|
+
return t && (l ? o.push(t) : o[i] = t), s && ue && (e = Or(e)) && e instanceof mn && (o[ue] = function(b) {
|
|
585
585
|
const P = new mn();
|
|
586
|
-
return
|
|
587
|
-
P[
|
|
586
|
+
return wr(b, (He, ie, Z) => {
|
|
587
|
+
P[ie] = ke(Z);
|
|
588
588
|
}), P.da = b.da, P;
|
|
589
589
|
}(e)), o;
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function D2(e) {
|
|
592
592
|
return e[0] = nr(e[0]), e[1] = nr(e[1]), e;
|
|
593
593
|
}
|
|
594
594
|
function nr(e) {
|
|
@@ -604,12 +604,12 @@ function nr(e) {
|
|
|
604
604
|
var t = 0 | e[p];
|
|
605
605
|
return e.length === 0 && 1 & t ? void 0 : Fr(e, t, nr);
|
|
606
606
|
}
|
|
607
|
-
if (e != null && e[
|
|
607
|
+
if (e != null && e[At] === kt) return ao(e);
|
|
608
608
|
if (e instanceof xe) {
|
|
609
609
|
if ((t = e.g) == null) e = "";
|
|
610
610
|
else if (typeof t == "string") e = t;
|
|
611
611
|
else {
|
|
612
|
-
if (
|
|
612
|
+
if (qi) {
|
|
613
613
|
for (var r = "", n = 0, s = t.length - 10240; n < s; ) r += String.fromCharCode.apply(null, t.subarray(n, n += 10240));
|
|
614
614
|
r += String.fromCharCode.apply(null, n ? t.subarray(n) : t), t = btoa(r);
|
|
615
615
|
} else {
|
|
@@ -631,14 +631,14 @@ function nr(e) {
|
|
|
631
631
|
}
|
|
632
632
|
return e;
|
|
633
633
|
}
|
|
634
|
-
return e instanceof
|
|
634
|
+
return e instanceof Be ? e = e.size !== 0 ? e.V(D2) : void 0 : void 0;
|
|
635
635
|
}
|
|
636
636
|
return e;
|
|
637
637
|
}
|
|
638
638
|
function ao(e) {
|
|
639
639
|
return Fr(e = e.v, 0 | e[p], nr);
|
|
640
640
|
}
|
|
641
|
-
let
|
|
641
|
+
let B2, j2;
|
|
642
642
|
function rt(e, t) {
|
|
643
643
|
return co(e, t[0], t[1]);
|
|
644
644
|
}
|
|
@@ -648,12 +648,12 @@ function co(e, t, r, n = 0) {
|
|
|
648
648
|
r ? (e = [r], s |= 128) : e = [], t && (s = -16760833 & s | (1023 & t) << 14);
|
|
649
649
|
} else {
|
|
650
650
|
if (!Array.isArray(e)) throw Error("narr");
|
|
651
|
-
if (s = 0 | e[p],
|
|
651
|
+
if (s = 0 | e[p], Ds && 1 & s) throw Error("rfarr");
|
|
652
652
|
if (2048 & s && !(2 & s) && function() {
|
|
653
|
-
if (
|
|
653
|
+
if (Ds) throw Error("carr");
|
|
654
654
|
Et(d2, 5);
|
|
655
655
|
}(), 256 & s) throw Error("farr");
|
|
656
|
-
if (64 & s) return (s | n) !== s &&
|
|
656
|
+
if (64 & s) return (s | n) !== s && z(e, s | n), e;
|
|
657
657
|
if (r && (s |= 128, r !== e[0])) throw Error("mid");
|
|
658
658
|
e: {
|
|
659
659
|
s |= 64;
|
|
@@ -674,7 +674,7 @@ function co(e, t, r, n = 0) {
|
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
|
-
return
|
|
677
|
+
return z(e, 64 | s | n), e;
|
|
678
678
|
}
|
|
679
679
|
function U2(e, t) {
|
|
680
680
|
if (typeof e != "object") return e;
|
|
@@ -682,52 +682,52 @@ function U2(e, t) {
|
|
|
682
682
|
var r = 0 | e[p];
|
|
683
683
|
return e.length === 0 && 1 & r ? void 0 : Js(e, r, t);
|
|
684
684
|
}
|
|
685
|
-
if (e != null && e[
|
|
686
|
-
if (e instanceof
|
|
685
|
+
if (e != null && e[At] === kt) return Qs(e);
|
|
686
|
+
if (e instanceof Be) {
|
|
687
687
|
if (2 & (t = e.J)) return e;
|
|
688
688
|
if (!e.size) return;
|
|
689
689
|
if (r = ir(e.V()), e.K) for (e = 0; e < r.length; e++) {
|
|
690
690
|
const n = r[e];
|
|
691
691
|
let s = n[1];
|
|
692
|
-
s = s == null || typeof s != "object" ? void 0 : s != null && s[
|
|
692
|
+
s = s == null || typeof s != "object" ? void 0 : s != null && s[At] === kt ? Qs(s) : Array.isArray(s) ? Js(s, 0 | s[p], !!(32 & t)) : void 0, n[1] = s;
|
|
693
693
|
}
|
|
694
694
|
return r;
|
|
695
695
|
}
|
|
696
696
|
return e instanceof xe ? e : void 0;
|
|
697
697
|
}
|
|
698
698
|
function Js(e, t, r) {
|
|
699
|
-
return 2 & t || (!r || 4096 & t || 16 & t ? e =
|
|
699
|
+
return 2 & t || (!r || 4096 & t || 16 & t ? e = Ct(e, t, !1, r && !(16 & t)) : (sr(e, 34), 4 & t && Object.freeze(e))), e;
|
|
700
700
|
}
|
|
701
701
|
function Gn(e, t, r) {
|
|
702
702
|
return e = new e.constructor(t), r && (e.h = ct), e.m = ct, e;
|
|
703
703
|
}
|
|
704
704
|
function Qs(e) {
|
|
705
705
|
const t = e.v, r = 0 | t[p];
|
|
706
|
-
return
|
|
706
|
+
return le(e, r) ? e : Wn(e, t, r) ? Gn(e, t) : Ct(t, r);
|
|
707
707
|
}
|
|
708
|
-
function
|
|
709
|
-
return n ?? (n = !!(34 & t)), e = Fr(e, t, U2, n), n = 32, r && (n |= 2),
|
|
708
|
+
function Ct(e, t, r, n) {
|
|
709
|
+
return n ?? (n = !!(34 & t)), e = Fr(e, t, U2, n), n = 32, r && (n |= 2), z(e, t = 16769217 & t | n), e;
|
|
710
710
|
}
|
|
711
711
|
function Hn(e) {
|
|
712
712
|
const t = e.v, r = 0 | t[p];
|
|
713
|
-
return
|
|
713
|
+
return le(e, r) ? Wn(e, t, r) ? Gn(e, t, !0) : new e.constructor(Ct(t, r, !1)) : e;
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function Dt(e) {
|
|
716
716
|
if (e.h !== ct) return !1;
|
|
717
717
|
var t = e.v;
|
|
718
|
-
return sr(t =
|
|
718
|
+
return sr(t = Ct(t, 0 | t[p]), 2048), e.v = t, e.h = void 0, e.m = void 0, !0;
|
|
719
719
|
}
|
|
720
720
|
function Bt(e) {
|
|
721
|
-
if (!
|
|
721
|
+
if (!Dt(e) && le(e, 0 | e.v[p])) throw Error();
|
|
722
722
|
}
|
|
723
723
|
function lt(e, t) {
|
|
724
|
-
t === void 0 && (t = 0 | e[p]), 32 & t && !(4096 & t) &&
|
|
724
|
+
t === void 0 && (t = 0 | e[p]), 32 & t && !(4096 & t) && z(e, 4096 | t);
|
|
725
725
|
}
|
|
726
726
|
function Wn(e, t, r) {
|
|
727
|
-
return !!(2 & r) || !(!(32 & r) || 4096 & r) && (
|
|
727
|
+
return !!(2 & r) || !(!(32 & r) || 4096 & r) && (z(t, 2 | r), e.h = ct, !0);
|
|
728
728
|
}
|
|
729
|
-
const V2 =
|
|
730
|
-
function
|
|
729
|
+
const V2 = he(0), We = {};
|
|
730
|
+
function I(e, t, r, n, s) {
|
|
731
731
|
if ((t = je(e.v, t, r, s)) !== null || n && e.m !== ct) return t;
|
|
732
732
|
}
|
|
733
733
|
function je(e, t, r, n) {
|
|
@@ -765,8 +765,8 @@ function et() {
|
|
|
765
765
|
}
|
|
766
766
|
function tt(e, t, r, n, s) {
|
|
767
767
|
let i = e.v, o = 0 | i[p];
|
|
768
|
-
n =
|
|
769
|
-
let a = (e =
|
|
768
|
+
n = le(e, o) ? 1 : n, s = !!s || n === 3, n === 2 && Dt(e) && (i = e.v, o = 0 | i[p]);
|
|
769
|
+
let a = (e = qn(i, t)) === ht ? 7 : 0 | e[p], c = Kn(a, o);
|
|
770
770
|
var l = !(4 & c);
|
|
771
771
|
if (l) {
|
|
772
772
|
4 & c && (e = ke(e), a = 0, c = st(c, o), o = q(i, o, t, e));
|
|
@@ -777,16 +777,16 @@ function tt(e, t, r, n, s) {
|
|
|
777
777
|
}
|
|
778
778
|
f < u && (e.length = f), r = -513 & (4 | c), c = r &= -1025, c &= -4097;
|
|
779
779
|
}
|
|
780
|
-
return c !== a && (
|
|
780
|
+
return c !== a && (z(e, c), 2 & c && Object.freeze(e)), uo(e, c, i, o, t, n, l, s);
|
|
781
781
|
}
|
|
782
782
|
function uo(e, t, r, n, s, i, o, a) {
|
|
783
783
|
let c = t;
|
|
784
|
-
return i === 1 || i === 4 && (2 & t || !(16 & t) && 32 & n) ? nt(t) || ((t |= !e.length || o && !(4096 & t) || 32 & n && !(4096 & t || 16 & t) ? 2 : 256) !== c &&
|
|
784
|
+
return i === 1 || i === 4 && (2 & t || !(16 & t) && 32 & n) ? nt(t) || ((t |= !e.length || o && !(4096 & t) || 32 & n && !(4096 & t || 16 & t) ? 2 : 256) !== c && z(e, t), Object.freeze(e)) : (i === 2 && nt(t) && (e = ke(e), c = 0, t = st(t, n), n = q(r, n, s, e)), nt(t) || (a || (t |= 16), t !== c && z(e, t))), 2 & t || !(4096 & t || 16 & t) || lt(r, n), e;
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function qn(e, t, r) {
|
|
787
787
|
return e = je(e, t, r), Array.isArray(e) ? e : ht;
|
|
788
788
|
}
|
|
789
|
-
function
|
|
789
|
+
function Kn(e, t) {
|
|
790
790
|
return 2 & t && (e |= 2), 1 | e;
|
|
791
791
|
}
|
|
792
792
|
function nt(e) {
|
|
@@ -803,21 +803,21 @@ function lo(e) {
|
|
|
803
803
|
}
|
|
804
804
|
return er(e);
|
|
805
805
|
}
|
|
806
|
-
function
|
|
806
|
+
function Ke(e, t, r, n) {
|
|
807
807
|
Bt(e), q(e = e.v, 0 | e[p], t, (n === "0" ? Number(r) === 0 : r === n) ? void 0 : r);
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function jt(e, t, r) {
|
|
810
810
|
if (2 & t) throw Error();
|
|
811
|
-
const n =
|
|
812
|
-
let s =
|
|
813
|
-
return (2 & o || nt(o) || 16 & o) && (o === i || nt(o) ||
|
|
811
|
+
const n = Rt(t);
|
|
812
|
+
let s = qn(e, r, n), i = s === ht ? 7 : 0 | s[p], o = Kn(i, t);
|
|
813
|
+
return (2 & o || nt(o) || 16 & o) && (o === i || nt(o) || z(s, o), s = ke(s), i = 0, o = st(o, t), q(e, t, r, s, n)), o &= -13, o !== i && z(s, o), s;
|
|
814
814
|
}
|
|
815
815
|
function sn(e, t) {
|
|
816
816
|
var r = sa;
|
|
817
817
|
return Yn(zn(e = e.v), e, void 0, r) === t ? t : -1;
|
|
818
818
|
}
|
|
819
819
|
function zn(e) {
|
|
820
|
-
if (
|
|
820
|
+
if (Ft) return e[Wt] ?? (e[Wt] = /* @__PURE__ */ new Map());
|
|
821
821
|
if (Wt in e) return e[Wt];
|
|
822
822
|
const t = /* @__PURE__ */ new Map();
|
|
823
823
|
return Object.defineProperty(e, Wt, { value: t }), t;
|
|
@@ -838,15 +838,15 @@ function Yn(e, t, r, n, s) {
|
|
|
838
838
|
}
|
|
839
839
|
function Xn(e, t, r) {
|
|
840
840
|
let n = 0 | e[p];
|
|
841
|
-
const s =
|
|
841
|
+
const s = Rt(n), i = je(e, r, s);
|
|
842
842
|
let o;
|
|
843
|
-
if (i != null && i[
|
|
844
|
-
if (!
|
|
843
|
+
if (i != null && i[At] === kt) {
|
|
844
|
+
if (!le(i)) return Dt(i), i.v;
|
|
845
845
|
o = i.v;
|
|
846
846
|
} else Array.isArray(i) && (o = i);
|
|
847
847
|
if (o) {
|
|
848
848
|
const a = 0 | o[p];
|
|
849
|
-
2 & a && (o =
|
|
849
|
+
2 & a && (o = Ct(o, a));
|
|
850
850
|
}
|
|
851
851
|
return o = rt(o, t), o !== i && q(e, n, r, o, s), o;
|
|
852
852
|
}
|
|
@@ -855,41 +855,41 @@ function po(e, t, r, n, s) {
|
|
|
855
855
|
if ((n = je(e, n, s, (o) => {
|
|
856
856
|
const a = Vn(o, r, !1, t);
|
|
857
857
|
return i = a !== o && a != null, a;
|
|
858
|
-
})) != null) return i && !
|
|
858
|
+
})) != null) return i && !le(n) && lt(e, t), n;
|
|
859
859
|
}
|
|
860
860
|
function k(e, t, r, n) {
|
|
861
861
|
let s = e.v, i = 0 | s[p];
|
|
862
862
|
if ((t = po(s, i, t, r, n)) == null) return t;
|
|
863
|
-
if (i = 0 | s[p], !
|
|
863
|
+
if (i = 0 | s[p], !le(e, i)) {
|
|
864
864
|
const o = Hn(t);
|
|
865
|
-
o !== t && (
|
|
865
|
+
o !== t && (Dt(e) && (s = e.v, i = 0 | s[p]), i = q(s, i, r, t = o, n), lt(s, i));
|
|
866
866
|
}
|
|
867
867
|
return t;
|
|
868
868
|
}
|
|
869
869
|
function go(e, t, r, n, s, i, o, a) {
|
|
870
|
-
var c =
|
|
871
|
-
i = c ? 1 : i, o = !!o || i === 3, c = a && !c, (i === 2 || c) &&
|
|
872
|
-
var l = (e =
|
|
870
|
+
var c = le(e, r);
|
|
871
|
+
i = c ? 1 : i, o = !!o || i === 3, c = a && !c, (i === 2 || c) && Dt(e) && (r = 0 | (t = e.v)[p]);
|
|
872
|
+
var l = (e = qn(t, s)) === ht ? 7 : 0 | e[p], u = Kn(l, r);
|
|
873
873
|
if (a = !(4 & u)) {
|
|
874
874
|
var f = e, _ = r;
|
|
875
875
|
const b = !!(2 & u);
|
|
876
876
|
b && (_ |= 2);
|
|
877
|
-
let P = !b, He = !0,
|
|
878
|
-
for (;
|
|
879
|
-
const
|
|
880
|
-
if (
|
|
877
|
+
let P = !b, He = !0, ie = 0, Z = 0;
|
|
878
|
+
for (; ie < f.length; ie++) {
|
|
879
|
+
const dt = Vn(f[ie], n, !1, _);
|
|
880
|
+
if (dt instanceof n) {
|
|
881
881
|
if (!b) {
|
|
882
|
-
const fr =
|
|
882
|
+
const fr = le(dt);
|
|
883
883
|
P && (P = !fr), He && (He = fr);
|
|
884
884
|
}
|
|
885
|
-
f[
|
|
885
|
+
f[Z++] = dt;
|
|
886
886
|
}
|
|
887
887
|
}
|
|
888
|
-
|
|
888
|
+
Z < ie && (f.length = Z), u |= 4, u = He ? -4097 & u : 4096 | u, u = P ? 8 | u : -9 & u;
|
|
889
889
|
}
|
|
890
|
-
if (u !== l && (
|
|
890
|
+
if (u !== l && (z(e, u), 2 & u && Object.freeze(e)), c && !(8 & u || !e.length && (i === 1 || i === 4 && (2 & u || !(16 & u) && 32 & r)))) {
|
|
891
891
|
for (nt(u) && (e = ke(e), u = st(u, r), r = q(t, r, s, e)), n = e, c = u, l = 0; l < n.length; l++) (f = n[l]) !== (u = Hn(f)) && (n[l] = u);
|
|
892
|
-
c |= 8,
|
|
892
|
+
c |= 8, z(e, u = c = n.length ? 4096 | c : -4097 & c);
|
|
893
893
|
}
|
|
894
894
|
return uo(e, u, t, r, s, i, a, o);
|
|
895
895
|
}
|
|
@@ -901,7 +901,7 @@ function mo(e) {
|
|
|
901
901
|
return e == null && (e = void 0), e;
|
|
902
902
|
}
|
|
903
903
|
function v(e, t, r, n, s) {
|
|
904
|
-
return T(e, r, n = mo(n), s), n && !
|
|
904
|
+
return T(e, r, n = mo(n), s), n && !le(n) && lt(e.v), e;
|
|
905
905
|
}
|
|
906
906
|
function $t(e, t, r, n) {
|
|
907
907
|
e: {
|
|
@@ -916,23 +916,23 @@ function $t(e, t, r, n) {
|
|
|
916
916
|
} else o = fo(i, o, r, t);
|
|
917
917
|
q(i, o, t, s);
|
|
918
918
|
}
|
|
919
|
-
n && !
|
|
919
|
+
n && !le(n) && lt(e.v);
|
|
920
920
|
}
|
|
921
921
|
function st(e, t) {
|
|
922
922
|
return -273 & (2 & t ? 2 | e : -3 & e);
|
|
923
923
|
}
|
|
924
924
|
function $n(e, t, r, n) {
|
|
925
925
|
var s = n;
|
|
926
|
-
Bt(e), e = go(e, n = e.v, 0 | n[p], r, t, 2, !0), s = s ?? new r(), e.push(s), t = r = e === ht ? 7 : 0 | e[p], (s =
|
|
926
|
+
Bt(e), e = go(e, n = e.v, 0 | n[p], r, t, 2, !0), s = s ?? new r(), e.push(s), t = r = e === ht ? 7 : 0 | e[p], (s = le(s)) ? (r &= -9, e.length === 1 && (r &= -4097)) : r |= 4096, r !== t && z(e, r), s || lt(n);
|
|
927
927
|
}
|
|
928
|
-
function
|
|
929
|
-
return
|
|
928
|
+
function we(e, t, r) {
|
|
929
|
+
return Nt(I(e, t, void 0, r));
|
|
930
930
|
}
|
|
931
931
|
function yo(e) {
|
|
932
|
-
return (On ?
|
|
932
|
+
return (On ? I(e, 2, void 0, void 0, br) : br(I(e, 2))) ?? V2;
|
|
933
933
|
}
|
|
934
|
-
function
|
|
935
|
-
return
|
|
934
|
+
function B(e, t) {
|
|
935
|
+
return I(e, t, void 0, void 0, Ie) ?? 0;
|
|
936
936
|
}
|
|
937
937
|
function Ve(e, t, r) {
|
|
938
938
|
if (r != null) {
|
|
@@ -944,10 +944,10 @@ function Ve(e, t, r) {
|
|
|
944
944
|
function y(e, t, r) {
|
|
945
945
|
T(e, t, Xt(r));
|
|
946
946
|
}
|
|
947
|
-
function
|
|
948
|
-
|
|
947
|
+
function fe(e, t, r) {
|
|
948
|
+
Ke(e, t, cr(r), "");
|
|
949
949
|
}
|
|
950
|
-
function
|
|
950
|
+
function Er(e, t, r) {
|
|
951
951
|
{
|
|
952
952
|
Bt(e);
|
|
953
953
|
const o = e.v;
|
|
@@ -959,29 +959,29 @@ function wr(e, t, r) {
|
|
|
959
959
|
const c = r[s], l = oo(c);
|
|
960
960
|
Object.is(c, l) || (i && (r = ke(r), n = 0, e = st(e, a), i = !1), r[s] = l);
|
|
961
961
|
}
|
|
962
|
-
e !== n && (i && (r = ke(r), e = st(e, a)),
|
|
962
|
+
e !== n && (i && (r = ke(r), e = st(e, a)), z(r, e)), q(o, a, t, r);
|
|
963
963
|
}
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
966
|
function Rr(e, t, r) {
|
|
967
|
-
Bt(e), tt(e, t,
|
|
967
|
+
Bt(e), tt(e, t, Q, 2, !0).push(oo(r));
|
|
968
968
|
}
|
|
969
|
-
var
|
|
969
|
+
var gt = class {
|
|
970
970
|
constructor(e, t, r) {
|
|
971
971
|
if (this.buffer = e, r && !t) throw Error();
|
|
972
972
|
this.g = t;
|
|
973
973
|
}
|
|
974
974
|
};
|
|
975
975
|
function Jn(e, t) {
|
|
976
|
-
if (typeof e == "string") return new
|
|
977
|
-
if (Array.isArray(e)) return new
|
|
978
|
-
if (e.constructor === Uint8Array) return new
|
|
979
|
-
if (e.constructor === ArrayBuffer) return e = new Uint8Array(e), new
|
|
980
|
-
if (e.constructor === xe) return t = Rn(e) || new Uint8Array(0), new
|
|
981
|
-
if (e instanceof Uint8Array) return e = e.constructor === Uint8Array ? e : new Uint8Array(e.buffer, e.byteOffset, e.byteLength), new
|
|
976
|
+
if (typeof e == "string") return new gt(Ki(e), t);
|
|
977
|
+
if (Array.isArray(e)) return new gt(new Uint8Array(e), t);
|
|
978
|
+
if (e.constructor === Uint8Array) return new gt(e, !1);
|
|
979
|
+
if (e.constructor === ArrayBuffer) return e = new Uint8Array(e), new gt(e, !1);
|
|
980
|
+
if (e.constructor === xe) return t = Rn(e) || new Uint8Array(0), new gt(t, !0, e);
|
|
981
|
+
if (e instanceof Uint8Array) return e = e.constructor === Uint8Array ? e : new Uint8Array(e.buffer, e.byteOffset, e.byteLength), new gt(e, !1);
|
|
982
982
|
throw Error();
|
|
983
983
|
}
|
|
984
|
-
function
|
|
984
|
+
function Lt(e, t) {
|
|
985
985
|
let r, n = 0, s = 0, i = 0;
|
|
986
986
|
const o = e.h;
|
|
987
987
|
let a = e.g;
|
|
@@ -1032,7 +1032,7 @@ function _o(e, t) {
|
|
|
1032
1032
|
function vo(e, t) {
|
|
1033
1033
|
if (t == 0) return at();
|
|
1034
1034
|
var r = _o(e, t);
|
|
1035
|
-
return e.Y && e.j ? r = e.h.subarray(r, r + t) : (e = e.h, r = r === (t = r + t) ? new Uint8Array(0) :
|
|
1035
|
+
return e.Y && e.j ? r = e.h.subarray(r, r + t) : (e = e.h, r = r === (t = r + t) ? new Uint8Array(0) : w2 ? e.slice(r, t) : new Uint8Array(e.subarray(r, t))), r.length == 0 ? at() : new xe(r, wt);
|
|
1036
1036
|
}
|
|
1037
1037
|
var Zs = [];
|
|
1038
1038
|
function bo(e, t, r, n) {
|
|
@@ -1042,10 +1042,10 @@ function bo(e, t, r, n) {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
return new H2(e, t, r, n);
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function wo(e) {
|
|
1046
1046
|
e.g.clear(), e.l = -1, e.h = -1, kr.length < 100 && kr.push(e);
|
|
1047
1047
|
}
|
|
1048
|
-
function
|
|
1048
|
+
function Eo(e) {
|
|
1049
1049
|
var t = e.g;
|
|
1050
1050
|
if (t.g == t.l) return !1;
|
|
1051
1051
|
e.m = e.g.g;
|
|
@@ -1073,7 +1073,7 @@ function _r(e) {
|
|
|
1073
1073
|
break;
|
|
1074
1074
|
case 3:
|
|
1075
1075
|
for (t = e.l; ; ) {
|
|
1076
|
-
if (!
|
|
1076
|
+
if (!Eo(e)) throw Error();
|
|
1077
1077
|
if (e.h == 4) {
|
|
1078
1078
|
if (e.l != t) throw Error();
|
|
1079
1079
|
break;
|
|
@@ -1155,7 +1155,7 @@ var H2 = class {
|
|
|
1155
1155
|
}
|
|
1156
1156
|
}, kr = [];
|
|
1157
1157
|
function ei(e) {
|
|
1158
|
-
return e ? /^\d+$/.test(e) ? (
|
|
1158
|
+
return e ? /^\d+$/.test(e) ? (Ir(e), new yn(F, U)) : null : W2 || (W2 = new yn(0, 0));
|
|
1159
1159
|
}
|
|
1160
1160
|
var yn = class {
|
|
1161
1161
|
constructor(e, t) {
|
|
@@ -1164,24 +1164,24 @@ var yn = class {
|
|
|
1164
1164
|
};
|
|
1165
1165
|
let W2;
|
|
1166
1166
|
function ti(e) {
|
|
1167
|
-
return e ? /^-?\d+$/.test(e) ? (
|
|
1167
|
+
return e ? /^-?\d+$/.test(e) ? (Ir(e), new _n(F, U)) : null : q2 || (q2 = new _n(0, 0));
|
|
1168
1168
|
}
|
|
1169
1169
|
var _n = class {
|
|
1170
1170
|
constructor(e, t) {
|
|
1171
1171
|
this.h = e >>> 0, this.g = t >>> 0;
|
|
1172
1172
|
}
|
|
1173
1173
|
};
|
|
1174
|
-
let
|
|
1175
|
-
function
|
|
1174
|
+
let q2;
|
|
1175
|
+
function _t(e, t, r) {
|
|
1176
1176
|
for (; r > 0 || t > 127; ) e.g.push(127 & t | 128), t = (t >>> 7 | r << 25) >>> 0, r >>>= 7;
|
|
1177
1177
|
e.g.push(t);
|
|
1178
1178
|
}
|
|
1179
|
-
function
|
|
1179
|
+
function Ut(e, t) {
|
|
1180
1180
|
for (; t > 127; ) e.g.push(127 & t | 128), t >>>= 7;
|
|
1181
1181
|
e.g.push(t);
|
|
1182
1182
|
}
|
|
1183
1183
|
function Cr(e, t) {
|
|
1184
|
-
if (t >= 0)
|
|
1184
|
+
if (t >= 0) Ut(e, t);
|
|
1185
1185
|
else {
|
|
1186
1186
|
for (let r = 0; r < 9; r++) e.g.push(127 & t | 128), t >>= 7;
|
|
1187
1187
|
e.g.push(1);
|
|
@@ -1191,22 +1191,22 @@ function es(e) {
|
|
|
1191
1191
|
var t = F;
|
|
1192
1192
|
e.g.push(t >>> 0 & 255), e.g.push(t >>> 8 & 255), e.g.push(t >>> 16 & 255), e.g.push(t >>> 24 & 255);
|
|
1193
1193
|
}
|
|
1194
|
-
function
|
|
1194
|
+
function Pt(e, t) {
|
|
1195
1195
|
t.length !== 0 && (e.l.push(t), e.h += t.length);
|
|
1196
1196
|
}
|
|
1197
1197
|
function Ee(e, t, r) {
|
|
1198
|
-
|
|
1198
|
+
Ut(e.g, 8 * t + r);
|
|
1199
1199
|
}
|
|
1200
1200
|
function ts(e, t) {
|
|
1201
|
-
return Ee(e, t, 2), t = e.g.end(),
|
|
1201
|
+
return Ee(e, t, 2), t = e.g.end(), Pt(e, t), t.push(e.h), t;
|
|
1202
1202
|
}
|
|
1203
1203
|
function rs(e, t) {
|
|
1204
1204
|
var r = t.pop();
|
|
1205
1205
|
for (r = e.h + e.g.length() - r; r > 127; ) t.push(127 & r | 128), r >>>= 7, e.h++;
|
|
1206
1206
|
t.push(r), e.h++;
|
|
1207
1207
|
}
|
|
1208
|
-
function
|
|
1209
|
-
Ee(e, t, 2),
|
|
1208
|
+
function Dr(e, t, r) {
|
|
1209
|
+
Ee(e, t, 2), Ut(e.g, r.length), Pt(e, e.g.end()), Pt(e, r);
|
|
1210
1210
|
}
|
|
1211
1211
|
function Sr(e, t, r, n) {
|
|
1212
1212
|
r != null && (t = ts(e, t), n(r, e), rs(e, t));
|
|
@@ -1219,10 +1219,10 @@ function Fe() {
|
|
|
1219
1219
|
};
|
|
1220
1220
|
return Object.setPrototypeOf(e, e.prototype), e;
|
|
1221
1221
|
}
|
|
1222
|
-
var ns = Fe(), ko = Fe(), ss = Fe(), is = Fe(), So = Fe(), To = Fe(),
|
|
1222
|
+
var ns = Fe(), ko = Fe(), ss = Fe(), is = Fe(), So = Fe(), To = Fe(), K2 = Fe(), Br = Fe(), Lo = Fe(), Po = Fe();
|
|
1223
1223
|
function Re(e, t, r) {
|
|
1224
1224
|
var n = e.v;
|
|
1225
|
-
|
|
1225
|
+
ue && ue in n && (n = n[ue]) && delete n[t.g], t.h ? t.j(e, t.h, t.g, r, t.l) : t.j(e, t.g, r, t.l);
|
|
1226
1226
|
}
|
|
1227
1227
|
var g = class {
|
|
1228
1228
|
constructor(e, t) {
|
|
@@ -1233,8 +1233,8 @@ var g = class {
|
|
|
1233
1233
|
}
|
|
1234
1234
|
j() {
|
|
1235
1235
|
var s;
|
|
1236
|
-
var e = P1, t = this.v, r = e.g, n =
|
|
1237
|
-
if (
|
|
1236
|
+
var e = P1, t = this.v, r = e.g, n = ue;
|
|
1237
|
+
if (Ft && n && ((s = t[n]) == null ? void 0 : s[r]) != null && Et(l2, 3), t = e.g, Gs && ue && Gs === void 0 && (n = (r = this.v)[ue]) && (n = n.da)) try {
|
|
1238
1238
|
n(r, t, N2);
|
|
1239
1239
|
} catch (i) {
|
|
1240
1240
|
Gi(i);
|
|
@@ -1243,37 +1243,37 @@ var g = class {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
clone() {
|
|
1245
1245
|
const e = this.v, t = 0 | e[p];
|
|
1246
|
-
return Wn(this, e, t) ? Gn(this, e, !0) : new this.constructor(
|
|
1246
|
+
return Wn(this, e, t) ? Gn(this, e, !0) : new this.constructor(Ct(e, t, !1));
|
|
1247
1247
|
}
|
|
1248
1248
|
};
|
|
1249
|
-
g.prototype[
|
|
1249
|
+
g.prototype[At] = kt, g.prototype.toString = function() {
|
|
1250
1250
|
return this.v.toString();
|
|
1251
1251
|
};
|
|
1252
|
-
var
|
|
1252
|
+
var Vt = class {
|
|
1253
1253
|
constructor(e, t, r) {
|
|
1254
1254
|
this.g = e, this.h = t, e = ns, this.l = !!e && r === e || !1;
|
|
1255
1255
|
}
|
|
1256
1256
|
};
|
|
1257
1257
|
function jr(e, t) {
|
|
1258
|
-
return new
|
|
1258
|
+
return new Vt(e, t, ns);
|
|
1259
1259
|
}
|
|
1260
|
-
function
|
|
1260
|
+
function Mo(e, t, r, n, s) {
|
|
1261
1261
|
Sr(e, r, Fo(t, n), s);
|
|
1262
1262
|
}
|
|
1263
1263
|
const z2 = jr(function(e, t, r, n, s) {
|
|
1264
1264
|
return e.h === 2 && (ur(e, Xn(t, n, r), s), !0);
|
|
1265
|
-
},
|
|
1265
|
+
}, Mo), Y2 = jr(function(e, t, r, n, s) {
|
|
1266
1266
|
return e.h === 2 && (ur(e, Xn(t, n, r), s), !0);
|
|
1267
|
-
},
|
|
1267
|
+
}, Mo);
|
|
1268
1268
|
var Ur = Symbol(), Vr = Symbol(), vn = Symbol(), ri = Symbol(), ni = Symbol();
|
|
1269
|
-
let
|
|
1269
|
+
let Io, xo;
|
|
1270
1270
|
function ft(e, t, r, n) {
|
|
1271
1271
|
var s = n[e];
|
|
1272
1272
|
if (s) return s;
|
|
1273
1273
|
(s = {}).qa = n, s.T = function(f) {
|
|
1274
1274
|
switch (typeof f) {
|
|
1275
1275
|
case "boolean":
|
|
1276
|
-
return
|
|
1276
|
+
return B2 || (B2 = [0, void 0, !0]);
|
|
1277
1277
|
case "number":
|
|
1278
1278
|
return f > 0 ? void 0 : f === 0 ? j2 || (j2 = [0, void 0]) : [-f, void 0];
|
|
1279
1279
|
case "string":
|
|
@@ -1284,7 +1284,7 @@ function ft(e, t, r, n) {
|
|
|
1284
1284
|
}(n[0]);
|
|
1285
1285
|
var i = n[1];
|
|
1286
1286
|
let o = 1;
|
|
1287
|
-
i && i.constructor === Object && (s.ba = i, typeof (i = n[++o]) == "function" && (s.ma = !0,
|
|
1287
|
+
i && i.constructor === Object && (s.ba = i, typeof (i = n[++o]) == "function" && (s.ma = !0, Io ?? (Io = i), xo ?? (xo = n[o + 1]), i = n[o += 2]));
|
|
1288
1288
|
const a = {};
|
|
1289
1289
|
for (; i && Array.isArray(i) && i.length && typeof i[0] == "number" && i[0] > 0; ) {
|
|
1290
1290
|
for (var c = 0; c < i.length; c++) a[i[c]] = i;
|
|
@@ -1294,7 +1294,7 @@ function ft(e, t, r, n) {
|
|
|
1294
1294
|
let f;
|
|
1295
1295
|
typeof i == "number" && (c += i, i = n[++o]);
|
|
1296
1296
|
var l = void 0;
|
|
1297
|
-
if (i instanceof
|
|
1297
|
+
if (i instanceof Vt ? f = i : (f = z2, o--), f == null ? void 0 : f.l) {
|
|
1298
1298
|
i = n[++o], l = n;
|
|
1299
1299
|
var u = o;
|
|
1300
1300
|
typeof i == "function" && (i = i(), l[u] = i), l = i;
|
|
@@ -1307,7 +1307,7 @@ function ft(e, t, r, n) {
|
|
|
1307
1307
|
return n[e] = s;
|
|
1308
1308
|
}
|
|
1309
1309
|
function Oo(e) {
|
|
1310
|
-
return Array.isArray(e) ? e[0] instanceof
|
|
1310
|
+
return Array.isArray(e) ? e[0] instanceof Vt ? e : [Y2, e] : [e, void 0];
|
|
1311
1311
|
}
|
|
1312
1312
|
function Fo(e, t) {
|
|
1313
1313
|
return e instanceof g ? e.v : Array.isArray(e) ? rt(e, t) : void 0;
|
|
@@ -1325,8 +1325,8 @@ function cs(e) {
|
|
|
1325
1325
|
let t = e[vn];
|
|
1326
1326
|
if (t != null) return t;
|
|
1327
1327
|
const r = ft(Vr, os, as, e);
|
|
1328
|
-
return t = r.ma ? (n, s) =>
|
|
1329
|
-
for (;
|
|
1328
|
+
return t = r.ma ? (n, s) => Io(n, s, r) : (n, s) => {
|
|
1329
|
+
for (; Eo(s) && s.h != 4; ) {
|
|
1330
1330
|
var i = s.l, o = r[i];
|
|
1331
1331
|
if (o == null) {
|
|
1332
1332
|
var a = r.ba;
|
|
@@ -1335,7 +1335,7 @@ function cs(e) {
|
|
|
1335
1335
|
if (o == null || !o(s, n, i)) {
|
|
1336
1336
|
if (o = (a = s).m, _r(a), a.ha) var c = void 0;
|
|
1337
1337
|
else c = a.g.g - o, a.g.g = o, c = vo(a.g, c);
|
|
1338
|
-
o = void 0, a = n, c && ((o = a[
|
|
1338
|
+
o = void 0, a = n, c && ((o = a[ue] ?? (a[ue] = new mn()))[i] ?? (o[i] = [])).push(c);
|
|
1339
1339
|
}
|
|
1340
1340
|
}
|
|
1341
1341
|
return (n = Or(n)) && (n.da = r.qa[ni]), !0;
|
|
@@ -1353,11 +1353,11 @@ function X2(e, t, r, n) {
|
|
|
1353
1353
|
try {
|
|
1354
1354
|
c = !0, i(o, u);
|
|
1355
1355
|
} finally {
|
|
1356
|
-
|
|
1356
|
+
wo(u);
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
1359
|
else n == null || n(e, f, _);
|
|
1360
|
-
}, t == null)
|
|
1360
|
+
}, t == null) wr(a, s);
|
|
1361
1361
|
else if (a != null) {
|
|
1362
1362
|
const u = a[t];
|
|
1363
1363
|
u && s(a, t, u);
|
|
@@ -1365,7 +1365,7 @@ function X2(e, t, r, n) {
|
|
|
1365
1365
|
if (c) {
|
|
1366
1366
|
let u = 0 | e[p];
|
|
1367
1367
|
if (2 & u && 2048 & u && !(r != null && r.Ka)) throw Error();
|
|
1368
|
-
const f =
|
|
1368
|
+
const f = Rt(u), _ = (b, P) => {
|
|
1369
1369
|
if (je(e, b, f) != null) {
|
|
1370
1370
|
if ((r == null ? void 0 : r.Qa) === 1) return;
|
|
1371
1371
|
throw Error();
|
|
@@ -1420,12 +1420,12 @@ function No(e, t, r) {
|
|
|
1420
1420
|
}(r, n);
|
|
1421
1421
|
i ? i(t, s, n) : n < 500 || Et(dn, 3);
|
|
1422
1422
|
}
|
|
1423
|
-
}), (e = Or(e)) &&
|
|
1424
|
-
for (
|
|
1423
|
+
}), (e = Or(e)) && wr(e, (n, s, i) => {
|
|
1424
|
+
for (Pt(t, t.g.end()), n = 0; n < i.length; n++) Pt(t, Rn(i[n]) || new Uint8Array(0));
|
|
1425
1425
|
});
|
|
1426
1426
|
}
|
|
1427
|
-
const J2 =
|
|
1428
|
-
function
|
|
1427
|
+
const J2 = he(0);
|
|
1428
|
+
function Gt(e, t) {
|
|
1429
1429
|
if (Array.isArray(t)) {
|
|
1430
1430
|
var r = 0 | t[p];
|
|
1431
1431
|
if (4 & r) return t;
|
|
@@ -1433,30 +1433,30 @@ function Vt(e, t) {
|
|
|
1433
1433
|
const i = e(t[n]);
|
|
1434
1434
|
i != null && (t[s++] = i);
|
|
1435
1435
|
}
|
|
1436
|
-
return s < n && (t.length = s), (e = -1537 & (5 | r)) !== r &&
|
|
1436
|
+
return s < n && (t.length = s), (e = -1537 & (5 | r)) !== r && z(t, e), 2 & e && Object.freeze(t), t;
|
|
1437
1437
|
}
|
|
1438
1438
|
}
|
|
1439
1439
|
function te(e, t, r) {
|
|
1440
|
-
return new
|
|
1440
|
+
return new Vt(e, t, r);
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1443
|
-
return new
|
|
1442
|
+
function Ht(e, t, r) {
|
|
1443
|
+
return new Vt(e, t, r);
|
|
1444
1444
|
}
|
|
1445
|
-
function
|
|
1446
|
-
q(e, 0 | e[p], t, r,
|
|
1445
|
+
function J(e, t, r) {
|
|
1446
|
+
q(e, 0 | e[p], t, r, Rt(0 | e[p]));
|
|
1447
1447
|
}
|
|
1448
1448
|
var Q2 = jr(function(e, t, r, n, s) {
|
|
1449
1449
|
if (e.h !== 2) return !1;
|
|
1450
|
-
if (e = ke(e = ur(e, rt([void 0, void 0], n), s)), s =
|
|
1450
|
+
if (e = ke(e = ur(e, rt([void 0, void 0], n), s)), s = Rt(n = 0 | t[p]), 2 & n) throw Error();
|
|
1451
1451
|
let i = je(t, r, s);
|
|
1452
|
-
if (i instanceof
|
|
1452
|
+
if (i instanceof Be) 2 & i.J ? (i = i.V(), i.push(e), q(t, n, r, i, s)) : i.Ma(e);
|
|
1453
1453
|
else if (Array.isArray(i)) {
|
|
1454
1454
|
var o = 0 | i[p];
|
|
1455
|
-
8192 & o ||
|
|
1455
|
+
8192 & o || z(i, o |= 8192), 2 & o && (i = lo(i), q(t, n, r, i, s)), i.push(e);
|
|
1456
1456
|
} else q(t, n, r, er([e]), s);
|
|
1457
1457
|
return !0;
|
|
1458
1458
|
}, function(e, t, r, n, s) {
|
|
1459
|
-
if (t instanceof
|
|
1459
|
+
if (t instanceof Be) t.forEach((i, o) => {
|
|
1460
1460
|
Sr(e, r, rt([o, i], n), s);
|
|
1461
1461
|
});
|
|
1462
1462
|
else if (Array.isArray(t)) {
|
|
@@ -1468,9 +1468,9 @@ var Q2 = jr(function(e, t, r, n, s) {
|
|
|
1468
1468
|
}
|
|
1469
1469
|
});
|
|
1470
1470
|
function Co(e, t, r) {
|
|
1471
|
-
(t =
|
|
1471
|
+
(t = Ie(t)) != null && (Ee(e, r, 5), e = e.g, Cn(t), es(e));
|
|
1472
1472
|
}
|
|
1473
|
-
function
|
|
1473
|
+
function Do(e, t, r) {
|
|
1474
1474
|
if (t = function(n) {
|
|
1475
1475
|
if (n == null) return n;
|
|
1476
1476
|
const s = typeof n;
|
|
@@ -1482,134 +1482,134 @@ function Bo(e, t, r) {
|
|
|
1482
1482
|
}(t), t != null && (typeof t == "string" && ti(t), t != null))
|
|
1483
1483
|
switch (Ee(e, r, 0), typeof t) {
|
|
1484
1484
|
case "number":
|
|
1485
|
-
e = e.g,
|
|
1485
|
+
e = e.g, St(t), _t(e, F, U);
|
|
1486
1486
|
break;
|
|
1487
1487
|
case "bigint":
|
|
1488
|
-
r = BigInt.asUintN(64, t), r = new _n(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))),
|
|
1488
|
+
r = BigInt.asUintN(64, t), r = new _n(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), _t(e.g, r.h, r.g);
|
|
1489
1489
|
break;
|
|
1490
1490
|
default:
|
|
1491
|
-
r = ti(t),
|
|
1491
|
+
r = ti(t), _t(e.g, r.h, r.g);
|
|
1492
1492
|
}
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1495
|
-
(t =
|
|
1494
|
+
function Bo(e, t, r) {
|
|
1495
|
+
(t = Nt(t)) != null && t != null && (Ee(e, r, 0), Cr(e.g, t));
|
|
1496
1496
|
}
|
|
1497
1497
|
function jo(e, t, r) {
|
|
1498
1498
|
(t = eo(t)) != null && (Ee(e, r, 0), e.g.g.push(t ? 1 : 0));
|
|
1499
1499
|
}
|
|
1500
1500
|
function Uo(e, t, r) {
|
|
1501
|
-
(t =
|
|
1501
|
+
(t = Q(t)) != null && Dr(e, r, Vi(t));
|
|
1502
1502
|
}
|
|
1503
1503
|
function Vo(e, t, r, n, s) {
|
|
1504
1504
|
Sr(e, r, Fo(t, n), s);
|
|
1505
1505
|
}
|
|
1506
1506
|
function Go(e, t, r) {
|
|
1507
|
-
(t = t == null || typeof t == "string" || t instanceof xe ? t : void 0) != null &&
|
|
1507
|
+
(t = t == null || typeof t == "string" || t instanceof xe ? t : void 0) != null && Dr(e, r, Jn(t, !0).buffer);
|
|
1508
1508
|
}
|
|
1509
1509
|
function Ho(e, t, r) {
|
|
1510
|
-
return (e.h === 5 || e.h === 2) && (t =
|
|
1510
|
+
return (e.h === 5 || e.h === 2) && (t = jt(t, 0 | t[p], r), e.h == 2 ? Nr(e, Ar, t) : t.push(Ar(e.g)), !0);
|
|
1511
1511
|
}
|
|
1512
1512
|
var V = te(function(e, t, r) {
|
|
1513
|
-
return e.h === 5 && (
|
|
1514
|
-
}, Co,
|
|
1515
|
-
if ((t =
|
|
1513
|
+
return e.h === 5 && (J(t, r, Ar(e.g)), !0);
|
|
1514
|
+
}, Co, Br), Z2 = Ht(Ho, function(e, t, r) {
|
|
1515
|
+
if ((t = Gt(Ie, t)) != null) for (let o = 0; o < t.length; o++) {
|
|
1516
1516
|
var n = e, s = r, i = t[o];
|
|
1517
1517
|
i != null && (Ee(n, s, 5), n = n.g, Cn(i), es(n));
|
|
1518
1518
|
}
|
|
1519
|
-
},
|
|
1520
|
-
if ((t =
|
|
1521
|
-
Ee(e, r, 2),
|
|
1519
|
+
}, Br), us = Ht(Ho, function(e, t, r) {
|
|
1520
|
+
if ((t = Gt(Ie, t)) != null && t.length) {
|
|
1521
|
+
Ee(e, r, 2), Ut(e.g, 4 * t.length);
|
|
1522
1522
|
for (let n = 0; n < t.length; n++) r = e.g, Cn(t[n]), es(r);
|
|
1523
1523
|
}
|
|
1524
|
-
},
|
|
1525
|
-
return e.h === 5 && (
|
|
1526
|
-
}, Co,
|
|
1527
|
-
return xn ? (e.h !== 0 ? e = !1 : (
|
|
1528
|
-
},
|
|
1529
|
-
return xn ? (e.h !== 0 ? t = !1 : (
|
|
1530
|
-
},
|
|
1531
|
-
return xn ? (e.h !== 0 ? e = !1 : (
|
|
1524
|
+
}, Br), e1 = te(function(e, t, r) {
|
|
1525
|
+
return e.h === 5 && (J(t, r, (e = Ar(e.g)) === 0 ? void 0 : e), !0);
|
|
1526
|
+
}, Co, Br), $e = te(function(e, t, r) {
|
|
1527
|
+
return xn ? (e.h !== 0 ? e = !1 : (J(t, r, Lt(e.g, Zi)), e = !0), e) : e.h === 0 && (J(t, r, Lt(e.g, Dn)), !0);
|
|
1528
|
+
}, Do, To), on = te(function(e, t, r) {
|
|
1529
|
+
return xn ? (e.h !== 0 ? t = !1 : (J(t, r, (e = Lt(e.g, Zi)) === J2 ? void 0 : e), t = !0), t) : e.h === 0 && (J(t, r, (e = Lt(e.g, Dn)) === 0 ? void 0 : e), !0);
|
|
1530
|
+
}, Do, To), t1 = te(function(e, t, r) {
|
|
1531
|
+
return xn ? (e.h !== 0 ? e = !1 : (J(t, r, Lt(e.g, A2)), e = !0), e) : e.h === 0 && (J(t, r, Lt(e.g, gn)), !0);
|
|
1532
1532
|
}, function(e, t, r) {
|
|
1533
1533
|
if (t = function(n) {
|
|
1534
1534
|
if (n == null) return n;
|
|
1535
1535
|
var s = typeof n;
|
|
1536
1536
|
if (s === "bigint") return String(k2(64, n));
|
|
1537
1537
|
if (ar(n)) {
|
|
1538
|
-
if (s === "string") return s =
|
|
1539
|
-
if (s === "number") return (n =
|
|
1538
|
+
if (s === "string") return s = Tt(Number(n)), ut(s) && s >= 0 ? n = String(s) : ((s = n.indexOf(".")) !== -1 && (n = n.substring(0, s)), (s = n[0] !== "-" && ((s = n.length) < 20 || s === 20 && n <= "18446744073709551615")) || (Ir(n), n = tr(F, U))), n;
|
|
1539
|
+
if (s === "number") return (n = Tt(n)) >= 0 && ut(n) || (St(n), n = gn(F, U)), n;
|
|
1540
1540
|
}
|
|
1541
1541
|
}(t), t != null && (typeof t == "string" && ei(t), t != null))
|
|
1542
1542
|
switch (Ee(e, r, 0), typeof t) {
|
|
1543
1543
|
case "number":
|
|
1544
|
-
e = e.g,
|
|
1544
|
+
e = e.g, St(t), _t(e, F, U);
|
|
1545
1545
|
break;
|
|
1546
1546
|
case "bigint":
|
|
1547
|
-
r = BigInt.asUintN(64, t), r = new yn(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))),
|
|
1547
|
+
r = BigInt.asUintN(64, t), r = new yn(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), _t(e.g, r.h, r.g);
|
|
1548
1548
|
break;
|
|
1549
1549
|
default:
|
|
1550
|
-
r = ei(t),
|
|
1550
|
+
r = ei(t), _t(e.g, r.h, r.g);
|
|
1551
1551
|
}
|
|
1552
|
-
},
|
|
1553
|
-
return e.h === 0 && (
|
|
1554
|
-
},
|
|
1555
|
-
return (e.h === 0 || e.h === 2) && (t =
|
|
1552
|
+
}, K2), $ = te(function(e, t, r) {
|
|
1553
|
+
return e.h === 0 && (J(t, r, Xe(e.g)), !0);
|
|
1554
|
+
}, Bo, is), hr = Ht(function(e, t, r) {
|
|
1555
|
+
return (e.h === 0 || e.h === 2) && (t = jt(t, 0 | t[p], r), e.h == 2 ? Nr(e, Xe, t) : t.push(Xe(e.g)), !0);
|
|
1556
1556
|
}, function(e, t, r) {
|
|
1557
|
-
if ((t =
|
|
1557
|
+
if ((t = Gt(Nt, t)) != null && t.length) {
|
|
1558
1558
|
r = ts(e, r);
|
|
1559
1559
|
for (let n = 0; n < t.length; n++) Cr(e.g, t[n]);
|
|
1560
1560
|
rs(e, r);
|
|
1561
1561
|
}
|
|
1562
|
-
}, is),
|
|
1563
|
-
return e.h === 0 && (
|
|
1564
|
-
},
|
|
1565
|
-
return e.h === 0 && (
|
|
1562
|
+
}, is), yt = te(function(e, t, r) {
|
|
1563
|
+
return e.h === 0 && (J(t, r, (e = Xe(e.g)) === 0 ? void 0 : e), !0);
|
|
1564
|
+
}, Bo, is), j = te(function(e, t, r) {
|
|
1565
|
+
return e.h === 0 && (J(t, r, Qn(e.g)), !0);
|
|
1566
1566
|
}, jo, ko), ot = te(function(e, t, r) {
|
|
1567
|
-
return e.h === 0 && (
|
|
1568
|
-
}, jo, ko), ee =
|
|
1569
|
-
return e.h === 2 && (e = Zn(e),
|
|
1567
|
+
return e.h === 0 && (J(t, r, (e = Qn(e.g)) === !1 ? void 0 : e), !0);
|
|
1568
|
+
}, jo, ko), ee = Ht(function(e, t, r) {
|
|
1569
|
+
return e.h === 2 && (e = Zn(e), jt(t, 0 | t[p], r).push(e), !0);
|
|
1570
1570
|
}, function(e, t, r) {
|
|
1571
|
-
if ((t =
|
|
1571
|
+
if ((t = Gt(Q, t)) != null) for (let o = 0; o < t.length; o++) {
|
|
1572
1572
|
var n = e, s = r, i = t[o];
|
|
1573
|
-
i != null &&
|
|
1573
|
+
i != null && Dr(n, s, Vi(i));
|
|
1574
1574
|
}
|
|
1575
1575
|
}, ss), ze = te(function(e, t, r) {
|
|
1576
|
-
return e.h === 2 && (
|
|
1576
|
+
return e.h === 2 && (J(t, r, (e = Zn(e)) === "" ? void 0 : e), !0);
|
|
1577
1577
|
}, Uo, ss), L = te(function(e, t, r) {
|
|
1578
|
-
return e.h === 2 && (
|
|
1579
|
-
}, Uo, ss),
|
|
1580
|
-
return new
|
|
1578
|
+
return e.h === 2 && (J(t, r, Zn(e)), !0);
|
|
1579
|
+
}, Uo, ss), X = function(e, t, r = ns) {
|
|
1580
|
+
return new Vt(e, t, r);
|
|
1581
1581
|
}(function(e, t, r, n, s) {
|
|
1582
|
-
return e.h === 2 && (n = rt(void 0, n),
|
|
1582
|
+
return e.h === 2 && (n = rt(void 0, n), jt(t, 0 | t[p], r).push(n), ur(e, n, s), !0);
|
|
1583
1583
|
}, function(e, t, r, n, s) {
|
|
1584
1584
|
if (Array.isArray(t)) {
|
|
1585
1585
|
for (let i = 0; i < t.length; i++) Vo(e, t[i], r, n, s);
|
|
1586
|
-
1 & (e = 0 | t[p]) ||
|
|
1586
|
+
1 & (e = 0 | t[p]) || z(t, 1 | e);
|
|
1587
1587
|
}
|
|
1588
|
-
}),
|
|
1588
|
+
}), D = jr(function(e, t, r, n, s, i) {
|
|
1589
1589
|
if (e.h !== 2) return !1;
|
|
1590
1590
|
let o = 0 | t[p];
|
|
1591
|
-
return fo(t, o, i, r,
|
|
1591
|
+
return fo(t, o, i, r, Rt(o)), ur(e, t = Xn(t, n, r), s), !0;
|
|
1592
1592
|
}, Vo), Wo = te(function(e, t, r) {
|
|
1593
|
-
return e.h === 2 && (
|
|
1594
|
-
}, Go, Lo), r1 =
|
|
1595
|
-
return (e.h === 0 || e.h === 2) && (t =
|
|
1593
|
+
return e.h === 2 && (J(t, r, Ao(e)), !0);
|
|
1594
|
+
}, Go, Lo), r1 = Ht(function(e, t, r) {
|
|
1595
|
+
return (e.h === 0 || e.h === 2) && (t = jt(t, 0 | t[p], r), e.h == 2 ? Nr(e, Ge, t) : t.push(Ge(e.g)), !0);
|
|
1596
1596
|
}, function(e, t, r) {
|
|
1597
|
-
if ((t =
|
|
1597
|
+
if ((t = Gt(to, t)) != null) for (let o = 0; o < t.length; o++) {
|
|
1598
1598
|
var n = e, s = r, i = t[o];
|
|
1599
|
-
i != null && (Ee(n, s, 0),
|
|
1599
|
+
i != null && (Ee(n, s, 0), Ut(n.g, i));
|
|
1600
1600
|
}
|
|
1601
1601
|
}, So), n1 = te(function(e, t, r) {
|
|
1602
|
-
return e.h === 0 && (
|
|
1602
|
+
return e.h === 0 && (J(t, r, (e = Ge(e.g)) === 0 ? void 0 : e), !0);
|
|
1603
1603
|
}, function(e, t, r) {
|
|
1604
|
-
(t = to(t)) != null && t != null && (Ee(e, r, 0),
|
|
1605
|
-
}, So),
|
|
1606
|
-
return e.h === 0 && (
|
|
1604
|
+
(t = to(t)) != null && t != null && (Ee(e, r, 0), Ut(e.g, t));
|
|
1605
|
+
}, So), de = te(function(e, t, r) {
|
|
1606
|
+
return e.h === 0 && (J(t, r, Xe(e.g)), !0);
|
|
1607
1607
|
}, function(e, t, r) {
|
|
1608
|
-
(t =
|
|
1608
|
+
(t = Nt(t)) != null && (t = parseInt(t, 10), Ee(e, r, 0), Cr(e.g, t));
|
|
1609
1609
|
}, Po);
|
|
1610
1610
|
class s1 {
|
|
1611
1611
|
constructor(t, r) {
|
|
1612
|
-
var n =
|
|
1612
|
+
var n = ge;
|
|
1613
1613
|
this.g = t, this.h = r, this.m = k, this.j = v, this.defaultValue = void 0, this.l = n.Oa != null ? Qi : void 0;
|
|
1614
1614
|
}
|
|
1615
1615
|
register() {
|
|
@@ -1629,7 +1629,7 @@ function Je(e, t) {
|
|
|
1629
1629
|
cs(t)(a, r);
|
|
1630
1630
|
var s = o;
|
|
1631
1631
|
} finally {
|
|
1632
|
-
|
|
1632
|
+
wo(r);
|
|
1633
1633
|
}
|
|
1634
1634
|
}
|
|
1635
1635
|
return s;
|
|
@@ -1653,7 +1653,7 @@ function Wr(e) {
|
|
|
1653
1653
|
}();
|
|
1654
1654
|
}
|
|
1655
1655
|
}();
|
|
1656
|
-
No(this.v, t, ft(Ur, Gr, Hr, e)),
|
|
1656
|
+
No(this.v, t, ft(Ur, Gr, Hr, e)), Pt(t, t.g.end());
|
|
1657
1657
|
const r = new Uint8Array(t.h), n = t.l, s = n.length;
|
|
1658
1658
|
let i = 0;
|
|
1659
1659
|
for (let o = 0; o < s; o++) {
|
|
@@ -1668,12 +1668,12 @@ var si = class extends g {
|
|
|
1668
1668
|
super(e);
|
|
1669
1669
|
}
|
|
1670
1670
|
}, ii = [0, ze, te(function(e, t, r) {
|
|
1671
|
-
return e.h === 2 && (
|
|
1671
|
+
return e.h === 2 && (J(t, r, (e = Ao(e)) === at() ? void 0 : e), !0);
|
|
1672
1672
|
}, function(e, t, r) {
|
|
1673
1673
|
if (t != null) {
|
|
1674
1674
|
if (t instanceof g) {
|
|
1675
1675
|
const n = t.Ra;
|
|
1676
|
-
return void (n ? (t = n(t), t != null &&
|
|
1676
|
+
return void (n ? (t = n(t), t != null && Dr(e, r, Jn(t, !0).buffer)) : Et(dn, 3));
|
|
1677
1677
|
}
|
|
1678
1678
|
if (Array.isArray(t)) return void Et(dn, 3);
|
|
1679
1679
|
}
|
|
@@ -1706,33 +1706,33 @@ function i1(e, ...t) {
|
|
|
1706
1706
|
for (let n = 0; n < t.length; n++) r += encodeURIComponent(t[n]) + e[n + 1];
|
|
1707
1707
|
return ai(r);
|
|
1708
1708
|
}
|
|
1709
|
-
var
|
|
1709
|
+
var qo = [0, $, de, j, -1, hr, de, -1, j], o1 = class extends g {
|
|
1710
1710
|
constructor(e) {
|
|
1711
1711
|
super(e);
|
|
1712
1712
|
}
|
|
1713
|
-
},
|
|
1714
|
-
return (e.h === 0 || e.h === 2) && (t =
|
|
1713
|
+
}, Ko = [0, j, L, j, de, -1, Ht(function(e, t, r) {
|
|
1714
|
+
return (e.h === 0 || e.h === 2) && (t = jt(t, 0 | t[p], r), e.h == 2 ? Nr(e, G2, t) : t.push(Xe(e.g)), !0);
|
|
1715
1715
|
}, function(e, t, r) {
|
|
1716
|
-
if ((t =
|
|
1716
|
+
if ((t = Gt(Nt, t)) != null && t.length) {
|
|
1717
1717
|
r = ts(e, r);
|
|
1718
1718
|
for (let n = 0; n < t.length; n++) Cr(e.g, t[n]);
|
|
1719
1719
|
rs(e, r);
|
|
1720
1720
|
}
|
|
1721
|
-
}, Po), L, -1, [0, j, -1],
|
|
1721
|
+
}, Po), L, -1, [0, j, -1], de, j, -1], zo = [0, 3, j, -1, 2, [0, $], [0, de, j], [0, L, -1], [0]], Yo = [0, L, -2], ci = class extends g {
|
|
1722
1722
|
constructor(e) {
|
|
1723
1723
|
super(e);
|
|
1724
1724
|
}
|
|
1725
|
-
}, Xo = [0], $o = [0,
|
|
1725
|
+
}, Xo = [0], $o = [0, $, j, 1, j, -4], ge = class extends g {
|
|
1726
1726
|
constructor(e) {
|
|
1727
1727
|
super(e, 2);
|
|
1728
1728
|
}
|
|
1729
|
-
},
|
|
1730
|
-
|
|
1731
|
-
var ui = [0, on, -1, ot, -3, on, hr, ze,
|
|
1729
|
+
}, K = {};
|
|
1730
|
+
K[336783863] = [0, L, j, -1, $, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], D, Xo, D, Ko, D, Yo, D, $o, D, qo, D, [0, L, -2], D, [0, L, de], D, zo, D, [0, de, -1, j]], [0, L], j, [0, [1, 3], [2, 4], D, [0, hr], -1, D, [0, ee], -1, X, [0, L, -1]], L];
|
|
1731
|
+
var ui = [0, on, -1, ot, -3, on, hr, ze, yt, on, -1, ot, yt, ot, -2, ze];
|
|
1732
1732
|
function x(e, t) {
|
|
1733
1733
|
Rr(e, 3, t);
|
|
1734
1734
|
}
|
|
1735
|
-
function
|
|
1735
|
+
function E(e, t) {
|
|
1736
1736
|
Rr(e, 4, t);
|
|
1737
1737
|
}
|
|
1738
1738
|
var se = class extends g {
|
|
@@ -1743,7 +1743,7 @@ var se = class extends g {
|
|
|
1743
1743
|
return v(this, 0, 7, e);
|
|
1744
1744
|
}
|
|
1745
1745
|
}, Jt = [-1, {}], hi = [0, L, 1, Jt], li = [0, L, ee, Jt];
|
|
1746
|
-
function
|
|
1746
|
+
function Ae(e, t) {
|
|
1747
1747
|
$n(e, 1, se, t);
|
|
1748
1748
|
}
|
|
1749
1749
|
function R(e, t) {
|
|
@@ -1752,16 +1752,16 @@ function R(e, t) {
|
|
|
1752
1752
|
function S(e, t) {
|
|
1753
1753
|
Rr(e, 15, t);
|
|
1754
1754
|
}
|
|
1755
|
-
var
|
|
1755
|
+
var me = class extends g {
|
|
1756
1756
|
constructor(e) {
|
|
1757
1757
|
super(e, 500);
|
|
1758
1758
|
}
|
|
1759
1759
|
o(e) {
|
|
1760
1760
|
return v(this, 0, 1001, e);
|
|
1761
1761
|
}
|
|
1762
|
-
}, Jo = [-500,
|
|
1763
|
-
|
|
1764
|
-
var a1 = Je(
|
|
1762
|
+
}, Jo = [-500, X, [-500, ze, -1, ee, -3, [-2, K, j], X, ii, yt, -1, hi, li, X, [0, ze, ot], ze, ui, yt, ee, 987, ee], 4, X, [-500, L, -1, [-1, {}], 998, L], X, [-500, L, ee, -1, [-2, {}, j], 997, ee, -1], yt, X, [-500, L, ee, Jt, 998, ee], ee, yt, hi, li, X, [0, ze, -1, Jt], ee, -2, ui, ze, -1, ot, [0, ot, n1], 978, Jt, X, ii];
|
|
1763
|
+
me.prototype.g = Wr(Jo);
|
|
1764
|
+
var a1 = Je(me, Jo), c1 = class extends g {
|
|
1765
1765
|
constructor(e) {
|
|
1766
1766
|
super(e);
|
|
1767
1767
|
}
|
|
@@ -1772,7 +1772,7 @@ var a1 = Je(ge, Jo), c1 = class extends g {
|
|
|
1772
1772
|
g() {
|
|
1773
1773
|
return Ue(this, c1, 1);
|
|
1774
1774
|
}
|
|
1775
|
-
}, Zo = [0,
|
|
1775
|
+
}, Zo = [0, X, [0, $, V, L, -1]], qr = Je(Qo, Zo), u1 = class extends g {
|
|
1776
1776
|
constructor(e) {
|
|
1777
1777
|
super(e);
|
|
1778
1778
|
}
|
|
@@ -1794,15 +1794,15 @@ var a1 = Je(ge, Jo), c1 = class extends g {
|
|
|
1794
1794
|
constructor(e) {
|
|
1795
1795
|
super(e);
|
|
1796
1796
|
}
|
|
1797
|
-
}, [0, ee, hr, us, [0,
|
|
1797
|
+
}, [0, ee, hr, us, [0, de, [0, $, -3], [0, V, -3], [0, $, -1, [0, X, [0, $, -2]]], X, [0, V, -1, L, V]], L, -1, $e, X, [0, $, V], ee, $e]), ta = class extends g {
|
|
1798
1798
|
constructor(e) {
|
|
1799
1799
|
super(e);
|
|
1800
1800
|
}
|
|
1801
|
-
},
|
|
1801
|
+
}, vt = Je(class extends g {
|
|
1802
1802
|
constructor(e) {
|
|
1803
1803
|
super(e);
|
|
1804
1804
|
}
|
|
1805
|
-
}, [0,
|
|
1805
|
+
}, [0, X, [0, V, -4]]), ra = class extends g {
|
|
1806
1806
|
constructor(e) {
|
|
1807
1807
|
super(e);
|
|
1808
1808
|
}
|
|
@@ -1810,11 +1810,11 @@ var a1 = Je(ge, Jo), c1 = class extends g {
|
|
|
1810
1810
|
constructor(e) {
|
|
1811
1811
|
super(e);
|
|
1812
1812
|
}
|
|
1813
|
-
}, [0,
|
|
1813
|
+
}, [0, X, [0, V, -4]]), l1 = class extends g {
|
|
1814
1814
|
constructor(e) {
|
|
1815
1815
|
super(e);
|
|
1816
1816
|
}
|
|
1817
|
-
}, f1 = [0,
|
|
1817
|
+
}, f1 = [0, $, -1, us, de], na = class extends g {
|
|
1818
1818
|
constructor(e) {
|
|
1819
1819
|
super(e);
|
|
1820
1820
|
}
|
|
@@ -1828,7 +1828,7 @@ var d1 = class extends g {
|
|
|
1828
1828
|
constructor(e) {
|
|
1829
1829
|
super(e);
|
|
1830
1830
|
}
|
|
1831
|
-
}, [0,
|
|
1831
|
+
}, [0, X, [0, 1, $, L, Zo], $e]), fi = class extends g {
|
|
1832
1832
|
constructor(e) {
|
|
1833
1833
|
super(e);
|
|
1834
1834
|
}
|
|
@@ -1837,7 +1837,7 @@ var d1 = class extends g {
|
|
|
1837
1837
|
super(e);
|
|
1838
1838
|
}
|
|
1839
1839
|
na() {
|
|
1840
|
-
const e =
|
|
1840
|
+
const e = I(this, 1, void 0, void 0, ho);
|
|
1841
1841
|
return e ?? at();
|
|
1842
1842
|
}
|
|
1843
1843
|
}, m1 = class extends g {
|
|
@@ -1848,11 +1848,11 @@ var d1 = class extends g {
|
|
|
1848
1848
|
constructor(e) {
|
|
1849
1849
|
super(e);
|
|
1850
1850
|
}
|
|
1851
|
-
}, [0,
|
|
1851
|
+
}, [0, X, [0, sa, D, [0, us], D, [0, Wo], $, L], $e]), hs = class extends g {
|
|
1852
1852
|
constructor(e) {
|
|
1853
1853
|
super(e);
|
|
1854
1854
|
}
|
|
1855
|
-
}, ia = [0, L,
|
|
1855
|
+
}, ia = [0, L, $, V, ee, -1], di = class extends g {
|
|
1856
1856
|
constructor(e) {
|
|
1857
1857
|
super(e);
|
|
1858
1858
|
}
|
|
@@ -1865,29 +1865,29 @@ var d1 = class extends g {
|
|
|
1865
1865
|
super(e);
|
|
1866
1866
|
}
|
|
1867
1867
|
g() {
|
|
1868
|
-
return
|
|
1868
|
+
return I(this, 1, void 0, void 0, ho) != null;
|
|
1869
1869
|
}
|
|
1870
1870
|
l() {
|
|
1871
|
-
return
|
|
1871
|
+
return Q(I(this, 2)) != null;
|
|
1872
1872
|
}
|
|
1873
1873
|
}, C = class extends g {
|
|
1874
1874
|
constructor(e) {
|
|
1875
1875
|
super(e);
|
|
1876
1876
|
}
|
|
1877
1877
|
g() {
|
|
1878
|
-
return eo(
|
|
1878
|
+
return eo(I(this, 2)) ?? !1;
|
|
1879
1879
|
}
|
|
1880
|
-
}, oa = [0, Wo, L, [0,
|
|
1880
|
+
}, oa = [0, Wo, L, [0, $, $e, -1], [0, t1, $e]], G = [0, oa, j, [0, vr, D, $o, D, Ko, D, qo, D, Xo, D, Yo, D, zo], de], Kr = class extends g {
|
|
1881
1881
|
constructor(e) {
|
|
1882
1882
|
super(e);
|
|
1883
1883
|
}
|
|
1884
|
-
}, ls = [0, G, V, -1,
|
|
1885
|
-
|
|
1884
|
+
}, ls = [0, G, V, -1, $], v1 = Ne(502141897, Kr);
|
|
1885
|
+
K[502141897] = ls;
|
|
1886
1886
|
var b1 = Je(class extends g {
|
|
1887
1887
|
constructor(e) {
|
|
1888
1888
|
super(e);
|
|
1889
1889
|
}
|
|
1890
|
-
}, [0, [0,
|
|
1890
|
+
}, [0, [0, de, -1, Z2, r1], f1]), aa = class extends g {
|
|
1891
1891
|
constructor(e) {
|
|
1892
1892
|
super(e);
|
|
1893
1893
|
}
|
|
@@ -1895,9 +1895,9 @@ var b1 = Je(class extends g {
|
|
|
1895
1895
|
constructor(e) {
|
|
1896
1896
|
super(e);
|
|
1897
1897
|
}
|
|
1898
|
-
}, bn = [0, G, V, [0, G], j],
|
|
1899
|
-
|
|
1900
|
-
var
|
|
1898
|
+
}, bn = [0, G, V, [0, G], j], w1 = Ne(508968150, ca);
|
|
1899
|
+
K[508968150] = [0, G, ls, bn, V, [0, [0, oa]]], K[508968149] = bn;
|
|
1900
|
+
var mt = class extends g {
|
|
1901
1901
|
constructor(e) {
|
|
1902
1902
|
super(e);
|
|
1903
1903
|
}
|
|
@@ -1908,8 +1908,8 @@ var gt = class extends g {
|
|
|
1908
1908
|
T(this, 2);
|
|
1909
1909
|
}
|
|
1910
1910
|
}, ua = [0, G, ia];
|
|
1911
|
-
|
|
1912
|
-
var
|
|
1911
|
+
K[478825465] = ua;
|
|
1912
|
+
var E1 = class extends g {
|
|
1913
1913
|
constructor(e) {
|
|
1914
1914
|
super(e);
|
|
1915
1915
|
}
|
|
@@ -1929,10 +1929,10 @@ var w1 = class extends g {
|
|
|
1929
1929
|
constructor(e) {
|
|
1930
1930
|
super(e);
|
|
1931
1931
|
}
|
|
1932
|
-
}, gi = [0, G, [0, G], ua, -1], fa = [0, G, V,
|
|
1933
|
-
|
|
1932
|
+
}, gi = [0, G, [0, G], ua, -1], fa = [0, G, V, $], ps = [0, G, V], da = [0, G, fa, ps, V], A1 = Ne(479097054, la);
|
|
1933
|
+
K[479097054] = [0, G, da, gi], K[463370452] = gi, K[464864288] = fa;
|
|
1934
1934
|
var k1 = Ne(462713202, ds);
|
|
1935
|
-
|
|
1935
|
+
K[462713202] = da, K[474472470] = ps;
|
|
1936
1936
|
var S1 = class extends g {
|
|
1937
1937
|
constructor(e) {
|
|
1938
1938
|
super(e);
|
|
@@ -1949,20 +1949,20 @@ var S1 = class extends g {
|
|
|
1949
1949
|
constructor(e) {
|
|
1950
1950
|
super(e);
|
|
1951
1951
|
}
|
|
1952
|
-
}, gs = [0, G, V, -1,
|
|
1953
|
-
ma.prototype.g = Wr([0, G, ps, [0, G], ls, bn, gs,
|
|
1952
|
+
}, gs = [0, G, V, -1, $], wn = [0, G, V, j];
|
|
1953
|
+
ma.prototype.g = Wr([0, G, ps, [0, G], ls, bn, gs, wn]);
|
|
1954
1954
|
var ya = class extends g {
|
|
1955
1955
|
constructor(e) {
|
|
1956
1956
|
super(e);
|
|
1957
1957
|
}
|
|
1958
1958
|
}, T1 = Ne(456383383, ya);
|
|
1959
|
-
|
|
1959
|
+
K[456383383] = [0, G, ia];
|
|
1960
1960
|
var _a = class extends g {
|
|
1961
1961
|
constructor(e) {
|
|
1962
1962
|
super(e);
|
|
1963
1963
|
}
|
|
1964
1964
|
}, L1 = Ne(476348187, _a);
|
|
1965
|
-
|
|
1965
|
+
K[476348187] = [0, G, _1];
|
|
1966
1966
|
var va = class extends g {
|
|
1967
1967
|
constructor(e) {
|
|
1968
1968
|
super(e);
|
|
@@ -1971,7 +1971,7 @@ var va = class extends g {
|
|
|
1971
1971
|
constructor(e) {
|
|
1972
1972
|
super(e);
|
|
1973
1973
|
}
|
|
1974
|
-
}, ba = [0,
|
|
1974
|
+
}, ba = [0, de, -1], P1 = Ne(458105876, class extends g {
|
|
1975
1975
|
constructor(e) {
|
|
1976
1976
|
super(e);
|
|
1977
1977
|
}
|
|
@@ -1979,14 +1979,14 @@ var va = class extends g {
|
|
|
1979
1979
|
let e;
|
|
1980
1980
|
var t = this.v;
|
|
1981
1981
|
const r = 0 | t[p];
|
|
1982
|
-
return e =
|
|
1982
|
+
return e = le(this, r), t = function(n, s, i, o) {
|
|
1983
1983
|
var a = mi;
|
|
1984
|
-
!o &&
|
|
1984
|
+
!o && Dt(n) && (i = 0 | (s = n.v)[p]);
|
|
1985
1985
|
var c = je(s, 2);
|
|
1986
1986
|
if (n = !1, c == null) {
|
|
1987
1987
|
if (o) return $s();
|
|
1988
1988
|
c = [];
|
|
1989
|
-
} else if (c.constructor ===
|
|
1989
|
+
} else if (c.constructor === Be) {
|
|
1990
1990
|
if (!(2 & c.J) || o) return c;
|
|
1991
1991
|
c = c.V();
|
|
1992
1992
|
} else Array.isArray(c) ? n = !!(2 & (0 | c[p])) : c = [];
|
|
@@ -1994,77 +1994,77 @@ var va = class extends g {
|
|
|
1994
1994
|
if (!c.length) return $s();
|
|
1995
1995
|
n || (n = !0, ir(c));
|
|
1996
1996
|
} else n && (n = !1, er(c), c = lo(c));
|
|
1997
|
-
return !n && 32 & i && sr(c, 32), i = q(s, i, 2, o = new
|
|
1997
|
+
return !n && 32 & i && sr(c, 32), i = q(s, i, 2, o = new Be(c, a, P2, void 0)), n || lt(s, i), o;
|
|
1998
1998
|
}(this, t, r, e), !e && mi && (t.ra = !0), t;
|
|
1999
1999
|
}
|
|
2000
2000
|
});
|
|
2001
|
-
|
|
2001
|
+
K[458105876] = [0, ba, Q2, [!0, $e, [0, L, -1, ee]], [0, hr, j, de]];
|
|
2002
2002
|
var ms = class extends g {
|
|
2003
2003
|
constructor(e) {
|
|
2004
2004
|
super(e);
|
|
2005
2005
|
}
|
|
2006
|
-
},
|
|
2007
|
-
|
|
2006
|
+
}, wa = Ne(458105758, ms);
|
|
2007
|
+
K[458105758] = [0, G, L, ba];
|
|
2008
2008
|
var un = class extends g {
|
|
2009
2009
|
constructor(e) {
|
|
2010
2010
|
super(e);
|
|
2011
2011
|
}
|
|
2012
|
-
}, yi = [0, e1, -1, ot],
|
|
2012
|
+
}, yi = [0, e1, -1, ot], M1 = class extends g {
|
|
2013
2013
|
constructor(e) {
|
|
2014
2014
|
super(e);
|
|
2015
2015
|
}
|
|
2016
|
-
},
|
|
2016
|
+
}, Ea = class extends g {
|
|
2017
2017
|
constructor(e) {
|
|
2018
2018
|
super(e);
|
|
2019
2019
|
}
|
|
2020
|
-
},
|
|
2021
|
-
|
|
2020
|
+
}, En = [1, 2];
|
|
2021
|
+
Ea.prototype.g = Wr([0, En, D, yi, D, [0, X, yi]]);
|
|
2022
2022
|
var Aa = class extends g {
|
|
2023
2023
|
constructor(e) {
|
|
2024
2024
|
super(e);
|
|
2025
2025
|
}
|
|
2026
|
-
},
|
|
2027
|
-
|
|
2026
|
+
}, I1 = Ne(443442058, Aa);
|
|
2027
|
+
K[443442058] = [0, G, L, $, V, ee, -1, j, V], K[514774813] = gs;
|
|
2028
2028
|
var ka = class extends g {
|
|
2029
2029
|
constructor(e) {
|
|
2030
2030
|
super(e);
|
|
2031
2031
|
}
|
|
2032
2032
|
}, x1 = Ne(516587230, ka);
|
|
2033
2033
|
function An(e, t) {
|
|
2034
|
-
return t = t ? t.clone() : new hs(), e.displayNamesLocale !== void 0 ? T(t, 1, cr(e.displayNamesLocale)) : e.displayNamesLocale === void 0 && T(t, 1), e.maxResults !== void 0 ? Ve(t, 2, e.maxResults) : "maxResults" in e && T(t, 2), e.scoreThreshold !== void 0 ? y(t, 3, e.scoreThreshold) : "scoreThreshold" in e && T(t, 3), e.categoryAllowlist !== void 0 ?
|
|
2034
|
+
return t = t ? t.clone() : new hs(), e.displayNamesLocale !== void 0 ? T(t, 1, cr(e.displayNamesLocale)) : e.displayNamesLocale === void 0 && T(t, 1), e.maxResults !== void 0 ? Ve(t, 2, e.maxResults) : "maxResults" in e && T(t, 2), e.scoreThreshold !== void 0 ? y(t, 3, e.scoreThreshold) : "scoreThreshold" in e && T(t, 3), e.categoryAllowlist !== void 0 ? Er(t, 4, e.categoryAllowlist) : "categoryAllowlist" in e && T(t, 4), e.categoryDenylist !== void 0 ? Er(t, 5, e.categoryDenylist) : "categoryDenylist" in e && T(t, 5), t;
|
|
2035
2035
|
}
|
|
2036
2036
|
function Sa(e) {
|
|
2037
2037
|
const t = Number(e);
|
|
2038
2038
|
return Number.isSafeInteger(t) ? t : String(e);
|
|
2039
2039
|
}
|
|
2040
2040
|
function ys(e, t = -1, r = "") {
|
|
2041
|
-
return { categories: e.map((n) => ({ index:
|
|
2041
|
+
return { categories: e.map((n) => ({ index: we(n, 1) ?? 0 ?? -1, score: B(n, 2) ?? 0, categoryName: Q(I(n, 3)) ?? "" ?? "", displayName: Q(I(n, 4)) ?? "" ?? "" })), headIndex: t, headName: r };
|
|
2042
2042
|
}
|
|
2043
2043
|
function O1(e) {
|
|
2044
2044
|
const t = { classifications: Ue(e, d1, 1).map((r) => {
|
|
2045
2045
|
var n;
|
|
2046
|
-
return ys(((n = k(r, Qo, 4)) == null ? void 0 : n.g()) ?? [],
|
|
2046
|
+
return ys(((n = k(r, Qo, 4)) == null ? void 0 : n.g()) ?? [], we(r, 2) ?? 0, Q(I(r, 3)) ?? "");
|
|
2047
2047
|
}) };
|
|
2048
2048
|
return function(r) {
|
|
2049
|
-
return L2(On ?
|
|
2049
|
+
return L2(On ? I(r, 2, void 0, void 0, br) : I(r, 2));
|
|
2050
2050
|
}(e) != null && (t.timestampMs = Sa(yo(e))), t;
|
|
2051
2051
|
}
|
|
2052
2052
|
function Ta(e) {
|
|
2053
2053
|
var o, a;
|
|
2054
|
-
var t = tt(e, 3,
|
|
2054
|
+
var t = tt(e, 3, Ie, et()), r = tt(e, 2, Nt, et()), n = tt(e, 1, Q, et()), s = tt(e, 9, Q, et());
|
|
2055
2055
|
const i = { categories: [], keypoints: [] };
|
|
2056
2056
|
for (let c = 0; c < t.length; c++) i.categories.push({ score: t[c], index: r[c] ?? -1, categoryName: n[c] ?? "", displayName: s[c] ?? "" });
|
|
2057
|
-
if ((t = (o = k(e, cn, 4)) == null ? void 0 : o.l()) && (i.boundingBox = { originX:
|
|
2057
|
+
if ((t = (o = k(e, cn, 4)) == null ? void 0 : o.l()) && (i.boundingBox = { originX: we(t, 1, We) ?? 0, originY: we(t, 2, We) ?? 0, width: we(t, 3, We) ?? 0, height: we(t, 4, We) ?? 0, angle: 0 }), (a = k(e, cn, 4)) == null ? void 0 : a.g().length) for (const c of k(e, cn, 4).g()) i.keypoints.push({ x: I(c, 1, void 0, We, Ie) ?? 0, y: I(c, 2, void 0, We, Ie) ?? 0, score: I(c, 4, void 0, We, Ie) ?? 0, label: Q(I(c, 3, void 0, We)) ?? "" });
|
|
2058
2058
|
return i;
|
|
2059
2059
|
}
|
|
2060
2060
|
function zr(e) {
|
|
2061
2061
|
const t = [];
|
|
2062
|
-
for (const r of Ue(e, ra, 1)) t.push({ x:
|
|
2062
|
+
for (const r of Ue(e, ra, 1)) t.push({ x: B(r, 1) ?? 0, y: B(r, 2) ?? 0, z: B(r, 3) ?? 0, visibility: B(r, 4) ?? 0 });
|
|
2063
2063
|
return t;
|
|
2064
2064
|
}
|
|
2065
2065
|
function Qt(e) {
|
|
2066
2066
|
const t = [];
|
|
2067
|
-
for (const r of Ue(e, ta, 1)) t.push({ x:
|
|
2067
|
+
for (const r of Ue(e, ta, 1)) t.push({ x: B(r, 1) ?? 0, y: B(r, 2) ?? 0, z: B(r, 3) ?? 0, visibility: B(r, 4) ?? 0 });
|
|
2068
2068
|
return t;
|
|
2069
2069
|
}
|
|
2070
2070
|
function _i(e) {
|
|
@@ -2078,7 +2078,7 @@ function vi(e, t) {
|
|
|
2078
2078
|
return r / Math.sqrt(n * s);
|
|
2079
2079
|
}
|
|
2080
2080
|
let gr;
|
|
2081
|
-
|
|
2081
|
+
K[516587230] = [0, G, gs, wn, V], K[518928384] = wn;
|
|
2082
2082
|
const F1 = 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]);
|
|
2083
2083
|
async function La() {
|
|
2084
2084
|
if (gr === void 0) try {
|
|
@@ -2088,7 +2088,7 @@ async function La() {
|
|
|
2088
2088
|
}
|
|
2089
2089
|
return gr;
|
|
2090
2090
|
}
|
|
2091
|
-
async function
|
|
2091
|
+
async function qt(e, t = i1``) {
|
|
2092
2092
|
const r = await La() ? "wasm_internal" : "wasm_nosimd_internal";
|
|
2093
2093
|
return { wasmLoaderPath: `${t}/${e}_${r}.js`, wasmBinaryPath: `${t}/${e}_${r}.wasm` };
|
|
2094
2094
|
}
|
|
@@ -2118,20 +2118,20 @@ async function bi(e) {
|
|
|
2118
2118
|
await self.import(e.toString());
|
|
2119
2119
|
}
|
|
2120
2120
|
}
|
|
2121
|
-
function
|
|
2121
|
+
function Ma(e) {
|
|
2122
2122
|
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];
|
|
2123
2123
|
}
|
|
2124
2124
|
function m(e, t, r) {
|
|
2125
2125
|
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);
|
|
2126
2126
|
}
|
|
2127
|
-
function
|
|
2127
|
+
function wi(e, t, r) {
|
|
2128
2128
|
if (!e.i.canvas) throw Error("No OpenGL canvas configured.");
|
|
2129
2129
|
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`.");
|
|
2130
2130
|
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);
|
|
2131
|
-
const [n, s] =
|
|
2131
|
+
const [n, s] = Ma(t);
|
|
2132
2132
|
return !e.l || n === e.i.canvas.width && s === e.i.canvas.height || (e.i.canvas.width = n, e.i.canvas.height = s), [n, s];
|
|
2133
2133
|
}
|
|
2134
|
-
function
|
|
2134
|
+
function Ei(e, t, r) {
|
|
2135
2135
|
e.m || console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target");
|
|
2136
2136
|
const n = new Uint32Array(t.length);
|
|
2137
2137
|
for (let s = 0; s < t.length; s++) n[s] = e.i.stringToNewUTF8(t[s]);
|
|
@@ -2142,22 +2142,22 @@ function wi(e, t, r) {
|
|
|
2142
2142
|
function Pe(e, t, r) {
|
|
2143
2143
|
e.i.simpleListeners = e.i.simpleListeners || {}, e.i.simpleListeners[t] = r;
|
|
2144
2144
|
}
|
|
2145
|
-
function
|
|
2145
|
+
function qe(e, t, r) {
|
|
2146
2146
|
let n = [];
|
|
2147
2147
|
e.i.simpleListeners = e.i.simpleListeners || {}, e.i.simpleListeners[t] = (s, i, o) => {
|
|
2148
2148
|
i ? (r(n, o), n = []) : n.push(s);
|
|
2149
2149
|
};
|
|
2150
2150
|
}
|
|
2151
2151
|
Ze.forVisionTasks = function(e) {
|
|
2152
|
-
return
|
|
2152
|
+
return qt("vision", e);
|
|
2153
2153
|
}, Ze.forTextTasks = function(e) {
|
|
2154
|
-
return
|
|
2154
|
+
return qt("text", e);
|
|
2155
2155
|
}, Ze.forGenAiExperimentalTasks = function(e) {
|
|
2156
|
-
return
|
|
2156
|
+
return qt("genai_experimental", e);
|
|
2157
2157
|
}, Ze.forGenAiTasks = function(e) {
|
|
2158
|
-
return
|
|
2158
|
+
return qt("genai", e);
|
|
2159
2159
|
}, Ze.forAudioTasks = function(e) {
|
|
2160
|
-
return
|
|
2160
|
+
return qt("audio", e);
|
|
2161
2161
|
}, Ze.isSimdSupported = function() {
|
|
2162
2162
|
return La();
|
|
2163
2163
|
};
|
|
@@ -2184,10 +2184,10 @@ function d(e, t) {
|
|
|
2184
2184
|
e.C = Math.max(e.C, t);
|
|
2185
2185
|
}
|
|
2186
2186
|
function Yr(e, t) {
|
|
2187
|
-
e.B = new se(),
|
|
2187
|
+
e.B = new se(), fe(e.B, 2, "PassThroughCalculator"), x(e.B, "free_memory"), E(e.B, "free_memory_unused_out"), R(t, "free_memory"), Ae(t, e.B);
|
|
2188
2188
|
}
|
|
2189
|
-
function
|
|
2190
|
-
x(e.B, t),
|
|
2189
|
+
function Mt(e, t) {
|
|
2190
|
+
x(e.B, t), E(e.B, t + "_unused_out");
|
|
2191
2191
|
}
|
|
2192
2192
|
function Xr(e) {
|
|
2193
2193
|
e.g.addBoolToStream(!0, "free_memory", e.C);
|
|
@@ -2296,13 +2296,13 @@ function _s(e, t) {
|
|
|
2296
2296
|
function C1(e, t, r, n) {
|
|
2297
2297
|
return _s(e, t), e.h || (e.m(), e.D()), r ? (e.u || (e.u = Si(e, !0)), r = e.u) : (e.A || (e.A = Si(e, !1)), r = e.A), t.useProgram(e.h), r.bind(), e.l(), e = n(), r.g.bindVertexArray(null), e;
|
|
2298
2298
|
}
|
|
2299
|
-
function
|
|
2299
|
+
function Ia(e, t, r) {
|
|
2300
2300
|
return _s(e, t), e = Ye(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;
|
|
2301
2301
|
}
|
|
2302
2302
|
function xa(e, t, r) {
|
|
2303
2303
|
_s(e, t), e.B || (e.B = Ye(t.createFramebuffer(), "Failed to create framebuffe.")), t.bindFramebuffer(t.FRAMEBUFFER, e.B), t.framebufferTexture2D(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0, t.TEXTURE_2D, r, 0);
|
|
2304
2304
|
}
|
|
2305
|
-
function
|
|
2305
|
+
function D1(e) {
|
|
2306
2306
|
var t;
|
|
2307
2307
|
(t = e.g) == null || t.bindFramebuffer(e.g.FRAMEBUFFER, null);
|
|
2308
2308
|
}
|
|
@@ -2341,7 +2341,7 @@ var Oa = class {
|
|
|
2341
2341
|
this.B && this.g.deleteFramebuffer(this.B), this.A && this.A.close(), this.u && this.u.close();
|
|
2342
2342
|
}
|
|
2343
2343
|
};
|
|
2344
|
-
function
|
|
2344
|
+
function De(e, t) {
|
|
2345
2345
|
switch (t) {
|
|
2346
2346
|
case 0:
|
|
2347
2347
|
return e.g.find((r) => r instanceof Uint8Array);
|
|
@@ -2354,9 +2354,9 @@ function Be(e, t) {
|
|
|
2354
2354
|
}
|
|
2355
2355
|
}
|
|
2356
2356
|
function Sn(e) {
|
|
2357
|
-
var t =
|
|
2357
|
+
var t = De(e, 1);
|
|
2358
2358
|
if (!t) {
|
|
2359
|
-
if (t =
|
|
2359
|
+
if (t = De(e, 0)) t = new Float32Array(t).map((n) => n / 255);
|
|
2360
2360
|
else {
|
|
2361
2361
|
t = new Float32Array(e.width * e.height);
|
|
2362
2362
|
const n = It(e);
|
|
@@ -2371,7 +2371,7 @@ function Sn(e) {
|
|
|
2371
2371
|
return t;
|
|
2372
2372
|
}
|
|
2373
2373
|
function Fa(e) {
|
|
2374
|
-
let t =
|
|
2374
|
+
let t = De(e, 2);
|
|
2375
2375
|
if (!t) {
|
|
2376
2376
|
const r = It(e);
|
|
2377
2377
|
t = Na(e);
|
|
@@ -2398,27 +2398,27 @@ function vs(e) {
|
|
|
2398
2398
|
function Na(e) {
|
|
2399
2399
|
const t = It(e);
|
|
2400
2400
|
t.viewport(0, 0, e.width, e.height), t.activeTexture(t.TEXTURE0);
|
|
2401
|
-
let r =
|
|
2402
|
-
return r || (r =
|
|
2401
|
+
let r = De(e, 2);
|
|
2402
|
+
return r || (r = Ia(vs(e), t, e.m ? t.LINEAR : t.NEAREST), e.g.push(r), e.j = !0), t.bindTexture(t.TEXTURE_2D, r), r;
|
|
2403
2403
|
}
|
|
2404
2404
|
function Tn(e) {
|
|
2405
2405
|
e.h.bindTexture(e.h.TEXTURE_2D, null);
|
|
2406
2406
|
}
|
|
2407
|
-
var mr,
|
|
2407
|
+
var mr, Y = class {
|
|
2408
2408
|
constructor(e, t, r, n, s, i, o) {
|
|
2409
2409
|
this.g = e, this.m = t, this.j = r, this.canvas = n, this.l = s, this.width = i, this.height = o, this.j && --Ti === 0 && console.error("You seem to be creating MPMask instances without invoking .close(). This leaks resources.");
|
|
2410
2410
|
}
|
|
2411
2411
|
Fa() {
|
|
2412
|
-
return !!
|
|
2412
|
+
return !!De(this, 0);
|
|
2413
2413
|
}
|
|
2414
2414
|
ka() {
|
|
2415
|
-
return !!
|
|
2415
|
+
return !!De(this, 1);
|
|
2416
2416
|
}
|
|
2417
2417
|
R() {
|
|
2418
|
-
return !!
|
|
2418
|
+
return !!De(this, 2);
|
|
2419
2419
|
}
|
|
2420
2420
|
ja() {
|
|
2421
|
-
return (t =
|
|
2421
|
+
return (t = De(e = this, 0)) || (t = Sn(e), t = new Uint8Array(t.map((r) => Math.round(255 * r))), e.g.push(t)), t;
|
|
2422
2422
|
var e, t;
|
|
2423
2423
|
}
|
|
2424
2424
|
ia() {
|
|
@@ -2437,27 +2437,27 @@ var mr, X = class {
|
|
|
2437
2437
|
if (!(t instanceof WebGLTexture)) throw Error(`Type is not supported: ${t}`);
|
|
2438
2438
|
{
|
|
2439
2439
|
const n = It(this), s = vs(this);
|
|
2440
|
-
n.activeTexture(n.TEXTURE1), r =
|
|
2440
|
+
n.activeTexture(n.TEXTURE1), r = Ia(s, n, this.m ? n.LINEAR : n.NEAREST), n.bindTexture(n.TEXTURE_2D, r);
|
|
2441
2441
|
const i = Ra(this);
|
|
2442
2442
|
n.texImage2D(n.TEXTURE_2D, 0, i, this.width, this.height, 0, n.RED, n.FLOAT, null), n.bindTexture(n.TEXTURE_2D, null), xa(s, n, r), C1(s, n, !1, () => {
|
|
2443
2443
|
Na(this), n.clearColor(0, 0, 0, 0), n.clear(n.COLOR_BUFFER_BIT), n.drawArrays(n.TRIANGLE_FAN, 0, 4), Tn(this);
|
|
2444
|
-
}),
|
|
2444
|
+
}), D1(s), Tn(this);
|
|
2445
2445
|
}
|
|
2446
2446
|
}
|
|
2447
2447
|
e.push(r);
|
|
2448
2448
|
}
|
|
2449
|
-
return new
|
|
2449
|
+
return new Y(e, this.m, this.R(), this.canvas, this.l, this.width, this.height);
|
|
2450
2450
|
}
|
|
2451
2451
|
close() {
|
|
2452
|
-
this.j && It(this).deleteTexture(
|
|
2452
|
+
this.j && It(this).deleteTexture(De(this, 2)), Ti = -1;
|
|
2453
2453
|
}
|
|
2454
2454
|
};
|
|
2455
|
-
|
|
2455
|
+
Y.prototype.close = Y.prototype.close, Y.prototype.clone = Y.prototype.clone, Y.prototype.getAsWebGLTexture = Y.prototype.N, Y.prototype.getAsFloat32Array = Y.prototype.ia, Y.prototype.getAsUint8Array = Y.prototype.ja, Y.prototype.hasWebGLTexture = Y.prototype.R, Y.prototype.hasFloat32Array = Y.prototype.ka, Y.prototype.hasUint8Array = Y.prototype.Fa;
|
|
2456
2456
|
var Ti = 250;
|
|
2457
2457
|
function Se(...e) {
|
|
2458
2458
|
return e.map(([t, r]) => ({ start: t, end: r }));
|
|
2459
2459
|
}
|
|
2460
|
-
const
|
|
2460
|
+
const B1 = /* @__PURE__ */ function(e) {
|
|
2461
2461
|
return class extends e {
|
|
2462
2462
|
Ja() {
|
|
2463
2463
|
this.i._registerModelResourcesGraphService();
|
|
@@ -2518,7 +2518,7 @@ const D1 = /* @__PURE__ */ function(e) {
|
|
|
2518
2518
|
}
|
|
2519
2519
|
addGpuBufferToStream(e, t, r) {
|
|
2520
2520
|
m(this, t, (n) => {
|
|
2521
|
-
const [s, i] =
|
|
2521
|
+
const [s, i] = wi(this, e, n);
|
|
2522
2522
|
this.i._addBoundTextureToStream(n, s, i, r);
|
|
2523
2523
|
});
|
|
2524
2524
|
}
|
|
@@ -2556,8 +2556,8 @@ const D1 = /* @__PURE__ */ function(e) {
|
|
|
2556
2556
|
}
|
|
2557
2557
|
addStringRecordToStream(e, t, r) {
|
|
2558
2558
|
m(this, t, (n) => {
|
|
2559
|
-
|
|
2560
|
-
|
|
2559
|
+
Ei(this, Object.keys(e), (s) => {
|
|
2560
|
+
Ei(this, Object.values(e), (i) => {
|
|
2561
2561
|
this.i._addFlatHashMapToInputStream(s, i, Object.keys(e).length, n, r);
|
|
2562
2562
|
});
|
|
2563
2563
|
});
|
|
@@ -2722,7 +2722,7 @@ const D1 = /* @__PURE__ */ function(e) {
|
|
|
2722
2722
|
});
|
|
2723
2723
|
}
|
|
2724
2724
|
attachBoolVectorListener(e, t) {
|
|
2725
|
-
|
|
2725
|
+
qe(this, e, t), m(this, e, (r) => {
|
|
2726
2726
|
this.i._attachBoolVectorListener(r);
|
|
2727
2727
|
});
|
|
2728
2728
|
}
|
|
@@ -2732,7 +2732,7 @@ const D1 = /* @__PURE__ */ function(e) {
|
|
|
2732
2732
|
});
|
|
2733
2733
|
}
|
|
2734
2734
|
attachIntVectorListener(e, t) {
|
|
2735
|
-
|
|
2735
|
+
qe(this, e, t), m(this, e, (r) => {
|
|
2736
2736
|
this.i._attachIntVectorListener(r);
|
|
2737
2737
|
});
|
|
2738
2738
|
}
|
|
@@ -2742,7 +2742,7 @@ const D1 = /* @__PURE__ */ function(e) {
|
|
|
2742
2742
|
});
|
|
2743
2743
|
}
|
|
2744
2744
|
attachUintVectorListener(e, t) {
|
|
2745
|
-
|
|
2745
|
+
qe(this, e, t), m(this, e, (r) => {
|
|
2746
2746
|
this.i._attachUintVectorListener(r);
|
|
2747
2747
|
});
|
|
2748
2748
|
}
|
|
@@ -2752,7 +2752,7 @@ const D1 = /* @__PURE__ */ function(e) {
|
|
|
2752
2752
|
});
|
|
2753
2753
|
}
|
|
2754
2754
|
attachDoubleVectorListener(e, t) {
|
|
2755
|
-
|
|
2755
|
+
qe(this, e, t), m(this, e, (r) => {
|
|
2756
2756
|
this.i._attachDoubleVectorListener(r);
|
|
2757
2757
|
});
|
|
2758
2758
|
}
|
|
@@ -2762,7 +2762,7 @@ const D1 = /* @__PURE__ */ function(e) {
|
|
|
2762
2762
|
});
|
|
2763
2763
|
}
|
|
2764
2764
|
attachFloatVectorListener(e, t) {
|
|
2765
|
-
|
|
2765
|
+
qe(this, e, t), m(this, e, (r) => {
|
|
2766
2766
|
this.i._attachFloatVectorListener(r);
|
|
2767
2767
|
});
|
|
2768
2768
|
}
|
|
@@ -2772,7 +2772,7 @@ const D1 = /* @__PURE__ */ function(e) {
|
|
|
2772
2772
|
});
|
|
2773
2773
|
}
|
|
2774
2774
|
attachStringVectorListener(e, t) {
|
|
2775
|
-
|
|
2775
|
+
qe(this, e, t), m(this, e, (r) => {
|
|
2776
2776
|
this.i._attachStringVectorListener(r);
|
|
2777
2777
|
});
|
|
2778
2778
|
}
|
|
@@ -2782,7 +2782,7 @@ const D1 = /* @__PURE__ */ function(e) {
|
|
|
2782
2782
|
});
|
|
2783
2783
|
}
|
|
2784
2784
|
attachProtoVectorListener(e, t, r) {
|
|
2785
|
-
|
|
2785
|
+
qe(this, e, t), m(this, e, (n) => {
|
|
2786
2786
|
this.i._attachProtoVectorListener(n, r || !1);
|
|
2787
2787
|
});
|
|
2788
2788
|
}
|
|
@@ -2805,7 +2805,7 @@ const D1 = /* @__PURE__ */ function(e) {
|
|
|
2805
2805
|
}
|
|
2806
2806
|
pa(e, t, r) {
|
|
2807
2807
|
m(this, t, (n) => {
|
|
2808
|
-
const [s, i] =
|
|
2808
|
+
const [s, i] = wi(this, e, n);
|
|
2809
2809
|
this.ga._addBoundTextureAsImageToStream(n, s, i, r);
|
|
2810
2810
|
});
|
|
2811
2811
|
}
|
|
@@ -2815,12 +2815,12 @@ const D1 = /* @__PURE__ */ function(e) {
|
|
|
2815
2815
|
});
|
|
2816
2816
|
}
|
|
2817
2817
|
aa(e, t) {
|
|
2818
|
-
|
|
2818
|
+
qe(this, e, t), m(this, e, (r) => {
|
|
2819
2819
|
this.ga._attachImageVectorListener(r);
|
|
2820
2820
|
});
|
|
2821
2821
|
}
|
|
2822
2822
|
}));
|
|
2823
|
-
var Li, Te = class extends
|
|
2823
|
+
var Li, Te = class extends B1 {
|
|
2824
2824
|
};
|
|
2825
2825
|
async function A(e, t, r) {
|
|
2826
2826
|
return async function(n, s, i, o) {
|
|
@@ -2840,8 +2840,8 @@ function Ca(e, t, r, n) {
|
|
|
2840
2840
|
if (r != null && r.rotationDegrees) {
|
|
2841
2841
|
if ((r == null ? void 0 : r.rotationDegrees) % 90 != 0) throw Error("Expected rotation to be a multiple of 90°.");
|
|
2842
2842
|
if (y(i, 5, -Math.PI * r.rotationDegrees / 180), (r == null ? void 0 : r.rotationDegrees) % 180 != 0) {
|
|
2843
|
-
const [o, a] =
|
|
2844
|
-
r =
|
|
2843
|
+
const [o, a] = Ma(t);
|
|
2844
|
+
r = B(i, 3) * a / o, s = B(i, 4) * o / a, y(i, 4, r), y(i, 3, s);
|
|
2845
2845
|
}
|
|
2846
2846
|
}
|
|
2847
2847
|
e.g.addProtoToStream(i.g(), "mediapipe.NormalizedRect", e.U, n);
|
|
@@ -2858,13 +2858,13 @@ function Ce(e, t, r, n) {
|
|
|
2858
2858
|
if (!((s = e.baseOptions) != null && s.g())) throw Error("Task is not initialized with video mode. 'runningMode' must be set to 'VIDEO'.");
|
|
2859
2859
|
Ca(e, t, r, n);
|
|
2860
2860
|
}
|
|
2861
|
-
function
|
|
2861
|
+
function xt(e, t, r, n) {
|
|
2862
2862
|
var s = t.data;
|
|
2863
2863
|
const i = t.width, o = i * (t = t.height);
|
|
2864
2864
|
if ((s instanceof Uint8Array || s instanceof Float32Array) && s.length !== o) throw Error("Unsupported channel count: " + s.length / o);
|
|
2865
|
-
return e = new
|
|
2865
|
+
return e = new Y([s], r, !1, e.g.i.canvas, e.P, i, t), n ? e.clone() : e;
|
|
2866
2866
|
}
|
|
2867
|
-
var
|
|
2867
|
+
var pe = class extends kn {
|
|
2868
2868
|
constructor(e, t, r, n) {
|
|
2869
2869
|
super(e), this.g = e, this.X = t, this.U = r, this.oa = n, this.P = new Oa();
|
|
2870
2870
|
}
|
|
@@ -2876,10 +2876,10 @@ var de = class extends kn {
|
|
|
2876
2876
|
this.P.close(), super.close();
|
|
2877
2877
|
}
|
|
2878
2878
|
};
|
|
2879
|
-
|
|
2880
|
-
var
|
|
2879
|
+
pe.prototype.close = pe.prototype.close;
|
|
2880
|
+
var ye = class extends pe {
|
|
2881
2881
|
constructor(e, t) {
|
|
2882
|
-
super(new Te(e, t), "image_in", "norm_rect_in", !1), this.j = { detections: [] }, v(e = this.h = new
|
|
2882
|
+
super(new Te(e, t), "image_in", "norm_rect_in", !1), this.j = { detections: [] }, v(e = this.h = new Kr(), 0, 1, t = new C()), y(this.h, 2, 0.5), y(this.h, 3, 0.3);
|
|
2883
2883
|
}
|
|
2884
2884
|
get baseOptions() {
|
|
2885
2885
|
return k(this.h, C, 1);
|
|
@@ -2897,12 +2897,12 @@ var me = class extends de {
|
|
|
2897
2897
|
return this.j = { detections: [] }, Ce(this, e, r, t), this.j;
|
|
2898
2898
|
}
|
|
2899
2899
|
m() {
|
|
2900
|
-
var e = new
|
|
2900
|
+
var e = new me();
|
|
2901
2901
|
R(e, "image_in"), R(e, "norm_rect_in"), S(e, "detections");
|
|
2902
|
-
const t = new
|
|
2902
|
+
const t = new ge();
|
|
2903
2903
|
Re(t, v1, this.h);
|
|
2904
2904
|
const r = new se();
|
|
2905
|
-
|
|
2905
|
+
fe(r, 2, "mediapipe.tasks.vision.face_detector.FaceDetectorGraph"), x(r, "IMAGE:image_in"), x(r, "NORM_RECT:norm_rect_in"), E(r, "DETECTIONS:detections"), r.o(t), Ae(e, r), this.g.attachProtoVectorListener("detections", (n, s) => {
|
|
2906
2906
|
for (const i of n) n = ea(i), this.j.detections.push(Ta(n));
|
|
2907
2907
|
d(this, s);
|
|
2908
2908
|
}), this.g.attachEmptyPacketListener("detections", (n) => {
|
|
@@ -2910,20 +2910,20 @@ var me = class extends de {
|
|
|
2910
2910
|
}), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
2911
2911
|
}
|
|
2912
2912
|
};
|
|
2913
|
-
|
|
2914
|
-
return A(
|
|
2915
|
-
},
|
|
2916
|
-
return A(
|
|
2917
|
-
},
|
|
2918
|
-
return A(
|
|
2913
|
+
ye.prototype.detectForVideo = ye.prototype.G, ye.prototype.detect = ye.prototype.F, ye.prototype.setOptions = ye.prototype.o, ye.createFromModelPath = async function(e, t) {
|
|
2914
|
+
return A(ye, e, { baseOptions: { modelAssetPath: t } });
|
|
2915
|
+
}, ye.createFromModelBuffer = function(e, t) {
|
|
2916
|
+
return A(ye, e, { baseOptions: { modelAssetBuffer: t } });
|
|
2917
|
+
}, ye.createFromOptions = function(e, t) {
|
|
2918
|
+
return A(ye, e, t);
|
|
2919
2919
|
};
|
|
2920
|
-
var bs = Se([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]), Es = Se([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]), ws = Se([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), Ba = Se([474, 475], [475, 476], [476, 477], [477, 474]), As = Se([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]), ks = Se([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), Da = Se([469, 470], [470, 471], [471, 472], [472, 469]), Ss = Se([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]), ja = [...bs, ...Es, ...ws, ...As, ...ks, ...Ss], Ua = Se([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]);
|
|
2920
|
+
var bs = Se([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]), ws = Se([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]), Es = Se([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), Da = Se([474, 475], [475, 476], [476, 477], [477, 474]), As = Se([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]), ks = Se([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), Ba = Se([469, 470], [470, 471], [471, 472], [472, 469]), Ss = Se([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]), ja = [...bs, ...ws, ...Es, ...As, ...ks, ...Ss], Ua = Se([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]);
|
|
2921
2921
|
function Pi(e) {
|
|
2922
2922
|
e.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] };
|
|
2923
2923
|
}
|
|
2924
|
-
var O = class extends
|
|
2924
|
+
var O = class extends pe {
|
|
2925
2925
|
constructor(e, t) {
|
|
2926
|
-
super(new Te(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, v(e = this.h = new ca(), 0, 1, t = new C()), this.A = new aa(), v(this.h, 0, 3, this.A), this.u = new
|
|
2926
|
+
super(new Te(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, v(e = this.h = new ca(), 0, 1, t = new C()), this.A = new aa(), v(this.h, 0, 3, this.A), this.u = new Kr(), v(this.h, 0, 2, this.u), Ve(this.u, 4, 1), y(this.u, 2, 0.5), y(this.A, 2, 0.5), y(this.h, 4, 0.5);
|
|
2927
2927
|
}
|
|
2928
2928
|
get baseOptions() {
|
|
2929
2929
|
return k(this.h, C, 1);
|
|
@@ -2941,23 +2941,23 @@ var O = class extends de {
|
|
|
2941
2941
|
return Pi(this), Ce(this, e, r, t), this.j;
|
|
2942
2942
|
}
|
|
2943
2943
|
m() {
|
|
2944
|
-
var e = new
|
|
2944
|
+
var e = new me();
|
|
2945
2945
|
R(e, "image_in"), R(e, "norm_rect"), S(e, "face_landmarks");
|
|
2946
|
-
const t = new
|
|
2947
|
-
Re(t,
|
|
2946
|
+
const t = new ge();
|
|
2947
|
+
Re(t, w1, this.h);
|
|
2948
2948
|
const r = new se();
|
|
2949
|
-
|
|
2949
|
+
fe(r, 2, "mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"), x(r, "IMAGE:image_in"), x(r, "NORM_RECT:norm_rect"), E(r, "NORM_LANDMARKS:face_landmarks"), r.o(t), Ae(e, r), this.g.attachProtoVectorListener("face_landmarks", (n, s) => {
|
|
2950
2950
|
for (const i of n) n = lr(i), this.j.faceLandmarks.push(zr(n));
|
|
2951
2951
|
d(this, s);
|
|
2952
2952
|
}), this.g.attachEmptyPacketListener("face_landmarks", (n) => {
|
|
2953
2953
|
d(this, n);
|
|
2954
|
-
}), this.outputFaceBlendshapes && (S(e, "blendshapes"),
|
|
2955
|
-
if (this.outputFaceBlendshapes) for (const i of n) n =
|
|
2954
|
+
}), this.outputFaceBlendshapes && (S(e, "blendshapes"), E(r, "BLENDSHAPES:blendshapes"), this.g.attachProtoVectorListener("blendshapes", (n, s) => {
|
|
2955
|
+
if (this.outputFaceBlendshapes) for (const i of n) n = qr(i), this.j.faceBlendshapes.push(ys(n.g() ?? []));
|
|
2956
2956
|
d(this, s);
|
|
2957
2957
|
}), this.g.attachEmptyPacketListener("blendshapes", (n) => {
|
|
2958
2958
|
d(this, n);
|
|
2959
|
-
})), this.outputFacialTransformationMatrixes && (S(e, "face_geometry"),
|
|
2960
|
-
if (this.outputFacialTransformationMatrixes) for (const i of n) (n = k(n = b1(i), l1, 2)) && this.j.facialTransformationMatrixes.push({ rows:
|
|
2959
|
+
})), this.outputFacialTransformationMatrixes && (S(e, "face_geometry"), E(r, "FACE_GEOMETRY:face_geometry"), this.g.attachProtoVectorListener("face_geometry", (n, s) => {
|
|
2960
|
+
if (this.outputFacialTransformationMatrixes) for (const i of n) (n = k(n = b1(i), l1, 2)) && this.j.facialTransformationMatrixes.push({ rows: we(n, 1) ?? 0 ?? 0, columns: we(n, 2) ?? 0 ?? 0, data: tt(n, 3, Ie, et()).slice() ?? [] });
|
|
2961
2961
|
d(this, s);
|
|
2962
2962
|
}), this.g.attachEmptyPacketListener("face_geometry", (n) => {
|
|
2963
2963
|
d(this, n);
|
|
@@ -2970,27 +2970,27 @@ O.prototype.detectForVideo = O.prototype.G, O.prototype.detect = O.prototype.F,
|
|
|
2970
2970
|
return A(O, e, { baseOptions: { modelAssetBuffer: t } });
|
|
2971
2971
|
}, O.createFromOptions = function(e, t) {
|
|
2972
2972
|
return A(O, e, t);
|
|
2973
|
-
}, O.FACE_LANDMARKS_LIPS = bs, O.FACE_LANDMARKS_LEFT_EYE =
|
|
2973
|
+
}, O.FACE_LANDMARKS_LIPS = bs, O.FACE_LANDMARKS_LEFT_EYE = ws, O.FACE_LANDMARKS_LEFT_EYEBROW = Es, O.FACE_LANDMARKS_LEFT_IRIS = Da, O.FACE_LANDMARKS_RIGHT_EYE = As, O.FACE_LANDMARKS_RIGHT_EYEBROW = ks, O.FACE_LANDMARKS_RIGHT_IRIS = Ba, O.FACE_LANDMARKS_FACE_OVAL = Ss, O.FACE_LANDMARKS_CONTOURS = ja, O.FACE_LANDMARKS_TESSELATION = Ua;
|
|
2974
2974
|
var Ts = Se([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]);
|
|
2975
|
-
function
|
|
2975
|
+
function Mi(e) {
|
|
2976
2976
|
e.gestures = [], e.landmarks = [], e.worldLandmarks = [], e.handedness = [];
|
|
2977
2977
|
}
|
|
2978
|
-
function
|
|
2978
|
+
function Ii(e) {
|
|
2979
2979
|
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 };
|
|
2980
2980
|
}
|
|
2981
2981
|
function xi(e, t = !0) {
|
|
2982
2982
|
const r = [];
|
|
2983
2983
|
for (const s of e) {
|
|
2984
|
-
var n =
|
|
2984
|
+
var n = qr(s);
|
|
2985
2985
|
e = [];
|
|
2986
|
-
for (const i of n.g()) n = t &&
|
|
2986
|
+
for (const i of n.g()) n = t && we(i, 1) != null ? we(i, 1) ?? 0 : -1, e.push({ score: B(i, 2) ?? 0, index: n, categoryName: Q(I(i, 3)) ?? "" ?? "", displayName: Q(I(i, 4)) ?? "" ?? "" });
|
|
2987
2987
|
r.push(e);
|
|
2988
2988
|
}
|
|
2989
2989
|
return r;
|
|
2990
2990
|
}
|
|
2991
|
-
var
|
|
2991
|
+
var oe = class extends pe {
|
|
2992
2992
|
constructor(e, t) {
|
|
2993
|
-
super(new Te(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], v(e = this.j = new la(), 0, 1, t = new C()), this.u = new ds(), v(this.j, 0, 2, this.u), this.D = new fs(), v(this.u, 0, 3, this.D), this.A = new ha(), v(this.u, 0, 2, this.A), this.h = new
|
|
2993
|
+
super(new Te(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], v(e = this.j = new la(), 0, 1, t = new C()), this.u = new ds(), v(this.j, 0, 2, this.u), this.D = new fs(), v(this.u, 0, 3, this.D), this.A = new ha(), v(this.u, 0, 2, this.A), this.h = new E1(), v(this.j, 0, 3, this.h), y(this.A, 2, 0.5), y(this.u, 4, 0.5), y(this.D, 2, 0.5);
|
|
2994
2994
|
}
|
|
2995
2995
|
get baseOptions() {
|
|
2996
2996
|
return k(this.j, C, 1);
|
|
@@ -3001,28 +3001,28 @@ var ie = class extends de {
|
|
|
3001
3001
|
o(e) {
|
|
3002
3002
|
var s, i, o, a;
|
|
3003
3003
|
if (Ve(this.A, 3, e.numHands ?? 1), "minHandDetectionConfidence" in e && y(this.A, 2, e.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && y(this.u, 4, e.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in e && y(this.D, 2, e.minHandPresenceConfidence ?? 0.5), e.cannedGesturesClassifierOptions) {
|
|
3004
|
-
var t = new
|
|
3004
|
+
var t = new mt(), r = t, n = An(e.cannedGesturesClassifierOptions, (s = k(this.h, mt, 3)) == null ? void 0 : s.l());
|
|
3005
3005
|
v(r, 0, 2, n), v(this.h, 0, 3, t);
|
|
3006
|
-
} else e.cannedGesturesClassifierOptions === void 0 && ((i = k(this.h,
|
|
3007
|
-
return e.customGesturesClassifierOptions ? (v(r = t = new
|
|
3006
|
+
} else e.cannedGesturesClassifierOptions === void 0 && ((i = k(this.h, mt, 3)) == null || i.g());
|
|
3007
|
+
return e.customGesturesClassifierOptions ? (v(r = t = new mt(), 0, 2, n = An(e.customGesturesClassifierOptions, (o = k(this.h, mt, 4)) == null ? void 0 : o.l())), v(this.h, 0, 4, t)) : e.customGesturesClassifierOptions === void 0 && ((a = k(this.h, mt, 4)) == null || a.g()), this.l(e);
|
|
3008
3008
|
}
|
|
3009
3009
|
Ha(e, t) {
|
|
3010
|
-
return
|
|
3010
|
+
return Mi(this), Le(this, e, t), Ii(this);
|
|
3011
3011
|
}
|
|
3012
3012
|
Ia(e, t, r) {
|
|
3013
|
-
return
|
|
3013
|
+
return Mi(this), Ce(this, e, r, t), Ii(this);
|
|
3014
3014
|
}
|
|
3015
3015
|
m() {
|
|
3016
|
-
var e = new
|
|
3016
|
+
var e = new me();
|
|
3017
3017
|
R(e, "image_in"), R(e, "norm_rect"), S(e, "hand_gestures"), S(e, "hand_landmarks"), S(e, "world_hand_landmarks"), S(e, "handedness");
|
|
3018
|
-
const t = new
|
|
3018
|
+
const t = new ge();
|
|
3019
3019
|
Re(t, A1, this.j);
|
|
3020
3020
|
const r = new se();
|
|
3021
|
-
|
|
3021
|
+
fe(r, 2, "mediapipe.tasks.vision.gesture_recognizer.GestureRecognizerGraph"), x(r, "IMAGE:image_in"), x(r, "NORM_RECT:norm_rect"), E(r, "HAND_GESTURES:hand_gestures"), E(r, "LANDMARKS:hand_landmarks"), E(r, "WORLD_LANDMARKS:world_hand_landmarks"), E(r, "HANDEDNESS:handedness"), r.o(t), Ae(e, r), this.g.attachProtoVectorListener("hand_landmarks", (n, s) => {
|
|
3022
3022
|
for (const i of n) {
|
|
3023
3023
|
n = lr(i);
|
|
3024
3024
|
const o = [];
|
|
3025
|
-
for (const a of Ue(n, ra, 1)) o.push({ x:
|
|
3025
|
+
for (const a of Ue(n, ra, 1)) o.push({ x: B(a, 1) ?? 0, y: B(a, 2) ?? 0, z: B(a, 3) ?? 0, visibility: B(a, 4) ?? 0 });
|
|
3026
3026
|
this.landmarks.push(o);
|
|
3027
3027
|
}
|
|
3028
3028
|
d(this, s);
|
|
@@ -3030,9 +3030,9 @@ var ie = class extends de {
|
|
|
3030
3030
|
d(this, n);
|
|
3031
3031
|
}), this.g.attachProtoVectorListener("world_hand_landmarks", (n, s) => {
|
|
3032
3032
|
for (const i of n) {
|
|
3033
|
-
n =
|
|
3033
|
+
n = vt(i);
|
|
3034
3034
|
const o = [];
|
|
3035
|
-
for (const a of Ue(n, ta, 1)) o.push({ x:
|
|
3035
|
+
for (const a of Ue(n, ta, 1)) o.push({ x: B(a, 1) ?? 0, y: B(a, 2) ?? 0, z: B(a, 3) ?? 0, visibility: B(a, 4) ?? 0 });
|
|
3036
3036
|
this.worldLandmarks.push(o);
|
|
3037
3037
|
}
|
|
3038
3038
|
d(this, s);
|
|
@@ -3052,14 +3052,14 @@ var ie = class extends de {
|
|
|
3052
3052
|
function Oi(e) {
|
|
3053
3053
|
return { landmarks: e.landmarks, worldLandmarks: e.worldLandmarks, handednesses: e.handedness, handedness: e.handedness };
|
|
3054
3054
|
}
|
|
3055
|
-
|
|
3056
|
-
return A(
|
|
3057
|
-
},
|
|
3058
|
-
return A(
|
|
3059
|
-
},
|
|
3060
|
-
return A(
|
|
3061
|
-
},
|
|
3062
|
-
var ne = class extends
|
|
3055
|
+
oe.prototype.recognizeForVideo = oe.prototype.Ia, oe.prototype.recognize = oe.prototype.Ha, oe.prototype.setOptions = oe.prototype.o, oe.createFromModelPath = function(e, t) {
|
|
3056
|
+
return A(oe, e, { baseOptions: { modelAssetPath: t } });
|
|
3057
|
+
}, oe.createFromModelBuffer = function(e, t) {
|
|
3058
|
+
return A(oe, e, { baseOptions: { modelAssetBuffer: t } });
|
|
3059
|
+
}, oe.createFromOptions = function(e, t) {
|
|
3060
|
+
return A(oe, e, t);
|
|
3061
|
+
}, oe.HAND_CONNECTIONS = Ts;
|
|
3062
|
+
var ne = class extends pe {
|
|
3063
3063
|
constructor(e, t) {
|
|
3064
3064
|
super(new Te(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], v(e = this.h = new ds(), 0, 1, t = new C()), this.u = new fs(), v(this.h, 0, 3, this.u), this.j = new ha(), v(this.h, 0, 2, this.j), Ve(this.j, 3, 1), y(this.j, 2, 0.5), y(this.u, 2, 0.5), y(this.h, 4, 0.5);
|
|
3065
3065
|
}
|
|
@@ -3079,18 +3079,18 @@ var ne = class extends de {
|
|
|
3079
3079
|
return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Ce(this, e, r, t), Oi(this);
|
|
3080
3080
|
}
|
|
3081
3081
|
m() {
|
|
3082
|
-
var e = new
|
|
3082
|
+
var e = new me();
|
|
3083
3083
|
R(e, "image_in"), R(e, "norm_rect"), S(e, "hand_landmarks"), S(e, "world_hand_landmarks"), S(e, "handedness");
|
|
3084
|
-
const t = new
|
|
3084
|
+
const t = new ge();
|
|
3085
3085
|
Re(t, k1, this.h);
|
|
3086
3086
|
const r = new se();
|
|
3087
|
-
|
|
3087
|
+
fe(r, 2, "mediapipe.tasks.vision.hand_landmarker.HandLandmarkerGraph"), x(r, "IMAGE:image_in"), x(r, "NORM_RECT:norm_rect"), E(r, "LANDMARKS:hand_landmarks"), E(r, "WORLD_LANDMARKS:world_hand_landmarks"), E(r, "HANDEDNESS:handedness"), r.o(t), Ae(e, r), this.g.attachProtoVectorListener("hand_landmarks", (n, s) => {
|
|
3088
3088
|
for (const i of n) n = lr(i), this.landmarks.push(zr(n));
|
|
3089
3089
|
d(this, s);
|
|
3090
3090
|
}), this.g.attachEmptyPacketListener("hand_landmarks", (n) => {
|
|
3091
3091
|
d(this, n);
|
|
3092
3092
|
}), this.g.attachProtoVectorListener("world_hand_landmarks", (n, s) => {
|
|
3093
|
-
for (const i of n) n =
|
|
3093
|
+
for (const i of n) n = vt(i), this.worldLandmarks.push(Qt(n));
|
|
3094
3094
|
d(this, s);
|
|
3095
3095
|
}), this.g.attachEmptyPacketListener("world_hand_landmarks", (n) => {
|
|
3096
3096
|
d(this, n);
|
|
@@ -3098,9 +3098,9 @@ var ne = class extends de {
|
|
|
3098
3098
|
var i = this.handedness, o = i.push;
|
|
3099
3099
|
const a = [];
|
|
3100
3100
|
for (const c of n) {
|
|
3101
|
-
n =
|
|
3101
|
+
n = qr(c);
|
|
3102
3102
|
const l = [];
|
|
3103
|
-
for (const u of n.g()) l.push({ score:
|
|
3103
|
+
for (const u of n.g()) l.push({ score: B(u, 2) ?? 0, index: we(u, 1) ?? 0 ?? -1, categoryName: Q(I(u, 3)) ?? "" ?? "", displayName: Q(I(u, 4)) ?? "" ?? "" });
|
|
3104
3104
|
a.push(l);
|
|
3105
3105
|
}
|
|
3106
3106
|
o.call(i, ...a), d(this, s);
|
|
@@ -3131,9 +3131,9 @@ function Ri(e) {
|
|
|
3131
3131
|
function yr(e, t) {
|
|
3132
3132
|
e = lr(e), t.push(zr(e));
|
|
3133
3133
|
}
|
|
3134
|
-
var
|
|
3134
|
+
var M = class extends pe {
|
|
3135
3135
|
constructor(e, t) {
|
|
3136
|
-
super(new Te(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, v(e = this.j = new ma(), 0, 1, t = new C()), this.I = new fs(), v(this.j, 0, 2, this.I), this.W = new S1(), v(this.j, 0, 3, this.W), this.u = new
|
|
3136
|
+
super(new Te(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, v(e = this.j = new ma(), 0, 1, t = new C()), this.I = new fs(), v(this.j, 0, 2, this.I), this.W = new S1(), v(this.j, 0, 3, this.W), this.u = new Kr(), v(this.j, 0, 4, this.u), this.O = new aa(), v(this.j, 0, 5, this.O), this.A = new pa(), v(this.j, 0, 6, this.A), this.M = new ga(), v(this.j, 0, 7, this.M), y(this.u, 2, 0.5), y(this.u, 3, 0.3), y(this.O, 2, 0.5), y(this.A, 2, 0.5), y(this.A, 3, 0.3), y(this.M, 2, 0.5), y(this.I, 2, 0.5);
|
|
3137
3137
|
}
|
|
3138
3138
|
get baseOptions() {
|
|
3139
3139
|
return k(this.j, C, 1);
|
|
@@ -3153,37 +3153,37 @@ var I = class extends de {
|
|
|
3153
3153
|
return this.D = typeof r == "function" ? r : n, Fi(this), Ce(this, e, s, t), Ri(this);
|
|
3154
3154
|
}
|
|
3155
3155
|
m() {
|
|
3156
|
-
var e = new
|
|
3156
|
+
var e = new me();
|
|
3157
3157
|
R(e, "input_frames_image"), S(e, "pose_landmarks"), S(e, "pose_world_landmarks"), S(e, "face_landmarks"), S(e, "left_hand_landmarks"), S(e, "left_hand_world_landmarks"), S(e, "right_hand_landmarks"), S(e, "right_hand_world_landmarks");
|
|
3158
|
-
const t = new
|
|
3159
|
-
|
|
3158
|
+
const t = new ge(), r = new si();
|
|
3159
|
+
fe(r, 1, "type.googleapis.com/mediapipe.tasks.vision.holistic_landmarker.proto.HolisticLandmarkerGraphOptions"), function(s, i) {
|
|
3160
3160
|
if (i != null) if (Array.isArray(i)) T(s, 2, Fr(i, 0, nr));
|
|
3161
3161
|
else {
|
|
3162
3162
|
if (!(typeof i == "string" || i instanceof xe || Fn(i))) throw Error("invalid value in Any.value field: " + i + " expected a ByteString, a base64 encoded string, a Uint8Array or a jspb array");
|
|
3163
|
-
|
|
3163
|
+
Ke(s, 2, Nn(i, !1), at());
|
|
3164
3164
|
}
|
|
3165
3165
|
}(r, this.j.g());
|
|
3166
3166
|
const n = new se();
|
|
3167
|
-
|
|
3167
|
+
fe(n, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), $n(n, 8, si, r), x(n, "IMAGE:input_frames_image"), E(n, "POSE_LANDMARKS:pose_landmarks"), E(n, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), E(n, "FACE_LANDMARKS:face_landmarks"), E(n, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), E(n, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), E(n, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), E(n, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), n.o(t), Ae(e, n), Yr(this, e), this.g.attachProtoListener("pose_landmarks", (s, i) => {
|
|
3168
3168
|
yr(s, this.h.poseLandmarks), d(this, i);
|
|
3169
3169
|
}), this.g.attachEmptyPacketListener("pose_landmarks", (s) => {
|
|
3170
3170
|
d(this, s);
|
|
3171
3171
|
}), this.g.attachProtoListener("pose_world_landmarks", (s, i) => {
|
|
3172
3172
|
var o = this.h.poseWorldLandmarks;
|
|
3173
|
-
s =
|
|
3173
|
+
s = vt(s), o.push(Qt(s)), d(this, i);
|
|
3174
3174
|
}), this.g.attachEmptyPacketListener("pose_world_landmarks", (s) => {
|
|
3175
3175
|
d(this, s);
|
|
3176
|
-
}), this.outputPoseSegmentationMasks && (
|
|
3177
|
-
this.h.poseSegmentationMasks = [
|
|
3176
|
+
}), this.outputPoseSegmentationMasks && (E(n, "POSE_SEGMENTATION_MASK:pose_segmentation_mask"), Mt(this, "pose_segmentation_mask"), this.g.Z("pose_segmentation_mask", (s, i) => {
|
|
3177
|
+
this.h.poseSegmentationMasks = [xt(this, s, !0, !this.D)], d(this, i);
|
|
3178
3178
|
}), this.g.attachEmptyPacketListener("pose_segmentation_mask", (s) => {
|
|
3179
3179
|
this.h.poseSegmentationMasks = [], d(this, s);
|
|
3180
3180
|
})), this.g.attachProtoListener("face_landmarks", (s, i) => {
|
|
3181
3181
|
yr(s, this.h.faceLandmarks), d(this, i);
|
|
3182
3182
|
}), this.g.attachEmptyPacketListener("face_landmarks", (s) => {
|
|
3183
3183
|
d(this, s);
|
|
3184
|
-
}), this.outputFaceBlendshapes && (S(e, "extra_blendshapes"),
|
|
3184
|
+
}), this.outputFaceBlendshapes && (S(e, "extra_blendshapes"), E(n, "FACE_BLENDSHAPES:extra_blendshapes"), this.g.attachProtoListener("extra_blendshapes", (s, i) => {
|
|
3185
3185
|
var o = this.h.faceBlendshapes;
|
|
3186
|
-
this.outputFaceBlendshapes && (s =
|
|
3186
|
+
this.outputFaceBlendshapes && (s = qr(s), o.push(ys(s.g() ?? []))), d(this, i);
|
|
3187
3187
|
}), this.g.attachEmptyPacketListener("extra_blendshapes", (s) => {
|
|
3188
3188
|
d(this, s);
|
|
3189
3189
|
})), this.g.attachProtoListener("left_hand_landmarks", (s, i) => {
|
|
@@ -3192,7 +3192,7 @@ var I = class extends de {
|
|
|
3192
3192
|
d(this, s);
|
|
3193
3193
|
}), this.g.attachProtoListener("left_hand_world_landmarks", (s, i) => {
|
|
3194
3194
|
var o = this.h.leftHandWorldLandmarks;
|
|
3195
|
-
s =
|
|
3195
|
+
s = vt(s), o.push(Qt(s)), d(this, i);
|
|
3196
3196
|
}), this.g.attachEmptyPacketListener("left_hand_world_landmarks", (s) => {
|
|
3197
3197
|
d(this, s);
|
|
3198
3198
|
}), this.g.attachProtoListener("right_hand_landmarks", (s, i) => {
|
|
@@ -3201,20 +3201,20 @@ var I = class extends de {
|
|
|
3201
3201
|
d(this, s);
|
|
3202
3202
|
}), this.g.attachProtoListener("right_hand_world_landmarks", (s, i) => {
|
|
3203
3203
|
var o = this.h.rightHandWorldLandmarks;
|
|
3204
|
-
s =
|
|
3204
|
+
s = vt(s), o.push(Qt(s)), d(this, i);
|
|
3205
3205
|
}), this.g.attachEmptyPacketListener("right_hand_world_landmarks", (s) => {
|
|
3206
3206
|
d(this, s);
|
|
3207
3207
|
}), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
3208
3208
|
}
|
|
3209
3209
|
};
|
|
3210
|
-
|
|
3211
|
-
return A(
|
|
3212
|
-
},
|
|
3213
|
-
return A(
|
|
3214
|
-
},
|
|
3215
|
-
return A(
|
|
3216
|
-
},
|
|
3217
|
-
var
|
|
3210
|
+
M.prototype.detectForVideo = M.prototype.G, M.prototype.detect = M.prototype.F, M.prototype.setOptions = M.prototype.o, M.createFromModelPath = function(e, t) {
|
|
3211
|
+
return A(M, e, { baseOptions: { modelAssetPath: t } });
|
|
3212
|
+
}, M.createFromModelBuffer = function(e, t) {
|
|
3213
|
+
return A(M, e, { baseOptions: { modelAssetBuffer: t } });
|
|
3214
|
+
}, M.createFromOptions = function(e, t) {
|
|
3215
|
+
return A(M, e, t);
|
|
3216
|
+
}, M.HAND_CONNECTIONS = Ts, M.POSE_CONNECTIONS = Va, M.FACE_LANDMARKS_LIPS = bs, M.FACE_LANDMARKS_LEFT_EYE = ws, M.FACE_LANDMARKS_LEFT_EYEBROW = Es, M.FACE_LANDMARKS_LEFT_IRIS = Da, M.FACE_LANDMARKS_RIGHT_EYE = As, M.FACE_LANDMARKS_RIGHT_EYEBROW = ks, M.FACE_LANDMARKS_RIGHT_IRIS = Ba, M.FACE_LANDMARKS_FACE_OVAL = Ss, M.FACE_LANDMARKS_CONTOURS = ja, M.FACE_LANDMARKS_TESSELATION = Ua;
|
|
3217
|
+
var _e = class extends pe {
|
|
3218
3218
|
constructor(e, t) {
|
|
3219
3219
|
super(new Te(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, v(e = this.h = new ya(), 0, 1, t = new C());
|
|
3220
3220
|
}
|
|
@@ -3234,26 +3234,26 @@ var ye = class extends de {
|
|
|
3234
3234
|
return this.j = { classifications: [] }, Ce(this, e, r, t), this.j;
|
|
3235
3235
|
}
|
|
3236
3236
|
m() {
|
|
3237
|
-
var e = new
|
|
3237
|
+
var e = new me();
|
|
3238
3238
|
R(e, "input_image"), R(e, "norm_rect"), S(e, "classifications");
|
|
3239
|
-
const t = new
|
|
3239
|
+
const t = new ge();
|
|
3240
3240
|
Re(t, T1, this.h);
|
|
3241
3241
|
const r = new se();
|
|
3242
|
-
|
|
3242
|
+
fe(r, 2, "mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"), x(r, "IMAGE:input_image"), x(r, "NORM_RECT:norm_rect"), E(r, "CLASSIFICATIONS:classifications"), r.o(t), Ae(e, r), this.g.attachProtoListener("classifications", (n, s) => {
|
|
3243
3243
|
this.j = O1(p1(n)), d(this, s);
|
|
3244
3244
|
}), this.g.attachEmptyPacketListener("classifications", (n) => {
|
|
3245
3245
|
d(this, n);
|
|
3246
3246
|
}), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
3247
3247
|
}
|
|
3248
3248
|
};
|
|
3249
|
-
|
|
3250
|
-
return A(
|
|
3251
|
-
},
|
|
3252
|
-
return A(
|
|
3253
|
-
},
|
|
3254
|
-
return A(
|
|
3249
|
+
_e.prototype.classifyForVideo = _e.prototype.ta, _e.prototype.classify = _e.prototype.sa, _e.prototype.setOptions = _e.prototype.o, _e.createFromModelPath = function(e, t) {
|
|
3250
|
+
return A(_e, e, { baseOptions: { modelAssetPath: t } });
|
|
3251
|
+
}, _e.createFromModelBuffer = function(e, t) {
|
|
3252
|
+
return A(_e, e, { baseOptions: { modelAssetBuffer: t } });
|
|
3253
|
+
}, _e.createFromOptions = function(e, t) {
|
|
3254
|
+
return A(_e, e, t);
|
|
3255
3255
|
};
|
|
3256
|
-
var
|
|
3256
|
+
var ae = class extends pe {
|
|
3257
3257
|
constructor(e, t) {
|
|
3258
3258
|
super(new Te(e, t), "image_in", "norm_rect", !0), this.h = new _a(), this.embeddings = { embeddings: [] }, v(e = this.h, 0, 1, t = new C());
|
|
3259
3259
|
}
|
|
@@ -3274,18 +3274,18 @@ var oe = class extends de {
|
|
|
3274
3274
|
return Ce(this, e, r, t), this.embeddings;
|
|
3275
3275
|
}
|
|
3276
3276
|
m() {
|
|
3277
|
-
var e = new
|
|
3277
|
+
var e = new me();
|
|
3278
3278
|
R(e, "image_in"), R(e, "norm_rect"), S(e, "embeddings_out");
|
|
3279
|
-
const t = new
|
|
3279
|
+
const t = new ge();
|
|
3280
3280
|
Re(t, L1, this.h);
|
|
3281
3281
|
const r = new se();
|
|
3282
|
-
|
|
3282
|
+
fe(r, 2, "mediapipe.tasks.vision.image_embedder.ImageEmbedderGraph"), x(r, "IMAGE:image_in"), x(r, "NORM_RECT:norm_rect"), E(r, "EMBEDDINGS:embeddings_out"), r.o(t), Ae(e, r), this.g.attachProtoListener("embeddings_out", (n, s) => {
|
|
3283
3283
|
n = y1(n), this.embeddings = function(i) {
|
|
3284
3284
|
return { embeddings: Ue(i, m1, 1).map((o) => {
|
|
3285
3285
|
var l, u;
|
|
3286
|
-
const a = { headIndex:
|
|
3286
|
+
const a = { headIndex: we(o, 3) ?? 0 ?? -1, headName: Q(I(o, 4)) ?? "" ?? "" };
|
|
3287
3287
|
var c = o.v;
|
|
3288
|
-
return po(c, 0 | c[p], fi, sn(o, 1)) !== void 0 ? (o = tt(o = k(o, fi, sn(o, 1), void 0), 1,
|
|
3288
|
+
return po(c, 0 | c[p], fi, sn(o, 1)) !== void 0 ? (o = tt(o = k(o, fi, sn(o, 1), void 0), 1, Ie, et()), a.floatEmbedding = o.slice()) : (c = new Uint8Array(0), a.quantizedEmbedding = ((u = (l = k(o, g1, sn(o, 2), void 0)) == null ? void 0 : l.na()) == null ? void 0 : u.h()) ?? c), a;
|
|
3289
3289
|
}), timestampMs: Sa(yo(i)) };
|
|
3290
3290
|
}(n), d(this, s);
|
|
3291
3291
|
}), this.g.attachEmptyPacketListener("embeddings_out", (n) => {
|
|
@@ -3293,19 +3293,19 @@ var oe = class extends de {
|
|
|
3293
3293
|
}), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
3294
3294
|
}
|
|
3295
3295
|
};
|
|
3296
|
-
|
|
3296
|
+
ae.cosineSimilarity = function(e, t) {
|
|
3297
3297
|
if (e.floatEmbedding && t.floatEmbedding) e = vi(e.floatEmbedding, t.floatEmbedding);
|
|
3298
3298
|
else {
|
|
3299
3299
|
if (!e.quantizedEmbedding || !t.quantizedEmbedding) throw Error("Cannot compute cosine similarity between quantized and float embeddings.");
|
|
3300
3300
|
e = vi(_i(e.quantizedEmbedding), _i(t.quantizedEmbedding));
|
|
3301
3301
|
}
|
|
3302
3302
|
return e;
|
|
3303
|
-
},
|
|
3304
|
-
return A(
|
|
3305
|
-
},
|
|
3306
|
-
return A(
|
|
3307
|
-
},
|
|
3308
|
-
return A(
|
|
3303
|
+
}, ae.prototype.embedForVideo = ae.prototype.Aa, ae.prototype.embed = ae.prototype.za, ae.prototype.setOptions = ae.prototype.o, ae.createFromModelPath = function(e, t) {
|
|
3304
|
+
return A(ae, e, { baseOptions: { modelAssetPath: t } });
|
|
3305
|
+
}, ae.createFromModelBuffer = function(e, t) {
|
|
3306
|
+
return A(ae, e, { baseOptions: { modelAssetBuffer: t } });
|
|
3307
|
+
}, ae.createFromOptions = function(e, t) {
|
|
3308
|
+
return A(ae, e, t);
|
|
3309
3309
|
};
|
|
3310
3310
|
var Ln = class {
|
|
3311
3311
|
constructor(e, t, r) {
|
|
@@ -3322,10 +3322,10 @@ function j1(e) {
|
|
|
3322
3322
|
var r, n;
|
|
3323
3323
|
const t = function(s) {
|
|
3324
3324
|
return Ue(s, se, 1);
|
|
3325
|
-
}(e.ca()).filter((s) => (
|
|
3325
|
+
}(e.ca()).filter((s) => (Q(I(s, 1)) ?? "").includes("mediapipe.tasks.TensorsToSegmentationCalculator"));
|
|
3326
3326
|
if (e.u = [], t.length > 1) throw Error("The graph has more than one mediapipe.tasks.TensorsToSegmentationCalculator.");
|
|
3327
|
-
t.length === 1 && (((n = (r = k(t[0],
|
|
3328
|
-
e.u[Number(i)] =
|
|
3327
|
+
t.length === 1 && (((n = (r = k(t[0], ge, 7)) == null ? void 0 : r.j()) == null ? void 0 : n.g()) ?? /* @__PURE__ */ new Map()).forEach((s, i) => {
|
|
3328
|
+
e.u[Number(i)] = Q(I(s, 1)) ?? "";
|
|
3329
3329
|
});
|
|
3330
3330
|
}
|
|
3331
3331
|
function Ni(e) {
|
|
@@ -3341,7 +3341,7 @@ function Ci(e) {
|
|
|
3341
3341
|
}
|
|
3342
3342
|
}
|
|
3343
3343
|
Ln.prototype.close = Ln.prototype.close;
|
|
3344
|
-
var re = class extends
|
|
3344
|
+
var re = class extends pe {
|
|
3345
3345
|
constructor(e, t) {
|
|
3346
3346
|
super(new Te(e, t), "image_in", "norm_rect", !1), this.u = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new ms(), this.A = new va(), v(this.h, 0, 3, this.A), v(e = this.h, 0, 1, t = new C());
|
|
3347
3347
|
}
|
|
@@ -3369,20 +3369,20 @@ var re = class extends de {
|
|
|
3369
3369
|
return this.u;
|
|
3370
3370
|
}
|
|
3371
3371
|
m() {
|
|
3372
|
-
var e = new
|
|
3372
|
+
var e = new me();
|
|
3373
3373
|
R(e, "image_in"), R(e, "norm_rect");
|
|
3374
|
-
const t = new
|
|
3375
|
-
Re(t,
|
|
3374
|
+
const t = new ge();
|
|
3375
|
+
Re(t, wa, this.h);
|
|
3376
3376
|
const r = new se();
|
|
3377
|
-
|
|
3378
|
-
this.confidenceMasks = n.map((i) =>
|
|
3377
|
+
fe(r, 2, "mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"), x(r, "IMAGE:image_in"), x(r, "NORM_RECT:norm_rect"), r.o(t), Ae(e, r), Yr(this, e), this.outputConfidenceMasks && (S(e, "confidence_masks"), E(r, "CONFIDENCE_MASKS:confidence_masks"), Mt(this, "confidence_masks"), this.g.aa("confidence_masks", (n, s) => {
|
|
3378
|
+
this.confidenceMasks = n.map((i) => xt(this, i, !0, !this.j)), d(this, s);
|
|
3379
3379
|
}), this.g.attachEmptyPacketListener("confidence_masks", (n) => {
|
|
3380
3380
|
this.confidenceMasks = [], d(this, n);
|
|
3381
|
-
})), this.outputCategoryMask && (S(e, "category_mask"),
|
|
3382
|
-
this.categoryMask =
|
|
3381
|
+
})), this.outputCategoryMask && (S(e, "category_mask"), E(r, "CATEGORY_MASK:category_mask"), Mt(this, "category_mask"), this.g.Z("category_mask", (n, s) => {
|
|
3382
|
+
this.categoryMask = xt(this, n, !1, !this.j), d(this, s);
|
|
3383
3383
|
}), this.g.attachEmptyPacketListener("category_mask", (n) => {
|
|
3384
3384
|
this.categoryMask = void 0, d(this, n);
|
|
3385
|
-
})), S(e, "quality_scores"),
|
|
3385
|
+
})), S(e, "quality_scores"), E(r, "QUALITY_SCORES:quality_scores"), this.g.attachFloatVectorListener("quality_scores", (n, s) => {
|
|
3386
3386
|
this.qualityScores = n, d(this, s);
|
|
3387
3387
|
}), this.g.attachEmptyPacketListener("quality_scores", (n) => {
|
|
3388
3388
|
this.categoryMask = void 0, d(this, n);
|
|
@@ -3408,7 +3408,7 @@ var Pn = class {
|
|
|
3408
3408
|
}
|
|
3409
3409
|
};
|
|
3410
3410
|
Pn.prototype.close = Pn.prototype.close;
|
|
3411
|
-
var
|
|
3411
|
+
var Me = class extends pe {
|
|
3412
3412
|
constructor(e, t) {
|
|
3413
3413
|
super(new Te(e, t), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new ms(), this.u = new va(), v(this.h, 0, 3, this.u), v(e = this.h, 0, 1, t = new C());
|
|
3414
3414
|
}
|
|
@@ -3423,16 +3423,16 @@ var Ie = class extends de {
|
|
|
3423
3423
|
}
|
|
3424
3424
|
segment(e, t, r, n) {
|
|
3425
3425
|
const s = typeof r != "function" ? r : {};
|
|
3426
|
-
if (this.j = typeof r == "function" ? r : n, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, r = this.C + 1, n = new
|
|
3426
|
+
if (this.j = typeof r == "function" ? r : n, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, r = this.C + 1, n = new Ea(), t.keypoint && t.scribble) throw Error("Cannot provide both keypoint and scribble.");
|
|
3427
3427
|
if (t.keypoint) {
|
|
3428
3428
|
var i = new un();
|
|
3429
|
-
|
|
3429
|
+
Ke(i, 3, rr(!0), !1), Ke(i, 1, Xt(t.keypoint.x), 0), Ke(i, 2, Xt(t.keypoint.y), 0), $t(n, 1, En, i);
|
|
3430
3430
|
} else {
|
|
3431
3431
|
if (!t.scribble) throw Error("Must provide either a keypoint or a scribble.");
|
|
3432
3432
|
{
|
|
3433
|
-
const a = new
|
|
3434
|
-
for (i of t.scribble)
|
|
3435
|
-
$t(n, 2,
|
|
3433
|
+
const a = new M1();
|
|
3434
|
+
for (i of t.scribble) Ke(t = new un(), 3, rr(!0), !1), Ke(t, 1, Xt(i.x), 0), Ke(t, 2, Xt(i.y), 0), $n(a, 1, un, t);
|
|
3435
|
+
$t(n, 2, En, a);
|
|
3436
3436
|
}
|
|
3437
3437
|
}
|
|
3438
3438
|
this.g.addProtoToStream(n.g(), "mediapipe.tasks.vision.interactive_segmenter.proto.RegionOfInterest", "roi_in", r), Le(this, e, s);
|
|
@@ -3452,34 +3452,34 @@ var Ie = class extends de {
|
|
|
3452
3452
|
return o;
|
|
3453
3453
|
}
|
|
3454
3454
|
m() {
|
|
3455
|
-
var e = new
|
|
3455
|
+
var e = new me();
|
|
3456
3456
|
R(e, "image_in"), R(e, "roi_in"), R(e, "norm_rect_in");
|
|
3457
|
-
const t = new
|
|
3458
|
-
Re(t,
|
|
3457
|
+
const t = new ge();
|
|
3458
|
+
Re(t, wa, this.h);
|
|
3459
3459
|
const r = new se();
|
|
3460
|
-
|
|
3461
|
-
this.confidenceMasks = n.map((i) =>
|
|
3460
|
+
fe(r, 2, "mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraphV2"), x(r, "IMAGE:image_in"), x(r, "ROI:roi_in"), x(r, "NORM_RECT:norm_rect_in"), r.o(t), Ae(e, r), Yr(this, e), this.outputConfidenceMasks && (S(e, "confidence_masks"), E(r, "CONFIDENCE_MASKS:confidence_masks"), Mt(this, "confidence_masks"), this.g.aa("confidence_masks", (n, s) => {
|
|
3461
|
+
this.confidenceMasks = n.map((i) => xt(this, i, !0, !this.j)), d(this, s);
|
|
3462
3462
|
}), this.g.attachEmptyPacketListener("confidence_masks", (n) => {
|
|
3463
3463
|
this.confidenceMasks = [], d(this, n);
|
|
3464
|
-
})), this.outputCategoryMask && (S(e, "category_mask"),
|
|
3465
|
-
this.categoryMask =
|
|
3464
|
+
})), this.outputCategoryMask && (S(e, "category_mask"), E(r, "CATEGORY_MASK:category_mask"), Mt(this, "category_mask"), this.g.Z("category_mask", (n, s) => {
|
|
3465
|
+
this.categoryMask = xt(this, n, !1, !this.j), d(this, s);
|
|
3466
3466
|
}), this.g.attachEmptyPacketListener("category_mask", (n) => {
|
|
3467
3467
|
this.categoryMask = void 0, d(this, n);
|
|
3468
|
-
})), S(e, "quality_scores"),
|
|
3468
|
+
})), S(e, "quality_scores"), E(r, "QUALITY_SCORES:quality_scores"), this.g.attachFloatVectorListener("quality_scores", (n, s) => {
|
|
3469
3469
|
this.qualityScores = n, d(this, s);
|
|
3470
3470
|
}), this.g.attachEmptyPacketListener("quality_scores", (n) => {
|
|
3471
3471
|
this.categoryMask = void 0, d(this, n);
|
|
3472
3472
|
}), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
3473
3473
|
}
|
|
3474
3474
|
};
|
|
3475
|
-
|
|
3476
|
-
return A(
|
|
3477
|
-
},
|
|
3478
|
-
return A(
|
|
3479
|
-
},
|
|
3480
|
-
return A(
|
|
3475
|
+
Me.prototype.segment = Me.prototype.segment, Me.prototype.setOptions = Me.prototype.o, Me.createFromModelPath = function(e, t) {
|
|
3476
|
+
return A(Me, e, { baseOptions: { modelAssetPath: t } });
|
|
3477
|
+
}, Me.createFromModelBuffer = function(e, t) {
|
|
3478
|
+
return A(Me, e, { baseOptions: { modelAssetBuffer: t } });
|
|
3479
|
+
}, Me.createFromOptions = function(e, t) {
|
|
3480
|
+
return A(Me, e, t);
|
|
3481
3481
|
};
|
|
3482
|
-
var
|
|
3482
|
+
var ve = class extends pe {
|
|
3483
3483
|
constructor(e, t) {
|
|
3484
3484
|
super(new Te(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, v(e = this.h = new Aa(), 0, 1, t = new C());
|
|
3485
3485
|
}
|
|
@@ -3490,7 +3490,7 @@ var _e = class extends de {
|
|
|
3490
3490
|
v(this.h, 0, 1, e);
|
|
3491
3491
|
}
|
|
3492
3492
|
o(e) {
|
|
3493
|
-
return e.displayNamesLocale !== void 0 ? T(this.h, 2, cr(e.displayNamesLocale)) : "displayNamesLocale" in e && T(this.h, 2), e.maxResults !== void 0 ? Ve(this.h, 3, e.maxResults) : "maxResults" in e && T(this.h, 3), e.scoreThreshold !== void 0 ? y(this.h, 4, e.scoreThreshold) : "scoreThreshold" in e && T(this.h, 4), e.categoryAllowlist !== void 0 ?
|
|
3493
|
+
return e.displayNamesLocale !== void 0 ? T(this.h, 2, cr(e.displayNamesLocale)) : "displayNamesLocale" in e && T(this.h, 2), e.maxResults !== void 0 ? Ve(this.h, 3, e.maxResults) : "maxResults" in e && T(this.h, 3), e.scoreThreshold !== void 0 ? y(this.h, 4, e.scoreThreshold) : "scoreThreshold" in e && T(this.h, 4), e.categoryAllowlist !== void 0 ? Er(this.h, 5, e.categoryAllowlist) : "categoryAllowlist" in e && T(this.h, 5), e.categoryDenylist !== void 0 ? Er(this.h, 6, e.categoryDenylist) : "categoryDenylist" in e && T(this.h, 6), this.l(e);
|
|
3494
3494
|
}
|
|
3495
3495
|
F(e, t) {
|
|
3496
3496
|
return this.j = { detections: [] }, Le(this, e, t), this.j;
|
|
@@ -3499,12 +3499,12 @@ var _e = class extends de {
|
|
|
3499
3499
|
return this.j = { detections: [] }, Ce(this, e, r, t), this.j;
|
|
3500
3500
|
}
|
|
3501
3501
|
m() {
|
|
3502
|
-
var e = new
|
|
3502
|
+
var e = new me();
|
|
3503
3503
|
R(e, "input_frame_gpu"), R(e, "norm_rect"), S(e, "detections");
|
|
3504
|
-
const t = new
|
|
3505
|
-
Re(t,
|
|
3504
|
+
const t = new ge();
|
|
3505
|
+
Re(t, I1, this.h);
|
|
3506
3506
|
const r = new se();
|
|
3507
|
-
|
|
3507
|
+
fe(r, 2, "mediapipe.tasks.vision.ObjectDetectorGraph"), x(r, "IMAGE:input_frame_gpu"), x(r, "NORM_RECT:norm_rect"), E(r, "DETECTIONS:detections"), r.o(t), Ae(e, r), this.g.attachProtoVectorListener("detections", (n, s) => {
|
|
3508
3508
|
for (const i of n) n = ea(i), this.j.detections.push(Ta(n));
|
|
3509
3509
|
d(this, s);
|
|
3510
3510
|
}), this.g.attachEmptyPacketListener("detections", (n) => {
|
|
@@ -3512,14 +3512,14 @@ var _e = class extends de {
|
|
|
3512
3512
|
}), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
3513
3513
|
}
|
|
3514
3514
|
};
|
|
3515
|
-
|
|
3516
|
-
return A(
|
|
3517
|
-
},
|
|
3518
|
-
return A(
|
|
3519
|
-
},
|
|
3520
|
-
return A(
|
|
3515
|
+
ve.prototype.detectForVideo = ve.prototype.G, ve.prototype.detect = ve.prototype.F, ve.prototype.setOptions = ve.prototype.o, ve.createFromModelPath = async function(e, t) {
|
|
3516
|
+
return A(ve, e, { baseOptions: { modelAssetPath: t } });
|
|
3517
|
+
}, ve.createFromModelBuffer = function(e, t) {
|
|
3518
|
+
return A(ve, e, { baseOptions: { modelAssetBuffer: t } });
|
|
3519
|
+
}, ve.createFromOptions = function(e, t) {
|
|
3520
|
+
return A(ve, e, t);
|
|
3521
3521
|
};
|
|
3522
|
-
var
|
|
3522
|
+
var Mn = class {
|
|
3523
3523
|
constructor(e, t, r) {
|
|
3524
3524
|
this.landmarks = e, this.worldLandmarks = t, this.segmentationMasks = r;
|
|
3525
3525
|
}
|
|
@@ -3530,20 +3530,20 @@ var In = class {
|
|
|
3530
3530
|
});
|
|
3531
3531
|
}
|
|
3532
3532
|
};
|
|
3533
|
-
function
|
|
3533
|
+
function Di(e) {
|
|
3534
3534
|
e.landmarks = [], e.worldLandmarks = [], e.segmentationMasks = void 0;
|
|
3535
3535
|
}
|
|
3536
|
-
function
|
|
3536
|
+
function Bi(e) {
|
|
3537
3537
|
try {
|
|
3538
|
-
const t = new
|
|
3538
|
+
const t = new Mn(e.landmarks, e.worldLandmarks, e.segmentationMasks);
|
|
3539
3539
|
if (!e.u) return t;
|
|
3540
3540
|
e.u(t);
|
|
3541
3541
|
} finally {
|
|
3542
3542
|
Xr(e);
|
|
3543
3543
|
}
|
|
3544
3544
|
}
|
|
3545
|
-
|
|
3546
|
-
var
|
|
3545
|
+
Mn.prototype.close = Mn.prototype.close;
|
|
3546
|
+
var ce = class extends pe {
|
|
3547
3547
|
constructor(e, t) {
|
|
3548
3548
|
super(new Te(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, v(e = this.h = new ka(), 0, 1, t = new C()), this.A = new ga(), v(this.h, 0, 3, this.A), this.j = new pa(), v(this.h, 0, 2, this.j), Ve(this.j, 4, 1), y(this.j, 2, 0.5), y(this.A, 2, 0.5), y(this.h, 4, 0.5);
|
|
3549
3549
|
}
|
|
@@ -3558,19 +3558,19 @@ var ae = class extends de {
|
|
|
3558
3558
|
}
|
|
3559
3559
|
F(e, t, r) {
|
|
3560
3560
|
const n = typeof t != "function" ? t : {};
|
|
3561
|
-
return this.u = typeof t == "function" ? t : r,
|
|
3561
|
+
return this.u = typeof t == "function" ? t : r, Di(this), Le(this, e, n), Bi(this);
|
|
3562
3562
|
}
|
|
3563
3563
|
G(e, t, r, n) {
|
|
3564
3564
|
const s = typeof r != "function" ? r : {};
|
|
3565
|
-
return this.u = typeof r == "function" ? r : n,
|
|
3565
|
+
return this.u = typeof r == "function" ? r : n, Di(this), Ce(this, e, s, t), Bi(this);
|
|
3566
3566
|
}
|
|
3567
3567
|
m() {
|
|
3568
|
-
var e = new
|
|
3568
|
+
var e = new me();
|
|
3569
3569
|
R(e, "image_in"), R(e, "norm_rect"), S(e, "normalized_landmarks"), S(e, "world_landmarks"), S(e, "segmentation_masks");
|
|
3570
|
-
const t = new
|
|
3570
|
+
const t = new ge();
|
|
3571
3571
|
Re(t, x1, this.h);
|
|
3572
3572
|
const r = new se();
|
|
3573
|
-
|
|
3573
|
+
fe(r, 2, "mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"), x(r, "IMAGE:image_in"), x(r, "NORM_RECT:norm_rect"), E(r, "NORM_LANDMARKS:normalized_landmarks"), E(r, "WORLD_LANDMARKS:world_landmarks"), r.o(t), Ae(e, r), Yr(this, e), this.g.attachProtoVectorListener("normalized_landmarks", (n, s) => {
|
|
3574
3574
|
this.landmarks = [];
|
|
3575
3575
|
for (const i of n) n = lr(i), this.landmarks.push(zr(n));
|
|
3576
3576
|
d(this, s);
|
|
@@ -3578,27 +3578,27 @@ var ae = class extends de {
|
|
|
3578
3578
|
this.landmarks = [], d(this, n);
|
|
3579
3579
|
}), this.g.attachProtoVectorListener("world_landmarks", (n, s) => {
|
|
3580
3580
|
this.worldLandmarks = [];
|
|
3581
|
-
for (const i of n) n =
|
|
3581
|
+
for (const i of n) n = vt(i), this.worldLandmarks.push(Qt(n));
|
|
3582
3582
|
d(this, s);
|
|
3583
3583
|
}), this.g.attachEmptyPacketListener("world_landmarks", (n) => {
|
|
3584
3584
|
this.worldLandmarks = [], d(this, n);
|
|
3585
|
-
}), this.outputSegmentationMasks && (
|
|
3586
|
-
this.segmentationMasks = n.map((i) =>
|
|
3585
|
+
}), this.outputSegmentationMasks && (E(r, "SEGMENTATION_MASK:segmentation_masks"), Mt(this, "segmentation_masks"), this.g.aa("segmentation_masks", (n, s) => {
|
|
3586
|
+
this.segmentationMasks = n.map((i) => xt(this, i, !0, !this.u)), d(this, s);
|
|
3587
3587
|
}), this.g.attachEmptyPacketListener("segmentation_masks", (n) => {
|
|
3588
3588
|
this.segmentationMasks = [], d(this, n);
|
|
3589
3589
|
})), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
3590
3590
|
}
|
|
3591
3591
|
};
|
|
3592
|
-
|
|
3593
|
-
return A(
|
|
3594
|
-
},
|
|
3595
|
-
return A(
|
|
3596
|
-
},
|
|
3597
|
-
return A(
|
|
3598
|
-
},
|
|
3592
|
+
ce.prototype.detectForVideo = ce.prototype.G, ce.prototype.detect = ce.prototype.F, ce.prototype.setOptions = ce.prototype.o, ce.createFromModelPath = function(e, t) {
|
|
3593
|
+
return A(ce, e, { baseOptions: { modelAssetPath: t } });
|
|
3594
|
+
}, ce.createFromModelBuffer = function(e, t) {
|
|
3595
|
+
return A(ce, e, { baseOptions: { modelAssetBuffer: t } });
|
|
3596
|
+
}, ce.createFromOptions = function(e, t) {
|
|
3597
|
+
return A(ce, e, t);
|
|
3598
|
+
}, ce.POSE_CONNECTIONS = Va;
|
|
3599
3599
|
class U1 {
|
|
3600
3600
|
constructor(t) {
|
|
3601
|
-
this.models = { face: null, hand: null }, this.webcam = null, this.currentStepRef = 0, this.isStepTransitioningRef = !1, this.timerId = null, this.requestId = null, this.heartbeatId = null, this.anchorRatios = null, this.lastNosePos = null, this.consecutiveMissingFrames = 0, this.MAX_GAP = 15, this.LIVENESS_LOCK_KEY = "liveness_active_session", this.stabilityFrames = 0, this.REQUIRED_STABILITY = 10, this.offscreenCanvas = document.createElement("canvas"), this.CHALLENGE_POOL = ["Smile", "Blink", "Turn_Head", "Thumbs_Up"], this.attachVideo = (r) => {
|
|
3601
|
+
this.models = { face: null, hand: null }, this.webcam = null, this.currentStepRef = 0, this.isStepTransitioningRef = !1, this.timerId = null, this.requestId = null, this.heartbeatId = null, this.warningCount = 0, this.MAX_WARNINGS = 3, this.lastWarningMsg = "", this.isDetectionPaused = !1, this.anchorRatios = null, this.lastNosePos = null, this.consecutiveMissingFrames = 0, this.MAX_GAP = 15, this.LIVENESS_LOCK_KEY = "liveness_active_session", this.stabilityFrames = 0, this.REQUIRED_STABILITY = 10, this.offscreenCanvas = document.createElement("canvas"), this.CHALLENGE_POOL = ["Smile", "Blink", "Turn_Head", "Thumbs_Up"], this.attachVideo = (r) => {
|
|
3602
3602
|
r.setAttribute("crossorigin", "anonymous"), this.webcam = r, console.log("[LivenessEngine] Video stream attached.");
|
|
3603
3603
|
}, this.start = () => {
|
|
3604
3604
|
const r = localStorage.getItem(this.LIVENESS_LOCK_KEY);
|
|
@@ -3616,7 +3616,7 @@ class U1 {
|
|
|
3616
3616
|
}, this.stop = () => {
|
|
3617
3617
|
this.timerId && clearInterval(this.timerId), this.heartbeatId && clearInterval(this.heartbeatId), this.requestId && cancelAnimationFrame(this.requestId), localStorage.removeItem(this.LIVENESS_LOCK_KEY), this.timerId = null, this.heartbeatId = null, this.requestId = null;
|
|
3618
3618
|
}, this.reset = () => {
|
|
3619
|
-
this.stop(), this.currentStepRef = 0, this.isStepTransitioningRef = !1, this.anchorRatios = null, this.lastNosePos = null, this.consecutiveMissingFrames = 0, this.stabilityFrames = 0, this.generateSequence(), this.updateState({
|
|
3619
|
+
this.stop(), this.currentStepRef = 0, this.isStepTransitioningRef = !1, this.anchorRatios = null, this.lastNosePos = null, this.consecutiveMissingFrames = 0, this.stabilityFrames = 0, this.warningCount = 0, this.isDetectionPaused = !1, this.generateSequence(), this.updateState({
|
|
3620
3620
|
status: "ready",
|
|
3621
3621
|
currentStep: 0,
|
|
3622
3622
|
timeLeft: this.config.duration,
|
|
@@ -3626,12 +3626,12 @@ class U1 {
|
|
|
3626
3626
|
});
|
|
3627
3627
|
}, this.detectLoop = () => {
|
|
3628
3628
|
var n, s;
|
|
3629
|
-
if (this.state.status !== "capturing" || !this.webcam || !this.models.face) return;
|
|
3629
|
+
if (this.state.status !== "capturing" || !this.webcam || !this.models.face || this.isDetectionPaused) return;
|
|
3630
3630
|
const r = performance.now();
|
|
3631
3631
|
try {
|
|
3632
3632
|
const i = this.models.face.detectForVideo(this.webcam, r);
|
|
3633
3633
|
if (i.faceLandmarks && i.faceLandmarks.length > 1) {
|
|
3634
|
-
console.warn("[LivenessEngine] Security Alert: Multiple faces detected!"), this.
|
|
3634
|
+
console.warn("[LivenessEngine] Security Alert: Multiple faces detected!"), this.handleViolation("Multiple faces detected. Please ensure only one person is in frame.");
|
|
3635
3635
|
return;
|
|
3636
3636
|
}
|
|
3637
3637
|
const o = (n = i.faceLandmarks) == null ? void 0 : n[0];
|
|
@@ -3639,16 +3639,17 @@ class U1 {
|
|
|
3639
3639
|
if (this.consecutiveMissingFrames = 0, this.anchorRatios === null)
|
|
3640
3640
|
this.stabilityFrames++, this.stabilityFrames >= this.REQUIRED_STABILITY && this.verifyIdentity(o);
|
|
3641
3641
|
else if (!this.verifyIdentity(o) || !this.checkMovement(o)) {
|
|
3642
|
-
this.
|
|
3642
|
+
this.handleViolation("Security violation: Identity mismatch.");
|
|
3643
3643
|
return;
|
|
3644
3644
|
}
|
|
3645
|
+
this.state.errorMsg && this.updateState({ errorMsg: "" });
|
|
3645
3646
|
const a = this.state.sequence[this.currentStepRef], c = (s = this.models.hand) == null ? void 0 : s.detectForVideo(this.webcam, r);
|
|
3646
3647
|
if (this.checkAction(i, c, a)) {
|
|
3647
3648
|
this.handleStepSuccess(o);
|
|
3648
3649
|
return;
|
|
3649
3650
|
}
|
|
3650
3651
|
} else if (this.consecutiveMissingFrames++, this.consecutiveMissingFrames > this.MAX_GAP)
|
|
3651
|
-
return this.
|
|
3652
|
+
return this.handleViolation("Face lost. Session reset.");
|
|
3652
3653
|
this.requestId = requestAnimationFrame(this.detectLoop);
|
|
3653
3654
|
} catch (i) {
|
|
3654
3655
|
console.error("[LivenessEngine] Loop detection error:", i), this.requestId = requestAnimationFrame(this.detectLoop);
|
|
@@ -3709,13 +3710,18 @@ class U1 {
|
|
|
3709
3710
|
const r = Math.sqrt(
|
|
3710
3711
|
Math.pow(t[33].x - t[263].x, 2) + Math.pow(t[33].y - t[263].y, 2)
|
|
3711
3712
|
), n = Math.abs(t[1].y - t[13].y), s = r / (n || 1);
|
|
3712
|
-
return this.anchorRatios === null ? (this.anchorRatios = s, !0) : Math.abs(this.anchorRatios - s) / this.anchorRatios < 0.
|
|
3713
|
+
return this.anchorRatios === null ? (this.anchorRatios = s, !0) : Math.abs(this.anchorRatios - s) / this.anchorRatios < 0.7;
|
|
3713
3714
|
}
|
|
3714
3715
|
checkMovement(t) {
|
|
3715
3716
|
const r = { x: t[1].x, y: t[1].y };
|
|
3716
3717
|
return this.lastNosePos && Math.sqrt(
|
|
3717
3718
|
Math.pow(r.x - this.lastNosePos.x, 2) + Math.pow(r.y - this.lastNosePos.y, 2)
|
|
3718
|
-
) > 0.
|
|
3719
|
+
) > 0.5 ? !1 : (this.lastNosePos = r, !0);
|
|
3720
|
+
}
|
|
3721
|
+
handleViolation(t) {
|
|
3722
|
+
this.warningCount++, this.warningCount >= this.MAX_WARNINGS ? this.failInstantly(t) : (this.isDetectionPaused = !0, this.requestId && (cancelAnimationFrame(this.requestId), this.requestId = null), this.updateState({ errorMsg: `${t} (Warning ${this.warningCount}/${this.MAX_WARNINGS})` }), setTimeout(() => {
|
|
3723
|
+
this.state.status === "capturing" && (this.isDetectionPaused = !1, this.updateState({ errorMsg: "" }), this.detectLoop());
|
|
3724
|
+
}, 2e3));
|
|
3719
3725
|
}
|
|
3720
3726
|
failInstantly(t) {
|
|
3721
3727
|
this.stop(), this.updateState({ status: "error", errorMsg: t, isStepTransitioning: !1 }), this.config.onError({ success: !1, reason: t });
|
|
@@ -3725,7 +3731,7 @@ class U1 {
|
|
|
3725
3731
|
}
|
|
3726
3732
|
generateSequence() {
|
|
3727
3733
|
const t = [...this.CHALLENGE_POOL].sort(() => 0.5 - Math.random()).slice(0, 3);
|
|
3728
|
-
return this.
|
|
3734
|
+
return this.updateState({ sequence: t }), t;
|
|
3729
3735
|
}
|
|
3730
3736
|
startTimer() {
|
|
3731
3737
|
this.timerId && clearInterval(this.timerId), this.timerId = setInterval(() => {
|
|
@@ -3778,7 +3784,7 @@ class U1 {
|
|
|
3778
3784
|
try {
|
|
3779
3785
|
const n = [];
|
|
3780
3786
|
let s = "";
|
|
3781
|
-
for (let a = 0; a < 5 && this.webcam; a++) {
|
|
3787
|
+
for (let a = 0; a < 5 && !(!this.webcam || !this.models.face); a++) {
|
|
3782
3788
|
const c = (t = this.models.face) == null ? void 0 : t.detectForVideo(this.webcam, performance.now());
|
|
3783
3789
|
if ((r = c == null ? void 0 : c.faceLandmarks) != null && r[0]) {
|
|
3784
3790
|
const l = await this.getFaceCrop(this.webcam, c.faceLandmarks[0]), u = await new Promise((f) => l.toBlob(f, "image/jpeg", 0.9));
|
|
@@ -3798,13 +3804,12 @@ class U1 {
|
|
|
3798
3804
|
}
|
|
3799
3805
|
}
|
|
3800
3806
|
async getFaceCrop(t, r) {
|
|
3801
|
-
this.offscreenCanvas.getContext("2d");
|
|
3802
|
-
const n = r.map((H) => H.x * t.videoWidth), s = r.map((H) => H.y * t.videoHeight), i = Math.min(...n), o = Math.max(...n), a = Math.min(...s), c = Math.max(...s), l = o - i, u = c - a, f = l * 0.3, _ = Math.max(0, i - f), b = Math.max(0, a - f), P = Math.min(t.videoWidth - _, l + f * 2), He = Math.min(t.videoHeight - b, u + f * 2);
|
|
3807
|
+
const n = r.map((Z) => Z.x * t.videoWidth), s = r.map((Z) => Z.y * t.videoHeight), i = Math.min(...n), o = Math.max(...n), a = Math.min(...s), c = Math.max(...s), l = o - i, u = c - a, f = l * 0.3, _ = Math.max(0, i - f), b = Math.max(0, a - f), P = Math.min(t.videoWidth - _, l + f * 2), He = Math.min(t.videoHeight - b, u + f * 2), ie = this.offscreenCanvas.getContext("2d");
|
|
3803
3808
|
try {
|
|
3804
|
-
const
|
|
3805
|
-
|
|
3806
|
-
} catch (
|
|
3807
|
-
console.error("[LivenessEngine] Bitmap extraction failed, falling back to direct draw",
|
|
3809
|
+
const Z = await createImageBitmap(t, _, b, P, He);
|
|
3810
|
+
ie.clearRect(0, 0, 224, 224), ie.drawImage(Z, 0, 0, 224, 224), Z.close();
|
|
3811
|
+
} catch (Z) {
|
|
3812
|
+
console.error("[LivenessEngine] Bitmap extraction failed, falling back to direct draw", Z), this.offscreenCanvas.getContext("2d").drawImage(t, _, b, P, He, 0, 0, 224, 224);
|
|
3808
3813
|
}
|
|
3809
3814
|
return this.offscreenCanvas;
|
|
3810
3815
|
}
|
|
@@ -3855,7 +3860,7 @@ const V1 = (e) => {
|
|
|
3855
3860
|
reset: o
|
|
3856
3861
|
};
|
|
3857
3862
|
};
|
|
3858
|
-
var
|
|
3863
|
+
var In = { exports: {} }, Kt = {};
|
|
3859
3864
|
/**
|
|
3860
3865
|
* @license React
|
|
3861
3866
|
* react-jsx-runtime.production.js
|
|
@@ -3867,7 +3872,7 @@ var Mn = { exports: {} }, qt = {};
|
|
|
3867
3872
|
*/
|
|
3868
3873
|
var ji;
|
|
3869
3874
|
function G1() {
|
|
3870
|
-
if (ji) return
|
|
3875
|
+
if (ji) return Kt;
|
|
3871
3876
|
ji = 1;
|
|
3872
3877
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
3873
3878
|
function r(n, s, i) {
|
|
@@ -3885,7 +3890,7 @@ function G1() {
|
|
|
3885
3890
|
props: i
|
|
3886
3891
|
};
|
|
3887
3892
|
}
|
|
3888
|
-
return
|
|
3893
|
+
return Kt.Fragment = t, Kt.jsx = r, Kt.jsxs = r, Kt;
|
|
3889
3894
|
}
|
|
3890
3895
|
var zt = {};
|
|
3891
3896
|
/**
|
|
@@ -3906,15 +3911,15 @@ function H1() {
|
|
|
3906
3911
|
return h.$$typeof === Ya ? null : h.displayName || h.name || null;
|
|
3907
3912
|
if (typeof h == "string") return h;
|
|
3908
3913
|
switch (h) {
|
|
3909
|
-
case
|
|
3914
|
+
case ie:
|
|
3910
3915
|
return "Fragment";
|
|
3911
|
-
case
|
|
3916
|
+
case dt:
|
|
3912
3917
|
return "Profiler";
|
|
3913
|
-
case
|
|
3918
|
+
case Z:
|
|
3914
3919
|
return "StrictMode";
|
|
3915
3920
|
case Wa:
|
|
3916
3921
|
return "Suspense";
|
|
3917
|
-
case
|
|
3922
|
+
case qa:
|
|
3918
3923
|
return "SuspenseList";
|
|
3919
3924
|
case za:
|
|
3920
3925
|
return "Activity";
|
|
@@ -3930,14 +3935,14 @@ function H1() {
|
|
|
3930
3935
|
case fr:
|
|
3931
3936
|
return (h._context.displayName || "Context") + ".Consumer";
|
|
3932
3937
|
case Ha:
|
|
3933
|
-
var
|
|
3934
|
-
return h = h.displayName, h || (h =
|
|
3935
|
-
case
|
|
3936
|
-
return
|
|
3938
|
+
var w = h.render;
|
|
3939
|
+
return h = h.displayName, h || (h = w.displayName || w.name || "", h = h !== "" ? "ForwardRef(" + h + ")" : "ForwardRef"), h;
|
|
3940
|
+
case Ka:
|
|
3941
|
+
return w = h.displayName || null, w !== null ? w : e(h.type) || "Memo";
|
|
3937
3942
|
case $r:
|
|
3938
|
-
|
|
3943
|
+
w = h._payload, h = h._init;
|
|
3939
3944
|
try {
|
|
3940
|
-
return e(h(
|
|
3945
|
+
return e(h(w));
|
|
3941
3946
|
} catch {
|
|
3942
3947
|
}
|
|
3943
3948
|
}
|
|
@@ -3949,27 +3954,27 @@ function H1() {
|
|
|
3949
3954
|
function r(h) {
|
|
3950
3955
|
try {
|
|
3951
3956
|
t(h);
|
|
3952
|
-
var
|
|
3957
|
+
var w = !1;
|
|
3953
3958
|
} catch {
|
|
3954
|
-
|
|
3959
|
+
w = !0;
|
|
3955
3960
|
}
|
|
3956
|
-
if (
|
|
3957
|
-
|
|
3958
|
-
var N =
|
|
3961
|
+
if (w) {
|
|
3962
|
+
w = console;
|
|
3963
|
+
var N = w.error, H = typeof Symbol == "function" && Symbol.toStringTag && h[Symbol.toStringTag] || h.constructor.name || "Object";
|
|
3959
3964
|
return N.call(
|
|
3960
|
-
|
|
3965
|
+
w,
|
|
3961
3966
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
3962
|
-
|
|
3967
|
+
H
|
|
3963
3968
|
), t(h);
|
|
3964
3969
|
}
|
|
3965
3970
|
}
|
|
3966
3971
|
function n(h) {
|
|
3967
|
-
if (h ===
|
|
3972
|
+
if (h === ie) return "<>";
|
|
3968
3973
|
if (typeof h == "object" && h !== null && h.$$typeof === $r)
|
|
3969
3974
|
return "<...>";
|
|
3970
3975
|
try {
|
|
3971
|
-
var
|
|
3972
|
-
return
|
|
3976
|
+
var w = e(h);
|
|
3977
|
+
return w ? "<" + w + ">" : "<...>";
|
|
3973
3978
|
} catch {
|
|
3974
3979
|
return "<...>";
|
|
3975
3980
|
}
|
|
@@ -3983,16 +3988,16 @@ function H1() {
|
|
|
3983
3988
|
}
|
|
3984
3989
|
function o(h) {
|
|
3985
3990
|
if (Ls.call(h, "key")) {
|
|
3986
|
-
var
|
|
3987
|
-
if (
|
|
3991
|
+
var w = Object.getOwnPropertyDescriptor(h, "key").get;
|
|
3992
|
+
if (w && w.isReactWarning) return !1;
|
|
3988
3993
|
}
|
|
3989
3994
|
return h.key !== void 0;
|
|
3990
3995
|
}
|
|
3991
|
-
function a(h,
|
|
3996
|
+
function a(h, w) {
|
|
3992
3997
|
function N() {
|
|
3993
3998
|
Ps || (Ps = !0, console.error(
|
|
3994
3999
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
3995
|
-
|
|
4000
|
+
w
|
|
3996
4001
|
));
|
|
3997
4002
|
}
|
|
3998
4003
|
N.isReactWarning = !0, Object.defineProperty(h, "key", {
|
|
@@ -4002,19 +4007,19 @@ function H1() {
|
|
|
4002
4007
|
}
|
|
4003
4008
|
function c() {
|
|
4004
4009
|
var h = e(this.type);
|
|
4005
|
-
return
|
|
4010
|
+
return Ms[h] || (Ms[h] = !0, console.error(
|
|
4006
4011
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
4007
4012
|
)), h = this.props.ref, h !== void 0 ? h : null;
|
|
4008
4013
|
}
|
|
4009
|
-
function l(h,
|
|
4010
|
-
var
|
|
4014
|
+
function l(h, w, N, H, dr, Zr) {
|
|
4015
|
+
var W = N.ref;
|
|
4011
4016
|
return h = {
|
|
4012
4017
|
$$typeof: P,
|
|
4013
4018
|
type: h,
|
|
4014
|
-
key:
|
|
4019
|
+
key: w,
|
|
4015
4020
|
props: N,
|
|
4016
|
-
_owner:
|
|
4017
|
-
}, (
|
|
4021
|
+
_owner: H
|
|
4022
|
+
}, (W !== void 0 ? W : null) !== null ? Object.defineProperty(h, "ref", {
|
|
4018
4023
|
enumerable: !1,
|
|
4019
4024
|
get: c
|
|
4020
4025
|
}) : Object.defineProperty(h, "ref", { enumerable: !1, value: null }), h._store = {}, Object.defineProperty(h._store, "validated", {
|
|
@@ -4039,48 +4044,48 @@ function H1() {
|
|
|
4039
4044
|
value: Zr
|
|
4040
4045
|
}), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
|
|
4041
4046
|
}
|
|
4042
|
-
function u(h,
|
|
4043
|
-
var
|
|
4044
|
-
if (
|
|
4045
|
-
if (
|
|
4046
|
-
if (Xa(
|
|
4047
|
-
for (
|
|
4048
|
-
f(
|
|
4049
|
-
Object.freeze && Object.freeze(
|
|
4047
|
+
function u(h, w, N, H, dr, Zr) {
|
|
4048
|
+
var W = w.children;
|
|
4049
|
+
if (W !== void 0)
|
|
4050
|
+
if (H)
|
|
4051
|
+
if (Xa(W)) {
|
|
4052
|
+
for (H = 0; H < W.length; H++)
|
|
4053
|
+
f(W[H]);
|
|
4054
|
+
Object.freeze && Object.freeze(W);
|
|
4050
4055
|
} else
|
|
4051
4056
|
console.error(
|
|
4052
4057
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
4053
4058
|
);
|
|
4054
|
-
else f(
|
|
4055
|
-
if (Ls.call(
|
|
4056
|
-
|
|
4057
|
-
var
|
|
4059
|
+
else f(W);
|
|
4060
|
+
if (Ls.call(w, "key")) {
|
|
4061
|
+
W = e(h);
|
|
4062
|
+
var pt = Object.keys(w).filter(function($a) {
|
|
4058
4063
|
return $a !== "key";
|
|
4059
4064
|
});
|
|
4060
|
-
|
|
4065
|
+
H = 0 < pt.length ? "{key: someKey, " + pt.join(": ..., ") + ": ...}" : "{key: someKey}", Os[W + H] || (pt = 0 < pt.length ? "{" + pt.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
4061
4066
|
`A props object containing a "key" prop is being spread into JSX:
|
|
4062
4067
|
let props = %s;
|
|
4063
4068
|
<%s {...props} />
|
|
4064
4069
|
React keys must be passed directly to JSX without using spread:
|
|
4065
4070
|
let props = %s;
|
|
4066
4071
|
<%s key={someKey} {...props} />`,
|
|
4072
|
+
H,
|
|
4067
4073
|
W,
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
), Os[K + W] = !0);
|
|
4074
|
+
pt,
|
|
4075
|
+
W
|
|
4076
|
+
), Os[W + H] = !0);
|
|
4072
4077
|
}
|
|
4073
|
-
if (
|
|
4078
|
+
if (W = null, N !== void 0 && (r(N), W = "" + N), o(w) && (r(w.key), W = "" + w.key), "key" in w) {
|
|
4074
4079
|
N = {};
|
|
4075
|
-
for (var en in
|
|
4076
|
-
en !== "key" && (N[en] =
|
|
4077
|
-
} else N =
|
|
4078
|
-
return
|
|
4080
|
+
for (var en in w)
|
|
4081
|
+
en !== "key" && (N[en] = w[en]);
|
|
4082
|
+
} else N = w;
|
|
4083
|
+
return W && a(
|
|
4079
4084
|
N,
|
|
4080
4085
|
typeof h == "function" ? h.displayName || h.name || "Unknown" : h
|
|
4081
4086
|
), l(
|
|
4082
4087
|
h,
|
|
4083
|
-
|
|
4088
|
+
W,
|
|
4084
4089
|
N,
|
|
4085
4090
|
s(),
|
|
4086
4091
|
dr,
|
|
@@ -4093,7 +4098,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
4093
4098
|
function _(h) {
|
|
4094
4099
|
return typeof h == "object" && h !== null && h.$$typeof === P;
|
|
4095
4100
|
}
|
|
4096
|
-
var b = Ja, P = Symbol.for("react.transitional.element"), He = Symbol.for("react.portal"),
|
|
4101
|
+
var b = Ja, P = Symbol.for("react.transitional.element"), He = Symbol.for("react.portal"), ie = Symbol.for("react.fragment"), Z = Symbol.for("react.strict_mode"), dt = Symbol.for("react.profiler"), fr = Symbol.for("react.consumer"), Ga = Symbol.for("react.context"), Ha = Symbol.for("react.forward_ref"), Wa = Symbol.for("react.suspense"), qa = Symbol.for("react.suspense_list"), Ka = Symbol.for("react.memo"), $r = Symbol.for("react.lazy"), za = Symbol.for("react.activity"), Ya = Symbol.for("react.client.reference"), Jr = b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Ls = Object.prototype.hasOwnProperty, Xa = Array.isArray, Qr = console.createTask ? console.createTask : function() {
|
|
4097
4102
|
return null;
|
|
4098
4103
|
};
|
|
4099
4104
|
b = {
|
|
@@ -4101,36 +4106,36 @@ React keys must be passed directly to JSX without using spread:
|
|
|
4101
4106
|
return h();
|
|
4102
4107
|
}
|
|
4103
4108
|
};
|
|
4104
|
-
var Ps,
|
|
4109
|
+
var Ps, Ms = {}, Is = b.react_stack_bottom_frame.bind(
|
|
4105
4110
|
b,
|
|
4106
4111
|
i
|
|
4107
4112
|
)(), xs = Qr(n(i)), Os = {};
|
|
4108
|
-
zt.Fragment =
|
|
4109
|
-
var
|
|
4113
|
+
zt.Fragment = ie, zt.jsx = function(h, w, N) {
|
|
4114
|
+
var H = 1e4 > Jr.recentlyCreatedOwnerStacks++;
|
|
4110
4115
|
return u(
|
|
4111
4116
|
h,
|
|
4112
|
-
|
|
4117
|
+
w,
|
|
4113
4118
|
N,
|
|
4114
4119
|
!1,
|
|
4115
|
-
|
|
4116
|
-
|
|
4120
|
+
H ? Error("react-stack-top-frame") : Is,
|
|
4121
|
+
H ? Qr(n(h)) : xs
|
|
4117
4122
|
);
|
|
4118
|
-
}, zt.jsxs = function(h,
|
|
4119
|
-
var
|
|
4123
|
+
}, zt.jsxs = function(h, w, N) {
|
|
4124
|
+
var H = 1e4 > Jr.recentlyCreatedOwnerStacks++;
|
|
4120
4125
|
return u(
|
|
4121
4126
|
h,
|
|
4122
|
-
|
|
4127
|
+
w,
|
|
4123
4128
|
N,
|
|
4124
4129
|
!0,
|
|
4125
|
-
|
|
4126
|
-
|
|
4130
|
+
H ? Error("react-stack-top-frame") : Is,
|
|
4131
|
+
H ? Qr(n(h)) : xs
|
|
4127
4132
|
);
|
|
4128
4133
|
};
|
|
4129
4134
|
}()), zt;
|
|
4130
4135
|
}
|
|
4131
|
-
process.env.NODE_ENV === "production" ?
|
|
4132
|
-
var
|
|
4133
|
-
const
|
|
4136
|
+
process.env.NODE_ENV === "production" ? In.exports = G1() : In.exports = H1();
|
|
4137
|
+
var be = In.exports;
|
|
4138
|
+
const K1 = ({
|
|
4134
4139
|
apiUrl: e,
|
|
4135
4140
|
duration: t,
|
|
4136
4141
|
onComplete: r,
|
|
@@ -4144,10 +4149,10 @@ const q1 = ({
|
|
|
4144
4149
|
}) => {
|
|
4145
4150
|
var f;
|
|
4146
4151
|
const u = V1({ apiUrl: e, duration: t, smileThreshold: o, blinkThreshold: a, minturnHeadThreshold: c, maxturnHeadThreshold: l, onComplete: r, onError: n });
|
|
4147
|
-
return i ? i(u) : /* @__PURE__ */
|
|
4148
|
-
u.status === "loading" && /* @__PURE__ */
|
|
4149
|
-
["ready", "capturing", "verifying"].includes(u.status) && /* @__PURE__ */
|
|
4150
|
-
/* @__PURE__ */
|
|
4152
|
+
return i ? i(u) : /* @__PURE__ */ be.jsxs("div", { className: s.container, children: [
|
|
4153
|
+
u.status === "loading" && /* @__PURE__ */ be.jsx("div", { children: "Initializing..." }),
|
|
4154
|
+
["ready", "capturing", "verifying"].includes(u.status) && /* @__PURE__ */ be.jsxs(be.Fragment, { children: [
|
|
4155
|
+
/* @__PURE__ */ be.jsx(
|
|
4151
4156
|
Za,
|
|
4152
4157
|
{
|
|
4153
4158
|
ref: u.webcamRef,
|
|
@@ -4156,23 +4161,23 @@ const q1 = ({
|
|
|
4156
4161
|
className: s.webcam
|
|
4157
4162
|
}
|
|
4158
4163
|
),
|
|
4159
|
-
u.status === "capturing" && /* @__PURE__ */
|
|
4160
|
-
["capturing", "ready"].includes(u.status) && /* @__PURE__ */
|
|
4164
|
+
u.status === "capturing" && /* @__PURE__ */ be.jsx("div", { className: "liveness-challenge", children: u.isStepTransitioning ? "Step verified! Get ready for the next..." : `Do this: ${(f = u.sequence[u.currentStep]) == null ? void 0 : f.replace("_", " ")}` }),
|
|
4165
|
+
["capturing", "ready"].includes(u.status) && /* @__PURE__ */ be.jsxs("div", { className: s.timer, children: [
|
|
4161
4166
|
u.timeLeft,
|
|
4162
4167
|
"s"
|
|
4163
4168
|
] }),
|
|
4164
|
-
u.status === "ready" && /* @__PURE__ */
|
|
4165
|
-
u.status === "verifying" && /* @__PURE__ */
|
|
4169
|
+
u.status === "ready" && /* @__PURE__ */ be.jsx("button", { onClick: u.start, className: s.button, children: "Start Challenge" }),
|
|
4170
|
+
u.status === "verifying" && /* @__PURE__ */ be.jsx("div", { children: "Analyzing..." })
|
|
4166
4171
|
] }),
|
|
4167
|
-
u.status === "error" && /* @__PURE__ */
|
|
4172
|
+
u.status === "error" && /* @__PURE__ */ be.jsxs("div", { className: s.error, children: [
|
|
4168
4173
|
u.errorMsg,
|
|
4169
|
-
/* @__PURE__ */
|
|
4174
|
+
/* @__PURE__ */ be.jsx("button", { onClick: u.reset, className: s.button, children: "Retry" })
|
|
4170
4175
|
] }),
|
|
4171
|
-
u.status === "success" && /* @__PURE__ */
|
|
4176
|
+
u.status === "success" && /* @__PURE__ */ be.jsx("div", { className: s.success, children: "Verification Complete" })
|
|
4172
4177
|
] });
|
|
4173
4178
|
};
|
|
4174
4179
|
export {
|
|
4175
4180
|
U1 as L,
|
|
4176
|
-
|
|
4181
|
+
K1 as a,
|
|
4177
4182
|
V1 as u
|
|
4178
4183
|
};
|