interview-widget 2.0.2 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/widget.es.js CHANGED
@@ -1,9 +1,9 @@
1
- var Pl = Object.defineProperty;
2
- var Dl = (e, t, r) => t in e ? Pl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var Ie = (e, t, r) => Dl(e, typeof t != "symbol" ? t + "" : t, r);
4
- import Ol, { createContext as ma, useContext as Jr, useSyncExternalStore as Wn, useRef as R, useCallback as T, useMemo as zr, useEffect as O, useState as A, forwardRef as ga, useImperativeHandle as pa } from "react";
5
- import { createPortal as Bl } from "react-dom";
6
- var xa = { exports: {} }, Ai = {};
1
+ var Dl = Object.defineProperty;
2
+ var Ol = (e, t, r) => t in e ? Dl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var Ie = (e, t, r) => Ol(e, typeof t != "symbol" ? t + "" : t, r);
4
+ import Bl, { createContext as ma, useContext as Jr, useSyncExternalStore as $n, useRef as R, useCallback as j, useMemo as zr, useEffect as P, useState as A, forwardRef as ga, useImperativeHandle as pa } from "react";
5
+ import { createPortal as xa } from "react-dom";
6
+ var ya = { exports: {} }, Ai = {};
7
7
  /**
8
8
  * @license React
9
9
  * react-jsx-runtime.production.js
@@ -14,7 +14,7 @@ var xa = { exports: {} }, Ai = {};
14
14
  * LICENSE file in the root directory of this source tree.
15
15
  */
16
16
  var Ul = Symbol.for("react.transitional.element"), Gl = Symbol.for("react.fragment");
17
- function ya(e, t, r) {
17
+ function ba(e, t, r) {
18
18
  var i = null;
19
19
  if (r !== void 0 && (i = "" + r), t.key !== void 0 && (i = "" + t.key), "key" in t) {
20
20
  r = {};
@@ -30,11 +30,11 @@ function ya(e, t, r) {
30
30
  };
31
31
  }
32
32
  Ai.Fragment = Gl;
33
- Ai.jsx = ya;
34
- Ai.jsxs = ya;
35
- xa.exports = Ai;
36
- var o = xa.exports;
37
- const an = {}, dt = {
33
+ Ai.jsx = ba;
34
+ Ai.jsxs = ba;
35
+ ya.exports = Ai;
36
+ var o = ya.exports;
37
+ const on = {}, dt = {
38
38
  api: {
39
39
  baseUrl: "/api",
40
40
  retryConfig: {
@@ -66,28 +66,28 @@ const an = {}, dt = {
66
66
  gazeAnalysisEnabled: !0
67
67
  }
68
68
  }
69
- }, zn = "iw-storage";
69
+ }, Wn = "iw-storage";
70
70
  function Vl() {
71
- if (!(typeof import.meta < "u" && (an != null && an.VITE_IW_SECRET)))
71
+ if (!(typeof import.meta < "u" && (on != null && on.VITE_IW_SECRET)))
72
72
  return typeof process < "u" && process.env.NEXT_PUBLIC_IW_SECRET ? process.env.NEXT_PUBLIC_IW_SECRET : typeof window < "u" && window.__IW_SECRET__ ? window.__IW_SECRET__ : "proctoring-data-seed";
73
73
  }
74
- const ba = Vl(), Ti = 30, $l = {
74
+ const va = Vl(), ji = 30, $l = {
75
75
  SCREENSHOT: "screenshot"
76
- }, Hn = "AES-GCM", _n = 12;
77
- async function va(e) {
76
+ }, zn = "AES-GCM", vn = 12;
77
+ async function _a(e) {
78
78
  const r = new TextEncoder().encode(e), i = await crypto.subtle.digest("SHA-256", r);
79
- return crypto.subtle.importKey("raw", i, Hn, !1, [
79
+ return crypto.subtle.importKey("raw", i, zn, !1, [
80
80
  "encrypt",
81
81
  "decrypt"
82
82
  ]);
83
83
  }
84
84
  function Wl() {
85
- return crypto.getRandomValues(new Uint8Array(_n));
85
+ return crypto.getRandomValues(new Uint8Array(vn));
86
86
  }
87
87
  async function zl(e, t = "default-seed") {
88
88
  try {
89
- const r = typeof e == "string" ? e : JSON.stringify(e), n = new TextEncoder().encode(r), s = await va(t), a = Wl(), c = await crypto.subtle.encrypt(
90
- { name: Hn, iv: a },
89
+ const r = typeof e == "string" ? e : JSON.stringify(e), n = new TextEncoder().encode(r), s = await _a(t), a = Wl(), c = await crypto.subtle.encrypt(
90
+ { name: zn, iv: a },
91
91
  s,
92
92
  n
93
93
  ), l = new Uint8Array(a.length + c.byteLength);
@@ -101,8 +101,8 @@ async function Hl(e, t = "default-seed") {
101
101
  const r = atob(e), i = new Uint8Array(r.length);
102
102
  for (let u = 0; u < r.length; u++)
103
103
  i[u] = r.charCodeAt(u);
104
- const n = i.slice(0, _n), s = i.slice(_n), a = await va(t), c = await crypto.subtle.decrypt(
105
- { name: Hn, iv: n },
104
+ const n = i.slice(0, vn), s = i.slice(vn), a = await _a(t), c = await crypto.subtle.decrypt(
105
+ { name: zn, iv: n },
106
106
  a,
107
107
  s
108
108
  );
@@ -124,9 +124,9 @@ async function Yl(e, t = "default-seed") {
124
124
  }
125
125
  const Zr = ma(null), Kl = async () => {
126
126
  try {
127
- const e = sessionStorage.getItem(zn);
127
+ const e = sessionStorage.getItem(Wn);
128
128
  if (e) {
129
- const r = (await Yl(e, ba)).state;
129
+ const r = (await Yl(e, va)).state;
130
130
  return {
131
131
  logViolations: (r == null ? void 0 : r.logViolations) || [],
132
132
  totalViolations: (r == null ? void 0 : r.totalViolations) || 0,
@@ -170,9 +170,9 @@ const Zr = ma(null), Kl = async () => {
170
170
  state: e,
171
171
  version: 0
172
172
  },
173
- ba
173
+ va
174
174
  );
175
- sessionStorage.setItem(zn, t);
175
+ sessionStorage.setItem(Wn, t);
176
176
  } catch (t) {
177
177
  console.error("Failed to save proctoring data to session storage:", t);
178
178
  }
@@ -191,16 +191,16 @@ const Zr = ma(null), Kl = async () => {
191
191
  referenceSet: !1,
192
192
  referenceRef: { x: 0.5, y: 0.5, noseX: 0.5, noseY: 0.5 }
193
193
  }), r = R(/* @__PURE__ */ new Set());
194
- Ol.useEffect(() => {
194
+ Bl.useEffect(() => {
195
195
  Kl().then((f) => {
196
196
  t.current = f, i();
197
197
  });
198
198
  }, []);
199
- const i = T(() => {
199
+ const i = j(() => {
200
200
  r.current.forEach((f) => f());
201
- }, []), n = T((f) => (r.current.add(f), () => {
201
+ }, []), n = j((f) => (r.current.add(f), () => {
202
202
  r.current.delete(f);
203
- }), []), s = T(() => t.current, []), a = T(
203
+ }), []), s = j(() => t.current, []), a = j(
204
204
  (f) => {
205
205
  t.current = {
206
206
  ...t.current,
@@ -209,7 +209,7 @@ const Zr = ma(null), Kl = async () => {
209
209
  }, Fr(t.current), i();
210
210
  },
211
211
  [i]
212
- ), c = T(
212
+ ), c = j(
213
213
  (f) => {
214
214
  const w = { ...t.current.gazeViolationCounters };
215
215
  f === "looking_away" && (w.lookingAwayCount += 1), f === "no_face_detected" && (w.noFaceDetectedCount += 1), f === "multiple_faces" && (w.multipleFacesCount += 1), w.totalGazeViolations = w.lookingAwayCount + w.noFaceDetectedCount + w.multipleFacesCount, t.current = {
@@ -218,13 +218,13 @@ const Zr = ma(null), Kl = async () => {
218
218
  }, Fr(t.current), i();
219
219
  },
220
220
  [i]
221
- ), l = T(() => {
221
+ ), l = j(() => {
222
222
  t.current = {
223
223
  ...t.current,
224
224
  logViolations: [],
225
225
  totalViolations: 0
226
226
  }, Fr(t.current), i();
227
- }, [i]), u = T(() => {
227
+ }, [i]), u = j(() => {
228
228
  t.current = {
229
229
  ...t.current,
230
230
  gazeViolationCounters: {
@@ -234,7 +234,7 @@ const Zr = ma(null), Kl = async () => {
234
234
  totalGazeViolations: 0
235
235
  }
236
236
  }, Fr(t.current), i();
237
- }, [i]), d = T(
237
+ }, [i]), d = j(
238
238
  (f, w) => {
239
239
  t.current = {
240
240
  ...t.current,
@@ -264,13 +264,13 @@ const Zr = ma(null), Kl = async () => {
264
264
  ]
265
265
  );
266
266
  return /* @__PURE__ */ o.jsx(Zr.Provider, { value: h, children: e });
267
- }, _a = () => {
267
+ }, ka = () => {
268
268
  const e = Jr(Zr);
269
269
  if (!e)
270
270
  throw new Error(
271
271
  "useProctoringStore must be used within a ProctoringProvider"
272
272
  );
273
- const t = Wn(
273
+ const t = $n(
274
274
  e.subscribe,
275
275
  // how React listens for changes
276
276
  e.getState,
@@ -294,7 +294,7 @@ const Zr = ma(null), Kl = async () => {
294
294
  const e = Jr(Zr);
295
295
  if (!e)
296
296
  throw new Error("useViolations must be used within a ProctoringProvider");
297
- return Wn(
297
+ return $n(
298
298
  e.subscribe,
299
299
  () => e.getState().logViolations,
300
300
  () => e.getState().logViolations
@@ -305,7 +305,7 @@ const Zr = ma(null), Kl = async () => {
305
305
  throw new Error(
306
306
  "useTotalViolations must be used within a ProctoringProvider"
307
307
  );
308
- return Wn(
308
+ return $n(
309
309
  e.subscribe,
310
310
  () => e.getState().totalViolations,
311
311
  () => e.getState().totalViolations
@@ -320,7 +320,7 @@ const Zr = ma(null), Kl = async () => {
320
320
  addViolation: e.addViolation,
321
321
  clearViolations: e.clearViolations
322
322
  };
323
- }, ka = ma(
323
+ }, Ea = ma(
324
324
  null
325
325
  );
326
326
  function eu({
@@ -358,26 +358,26 @@ function eu({
358
358
  }
359
359
  }
360
360
  };
361
- return /* @__PURE__ */ o.jsx(ka.Provider, { value: r, children: /* @__PURE__ */ o.jsx(Xl, { children: t }) });
361
+ return /* @__PURE__ */ o.jsx(Ea.Provider, { value: r, children: /* @__PURE__ */ o.jsx(Xl, { children: t }) });
362
362
  }
363
- function ji() {
364
- const e = Jr(ka);
363
+ function Ti() {
364
+ const e = Jr(Ea);
365
365
  if (!e)
366
366
  throw new Error(
367
367
  "useInterviewConfig must be used within an InterviewWidgetProvider. Wrap your component tree with <InterviewWidgetProvider config={...}>"
368
368
  );
369
369
  return e;
370
370
  }
371
- function Ea() {
372
- return ji().api || dt.api;
371
+ function Aa() {
372
+ return Ti().api || dt.api;
373
373
  }
374
374
  function _r() {
375
- return ji().ui || dt.ui;
375
+ return Ti().ui || dt.ui;
376
376
  }
377
- function qn() {
378
- return ji().interview || dt.interview;
377
+ function Hn() {
378
+ return Ti().interview || dt.interview;
379
379
  }
380
- const Aa = ({
380
+ const ja = ({
381
381
  className: e,
382
382
  ...t
383
383
  }) => /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsxs(
@@ -434,7 +434,7 @@ const Aa = ({
434
434
  disabled: s || n,
435
435
  ...c,
436
436
  children: [
437
- n && /* @__PURE__ */ o.jsx(Aa, { height: 16, width: 16, style: { marginRight: "3px" } }),
437
+ n && /* @__PURE__ */ o.jsx(ja, { height: 16, width: 16, style: { marginRight: "3px" } }),
438
438
  e
439
439
  ]
440
440
  }
@@ -454,7 +454,7 @@ function ru(e, t, r) {
454
454
  return n.length === 1 ? "0" + n : n;
455
455
  }).join("");
456
456
  }
457
- function ja(e, t) {
457
+ function Na(e, t) {
458
458
  const r = tu(e);
459
459
  if (!r) return e;
460
460
  const i = r.r + (255 - r.r) * t, n = r.g + (255 - r.g) * t, s = r.b + (255 - r.b) * t;
@@ -462,15 +462,15 @@ function ja(e, t) {
462
462
  }
463
463
  function iu(e, t = 0.8) {
464
464
  return {
465
- background: `linear-gradient(to bottom, ${ja(e, t)}, #ffffff)`,
465
+ background: `linear-gradient(to bottom, ${Na(e, t)}, #ffffff)`,
466
466
  color: "#1f2937"
467
467
  };
468
468
  }
469
469
  function nu(e) {
470
470
  return new Promise((t) => setTimeout(t, e));
471
471
  }
472
- function Na(e) {
473
- return `linear-gradient(to left, ${ja(e, 0.4)}, ${e})`;
472
+ function Sa(e) {
473
+ return `linear-gradient(to left, ${Na(e, 0.4)}, ${e})`;
474
474
  }
475
475
  const su = () => Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
476
476
  function ou(e) {
@@ -490,7 +490,7 @@ function ou(e) {
490
490
  const au = (e) => {
491
491
  var t;
492
492
  return !e || typeof e != "string" ? "" : (t = e.charAt(0)) == null ? void 0 : t.toUpperCase();
493
- }, Sa = (e) => /* @__PURE__ */ o.jsxs(
493
+ }, Ca = (e) => /* @__PURE__ */ o.jsxs(
494
494
  "svg",
495
495
  {
496
496
  xmlns: "http://www.w3.org/2000/svg",
@@ -508,7 +508,7 @@ const au = (e) => {
508
508
  /* @__PURE__ */ o.jsx("path", { d: "m9 12 2 2 4-4" })
509
509
  ]
510
510
  }
511
- ), Ca = (e) => /* @__PURE__ */ o.jsxs(
511
+ ), Ia = (e) => /* @__PURE__ */ o.jsxs(
512
512
  "svg",
513
513
  {
514
514
  xmlns: "http://www.w3.org/2000/svg",
@@ -552,14 +552,14 @@ const au = (e) => {
552
552
  Ta,
553
553
  {
554
554
  style: {
555
- background: Na(t),
555
+ background: Sa(t),
556
556
  borderRadius: r
557
557
  },
558
558
  ...s,
559
- children: i ? /* @__PURE__ */ o.jsx(Aa, {}) : n
559
+ children: i ? /* @__PURE__ */ o.jsx(ja, {}) : n
560
560
  }
561
561
  );
562
- }, Ni = ({
562
+ }, qn = ({
563
563
  isOpen: e,
564
564
  onClose: t,
565
565
  children: r,
@@ -569,13 +569,13 @@ const au = (e) => {
569
569
  closeOnEscape: a = !0,
570
570
  className: c = ""
571
571
  }) => {
572
- if (O(() => {
572
+ if (P(() => {
573
573
  if (!e || !a) return;
574
574
  const d = (h) => {
575
575
  h.key === "Escape" && t();
576
576
  };
577
577
  return document.addEventListener("keydown", d), () => document.removeEventListener("keydown", d);
578
- }, [e, a, t]), O(() => (e ? (document.body.style.overflow = "hidden", document.body.classList.add("interview-widget-container")) : (document.body.style.overflow = "unset", document.body.classList.remove("interview-widget-container")), () => {
578
+ }, [e, a, t]), P(() => (e ? (document.body.style.overflow = "hidden", document.body.classList.add("interview-widget-container")) : (document.body.style.overflow = "unset", document.body.classList.remove("interview-widget-container")), () => {
579
579
  document.body.style.overflow = "unset", document.body.classList.remove("interview-widget-container");
580
580
  }), [e]), !e) return null;
581
581
  const l = (d) => {
@@ -637,7 +637,7 @@ const au = (e) => {
637
637
  }
638
638
  )
639
639
  ] });
640
- return Bl(u, document.body);
640
+ return xa(u, document.body);
641
641
  }, lu = (e) => /* @__PURE__ */ o.jsxs(
642
642
  "svg",
643
643
  {
@@ -677,7 +677,7 @@ function du({
677
677
  onContinue: r
678
678
  }) {
679
679
  return /* @__PURE__ */ o.jsx(
680
- Ni,
680
+ qn,
681
681
  {
682
682
  isOpen: e,
683
683
  showCloseButton: !1,
@@ -984,8 +984,8 @@ class wu {
984
984
  );
985
985
  }
986
986
  }
987
- function Ia() {
988
- const e = ji();
987
+ function Ra() {
988
+ const e = Ti();
989
989
  return zr(() => {
990
990
  const r = e.api || {};
991
991
  return new wu(r);
@@ -1050,7 +1050,7 @@ const Gr = (e) => /* @__PURE__ */ o.jsxs(
1050
1050
  /* @__PURE__ */ o.jsx("circle", { cx: "12", cy: "12", r: "10" })
1051
1051
  ]
1052
1052
  }
1053
- ), Ra = (e) => /* @__PURE__ */ o.jsxs(
1053
+ ), Ma = (e) => /* @__PURE__ */ o.jsxs(
1054
1054
  "svg",
1055
1055
  {
1056
1056
  xmlns: "http://www.w3.org/2000/svg",
@@ -1089,7 +1089,7 @@ const Gr = (e) => /* @__PURE__ */ o.jsxs(
1089
1089
  /* @__PURE__ */ o.jsx("path", { d: "M7 21H5a2 2 0 0 1-2-2v-2" })
1090
1090
  ]
1091
1091
  }
1092
- ), cn = (e) => /* @__PURE__ */ o.jsxs(
1092
+ ), an = (e) => /* @__PURE__ */ o.jsxs(
1093
1093
  "svg",
1094
1094
  {
1095
1095
  xmlns: "http://www.w3.org/2000/svg",
@@ -1208,7 +1208,7 @@ const Gr = (e) => /* @__PURE__ */ o.jsxs(
1208
1208
  CAMERA_ERROR: "camera_error"
1209
1209
  }, _u = {
1210
1210
  [Pr.FACE_DETECTED]: {
1211
- icon: Ra,
1211
+ icon: Ma,
1212
1212
  iconColor: "iw-text-green-600",
1213
1213
  iconBg: "iw-bg-green-50",
1214
1214
  iconBorder: "iw-border-green-100",
@@ -1266,7 +1266,7 @@ function ku({
1266
1266
  const i = _u[r], n = i.icon, s = () => {
1267
1267
  t();
1268
1268
  };
1269
- return r === "face_detected" ? null : /* @__PURE__ */ o.jsx(Ni, { isOpen: e, onClose: t, children: e && /* @__PURE__ */ o.jsx("div", { className: "iw-bg-white iw-border-white iw-border iw-p-0 iw-shadow-lg sm:iw-max-w-md", children: /* @__PURE__ */ o.jsxs("div", { children: [
1269
+ return r === "face_detected" ? null : /* @__PURE__ */ o.jsx(qn, { isOpen: e, onClose: t, children: e && /* @__PURE__ */ o.jsx("div", { className: "iw-bg-white iw-border-white iw-border iw-p-0 iw-shadow-lg sm:iw-max-w-md", children: /* @__PURE__ */ o.jsxs("div", { children: [
1270
1270
  /* @__PURE__ */ o.jsx("div", { className: "iw-sr-only", children: i.description }),
1271
1271
  /* @__PURE__ */ o.jsxs("div", { className: "iw-px-8 iw-py-8 iw-text-center", children: [
1272
1272
  /* @__PURE__ */ o.jsx(
@@ -1480,12 +1480,12 @@ function Ht() {
1480
1480
  function to(e, t) {
1481
1481
  return t = String.fromCharCode.apply(null, t), e == null ? t : e + t;
1482
1482
  }
1483
- let ai, ln;
1484
- const Tu = typeof TextDecoder < "u";
1485
- let ju;
1483
+ let ai, cn;
1484
+ const ju = typeof TextDecoder < "u";
1485
+ let Tu;
1486
1486
  const Nu = typeof TextEncoder < "u";
1487
- function Ma(e) {
1488
- if (Nu) e = (ju || (ju = new TextEncoder())).encode(e);
1487
+ function La(e) {
1488
+ if (Nu) e = (Tu || (Tu = new TextEncoder())).encode(e);
1489
1489
  else {
1490
1490
  let r = 0;
1491
1491
  const i = new Uint8Array(3 * e.length);
@@ -1517,16 +1517,16 @@ function Ma(e) {
1517
1517
  }
1518
1518
  var Kn, yi;
1519
1519
  e: {
1520
- for (var ro = ["CLOSURE_FLAGS"], un = dr, dn = 0; dn < ro.length; dn++) if ((un = un[ro[dn]]) == null) {
1520
+ for (var ro = ["CLOSURE_FLAGS"], ln = dr, un = 0; un < ro.length; un++) if ((ln = ln[ro[un]]) == null) {
1521
1521
  yi = null;
1522
1522
  break e;
1523
1523
  }
1524
- yi = un;
1524
+ yi = ln;
1525
1525
  }
1526
1526
  var Hr, io = yi && yi[610401301];
1527
1527
  Kn = io != null && io;
1528
1528
  const no = dr.navigator;
1529
- function kn(e) {
1529
+ function _n(e) {
1530
1530
  return !!Kn && !!Hr && Hr.brands.some(({ brand: t }) => t && t.indexOf(e) != -1);
1531
1531
  }
1532
1532
  function Ye(e) {
@@ -1536,17 +1536,17 @@ function Ye(e) {
1536
1536
  function Ct() {
1537
1537
  return !!Kn && !!Hr && Hr.brands.length > 0;
1538
1538
  }
1539
- function hn() {
1540
- return Ct() ? kn("Chromium") : (Ye("Chrome") || Ye("CriOS")) && !(!Ct() && Ye("Edge")) || Ye("Silk");
1539
+ function dn() {
1540
+ return Ct() ? _n("Chromium") : (Ye("Chrome") || Ye("CriOS")) && !(!Ct() && Ye("Edge")) || Ye("Silk");
1541
1541
  }
1542
- function Si(e) {
1543
- return Si[" "](e), e;
1542
+ function Ni(e) {
1543
+ return Ni[" "](e), e;
1544
1544
  }
1545
- Hr = no && no.userAgentData || null, Si[" "] = function() {
1545
+ Hr = no && no.userAgentData || null, Ni[" "] = function() {
1546
1546
  };
1547
1547
  var Su = !Ct() && (Ye("Trident") || Ye("MSIE"));
1548
- !Ye("Android") || hn(), hn(), Ye("Safari") && (hn() || !Ct() && Ye("Coast") || !Ct() && Ye("Opera") || !Ct() && Ye("Edge") || (Ct() ? kn("Microsoft Edge") : Ye("Edg/")) || Ct() && kn("Opera"));
1549
- var La = {}, Br = null;
1548
+ !Ye("Android") || dn(), dn(), Ye("Safari") && (dn() || !Ct() && Ye("Coast") || !Ct() && Ye("Opera") || !Ct() && Ye("Edge") || (Ct() ? _n("Microsoft Edge") : Ye("Edg/")) || Ct() && _n("Opera"));
1549
+ var Fa = {}, Br = null;
1550
1550
  function Cu(e) {
1551
1551
  const t = e.length;
1552
1552
  let r = 3 * t / 4;
@@ -1562,7 +1562,7 @@ function Cu(e) {
1562
1562
  }
1563
1563
  return u;
1564
1564
  }
1565
- Fa();
1565
+ Pa();
1566
1566
  let l = 0;
1567
1567
  for (; ; ) {
1568
1568
  const u = c(-1), d = c(0), h = c(64), f = c(64);
@@ -1573,13 +1573,13 @@ function Cu(e) {
1573
1573
  i[n++] = s;
1574
1574
  }), n !== r ? i.subarray(0, n) : i;
1575
1575
  }
1576
- function Fa() {
1576
+ function Pa() {
1577
1577
  if (!Br) {
1578
1578
  Br = {};
1579
1579
  var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), t = ["+/=", "+/", "-_=", "-_.", "-_"];
1580
1580
  for (let r = 0; r < 5; r++) {
1581
1581
  const i = e.concat(t[r].split(""));
1582
- La[r] = i;
1582
+ Fa[r] = i;
1583
1583
  for (let n = 0; n < i.length; n++) {
1584
1584
  const s = i[n];
1585
1585
  Br[s] === void 0 && (Br[s] = n);
@@ -1587,11 +1587,11 @@ function Fa() {
1587
1587
  }
1588
1588
  }
1589
1589
  }
1590
- var Pa = typeof Uint8Array < "u", Da = !Su && typeof btoa == "function";
1590
+ var Da = typeof Uint8Array < "u", Oa = !Su && typeof btoa == "function";
1591
1591
  function so(e) {
1592
- if (!Da) {
1592
+ if (!Oa) {
1593
1593
  var t;
1594
- t === void 0 && (t = 0), Fa(), t = La[t];
1594
+ t === void 0 && (t = 0), Pa(), t = Fa[t];
1595
1595
  var r = Array(Math.floor(e.length / 3)), i = t[64] || "";
1596
1596
  let l = 0, u = 0;
1597
1597
  for (; l < e.length - 2; l += 3) {
@@ -1613,82 +1613,82 @@ const oo = /[-_.]/g, Iu = { "-": "+", _: "/", ".": "=" };
1613
1613
  function Ru(e) {
1614
1614
  return Iu[e] || "";
1615
1615
  }
1616
- function Oa(e) {
1617
- if (!Da) return Cu(e);
1616
+ function Ba(e) {
1617
+ if (!Oa) return Cu(e);
1618
1618
  oo.test(e) && (e = e.replace(oo, Ru)), e = atob(e);
1619
1619
  const t = new Uint8Array(e.length);
1620
1620
  for (let r = 0; r < e.length; r++) t[r] = e.charCodeAt(r);
1621
1621
  return t;
1622
1622
  }
1623
1623
  function Zt(e) {
1624
- return Pa && e != null && e instanceof Uint8Array;
1624
+ return Da && e != null && e instanceof Uint8Array;
1625
1625
  }
1626
1626
  var hr = {};
1627
1627
  function er() {
1628
1628
  return Mu || (Mu = new bt(null, hr));
1629
1629
  }
1630
1630
  function Xn(e) {
1631
- Ba(hr);
1631
+ Ua(hr);
1632
1632
  var t = e.g;
1633
- return (t = t == null || Zt(t) ? t : typeof t == "string" ? Oa(t) : null) == null ? t : e.g = t;
1633
+ return (t = t == null || Zt(t) ? t : typeof t == "string" ? Ba(t) : null) == null ? t : e.g = t;
1634
1634
  }
1635
1635
  var bt = class {
1636
1636
  h() {
1637
1637
  return new Uint8Array(Xn(this) || 0);
1638
1638
  }
1639
1639
  constructor(e, t) {
1640
- if (Ba(t), this.g = e, e != null && e.length === 0) throw Error("ByteString should be constructed with non-empty values");
1640
+ if (Ua(t), this.g = e, e != null && e.length === 0) throw Error("ByteString should be constructed with non-empty values");
1641
1641
  }
1642
1642
  };
1643
1643
  let Mu, Lu;
1644
- function Ba(e) {
1644
+ function Ua(e) {
1645
1645
  if (e !== hr) throw Error("illegal external caller");
1646
1646
  }
1647
- function Ua(e, t) {
1647
+ function Ga(e, t) {
1648
1648
  e.__closure__error__context__984382 || (e.__closure__error__context__984382 = {}), e.__closure__error__context__984382.severity = t;
1649
1649
  }
1650
- function En(e) {
1651
- return Ua(e = Error(e), "warning"), e;
1650
+ function kn(e) {
1651
+ return Ga(e = Error(e), "warning"), e;
1652
1652
  }
1653
1653
  function Qn(e) {
1654
1654
  if (e != null) {
1655
1655
  var t = Lu ?? (Lu = {}), r = t[e] || 0;
1656
- r >= 5 || (t[e] = r + 1, Ua(e = Error(), "incident"), function(i) {
1656
+ r >= 5 || (t[e] = r + 1, Ga(e = Error(), "incident"), function(i) {
1657
1657
  dr.setTimeout(() => {
1658
1658
  throw i;
1659
1659
  }, 0);
1660
1660
  }(e));
1661
1661
  }
1662
1662
  }
1663
- var Ci = typeof Symbol == "function" && typeof Symbol() == "symbol";
1663
+ var Si = typeof Symbol == "function" && typeof Symbol() == "symbol";
1664
1664
  function kr(e, t, r = !1) {
1665
1665
  return typeof Symbol == "function" && typeof Symbol() == "symbol" ? r && Symbol.for && e ? Symbol.for(e) : e != null ? Symbol(e) : Symbol() : t;
1666
1666
  }
1667
- var Fu = kr("jas", void 0, !0), ao = kr(void 0, "0di"), Dr = kr(void 0, "1oa"), fr = kr(void 0, Symbol()), Pu = kr(void 0, "0actk"), Ga = kr(void 0, "8utk");
1668
- const k = Ci ? Fu : "Ea", Va = { Ea: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, $a = Object.defineProperties;
1669
- function Ii(e, t) {
1670
- Ci || k in e || $a(e, Va), e[k] |= t;
1667
+ var Fu = kr("jas", void 0, !0), ao = kr(void 0, "0di"), Dr = kr(void 0, "1oa"), fr = kr(void 0, Symbol()), Pu = kr(void 0, "0actk"), Va = kr(void 0, "8utk");
1668
+ const k = Si ? Fu : "Ea", $a = { Ea: { value: 0, configurable: !0, writable: !0, enumerable: !1 } }, Wa = Object.defineProperties;
1669
+ function Ci(e, t) {
1670
+ Si || k in e || Wa(e, $a), e[k] |= t;
1671
1671
  }
1672
1672
  function ue(e, t) {
1673
- Ci || k in e || $a(e, Va), e[k] = t;
1673
+ Si || k in e || Wa(e, $a), e[k] = t;
1674
1674
  }
1675
1675
  function Er(e) {
1676
- return Ii(e, 34), e;
1676
+ return Ci(e, 34), e;
1677
1677
  }
1678
1678
  function Du(e, t) {
1679
1679
  ue(t, -15615 & (0 | e));
1680
1680
  }
1681
- function An(e, t) {
1681
+ function En(e, t) {
1682
1682
  ue(t, -15581 & (34 | e));
1683
1683
  }
1684
- function Ri() {
1684
+ function Ii() {
1685
1685
  return typeof BigInt == "function";
1686
1686
  }
1687
1687
  function Ne(e) {
1688
1688
  return Array.prototype.slice.call(e);
1689
1689
  }
1690
1690
  var Jn, ei = {};
1691
- function Mi(e) {
1691
+ function Ri(e) {
1692
1692
  return e !== null && typeof e == "object" && !Array.isArray(e) && e.constructor === Object;
1693
1693
  }
1694
1694
  function Zn(e, t) {
@@ -1723,19 +1723,19 @@ function es(e) {
1723
1723
  return fr ? e[fr] : void 0;
1724
1724
  }
1725
1725
  var Ou = Object.freeze({});
1726
- function Li(e) {
1726
+ function Mi(e) {
1727
1727
  return e.Na = !0, e;
1728
1728
  }
1729
- var Bu = Li((e) => typeof e == "number"), uo = Li((e) => typeof e == "string"), Uu = Li((e) => typeof e == "boolean"), Fi = typeof dr.BigInt == "function" && typeof dr.BigInt(0) == "bigint";
1729
+ var Bu = Mi((e) => typeof e == "number"), uo = Mi((e) => typeof e == "string"), Uu = Mi((e) => typeof e == "boolean"), Li = typeof dr.BigInt == "function" && typeof dr.BigInt(0) == "bigint";
1730
1730
  function Rt(e) {
1731
1731
  var t = e;
1732
1732
  if (uo(t)) {
1733
1733
  if (!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(t)) throw Error(String(t));
1734
1734
  } else if (Bu(t) && !Number.isSafeInteger(t)) throw Error(String(t));
1735
- return Fi ? BigInt(e) : e = Uu(e) ? e ? "1" : "0" : uo(e) ? e.trim() || "0" : String(e);
1735
+ return Li ? BigInt(e) : e = Uu(e) ? e ? "1" : "0" : uo(e) ? e.trim() || "0" : String(e);
1736
1736
  }
1737
- var Tn = Li((e) => Fi ? e >= Vu && e <= Wu : e[0] === "-" ? ho(e, Gu) : ho(e, $u));
1738
- const Gu = Number.MIN_SAFE_INTEGER.toString(), Vu = Fi ? BigInt(Number.MIN_SAFE_INTEGER) : void 0, $u = Number.MAX_SAFE_INTEGER.toString(), Wu = Fi ? BigInt(Number.MAX_SAFE_INTEGER) : void 0;
1737
+ var An = Mi((e) => Li ? e >= Vu && e <= Wu : e[0] === "-" ? ho(e, Gu) : ho(e, $u));
1738
+ const Gu = Number.MIN_SAFE_INTEGER.toString(), Vu = Li ? BigInt(Number.MIN_SAFE_INTEGER) : void 0, $u = Number.MAX_SAFE_INTEGER.toString(), Wu = Li ? BigInt(Number.MAX_SAFE_INTEGER) : void 0;
1739
1739
  function ho(e, t) {
1740
1740
  if (e.length > t.length) return !1;
1741
1741
  if (e.length < t.length || e === t) return !0;
@@ -1746,7 +1746,7 @@ function ho(e, t) {
1746
1746
  }
1747
1747
  }
1748
1748
  const zu = typeof Uint8Array.prototype.slice == "function";
1749
- let Wa, z = 0, ne = 0;
1749
+ let za, z = 0, ne = 0;
1750
1750
  function fo(e) {
1751
1751
  const t = e >>> 0;
1752
1752
  z = t, ne = (e - t) / 4294967296 >>> 0;
@@ -1759,7 +1759,7 @@ function tr(e) {
1759
1759
  } else fo(e);
1760
1760
  }
1761
1761
  function ts(e) {
1762
- const t = Wa || (Wa = new DataView(new ArrayBuffer(8)));
1762
+ const t = za || (za = new DataView(new ArrayBuffer(8)));
1763
1763
  t.setFloat32(0, +e, !0), ne = 0, z = t.getUint32(0, !0);
1764
1764
  }
1765
1765
  function rs(e, t) {
@@ -1772,15 +1772,15 @@ function is(e, t) {
1772
1772
  }
1773
1773
  function qr(e, t) {
1774
1774
  if (e >>>= 0, (t >>>= 0) <= 2097151) var r = "" + (4294967296 * t + e);
1775
- else Ri() ? 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 + wo(r) + wo(e));
1775
+ else Ii() ? 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 + wo(r) + wo(e));
1776
1776
  return r;
1777
1777
  }
1778
1778
  function wo(e) {
1779
1779
  return e = String(e), "0000000".slice(e.length) + e;
1780
1780
  }
1781
- function za() {
1781
+ function Ha() {
1782
1782
  var e = z, t = ne;
1783
- if (2147483648 & t) if (Ri()) e = "" + (BigInt(0 | t) << BigInt(32) | BigInt(e >>> 0));
1783
+ if (2147483648 & t) if (Ii()) e = "" + (BigInt(0 | t) << BigInt(32) | BigInt(e >>> 0));
1784
1784
  else {
1785
1785
  const [r, i] = ns(e, t);
1786
1786
  e = "-" + qr(r, i);
@@ -1788,9 +1788,9 @@ function za() {
1788
1788
  else e = qr(e, t);
1789
1789
  return e;
1790
1790
  }
1791
- function Pi(e) {
1791
+ function Fi(e) {
1792
1792
  if (e.length < 16) tr(Number(e));
1793
- else if (Ri()) e = BigInt(e), z = Number(e & BigInt(4294967295)) >>> 0, ne = Number(e >> BigInt(32) & BigInt(4294967295));
1793
+ else if (Ii()) e = BigInt(e), z = Number(e & BigInt(4294967295)) >>> 0, ne = Number(e >> BigInt(32) & BigInt(4294967295));
1794
1794
  else {
1795
1795
  const t = +(e[0] === "-");
1796
1796
  ne = z = 0;
@@ -1808,11 +1808,11 @@ function Pi(e) {
1808
1808
  function ns(e, t) {
1809
1809
  return t = ~t, e ? e = 1 + ~e : t += 1, [e, t];
1810
1810
  }
1811
- const Yr = typeof BigInt == "function" ? BigInt.asIntN : void 0, Hu = typeof BigInt == "function" ? BigInt.asUintN : void 0, Mt = Number.isSafeInteger, Di = Number.isFinite, wr = Math.trunc, qu = Rt(0);
1811
+ const Yr = typeof BigInt == "function" ? BigInt.asIntN : void 0, Hu = typeof BigInt == "function" ? BigInt.asUintN : void 0, Mt = Number.isSafeInteger, Pi = Number.isFinite, wr = Math.trunc, qu = Rt(0);
1812
1812
  function Bt(e) {
1813
1813
  return e == null || typeof e == "number" ? e : e === "NaN" || e === "Infinity" || e === "-Infinity" ? Number(e) : void 0;
1814
1814
  }
1815
- function Ha(e) {
1815
+ function qa(e) {
1816
1816
  return e == null || typeof e == "boolean" ? e : typeof e == "number" ? !!e : void 0;
1817
1817
  }
1818
1818
  const Yu = /^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;
@@ -1821,7 +1821,7 @@ function Kr(e) {
1821
1821
  case "bigint":
1822
1822
  return !0;
1823
1823
  case "number":
1824
- return Di(e);
1824
+ return Pi(e);
1825
1825
  case "string":
1826
1826
  return Yu.test(e);
1827
1827
  default:
@@ -1832,36 +1832,36 @@ function Ar(e) {
1832
1832
  if (e == null) return e;
1833
1833
  if (typeof e == "string" && e) e = +e;
1834
1834
  else if (typeof e != "number") return;
1835
- return Di(e) ? 0 | e : void 0;
1835
+ return Pi(e) ? 0 | e : void 0;
1836
1836
  }
1837
- function qa(e) {
1837
+ function Ya(e) {
1838
1838
  if (e == null) return e;
1839
1839
  if (typeof e == "string" && e) e = +e;
1840
1840
  else if (typeof e != "number") return;
1841
- return Di(e) ? e >>> 0 : void 0;
1841
+ return Pi(e) ? e >>> 0 : void 0;
1842
1842
  }
1843
1843
  function mo(e) {
1844
1844
  if (e[0] === "-") return !1;
1845
1845
  const t = e.length;
1846
1846
  return t < 20 || t === 20 && Number(e.substring(0, 6)) < 184467;
1847
1847
  }
1848
- function Ya(e) {
1848
+ function Ka(e) {
1849
1849
  const t = e.length;
1850
1850
  return e[0] === "-" ? t < 20 || t === 20 && Number(e.substring(0, 7)) > -922337 : t < 19 || t === 19 && Number(e.substring(0, 6)) < 922337;
1851
1851
  }
1852
- function Ka(e) {
1853
- return Ya(e) ? e : (Pi(e), za());
1852
+ function Xa(e) {
1853
+ return Ka(e) ? e : (Fi(e), Ha());
1854
1854
  }
1855
1855
  function ss(e) {
1856
1856
  return e = wr(e), Mt(e) || (tr(e), e = is(z, ne)), e;
1857
1857
  }
1858
- function Xa(e) {
1858
+ function Qa(e) {
1859
1859
  var t = wr(Number(e));
1860
- return Mt(t) ? String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Ka(e));
1860
+ return Mt(t) ? String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Xa(e));
1861
1861
  }
1862
1862
  function go(e) {
1863
1863
  var t = wr(Number(e));
1864
- return Mt(t) ? Rt(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Ri() ? Rt(Yr(64, BigInt(e))) : Rt(Ka(e)));
1864
+ return Mt(t) ? Rt(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), Ii() ? Rt(Yr(64, BigInt(e))) : Rt(Xa(e)));
1865
1865
  }
1866
1866
  function po(e) {
1867
1867
  if (Mt(e)) e = Rt(ss(e));
@@ -1869,21 +1869,21 @@ function po(e) {
1869
1869
  if (e = wr(e), Mt(e)) e = String(e);
1870
1870
  else {
1871
1871
  const t = String(e);
1872
- Ya(t) ? e = t : (tr(e), e = za());
1872
+ Ka(t) ? e = t : (tr(e), e = Ha());
1873
1873
  }
1874
1874
  e = Rt(e);
1875
1875
  }
1876
1876
  return e;
1877
1877
  }
1878
1878
  function jn(e) {
1879
- return e == null ? e : typeof e == "bigint" ? (Tn(e) ? e = Number(e) : (e = Yr(64, e), e = Tn(e) ? Number(e) : String(e)), e) : Kr(e) ? typeof e == "number" ? ss(e) : Xa(e) : void 0;
1879
+ return e == null ? e : typeof e == "bigint" ? (An(e) ? e = Number(e) : (e = Yr(64, e), e = An(e) ? Number(e) : String(e)), e) : Kr(e) ? typeof e == "number" ? ss(e) : Qa(e) : void 0;
1880
1880
  }
1881
1881
  function Ku(e) {
1882
1882
  if (e == null) return e;
1883
1883
  var t = typeof e;
1884
1884
  if (t === "bigint") return String(Hu(64, e));
1885
1885
  if (Kr(e)) {
1886
- if (t === "string") return t = wr(Number(e)), Mt(t) && t >= 0 ? e = String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), mo(e) || (Pi(e), e = qr(z, ne))), e;
1886
+ if (t === "string") return t = wr(Number(e)), Mt(t) && t >= 0 ? e = String(t) : ((t = e.indexOf(".")) !== -1 && (e = e.substring(0, t)), mo(e) || (Fi(e), e = qr(z, ne))), e;
1887
1887
  if (t === "number") return (e = wr(e)) >= 0 && Mt(e) ? e : function(r) {
1888
1888
  if (r < 0) {
1889
1889
  tr(r);
@@ -1894,11 +1894,11 @@ function Ku(e) {
1894
1894
  }(e);
1895
1895
  }
1896
1896
  }
1897
- function Qa(e) {
1897
+ function Ja(e) {
1898
1898
  if (typeof e != "string") throw Error();
1899
1899
  return e;
1900
1900
  }
1901
- function Tr(e) {
1901
+ function jr(e) {
1902
1902
  if (e != null && typeof e != "string") throw Error();
1903
1903
  return e;
1904
1904
  }
@@ -1913,7 +1913,7 @@ function os(e, t, r, i) {
1913
1913
  }
1914
1914
  function Xu(e, t, r) {
1915
1915
  if (t) e: {
1916
- if (!Kr(t = e)) throw En("int64");
1916
+ if (!Kr(t = e)) throw kn("int64");
1917
1917
  switch (typeof t) {
1918
1918
  case "string":
1919
1919
  t = go(t);
@@ -1934,7 +1934,7 @@ function Qu(e) {
1934
1934
  const Ju = {};
1935
1935
  let Zu = function() {
1936
1936
  try {
1937
- return Si(new class extends Map {
1937
+ return Ni(new class extends Map {
1938
1938
  constructor() {
1939
1939
  super();
1940
1940
  }
@@ -1943,7 +1943,7 @@ let Zu = function() {
1943
1943
  return !0;
1944
1944
  }
1945
1945
  }();
1946
- class fn {
1946
+ class hn {
1947
1947
  constructor() {
1948
1948
  this.g = /* @__PURE__ */ new Map();
1949
1949
  }
@@ -1978,7 +1978,7 @@ class fn {
1978
1978
  return this.entries();
1979
1979
  }
1980
1980
  }
1981
- const ed = Zu ? (Object.setPrototypeOf(fn.prototype, Map.prototype), Object.defineProperties(fn.prototype, { size: { value: 0, configurable: !0, enumerable: !0, writable: !0 } }), fn) : class extends Map {
1981
+ const ed = Zu ? (Object.setPrototypeOf(hn.prototype, Map.prototype), Object.defineProperties(hn.prototype, { size: { value: 0, configurable: !0, enumerable: !0, writable: !0 } }), hn) : class extends Map {
1982
1982
  constructor() {
1983
1983
  super();
1984
1984
  }
@@ -1986,7 +1986,7 @@ const ed = Zu ? (Object.setPrototypeOf(fn.prototype, Map.prototype), Object.defi
1986
1986
  function xo(e) {
1987
1987
  return e;
1988
1988
  }
1989
- function wn(e) {
1989
+ function fn(e) {
1990
1990
  if (2 & e.M) throw Error("Cannot mutate an immutable Map");
1991
1991
  }
1992
1992
  var ft = class extends ed {
@@ -2010,10 +2010,10 @@ var ft = class extends ed {
2010
2010
  return t;
2011
2011
  }
2012
2012
  clear() {
2013
- wn(this), super.clear();
2013
+ fn(this), super.clear();
2014
2014
  }
2015
2015
  delete(e) {
2016
- return wn(this), super.delete(this.S(e, !0, !1));
2016
+ return fn(this), super.delete(this.S(e, !0, !1));
2017
2017
  }
2018
2018
  entries() {
2019
2019
  if (this.I) {
@@ -2035,7 +2035,7 @@ var ft = class extends ed {
2035
2035
  }) : super.forEach(e, t);
2036
2036
  }
2037
2037
  set(e, t) {
2038
- return wn(this), (e = this.S(e, !0, !1)) == null ? this : t == null ? (super.delete(e), this) : super.set(e, this.X(t, !0, !0, this.I, !1, this.M));
2038
+ return fn(this), (e = this.S(e, !0, !1)) == null ? this : t == null ? (super.delete(e), this) : super.set(e, this.X(t, !0, !0, this.I, !1, this.M));
2039
2039
  }
2040
2040
  Ja(e) {
2041
2041
  const t = this.S(e[0], !1, !0);
@@ -2057,7 +2057,7 @@ var ft = class extends ed {
2057
2057
  }
2058
2058
  };
2059
2059
  function td(e, t, r, i, n, s) {
2060
- return e = os(e, i, r, s), n && (e = Ui(e)), e;
2060
+ return e = os(e, i, r, s), n && (e = Bi(e)), e;
2061
2061
  }
2062
2062
  function rd(e) {
2063
2063
  return e;
@@ -2065,52 +2065,52 @@ function rd(e) {
2065
2065
  function id(e) {
2066
2066
  return [e, this.get(e)];
2067
2067
  }
2068
- let nd, Ja, Za, sd;
2068
+ let nd, Za, ec, sd;
2069
2069
  function yo() {
2070
2070
  return nd || (nd = new ft(Er([]), void 0, void 0, void 0, Ju));
2071
2071
  }
2072
- function Nn(e, t, r, i, n) {
2072
+ function Tn(e, t, r, i, n) {
2073
2073
  if (e != null) {
2074
2074
  if (Array.isArray(e)) {
2075
2075
  const s = 0 | e[k];
2076
- return e.length === 0 && 1 & s ? void 0 : n && 2 & s ? e : Oi(e, t, r, i !== void 0, n);
2076
+ return e.length === 0 && 1 & s ? void 0 : n && 2 & s ? e : Di(e, t, r, i !== void 0, n);
2077
2077
  }
2078
2078
  return t(e, i);
2079
2079
  }
2080
2080
  }
2081
- function Oi(e, t, r, i, n) {
2081
+ function Di(e, t, r, i, n) {
2082
2082
  const s = i || r ? 0 | e[k] : 0, a = i ? !!(32 & s) : void 0;
2083
2083
  let c = 0;
2084
2084
  const l = (i = Ne(e)).length;
2085
2085
  for (let m = 0; m < l; m++) {
2086
2086
  var u = i[m];
2087
- if (m === l - 1 && Mi(u)) {
2087
+ if (m === l - 1 && Ri(u)) {
2088
2088
  var d = t, h = r, f = a, w = n;
2089
2089
  let x;
2090
2090
  for (let v in u) {
2091
- const g = Nn(u[v], d, h, f, w);
2091
+ const g = Tn(u[v], d, h, f, w);
2092
2092
  g != null && ((x ?? (x = {}))[v] = g);
2093
2093
  }
2094
2094
  u = x;
2095
- } else u = Nn(i[m], t, r, a, n);
2095
+ } else u = Tn(i[m], t, r, a, n);
2096
2096
  i[m] = u, u != null && (c = m + 1);
2097
2097
  }
2098
2098
  return c < l && (i.length = c), r && ((e = es(e)) && (i[fr] = Ne(e)), r(s, i)), i;
2099
2099
  }
2100
2100
  function od(e) {
2101
- return Nn(e, as, void 0, void 0, !1);
2101
+ return Tn(e, as, void 0, void 0, !1);
2102
2102
  }
2103
2103
  function as(e) {
2104
2104
  switch (typeof e) {
2105
2105
  case "number":
2106
2106
  return Number.isFinite(e) ? e : "" + e;
2107
2107
  case "bigint":
2108
- return Tn(e) ? Number(e) : "" + e;
2108
+ return An(e) ? Number(e) : "" + e;
2109
2109
  case "boolean":
2110
2110
  return e ? 1 : 0;
2111
2111
  case "object":
2112
- if (Zt(e)) return Zt(e) && Qn(Ga), so(e);
2113
- if (e.W === ei) return ec(e);
2112
+ if (Zt(e)) return Zt(e) && Qn(Va), so(e);
2113
+ if (e.W === ei) return tc(e);
2114
2114
  if (e instanceof bt) {
2115
2115
  const t = e.g;
2116
2116
  return t == null ? "" : typeof t == "string" ? t : e.g = so(t);
@@ -2119,14 +2119,14 @@ function as(e) {
2119
2119
  }
2120
2120
  return e;
2121
2121
  }
2122
- function ec(e) {
2122
+ function tc(e) {
2123
2123
  var t = e.u;
2124
- e = Oi(t, as, void 0, void 0, !1);
2124
+ e = Di(t, as, void 0, void 0, !1);
2125
2125
  var r = 0 | t[k];
2126
2126
  if ((t = e.length) && !(512 & r)) {
2127
2127
  var i = e[t - 1], n = !1;
2128
- Mi(i) ? (t--, n = !0) : i = void 0;
2129
- var s = t - (r = 512 & r ? 0 : -1), a = (Ja ?? Qu)(s, r, e, i);
2128
+ Ri(i) ? (t--, n = !0) : i = void 0;
2129
+ var s = t - (r = 512 & r ? 0 : -1), a = (Za ?? Qu)(s, r, e, i);
2130
2130
  if (i && (e[t] = void 0), s < a && i) {
2131
2131
  for (var c in s = !0, i) {
2132
2132
  const l = +c;
@@ -2144,9 +2144,9 @@ function ec(e) {
2144
2144
  return e;
2145
2145
  }
2146
2146
  function Lt(e, t, r) {
2147
- return e = tc(e, t[0], t[1], r ? 1 : 2), t !== Za && r && Ii(e, 8192), e;
2147
+ return e = rc(e, t[0], t[1], r ? 1 : 2), t !== ec && r && Ci(e, 8192), e;
2148
2148
  }
2149
- function tc(e, t, r, i) {
2149
+ function rc(e, t, r, i) {
2150
2150
  if (e == null) {
2151
2151
  var n = 96;
2152
2152
  r ? (e = [r], n |= 512) : e = [], t && (n = -16760833 & n | (1023 & t) << 14);
@@ -2159,7 +2159,7 @@ function tc(e, t, r, i) {
2159
2159
  var s = (r = e).length;
2160
2160
  if (s) {
2161
2161
  var a = s - 1;
2162
- if (Mi(i = r[a])) {
2162
+ if (Ri(i = r[a])) {
2163
2163
  if ((a -= t = 512 & (n |= 256) ? 0 : -1) >= 1024) throw Error("pvtlmt");
2164
2164
  for (var c in i) (s = +c) < a && (r[s + t] = i[c], delete i[c]);
2165
2165
  n = -16760833 & n | (1023 & a) << 14;
@@ -2174,18 +2174,18 @@ function tc(e, t, r, i) {
2174
2174
  }
2175
2175
  return ue(e, n), e;
2176
2176
  }
2177
- function Sn(e, t, r = An) {
2177
+ function Nn(e, t, r = En) {
2178
2178
  if (e != null) {
2179
- if (Pa && e instanceof Uint8Array) return t ? e : new Uint8Array(e);
2179
+ if (Da && e instanceof Uint8Array) return t ? e : new Uint8Array(e);
2180
2180
  if (Array.isArray(e)) {
2181
2181
  var i = 0 | e[k];
2182
- return 2 & i ? e : (t && (t = i === 0 || !!(32 & i) && !(64 & i || !(16 & i))), t ? (ue(e, 34 | i), 4 & i && Object.freeze(e), e) : Oi(e, Sn, 4 & i ? An : r, !0, !0));
2182
+ return 2 & i ? e : (t && (t = i === 0 || !!(32 & i) && !(64 & i || !(16 & i))), t ? (ue(e, 34 | i), 4 & i && Object.freeze(e), e) : Di(e, Nn, 4 & i ? En : r, !0, !0));
2183
2183
  }
2184
- return e.W === ei ? e = 2 & (i = 0 | (r = e.u)[k]) ? e : new e.constructor(Bi(r, i, !0)) : e instanceof ft && !(2 & e.M) && (r = Er(e.da(Sn)), e = new ft(r, e.I, e.S, e.X)), e;
2184
+ return e.W === ei ? e = 2 & (i = 0 | (r = e.u)[k]) ? e : new e.constructor(Oi(r, i, !0)) : e instanceof ft && !(2 & e.M) && (r = Er(e.da(Nn)), e = new ft(r, e.I, e.S, e.X)), e;
2185
2185
  }
2186
2186
  }
2187
- function Bi(e, t, r) {
2188
- const i = r || 2 & t ? An : Du, n = !!(32 & t);
2187
+ function Oi(e, t, r) {
2188
+ const i = r || 2 & t ? En : Du, n = !!(32 & t);
2189
2189
  return e = function(s, a, c) {
2190
2190
  const l = Ne(s);
2191
2191
  var u = l.length;
@@ -2196,11 +2196,11 @@ function Bi(e, t, r) {
2196
2196
  for (const h in d) a[h] = c(d[h]);
2197
2197
  }
2198
2198
  return (s = es(s)) && (l[fr] = Ne(s)), l;
2199
- }(e, t, (s) => Sn(s, n, i)), Ii(e, 32 | (r ? 2 : 0)), e;
2199
+ }(e, t, (s) => Nn(s, n, i)), Ci(e, 32 | (r ? 2 : 0)), e;
2200
2200
  }
2201
- function Ui(e) {
2201
+ function Bi(e) {
2202
2202
  const t = e.u, r = 0 | t[k];
2203
- return 2 & r ? new e.constructor(Bi(t, r, !1)) : e;
2203
+ return 2 & r ? new e.constructor(Oi(t, r, !1)) : e;
2204
2204
  }
2205
2205
  function gr(e, t) {
2206
2206
  return At(e = e.u, 0 | e[k], t);
@@ -2225,7 +2225,7 @@ function wi(e, t) {
2225
2225
  const i = At(e, r, t), n = Bt(i);
2226
2226
  return n != null && n !== i && te(e, r, t, n), n;
2227
2227
  }
2228
- function rc(e) {
2228
+ function ic(e) {
2229
2229
  let t = 0 | (e = e.u)[k];
2230
2230
  const r = At(e, t, 1), i = Zn(r, !0);
2231
2231
  return i != null && i !== r && te(e, t, 1, i), i;
@@ -2257,7 +2257,7 @@ function ls(e, t) {
2257
2257
  function yt(e) {
2258
2258
  return !!(2 & e) && !!(4 & e) || !!(1024 & e);
2259
2259
  }
2260
- function ic(e) {
2260
+ function nc(e) {
2261
2261
  e = Ne(e);
2262
2262
  for (let t = 0; t < e.length; t++) {
2263
2263
  const r = e[t] = Ne(e[t]);
@@ -2265,11 +2265,11 @@ function ic(e) {
2265
2265
  }
2266
2266
  return e;
2267
2267
  }
2268
- function Cn(e, t, r, i) {
2268
+ function Sn(e, t, r, i) {
2269
2269
  let n = 0 | (e = e.u)[k];
2270
2270
  Ot(n), te(e, n, t, (i === "0" ? Number(r) === 0 : r === i) ? void 0 : r);
2271
2271
  }
2272
- function jr(e, t, r, i) {
2272
+ function Tr(e, t, r, i) {
2273
2273
  Ot(t);
2274
2274
  let n = cs(e, t, r);
2275
2275
  const s = n !== Jn;
@@ -2280,17 +2280,17 @@ function jr(e, t, r, i) {
2280
2280
  }
2281
2281
  return n;
2282
2282
  }
2283
- function mn(e, t) {
2284
- var r = zc;
2283
+ function wn(e, t) {
2284
+ var r = Hc;
2285
2285
  return ds(us(e = e.u), e, 0 | e[k], r) === t ? t : -1;
2286
2286
  }
2287
2287
  function us(e) {
2288
- if (Ci) return e[Dr] ?? (e[Dr] = /* @__PURE__ */ new Map());
2288
+ if (Si) return e[Dr] ?? (e[Dr] = /* @__PURE__ */ new Map());
2289
2289
  if (Dr in e) return e[Dr];
2290
2290
  const t = /* @__PURE__ */ new Map();
2291
2291
  return Object.defineProperty(e, Dr, { value: t }), t;
2292
2292
  }
2293
- function nc(e, t, r, i) {
2293
+ function sc(e, t, r, i) {
2294
2294
  const n = us(e), s = ds(n, e, t, r);
2295
2295
  return s !== i && (s && (t = te(e, t, s)), n.set(r, i)), t;
2296
2296
  }
@@ -2308,28 +2308,28 @@ function hs(e, t, r) {
2308
2308
  let i = 0 | e[k];
2309
2309
  const n = At(e, i, r);
2310
2310
  let s;
2311
- if (n != null && n.W === ei) return (t = Ui(n)) !== n && te(e, i, r, t), t.u;
2311
+ if (n != null && n.W === ei) return (t = Bi(n)) !== n && te(e, i, r, t), t.u;
2312
2312
  if (Array.isArray(n)) {
2313
2313
  const a = 0 | n[k];
2314
- s = 2 & a ? Lt(Bi(n, a, !1), t, !0) : 64 & a ? n : Lt(s, t, !0);
2314
+ s = 2 & a ? Lt(Oi(n, a, !1), t, !0) : 64 & a ? n : Lt(s, t, !0);
2315
2315
  } else s = Lt(void 0, t, !0);
2316
2316
  return s !== n && te(e, i, r, s), s;
2317
2317
  }
2318
- function sc(e, t, r) {
2318
+ function oc(e, t, r) {
2319
2319
  let i = 0 | (e = e.u)[k];
2320
2320
  const n = At(e, i, r);
2321
2321
  return (t = os(n, t, !1, i)) !== n && t != null && te(e, i, r, t), t;
2322
2322
  }
2323
- function D(e, t, r) {
2324
- if ((t = sc(e, t, r)) == null) return t;
2323
+ function O(e, t, r) {
2324
+ if ((t = oc(e, t, r)) == null) return t;
2325
2325
  let i = 0 | (e = e.u)[k];
2326
2326
  if (!(2 & i)) {
2327
- const n = Ui(t);
2327
+ const n = Bi(t);
2328
2328
  n !== t && te(e, i, r, t = n);
2329
2329
  }
2330
2330
  return t;
2331
2331
  }
2332
- function oc(e, t, r, i, n, s, a) {
2332
+ function ac(e, t, r, i, n, s, a) {
2333
2333
  e = e.u;
2334
2334
  var c = !!(2 & t);
2335
2335
  const l = c ? 1 : n;
@@ -2344,8 +2344,8 @@ function oc(e, t, r, i, n, s, a) {
2344
2344
  const g = os(d[x], r, !1, h);
2345
2345
  if (g instanceof r) {
2346
2346
  if (!f) {
2347
- const j = !!(2 & (0 | g.u[k]));
2348
- w && (w = !j), m && (m = j);
2347
+ const T = !!(2 & (0 | g.u[k]));
2348
+ w && (w = !T), m && (m = T);
2349
2349
  }
2350
2350
  d[v++] = g;
2351
2351
  }
@@ -2353,14 +2353,14 @@ function oc(e, t, r, i, n, s, a) {
2353
2353
  v < x && (d.length = v), u |= 4, u = m ? 16 | u : -17 & u, ue(d, u = w ? 8 | u : -9 & u), f && Object.freeze(d);
2354
2354
  }
2355
2355
  if (a && !(8 & u || !n.length && (l === 1 || l === 4 && 32 & u))) {
2356
- for (yt(u) && (n = Ne(n), u = vt(u, t), t = te(e, t, i, n)), r = n, a = u, d = 0; d < r.length; d++) (u = r[d]) !== (h = Ui(u)) && (r[d] = h);
2356
+ for (yt(u) && (n = Ne(n), u = vt(u, t), t = te(e, t, i, n)), r = n, a = u, d = 0; d < r.length; d++) (u = r[d]) !== (h = Bi(u)) && (r[d] = h);
2357
2357
  a |= 8, ue(r, a = r.length ? -17 & a : 16 | a), u = a;
2358
2358
  }
2359
2359
  return l === 1 || l === 4 && 32 & u ? yt(u) || (t = u, (u |= !n.length || 16 & u && (!c || 32 & u) ? 2 : 1024) !== t && ue(n, u), Object.freeze(n)) : (l === 2 && yt(u) && (ue(n = Ne(n), u = Ft(u = vt(u, t), t, s)), t = te(e, t, i, n)), yt(u) || (i = u, (u = Ft(u, t, s)) !== i && ue(n, u))), n;
2360
2360
  }
2361
2361
  function kt(e, t, r) {
2362
2362
  const i = 0 | e.u[k];
2363
- return oc(e, i, t, r, Xt(), !1, !(2 & i));
2363
+ return ac(e, i, t, r, Xt(), !1, !(2 & i));
2364
2364
  }
2365
2365
  function E(e, t, r, i) {
2366
2366
  return i == null && (i = void 0), H(e, r, i);
@@ -2373,7 +2373,7 @@ function Vr(e, t, r, i) {
2373
2373
  const s = us(e);
2374
2374
  if (ds(s, e, n, r) !== t) break e;
2375
2375
  s.set(r, 0);
2376
- } else n = nc(e, n, r, t);
2376
+ } else n = sc(e, n, r, t);
2377
2377
  te(e, n, t, i);
2378
2378
  }
2379
2379
  }
@@ -2383,12 +2383,12 @@ function vt(e, t) {
2383
2383
  function Ft(e, t, r) {
2384
2384
  return 32 & t && r || (e &= -33), e;
2385
2385
  }
2386
- function Gi(e, t, r) {
2387
- Ot(0 | e.u[k]), Qt(e, t, mr, 2, !0).push(Qa(r));
2386
+ function Ui(e, t, r) {
2387
+ Ot(0 | e.u[k]), Qt(e, t, mr, 2, !0).push(Ja(r));
2388
2388
  }
2389
2389
  function bi(e, t, r, i) {
2390
2390
  const n = 0 | e.u[k];
2391
- Ot(n), e = oc(e, n, r, t, 2, !0), i = i ?? new r(), e.push(i), e[k] = 2 & (0 | i.u[k]) ? -9 & e[k] : -17 & e[k];
2391
+ Ot(n), e = ac(e, n, r, t, 2, !0), i = i ?? new r(), e.push(i), e[k] = 2 & (0 | i.u[k]) ? -9 & e[k] : -17 & e[k];
2392
2392
  }
2393
2393
  function Ke(e, t) {
2394
2394
  return Ar(gr(e, t));
@@ -2405,7 +2405,7 @@ function Xr(e, t, r) {
2405
2405
  }
2406
2406
  function wt(e, t, r) {
2407
2407
  if (r != null) {
2408
- if (typeof r != "number" || !Di(r)) throw En("int32");
2408
+ if (typeof r != "number" || !Pi(r)) throw kn("int32");
2409
2409
  r |= 0;
2410
2410
  }
2411
2411
  H(e, t, r);
@@ -2422,24 +2422,24 @@ function vi(e, t, r) {
2422
2422
  else {
2423
2423
  var i = e = 0 | r[k], n = yt(e), s = n || Object.isFrozen(r);
2424
2424
  for (n || (e = 0), s || (r = Ne(r), i = 0, e = Ft(e = vt(e, c), c, !0), s = !1), e |= 21, n = 0; n < r.length; n++) {
2425
- const l = r[n], u = Qa(l);
2425
+ const l = r[n], u = Ja(l);
2426
2426
  Object.is(l, u) || (s && (r = Ne(r), i = 0, e = Ft(e = vt(e, c), c, !0), s = !1), r[n] = u);
2427
2427
  }
2428
2428
  e !== i && (s && (r = Ne(r), e = Ft(e = vt(e, c), c, !0)), ue(r, e)), te(a, c, t, r);
2429
2429
  }
2430
2430
  }
2431
2431
  }
2432
- function ac(e, t) {
2432
+ function cc(e, t) {
2433
2433
  return Error(`Invalid wire type: ${e} (at position ${t})`);
2434
2434
  }
2435
2435
  function fs() {
2436
2436
  return Error("Failed to read varint, encoding is invalid.");
2437
2437
  }
2438
- function cc(e, t) {
2438
+ function lc(e, t) {
2439
2439
  return Error(`Tried to read past the end of the data ${t} > ${e}`);
2440
2440
  }
2441
2441
  function ws(e) {
2442
- if (typeof e == "string") return { buffer: Oa(e), O: !1 };
2442
+ if (typeof e == "string") return { buffer: Ba(e), O: !1 };
2443
2443
  if (Array.isArray(e)) return { buffer: new Uint8Array(e), O: !1 };
2444
2444
  if (e.constructor === Uint8Array) return { buffer: e, O: !1 };
2445
2445
  if (e.constructor === ArrayBuffer) return { buffer: new Uint8Array(e), O: !1 };
@@ -2476,13 +2476,13 @@ function Pt(e) {
2476
2476
  function Et(e) {
2477
2477
  return Pt(e) >>> 0;
2478
2478
  }
2479
- function In(e) {
2479
+ function Cn(e) {
2480
2480
  var t = e.h;
2481
2481
  const r = e.g, i = t[r], n = t[r + 1], s = t[r + 2];
2482
2482
  return t = t[r + 3], Jt(e, e.g + 4), (i << 0 | n << 8 | s << 16 | t << 24) >>> 0;
2483
2483
  }
2484
- function Rn(e) {
2485
- var t = In(e);
2484
+ function In(e) {
2485
+ var t = Cn(e);
2486
2486
  e = 2 * (t >> 31) + 1;
2487
2487
  const r = t >>> 23 & 255;
2488
2488
  return t &= 8388607, r == 255 ? t ? NaN : e * (1 / 0) : r == 0 ? 1401298464324817e-60 * e * t : e * Math.pow(2, r - 150) * (t + 8388608);
@@ -2490,31 +2490,31 @@ function Rn(e) {
2490
2490
  function ad(e) {
2491
2491
  return Pt(e);
2492
2492
  }
2493
- function gn(e, t, { aa: r = !1 } = {}) {
2493
+ function mn(e, t, { aa: r = !1 } = {}) {
2494
2494
  e.aa = r, t && (t = ws(t), e.h = t.buffer, e.m = t.O, e.j = 0, e.l = e.h.length, e.g = e.j);
2495
2495
  }
2496
2496
  function Jt(e, t) {
2497
- if (e.g = t, t > e.l) throw cc(e.l, t);
2497
+ if (e.g = t, t > e.l) throw lc(e.l, t);
2498
2498
  }
2499
- function lc(e, t) {
2499
+ function uc(e, t) {
2500
2500
  if (t < 0) throw Error(`Tried to read a negative byte length: ${t}`);
2501
2501
  const r = e.g, i = r + t;
2502
- if (i > e.l) throw cc(t, e.l - r);
2502
+ if (i > e.l) throw lc(t, e.l - r);
2503
2503
  return e.g = i, r;
2504
2504
  }
2505
- function uc(e, t) {
2505
+ function dc(e, t) {
2506
2506
  if (t == 0) return er();
2507
- var r = lc(e, t);
2507
+ var r = uc(e, t);
2508
2508
  return e.aa && e.m ? r = e.h.subarray(r, r + t) : (e = e.h, r = r === (t = r + t) ? new Uint8Array(0) : zu ? e.slice(r, t) : new Uint8Array(e.subarray(r, t))), r.length == 0 ? er() : new bt(r, hr);
2509
2509
  }
2510
2510
  ft.prototype.toJSON = void 0;
2511
2511
  var bo = [];
2512
- function dc(e) {
2512
+ function hc(e) {
2513
2513
  var t = e.g;
2514
2514
  if (t.g == t.l) return !1;
2515
2515
  e.l = e.g.g;
2516
2516
  var r = Et(e.g);
2517
- if (t = r >>> 3, !((r &= 7) >= 0 && r <= 5)) throw ac(r, e.l);
2517
+ if (t = r >>> 3, !((r &= 7) >= 0 && r <= 5)) throw cc(r, e.l);
2518
2518
  if (t < 1) throw Error(`Invalid field number: ${t} (at position ${e.l})`);
2519
2519
  return e.m = t, e.h = r, !0;
2520
2520
  }
@@ -2538,7 +2538,7 @@ function mi(e) {
2538
2538
  break;
2539
2539
  case 3:
2540
2540
  for (t = e.m; ; ) {
2541
- if (!dc(e)) throw Error("Unmatched start-group tag: stream EOF");
2541
+ if (!hc(e)) throw Error("Unmatched start-group tag: stream EOF");
2542
2542
  if (e.h == 4) {
2543
2543
  if (e.m != t) throw Error("Unmatched end-group tag");
2544
2544
  break;
@@ -2547,7 +2547,7 @@ function mi(e) {
2547
2547
  }
2548
2548
  break;
2549
2549
  default:
2550
- throw ac(e.h, e.l);
2550
+ throw cc(e.h, e.l);
2551
2551
  }
2552
2552
  }
2553
2553
  function ti(e, t, r) {
@@ -2557,10 +2557,10 @@ function ti(e, t, r) {
2557
2557
  return e.g.g = s, e.g.l = i, t;
2558
2558
  }
2559
2559
  function ps(e) {
2560
- var t = Et(e.g), r = lc(e = e.g, t);
2561
- if (e = e.h, Tu) {
2560
+ var t = Et(e.g), r = uc(e = e.g, t);
2561
+ if (e = e.h, ju) {
2562
2562
  var i, n = e;
2563
- (i = ln) || (i = ln = new TextDecoder("utf-8", { fatal: !0 })), t = r + t, n = r === 0 && t === n.length ? n : n.subarray(r, t);
2563
+ (i = cn) || (i = cn = new TextDecoder("utf-8", { fatal: !0 })), t = r + t, n = r === 0 && t === n.length ? n : n.subarray(r, t);
2564
2564
  try {
2565
2565
  var s = i.decode(n);
2566
2566
  } catch (c) {
@@ -2575,7 +2575,7 @@ function ps(e) {
2575
2575
  ai = !1;
2576
2576
  }
2577
2577
  }
2578
- throw !ai && (ln = void 0), c;
2578
+ throw !ai && (cn = void 0), c;
2579
2579
  }
2580
2580
  } else {
2581
2581
  t = (s = r) + t, r = [];
@@ -2588,11 +2588,11 @@ function ps(e) {
2588
2588
  }
2589
2589
  return s;
2590
2590
  }
2591
- function hc(e) {
2591
+ function fc(e) {
2592
2592
  const t = Et(e.g);
2593
- return uc(e.g, t);
2593
+ return dc(e.g, t);
2594
2594
  }
2595
- function Vi(e, t, r) {
2595
+ function Gi(e, t, r) {
2596
2596
  var i = Et(e.g);
2597
2597
  for (i = e.g.g + i; e.g.g < i; ) r.push(t(e.g));
2598
2598
  }
@@ -2602,13 +2602,13 @@ function tt(e, t, r) {
2602
2602
  }
2603
2603
  var y = class {
2604
2604
  constructor(e, t) {
2605
- this.u = tc(e, t);
2605
+ this.u = rc(e, t);
2606
2606
  }
2607
2607
  toJSON() {
2608
2608
  try {
2609
- var e = ec(this);
2609
+ var e = tc(this);
2610
2610
  } finally {
2611
- Ja = void 0;
2611
+ Za = void 0;
2612
2612
  }
2613
2613
  return e;
2614
2614
  }
@@ -2618,28 +2618,28 @@ var y = class {
2618
2618
  }
2619
2619
  clone() {
2620
2620
  const e = this.u;
2621
- return new this.constructor(Bi(e, 0 | e[k], !1));
2621
+ return new this.constructor(Oi(e, 0 | e[k], !1));
2622
2622
  }
2623
2623
  O() {
2624
2624
  return !!(2 & (0 | this.u[k]));
2625
2625
  }
2626
2626
  };
2627
2627
  function vo(e) {
2628
- return e ? /^\d+$/.test(e) ? (Pi(e), new Mn(z, ne)) : null : cd || (cd = new Mn(0, 0));
2628
+ return e ? /^\d+$/.test(e) ? (Fi(e), new Rn(z, ne)) : null : cd || (cd = new Rn(0, 0));
2629
2629
  }
2630
2630
  y.prototype.W = ei, y.prototype.toString = function() {
2631
2631
  return this.u.toString();
2632
2632
  };
2633
- var Mn = class {
2633
+ var Rn = class {
2634
2634
  constructor(e, t) {
2635
2635
  this.h = e >>> 0, this.g = t >>> 0;
2636
2636
  }
2637
2637
  };
2638
2638
  let cd;
2639
2639
  function _o(e) {
2640
- return e ? /^-?\d+$/.test(e) ? (Pi(e), new Ln(z, ne)) : null : ld || (ld = new Ln(0, 0));
2640
+ return e ? /^-?\d+$/.test(e) ? (Fi(e), new Mn(z, ne)) : null : ld || (ld = new Mn(0, 0));
2641
2641
  }
2642
- var Ln = class {
2642
+ var Mn = class {
2643
2643
  constructor(e, t) {
2644
2644
  this.h = e >>> 0, this.g = t >>> 0;
2645
2645
  }
@@ -2653,7 +2653,7 @@ function Nr(e, t) {
2653
2653
  for (; t > 127; ) e.g.push(127 & t | 128), t >>>= 7;
2654
2654
  e.g.push(t);
2655
2655
  }
2656
- function $i(e, t) {
2656
+ function Vi(e, t) {
2657
2657
  if (t >= 0) Nr(e, t);
2658
2658
  else {
2659
2659
  for (let r = 0; r < 9; r++) e.g.push(127 & t | 128), t >>= 7;
@@ -2677,7 +2677,7 @@ function ys(e, t) {
2677
2677
  for (r = e.h + e.g.length() - r; r > 127; ) t.push(127 & r | 128), r >>>= 7, e.h++;
2678
2678
  t.push(r), e.h++;
2679
2679
  }
2680
- function Wi(e, t, r) {
2680
+ function $i(e, t, r) {
2681
2681
  Oe(e, t, 2), Nr(e.g, r.length), pr(e, e.g.end()), pr(e, r);
2682
2682
  }
2683
2683
  function _i(e, t, r, i) {
@@ -2691,31 +2691,31 @@ function rt() {
2691
2691
  };
2692
2692
  return Object.setPrototypeOf(e, e.prototype), e;
2693
2693
  }
2694
- var bs = rt(), fc = rt(), vs = rt(), _s = rt(), wc = rt(), mc = rt(), ks = rt(), gc = rt(), pc = rt(), Sr = class {
2694
+ var bs = rt(), wc = rt(), vs = rt(), _s = rt(), mc = rt(), gc = rt(), ks = rt(), pc = rt(), xc = rt(), Sr = class {
2695
2695
  constructor(e, t, r) {
2696
2696
  this.g = e, this.h = t, e = bs, this.l = !!e && r === e || !1;
2697
2697
  }
2698
2698
  };
2699
- function zi(e, t) {
2699
+ function Wi(e, t) {
2700
2700
  return new Sr(e, t, bs);
2701
2701
  }
2702
- function xc(e, t, r, i, n) {
2703
- _i(e, r, _c(t, i), n);
2702
+ function yc(e, t, r, i, n) {
2703
+ _i(e, r, kc(t, i), n);
2704
2704
  }
2705
- const ud = zi(function(e, t, r, i, n) {
2705
+ const ud = Wi(function(e, t, r, i, n) {
2706
2706
  return e.h === 2 && (ti(e, hs(t, i, r), n), !0);
2707
- }, xc), dd = zi(function(e, t, r, i, n) {
2707
+ }, yc), dd = Wi(function(e, t, r, i, n) {
2708
2708
  return e.h === 2 && (ti(e, hs(t, i, r), n), !0);
2709
- }, xc);
2710
- var Hi = Symbol(), Es = Symbol(), ko = Symbol(), Eo = Symbol();
2711
- let yc, bc;
2709
+ }, yc);
2710
+ var zi = Symbol(), Es = Symbol(), ko = Symbol(), Eo = Symbol();
2711
+ let bc, vc;
2712
2712
  function rr(e, t, r, i) {
2713
2713
  var n = i[e];
2714
2714
  if (n) return n;
2715
2715
  (n = {}).Ma = i, n.T = function(h) {
2716
2716
  switch (typeof h) {
2717
2717
  case "boolean":
2718
- return Za || (Za = [0, void 0, !0]);
2718
+ return ec || (ec = [0, void 0, !0]);
2719
2719
  case "number":
2720
2720
  return h > 0 ? void 0 : h === 0 ? sd || (sd = [0, void 0]) : [-h, void 0];
2721
2721
  case "string":
@@ -2726,7 +2726,7 @@ function rr(e, t, r, i) {
2726
2726
  }(i[0]);
2727
2727
  var s = i[1];
2728
2728
  let a = 1;
2729
- s && s.constructor === Object && (n.ga = s, typeof (s = i[++a]) == "function" && (n.la = !0, yc ?? (yc = s), bc ?? (bc = i[a + 1]), s = i[a += 2]));
2729
+ s && s.constructor === Object && (n.ga = s, typeof (s = i[++a]) == "function" && (n.la = !0, bc ?? (bc = s), vc ?? (vc = i[a + 1]), s = i[a += 2]));
2730
2730
  const c = {};
2731
2731
  for (; s && Array.isArray(s) && s.length && typeof s[0] == "number" && s[0] > 0; ) {
2732
2732
  for (var l = 0; l < s.length; l++) c[s[l]] = s;
@@ -2748,65 +2748,65 @@ function rr(e, t, r, i) {
2748
2748
  }
2749
2749
  return i[e] = n;
2750
2750
  }
2751
- function vc(e) {
2751
+ function _c(e) {
2752
2752
  return Array.isArray(e) ? e[0] instanceof Sr ? e : [dd, e] : [e, void 0];
2753
2753
  }
2754
- function _c(e, t) {
2754
+ function kc(e, t) {
2755
2755
  return e instanceof y ? e.u : Array.isArray(e) ? Lt(e, t, !1) : void 0;
2756
2756
  }
2757
2757
  function As(e, t, r, i) {
2758
2758
  const n = r.g;
2759
2759
  e[t] = i ? (s, a, c) => n(s, a, c, i) : n;
2760
2760
  }
2761
- function Ts(e, t, r, i, n) {
2761
+ function js(e, t, r, i, n) {
2762
2762
  const s = r.g;
2763
2763
  let a, c;
2764
- e[t] = (l, u, d) => s(l, u, d, c || (c = rr(Es, As, Ts, i).T), a || (a = js(i)), n);
2764
+ e[t] = (l, u, d) => s(l, u, d, c || (c = rr(Es, As, js, i).T), a || (a = Ts(i)), n);
2765
2765
  }
2766
- function js(e) {
2766
+ function Ts(e) {
2767
2767
  let t = e[ko];
2768
2768
  if (t != null) return t;
2769
- const r = rr(Es, As, Ts, e);
2770
- return t = r.la ? (i, n) => yc(i, n, r) : (i, n) => {
2769
+ const r = rr(Es, As, js, e);
2770
+ return t = r.la ? (i, n) => bc(i, n, r) : (i, n) => {
2771
2771
  const s = 0 | i[k];
2772
- for (; dc(n) && n.h != 4; ) {
2772
+ for (; hc(n) && n.h != 4; ) {
2773
2773
  var a = n.m, c = r[a];
2774
2774
  if (c == null) {
2775
2775
  var l = r.ga;
2776
2776
  l && (l = l[a]) && (l = hd(l)) != null && (c = r[a] = l);
2777
2777
  }
2778
- c != null && c(n, i, a) || (a = (c = n).l, mi(c), c.fa ? c = void 0 : (l = c.g.g - a, c.g.g = a, c = uc(c.g, l)), a = i, c && ((l = a[fr]) ? l.push(c) : a[fr] = [c]));
2778
+ c != null && c(n, i, a) || (a = (c = n).l, mi(c), c.fa ? c = void 0 : (l = c.g.g - a, c.g.g = a, c = dc(c.g, l)), a = i, c && ((l = a[fr]) ? l.push(c) : a[fr] = [c]));
2779
2779
  }
2780
2780
  return 8192 & s && Er(i), !0;
2781
2781
  }, e[ko] = t;
2782
2782
  }
2783
2783
  function hd(e) {
2784
- const t = (e = vc(e))[0].g;
2784
+ const t = (e = _c(e))[0].g;
2785
2785
  if (e = e[1]) {
2786
- const r = js(e), i = rr(Es, As, Ts, e).T;
2786
+ const r = Ts(e), i = rr(Es, As, js, e).T;
2787
2787
  return (n, s, a) => t(n, s, a, i, r);
2788
2788
  }
2789
2789
  return t;
2790
2790
  }
2791
- function qi(e, t, r) {
2791
+ function Hi(e, t, r) {
2792
2792
  e[t] = r.h;
2793
2793
  }
2794
- function Yi(e, t, r, i) {
2794
+ function qi(e, t, r, i) {
2795
2795
  let n, s;
2796
2796
  const a = r.h;
2797
- e[t] = (c, l, u) => a(c, l, u, s || (s = rr(Hi, qi, Yi, i).T), n || (n = kc(i)));
2797
+ e[t] = (c, l, u) => a(c, l, u, s || (s = rr(zi, Hi, qi, i).T), n || (n = Ec(i)));
2798
2798
  }
2799
- function kc(e) {
2799
+ function Ec(e) {
2800
2800
  let t = e[Eo];
2801
2801
  if (!t) {
2802
- const r = rr(Hi, qi, Yi, e);
2803
- t = (i, n) => Ec(i, n, r), e[Eo] = t;
2802
+ const r = rr(zi, Hi, qi, e);
2803
+ t = (i, n) => Ac(i, n, r), e[Eo] = t;
2804
2804
  }
2805
2805
  return t;
2806
2806
  }
2807
- function Ec(e, t, r) {
2807
+ function Ac(e, t, r) {
2808
2808
  (function(i, n, s) {
2809
- const a = 512 & n ? 0 : -1, c = i.length, l = c + ((n = 64 & n ? 256 & n : !!c && Mi(i[c - 1])) ? -1 : 0);
2809
+ const a = 512 & n ? 0 : -1, c = i.length, l = c + ((n = 64 & n ? 256 & n : !!c && Ri(i[c - 1])) ? -1 : 0);
2810
2810
  for (let u = 0; u < l; u++) s(u - a, i[u]);
2811
2811
  if (n) {
2812
2812
  i = i[c - 1];
@@ -2818,10 +2818,10 @@ function Ec(e, t, r) {
2818
2818
  var l = a[c];
2819
2819
  if (l) return l;
2820
2820
  if ((l = a.ga) && (l = l[c])) {
2821
- var u = (l = vc(l))[0].h;
2821
+ var u = (l = _c(l))[0].h;
2822
2822
  if (l = l[1]) {
2823
- const d = kc(l), h = rr(Hi, qi, Yi, l).T;
2824
- l = a.la ? bc(h, d) : (f, w, m) => u(f, w, m, h, d);
2823
+ const d = Ec(l), h = rr(zi, Hi, qi, l).T;
2824
+ l = a.la ? vc(h, d) : (f, w, m) => u(f, w, m, h, d);
2825
2825
  } else l = u;
2826
2826
  return a[c] = l;
2827
2827
  }
@@ -2853,8 +2853,8 @@ function Ir(e, t, r) {
2853
2853
  function Ee(e, t, r) {
2854
2854
  te(e, 0 | e[k], t, r);
2855
2855
  }
2856
- var fd = zi(function(e, t, r, i, n) {
2857
- return e.h === 2 && (e = ti(e, Lt([void 0, void 0], i, !0), n), Ot(i = 0 | t[k]), (n = At(t, i, r)) instanceof ft ? 2 & n.M ? ((n = n.da()).push(e), te(t, i, r, n)) : n.Ja(e) : Array.isArray(n) ? (2 & (0 | n[k]) && te(t, i, r, n = ic(n)), n.push(e)) : te(t, i, r, [e]), !0);
2856
+ var fd = Wi(function(e, t, r, i, n) {
2857
+ return e.h === 2 && (e = ti(e, Lt([void 0, void 0], i, !0), n), Ot(i = 0 | t[k]), (n = At(t, i, r)) instanceof ft ? 2 & n.M ? ((n = n.da()).push(e), te(t, i, r, n)) : n.Ja(e) : Array.isArray(n) ? (2 & (0 | n[k]) && te(t, i, r, n = nc(n)), n.push(e)) : te(t, i, r, [e]), !0);
2858
2858
  }, function(e, t, r, i, n) {
2859
2859
  if (t instanceof ft) t.forEach((s, a) => {
2860
2860
  _i(e, r, Lt([a, s], i, !1), n);
@@ -2864,13 +2864,13 @@ var fd = zi(function(e, t, r, i, n) {
2864
2864
  Array.isArray(a) && _i(e, r, Lt(a, i, !1), n);
2865
2865
  }
2866
2866
  });
2867
- function Ac(e, t, r) {
2867
+ function jc(e, t, r) {
2868
2868
  if (t = function(i) {
2869
2869
  if (i == null) return i;
2870
2870
  const n = typeof i;
2871
2871
  if (n === "bigint") return String(Yr(64, i));
2872
2872
  if (Kr(i)) {
2873
- if (n === "string") return Xa(i);
2873
+ if (n === "string") return Qa(i);
2874
2874
  if (n === "number") return ss(i);
2875
2875
  }
2876
2876
  }(t), t != null && (typeof t == "string" && _o(t), t != null))
@@ -2879,59 +2879,59 @@ function Ac(e, t, r) {
2879
2879
  e = e.g, tr(t), cr(e, z, ne);
2880
2880
  break;
2881
2881
  case "bigint":
2882
- r = BigInt.asUintN(64, t), r = new Ln(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), cr(e.g, r.h, r.g);
2882
+ r = BigInt.asUintN(64, t), r = new Mn(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), cr(e.g, r.h, r.g);
2883
2883
  break;
2884
2884
  default:
2885
2885
  r = _o(t), cr(e.g, r.h, r.g);
2886
2886
  }
2887
2887
  }
2888
2888
  function Tc(e, t, r) {
2889
- (t = Ar(t)) != null && t != null && (Oe(e, r, 0), $i(e.g, t));
2890
- }
2891
- function jc(e, t, r) {
2892
- (t = Ha(t)) != null && (Oe(e, r, 0), e.g.g.push(t ? 1 : 0));
2889
+ (t = Ar(t)) != null && t != null && (Oe(e, r, 0), Vi(e.g, t));
2893
2890
  }
2894
2891
  function Nc(e, t, r) {
2895
- (t = mr(t)) != null && Wi(e, r, Ma(t));
2892
+ (t = qa(t)) != null && (Oe(e, r, 0), e.g.g.push(t ? 1 : 0));
2896
2893
  }
2897
- function Sc(e, t, r, i, n) {
2898
- _i(e, r, _c(t, i), n);
2894
+ function Sc(e, t, r) {
2895
+ (t = mr(t)) != null && $i(e, r, La(t));
2899
2896
  }
2900
- function Cc(e, t, r) {
2901
- t == null || typeof t == "string" || t instanceof bt || (Zt(t) ? Zt(t) && Qn(Ga) : t = void 0), t != null && Wi(e, r, ws(t).buffer);
2897
+ function Cc(e, t, r, i, n) {
2898
+ _i(e, r, kc(t, i), n);
2902
2899
  }
2903
2900
  function Ic(e, t, r) {
2904
- return (e.h === 5 || e.h === 2) && (t = jr(t, 0 | t[k], r, !1), e.h == 2 ? Vi(e, Rn, t) : t.push(Rn(e.g)), !0);
2901
+ t == null || typeof t == "string" || t instanceof bt || (Zt(t) ? Zt(t) && Qn(Va) : t = void 0), t != null && $i(e, r, ws(t).buffer);
2902
+ }
2903
+ function Rc(e, t, r) {
2904
+ return (e.h === 5 || e.h === 2) && (t = Tr(t, 0 | t[k], r, !1), e.h == 2 ? Gi(e, In, t) : t.push(In(e.g)), !0);
2905
2905
  }
2906
2906
  var pt = ke(function(e, t, r) {
2907
2907
  if (e.h !== 1) return !1;
2908
2908
  var i = e.g;
2909
- e = In(i);
2910
- const n = In(i);
2909
+ e = Cn(i);
2910
+ const n = Cn(i);
2911
2911
  i = 2 * (n >> 31) + 1;
2912
2912
  const s = n >>> 20 & 2047;
2913
2913
  return e = 4294967296 * (1048575 & n) + e, Ee(t, r, s == 2047 ? e ? NaN : i * (1 / 0) : s == 0 ? 5e-324 * i * e : i * Math.pow(2, s - 1075) * (e + 4503599627370496)), !0;
2914
2914
  }, function(e, t, r) {
2915
- (t = Bt(t)) != null && (Oe(e, r, 1), e = e.g, (r = Wa || (Wa = new DataView(new ArrayBuffer(8)))).setFloat64(0, +t, !0), z = r.getUint32(0, !0), ne = r.getUint32(4, !0), Qr(e, z), Qr(e, ne));
2915
+ (t = Bt(t)) != null && (Oe(e, r, 1), e = e.g, (r = za || (za = new DataView(new ArrayBuffer(8)))).setFloat64(0, +t, !0), z = r.getUint32(0, !0), ne = r.getUint32(4, !0), Qr(e, z), Qr(e, ne));
2916
2916
  }, rt()), de = ke(function(e, t, r) {
2917
- return e.h === 5 && (Ee(t, r, Rn(e.g)), !0);
2917
+ return e.h === 5 && (Ee(t, r, In(e.g)), !0);
2918
2918
  }, function(e, t, r) {
2919
2919
  (t = Bt(t)) != null && (Oe(e, r, 5), e = e.g, ts(t), Qr(e, z));
2920
- }, ks), wd = Ir(Ic, function(e, t, r) {
2920
+ }, ks), wd = Ir(Rc, function(e, t, r) {
2921
2921
  if ((t = Cr(Bt, t)) != null) for (let a = 0; a < t.length; a++) {
2922
2922
  var i = e, n = r, s = t[a];
2923
2923
  s != null && (Oe(i, n, 5), i = i.g, ts(s), Qr(i, z));
2924
2924
  }
2925
- }, ks), Ns = Ir(Ic, function(e, t, r) {
2925
+ }, ks), Ns = Ir(Rc, function(e, t, r) {
2926
2926
  if ((t = Cr(Bt, t)) != null && t.length) {
2927
2927
  Oe(e, r, 2), Nr(e.g, 4 * t.length);
2928
2928
  for (let i = 0; i < t.length; i++) r = e.g, ts(t[i]), Qr(r, z);
2929
2929
  }
2930
2930
  }, ks), Dt = ke(function(e, t, r) {
2931
2931
  return e.h === 0 && (Ee(t, r, ms(e.g, is)), !0);
2932
- }, Ac, mc), pn = ke(function(e, t, r) {
2932
+ }, jc, gc), gn = ke(function(e, t, r) {
2933
2933
  return e.h === 0 && (Ee(t, r, (e = ms(e.g, is)) === 0 ? void 0 : e), !0);
2934
- }, Ac, mc), md = ke(function(e, t, r) {
2934
+ }, jc, gc), md = ke(function(e, t, r) {
2935
2935
  return e.h === 0 && (Ee(t, r, ms(e.g, rs)), !0);
2936
2936
  }, function(e, t, r) {
2937
2937
  if ((t = Ku(t)) != null && (typeof t == "string" && vo(t), t != null))
@@ -2940,70 +2940,70 @@ var pt = ke(function(e, t, r) {
2940
2940
  e = e.g, tr(t), cr(e, z, ne);
2941
2941
  break;
2942
2942
  case "bigint":
2943
- r = BigInt.asUintN(64, t), r = new Mn(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), cr(e.g, r.h, r.g);
2943
+ r = BigInt.asUintN(64, t), r = new Rn(Number(r & BigInt(4294967295)), Number(r >> BigInt(32))), cr(e.g, r.h, r.g);
2944
2944
  break;
2945
2945
  default:
2946
2946
  r = vo(t), cr(e.g, r.h, r.g);
2947
2947
  }
2948
2948
  }, rt()), se = ke(function(e, t, r) {
2949
2949
  return e.h === 0 && (Ee(t, r, Pt(e.g)), !0);
2950
- }, Tc, _s), Ki = Ir(function(e, t, r) {
2951
- return (e.h === 0 || e.h === 2) && (t = jr(t, 0 | t[k], r, !1), e.h == 2 ? Vi(e, Pt, t) : t.push(Pt(e.g)), !0);
2950
+ }, Tc, _s), Yi = Ir(function(e, t, r) {
2951
+ return (e.h === 0 || e.h === 2) && (t = Tr(t, 0 | t[k], r, !1), e.h == 2 ? Gi(e, Pt, t) : t.push(Pt(e.g)), !0);
2952
2952
  }, function(e, t, r) {
2953
2953
  if ((t = Cr(Ar, t)) != null && t.length) {
2954
2954
  r = xs(e, r);
2955
- for (let i = 0; i < t.length; i++) $i(e.g, t[i]);
2955
+ for (let i = 0; i < t.length; i++) Vi(e.g, t[i]);
2956
2956
  ys(e, r);
2957
2957
  }
2958
2958
  }, _s), ar = ke(function(e, t, r) {
2959
2959
  return e.h === 0 && (Ee(t, r, (e = Pt(e.g)) === 0 ? void 0 : e), !0);
2960
2960
  }, Tc, _s), X = ke(function(e, t, r) {
2961
2961
  return e.h === 0 && (Ee(t, r, gs(e.g)), !0);
2962
- }, jc, fc), lr = ke(function(e, t, r) {
2962
+ }, Nc, wc), lr = ke(function(e, t, r) {
2963
2963
  return e.h === 0 && (Ee(t, r, (e = gs(e.g)) === !1 ? void 0 : e), !0);
2964
- }, jc, fc), xe = Ir(function(e, t, r) {
2965
- return e.h === 2 && (e = ps(e), jr(t, 0 | t[k], r, !1).push(e), !0);
2964
+ }, Nc, wc), xe = Ir(function(e, t, r) {
2965
+ return e.h === 2 && (e = ps(e), Tr(t, 0 | t[k], r, !1).push(e), !0);
2966
2966
  }, function(e, t, r) {
2967
2967
  if ((t = Cr(mr, t)) != null) for (let a = 0; a < t.length; a++) {
2968
2968
  var i = e, n = r, s = t[a];
2969
- s != null && Wi(i, n, Ma(s));
2969
+ s != null && $i(i, n, La(s));
2970
2970
  }
2971
2971
  }, vs), It = ke(function(e, t, r) {
2972
2972
  return e.h === 2 && (Ee(t, r, (e = ps(e)) === "" ? void 0 : e), !0);
2973
- }, Nc, vs), G = ke(function(e, t, r) {
2973
+ }, Sc, vs), G = ke(function(e, t, r) {
2974
2974
  return e.h === 2 && (Ee(t, r, ps(e)), !0);
2975
- }, Nc, vs), we = function(e, t, r = bs) {
2975
+ }, Sc, vs), we = function(e, t, r = bs) {
2976
2976
  return new Sr(e, t, r);
2977
2977
  }(function(e, t, r, i, n) {
2978
- return e.h === 2 && (i = Lt(void 0, i, !0), jr(t, 0 | t[k], r, !0).push(i), ti(e, i, n), !0);
2978
+ return e.h === 2 && (i = Lt(void 0, i, !0), Tr(t, 0 | t[k], r, !0).push(i), ti(e, i, n), !0);
2979
2979
  }, function(e, t, r, i, n) {
2980
- if (Array.isArray(t)) for (let s = 0; s < t.length; s++) Sc(e, t[s], r, i, n);
2981
- }), U = zi(function(e, t, r, i, n, s) {
2982
- return e.h === 2 && (nc(t, 0 | t[k], s, r), ti(e, t = hs(t, i, r), n), !0);
2983
- }, Sc), Rc = ke(function(e, t, r) {
2984
- return e.h === 2 && (Ee(t, r, hc(e)), !0);
2985
- }, Cc, gc), gd = Ir(function(e, t, r) {
2986
- return (e.h === 0 || e.h === 2) && (t = jr(t, 0 | t[k], r, !1), e.h == 2 ? Vi(e, Et, t) : t.push(Et(e.g)), !0);
2980
+ if (Array.isArray(t)) for (let s = 0; s < t.length; s++) Cc(e, t[s], r, i, n);
2981
+ }), U = Wi(function(e, t, r, i, n, s) {
2982
+ return e.h === 2 && (sc(t, 0 | t[k], s, r), ti(e, t = hs(t, i, r), n), !0);
2983
+ }, Cc), Mc = ke(function(e, t, r) {
2984
+ return e.h === 2 && (Ee(t, r, fc(e)), !0);
2985
+ }, Ic, pc), gd = Ir(function(e, t, r) {
2986
+ return (e.h === 0 || e.h === 2) && (t = Tr(t, 0 | t[k], r, !1), e.h == 2 ? Gi(e, Et, t) : t.push(Et(e.g)), !0);
2987
2987
  }, function(e, t, r) {
2988
- if ((t = Cr(qa, t)) != null) for (let a = 0; a < t.length; a++) {
2988
+ if ((t = Cr(Ya, t)) != null) for (let a = 0; a < t.length; a++) {
2989
2989
  var i = e, n = r, s = t[a];
2990
2990
  s != null && (Oe(i, n, 0), Nr(i.g, s));
2991
2991
  }
2992
- }, wc), pd = ke(function(e, t, r) {
2992
+ }, mc), pd = ke(function(e, t, r) {
2993
2993
  return e.h === 0 && (Ee(t, r, (e = Et(e.g)) === 0 ? void 0 : e), !0);
2994
2994
  }, function(e, t, r) {
2995
- (t = qa(t)) != null && t != null && (Oe(e, r, 0), Nr(e.g, t));
2996
- }, wc), Pe = ke(function(e, t, r) {
2995
+ (t = Ya(t)) != null && t != null && (Oe(e, r, 0), Nr(e.g, t));
2996
+ }, mc), Pe = ke(function(e, t, r) {
2997
2997
  return e.h === 0 && (Ee(t, r, Pt(e.g)), !0);
2998
2998
  }, function(e, t, r) {
2999
- (t = Ar(t)) != null && (t = parseInt(t, 10), Oe(e, r, 0), $i(e.g, t));
3000
- }, pc);
2999
+ (t = Ar(t)) != null && (t = parseInt(t, 10), Oe(e, r, 0), Vi(e.g, t));
3000
+ }, xc);
3001
3001
  class xd {
3002
3002
  constructor(t, r) {
3003
- this.h = t, this.g = r, this.l = D, this.m = E, this.defaultValue = void 0;
3003
+ this.h = t, this.g = r, this.l = O, this.m = E, this.defaultValue = void 0;
3004
3004
  }
3005
3005
  register() {
3006
- Si(this);
3006
+ Ni(this);
3007
3007
  }
3008
3008
  }
3009
3009
  function it(e, t) {
@@ -3013,15 +3013,15 @@ function Ut(e, t) {
3013
3013
  return (r, i) => {
3014
3014
  if (ci.length) {
3015
3015
  const s = ci.pop();
3016
- s.o(i), gn(s.g, r, i), r = s;
3016
+ s.o(i), mn(s.g, r, i), r = s;
3017
3017
  } else r = new class {
3018
3018
  constructor(s, a) {
3019
3019
  if (bo.length) {
3020
3020
  const c = bo.pop();
3021
- gn(c, s, a), s = c;
3021
+ mn(c, s, a), s = c;
3022
3022
  } else s = new class {
3023
3023
  constructor(c, l) {
3024
- this.h = null, this.m = !1, this.g = this.l = this.j = 0, gn(this, c, l);
3024
+ this.h = null, this.m = !1, this.g = this.l = this.j = 0, mn(this, c, l);
3025
3025
  }
3026
3026
  clear() {
3027
3027
  this.h = null, this.m = !1, this.g = this.l = this.j = 0, this.aa = !1;
@@ -3035,7 +3035,7 @@ function Ut(e, t) {
3035
3035
  }(r, i);
3036
3036
  try {
3037
3037
  const s = new e(), a = s.u;
3038
- js(t)(a, r);
3038
+ Ts(t)(a, r);
3039
3039
  var n = s;
3040
3040
  } finally {
3041
3041
  r.g.clear(), r.m = -1, r.h = -1, ci.length < 100 && ci.push(r);
@@ -3043,7 +3043,7 @@ function Ut(e, t) {
3043
3043
  return n;
3044
3044
  };
3045
3045
  }
3046
- function Xi(e) {
3046
+ function Ki(e) {
3047
3047
  return function() {
3048
3048
  const t = new class {
3049
3049
  constructor() {
@@ -3061,7 +3061,7 @@ function Xi(e) {
3061
3061
  }();
3062
3062
  }
3063
3063
  }();
3064
- Ec(this.u, t, rr(Hi, qi, Yi, e)), pr(t, t.g.end());
3064
+ Ac(this.u, t, rr(zi, Hi, qi, e)), pr(t, t.g.end());
3065
3065
  const r = new Uint8Array(t.h), i = t.l, n = i.length;
3066
3066
  let s = 0;
3067
3067
  for (let a = 0; a < n; a++) {
@@ -3075,31 +3075,31 @@ var Ao = class extends y {
3075
3075
  constructor(e) {
3076
3076
  super(e);
3077
3077
  }
3078
- }, To = [0, It, ke(function(e, t, r) {
3079
- return e.h === 2 && (Ee(t, r, (e = hc(e)) === er() ? void 0 : e), !0);
3078
+ }, jo = [0, It, ke(function(e, t, r) {
3079
+ return e.h === 2 && (Ee(t, r, (e = fc(e)) === er() ? void 0 : e), !0);
3080
3080
  }, function(e, t, r) {
3081
3081
  if (t != null) {
3082
3082
  if (t instanceof y) {
3083
3083
  const i = t.Oa;
3084
- return void (i && (t = i(t), t != null && Wi(e, r, ws(t).buffer)));
3084
+ return void (i && (t = i(t), t != null && $i(e, r, ws(t).buffer)));
3085
3085
  }
3086
3086
  if (Array.isArray(t)) return;
3087
3087
  }
3088
- Cc(e, t, r);
3089
- }, gc)];
3090
- let xn, jo = globalThis.trustedTypes;
3088
+ Ic(e, t, r);
3089
+ }, pc)];
3090
+ let pn, To = globalThis.trustedTypes;
3091
3091
  function No(e) {
3092
- xn === void 0 && (xn = function() {
3092
+ pn === void 0 && (pn = function() {
3093
3093
  let r = null;
3094
- if (!jo) return r;
3094
+ if (!To) return r;
3095
3095
  try {
3096
3096
  const i = (n) => n;
3097
- r = jo.createPolicy("goog#html", { createHTML: i, createScript: i, createScriptURL: i });
3097
+ r = To.createPolicy("goog#html", { createHTML: i, createScript: i, createScriptURL: i });
3098
3098
  } catch {
3099
3099
  }
3100
3100
  return r;
3101
3101
  }());
3102
- var t = xn;
3102
+ var t = pn;
3103
3103
  return new class {
3104
3104
  constructor(r) {
3105
3105
  this.g = r;
@@ -3115,37 +3115,37 @@ function yd(e, ...t) {
3115
3115
  for (let i = 0; i < t.length; i++) r += encodeURIComponent(t[i]) + e[i + 1];
3116
3116
  return No(r);
3117
3117
  }
3118
- var Mc = [0, se, Pe, X, -1, Ki, Pe, -1], bd = class extends y {
3118
+ var Lc = [0, se, Pe, X, -1, Yi, Pe, -1], bd = class extends y {
3119
3119
  constructor(e) {
3120
3120
  super(e);
3121
3121
  }
3122
- }, Lc = [0, X, G, X, Pe, -1, Ir(function(e, t, r) {
3123
- return (e.h === 0 || e.h === 2) && (t = jr(t, 0 | t[k], r, !1), e.h == 2 ? Vi(e, ad, t) : t.push(Pt(e.g)), !0);
3122
+ }, Fc = [0, X, G, X, Pe, -1, Ir(function(e, t, r) {
3123
+ return (e.h === 0 || e.h === 2) && (t = Tr(t, 0 | t[k], r, !1), e.h == 2 ? Gi(e, ad, t) : t.push(Pt(e.g)), !0);
3124
3124
  }, function(e, t, r) {
3125
3125
  if ((t = Cr(Ar, t)) != null && t.length) {
3126
3126
  r = xs(e, r);
3127
- for (let i = 0; i < t.length; i++) $i(e.g, t[i]);
3127
+ for (let i = 0; i < t.length; i++) Vi(e.g, t[i]);
3128
3128
  ys(e, r);
3129
3129
  }
3130
- }, pc), G, -1, [0, X, -1], Pe, X, -1], Fc = [0, G, -2], So = class extends y {
3130
+ }, xc), G, -1, [0, X, -1], Pe, X, -1], Pc = [0, G, -2], So = class extends y {
3131
3131
  constructor(e) {
3132
3132
  super(e);
3133
3133
  }
3134
- }, Pc = [0], Dc = [0, se, X, 1, X, -3], De = class extends y {
3134
+ }, Dc = [0], Oc = [0, se, X, 1, X, -3], De = class extends y {
3135
3135
  constructor(e) {
3136
3136
  super(e, 2);
3137
3137
  }
3138
3138
  }, he = {};
3139
- he[336783863] = [0, G, X, -1, se, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], U, Pc, U, Lc, U, Fc, U, Dc, U, Mc, U, [0, G, -2], U, [0, G, Pe], U, [0, Pe, G, -1], U, [0, Pe, -1]], [0, G], X, [0, [1, 3], [2, 4], U, [0, Ki], -1, U, [0, xe], -1, we, [0, G, -1]], G];
3140
- var Co = [0, pn, -1, lr, -3, pn, Ki, It, ar, pn, -1, lr, ar, lr, -2, It];
3139
+ he[336783863] = [0, G, X, -1, se, [0, [1, 2, 3, 4, 5, 6, 7, 8, 9], U, Dc, U, Fc, U, Pc, U, Oc, U, Lc, U, [0, G, -2], U, [0, G, Pe], U, [0, Pe, G, -1], U, [0, Pe, -1]], [0, G], X, [0, [1, 3], [2, 4], U, [0, Yi], -1, U, [0, xe], -1, we, [0, G, -1]], G];
3140
+ var Co = [0, gn, -1, lr, -3, gn, Yi, It, ar, gn, -1, lr, ar, lr, -2, It];
3141
3141
  function Be(e, t) {
3142
- Cn(e, 2, Tr(t), "");
3142
+ Sn(e, 2, jr(t), "");
3143
3143
  }
3144
3144
  function q(e, t) {
3145
- Gi(e, 3, t);
3145
+ Ui(e, 3, t);
3146
3146
  }
3147
3147
  function F(e, t) {
3148
- Gi(e, 4, t);
3148
+ Ui(e, 4, t);
3149
3149
  }
3150
3150
  var _e = class extends y {
3151
3151
  constructor(e) {
@@ -3159,10 +3159,10 @@ function Ue(e, t) {
3159
3159
  bi(e, 1, _e, t);
3160
3160
  }
3161
3161
  function Y(e, t) {
3162
- Gi(e, 10, t);
3162
+ Ui(e, 10, t);
3163
3163
  }
3164
3164
  function B(e, t) {
3165
- Gi(e, 15, t);
3165
+ Ui(e, 15, t);
3166
3166
  }
3167
3167
  var Ce = class extends y {
3168
3168
  constructor(e) {
@@ -3171,20 +3171,20 @@ var Ce = class extends y {
3171
3171
  o(e) {
3172
3172
  return E(this, 0, 1001, e);
3173
3173
  }
3174
- }, Oc = [-500, we, [-500, It, -1, xe, -3, [-2, he, X], we, To, ar, -1, Io, Ro, we, [0, It, lr], It, Co, ar, xe, 987, xe], 4, we, [-500, G, -1, [-1, {}], 998, G], we, [-500, G, xe, -1, [-2, {}, X], 997, xe, -1], ar, we, [-500, G, xe, $r, 998, xe], xe, ar, Io, Ro, we, [0, It, -1, $r], xe, -2, Co, It, -1, lr, [0, lr, pd], 978, $r, we, To];
3175
- Ce.prototype.g = Xi(Oc);
3176
- var vd = Ut(Ce, Oc), _d = class extends y {
3174
+ }, Bc = [-500, we, [-500, It, -1, xe, -3, [-2, he, X], we, jo, ar, -1, Io, Ro, we, [0, It, lr], It, Co, ar, xe, 987, xe], 4, we, [-500, G, -1, [-1, {}], 998, G], we, [-500, G, xe, -1, [-2, {}, X], 997, xe, -1], ar, we, [-500, G, xe, $r, 998, xe], xe, ar, Io, Ro, we, [0, It, -1, $r], xe, -2, Co, It, -1, lr, [0, lr, pd], 978, $r, we, jo];
3175
+ Ce.prototype.g = Ki(Bc);
3176
+ var vd = Ut(Ce, Bc), _d = class extends y {
3177
3177
  constructor(e) {
3178
3178
  super(e);
3179
3179
  }
3180
- }, Bc = class extends y {
3180
+ }, Uc = class extends y {
3181
3181
  constructor(e) {
3182
3182
  super(e);
3183
3183
  }
3184
3184
  g() {
3185
3185
  return kt(this, _d, 1);
3186
3186
  }
3187
- }, Uc = [0, we, [0, se, de, G, -1]], Qi = Ut(Bc, Uc), kd = class extends y {
3187
+ }, Gc = [0, we, [0, se, de, G, -1]], Xi = Ut(Uc, Gc), kd = class extends y {
3188
3188
  constructor(e) {
3189
3189
  super(e);
3190
3190
  }
@@ -3192,21 +3192,21 @@ var vd = Ut(Ce, Oc), _d = class extends y {
3192
3192
  constructor(e) {
3193
3193
  super(e);
3194
3194
  }
3195
- }, yn = class extends y {
3195
+ }, xn = class extends y {
3196
3196
  constructor(e) {
3197
3197
  super(e);
3198
3198
  }
3199
3199
  h() {
3200
- return D(this, kd, 2);
3200
+ return O(this, kd, 2);
3201
3201
  }
3202
3202
  g() {
3203
3203
  return kt(this, Ed, 5);
3204
3204
  }
3205
- }, Gc = Ut(class extends y {
3205
+ }, Vc = Ut(class extends y {
3206
3206
  constructor(e) {
3207
3207
  super(e);
3208
3208
  }
3209
- }, [0, xe, Ki, Ns, [0, Pe, [0, se, -3], [0, de, -3], [0, se, -1, [0, we, [0, se, -2]]], we, [0, de, -1, G, de]], G, -1, Dt, we, [0, se, de], xe, Dt]), Vc = class extends y {
3209
+ }, [0, xe, Yi, Ns, [0, Pe, [0, se, -3], [0, de, -3], [0, se, -1, [0, we, [0, se, -2]]], we, [0, de, -1, G, de]], G, -1, Dt, we, [0, se, de], xe, Dt]), $c = class extends y {
3210
3210
  constructor(e) {
3211
3211
  super(e);
3212
3212
  }
@@ -3214,7 +3214,7 @@ var vd = Ut(Ce, Oc), _d = class extends y {
3214
3214
  constructor(e) {
3215
3215
  super(e);
3216
3216
  }
3217
- }, [0, we, [0, de, -4]]), $c = class extends y {
3217
+ }, [0, we, [0, de, -4]]), Wc = class extends y {
3218
3218
  constructor(e) {
3219
3219
  super(e);
3220
3220
  }
@@ -3226,13 +3226,13 @@ var vd = Ut(Ce, Oc), _d = class extends y {
3226
3226
  constructor(e) {
3227
3227
  super(e);
3228
3228
  }
3229
- }, Td = [0, se, -1, Ns, Pe], Wc = class extends y {
3229
+ }, jd = [0, se, -1, Ns, Pe], zc = class extends y {
3230
3230
  constructor(e) {
3231
3231
  super(e);
3232
3232
  }
3233
3233
  };
3234
- Wc.prototype.g = Xi([0, de, -4, Dt]);
3235
- var jd = class extends y {
3234
+ zc.prototype.g = Ki([0, de, -4, Dt]);
3235
+ var Td = class extends y {
3236
3236
  constructor(e) {
3237
3237
  super(e);
3238
3238
  }
@@ -3240,7 +3240,7 @@ var jd = class extends y {
3240
3240
  constructor(e) {
3241
3241
  super(e);
3242
3242
  }
3243
- }, [0, we, [0, 1, se, G, Uc], Dt]), Mo = class extends y {
3243
+ }, [0, we, [0, 1, se, G, Gc], Dt]), Mo = class extends y {
3244
3244
  constructor(e) {
3245
3245
  super(e);
3246
3246
  }
@@ -3249,22 +3249,22 @@ var jd = class extends y {
3249
3249
  super(e);
3250
3250
  }
3251
3251
  ma() {
3252
- const e = rc(this);
3252
+ const e = ic(this);
3253
3253
  return e ?? er();
3254
3254
  }
3255
3255
  }, Cd = class extends y {
3256
3256
  constructor(e) {
3257
3257
  super(e);
3258
3258
  }
3259
- }, zc = [1, 2], Id = Ut(class extends y {
3259
+ }, Hc = [1, 2], Id = Ut(class extends y {
3260
3260
  constructor(e) {
3261
3261
  super(e);
3262
3262
  }
3263
- }, [0, we, [0, zc, U, [0, Ns], U, [0, Rc], se, G], Dt]), Ss = class extends y {
3263
+ }, [0, we, [0, Hc, U, [0, Ns], U, [0, Mc], se, G], Dt]), Ss = class extends y {
3264
3264
  constructor(e) {
3265
3265
  super(e);
3266
3266
  }
3267
- }, Hc = [0, G, se, de, xe, -1], Lo = class extends y {
3267
+ }, qc = [0, G, se, de, xe, -1], Lo = class extends y {
3268
3268
  constructor(e) {
3269
3269
  super(e);
3270
3270
  }
@@ -3277,7 +3277,7 @@ var jd = class extends y {
3277
3277
  super(e);
3278
3278
  }
3279
3279
  g() {
3280
- return rc(this) != null;
3280
+ return ic(this) != null;
3281
3281
  }
3282
3282
  h() {
3283
3283
  return Xe(this, 2) != null;
@@ -3287,51 +3287,51 @@ var jd = class extends y {
3287
3287
  super(e);
3288
3288
  }
3289
3289
  g() {
3290
- return Ha(gr(this, 2)) ?? !1;
3290
+ return qa(gr(this, 2)) ?? !1;
3291
3291
  }
3292
- }, qc = [0, Rc, G, [0, se, Dt, -1], [0, md, Dt]], le = [0, qc, X, [0, gi, U, Dc, U, Lc, U, Mc, U, Pc, U, Fc], Pe], Ji = class extends y {
3292
+ }, Yc = [0, Mc, G, [0, se, Dt, -1], [0, md, Dt]], le = [0, Yc, X, [0, gi, U, Oc, U, Fc, U, Lc, U, Dc, U, Pc], Pe], Qi = class extends y {
3293
3293
  constructor(e) {
3294
3294
  super(e);
3295
3295
  }
3296
- }, Cs = [0, le, de, -1, se], Md = it(502141897, Ji);
3296
+ }, Cs = [0, le, de, -1, se], Md = it(502141897, Qi);
3297
3297
  he[502141897] = Cs;
3298
3298
  var Ld = Ut(class extends y {
3299
3299
  constructor(e) {
3300
3300
  super(e);
3301
3301
  }
3302
- }, [0, [0, Pe, -1, wd, gd], Td]), Yc = class extends y {
3302
+ }, [0, [0, Pe, -1, wd, gd], jd]), Kc = class extends y {
3303
3303
  constructor(e) {
3304
3304
  super(e);
3305
3305
  }
3306
- }, Kc = class extends y {
3306
+ }, Xc = class extends y {
3307
3307
  constructor(e) {
3308
3308
  super(e);
3309
3309
  }
3310
- }, Is = [0, le, de, [0, le], X], Xc = [0, le, Cs, Is, de, [0, [0, qc]]], Fd = it(508968150, Kc);
3311
- he[508968150] = Xc, he[508968149] = Is;
3312
- var Qc = class extends y {
3310
+ }, Is = [0, le, de, [0, le], X], Qc = [0, le, Cs, Is, de, [0, [0, Yc]]], Fd = it(508968150, Xc);
3311
+ he[508968150] = Qc, he[508968149] = Is;
3312
+ var Jc = class extends y {
3313
3313
  constructor(e) {
3314
3314
  super(e);
3315
3315
  }
3316
- }, Pd = it(513916220, Qc);
3317
- he[513916220] = [0, le, Xc, se];
3316
+ }, Pd = it(513916220, Jc);
3317
+ he[513916220] = [0, le, Qc, se];
3318
3318
  var nr = class extends y {
3319
3319
  constructor(e) {
3320
3320
  super(e);
3321
3321
  }
3322
3322
  h() {
3323
- return D(this, Ss, 2);
3323
+ return O(this, Ss, 2);
3324
3324
  }
3325
3325
  g() {
3326
3326
  H(this, 2);
3327
3327
  }
3328
- }, Jc = [0, le, Hc];
3329
- he[478825465] = Jc;
3328
+ }, Zc = [0, le, qc];
3329
+ he[478825465] = Zc;
3330
3330
  var Dd = class extends y {
3331
3331
  constructor(e) {
3332
3332
  super(e);
3333
3333
  }
3334
- }, Zc = class extends y {
3334
+ }, el = class extends y {
3335
3335
  constructor(e) {
3336
3336
  super(e);
3337
3337
  }
@@ -3343,22 +3343,18 @@ var Dd = class extends y {
3343
3343
  constructor(e) {
3344
3344
  super(e);
3345
3345
  }
3346
- }, el = class extends y {
3346
+ }, tl = class extends y {
3347
3347
  constructor(e) {
3348
3348
  super(e);
3349
3349
  }
3350
- }, Po = [0, le, [0, le], Jc, -1], tl = [0, le, de, se], Ls = [0, le, de], rl = [0, le, tl, Ls, de], Od = it(479097054, el);
3351
- he[479097054] = [0, le, rl, Po], he[463370452] = Po, he[464864288] = tl;
3350
+ }, Po = [0, le, [0, le], Zc, -1], rl = [0, le, de, se], Ls = [0, le, de], il = [0, le, rl, Ls, de], Od = it(479097054, tl);
3351
+ he[479097054] = [0, le, il, Po], he[463370452] = Po, he[464864288] = rl;
3352
3352
  var Bd = it(462713202, Ms);
3353
- he[462713202] = rl, he[474472470] = Ls;
3353
+ he[462713202] = il, he[474472470] = Ls;
3354
3354
  var Ud = class extends y {
3355
3355
  constructor(e) {
3356
3356
  super(e);
3357
3357
  }
3358
- }, il = class extends y {
3359
- constructor(e) {
3360
- super(e);
3361
- }
3362
3358
  }, nl = class extends y {
3363
3359
  constructor(e) {
3364
3360
  super(e);
@@ -3367,29 +3363,33 @@ var Ud = class extends y {
3367
3363
  constructor(e) {
3368
3364
  super(e);
3369
3365
  }
3370
- }, Fs = [0, le, de, -1, se], Fn = [0, le, de, X];
3371
- sl.prototype.g = Xi([0, le, Ls, [0, le], Cs, Is, Fs, Fn]);
3372
- var ol = class extends y {
3366
+ }, ol = class extends y {
3373
3367
  constructor(e) {
3374
3368
  super(e);
3375
3369
  }
3376
- }, Gd = it(456383383, ol);
3377
- he[456383383] = [0, le, Hc];
3370
+ }, Fs = [0, le, de, -1, se], Ln = [0, le, de, X];
3371
+ ol.prototype.g = Ki([0, le, Ls, [0, le], Cs, Is, Fs, Ln]);
3378
3372
  var al = class extends y {
3379
3373
  constructor(e) {
3380
3374
  super(e);
3381
3375
  }
3382
- }, Vd = it(476348187, al);
3383
- he[476348187] = [0, le, Rd];
3376
+ }, Gd = it(456383383, al);
3377
+ he[456383383] = [0, le, qc];
3384
3378
  var cl = class extends y {
3385
3379
  constructor(e) {
3386
3380
  super(e);
3387
3381
  }
3382
+ }, Vd = it(476348187, cl);
3383
+ he[476348187] = [0, le, Rd];
3384
+ var ll = class extends y {
3385
+ constructor(e) {
3386
+ super(e);
3387
+ }
3388
3388
  }, Do = class extends y {
3389
3389
  constructor(e) {
3390
3390
  super(e);
3391
3391
  }
3392
- }, ll = [0, Pe, -1], $d = it(458105876, class extends y {
3392
+ }, ul = [0, Pe, -1], $d = it(458105876, class extends y {
3393
3393
  constructor(e) {
3394
3394
  super(e);
3395
3395
  }
@@ -3410,51 +3410,51 @@ var cl = class extends y {
3410
3410
  if (c) {
3411
3411
  if (!s.length) return yo();
3412
3412
  l || (l = !0, Er(s));
3413
- } else l && (l = !1, s = ic(s));
3414
- return l || (64 & (0 | s[k]) ? s[k] &= -33 : 32 & n && Ii(s, 32)), te(i, n, 2, a = new ft(s, a, Xu, void 0)), a;
3413
+ } else l && (l = !1, s = nc(s));
3414
+ return l || (64 & (0 | s[k]) ? s[k] &= -33 : 32 & n && Ci(s, 32)), te(i, n, 2, a = new ft(s, a, Xu, void 0)), a;
3415
3415
  }(e, t, At(e, t, 2)), !r && Do && (e.pa = !0), e;
3416
3416
  }
3417
3417
  });
3418
- he[458105876] = [0, ll, fd, [!0, Dt, [0, G, -1, xe]]];
3418
+ he[458105876] = [0, ul, fd, [!0, Dt, [0, G, -1, xe]]];
3419
3419
  var Ps = class extends y {
3420
3420
  constructor(e) {
3421
3421
  super(e);
3422
3422
  }
3423
- }, ul = it(458105758, Ps);
3424
- he[458105758] = [0, le, G, ll];
3425
- var dl = class extends y {
3423
+ }, dl = it(458105758, Ps);
3424
+ he[458105758] = [0, le, G, ul];
3425
+ var hl = class extends y {
3426
3426
  constructor(e) {
3427
3427
  super(e);
3428
3428
  }
3429
- }, Wd = it(443442058, dl);
3429
+ }, Wd = it(443442058, hl);
3430
3430
  he[443442058] = [0, le, G, se, de, xe, -1, X, de], he[514774813] = Fs;
3431
- var hl = class extends y {
3431
+ var fl = class extends y {
3432
3432
  constructor(e) {
3433
3433
  super(e);
3434
3434
  }
3435
- }, zd = it(516587230, hl);
3436
- function Pn(e, t) {
3437
- return t = t ? t.clone() : new Ss(), e.displayNamesLocale !== void 0 ? H(t, 1, Tr(e.displayNamesLocale)) : e.displayNamesLocale === void 0 && H(t, 1), e.maxResults !== void 0 ? wt(t, 2, e.maxResults) : "maxResults" in e && H(t, 2), e.scoreThreshold !== void 0 ? b(t, 3, e.scoreThreshold) : "scoreThreshold" in e && H(t, 3), e.categoryAllowlist !== void 0 ? vi(t, 4, e.categoryAllowlist) : "categoryAllowlist" in e && H(t, 4), e.categoryDenylist !== void 0 ? vi(t, 5, e.categoryDenylist) : "categoryDenylist" in e && H(t, 5), t;
3435
+ }, zd = it(516587230, fl);
3436
+ function Fn(e, t) {
3437
+ return t = t ? t.clone() : new Ss(), e.displayNamesLocale !== void 0 ? H(t, 1, jr(e.displayNamesLocale)) : e.displayNamesLocale === void 0 && H(t, 1), e.maxResults !== void 0 ? wt(t, 2, e.maxResults) : "maxResults" in e && H(t, 2), e.scoreThreshold !== void 0 ? b(t, 3, e.scoreThreshold) : "scoreThreshold" in e && H(t, 3), e.categoryAllowlist !== void 0 ? vi(t, 4, e.categoryAllowlist) : "categoryAllowlist" in e && H(t, 4), e.categoryDenylist !== void 0 ? vi(t, 5, e.categoryDenylist) : "categoryDenylist" in e && H(t, 5), t;
3438
3438
  }
3439
3439
  function Ds(e, t = -1, r = "") {
3440
3440
  return { categories: e.map((i) => ({ index: Ke(i, 1) ?? 0 ?? -1, score: ce(i, 2) ?? 0, categoryName: Xe(i, 3) ?? "" ?? "", displayName: Xe(i, 4) ?? "" ?? "" })), headIndex: t, headName: r };
3441
3441
  }
3442
- function fl(e) {
3442
+ function wl(e) {
3443
3443
  var a, c;
3444
3444
  var t = Qt(e, 3, Bt, Xt()), r = Qt(e, 2, Ar, Xt()), i = Qt(e, 1, mr, Xt()), n = Qt(e, 9, mr, Xt());
3445
3445
  const s = { categories: [], keypoints: [] };
3446
3446
  for (let l = 0; l < t.length; l++) s.categories.push({ score: t[l], index: r[l] ?? -1, categoryName: i[l] ?? "", displayName: n[l] ?? "" });
3447
- if ((t = (a = D(e, yn, 4)) == null ? void 0 : a.h()) && (s.boundingBox = { originX: Ke(t, 1) ?? 0, originY: Ke(t, 2) ?? 0, width: Ke(t, 3) ?? 0, height: Ke(t, 4) ?? 0, angle: 0 }), (c = D(e, yn, 4)) == null ? void 0 : c.g().length) for (const l of D(e, yn, 4).g()) s.keypoints.push({ x: wi(l, 1) ?? 0, y: wi(l, 2) ?? 0, score: wi(l, 4) ?? 0, label: Xe(l, 3) ?? "" });
3447
+ if ((t = (a = O(e, xn, 4)) == null ? void 0 : a.h()) && (s.boundingBox = { originX: Ke(t, 1) ?? 0, originY: Ke(t, 2) ?? 0, width: Ke(t, 3) ?? 0, height: Ke(t, 4) ?? 0, angle: 0 }), (c = O(e, xn, 4)) == null ? void 0 : c.g().length) for (const l of O(e, xn, 4).g()) s.keypoints.push({ x: wi(l, 1) ?? 0, y: wi(l, 2) ?? 0, score: wi(l, 4) ?? 0, label: Xe(l, 3) ?? "" });
3448
3448
  return s;
3449
3449
  }
3450
- function Zi(e) {
3450
+ function Ji(e) {
3451
3451
  const t = [];
3452
- for (const r of kt(e, $c, 1)) t.push({ x: ce(r, 1) ?? 0, y: ce(r, 2) ?? 0, z: ce(r, 3) ?? 0, visibility: ce(r, 4) ?? 0 });
3452
+ for (const r of kt(e, Wc, 1)) t.push({ x: ce(r, 1) ?? 0, y: ce(r, 2) ?? 0, z: ce(r, 3) ?? 0, visibility: ce(r, 4) ?? 0 });
3453
3453
  return t;
3454
3454
  }
3455
3455
  function Wr(e) {
3456
3456
  const t = [];
3457
- for (const r of kt(e, Vc, 1)) t.push({ x: ce(r, 1) ?? 0, y: ce(r, 2) ?? 0, z: ce(r, 3) ?? 0, visibility: ce(r, 4) ?? 0 });
3457
+ for (const r of kt(e, $c, 1)) t.push({ x: ce(r, 1) ?? 0, y: ce(r, 2) ?? 0, z: ce(r, 3) ?? 0, visibility: ce(r, 4) ?? 0 });
3458
3458
  return t;
3459
3459
  }
3460
3460
  function Oo(e) {
@@ -3468,9 +3468,9 @@ function Bo(e, t) {
3468
3468
  return r / Math.sqrt(i * n);
3469
3469
  }
3470
3470
  let li;
3471
- he[516587230] = [0, le, Fs, Fn, de], he[518928384] = Fn;
3471
+ he[516587230] = [0, le, Fs, Ln, de], he[518928384] = Ln;
3472
3472
  const Hd = 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]);
3473
- async function wl() {
3473
+ async function ml() {
3474
3474
  if (li === void 0) try {
3475
3475
  await WebAssembly.instantiate(Hd), li = !0;
3476
3476
  } catch {
@@ -3479,12 +3479,12 @@ async function wl() {
3479
3479
  return li;
3480
3480
  }
3481
3481
  async function Or(e, t = yd``) {
3482
- const r = await wl() ? "wasm_internal" : "wasm_nosimd_internal";
3482
+ const r = await ml() ? "wasm_internal" : "wasm_nosimd_internal";
3483
3483
  return { wasmLoaderPath: `${t}/${e}_${r}.js`, wasmBinaryPath: `${t}/${e}_${r}.wasm` };
3484
3484
  }
3485
3485
  var Kt = class {
3486
3486
  };
3487
- function ml() {
3487
+ function gl() {
3488
3488
  var e = navigator;
3489
3489
  return typeof OffscreenCanvas < "u" && (!function(t = navigator) {
3490
3490
  return (t = t.userAgent).includes("Safari") && !t.includes("Chrome");
@@ -3503,7 +3503,7 @@ async function Uo(e) {
3503
3503
  }
3504
3504
  importScripts(e.toString());
3505
3505
  }
3506
- function gl(e) {
3506
+ function pl(e) {
3507
3507
  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];
3508
3508
  }
3509
3509
  function _(e, t, r) {
@@ -3513,7 +3513,7 @@ function Go(e, t, r) {
3513
3513
  if (!e.i.canvas) throw Error("No OpenGL canvas configured.");
3514
3514
  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`.");
3515
3515
  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);
3516
- const [i, n] = gl(t);
3516
+ const [i, n] = pl(t);
3517
3517
  return !e.l || i === e.i.canvas.width && n === e.i.canvas.height || (e.i.canvas.width = i, e.i.canvas.height = n), [i, n];
3518
3518
  }
3519
3519
  function Vo(e, t, r) {
@@ -3544,7 +3544,7 @@ Kt.forVisionTasks = function(e) {
3544
3544
  }, Kt.forAudioTasks = function(e) {
3545
3545
  return Or("audio", e);
3546
3546
  }, Kt.isSimdSupported = function() {
3547
- return wl();
3547
+ return ml();
3548
3548
  };
3549
3549
  async function qd(e, t, r, i) {
3550
3550
  return e = await (async (n, s, a, c, l) => {
@@ -3552,9 +3552,9 @@ async function qd(e, t, r, i) {
3552
3552
  return self.Module && l && ((s = self.Module).locateFile = l.locateFile, l.mainScriptUrlOrBlob && (s.mainScriptUrlOrBlob = l.mainScriptUrlOrBlob)), l = await self.ModuleFactory(self.Module || l), self.ModuleFactory = self.Module = void 0, new n(l, c);
3553
3553
  })(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(i), e;
3554
3554
  }
3555
- function bn(e, t) {
3556
- const r = D(e.baseOptions, ki, 1) || new ki();
3557
- typeof t == "string" ? (H(r, 2, Tr(t)), H(r, 1)) : t instanceof Uint8Array && (H(r, 1, Zn(t, !1)), H(r, 2)), E(e.baseOptions, 0, 1, r);
3555
+ function yn(e, t) {
3556
+ const r = O(e.baseOptions, ki, 1) || new ki();
3557
+ typeof t == "string" ? (H(r, 2, jr(t)), H(r, 1)) : t instanceof Uint8Array && (H(r, 1, Zn(t, !1)), H(r, 2)), E(e.baseOptions, 0, 1, r);
3558
3558
  }
3559
3559
  function $o(e) {
3560
3560
  try {
@@ -3568,16 +3568,16 @@ function $o(e) {
3568
3568
  function p(e, t) {
3569
3569
  e.B = Math.max(e.B, t);
3570
3570
  }
3571
- function en(e, t) {
3571
+ function Zi(e, t) {
3572
3572
  e.A = new _e(), Be(e.A, "PassThroughCalculator"), q(e.A, "free_memory"), F(e.A, "free_memory_unused_out"), Y(t, "free_memory"), Ue(t, e.A);
3573
3573
  }
3574
3574
  function xr(e, t) {
3575
3575
  q(e.A, t), F(e.A, t + "_unused_out");
3576
3576
  }
3577
- function tn(e) {
3577
+ function en(e) {
3578
3578
  e.g.addBoolToStream(!0, "free_memory", e.B);
3579
3579
  }
3580
- var Dn = class {
3580
+ var Pn = class {
3581
3581
  constructor(e) {
3582
3582
  this.g = e, this.G = [], this.B = 0, this.g.setAutoRenderToScreen(!1);
3583
3583
  }
@@ -3586,9 +3586,9 @@ var Dn = class {
3586
3586
  if (t) {
3587
3587
  const l = e.baseOptions || {};
3588
3588
  if ((r = e.baseOptions) != null && r.modelAssetBuffer && ((i = e.baseOptions) != null && i.modelAssetPath)) throw Error("Cannot set both baseOptions.modelAssetPath and baseOptions.modelAssetBuffer");
3589
- if (!((n = D(this.baseOptions, ki, 1)) != null && n.g() || (s = D(this.baseOptions, ki, 1)) != null && s.h() || (a = e.baseOptions) != null && a.modelAssetBuffer || (c = e.baseOptions) != null && c.modelAssetPath)) throw Error("Either baseOptions.modelAssetPath or baseOptions.modelAssetBuffer must be set");
3589
+ if (!((n = O(this.baseOptions, ki, 1)) != null && n.g() || (s = O(this.baseOptions, ki, 1)) != null && s.h() || (a = e.baseOptions) != null && a.modelAssetBuffer || (c = e.baseOptions) != null && c.modelAssetPath)) throw Error("Either baseOptions.modelAssetPath or baseOptions.modelAssetBuffer must be set");
3590
3590
  if (function(u, d) {
3591
- let h = D(u.baseOptions, Fo, 3);
3591
+ let h = O(u.baseOptions, Fo, 3);
3592
3592
  if (!h) {
3593
3593
  var f = h = new Fo(), w = new So();
3594
3594
  Vr(f, 4, gi, w);
@@ -3602,9 +3602,9 @@ var Dn = class {
3602
3602
  this.g.i.FS_unlink("/model.dat");
3603
3603
  } catch {
3604
3604
  }
3605
- this.g.i.FS_createDataFile("/", "model.dat", new Uint8Array(u), !0, !1, !1), bn(this, "/model.dat"), this.m(), this.J();
3605
+ this.g.i.FS_createDataFile("/", "model.dat", new Uint8Array(u), !0, !1, !1), yn(this, "/model.dat"), this.m(), this.J();
3606
3606
  });
3607
- if (l.modelAssetBuffer instanceof Uint8Array) bn(this, l.modelAssetBuffer);
3607
+ if (l.modelAssetBuffer instanceof Uint8Array) yn(this, l.modelAssetBuffer);
3608
3608
  else if (l.modelAssetBuffer) return async function(u) {
3609
3609
  const d = [];
3610
3610
  for (var h = 0; ; ) {
@@ -3618,7 +3618,7 @@ var Dn = class {
3618
3618
  for (const f of d) u.set(f, h), h += f.length;
3619
3619
  return u;
3620
3620
  }(l.modelAssetBuffer).then((u) => {
3621
- bn(this, u), this.m(), this.J();
3621
+ yn(this, u), this.m(), this.J();
3622
3622
  });
3623
3623
  }
3624
3624
  return this.m(), this.J(), Promise.resolve();
@@ -3648,7 +3648,7 @@ function _t(e, t) {
3648
3648
  if (!e) throw Error(`Unable to obtain required WebGL resource: ${t}`);
3649
3649
  return e;
3650
3650
  }
3651
- Dn.prototype.close = Dn.prototype.close;
3651
+ Pn.prototype.close = Pn.prototype.close;
3652
3652
  class Yd {
3653
3653
  constructor(t, r, i, n) {
3654
3654
  this.g = t, this.h = r, this.m = i, this.l = n;
@@ -3681,10 +3681,10 @@ function Os(e, t) {
3681
3681
  function Bs(e, t, r, i) {
3682
3682
  return Os(e, t), e.h || (e.m(), e.C()), r ? (e.s || (e.s = zo(e, !0)), r = e.s) : (e.v || (e.v = zo(e, !1)), r = e.v), t.useProgram(e.h), r.bind(), e.l(), e = i(), r.g.bindVertexArray(null), e;
3683
3683
  }
3684
- function rn(e, t, r) {
3684
+ function tn(e, t, r) {
3685
3685
  return Os(e, t), e = _t(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;
3686
3686
  }
3687
- function nn(e, t, r) {
3687
+ function rn(e, t, r) {
3688
3688
  Os(e, t), e.A || (e.A = _t(t.createFramebuffer(), "Failed to create framebuffe.")), t.bindFramebuffer(t.FRAMEBUFFER, e.A), t.framebufferTexture2D(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0, t.TEXTURE_2D, r, 0);
3689
3689
  }
3690
3690
  function Us(e) {
@@ -3738,7 +3738,7 @@ function xt(e, t) {
3738
3738
  throw Error(`Type is not supported: ${t}`);
3739
3739
  }
3740
3740
  }
3741
- function On(e) {
3741
+ function Dn(e) {
3742
3742
  var t = xt(e, 1);
3743
3743
  if (!t) {
3744
3744
  if (t = xt(e, 0)) t = new Float32Array(t).map((i) => i / 255);
@@ -3746,7 +3746,7 @@ function On(e) {
3746
3746
  t = new Float32Array(e.width * e.height);
3747
3747
  const i = yr(e);
3748
3748
  var r = Vs(e);
3749
- if (nn(r, i, pl(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) {
3749
+ if (rn(r, i, xl(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) {
3750
3750
  r = new Float32Array(e.width * e.height * 4), i.readPixels(0, 0, e.width, e.height, i.RGBA, i.FLOAT, r);
3751
3751
  for (let n = 0, s = 0; n < t.length; ++n, s += 4) t[n] = r[s];
3752
3752
  } else i.readPixels(0, 0, e.width, e.height, i.RED, i.FLOAT, t);
@@ -3755,13 +3755,13 @@ function On(e) {
3755
3755
  }
3756
3756
  return t;
3757
3757
  }
3758
- function pl(e) {
3758
+ function xl(e) {
3759
3759
  let t = xt(e, 2);
3760
3760
  if (!t) {
3761
3761
  const r = yr(e);
3762
- t = yl(e);
3763
- const i = On(e), n = xl(e);
3764
- r.texImage2D(r.TEXTURE_2D, 0, n, e.width, e.height, 0, r.RED, r.FLOAT, i), Bn(e);
3762
+ t = bl(e);
3763
+ const i = Dn(e), n = yl(e);
3764
+ r.texImage2D(r.TEXTURE_2D, 0, n, e.width, e.height, 0, r.RED, r.FLOAT, i), On(e);
3765
3765
  }
3766
3766
  return t;
3767
3767
  }
@@ -3769,7 +3769,7 @@ function yr(e) {
3769
3769
  if (!e.canvas) throw Error("Conversion to different image formats require that a canvas is passed when initializing the image.");
3770
3770
  return e.h || (e.h = _t(e.canvas.getContext("webgl2"), "You cannot use a canvas that is already bound to a different type of rendering context.")), e.h;
3771
3771
  }
3772
- function xl(e) {
3772
+ function yl(e) {
3773
3773
  if (e = yr(e), !ui) if (e.getExtension("EXT_color_buffer_float") && e.getExtension("OES_texture_float_linear") && e.getExtension("EXT_float_blend")) ui = e.R32F;
3774
3774
  else {
3775
3775
  if (!e.getExtension("EXT_color_buffer_half_float")) throw Error("GPU does not fully support 4-channel float32 or float16 formats");
@@ -3780,13 +3780,13 @@ function xl(e) {
3780
3780
  function Vs(e) {
3781
3781
  return e.l || (e.l = new Gs()), e.l;
3782
3782
  }
3783
- function yl(e) {
3783
+ function bl(e) {
3784
3784
  const t = yr(e);
3785
3785
  t.viewport(0, 0, e.width, e.height), t.activeTexture(t.TEXTURE0);
3786
3786
  let r = xt(e, 2);
3787
- return r || (r = rn(Vs(e), t, e.m ? t.LINEAR : t.NEAREST), e.g.push(r), e.j = !0), t.bindTexture(t.TEXTURE_2D, r), r;
3787
+ return r || (r = tn(Vs(e), t, e.m ? t.LINEAR : t.NEAREST), e.g.push(r), e.j = !0), t.bindTexture(t.TEXTURE_2D, r), r;
3788
3788
  }
3789
- function Bn(e) {
3789
+ function On(e) {
3790
3790
  e.h.bindTexture(e.h.TEXTURE_2D, null);
3791
3791
  }
3792
3792
  var ui, me = class {
@@ -3803,14 +3803,14 @@ var ui, me = class {
3803
3803
  return !!xt(this, 2);
3804
3804
  }
3805
3805
  ia() {
3806
- return (t = xt(e = this, 0)) || (t = On(e), t = new Uint8Array(t.map((r) => 255 * r)), e.g.push(t)), t;
3806
+ return (t = xt(e = this, 0)) || (t = Dn(e), t = new Uint8Array(t.map((r) => 255 * r)), e.g.push(t)), t;
3807
3807
  var e, t;
3808
3808
  }
3809
3809
  ha() {
3810
- return On(this);
3810
+ return Dn(this);
3811
3811
  }
3812
3812
  N() {
3813
- return pl(this);
3813
+ return xl(this);
3814
3814
  }
3815
3815
  clone() {
3816
3816
  const e = [];
@@ -3822,11 +3822,11 @@ var ui, me = class {
3822
3822
  if (!(t instanceof WebGLTexture)) throw Error(`Type is not supported: ${t}`);
3823
3823
  {
3824
3824
  const i = yr(this), n = Vs(this);
3825
- i.activeTexture(i.TEXTURE1), r = rn(n, i, this.m ? i.LINEAR : i.NEAREST), i.bindTexture(i.TEXTURE_2D, r);
3826
- const s = xl(this);
3827
- i.texImage2D(i.TEXTURE_2D, 0, s, this.width, this.height, 0, i.RED, i.FLOAT, null), i.bindTexture(i.TEXTURE_2D, null), nn(n, i, r), Bs(n, i, !1, () => {
3828
- yl(this), i.clearColor(0, 0, 0, 0), i.clear(i.COLOR_BUFFER_BIT), i.drawArrays(i.TRIANGLE_FAN, 0, 4), Bn(this);
3829
- }), Us(n), Bn(this);
3825
+ i.activeTexture(i.TEXTURE1), r = tn(n, i, this.m ? i.LINEAR : i.NEAREST), i.bindTexture(i.TEXTURE_2D, r);
3826
+ const s = yl(this);
3827
+ i.texImage2D(i.TEXTURE_2D, 0, s, this.width, this.height, 0, i.RED, i.FLOAT, null), i.bindTexture(i.TEXTURE_2D, null), rn(n, i, r), Bs(n, i, !1, () => {
3828
+ bl(this), i.clearColor(0, 0, 0, 0), i.clear(i.COLOR_BUFFER_BIT), i.drawArrays(i.TRIANGLE_FAN, 0, 4), On(this);
3829
+ }), Us(n), On(this);
3830
3830
  }
3831
3831
  }
3832
3832
  e.push(r);
@@ -3851,12 +3851,12 @@ function ht(e, t) {
3851
3851
  throw Error(`Type is not supported: ${t}`);
3852
3852
  }
3853
3853
  }
3854
- function bl(e) {
3854
+ function vl(e) {
3855
3855
  var t = ht(e, 0);
3856
3856
  if (!t) {
3857
3857
  t = br(e);
3858
- const r = sn(e), i = new Uint8Array(e.width * e.height * 4);
3859
- nn(r, t, pi(e)), t.readPixels(0, 0, e.width, e.height, t.RGBA, t.UNSIGNED_BYTE, i), Us(r), t = new ImageData(new Uint8ClampedArray(i.buffer), e.width, e.height), e.g.push(t);
3858
+ const r = nn(e), i = new Uint8Array(e.width * e.height * 4);
3859
+ rn(r, t, pi(e)), t.readPixels(0, 0, e.width, e.height, t.RGBA, t.UNSIGNED_BYTE, i), Us(r), t = new ImageData(new Uint8ClampedArray(i.buffer), e.width, e.height), e.g.push(t);
3860
3860
  }
3861
3861
  return t;
3862
3862
  }
@@ -3865,7 +3865,7 @@ function pi(e) {
3865
3865
  if (!t) {
3866
3866
  const r = br(e);
3867
3867
  t = xi(e);
3868
- const i = ht(e, 1) || bl(e);
3868
+ const i = ht(e, 1) || vl(e);
3869
3869
  r.texImage2D(r.TEXTURE_2D, 0, r.RGBA, r.RGBA, r.UNSIGNED_BYTE, i), Ur(e);
3870
3870
  }
3871
3871
  return t;
@@ -3874,21 +3874,21 @@ function br(e) {
3874
3874
  if (!e.canvas) throw Error("Conversion to different image formats require that a canvas is passed when initializing the image.");
3875
3875
  return e.h || (e.h = _t(e.canvas.getContext("webgl2"), "You cannot use a canvas that is already bound to a different type of rendering context.")), e.h;
3876
3876
  }
3877
- function sn(e) {
3877
+ function nn(e) {
3878
3878
  return e.l || (e.l = new Gs()), e.l;
3879
3879
  }
3880
3880
  function xi(e) {
3881
3881
  const t = br(e);
3882
3882
  t.viewport(0, 0, e.width, e.height), t.activeTexture(t.TEXTURE0);
3883
3883
  let r = ht(e, 2);
3884
- return r || (r = rn(sn(e), t), e.g.push(r), e.m = !0), t.bindTexture(t.TEXTURE_2D, r), r;
3884
+ return r || (r = tn(nn(e), t), e.g.push(r), e.m = !0), t.bindTexture(t.TEXTURE_2D, r), r;
3885
3885
  }
3886
3886
  function Ur(e) {
3887
3887
  e.h.bindTexture(e.h.TEXTURE_2D, null);
3888
3888
  }
3889
3889
  function qo(e) {
3890
3890
  const t = br(e);
3891
- return Bs(sn(e), t, !0, () => function(r, i) {
3891
+ return Bs(nn(e), t, !0, () => function(r, i) {
3892
3892
  const n = r.canvas;
3893
3893
  if (n.width === r.width && n.height === r.height) return i();
3894
3894
  const s = n.width, a = n.height;
@@ -3912,7 +3912,7 @@ var ge = class {
3912
3912
  return !!ht(this, 2);
3913
3913
  }
3914
3914
  Aa() {
3915
- return bl(this);
3915
+ return vl(this);
3916
3916
  }
3917
3917
  za() {
3918
3918
  var e = ht(this, 1);
@@ -3927,8 +3927,8 @@ var ge = class {
3927
3927
  let r;
3928
3928
  if (t instanceof ImageData) r = new ImageData(t.data, this.width, this.height);
3929
3929
  else if (t instanceof WebGLTexture) {
3930
- const i = br(this), n = sn(this);
3931
- i.activeTexture(i.TEXTURE1), r = rn(n, i), i.bindTexture(i.TEXTURE_2D, r), i.texImage2D(i.TEXTURE_2D, 0, i.RGBA, this.width, this.height, 0, i.RGBA, i.UNSIGNED_BYTE, null), i.bindTexture(i.TEXTURE_2D, null), nn(n, i, r), Bs(n, i, !1, () => {
3930
+ const i = br(this), n = nn(this);
3931
+ i.activeTexture(i.TEXTURE1), r = tn(n, i), i.bindTexture(i.TEXTURE_2D, r), i.texImage2D(i.TEXTURE_2D, 0, i.RGBA, this.width, this.height, 0, i.RGBA, i.UNSIGNED_BYTE, null), i.bindTexture(i.TEXTURE_2D, null), rn(n, i, r), Bs(n, i, !1, () => {
3932
3932
  xi(this), i.clearColor(0, 0, 0, 0), i.clear(i.COLOR_BUFFER_BIT), i.drawArrays(i.TRIANGLE_FAN, 0, 4), Ur(this);
3933
3933
  }), Us(n), Ur(this);
3934
3934
  } else {
@@ -3956,7 +3956,7 @@ const Kd = /* @__PURE__ */ function(e) {
3956
3956
  };
3957
3957
  }((Ko = class {
3958
3958
  constructor(e, t) {
3959
- 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 : ml() ? 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"));
3959
+ 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 : gl() ? 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"));
3960
3960
  }
3961
3961
  async initializeGraph(e) {
3962
3962
  const t = await (await fetch(e)).arrayBuffer();
@@ -4316,11 +4316,11 @@ var Ko, Qe = class extends Kd {
4316
4316
  async function L(e, t, r) {
4317
4317
  return async function(i, n, s, a) {
4318
4318
  return qd(i, n, s, a);
4319
- }(e, r.canvas ?? (ml() ? void 0 : document.createElement("canvas")), t, r);
4319
+ }(e, r.canvas ?? (gl() ? void 0 : document.createElement("canvas")), t, r);
4320
4320
  }
4321
- function vl(e, t, r, i) {
4321
+ function _l(e, t, r, i) {
4322
4322
  if (e.U) {
4323
- const s = new Wc();
4323
+ const s = new zc();
4324
4324
  if (r != null && r.regionOfInterest) {
4325
4325
  if (!e.na) throw Error("This task doesn't support region-of-interest.");
4326
4326
  var n = r.regionOfInterest;
@@ -4331,7 +4331,7 @@ function vl(e, t, r, i) {
4331
4331
  if (r != null && r.rotationDegrees) {
4332
4332
  if ((r == null ? void 0 : r.rotationDegrees) % 90 != 0) throw Error("Expected rotation to be a multiple of 90°.");
4333
4333
  if (b(s, 5, -Math.PI * r.rotationDegrees / 180), (r == null ? void 0 : r.rotationDegrees) % 180 != 0) {
4334
- const [a, c] = gl(t);
4334
+ const [a, c] = pl(t);
4335
4335
  r = ce(s, 3) * c / a, n = ce(s, 4) * a / c, b(s, 4, r), b(s, 3, n);
4336
4336
  }
4337
4337
  }
@@ -4342,12 +4342,12 @@ function vl(e, t, r, i) {
4342
4342
  function Je(e, t, r) {
4343
4343
  var i;
4344
4344
  if ((i = e.baseOptions) != null && i.g()) throw Error("Task is not initialized with image mode. 'runningMode' must be set to 'IMAGE'.");
4345
- vl(e, t, r, e.B + 1);
4345
+ _l(e, t, r, e.B + 1);
4346
4346
  }
4347
4347
  function mt(e, t, r, i) {
4348
4348
  var n;
4349
4349
  if (!((n = e.baseOptions) != null && n.g())) throw Error("Task is not initialized with video mode. 'runningMode' must be set to 'VIDEO'.");
4350
- vl(e, t, r, i);
4350
+ _l(e, t, r, i);
4351
4351
  }
4352
4352
  function vr(e, t, r, i) {
4353
4353
  var n = t.data;
@@ -4355,7 +4355,7 @@ function vr(e, t, r, i) {
4355
4355
  if ((n instanceof Uint8Array || n instanceof Float32Array) && n.length !== a) throw Error("Unsupported channel count: " + n.length / a);
4356
4356
  return e = new me([n], r, !1, e.g.i.canvas, e.P, s, t), i ? e.clone() : e;
4357
4357
  }
4358
- var Se = class extends Dn {
4358
+ var Se = class extends Pn {
4359
4359
  constructor(e, t, r, i) {
4360
4360
  super(e), this.g = e, this.Z = t, this.U = r, this.na = i, this.P = new Gs();
4361
4361
  }
@@ -4370,10 +4370,10 @@ var Se = class extends Dn {
4370
4370
  Se.prototype.close = Se.prototype.close;
4371
4371
  var ze = class extends Se {
4372
4372
  constructor(e, t) {
4373
- super(new Qe(e, t), "image_in", "norm_rect_in", !1), this.j = { detections: [] }, E(e = this.h = new Ji(), 0, 1, t = new Q()), b(this.h, 2, 0.5), b(this.h, 3, 0.3);
4373
+ super(new Qe(e, t), "image_in", "norm_rect_in", !1), this.j = { detections: [] }, E(e = this.h = new Qi(), 0, 1, t = new Q()), b(this.h, 2, 0.5), b(this.h, 3, 0.3);
4374
4374
  }
4375
4375
  get baseOptions() {
4376
- return D(this.h, Q, 1);
4376
+ return O(this.h, Q, 1);
4377
4377
  }
4378
4378
  set baseOptions(e) {
4379
4379
  E(this.h, 0, 1, e);
@@ -4394,7 +4394,7 @@ var ze = class extends Se {
4394
4394
  tt(t, Md, this.h);
4395
4395
  const r = new _e();
4396
4396
  Be(r, "mediapipe.tasks.vision.face_detector.FaceDetectorGraph"), q(r, "IMAGE:image_in"), q(r, "NORM_RECT:norm_rect_in"), F(r, "DETECTIONS:detections"), r.o(t), Ue(e, r), this.g.attachProtoVectorListener("detections", (i, n) => {
4397
- for (const s of i) i = Gc(s), this.j.detections.push(fl(i));
4397
+ for (const s of i) i = Vc(s), this.j.detections.push(wl(i));
4398
4398
  p(this, n);
4399
4399
  }), this.g.attachEmptyPacketListener("detections", (i) => {
4400
4400
  p(this, i);
@@ -4408,16 +4408,16 @@ ze.prototype.detectForVideo = ze.prototype.F, ze.prototype.detect = ze.prototype
4408
4408
  }, ze.createFromOptions = function(e, t) {
4409
4409
  return L(ze, e, t);
4410
4410
  };
4411
- var $s = nt([61, 146], [146, 91], [91, 181], [181, 84], [84, 17], [17, 314], [314, 405], [405, 321], [321, 375], [375, 291], [61, 185], [185, 40], [40, 39], [39, 37], [37, 0], [0, 267], [267, 269], [269, 270], [270, 409], [409, 291], [78, 95], [95, 88], [88, 178], [178, 87], [87, 14], [14, 317], [317, 402], [402, 318], [318, 324], [324, 308], [78, 191], [191, 80], [80, 81], [81, 82], [82, 13], [13, 312], [312, 311], [311, 310], [310, 415], [415, 308]), Ws = nt([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]), zs = nt([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), _l = nt([474, 475], [475, 476], [476, 477], [477, 474]), Hs = nt([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]), qs = nt([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), kl = nt([469, 470], [470, 471], [471, 472], [472, 469]), Ys = nt([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]), El = [...$s, ...Ws, ...zs, ...Hs, ...qs, ...Ys], Al = nt([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]);
4411
+ var $s = nt([61, 146], [146, 91], [91, 181], [181, 84], [84, 17], [17, 314], [314, 405], [405, 321], [321, 375], [375, 291], [61, 185], [185, 40], [40, 39], [39, 37], [37, 0], [0, 267], [267, 269], [269, 270], [270, 409], [409, 291], [78, 95], [95, 88], [88, 178], [178, 87], [87, 14], [14, 317], [317, 402], [402, 318], [318, 324], [324, 308], [78, 191], [191, 80], [80, 81], [81, 82], [82, 13], [13, 312], [312, 311], [311, 310], [310, 415], [415, 308]), Ws = nt([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]), zs = nt([276, 283], [283, 282], [282, 295], [295, 285], [300, 293], [293, 334], [334, 296], [296, 336]), kl = nt([474, 475], [475, 476], [476, 477], [477, 474]), Hs = nt([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]), qs = nt([46, 53], [53, 52], [52, 65], [65, 55], [70, 63], [63, 105], [105, 66], [66, 107]), El = nt([469, 470], [470, 471], [471, 472], [472, 469]), Ys = nt([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]), Al = [...$s, ...Ws, ...zs, ...Hs, ...qs, ...Ys], jl = nt([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]);
4412
4412
  function Xo(e) {
4413
4413
  e.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] };
4414
4414
  }
4415
4415
  var ee = class extends Se {
4416
4416
  constructor(e, t) {
4417
- super(new Qe(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, E(e = this.h = new Kc(), 0, 1, t = new Q()), this.v = new Yc(), E(this.h, 0, 3, this.v), this.s = new Ji(), E(this.h, 0, 2, this.s), wt(this.s, 4, 1), b(this.s, 2, 0.5), b(this.v, 2, 0.5), b(this.h, 4, 0.5);
4417
+ super(new Qe(e, t), "image_in", "norm_rect", !1), this.j = { faceLandmarks: [], faceBlendshapes: [], facialTransformationMatrixes: [] }, this.outputFacialTransformationMatrixes = this.outputFaceBlendshapes = !1, E(e = this.h = new Xc(), 0, 1, t = new Q()), this.v = new Kc(), E(this.h, 0, 3, this.v), this.s = new Qi(), E(this.h, 0, 2, this.s), wt(this.s, 4, 1), b(this.s, 2, 0.5), b(this.v, 2, 0.5), b(this.h, 4, 0.5);
4418
4418
  }
4419
4419
  get baseOptions() {
4420
- return D(this.h, Q, 1);
4420
+ return O(this.h, Q, 1);
4421
4421
  }
4422
4422
  set baseOptions(e) {
4423
4423
  E(this.h, 0, 1, e);
@@ -4438,17 +4438,17 @@ var ee = class extends Se {
4438
4438
  tt(t, Fd, this.h);
4439
4439
  const r = new _e();
4440
4440
  Be(r, "mediapipe.tasks.vision.face_landmarker.FaceLandmarkerGraph"), q(r, "IMAGE:image_in"), q(r, "NORM_RECT:norm_rect"), F(r, "NORM_LANDMARKS:face_landmarks"), r.o(t), Ue(e, r), this.g.attachProtoVectorListener("face_landmarks", (i, n) => {
4441
- for (const s of i) i = ri(s), this.j.faceLandmarks.push(Zi(i));
4441
+ for (const s of i) i = ri(s), this.j.faceLandmarks.push(Ji(i));
4442
4442
  p(this, n);
4443
4443
  }), this.g.attachEmptyPacketListener("face_landmarks", (i) => {
4444
4444
  p(this, i);
4445
4445
  }), this.outputFaceBlendshapes && (B(e, "blendshapes"), F(r, "BLENDSHAPES:blendshapes"), this.g.attachProtoVectorListener("blendshapes", (i, n) => {
4446
- if (this.outputFaceBlendshapes) for (const s of i) i = Qi(s), this.j.faceBlendshapes.push(Ds(i.g() ?? []));
4446
+ if (this.outputFaceBlendshapes) for (const s of i) i = Xi(s), this.j.faceBlendshapes.push(Ds(i.g() ?? []));
4447
4447
  p(this, n);
4448
4448
  }), this.g.attachEmptyPacketListener("blendshapes", (i) => {
4449
4449
  p(this, i);
4450
4450
  })), this.outputFacialTransformationMatrixes && (B(e, "face_geometry"), F(r, "FACE_GEOMETRY:face_geometry"), this.g.attachProtoVectorListener("face_geometry", (i, n) => {
4451
- if (this.outputFacialTransformationMatrixes) for (const s of i) (i = D(Ld(s), Ad, 2)) && this.j.facialTransformationMatrixes.push({ rows: Ke(i, 1) ?? 0 ?? 0, columns: Ke(i, 2) ?? 0 ?? 0, data: Qt(i, 3, Bt, Xt()).slice() ?? [] });
4451
+ if (this.outputFacialTransformationMatrixes) for (const s of i) (i = O(Ld(s), Ad, 2)) && this.j.facialTransformationMatrixes.push({ rows: Ke(i, 1) ?? 0 ?? 0, columns: Ke(i, 2) ?? 0 ?? 0, data: Qt(i, 3, Bt, Xt()).slice() ?? [] });
4452
4452
  p(this, n);
4453
4453
  }), this.g.attachEmptyPacketListener("face_geometry", (i) => {
4454
4454
  p(this, i);
@@ -4461,13 +4461,13 @@ ee.prototype.detectForVideo = ee.prototype.F, ee.prototype.detect = ee.prototype
4461
4461
  return L(ee, e, { baseOptions: { modelAssetBuffer: t } });
4462
4462
  }, ee.createFromOptions = function(e, t) {
4463
4463
  return L(ee, e, t);
4464
- }, ee.FACE_LANDMARKS_LIPS = $s, ee.FACE_LANDMARKS_LEFT_EYE = Ws, ee.FACE_LANDMARKS_LEFT_EYEBROW = zs, ee.FACE_LANDMARKS_LEFT_IRIS = _l, ee.FACE_LANDMARKS_RIGHT_EYE = Hs, ee.FACE_LANDMARKS_RIGHT_EYEBROW = qs, ee.FACE_LANDMARKS_RIGHT_IRIS = kl, ee.FACE_LANDMARKS_FACE_OVAL = Ys, ee.FACE_LANDMARKS_CONTOURS = El, ee.FACE_LANDMARKS_TESSELATION = Al;
4464
+ }, ee.FACE_LANDMARKS_LIPS = $s, ee.FACE_LANDMARKS_LEFT_EYE = Ws, ee.FACE_LANDMARKS_LEFT_EYEBROW = zs, ee.FACE_LANDMARKS_LEFT_IRIS = kl, ee.FACE_LANDMARKS_RIGHT_EYE = Hs, ee.FACE_LANDMARKS_RIGHT_EYEBROW = qs, ee.FACE_LANDMARKS_RIGHT_IRIS = El, ee.FACE_LANDMARKS_FACE_OVAL = Ys, ee.FACE_LANDMARKS_CONTOURS = Al, ee.FACE_LANDMARKS_TESSELATION = jl;
4465
4465
  var lt = class extends Se {
4466
4466
  constructor(e, t) {
4467
- super(new Qe(e, t), "image_in", "norm_rect", !0), E(e = this.j = new Qc(), 0, 1, t = new Q());
4467
+ super(new Qe(e, t), "image_in", "norm_rect", !0), E(e = this.j = new Jc(), 0, 1, t = new Q());
4468
4468
  }
4469
4469
  get baseOptions() {
4470
- return D(this.j, Q, 1);
4470
+ return O(this.j, Q, 1);
4471
4471
  }
4472
4472
  set baseOptions(e) {
4473
4473
  E(this.j, 0, 1, e);
@@ -4520,7 +4520,7 @@ function Jo(e) {
4520
4520
  function Zo(e, t = !0) {
4521
4521
  const r = [];
4522
4522
  for (const n of e) {
4523
- var i = Qi(n);
4523
+ var i = Xi(n);
4524
4524
  e = [];
4525
4525
  for (const s of i.g()) i = t && Ke(s, 1) != null ? Ke(s, 1) ?? 0 : -1, e.push({ score: ce(s, 2) ?? 0, index: i, categoryName: Xe(s, 3) ?? "" ?? "", displayName: Xe(s, 4) ?? "" ?? "" });
4526
4526
  r.push(e);
@@ -4529,10 +4529,10 @@ function Zo(e, t = !0) {
4529
4529
  }
4530
4530
  var Re = class extends Se {
4531
4531
  constructor(e, t) {
4532
- super(new Qe(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], E(e = this.j = new el(), 0, 1, t = new Q()), this.s = new Ms(), E(this.j, 0, 2, this.s), this.C = new Rs(), E(this.s, 0, 3, this.C), this.v = new Zc(), E(this.s, 0, 2, this.v), this.h = new Dd(), E(this.j, 0, 3, this.h), b(this.v, 2, 0.5), b(this.s, 4, 0.5), b(this.C, 2, 0.5);
4532
+ super(new Qe(e, t), "image_in", "norm_rect", !1), this.gestures = [], this.landmarks = [], this.worldLandmarks = [], this.handedness = [], E(e = this.j = new tl(), 0, 1, t = new Q()), this.s = new Ms(), E(this.j, 0, 2, this.s), this.C = new Rs(), E(this.s, 0, 3, this.C), this.v = new el(), E(this.s, 0, 2, this.v), this.h = new Dd(), E(this.j, 0, 3, this.h), b(this.v, 2, 0.5), b(this.s, 4, 0.5), b(this.C, 2, 0.5);
4533
4533
  }
4534
4534
  get baseOptions() {
4535
- return D(this.j, Q, 1);
4535
+ return O(this.j, Q, 1);
4536
4536
  }
4537
4537
  set baseOptions(e) {
4538
4538
  E(this.j, 0, 1, e);
@@ -4540,10 +4540,10 @@ var Re = class extends Se {
4540
4540
  o(e) {
4541
4541
  var n, s, a, c;
4542
4542
  if (wt(this.v, 3, e.numHands ?? 1), "minHandDetectionConfidence" in e && b(this.v, 2, e.minHandDetectionConfidence ?? 0.5), "minTrackingConfidence" in e && b(this.s, 4, e.minTrackingConfidence ?? 0.5), "minHandPresenceConfidence" in e && b(this.C, 2, e.minHandPresenceConfidence ?? 0.5), e.cannedGesturesClassifierOptions) {
4543
- var t = new nr(), r = t, i = Pn(e.cannedGesturesClassifierOptions, (n = D(this.h, nr, 3)) == null ? void 0 : n.h());
4543
+ var t = new nr(), r = t, i = Fn(e.cannedGesturesClassifierOptions, (n = O(this.h, nr, 3)) == null ? void 0 : n.h());
4544
4544
  E(r, 0, 2, i), E(this.h, 0, 3, t);
4545
- } else e.cannedGesturesClassifierOptions === void 0 && ((s = D(this.h, nr, 3)) == null || s.g());
4546
- return e.customGesturesClassifierOptions ? (E(r = t = new nr(), 0, 2, i = Pn(e.customGesturesClassifierOptions, (a = D(this.h, nr, 4)) == null ? void 0 : a.h())), E(this.h, 0, 4, t)) : e.customGesturesClassifierOptions === void 0 && ((c = D(this.h, nr, 4)) == null || c.g()), this.l(e);
4545
+ } else e.cannedGesturesClassifierOptions === void 0 && ((s = O(this.h, nr, 3)) == null || s.g());
4546
+ return e.customGesturesClassifierOptions ? (E(r = t = new nr(), 0, 2, i = Fn(e.customGesturesClassifierOptions, (a = O(this.h, nr, 4)) == null ? void 0 : a.h())), E(this.h, 0, 4, t)) : e.customGesturesClassifierOptions === void 0 && ((c = O(this.h, nr, 4)) == null || c.g()), this.l(e);
4547
4547
  }
4548
4548
  Fa(e, t) {
4549
4549
  return Qo(this), Je(this, e, t), Jo(this);
@@ -4561,7 +4561,7 @@ var Re = class extends Se {
4561
4561
  for (const s of i) {
4562
4562
  i = ri(s);
4563
4563
  const a = [];
4564
- for (const c of kt(i, $c, 1)) a.push({ x: ce(c, 1) ?? 0, y: ce(c, 2) ?? 0, z: ce(c, 3) ?? 0, visibility: ce(c, 4) ?? 0 });
4564
+ for (const c of kt(i, Wc, 1)) a.push({ x: ce(c, 1) ?? 0, y: ce(c, 2) ?? 0, z: ce(c, 3) ?? 0, visibility: ce(c, 4) ?? 0 });
4565
4565
  this.landmarks.push(a);
4566
4566
  }
4567
4567
  p(this, n);
@@ -4571,7 +4571,7 @@ var Re = class extends Se {
4571
4571
  for (const s of i) {
4572
4572
  i = ur(s);
4573
4573
  const a = [];
4574
- for (const c of kt(i, Vc, 1)) a.push({ x: ce(c, 1) ?? 0, y: ce(c, 2) ?? 0, z: ce(c, 3) ?? 0, visibility: ce(c, 4) ?? 0 });
4574
+ for (const c of kt(i, $c, 1)) a.push({ x: ce(c, 1) ?? 0, y: ce(c, 2) ?? 0, z: ce(c, 3) ?? 0, visibility: ce(c, 4) ?? 0 });
4575
4575
  this.worldLandmarks.push(a);
4576
4576
  }
4577
4577
  p(this, n);
@@ -4600,10 +4600,10 @@ Re.prototype.recognizeForVideo = Re.prototype.Ga, Re.prototype.recognize = Re.pr
4600
4600
  }, Re.HAND_CONNECTIONS = Ks;
4601
4601
  var Me = class extends Se {
4602
4602
  constructor(e, t) {
4603
- super(new Qe(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], E(e = this.h = new Ms(), 0, 1, t = new Q()), this.s = new Rs(), E(this.h, 0, 3, this.s), this.j = new Zc(), E(this.h, 0, 2, this.j), wt(this.j, 3, 1), b(this.j, 2, 0.5), b(this.s, 2, 0.5), b(this.h, 4, 0.5);
4603
+ super(new Qe(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.handedness = [], E(e = this.h = new Ms(), 0, 1, t = new Q()), this.s = new Rs(), E(this.h, 0, 3, this.s), this.j = new el(), E(this.h, 0, 2, this.j), wt(this.j, 3, 1), b(this.j, 2, 0.5), b(this.s, 2, 0.5), b(this.h, 4, 0.5);
4604
4604
  }
4605
4605
  get baseOptions() {
4606
- return D(this.h, Q, 1);
4606
+ return O(this.h, Q, 1);
4607
4607
  }
4608
4608
  set baseOptions(e) {
4609
4609
  E(this.h, 0, 1, e);
@@ -4624,7 +4624,7 @@ var Me = class extends Se {
4624
4624
  tt(t, Bd, this.h);
4625
4625
  const r = new _e();
4626
4626
  Be(r, "mediapipe.tasks.vision.hand_landmarker.HandLandmarkerGraph"), q(r, "IMAGE:image_in"), q(r, "NORM_RECT:norm_rect"), F(r, "LANDMARKS:hand_landmarks"), F(r, "WORLD_LANDMARKS:world_hand_landmarks"), F(r, "HANDEDNESS:handedness"), r.o(t), Ue(e, r), this.g.attachProtoVectorListener("hand_landmarks", (i, n) => {
4627
- for (const s of i) i = ri(s), this.landmarks.push(Zi(i));
4627
+ for (const s of i) i = ri(s), this.landmarks.push(Ji(i));
4628
4628
  p(this, n);
4629
4629
  }), this.g.attachEmptyPacketListener("hand_landmarks", (i) => {
4630
4630
  p(this, i);
@@ -4637,7 +4637,7 @@ var Me = class extends Se {
4637
4637
  var s = this.handedness, a = s.push;
4638
4638
  const c = [];
4639
4639
  for (const l of i) {
4640
- i = Qi(l);
4640
+ i = Xi(l);
4641
4641
  const u = [];
4642
4642
  for (const d of i.g()) u.push({ score: ce(d, 2) ?? 0, index: Ke(d, 1) ?? 0 ?? -1, categoryName: Xe(d, 3) ?? "" ?? "", displayName: Xe(d, 4) ?? "" ?? "" });
4643
4643
  c.push(u);
@@ -4664,18 +4664,18 @@ function ra(e) {
4664
4664
  if (!e.C) return e.h;
4665
4665
  e.C(e.h);
4666
4666
  } finally {
4667
- tn(e);
4667
+ en(e);
4668
4668
  }
4669
4669
  }
4670
4670
  function di(e, t) {
4671
- e = ri(e), t.push(Zi(e));
4671
+ e = ri(e), t.push(Ji(e));
4672
4672
  }
4673
4673
  var K = class extends Se {
4674
4674
  constructor(e, t) {
4675
- super(new Qe(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, E(e = this.j = new sl(), 0, 1, t = new Q()), this.K = new Rs(), E(this.j, 0, 2, this.K), this.Y = new Ud(), E(this.j, 0, 3, this.Y), this.s = new Ji(), E(this.j, 0, 4, this.s), this.H = new Yc(), E(this.j, 0, 5, this.H), this.v = new il(), E(this.j, 0, 6, this.v), this.L = new nl(), E(this.j, 0, 7, this.L), b(this.s, 2, 0.5), b(this.s, 3, 0.3), b(this.H, 2, 0.5), b(this.v, 2, 0.5), b(this.v, 3, 0.3), b(this.L, 2, 0.5), b(this.K, 2, 0.5);
4675
+ super(new Qe(e, t), "input_frames_image", null, !1), this.h = { faceLandmarks: [], faceBlendshapes: [], poseLandmarks: [], poseWorldLandmarks: [], poseSegmentationMasks: [], leftHandLandmarks: [], leftHandWorldLandmarks: [], rightHandLandmarks: [], rightHandWorldLandmarks: [] }, this.outputPoseSegmentationMasks = this.outputFaceBlendshapes = !1, E(e = this.j = new ol(), 0, 1, t = new Q()), this.K = new Rs(), E(this.j, 0, 2, this.K), this.Y = new Ud(), E(this.j, 0, 3, this.Y), this.s = new Qi(), E(this.j, 0, 4, this.s), this.H = new Kc(), E(this.j, 0, 5, this.H), this.v = new nl(), E(this.j, 0, 6, this.v), this.L = new sl(), E(this.j, 0, 7, this.L), b(this.s, 2, 0.5), b(this.s, 3, 0.3), b(this.H, 2, 0.5), b(this.v, 2, 0.5), b(this.v, 3, 0.3), b(this.L, 2, 0.5), b(this.K, 2, 0.5);
4676
4676
  }
4677
4677
  get baseOptions() {
4678
- return D(this.j, Q, 1);
4678
+ return O(this.j, Q, 1);
4679
4679
  }
4680
4680
  set baseOptions(e) {
4681
4681
  E(this.j, 0, 1, e);
@@ -4695,15 +4695,15 @@ var K = class extends Se {
4695
4695
  var e = new Ce();
4696
4696
  Y(e, "input_frames_image"), B(e, "pose_landmarks"), B(e, "pose_world_landmarks"), B(e, "face_landmarks"), B(e, "left_hand_landmarks"), B(e, "left_hand_world_landmarks"), B(e, "right_hand_landmarks"), B(e, "right_hand_world_landmarks");
4697
4697
  const t = new De(), r = new Ao();
4698
- Cn(r, 1, Tr("type.googleapis.com/mediapipe.tasks.vision.holistic_landmarker.proto.HolisticLandmarkerGraphOptions"), ""), function(n, s) {
4699
- if (s != null) if (Array.isArray(s)) H(n, 2, Oi(s, as, void 0, void 0, !1));
4698
+ Sn(r, 1, jr("type.googleapis.com/mediapipe.tasks.vision.holistic_landmarker.proto.HolisticLandmarkerGraphOptions"), ""), function(n, s) {
4699
+ if (s != null) if (Array.isArray(s)) H(n, 2, Di(s, as, void 0, void 0, !1));
4700
4700
  else {
4701
4701
  if (!(typeof s == "string" || s instanceof bt || Zt(s))) throw Error("invalid value in Any.value field: " + s + " expected a ByteString, a base64 encoded string, a Uint8Array or a jspb array");
4702
- Cn(n, 2, Zn(s, !1), er());
4702
+ Sn(n, 2, Zn(s, !1), er());
4703
4703
  }
4704
4704
  }(r, this.j.g());
4705
4705
  const i = new _e();
4706
- Be(i, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), bi(i, 8, Ao, r), q(i, "IMAGE:input_frames_image"), F(i, "POSE_LANDMARKS:pose_landmarks"), F(i, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), F(i, "FACE_LANDMARKS:face_landmarks"), F(i, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), F(i, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), F(i, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), F(i, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), i.o(t), Ue(e, i), en(this, e), this.g.attachProtoListener("pose_landmarks", (n, s) => {
4706
+ Be(i, "mediapipe.tasks.vision.holistic_landmarker.HolisticLandmarkerGraph"), bi(i, 8, Ao, r), q(i, "IMAGE:input_frames_image"), F(i, "POSE_LANDMARKS:pose_landmarks"), F(i, "POSE_WORLD_LANDMARKS:pose_world_landmarks"), F(i, "FACE_LANDMARKS:face_landmarks"), F(i, "LEFT_HAND_LANDMARKS:left_hand_landmarks"), F(i, "LEFT_HAND_WORLD_LANDMARKS:left_hand_world_landmarks"), F(i, "RIGHT_HAND_LANDMARKS:right_hand_landmarks"), F(i, "RIGHT_HAND_WORLD_LANDMARKS:right_hand_world_landmarks"), i.o(t), Ue(e, i), Zi(this, e), this.g.attachProtoListener("pose_landmarks", (n, s) => {
4707
4707
  di(n, this.h.poseLandmarks), p(this, s);
4708
4708
  }), this.g.attachEmptyPacketListener("pose_landmarks", (n) => {
4709
4709
  p(this, n);
@@ -4722,7 +4722,7 @@ var K = class extends Se {
4722
4722
  p(this, n);
4723
4723
  }), this.outputFaceBlendshapes && (B(e, "extra_blendshapes"), F(i, "FACE_BLENDSHAPES:extra_blendshapes"), this.g.attachProtoListener("extra_blendshapes", (n, s) => {
4724
4724
  var a = this.h.faceBlendshapes;
4725
- this.outputFaceBlendshapes && (n = Qi(n), a.push(Ds(n.g() ?? []))), p(this, s);
4725
+ this.outputFaceBlendshapes && (n = Xi(n), a.push(Ds(n.g() ?? []))), p(this, s);
4726
4726
  }), this.g.attachEmptyPacketListener("extra_blendshapes", (n) => {
4727
4727
  p(this, n);
4728
4728
  })), this.g.attachProtoListener("left_hand_landmarks", (n, s) => {
@@ -4752,19 +4752,19 @@ K.prototype.detectForVideo = K.prototype.F, K.prototype.detect = K.prototype.D,
4752
4752
  return L(K, e, { baseOptions: { modelAssetBuffer: t } });
4753
4753
  }, K.createFromOptions = function(e, t) {
4754
4754
  return L(K, e, t);
4755
- }, K.HAND_CONNECTIONS = Ks, K.POSE_CONNECTIONS = Tl, K.FACE_LANDMARKS_LIPS = $s, K.FACE_LANDMARKS_LEFT_EYE = Ws, K.FACE_LANDMARKS_LEFT_EYEBROW = zs, K.FACE_LANDMARKS_LEFT_IRIS = _l, K.FACE_LANDMARKS_RIGHT_EYE = Hs, K.FACE_LANDMARKS_RIGHT_EYEBROW = qs, K.FACE_LANDMARKS_RIGHT_IRIS = kl, K.FACE_LANDMARKS_FACE_OVAL = Ys, K.FACE_LANDMARKS_CONTOURS = El, K.FACE_LANDMARKS_TESSELATION = Al;
4755
+ }, K.HAND_CONNECTIONS = Ks, K.POSE_CONNECTIONS = Tl, K.FACE_LANDMARKS_LIPS = $s, K.FACE_LANDMARKS_LEFT_EYE = Ws, K.FACE_LANDMARKS_LEFT_EYEBROW = zs, K.FACE_LANDMARKS_LEFT_IRIS = kl, K.FACE_LANDMARKS_RIGHT_EYE = Hs, K.FACE_LANDMARKS_RIGHT_EYEBROW = qs, K.FACE_LANDMARKS_RIGHT_IRIS = El, K.FACE_LANDMARKS_FACE_OVAL = Ys, K.FACE_LANDMARKS_CONTOURS = Al, K.FACE_LANDMARKS_TESSELATION = jl;
4756
4756
  var He = class extends Se {
4757
4757
  constructor(e, t) {
4758
- super(new Qe(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, E(e = this.h = new ol(), 0, 1, t = new Q());
4758
+ super(new Qe(e, t), "input_image", "norm_rect", !0), this.j = { classifications: [] }, E(e = this.h = new al(), 0, 1, t = new Q());
4759
4759
  }
4760
4760
  get baseOptions() {
4761
- return D(this.h, Q, 1);
4761
+ return O(this.h, Q, 1);
4762
4762
  }
4763
4763
  set baseOptions(e) {
4764
4764
  E(this.h, 0, 1, e);
4765
4765
  }
4766
4766
  o(e) {
4767
- return E(this.h, 0, 2, Pn(e, D(this.h, Ss, 2))), this.l(e);
4767
+ return E(this.h, 0, 2, Fn(e, O(this.h, Ss, 2))), this.l(e);
4768
4768
  }
4769
4769
  qa(e, t) {
4770
4770
  return this.j = { classifications: [] }, Je(this, e, t), this.j;
@@ -4780,9 +4780,9 @@ var He = class extends Se {
4780
4780
  const r = new _e();
4781
4781
  Be(r, "mediapipe.tasks.vision.image_classifier.ImageClassifierGraph"), q(r, "IMAGE:input_image"), q(r, "NORM_RECT:norm_rect"), F(r, "CLASSIFICATIONS:classifications"), r.o(t), Ue(e, r), this.g.attachProtoListener("classifications", (i, n) => {
4782
4782
  this.j = function(s) {
4783
- const a = { classifications: kt(s, jd, 1).map((c) => {
4783
+ const a = { classifications: kt(s, Td, 1).map((c) => {
4784
4784
  var l;
4785
- return Ds(((l = D(c, Bc, 4)) == null ? void 0 : l.g()) ?? [], Ke(c, 2) ?? 0, Xe(c, 3) ?? "");
4785
+ return Ds(((l = O(c, Uc, 4)) == null ? void 0 : l.g()) ?? [], Ke(c, 2) ?? 0, Xe(c, 3) ?? "");
4786
4786
  }) };
4787
4787
  return jn(gr(s, 2)) != null && (a.timestampMs = jn(gr(s, 2)) ?? 0), a;
4788
4788
  }(Nd(i)), p(this, n);
@@ -4800,16 +4800,16 @@ He.prototype.classifyForVideo = He.prototype.ra, He.prototype.classify = He.prot
4800
4800
  };
4801
4801
  var Le = class extends Se {
4802
4802
  constructor(e, t) {
4803
- super(new Qe(e, t), "image_in", "norm_rect", !0), this.h = new al(), this.embeddings = { embeddings: [] }, E(e = this.h, 0, 1, t = new Q());
4803
+ super(new Qe(e, t), "image_in", "norm_rect", !0), this.h = new cl(), this.embeddings = { embeddings: [] }, E(e = this.h, 0, 1, t = new Q());
4804
4804
  }
4805
4805
  get baseOptions() {
4806
- return D(this.h, Q, 1);
4806
+ return O(this.h, Q, 1);
4807
4807
  }
4808
4808
  set baseOptions(e) {
4809
4809
  E(this.h, 0, 1, e);
4810
4810
  }
4811
4811
  o(e) {
4812
- var t = this.h, r = D(this.h, Lo, 2);
4812
+ var t = this.h, r = O(this.h, Lo, 2);
4813
4813
  return r = r ? r.clone() : new Lo(), e.l2Normalize !== void 0 ? Xr(r, 1, e.l2Normalize) : "l2Normalize" in e && H(r, 1), e.quantize !== void 0 ? Xr(r, 2, e.quantize) : "quantize" in e && H(r, 2), E(t, 0, 2, r), this.l(e);
4814
4814
  }
4815
4815
  xa(e, t) {
@@ -4829,10 +4829,10 @@ var Le = class extends Se {
4829
4829
  return { embeddings: kt(s, Cd, 1).map((a) => {
4830
4830
  var l, u;
4831
4831
  const c = { headIndex: Ke(a, 3) ?? 0 ?? -1, headName: Xe(a, 4) ?? "" ?? "" };
4832
- if (sc(a, Mo, mn(a, 1)) !== void 0) a = Qt(a = D(a, Mo, mn(a, 1)), 1, Bt, Xt()), c.floatEmbedding = a.slice();
4832
+ if (oc(a, Mo, wn(a, 1)) !== void 0) a = Qt(a = O(a, Mo, wn(a, 1)), 1, Bt, Xt()), c.floatEmbedding = a.slice();
4833
4833
  else {
4834
4834
  const d = new Uint8Array(0);
4835
- c.quantizedEmbedding = ((u = (l = D(a, Sd, mn(a, 2))) == null ? void 0 : l.ma()) == null ? void 0 : u.h()) ?? d;
4835
+ c.quantizedEmbedding = ((u = (l = O(a, Sd, wn(a, 2))) == null ? void 0 : l.ma()) == null ? void 0 : u.h()) ?? d;
4836
4836
  }
4837
4837
  return c;
4838
4838
  }), timestampMs: jn(gr(s, 2)) ?? 0 };
@@ -4856,7 +4856,7 @@ Le.cosineSimilarity = function(e, t) {
4856
4856
  }, Le.createFromOptions = function(e, t) {
4857
4857
  return L(Le, e, t);
4858
4858
  };
4859
- var Un = class {
4859
+ var Bn = class {
4860
4860
  constructor(e, t, r) {
4861
4861
  this.confidenceMasks = e, this.categoryMask = t, this.qualityScores = r;
4862
4862
  }
@@ -4872,33 +4872,33 @@ function ia(e) {
4872
4872
  }
4873
4873
  function na(e) {
4874
4874
  try {
4875
- const t = new Un(e.confidenceMasks, e.categoryMask, e.qualityScores);
4875
+ const t = new Bn(e.confidenceMasks, e.categoryMask, e.qualityScores);
4876
4876
  if (!e.j) return t;
4877
4877
  e.j(t);
4878
4878
  } finally {
4879
- tn(e);
4879
+ en(e);
4880
4880
  }
4881
4881
  }
4882
- Un.prototype.close = Un.prototype.close;
4883
- var je = class extends Se {
4882
+ Bn.prototype.close = Bn.prototype.close;
4883
+ var Te = class extends Se {
4884
4884
  constructor(e, t) {
4885
- super(new Qe(e, t), "image_in", "norm_rect", !1), this.s = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Ps(), this.v = new cl(), E(this.h, 0, 3, this.v), E(e = this.h, 0, 1, t = new Q());
4885
+ super(new Qe(e, t), "image_in", "norm_rect", !1), this.s = [], this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Ps(), this.v = new ll(), E(this.h, 0, 3, this.v), E(e = this.h, 0, 1, t = new Q());
4886
4886
  }
4887
4887
  get baseOptions() {
4888
- return D(this.h, Q, 1);
4888
+ return O(this.h, Q, 1);
4889
4889
  }
4890
4890
  set baseOptions(e) {
4891
4891
  E(this.h, 0, 1, e);
4892
4892
  }
4893
4893
  o(e) {
4894
- return e.displayNamesLocale !== void 0 ? H(this.h, 2, Tr(e.displayNamesLocale)) : "displayNamesLocale" in e && H(this.h, 2), "outputCategoryMask" in e && (this.outputCategoryMask = e.outputCategoryMask ?? !1), "outputConfidenceMasks" in e && (this.outputConfidenceMasks = e.outputConfidenceMasks ?? !0), super.l(e);
4894
+ return e.displayNamesLocale !== void 0 ? H(this.h, 2, jr(e.displayNamesLocale)) : "displayNamesLocale" in e && H(this.h, 2), "outputCategoryMask" in e && (this.outputCategoryMask = e.outputCategoryMask ?? !1), "outputConfidenceMasks" in e && (this.outputConfidenceMasks = e.outputConfidenceMasks ?? !0), super.l(e);
4895
4895
  }
4896
4896
  J() {
4897
4897
  (function(e) {
4898
4898
  var r, i;
4899
4899
  const t = kt(e.ca(), _e, 1).filter((n) => (Xe(n, 1) ?? "").includes("mediapipe.tasks.TensorsToSegmentationCalculator"));
4900
4900
  if (e.s = [], t.length > 1) throw Error("The graph has more than one mediapipe.tasks.TensorsToSegmentationCalculator.");
4901
- t.length === 1 && (((i = (r = D(t[0], De, 7)) == null ? void 0 : r.l()) == null ? void 0 : i.g()) ?? /* @__PURE__ */ new Map()).forEach((n, s) => {
4901
+ t.length === 1 && (((i = (r = O(t[0], De, 7)) == null ? void 0 : r.l()) == null ? void 0 : i.g()) ?? /* @__PURE__ */ new Map()).forEach((n, s) => {
4902
4902
  e.s[Number(s)] = Xe(n, 1) ?? "";
4903
4903
  });
4904
4904
  })(this);
@@ -4918,9 +4918,9 @@ var je = class extends Se {
4918
4918
  var e = new Ce();
4919
4919
  Y(e, "image_in"), Y(e, "norm_rect");
4920
4920
  const t = new De();
4921
- tt(t, ul, this.h);
4921
+ tt(t, dl, this.h);
4922
4922
  const r = new _e();
4923
- Be(r, "mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"), q(r, "IMAGE:image_in"), q(r, "NORM_RECT:norm_rect"), r.o(t), Ue(e, r), en(this, e), this.outputConfidenceMasks && (B(e, "confidence_masks"), F(r, "CONFIDENCE_MASKS:confidence_masks"), xr(this, "confidence_masks"), this.g.ba("confidence_masks", (i, n) => {
4923
+ Be(r, "mediapipe.tasks.vision.image_segmenter.ImageSegmenterGraph"), q(r, "IMAGE:image_in"), q(r, "NORM_RECT:norm_rect"), r.o(t), Ue(e, r), Zi(this, e), this.outputConfidenceMasks && (B(e, "confidence_masks"), F(r, "CONFIDENCE_MASKS:confidence_masks"), xr(this, "confidence_masks"), this.g.ba("confidence_masks", (i, n) => {
4924
4924
  this.confidenceMasks = i.map((s) => vr(this, s, !0, !this.j)), p(this, n);
4925
4925
  }), this.g.attachEmptyPacketListener("confidence_masks", (i) => {
4926
4926
  this.confidenceMasks = [], p(this, i);
@@ -4935,14 +4935,14 @@ var je = class extends Se {
4935
4935
  }), e = e.g(), this.setGraph(new Uint8Array(e), !0);
4936
4936
  }
4937
4937
  };
4938
- je.prototype.getLabels = je.prototype.Ba, je.prototype.segmentForVideo = je.prototype.Ia, je.prototype.segment = je.prototype.segment, je.prototype.setOptions = je.prototype.o, je.createFromModelPath = function(e, t) {
4939
- return L(je, e, { baseOptions: { modelAssetPath: t } });
4940
- }, je.createFromModelBuffer = function(e, t) {
4941
- return L(je, e, { baseOptions: { modelAssetBuffer: t } });
4942
- }, je.createFromOptions = function(e, t) {
4943
- return L(je, e, t);
4938
+ Te.prototype.getLabels = Te.prototype.Ba, Te.prototype.segmentForVideo = Te.prototype.Ia, Te.prototype.segment = Te.prototype.segment, Te.prototype.setOptions = Te.prototype.o, Te.createFromModelPath = function(e, t) {
4939
+ return L(Te, e, { baseOptions: { modelAssetPath: t } });
4940
+ }, Te.createFromModelBuffer = function(e, t) {
4941
+ return L(Te, e, { baseOptions: { modelAssetBuffer: t } });
4942
+ }, Te.createFromOptions = function(e, t) {
4943
+ return L(Te, e, t);
4944
4944
  };
4945
- var Gn = class {
4945
+ var Un = class {
4946
4946
  constructor(e, t, r) {
4947
4947
  this.confidenceMasks = e, this.categoryMask = t, this.qualityScores = r;
4948
4948
  }
@@ -4953,12 +4953,12 @@ var Gn = class {
4953
4953
  }), (t = this.categoryMask) == null || t.close();
4954
4954
  }
4955
4955
  };
4956
- Gn.prototype.close = Gn.prototype.close;
4956
+ Un.prototype.close = Un.prototype.close;
4957
4957
  var Xd = class extends y {
4958
4958
  constructor(e) {
4959
4959
  super(e);
4960
4960
  }
4961
- }, sr = [0, se, -2], Ei = [0, pt, -3, X, pt, -1], sa = [0, Ei], oa = [0, Ei, se, -1], vn = class extends y {
4961
+ }, sr = [0, se, -2], Ei = [0, pt, -3, X, pt, -1], sa = [0, Ei], oa = [0, Ei, se, -1], bn = class extends y {
4962
4962
  constructor(e) {
4963
4963
  super(e);
4964
4964
  }
@@ -4970,18 +4970,18 @@ var Xd = class extends y {
4970
4970
  constructor(e) {
4971
4971
  super(e);
4972
4972
  }
4973
- }, Vn = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15], jl = class extends y {
4973
+ }, Gn = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15], Nl = class extends y {
4974
4974
  constructor(e) {
4975
4975
  super(e);
4976
4976
  }
4977
4977
  };
4978
- jl.prototype.g = Xi([0, we, [0, Vn, U, Ei, U, [0, Ei, sr], U, sa, U, [0, sa, sr], U, aa, U, [0, pt, -3, X, Pe], U, [0, pt, -3, X], U, [0, G, pt, -2, X, se, X, -1, 2, pt, sr], U, oa, U, [0, oa, sr], pt, sr, G, U, [0, pt, -3, X, sr, -1], U, [0, we, aa]], G, [0, G, se, -1, X]]);
4978
+ Nl.prototype.g = Ki([0, we, [0, Gn, U, Ei, U, [0, Ei, sr], U, sa, U, [0, sa, sr], U, aa, U, [0, pt, -3, X, Pe], U, [0, pt, -3, X], U, [0, G, pt, -2, X, se, X, -1, 2, pt, sr], U, oa, U, [0, oa, sr], pt, sr, G, U, [0, pt, -3, X, sr, -1], U, [0, we, aa]], G, [0, G, se, -1, X]]);
4979
4979
  var ut = class extends Se {
4980
4980
  constructor(e, t) {
4981
- super(new Qe(e, t), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Ps(), this.s = new cl(), E(this.h, 0, 3, this.s), E(e = this.h, 0, 1, t = new Q());
4981
+ super(new Qe(e, t), "image_in", "norm_rect_in", !1), this.outputCategoryMask = !1, this.outputConfidenceMasks = !0, this.h = new Ps(), this.s = new ll(), E(this.h, 0, 3, this.s), E(e = this.h, 0, 1, t = new Q());
4982
4982
  }
4983
4983
  get baseOptions() {
4984
- return D(this.h, Q, 1);
4984
+ return O(this.h, Q, 1);
4985
4985
  }
4986
4986
  set baseOptions(e) {
4987
4987
  E(this.h, 0, 1, e);
@@ -4991,29 +4991,29 @@ var ut = class extends Se {
4991
4991
  }
4992
4992
  segment(e, t, r, i) {
4993
4993
  const n = typeof r != "function" ? r : {};
4994
- this.j = typeof r == "function" ? r : i, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, r = this.B + 1, i = new jl();
4994
+ this.j = typeof r == "function" ? r : i, this.qualityScores = this.categoryMask = this.confidenceMasks = void 0, r = this.B + 1, i = new Nl();
4995
4995
  const s = new ca();
4996
4996
  var a = new Xd();
4997
4997
  if (wt(a, 1, 255), E(s, 0, 12, a), t.keypoint && t.scribble) throw Error("Cannot provide both keypoint and scribble.");
4998
4998
  if (t.keypoint) {
4999
- var c = new vn();
5000
- Xr(c, 3, !0), b(c, 1, t.keypoint.x), b(c, 2, t.keypoint.y), Vr(s, 5, Vn, c);
4999
+ var c = new bn();
5000
+ Xr(c, 3, !0), b(c, 1, t.keypoint.x), b(c, 2, t.keypoint.y), Vr(s, 5, Gn, c);
5001
5001
  } else {
5002
5002
  if (!t.scribble) throw Error("Must provide either a keypoint or a scribble.");
5003
- for (c of (a = new Qd(), t.scribble)) Xr(t = new vn(), 3, !0), b(t, 1, c.x), b(t, 2, c.y), bi(a, 1, vn, t);
5004
- Vr(s, 15, Vn, a);
5003
+ for (c of (a = new Qd(), t.scribble)) Xr(t = new bn(), 3, !0), b(t, 1, c.x), b(t, 2, c.y), bi(a, 1, bn, t);
5004
+ Vr(s, 15, Gn, a);
5005
5005
  }
5006
5006
  bi(i, 1, ca, s), this.g.addProtoToStream(i.g(), "drishti.RenderData", "roi_in", r), Je(this, e, n);
5007
5007
  e: {
5008
5008
  try {
5009
- const u = new Gn(this.confidenceMasks, this.categoryMask, this.qualityScores);
5009
+ const u = new Un(this.confidenceMasks, this.categoryMask, this.qualityScores);
5010
5010
  if (!this.j) {
5011
5011
  var l = u;
5012
5012
  break e;
5013
5013
  }
5014
5014
  this.j(u);
5015
5015
  } finally {
5016
- tn(this);
5016
+ en(this);
5017
5017
  }
5018
5018
  l = void 0;
5019
5019
  }
@@ -5023,9 +5023,9 @@ var ut = class extends Se {
5023
5023
  var e = new Ce();
5024
5024
  Y(e, "image_in"), Y(e, "roi_in"), Y(e, "norm_rect_in");
5025
5025
  const t = new De();
5026
- tt(t, ul, this.h);
5026
+ tt(t, dl, this.h);
5027
5027
  const r = new _e();
5028
- Be(r, "mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraph"), q(r, "IMAGE:image_in"), q(r, "ROI:roi_in"), q(r, "NORM_RECT:norm_rect_in"), r.o(t), Ue(e, r), en(this, e), this.outputConfidenceMasks && (B(e, "confidence_masks"), F(r, "CONFIDENCE_MASKS:confidence_masks"), xr(this, "confidence_masks"), this.g.ba("confidence_masks", (i, n) => {
5028
+ Be(r, "mediapipe.tasks.vision.interactive_segmenter.InteractiveSegmenterGraph"), q(r, "IMAGE:image_in"), q(r, "ROI:roi_in"), q(r, "NORM_RECT:norm_rect_in"), r.o(t), Ue(e, r), Zi(this, e), this.outputConfidenceMasks && (B(e, "confidence_masks"), F(r, "CONFIDENCE_MASKS:confidence_masks"), xr(this, "confidence_masks"), this.g.ba("confidence_masks", (i, n) => {
5029
5029
  this.confidenceMasks = i.map((s) => vr(this, s, !0, !this.j)), p(this, n);
5030
5030
  }), this.g.attachEmptyPacketListener("confidence_masks", (i) => {
5031
5031
  this.confidenceMasks = [], p(this, i);
@@ -5049,16 +5049,16 @@ ut.prototype.segment = ut.prototype.segment, ut.prototype.setOptions = ut.protot
5049
5049
  };
5050
5050
  var qe = class extends Se {
5051
5051
  constructor(e, t) {
5052
- super(new Qe(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, E(e = this.h = new dl(), 0, 1, t = new Q());
5052
+ super(new Qe(e, t), "input_frame_gpu", "norm_rect", !1), this.j = { detections: [] }, E(e = this.h = new hl(), 0, 1, t = new Q());
5053
5053
  }
5054
5054
  get baseOptions() {
5055
- return D(this.h, Q, 1);
5055
+ return O(this.h, Q, 1);
5056
5056
  }
5057
5057
  set baseOptions(e) {
5058
5058
  E(this.h, 0, 1, e);
5059
5059
  }
5060
5060
  o(e) {
5061
- return e.displayNamesLocale !== void 0 ? H(this.h, 2, Tr(e.displayNamesLocale)) : "displayNamesLocale" in e && H(this.h, 2), e.maxResults !== void 0 ? wt(this.h, 3, e.maxResults) : "maxResults" in e && H(this.h, 3), e.scoreThreshold !== void 0 ? b(this.h, 4, e.scoreThreshold) : "scoreThreshold" in e && H(this.h, 4), e.categoryAllowlist !== void 0 ? vi(this.h, 5, e.categoryAllowlist) : "categoryAllowlist" in e && H(this.h, 5), e.categoryDenylist !== void 0 ? vi(this.h, 6, e.categoryDenylist) : "categoryDenylist" in e && H(this.h, 6), this.l(e);
5061
+ return e.displayNamesLocale !== void 0 ? H(this.h, 2, jr(e.displayNamesLocale)) : "displayNamesLocale" in e && H(this.h, 2), e.maxResults !== void 0 ? wt(this.h, 3, e.maxResults) : "maxResults" in e && H(this.h, 3), e.scoreThreshold !== void 0 ? b(this.h, 4, e.scoreThreshold) : "scoreThreshold" in e && H(this.h, 4), e.categoryAllowlist !== void 0 ? vi(this.h, 5, e.categoryAllowlist) : "categoryAllowlist" in e && H(this.h, 5), e.categoryDenylist !== void 0 ? vi(this.h, 6, e.categoryDenylist) : "categoryDenylist" in e && H(this.h, 6), this.l(e);
5062
5062
  }
5063
5063
  D(e, t) {
5064
5064
  return this.j = { detections: [] }, Je(this, e, t), this.j;
@@ -5073,7 +5073,7 @@ var qe = class extends Se {
5073
5073
  tt(t, Wd, this.h);
5074
5074
  const r = new _e();
5075
5075
  Be(r, "mediapipe.tasks.vision.ObjectDetectorGraph"), q(r, "IMAGE:input_frame_gpu"), q(r, "NORM_RECT:norm_rect"), F(r, "DETECTIONS:detections"), r.o(t), Ue(e, r), this.g.attachProtoVectorListener("detections", (i, n) => {
5076
- for (const s of i) i = Gc(s), this.j.detections.push(fl(i));
5076
+ for (const s of i) i = Vc(s), this.j.detections.push(wl(i));
5077
5077
  p(this, n);
5078
5078
  }), this.g.attachEmptyPacketListener("detections", (i) => {
5079
5079
  p(this, i);
@@ -5087,7 +5087,7 @@ qe.prototype.detectForVideo = qe.prototype.F, qe.prototype.detect = qe.prototype
5087
5087
  }, qe.createFromOptions = function(e, t) {
5088
5088
  return L(qe, e, t);
5089
5089
  };
5090
- var $n = class {
5090
+ var Vn = class {
5091
5091
  constructor(e, t, r) {
5092
5092
  this.landmarks = e, this.worldLandmarks = t, this.segmentationMasks = r;
5093
5093
  }
@@ -5103,20 +5103,20 @@ function la(e) {
5103
5103
  }
5104
5104
  function ua(e) {
5105
5105
  try {
5106
- const t = new $n(e.landmarks, e.worldLandmarks, e.segmentationMasks);
5106
+ const t = new Vn(e.landmarks, e.worldLandmarks, e.segmentationMasks);
5107
5107
  if (!e.s) return t;
5108
5108
  e.s(t);
5109
5109
  } finally {
5110
- tn(e);
5110
+ en(e);
5111
5111
  }
5112
5112
  }
5113
- $n.prototype.close = $n.prototype.close;
5113
+ Vn.prototype.close = Vn.prototype.close;
5114
5114
  var Fe = class extends Se {
5115
5115
  constructor(e, t) {
5116
- super(new Qe(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, E(e = this.h = new hl(), 0, 1, t = new Q()), this.v = new nl(), E(this.h, 0, 3, this.v), this.j = new il(), E(this.h, 0, 2, this.j), wt(this.j, 4, 1), b(this.j, 2, 0.5), b(this.v, 2, 0.5), b(this.h, 4, 0.5);
5116
+ super(new Qe(e, t), "image_in", "norm_rect", !1), this.landmarks = [], this.worldLandmarks = [], this.outputSegmentationMasks = !1, E(e = this.h = new fl(), 0, 1, t = new Q()), this.v = new sl(), E(this.h, 0, 3, this.v), this.j = new nl(), E(this.h, 0, 2, this.j), wt(this.j, 4, 1), b(this.j, 2, 0.5), b(this.v, 2, 0.5), b(this.h, 4, 0.5);
5117
5117
  }
5118
5118
  get baseOptions() {
5119
- return D(this.h, Q, 1);
5119
+ return O(this.h, Q, 1);
5120
5120
  }
5121
5121
  set baseOptions(e) {
5122
5122
  E(this.h, 0, 1, e);
@@ -5138,9 +5138,9 @@ var Fe = class extends Se {
5138
5138
  const t = new De();
5139
5139
  tt(t, zd, this.h);
5140
5140
  const r = new _e();
5141
- Be(r, "mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"), q(r, "IMAGE:image_in"), q(r, "NORM_RECT:norm_rect"), F(r, "NORM_LANDMARKS:normalized_landmarks"), F(r, "WORLD_LANDMARKS:world_landmarks"), r.o(t), Ue(e, r), en(this, e), this.g.attachProtoVectorListener("normalized_landmarks", (i, n) => {
5141
+ Be(r, "mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"), q(r, "IMAGE:image_in"), q(r, "NORM_RECT:norm_rect"), F(r, "NORM_LANDMARKS:normalized_landmarks"), F(r, "WORLD_LANDMARKS:world_landmarks"), r.o(t), Ue(e, r), Zi(this, e), this.g.attachProtoVectorListener("normalized_landmarks", (i, n) => {
5142
5142
  this.landmarks = [];
5143
- for (const s of i) i = ri(s), this.landmarks.push(Zi(i));
5143
+ for (const s of i) i = ri(s), this.landmarks.push(Ji(i));
5144
5144
  p(this, n);
5145
5145
  }), this.g.attachEmptyPacketListener("normalized_landmarks", (i) => {
5146
5146
  this.landmarks = [], p(this, i);
@@ -5166,7 +5166,7 @@ Fe.prototype.detectForVideo = Fe.prototype.F, Fe.prototype.detect = Fe.prototype
5166
5166
  }, Fe.POSE_CONNECTIONS = Tl;
5167
5167
  const hi = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face_landmarker/float16/latest/face_landmarker.task", Jd = "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision@latest/wasm", Zd = () => {
5168
5168
  const e = R(null), [t, r] = A(!1), [i, n] = A("Initializing..."), [s, a] = A(0), [c, l] = A(!1);
5169
- O(() => {
5169
+ P(() => {
5170
5170
  "serviceWorker" in navigator && navigator.serviceWorker.register("/sw.js").then((f) => {
5171
5171
  console.log("ServiceWorker registered:", f);
5172
5172
  }).catch((f) => {
@@ -5181,9 +5181,9 @@ const hi = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5181
5181
  let v = 0;
5182
5182
  const g = [];
5183
5183
  for (; ; ) {
5184
- const { done: j, value: P } = await x.read();
5185
- if (j) break;
5186
- if (g.push(P), v += P.length, m) {
5184
+ const { done: T, value: D } = await x.read();
5185
+ if (T) break;
5186
+ if (g.push(D), v += D.length, m) {
5187
5187
  const N = Math.round(v / m * 100);
5188
5188
  a(N), n(`Downloading model... ${N}%`);
5189
5189
  }
@@ -5198,7 +5198,7 @@ const hi = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5198
5198
  return console.error("Failed to preload model:", f), !1;
5199
5199
  }
5200
5200
  };
5201
- return O(() => {
5201
+ return P(() => {
5202
5202
  (async () => {
5203
5203
  try {
5204
5204
  n("Checking cached models..."), await u() ? n("Using cached model...") : (n("Model not cached. Downloading..."), await d()), n("Loading MediaPipe WASM...");
@@ -5231,7 +5231,7 @@ const hi = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5231
5231
  }
5232
5232
  };
5233
5233
  }, eh = () => {
5234
- const [e, t] = A(0), r = R({ lastTime: 0, frames: 0, fps: 0 }), i = T(() => {
5234
+ const [e, t] = A(0), r = R({ lastTime: 0, frames: 0, fps: 0 }), i = j(() => {
5235
5235
  const n = performance.now(), s = r.current;
5236
5236
  if (s.frames++, n - s.lastTime >= 1e3) {
5237
5237
  const a = Math.round(s.frames * 1e3 / (n - s.lastTime));
@@ -5240,7 +5240,7 @@ const hi = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5240
5240
  }, []);
5241
5241
  return { fps: e, updateFPS: i };
5242
5242
  }, th = () => {
5243
- const e = R({ value: 100, isLookingAway: !1 }), t = T(
5243
+ const e = R({ value: 100, isLookingAway: !1 }), t = j(
5244
5244
  (s, a, c, l) => {
5245
5245
  if (!s || !c || !a) return;
5246
5246
  const u = s.getContext("2d");
@@ -5253,14 +5253,14 @@ const hi = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5253
5253
  }
5254
5254
  },
5255
5255
  []
5256
- ), r = T((s) => {
5257
- const a = e.current.value / 100, c = 100, l = 20, u = 10, d = 10;
5256
+ ), r = j((s) => {
5257
+ const a = e.current.value / 100, c = 100, l = 20, u = 20, d = 40;
5258
5258
  s.fillStyle = "rgba(0, 0, 0, 0.3)", s.fillRect(u, d, l, c), s.fillStyle = `rgba(${Math.floor(
5259
5259
  255 * (1 - a)
5260
5260
  )}, ${Math.floor(255 * a)}, 0, 0.8)`;
5261
5261
  const h = c * a;
5262
5262
  s.fillRect(u, d + c - h, l, h), s.fillStyle = "#FFFFFF", s.fillRect(u, d + c * (1 - a), l, 2);
5263
- }, []), i = T(
5263
+ }, []), i = j(
5264
5264
  (s, a, c, l, u, d, h) => {
5265
5265
  if (t(s, a, c, l), u && d && h) {
5266
5266
  const f = s.getContext("2d");
@@ -5268,7 +5268,7 @@ const hi = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5268
5268
  }
5269
5269
  },
5270
5270
  [t, r]
5271
- ), n = T(
5271
+ ), n = j(
5272
5272
  (s, a) => {
5273
5273
  const c = s.getContext("2d");
5274
5274
  c && (c.clearRect(0, 0, s.width, s.height), c.drawImage(a, 0, 0, s.width, s.height));
@@ -5282,18 +5282,18 @@ const hi = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5282
5282
  clearCanvas: n,
5283
5283
  engagementRef: e
5284
5284
  };
5285
- }, rh = 70, ih = () => {
5286
- const [e, t] = A(100), [r, i] = A(!1), n = R(0), s = T(
5285
+ }, rh = 50, ih = () => {
5286
+ const [e, t] = A(100), [r, i] = A(!1), n = R(0), s = j(
5287
5287
  (a, c, l) => {
5288
5288
  if (!l || a.length < 468)
5289
5289
  return;
5290
5290
  const u = a[33], d = a[263], h = a[1];
5291
5291
  if (!u || !d || !h) return;
5292
- const f = (u.x + d.x) * 0.5, w = (u.y + d.y) * 0.5, m = f - c.x, x = w - c.y, v = Math.sqrt(m * m + x * x), g = Math.abs(h.y - c.noseY) * 100, j = Math.abs(h.x - c.noseX) * 100, P = Math.max(
5292
+ const f = (u.x + d.x) * 0.5, w = (u.y + d.y) * 0.5, m = f - c.x, x = w - c.y, v = Math.sqrt(m * m + x * x), g = Math.abs(h.y - c.noseY) * 100, T = Math.abs(h.x - c.noseX) * 100, D = Math.max(
5293
5293
  0,
5294
- 100 - (v * 200 + g + j)
5295
- ), N = P < rh, I = performance.now();
5296
- return I - n.current > 100 && (t(P), i(N), n.current = I), { engagement: P, isLookingAway: N };
5294
+ 100 - (v * 200 + g + T)
5295
+ ), N = D < rh, I = performance.now();
5296
+ return I - n.current > 100 && (t(D), i(N), n.current = I), { engagement: D, isLookingAway: N };
5297
5297
  },
5298
5298
  []
5299
5299
  );
@@ -5305,10 +5305,10 @@ const hi = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5305
5305
  setIsLookingAway: i
5306
5306
  };
5307
5307
  }, nh = 0.05, sh = () => {
5308
- const [e, t] = A(!1), [r, i] = A(!1), n = T(
5308
+ const [e, t] = A(!1), [r, i] = A(!1), n = j(
5309
5309
  (c, l) => Math.sqrt(Math.pow(c.x - l.x, 2) + Math.pow(c.y - l.y, 2)),
5310
5310
  []
5311
- ), s = T(
5311
+ ), s = j(
5312
5312
  (c, l) => {
5313
5313
  if (!c || !l) return 0;
5314
5314
  const u = [
@@ -5333,8 +5333,8 @@ const hi = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5333
5333
  x
5334
5334
  );
5335
5335
  if (v === 0 || g === 0) return 0;
5336
- for (const P of u) {
5337
- const N = l[P], I = c[P];
5336
+ for (const D of u) {
5337
+ const N = l[D], I = c[D];
5338
5338
  if (N && I) {
5339
5339
  const M = f.x + (I.x - m.x) * v / g, V = f.y + (I.y - m.y) * v / g;
5340
5340
  d += n(N, {
@@ -5346,7 +5346,7 @@ const hi = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5346
5346
  return h === 0 ? 0 : d / h;
5347
5347
  },
5348
5348
  [n]
5349
- ), a = T(
5349
+ ), a = j(
5350
5350
  (c, l, u, d) => {
5351
5351
  if (!c.faceLandmarks || c.faceLandmarks.length === 0)
5352
5352
  return l ? (d("Reference face not detected."), i(!0), t(!1)) : i(!1), null;
@@ -5375,8 +5375,8 @@ const hi = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5375
5375
  setReferenceFaceNotDetected: i
5376
5376
  };
5377
5377
  }, oh = 1e3, ah = (e, t) => {
5378
- const [r, i] = A(!1), [n, s] = A("face_detected"), { incrementGazeViolation: a } = _a(), { multipleFacesDetected: c, referenceFaceNotDetected: l, isLookingAway: u } = e;
5379
- O(() => {
5378
+ const [r, i] = A(!1), [n, s] = A("face_detected"), { incrementGazeViolation: a } = ka(), { multipleFacesDetected: c, referenceFaceNotDetected: l, isLookingAway: u } = e;
5379
+ P(() => {
5380
5380
  let f;
5381
5381
  return (u || c || l) && t ? f = setTimeout(() => {
5382
5382
  i(!0), u ? (s("looking_away"), a("looking_away")) : c ? (s("multiple_faces"), a("multiple_faces")) : l && (s("no_face_detected"), a("no_face_detected"));
@@ -5390,7 +5390,7 @@ const hi = "https://storage.googleapis.com/mediapipe-models/face_landmarker/face
5390
5390
  t,
5391
5391
  a
5392
5392
  ]);
5393
- const d = T(() => c ? "multiple_faces" : l ? "no_face_detected" : u ? "looking_away" : "face_detected", [c, l, u]), h = T(() => {
5393
+ const d = j(() => c ? "multiple_faces" : l ? "no_face_detected" : u ? "looking_away" : "face_detected", [c, l, u]), h = j(() => {
5394
5394
  i(!1), s("face_detected");
5395
5395
  }, []);
5396
5396
  return {
@@ -5650,7 +5650,7 @@ class ch {
5650
5650
  }
5651
5651
  const or = new ch(), lh = (e, t, r, i) => {
5652
5652
  const n = R(null);
5653
- return O(() => {
5653
+ return P(() => {
5654
5654
  if (!t) return;
5655
5655
  const s = async () => {
5656
5656
  try {
@@ -5671,7 +5671,7 @@ const or = new ch(), lh = (e, t, r, i) => {
5671
5671
  return s(), () => {
5672
5672
  a && cancelAnimationFrame(a), c != null && c.srcObject && c.srcObject.getTracks().forEach((u) => u.stop());
5673
5673
  };
5674
- }, [t, r]), O(() => {
5674
+ }, [t, r]), P(() => {
5675
5675
  const s = or.getRecordingStream();
5676
5676
  if (s && e.current) {
5677
5677
  e.current.srcObject = s;
@@ -5684,16 +5684,16 @@ const or = new ch(), lh = (e, t, r, i) => {
5684
5684
  }
5685
5685
  }, []), { animationFrameRef: n };
5686
5686
  }, uh = (e, t, r, i, n, s, a, c, l, u, d, h, f, w, m) => {
5687
- const x = R(null), v = T(() => {
5687
+ const x = R(null), v = j(() => {
5688
5688
  var N;
5689
- const g = e.current, j = t.current, P = r.current;
5690
- if (!g || g.readyState < 2 || !P || !j) {
5689
+ const g = e.current, T = t.current, D = r.current;
5690
+ if (!g || g.readyState < 2 || !D || !T) {
5691
5691
  x.current = requestAnimationFrame(v);
5692
5692
  return;
5693
5693
  }
5694
5694
  i();
5695
5695
  try {
5696
- const I = performance.now(), M = P.detectForVideo(
5696
+ const I = performance.now(), M = D.detectForVideo(
5697
5697
  g,
5698
5698
  I
5699
5699
  );
@@ -5706,16 +5706,16 @@ const or = new ch(), lh = (e, t, r, i) => {
5706
5706
  w
5707
5707
  );
5708
5708
  V ? (s(
5709
- j,
5709
+ T,
5710
5710
  g,
5711
5711
  V,
5712
5712
  d,
5713
5713
  h,
5714
5714
  f,
5715
5715
  l
5716
- ), l && f && c(V, u.current, f)) : a(j, g);
5716
+ ), l && f && c(V, u.current, f)) : a(T, g);
5717
5717
  } else
5718
- a(j, g), l ? (m(!0), w("Reference face not detected.")) : m(!1);
5718
+ a(T, g), l ? (m(!0), w("Reference face not detected.")) : m(!1);
5719
5719
  } catch (I) {
5720
5720
  console.error("Face detection error:", I);
5721
5721
  }
@@ -5743,9 +5743,9 @@ const or = new ch(), lh = (e, t, r, i) => {
5743
5743
  referenceSet: n,
5744
5744
  referenceRef: s,
5745
5745
  setReferenceData: a
5746
- } = _a(), c = R(s), l = T(() => {
5746
+ } = ka(), c = R(s), l = j(() => {
5747
5747
  c.current = s;
5748
- }, [s]), u = T(() => {
5748
+ }, [s]), u = j(() => {
5749
5749
  var f;
5750
5750
  const d = e.current, h = t.current;
5751
5751
  if (console.log({ faceLandmarker: d, video: h }), !(!d || !h))
@@ -5755,12 +5755,12 @@ const or = new ch(), lh = (e, t, r, i) => {
5755
5755
  w
5756
5756
  );
5757
5757
  if ((f = m.faceLandmarks) != null && f[0]) {
5758
- const x = m.faceLandmarks[0], v = x[33], g = x[263], j = x[1];
5759
- v && g && j && (c.current = {
5758
+ const x = m.faceLandmarks[0], v = x[33], g = x[263], T = x[1];
5759
+ v && g && T && (c.current = {
5760
5760
  x: (v.x + g.x) * 0.5,
5761
5761
  y: (v.y + g.y) * 0.5,
5762
- noseX: j.x,
5763
- noseY: j.y
5762
+ noseX: T.x,
5763
+ noseY: T.y
5764
5764
  }, a(!0, c.current), r("Reference set. Gaze tracking active."), console.log("Reference set. Gaze tracking active.", c.current), i && i());
5765
5765
  }
5766
5766
  } catch (w) {
@@ -5779,7 +5779,7 @@ const or = new ch(), lh = (e, t, r, i) => {
5779
5779
  setReference: u,
5780
5780
  syncReference: l
5781
5781
  };
5782
- }, Nl = ga(
5782
+ }, Sl = ga(
5783
5783
  ({
5784
5784
  className: e = "",
5785
5785
  interviewId: t = "",
@@ -5788,13 +5788,13 @@ const or = new ch(), lh = (e, t, r, i) => {
5788
5788
  onSetReference: n
5789
5789
  }, s) => {
5790
5790
  var eo;
5791
- const { authToken: a } = Ea(), c = a ? ou(a) : null, l = Ia(), { borderRadius: u } = _r(), d = u ?? 18, { proctoring: h } = qn(), f = !!(h != null && h.gazeAnalysisEnabled), [w, m] = A(!1), [x, v] = A(
5791
+ const { authToken: a } = Aa(), c = a ? ou(a) : null, l = Ra(), { borderRadius: u } = _r(), d = u ?? 18, { proctoring: h } = Hn(), f = !!(h != null && h.gazeAnalysisEnabled), [w, m] = A(!1), [x, v] = A(
5792
5792
  (h == null ? void 0 : h.showLandmarks) ?? !1
5793
- ), [g, j] = A(
5793
+ ), [g, T] = A(
5794
5794
  i && ((h == null ? void 0 : h.showEngagementBar) ?? !0)
5795
- ), [P, N] = A(
5795
+ ), [D, N] = A(
5796
5796
  f
5797
- ), I = R(null), M = R(null), V = R(null), $ = R(null), J = T(
5797
+ ), I = R(null), M = R(null), V = R(null), $ = R(null), J = j(
5798
5798
  async (at) => {
5799
5799
  var oi;
5800
5800
  const Mr = I.current, be = V.current;
@@ -5837,27 +5837,27 @@ const or = new ch(), lh = (e, t, r, i) => {
5837
5837
  setEngagement: S,
5838
5838
  setIsLookingAway: Z
5839
5839
  } = ih(), {
5840
- multipleFacesDetected: Tt,
5841
- referenceFaceNotDetected: jt,
5840
+ multipleFacesDetected: jt,
5841
+ referenceFaceNotDetected: Tt,
5842
5842
  analyzeFace: Vt,
5843
5843
  setMultipleFacesDetected: ii,
5844
5844
  setReferenceFaceNotDetected: $t
5845
- } = sh(), { referenceSet: Rr, referenceRef: ni, setReference: C, syncReference: Te } = dh(
5845
+ } = sh(), { referenceSet: Rr, referenceRef: ni, setReference: C, syncReference: je } = dh(
5846
5846
  oe,
5847
5847
  I,
5848
5848
  Ve,
5849
5849
  n
5850
5850
  ), Ze = {
5851
- multipleFacesDetected: Tt,
5852
- referenceFaceNotDetected: jt,
5851
+ multipleFacesDetected: jt,
5852
+ referenceFaceNotDetected: Tt,
5853
5853
  isLookingAway: W
5854
5854
  }, {
5855
5855
  showGazeWarningModal: si,
5856
- getWarningType: Sl,
5856
+ getWarningType: Cl,
5857
5857
  closeWarningModal: Qs,
5858
5858
  setShowGazeWarningModal: Js,
5859
5859
  setFaceDetectionState: Zs
5860
- } = ah(Ze, f), { renderLoop: Cl } = uh(
5860
+ } = ah(Ze, f), { renderLoop: Il } = uh(
5861
5861
  I,
5862
5862
  M,
5863
5863
  oe,
@@ -5874,17 +5874,17 @@ const or = new ch(), lh = (e, t, r, i) => {
5874
5874
  Ve,
5875
5875
  $t
5876
5876
  );
5877
- lh(I, Ge, Cl, Ve), O(() => {
5878
- Te();
5879
- }, [Te]), O(() => {
5877
+ lh(I, Ge, Il, Ve), P(() => {
5878
+ je();
5879
+ }, [je]), P(() => {
5880
5880
  re && re.current && (re.current.value = We, re.current.isLookingAway = W);
5881
5881
  }, [We, W, re]);
5882
- const Il = T(
5882
+ const Rl = j(
5883
5883
  (at) => {
5884
5884
  N(at), at || (S(100), Z(!1));
5885
5885
  },
5886
5886
  [S, Z]
5887
- ), Rl = T(() => {
5887
+ ), Ml = j(() => {
5888
5888
  Z(!1), ii(!1), $t(!1), Zs("face_detected"), Js(!1), Qs();
5889
5889
  }, [
5890
5890
  Z,
@@ -5893,14 +5893,14 @@ const or = new ch(), lh = (e, t, r, i) => {
5893
5893
  Zs,
5894
5894
  Js,
5895
5895
  Qs
5896
- ]), Ml = {
5896
+ ]), Ll = {
5897
5897
  engagement: We,
5898
5898
  fps: st,
5899
5899
  isLookingAway: W,
5900
- multipleFacesDetected: Tt,
5901
- referenceFaceNotDetected: jt
5900
+ multipleFacesDetected: jt,
5901
+ referenceFaceNotDetected: Tt
5902
5902
  };
5903
- return O(() => {
5903
+ return P(() => {
5904
5904
  const at = [];
5905
5905
  return (async () => {
5906
5906
  try {
@@ -5909,17 +5909,17 @@ const or = new ch(), lh = (e, t, r, i) => {
5909
5909
  audio: !1
5910
5910
  });
5911
5911
  $.current = be, I.current && (I.current.srcObject = be);
5912
- const Lr = (r ?? Ti) * 60 * 1e3 / 3, oi = [0, 1, 2].map((ve, Nt) => ({
5912
+ const Lr = (r ?? ji) * 60 * 1e3 / 3, oi = [0, 1, 2].map((ve, Nt) => ({
5913
5913
  label: `capture-${Nt + 1}`,
5914
5914
  start: Nt * Lr,
5915
5915
  end: (Nt + 1) * Lr
5916
5916
  })), Wt = (ve, Nt) => ve === Nt ? ve : Math.random() * (Nt - ve) + ve;
5917
- oi.forEach(({ label: ve, start: Nt, end: Ll }, Fl) => {
5918
- let on;
5919
- Fl === 0 ? on = 3e3 : on = Wt(Nt, Ll), at.push(
5917
+ oi.forEach(({ label: ve, start: Nt, end: Fl }, Pl) => {
5918
+ let sn;
5919
+ Pl === 0 ? sn = 3e3 : sn = Wt(Nt, Fl), at.push(
5920
5920
  setTimeout(() => {
5921
5921
  J(ve);
5922
- }, on)
5922
+ }, sn)
5923
5923
  );
5924
5924
  });
5925
5925
  } catch (be) {
@@ -5959,7 +5959,7 @@ const or = new ch(), lh = (e, t, r, i) => {
5959
5959
  "canvas",
5960
5960
  {
5961
5961
  ref: M,
5962
- width: 420,
5962
+ width: 320,
5963
5963
  height: 240,
5964
5964
  className: "iw-absolute iw-top-0 iw-left-0 iw-w-full iw-h-full iw-object-cover iw-scale-75 iw-rounded-r-xl iw-min-h-[200px] iw-max-h-[600px] iw-aspect-video",
5965
5965
  style: {
@@ -5983,14 +5983,14 @@ const or = new ch(), lh = (e, t, r, i) => {
5983
5983
  setReference: C,
5984
5984
  clearCache: gt,
5985
5985
  isModelLoaded: Ge,
5986
- gazeAnalysisEnabled: P && f,
5986
+ gazeAnalysisEnabled: D && f,
5987
5987
  referenceSet: Rr,
5988
5988
  showLandmarks: x,
5989
5989
  setShowLandmarks: v,
5990
5990
  showEngagementBar: g,
5991
- setShowEngagementBar: j,
5992
- handleToggleGazeAnalysis: Il,
5993
- stats: Ml,
5991
+ setShowEngagementBar: T,
5992
+ handleToggleGazeAnalysis: Rl,
5993
+ stats: Ll,
5994
5994
  statusMessage: fe,
5995
5995
  loadingProgress: Ae
5996
5996
  }
@@ -6000,8 +6000,8 @@ const or = new ch(), lh = (e, t, r, i) => {
6000
6000
  ku,
6001
6001
  {
6002
6002
  isOpen: si,
6003
- onClose: Rl,
6004
- warningType: Sl()
6003
+ onClose: Ml,
6004
+ warningType: Cl()
6005
6005
  }
6006
6006
  )
6007
6007
  ] });
@@ -6019,12 +6019,12 @@ const or = new ch(), lh = (e, t, r, i) => {
6019
6019
  gazeEnabled: i = !1,
6020
6020
  videoFeedRef: n,
6021
6021
  interviewId: s = "",
6022
- interview_duration: a = Ti
6022
+ interview_duration: a = ji
6023
6023
  }) => {
6024
6024
  var ot;
6025
- const c = R(null), l = R(null), { baseColor: u, borderRadius: d } = _r(), [h, f] = A(!1), [w, m] = A(!1), [x, v] = A(!1), [g, j] = A(!1), [P, N] = A(!1), [I, M] = A(null), [V, $] = A(!1), J = R(null), oe = R(null), Ge = (S) => {
6025
+ const c = R(null), l = R(null), { baseColor: u, borderRadius: d } = _r(), [h, f] = A(!1), [w, m] = A(!1), [x, v] = A(!1), [g, T] = A(!1), [D, N] = A(!1), [I, M] = A(null), [V, $] = A(!1), J = R(null), oe = R(null), Ge = (S) => {
6026
6026
  J.current = S, n && (typeof n == "function" ? n(S) : n.current = S);
6027
- }, fe = u ?? "#2563eb", Ve = Na(fe), Ae = d ?? 18, ye = (S, Z) => S.startsWith("#") && S.length === 7 ? `${S}${Z}` : S, gt = [
6027
+ }, fe = u ?? "#2563eb", Ve = Sa(fe), Ae = d ?? 18, ye = (S, Z) => S.startsWith("#") && S.length === 7 ? `${S}${Z}` : S, gt = [
6028
6028
  `radial-gradient(120% 85% at 50% 125%, ${ye(
6029
6029
  fe,
6030
6030
  "34"
@@ -6077,7 +6077,7 @@ const or = new ch(), lh = (e, t, r, i) => {
6077
6077
  description: pe.cameraCopy,
6078
6078
  status: pe.badge,
6079
6079
  toneClass: pe.toneClass,
6080
- Icon: Ca
6080
+ Icon: Ia
6081
6081
  },
6082
6082
  {
6083
6083
  label: "Microphone input",
@@ -6104,19 +6104,19 @@ const or = new ch(), lh = (e, t, r, i) => {
6104
6104
  $(!1);
6105
6105
  }
6106
6106
  };
6107
- if (O(() => {
6107
+ if (P(() => {
6108
6108
  if (!e) {
6109
6109
  $e();
6110
6110
  return;
6111
6111
  }
6112
6112
  return re(), () => $e();
6113
- }, [e]), O(() => () => {
6113
+ }, [e]), P(() => () => {
6114
6114
  oe.current && (clearInterval(oe.current), oe.current = null);
6115
6115
  }, []), !e) return null;
6116
6116
  const We = () => {
6117
6117
  i ? v(!0) : (t(), $e());
6118
6118
  }, W = async () => {
6119
- j(!0);
6119
+ T(!0);
6120
6120
  const S = () => {
6121
6121
  var Z;
6122
6122
  return (Z = J.current) == null ? void 0 : Z.setReference();
@@ -6163,7 +6163,7 @@ const or = new ch(), lh = (e, t, r, i) => {
6163
6163
  ),
6164
6164
  /* @__PURE__ */ o.jsxs("div", { className: "iw-relative iw-grid md:iw-grid-cols-[minmax(0,1fr)_auto] iw-items-start iw-gap-6 iw-px-6 iw-py-7", children: [
6165
6165
  /* @__PURE__ */ o.jsx("div", { className: "iw-flex iw-flex-col iw-gap-4 iw-text-white", children: /* @__PURE__ */ o.jsxs("div", { className: "iw-flex iw-items-start iw-gap-4", children: [
6166
- /* @__PURE__ */ o.jsx("div", { className: "iw-flex iw-h-12 iw-w-12 iw-items-center iw-justify-center iw-rounded-2xl iw-bg-white/15 iw-shadow-inner", children: /* @__PURE__ */ o.jsx(Sa, { className: "iw-h-6 iw-w-6" }) }),
6166
+ /* @__PURE__ */ o.jsx("div", { className: "iw-flex iw-h-12 iw-w-12 iw-items-center iw-justify-center iw-rounded-2xl iw-bg-white/15 iw-shadow-inner", children: /* @__PURE__ */ o.jsx(Ca, { className: "iw-h-6 iw-w-6" }) }),
6167
6167
  /* @__PURE__ */ o.jsxs("div", { children: [
6168
6168
  /* @__PURE__ */ o.jsx("p", { className: "iw-text-[11px] iw-font-medium iw-uppercase iw-tracking-wide iw-text-white/70", children: "Pre-interview checklist" }),
6169
6169
  /* @__PURE__ */ o.jsx("h2", { className: "iw-mt-1 iw-text-xl iw-font-semibold iw-leading-tight", children: "Final checks before you go live" }),
@@ -6233,15 +6233,15 @@ const or = new ch(), lh = (e, t, r, i) => {
6233
6233
  className: "iw-relative iw-flex iw-flex-col iw-gap-6 iw-overflow-hidden iw-rounded-3xl iw-bg-white ",
6234
6234
  style: { borderRadius: Ae },
6235
6235
  children: [
6236
- /* @__PURE__ */ o.jsx("div", { className: "iw-relative iw-z-10 iw-rounded-2xl iw-border iw-border-slate-200 iw-bg-slate-50/80 iw-p-3", children: i && (P || g) ? /* @__PURE__ */ o.jsx(
6237
- Nl,
6236
+ /* @__PURE__ */ o.jsx("div", { className: "iw-relative iw-z-10 iw-rounded-2xl iw-border iw-border-slate-200 iw-bg-slate-50/80 iw-p-3", children: i && (D || g) ? /* @__PURE__ */ o.jsx(
6237
+ Sl,
6238
6238
  {
6239
6239
  ref: Ge,
6240
6240
  interviewId: s,
6241
6241
  interview_duration: a,
6242
6242
  showProctoringUI: !1,
6243
6243
  onSetReference: () => {
6244
- oe.current && (clearInterval(oe.current), oe.current = null), j(!1), t();
6244
+ oe.current && (clearInterval(oe.current), oe.current = null), T(!1), t();
6245
6245
  }
6246
6246
  }
6247
6247
  ) : /* @__PURE__ */ o.jsx(
@@ -6258,7 +6258,7 @@ const or = new ch(), lh = (e, t, r, i) => {
6258
6258
  }
6259
6259
  }
6260
6260
  ) }),
6261
- /* @__PURE__ */ o.jsx("div", { className: "iw-relative iw-grid iw-grid-cols-2 iw-gap-4 iw-px-1", children: !x && !P ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
6261
+ /* @__PURE__ */ o.jsx("div", { className: "iw-relative iw-grid iw-grid-cols-2 iw-gap-4 iw-px-1", children: !x && !D ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
6262
6262
  /* @__PURE__ */ o.jsx(
6263
6263
  Ta,
6264
6264
  {
@@ -6287,7 +6287,7 @@ const or = new ch(), lh = (e, t, r, i) => {
6287
6287
  children: "Proceed"
6288
6288
  }
6289
6289
  )
6290
- ] }) : i && (x && !P ? /* @__PURE__ */ o.jsx(
6290
+ ] }) : i && (x && !D ? /* @__PURE__ */ o.jsx(
6291
6291
  et,
6292
6292
  {
6293
6293
  onClick: () => m(!0),
@@ -6322,12 +6322,12 @@ const or = new ch(), lh = (e, t, r, i) => {
6322
6322
  ]
6323
6323
  }
6324
6324
  ),
6325
- i && P ? /* @__PURE__ */ o.jsxs("span", { className: "iw-text-slate-700 iw-text-center iw-text-md", children: [
6325
+ i && D ? /* @__PURE__ */ o.jsxs("span", { className: "iw-text-slate-700 iw-text-center iw-text-md", children: [
6326
6326
  "Sit upright and look directly into the camera, then press the",
6327
6327
  /* @__PURE__ */ o.jsx("span", { className: "iw-font-semibold", children: " Start Calibration " }),
6328
6328
  "button. Proper calibration is required and incorrect setup may affect your assessment."
6329
6329
  ] }) : /* @__PURE__ */ o.jsx("ul", { className: "iw-grid sm:iw-grid-cols-1 iw-gap-3", children: Gt.map(
6330
- ({ Icon: S, label: Z, description: Tt, status: jt, toneClass: Vt }) => /* @__PURE__ */ o.jsx(
6330
+ ({ Icon: S, label: Z, description: jt, status: Tt, toneClass: Vt }) => /* @__PURE__ */ o.jsx(
6331
6331
  "li",
6332
6332
  {
6333
6333
  className: "iw-rounded-2xl iw-border iw-border-slate-200/65 iw-bg-white iw-p-4 iw-shadow-sm iw-transition-all hover:iw-border-slate-200",
@@ -6340,11 +6340,11 @@ const or = new ch(), lh = (e, t, r, i) => {
6340
6340
  "span",
6341
6341
  {
6342
6342
  className: `iw-rounded-full iw-px-3 iw-py-1 iw-text-[11px] iw-font-semibold ${Vt}`,
6343
- children: jt
6343
+ children: Tt
6344
6344
  }
6345
6345
  )
6346
6346
  ] }),
6347
- /* @__PURE__ */ o.jsx("p", { className: "iw-mt-1.5 iw-text-xs iw-text-slate-500", children: Tt })
6347
+ /* @__PURE__ */ o.jsx("p", { className: "iw-mt-1.5 iw-text-xs iw-text-slate-500", children: jt })
6348
6348
  ] })
6349
6349
  ] })
6350
6350
  },
@@ -6525,10 +6525,10 @@ class gh {
6525
6525
  function ph(e = {}) {
6526
6526
  const { config: t = {}, callbacks: r = {} } = e, i = R(null);
6527
6527
  i.current || (i.current = new gh(t, {}));
6528
- const n = i.current, [s, a] = A(n.getState()), c = T(() => {
6528
+ const n = i.current, [s, a] = A(n.getState()), c = j(() => {
6529
6529
  a(n.getState());
6530
6530
  }, [n]);
6531
- O(() => {
6531
+ P(() => {
6532
6532
  const h = {
6533
6533
  onPhaseChange: (f, w) => {
6534
6534
  var m;
@@ -6544,14 +6544,14 @@ function ph(e = {}) {
6544
6544
  }
6545
6545
  };
6546
6546
  n.callbacks = h;
6547
- }, [n, r, c]), O(() => () => {
6547
+ }, [n, r, c]), P(() => () => {
6548
6548
  n.destroy();
6549
6549
  }, [n]);
6550
- const l = T(() => {
6550
+ const l = j(() => {
6551
6551
  n.startQuestion(), c();
6552
- }, [n, c]), u = T(() => {
6552
+ }, [n, c]), u = j(() => {
6553
6553
  n.nextPhase(), c();
6554
- }, [n, c]), d = T(() => {
6554
+ }, [n, c]), d = j(() => {
6555
6555
  n.completeInterview(), c();
6556
6556
  }, [n, c]);
6557
6557
  return {
@@ -6567,7 +6567,7 @@ function xh(e, t = {}) {
6567
6567
  data: null,
6568
6568
  loading: !1,
6569
6569
  error: null
6570
- }), n = T(
6570
+ }), n = j(
6571
6571
  async (...s) => {
6572
6572
  var a, c, l, u;
6573
6573
  i((d) => ({ ...d, loading: !0, error: null }));
@@ -6626,12 +6626,12 @@ const yh = (e) => {
6626
6626
  };
6627
6627
  r(x), (w = e == null ? void 0 : e.onError) == null || w.call(e, x);
6628
6628
  }
6629
- }, d = T(() => {
6629
+ }, d = j(() => {
6630
6630
  var m;
6631
6631
  const w = !!c();
6632
6632
  n(w), (m = e == null ? void 0 : e.onFullScreenChange) == null || m.call(e, w);
6633
6633
  }, [e]);
6634
- O(() => {
6634
+ P(() => {
6635
6635
  const w = [
6636
6636
  "fullscreenchange",
6637
6637
  "webkitfullscreenchange",
@@ -6661,7 +6661,7 @@ const yh = (e) => {
6661
6661
  error: t
6662
6662
  };
6663
6663
  }, bh = (e) => {
6664
- O(() => {
6664
+ P(() => {
6665
6665
  const t = (i) => {
6666
6666
  (i.ctrlKey || i.metaKey) && ["c", "v", "a", "t", "n", "w", "r", "s", "p"].includes(i.key.toLowerCase()) && (i.preventDefault(), e({
6667
6667
  type: "blocked_shortcut",
@@ -6702,7 +6702,7 @@ const yh = (e) => {
6702
6702
  }, vh = (e = {}) => {
6703
6703
  const [t, r] = A(!1), [i, n] = A(!1), [s, a] = A(null), [c, l] = A(null), [u, d] = A(null);
6704
6704
  e.config && or.updateConfig(e.config);
6705
- const h = T(async (x) => {
6705
+ const h = j(async (x) => {
6706
6706
  var v;
6707
6707
  try {
6708
6708
  l(null), a(null), d(null), await or.startRecording(x, {
@@ -6715,53 +6715,53 @@ const yh = (e) => {
6715
6715
  r(!1), (g = e.onStop) == null || g.call(e);
6716
6716
  },
6717
6717
  onError: (g) => {
6718
- var P;
6719
- const j = g instanceof ie ? g : new ie(g.message, "RECORDING_ERROR", !0);
6720
- l(j), r(!1), (P = e.onError) == null || P.call(e, j);
6718
+ var D;
6719
+ const T = g instanceof ie ? g : new ie(g.message, "RECORDING_ERROR", !0);
6720
+ l(T), r(!1), (D = e.onError) == null || D.call(e, T);
6721
6721
  }
6722
6722
  });
6723
6723
  } catch (g) {
6724
- const j = g instanceof ie ? g : new ie(
6724
+ const T = g instanceof ie ? g : new ie(
6725
6725
  g instanceof Error ? g.message : String(g),
6726
6726
  "START_FAILED",
6727
6727
  !1
6728
6728
  );
6729
- throw l(j), r(!1), (v = e.onError) == null || v.call(e, j), j;
6729
+ throw l(T), r(!1), (v = e.onError) == null || v.call(e, T), T;
6730
6730
  }
6731
- }, []), f = T(async () => {
6731
+ }, []), f = j(async () => {
6732
6732
  var x, v;
6733
6733
  try {
6734
6734
  const g = await or.stopRecording();
6735
6735
  return d(g), r(!1), (x = e.onStop) == null || x.call(e), g;
6736
6736
  } catch (g) {
6737
- const j = g instanceof ie ? g : new ie(
6737
+ const T = g instanceof ie ? g : new ie(
6738
6738
  g instanceof Error ? g.message : String(g),
6739
6739
  "STOP_FAILED",
6740
6740
  !1
6741
6741
  );
6742
- throw l(j), r(!1), (v = e.onError) == null || v.call(e, j), j;
6742
+ throw l(T), r(!1), (v = e.onError) == null || v.call(e, T), T;
6743
6743
  }
6744
- }, []), w = T(
6744
+ }, []), w = j(
6745
6745
  async (x, v = {}) => {
6746
- var g, j;
6746
+ var g, T;
6747
6747
  try {
6748
6748
  l(null), n(!0);
6749
- const P = {
6749
+ const D = {
6750
6750
  audioBlob: x,
6751
6751
  ...v
6752
- }, N = await or.transcribe(P);
6752
+ }, N = await or.transcribe(D);
6753
6753
  return a(N.transcript), n(!1), (g = e.onTranscriptionComplete) == null || g.call(e, N), N;
6754
- } catch (P) {
6755
- const N = P instanceof ie ? P : new ie(
6756
- P instanceof Error ? P.message : String(P),
6754
+ } catch (D) {
6755
+ const N = D instanceof ie ? D : new ie(
6756
+ D instanceof Error ? D.message : String(D),
6757
6757
  "TRANSCRIPTION_FAILED",
6758
6758
  !0
6759
6759
  );
6760
- throw l(N), n(!1), (j = e.onError) == null || j.call(e, N), N;
6760
+ throw l(N), n(!1), (T = e.onError) == null || T.call(e, N), N;
6761
6761
  }
6762
6762
  },
6763
6763
  []
6764
- ), m = T(() => {
6764
+ ), m = j(() => {
6765
6765
  or.cancelRecording(), r(!1), d(null);
6766
6766
  }, []);
6767
6767
  return {
@@ -6777,7 +6777,7 @@ const yh = (e) => {
6777
6777
  };
6778
6778
  }, _h = (e) => {
6779
6779
  const t = R(null), r = R(!1);
6780
- O(() => {
6780
+ P(() => {
6781
6781
  const i = () => {
6782
6782
  document.hidden && (r.current = !0, t.current && (clearTimeout(t.current), t.current = null), e({
6783
6783
  type: "tab_switch",
@@ -6806,7 +6806,7 @@ const yh = (e) => {
6806
6806
  };
6807
6807
  }, [e]);
6808
6808
  }, kh = () => {
6809
- O(() => {
6809
+ P(() => {
6810
6810
  const e = document.createElement("style");
6811
6811
  return e.textContent = `
6812
6812
  * {
@@ -6882,7 +6882,7 @@ class Eh {
6882
6882
  }
6883
6883
  }
6884
6884
  const da = new Eh(), Ah = (e = {}) => {
6885
- const [t, r] = A(!1), [i, n] = A(!1), [s, a] = A(null), c = T(
6885
+ const [t, r] = A(!1), [i, n] = A(!1), [s, a] = A(null), c = j(
6886
6886
  async (u) => {
6887
6887
  var d;
6888
6888
  try {
@@ -6906,7 +6906,7 @@ const da = new Eh(), Ah = (e = {}) => {
6906
6906
  }
6907
6907
  },
6908
6908
  [e]
6909
- ), l = T(() => {
6909
+ ), l = j(() => {
6910
6910
  da.stop(), r(!1), n(!1);
6911
6911
  }, []);
6912
6912
  return {
@@ -6916,23 +6916,23 @@ const da = new Eh(), Ah = (e = {}) => {
6916
6916
  isLoading: i,
6917
6917
  error: s
6918
6918
  };
6919
- }, Th = ({
6919
+ }, jh = ({
6920
6920
  onViolation: e,
6921
6921
  onEnd: t,
6922
6922
  maxViolations: r = 5
6923
6923
  }) => {
6924
6924
  const { addViolation: i } = Zl(), n = Ql(), s = Jl(), a = R(s);
6925
- O(() => {
6925
+ P(() => {
6926
6926
  a.current = s;
6927
6927
  }, [s]);
6928
- const c = T(
6928
+ const c = j(
6929
6929
  (u) => {
6930
6930
  t && t(u, a.current);
6931
6931
  },
6932
6932
  [t]
6933
6933
  );
6934
6934
  return {
6935
- logViolation: T(
6935
+ logViolation: j(
6936
6936
  ({ type: u, severity: d, details: h }) => {
6937
6937
  const f = {
6938
6938
  id: su(),
@@ -6951,8 +6951,8 @@ const da = new Eh(), Ah = (e = {}) => {
6951
6951
  violationCount: s,
6952
6952
  logList: n
6953
6953
  };
6954
- }, jh = () => {
6955
- O(() => {
6954
+ }, Th = () => {
6955
+ P(() => {
6956
6956
  function e() {
6957
6957
  console.clear(), console.log(
6958
6958
  `
@@ -7045,8 +7045,8 @@ const da = new Eh(), Ah = (e = {}) => {
7045
7045
  showLabel: s = !0
7046
7046
  }) => {
7047
7047
  const a = Math.max(1, e || 1), c = Nh(t / a, 0, 1), { radius: l, circumference: u, dashOffset: d, center: h } = zr(() => {
7048
- const m = (r - i) / 2, x = 2 * Math.PI * m, v = x * (1 - c), g = Math.round(i) % 2 === 1, j = r / 2 + (g ? 0.5 : 0);
7049
- return { radius: m, circumference: x, dashOffset: v, center: j };
7048
+ const m = (r - i) / 2, x = 2 * Math.PI * m, v = x * (1 - c), g = Math.round(i) % 2 === 1, T = r / 2 + (g ? 0.5 : 0);
7049
+ return { radius: m, circumference: x, dashOffset: v, center: T };
7050
7050
  }, [r, i, c]), f = zr(() => c <= 0.25 ? "iw-stroke-red-500" : c <= 0.5 ? "iw-stroke-yellow-500" : "iw-stroke-green-500", [c]), w = c <= 0.25 ? "iw-animate-pulse" : "";
7051
7051
  return /* @__PURE__ */ o.jsxs(
7052
7052
  "div",
@@ -7235,7 +7235,7 @@ const da = new Eh(), Ah = (e = {}) => {
7235
7235
  className: r = "",
7236
7236
  children: i,
7237
7237
  interviewId: n = "",
7238
- interview_duration: s = Ti,
7238
+ interview_duration: s = ji,
7239
7239
  videoFeedRef: a
7240
7240
  }) => /* @__PURE__ */ o.jsxs(
7241
7241
  "div",
@@ -7251,7 +7251,7 @@ const da = new Eh(), Ah = (e = {}) => {
7251
7251
  ) }) }),
7252
7252
  /* @__PURE__ */ o.jsxs("div", { className: "iw iw-bg-[#F6F6F6] iw-grid iw-grid-cols-2 iw-rounded-[14px] iw-p-6", children: [
7253
7253
  /* @__PURE__ */ o.jsx("div", { className: "iw-min-h-[400px] iw-max-h-[600px]", children: /* @__PURE__ */ o.jsx(
7254
- Nl,
7254
+ Sl,
7255
7255
  {
7256
7256
  ref: a,
7257
7257
  interviewId: n,
@@ -7263,11 +7263,110 @@ const da = new Eh(), Ah = (e = {}) => {
7263
7263
  ]
7264
7264
  }
7265
7265
  ), Rh = ({
7266
+ isOpen: e,
7267
+ onClose: t,
7268
+ children: r,
7269
+ title: i,
7270
+ showCloseButton: n = !0,
7271
+ closeOnOverlayClick: s = !0,
7272
+ closeOnEscape: a = !0,
7273
+ className: c = ""
7274
+ }) => {
7275
+ if (P(() => {
7276
+ if (!e || !a) return;
7277
+ const d = (h) => {
7278
+ h.key === "Escape" && t();
7279
+ };
7280
+ return document.addEventListener("keydown", d), () => document.removeEventListener("keydown", d);
7281
+ }, [e, a, t]), P(() => (e ? (document.body.style.overflow = "hidden", document.body.classList.add("interview-widget-container")) : (document.body.style.overflow = "unset", document.body.classList.remove("interview-widget-container")), () => {
7282
+ document.body.style.overflow = "unset", document.body.classList.remove("interview-widget-container");
7283
+ }), [e]), !e) return null;
7284
+ const l = (d) => {
7285
+ s && d.target === d.currentTarget && t();
7286
+ }, u = /* @__PURE__ */ o.jsxs(
7287
+ "div",
7288
+ {
7289
+ className: "interview-widget-container",
7290
+ style: {
7291
+ position: "fixed",
7292
+ inset: 0,
7293
+ zIndex: 9999,
7294
+ display: "flex",
7295
+ alignItems: "center",
7296
+ justifyContent: "center"
7297
+ },
7298
+ children: [
7299
+ /* @__PURE__ */ o.jsx(
7300
+ "div",
7301
+ {
7302
+ style: {
7303
+ position: "fixed",
7304
+ inset: 0,
7305
+ backgroundColor: "rgba(0, 0, 0, 0.5)",
7306
+ transition: "opacity 0.2s"
7307
+ },
7308
+ onClick: l
7309
+ }
7310
+ ),
7311
+ /* @__PURE__ */ o.jsxs(
7312
+ "div",
7313
+ {
7314
+ className: `iw-relative iw-bg-white iw-rounded-lg iw-shadow-xl iw-max-w-md iw-w-full iw-mx-4 iw-max-h-[90vh] iw-overflow-hidden ${c}`,
7315
+ role: "dialog",
7316
+ "aria-modal": "true",
7317
+ "aria-labelledby": i ? "standalone-dialog-title" : void 0,
7318
+ style: { zIndex: 1e4 },
7319
+ children: [
7320
+ (i || n) && /* @__PURE__ */ o.jsxs("div", { className: "iw-flex iw-items-center iw-justify-between iw-p-4 iw-border-b iw-border-gray-200", children: [
7321
+ i && /* @__PURE__ */ o.jsx(
7322
+ "h2",
7323
+ {
7324
+ id: "standalone-dialog-title",
7325
+ className: "iw-text-lg iw-font-semibold iw-text-gray-900",
7326
+ children: i
7327
+ }
7328
+ ),
7329
+ n && /* @__PURE__ */ o.jsx(
7330
+ "button",
7331
+ {
7332
+ onClick: t,
7333
+ className: "iw-p-1 iw-text-gray-400 iw-hover:text-gray-600 iw-transition-colors iw-rounded iw-hover:bg-gray-100",
7334
+ "aria-label": "Close dialog",
7335
+ children: /* @__PURE__ */ o.jsx(
7336
+ "svg",
7337
+ {
7338
+ className: "iw-w-5 iw-h-5",
7339
+ fill: "none",
7340
+ stroke: "currentColor",
7341
+ viewBox: "0 0 24 24",
7342
+ children: /* @__PURE__ */ o.jsx(
7343
+ "path",
7344
+ {
7345
+ strokeLinecap: "round",
7346
+ strokeLinejoin: "round",
7347
+ strokeWidth: 2,
7348
+ d: "M6 18L18 6M6 6l12 12"
7349
+ }
7350
+ )
7351
+ }
7352
+ )
7353
+ }
7354
+ )
7355
+ ] }),
7356
+ /* @__PURE__ */ o.jsx("div", { className: "iw-p-4 iw-overflow-y-auto", children: r })
7357
+ ]
7358
+ }
7359
+ )
7360
+ ]
7361
+ }
7362
+ );
7363
+ return xa(u, document.body);
7364
+ }, Mh = ({
7266
7365
  confirmExitInterview: e,
7267
7366
  isOpen: t,
7268
7367
  onClose: r
7269
7368
  }) => /* @__PURE__ */ o.jsx(
7270
- Ni,
7369
+ Rh,
7271
7370
  {
7272
7371
  isOpen: t,
7273
7372
  onClose: r,
@@ -7339,7 +7438,7 @@ const da = new Eh(), Ah = (e = {}) => {
7339
7438
  ] }),
7340
7439
  /* @__PURE__ */ o.jsx("div", { className: "iw-h-px iw-bg-gray-200" }),
7341
7440
  /* @__PURE__ */ o.jsx(
7342
- Rh,
7441
+ Mh,
7343
7442
  {
7344
7443
  isOpen: n,
7345
7444
  confirmExitInterview: () => {
@@ -7349,7 +7448,7 @@ const da = new Eh(), Ah = (e = {}) => {
7349
7448
  }
7350
7449
  )
7351
7450
  ] });
7352
- }, Mh = ({
7451
+ }, Lh = ({
7353
7452
  className: e = "",
7354
7453
  width: t,
7355
7454
  height: r = 56,
@@ -7360,8 +7459,8 @@ const da = new Eh(), Ah = (e = {}) => {
7360
7459
  mediaStream: c,
7361
7460
  startOnMount: l = !0
7362
7461
  }) => {
7363
- const { baseColor: u } = _r(), d = R(null), h = R(null), f = R(null), w = R(null), m = R(null), x = R(null), v = R(!1), [g, j] = A(null);
7364
- O(() => {
7462
+ const { baseColor: u } = _r(), d = R(null), h = R(null), f = R(null), w = R(null), m = R(null), x = R(null), v = R(!1), [g, T] = A(null);
7463
+ P(() => {
7365
7464
  if (t || !h.current) return;
7366
7465
  const N = h.current, I = () => {
7367
7466
  const V = d.current;
@@ -7370,7 +7469,7 @@ const da = new Eh(), Ah = (e = {}) => {
7370
7469
  V.width = Math.max(1, Math.floor($ * window.devicePixelRatio || 1)), V.height = Math.max(1, Math.floor(J * window.devicePixelRatio || 1));
7371
7470
  }, M = new ResizeObserver(I);
7372
7471
  return M.observe(N), I(), () => M.disconnect();
7373
- }, [t, r]), O(() => {
7472
+ }, [t, r]), P(() => {
7374
7473
  if (!t) return;
7375
7474
  const N = d.current;
7376
7475
  N && (N.width = Math.max(
@@ -7380,7 +7479,7 @@ const da = new Eh(), Ah = (e = {}) => {
7380
7479
  1,
7381
7480
  Math.floor(r * (window.devicePixelRatio || 1))
7382
7481
  ));
7383
- }, [t, r]), O(() => {
7482
+ }, [t, r]), P(() => {
7384
7483
  let N = !1;
7385
7484
  return (async () => {
7386
7485
  try {
@@ -7398,9 +7497,9 @@ const da = new Eh(), Ah = (e = {}) => {
7398
7497
  const $ = M.createAnalyser();
7399
7498
  $.fftSize = s, $.smoothingTimeConstant = a, w.current = $;
7400
7499
  const J = M.createMediaStreamSource(V);
7401
- m.current = J, J.connect($), P();
7500
+ m.current = J, J.connect($), D();
7402
7501
  } catch (M) {
7403
- j((M == null ? void 0 : M.message) || "Failed to initialize microphone");
7502
+ T((M == null ? void 0 : M.message) || "Failed to initialize microphone");
7404
7503
  }
7405
7504
  })(), () => {
7406
7505
  var M, V, $, J;
@@ -7416,7 +7515,7 @@ const da = new Eh(), Ah = (e = {}) => {
7416
7515
  v.current && ((J = (($ = m.current) == null ? void 0 : $.mediaStream) || void 0) == null || J.getTracks().forEach((oe) => oe.stop())), f.current && f.current.state !== "closed" && f.current.close();
7417
7516
  };
7418
7517
  }, [c, s, a, l]);
7419
- const P = () => {
7518
+ const D = () => {
7420
7519
  const N = d.current, I = w.current;
7421
7520
  if (!N || !I) return;
7422
7521
  const M = N.getContext("2d");
@@ -7425,10 +7524,10 @@ const da = new Eh(), Ah = (e = {}) => {
7425
7524
  x.current = requestAnimationFrame(fe), I.getByteTimeDomainData(Ge), M.clearRect(0, 0, $, J), M.fillStyle = "rgba(0,0,0,0)", M.fillRect(0, 0, $, J);
7426
7525
  const Ve = Math.max(1, Math.floor(i * V)), Ae = Math.max(1, Math.floor(n * V)), ye = Ve + Ae, gt = Math.max(8, Math.floor(($ + Ae) / ye)), st = Math.floor(Ge.length / gt);
7427
7526
  for (let pe = 0; pe < gt; pe++) {
7428
- const Gt = Math.min(Ge.length - 1, pe * st), $e = Ge[Gt] / 128 - 1, re = Math.abs($e), We = Math.pow(re, 0.6), W = Math.max(J * 0.06, We * (J * 0.9)), ot = pe * ye, S = (J - W) / 2, Z = 140 - Math.min(140, 140 * re), Tt = 85, jt = 48 + Math.floor(12 * (1 - re));
7429
- M.fillStyle = `${u}`, M.shadowColor = `hsla(${Z}, ${Tt}%, ${jt}%, ${0.25 * re})`, M.shadowBlur = 8 * re;
7527
+ const Gt = Math.min(Ge.length - 1, pe * st), $e = Ge[Gt] / 128 - 1, re = Math.abs($e), We = Math.pow(re, 0.6), W = Math.max(J * 0.06, We * (J * 0.9)), ot = pe * ye, S = (J - W) / 2, Z = 140 - Math.min(140, 140 * re), jt = 85, Tt = 48 + Math.floor(12 * (1 - re));
7528
+ M.fillStyle = `${u}`, M.shadowColor = `hsla(${Z}, ${jt}%, ${Tt}%, ${0.25 * re})`, M.shadowBlur = 8 * re;
7430
7529
  const Vt = Math.min(Ve / 2, W / 2);
7431
- Lh(M, ot, S, Ve, W, Vt), M.fill();
7530
+ Fh(M, ot, S, Ve, W, Vt), M.fill();
7432
7531
  }
7433
7532
  };
7434
7533
  fe();
@@ -7446,11 +7545,11 @@ const da = new Eh(), Ah = (e = {}) => {
7446
7545
  }
7447
7546
  );
7448
7547
  };
7449
- function Lh(e, t, r, i, n, s) {
7548
+ function Fh(e, t, r, i, n, s) {
7450
7549
  const a = Math.min(s, i / 2, n / 2);
7451
7550
  e.beginPath(), e.moveTo(t + a, r), e.lineTo(t + i - a, r), e.quadraticCurveTo(t + i, r, t + i, r + a), e.lineTo(t + i, r + n - a), e.quadraticCurveTo(t + i, r + n, t + i - a, r + n), e.lineTo(t + a, r + n), e.quadraticCurveTo(t, r + n, t, r + n - a), e.lineTo(t, r + a), e.quadraticCurveTo(t, r, t + a, r), e.closePath();
7452
7551
  }
7453
- const Fh = ({
7552
+ const Ph = ({
7454
7553
  state: e,
7455
7554
  answeringTime: t,
7456
7555
  nextPhase: r,
@@ -7478,7 +7577,7 @@ const Fh = ({
7478
7577
  /* @__PURE__ */ o.jsx("p", { className: "iw-max-w-lg iw-text-gray-500 iw-text-xs iw-leading-[21px]", children: "Done talking? Click the button to review your answer." })
7479
7578
  ] }),
7480
7579
  /* @__PURE__ */ o.jsxs("div", { children: [
7481
- /* @__PURE__ */ o.jsx(Mh, {}),
7580
+ /* @__PURE__ */ o.jsx(Lh, {}),
7482
7581
  i && /* @__PURE__ */ o.jsxs("div", { className: "iw-mt-2 iw-text-xs iw-text-red-600", children: [
7483
7582
  "Recording error: ",
7484
7583
  i.message
@@ -7494,12 +7593,12 @@ const Fh = ({
7494
7593
  }
7495
7594
  ) })
7496
7595
  ] });
7497
- function Ph() {
7596
+ function Dh() {
7498
7597
  const [e, t] = A(!0), r = zr(
7499
7598
  () => [0, 1, 2].map((i) => ({ id: i })),
7500
7599
  []
7501
7600
  );
7502
- return O(() => {
7601
+ return P(() => {
7503
7602
  const i = setInterval(() => {
7504
7603
  t((n) => !n);
7505
7604
  }, 1500);
@@ -7532,7 +7631,7 @@ function Ph() {
7532
7631
  /* @__PURE__ */ o.jsx("div", { className: "iw-text-center", children: /* @__PURE__ */ o.jsx("p", { className: "iw-text-gray-500 iw-font-medium", children: "Preparing your question..." }) })
7533
7632
  ] });
7534
7633
  }
7535
- const Dh = ({
7634
+ const Oh = ({
7536
7635
  size: e = "192px",
7537
7636
  className: t,
7538
7637
  colors: r,
@@ -7674,9 +7773,9 @@ const Dh = ({
7674
7773
  }
7675
7774
  );
7676
7775
  };
7677
- function Oh({ ttsError: e }) {
7776
+ function Bh({ ttsError: e }) {
7678
7777
  return /* @__PURE__ */ o.jsxs("div", { className: "iw-flex iw-flex-col iw-items-center iw-justify-center iw-gap-8 iw-w-full iw-h-full", children: [
7679
- /* @__PURE__ */ o.jsx(Dh, { size: "80px" }),
7778
+ /* @__PURE__ */ o.jsx(Oh, { size: "80px" }),
7680
7779
  e && /* @__PURE__ */ o.jsxs("div", { className: "iw-mt-2 iw-text-xs iw-text-red-600", children: [
7681
7780
  "Audio playback failed: ",
7682
7781
  e.message
@@ -7684,7 +7783,7 @@ function Oh({ ttsError: e }) {
7684
7783
  /* @__PURE__ */ o.jsx("p", { className: "iw-text- iw-text-gray-700", children: "Your AI interviewer is speaking..." })
7685
7784
  ] });
7686
7785
  }
7687
- const Bh = ({ state: e, thinkingTime: t, nextPhase: r }) => /* @__PURE__ */ o.jsxs("div", { className: "iw-flex iw-flex-col iw-gap-6 iw-items-center iw-justify-center iw-text-center iw-h-full ", children: [
7786
+ const Uh = ({ state: e, thinkingTime: t, nextPhase: r }) => /* @__PURE__ */ o.jsxs("div", { className: "iw-flex iw-flex-col iw-gap-6 iw-items-center iw-justify-center iw-text-center iw-h-full ", children: [
7688
7787
  /* @__PURE__ */ o.jsxs("div", { children: [
7689
7788
  /* @__PURE__ */ o.jsx("h3", { className: "iw-text-lg iw-font-semibold iw-text-gray-900 iw-mb-1", children: "Get Ready to Answer" }),
7690
7789
  /* @__PURE__ */ o.jsx("p", { className: "iw-max-w-lg iw-text-gray-500 iw-text-xs iw-leading-[21px]", children: "After 30-seconds thinking time, recording will start automatically, or you can begin recording early by clicking the button below." })
@@ -7713,7 +7812,7 @@ const Bh = ({ state: e, thinkingTime: t, nextPhase: r }) => /* @__PURE__ */ o.js
7713
7812
  children: "Start Answering"
7714
7813
  }
7715
7814
  ) })
7716
- ] }), Uh = ({
7815
+ ] }), Gh = ({
7717
7816
  sttError: e,
7718
7817
  editingDuration: t
7719
7818
  }) => /* @__PURE__ */ o.jsxs("div", { className: "iw-flex iw-flex-col iw-items-center iw-justify-center iw-h-full", children: [
@@ -7762,7 +7861,7 @@ const Bh = ({ state: e, thinkingTime: t, nextPhase: r }) => /* @__PURE__ */ o.js
7762
7861
  e.recoverable && " (attempting to continue)"
7763
7862
  ] })
7764
7863
  ] }), fi = 5;
7765
- function Gh({
7864
+ function Vh({
7766
7865
  isOpen: e,
7767
7866
  onClose: t,
7768
7867
  warningCount: r,
@@ -7770,17 +7869,17 @@ function Gh({
7770
7869
  onDisqualify: n
7771
7870
  }) {
7772
7871
  const [s, a] = A(10), c = R(t);
7773
- if (O(() => {
7872
+ if (P(() => {
7774
7873
  c.current = t;
7775
- }, [t]), O(() => {
7874
+ }, [t]), P(() => {
7776
7875
  if (!e) return;
7777
7876
  const f = setInterval(() => {
7778
7877
  a((w) => w <= 1 ? (c.current(), 10) : w - 1);
7779
7878
  }, 1e3);
7780
7879
  return () => clearInterval(f);
7781
- }, [e]), O(() => {
7880
+ }, [e]), P(() => {
7782
7881
  e && a(10);
7783
- }, [e]), O(() => (e ? (document.body.style.overflow = "hidden", document.body.classList.add("interview-widget-container")) : (document.body.style.overflow = "unset", document.body.classList.remove("interview-widget-container")), () => {
7882
+ }, [e]), P(() => (e ? (document.body.style.overflow = "hidden", document.body.classList.add("interview-widget-container")) : (document.body.style.overflow = "unset", document.body.classList.remove("interview-widget-container")), () => {
7784
7883
  document.body.style.overflow = "unset", document.body.classList.remove("interview-widget-container");
7785
7884
  }), [e]), !e) return null;
7786
7885
  const u = (() => {
@@ -7789,13 +7888,13 @@ function Gh({
7789
7888
  return {
7790
7889
  title: "Tab Switch Detected",
7791
7890
  description: "You attempted to switch to another tab or reload application.",
7792
- icon: /* @__PURE__ */ o.jsx(Ra, { className: "iw-h-5 iw-w-5" })
7891
+ icon: /* @__PURE__ */ o.jsx(Ma, { className: "iw-h-5 iw-w-5" })
7793
7892
  };
7794
7893
  case "fullscreen_exit":
7795
7894
  return {
7796
7895
  title: "Full Screen Exit Detected",
7797
7896
  description: "You attempted to exit full screen mode.",
7798
- icon: /* @__PURE__ */ o.jsx(Ca, { className: "iw-h-5 iw-w-5" })
7897
+ icon: /* @__PURE__ */ o.jsx(Ia, { className: "iw-h-5 iw-w-5" })
7799
7898
  };
7800
7899
  case "focus_loss":
7801
7900
  return {
@@ -7807,7 +7906,7 @@ function Gh({
7807
7906
  return {
7808
7907
  title: "Keyboard Shortcut Blocked",
7809
7908
  description: "You attempted to use a blocked keyboard shortcut.",
7810
- icon: /* @__PURE__ */ o.jsx(cn, { className: "iw-h-5 iw-w-5" })
7909
+ icon: /* @__PURE__ */ o.jsx(an, { className: "iw-h-5 iw-w-5" })
7811
7910
  };
7812
7911
  case "right_click_attempt":
7813
7912
  return {
@@ -7819,13 +7918,13 @@ function Gh({
7819
7918
  return {
7820
7919
  title: "Alt + Tab Attempted",
7821
7920
  description: "You attempted to use the Alt + Tab shortcut.",
7822
- icon: /* @__PURE__ */ o.jsx(cn, { className: "iw-h-5 iw-w-5" })
7921
+ icon: /* @__PURE__ */ o.jsx(an, { className: "iw-h-5 iw-w-5" })
7823
7922
  };
7824
7923
  case "blocked_function_key":
7825
7924
  return {
7826
7925
  title: "Function Key Blocked",
7827
7926
  description: "You attempted to use a blocked function key.",
7828
- icon: /* @__PURE__ */ o.jsx(cn, { className: "iw-h-5 iw-w-5" })
7927
+ icon: /* @__PURE__ */ o.jsx(an, { className: "iw-h-5 iw-w-5" })
7829
7928
  };
7830
7929
  default:
7831
7930
  return {
@@ -7876,7 +7975,7 @@ function Gh({
7876
7975
  /* @__PURE__ */ o.jsx("h3", { className: "iw-mb-2 iw-font-semibold iw-text-gray-900", children: u.title }),
7877
7976
  /* @__PURE__ */ o.jsx("p", { className: "iw-text-sm iw-leading-relaxed iw-text-gray-700", children: u.description }),
7878
7977
  /* @__PURE__ */ o.jsxs("div", { className: "iw-mt-3 iw-flex iw-items-center iw-gap-2 iw-text-xs iw-text-red-600", children: [
7879
- /* @__PURE__ */ o.jsx(Sa, { className: "iw-h-3 iw-w-3" }),
7978
+ /* @__PURE__ */ o.jsx(Ca, { className: "iw-h-3 iw-w-3" }),
7880
7979
  /* @__PURE__ */ o.jsx("span", { children: "This action is monitored for interview integrity" })
7881
7980
  ] })
7882
7981
  ] })
@@ -7926,7 +8025,7 @@ function Gh({
7926
8025
  ] })
7927
8026
  ] }) });
7928
8027
  }
7929
- const Vh = (e) => /* @__PURE__ */ o.jsxs(
8028
+ const $h = (e) => /* @__PURE__ */ o.jsxs(
7930
8029
  "svg",
7931
8030
  {
7932
8031
  xmlns: "http://www.w3.org/2000/svg",
@@ -7944,7 +8043,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
7944
8043
  /* @__PURE__ */ o.jsx("circle", { cx: "12", cy: "12", r: "10" })
7945
8044
  ]
7946
8045
  }
7947
- ), $h = ({
8046
+ ), Wh = ({
7948
8047
  showHardReloadWarning: e,
7949
8048
  onContinue: t
7950
8049
  }) => {
@@ -7952,7 +8051,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
7952
8051
  t();
7953
8052
  };
7954
8053
  return /* @__PURE__ */ o.jsxs(
7955
- Ni,
8054
+ qn,
7956
8055
  {
7957
8056
  isOpen: e,
7958
8057
  onClose: r,
@@ -7973,7 +8072,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
7973
8072
  onClick: r,
7974
8073
  className: "iw-w-full iw-flex iw-items-center iw-justify-center iw-gap-2 iw-px-4 iw-py-3 iw-bg-gray-100 iw-text-gray-600 iw-rounded-md iw-font-medium iw-transition-colors hover:iw-bg-gray-200 focus:iw-outline-none focus:iw-ring-2 focus:iw-ring-gray-400 focus:iw-ring-offset-2",
7975
8074
  children: [
7976
- /* @__PURE__ */ o.jsx(Vh, { className: "iw-size-4" }),
8075
+ /* @__PURE__ */ o.jsx($h, { className: "iw-size-4" }),
7977
8076
  "Continue Session"
7978
8077
  ]
7979
8078
  }
@@ -7981,9 +8080,9 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
7981
8080
  ]
7982
8081
  }
7983
8082
  );
7984
- }, Wh = ga(
8083
+ }, zh = ga(
7985
8084
  ({ children: e, onDisqualify: t }, r) => {
7986
- const [i, n] = A(!1), [s, a] = A(!1), [c, l] = A(!1), [u, d] = A("fullscreen_exit"), { logViolation: h, violationCount: f } = Th({
8085
+ const [i, n] = A(!1), [s, a] = A(!1), [c, l] = A(!1), [u, d] = A("fullscreen_exit"), { logViolation: h, violationCount: f } = jh({
7987
8086
  maxViolations: 5,
7988
8087
  onViolation: (g) => {
7989
8088
  s || (n(!0), d(g.type));
@@ -8000,7 +8099,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8000
8099
  })), g && l(!1);
8001
8100
  }
8002
8101
  });
8003
- O(() => {
8102
+ P(() => {
8004
8103
  w();
8005
8104
  }, []), pa(
8006
8105
  r,
@@ -8015,14 +8114,14 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8015
8114
  }
8016
8115
  }),
8017
8116
  []
8018
- ), _h(h), bh(h), kh(), jh();
8117
+ ), _h(h), bh(h), kh(), Th();
8019
8118
  const v = () => {
8020
8119
  a(!0), x(), n(!1), t == null || t();
8021
8120
  };
8022
8121
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
8023
8122
  /* @__PURE__ */ o.jsx("div", { className: "iw-relative iw-h-full iw-w-full", children: e }),
8024
8123
  /* @__PURE__ */ o.jsx(
8025
- Gh,
8124
+ Vh,
8026
8125
  {
8027
8126
  warningCount: f,
8028
8127
  isOpen: i,
@@ -8034,7 +8133,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8034
8133
  }
8035
8134
  ),
8036
8135
  !i && f > 0 && !s && !c && /* @__PURE__ */ o.jsx(
8037
- $h,
8136
+ Wh,
8038
8137
  {
8039
8138
  showHardReloadWarning: !m,
8040
8139
  logViolation: h,
@@ -8043,7 +8142,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8043
8142
  )
8044
8143
  ] });
8045
8144
  }
8046
- ), zh = ({
8145
+ ), Hh = ({
8047
8146
  interviewTitle: e,
8048
8147
  brandName: t = "Novara",
8049
8148
  interviewId: r,
@@ -8053,15 +8152,15 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8053
8152
  videoFeedRef: a
8054
8153
  }) => {
8055
8154
  var ni;
8056
- const c = Ia(), { baseUrl: l, authToken: u } = Ea(), { timers: d, stt: h, proctoring: f } = qn(), w = R(null), [m, x] = A(null), [v, g] = A(""), [j, P] = A(
8057
- Ti
8155
+ const c = Ra(), { baseUrl: l, authToken: u } = Aa(), { timers: d, stt: h, proctoring: f } = Hn(), w = R(null), [m, x] = A(null), [v, g] = A(""), [T, D] = A(
8156
+ ji
8058
8157
  ), N = R(""), I = R(null);
8059
- O(() => {
8158
+ P(() => {
8060
8159
  (async () => {
8061
- var Te;
8160
+ var je;
8062
8161
  try {
8063
8162
  const Ze = await c.getInterviewConfig(r);
8064
- (Te = Ze == null ? void 0 : Ze.data) != null && Te.duration_in_minutes && P(Ze.data.duration_in_minutes);
8163
+ (je = Ze == null ? void 0 : Ze.data) != null && je.duration_in_minutes && D(Ze.data.duration_in_minutes);
8065
8164
  } catch (Ze) {
8066
8165
  console.error("Failed to fetch interview config:", Ze);
8067
8166
  }
@@ -8072,7 +8171,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8072
8171
  answeringTime: (d == null ? void 0 : d.answeringDuration) || 120,
8073
8172
  editingTime: (d == null ? void 0 : d.editingDuration) || 30
8074
8173
  }, { thinkingTime: V, answeringTime: $, editingTime: J } = M;
8075
- O(() => {
8174
+ P(() => {
8076
8175
  N.current = v;
8077
8176
  }, [v]);
8078
8177
  const oe = R(!1), {
@@ -8126,7 +8225,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8126
8225
  S();
8127
8226
  break;
8128
8227
  case ae.READING_QUESTION:
8129
- jt();
8228
+ Tt();
8130
8229
  break;
8131
8230
  case ae.ANSWERING:
8132
8231
  Vt();
@@ -8135,7 +8234,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8135
8234
  ii();
8136
8235
  break;
8137
8236
  case ae.SUBMITTING:
8138
- Tt();
8237
+ jt();
8139
8238
  break;
8140
8239
  }
8141
8240
  },
@@ -8144,7 +8243,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8144
8243
  }
8145
8244
  }
8146
8245
  });
8147
- O(() => {
8246
+ P(() => {
8148
8247
  We();
8149
8248
  }, []);
8150
8249
  const { execute: S, loading: Z } = xh(
@@ -8165,7 +8264,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8165
8264
  console.error("Failed to fetch questions:", C);
8166
8265
  }
8167
8266
  }
8168
- ), Tt = T(async () => {
8267
+ ), jt = j(async () => {
8169
8268
  var C;
8170
8269
  try {
8171
8270
  await c.submitAnswer({
@@ -8173,11 +8272,11 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8173
8272
  qnaId: ((C = I.current) == null ? void 0 : C.qna_id) || "",
8174
8273
  answer: N.current
8175
8274
  });
8176
- } catch (Te) {
8177
- console.error("Failed to submit answer:", Te);
8275
+ } catch (je) {
8276
+ console.error("Failed to submit answer:", je);
8178
8277
  }
8179
8278
  We();
8180
- }, [c, r, We]), jt = T(async () => {
8279
+ }, [c, r, We]), Tt = j(async () => {
8181
8280
  var C;
8182
8281
  if ((C = I.current) != null && C.question)
8183
8282
  if (I.current.question_audio_data_base64)
@@ -8185,36 +8284,36 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8185
8284
  oe.current = !1, await Ge(
8186
8285
  I.current.question_audio_data_base64
8187
8286
  ), I.current.is_interview_done && ot();
8188
- } catch (Te) {
8189
- console.error("Failed to speak question:", Te), W();
8287
+ } catch (je) {
8288
+ console.error("Failed to speak question:", je), W();
8190
8289
  }
8191
8290
  else
8192
8291
  console.warn("No audio data available for question"), await nu(2e3), W();
8193
8292
  else
8194
8293
  W();
8195
- }, [Ge, W, ot]), Vt = T(async () => {
8294
+ }, [Ge, W, ot]), Vt = j(async () => {
8196
8295
  try {
8197
8296
  await gt($);
8198
8297
  } catch (C) {
8199
8298
  console.error("Failed to start recording:", C), W();
8200
8299
  }
8201
- }, [gt, W]), ii = T(async () => {
8300
+ }, [gt, W]), ii = j(async () => {
8202
8301
  try {
8203
8302
  const C = await st();
8204
8303
  await pe(C);
8205
8304
  } catch (C) {
8206
8305
  console.error("STT processing failed:", C), !Ae.current && !ye.current && (Ae.current = !0, W());
8207
8306
  }
8208
- }, [st, pe, W]), $t = T(
8307
+ }, [st, pe, W]), $t = j(
8209
8308
  async (C) => {
8210
- var Te, Ze;
8211
- fe(), Gt(), a && "current" in a && ((Te = a.current) == null || Te.stopCamera()), await ((Ze = w.current) == null ? void 0 : Ze.exitFullScreenIntentionally());
8309
+ var je, Ze;
8310
+ fe(), Gt(), a && "current" in a && ((je = a.current) == null || je.stopCamera()), await ((Ze = w.current) == null ? void 0 : Ze.exitFullScreenIntentionally());
8212
8311
  try {
8213
8312
  await c.exitInterview(r);
8214
8313
  } catch (si) {
8215
8314
  console.error("API call failed:", si);
8216
8315
  } finally {
8217
- C == null || C(), ot(), sessionStorage.removeItem(zn);
8316
+ C == null || C(), ot(), sessionStorage.removeItem(Wn);
8218
8317
  }
8219
8318
  },
8220
8319
  [r, fe, c]
@@ -8228,12 +8327,12 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8228
8327
  /* @__PURE__ */ o.jsx(et, { onClick: We, className: "iw-mt-2 iw-w-40", children: "Start Interview" })
8229
8328
  ] });
8230
8329
  case ae.FETCHING_QUESTION:
8231
- return /* @__PURE__ */ o.jsx(Ph, {});
8330
+ return /* @__PURE__ */ o.jsx(Dh, {});
8232
8331
  case ae.READING_QUESTION:
8233
- return /* @__PURE__ */ o.jsx(Oh, { ttsError: Ve });
8332
+ return /* @__PURE__ */ o.jsx(Bh, { ttsError: Ve });
8234
8333
  case ae.THINKING:
8235
8334
  return /* @__PURE__ */ o.jsx(
8236
- Bh,
8335
+ Uh,
8237
8336
  {
8238
8337
  state: re,
8239
8338
  thinkingTime: V,
@@ -8242,7 +8341,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8242
8341
  );
8243
8342
  case ae.ANSWERING:
8244
8343
  return /* @__PURE__ */ o.jsx(
8245
- Fh,
8344
+ Ph,
8246
8345
  {
8247
8346
  state: re,
8248
8347
  answeringTime: $,
@@ -8252,7 +8351,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8252
8351
  );
8253
8352
  case ae.TRANSCRIBING:
8254
8353
  return /* @__PURE__ */ o.jsx(
8255
- Uh,
8354
+ Gh,
8256
8355
  {
8257
8356
  sttError: $e,
8258
8357
  editingDuration: J
@@ -8264,7 +8363,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8264
8363
  Ch,
8265
8364
  {
8266
8365
  value: v,
8267
- onChange: (Te) => g(Te.target.value),
8366
+ onChange: (je) => g(je.target.value),
8268
8367
  onSubmit: () => W(),
8269
8368
  isSubmitDisabled: !v.trim() || Z || re.phase === ae.SUBMITTING,
8270
8369
  state: re,
@@ -8278,7 +8377,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8278
8377
  }
8279
8378
  };
8280
8379
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: f != null && f.enabled ? /* @__PURE__ */ o.jsxs(
8281
- Wh,
8380
+ zh,
8282
8381
  {
8283
8382
  ref: w,
8284
8383
  onDisqualify: () => $t(n),
@@ -8298,7 +8397,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8298
8397
  phase: re.phase,
8299
8398
  className: s,
8300
8399
  interviewId: r,
8301
- interview_duration: j,
8400
+ interview_duration: T,
8302
8401
  videoFeedRef: a,
8303
8402
  children: Rr()
8304
8403
  }
@@ -8321,13 +8420,13 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8321
8420
  phase: re.phase,
8322
8421
  className: s,
8323
8422
  interviewId: r,
8324
- interview_duration: j,
8423
+ interview_duration: T,
8325
8424
  videoFeedRef: a,
8326
8425
  children: Rr()
8327
8426
  }
8328
8427
  )
8329
8428
  ] }) });
8330
- }, Hh = ({
8429
+ }, qh = ({
8331
8430
  title: e,
8332
8431
  brandName: t,
8333
8432
  interviewId: r,
@@ -8335,10 +8434,10 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8335
8434
  onInterviewDisqualify: n,
8336
8435
  className: s = ""
8337
8436
  }) => {
8338
- const [a, c] = A(!1), [l, u] = A(!0), [d, h] = A(!1), { proctoring: f } = qn(), w = R(null), m = R(null), x = (f == null ? void 0 : f.gazeAnalysisEnabled) === !0, v = () => {
8437
+ const [a, c] = A(!1), [l, u] = A(!0), [d, h] = A(!1), { proctoring: f } = Hn(), w = R(null), m = R(null), x = (f == null ? void 0 : f.gazeAnalysisEnabled) === !0, v = () => {
8339
8438
  c(!0), u(!1);
8340
8439
  };
8341
- return O(() => {
8440
+ return P(() => {
8342
8441
  if (a && d && m.current && x)
8343
8442
  try {
8344
8443
  m.current.setReference();
@@ -8351,7 +8450,7 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8351
8450
  ref: w,
8352
8451
  className: `iw-flex iw-flex-col iw-rounded-xl iw-shadow-lg iw-overflow-hidden iw-h-[calc(100vh-1rem)] ${s}`,
8353
8452
  children: /* @__PURE__ */ o.jsx("div", { className: "iw-h-full iw-flex iw-flex-col", children: /* @__PURE__ */ o.jsx(
8354
- zh,
8453
+ Hh,
8355
8454
  {
8356
8455
  interviewTitle: e ?? "Interview",
8357
8456
  brandName: t ?? "Novara",
@@ -8377,11 +8476,11 @@ const Vh = (e) => /* @__PURE__ */ o.jsxs(
8377
8476
  ) });
8378
8477
  };
8379
8478
  typeof window < "u" && (window.InterviewWidget = {
8380
- InterviewWidget: Hh,
8479
+ InterviewWidget: qh,
8381
8480
  InterviewWidgetProvider: eu
8382
8481
  });
8383
8482
  export {
8384
- Hh as InterviewWidget,
8483
+ qh as InterviewWidget,
8385
8484
  eu as InterviewWidgetProvider,
8386
- Hh as default
8485
+ qh as default
8387
8486
  };