@richard.fadiora/liveness-detection 4.3.13 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +97 -360
- package/dist/{LivenessCheck-DxxnvHvi.js → LivenessCheck-B7w-81bc.js} +739 -693
- package/dist/{LivenessCheck-YOJ3vZ1M.cjs → LivenessCheck-VABTGnoV.cjs} +6 -6
- package/dist/angular/README.md +97 -360
- package/dist/angular/fesm2022/richard.fadiora-liveness-detection.mjs +108 -8
- package/dist/angular/fesm2022/richard.fadiora-liveness-detection.mjs.map +1 -1
- package/dist/angular/types/richard.fadiora-liveness-detection.d.ts +19 -1
- package/dist/core/LivenessEngine.d.ts +18 -0
- package/dist/core/LivenessEngine.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/react/useLiveness.d.ts.map +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import Ja, { useState as
|
|
2
|
-
import
|
|
1
|
+
import Ja, { useState as Qa, useRef as xs, useEffect as Rs, useCallback as Ns } from "react";
|
|
2
|
+
import Za from "react-webcam";
|
|
3
3
|
var yt = typeof self < "u" ? self : {};
|
|
4
|
-
function
|
|
4
|
+
function Zt(e, t) {
|
|
5
5
|
e: {
|
|
6
6
|
for (var r = ["CLOSURE_FLAGS"], n = yt, s = 0; s < r.length; s++) if ((n = n[r[s]]) == null) {
|
|
7
7
|
r = null;
|
|
@@ -14,7 +14,7 @@ function Qt(e, t) {
|
|
|
14
14
|
function Je() {
|
|
15
15
|
throw Error("Invalid UTF8");
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function Cs(e, t) {
|
|
18
18
|
return t = String.fromCharCode.apply(null, t), e == null ? t : e + t;
|
|
19
19
|
}
|
|
20
20
|
let pr, tn;
|
|
@@ -57,8 +57,8 @@ function Gi(e) {
|
|
|
57
57
|
throw e;
|
|
58
58
|
}, 0);
|
|
59
59
|
}
|
|
60
|
-
var ln, n2 =
|
|
61
|
-
function
|
|
60
|
+
var ln, n2 = Zt(610401301, !1), Ds = Zt(748402147, !0), Mn = Zt(824648567, !0), Fn = Zt(824656860, Zt(1, !0));
|
|
61
|
+
function Bs() {
|
|
62
62
|
var e = yt.navigator;
|
|
63
63
|
return e && (e = e.userAgent) ? e : "";
|
|
64
64
|
}
|
|
@@ -110,40 +110,40 @@ function Wi() {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
var i2 = typeof Uint8Array < "u",
|
|
113
|
+
var i2 = typeof Uint8Array < "u", Ki = !(!(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
118
|
function qi(e) {
|
|
119
|
-
if (!
|
|
119
|
+
if (!Ki) 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);
|
|
123
123
|
return t;
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function xn(e) {
|
|
126
126
|
return i2 && e != null && e instanceof Uint8Array;
|
|
127
127
|
}
|
|
128
128
|
var vt = {};
|
|
129
129
|
function ot() {
|
|
130
|
-
return c2 || (c2 = new
|
|
130
|
+
return c2 || (c2 = new Oe(null, vt));
|
|
131
131
|
}
|
|
132
|
-
function
|
|
133
|
-
|
|
132
|
+
function Rn(e) {
|
|
133
|
+
zi(vt);
|
|
134
134
|
var t = e.g;
|
|
135
|
-
return (t = t == null ||
|
|
135
|
+
return (t = t == null || xn(t) ? t : typeof t == "string" ? qi(t) : null) == null ? t : e.g = t;
|
|
136
136
|
}
|
|
137
|
-
var
|
|
137
|
+
var Oe = class {
|
|
138
138
|
h() {
|
|
139
|
-
return new Uint8Array(
|
|
139
|
+
return new Uint8Array(Rn(this) || 0);
|
|
140
140
|
}
|
|
141
141
|
constructor(e, t) {
|
|
142
|
-
if (
|
|
142
|
+
if (zi(t), this.g = e, e != null && e.length === 0) throw Error("ByteString should be constructed with non-empty values");
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
let c2, u2;
|
|
146
|
-
function
|
|
146
|
+
function zi(e) {
|
|
147
147
|
if (e !== vt) throw Error("illegal external caller");
|
|
148
148
|
}
|
|
149
149
|
function Yi(e, t) {
|
|
@@ -158,22 +158,22 @@ function bt(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
|
|
165
|
-
function
|
|
164
|
+
var Mt = typeof Symbol == "function" && typeof Symbol() == "symbol";
|
|
165
|
+
function Me(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 =
|
|
169
|
-
const $i = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Xi = Object.defineProperties, p =
|
|
168
|
+
var h2 = Me("jas", void 0, !0), Vs = Me(void 0, "0di"), Wt = Me(void 0, "1oa"), ae = Me(void 0, Symbol()), l2 = Me(void 0, "0ub"), f2 = Me(void 0, "0ubs"), dn = Me(void 0, "0ubsb"), d2 = Me(void 0, "0actk"), Et = Me("m_m", "Pa", !0), Gs = Me();
|
|
169
|
+
const $i = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Xi = Object.defineProperties, p = Mt ? h2 : "Ga";
|
|
170
170
|
var ut;
|
|
171
171
|
const Hs = [];
|
|
172
172
|
function sr(e, t) {
|
|
173
|
-
|
|
173
|
+
Mt || p in e || Xi(e, $i), e[p] |= t;
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
|
|
175
|
+
function z(e, t) {
|
|
176
|
+
Mt || p in e || Xi(e, $i), 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
|
|
184
|
+
z(Hs, 7), ut = Object.freeze(Hs);
|
|
185
|
+
var wt = {};
|
|
186
186
|
function ue(e, t) {
|
|
187
187
|
return t === void 0 ? e.h !== at && !!(2 & (0 | e.v[p])) : !!(2 & t) && e.h !== at;
|
|
188
188
|
}
|
|
189
189
|
const at = {};
|
|
190
|
-
function
|
|
190
|
+
function Nn(e, t) {
|
|
191
191
|
if (e != null) {
|
|
192
|
-
if (typeof e == "string") e = e ? new
|
|
193
|
-
else if (e.constructor !==
|
|
192
|
+
if (typeof e == "string") e = e ? new Oe(e, vt) : ot();
|
|
193
|
+
else if (e.constructor !== Oe) if (xn(e)) e = e.length ? new Oe(new Uint8Array(e), vt) : ot();
|
|
194
194
|
else {
|
|
195
195
|
if (!t) throw Error();
|
|
196
196
|
e = void 0;
|
|
@@ -222,23 +222,23 @@ function Ji(e, t, r) {
|
|
|
222
222
|
for (const a in e) !isNaN(a) && r(+a, e[a]);
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
function
|
|
227
|
-
return 128 & e ?
|
|
225
|
+
var Qi = {};
|
|
226
|
+
function Ft(e) {
|
|
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"),
|
|
232
|
+
var g2 = Pr((e) => typeof e == "number"), Ks = Pr((e) => typeof e == "string"), m2 = Pr((e) => typeof e == "boolean"), Ir = typeof yt.BigInt == "function" && typeof yt.BigInt(0) == "bigint";
|
|
233
233
|
function ce(e) {
|
|
234
234
|
var t = e;
|
|
235
|
-
if (
|
|
235
|
+
if (Ks(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 Ir ? BigInt(e) : e = m2(e) ? e ? "1" : "0" : Ks(e) ? e.trim() || "0" : String(e);
|
|
239
239
|
}
|
|
240
|
-
var pn = Pr((e) =>
|
|
241
|
-
const _2 = Number.MIN_SAFE_INTEGER.toString(), y2 =
|
|
240
|
+
var pn = Pr((e) => Ir ? e >= y2 && e <= b2 : e[0] === "-" ? qs(e, _2) : qs(e, v2));
|
|
241
|
+
const _2 = Number.MIN_SAFE_INTEGER.toString(), y2 = Ir ? BigInt(Number.MIN_SAFE_INTEGER) : void 0, v2 = Number.MAX_SAFE_INTEGER.toString(), b2 = Ir ? BigInt(Number.MAX_SAFE_INTEGER) : void 0;
|
|
242
242
|
function qs(e, t) {
|
|
243
243
|
if (e.length > t.length) return !1;
|
|
244
244
|
if (e.length < t.length || e === t) return !0;
|
|
@@ -248,47 +248,47 @@ function qs(e, t) {
|
|
|
248
248
|
if (n < s) return !0;
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
-
const
|
|
252
|
-
let
|
|
253
|
-
function
|
|
251
|
+
const E2 = typeof Uint8Array.prototype.slice == "function";
|
|
252
|
+
let w2, F = 0, U = 0;
|
|
253
|
+
function zs(e) {
|
|
254
254
|
const t = e >>> 0;
|
|
255
|
-
|
|
255
|
+
F = t, U = (e - t) / 4294967296 >>> 0;
|
|
256
256
|
}
|
|
257
257
|
function At(e) {
|
|
258
258
|
if (e < 0) {
|
|
259
|
-
|
|
260
|
-
const [t, r] = jn(
|
|
261
|
-
|
|
262
|
-
} else
|
|
259
|
+
zs(-e);
|
|
260
|
+
const [t, r] = jn(F, U);
|
|
261
|
+
F = t >>> 0, U = r >>> 0;
|
|
262
|
+
} else zs(e);
|
|
263
263
|
}
|
|
264
|
-
function
|
|
265
|
-
const t =
|
|
266
|
-
t.setFloat32(0, +e, !0), U = 0,
|
|
264
|
+
function Cn(e) {
|
|
265
|
+
const t = w2 || (w2 = new DataView(new ArrayBuffer(8)));
|
|
266
|
+
t.setFloat32(0, +e, !0), U = 0, F = t.getUint32(0, !0);
|
|
267
267
|
}
|
|
268
268
|
function gn(e, t) {
|
|
269
269
|
const r = 4294967296 * t + (e >>> 0);
|
|
270
270
|
return Number.isSafeInteger(r) ? r : tr(e, t);
|
|
271
271
|
}
|
|
272
272
|
function A2(e, t) {
|
|
273
|
-
return ce(
|
|
273
|
+
return ce(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
|
-
function
|
|
280
|
-
return
|
|
279
|
+
function Zi(e, t) {
|
|
280
|
+
return Ot() ? ce(BigInt.asIntN(64, (BigInt.asUintN(32, BigInt(t)) << BigInt(32)) + BigInt.asUintN(32, BigInt(e)))) : ce(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,35 +296,35 @@ function Dn(e, t) {
|
|
|
296
296
|
else e = tr(e, t);
|
|
297
297
|
return e;
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function Or(e) {
|
|
300
300
|
if (e.length < 16) At(Number(e));
|
|
301
|
-
else if (
|
|
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
|
-
U =
|
|
304
|
+
U = F = 0;
|
|
305
305
|
const r = e.length;
|
|
306
306
|
for (let n = t, s = (r - t) % 6 + t; s <= r; n = s, s += 6) {
|
|
307
307
|
const i = Number(e.slice(n, s));
|
|
308
|
-
U *= 1e6,
|
|
308
|
+
U *= 1e6, F = 1e6 * F + i, F >= 4294967296 && (U += Math.trunc(F / 4294967296), U >>>= 0, F >>>= 0);
|
|
309
309
|
}
|
|
310
310
|
if (t) {
|
|
311
|
-
const [n, s] = jn(
|
|
312
|
-
|
|
311
|
+
const [n, s] = jn(F, U);
|
|
312
|
+
F = n, U = s;
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
function jn(e, t) {
|
|
317
317
|
return t = ~t, e ? e = 1 + ~e : t += 1, [e, t];
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function we(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, ct = Number.isSafeInteger,
|
|
322
|
+
const or = typeof BigInt == "function" ? BigInt.asIntN : void 0, k2 = typeof BigInt == "function" ? BigInt.asUintN : void 0, ct = Number.isSafeInteger, Mr = Number.isFinite, kt = Math.trunc, S2 = ce(0);
|
|
323
323
|
function $t(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) {
|
|
@@ -343,31 +343,31 @@ function ar(e) {
|
|
|
343
343
|
case "bigint":
|
|
344
344
|
return !0;
|
|
345
345
|
case "number":
|
|
346
|
-
return
|
|
346
|
+
return Mr(e);
|
|
347
347
|
case "string":
|
|
348
348
|
return T2.test(e);
|
|
349
349
|
default:
|
|
350
350
|
return !1;
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function xt(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;
|
|
357
|
-
return
|
|
357
|
+
return Mr(e) ? 0 | e : void 0;
|
|
358
358
|
}
|
|
359
359
|
function to(e) {
|
|
360
360
|
if (e == null) return e;
|
|
361
361
|
if (typeof e == "string" && e) e = +e;
|
|
362
362
|
else if (typeof e != "number") return;
|
|
363
|
-
return
|
|
363
|
+
return Mr(e) ? e >>> 0 : void 0;
|
|
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 : (Or(e), Bn(F, U));
|
|
368
368
|
}
|
|
369
369
|
function Un(e) {
|
|
370
|
-
return e = kt(e), ct(e) || (At(e), e =
|
|
370
|
+
return e = kt(e), ct(e) || (At(e), e = Dn(F, U)), e;
|
|
371
371
|
}
|
|
372
372
|
function no(e) {
|
|
373
373
|
var t = kt(Number(e));
|
|
@@ -375,10 +375,10 @@ function no(e) {
|
|
|
375
375
|
}
|
|
376
376
|
function so(e) {
|
|
377
377
|
var t = kt(Number(e));
|
|
378
|
-
return ct(t) ? ce(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)),
|
|
378
|
+
return ct(t) ? ce(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Ot() ? ce(or(64, BigInt(e))) : ce(ro(e)));
|
|
379
379
|
}
|
|
380
380
|
function io(e) {
|
|
381
|
-
return ct(e) ? e = ce(Un(e)) : (e = kt(e), ct(e) ? e = String(e) : (At(e), e =
|
|
381
|
+
return ct(e) ? e = ce(Un(e)) : (e = kt(e), ct(e) ? e = String(e) : (At(e), e = Bn(F, U)), e = ce(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;
|
|
@@ -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[Et] === wt ? 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: {
|
|
@@ -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 I2 = {};
|
|
422
|
+
let O2 = 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
|
|
468
|
+
const M2 = O2 ? (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,9 +476,9 @@ function $s(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 De = class extends M2 {
|
|
480
480
|
constructor(e, t, r = $s, n = $s) {
|
|
481
|
-
super(), this.J = 0 | e[p], this.K = t, this.S = r, this.fa = this.K ?
|
|
481
|
+
super(), this.J = 0 | e[p], this.K = t, this.S = r, this.fa = this.K ? F2 : n;
|
|
482
482
|
for (let s = 0; s < e.length; s++) {
|
|
483
483
|
const i = e[s], o = r(i[0], !1, !0);
|
|
484
484
|
let a = i[1];
|
|
@@ -497,14 +497,14 @@ var Be = class extends F2 {
|
|
|
497
497
|
entries() {
|
|
498
498
|
if (this.K) {
|
|
499
499
|
var e = super.keys();
|
|
500
|
-
e = new Ws(e,
|
|
500
|
+
e = new Ws(e, x2, this);
|
|
501
501
|
} else e = super.entries();
|
|
502
502
|
return e;
|
|
503
503
|
}
|
|
504
504
|
values() {
|
|
505
505
|
if (this.K) {
|
|
506
506
|
var e = super.keys();
|
|
507
|
-
e = new Ws(e,
|
|
507
|
+
e = new Ws(e, De.prototype.get, this);
|
|
508
508
|
} else e = super.values();
|
|
509
509
|
return e;
|
|
510
510
|
}
|
|
@@ -535,34 +535,34 @@ var Be = class extends F2 {
|
|
|
535
535
|
return this.entries();
|
|
536
536
|
}
|
|
537
537
|
};
|
|
538
|
-
function
|
|
538
|
+
function F2(e, t, r, n, s, i) {
|
|
539
539
|
return e = Vn(e, n, r, i), s && (e = Hn(e)), e;
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function x2(e) {
|
|
542
542
|
return [e, this.get(e)];
|
|
543
543
|
}
|
|
544
|
-
let
|
|
544
|
+
let R2;
|
|
545
545
|
function Xs() {
|
|
546
|
-
return
|
|
546
|
+
return R2 || (R2 = new De(ir([]), void 0, void 0, void 0, I2));
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function Fr(e) {
|
|
549
549
|
return ae ? e[ae] : void 0;
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function Er(e, t) {
|
|
552
552
|
for (const r in e) !isNaN(r) && t(e, +r, e[r]);
|
|
553
553
|
}
|
|
554
|
-
|
|
554
|
+
De.prototype.toJSON = void 0;
|
|
555
555
|
var mn = class {
|
|
556
556
|
};
|
|
557
|
-
const
|
|
558
|
-
function
|
|
557
|
+
const N2 = { Ka: !0 };
|
|
558
|
+
function C2(e, t) {
|
|
559
559
|
t < 100 || bt(f2, 1);
|
|
560
560
|
}
|
|
561
|
-
function
|
|
561
|
+
function xr(e, t, r, n) {
|
|
562
562
|
const s = n !== void 0;
|
|
563
563
|
n = !!n;
|
|
564
564
|
var i, o = ae;
|
|
565
|
-
!s &&
|
|
565
|
+
!s && Mt && o && (i = e[o]) && Er(i, C2), o = [];
|
|
566
566
|
var a = e.length;
|
|
567
567
|
let c;
|
|
568
568
|
i = 4294967295;
|
|
@@ -572,23 +572,23 @@ function Rr(e, t, r, n) {
|
|
|
572
572
|
for (var y = 0; y < a; y++) {
|
|
573
573
|
let b = e[y];
|
|
574
574
|
if (b != null && (b = r(b, n)) != null) if (u && y >= i) {
|
|
575
|
-
const
|
|
576
|
-
(t ?? (t = {}))[
|
|
575
|
+
const C = y - f;
|
|
576
|
+
(t ?? (t = {}))[C] = b;
|
|
577
577
|
} else o[y] = b;
|
|
578
578
|
}
|
|
579
579
|
if (c) for (let b in c) {
|
|
580
580
|
if ((a = c[b]) == null || (a = r(a, n)) == null) continue;
|
|
581
|
-
let
|
|
582
|
-
y = +b, u && !Number.isNaN(y) && (
|
|
583
|
-
}
|
|
584
|
-
return t && (l ? o.push(t) : o[i] = t), s && ae && (e =
|
|
585
|
-
const
|
|
586
|
-
return
|
|
587
|
-
|
|
588
|
-
}),
|
|
581
|
+
let C;
|
|
582
|
+
y = +b, u && !Number.isNaN(y) && (C = y + f) < i ? o[C] = a : (t ?? (t = {}))[b] = a;
|
|
583
|
+
}
|
|
584
|
+
return t && (l ? o.push(t) : o[i] = t), s && ae && (e = Fr(e)) && e instanceof mn && (o[ae] = function(b) {
|
|
585
|
+
const C = new mn();
|
|
586
|
+
return Er(b, (Gt, Te, Xe) => {
|
|
587
|
+
C[Te] = we(Xe);
|
|
588
|
+
}), C.da = b.da, C;
|
|
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) {
|
|
@@ -602,14 +602,14 @@ function nr(e) {
|
|
|
602
602
|
case "object":
|
|
603
603
|
if (Array.isArray(e)) {
|
|
604
604
|
var t = 0 | e[p];
|
|
605
|
-
return e.length === 0 && 1 & t ? void 0 :
|
|
605
|
+
return e.length === 0 && 1 & t ? void 0 : xr(e, t, nr);
|
|
606
606
|
}
|
|
607
|
-
if (e != null && e[
|
|
608
|
-
if (e instanceof
|
|
607
|
+
if (e != null && e[Et] === wt) return ao(e);
|
|
608
|
+
if (e instanceof Oe) {
|
|
609
609
|
if ((t = e.g) == null) e = "";
|
|
610
610
|
else if (typeof t == "string") e = t;
|
|
611
611
|
else {
|
|
612
|
-
if (
|
|
612
|
+
if (Ki) {
|
|
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 De ? 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
|
-
return
|
|
639
|
+
return xr(e = e.v, 0 | e[p], nr);
|
|
640
640
|
}
|
|
641
|
-
let
|
|
641
|
+
let B2, j2;
|
|
642
642
|
function tt(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
|
bt(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,55 +682,55 @@ 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[Et] === wt) return Qs(e);
|
|
686
|
+
if (e instanceof De) {
|
|
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[Et] === wt ? 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
|
-
return e instanceof
|
|
696
|
+
return e instanceof Oe ? 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 = Rt(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 = at), e.m = at, e;
|
|
703
703
|
}
|
|
704
|
-
function
|
|
704
|
+
function Qs(e) {
|
|
705
705
|
const t = e.v, r = 0 | t[p];
|
|
706
|
-
return ue(e, r) ? e : Wn(e, t, r) ? Gn(e, t) :
|
|
706
|
+
return ue(e, r) ? e : Wn(e, t, r) ? Gn(e, t) : Rt(t, r);
|
|
707
707
|
}
|
|
708
|
-
function
|
|
709
|
-
return n ?? (n = !!(34 & t)), e =
|
|
708
|
+
function Rt(e, t, r, n) {
|
|
709
|
+
return n ?? (n = !!(34 & t)), e = xr(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 ue(e, r) ? Wn(e, t, r) ? Gn(e, t, !0) : new e.constructor(
|
|
713
|
+
return ue(e, r) ? Wn(e, t, r) ? Gn(e, t, !0) : new e.constructor(Rt(t, r, !1)) : e;
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function Nt(e) {
|
|
716
716
|
if (e.h !== at) return !1;
|
|
717
717
|
var t = e.v;
|
|
718
|
-
return sr(t =
|
|
718
|
+
return sr(t = Rt(t, 0 | t[p]), 2048), e.v = t, e.h = void 0, e.m = void 0, !0;
|
|
719
719
|
}
|
|
720
|
-
function
|
|
721
|
-
if (!
|
|
720
|
+
function Ct(e) {
|
|
721
|
+
if (!Nt(e) && ue(e, 0 | e.v[p])) throw Error();
|
|
722
722
|
}
|
|
723
723
|
function ht(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 = at, !0);
|
|
728
728
|
}
|
|
729
729
|
const V2 = ce(0), Ge = {};
|
|
730
|
-
function
|
|
731
|
-
if ((t =
|
|
730
|
+
function I(e, t, r, n, s) {
|
|
731
|
+
if ((t = Be(e.v, t, r, s)) !== null || n && e.m !== at) return t;
|
|
732
732
|
}
|
|
733
|
-
function
|
|
733
|
+
function Be(e, t, r, n) {
|
|
734
734
|
if (t === -1) return null;
|
|
735
735
|
const s = t + (r ? 0 : -1), i = e.length - 1;
|
|
736
736
|
let o, a;
|
|
@@ -749,9 +749,9 @@ function De(e, t, r, n) {
|
|
|
749
749
|
}
|
|
750
750
|
}
|
|
751
751
|
function T(e, t, r, n) {
|
|
752
|
-
|
|
752
|
+
Ct(e), K(e = e.v, 0 | e[p], t, r, n);
|
|
753
753
|
}
|
|
754
|
-
function
|
|
754
|
+
function K(e, t, r, n, s) {
|
|
755
755
|
const i = r + (s ? 0 : -1);
|
|
756
756
|
var o = e.length - 1;
|
|
757
757
|
if (o >= 1 + (s ? 0 : -1) && i >= o) {
|
|
@@ -760,16 +760,16 @@ function z(e, t, r, n, s) {
|
|
|
760
760
|
}
|
|
761
761
|
return i <= o ? (e[i] = n, t) : (n !== void 0 && (r >= (o = (t ?? (t = 0 | e[p])) >> 14 & 1023 || 536870912) ? n != null && (e[o + (s ? 0 : -1)] = { [r]: n }) : e[i] = n), t);
|
|
762
762
|
}
|
|
763
|
-
function
|
|
763
|
+
function Ze() {
|
|
764
764
|
return p2 === void 0 ? 2 : 4;
|
|
765
765
|
}
|
|
766
766
|
function et(e, t, r, n, s) {
|
|
767
767
|
let i = e.v, o = 0 | i[p];
|
|
768
|
-
n = ue(e, o) ? 1 : n, s = !!s || n === 3, n === 2 &&
|
|
769
|
-
let a = (e =
|
|
768
|
+
n = ue(e, o) ? 1 : n, s = !!s || n === 3, n === 2 && Nt(e) && (i = e.v, o = 0 | i[p]);
|
|
769
|
+
let a = (e = Kn(i, t)) === ut ? 7 : 0 | e[p], c = qn(a, o);
|
|
770
770
|
var l = !(4 & c);
|
|
771
771
|
if (l) {
|
|
772
|
-
4 & c && (e =
|
|
772
|
+
4 & c && (e = we(e), a = 0, c = nt(c, o), o = K(i, o, t, e));
|
|
773
773
|
let u = 0, f = 0;
|
|
774
774
|
for (; u < e.length; u++) {
|
|
775
775
|
const y = r(e[u]);
|
|
@@ -777,14 +777,14 @@ function et(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) ? rt(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) ? rt(t) || ((t |= !e.length || o && !(4096 & t) || 32 & n && !(4096 & t || 16 & t) ? 2 : 256) !== c && z(e, t), Object.freeze(e)) : (i === 2 && rt(t) && (e = we(e), c = 0, t = nt(t, n), n = K(r, n, s, e)), rt(t) || (a || (t |= 16), t !== c && z(e, t))), 2 & t || !(4096 & t || 16 & t) || ht(r, n), e;
|
|
785
785
|
}
|
|
786
|
-
function
|
|
787
|
-
return e =
|
|
786
|
+
function Kn(e, t, r) {
|
|
787
|
+
return e = Be(e, t, r), Array.isArray(e) ? e : ut;
|
|
788
788
|
}
|
|
789
789
|
function qn(e, t) {
|
|
790
790
|
return 2 & t && (e |= 2), 1 | e;
|
|
@@ -793,38 +793,38 @@ function rt(e) {
|
|
|
793
793
|
return !!(2 & e) && !!(4 & e) || !!(256 & e);
|
|
794
794
|
}
|
|
795
795
|
function ho(e) {
|
|
796
|
-
return
|
|
796
|
+
return Nn(e, !0);
|
|
797
797
|
}
|
|
798
798
|
function lo(e) {
|
|
799
|
-
e =
|
|
799
|
+
e = we(e);
|
|
800
800
|
for (let t = 0; t < e.length; t++) {
|
|
801
|
-
const r = e[t] =
|
|
801
|
+
const r = e[t] = we(e[t]);
|
|
802
802
|
Array.isArray(r[1]) && (r[1] = ir(r[1]));
|
|
803
803
|
}
|
|
804
804
|
return er(e);
|
|
805
805
|
}
|
|
806
806
|
function We(e, t, r, n) {
|
|
807
|
-
|
|
807
|
+
Ct(e), K(e = e.v, 0 | e[p], t, (n === "0" ? Number(r) === 0 : r === n) ? void 0 : r);
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function Dt(e, t, r) {
|
|
810
810
|
if (2 & t) throw Error();
|
|
811
|
-
const n =
|
|
812
|
-
let s =
|
|
813
|
-
return (2 & o || rt(o) || 16 & o) && (o === i || rt(o) ||
|
|
811
|
+
const n = Ft(t);
|
|
812
|
+
let s = Kn(e, r, n), i = s === ut ? 7 : 0 | s[p], o = qn(i, t);
|
|
813
|
+
return (2 & o || rt(o) || 16 & o) && (o === i || rt(o) || z(s, o), s = we(s), i = 0, o = nt(o, t), K(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
|
-
return Yn(
|
|
817
|
+
return Yn(zn(e = e.v), e, void 0, r) === t ? t : -1;
|
|
818
818
|
}
|
|
819
|
-
function
|
|
820
|
-
if (
|
|
819
|
+
function zn(e) {
|
|
820
|
+
if (Mt) 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;
|
|
824
824
|
}
|
|
825
825
|
function fo(e, t, r, n, s) {
|
|
826
|
-
const i =
|
|
827
|
-
return o !== n && (o && (t =
|
|
826
|
+
const i = zn(e), o = Yn(i, e, t, r, s);
|
|
827
|
+
return o !== n && (o && (t = K(e, t, o, void 0, s)), i.set(r, n)), t;
|
|
828
828
|
}
|
|
829
829
|
function Yn(e, t, r, n, s) {
|
|
830
830
|
let i = e.get(n);
|
|
@@ -832,27 +832,27 @@ function Yn(e, t, r, n, s) {
|
|
|
832
832
|
i = 0;
|
|
833
833
|
for (let o = 0; o < n.length; o++) {
|
|
834
834
|
const a = n[o];
|
|
835
|
-
|
|
835
|
+
Be(t, a, s) != null && (i !== 0 && (r = K(t, r, i, void 0, s)), i = a);
|
|
836
836
|
}
|
|
837
837
|
return e.set(n, i), i;
|
|
838
838
|
}
|
|
839
839
|
function $n(e, t, r) {
|
|
840
840
|
let n = 0 | e[p];
|
|
841
|
-
const s =
|
|
841
|
+
const s = Ft(n), i = Be(e, r, s);
|
|
842
842
|
let o;
|
|
843
|
-
if (i != null && i[
|
|
844
|
-
if (!ue(i)) return
|
|
843
|
+
if (i != null && i[Et] === wt) {
|
|
844
|
+
if (!ue(i)) return Nt(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 = Rt(o, a));
|
|
850
850
|
}
|
|
851
|
-
return o = tt(o, t), o !== i &&
|
|
851
|
+
return o = tt(o, t), o !== i && K(e, n, r, o, s), o;
|
|
852
852
|
}
|
|
853
853
|
function po(e, t, r, n, s) {
|
|
854
854
|
let i = !1;
|
|
855
|
-
if ((n =
|
|
855
|
+
if ((n = Be(e, n, s, (o) => {
|
|
856
856
|
const a = Vn(o, r, !1, t);
|
|
857
857
|
return i = a !== o && a != null, a;
|
|
858
858
|
})) != null) return i && !ue(n) && ht(e, t), n;
|
|
@@ -862,40 +862,40 @@ function k(e, t, r, n) {
|
|
|
862
862
|
if ((t = po(s, i, t, r, n)) == null) return t;
|
|
863
863
|
if (i = 0 | s[p], !ue(e, i)) {
|
|
864
864
|
const o = Hn(t);
|
|
865
|
-
o !== t && (
|
|
865
|
+
o !== t && (Nt(e) && (s = e.v, i = 0 | s[p]), i = K(s, i, r, t = o, n), ht(s, i));
|
|
866
866
|
}
|
|
867
867
|
return t;
|
|
868
868
|
}
|
|
869
869
|
function go(e, t, r, n, s, i, o, a) {
|
|
870
870
|
var c = ue(e, r);
|
|
871
|
-
i = c ? 1 : i, o = !!o || i === 3, c = a && !c, (i === 2 || c) &&
|
|
872
|
-
var l = (e =
|
|
871
|
+
i = c ? 1 : i, o = !!o || i === 3, c = a && !c, (i === 2 || c) && Nt(e) && (r = 0 | (t = e.v)[p]);
|
|
872
|
+
var l = (e = Kn(t, s)) === ut ? 7 : 0 | e[p], u = qn(l, r);
|
|
873
873
|
if (a = !(4 & u)) {
|
|
874
874
|
var f = e, y = r;
|
|
875
875
|
const b = !!(2 & u);
|
|
876
876
|
b && (y |= 2);
|
|
877
|
-
let
|
|
877
|
+
let C = !b, Gt = !0, Te = 0, Xe = 0;
|
|
878
878
|
for (; Te < f.length; Te++) {
|
|
879
879
|
const Ht = Vn(f[Te], n, !1, y);
|
|
880
880
|
if (Ht instanceof n) {
|
|
881
881
|
if (!b) {
|
|
882
882
|
const fr = ue(Ht);
|
|
883
|
-
|
|
883
|
+
C && (C = !fr), Gt && (Gt = fr);
|
|
884
884
|
}
|
|
885
885
|
f[Xe++] = Ht;
|
|
886
886
|
}
|
|
887
887
|
}
|
|
888
|
-
Xe < Te && (f.length = Xe), u |= 4, u = Gt ? -4097 & u : 4096 | u, u =
|
|
888
|
+
Xe < Te && (f.length = Xe), u |= 4, u = Gt ? -4097 & u : 4096 | u, u = C ? 8 | u : -9 & u;
|
|
889
889
|
}
|
|
890
|
-
if (u !== l && (
|
|
891
|
-
for (rt(u) && (e =
|
|
892
|
-
c |= 8,
|
|
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
|
+
for (rt(u) && (e = we(e), u = nt(u, r), r = K(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, 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
|
}
|
|
896
896
|
function je(e, t, r) {
|
|
897
897
|
const n = e.v;
|
|
898
|
-
return go(e, n, 0 | n[p], t, r,
|
|
898
|
+
return go(e, n, 0 | n[p], t, r, Ze(), !1, !0);
|
|
899
899
|
}
|
|
900
900
|
function mo(e) {
|
|
901
901
|
return e == null && (e = void 0), e;
|
|
@@ -906,15 +906,15 @@ function v(e, t, r, n, s) {
|
|
|
906
906
|
function Xt(e, t, r, n) {
|
|
907
907
|
e: {
|
|
908
908
|
var s = n = mo(n);
|
|
909
|
-
|
|
909
|
+
Ct(e);
|
|
910
910
|
const i = e.v;
|
|
911
911
|
let o = 0 | i[p];
|
|
912
912
|
if (s == null) {
|
|
913
|
-
const a =
|
|
913
|
+
const a = zn(i);
|
|
914
914
|
if (Yn(a, i, o, r) !== t) break e;
|
|
915
915
|
a.set(r, 0);
|
|
916
916
|
} else o = fo(i, o, r, t);
|
|
917
|
-
|
|
917
|
+
K(i, o, t, s);
|
|
918
918
|
}
|
|
919
919
|
n && !ue(n) && ht(e.v);
|
|
920
920
|
}
|
|
@@ -923,20 +923,20 @@ function nt(e, t) {
|
|
|
923
923
|
}
|
|
924
924
|
function Xn(e, t, r, n) {
|
|
925
925
|
var s = n;
|
|
926
|
-
|
|
926
|
+
Ct(e), e = go(e, n = e.v, 0 | n[p], r, t, 2, !0), s = s ?? new r(), e.push(s), t = r = e === ut ? 7 : 0 | e[p], (s = ue(s)) ? (r &= -9, e.length === 1 && (r &= -4097)) : r |= 4096, r !== t && z(e, r), s || ht(n);
|
|
927
927
|
}
|
|
928
928
|
function ve(e, t, r) {
|
|
929
|
-
return
|
|
929
|
+
return xt(I(e, t, void 0, r));
|
|
930
930
|
}
|
|
931
931
|
function _o(e) {
|
|
932
|
-
return (
|
|
932
|
+
return (Fn ? 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 Ue(e, t, r) {
|
|
938
938
|
if (r != null) {
|
|
939
|
-
if (typeof r != "number" || !
|
|
939
|
+
if (typeof r != "number" || !Mr(r)) throw fn("int32");
|
|
940
940
|
r |= 0;
|
|
941
941
|
}
|
|
942
942
|
T(e, t, r);
|
|
@@ -947,24 +947,24 @@ function _(e, t, r) {
|
|
|
947
947
|
function he(e, t, r) {
|
|
948
948
|
We(e, t, cr(r), "");
|
|
949
949
|
}
|
|
950
|
-
function
|
|
950
|
+
function wr(e, t, r) {
|
|
951
951
|
{
|
|
952
|
-
|
|
952
|
+
Ct(e);
|
|
953
953
|
const o = e.v;
|
|
954
954
|
let a = 0 | o[p];
|
|
955
|
-
if (r == null)
|
|
955
|
+
if (r == null) K(o, a, t);
|
|
956
956
|
else {
|
|
957
957
|
var n = e = r === ut ? 7 : 0 | r[p], s = rt(e), i = s || Object.isFrozen(r);
|
|
958
|
-
for (s || (e = 0), i || (r =
|
|
958
|
+
for (s || (e = 0), i || (r = we(r), n = 0, e = nt(e, a), i = !1), e |= 5, e |= (4 & e ? 512 & e ? 512 : 1024 & e ? 1024 : 0 : void 0) ?? (Fn ? 1024 : 0), s = 0; s < r.length; s++) {
|
|
959
959
|
const c = r[s], l = oo(c);
|
|
960
|
-
Object.is(c, l) || (i && (r =
|
|
960
|
+
Object.is(c, l) || (i && (r = we(r), n = 0, e = nt(e, a), i = !1), r[s] = l);
|
|
961
961
|
}
|
|
962
|
-
e !== n && (i && (r =
|
|
962
|
+
e !== n && (i && (r = we(r), e = nt(e, a)), z(r, e)), K(o, a, t, r);
|
|
963
963
|
}
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
|
-
function
|
|
967
|
-
|
|
966
|
+
function Rr(e, t, r) {
|
|
967
|
+
Ct(e), et(e, t, Q, 2, !0).push(oo(r));
|
|
968
968
|
}
|
|
969
969
|
var dt = class {
|
|
970
970
|
constructor(e, t, r) {
|
|
@@ -977,7 +977,7 @@ function Jn(e, t) {
|
|
|
977
977
|
if (Array.isArray(e)) return new dt(new Uint8Array(e), t);
|
|
978
978
|
if (e.constructor === Uint8Array) return new dt(e, !1);
|
|
979
979
|
if (e.constructor === ArrayBuffer) return e = new Uint8Array(e), new dt(e, !1);
|
|
980
|
-
if (e.constructor ===
|
|
980
|
+
if (e.constructor === Oe) return t = Rn(e) || new Uint8Array(0), new dt(t, !0, e);
|
|
981
981
|
if (e instanceof Uint8Array) return e = e.constructor === Uint8Array ? e : new Uint8Array(e.buffer, e.byteOffset, e.byteLength), new dt(e, !1);
|
|
982
982
|
throw Error();
|
|
983
983
|
}
|
|
@@ -992,7 +992,7 @@ function St(e, t) {
|
|
|
992
992
|
if (st(e, a), !(128 & r)) return t(n >>> 0, s >>> 0);
|
|
993
993
|
throw Error();
|
|
994
994
|
}
|
|
995
|
-
function
|
|
995
|
+
function Qn(e) {
|
|
996
996
|
let t = 0, r = e.g;
|
|
997
997
|
const n = r + 10, s = e.h;
|
|
998
998
|
for (; r < n; ) {
|
|
@@ -1001,14 +1001,14 @@ function Zn(e) {
|
|
|
1001
1001
|
}
|
|
1002
1002
|
throw Error();
|
|
1003
1003
|
}
|
|
1004
|
-
function
|
|
1004
|
+
function ze(e) {
|
|
1005
1005
|
const t = e.h;
|
|
1006
1006
|
let r = e.g, n = t[r++], s = 127 & n;
|
|
1007
1007
|
if (128 & n && (n = t[r++], s |= (127 & n) << 7, 128 & n && (n = t[r++], s |= (127 & n) << 14, 128 & n && (n = t[r++], s |= (127 & n) << 21, 128 & n && (n = t[r++], s |= n << 28, 128 & n && 128 & t[r++] && 128 & t[r++] && 128 & t[r++] && 128 & t[r++] && 128 & t[r++]))))) throw Error();
|
|
1008
1008
|
return st(e, r), s;
|
|
1009
1009
|
}
|
|
1010
1010
|
function Ve(e) {
|
|
1011
|
-
return
|
|
1011
|
+
return ze(e) >>> 0;
|
|
1012
1012
|
}
|
|
1013
1013
|
function Ar(e) {
|
|
1014
1014
|
var t = e.h;
|
|
@@ -1018,7 +1018,7 @@ function Ar(e) {
|
|
|
1018
1018
|
return t = t[r + 3], st(e, e.g + 4), e = 2 * ((s = (n << 0 | s << 8 | i << 16 | t << 24) >>> 0) >> 31) + 1, n = s >>> 23 & 255, s &= 8388607, n == 255 ? s ? NaN : e * (1 / 0) : n == 0 ? 1401298464324817e-60 * e * s : e * Math.pow(2, n - 150) * (s + 8388608);
|
|
1019
1019
|
}
|
|
1020
1020
|
function G2(e) {
|
|
1021
|
-
return
|
|
1021
|
+
return ze(e);
|
|
1022
1022
|
}
|
|
1023
1023
|
function st(e, t) {
|
|
1024
1024
|
if (e.g = t, t > e.l) throw Error();
|
|
@@ -1032,9 +1032,9 @@ function yo(e, t) {
|
|
|
1032
1032
|
function vo(e, t) {
|
|
1033
1033
|
if (t == 0) return ot();
|
|
1034
1034
|
var r = yo(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) : E2 ? e.slice(r, t) : new Uint8Array(e.subarray(r, t))), r.length == 0 ? ot() : new Oe(r, vt);
|
|
1036
1036
|
}
|
|
1037
|
-
var
|
|
1037
|
+
var Zs = [];
|
|
1038
1038
|
function bo(e, t, r, n) {
|
|
1039
1039
|
if (kr.length) {
|
|
1040
1040
|
const s = kr.pop();
|
|
@@ -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 Eo(e) {
|
|
1046
1046
|
e.g.clear(), e.l = -1, e.h = -1, kr.length < 100 && kr.push(e);
|
|
1047
1047
|
}
|
|
1048
|
-
function
|
|
1048
|
+
function wo(e) {
|
|
1049
1049
|
var t = e.g;
|
|
1050
1050
|
if (t.g == t.l) return !1;
|
|
1051
1051
|
e.m = e.g.g;
|
|
@@ -1056,7 +1056,7 @@ function Eo(e) {
|
|
|
1056
1056
|
function yr(e) {
|
|
1057
1057
|
switch (e.h) {
|
|
1058
1058
|
case 0:
|
|
1059
|
-
e.h != 0 ? yr(e) :
|
|
1059
|
+
e.h != 0 ? yr(e) : Qn(e.g);
|
|
1060
1060
|
break;
|
|
1061
1061
|
case 1:
|
|
1062
1062
|
st(e = e.g, e.g + 8);
|
|
@@ -1073,7 +1073,7 @@ function yr(e) {
|
|
|
1073
1073
|
break;
|
|
1074
1074
|
case 3:
|
|
1075
1075
|
for (t = e.l; ; ) {
|
|
1076
|
-
if (!
|
|
1076
|
+
if (!wo(e)) throw Error();
|
|
1077
1077
|
if (e.h == 4) {
|
|
1078
1078
|
if (e.l != t) throw Error();
|
|
1079
1079
|
break;
|
|
@@ -1092,7 +1092,7 @@ function ur(e, t, r) {
|
|
|
1092
1092
|
if (i <= 0 && (e.g.l = s, r(t, e, void 0, void 0, void 0), i = s - e.g.g), i) throw Error();
|
|
1093
1093
|
return e.g.g = s, e.g.l = n, t;
|
|
1094
1094
|
}
|
|
1095
|
-
function
|
|
1095
|
+
function Zn(e) {
|
|
1096
1096
|
var t = Ve(e.g), r = yo(e = e.g, t);
|
|
1097
1097
|
if (e = e.h, e2) {
|
|
1098
1098
|
var n, s = e;
|
|
@@ -1118,9 +1118,9 @@ function Qn(e) {
|
|
|
1118
1118
|
let a, c = null;
|
|
1119
1119
|
for (; i < t; ) {
|
|
1120
1120
|
var o = e[i++];
|
|
1121
|
-
o < 128 ? r.push(o) : o < 224 ? i >= t ? Je() : (a = e[i++], o < 194 || (192 & a) != 128 ? (i--, Je()) : r.push((31 & o) << 6 | 63 & a)) : o < 240 ? i >= t - 1 ? Je() : (a = e[i++], (192 & a) != 128 || o === 224 && a < 160 || o === 237 && a >= 160 || (192 & (n = e[i++])) != 128 ? (i--, Je()) : r.push((15 & o) << 12 | (63 & a) << 6 | 63 & n)) : o <= 244 ? i >= t - 2 ? Je() : (a = e[i++], (192 & a) != 128 || a - 144 + (o << 28) >> 30 || (192 & (n = e[i++])) != 128 || (192 & (s = e[i++])) != 128 ? (i--, Je()) : (o = (7 & o) << 18 | (63 & a) << 12 | (63 & n) << 6 | 63 & s, o -= 65536, r.push(55296 + (o >> 10 & 1023), 56320 + (1023 & o)))) : Je(), r.length >= 8192 && (c =
|
|
1121
|
+
o < 128 ? r.push(o) : o < 224 ? i >= t ? Je() : (a = e[i++], o < 194 || (192 & a) != 128 ? (i--, Je()) : r.push((31 & o) << 6 | 63 & a)) : o < 240 ? i >= t - 1 ? Je() : (a = e[i++], (192 & a) != 128 || o === 224 && a < 160 || o === 237 && a >= 160 || (192 & (n = e[i++])) != 128 ? (i--, Je()) : r.push((15 & o) << 12 | (63 & a) << 6 | 63 & n)) : o <= 244 ? i >= t - 2 ? Je() : (a = e[i++], (192 & a) != 128 || a - 144 + (o << 28) >> 30 || (192 & (n = e[i++])) != 128 || (192 & (s = e[i++])) != 128 ? (i--, Je()) : (o = (7 & o) << 18 | (63 & a) << 12 | (63 & n) << 6 | 63 & s, o -= 65536, r.push(55296 + (o >> 10 & 1023), 56320 + (1023 & o)))) : Je(), r.length >= 8192 && (c = Cs(c, r), r.length = 0);
|
|
1122
1122
|
}
|
|
1123
|
-
i =
|
|
1123
|
+
i = Cs(c, r);
|
|
1124
1124
|
}
|
|
1125
1125
|
return i;
|
|
1126
1126
|
}
|
|
@@ -1128,14 +1128,14 @@ function Ao(e) {
|
|
|
1128
1128
|
const t = Ve(e.g);
|
|
1129
1129
|
return vo(e.g, t);
|
|
1130
1130
|
}
|
|
1131
|
-
function
|
|
1131
|
+
function Nr(e, t, r) {
|
|
1132
1132
|
var n = Ve(e.g);
|
|
1133
1133
|
for (n = e.g.g + n; e.g.g < n; ) r.push(t(e.g));
|
|
1134
1134
|
}
|
|
1135
1135
|
var H2 = class {
|
|
1136
1136
|
constructor(e, t, r, n) {
|
|
1137
|
-
if (
|
|
1138
|
-
const s =
|
|
1137
|
+
if (Zs.length) {
|
|
1138
|
+
const s = Zs.pop();
|
|
1139
1139
|
s.init(e, t, r, n), e = s;
|
|
1140
1140
|
} else e = new class {
|
|
1141
1141
|
constructor(s, i, o, a) {
|
|
@@ -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) ? (Or(e), new _n(F, U)) : null : W2 || (W2 = new _n(0, 0));
|
|
1159
1159
|
}
|
|
1160
1160
|
var _n = class {
|
|
1161
1161
|
constructor(e, t) {
|
|
@@ -1164,38 +1164,38 @@ var _n = class {
|
|
|
1164
1164
|
};
|
|
1165
1165
|
let W2;
|
|
1166
1166
|
function ti(e) {
|
|
1167
|
-
return e ? /^-?\d+$/.test(e) ? (
|
|
1167
|
+
return e ? /^-?\d+$/.test(e) ? (Or(e), new yn(F, U)) : null : K2 || (K2 = new yn(0, 0));
|
|
1168
1168
|
}
|
|
1169
1169
|
var yn = class {
|
|
1170
1170
|
constructor(e, t) {
|
|
1171
1171
|
this.h = e >>> 0, this.g = t >>> 0;
|
|
1172
1172
|
}
|
|
1173
1173
|
};
|
|
1174
|
-
let
|
|
1174
|
+
let K2;
|
|
1175
1175
|
function mt(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 Bt(e, t) {
|
|
1180
1180
|
for (; t > 127; ) e.g.push(127 & t | 128), t >>>= 7;
|
|
1181
1181
|
e.g.push(t);
|
|
1182
1182
|
}
|
|
1183
|
-
function
|
|
1184
|
-
if (t >= 0)
|
|
1183
|
+
function Cr(e, t) {
|
|
1184
|
+
if (t >= 0) Bt(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);
|
|
1188
1188
|
}
|
|
1189
1189
|
}
|
|
1190
1190
|
function es(e) {
|
|
1191
|
-
var t =
|
|
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
1194
|
function Tt(e, t) {
|
|
1195
1195
|
t.length !== 0 && (e.l.push(t), e.h += t.length);
|
|
1196
1196
|
}
|
|
1197
1197
|
function be(e, t, r) {
|
|
1198
|
-
|
|
1198
|
+
Bt(e.g, 8 * t + r);
|
|
1199
1199
|
}
|
|
1200
1200
|
function ts(e, t) {
|
|
1201
1201
|
return be(e, t, 2), t = e.g.end(), Tt(e, t), t.push(e.h), t;
|
|
@@ -1205,13 +1205,13 @@ function rs(e, t) {
|
|
|
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
|
-
be(e, t, 2),
|
|
1208
|
+
function Dr(e, t, r) {
|
|
1209
|
+
be(e, t, 2), Bt(e.g, r.length), Tt(e, e.g.end()), Tt(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));
|
|
1213
1213
|
}
|
|
1214
|
-
function
|
|
1214
|
+
function Fe() {
|
|
1215
1215
|
const e = class {
|
|
1216
1216
|
constructor() {
|
|
1217
1217
|
throw Error();
|
|
@@ -1219,8 +1219,8 @@ function Me() {
|
|
|
1219
1219
|
};
|
|
1220
1220
|
return Object.setPrototypeOf(e, e.prototype), e;
|
|
1221
1221
|
}
|
|
1222
|
-
var ns =
|
|
1223
|
-
function
|
|
1222
|
+
var ns = Fe(), ko = Fe(), ss = Fe(), is = Fe(), So = Fe(), To = Fe(), q2 = Fe(), Br = Fe(), Lo = Fe(), Po = Fe();
|
|
1223
|
+
function xe(e, t, r) {
|
|
1224
1224
|
var n = e.v;
|
|
1225
1225
|
ae && ae in n && (n = n[ae]) && 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
|
}
|
|
@@ -1234,8 +1234,8 @@ var g = class {
|
|
|
1234
1234
|
j() {
|
|
1235
1235
|
var s;
|
|
1236
1236
|
var e = P1, t = this.v, r = e.g, n = ae;
|
|
1237
|
-
if (
|
|
1238
|
-
n(r, t,
|
|
1237
|
+
if (Mt && n && ((s = t[n]) == null ? void 0 : s[r]) != null && bt(l2, 3), t = e.g, Gs && ae && Gs === void 0 && (n = (r = this.v)[ae]) && (n = n.da)) try {
|
|
1238
|
+
n(r, t, N2);
|
|
1239
1239
|
} catch (i) {
|
|
1240
1240
|
Gi(i);
|
|
1241
1241
|
}
|
|
@@ -1243,10 +1243,10 @@ 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(Rt(e, t, !1));
|
|
1247
1247
|
}
|
|
1248
1248
|
};
|
|
1249
|
-
g.prototype[
|
|
1249
|
+
g.prototype[Et] = wt, g.prototype.toString = function() {
|
|
1250
1250
|
return this.v.toString();
|
|
1251
1251
|
};
|
|
1252
1252
|
var jt = class {
|
|
@@ -1257,23 +1257,23 @@ var jt = class {
|
|
|
1257
1257
|
function jr(e, t) {
|
|
1258
1258
|
return new jt(e, t, ns);
|
|
1259
1259
|
}
|
|
1260
|
-
function
|
|
1261
|
-
Sr(e, r,
|
|
1260
|
+
function Io(e, t, r, n, s) {
|
|
1261
|
+
Sr(e, r, xo(t, n), s);
|
|
1262
1262
|
}
|
|
1263
|
-
const
|
|
1263
|
+
const z2 = jr(function(e, t, r, n, s) {
|
|
1264
1264
|
return e.h === 2 && (ur(e, $n(t, n, r), s), !0);
|
|
1265
|
-
},
|
|
1265
|
+
}, Io), Y2 = jr(function(e, t, r, n, s) {
|
|
1266
1266
|
return e.h === 2 && (ur(e, $n(t, n, r), s), !0);
|
|
1267
|
-
},
|
|
1267
|
+
}, Io);
|
|
1268
1268
|
var Ur = Symbol(), Vr = Symbol(), vn = Symbol(), ri = Symbol(), ni = Symbol();
|
|
1269
|
-
let
|
|
1269
|
+
let Oo, Mo;
|
|
1270
1270
|
function lt(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 lt(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, Oo ?? (Oo = i), Mo ?? (Mo = 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 lt(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 jt ? f = i : (f =
|
|
1297
|
+
if (i instanceof jt ? 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;
|
|
@@ -1306,10 +1306,10 @@ function lt(e, t, r, n) {
|
|
|
1306
1306
|
}
|
|
1307
1307
|
return n[e] = s;
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1309
|
+
function Fo(e) {
|
|
1310
1310
|
return Array.isArray(e) ? e[0] instanceof jt ? e : [Y2, e] : [e, void 0];
|
|
1311
1311
|
}
|
|
1312
|
-
function
|
|
1312
|
+
function xo(e, t) {
|
|
1313
1313
|
return e instanceof g ? e.v : Array.isArray(e) ? tt(e, t) : void 0;
|
|
1314
1314
|
}
|
|
1315
1315
|
function os(e, t, r, n) {
|
|
@@ -1325,8 +1325,8 @@ function cs(e) {
|
|
|
1325
1325
|
let t = e[vn];
|
|
1326
1326
|
if (t != null) return t;
|
|
1327
1327
|
const r = lt(Vr, os, as, e);
|
|
1328
|
-
return t = r.ma ? (n, s) =>
|
|
1329
|
-
for (;
|
|
1328
|
+
return t = r.ma ? (n, s) => Oo(n, s, r) : (n, s) => {
|
|
1329
|
+
for (; wo(s) && s.h != 4; ) {
|
|
1330
1330
|
var i = s.l, o = r[i];
|
|
1331
1331
|
if (o == null) {
|
|
1332
1332
|
var a = r.ba;
|
|
@@ -1338,12 +1338,12 @@ function cs(e) {
|
|
|
1338
1338
|
o = void 0, a = n, c && ((o = a[ae] ?? (a[ae] = new mn()))[i] ?? (o[i] = [])).push(c);
|
|
1339
1339
|
}
|
|
1340
1340
|
}
|
|
1341
|
-
return (n =
|
|
1341
|
+
return (n = Fr(n)) && (n.da = r.qa[ni]), !0;
|
|
1342
1342
|
}, e[vn] = t, e[ni] = $2.bind(e), t;
|
|
1343
1343
|
}
|
|
1344
1344
|
function $2(e, t, r, n) {
|
|
1345
1345
|
var s = this[Vr];
|
|
1346
|
-
const i = this[vn], o = tt(void 0, s.T), a =
|
|
1346
|
+
const i = this[vn], o = tt(void 0, s.T), a = Fr(e);
|
|
1347
1347
|
if (a) {
|
|
1348
1348
|
var c = !1, l = s.ba;
|
|
1349
1349
|
if (l) {
|
|
@@ -1353,11 +1353,11 @@ function $2(e, t, r, n) {
|
|
|
1353
1353
|
try {
|
|
1354
1354
|
c = !0, i(o, u);
|
|
1355
1355
|
} finally {
|
|
1356
|
-
|
|
1356
|
+
Eo(u);
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
1359
|
else n == null || n(e, f, y);
|
|
1360
|
-
}, t == null)
|
|
1360
|
+
}, t == null) Er(a, s);
|
|
1361
1361
|
else if (a != null) {
|
|
1362
1362
|
const u = a[t];
|
|
1363
1363
|
u && s(a, t, u);
|
|
@@ -1365,22 +1365,22 @@ function $2(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 =
|
|
1369
|
-
if (
|
|
1368
|
+
const f = Ft(u), y = (b, C) => {
|
|
1369
|
+
if (Be(e, b, f) != null) {
|
|
1370
1370
|
if ((r == null ? void 0 : r.Qa) === 1) return;
|
|
1371
1371
|
throw Error();
|
|
1372
1372
|
}
|
|
1373
|
-
|
|
1373
|
+
C != null && (u = K(e, u, b, C, f)), delete a[b];
|
|
1374
1374
|
};
|
|
1375
|
-
t == null ? Ji(o, 0 | o[p], (b,
|
|
1376
|
-
y(b,
|
|
1377
|
-
}) : y(t,
|
|
1375
|
+
t == null ? Ji(o, 0 | o[p], (b, C) => {
|
|
1376
|
+
y(b, C);
|
|
1377
|
+
}) : y(t, Be(o, t, f));
|
|
1378
1378
|
}
|
|
1379
1379
|
}
|
|
1380
1380
|
}
|
|
1381
1381
|
}
|
|
1382
1382
|
function X2(e) {
|
|
1383
|
-
const t = (e =
|
|
1383
|
+
const t = (e = Fo(e))[0].g;
|
|
1384
1384
|
if (e = e[1]) {
|
|
1385
1385
|
const r = cs(e), n = lt(Vr, os, as, e).T;
|
|
1386
1386
|
return (s, i, o) => t(s, i, o, n, r);
|
|
@@ -1393,35 +1393,35 @@ function Gr(e, t, r) {
|
|
|
1393
1393
|
function Hr(e, t, r, n) {
|
|
1394
1394
|
let s, i;
|
|
1395
1395
|
const o = r.h;
|
|
1396
|
-
e[t] = (a, c, l) => o(a, c, l, i || (i = lt(Ur, Gr, Hr, n).T), s || (s =
|
|
1396
|
+
e[t] = (a, c, l) => o(a, c, l, i || (i = lt(Ur, Gr, Hr, n).T), s || (s = Ro(n)));
|
|
1397
1397
|
}
|
|
1398
|
-
function
|
|
1398
|
+
function Ro(e) {
|
|
1399
1399
|
let t = e[ri];
|
|
1400
1400
|
if (!t) {
|
|
1401
1401
|
const r = lt(Ur, Gr, Hr, e);
|
|
1402
|
-
t = (n, s) =>
|
|
1402
|
+
t = (n, s) => No(n, s, r), e[ri] = t;
|
|
1403
1403
|
}
|
|
1404
1404
|
return t;
|
|
1405
1405
|
}
|
|
1406
|
-
function
|
|
1406
|
+
function No(e, t, r) {
|
|
1407
1407
|
Ji(e, 0 | e[p], (n, s) => {
|
|
1408
1408
|
if (s != null) {
|
|
1409
1409
|
var i = function(o, a) {
|
|
1410
1410
|
var c = o[a];
|
|
1411
1411
|
if (c) return c;
|
|
1412
1412
|
if ((c = o.ba) && (c = c[a])) {
|
|
1413
|
-
var l = (c =
|
|
1413
|
+
var l = (c = Fo(c))[0].h;
|
|
1414
1414
|
if (c = c[1]) {
|
|
1415
|
-
const u =
|
|
1416
|
-
c = o.ma ?
|
|
1415
|
+
const u = Ro(c), f = lt(Ur, Gr, Hr, c).T;
|
|
1416
|
+
c = o.ma ? Mo(f, u) : (y, b, C) => l(y, b, C, f, u);
|
|
1417
1417
|
} else c = l;
|
|
1418
1418
|
return o[a] = c;
|
|
1419
1419
|
}
|
|
1420
1420
|
}(r, n);
|
|
1421
1421
|
i ? i(t, s, n) : n < 500 || bt(dn, 3);
|
|
1422
1422
|
}
|
|
1423
|
-
}), (e =
|
|
1424
|
-
for (Tt(t, t.g.end()), n = 0; n < i.length; n++) Tt(t,
|
|
1423
|
+
}), (e = Fr(e)) && Er(e, (n, s, i) => {
|
|
1424
|
+
for (Tt(t, t.g.end()), n = 0; n < i.length; n++) Tt(t, Rn(i[n]) || new Uint8Array(0));
|
|
1425
1425
|
});
|
|
1426
1426
|
}
|
|
1427
1427
|
const J2 = ce(0);
|
|
@@ -1433,7 +1433,7 @@ function Ut(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 ee(e, t, r) {
|
|
@@ -1443,20 +1443,20 @@ function Vt(e, t, r) {
|
|
|
1443
1443
|
return new jt(e, t, r);
|
|
1444
1444
|
}
|
|
1445
1445
|
function J(e, t, r) {
|
|
1446
|
-
|
|
1446
|
+
K(e, 0 | e[p], t, r, Ft(0 | e[p]));
|
|
1447
1447
|
}
|
|
1448
|
-
var
|
|
1448
|
+
var Q2 = jr(function(e, t, r, n, s) {
|
|
1449
1449
|
if (e.h !== 2) return !1;
|
|
1450
|
-
if (e =
|
|
1451
|
-
let i =
|
|
1452
|
-
if (i instanceof
|
|
1450
|
+
if (e = we(e = ur(e, tt([void 0, void 0], n), s)), s = Ft(n = 0 | t[p]), 2 & n) throw Error();
|
|
1451
|
+
let i = Be(t, r, s);
|
|
1452
|
+
if (i instanceof De) 2 & i.J ? (i = i.V(), i.push(e), K(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 ||
|
|
1456
|
-
} else
|
|
1455
|
+
8192 & o || z(i, o |= 8192), 2 & o && (i = lo(i), K(t, n, r, i, s)), i.push(e);
|
|
1456
|
+
} else K(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 De) t.forEach((i, o) => {
|
|
1460
1460
|
Sr(e, r, tt([o, i], n), s);
|
|
1461
1461
|
});
|
|
1462
1462
|
else if (Array.isArray(t)) {
|
|
@@ -1467,10 +1467,10 @@ var Z2 = jr(function(e, t, r, n, s) {
|
|
|
1467
1467
|
er(t);
|
|
1468
1468
|
}
|
|
1469
1469
|
});
|
|
1470
|
-
function
|
|
1471
|
-
(t =
|
|
1470
|
+
function Co(e, t, r) {
|
|
1471
|
+
(t = Ie(t)) != null && (be(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,7 +1482,7 @@ function Bo(e, t, r) {
|
|
|
1482
1482
|
}(t), t != null && (typeof t == "string" && ti(t), t != null))
|
|
1483
1483
|
switch (be(e, r, 0), typeof t) {
|
|
1484
1484
|
case "number":
|
|
1485
|
-
e = e.g, At(t), mt(e,
|
|
1485
|
+
e = e.g, At(t), mt(e, F, U);
|
|
1486
1486
|
break;
|
|
1487
1487
|
case "bigint":
|
|
1488
1488
|
r = BigInt.asUintN(64, t), r = new yn(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), mt(e.g, r.h, r.g);
|
|
@@ -1491,57 +1491,57 @@ function Bo(e, t, r) {
|
|
|
1491
1491
|
r = ti(t), mt(e.g, r.h, r.g);
|
|
1492
1492
|
}
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1495
|
-
(t =
|
|
1494
|
+
function Bo(e, t, r) {
|
|
1495
|
+
(t = xt(t)) != null && t != null && (be(e, r, 0), Cr(e.g, t));
|
|
1496
1496
|
}
|
|
1497
1497
|
function jo(e, t, r) {
|
|
1498
1498
|
(t = eo(t)) != null && (be(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
|
-
Sr(e, r,
|
|
1504
|
+
Sr(e, r, xo(t, n), s);
|
|
1505
1505
|
}
|
|
1506
1506
|
function Go(e, t, r) {
|
|
1507
|
-
(t = t == null || typeof t == "string" || t instanceof
|
|
1507
|
+
(t = t == null || typeof t == "string" || t instanceof Oe ? 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 = Dt(t, 0 | t[p], r), e.h == 2 ? Nr(e, Ar, t) : t.push(Ar(e.g)), !0);
|
|
1511
1511
|
}
|
|
1512
1512
|
var V = ee(function(e, t, r) {
|
|
1513
1513
|
return e.h === 5 && (J(t, r, Ar(e.g)), !0);
|
|
1514
|
-
},
|
|
1515
|
-
if ((t = Ut(
|
|
1514
|
+
}, Co, Br), Z2 = Vt(Ho, function(e, t, r) {
|
|
1515
|
+
if ((t = Ut(Ie, t)) != null) for (let o = 0; o < t.length; o++) {
|
|
1516
1516
|
var n = e, s = r, i = t[o];
|
|
1517
|
-
i != null && (be(n, s, 5), n = n.g,
|
|
1517
|
+
i != null && (be(n, s, 5), n = n.g, Cn(i), es(n));
|
|
1518
1518
|
}
|
|
1519
|
-
},
|
|
1520
|
-
if ((t = Ut(
|
|
1521
|
-
be(e, r, 2),
|
|
1522
|
-
for (let n = 0; n < t.length; n++) r = e.g,
|
|
1519
|
+
}, Br), us = Vt(Ho, function(e, t, r) {
|
|
1520
|
+
if ((t = Ut(Ie, t)) != null && t.length) {
|
|
1521
|
+
be(e, r, 2), Bt(e.g, 4 * t.length);
|
|
1522
|
+
for (let n = 0; n < t.length; n++) r = e.g, Cn(t[n]), es(r);
|
|
1523
1523
|
}
|
|
1524
|
-
},
|
|
1524
|
+
}, Br), e1 = ee(function(e, t, r) {
|
|
1525
1525
|
return e.h === 5 && (J(t, r, (e = Ar(e.g)) === 0 ? void 0 : e), !0);
|
|
1526
|
-
},
|
|
1527
|
-
return
|
|
1528
|
-
},
|
|
1529
|
-
return
|
|
1530
|
-
},
|
|
1531
|
-
return
|
|
1526
|
+
}, Co, Br), Ye = ee(function(e, t, r) {
|
|
1527
|
+
return Mn ? (e.h !== 0 ? e = !1 : (J(t, r, St(e.g, Zi)), e = !0), e) : e.h === 0 && (J(t, r, St(e.g, Dn)), !0);
|
|
1528
|
+
}, Do, To), on = ee(function(e, t, r) {
|
|
1529
|
+
return Mn ? (e.h !== 0 ? t = !1 : (J(t, r, (e = St(e.g, Zi)) === J2 ? void 0 : e), t = !0), t) : e.h === 0 && (J(t, r, (e = St(e.g, Dn)) === 0 ? void 0 : e), !0);
|
|
1530
|
+
}, Do, To), t1 = ee(function(e, t, r) {
|
|
1531
|
+
return Mn ? (e.h !== 0 ? e = !1 : (J(t, r, St(e.g, A2)), e = !0), e) : e.h === 0 && (J(t, r, St(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 = kt(Number(n)), ct(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")) || (
|
|
1539
|
-
if (s === "number") return (n = kt(n)) >= 0 && ct(n) || (At(n), n = gn(
|
|
1538
|
+
if (s === "string") return s = kt(Number(n)), ct(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")) || (Or(n), n = tr(F, U))), n;
|
|
1539
|
+
if (s === "number") return (n = kt(n)) >= 0 && ct(n) || (At(n), n = gn(F, U)), n;
|
|
1540
1540
|
}
|
|
1541
1541
|
}(t), t != null && (typeof t == "string" && ei(t), t != null))
|
|
1542
1542
|
switch (be(e, r, 0), typeof t) {
|
|
1543
1543
|
case "number":
|
|
1544
|
-
e = e.g, At(t), mt(e,
|
|
1544
|
+
e = e.g, At(t), mt(e, F, U);
|
|
1545
1545
|
break;
|
|
1546
1546
|
case "bigint":
|
|
1547
1547
|
r = BigInt.asUintN(64, t), r = new _n(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), mt(e.g, r.h, r.g);
|
|
@@ -1550,73 +1550,73 @@ var V = ee(function(e, t, r) {
|
|
|
1550
1550
|
r = ei(t), mt(e.g, r.h, r.g);
|
|
1551
1551
|
}
|
|
1552
1552
|
}, q2), X = ee(function(e, t, r) {
|
|
1553
|
-
return e.h === 0 && (J(t, r,
|
|
1554
|
-
},
|
|
1555
|
-
return (e.h === 0 || e.h === 2) && (t =
|
|
1553
|
+
return e.h === 0 && (J(t, r, ze(e.g)), !0);
|
|
1554
|
+
}, Bo, is), hr = Vt(function(e, t, r) {
|
|
1555
|
+
return (e.h === 0 || e.h === 2) && (t = Dt(t, 0 | t[p], r), e.h == 2 ? Nr(e, ze, t) : t.push(ze(e.g)), !0);
|
|
1556
1556
|
}, function(e, t, r) {
|
|
1557
|
-
if ((t = Ut(
|
|
1557
|
+
if ((t = Ut(xt, t)) != null && t.length) {
|
|
1558
1558
|
r = ts(e, r);
|
|
1559
|
-
for (let n = 0; n < t.length; n++)
|
|
1559
|
+
for (let n = 0; n < t.length; n++) Cr(e.g, t[n]);
|
|
1560
1560
|
rs(e, r);
|
|
1561
1561
|
}
|
|
1562
1562
|
}, is), gt = ee(function(e, t, r) {
|
|
1563
|
-
return e.h === 0 && (J(t, r, (e =
|
|
1564
|
-
},
|
|
1565
|
-
return e.h === 0 && (J(t, r,
|
|
1563
|
+
return e.h === 0 && (J(t, r, (e = ze(e.g)) === 0 ? void 0 : e), !0);
|
|
1564
|
+
}, Bo, is), j = ee(function(e, t, r) {
|
|
1565
|
+
return e.h === 0 && (J(t, r, Qn(e.g)), !0);
|
|
1566
1566
|
}, jo, ko), it = ee(function(e, t, r) {
|
|
1567
|
-
return e.h === 0 && (J(t, r, (e =
|
|
1568
|
-
}, jo, ko),
|
|
1569
|
-
return e.h === 2 && (e =
|
|
1567
|
+
return e.h === 0 && (J(t, r, (e = Qn(e.g)) === !1 ? void 0 : e), !0);
|
|
1568
|
+
}, jo, ko), Z = Vt(function(e, t, r) {
|
|
1569
|
+
return e.h === 2 && (e = Zn(e), Dt(t, 0 | t[p], r).push(e), !0);
|
|
1570
1570
|
}, function(e, t, r) {
|
|
1571
|
-
if ((t = Ut(
|
|
1571
|
+
if ((t = Ut(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
|
-
}, ss),
|
|
1576
|
-
return e.h === 2 && (J(t, r, (e =
|
|
1575
|
+
}, ss), Ke = ee(function(e, t, r) {
|
|
1576
|
+
return e.h === 2 && (J(t, r, (e = Zn(e)) === "" ? void 0 : e), !0);
|
|
1577
1577
|
}, Uo, ss), L = ee(function(e, t, r) {
|
|
1578
|
-
return e.h === 2 && (J(t, r,
|
|
1578
|
+
return e.h === 2 && (J(t, r, Zn(e)), !0);
|
|
1579
1579
|
}, Uo, ss), $ = function(e, t, r = ns) {
|
|
1580
1580
|
return new jt(e, t, r);
|
|
1581
1581
|
}(function(e, t, r, n, s) {
|
|
1582
|
-
return e.h === 2 && (n = tt(void 0, n),
|
|
1582
|
+
return e.h === 2 && (n = tt(void 0, n), Dt(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, Ft(o)), ur(e, t = $n(t, n, r), s), !0;
|
|
1592
1592
|
}, Vo), Wo = ee(function(e, t, r) {
|
|
1593
1593
|
return e.h === 2 && (J(t, r, Ao(e)), !0);
|
|
1594
1594
|
}, Go, Lo), r1 = Vt(function(e, t, r) {
|
|
1595
|
-
return (e.h === 0 || e.h === 2) && (t =
|
|
1595
|
+
return (e.h === 0 || e.h === 2) && (t = Dt(t, 0 | t[p], r), e.h == 2 ? Nr(e, Ve, t) : t.push(Ve(e.g)), !0);
|
|
1596
1596
|
}, function(e, t, r) {
|
|
1597
1597
|
if ((t = Ut(to, t)) != null) for (let o = 0; o < t.length; o++) {
|
|
1598
1598
|
var n = e, s = r, i = t[o];
|
|
1599
|
-
i != null && (be(n, s, 0),
|
|
1599
|
+
i != null && (be(n, s, 0), Bt(n.g, i));
|
|
1600
1600
|
}
|
|
1601
1601
|
}, So), n1 = ee(function(e, t, r) {
|
|
1602
1602
|
return e.h === 0 && (J(t, r, (e = Ve(e.g)) === 0 ? void 0 : e), !0);
|
|
1603
1603
|
}, function(e, t, r) {
|
|
1604
|
-
(t = to(t)) != null && t != null && (be(e, r, 0),
|
|
1604
|
+
(t = to(t)) != null && t != null && (be(e, r, 0), Bt(e.g, t));
|
|
1605
1605
|
}, So), le = ee(function(e, t, r) {
|
|
1606
|
-
return e.h === 0 && (J(t, r,
|
|
1606
|
+
return e.h === 0 && (J(t, r, ze(e.g)), !0);
|
|
1607
1607
|
}, function(e, t, r) {
|
|
1608
|
-
(t =
|
|
1608
|
+
(t = xt(t)) != null && (t = parseInt(t, 10), be(e, r, 0), Cr(e.g, t));
|
|
1609
1609
|
}, Po);
|
|
1610
1610
|
class s1 {
|
|
1611
1611
|
constructor(t, r) {
|
|
1612
1612
|
var n = de;
|
|
1613
|
-
this.g = t, this.h = r, this.m = k, this.j = v, this.defaultValue = void 0, this.l = n.Oa != null ?
|
|
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() {
|
|
1616
1616
|
Lr(this);
|
|
1617
1617
|
}
|
|
1618
1618
|
}
|
|
1619
|
-
function
|
|
1619
|
+
function Re(e, t) {
|
|
1620
1620
|
return new s1(e, t);
|
|
1621
1621
|
}
|
|
1622
1622
|
function $e(e, t) {
|
|
@@ -1629,7 +1629,7 @@ function $e(e, t) {
|
|
|
1629
1629
|
cs(t)(a, r);
|
|
1630
1630
|
var s = o;
|
|
1631
1631
|
} finally {
|
|
1632
|
-
|
|
1632
|
+
Eo(r);
|
|
1633
1633
|
}
|
|
1634
1634
|
}
|
|
1635
1635
|
return s;
|
|
@@ -1653,7 +1653,7 @@ function Wr(e) {
|
|
|
1653
1653
|
}();
|
|
1654
1654
|
}
|
|
1655
1655
|
}();
|
|
1656
|
-
|
|
1656
|
+
No(this.v, t, lt(Ur, Gr, Hr, e)), Tt(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++) {
|
|
@@ -1667,13 +1667,13 @@ var si = class extends g {
|
|
|
1667
1667
|
constructor(e) {
|
|
1668
1668
|
super(e);
|
|
1669
1669
|
}
|
|
1670
|
-
}, ii = [0,
|
|
1670
|
+
}, ii = [0, Ke, ee(function(e, t, r) {
|
|
1671
1671
|
return e.h === 2 && (J(t, r, (e = Ao(e)) === ot() ? 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)) : bt(dn, 3));
|
|
1677
1677
|
}
|
|
1678
1678
|
if (Array.isArray(t)) return void bt(dn, 3);
|
|
1679
1679
|
}
|
|
@@ -1706,19 +1706,19 @@ 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 Ko = [0, X, le, j, -1, hr, le, -1, j], o1 = class extends g {
|
|
1710
1710
|
constructor(e) {
|
|
1711
1711
|
super(e);
|
|
1712
1712
|
}
|
|
1713
1713
|
}, qo = [0, j, L, j, le, -1, Vt(function(e, t, r) {
|
|
1714
|
-
return (e.h === 0 || e.h === 2) && (t =
|
|
1714
|
+
return (e.h === 0 || e.h === 2) && (t = Dt(t, 0 | t[p], r), e.h == 2 ? Nr(e, G2, t) : t.push(ze(e.g)), !0);
|
|
1715
1715
|
}, function(e, t, r) {
|
|
1716
|
-
if ((t = Ut(
|
|
1716
|
+
if ((t = Ut(xt, t)) != null && t.length) {
|
|
1717
1717
|
r = ts(e, r);
|
|
1718
|
-
for (let n = 0; n < t.length; n++)
|
|
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], le, j, -1],
|
|
1721
|
+
}, Po), L, -1, [0, j, -1], le, j, -1], zo = [0, 3, j, -1, 2, [0, X], [0, le, j], [0, L, -1], [0]], Yo = [0, L, -2], ci = class extends g {
|
|
1722
1722
|
constructor(e) {
|
|
1723
1723
|
super(e);
|
|
1724
1724
|
}
|
|
@@ -1727,13 +1727,13 @@ var zo = [0, X, le, j, -1, hr, le, -1, j], o1 = class extends g {
|
|
|
1727
1727
|
super(e, 2);
|
|
1728
1728
|
}
|
|
1729
1729
|
}, q = {};
|
|
1730
|
-
q[336783863] = [0, L, j, -1, X, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9],
|
|
1731
|
-
var ui = [0, on, -1, it, -3, on, hr,
|
|
1732
|
-
function
|
|
1733
|
-
|
|
1730
|
+
q[336783863] = [0, L, j, -1, X, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], D, $o, D, qo, D, Yo, D, Xo, D, Ko, D, [0, L, -2], D, [0, L, le], D, zo, D, [0, le, -1, j]], [0, L], j, [0, [1, 3], [2, 4], D, [0, hr], -1, D, [0, Z], -1, $, [0, L, -1]], L];
|
|
1731
|
+
var ui = [0, on, -1, it, -3, on, hr, Ke, gt, on, -1, it, gt, it, -2, Ke];
|
|
1732
|
+
function O(e, t) {
|
|
1733
|
+
Rr(e, 3, t);
|
|
1734
1734
|
}
|
|
1735
|
-
function
|
|
1736
|
-
|
|
1735
|
+
function w(e, t) {
|
|
1736
|
+
Rr(e, 4, t);
|
|
1737
1737
|
}
|
|
1738
1738
|
var ne = class extends g {
|
|
1739
1739
|
constructor(e) {
|
|
@@ -1742,15 +1742,15 @@ var ne = class extends g {
|
|
|
1742
1742
|
o(e) {
|
|
1743
1743
|
return v(this, 0, 7, e);
|
|
1744
1744
|
}
|
|
1745
|
-
}, Jt = [-1, {}], hi = [0, L, 1, Jt], li = [0, L,
|
|
1746
|
-
function
|
|
1745
|
+
}, Jt = [-1, {}], hi = [0, L, 1, Jt], li = [0, L, Z, Jt];
|
|
1746
|
+
function Ee(e, t) {
|
|
1747
1747
|
Xn(e, 1, ne, t);
|
|
1748
1748
|
}
|
|
1749
|
-
function
|
|
1750
|
-
|
|
1749
|
+
function x(e, t) {
|
|
1750
|
+
Rr(e, 10, t);
|
|
1751
1751
|
}
|
|
1752
1752
|
function S(e, t) {
|
|
1753
|
-
|
|
1753
|
+
Rr(e, 15, t);
|
|
1754
1754
|
}
|
|
1755
1755
|
var pe = class extends g {
|
|
1756
1756
|
constructor(e) {
|
|
@@ -1759,20 +1759,20 @@ var pe = class extends g {
|
|
|
1759
1759
|
o(e) {
|
|
1760
1760
|
return v(this, 0, 1001, e);
|
|
1761
1761
|
}
|
|
1762
|
-
}, Jo = [-500, $, [-500,
|
|
1762
|
+
}, Jo = [-500, $, [-500, Ke, -1, Z, -3, [-2, q, j], $, ii, gt, -1, hi, li, $, [0, Ke, it], Ke, ui, gt, Z, 987, Z], 4, $, [-500, L, -1, [-1, {}], 998, L], $, [-500, L, Z, -1, [-2, {}, j], 997, Z, -1], gt, $, [-500, L, Z, Jt, 998, Z], Z, gt, hi, li, $, [0, Ke, -1, Jt], Z, -2, ui, Ke, -1, it, [0, it, n1], 978, Jt, $, ii];
|
|
1763
1763
|
pe.prototype.g = Wr(Jo);
|
|
1764
1764
|
var a1 = $e(pe, Jo), c1 = class extends g {
|
|
1765
1765
|
constructor(e) {
|
|
1766
1766
|
super(e);
|
|
1767
1767
|
}
|
|
1768
|
-
},
|
|
1768
|
+
}, Qo = class extends g {
|
|
1769
1769
|
constructor(e) {
|
|
1770
1770
|
super(e);
|
|
1771
1771
|
}
|
|
1772
1772
|
g() {
|
|
1773
1773
|
return je(this, c1, 1);
|
|
1774
1774
|
}
|
|
1775
|
-
},
|
|
1775
|
+
}, Zo = [0, $, [0, X, V, L, -1]], Kr = $e(Qo, Zo), u1 = class extends g {
|
|
1776
1776
|
constructor(e) {
|
|
1777
1777
|
super(e);
|
|
1778
1778
|
}
|
|
@@ -1794,7 +1794,7 @@ var a1 = $e(pe, Jo), c1 = class extends g {
|
|
|
1794
1794
|
constructor(e) {
|
|
1795
1795
|
super(e);
|
|
1796
1796
|
}
|
|
1797
|
-
}, [0,
|
|
1797
|
+
}, [0, Z, hr, us, [0, le, [0, X, -3], [0, V, -3], [0, X, -1, [0, $, [0, X, -2]]], $, [0, V, -1, L, V]], L, -1, Ye, $, [0, X, V], Z, Ye]), ta = class extends g {
|
|
1798
1798
|
constructor(e) {
|
|
1799
1799
|
super(e);
|
|
1800
1800
|
}
|
|
@@ -1828,7 +1828,7 @@ var d1 = class extends g {
|
|
|
1828
1828
|
constructor(e) {
|
|
1829
1829
|
super(e);
|
|
1830
1830
|
}
|
|
1831
|
-
}, [0, $, [0, 1, X, L,
|
|
1831
|
+
}, [0, $, [0, 1, X, L, Zo], Ye]), 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 ?? ot();
|
|
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, $, [0, sa,
|
|
1851
|
+
}, [0, $, [0, sa, D, [0, us], D, [0, Wo], X, L], Ye]), hs = class extends g {
|
|
1852
1852
|
constructor(e) {
|
|
1853
1853
|
super(e);
|
|
1854
1854
|
}
|
|
1855
|
-
}, ia = [0, L, X, V,
|
|
1855
|
+
}, ia = [0, L, X, V, Z, -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
|
+
}, N = 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, X, Ye, -1], [0, t1, Ye]], G = [0, oa, j, [0, vr,
|
|
1880
|
+
}, oa = [0, Wo, L, [0, X, Ye, -1], [0, t1, Ye]], G = [0, oa, j, [0, vr, D, Xo, D, qo, D, Ko, D, $o, D, Yo, D, zo], le], qr = class extends g {
|
|
1881
1881
|
constructor(e) {
|
|
1882
1882
|
super(e);
|
|
1883
1883
|
}
|
|
1884
|
-
}, ls = [0, G, V, -1, X], v1 =
|
|
1884
|
+
}, ls = [0, G, V, -1, X], v1 = Re(502141897, qr);
|
|
1885
1885
|
q[502141897] = ls;
|
|
1886
1886
|
var b1 = $e(class extends g {
|
|
1887
1887
|
constructor(e) {
|
|
1888
1888
|
super(e);
|
|
1889
1889
|
}
|
|
1890
|
-
}, [0, [0, le, -1,
|
|
1890
|
+
}, [0, [0, le, -1, Z2, r1], f1]), aa = class extends g {
|
|
1891
1891
|
constructor(e) {
|
|
1892
1892
|
super(e);
|
|
1893
1893
|
}
|
|
@@ -1895,7 +1895,7 @@ var b1 = $e(class extends g {
|
|
|
1895
1895
|
constructor(e) {
|
|
1896
1896
|
super(e);
|
|
1897
1897
|
}
|
|
1898
|
-
}, bn = [0, G, V, [0, G], j],
|
|
1898
|
+
}, bn = [0, G, V, [0, G], j], E1 = Re(508968150, ca);
|
|
1899
1899
|
q[508968150] = [0, G, ls, bn, V, [0, [0, oa]]], q[508968149] = bn;
|
|
1900
1900
|
var pt = class extends g {
|
|
1901
1901
|
constructor(e) {
|
|
@@ -1909,7 +1909,7 @@ var pt = class extends g {
|
|
|
1909
1909
|
}
|
|
1910
1910
|
}, ua = [0, G, ia];
|
|
1911
1911
|
q[478825465] = ua;
|
|
1912
|
-
var
|
|
1912
|
+
var w1 = class extends g {
|
|
1913
1913
|
constructor(e) {
|
|
1914
1914
|
super(e);
|
|
1915
1915
|
}
|
|
@@ -1929,9 +1929,9 @@ var E1 = 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, X], ps = [0, G, V], da = [0, G, fa, ps, V], A1 =
|
|
1932
|
+
}, gi = [0, G, [0, G], ua, -1], fa = [0, G, V, X], ps = [0, G, V], da = [0, G, fa, ps, V], A1 = Re(479097054, la);
|
|
1933
1933
|
q[479097054] = [0, G, da, gi], q[463370452] = gi, q[464864288] = fa;
|
|
1934
|
-
var k1 =
|
|
1934
|
+
var k1 = Re(462713202, ds);
|
|
1935
1935
|
q[462713202] = da, q[474472470] = ps;
|
|
1936
1936
|
var S1 = class extends g {
|
|
1937
1937
|
constructor(e) {
|
|
@@ -1949,19 +1949,19 @@ var S1 = class extends g {
|
|
|
1949
1949
|
constructor(e) {
|
|
1950
1950
|
super(e);
|
|
1951
1951
|
}
|
|
1952
|
-
}, gs = [0, G, V, -1, X],
|
|
1953
|
-
ma.prototype.g = Wr([0, G, ps, [0, G], ls, bn, gs,
|
|
1952
|
+
}, gs = [0, G, V, -1, X], En = [0, G, V, j];
|
|
1953
|
+
ma.prototype.g = Wr([0, G, ps, [0, G], ls, bn, gs, En]);
|
|
1954
1954
|
var _a = class extends g {
|
|
1955
1955
|
constructor(e) {
|
|
1956
1956
|
super(e);
|
|
1957
1957
|
}
|
|
1958
|
-
}, T1 =
|
|
1958
|
+
}, T1 = Re(456383383, _a);
|
|
1959
1959
|
q[456383383] = [0, G, ia];
|
|
1960
1960
|
var ya = class extends g {
|
|
1961
1961
|
constructor(e) {
|
|
1962
1962
|
super(e);
|
|
1963
1963
|
}
|
|
1964
|
-
}, L1 =
|
|
1964
|
+
}, L1 = Re(476348187, ya);
|
|
1965
1965
|
q[476348187] = [0, G, y1];
|
|
1966
1966
|
var va = class extends g {
|
|
1967
1967
|
constructor(e) {
|
|
@@ -1971,7 +1971,7 @@ var va = class extends g {
|
|
|
1971
1971
|
constructor(e) {
|
|
1972
1972
|
super(e);
|
|
1973
1973
|
}
|
|
1974
|
-
}, ba = [0, le, -1], P1 =
|
|
1974
|
+
}, ba = [0, le, -1], P1 = Re(458105876, class extends g {
|
|
1975
1975
|
constructor(e) {
|
|
1976
1976
|
super(e);
|
|
1977
1977
|
}
|
|
@@ -1981,12 +1981,12 @@ var va = class extends g {
|
|
|
1981
1981
|
const r = 0 | t[p];
|
|
1982
1982
|
return e = ue(this, r), t = function(n, s, i, o) {
|
|
1983
1983
|
var a = mi;
|
|
1984
|
-
!o &&
|
|
1985
|
-
var c =
|
|
1984
|
+
!o && Nt(n) && (i = 0 | (s = n.v)[p]);
|
|
1985
|
+
var c = Be(s, 2);
|
|
1986
1986
|
if (n = !1, c == null) {
|
|
1987
1987
|
if (o) return Xs();
|
|
1988
1988
|
c = [];
|
|
1989
|
-
} else if (c.constructor ===
|
|
1989
|
+
} else if (c.constructor === De) {
|
|
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 Xs();
|
|
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 =
|
|
1997
|
+
return !n && 32 & i && sr(c, 32), i = K(s, i, 2, o = new De(c, a, P2, void 0)), n || ht(s, i), o;
|
|
1998
1998
|
}(this, t, r, e), !e && mi && (t.ra = !0), t;
|
|
1999
1999
|
}
|
|
2000
2000
|
});
|
|
2001
|
-
q[458105876] = [0, ba,
|
|
2001
|
+
q[458105876] = [0, ba, Q2, [!0, Ye, [0, L, -1, Z]], [0, hr, j, le]];
|
|
2002
2002
|
var ms = class extends g {
|
|
2003
2003
|
constructor(e) {
|
|
2004
2004
|
super(e);
|
|
2005
2005
|
}
|
|
2006
|
-
},
|
|
2006
|
+
}, Ea = Re(458105758, ms);
|
|
2007
2007
|
q[458105758] = [0, G, L, ba];
|
|
2008
2008
|
var un = class extends g {
|
|
2009
2009
|
constructor(e) {
|
|
2010
2010
|
super(e);
|
|
2011
2011
|
}
|
|
2012
|
-
}, _i = [0, e1, -1, it],
|
|
2012
|
+
}, _i = [0, e1, -1, it], I1 = class extends g {
|
|
2013
2013
|
constructor(e) {
|
|
2014
2014
|
super(e);
|
|
2015
2015
|
}
|
|
2016
|
-
},
|
|
2016
|
+
}, wa = class extends g {
|
|
2017
2017
|
constructor(e) {
|
|
2018
2018
|
super(e);
|
|
2019
2019
|
}
|
|
2020
|
-
},
|
|
2021
|
-
|
|
2020
|
+
}, wn = [1, 2];
|
|
2021
|
+
wa.prototype.g = Wr([0, wn, D, _i, D, [0, $, _i]]);
|
|
2022
2022
|
var Aa = class extends g {
|
|
2023
2023
|
constructor(e) {
|
|
2024
2024
|
super(e);
|
|
2025
2025
|
}
|
|
2026
|
-
},
|
|
2027
|
-
q[443442058] = [0, G, L, X, V,
|
|
2026
|
+
}, O1 = Re(443442058, Aa);
|
|
2027
|
+
q[443442058] = [0, G, L, X, V, Z, -1, j, V], q[514774813] = gs;
|
|
2028
2028
|
var ka = class extends g {
|
|
2029
2029
|
constructor(e) {
|
|
2030
2030
|
super(e);
|
|
2031
2031
|
}
|
|
2032
|
-
},
|
|
2032
|
+
}, M1 = Re(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 ? Ue(t, 2, e.maxResults) : "maxResults" in e && T(t, 2), e.scoreThreshold !== void 0 ? _(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 ? Ue(t, 2, e.maxResults) : "maxResults" in e && T(t, 2), e.scoreThreshold !== void 0 ? _(t, 3, e.scoreThreshold) : "scoreThreshold" in e && T(t, 3), e.categoryAllowlist !== void 0 ? wr(t, 4, e.categoryAllowlist) : "categoryAllowlist" in e && T(t, 4), e.categoryDenylist !== void 0 ? wr(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 _s(e, t = -1, r = "") {
|
|
2041
|
-
return { categories: e.map((n) => ({ index: ve(n, 1) ?? 0 ?? -1, score:
|
|
2041
|
+
return { categories: e.map((n) => ({ index: ve(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
|
-
function
|
|
2043
|
+
function F1(e) {
|
|
2044
2044
|
const t = { classifications: je(e, d1, 1).map((r) => {
|
|
2045
2045
|
var n;
|
|
2046
|
-
return _s(((n = k(r,
|
|
2046
|
+
return _s(((n = k(r, Qo, 4)) == null ? void 0 : n.g()) ?? [], ve(r, 2) ?? 0, Q(I(r, 3)) ?? "");
|
|
2047
2047
|
}) };
|
|
2048
2048
|
return function(r) {
|
|
2049
|
-
return L2(
|
|
2049
|
+
return L2(Fn ? I(r, 2, void 0, void 0, br) : I(r, 2));
|
|
2050
2050
|
}(e) != null && (t.timestampMs = Sa(_o(e))), t;
|
|
2051
2051
|
}
|
|
2052
2052
|
function Ta(e) {
|
|
2053
2053
|
var o, a;
|
|
2054
|
-
var t = et(e, 3,
|
|
2054
|
+
var t = et(e, 3, Ie, Ze()), r = et(e, 2, xt, Ze()), n = et(e, 1, Q, Ze()), s = et(e, 9, Q, Ze());
|
|
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: ve(t, 1, Ge) ?? 0, originY: ve(t, 2, Ge) ?? 0, width: ve(t, 3, Ge) ?? 0, height: ve(t, 4, Ge) ?? 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:
|
|
2057
|
+
if ((t = (o = k(e, cn, 4)) == null ? void 0 : o.l()) && (i.boundingBox = { originX: ve(t, 1, Ge) ?? 0, originY: ve(t, 2, Ge) ?? 0, width: ve(t, 3, Ge) ?? 0, height: ve(t, 4, Ge) ?? 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, Ge, Ie) ?? 0, y: I(c, 2, void 0, Ge, Ie) ?? 0, score: I(c, 4, void 0, Ge, Ie) ?? 0, label: Q(I(c, 3, void 0, Ge)) ?? "" });
|
|
2058
2058
|
return i;
|
|
2059
2059
|
}
|
|
2060
|
-
function
|
|
2060
|
+
function zr(e) {
|
|
2061
2061
|
const t = [];
|
|
2062
|
-
for (const r of je(e, ra, 1)) t.push({ x:
|
|
2062
|
+
for (const r of je(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
|
-
function
|
|
2065
|
+
function Qt(e) {
|
|
2066
2066
|
const t = [];
|
|
2067
|
-
for (const r of je(e, ta, 1)) t.push({ x:
|
|
2067
|
+
for (const r of je(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 yi(e) {
|
|
@@ -2078,21 +2078,21 @@ function vi(e, t) {
|
|
|
2078
2078
|
return r / Math.sqrt(n * s);
|
|
2079
2079
|
}
|
|
2080
2080
|
let gr;
|
|
2081
|
-
q[516587230] = [0, G, gs,
|
|
2082
|
-
const
|
|
2081
|
+
q[516587230] = [0, G, gs, En, V], q[518928384] = En;
|
|
2082
|
+
const x1 = 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 {
|
|
2085
|
-
await WebAssembly.instantiate(
|
|
2085
|
+
await WebAssembly.instantiate(x1), gr = !0;
|
|
2086
2086
|
} catch {
|
|
2087
2087
|
gr = !1;
|
|
2088
2088
|
}
|
|
2089
2089
|
return gr;
|
|
2090
2090
|
}
|
|
2091
|
-
async function
|
|
2091
|
+
async function Kt(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
|
}
|
|
2095
|
-
var
|
|
2095
|
+
var Qe = class {
|
|
2096
2096
|
};
|
|
2097
2097
|
function Pa() {
|
|
2098
2098
|
var e = navigator;
|
|
@@ -2118,20 +2118,20 @@ async function bi(e) {
|
|
|
2118
2118
|
await self.import(e.toString());
|
|
2119
2119
|
}
|
|
2120
2120
|
}
|
|
2121
|
-
function
|
|
2121
|
+
function Ia(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 Ei(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] = Ia(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 wi(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]);
|
|
@@ -2148,20 +2148,20 @@ function He(e, t, r) {
|
|
|
2148
2148
|
i ? (r(n, o), n = []) : n.push(s);
|
|
2149
2149
|
};
|
|
2150
2150
|
}
|
|
2151
|
-
|
|
2152
|
-
return
|
|
2153
|
-
},
|
|
2154
|
-
return
|
|
2155
|
-
},
|
|
2156
|
-
return
|
|
2157
|
-
},
|
|
2158
|
-
return
|
|
2159
|
-
},
|
|
2160
|
-
return
|
|
2161
|
-
},
|
|
2151
|
+
Qe.forVisionTasks = function(e) {
|
|
2152
|
+
return Kt("vision", e);
|
|
2153
|
+
}, Qe.forTextTasks = function(e) {
|
|
2154
|
+
return Kt("text", e);
|
|
2155
|
+
}, Qe.forGenAiExperimentalTasks = function(e) {
|
|
2156
|
+
return Kt("genai_experimental", e);
|
|
2157
|
+
}, Qe.forGenAiTasks = function(e) {
|
|
2158
|
+
return Kt("genai", e);
|
|
2159
|
+
}, Qe.forAudioTasks = function(e) {
|
|
2160
|
+
return Kt("audio", e);
|
|
2161
|
+
}, Qe.isSimdSupported = function() {
|
|
2162
2162
|
return La();
|
|
2163
2163
|
};
|
|
2164
|
-
async function
|
|
2164
|
+
async function R1(e, t, r, n) {
|
|
2165
2165
|
return e = await (async (s, i, o, a, c) => {
|
|
2166
2166
|
if (i && await bi(i), !self.ModuleFactory || o && (await bi(o), !self.ModuleFactory)) throw Error("ModuleFactory not set.");
|
|
2167
2167
|
return self.Module && c && ((i = self.Module).locateFile = c.locateFile, c.mainScriptUrlOrBlob && (i.mainScriptUrlOrBlob = c.mainScriptUrlOrBlob)), c = await self.ModuleFactory(self.Module || c), self.ModuleFactory = self.Module = void 0, new s(c, a);
|
|
@@ -2169,7 +2169,7 @@ async function I1(e, t, r, n) {
|
|
|
2169
2169
|
}
|
|
2170
2170
|
function hn(e, t) {
|
|
2171
2171
|
const r = k(e.baseOptions, Tr, 1) || new Tr();
|
|
2172
|
-
typeof t == "string" ? (T(r, 2, cr(t)), T(r, 1)) : t instanceof Uint8Array && (T(r, 1,
|
|
2172
|
+
typeof t == "string" ? (T(r, 2, cr(t)), T(r, 1)) : t instanceof Uint8Array && (T(r, 1, Nn(t, !1)), T(r, 2)), v(e.baseOptions, 0, 1, r);
|
|
2173
2173
|
}
|
|
2174
2174
|
function Ai(e) {
|
|
2175
2175
|
try {
|
|
@@ -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 ne(), he(e.B, 2, "PassThroughCalculator"),
|
|
2187
|
+
e.B = new ne(), he(e.B, 2, "PassThroughCalculator"), O(e.B, "free_memory"), w(e.B, "free_memory_unused_out"), x(t, "free_memory"), Ee(t, e.B);
|
|
2188
2188
|
}
|
|
2189
2189
|
function Lt(e, t) {
|
|
2190
|
-
|
|
2190
|
+
O(e.B, t), w(e.B, t + "_unused_out");
|
|
2191
2191
|
}
|
|
2192
2192
|
function $r(e) {
|
|
2193
2193
|
e.g.addBoolToStream(!0, "free_memory", e.C);
|
|
@@ -2264,7 +2264,7 @@ function qe(e, t) {
|
|
|
2264
2264
|
return e;
|
|
2265
2265
|
}
|
|
2266
2266
|
kn.prototype.close = kn.prototype.close;
|
|
2267
|
-
class
|
|
2267
|
+
class N1 {
|
|
2268
2268
|
constructor(t, r, n, s) {
|
|
2269
2269
|
this.g = t, this.h = r, this.m = n, this.l = s;
|
|
2270
2270
|
}
|
|
@@ -2286,27 +2286,27 @@ function Si(e, t) {
|
|
|
2286
2286
|
const s = qe(r.createBuffer(), "Failed to create buffer");
|
|
2287
2287
|
r.bindBuffer(r.ARRAY_BUFFER, s), r.enableVertexAttribArray(e.O), r.vertexAttribPointer(e.O, 2, r.FLOAT, !1, 0, 0), r.bufferData(r.ARRAY_BUFFER, new Float32Array([-1, -1, -1, 1, 1, 1, 1, -1]), r.STATIC_DRAW);
|
|
2288
2288
|
const i = qe(r.createBuffer(), "Failed to create buffer");
|
|
2289
|
-
return r.bindBuffer(r.ARRAY_BUFFER, i), r.enableVertexAttribArray(e.L), r.vertexAttribPointer(e.L, 2, r.FLOAT, !1, 0, 0), r.bufferData(r.ARRAY_BUFFER, new Float32Array(t ? [0, 1, 0, 0, 1, 0, 1, 1] : [0, 0, 0, 1, 1, 1, 1, 0]), r.STATIC_DRAW), r.bindBuffer(r.ARRAY_BUFFER, null), r.bindVertexArray(null), new
|
|
2289
|
+
return r.bindBuffer(r.ARRAY_BUFFER, i), r.enableVertexAttribArray(e.L), r.vertexAttribPointer(e.L, 2, r.FLOAT, !1, 0, 0), r.bufferData(r.ARRAY_BUFFER, new Float32Array(t ? [0, 1, 0, 0, 1, 0, 1, 1] : [0, 0, 0, 1, 1, 1, 1, 0]), r.STATIC_DRAW), r.bindBuffer(r.ARRAY_BUFFER, null), r.bindVertexArray(null), new N1(r, n, s, i);
|
|
2290
2290
|
}
|
|
2291
2291
|
function ys(e, t) {
|
|
2292
2292
|
if (e.g) {
|
|
2293
2293
|
if (t !== e.g) throw Error("Cannot change GL context once initialized");
|
|
2294
2294
|
} else e.g = t;
|
|
2295
2295
|
}
|
|
2296
|
-
function
|
|
2296
|
+
function C1(e, t, r, n) {
|
|
2297
2297
|
return ys(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 Oa(e, t, r) {
|
|
2300
2300
|
return ys(e, t), e = qe(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
|
-
function
|
|
2302
|
+
function Ma(e, t, r) {
|
|
2303
2303
|
ys(e, t), e.B || (e.B = qe(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
|
}
|
|
2309
|
-
var
|
|
2309
|
+
var Fa = class {
|
|
2310
2310
|
H() {
|
|
2311
2311
|
return `
|
|
2312
2312
|
precision mediump float;
|
|
@@ -2341,7 +2341,7 @@ var Ma = 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 Ce(e, t) {
|
|
2345
2345
|
switch (t) {
|
|
2346
2346
|
case 0:
|
|
2347
2347
|
return e.g.find((r) => r instanceof Uint8Array);
|
|
@@ -2354,14 +2354,14 @@ function Ne(e, t) {
|
|
|
2354
2354
|
}
|
|
2355
2355
|
}
|
|
2356
2356
|
function Sn(e) {
|
|
2357
|
-
var t =
|
|
2357
|
+
var t = Ce(e, 1);
|
|
2358
2358
|
if (!t) {
|
|
2359
|
-
if (t =
|
|
2359
|
+
if (t = Ce(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 = Pt(e);
|
|
2363
2363
|
var r = vs(e);
|
|
2364
|
-
if (
|
|
2364
|
+
if (Ma(r, n, xa(e)), "iPad Simulator;iPhone Simulator;iPod Simulator;iPad;iPhone;iPod".split(";").includes(navigator.platform) || navigator.userAgent.includes("Mac") && "document" in self && "ontouchend" in self.document) {
|
|
2365
2365
|
r = new Float32Array(e.width * e.height * 4), n.readPixels(0, 0, e.width, e.height, n.RGBA, n.FLOAT, r);
|
|
2366
2366
|
for (let s = 0, i = 0; s < t.length; ++s, i += 4) t[s] = r[i];
|
|
2367
2367
|
} else n.readPixels(0, 0, e.width, e.height, n.RED, n.FLOAT, t);
|
|
@@ -2370,12 +2370,12 @@ function Sn(e) {
|
|
|
2370
2370
|
}
|
|
2371
2371
|
return t;
|
|
2372
2372
|
}
|
|
2373
|
-
function
|
|
2374
|
-
let t =
|
|
2373
|
+
function xa(e) {
|
|
2374
|
+
let t = Ce(e, 2);
|
|
2375
2375
|
if (!t) {
|
|
2376
2376
|
const r = Pt(e);
|
|
2377
|
-
t =
|
|
2378
|
-
const n = Sn(e), s =
|
|
2377
|
+
t = Na(e);
|
|
2378
|
+
const n = Sn(e), s = Ra(e);
|
|
2379
2379
|
r.texImage2D(r.TEXTURE_2D, 0, s, e.width, e.height, 0, r.RED, r.FLOAT, n), Tn(e);
|
|
2380
2380
|
}
|
|
2381
2381
|
return t;
|
|
@@ -2384,7 +2384,7 @@ function Pt(e) {
|
|
|
2384
2384
|
if (!e.canvas) throw Error("Conversion to different image formats require that a canvas is passed when initializing the image.");
|
|
2385
2385
|
return e.h || (e.h = qe(e.canvas.getContext("webgl2"), "You cannot use a canvas that is already bound to a different type of rendering context.")), e.h;
|
|
2386
2386
|
}
|
|
2387
|
-
function
|
|
2387
|
+
function Ra(e) {
|
|
2388
2388
|
if (e = Pt(e), !mr) if (e.getExtension("EXT_color_buffer_float") && e.getExtension("OES_texture_float_linear") && e.getExtension("EXT_float_blend")) mr = e.R32F;
|
|
2389
2389
|
else {
|
|
2390
2390
|
if (!e.getExtension("EXT_color_buffer_half_float")) throw Error("GPU does not fully support 4-channel float32 or float16 formats");
|
|
@@ -2393,13 +2393,13 @@ function Ia(e) {
|
|
|
2393
2393
|
return mr;
|
|
2394
2394
|
}
|
|
2395
2395
|
function vs(e) {
|
|
2396
|
-
return e.l || (e.l = new
|
|
2396
|
+
return e.l || (e.l = new Fa()), e.l;
|
|
2397
2397
|
}
|
|
2398
|
-
function
|
|
2398
|
+
function Na(e) {
|
|
2399
2399
|
const t = Pt(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 = Ce(e, 2);
|
|
2402
|
+
return r || (r = Oa(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);
|
|
@@ -2409,23 +2409,23 @@ var mr, Y = class {
|
|
|
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 !!Ce(this, 0);
|
|
2413
2413
|
}
|
|
2414
2414
|
ka() {
|
|
2415
|
-
return !!
|
|
2415
|
+
return !!Ce(this, 1);
|
|
2416
2416
|
}
|
|
2417
2417
|
R() {
|
|
2418
|
-
return !!
|
|
2418
|
+
return !!Ce(this, 2);
|
|
2419
2419
|
}
|
|
2420
2420
|
ja() {
|
|
2421
|
-
return (t =
|
|
2421
|
+
return (t = Ce(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() {
|
|
2425
2425
|
return Sn(this);
|
|
2426
2426
|
}
|
|
2427
2427
|
N() {
|
|
2428
|
-
return
|
|
2428
|
+
return xa(this);
|
|
2429
2429
|
}
|
|
2430
2430
|
clone() {
|
|
2431
2431
|
const e = [];
|
|
@@ -2437,11 +2437,11 @@ var mr, Y = class {
|
|
|
2437
2437
|
if (!(t instanceof WebGLTexture)) throw Error(`Type is not supported: ${t}`);
|
|
2438
2438
|
{
|
|
2439
2439
|
const n = Pt(this), s = vs(this);
|
|
2440
|
-
n.activeTexture(n.TEXTURE1), r =
|
|
2441
|
-
const i =
|
|
2442
|
-
n.texImage2D(n.TEXTURE_2D, 0, i, this.width, this.height, 0, n.RED, n.FLOAT, null), n.bindTexture(n.TEXTURE_2D, null),
|
|
2443
|
-
|
|
2444
|
-
}),
|
|
2440
|
+
n.activeTexture(n.TEXTURE1), r = Oa(s, n, this.m ? n.LINEAR : n.NEAREST), n.bindTexture(n.TEXTURE_2D, r);
|
|
2441
|
+
const i = Ra(this);
|
|
2442
|
+
n.texImage2D(n.TEXTURE_2D, 0, i, this.width, this.height, 0, n.RED, n.FLOAT, null), n.bindTexture(n.TEXTURE_2D, null), Ma(s, n, r), C1(s, n, !1, () => {
|
|
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
|
+
}), D1(s), Tn(this);
|
|
2445
2445
|
}
|
|
2446
2446
|
}
|
|
2447
2447
|
e.push(r);
|
|
@@ -2449,7 +2449,7 @@ var mr, Y = class {
|
|
|
2449
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 && Pt(this).deleteTexture(
|
|
2452
|
+
this.j && Pt(this).deleteTexture(Ce(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;
|
|
@@ -2457,7 +2457,7 @@ var Ti = 250;
|
|
|
2457
2457
|
function Ae(...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] = Ei(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
|
+
wi(this, Object.keys(e), (s) => {
|
|
2560
|
+
wi(this, Object.values(e), (i) => {
|
|
2561
2561
|
this.i._addFlatHashMapToInputStream(s, i, Object.keys(e).length, n, r);
|
|
2562
2562
|
});
|
|
2563
2563
|
});
|
|
@@ -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] = Ei(this, e, n);
|
|
2809
2809
|
this.ga._addBoundTextureAsImageToStream(n, s, i, r);
|
|
2810
2810
|
});
|
|
2811
2811
|
}
|
|
@@ -2820,14 +2820,14 @@ const D1 = /* @__PURE__ */ function(e) {
|
|
|
2820
2820
|
});
|
|
2821
2821
|
}
|
|
2822
2822
|
}));
|
|
2823
|
-
var Li, ke = class extends
|
|
2823
|
+
var Li, ke = class extends B1 {
|
|
2824
2824
|
};
|
|
2825
2825
|
async function A(e, t, r) {
|
|
2826
2826
|
return async function(n, s, i, o) {
|
|
2827
|
-
return
|
|
2827
|
+
return R1(n, s, i, o);
|
|
2828
2828
|
}(e, r.canvas ?? (Pa() ? void 0 : document.createElement("canvas")), t, r);
|
|
2829
2829
|
}
|
|
2830
|
-
function
|
|
2830
|
+
function Ca(e, t, r, n) {
|
|
2831
2831
|
if (e.U) {
|
|
2832
2832
|
const i = new na();
|
|
2833
2833
|
if (r != null && r.regionOfInterest) {
|
|
@@ -2840,8 +2840,8 @@ function Na(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 (_(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] = Ia(t);
|
|
2844
|
+
r = B(i, 3) * a / o, s = B(i, 4) * o / a, _(i, 4, r), _(i, 3, s);
|
|
2845
2845
|
}
|
|
2846
2846
|
}
|
|
2847
2847
|
e.g.addProtoToStream(i.g(), "mediapipe.NormalizedRect", e.U, n);
|
|
@@ -2851,14 +2851,14 @@ function Na(e, t, r, n) {
|
|
|
2851
2851
|
function Se(e, t, r) {
|
|
2852
2852
|
var n;
|
|
2853
2853
|
if ((n = e.baseOptions) != null && n.g()) throw Error("Task is not initialized with image mode. 'runningMode' must be set to 'IMAGE'.");
|
|
2854
|
-
|
|
2854
|
+
Ca(e, t, r, e.C + 1);
|
|
2855
2855
|
}
|
|
2856
|
-
function
|
|
2856
|
+
function Ne(e, t, r, n) {
|
|
2857
2857
|
var s;
|
|
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 It(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);
|
|
@@ -2866,7 +2866,7 @@ function Ot(e, t, r, n) {
|
|
|
2866
2866
|
}
|
|
2867
2867
|
var fe = class extends kn {
|
|
2868
2868
|
constructor(e, t, r, n) {
|
|
2869
|
-
super(e), this.g = e, this.X = t, this.U = r, this.oa = n, this.P = new
|
|
2869
|
+
super(e), this.g = e, this.X = t, this.U = r, this.oa = n, this.P = new Fa();
|
|
2870
2870
|
}
|
|
2871
2871
|
l(e, t = !0) {
|
|
2872
2872
|
if ("runningMode" in e && T(this.baseOptions, 2, rr(!!e.runningMode && e.runningMode !== "IMAGE")), e.canvas !== void 0 && this.g.i.canvas !== e.canvas) throw Error("You must create a new task to reset the canvas.");
|
|
@@ -2879,10 +2879,10 @@ var fe = class extends kn {
|
|
|
2879
2879
|
fe.prototype.close = fe.prototype.close;
|
|
2880
2880
|
var ge = class extends fe {
|
|
2881
2881
|
constructor(e, t) {
|
|
2882
|
-
super(new ke(e, t), "image_in", "norm_rect_in", !1), this.j = { detections: [] }, v(e = this.h = new qr(), 0, 1, t = new
|
|
2882
|
+
super(new ke(e, t), "image_in", "norm_rect_in", !1), this.j = { detections: [] }, v(e = this.h = new qr(), 0, 1, t = new N()), _(this.h, 2, 0.5), _(this.h, 3, 0.3);
|
|
2883
2883
|
}
|
|
2884
2884
|
get baseOptions() {
|
|
2885
|
-
return k(this.h,
|
|
2885
|
+
return k(this.h, N, 1);
|
|
2886
2886
|
}
|
|
2887
2887
|
set baseOptions(e) {
|
|
2888
2888
|
v(this.h, 0, 1, e);
|
|
@@ -2894,15 +2894,15 @@ var ge = class extends fe {
|
|
|
2894
2894
|
return this.j = { detections: [] }, Se(this, e, t), this.j;
|
|
2895
2895
|
}
|
|
2896
2896
|
G(e, t, r) {
|
|
2897
|
-
return this.j = { detections: [] },
|
|
2897
|
+
return this.j = { detections: [] }, Ne(this, e, r, t), this.j;
|
|
2898
2898
|
}
|
|
2899
2899
|
m() {
|
|
2900
2900
|
var e = new pe();
|
|
2901
|
-
|
|
2901
|
+
x(e, "image_in"), x(e, "norm_rect_in"), S(e, "detections");
|
|
2902
2902
|
const t = new de();
|
|
2903
|
-
|
|
2903
|
+
xe(t, v1, this.h);
|
|
2904
2904
|
const r = new ne();
|
|
2905
|
-
he(r, 2, "mediapipe.tasks.vision.face_detector.FaceDetectorGraph"),
|
|
2905
|
+
he(r, 2, "mediapipe.tasks.vision.face_detector.FaceDetectorGraph"), O(r, "IMAGE:image_in"), O(r, "NORM_RECT:norm_rect_in"), w(r, "DETECTIONS:detections"), r.o(t), Ee(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) => {
|
|
@@ -2917,16 +2917,16 @@ ge.prototype.detectForVideo = ge.prototype.G, ge.prototype.detect = ge.prototype
|
|
|
2917
2917
|
}, ge.createFromOptions = function(e, t) {
|
|
2918
2918
|
return A(ge, e, t);
|
|
2919
2919
|
};
|
|
2920
|
-
var bs = Ae([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 = Ae([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 = Ae([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), Ba = Ae([474, 475], [475, 476], [476, 477], [477, 474]), As = Ae([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 = Ae([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), Da = Ae([469, 470], [470, 471], [471, 472], [472, 469]), Ss = Ae([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 = Ae([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 = Ae([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 = Ae([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 = Ae([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), Da = Ae([474, 475], [475, 476], [476, 477], [477, 474]), As = Ae([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 = Ae([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), Ba = Ae([469, 470], [470, 471], [471, 472], [472, 469]), Ss = Ae([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 = Ae([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
|
|
2924
|
+
var M = class extends fe {
|
|
2925
2925
|
constructor(e, t) {
|
|
2926
|
-
super(new ke(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
|
|
2926
|
+
super(new ke(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 N()), this.A = new aa(), v(this.h, 0, 3, this.A), this.u = new qr(), v(this.h, 0, 2, this.u), Ue(this.u, 4, 1), _(this.u, 2, 0.5), _(this.A, 2, 0.5), _(this.h, 4, 0.5);
|
|
2927
2927
|
}
|
|
2928
2928
|
get baseOptions() {
|
|
2929
|
-
return k(this.h,
|
|
2929
|
+
return k(this.h, N, 1);
|
|
2930
2930
|
}
|
|
2931
2931
|
set baseOptions(e) {
|
|
2932
2932
|
v(this.h, 0, 1, e);
|
|
@@ -2938,62 +2938,62 @@ var F = class extends fe {
|
|
|
2938
2938
|
return Pi(this), Se(this, e, t), this.j;
|
|
2939
2939
|
}
|
|
2940
2940
|
G(e, t, r) {
|
|
2941
|
-
return Pi(this),
|
|
2941
|
+
return Pi(this), Ne(this, e, r, t), this.j;
|
|
2942
2942
|
}
|
|
2943
2943
|
m() {
|
|
2944
2944
|
var e = new pe();
|
|
2945
|
-
|
|
2945
|
+
x(e, "image_in"), x(e, "norm_rect"), S(e, "face_landmarks");
|
|
2946
2946
|
const t = new de();
|
|
2947
|
-
|
|
2947
|
+
xe(t, E1, this.h);
|
|
2948
2948
|
const r = new ne();
|
|
2949
|
-
he(r, 2, "mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"),
|
|
2950
|
-
for (const i of n) n = lr(i), this.j.faceLandmarks.push(
|
|
2949
|
+
he(r, 2, "mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"), O(r, "IMAGE:image_in"), O(r, "NORM_RECT:norm_rect"), w(r, "NORM_LANDMARKS:face_landmarks"), r.o(t), Ee(e, r), this.g.attachProtoVectorListener("face_landmarks", (n, s) => {
|
|
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"), w(r, "BLENDSHAPES:blendshapes"), this.g.attachProtoVectorListener("blendshapes", (n, s) => {
|
|
2955
|
+
if (this.outputFaceBlendshapes) for (const i of n) n = Kr(i), this.j.faceBlendshapes.push(_s(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: ve(n, 1) ?? 0 ?? 0, columns: ve(n, 2) ?? 0 ?? 0, data: et(n, 3,
|
|
2959
|
+
})), this.outputFacialTransformationMatrixes && (S(e, "face_geometry"), w(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: ve(n, 1) ?? 0 ?? 0, columns: ve(n, 2) ?? 0 ?? 0, data: et(n, 3, Ie, Ze()).slice() ?? [] });
|
|
2961
2961
|
d(this, s);
|
|
2962
2962
|
}), this.g.attachEmptyPacketListener("face_geometry", (n) => {
|
|
2963
2963
|
d(this, n);
|
|
2964
2964
|
})), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
2965
2965
|
}
|
|
2966
2966
|
};
|
|
2967
|
-
|
|
2968
|
-
return A(
|
|
2969
|
-
},
|
|
2970
|
-
return A(
|
|
2971
|
-
},
|
|
2972
|
-
return A(
|
|
2973
|
-
},
|
|
2967
|
+
M.prototype.detectForVideo = M.prototype.G, M.prototype.detect = M.prototype.F, M.prototype.setOptions = M.prototype.o, M.createFromModelPath = function(e, t) {
|
|
2968
|
+
return A(M, e, { baseOptions: { modelAssetPath: t } });
|
|
2969
|
+
}, M.createFromModelBuffer = function(e, t) {
|
|
2970
|
+
return A(M, e, { baseOptions: { modelAssetBuffer: t } });
|
|
2971
|
+
}, M.createFromOptions = function(e, t) {
|
|
2972
|
+
return A(M, e, t);
|
|
2973
|
+
}, M.FACE_LANDMARKS_LIPS = bs, M.FACE_LANDMARKS_LEFT_EYE = Es, M.FACE_LANDMARKS_LEFT_EYEBROW = ws, 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;
|
|
2974
2974
|
var Ts = Ae([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 Ii(e) {
|
|
2976
2976
|
e.gestures = [], e.landmarks = [], e.worldLandmarks = [], e.handedness = [];
|
|
2977
2977
|
}
|
|
2978
|
-
function
|
|
2978
|
+
function Oi(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
|
-
function
|
|
2981
|
+
function Mi(e, t = !0) {
|
|
2982
2982
|
const r = [];
|
|
2983
2983
|
for (const s of e) {
|
|
2984
|
-
var n =
|
|
2984
|
+
var n = Kr(s);
|
|
2985
2985
|
e = [];
|
|
2986
|
-
for (const i of n.g()) n = t && ve(i, 1) != null ? ve(i, 1) ?? 0 : -1, e.push({ score:
|
|
2986
|
+
for (const i of n.g()) n = t && ve(i, 1) != null ? ve(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
2991
|
var se = class extends fe {
|
|
2992
2992
|
constructor(e, t) {
|
|
2993
|
-
super(new ke(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
|
|
2993
|
+
super(new ke(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 N()), 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 w1(), v(this.j, 0, 3, this.h), _(this.A, 2, 0.5), _(this.u, 4, 0.5), _(this.D, 2, 0.5);
|
|
2994
2994
|
}
|
|
2995
2995
|
get baseOptions() {
|
|
2996
|
-
return k(this.j,
|
|
2996
|
+
return k(this.j, N, 1);
|
|
2997
2997
|
}
|
|
2998
2998
|
set baseOptions(e) {
|
|
2999
2999
|
v(this.j, 0, 1, e);
|
|
@@ -3007,22 +3007,22 @@ var se = class extends fe {
|
|
|
3007
3007
|
return e.customGesturesClassifierOptions ? (v(r = t = new pt(), 0, 2, n = An(e.customGesturesClassifierOptions, (o = k(this.h, pt, 4)) == null ? void 0 : o.l())), v(this.h, 0, 4, t)) : e.customGesturesClassifierOptions === void 0 && ((a = k(this.h, pt, 4)) == null || a.g()), this.l(e);
|
|
3008
3008
|
}
|
|
3009
3009
|
Ha(e, t) {
|
|
3010
|
-
return
|
|
3010
|
+
return Ii(this), Se(this, e, t), Oi(this);
|
|
3011
3011
|
}
|
|
3012
3012
|
Ia(e, t, r) {
|
|
3013
|
-
return
|
|
3013
|
+
return Ii(this), Ne(this, e, r, t), Oi(this);
|
|
3014
3014
|
}
|
|
3015
3015
|
m() {
|
|
3016
3016
|
var e = new pe();
|
|
3017
|
-
|
|
3017
|
+
x(e, "image_in"), x(e, "norm_rect"), S(e, "hand_gestures"), S(e, "hand_landmarks"), S(e, "world_hand_landmarks"), S(e, "handedness");
|
|
3018
3018
|
const t = new de();
|
|
3019
|
-
|
|
3019
|
+
xe(t, A1, this.j);
|
|
3020
3020
|
const r = new ne();
|
|
3021
|
-
he(r, 2, "mediapipe.tasks.vision.gesture_recognizer.GestureRecognizerGraph"),
|
|
3021
|
+
he(r, 2, "mediapipe.tasks.vision.gesture_recognizer.GestureRecognizerGraph"), O(r, "IMAGE:image_in"), O(r, "NORM_RECT:norm_rect"), w(r, "HAND_GESTURES:hand_gestures"), w(r, "LANDMARKS:hand_landmarks"), w(r, "WORLD_LANDMARKS:world_hand_landmarks"), w(r, "HANDEDNESS:handedness"), r.o(t), Ee(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 je(n, ra, 1)) o.push({ x:
|
|
3025
|
+
for (const a of je(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);
|
|
@@ -3032,24 +3032,24 @@ var se = class extends fe {
|
|
|
3032
3032
|
for (const i of n) {
|
|
3033
3033
|
n = _t(i);
|
|
3034
3034
|
const o = [];
|
|
3035
|
-
for (const a of je(n, ta, 1)) o.push({ x:
|
|
3035
|
+
for (const a of je(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);
|
|
3039
3039
|
}), this.g.attachEmptyPacketListener("world_hand_landmarks", (n) => {
|
|
3040
3040
|
d(this, n);
|
|
3041
3041
|
}), this.g.attachProtoVectorListener("hand_gestures", (n, s) => {
|
|
3042
|
-
this.gestures.push(...
|
|
3042
|
+
this.gestures.push(...Mi(n, !1)), d(this, s);
|
|
3043
3043
|
}), this.g.attachEmptyPacketListener("hand_gestures", (n) => {
|
|
3044
3044
|
d(this, n);
|
|
3045
3045
|
}), this.g.attachProtoVectorListener("handedness", (n, s) => {
|
|
3046
|
-
this.handedness.push(...
|
|
3046
|
+
this.handedness.push(...Mi(n)), d(this, s);
|
|
3047
3047
|
}), this.g.attachEmptyPacketListener("handedness", (n) => {
|
|
3048
3048
|
d(this, n);
|
|
3049
3049
|
}), e = e.g(), this.setGraph(new Uint8Array(e), !0);
|
|
3050
3050
|
}
|
|
3051
3051
|
};
|
|
3052
|
-
function
|
|
3052
|
+
function Fi(e) {
|
|
3053
3053
|
return { landmarks: e.landmarks, worldLandmarks: e.worldLandmarks, handednesses: e.handedness, handedness: e.handedness };
|
|
3054
3054
|
}
|
|
3055
3055
|
se.prototype.recognizeForVideo = se.prototype.Ia, se.prototype.recognize = se.prototype.Ha, se.prototype.setOptions = se.prototype.o, se.createFromModelPath = function(e, t) {
|
|
@@ -3061,10 +3061,10 @@ se.prototype.recognizeForVideo = se.prototype.Ia, se.prototype.recognize = se.pr
|
|
|
3061
3061
|
}, se.HAND_CONNECTIONS = Ts;
|
|
3062
3062
|
var re = class extends fe {
|
|
3063
3063
|
constructor(e, t) {
|
|
3064
|
-
super(new ke(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], v(e = this.h = new ds(), 0, 1, t = new
|
|
3064
|
+
super(new ke(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], v(e = this.h = new ds(), 0, 1, t = new N()), this.u = new fs(), v(this.h, 0, 3, this.u), this.j = new ha(), v(this.h, 0, 2, this.j), Ue(this.j, 3, 1), _(this.j, 2, 0.5), _(this.u, 2, 0.5), _(this.h, 4, 0.5);
|
|
3065
3065
|
}
|
|
3066
3066
|
get baseOptions() {
|
|
3067
|
-
return k(this.h,
|
|
3067
|
+
return k(this.h, N, 1);
|
|
3068
3068
|
}
|
|
3069
3069
|
set baseOptions(e) {
|
|
3070
3070
|
v(this.h, 0, 1, e);
|
|
@@ -3073,24 +3073,24 @@ var re = class extends fe {
|
|
|
3073
3073
|
return "numHands" in e && Ue(this.j, 3, e.numHands ?? 1), "minHandDetectionConfidence" in e && _(this.j, 2, e.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && _(this.h, 4, e.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in e && _(this.u, 2, e.minHandPresenceConfidence ?? 0.5), this.l(e);
|
|
3074
3074
|
}
|
|
3075
3075
|
F(e, t) {
|
|
3076
|
-
return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Se(this, e, t),
|
|
3076
|
+
return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Se(this, e, t), Fi(this);
|
|
3077
3077
|
}
|
|
3078
3078
|
G(e, t, r) {
|
|
3079
|
-
return this.landmarks = [], this.worldLandmarks = [], this.handedness = [],
|
|
3079
|
+
return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Ne(this, e, r, t), Fi(this);
|
|
3080
3080
|
}
|
|
3081
3081
|
m() {
|
|
3082
3082
|
var e = new pe();
|
|
3083
|
-
|
|
3083
|
+
x(e, "image_in"), x(e, "norm_rect"), S(e, "hand_landmarks"), S(e, "world_hand_landmarks"), S(e, "handedness");
|
|
3084
3084
|
const t = new de();
|
|
3085
|
-
|
|
3085
|
+
xe(t, k1, this.h);
|
|
3086
3086
|
const r = new ne();
|
|
3087
|
-
he(r, 2, "mediapipe.tasks.vision.hand_landmarker.HandLandmarkerGraph"),
|
|
3088
|
-
for (const i of n) n = lr(i), this.landmarks.push(
|
|
3087
|
+
he(r, 2, "mediapipe.tasks.vision.hand_landmarker.HandLandmarkerGraph"), O(r, "IMAGE:image_in"), O(r, "NORM_RECT:norm_rect"), w(r, "LANDMARKS:hand_landmarks"), w(r, "WORLD_LANDMARKS:world_hand_landmarks"), w(r, "HANDEDNESS:handedness"), r.o(t), Ee(e, r), this.g.attachProtoVectorListener("hand_landmarks", (n, s) => {
|
|
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 = _t(i), this.worldLandmarks.push(
|
|
3093
|
+
for (const i of n) n = _t(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 re = class extends fe {
|
|
|
3098
3098
|
var i = this.handedness, o = i.push;
|
|
3099
3099
|
const a = [];
|
|
3100
3100
|
for (const c of n) {
|
|
3101
|
-
n =
|
|
3101
|
+
n = Kr(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: ve(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);
|
|
@@ -3117,10 +3117,10 @@ re.prototype.detectForVideo = re.prototype.G, re.prototype.detect = re.prototype
|
|
|
3117
3117
|
return A(re, e, t);
|
|
3118
3118
|
}, re.HAND_CONNECTIONS = Ts;
|
|
3119
3119
|
var Va = Ae([0, 1], [1, 2], [2, 3], [3, 7], [0, 4], [4, 5], [5, 6], [6, 8], [9, 10], [11, 12], [11, 13], [13, 15], [15, 17], [15, 19], [15, 21], [17, 19], [12, 14], [14, 16], [16, 18], [16, 20], [16, 22], [18, 20], [11, 23], [12, 24], [23, 24], [23, 25], [24, 26], [25, 27], [26, 28], [27, 29], [28, 30], [29, 31], [30, 32], [27, 31], [28, 32]);
|
|
3120
|
-
function
|
|
3120
|
+
function xi(e) {
|
|
3121
3121
|
e.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] };
|
|
3122
3122
|
}
|
|
3123
|
-
function
|
|
3123
|
+
function Ri(e) {
|
|
3124
3124
|
try {
|
|
3125
3125
|
if (!e.D) return e.h;
|
|
3126
3126
|
e.D(e.h);
|
|
@@ -3129,14 +3129,14 @@ function Ii(e) {
|
|
|
3129
3129
|
}
|
|
3130
3130
|
}
|
|
3131
3131
|
function _r(e, t) {
|
|
3132
|
-
e = lr(e), t.push(
|
|
3132
|
+
e = lr(e), t.push(zr(e));
|
|
3133
3133
|
}
|
|
3134
3134
|
var P = class extends fe {
|
|
3135
3135
|
constructor(e, t) {
|
|
3136
|
-
super(new ke(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
|
|
3136
|
+
super(new ke(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 N()), 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 qr(), 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), _(this.u, 2, 0.5), _(this.u, 3, 0.3), _(this.O, 2, 0.5), _(this.A, 2, 0.5), _(this.A, 3, 0.3), _(this.M, 2, 0.5), _(this.I, 2, 0.5);
|
|
3137
3137
|
}
|
|
3138
3138
|
get baseOptions() {
|
|
3139
|
-
return k(this.j,
|
|
3139
|
+
return k(this.j, N, 1);
|
|
3140
3140
|
}
|
|
3141
3141
|
set baseOptions(e) {
|
|
3142
3142
|
v(this.j, 0, 1, e);
|
|
@@ -3146,44 +3146,44 @@ var P = class extends fe {
|
|
|
3146
3146
|
}
|
|
3147
3147
|
F(e, t, r) {
|
|
3148
3148
|
const n = typeof t != "function" ? t : {};
|
|
3149
|
-
return this.D = typeof t == "function" ? t : r,
|
|
3149
|
+
return this.D = typeof t == "function" ? t : r, xi(this), Se(this, e, n), Ri(this);
|
|
3150
3150
|
}
|
|
3151
3151
|
G(e, t, r, n) {
|
|
3152
3152
|
const s = typeof r != "function" ? r : {};
|
|
3153
|
-
return this.D = typeof r == "function" ? r : n,
|
|
3153
|
+
return this.D = typeof r == "function" ? r : n, xi(this), Ne(this, e, s, t), Ri(this);
|
|
3154
3154
|
}
|
|
3155
3155
|
m() {
|
|
3156
3156
|
var e = new pe();
|
|
3157
|
-
|
|
3157
|
+
x(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
3158
|
const t = new de(), r = new si();
|
|
3159
3159
|
he(r, 1, "type.googleapis.com/mediapipe.tasks.vision.holistic_landmarker.proto.HolisticLandmarkerGraphOptions"), function(s, i) {
|
|
3160
|
-
if (i != null) if (Array.isArray(i)) T(s, 2,
|
|
3160
|
+
if (i != null) if (Array.isArray(i)) T(s, 2, xr(i, 0, nr));
|
|
3161
3161
|
else {
|
|
3162
|
-
if (!(typeof i == "string" || i instanceof
|
|
3163
|
-
We(s, 2,
|
|
3162
|
+
if (!(typeof i == "string" || i instanceof Oe || xn(i))) throw Error("invalid value in Any.value field: " + i + " expected a ByteString, a base64 encoded string, a Uint8Array or a jspb array");
|
|
3163
|
+
We(s, 2, Nn(i, !1), ot());
|
|
3164
3164
|
}
|
|
3165
3165
|
}(r, this.j.g());
|
|
3166
3166
|
const n = new ne();
|
|
3167
|
-
he(n, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), Xn(n, 8, si, r),
|
|
3167
|
+
he(n, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), Xn(n, 8, si, r), O(n, "IMAGE:input_frames_image"), w(n, "POSE_LANDMARKS:pose_landmarks"), w(n, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), w(n, "FACE_LANDMARKS:face_landmarks"), w(n, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), w(n, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), w(n, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), w(n, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), n.o(t), Ee(e, n), Yr(this, e), this.g.attachProtoListener("pose_landmarks", (s, i) => {
|
|
3168
3168
|
_r(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 = _t(s), o.push(
|
|
3173
|
+
s = _t(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 && (w(n, "POSE_SEGMENTATION_MASK:pose_segmentation_mask"), Lt(this, "pose_segmentation_mask"), this.g.Z("pose_segmentation_mask", (s, i) => {
|
|
3177
|
+
this.h.poseSegmentationMasks = [It(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
|
_r(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"), w(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 = Kr(s), o.push(_s(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 P = class extends fe {
|
|
|
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 = _t(s), o.push(
|
|
3195
|
+
s = _t(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,7 +3201,7 @@ var P = class extends fe {
|
|
|
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 = _t(s), o.push(
|
|
3204
|
+
s = _t(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);
|
|
@@ -3213,13 +3213,13 @@ P.prototype.detectForVideo = P.prototype.G, P.prototype.detect = P.prototype.F,
|
|
|
3213
3213
|
return A(P, e, { baseOptions: { modelAssetBuffer: t } });
|
|
3214
3214
|
}, P.createFromOptions = function(e, t) {
|
|
3215
3215
|
return A(P, e, t);
|
|
3216
|
-
}, P.HAND_CONNECTIONS = Ts, P.POSE_CONNECTIONS = Va, P.FACE_LANDMARKS_LIPS = bs, P.FACE_LANDMARKS_LEFT_EYE =
|
|
3216
|
+
}, P.HAND_CONNECTIONS = Ts, P.POSE_CONNECTIONS = Va, P.FACE_LANDMARKS_LIPS = bs, P.FACE_LANDMARKS_LEFT_EYE = Es, P.FACE_LANDMARKS_LEFT_EYEBROW = ws, P.FACE_LANDMARKS_LEFT_IRIS = Da, P.FACE_LANDMARKS_RIGHT_EYE = As, P.FACE_LANDMARKS_RIGHT_EYEBROW = ks, P.FACE_LANDMARKS_RIGHT_IRIS = Ba, P.FACE_LANDMARKS_FACE_OVAL = Ss, P.FACE_LANDMARKS_CONTOURS = ja, P.FACE_LANDMARKS_TESSELATION = Ua;
|
|
3217
3217
|
var me = class extends fe {
|
|
3218
3218
|
constructor(e, t) {
|
|
3219
|
-
super(new ke(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, v(e = this.h = new _a(), 0, 1, t = new
|
|
3219
|
+
super(new ke(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, v(e = this.h = new _a(), 0, 1, t = new N());
|
|
3220
3220
|
}
|
|
3221
3221
|
get baseOptions() {
|
|
3222
|
-
return k(this.h,
|
|
3222
|
+
return k(this.h, N, 1);
|
|
3223
3223
|
}
|
|
3224
3224
|
set baseOptions(e) {
|
|
3225
3225
|
v(this.h, 0, 1, e);
|
|
@@ -3231,16 +3231,16 @@ var me = class extends fe {
|
|
|
3231
3231
|
return this.j = { classifications: [] }, Se(this, e, t), this.j;
|
|
3232
3232
|
}
|
|
3233
3233
|
ta(e, t, r) {
|
|
3234
|
-
return this.j = { classifications: [] },
|
|
3234
|
+
return this.j = { classifications: [] }, Ne(this, e, r, t), this.j;
|
|
3235
3235
|
}
|
|
3236
3236
|
m() {
|
|
3237
3237
|
var e = new pe();
|
|
3238
|
-
|
|
3238
|
+
x(e, "input_image"), x(e, "norm_rect"), S(e, "classifications");
|
|
3239
3239
|
const t = new de();
|
|
3240
|
-
|
|
3240
|
+
xe(t, T1, this.h);
|
|
3241
3241
|
const r = new ne();
|
|
3242
|
-
he(r, 2, "mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"),
|
|
3243
|
-
this.j =
|
|
3242
|
+
he(r, 2, "mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"), O(r, "IMAGE:input_image"), O(r, "NORM_RECT:norm_rect"), w(r, "CLASSIFICATIONS:classifications"), r.o(t), Ee(e, r), this.g.attachProtoListener("classifications", (n, s) => {
|
|
3243
|
+
this.j = F1(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);
|
|
@@ -3255,10 +3255,10 @@ me.prototype.classifyForVideo = me.prototype.ta, me.prototype.classify = me.prot
|
|
|
3255
3255
|
};
|
|
3256
3256
|
var ie = class extends fe {
|
|
3257
3257
|
constructor(e, t) {
|
|
3258
|
-
super(new ke(e, t), "image_in", "norm_rect", !0), this.h = new ya(), this.embeddings = { embeddings: [] }, v(e = this.h, 0, 1, t = new
|
|
3258
|
+
super(new ke(e, t), "image_in", "norm_rect", !0), this.h = new ya(), this.embeddings = { embeddings: [] }, v(e = this.h, 0, 1, t = new N());
|
|
3259
3259
|
}
|
|
3260
3260
|
get baseOptions() {
|
|
3261
|
-
return k(this.h,
|
|
3261
|
+
return k(this.h, N, 1);
|
|
3262
3262
|
}
|
|
3263
3263
|
set baseOptions(e) {
|
|
3264
3264
|
v(this.h, 0, 1, e);
|
|
@@ -3271,21 +3271,21 @@ var ie = class extends fe {
|
|
|
3271
3271
|
return Se(this, e, t), this.embeddings;
|
|
3272
3272
|
}
|
|
3273
3273
|
Aa(e, t, r) {
|
|
3274
|
-
return
|
|
3274
|
+
return Ne(this, e, r, t), this.embeddings;
|
|
3275
3275
|
}
|
|
3276
3276
|
m() {
|
|
3277
3277
|
var e = new pe();
|
|
3278
|
-
|
|
3278
|
+
x(e, "image_in"), x(e, "norm_rect"), S(e, "embeddings_out");
|
|
3279
3279
|
const t = new de();
|
|
3280
|
-
|
|
3280
|
+
xe(t, L1, this.h);
|
|
3281
3281
|
const r = new ne();
|
|
3282
|
-
he(r, 2, "mediapipe.tasks.vision.image_embedder.ImageEmbedderGraph"),
|
|
3282
|
+
he(r, 2, "mediapipe.tasks.vision.image_embedder.ImageEmbedderGraph"), O(r, "IMAGE:image_in"), O(r, "NORM_RECT:norm_rect"), w(r, "EMBEDDINGS:embeddings_out"), r.o(t), Ee(e, r), this.g.attachProtoListener("embeddings_out", (n, s) => {
|
|
3283
3283
|
n = _1(n), this.embeddings = function(i) {
|
|
3284
3284
|
return { embeddings: je(i, m1, 1).map((o) => {
|
|
3285
3285
|
var l, u;
|
|
3286
|
-
const a = { headIndex: ve(o, 3) ?? 0 ?? -1, headName:
|
|
3286
|
+
const a = { headIndex: ve(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 = et(o = k(o, fi, sn(o, 1), void 0), 1,
|
|
3288
|
+
return po(c, 0 | c[p], fi, sn(o, 1)) !== void 0 ? (o = et(o = k(o, fi, sn(o, 1), void 0), 1, Ie, Ze()), 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(_o(i)) };
|
|
3290
3290
|
}(n), d(this, s);
|
|
3291
3291
|
}), this.g.attachEmptyPacketListener("embeddings_out", (n) => {
|
|
@@ -3322,16 +3322,16 @@ function j1(e) {
|
|
|
3322
3322
|
var r, n;
|
|
3323
3323
|
const t = function(s) {
|
|
3324
3324
|
return je(s, ne, 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
3327
|
t.length === 1 && (((n = (r = k(t[0], de, 7)) == null ? void 0 : r.j()) == null ? void 0 : n.g()) ?? /* @__PURE__ */ new Map()).forEach((s, i) => {
|
|
3328
|
-
e.u[Number(i)] =
|
|
3328
|
+
e.u[Number(i)] = Q(I(s, 1)) ?? "";
|
|
3329
3329
|
});
|
|
3330
3330
|
}
|
|
3331
|
-
function
|
|
3331
|
+
function Ni(e) {
|
|
3332
3332
|
e.categoryMask = void 0, e.confidenceMasks = void 0, e.qualityScores = void 0;
|
|
3333
3333
|
}
|
|
3334
|
-
function
|
|
3334
|
+
function Ci(e) {
|
|
3335
3335
|
try {
|
|
3336
3336
|
const t = new Ln(e.confidenceMasks, e.categoryMask, e.qualityScores);
|
|
3337
3337
|
if (!e.j) return t;
|
|
@@ -3343,10 +3343,10 @@ function Ni(e) {
|
|
|
3343
3343
|
Ln.prototype.close = Ln.prototype.close;
|
|
3344
3344
|
var te = class extends fe {
|
|
3345
3345
|
constructor(e, t) {
|
|
3346
|
-
super(new ke(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
|
|
3346
|
+
super(new ke(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 N());
|
|
3347
3347
|
}
|
|
3348
3348
|
get baseOptions() {
|
|
3349
|
-
return k(this.h,
|
|
3349
|
+
return k(this.h, N, 1);
|
|
3350
3350
|
}
|
|
3351
3351
|
set baseOptions(e) {
|
|
3352
3352
|
v(this.h, 0, 1, e);
|
|
@@ -3359,30 +3359,30 @@ var te = class extends fe {
|
|
|
3359
3359
|
}
|
|
3360
3360
|
segment(e, t, r) {
|
|
3361
3361
|
const n = typeof t != "function" ? t : {};
|
|
3362
|
-
return this.j = typeof t == "function" ? t : r,
|
|
3362
|
+
return this.j = typeof t == "function" ? t : r, Ni(this), Se(this, e, n), Ci(this);
|
|
3363
3363
|
}
|
|
3364
3364
|
La(e, t, r, n) {
|
|
3365
3365
|
const s = typeof r != "function" ? r : {};
|
|
3366
|
-
return this.j = typeof r == "function" ? r : n,
|
|
3366
|
+
return this.j = typeof r == "function" ? r : n, Ni(this), Ne(this, e, s, t), Ci(this);
|
|
3367
3367
|
}
|
|
3368
3368
|
Da() {
|
|
3369
3369
|
return this.u;
|
|
3370
3370
|
}
|
|
3371
3371
|
m() {
|
|
3372
3372
|
var e = new pe();
|
|
3373
|
-
|
|
3373
|
+
x(e, "image_in"), x(e, "norm_rect");
|
|
3374
3374
|
const t = new de();
|
|
3375
|
-
|
|
3375
|
+
xe(t, Ea, this.h);
|
|
3376
3376
|
const r = new ne();
|
|
3377
|
-
he(r, 2, "mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"),
|
|
3378
|
-
this.confidenceMasks = n.map((i) =>
|
|
3377
|
+
he(r, 2, "mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"), O(r, "IMAGE:image_in"), O(r, "NORM_RECT:norm_rect"), r.o(t), Ee(e, r), Yr(this, e), this.outputConfidenceMasks && (S(e, "confidence_masks"), w(r, "CONFIDENCE_MASKS:confidence_masks"), Lt(this, "confidence_masks"), this.g.aa("confidence_masks", (n, s) => {
|
|
3378
|
+
this.confidenceMasks = n.map((i) => It(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"), w(r, "CATEGORY_MASK:category_mask"), Lt(this, "category_mask"), this.g.Z("category_mask", (n, s) => {
|
|
3382
|
+
this.categoryMask = It(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"), w(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);
|
|
@@ -3410,10 +3410,10 @@ var Pn = class {
|
|
|
3410
3410
|
Pn.prototype.close = Pn.prototype.close;
|
|
3411
3411
|
var Pe = class extends fe {
|
|
3412
3412
|
constructor(e, t) {
|
|
3413
|
-
super(new ke(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
|
|
3413
|
+
super(new ke(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 N());
|
|
3414
3414
|
}
|
|
3415
3415
|
get baseOptions() {
|
|
3416
|
-
return k(this.h,
|
|
3416
|
+
return k(this.h, N, 1);
|
|
3417
3417
|
}
|
|
3418
3418
|
set baseOptions(e) {
|
|
3419
3419
|
v(this.h, 0, 1, e);
|
|
@@ -3423,16 +3423,16 @@ var Pe = class extends fe {
|
|
|
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 wa(), t.keypoint && t.scribble) throw Error("Cannot provide both keypoint and scribble.");
|
|
3427
3427
|
if (t.keypoint) {
|
|
3428
3428
|
var i = new un();
|
|
3429
|
-
We(i, 3, rr(!0), !1), We(i, 1, $t(t.keypoint.x), 0), We(i, 2, $t(t.keypoint.y), 0), Xt(n, 1,
|
|
3429
|
+
We(i, 3, rr(!0), !1), We(i, 1, $t(t.keypoint.x), 0), We(i, 2, $t(t.keypoint.y), 0), Xt(n, 1, wn, 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
|
|
3433
|
+
const a = new I1();
|
|
3434
3434
|
for (i of t.scribble) We(t = new un(), 3, rr(!0), !1), We(t, 1, $t(i.x), 0), We(t, 2, $t(i.y), 0), Xn(a, 1, un, t);
|
|
3435
|
-
Xt(n, 2,
|
|
3435
|
+
Xt(n, 2, wn, a);
|
|
3436
3436
|
}
|
|
3437
3437
|
}
|
|
3438
3438
|
this.g.addProtoToStream(n.g(), "mediapipe.tasks.vision.interactive_segmenter.proto.RegionOfInterest", "roi_in", r), Se(this, e, s);
|
|
@@ -3453,19 +3453,19 @@ var Pe = class extends fe {
|
|
|
3453
3453
|
}
|
|
3454
3454
|
m() {
|
|
3455
3455
|
var e = new pe();
|
|
3456
|
-
|
|
3456
|
+
x(e, "image_in"), x(e, "roi_in"), x(e, "norm_rect_in");
|
|
3457
3457
|
const t = new de();
|
|
3458
|
-
|
|
3458
|
+
xe(t, Ea, this.h);
|
|
3459
3459
|
const r = new ne();
|
|
3460
|
-
he(r, 2, "mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraphV2"),
|
|
3461
|
-
this.confidenceMasks = n.map((i) =>
|
|
3460
|
+
he(r, 2, "mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraphV2"), O(r, "IMAGE:image_in"), O(r, "ROI:roi_in"), O(r, "NORM_RECT:norm_rect_in"), r.o(t), Ee(e, r), Yr(this, e), this.outputConfidenceMasks && (S(e, "confidence_masks"), w(r, "CONFIDENCE_MASKS:confidence_masks"), Lt(this, "confidence_masks"), this.g.aa("confidence_masks", (n, s) => {
|
|
3461
|
+
this.confidenceMasks = n.map((i) => It(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"), w(r, "CATEGORY_MASK:category_mask"), Lt(this, "category_mask"), this.g.Z("category_mask", (n, s) => {
|
|
3465
|
+
this.categoryMask = It(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"), w(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);
|
|
@@ -3481,30 +3481,30 @@ Pe.prototype.segment = Pe.prototype.segment, Pe.prototype.setOptions = Pe.protot
|
|
|
3481
3481
|
};
|
|
3482
3482
|
var _e = class extends fe {
|
|
3483
3483
|
constructor(e, t) {
|
|
3484
|
-
super(new ke(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, v(e = this.h = new Aa(), 0, 1, t = new
|
|
3484
|
+
super(new ke(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, v(e = this.h = new Aa(), 0, 1, t = new N());
|
|
3485
3485
|
}
|
|
3486
3486
|
get baseOptions() {
|
|
3487
|
-
return k(this.h,
|
|
3487
|
+
return k(this.h, N, 1);
|
|
3488
3488
|
}
|
|
3489
3489
|
set baseOptions(e) {
|
|
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 ? Ue(this.h, 3, e.maxResults) : "maxResults" in e && T(this.h, 3), e.scoreThreshold !== void 0 ? _(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 ? Ue(this.h, 3, e.maxResults) : "maxResults" in e && T(this.h, 3), e.scoreThreshold !== void 0 ? _(this.h, 4, e.scoreThreshold) : "scoreThreshold" in e && T(this.h, 4), e.categoryAllowlist !== void 0 ? wr(this.h, 5, e.categoryAllowlist) : "categoryAllowlist" in e && T(this.h, 5), e.categoryDenylist !== void 0 ? wr(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: [] }, Se(this, e, t), this.j;
|
|
3497
3497
|
}
|
|
3498
3498
|
G(e, t, r) {
|
|
3499
|
-
return this.j = { detections: [] },
|
|
3499
|
+
return this.j = { detections: [] }, Ne(this, e, r, t), this.j;
|
|
3500
3500
|
}
|
|
3501
3501
|
m() {
|
|
3502
3502
|
var e = new pe();
|
|
3503
|
-
|
|
3503
|
+
x(e, "input_frame_gpu"), x(e, "norm_rect"), S(e, "detections");
|
|
3504
3504
|
const t = new de();
|
|
3505
|
-
|
|
3505
|
+
xe(t, O1, this.h);
|
|
3506
3506
|
const r = new ne();
|
|
3507
|
-
he(r, 2, "mediapipe.tasks.vision.ObjectDetectorGraph"),
|
|
3507
|
+
he(r, 2, "mediapipe.tasks.vision.ObjectDetectorGraph"), O(r, "IMAGE:input_frame_gpu"), O(r, "NORM_RECT:norm_rect"), w(r, "DETECTIONS:detections"), r.o(t), Ee(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) => {
|
|
@@ -3519,7 +3519,7 @@ _e.prototype.detectForVideo = _e.prototype.G, _e.prototype.detect = _e.prototype
|
|
|
3519
3519
|
}, _e.createFromOptions = function(e, t) {
|
|
3520
3520
|
return A(_e, e, t);
|
|
3521
3521
|
};
|
|
3522
|
-
var
|
|
3522
|
+
var In = class {
|
|
3523
3523
|
constructor(e, t, r) {
|
|
3524
3524
|
this.landmarks = e, this.worldLandmarks = t, this.segmentationMasks = r;
|
|
3525
3525
|
}
|
|
@@ -3530,25 +3530,25 @@ var On = 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 In(e.landmarks, e.worldLandmarks, e.segmentationMasks);
|
|
3539
3539
|
if (!e.u) return t;
|
|
3540
3540
|
e.u(t);
|
|
3541
3541
|
} finally {
|
|
3542
3542
|
$r(e);
|
|
3543
3543
|
}
|
|
3544
3544
|
}
|
|
3545
|
-
|
|
3545
|
+
In.prototype.close = In.prototype.close;
|
|
3546
3546
|
var oe = class extends fe {
|
|
3547
3547
|
constructor(e, t) {
|
|
3548
|
-
super(new ke(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, v(e = this.h = new ka(), 0, 1, t = new
|
|
3548
|
+
super(new ke(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, v(e = this.h = new ka(), 0, 1, t = new N()), this.A = new ga(), v(this.h, 0, 3, this.A), this.j = new pa(), v(this.h, 0, 2, this.j), Ue(this.j, 4, 1), _(this.j, 2, 0.5), _(this.A, 2, 0.5), _(this.h, 4, 0.5);
|
|
3549
3549
|
}
|
|
3550
3550
|
get baseOptions() {
|
|
3551
|
-
return k(this.h,
|
|
3551
|
+
return k(this.h, N, 1);
|
|
3552
3552
|
}
|
|
3553
3553
|
set baseOptions(e) {
|
|
3554
3554
|
v(this.h, 0, 1, e);
|
|
@@ -3558,32 +3558,32 @@ var oe = class extends fe {
|
|
|
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), Se(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), Ne(this, e, s, t), Bi(this);
|
|
3566
3566
|
}
|
|
3567
3567
|
m() {
|
|
3568
3568
|
var e = new pe();
|
|
3569
|
-
|
|
3569
|
+
x(e, "image_in"), x(e, "norm_rect"), S(e, "normalized_landmarks"), S(e, "world_landmarks"), S(e, "segmentation_masks");
|
|
3570
3570
|
const t = new de();
|
|
3571
|
-
|
|
3571
|
+
xe(t, M1, this.h);
|
|
3572
3572
|
const r = new ne();
|
|
3573
|
-
he(r, 2, "mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"),
|
|
3573
|
+
he(r, 2, "mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"), O(r, "IMAGE:image_in"), O(r, "NORM_RECT:norm_rect"), w(r, "NORM_LANDMARKS:normalized_landmarks"), w(r, "WORLD_LANDMARKS:world_landmarks"), r.o(t), Ee(e, r), Yr(this, e), this.g.attachProtoVectorListener("normalized_landmarks", (n, s) => {
|
|
3574
3574
|
this.landmarks = [];
|
|
3575
|
-
for (const i of n) n = lr(i), this.landmarks.push(
|
|
3575
|
+
for (const i of n) n = lr(i), this.landmarks.push(zr(n));
|
|
3576
3576
|
d(this, s);
|
|
3577
3577
|
}), this.g.attachEmptyPacketListener("normalized_landmarks", (n) => {
|
|
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 = _t(i), this.worldLandmarks.push(
|
|
3581
|
+
for (const i of n) n = _t(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 && (w(r, "SEGMENTATION_MASK:segmentation_masks"), Lt(this, "segmentation_masks"), this.g.aa("segmentation_masks", (n, s) => {
|
|
3586
|
+
this.segmentationMasks = n.map((i) => It(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);
|
|
@@ -3598,38 +3598,58 @@ oe.prototype.detectForVideo = oe.prototype.G, oe.prototype.detect = oe.prototype
|
|
|
3598
3598
|
}, oe.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.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.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
|
this.webcam = r, console.log("[LivenessEngine] Video stream attached.");
|
|
3603
3603
|
}, this.start = () => {
|
|
3604
|
-
|
|
3604
|
+
const r = localStorage.getItem(this.LIVENESS_LOCK_KEY);
|
|
3605
|
+
if (r && Date.now() - parseInt(r) < 3e3) {
|
|
3606
|
+
this.failInstantly("Another session is active.");
|
|
3607
|
+
return;
|
|
3608
|
+
}
|
|
3609
|
+
if (this.heartbeatId = setInterval(() => {
|
|
3610
|
+
localStorage.setItem(this.LIVENESS_LOCK_KEY, Date.now().toString());
|
|
3611
|
+
}, 1e3), this.state.status !== "ready" || !this.webcam) {
|
|
3605
3612
|
console.warn("[LivenessEngine] Engine not ready or video missing.");
|
|
3606
3613
|
return;
|
|
3607
3614
|
}
|
|
3608
3615
|
console.log("[LivenessEngine] Session Starting..."), this.state.status = "capturing", this.updateState({ status: "capturing" }), this.startTimer(), this.detectLoop();
|
|
3609
3616
|
}, this.stop = () => {
|
|
3610
|
-
this.timerId && clearInterval(this.timerId), this.requestId && cancelAnimationFrame(this.requestId), this.timerId = null, this.requestId = null;
|
|
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;
|
|
3611
3618
|
}, this.reset = () => {
|
|
3612
|
-
this.stop(), this.currentStepRef = 0, this.isStepTransitioningRef = !1, this.generateSequence(), this.updateState({
|
|
3619
|
+
this.stop(), this.currentStepRef = 0, this.isStepTransitioningRef = !1, this.anchorRatios = null, this.lastNosePos = null, this.consecutiveMissingFrames = 0, this.generateSequence(), this.updateState({
|
|
3613
3620
|
status: "ready",
|
|
3614
3621
|
currentStep: 0,
|
|
3615
3622
|
timeLeft: this.config.duration,
|
|
3616
3623
|
isStepTransitioning: !1,
|
|
3617
|
-
errorMsg: ""
|
|
3624
|
+
errorMsg: "",
|
|
3625
|
+
snapshots: []
|
|
3618
3626
|
});
|
|
3619
3627
|
}, this.detectLoop = () => {
|
|
3620
|
-
var n;
|
|
3628
|
+
var n, s;
|
|
3621
3629
|
if (this.state.status !== "capturing" || !this.webcam || !this.models.face) return;
|
|
3622
3630
|
const r = performance.now();
|
|
3623
3631
|
try {
|
|
3624
|
-
const
|
|
3625
|
-
if (
|
|
3626
|
-
this.
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3632
|
+
const i = this.models.face.detectForVideo(this.webcam, r), o = (n = i.faceLandmarks) == null ? void 0 : n[0];
|
|
3633
|
+
if (i.faceLandmarks && i.faceLandmarks.length > 1)
|
|
3634
|
+
return this.failInstantly("Multiple faces detected.");
|
|
3635
|
+
if (o) {
|
|
3636
|
+
if (this.consecutiveMissingFrames = 0, this.anchorRatios === null)
|
|
3637
|
+
this.stabilityFrames++, this.stabilityFrames >= this.REQUIRED_STABILITY && this.verifyIdentity(o);
|
|
3638
|
+
else if (!this.verifyIdentity(o) || !this.checkMovement(o)) {
|
|
3639
|
+
this.failInstantly("Security violation: Identity mismatch.");
|
|
3640
|
+
return;
|
|
3641
|
+
}
|
|
3642
|
+
const a = this.state.sequence[this.currentStepRef], c = (s = this.models.hand) == null ? void 0 : s.detectForVideo(this.webcam, r);
|
|
3643
|
+
if (this.checkAction(i, c, a)) {
|
|
3644
|
+
this.handleStepSuccess(o);
|
|
3645
|
+
return;
|
|
3646
|
+
}
|
|
3647
|
+
} else if (this.consecutiveMissingFrames++, this.consecutiveMissingFrames > this.MAX_GAP)
|
|
3648
|
+
return this.failInstantly("Face lost. Session reset.");
|
|
3649
|
+
this.requestId = requestAnimationFrame(this.detectLoop);
|
|
3650
|
+
} catch (i) {
|
|
3651
|
+
console.error("[LivenessEngine] Loop detection error:", i), this.requestId = requestAnimationFrame(this.detectLoop);
|
|
3631
3652
|
}
|
|
3632
|
-
this.requestId = requestAnimationFrame(this.detectLoop);
|
|
3633
3653
|
}, this.config = {
|
|
3634
3654
|
apiUrl: t.apiUrl,
|
|
3635
3655
|
duration: t.duration ?? 60,
|
|
@@ -3649,7 +3669,8 @@ class U1 {
|
|
|
3649
3669
|
currentStep: 0,
|
|
3650
3670
|
timeLeft: this.config.duration,
|
|
3651
3671
|
isStepTransitioning: !1,
|
|
3652
|
-
errorMsg: ""
|
|
3672
|
+
errorMsg: "",
|
|
3673
|
+
snapshots: []
|
|
3653
3674
|
}, this.offscreenCanvas.width = 224, this.offscreenCanvas.height = 224;
|
|
3654
3675
|
}
|
|
3655
3676
|
/**
|
|
@@ -3658,10 +3679,10 @@ class U1 {
|
|
|
3658
3679
|
async loadModels() {
|
|
3659
3680
|
console.log("[LivenessEngine] Loading AI Models...");
|
|
3660
3681
|
try {
|
|
3661
|
-
const t = await
|
|
3682
|
+
const t = await Qe.forVisionTasks(
|
|
3662
3683
|
"https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@0.10.3/wasm"
|
|
3663
3684
|
);
|
|
3664
|
-
this.models.face = await
|
|
3685
|
+
this.models.face = await M.createFromOptions(t, {
|
|
3665
3686
|
baseOptions: {
|
|
3666
3687
|
modelAssetPath: "https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/1/face_landmarker.task",
|
|
3667
3688
|
delegate: "GPU"
|
|
@@ -3680,6 +3701,22 @@ class U1 {
|
|
|
3680
3701
|
console.error("[LivenessEngine] Init Error:", t), this.updateState({ status: "error", errorMsg: "Failed to load security assets." });
|
|
3681
3702
|
}
|
|
3682
3703
|
}
|
|
3704
|
+
// --- NEW SECURITY METHODS ---
|
|
3705
|
+
verifyIdentity(t) {
|
|
3706
|
+
const r = Math.sqrt(
|
|
3707
|
+
Math.pow(t[33].x - t[263].x, 2) + Math.pow(t[33].y - t[263].y, 2)
|
|
3708
|
+
), n = Math.abs(t[1].y - t[13].y), s = r / (n || 1);
|
|
3709
|
+
return this.anchorRatios === null ? (this.anchorRatios = s, !0) : Math.abs(this.anchorRatios - s) / this.anchorRatios < 0.1;
|
|
3710
|
+
}
|
|
3711
|
+
checkMovement(t) {
|
|
3712
|
+
const r = { x: t[1].x, y: t[1].y };
|
|
3713
|
+
return this.lastNosePos && Math.sqrt(
|
|
3714
|
+
Math.pow(r.x - this.lastNosePos.x, 2) + Math.pow(r.y - this.lastNosePos.y, 2)
|
|
3715
|
+
) > 0.3 ? !1 : (this.lastNosePos = r, !0);
|
|
3716
|
+
}
|
|
3717
|
+
failInstantly(t) {
|
|
3718
|
+
this.stop(), this.updateState({ status: "error", errorMsg: t }), this.config.onError({ success: !1, reason: t });
|
|
3719
|
+
}
|
|
3683
3720
|
updateState(t) {
|
|
3684
3721
|
this.state = { ...this.state, ...t }, this.config.onStateChange(this.state);
|
|
3685
3722
|
}
|
|
@@ -3692,13 +3729,21 @@ class U1 {
|
|
|
3692
3729
|
this.state.timeLeft > 0 ? this.updateState({ timeLeft: this.state.timeLeft - 1 }) : (this.stop(), this.updateState({ status: "expired" }));
|
|
3693
3730
|
}, 1e3);
|
|
3694
3731
|
}
|
|
3695
|
-
handleStepSuccess() {
|
|
3696
|
-
|
|
3697
|
-
|
|
3732
|
+
handleStepSuccess(t) {
|
|
3733
|
+
if (this.isStepTransitioningRef) return;
|
|
3734
|
+
this.isStepTransitioningRef = !0;
|
|
3735
|
+
const r = this.getFaceCrop(this.webcam, t), n = {
|
|
3736
|
+
challenge: this.state.sequence[this.currentStepRef],
|
|
3737
|
+
image: r.toDataURL("image/jpeg", 0.7),
|
|
3738
|
+
timestamp: Date.now()
|
|
3739
|
+
}, s = [...this.state.snapshots, n];
|
|
3740
|
+
this.updateState({ isStepTransitioning: !0, snapshots: s }), setTimeout(() => {
|
|
3741
|
+
this.state.status === "capturing" && (this.currentStepRef < this.state.sequence.length - 1 ? (this.currentStepRef++, this.isStepTransitioningRef = !1, this.updateState({
|
|
3698
3742
|
currentStep: this.currentStepRef,
|
|
3699
|
-
isStepTransitioning: !1
|
|
3700
|
-
|
|
3701
|
-
|
|
3743
|
+
isStepTransitioning: !1,
|
|
3744
|
+
snapshots: s
|
|
3745
|
+
}), this.requestId = requestAnimationFrame(this.detectLoop)) : (this.updateState({ snapshots: s }), this.sendFinalProof()));
|
|
3746
|
+
}, 1500);
|
|
3702
3747
|
}
|
|
3703
3748
|
checkAction(t, r, n) {
|
|
3704
3749
|
var s, i;
|
|
@@ -3765,21 +3810,22 @@ class U1 {
|
|
|
3765
3810
|
}
|
|
3766
3811
|
}
|
|
3767
3812
|
const V1 = (e) => {
|
|
3768
|
-
const [t, r] =
|
|
3813
|
+
const [t, r] = Qa({
|
|
3769
3814
|
status: "loading",
|
|
3770
3815
|
sequence: [],
|
|
3771
3816
|
currentStep: 0,
|
|
3772
3817
|
timeLeft: e.duration || 60,
|
|
3773
3818
|
isStepTransitioning: !1,
|
|
3774
|
-
errorMsg: ""
|
|
3775
|
-
|
|
3776
|
-
|
|
3819
|
+
errorMsg: "",
|
|
3820
|
+
snapshots: []
|
|
3821
|
+
}), n = xs(null), s = xs(null);
|
|
3822
|
+
Rs(() => {
|
|
3777
3823
|
const a = new U1({
|
|
3778
3824
|
...e,
|
|
3779
3825
|
onStateChange: (c) => r({ ...c })
|
|
3780
3826
|
});
|
|
3781
3827
|
return n.current = a, a.loadModels(), () => a.stop();
|
|
3782
|
-
}, []),
|
|
3828
|
+
}, []), Rs(() => {
|
|
3783
3829
|
var a, c;
|
|
3784
3830
|
if (t.status !== "loading" && t.status !== "error") {
|
|
3785
3831
|
const l = (a = s.current) == null ? void 0 : a.video;
|
|
@@ -3795,10 +3841,10 @@ const V1 = (e) => {
|
|
|
3795
3841
|
}
|
|
3796
3842
|
}
|
|
3797
3843
|
}, [t.status]);
|
|
3798
|
-
const i =
|
|
3844
|
+
const i = Ns(() => {
|
|
3799
3845
|
var a;
|
|
3800
3846
|
console.log("[Hook] Start Clicked"), (a = n.current) == null || a.start();
|
|
3801
|
-
}, []), o =
|
|
3847
|
+
}, []), o = Ns(() => {
|
|
3802
3848
|
var a;
|
|
3803
3849
|
console.log("[Hook] Reset Clicked"), (a = n.current) == null || a.reset();
|
|
3804
3850
|
}, []);
|
|
@@ -3809,7 +3855,7 @@ const V1 = (e) => {
|
|
|
3809
3855
|
reset: o
|
|
3810
3856
|
};
|
|
3811
3857
|
};
|
|
3812
|
-
var
|
|
3858
|
+
var On = { exports: {} }, qt = {};
|
|
3813
3859
|
/**
|
|
3814
3860
|
* @license React
|
|
3815
3861
|
* react-jsx-runtime.production.js
|
|
@@ -3841,7 +3887,7 @@ function G1() {
|
|
|
3841
3887
|
}
|
|
3842
3888
|
return qt.Fragment = t, qt.jsx = r, qt.jsxs = r, qt;
|
|
3843
3889
|
}
|
|
3844
|
-
var
|
|
3890
|
+
var zt = {};
|
|
3845
3891
|
/**
|
|
3846
3892
|
* @license React
|
|
3847
3893
|
* react-jsx-runtime.development.js
|
|
@@ -3868,9 +3914,9 @@ function H1() {
|
|
|
3868
3914
|
return "StrictMode";
|
|
3869
3915
|
case Wa:
|
|
3870
3916
|
return "Suspense";
|
|
3871
|
-
case za:
|
|
3872
|
-
return "SuspenseList";
|
|
3873
3917
|
case Ka:
|
|
3918
|
+
return "SuspenseList";
|
|
3919
|
+
case za:
|
|
3874
3920
|
return "Activity";
|
|
3875
3921
|
}
|
|
3876
3922
|
if (typeof h == "object")
|
|
@@ -3884,14 +3930,14 @@ function H1() {
|
|
|
3884
3930
|
case fr:
|
|
3885
3931
|
return (h._context.displayName || "Context") + ".Consumer";
|
|
3886
3932
|
case Ha:
|
|
3887
|
-
var
|
|
3888
|
-
return h = h.displayName, h || (h =
|
|
3933
|
+
var E = h.render;
|
|
3934
|
+
return h = h.displayName, h || (h = E.displayName || E.name || "", h = h !== "" ? "ForwardRef(" + h + ")" : "ForwardRef"), h;
|
|
3889
3935
|
case qa:
|
|
3890
|
-
return
|
|
3936
|
+
return E = h.displayName || null, E !== null ? E : e(h.type) || "Memo";
|
|
3891
3937
|
case Xr:
|
|
3892
|
-
|
|
3938
|
+
E = h._payload, h = h._init;
|
|
3893
3939
|
try {
|
|
3894
|
-
return e(h(
|
|
3940
|
+
return e(h(E));
|
|
3895
3941
|
} catch {
|
|
3896
3942
|
}
|
|
3897
3943
|
}
|
|
@@ -3903,15 +3949,15 @@ function H1() {
|
|
|
3903
3949
|
function r(h) {
|
|
3904
3950
|
try {
|
|
3905
3951
|
t(h);
|
|
3906
|
-
var
|
|
3952
|
+
var E = !1;
|
|
3907
3953
|
} catch {
|
|
3908
|
-
|
|
3954
|
+
E = !0;
|
|
3909
3955
|
}
|
|
3910
|
-
if (
|
|
3911
|
-
|
|
3912
|
-
var
|
|
3913
|
-
return
|
|
3914
|
-
|
|
3956
|
+
if (E) {
|
|
3957
|
+
E = console;
|
|
3958
|
+
var R = E.error, H = typeof Symbol == "function" && Symbol.toStringTag && h[Symbol.toStringTag] || h.constructor.name || "Object";
|
|
3959
|
+
return R.call(
|
|
3960
|
+
E,
|
|
3915
3961
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
3916
3962
|
H
|
|
3917
3963
|
), t(h);
|
|
@@ -3922,8 +3968,8 @@ function H1() {
|
|
|
3922
3968
|
if (typeof h == "object" && h !== null && h.$$typeof === Xr)
|
|
3923
3969
|
return "<...>";
|
|
3924
3970
|
try {
|
|
3925
|
-
var
|
|
3926
|
-
return
|
|
3971
|
+
var E = e(h);
|
|
3972
|
+
return E ? "<" + E + ">" : "<...>";
|
|
3927
3973
|
} catch {
|
|
3928
3974
|
return "<...>";
|
|
3929
3975
|
}
|
|
@@ -3937,36 +3983,36 @@ function H1() {
|
|
|
3937
3983
|
}
|
|
3938
3984
|
function o(h) {
|
|
3939
3985
|
if (Ls.call(h, "key")) {
|
|
3940
|
-
var
|
|
3941
|
-
if (
|
|
3986
|
+
var E = Object.getOwnPropertyDescriptor(h, "key").get;
|
|
3987
|
+
if (E && E.isReactWarning) return !1;
|
|
3942
3988
|
}
|
|
3943
3989
|
return h.key !== void 0;
|
|
3944
3990
|
}
|
|
3945
|
-
function a(h,
|
|
3946
|
-
function
|
|
3991
|
+
function a(h, E) {
|
|
3992
|
+
function R() {
|
|
3947
3993
|
Ps || (Ps = !0, console.error(
|
|
3948
3994
|
"%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)",
|
|
3949
|
-
|
|
3995
|
+
E
|
|
3950
3996
|
));
|
|
3951
3997
|
}
|
|
3952
|
-
|
|
3953
|
-
get:
|
|
3998
|
+
R.isReactWarning = !0, Object.defineProperty(h, "key", {
|
|
3999
|
+
get: R,
|
|
3954
4000
|
configurable: !0
|
|
3955
4001
|
});
|
|
3956
4002
|
}
|
|
3957
4003
|
function c() {
|
|
3958
4004
|
var h = e(this.type);
|
|
3959
|
-
return
|
|
4005
|
+
return Is[h] || (Is[h] = !0, console.error(
|
|
3960
4006
|
"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."
|
|
3961
4007
|
)), h = this.props.ref, h !== void 0 ? h : null;
|
|
3962
4008
|
}
|
|
3963
|
-
function l(h,
|
|
3964
|
-
var W =
|
|
4009
|
+
function l(h, E, R, H, dr, Zr) {
|
|
4010
|
+
var W = R.ref;
|
|
3965
4011
|
return h = {
|
|
3966
|
-
$$typeof:
|
|
4012
|
+
$$typeof: C,
|
|
3967
4013
|
type: h,
|
|
3968
|
-
key:
|
|
3969
|
-
props:
|
|
4014
|
+
key: E,
|
|
4015
|
+
props: R,
|
|
3970
4016
|
_owner: H
|
|
3971
4017
|
}, (W !== void 0 ? W : null) !== null ? Object.defineProperty(h, "ref", {
|
|
3972
4018
|
enumerable: !1,
|
|
@@ -3990,11 +4036,11 @@ function H1() {
|
|
|
3990
4036
|
configurable: !1,
|
|
3991
4037
|
enumerable: !1,
|
|
3992
4038
|
writable: !0,
|
|
3993
|
-
value:
|
|
4039
|
+
value: Zr
|
|
3994
4040
|
}), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
|
|
3995
4041
|
}
|
|
3996
|
-
function u(h,
|
|
3997
|
-
var W =
|
|
4042
|
+
function u(h, E, R, H, dr, Zr) {
|
|
4043
|
+
var W = E.children;
|
|
3998
4044
|
if (W !== void 0)
|
|
3999
4045
|
if (H)
|
|
4000
4046
|
if ($a(W)) {
|
|
@@ -4006,12 +4052,12 @@ function H1() {
|
|
|
4006
4052
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
4007
4053
|
);
|
|
4008
4054
|
else f(W);
|
|
4009
|
-
if (Ls.call(
|
|
4055
|
+
if (Ls.call(E, "key")) {
|
|
4010
4056
|
W = e(h);
|
|
4011
|
-
var ft = Object.keys(
|
|
4057
|
+
var ft = Object.keys(E).filter(function(Xa) {
|
|
4012
4058
|
return Xa !== "key";
|
|
4013
4059
|
});
|
|
4014
|
-
H = 0 < ft.length ? "{key: someKey, " + ft.join(": ..., ") + ": ...}" : "{key: someKey}",
|
|
4060
|
+
H = 0 < ft.length ? "{key: someKey, " + ft.join(": ..., ") + ": ...}" : "{key: someKey}", Fs[W + H] || (ft = 0 < ft.length ? "{" + ft.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
4015
4061
|
`A props object containing a "key" prop is being spread into JSX:
|
|
4016
4062
|
let props = %s;
|
|
4017
4063
|
<%s {...props} />
|
|
@@ -4022,32 +4068,32 @@ React keys must be passed directly to JSX without using spread:
|
|
|
4022
4068
|
W,
|
|
4023
4069
|
ft,
|
|
4024
4070
|
W
|
|
4025
|
-
),
|
|
4071
|
+
), Fs[W + H] = !0);
|
|
4026
4072
|
}
|
|
4027
|
-
if (W = null,
|
|
4028
|
-
|
|
4029
|
-
for (var en in
|
|
4030
|
-
en !== "key" && (
|
|
4031
|
-
} else
|
|
4073
|
+
if (W = null, R !== void 0 && (r(R), W = "" + R), o(E) && (r(E.key), W = "" + E.key), "key" in E) {
|
|
4074
|
+
R = {};
|
|
4075
|
+
for (var en in E)
|
|
4076
|
+
en !== "key" && (R[en] = E[en]);
|
|
4077
|
+
} else R = E;
|
|
4032
4078
|
return W && a(
|
|
4033
|
-
|
|
4079
|
+
R,
|
|
4034
4080
|
typeof h == "function" ? h.displayName || h.name || "Unknown" : h
|
|
4035
4081
|
), l(
|
|
4036
4082
|
h,
|
|
4037
4083
|
W,
|
|
4038
|
-
|
|
4084
|
+
R,
|
|
4039
4085
|
s(),
|
|
4040
4086
|
dr,
|
|
4041
|
-
|
|
4087
|
+
Zr
|
|
4042
4088
|
);
|
|
4043
4089
|
}
|
|
4044
4090
|
function f(h) {
|
|
4045
4091
|
y(h) ? h._store && (h._store.validated = 1) : typeof h == "object" && h !== null && h.$$typeof === Xr && (h._payload.status === "fulfilled" ? y(h._payload.value) && h._payload.value._store && (h._payload.value._store.validated = 1) : h._store && (h._store.validated = 1));
|
|
4046
4092
|
}
|
|
4047
4093
|
function y(h) {
|
|
4048
|
-
return typeof h == "object" && h !== null && h.$$typeof ===
|
|
4094
|
+
return typeof h == "object" && h !== null && h.$$typeof === C;
|
|
4049
4095
|
}
|
|
4050
|
-
var b = Ja,
|
|
4096
|
+
var b = Ja, C = Symbol.for("react.transitional.element"), Gt = Symbol.for("react.portal"), Te = Symbol.for("react.fragment"), Xe = Symbol.for("react.strict_mode"), Ht = 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"), Ka = Symbol.for("react.suspense_list"), qa = Symbol.for("react.memo"), Xr = 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, $a = Array.isArray, Qr = console.createTask ? console.createTask : function() {
|
|
4051
4097
|
return null;
|
|
4052
4098
|
};
|
|
4053
4099
|
b = {
|
|
@@ -4055,35 +4101,35 @@ React keys must be passed directly to JSX without using spread:
|
|
|
4055
4101
|
return h();
|
|
4056
4102
|
}
|
|
4057
4103
|
};
|
|
4058
|
-
var Ps,
|
|
4104
|
+
var Ps, Is = {}, Os = b.react_stack_bottom_frame.bind(
|
|
4059
4105
|
b,
|
|
4060
4106
|
i
|
|
4061
|
-
)(),
|
|
4062
|
-
|
|
4107
|
+
)(), Ms = Qr(n(i)), Fs = {};
|
|
4108
|
+
zt.Fragment = Te, zt.jsx = function(h, E, R) {
|
|
4063
4109
|
var H = 1e4 > Jr.recentlyCreatedOwnerStacks++;
|
|
4064
4110
|
return u(
|
|
4065
4111
|
h,
|
|
4066
|
-
|
|
4067
|
-
|
|
4112
|
+
E,
|
|
4113
|
+
R,
|
|
4068
4114
|
!1,
|
|
4069
|
-
H ? Error("react-stack-top-frame") :
|
|
4070
|
-
H ?
|
|
4115
|
+
H ? Error("react-stack-top-frame") : Os,
|
|
4116
|
+
H ? Qr(n(h)) : Ms
|
|
4071
4117
|
);
|
|
4072
|
-
},
|
|
4118
|
+
}, zt.jsxs = function(h, E, R) {
|
|
4073
4119
|
var H = 1e4 > Jr.recentlyCreatedOwnerStacks++;
|
|
4074
4120
|
return u(
|
|
4075
4121
|
h,
|
|
4076
|
-
|
|
4077
|
-
|
|
4122
|
+
E,
|
|
4123
|
+
R,
|
|
4078
4124
|
!0,
|
|
4079
|
-
H ? Error("react-stack-top-frame") :
|
|
4080
|
-
H ?
|
|
4125
|
+
H ? Error("react-stack-top-frame") : Os,
|
|
4126
|
+
H ? Qr(n(h)) : Ms
|
|
4081
4127
|
);
|
|
4082
4128
|
};
|
|
4083
|
-
}()),
|
|
4129
|
+
}()), zt;
|
|
4084
4130
|
}
|
|
4085
|
-
process.env.NODE_ENV === "production" ?
|
|
4086
|
-
var ye =
|
|
4131
|
+
process.env.NODE_ENV === "production" ? On.exports = G1() : On.exports = H1();
|
|
4132
|
+
var ye = On.exports;
|
|
4087
4133
|
const q1 = ({
|
|
4088
4134
|
apiUrl: e,
|
|
4089
4135
|
duration: t,
|
|
@@ -4102,7 +4148,7 @@ const q1 = ({
|
|
|
4102
4148
|
u.status === "loading" && /* @__PURE__ */ ye.jsx("div", { children: "Initializing..." }),
|
|
4103
4149
|
["ready", "capturing", "verifying"].includes(u.status) && /* @__PURE__ */ ye.jsxs(ye.Fragment, { children: [
|
|
4104
4150
|
/* @__PURE__ */ ye.jsx(
|
|
4105
|
-
|
|
4151
|
+
Za,
|
|
4106
4152
|
{
|
|
4107
4153
|
ref: u.webcamRef,
|
|
4108
4154
|
mirrored: !0,
|