@simprints/simface-sdk 0.11.1 → 0.12.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.
@@ -206,22 +206,22 @@ function Tt(e, t) {
206
206
  s >= t || (r[e] = s + 1, Lo(e = Error(), "incident"), Ao(e));
207
207
  }
208
208
  }
209
- function Ut() {
209
+ function Bt() {
210
210
  return typeof BigInt == "function";
211
211
  }
212
- var Bt = typeof Symbol == "function" && typeof Symbol() == "symbol";
212
+ var Ut = typeof Symbol == "function" && typeof Symbol() == "symbol";
213
213
  function Le(e, t, r = !1) {
214
214
  return typeof Symbol == "function" && typeof Symbol() == "symbol" ? r && Symbol.for && e ? Symbol.for(e) : e != null ? Symbol(e) : Symbol() : t;
215
215
  }
216
216
  var eh = Le("jas", void 0, !0), ni = Le(void 0, "0di"), Qt = Le(void 0, "1oa"), oe = Le(void 0, Symbol()), th = Le(void 0, "0ub"), rh = Le(void 0, "0ubs"), Ps = Le(void 0, "0ubsb"), sh = Le(void 0, "0actk"), Ct = Le("m_m", "Pa", !0), ii = Le();
217
- const Po = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Mo = Object.defineProperties, p = Bt ? eh : "Ga";
217
+ const Po = { Ga: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Mo = Object.defineProperties, p = Ut ? eh : "Ga";
218
218
  var pt;
219
219
  const oi = [];
220
220
  function gr(e, t) {
221
- Bt || p in e || Mo(e, Po), e[p] |= t;
221
+ Ut || p in e || Mo(e, Po), e[p] |= t;
222
222
  }
223
223
  function H(e, t) {
224
- Bt || p in e || Mo(e, Po), e[p] = t;
224
+ Ut || p in e || Mo(e, Po), e[p] = t;
225
225
  }
226
226
  function yr(e) {
227
227
  return gr(e, 34), e;
@@ -297,46 +297,46 @@ function hi(e, t) {
297
297
  }
298
298
  }
299
299
  const lh = typeof Uint8Array.prototype.slice == "function";
300
- let dh, M = 0, U = 0;
300
+ let dh, M = 0, B = 0;
301
301
  function ui(e) {
302
302
  const t = e >>> 0;
303
- M = t, U = (e - t) / 4294967296 >>> 0;
303
+ M = t, B = (e - t) / 4294967296 >>> 0;
304
304
  }
305
305
  function Pt(e) {
306
306
  if (e < 0) {
307
307
  ui(-e);
308
- const [t, r] = on(M, U);
309
- M = t >>> 0, U = r >>> 0;
308
+ const [t, r] = on(M, B);
309
+ M = t >>> 0, B = r >>> 0;
310
310
  } else ui(e);
311
311
  }
312
312
  function rn(e) {
313
313
  const t = dh || (dh = new DataView(new ArrayBuffer(8)));
314
- t.setFloat32(0, +e, !0), U = 0, M = t.getUint32(0, !0);
314
+ t.setFloat32(0, +e, !0), B = 0, M = t.getUint32(0, !0);
315
315
  }
316
316
  function xs(e, t) {
317
317
  const r = 4294967296 * t + (e >>> 0);
318
318
  return Number.isSafeInteger(r) ? r : ur(e, t);
319
319
  }
320
320
  function fh(e, t) {
321
- return ae(Ut() ? BigInt.asUintN(64, (BigInt(t >>> 0) << BigInt(32)) + BigInt(e >>> 0)) : ur(e, t));
321
+ return ae(Bt() ? BigInt.asUintN(64, (BigInt(t >>> 0) << BigInt(32)) + BigInt(e >>> 0)) : ur(e, t));
322
322
  }
323
323
  function sn(e, t) {
324
324
  const r = 2147483648 & t;
325
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;
326
326
  }
327
327
  function $o(e, t) {
328
- return Ut() ? ae(BigInt.asIntN(64, (BigInt.asUintN(32, BigInt(t)) << BigInt(32)) + BigInt.asUintN(32, BigInt(e)))) : ae(nn(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));
329
329
  }
330
330
  function ur(e, t) {
331
331
  if (e >>>= 0, (t >>>= 0) <= 2097151) var r = "" + (4294967296 * t + e);
332
- else Ut() ? 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));
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));
333
333
  return r;
334
334
  }
335
335
  function li(e) {
336
336
  return e = String(e), "0000000".slice(e.length) + e;
337
337
  }
338
338
  function nn(e, t) {
339
- if (2147483648 & t) if (Ut()) e = "" + (BigInt(0 | t) << BigInt(32) | BigInt(e >>> 0));
339
+ if (2147483648 & t) if (Bt()) e = "" + (BigInt(0 | t) << BigInt(32) | BigInt(e >>> 0));
340
340
  else {
341
341
  const [r, s] = on(e, t);
342
342
  e = "-" + ur(r, s);
@@ -346,18 +346,18 @@ function nn(e, t) {
346
346
  }
347
347
  function Hr(e) {
348
348
  if (e.length < 16) Pt(Number(e));
349
- else if (Ut()) e = BigInt(e), M = Number(e & BigInt(4294967295)) >>> 0, U = Number(e >> BigInt(32) & BigInt(4294967295));
349
+ else if (Bt()) e = BigInt(e), M = Number(e & BigInt(4294967295)) >>> 0, B = Number(e >> BigInt(32) & BigInt(4294967295));
350
350
  else {
351
351
  const t = +(e[0] === "-");
352
- U = M = 0;
352
+ B = M = 0;
353
353
  const r = e.length;
354
354
  for (let s = t, n = (r - t) % 6 + t; n <= r; s = n, n += 6) {
355
355
  const i = Number(e.slice(s, n));
356
- U *= 1e6, M = 1e6 * M + i, M >= 4294967296 && (U += Math.trunc(M / 4294967296), U >>>= 0, M >>>= 0);
356
+ B *= 1e6, M = 1e6 * M + i, M >= 4294967296 && (B += Math.trunc(M / 4294967296), B >>>= 0, M >>>= 0);
357
357
  }
358
358
  if (t) {
359
- const [s, n] = on(M, U);
360
- M = s, U = n;
359
+ const [s, n] = on(M, B);
360
+ M = s, B = n;
361
361
  }
362
362
  }
363
363
  }
@@ -412,28 +412,28 @@ function Ro(e) {
412
412
  }
413
413
  function Io(e) {
414
414
  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, U));
415
+ return (e[0] === "-" ? t < 20 || t === 20 && e <= "-9223372036854775808" : t < 19 || t === 19 && e <= "9223372036854775807") ? e : (Hr(e), nn(M, B));
416
416
  }
417
417
  function an(e) {
418
- return e = Mt(e), dt(e) || (Pt(e), e = sn(M, U)), e;
418
+ return e = Mt(e), dt(e) || (Pt(e), e = sn(M, B)), e;
419
419
  }
420
420
  function No(e) {
421
421
  var t = Mt(Number(e));
422
422
  return dt(t) ? String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Io(e));
423
423
  }
424
- function Uo(e) {
424
+ function Bo(e) {
425
425
  var t = Mt(Number(e));
426
- return dt(t) ? ae(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Ut() ? ae(br(64, BigInt(e))) : ae(Io(e)));
426
+ return dt(t) ? ae(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Bt() ? ae(br(64, BigInt(e))) : ae(Io(e)));
427
427
  }
428
- function Bo(e) {
429
- return dt(e) ? e = ae(an(e)) : (e = Mt(e), dt(e) ? e = String(e) : (Pt(e), e = nn(M, U)), e = ae(e)), e;
428
+ function Uo(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;
430
430
  }
431
431
  function yh(e) {
432
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) : No(e) : void 0;
433
433
  }
434
434
  function Fr(e) {
435
435
  const t = typeof e;
436
- return e == null ? e : t === "bigint" ? ae(br(64, e)) : vr(e) ? t === "string" ? Uo(e) : Bo(e) : void 0;
436
+ return e == null ? e : t === "bigint" ? ae(br(64, e)) : vr(e) ? t === "string" ? Bo(e) : Uo(e) : void 0;
437
437
  }
438
438
  function Do(e) {
439
439
  if (typeof e != "string") throw Error();
@@ -454,13 +454,13 @@ function bh(e, t, r) {
454
454
  if (!vr(t = e)) throw Ls("int64");
455
455
  switch (typeof t) {
456
456
  case "string":
457
- t = Uo(t);
457
+ t = Bo(t);
458
458
  break e;
459
459
  case "bigint":
460
460
  t = ae(br(64, t));
461
461
  break e;
462
462
  default:
463
- t = Bo(t);
463
+ t = Uo(t);
464
464
  }
465
465
  }
466
466
  else t = Fr(e);
@@ -610,7 +610,7 @@ function Kr(e, t, r, s) {
610
610
  const n = s !== void 0;
611
611
  s = !!s;
612
612
  var i, o = oe;
613
- !n && Bt && o && (i = e[o]) && $r(i, Th), o = [];
613
+ !n && Ut && o && (i = e[o]) && $r(i, Th), o = [];
614
614
  var a = e.length;
615
615
  let c;
616
616
  i = 4294967295;
@@ -865,7 +865,7 @@ function gs(e, t) {
865
865
  return mn(pn(e = e.v), e, void 0, r) === t ? t : -1;
866
866
  }
867
867
  function pn(e) {
868
- if (Bt) return e[Qt] ?? (e[Qt] = /* @__PURE__ */ new Map());
868
+ if (Ut) return e[Qt] ?? (e[Qt] = /* @__PURE__ */ new Map());
869
869
  if (Qt in e) return e[Qt];
870
870
  const t = /* @__PURE__ */ new Map();
871
871
  return Object.defineProperty(e, Qt, { value: t }), t;
@@ -982,7 +982,7 @@ function Yo(e) {
982
982
  function I(e, t) {
983
983
  return C(e, t, void 0, void 0, Te) ?? 0;
984
984
  }
985
- function Ue(e, t, r) {
985
+ function Be(e, t, r) {
986
986
  if (r != null) {
987
987
  if (typeof r != "number" || !zr(r)) throw Ls("int32");
988
988
  r |= 0;
@@ -1055,7 +1055,7 @@ function Ke(e) {
1055
1055
  if (128 & s && (s = t[r++], n |= (127 & s) << 7, 128 & s && (s = t[r++], n |= (127 & s) << 14, 128 & s && (s = t[r++], n |= (127 & s) << 21, 128 & s && (s = t[r++], n |= s << 28, 128 & s && 128 & t[r++] && 128 & t[r++] && 128 & t[r++] && 128 & t[r++] && 128 & t[r++]))))) throw Error();
1056
1056
  return at(e, r), n;
1057
1057
  }
1058
- function Be(e) {
1058
+ function Ue(e) {
1059
1059
  return Ke(e) >>> 0;
1060
1060
  }
1061
1061
  function Rr(e) {
@@ -1097,7 +1097,7 @@ function ta(e) {
1097
1097
  var t = e.g;
1098
1098
  if (t.g == t.l) return !1;
1099
1099
  e.m = e.g.g;
1100
- var r = Be(e.g);
1100
+ var r = Ue(e.g);
1101
1101
  if (t = r >>> 3, !((r &= 7) >= 0 && r <= 5) || t < 1) throw Error();
1102
1102
  return e.l = t, e.h = r, !0;
1103
1103
  }
@@ -1112,7 +1112,7 @@ function Pr(e) {
1112
1112
  case 2:
1113
1113
  if (e.h != 2) Pr(e);
1114
1114
  else {
1115
- var t = Be(e.g);
1115
+ var t = Ue(e.g);
1116
1116
  at(e = e.g, e.g + t);
1117
1117
  }
1118
1118
  break;
@@ -1135,13 +1135,13 @@ function Pr(e) {
1135
1135
  }
1136
1136
  function wr(e, t, r) {
1137
1137
  const s = e.g.l;
1138
- var n = Be(e.g);
1138
+ var n = Ue(e.g);
1139
1139
  let i = (n = e.g.g + n) - s;
1140
1140
  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
1141
  return e.g.g = n, e.g.l = s, t;
1142
1142
  }
1143
1143
  function _n(e) {
1144
- var t = Be(e.g), r = Qo(e = e.g, t);
1144
+ var t = Ue(e.g), r = Qo(e = e.g, t);
1145
1145
  if (e = e.h, Hc) {
1146
1146
  var s, n = e;
1147
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);
@@ -1173,11 +1173,11 @@ function _n(e) {
1173
1173
  return i;
1174
1174
  }
1175
1175
  function ra(e) {
1176
- const t = Be(e.g);
1176
+ const t = Ue(e.g);
1177
1177
  return Jo(e.g, t);
1178
1178
  }
1179
1179
  function Xr(e, t, r) {
1180
- var s = Be(e.g);
1180
+ var s = Ue(e.g);
1181
1181
  for (s = e.g.g + s; e.g.g < s; ) r.push(t(e.g));
1182
1182
  }
1183
1183
  var $h = class {
@@ -1203,7 +1203,7 @@ var $h = class {
1203
1203
  }
1204
1204
  }, Ir = [];
1205
1205
  function yi(e) {
1206
- return e ? /^\d+$/.test(e) ? (Hr(e), new $s(M, U)) : null : Oh || (Oh = new $s(0, 0));
1206
+ return e ? /^\d+$/.test(e) ? (Hr(e), new $s(M, B)) : null : Oh || (Oh = new $s(0, 0));
1207
1207
  }
1208
1208
  var $s = class {
1209
1209
  constructor(e, t) {
@@ -1212,7 +1212,7 @@ var $s = class {
1212
1212
  };
1213
1213
  let Oh;
1214
1214
  function bi(e) {
1215
- return e ? /^-?\d+$/.test(e) ? (Hr(e), new Os(M, U)) : null : Rh || (Rh = new Os(0, 0));
1215
+ return e ? /^-?\d+$/.test(e) ? (Hr(e), new Os(M, B)) : null : Rh || (Rh = new Os(0, 0));
1216
1216
  }
1217
1217
  var Os = class {
1218
1218
  constructor(e, t) {
@@ -1282,7 +1282,7 @@ var m = class {
1282
1282
  j() {
1283
1283
  var n;
1284
1284
  var e = bu, t = this.v, r = e.g, s = oe;
1285
- if (Bt && s && ((n = t[s]) == null ? void 0 : n[r]) != null && Tt(th, 3), t = e.g, ii && oe && ii === void 0 && (s = (r = this.v)[oe]) && (s = s.da)) try {
1285
+ if (Ut && s && ((n = t[s]) == null ? void 0 : n[r]) != null && Tt(th, 3), t = e.g, ii && oe && ii === void 0 && (s = (r = this.v)[oe]) && (s = s.da)) try {
1286
1286
  s(r, t, Sh);
1287
1287
  } catch (i) {
1288
1288
  Ao(i);
@@ -1310,7 +1310,7 @@ function ca(e, t, r, s, n) {
1310
1310
  }
1311
1311
  const Nh = Zr((function(e, t, r, s, n) {
1312
1312
  return e.h === 2 && (wr(e, gn(t, s, r), n), !0);
1313
- }), ca), Uh = Zr((function(e, t, r, s, n) {
1313
+ }), ca), Bh = Zr((function(e, t, r, s, n) {
1314
1314
  return e.h === 2 && (wr(e, gn(t, s, r), n), !0);
1315
1315
  }), ca);
1316
1316
  var es = Symbol(), ts = Symbol(), Rs = Symbol(), vi = Symbol(), _i = Symbol();
@@ -1355,7 +1355,7 @@ function gt(e, t, r, s) {
1355
1355
  return s[e] = n;
1356
1356
  }
1357
1357
  function la(e) {
1358
- return Array.isArray(e) ? e[0] instanceof Kt ? e : [Uh, e] : [e, void 0];
1358
+ return Array.isArray(e) ? e[0] instanceof Kt ? e : [Bh, e] : [e, void 0];
1359
1359
  }
1360
1360
  function da(e, t) {
1361
1361
  return e instanceof m ? e.v : Array.isArray(e) ? nt(e, t) : void 0;
@@ -1387,9 +1387,9 @@ function Pn(e) {
1387
1387
  }
1388
1388
  }
1389
1389
  return (s = Wr(s)) && (s.da = r.qa[_i]), !0;
1390
- }, e[Rs] = t, e[_i] = Bh.bind(e), t;
1390
+ }, e[Rs] = t, e[_i] = Uh.bind(e), t;
1391
1391
  }
1392
- function Bh(e, t, r, s) {
1392
+ function Uh(e, t, r, s) {
1393
1393
  var n = this[ts];
1394
1394
  const i = this[Rs], o = nt(void 0, n.T), a = Wr(e);
1395
1395
  if (a) {
@@ -1530,7 +1530,7 @@ function ga(e, t, r) {
1530
1530
  })(t), t != null && (typeof t == "string" && bi(t), t != null))
1531
1531
  switch (ye(e, r, 0), typeof t) {
1532
1532
  case "number":
1533
- e = e.g, Pt(t), At(e, M, U);
1533
+ e = e.g, Pt(t), At(e, M, B);
1534
1534
  break;
1535
1535
  case "bigint":
1536
1536
  r = BigInt.asUintN(64, t), r = new Os(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), At(e.g, r.h, r.g);
@@ -1557,7 +1557,7 @@ function wa(e, t, r) {
1557
1557
  function Aa(e, t, r) {
1558
1558
  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
1559
  }
1560
- var B = J((function(e, t, r) {
1560
+ var U = J((function(e, t, r) {
1561
1561
  return e.h === 5 && (X(t, r, Rr(e.g)), !0);
1562
1562
  }), ma, Jr), Gh = Xt(Aa, (function(e, t, r) {
1563
1563
  if ((t = qt(Te, t)) != null) for (let o = 0; o < t.length; o++) {
@@ -1583,13 +1583,13 @@ var B = J((function(e, t, r) {
1583
1583
  var n = typeof s;
1584
1584
  if (n === "bigint") return String(ph(64, s));
1585
1585
  if (vr(s)) {
1586
- 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, U))), s;
1587
- if (n === "number") return (s = Mt(s)) >= 0 && dt(s) || (Pt(s), s = xs(M, U)), s;
1586
+ 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;
1588
1588
  }
1589
1589
  })(t), t != null && (typeof t == "string" && yi(t), t != null))
1590
1590
  switch (ye(e, r, 0), typeof t) {
1591
1591
  case "number":
1592
- e = e.g, Pt(t), At(e, M, U);
1592
+ e = e.g, Pt(t), At(e, M, B);
1593
1593
  break;
1594
1594
  case "bigint":
1595
1595
  r = BigInt.asUintN(64, t), r = new $s(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), At(e.g, r.h, r.g);
@@ -1640,14 +1640,14 @@ var B = J((function(e, t, r) {
1640
1640
  }), _a), Ea = J((function(e, t, r) {
1641
1641
  return e.h === 2 && (X(t, r, ra(e)), !0);
1642
1642
  }), wa, oa), Wh = Xt((function(e, t, r) {
1643
- return (e.h === 0 || e.h === 2) && (t = zt(t, 0 | t[p], r), e.h == 2 ? Xr(e, Be, t) : t.push(Be(e.g)), !0);
1643
+ 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
1644
  }), (function(e, t, r) {
1645
1645
  if ((t = qt(Ro, t)) != null) for (let o = 0; o < t.length; o++) {
1646
1646
  var s = e, n = r, i = t[o];
1647
1647
  i != null && (ye(s, n, 0), Wt(s.g, i));
1648
1648
  }
1649
1649
  }), na), Kh = J((function(e, t, r) {
1650
- return e.h === 0 && (X(t, r, (e = Be(e.g)) === 0 ? void 0 : e), !0);
1650
+ return e.h === 0 && (X(t, r, (e = Ue(e.g)) === 0 ? void 0 : e), !0);
1651
1651
  }), (function(e, t, r) {
1652
1652
  (t = Ro(t)) != null && t != null && (ye(e, r, 0), Wt(e.g, t));
1653
1653
  }), na), ue = J((function(e, t, r) {
@@ -1820,7 +1820,7 @@ var Qh = Xe(fe, Ma), Jh = class extends m {
1820
1820
  g() {
1821
1821
  return Ne(this, Jh, 1);
1822
1822
  }
1823
- }, Fa = [0, W, [0, q, B, S, -1]], is = Xe(xa, Fa), Zh = class extends m {
1823
+ }, Fa = [0, W, [0, q, U, S, -1]], is = Xe(xa, Fa), Zh = class extends m {
1824
1824
  constructor(e) {
1825
1825
  super(e);
1826
1826
  }
@@ -1842,7 +1842,7 @@ var Qh = Xe(fe, Ma), Jh = class extends m {
1842
1842
  constructor(e) {
1843
1843
  super(e);
1844
1844
  }
1845
- }, [0, Q, Ar, Mn, [0, ue, [0, q, -3], [0, B, -3], [0, q, -1, [0, W, [0, q, -2]]], W, [0, B, -1, S, B]], S, -1, qe, W, [0, q, B], Q, qe]), Oa = class extends m {
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, S, U]], S, -1, qe, W, [0, q, U], Q, qe]), Oa = class extends m {
1846
1846
  constructor(e) {
1847
1847
  super(e);
1848
1848
  }
@@ -1850,7 +1850,7 @@ var Qh = Xe(fe, Ma), Jh = class extends m {
1850
1850
  constructor(e) {
1851
1851
  super(e);
1852
1852
  }
1853
- }, [0, W, [0, B, -4]]), Ra = class extends m {
1853
+ }, [0, W, [0, U, -4]]), Ra = class extends m {
1854
1854
  constructor(e) {
1855
1855
  super(e);
1856
1856
  }
@@ -1858,7 +1858,7 @@ var Qh = Xe(fe, Ma), Jh = class extends m {
1858
1858
  constructor(e) {
1859
1859
  super(e);
1860
1860
  }
1861
- }, [0, W, [0, B, -4]]), tu = class extends m {
1861
+ }, [0, W, [0, U, -4]]), tu = class extends m {
1862
1862
  constructor(e) {
1863
1863
  super(e);
1864
1864
  }
@@ -1867,7 +1867,7 @@ var Qh = Xe(fe, Ma), Jh = class extends m {
1867
1867
  super(e);
1868
1868
  }
1869
1869
  };
1870
- Ia.prototype.g = ns([0, B, -4, qe]);
1870
+ Ia.prototype.g = ns([0, U, -4, qe]);
1871
1871
  var su = class extends m {
1872
1872
  constructor(e) {
1873
1873
  super(e);
@@ -1900,7 +1900,7 @@ var su = class extends m {
1900
1900
  constructor(e) {
1901
1901
  super(e);
1902
1902
  }
1903
- }, Ua = [0, S, q, B, Q, -1], Mi = class extends m {
1903
+ }, Ba = [0, S, q, U, Q, -1], Mi = class extends m {
1904
1904
  constructor(e) {
1905
1905
  super(e);
1906
1906
  }
@@ -1908,7 +1908,7 @@ var su = class extends m {
1908
1908
  constructor(e) {
1909
1909
  super(e);
1910
1910
  }
1911
- }, Mr = [1, 2, 3, 4, 5, 6], Ur = class extends m {
1911
+ }, Mr = [1, 2, 3, 4, 5, 6], Br = class extends m {
1912
1912
  constructor(e) {
1913
1913
  super(e);
1914
1914
  }
@@ -1925,11 +1925,11 @@ var su = class extends m {
1925
1925
  g() {
1926
1926
  return Oo(C(this, 2)) ?? !1;
1927
1927
  }
1928
- }, Ba = [0, Ea, S, [0, q, qe, -1], [0, zh, qe]], D = [0, Ba, N, [0, Mr, R, Pa, R, Sa, R, ka, R, La, R, Ca, R, Ta], ue], os = class extends m {
1928
+ }, Ua = [0, Ea, S, [0, q, qe, -1], [0, zh, qe]], D = [0, Ua, N, [0, Mr, R, Pa, R, Sa, R, ka, R, La, R, Ca, R, Ta], ue], os = class extends m {
1929
1929
  constructor(e) {
1930
1930
  super(e);
1931
1931
  }
1932
- }, Fn = [0, D, B, -1, q], hu = xe(502141897, os);
1932
+ }, Fn = [0, D, U, -1, q], hu = xe(502141897, os);
1933
1933
  G[502141897] = Fn;
1934
1934
  var uu = Xe(class extends m {
1935
1935
  constructor(e) {
@@ -1943,8 +1943,8 @@ var uu = Xe(class extends m {
1943
1943
  constructor(e) {
1944
1944
  super(e);
1945
1945
  }
1946
- }, Is = [0, D, B, [0, D], N], lu = xe(508968150, ja);
1947
- G[508968150] = [0, D, Fn, Is, B, [0, [0, Ba]]], G[508968149] = Is;
1946
+ }, Is = [0, D, U, [0, D], N], lu = xe(508968150, ja);
1947
+ G[508968150] = [0, D, Fn, Is, U, [0, [0, Ua]]], G[508968149] = Is;
1948
1948
  var vt = class extends m {
1949
1949
  constructor(e) {
1950
1950
  super(e);
@@ -1955,7 +1955,7 @@ var vt = class extends m {
1955
1955
  g() {
1956
1956
  k(this, 2);
1957
1957
  }
1958
- }, Va = [0, D, Ua];
1958
+ }, Va = [0, D, Ba];
1959
1959
  G[478825465] = Va;
1960
1960
  var du = class extends m {
1961
1961
  constructor(e) {
@@ -1977,7 +1977,7 @@ var du = class extends m {
1977
1977
  constructor(e) {
1978
1978
  super(e);
1979
1979
  }
1980
- }, Fi = [0, D, [0, D], Va, -1], za = [0, D, B, q], Rn = [0, D, B], Wa = [0, D, za, Rn, B], fu = xe(479097054, Ha);
1980
+ }, Fi = [0, D, [0, D], Va, -1], za = [0, D, U, q], Rn = [0, D, U], Wa = [0, D, za, Rn, U], fu = xe(479097054, Ha);
1981
1981
  G[479097054] = [0, D, Wa, Fi], G[463370452] = Fi, G[464864288] = za;
1982
1982
  var pu = xe(462713202, On);
1983
1983
  G[462713202] = Wa, G[474472470] = Rn;
@@ -1997,14 +1997,14 @@ var mu = class extends m {
1997
1997
  constructor(e) {
1998
1998
  super(e);
1999
1999
  }
2000
- }, In = [0, D, B, -1, q], Ns = [0, D, B, N];
2000
+ }, In = [0, D, U, -1, q], Ns = [0, D, U, N];
2001
2001
  Xa.prototype.g = ns([0, D, Rn, [0, D], Fn, Is, In, Ns]);
2002
2002
  var Ya = class extends m {
2003
2003
  constructor(e) {
2004
2004
  super(e);
2005
2005
  }
2006
2006
  }, gu = xe(456383383, Ya);
2007
- G[456383383] = [0, D, Ua];
2007
+ G[456383383] = [0, D, Ba];
2008
2008
  var Qa = class extends m {
2009
2009
  constructor(e) {
2010
2010
  super(e);
@@ -2065,33 +2065,33 @@ var _s = class extends m {
2065
2065
  constructor(e) {
2066
2066
  super(e);
2067
2067
  }
2068
- }, Us = [1, 2];
2069
- tc.prototype.g = ns([0, Us, R, Oi, R, [0, W, Oi]]);
2068
+ }, Bs = [1, 2];
2069
+ tc.prototype.g = ns([0, Bs, R, Oi, R, [0, W, Oi]]);
2070
2070
  var rc = class extends m {
2071
2071
  constructor(e) {
2072
2072
  super(e);
2073
2073
  }
2074
2074
  }, _u = xe(443442058, rc);
2075
- G[443442058] = [0, D, S, q, B, Q, -1, N, B], G[514774813] = In;
2075
+ G[443442058] = [0, D, S, q, U, Q, -1, N, U], G[514774813] = In;
2076
2076
  var sc = class extends m {
2077
2077
  constructor(e) {
2078
2078
  super(e);
2079
2079
  }
2080
2080
  }, wu = xe(516587230, sc);
2081
- function Bs(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 ? Ue(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;
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;
2083
2083
  }
2084
2084
  function nc(e) {
2085
2085
  const t = Number(e);
2086
2086
  return Number.isSafeInteger(t) ? t : String(e);
2087
2087
  }
2088
- function Un(e, t = -1, r = "") {
2088
+ function Bn(e, t = -1, r = "") {
2089
2089
  return { categories: e.map(((s) => ({ index: ge(s, 1) ?? 0 ?? -1, score: I(s, 2) ?? 0, categoryName: Y(C(s, 3)) ?? "" ?? "", displayName: Y(C(s, 4)) ?? "" ?? "" }))), headIndex: t, headName: r };
2090
2090
  }
2091
2091
  function Au(e) {
2092
2092
  const t = { classifications: Ne(e, su, 1).map(((r) => {
2093
2093
  var s;
2094
- return Un(((s = A(r, xa, 4)) == null ? void 0 : s.g()) ?? [], ge(r, 2) ?? 0, Y(C(r, 3)) ?? "");
2094
+ return Bn(((s = A(r, xa, 4)) == null ? void 0 : s.g()) ?? [], ge(r, 2) ?? 0, Y(C(r, 3)) ?? "");
2095
2095
  })) };
2096
2096
  return (function(r) {
2097
2097
  return yh(Js ? C(r, 2, void 0, void 0, Fr) : C(r, 2));
@@ -2126,7 +2126,7 @@ function Ii(e, t) {
2126
2126
  return r / Math.sqrt(s * n);
2127
2127
  }
2128
2128
  let Tr;
2129
- G[516587230] = [0, D, In, Ns, B], G[518928384] = Ns;
2129
+ G[516587230] = [0, D, In, Ns, U], G[518928384] = Ns;
2130
2130
  const Eu = 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
2131
  async function oc() {
2132
2132
  if (Tr === void 0) try {
@@ -2172,14 +2172,14 @@ function cc(e) {
2172
2172
  function g(e, t, r) {
2173
2173
  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
2174
  }
2175
- function Ui(e, t, r) {
2175
+ function Bi(e, t, r) {
2176
2176
  if (!e.i.canvas) throw Error("No OpenGL canvas configured.");
2177
2177
  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
2178
  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
2179
  const [s, n] = cc(t);
2180
2180
  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
2181
  }
2182
- function Bi(e, t, r) {
2182
+ function Ui(e, t, r) {
2183
2183
  e.m || console.error("No wasm multistream support detected: ensure dependency inclusion of :gl_graph_runner_internal_multi_input target");
2184
2184
  const s = new Uint32Array(t.length);
2185
2185
  for (let n = 0; n < t.length; n++) s[n] = e.i.stringToNewUTF8(t[n]);
@@ -2216,7 +2216,7 @@ async function ku(e, t, r, s) {
2216
2216
  })(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
2217
  }
2218
2218
  function ws(e, t) {
2219
- const r = A(e.baseOptions, Ur, 1) || new Ur();
2219
+ const r = A(e.baseOptions, Br, 1) || new Br();
2220
2220
  typeof t == "string" ? (k(r, 2, _r(t)), k(r, 1)) : t instanceof Uint8Array && (k(r, 1, tn(t, !1)), k(r, 2)), b(e.baseOptions, 0, 1, r);
2221
2221
  }
2222
2222
  function Di(e) {
@@ -2249,7 +2249,7 @@ var Ds = class {
2249
2249
  if (t) {
2250
2250
  const c = e.baseOptions || {};
2251
2251
  if ((r = e.baseOptions) != null && r.modelAssetBuffer && ((s = e.baseOptions) != null && s.modelAssetPath)) throw Error("Cannot set both baseOptions.modelAssetPath and baseOptions.modelAssetBuffer");
2252
- if (!((n = A(this.baseOptions, Ur, 1)) != null && n.g() || (i = A(this.baseOptions, Ur, 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");
2252
+ 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
2253
  if ((function(u, h) {
2254
2254
  let l = A(u.baseOptions, xi, 3);
2255
2255
  if (!l) {
@@ -2336,19 +2336,19 @@ function Vi(e, t) {
2336
2336
  const i = ze(r.createBuffer(), "Failed to create buffer");
2337
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 Su(r, s, n, i);
2338
2338
  }
2339
- function Bn(e, t) {
2339
+ function Un(e, t) {
2340
2340
  if (e.g) {
2341
2341
  if (t !== e.g) throw Error("Cannot change GL context once initialized");
2342
2342
  } else e.g = t;
2343
2343
  }
2344
2344
  function Tu(e, t, r, s) {
2345
- return Bn(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;
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;
2346
2346
  }
2347
2347
  function hc(e, t, r) {
2348
- return Bn(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;
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;
2349
2349
  }
2350
2350
  function uc(e, t, r) {
2351
- Bn(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);
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);
2352
2352
  }
2353
2353
  function Cu(e) {
2354
2354
  var t;
@@ -2566,7 +2566,7 @@ const Lu = /* @__PURE__ */ (function(e) {
2566
2566
  }
2567
2567
  addGpuBufferToStream(e, t, r) {
2568
2568
  g(this, t, ((s) => {
2569
- const [n, i] = Ui(this, e, s);
2569
+ const [n, i] = Bi(this, e, s);
2570
2570
  this.i._addBoundTextureToStream(s, n, i, r);
2571
2571
  }));
2572
2572
  }
@@ -2604,8 +2604,8 @@ const Lu = /* @__PURE__ */ (function(e) {
2604
2604
  }
2605
2605
  addStringRecordToStream(e, t, r) {
2606
2606
  g(this, t, ((s) => {
2607
- Bi(this, Object.keys(e), ((n) => {
2608
- Bi(this, Object.values(e), ((i) => {
2607
+ Ui(this, Object.keys(e), ((n) => {
2608
+ Ui(this, Object.values(e), ((i) => {
2609
2609
  this.i._addFlatHashMapToInputStream(n, i, Object.keys(e).length, s, r);
2610
2610
  }));
2611
2611
  }));
@@ -2853,7 +2853,7 @@ const Lu = /* @__PURE__ */ (function(e) {
2853
2853
  }
2854
2854
  pa(e, t, r) {
2855
2855
  g(this, t, ((s) => {
2856
- const [n, i] = Ui(this, e, s);
2856
+ const [n, i] = Bi(this, e, s);
2857
2857
  this.ga._addBoundTextureAsImageToStream(s, n, i, r);
2858
2858
  }));
2859
2859
  }
@@ -2971,7 +2971,7 @@ function zi(e) {
2971
2971
  }
2972
2972
  var $ = class extends le {
2973
2973
  constructor(e, t) {
2974
- super(new we(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, b(e = this.h = new ja(), 0, 1, t = new O()), this.A = new Da(), b(this.h, 0, 3, this.A), this.u = new os(), b(this.h, 0, 2, this.u), Ue(this.u, 4, 1), y(this.u, 2, 0.5), y(this.A, 2, 0.5), y(this.h, 4, 0.5);
2974
+ super(new we(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, b(e = this.h = new ja(), 0, 1, t = new O()), this.A = new Da(), b(this.h, 0, 3, this.A), this.u = new os(), b(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
2975
  }
2976
2976
  get baseOptions() {
2977
2977
  return A(this.h, O, 1);
@@ -2980,7 +2980,7 @@ var $ = class extends le {
2980
2980
  b(this.h, 0, 1, e);
2981
2981
  }
2982
2982
  o(e) {
2983
- return "numFaces" in e && Ue(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);
2983
+ 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
2984
  }
2985
2985
  F(e, t) {
2986
2986
  return zi(this), Ae(this, e, t), this.j;
@@ -3000,7 +3000,7 @@ var $ = class extends le {
3000
3000
  })), this.g.attachEmptyPacketListener("face_landmarks", ((s) => {
3001
3001
  d(this, s);
3002
3002
  })), 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(Un(s.g() ?? []));
3003
+ if (this.outputFaceBlendshapes) for (const i of s) s = is(i), this.j.faceBlendshapes.push(Bn(s.g() ?? []));
3004
3004
  d(this, n);
3005
3005
  })), this.g.attachEmptyPacketListener("blendshapes", ((s) => {
3006
3006
  d(this, s);
@@ -3048,11 +3048,11 @@ var te = class extends le {
3048
3048
  }
3049
3049
  o(e) {
3050
3050
  var n, i, o, a;
3051
- if (Ue(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 = Bs(e.cannedGesturesClassifierOptions, (n = A(this.h, vt, 3)) == null ? void 0 : n.l());
3051
+ 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());
3053
3053
  b(r, 0, 2, s), b(this.h, 0, 3, t);
3054
3054
  } else e.cannedGesturesClassifierOptions === void 0 && ((i = A(this.h, vt, 3)) == null || i.g());
3055
- return e.customGesturesClassifierOptions ? (b(r = t = new vt(), 0, 2, s = Bs(e.customGesturesClassifierOptions, (o = A(this.h, vt, 4)) == null ? void 0 : o.l())), b(this.h, 0, 4, t)) : e.customGesturesClassifierOptions === void 0 && ((a = A(this.h, vt, 4)) == null || a.g()), this.l(e);
3055
+ return e.customGesturesClassifierOptions ? (b(r = t = new vt(), 0, 2, s = Us(e.customGesturesClassifierOptions, (o = A(this.h, vt, 4)) == null ? void 0 : o.l())), b(this.h, 0, 4, t)) : e.customGesturesClassifierOptions === void 0 && ((a = A(this.h, vt, 4)) == null || a.g()), this.l(e);
3056
3056
  }
3057
3057
  Ha(e, t) {
3058
3058
  return Wi(this), Ae(this, e, t), Ki(this);
@@ -3109,7 +3109,7 @@ te.prototype.recognizeForVideo = te.prototype.Ia, te.prototype.recognize = te.pr
3109
3109
  }, te.HAND_CONNECTIONS = Kn;
3110
3110
  var re = class extends le {
3111
3111
  constructor(e, t) {
3112
- super(new we(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], b(e = this.h = new On(), 0, 1, t = new O()), this.u = new $n(), b(this.h, 0, 3, this.u), this.j = new Ga(), b(this.h, 0, 2, this.j), Ue(this.j, 3, 1), y(this.j, 2, 0.5), y(this.u, 2, 0.5), y(this.h, 4, 0.5);
3112
+ super(new we(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], b(e = this.h = new On(), 0, 1, t = new O()), this.u = new $n(), b(this.h, 0, 3, this.u), this.j = new Ga(), b(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
3113
  }
3114
3114
  get baseOptions() {
3115
3115
  return A(this.h, O, 1);
@@ -3118,7 +3118,7 @@ var re = class extends le {
3118
3118
  b(this.h, 0, 1, e);
3119
3119
  }
3120
3120
  o(e) {
3121
- return "numHands" in e && Ue(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);
3121
+ 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
3122
  }
3123
3123
  F(e, t) {
3124
3124
  return this.landmarks = [], this.worldLandmarks = [], this.handedness = [], Ae(this, e, t), Xi(this);
@@ -3231,7 +3231,7 @@ var T = class extends le {
3231
3231
  d(this, n);
3232
3232
  })), this.outputFaceBlendshapes && (E(e, "extra_blendshapes"), _(s, "FACE_BLENDSHAPES:extra_blendshapes"), this.g.attachProtoListener("extra_blendshapes", ((n, i) => {
3233
3233
  var o = this.h.faceBlendshapes;
3234
- this.outputFaceBlendshapes && (n = is(n), o.push(Un(n.g() ?? []))), d(this, i);
3234
+ this.outputFaceBlendshapes && (n = is(n), o.push(Bn(n.g() ?? []))), d(this, i);
3235
3235
  })), this.g.attachEmptyPacketListener("extra_blendshapes", ((n) => {
3236
3236
  d(this, n);
3237
3237
  }))), this.g.attachProtoListener("left_hand_landmarks", ((n, i) => {
@@ -3273,7 +3273,7 @@ var pe = class extends le {
3273
3273
  b(this.h, 0, 1, e);
3274
3274
  }
3275
3275
  o(e) {
3276
- return b(this.h, 0, 2, Bs(e, A(this.h, xn, 2))), this.l(e);
3276
+ return b(this.h, 0, 2, Us(e, A(this.h, xn, 2))), this.l(e);
3277
3277
  }
3278
3278
  sa(e, t) {
3279
3279
  return this.j = { classifications: [] }, Ae(this, e, t), this.j;
@@ -3474,13 +3474,13 @@ var Se = class extends le {
3474
3474
  if (this.j = typeof r == "function" ? r : s, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, r = this.C + 1, s = new tc(), t.keypoint && t.scribble) throw Error("Cannot provide both keypoint and scribble.");
3475
3475
  if (t.keypoint) {
3476
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, Us, i);
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);
3478
3478
  } else {
3479
3479
  if (!t.scribble) throw Error("Must provide either a keypoint or a scribble.");
3480
3480
  {
3481
3481
  const a = new vu();
3482
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, Us, a);
3483
+ rr(s, 2, Bs, a);
3484
3484
  }
3485
3485
  }
3486
3486
  this.g.addProtoToStream(s.g(), "mediapipe.tasks.vision.interactive_segmenter.proto.RegionOfInterest", "roi_in", r), Ae(this, e, n);
@@ -3538,7 +3538,7 @@ var me = class extends le {
3538
3538
  b(this.h, 0, 1, e);
3539
3539
  }
3540
3540
  o(e) {
3541
- return e.displayNamesLocale !== void 0 ? k(this.h, 2, _r(e.displayNamesLocale)) : "displayNamesLocale" in e && k(this.h, 2), e.maxResults !== void 0 ? Ue(this.h, 3, e.maxResults) : "maxResults" in e && k(this.h, 3), e.scoreThreshold !== void 0 ? y(this.h, 4, e.scoreThreshold) : "scoreThreshold" in e && k(this.h, 4), e.categoryAllowlist !== void 0 ? Or(this.h, 5, e.categoryAllowlist) : "categoryAllowlist" in e && k(this.h, 5), e.categoryDenylist !== void 0 ? Or(this.h, 6, e.categoryDenylist) : "categoryDenylist" in e && k(this.h, 6), this.l(e);
3541
+ return e.displayNamesLocale !== void 0 ? k(this.h, 2, _r(e.displayNamesLocale)) : "displayNamesLocale" in e && k(this.h, 2), e.maxResults !== void 0 ? Be(this.h, 3, e.maxResults) : "maxResults" in e && k(this.h, 3), e.scoreThreshold !== void 0 ? y(this.h, 4, e.scoreThreshold) : "scoreThreshold" in e && k(this.h, 4), e.categoryAllowlist !== void 0 ? Or(this.h, 5, e.categoryAllowlist) : "categoryAllowlist" in e && k(this.h, 5), e.categoryDenylist !== void 0 ? Or(this.h, 6, e.categoryDenylist) : "categoryDenylist" in e && k(this.h, 6), this.l(e);
3542
3542
  }
3543
3543
  F(e, t) {
3544
3544
  return this.j = { detections: [] }, Ae(this, e, t), this.j;
@@ -3593,7 +3593,7 @@ function to(e) {
3593
3593
  zs.prototype.close = zs.prototype.close;
3594
3594
  var ne = class extends le {
3595
3595
  constructor(e, t) {
3596
- super(new we(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, b(e = this.h = new sc(), 0, 1, t = new O()), this.A = new qa(), b(this.h, 0, 3, this.A), this.j = new Ka(), b(this.h, 0, 2, this.j), Ue(this.j, 4, 1), y(this.j, 2, 0.5), y(this.A, 2, 0.5), y(this.h, 4, 0.5);
3596
+ super(new we(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, b(e = this.h = new sc(), 0, 1, t = new O()), this.A = new qa(), b(this.h, 0, 3, this.A), this.j = new Ka(), b(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
3597
  }
3598
3598
  get baseOptions() {
3599
3599
  return A(this.h, O, 1);
@@ -3602,7 +3602,7 @@ var ne = class extends le {
3602
3602
  b(this.h, 0, 1, e);
3603
3603
  }
3604
3604
  o(e) {
3605
- return "numPoses" in e && Ue(this.j, 4, e.numPoses ?? 1), "minPoseDetectionConfidence" in e && y(this.j, 2, e.minPoseDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && y(this.h, 4, e.minTrackingConfidence ?? 0.5), "minPosePresenceConfidence" in e && y(this.A, 2, e.minPosePresenceConfidence ?? 0.5), "outputSegmentationMasks" in e && (this.outputSegmentationMasks = e.outputSegmentationMasks ?? !1), this.l(e);
3605
+ return "numPoses" in e && Be(this.j, 4, e.numPoses ?? 1), "minPoseDetectionConfidence" in e && y(this.j, 2, e.minPoseDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && y(this.h, 4, e.minTrackingConfidence ?? 0.5), "minPosePresenceConfidence" in e && y(this.A, 2, e.minPosePresenceConfidence ?? 0.5), "outputSegmentationMasks" in e && (this.outputSegmentationMasks = e.outputSegmentationMasks ?? !1), this.l(e);
3606
3606
  }
3607
3607
  F(e, t, r) {
3608
3608
  const s = typeof t != "function" ? t : {};
@@ -3745,17 +3745,17 @@ function Ou(e, t, r, s) {
3745
3745
  }
3746
3746
  const Ru = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision/wasm", Iu = "https://storage.googleapis.com/mediapipe-models/face_detector/blaze_face_short_range/float16/1/blaze_face_short_range.tflite", Nu = 0.7;
3747
3747
  let so = null, no = null, io = null;
3748
- function Uu() {
3748
+ function Bu() {
3749
3749
  return so ?? (so = et.forVisionTasks(Ru)), so;
3750
3750
  }
3751
- function Bu() {
3751
+ function Uu() {
3752
3752
  return no ?? (no = Sc("IMAGE")), no;
3753
3753
  }
3754
3754
  function kc() {
3755
3755
  return io ?? (io = Sc("VIDEO")), io;
3756
3756
  }
3757
3757
  async function Sc(e) {
3758
- const t = await Uu();
3758
+ const t = await Bu();
3759
3759
  return ie.createFromOptions(t, {
3760
3760
  baseOptions: { modelAssetPath: Iu },
3761
3761
  runningMode: e,
@@ -3763,7 +3763,7 @@ async function Sc(e) {
3763
3763
  });
3764
3764
  }
3765
3765
  async function Tc(e) {
3766
- const r = (await Bu()).detect(e);
3766
+ const r = (await Uu()).detect(e);
3767
3767
  return Ec({
3768
3768
  detections: Cc(r.detections),
3769
3769
  width: e.naturalWidth,
@@ -4102,7 +4102,7 @@ const t2 = (e) => new Ic(typeof e == "string" ? e : e + "", void 0, Xn), r2 = (e
4102
4102
  * Copyright 2017 Google LLC
4103
4103
  * SPDX-License-Identifier: BSD-3-Clause
4104
4104
  */
4105
- const { is: n2, defineProperty: i2, getOwnPropertyDescriptor: o2, getOwnPropertyNames: a2, getOwnPropertySymbols: c2, getPrototypeOf: h2 } = Object, We = globalThis, ho = We.trustedTypes, u2 = ho ? ho.emptyScript : "", Es = We.reactiveElementPolyfillSupport, ir = (e, t) => e, Br = { toAttribute(e, t) {
4105
+ const { is: n2, defineProperty: i2, getOwnPropertyDescriptor: o2, getOwnPropertyNames: a2, getOwnPropertySymbols: c2, getPrototypeOf: h2 } = Object, We = globalThis, ho = We.trustedTypes, u2 = ho ? ho.emptyScript : "", Es = We.reactiveElementPolyfillSupport, ir = (e, t) => e, Ur = { toAttribute(e, t) {
4106
4106
  switch (t) {
4107
4107
  case Boolean:
4108
4108
  e = e ? u2 : null;
@@ -4130,7 +4130,7 @@ const { is: n2, defineProperty: i2, getOwnPropertyDescriptor: o2, getOwnProperty
4130
4130
  }
4131
4131
  }
4132
4132
  return r;
4133
- } }, Yn = (e, t) => !n2(e, t), uo = { attribute: !0, type: String, converter: Br, reflect: !1, useDefault: !1, hasChanged: Yn };
4133
+ } }, Yn = (e, t) => !n2(e, t), uo = { attribute: !0, type: String, converter: Ur, reflect: !1, useDefault: !1, hasChanged: Yn };
4134
4134
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), We.litPropertyMetadata ?? (We.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
4135
4135
  let _t = class extends HTMLElement {
4136
4136
  static addInitializer(t) {
@@ -4241,7 +4241,7 @@ let _t = class extends HTMLElement {
4241
4241
  var i;
4242
4242
  const s = this.constructor.elementProperties.get(t), n = this.constructor._$Eu(t, s);
4243
4243
  if (n !== void 0 && s.reflect === !0) {
4244
- const o = (((i = s.converter) == null ? void 0 : i.toAttribute) !== void 0 ? s.converter : Br).toAttribute(r, s.type);
4244
+ const o = (((i = s.converter) == null ? void 0 : i.toAttribute) !== void 0 ? s.converter : Ur).toAttribute(r, s.type);
4245
4245
  this._$Em = t, o == null ? this.removeAttribute(n) : this.setAttribute(n, o), this._$Em = null;
4246
4246
  }
4247
4247
  }
@@ -4249,7 +4249,7 @@ let _t = class extends HTMLElement {
4249
4249
  var i, o;
4250
4250
  const s = this.constructor, n = s._$Eh.get(t);
4251
4251
  if (n !== void 0 && this._$Em !== n) {
4252
- const a = s.getPropertyOptions(n), c = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((i = a.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? a.converter : Br;
4252
+ const a = s.getPropertyOptions(n), c = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((i = a.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? a.converter : Ur;
4253
4253
  this._$Em = n;
4254
4254
  const u = c.fromAttribute(r, a.type);
4255
4255
  this[n] = u ?? ((o = this._$Ej) == null ? void 0 : o.get(n)) ?? u, this._$Em = null;
@@ -4341,9 +4341,9 @@ _t.elementStyles = [], _t.shadowRootOptions = { mode: "open" }, _t[ir("elementPr
4341
4341
  * Copyright 2017 Google LLC
4342
4342
  * SPDX-License-Identifier: BSD-3-Clause
4343
4343
  */
4344
- const or = globalThis, lo = (e) => e, Dr = or.trustedTypes, fo = Dr ? Dr.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Nc = "$lit$", He = `lit$${Math.random().toFixed(9).slice(2)}$`, Uc = "?" + He, l2 = `<${Uc}>`, ft = document, fr = () => ft.createComment(""), pr = (e) => e === null || typeof e != "object" && typeof e != "function", Qn = Array.isArray, d2 = (e) => Qn(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", ks = `[
4344
+ const or = globalThis, lo = (e) => e, Dr = or.trustedTypes, fo = Dr ? Dr.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Nc = "$lit$", He = `lit$${Math.random().toFixed(9).slice(2)}$`, Bc = "?" + He, l2 = `<${Bc}>`, ft = document, fr = () => ft.createComment(""), pr = (e) => e === null || typeof e != "object" && typeof e != "function", Qn = Array.isArray, d2 = (e) => Qn(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", ks = `[
4345
4345
  \f\r]`, Zt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, po = /-->/g, mo = />/g, Ze = RegExp(`>|${ks}(?:([^\\s"'>=/]+)(${ks}*=${ks}*(?:[^
4346
- \f\r"'\`<>=]|("|')|))|$)`, "g"), go = /'/g, yo = /"/g, Bc = /^(?:script|style|textarea|title)$/i, f2 = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), $e = f2(1), It = Symbol.for("lit-noChange"), K = Symbol.for("lit-nothing"), bo = /* @__PURE__ */ new WeakMap(), st = ft.createTreeWalker(ft, 129);
4346
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), go = /'/g, yo = /"/g, Uc = /^(?:script|style|textarea|title)$/i, f2 = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), $e = f2(1), It = Symbol.for("lit-noChange"), K = Symbol.for("lit-nothing"), bo = /* @__PURE__ */ new WeakMap(), st = ft.createTreeWalker(ft, 129);
4347
4347
  function Dc(e, t) {
4348
4348
  if (!Qn(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
4349
4349
  return fo !== void 0 ? fo.createHTML(t) : t;
@@ -4354,7 +4354,7 @@ const p2 = (e, t) => {
4354
4354
  for (let a = 0; a < r; a++) {
4355
4355
  const c = e[a];
4356
4356
  let u, h, l = -1, f = 0;
4357
- for (; f < c.length && (o.lastIndex = f, h = o.exec(c), h !== null); ) f = o.lastIndex, o === Zt ? h[1] === "!--" ? o = po : h[1] !== void 0 ? o = mo : h[2] !== void 0 ? (Bc.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] === '"' ? yo : go) : o === yo || o === go ? o = Ze : o === po || o === mo ? o = Zt : (o = Ze, n = void 0);
4357
+ for (; f < c.length && (o.lastIndex = f, h = o.exec(c), h !== null); ) f = o.lastIndex, o === Zt ? h[1] === "!--" ? o = po : h[1] !== void 0 ? o = mo : h[2] !== void 0 ? (Uc.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] === '"' ? yo : go) : o === yo || o === go ? o = Ze : o === po || o === mo ? o = Zt : (o = Ze, n = void 0);
4358
4358
  const v = o === Ze && e[a + 1].startsWith("/>") ? " " : "";
4359
4359
  i += o === Zt ? c + l2 : l >= 0 ? (s.push(u), c.slice(0, l) + Nc + c.slice(l) + He + v) : c + He + (l === -2 ? a : v);
4360
4360
  }
@@ -4376,7 +4376,7 @@ class mr {
4376
4376
  const f = h[o++], v = n.getAttribute(l).split(He), P = /([.?@])?(.*)/.exec(f);
4377
4377
  c.push({ type: 1, index: i, name: P[2], strings: v, ctor: P[1] === "." ? g2 : P[1] === "?" ? y2 : P[1] === "@" ? b2 : us }), n.removeAttribute(l);
4378
4378
  } else l.startsWith(He) && (c.push({ type: 6, index: i }), n.removeAttribute(l));
4379
- if (Bc.test(n.tagName)) {
4379
+ if (Uc.test(n.tagName)) {
4380
4380
  const l = n.textContent.split(He), f = l.length - 1;
4381
4381
  if (f > 0) {
4382
4382
  n.textContent = Dr ? Dr.emptyScript : "";
@@ -4384,7 +4384,7 @@ class mr {
4384
4384
  n.append(l[f], fr());
4385
4385
  }
4386
4386
  }
4387
- } else if (n.nodeType === 8) if (n.data === Uc) c.push({ type: 2, index: i });
4387
+ } else if (n.nodeType === 8) if (n.data === Bc) c.push({ type: 2, index: i });
4388
4388
  else {
4389
4389
  let l = -1;
4390
4390
  for (; (l = n.data.indexOf(He, l + 1)) !== -1; ) c.push({ type: 7, index: i }), l += He.length - 1;
@@ -4623,7 +4623,7 @@ const w2 = (e) => (t, r) => {
4623
4623
  * Copyright 2017 Google LLC
4624
4624
  * SPDX-License-Identifier: BSD-3-Clause
4625
4625
  */
4626
- const A2 = { attribute: !0, type: String, converter: Br, reflect: !1, hasChanged: Yn }, E2 = (e = A2, t, r) => {
4626
+ const A2 = { attribute: !0, type: String, converter: Ur, reflect: !1, hasChanged: Yn }, E2 = (e = A2, t, r) => {
4627
4627
  const { kind: s, metadata: n } = r;
4628
4628
  let i = globalThis.litPropertyMetadata.get(n);
4629
4629
  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") {
@@ -5127,7 +5127,8 @@ let F = class extends ar {
5127
5127
  F.styles = r2`
5128
5128
  :host {
5129
5129
  display: block;
5130
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
5130
+ font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
5131
+ color: #212529;
5131
5132
  max-width: 400px;
5132
5133
  margin: 0 auto;
5133
5134
  text-align: center;
@@ -5142,9 +5143,9 @@ F.styles = r2`
5142
5143
  .container {
5143
5144
  position: relative;
5144
5145
  padding: 16px;
5145
- border: 1px solid #e0e0e0;
5146
+ border: 1px solid #E0E0E0;
5146
5147
  border-radius: 16px;
5147
- background: #fafafa;
5148
+ background: #F6F6F6;
5148
5149
  }
5149
5150
 
5150
5151
  .close-btn {
@@ -5161,7 +5162,7 @@ F.styles = r2`
5161
5162
  border: none;
5162
5163
  border-radius: 50%;
5163
5164
  background: rgba(0, 0, 0, 0.06);
5164
- color: #49454f;
5165
+ color: #5D5E5E;
5165
5166
  cursor: pointer;
5166
5167
  transition: background-color 0.15s;
5167
5168
  }
@@ -5184,7 +5185,7 @@ F.styles = r2`
5184
5185
 
5185
5186
  .capture-copy {
5186
5187
  margin: 0;
5187
- color: #334155;
5188
+ color: #5D5E5E;
5188
5189
  text-align: center;
5189
5190
  width: 100%;
5190
5191
  }
@@ -5196,8 +5197,8 @@ F.styles = r2`
5196
5197
  aspect-ratio: 3 / 4;
5197
5198
  border-radius: 22px;
5198
5199
  background:
5199
- radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 30%),
5200
- linear-gradient(180deg, #0f172a, #020617);
5200
+ radial-gradient(circle at top, rgba(0, 179, 209, 0.16), transparent 30%),
5201
+ linear-gradient(180deg, #1a1a1a, #0d0d0d);
5201
5202
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
5202
5203
  }
5203
5204
 
@@ -5229,7 +5230,7 @@ F.styles = r2`
5229
5230
  }
5230
5231
 
5231
5232
  .guide-mask {
5232
- fill: rgba(51, 65, 85, 0.75);
5233
+ fill: rgba(42, 42, 42, 0.75);
5233
5234
  fill-rule: evenodd;
5234
5235
  }
5235
5236
 
@@ -5243,7 +5244,7 @@ F.styles = r2`
5243
5244
 
5244
5245
  .ring-progress {
5245
5246
  fill: none;
5246
- stroke: #22c55e;
5247
+ stroke: #00B3D1;
5247
5248
  stroke-width: 2.8;
5248
5249
  stroke-linecap: round;
5249
5250
  stroke-linejoin: round;
@@ -5267,24 +5268,25 @@ F.styles = r2`
5267
5268
  border: none;
5268
5269
  border-radius: 100px;
5269
5270
  font-size: 15px;
5270
- font-weight: 600;
5271
- letter-spacing: 0.02em;
5271
+ font-weight: 700;
5272
+ letter-spacing: 0.04em;
5273
+ text-transform: var(--simface-button-text-transform, uppercase);
5272
5274
  cursor: pointer;
5273
5275
  transition: background-color 0.15s, box-shadow 0.15s;
5274
5276
  }
5275
5277
 
5276
5278
  .btn-primary {
5277
- background: #2563eb;
5279
+ background: #00B3D1;
5278
5280
  color: white;
5279
5281
  }
5280
5282
 
5281
5283
  .btn-primary:hover {
5282
- background: #1d4ed8;
5283
- box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
5284
+ background: #009DB8;
5285
+ box-shadow: 0 1px 3px rgba(0, 179, 209, 0.3);
5284
5286
  }
5285
5287
 
5286
5288
  .btn-primary:disabled {
5287
- background: #93c5fd;
5289
+ background: #80D9E8;
5288
5290
  cursor: not-allowed;
5289
5291
  box-shadow: none;
5290
5292
  }
@@ -5310,12 +5312,12 @@ F.styles = r2`
5310
5312
  }
5311
5313
 
5312
5314
  .btn-secondary {
5313
- background: #e5e7eb;
5314
- color: #374151;
5315
+ background: #E0E0E0;
5316
+ color: #212529;
5315
5317
  }
5316
5318
 
5317
5319
  .btn-secondary:hover {
5318
- background: #d1d5db;
5320
+ background: #D0D0D0;
5319
5321
  }
5320
5322
 
5321
5323
  .quality-msg {
@@ -5342,21 +5344,21 @@ F.styles = r2`
5342
5344
  }
5343
5345
 
5344
5346
  .quality-neutral {
5345
- background: #e2e8f0;
5346
- color: #0f172a;
5347
+ background: #E0E0E0;
5348
+ color: #212529;
5347
5349
  }
5348
5350
 
5349
5351
  .quality-manual {
5350
- background: #e0f2fe;
5351
- color: #0f172a;
5352
+ background: #E0F7FB;
5353
+ color: #212529;
5352
5354
  }
5353
5355
 
5354
5356
  .spinner {
5355
5357
  display: inline-block;
5356
5358
  width: 24px;
5357
5359
  height: 24px;
5358
- border: 3px solid #e5e7eb;
5359
- border-top: 3px solid #2563eb;
5360
+ border: 3px solid #E0E0E0;
5361
+ border-top: 3px solid #00B3D1;
5360
5362
  border-radius: 50%;
5361
5363
  animation: spin 0.8s linear infinite;
5362
5364
  margin: 12px auto;
@@ -5438,7 +5440,7 @@ const Vc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5438
5440
  return F;
5439
5441
  }
5440
5442
  }, Symbol.toStringTag, { value: "Module" }));
5441
- async function U2(e, t, r, s) {
5443
+ async function B2(e, t, r, s) {
5442
5444
  const n = new _o(e);
5443
5445
  await n.validateAPIKey();
5444
5446
  const i = await Gc(r, s);
@@ -5447,7 +5449,7 @@ async function U2(e, t, r, s) {
5447
5449
  const o = await n.enroll(t, i);
5448
5450
  return o.alreadyEnrolled, o;
5449
5451
  }
5450
- async function B2(e, t, r, s) {
5452
+ async function U2(e, t, r, s) {
5451
5453
  const n = new _o(e);
5452
5454
  await n.validateAPIKey();
5453
5455
  const i = await Gc(r, s);
@@ -5464,6 +5466,6 @@ export {
5464
5466
  R2 as blobToDataURL,
5465
5467
  Rc as blobToImage,
5466
5468
  Yu as captureFromCamera,
5467
- U2 as enroll,
5468
- B2 as verify
5469
+ B2 as enroll,
5470
+ U2 as verify
5469
5471
  };