@simprints/simface-sdk 0.15.1 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,19 @@
1
- class ko {
1
+ const ei = "https://simface-api-85584555549.europe-west1.run.app";
2
+ function Yc(e) {
3
+ return typeof e != "string" ? ei : e.trim().replace(/\/$/, "") || ei;
4
+ }
5
+ async function fs(e, t) {
6
+ try {
7
+ const r = await e.json();
8
+ if (typeof r.error == "string" && r.error.trim())
9
+ return r.error.trim();
10
+ } catch {
11
+ }
12
+ return `${t} (HTTP ${e.status})`;
13
+ }
14
+ class To {
2
15
  constructor(t) {
3
- this.apiUrl = t.apiUrl.replace(/\/$/, ""), this.projectId = t.projectId, this.apiKey = t.apiKey;
16
+ this.apiUrl = Yc(t.apiUrl), this.projectId = t.projectId, this.apiKey = t.apiKey;
4
17
  }
5
18
  async validateAPIKey() {
6
19
  const t = await fetch(`${this.apiUrl}/api/v1/auth/validate`, {
@@ -11,10 +24,8 @@ class ko {
11
24
  apiKey: this.apiKey
12
25
  })
13
26
  });
14
- if (!t.ok) {
15
- const r = await t.json();
16
- throw new Error(r.error || "API key validation failed");
17
- }
27
+ if (!t.ok)
28
+ throw new Error(await fs(t, "API key validation failed"));
18
29
  return t.json();
19
30
  }
20
31
  async enroll(t, r) {
@@ -26,10 +37,8 @@ class ko {
26
37
  });
27
38
  if (n.status === 409)
28
39
  return { success: !1, clientId: t, alreadyEnrolled: !0, message: "User already enrolled" };
29
- if (!n.ok) {
30
- const i = await n.json();
31
- throw new Error(i.error || "Enrollment failed");
32
- }
40
+ if (!n.ok)
41
+ throw new Error(await fs(n, "Enrollment failed"));
33
42
  return n.json();
34
43
  }
35
44
  async verify(t, r) {
@@ -41,10 +50,8 @@ class ko {
41
50
  });
42
51
  if (n.status === 404)
43
52
  return { match: !1, score: 0, threshold: 0, notEnrolled: !0, message: "User not enrolled" };
44
- if (!n.ok) {
45
- const i = await n.json();
46
- throw new Error(i.error || "Verification failed");
47
- }
53
+ if (!n.ok)
54
+ throw new Error(await fs(n, "Verification failed"));
48
55
  return n.json();
49
56
  }
50
57
  }
@@ -62,15 +69,15 @@ function cr(e, t) {
62
69
  function Qe() {
63
70
  throw Error("Invalid UTF8");
64
71
  }
65
- function Zn(e, t) {
72
+ function ti(e, t) {
66
73
  return t = String.fromCharCode.apply(null, t), e == null ? t : e + t;
67
74
  }
68
- let Sr, fs;
69
- const qc = typeof TextDecoder < "u";
70
- let Xc;
71
- const Yc = typeof TextEncoder < "u";
72
- function So(e) {
73
- if (Yc) e = (Xc || (Xc = new TextEncoder())).encode(e);
75
+ let Sr, ps;
76
+ const Qc = typeof TextDecoder < "u";
77
+ let Jc;
78
+ const Zc = typeof TextEncoder < "u";
79
+ function Co(e) {
80
+ if (Zc) e = (Jc || (Jc = new TextEncoder())).encode(e);
74
81
  else {
75
82
  let r = 0;
76
83
  const s = new Uint8Array(3 * e.length);
@@ -100,25 +107,25 @@ function So(e) {
100
107
  }
101
108
  return e;
102
109
  }
103
- function To(e) {
110
+ function Lo(e) {
104
111
  kt.setTimeout((() => {
105
112
  throw e;
106
113
  }), 0);
107
114
  }
108
- var Cs, Qc = cr(610401301, !1), ei = cr(748402147, !0), Qs = cr(824648567, !0), Js = cr(824656860, cr(1, !0));
109
- function ti() {
115
+ var Ls, eh = cr(610401301, !1), ri = cr(748402147, !0), Js = cr(824648567, !0), Zs = cr(824656860, cr(1, !0));
116
+ function si() {
110
117
  var e = kt.navigator;
111
118
  return e && (e = e.userAgent) ? e : "";
112
119
  }
113
- const ri = kt.navigator;
120
+ const ni = kt.navigator;
114
121
  function jr(e) {
115
122
  return jr[" "](e), e;
116
123
  }
117
- Cs = ri && ri.userAgentData || null, jr[" "] = function() {
124
+ Ls = ni && ni.userAgentData || null, jr[" "] = function() {
118
125
  };
119
- const Co = {};
126
+ const Po = {};
120
127
  let er = null;
121
- function Jc(e) {
128
+ function th(e) {
122
129
  const t = e.length;
123
130
  let r = 3 * t / 4;
124
131
  r % 3 ? r = Math.floor(r) : "=.".indexOf(e[t - 1]) != -1 && (r = "=.".indexOf(e[t - 2]) != -1 ? r - 2 : r - 1);
@@ -133,7 +140,7 @@ function Jc(e) {
133
140
  }
134
141
  return u;
135
142
  }
136
- Lo();
143
+ Mo();
137
144
  let c = 0;
138
145
  for (; ; ) {
139
146
  const u = a(-1), h = a(0), l = a(64), d = a(64);
@@ -144,13 +151,13 @@ function Jc(e) {
144
151
  s[n++] = i;
145
152
  })), n !== r ? s.subarray(0, n) : s;
146
153
  }
147
- function Lo() {
154
+ function Mo() {
148
155
  if (!er) {
149
156
  er = {};
150
157
  var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), t = ["+/=", "+/", "-_=", "-_.", "-_"];
151
158
  for (let r = 0; r < 5; r++) {
152
159
  const s = e.concat(t[r].split(""));
153
- Co[r] = s;
160
+ Po[r] = s;
154
161
  for (let n = 0; n < s.length; n++) {
155
162
  const i = s[n];
156
163
  er[i] === void 0 && (er[i] = n);
@@ -158,52 +165,52 @@ function Lo() {
158
165
  }
159
166
  }
160
167
  }
161
- var Zc = typeof Uint8Array < "u", Po = !(!(Qc && Cs && Cs.brands.length > 0) && (ti().indexOf("Trident") != -1 || ti().indexOf("MSIE") != -1)) && typeof btoa == "function";
162
- const si = /[-_.]/g, eh = { "-": "+", _: "/", ".": "=" };
163
- function th(e) {
164
- return eh[e] || "";
168
+ var rh = typeof Uint8Array < "u", xo = !(!(eh && Ls && Ls.brands.length > 0) && (si().indexOf("Trident") != -1 || si().indexOf("MSIE") != -1)) && typeof btoa == "function";
169
+ const ii = /[-_.]/g, sh = { "-": "+", _: "/", ".": "=" };
170
+ function nh(e) {
171
+ return sh[e] || "";
165
172
  }
166
- function Mo(e) {
167
- if (!Po) return Jc(e);
168
- e = si.test(e) ? e.replace(si, th) : e, e = atob(e);
173
+ function Fo(e) {
174
+ if (!xo) return th(e);
175
+ e = ii.test(e) ? e.replace(ii, nh) : e, e = atob(e);
169
176
  const t = new Uint8Array(e.length);
170
177
  for (let r = 0; r < e.length; r++) t[r] = e.charCodeAt(r);
171
178
  return t;
172
179
  }
173
- function Zs(e) {
174
- return Zc && e != null && e instanceof Uint8Array;
180
+ function en(e) {
181
+ return rh && e != null && e instanceof Uint8Array;
175
182
  }
176
183
  var St = {};
177
184
  function ut() {
178
- return rh || (rh = new Ce(null, St));
185
+ return ih || (ih = new Ce(null, St));
179
186
  }
180
- function en(e) {
181
- xo(St);
187
+ function tn(e) {
188
+ $o(St);
182
189
  var t = e.g;
183
- return (t = t == null || Zs(t) ? t : typeof t == "string" ? Mo(t) : null) == null ? t : e.g = t;
190
+ return (t = t == null || en(t) ? t : typeof t == "string" ? Fo(t) : null) == null ? t : e.g = t;
184
191
  }
185
192
  var Ce = class {
186
193
  h() {
187
- return new Uint8Array(en(this) || 0);
194
+ return new Uint8Array(tn(this) || 0);
188
195
  }
189
196
  constructor(t, r) {
190
- if (xo(r), this.g = t, t != null && t.length === 0) throw Error("ByteString should be constructed with non-empty values");
197
+ if ($o(r), this.g = t, t != null && t.length === 0) throw Error("ByteString should be constructed with non-empty values");
191
198
  }
192
199
  };
193
- let rh, sh;
194
- function xo(e) {
200
+ let ih, oh;
201
+ function $o(e) {
195
202
  if (e !== St) throw Error("illegal external caller");
196
203
  }
197
- function Fo(e, t) {
204
+ function Oo(e, t) {
198
205
  e.__closure__error__context__984382 || (e.__closure__error__context__984382 = {}), e.__closure__error__context__984382.severity = t;
199
206
  }
200
- function Ls(e) {
201
- return Fo(e = Error(e), "warning"), e;
207
+ function Ps(e) {
208
+ return Oo(e = Error(e), "warning"), e;
202
209
  }
203
210
  function Tt(e, t) {
204
211
  if (e != null) {
205
- var r = sh ?? (sh = {}), s = r[e] || 0;
206
- s >= t || (r[e] = s + 1, Fo(e = Error(), "incident"), To(e));
212
+ var r = oh ?? (oh = {}), s = r[e] || 0;
213
+ s >= t || (r[e] = s + 1, Oo(e = Error(), "incident"), Lo(e));
207
214
  }
208
215
  }
209
216
  function Bt() {
@@ -213,32 +220,32 @@ var Ut = typeof Symbol == "function" && typeof Symbol() == "symbol";
213
220
  function Le(e, t, r = !1) {
214
221
  return typeof Symbol == "function" && typeof Symbol() == "symbol" ? r && Symbol.for && e ? Symbol.for(e) : e != null ? Symbol(e) : Symbol() : t;
215
222
  }
216
- var nh = Le("jas", void 0, !0), ni = Le(void 0, "0di"), Qt = Le(void 0, "1oa"), oe = Le(void 0, Symbol()), ih = Le(void 0, "0ub"), oh = Le(void 0, "0ubs"), Ps = Le(void 0, "0ubsb"), ah = Le(void 0, "0actk"), Ct = Le("m_m", "Pa", !0), ii = Le();
217
- const $o = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Oo = Object.defineProperties, p = Ut ? nh : "Ga";
223
+ var ah = Le("jas", void 0, !0), oi = Le(void 0, "0di"), Qt = Le(void 0, "1oa"), oe = Le(void 0, Symbol()), ch = Le(void 0, "0ub"), hh = Le(void 0, "0ubs"), Ms = Le(void 0, "0ubsb"), uh = Le(void 0, "0actk"), Ct = Le("m_m", "Pa", !0), ai = Le();
224
+ const Ro = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Io = Object.defineProperties, p = Ut ? ah : "Ga";
218
225
  var pt;
219
- const oi = [];
220
- function mr(e, t) {
221
- Ut || p in e || Oo(e, $o), e[p] |= t;
226
+ const ci = [];
227
+ function gr(e, t) {
228
+ Ut || p in e || Io(e, Ro), e[p] |= t;
222
229
  }
223
230
  function H(e, t) {
224
- Ut || p in e || Oo(e, $o), e[p] = t;
231
+ Ut || p in e || Io(e, Ro), e[p] = t;
225
232
  }
226
233
  function yr(e) {
227
- return mr(e, 34), e;
234
+ return gr(e, 34), e;
228
235
  }
229
236
  function hr(e) {
230
- return mr(e, 8192), e;
237
+ return gr(e, 8192), e;
231
238
  }
232
- H(oi, 7), pt = Object.freeze(oi);
239
+ H(ci, 7), pt = Object.freeze(ci);
233
240
  var Lt = {};
234
241
  function ce(e, t) {
235
242
  return t === void 0 ? e.h !== lt && !!(2 & (0 | e.v[p])) : !!(2 & t) && e.h !== lt;
236
243
  }
237
244
  const lt = {};
238
- function tn(e, t) {
245
+ function rn(e, t) {
239
246
  if (e != null) {
240
247
  if (typeof e == "string") e = e ? new Ce(e, St) : ut();
241
- else if (e.constructor !== Ce) if (Zs(e)) e = e.length ? new Ce(new Uint8Array(e), St) : ut();
248
+ else if (e.constructor !== Ce) if (en(e)) e = e.length ? new Ce(new Uint8Array(e), St) : ut();
242
249
  else {
243
250
  if (!t) throw Error();
244
251
  e = void 0;
@@ -246,7 +253,7 @@ function tn(e, t) {
246
253
  }
247
254
  return e;
248
255
  }
249
- class ai {
256
+ class hi {
250
257
  constructor(t, r, s) {
251
258
  this.g = t, this.h = r, this.l = s;
252
259
  }
@@ -258,8 +265,8 @@ class ai {
258
265
  return this;
259
266
  }
260
267
  }
261
- var ch = Object.freeze({});
262
- function Ro(e, t, r) {
268
+ var lh = Object.freeze({});
269
+ function No(e, t, r) {
263
270
  const s = 128 & t ? 0 : -1, n = e.length;
264
271
  var i;
265
272
  (i = !!n) && (i = (i = e[n - 1]) != null && typeof i == "object" && i.constructor === Object);
@@ -270,24 +277,24 @@ function Ro(e, t, r) {
270
277
  for (const a in e) !isNaN(a) && r(+a, e[a]);
271
278
  }
272
279
  }
273
- var Io = {};
280
+ var Bo = {};
274
281
  function Dt(e) {
275
- return 128 & e ? Io : void 0;
282
+ return 128 & e ? Bo : void 0;
276
283
  }
277
284
  function Vr(e) {
278
285
  return e.Na = !0, e;
279
286
  }
280
- var hh = Vr(((e) => typeof e == "number")), ci = Vr(((e) => typeof e == "string")), uh = Vr(((e) => typeof e == "boolean")), Gr = typeof kt.BigInt == "function" && typeof kt.BigInt(0) == "bigint";
287
+ var dh = Vr(((e) => typeof e == "number")), ui = Vr(((e) => typeof e == "string")), fh = Vr(((e) => typeof e == "boolean")), Gr = typeof kt.BigInt == "function" && typeof kt.BigInt(0) == "bigint";
281
288
  function ae(e) {
282
289
  var t = e;
283
- if (ci(t)) {
290
+ if (ui(t)) {
284
291
  if (!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(t)) throw Error(String(t));
285
- } else if (hh(t) && !Number.isSafeInteger(t)) throw Error(String(t));
286
- return Gr ? BigInt(e) : e = uh(e) ? e ? "1" : "0" : ci(e) ? e.trim() || "0" : String(e);
292
+ } else if (dh(t) && !Number.isSafeInteger(t)) throw Error(String(t));
293
+ return Gr ? BigInt(e) : e = fh(e) ? e ? "1" : "0" : ui(e) ? e.trim() || "0" : String(e);
287
294
  }
288
- var Ms = Vr(((e) => Gr ? e >= dh && e <= ph : e[0] === "-" ? hi(e, lh) : hi(e, fh)));
289
- const lh = Number.MIN_SAFE_INTEGER.toString(), dh = Gr ? BigInt(Number.MIN_SAFE_INTEGER) : void 0, fh = Number.MAX_SAFE_INTEGER.toString(), ph = Gr ? BigInt(Number.MAX_SAFE_INTEGER) : void 0;
290
- function hi(e, t) {
295
+ var xs = Vr(((e) => Gr ? e >= mh && e <= yh : e[0] === "-" ? li(e, ph) : li(e, gh)));
296
+ const ph = Number.MIN_SAFE_INTEGER.toString(), mh = Gr ? BigInt(Number.MIN_SAFE_INTEGER) : void 0, gh = Number.MAX_SAFE_INTEGER.toString(), yh = Gr ? BigInt(Number.MAX_SAFE_INTEGER) : void 0;
297
+ function li(e, t) {
291
298
  if (e.length > t.length) return !1;
292
299
  if (e.length < t.length || e === t) return !0;
293
300
  for (let r = 0; r < e.length; r++) {
@@ -296,49 +303,49 @@ function hi(e, t) {
296
303
  if (s < n) return !0;
297
304
  }
298
305
  }
299
- const gh = typeof Uint8Array.prototype.slice == "function";
300
- let mh, M = 0, B = 0;
301
- function ui(e) {
306
+ const bh = typeof Uint8Array.prototype.slice == "function";
307
+ let vh, M = 0, B = 0;
308
+ function di(e) {
302
309
  const t = e >>> 0;
303
310
  M = t, B = (e - t) / 4294967296 >>> 0;
304
311
  }
305
312
  function Pt(e) {
306
313
  if (e < 0) {
307
- ui(-e);
308
- const [t, r] = on(M, B);
314
+ di(-e);
315
+ const [t, r] = an(M, B);
309
316
  M = t >>> 0, B = r >>> 0;
310
- } else ui(e);
317
+ } else di(e);
311
318
  }
312
- function rn(e) {
313
- const t = mh || (mh = new DataView(new ArrayBuffer(8)));
319
+ function sn(e) {
320
+ const t = vh || (vh = new DataView(new ArrayBuffer(8)));
314
321
  t.setFloat32(0, +e, !0), B = 0, M = t.getUint32(0, !0);
315
322
  }
316
- function xs(e, t) {
323
+ function Fs(e, t) {
317
324
  const r = 4294967296 * t + (e >>> 0);
318
325
  return Number.isSafeInteger(r) ? r : ur(e, t);
319
326
  }
320
- function yh(e, t) {
327
+ function _h(e, t) {
321
328
  return ae(Bt() ? BigInt.asUintN(64, (BigInt(t >>> 0) << BigInt(32)) + BigInt(e >>> 0)) : ur(e, t));
322
329
  }
323
- function sn(e, t) {
330
+ function nn(e, t) {
324
331
  const r = 2147483648 & t;
325
- return r && (t = ~t >>> 0, (e = 1 + ~e >>> 0) == 0 && (t = t + 1 >>> 0)), typeof (e = xs(e, t)) == "number" ? r ? -e : e : r ? "-" + e : e;
332
+ return r && (t = ~t >>> 0, (e = 1 + ~e >>> 0) == 0 && (t = t + 1 >>> 0)), typeof (e = Fs(e, t)) == "number" ? r ? -e : e : r ? "-" + e : e;
326
333
  }
327
- function No(e, t) {
328
- return Bt() ? ae(BigInt.asIntN(64, (BigInt.asUintN(32, BigInt(t)) << BigInt(32)) + BigInt.asUintN(32, BigInt(e)))) : ae(nn(e, t));
334
+ function Uo(e, t) {
335
+ return Bt() ? ae(BigInt.asIntN(64, (BigInt.asUintN(32, BigInt(t)) << BigInt(32)) + BigInt.asUintN(32, BigInt(e)))) : ae(on(e, t));
329
336
  }
330
337
  function ur(e, t) {
331
338
  if (e >>>= 0, (t >>>= 0) <= 2097151) var r = "" + (4294967296 * t + e);
332
- else Bt() ? r = "" + (BigInt(t) << BigInt(32) | BigInt(e)) : (e = (16777215 & e) + 6777216 * (r = 16777215 & (e >>> 24 | t << 8)) + 6710656 * (t = t >> 16 & 65535), r += 8147497 * t, t *= 2, e >= 1e7 && (r += e / 1e7 >>> 0, e %= 1e7), r >= 1e7 && (t += r / 1e7 >>> 0, r %= 1e7), r = t + li(r) + li(e));
339
+ else Bt() ? r = "" + (BigInt(t) << BigInt(32) | BigInt(e)) : (e = (16777215 & e) + 6777216 * (r = 16777215 & (e >>> 24 | t << 8)) + 6710656 * (t = t >> 16 & 65535), r += 8147497 * t, t *= 2, e >= 1e7 && (r += e / 1e7 >>> 0, e %= 1e7), r >= 1e7 && (t += r / 1e7 >>> 0, r %= 1e7), r = t + fi(r) + fi(e));
333
340
  return r;
334
341
  }
335
- function li(e) {
342
+ function fi(e) {
336
343
  return e = String(e), "0000000".slice(e.length) + e;
337
344
  }
338
- function nn(e, t) {
345
+ function on(e, t) {
339
346
  if (2147483648 & t) if (Bt()) e = "" + (BigInt(0 | t) << BigInt(32) | BigInt(e >>> 0));
340
347
  else {
341
- const [r, s] = on(e, t);
348
+ const [r, s] = an(e, t);
342
349
  e = "-" + ur(r, s);
343
350
  }
344
351
  else e = ur(e, t);
@@ -356,18 +363,18 @@ function Hr(e) {
356
363
  B *= 1e6, M = 1e6 * M + i, M >= 4294967296 && (B += Math.trunc(M / 4294967296), B >>>= 0, M >>>= 0);
357
364
  }
358
365
  if (t) {
359
- const [s, n] = on(M, B);
366
+ const [s, n] = an(M, B);
360
367
  M = s, B = n;
361
368
  }
362
369
  }
363
370
  }
364
- function on(e, t) {
371
+ function an(e, t) {
365
372
  return t = ~t, e ? e = 1 + ~e : t += 1, [e, t];
366
373
  }
367
374
  function ve(e) {
368
375
  return Array.prototype.slice.call(e);
369
376
  }
370
- const br = typeof BigInt == "function" ? BigInt.asIntN : void 0, bh = typeof BigInt == "function" ? BigInt.asUintN : void 0, dt = Number.isSafeInteger, zr = Number.isFinite, Mt = Math.trunc, vh = ae(0);
377
+ const br = typeof BigInt == "function" ? BigInt.asIntN : void 0, wh = typeof BigInt == "function" ? BigInt.asUintN : void 0, dt = Number.isSafeInteger, zr = Number.isFinite, Mt = Math.trunc, Ah = ae(0);
371
378
  function tr(e) {
372
379
  if (e != null && typeof e != "number") throw Error(`Value of float/double field must be a number, found ${typeof e}: ${e}`);
373
380
  return e;
@@ -382,10 +389,10 @@ function lr(e) {
382
389
  }
383
390
  return e;
384
391
  }
385
- function Bo(e) {
392
+ function Do(e) {
386
393
  return e == null || typeof e == "boolean" ? e : typeof e == "number" ? !!e : void 0;
387
394
  }
388
- const _h = /^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;
395
+ const Eh = /^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;
389
396
  function vr(e) {
390
397
  switch (typeof e) {
391
398
  case "bigint":
@@ -393,7 +400,7 @@ function vr(e) {
393
400
  case "number":
394
401
  return zr(e);
395
402
  case "string":
396
- return _h.test(e);
403
+ return Eh.test(e);
397
404
  default:
398
405
  return !1;
399
406
  }
@@ -404,38 +411,38 @@ function jt(e) {
404
411
  else if (typeof e != "number") return;
405
412
  return zr(e) ? 0 | e : void 0;
406
413
  }
407
- function Uo(e) {
414
+ function jo(e) {
408
415
  if (e == null) return e;
409
416
  if (typeof e == "string" && e) e = +e;
410
417
  else if (typeof e != "number") return;
411
418
  return zr(e) ? e >>> 0 : void 0;
412
419
  }
413
- function Do(e) {
420
+ function Vo(e) {
414
421
  const t = e.length;
415
- return (e[0] === "-" ? t < 20 || t === 20 && e <= "-9223372036854775808" : t < 19 || t === 19 && e <= "9223372036854775807") ? e : (Hr(e), nn(M, B));
422
+ return (e[0] === "-" ? t < 20 || t === 20 && e <= "-9223372036854775808" : t < 19 || t === 19 && e <= "9223372036854775807") ? e : (Hr(e), on(M, B));
416
423
  }
417
- function an(e) {
418
- return e = Mt(e), dt(e) || (Pt(e), e = sn(M, B)), e;
424
+ function cn(e) {
425
+ return e = Mt(e), dt(e) || (Pt(e), e = nn(M, B)), e;
419
426
  }
420
- function jo(e) {
427
+ function Go(e) {
421
428
  var t = Mt(Number(e));
422
- return dt(t) ? String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Do(e));
429
+ return dt(t) ? String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Vo(e));
423
430
  }
424
- function Vo(e) {
431
+ function Ho(e) {
425
432
  var t = Mt(Number(e));
426
- return dt(t) ? ae(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Bt() ? ae(br(64, BigInt(e))) : ae(Do(e)));
433
+ return dt(t) ? ae(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Bt() ? ae(br(64, BigInt(e))) : ae(Vo(e)));
427
434
  }
428
- function Go(e) {
429
- return dt(e) ? e = ae(an(e)) : (e = Mt(e), dt(e) ? e = String(e) : (Pt(e), e = nn(M, B)), e = ae(e)), e;
435
+ function zo(e) {
436
+ return dt(e) ? e = ae(cn(e)) : (e = Mt(e), dt(e) ? e = String(e) : (Pt(e), e = on(M, B)), e = ae(e)), e;
430
437
  }
431
- function wh(e) {
432
- return e == null ? e : typeof e == "bigint" ? (Ms(e) ? e = Number(e) : (e = br(64, e), e = Ms(e) ? Number(e) : String(e)), e) : vr(e) ? typeof e == "number" ? an(e) : jo(e) : void 0;
438
+ function kh(e) {
439
+ return e == null ? e : typeof e == "bigint" ? (xs(e) ? e = Number(e) : (e = br(64, e), e = xs(e) ? Number(e) : String(e)), e) : vr(e) ? typeof e == "number" ? cn(e) : Go(e) : void 0;
433
440
  }
434
441
  function Fr(e) {
435
442
  const t = typeof e;
436
- return e == null ? e : t === "bigint" ? ae(br(64, e)) : vr(e) ? t === "string" ? Vo(e) : Go(e) : void 0;
443
+ return e == null ? e : t === "bigint" ? ae(br(64, e)) : vr(e) ? t === "string" ? Ho(e) : zo(e) : void 0;
437
444
  }
438
- function Ho(e) {
445
+ function Wo(e) {
439
446
  if (typeof e != "string") throw Error();
440
447
  return e;
441
448
  }
@@ -446,28 +453,28 @@ function _r(e) {
446
453
  function Y(e) {
447
454
  return e == null || typeof e == "string" ? e : void 0;
448
455
  }
449
- function cn(e, t, r, s) {
450
- return e != null && e[Ct] === Lt ? e : Array.isArray(e) ? ((s = (r = 0 | e[p]) | 32 & s | 2 & s) !== r && H(e, s), new t(e)) : (r ? 2 & s ? ((e = t[ni]) || (yr((e = new t()).v), e = t[ni] = e), t = e) : t = new t() : t = void 0, t);
456
+ function hn(e, t, r, s) {
457
+ return e != null && e[Ct] === Lt ? e : Array.isArray(e) ? ((s = (r = 0 | e[p]) | 32 & s | 2 & s) !== r && H(e, s), new t(e)) : (r ? 2 & s ? ((e = t[oi]) || (yr((e = new t()).v), e = t[oi] = e), t = e) : t = new t() : t = void 0, t);
451
458
  }
452
- function Ah(e, t, r) {
459
+ function Sh(e, t, r) {
453
460
  if (t) e: {
454
- if (!vr(t = e)) throw Ls("int64");
461
+ if (!vr(t = e)) throw Ps("int64");
455
462
  switch (typeof t) {
456
463
  case "string":
457
- t = Vo(t);
464
+ t = Ho(t);
458
465
  break e;
459
466
  case "bigint":
460
467
  t = ae(br(64, t));
461
468
  break e;
462
469
  default:
463
- t = Go(t);
470
+ t = zo(t);
464
471
  }
465
472
  }
466
473
  else t = Fr(e);
467
- return (e = t) == null ? r ? vh : void 0 : e;
474
+ return (e = t) == null ? r ? Ah : void 0 : e;
468
475
  }
469
- const Eh = {};
470
- let kh = (function() {
476
+ const Th = {};
477
+ let Ch = (function() {
471
478
  try {
472
479
  return jr(new class extends Map {
473
480
  constructor() {
@@ -478,7 +485,7 @@ let kh = (function() {
478
485
  return !0;
479
486
  }
480
487
  })();
481
- class ps {
488
+ class ms {
482
489
  constructor() {
483
490
  this.g = /* @__PURE__ */ new Map();
484
491
  }
@@ -513,20 +520,20 @@ class ps {
513
520
  return this.entries();
514
521
  }
515
522
  }
516
- const Sh = kh ? (Object.setPrototypeOf(ps.prototype, Map.prototype), Object.defineProperties(ps.prototype, { size: { value: 0, configurable: !0, enumerable: !0, writable: !0 } }), ps) : class extends Map {
523
+ const Lh = Ch ? (Object.setPrototypeOf(ms.prototype, Map.prototype), Object.defineProperties(ms.prototype, { size: { value: 0, configurable: !0, enumerable: !0, writable: !0 } }), ms) : class extends Map {
517
524
  constructor() {
518
525
  super();
519
526
  }
520
527
  };
521
- function di(e) {
528
+ function pi(e) {
522
529
  return e;
523
530
  }
524
531
  function gs(e) {
525
532
  if (2 & e.J) throw Error("Cannot mutate an immutable Map");
526
533
  }
527
- var Re = class extends Sh {
528
- constructor(e, t, r = di, s = di) {
529
- super(), this.J = 0 | e[p], this.K = t, this.S = r, this.fa = this.K ? Th : s;
534
+ var Re = class extends Lh {
535
+ constructor(e, t, r = pi, s = pi) {
536
+ super(), this.J = 0 | e[p], this.K = t, this.S = r, this.fa = this.K ? Ph : s;
530
537
  for (let n = 0; n < e.length; n++) {
531
538
  const i = e[n], o = r(i[0], !1, !0);
532
539
  let a = i[1];
@@ -545,14 +552,14 @@ var Re = class extends Sh {
545
552
  entries() {
546
553
  if (this.K) {
547
554
  var e = super.keys();
548
- e = new ai(e, Ch, this);
555
+ e = new hi(e, Mh, this);
549
556
  } else e = super.entries();
550
557
  return e;
551
558
  }
552
559
  values() {
553
560
  if (this.K) {
554
561
  var e = super.keys();
555
- e = new ai(e, Re.prototype.get, this);
562
+ e = new hi(e, Re.prototype.get, this);
556
563
  } else e = super.values();
557
564
  return e;
558
565
  }
@@ -583,15 +590,15 @@ var Re = class extends Sh {
583
590
  return this.entries();
584
591
  }
585
592
  };
586
- function Th(e, t, r, s, n, i) {
587
- return e = cn(e, s, r, i), n && (e = un(e)), e;
593
+ function Ph(e, t, r, s, n, i) {
594
+ return e = hn(e, s, r, i), n && (e = ln(e)), e;
588
595
  }
589
- function Ch(e) {
596
+ function Mh(e) {
590
597
  return [e, this.get(e)];
591
598
  }
592
- let Lh;
593
- function fi() {
594
- return Lh || (Lh = new Re(yr([]), void 0, void 0, void 0, Eh));
599
+ let xh;
600
+ function mi() {
601
+ return xh || (xh = new Re(yr([]), void 0, void 0, void 0, Th));
595
602
  }
596
603
  function Wr(e) {
597
604
  return oe ? e[oe] : void 0;
@@ -600,17 +607,17 @@ function $r(e, t) {
600
607
  for (const r in e) !isNaN(r) && t(e, +r, e[r]);
601
608
  }
602
609
  Re.prototype.toJSON = void 0;
603
- var Fs = class {
610
+ var $s = class {
604
611
  };
605
- const Ph = { Ka: !0 };
606
- function Mh(e, t) {
607
- t < 100 || Tt(oh, 1);
612
+ const Fh = { Ka: !0 };
613
+ function $h(e, t) {
614
+ t < 100 || Tt(hh, 1);
608
615
  }
609
616
  function Kr(e, t, r, s) {
610
617
  const n = s !== void 0;
611
618
  s = !!s;
612
619
  var i, o = oe;
613
- !n && Ut && o && (i = e[o]) && $r(i, Mh), o = [];
620
+ !n && Ut && o && (i = e[o]) && $r(i, $h), o = [];
614
621
  var a = e.length;
615
622
  let c;
616
623
  i = 4294967295;
@@ -629,14 +636,14 @@ function Kr(e, t, r, s) {
629
636
  let S;
630
637
  d = +b, h && !Number.isNaN(d) && (S = d + l) < i ? o[S] = a : (t ?? (t = {}))[b] = a;
631
638
  }
632
- return t && (u ? o.push(t) : o[i] = t), n && oe && (e = Wr(e)) && e instanceof Fs && (o[oe] = (function(b) {
633
- const S = new Fs();
639
+ return t && (u ? o.push(t) : o[i] = t), n && oe && (e = Wr(e)) && e instanceof $s && (o[oe] = (function(b) {
640
+ const S = new $s();
634
641
  return $r(b, ((ls, yt, Yt) => {
635
642
  S[yt] = ve(Yt);
636
643
  })), S.da = b.da, S;
637
644
  })(e)), o;
638
645
  }
639
- function xh(e) {
646
+ function Oh(e) {
640
647
  return e[0] = dr(e[0]), e[1] = dr(e[1]), e;
641
648
  }
642
649
  function dr(e) {
@@ -644,7 +651,7 @@ function dr(e) {
644
651
  case "number":
645
652
  return Number.isFinite(e) ? e : "" + e;
646
653
  case "bigint":
647
- return Ms(e) ? Number(e) : "" + e;
654
+ return xs(e) ? Number(e) : "" + e;
648
655
  case "boolean":
649
656
  return e ? 1 : 0;
650
657
  case "object":
@@ -652,16 +659,16 @@ function dr(e) {
652
659
  var t = 0 | e[p];
653
660
  return e.length === 0 && 1 & t ? void 0 : Kr(e, t, dr);
654
661
  }
655
- if (e != null && e[Ct] === Lt) return zo(e);
662
+ if (e != null && e[Ct] === Lt) return Ko(e);
656
663
  if (e instanceof Ce) {
657
664
  if ((t = e.g) == null) e = "";
658
665
  else if (typeof t == "string") e = t;
659
666
  else {
660
- if (Po) {
667
+ if (xo) {
661
668
  for (var r = "", s = 0, n = t.length - 10240; s < n; ) r += String.fromCharCode.apply(null, t.subarray(s, s += 10240));
662
669
  r += String.fromCharCode.apply(null, s ? t.subarray(s) : t), t = btoa(r);
663
670
  } else {
664
- r === void 0 && (r = 0), Lo(), r = Co[r], s = Array(Math.floor(t.length / 3)), n = r[64] || "";
671
+ r === void 0 && (r = 0), Mo(), r = Po[r], s = Array(Math.floor(t.length / 3)), n = r[64] || "";
665
672
  let u = 0, h = 0;
666
673
  for (; u < t.length - 2; u += 3) {
667
674
  var i = t[u], o = t[u + 1], a = t[u + 2], c = r[i >> 2];
@@ -679,27 +686,27 @@ function dr(e) {
679
686
  }
680
687
  return e;
681
688
  }
682
- return e instanceof Re ? e = e.size !== 0 ? e.V(xh) : void 0 : void 0;
689
+ return e instanceof Re ? e = e.size !== 0 ? e.V(Oh) : void 0 : void 0;
683
690
  }
684
691
  return e;
685
692
  }
686
- function zo(e) {
693
+ function Ko(e) {
687
694
  return Kr(e = e.v, 0 | e[p], dr);
688
695
  }
689
- let Fh, $h;
696
+ let Rh, Ih;
690
697
  function nt(e, t) {
691
- return Wo(e, t[0], t[1]);
698
+ return qo(e, t[0], t[1]);
692
699
  }
693
- function Wo(e, t, r, s = 0) {
700
+ function qo(e, t, r, s = 0) {
694
701
  if (e == null) {
695
702
  var n = 32;
696
703
  r ? (e = [r], n |= 128) : e = [], t && (n = -16760833 & n | (1023 & t) << 14);
697
704
  } else {
698
705
  if (!Array.isArray(e)) throw Error("narr");
699
- if (n = 0 | e[p], ei && 1 & n) throw Error("rfarr");
706
+ if (n = 0 | e[p], ri && 1 & n) throw Error("rfarr");
700
707
  if (2048 & n && !(2 & n) && (function() {
701
- if (ei) throw Error("carr");
702
- Tt(ah, 5);
708
+ if (ri) throw Error("carr");
709
+ Tt(uh, 5);
703
710
  })(), 256 & n) throw Error("farr");
704
711
  if (64 & n) return (n | s) !== n && H(e, n | s), e;
705
712
  if (r && (n |= 128, r !== e[0])) throw Error("mid");
@@ -724,57 +731,57 @@ function Wo(e, t, r, s = 0) {
724
731
  }
725
732
  return H(e, 64 | n | s), e;
726
733
  }
727
- function Oh(e, t) {
734
+ function Nh(e, t) {
728
735
  if (typeof e != "object") return e;
729
736
  if (Array.isArray(e)) {
730
737
  var r = 0 | e[p];
731
- return e.length === 0 && 1 & r ? void 0 : pi(e, r, t);
738
+ return e.length === 0 && 1 & r ? void 0 : gi(e, r, t);
732
739
  }
733
- if (e != null && e[Ct] === Lt) return gi(e);
740
+ if (e != null && e[Ct] === Lt) return yi(e);
734
741
  if (e instanceof Re) {
735
742
  if (2 & (t = e.J)) return e;
736
743
  if (!e.size) return;
737
744
  if (r = yr(e.V()), e.K) for (e = 0; e < r.length; e++) {
738
745
  const s = r[e];
739
746
  let n = s[1];
740
- n = n == null || typeof n != "object" ? void 0 : n != null && n[Ct] === Lt ? gi(n) : Array.isArray(n) ? pi(n, 0 | n[p], !!(32 & t)) : void 0, s[1] = n;
747
+ n = n == null || typeof n != "object" ? void 0 : n != null && n[Ct] === Lt ? yi(n) : Array.isArray(n) ? gi(n, 0 | n[p], !!(32 & t)) : void 0, s[1] = n;
741
748
  }
742
749
  return r;
743
750
  }
744
751
  return e instanceof Ce ? e : void 0;
745
752
  }
746
- function pi(e, t, r) {
747
- return 2 & t || (!r || 4096 & t || 16 & t ? e = Vt(e, t, !1, r && !(16 & t)) : (mr(e, 34), 4 & t && Object.freeze(e))), e;
753
+ function gi(e, t, r) {
754
+ return 2 & t || (!r || 4096 & t || 16 & t ? e = Vt(e, t, !1, r && !(16 & t)) : (gr(e, 34), 4 & t && Object.freeze(e))), e;
748
755
  }
749
- function hn(e, t, r) {
756
+ function un(e, t, r) {
750
757
  return e = new e.constructor(t), r && (e.h = lt), e.m = lt, e;
751
758
  }
752
- function gi(e) {
759
+ function yi(e) {
753
760
  const t = e.v, r = 0 | t[p];
754
- return ce(e, r) ? e : ln(e, t, r) ? hn(e, t) : Vt(t, r);
761
+ return ce(e, r) ? e : dn(e, t, r) ? un(e, t) : Vt(t, r);
755
762
  }
756
763
  function Vt(e, t, r, s) {
757
- return s ?? (s = !!(34 & t)), e = Kr(e, t, Oh, s), s = 32, r && (s |= 2), H(e, t = 16769217 & t | s), e;
764
+ return s ?? (s = !!(34 & t)), e = Kr(e, t, Nh, s), s = 32, r && (s |= 2), H(e, t = 16769217 & t | s), e;
758
765
  }
759
- function un(e) {
766
+ function ln(e) {
760
767
  const t = e.v, r = 0 | t[p];
761
- return ce(e, r) ? ln(e, t, r) ? hn(e, t, !0) : new e.constructor(Vt(t, r, !1)) : e;
768
+ return ce(e, r) ? dn(e, t, r) ? un(e, t, !0) : new e.constructor(Vt(t, r, !1)) : e;
762
769
  }
763
770
  function Gt(e) {
764
771
  if (e.h !== lt) return !1;
765
772
  var t = e.v;
766
- return mr(t = Vt(t, 0 | t[p]), 2048), e.v = t, e.h = void 0, e.m = void 0, !0;
773
+ return gr(t = Vt(t, 0 | t[p]), 2048), e.v = t, e.h = void 0, e.m = void 0, !0;
767
774
  }
768
775
  function Ht(e) {
769
776
  if (!Gt(e) && ce(e, 0 | e.v[p])) throw Error();
770
777
  }
771
- function gt(e, t) {
778
+ function mt(e, t) {
772
779
  t === void 0 && (t = 0 | e[p]), 32 & t && !(4096 & t) && H(e, 4096 | t);
773
780
  }
774
- function ln(e, t, r) {
781
+ function dn(e, t, r) {
775
782
  return !!(2 & r) || !(!(32 & r) || 4096 & r) && (H(t, 2 | r), e.h = lt, !0);
776
783
  }
777
- const Rh = ae(0), De = {};
784
+ const Bh = ae(0), De = {};
778
785
  function L(e, t, r, s, n) {
779
786
  if ((t = Ie(e.v, t, r, n)) !== null || s && e.m !== lt) return t;
780
787
  }
@@ -809,12 +816,12 @@ function V(e, t, r, s, n) {
809
816
  return i <= o ? (e[i] = s, t) : (s !== void 0 && (r >= (o = (t ?? (t = 0 | e[p])) >> 14 & 1023 || 536870912) ? s != null && (e[o + (n ? 0 : -1)] = { [r]: s }) : e[i] = s), t);
810
817
  }
811
818
  function tt() {
812
- return ch === void 0 ? 2 : 4;
819
+ return lh === void 0 ? 2 : 4;
813
820
  }
814
821
  function rt(e, t, r, s, n) {
815
822
  let i = e.v, o = 0 | i[p];
816
823
  s = ce(e, o) ? 1 : s, n = !!n || s === 3, s === 2 && Gt(e) && (i = e.v, o = 0 | i[p]);
817
- let a = (e = dn(i, t)) === pt ? 7 : 0 | e[p], c = fn(a, o);
824
+ let a = (e = fn(i, t)) === pt ? 7 : 0 | e[p], c = pn(a, o);
818
825
  var u = !(4 & c);
819
826
  if (u) {
820
827
  4 & c && (e = ve(e), a = 0, c = ot(c, o), o = V(i, o, t, e));
@@ -825,25 +832,25 @@ function rt(e, t, r, s, n) {
825
832
  }
826
833
  l < h && (e.length = l), r = -513 & (4 | c), c = r &= -1025, c &= -4097;
827
834
  }
828
- return c !== a && (H(e, c), 2 & c && Object.freeze(e)), Ko(e, c, i, o, t, s, u, n);
835
+ return c !== a && (H(e, c), 2 & c && Object.freeze(e)), Xo(e, c, i, o, t, s, u, n);
829
836
  }
830
- function Ko(e, t, r, s, n, i, o, a) {
837
+ function Xo(e, t, r, s, n, i, o, a) {
831
838
  let c = t;
832
- return i === 1 || i === 4 && (2 & t || !(16 & t) && 32 & s) ? it(t) || ((t |= !e.length || o && !(4096 & t) || 32 & s && !(4096 & t || 16 & t) ? 2 : 256) !== c && H(e, t), Object.freeze(e)) : (i === 2 && it(t) && (e = ve(e), c = 0, t = ot(t, s), s = V(r, s, n, e)), it(t) || (a || (t |= 16), t !== c && H(e, t))), 2 & t || !(4096 & t || 16 & t) || gt(r, s), e;
839
+ return i === 1 || i === 4 && (2 & t || !(16 & t) && 32 & s) ? it(t) || ((t |= !e.length || o && !(4096 & t) || 32 & s && !(4096 & t || 16 & t) ? 2 : 256) !== c && H(e, t), Object.freeze(e)) : (i === 2 && it(t) && (e = ve(e), c = 0, t = ot(t, s), s = V(r, s, n, e)), it(t) || (a || (t |= 16), t !== c && H(e, t))), 2 & t || !(4096 & t || 16 & t) || mt(r, s), e;
833
840
  }
834
- function dn(e, t, r) {
841
+ function fn(e, t, r) {
835
842
  return e = Ie(e, t, r), Array.isArray(e) ? e : pt;
836
843
  }
837
- function fn(e, t) {
844
+ function pn(e, t) {
838
845
  return 2 & t && (e |= 2), 1 | e;
839
846
  }
840
847
  function it(e) {
841
848
  return !!(2 & e) && !!(4 & e) || !!(256 & e);
842
849
  }
843
- function qo(e) {
844
- return tn(e, !0);
850
+ function Yo(e) {
851
+ return rn(e, !0);
845
852
  }
846
- function Xo(e) {
853
+ function Qo(e) {
847
854
  e = ve(e);
848
855
  for (let t = 0; t < e.length; t++) {
849
856
  const r = e[t] = ve(e[t]);
@@ -857,21 +864,21 @@ function Ve(e, t, r, s) {
857
864
  function zt(e, t, r) {
858
865
  if (2 & t) throw Error();
859
866
  const s = Dt(t);
860
- let n = dn(e, r, s), i = n === pt ? 7 : 0 | n[p], o = fn(i, t);
867
+ let n = fn(e, r, s), i = n === pt ? 7 : 0 | n[p], o = pn(i, t);
861
868
  return (2 & o || it(o) || 16 & o) && (o === i || it(o) || H(n, o), n = ve(n), i = 0, o = ot(o, t), V(e, t, r, n, s)), o &= -13, o !== i && H(n, o), n;
862
869
  }
863
- function ms(e, t) {
864
- var r = ja;
865
- return gn(pn(e = e.v), e, void 0, r) === t ? t : -1;
870
+ function ys(e, t) {
871
+ var r = Ga;
872
+ return gn(mn(e = e.v), e, void 0, r) === t ? t : -1;
866
873
  }
867
- function pn(e) {
874
+ function mn(e) {
868
875
  if (Ut) return e[Qt] ?? (e[Qt] = /* @__PURE__ */ new Map());
869
876
  if (Qt in e) return e[Qt];
870
877
  const t = /* @__PURE__ */ new Map();
871
878
  return Object.defineProperty(e, Qt, { value: t }), t;
872
879
  }
873
- function Yo(e, t, r, s, n) {
874
- const i = pn(e), o = gn(i, e, t, r, n);
880
+ function Jo(e, t, r, s, n) {
881
+ const i = mn(e), o = gn(i, e, t, r, n);
875
882
  return o !== s && (o && (t = V(e, t, o, void 0, n)), i.set(r, s)), t;
876
883
  }
877
884
  function gn(e, t, r, s, n) {
@@ -884,7 +891,7 @@ function gn(e, t, r, s, n) {
884
891
  }
885
892
  return e.set(s, i), i;
886
893
  }
887
- function mn(e, t, r) {
894
+ function yn(e, t, r) {
888
895
  let s = 0 | e[p];
889
896
  const n = Dt(s), i = Ie(e, r, n);
890
897
  let o;
@@ -898,37 +905,37 @@ function mn(e, t, r) {
898
905
  }
899
906
  return o = nt(o, t), o !== i && V(e, s, r, o, n), o;
900
907
  }
901
- function Qo(e, t, r, s, n) {
908
+ function Zo(e, t, r, s, n) {
902
909
  let i = !1;
903
910
  if ((s = Ie(e, s, n, ((o) => {
904
- const a = cn(o, r, !1, t);
911
+ const a = hn(o, r, !1, t);
905
912
  return i = a !== o && a != null, a;
906
- }))) != null) return i && !ce(s) && gt(e, t), s;
913
+ }))) != null) return i && !ce(s) && mt(e, t), s;
907
914
  }
908
915
  function A(e, t, r, s) {
909
916
  let n = e.v, i = 0 | n[p];
910
- if ((t = Qo(n, i, t, r, s)) == null) return t;
917
+ if ((t = Zo(n, i, t, r, s)) == null) return t;
911
918
  if (i = 0 | n[p], !ce(e, i)) {
912
- const o = un(t);
913
- o !== t && (Gt(e) && (n = e.v, i = 0 | n[p]), i = V(n, i, r, t = o, s), gt(n, i));
919
+ const o = ln(t);
920
+ o !== t && (Gt(e) && (n = e.v, i = 0 | n[p]), i = V(n, i, r, t = o, s), mt(n, i));
914
921
  }
915
922
  return t;
916
923
  }
917
- function Jo(e, t, r, s, n, i, o, a) {
924
+ function ea(e, t, r, s, n, i, o, a) {
918
925
  var c = ce(e, r);
919
926
  i = c ? 1 : i, o = !!o || i === 3, c = a && !c, (i === 2 || c) && Gt(e) && (r = 0 | (t = e.v)[p]);
920
- var u = (e = dn(t, n)) === pt ? 7 : 0 | e[p], h = fn(u, r);
927
+ var u = (e = fn(t, n)) === pt ? 7 : 0 | e[p], h = pn(u, r);
921
928
  if (a = !(4 & h)) {
922
929
  var l = e, d = r;
923
930
  const b = !!(2 & h);
924
931
  b && (d |= 2);
925
932
  let S = !b, ls = !0, yt = 0, Yt = 0;
926
933
  for (; yt < l.length; yt++) {
927
- const ds = cn(l[yt], s, !1, d);
934
+ const ds = hn(l[yt], s, !1, d);
928
935
  if (ds instanceof s) {
929
936
  if (!b) {
930
- const Jn = ce(ds);
931
- S && (S = !Jn), ls && (ls = Jn);
937
+ const Zn = ce(ds);
938
+ S && (S = !Zn), ls && (ls = Zn);
932
939
  }
933
940
  l[Yt++] = ds;
934
941
  }
@@ -936,55 +943,55 @@ function Jo(e, t, r, s, n, i, o, a) {
936
943
  Yt < yt && (l.length = Yt), h |= 4, h = ls ? -4097 & h : 4096 | h, h = S ? 8 | h : -9 & h;
937
944
  }
938
945
  if (h !== u && (H(e, h), 2 & h && Object.freeze(e)), c && !(8 & h || !e.length && (i === 1 || i === 4 && (2 & h || !(16 & h) && 32 & r)))) {
939
- for (it(h) && (e = ve(e), h = ot(h, r), r = V(t, r, n, e)), s = e, c = h, u = 0; u < s.length; u++) (l = s[u]) !== (h = un(l)) && (s[u] = h);
946
+ for (it(h) && (e = ve(e), h = ot(h, r), r = V(t, r, n, e)), s = e, c = h, u = 0; u < s.length; u++) (l = s[u]) !== (h = ln(l)) && (s[u] = h);
940
947
  c |= 8, H(e, h = c = s.length ? 4096 | c : -4097 & c);
941
948
  }
942
- return Ko(e, h, t, r, n, i, a, o);
949
+ return Xo(e, h, t, r, n, i, a, o);
943
950
  }
944
951
  function Ne(e, t, r) {
945
952
  const s = e.v;
946
- return Jo(e, s, 0 | s[p], t, r, tt(), !1, !0);
953
+ return ea(e, s, 0 | s[p], t, r, tt(), !1, !0);
947
954
  }
948
- function Zo(e) {
955
+ function ta(e) {
949
956
  return e == null && (e = void 0), e;
950
957
  }
951
958
  function v(e, t, r, s, n) {
952
- return k(e, r, s = Zo(s), n), s && !ce(s) && gt(e.v), e;
959
+ return k(e, r, s = ta(s), n), s && !ce(s) && mt(e.v), e;
953
960
  }
954
961
  function rr(e, t, r, s) {
955
962
  e: {
956
- var n = s = Zo(s);
963
+ var n = s = ta(s);
957
964
  Ht(e);
958
965
  const i = e.v;
959
966
  let o = 0 | i[p];
960
967
  if (n == null) {
961
- const a = pn(i);
968
+ const a = mn(i);
962
969
  if (gn(a, i, o, r) !== t) break e;
963
970
  a.set(r, 0);
964
- } else o = Yo(i, o, r, t);
971
+ } else o = Jo(i, o, r, t);
965
972
  V(i, o, t, n);
966
973
  }
967
- s && !ce(s) && gt(e.v);
974
+ s && !ce(s) && mt(e.v);
968
975
  }
969
976
  function ot(e, t) {
970
977
  return -273 & (2 & t ? 2 | e : -3 & e);
971
978
  }
972
- function yn(e, t, r, s) {
979
+ function bn(e, t, r, s) {
973
980
  var n = s;
974
- Ht(e), e = Jo(e, s = e.v, 0 | s[p], r, t, 2, !0), n = n ?? new r(), e.push(n), t = r = e === pt ? 7 : 0 | e[p], (n = ce(n)) ? (r &= -9, e.length === 1 && (r &= -4097)) : r |= 4096, r !== t && H(e, r), n || gt(s);
981
+ Ht(e), e = ea(e, s = e.v, 0 | s[p], r, t, 2, !0), n = n ?? new r(), e.push(n), t = r = e === pt ? 7 : 0 | e[p], (n = ce(n)) ? (r &= -9, e.length === 1 && (r &= -4097)) : r |= 4096, r !== t && H(e, r), n || mt(s);
975
982
  }
976
- function me(e, t, r) {
983
+ function ge(e, t, r) {
977
984
  return jt(L(e, t, void 0, r));
978
985
  }
979
- function ea(e) {
980
- return (Js ? L(e, 2, void 0, void 0, Fr) : Fr(L(e, 2))) ?? Rh;
986
+ function ra(e) {
987
+ return (Zs ? L(e, 2, void 0, void 0, Fr) : Fr(L(e, 2))) ?? Bh;
981
988
  }
982
989
  function I(e, t) {
983
990
  return L(e, t, void 0, void 0, Te) ?? 0;
984
991
  }
985
992
  function Be(e, t, r) {
986
993
  if (r != null) {
987
- if (typeof r != "number" || !zr(r)) throw Ls("int32");
994
+ if (typeof r != "number" || !zr(r)) throw Ps("int32");
988
995
  r |= 0;
989
996
  }
990
997
  k(e, t, r);
@@ -1003,8 +1010,8 @@ function Or(e, t, r) {
1003
1010
  if (r == null) V(o, a, t);
1004
1011
  else {
1005
1012
  var s = e = r === pt ? 7 : 0 | r[p], n = it(e), i = n || Object.isFrozen(r);
1006
- for (n || (e = 0), i || (r = ve(r), s = 0, e = ot(e, a), i = !1), e |= 5, e |= (4 & e ? 512 & e ? 512 : 1024 & e ? 1024 : 0 : void 0) ?? (Js ? 1024 : 0), n = 0; n < r.length; n++) {
1007
- const c = r[n], u = Ho(c);
1013
+ for (n || (e = 0), i || (r = ve(r), s = 0, e = ot(e, a), i = !1), e |= 5, e |= (4 & e ? 512 & e ? 512 : 1024 & e ? 1024 : 0 : void 0) ?? (Zs ? 1024 : 0), n = 0; n < r.length; n++) {
1014
+ const c = r[n], u = Wo(c);
1008
1015
  Object.is(c, u) || (i && (r = ve(r), s = 0, e = ot(e, a), i = !1), r[n] = u);
1009
1016
  }
1010
1017
  e !== s && (i && (r = ve(r), e = ot(e, a)), H(r, e)), V(o, a, t, r);
@@ -1012,7 +1019,7 @@ function Or(e, t, r) {
1012
1019
  }
1013
1020
  }
1014
1021
  function qr(e, t, r) {
1015
- Ht(e), rt(e, t, Y, 2, !0).push(Ho(r));
1022
+ Ht(e), rt(e, t, Y, 2, !0).push(Wo(r));
1016
1023
  }
1017
1024
  var bt = class {
1018
1025
  constructor(e, t, r) {
@@ -1020,12 +1027,12 @@ var bt = class {
1020
1027
  this.g = t;
1021
1028
  }
1022
1029
  };
1023
- function bn(e, t) {
1024
- if (typeof e == "string") return new bt(Mo(e), t);
1030
+ function vn(e, t) {
1031
+ if (typeof e == "string") return new bt(Fo(e), t);
1025
1032
  if (Array.isArray(e)) return new bt(new Uint8Array(e), t);
1026
1033
  if (e.constructor === Uint8Array) return new bt(e, !1);
1027
1034
  if (e.constructor === ArrayBuffer) return e = new Uint8Array(e), new bt(e, !1);
1028
- if (e.constructor === Ce) return t = en(e) || new Uint8Array(0), new bt(t, !0, e);
1035
+ if (e.constructor === Ce) return t = tn(e) || new Uint8Array(0), new bt(t, !0, e);
1029
1036
  if (e instanceof Uint8Array) return e = e.constructor === Uint8Array ? e : new Uint8Array(e.buffer, e.byteOffset, e.byteLength), new bt(e, !1);
1030
1037
  throw Error();
1031
1038
  }
@@ -1040,7 +1047,7 @@ function xt(e, t) {
1040
1047
  if (at(e, a), !(128 & r)) return t(s >>> 0, n >>> 0);
1041
1048
  throw Error();
1042
1049
  }
1043
- function vn(e) {
1050
+ function _n(e) {
1044
1051
  let t = 0, r = e.g;
1045
1052
  const s = r + 10, n = e.h;
1046
1053
  for (; r < s; ) {
@@ -1065,35 +1072,35 @@ function Rr(e) {
1065
1072
  const i = t[r + 2];
1066
1073
  return t = t[r + 3], at(e, e.g + 4), e = 2 * ((n = (s << 0 | n << 8 | i << 16 | t << 24) >>> 0) >> 31) + 1, s = n >>> 23 & 255, n &= 8388607, s == 255 ? n ? NaN : e * (1 / 0) : s == 0 ? 1401298464324817e-60 * e * n : e * Math.pow(2, s - 150) * (n + 8388608);
1067
1074
  }
1068
- function Ih(e) {
1075
+ function Uh(e) {
1069
1076
  return Ke(e);
1070
1077
  }
1071
1078
  function at(e, t) {
1072
1079
  if (e.g = t, t > e.l) throw Error();
1073
1080
  }
1074
- function ta(e, t) {
1081
+ function sa(e, t) {
1075
1082
  if (t < 0) throw Error();
1076
1083
  const r = e.g;
1077
1084
  if ((t = r + t) > e.l) throw Error();
1078
1085
  return e.g = t, r;
1079
1086
  }
1080
- function ra(e, t) {
1087
+ function na(e, t) {
1081
1088
  if (t == 0) return ut();
1082
- var r = ta(e, t);
1083
- return e.Y && e.j ? r = e.h.subarray(r, r + t) : (e = e.h, r = r === (t = r + t) ? new Uint8Array(0) : gh ? e.slice(r, t) : new Uint8Array(e.subarray(r, t))), r.length == 0 ? ut() : new Ce(r, St);
1089
+ var r = sa(e, t);
1090
+ return e.Y && e.j ? r = e.h.subarray(r, r + t) : (e = e.h, r = r === (t = r + t) ? new Uint8Array(0) : bh ? e.slice(r, t) : new Uint8Array(e.subarray(r, t))), r.length == 0 ? ut() : new Ce(r, St);
1084
1091
  }
1085
- var mi = [];
1086
- function sa(e, t, r, s) {
1092
+ var bi = [];
1093
+ function ia(e, t, r, s) {
1087
1094
  if (Ir.length) {
1088
1095
  const n = Ir.pop();
1089
1096
  return n.o(s), n.g.init(e, t, r, s), n;
1090
1097
  }
1091
- return new Nh(e, t, r, s);
1098
+ return new Dh(e, t, r, s);
1092
1099
  }
1093
- function na(e) {
1100
+ function oa(e) {
1094
1101
  e.g.clear(), e.l = -1, e.h = -1, Ir.length < 100 && Ir.push(e);
1095
1102
  }
1096
- function ia(e) {
1103
+ function aa(e) {
1097
1104
  var t = e.g;
1098
1105
  if (t.g == t.l) return !1;
1099
1106
  e.m = e.g.g;
@@ -1104,7 +1111,7 @@ function ia(e) {
1104
1111
  function Pr(e) {
1105
1112
  switch (e.h) {
1106
1113
  case 0:
1107
- e.h != 0 ? Pr(e) : vn(e.g);
1114
+ e.h != 0 ? Pr(e) : _n(e.g);
1108
1115
  break;
1109
1116
  case 1:
1110
1117
  at(e = e.g, e.g + 8);
@@ -1121,7 +1128,7 @@ function Pr(e) {
1121
1128
  break;
1122
1129
  case 3:
1123
1130
  for (t = e.l; ; ) {
1124
- if (!ia(e)) throw Error();
1131
+ if (!aa(e)) throw Error();
1125
1132
  if (e.h == 4) {
1126
1133
  if (e.l != t) throw Error();
1127
1134
  break;
@@ -1140,11 +1147,11 @@ function wr(e, t, r) {
1140
1147
  if (i <= 0 && (e.g.l = n, r(t, e, void 0, void 0, void 0), i = n - e.g.g), i) throw Error();
1141
1148
  return e.g.g = n, e.g.l = s, t;
1142
1149
  }
1143
- function _n(e) {
1144
- var t = Ue(e.g), r = ta(e = e.g, t);
1145
- if (e = e.h, qc) {
1150
+ function wn(e) {
1151
+ var t = Ue(e.g), r = sa(e = e.g, t);
1152
+ if (e = e.h, Qc) {
1146
1153
  var s, n = e;
1147
- (s = fs) || (s = fs = new TextDecoder("utf-8", { fatal: !0 })), t = r + t, n = r === 0 && t === n.length ? n : n.subarray(r, t);
1154
+ (s = ps) || (s = ps = new TextDecoder("utf-8", { fatal: !0 })), t = r + t, n = r === 0 && t === n.length ? n : n.subarray(r, t);
1148
1155
  try {
1149
1156
  var i = s.decode(n);
1150
1157
  } catch (a) {
@@ -1159,38 +1166,38 @@ function _n(e) {
1159
1166
  Sr = !1;
1160
1167
  }
1161
1168
  }
1162
- throw !Sr && (fs = void 0), a;
1169
+ throw !Sr && (ps = void 0), a;
1163
1170
  }
1164
1171
  } else {
1165
1172
  t = (i = r) + t, r = [];
1166
1173
  let a, c = null;
1167
1174
  for (; i < t; ) {
1168
1175
  var o = e[i++];
1169
- o < 128 ? r.push(o) : o < 224 ? i >= t ? Qe() : (a = e[i++], o < 194 || (192 & a) != 128 ? (i--, Qe()) : r.push((31 & o) << 6 | 63 & a)) : o < 240 ? i >= t - 1 ? Qe() : (a = e[i++], (192 & a) != 128 || o === 224 && a < 160 || o === 237 && a >= 160 || (192 & (s = e[i++])) != 128 ? (i--, Qe()) : r.push((15 & o) << 12 | (63 & a) << 6 | 63 & s)) : o <= 244 ? i >= t - 2 ? Qe() : (a = e[i++], (192 & a) != 128 || a - 144 + (o << 28) >> 30 != 0 || (192 & (s = e[i++])) != 128 || (192 & (n = e[i++])) != 128 ? (i--, Qe()) : (o = (7 & o) << 18 | (63 & a) << 12 | (63 & s) << 6 | 63 & n, o -= 65536, r.push(55296 + (o >> 10 & 1023), 56320 + (1023 & o)))) : Qe(), r.length >= 8192 && (c = Zn(c, r), r.length = 0);
1176
+ o < 128 ? r.push(o) : o < 224 ? i >= t ? Qe() : (a = e[i++], o < 194 || (192 & a) != 128 ? (i--, Qe()) : r.push((31 & o) << 6 | 63 & a)) : o < 240 ? i >= t - 1 ? Qe() : (a = e[i++], (192 & a) != 128 || o === 224 && a < 160 || o === 237 && a >= 160 || (192 & (s = e[i++])) != 128 ? (i--, Qe()) : r.push((15 & o) << 12 | (63 & a) << 6 | 63 & s)) : o <= 244 ? i >= t - 2 ? Qe() : (a = e[i++], (192 & a) != 128 || a - 144 + (o << 28) >> 30 != 0 || (192 & (s = e[i++])) != 128 || (192 & (n = e[i++])) != 128 ? (i--, Qe()) : (o = (7 & o) << 18 | (63 & a) << 12 | (63 & s) << 6 | 63 & n, o -= 65536, r.push(55296 + (o >> 10 & 1023), 56320 + (1023 & o)))) : Qe(), r.length >= 8192 && (c = ti(c, r), r.length = 0);
1170
1177
  }
1171
- i = Zn(c, r);
1178
+ i = ti(c, r);
1172
1179
  }
1173
1180
  return i;
1174
1181
  }
1175
- function oa(e) {
1182
+ function ca(e) {
1176
1183
  const t = Ue(e.g);
1177
- return ra(e.g, t);
1184
+ return na(e.g, t);
1178
1185
  }
1179
1186
  function Xr(e, t, r) {
1180
1187
  var s = Ue(e.g);
1181
1188
  for (s = e.g.g + s; e.g.g < s; ) r.push(t(e.g));
1182
1189
  }
1183
- var Nh = class {
1190
+ var Dh = class {
1184
1191
  constructor(e, t, r, s) {
1185
- if (mi.length) {
1186
- const n = mi.pop();
1192
+ if (bi.length) {
1193
+ const n = bi.pop();
1187
1194
  n.init(e, t, r, s), e = n;
1188
1195
  } else e = new class {
1189
1196
  constructor(n, i, o, a) {
1190
1197
  this.h = null, this.j = !1, this.g = this.l = this.m = 0, this.init(n, i, o, a);
1191
1198
  }
1192
1199
  init(n, i, o, { Y: a = !1, ea: c = !1 } = {}) {
1193
- this.Y = a, this.ea = c, n && (n = bn(n, this.ea), this.h = n.buffer, this.j = n.g, this.m = i || 0, this.l = o !== void 0 ? this.m + o : this.h.length, this.g = this.m);
1200
+ this.Y = a, this.ea = c, n && (n = vn(n, this.ea), this.h = n.buffer, this.j = n.g, this.m = i || 0, this.l = o !== void 0 ? this.m + o : this.h.length, this.g = this.m);
1194
1201
  }
1195
1202
  clear() {
1196
1203
  this.h = null, this.j = !1, this.g = this.l = this.m = 0, this.Y = !1;
@@ -1202,24 +1209,24 @@ var Nh = class {
1202
1209
  this.ha = e;
1203
1210
  }
1204
1211
  }, Ir = [];
1205
- function yi(e) {
1206
- return e ? /^\d+$/.test(e) ? (Hr(e), new $s(M, B)) : null : Bh || (Bh = new $s(0, 0));
1212
+ function vi(e) {
1213
+ return e ? /^\d+$/.test(e) ? (Hr(e), new Os(M, B)) : null : jh || (jh = new Os(0, 0));
1207
1214
  }
1208
- var $s = class {
1215
+ var Os = class {
1209
1216
  constructor(e, t) {
1210
1217
  this.h = e >>> 0, this.g = t >>> 0;
1211
1218
  }
1212
1219
  };
1213
- let Bh;
1214
- function bi(e) {
1215
- return e ? /^-?\d+$/.test(e) ? (Hr(e), new Os(M, B)) : null : Uh || (Uh = new Os(0, 0));
1220
+ let jh;
1221
+ function _i(e) {
1222
+ return e ? /^-?\d+$/.test(e) ? (Hr(e), new Rs(M, B)) : null : Vh || (Vh = new Rs(0, 0));
1216
1223
  }
1217
- var Os = class {
1224
+ var Rs = class {
1218
1225
  constructor(e, t) {
1219
1226
  this.h = e >>> 0, this.g = t >>> 0;
1220
1227
  }
1221
1228
  };
1222
- let Uh;
1229
+ let Vh;
1223
1230
  function At(e, t, r) {
1224
1231
  for (; r > 0 || t > 127; ) e.g.push(127 & t | 128), t = (t >>> 7 | r << 25) >>> 0, r >>>= 7;
1225
1232
  e.g.push(t);
@@ -1235,7 +1242,7 @@ function Yr(e, t) {
1235
1242
  e.g.push(1);
1236
1243
  }
1237
1244
  }
1238
- function wn(e) {
1245
+ function An(e) {
1239
1246
  var t = M;
1240
1247
  e.g.push(t >>> 0 & 255), e.g.push(t >>> 8 & 255), e.g.push(t >>> 16 & 255), e.g.push(t >>> 24 & 255);
1241
1248
  }
@@ -1245,10 +1252,10 @@ function Ft(e, t) {
1245
1252
  function ye(e, t, r) {
1246
1253
  Wt(e.g, 8 * t + r);
1247
1254
  }
1248
- function An(e, t) {
1255
+ function En(e, t) {
1249
1256
  return ye(e, t, 2), t = e.g.end(), Ft(e, t), t.push(e.h), t;
1250
1257
  }
1251
- function En(e, t) {
1258
+ function kn(e, t) {
1252
1259
  var r = t.pop();
1253
1260
  for (r = e.h + e.g.length() - r; r > 127; ) t.push(127 & r | 128), r >>>= 7, e.h++;
1254
1261
  t.push(r), e.h++;
@@ -1257,7 +1264,7 @@ function Qr(e, t, r) {
1257
1264
  ye(e, t, 2), Wt(e.g, r.length), Ft(e, e.g.end()), Ft(e, r);
1258
1265
  }
1259
1266
  function Nr(e, t, r, s) {
1260
- r != null && (t = An(e, t), s(r, e), En(e, t));
1267
+ r != null && (t = En(e, t), s(r, e), kn(e, t));
1261
1268
  }
1262
1269
  function Pe() {
1263
1270
  const e = class {
@@ -1267,63 +1274,63 @@ function Pe() {
1267
1274
  };
1268
1275
  return Object.setPrototypeOf(e, e.prototype), e;
1269
1276
  }
1270
- var kn = Pe(), aa = Pe(), Sn = Pe(), Tn = Pe(), ca = Pe(), ha = Pe(), Dh = Pe(), Jr = Pe(), ua = Pe(), la = Pe();
1277
+ var Sn = Pe(), ha = Pe(), Tn = Pe(), Cn = Pe(), ua = Pe(), la = Pe(), Gh = Pe(), Jr = Pe(), da = Pe(), fa = Pe();
1271
1278
  function Me(e, t, r) {
1272
1279
  var s = e.v;
1273
1280
  oe && oe in s && (s = s[oe]) && delete s[t.g], t.h ? t.j(e, t.h, t.g, r, t.l) : t.j(e, t.g, r, t.l);
1274
1281
  }
1275
- var g = class {
1282
+ var m = class {
1276
1283
  constructor(e, t) {
1277
- this.v = Wo(e, t, void 0, 2048);
1284
+ this.v = qo(e, t, void 0, 2048);
1278
1285
  }
1279
1286
  toJSON() {
1280
- return zo(this);
1287
+ return Ko(this);
1281
1288
  }
1282
1289
  j() {
1283
1290
  var n;
1284
- var e = Au, t = this.v, r = e.g, s = oe;
1285
- if (Ut && s && ((n = t[s]) == null ? void 0 : n[r]) != null && Tt(ih, 3), t = e.g, ii && oe && ii === void 0 && (s = (r = this.v)[oe]) && (s = s.da)) try {
1286
- s(r, t, Ph);
1291
+ var e = Su, t = this.v, r = e.g, s = oe;
1292
+ if (Ut && s && ((n = t[s]) == null ? void 0 : n[r]) != null && Tt(ch, 3), t = e.g, ai && oe && ai === void 0 && (s = (r = this.v)[oe]) && (s = s.da)) try {
1293
+ s(r, t, Fh);
1287
1294
  } catch (i) {
1288
- To(i);
1295
+ Lo(i);
1289
1296
  }
1290
1297
  return e.h ? e.m(this, e.h, e.g, e.l) : e.m(this, e.g, e.defaultValue, e.l);
1291
1298
  }
1292
1299
  clone() {
1293
1300
  const e = this.v, t = 0 | e[p];
1294
- return ln(this, e, t) ? hn(this, e, !0) : new this.constructor(Vt(e, t, !1));
1301
+ return dn(this, e, t) ? un(this, e, !0) : new this.constructor(Vt(e, t, !1));
1295
1302
  }
1296
1303
  };
1297
- g.prototype[Ct] = Lt, g.prototype.toString = function() {
1304
+ m.prototype[Ct] = Lt, m.prototype.toString = function() {
1298
1305
  return this.v.toString();
1299
1306
  };
1300
1307
  var Kt = class {
1301
1308
  constructor(e, t, r) {
1302
- this.g = e, this.h = t, e = kn, this.l = !!e && r === e || !1;
1309
+ this.g = e, this.h = t, e = Sn, this.l = !!e && r === e || !1;
1303
1310
  }
1304
1311
  };
1305
1312
  function Zr(e, t) {
1306
- return new Kt(e, t, kn);
1307
- }
1308
- function da(e, t, r, s, n) {
1309
- Nr(e, r, ma(t, s), n);
1310
- }
1311
- const jh = Zr((function(e, t, r, s, n) {
1312
- return e.h === 2 && (wr(e, mn(t, s, r), n), !0);
1313
- }), da), Vh = Zr((function(e, t, r, s, n) {
1314
- return e.h === 2 && (wr(e, mn(t, s, r), n), !0);
1315
- }), da);
1316
- var es = Symbol(), ts = Symbol(), Rs = Symbol(), vi = Symbol(), _i = Symbol();
1317
- let fa, pa;
1318
- function mt(e, t, r, s) {
1313
+ return new Kt(e, t, Sn);
1314
+ }
1315
+ function pa(e, t, r, s, n) {
1316
+ Nr(e, r, ba(t, s), n);
1317
+ }
1318
+ const Hh = Zr((function(e, t, r, s, n) {
1319
+ return e.h === 2 && (wr(e, yn(t, s, r), n), !0);
1320
+ }), pa), zh = Zr((function(e, t, r, s, n) {
1321
+ return e.h === 2 && (wr(e, yn(t, s, r), n), !0);
1322
+ }), pa);
1323
+ var es = Symbol(), ts = Symbol(), Is = Symbol(), wi = Symbol(), Ai = Symbol();
1324
+ let ma, ga;
1325
+ function gt(e, t, r, s) {
1319
1326
  var n = s[e];
1320
1327
  if (n) return n;
1321
1328
  (n = {}).qa = s, n.T = (function(l) {
1322
1329
  switch (typeof l) {
1323
1330
  case "boolean":
1324
- return Fh || (Fh = [0, void 0, !0]);
1331
+ return Rh || (Rh = [0, void 0, !0]);
1325
1332
  case "number":
1326
- return l > 0 ? void 0 : l === 0 ? $h || ($h = [0, void 0]) : [-l, void 0];
1333
+ return l > 0 ? void 0 : l === 0 ? Ih || (Ih = [0, void 0]) : [-l, void 0];
1327
1334
  case "string":
1328
1335
  return [0, l];
1329
1336
  case "object":
@@ -1332,7 +1339,7 @@ function mt(e, t, r, s) {
1332
1339
  })(s[0]);
1333
1340
  var i = s[1];
1334
1341
  let o = 1;
1335
- i && i.constructor === Object && (n.ba = i, typeof (i = s[++o]) == "function" && (n.ma = !0, fa ?? (fa = i), pa ?? (pa = s[o + 1]), i = s[o += 2]));
1342
+ i && i.constructor === Object && (n.ba = i, typeof (i = s[++o]) == "function" && (n.ma = !0, ma ?? (ma = i), ga ?? (ga = s[o + 1]), i = s[o += 2]));
1336
1343
  const a = {};
1337
1344
  for (; i && Array.isArray(i) && i.length && typeof i[0] == "number" && i[0] > 0; ) {
1338
1345
  for (var c = 0; c < i.length; c++) a[i[c]] = i;
@@ -1342,7 +1349,7 @@ function mt(e, t, r, s) {
1342
1349
  let l;
1343
1350
  typeof i == "number" && (c += i, i = s[++o]);
1344
1351
  var u = void 0;
1345
- if (i instanceof Kt ? l = i : (l = jh, o--), l == null ? void 0 : l.l) {
1352
+ if (i instanceof Kt ? l = i : (l = Hh, o--), l == null ? void 0 : l.l) {
1346
1353
  i = s[++o], u = s;
1347
1354
  var h = o;
1348
1355
  typeof i == "function" && (i = i(), u[h] = i), u = i;
@@ -1354,54 +1361,54 @@ function mt(e, t, r, s) {
1354
1361
  }
1355
1362
  return s[e] = n;
1356
1363
  }
1357
- function ga(e) {
1358
- return Array.isArray(e) ? e[0] instanceof Kt ? e : [Vh, e] : [e, void 0];
1364
+ function ya(e) {
1365
+ return Array.isArray(e) ? e[0] instanceof Kt ? e : [zh, e] : [e, void 0];
1359
1366
  }
1360
- function ma(e, t) {
1361
- return e instanceof g ? e.v : Array.isArray(e) ? nt(e, t) : void 0;
1367
+ function ba(e, t) {
1368
+ return e instanceof m ? e.v : Array.isArray(e) ? nt(e, t) : void 0;
1362
1369
  }
1363
- function Cn(e, t, r, s) {
1370
+ function Ln(e, t, r, s) {
1364
1371
  const n = r.g;
1365
1372
  e[t] = s ? (i, o, a) => n(i, o, a, s) : n;
1366
1373
  }
1367
- function Ln(e, t, r, s, n) {
1374
+ function Pn(e, t, r, s, n) {
1368
1375
  const i = r.g;
1369
1376
  let o, a;
1370
- e[t] = (c, u, h) => i(c, u, h, a || (a = mt(ts, Cn, Ln, s).T), o || (o = Pn(s)), n);
1377
+ e[t] = (c, u, h) => i(c, u, h, a || (a = gt(ts, Ln, Pn, s).T), o || (o = Mn(s)), n);
1371
1378
  }
1372
- function Pn(e) {
1373
- let t = e[Rs];
1379
+ function Mn(e) {
1380
+ let t = e[Is];
1374
1381
  if (t != null) return t;
1375
- const r = mt(ts, Cn, Ln, e);
1376
- return t = r.ma ? (s, n) => fa(s, n, r) : (s, n) => {
1377
- for (; ia(n) && n.h != 4; ) {
1382
+ const r = gt(ts, Ln, Pn, e);
1383
+ return t = r.ma ? (s, n) => ma(s, n, r) : (s, n) => {
1384
+ for (; aa(n) && n.h != 4; ) {
1378
1385
  var i = n.l, o = r[i];
1379
1386
  if (o == null) {
1380
1387
  var a = r.ba;
1381
- a && (a = a[i]) && (a = Hh(a)) != null && (o = r[i] = a);
1388
+ a && (a = a[i]) && (a = Kh(a)) != null && (o = r[i] = a);
1382
1389
  }
1383
1390
  if (o == null || !o(n, s, i)) {
1384
1391
  if (o = (a = n).m, Pr(a), a.ha) var c = void 0;
1385
- else c = a.g.g - o, a.g.g = o, c = ra(a.g, c);
1386
- o = void 0, a = s, c && ((o = a[oe] ?? (a[oe] = new Fs()))[i] ?? (o[i] = [])).push(c);
1392
+ else c = a.g.g - o, a.g.g = o, c = na(a.g, c);
1393
+ o = void 0, a = s, c && ((o = a[oe] ?? (a[oe] = new $s()))[i] ?? (o[i] = [])).push(c);
1387
1394
  }
1388
1395
  }
1389
- return (s = Wr(s)) && (s.da = r.qa[_i]), !0;
1390
- }, e[Rs] = t, e[_i] = Gh.bind(e), t;
1396
+ return (s = Wr(s)) && (s.da = r.qa[Ai]), !0;
1397
+ }, e[Is] = t, e[Ai] = Wh.bind(e), t;
1391
1398
  }
1392
- function Gh(e, t, r, s) {
1399
+ function Wh(e, t, r, s) {
1393
1400
  var n = this[ts];
1394
- const i = this[Rs], o = nt(void 0, n.T), a = Wr(e);
1401
+ const i = this[Is], o = nt(void 0, n.T), a = Wr(e);
1395
1402
  if (a) {
1396
1403
  var c = !1, u = n.ba;
1397
1404
  if (u) {
1398
1405
  if (n = (h, l, d) => {
1399
1406
  if (d.length !== 0) if (u[l]) for (const b of d) {
1400
- h = sa(b);
1407
+ h = ia(b);
1401
1408
  try {
1402
1409
  c = !0, i(o, h);
1403
1410
  } finally {
1404
- na(h);
1411
+ oa(h);
1405
1412
  }
1406
1413
  }
1407
1414
  else s == null || s(e, l, d);
@@ -1420,17 +1427,17 @@ function Gh(e, t, r, s) {
1420
1427
  }
1421
1428
  S != null && (h = V(e, h, b, S, l)), delete a[b];
1422
1429
  };
1423
- t == null ? Ro(o, 0 | o[p], ((b, S) => {
1430
+ t == null ? No(o, 0 | o[p], ((b, S) => {
1424
1431
  d(b, S);
1425
1432
  })) : d(t, Ie(o, t, l));
1426
1433
  }
1427
1434
  }
1428
1435
  }
1429
1436
  }
1430
- function Hh(e) {
1431
- const t = (e = ga(e))[0].g;
1437
+ function Kh(e) {
1438
+ const t = (e = ya(e))[0].g;
1432
1439
  if (e = e[1]) {
1433
- const r = Pn(e), s = mt(ts, Cn, Ln, e).T;
1440
+ const r = Mn(e), s = gt(ts, Ln, Pn, e).T;
1434
1441
  return (n, i, o) => t(n, i, o, s, r);
1435
1442
  }
1436
1443
  return t;
@@ -1441,38 +1448,38 @@ function rs(e, t, r) {
1441
1448
  function ss(e, t, r, s) {
1442
1449
  let n, i;
1443
1450
  const o = r.h;
1444
- e[t] = (a, c, u) => o(a, c, u, i || (i = mt(es, rs, ss, s).T), n || (n = ya(s)));
1451
+ e[t] = (a, c, u) => o(a, c, u, i || (i = gt(es, rs, ss, s).T), n || (n = va(s)));
1445
1452
  }
1446
- function ya(e) {
1447
- let t = e[vi];
1453
+ function va(e) {
1454
+ let t = e[wi];
1448
1455
  if (!t) {
1449
- const r = mt(es, rs, ss, e);
1450
- t = (s, n) => ba(s, n, r), e[vi] = t;
1456
+ const r = gt(es, rs, ss, e);
1457
+ t = (s, n) => _a(s, n, r), e[wi] = t;
1451
1458
  }
1452
1459
  return t;
1453
1460
  }
1454
- function ba(e, t, r) {
1455
- Ro(e, 0 | e[p], ((s, n) => {
1461
+ function _a(e, t, r) {
1462
+ No(e, 0 | e[p], ((s, n) => {
1456
1463
  if (n != null) {
1457
1464
  var i = (function(o, a) {
1458
1465
  var c = o[a];
1459
1466
  if (c) return c;
1460
1467
  if ((c = o.ba) && (c = c[a])) {
1461
- var u = (c = ga(c))[0].h;
1468
+ var u = (c = ya(c))[0].h;
1462
1469
  if (c = c[1]) {
1463
- const h = ya(c), l = mt(es, rs, ss, c).T;
1464
- c = o.ma ? pa(l, h) : (d, b, S) => u(d, b, S, l, h);
1470
+ const h = va(c), l = gt(es, rs, ss, c).T;
1471
+ c = o.ma ? ga(l, h) : (d, b, S) => u(d, b, S, l, h);
1465
1472
  } else c = u;
1466
1473
  return o[a] = c;
1467
1474
  }
1468
1475
  })(r, s);
1469
- i ? i(t, n, s) : s < 500 || Tt(Ps, 3);
1476
+ i ? i(t, n, s) : s < 500 || Tt(Ms, 3);
1470
1477
  }
1471
1478
  })), (e = Wr(e)) && $r(e, ((s, n, i) => {
1472
- for (Ft(t, t.g.end()), s = 0; s < i.length; s++) Ft(t, en(i[s]) || new Uint8Array(0));
1479
+ for (Ft(t, t.g.end()), s = 0; s < i.length; s++) Ft(t, tn(i[s]) || new Uint8Array(0));
1473
1480
  }));
1474
1481
  }
1475
- const zh = ae(0);
1482
+ const qh = ae(0);
1476
1483
  function qt(e, t) {
1477
1484
  if (Array.isArray(t)) {
1478
1485
  var r = 0 | t[p];
@@ -1493,14 +1500,14 @@ function Xt(e, t, r) {
1493
1500
  function X(e, t, r) {
1494
1501
  V(e, 0 | e[p], t, r, Dt(0 | e[p]));
1495
1502
  }
1496
- var Wh = Zr((function(e, t, r, s, n) {
1503
+ var Xh = Zr((function(e, t, r, s, n) {
1497
1504
  if (e.h !== 2) return !1;
1498
1505
  if (e = ve(e = wr(e, nt([void 0, void 0], s), n)), n = Dt(s = 0 | t[p]), 2 & s) throw Error();
1499
1506
  let i = Ie(t, r, n);
1500
1507
  if (i instanceof Re) (2 & i.J) != 0 ? (i = i.V(), i.push(e), V(t, s, r, i, n)) : i.Ma(e);
1501
1508
  else if (Array.isArray(i)) {
1502
1509
  var o = 0 | i[p];
1503
- 8192 & o || H(i, o |= 8192), 2 & o && (i = Xo(i), V(t, s, r, i, n)), i.push(e);
1510
+ 8192 & o || H(i, o |= 8192), 2 & o && (i = Qo(i), V(t, s, r, i, n)), i.push(e);
1504
1511
  } else V(t, s, r, hr([e]), n);
1505
1512
  return !0;
1506
1513
  }), (function(e, t, r, s, n) {
@@ -1515,169 +1522,169 @@ var Wh = Zr((function(e, t, r, s, n) {
1515
1522
  hr(t);
1516
1523
  }
1517
1524
  }));
1518
- function va(e, t, r) {
1519
- (t = Te(t)) != null && (ye(e, r, 5), e = e.g, rn(t), wn(e));
1525
+ function wa(e, t, r) {
1526
+ (t = Te(t)) != null && (ye(e, r, 5), e = e.g, sn(t), An(e));
1520
1527
  }
1521
- function _a(e, t, r) {
1528
+ function Aa(e, t, r) {
1522
1529
  if (t = (function(s) {
1523
1530
  if (s == null) return s;
1524
1531
  const n = typeof s;
1525
1532
  if (n === "bigint") return String(br(64, s));
1526
1533
  if (vr(s)) {
1527
- if (n === "string") return jo(s);
1528
- if (n === "number") return an(s);
1534
+ if (n === "string") return Go(s);
1535
+ if (n === "number") return cn(s);
1529
1536
  }
1530
- })(t), t != null && (typeof t == "string" && bi(t), t != null))
1537
+ })(t), t != null && (typeof t == "string" && _i(t), t != null))
1531
1538
  switch (ye(e, r, 0), typeof t) {
1532
1539
  case "number":
1533
1540
  e = e.g, Pt(t), At(e, M, B);
1534
1541
  break;
1535
1542
  case "bigint":
1536
- r = BigInt.asUintN(64, t), r = new Os(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), At(e.g, r.h, r.g);
1543
+ r = BigInt.asUintN(64, t), r = new Rs(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), At(e.g, r.h, r.g);
1537
1544
  break;
1538
1545
  default:
1539
- r = bi(t), At(e.g, r.h, r.g);
1546
+ r = _i(t), At(e.g, r.h, r.g);
1540
1547
  }
1541
1548
  }
1542
- function wa(e, t, r) {
1549
+ function Ea(e, t, r) {
1543
1550
  (t = jt(t)) != null && t != null && (ye(e, r, 0), Yr(e.g, t));
1544
1551
  }
1545
- function Aa(e, t, r) {
1546
- (t = Bo(t)) != null && (ye(e, r, 0), e.g.g.push(t ? 1 : 0));
1552
+ function ka(e, t, r) {
1553
+ (t = Do(t)) != null && (ye(e, r, 0), e.g.g.push(t ? 1 : 0));
1547
1554
  }
1548
- function Ea(e, t, r) {
1549
- (t = Y(t)) != null && Qr(e, r, So(t));
1555
+ function Sa(e, t, r) {
1556
+ (t = Y(t)) != null && Qr(e, r, Co(t));
1550
1557
  }
1551
- function ka(e, t, r, s, n) {
1552
- Nr(e, r, ma(t, s), n);
1558
+ function Ta(e, t, r, s, n) {
1559
+ Nr(e, r, ba(t, s), n);
1553
1560
  }
1554
- function Sa(e, t, r) {
1555
- (t = t == null || typeof t == "string" || t instanceof Ce ? t : void 0) != null && Qr(e, r, bn(t, !0).buffer);
1561
+ function Ca(e, t, r) {
1562
+ (t = t == null || typeof t == "string" || t instanceof Ce ? t : void 0) != null && Qr(e, r, vn(t, !0).buffer);
1556
1563
  }
1557
- function Ta(e, t, r) {
1564
+ function La(e, t, r) {
1558
1565
  return (e.h === 5 || e.h === 2) && (t = zt(t, 0 | t[p], r), e.h == 2 ? Xr(e, Rr, t) : t.push(Rr(e.g)), !0);
1559
1566
  }
1560
1567
  var U = J((function(e, t, r) {
1561
1568
  return e.h === 5 && (X(t, r, Rr(e.g)), !0);
1562
- }), va, Jr), Kh = Xt(Ta, (function(e, t, r) {
1569
+ }), wa, Jr), Yh = Xt(La, (function(e, t, r) {
1563
1570
  if ((t = qt(Te, t)) != null) for (let o = 0; o < t.length; o++) {
1564
1571
  var s = e, n = r, i = t[o];
1565
- i != null && (ye(s, n, 5), s = s.g, rn(i), wn(s));
1572
+ i != null && (ye(s, n, 5), s = s.g, sn(i), An(s));
1566
1573
  }
1567
- }), Jr), Mn = Xt(Ta, (function(e, t, r) {
1574
+ }), Jr), xn = Xt(La, (function(e, t, r) {
1568
1575
  if ((t = qt(Te, t)) != null && t.length) {
1569
1576
  ye(e, r, 2), Wt(e.g, 4 * t.length);
1570
- for (let s = 0; s < t.length; s++) r = e.g, rn(t[s]), wn(r);
1577
+ for (let s = 0; s < t.length; s++) r = e.g, sn(t[s]), An(r);
1571
1578
  }
1572
- }), Jr), qh = J((function(e, t, r) {
1579
+ }), Jr), Qh = J((function(e, t, r) {
1573
1580
  return e.h === 5 && (X(t, r, (e = Rr(e.g)) === 0 ? void 0 : e), !0);
1574
- }), va, Jr), qe = J((function(e, t, r) {
1575
- return Qs ? (e.h !== 0 ? e = !1 : (X(t, r, xt(e.g, No)), e = !0), e) : e.h === 0 && (X(t, r, xt(e.g, sn)), !0);
1576
- }), _a, ha), ys = J((function(e, t, r) {
1577
- return Qs ? (e.h !== 0 ? t = !1 : (X(t, r, (e = xt(e.g, No)) === zh ? void 0 : e), t = !0), t) : e.h === 0 && (X(t, r, (e = xt(e.g, sn)) === 0 ? void 0 : e), !0);
1578
- }), _a, ha), Xh = J((function(e, t, r) {
1579
- return Qs ? (e.h !== 0 ? e = !1 : (X(t, r, xt(e.g, yh)), e = !0), e) : e.h === 0 && (X(t, r, xt(e.g, xs)), !0);
1581
+ }), wa, Jr), qe = J((function(e, t, r) {
1582
+ return Js ? (e.h !== 0 ? e = !1 : (X(t, r, xt(e.g, Uo)), e = !0), e) : e.h === 0 && (X(t, r, xt(e.g, nn)), !0);
1583
+ }), Aa, la), bs = J((function(e, t, r) {
1584
+ return Js ? (e.h !== 0 ? t = !1 : (X(t, r, (e = xt(e.g, Uo)) === qh ? void 0 : e), t = !0), t) : e.h === 0 && (X(t, r, (e = xt(e.g, nn)) === 0 ? void 0 : e), !0);
1585
+ }), Aa, la), Jh = J((function(e, t, r) {
1586
+ return Js ? (e.h !== 0 ? e = !1 : (X(t, r, xt(e.g, _h)), e = !0), e) : e.h === 0 && (X(t, r, xt(e.g, Fs)), !0);
1580
1587
  }), (function(e, t, r) {
1581
1588
  if (t = (function(s) {
1582
1589
  if (s == null) return s;
1583
1590
  var n = typeof s;
1584
- if (n === "bigint") return String(bh(64, s));
1591
+ if (n === "bigint") return String(wh(64, s));
1585
1592
  if (vr(s)) {
1586
1593
  if (n === "string") return n = Mt(Number(s)), dt(n) && n >= 0 ? s = String(n) : ((n = s.indexOf(".")) !== -1 && (s = s.substring(0, n)), (n = s[0] !== "-" && ((n = s.length) < 20 || n === 20 && s <= "18446744073709551615")) || (Hr(s), s = ur(M, B))), s;
1587
- if (n === "number") return (s = Mt(s)) >= 0 && dt(s) || (Pt(s), s = xs(M, B)), s;
1594
+ if (n === "number") return (s = Mt(s)) >= 0 && dt(s) || (Pt(s), s = Fs(M, B)), s;
1588
1595
  }
1589
- })(t), t != null && (typeof t == "string" && yi(t), t != null))
1596
+ })(t), t != null && (typeof t == "string" && vi(t), t != null))
1590
1597
  switch (ye(e, r, 0), typeof t) {
1591
1598
  case "number":
1592
1599
  e = e.g, Pt(t), At(e, M, B);
1593
1600
  break;
1594
1601
  case "bigint":
1595
- r = BigInt.asUintN(64, t), r = new $s(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), At(e.g, r.h, r.g);
1602
+ r = BigInt.asUintN(64, t), r = new Os(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), At(e.g, r.h, r.g);
1596
1603
  break;
1597
1604
  default:
1598
- r = yi(t), At(e.g, r.h, r.g);
1605
+ r = vi(t), At(e.g, r.h, r.g);
1599
1606
  }
1600
- }), Dh), q = J((function(e, t, r) {
1607
+ }), Gh), q = J((function(e, t, r) {
1601
1608
  return e.h === 0 && (X(t, r, Ke(e.g)), !0);
1602
- }), wa, Tn), Ar = Xt((function(e, t, r) {
1609
+ }), Ea, Cn), Ar = Xt((function(e, t, r) {
1603
1610
  return (e.h === 0 || e.h === 2) && (t = zt(t, 0 | t[p], r), e.h == 2 ? Xr(e, Ke, t) : t.push(Ke(e.g)), !0);
1604
1611
  }), (function(e, t, r) {
1605
1612
  if ((t = qt(jt, t)) != null && t.length) {
1606
- r = An(e, r);
1613
+ r = En(e, r);
1607
1614
  for (let s = 0; s < t.length; s++) Yr(e.g, t[s]);
1608
- En(e, r);
1615
+ kn(e, r);
1609
1616
  }
1610
- }), Tn), wt = J((function(e, t, r) {
1617
+ }), Cn), wt = J((function(e, t, r) {
1611
1618
  return e.h === 0 && (X(t, r, (e = Ke(e.g)) === 0 ? void 0 : e), !0);
1612
- }), wa, Tn), N = J((function(e, t, r) {
1613
- return e.h === 0 && (X(t, r, vn(e.g)), !0);
1614
- }), Aa, aa), ct = J((function(e, t, r) {
1615
- return e.h === 0 && (X(t, r, (e = vn(e.g)) === !1 ? void 0 : e), !0);
1616
- }), Aa, aa), Q = Xt((function(e, t, r) {
1617
- return e.h === 2 && (e = _n(e), zt(t, 0 | t[p], r).push(e), !0);
1619
+ }), Ea, Cn), N = J((function(e, t, r) {
1620
+ return e.h === 0 && (X(t, r, _n(e.g)), !0);
1621
+ }), ka, ha), ct = J((function(e, t, r) {
1622
+ return e.h === 0 && (X(t, r, (e = _n(e.g)) === !1 ? void 0 : e), !0);
1623
+ }), ka, ha), Q = Xt((function(e, t, r) {
1624
+ return e.h === 2 && (e = wn(e), zt(t, 0 | t[p], r).push(e), !0);
1618
1625
  }), (function(e, t, r) {
1619
1626
  if ((t = qt(Y, t)) != null) for (let o = 0; o < t.length; o++) {
1620
1627
  var s = e, n = r, i = t[o];
1621
- i != null && Qr(s, n, So(i));
1628
+ i != null && Qr(s, n, Co(i));
1622
1629
  }
1623
- }), Sn), Ge = J((function(e, t, r) {
1624
- return e.h === 2 && (X(t, r, (e = _n(e)) === "" ? void 0 : e), !0);
1625
- }), Ea, Sn), T = J((function(e, t, r) {
1626
- return e.h === 2 && (X(t, r, _n(e)), !0);
1627
- }), Ea, Sn), W = (function(e, t, r = kn) {
1630
+ }), Tn), Ge = J((function(e, t, r) {
1631
+ return e.h === 2 && (X(t, r, (e = wn(e)) === "" ? void 0 : e), !0);
1632
+ }), Sa, Tn), T = J((function(e, t, r) {
1633
+ return e.h === 2 && (X(t, r, wn(e)), !0);
1634
+ }), Sa, Tn), W = (function(e, t, r = Sn) {
1628
1635
  return new Kt(e, t, r);
1629
1636
  })((function(e, t, r, s, n) {
1630
1637
  return e.h === 2 && (s = nt(void 0, s), zt(t, 0 | t[p], r).push(s), wr(e, s, n), !0);
1631
1638
  }), (function(e, t, r, s, n) {
1632
1639
  if (Array.isArray(t)) {
1633
- for (let i = 0; i < t.length; i++) ka(e, t[i], r, s, n);
1640
+ for (let i = 0; i < t.length; i++) Ta(e, t[i], r, s, n);
1634
1641
  1 & (e = 0 | t[p]) || H(t, 1 | e);
1635
1642
  }
1636
1643
  })), R = Zr((function(e, t, r, s, n, i) {
1637
1644
  if (e.h !== 2) return !1;
1638
1645
  let o = 0 | t[p];
1639
- return Yo(t, o, i, r, Dt(o)), wr(e, t = mn(t, s, r), n), !0;
1640
- }), ka), Ca = J((function(e, t, r) {
1641
- return e.h === 2 && (X(t, r, oa(e)), !0);
1642
- }), Sa, ua), Yh = Xt((function(e, t, r) {
1646
+ return Jo(t, o, i, r, Dt(o)), wr(e, t = yn(t, s, r), n), !0;
1647
+ }), Ta), Pa = J((function(e, t, r) {
1648
+ return e.h === 2 && (X(t, r, ca(e)), !0);
1649
+ }), Ca, da), Zh = Xt((function(e, t, r) {
1643
1650
  return (e.h === 0 || e.h === 2) && (t = zt(t, 0 | t[p], r), e.h == 2 ? Xr(e, Ue, t) : t.push(Ue(e.g)), !0);
1644
1651
  }), (function(e, t, r) {
1645
- if ((t = qt(Uo, t)) != null) for (let o = 0; o < t.length; o++) {
1652
+ if ((t = qt(jo, t)) != null) for (let o = 0; o < t.length; o++) {
1646
1653
  var s = e, n = r, i = t[o];
1647
1654
  i != null && (ye(s, n, 0), Wt(s.g, i));
1648
1655
  }
1649
- }), ca), Qh = J((function(e, t, r) {
1656
+ }), ua), eu = J((function(e, t, r) {
1650
1657
  return e.h === 0 && (X(t, r, (e = Ue(e.g)) === 0 ? void 0 : e), !0);
1651
1658
  }), (function(e, t, r) {
1652
- (t = Uo(t)) != null && t != null && (ye(e, r, 0), Wt(e.g, t));
1653
- }), ca), ue = J((function(e, t, r) {
1659
+ (t = jo(t)) != null && t != null && (ye(e, r, 0), Wt(e.g, t));
1660
+ }), ua), ue = J((function(e, t, r) {
1654
1661
  return e.h === 0 && (X(t, r, Ke(e.g)), !0);
1655
1662
  }), (function(e, t, r) {
1656
1663
  (t = jt(t)) != null && (t = parseInt(t, 10), ye(e, r, 0), Yr(e.g, t));
1657
- }), la);
1658
- class Jh {
1664
+ }), fa);
1665
+ class tu {
1659
1666
  constructor(t, r) {
1660
1667
  var s = de;
1661
- this.g = t, this.h = r, this.m = A, this.j = v, this.defaultValue = void 0, this.l = s.Oa != null ? Io : void 0;
1668
+ this.g = t, this.h = r, this.m = A, this.j = v, this.defaultValue = void 0, this.l = s.Oa != null ? Bo : void 0;
1662
1669
  }
1663
1670
  register() {
1664
1671
  jr(this);
1665
1672
  }
1666
1673
  }
1667
1674
  function xe(e, t) {
1668
- return new Jh(e, t);
1675
+ return new tu(e, t);
1669
1676
  }
1670
1677
  function Xe(e, t) {
1671
1678
  return (r, s) => {
1672
1679
  {
1673
1680
  const i = { ea: !0 };
1674
- s && Object.assign(i, s), r = sa(r, void 0, void 0, i);
1681
+ s && Object.assign(i, s), r = ia(r, void 0, void 0, i);
1675
1682
  try {
1676
1683
  const o = new e(), a = o.v;
1677
- Pn(t)(a, r);
1684
+ Mn(t)(a, r);
1678
1685
  var n = o;
1679
1686
  } finally {
1680
- na(r);
1687
+ oa(r);
1681
1688
  }
1682
1689
  }
1683
1690
  return n;
@@ -1701,7 +1708,7 @@ function ns(e) {
1701
1708
  }();
1702
1709
  }
1703
1710
  }();
1704
- ba(this.v, t, mt(es, rs, ss, e)), Ft(t, t.g.end());
1711
+ _a(this.v, t, gt(es, rs, ss, e)), Ft(t, t.g.end());
1705
1712
  const r = new Uint8Array(t.h), s = t.l, n = s.length;
1706
1713
  let i = 0;
1707
1714
  for (let o = 0; o < n; o++) {
@@ -1711,35 +1718,35 @@ function ns(e) {
1711
1718
  return t.l = [r], r;
1712
1719
  };
1713
1720
  }
1714
- var wi = class extends g {
1721
+ var Ei = class extends m {
1715
1722
  constructor(e) {
1716
1723
  super(e);
1717
1724
  }
1718
- }, Ai = [0, Ge, J((function(e, t, r) {
1719
- return e.h === 2 && (X(t, r, (e = oa(e)) === ut() ? void 0 : e), !0);
1725
+ }, ki = [0, Ge, J((function(e, t, r) {
1726
+ return e.h === 2 && (X(t, r, (e = ca(e)) === ut() ? void 0 : e), !0);
1720
1727
  }), (function(e, t, r) {
1721
1728
  if (t != null) {
1722
- if (t instanceof g) {
1729
+ if (t instanceof m) {
1723
1730
  const s = t.Ra;
1724
- return void (s ? (t = s(t), t != null && Qr(e, r, bn(t, !0).buffer)) : Tt(Ps, 3));
1731
+ return void (s ? (t = s(t), t != null && Qr(e, r, vn(t, !0).buffer)) : Tt(Ms, 3));
1725
1732
  }
1726
- if (Array.isArray(t)) return void Tt(Ps, 3);
1733
+ if (Array.isArray(t)) return void Tt(Ms, 3);
1727
1734
  }
1728
- Sa(e, t, r);
1729
- }), ua)];
1730
- let bs, Ei = globalThis.trustedTypes;
1731
- function ki(e) {
1735
+ Ca(e, t, r);
1736
+ }), da)];
1737
+ let vs, Si = globalThis.trustedTypes;
1738
+ function Ti(e) {
1732
1739
  var t;
1733
- return bs === void 0 && (bs = (function() {
1740
+ return vs === void 0 && (vs = (function() {
1734
1741
  let r = null;
1735
- if (!Ei) return r;
1742
+ if (!Si) return r;
1736
1743
  try {
1737
1744
  const s = (n) => n;
1738
- r = Ei.createPolicy("goog#html", { createHTML: s, createScript: s, createScriptURL: s });
1745
+ r = Si.createPolicy("goog#html", { createHTML: s, createScript: s, createScriptURL: s });
1739
1746
  } catch {
1740
1747
  }
1741
1748
  return r;
1742
- })()), e = (t = bs) ? t.createScriptURL(e) : e, new class {
1749
+ })()), e = (t = vs) ? t.createScriptURL(e) : e, new class {
1743
1750
  constructor(r) {
1744
1751
  this.g = r;
1745
1752
  }
@@ -1748,51 +1755,51 @@ function ki(e) {
1748
1755
  }
1749
1756
  }(e);
1750
1757
  }
1751
- function Zh(e, ...t) {
1752
- if (t.length === 0) return ki(e[0]);
1758
+ function ru(e, ...t) {
1759
+ if (t.length === 0) return Ti(e[0]);
1753
1760
  let r = e[0];
1754
1761
  for (let s = 0; s < t.length; s++) r += encodeURIComponent(t[s]) + e[s + 1];
1755
- return ki(r);
1762
+ return Ti(r);
1756
1763
  }
1757
- var La = [0, q, ue, N, -1, Ar, ue, -1, N], eu = class extends g {
1764
+ var Ma = [0, q, ue, N, -1, Ar, ue, -1, N], su = class extends m {
1758
1765
  constructor(e) {
1759
1766
  super(e);
1760
1767
  }
1761
- }, Pa = [0, N, T, N, ue, -1, Xt((function(e, t, r) {
1762
- return (e.h === 0 || e.h === 2) && (t = zt(t, 0 | t[p], r), e.h == 2 ? Xr(e, Ih, t) : t.push(Ke(e.g)), !0);
1768
+ }, xa = [0, N, T, N, ue, -1, Xt((function(e, t, r) {
1769
+ return (e.h === 0 || e.h === 2) && (t = zt(t, 0 | t[p], r), e.h == 2 ? Xr(e, Uh, t) : t.push(Ke(e.g)), !0);
1763
1770
  }), (function(e, t, r) {
1764
1771
  if ((t = qt(jt, t)) != null && t.length) {
1765
- r = An(e, r);
1772
+ r = En(e, r);
1766
1773
  for (let s = 0; s < t.length; s++) Yr(e.g, t[s]);
1767
- En(e, r);
1774
+ kn(e, r);
1768
1775
  }
1769
- }), la), T, -1, [0, N, -1], ue, N, -1], Ma = [0, 3, N, -1, 2, [0, q], [0, ue, N], [0, T, -1], [0]], xa = [0, T, -2], Si = class extends g {
1776
+ }), fa), T, -1, [0, N, -1], ue, N, -1], Fa = [0, 3, N, -1, 2, [0, q], [0, ue, N], [0, T, -1], [0]], $a = [0, T, -2], Ci = class extends m {
1770
1777
  constructor(e) {
1771
1778
  super(e);
1772
1779
  }
1773
- }, Fa = [0], $a = [0, q, N, 1, N, -4], de = class extends g {
1780
+ }, Oa = [0], Ra = [0, q, N, 1, N, -4], de = class extends m {
1774
1781
  constructor(e) {
1775
1782
  super(e, 2);
1776
1783
  }
1777
1784
  }, G = {};
1778
- G[336783863] = [0, T, N, -1, q, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], R, Fa, R, Pa, R, xa, R, $a, R, La, R, [0, T, -2], R, [0, T, ue], R, Ma, R, [0, ue, -1, N]], [0, T], N, [0, [1, 3], [2, 4], R, [0, Ar], -1, R, [0, Q], -1, W, [0, T, -1]], T];
1779
- var Ti = [0, ys, -1, ct, -3, ys, Ar, Ge, wt, ys, -1, ct, wt, ct, -2, Ge];
1785
+ G[336783863] = [0, T, N, -1, q, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], R, Oa, R, xa, R, $a, R, Ra, R, Ma, R, [0, T, -2], R, [0, T, ue], R, Fa, R, [0, ue, -1, N]], [0, T], N, [0, [1, 3], [2, 4], R, [0, Ar], -1, R, [0, Q], -1, W, [0, T, -1]], T];
1786
+ var Li = [0, bs, -1, ct, -3, bs, Ar, Ge, wt, bs, -1, ct, wt, ct, -2, Ge];
1780
1787
  function P(e, t) {
1781
1788
  qr(e, 3, t);
1782
1789
  }
1783
1790
  function _(e, t) {
1784
1791
  qr(e, 4, t);
1785
1792
  }
1786
- var ee = class extends g {
1793
+ var ee = class extends m {
1787
1794
  constructor(e) {
1788
1795
  super(e, 500);
1789
1796
  }
1790
1797
  o(e) {
1791
1798
  return v(this, 0, 7, e);
1792
1799
  }
1793
- }, sr = [-1, {}], Ci = [0, T, 1, sr], Li = [0, T, Q, sr];
1800
+ }, sr = [-1, {}], Pi = [0, T, 1, sr], Mi = [0, T, Q, sr];
1794
1801
  function be(e, t) {
1795
- yn(e, 1, ee, t);
1802
+ bn(e, 1, ee, t);
1796
1803
  }
1797
1804
  function x(e, t) {
1798
1805
  qr(e, 10, t);
@@ -1800,226 +1807,226 @@ function x(e, t) {
1800
1807
  function E(e, t) {
1801
1808
  qr(e, 15, t);
1802
1809
  }
1803
- var fe = class extends g {
1810
+ var fe = class extends m {
1804
1811
  constructor(e) {
1805
1812
  super(e, 500);
1806
1813
  }
1807
1814
  o(e) {
1808
1815
  return v(this, 0, 1001, e);
1809
1816
  }
1810
- }, Oa = [-500, W, [-500, Ge, -1, Q, -3, [-2, G, N], W, Ai, wt, -1, Ci, Li, W, [0, Ge, ct], Ge, Ti, wt, Q, 987, Q], 4, W, [-500, T, -1, [-1, {}], 998, T], W, [-500, T, Q, -1, [-2, {}, N], 997, Q, -1], wt, W, [-500, T, Q, sr, 998, Q], Q, wt, Ci, Li, W, [0, Ge, -1, sr], Q, -2, Ti, Ge, -1, ct, [0, ct, Qh], 978, sr, W, Ai];
1811
- fe.prototype.g = ns(Oa);
1812
- var tu = Xe(fe, Oa), ru = class extends g {
1817
+ }, Ia = [-500, W, [-500, Ge, -1, Q, -3, [-2, G, N], W, ki, wt, -1, Pi, Mi, W, [0, Ge, ct], Ge, Li, wt, Q, 987, Q], 4, W, [-500, T, -1, [-1, {}], 998, T], W, [-500, T, Q, -1, [-2, {}, N], 997, Q, -1], wt, W, [-500, T, Q, sr, 998, Q], Q, wt, Pi, Mi, W, [0, Ge, -1, sr], Q, -2, Li, Ge, -1, ct, [0, ct, eu], 978, sr, W, ki];
1818
+ fe.prototype.g = ns(Ia);
1819
+ var nu = Xe(fe, Ia), iu = class extends m {
1813
1820
  constructor(e) {
1814
1821
  super(e);
1815
1822
  }
1816
- }, Ra = class extends g {
1823
+ }, Na = class extends m {
1817
1824
  constructor(e) {
1818
1825
  super(e);
1819
1826
  }
1820
1827
  g() {
1821
- return Ne(this, ru, 1);
1828
+ return Ne(this, iu, 1);
1822
1829
  }
1823
- }, Ia = [0, W, [0, q, U, T, -1]], is = Xe(Ra, Ia), su = class extends g {
1830
+ }, Ba = [0, W, [0, q, U, T, -1]], is = Xe(Na, Ba), ou = class extends m {
1824
1831
  constructor(e) {
1825
1832
  super(e);
1826
1833
  }
1827
- }, nu = class extends g {
1834
+ }, au = class extends m {
1828
1835
  constructor(e) {
1829
1836
  super(e);
1830
1837
  }
1831
- }, vs = class extends g {
1838
+ }, _s = class extends m {
1832
1839
  constructor(e) {
1833
1840
  super(e);
1834
1841
  }
1835
1842
  l() {
1836
- return A(this, su, 2);
1843
+ return A(this, ou, 2);
1837
1844
  }
1838
1845
  g() {
1839
- return Ne(this, nu, 5);
1846
+ return Ne(this, au, 5);
1840
1847
  }
1841
- }, Na = Xe(class extends g {
1848
+ }, Ua = Xe(class extends m {
1842
1849
  constructor(e) {
1843
1850
  super(e);
1844
1851
  }
1845
- }, [0, Q, Ar, Mn, [0, ue, [0, q, -3], [0, U, -3], [0, q, -1, [0, W, [0, q, -2]]], W, [0, U, -1, T, U]], T, -1, qe, W, [0, q, U], Q, qe]), Ba = class extends g {
1852
+ }, [0, Q, Ar, xn, [0, ue, [0, q, -3], [0, U, -3], [0, q, -1, [0, W, [0, q, -2]]], W, [0, U, -1, T, U]], T, -1, qe, W, [0, q, U], Q, qe]), Da = class extends m {
1846
1853
  constructor(e) {
1847
1854
  super(e);
1848
1855
  }
1849
- }, Et = Xe(class extends g {
1856
+ }, Et = Xe(class extends m {
1850
1857
  constructor(e) {
1851
1858
  super(e);
1852
1859
  }
1853
- }, [0, W, [0, U, -4]]), Ua = class extends g {
1860
+ }, [0, W, [0, U, -4]]), ja = class extends m {
1854
1861
  constructor(e) {
1855
1862
  super(e);
1856
1863
  }
1857
- }, Er = Xe(class extends g {
1864
+ }, Er = Xe(class extends m {
1858
1865
  constructor(e) {
1859
1866
  super(e);
1860
1867
  }
1861
- }, [0, W, [0, U, -4]]), iu = class extends g {
1868
+ }, [0, W, [0, U, -4]]), cu = class extends m {
1862
1869
  constructor(e) {
1863
1870
  super(e);
1864
1871
  }
1865
- }, ou = [0, q, -1, Mn, ue], Da = class extends g {
1872
+ }, hu = [0, q, -1, xn, ue], Va = class extends m {
1866
1873
  constructor(e) {
1867
1874
  super(e);
1868
1875
  }
1869
1876
  };
1870
- Da.prototype.g = ns([0, U, -4, qe]);
1871
- var au = class extends g {
1877
+ Va.prototype.g = ns([0, U, -4, qe]);
1878
+ var uu = class extends m {
1872
1879
  constructor(e) {
1873
1880
  super(e);
1874
1881
  }
1875
- }, cu = Xe(class extends g {
1882
+ }, lu = Xe(class extends m {
1876
1883
  constructor(e) {
1877
1884
  super(e);
1878
1885
  }
1879
- }, [0, W, [0, 1, q, T, Ia], qe]), Pi = class extends g {
1886
+ }, [0, W, [0, 1, q, T, Ba], qe]), xi = class extends m {
1880
1887
  constructor(e) {
1881
1888
  super(e);
1882
1889
  }
1883
- }, hu = class extends g {
1890
+ }, du = class extends m {
1884
1891
  constructor(e) {
1885
1892
  super(e);
1886
1893
  }
1887
1894
  na() {
1888
- const e = L(this, 1, void 0, void 0, qo);
1895
+ const e = L(this, 1, void 0, void 0, Yo);
1889
1896
  return e ?? ut();
1890
1897
  }
1891
- }, uu = class extends g {
1898
+ }, fu = class extends m {
1892
1899
  constructor(e) {
1893
1900
  super(e);
1894
1901
  }
1895
- }, ja = [1, 2], lu = Xe(class extends g {
1902
+ }, Ga = [1, 2], pu = Xe(class extends m {
1896
1903
  constructor(e) {
1897
1904
  super(e);
1898
1905
  }
1899
- }, [0, W, [0, ja, R, [0, Mn], R, [0, Ca], q, T], qe]), xn = class extends g {
1906
+ }, [0, W, [0, Ga, R, [0, xn], R, [0, Pa], q, T], qe]), Fn = class extends m {
1900
1907
  constructor(e) {
1901
1908
  super(e);
1902
1909
  }
1903
- }, Va = [0, T, q, U, Q, -1], Mi = class extends g {
1910
+ }, Ha = [0, T, q, U, Q, -1], Fi = class extends m {
1904
1911
  constructor(e) {
1905
1912
  super(e);
1906
1913
  }
1907
- }, du = [0, N, -1], xi = class extends g {
1914
+ }, mu = [0, N, -1], $i = class extends m {
1908
1915
  constructor(e) {
1909
1916
  super(e);
1910
1917
  }
1911
- }, Mr = [1, 2, 3, 4, 5, 6], Br = class extends g {
1918
+ }, Mr = [1, 2, 3, 4, 5, 6], Br = class extends m {
1912
1919
  constructor(e) {
1913
1920
  super(e);
1914
1921
  }
1915
1922
  g() {
1916
- return L(this, 1, void 0, void 0, qo) != null;
1923
+ return L(this, 1, void 0, void 0, Yo) != null;
1917
1924
  }
1918
1925
  l() {
1919
1926
  return Y(L(this, 2)) != null;
1920
1927
  }
1921
- }, O = class extends g {
1928
+ }, O = class extends m {
1922
1929
  constructor(e) {
1923
1930
  super(e);
1924
1931
  }
1925
1932
  g() {
1926
- return Bo(L(this, 2)) ?? !1;
1933
+ return Do(L(this, 2)) ?? !1;
1927
1934
  }
1928
- }, Ga = [0, Ca, T, [0, q, qe, -1], [0, Xh, qe]], D = [0, Ga, N, [0, Mr, R, $a, R, Pa, R, La, R, Fa, R, xa, R, Ma], ue], os = class extends g {
1935
+ }, za = [0, Pa, T, [0, q, qe, -1], [0, Jh, qe]], D = [0, za, N, [0, Mr, R, Ra, R, xa, R, Ma, R, Oa, R, $a, R, Fa], ue], os = class extends m {
1929
1936
  constructor(e) {
1930
1937
  super(e);
1931
1938
  }
1932
- }, Fn = [0, D, U, -1, q], fu = xe(502141897, os);
1933
- G[502141897] = Fn;
1934
- var pu = Xe(class extends g {
1939
+ }, $n = [0, D, U, -1, q], gu = xe(502141897, os);
1940
+ G[502141897] = $n;
1941
+ var yu = Xe(class extends m {
1935
1942
  constructor(e) {
1936
1943
  super(e);
1937
1944
  }
1938
- }, [0, [0, ue, -1, Kh, Yh], ou]), Ha = class extends g {
1945
+ }, [0, [0, ue, -1, Yh, Zh], hu]), Wa = class extends m {
1939
1946
  constructor(e) {
1940
1947
  super(e);
1941
1948
  }
1942
- }, za = class extends g {
1949
+ }, Ka = class extends m {
1943
1950
  constructor(e) {
1944
1951
  super(e);
1945
1952
  }
1946
- }, Is = [0, D, U, [0, D], N], gu = xe(508968150, za);
1947
- G[508968150] = [0, D, Fn, Is, U, [0, [0, Ga]]], G[508968149] = Is;
1948
- var vt = class extends g {
1953
+ }, Ns = [0, D, U, [0, D], N], bu = xe(508968150, Ka);
1954
+ G[508968150] = [0, D, $n, Ns, U, [0, [0, za]]], G[508968149] = Ns;
1955
+ var vt = class extends m {
1949
1956
  constructor(e) {
1950
1957
  super(e);
1951
1958
  }
1952
1959
  l() {
1953
- return A(this, xn, 2);
1960
+ return A(this, Fn, 2);
1954
1961
  }
1955
1962
  g() {
1956
1963
  k(this, 2);
1957
1964
  }
1958
- }, Wa = [0, D, Va];
1959
- G[478825465] = Wa;
1960
- var mu = class extends g {
1965
+ }, qa = [0, D, Ha];
1966
+ G[478825465] = qa;
1967
+ var vu = class extends m {
1961
1968
  constructor(e) {
1962
1969
  super(e);
1963
1970
  }
1964
- }, Ka = class extends g {
1971
+ }, Xa = class extends m {
1965
1972
  constructor(e) {
1966
1973
  super(e);
1967
1974
  }
1968
- }, $n = class extends g {
1975
+ }, On = class extends m {
1969
1976
  constructor(e) {
1970
1977
  super(e);
1971
1978
  }
1972
- }, On = class extends g {
1979
+ }, Rn = class extends m {
1973
1980
  constructor(e) {
1974
1981
  super(e);
1975
1982
  }
1976
- }, qa = class extends g {
1983
+ }, Ya = class extends m {
1977
1984
  constructor(e) {
1978
1985
  super(e);
1979
1986
  }
1980
- }, Fi = [0, D, [0, D], Wa, -1], Xa = [0, D, U, q], Rn = [0, D, U], Ya = [0, D, Xa, Rn, U], yu = xe(479097054, qa);
1981
- G[479097054] = [0, D, Ya, Fi], G[463370452] = Fi, G[464864288] = Xa;
1982
- var bu = xe(462713202, On);
1983
- G[462713202] = Ya, G[474472470] = Rn;
1984
- var vu = class extends g {
1987
+ }, Oi = [0, D, [0, D], qa, -1], Qa = [0, D, U, q], In = [0, D, U], Ja = [0, D, Qa, In, U], _u = xe(479097054, Ya);
1988
+ G[479097054] = [0, D, Ja, Oi], G[463370452] = Oi, G[464864288] = Qa;
1989
+ var wu = xe(462713202, Rn);
1990
+ G[462713202] = Ja, G[474472470] = In;
1991
+ var Au = class extends m {
1985
1992
  constructor(e) {
1986
1993
  super(e);
1987
1994
  }
1988
- }, Qa = class extends g {
1995
+ }, Za = class extends m {
1989
1996
  constructor(e) {
1990
1997
  super(e);
1991
1998
  }
1992
- }, Ja = class extends g {
1999
+ }, ec = class extends m {
1993
2000
  constructor(e) {
1994
2001
  super(e);
1995
2002
  }
1996
- }, Za = class extends g {
2003
+ }, tc = class extends m {
1997
2004
  constructor(e) {
1998
2005
  super(e);
1999
2006
  }
2000
- }, In = [0, D, U, -1, q], Ns = [0, D, U, N];
2001
- Za.prototype.g = ns([0, D, Rn, [0, D], Fn, Is, In, Ns]);
2002
- var ec = class extends g {
2007
+ }, Nn = [0, D, U, -1, q], Bs = [0, D, U, N];
2008
+ tc.prototype.g = ns([0, D, In, [0, D], $n, Ns, Nn, Bs]);
2009
+ var rc = class extends m {
2003
2010
  constructor(e) {
2004
2011
  super(e);
2005
2012
  }
2006
- }, _u = xe(456383383, ec);
2007
- G[456383383] = [0, D, Va];
2008
- var tc = class extends g {
2013
+ }, Eu = xe(456383383, rc);
2014
+ G[456383383] = [0, D, Ha];
2015
+ var sc = class extends m {
2009
2016
  constructor(e) {
2010
2017
  super(e);
2011
2018
  }
2012
- }, wu = xe(476348187, tc);
2013
- G[476348187] = [0, D, du];
2014
- var rc = class extends g {
2019
+ }, ku = xe(476348187, sc);
2020
+ G[476348187] = [0, D, mu];
2021
+ var nc = class extends m {
2015
2022
  constructor(e) {
2016
2023
  super(e);
2017
2024
  }
2018
- }, $i = class extends g {
2025
+ }, Ri = class extends m {
2019
2026
  constructor(e) {
2020
2027
  super(e);
2021
2028
  }
2022
- }, sc = [0, ue, -1], Au = xe(458105876, class extends g {
2029
+ }, ic = [0, ue, -1], Su = xe(458105876, class extends m {
2023
2030
  constructor(e) {
2024
2031
  super(e);
2025
2032
  }
@@ -2028,97 +2035,97 @@ var rc = class extends g {
2028
2035
  var t = this.v;
2029
2036
  const r = 0 | t[p];
2030
2037
  return e = ce(this, r), t = (function(s, n, i, o) {
2031
- var a = $i;
2038
+ var a = Ri;
2032
2039
  !o && Gt(s) && (i = 0 | (n = s.v)[p]);
2033
2040
  var c = Ie(n, 2);
2034
2041
  if (s = !1, c == null) {
2035
- if (o) return fi();
2042
+ if (o) return mi();
2036
2043
  c = [];
2037
2044
  } else if (c.constructor === Re) {
2038
2045
  if (!(2 & c.J) || o) return c;
2039
2046
  c = c.V();
2040
2047
  } else Array.isArray(c) ? s = !!(2 & (0 | c[p])) : c = [];
2041
2048
  if (o) {
2042
- if (!c.length) return fi();
2049
+ if (!c.length) return mi();
2043
2050
  s || (s = !0, yr(c));
2044
- } else s && (s = !1, hr(c), c = Xo(c));
2045
- return !s && 32 & i && mr(c, 32), i = V(n, i, 2, o = new Re(c, a, Ah, void 0)), s || gt(n, i), o;
2046
- })(this, t, r, e), !e && $i && (t.ra = !0), t;
2051
+ } else s && (s = !1, hr(c), c = Qo(c));
2052
+ return !s && 32 & i && gr(c, 32), i = V(n, i, 2, o = new Re(c, a, Sh, void 0)), s || mt(n, i), o;
2053
+ })(this, t, r, e), !e && Ri && (t.ra = !0), t;
2047
2054
  }
2048
2055
  });
2049
- G[458105876] = [0, sc, Wh, [!0, qe, [0, T, -1, Q]], [0, Ar, N, ue]];
2050
- var Nn = class extends g {
2056
+ G[458105876] = [0, ic, Xh, [!0, qe, [0, T, -1, Q]], [0, Ar, N, ue]];
2057
+ var Bn = class extends m {
2051
2058
  constructor(e) {
2052
2059
  super(e);
2053
2060
  }
2054
- }, nc = xe(458105758, Nn);
2055
- G[458105758] = [0, D, T, sc];
2056
- var _s = class extends g {
2061
+ }, oc = xe(458105758, Bn);
2062
+ G[458105758] = [0, D, T, ic];
2063
+ var ws = class extends m {
2057
2064
  constructor(e) {
2058
2065
  super(e);
2059
2066
  }
2060
- }, Oi = [0, qh, -1, ct], Eu = class extends g {
2067
+ }, Ii = [0, Qh, -1, ct], Tu = class extends m {
2061
2068
  constructor(e) {
2062
2069
  super(e);
2063
2070
  }
2064
- }, ic = class extends g {
2071
+ }, ac = class extends m {
2065
2072
  constructor(e) {
2066
2073
  super(e);
2067
2074
  }
2068
- }, Bs = [1, 2];
2069
- ic.prototype.g = ns([0, Bs, R, Oi, R, [0, W, Oi]]);
2070
- var oc = class extends g {
2075
+ }, Us = [1, 2];
2076
+ ac.prototype.g = ns([0, Us, R, Ii, R, [0, W, Ii]]);
2077
+ var cc = class extends m {
2071
2078
  constructor(e) {
2072
2079
  super(e);
2073
2080
  }
2074
- }, ku = xe(443442058, oc);
2075
- G[443442058] = [0, D, T, q, U, Q, -1, N, U], G[514774813] = In;
2076
- var ac = class extends g {
2081
+ }, Cu = xe(443442058, cc);
2082
+ G[443442058] = [0, D, T, q, U, Q, -1, N, U], G[514774813] = Nn;
2083
+ var hc = class extends m {
2077
2084
  constructor(e) {
2078
2085
  super(e);
2079
2086
  }
2080
- }, Su = xe(516587230, ac);
2081
- function Us(e, t) {
2082
- return t = t ? t.clone() : new xn(), e.displayNamesLocale !== void 0 ? k(t, 1, _r(e.displayNamesLocale)) : e.displayNamesLocale === void 0 && k(t, 1), e.maxResults !== void 0 ? Be(t, 2, e.maxResults) : "maxResults" in e && k(t, 2), e.scoreThreshold !== void 0 ? y(t, 3, e.scoreThreshold) : "scoreThreshold" in e && k(t, 3), e.categoryAllowlist !== void 0 ? Or(t, 4, e.categoryAllowlist) : "categoryAllowlist" in e && k(t, 4), e.categoryDenylist !== void 0 ? Or(t, 5, e.categoryDenylist) : "categoryDenylist" in e && k(t, 5), t;
2087
+ }, Lu = xe(516587230, hc);
2088
+ function Ds(e, t) {
2089
+ return t = t ? t.clone() : new Fn(), e.displayNamesLocale !== void 0 ? k(t, 1, _r(e.displayNamesLocale)) : e.displayNamesLocale === void 0 && k(t, 1), e.maxResults !== void 0 ? Be(t, 2, e.maxResults) : "maxResults" in e && k(t, 2), e.scoreThreshold !== void 0 ? y(t, 3, e.scoreThreshold) : "scoreThreshold" in e && k(t, 3), e.categoryAllowlist !== void 0 ? Or(t, 4, e.categoryAllowlist) : "categoryAllowlist" in e && k(t, 4), e.categoryDenylist !== void 0 ? Or(t, 5, e.categoryDenylist) : "categoryDenylist" in e && k(t, 5), t;
2083
2090
  }
2084
- function cc(e) {
2091
+ function uc(e) {
2085
2092
  const t = Number(e);
2086
2093
  return Number.isSafeInteger(t) ? t : String(e);
2087
2094
  }
2088
- function Bn(e, t = -1, r = "") {
2089
- return { categories: e.map(((s) => ({ index: me(s, 1) ?? 0 ?? -1, score: I(s, 2) ?? 0, categoryName: Y(L(s, 3)) ?? "" ?? "", displayName: Y(L(s, 4)) ?? "" ?? "" }))), headIndex: t, headName: r };
2095
+ function Un(e, t = -1, r = "") {
2096
+ return { categories: e.map(((s) => ({ index: ge(s, 1) ?? 0 ?? -1, score: I(s, 2) ?? 0, categoryName: Y(L(s, 3)) ?? "" ?? "", displayName: Y(L(s, 4)) ?? "" ?? "" }))), headIndex: t, headName: r };
2090
2097
  }
2091
- function Tu(e) {
2092
- const t = { classifications: Ne(e, au, 1).map(((r) => {
2098
+ function Pu(e) {
2099
+ const t = { classifications: Ne(e, uu, 1).map(((r) => {
2093
2100
  var s;
2094
- return Bn(((s = A(r, Ra, 4)) == null ? void 0 : s.g()) ?? [], me(r, 2) ?? 0, Y(L(r, 3)) ?? "");
2101
+ return Un(((s = A(r, Na, 4)) == null ? void 0 : s.g()) ?? [], ge(r, 2) ?? 0, Y(L(r, 3)) ?? "");
2095
2102
  })) };
2096
2103
  return (function(r) {
2097
- return wh(Js ? L(r, 2, void 0, void 0, Fr) : L(r, 2));
2098
- })(e) != null && (t.timestampMs = cc(ea(e))), t;
2104
+ return kh(Zs ? L(r, 2, void 0, void 0, Fr) : L(r, 2));
2105
+ })(e) != null && (t.timestampMs = uc(ra(e))), t;
2099
2106
  }
2100
- function hc(e) {
2107
+ function lc(e) {
2101
2108
  var o, a;
2102
2109
  var t = rt(e, 3, Te, tt()), r = rt(e, 2, jt, tt()), s = rt(e, 1, Y, tt()), n = rt(e, 9, Y, tt());
2103
2110
  const i = { categories: [], keypoints: [] };
2104
2111
  for (let c = 0; c < t.length; c++) i.categories.push({ score: t[c], index: r[c] ?? -1, categoryName: s[c] ?? "", displayName: n[c] ?? "" });
2105
- if ((t = (o = A(e, vs, 4)) == null ? void 0 : o.l()) && (i.boundingBox = { originX: me(t, 1, De) ?? 0, originY: me(t, 2, De) ?? 0, width: me(t, 3, De) ?? 0, height: me(t, 4, De) ?? 0, angle: 0 }), (a = A(e, vs, 4)) == null ? void 0 : a.g().length) for (const c of A(e, vs, 4).g()) i.keypoints.push({ x: L(c, 1, void 0, De, Te) ?? 0, y: L(c, 2, void 0, De, Te) ?? 0, score: L(c, 4, void 0, De, Te) ?? 0, label: Y(L(c, 3, void 0, De)) ?? "" });
2112
+ if ((t = (o = A(e, _s, 4)) == null ? void 0 : o.l()) && (i.boundingBox = { originX: ge(t, 1, De) ?? 0, originY: ge(t, 2, De) ?? 0, width: ge(t, 3, De) ?? 0, height: ge(t, 4, De) ?? 0, angle: 0 }), (a = A(e, _s, 4)) == null ? void 0 : a.g().length) for (const c of A(e, _s, 4).g()) i.keypoints.push({ x: L(c, 1, void 0, De, Te) ?? 0, y: L(c, 2, void 0, De, Te) ?? 0, score: L(c, 4, void 0, De, Te) ?? 0, label: Y(L(c, 3, void 0, De)) ?? "" });
2106
2113
  return i;
2107
2114
  }
2108
2115
  function as(e) {
2109
2116
  const t = [];
2110
- for (const r of Ne(e, Ua, 1)) t.push({ x: I(r, 1) ?? 0, y: I(r, 2) ?? 0, z: I(r, 3) ?? 0, visibility: I(r, 4) ?? 0 });
2117
+ for (const r of Ne(e, ja, 1)) t.push({ x: I(r, 1) ?? 0, y: I(r, 2) ?? 0, z: I(r, 3) ?? 0, visibility: I(r, 4) ?? 0 });
2111
2118
  return t;
2112
2119
  }
2113
2120
  function nr(e) {
2114
2121
  const t = [];
2115
- for (const r of Ne(e, Ba, 1)) t.push({ x: I(r, 1) ?? 0, y: I(r, 2) ?? 0, z: I(r, 3) ?? 0, visibility: I(r, 4) ?? 0 });
2122
+ for (const r of Ne(e, Da, 1)) t.push({ x: I(r, 1) ?? 0, y: I(r, 2) ?? 0, z: I(r, 3) ?? 0, visibility: I(r, 4) ?? 0 });
2116
2123
  return t;
2117
2124
  }
2118
- function Ri(e) {
2125
+ function Ni(e) {
2119
2126
  return Array.from(e, ((t) => t > 127 ? t - 256 : t));
2120
2127
  }
2121
- function Ii(e, t) {
2128
+ function Bi(e, t) {
2122
2129
  if (e.length !== t.length) throw Error(`Cannot compute cosine similarity between embeddings of different sizes (${e.length} vs. ${t.length}).`);
2123
2130
  let r = 0, s = 0, n = 0;
2124
2131
  for (let i = 0; i < e.length; i++) r += e[i] * t[i], s += e[i] * e[i], n += t[i] * t[i];
@@ -2126,29 +2133,29 @@ function Ii(e, t) {
2126
2133
  return r / Math.sqrt(s * n);
2127
2134
  }
2128
2135
  let Tr;
2129
- G[516587230] = [0, D, In, Ns, U], G[518928384] = Ns;
2130
- const Cu = 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]);
2131
- async function uc() {
2136
+ G[516587230] = [0, D, Nn, Bs, U], G[518928384] = Bs;
2137
+ const Mu = 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]);
2138
+ async function dc() {
2132
2139
  if (Tr === void 0) try {
2133
- await WebAssembly.instantiate(Cu), Tr = !0;
2140
+ await WebAssembly.instantiate(Mu), Tr = !0;
2134
2141
  } catch {
2135
2142
  Tr = !1;
2136
2143
  }
2137
2144
  return Tr;
2138
2145
  }
2139
- async function Jt(e, t = Zh``) {
2140
- const r = await uc() ? "wasm_internal" : "wasm_nosimd_internal";
2146
+ async function Jt(e, t = ru``) {
2147
+ const r = await dc() ? "wasm_internal" : "wasm_nosimd_internal";
2141
2148
  return { wasmLoaderPath: `${t}/${e}_${r}.js`, wasmBinaryPath: `${t}/${e}_${r}.wasm` };
2142
2149
  }
2143
2150
  var et = class {
2144
2151
  };
2145
- function lc() {
2152
+ function fc() {
2146
2153
  var e = navigator;
2147
2154
  return typeof OffscreenCanvas < "u" && (!(function(t = navigator) {
2148
2155
  return (t = t.userAgent).includes("Safari") && !t.includes("Chrome");
2149
2156
  })(e) || !!((e = e.userAgent.match(/Version\/([\d]+).*Safari/)) && e.length >= 1 && Number(e[1]) >= 17));
2150
2157
  }
2151
- async function Ni(e) {
2158
+ async function Ui(e) {
2152
2159
  if (typeof importScripts != "function") {
2153
2160
  const t = document.createElement("script");
2154
2161
  return t.src = e.toString(), t.crossOrigin = "anonymous", new Promise(((r, s) => {
@@ -2166,20 +2173,20 @@ async function Ni(e) {
2166
2173
  await self.import(e.toString());
2167
2174
  }
2168
2175
  }
2169
- function dc(e) {
2176
+ function pc(e) {
2170
2177
  return e.videoWidth !== void 0 ? [e.videoWidth, e.videoHeight] : e.naturalWidth !== void 0 ? [e.naturalWidth, e.naturalHeight] : e.displayWidth !== void 0 ? [e.displayWidth, e.displayHeight] : [e.width, e.height];
2171
2178
  }
2172
- function m(e, t, r) {
2179
+ function g(e, t, r) {
2173
2180
  e.m || console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target"), r(t = e.i.stringToNewUTF8(t)), e.i._free(t);
2174
2181
  }
2175
- function Bi(e, t, r) {
2182
+ function Di(e, t, r) {
2176
2183
  if (!e.i.canvas) throw Error("No OpenGL canvas configured.");
2177
2184
  if (r ? e.i._bindTextureToStream(r) : e.i._bindTextureToCanvas(), !(r = e.i.canvas.getContext("webgl2") || e.i.canvas.getContext("webgl"))) throw Error("Failed to obtain WebGL context from the provided canvas. `getContext()` should only be invoked with `webgl` or `webgl2`.");
2178
2185
  e.i.gpuOriginForWebTexturesIsBottomLeft && r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL, !0), r.texImage2D(r.TEXTURE_2D, 0, r.RGBA, r.RGBA, r.UNSIGNED_BYTE, t), e.i.gpuOriginForWebTexturesIsBottomLeft && r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL, !1);
2179
- const [s, n] = dc(t);
2186
+ const [s, n] = pc(t);
2180
2187
  return !e.l || s === e.i.canvas.width && n === e.i.canvas.height || (e.i.canvas.width = s, e.i.canvas.height = n), [s, n];
2181
2188
  }
2182
- function Ui(e, t, r) {
2189
+ function ji(e, t, r) {
2183
2190
  e.m || console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target");
2184
2191
  const s = new Uint32Array(t.length);
2185
2192
  for (let n = 0; n < t.length; n++) s[n] = e.i.stringToNewUTF8(t[n]);
@@ -2207,19 +2214,19 @@ et.forVisionTasks = function(e) {
2207
2214
  }, et.forAudioTasks = function(e) {
2208
2215
  return Jt("audio", e);
2209
2216
  }, et.isSimdSupported = function() {
2210
- return uc();
2217
+ return dc();
2211
2218
  };
2212
- async function Lu(e, t, r, s) {
2219
+ async function xu(e, t, r, s) {
2213
2220
  return e = await (async (n, i, o, a, c) => {
2214
- if (i && await Ni(i), !self.ModuleFactory || o && (await Ni(o), !self.ModuleFactory)) throw Error("ModuleFactory not set.");
2221
+ if (i && await Ui(i), !self.ModuleFactory || o && (await Ui(o), !self.ModuleFactory)) throw Error("ModuleFactory not set.");
2215
2222
  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 n(c, a);
2216
2223
  })(e, r.wasmLoaderPath, r.assetLoaderPath, t, { locateFile: (n) => n.endsWith(".wasm") ? r.wasmBinaryPath.toString() : r.assetBinaryPath && n.endsWith(".data") ? r.assetBinaryPath.toString() : n }), await e.o(s), e;
2217
2224
  }
2218
- function ws(e, t) {
2225
+ function As(e, t) {
2219
2226
  const r = A(e.baseOptions, Br, 1) || new Br();
2220
- typeof t == "string" ? (k(r, 2, _r(t)), k(r, 1)) : t instanceof Uint8Array && (k(r, 1, tn(t, !1)), k(r, 2)), v(e.baseOptions, 0, 1, r);
2227
+ typeof t == "string" ? (k(r, 2, _r(t)), k(r, 1)) : t instanceof Uint8Array && (k(r, 1, rn(t, !1)), k(r, 2)), v(e.baseOptions, 0, 1, r);
2221
2228
  }
2222
- function Di(e) {
2229
+ function Vi(e) {
2223
2230
  try {
2224
2231
  const t = e.H.length;
2225
2232
  if (t === 1) throw Error(e.H[0].message);
@@ -2240,7 +2247,7 @@ function $t(e, t) {
2240
2247
  function hs(e) {
2241
2248
  e.g.addBoolToStream(!0, "free_memory", e.C);
2242
2249
  }
2243
- var Ds = class {
2250
+ var js = class {
2244
2251
  constructor(e) {
2245
2252
  this.g = e, this.H = [], this.C = 0, this.g.setAutoRenderToScreen(!1);
2246
2253
  }
@@ -2251,12 +2258,12 @@ var Ds = class {
2251
2258
  if ((r = e.baseOptions) != null && r.modelAssetBuffer && ((s = e.baseOptions) != null && s.modelAssetPath)) throw Error("Cannot set both baseOptions.modelAssetPath and baseOptions.modelAssetBuffer");
2252
2259
  if (!((n = A(this.baseOptions, Br, 1)) != null && n.g() || (i = A(this.baseOptions, Br, 1)) != null && i.l() || (o = e.baseOptions) != null && o.modelAssetBuffer || (a = e.baseOptions) != null && a.modelAssetPath)) throw Error("Either baseOptions.modelAssetPath or baseOptions.modelAssetBuffer must be set");
2253
2260
  if ((function(u, h) {
2254
- let l = A(u.baseOptions, xi, 3);
2261
+ let l = A(u.baseOptions, $i, 3);
2255
2262
  if (!l) {
2256
- var d = l = new xi(), b = new Si();
2263
+ var d = l = new $i(), b = new Ci();
2257
2264
  rr(d, 4, Mr, b);
2258
2265
  }
2259
- "delegate" in h && (h.delegate === "GPU" ? (h = l, d = new eu(), rr(h, 2, Mr, d)) : (h = l, d = new Si(), rr(h, 4, Mr, d))), v(u.baseOptions, 0, 3, l);
2266
+ "delegate" in h && (h.delegate === "GPU" ? (h = l, d = new su(), rr(h, 2, Mr, d)) : (h = l, d = new Ci(), rr(h, 4, Mr, d))), v(u.baseOptions, 0, 3, l);
2260
2267
  })(this, c), c.modelAssetPath) return fetch(c.modelAssetPath.toString()).then(((u) => {
2261
2268
  if (u.ok) return u.arrayBuffer();
2262
2269
  throw Error(`Failed to fetch model: ${c.modelAssetPath} (${u.status})`);
@@ -2265,9 +2272,9 @@ var Ds = class {
2265
2272
  this.g.i.FS_unlink("/model.dat");
2266
2273
  } catch {
2267
2274
  }
2268
- this.g.i.FS_createDataFile("/", "model.dat", new Uint8Array(u), !0, !1, !1), ws(this, "/model.dat"), this.m(), this.L();
2275
+ this.g.i.FS_createDataFile("/", "model.dat", new Uint8Array(u), !0, !1, !1), As(this, "/model.dat"), this.m(), this.L();
2269
2276
  }));
2270
- if (c.modelAssetBuffer instanceof Uint8Array) ws(this, c.modelAssetBuffer);
2277
+ if (c.modelAssetBuffer instanceof Uint8Array) As(this, c.modelAssetBuffer);
2271
2278
  else if (c.modelAssetBuffer) return (async function(u) {
2272
2279
  const h = [];
2273
2280
  for (var l = 0; ; ) {
@@ -2281,7 +2288,7 @@ var Ds = class {
2281
2288
  for (const d of h) u.set(d, l), l += d.length;
2282
2289
  return u;
2283
2290
  })(c.modelAssetBuffer).then(((u) => {
2284
- ws(this, u), this.m(), this.L();
2291
+ As(this, u), this.m(), this.L();
2285
2292
  }));
2286
2293
  }
2287
2294
  return this.m(), this.L(), Promise.resolve();
@@ -2291,17 +2298,17 @@ var Ds = class {
2291
2298
  ca() {
2292
2299
  let e;
2293
2300
  if (this.g.ca(((t) => {
2294
- e = tu(t);
2301
+ e = nu(t);
2295
2302
  })), !e) throw Error("Failed to retrieve CalculatorGraphConfig");
2296
2303
  return e;
2297
2304
  }
2298
2305
  setGraph(e, t) {
2299
2306
  this.g.attachErrorListener(((r, s) => {
2300
2307
  this.H.push(Error(s));
2301
- })), this.g.Ja(), this.g.setGraph(e, t), this.B = void 0, Di(this);
2308
+ })), this.g.Ja(), this.g.setGraph(e, t), this.B = void 0, Vi(this);
2302
2309
  }
2303
2310
  finishProcessing() {
2304
- this.g.finishProcessing(), Di(this);
2311
+ this.g.finishProcessing(), Vi(this);
2305
2312
  }
2306
2313
  close() {
2307
2314
  this.B = void 0, this.g.closeGraph();
@@ -2311,8 +2318,8 @@ function ze(e, t) {
2311
2318
  if (!e) throw Error(`Unable to obtain required WebGL resource: ${t}`);
2312
2319
  return e;
2313
2320
  }
2314
- Ds.prototype.close = Ds.prototype.close;
2315
- class Pu {
2321
+ js.prototype.close = js.prototype.close;
2322
+ class Fu {
2316
2323
  constructor(t, r, s, n) {
2317
2324
  this.g = t, this.h = r, this.m = s, this.l = n;
2318
2325
  }
@@ -2323,38 +2330,38 @@ class Pu {
2323
2330
  this.g.deleteVertexArray(this.h), this.g.deleteBuffer(this.m), this.g.deleteBuffer(this.l);
2324
2331
  }
2325
2332
  }
2326
- function ji(e, t, r) {
2333
+ function Gi(e, t, r) {
2327
2334
  const s = e.g;
2328
2335
  if (r = ze(s.createShader(r), "Failed to create WebGL shader"), s.shaderSource(r, t), s.compileShader(r), !s.getShaderParameter(r, s.COMPILE_STATUS)) throw Error(`Could not compile WebGL shader: ${s.getShaderInfoLog(r)}`);
2329
2336
  return s.attachShader(e.h, r), r;
2330
2337
  }
2331
- function Vi(e, t) {
2338
+ function Hi(e, t) {
2332
2339
  const r = e.g, s = ze(r.createVertexArray(), "Failed to create vertex array");
2333
2340
  r.bindVertexArray(s);
2334
2341
  const n = ze(r.createBuffer(), "Failed to create buffer");
2335
2342
  r.bindBuffer(r.ARRAY_BUFFER, n), r.enableVertexAttribArray(e.O), r.vertexAttribPointer(e.O, 2, r.FLOAT, !1, 0, 0), r.bufferData(r.ARRAY_BUFFER, new Float32Array([-1, -1, -1, 1, 1, 1, 1, -1]), r.STATIC_DRAW);
2336
2343
  const i = ze(r.createBuffer(), "Failed to create buffer");
2337
- return r.bindBuffer(r.ARRAY_BUFFER, i), r.enableVertexAttribArray(e.L), r.vertexAttribPointer(e.L, 2, r.FLOAT, !1, 0, 0), r.bufferData(r.ARRAY_BUFFER, new Float32Array(t ? [0, 1, 0, 0, 1, 0, 1, 1] : [0, 0, 0, 1, 1, 1, 1, 0]), r.STATIC_DRAW), r.bindBuffer(r.ARRAY_BUFFER, null), r.bindVertexArray(null), new Pu(r, s, n, i);
2344
+ return r.bindBuffer(r.ARRAY_BUFFER, i), r.enableVertexAttribArray(e.L), r.vertexAttribPointer(e.L, 2, r.FLOAT, !1, 0, 0), r.bufferData(r.ARRAY_BUFFER, new Float32Array(t ? [0, 1, 0, 0, 1, 0, 1, 1] : [0, 0, 0, 1, 1, 1, 1, 0]), r.STATIC_DRAW), r.bindBuffer(r.ARRAY_BUFFER, null), r.bindVertexArray(null), new Fu(r, s, n, i);
2338
2345
  }
2339
- function Un(e, t) {
2346
+ function Dn(e, t) {
2340
2347
  if (e.g) {
2341
2348
  if (t !== e.g) throw Error("Cannot change GL context once initialized");
2342
2349
  } else e.g = t;
2343
2350
  }
2344
- function Mu(e, t, r, s) {
2345
- return Un(e, t), e.h || (e.m(), e.D()), r ? (e.u || (e.u = Vi(e, !0)), r = e.u) : (e.A || (e.A = Vi(e, !1)), r = e.A), t.useProgram(e.h), r.bind(), e.l(), e = s(), r.g.bindVertexArray(null), e;
2351
+ function $u(e, t, r, s) {
2352
+ return Dn(e, t), e.h || (e.m(), e.D()), r ? (e.u || (e.u = Hi(e, !0)), r = e.u) : (e.A || (e.A = Hi(e, !1)), r = e.A), t.useProgram(e.h), r.bind(), e.l(), e = s(), r.g.bindVertexArray(null), e;
2346
2353
  }
2347
- function fc(e, t, r) {
2348
- return Un(e, t), e = ze(t.createTexture(), "Failed to create texture"), t.bindTexture(t.TEXTURE_2D, e), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_WRAP_S, t.CLAMP_TO_EDGE), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_WRAP_T, t.CLAMP_TO_EDGE), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MIN_FILTER, r ?? t.LINEAR), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MAG_FILTER, r ?? t.LINEAR), t.bindTexture(t.TEXTURE_2D, null), e;
2354
+ function mc(e, t, r) {
2355
+ return Dn(e, t), e = ze(t.createTexture(), "Failed to create texture"), t.bindTexture(t.TEXTURE_2D, e), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_WRAP_S, t.CLAMP_TO_EDGE), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_WRAP_T, t.CLAMP_TO_EDGE), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MIN_FILTER, r ?? t.LINEAR), t.texParameteri(t.TEXTURE_2D, t.TEXTURE_MAG_FILTER, r ?? t.LINEAR), t.bindTexture(t.TEXTURE_2D, null), e;
2349
2356
  }
2350
- function pc(e, t, r) {
2351
- Un(e, t), e.B || (e.B = ze(t.createFramebuffer(), "Failed to create framebuffe.")), t.bindFramebuffer(t.FRAMEBUFFER, e.B), t.framebufferTexture2D(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0, t.TEXTURE_2D, r, 0);
2357
+ function gc(e, t, r) {
2358
+ Dn(e, t), e.B || (e.B = ze(t.createFramebuffer(), "Failed to create framebuffe.")), t.bindFramebuffer(t.FRAMEBUFFER, e.B), t.framebufferTexture2D(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0, t.TEXTURE_2D, r, 0);
2352
2359
  }
2353
- function xu(e) {
2360
+ function Ou(e) {
2354
2361
  var t;
2355
2362
  (t = e.g) == null || t.bindFramebuffer(e.g.FRAMEBUFFER, null);
2356
2363
  }
2357
- var gc = class {
2364
+ var yc = class {
2358
2365
  H() {
2359
2366
  return `
2360
2367
  precision mediump float;
@@ -2367,14 +2374,14 @@ var gc = class {
2367
2374
  }
2368
2375
  m() {
2369
2376
  const e = this.g;
2370
- if (this.h = ze(e.createProgram(), "Failed to create WebGL program"), this.X = ji(this, `
2377
+ if (this.h = ze(e.createProgram(), "Failed to create WebGL program"), this.X = Gi(this, `
2371
2378
  attribute vec2 aVertex;
2372
2379
  attribute vec2 aTex;
2373
2380
  varying vec2 vTex;
2374
2381
  void main(void) {
2375
2382
  gl_Position = vec4(aVertex, 0.0, 1.0);
2376
2383
  vTex = aTex;
2377
- }`, e.VERTEX_SHADER), this.W = ji(this, this.H(), e.FRAGMENT_SHADER), e.linkProgram(this.h), !e.getProgramParameter(this.h, e.LINK_STATUS)) throw Error(`Error during program linking: ${e.getProgramInfoLog(this.h)}`);
2384
+ }`, e.VERTEX_SHADER), this.W = Gi(this, this.H(), e.FRAGMENT_SHADER), e.linkProgram(this.h), !e.getProgramParameter(this.h, e.LINK_STATUS)) throw Error(`Error during program linking: ${e.getProgramInfoLog(this.h)}`);
2378
2385
  this.O = e.getAttribLocation(this.h, "aVertex"), this.L = e.getAttribLocation(this.h, "aTex");
2379
2386
  }
2380
2387
  D() {
@@ -2401,15 +2408,15 @@ function Oe(e, t) {
2401
2408
  throw Error(`Type is not supported: ${t}`);
2402
2409
  }
2403
2410
  }
2404
- function js(e) {
2411
+ function Vs(e) {
2405
2412
  var t = Oe(e, 1);
2406
2413
  if (!t) {
2407
2414
  if (t = Oe(e, 0)) t = new Float32Array(t).map(((s) => s / 255));
2408
2415
  else {
2409
2416
  t = new Float32Array(e.width * e.height);
2410
2417
  const s = Ot(e);
2411
- var r = Dn(e);
2412
- if (pc(r, s, mc(e)), "iPad Simulator;iPhone Simulator;iPod Simulator;iPad;iPhone;iPod".split(";").includes(navigator.platform) || navigator.userAgent.includes("Mac") && "document" in self && "ontouchend" in self.document) {
2418
+ var r = jn(e);
2419
+ if (gc(r, s, bc(e)), "iPad Simulator;iPhone Simulator;iPod Simulator;iPad;iPhone;iPod".split(";").includes(navigator.platform) || navigator.userAgent.includes("Mac") && "document" in self && "ontouchend" in self.document) {
2413
2420
  r = new Float32Array(e.width * e.height * 4), s.readPixels(0, 0, e.width, e.height, s.RGBA, s.FLOAT, r);
2414
2421
  for (let n = 0, i = 0; n < t.length; ++n, i += 4) t[n] = r[i];
2415
2422
  } else s.readPixels(0, 0, e.width, e.height, s.RED, s.FLOAT, t);
@@ -2418,13 +2425,13 @@ function js(e) {
2418
2425
  }
2419
2426
  return t;
2420
2427
  }
2421
- function mc(e) {
2428
+ function bc(e) {
2422
2429
  let t = Oe(e, 2);
2423
2430
  if (!t) {
2424
2431
  const r = Ot(e);
2425
- t = bc(e);
2426
- const s = js(e), n = yc(e);
2427
- r.texImage2D(r.TEXTURE_2D, 0, n, e.width, e.height, 0, r.RED, r.FLOAT, s), Vs(e);
2432
+ t = _c(e);
2433
+ const s = Vs(e), n = vc(e);
2434
+ r.texImage2D(r.TEXTURE_2D, 0, n, e.width, e.height, 0, r.RED, r.FLOAT, s), Gs(e);
2428
2435
  }
2429
2436
  return t;
2430
2437
  }
@@ -2432,7 +2439,7 @@ function Ot(e) {
2432
2439
  if (!e.canvas) throw Error("Conversion to different image formats require that a canvas is passed when initializing the image.");
2433
2440
  return e.h || (e.h = ze(e.canvas.getContext("webgl2"), "You cannot use a canvas that is already bound to a different type of rendering context.")), e.h;
2434
2441
  }
2435
- function yc(e) {
2442
+ function vc(e) {
2436
2443
  if (e = Ot(e), !Cr) if (e.getExtension("EXT_color_buffer_float") && e.getExtension("OES_texture_float_linear") && e.getExtension("EXT_float_blend")) Cr = e.R32F;
2437
2444
  else {
2438
2445
  if (!e.getExtension("EXT_color_buffer_half_float")) throw Error("GPU does not fully support 4-channel float32 or float16 formats");
@@ -2440,21 +2447,21 @@ function yc(e) {
2440
2447
  }
2441
2448
  return Cr;
2442
2449
  }
2443
- function Dn(e) {
2444
- return e.l || (e.l = new gc()), e.l;
2450
+ function jn(e) {
2451
+ return e.l || (e.l = new yc()), e.l;
2445
2452
  }
2446
- function bc(e) {
2453
+ function _c(e) {
2447
2454
  const t = Ot(e);
2448
2455
  t.viewport(0, 0, e.width, e.height), t.activeTexture(t.TEXTURE0);
2449
2456
  let r = Oe(e, 2);
2450
- return r || (r = fc(Dn(e), t, e.m ? t.LINEAR : t.NEAREST), e.g.push(r), e.j = !0), t.bindTexture(t.TEXTURE_2D, r), r;
2457
+ return r || (r = mc(jn(e), t, e.m ? t.LINEAR : t.NEAREST), e.g.push(r), e.j = !0), t.bindTexture(t.TEXTURE_2D, r), r;
2451
2458
  }
2452
- function Vs(e) {
2459
+ function Gs(e) {
2453
2460
  e.h.bindTexture(e.h.TEXTURE_2D, null);
2454
2461
  }
2455
2462
  var Cr, z = class {
2456
2463
  constructor(e, t, r, s, n, i, o) {
2457
- this.g = e, this.m = t, this.j = r, this.canvas = s, this.l = n, this.width = i, this.height = o, this.j && --Gi === 0 && console.error("You seem to be creating MPMask instances without invoking .close(). This leaks resources.");
2464
+ this.g = e, this.m = t, this.j = r, this.canvas = s, this.l = n, this.width = i, this.height = o, this.j && --zi === 0 && console.error("You seem to be creating MPMask instances without invoking .close(). This leaks resources.");
2458
2465
  }
2459
2466
  Fa() {
2460
2467
  return !!Oe(this, 0);
@@ -2466,14 +2473,14 @@ var Cr, z = class {
2466
2473
  return !!Oe(this, 2);
2467
2474
  }
2468
2475
  ja() {
2469
- return (t = Oe(e = this, 0)) || (t = js(e), t = new Uint8Array(t.map(((r) => Math.round(255 * r)))), e.g.push(t)), t;
2476
+ return (t = Oe(e = this, 0)) || (t = Vs(e), t = new Uint8Array(t.map(((r) => Math.round(255 * r)))), e.g.push(t)), t;
2470
2477
  var e, t;
2471
2478
  }
2472
2479
  ia() {
2473
- return js(this);
2480
+ return Vs(this);
2474
2481
  }
2475
2482
  N() {
2476
- return mc(this);
2483
+ return bc(this);
2477
2484
  }
2478
2485
  clone() {
2479
2486
  const e = [];
@@ -2484,12 +2491,12 @@ var Cr, z = class {
2484
2491
  else {
2485
2492
  if (!(t instanceof WebGLTexture)) throw Error(`Type is not supported: ${t}`);
2486
2493
  {
2487
- const s = Ot(this), n = Dn(this);
2488
- s.activeTexture(s.TEXTURE1), r = fc(n, s, this.m ? s.LINEAR : s.NEAREST), s.bindTexture(s.TEXTURE_2D, r);
2489
- const i = yc(this);
2490
- s.texImage2D(s.TEXTURE_2D, 0, i, this.width, this.height, 0, s.RED, s.FLOAT, null), s.bindTexture(s.TEXTURE_2D, null), pc(n, s, r), Mu(n, s, !1, (() => {
2491
- bc(this), s.clearColor(0, 0, 0, 0), s.clear(s.COLOR_BUFFER_BIT), s.drawArrays(s.TRIANGLE_FAN, 0, 4), Vs(this);
2492
- })), xu(n), Vs(this);
2494
+ const s = Ot(this), n = jn(this);
2495
+ s.activeTexture(s.TEXTURE1), r = mc(n, s, this.m ? s.LINEAR : s.NEAREST), s.bindTexture(s.TEXTURE_2D, r);
2496
+ const i = vc(this);
2497
+ s.texImage2D(s.TEXTURE_2D, 0, i, this.width, this.height, 0, s.RED, s.FLOAT, null), s.bindTexture(s.TEXTURE_2D, null), gc(n, s, r), $u(n, s, !1, (() => {
2498
+ _c(this), s.clearColor(0, 0, 0, 0), s.clear(s.COLOR_BUFFER_BIT), s.drawArrays(s.TRIANGLE_FAN, 0, 4), Gs(this);
2499
+ })), Ou(n), Gs(this);
2493
2500
  }
2494
2501
  }
2495
2502
  e.push(r);
@@ -2497,23 +2504,23 @@ var Cr, z = class {
2497
2504
  return new z(e, this.m, this.R(), this.canvas, this.l, this.width, this.height);
2498
2505
  }
2499
2506
  close() {
2500
- this.j && Ot(this).deleteTexture(Oe(this, 2)), Gi = -1;
2507
+ this.j && Ot(this).deleteTexture(Oe(this, 2)), zi = -1;
2501
2508
  }
2502
2509
  };
2503
2510
  z.prototype.close = z.prototype.close, z.prototype.clone = z.prototype.clone, z.prototype.getAsWebGLTexture = z.prototype.N, z.prototype.getAsFloat32Array = z.prototype.ia, z.prototype.getAsUint8Array = z.prototype.ja, z.prototype.hasWebGLTexture = z.prototype.R, z.prototype.hasFloat32Array = z.prototype.ka, z.prototype.hasUint8Array = z.prototype.Fa;
2504
- var Gi = 250;
2511
+ var zi = 250;
2505
2512
  function _e(...e) {
2506
2513
  return e.map((([t, r]) => ({ start: t, end: r })));
2507
2514
  }
2508
- const Fu = /* @__PURE__ */ (function(e) {
2515
+ const Ru = /* @__PURE__ */ (function(e) {
2509
2516
  return class extends e {
2510
2517
  Ja() {
2511
2518
  this.i._registerModelResourcesGraphService();
2512
2519
  }
2513
2520
  };
2514
- })((Hi = class {
2521
+ })((Wi = class {
2515
2522
  constructor(e, t) {
2516
- this.l = !0, this.i = e, this.g = null, this.h = 0, this.m = typeof this.i._addIntToInputStream == "function", t !== void 0 ? this.i.canvas = t : lc() ? 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"));
2523
+ this.l = !0, this.i = e, this.g = null, this.h = 0, this.m = typeof this.i._addIntToInputStream == "function", t !== void 0 ? this.i.canvas = t : fc() ? 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"));
2517
2524
  }
2518
2525
  async initializeGraph(e) {
2519
2526
  const t = await (await fetch(e)).arrayBuffer();
@@ -2527,8 +2534,8 @@ const Fu = /* @__PURE__ */ (function(e) {
2527
2534
  this.i.HEAPU8.set(e, s), t ? this.i._changeBinaryGraph(r, s) : this.i._changeTextGraph(r, s), this.i._free(s);
2528
2535
  }
2529
2536
  configureAudio(e, t, r, s, n) {
2530
- this.i._configureAudio || console.warn('Attempting to use configureAudio without support for input audio. Is build dep ":gl_graph_runner_audio" missing?'), m(this, s || "input_audio", ((i) => {
2531
- m(this, n = n || "audio_header", ((o) => {
2537
+ this.i._configureAudio || console.warn('Attempting to use configureAudio without support for input audio. Is build dep ":gl_graph_runner_audio" missing?'), g(this, s || "input_audio", ((i) => {
2538
+ g(this, n = n || "audio_header", ((o) => {
2532
2539
  this.i._configureAudio(i, o, e, t ?? 0, r);
2533
2540
  }));
2534
2541
  }));
@@ -2545,7 +2552,7 @@ const Fu = /* @__PURE__ */ (function(e) {
2545
2552
  ca(e) {
2546
2553
  ke(this, "__graph_config__", ((t) => {
2547
2554
  e(t);
2548
- })), m(this, "__graph_config__", ((t) => {
2555
+ })), g(this, "__graph_config__", ((t) => {
2549
2556
  this.i._getGraphConfig(t, void 0);
2550
2557
  })), delete this.i.simpleListeners.__graph_config__;
2551
2558
  }
@@ -2560,72 +2567,72 @@ const Fu = /* @__PURE__ */ (function(e) {
2560
2567
  }
2561
2568
  addAudioToStreamWithShape(e, t, r, s, n) {
2562
2569
  const i = 4 * e.length;
2563
- this.h !== i && (this.g && this.i._free(this.g), this.g = this.i._malloc(i), this.h = i), this.i.HEAPF32.set(e, this.g / 4), m(this, s, ((o) => {
2570
+ this.h !== i && (this.g && this.i._free(this.g), this.g = this.i._malloc(i), this.h = i), this.i.HEAPF32.set(e, this.g / 4), g(this, s, ((o) => {
2564
2571
  this.i._addAudioToInputStream(this.g, t, r, o, n);
2565
2572
  }));
2566
2573
  }
2567
2574
  addGpuBufferToStream(e, t, r) {
2568
- m(this, t, ((s) => {
2569
- const [n, i] = Bi(this, e, s);
2575
+ g(this, t, ((s) => {
2576
+ const [n, i] = Di(this, e, s);
2570
2577
  this.i._addBoundTextureToStream(s, n, i, r);
2571
2578
  }));
2572
2579
  }
2573
2580
  addBoolToStream(e, t, r) {
2574
- m(this, t, ((s) => {
2581
+ g(this, t, ((s) => {
2575
2582
  this.i._addBoolToInputStream(e, s, r);
2576
2583
  }));
2577
2584
  }
2578
2585
  addDoubleToStream(e, t, r) {
2579
- m(this, t, ((s) => {
2586
+ g(this, t, ((s) => {
2580
2587
  this.i._addDoubleToInputStream(e, s, r);
2581
2588
  }));
2582
2589
  }
2583
2590
  addFloatToStream(e, t, r) {
2584
- m(this, t, ((s) => {
2591
+ g(this, t, ((s) => {
2585
2592
  this.i._addFloatToInputStream(e, s, r);
2586
2593
  }));
2587
2594
  }
2588
2595
  addIntToStream(e, t, r) {
2589
- m(this, t, ((s) => {
2596
+ g(this, t, ((s) => {
2590
2597
  this.i._addIntToInputStream(e, s, r);
2591
2598
  }));
2592
2599
  }
2593
2600
  addUintToStream(e, t, r) {
2594
- m(this, t, ((s) => {
2601
+ g(this, t, ((s) => {
2595
2602
  this.i._addUintToInputStream(e, s, r);
2596
2603
  }));
2597
2604
  }
2598
2605
  addStringToStream(e, t, r) {
2599
- m(this, t, ((s) => {
2600
- m(this, e, ((n) => {
2606
+ g(this, t, ((s) => {
2607
+ g(this, e, ((n) => {
2601
2608
  this.i._addStringToInputStream(n, s, r);
2602
2609
  }));
2603
2610
  }));
2604
2611
  }
2605
2612
  addStringRecordToStream(e, t, r) {
2606
- m(this, t, ((s) => {
2607
- Ui(this, Object.keys(e), ((n) => {
2608
- Ui(this, Object.values(e), ((i) => {
2613
+ g(this, t, ((s) => {
2614
+ ji(this, Object.keys(e), ((n) => {
2615
+ ji(this, Object.values(e), ((i) => {
2609
2616
  this.i._addFlatHashMapToInputStream(n, i, Object.keys(e).length, s, r);
2610
2617
  }));
2611
2618
  }));
2612
2619
  }));
2613
2620
  }
2614
2621
  addProtoToStream(e, t, r, s) {
2615
- m(this, r, ((n) => {
2616
- m(this, t, ((i) => {
2622
+ g(this, r, ((n) => {
2623
+ g(this, t, ((i) => {
2617
2624
  const o = this.i._malloc(e.length);
2618
2625
  this.i.HEAPU8.set(e, o), this.i._addProtoToInputStream(o, e.length, i, n, s), this.i._free(o);
2619
2626
  }));
2620
2627
  }));
2621
2628
  }
2622
2629
  addEmptyPacketToStream(e, t) {
2623
- m(this, e, ((r) => {
2630
+ g(this, e, ((r) => {
2624
2631
  this.i._addEmptyPacketToInputStream(r, t);
2625
2632
  }));
2626
2633
  }
2627
2634
  addBoolVectorToStream(e, t, r) {
2628
- m(this, t, ((s) => {
2635
+ g(this, t, ((s) => {
2629
2636
  const n = this.i._allocateBoolVector(e.length);
2630
2637
  if (!n) throw Error("Unable to allocate new bool vector on heap.");
2631
2638
  for (const i of e) this.i._addBoolVectorEntry(n, i);
@@ -2633,7 +2640,7 @@ const Fu = /* @__PURE__ */ (function(e) {
2633
2640
  }));
2634
2641
  }
2635
2642
  addDoubleVectorToStream(e, t, r) {
2636
- m(this, t, ((s) => {
2643
+ g(this, t, ((s) => {
2637
2644
  const n = this.i._allocateDoubleVector(e.length);
2638
2645
  if (!n) throw Error("Unable to allocate new double vector on heap.");
2639
2646
  for (const i of e) this.i._addDoubleVectorEntry(n, i);
@@ -2641,7 +2648,7 @@ const Fu = /* @__PURE__ */ (function(e) {
2641
2648
  }));
2642
2649
  }
2643
2650
  addFloatVectorToStream(e, t, r) {
2644
- m(this, t, ((s) => {
2651
+ g(this, t, ((s) => {
2645
2652
  const n = this.i._allocateFloatVector(e.length);
2646
2653
  if (!n) throw Error("Unable to allocate new float vector on heap.");
2647
2654
  for (const i of e) this.i._addFloatVectorEntry(n, i);
@@ -2649,7 +2656,7 @@ const Fu = /* @__PURE__ */ (function(e) {
2649
2656
  }));
2650
2657
  }
2651
2658
  addIntVectorToStream(e, t, r) {
2652
- m(this, t, ((s) => {
2659
+ g(this, t, ((s) => {
2653
2660
  const n = this.i._allocateIntVector(e.length);
2654
2661
  if (!n) throw Error("Unable to allocate new int vector on heap.");
2655
2662
  for (const i of e) this.i._addIntVectorEntry(n, i);
@@ -2657,7 +2664,7 @@ const Fu = /* @__PURE__ */ (function(e) {
2657
2664
  }));
2658
2665
  }
2659
2666
  addUintVectorToStream(e, t, r) {
2660
- m(this, t, ((s) => {
2667
+ g(this, t, ((s) => {
2661
2668
  const n = this.i._allocateUintVector(e.length);
2662
2669
  if (!n) throw Error("Unable to allocate new unsigned int vector on heap.");
2663
2670
  for (const i of e) this.i._addUintVectorEntry(n, i);
@@ -2665,57 +2672,57 @@ const Fu = /* @__PURE__ */ (function(e) {
2665
2672
  }));
2666
2673
  }
2667
2674
  addStringVectorToStream(e, t, r) {
2668
- m(this, t, ((s) => {
2675
+ g(this, t, ((s) => {
2669
2676
  const n = this.i._allocateStringVector(e.length);
2670
2677
  if (!n) throw Error("Unable to allocate new string vector on heap.");
2671
- for (const i of e) m(this, i, ((o) => {
2678
+ for (const i of e) g(this, i, ((o) => {
2672
2679
  this.i._addStringVectorEntry(n, o);
2673
2680
  }));
2674
2681
  this.i._addStringVectorToInputStream(n, s, r);
2675
2682
  }));
2676
2683
  }
2677
2684
  addBoolToInputSidePacket(e, t) {
2678
- m(this, t, ((r) => {
2685
+ g(this, t, ((r) => {
2679
2686
  this.i._addBoolToInputSidePacket(e, r);
2680
2687
  }));
2681
2688
  }
2682
2689
  addDoubleToInputSidePacket(e, t) {
2683
- m(this, t, ((r) => {
2690
+ g(this, t, ((r) => {
2684
2691
  this.i._addDoubleToInputSidePacket(e, r);
2685
2692
  }));
2686
2693
  }
2687
2694
  addFloatToInputSidePacket(e, t) {
2688
- m(this, t, ((r) => {
2695
+ g(this, t, ((r) => {
2689
2696
  this.i._addFloatToInputSidePacket(e, r);
2690
2697
  }));
2691
2698
  }
2692
2699
  addIntToInputSidePacket(e, t) {
2693
- m(this, t, ((r) => {
2700
+ g(this, t, ((r) => {
2694
2701
  this.i._addIntToInputSidePacket(e, r);
2695
2702
  }));
2696
2703
  }
2697
2704
  addUintToInputSidePacket(e, t) {
2698
- m(this, t, ((r) => {
2705
+ g(this, t, ((r) => {
2699
2706
  this.i._addUintToInputSidePacket(e, r);
2700
2707
  }));
2701
2708
  }
2702
2709
  addStringToInputSidePacket(e, t) {
2703
- m(this, t, ((r) => {
2704
- m(this, e, ((s) => {
2710
+ g(this, t, ((r) => {
2711
+ g(this, e, ((s) => {
2705
2712
  this.i._addStringToInputSidePacket(s, r);
2706
2713
  }));
2707
2714
  }));
2708
2715
  }
2709
2716
  addProtoToInputSidePacket(e, t, r) {
2710
- m(this, r, ((s) => {
2711
- m(this, t, ((n) => {
2717
+ g(this, r, ((s) => {
2718
+ g(this, t, ((n) => {
2712
2719
  const i = this.i._malloc(e.length);
2713
2720
  this.i.HEAPU8.set(e, i), this.i._addProtoToInputSidePacket(i, e.length, n, s), this.i._free(i);
2714
2721
  }));
2715
2722
  }));
2716
2723
  }
2717
2724
  addBoolVectorToInputSidePacket(e, t) {
2718
- m(this, t, ((r) => {
2725
+ g(this, t, ((r) => {
2719
2726
  const s = this.i._allocateBoolVector(e.length);
2720
2727
  if (!s) throw Error("Unable to allocate new bool vector on heap.");
2721
2728
  for (const n of e) this.i._addBoolVectorEntry(s, n);
@@ -2723,7 +2730,7 @@ const Fu = /* @__PURE__ */ (function(e) {
2723
2730
  }));
2724
2731
  }
2725
2732
  addDoubleVectorToInputSidePacket(e, t) {
2726
- m(this, t, ((r) => {
2733
+ g(this, t, ((r) => {
2727
2734
  const s = this.i._allocateDoubleVector(e.length);
2728
2735
  if (!s) throw Error("Unable to allocate new double vector on heap.");
2729
2736
  for (const n of e) this.i._addDoubleVectorEntry(s, n);
@@ -2731,7 +2738,7 @@ const Fu = /* @__PURE__ */ (function(e) {
2731
2738
  }));
2732
2739
  }
2733
2740
  addFloatVectorToInputSidePacket(e, t) {
2734
- m(this, t, ((r) => {
2741
+ g(this, t, ((r) => {
2735
2742
  const s = this.i._allocateFloatVector(e.length);
2736
2743
  if (!s) throw Error("Unable to allocate new float vector on heap.");
2737
2744
  for (const n of e) this.i._addFloatVectorEntry(s, n);
@@ -2739,7 +2746,7 @@ const Fu = /* @__PURE__ */ (function(e) {
2739
2746
  }));
2740
2747
  }
2741
2748
  addIntVectorToInputSidePacket(e, t) {
2742
- m(this, t, ((r) => {
2749
+ g(this, t, ((r) => {
2743
2750
  const s = this.i._allocateIntVector(e.length);
2744
2751
  if (!s) throw Error("Unable to allocate new int vector on heap.");
2745
2752
  for (const n of e) this.i._addIntVectorEntry(s, n);
@@ -2747,7 +2754,7 @@ const Fu = /* @__PURE__ */ (function(e) {
2747
2754
  }));
2748
2755
  }
2749
2756
  addUintVectorToInputSidePacket(e, t) {
2750
- m(this, t, ((r) => {
2757
+ g(this, t, ((r) => {
2751
2758
  const s = this.i._allocateUintVector(e.length);
2752
2759
  if (!s) throw Error("Unable to allocate new unsigned int vector on heap.");
2753
2760
  for (const n of e) this.i._addUintVectorEntry(s, n);
@@ -2755,89 +2762,89 @@ const Fu = /* @__PURE__ */ (function(e) {
2755
2762
  }));
2756
2763
  }
2757
2764
  addStringVectorToInputSidePacket(e, t) {
2758
- m(this, t, ((r) => {
2765
+ g(this, t, ((r) => {
2759
2766
  const s = this.i._allocateStringVector(e.length);
2760
2767
  if (!s) throw Error("Unable to allocate new string vector on heap.");
2761
- for (const n of e) m(this, n, ((i) => {
2768
+ for (const n of e) g(this, n, ((i) => {
2762
2769
  this.i._addStringVectorEntry(s, i);
2763
2770
  }));
2764
2771
  this.i._addStringVectorToInputSidePacket(s, r);
2765
2772
  }));
2766
2773
  }
2767
2774
  attachBoolListener(e, t) {
2768
- ke(this, e, t), m(this, e, ((r) => {
2775
+ ke(this, e, t), g(this, e, ((r) => {
2769
2776
  this.i._attachBoolListener(r);
2770
2777
  }));
2771
2778
  }
2772
2779
  attachBoolVectorListener(e, t) {
2773
- je(this, e, t), m(this, e, ((r) => {
2780
+ je(this, e, t), g(this, e, ((r) => {
2774
2781
  this.i._attachBoolVectorListener(r);
2775
2782
  }));
2776
2783
  }
2777
2784
  attachIntListener(e, t) {
2778
- ke(this, e, t), m(this, e, ((r) => {
2785
+ ke(this, e, t), g(this, e, ((r) => {
2779
2786
  this.i._attachIntListener(r);
2780
2787
  }));
2781
2788
  }
2782
2789
  attachIntVectorListener(e, t) {
2783
- je(this, e, t), m(this, e, ((r) => {
2790
+ je(this, e, t), g(this, e, ((r) => {
2784
2791
  this.i._attachIntVectorListener(r);
2785
2792
  }));
2786
2793
  }
2787
2794
  attachUintListener(e, t) {
2788
- ke(this, e, t), m(this, e, ((r) => {
2795
+ ke(this, e, t), g(this, e, ((r) => {
2789
2796
  this.i._attachUintListener(r);
2790
2797
  }));
2791
2798
  }
2792
2799
  attachUintVectorListener(e, t) {
2793
- je(this, e, t), m(this, e, ((r) => {
2800
+ je(this, e, t), g(this, e, ((r) => {
2794
2801
  this.i._attachUintVectorListener(r);
2795
2802
  }));
2796
2803
  }
2797
2804
  attachDoubleListener(e, t) {
2798
- ke(this, e, t), m(this, e, ((r) => {
2805
+ ke(this, e, t), g(this, e, ((r) => {
2799
2806
  this.i._attachDoubleListener(r);
2800
2807
  }));
2801
2808
  }
2802
2809
  attachDoubleVectorListener(e, t) {
2803
- je(this, e, t), m(this, e, ((r) => {
2810
+ je(this, e, t), g(this, e, ((r) => {
2804
2811
  this.i._attachDoubleVectorListener(r);
2805
2812
  }));
2806
2813
  }
2807
2814
  attachFloatListener(e, t) {
2808
- ke(this, e, t), m(this, e, ((r) => {
2815
+ ke(this, e, t), g(this, e, ((r) => {
2809
2816
  this.i._attachFloatListener(r);
2810
2817
  }));
2811
2818
  }
2812
2819
  attachFloatVectorListener(e, t) {
2813
- je(this, e, t), m(this, e, ((r) => {
2820
+ je(this, e, t), g(this, e, ((r) => {
2814
2821
  this.i._attachFloatVectorListener(r);
2815
2822
  }));
2816
2823
  }
2817
2824
  attachStringListener(e, t) {
2818
- ke(this, e, t), m(this, e, ((r) => {
2825
+ ke(this, e, t), g(this, e, ((r) => {
2819
2826
  this.i._attachStringListener(r);
2820
2827
  }));
2821
2828
  }
2822
2829
  attachStringVectorListener(e, t) {
2823
- je(this, e, t), m(this, e, ((r) => {
2830
+ je(this, e, t), g(this, e, ((r) => {
2824
2831
  this.i._attachStringVectorListener(r);
2825
2832
  }));
2826
2833
  }
2827
2834
  attachProtoListener(e, t, r) {
2828
- ke(this, e, t), m(this, e, ((s) => {
2835
+ ke(this, e, t), g(this, e, ((s) => {
2829
2836
  this.i._attachProtoListener(s, r || !1);
2830
2837
  }));
2831
2838
  }
2832
2839
  attachProtoVectorListener(e, t, r) {
2833
- je(this, e, t), m(this, e, ((s) => {
2840
+ je(this, e, t), g(this, e, ((s) => {
2834
2841
  this.i._attachProtoVectorListener(s, r || !1);
2835
2842
  }));
2836
2843
  }
2837
2844
  attachAudioListener(e, t, r) {
2838
2845
  this.i._attachAudioListener || console.warn('Attempting to use attachAudioListener without support for output audio. Is build dep ":gl_graph_runner_audio_out" missing?'), ke(this, e, ((s, n) => {
2839
2846
  s = new Float32Array(s.buffer, s.byteOffset, s.length / 4), t(s, n);
2840
- })), m(this, e, ((s) => {
2847
+ })), g(this, e, ((s) => {
2841
2848
  this.i._attachAudioListener(s, r || !1);
2842
2849
  }));
2843
2850
  }
@@ -2847,37 +2854,37 @@ const Fu = /* @__PURE__ */ (function(e) {
2847
2854
  closeGraph() {
2848
2855
  this.i._closeGraph(), this.i.simpleListeners = void 0, this.i.emptyPacketListeners = void 0;
2849
2856
  }
2850
- }, class extends Hi {
2857
+ }, class extends Wi {
2851
2858
  get ga() {
2852
2859
  return this.i;
2853
2860
  }
2854
2861
  pa(e, t, r) {
2855
- m(this, t, ((s) => {
2856
- const [n, i] = Bi(this, e, s);
2862
+ g(this, t, ((s) => {
2863
+ const [n, i] = Di(this, e, s);
2857
2864
  this.ga._addBoundTextureAsImageToStream(s, n, i, r);
2858
2865
  }));
2859
2866
  }
2860
2867
  Z(e, t) {
2861
- ke(this, e, t), m(this, e, ((r) => {
2868
+ ke(this, e, t), g(this, e, ((r) => {
2862
2869
  this.ga._attachImageListener(r);
2863
2870
  }));
2864
2871
  }
2865
2872
  aa(e, t) {
2866
- je(this, e, t), m(this, e, ((r) => {
2873
+ je(this, e, t), g(this, e, ((r) => {
2867
2874
  this.ga._attachImageVectorListener(r);
2868
2875
  }));
2869
2876
  }
2870
2877
  }));
2871
- var Hi, we = class extends Fu {
2878
+ var Wi, we = class extends Ru {
2872
2879
  };
2873
2880
  async function w(e, t, r) {
2874
2881
  return (async function(s, n, i, o) {
2875
- return Lu(s, n, i, o);
2876
- })(e, r.canvas ?? (lc() ? void 0 : document.createElement("canvas")), t, r);
2882
+ return xu(s, n, i, o);
2883
+ })(e, r.canvas ?? (fc() ? void 0 : document.createElement("canvas")), t, r);
2877
2884
  }
2878
- function vc(e, t, r, s) {
2885
+ function wc(e, t, r, s) {
2879
2886
  if (e.U) {
2880
- const i = new Da();
2887
+ const i = new Va();
2881
2888
  if (r != null && r.regionOfInterest) {
2882
2889
  if (!e.oa) throw Error("This task doesn't support region-of-interest.");
2883
2890
  var n = r.regionOfInterest;
@@ -2888,7 +2895,7 @@ function vc(e, t, r, s) {
2888
2895
  if (r != null && r.rotationDegrees) {
2889
2896
  if ((r == null ? void 0 : r.rotationDegrees) % 90 != 0) throw Error("Expected rotation to be a multiple of 90°.");
2890
2897
  if (y(i, 5, -Math.PI * r.rotationDegrees / 180), (r == null ? void 0 : r.rotationDegrees) % 180 != 0) {
2891
- const [o, a] = dc(t);
2898
+ const [o, a] = pc(t);
2892
2899
  r = I(i, 3) * a / o, n = I(i, 4) * o / a, y(i, 4, r), y(i, 3, n);
2893
2900
  }
2894
2901
  }
@@ -2899,12 +2906,12 @@ function vc(e, t, r, s) {
2899
2906
  function Ae(e, t, r) {
2900
2907
  var s;
2901
2908
  if ((s = e.baseOptions) != null && s.g()) throw Error("Task is not initialized with image mode. 'runningMode' must be set to 'IMAGE'.");
2902
- vc(e, t, r, e.C + 1);
2909
+ wc(e, t, r, e.C + 1);
2903
2910
  }
2904
2911
  function Fe(e, t, r, s) {
2905
2912
  var n;
2906
2913
  if (!((n = e.baseOptions) != null && n.g())) throw Error("Task is not initialized with video mode. 'runningMode' must be set to 'VIDEO'.");
2907
- vc(e, t, r, s);
2914
+ wc(e, t, r, s);
2908
2915
  }
2909
2916
  function Rt(e, t, r, s) {
2910
2917
  var n = t.data;
@@ -2912,9 +2919,9 @@ function Rt(e, t, r, s) {
2912
2919
  if ((n instanceof Uint8Array || n instanceof Float32Array) && n.length !== o) throw Error("Unsupported channel count: " + n.length / o);
2913
2920
  return e = new z([n], r, !1, e.g.i.canvas, e.P, i, t), s ? e.clone() : e;
2914
2921
  }
2915
- var le = class extends Ds {
2922
+ var le = class extends js {
2916
2923
  constructor(e, t, r, s) {
2917
- super(e), this.g = e, this.X = t, this.U = r, this.oa = s, this.P = new gc();
2924
+ super(e), this.g = e, this.X = t, this.U = r, this.oa = s, this.P = new yc();
2918
2925
  }
2919
2926
  l(e, t = !0) {
2920
2927
  if ("runningMode" in e && k(this.baseOptions, 2, lr(!!e.runningMode && e.runningMode !== "IMAGE")), e.canvas !== void 0 && this.g.i.canvas !== e.canvas) throw Error("You must create a new task to reset the canvas.");
@@ -2948,10 +2955,10 @@ var ie = class extends le {
2948
2955
  var e = new fe();
2949
2956
  x(e, "image_in"), x(e, "norm_rect_in"), E(e, "detections");
2950
2957
  const t = new de();
2951
- Me(t, fu, this.h);
2958
+ Me(t, gu, this.h);
2952
2959
  const r = new ee();
2953
2960
  he(r, 2, "mediapipe.tasks.vision.face_detector.FaceDetectorGraph"), P(r, "IMAGE:image_in"), P(r, "NORM_RECT:norm_rect_in"), _(r, "DETECTIONS:detections"), r.o(t), be(e, r), this.g.attachProtoVectorListener("detections", ((s, n) => {
2954
- for (const i of s) s = Na(i), this.j.detections.push(hc(s));
2961
+ for (const i of s) s = Ua(i), this.j.detections.push(lc(s));
2955
2962
  f(this, n);
2956
2963
  })), this.g.attachEmptyPacketListener("detections", ((s) => {
2957
2964
  f(this, s);
@@ -2965,13 +2972,13 @@ ie.prototype.detectForVideo = ie.prototype.G, ie.prototype.detect = ie.prototype
2965
2972
  }, ie.createFromOptions = function(e, t) {
2966
2973
  return w(ie, e, t);
2967
2974
  };
2968
- var jn = _e([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]), Vn = _e([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]), Gn = _e([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), _c = _e([474, 475], [475, 476], [476, 477], [477, 474]), Hn = _e([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]), zn = _e([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), wc = _e([469, 470], [470, 471], [471, 472], [472, 469]), Wn = _e([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]), Ac = [...jn, ...Vn, ...Gn, ...Hn, ...zn, ...Wn], Ec = _e([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]);
2969
- function zi(e) {
2975
+ var Vn = _e([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]), Gn = _e([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]), Hn = _e([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), Ac = _e([474, 475], [475, 476], [476, 477], [477, 474]), zn = _e([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]), Wn = _e([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), Ec = _e([469, 470], [470, 471], [471, 472], [472, 469]), Kn = _e([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]), kc = [...Vn, ...Gn, ...Hn, ...zn, ...Wn, ...Kn], Sc = _e([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]);
2976
+ function Ki(e) {
2970
2977
  e.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] };
2971
2978
  }
2972
2979
  var $ = class extends le {
2973
2980
  constructor(e, t) {
2974
- super(new we(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, v(e = this.h = new za(), 0, 1, t = new O()), this.A = new Ha(), v(this.h, 0, 3, this.A), this.u = new os(), v(this.h, 0, 2, this.u), Be(this.u, 4, 1), y(this.u, 2, 0.5), y(this.A, 2, 0.5), y(this.h, 4, 0.5);
2981
+ super(new we(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, v(e = this.h = new Ka(), 0, 1, t = new O()), this.A = new Wa(), v(this.h, 0, 3, this.A), this.u = new os(), v(this.h, 0, 2, this.u), Be(this.u, 4, 1), y(this.u, 2, 0.5), y(this.A, 2, 0.5), y(this.h, 4, 0.5);
2975
2982
  }
2976
2983
  get baseOptions() {
2977
2984
  return A(this.h, O, 1);
@@ -2983,16 +2990,16 @@ var $ = class extends le {
2983
2990
  return "numFaces" in e && Be(this.u, 4, e.numFaces ?? 1), "minFaceDetectionConfidence" in e && y(this.u, 2, e.minFaceDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && y(this.h, 4, e.minTrackingConfidence ?? 0.5), "minFacePresenceConfidence" in e && y(this.A, 2, e.minFacePresenceConfidence ?? 0.5), "outputFaceBlendshapes" in e && (this.outputFaceBlendshapes = !!e.outputFaceBlendshapes), "outputFacialTransformationMatrixes" in e && (this.outputFacialTransformationMatrixes = !!e.outputFacialTransformationMatrixes), this.l(e);
2984
2991
  }
2985
2992
  F(e, t) {
2986
- return zi(this), Ae(this, e, t), this.j;
2993
+ return Ki(this), Ae(this, e, t), this.j;
2987
2994
  }
2988
2995
  G(e, t, r) {
2989
- return zi(this), Fe(this, e, r, t), this.j;
2996
+ return Ki(this), Fe(this, e, r, t), this.j;
2990
2997
  }
2991
2998
  m() {
2992
2999
  var e = new fe();
2993
3000
  x(e, "image_in"), x(e, "norm_rect"), E(e, "face_landmarks");
2994
3001
  const t = new de();
2995
- Me(t, gu, this.h);
3002
+ Me(t, bu, this.h);
2996
3003
  const r = new ee();
2997
3004
  he(r, 2, "mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"), P(r, "IMAGE:image_in"), P(r, "NORM_RECT:norm_rect"), _(r, "NORM_LANDMARKS:face_landmarks"), r.o(t), be(e, r), this.g.attachProtoVectorListener("face_landmarks", ((s, n) => {
2998
3005
  for (const i of s) s = Er(i), this.j.faceLandmarks.push(as(s));
@@ -3000,12 +3007,12 @@ var $ = class extends le {
3000
3007
  })), this.g.attachEmptyPacketListener("face_landmarks", ((s) => {
3001
3008
  f(this, s);
3002
3009
  })), this.outputFaceBlendshapes && (E(e, "blendshapes"), _(r, "BLENDSHAPES:blendshapes"), this.g.attachProtoVectorListener("blendshapes", ((s, n) => {
3003
- if (this.outputFaceBlendshapes) for (const i of s) s = is(i), this.j.faceBlendshapes.push(Bn(s.g() ?? []));
3010
+ if (this.outputFaceBlendshapes) for (const i of s) s = is(i), this.j.faceBlendshapes.push(Un(s.g() ?? []));
3004
3011
  f(this, n);
3005
3012
  })), this.g.attachEmptyPacketListener("blendshapes", ((s) => {
3006
3013
  f(this, s);
3007
3014
  }))), this.outputFacialTransformationMatrixes && (E(e, "face_geometry"), _(r, "FACE_GEOMETRY:face_geometry"), this.g.attachProtoVectorListener("face_geometry", ((s, n) => {
3008
- if (this.outputFacialTransformationMatrixes) for (const i of s) (s = A(s = pu(i), iu, 2)) && this.j.facialTransformationMatrixes.push({ rows: me(s, 1) ?? 0 ?? 0, columns: me(s, 2) ?? 0 ?? 0, data: rt(s, 3, Te, tt()).slice() ?? [] });
3015
+ if (this.outputFacialTransformationMatrixes) for (const i of s) (s = A(s = yu(i), cu, 2)) && this.j.facialTransformationMatrixes.push({ rows: ge(s, 1) ?? 0 ?? 0, columns: ge(s, 2) ?? 0 ?? 0, data: rt(s, 3, Te, tt()).slice() ?? [] });
3009
3016
  f(this, n);
3010
3017
  })), this.g.attachEmptyPacketListener("face_geometry", ((s) => {
3011
3018
  f(this, s);
@@ -3018,27 +3025,27 @@ $.prototype.detectForVideo = $.prototype.G, $.prototype.detect = $.prototype.F,
3018
3025
  return w($, e, { baseOptions: { modelAssetBuffer: t } });
3019
3026
  }, $.createFromOptions = function(e, t) {
3020
3027
  return w($, e, t);
3021
- }, $.FACE_LANDMARKS_LIPS = jn, $.FACE_LANDMARKS_LEFT_EYE = Vn, $.FACE_LANDMARKS_LEFT_EYEBROW = Gn, $.FACE_LANDMARKS_LEFT_IRIS = _c, $.FACE_LANDMARKS_RIGHT_EYE = Hn, $.FACE_LANDMARKS_RIGHT_EYEBROW = zn, $.FACE_LANDMARKS_RIGHT_IRIS = wc, $.FACE_LANDMARKS_FACE_OVAL = Wn, $.FACE_LANDMARKS_CONTOURS = Ac, $.FACE_LANDMARKS_TESSELATION = Ec;
3022
- var Kn = _e([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]);
3023
- function Wi(e) {
3028
+ }, $.FACE_LANDMARKS_LIPS = Vn, $.FACE_LANDMARKS_LEFT_EYE = Gn, $.FACE_LANDMARKS_LEFT_EYEBROW = Hn, $.FACE_LANDMARKS_LEFT_IRIS = Ac, $.FACE_LANDMARKS_RIGHT_EYE = zn, $.FACE_LANDMARKS_RIGHT_EYEBROW = Wn, $.FACE_LANDMARKS_RIGHT_IRIS = Ec, $.FACE_LANDMARKS_FACE_OVAL = Kn, $.FACE_LANDMARKS_CONTOURS = kc, $.FACE_LANDMARKS_TESSELATION = Sc;
3029
+ var qn = _e([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]);
3030
+ function qi(e) {
3024
3031
  e.gestures = [], e.landmarks = [], e.worldLandmarks = [], e.handedness = [];
3025
3032
  }
3026
- function Ki(e) {
3033
+ function Xi(e) {
3027
3034
  return e.gestures.length === 0 ? { gestures: [], landmarks: [], worldLandmarks: [], handedness: [], handednesses: [] } : { gestures: e.gestures, landmarks: e.landmarks, worldLandmarks: e.worldLandmarks, handedness: e.handedness, handednesses: e.handedness };
3028
3035
  }
3029
- function qi(e, t = !0) {
3036
+ function Yi(e, t = !0) {
3030
3037
  const r = [];
3031
3038
  for (const n of e) {
3032
3039
  var s = is(n);
3033
3040
  e = [];
3034
- for (const i of s.g()) s = t && me(i, 1) != null ? me(i, 1) ?? 0 : -1, e.push({ score: I(i, 2) ?? 0, index: s, categoryName: Y(L(i, 3)) ?? "" ?? "", displayName: Y(L(i, 4)) ?? "" ?? "" });
3041
+ for (const i of s.g()) s = t && ge(i, 1) != null ? ge(i, 1) ?? 0 : -1, e.push({ score: I(i, 2) ?? 0, index: s, categoryName: Y(L(i, 3)) ?? "" ?? "", displayName: Y(L(i, 4)) ?? "" ?? "" });
3035
3042
  r.push(e);
3036
3043
  }
3037
3044
  return r;
3038
3045
  }
3039
3046
  var te = class extends le {
3040
3047
  constructor(e, t) {
3041
- super(new we(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], v(e = this.j = new qa(), 0, 1, t = new O()), this.u = new On(), v(this.j, 0, 2, this.u), this.D = new $n(), v(this.u, 0, 3, this.D), this.A = new Ka(), v(this.u, 0, 2, this.A), this.h = new mu(), v(this.j, 0, 3, this.h), y(this.A, 2, 0.5), y(this.u, 4, 0.5), y(this.D, 2, 0.5);
3048
+ super(new we(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], v(e = this.j = new Ya(), 0, 1, t = new O()), this.u = new Rn(), v(this.j, 0, 2, this.u), this.D = new On(), v(this.u, 0, 3, this.D), this.A = new Xa(), v(this.u, 0, 2, this.A), this.h = new vu(), v(this.j, 0, 3, this.h), y(this.A, 2, 0.5), y(this.u, 4, 0.5), y(this.D, 2, 0.5);
3042
3049
  }
3043
3050
  get baseOptions() {
3044
3051
  return A(this.j, O, 1);
@@ -3049,28 +3056,28 @@ var te = class extends le {
3049
3056
  o(e) {
3050
3057
  var n, i, o, a;
3051
3058
  if (Be(this.A, 3, e.numHands ?? 1), "minHandDetectionConfidence" in e && y(this.A, 2, e.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && y(this.u, 4, e.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in e && y(this.D, 2, e.minHandPresenceConfidence ?? 0.5), e.cannedGesturesClassifierOptions) {
3052
- var t = new vt(), r = t, s = Us(e.cannedGesturesClassifierOptions, (n = A(this.h, vt, 3)) == null ? void 0 : n.l());
3059
+ var t = new vt(), r = t, s = Ds(e.cannedGesturesClassifierOptions, (n = A(this.h, vt, 3)) == null ? void 0 : n.l());
3053
3060
  v(r, 0, 2, s), v(this.h, 0, 3, t);
3054
3061
  } else e.cannedGesturesClassifierOptions === void 0 && ((i = A(this.h, vt, 3)) == null || i.g());
3055
- return e.customGesturesClassifierOptions ? (v(r = t = new vt(), 0, 2, s = Us(e.customGesturesClassifierOptions, (o = A(this.h, vt, 4)) == null ? void 0 : o.l())), v(this.h, 0, 4, t)) : e.customGesturesClassifierOptions === void 0 && ((a = A(this.h, vt, 4)) == null || a.g()), this.l(e);
3062
+ return e.customGesturesClassifierOptions ? (v(r = t = new vt(), 0, 2, s = Ds(e.customGesturesClassifierOptions, (o = A(this.h, vt, 4)) == null ? void 0 : o.l())), v(this.h, 0, 4, t)) : e.customGesturesClassifierOptions === void 0 && ((a = A(this.h, vt, 4)) == null || a.g()), this.l(e);
3056
3063
  }
3057
3064
  Ha(e, t) {
3058
- return Wi(this), Ae(this, e, t), Ki(this);
3065
+ return qi(this), Ae(this, e, t), Xi(this);
3059
3066
  }
3060
3067
  Ia(e, t, r) {
3061
- return Wi(this), Fe(this, e, r, t), Ki(this);
3068
+ return qi(this), Fe(this, e, r, t), Xi(this);
3062
3069
  }
3063
3070
  m() {
3064
3071
  var e = new fe();
3065
3072
  x(e, "image_in"), x(e, "norm_rect"), E(e, "hand_gestures"), E(e, "hand_landmarks"), E(e, "world_hand_landmarks"), E(e, "handedness");
3066
3073
  const t = new de();
3067
- Me(t, yu, this.j);
3074
+ Me(t, _u, this.j);
3068
3075
  const r = new ee();
3069
3076
  he(r, 2, "mediapipe.tasks.vision.gesture_recognizer.GestureRecognizerGraph"), P(r, "IMAGE:image_in"), P(r, "NORM_RECT:norm_rect"), _(r, "HAND_GESTURES:hand_gestures"), _(r, "LANDMARKS:hand_landmarks"), _(r, "WORLD_LANDMARKS:world_hand_landmarks"), _(r, "HANDEDNESS:handedness"), r.o(t), be(e, r), this.g.attachProtoVectorListener("hand_landmarks", ((s, n) => {
3070
3077
  for (const i of s) {
3071
3078
  s = Er(i);
3072
3079
  const o = [];
3073
- for (const a of Ne(s, Ua, 1)) o.push({ x: I(a, 1) ?? 0, y: I(a, 2) ?? 0, z: I(a, 3) ?? 0, visibility: I(a, 4) ?? 0 });
3080
+ for (const a of Ne(s, ja, 1)) o.push({ x: I(a, 1) ?? 0, y: I(a, 2) ?? 0, z: I(a, 3) ?? 0, visibility: I(a, 4) ?? 0 });
3074
3081
  this.landmarks.push(o);
3075
3082
  }
3076
3083
  f(this, n);
@@ -3080,24 +3087,24 @@ var te = class extends le {
3080
3087
  for (const i of s) {
3081
3088
  s = Et(i);
3082
3089
  const o = [];
3083
- for (const a of Ne(s, Ba, 1)) o.push({ x: I(a, 1) ?? 0, y: I(a, 2) ?? 0, z: I(a, 3) ?? 0, visibility: I(a, 4) ?? 0 });
3090
+ for (const a of Ne(s, Da, 1)) o.push({ x: I(a, 1) ?? 0, y: I(a, 2) ?? 0, z: I(a, 3) ?? 0, visibility: I(a, 4) ?? 0 });
3084
3091
  this.worldLandmarks.push(o);
3085
3092
  }
3086
3093
  f(this, n);
3087
3094
  })), this.g.attachEmptyPacketListener("world_hand_landmarks", ((s) => {
3088
3095
  f(this, s);
3089
3096
  })), this.g.attachProtoVectorListener("hand_gestures", ((s, n) => {
3090
- this.gestures.push(...qi(s, !1)), f(this, n);
3097
+ this.gestures.push(...Yi(s, !1)), f(this, n);
3091
3098
  })), this.g.attachEmptyPacketListener("hand_gestures", ((s) => {
3092
3099
  f(this, s);
3093
3100
  })), this.g.attachProtoVectorListener("handedness", ((s, n) => {
3094
- this.handedness.push(...qi(s)), f(this, n);
3101
+ this.handedness.push(...Yi(s)), f(this, n);
3095
3102
  })), this.g.attachEmptyPacketListener("handedness", ((s) => {
3096
3103
  f(this, s);
3097
3104
  })), e = e.g(), this.setGraph(new Uint8Array(e), !0);
3098
3105
  }
3099
3106
  };
3100
- function Xi(e) {
3107
+ function Qi(e) {
3101
3108
  return { landmarks: e.landmarks, worldLandmarks: e.worldLandmarks, handednesses: e.handedness, handedness: e.handedness };
3102
3109
  }
3103
3110
  te.prototype.recognizeForVideo = te.prototype.Ia, te.prototype.recognize = te.prototype.Ha, te.prototype.setOptions = te.prototype.o, te.createFromModelPath = function(e, t) {
@@ -3106,10 +3113,10 @@ te.prototype.recognizeForVideo = te.prototype.Ia, te.prototype.recognize = te.pr
3106
3113
  return w(te, e, { baseOptions: { modelAssetBuffer: t } });
3107
3114
  }, te.createFromOptions = function(e, t) {
3108
3115
  return w(te, e, t);
3109
- }, te.HAND_CONNECTIONS = Kn;
3116
+ }, te.HAND_CONNECTIONS = qn;
3110
3117
  var re = class extends le {
3111
3118
  constructor(e, t) {
3112
- super(new we(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], v(e = this.h = new On(), 0, 1, t = new O()), this.u = new $n(), v(this.h, 0, 3, this.u), this.j = new Ka(), v(this.h, 0, 2, this.j), Be(this.j, 3, 1), y(this.j, 2, 0.5), y(this.u, 2, 0.5), y(this.h, 4, 0.5);
3119
+ super(new we(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], v(e = this.h = new Rn(), 0, 1, t = new O()), this.u = new On(), v(this.h, 0, 3, this.u), this.j = new Xa(), v(this.h, 0, 2, this.j), Be(this.j, 3, 1), y(this.j, 2, 0.5), y(this.u, 2, 0.5), y(this.h, 4, 0.5);
3113
3120
  }
3114
3121
  get baseOptions() {
3115
3122
  return A(this.h, O, 1);
@@ -3121,16 +3128,16 @@ var re = class extends le {
3121
3128
  return "numHands" in e && Be(this.j, 3, e.numHands ?? 1), "minHandDetectionConfidence" in e && y(this.j, 2, e.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && y(this.h, 4, e.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in e && y(this.u, 2, e.minHandPresenceConfidence ?? 0.5), this.l(e);
3122
3129
  }
3123
3130
  F(e, t) {
3124
- return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Ae(this, e, t), Xi(this);
3131
+ return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Ae(this, e, t), Qi(this);
3125
3132
  }
3126
3133
  G(e, t, r) {
3127
- return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Fe(this, e, r, t), Xi(this);
3134
+ return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Fe(this, e, r, t), Qi(this);
3128
3135
  }
3129
3136
  m() {
3130
3137
  var e = new fe();
3131
3138
  x(e, "image_in"), x(e, "norm_rect"), E(e, "hand_landmarks"), E(e, "world_hand_landmarks"), E(e, "handedness");
3132
3139
  const t = new de();
3133
- Me(t, bu, this.h);
3140
+ Me(t, wu, this.h);
3134
3141
  const r = new ee();
3135
3142
  he(r, 2, "mediapipe.tasks.vision.hand_landmarker.HandLandmarkerGraph"), P(r, "IMAGE:image_in"), P(r, "NORM_RECT:norm_rect"), _(r, "LANDMARKS:hand_landmarks"), _(r, "WORLD_LANDMARKS:world_hand_landmarks"), _(r, "HANDEDNESS:handedness"), r.o(t), be(e, r), this.g.attachProtoVectorListener("hand_landmarks", ((s, n) => {
3136
3143
  for (const i of s) s = Er(i), this.landmarks.push(as(s));
@@ -3148,7 +3155,7 @@ var re = class extends le {
3148
3155
  for (const c of s) {
3149
3156
  s = is(c);
3150
3157
  const u = [];
3151
- for (const h of s.g()) u.push({ score: I(h, 2) ?? 0, index: me(h, 1) ?? 0 ?? -1, categoryName: Y(L(h, 3)) ?? "" ?? "", displayName: Y(L(h, 4)) ?? "" ?? "" });
3158
+ for (const h of s.g()) u.push({ score: I(h, 2) ?? 0, index: ge(h, 1) ?? 0 ?? -1, categoryName: Y(L(h, 3)) ?? "" ?? "", displayName: Y(L(h, 4)) ?? "" ?? "" });
3152
3159
  a.push(u);
3153
3160
  }
3154
3161
  o.call(i, ...a), f(this, n);
@@ -3163,12 +3170,12 @@ re.prototype.detectForVideo = re.prototype.G, re.prototype.detect = re.prototype
3163
3170
  return w(re, e, { baseOptions: { modelAssetBuffer: t } });
3164
3171
  }, re.createFromOptions = function(e, t) {
3165
3172
  return w(re, e, t);
3166
- }, re.HAND_CONNECTIONS = Kn;
3167
- var kc = _e([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]);
3168
- function Yi(e) {
3173
+ }, re.HAND_CONNECTIONS = qn;
3174
+ var Tc = _e([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]);
3175
+ function Ji(e) {
3169
3176
  e.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] };
3170
3177
  }
3171
- function Qi(e) {
3178
+ function Zi(e) {
3172
3179
  try {
3173
3180
  if (!e.D) return e.h;
3174
3181
  e.D(e.h);
@@ -3181,7 +3188,7 @@ function Lr(e, t) {
3181
3188
  }
3182
3189
  var C = class extends le {
3183
3190
  constructor(e, t) {
3184
- super(new we(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, v(e = this.j = new Za(), 0, 1, t = new O()), this.I = new $n(), v(this.j, 0, 2, this.I), this.W = new vu(), v(this.j, 0, 3, this.W), this.u = new os(), v(this.j, 0, 4, this.u), this.O = new Ha(), v(this.j, 0, 5, this.O), this.A = new Qa(), v(this.j, 0, 6, this.A), this.M = new Ja(), v(this.j, 0, 7, this.M), y(this.u, 2, 0.5), y(this.u, 3, 0.3), y(this.O, 2, 0.5), y(this.A, 2, 0.5), y(this.A, 3, 0.3), y(this.M, 2, 0.5), y(this.I, 2, 0.5);
3191
+ super(new we(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, v(e = this.j = new tc(), 0, 1, t = new O()), this.I = new On(), v(this.j, 0, 2, this.I), this.W = new Au(), v(this.j, 0, 3, this.W), this.u = new os(), v(this.j, 0, 4, this.u), this.O = new Wa(), v(this.j, 0, 5, this.O), this.A = new Za(), v(this.j, 0, 6, this.A), this.M = new ec(), v(this.j, 0, 7, this.M), y(this.u, 2, 0.5), y(this.u, 3, 0.3), y(this.O, 2, 0.5), y(this.A, 2, 0.5), y(this.A, 3, 0.3), y(this.M, 2, 0.5), y(this.I, 2, 0.5);
3185
3192
  }
3186
3193
  get baseOptions() {
3187
3194
  return A(this.j, O, 1);
@@ -3194,25 +3201,25 @@ var C = class extends le {
3194
3201
  }
3195
3202
  F(e, t, r) {
3196
3203
  const s = typeof t != "function" ? t : {};
3197
- return this.D = typeof t == "function" ? t : r, Yi(this), Ae(this, e, s), Qi(this);
3204
+ return this.D = typeof t == "function" ? t : r, Ji(this), Ae(this, e, s), Zi(this);
3198
3205
  }
3199
3206
  G(e, t, r, s) {
3200
3207
  const n = typeof r != "function" ? r : {};
3201
- return this.D = typeof r == "function" ? r : s, Yi(this), Fe(this, e, n, t), Qi(this);
3208
+ return this.D = typeof r == "function" ? r : s, Ji(this), Fe(this, e, n, t), Zi(this);
3202
3209
  }
3203
3210
  m() {
3204
3211
  var e = new fe();
3205
3212
  x(e, "input_frames_image"), E(e, "pose_landmarks"), E(e, "pose_world_landmarks"), E(e, "face_landmarks"), E(e, "left_hand_landmarks"), E(e, "left_hand_world_landmarks"), E(e, "right_hand_landmarks"), E(e, "right_hand_world_landmarks");
3206
- const t = new de(), r = new wi();
3213
+ const t = new de(), r = new Ei();
3207
3214
  he(r, 1, "type.googleapis.com/mediapipe.tasks.vision.holistic_landmarker.proto.HolisticLandmarkerGraphOptions"), (function(n, i) {
3208
3215
  if (i != null) if (Array.isArray(i)) k(n, 2, Kr(i, 0, dr));
3209
3216
  else {
3210
- if (!(typeof i == "string" || i instanceof Ce || Zs(i))) throw Error("invalid value in Any.value field: " + i + " expected a ByteString, a base64 encoded string, a Uint8Array or a jspb array");
3211
- Ve(n, 2, tn(i, !1), ut());
3217
+ if (!(typeof i == "string" || i instanceof Ce || en(i))) throw Error("invalid value in Any.value field: " + i + " expected a ByteString, a base64 encoded string, a Uint8Array or a jspb array");
3218
+ Ve(n, 2, rn(i, !1), ut());
3212
3219
  }
3213
3220
  })(r, this.j.g());
3214
3221
  const s = new ee();
3215
- he(s, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), yn(s, 8, wi, r), P(s, "IMAGE:input_frames_image"), _(s, "POSE_LANDMARKS:pose_landmarks"), _(s, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), _(s, "FACE_LANDMARKS:face_landmarks"), _(s, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), _(s, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), _(s, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), _(s, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), s.o(t), be(e, s), cs(this, e), this.g.attachProtoListener("pose_landmarks", ((n, i) => {
3222
+ he(s, 2, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), bn(s, 8, Ei, r), P(s, "IMAGE:input_frames_image"), _(s, "POSE_LANDMARKS:pose_landmarks"), _(s, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), _(s, "FACE_LANDMARKS:face_landmarks"), _(s, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), _(s, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), _(s, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), _(s, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), s.o(t), be(e, s), cs(this, e), this.g.attachProtoListener("pose_landmarks", ((n, i) => {
3216
3223
  Lr(n, this.h.poseLandmarks), f(this, i);
3217
3224
  })), this.g.attachEmptyPacketListener("pose_landmarks", ((n) => {
3218
3225
  f(this, n);
@@ -3231,7 +3238,7 @@ var C = class extends le {
3231
3238
  f(this, n);
3232
3239
  })), this.outputFaceBlendshapes && (E(e, "extra_blendshapes"), _(s, "FACE_BLENDSHAPES:extra_blendshapes"), this.g.attachProtoListener("extra_blendshapes", ((n, i) => {
3233
3240
  var o = this.h.faceBlendshapes;
3234
- this.outputFaceBlendshapes && (n = is(n), o.push(Bn(n.g() ?? []))), f(this, i);
3241
+ this.outputFaceBlendshapes && (n = is(n), o.push(Un(n.g() ?? []))), f(this, i);
3235
3242
  })), this.g.attachEmptyPacketListener("extra_blendshapes", ((n) => {
3236
3243
  f(this, n);
3237
3244
  }))), this.g.attachProtoListener("left_hand_landmarks", ((n, i) => {
@@ -3261,10 +3268,10 @@ C.prototype.detectForVideo = C.prototype.G, C.prototype.detect = C.prototype.F,
3261
3268
  return w(C, e, { baseOptions: { modelAssetBuffer: t } });
3262
3269
  }, C.createFromOptions = function(e, t) {
3263
3270
  return w(C, e, t);
3264
- }, C.HAND_CONNECTIONS = Kn, C.POSE_CONNECTIONS = kc, C.FACE_LANDMARKS_LIPS = jn, C.FACE_LANDMARKS_LEFT_EYE = Vn, C.FACE_LANDMARKS_LEFT_EYEBROW = Gn, C.FACE_LANDMARKS_LEFT_IRIS = _c, C.FACE_LANDMARKS_RIGHT_EYE = Hn, C.FACE_LANDMARKS_RIGHT_EYEBROW = zn, C.FACE_LANDMARKS_RIGHT_IRIS = wc, C.FACE_LANDMARKS_FACE_OVAL = Wn, C.FACE_LANDMARKS_CONTOURS = Ac, C.FACE_LANDMARKS_TESSELATION = Ec;
3271
+ }, C.HAND_CONNECTIONS = qn, C.POSE_CONNECTIONS = Tc, C.FACE_LANDMARKS_LIPS = Vn, C.FACE_LANDMARKS_LEFT_EYE = Gn, C.FACE_LANDMARKS_LEFT_EYEBROW = Hn, C.FACE_LANDMARKS_LEFT_IRIS = Ac, C.FACE_LANDMARKS_RIGHT_EYE = zn, C.FACE_LANDMARKS_RIGHT_EYEBROW = Wn, C.FACE_LANDMARKS_RIGHT_IRIS = Ec, C.FACE_LANDMARKS_FACE_OVAL = Kn, C.FACE_LANDMARKS_CONTOURS = kc, C.FACE_LANDMARKS_TESSELATION = Sc;
3265
3272
  var pe = class extends le {
3266
3273
  constructor(e, t) {
3267
- super(new we(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, v(e = this.h = new ec(), 0, 1, t = new O());
3274
+ super(new we(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, v(e = this.h = new rc(), 0, 1, t = new O());
3268
3275
  }
3269
3276
  get baseOptions() {
3270
3277
  return A(this.h, O, 1);
@@ -3273,7 +3280,7 @@ var pe = class extends le {
3273
3280
  v(this.h, 0, 1, e);
3274
3281
  }
3275
3282
  o(e) {
3276
- return v(this.h, 0, 2, Us(e, A(this.h, xn, 2))), this.l(e);
3283
+ return v(this.h, 0, 2, Ds(e, A(this.h, Fn, 2))), this.l(e);
3277
3284
  }
3278
3285
  sa(e, t) {
3279
3286
  return this.j = { classifications: [] }, Ae(this, e, t), this.j;
@@ -3285,10 +3292,10 @@ var pe = class extends le {
3285
3292
  var e = new fe();
3286
3293
  x(e, "input_image"), x(e, "norm_rect"), E(e, "classifications");
3287
3294
  const t = new de();
3288
- Me(t, _u, this.h);
3295
+ Me(t, Eu, this.h);
3289
3296
  const r = new ee();
3290
3297
  he(r, 2, "mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"), P(r, "IMAGE:input_image"), P(r, "NORM_RECT:norm_rect"), _(r, "CLASSIFICATIONS:classifications"), r.o(t), be(e, r), this.g.attachProtoListener("classifications", ((s, n) => {
3291
- this.j = Tu(cu(s)), f(this, n);
3298
+ this.j = Pu(lu(s)), f(this, n);
3292
3299
  })), this.g.attachEmptyPacketListener("classifications", ((s) => {
3293
3300
  f(this, s);
3294
3301
  })), e = e.g(), this.setGraph(new Uint8Array(e), !0);
@@ -3303,7 +3310,7 @@ pe.prototype.classifyForVideo = pe.prototype.ta, pe.prototype.classify = pe.prot
3303
3310
  };
3304
3311
  var se = class extends le {
3305
3312
  constructor(e, t) {
3306
- super(new we(e, t), "image_in", "norm_rect", !0), this.h = new tc(), this.embeddings = { embeddings: [] }, v(e = this.h, 0, 1, t = new O());
3313
+ super(new we(e, t), "image_in", "norm_rect", !0), this.h = new sc(), this.embeddings = { embeddings: [] }, v(e = this.h, 0, 1, t = new O());
3307
3314
  }
3308
3315
  get baseOptions() {
3309
3316
  return A(this.h, O, 1);
@@ -3312,8 +3319,8 @@ var se = class extends le {
3312
3319
  v(this.h, 0, 1, e);
3313
3320
  }
3314
3321
  o(e) {
3315
- var t = this.h, r = A(this.h, Mi, 2);
3316
- return r = r ? r.clone() : new Mi(), e.l2Normalize !== void 0 ? k(r, 1, lr(e.l2Normalize)) : "l2Normalize" in e && k(r, 1), e.quantize !== void 0 ? k(r, 2, lr(e.quantize)) : "quantize" in e && k(r, 2), v(t, 0, 2, r), this.l(e);
3322
+ var t = this.h, r = A(this.h, Fi, 2);
3323
+ return r = r ? r.clone() : new Fi(), e.l2Normalize !== void 0 ? k(r, 1, lr(e.l2Normalize)) : "l2Normalize" in e && k(r, 1), e.quantize !== void 0 ? k(r, 2, lr(e.quantize)) : "quantize" in e && k(r, 2), v(t, 0, 2, r), this.l(e);
3317
3324
  }
3318
3325
  za(e, t) {
3319
3326
  return Ae(this, e, t), this.embeddings;
@@ -3325,16 +3332,16 @@ var se = class extends le {
3325
3332
  var e = new fe();
3326
3333
  x(e, "image_in"), x(e, "norm_rect"), E(e, "embeddings_out");
3327
3334
  const t = new de();
3328
- Me(t, wu, this.h);
3335
+ Me(t, ku, this.h);
3329
3336
  const r = new ee();
3330
3337
  he(r, 2, "mediapipe.tasks.vision.image_embedder.ImageEmbedderGraph"), P(r, "IMAGE:image_in"), P(r, "NORM_RECT:norm_rect"), _(r, "EMBEDDINGS:embeddings_out"), r.o(t), be(e, r), this.g.attachProtoListener("embeddings_out", ((s, n) => {
3331
- s = lu(s), this.embeddings = (function(i) {
3332
- return { embeddings: Ne(i, uu, 1).map(((o) => {
3338
+ s = pu(s), this.embeddings = (function(i) {
3339
+ return { embeddings: Ne(i, fu, 1).map(((o) => {
3333
3340
  var u, h;
3334
- const a = { headIndex: me(o, 3) ?? 0 ?? -1, headName: Y(L(o, 4)) ?? "" ?? "" };
3341
+ const a = { headIndex: ge(o, 3) ?? 0 ?? -1, headName: Y(L(o, 4)) ?? "" ?? "" };
3335
3342
  var c = o.v;
3336
- return Qo(c, 0 | c[p], Pi, ms(o, 1)) !== void 0 ? (o = rt(o = A(o, Pi, ms(o, 1), void 0), 1, Te, tt()), a.floatEmbedding = o.slice()) : (c = new Uint8Array(0), a.quantizedEmbedding = ((h = (u = A(o, hu, ms(o, 2), void 0)) == null ? void 0 : u.na()) == null ? void 0 : h.h()) ?? c), a;
3337
- })), timestampMs: cc(ea(i)) };
3343
+ return Zo(c, 0 | c[p], xi, ys(o, 1)) !== void 0 ? (o = rt(o = A(o, xi, ys(o, 1), void 0), 1, Te, tt()), a.floatEmbedding = o.slice()) : (c = new Uint8Array(0), a.quantizedEmbedding = ((h = (u = A(o, du, ys(o, 2), void 0)) == null ? void 0 : u.na()) == null ? void 0 : h.h()) ?? c), a;
3344
+ })), timestampMs: uc(ra(i)) };
3338
3345
  })(s), f(this, n);
3339
3346
  })), this.g.attachEmptyPacketListener("embeddings_out", ((s) => {
3340
3347
  f(this, s);
@@ -3342,10 +3349,10 @@ var se = class extends le {
3342
3349
  }
3343
3350
  };
3344
3351
  se.cosineSimilarity = function(e, t) {
3345
- if (e.floatEmbedding && t.floatEmbedding) e = Ii(e.floatEmbedding, t.floatEmbedding);
3352
+ if (e.floatEmbedding && t.floatEmbedding) e = Bi(e.floatEmbedding, t.floatEmbedding);
3346
3353
  else {
3347
3354
  if (!e.quantizedEmbedding || !t.quantizedEmbedding) throw Error("Cannot compute cosine similarity between quantized and float embeddings.");
3348
- e = Ii(Ri(e.quantizedEmbedding), Ri(t.quantizedEmbedding));
3355
+ e = Bi(Ni(e.quantizedEmbedding), Ni(t.quantizedEmbedding));
3349
3356
  }
3350
3357
  return e;
3351
3358
  }, se.prototype.embedForVideo = se.prototype.Aa, se.prototype.embed = se.prototype.za, se.prototype.setOptions = se.prototype.o, se.createFromModelPath = function(e, t) {
@@ -3355,7 +3362,7 @@ se.cosineSimilarity = function(e, t) {
3355
3362
  }, se.createFromOptions = function(e, t) {
3356
3363
  return w(se, e, t);
3357
3364
  };
3358
- var Gs = class {
3365
+ var Hs = class {
3359
3366
  constructor(e, t, r) {
3360
3367
  this.confidenceMasks = e, this.categoryMask = t, this.qualityScores = r;
3361
3368
  }
@@ -3366,7 +3373,7 @@ var Gs = class {
3366
3373
  })), (t = this.categoryMask) == null || t.close();
3367
3374
  }
3368
3375
  };
3369
- function $u(e) {
3376
+ function Iu(e) {
3370
3377
  var r, s;
3371
3378
  const t = (function(n) {
3372
3379
  return Ne(n, ee, 1);
@@ -3376,22 +3383,22 @@ function $u(e) {
3376
3383
  e.u[Number(i)] = Y(L(n, 1)) ?? "";
3377
3384
  }));
3378
3385
  }
3379
- function Ji(e) {
3386
+ function eo(e) {
3380
3387
  e.categoryMask = void 0, e.confidenceMasks = void 0, e.qualityScores = void 0;
3381
3388
  }
3382
- function Zi(e) {
3389
+ function to(e) {
3383
3390
  try {
3384
- const t = new Gs(e.confidenceMasks, e.categoryMask, e.qualityScores);
3391
+ const t = new Hs(e.confidenceMasks, e.categoryMask, e.qualityScores);
3385
3392
  if (!e.j) return t;
3386
3393
  e.j(t);
3387
3394
  } finally {
3388
3395
  hs(e);
3389
3396
  }
3390
3397
  }
3391
- Gs.prototype.close = Gs.prototype.close;
3398
+ Hs.prototype.close = Hs.prototype.close;
3392
3399
  var Z = class extends le {
3393
3400
  constructor(e, t) {
3394
- super(new we(e, t), "image_in", "norm_rect", !1), this.u = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Nn(), this.A = new rc(), v(this.h, 0, 3, this.A), v(e = this.h, 0, 1, t = new O());
3401
+ super(new we(e, t), "image_in", "norm_rect", !1), this.u = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Bn(), this.A = new nc(), v(this.h, 0, 3, this.A), v(e = this.h, 0, 1, t = new O());
3395
3402
  }
3396
3403
  get baseOptions() {
3397
3404
  return A(this.h, O, 1);
@@ -3403,15 +3410,15 @@ var Z = class extends le {
3403
3410
  return e.displayNamesLocale !== void 0 ? k(this.h, 2, _r(e.displayNamesLocale)) : "displayNamesLocale" in e && k(this.h, 2), "outputCategoryMask" in e && (this.outputCategoryMask = e.outputCategoryMask ?? !1), "outputConfidenceMasks" in e && (this.outputConfidenceMasks = e.outputConfidenceMasks ?? !0), super.l(e);
3404
3411
  }
3405
3412
  L() {
3406
- $u(this);
3413
+ Iu(this);
3407
3414
  }
3408
3415
  segment(e, t, r) {
3409
3416
  const s = typeof t != "function" ? t : {};
3410
- return this.j = typeof t == "function" ? t : r, Ji(this), Ae(this, e, s), Zi(this);
3417
+ return this.j = typeof t == "function" ? t : r, eo(this), Ae(this, e, s), to(this);
3411
3418
  }
3412
3419
  La(e, t, r, s) {
3413
3420
  const n = typeof r != "function" ? r : {};
3414
- return this.j = typeof r == "function" ? r : s, Ji(this), Fe(this, e, n, t), Zi(this);
3421
+ return this.j = typeof r == "function" ? r : s, eo(this), Fe(this, e, n, t), to(this);
3415
3422
  }
3416
3423
  Da() {
3417
3424
  return this.u;
@@ -3420,7 +3427,7 @@ var Z = class extends le {
3420
3427
  var e = new fe();
3421
3428
  x(e, "image_in"), x(e, "norm_rect");
3422
3429
  const t = new de();
3423
- Me(t, nc, this.h);
3430
+ Me(t, oc, this.h);
3424
3431
  const r = new ee();
3425
3432
  he(r, 2, "mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"), P(r, "IMAGE:image_in"), P(r, "NORM_RECT:norm_rect"), r.o(t), be(e, r), cs(this, e), this.outputConfidenceMasks && (E(e, "confidence_masks"), _(r, "CONFIDENCE_MASKS:confidence_masks"), $t(this, "confidence_masks"), this.g.aa("confidence_masks", ((s, n) => {
3426
3433
  this.confidenceMasks = s.map(((i) => Rt(this, i, !0, !this.j))), f(this, n);
@@ -3444,7 +3451,7 @@ Z.prototype.getLabels = Z.prototype.Da, Z.prototype.segmentForVideo = Z.prototyp
3444
3451
  }, Z.createFromOptions = function(e, t) {
3445
3452
  return w(Z, e, t);
3446
3453
  };
3447
- var Hs = class {
3454
+ var zs = class {
3448
3455
  constructor(e, t, r) {
3449
3456
  this.confidenceMasks = e, this.categoryMask = t, this.qualityScores = r;
3450
3457
  }
@@ -3455,10 +3462,10 @@ var Hs = class {
3455
3462
  })), (t = this.categoryMask) == null || t.close();
3456
3463
  }
3457
3464
  };
3458
- Hs.prototype.close = Hs.prototype.close;
3465
+ zs.prototype.close = zs.prototype.close;
3459
3466
  var Se = class extends le {
3460
3467
  constructor(e, t) {
3461
- super(new we(e, t), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Nn(), this.u = new rc(), v(this.h, 0, 3, this.u), v(e = this.h, 0, 1, t = new O());
3468
+ super(new we(e, t), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Bn(), this.u = new nc(), v(this.h, 0, 3, this.u), v(e = this.h, 0, 1, t = new O());
3462
3469
  }
3463
3470
  get baseOptions() {
3464
3471
  return A(this.h, O, 1);
@@ -3471,22 +3478,22 @@ var Se = class extends le {
3471
3478
  }
3472
3479
  segment(e, t, r, s) {
3473
3480
  const n = typeof r != "function" ? r : {};
3474
- if (this.j = typeof r == "function" ? r : s, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, r = this.C + 1, s = new ic(), t.keypoint && t.scribble) throw Error("Cannot provide both keypoint and scribble.");
3481
+ if (this.j = typeof r == "function" ? r : s, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, r = this.C + 1, s = new ac(), t.keypoint && t.scribble) throw Error("Cannot provide both keypoint and scribble.");
3475
3482
  if (t.keypoint) {
3476
- var i = new _s();
3477
- Ve(i, 3, lr(!0), !1), Ve(i, 1, tr(t.keypoint.x), 0), Ve(i, 2, tr(t.keypoint.y), 0), rr(s, 1, Bs, i);
3483
+ var i = new ws();
3484
+ Ve(i, 3, lr(!0), !1), Ve(i, 1, tr(t.keypoint.x), 0), Ve(i, 2, tr(t.keypoint.y), 0), rr(s, 1, Us, i);
3478
3485
  } else {
3479
3486
  if (!t.scribble) throw Error("Must provide either a keypoint or a scribble.");
3480
3487
  {
3481
- const a = new Eu();
3482
- for (i of t.scribble) Ve(t = new _s(), 3, lr(!0), !1), Ve(t, 1, tr(i.x), 0), Ve(t, 2, tr(i.y), 0), yn(a, 1, _s, t);
3483
- rr(s, 2, Bs, a);
3488
+ const a = new Tu();
3489
+ for (i of t.scribble) Ve(t = new ws(), 3, lr(!0), !1), Ve(t, 1, tr(i.x), 0), Ve(t, 2, tr(i.y), 0), bn(a, 1, ws, t);
3490
+ rr(s, 2, Us, a);
3484
3491
  }
3485
3492
  }
3486
3493
  this.g.addProtoToStream(s.g(), "mediapipe.tasks.vision.interactive_segmenter.proto.RegionOfInterest", "roi_in", r), Ae(this, e, n);
3487
3494
  e: {
3488
3495
  try {
3489
- const a = new Hs(this.confidenceMasks, this.categoryMask, this.qualityScores);
3496
+ const a = new zs(this.confidenceMasks, this.categoryMask, this.qualityScores);
3490
3497
  if (!this.j) {
3491
3498
  var o = a;
3492
3499
  break e;
@@ -3503,7 +3510,7 @@ var Se = class extends le {
3503
3510
  var e = new fe();
3504
3511
  x(e, "image_in"), x(e, "roi_in"), x(e, "norm_rect_in");
3505
3512
  const t = new de();
3506
- Me(t, nc, this.h);
3513
+ Me(t, oc, this.h);
3507
3514
  const r = new ee();
3508
3515
  he(r, 2, "mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraphV2"), P(r, "IMAGE:image_in"), P(r, "ROI:roi_in"), P(r, "NORM_RECT:norm_rect_in"), r.o(t), be(e, r), cs(this, e), this.outputConfidenceMasks && (E(e, "confidence_masks"), _(r, "CONFIDENCE_MASKS:confidence_masks"), $t(this, "confidence_masks"), this.g.aa("confidence_masks", ((s, n) => {
3509
3516
  this.confidenceMasks = s.map(((i) => Rt(this, i, !0, !this.j))), f(this, n);
@@ -3527,9 +3534,9 @@ Se.prototype.segment = Se.prototype.segment, Se.prototype.setOptions = Se.protot
3527
3534
  }, Se.createFromOptions = function(e, t) {
3528
3535
  return w(Se, e, t);
3529
3536
  };
3530
- var ge = class extends le {
3537
+ var me = class extends le {
3531
3538
  constructor(e, t) {
3532
- super(new we(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, v(e = this.h = new oc(), 0, 1, t = new O());
3539
+ super(new we(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, v(e = this.h = new cc(), 0, 1, t = new O());
3533
3540
  }
3534
3541
  get baseOptions() {
3535
3542
  return A(this.h, O, 1);
@@ -3550,24 +3557,24 @@ var ge = class extends le {
3550
3557
  var e = new fe();
3551
3558
  x(e, "input_frame_gpu"), x(e, "norm_rect"), E(e, "detections");
3552
3559
  const t = new de();
3553
- Me(t, ku, this.h);
3560
+ Me(t, Cu, this.h);
3554
3561
  const r = new ee();
3555
3562
  he(r, 2, "mediapipe.tasks.vision.ObjectDetectorGraph"), P(r, "IMAGE:input_frame_gpu"), P(r, "NORM_RECT:norm_rect"), _(r, "DETECTIONS:detections"), r.o(t), be(e, r), this.g.attachProtoVectorListener("detections", ((s, n) => {
3556
- for (const i of s) s = Na(i), this.j.detections.push(hc(s));
3563
+ for (const i of s) s = Ua(i), this.j.detections.push(lc(s));
3557
3564
  f(this, n);
3558
3565
  })), this.g.attachEmptyPacketListener("detections", ((s) => {
3559
3566
  f(this, s);
3560
3567
  })), e = e.g(), this.setGraph(new Uint8Array(e), !0);
3561
3568
  }
3562
3569
  };
3563
- ge.prototype.detectForVideo = ge.prototype.G, ge.prototype.detect = ge.prototype.F, ge.prototype.setOptions = ge.prototype.o, ge.createFromModelPath = async function(e, t) {
3564
- return w(ge, e, { baseOptions: { modelAssetPath: t } });
3565
- }, ge.createFromModelBuffer = function(e, t) {
3566
- return w(ge, e, { baseOptions: { modelAssetBuffer: t } });
3567
- }, ge.createFromOptions = function(e, t) {
3568
- return w(ge, e, t);
3570
+ me.prototype.detectForVideo = me.prototype.G, me.prototype.detect = me.prototype.F, me.prototype.setOptions = me.prototype.o, me.createFromModelPath = async function(e, t) {
3571
+ return w(me, e, { baseOptions: { modelAssetPath: t } });
3572
+ }, me.createFromModelBuffer = function(e, t) {
3573
+ return w(me, e, { baseOptions: { modelAssetBuffer: t } });
3574
+ }, me.createFromOptions = function(e, t) {
3575
+ return w(me, e, t);
3569
3576
  };
3570
- var zs = class {
3577
+ var Ws = class {
3571
3578
  constructor(e, t, r) {
3572
3579
  this.landmarks = e, this.worldLandmarks = t, this.segmentationMasks = r;
3573
3580
  }
@@ -3578,22 +3585,22 @@ var zs = class {
3578
3585
  }));
3579
3586
  }
3580
3587
  };
3581
- function eo(e) {
3588
+ function ro(e) {
3582
3589
  e.landmarks = [], e.worldLandmarks = [], e.segmentationMasks = void 0;
3583
3590
  }
3584
- function to(e) {
3591
+ function so(e) {
3585
3592
  try {
3586
- const t = new zs(e.landmarks, e.worldLandmarks, e.segmentationMasks);
3593
+ const t = new Ws(e.landmarks, e.worldLandmarks, e.segmentationMasks);
3587
3594
  if (!e.u) return t;
3588
3595
  e.u(t);
3589
3596
  } finally {
3590
3597
  hs(e);
3591
3598
  }
3592
3599
  }
3593
- zs.prototype.close = zs.prototype.close;
3600
+ Ws.prototype.close = Ws.prototype.close;
3594
3601
  var ne = class extends le {
3595
3602
  constructor(e, t) {
3596
- super(new we(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, v(e = this.h = new ac(), 0, 1, t = new O()), this.A = new Ja(), v(this.h, 0, 3, this.A), this.j = new Qa(), v(this.h, 0, 2, this.j), Be(this.j, 4, 1), y(this.j, 2, 0.5), y(this.A, 2, 0.5), y(this.h, 4, 0.5);
3603
+ super(new we(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, v(e = this.h = new hc(), 0, 1, t = new O()), this.A = new ec(), v(this.h, 0, 3, this.A), this.j = new Za(), v(this.h, 0, 2, this.j), Be(this.j, 4, 1), y(this.j, 2, 0.5), y(this.A, 2, 0.5), y(this.h, 4, 0.5);
3597
3604
  }
3598
3605
  get baseOptions() {
3599
3606
  return A(this.h, O, 1);
@@ -3606,17 +3613,17 @@ var ne = class extends le {
3606
3613
  }
3607
3614
  F(e, t, r) {
3608
3615
  const s = typeof t != "function" ? t : {};
3609
- return this.u = typeof t == "function" ? t : r, eo(this), Ae(this, e, s), to(this);
3616
+ return this.u = typeof t == "function" ? t : r, ro(this), Ae(this, e, s), so(this);
3610
3617
  }
3611
3618
  G(e, t, r, s) {
3612
3619
  const n = typeof r != "function" ? r : {};
3613
- return this.u = typeof r == "function" ? r : s, eo(this), Fe(this, e, n, t), to(this);
3620
+ return this.u = typeof r == "function" ? r : s, ro(this), Fe(this, e, n, t), so(this);
3614
3621
  }
3615
3622
  m() {
3616
3623
  var e = new fe();
3617
3624
  x(e, "image_in"), x(e, "norm_rect"), E(e, "normalized_landmarks"), E(e, "world_landmarks"), E(e, "segmentation_masks");
3618
3625
  const t = new de();
3619
- Me(t, Su, this.h);
3626
+ Me(t, Lu, this.h);
3620
3627
  const r = new ee();
3621
3628
  he(r, 2, "mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"), P(r, "IMAGE:image_in"), P(r, "NORM_RECT:norm_rect"), _(r, "NORM_LANDMARKS:normalized_landmarks"), _(r, "WORLD_LANDMARKS:world_landmarks"), r.o(t), be(e, r), cs(this, e), this.g.attachProtoVectorListener("normalized_landmarks", ((s, n) => {
3622
3629
  this.landmarks = [];
@@ -3643,9 +3650,9 @@ ne.prototype.detectForVideo = ne.prototype.G, ne.prototype.detect = ne.prototype
3643
3650
  return w(ne, e, { baseOptions: { modelAssetBuffer: t } });
3644
3651
  }, ne.createFromOptions = function(e, t) {
3645
3652
  return w(ne, e, t);
3646
- }, ne.POSE_CONNECTIONS = kc;
3647
- const Ou = 800, Ru = 1.5, Iu = 0.15, ro = /* @__PURE__ */ new WeakMap();
3648
- function Nu(e, t, r) {
3653
+ }, ne.POSE_CONNECTIONS = Tc;
3654
+ const Nu = 800, Bu = 1.5, Uu = 0.15, no = /* @__PURE__ */ new WeakMap();
3655
+ function Du(e, t, r) {
3649
3656
  const s = r ?? document.createElement("canvas");
3650
3657
  s.width = t.width, s.height = t.height;
3651
3658
  const n = s.getContext("2d");
@@ -3661,10 +3668,10 @@ function Nu(e, t, r) {
3661
3668
  t.width,
3662
3669
  t.height
3663
3670
  );
3664
- const i = n.getImageData(0, 0, t.width, t.height), o = r ? Uu(r, t.width * t.height) : void 0, a = Math.max(Bu(i, o), 0);
3665
- return Math.min(Math.max(a / Ou, 0), 1);
3671
+ const i = n.getImageData(0, 0, t.width, t.height), o = r ? Vu(r, t.width * t.height) : void 0, a = Math.max(ju(i, o), 0);
3672
+ return Math.min(Math.max(a / Nu, 0), 1);
3666
3673
  }
3667
- function Bu(e, t) {
3674
+ function ju(e, t) {
3668
3675
  const { data: r, width: s, height: n } = e, i = s * n, o = t && t.length >= i ? t : new Float32Array(i);
3669
3676
  for (let l = 0; l < i; l++) {
3670
3677
  const d = l * 4;
@@ -3685,15 +3692,15 @@ function Bu(e, t) {
3685
3692
  const h = c / a;
3686
3693
  return Math.max(u / a - h * h, 0);
3687
3694
  }
3688
- function Uu(e, t) {
3689
- const r = ro.get(e);
3695
+ function Vu(e, t) {
3696
+ const r = no.get(e);
3690
3697
  if (r && r.length >= t)
3691
3698
  return r;
3692
- const s = r ? Math.max(t, Math.ceil(r.length * Ru)) : t, n = new Float32Array(s);
3693
- return ro.set(e, n), n;
3699
+ const s = r ? Math.max(t, Math.ceil(r.length * Bu)) : t, n = new Float32Array(s);
3700
+ return no.set(e, n), n;
3694
3701
  }
3695
- const Sc = 0.1, Tc = 0.42, As = 0.24, Ws = 0.14, Ks = 0.18, so = 0.12, no = 0.2, Du = 0.95, ju = 0.2, Vu = 1, Gu = 0, Hu = 1, zu = 2;
3696
- function Cc(e) {
3702
+ const Cc = 0.1, Lc = 0.42, Es = 0.24, Ks = 0.14, qs = 0.18, io = 0.12, oo = 0.2, Gu = 0.95, Hu = 0.2, zu = 1, Wu = 0, Ku = 1, qu = 2;
3703
+ function Pc(e) {
3697
3704
  var b;
3698
3705
  const { detections: t, width: r, height: s, sharpnessScore: n, resolveSharpnessScore: i } = e;
3699
3706
  if (t.length === 0)
@@ -3734,28 +3741,28 @@ function Cc(e) {
3734
3741
  message: "Face detected, but the frame is unclear. Hold still and try again."
3735
3742
  };
3736
3743
  const c = a.width * a.height / (r * s);
3737
- if (c < Sc)
3744
+ if (c < Cc)
3738
3745
  return Je(o.confidence, "too-far", "Move closer to the camera.");
3739
- if (c > Tc)
3746
+ if (c > Lc)
3740
3747
  return Je(o.confidence, "too-close", "Move slightly farther away.");
3741
3748
  const u = (a.originX + a.width / 2) / r, h = (a.originY + a.height / 2) / s;
3742
- if (u < 0.5 - Ws)
3749
+ if (u < 0.5 - Ks)
3743
3750
  return Je(o.confidence, "move-left", "Move your face a little to the left.");
3744
- if (u > 0.5 + Ws)
3751
+ if (u > 0.5 + Ks)
3745
3752
  return Je(o.confidence, "move-right", "Move your face a little to the right.");
3746
- if (h < 0.5 - Ks)
3753
+ if (h < 0.5 - qs)
3747
3754
  return Je(o.confidence, "move-down", "Move your face slightly down.");
3748
- if (h > 0.5 + Ks)
3755
+ if (h > 0.5 + qs)
3749
3756
  return Je(o.confidence, "move-up", "Move your face slightly up.");
3750
- const l = Wu(o.keypoints);
3757
+ const l = Xu(o.keypoints);
3751
3758
  if (l)
3752
3759
  return Je(o.confidence, l.feedback, l.message);
3753
- const d = n ?? (i == null ? void 0 : i()) ?? Vu;
3754
- return d < Iu ? {
3760
+ const d = n ?? (i == null ? void 0 : i()) ?? zu;
3761
+ return d < Uu ? {
3755
3762
  hasFace: !0,
3756
3763
  faceCount: 1,
3757
3764
  confidence: o.confidence,
3758
- captureScore: io(o.confidence, u, h, c, d),
3765
+ captureScore: ao(o.confidence, u, h, c, d),
3759
3766
  sharpnessScore: d,
3760
3767
  isCentered: !0,
3761
3768
  passesQualityChecks: !1,
@@ -3765,7 +3772,7 @@ function Cc(e) {
3765
3772
  hasFace: !0,
3766
3773
  faceCount: 1,
3767
3774
  confidence: o.confidence,
3768
- captureScore: io(o.confidence, u, h, c, d),
3775
+ captureScore: ao(o.confidence, u, h, c, d),
3769
3776
  sharpnessScore: d,
3770
3777
  isCentered: !0,
3771
3778
  passesQualityChecks: !0,
@@ -3773,40 +3780,40 @@ function Cc(e) {
3773
3780
  message: "Hold still. Capturing automatically..."
3774
3781
  };
3775
3782
  }
3776
- function Wu(e) {
3777
- const t = e[Gu], r = e[Hu], s = e[zu];
3783
+ function Xu(e) {
3784
+ const t = e[Wu], r = e[Ku], s = e[qu];
3778
3785
  if (!t || !r || !s)
3779
3786
  return null;
3780
3787
  const n = Math.abs(r.x - t.x);
3781
3788
  if (n === 0)
3782
3789
  return null;
3783
3790
  const i = (t.x + r.x) / 2, o = (s.x - i) / n;
3784
- if (o <= -so)
3791
+ if (o <= -io)
3785
3792
  return {
3786
3793
  feedback: "turn-left",
3787
3794
  message: "Turn slightly left so your face points at the camera."
3788
3795
  };
3789
- if (o >= so)
3796
+ if (o >= io)
3790
3797
  return {
3791
3798
  feedback: "turn-right",
3792
3799
  message: "Turn slightly right so your face points at the camera."
3793
3800
  };
3794
3801
  const a = (t.y - r.y) / n;
3795
- if (a >= no)
3802
+ if (a >= oo)
3796
3803
  return {
3797
3804
  feedback: "tilt-left",
3798
3805
  message: "Straighten your head — it is tilting to the right."
3799
3806
  };
3800
- if (a <= -no)
3807
+ if (a <= -oo)
3801
3808
  return {
3802
3809
  feedback: "tilt-right",
3803
3810
  message: "Straighten your head — it is tilting to the left."
3804
3811
  };
3805
3812
  const c = (t.y + r.y) / 2, u = (s.y - c) / n;
3806
- return u >= Du ? {
3813
+ return u >= Gu ? {
3807
3814
  feedback: "look-up",
3808
3815
  message: "Raise your chin slightly so your face points at the camera."
3809
- } : u <= ju ? {
3816
+ } : u <= Hu ? {
3810
3817
  feedback: "look-down",
3811
3818
  message: "Lower your chin slightly so your face points at the camera."
3812
3819
  } : null;
@@ -3824,52 +3831,52 @@ function Je(e, t, r) {
3824
3831
  message: r
3825
3832
  };
3826
3833
  }
3827
- function io(e, t, r, s, n) {
3828
- const i = Math.abs(t - 0.5) / Ws, o = Math.abs(r - 0.5) / Ks, a = 1 - Math.min((i + o) / 2, 1), c = Math.max(
3829
- Math.abs(As - Sc),
3830
- Math.abs(Tc - As)
3831
- ), u = 1 - Math.min(Math.abs(s - As) / c, 1);
3834
+ function ao(e, t, r, s, n) {
3835
+ const i = Math.abs(t - 0.5) / Ks, o = Math.abs(r - 0.5) / qs, a = 1 - Math.min((i + o) / 2, 1), c = Math.max(
3836
+ Math.abs(Es - Cc),
3837
+ Math.abs(Lc - Es)
3838
+ ), u = 1 - Math.min(Math.abs(s - Es) / c, 1);
3832
3839
  return Number(
3833
3840
  (e * 0.4 + a * 0.25 + u * 0.1 + n * 0.25).toFixed(4)
3834
3841
  );
3835
3842
  }
3836
- const Ku = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision/wasm", qu = "https://storage.googleapis.com/mediapipe-models/face_detector/blaze_face_short_range/float16/1/blaze_face_short_range.tflite", Xu = 0.7;
3837
- let oo = null, ao = null, co = null;
3838
- function Yu() {
3839
- return oo ?? (oo = et.forVisionTasks(Ku)), oo;
3843
+ const Yu = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision/wasm", Qu = "https://storage.googleapis.com/mediapipe-models/face_detector/blaze_face_short_range/float16/1/blaze_face_short_range.tflite", Ju = 0.7;
3844
+ let co = null, ho = null, uo = null;
3845
+ function Zu() {
3846
+ return co ?? (co = et.forVisionTasks(Yu)), co;
3840
3847
  }
3841
- function Qu() {
3842
- return ao ?? (ao = Pc("IMAGE")), ao;
3848
+ function el() {
3849
+ return ho ?? (ho = xc("IMAGE")), ho;
3843
3850
  }
3844
- function Lc() {
3845
- return co ?? (co = Pc("VIDEO")), co;
3851
+ function Mc() {
3852
+ return uo ?? (uo = xc("VIDEO")), uo;
3846
3853
  }
3847
- async function Pc(e) {
3848
- const t = await Yu();
3854
+ async function xc(e) {
3855
+ const t = await Zu();
3849
3856
  return ie.createFromOptions(t, {
3850
- baseOptions: { modelAssetPath: qu },
3857
+ baseOptions: { modelAssetPath: Qu },
3851
3858
  runningMode: e,
3852
- minDetectionConfidence: Xu
3859
+ minDetectionConfidence: Ju
3853
3860
  });
3854
3861
  }
3855
- async function Mc(e) {
3856
- const r = (await Qu()).detect(e);
3857
- return Cc({
3858
- detections: xc(r.detections),
3862
+ async function Fc(e) {
3863
+ const r = (await el()).detect(e);
3864
+ return Pc({
3865
+ detections: $c(r.detections),
3859
3866
  width: e.naturalWidth,
3860
3867
  height: e.naturalHeight
3861
3868
  });
3862
3869
  }
3863
- let ho = null;
3864
- async function Ju(e, t) {
3865
- const s = (await Lc()).detectForVideo(e, t), n = xc(s.detections);
3866
- return Cc({
3870
+ let lo = null;
3871
+ async function tl(e, t) {
3872
+ const s = (await Mc()).detectForVideo(e, t), n = $c(s.detections);
3873
+ return Pc({
3867
3874
  detections: n,
3868
3875
  width: e.videoWidth,
3869
3876
  height: e.videoHeight,
3870
3877
  resolveSharpnessScore: n.length === 1 && n[0].boundingBox ? () => {
3871
3878
  const i = n[0].boundingBox;
3872
- return ho ?? (ho = document.createElement("canvas")), Nu(
3879
+ return lo ?? (lo = document.createElement("canvas")), Du(
3873
3880
  e,
3874
3881
  {
3875
3882
  x: i.originX,
@@ -3877,12 +3884,12 @@ async function Ju(e, t) {
3877
3884
  width: i.width,
3878
3885
  height: i.height
3879
3886
  },
3880
- ho
3887
+ lo
3881
3888
  );
3882
3889
  } : void 0
3883
3890
  });
3884
3891
  }
3885
- function xc(e) {
3892
+ function $c(e) {
3886
3893
  return e.map((t) => {
3887
3894
  var r;
3888
3895
  return {
@@ -3900,47 +3907,47 @@ function xc(e) {
3900
3907
  };
3901
3908
  });
3902
3909
  }
3903
- const Fc = "Capturing Face", $c = "Accept", Oc = "Take photo", Rc = "Retake", Ic = "Try again", qs = "Start a capture to see camera guidance here.";
3904
- function Nc(e, t) {
3910
+ const Oc = "Capturing Face", Rc = "Accept", Ic = "Take photo", Nc = "Retake", Bc = "Try again", Xs = "Start a capture to see camera guidance here.";
3911
+ function Uc(e, t) {
3905
3912
  return {
3906
3913
  capturePreference: (e == null ? void 0 : e.capturePreference) ?? "auto-preferred",
3907
3914
  allowMediaPickerFallback: (e == null ? void 0 : e.allowMediaPickerFallback) ?? !0,
3908
3915
  component: t,
3909
- label: Fc,
3910
- idleFeedbackLabel: qs,
3911
- confirmLabel: $c,
3912
- captureLabel: Oc,
3913
- retakeLabel: Rc,
3914
- retryLabel: Ic
3916
+ label: Oc,
3917
+ idleFeedbackLabel: Xs,
3918
+ confirmLabel: Rc,
3919
+ captureLabel: Ic,
3920
+ retakeLabel: Nc,
3921
+ retryLabel: Bc
3915
3922
  };
3916
3923
  }
3917
- async function Zu(e) {
3924
+ async function rl(e) {
3918
3925
  var n, i;
3919
3926
  const t = /WhatsApp/i.test(e.userAgent ?? navigator.userAgent), r = e.hasMediaDevices ?? typeof ((n = navigator.mediaDevices) == null ? void 0 : n.getUserMedia) == "function";
3920
3927
  let s = !1;
3921
- return !t && r && e.capturePreference === "auto-preferred" && (s = await (((i = e.probeAutoCapture) == null ? void 0 : i.call(e)) ?? tl())), {
3928
+ return !t && r && e.capturePreference === "auto-preferred" && (s = await (((i = e.probeAutoCapture) == null ? void 0 : i.call(e)) ?? nl())), {
3922
3929
  prefersMediaPicker: t,
3923
3930
  supportsMediaDevices: r,
3924
3931
  supportsAutoCapture: s
3925
3932
  };
3926
3933
  }
3927
- function el(e, t) {
3934
+ function sl(e, t) {
3928
3935
  const r = [];
3929
3936
  return t.supportsMediaDevices && (e.capturePreference === "auto-preferred" && t.supportsAutoCapture && r.push("auto-camera"), r.push("manual-camera")), e.allowMediaPickerFallback && (r.length === 0 || r[r.length - 1] !== "media-picker") && r.push("media-picker"), {
3930
3937
  steps: r,
3931
3938
  capabilities: t
3932
3939
  };
3933
3940
  }
3934
- async function tl() {
3941
+ async function nl() {
3935
3942
  if (typeof window.requestAnimationFrame != "function" || typeof window.cancelAnimationFrame != "function" || !document.createElement("canvas").getContext("2d"))
3936
3943
  return !1;
3937
3944
  try {
3938
- return await Lc(), !0;
3945
+ return await Mc(), !0;
3939
3946
  } catch {
3940
3947
  return !1;
3941
3948
  }
3942
3949
  }
3943
- class Xs extends Error {
3950
+ class Ys extends Error {
3944
3951
  constructor(t, r) {
3945
3952
  super(t), this.name = "CameraAccessError", (r == null ? void 0 : r.cause) !== void 0 && Object.defineProperty(this, "cause", {
3946
3953
  configurable: !0,
@@ -3948,20 +3955,20 @@ class Xs extends Error {
3948
3955
  });
3949
3956
  }
3950
3957
  }
3951
- async function rl() {
3958
+ async function il() {
3952
3959
  var e;
3953
3960
  if (!((e = navigator.mediaDevices) != null && e.getUserMedia))
3954
- throw new Xs("In-browser camera capture is not supported in this browser.");
3961
+ throw new Ys("In-browser camera capture is not supported in this browser.");
3955
3962
  try {
3956
3963
  return await navigator.mediaDevices.getUserMedia({
3957
3964
  video: { facingMode: { ideal: "user" } },
3958
3965
  audio: !1
3959
3966
  });
3960
3967
  } catch (t) {
3961
- throw new Xs(ol(t), { cause: t });
3968
+ throw new Ys(hl(t), { cause: t });
3962
3969
  }
3963
3970
  }
3964
- async function sl(e, t = "Failed to start the camera preview.") {
3971
+ async function ol(e, t = "Failed to start the camera preview.") {
3965
3972
  if (e.readyState >= HTMLMediaElement.HAVE_CURRENT_DATA) {
3966
3973
  await e.play();
3967
3974
  return;
@@ -3977,11 +3984,11 @@ async function sl(e, t = "Failed to start the camera preview.") {
3977
3984
  e.addEventListener("loadedmetadata", n, { once: !0 }), e.addEventListener("error", i, { once: !0 });
3978
3985
  }), await e.play();
3979
3986
  }
3980
- function nl(e) {
3987
+ function al(e) {
3981
3988
  e.play().catch(() => {
3982
3989
  });
3983
3990
  }
3984
- function il() {
3991
+ function cl() {
3985
3992
  const e = document.createElement("canvas"), t = document.createElement("canvas");
3986
3993
  let r = !1;
3987
3994
  const s = (i) => {
@@ -3996,7 +4003,7 @@ function il() {
3996
4003
  };
3997
4004
  return {
3998
4005
  async captureBlob(i) {
3999
- return n(i, e), uo(e);
4006
+ return n(i, e), fo(e);
4000
4007
  },
4001
4008
  captureWorkingFrame(i) {
4002
4009
  n(i, e);
@@ -4015,14 +4022,14 @@ function il() {
4015
4022
  async storedBestFrameToBlob() {
4016
4023
  if (!r)
4017
4024
  throw new Error("No best frame is available.");
4018
- return uo(t);
4025
+ return fo(t);
4019
4026
  },
4020
4027
  resetStoredBestFrame() {
4021
4028
  r = !1, t.width = 0, t.height = 0;
4022
4029
  }
4023
4030
  };
4024
4031
  }
4025
- function Bc() {
4032
+ function Dc() {
4026
4033
  return new Promise((e) => {
4027
4034
  const t = document.createElement("input");
4028
4035
  t.type = "file", t.accept = "image/*", t.capture = "user", t.style.display = "none", t.addEventListener("change", () => {
@@ -4043,7 +4050,7 @@ function Bc() {
4043
4050
  document.body.appendChild(t), t.click();
4044
4051
  });
4045
4052
  }
4046
- function Uc(e) {
4053
+ function jc(e) {
4047
4054
  return new Promise((t, r) => {
4048
4055
  const s = URL.createObjectURL(e), n = new Image();
4049
4056
  n.onload = () => {
@@ -4053,13 +4060,13 @@ function Uc(e) {
4053
4060
  }, n.src = s;
4054
4061
  });
4055
4062
  }
4056
- function Kl(e) {
4063
+ function Yl(e) {
4057
4064
  return new Promise((t, r) => {
4058
4065
  const s = new FileReader();
4059
4066
  s.onload = () => t(s.result), s.onerror = () => r(new Error("Failed to read image")), s.readAsDataURL(e);
4060
4067
  });
4061
4068
  }
4062
- function ol(e) {
4069
+ function hl(e) {
4063
4070
  if (e instanceof DOMException)
4064
4071
  switch (e.name) {
4065
4072
  case "NotAllowedError":
@@ -4074,7 +4081,7 @@ function ol(e) {
4074
4081
  }
4075
4082
  return e instanceof Error ? e.message : "Failed to access the camera.";
4076
4083
  }
4077
- function uo(e) {
4084
+ function fo(e) {
4078
4085
  return new Promise((t, r) => {
4079
4086
  e.toBlob((s) => {
4080
4087
  if (!s) {
@@ -4085,22 +4092,22 @@ function uo(e) {
4085
4092
  }, "image/jpeg", 0.92);
4086
4093
  });
4087
4094
  }
4088
- const al = "2147483647";
4089
- async function cl(e, t) {
4095
+ const ul = "2147483647";
4096
+ async function ll(e, t) {
4090
4097
  var n;
4091
- const r = Nc(e, t);
4098
+ const r = Uc(e, t);
4092
4099
  if (t)
4093
- return hl(r);
4100
+ return dl(r);
4094
4101
  if (!(typeof ((n = navigator.mediaDevices) == null ? void 0 : n.getUserMedia) == "function")) {
4095
4102
  if (r.allowMediaPickerFallback)
4096
- return Bc();
4103
+ return Dc();
4097
4104
  throw new Error("No supported capture strategy is available in this environment.");
4098
4105
  }
4099
- return ll(r);
4106
+ return pl(r);
4100
4107
  }
4101
- async function hl(e) {
4102
- await Promise.resolve().then(() => Wc);
4103
- const t = ul(e.component);
4108
+ async function dl(e) {
4109
+ await Promise.resolve().then(() => qc);
4110
+ const t = fl(e.component);
4104
4111
  return t.embedded = !0, t.capturePreference = e.capturePreference, t.allowMediaPickerFallback = e.allowMediaPickerFallback, new Promise((r, s) => {
4105
4112
  const n = () => {
4106
4113
  t.removeEventListener("simface-captured", i), t.removeEventListener("simface-cancelled", o), t.removeEventListener("simface-error", a), t.active = !1;
@@ -4116,21 +4123,21 @@ async function hl(e) {
4116
4123
  });
4117
4124
  });
4118
4125
  }
4119
- function ul(e) {
4126
+ function fl(e) {
4120
4127
  if (!e)
4121
4128
  throw new Error("Embedded capture requires a simface-capture component.");
4122
4129
  if (e.tagName.toLowerCase() !== "simface-capture")
4123
4130
  throw new Error("Embedded capture requires a simface-capture component.");
4124
4131
  return e;
4125
4132
  }
4126
- async function ll(e) {
4127
- return await Promise.resolve().then(() => Wc), new Promise((t, r) => {
4133
+ async function pl(e) {
4134
+ return await Promise.resolve().then(() => qc), new Promise((t, r) => {
4128
4135
  let s = !1, n = null;
4129
4136
  const i = document.createElement("div");
4130
- i.setAttribute("data-simface-camera-overlay", "true"), i.setAttribute("role", "dialog"), i.setAttribute("aria-modal", "true"), dl(i, {
4137
+ i.setAttribute("data-simface-camera-overlay", "true"), i.setAttribute("role", "dialog"), i.setAttribute("aria-modal", "true"), ml(i, {
4131
4138
  position: "fixed",
4132
4139
  inset: "0",
4133
- zIndex: al,
4140
+ zIndex: ul,
4134
4141
  display: "flex",
4135
4142
  alignItems: "center",
4136
4143
  justifyContent: "center",
@@ -4164,7 +4171,7 @@ async function ll(e) {
4164
4171
  });
4165
4172
  });
4166
4173
  }
4167
- function dl(e, t) {
4174
+ function ml(e, t) {
4168
4175
  Object.assign(e.style, t);
4169
4176
  }
4170
4177
  /**
@@ -4172,18 +4179,18 @@ function dl(e, t) {
4172
4179
  * Copyright 2019 Google LLC
4173
4180
  * SPDX-License-Identifier: BSD-3-Clause
4174
4181
  */
4175
- const xr = globalThis, qn = xr.ShadowRoot && (xr.ShadyCSS === void 0 || xr.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Xn = Symbol(), lo = /* @__PURE__ */ new WeakMap();
4176
- let Dc = class {
4182
+ const xr = globalThis, Xn = xr.ShadowRoot && (xr.ShadyCSS === void 0 || xr.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Yn = Symbol(), po = /* @__PURE__ */ new WeakMap();
4183
+ let Vc = class {
4177
4184
  constructor(t, r, s) {
4178
- if (this._$cssResult$ = !0, s !== Xn) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
4185
+ if (this._$cssResult$ = !0, s !== Yn) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
4179
4186
  this.cssText = t, this.t = r;
4180
4187
  }
4181
4188
  get styleSheet() {
4182
4189
  let t = this.o;
4183
4190
  const r = this.t;
4184
- if (qn && t === void 0) {
4191
+ if (Xn && t === void 0) {
4185
4192
  const s = r !== void 0 && r.length === 1;
4186
- s && (t = lo.get(r)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && lo.set(r, t));
4193
+ s && (t = po.get(r)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && po.set(r, t));
4187
4194
  }
4188
4195
  return t;
4189
4196
  }
@@ -4191,33 +4198,33 @@ let Dc = class {
4191
4198
  return this.cssText;
4192
4199
  }
4193
4200
  };
4194
- const fl = (e) => new Dc(typeof e == "string" ? e : e + "", void 0, Xn), pl = (e, ...t) => {
4201
+ const gl = (e) => new Vc(typeof e == "string" ? e : e + "", void 0, Yn), yl = (e, ...t) => {
4195
4202
  const r = e.length === 1 ? e[0] : t.reduce((s, n, i) => s + ((o) => {
4196
4203
  if (o._$cssResult$ === !0) return o.cssText;
4197
4204
  if (typeof o == "number") return o;
4198
4205
  throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
4199
4206
  })(n) + e[i + 1], e[0]);
4200
- return new Dc(r, e, Xn);
4201
- }, gl = (e, t) => {
4202
- if (qn) e.adoptedStyleSheets = t.map((r) => r instanceof CSSStyleSheet ? r : r.styleSheet);
4207
+ return new Vc(r, e, Yn);
4208
+ }, bl = (e, t) => {
4209
+ if (Xn) e.adoptedStyleSheets = t.map((r) => r instanceof CSSStyleSheet ? r : r.styleSheet);
4203
4210
  else for (const r of t) {
4204
4211
  const s = document.createElement("style"), n = xr.litNonce;
4205
4212
  n !== void 0 && s.setAttribute("nonce", n), s.textContent = r.cssText, e.appendChild(s);
4206
4213
  }
4207
- }, fo = qn ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
4214
+ }, mo = Xn ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
4208
4215
  let r = "";
4209
4216
  for (const s of t.cssRules) r += s.cssText;
4210
- return fl(r);
4217
+ return gl(r);
4211
4218
  })(e) : e;
4212
4219
  /**
4213
4220
  * @license
4214
4221
  * Copyright 2017 Google LLC
4215
4222
  * SPDX-License-Identifier: BSD-3-Clause
4216
4223
  */
4217
- const { is: ml, defineProperty: yl, getOwnPropertyDescriptor: bl, getOwnPropertyNames: vl, getOwnPropertySymbols: _l, getPrototypeOf: wl } = Object, We = globalThis, po = We.trustedTypes, Al = po ? po.emptyScript : "", Es = We.reactiveElementPolyfillSupport, ir = (e, t) => e, Ur = { toAttribute(e, t) {
4224
+ const { is: vl, defineProperty: _l, getOwnPropertyDescriptor: wl, getOwnPropertyNames: Al, getOwnPropertySymbols: El, getPrototypeOf: kl } = Object, We = globalThis, go = We.trustedTypes, Sl = go ? go.emptyScript : "", ks = We.reactiveElementPolyfillSupport, ir = (e, t) => e, Ur = { toAttribute(e, t) {
4218
4225
  switch (t) {
4219
4226
  case Boolean:
4220
- e = e ? Al : null;
4227
+ e = e ? Sl : null;
4221
4228
  break;
4222
4229
  case Object:
4223
4230
  case Array:
@@ -4242,7 +4249,7 @@ const { is: ml, defineProperty: yl, getOwnPropertyDescriptor: bl, getOwnProperty
4242
4249
  }
4243
4250
  }
4244
4251
  return r;
4245
- } }, Yn = (e, t) => !ml(e, t), go = { attribute: !0, type: String, converter: Ur, reflect: !1, useDefault: !1, hasChanged: Yn };
4252
+ } }, Qn = (e, t) => !vl(e, t), yo = { attribute: !0, type: String, converter: Ur, reflect: !1, useDefault: !1, hasChanged: Qn };
4246
4253
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), We.litPropertyMetadata ?? (We.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
4247
4254
  let _t = class extends HTMLElement {
4248
4255
  static addInitializer(t) {
@@ -4251,14 +4258,14 @@ let _t = class extends HTMLElement {
4251
4258
  static get observedAttributes() {
4252
4259
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
4253
4260
  }
4254
- static createProperty(t, r = go) {
4261
+ static createProperty(t, r = yo) {
4255
4262
  if (r.state && (r.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((r = Object.create(r)).wrapped = !0), this.elementProperties.set(t, r), !r.noAccessor) {
4256
4263
  const s = Symbol(), n = this.getPropertyDescriptor(t, s, r);
4257
- n !== void 0 && yl(this.prototype, t, n);
4264
+ n !== void 0 && _l(this.prototype, t, n);
4258
4265
  }
4259
4266
  }
4260
4267
  static getPropertyDescriptor(t, r, s) {
4261
- const { get: n, set: i } = bl(this.prototype, t) ?? { get() {
4268
+ const { get: n, set: i } = wl(this.prototype, t) ?? { get() {
4262
4269
  return this[r];
4263
4270
  }, set(o) {
4264
4271
  this[r] = o;
@@ -4269,17 +4276,17 @@ let _t = class extends HTMLElement {
4269
4276
  }, configurable: !0, enumerable: !0 };
4270
4277
  }
4271
4278
  static getPropertyOptions(t) {
4272
- return this.elementProperties.get(t) ?? go;
4279
+ return this.elementProperties.get(t) ?? yo;
4273
4280
  }
4274
4281
  static _$Ei() {
4275
4282
  if (this.hasOwnProperty(ir("elementProperties"))) return;
4276
- const t = wl(this);
4283
+ const t = kl(this);
4277
4284
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
4278
4285
  }
4279
4286
  static finalize() {
4280
4287
  if (this.hasOwnProperty(ir("finalized"))) return;
4281
4288
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ir("properties"))) {
4282
- const r = this.properties, s = [...vl(r), ..._l(r)];
4289
+ const r = this.properties, s = [...Al(r), ...El(r)];
4283
4290
  for (const n of s) this.createProperty(n, r[n]);
4284
4291
  }
4285
4292
  const t = this[Symbol.metadata];
@@ -4298,8 +4305,8 @@ let _t = class extends HTMLElement {
4298
4305
  const r = [];
4299
4306
  if (Array.isArray(t)) {
4300
4307
  const s = new Set(t.flat(1 / 0).reverse());
4301
- for (const n of s) r.unshift(fo(n));
4302
- } else t !== void 0 && r.push(fo(t));
4308
+ for (const n of s) r.unshift(mo(n));
4309
+ } else t !== void 0 && r.push(mo(t));
4303
4310
  return r;
4304
4311
  }
4305
4312
  static _$Eu(t, r) {
@@ -4328,7 +4335,7 @@ let _t = class extends HTMLElement {
4328
4335
  }
4329
4336
  createRenderRoot() {
4330
4337
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
4331
- return gl(t, this.constructor.elementStyles), t;
4338
+ return bl(t, this.constructor.elementStyles), t;
4332
4339
  }
4333
4340
  connectedCallback() {
4334
4341
  var t;
@@ -4371,7 +4378,7 @@ let _t = class extends HTMLElement {
4371
4378
  var o;
4372
4379
  if (t !== void 0) {
4373
4380
  const a = this.constructor;
4374
- if (n === !1 && (i = this[t]), s ?? (s = a.getPropertyOptions(t)), !((s.hasChanged ?? Yn)(i, r) || s.useDefault && s.reflect && i === ((o = this._$Ej) == null ? void 0 : o.get(t)) && !this.hasAttribute(a._$Eu(t, s)))) return;
4381
+ if (n === !1 && (i = this[t]), s ?? (s = a.getPropertyOptions(t)), !((s.hasChanged ?? Qn)(i, r) || s.useDefault && s.reflect && i === ((o = this._$Ej) == null ? void 0 : o.get(t)) && !this.hasAttribute(a._$Eu(t, s)))) return;
4375
4382
  this.C(t, r, s);
4376
4383
  }
4377
4384
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -4447,48 +4454,48 @@ let _t = class extends HTMLElement {
4447
4454
  firstUpdated(t) {
4448
4455
  }
4449
4456
  };
4450
- _t.elementStyles = [], _t.shadowRootOptions = { mode: "open" }, _t[ir("elementProperties")] = /* @__PURE__ */ new Map(), _t[ir("finalized")] = /* @__PURE__ */ new Map(), Es == null || Es({ ReactiveElement: _t }), (We.reactiveElementVersions ?? (We.reactiveElementVersions = [])).push("2.1.2");
4457
+ _t.elementStyles = [], _t.shadowRootOptions = { mode: "open" }, _t[ir("elementProperties")] = /* @__PURE__ */ new Map(), _t[ir("finalized")] = /* @__PURE__ */ new Map(), ks == null || ks({ ReactiveElement: _t }), (We.reactiveElementVersions ?? (We.reactiveElementVersions = [])).push("2.1.2");
4451
4458
  /**
4452
4459
  * @license
4453
4460
  * Copyright 2017 Google LLC
4454
4461
  * SPDX-License-Identifier: BSD-3-Clause
4455
4462
  */
4456
- const or = globalThis, mo = (e) => e, Dr = or.trustedTypes, yo = Dr ? Dr.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, jc = "$lit$", He = `lit$${Math.random().toFixed(9).slice(2)}$`, Vc = "?" + He, El = `<${Vc}>`, ft = document, fr = () => ft.createComment(""), pr = (e) => e === null || typeof e != "object" && typeof e != "function", Qn = Array.isArray, kl = (e) => Qn(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", ks = `[
4457
- \f\r]`, Zt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, bo = /-->/g, vo = />/g, Ze = RegExp(`>|${ks}(?:([^\\s"'>=/]+)(${ks}*=${ks}*(?:[^
4458
- \f\r"'\`<>=]|("|')|))|$)`, "g"), _o = /'/g, wo = /"/g, Gc = /^(?:script|style|textarea|title)$/i, Sl = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), $e = Sl(1), It = Symbol.for("lit-noChange"), K = Symbol.for("lit-nothing"), Ao = /* @__PURE__ */ new WeakMap(), st = ft.createTreeWalker(ft, 129);
4459
- function Hc(e, t) {
4460
- if (!Qn(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
4461
- return yo !== void 0 ? yo.createHTML(t) : t;
4462
- }
4463
- const Tl = (e, t) => {
4463
+ const or = globalThis, bo = (e) => e, Dr = or.trustedTypes, vo = Dr ? Dr.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Gc = "$lit$", He = `lit$${Math.random().toFixed(9).slice(2)}$`, Hc = "?" + He, Tl = `<${Hc}>`, ft = document, fr = () => ft.createComment(""), pr = (e) => e === null || typeof e != "object" && typeof e != "function", Jn = Array.isArray, Cl = (e) => Jn(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", Ss = `[
4464
+ \f\r]`, Zt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _o = /-->/g, wo = />/g, Ze = RegExp(`>|${Ss}(?:([^\\s"'>=/]+)(${Ss}*=${Ss}*(?:[^
4465
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Ao = /'/g, Eo = /"/g, zc = /^(?:script|style|textarea|title)$/i, Ll = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), $e = Ll(1), It = Symbol.for("lit-noChange"), K = Symbol.for("lit-nothing"), ko = /* @__PURE__ */ new WeakMap(), st = ft.createTreeWalker(ft, 129);
4466
+ function Wc(e, t) {
4467
+ if (!Jn(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
4468
+ return vo !== void 0 ? vo.createHTML(t) : t;
4469
+ }
4470
+ const Pl = (e, t) => {
4464
4471
  const r = e.length - 1, s = [];
4465
4472
  let n, i = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = Zt;
4466
4473
  for (let a = 0; a < r; a++) {
4467
4474
  const c = e[a];
4468
4475
  let u, h, l = -1, d = 0;
4469
- for (; d < c.length && (o.lastIndex = d, h = o.exec(c), h !== null); ) d = o.lastIndex, o === Zt ? h[1] === "!--" ? o = bo : h[1] !== void 0 ? o = vo : h[2] !== void 0 ? (Gc.test(h[2]) && (n = RegExp("</" + h[2], "g")), o = Ze) : h[3] !== void 0 && (o = Ze) : o === Ze ? h[0] === ">" ? (o = n ?? Zt, l = -1) : h[1] === void 0 ? l = -2 : (l = o.lastIndex - h[2].length, u = h[1], o = h[3] === void 0 ? Ze : h[3] === '"' ? wo : _o) : o === wo || o === _o ? o = Ze : o === bo || o === vo ? o = Zt : (o = Ze, n = void 0);
4476
+ for (; d < c.length && (o.lastIndex = d, h = o.exec(c), h !== null); ) d = o.lastIndex, o === Zt ? h[1] === "!--" ? o = _o : h[1] !== void 0 ? o = wo : h[2] !== void 0 ? (zc.test(h[2]) && (n = RegExp("</" + h[2], "g")), o = Ze) : h[3] !== void 0 && (o = Ze) : o === Ze ? h[0] === ">" ? (o = n ?? Zt, l = -1) : h[1] === void 0 ? l = -2 : (l = o.lastIndex - h[2].length, u = h[1], o = h[3] === void 0 ? Ze : h[3] === '"' ? Eo : Ao) : o === Eo || o === Ao ? o = Ze : o === _o || o === wo ? o = Zt : (o = Ze, n = void 0);
4470
4477
  const b = o === Ze && e[a + 1].startsWith("/>") ? " " : "";
4471
- i += o === Zt ? c + El : l >= 0 ? (s.push(u), c.slice(0, l) + jc + c.slice(l) + He + b) : c + He + (l === -2 ? a : b);
4478
+ i += o === Zt ? c + Tl : l >= 0 ? (s.push(u), c.slice(0, l) + Gc + c.slice(l) + He + b) : c + He + (l === -2 ? a : b);
4472
4479
  }
4473
- return [Hc(e, i + (e[r] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
4480
+ return [Wc(e, i + (e[r] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
4474
4481
  };
4475
- class gr {
4482
+ class mr {
4476
4483
  constructor({ strings: t, _$litType$: r }, s) {
4477
4484
  let n;
4478
4485
  this.parts = [];
4479
4486
  let i = 0, o = 0;
4480
- const a = t.length - 1, c = this.parts, [u, h] = Tl(t, r);
4481
- if (this.el = gr.createElement(u, s), st.currentNode = this.el.content, r === 2 || r === 3) {
4487
+ const a = t.length - 1, c = this.parts, [u, h] = Pl(t, r);
4488
+ if (this.el = mr.createElement(u, s), st.currentNode = this.el.content, r === 2 || r === 3) {
4482
4489
  const l = this.el.content.firstChild;
4483
4490
  l.replaceWith(...l.childNodes);
4484
4491
  }
4485
4492
  for (; (n = st.nextNode()) !== null && c.length < a; ) {
4486
4493
  if (n.nodeType === 1) {
4487
- if (n.hasAttributes()) for (const l of n.getAttributeNames()) if (l.endsWith(jc)) {
4494
+ if (n.hasAttributes()) for (const l of n.getAttributeNames()) if (l.endsWith(Gc)) {
4488
4495
  const d = h[o++], b = n.getAttribute(l).split(He), S = /([.?@])?(.*)/.exec(d);
4489
- c.push({ type: 1, index: i, name: S[2], strings: b, ctor: S[1] === "." ? Ll : S[1] === "?" ? Pl : S[1] === "@" ? Ml : us }), n.removeAttribute(l);
4496
+ c.push({ type: 1, index: i, name: S[2], strings: b, ctor: S[1] === "." ? xl : S[1] === "?" ? Fl : S[1] === "@" ? $l : us }), n.removeAttribute(l);
4490
4497
  } else l.startsWith(He) && (c.push({ type: 6, index: i }), n.removeAttribute(l));
4491
- if (Gc.test(n.tagName)) {
4498
+ if (zc.test(n.tagName)) {
4492
4499
  const l = n.textContent.split(He), d = l.length - 1;
4493
4500
  if (d > 0) {
4494
4501
  n.textContent = Dr ? Dr.emptyScript : "";
@@ -4496,7 +4503,7 @@ class gr {
4496
4503
  n.append(l[d], fr());
4497
4504
  }
4498
4505
  }
4499
- } else if (n.nodeType === 8) if (n.data === Vc) c.push({ type: 2, index: i });
4506
+ } else if (n.nodeType === 8) if (n.data === Hc) c.push({ type: 2, index: i });
4500
4507
  else {
4501
4508
  let l = -1;
4502
4509
  for (; (l = n.data.indexOf(He, l + 1)) !== -1; ) c.push({ type: 7, index: i }), l += He.length - 1;
@@ -4516,7 +4523,7 @@ function Nt(e, t, r = e, s) {
4516
4523
  const i = pr(t) ? void 0 : t._$litDirective$;
4517
4524
  return (n == null ? void 0 : n.constructor) !== i && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), i === void 0 ? n = void 0 : (n = new i(e), n._$AT(e, r, s)), s !== void 0 ? (r._$Co ?? (r._$Co = []))[s] = n : r._$Cl = n), n !== void 0 && (t = Nt(e, n._$AS(e, t.values), n, s)), t;
4518
4525
  }
4519
- class Cl {
4526
+ class Ml {
4520
4527
  constructor(t, r) {
4521
4528
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = r;
4522
4529
  }
@@ -4533,7 +4540,7 @@ class Cl {
4533
4540
  for (; c !== void 0; ) {
4534
4541
  if (o === c.index) {
4535
4542
  let u;
4536
- c.type === 2 ? u = new kr(i, i.nextSibling, this, t) : c.type === 1 ? u = new c.ctor(i, c.name, c.strings, this, t) : c.type === 6 && (u = new xl(i, this, t)), this._$AV.push(u), c = s[++a];
4543
+ c.type === 2 ? u = new kr(i, i.nextSibling, this, t) : c.type === 1 ? u = new c.ctor(i, c.name, c.strings, this, t) : c.type === 6 && (u = new Ol(i, this, t)), this._$AV.push(u), c = s[++a];
4537
4544
  }
4538
4545
  o !== (c == null ? void 0 : c.index) && (i = st.nextNode(), o++);
4539
4546
  }
@@ -4564,7 +4571,7 @@ class kr {
4564
4571
  return this._$AB;
4565
4572
  }
4566
4573
  _$AI(t, r = this) {
4567
- t = Nt(this, t, r), pr(t) ? t === K || t == null || t === "" ? (this._$AH !== K && this._$AR(), this._$AH = K) : t !== this._$AH && t !== It && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : kl(t) ? this.k(t) : this._(t);
4574
+ t = Nt(this, t, r), pr(t) ? t === K || t == null || t === "" ? (this._$AH !== K && this._$AR(), this._$AH = K) : t !== this._$AH && t !== It && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Cl(t) ? this.k(t) : this._(t);
4568
4575
  }
4569
4576
  O(t) {
4570
4577
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -4577,19 +4584,19 @@ class kr {
4577
4584
  }
4578
4585
  $(t) {
4579
4586
  var i;
4580
- const { values: r, _$litType$: s } = t, n = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = gr.createElement(Hc(s.h, s.h[0]), this.options)), s);
4587
+ const { values: r, _$litType$: s } = t, n = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = mr.createElement(Wc(s.h, s.h[0]), this.options)), s);
4581
4588
  if (((i = this._$AH) == null ? void 0 : i._$AD) === n) this._$AH.p(r);
4582
4589
  else {
4583
- const o = new Cl(n, this), a = o.u(this.options);
4590
+ const o = new Ml(n, this), a = o.u(this.options);
4584
4591
  o.p(r), this.T(a), this._$AH = o;
4585
4592
  }
4586
4593
  }
4587
4594
  _$AC(t) {
4588
- let r = Ao.get(t.strings);
4589
- return r === void 0 && Ao.set(t.strings, r = new gr(t)), r;
4595
+ let r = ko.get(t.strings);
4596
+ return r === void 0 && ko.set(t.strings, r = new mr(t)), r;
4590
4597
  }
4591
4598
  k(t) {
4592
- Qn(this._$AH) || (this._$AH = [], this._$AR());
4599
+ Jn(this._$AH) || (this._$AH = [], this._$AR());
4593
4600
  const r = this._$AH;
4594
4601
  let s, n = 0;
4595
4602
  for (const i of t) n === r.length ? r.push(s = new kr(this.O(fr()), this.O(fr()), this, this.options)) : s = r[n], s._$AI(i), n++;
@@ -4598,8 +4605,8 @@ class kr {
4598
4605
  _$AR(t = this._$AA.nextSibling, r) {
4599
4606
  var s;
4600
4607
  for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, r); t !== this._$AB; ) {
4601
- const n = mo(t).nextSibling;
4602
- mo(t).remove(), t = n;
4608
+ const n = bo(t).nextSibling;
4609
+ bo(t).remove(), t = n;
4603
4610
  }
4604
4611
  }
4605
4612
  setConnected(t) {
@@ -4632,7 +4639,7 @@ class us {
4632
4639
  t === K ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
4633
4640
  }
4634
4641
  }
4635
- class Ll extends us {
4642
+ class xl extends us {
4636
4643
  constructor() {
4637
4644
  super(...arguments), this.type = 3;
4638
4645
  }
@@ -4640,7 +4647,7 @@ class Ll extends us {
4640
4647
  this.element[this.name] = t === K ? void 0 : t;
4641
4648
  }
4642
4649
  }
4643
- class Pl extends us {
4650
+ class Fl extends us {
4644
4651
  constructor() {
4645
4652
  super(...arguments), this.type = 4;
4646
4653
  }
@@ -4648,7 +4655,7 @@ class Pl extends us {
4648
4655
  this.element.toggleAttribute(this.name, !!t && t !== K);
4649
4656
  }
4650
4657
  }
4651
- class Ml extends us {
4658
+ class $l extends us {
4652
4659
  constructor(t, r, s, n, i) {
4653
4660
  super(t, r, s, n, i), this.type = 5;
4654
4661
  }
@@ -4662,7 +4669,7 @@ class Ml extends us {
4662
4669
  typeof this._$AH == "function" ? this._$AH.call(((r = this.options) == null ? void 0 : r.host) ?? this.element, t) : this._$AH.handleEvent(t);
4663
4670
  }
4664
4671
  }
4665
- class xl {
4672
+ class Ol {
4666
4673
  constructor(t, r, s) {
4667
4674
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = r, this.options = s;
4668
4675
  }
@@ -4673,9 +4680,9 @@ class xl {
4673
4680
  Nt(this, t);
4674
4681
  }
4675
4682
  }
4676
- const Ss = or.litHtmlPolyfillSupport;
4677
- Ss == null || Ss(gr, kr), (or.litHtmlVersions ?? (or.litHtmlVersions = [])).push("3.3.2");
4678
- const Fl = (e, t, r) => {
4683
+ const Ts = or.litHtmlPolyfillSupport;
4684
+ Ts == null || Ts(mr, kr), (or.litHtmlVersions ?? (or.litHtmlVersions = [])).push("3.3.2");
4685
+ const Rl = (e, t, r) => {
4679
4686
  const s = (r == null ? void 0 : r.renderBefore) ?? t;
4680
4687
  let n = s._$litPart$;
4681
4688
  if (n === void 0) {
@@ -4701,7 +4708,7 @@ class ar extends _t {
4701
4708
  }
4702
4709
  update(t) {
4703
4710
  const r = this.render();
4704
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Fl(r, this.renderRoot, this.renderOptions);
4711
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Rl(r, this.renderRoot, this.renderOptions);
4705
4712
  }
4706
4713
  connectedCallback() {
4707
4714
  var t;
@@ -4715,17 +4722,17 @@ class ar extends _t {
4715
4722
  return It;
4716
4723
  }
4717
4724
  }
4718
- var Eo;
4719
- ar._$litElement$ = !0, ar.finalized = !0, (Eo = ht.litElementHydrateSupport) == null || Eo.call(ht, { LitElement: ar });
4720
- const Ts = ht.litElementPolyfillSupport;
4721
- Ts == null || Ts({ LitElement: ar });
4725
+ var So;
4726
+ ar._$litElement$ = !0, ar.finalized = !0, (So = ht.litElementHydrateSupport) == null || So.call(ht, { LitElement: ar });
4727
+ const Cs = ht.litElementPolyfillSupport;
4728
+ Cs == null || Cs({ LitElement: ar });
4722
4729
  (ht.litElementVersions ?? (ht.litElementVersions = [])).push("4.2.2");
4723
4730
  /**
4724
4731
  * @license
4725
4732
  * Copyright 2017 Google LLC
4726
4733
  * SPDX-License-Identifier: BSD-3-Clause
4727
4734
  */
4728
- const $l = (e) => (t, r) => {
4735
+ const Il = (e) => (t, r) => {
4729
4736
  r !== void 0 ? r.addInitializer(() => {
4730
4737
  customElements.define(e, t);
4731
4738
  }) : customElements.define(e, t);
@@ -4735,7 +4742,7 @@ const $l = (e) => (t, r) => {
4735
4742
  * Copyright 2017 Google LLC
4736
4743
  * SPDX-License-Identifier: BSD-3-Clause
4737
4744
  */
4738
- const Ol = { attribute: !0, type: String, converter: Ur, reflect: !1, hasChanged: Yn }, Rl = (e = Ol, t, r) => {
4745
+ const Nl = { attribute: !0, type: String, converter: Ur, reflect: !1, hasChanged: Qn }, Bl = (e = Nl, t, r) => {
4739
4746
  const { kind: s, metadata: n } = r;
4740
4747
  let i = globalThis.litPropertyMetadata.get(n);
4741
4748
  if (i === void 0 && globalThis.litPropertyMetadata.set(n, i = /* @__PURE__ */ new Map()), s === "setter" && ((e = Object.create(e)).wrapped = !0), i.set(r.name, e), s === "accessor") {
@@ -4757,7 +4764,7 @@ const Ol = { attribute: !0, type: String, converter: Ur, reflect: !1, hasChanged
4757
4764
  throw Error("Unsupported decorator location: " + s);
4758
4765
  };
4759
4766
  function Ee(e) {
4760
- return (t, r) => typeof r == "object" ? Rl(e, t, r) : ((s, n, i) => {
4767
+ return (t, r) => typeof r == "object" ? Bl(e, t, r) : ((s, n, i) => {
4761
4768
  const o = n.hasOwnProperty(i);
4762
4769
  return n.constructor.createProperty(i, s), o ? Object.getOwnPropertyDescriptor(n, i) : void 0;
4763
4770
  })(e, t, r);
@@ -4775,37 +4782,37 @@ function Ye(e) {
4775
4782
  * Copyright 2017 Google LLC
4776
4783
  * SPDX-License-Identifier: BSD-3-Clause
4777
4784
  */
4778
- const Il = (e, t, r) => (r.configurable = !0, r.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(e, t, r), r);
4785
+ const Ul = (e, t, r) => (r.configurable = !0, r.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(e, t, r), r);
4779
4786
  /**
4780
4787
  * @license
4781
4788
  * Copyright 2017 Google LLC
4782
4789
  * SPDX-License-Identifier: BSD-3-Clause
4783
4790
  */
4784
- function Nl(e, t) {
4791
+ function Dl(e, t) {
4785
4792
  return (r, s, n) => {
4786
4793
  const i = (o) => {
4787
4794
  var a;
4788
4795
  return ((a = o.renderRoot) == null ? void 0 : a.querySelector(e)) ?? null;
4789
4796
  };
4790
- return Il(r, s, { get() {
4797
+ return Ul(r, s, { get() {
4791
4798
  return i(this);
4792
4799
  } });
4793
4800
  };
4794
4801
  }
4795
- const Bl = 180, zc = 5e3, Ys = "M 50 17 C 60 17 68 19.5 74 25 C 79 29.5 81.5 36.5 81.5 46.5 V 54.5 C 81.5 63.5 78.5 71 71.5 76.5 C 65 81.5 57.5 84 50 84 C 42.5 84 35 81.5 28.5 76.5 C 21.5 71 18.5 63.5 18.5 54.5 V 46.5 C 18.5 36.5 21 29.5 26 25 C 32 19.5 40 17 50 17 Z", Ul = `M 0 0 H 100 V 100 H 0 Z ${Ys}`;
4796
- function Dl(e, t, r) {
4802
+ const jl = 180, Kc = 5e3, Qs = "M 50 17 C 60 17 68 19.5 74 25 C 79 29.5 81.5 36.5 81.5 46.5 V 54.5 C 81.5 63.5 78.5 71 71.5 76.5 C 65 81.5 57.5 84 50 84 C 42.5 84 35 81.5 28.5 76.5 C 21.5 71 18.5 63.5 18.5 54.5 V 46.5 C 18.5 36.5 21 29.5 26 25 C 32 19.5 40 17 50 17 Z", Vl = `M 0 0 H 100 V 100 H 0 Z ${Qs}`;
4803
+ function Gl(e, t, r) {
4797
4804
  if (t === null)
4798
4805
  return "Center your face in the oval. We will capture automatically when framing looks good.";
4799
- const s = Math.max(zc - (e - t), 0), n = Math.max(Math.ceil(s / 1e3), 0);
4806
+ const s = Math.max(Kc - (e - t), 0), n = Math.max(Math.ceil(s / 1e3), 0);
4800
4807
  return r.passesQualityChecks ? `Hold steady. Capturing the best frame in ${n}s.` : `${r.message} Best frame selection finishes in ${n}s.`;
4801
4808
  }
4802
- function jl(e) {
4809
+ function Hl(e) {
4803
4810
  const t = e == null ? void 0 : e.captureScore;
4804
4811
  return typeof t == "number" && t > 0 ? "Best frame captured. Review and confirm this photo." : "Capture complete. Review and confirm this photo.";
4805
4812
  }
4806
- class Vl {
4813
+ class zl {
4807
4814
  constructor(t) {
4808
- this.frameCapture = il(), this.stopped = !1, this.animationFrameId = null, this.analysisTimerId = null, this.analysisInFlight = !1, this.lastAnalysisTimestamp = 0, this.countdownStartedAt = null, this.bestCaptureScore = -1, this.bestQualityResult = null, this.videoElement = t.videoElement, this.copy = t.copy, this.onStateChange = t.onStateChange, this.waitForReady = t.waitForReady ?? ((r) => sl(r)), this.assessLiveQuality = t.assessLiveQuality ?? Ju, this.assessPreviewBlob = t.assessPreviewBlob ?? Gl, this.mode = t.initialMode, this.state = this.createStartingState(), this.emit(this.state);
4815
+ this.frameCapture = cl(), this.stopped = !1, this.animationFrameId = null, this.analysisTimerId = null, this.analysisInFlight = !1, this.lastAnalysisTimestamp = 0, this.countdownStartedAt = null, this.bestCaptureScore = -1, this.bestQualityResult = null, this.videoElement = t.videoElement, this.copy = t.copy, this.onStateChange = t.onStateChange, this.waitForReady = t.waitForReady ?? ((r) => ol(r)), this.assessLiveQuality = t.assessLiveQuality ?? tl, this.assessPreviewBlob = t.assessPreviewBlob ?? Wl, this.mode = t.initialMode, this.state = this.createStartingState(), this.emit(this.state);
4809
4816
  }
4810
4817
  getState() {
4811
4818
  return this.state;
@@ -4826,7 +4833,7 @@ class Vl {
4826
4833
  this.stopped || this.emit(this.createPreviewState(t, r));
4827
4834
  }
4828
4835
  async retake() {
4829
- this.stopped || this.state.phase !== "preview" || (this.resetAutoState(), nl(this.videoElement), this.emit(this.createLiveState({
4836
+ this.stopped || this.state.phase !== "preview" || (this.resetAutoState(), al(this.videoElement), this.emit(this.createLiveState({
4830
4837
  feedbackMessage: this.mode === "auto" ? this.copy.autoReadyMessage : this.copy.retakeReadyMessage ?? this.copy.manualReadyMessage,
4831
4838
  feedbackTone: this.mode === "auto" ? "neutral" : "manual"
4832
4839
  })), this.mode === "auto" && this.scheduleAutoAnalysis());
@@ -4905,7 +4912,7 @@ class Vl {
4905
4912
  scheduleAutoAnalysis() {
4906
4913
  if (this.stopped || this.mode !== "auto" || this.state.phase !== "live")
4907
4914
  return;
4908
- const t = performance.now(), r = Math.max(Bl - (t - this.lastAnalysisTimestamp), 0);
4915
+ const t = performance.now(), r = Math.max(jl - (t - this.lastAnalysisTimestamp), 0);
4909
4916
  this.cancelScheduledAnalysis(), this.analysisTimerId = window.setTimeout(() => {
4910
4917
  this.analysisTimerId = null, this.animationFrameId = window.requestAnimationFrame((s) => {
4911
4918
  this.runAutoAnalysis(s);
@@ -4925,7 +4932,7 @@ class Vl {
4925
4932
  if (this.stopped || this.mode !== "auto" || this.state.phase !== "live") return;
4926
4933
  if (r.passesQualityChecks && (this.countdownStartedAt === null && (this.countdownStartedAt = t), r.captureScore > this.bestCaptureScore && (this.frameCapture.promoteWorkingToBest(), this.bestCaptureScore = r.captureScore, this.bestQualityResult = r)), this.countdownStartedAt !== null) {
4927
4934
  const s = Math.min(
4928
- (t - this.countdownStartedAt) / zc,
4935
+ (t - this.countdownStartedAt) / Kc,
4929
4936
  1
4930
4937
  );
4931
4938
  if (s >= 1) {
@@ -4933,7 +4940,7 @@ class Vl {
4933
4940
  return;
4934
4941
  }
4935
4942
  this.emit(this.createLiveState({
4936
- feedbackMessage: Dl(
4943
+ feedbackMessage: Gl(
4937
4944
  t,
4938
4945
  this.countdownStartedAt,
4939
4946
  r
@@ -4962,7 +4969,7 @@ class Vl {
4962
4969
  if (this.stopped || this.mode !== "auto" || this.state.phase !== "live") return;
4963
4970
  const r = this.bestQualityResult ?? await this.assessPreviewBlob(t);
4964
4971
  this.stopped || this.mode !== "auto" || this.state.phase !== "live" || this.emit(this.createPreviewState(t, r, {
4965
- feedbackMessage: jl(r),
4972
+ feedbackMessage: Hl(r),
4966
4973
  feedbackTone: (r == null ? void 0 : r.passesQualityChecks) === !1 ? "error" : "success"
4967
4974
  }));
4968
4975
  }
@@ -4980,22 +4987,22 @@ class Vl {
4980
4987
  this.cancelScheduledAnalysis(), this.countdownStartedAt = null, this.bestCaptureScore = -1, this.bestQualityResult = null, this.frameCapture.resetStoredBestFrame();
4981
4988
  }
4982
4989
  }
4983
- async function Gl(e) {
4990
+ async function Wl(e) {
4984
4991
  try {
4985
- const t = await Uc(e);
4986
- return await Mc(t);
4992
+ const t = await jc(e);
4993
+ return await Fc(t);
4987
4994
  } catch {
4988
4995
  return null;
4989
4996
  }
4990
4997
  }
4991
- var Hl = Object.defineProperty, zl = Object.getOwnPropertyDescriptor, j = (e, t, r, s) => {
4992
- for (var n = s > 1 ? void 0 : s ? zl(t, r) : t, i = e.length - 1, o; i >= 0; i--)
4998
+ var Kl = Object.defineProperty, ql = Object.getOwnPropertyDescriptor, j = (e, t, r, s) => {
4999
+ for (var n = s > 1 ? void 0 : s ? ql(t, r) : t, i = e.length - 1, o; i >= 0; i--)
4993
5000
  (o = e[i]) && (n = (s ? o(t, r, n) : o(n)) || n);
4994
- return s && n && Hl(t, r, n), n;
5001
+ return s && n && Kl(t, r, n), n;
4995
5002
  };
4996
5003
  let F = class extends ar {
4997
5004
  constructor() {
4998
- super(...arguments), this.label = Fc, this.idleFeedbackLabel = qs, this.embedded = !1, this.active = !1, this.confirmLabel = $c, this.captureLabel = Oc, this.retakeLabel = Rc, this.retryLabel = Ic, this.capturePreference = "auto-preferred", this.allowMediaPickerFallback = !0, this.captureState = "idle", this.errorMessage = "", this.feedbackMessage = qs, this.feedbackTone = "neutral", this.previewUrl = "", this.qualityResult = null, this.canTakePhoto = !0, this.captureMode = "auto", this.stream = null, this.sessionController = null, this.currentCaptureStep = null, this.capturedBlob = null, this.pendingActiveSync = !1;
5005
+ super(...arguments), this.label = Oc, this.idleFeedbackLabel = Xs, this.embedded = !1, this.active = !1, this.confirmLabel = Rc, this.captureLabel = Ic, this.retakeLabel = Nc, this.retryLabel = Bc, this.capturePreference = "auto-preferred", this.allowMediaPickerFallback = !0, this.captureState = "idle", this.errorMessage = "", this.feedbackMessage = Xs, this.feedbackTone = "neutral", this.previewUrl = "", this.qualityResult = null, this.canTakePhoto = !0, this.captureMode = "auto", this.stream = null, this.sessionController = null, this.currentCaptureStep = null, this.capturedBlob = null, this.pendingActiveSync = !1;
4999
5006
  }
5000
5007
  disconnectedCallback() {
5001
5008
  super.disconnectedCallback(), this.stopSession();
@@ -5054,9 +5061,9 @@ let F = class extends ar {
5054
5061
  class="guide-overlay ${this.captureState === "live" || this.captureState === "starting" ? "" : "hidden"}"
5055
5062
  >
5056
5063
  <svg viewBox="0 0 100 100" preserveAspectRatio="none" aria-hidden="true">
5057
- <path class="guide-mask" d=${Ul}></path>
5058
- <path class="ring-outline" d=${Ys}></path>
5059
- <path class="ring-progress" d=${Ys} pathLength="100"></path>
5064
+ <path class="guide-mask" d=${Vl}></path>
5065
+ <path class="ring-outline" d=${Qs}></path>
5066
+ <path class="ring-progress" d=${Qs} pathLength="100"></path>
5060
5067
  </svg>
5061
5068
  </div>
5062
5069
  </div>
@@ -5084,22 +5091,22 @@ let F = class extends ar {
5084
5091
  if (!this.active || this.captureState === "starting" || this.captureState === "live")
5085
5092
  return;
5086
5093
  this.stopSession(), this.resetState(), this.captureState = "starting", this.feedbackMessage = "Requesting camera access...", this.feedbackTone = "neutral";
5087
- const e = Nc({
5094
+ const e = Uc({
5088
5095
  capturePreference: this.capturePreference,
5089
5096
  allowMediaPickerFallback: this.allowMediaPickerFallback
5090
5097
  }, this);
5091
5098
  e.label = this.label, e.idleFeedbackLabel = this.idleFeedbackLabel, e.confirmLabel = this.confirmLabel, e.captureLabel = this.captureLabel, e.retakeLabel = this.retakeLabel, e.retryLabel = this.retryLabel;
5092
- const t = await Zu({
5099
+ const t = await rl({
5093
5100
  capturePreference: e.capturePreference
5094
- }), r = el(e, t), s = r.steps.find((o) => o === "auto-camera" || o === "manual-camera") ?? null, n = r.steps.includes("media-picker");
5101
+ }), r = sl(e, t), s = r.steps.find((o) => o === "auto-camera" || o === "manual-camera") ?? null, n = r.steps.includes("media-picker");
5095
5102
  if (!s) {
5096
5103
  await this.startMediaPicker();
5097
5104
  return;
5098
5105
  }
5099
5106
  try {
5100
- this.stream = await rl();
5107
+ this.stream = await il();
5101
5108
  } catch (o) {
5102
- if (o instanceof Xs && n) {
5109
+ if (o instanceof Ys && n) {
5103
5110
  await this.startMediaPicker();
5104
5111
  return;
5105
5112
  }
@@ -5115,7 +5122,7 @@ let F = class extends ar {
5115
5122
  this.handleCaptureError(new Error("Inline camera preview could not be created."));
5116
5123
  return;
5117
5124
  }
5118
- i.srcObject = this.stream, this.currentCaptureStep = s, this.sessionController = new Vl({
5125
+ i.srcObject = this.stream, this.currentCaptureStep = s, this.sessionController = new zl({
5119
5126
  videoElement: i,
5120
5127
  initialMode: s === "auto-camera" ? "auto" : "manual",
5121
5128
  copy: {
@@ -5135,7 +5142,7 @@ let F = class extends ar {
5135
5142
  async startMediaPicker() {
5136
5143
  this.stopSession(), this.currentCaptureStep = "media-picker", this.captureState = "starting", this.feedbackMessage = "Opening media picker...", this.feedbackTone = "neutral";
5137
5144
  try {
5138
- const e = await Bc();
5145
+ const e = await Dc();
5139
5146
  if (!e) {
5140
5147
  this.handleCancel();
5141
5148
  return;
@@ -5230,14 +5237,14 @@ let F = class extends ar {
5230
5237
  }
5231
5238
  async assessPickedBlob(e) {
5232
5239
  try {
5233
- const t = await Uc(e);
5234
- return await Mc(t);
5240
+ const t = await jc(e);
5241
+ return await Fc(t);
5235
5242
  } catch {
5236
5243
  return null;
5237
5244
  }
5238
5245
  }
5239
5246
  };
5240
- F.styles = pl`
5247
+ F.styles = yl`
5241
5248
  :host {
5242
5249
  display: block;
5243
5250
  font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
@@ -5542,43 +5549,43 @@ j([
5542
5549
  Ye()
5543
5550
  ], F.prototype, "captureMode", 2);
5544
5551
  j([
5545
- Nl("#embedded-video")
5552
+ Dl("#embedded-video")
5546
5553
  ], F.prototype, "embeddedVideoElement", 2);
5547
5554
  F = j([
5548
- $l("simface-capture")
5555
+ Il("simface-capture")
5549
5556
  ], F);
5550
- const Wc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5557
+ const qc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5551
5558
  __proto__: null,
5552
5559
  get SimFaceCapture() {
5553
5560
  return F;
5554
5561
  }
5555
5562
  }, Symbol.toStringTag, { value: "Module" }));
5556
- async function Yl(e, t, r, s) {
5557
- const n = new ko(e);
5563
+ async function Zl(e, t, r, s) {
5564
+ const n = new To(e);
5558
5565
  await n.validateAPIKey();
5559
- const i = await Kc(r, s);
5566
+ const i = await Xc(r, s);
5560
5567
  if (!i)
5561
5568
  return { success: !1, clientId: t, message: "Capture cancelled by user" };
5562
5569
  const o = await n.enroll(t, i);
5563
5570
  return o.alreadyEnrolled, o;
5564
5571
  }
5565
- async function Ql(e, t, r, s) {
5566
- const n = new ko(e);
5572
+ async function e2(e, t, r, s) {
5573
+ const n = new To(e);
5567
5574
  await n.validateAPIKey();
5568
- const i = await Kc(r, s);
5575
+ const i = await Xc(r, s);
5569
5576
  return i ? n.verify(t, i) : { match: !1, score: 0, threshold: 0, message: "Capture cancelled by user" };
5570
5577
  }
5571
- async function Kc(e, t) {
5572
- return cl(e, t);
5578
+ async function Xc(e, t) {
5579
+ return ll(e, t);
5573
5580
  }
5574
5581
  export {
5575
- ko as SimFaceAPIClient,
5582
+ To as SimFaceAPIClient,
5576
5583
  F as SimFaceCapture,
5577
- Mc as assessFaceQuality,
5578
- Ju as assessFaceQualityForVideo,
5579
- Kl as blobToDataURL,
5580
- Uc as blobToImage,
5581
- cl as captureFromCamera,
5582
- Yl as enroll,
5583
- Ql as verify
5584
+ Fc as assessFaceQuality,
5585
+ tl as assessFaceQualityForVideo,
5586
+ Yl as blobToDataURL,
5587
+ jc as blobToImage,
5588
+ ll as captureFromCamera,
5589
+ Zl as enroll,
5590
+ e2 as verify
5584
5591
  };