@richard.fadiora/liveness-detection 4.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +15 -0
- package/dist/index.d.ts +104 -0
- package/dist/index.es.js +734 -720
- package/dist/index.umd.js +2 -2
- package/package.json +18 -7
package/dist/index.es.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var ls = (t, e, n) => wa(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
-
import { useState as ba, useRef as fs, useEffect as ds, useCallback as ps } from "react";
|
|
5
|
-
const f1 = async (t, e, n) => {
|
|
1
|
+
import { useState as _a, useRef as ls, useEffect as fs, useCallback as ds } from "react";
|
|
2
|
+
const va = async (t, e, n) => {
|
|
6
3
|
const r = new FormData();
|
|
7
|
-
e.forEach((
|
|
8
|
-
r.append("files",
|
|
4
|
+
e.forEach((o, a) => {
|
|
5
|
+
r.append("files", o, `frame_${a}.jpg`);
|
|
9
6
|
}), r.append("challenge", n);
|
|
10
7
|
const s = await fetch(`${t}/v1/verify`, {
|
|
11
8
|
method: "POST",
|
|
12
9
|
body: r
|
|
13
10
|
});
|
|
14
|
-
if (!s.ok)
|
|
11
|
+
if (!s.ok)
|
|
12
|
+
throw new Error("Network response was not ok");
|
|
15
13
|
return await s.json();
|
|
16
|
-
}
|
|
14
|
+
}, wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15
|
+
__proto__: null,
|
|
16
|
+
verifyLiveness: va
|
|
17
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
17
18
|
var ue = typeof self < "u" ? self : {};
|
|
18
19
|
function Ve(t, e) {
|
|
19
20
|
t: {
|
|
@@ -28,15 +29,15 @@ function Ve(t, e) {
|
|
|
28
29
|
function Ht() {
|
|
29
30
|
throw Error("Invalid UTF8");
|
|
30
31
|
}
|
|
31
|
-
function
|
|
32
|
+
function ps(t, e) {
|
|
32
33
|
return e = String.fromCharCode.apply(null, e), t == null ? e : t + e;
|
|
33
34
|
}
|
|
34
35
|
let en, jn;
|
|
35
|
-
const
|
|
36
|
-
let
|
|
37
|
-
const
|
|
36
|
+
const ba = typeof TextDecoder < "u";
|
|
37
|
+
let Aa;
|
|
38
|
+
const Ea = typeof TextEncoder < "u";
|
|
38
39
|
function yi(t) {
|
|
39
|
-
if (
|
|
40
|
+
if (Ea) t = (Aa || (Aa = new TextEncoder())).encode(t);
|
|
40
41
|
else {
|
|
41
42
|
let n = 0;
|
|
42
43
|
const r = new Uint8Array(3 * t.length);
|
|
@@ -66,13 +67,13 @@ function yi(t) {
|
|
|
66
67
|
}
|
|
67
68
|
return t;
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
+
function _i(t) {
|
|
70
71
|
ue.setTimeout(() => {
|
|
71
72
|
throw t;
|
|
72
73
|
}, 0);
|
|
73
74
|
}
|
|
74
|
-
var Yn,
|
|
75
|
-
function
|
|
75
|
+
var Yn, ka = Ve(610401301, !1), gs = Ve(748402147, !0), pr = Ve(824648567, !0), gr = Ve(824656860, Ve(1, !0));
|
|
76
|
+
function ms() {
|
|
76
77
|
var t = ue.navigator;
|
|
77
78
|
return t && (t = t.userAgent) ? t : "";
|
|
78
79
|
}
|
|
@@ -82,9 +83,9 @@ function gn(t) {
|
|
|
82
83
|
}
|
|
83
84
|
Yn = ys && ys.userAgentData || null, gn[" "] = function() {
|
|
84
85
|
};
|
|
85
|
-
const
|
|
86
|
+
const vi = {};
|
|
86
87
|
let Be = null;
|
|
87
|
-
function
|
|
88
|
+
function Sa(t) {
|
|
88
89
|
const e = t.length;
|
|
89
90
|
let n = 3 * e / 4;
|
|
90
91
|
n % 3 ? n = Math.floor(n) : "=.".indexOf(t[e - 1]) != -1 && (n = "=.".indexOf(t[e - 2]) != -1 ? n - 2 : n - 1);
|
|
@@ -99,24 +100,24 @@ function Ta(t) {
|
|
|
99
100
|
}
|
|
100
101
|
return u;
|
|
101
102
|
}
|
|
102
|
-
|
|
103
|
+
wi();
|
|
103
104
|
let c = 0;
|
|
104
105
|
for (; ; ) {
|
|
105
|
-
const u = a(-1), h = a(0), f = a(64),
|
|
106
|
-
if (
|
|
107
|
-
o(u << 2 | h >> 4), f != 64 && (o(h << 4 & 240 | f >> 2),
|
|
106
|
+
const u = a(-1), h = a(0), f = a(64), _ = a(64);
|
|
107
|
+
if (_ === 64 && u === -1) break;
|
|
108
|
+
o(u << 2 | h >> 4), f != 64 && (o(h << 4 & 240 | f >> 2), _ != 64 && o(f << 6 & 192 | _));
|
|
108
109
|
}
|
|
109
110
|
}(t, function(i) {
|
|
110
111
|
r[s++] = i;
|
|
111
112
|
}), s !== n ? r.subarray(0, s) : r;
|
|
112
113
|
}
|
|
113
|
-
function
|
|
114
|
+
function wi() {
|
|
114
115
|
if (!Be) {
|
|
115
116
|
Be = {};
|
|
116
117
|
var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), e = ["+/=", "+/", "-_=", "-_.", "-_"];
|
|
117
118
|
for (let n = 0; n < 5; n++) {
|
|
118
119
|
const r = t.concat(e[n].split(""));
|
|
119
|
-
|
|
120
|
+
vi[n] = r;
|
|
120
121
|
for (let s = 0; s < r.length; s++) {
|
|
121
122
|
const i = r[s];
|
|
122
123
|
Be[i] === void 0 && (Be[i] = s);
|
|
@@ -124,52 +125,52 @@ function bi() {
|
|
|
124
125
|
}
|
|
125
126
|
}
|
|
126
127
|
}
|
|
127
|
-
var
|
|
128
|
-
const
|
|
129
|
-
function
|
|
130
|
-
return
|
|
128
|
+
var Ta = typeof Uint8Array < "u", bi = !(!(ka && Yn && Yn.brands.length > 0) && (ms().indexOf("Trident") != -1 || ms().indexOf("MSIE") != -1)) && typeof btoa == "function";
|
|
129
|
+
const _s = /[-_.]/g, La = { "-": "+", _: "/", ".": "=" };
|
|
130
|
+
function Fa(t) {
|
|
131
|
+
return La[t] || "";
|
|
131
132
|
}
|
|
132
|
-
function
|
|
133
|
-
if (!
|
|
134
|
-
t =
|
|
133
|
+
function Ai(t) {
|
|
134
|
+
if (!bi) return Sa(t);
|
|
135
|
+
t = _s.test(t) ? t.replace(_s, Fa) : t, t = atob(t);
|
|
135
136
|
const e = new Uint8Array(t.length);
|
|
136
137
|
for (let n = 0; n < t.length; n++) e[n] = t.charCodeAt(n);
|
|
137
138
|
return e;
|
|
138
139
|
}
|
|
139
140
|
function mr(t) {
|
|
140
|
-
return
|
|
141
|
+
return Ta && t != null && t instanceof Uint8Array;
|
|
141
142
|
}
|
|
142
143
|
var le = {};
|
|
143
144
|
function Zt() {
|
|
144
|
-
return
|
|
145
|
+
return Ma || (Ma = new Et(null, le));
|
|
145
146
|
}
|
|
146
|
-
function
|
|
147
|
-
|
|
147
|
+
function yr(t) {
|
|
148
|
+
Ei(le);
|
|
148
149
|
var e = t.g;
|
|
149
|
-
return (e = e == null || mr(e) ? e : typeof e == "string" ?
|
|
150
|
+
return (e = e == null || mr(e) ? e : typeof e == "string" ? Ai(e) : null) == null ? e : t.g = e;
|
|
150
151
|
}
|
|
151
152
|
var Et = class {
|
|
152
153
|
h() {
|
|
153
|
-
return new Uint8Array(
|
|
154
|
+
return new Uint8Array(yr(this) || 0);
|
|
154
155
|
}
|
|
155
156
|
constructor(t, e) {
|
|
156
|
-
if (
|
|
157
|
+
if (Ei(e), this.g = t, t != null && t.length === 0) throw Error("ByteString should be constructed with non-empty values");
|
|
157
158
|
}
|
|
158
159
|
};
|
|
159
|
-
let
|
|
160
|
-
function
|
|
160
|
+
let Ma, Pa;
|
|
161
|
+
function Ei(t) {
|
|
161
162
|
if (t !== le) throw Error("illegal external caller");
|
|
162
163
|
}
|
|
163
|
-
function
|
|
164
|
+
function ki(t, e) {
|
|
164
165
|
t.__closure__error__context__984382 || (t.__closure__error__context__984382 = {}), t.__closure__error__context__984382.severity = e;
|
|
165
166
|
}
|
|
166
167
|
function $n(t) {
|
|
167
|
-
return
|
|
168
|
+
return ki(t = Error(t), "warning"), t;
|
|
168
169
|
}
|
|
169
170
|
function fe(t, e) {
|
|
170
171
|
if (t != null) {
|
|
171
|
-
var n =
|
|
172
|
-
r >= e || (n[t] = r + 1,
|
|
172
|
+
var n = Pa ?? (Pa = {}), r = n[t] || 0;
|
|
173
|
+
r >= e || (n[t] = r + 1, ki(t = Error(), "incident"), _i(t));
|
|
173
174
|
}
|
|
174
175
|
}
|
|
175
176
|
function Ae() {
|
|
@@ -179,15 +180,15 @@ var Ee = typeof Symbol == "function" && typeof Symbol() == "symbol";
|
|
|
179
180
|
function kt(t, e, n = !1) {
|
|
180
181
|
return typeof Symbol == "function" && typeof Symbol() == "symbol" ? n && Symbol.for && t ? Symbol.for(t) : t != null ? Symbol(t) : Symbol() : e;
|
|
181
182
|
}
|
|
182
|
-
var
|
|
183
|
-
const
|
|
183
|
+
var Oa = kt("jas", void 0, !0), vs = kt(void 0, "0di"), Ce = kt(void 0, "1oa"), nt = kt(void 0, Symbol()), Ia = kt(void 0, "0ub"), xa = kt(void 0, "0ubs"), Jn = kt(void 0, "0ubsb"), Na = kt(void 0, "0actk"), de = kt("m_m", "Pa", !0), ws = kt();
|
|
184
|
+
const Si = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Ti = Object.defineProperties, d = Ee ? Oa : "Ga";
|
|
184
185
|
var ee;
|
|
185
|
-
const
|
|
186
|
+
const bs = [];
|
|
186
187
|
function qe(t, e) {
|
|
187
|
-
Ee || d in t ||
|
|
188
|
+
Ee || d in t || Ti(t, Si), t[d] |= e;
|
|
188
189
|
}
|
|
189
190
|
function V(t, e) {
|
|
190
|
-
Ee || d in t ||
|
|
191
|
+
Ee || d in t || Ti(t, Si), t[d] = e;
|
|
191
192
|
}
|
|
192
193
|
function Xe(t) {
|
|
193
194
|
return qe(t, 34), t;
|
|
@@ -195,13 +196,13 @@ function Xe(t) {
|
|
|
195
196
|
function He(t) {
|
|
196
197
|
return qe(t, 8192), t;
|
|
197
198
|
}
|
|
198
|
-
V(
|
|
199
|
+
V(bs, 7), ee = Object.freeze(bs);
|
|
199
200
|
var pe = {};
|
|
200
201
|
function st(t, e) {
|
|
201
202
|
return e === void 0 ? t.h !== Qt && !!(2 & (0 | t.v[d])) : !!(2 & e) && t.h !== Qt;
|
|
202
203
|
}
|
|
203
204
|
const Qt = {};
|
|
204
|
-
function
|
|
205
|
+
function _r(t, e) {
|
|
205
206
|
if (t != null) {
|
|
206
207
|
if (typeof t == "string") t = t ? new Et(t, le) : Zt();
|
|
207
208
|
else if (t.constructor !== Et) if (mr(t)) t = t.length ? new Et(new Uint8Array(t), le) : Zt();
|
|
@@ -212,7 +213,7 @@ function yr(t, e) {
|
|
|
212
213
|
}
|
|
213
214
|
return t;
|
|
214
215
|
}
|
|
215
|
-
class
|
|
216
|
+
class As {
|
|
216
217
|
constructor(e, n, r) {
|
|
217
218
|
this.g = e, this.h = n, this.l = r;
|
|
218
219
|
}
|
|
@@ -224,8 +225,8 @@ class Es {
|
|
|
224
225
|
return this;
|
|
225
226
|
}
|
|
226
227
|
}
|
|
227
|
-
var
|
|
228
|
-
function
|
|
228
|
+
var Ca = Object.freeze({});
|
|
229
|
+
function Li(t, e, n) {
|
|
229
230
|
const r = 128 & e ? 0 : -1, s = t.length;
|
|
230
231
|
var i;
|
|
231
232
|
(i = !!s) && (i = (i = t[s - 1]) != null && typeof i == "object" && i.constructor === Object);
|
|
@@ -236,24 +237,24 @@ function Fi(t, e, n) {
|
|
|
236
237
|
for (const a in t) !isNaN(a) && n(+a, t[a]);
|
|
237
238
|
}
|
|
238
239
|
}
|
|
239
|
-
var
|
|
240
|
+
var Fi = {};
|
|
240
241
|
function ke(t) {
|
|
241
|
-
return 128 & t ?
|
|
242
|
+
return 128 & t ? Fi : void 0;
|
|
242
243
|
}
|
|
243
244
|
function mn(t) {
|
|
244
245
|
return t.Na = !0, t;
|
|
245
246
|
}
|
|
246
|
-
var
|
|
247
|
+
var Ra = mn((t) => typeof t == "number"), Es = mn((t) => typeof t == "string"), Ba = mn((t) => typeof t == "boolean"), yn = typeof ue.BigInt == "function" && typeof ue.BigInt(0) == "bigint";
|
|
247
248
|
function rt(t) {
|
|
248
249
|
var e = t;
|
|
249
|
-
if (
|
|
250
|
+
if (Es(e)) {
|
|
250
251
|
if (!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(e)) throw Error(String(e));
|
|
251
|
-
} else if (
|
|
252
|
-
return
|
|
252
|
+
} else if (Ra(e) && !Number.isSafeInteger(e)) throw Error(String(e));
|
|
253
|
+
return yn ? BigInt(t) : t = Ba(t) ? t ? "1" : "0" : Es(t) ? t.trim() || "0" : String(t);
|
|
253
254
|
}
|
|
254
|
-
var Zn = mn((t) =>
|
|
255
|
-
const
|
|
256
|
-
function
|
|
255
|
+
var Zn = mn((t) => yn ? t >= Ua && t <= Ga : t[0] === "-" ? ks(t, Da) : ks(t, ja));
|
|
256
|
+
const Da = Number.MIN_SAFE_INTEGER.toString(), Ua = yn ? BigInt(Number.MIN_SAFE_INTEGER) : void 0, ja = Number.MAX_SAFE_INTEGER.toString(), Ga = yn ? BigInt(Number.MAX_SAFE_INTEGER) : void 0;
|
|
257
|
+
function ks(t, e) {
|
|
257
258
|
if (t.length > e.length) return !1;
|
|
258
259
|
if (t.length < e.length || t === e) return !0;
|
|
259
260
|
for (let n = 0; n < t.length; n++) {
|
|
@@ -262,43 +263,43 @@ function Ss(t, e) {
|
|
|
262
263
|
if (r < s) return !0;
|
|
263
264
|
}
|
|
264
265
|
}
|
|
265
|
-
const
|
|
266
|
-
let
|
|
267
|
-
function
|
|
266
|
+
const Va = typeof Uint8Array.prototype.slice == "function";
|
|
267
|
+
let Ha, P = 0, B = 0;
|
|
268
|
+
function Ss(t) {
|
|
268
269
|
const e = t >>> 0;
|
|
269
270
|
P = e, B = (t - e) / 4294967296 >>> 0;
|
|
270
271
|
}
|
|
271
272
|
function ge(t) {
|
|
272
273
|
if (t < 0) {
|
|
273
|
-
|
|
274
|
+
Ss(-t);
|
|
274
275
|
const [e, n] = Ar(P, B);
|
|
275
276
|
P = e >>> 0, B = n >>> 0;
|
|
276
|
-
} else
|
|
277
|
+
} else Ss(t);
|
|
277
278
|
}
|
|
278
279
|
function vr(t) {
|
|
279
|
-
const e =
|
|
280
|
+
const e = Ha || (Ha = new DataView(new ArrayBuffer(8)));
|
|
280
281
|
e.setFloat32(0, +t, !0), B = 0, P = e.getUint32(0, !0);
|
|
281
282
|
}
|
|
282
283
|
function Qn(t, e) {
|
|
283
284
|
const n = 4294967296 * e + (t >>> 0);
|
|
284
285
|
return Number.isSafeInteger(n) ? n : We(t, e);
|
|
285
286
|
}
|
|
286
|
-
function
|
|
287
|
+
function Wa(t, e) {
|
|
287
288
|
return rt(Ae() ? BigInt.asUintN(64, (BigInt(e >>> 0) << BigInt(32)) + BigInt(t >>> 0)) : We(t, e));
|
|
288
289
|
}
|
|
289
290
|
function wr(t, e) {
|
|
290
291
|
const n = 2147483648 & e;
|
|
291
292
|
return n && (e = ~e >>> 0, (t = 1 + ~t >>> 0) == 0 && (e = e + 1 >>> 0)), typeof (t = Qn(t, e)) == "number" ? n ? -t : t : n ? "-" + t : t;
|
|
292
293
|
}
|
|
293
|
-
function
|
|
294
|
+
function Mi(t, e) {
|
|
294
295
|
return Ae() ? rt(BigInt.asIntN(64, (BigInt.asUintN(32, BigInt(e)) << BigInt(32)) + BigInt.asUintN(32, BigInt(t)))) : rt(br(t, e));
|
|
295
296
|
}
|
|
296
297
|
function We(t, e) {
|
|
297
298
|
if (t >>>= 0, (e >>>= 0) <= 2097151) var n = "" + (4294967296 * e + t);
|
|
298
|
-
else Ae() ? n = "" + (BigInt(e) << BigInt(32) | BigInt(t)) : (t = (16777215 & t) + 6777216 * (n = 16777215 & (t >>> 24 | e << 8)) + 6710656 * (e = e >> 16 & 65535), n += 8147497 * e, e *= 2, t >= 1e7 && (n += t / 1e7 >>> 0, t %= 1e7), n >= 1e7 && (e += n / 1e7 >>> 0, n %= 1e7), n = e +
|
|
299
|
+
else Ae() ? n = "" + (BigInt(e) << BigInt(32) | BigInt(t)) : (t = (16777215 & t) + 6777216 * (n = 16777215 & (t >>> 24 | e << 8)) + 6710656 * (e = e >> 16 & 65535), n += 8147497 * e, e *= 2, t >= 1e7 && (n += t / 1e7 >>> 0, t %= 1e7), n >= 1e7 && (e += n / 1e7 >>> 0, n %= 1e7), n = e + Ts(n) + Ts(t));
|
|
299
300
|
return n;
|
|
300
301
|
}
|
|
301
|
-
function
|
|
302
|
+
function Ts(t) {
|
|
302
303
|
return t = String(t), "0000000".slice(t.length) + t;
|
|
303
304
|
}
|
|
304
305
|
function br(t, e) {
|
|
@@ -310,7 +311,7 @@ function br(t, e) {
|
|
|
310
311
|
else t = We(t, e);
|
|
311
312
|
return t;
|
|
312
313
|
}
|
|
313
|
-
function
|
|
314
|
+
function _n(t) {
|
|
314
315
|
if (t.length < 16) ge(Number(t));
|
|
315
316
|
else if (Ae()) t = BigInt(t), P = Number(t & BigInt(4294967295)) >>> 0, B = Number(t >> BigInt(32) & BigInt(4294967295));
|
|
316
317
|
else {
|
|
@@ -333,7 +334,7 @@ function Ar(t, e) {
|
|
|
333
334
|
function mt(t) {
|
|
334
335
|
return Array.prototype.slice.call(t);
|
|
335
336
|
}
|
|
336
|
-
const Ye = typeof BigInt == "function" ? BigInt.asIntN : void 0,
|
|
337
|
+
const Ye = typeof BigInt == "function" ? BigInt.asIntN : void 0, Ka = typeof BigInt == "function" ? BigInt.asUintN : void 0, te = Number.isSafeInteger, vn = Number.isFinite, me = Math.trunc, za = rt(0);
|
|
337
338
|
function De(t) {
|
|
338
339
|
if (t != null && typeof t != "number") throw Error(`Value of float/double field must be a number, found ${typeof t}: ${t}`);
|
|
339
340
|
return t;
|
|
@@ -348,10 +349,10 @@ function Ke(t) {
|
|
|
348
349
|
}
|
|
349
350
|
return t;
|
|
350
351
|
}
|
|
351
|
-
function
|
|
352
|
+
function Pi(t) {
|
|
352
353
|
return t == null || typeof t == "boolean" ? t : typeof t == "number" ? !!t : void 0;
|
|
353
354
|
}
|
|
354
|
-
const
|
|
355
|
+
const qa = /^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;
|
|
355
356
|
function $e(t) {
|
|
356
357
|
switch (typeof t) {
|
|
357
358
|
case "bigint":
|
|
@@ -359,7 +360,7 @@ function $e(t) {
|
|
|
359
360
|
case "number":
|
|
360
361
|
return vn(t);
|
|
361
362
|
case "string":
|
|
362
|
-
return
|
|
363
|
+
return qa.test(t);
|
|
363
364
|
default:
|
|
364
365
|
return !1;
|
|
365
366
|
}
|
|
@@ -370,7 +371,7 @@ function Se(t) {
|
|
|
370
371
|
else if (typeof t != "number") return;
|
|
371
372
|
return vn(t) ? 0 | t : void 0;
|
|
372
373
|
}
|
|
373
|
-
function
|
|
374
|
+
function Oi(t) {
|
|
374
375
|
if (t == null) return t;
|
|
375
376
|
if (typeof t == "string" && t) t = +t;
|
|
376
377
|
else if (typeof t != "number") return;
|
|
@@ -378,30 +379,30 @@ function xi(t) {
|
|
|
378
379
|
}
|
|
379
380
|
function Ii(t) {
|
|
380
381
|
const e = t.length;
|
|
381
|
-
return (t[0] === "-" ? e < 20 || e === 20 && t <= "-9223372036854775808" : e < 19 || e === 19 && t <= "9223372036854775807") ? t : (
|
|
382
|
+
return (t[0] === "-" ? e < 20 || e === 20 && t <= "-9223372036854775808" : e < 19 || e === 19 && t <= "9223372036854775807") ? t : (_n(t), br(P, B));
|
|
382
383
|
}
|
|
383
384
|
function Er(t) {
|
|
384
385
|
return t = me(t), te(t) || (ge(t), t = wr(P, B)), t;
|
|
385
386
|
}
|
|
386
|
-
function
|
|
387
|
+
function xi(t) {
|
|
387
388
|
var e = me(Number(t));
|
|
388
389
|
return te(e) ? String(e) : ((e = t.indexOf(".")) !== -1 && (t = t.substring(0, e)), Ii(t));
|
|
389
390
|
}
|
|
390
|
-
function
|
|
391
|
+
function Ni(t) {
|
|
391
392
|
var e = me(Number(t));
|
|
392
393
|
return te(e) ? rt(e) : ((e = t.indexOf(".")) !== -1 && (t = t.substring(0, e)), Ae() ? rt(Ye(64, BigInt(t))) : rt(Ii(t)));
|
|
393
394
|
}
|
|
394
|
-
function
|
|
395
|
+
function Ci(t) {
|
|
395
396
|
return te(t) ? t = rt(Er(t)) : (t = me(t), te(t) ? t = String(t) : (ge(t), t = br(P, B)), t = rt(t)), t;
|
|
396
397
|
}
|
|
397
|
-
function
|
|
398
|
-
return t == null ? t : typeof t == "bigint" ? (Zn(t) ? t = Number(t) : (t = Ye(64, t), t = Zn(t) ? Number(t) : String(t)), t) : $e(t) ? typeof t == "number" ? Er(t) :
|
|
398
|
+
function Xa(t) {
|
|
399
|
+
return t == null ? t : typeof t == "bigint" ? (Zn(t) ? t = Number(t) : (t = Ye(64, t), t = Zn(t) ? Number(t) : String(t)), t) : $e(t) ? typeof t == "number" ? Er(t) : xi(t) : void 0;
|
|
399
400
|
}
|
|
400
401
|
function cn(t) {
|
|
401
402
|
const e = typeof t;
|
|
402
|
-
return t == null ? t : e === "bigint" ? rt(Ye(64, t)) : $e(t) ? e === "string" ?
|
|
403
|
+
return t == null ? t : e === "bigint" ? rt(Ye(64, t)) : $e(t) ? e === "string" ? Ni(t) : Ci(t) : void 0;
|
|
403
404
|
}
|
|
404
|
-
function
|
|
405
|
+
function Ri(t) {
|
|
405
406
|
if (typeof t != "string") throw Error();
|
|
406
407
|
return t;
|
|
407
408
|
}
|
|
@@ -413,27 +414,27 @@ function q(t) {
|
|
|
413
414
|
return t == null || typeof t == "string" ? t : void 0;
|
|
414
415
|
}
|
|
415
416
|
function kr(t, e, n, r) {
|
|
416
|
-
return t != null && t[de] === pe ? t : Array.isArray(t) ? ((r = (n = 0 | t[d]) | 32 & r | 2 & r) !== n && V(t, r), new e(t)) : (n ? 2 & r ? ((t = e[
|
|
417
|
+
return t != null && t[de] === pe ? t : Array.isArray(t) ? ((r = (n = 0 | t[d]) | 32 & r | 2 & r) !== n && V(t, r), new e(t)) : (n ? 2 & r ? ((t = e[vs]) || (Xe((t = new e()).v), t = e[vs] = t), e = t) : e = new e() : e = void 0, e);
|
|
417
418
|
}
|
|
418
|
-
function
|
|
419
|
+
function Ya(t, e, n) {
|
|
419
420
|
if (e) t: {
|
|
420
421
|
if (!$e(e = t)) throw $n("int64");
|
|
421
422
|
switch (typeof e) {
|
|
422
423
|
case "string":
|
|
423
|
-
e =
|
|
424
|
+
e = Ni(e);
|
|
424
425
|
break t;
|
|
425
426
|
case "bigint":
|
|
426
427
|
e = rt(Ye(64, e));
|
|
427
428
|
break t;
|
|
428
429
|
default:
|
|
429
|
-
e =
|
|
430
|
+
e = Ci(e);
|
|
430
431
|
}
|
|
431
432
|
}
|
|
432
433
|
else e = cn(t);
|
|
433
|
-
return (t = e) == null ? n ?
|
|
434
|
+
return (t = e) == null ? n ? za : void 0 : t;
|
|
434
435
|
}
|
|
435
|
-
const
|
|
436
|
-
let
|
|
436
|
+
const $a = {};
|
|
437
|
+
let Ja = function() {
|
|
437
438
|
try {
|
|
438
439
|
return gn(new class extends Map {
|
|
439
440
|
constructor() {
|
|
@@ -479,20 +480,20 @@ class Gn {
|
|
|
479
480
|
return this.entries();
|
|
480
481
|
}
|
|
481
482
|
}
|
|
482
|
-
const
|
|
483
|
+
const Za = Ja ? (Object.setPrototypeOf(Gn.prototype, Map.prototype), Object.defineProperties(Gn.prototype, { size: { value: 0, configurable: !0, enumerable: !0, writable: !0 } }), Gn) : class extends Map {
|
|
483
484
|
constructor() {
|
|
484
485
|
super();
|
|
485
486
|
}
|
|
486
487
|
};
|
|
487
|
-
function
|
|
488
|
+
function Ls(t) {
|
|
488
489
|
return t;
|
|
489
490
|
}
|
|
490
491
|
function Vn(t) {
|
|
491
492
|
if (2 & t.J) throw Error("Cannot mutate an immutable Map");
|
|
492
493
|
}
|
|
493
|
-
var Pt = class extends
|
|
494
|
-
constructor(t, e, n =
|
|
495
|
-
super(), this.J = 0 | t[d], this.K = e, this.S = n, this.fa = this.K ?
|
|
494
|
+
var Pt = class extends Za {
|
|
495
|
+
constructor(t, e, n = Ls, r = Ls) {
|
|
496
|
+
super(), this.J = 0 | t[d], this.K = e, this.S = n, this.fa = this.K ? Qa : r;
|
|
496
497
|
for (let s = 0; s < t.length; s++) {
|
|
497
498
|
const i = t[s], o = n(i[0], !1, !0);
|
|
498
499
|
let a = i[1];
|
|
@@ -511,14 +512,14 @@ var Pt = class extends Qa {
|
|
|
511
512
|
entries() {
|
|
512
513
|
if (this.K) {
|
|
513
514
|
var t = super.keys();
|
|
514
|
-
t = new
|
|
515
|
+
t = new As(t, t2, this);
|
|
515
516
|
} else t = super.entries();
|
|
516
517
|
return t;
|
|
517
518
|
}
|
|
518
519
|
values() {
|
|
519
520
|
if (this.K) {
|
|
520
521
|
var t = super.keys();
|
|
521
|
-
t = new
|
|
522
|
+
t = new As(t, Pt.prototype.get, this);
|
|
522
523
|
} else t = super.values();
|
|
523
524
|
return t;
|
|
524
525
|
}
|
|
@@ -549,15 +550,15 @@ var Pt = class extends Qa {
|
|
|
549
550
|
return this.entries();
|
|
550
551
|
}
|
|
551
552
|
};
|
|
552
|
-
function
|
|
553
|
+
function Qa(t, e, n, r, s, i) {
|
|
553
554
|
return t = kr(t, r, n, i), s && (t = Tr(t)), t;
|
|
554
555
|
}
|
|
555
|
-
function
|
|
556
|
+
function t2(t) {
|
|
556
557
|
return [t, this.get(t)];
|
|
557
558
|
}
|
|
558
|
-
let
|
|
559
|
-
function
|
|
560
|
-
return
|
|
559
|
+
let e2;
|
|
560
|
+
function Fs() {
|
|
561
|
+
return e2 || (e2 = new Pt(Xe([]), void 0, void 0, void 0, $a));
|
|
561
562
|
}
|
|
562
563
|
function wn(t) {
|
|
563
564
|
return nt ? t[nt] : void 0;
|
|
@@ -568,41 +569,41 @@ function hn(t, e) {
|
|
|
568
569
|
Pt.prototype.toJSON = void 0;
|
|
569
570
|
var tr = class {
|
|
570
571
|
};
|
|
571
|
-
const
|
|
572
|
-
function
|
|
573
|
-
e < 100 || fe(
|
|
572
|
+
const n2 = { Ka: !0 };
|
|
573
|
+
function r2(t, e) {
|
|
574
|
+
e < 100 || fe(xa, 1);
|
|
574
575
|
}
|
|
575
576
|
function bn(t, e, n, r) {
|
|
576
577
|
const s = r !== void 0;
|
|
577
578
|
r = !!r;
|
|
578
579
|
var i, o = nt;
|
|
579
|
-
!s && Ee && o && (i = t[o]) && hn(i,
|
|
580
|
+
!s && Ee && o && (i = t[o]) && hn(i, r2), o = [];
|
|
580
581
|
var a = t.length;
|
|
581
582
|
let c;
|
|
582
583
|
i = 4294967295;
|
|
583
584
|
let u = !1;
|
|
584
585
|
const h = !!(64 & e), f = h ? 128 & e ? 0 : -1 : void 0;
|
|
585
586
|
1 & e || (c = a && t[a - 1], c != null && typeof c == "object" && c.constructor === Object ? i = --a : c = void 0, !h || 128 & e || s || (u = !0, i = i - f + f)), e = void 0;
|
|
586
|
-
for (var
|
|
587
|
-
let v = t[
|
|
588
|
-
if (v != null && (v = n(v, r)) != null) if (h &&
|
|
589
|
-
const
|
|
590
|
-
(e ?? (e = {}))[
|
|
591
|
-
} else o[
|
|
587
|
+
for (var _ = 0; _ < a; _++) {
|
|
588
|
+
let v = t[_];
|
|
589
|
+
if (v != null && (v = n(v, r)) != null) if (h && _ >= i) {
|
|
590
|
+
const I = _ - f;
|
|
591
|
+
(e ?? (e = {}))[I] = v;
|
|
592
|
+
} else o[_] = v;
|
|
592
593
|
}
|
|
593
594
|
if (c) for (let v in c) {
|
|
594
595
|
if ((a = c[v]) == null || (a = n(a, r)) == null) continue;
|
|
595
|
-
let
|
|
596
|
-
|
|
596
|
+
let I;
|
|
597
|
+
_ = +v, h && !Number.isNaN(_) && (I = _ + f) < i ? o[I] = a : (e ?? (e = {}))[v] = a;
|
|
597
598
|
}
|
|
598
599
|
return e && (u ? o.push(e) : o[i] = e), s && nt && (t = wn(t)) && t instanceof tr && (o[nt] = function(v) {
|
|
599
|
-
const
|
|
600
|
+
const I = new tr();
|
|
600
601
|
return hn(v, (Dn, se, Ne) => {
|
|
601
|
-
|
|
602
|
-
}),
|
|
602
|
+
I[se] = mt(Ne);
|
|
603
|
+
}), I.da = v.da, I;
|
|
603
604
|
}(t)), o;
|
|
604
605
|
}
|
|
605
|
-
function
|
|
606
|
+
function s2(t) {
|
|
606
607
|
return t[0] = ze(t[0]), t[1] = ze(t[1]), t;
|
|
607
608
|
}
|
|
608
609
|
function ze(t) {
|
|
@@ -618,16 +619,16 @@ function ze(t) {
|
|
|
618
619
|
var e = 0 | t[d];
|
|
619
620
|
return t.length === 0 && 1 & e ? void 0 : bn(t, e, ze);
|
|
620
621
|
}
|
|
621
|
-
if (t != null && t[de] === pe) return
|
|
622
|
+
if (t != null && t[de] === pe) return Bi(t);
|
|
622
623
|
if (t instanceof Et) {
|
|
623
624
|
if ((e = t.g) == null) t = "";
|
|
624
625
|
else if (typeof e == "string") t = e;
|
|
625
626
|
else {
|
|
626
|
-
if (
|
|
627
|
+
if (bi) {
|
|
627
628
|
for (var n = "", r = 0, s = e.length - 10240; r < s; ) n += String.fromCharCode.apply(null, e.subarray(r, r += 10240));
|
|
628
629
|
n += String.fromCharCode.apply(null, r ? e.subarray(r) : e), e = btoa(n);
|
|
629
630
|
} else {
|
|
630
|
-
n === void 0 && (n = 0),
|
|
631
|
+
n === void 0 && (n = 0), wi(), n = vi[n], r = Array(Math.floor(e.length / 3)), s = n[64] || "";
|
|
631
632
|
let u = 0, h = 0;
|
|
632
633
|
for (; u < e.length - 2; u += 3) {
|
|
633
634
|
var i = e[u], o = e[u + 1], a = e[u + 2], c = n[i >> 2];
|
|
@@ -645,27 +646,27 @@ function ze(t) {
|
|
|
645
646
|
}
|
|
646
647
|
return t;
|
|
647
648
|
}
|
|
648
|
-
return t instanceof Pt ? t = t.size !== 0 ? t.V(
|
|
649
|
+
return t instanceof Pt ? t = t.size !== 0 ? t.V(s2) : void 0 : void 0;
|
|
649
650
|
}
|
|
650
651
|
return t;
|
|
651
652
|
}
|
|
652
|
-
function
|
|
653
|
+
function Bi(t) {
|
|
653
654
|
return bn(t = t.v, 0 | t[d], ze);
|
|
654
655
|
}
|
|
655
|
-
let
|
|
656
|
+
let i2, o2;
|
|
656
657
|
function qt(t, e) {
|
|
657
|
-
return
|
|
658
|
+
return Di(t, e[0], e[1]);
|
|
658
659
|
}
|
|
659
|
-
function
|
|
660
|
+
function Di(t, e, n, r = 0) {
|
|
660
661
|
if (t == null) {
|
|
661
662
|
var s = 32;
|
|
662
663
|
n ? (t = [n], s |= 128) : t = [], e && (s = -16760833 & s | (1023 & e) << 14);
|
|
663
664
|
} else {
|
|
664
665
|
if (!Array.isArray(t)) throw Error("narr");
|
|
665
|
-
if (s = 0 | t[d],
|
|
666
|
+
if (s = 0 | t[d], gs && 1 & s) throw Error("rfarr");
|
|
666
667
|
if (2048 & s && !(2 & s) && function() {
|
|
667
|
-
if (
|
|
668
|
-
fe(
|
|
668
|
+
if (gs) throw Error("carr");
|
|
669
|
+
fe(Na, 5);
|
|
669
670
|
}(), 256 & s) throw Error("farr");
|
|
670
671
|
if (64 & s) return (s | r) !== s && V(t, s | r), t;
|
|
671
672
|
if (n && (s |= 128, n !== t[0])) throw Error("mid");
|
|
@@ -690,37 +691,37 @@ function Ui(t, e, n, r = 0) {
|
|
|
690
691
|
}
|
|
691
692
|
return V(t, 64 | s | r), t;
|
|
692
693
|
}
|
|
693
|
-
function
|
|
694
|
+
function a2(t, e) {
|
|
694
695
|
if (typeof t != "object") return t;
|
|
695
696
|
if (Array.isArray(t)) {
|
|
696
697
|
var n = 0 | t[d];
|
|
697
|
-
return t.length === 0 && 1 & n ? void 0 :
|
|
698
|
+
return t.length === 0 && 1 & n ? void 0 : Ms(t, n, e);
|
|
698
699
|
}
|
|
699
|
-
if (t != null && t[de] === pe) return
|
|
700
|
+
if (t != null && t[de] === pe) return Ps(t);
|
|
700
701
|
if (t instanceof Pt) {
|
|
701
702
|
if (2 & (e = t.J)) return t;
|
|
702
703
|
if (!t.size) return;
|
|
703
704
|
if (n = Xe(t.V()), t.K) for (t = 0; t < n.length; t++) {
|
|
704
705
|
const r = n[t];
|
|
705
706
|
let s = r[1];
|
|
706
|
-
s = s == null || typeof s != "object" ? void 0 : s != null && s[de] === pe ?
|
|
707
|
+
s = s == null || typeof s != "object" ? void 0 : s != null && s[de] === pe ? Ps(s) : Array.isArray(s) ? Ms(s, 0 | s[d], !!(32 & e)) : void 0, r[1] = s;
|
|
707
708
|
}
|
|
708
709
|
return n;
|
|
709
710
|
}
|
|
710
711
|
return t instanceof Et ? t : void 0;
|
|
711
712
|
}
|
|
712
|
-
function
|
|
713
|
+
function Ms(t, e, n) {
|
|
713
714
|
return 2 & e || (!n || 4096 & e || 16 & e ? t = Te(t, e, !1, n && !(16 & e)) : (qe(t, 34), 4 & e && Object.freeze(t))), t;
|
|
714
715
|
}
|
|
715
716
|
function Sr(t, e, n) {
|
|
716
717
|
return t = new t.constructor(e), n && (t.h = Qt), t.m = Qt, t;
|
|
717
718
|
}
|
|
718
|
-
function
|
|
719
|
+
function Ps(t) {
|
|
719
720
|
const e = t.v, n = 0 | e[d];
|
|
720
721
|
return st(t, n) ? t : Lr(t, e, n) ? Sr(t, e) : Te(e, n);
|
|
721
722
|
}
|
|
722
723
|
function Te(t, e, n, r) {
|
|
723
|
-
return r ?? (r = !!(34 & e)), t = bn(t, e,
|
|
724
|
+
return r ?? (r = !!(34 & e)), t = bn(t, e, a2, r), r = 32, n && (r |= 2), V(t, e = 16769217 & e | r), t;
|
|
724
725
|
}
|
|
725
726
|
function Tr(t) {
|
|
726
727
|
const e = t.v, n = 0 | e[d];
|
|
@@ -740,7 +741,7 @@ function ne(t, e) {
|
|
|
740
741
|
function Lr(t, e, n) {
|
|
741
742
|
return !!(2 & n) || !(!(32 & n) || 4096 & n) && (V(e, 2 | n), t.h = Qt, !0);
|
|
742
743
|
}
|
|
743
|
-
const
|
|
744
|
+
const c2 = rt(0), Ct = {};
|
|
744
745
|
function L(t, e, n, r, s) {
|
|
745
746
|
if ((e = Ot(t.v, e, n, s)) !== null || r && t.m !== Qt) return e;
|
|
746
747
|
}
|
|
@@ -775,7 +776,7 @@ function j(t, e, n, r, s) {
|
|
|
775
776
|
return i <= o ? (t[i] = r, e) : (r !== void 0 && (n >= (o = (e ?? (e = 0 | t[d])) >> 14 & 1023 || 536870912) ? r != null && (t[o + (s ? 0 : -1)] = { [n]: r }) : t[i] = r), e);
|
|
776
777
|
}
|
|
777
778
|
function Kt() {
|
|
778
|
-
return
|
|
779
|
+
return Ca === void 0 ? 2 : 4;
|
|
779
780
|
}
|
|
780
781
|
function zt(t, e, n, r, s) {
|
|
781
782
|
let i = t.v, o = 0 | i[d];
|
|
@@ -786,14 +787,14 @@ function zt(t, e, n, r, s) {
|
|
|
786
787
|
4 & c && (t = mt(t), a = 0, c = Yt(c, o), o = j(i, o, e, t));
|
|
787
788
|
let h = 0, f = 0;
|
|
788
789
|
for (; h < t.length; h++) {
|
|
789
|
-
const
|
|
790
|
-
|
|
790
|
+
const _ = n(t[h]);
|
|
791
|
+
_ != null && (t[f++] = _);
|
|
791
792
|
}
|
|
792
793
|
f < h && (t.length = f), n = -513 & (4 | c), c = n &= -1025, c &= -4097;
|
|
793
794
|
}
|
|
794
|
-
return c !== a && (V(t, c), 2 & c && Object.freeze(t)),
|
|
795
|
+
return c !== a && (V(t, c), 2 & c && Object.freeze(t)), Ui(t, c, i, o, e, r, u, s);
|
|
795
796
|
}
|
|
796
|
-
function
|
|
797
|
+
function Ui(t, e, n, r, s, i, o, a) {
|
|
797
798
|
let c = e;
|
|
798
799
|
return i === 1 || i === 4 && (2 & e || !(16 & e) && 32 & r) ? Xt(e) || ((e |= !t.length || o && !(4096 & e) || 32 & r && !(4096 & e || 16 & e) ? 2 : 256) !== c && V(t, e), Object.freeze(t)) : (i === 2 && Xt(e) && (t = mt(t), c = 0, e = Yt(e, r), r = j(n, r, s, t)), Xt(e) || (a || (e |= 16), e !== c && V(t, e))), 2 & e || !(4096 & e || 16 & e) || ne(n, r), t;
|
|
799
800
|
}
|
|
@@ -806,10 +807,10 @@ function Mr(t, e) {
|
|
|
806
807
|
function Xt(t) {
|
|
807
808
|
return !!(2 & t) && !!(4 & t) || !!(256 & t);
|
|
808
809
|
}
|
|
809
|
-
function
|
|
810
|
-
return
|
|
810
|
+
function ji(t) {
|
|
811
|
+
return _r(t, !0);
|
|
811
812
|
}
|
|
812
|
-
function
|
|
813
|
+
function Gi(t) {
|
|
813
814
|
t = mt(t);
|
|
814
815
|
for (let e = 0; e < t.length; e++) {
|
|
815
816
|
const n = t[e] = mt(t[e]);
|
|
@@ -827,7 +828,7 @@ function Me(t, e, n) {
|
|
|
827
828
|
return (2 & o || Xt(o) || 16 & o) && (o === i || Xt(o) || V(s, o), s = mt(s), i = 0, o = Yt(o, e), j(t, e, n, s, r)), o &= -13, o !== i && V(s, o), s;
|
|
828
829
|
}
|
|
829
830
|
function Hn(t, e) {
|
|
830
|
-
var n =
|
|
831
|
+
var n = No;
|
|
831
832
|
return Or(Pr(t = t.v), t, void 0, n) === e ? e : -1;
|
|
832
833
|
}
|
|
833
834
|
function Pr(t) {
|
|
@@ -836,7 +837,7 @@ function Pr(t) {
|
|
|
836
837
|
const e = /* @__PURE__ */ new Map();
|
|
837
838
|
return Object.defineProperty(t, Ce, { value: e }), e;
|
|
838
839
|
}
|
|
839
|
-
function
|
|
840
|
+
function Vi(t, e, n, r, s) {
|
|
840
841
|
const i = Pr(t), o = Or(i, t, e, n, s);
|
|
841
842
|
return o !== r && (o && (e = j(t, e, o, void 0, s)), i.set(n, r)), e;
|
|
842
843
|
}
|
|
@@ -850,7 +851,7 @@ function Or(t, e, n, r, s) {
|
|
|
850
851
|
}
|
|
851
852
|
return t.set(r, i), i;
|
|
852
853
|
}
|
|
853
|
-
function
|
|
854
|
+
function Ir(t, e, n) {
|
|
854
855
|
let r = 0 | t[d];
|
|
855
856
|
const s = ke(r), i = Ot(t, n, s);
|
|
856
857
|
let o;
|
|
@@ -864,7 +865,7 @@ function xr(t, e, n) {
|
|
|
864
865
|
}
|
|
865
866
|
return o = qt(o, e), o !== i && j(t, r, n, o, s), o;
|
|
866
867
|
}
|
|
867
|
-
function
|
|
868
|
+
function Hi(t, e, n, r, s) {
|
|
868
869
|
let i = !1;
|
|
869
870
|
if ((r = Ot(t, r, s, (o) => {
|
|
870
871
|
const a = kr(o, n, !1, e);
|
|
@@ -873,53 +874,53 @@ function Wi(t, e, n, r, s) {
|
|
|
873
874
|
}
|
|
874
875
|
function A(t, e, n, r) {
|
|
875
876
|
let s = t.v, i = 0 | s[d];
|
|
876
|
-
if ((e =
|
|
877
|
+
if ((e = Hi(s, i, e, n, r)) == null) return e;
|
|
877
878
|
if (i = 0 | s[d], !st(t, i)) {
|
|
878
879
|
const o = Tr(e);
|
|
879
880
|
o !== e && (Le(t) && (s = t.v, i = 0 | s[d]), i = j(s, i, n, e = o, r), ne(s, i));
|
|
880
881
|
}
|
|
881
882
|
return e;
|
|
882
883
|
}
|
|
883
|
-
function
|
|
884
|
+
function Wi(t, e, n, r, s, i, o, a) {
|
|
884
885
|
var c = st(t, n);
|
|
885
886
|
i = c ? 1 : i, o = !!o || i === 3, c = a && !c, (i === 2 || c) && Le(t) && (n = 0 | (e = t.v)[d]);
|
|
886
887
|
var u = (t = Fr(e, s)) === ee ? 7 : 0 | t[d], h = Mr(u, n);
|
|
887
888
|
if (a = !(4 & h)) {
|
|
888
|
-
var f = t,
|
|
889
|
+
var f = t, _ = n;
|
|
889
890
|
const v = !!(2 & h);
|
|
890
|
-
v && (
|
|
891
|
-
let
|
|
891
|
+
v && (_ |= 2);
|
|
892
|
+
let I = !v, Dn = !0, se = 0, Ne = 0;
|
|
892
893
|
for (; se < f.length; se++) {
|
|
893
|
-
const Un = kr(f[se], r, !1,
|
|
894
|
+
const Un = kr(f[se], r, !1, _);
|
|
894
895
|
if (Un instanceof r) {
|
|
895
896
|
if (!v) {
|
|
896
897
|
const us = st(Un);
|
|
897
|
-
|
|
898
|
+
I && (I = !us), Dn && (Dn = us);
|
|
898
899
|
}
|
|
899
900
|
f[Ne++] = Un;
|
|
900
901
|
}
|
|
901
902
|
}
|
|
902
|
-
Ne < se && (f.length = Ne), h |= 4, h = Dn ? -4097 & h : 4096 | h, h =
|
|
903
|
+
Ne < se && (f.length = Ne), h |= 4, h = Dn ? -4097 & h : 4096 | h, h = I ? 8 | h : -9 & h;
|
|
903
904
|
}
|
|
904
905
|
if (h !== u && (V(t, h), 2 & h && Object.freeze(t)), c && !(8 & h || !t.length && (i === 1 || i === 4 && (2 & h || !(16 & h) && 32 & n)))) {
|
|
905
906
|
for (Xt(h) && (t = mt(t), h = Yt(h, n), n = j(e, n, s, t)), r = t, c = h, u = 0; u < r.length; u++) (f = r[u]) !== (h = Tr(f)) && (r[u] = h);
|
|
906
907
|
c |= 8, V(t, h = c = r.length ? 4096 | c : -4097 & c);
|
|
907
908
|
}
|
|
908
|
-
return
|
|
909
|
+
return Ui(t, h, e, n, s, i, a, o);
|
|
909
910
|
}
|
|
910
|
-
function
|
|
911
|
+
function It(t, e, n) {
|
|
911
912
|
const r = t.v;
|
|
912
|
-
return
|
|
913
|
+
return Wi(t, r, 0 | r[d], e, n, Kt(), !1, !0);
|
|
913
914
|
}
|
|
914
|
-
function
|
|
915
|
+
function Ki(t) {
|
|
915
916
|
return t == null && (t = void 0), t;
|
|
916
917
|
}
|
|
917
|
-
function
|
|
918
|
-
return k(t, n, r =
|
|
918
|
+
function y(t, e, n, r, s) {
|
|
919
|
+
return k(t, n, r = Ki(r), s), r && !st(r) && ne(t.v), t;
|
|
919
920
|
}
|
|
920
921
|
function Ue(t, e, n, r) {
|
|
921
922
|
t: {
|
|
922
|
-
var s = r =
|
|
923
|
+
var s = r = Ki(r);
|
|
923
924
|
Fe(t);
|
|
924
925
|
const i = t.v;
|
|
925
926
|
let o = 0 | i[d];
|
|
@@ -927,7 +928,7 @@ function Ue(t, e, n, r) {
|
|
|
927
928
|
const a = Pr(i);
|
|
928
929
|
if (Or(a, i, o, n) !== e) break t;
|
|
929
930
|
a.set(n, 0);
|
|
930
|
-
} else o =
|
|
931
|
+
} else o = Vi(i, o, n, e);
|
|
931
932
|
j(i, o, e, s);
|
|
932
933
|
}
|
|
933
934
|
r && !st(r) && ne(t.v);
|
|
@@ -935,20 +936,20 @@ function Ue(t, e, n, r) {
|
|
|
935
936
|
function Yt(t, e) {
|
|
936
937
|
return -273 & (2 & e ? 2 | t : -3 & t);
|
|
937
938
|
}
|
|
938
|
-
function
|
|
939
|
+
function xr(t, e, n, r) {
|
|
939
940
|
var s = r;
|
|
940
|
-
Fe(t), t =
|
|
941
|
+
Fe(t), t = Wi(t, r = t.v, 0 | r[d], n, e, 2, !0), s = s ?? new n(), t.push(s), e = n = t === ee ? 7 : 0 | t[d], (s = st(s)) ? (n &= -9, t.length === 1 && (n &= -4097)) : n |= 4096, n !== e && V(t, n), s || ne(r);
|
|
941
942
|
}
|
|
942
943
|
function dt(t, e, n) {
|
|
943
944
|
return Se(L(t, e, void 0, n));
|
|
944
945
|
}
|
|
945
|
-
function
|
|
946
|
-
return (gr ? L(t, 2, void 0, void 0, cn) : cn(L(t, 2))) ??
|
|
946
|
+
function zi(t) {
|
|
947
|
+
return (gr ? L(t, 2, void 0, void 0, cn) : cn(L(t, 2))) ?? c2;
|
|
947
948
|
}
|
|
948
949
|
function C(t, e) {
|
|
949
950
|
return L(t, e, void 0, void 0, At) ?? 0;
|
|
950
951
|
}
|
|
951
|
-
function
|
|
952
|
+
function xt(t, e, n) {
|
|
952
953
|
if (n != null) {
|
|
953
954
|
if (typeof n != "number" || !vn(n)) throw $n("int32");
|
|
954
955
|
n |= 0;
|
|
@@ -970,7 +971,7 @@ function un(t, e, n) {
|
|
|
970
971
|
else {
|
|
971
972
|
var r = t = n === ee ? 7 : 0 | n[d], s = Xt(t), i = s || Object.isFrozen(n);
|
|
972
973
|
for (s || (t = 0), i || (n = mt(n), r = 0, t = Yt(t, a), i = !1), t |= 5, t |= (4 & t ? 512 & t ? 512 : 1024 & t ? 1024 : 0 : void 0) ?? (gr ? 1024 : 0), s = 0; s < n.length; s++) {
|
|
973
|
-
const c = n[s], u =
|
|
974
|
+
const c = n[s], u = Ri(c);
|
|
974
975
|
Object.is(c, u) || (i && (n = mt(n), r = 0, t = Yt(t, a), i = !1), n[s] = u);
|
|
975
976
|
}
|
|
976
977
|
t !== r && (i && (n = mt(n), t = Yt(t, a)), V(n, t)), j(o, a, e, n);
|
|
@@ -978,7 +979,7 @@ function un(t, e, n) {
|
|
|
978
979
|
}
|
|
979
980
|
}
|
|
980
981
|
function An(t, e, n) {
|
|
981
|
-
Fe(t), zt(t, e, q, 2, !0).push(
|
|
982
|
+
Fe(t), zt(t, e, q, 2, !0).push(Ri(n));
|
|
982
983
|
}
|
|
983
984
|
var ie = class {
|
|
984
985
|
constructor(t, e, n) {
|
|
@@ -987,15 +988,15 @@ var ie = class {
|
|
|
987
988
|
}
|
|
988
989
|
};
|
|
989
990
|
function Nr(t, e) {
|
|
990
|
-
if (typeof t == "string") return new ie(
|
|
991
|
+
if (typeof t == "string") return new ie(Ai(t), e);
|
|
991
992
|
if (Array.isArray(t)) return new ie(new Uint8Array(t), e);
|
|
992
993
|
if (t.constructor === Uint8Array) return new ie(t, !1);
|
|
993
994
|
if (t.constructor === ArrayBuffer) return t = new Uint8Array(t), new ie(t, !1);
|
|
994
|
-
if (t.constructor === Et) return e =
|
|
995
|
+
if (t.constructor === Et) return e = yr(t) || new Uint8Array(0), new ie(e, !0, t);
|
|
995
996
|
if (t instanceof Uint8Array) return t = t.constructor === Uint8Array ? t : new Uint8Array(t.buffer, t.byteOffset, t.byteLength), new ie(t, !1);
|
|
996
997
|
throw Error();
|
|
997
998
|
}
|
|
998
|
-
function
|
|
999
|
+
function ye(t, e) {
|
|
999
1000
|
let n, r = 0, s = 0, i = 0;
|
|
1000
1001
|
const o = t.h;
|
|
1001
1002
|
let a = t.g;
|
|
@@ -1031,35 +1032,35 @@ function ln(t) {
|
|
|
1031
1032
|
const i = e[n + 2];
|
|
1032
1033
|
return e = e[n + 3], $t(t, t.g + 4), t = 2 * ((s = (r << 0 | s << 8 | i << 16 | e << 24) >>> 0) >> 31) + 1, r = s >>> 23 & 255, s &= 8388607, r == 255 ? s ? NaN : t * (1 / 0) : r == 0 ? 1401298464324817e-60 * t * s : t * Math.pow(2, r - 150) * (s + 8388608);
|
|
1033
1034
|
}
|
|
1034
|
-
function
|
|
1035
|
+
function h2(t) {
|
|
1035
1036
|
return jt(t);
|
|
1036
1037
|
}
|
|
1037
1038
|
function $t(t, e) {
|
|
1038
1039
|
if (t.g = e, e > t.l) throw Error();
|
|
1039
1040
|
}
|
|
1040
|
-
function
|
|
1041
|
+
function qi(t, e) {
|
|
1041
1042
|
if (e < 0) throw Error();
|
|
1042
1043
|
const n = t.g;
|
|
1043
1044
|
if ((e = n + e) > t.l) throw Error();
|
|
1044
1045
|
return t.g = e, n;
|
|
1045
1046
|
}
|
|
1046
|
-
function
|
|
1047
|
+
function Xi(t, e) {
|
|
1047
1048
|
if (e == 0) return Zt();
|
|
1048
|
-
var n =
|
|
1049
|
-
return t.Y && t.j ? n = t.h.subarray(n, n + e) : (t = t.h, n = n === (e = n + e) ? new Uint8Array(0) :
|
|
1049
|
+
var n = qi(t, e);
|
|
1050
|
+
return t.Y && t.j ? n = t.h.subarray(n, n + e) : (t = t.h, n = n === (e = n + e) ? new Uint8Array(0) : Va ? t.slice(n, e) : new Uint8Array(t.subarray(n, e))), n.length == 0 ? Zt() : new Et(n, le);
|
|
1050
1051
|
}
|
|
1051
|
-
var
|
|
1052
|
-
function
|
|
1052
|
+
var Os = [];
|
|
1053
|
+
function Yi(t, e, n, r) {
|
|
1053
1054
|
if (fn.length) {
|
|
1054
1055
|
const s = fn.pop();
|
|
1055
1056
|
return s.o(r), s.g.init(t, e, n, r), s;
|
|
1056
1057
|
}
|
|
1057
|
-
return new
|
|
1058
|
+
return new u2(t, e, n, r);
|
|
1058
1059
|
}
|
|
1059
|
-
function
|
|
1060
|
+
function $i(t) {
|
|
1060
1061
|
t.g.clear(), t.l = -1, t.h = -1, fn.length < 100 && fn.push(t);
|
|
1061
1062
|
}
|
|
1062
|
-
function
|
|
1063
|
+
function Ji(t) {
|
|
1063
1064
|
var e = t.g;
|
|
1064
1065
|
if (e.g == e.l) return !1;
|
|
1065
1066
|
t.m = t.g.g;
|
|
@@ -1087,7 +1088,7 @@ function on(t) {
|
|
|
1087
1088
|
break;
|
|
1088
1089
|
case 3:
|
|
1089
1090
|
for (e = t.l; ; ) {
|
|
1090
|
-
if (!
|
|
1091
|
+
if (!Ji(t)) throw Error();
|
|
1091
1092
|
if (t.h == 4) {
|
|
1092
1093
|
if (t.l != e) throw Error();
|
|
1093
1094
|
break;
|
|
@@ -1107,8 +1108,8 @@ function Ze(t, e, n) {
|
|
|
1107
1108
|
return t.g.g = s, t.g.l = r, e;
|
|
1108
1109
|
}
|
|
1109
1110
|
function Rr(t) {
|
|
1110
|
-
var e = Nt(t.g), n =
|
|
1111
|
-
if (t = t.h,
|
|
1111
|
+
var e = Nt(t.g), n = qi(t = t.g, e);
|
|
1112
|
+
if (t = t.h, ba) {
|
|
1112
1113
|
var r, s = t;
|
|
1113
1114
|
(r = jn) || (r = jn = new TextDecoder("utf-8", { fatal: !0 })), e = n + e, s = n === 0 && e === s.length ? s : s.subarray(n, e);
|
|
1114
1115
|
try {
|
|
@@ -1132,24 +1133,24 @@ function Rr(t) {
|
|
|
1132
1133
|
let a, c = null;
|
|
1133
1134
|
for (; i < e; ) {
|
|
1134
1135
|
var o = t[i++];
|
|
1135
|
-
o < 128 ? n.push(o) : o < 224 ? i >= e ? Ht() : (a = t[i++], o < 194 || (192 & a) != 128 ? (i--, Ht()) : n.push((31 & o) << 6 | 63 & a)) : o < 240 ? i >= e - 1 ? Ht() : (a = t[i++], (192 & a) != 128 || o === 224 && a < 160 || o === 237 && a >= 160 || (192 & (r = t[i++])) != 128 ? (i--, Ht()) : n.push((15 & o) << 12 | (63 & a) << 6 | 63 & r)) : o <= 244 ? i >= e - 2 ? Ht() : (a = t[i++], (192 & a) != 128 || a - 144 + (o << 28) >> 30 || (192 & (r = t[i++])) != 128 || (192 & (s = t[i++])) != 128 ? (i--, Ht()) : (o = (7 & o) << 18 | (63 & a) << 12 | (63 & r) << 6 | 63 & s, o -= 65536, n.push(55296 + (o >> 10 & 1023), 56320 + (1023 & o)))) : Ht(), n.length >= 8192 && (c =
|
|
1136
|
+
o < 128 ? n.push(o) : o < 224 ? i >= e ? Ht() : (a = t[i++], o < 194 || (192 & a) != 128 ? (i--, Ht()) : n.push((31 & o) << 6 | 63 & a)) : o < 240 ? i >= e - 1 ? Ht() : (a = t[i++], (192 & a) != 128 || o === 224 && a < 160 || o === 237 && a >= 160 || (192 & (r = t[i++])) != 128 ? (i--, Ht()) : n.push((15 & o) << 12 | (63 & a) << 6 | 63 & r)) : o <= 244 ? i >= e - 2 ? Ht() : (a = t[i++], (192 & a) != 128 || a - 144 + (o << 28) >> 30 || (192 & (r = t[i++])) != 128 || (192 & (s = t[i++])) != 128 ? (i--, Ht()) : (o = (7 & o) << 18 | (63 & a) << 12 | (63 & r) << 6 | 63 & s, o -= 65536, n.push(55296 + (o >> 10 & 1023), 56320 + (1023 & o)))) : Ht(), n.length >= 8192 && (c = ps(c, n), n.length = 0);
|
|
1136
1137
|
}
|
|
1137
|
-
i =
|
|
1138
|
+
i = ps(c, n);
|
|
1138
1139
|
}
|
|
1139
1140
|
return i;
|
|
1140
1141
|
}
|
|
1141
|
-
function
|
|
1142
|
+
function Zi(t) {
|
|
1142
1143
|
const e = Nt(t.g);
|
|
1143
|
-
return
|
|
1144
|
+
return Xi(t.g, e);
|
|
1144
1145
|
}
|
|
1145
1146
|
function En(t, e, n) {
|
|
1146
1147
|
var r = Nt(t.g);
|
|
1147
1148
|
for (r = t.g.g + r; t.g.g < r; ) n.push(e(t.g));
|
|
1148
1149
|
}
|
|
1149
|
-
var
|
|
1150
|
+
var u2 = class {
|
|
1150
1151
|
constructor(t, e, n, r) {
|
|
1151
|
-
if (
|
|
1152
|
-
const s =
|
|
1152
|
+
if (Os.length) {
|
|
1153
|
+
const s = Os.pop();
|
|
1153
1154
|
s.init(t, e, n, r), t = s;
|
|
1154
1155
|
} else t = new class {
|
|
1155
1156
|
constructor(s, i, o, a) {
|
|
@@ -1169,23 +1170,23 @@ var l2 = class {
|
|
|
1169
1170
|
}
|
|
1170
1171
|
}, fn = [];
|
|
1171
1172
|
function Is(t) {
|
|
1172
|
-
return t ? /^\d+$/.test(t) ? (
|
|
1173
|
+
return t ? /^\d+$/.test(t) ? (_n(t), new er(P, B)) : null : l2 || (l2 = new er(0, 0));
|
|
1173
1174
|
}
|
|
1174
1175
|
var er = class {
|
|
1175
1176
|
constructor(t, e) {
|
|
1176
1177
|
this.h = t >>> 0, this.g = e >>> 0;
|
|
1177
1178
|
}
|
|
1178
1179
|
};
|
|
1179
|
-
let
|
|
1180
|
-
function
|
|
1181
|
-
return t ? /^-?\d+$/.test(t) ? (
|
|
1180
|
+
let l2;
|
|
1181
|
+
function xs(t) {
|
|
1182
|
+
return t ? /^-?\d+$/.test(t) ? (_n(t), new nr(P, B)) : null : f2 || (f2 = new nr(0, 0));
|
|
1182
1183
|
}
|
|
1183
1184
|
var nr = class {
|
|
1184
1185
|
constructor(t, e) {
|
|
1185
1186
|
this.h = t >>> 0, this.g = e >>> 0;
|
|
1186
1187
|
}
|
|
1187
1188
|
};
|
|
1188
|
-
let
|
|
1189
|
+
let f2;
|
|
1189
1190
|
function ce(t, e, n) {
|
|
1190
1191
|
for (; n > 0 || e > 127; ) t.g.push(127 & e | 128), e = (e >>> 7 | n << 25) >>> 0, n >>>= 7;
|
|
1191
1192
|
t.g.push(e);
|
|
@@ -1205,14 +1206,14 @@ function Br(t) {
|
|
|
1205
1206
|
var e = P;
|
|
1206
1207
|
t.g.push(e >>> 0 & 255), t.g.push(e >>> 8 & 255), t.g.push(e >>> 16 & 255), t.g.push(e >>> 24 & 255);
|
|
1207
1208
|
}
|
|
1208
|
-
function
|
|
1209
|
+
function _e(t, e) {
|
|
1209
1210
|
e.length !== 0 && (t.l.push(e), t.h += e.length);
|
|
1210
1211
|
}
|
|
1211
1212
|
function pt(t, e, n) {
|
|
1212
1213
|
Pe(t.g, 8 * e + n);
|
|
1213
1214
|
}
|
|
1214
1215
|
function Dr(t, e) {
|
|
1215
|
-
return pt(t, e, 2), e = t.g.end(),
|
|
1216
|
+
return pt(t, e, 2), e = t.g.end(), _e(t, e), e.push(t.h), e;
|
|
1216
1217
|
}
|
|
1217
1218
|
function Ur(t, e) {
|
|
1218
1219
|
var n = e.pop();
|
|
@@ -1220,7 +1221,7 @@ function Ur(t, e) {
|
|
|
1220
1221
|
e.push(n), t.h++;
|
|
1221
1222
|
}
|
|
1222
1223
|
function Sn(t, e, n) {
|
|
1223
|
-
pt(t, e, 2), Pe(t.g, n.length),
|
|
1224
|
+
pt(t, e, 2), Pe(t.g, n.length), _e(t, t.g.end()), _e(t, n);
|
|
1224
1225
|
}
|
|
1225
1226
|
function dn(t, e, n, r) {
|
|
1226
1227
|
n != null && (e = Dr(t, e), r(n, t), Ur(t, e));
|
|
@@ -1233,25 +1234,25 @@ function St() {
|
|
|
1233
1234
|
};
|
|
1234
1235
|
return Object.setPrototypeOf(t, t.prototype), t;
|
|
1235
1236
|
}
|
|
1236
|
-
var jr = St(),
|
|
1237
|
+
var jr = St(), Qi = St(), Gr = St(), Vr = St(), to = St(), eo = St(), d2 = St(), Tn = St(), no = St(), ro = St();
|
|
1237
1238
|
function Tt(t, e, n) {
|
|
1238
1239
|
var r = t.v;
|
|
1239
1240
|
nt && nt in r && (r = r[nt]) && delete r[e.g], e.h ? e.j(t, e.h, e.g, n, e.l) : e.j(t, e.g, n, e.l);
|
|
1240
1241
|
}
|
|
1241
1242
|
var p = class {
|
|
1242
1243
|
constructor(t, e) {
|
|
1243
|
-
this.v =
|
|
1244
|
+
this.v = Di(t, e, void 0, 2048);
|
|
1244
1245
|
}
|
|
1245
1246
|
toJSON() {
|
|
1246
|
-
return
|
|
1247
|
+
return Bi(this);
|
|
1247
1248
|
}
|
|
1248
1249
|
j() {
|
|
1249
1250
|
var s;
|
|
1250
|
-
var t =
|
|
1251
|
-
if (Ee && r && ((s = e[r]) == null ? void 0 : s[n]) != null && fe(Ia, 3), e = t.g,
|
|
1252
|
-
r(n, e,
|
|
1251
|
+
var t = Y2, e = this.v, n = t.g, r = nt;
|
|
1252
|
+
if (Ee && r && ((s = e[r]) == null ? void 0 : s[n]) != null && fe(Ia, 3), e = t.g, ws && nt && ws === void 0 && (r = (n = this.v)[nt]) && (r = r.da)) try {
|
|
1253
|
+
r(n, e, n2);
|
|
1253
1254
|
} catch (i) {
|
|
1254
|
-
|
|
1255
|
+
_i(i);
|
|
1255
1256
|
}
|
|
1256
1257
|
return t.h ? t.m(this, t.h, t.g, t.l) : t.m(this, t.g, t.defaultValue, t.l);
|
|
1257
1258
|
}
|
|
@@ -1271,25 +1272,25 @@ var Oe = class {
|
|
|
1271
1272
|
function Ln(t, e) {
|
|
1272
1273
|
return new Oe(t, e, jr);
|
|
1273
1274
|
}
|
|
1274
|
-
function
|
|
1275
|
-
dn(t, n,
|
|
1275
|
+
function so(t, e, n, r, s) {
|
|
1276
|
+
dn(t, n, co(e, r), s);
|
|
1276
1277
|
}
|
|
1277
|
-
const
|
|
1278
|
-
return t.h === 2 && (Ze(t,
|
|
1279
|
-
},
|
|
1280
|
-
return t.h === 2 && (Ze(t,
|
|
1281
|
-
},
|
|
1282
|
-
var Fn = Symbol(), Mn = Symbol(), rr = Symbol(),
|
|
1283
|
-
let
|
|
1278
|
+
const p2 = Ln(function(t, e, n, r, s) {
|
|
1279
|
+
return t.h === 2 && (Ze(t, Ir(e, r, n), s), !0);
|
|
1280
|
+
}, so), g2 = Ln(function(t, e, n, r, s) {
|
|
1281
|
+
return t.h === 2 && (Ze(t, Ir(e, r, n), s), !0);
|
|
1282
|
+
}, so);
|
|
1283
|
+
var Fn = Symbol(), Mn = Symbol(), rr = Symbol(), Ns = Symbol(), Cs = Symbol();
|
|
1284
|
+
let io, oo;
|
|
1284
1285
|
function re(t, e, n, r) {
|
|
1285
1286
|
var s = r[t];
|
|
1286
1287
|
if (s) return s;
|
|
1287
1288
|
(s = {}).qa = r, s.T = function(f) {
|
|
1288
1289
|
switch (typeof f) {
|
|
1289
1290
|
case "boolean":
|
|
1290
|
-
return
|
|
1291
|
+
return i2 || (i2 = [0, void 0, !0]);
|
|
1291
1292
|
case "number":
|
|
1292
|
-
return f > 0 ? void 0 : f === 0 ?
|
|
1293
|
+
return f > 0 ? void 0 : f === 0 ? o2 || (o2 = [0, void 0]) : [-f, void 0];
|
|
1293
1294
|
case "string":
|
|
1294
1295
|
return [0, f];
|
|
1295
1296
|
case "object":
|
|
@@ -1298,7 +1299,7 @@ function re(t, e, n, r) {
|
|
|
1298
1299
|
}(r[0]);
|
|
1299
1300
|
var i = r[1];
|
|
1300
1301
|
let o = 1;
|
|
1301
|
-
i && i.constructor === Object && (s.ba = i, typeof (i = r[++o]) == "function" && (s.ma = !0,
|
|
1302
|
+
i && i.constructor === Object && (s.ba = i, typeof (i = r[++o]) == "function" && (s.ma = !0, io ?? (io = i), oo ?? (oo = r[o + 1]), i = r[o += 2]));
|
|
1302
1303
|
const a = {};
|
|
1303
1304
|
for (; i && Array.isArray(i) && i.length && typeof i[0] == "number" && i[0] > 0; ) {
|
|
1304
1305
|
for (var c = 0; c < i.length; c++) a[i[c]] = i;
|
|
@@ -1308,22 +1309,22 @@ function re(t, e, n, r) {
|
|
|
1308
1309
|
let f;
|
|
1309
1310
|
typeof i == "number" && (c += i, i = r[++o]);
|
|
1310
1311
|
var u = void 0;
|
|
1311
|
-
if (i instanceof Oe ? f = i : (f =
|
|
1312
|
+
if (i instanceof Oe ? f = i : (f = p2, o--), f == null ? void 0 : f.l) {
|
|
1312
1313
|
i = r[++o], u = r;
|
|
1313
1314
|
var h = o;
|
|
1314
1315
|
typeof i == "function" && (i = i(), u[h] = i), u = i;
|
|
1315
1316
|
}
|
|
1316
1317
|
for (h = c + 1, typeof (i = r[++o]) == "number" && i < 0 && (h -= i, i = r[++o]); c < h; c++) {
|
|
1317
|
-
const
|
|
1318
|
-
u ? n(s, c, f, u,
|
|
1318
|
+
const _ = a[c];
|
|
1319
|
+
u ? n(s, c, f, u, _) : e(s, c, f, _);
|
|
1319
1320
|
}
|
|
1320
1321
|
}
|
|
1321
1322
|
return r[t] = s;
|
|
1322
1323
|
}
|
|
1323
|
-
function
|
|
1324
|
-
return Array.isArray(t) ? t[0] instanceof Oe ? t : [
|
|
1324
|
+
function ao(t) {
|
|
1325
|
+
return Array.isArray(t) ? t[0] instanceof Oe ? t : [g2, t] : [t, void 0];
|
|
1325
1326
|
}
|
|
1326
|
-
function
|
|
1327
|
+
function co(t, e) {
|
|
1327
1328
|
return t instanceof p ? t.v : Array.isArray(t) ? qt(t, e) : void 0;
|
|
1328
1329
|
}
|
|
1329
1330
|
function Hr(t, e, n, r) {
|
|
@@ -1339,8 +1340,8 @@ function Kr(t) {
|
|
|
1339
1340
|
let e = t[rr];
|
|
1340
1341
|
if (e != null) return e;
|
|
1341
1342
|
const n = re(Mn, Hr, Wr, t);
|
|
1342
|
-
return e = n.ma ? (r, s) =>
|
|
1343
|
-
for (;
|
|
1343
|
+
return e = n.ma ? (r, s) => io(r, s, n) : (r, s) => {
|
|
1344
|
+
for (; Ji(s) && s.h != 4; ) {
|
|
1344
1345
|
var i = s.l, o = n[i];
|
|
1345
1346
|
if (o == null) {
|
|
1346
1347
|
var a = n.ba;
|
|
@@ -1348,29 +1349,29 @@ function Kr(t) {
|
|
|
1348
1349
|
}
|
|
1349
1350
|
if (o == null || !o(s, r, i)) {
|
|
1350
1351
|
if (o = (a = s).m, on(a), a.ha) var c = void 0;
|
|
1351
|
-
else c = a.g.g - o, a.g.g = o, c =
|
|
1352
|
+
else c = a.g.g - o, a.g.g = o, c = Xi(a.g, c);
|
|
1352
1353
|
o = void 0, a = r, c && ((o = a[nt] ?? (a[nt] = new tr()))[i] ?? (o[i] = [])).push(c);
|
|
1353
1354
|
}
|
|
1354
1355
|
}
|
|
1355
|
-
return (r = wn(r)) && (r.da = n.qa[
|
|
1356
|
-
}, t[rr] = e, t[
|
|
1356
|
+
return (r = wn(r)) && (r.da = n.qa[Cs]), !0;
|
|
1357
|
+
}, t[rr] = e, t[Cs] = m2.bind(t), e;
|
|
1357
1358
|
}
|
|
1358
|
-
function
|
|
1359
|
+
function m2(t, e, n, r) {
|
|
1359
1360
|
var s = this[Mn];
|
|
1360
1361
|
const i = this[rr], o = qt(void 0, s.T), a = wn(t);
|
|
1361
1362
|
if (a) {
|
|
1362
1363
|
var c = !1, u = s.ba;
|
|
1363
1364
|
if (u) {
|
|
1364
|
-
if (s = (h, f,
|
|
1365
|
-
if (
|
|
1366
|
-
h =
|
|
1365
|
+
if (s = (h, f, _) => {
|
|
1366
|
+
if (_.length !== 0) if (u[f]) for (const v of _) {
|
|
1367
|
+
h = Yi(v);
|
|
1367
1368
|
try {
|
|
1368
1369
|
c = !0, i(o, h);
|
|
1369
1370
|
} finally {
|
|
1370
|
-
|
|
1371
|
+
$i(h);
|
|
1371
1372
|
}
|
|
1372
1373
|
}
|
|
1373
|
-
else r == null || r(t, f,
|
|
1374
|
+
else r == null || r(t, f, _);
|
|
1374
1375
|
}, e == null) hn(a, s);
|
|
1375
1376
|
else if (a != null) {
|
|
1376
1377
|
const h = a[e];
|
|
@@ -1379,22 +1380,22 @@ function _2(t, e, n, r) {
|
|
|
1379
1380
|
if (c) {
|
|
1380
1381
|
let h = 0 | t[d];
|
|
1381
1382
|
if (2 & h && 2048 & h && !(n != null && n.Ka)) throw Error();
|
|
1382
|
-
const f = ke(h),
|
|
1383
|
+
const f = ke(h), _ = (v, I) => {
|
|
1383
1384
|
if (Ot(t, v, f) != null) {
|
|
1384
1385
|
if ((n == null ? void 0 : n.Qa) === 1) return;
|
|
1385
1386
|
throw Error();
|
|
1386
1387
|
}
|
|
1387
|
-
|
|
1388
|
+
I != null && (h = j(t, h, v, I, f)), delete a[v];
|
|
1388
1389
|
};
|
|
1389
|
-
e == null ?
|
|
1390
|
-
|
|
1391
|
-
}) :
|
|
1390
|
+
e == null ? Li(o, 0 | o[d], (v, I) => {
|
|
1391
|
+
_(v, I);
|
|
1392
|
+
}) : _(e, Ot(o, e, f));
|
|
1392
1393
|
}
|
|
1393
1394
|
}
|
|
1394
1395
|
}
|
|
1395
1396
|
}
|
|
1396
1397
|
function y2(t) {
|
|
1397
|
-
const e = (t =
|
|
1398
|
+
const e = (t = ao(t))[0].g;
|
|
1398
1399
|
if (t = t[1]) {
|
|
1399
1400
|
const n = Kr(t), r = re(Mn, Hr, Wr, t).T;
|
|
1400
1401
|
return (s, i, o) => e(s, i, o, r, n);
|
|
@@ -1407,27 +1408,27 @@ function Pn(t, e, n) {
|
|
|
1407
1408
|
function On(t, e, n, r) {
|
|
1408
1409
|
let s, i;
|
|
1409
1410
|
const o = n.h;
|
|
1410
|
-
t[e] = (a, c, u) => o(a, c, u, i || (i = re(Fn, Pn, On, r).T), s || (s =
|
|
1411
|
+
t[e] = (a, c, u) => o(a, c, u, i || (i = re(Fn, Pn, On, r).T), s || (s = ho(r)));
|
|
1411
1412
|
}
|
|
1412
|
-
function
|
|
1413
|
-
let e = t[
|
|
1413
|
+
function ho(t) {
|
|
1414
|
+
let e = t[Ns];
|
|
1414
1415
|
if (!e) {
|
|
1415
1416
|
const n = re(Fn, Pn, On, t);
|
|
1416
|
-
e = (r, s) =>
|
|
1417
|
+
e = (r, s) => uo(r, s, n), t[Ns] = e;
|
|
1417
1418
|
}
|
|
1418
1419
|
return e;
|
|
1419
1420
|
}
|
|
1420
|
-
function
|
|
1421
|
-
|
|
1421
|
+
function uo(t, e, n) {
|
|
1422
|
+
Li(t, 0 | t[d], (r, s) => {
|
|
1422
1423
|
if (s != null) {
|
|
1423
1424
|
var i = function(o, a) {
|
|
1424
1425
|
var c = o[a];
|
|
1425
1426
|
if (c) return c;
|
|
1426
1427
|
if ((c = o.ba) && (c = c[a])) {
|
|
1427
|
-
var u = (c =
|
|
1428
|
+
var u = (c = ao(c))[0].h;
|
|
1428
1429
|
if (c = c[1]) {
|
|
1429
|
-
const h =
|
|
1430
|
-
c = o.ma ?
|
|
1430
|
+
const h = ho(c), f = re(Fn, Pn, On, c).T;
|
|
1431
|
+
c = o.ma ? oo(f, h) : (_, v, I) => u(_, v, I, f, h);
|
|
1431
1432
|
} else c = u;
|
|
1432
1433
|
return o[a] = c;
|
|
1433
1434
|
}
|
|
@@ -1435,11 +1436,11 @@ function lo(t, e, n) {
|
|
|
1435
1436
|
i ? i(e, s, r) : r < 500 || fe(Jn, 3);
|
|
1436
1437
|
}
|
|
1437
1438
|
}), (t = wn(t)) && hn(t, (r, s, i) => {
|
|
1438
|
-
for (
|
|
1439
|
+
for (_e(e, e.g.end()), r = 0; r < i.length; r++) _e(e, yr(i[r]) || new Uint8Array(0));
|
|
1439
1440
|
});
|
|
1440
1441
|
}
|
|
1441
|
-
const
|
|
1442
|
-
function
|
|
1442
|
+
const _2 = rt(0);
|
|
1443
|
+
function Ie(t, e) {
|
|
1443
1444
|
if (Array.isArray(e)) {
|
|
1444
1445
|
var n = 0 | e[d];
|
|
1445
1446
|
if (4 & n) return e;
|
|
@@ -1453,20 +1454,20 @@ function xe(t, e) {
|
|
|
1453
1454
|
function Y(t, e, n) {
|
|
1454
1455
|
return new Oe(t, e, n);
|
|
1455
1456
|
}
|
|
1456
|
-
function
|
|
1457
|
+
function xe(t, e, n) {
|
|
1457
1458
|
return new Oe(t, e, n);
|
|
1458
1459
|
}
|
|
1459
1460
|
function z(t, e, n) {
|
|
1460
1461
|
j(t, 0 | t[d], e, n, ke(0 | t[d]));
|
|
1461
1462
|
}
|
|
1462
|
-
var
|
|
1463
|
+
var v2 = Ln(function(t, e, n, r, s) {
|
|
1463
1464
|
if (t.h !== 2) return !1;
|
|
1464
1465
|
if (t = mt(t = Ze(t, qt([void 0, void 0], r), s)), s = ke(r = 0 | e[d]), 2 & r) throw Error();
|
|
1465
1466
|
let i = Ot(e, n, s);
|
|
1466
1467
|
if (i instanceof Pt) 2 & i.J ? (i = i.V(), i.push(t), j(e, r, n, i, s)) : i.Ma(t);
|
|
1467
1468
|
else if (Array.isArray(i)) {
|
|
1468
1469
|
var o = 0 | i[d];
|
|
1469
|
-
8192 & o || V(i, o |= 8192), 2 & o && (i =
|
|
1470
|
+
8192 & o || V(i, o |= 8192), 2 & o && (i = Gi(i), j(e, r, n, i, s)), i.push(t);
|
|
1470
1471
|
} else j(e, r, n, He([t]), s);
|
|
1471
1472
|
return !0;
|
|
1472
1473
|
}, function(t, e, n, r, s) {
|
|
@@ -1481,19 +1482,19 @@ var w2 = Ln(function(t, e, n, r, s) {
|
|
|
1481
1482
|
He(e);
|
|
1482
1483
|
}
|
|
1483
1484
|
});
|
|
1484
|
-
function
|
|
1485
|
+
function lo(t, e, n) {
|
|
1485
1486
|
(e = At(e)) != null && (pt(t, n, 5), t = t.g, vr(e), Br(t));
|
|
1486
1487
|
}
|
|
1487
|
-
function
|
|
1488
|
+
function fo(t, e, n) {
|
|
1488
1489
|
if (e = function(r) {
|
|
1489
1490
|
if (r == null) return r;
|
|
1490
1491
|
const s = typeof r;
|
|
1491
1492
|
if (s === "bigint") return String(Ye(64, r));
|
|
1492
1493
|
if ($e(r)) {
|
|
1493
|
-
if (s === "string") return
|
|
1494
|
+
if (s === "string") return xi(r);
|
|
1494
1495
|
if (s === "number") return Er(r);
|
|
1495
1496
|
}
|
|
1496
|
-
}(e), e != null && (typeof e == "string" &&
|
|
1497
|
+
}(e), e != null && (typeof e == "string" && xs(e), e != null))
|
|
1497
1498
|
switch (pt(t, n, 0), typeof e) {
|
|
1498
1499
|
case "number":
|
|
1499
1500
|
t = t.g, ge(e), ce(t, P, B);
|
|
@@ -1502,54 +1503,54 @@ function po(t, e, n) {
|
|
|
1502
1503
|
n = BigInt.asUintN(64, e), n = new nr(Number(n & BigInt(4294967295)), Number(n >> BigInt(32))), ce(t.g, n.h, n.g);
|
|
1503
1504
|
break;
|
|
1504
1505
|
default:
|
|
1505
|
-
n =
|
|
1506
|
+
n = xs(e), ce(t.g, n.h, n.g);
|
|
1506
1507
|
}
|
|
1507
1508
|
}
|
|
1508
|
-
function
|
|
1509
|
+
function po(t, e, n) {
|
|
1509
1510
|
(e = Se(e)) != null && e != null && (pt(t, n, 0), kn(t.g, e));
|
|
1510
1511
|
}
|
|
1511
|
-
function
|
|
1512
|
-
(e =
|
|
1512
|
+
function go(t, e, n) {
|
|
1513
|
+
(e = Pi(e)) != null && (pt(t, n, 0), t.g.g.push(e ? 1 : 0));
|
|
1513
1514
|
}
|
|
1514
|
-
function
|
|
1515
|
+
function mo(t, e, n) {
|
|
1515
1516
|
(e = q(e)) != null && Sn(t, n, yi(e));
|
|
1516
1517
|
}
|
|
1517
1518
|
function yo(t, e, n, r, s) {
|
|
1518
|
-
dn(t, n,
|
|
1519
|
+
dn(t, n, co(e, r), s);
|
|
1519
1520
|
}
|
|
1520
|
-
function
|
|
1521
|
+
function _o(t, e, n) {
|
|
1521
1522
|
(e = e == null || typeof e == "string" || e instanceof Et ? e : void 0) != null && Sn(t, n, Nr(e, !0).buffer);
|
|
1522
1523
|
}
|
|
1523
|
-
function
|
|
1524
|
+
function vo(t, e, n) {
|
|
1524
1525
|
return (t.h === 5 || t.h === 2) && (e = Me(e, 0 | e[d], n), t.h == 2 ? En(t, ln, e) : e.push(ln(t.g)), !0);
|
|
1525
1526
|
}
|
|
1526
1527
|
var D = Y(function(t, e, n) {
|
|
1527
1528
|
return t.h === 5 && (z(e, n, ln(t.g)), !0);
|
|
1528
|
-
},
|
|
1529
|
-
if ((e =
|
|
1529
|
+
}, lo, Tn), w2 = xe(vo, function(t, e, n) {
|
|
1530
|
+
if ((e = Ie(At, e)) != null) for (let o = 0; o < e.length; o++) {
|
|
1530
1531
|
var r = t, s = n, i = e[o];
|
|
1531
1532
|
i != null && (pt(r, s, 5), r = r.g, vr(i), Br(r));
|
|
1532
1533
|
}
|
|
1533
|
-
}, Tn), zr =
|
|
1534
|
-
if ((e =
|
|
1534
|
+
}, Tn), zr = xe(vo, function(t, e, n) {
|
|
1535
|
+
if ((e = Ie(At, e)) != null && e.length) {
|
|
1535
1536
|
pt(t, n, 2), Pe(t.g, 4 * e.length);
|
|
1536
1537
|
for (let r = 0; r < e.length; r++) n = t.g, vr(e[r]), Br(n);
|
|
1537
1538
|
}
|
|
1538
|
-
}, Tn),
|
|
1539
|
+
}, Tn), b2 = Y(function(t, e, n) {
|
|
1539
1540
|
return t.h === 5 && (z(e, n, (t = ln(t.g)) === 0 ? void 0 : t), !0);
|
|
1540
|
-
},
|
|
1541
|
-
return pr ? (t.h !== 0 ? t = !1 : (z(e, n,
|
|
1542
|
-
},
|
|
1543
|
-
return pr ? (t.h !== 0 ? e = !1 : (z(e, n, (t =
|
|
1544
|
-
},
|
|
1545
|
-
return pr ? (t.h !== 0 ? t = !1 : (z(e, n,
|
|
1541
|
+
}, lo, Tn), Gt = Y(function(t, e, n) {
|
|
1542
|
+
return pr ? (t.h !== 0 ? t = !1 : (z(e, n, ye(t.g, Mi)), t = !0), t) : t.h === 0 && (z(e, n, ye(t.g, wr)), !0);
|
|
1543
|
+
}, fo, eo), Wn = Y(function(t, e, n) {
|
|
1544
|
+
return pr ? (t.h !== 0 ? e = !1 : (z(e, n, (t = ye(t.g, Mi)) === _2 ? void 0 : t), e = !0), e) : t.h === 0 && (z(e, n, (t = ye(t.g, wr)) === 0 ? void 0 : t), !0);
|
|
1545
|
+
}, fo, eo), A2 = Y(function(t, e, n) {
|
|
1546
|
+
return pr ? (t.h !== 0 ? t = !1 : (z(e, n, ye(t.g, Wa)), t = !0), t) : t.h === 0 && (z(e, n, ye(t.g, Qn)), !0);
|
|
1546
1547
|
}, function(t, e, n) {
|
|
1547
1548
|
if (e = function(r) {
|
|
1548
1549
|
if (r == null) return r;
|
|
1549
1550
|
var s = typeof r;
|
|
1550
|
-
if (s === "bigint") return String(
|
|
1551
|
+
if (s === "bigint") return String(Ka(64, r));
|
|
1551
1552
|
if ($e(r)) {
|
|
1552
|
-
if (s === "string") return s = me(Number(r)), te(s) && s >= 0 ? r = String(s) : ((s = r.indexOf(".")) !== -1 && (r = r.substring(0, s)), (s = r[0] !== "-" && ((s = r.length) < 20 || s === 20 && r <= "18446744073709551615")) || (
|
|
1553
|
+
if (s === "string") return s = me(Number(r)), te(s) && s >= 0 ? r = String(s) : ((s = r.indexOf(".")) !== -1 && (r = r.substring(0, s)), (s = r[0] !== "-" && ((s = r.length) < 20 || s === 20 && r <= "18446744073709551615")) || (_n(r), r = We(P, B))), r;
|
|
1553
1554
|
if (s === "number") return (r = me(r)) >= 0 && te(r) || (ge(r), r = Qn(P, B)), r;
|
|
1554
1555
|
}
|
|
1555
1556
|
}(e), e != null && (typeof e == "string" && Is(e), e != null))
|
|
@@ -1563,34 +1564,34 @@ var D = Y(function(t, e, n) {
|
|
|
1563
1564
|
default:
|
|
1564
1565
|
n = Is(e), ce(t.g, n.h, n.g);
|
|
1565
1566
|
}
|
|
1566
|
-
},
|
|
1567
|
+
}, d2), K = Y(function(t, e, n) {
|
|
1567
1568
|
return t.h === 0 && (z(e, n, jt(t.g)), !0);
|
|
1568
|
-
},
|
|
1569
|
+
}, po, Vr), Qe = xe(function(t, e, n) {
|
|
1569
1570
|
return (t.h === 0 || t.h === 2) && (e = Me(e, 0 | e[d], n), t.h == 2 ? En(t, jt, e) : e.push(jt(t.g)), !0);
|
|
1570
1571
|
}, function(t, e, n) {
|
|
1571
|
-
if ((e =
|
|
1572
|
+
if ((e = Ie(Se, e)) != null && e.length) {
|
|
1572
1573
|
n = Dr(t, n);
|
|
1573
1574
|
for (let r = 0; r < e.length; r++) kn(t.g, e[r]);
|
|
1574
1575
|
Ur(t, n);
|
|
1575
1576
|
}
|
|
1576
1577
|
}, Vr), ae = Y(function(t, e, n) {
|
|
1577
1578
|
return t.h === 0 && (z(e, n, (t = jt(t.g)) === 0 ? void 0 : t), !0);
|
|
1578
|
-
},
|
|
1579
|
+
}, po, Vr), R = Y(function(t, e, n) {
|
|
1579
1580
|
return t.h === 0 && (z(e, n, Cr(t.g)), !0);
|
|
1580
|
-
},
|
|
1581
|
+
}, go, Qi), Jt = Y(function(t, e, n) {
|
|
1581
1582
|
return t.h === 0 && (z(e, n, (t = Cr(t.g)) === !1 ? void 0 : t), !0);
|
|
1582
|
-
},
|
|
1583
|
+
}, go, Qi), X = xe(function(t, e, n) {
|
|
1583
1584
|
return t.h === 2 && (t = Rr(t), Me(e, 0 | e[d], n).push(t), !0);
|
|
1584
1585
|
}, function(t, e, n) {
|
|
1585
|
-
if ((e =
|
|
1586
|
+
if ((e = Ie(q, e)) != null) for (let o = 0; o < e.length; o++) {
|
|
1586
1587
|
var r = t, s = n, i = e[o];
|
|
1587
1588
|
i != null && Sn(r, s, yi(i));
|
|
1588
1589
|
}
|
|
1589
1590
|
}, Gr), Dt = Y(function(t, e, n) {
|
|
1590
1591
|
return t.h === 2 && (z(e, n, (t = Rr(t)) === "" ? void 0 : t), !0);
|
|
1591
|
-
},
|
|
1592
|
+
}, mo, Gr), S = Y(function(t, e, n) {
|
|
1592
1593
|
return t.h === 2 && (z(e, n, Rr(t)), !0);
|
|
1593
|
-
},
|
|
1594
|
+
}, mo, Gr), W = function(t, e, n = jr) {
|
|
1594
1595
|
return new Oe(t, e, n);
|
|
1595
1596
|
}(function(t, e, n, r, s) {
|
|
1596
1597
|
return t.h === 2 && (r = qt(void 0, r), Me(e, 0 | e[d], n).push(r), Ze(t, r, s), !0);
|
|
@@ -1602,54 +1603,54 @@ var D = Y(function(t, e, n) {
|
|
|
1602
1603
|
}), N = Ln(function(t, e, n, r, s, i) {
|
|
1603
1604
|
if (t.h !== 2) return !1;
|
|
1604
1605
|
let o = 0 | e[d];
|
|
1605
|
-
return
|
|
1606
|
-
}, yo),
|
|
1607
|
-
return t.h === 2 && (z(e, n,
|
|
1608
|
-
},
|
|
1606
|
+
return Vi(e, o, i, n, ke(o)), Ze(t, e = Ir(e, r, n), s), !0;
|
|
1607
|
+
}, yo), wo = Y(function(t, e, n) {
|
|
1608
|
+
return t.h === 2 && (z(e, n, Zi(t)), !0);
|
|
1609
|
+
}, _o, no), E2 = xe(function(t, e, n) {
|
|
1609
1610
|
return (t.h === 0 || t.h === 2) && (e = Me(e, 0 | e[d], n), t.h == 2 ? En(t, Nt, e) : e.push(Nt(t.g)), !0);
|
|
1610
1611
|
}, function(t, e, n) {
|
|
1611
|
-
if ((e =
|
|
1612
|
+
if ((e = Ie(Oi, e)) != null) for (let o = 0; o < e.length; o++) {
|
|
1612
1613
|
var r = t, s = n, i = e[o];
|
|
1613
1614
|
i != null && (pt(r, s, 0), Pe(r.g, i));
|
|
1614
1615
|
}
|
|
1615
|
-
},
|
|
1616
|
+
}, to), k2 = Y(function(t, e, n) {
|
|
1616
1617
|
return t.h === 0 && (z(e, n, (t = Nt(t.g)) === 0 ? void 0 : t), !0);
|
|
1617
1618
|
}, function(t, e, n) {
|
|
1618
|
-
(e =
|
|
1619
|
-
},
|
|
1619
|
+
(e = Oi(e)) != null && e != null && (pt(t, n, 0), Pe(t.g, e));
|
|
1620
|
+
}, to), ot = Y(function(t, e, n) {
|
|
1620
1621
|
return t.h === 0 && (z(e, n, jt(t.g)), !0);
|
|
1621
1622
|
}, function(t, e, n) {
|
|
1622
1623
|
(e = Se(e)) != null && (e = parseInt(e, 10), pt(t, n, 0), kn(t.g, e));
|
|
1623
|
-
},
|
|
1624
|
-
class
|
|
1624
|
+
}, ro);
|
|
1625
|
+
class S2 {
|
|
1625
1626
|
constructor(e, n) {
|
|
1626
1627
|
var r = ct;
|
|
1627
|
-
this.g = e, this.h = n, this.m = A, this.j =
|
|
1628
|
+
this.g = e, this.h = n, this.m = A, this.j = y, this.defaultValue = void 0, this.l = r.Oa != null ? Fi : void 0;
|
|
1628
1629
|
}
|
|
1629
1630
|
register() {
|
|
1630
1631
|
gn(this);
|
|
1631
1632
|
}
|
|
1632
1633
|
}
|
|
1633
1634
|
function Lt(t, e) {
|
|
1634
|
-
return new
|
|
1635
|
+
return new S2(t, e);
|
|
1635
1636
|
}
|
|
1636
1637
|
function Vt(t, e) {
|
|
1637
1638
|
return (n, r) => {
|
|
1638
1639
|
{
|
|
1639
1640
|
const i = { ea: !0 };
|
|
1640
|
-
r && Object.assign(i, r), n =
|
|
1641
|
+
r && Object.assign(i, r), n = Yi(n, void 0, void 0, i);
|
|
1641
1642
|
try {
|
|
1642
1643
|
const o = new t(), a = o.v;
|
|
1643
1644
|
Kr(e)(a, n);
|
|
1644
1645
|
var s = o;
|
|
1645
1646
|
} finally {
|
|
1646
|
-
|
|
1647
|
+
$i(n);
|
|
1647
1648
|
}
|
|
1648
1649
|
}
|
|
1649
1650
|
return s;
|
|
1650
1651
|
};
|
|
1651
1652
|
}
|
|
1652
|
-
function
|
|
1653
|
+
function In(t) {
|
|
1653
1654
|
return function() {
|
|
1654
1655
|
const e = new class {
|
|
1655
1656
|
constructor() {
|
|
@@ -1667,7 +1668,7 @@ function xn(t) {
|
|
|
1667
1668
|
}();
|
|
1668
1669
|
}
|
|
1669
1670
|
}();
|
|
1670
|
-
|
|
1671
|
+
uo(this.v, e, re(Fn, Pn, On, t)), _e(e, e.g.end());
|
|
1671
1672
|
const n = new Uint8Array(e.h), r = e.l, s = r.length;
|
|
1672
1673
|
let i = 0;
|
|
1673
1674
|
for (let o = 0; o < s; o++) {
|
|
@@ -1677,12 +1678,12 @@ function xn(t) {
|
|
|
1677
1678
|
return e.l = [n], n;
|
|
1678
1679
|
};
|
|
1679
1680
|
}
|
|
1680
|
-
var
|
|
1681
|
+
var Rs = class extends p {
|
|
1681
1682
|
constructor(t) {
|
|
1682
1683
|
super(t);
|
|
1683
1684
|
}
|
|
1684
|
-
},
|
|
1685
|
-
return t.h === 2 && (z(e, n, (t =
|
|
1685
|
+
}, Bs = [0, Dt, Y(function(t, e, n) {
|
|
1686
|
+
return t.h === 2 && (z(e, n, (t = Zi(t)) === Zt() ? void 0 : t), !0);
|
|
1686
1687
|
}, function(t, e, n) {
|
|
1687
1688
|
if (e != null) {
|
|
1688
1689
|
if (e instanceof p) {
|
|
@@ -1691,17 +1692,17 @@ var Bs = class extends p {
|
|
|
1691
1692
|
}
|
|
1692
1693
|
if (Array.isArray(e)) return void fe(Jn, 3);
|
|
1693
1694
|
}
|
|
1694
|
-
|
|
1695
|
-
},
|
|
1696
|
-
let Kn,
|
|
1697
|
-
function
|
|
1695
|
+
_o(t, e, n);
|
|
1696
|
+
}, no)];
|
|
1697
|
+
let Kn, Ds = globalThis.trustedTypes;
|
|
1698
|
+
function Us(t) {
|
|
1698
1699
|
var e;
|
|
1699
1700
|
return Kn === void 0 && (Kn = function() {
|
|
1700
1701
|
let n = null;
|
|
1701
|
-
if (!
|
|
1702
|
+
if (!Ds) return n;
|
|
1702
1703
|
try {
|
|
1703
1704
|
const r = (s) => s;
|
|
1704
|
-
n =
|
|
1705
|
+
n = Ds.createPolicy("goog#html", { createHTML: r, createScript: r, createScriptURL: r });
|
|
1705
1706
|
} catch {
|
|
1706
1707
|
}
|
|
1707
1708
|
return n;
|
|
@@ -1714,35 +1715,35 @@ function js(t) {
|
|
|
1714
1715
|
}
|
|
1715
1716
|
}(t);
|
|
1716
1717
|
}
|
|
1717
|
-
function
|
|
1718
|
-
if (e.length === 0) return
|
|
1718
|
+
function T2(t, ...e) {
|
|
1719
|
+
if (e.length === 0) return Us(t[0]);
|
|
1719
1720
|
let n = t[0];
|
|
1720
1721
|
for (let r = 0; r < e.length; r++) n += encodeURIComponent(e[r]) + t[r + 1];
|
|
1721
|
-
return
|
|
1722
|
+
return Us(n);
|
|
1722
1723
|
}
|
|
1723
|
-
var
|
|
1724
|
+
var bo = [0, K, ot, R, -1, Qe, ot, -1, R], L2 = class extends p {
|
|
1724
1725
|
constructor(t) {
|
|
1725
1726
|
super(t);
|
|
1726
1727
|
}
|
|
1727
|
-
},
|
|
1728
|
-
return (t.h === 0 || t.h === 2) && (e = Me(e, 0 | e[d], n), t.h == 2 ? En(t,
|
|
1728
|
+
}, Ao = [0, R, S, R, ot, -1, xe(function(t, e, n) {
|
|
1729
|
+
return (t.h === 0 || t.h === 2) && (e = Me(e, 0 | e[d], n), t.h == 2 ? En(t, h2, e) : e.push(jt(t.g)), !0);
|
|
1729
1730
|
}, function(t, e, n) {
|
|
1730
|
-
if ((e =
|
|
1731
|
+
if ((e = Ie(Se, e)) != null && e.length) {
|
|
1731
1732
|
n = Dr(t, n);
|
|
1732
1733
|
for (let r = 0; r < e.length; r++) kn(t.g, e[r]);
|
|
1733
1734
|
Ur(t, n);
|
|
1734
1735
|
}
|
|
1735
|
-
},
|
|
1736
|
+
}, ro), S, -1, [0, R, -1], ot, R, -1], Eo = [0, 3, R, -1, 2, [0, K], [0, ot, R], [0, S, -1], [0]], ko = [0, S, -2], js = class extends p {
|
|
1736
1737
|
constructor(t) {
|
|
1737
1738
|
super(t);
|
|
1738
1739
|
}
|
|
1739
|
-
},
|
|
1740
|
+
}, So = [0], To = [0, K, R, 1, R, -4], ct = class extends p {
|
|
1740
1741
|
constructor(t) {
|
|
1741
1742
|
super(t, 2);
|
|
1742
1743
|
}
|
|
1743
1744
|
}, G = {};
|
|
1744
|
-
G[336783863] = [0, S, R, -1, K, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], N,
|
|
1745
|
-
var
|
|
1745
|
+
G[336783863] = [0, S, R, -1, K, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], N, So, N, Ao, N, ko, N, To, N, bo, N, [0, S, -2], N, [0, S, ot], N, Eo, N, [0, ot, -1, R]], [0, S], R, [0, [1, 3], [2, 4], N, [0, Qe], -1, N, [0, X], -1, W, [0, S, -1]], S];
|
|
1746
|
+
var Gs = [0, Wn, -1, Jt, -3, Wn, Qe, Dt, ae, Wn, -1, Jt, ae, Jt, -2, Dt];
|
|
1746
1747
|
function F(t, e) {
|
|
1747
1748
|
An(t, 3, e);
|
|
1748
1749
|
}
|
|
@@ -1754,11 +1755,11 @@ var Z = class extends p {
|
|
|
1754
1755
|
super(t, 500);
|
|
1755
1756
|
}
|
|
1756
1757
|
o(t) {
|
|
1757
|
-
return
|
|
1758
|
+
return y(this, 0, 7, t);
|
|
1758
1759
|
}
|
|
1759
|
-
}, je = [-1, {}],
|
|
1760
|
+
}, je = [-1, {}], Vs = [0, S, 1, je], Hs = [0, S, X, je];
|
|
1760
1761
|
function gt(t, e) {
|
|
1761
|
-
|
|
1762
|
+
xr(t, 1, Z, e);
|
|
1762
1763
|
}
|
|
1763
1764
|
function O(t, e) {
|
|
1764
1765
|
An(t, 10, e);
|
|
@@ -1771,26 +1772,26 @@ var ht = class extends p {
|
|
|
1771
1772
|
super(t, 500);
|
|
1772
1773
|
}
|
|
1773
1774
|
o(t) {
|
|
1774
|
-
return
|
|
1775
|
+
return y(this, 0, 1001, t);
|
|
1775
1776
|
}
|
|
1776
|
-
},
|
|
1777
|
-
ht.prototype.g =
|
|
1778
|
-
var
|
|
1777
|
+
}, Lo = [-500, W, [-500, Dt, -1, X, -3, [-2, G, R], W, Bs, ae, -1, Vs, Hs, W, [0, Dt, Jt], Dt, Gs, ae, X, 987, X], 4, W, [-500, S, -1, [-1, {}], 998, S], W, [-500, S, X, -1, [-2, {}, R], 997, X, -1], ae, W, [-500, S, X, je, 998, X], X, ae, Vs, Hs, W, [0, Dt, -1, je], X, -2, Gs, Dt, -1, Jt, [0, Jt, k2], 978, je, W, Bs];
|
|
1778
|
+
ht.prototype.g = In(Lo);
|
|
1779
|
+
var F2 = Vt(ht, Lo), M2 = class extends p {
|
|
1779
1780
|
constructor(t) {
|
|
1780
1781
|
super(t);
|
|
1781
1782
|
}
|
|
1782
|
-
},
|
|
1783
|
+
}, Fo = class extends p {
|
|
1783
1784
|
constructor(t) {
|
|
1784
1785
|
super(t);
|
|
1785
1786
|
}
|
|
1786
1787
|
g() {
|
|
1787
|
-
return
|
|
1788
|
+
return It(this, M2, 1);
|
|
1788
1789
|
}
|
|
1789
|
-
},
|
|
1790
|
+
}, Mo = [0, W, [0, K, D, S, -1]], xn = Vt(Fo, Mo), P2 = class extends p {
|
|
1790
1791
|
constructor(t) {
|
|
1791
1792
|
super(t);
|
|
1792
1793
|
}
|
|
1793
|
-
},
|
|
1794
|
+
}, O2 = class extends p {
|
|
1794
1795
|
constructor(t) {
|
|
1795
1796
|
super(t);
|
|
1796
1797
|
}
|
|
@@ -1799,16 +1800,16 @@ var M2 = Vt(ht, Fo), P2 = class extends p {
|
|
|
1799
1800
|
super(t);
|
|
1800
1801
|
}
|
|
1801
1802
|
l() {
|
|
1802
|
-
return A(this,
|
|
1803
|
+
return A(this, P2, 2);
|
|
1803
1804
|
}
|
|
1804
1805
|
g() {
|
|
1805
|
-
return
|
|
1806
|
+
return It(this, O2, 5);
|
|
1806
1807
|
}
|
|
1807
|
-
},
|
|
1808
|
+
}, Po = Vt(class extends p {
|
|
1808
1809
|
constructor(t) {
|
|
1809
1810
|
super(t);
|
|
1810
1811
|
}
|
|
1811
|
-
}, [0, X, Qe, zr, [0, ot, [0, K, -3], [0, D, -3], [0, K, -1, [0, W, [0, K, -2]]], W, [0, D, -1, S, D]], S, -1, Gt, W, [0, K, D], X, Gt]),
|
|
1812
|
+
}, [0, X, Qe, zr, [0, ot, [0, K, -3], [0, D, -3], [0, K, -1, [0, W, [0, K, -2]]], W, [0, D, -1, S, D]], S, -1, Gt, W, [0, K, D], X, Gt]), Oo = class extends p {
|
|
1812
1813
|
constructor(t) {
|
|
1813
1814
|
super(t);
|
|
1814
1815
|
}
|
|
@@ -1828,49 +1829,49 @@ var M2 = Vt(ht, Fo), P2 = class extends p {
|
|
|
1828
1829
|
constructor(t) {
|
|
1829
1830
|
super(t);
|
|
1830
1831
|
}
|
|
1831
|
-
},
|
|
1832
|
+
}, x2 = [0, K, -1, zr, ot], xo = class extends p {
|
|
1832
1833
|
constructor(t) {
|
|
1833
1834
|
super(t);
|
|
1834
1835
|
}
|
|
1835
1836
|
};
|
|
1836
|
-
|
|
1837
|
-
var
|
|
1837
|
+
xo.prototype.g = In([0, D, -4, Gt]);
|
|
1838
|
+
var N2 = class extends p {
|
|
1838
1839
|
constructor(t) {
|
|
1839
1840
|
super(t);
|
|
1840
1841
|
}
|
|
1841
|
-
},
|
|
1842
|
+
}, C2 = Vt(class extends p {
|
|
1842
1843
|
constructor(t) {
|
|
1843
1844
|
super(t);
|
|
1844
1845
|
}
|
|
1845
|
-
}, [0, W, [0, 1, K, S,
|
|
1846
|
+
}, [0, W, [0, 1, K, S, Mo], Gt]), Ws = class extends p {
|
|
1846
1847
|
constructor(t) {
|
|
1847
1848
|
super(t);
|
|
1848
1849
|
}
|
|
1849
|
-
},
|
|
1850
|
+
}, R2 = class extends p {
|
|
1850
1851
|
constructor(t) {
|
|
1851
1852
|
super(t);
|
|
1852
1853
|
}
|
|
1853
1854
|
na() {
|
|
1854
|
-
const t = L(this, 1, void 0, void 0,
|
|
1855
|
+
const t = L(this, 1, void 0, void 0, ji);
|
|
1855
1856
|
return t ?? Zt();
|
|
1856
1857
|
}
|
|
1857
|
-
},
|
|
1858
|
+
}, B2 = class extends p {
|
|
1858
1859
|
constructor(t) {
|
|
1859
1860
|
super(t);
|
|
1860
1861
|
}
|
|
1861
|
-
},
|
|
1862
|
+
}, No = [1, 2], D2 = Vt(class extends p {
|
|
1862
1863
|
constructor(t) {
|
|
1863
1864
|
super(t);
|
|
1864
1865
|
}
|
|
1865
|
-
}, [0, W, [0,
|
|
1866
|
+
}, [0, W, [0, No, N, [0, zr], N, [0, wo], K, S], Gt]), qr = class extends p {
|
|
1866
1867
|
constructor(t) {
|
|
1867
1868
|
super(t);
|
|
1868
1869
|
}
|
|
1869
|
-
},
|
|
1870
|
+
}, Co = [0, S, K, D, X, -1], Ks = class extends p {
|
|
1870
1871
|
constructor(t) {
|
|
1871
1872
|
super(t);
|
|
1872
1873
|
}
|
|
1873
|
-
},
|
|
1874
|
+
}, U2 = [0, R, -1], zs = class extends p {
|
|
1874
1875
|
constructor(t) {
|
|
1875
1876
|
super(t);
|
|
1876
1877
|
}
|
|
@@ -1879,38 +1880,38 @@ var C2 = class extends p {
|
|
|
1879
1880
|
super(t);
|
|
1880
1881
|
}
|
|
1881
1882
|
g() {
|
|
1882
|
-
return L(this, 1, void 0, void 0,
|
|
1883
|
+
return L(this, 1, void 0, void 0, ji) != null;
|
|
1883
1884
|
}
|
|
1884
1885
|
l() {
|
|
1885
1886
|
return q(L(this, 2)) != null;
|
|
1886
1887
|
}
|
|
1887
|
-
},
|
|
1888
|
+
}, x = class extends p {
|
|
1888
1889
|
constructor(t) {
|
|
1889
1890
|
super(t);
|
|
1890
1891
|
}
|
|
1891
1892
|
g() {
|
|
1892
|
-
return
|
|
1893
|
+
return Pi(L(this, 2)) ?? !1;
|
|
1893
1894
|
}
|
|
1894
|
-
},
|
|
1895
|
+
}, Ro = [0, wo, S, [0, K, Gt, -1], [0, A2, Gt]], U = [0, Ro, R, [0, an, N, To, N, Ao, N, bo, N, So, N, ko, N, Eo], ot], Nn = class extends p {
|
|
1895
1896
|
constructor(t) {
|
|
1896
1897
|
super(t);
|
|
1897
1898
|
}
|
|
1898
|
-
}, Xr = [0, U, D, -1, K],
|
|
1899
|
+
}, Xr = [0, U, D, -1, K], j2 = Lt(502141897, Nn);
|
|
1899
1900
|
G[502141897] = Xr;
|
|
1900
|
-
var
|
|
1901
|
+
var G2 = Vt(class extends p {
|
|
1901
1902
|
constructor(t) {
|
|
1902
1903
|
super(t);
|
|
1903
1904
|
}
|
|
1904
|
-
}, [0, [0, ot, -1,
|
|
1905
|
+
}, [0, [0, ot, -1, w2, E2], x2]), Bo = class extends p {
|
|
1905
1906
|
constructor(t) {
|
|
1906
1907
|
super(t);
|
|
1907
1908
|
}
|
|
1908
|
-
},
|
|
1909
|
+
}, Do = class extends p {
|
|
1909
1910
|
constructor(t) {
|
|
1910
1911
|
super(t);
|
|
1911
1912
|
}
|
|
1912
|
-
}, sr = [0, U, D, [0, U], R],
|
|
1913
|
-
G[508968150] = [0, U, Xr, sr, D, [0, [0,
|
|
1913
|
+
}, sr = [0, U, D, [0, U], R], V2 = Lt(508968150, Do);
|
|
1914
|
+
G[508968150] = [0, U, Xr, sr, D, [0, [0, Ro]]], G[508968149] = sr;
|
|
1914
1915
|
var oe = class extends p {
|
|
1915
1916
|
constructor(t) {
|
|
1916
1917
|
super(t);
|
|
@@ -1921,13 +1922,13 @@ var oe = class extends p {
|
|
|
1921
1922
|
g() {
|
|
1922
1923
|
k(this, 2);
|
|
1923
1924
|
}
|
|
1924
|
-
},
|
|
1925
|
-
G[478825465] =
|
|
1926
|
-
var
|
|
1925
|
+
}, Uo = [0, U, Co];
|
|
1926
|
+
G[478825465] = Uo;
|
|
1927
|
+
var H2 = class extends p {
|
|
1927
1928
|
constructor(t) {
|
|
1928
1929
|
super(t);
|
|
1929
1930
|
}
|
|
1930
|
-
},
|
|
1931
|
+
}, jo = class extends p {
|
|
1931
1932
|
constructor(t) {
|
|
1932
1933
|
super(t);
|
|
1933
1934
|
}
|
|
@@ -1939,53 +1940,53 @@ var W2 = class extends p {
|
|
|
1939
1940
|
constructor(t) {
|
|
1940
1941
|
super(t);
|
|
1941
1942
|
}
|
|
1942
|
-
},
|
|
1943
|
+
}, Go = class extends p {
|
|
1943
1944
|
constructor(t) {
|
|
1944
1945
|
super(t);
|
|
1945
1946
|
}
|
|
1946
|
-
},
|
|
1947
|
-
G[479097054] = [0, U,
|
|
1948
|
-
var
|
|
1949
|
-
G[462713202] =
|
|
1950
|
-
var
|
|
1947
|
+
}, qs = [0, U, [0, U], Uo, -1], Vo = [0, U, D, K], Jr = [0, U, D], Ho = [0, U, Vo, Jr, D], W2 = Lt(479097054, Go);
|
|
1948
|
+
G[479097054] = [0, U, Ho, qs], G[463370452] = qs, G[464864288] = Vo;
|
|
1949
|
+
var K2 = Lt(462713202, $r);
|
|
1950
|
+
G[462713202] = Ho, G[474472470] = Jr;
|
|
1951
|
+
var z2 = class extends p {
|
|
1951
1952
|
constructor(t) {
|
|
1952
1953
|
super(t);
|
|
1953
1954
|
}
|
|
1954
|
-
},
|
|
1955
|
+
}, Wo = class extends p {
|
|
1955
1956
|
constructor(t) {
|
|
1956
1957
|
super(t);
|
|
1957
1958
|
}
|
|
1958
|
-
},
|
|
1959
|
+
}, Ko = class extends p {
|
|
1959
1960
|
constructor(t) {
|
|
1960
1961
|
super(t);
|
|
1961
1962
|
}
|
|
1962
|
-
},
|
|
1963
|
+
}, zo = class extends p {
|
|
1963
1964
|
constructor(t) {
|
|
1964
1965
|
super(t);
|
|
1965
1966
|
}
|
|
1966
1967
|
}, Zr = [0, U, D, -1, K], ir = [0, U, D, R];
|
|
1967
|
-
|
|
1968
|
-
var
|
|
1968
|
+
zo.prototype.g = In([0, U, Jr, [0, U], Xr, sr, Zr, ir]);
|
|
1969
|
+
var qo = class extends p {
|
|
1969
1970
|
constructor(t) {
|
|
1970
1971
|
super(t);
|
|
1971
1972
|
}
|
|
1972
|
-
},
|
|
1973
|
-
G[456383383] = [0, U,
|
|
1974
|
-
var
|
|
1973
|
+
}, q2 = Lt(456383383, qo);
|
|
1974
|
+
G[456383383] = [0, U, Co];
|
|
1975
|
+
var Xo = class extends p {
|
|
1975
1976
|
constructor(t) {
|
|
1976
1977
|
super(t);
|
|
1977
1978
|
}
|
|
1978
|
-
},
|
|
1979
|
-
G[476348187] = [0, U,
|
|
1980
|
-
var
|
|
1979
|
+
}, X2 = Lt(476348187, Xo);
|
|
1980
|
+
G[476348187] = [0, U, U2];
|
|
1981
|
+
var Yo = class extends p {
|
|
1981
1982
|
constructor(t) {
|
|
1982
1983
|
super(t);
|
|
1983
1984
|
}
|
|
1984
|
-
},
|
|
1985
|
+
}, Xs = class extends p {
|
|
1985
1986
|
constructor(t) {
|
|
1986
1987
|
super(t);
|
|
1987
1988
|
}
|
|
1988
|
-
},
|
|
1989
|
+
}, $o = [0, ot, -1], Y2 = Lt(458105876, class extends p {
|
|
1989
1990
|
constructor(t) {
|
|
1990
1991
|
super(t);
|
|
1991
1992
|
}
|
|
@@ -1994,76 +1995,76 @@ var $o = class extends p {
|
|
|
1994
1995
|
var e = this.v;
|
|
1995
1996
|
const n = 0 | e[d];
|
|
1996
1997
|
return t = st(this, n), e = function(r, s, i, o) {
|
|
1997
|
-
var a =
|
|
1998
|
+
var a = Xs;
|
|
1998
1999
|
!o && Le(r) && (i = 0 | (s = r.v)[d]);
|
|
1999
2000
|
var c = Ot(s, 2);
|
|
2000
2001
|
if (r = !1, c == null) {
|
|
2001
|
-
if (o) return
|
|
2002
|
+
if (o) return Fs();
|
|
2002
2003
|
c = [];
|
|
2003
2004
|
} else if (c.constructor === Pt) {
|
|
2004
2005
|
if (!(2 & c.J) || o) return c;
|
|
2005
2006
|
c = c.V();
|
|
2006
2007
|
} else Array.isArray(c) ? r = !!(2 & (0 | c[d])) : c = [];
|
|
2007
2008
|
if (o) {
|
|
2008
|
-
if (!c.length) return
|
|
2009
|
+
if (!c.length) return Fs();
|
|
2009
2010
|
r || (r = !0, Xe(c));
|
|
2010
|
-
} else r && (r = !1, He(c), c =
|
|
2011
|
-
return !r && 32 & i && qe(c, 32), i = j(s, i, 2, o = new Pt(c, a,
|
|
2012
|
-
}(this, e, n, t), !t &&
|
|
2011
|
+
} else r && (r = !1, He(c), c = Gi(c));
|
|
2012
|
+
return !r && 32 & i && qe(c, 32), i = j(s, i, 2, o = new Pt(c, a, Ya, void 0)), r || ne(s, i), o;
|
|
2013
|
+
}(this, e, n, t), !t && Xs && (e.ra = !0), e;
|
|
2013
2014
|
}
|
|
2014
2015
|
});
|
|
2015
|
-
G[458105876] = [0,
|
|
2016
|
+
G[458105876] = [0, $o, v2, [!0, Gt, [0, S, -1, X]], [0, Qe, R, ot]];
|
|
2016
2017
|
var Qr = class extends p {
|
|
2017
2018
|
constructor(t) {
|
|
2018
2019
|
super(t);
|
|
2019
2020
|
}
|
|
2020
|
-
},
|
|
2021
|
-
G[458105758] = [0, U, S,
|
|
2021
|
+
}, Jo = Lt(458105758, Qr);
|
|
2022
|
+
G[458105758] = [0, U, S, $o];
|
|
2022
2023
|
var qn = class extends p {
|
|
2023
2024
|
constructor(t) {
|
|
2024
2025
|
super(t);
|
|
2025
2026
|
}
|
|
2026
|
-
},
|
|
2027
|
+
}, Ys = [0, b2, -1, Jt], $2 = class extends p {
|
|
2027
2028
|
constructor(t) {
|
|
2028
2029
|
super(t);
|
|
2029
2030
|
}
|
|
2030
|
-
},
|
|
2031
|
+
}, Zo = class extends p {
|
|
2031
2032
|
constructor(t) {
|
|
2032
2033
|
super(t);
|
|
2033
2034
|
}
|
|
2034
2035
|
}, or = [1, 2];
|
|
2035
|
-
|
|
2036
|
-
var
|
|
2036
|
+
Zo.prototype.g = In([0, or, N, Ys, N, [0, W, Ys]]);
|
|
2037
|
+
var Qo = class extends p {
|
|
2037
2038
|
constructor(t) {
|
|
2038
2039
|
super(t);
|
|
2039
2040
|
}
|
|
2040
|
-
},
|
|
2041
|
+
}, J2 = Lt(443442058, Qo);
|
|
2041
2042
|
G[443442058] = [0, U, S, K, D, X, -1, R, D], G[514774813] = Zr;
|
|
2042
|
-
var
|
|
2043
|
+
var ta = class extends p {
|
|
2043
2044
|
constructor(t) {
|
|
2044
2045
|
super(t);
|
|
2045
2046
|
}
|
|
2046
|
-
},
|
|
2047
|
+
}, Z2 = Lt(516587230, ta);
|
|
2047
2048
|
function ar(t, e) {
|
|
2048
|
-
return e = e ? e.clone() : new qr(), t.displayNamesLocale !== void 0 ? k(e, 1, Je(t.displayNamesLocale)) : t.displayNamesLocale === void 0 && k(e, 1), t.maxResults !== void 0 ?
|
|
2049
|
+
return e = e ? e.clone() : new qr(), t.displayNamesLocale !== void 0 ? k(e, 1, Je(t.displayNamesLocale)) : t.displayNamesLocale === void 0 && k(e, 1), t.maxResults !== void 0 ? xt(e, 2, t.maxResults) : "maxResults" in t && k(e, 2), t.scoreThreshold !== void 0 ? m(e, 3, t.scoreThreshold) : "scoreThreshold" in t && k(e, 3), t.categoryAllowlist !== void 0 ? un(e, 4, t.categoryAllowlist) : "categoryAllowlist" in t && k(e, 4), t.categoryDenylist !== void 0 ? un(e, 5, t.categoryDenylist) : "categoryDenylist" in t && k(e, 5), e;
|
|
2049
2050
|
}
|
|
2050
|
-
function
|
|
2051
|
+
function ea(t) {
|
|
2051
2052
|
const e = Number(t);
|
|
2052
2053
|
return Number.isSafeInteger(e) ? e : String(t);
|
|
2053
2054
|
}
|
|
2054
2055
|
function ts(t, e = -1, n = "") {
|
|
2055
2056
|
return { categories: t.map((r) => ({ index: dt(r, 1) ?? 0 ?? -1, score: C(r, 2) ?? 0, categoryName: q(L(r, 3)) ?? "" ?? "", displayName: q(L(r, 4)) ?? "" ?? "" })), headIndex: e, headName: n };
|
|
2056
2057
|
}
|
|
2057
|
-
function
|
|
2058
|
-
const e = { classifications:
|
|
2058
|
+
function Q2(t) {
|
|
2059
|
+
const e = { classifications: It(t, N2, 1).map((n) => {
|
|
2059
2060
|
var r;
|
|
2060
|
-
return ts(((r = A(n,
|
|
2061
|
+
return ts(((r = A(n, Fo, 4)) == null ? void 0 : r.g()) ?? [], dt(n, 2) ?? 0, q(L(n, 3)) ?? "");
|
|
2061
2062
|
}) };
|
|
2062
2063
|
return function(n) {
|
|
2063
|
-
return
|
|
2064
|
-
}(t) != null && (e.timestampMs =
|
|
2064
|
+
return Xa(gr ? L(n, 2, void 0, void 0, cn) : L(n, 2));
|
|
2065
|
+
}(t) != null && (e.timestampMs = ea(zi(t))), e;
|
|
2065
2066
|
}
|
|
2066
|
-
function
|
|
2067
|
+
function na(t) {
|
|
2067
2068
|
var o, a;
|
|
2068
2069
|
var e = zt(t, 3, At, Kt()), n = zt(t, 2, Se, Kt()), r = zt(t, 1, q, Kt()), s = zt(t, 9, q, Kt());
|
|
2069
2070
|
const i = { categories: [], keypoints: [] };
|
|
@@ -2073,18 +2074,18 @@ function ra(t) {
|
|
|
2073
2074
|
}
|
|
2074
2075
|
function Cn(t) {
|
|
2075
2076
|
const e = [];
|
|
2076
|
-
for (const n of
|
|
2077
|
+
for (const n of It(t, Io, 1)) e.push({ x: C(n, 1) ?? 0, y: C(n, 2) ?? 0, z: C(n, 3) ?? 0, visibility: C(n, 4) ?? 0 });
|
|
2077
2078
|
return e;
|
|
2078
2079
|
}
|
|
2079
2080
|
function Ge(t) {
|
|
2080
2081
|
const e = [];
|
|
2081
|
-
for (const n of
|
|
2082
|
+
for (const n of It(t, Oo, 1)) e.push({ x: C(n, 1) ?? 0, y: C(n, 2) ?? 0, z: C(n, 3) ?? 0, visibility: C(n, 4) ?? 0 });
|
|
2082
2083
|
return e;
|
|
2083
2084
|
}
|
|
2084
|
-
function
|
|
2085
|
+
function $s(t) {
|
|
2085
2086
|
return Array.from(t, (e) => e > 127 ? e - 256 : e);
|
|
2086
2087
|
}
|
|
2087
|
-
function
|
|
2088
|
+
function Js(t, e) {
|
|
2088
2089
|
if (t.length !== e.length) throw Error(`Cannot compute cosine similarity between embeddings of different sizes (${t.length} vs. ${e.length}).`);
|
|
2089
2090
|
let n = 0, r = 0, s = 0;
|
|
2090
2091
|
for (let i = 0; i < t.length; i++) n += t[i] * e[i], r += t[i] * t[i], s += e[i] * e[i];
|
|
@@ -2093,28 +2094,28 @@ function Zs(t, e) {
|
|
|
2093
2094
|
}
|
|
2094
2095
|
let nn;
|
|
2095
2096
|
G[516587230] = [0, U, Zr, ir, D], G[518928384] = ir;
|
|
2096
|
-
const
|
|
2097
|
-
async function
|
|
2097
|
+
const t1 = 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]);
|
|
2098
|
+
async function ra() {
|
|
2098
2099
|
if (nn === void 0) try {
|
|
2099
|
-
await WebAssembly.instantiate(
|
|
2100
|
+
await WebAssembly.instantiate(t1), nn = !0;
|
|
2100
2101
|
} catch {
|
|
2101
2102
|
nn = !1;
|
|
2102
2103
|
}
|
|
2103
2104
|
return nn;
|
|
2104
2105
|
}
|
|
2105
|
-
async function Re(t, e =
|
|
2106
|
-
const n = await
|
|
2106
|
+
async function Re(t, e = T2``) {
|
|
2107
|
+
const n = await ra() ? "wasm_internal" : "wasm_nosimd_internal";
|
|
2107
2108
|
return { wasmLoaderPath: `${e}/${t}_${n}.js`, wasmBinaryPath: `${e}/${t}_${n}.wasm` };
|
|
2108
2109
|
}
|
|
2109
2110
|
var Wt = class {
|
|
2110
2111
|
};
|
|
2111
|
-
function
|
|
2112
|
+
function sa() {
|
|
2112
2113
|
var t = navigator;
|
|
2113
2114
|
return typeof OffscreenCanvas < "u" && (!function(e = navigator) {
|
|
2114
2115
|
return (e = e.userAgent).includes("Safari") && !e.includes("Chrome");
|
|
2115
2116
|
}(t) || !!((t = t.userAgent.match(/Version\/([\d]+).*Safari/)) && t.length >= 1 && Number(t[1]) >= 17));
|
|
2116
2117
|
}
|
|
2117
|
-
async function
|
|
2118
|
+
async function Zs(t) {
|
|
2118
2119
|
if (typeof importScripts != "function") {
|
|
2119
2120
|
const e = document.createElement("script");
|
|
2120
2121
|
return e.src = t.toString(), e.crossOrigin = "anonymous", new Promise((n, r) => {
|
|
@@ -2132,20 +2133,20 @@ async function Qs(t) {
|
|
|
2132
2133
|
await self.import(t.toString());
|
|
2133
2134
|
}
|
|
2134
2135
|
}
|
|
2135
|
-
function
|
|
2136
|
+
function ia(t) {
|
|
2136
2137
|
return t.videoWidth !== void 0 ? [t.videoWidth, t.videoHeight] : t.naturalWidth !== void 0 ? [t.naturalWidth, t.naturalHeight] : t.displayWidth !== void 0 ? [t.displayWidth, t.displayHeight] : [t.width, t.height];
|
|
2137
2138
|
}
|
|
2138
2139
|
function g(t, e, n) {
|
|
2139
2140
|
t.m || console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target"), n(e = t.i.stringToNewUTF8(e)), t.i._free(e);
|
|
2140
2141
|
}
|
|
2141
|
-
function
|
|
2142
|
+
function Qs(t, e, n) {
|
|
2142
2143
|
if (!t.i.canvas) throw Error("No OpenGL canvas configured.");
|
|
2143
2144
|
if (n ? t.i._bindTextureToStream(n) : t.i._bindTextureToCanvas(), !(n = t.i.canvas.getContext("webgl2") || t.i.canvas.getContext("webgl"))) throw Error("Failed to obtain WebGL context from the provided canvas. `getContext()` should only be invoked with `webgl` or `webgl2`.");
|
|
2144
2145
|
t.i.gpuOriginForWebTexturesIsBottomLeft && n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL, !0), n.texImage2D(n.TEXTURE_2D, 0, n.RGBA, n.RGBA, n.UNSIGNED_BYTE, e), t.i.gpuOriginForWebTexturesIsBottomLeft && n.pixelStorei(n.UNPACK_FLIP_Y_WEBGL, !1);
|
|
2145
|
-
const [r, s] =
|
|
2146
|
+
const [r, s] = ia(e);
|
|
2146
2147
|
return !t.l || r === t.i.canvas.width && s === t.i.canvas.height || (t.i.canvas.width = r, t.i.canvas.height = s), [r, s];
|
|
2147
2148
|
}
|
|
2148
|
-
function
|
|
2149
|
+
function ti(t, e, n) {
|
|
2149
2150
|
t.m || console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target");
|
|
2150
2151
|
const r = new Uint32Array(e.length);
|
|
2151
2152
|
for (let s = 0; s < e.length; s++) r[s] = t.i.stringToNewUTF8(e[s]);
|
|
@@ -2173,19 +2174,19 @@ Wt.forVisionTasks = function(t) {
|
|
|
2173
2174
|
}, Wt.forAudioTasks = function(t) {
|
|
2174
2175
|
return Re("audio", t);
|
|
2175
2176
|
}, Wt.isSimdSupported = function() {
|
|
2176
|
-
return
|
|
2177
|
+
return ra();
|
|
2177
2178
|
};
|
|
2178
|
-
async function
|
|
2179
|
+
async function e1(t, e, n, r) {
|
|
2179
2180
|
return t = await (async (s, i, o, a, c) => {
|
|
2180
|
-
if (i && await
|
|
2181
|
+
if (i && await Zs(i), !self.ModuleFactory || o && (await Zs(o), !self.ModuleFactory)) throw Error("ModuleFactory not set.");
|
|
2181
2182
|
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);
|
|
2182
2183
|
})(t, n.wasmLoaderPath, n.assetLoaderPath, e, { locateFile: (s) => s.endsWith(".wasm") ? n.wasmBinaryPath.toString() : n.assetBinaryPath && s.endsWith(".data") ? n.assetBinaryPath.toString() : s }), await t.o(r), t;
|
|
2183
2184
|
}
|
|
2184
2185
|
function Xn(t, e) {
|
|
2185
2186
|
const n = A(t.baseOptions, pn, 1) || new pn();
|
|
2186
|
-
typeof e == "string" ? (k(n, 2, Je(e)), k(n, 1)) : e instanceof Uint8Array && (k(n, 1,
|
|
2187
|
+
typeof e == "string" ? (k(n, 2, Je(e)), k(n, 1)) : e instanceof Uint8Array && (k(n, 1, _r(e, !1)), k(n, 2)), y(t.baseOptions, 0, 1, n);
|
|
2187
2188
|
}
|
|
2188
|
-
function
|
|
2189
|
+
function ei(t) {
|
|
2189
2190
|
try {
|
|
2190
2191
|
const e = t.H.length;
|
|
2191
2192
|
if (e === 1) throw Error(t.H[0].message);
|
|
@@ -2217,12 +2218,12 @@ var cr = class {
|
|
|
2217
2218
|
if ((n = t.baseOptions) != null && n.modelAssetBuffer && ((r = t.baseOptions) != null && r.modelAssetPath)) throw Error("Cannot set both baseOptions.modelAssetPath and baseOptions.modelAssetBuffer");
|
|
2218
2219
|
if (!((s = A(this.baseOptions, pn, 1)) != null && s.g() || (i = A(this.baseOptions, pn, 1)) != null && i.l() || (o = t.baseOptions) != null && o.modelAssetBuffer || (a = t.baseOptions) != null && a.modelAssetPath)) throw Error("Either baseOptions.modelAssetPath or baseOptions.modelAssetBuffer must be set");
|
|
2219
2220
|
if (function(u, h) {
|
|
2220
|
-
let f = A(u.baseOptions,
|
|
2221
|
+
let f = A(u.baseOptions, zs, 3);
|
|
2221
2222
|
if (!f) {
|
|
2222
|
-
var
|
|
2223
|
-
Ue(
|
|
2223
|
+
var _ = f = new zs(), v = new js();
|
|
2224
|
+
Ue(_, 4, an, v);
|
|
2224
2225
|
}
|
|
2225
|
-
"delegate" in h && (h.delegate === "GPU" ? (h = f,
|
|
2226
|
+
"delegate" in h && (h.delegate === "GPU" ? (h = f, _ = new L2(), Ue(h, 2, an, _)) : (h = f, _ = new js(), Ue(h, 4, an, _))), y(u.baseOptions, 0, 3, f);
|
|
2226
2227
|
}(this, c), c.modelAssetPath) return fetch(c.modelAssetPath.toString()).then((u) => {
|
|
2227
2228
|
if (u.ok) return u.arrayBuffer();
|
|
2228
2229
|
throw Error(`Failed to fetch model: ${c.modelAssetPath} (${u.status})`);
|
|
@@ -2237,14 +2238,14 @@ var cr = class {
|
|
|
2237
2238
|
else if (c.modelAssetBuffer) return async function(u) {
|
|
2238
2239
|
const h = [];
|
|
2239
2240
|
for (var f = 0; ; ) {
|
|
2240
|
-
const { done:
|
|
2241
|
-
if (
|
|
2241
|
+
const { done: _, value: v } = await u.read();
|
|
2242
|
+
if (_) break;
|
|
2242
2243
|
h.push(v), f += v.length;
|
|
2243
2244
|
}
|
|
2244
2245
|
if (h.length === 0) return new Uint8Array(0);
|
|
2245
2246
|
if (h.length === 1) return h[0];
|
|
2246
2247
|
u = new Uint8Array(f), f = 0;
|
|
2247
|
-
for (const
|
|
2248
|
+
for (const _ of h) u.set(_, f), f += _.length;
|
|
2248
2249
|
return u;
|
|
2249
2250
|
}(c.modelAssetBuffer).then((u) => {
|
|
2250
2251
|
Xn(this, u), this.m(), this.L();
|
|
@@ -2257,17 +2258,17 @@ var cr = class {
|
|
|
2257
2258
|
ca() {
|
|
2258
2259
|
let t;
|
|
2259
2260
|
if (this.g.ca((e) => {
|
|
2260
|
-
t =
|
|
2261
|
+
t = F2(e);
|
|
2261
2262
|
}), !t) throw Error("Failed to retrieve CalculatorGraphConfig");
|
|
2262
2263
|
return t;
|
|
2263
2264
|
}
|
|
2264
2265
|
setGraph(t, e) {
|
|
2265
2266
|
this.g.attachErrorListener((n, r) => {
|
|
2266
2267
|
this.H.push(Error(r));
|
|
2267
|
-
}), this.g.Ja(), this.g.setGraph(t, e), this.B = void 0,
|
|
2268
|
+
}), this.g.Ja(), this.g.setGraph(t, e), this.B = void 0, ei(this);
|
|
2268
2269
|
}
|
|
2269
2270
|
finishProcessing() {
|
|
2270
|
-
this.g.finishProcessing(),
|
|
2271
|
+
this.g.finishProcessing(), ei(this);
|
|
2271
2272
|
}
|
|
2272
2273
|
close() {
|
|
2273
2274
|
this.B = void 0, this.g.closeGraph();
|
|
@@ -2278,7 +2279,7 @@ function Ut(t, e) {
|
|
|
2278
2279
|
return t;
|
|
2279
2280
|
}
|
|
2280
2281
|
cr.prototype.close = cr.prototype.close;
|
|
2281
|
-
class
|
|
2282
|
+
class n1 {
|
|
2282
2283
|
constructor(e, n, r, s) {
|
|
2283
2284
|
this.g = e, this.h = n, this.m = r, this.l = s;
|
|
2284
2285
|
}
|
|
@@ -2289,38 +2290,38 @@ class r1 {
|
|
|
2289
2290
|
this.g.deleteVertexArray(this.h), this.g.deleteBuffer(this.m), this.g.deleteBuffer(this.l);
|
|
2290
2291
|
}
|
|
2291
2292
|
}
|
|
2292
|
-
function
|
|
2293
|
+
function ni(t, e, n) {
|
|
2293
2294
|
const r = t.g;
|
|
2294
2295
|
if (n = Ut(r.createShader(n), "Failed to create WebGL shader"), r.shaderSource(n, e), r.compileShader(n), !r.getShaderParameter(n, r.COMPILE_STATUS)) throw Error(`Could not compile WebGL shader: ${r.getShaderInfoLog(n)}`);
|
|
2295
2296
|
return r.attachShader(t.h, n), n;
|
|
2296
2297
|
}
|
|
2297
|
-
function
|
|
2298
|
+
function ri(t, e) {
|
|
2298
2299
|
const n = t.g, r = Ut(n.createVertexArray(), "Failed to create vertex array");
|
|
2299
2300
|
n.bindVertexArray(r);
|
|
2300
2301
|
const s = Ut(n.createBuffer(), "Failed to create buffer");
|
|
2301
2302
|
n.bindBuffer(n.ARRAY_BUFFER, s), n.enableVertexAttribArray(t.O), n.vertexAttribPointer(t.O, 2, n.FLOAT, !1, 0, 0), n.bufferData(n.ARRAY_BUFFER, new Float32Array([-1, -1, -1, 1, 1, 1, 1, -1]), n.STATIC_DRAW);
|
|
2302
2303
|
const i = Ut(n.createBuffer(), "Failed to create buffer");
|
|
2303
|
-
return n.bindBuffer(n.ARRAY_BUFFER, i), n.enableVertexAttribArray(t.L), n.vertexAttribPointer(t.L, 2, n.FLOAT, !1, 0, 0), n.bufferData(n.ARRAY_BUFFER, new Float32Array(e ? [0, 1, 0, 0, 1, 0, 1, 1] : [0, 0, 0, 1, 1, 1, 1, 0]), n.STATIC_DRAW), n.bindBuffer(n.ARRAY_BUFFER, null), n.bindVertexArray(null), new
|
|
2304
|
+
return n.bindBuffer(n.ARRAY_BUFFER, i), n.enableVertexAttribArray(t.L), n.vertexAttribPointer(t.L, 2, n.FLOAT, !1, 0, 0), n.bufferData(n.ARRAY_BUFFER, new Float32Array(e ? [0, 1, 0, 0, 1, 0, 1, 1] : [0, 0, 0, 1, 1, 1, 1, 0]), n.STATIC_DRAW), n.bindBuffer(n.ARRAY_BUFFER, null), n.bindVertexArray(null), new n1(n, r, s, i);
|
|
2304
2305
|
}
|
|
2305
2306
|
function es(t, e) {
|
|
2306
2307
|
if (t.g) {
|
|
2307
2308
|
if (e !== t.g) throw Error("Cannot change GL context once initialized");
|
|
2308
2309
|
} else t.g = e;
|
|
2309
2310
|
}
|
|
2310
|
-
function
|
|
2311
|
-
return es(t, e), t.h || (t.m(), t.D()), n ? (t.u || (t.u =
|
|
2311
|
+
function r1(t, e, n, r) {
|
|
2312
|
+
return es(t, e), t.h || (t.m(), t.D()), n ? (t.u || (t.u = ri(t, !0)), n = t.u) : (t.A || (t.A = ri(t, !1)), n = t.A), e.useProgram(t.h), n.bind(), t.l(), t = r(), n.g.bindVertexArray(null), t;
|
|
2312
2313
|
}
|
|
2313
|
-
function
|
|
2314
|
+
function oa(t, e, n) {
|
|
2314
2315
|
return es(t, e), t = Ut(e.createTexture(), "Failed to create texture"), e.bindTexture(e.TEXTURE_2D, t), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_WRAP_S, e.CLAMP_TO_EDGE), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_WRAP_T, e.CLAMP_TO_EDGE), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_MIN_FILTER, n ?? e.LINEAR), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_MAG_FILTER, n ?? e.LINEAR), e.bindTexture(e.TEXTURE_2D, null), t;
|
|
2315
2316
|
}
|
|
2316
|
-
function
|
|
2317
|
+
function aa(t, e, n) {
|
|
2317
2318
|
es(t, e), t.B || (t.B = Ut(e.createFramebuffer(), "Failed to create framebuffe.")), e.bindFramebuffer(e.FRAMEBUFFER, t.B), e.framebufferTexture2D(e.FRAMEBUFFER, e.COLOR_ATTACHMENT0, e.TEXTURE_2D, n, 0);
|
|
2318
2319
|
}
|
|
2319
|
-
function
|
|
2320
|
+
function s1(t) {
|
|
2320
2321
|
var e;
|
|
2321
2322
|
(e = t.g) == null || e.bindFramebuffer(t.g.FRAMEBUFFER, null);
|
|
2322
2323
|
}
|
|
2323
|
-
var
|
|
2324
|
+
var ca = class {
|
|
2324
2325
|
H() {
|
|
2325
2326
|
return `
|
|
2326
2327
|
precision mediump float;
|
|
@@ -2333,14 +2334,14 @@ var ha = class {
|
|
|
2333
2334
|
}
|
|
2334
2335
|
m() {
|
|
2335
2336
|
const t = this.g;
|
|
2336
|
-
if (this.h = Ut(t.createProgram(), "Failed to create WebGL program"), this.X =
|
|
2337
|
+
if (this.h = Ut(t.createProgram(), "Failed to create WebGL program"), this.X = ni(this, `
|
|
2337
2338
|
attribute vec2 aVertex;
|
|
2338
2339
|
attribute vec2 aTex;
|
|
2339
2340
|
varying vec2 vTex;
|
|
2340
2341
|
void main(void) {
|
|
2341
2342
|
gl_Position = vec4(aVertex, 0.0, 1.0);
|
|
2342
2343
|
vTex = aTex;
|
|
2343
|
-
}`, t.VERTEX_SHADER), this.W =
|
|
2344
|
+
}`, t.VERTEX_SHADER), this.W = ni(this, this.H(), t.FRAGMENT_SHADER), t.linkProgram(this.h), !t.getProgramParameter(this.h, t.LINK_STATUS)) throw Error(`Error during program linking: ${t.getProgramInfoLog(this.h)}`);
|
|
2344
2345
|
this.O = t.getAttribLocation(this.h, "aVertex"), this.L = t.getAttribLocation(this.h, "aTex");
|
|
2345
2346
|
}
|
|
2346
2347
|
D() {
|
|
@@ -2375,7 +2376,7 @@ function hr(t) {
|
|
|
2375
2376
|
e = new Float32Array(t.width * t.height);
|
|
2376
2377
|
const r = we(t);
|
|
2377
2378
|
var n = ns(t);
|
|
2378
|
-
if (
|
|
2379
|
+
if (aa(n, r, ha(t)), "iPad Simulator;iPhone Simulator;iPod Simulator;iPad;iPhone;iPod".split(";").includes(navigator.platform) || navigator.userAgent.includes("Mac") && "document" in self && "ontouchend" in self.document) {
|
|
2379
2380
|
n = new Float32Array(t.width * t.height * 4), r.readPixels(0, 0, t.width, t.height, r.RGBA, r.FLOAT, n);
|
|
2380
2381
|
for (let s = 0, i = 0; s < e.length; ++s, i += 4) e[s] = n[i];
|
|
2381
2382
|
} else r.readPixels(0, 0, t.width, t.height, r.RED, r.FLOAT, e);
|
|
@@ -2384,12 +2385,12 @@ function hr(t) {
|
|
|
2384
2385
|
}
|
|
2385
2386
|
return e;
|
|
2386
2387
|
}
|
|
2387
|
-
function
|
|
2388
|
+
function ha(t) {
|
|
2388
2389
|
let e = Mt(t, 2);
|
|
2389
2390
|
if (!e) {
|
|
2390
2391
|
const n = we(t);
|
|
2391
|
-
e =
|
|
2392
|
-
const r = hr(t), s =
|
|
2392
|
+
e = la(t);
|
|
2393
|
+
const r = hr(t), s = ua(t);
|
|
2393
2394
|
n.texImage2D(n.TEXTURE_2D, 0, s, t.width, t.height, 0, n.RED, n.FLOAT, r), ur(t);
|
|
2394
2395
|
}
|
|
2395
2396
|
return e;
|
|
@@ -2398,7 +2399,7 @@ function we(t) {
|
|
|
2398
2399
|
if (!t.canvas) throw Error("Conversion to different image formats require that a canvas is passed when initializing the image.");
|
|
2399
2400
|
return t.h || (t.h = Ut(t.canvas.getContext("webgl2"), "You cannot use a canvas that is already bound to a different type of rendering context.")), t.h;
|
|
2400
2401
|
}
|
|
2401
|
-
function
|
|
2402
|
+
function ua(t) {
|
|
2402
2403
|
if (t = we(t), !rn) if (t.getExtension("EXT_color_buffer_float") && t.getExtension("OES_texture_float_linear") && t.getExtension("EXT_float_blend")) rn = t.R32F;
|
|
2403
2404
|
else {
|
|
2404
2405
|
if (!t.getExtension("EXT_color_buffer_half_float")) throw Error("GPU does not fully support 4-channel float32 or float16 formats");
|
|
@@ -2407,20 +2408,20 @@ function la(t) {
|
|
|
2407
2408
|
return rn;
|
|
2408
2409
|
}
|
|
2409
2410
|
function ns(t) {
|
|
2410
|
-
return t.l || (t.l = new
|
|
2411
|
+
return t.l || (t.l = new ca()), t.l;
|
|
2411
2412
|
}
|
|
2412
|
-
function
|
|
2413
|
+
function la(t) {
|
|
2413
2414
|
const e = we(t);
|
|
2414
2415
|
e.viewport(0, 0, t.width, t.height), e.activeTexture(e.TEXTURE0);
|
|
2415
2416
|
let n = Mt(t, 2);
|
|
2416
|
-
return n || (n =
|
|
2417
|
+
return n || (n = oa(ns(t), e, t.m ? e.LINEAR : e.NEAREST), t.g.push(n), t.j = !0), e.bindTexture(e.TEXTURE_2D, n), n;
|
|
2417
2418
|
}
|
|
2418
2419
|
function ur(t) {
|
|
2419
2420
|
t.h.bindTexture(t.h.TEXTURE_2D, null);
|
|
2420
2421
|
}
|
|
2421
2422
|
var rn, H = class {
|
|
2422
2423
|
constructor(t, e, n, r, s, i, o) {
|
|
2423
|
-
this.g = t, this.m = e, this.j = n, this.canvas = r, this.l = s, this.width = i, this.height = o, this.j && --
|
|
2424
|
+
this.g = t, this.m = e, this.j = n, this.canvas = r, this.l = s, this.width = i, this.height = o, this.j && --si === 0 && console.error("You seem to be creating MPMask instances without invoking .close(). This leaks resources.");
|
|
2424
2425
|
}
|
|
2425
2426
|
Fa() {
|
|
2426
2427
|
return !!Mt(this, 0);
|
|
@@ -2439,7 +2440,7 @@ var rn, H = class {
|
|
|
2439
2440
|
return hr(this);
|
|
2440
2441
|
}
|
|
2441
2442
|
N() {
|
|
2442
|
-
return
|
|
2443
|
+
return ha(this);
|
|
2443
2444
|
}
|
|
2444
2445
|
clone() {
|
|
2445
2446
|
const t = [];
|
|
@@ -2451,11 +2452,11 @@ var rn, H = class {
|
|
|
2451
2452
|
if (!(e instanceof WebGLTexture)) throw Error(`Type is not supported: ${e}`);
|
|
2452
2453
|
{
|
|
2453
2454
|
const r = we(this), s = ns(this);
|
|
2454
|
-
r.activeTexture(r.TEXTURE1), n =
|
|
2455
|
-
const i =
|
|
2456
|
-
r.texImage2D(r.TEXTURE_2D, 0, i, this.width, this.height, 0, r.RED, r.FLOAT, null), r.bindTexture(r.TEXTURE_2D, null),
|
|
2457
|
-
|
|
2458
|
-
}),
|
|
2455
|
+
r.activeTexture(r.TEXTURE1), n = oa(s, r, this.m ? r.LINEAR : r.NEAREST), r.bindTexture(r.TEXTURE_2D, n);
|
|
2456
|
+
const i = ua(this);
|
|
2457
|
+
r.texImage2D(r.TEXTURE_2D, 0, i, this.width, this.height, 0, r.RED, r.FLOAT, null), r.bindTexture(r.TEXTURE_2D, null), aa(s, r, n), r1(s, r, !1, () => {
|
|
2458
|
+
la(this), r.clearColor(0, 0, 0, 0), r.clear(r.COLOR_BUFFER_BIT), r.drawArrays(r.TRIANGLE_FAN, 0, 4), ur(this);
|
|
2459
|
+
}), s1(s), ur(this);
|
|
2459
2460
|
}
|
|
2460
2461
|
}
|
|
2461
2462
|
t.push(n);
|
|
@@ -2463,23 +2464,23 @@ var rn, H = class {
|
|
|
2463
2464
|
return new H(t, this.m, this.R(), this.canvas, this.l, this.width, this.height);
|
|
2464
2465
|
}
|
|
2465
2466
|
close() {
|
|
2466
|
-
this.j && we(this).deleteTexture(Mt(this, 2)),
|
|
2467
|
+
this.j && we(this).deleteTexture(Mt(this, 2)), si = -1;
|
|
2467
2468
|
}
|
|
2468
2469
|
};
|
|
2469
2470
|
H.prototype.close = H.prototype.close, H.prototype.clone = H.prototype.clone, H.prototype.getAsWebGLTexture = H.prototype.N, H.prototype.getAsFloat32Array = H.prototype.ia, H.prototype.getAsUint8Array = H.prototype.ja, H.prototype.hasWebGLTexture = H.prototype.R, H.prototype.hasFloat32Array = H.prototype.ka, H.prototype.hasUint8Array = H.prototype.Fa;
|
|
2470
|
-
var
|
|
2471
|
-
function
|
|
2471
|
+
var si = 250;
|
|
2472
|
+
function yt(...t) {
|
|
2472
2473
|
return t.map(([e, n]) => ({ start: e, end: n }));
|
|
2473
2474
|
}
|
|
2474
|
-
const
|
|
2475
|
+
const i1 = /* @__PURE__ */ function(t) {
|
|
2475
2476
|
return class extends t {
|
|
2476
2477
|
Ja() {
|
|
2477
2478
|
this.i._registerModelResourcesGraphService();
|
|
2478
2479
|
}
|
|
2479
2480
|
};
|
|
2480
|
-
}((
|
|
2481
|
+
}((ii = class {
|
|
2481
2482
|
constructor(t, e) {
|
|
2482
|
-
this.l = !0, this.i = t, this.g = null, this.h = 0, this.m = typeof this.i._addIntToInputStream == "function", e !== void 0 ? this.i.canvas = e :
|
|
2483
|
+
this.l = !0, this.i = t, this.g = null, this.h = 0, this.m = typeof this.i._addIntToInputStream == "function", e !== void 0 ? this.i.canvas = e : sa() ? this.i.canvas = new OffscreenCanvas(1, 1) : (console.warn("OffscreenCanvas not supported and GraphRunner constructor glCanvas parameter is undefined. Creating backup canvas."), this.i.canvas = document.createElement("canvas"));
|
|
2483
2484
|
}
|
|
2484
2485
|
async initializeGraph(t) {
|
|
2485
2486
|
const e = await (await fetch(t)).arrayBuffer();
|
|
@@ -2532,7 +2533,7 @@ const o1 = /* @__PURE__ */ function(t) {
|
|
|
2532
2533
|
}
|
|
2533
2534
|
addGpuBufferToStream(t, e, n) {
|
|
2534
2535
|
g(this, e, (r) => {
|
|
2535
|
-
const [s, i] =
|
|
2536
|
+
const [s, i] = Qs(this, t, r);
|
|
2536
2537
|
this.i._addBoundTextureToStream(r, s, i, n);
|
|
2537
2538
|
});
|
|
2538
2539
|
}
|
|
@@ -2570,8 +2571,8 @@ const o1 = /* @__PURE__ */ function(t) {
|
|
|
2570
2571
|
}
|
|
2571
2572
|
addStringRecordToStream(t, e, n) {
|
|
2572
2573
|
g(this, e, (r) => {
|
|
2573
|
-
|
|
2574
|
-
|
|
2574
|
+
ti(this, Object.keys(t), (s) => {
|
|
2575
|
+
ti(this, Object.values(t), (i) => {
|
|
2575
2576
|
this.i._addFlatHashMapToInputStream(s, i, Object.keys(t).length, r, n);
|
|
2576
2577
|
});
|
|
2577
2578
|
});
|
|
@@ -2813,13 +2814,13 @@ const o1 = /* @__PURE__ */ function(t) {
|
|
|
2813
2814
|
closeGraph() {
|
|
2814
2815
|
this.i._closeGraph(), this.i.simpleListeners = void 0, this.i.emptyPacketListeners = void 0;
|
|
2815
2816
|
}
|
|
2816
|
-
}, class extends
|
|
2817
|
+
}, class extends ii {
|
|
2817
2818
|
get ga() {
|
|
2818
2819
|
return this.i;
|
|
2819
2820
|
}
|
|
2820
2821
|
pa(t, e, n) {
|
|
2821
2822
|
g(this, e, (r) => {
|
|
2822
|
-
const [s, i] =
|
|
2823
|
+
const [s, i] = Qs(this, t, r);
|
|
2823
2824
|
this.ga._addBoundTextureAsImageToStream(r, s, i, n);
|
|
2824
2825
|
});
|
|
2825
2826
|
}
|
|
@@ -2834,16 +2835,16 @@ const o1 = /* @__PURE__ */ function(t) {
|
|
|
2834
2835
|
});
|
|
2835
2836
|
}
|
|
2836
2837
|
}));
|
|
2837
|
-
var
|
|
2838
|
+
var ii, _t = class extends i1 {
|
|
2838
2839
|
};
|
|
2839
2840
|
async function b(t, e, n) {
|
|
2840
2841
|
return async function(r, s, i, o) {
|
|
2841
|
-
return
|
|
2842
|
-
}(t, n.canvas ?? (
|
|
2842
|
+
return e1(r, s, i, o);
|
|
2843
|
+
}(t, n.canvas ?? (sa() ? void 0 : document.createElement("canvas")), e, n);
|
|
2843
2844
|
}
|
|
2844
|
-
function
|
|
2845
|
+
function fa(t, e, n, r) {
|
|
2845
2846
|
if (t.U) {
|
|
2846
|
-
const i = new
|
|
2847
|
+
const i = new xo();
|
|
2847
2848
|
if (n != null && n.regionOfInterest) {
|
|
2848
2849
|
if (!t.oa) throw Error("This task doesn't support region-of-interest.");
|
|
2849
2850
|
var s = n.regionOfInterest;
|
|
@@ -2854,7 +2855,7 @@ function da(t, e, n, r) {
|
|
|
2854
2855
|
if (n != null && n.rotationDegrees) {
|
|
2855
2856
|
if ((n == null ? void 0 : n.rotationDegrees) % 90 != 0) throw Error("Expected rotation to be a multiple of 90°.");
|
|
2856
2857
|
if (m(i, 5, -Math.PI * n.rotationDegrees / 180), (n == null ? void 0 : n.rotationDegrees) % 180 != 0) {
|
|
2857
|
-
const [o, a] =
|
|
2858
|
+
const [o, a] = ia(e);
|
|
2858
2859
|
n = C(i, 3) * a / o, s = C(i, 4) * o / a, m(i, 4, n), m(i, 3, s);
|
|
2859
2860
|
}
|
|
2860
2861
|
}
|
|
@@ -2865,12 +2866,12 @@ function da(t, e, n, r) {
|
|
|
2865
2866
|
function vt(t, e, n) {
|
|
2866
2867
|
var r;
|
|
2867
2868
|
if ((r = t.baseOptions) != null && r.g()) throw Error("Task is not initialized with image mode. 'runningMode' must be set to 'IMAGE'.");
|
|
2868
|
-
|
|
2869
|
+
fa(t, e, n, t.C + 1);
|
|
2869
2870
|
}
|
|
2870
2871
|
function Ft(t, e, n, r) {
|
|
2871
2872
|
var s;
|
|
2872
2873
|
if (!((s = t.baseOptions) != null && s.g())) throw Error("Task is not initialized with video mode. 'runningMode' must be set to 'VIDEO'.");
|
|
2873
|
-
|
|
2874
|
+
fa(t, e, n, r);
|
|
2874
2875
|
}
|
|
2875
2876
|
function be(t, e, n, r) {
|
|
2876
2877
|
var s = e.data;
|
|
@@ -2880,7 +2881,7 @@ function be(t, e, n, r) {
|
|
|
2880
2881
|
}
|
|
2881
2882
|
var at = class extends cr {
|
|
2882
2883
|
constructor(t, e, n, r) {
|
|
2883
|
-
super(t), this.g = t, this.X = e, this.U = n, this.oa = r, this.P = new
|
|
2884
|
+
super(t), this.g = t, this.X = e, this.U = n, this.oa = r, this.P = new ca();
|
|
2884
2885
|
}
|
|
2885
2886
|
l(t, e = !0) {
|
|
2886
2887
|
if ("runningMode" in t && k(this.baseOptions, 2, Ke(!!t.runningMode && t.runningMode !== "IMAGE")), t.canvas !== void 0 && this.g.i.canvas !== t.canvas) throw Error("You must create a new task to reset the canvas.");
|
|
@@ -2893,13 +2894,13 @@ var at = class extends cr {
|
|
|
2893
2894
|
at.prototype.close = at.prototype.close;
|
|
2894
2895
|
var ut = class extends at {
|
|
2895
2896
|
constructor(t, e) {
|
|
2896
|
-
super(new
|
|
2897
|
+
super(new _t(t, e), "image_in", "norm_rect_in", !1), this.j = { detections: [] }, y(t = this.h = new Nn(), 0, 1, e = new x()), m(this.h, 2, 0.5), m(this.h, 3, 0.3);
|
|
2897
2898
|
}
|
|
2898
2899
|
get baseOptions() {
|
|
2899
|
-
return A(this.h,
|
|
2900
|
+
return A(this.h, x, 1);
|
|
2900
2901
|
}
|
|
2901
2902
|
set baseOptions(t) {
|
|
2902
|
-
|
|
2903
|
+
y(this.h, 0, 1, t);
|
|
2903
2904
|
}
|
|
2904
2905
|
o(t) {
|
|
2905
2906
|
return "minDetectionConfidence" in t && m(this.h, 2, t.minDetectionConfidence ?? 0.5), "minSuppressionThreshold" in t && m(this.h, 3, t.minSuppressionThreshold ?? 0.3), this.l(t);
|
|
@@ -2914,10 +2915,10 @@ var ut = class extends at {
|
|
|
2914
2915
|
var t = new ht();
|
|
2915
2916
|
O(t, "image_in"), O(t, "norm_rect_in"), E(t, "detections");
|
|
2916
2917
|
const e = new ct();
|
|
2917
|
-
Tt(e,
|
|
2918
|
+
Tt(e, j2, this.h);
|
|
2918
2919
|
const n = new Z();
|
|
2919
2920
|
it(n, 2, "mediapipe.tasks.vision.face_detector.FaceDetectorGraph"), F(n, "IMAGE:image_in"), F(n, "NORM_RECT:norm_rect_in"), w(n, "DETECTIONS:detections"), n.o(e), gt(t, n), this.g.attachProtoVectorListener("detections", (r, s) => {
|
|
2920
|
-
for (const i of r) r =
|
|
2921
|
+
for (const i of r) r = Po(i), this.j.detections.push(na(r));
|
|
2921
2922
|
l(this, s);
|
|
2922
2923
|
}), this.g.attachEmptyPacketListener("detections", (r) => {
|
|
2923
2924
|
l(this, r);
|
|
@@ -2931,34 +2932,34 @@ ut.prototype.detectForVideo = ut.prototype.G, ut.prototype.detect = ut.prototype
|
|
|
2931
2932
|
}, ut.createFromOptions = function(t, e) {
|
|
2932
2933
|
return b(ut, t, e);
|
|
2933
2934
|
};
|
|
2934
|
-
var rs = _t([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]), ss = _t([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]), is = _t([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), pa = _t([474, 475], [475, 476], [476, 477], [477, 474]), os = _t([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]), as = _t([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), ga = _t([469, 470], [470, 471], [471, 472], [472, 469]), cs = _t([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]), ma = [...rs, ...ss, ...is, ...os, ...as, ...cs], _a = _t([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]);
|
|
2935
|
-
function
|
|
2935
|
+
var rs = yt([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]), ss = yt([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]), is = yt([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), da = yt([474, 475], [475, 476], [476, 477], [477, 474]), os = yt([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]), as = yt([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), pa = yt([469, 470], [470, 471], [471, 472], [472, 469]), cs = yt([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]), ga = [...rs, ...ss, ...is, ...os, ...as, ...cs], ma = yt([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]);
|
|
2936
|
+
function oi(t) {
|
|
2936
2937
|
t.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] };
|
|
2937
2938
|
}
|
|
2938
2939
|
var M = class extends at {
|
|
2939
2940
|
constructor(t, e) {
|
|
2940
|
-
super(new
|
|
2941
|
+
super(new _t(t, e), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, y(t = this.h = new Do(), 0, 1, e = new x()), this.A = new Bo(), y(this.h, 0, 3, this.A), this.u = new Nn(), y(this.h, 0, 2, this.u), xt(this.u, 4, 1), m(this.u, 2, 0.5), m(this.A, 2, 0.5), m(this.h, 4, 0.5);
|
|
2941
2942
|
}
|
|
2942
2943
|
get baseOptions() {
|
|
2943
|
-
return A(this.h,
|
|
2944
|
+
return A(this.h, x, 1);
|
|
2944
2945
|
}
|
|
2945
2946
|
set baseOptions(t) {
|
|
2946
|
-
|
|
2947
|
+
y(this.h, 0, 1, t);
|
|
2947
2948
|
}
|
|
2948
2949
|
o(t) {
|
|
2949
|
-
return "numFaces" in t &&
|
|
2950
|
+
return "numFaces" in t && xt(this.u, 4, t.numFaces ?? 1), "minFaceDetectionConfidence" in t && m(this.u, 2, t.minFaceDetectionConfidence ?? 0.5), "minTrackingConfidence" in t && m(this.h, 4, t.minTrackingConfidence ?? 0.5), "minFacePresenceConfidence" in t && m(this.A, 2, t.minFacePresenceConfidence ?? 0.5), "outputFaceBlendshapes" in t && (this.outputFaceBlendshapes = !!t.outputFaceBlendshapes), "outputFacialTransformationMatrixes" in t && (this.outputFacialTransformationMatrixes = !!t.outputFacialTransformationMatrixes), this.l(t);
|
|
2950
2951
|
}
|
|
2951
2952
|
F(t, e) {
|
|
2952
|
-
return
|
|
2953
|
+
return oi(this), vt(this, t, e), this.j;
|
|
2953
2954
|
}
|
|
2954
2955
|
G(t, e, n) {
|
|
2955
|
-
return
|
|
2956
|
+
return oi(this), Ft(this, t, n, e), this.j;
|
|
2956
2957
|
}
|
|
2957
2958
|
m() {
|
|
2958
2959
|
var t = new ht();
|
|
2959
2960
|
O(t, "image_in"), O(t, "norm_rect"), E(t, "face_landmarks");
|
|
2960
2961
|
const e = new ct();
|
|
2961
|
-
Tt(e,
|
|
2962
|
+
Tt(e, V2, this.h);
|
|
2962
2963
|
const n = new Z();
|
|
2963
2964
|
it(n, 2, "mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"), F(n, "IMAGE:image_in"), F(n, "NORM_RECT:norm_rect"), w(n, "NORM_LANDMARKS:face_landmarks"), n.o(e), gt(t, n), this.g.attachProtoVectorListener("face_landmarks", (r, s) => {
|
|
2964
2965
|
for (const i of r) r = tn(i), this.j.faceLandmarks.push(Cn(r));
|
|
@@ -2966,12 +2967,12 @@ var M = class extends at {
|
|
|
2966
2967
|
}), this.g.attachEmptyPacketListener("face_landmarks", (r) => {
|
|
2967
2968
|
l(this, r);
|
|
2968
2969
|
}), this.outputFaceBlendshapes && (E(t, "blendshapes"), w(n, "BLENDSHAPES:blendshapes"), this.g.attachProtoVectorListener("blendshapes", (r, s) => {
|
|
2969
|
-
if (this.outputFaceBlendshapes) for (const i of r) r =
|
|
2970
|
+
if (this.outputFaceBlendshapes) for (const i of r) r = xn(i), this.j.faceBlendshapes.push(ts(r.g() ?? []));
|
|
2970
2971
|
l(this, s);
|
|
2971
2972
|
}), this.g.attachEmptyPacketListener("blendshapes", (r) => {
|
|
2972
2973
|
l(this, r);
|
|
2973
2974
|
})), this.outputFacialTransformationMatrixes && (E(t, "face_geometry"), w(n, "FACE_GEOMETRY:face_geometry"), this.g.attachProtoVectorListener("face_geometry", (r, s) => {
|
|
2974
|
-
if (this.outputFacialTransformationMatrixes) for (const i of r) (r = A(r =
|
|
2975
|
+
if (this.outputFacialTransformationMatrixes) for (const i of r) (r = A(r = G2(i), I2, 2)) && this.j.facialTransformationMatrixes.push({ rows: dt(r, 1) ?? 0 ?? 0, columns: dt(r, 2) ?? 0 ?? 0, data: zt(r, 3, At, Kt()).slice() ?? [] });
|
|
2975
2976
|
l(this, s);
|
|
2976
2977
|
}), this.g.attachEmptyPacketListener("face_geometry", (r) => {
|
|
2977
2978
|
l(this, r);
|
|
@@ -2984,18 +2985,18 @@ M.prototype.detectForVideo = M.prototype.G, M.prototype.detect = M.prototype.F,
|
|
|
2984
2985
|
return b(M, t, { baseOptions: { modelAssetBuffer: e } });
|
|
2985
2986
|
}, M.createFromOptions = function(t, e) {
|
|
2986
2987
|
return b(M, t, e);
|
|
2987
|
-
}, M.FACE_LANDMARKS_LIPS = rs, M.FACE_LANDMARKS_LEFT_EYE = ss, M.FACE_LANDMARKS_LEFT_EYEBROW = is, M.FACE_LANDMARKS_LEFT_IRIS =
|
|
2988
|
-
var hs =
|
|
2989
|
-
function
|
|
2988
|
+
}, M.FACE_LANDMARKS_LIPS = rs, M.FACE_LANDMARKS_LEFT_EYE = ss, M.FACE_LANDMARKS_LEFT_EYEBROW = is, M.FACE_LANDMARKS_LEFT_IRIS = da, M.FACE_LANDMARKS_RIGHT_EYE = os, M.FACE_LANDMARKS_RIGHT_EYEBROW = as, M.FACE_LANDMARKS_RIGHT_IRIS = pa, M.FACE_LANDMARKS_FACE_OVAL = cs, M.FACE_LANDMARKS_CONTOURS = ga, M.FACE_LANDMARKS_TESSELATION = ma;
|
|
2989
|
+
var hs = yt([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]);
|
|
2990
|
+
function ai(t) {
|
|
2990
2991
|
t.gestures = [], t.landmarks = [], t.worldLandmarks = [], t.handedness = [];
|
|
2991
2992
|
}
|
|
2992
|
-
function
|
|
2993
|
+
function ci(t) {
|
|
2993
2994
|
return t.gestures.length === 0 ? { gestures: [], landmarks: [], worldLandmarks: [], handedness: [], handednesses: [] } : { gestures: t.gestures, landmarks: t.landmarks, worldLandmarks: t.worldLandmarks, handedness: t.handedness, handednesses: t.handedness };
|
|
2994
2995
|
}
|
|
2995
|
-
function
|
|
2996
|
+
function hi(t, e = !0) {
|
|
2996
2997
|
const n = [];
|
|
2997
2998
|
for (const s of t) {
|
|
2998
|
-
var r =
|
|
2999
|
+
var r = xn(s);
|
|
2999
3000
|
t = [];
|
|
3000
3001
|
for (const i of r.g()) r = e && dt(i, 1) != null ? dt(i, 1) ?? 0 : -1, t.push({ score: C(i, 2) ?? 0, index: r, categoryName: q(L(i, 3)) ?? "" ?? "", displayName: q(L(i, 4)) ?? "" ?? "" });
|
|
3001
3002
|
n.push(t);
|
|
@@ -3004,39 +3005,39 @@ function ui(t, e = !0) {
|
|
|
3004
3005
|
}
|
|
3005
3006
|
var Q = class extends at {
|
|
3006
3007
|
constructor(t, e) {
|
|
3007
|
-
super(new
|
|
3008
|
+
super(new _t(t, e), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], y(t = this.j = new Go(), 0, 1, e = new x()), this.u = new $r(), y(this.j, 0, 2, this.u), this.D = new Yr(), y(this.u, 0, 3, this.D), this.A = new jo(), y(this.u, 0, 2, this.A), this.h = new H2(), y(this.j, 0, 3, this.h), m(this.A, 2, 0.5), m(this.u, 4, 0.5), m(this.D, 2, 0.5);
|
|
3008
3009
|
}
|
|
3009
3010
|
get baseOptions() {
|
|
3010
|
-
return A(this.j,
|
|
3011
|
+
return A(this.j, x, 1);
|
|
3011
3012
|
}
|
|
3012
3013
|
set baseOptions(t) {
|
|
3013
|
-
|
|
3014
|
+
y(this.j, 0, 1, t);
|
|
3014
3015
|
}
|
|
3015
3016
|
o(t) {
|
|
3016
3017
|
var s, i, o, a;
|
|
3017
|
-
if (
|
|
3018
|
+
if (xt(this.A, 3, t.numHands ?? 1), "minHandDetectionConfidence" in t && m(this.A, 2, t.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in t && m(this.u, 4, t.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in t && m(this.D, 2, t.minHandPresenceConfidence ?? 0.5), t.cannedGesturesClassifierOptions) {
|
|
3018
3019
|
var e = new oe(), n = e, r = ar(t.cannedGesturesClassifierOptions, (s = A(this.h, oe, 3)) == null ? void 0 : s.l());
|
|
3019
|
-
|
|
3020
|
+
y(n, 0, 2, r), y(this.h, 0, 3, e);
|
|
3020
3021
|
} else t.cannedGesturesClassifierOptions === void 0 && ((i = A(this.h, oe, 3)) == null || i.g());
|
|
3021
|
-
return t.customGesturesClassifierOptions ? (
|
|
3022
|
+
return t.customGesturesClassifierOptions ? (y(n = e = new oe(), 0, 2, r = ar(t.customGesturesClassifierOptions, (o = A(this.h, oe, 4)) == null ? void 0 : o.l())), y(this.h, 0, 4, e)) : t.customGesturesClassifierOptions === void 0 && ((a = A(this.h, oe, 4)) == null || a.g()), this.l(t);
|
|
3022
3023
|
}
|
|
3023
3024
|
Ha(t, e) {
|
|
3024
|
-
return
|
|
3025
|
+
return ai(this), vt(this, t, e), ci(this);
|
|
3025
3026
|
}
|
|
3026
3027
|
Ia(t, e, n) {
|
|
3027
|
-
return
|
|
3028
|
+
return ai(this), Ft(this, t, n, e), ci(this);
|
|
3028
3029
|
}
|
|
3029
3030
|
m() {
|
|
3030
3031
|
var t = new ht();
|
|
3031
3032
|
O(t, "image_in"), O(t, "norm_rect"), E(t, "hand_gestures"), E(t, "hand_landmarks"), E(t, "world_hand_landmarks"), E(t, "handedness");
|
|
3032
3033
|
const e = new ct();
|
|
3033
|
-
Tt(e,
|
|
3034
|
+
Tt(e, W2, this.j);
|
|
3034
3035
|
const n = new Z();
|
|
3035
3036
|
it(n, 2, "mediapipe.tasks.vision.gesture_recognizer.GestureRecognizerGraph"), F(n, "IMAGE:image_in"), F(n, "NORM_RECT:norm_rect"), w(n, "HAND_GESTURES:hand_gestures"), w(n, "LANDMARKS:hand_landmarks"), w(n, "WORLD_LANDMARKS:world_hand_landmarks"), w(n, "HANDEDNESS:handedness"), n.o(e), gt(t, n), this.g.attachProtoVectorListener("hand_landmarks", (r, s) => {
|
|
3036
3037
|
for (const i of r) {
|
|
3037
3038
|
r = tn(i);
|
|
3038
3039
|
const o = [];
|
|
3039
|
-
for (const a of
|
|
3040
|
+
for (const a of It(r, Io, 1)) o.push({ x: C(a, 1) ?? 0, y: C(a, 2) ?? 0, z: C(a, 3) ?? 0, visibility: C(a, 4) ?? 0 });
|
|
3040
3041
|
this.landmarks.push(o);
|
|
3041
3042
|
}
|
|
3042
3043
|
l(this, s);
|
|
@@ -3046,24 +3047,24 @@ var Q = class extends at {
|
|
|
3046
3047
|
for (const i of r) {
|
|
3047
3048
|
r = he(i);
|
|
3048
3049
|
const o = [];
|
|
3049
|
-
for (const a of
|
|
3050
|
+
for (const a of It(r, Oo, 1)) o.push({ x: C(a, 1) ?? 0, y: C(a, 2) ?? 0, z: C(a, 3) ?? 0, visibility: C(a, 4) ?? 0 });
|
|
3050
3051
|
this.worldLandmarks.push(o);
|
|
3051
3052
|
}
|
|
3052
3053
|
l(this, s);
|
|
3053
3054
|
}), this.g.attachEmptyPacketListener("world_hand_landmarks", (r) => {
|
|
3054
3055
|
l(this, r);
|
|
3055
3056
|
}), this.g.attachProtoVectorListener("hand_gestures", (r, s) => {
|
|
3056
|
-
this.gestures.push(...
|
|
3057
|
+
this.gestures.push(...hi(r, !1)), l(this, s);
|
|
3057
3058
|
}), this.g.attachEmptyPacketListener("hand_gestures", (r) => {
|
|
3058
3059
|
l(this, r);
|
|
3059
3060
|
}), this.g.attachProtoVectorListener("handedness", (r, s) => {
|
|
3060
|
-
this.handedness.push(...
|
|
3061
|
+
this.handedness.push(...hi(r)), l(this, s);
|
|
3061
3062
|
}), this.g.attachEmptyPacketListener("handedness", (r) => {
|
|
3062
3063
|
l(this, r);
|
|
3063
3064
|
}), t = t.g(), this.setGraph(new Uint8Array(t), !0);
|
|
3064
3065
|
}
|
|
3065
3066
|
};
|
|
3066
|
-
function
|
|
3067
|
+
function ui(t) {
|
|
3067
3068
|
return { landmarks: t.landmarks, worldLandmarks: t.worldLandmarks, handednesses: t.handedness, handedness: t.handedness };
|
|
3068
3069
|
}
|
|
3069
3070
|
Q.prototype.recognizeForVideo = Q.prototype.Ia, Q.prototype.recognize = Q.prototype.Ha, Q.prototype.setOptions = Q.prototype.o, Q.createFromModelPath = function(t, e) {
|
|
@@ -3075,28 +3076,28 @@ Q.prototype.recognizeForVideo = Q.prototype.Ia, Q.prototype.recognize = Q.protot
|
|
|
3075
3076
|
}, Q.HAND_CONNECTIONS = hs;
|
|
3076
3077
|
var J = class extends at {
|
|
3077
3078
|
constructor(t, e) {
|
|
3078
|
-
super(new
|
|
3079
|
+
super(new _t(t, e), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], y(t = this.h = new $r(), 0, 1, e = new x()), this.u = new Yr(), y(this.h, 0, 3, this.u), this.j = new jo(), y(this.h, 0, 2, this.j), xt(this.j, 3, 1), m(this.j, 2, 0.5), m(this.u, 2, 0.5), m(this.h, 4, 0.5);
|
|
3079
3080
|
}
|
|
3080
3081
|
get baseOptions() {
|
|
3081
|
-
return A(this.h,
|
|
3082
|
+
return A(this.h, x, 1);
|
|
3082
3083
|
}
|
|
3083
3084
|
set baseOptions(t) {
|
|
3084
|
-
|
|
3085
|
+
y(this.h, 0, 1, t);
|
|
3085
3086
|
}
|
|
3086
3087
|
o(t) {
|
|
3087
|
-
return "numHands" in t &&
|
|
3088
|
+
return "numHands" in t && xt(this.j, 3, t.numHands ?? 1), "minHandDetectionConfidence" in t && m(this.j, 2, t.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in t && m(this.h, 4, t.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in t && m(this.u, 2, t.minHandPresenceConfidence ?? 0.5), this.l(t);
|
|
3088
3089
|
}
|
|
3089
3090
|
F(t, e) {
|
|
3090
|
-
return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], vt(this, t, e),
|
|
3091
|
+
return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], vt(this, t, e), ui(this);
|
|
3091
3092
|
}
|
|
3092
3093
|
G(t, e, n) {
|
|
3093
|
-
return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Ft(this, t, n, e),
|
|
3094
|
+
return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Ft(this, t, n, e), ui(this);
|
|
3094
3095
|
}
|
|
3095
3096
|
m() {
|
|
3096
3097
|
var t = new ht();
|
|
3097
3098
|
O(t, "image_in"), O(t, "norm_rect"), E(t, "hand_landmarks"), E(t, "world_hand_landmarks"), E(t, "handedness");
|
|
3098
3099
|
const e = new ct();
|
|
3099
|
-
Tt(e,
|
|
3100
|
+
Tt(e, K2, this.h);
|
|
3100
3101
|
const n = new Z();
|
|
3101
3102
|
it(n, 2, "mediapipe.tasks.vision.hand_landmarker.HandLandmarkerGraph"), F(n, "IMAGE:image_in"), F(n, "NORM_RECT:norm_rect"), w(n, "LANDMARKS:hand_landmarks"), w(n, "WORLD_LANDMARKS:world_hand_landmarks"), w(n, "HANDEDNESS:handedness"), n.o(e), gt(t, n), this.g.attachProtoVectorListener("hand_landmarks", (r, s) => {
|
|
3102
3103
|
for (const i of r) r = tn(i), this.landmarks.push(Cn(r));
|
|
@@ -3112,7 +3113,7 @@ var J = class extends at {
|
|
|
3112
3113
|
var i = this.handedness, o = i.push;
|
|
3113
3114
|
const a = [];
|
|
3114
3115
|
for (const c of r) {
|
|
3115
|
-
r =
|
|
3116
|
+
r = xn(c);
|
|
3116
3117
|
const u = [];
|
|
3117
3118
|
for (const h of r.g()) u.push({ score: C(h, 2) ?? 0, index: dt(h, 1) ?? 0 ?? -1, categoryName: q(L(h, 3)) ?? "" ?? "", displayName: q(L(h, 4)) ?? "" ?? "" });
|
|
3118
3119
|
a.push(u);
|
|
@@ -3130,11 +3131,11 @@ J.prototype.detectForVideo = J.prototype.G, J.prototype.detect = J.prototype.F,
|
|
|
3130
3131
|
}, J.createFromOptions = function(t, e) {
|
|
3131
3132
|
return b(J, t, e);
|
|
3132
3133
|
}, J.HAND_CONNECTIONS = hs;
|
|
3133
|
-
var ya =
|
|
3134
|
-
function
|
|
3134
|
+
var ya = yt([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]);
|
|
3135
|
+
function li(t) {
|
|
3135
3136
|
t.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] };
|
|
3136
3137
|
}
|
|
3137
|
-
function
|
|
3138
|
+
function fi(t) {
|
|
3138
3139
|
try {
|
|
3139
3140
|
if (!t.D) return t.h;
|
|
3140
3141
|
t.D(t.h);
|
|
@@ -3147,38 +3148,38 @@ function sn(t, e) {
|
|
|
3147
3148
|
}
|
|
3148
3149
|
var T = class extends at {
|
|
3149
3150
|
constructor(t, e) {
|
|
3150
|
-
super(new
|
|
3151
|
+
super(new _t(t, e), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, y(t = this.j = new zo(), 0, 1, e = new x()), this.I = new Yr(), y(this.j, 0, 2, this.I), this.W = new z2(), y(this.j, 0, 3, this.W), this.u = new Nn(), y(this.j, 0, 4, this.u), this.O = new Bo(), y(this.j, 0, 5, this.O), this.A = new Wo(), y(this.j, 0, 6, this.A), this.M = new Ko(), y(this.j, 0, 7, this.M), m(this.u, 2, 0.5), m(this.u, 3, 0.3), m(this.O, 2, 0.5), m(this.A, 2, 0.5), m(this.A, 3, 0.3), m(this.M, 2, 0.5), m(this.I, 2, 0.5);
|
|
3151
3152
|
}
|
|
3152
3153
|
get baseOptions() {
|
|
3153
|
-
return A(this.j,
|
|
3154
|
+
return A(this.j, x, 1);
|
|
3154
3155
|
}
|
|
3155
3156
|
set baseOptions(t) {
|
|
3156
|
-
|
|
3157
|
+
y(this.j, 0, 1, t);
|
|
3157
3158
|
}
|
|
3158
3159
|
o(t) {
|
|
3159
3160
|
return "minFaceDetectionConfidence" in t && m(this.u, 2, t.minFaceDetectionConfidence ?? 0.5), "minFaceSuppressionThreshold" in t && m(this.u, 3, t.minFaceSuppressionThreshold ?? 0.3), "minFacePresenceConfidence" in t && m(this.O, 2, t.minFacePresenceConfidence ?? 0.5), "outputFaceBlendshapes" in t && (this.outputFaceBlendshapes = !!t.outputFaceBlendshapes), "minPoseDetectionConfidence" in t && m(this.A, 2, t.minPoseDetectionConfidence ?? 0.5), "minPoseSuppressionThreshold" in t && m(this.A, 3, t.minPoseSuppressionThreshold ?? 0.3), "minPosePresenceConfidence" in t && m(this.M, 2, t.minPosePresenceConfidence ?? 0.5), "outputPoseSegmentationMasks" in t && (this.outputPoseSegmentationMasks = !!t.outputPoseSegmentationMasks), "minHandLandmarksConfidence" in t && m(this.I, 2, t.minHandLandmarksConfidence ?? 0.5), this.l(t);
|
|
3160
3161
|
}
|
|
3161
3162
|
F(t, e, n) {
|
|
3162
3163
|
const r = typeof e != "function" ? e : {};
|
|
3163
|
-
return this.D = typeof e == "function" ? e : n,
|
|
3164
|
+
return this.D = typeof e == "function" ? e : n, li(this), vt(this, t, r), fi(this);
|
|
3164
3165
|
}
|
|
3165
3166
|
G(t, e, n, r) {
|
|
3166
3167
|
const s = typeof n != "function" ? n : {};
|
|
3167
|
-
return this.D = typeof n == "function" ? n : r,
|
|
3168
|
+
return this.D = typeof n == "function" ? n : r, li(this), Ft(this, t, s, e), fi(this);
|
|
3168
3169
|
}
|
|
3169
3170
|
m() {
|
|
3170
3171
|
var t = new ht();
|
|
3171
3172
|
O(t, "input_frames_image"), E(t, "pose_landmarks"), E(t, "pose_world_landmarks"), E(t, "face_landmarks"), E(t, "left_hand_landmarks"), E(t, "left_hand_world_landmarks"), E(t, "right_hand_landmarks"), E(t, "right_hand_world_landmarks");
|
|
3172
|
-
const e = new ct(), n = new
|
|
3173
|
+
const e = new ct(), n = new Rs();
|
|
3173
3174
|
it(n, 1, "type.googleapis.com/mediapipe.tasks.vision.holistic_landmarker.proto.HolisticLandmarkerGraphOptions"), function(s, i) {
|
|
3174
3175
|
if (i != null) if (Array.isArray(i)) k(s, 2, bn(i, 0, ze));
|
|
3175
3176
|
else {
|
|
3176
3177
|
if (!(typeof i == "string" || i instanceof Et || mr(i))) throw Error("invalid value in Any.value field: " + i + " expected a ByteString, a base64 encoded string, a Uint8Array or a jspb array");
|
|
3177
|
-
Bt(s, 2,
|
|
3178
|
+
Bt(s, 2, _r(i, !1), Zt());
|
|
3178
3179
|
}
|
|
3179
3180
|
}(n, this.j.g());
|
|
3180
3181
|
const r = new Z();
|
|
3181
|
-
it(r, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"),
|
|
3182
|
+
it(r, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), xr(r, 8, Rs, n), F(r, "IMAGE:input_frames_image"), w(r, "POSE_LANDMARKS:pose_landmarks"), w(r, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), w(r, "FACE_LANDMARKS:face_landmarks"), w(r, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), w(r, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), w(r, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), w(r, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), r.o(e), gt(t, r), Rn(this, t), this.g.attachProtoListener("pose_landmarks", (s, i) => {
|
|
3182
3183
|
sn(s, this.h.poseLandmarks), l(this, i);
|
|
3183
3184
|
}), this.g.attachEmptyPacketListener("pose_landmarks", (s) => {
|
|
3184
3185
|
l(this, s);
|
|
@@ -3197,7 +3198,7 @@ var T = class extends at {
|
|
|
3197
3198
|
l(this, s);
|
|
3198
3199
|
}), this.outputFaceBlendshapes && (E(t, "extra_blendshapes"), w(r, "FACE_BLENDSHAPES:extra_blendshapes"), this.g.attachProtoListener("extra_blendshapes", (s, i) => {
|
|
3199
3200
|
var o = this.h.faceBlendshapes;
|
|
3200
|
-
this.outputFaceBlendshapes && (s =
|
|
3201
|
+
this.outputFaceBlendshapes && (s = xn(s), o.push(ts(s.g() ?? []))), l(this, i);
|
|
3201
3202
|
}), this.g.attachEmptyPacketListener("extra_blendshapes", (s) => {
|
|
3202
3203
|
l(this, s);
|
|
3203
3204
|
})), this.g.attachProtoListener("left_hand_landmarks", (s, i) => {
|
|
@@ -3227,19 +3228,19 @@ T.prototype.detectForVideo = T.prototype.G, T.prototype.detect = T.prototype.F,
|
|
|
3227
3228
|
return b(T, t, { baseOptions: { modelAssetBuffer: e } });
|
|
3228
3229
|
}, T.createFromOptions = function(t, e) {
|
|
3229
3230
|
return b(T, t, e);
|
|
3230
|
-
}, T.HAND_CONNECTIONS = hs, T.POSE_CONNECTIONS = ya, T.FACE_LANDMARKS_LIPS = rs, T.FACE_LANDMARKS_LEFT_EYE = ss, T.FACE_LANDMARKS_LEFT_EYEBROW = is, T.FACE_LANDMARKS_LEFT_IRIS =
|
|
3231
|
+
}, T.HAND_CONNECTIONS = hs, T.POSE_CONNECTIONS = ya, T.FACE_LANDMARKS_LIPS = rs, T.FACE_LANDMARKS_LEFT_EYE = ss, T.FACE_LANDMARKS_LEFT_EYEBROW = is, T.FACE_LANDMARKS_LEFT_IRIS = da, T.FACE_LANDMARKS_RIGHT_EYE = os, T.FACE_LANDMARKS_RIGHT_EYEBROW = as, T.FACE_LANDMARKS_RIGHT_IRIS = pa, T.FACE_LANDMARKS_FACE_OVAL = cs, T.FACE_LANDMARKS_CONTOURS = ga, T.FACE_LANDMARKS_TESSELATION = ma;
|
|
3231
3232
|
var lt = class extends at {
|
|
3232
3233
|
constructor(t, e) {
|
|
3233
|
-
super(new
|
|
3234
|
+
super(new _t(t, e), "input_image", "norm_rect", !0), this.j = { classifications: [] }, y(t = this.h = new qo(), 0, 1, e = new x());
|
|
3234
3235
|
}
|
|
3235
3236
|
get baseOptions() {
|
|
3236
|
-
return A(this.h,
|
|
3237
|
+
return A(this.h, x, 1);
|
|
3237
3238
|
}
|
|
3238
3239
|
set baseOptions(t) {
|
|
3239
|
-
|
|
3240
|
+
y(this.h, 0, 1, t);
|
|
3240
3241
|
}
|
|
3241
3242
|
o(t) {
|
|
3242
|
-
return
|
|
3243
|
+
return y(this.h, 0, 2, ar(t, A(this.h, qr, 2))), this.l(t);
|
|
3243
3244
|
}
|
|
3244
3245
|
sa(t, e) {
|
|
3245
3246
|
return this.j = { classifications: [] }, vt(this, t, e), this.j;
|
|
@@ -3251,10 +3252,10 @@ var lt = class extends at {
|
|
|
3251
3252
|
var t = new ht();
|
|
3252
3253
|
O(t, "input_image"), O(t, "norm_rect"), E(t, "classifications");
|
|
3253
3254
|
const e = new ct();
|
|
3254
|
-
Tt(e,
|
|
3255
|
+
Tt(e, q2, this.h);
|
|
3255
3256
|
const n = new Z();
|
|
3256
3257
|
it(n, 2, "mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"), F(n, "IMAGE:input_image"), F(n, "NORM_RECT:norm_rect"), w(n, "CLASSIFICATIONS:classifications"), n.o(e), gt(t, n), this.g.attachProtoListener("classifications", (r, s) => {
|
|
3257
|
-
this.j =
|
|
3258
|
+
this.j = Q2(C2(r)), l(this, s);
|
|
3258
3259
|
}), this.g.attachEmptyPacketListener("classifications", (r) => {
|
|
3259
3260
|
l(this, r);
|
|
3260
3261
|
}), t = t.g(), this.setGraph(new Uint8Array(t), !0);
|
|
@@ -3269,17 +3270,17 @@ lt.prototype.classifyForVideo = lt.prototype.ta, lt.prototype.classify = lt.prot
|
|
|
3269
3270
|
};
|
|
3270
3271
|
var tt = class extends at {
|
|
3271
3272
|
constructor(t, e) {
|
|
3272
|
-
super(new
|
|
3273
|
+
super(new _t(t, e), "image_in", "norm_rect", !0), this.h = new Xo(), this.embeddings = { embeddings: [] }, y(t = this.h, 0, 1, e = new x());
|
|
3273
3274
|
}
|
|
3274
3275
|
get baseOptions() {
|
|
3275
|
-
return A(this.h,
|
|
3276
|
+
return A(this.h, x, 1);
|
|
3276
3277
|
}
|
|
3277
3278
|
set baseOptions(t) {
|
|
3278
|
-
|
|
3279
|
+
y(this.h, 0, 1, t);
|
|
3279
3280
|
}
|
|
3280
3281
|
o(t) {
|
|
3281
|
-
var e = this.h, n = A(this.h,
|
|
3282
|
-
return n = n ? n.clone() : new
|
|
3282
|
+
var e = this.h, n = A(this.h, Ks, 2);
|
|
3283
|
+
return n = n ? n.clone() : new Ks(), t.l2Normalize !== void 0 ? k(n, 1, Ke(t.l2Normalize)) : "l2Normalize" in t && k(n, 1), t.quantize !== void 0 ? k(n, 2, Ke(t.quantize)) : "quantize" in t && k(n, 2), y(e, 0, 2, n), this.l(t);
|
|
3283
3284
|
}
|
|
3284
3285
|
za(t, e) {
|
|
3285
3286
|
return vt(this, t, e), this.embeddings;
|
|
@@ -3291,16 +3292,16 @@ var tt = class extends at {
|
|
|
3291
3292
|
var t = new ht();
|
|
3292
3293
|
O(t, "image_in"), O(t, "norm_rect"), E(t, "embeddings_out");
|
|
3293
3294
|
const e = new ct();
|
|
3294
|
-
Tt(e,
|
|
3295
|
+
Tt(e, X2, this.h);
|
|
3295
3296
|
const n = new Z();
|
|
3296
3297
|
it(n, 2, "mediapipe.tasks.vision.image_embedder.ImageEmbedderGraph"), F(n, "IMAGE:image_in"), F(n, "NORM_RECT:norm_rect"), w(n, "EMBEDDINGS:embeddings_out"), n.o(e), gt(t, n), this.g.attachProtoListener("embeddings_out", (r, s) => {
|
|
3297
|
-
r =
|
|
3298
|
-
return { embeddings:
|
|
3298
|
+
r = D2(r), this.embeddings = function(i) {
|
|
3299
|
+
return { embeddings: It(i, B2, 1).map((o) => {
|
|
3299
3300
|
var u, h;
|
|
3300
3301
|
const a = { headIndex: dt(o, 3) ?? 0 ?? -1, headName: q(L(o, 4)) ?? "" ?? "" };
|
|
3301
3302
|
var c = o.v;
|
|
3302
|
-
return
|
|
3303
|
-
}), timestampMs:
|
|
3303
|
+
return Hi(c, 0 | c[d], Ws, Hn(o, 1)) !== void 0 ? (o = zt(o = A(o, Ws, Hn(o, 1), void 0), 1, At, Kt()), a.floatEmbedding = o.slice()) : (c = new Uint8Array(0), a.quantizedEmbedding = ((h = (u = A(o, R2, Hn(o, 2), void 0)) == null ? void 0 : u.na()) == null ? void 0 : h.h()) ?? c), a;
|
|
3304
|
+
}), timestampMs: ea(zi(i)) };
|
|
3304
3305
|
}(r), l(this, s);
|
|
3305
3306
|
}), this.g.attachEmptyPacketListener("embeddings_out", (r) => {
|
|
3306
3307
|
l(this, r);
|
|
@@ -3308,10 +3309,10 @@ var tt = class extends at {
|
|
|
3308
3309
|
}
|
|
3309
3310
|
};
|
|
3310
3311
|
tt.cosineSimilarity = function(t, e) {
|
|
3311
|
-
if (t.floatEmbedding && e.floatEmbedding) t =
|
|
3312
|
+
if (t.floatEmbedding && e.floatEmbedding) t = Js(t.floatEmbedding, e.floatEmbedding);
|
|
3312
3313
|
else {
|
|
3313
3314
|
if (!t.quantizedEmbedding || !e.quantizedEmbedding) throw Error("Cannot compute cosine similarity between quantized and float embeddings.");
|
|
3314
|
-
t =
|
|
3315
|
+
t = Js($s(t.quantizedEmbedding), $s(e.quantizedEmbedding));
|
|
3315
3316
|
}
|
|
3316
3317
|
return t;
|
|
3317
3318
|
}, tt.prototype.embedForVideo = tt.prototype.Aa, tt.prototype.embed = tt.prototype.za, tt.prototype.setOptions = tt.prototype.o, tt.createFromModelPath = function(t, e) {
|
|
@@ -3332,20 +3333,20 @@ var lr = class {
|
|
|
3332
3333
|
}), (e = this.categoryMask) == null || e.close();
|
|
3333
3334
|
}
|
|
3334
3335
|
};
|
|
3335
|
-
function
|
|
3336
|
+
function o1(t) {
|
|
3336
3337
|
var n, r;
|
|
3337
3338
|
const e = function(s) {
|
|
3338
|
-
return
|
|
3339
|
+
return It(s, Z, 1);
|
|
3339
3340
|
}(t.ca()).filter((s) => (q(L(s, 1)) ?? "").includes("mediapipe.tasks.TensorsToSegmentationCalculator"));
|
|
3340
3341
|
if (t.u = [], e.length > 1) throw Error("The graph has more than one mediapipe.tasks.TensorsToSegmentationCalculator.");
|
|
3341
3342
|
e.length === 1 && (((r = (n = A(e[0], ct, 7)) == null ? void 0 : n.j()) == null ? void 0 : r.g()) ?? /* @__PURE__ */ new Map()).forEach((s, i) => {
|
|
3342
3343
|
t.u[Number(i)] = q(L(s, 1)) ?? "";
|
|
3343
3344
|
});
|
|
3344
3345
|
}
|
|
3345
|
-
function
|
|
3346
|
+
function di(t) {
|
|
3346
3347
|
t.categoryMask = void 0, t.confidenceMasks = void 0, t.qualityScores = void 0;
|
|
3347
3348
|
}
|
|
3348
|
-
function
|
|
3349
|
+
function pi(t) {
|
|
3349
3350
|
try {
|
|
3350
3351
|
const e = new lr(t.confidenceMasks, t.categoryMask, t.qualityScores);
|
|
3351
3352
|
if (!t.j) return e;
|
|
@@ -3357,27 +3358,27 @@ function gi(t) {
|
|
|
3357
3358
|
lr.prototype.close = lr.prototype.close;
|
|
3358
3359
|
var $ = class extends at {
|
|
3359
3360
|
constructor(t, e) {
|
|
3360
|
-
super(new
|
|
3361
|
+
super(new _t(t, e), "image_in", "norm_rect", !1), this.u = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Qr(), this.A = new Yo(), y(this.h, 0, 3, this.A), y(t = this.h, 0, 1, e = new x());
|
|
3361
3362
|
}
|
|
3362
3363
|
get baseOptions() {
|
|
3363
|
-
return A(this.h,
|
|
3364
|
+
return A(this.h, x, 1);
|
|
3364
3365
|
}
|
|
3365
3366
|
set baseOptions(t) {
|
|
3366
|
-
|
|
3367
|
+
y(this.h, 0, 1, t);
|
|
3367
3368
|
}
|
|
3368
3369
|
o(t) {
|
|
3369
3370
|
return t.displayNamesLocale !== void 0 ? k(this.h, 2, Je(t.displayNamesLocale)) : "displayNamesLocale" in t && k(this.h, 2), "outputCategoryMask" in t && (this.outputCategoryMask = t.outputCategoryMask ?? !1), "outputConfidenceMasks" in t && (this.outputConfidenceMasks = t.outputConfidenceMasks ?? !0), super.l(t);
|
|
3370
3371
|
}
|
|
3371
3372
|
L() {
|
|
3372
|
-
|
|
3373
|
+
o1(this);
|
|
3373
3374
|
}
|
|
3374
3375
|
segment(t, e, n) {
|
|
3375
3376
|
const r = typeof e != "function" ? e : {};
|
|
3376
|
-
return this.j = typeof e == "function" ? e : n,
|
|
3377
|
+
return this.j = typeof e == "function" ? e : n, di(this), vt(this, t, r), pi(this);
|
|
3377
3378
|
}
|
|
3378
3379
|
La(t, e, n, r) {
|
|
3379
3380
|
const s = typeof n != "function" ? n : {};
|
|
3380
|
-
return this.j = typeof n == "function" ? n : r,
|
|
3381
|
+
return this.j = typeof n == "function" ? n : r, di(this), Ft(this, t, s, e), pi(this);
|
|
3381
3382
|
}
|
|
3382
3383
|
Da() {
|
|
3383
3384
|
return this.u;
|
|
@@ -3386,7 +3387,7 @@ var $ = class extends at {
|
|
|
3386
3387
|
var t = new ht();
|
|
3387
3388
|
O(t, "image_in"), O(t, "norm_rect");
|
|
3388
3389
|
const e = new ct();
|
|
3389
|
-
Tt(e,
|
|
3390
|
+
Tt(e, Jo, this.h);
|
|
3390
3391
|
const n = new Z();
|
|
3391
3392
|
it(n, 2, "mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"), F(n, "IMAGE:image_in"), F(n, "NORM_RECT:norm_rect"), n.o(e), gt(t, n), Rn(this, t), this.outputConfidenceMasks && (E(t, "confidence_masks"), w(n, "CONFIDENCE_MASKS:confidence_masks"), ve(this, "confidence_masks"), this.g.aa("confidence_masks", (r, s) => {
|
|
3392
3393
|
this.confidenceMasks = r.map((i) => be(this, i, !0, !this.j)), l(this, s);
|
|
@@ -3424,28 +3425,28 @@ var fr = class {
|
|
|
3424
3425
|
fr.prototype.close = fr.prototype.close;
|
|
3425
3426
|
var bt = class extends at {
|
|
3426
3427
|
constructor(t, e) {
|
|
3427
|
-
super(new
|
|
3428
|
+
super(new _t(t, e), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Qr(), this.u = new Yo(), y(this.h, 0, 3, this.u), y(t = this.h, 0, 1, e = new x());
|
|
3428
3429
|
}
|
|
3429
3430
|
get baseOptions() {
|
|
3430
|
-
return A(this.h,
|
|
3431
|
+
return A(this.h, x, 1);
|
|
3431
3432
|
}
|
|
3432
3433
|
set baseOptions(t) {
|
|
3433
|
-
|
|
3434
|
+
y(this.h, 0, 1, t);
|
|
3434
3435
|
}
|
|
3435
3436
|
o(t) {
|
|
3436
3437
|
return "outputCategoryMask" in t && (this.outputCategoryMask = t.outputCategoryMask ?? !1), "outputConfidenceMasks" in t && (this.outputConfidenceMasks = t.outputConfidenceMasks ?? !0), super.l(t);
|
|
3437
3438
|
}
|
|
3438
3439
|
segment(t, e, n, r) {
|
|
3439
3440
|
const s = typeof n != "function" ? n : {};
|
|
3440
|
-
if (this.j = typeof n == "function" ? n : r, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, n = this.C + 1, r = new
|
|
3441
|
+
if (this.j = typeof n == "function" ? n : r, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, n = this.C + 1, r = new Zo(), e.keypoint && e.scribble) throw Error("Cannot provide both keypoint and scribble.");
|
|
3441
3442
|
if (e.keypoint) {
|
|
3442
3443
|
var i = new qn();
|
|
3443
3444
|
Bt(i, 3, Ke(!0), !1), Bt(i, 1, De(e.keypoint.x), 0), Bt(i, 2, De(e.keypoint.y), 0), Ue(r, 1, or, i);
|
|
3444
3445
|
} else {
|
|
3445
3446
|
if (!e.scribble) throw Error("Must provide either a keypoint or a scribble.");
|
|
3446
3447
|
{
|
|
3447
|
-
const a = new
|
|
3448
|
-
for (i of e.scribble) Bt(e = new qn(), 3, Ke(!0), !1), Bt(e, 1, De(i.x), 0), Bt(e, 2, De(i.y), 0),
|
|
3448
|
+
const a = new $2();
|
|
3449
|
+
for (i of e.scribble) Bt(e = new qn(), 3, Ke(!0), !1), Bt(e, 1, De(i.x), 0), Bt(e, 2, De(i.y), 0), xr(a, 1, qn, e);
|
|
3449
3450
|
Ue(r, 2, or, a);
|
|
3450
3451
|
}
|
|
3451
3452
|
}
|
|
@@ -3469,7 +3470,7 @@ var bt = class extends at {
|
|
|
3469
3470
|
var t = new ht();
|
|
3470
3471
|
O(t, "image_in"), O(t, "roi_in"), O(t, "norm_rect_in");
|
|
3471
3472
|
const e = new ct();
|
|
3472
|
-
Tt(e,
|
|
3473
|
+
Tt(e, Jo, this.h);
|
|
3473
3474
|
const n = new Z();
|
|
3474
3475
|
it(n, 2, "mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraphV2"), F(n, "IMAGE:image_in"), F(n, "ROI:roi_in"), F(n, "NORM_RECT:norm_rect_in"), n.o(e), gt(t, n), Rn(this, t), this.outputConfidenceMasks && (E(t, "confidence_masks"), w(n, "CONFIDENCE_MASKS:confidence_masks"), ve(this, "confidence_masks"), this.g.aa("confidence_masks", (r, s) => {
|
|
3475
3476
|
this.confidenceMasks = r.map((i) => be(this, i, !0, !this.j)), l(this, s);
|
|
@@ -3495,16 +3496,16 @@ bt.prototype.segment = bt.prototype.segment, bt.prototype.setOptions = bt.protot
|
|
|
3495
3496
|
};
|
|
3496
3497
|
var ft = class extends at {
|
|
3497
3498
|
constructor(t, e) {
|
|
3498
|
-
super(new
|
|
3499
|
+
super(new _t(t, e), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, y(t = this.h = new Qo(), 0, 1, e = new x());
|
|
3499
3500
|
}
|
|
3500
3501
|
get baseOptions() {
|
|
3501
|
-
return A(this.h,
|
|
3502
|
+
return A(this.h, x, 1);
|
|
3502
3503
|
}
|
|
3503
3504
|
set baseOptions(t) {
|
|
3504
|
-
|
|
3505
|
+
y(this.h, 0, 1, t);
|
|
3505
3506
|
}
|
|
3506
3507
|
o(t) {
|
|
3507
|
-
return t.displayNamesLocale !== void 0 ? k(this.h, 2, Je(t.displayNamesLocale)) : "displayNamesLocale" in t && k(this.h, 2), t.maxResults !== void 0 ?
|
|
3508
|
+
return t.displayNamesLocale !== void 0 ? k(this.h, 2, Je(t.displayNamesLocale)) : "displayNamesLocale" in t && k(this.h, 2), t.maxResults !== void 0 ? xt(this.h, 3, t.maxResults) : "maxResults" in t && k(this.h, 3), t.scoreThreshold !== void 0 ? m(this.h, 4, t.scoreThreshold) : "scoreThreshold" in t && k(this.h, 4), t.categoryAllowlist !== void 0 ? un(this.h, 5, t.categoryAllowlist) : "categoryAllowlist" in t && k(this.h, 5), t.categoryDenylist !== void 0 ? un(this.h, 6, t.categoryDenylist) : "categoryDenylist" in t && k(this.h, 6), this.l(t);
|
|
3508
3509
|
}
|
|
3509
3510
|
F(t, e) {
|
|
3510
3511
|
return this.j = { detections: [] }, vt(this, t, e), this.j;
|
|
@@ -3516,10 +3517,10 @@ var ft = class extends at {
|
|
|
3516
3517
|
var t = new ht();
|
|
3517
3518
|
O(t, "input_frame_gpu"), O(t, "norm_rect"), E(t, "detections");
|
|
3518
3519
|
const e = new ct();
|
|
3519
|
-
Tt(e,
|
|
3520
|
+
Tt(e, J2, this.h);
|
|
3520
3521
|
const n = new Z();
|
|
3521
3522
|
it(n, 2, "mediapipe.tasks.vision.ObjectDetectorGraph"), F(n, "IMAGE:input_frame_gpu"), F(n, "NORM_RECT:norm_rect"), w(n, "DETECTIONS:detections"), n.o(e), gt(t, n), this.g.attachProtoVectorListener("detections", (r, s) => {
|
|
3522
|
-
for (const i of r) r =
|
|
3523
|
+
for (const i of r) r = Po(i), this.j.detections.push(na(r));
|
|
3523
3524
|
l(this, s);
|
|
3524
3525
|
}), this.g.attachEmptyPacketListener("detections", (r) => {
|
|
3525
3526
|
l(this, r);
|
|
@@ -3544,10 +3545,10 @@ var dr = class {
|
|
|
3544
3545
|
});
|
|
3545
3546
|
}
|
|
3546
3547
|
};
|
|
3547
|
-
function
|
|
3548
|
+
function gi(t) {
|
|
3548
3549
|
t.landmarks = [], t.worldLandmarks = [], t.segmentationMasks = void 0;
|
|
3549
3550
|
}
|
|
3550
|
-
function
|
|
3551
|
+
function mi(t) {
|
|
3551
3552
|
try {
|
|
3552
3553
|
const e = new dr(t.landmarks, t.worldLandmarks, t.segmentationMasks);
|
|
3553
3554
|
if (!t.u) return e;
|
|
@@ -3559,30 +3560,30 @@ function _i(t) {
|
|
|
3559
3560
|
dr.prototype.close = dr.prototype.close;
|
|
3560
3561
|
var et = class extends at {
|
|
3561
3562
|
constructor(t, e) {
|
|
3562
|
-
super(new
|
|
3563
|
+
super(new _t(t, e), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, y(t = this.h = new ta(), 0, 1, e = new x()), this.A = new Ko(), y(this.h, 0, 3, this.A), this.j = new Wo(), y(this.h, 0, 2, this.j), xt(this.j, 4, 1), m(this.j, 2, 0.5), m(this.A, 2, 0.5), m(this.h, 4, 0.5);
|
|
3563
3564
|
}
|
|
3564
3565
|
get baseOptions() {
|
|
3565
|
-
return A(this.h,
|
|
3566
|
+
return A(this.h, x, 1);
|
|
3566
3567
|
}
|
|
3567
3568
|
set baseOptions(t) {
|
|
3568
|
-
|
|
3569
|
+
y(this.h, 0, 1, t);
|
|
3569
3570
|
}
|
|
3570
3571
|
o(t) {
|
|
3571
|
-
return "numPoses" in t &&
|
|
3572
|
+
return "numPoses" in t && xt(this.j, 4, t.numPoses ?? 1), "minPoseDetectionConfidence" in t && m(this.j, 2, t.minPoseDetectionConfidence ?? 0.5), "minTrackingConfidence" in t && m(this.h, 4, t.minTrackingConfidence ?? 0.5), "minPosePresenceConfidence" in t && m(this.A, 2, t.minPosePresenceConfidence ?? 0.5), "outputSegmentationMasks" in t && (this.outputSegmentationMasks = t.outputSegmentationMasks ?? !1), this.l(t);
|
|
3572
3573
|
}
|
|
3573
3574
|
F(t, e, n) {
|
|
3574
3575
|
const r = typeof e != "function" ? e : {};
|
|
3575
|
-
return this.u = typeof e == "function" ? e : n,
|
|
3576
|
+
return this.u = typeof e == "function" ? e : n, gi(this), vt(this, t, r), mi(this);
|
|
3576
3577
|
}
|
|
3577
3578
|
G(t, e, n, r) {
|
|
3578
3579
|
const s = typeof n != "function" ? n : {};
|
|
3579
|
-
return this.u = typeof n == "function" ? n : r,
|
|
3580
|
+
return this.u = typeof n == "function" ? n : r, gi(this), Ft(this, t, s, e), mi(this);
|
|
3580
3581
|
}
|
|
3581
3582
|
m() {
|
|
3582
3583
|
var t = new ht();
|
|
3583
3584
|
O(t, "image_in"), O(t, "norm_rect"), E(t, "normalized_landmarks"), E(t, "world_landmarks"), E(t, "segmentation_masks");
|
|
3584
3585
|
const e = new ct();
|
|
3585
|
-
Tt(e,
|
|
3586
|
+
Tt(e, Z2, this.h);
|
|
3586
3587
|
const n = new Z();
|
|
3587
3588
|
it(n, 2, "mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"), F(n, "IMAGE:image_in"), F(n, "NORM_RECT:norm_rect"), w(n, "NORM_LANDMARKS:normalized_landmarks"), w(n, "WORLD_LANDMARKS:world_landmarks"), n.o(e), gt(t, n), Rn(this, t), this.g.attachProtoVectorListener("normalized_landmarks", (r, s) => {
|
|
3588
3589
|
this.landmarks = [];
|
|
@@ -3610,100 +3611,95 @@ et.prototype.detectForVideo = et.prototype.G, et.prototype.detect = et.prototype
|
|
|
3610
3611
|
}, et.createFromOptions = function(t, e) {
|
|
3611
3612
|
return b(et, t, e);
|
|
3612
3613
|
}, et.POSE_CONNECTIONS = ya;
|
|
3613
|
-
|
|
3614
|
-
class h1 {
|
|
3614
|
+
class a1 {
|
|
3615
3615
|
constructor(e) {
|
|
3616
|
-
|
|
3617
|
-
var
|
|
3618
|
-
if (this.state.status !== "capturing" || !this.
|
|
3619
|
-
const
|
|
3620
|
-
this.
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
minTurnHead: e.minTurnHead || 0.15,
|
|
3628
|
-
maxTurnHead: e.maxTurnHead || 0.85,
|
|
3629
|
-
onStateChange: e.onStateChange || (() => {
|
|
3630
|
-
})
|
|
3631
|
-
}, this.models = { face: null, hand: null }, this.state = {
|
|
3616
|
+
this.models = { face: null, hand: null }, this.timerId = null, this.requestId = null, this.CHALLENGE_POOL = ["Smile", "Blink", "Turn_Head", "Thumbs_Up"], this.detectLoop = () => {
|
|
3617
|
+
var o, a;
|
|
3618
|
+
if (this.state.status !== "capturing" || !this.webcam || !this.models.face) return;
|
|
3619
|
+
const n = this.webcam, r = performance.now(), s = (o = this.models.face) == null ? void 0 : o.detectForVideo(n, r), i = (a = this.models.hand) == null ? void 0 : a.detectForVideo(n, r);
|
|
3620
|
+
this.checkAction(s, i, this.state.sequence[this.currentStepRef]) && (this.isStepTransitioningRef || (this.isStepTransitioningRef = !0, this.updateState({ isStepTransitioning: !0 }), setTimeout(() => {
|
|
3621
|
+
this.currentStepRef < this.state.sequence.length - 1 ? (this.currentStepRef++, this.updateState({
|
|
3622
|
+
currentStep: this.currentStepRef,
|
|
3623
|
+
isStepTransitioning: !1
|
|
3624
|
+
}), this.isStepTransitioningRef = !1) : this.sendFinalProof();
|
|
3625
|
+
}, 1500))), this.requestId = requestAnimationFrame(this.detectLoop);
|
|
3626
|
+
}, this.apiUrl = e.apiUrl, this.duration = e.duration || 60, this.smileThreshold = e.smileThreshold ?? 0.2, this.blinkThreshold = e.blinkThreshold ?? 0.01, this.minturnHeadThreshold = e.minturnHeadThreshold ?? 0.15, this.maxturnHeadThreshold = e.maxturnHeadThreshold ?? 0.85, this.onStateChange = e.onStateChange, this.onComplete = e.onComplete, this.onError = e.onError, this.state = {
|
|
3632
3627
|
status: "loading",
|
|
3633
|
-
// loading, ready, capturing, verifying, success, error, expired
|
|
3634
3628
|
sequence: [],
|
|
3635
3629
|
currentStep: 0,
|
|
3636
|
-
timeLeft: this.
|
|
3630
|
+
timeLeft: this.duration,
|
|
3637
3631
|
isStepTransitioning: !1,
|
|
3638
3632
|
errorMsg: ""
|
|
3639
|
-
}, this.
|
|
3633
|
+
}, this.currentStepRef = 0, this.isStepTransitioningRef = !1;
|
|
3640
3634
|
}
|
|
3641
|
-
|
|
3635
|
+
/** Initialize the engine with the video element */
|
|
3642
3636
|
async init(e) {
|
|
3643
|
-
this.
|
|
3637
|
+
this.webcam = e, await this.loadModels(), this.generateSequence(), this.updateState({ status: "ready" });
|
|
3638
|
+
}
|
|
3639
|
+
/** Start the liveness session */
|
|
3640
|
+
start() {
|
|
3641
|
+
this.state.status === "ready" && (this.updateState({ status: "capturing" }), this.startTimer(), this.detectLoop());
|
|
3642
|
+
}
|
|
3643
|
+
/** Stop the engine and cleanup */
|
|
3644
|
+
stop() {
|
|
3645
|
+
this.timerId && clearInterval(this.timerId), this.requestId && cancelAnimationFrame(this.requestId);
|
|
3646
|
+
}
|
|
3647
|
+
/** Reset the session */
|
|
3648
|
+
reset() {
|
|
3649
|
+
this.timerId && clearInterval(this.timerId), this.state = {
|
|
3650
|
+
status: "ready",
|
|
3651
|
+
sequence: this.generateSequence(),
|
|
3652
|
+
currentStep: 0,
|
|
3653
|
+
timeLeft: this.duration,
|
|
3654
|
+
isStepTransitioning: !1,
|
|
3655
|
+
errorMsg: ""
|
|
3656
|
+
}, this.currentStepRef = 0, this.isStepTransitioningRef = !1, this.updateState(this.state);
|
|
3657
|
+
}
|
|
3658
|
+
/** Internal: Update state and notify consumer */
|
|
3659
|
+
updateState(e) {
|
|
3660
|
+
var n;
|
|
3661
|
+
this.state = { ...this.state, ...e }, (n = this.onStateChange) == null || n.call(this, this.state);
|
|
3662
|
+
}
|
|
3663
|
+
/** Internal: Generate random challenge sequence */
|
|
3664
|
+
generateSequence() {
|
|
3665
|
+
const e = [...this.CHALLENGE_POOL].sort(() => 0.5 - Math.random()).slice(0, 3);
|
|
3666
|
+
return this.state.sequence = e, e;
|
|
3667
|
+
}
|
|
3668
|
+
/** Internal: Load MediaPipe models */
|
|
3669
|
+
async loadModels() {
|
|
3644
3670
|
try {
|
|
3645
|
-
const
|
|
3671
|
+
const e = await Wt.forVisionTasks(
|
|
3646
3672
|
"https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@0.10.3/wasm"
|
|
3647
|
-
)
|
|
3648
|
-
this.models.face = await M.createFromOptions(n, {
|
|
3673
|
+
), n = await M.createFromOptions(e, {
|
|
3649
3674
|
baseOptions: {
|
|
3650
3675
|
modelAssetPath: "https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/1/face_landmarker.task",
|
|
3651
3676
|
delegate: "GPU"
|
|
3652
3677
|
},
|
|
3653
3678
|
outputFaceBlendshapes: !0,
|
|
3654
3679
|
runningMode: "VIDEO"
|
|
3655
|
-
}),
|
|
3680
|
+
}), r = await J.createFromOptions(e, {
|
|
3656
3681
|
baseOptions: {
|
|
3657
3682
|
modelAssetPath: "https://storage.googleapis.com/mediapipe-models/hand_landmarker/hand_landmarker/float16/1/hand_landmarker.task",
|
|
3658
3683
|
delegate: "GPU"
|
|
3659
3684
|
},
|
|
3660
3685
|
runningMode: "VIDEO",
|
|
3661
3686
|
numHands: 1
|
|
3662
|
-
})
|
|
3687
|
+
});
|
|
3688
|
+
this.models = { face: n, hand: r };
|
|
3663
3689
|
} catch {
|
|
3664
|
-
this.
|
|
3690
|
+
this.updateState({ status: "error", errorMsg: "Failed to load security assets." });
|
|
3665
3691
|
}
|
|
3666
3692
|
}
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
this.stop(), this._generateSequence(), this._updateState({
|
|
3672
|
-
status: "ready",
|
|
3673
|
-
currentStep: 0,
|
|
3674
|
-
timeLeft: this.options.duration,
|
|
3675
|
-
isStepTransitioning: !1,
|
|
3676
|
-
errorMsg: ""
|
|
3677
|
-
});
|
|
3678
|
-
}
|
|
3679
|
-
stop() {
|
|
3680
|
-
cancelAnimationFrame(this.requestRef), clearInterval(this.timerInterval);
|
|
3681
|
-
}
|
|
3682
|
-
// --- Internal Logic ---
|
|
3683
|
-
_updateState(e) {
|
|
3684
|
-
this.state = { ...this.state, ...e }, this.options.onStateChange(this.state);
|
|
3685
|
-
}
|
|
3686
|
-
_generateSequence() {
|
|
3687
|
-
const e = [...c1].sort(() => 0.5 - Math.random()).slice(0, 3);
|
|
3688
|
-
this._updateState({ sequence: e });
|
|
3689
|
-
}
|
|
3690
|
-
_startTimer() {
|
|
3691
|
-
this.timerInterval = setInterval(() => {
|
|
3692
|
-
const e = this.state.timeLeft - 1;
|
|
3693
|
-
e <= 0 ? (this.stop(), this._updateState({ timeLeft: 0, status: "expired" })) : this._updateState({ timeLeft: e });
|
|
3693
|
+
/** Internal: Timer logic */
|
|
3694
|
+
startTimer() {
|
|
3695
|
+
this.timerId = setInterval(() => {
|
|
3696
|
+
this.state.timeLeft > 0 ? this.updateState({ timeLeft: this.state.timeLeft - 1 }) : (this.updateState({ status: "expired" }), this.timerId && clearInterval(this.timerId));
|
|
3694
3697
|
}, 1e3);
|
|
3695
3698
|
}
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
this.state.currentStep < this.state.sequence.length - 1 ? (this._updateState({
|
|
3699
|
-
currentStep: this.state.currentStep + 1,
|
|
3700
|
-
isStepTransitioning: !1
|
|
3701
|
-
}), this._detectLoop()) : this._sendFinalProof();
|
|
3702
|
-
}, 1500));
|
|
3703
|
-
}
|
|
3704
|
-
_checkAction(e, n, r) {
|
|
3699
|
+
/** Internal: Verify if user completed current challenge */
|
|
3700
|
+
checkAction(e, n, r) {
|
|
3705
3701
|
var s, i;
|
|
3706
|
-
if (this.
|
|
3702
|
+
if (this.isStepTransitioningRef) return !1;
|
|
3707
3703
|
if (r === "Thumbs_Up" && ((s = n == null ? void 0 : n.landmarks) == null ? void 0 : s.length) > 0) {
|
|
3708
3704
|
const o = n.landmarks[0];
|
|
3709
3705
|
return o[4].y < o[2].y && [8, 12, 16, 20].every((a) => o[a].y > o[a - 2].y);
|
|
@@ -3712,78 +3708,96 @@ class h1 {
|
|
|
3712
3708
|
const o = e.faceLandmarks[0];
|
|
3713
3709
|
switch (r) {
|
|
3714
3710
|
case "Smile":
|
|
3715
|
-
return o[291].x - o[61].x > this.
|
|
3711
|
+
return o[291].x - o[61].x > this.smileThreshold;
|
|
3716
3712
|
case "Blink":
|
|
3717
|
-
return (Math.abs(o[159].y - o[145].y) + Math.abs(o[386].y - o[374].y)) / 2 < this.
|
|
3713
|
+
return (Math.abs(o[159].y - o[145].y) + Math.abs(o[386].y - o[374].y)) / 2 < this.blinkThreshold;
|
|
3718
3714
|
case "Turn_Head":
|
|
3719
3715
|
const c = (o[1].x - o[33].x) / (o[263].x - o[33].x);
|
|
3720
|
-
return c < this.
|
|
3716
|
+
return c < this.minturnHeadThreshold || c > this.maxturnHeadThreshold;
|
|
3717
|
+
default:
|
|
3718
|
+
return !1;
|
|
3721
3719
|
}
|
|
3722
3720
|
}
|
|
3723
3721
|
return !1;
|
|
3724
3722
|
}
|
|
3725
|
-
|
|
3726
|
-
|
|
3723
|
+
/** Internal: Capture final frames and send to backend */
|
|
3724
|
+
async sendFinalProof() {
|
|
3725
|
+
var n, r, s, i;
|
|
3726
|
+
if (!this.webcam) return;
|
|
3727
|
+
this.updateState({ status: "verifying" });
|
|
3728
|
+
const e = [];
|
|
3729
|
+
for (let o = 0; o < 5; o++) {
|
|
3730
|
+
const a = performance.now(), c = (n = this.models.face) == null ? void 0 : n.detectForVideo(this.webcam, a);
|
|
3731
|
+
(r = c == null ? void 0 : c.faceLandmarks) != null && r[0] && e.push(this.getFaceCrop(this.webcam, c.faceLandmarks[0]).toDataURL("image/jpeg", 0.95)), await new Promise((u) => setTimeout(u, 60));
|
|
3732
|
+
}
|
|
3727
3733
|
try {
|
|
3728
|
-
const
|
|
3729
|
-
|
|
3730
|
-
const o = await (await fetch(e[i])).blob();
|
|
3731
|
-
n.append("files", o, `frame_${i}.jpg`);
|
|
3732
|
-
}
|
|
3733
|
-
const s = await (await fetch(`${this.options.apiUrl}/v1/verify`, { method: "POST", body: n })).json();
|
|
3734
|
-
s.is_live ? this._updateState({ status: "success" }) : this._updateState({ status: "error", errorMsg: s.reason || "Spoof detected." });
|
|
3734
|
+
const { verifyLiveness: o } = await Promise.resolve().then(() => wa), a = await o(this.apiUrl, e.map((c) => this.dataURLtoBlob(c)), this.state.sequence[this.currentStepRef]);
|
|
3735
|
+
a.is_live ? (this.updateState({ status: "success" }), (s = this.onComplete) == null || s.call(this, { success: !0, image: e[e.length - 1], skinConfidence: a.skin_confidence })) : (this.updateState({ status: "error", errorMsg: a.reason || "Spoof detected" }), (i = this.onError) == null || i.call(this, { success: !1, reason: a.reason || "Spoof detected", skinConfidence: a.skin_confidence }));
|
|
3735
3736
|
} catch {
|
|
3736
|
-
this.
|
|
3737
|
-
}
|
|
3738
|
-
}
|
|
3739
|
-
async _captureFrames() {
|
|
3740
|
-
var n, r;
|
|
3741
|
-
const e = [];
|
|
3742
|
-
for (let s = 0; s < 5; s++) {
|
|
3743
|
-
const i = (n = this.models.face) == null ? void 0 : n.detectForVideo(this.videoElement, performance.now());
|
|
3744
|
-
(r = i == null ? void 0 : i.faceLandmarks) != null && r[0] && e.push(this._getFaceCrop(this.videoElement, i.faceLandmarks[0])), await new Promise((o) => setTimeout(o, 60));
|
|
3737
|
+
this.updateState({ status: "error", errorMsg: "Server unreachable" });
|
|
3745
3738
|
}
|
|
3746
|
-
return e;
|
|
3747
|
-
}
|
|
3748
|
-
_getFaceCrop(e, n) {
|
|
3749
|
-
const r = document.createElement("canvas"), s = r.getContext("2d"), i = n.map((x) => x.x * e.videoWidth), o = n.map((x) => x.y * e.videoHeight), a = Math.min(...i), c = Math.max(...i), u = Math.min(...o), h = Math.max(...o), f = c - a, y = h - u, v = f * 0.25;
|
|
3750
|
-
return r.width = 224, r.height = 224, s.drawImage(e, a - v, u - v, f + v * 2, y + v * 2, 0, 0, 224, 224), r.toDataURL("image/jpeg", 0.95);
|
|
3751
3739
|
}
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3740
|
+
/** Internal: Crop face from video for backend submission */
|
|
3741
|
+
getFaceCrop(e, n) {
|
|
3742
|
+
const r = document.createElement("canvas"), s = r.getContext("2d"), i = n.map((I) => I.x * e.videoWidth), o = n.map((I) => I.y * e.videoHeight), a = Math.min(...i), c = Math.max(...i), u = Math.min(...o), h = Math.max(...o), f = c - a, _ = h - u, v = f * 0.25;
|
|
3743
|
+
return r.width = 224, r.height = 224, s.drawImage(
|
|
3744
|
+
e,
|
|
3745
|
+
a - v,
|
|
3746
|
+
u - v,
|
|
3747
|
+
f + v * 2,
|
|
3748
|
+
_ + v * 2,
|
|
3749
|
+
0,
|
|
3750
|
+
0,
|
|
3751
|
+
224,
|
|
3752
|
+
224
|
|
3753
|
+
), r;
|
|
3754
|
+
}
|
|
3755
|
+
/** Internal: Convert DataURL to Blob */
|
|
3756
|
+
dataURLtoBlob(e) {
|
|
3757
|
+
const n = e.split(","), r = n[0].match(/:(.*?);/), s = r ? r[1] : "", i = atob(n[1]);
|
|
3758
|
+
let o = i.length;
|
|
3759
|
+
const a = new Uint8Array(o);
|
|
3760
|
+
for (; o--; ) a[o] = i.charCodeAt(o);
|
|
3761
|
+
return new Blob([a], { type: s });
|
|
3762
|
+
}
|
|
3763
|
+
}
|
|
3764
|
+
const h1 = (t) => {
|
|
3765
|
+
var a;
|
|
3766
|
+
const [e, n] = _a({
|
|
3756
3767
|
status: "loading",
|
|
3757
3768
|
sequence: [],
|
|
3758
3769
|
currentStep: 0,
|
|
3759
3770
|
timeLeft: t.duration || 60,
|
|
3760
3771
|
isStepTransitioning: !1,
|
|
3761
3772
|
errorMsg: ""
|
|
3762
|
-
}), r =
|
|
3763
|
-
|
|
3773
|
+
}), r = ls(null), s = ls(null);
|
|
3774
|
+
fs(() => (r.current = new a1({
|
|
3764
3775
|
...t,
|
|
3765
|
-
onStateChange: (
|
|
3776
|
+
onStateChange: (c) => n(c)
|
|
3766
3777
|
}), () => {
|
|
3767
|
-
var
|
|
3768
|
-
return (
|
|
3769
|
-
}), []),
|
|
3770
|
-
var
|
|
3771
|
-
(
|
|
3772
|
-
|
|
3778
|
+
var c;
|
|
3779
|
+
return (c = r.current) == null ? void 0 : c.stop();
|
|
3780
|
+
}), [t]), fs(() => {
|
|
3781
|
+
var u, h;
|
|
3782
|
+
const c = (u = s.current) == null ? void 0 : u.video;
|
|
3783
|
+
c && e.status === "loading" && ((h = r.current) == null || h.init(c));
|
|
3784
|
+
}, [(a = s.current) == null ? void 0 : a.video, e.status]);
|
|
3785
|
+
const i = ds(() => {
|
|
3786
|
+
var c;
|
|
3787
|
+
return (c = r.current) == null ? void 0 : c.start();
|
|
3788
|
+
}, []), o = ds(() => {
|
|
3789
|
+
var c;
|
|
3790
|
+
return (c = r.current) == null ? void 0 : c.reset();
|
|
3791
|
+
}, []);
|
|
3792
|
+
return {
|
|
3773
3793
|
...e,
|
|
3774
3794
|
webcamRef: s,
|
|
3775
|
-
start:
|
|
3776
|
-
|
|
3777
|
-
return (o = r.current) == null ? void 0 : o.start();
|
|
3778
|
-
}, []),
|
|
3779
|
-
reset: ps(() => {
|
|
3780
|
-
var o;
|
|
3781
|
-
return (o = r.current) == null ? void 0 : o.reset();
|
|
3782
|
-
}, [])
|
|
3795
|
+
start: i,
|
|
3796
|
+
reset: o
|
|
3783
3797
|
};
|
|
3784
3798
|
};
|
|
3785
3799
|
export {
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3800
|
+
a1 as LivenessEngine,
|
|
3801
|
+
h1 as useLiveness,
|
|
3802
|
+
va as verifyLiveness
|
|
3789
3803
|
};
|