viewgate-wrapper 1.11.16 → 1.11.17

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.
@@ -134,7 +134,7 @@ function fc() {
134
134
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
135
135
  )), Q = this.props.ref, Q !== void 0 ? Q : null;
136
136
  }
137
- function l(Q, K, N, Z, NA, se) {
137
+ function B(Q, K, N, Z, NA, se) {
138
138
  var J = N.ref;
139
139
  return Q = {
140
140
  $$typeof: h,
@@ -206,7 +206,7 @@ React keys must be passed directly to JSX without using spread:
206
206
  return J && i(
207
207
  N,
208
208
  typeof Q == "function" ? Q.displayName || Q.name || "Unknown" : Q
209
- ), l(
209
+ ), B(
210
210
  Q,
211
211
  J,
212
212
  N,
@@ -296,10 +296,10 @@ function wc() {
296
296
  return !0;
297
297
  }
298
298
  }
299
- function l(d, f) {
299
+ function B(d, f) {
300
300
  return f();
301
301
  }
302
- var c = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? l : i;
302
+ var c = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? B : i;
303
303
  return Es.useSyncExternalStore = t.useSyncExternalStore !== void 0 ? t.useSyncExternalStore : c, Es;
304
304
  }
305
305
  var bs = {};
@@ -336,7 +336,7 @@ function pc() {
336
336
  });
337
337
  },
338
338
  [u]
339
- ), l(w), w;
339
+ ), B(w), w;
340
340
  }
341
341
  function e(u) {
342
342
  var h = u.getSnapshot;
@@ -352,7 +352,7 @@ function pc() {
352
352
  return h();
353
353
  }
354
354
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
355
- var s = Ft, n = typeof Object.is == "function" ? Object.is : t, o = s.useState, i = s.useEffect, a = s.useLayoutEffect, l = s.useDebugValue, c = !1, d = !1, f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? r : A;
355
+ var s = Ft, n = typeof Object.is == "function" ? Object.is : t, o = s.useState, i = s.useEffect, a = s.useLayoutEffect, B = s.useDebugValue, c = !1, d = !1, f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? r : A;
356
356
  bs.useSyncExternalStore = s.useSyncExternalStore !== void 0 ? s.useSyncExternalStore : f, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
357
357
  })()), bs;
358
358
  }
@@ -485,7 +485,7 @@ async function _i(...t) {
485
485
  let o = n.populateCache;
486
486
  const i = n.rollbackOnError;
487
487
  let a = n.optimisticData;
488
- const l = (f) => typeof i == "function" ? i(f) : i !== !1, c = n.throwOnError;
488
+ const B = (f) => typeof i == "function" ? i(f) : i !== !1, c = n.throwOnError;
489
489
  if (ge(e)) {
490
490
  const f = e, u = [], h = A.keys();
491
491
  for (const w of h)
@@ -525,7 +525,7 @@ async function _i(...t) {
525
525
  }), q !== C[u][0]) {
526
526
  if (G) throw T;
527
527
  return x;
528
- } else G && I && l(T) && (o = !0, w({
528
+ } else G && I && B(T) && (o = !0, w({
529
529
  data: EA,
530
530
  _c: DA
531
531
  }));
@@ -570,7 +570,7 @@ const wo = (t, A) => {
570
570
  if (u)
571
571
  for (const h of u)
572
572
  h(d, f);
573
- }, l = () => {
573
+ }, B = () => {
574
574
  if (!be.has(t) && (be.set(t, [
575
575
  r,
576
576
  /* @__PURE__ */ Object.create(null),
@@ -586,10 +586,10 @@ const wo = (t, A) => {
586
586
  };
587
587
  }
588
588
  };
589
- return l(), [
589
+ return B(), [
590
590
  t,
591
591
  s,
592
- l,
592
+ B,
593
593
  n
594
594
  ];
595
595
  }
@@ -658,7 +658,7 @@ const wo = (t, A) => {
658
658
  }), r), Xc = Vc.concat(Pc), Wc = (t) => function(...e) {
659
659
  const r = _c(), [s, n, o] = Nc(e), i = Rc(r, o);
660
660
  let a = t;
661
- const { use: l } = i, c = (l || []).concat(Xc);
661
+ const { use: B } = i, c = (B || []).concat(Xc);
662
662
  for (let d = c.length; d--; )
663
663
  a = c[d](a);
664
664
  return a(s, n || i.fetcher || null, i);
@@ -692,7 +692,7 @@ const Ls = Ft.use || // This extra generic is to avoid TypeScript mixing up the
692
692
  }), Ts = {
693
693
  dedupe: !0
694
694
  }, po = Promise.resolve(DA), Jc = () => He, Yc = (t, A, e) => {
695
- const { cache: r, compare: s, suspense: n, fallbackData: o, revalidateOnMount: i, revalidateIfStale: a, refreshInterval: l, refreshWhenHidden: c, refreshWhenOffline: d, keepPreviousData: f, strictServerPrefetchWarning: u } = e, [h, w, U, C] = be.get(r), [p, F] = _n(t), S = pA(!1), x = pA(!1), T = pA(p), G = pA(A), q = pA(e), I = () => q.current, yA = () => I().isVisible() && I().isOnline(), [j, cA, EA, FA] = Ni(r, p), rA = pA({}).current, YA = k(o) ? k(e.fallback) ? DA : e.fallback[p] : o, RA = (z, lA) => {
695
+ const { cache: r, compare: s, suspense: n, fallbackData: o, revalidateOnMount: i, revalidateIfStale: a, refreshInterval: B, refreshWhenHidden: c, refreshWhenOffline: d, keepPreviousData: f, strictServerPrefetchWarning: u } = e, [h, w, U, C] = be.get(r), [p, F] = _n(t), S = pA(!1), x = pA(!1), T = pA(p), G = pA(A), q = pA(e), I = () => q.current, yA = () => I().isVisible() && I().isOnline(), [j, cA, EA, FA] = Ni(r, p), rA = pA({}).current, YA = k(o) ? k(e.fallback) ? DA : e.fallback[p] : o, RA = (z, lA) => {
696
696
  for (const BA in rA) {
697
697
  const oA = BA;
698
698
  if (oA === "data") {
@@ -841,7 +841,7 @@ const Ls = Ft.use || // This extra generic is to avoid TypeScript mixing up the
841
841
  ]), vs(() => {
842
842
  let z;
843
843
  function lA() {
844
- const oA = ge(l) ? l(j().data) : l;
844
+ const oA = ge(B) ? B(j().data) : B;
845
845
  oA && z !== -1 && (z = setTimeout(BA, oA));
846
846
  }
847
847
  function BA() {
@@ -851,7 +851,7 @@ const Ls = Ft.use || // This extra generic is to avoid TypeScript mixing up the
851
851
  z && (clearTimeout(z), z = -1);
852
852
  };
853
853
  }, [
854
- l,
854
+ B,
855
855
  c,
856
856
  d,
857
857
  p
@@ -944,7 +944,7 @@ const el = Ri(
944
944
  ...i
945
945
  },
946
946
  [
947
- ...o.map(([l, c]) => on(l, c)),
947
+ ...o.map(([B, c]) => on(B, c)),
948
948
  ...Array.isArray(n) ? n : [n]
949
949
  ]
950
950
  )
@@ -1257,7 +1257,7 @@ const Sl = [
1257
1257
  baseUrl: r = "https://view-gate.vercel.app",
1258
1258
  dashboardUrl: s
1259
1259
  }) => {
1260
- const n = s || (r === "https://view-gate.vercel.app" ? "https://view-gate-dashboard.vercel.app" : r), [o, i] = R(!1), [a, l] = R([]);
1260
+ const n = s || (r === "https://view-gate.vercel.app" ? "https://view-gate-dashboard.vercel.app" : r), [o, i] = R(!1), [a, B] = R([]);
1261
1261
  pA(0);
1262
1262
  const c = pA(null), d = pA(!1);
1263
1263
  kA(() => {
@@ -1285,8 +1285,8 @@ const Sl = [
1285
1285
  }
1286
1286
  }, u = (w, U) => {
1287
1287
  const C = Date.now();
1288
- l((p) => [...p, { id: C, message: w, type: U }]), setTimeout(() => {
1289
- l((p) => p.filter((F) => F.id !== C));
1288
+ B((p) => [...p, { id: C, message: w, type: U }]), setTimeout(() => {
1289
+ B((p) => p.filter((F) => F.id !== C));
1290
1290
  }, 4e3);
1291
1291
  }, h = Ll[A];
1292
1292
  return /* @__PURE__ */ g.jsxs(ji.Provider, { "data-vg-id": "89da3486", "data-source-path": "/src/components/ViewGateProvider.tsx:357", value: {
@@ -1368,10 +1368,10 @@ for (var Cr = 0; Cr < Eo.length; Cr++)
1368
1368
  var Rl = function(t) {
1369
1369
  var A = t.length * 0.75, e = t.length, r, s = 0, n, o, i, a;
1370
1370
  t[t.length - 1] === "=" && (A--, t[t.length - 2] === "=" && A--);
1371
- var l = typeof ArrayBuffer < "u" && typeof Uint8Array < "u" && typeof Uint8Array.prototype.slice < "u" ? new ArrayBuffer(A) : new Array(A), c = Array.isArray(l) ? l : new Uint8Array(l);
1371
+ var B = typeof ArrayBuffer < "u" && typeof Uint8Array < "u" && typeof Uint8Array.prototype.slice < "u" ? new ArrayBuffer(A) : new Array(A), c = Array.isArray(B) ? B : new Uint8Array(B);
1372
1372
  for (r = 0; r < e; r += 4)
1373
1373
  n = Gt[t.charCodeAt(r)], o = Gt[t.charCodeAt(r + 1)], i = Gt[t.charCodeAt(r + 2)], a = Gt[t.charCodeAt(r + 3)], c[s++] = n << 2 | o >> 4, c[s++] = (o & 15) << 4 | i >> 2, c[s++] = (i & 3) << 6 | a & 63;
1374
- return l;
1374
+ return B;
1375
1375
  }, Ml = function(t) {
1376
1376
  for (var A = t.length, e = [], r = 0; r < A; r += 2)
1377
1377
  e.push(t[r + 1] << 8 | t[r]);
@@ -1475,7 +1475,7 @@ var AB = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
1475
1475
  var n = r - 1;
1476
1476
  if (Array.isArray(s) && s[n] === !0)
1477
1477
  return V;
1478
- var o = n - 1, i = n + 1, a = A[n], l = o >= 0 ? A[o] : 0, c = A[i];
1478
+ var o = n - 1, i = n + 1, a = A[n], B = o >= 0 ? A[o] : 0, c = A[i];
1479
1479
  if (a === Yi && c === zi)
1480
1480
  return V;
1481
1481
  if (En.indexOf(a) !== -1)
@@ -1492,7 +1492,7 @@ var AB = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
1492
1492
  return V;
1493
1493
  if (c === Qn || a === Qn)
1494
1494
  return yr;
1495
- if ([pn, Vt, Cn].indexOf(c) !== -1 || a === sB || l === Fn && BB.indexOf(a) !== -1 || a === lt && c === Fn || c === To || xe.indexOf(c) !== -1 && a === ZA || xe.indexOf(a) !== -1 && c === ZA || a === Nt && [qt, Fr, xr].indexOf(c) !== -1 || [qt, Fr, xr].indexOf(a) !== -1 && c === kt || xe.indexOf(a) !== -1 && Ko.indexOf(c) !== -1 || Ko.indexOf(a) !== -1 && xe.indexOf(c) !== -1 || // (PR | PO) × ( OP | HY )? NU
1495
+ if ([pn, Vt, Cn].indexOf(c) !== -1 || a === sB || B === Fn && BB.indexOf(a) !== -1 || a === lt && c === Fn || c === To || xe.indexOf(c) !== -1 && a === ZA || xe.indexOf(a) !== -1 && c === ZA || a === Nt && [qt, Fr, xr].indexOf(c) !== -1 || [qt, Fr, xr].indexOf(a) !== -1 && c === kt || xe.indexOf(a) !== -1 && Ko.indexOf(c) !== -1 || Ko.indexOf(a) !== -1 && xe.indexOf(c) !== -1 || // (PR | PO) × ( OP | HY )? NU
1496
1496
  [Nt, kt].indexOf(a) !== -1 && (c === ZA || [Dt, Vt].indexOf(c) !== -1 && A[i + 1] === ZA) || // ( OP | HY ) × NU
1497
1497
  [Dt, Vt].indexOf(a) !== -1 && c === ZA || // NU × (NU | SY | IS)
1498
1498
  a === ZA && [ZA, lt, ct].indexOf(c) !== -1)
@@ -1547,16 +1547,16 @@ var AB = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
1547
1547
  }, t;
1548
1548
  })()
1549
1549
  ), hB = function(t, A) {
1550
- var e = ts(t), r = uB(e, A), s = r[0], n = r[1], o = r[2], i = e.length, a = 0, l = 0;
1550
+ var e = ts(t), r = uB(e, A), s = r[0], n = r[1], o = r[2], i = e.length, a = 0, B = 0;
1551
1551
  return {
1552
1552
  next: function() {
1553
- if (l >= i)
1553
+ if (B >= i)
1554
1554
  return { done: !0, value: null };
1555
- for (var c = V; l < i && (c = gB(e, n, s, ++l, o)) === V; )
1555
+ for (var c = V; B < i && (c = gB(e, n, s, ++B, o)) === V; )
1556
1556
  ;
1557
- if (c !== V || l === i) {
1558
- var d = new fB(e, c, a, l);
1559
- return a = l, { value: d, done: !1 };
1557
+ if (c !== V || B === i) {
1558
+ var d = new fB(e, c, a, B);
1559
+ return a = B, { value: d, done: !1 };
1560
1560
  }
1561
1561
  return { done: !0, value: null };
1562
1562
  }
@@ -1577,10 +1577,10 @@ const wB = 1, pB = 2, xt = 4, Ro = 8, Pr = 10, Mo = 47, Jt = 92, QB = 9, CB = 32
1577
1577
  (t[A] === na || t[A] === ra) && A++;
1578
1578
  let a = 1;
1579
1579
  (t[A] === ze || t[A] === WA) && (t[A] === WA && (a = -1), A++);
1580
- const l = [];
1580
+ const B = [];
1581
1581
  for (; KA(t[A]); )
1582
- l.push(t[A++]);
1583
- const c = l.length ? parseInt(wA(...l), 10) : 0;
1582
+ B.push(t[A++]);
1583
+ const c = B.length ? parseInt(wA(...B), 10) : 0;
1584
1584
  return e * (s + i * Math.pow(10, -o)) * Math.pow(10, a * c);
1585
1585
  }, rd = {
1586
1586
  type: 2
@@ -1724,8 +1724,8 @@ class ia {
1724
1724
  return this.consumeCodePoint(), this.consumeCodePoint(), fd;
1725
1725
  break;
1726
1726
  case HB:
1727
- const a = this.peekCodePoint(0), l = this.peekCodePoint(1), c = this.peekCodePoint(2);
1728
- if (Sr(a, l, c))
1727
+ const a = this.peekCodePoint(0), B = this.peekCodePoint(1), c = this.peekCodePoint(2);
1728
+ if (Sr(a, B, c))
1729
1729
  return { type: 7, value: this.consumeName() };
1730
1730
  break;
1731
1731
  case vB:
@@ -2203,8 +2203,8 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
2203
2203
  const [e, r, s, n] = ha(A), o = et(Pe(is(ns([e, r, s]))));
2204
2204
  return ce(gA(Math.round(o[0] * 255), 0, 255), gA(Math.round(o[1] * 255), 0, 255), gA(Math.round(o[2] * 255), 0, 255), n);
2205
2205
  }, fa = (t, A) => {
2206
- const e = A.filter(IA), [r, s, n, o] = e, i = (r.type === 17 ? ee(r.number) : yt.parse(t, r)) / (Math.PI * 2), a = $(s) ? s.number / 100 : 0, l = $(n) ? n.number / 100 : 0, c = typeof o < "u" && $(o) ? D(o, 1) : 1;
2207
- return [i, a, l, c];
2206
+ const e = A.filter(IA), [r, s, n, o] = e, i = (r.type === 17 ? ee(r.number) : yt.parse(t, r)) / (Math.PI * 2), a = $(s) ? s.number / 100 : 0, B = $(n) ? n.number / 100 : 0, c = typeof o < "u" && $(o) ? D(o, 1) : 1;
2207
+ return [i, a, B, c];
2208
2208
  }, No = (t, A) => {
2209
2209
  if (tt(A))
2210
2210
  throw new Error("Relative color not supported for hsl()");
@@ -2277,17 +2277,17 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
2277
2277
  }, Td = (t, A) => {
2278
2278
  const e = A.filter(IA);
2279
2279
  if (e.length === 3) {
2280
- const [r, s, n] = e.map(Oe), o = vn([r / 255, s / 255, n / 255]), [i, a, l] = Hn([o[0], o[1], o[2]]);
2281
- return [i, a, l, 1];
2280
+ const [r, s, n] = e.map(Oe), o = vn([r / 255, s / 255, n / 255]), [i, a, B] = Hn([o[0], o[1], o[2]]);
2281
+ return [i, a, B, 1];
2282
2282
  }
2283
2283
  if (e.length === 4) {
2284
- const [r, s, n, o] = e.map(Oe), i = vn([r / 255, s / 255, n / 255]), [a, l, c] = Hn([i[0], i[1], i[2]]);
2285
- return [a, l, c, o];
2284
+ const [r, s, n, o] = e.map(Oe), i = vn([r / 255, s / 255, n / 255]), [a, B, c] = Hn([i[0], i[1], i[2]]);
2285
+ return [a, B, c, o];
2286
2286
  }
2287
2287
  return [0, 0, 0, 1];
2288
2288
  }, Kd = (t, A) => {
2289
- const [e, r, s, n] = fa(t, A), o = vn(Qa([e, r, s])), [i, a, l] = Hn([o[0], o[1], o[2]]);
2290
- return [i, a, l, n];
2289
+ const [e, r, s, n] = fa(t, A), o = vn(Qa([e, r, s])), [i, a, B] = Hn([o[0], o[1], o[2]]);
2290
+ return [i, a, B, n];
2291
2291
  }, Dd = (t, A) => {
2292
2292
  const [e, r, s, n] = ss(A), [o, i, a] = is([e, r, s]);
2293
2293
  return [o, i, a, n];
@@ -2499,8 +2499,8 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
2499
2499
  const n = r, o = Wo[n];
2500
2500
  if (typeof o > "u")
2501
2501
  throw new Error(`Attempting to parse an unsupported color space "${n}" for color() function`);
2502
- const i = CA(e[1]) ? e[1].number : 0, a = CA(e[2]) ? e[2].number : 0, l = CA(e[3]) ? e[3].number : 0, c = e.length > 4 && e[4].type === 6 && e[4].value === "/" && CA(e[5]) ? e[5].number : 1;
2503
- return o([i, a, l, c]);
2502
+ const i = CA(e[1]) ? e[1].number : 0, a = CA(e[2]) ? e[2].number : 0, B = CA(e[3]) ? e[3].number : 0, c = e.length > 4 && e[4].type === 6 && e[4].value === "/" && CA(e[5]) ? e[5].number : 1;
2503
+ return o([i, a, B, c]);
2504
2504
  } else {
2505
2505
  const n = (p, F) => {
2506
2506
  if (CA(F))
@@ -2552,12 +2552,12 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
2552
2552
  throw new Error("Attempting to use unknown color in relative color 'from'");
2553
2553
  if (i === "unknown")
2554
2554
  throw new Error("Attempting to use unknown colorspace in relative color 'to'");
2555
- const l = hg[o], c = wg[i], d = Wo[i];
2556
- if (typeof l > "u")
2555
+ const B = hg[o], c = wg[i], d = Wo[i];
2556
+ if (typeof B > "u")
2557
2557
  throw new Error(`Attempting to parse an unsupported color space "${o}" for color() function`);
2558
2558
  if (typeof c > "u")
2559
2559
  throw new Error(`Attempting to parse an unsupported color space "${i}" for color() function`);
2560
- const f = l(t, a), u = c(f), h = n(u, e[3]), w = n(u, e[4]), U = n(u, e[5]), C = e.length > 6 && e[6].type === 6 && e[6].value === "/" && CA(e[7]) ? e[7].number : 1;
2560
+ const f = B(t, a), u = c(f), h = n(u, e[3]), w = n(u, e[4]), U = n(u, e[5]), C = e.length > 6 && e[6].type === 6 && e[6].value === "/" && CA(e[7]) ? e[7].number : 1;
2561
2561
  if (h === null || w === null || U === null)
2562
2562
  throw new Error("Invalid relative color in color() function");
2563
2563
  return d([h, w, U, C]);
@@ -2781,8 +2781,8 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
2781
2781
  for (let i = 0; i < t.length; i++) {
2782
2782
  const a = t[i].stop;
2783
2783
  if (a !== null) {
2784
- const l = D(a, A);
2785
- l > n ? s.push(l) : s.push(n), n = l;
2784
+ const B = D(a, A);
2785
+ B > n ? s.push(B) : s.push(n), n = B;
2786
2786
  } else
2787
2787
  s.push(null);
2788
2788
  }
@@ -2792,8 +2792,8 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
2792
2792
  if (a === null)
2793
2793
  o === null && (o = i);
2794
2794
  else if (o !== null) {
2795
- const l = i - o, c = s[o - 1], d = (a - c) / (l + 1);
2796
- for (let f = 1; f <= l; f++)
2795
+ const B = i - o, c = s[o - 1], d = (a - c) / (B + 1);
2796
+ for (let f = 1; f <= B; f++)
2797
2797
  s[o + f - 1] = d * f;
2798
2798
  o = null;
2799
2799
  }
@@ -2803,15 +2803,15 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
2803
2803
  const r = A / 2, s = e / 2, n = D(t[0], A) - r, o = s - D(t[1], e);
2804
2804
  return (Math.atan2(o, n) + Math.PI * 2) % (Math.PI * 2);
2805
2805
  }, Ug = (t, A, e) => {
2806
- const r = typeof t == "number" ? t : mg(t, A, e), s = Math.abs(A * Math.sin(r)) + Math.abs(e * Math.cos(r)), n = A / 2, o = e / 2, i = s / 2, a = Math.sin(r - Math.PI / 2) * i, l = Math.cos(r - Math.PI / 2) * i;
2807
- return [s, n - l, n + l, o - a, o + a];
2806
+ const r = typeof t == "number" ? t : mg(t, A, e), s = Math.abs(A * Math.sin(r)) + Math.abs(e * Math.cos(r)), n = A / 2, o = e / 2, i = s / 2, a = Math.sin(r - Math.PI / 2) * i, B = Math.cos(r - Math.PI / 2) * i;
2807
+ return [s, n - B, n + B, o - a, o + a];
2808
2808
  }, ie = (t, A) => Math.sqrt(t * t + A * A), Jo = (t, A, e, r, s) => [
2809
2809
  [0, 0],
2810
2810
  [0, A],
2811
2811
  [t, 0],
2812
2812
  [t, A]
2813
2813
  ].reduce((o, i) => {
2814
- const [a, l] = i, c = ie(e - a, r - l);
2814
+ const [a, B] = i, c = ie(e - a, r - B);
2815
2815
  return (s ? c < o.optimumDistance : c > o.optimumDistance) ? {
2816
2816
  optimumCorner: i,
2817
2817
  optimumDistance: c
@@ -2829,8 +2829,8 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
2829
2829
  if (t.shape === 0)
2830
2830
  n = o = Math.min(ie(A, e), ie(A, e - s), ie(A - r, e), ie(A - r, e - s));
2831
2831
  else if (t.shape === 1) {
2832
- const i = Math.min(Math.abs(e), Math.abs(e - s)) / Math.min(Math.abs(A), Math.abs(A - r)), [a, l] = Jo(r, s, A, e, !0);
2833
- n = ie(a - A, (l - e) / i), o = i * n;
2832
+ const i = Math.min(Math.abs(e), Math.abs(e - s)) / Math.min(Math.abs(A), Math.abs(A - r)), [a, B] = Jo(r, s, A, e, !0);
2833
+ n = ie(a - A, (B - e) / i), o = i * n;
2834
2834
  }
2835
2835
  break;
2836
2836
  case 1:
@@ -2840,8 +2840,8 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
2840
2840
  if (t.shape === 0)
2841
2841
  n = o = Math.max(ie(A, e), ie(A, e - s), ie(A - r, e), ie(A - r, e - s));
2842
2842
  else if (t.shape === 1) {
2843
- const i = Math.max(Math.abs(e), Math.abs(e - s)) / Math.max(Math.abs(A), Math.abs(A - r)), [a, l] = Jo(r, s, A, e, !1);
2844
- n = ie(a - A, (l - e) / i), o = i * n;
2843
+ const i = Math.max(Math.abs(e), Math.abs(e - s)) / Math.max(Math.abs(A), Math.abs(A - r)), [a, B] = Jo(r, s, A, e, !1);
2844
+ n = ie(a - A, (B - e) / i), o = i * n;
2845
2845
  }
2846
2846
  break;
2847
2847
  }
@@ -2894,9 +2894,9 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
2894
2894
  const e = ee(180), r = [];
2895
2895
  let s = 1;
2896
2896
  const n = 0, o = 3, i = [];
2897
- return le(A).forEach((a, l) => {
2897
+ return le(A).forEach((a, B) => {
2898
2898
  const c = a[0];
2899
- if (l === 0) {
2899
+ if (B === 0) {
2900
2900
  if (O(c) && c.value === "linear") {
2901
2901
  s = 1;
2902
2902
  return;
@@ -2934,9 +2934,9 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
2934
2934
  return le(A).forEach((o, i) => {
2935
2935
  let a = !0;
2936
2936
  if (i === 0) {
2937
- let l = !1;
2937
+ let B = !1;
2938
2938
  a = o.reduce((c, d) => {
2939
- if (l)
2939
+ if (B)
2940
2940
  if (O(d))
2941
2941
  switch (d.value) {
2942
2942
  case "center":
@@ -2956,7 +2956,7 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
2956
2956
  case ba:
2957
2957
  return e = 1, !1;
2958
2958
  case "at":
2959
- return l = !0, !1;
2959
+ return B = !0, !1;
2960
2960
  case Ua:
2961
2961
  return r = 0, !1;
2962
2962
  case Ha:
@@ -2974,8 +2974,8 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
2974
2974
  }, a);
2975
2975
  }
2976
2976
  if (a) {
2977
- const l = as(t, o);
2978
- s.push(l);
2977
+ const B = as(t, o);
2978
+ s.push(B);
2979
2979
  }
2980
2980
  }), {
2981
2981
  size: r,
@@ -2990,7 +2990,7 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
2990
2990
  const s = [], n = [];
2991
2991
  return le(A).forEach((o, i) => {
2992
2992
  let a = !0;
2993
- if (i === 0 ? a = o.reduce((l, c) => {
2993
+ if (i === 0 ? a = o.reduce((B, c) => {
2994
2994
  if (O(c))
2995
2995
  switch (c.value) {
2996
2996
  case "center":
@@ -3004,8 +3004,8 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
3004
3004
  }
3005
3005
  else if ($(c) || _e(c))
3006
3006
  return n.push(c), !1;
3007
- return l;
3008
- }, a) : i === 1 && (a = o.reduce((l, c) => {
3007
+ return B;
3008
+ }, a) : i === 1 && (a = o.reduce((B, c) => {
3009
3009
  if (O(c))
3010
3010
  switch (c.value) {
3011
3011
  case Ea:
@@ -3025,10 +3025,10 @@ const he = (t) => t.type === 15, CA = (t) => t.type === 17, O = (t) => t.type ==
3025
3025
  }
3026
3026
  else if (_e(c) || $(c))
3027
3027
  return Array.isArray(r) || (r = []), r.push(c), !1;
3028
- return l;
3028
+ return B;
3029
3029
  }, a)), a) {
3030
- const l = as(t, o);
3031
- s.push(l);
3030
+ const B = as(t, o);
3031
+ s.push(B);
3032
3032
  }
3033
3033
  }), {
3034
3034
  size: r,
@@ -3650,9 +3650,9 @@ const Bu = {
3650
3650
  return e.length === 6 ? e : null;
3651
3651
  }, Su = (t, A) => {
3652
3652
  const e = A.filter(
3653
- (l) => l.type === 17
3653
+ (B) => B.type === 17
3654
3654
  /* TokenType.NUMBER_TOKEN */
3655
- ).map((l) => l.number), [r, s, {}, {}, n, o, {}, {}, {}, {}, {}, {}, i, a] = e;
3655
+ ).map((B) => B.number), [r, s, {}, {}, n, o, {}, {}, {}, {}, {}, {}, i, a] = e;
3656
3656
  return e.length === 16 ? [r, s, n, o, i, a] : null;
3657
3657
  }, Lu = (t, A) => {
3658
3658
  if (A.length !== 1)
@@ -4289,10 +4289,10 @@ for (var Dr = 0; Dr < ei.length; Dr++)
4289
4289
  var Qf = function(t) {
4290
4290
  var A = t.length * 0.75, e = t.length, r, s = 0, n, o, i, a;
4291
4291
  t[t.length - 1] === "=" && (A--, t[t.length - 2] === "=" && A--);
4292
- var l = typeof ArrayBuffer < "u" && typeof Uint8Array < "u" && typeof Uint8Array.prototype.slice < "u" ? new ArrayBuffer(A) : new Array(A), c = Array.isArray(l) ? l : new Uint8Array(l);
4292
+ var B = typeof ArrayBuffer < "u" && typeof Uint8Array < "u" && typeof Uint8Array.prototype.slice < "u" ? new ArrayBuffer(A) : new Array(A), c = Array.isArray(B) ? B : new Uint8Array(B);
4293
4293
  for (r = 0; r < e; r += 4)
4294
4294
  n = Pt[t.charCodeAt(r)], o = Pt[t.charCodeAt(r + 1)], i = Pt[t.charCodeAt(r + 2)], a = Pt[t.charCodeAt(r + 3)], c[s++] = n << 2 | o >> 4, c[s++] = (o & 15) << 4 | i >> 2, c[s++] = (i & 3) << 6 | a & 63;
4295
- return l;
4295
+ return B;
4296
4296
  }, Cf = function(t) {
4297
4297
  for (var A = t.length, e = [], r = 0; r < A; r += 2)
4298
4298
  e.push(t[r + 1] << 8 | t[r]);
@@ -4417,12 +4417,12 @@ const Xf = (t) => {
4417
4417
  A.innerHTML = typeof "".repeat == "function" ? "&#128104;".repeat(10) : "";
4418
4418
  const r = A.firstChild, s = ts(r.data).map((a) => wA(a));
4419
4419
  let n = 0, o = {};
4420
- const i = s.every((a, l) => {
4420
+ const i = s.every((a, B) => {
4421
4421
  e.setStart(r, n), e.setEnd(r, n + a.length);
4422
4422
  const c = e.getBoundingClientRect();
4423
4423
  n += a.length;
4424
4424
  const d = c.x > o.x || c.y > o.y;
4425
- return o = c, l === 0 ? !0 : d;
4425
+ return o = c, B === 0 ? !0 : d;
4426
4426
  });
4427
4427
  return t.body.removeChild(A), i;
4428
4428
  }, jf = () => typeof new Image().crossOrigin < "u", Jf = () => typeof new XMLHttpRequest().responseType == "string", Yf = (t) => {
@@ -4450,8 +4450,8 @@ const Xf = (t) => {
4450
4450
  r.drawImage(i, 0, 0);
4451
4451
  const a = r.getImageData(0, 0, e, e).data;
4452
4452
  r.fillStyle = "red", r.fillRect(0, 0, e, e);
4453
- const l = t.createElement("div");
4454
- return l.style.backgroundImage = `url(${n})`, l.style.height = `${e}px`, Bi(a) ? di(Kn(e, e, 0, 0, l)) : Promise.reject(!1);
4453
+ const B = t.createElement("div");
4454
+ return B.style.backgroundImage = `url(${n})`, B.style.height = `${e}px`, Bi(a) ? di(Kn(e, e, 0, 0, B)) : Promise.reject(!1);
4455
4455
  }).then((i) => (r.drawImage(i, 0, 0), Bi(r.getImageData(0, 0, e, e).data))).catch(() => !1);
4456
4456
  }, Kn = (t, A, e, r, s) => {
4457
4457
  const n = "http://www.w3.org/2000/svg", o = document.createElementNS(n, "svg"), i = document.createElementNS(n, "foreignObject");
@@ -4506,9 +4506,9 @@ const $f = (t, A, e, r) => {
4506
4506
  if (vA.SUPPORT_RANGE_BOUNDS) {
4507
4507
  const a = gi(r, o, i.length).getClientRects();
4508
4508
  if (a.length > 1) {
4509
- const l = Jr(i);
4509
+ const B = Jr(i);
4510
4510
  let c = 0;
4511
- l.forEach((d) => {
4511
+ B.forEach((d) => {
4512
4512
  n.push(new At(d, OA.fromDOMRectList(t, gi(r, c + o, d.length).getClientRects()))), c += d.length;
4513
4513
  });
4514
4514
  } else
@@ -4994,8 +4994,8 @@ const wi = {
4994
4994
  if (o === 0)
4995
4995
  return A[0] + i;
4996
4996
  for (let a = 0; o > 0 && a <= 4; a++) {
4997
- const l = o % 10;
4998
- l === 0 && aA(n, ft) && i !== "" ? i = A[l] + i : l > 1 || l === 1 && a === 0 || l === 1 && a === 1 && aA(n, Te) || l === 1 && a === 1 && aA(n, Ke) && t > 100 || l === 1 && a > 1 && aA(n, Wt) ? i = A[l] + (a > 0 ? e[a - 1] : "") + i : l === 1 && a > 0 && (i = e[a - 1] + i), o = Math.floor(o / 10);
4997
+ const B = o % 10;
4998
+ B === 0 && aA(n, ft) && i !== "" ? i = A[B] + i : B > 1 || B === 1 && a === 0 || B === 1 && a === 1 && aA(n, Te) || B === 1 && a === 1 && aA(n, Ke) && t > 100 || B === 1 && a > 1 && aA(n, Wt) ? i = A[B] + (a > 0 ? e[a - 1] : "") + i : B === 1 && a > 0 && (i = e[a - 1] + i), o = Math.floor(o / 10);
4999
4999
  }
5000
5000
  return (t < 0 ? r : "") + i;
5001
5001
  }, Qi = "十百千萬", Ci = "拾佰仟萬", mi = "マイナス", qs = "마이너스", rr = (t, A, e) => {
@@ -5130,7 +5130,7 @@ class Ui {
5130
5130
  if (typeof u > "u")
5131
5131
  throw new Error(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);
5132
5132
  return i.fonts && i.fonts.ready && await i.fonts.ready, /(AppleWebKit)/g.test(navigator.userAgent) && await yh(i), typeof f == "function" ? Promise.resolve().then(() => f(i, u)).then(() => r) : r;
5133
- }), l = i.baseURI;
5133
+ }), B = i.baseURI;
5134
5134
  i.open();
5135
5135
  const c = Hh(document.doctype) + "<html></html>";
5136
5136
  try {
@@ -5144,7 +5144,7 @@ class Ui {
5144
5144
  }
5145
5145
  vh(this.referenceElement.ownerDocument, s, n), i.close();
5146
5146
  const d = i.adoptNode(this.documentElement);
5147
- return Dh(d, l), i.replaceChild(d, i.documentElement), a;
5147
+ return Dh(d, B), i.replaceChild(d, i.documentElement), a;
5148
5148
  }
5149
5149
  createElementClone(A) {
5150
5150
  if (Tn(
@@ -5338,8 +5338,8 @@ class Ui {
5338
5338
  s.style.transitionProperty = "none";
5339
5339
  const n = r.getComputedStyle(A), o = r.getComputedStyle(A, ":before"), i = r.getComputedStyle(A, ":after");
5340
5340
  this.referenceElement === A && tr(s) && (this.clonedReferenceElement = s), Yn(s) && Th(s, this.options.cspNonce);
5341
- const a = this.counters.parse(new Zo(this.context, n)), l = this.resolvePseudoContent(A, s, o, $t.BEFORE);
5342
- qo(A) && (e = !0), fi(A) || this.cloneChildNodes(A, s, e), l && s.insertBefore(l, s.firstChild);
5341
+ const a = this.counters.parse(new Zo(this.context, n)), B = this.resolvePseudoContent(A, s, o, $t.BEFORE);
5342
+ qo(A) && (e = !0), fi(A) || this.cloneChildNodes(A, s, e), B && s.insertBefore(B, s.firstChild);
5343
5343
  const c = this.resolvePseudoContent(A, s, i, $t.AFTER);
5344
5344
  return c && s.appendChild(c), this.counters.pop(a), (n && (this.options.copyStyles || pt(A)) && !Wa(A) || e) && An(n, s), (A.scrollTop !== 0 || A.scrollLeft !== 0) && this.scrolledElements.push([s, A.scrollLeft, A.scrollTop]), ($r(A) || Zr(A)) && ($r(s) || Zr(s)) && (s.value = A.value), s;
5345
5345
  }
@@ -5388,8 +5388,8 @@ class Ui {
5388
5388
  a.appendChild(o.createTextNode(c.value));
5389
5389
  }
5390
5390
  }), a.className = `${Mn} ${Gn}`;
5391
- const l = s === $t.BEFORE ? ` ${Mn}` : ` ${Gn}`;
5392
- return pt(e) ? e.className.baseValue += l : e.className += l, a;
5391
+ const B = s === $t.BEFORE ? ` ${Mn}` : ` ${Gn}`;
5392
+ return pt(e) ? e.className.baseValue += B : e.className += B, a;
5393
5393
  }
5394
5394
  static destroy(A) {
5395
5395
  return A.parentNode ? (A.parentNode.removeChild(A), !0) : !1;
@@ -5489,13 +5489,13 @@ const jA = (t) => t.type === 1;
5489
5489
  class Oh {
5490
5490
  constructor(A) {
5491
5491
  const e = A.styles, r = A.bounds;
5492
- let [s, n] = _t(e.borderTopLeftRadius, r.width, r.height), [o, i] = _t(e.borderTopRightRadius, r.width, r.height), [a, l] = _t(e.borderBottomRightRadius, r.width, r.height), [c, d] = _t(e.borderBottomLeftRadius, r.width, r.height);
5492
+ let [s, n] = _t(e.borderTopLeftRadius, r.width, r.height), [o, i] = _t(e.borderTopRightRadius, r.width, r.height), [a, B] = _t(e.borderBottomRightRadius, r.width, r.height), [c, d] = _t(e.borderBottomLeftRadius, r.width, r.height);
5493
5493
  const f = [];
5494
- f.push((s + o) / r.width), f.push((c + a) / r.width), f.push((n + d) / r.height), f.push((i + l) / r.height);
5494
+ f.push((s + o) / r.width), f.push((c + a) / r.width), f.push((n + d) / r.height), f.push((i + B) / r.height);
5495
5495
  const u = Math.max(...f);
5496
- u > 1 && (s /= u, n /= u, o /= u, i /= u, a /= u, l /= u, c /= u, d /= u);
5497
- const h = r.width - o, w = r.height - l, U = r.width - a, C = r.height - d, p = e.borderTopWidth, F = e.borderRightWidth, S = e.borderBottomWidth, x = e.borderLeftWidth, T = D(e.paddingTop, A.bounds.width), G = D(e.paddingRight, A.bounds.width), q = D(e.paddingBottom, A.bounds.width), I = D(e.paddingLeft, A.bounds.width);
5498
- this.topLeftBorderDoubleOuterBox = s > 0 || n > 0 ? nA(r.left + x / 3, r.top + p / 3, s - x / 3, n - p / 3, Y.TOP_LEFT) : new b(r.left + x / 3, r.top + p / 3), this.topRightBorderDoubleOuterBox = s > 0 || n > 0 ? nA(r.left + h, r.top + p / 3, o - F / 3, i - p / 3, Y.TOP_RIGHT) : new b(r.left + r.width - F / 3, r.top + p / 3), this.bottomRightBorderDoubleOuterBox = a > 0 || l > 0 ? nA(r.left + U, r.top + w, a - F / 3, l - S / 3, Y.BOTTOM_RIGHT) : new b(r.left + r.width - F / 3, r.top + r.height - S / 3), this.bottomLeftBorderDoubleOuterBox = c > 0 || d > 0 ? nA(r.left + x / 3, r.top + C, c - x / 3, d - S / 3, Y.BOTTOM_LEFT) : new b(r.left + x / 3, r.top + r.height - S / 3), this.topLeftBorderDoubleInnerBox = s > 0 || n > 0 ? nA(r.left + x * 2 / 3, r.top + p * 2 / 3, s - x * 2 / 3, n - p * 2 / 3, Y.TOP_LEFT) : new b(r.left + x * 2 / 3, r.top + p * 2 / 3), this.topRightBorderDoubleInnerBox = s > 0 || n > 0 ? nA(r.left + h, r.top + p * 2 / 3, o - F * 2 / 3, i - p * 2 / 3, Y.TOP_RIGHT) : new b(r.left + r.width - F * 2 / 3, r.top + p * 2 / 3), this.bottomRightBorderDoubleInnerBox = a > 0 || l > 0 ? nA(r.left + U, r.top + w, a - F * 2 / 3, l - S * 2 / 3, Y.BOTTOM_RIGHT) : new b(r.left + r.width - F * 2 / 3, r.top + r.height - S * 2 / 3), this.bottomLeftBorderDoubleInnerBox = c > 0 || d > 0 ? nA(r.left + x * 2 / 3, r.top + C, c - x * 2 / 3, d - S * 2 / 3, Y.BOTTOM_LEFT) : new b(r.left + x * 2 / 3, r.top + r.height - S * 2 / 3), this.topLeftBorderStroke = s > 0 || n > 0 ? nA(r.left + x / 2, r.top + p / 2, s - x / 2, n - p / 2, Y.TOP_LEFT) : new b(r.left + x / 2, r.top + p / 2), this.topRightBorderStroke = s > 0 || n > 0 ? nA(r.left + h, r.top + p / 2, o - F / 2, i - p / 2, Y.TOP_RIGHT) : new b(r.left + r.width - F / 2, r.top + p / 2), this.bottomRightBorderStroke = a > 0 || l > 0 ? nA(r.left + U, r.top + w, a - F / 2, l - S / 2, Y.BOTTOM_RIGHT) : new b(r.left + r.width - F / 2, r.top + r.height - S / 2), this.bottomLeftBorderStroke = c > 0 || d > 0 ? nA(r.left + x / 2, r.top + C, c - x / 2, d - S / 2, Y.BOTTOM_LEFT) : new b(r.left + x / 2, r.top + r.height - S / 2), this.topLeftBorderBox = s > 0 || n > 0 ? nA(r.left, r.top, s, n, Y.TOP_LEFT) : new b(r.left, r.top), this.topRightBorderBox = o > 0 || i > 0 ? nA(r.left + h, r.top, o, i, Y.TOP_RIGHT) : new b(r.left + r.width, r.top), this.bottomRightBorderBox = a > 0 || l > 0 ? nA(r.left + U, r.top + w, a, l, Y.BOTTOM_RIGHT) : new b(r.left + r.width, r.top + r.height), this.bottomLeftBorderBox = c > 0 || d > 0 ? nA(r.left, r.top + C, c, d, Y.BOTTOM_LEFT) : new b(r.left, r.top + r.height), this.topLeftPaddingBox = s > 0 || n > 0 ? nA(r.left + x, r.top + p, Math.max(0, s - x), Math.max(0, n - p), Y.TOP_LEFT) : new b(r.left + x, r.top + p), this.topRightPaddingBox = o > 0 || i > 0 ? nA(r.left + Math.min(h, r.width - F), r.top + p, h > r.width + F ? 0 : Math.max(0, o - F), Math.max(0, i - p), Y.TOP_RIGHT) : new b(r.left + r.width - F, r.top + p), this.bottomRightPaddingBox = a > 0 || l > 0 ? nA(r.left + Math.min(U, r.width - x), r.top + Math.min(w, r.height - S), Math.max(0, a - F), Math.max(0, l - S), Y.BOTTOM_RIGHT) : new b(r.left + r.width - F, r.top + r.height - S), this.bottomLeftPaddingBox = c > 0 || d > 0 ? nA(r.left + x, r.top + Math.min(C, r.height - S), Math.max(0, c - x), Math.max(0, d - S), Y.BOTTOM_LEFT) : new b(r.left + x, r.top + r.height - S), this.topLeftContentBox = s > 0 || n > 0 ? nA(r.left + x + I, r.top + p + T, Math.max(0, s - (x + I)), Math.max(0, n - (p + T)), Y.TOP_LEFT) : new b(r.left + x + I, r.top + p + T), this.topRightContentBox = o > 0 || i > 0 ? nA(r.left + Math.min(h, r.width + x + I), r.top + p + T, h > r.width + x + I ? 0 : o - x + I, i - (p + T), Y.TOP_RIGHT) : new b(r.left + r.width - (F + G), r.top + p + T), this.bottomRightContentBox = a > 0 || l > 0 ? nA(r.left + Math.min(U, r.width - (x + I)), r.top + Math.min(w, r.height + p + T), Math.max(0, a - (F + G)), l - (S + q), Y.BOTTOM_RIGHT) : new b(r.left + r.width - (F + G), r.top + r.height - (S + q)), this.bottomLeftContentBox = c > 0 || d > 0 ? nA(r.left + x + I, r.top + C, Math.max(0, c - (x + I)), d - (S + q), Y.BOTTOM_LEFT) : new b(r.left + x + I, r.top + r.height - (S + q));
5496
+ u > 1 && (s /= u, n /= u, o /= u, i /= u, a /= u, B /= u, c /= u, d /= u);
5497
+ const h = r.width - o, w = r.height - B, U = r.width - a, C = r.height - d, p = e.borderTopWidth, F = e.borderRightWidth, S = e.borderBottomWidth, x = e.borderLeftWidth, T = D(e.paddingTop, A.bounds.width), G = D(e.paddingRight, A.bounds.width), q = D(e.paddingBottom, A.bounds.width), I = D(e.paddingLeft, A.bounds.width);
5498
+ this.topLeftBorderDoubleOuterBox = s > 0 || n > 0 ? nA(r.left + x / 3, r.top + p / 3, s - x / 3, n - p / 3, Y.TOP_LEFT) : new b(r.left + x / 3, r.top + p / 3), this.topRightBorderDoubleOuterBox = s > 0 || n > 0 ? nA(r.left + h, r.top + p / 3, o - F / 3, i - p / 3, Y.TOP_RIGHT) : new b(r.left + r.width - F / 3, r.top + p / 3), this.bottomRightBorderDoubleOuterBox = a > 0 || B > 0 ? nA(r.left + U, r.top + w, a - F / 3, B - S / 3, Y.BOTTOM_RIGHT) : new b(r.left + r.width - F / 3, r.top + r.height - S / 3), this.bottomLeftBorderDoubleOuterBox = c > 0 || d > 0 ? nA(r.left + x / 3, r.top + C, c - x / 3, d - S / 3, Y.BOTTOM_LEFT) : new b(r.left + x / 3, r.top + r.height - S / 3), this.topLeftBorderDoubleInnerBox = s > 0 || n > 0 ? nA(r.left + x * 2 / 3, r.top + p * 2 / 3, s - x * 2 / 3, n - p * 2 / 3, Y.TOP_LEFT) : new b(r.left + x * 2 / 3, r.top + p * 2 / 3), this.topRightBorderDoubleInnerBox = s > 0 || n > 0 ? nA(r.left + h, r.top + p * 2 / 3, o - F * 2 / 3, i - p * 2 / 3, Y.TOP_RIGHT) : new b(r.left + r.width - F * 2 / 3, r.top + p * 2 / 3), this.bottomRightBorderDoubleInnerBox = a > 0 || B > 0 ? nA(r.left + U, r.top + w, a - F * 2 / 3, B - S * 2 / 3, Y.BOTTOM_RIGHT) : new b(r.left + r.width - F * 2 / 3, r.top + r.height - S * 2 / 3), this.bottomLeftBorderDoubleInnerBox = c > 0 || d > 0 ? nA(r.left + x * 2 / 3, r.top + C, c - x * 2 / 3, d - S * 2 / 3, Y.BOTTOM_LEFT) : new b(r.left + x * 2 / 3, r.top + r.height - S * 2 / 3), this.topLeftBorderStroke = s > 0 || n > 0 ? nA(r.left + x / 2, r.top + p / 2, s - x / 2, n - p / 2, Y.TOP_LEFT) : new b(r.left + x / 2, r.top + p / 2), this.topRightBorderStroke = s > 0 || n > 0 ? nA(r.left + h, r.top + p / 2, o - F / 2, i - p / 2, Y.TOP_RIGHT) : new b(r.left + r.width - F / 2, r.top + p / 2), this.bottomRightBorderStroke = a > 0 || B > 0 ? nA(r.left + U, r.top + w, a - F / 2, B - S / 2, Y.BOTTOM_RIGHT) : new b(r.left + r.width - F / 2, r.top + r.height - S / 2), this.bottomLeftBorderStroke = c > 0 || d > 0 ? nA(r.left + x / 2, r.top + C, c - x / 2, d - S / 2, Y.BOTTOM_LEFT) : new b(r.left + x / 2, r.top + r.height - S / 2), this.topLeftBorderBox = s > 0 || n > 0 ? nA(r.left, r.top, s, n, Y.TOP_LEFT) : new b(r.left, r.top), this.topRightBorderBox = o > 0 || i > 0 ? nA(r.left + h, r.top, o, i, Y.TOP_RIGHT) : new b(r.left + r.width, r.top), this.bottomRightBorderBox = a > 0 || B > 0 ? nA(r.left + U, r.top + w, a, B, Y.BOTTOM_RIGHT) : new b(r.left + r.width, r.top + r.height), this.bottomLeftBorderBox = c > 0 || d > 0 ? nA(r.left, r.top + C, c, d, Y.BOTTOM_LEFT) : new b(r.left, r.top + r.height), this.topLeftPaddingBox = s > 0 || n > 0 ? nA(r.left + x, r.top + p, Math.max(0, s - x), Math.max(0, n - p), Y.TOP_LEFT) : new b(r.left + x, r.top + p), this.topRightPaddingBox = o > 0 || i > 0 ? nA(r.left + Math.min(h, r.width - F), r.top + p, h > r.width + F ? 0 : Math.max(0, o - F), Math.max(0, i - p), Y.TOP_RIGHT) : new b(r.left + r.width - F, r.top + p), this.bottomRightPaddingBox = a > 0 || B > 0 ? nA(r.left + Math.min(U, r.width - x), r.top + Math.min(w, r.height - S), Math.max(0, a - F), Math.max(0, B - S), Y.BOTTOM_RIGHT) : new b(r.left + r.width - F, r.top + r.height - S), this.bottomLeftPaddingBox = c > 0 || d > 0 ? nA(r.left + x, r.top + Math.min(C, r.height - S), Math.max(0, c - x), Math.max(0, d - S), Y.BOTTOM_LEFT) : new b(r.left + x, r.top + r.height - S), this.topLeftContentBox = s > 0 || n > 0 ? nA(r.left + x + I, r.top + p + T, Math.max(0, s - (x + I)), Math.max(0, n - (p + T)), Y.TOP_LEFT) : new b(r.left + x + I, r.top + p + T), this.topRightContentBox = o > 0 || i > 0 ? nA(r.left + Math.min(h, r.width + x + I), r.top + p + T, h > r.width + x + I ? 0 : o - x + I, i - (p + T), Y.TOP_RIGHT) : new b(r.left + r.width - (F + G), r.top + p + T), this.bottomRightContentBox = a > 0 || B > 0 ? nA(r.left + Math.min(U, r.width - (x + I)), r.top + Math.min(w, r.height + p + T), Math.max(0, a - (F + G)), B - (S + q), Y.BOTTOM_RIGHT) : new b(r.left + r.width - (F + G), r.top + r.height - (S + q)), this.bottomLeftContentBox = c > 0 || d > 0 ? nA(r.left + x + I, r.top + C, Math.max(0, c - (x + I)), d - (S + q), Y.BOTTOM_LEFT) : new b(r.left + x + I, r.top + r.height - (S + q));
5499
5499
  }
5500
5500
  }
5501
5501
  var Y;
@@ -5503,17 +5503,17 @@ var Y;
5503
5503
  t[t.TOP_LEFT = 0] = "TOP_LEFT", t[t.TOP_RIGHT = 1] = "TOP_RIGHT", t[t.BOTTOM_RIGHT = 2] = "BOTTOM_RIGHT", t[t.BOTTOM_LEFT = 3] = "BOTTOM_LEFT";
5504
5504
  })(Y || (Y = {}));
5505
5505
  const nA = (t, A, e, r, s) => {
5506
- const n = 4 * ((Math.sqrt(2) - 1) / 3), o = e * n, i = r * n, a = t + e, l = A + r;
5506
+ const n = 4 * ((Math.sqrt(2) - 1) / 3), o = e * n, i = r * n, a = t + e, B = A + r;
5507
5507
  switch (s) {
5508
5508
  case Y.TOP_LEFT:
5509
- return new ve(new b(t, l), new b(t, l - i), new b(a - o, A), new b(a, A));
5509
+ return new ve(new b(t, B), new b(t, B - i), new b(a - o, A), new b(a, A));
5510
5510
  case Y.TOP_RIGHT:
5511
- return new ve(new b(t, A), new b(t + o, A), new b(a, l - i), new b(a, l));
5511
+ return new ve(new b(t, A), new b(t + o, A), new b(a, B - i), new b(a, B));
5512
5512
  case Y.BOTTOM_RIGHT:
5513
- return new ve(new b(a, A), new b(a, A + i), new b(t + o, l), new b(t, l));
5513
+ return new ve(new b(a, A), new b(a, A + i), new b(t + o, B), new b(t, B));
5514
5514
  case Y.BOTTOM_LEFT:
5515
5515
  default:
5516
- return new ve(new b(a, l), new b(a - o, l), new b(t, A + i), new b(t, A));
5516
+ return new ve(new b(a, B), new b(a - o, B), new b(t, A + i), new b(t, A));
5517
5517
  }
5518
5518
  }, qr = (t) => [t.topLeftBorderBox, t.topRightBorderBox, t.bottomRightBorderBox, t.bottomLeftBorderBox], Rh = (t) => [
5519
5519
  t.topLeftContentBox,
@@ -5567,7 +5567,7 @@ class Ya {
5567
5567
  class za {
5568
5568
  constructor(A, e) {
5569
5569
  if (this.container = A, this.parent = e, this.effects = [], this.curves = new Oh(this.container), this.container.styles.opacity < 1 && this.effects.push(new Mh(this.container.styles.opacity)), this.container.styles.rotate !== null) {
5570
- const r = this.container.styles.transformOrigin, s = this.container.bounds.left + D(r[0], this.container.bounds.width), n = this.container.bounds.top + D(r[1], this.container.bounds.height), i = this.container.styles.rotate * Math.PI / 180, a = Math.cos(i), l = Math.sin(i), c = [a, l, -l, a, 0, 0];
5570
+ const r = this.container.styles.transformOrigin, s = this.container.bounds.left + D(r[0], this.container.bounds.width), n = this.container.bounds.top + D(r[1], this.container.bounds.height), i = this.container.styles.rotate * Math.PI / 180, a = Math.cos(i), B = Math.sin(i), c = [a, B, -B, a, 0, 0];
5571
5571
  this.effects.push(new xi(s, n, c));
5572
5572
  }
5573
5573
  if (this.container.styles.transform !== null) {
@@ -5629,22 +5629,22 @@ const Ei = (t, A, e, r, s) => t === "closest-side" ? Math.min(A - e, r - A) : t
5629
5629
  const { left: e, top: r, width: s, height: n } = A;
5630
5630
  switch (t.type) {
5631
5631
  case 1: {
5632
- const o = D(t.left, s), i = D(t.top, n), a = e + o, l = r + i, c = Math.max(0, s - o - D(t.right, s)), d = Math.max(0, n - i - D(t.bottom, n));
5632
+ const o = D(t.left, s), i = D(t.top, n), a = e + o, B = r + i, c = Math.max(0, s - o - D(t.right, s)), d = Math.max(0, n - i - D(t.bottom, n));
5633
5633
  return new Mt((f) => {
5634
- f.beginPath(), f.rect(a, l, c, d), f.clip();
5634
+ f.beginPath(), f.rect(a, B, c, d), f.clip();
5635
5635
  });
5636
5636
  }
5637
5637
  case 2: {
5638
5638
  const o = e + D(t.cx, s), i = r + D(t.cy, n);
5639
5639
  let a;
5640
- return t.radius === "closest-side" ? a = Math.min(o - e, i - r, e + s - o, r + n - i) : t.radius === "farthest-side" ? a = Math.max(o - e, i - r, e + s - o, r + n - i) : a = D(t.radius, Math.sqrt(s * s + n * n) / Math.SQRT2), new Mt((l) => {
5641
- l.beginPath(), l.arc(o, i, Math.max(0, a), 0, Math.PI * 2), l.clip();
5640
+ return t.radius === "closest-side" ? a = Math.min(o - e, i - r, e + s - o, r + n - i) : t.radius === "farthest-side" ? a = Math.max(o - e, i - r, e + s - o, r + n - i) : a = D(t.radius, Math.sqrt(s * s + n * n) / Math.SQRT2), new Mt((B) => {
5641
+ B.beginPath(), B.arc(o, i, Math.max(0, a), 0, Math.PI * 2), B.clip();
5642
5642
  });
5643
5643
  }
5644
5644
  case 3: {
5645
- const o = e + D(t.cx, s), i = r + D(t.cy, n), a = Ei(t.rx, o, e, e + s, s), l = Ei(t.ry, i, r, r + n, n);
5645
+ const o = e + D(t.cx, s), i = r + D(t.cy, n), a = Ei(t.rx, o, e, e + s, s), B = Ei(t.ry, i, r, r + n, n);
5646
5646
  return new Mt((c) => {
5647
- c.beginPath(), c.ellipse(o, i, Math.max(0, a), Math.max(0, l), 0, 0, Math.PI * 2), c.clip();
5647
+ c.beginPath(), c.ellipse(o, i, Math.max(0, a), Math.max(0, B), 0, 0, Math.PI * 2), c.clip();
5648
5648
  });
5649
5649
  }
5650
5650
  case 4: {
@@ -5696,19 +5696,19 @@ const Ei = (t, A, e, r, s) => t === "closest-side" ? Math.min(A - e, r - A) : t
5696
5696
  /* FLAGS.IS_LIST_OWNER */
5697
5697
  ) ? [] : r;
5698
5698
  if (n || o) {
5699
- const l = n || s.styles.isPositioned() ? e : A, c = new Ya(i);
5699
+ const B = n || s.styles.isPositioned() ? e : A, c = new Ya(i);
5700
5700
  if (s.styles.isPositioned() || s.styles.opacity < 1 || s.styles.isTransformed()) {
5701
5701
  const d = s.styles.zIndex.order;
5702
5702
  if (d < 0) {
5703
5703
  let f = 0;
5704
- l.negativeZIndex.some((u, h) => d > u.element.container.styles.zIndex.order ? (f = h, !1) : f > 0), l.negativeZIndex.splice(f, 0, c);
5704
+ B.negativeZIndex.some((u, h) => d > u.element.container.styles.zIndex.order ? (f = h, !1) : f > 0), B.negativeZIndex.splice(f, 0, c);
5705
5705
  } else if (d > 0) {
5706
5706
  let f = 0;
5707
- l.positiveZIndex.some((u, h) => d >= u.element.container.styles.zIndex.order ? (f = h + 1, !1) : f > 0), l.positiveZIndex.splice(f, 0, c);
5707
+ B.positiveZIndex.some((u, h) => d >= u.element.container.styles.zIndex.order ? (f = h + 1, !1) : f > 0), B.positiveZIndex.splice(f, 0, c);
5708
5708
  } else
5709
- l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c);
5709
+ B.zeroOrAutoZIndexOrTransformedOrOpacity.push(c);
5710
5710
  } else
5711
- s.styles.isFloating() ? l.nonPositionedFloats.push(c) : l.nonPositionedInlineLevel.push(c);
5711
+ s.styles.isFloating() ? B.nonPositionedFloats.push(c) : B.nonPositionedInlineLevel.push(c);
5712
5712
  Vn(i, c, n ? c : e, a);
5713
5713
  } else
5714
5714
  s.styles.isInlineLevel() ? A.inlineLevel.push(i) : A.nonInlineLevel.push(i), Vn(i, A, e, a);
@@ -5737,8 +5737,8 @@ const Ei = (t, A, e, r, s) => t === "closest-side" ? Math.min(A - e, r - A) : t
5737
5737
  }, Xh = (t, A) => t === 0 ? A.bounds : t === 2 ? Zt(A) : Za(A), Wh = (t, A) => t === 0 ? A.bounds : t === 2 ? Zt(A) : Za(A), en = (t, A, e) => {
5738
5738
  const r = Xh(ht(t.styles.backgroundOrigin, A), t), s = Wh(ht(t.styles.backgroundClip, A), t), n = jh(ht(t.styles.backgroundSize, A), e, r);
5739
5739
  let [o, i] = n;
5740
- const a = _t(ht(t.styles.backgroundPosition, A), r.width - o, r.height - i), l = Jh(ht(t.styles.backgroundRepeat, A), a, n, r, s), c = Math.round(r.left + a[0]), d = Math.round(r.top + a[1]);
5741
- return o = Math.max(1, o), i = Math.max(1, i), [l, c, d, o, i];
5740
+ const a = _t(ht(t.styles.backgroundPosition, A), r.width - o, r.height - i), B = Jh(ht(t.styles.backgroundRepeat, A), a, n, r, s), c = Math.round(r.left + a[0]), d = Math.round(r.top + a[1]);
5741
+ return o = Math.max(1, o), i = Math.max(1, i), [B, c, d, o, i];
5742
5742
  }, ut = (t) => O(t) && t.value === Ut.AUTO, Mr = (t) => typeof t == "number", jh = (t, [A, e, r], s) => {
5743
5743
  const [n, o] = t;
5744
5744
  if (!n)
@@ -5748,17 +5748,17 @@ const Ei = (t, A, e, r, s) => t === "closest-side" ? Math.min(A - e, r - A) : t
5748
5748
  const i = Mr(r);
5749
5749
  if (O(n) && (n.value === Ut.CONTAIN || n.value === Ut.COVER))
5750
5750
  return Mr(r) ? s.width / s.height < r != (n.value === Ut.COVER) ? [s.width, s.width / r] : [s.height * r, s.height] : [s.width, s.height];
5751
- const a = Mr(A), l = Mr(e), c = a || l;
5751
+ const a = Mr(A), B = Mr(e), c = a || B;
5752
5752
  if (ut(n) && (!o || ut(o))) {
5753
- if (a && l)
5753
+ if (a && B)
5754
5754
  return [A, e];
5755
5755
  if (!i && !c)
5756
5756
  return [s.width, s.height];
5757
5757
  if (c && i) {
5758
- const w = a ? A : e * r, U = l ? e : A / r;
5758
+ const w = a ? A : e * r, U = B ? e : A / r;
5759
5759
  return [w, U];
5760
5760
  }
5761
- const u = a ? A : s.width, h = l ? e : s.height;
5761
+ const u = a ? A : s.width, h = B ? e : s.height;
5762
5762
  return [u, h];
5763
5763
  }
5764
5764
  if (i) {
@@ -5766,7 +5766,7 @@ const Ei = (t, A, e, r, s) => t === "closest-side" ? Math.min(A - e, r - A) : t
5766
5766
  return $(n) ? u = D(n, s.width) : $(o) && (h = D(o, s.height)), ut(n) ? u = h * r : (!o || ut(o)) && (h = u / r), [u, h];
5767
5767
  }
5768
5768
  let d = null, f = null;
5769
- if ($(n) ? d = D(n, s.width) : o && $(o) && (f = D(o, s.height)), d !== null && (!o || ut(o)) && (f = a && l ? d / A * e : s.height), f !== null && ut(n) && (d = a && l ? f / e * A : s.width), d !== null && f !== null)
5769
+ if ($(n) ? d = D(n, s.width) : o && $(o) && (f = D(o, s.height)), d !== null && (!o || ut(o)) && (f = a && B ? d / A * e : s.height), f !== null && ut(n) && (d = a && B ? f / e * A : s.width), d !== null && f !== null)
5770
5770
  return [d, f];
5771
5771
  throw new Error("Unable to calculate background-size for element");
5772
5772
  }, ht = (t, A) => {
@@ -5853,22 +5853,22 @@ class $h {
5853
5853
  this.context.logger.error(`Error loading background-image ${n}`);
5854
5854
  }
5855
5855
  if (s) {
5856
- const o = isNaN(s.width) || s.width === 0 ? 1 : s.width, i = isNaN(s.height) || s.height === 0 ? 1 : s.height, [a, l, c, d, f] = en(A, r, [
5856
+ const o = isNaN(s.width) || s.width === 0 ? 1 : s.width, i = isNaN(s.height) || s.height === 0 ? 1 : s.height, [a, B, c, d, f] = en(A, r, [
5857
5857
  o,
5858
5858
  i,
5859
5859
  o / i
5860
5860
  ]), u = this.ctx.createPattern(this.resizeImage(s, d, f, A.styles.imageRendering), "repeat");
5861
- this.renderRepeat(a, u, l, c);
5861
+ this.renderRepeat(a, u, B, c);
5862
5862
  }
5863
5863
  }
5864
5864
  /**
5865
5865
  * Render a linear gradient background
5866
5866
  */
5867
5867
  renderLinearGradient(A, e, r) {
5868
- const [s, n, o, i, a] = en(A, r, [null, null, null]), [l, c, d, f, u] = Ug(e.angle, i, a), w = (this.canvas.ownerDocument ?? document).createElement("canvas");
5868
+ const [s, n, o, i, a] = en(A, r, [null, null, null]), [B, c, d, f, u] = Ug(e.angle, i, a), w = (this.canvas.ownerDocument ?? document).createElement("canvas");
5869
5869
  w.width = i, w.height = a;
5870
5870
  const U = w.getContext("2d"), C = U.createLinearGradient(c, f, d, u);
5871
- if (jo(e.stops, l || 1).forEach((p) => C.addColorStop(p.stop, tA(p.color))), U.fillStyle = C, U.fillRect(0, 0, i, a), i > 0 && a > 0) {
5871
+ if (jo(e.stops, B || 1).forEach((p) => C.addColorStop(p.stop, tA(p.color))), U.fillStyle = C, U.fillRect(0, 0, i, a), i > 0 && a > 0) {
5872
5872
  const p = this.ctx.createPattern(w, "repeat");
5873
5873
  this.renderRepeat(s, p, n, o);
5874
5874
  }
@@ -5877,7 +5877,7 @@ class $h {
5877
5877
  * Render a radial gradient background
5878
5878
  */
5879
5879
  renderRadialGradient(A, e, r) {
5880
- const [s, n, o, i, a] = en(A, r, [null, null, null]), l = e.position.length === 0 ? [$e] : e.position, c = D(l[0], i), d = D(l[l.length - 1], a);
5880
+ const [s, n, o, i, a] = en(A, r, [null, null, null]), B = e.position.length === 0 ? [$e] : e.position, c = D(B[0], i), d = D(B[B.length - 1], a);
5881
5881
  let [f, u] = Fg(e, c, d, i, a);
5882
5882
  if ((f === 0 || u === 0) && (f = Math.max(f, 0.01), u = Math.max(u, 0.01)), f > 0 && u > 0) {
5883
5883
  const h = this.ctx.createRadialGradient(n + c, o + d, 0, n + c, o + d, f);
@@ -6031,10 +6031,10 @@ class ew {
6031
6031
  this.ctx.save();
6032
6032
  const o = Aw(s, r), i = Hi(s, r);
6033
6033
  n === 2 && (this.pathCallbacks.path(i), this.ctx.clip());
6034
- let a, l, c, d;
6035
- jA(i[0]) ? (a = i[0].start.x, l = i[0].start.y) : (a = i[0].x, l = i[0].y), jA(i[1]) ? (c = i[1].end.x, d = i[1].end.y) : (c = i[1].x, d = i[1].y);
6034
+ let a, B, c, d;
6035
+ jA(i[0]) ? (a = i[0].start.x, B = i[0].start.y) : (a = i[0].x, B = i[0].y), jA(i[1]) ? (c = i[1].end.x, d = i[1].end.y) : (c = i[1].x, d = i[1].y);
6036
6036
  let f;
6037
- r === 0 || r === 2 ? f = Math.abs(a - c) : f = Math.abs(l - d), this.ctx.beginPath(), n === 3 ? this.pathCallbacks.formatPath(o) : this.pathCallbacks.formatPath(i.slice(0, 2));
6037
+ r === 0 || r === 2 ? f = Math.abs(a - c) : f = Math.abs(B - d), this.ctx.beginPath(), n === 3 ? this.pathCallbacks.formatPath(o) : this.pathCallbacks.formatPath(i.slice(0, 2));
6038
6038
  let u = e < 3 ? e * 3 : e * 2, h = e < 3 ? e * 2 : e;
6039
6039
  n === 3 && (u = e, h = e);
6040
6040
  let w = !0;
@@ -6159,8 +6159,8 @@ class aw {
6159
6159
  let i = A.bounds.left;
6160
6160
  for (const a of n) {
6161
6161
  if (nw(a)) {
6162
- const l = this.ctx.textBaseline;
6163
- this.ctx.textBaseline = "ideographic", s(a, i, o), this.ctx.textBaseline = l;
6162
+ const B = this.ctx.textBaseline;
6163
+ this.ctx.textBaseline = "ideographic", s(a, i, o), this.ctx.textBaseline = B;
6164
6164
  } else
6165
6165
  s(a, i, o);
6166
6166
  i += this.ctx.measureText(a).width + e;
@@ -6235,12 +6235,12 @@ class aw {
6235
6235
  case 4:
6236
6236
  this.ctx.save(), this.ctx.beginPath(), this.ctx.lineWidth = s, this.ctx.strokeStyle = this.ctx.fillStyle;
6237
6237
  const i = s * 2, a = s * 4;
6238
- let l = A;
6239
- for (this.ctx.moveTo(l, e + s / 2); l < A + r; ) {
6240
- const c = Math.min(l + a / 2, A + r);
6241
- if (this.ctx.quadraticCurveTo(l + a / 4, e + s / 2 - i, c, e + s / 2), l = c, l < A + r) {
6242
- const d = Math.min(l + a / 2, A + r);
6243
- this.ctx.quadraticCurveTo(l + a / 4, e + s / 2 + i, d, e + s / 2), l = d;
6238
+ let B = A;
6239
+ for (this.ctx.moveTo(B, e + s / 2); B < A + r; ) {
6240
+ const c = Math.min(B + a / 2, A + r);
6241
+ if (this.ctx.quadraticCurveTo(B + a / 4, e + s / 2 - i, c, e + s / 2), B = c, B < A + r) {
6242
+ const d = Math.min(B + a / 2, A + r);
6243
+ this.ctx.quadraticCurveTo(B + a / 4, e + s / 2 + i, d, e + s / 2), B = d;
6244
6244
  }
6245
6245
  }
6246
6246
  this.ctx.stroke(), this.ctx.restore();
@@ -6254,20 +6254,20 @@ class aw {
6254
6254
  const n = this.ctx.measureText("…").width, o = Jr(A);
6255
6255
  if (r === 0) {
6256
6256
  const i = (c) => this.ctx.measureText(o.slice(0, c).join("")).width + n <= e;
6257
- let a = 0, l = o.length;
6258
- for (; a < l; ) {
6259
- const c = a + l + 1 >> 1;
6260
- i(c) ? a = c : l = c - 1;
6257
+ let a = 0, B = o.length;
6258
+ for (; a < B; ) {
6259
+ const c = a + B + 1 >> 1;
6260
+ i(c) ? a = c : B = c - 1;
6261
6261
  }
6262
6262
  return o.slice(0, a).join("") + "…";
6263
6263
  } else {
6264
6264
  let i = n;
6265
6265
  const a = [];
6266
- for (const l of o) {
6267
- const c = this.ctx.measureText(l).width;
6266
+ for (const B of o) {
6267
+ const c = this.ctx.measureText(B).width;
6268
6268
  if (i + c > e)
6269
6269
  break;
6270
- a.push(l), i += c + r;
6270
+ a.push(B), i += c + r;
6271
6271
  }
6272
6272
  return a.join("") + "…";
6273
6273
  }
@@ -6318,17 +6318,17 @@ class aw {
6318
6318
  }
6319
6319
  }
6320
6320
  const a = e.textOverflow === 1 && r && e.overflowX === 1 && A.textBounds.length > 0;
6321
- let l = !1, c = "";
6321
+ let B = !1, c = "";
6322
6322
  if (a) {
6323
6323
  const d = A.textBounds[0].bounds.top;
6324
6324
  if (A.textBounds.every((u) => Math.abs(u.bounds.top - d) < o * 0.5)) {
6325
6325
  let u = A.textBounds.map((U) => U.text).join("");
6326
6326
  u = u.replace(/\s+/g, " ").trim();
6327
6327
  const h = this.ctx.measureText(u).width, w = r.width;
6328
- h > w && (l = !0, c = this.truncateTextWithEllipsis(u, w, e.letterSpacing));
6328
+ h > w && (B = !0, c = this.truncateTextWithEllipsis(u, w, e.letterSpacing));
6329
6329
  }
6330
6330
  }
6331
- if (l) {
6331
+ if (B) {
6332
6332
  const d = A.textBounds[0], f = new At(c, d.bounds);
6333
6333
  n.forEach((u) => {
6334
6334
  switch (u) {
@@ -6414,19 +6414,19 @@ class zn extends qa {
6414
6414
  if (r && s > 0 && n > 0) {
6415
6415
  const o = Zt(A), i = As(e);
6416
6416
  this.path(i), this.ctx.save(), this.ctx.clip();
6417
- let a = 0, l = 0, c = s, d = n, f = o.left, u = o.top, h = o.width, w = o.height;
6417
+ let a = 0, B = 0, c = s, d = n, f = o.left, u = o.top, h = o.width, w = o.height;
6418
6418
  const { objectFit: U } = A.styles, C = h / w, p = c / d;
6419
6419
  if (U === 2)
6420
6420
  p > C ? (w = h / p, u += (o.height - w) / 2) : (h = w * p, f += (o.width - h) / 2);
6421
6421
  else if (U === 4)
6422
- p > C ? (c = d * C, a += (s - c) / 2) : (d = c / C, l += (n - d) / 2);
6422
+ p > C ? (c = d * C, a += (s - c) / 2) : (d = c / C, B += (n - d) / 2);
6423
6423
  else if (U === 8)
6424
- c > h ? (a += (c - h) / 2, c = h) : (f += (h - c) / 2, h = c), d > w ? (l += (d - w) / 2, d = w) : (u += (w - d) / 2, w = d);
6424
+ c > h ? (a += (c - h) / 2, c = h) : (f += (h - c) / 2, h = c), d > w ? (B += (d - w) / 2, d = w) : (u += (w - d) / 2, w = d);
6425
6425
  else if (U === 16) {
6426
6426
  const F = p > C ? h : w * p, S = c > h ? c : h;
6427
- F < S ? p > C ? (w = h / p, u += (o.height - w) / 2) : (h = w * p, f += (o.width - h) / 2) : (c > h ? (a += (c - h) / 2, c = h) : (f += (h - c) / 2, h = c), d > w ? (l += (d - w) / 2, d = w) : (u += (w - d) / 2, w = d));
6427
+ F < S ? p > C ? (w = h / p, u += (o.height - w) / 2) : (h = w * p, f += (o.width - h) / 2) : (c > h ? (a += (c - h) / 2, c = h) : (f += (h - c) / 2, h = c), d > w ? (B += (d - w) / 2, d = w) : (u += (w - d) / 2, w = d));
6428
6428
  }
6429
- this.ctx.drawImage(r, a, l, c, d, f, u, h, w), this.ctx.restore();
6429
+ this.ctx.drawImage(r, a, B, c, d, f, u, h, w), this.ctx.restore();
6430
6430
  }
6431
6431
  }
6432
6432
  async renderNodeContent(A) {
@@ -6475,7 +6475,7 @@ class zn extends qa {
6475
6475
  ]), this.ctx.fillStyle = tA(ui), this.ctx.fill(), this.ctx.restore()) : e.type === zr && e.checked && (this.ctx.save(), this.ctx.beginPath(), this.ctx.arc(e.bounds.left + o / 2, e.bounds.top + o / 2, o / 4, 0, Math.PI * 2, !0), this.ctx.fillStyle = tA(ui), this.ctx.fill(), this.ctx.restore());
6476
6476
  }
6477
6477
  if (lw(e) && e.value.length) {
6478
- const [o, i, a] = this.textRenderer.createFontStyle(s), { baseline: l } = this.fontMetrics.getMetrics(i, a);
6478
+ const [o, i, a] = this.textRenderer.createFontStyle(s), { baseline: B } = this.fontMetrics.getMetrics(i, a);
6479
6479
  this.ctx.font = o;
6480
6480
  const c = e instanceof zt && e.isPlaceholder;
6481
6481
  this.ctx.fillStyle = tA(c ? gh : s.color), this.ctx.textBaseline = "alphabetic", this.ctx.textAlign = dw(e.styles.textAlign);
@@ -6500,7 +6500,7 @@ class zn extends qa {
6500
6500
  new b(d.left + d.width, d.top),
6501
6501
  new b(d.left + d.width, d.top + d.height),
6502
6502
  new b(d.left, d.top + d.height)
6503
- ]), this.ctx.clip(), this.textRenderer.renderTextWithLetterSpacing(new At(e.value, h), s.letterSpacing, l), this.ctx.restore(), this.ctx.textBaseline = "alphabetic", this.ctx.textAlign = "left";
6503
+ ]), this.ctx.clip(), this.textRenderer.renderTextWithLetterSpacing(new At(e.value, h), s.letterSpacing, B), this.ctx.restore(), this.ctx.textBaseline = "alphabetic", this.ctx.textAlign = "left";
6504
6504
  }
6505
6505
  if (aA(
6506
6506
  e.styles.display,
@@ -6575,8 +6575,8 @@ class zn extends qa {
6575
6575
  ], n = Bw(ht(e.backgroundClip, 0), A.curves);
6576
6576
  (r || e.boxShadow.length) && (this.ctx.save(), this.path(n), this.ctx.clip(), Ve(e.backgroundColor) || (this.ctx.fillStyle = tA(e.backgroundColor), this.ctx.fill()), await this.backgroundRenderer.renderBackgroundImage(A.container), this.ctx.restore(), e.boxShadow.slice(0).reverse().forEach((i) => {
6577
6577
  this.ctx.save();
6578
- const a = qr(A.curves), l = i.inset ? 0 : cw, c = Nh(a, -l + (i.inset ? 1 : -1) * i.spread.number, (i.inset ? 1 : -1) * i.spread.number, i.spread.number * (i.inset ? -2 : 2), i.spread.number * (i.inset ? -2 : 2));
6579
- i.inset ? (this.path(a), this.ctx.clip(), this.mask(c)) : (this.mask(a), this.ctx.clip(), this.path(c)), this.ctx.shadowOffsetX = i.offsetX.number + l, this.ctx.shadowOffsetY = i.offsetY.number, this.ctx.shadowColor = tA(i.color), this.ctx.shadowBlur = i.blur.number, this.ctx.fillStyle = i.inset ? tA(i.color) : "rgba(0,0,0,1)", this.ctx.fill(), this.ctx.restore();
6578
+ const a = qr(A.curves), B = i.inset ? 0 : cw, c = Nh(a, -B + (i.inset ? 1 : -1) * i.spread.number, (i.inset ? 1 : -1) * i.spread.number, i.spread.number * (i.inset ? -2 : 2), i.spread.number * (i.inset ? -2 : 2));
6579
+ i.inset ? (this.path(a), this.ctx.clip(), this.mask(c)) : (this.mask(a), this.ctx.clip(), this.path(c)), this.ctx.shadowOffsetX = i.offsetX.number + B, this.ctx.shadowOffsetY = i.offsetY.number, this.ctx.shadowColor = tA(i.color), this.ctx.shadowBlur = i.blur.number, this.ctx.fillStyle = i.inset ? tA(i.color) : "rgba(0,0,0,1)", this.ctx.fill(), this.ctx.restore();
6580
6580
  }));
6581
6581
  let o = 0;
6582
6582
  for (const i of s)
@@ -6740,9 +6740,9 @@ class fw {
6740
6740
  if (!s && this._options.allowTaint === !1 && !tn(A) && !rn(A) && !o && !n)
6741
6741
  return;
6742
6742
  let i = A;
6743
- return o && (i = await this.proxy(i)), this.context.logger.debug(`Added image ${A.substring(0, 256)}`), await new Promise((a, l) => {
6743
+ return o && (i = await this.proxy(i)), this.context.logger.debug(`Added image ${A.substring(0, 256)}`), await new Promise((a, B) => {
6744
6744
  const c = new Image();
6745
- c.onload = () => a(c), c.onerror = l, (Cw(i) || n) && (c.crossOrigin = "anonymous"), c.src = i, c.complete === !0 && setTimeout(() => a(c), 500), this._options.imageTimeout > 0 && setTimeout(() => l(`Timed out (${this._options.imageTimeout}ms) loading image`), this._options.imageTimeout);
6745
+ c.onload = () => a(c), c.onerror = B, (Cw(i) || n) && (c.crossOrigin = "anonymous"), c.src = i, c.complete === !0 && setTimeout(() => a(c), 500), this._options.imageTimeout > 0 && setTimeout(() => B(`Timed out (${this._options.imageTimeout}ms) loading image`), this._options.imageTimeout);
6746
6746
  });
6747
6747
  }
6748
6748
  has(A) {
@@ -6763,16 +6763,16 @@ class fw {
6763
6763
  if (o === "text")
6764
6764
  s(i.response);
6765
6765
  else {
6766
- const l = new FileReader();
6767
- l.addEventListener("load", () => s(l.result), !1), l.addEventListener("error", (c) => n(c), !1), l.readAsDataURL(i.response);
6766
+ const B = new FileReader();
6767
+ B.addEventListener("load", () => s(B.result), !1), B.addEventListener("error", (c) => n(c), !1), B.readAsDataURL(i.response);
6768
6768
  }
6769
6769
  else
6770
6770
  n(`Failed to proxy resource ${r} with status code ${i.status}`);
6771
6771
  }, i.onerror = n;
6772
6772
  const a = e.indexOf("?") > -1 ? "&" : "?";
6773
6773
  if (i.open("GET", `${e}${a}url=${encodeURIComponent(A)}&responseType=${o}`), o !== "text" && i instanceof XMLHttpRequest && (i.responseType = o), this._options.imageTimeout) {
6774
- const l = this._options.imageTimeout;
6775
- i.timeout = l, i.ontimeout = () => n(`Timed out (${l}ms) proxying ${r}`);
6774
+ const B = this._options.imageTimeout;
6775
+ i.timeout = B, i.ontimeout = () => n(`Timed out (${B}ms) proxying ${r}`);
6776
6776
  }
6777
6777
  i.send();
6778
6778
  });
@@ -7362,11 +7362,11 @@ const Hw = (t) => {
7362
7362
  logging: A.logging ?? !0,
7363
7363
  cache: A.cache ?? e.cache,
7364
7364
  ...n
7365
- }, i = 800, a = 600, l = 0, c = s, d = {
7365
+ }, i = 800, a = 600, B = 0, c = s, d = {
7366
7366
  windowWidth: A.windowWidth ?? c.innerWidth ?? i,
7367
7367
  windowHeight: A.windowHeight ?? c.innerHeight ?? a,
7368
- scrollX: A.scrollX ?? c.pageXOffset ?? l,
7369
- scrollY: A.scrollY ?? c.pageYOffset ?? l
7368
+ scrollX: A.scrollX ?? c.pageXOffset ?? B,
7369
+ scrollY: A.scrollY ?? c.pageYOffset ?? B
7370
7370
  }, f = new OA(d.scrollX, d.scrollY, d.windowWidth, d.windowHeight), u = new fs(o, f, e), h = A.enablePerformanceMonitoring ?? A.logging ?? !1, w = new Ew(u, h);
7371
7371
  w.start("total", {
7372
7372
  width: d.windowWidth,
@@ -7428,17 +7428,17 @@ const Hw = (t) => {
7428
7428
  }, Si = ({ url: t, className: A, style: e, tooltipStyle: r, onHover: s }) => {
7429
7429
  const n = pA(null), o = () => {
7430
7430
  if (!n.current || !s) return;
7431
- const l = n.current.getBoundingClientRect(), c = l.top, d = window.innerHeight - l.bottom, f = c < 140 && d > c ? "bottom" : "top";
7431
+ const B = n.current.getBoundingClientRect(), c = B.top, d = window.innerHeight - B.bottom, f = c < 140 && d > c ? "bottom" : "top";
7432
7432
  s({
7433
7433
  url: t,
7434
- x: l.left + l.width / 2,
7435
- y: f === "top" ? l.top : l.bottom,
7434
+ x: B.left + B.width / 2,
7435
+ y: f === "top" ? B.top : B.bottom,
7436
7436
  direction: f
7437
7437
  });
7438
- }, i = (l) => l.toLowerCase().replace(/\/$/g, "").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g, "/:id"), a = () => {
7438
+ }, i = (B) => B.toLowerCase().replace(/\/$/g, "").replace(/\/(?:[0-9]+|(?:[0-9a-f]{24}))(?=\/|$)/g, "/:id"), a = () => {
7439
7439
  try {
7440
- const l = i(window.location.pathname), c = new URL(t), d = i(c.pathname);
7441
- return l === d || l.startsWith(d) || d.startsWith(l);
7440
+ const B = i(window.location.pathname), c = new URL(t), d = i(c.pathname);
7441
+ return B === d || B.startsWith(d) || d.startsWith(B);
7442
7442
  } catch {
7443
7443
  return !1;
7444
7444
  }
@@ -7483,9 +7483,9 @@ const Hw = (t) => {
7483
7483
  n = `[${s.hasAttribute("data-testid") ? "data-testid" : "data-qa"}="${a}"]`, A.unshift(n);
7484
7484
  break;
7485
7485
  }
7486
- const l = Array.from(s.parentNode?.children || []).filter((c) => c.localName === s?.localName);
7487
- if (l.length > 1) {
7488
- const c = l.indexOf(s) + 1;
7486
+ const B = Array.from(s.parentNode?.children || []).filter((c) => c.localName === s?.localName);
7487
+ if (B.length > 1) {
7488
+ const c = B.indexOf(s) + 1;
7489
7489
  n += `:nth-of-type(${c})`;
7490
7490
  }
7491
7491
  A.unshift(n), s = s.parentElement;
@@ -7567,7 +7567,7 @@ const Hw = (t) => {
7567
7567
  if (t.getAttribute("role") === "dialog" || t.getAttribute("aria-modal") === "true" || t.classList.contains("modal") || t.classList.contains("modal-content")) return !0;
7568
7568
  const A = window.getComputedStyle(t), e = t.getBoundingClientRect(), r = t.getAttribute("role");
7569
7569
  if (r && ["listbox", "menu", "combobox", "tooltip", "option"].includes(r) || e.width < 120 && e.height < 120) return !1;
7570
- const n = parseInt(A.zIndex) || 0, o = A.position === "fixed" || A.position === "absolute", i = e.width > window.innerWidth * 0.4 && e.height > window.innerHeight * 0.4, a = Math.abs(e.left + e.width / 2 - window.innerWidth / 2) < 50, l = t.getAttribute("class") || "", c = l.toLowerCase().includes("modal") || l.toLowerCase().includes("dialog");
7570
+ const n = parseInt(A.zIndex) || 0, o = A.position === "fixed" || A.position === "absolute", i = e.width > window.innerWidth * 0.4 && e.height > window.innerHeight * 0.4, a = Math.abs(e.left + e.width / 2 - window.innerWidth / 2) < 50, B = t.getAttribute("class") || "", c = B.toLowerCase().includes("modal") || B.toLowerCase().includes("dialog");
7571
7571
  return !!(o && n >= 100 && (i || a || c));
7572
7572
  }, Me = (t) => {
7573
7573
  if (!t.isConnected) return !1;
@@ -7613,8 +7613,8 @@ const Hw = (t) => {
7613
7613
  let n = 0;
7614
7614
  const o = s.getAttribute("placeholder"), i = t.attributes?.placeholder || t.fingerprint?.placeholder;
7615
7615
  i && o === i && (n += 6);
7616
- const a = s.getAttribute("type"), l = t.attributes?.type || t.fingerprint?.type;
7617
- if (l && a === l && (n += 2), s.innerText?.trim() === t.text.trim() && (n += 5), t.fingerprint?.vgPath) {
7616
+ const a = s.getAttribute("type"), B = t.attributes?.type || t.fingerprint?.type;
7617
+ if (B && a === B && (n += 2), s.innerText?.trim() === t.text.trim() && (n += 5), t.fingerprint?.vgPath) {
7618
7618
  const { vgPath: c } = nr(s);
7619
7619
  (c === t.vgPath || t.fingerprint?.vgPath === c) && (n += 10);
7620
7620
  }
@@ -7638,10 +7638,10 @@ const Hw = (t) => {
7638
7638
  const a = i.find((c) => {
7639
7639
  const { vgPath: d } = nr(c);
7640
7640
  return d === t.vgPath || t.fingerprint?.vgPath === d;
7641
- }), l = a && Me(a) ? a : i.find((c) => !(!Me(c) || t.metadata?.isModal && !c.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')));
7642
- return l ? (o.forEach((c) => {
7643
- c !== l && c.removeAttribute(ae);
7644
- }), l) : null;
7641
+ }), B = a && Me(a) ? a : i.find((c) => !(!Me(c) || t.metadata?.isModal && !c.closest('[role="dialog"], [aria-modal="true"], .modal, .modal-content')));
7642
+ return B ? (o.forEach((c) => {
7643
+ c !== B && c.removeAttribute(ae);
7644
+ }), B) : null;
7645
7645
  }
7646
7646
  }
7647
7647
  }
@@ -7704,7 +7704,7 @@ const Hw = (t) => {
7704
7704
  fingerprint: 0.5 + (o.testId ? 0.3 : 0) + (o.ariaLabel ? 0.1 : 0)
7705
7705
  };
7706
7706
  let a = t.getAttribute("data-source-path") || r || "unknown:0";
7707
- const l = Rw(t), { selector: c, fallbacks: d, vgPath: f } = nr(t), u = {};
7707
+ const B = Rw(t), { selector: c, fallbacks: d, vgPath: f } = nr(t), u = {};
7708
7708
  ["placeholder", "aria-label", "name", "type", "alt", "title", "value", "role", "data-testid"].forEach((C) => {
7709
7709
  const p = t.getAttribute(C);
7710
7710
  p && (u[C] = p);
@@ -7730,7 +7730,7 @@ const Hw = (t) => {
7730
7730
  vgId: e,
7731
7731
  outerHtml: t.outerHTML,
7732
7732
  parentContext: t.parentElement ? `<${t.parentElement.tagName.toLowerCase()} ${Array.from(t.parentElement.attributes).map((C) => `${C.name}="${C.value}"`).join(" ").slice(0, 500)}>` : "N/A",
7733
- componentPath: l,
7733
+ componentPath: B,
7734
7734
  signature: U,
7735
7735
  source: a,
7736
7736
  attributes: u,
@@ -7751,45 +7751,45 @@ const Hw = (t) => {
7751
7751
  }
7752
7752
  };
7753
7753
  }, Vw = () => {
7754
- const { addToast: t, language: A, t: e, apiKey: r, baseUrl: s, dashboardUrl: n, disableViewGate: o, hasActiveToasts: i } = Tl(), [a, l] = R(typeof window < "u" ? window.location.pathname + window.location.search : "/"), c = wt(() => typeof window > "u" ? !1 : window.location.href.includes("viewgate-backlog"), [a]);
7754
+ const { addToast: t, language: A, t: e, apiKey: r, baseUrl: s, dashboardUrl: n, disableViewGate: o, hasActiveToasts: i } = Tl(), [a, B] = R(typeof window < "u" ? window.location.pathname + window.location.search : "/"), c = wt(() => typeof window > "u" ? !1 : window.location.href.includes("viewgate-backlog"), [a]);
7755
7755
  kA(() => {
7756
- const B = () => l(window.location.pathname + window.location.search);
7757
- window.addEventListener("popstate", B);
7756
+ const l = () => B(window.location.pathname + window.location.search);
7757
+ window.addEventListener("popstate", l);
7758
7758
  const y = window.history.pushState, m = window.history.replaceState;
7759
7759
  return window.history.pushState = function(...v) {
7760
- y.apply(this, v), setTimeout(B, 0);
7760
+ y.apply(this, v), setTimeout(l, 0);
7761
7761
  }, window.history.replaceState = function(...v) {
7762
- m.apply(this, v), setTimeout(B, 0);
7762
+ m.apply(this, v), setTimeout(l, 0);
7763
7763
  }, () => {
7764
- window.removeEventListener("popstate", B), window.history.pushState = y, window.history.replaceState = m;
7764
+ window.removeEventListener("popstate", l), window.history.pushState = y, window.history.replaceState = m;
7765
7765
  };
7766
7766
  }, []);
7767
7767
  const [d, f] = R(!1), [u, h] = R("medium"), [w, U] = R("medium"), [C, p] = R("all"), [F, S] = R(null), [x, T] = R(null), [G, q] = R(""), [I, yA] = R(!1), [j, cA] = R([]), [EA, FA] = R(""), [rA, YA] = R(""), [RA, pe] = R([]), [Be, re] = R(!1), [Q, K] = R(""), [N, Z] = R(!1), [NA, se] = R("down"), J = pA(null), [MA, Ie] = R(!1), [SA, Qe] = R(!1), [GA, cr] = R([]), [xA, zA] = R(null), [rt, z] = R(""), [lA, BA] = R(!1), [oA, $A] = R({}), [sA, iA] = R(null), [LA, Se] = R(!1), [_A, lr] = R(null), [Et, PA] = R([]), [AA, Xe] = R(() => {
7768
7768
  if (typeof window > "u") return null;
7769
- const B = localStorage.getItem("vg_selected_member");
7770
- return B ? JSON.parse(B) : null;
7769
+ const l = localStorage.getItem("vg_selected_member");
7770
+ return l ? JSON.parse(l) : null;
7771
7771
  });
7772
7772
  kA(() => {
7773
7773
  !r || !s || (fetch(`${s}/api/projects/members`, {
7774
7774
  headers: { "x-api-key": r }
7775
- }).then((B) => B.json()).then((B) => {
7776
- Array.isArray(B) && PA(B);
7777
- }).catch((B) => console.error("Failed to fetch project members", B)), fetch(`${s}/api/projects/endpoints`, {
7775
+ }).then((l) => l.json()).then((l) => {
7776
+ Array.isArray(l) && PA(l);
7777
+ }).catch((l) => console.error("Failed to fetch project members", l)), fetch(`${s}/api/projects/endpoints`, {
7778
7778
  headers: { "x-api-key": r }
7779
- }).then((B) => B.json()).then((B) => {
7780
- B.endpoints && Array.isArray(B.endpoints) ? pe(B.endpoints) : Array.isArray(B) && pe(B), typeof B.isFigmaConnected == "boolean" && re(B.isFigmaConnected);
7781
- }).catch((B) => console.error("Failed to fetch project endpoints", B)));
7779
+ }).then((l) => l.json()).then((l) => {
7780
+ l.endpoints && Array.isArray(l.endpoints) ? pe(l.endpoints) : Array.isArray(l) && pe(l), typeof l.isFigmaConnected == "boolean" && re(l.isFigmaConnected);
7781
+ }).catch((l) => console.error("Failed to fetch project endpoints", l)));
7782
7782
  }, [r, s]), kA(() => {
7783
7783
  if (j.length === 0) return;
7784
- const B = ["frontend"];
7785
- RA.length > 0 && B.push("backend"), Be && B.push("ux");
7786
- const y = j.filter((m) => B.includes(m));
7784
+ const l = ["frontend"];
7785
+ RA.length > 0 && l.push("backend"), Be && l.push("ux");
7786
+ const y = j.filter((m) => l.includes(m));
7787
7787
  y.length !== j.length && cA(y);
7788
7788
  }, [RA.length, Be, j]);
7789
- const hs = (B) => {
7790
- Xe(B), localStorage.setItem("vg_selected_member", JSON.stringify(B));
7791
- }, st = Re(async (B) => {
7792
- const m = await fetch(B, { headers: {
7789
+ const hs = (l) => {
7790
+ Xe(l), localStorage.setItem("vg_selected_member", JSON.stringify(l));
7791
+ }, st = Re(async (l) => {
7792
+ const m = await fetch(l, { headers: {
7793
7793
  "x-api-key": r
7794
7794
  } });
7795
7795
  if (!m.ok) {
@@ -7816,31 +7816,31 @@ const Hw = (t) => {
7816
7816
  Zn.current = GA;
7817
7817
  const [TA, dr] = R(null), qn = pA(null), [ot, oc] = R([]), Ao = wt(() => {
7818
7818
  if (!Q) return RA;
7819
- const B = Q.toLowerCase();
7819
+ const l = Q.toLowerCase().trim();
7820
7820
  return RA.filter(
7821
- (y) => y.path.toLowerCase().includes(B) || y.description && y.description.toLowerCase().includes(B) || y.method.toLowerCase().includes(B)
7821
+ (y) => y.path && y.path.toLowerCase().includes(l) || y.description && y.description.toLowerCase().includes(l) || y.method && y.method.toLowerCase().includes(l)
7822
7822
  );
7823
7823
  }, [RA, Q]), ws = wt(() => {
7824
- let B = Array.isArray(GA) ? GA : [];
7824
+ let l = Array.isArray(GA) ? GA : [];
7825
7825
  if (sA) {
7826
7826
  const m = ot.find((v) => v.annotations && Array.isArray(v.annotations) && v.annotations.some((P) => P._id === sA));
7827
- m ? B = m.annotations : B = B.filter((v) => v._id === sA);
7827
+ m ? l = m.annotations : l = l.filter((v) => v._id === sA);
7828
7828
  }
7829
- return B = B.filter((m) => m.status !== "completed" && m.status !== "done"), window.location.href.includes("viewgate-backlog") || (TA === "pending" ? B = B.filter((m) => m.status !== "ready_for_review") : TA === "ready" && (B = B.filter((m) => m.status === "ready_for_review"))), C !== "all" && (B = B.filter((m) => (m.priority || "medium") === C)), B;
7829
+ return l = l.filter((m) => m.status !== "completed" && m.status !== "done"), window.location.href.includes("viewgate-backlog") || (TA === "pending" ? l = l.filter((m) => m.status !== "ready_for_review") : TA === "ready" && (l = l.filter((m) => m.status === "ready_for_review"))), C !== "all" && (l = l.filter((m) => (m.priority || "medium") === C)), l;
7830
7830
  }, [sA, GA, ot, TA, C]);
7831
7831
  kA(() => {
7832
7832
  sA && ws.length === 0 && !We && iA(null);
7833
7833
  }, [sA, ws.length, We]);
7834
7834
  const [it, ic] = R(() => {
7835
7835
  if (typeof window > "u") return { bottom: 30, right: 30 };
7836
- const B = localStorage.getItem("vg-bar-pos");
7837
- return B ? JSON.parse(B) : { bottom: 30, right: 30 };
7838
- }), [Ht, eo] = R(!1), Ce = pA(null), ac = (B) => {
7839
- B.preventDefault(), B.stopPropagation();
7840
- const y = B.currentTarget.parentElement?.getBoundingClientRect();
7836
+ const l = localStorage.getItem("vg-bar-pos");
7837
+ return l ? JSON.parse(l) : { bottom: 30, right: 30 };
7838
+ }), [Ht, eo] = R(!1), Ce = pA(null), ac = (l) => {
7839
+ l.preventDefault(), l.stopPropagation();
7840
+ const y = l.currentTarget.parentElement?.getBoundingClientRect();
7841
7841
  y && (eo(!0), Ce.current = {
7842
- x: B.clientX,
7843
- y: B.clientY,
7842
+ x: l.clientX,
7843
+ y: l.clientY,
7844
7844
  bottom: it.bottom,
7845
7845
  right: it.right,
7846
7846
  width: y.width,
@@ -7849,7 +7849,7 @@ const Hw = (t) => {
7849
7849
  };
7850
7850
  kA(() => {
7851
7851
  if (!Ht) return;
7852
- const B = (m) => {
7852
+ const l = (m) => {
7853
7853
  if (Ht && Ce.current) {
7854
7854
  const v = m.clientX - Ce.current.x, P = m.clientY - Ce.current.y;
7855
7855
  let M = Ce.current.bottom - P, X = Ce.current.right - v;
@@ -7859,14 +7859,14 @@ const Hw = (t) => {
7859
7859
  }, y = () => {
7860
7860
  Ht && (eo(!1), localStorage.setItem("vg-bar-pos", JSON.stringify(it)), Ce.current = null);
7861
7861
  };
7862
- return window.addEventListener("mousemove", B), window.addEventListener("mouseup", y), () => {
7863
- window.removeEventListener("mousemove", B), window.removeEventListener("mouseup", y);
7862
+ return window.addEventListener("mousemove", l), window.addEventListener("mouseup", y), () => {
7863
+ window.removeEventListener("mousemove", l), window.removeEventListener("mouseup", y);
7864
7864
  };
7865
7865
  }, [Ht, it]);
7866
7866
  const [ps, Qs] = R(null), [to, ro] = R(""), [_w, Pw] = R({}), Cs = pA(null), at = pA(null), ms = pA(null), gr = pA(!1), so = Re(() => {
7867
7867
  typeof window > "u" || gr.current || (at.current && cancelAnimationFrame(at.current), at.current = requestAnimationFrame(() => {
7868
7868
  at.current = null, gr.current = !0, ms.current;
7869
- const B = Zn.current, y = Array.isArray(B) ? B : [], m = new Set(y.map((W) => W._id));
7869
+ const l = Zn.current, y = Array.isArray(l) ? l : [], m = new Set(y.map((W) => W._id));
7870
7870
  document.querySelectorAll(`[${ae}]`).forEach((W) => {
7871
7871
  const VA = W.getAttribute(ae);
7872
7872
  VA && !m.has(VA) && W.removeAttribute(ae);
@@ -7933,9 +7933,9 @@ const Hw = (t) => {
7933
7933
  }, [_A]);
7934
7934
  kA(() => {
7935
7935
  if (bt) {
7936
- const B = Array.isArray(bt) ? bt : bt?.data || [];
7937
- if (Array.isArray(B)) {
7938
- const y = B.reduce((m, v) => m.find((M) => M._id === v._id) ? m : m.concat([v]), []);
7936
+ const l = Array.isArray(bt) ? bt : bt?.data || [];
7937
+ if (Array.isArray(l)) {
7938
+ const y = l.reduce((m, v) => m.find((M) => M._id === v._id) ? m : m.concat([v]), []);
7939
7939
  cr(y);
7940
7940
  }
7941
7941
  } else We || cr([]);
@@ -7944,13 +7944,13 @@ const Hw = (t) => {
7944
7944
  }, [Br]), kA(() => {
7945
7945
  SA && GA.length === 0 && !We && Qe(!1);
7946
7946
  }, [SA, GA.length, We]), kA(() => {
7947
- let B = null;
7947
+ let l = null;
7948
7948
  const y = () => {
7949
7949
  gr.current || so();
7950
7950
  }, m = new MutationObserver((M) => {
7951
7951
  M.some(
7952
7952
  (L) => L.type !== "attributes" || L.attributeName !== ae && !L.target.parentElement?.closest("#viewgate-shadow-host")
7953
- ) && (B && clearTimeout(B), B = setTimeout(y, 32));
7953
+ ) && (l && clearTimeout(l), l = setTimeout(y, 32));
7954
7954
  });
7955
7955
  ms.current = m;
7956
7956
  const v = new ResizeObserver(() => y()), P = () => y();
@@ -7959,11 +7959,11 @@ const Hw = (t) => {
7959
7959
  subtree: !0,
7960
7960
  attributes: !0
7961
7961
  }), v.observe(document.documentElement), window.addEventListener("scroll", P, { capture: !0, passive: !0 }), () => {
7962
- B && clearTimeout(B), m.disconnect(), v.disconnect(), window.removeEventListener("scroll", P, !0), at.current && cancelAnimationFrame(at.current), ms.current = null;
7962
+ l && clearTimeout(l), m.disconnect(), v.disconnect(), window.removeEventListener("scroll", P, !0), at.current && cancelAnimationFrame(at.current), ms.current = null;
7963
7963
  };
7964
7964
  }, [d, GA, so, SA, sA, a]);
7965
- const Us = Re((B) => {
7966
- let y = B;
7965
+ const Us = Re((l) => {
7966
+ let y = l;
7967
7967
  for (; y && y !== document.body; ) {
7968
7968
  if (kn(y)) return y;
7969
7969
  y = y.parentElement;
@@ -7971,17 +7971,17 @@ const Hw = (t) => {
7971
7971
  return null;
7972
7972
  }, []);
7973
7973
  kA(() => {
7974
- const B = (y) => {
7974
+ const l = (y) => {
7975
7975
  const m = y.target;
7976
7976
  m && (Us(m) || (qn.current = m));
7977
7977
  };
7978
- return window.addEventListener("mousedown", B, !0), () => window.removeEventListener("mousedown", B, !0);
7978
+ return window.addEventListener("mousedown", l, !0), () => window.removeEventListener("mousedown", l, !0);
7979
7979
  }, [Us]), kA(() => {
7980
7980
  Cs.current = document.getElementById("viewgate-shadow-host");
7981
7981
  }, []);
7982
- const Fs = Re((B) => {
7982
+ const Fs = Re((l) => {
7983
7983
  if (!d || x) return;
7984
- const y = Ti(B.clientX, B.clientY);
7984
+ const y = Ti(l.clientX, l.clientY);
7985
7985
  if (!y || Cs.current?.contains(y) || y.closest(".vg-no-capture")) {
7986
7986
  S(null);
7987
7987
  return;
@@ -7996,16 +7996,16 @@ const Hw = (t) => {
7996
7996
  semanticReference: {
7997
7997
  ...rc(y, qn.current),
7998
7998
  normalizedOffset: {
7999
- x: (B.clientX - m.left) / m.width,
8000
- y: (B.clientY - m.top) / m.height
7999
+ x: (l.clientX - m.left) / m.width,
8000
+ y: (l.clientY - m.top) / m.height
8001
8001
  }
8002
8002
  }
8003
8003
  });
8004
- }, [d, x]), xs = Re(async (B) => {
8004
+ }, [d, x]), xs = Re(async (l) => {
8005
8005
  if (!d || x) return;
8006
- const y = Ti(B.clientX, B.clientY);
8006
+ const y = Ti(l.clientX, l.clientY);
8007
8007
  if (!(!y || Cs.current?.contains(y) || y.closest(".vg-no-capture")) && F) {
8008
- B.preventDefault(), B.stopPropagation(), Ie(!0);
8008
+ l.preventDefault(), l.stopPropagation(), Ie(!0);
8009
8009
  try {
8010
8010
  await new Promise((_) => requestAnimationFrame(_)), await new Promise((_) => setTimeout(_, 80));
8011
8011
  const m = F.element, v = m.getBoundingClientRect(), M = Us(m) || document.documentElement, X = M.getBoundingClientRect(), L = window.devicePixelRatio || 1, dA = Math.max(L, 3), XA = Array.from(M.querySelectorAll("img"));
@@ -8076,7 +8076,7 @@ const Hw = (t) => {
8076
8076
  }
8077
8077
  }, [d, F, x]);
8078
8078
  kA(() => {
8079
- const B = (y) => {
8079
+ const l = (y) => {
8080
8080
  if (y.key === "Escape") {
8081
8081
  x ? T(null) : SA ? Qe(!1) : d && f(!1);
8082
8082
  return;
@@ -8098,8 +8098,8 @@ const Hw = (t) => {
8098
8098
  }
8099
8099
  M === "v" && !x && (GA.length > 0 || SA) && (Qe((X) => !X), SA || f(!1));
8100
8100
  };
8101
- return d && !x ? document.body.classList.add("vg-cursor-pointer") : document.body.classList.remove("vg-cursor-pointer"), window.addEventListener("keydown", B), window.addEventListener("mousemove", Fs, !0), window.addEventListener("click", xs, !0), () => {
8102
- document.body.classList.remove("vg-cursor-pointer"), window.removeEventListener("keydown", B), window.removeEventListener("mousemove", Fs, !0), window.removeEventListener("click", xs, !0);
8101
+ return d && !x ? document.body.classList.add("vg-cursor-pointer") : document.body.classList.remove("vg-cursor-pointer"), window.addEventListener("keydown", l), window.addEventListener("mousemove", Fs, !0), window.addEventListener("click", xs, !0), () => {
8102
+ document.body.classList.remove("vg-cursor-pointer"), window.removeEventListener("keydown", l), window.removeEventListener("mousemove", Fs, !0), window.removeEventListener("click", xs, !0);
8103
8103
  };
8104
8104
  }, [d, x, SA, GA, Fs, xs]);
8105
8105
  const cc = async () => {
@@ -8109,7 +8109,7 @@ const Hw = (t) => {
8109
8109
  return;
8110
8110
  }
8111
8111
  yA(!0);
8112
- const { semanticReference: B } = x, [y, m] = (B.source || "").split(":"), P = {
8112
+ const { semanticReference: l } = x, [y, m] = (l.source || "").split(":"), P = {
8113
8113
  filePath: y,
8114
8114
  line: parseInt(m || "0"),
8115
8115
  url: window.location.href,
@@ -8120,9 +8120,9 @@ const Hw = (t) => {
8120
8120
  type: x.visualPreview && !c && Br?.status === "active" ? "bug" : "task",
8121
8121
  screenshot: x.visualPreview,
8122
8122
  // Optimized WebP Base64
8123
- componentName: B.componentPath || x.tag,
8123
+ componentName: l.componentPath || x.tag,
8124
8124
  reference: {
8125
- ...B,
8125
+ ...l,
8126
8126
  viewport: {
8127
8127
  width: window.innerWidth,
8128
8128
  height: window.innerHeight
@@ -8197,11 +8197,11 @@ const Hw = (t) => {
8197
8197
  border: "1px solid rgba(0,0,0,0.1)",
8198
8198
  boxShadow: "0 2px 8px rgba(0,0,0,0.05)"
8199
8199
  },
8200
- onMouseEnter: (B) => {
8201
- B.currentTarget.style.backgroundColor = "white", B.currentTarget.style.color = "#000000";
8200
+ onMouseEnter: (l) => {
8201
+ l.currentTarget.style.backgroundColor = "white", l.currentTarget.style.color = "#000000";
8202
8202
  },
8203
- onMouseLeave: (B) => {
8204
- B.currentTarget.style.backgroundColor = "rgba(255, 255, 255, 0.85)", B.currentTarget.style.color = "#1e293b";
8203
+ onMouseLeave: (l) => {
8204
+ l.currentTarget.style.backgroundColor = "rgba(255, 255, 255, 0.85)", l.currentTarget.style.color = "#1e293b";
8205
8205
  },
8206
8206
  className: "vg-animate-slide-up",
8207
8207
  children: /* @__PURE__ */ g.jsx(fl, { "data-vg-id": "3dbe6a11", "data-source-path": "/src/components/ViewGateOverlay.tsx:1820", size: 16 })
@@ -8249,8 +8249,8 @@ const Hw = (t) => {
8249
8249
  /* @__PURE__ */ g.jsx(
8250
8250
  "button",
8251
8251
  {
8252
- onClick: (B) => {
8253
- B.stopPropagation(), zA({
8252
+ onClick: (l) => {
8253
+ l.stopPropagation(), zA({
8254
8254
  title: e.exitConfirmTitle || "Close ViewGate?",
8255
8255
  message: e.exitConfirmMessage || "Are you sure you want to close ViewGate?",
8256
8256
  type: "danger",
@@ -8272,11 +8272,11 @@ const Hw = (t) => {
8272
8272
  color: "#64748b",
8273
8273
  border: "1px solid rgba(0,0,0,0.05)"
8274
8274
  },
8275
- onMouseEnter: (B) => {
8276
- B.currentTarget.style.color = "#ef4444", B.currentTarget.style.backgroundColor = "white", B.currentTarget.style.borderColor = "rgba(239, 68, 68, 0.2)", B.currentTarget.style.transform = "scale(1.05)";
8275
+ onMouseEnter: (l) => {
8276
+ l.currentTarget.style.color = "#ef4444", l.currentTarget.style.backgroundColor = "white", l.currentTarget.style.borderColor = "rgba(239, 68, 68, 0.2)", l.currentTarget.style.transform = "scale(1.05)";
8277
8277
  },
8278
- onMouseLeave: (B) => {
8279
- B.currentTarget.style.color = "#64748b", B.currentTarget.style.backgroundColor = "rgba(255, 255, 255, 0.8)", B.currentTarget.style.borderColor = "rgba(0,0,0,0.05)", B.currentTarget.style.transform = "scale(1)";
8278
+ onMouseLeave: (l) => {
8279
+ l.currentTarget.style.color = "#64748b", l.currentTarget.style.backgroundColor = "rgba(255, 255, 255, 0.8)", l.currentTarget.style.borderColor = "rgba(0,0,0,0.05)", l.currentTarget.style.transform = "scale(1)";
8280
8280
  },
8281
8281
  title: e.close || "Cerrar ViewGate",
8282
8282
  children: /* @__PURE__ */ g.jsx(Ds, { "data-vg-id": "ff5f5d2", "data-source-path": "/src/components/ViewGateOverlay.tsx:1899", size: 20, strokeWidth: 2.5 })
@@ -8430,7 +8430,7 @@ const Hw = (t) => {
8430
8430
  {
8431
8431
  className: "vg-textarea",
8432
8432
  value: G,
8433
- onChange: (B) => q(B.target.value),
8433
+ onChange: (l) => q(l.target.value),
8434
8434
  rows: 4,
8435
8435
  placeholder: e.placeholder,
8436
8436
  autoFocus: !0,
@@ -8439,10 +8439,10 @@ const Hw = (t) => {
8439
8439
  ),
8440
8440
  /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fbfb5", "data-source-path": "/src/components/ViewGateOverlay.tsx:2053", style: { marginBottom: "24px" }, children: [
8441
8441
  /* @__PURE__ */ g.jsx("label", { "data-vg-id": "18bd4af3", "data-source-path": "/src/components/ViewGateOverlay.tsx:2054", style: { fontSize: "12px", fontWeight: 700, color: "#64748b", marginBottom: "8px", display: "block" }, children: e.priority }),
8442
- /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fbfb7", "data-source-path": "/src/components/ViewGateOverlay.tsx:2057", style: { display: "flex", gap: "8px" }, children: ["low", "medium", "high", "urgent"].map((B) => /* @__PURE__ */ g.jsx(
8442
+ /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fbfb7", "data-source-path": "/src/components/ViewGateOverlay.tsx:2057", style: { display: "flex", gap: "8px" }, children: ["low", "medium", "high", "urgent"].map((l) => /* @__PURE__ */ g.jsx(
8443
8443
  "button",
8444
8444
  {
8445
- onClick: () => h(B),
8445
+ onClick: () => h(l),
8446
8446
  style: {
8447
8447
  flex: 1,
8448
8448
  padding: "12px 6px",
@@ -8450,16 +8450,16 @@ const Hw = (t) => {
8450
8450
  fontSize: "13px",
8451
8451
  fontWeight: 700,
8452
8452
  border: "1px solid",
8453
- borderColor: u === B ? B === "low" ? "#10b981" : B === "medium" ? "#6366f1" : B === "high" ? "#f59e0b" : "#ef4444" : "#e2e8f0",
8454
- backgroundColor: u === B ? B === "low" ? "#ecfdf5" : B === "medium" ? "#eef2ff" : B === "high" ? "#fffbeb" : "#fef2f2" : "white",
8455
- color: u === B ? B === "low" ? "#059669" : B === "medium" ? "#4338ca" : B === "high" ? "#b45309" : "#b91c1c" : "#64748b",
8453
+ borderColor: u === l ? l === "low" ? "#10b981" : l === "medium" ? "#6366f1" : l === "high" ? "#f59e0b" : "#ef4444" : "#e2e8f0",
8454
+ backgroundColor: u === l ? l === "low" ? "#ecfdf5" : l === "medium" ? "#eef2ff" : l === "high" ? "#fffbeb" : "#fef2f2" : "white",
8455
+ color: u === l ? l === "low" ? "#059669" : l === "medium" ? "#4338ca" : l === "high" ? "#b45309" : "#b91c1c" : "#64748b",
8456
8456
  cursor: "pointer",
8457
8457
  transition: "all 0.2s",
8458
8458
  textTransform: "uppercase"
8459
8459
  },
8460
- children: e[B]
8460
+ children: e[l]
8461
8461
  },
8462
- B
8462
+ l
8463
8463
  )) })
8464
8464
  ] }),
8465
8465
  /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fbfb8", "data-source-path": "/src/components/ViewGateOverlay.tsx:2084", style: { marginBottom: "24px" }, children: [
@@ -8468,13 +8468,13 @@ const Hw = (t) => {
8468
8468
  { id: "frontend", label: e.frontend, icon: /* @__PURE__ */ g.jsx(wl, { "data-vg-id": "377c16ee", "data-source-path": "/src/components/ViewGateOverlay.tsx:2090", size: 14 }), color: "#10b981", bg: "#ecfdf5", border: "#d1fae5" },
8469
8469
  { id: "backend", label: e.backend, icon: /* @__PURE__ */ g.jsx(hn, { "data-vg-id": "7117e580", "data-source-path": "/src/components/ViewGateOverlay.tsx:2091", size: 14 }), color: "#6366f1", bg: "#eef2ff", border: "#e0e7ff" },
8470
8470
  { id: "ux", label: e.ux, icon: /* @__PURE__ */ g.jsx(Uo, { "data-vg-id": "de424745", "data-source-path": "/src/components/ViewGateOverlay.tsx:2092", size: 14 }), color: "#d946ef", bg: "#fdf4ff", border: "#f5d0fe" }
8471
- ].filter((B) => B.id === "backend" ? RA.length > 0 : B.id === "ux" ? Be : !0).map((B) => {
8472
- const y = j.includes(B.id);
8471
+ ].filter((l) => l.id === "backend" ? RA.length > 0 : l.id === "ux" ? Be : !0).map((l) => {
8472
+ const y = j.includes(l.id);
8473
8473
  return /* @__PURE__ */ g.jsxs(
8474
8474
  "button",
8475
8475
  {
8476
8476
  onClick: () => {
8477
- cA(y ? j.filter((m) => m !== B.id) : [...j, B.id]);
8477
+ cA(y ? j.filter((m) => m !== l.id) : [...j, l.id]);
8478
8478
  },
8479
8479
  style: {
8480
8480
  flex: 1,
@@ -8483,9 +8483,9 @@ const Hw = (t) => {
8483
8483
  fontSize: "12px",
8484
8484
  fontWeight: 700,
8485
8485
  border: "1px solid",
8486
- borderColor: y ? B.color : "#e2e8f0",
8487
- backgroundColor: y ? B.bg : "white",
8488
- color: y ? B.color : "#64748b",
8486
+ borderColor: y ? l.color : "#e2e8f0",
8487
+ backgroundColor: y ? l.bg : "white",
8488
+ color: y ? l.color : "#64748b",
8489
8489
  cursor: "pointer",
8490
8490
  transition: "all 0.2s",
8491
8491
  display: "flex",
@@ -8494,11 +8494,11 @@ const Hw = (t) => {
8494
8494
  gap: "6px"
8495
8495
  },
8496
8496
  children: [
8497
- B.icon,
8498
- B.label
8497
+ l.icon,
8498
+ l.label
8499
8499
  ]
8500
8500
  },
8501
- B.id
8501
+ l.id
8502
8502
  );
8503
8503
  }) }),
8504
8504
  j.includes("ux") && /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fbfd3", "data-source-path": "/src/components/ViewGateOverlay.tsx:2133", className: "vg-animate-slide", style: { marginBottom: "12px" }, children: [
@@ -8516,7 +8516,7 @@ const Hw = (t) => {
8516
8516
  style: { padding: "10px 12px", fontSize: "13px", minHeight: "auto", borderRadius: "10px" },
8517
8517
  placeholder: e.figmaLinkPlaceholder,
8518
8518
  value: EA,
8519
- onChange: (B) => FA(B.target.value)
8519
+ onChange: (l) => FA(l.target.value)
8520
8520
  }
8521
8521
  )
8522
8522
  ] }),
@@ -8534,7 +8534,7 @@ const Hw = (t) => {
8534
8534
  ref: J,
8535
8535
  onClick: () => {
8536
8536
  if (!N && J.current) {
8537
- const B = J.current.getBoundingClientRect(), y = window.innerHeight - B.bottom, m = B.top;
8537
+ const l = J.current.getBoundingClientRect(), y = window.innerHeight - l.bottom, m = l.top;
8538
8538
  y < 250 && m > y ? se("up") : se("down");
8539
8539
  }
8540
8540
  Z(!N);
@@ -8544,21 +8544,24 @@ const Hw = (t) => {
8544
8544
  fontSize: "13px",
8545
8545
  borderRadius: "10px",
8546
8546
  height: "42px",
8547
- background: "white",
8547
+ background: "#f8fafc",
8548
8548
  border: "1px solid #e2e8f0",
8549
8549
  display: "flex",
8550
8550
  alignItems: "center",
8551
8551
  justifyContent: "space-between",
8552
- cursor: "pointer"
8552
+ cursor: "pointer",
8553
+ transition: "all 0.2s"
8553
8554
  },
8555
+ onMouseEnter: (l) => l.currentTarget.style.background = "#f1f5f9",
8556
+ onMouseLeave: (l) => l.currentTarget.style.background = "#f8fafc",
8554
8557
  children: [
8555
- /* @__PURE__ */ g.jsx("span", { "data-vg-id": "52d76cbe", "data-source-path": "/src/components/ViewGateOverlay.tsx:2188", style: {
8558
+ /* @__PURE__ */ g.jsx("span", { "data-vg-id": "52d76cbe", "data-source-path": "/src/components/ViewGateOverlay.tsx:2191", style: {
8556
8559
  color: rA ? "#0f172a" : "#94a3b8",
8557
8560
  whiteSpace: "nowrap",
8558
8561
  overflow: "hidden",
8559
8562
  textOverflow: "ellipsis"
8560
- }, children: rA ? RA.find((B) => B.path === rA) ? `[${RA.find((B) => B.path === rA).method}] ${rA}` : rA : e.selectEndpoint }),
8561
- /* @__PURE__ */ g.jsx(sl, { "data-vg-id": "c71f99a8", "data-source-path": "/src/components/ViewGateOverlay.tsx:2196", size: 14, style: { color: "#64748b", transition: "transform 0.2s", transform: N ? "rotate(180deg)" : "none" } })
8563
+ }, children: rA ? RA.find((l) => l.path === rA) ? `[${RA.find((l) => l.path === rA).method}] ${rA}` : rA : e.selectEndpoint }),
8564
+ /* @__PURE__ */ g.jsx(sl, { "data-vg-id": "c71f99a8", "data-source-path": "/src/components/ViewGateOverlay.tsx:2199", size: 14, style: { color: "#64748b", transition: "transform 0.2s", transform: N ? "rotate(180deg)" : "none" } })
8562
8565
  ]
8563
8566
  }
8564
8567
  ),
@@ -8566,7 +8569,7 @@ const Hw = (t) => {
8566
8569
  "div",
8567
8570
  {
8568
8571
  "data-vg-id": "17fbff5",
8569
- "data-source-path": "/src/components/ViewGateOverlay.tsx:2200",
8572
+ "data-source-path": "/src/components/ViewGateOverlay.tsx:2203",
8570
8573
  className: NA === "down" ? "vg-animate-pop" : "vg-animate-slide-up",
8571
8574
  style: {
8572
8575
  position: "absolute",
@@ -8576,7 +8579,7 @@ const Hw = (t) => {
8576
8579
  right: 0,
8577
8580
  marginTop: NA === "down" ? "4px" : "0",
8578
8581
  marginBottom: NA === "up" ? "4px" : "0",
8579
- background: "white",
8582
+ background: "#fcfcfc",
8580
8583
  borderRadius: "12px",
8581
8584
  boxShadow: "0 10px 25px rgba(0,0,0,0.1)",
8582
8585
  border: "1px solid #e2e8f0",
@@ -8587,18 +8590,18 @@ const Hw = (t) => {
8587
8590
  overflow: "hidden"
8588
8591
  },
8589
8592
  children: [
8590
- /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fbff6", "data-source-path": "/src/components/ViewGateOverlay.tsx:2221", style: { padding: "8px", borderBottom: "1px solid #f1f5f9", background: "#f8fafc" }, children: /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fbff7", "data-source-path": "/src/components/ViewGateOverlay.tsx:2222", style: { position: "relative" }, children: [
8591
- /* @__PURE__ */ g.jsx(Hl, { "data-vg-id": "4a0e505", "data-source-path": "/src/components/ViewGateOverlay.tsx:2223", size: 14, style: { position: "absolute", left: "10px", top: "50%", transform: "translateY(-50%)", color: "#94a3b8" } }),
8593
+ /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fbff6", "data-source-path": "/src/components/ViewGateOverlay.tsx:2224", style: { padding: "8px", borderBottom: "1px solid #e2e8f0", background: "#f1f5f9" }, children: /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fbff7", "data-source-path": "/src/components/ViewGateOverlay.tsx:2225", style: { position: "relative" }, children: [
8594
+ /* @__PURE__ */ g.jsx(Hl, { "data-vg-id": "4a0e505", "data-source-path": "/src/components/ViewGateOverlay.tsx:2226", size: 14, style: { position: "absolute", left: "10px", top: "50%", transform: "translateY(-50%)", color: "#94a3b8" } }),
8592
8595
  /* @__PURE__ */ g.jsx(
8593
8596
  "input",
8594
8597
  {
8595
8598
  "data-vg-id": "a993baa0",
8596
- "data-source-path": "/src/components/ViewGateOverlay.tsx:2224",
8599
+ "data-source-path": "/src/components/ViewGateOverlay.tsx:2227",
8597
8600
  type: "text",
8598
8601
  placeholder: A === "es" ? "Buscar endpoint..." : "Search endpoint...",
8599
8602
  value: Q,
8600
- onChange: (B) => K(B.target.value),
8601
- onClick: (B) => B.stopPropagation(),
8603
+ onChange: (l) => K(l.target.value),
8604
+ onClick: (l) => l.stopPropagation(),
8602
8605
  style: {
8603
8606
  width: "100%",
8604
8607
  padding: "8px 8px 8px 32px",
@@ -8611,50 +8614,50 @@ const Hw = (t) => {
8611
8614
  }
8612
8615
  )
8613
8616
  ] }) }),
8614
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fbffa", "data-source-path": "/src/components/ViewGateOverlay.tsx:2242", style: { overflowY: "auto", flex: 1 }, className: "vg-custom-scrollbar", children: [
8617
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fbffa", "data-source-path": "/src/components/ViewGateOverlay.tsx:2245", style: { overflowY: "auto", flex: 1 }, className: "vg-custom-scrollbar", children: [
8615
8618
  /* @__PURE__ */ g.jsx(
8616
8619
  "div",
8617
8620
  {
8618
8621
  "data-vg-id": "17fbffb",
8619
- "data-source-path": "/src/components/ViewGateOverlay.tsx:2243",
8622
+ "data-source-path": "/src/components/ViewGateOverlay.tsx:2246",
8620
8623
  onClick: () => {
8621
8624
  YA(""), Z(!1);
8622
8625
  },
8623
8626
  style: { padding: "10px 12px", fontSize: "13px", cursor: "pointer", borderBottom: "1px solid #f8fafc", color: "#64748b" },
8624
- onMouseEnter: (B) => B.currentTarget.style.background = "#f1f5f9",
8625
- onMouseLeave: (B) => B.currentTarget.style.background = "transparent",
8627
+ onMouseEnter: (l) => l.currentTarget.style.background = "#f1f5f9",
8628
+ onMouseLeave: (l) => l.currentTarget.style.background = "transparent",
8626
8629
  children: e.selectEndpoint
8627
8630
  }
8628
8631
  ),
8629
- Ao.map((B) => /* @__PURE__ */ g.jsxs(
8632
+ Ao.map((l) => /* @__PURE__ */ g.jsxs(
8630
8633
  "div",
8631
8634
  {
8632
8635
  "data-vg-id": "17fc011",
8633
- "data-source-path": "/src/components/ViewGateOverlay.tsx:2252",
8636
+ "data-source-path": "/src/components/ViewGateOverlay.tsx:2255",
8634
8637
  onClick: () => {
8635
- YA(B.path), Z(!1);
8638
+ YA(l.path), Z(!1);
8636
8639
  },
8637
- style: { padding: "10px 12px", fontSize: "13px", cursor: "pointer", borderBottom: "1px solid #f8fafc", background: rA === B.path ? "#eef2ff" : "transparent" },
8638
- onMouseEnter: (y) => y.currentTarget.style.background = rA === B.path ? "#eef2ff" : "#f1f5f9",
8639
- onMouseLeave: (y) => y.currentTarget.style.background = rA === B.path ? "#eef2ff" : "transparent",
8640
+ style: { padding: "10px 12px", fontSize: "13px", cursor: "pointer", borderBottom: "1px solid #f8fafc", background: rA === l.path ? "#eef2ff" : "transparent" },
8641
+ onMouseEnter: (y) => y.currentTarget.style.background = rA === l.path ? "#eef2ff" : "#eceef2",
8642
+ onMouseLeave: (y) => y.currentTarget.style.background = rA === l.path ? "#eef2ff" : "transparent",
8640
8643
  children: [
8641
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc012", "data-source-path": "/src/components/ViewGateOverlay.tsx:2259", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
8642
- /* @__PURE__ */ g.jsx("span", { "data-vg-id": "52d76cde", "data-source-path": "/src/components/ViewGateOverlay.tsx:2260", style: {
8644
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc012", "data-source-path": "/src/components/ViewGateOverlay.tsx:2262", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
8645
+ /* @__PURE__ */ g.jsx("span", { "data-vg-id": "52d76cde", "data-source-path": "/src/components/ViewGateOverlay.tsx:2263", style: {
8643
8646
  fontSize: "10px",
8644
8647
  fontWeight: 800,
8645
8648
  padding: "2px 4px",
8646
8649
  borderRadius: "4px",
8647
- background: B.method === "GET" ? "#dcfce7" : "#fee2e2",
8648
- color: B.method === "GET" ? "#166534" : "#991b1b"
8649
- }, children: B.method }),
8650
- /* @__PURE__ */ g.jsx("span", { "data-vg-id": "52d76cdf", "data-source-path": "/src/components/ViewGateOverlay.tsx:2270", style: { fontWeight: 600, color: "#1e293b" }, children: B.path })
8650
+ background: l.method === "GET" ? "#dcfce7" : "#fee2e2",
8651
+ color: l.method === "GET" ? "#166534" : "#991b1b"
8652
+ }, children: l.method }),
8653
+ /* @__PURE__ */ g.jsx("span", { "data-vg-id": "52d76cdf", "data-source-path": "/src/components/ViewGateOverlay.tsx:2273", style: { fontWeight: 600, color: "#1e293b" }, children: l.path })
8651
8654
  ] }),
8652
- B.description && /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc015", "data-source-path": "/src/components/ViewGateOverlay.tsx:2272", style: { fontSize: "11px", color: "#64748b", marginTop: "2px" }, children: B.description })
8655
+ l.description && /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc015", "data-source-path": "/src/components/ViewGateOverlay.tsx:2275", style: { fontSize: "11px", color: "#64748b", marginTop: "2px" }, children: l.description })
8653
8656
  ]
8654
8657
  },
8655
- B.path
8658
+ l.path
8656
8659
  )),
8657
- Ao.length === 0 && /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc016", "data-source-path": "/src/components/ViewGateOverlay.tsx:2276", style: { padding: "20px", textAlign: "center", color: "#94a3b8", fontSize: "12px" }, children: A === "es" ? "No se encontraron resultados" : "No results found" })
8660
+ Ao.length === 0 && /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc016", "data-source-path": "/src/components/ViewGateOverlay.tsx:2279", style: { padding: "20px", textAlign: "center", color: "#94a3b8", fontSize: "12px" }, children: A === "es" ? "No se encontraron resultados" : "No results found" })
8658
8661
  ] })
8659
8662
  ]
8660
8663
  }
@@ -8662,9 +8665,9 @@ const Hw = (t) => {
8662
8665
  ] })
8663
8666
  ] })
8664
8667
  ] }),
8665
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc017", "data-source-path": "/src/components/ViewGateOverlay.tsx:2289", style: { marginBottom: "24px" }, children: [
8666
- /* @__PURE__ */ g.jsx("label", { "data-vg-id": "18bd4b55", "data-source-path": "/src/components/ViewGateOverlay.tsx:2290", style: { fontSize: "12px", fontWeight: 700, color: "#64748b", marginBottom: "8px", display: "block" }, children: AA ? e.asMember : e.selectMember }),
8667
- AA ? /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc019", "data-source-path": "/src/components/ViewGateOverlay.tsx:2295", style: {
8668
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc017", "data-source-path": "/src/components/ViewGateOverlay.tsx:2292", style: { marginBottom: "24px" }, children: [
8669
+ /* @__PURE__ */ g.jsx("label", { "data-vg-id": "18bd4b55", "data-source-path": "/src/components/ViewGateOverlay.tsx:2293", style: { fontSize: "12px", fontWeight: 700, color: "#64748b", marginBottom: "8px", display: "block" }, children: AA ? e.asMember : e.selectMember }),
8670
+ AA ? /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc019", "data-source-path": "/src/components/ViewGateOverlay.tsx:2298", style: {
8668
8671
  display: "flex",
8669
8672
  alignItems: "center",
8670
8673
  justifyContent: "space-between",
@@ -8673,18 +8676,18 @@ const Hw = (t) => {
8673
8676
  borderRadius: "12px",
8674
8677
  border: "1px solid #e2e8f0"
8675
8678
  }, children: [
8676
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc01a", "data-source-path": "/src/components/ViewGateOverlay.tsx:2304", style: { display: "flex", alignItems: "center", gap: "12px" }, children: [
8677
- AA.avatar ? /* @__PURE__ */ g.jsx("img", { "data-vg-id": "a3987be", "data-source-path": "/src/components/ViewGateOverlay.tsx:2306", src: AA.avatar, style: { width: "32px", height: "32px", borderRadius: "50%" }, alt: "" }) : /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc031", "data-source-path": "/src/components/ViewGateOverlay.tsx:2308", style: { width: "32px", height: "32px", borderRadius: "50%", background: "#6366f1", color: "white", display: "flex", alignItems: "center", justifyContent: "center", fontWeight: 700 }, children: AA.name?.[0] }),
8678
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc032", "data-source-path": "/src/components/ViewGateOverlay.tsx:2312", children: [
8679
- /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc033", "data-source-path": "/src/components/ViewGateOverlay.tsx:2313", style: { fontSize: "14px", fontWeight: 700, color: "#0f172a" }, children: AA.name }),
8680
- /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc034", "data-source-path": "/src/components/ViewGateOverlay.tsx:2314", style: { fontSize: "11px", color: "#64748b" }, children: AA.email })
8679
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc01a", "data-source-path": "/src/components/ViewGateOverlay.tsx:2307", style: { display: "flex", alignItems: "center", gap: "12px" }, children: [
8680
+ AA.avatar ? /* @__PURE__ */ g.jsx("img", { "data-vg-id": "a3987be", "data-source-path": "/src/components/ViewGateOverlay.tsx:2309", src: AA.avatar, style: { width: "32px", height: "32px", borderRadius: "50%" }, alt: "" }) : /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc031", "data-source-path": "/src/components/ViewGateOverlay.tsx:2311", style: { width: "32px", height: "32px", borderRadius: "50%", background: "#6366f1", color: "white", display: "flex", alignItems: "center", justifyContent: "center", fontWeight: 700 }, children: AA.name?.[0] }),
8681
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc032", "data-source-path": "/src/components/ViewGateOverlay.tsx:2315", children: [
8682
+ /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc033", "data-source-path": "/src/components/ViewGateOverlay.tsx:2316", style: { fontSize: "14px", fontWeight: 700, color: "#0f172a" }, children: AA.name }),
8683
+ /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc034", "data-source-path": "/src/components/ViewGateOverlay.tsx:2317", style: { fontSize: "11px", color: "#64748b" }, children: AA.email })
8681
8684
  ] })
8682
8685
  ] }),
8683
8686
  /* @__PURE__ */ g.jsx(
8684
8687
  "button",
8685
8688
  {
8686
8689
  "data-vg-id": "23e21f98",
8687
- "data-source-path": "/src/components/ViewGateOverlay.tsx:2317",
8690
+ "data-source-path": "/src/components/ViewGateOverlay.tsx:2320",
8688
8691
  onClick: () => Xe(null),
8689
8692
  style: {
8690
8693
  background: "none",
@@ -8698,7 +8701,7 @@ const Hw = (t) => {
8698
8701
  children: e.changeMember
8699
8702
  }
8700
8703
  )
8701
- ] }) : /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc036", "data-source-path": "/src/components/ViewGateOverlay.tsx:2327", style: {
8704
+ ] }) : /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc036", "data-source-path": "/src/components/ViewGateOverlay.tsx:2330", style: {
8702
8705
  display: "grid",
8703
8706
  gridTemplateColumns: "repeat(auto-fill, minmax(140px, 1fr))",
8704
8707
  gap: "8px",
@@ -8709,12 +8712,12 @@ const Hw = (t) => {
8709
8712
  borderRadius: "12px",
8710
8713
  border: "1px dotted #cbd5e1"
8711
8714
  }, children: [
8712
- Et.map((B) => /* @__PURE__ */ g.jsxs(
8715
+ Et.map((l) => /* @__PURE__ */ g.jsxs(
8713
8716
  "div",
8714
8717
  {
8715
8718
  "data-vg-id": "17fc037",
8716
- "data-source-path": "/src/components/ViewGateOverlay.tsx:2339",
8717
- onClick: () => hs(B),
8719
+ "data-source-path": "/src/components/ViewGateOverlay.tsx:2342",
8720
+ onClick: () => hs(l),
8718
8721
  style: {
8719
8722
  padding: "8px",
8720
8723
  borderRadius: "10px",
@@ -8733,17 +8736,17 @@ const Hw = (t) => {
8733
8736
  y.currentTarget.style.borderColor = "#e2e8f0", y.currentTarget.style.background = "white";
8734
8737
  },
8735
8738
  children: [
8736
- B.avatar ? /* @__PURE__ */ g.jsx("img", { "data-vg-id": "a3987c6", "data-source-path": "/src/components/ViewGateOverlay.tsx:2357", src: B.avatar, style: { width: "24px", height: "24px", borderRadius: "50%" }, alt: "" }) : /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc039", "data-source-path": "/src/components/ViewGateOverlay.tsx:2359", style: { width: "24px", height: "24px", borderRadius: "50%", background: "#6366f1", color: "white", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "10px" }, children: B.name?.[0] }),
8737
- /* @__PURE__ */ g.jsx("span", { "data-vg-id": "52d76d1a", "data-source-path": "/src/components/ViewGateOverlay.tsx:2363", style: { fontSize: "12px", fontWeight: 600, color: "#1e293b", whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }, children: B.name.split(" ")[0] })
8739
+ l.avatar ? /* @__PURE__ */ g.jsx("img", { "data-vg-id": "a3987c6", "data-source-path": "/src/components/ViewGateOverlay.tsx:2360", src: l.avatar, style: { width: "24px", height: "24px", borderRadius: "50%" }, alt: "" }) : /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc039", "data-source-path": "/src/components/ViewGateOverlay.tsx:2362", style: { width: "24px", height: "24px", borderRadius: "50%", background: "#6366f1", color: "white", display: "flex", alignItems: "center", justifyContent: "center", fontSize: "10px" }, children: l.name?.[0] }),
8740
+ /* @__PURE__ */ g.jsx("span", { "data-vg-id": "52d76d1a", "data-source-path": "/src/components/ViewGateOverlay.tsx:2366", style: { fontSize: "12px", fontWeight: 600, color: "#1e293b", whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }, children: l.name.split(" ")[0] })
8738
8741
  ]
8739
8742
  },
8740
- B.email
8743
+ l.email
8741
8744
  )),
8742
- Et.length === 0 && /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc050", "data-source-path": "/src/components/ViewGateOverlay.tsx:2369", style: { gridColumn: "1 / -1", padding: "20px", textAlign: "center", color: "#64748b", fontSize: "12px" }, children: A === "es" ? "Cargando miembros..." : "Loading members..." })
8745
+ Et.length === 0 && /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc050", "data-source-path": "/src/components/ViewGateOverlay.tsx:2372", style: { gridColumn: "1 / -1", padding: "20px", textAlign: "center", color: "#64748b", fontSize: "12px" }, children: A === "es" ? "Cargando miembros..." : "Loading members..." })
8743
8746
  ] })
8744
8747
  ] })
8745
8748
  ] }),
8746
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc051", "data-source-path": "/src/components/ViewGateOverlay.tsx:2379", style: {
8749
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc051", "data-source-path": "/src/components/ViewGateOverlay.tsx:2382", style: {
8747
8750
  padding: "16px 24px 24px",
8748
8751
  borderTop: "1px solid rgba(0,0,0,0.05)",
8749
8752
  display: "flex",
@@ -8769,15 +8772,15 @@ const Hw = (t) => {
8769
8772
  className: "vg-button-primary",
8770
8773
  disabled: I || !G.trim(),
8771
8774
  style: { flex: 2 },
8772
- children: /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc052", "data-source-path": "/src/components/ViewGateOverlay.tsx:2402", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
8773
- I ? /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc053", "data-source-path": "/src/components/ViewGateOverlay.tsx:2403", className: "vg-spinner", style: { width: "16px", height: "16px", borderWidth: "2px" } }) : /* @__PURE__ */ g.jsx(Fo, { "data-vg-id": "a3fd5c01", "data-source-path": "/src/components/ViewGateOverlay.tsx:2403", size: 18 }),
8774
- /* @__PURE__ */ g.jsx("span", { "data-vg-id": "52d76d20", "data-source-path": "/src/components/ViewGateOverlay.tsx:2404", children: I ? e.submitting : e.sendFeedback || "Send Comment" })
8775
+ children: /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc052", "data-source-path": "/src/components/ViewGateOverlay.tsx:2405", style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
8776
+ I ? /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc053", "data-source-path": "/src/components/ViewGateOverlay.tsx:2406", className: "vg-spinner", style: { width: "16px", height: "16px", borderWidth: "2px" } }) : /* @__PURE__ */ g.jsx(Fo, { "data-vg-id": "a3fd5c01", "data-source-path": "/src/components/ViewGateOverlay.tsx:2406", size: 18 }),
8777
+ /* @__PURE__ */ g.jsx("span", { "data-vg-id": "52d76d20", "data-source-path": "/src/components/ViewGateOverlay.tsx:2407", children: I ? e.submitting : e.sendFeedback || "Send Comment" })
8775
8778
  ] })
8776
8779
  }
8777
8780
  )
8778
8781
  ] })
8779
8782
  ] }) }),
8780
- SA && /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc056", "data-source-path": "/src/components/ViewGateOverlay.tsx:2414", className: "vg-animate-fade", style: {
8783
+ SA && /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc056", "data-source-path": "/src/components/ViewGateOverlay.tsx:2417", className: "vg-animate-fade", style: {
8781
8784
  position: "fixed",
8782
8785
  top: 0,
8783
8786
  left: 0,
@@ -8789,7 +8792,7 @@ const Hw = (t) => {
8789
8792
  alignItems: "center",
8790
8793
  justifyContent: "center",
8791
8794
  zIndex: sn
8792
- }, children: /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc057", "data-source-path": "/src/components/ViewGateOverlay.tsx:2420", className: "vg-glassmorphism vg-animate-slide", style: {
8795
+ }, children: /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc057", "data-source-path": "/src/components/ViewGateOverlay.tsx:2423", className: "vg-glassmorphism vg-animate-slide", style: {
8793
8796
  padding: "32px",
8794
8797
  width: "820px",
8795
8798
  maxHeight: "85vh",
@@ -8797,24 +8800,24 @@ const Hw = (t) => {
8797
8800
  flexDirection: "column",
8798
8801
  transition: "all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"
8799
8802
  }, children: [
8800
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc058", "data-source-path": "/src/components/ViewGateOverlay.tsx:2425", style: { display: "flex", flexDirection: "column", gap: "16px", marginBottom: "24px" }, children: [
8801
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc06e", "data-source-path": "/src/components/ViewGateOverlay.tsx:2426", style: { display: "flex", alignItems: "center", justifyContent: "space-between" }, children: [
8802
- /* @__PURE__ */ g.jsx("h2", { "data-vg-id": "efa6bc3a", "data-source-path": "/src/components/ViewGateOverlay.tsx:2427", style: { margin: 0, fontSize: "20px", fontWeight: 800, color: "#0f172a", whiteSpace: "nowrap" }, children: sA ? e.commentDetails : e.annotations }),
8803
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc070", "data-source-path": "/src/components/ViewGateOverlay.tsx:2430", style: { display: "flex", alignItems: "center", gap: "12px" }, children: [
8804
- AA ? /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc071", "data-source-path": "/src/components/ViewGateOverlay.tsx:2432", style: { display: "flex", alignItems: "center", gap: "8px", padding: "4px 12px", background: "rgba(99, 102, 241, 0.1)", borderRadius: "20px" }, children: [
8805
- AA.avatar ? /* @__PURE__ */ g.jsx("img", { "data-vg-id": "a398800", "data-source-path": "/src/components/ViewGateOverlay.tsx:2434", src: AA.avatar, style: { width: "20px", height: "20px", borderRadius: "50%" }, alt: "" }) : /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc073", "data-source-path": "/src/components/ViewGateOverlay.tsx:2436", style: { width: "20px", height: "20px", borderRadius: "50%", background: "#6366f1", color: "white", fontSize: "10px", display: "flex", alignItems: "center", justifyContent: "center" }, children: AA.name?.[0] }),
8803
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc058", "data-source-path": "/src/components/ViewGateOverlay.tsx:2428", style: { display: "flex", flexDirection: "column", gap: "16px", marginBottom: "24px" }, children: [
8804
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc06e", "data-source-path": "/src/components/ViewGateOverlay.tsx:2429", style: { display: "flex", alignItems: "center", justifyContent: "space-between" }, children: [
8805
+ /* @__PURE__ */ g.jsx("h2", { "data-vg-id": "efa6bc3a", "data-source-path": "/src/components/ViewGateOverlay.tsx:2430", style: { margin: 0, fontSize: "20px", fontWeight: 800, color: "#0f172a", whiteSpace: "nowrap" }, children: sA ? e.commentDetails : e.annotations }),
8806
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc070", "data-source-path": "/src/components/ViewGateOverlay.tsx:2433", style: { display: "flex", alignItems: "center", gap: "12px" }, children: [
8807
+ AA ? /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "17fc071", "data-source-path": "/src/components/ViewGateOverlay.tsx:2435", style: { display: "flex", alignItems: "center", gap: "8px", padding: "4px 12px", background: "rgba(99, 102, 241, 0.1)", borderRadius: "20px" }, children: [
8808
+ AA.avatar ? /* @__PURE__ */ g.jsx("img", { "data-vg-id": "a398800", "data-source-path": "/src/components/ViewGateOverlay.tsx:2437", src: AA.avatar, style: { width: "20px", height: "20px", borderRadius: "50%" }, alt: "" }) : /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc073", "data-source-path": "/src/components/ViewGateOverlay.tsx:2439", style: { width: "20px", height: "20px", borderRadius: "50%", background: "#6366f1", color: "white", fontSize: "10px", display: "flex", alignItems: "center", justifyContent: "center" }, children: AA.name?.[0] }),
8806
8809
  /* @__PURE__ */ g.jsx(
8807
8810
  "span",
8808
8811
  {
8809
8812
  "data-vg-id": "52d76d3f",
8810
- "data-source-path": "/src/components/ViewGateOverlay.tsx:2440",
8813
+ "data-source-path": "/src/components/ViewGateOverlay.tsx:2443",
8811
8814
  style: { fontSize: "12px", fontWeight: 600, color: "#4338ca", cursor: "pointer" },
8812
8815
  onClick: () => Xe(null),
8813
8816
  title: A === "es" ? "Click para cambiar" : "Click to change",
8814
8817
  children: AA.name
8815
8818
  }
8816
8819
  )
8817
- ] }) : /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc075", "data-source-path": "/src/components/ViewGateOverlay.tsx:2449", style: { fontSize: "12px", color: "#64748b", fontWeight: 600 }, children: A === "es" ? "Sin usuario" : "No user selected" }),
8820
+ ] }) : /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc075", "data-source-path": "/src/components/ViewGateOverlay.tsx:2452", style: { fontSize: "12px", color: "#64748b", fontWeight: 600 }, children: A === "es" ? "Sin usuario" : "No user selected" }),
8818
8821
  /* @__PURE__ */ g.jsx(
8819
8822
  "button",
8820
8823
  {
@@ -8823,26 +8826,26 @@ const Hw = (t) => {
8823
8826
  onClick: () => {
8824
8827
  Qe(!1), iA(null), dr(null), p("all");
8825
8828
  },
8826
- children: /* @__PURE__ */ g.jsx(Ds, { "data-vg-id": "ff5f6cf", "data-source-path": "/src/components/ViewGateOverlay.tsx:2458", size: 20 })
8829
+ children: /* @__PURE__ */ g.jsx(Ds, { "data-vg-id": "ff5f6cf", "data-source-path": "/src/components/ViewGateOverlay.tsx:2461", size: 20 })
8827
8830
  }
8828
8831
  )
8829
8832
  ] })
8830
8833
  ] }),
8831
- /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc077", "data-source-path": "/src/components/ViewGateOverlay.tsx:2462", style: { display: "flex", flexDirection: "column", gap: "8px", alignItems: "center", width: "100%" }, children: (() => {
8832
- const B = Array.isArray(GA) ? GA : [], y = sA ? ot.find((L) => L.annotations?.some((dA) => dA._id === sA)) : null, v = (y ? y.annotations : B).filter((L) => L.status !== "completed" && L.status !== "done"), P = v.filter((L) => L.status !== "ready_for_review").length, M = v.filter((L) => L.status === "ready_for_review").length, X = v.length;
8833
- return X <= 0 ? X === 0 ? null : /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782f7a", "data-source-path": "/src/components/ViewGateOverlay.tsx:2476", style: { display: "flex", gap: "8px", opacity: 0.9 }, children: [
8834
- P > 0 && /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782f7b", "data-source-path": "/src/components/ViewGateOverlay.tsx:2478", className: "vg-badge", style: { background: "#fff7ed", color: "#c2410c", border: "1px solid #ffedd5", fontSize: "11px", padding: "2px 8px" }, children: [
8834
+ /* @__PURE__ */ g.jsx("div", { "data-vg-id": "17fc077", "data-source-path": "/src/components/ViewGateOverlay.tsx:2465", style: { display: "flex", flexDirection: "column", gap: "8px", alignItems: "center", width: "100%" }, children: (() => {
8835
+ const l = Array.isArray(GA) ? GA : [], y = sA ? ot.find((L) => L.annotations?.some((dA) => dA._id === sA)) : null, v = (y ? y.annotations : l).filter((L) => L.status !== "completed" && L.status !== "done"), P = v.filter((L) => L.status !== "ready_for_review").length, M = v.filter((L) => L.status === "ready_for_review").length, X = v.length;
8836
+ return X <= 0 ? X === 0 ? null : /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782f7a", "data-source-path": "/src/components/ViewGateOverlay.tsx:2479", style: { display: "flex", gap: "8px", opacity: 0.9 }, children: [
8837
+ P > 0 && /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782f7b", "data-source-path": "/src/components/ViewGateOverlay.tsx:2481", className: "vg-badge", style: { background: "#fff7ed", color: "#c2410c", border: "1px solid #ffedd5", fontSize: "11px", padding: "2px 8px" }, children: [
8835
8838
  P,
8836
8839
  " ",
8837
8840
  P === 1 ? "pendiente" : "pendientes"
8838
8841
  ] }),
8839
- M > 0 && /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782f7c", "data-source-path": "/src/components/ViewGateOverlay.tsx:2483", className: "vg-badge", style: { background: "#f3e8ff", color: "#a855f7", border: "1px solid #e9d5ff", fontSize: "11px", padding: "2px 8px" }, children: [
8842
+ M > 0 && /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782f7c", "data-source-path": "/src/components/ViewGateOverlay.tsx:2486", className: "vg-badge", style: { background: "#f3e8ff", color: "#a855f7", border: "1px solid #e9d5ff", fontSize: "11px", padding: "2px 8px" }, children: [
8840
8843
  M,
8841
8844
  " ",
8842
8845
  A === "es" ? M === 1 ? "Listo para revisión" : "Listos para revisión" : "ready for review"
8843
8846
  ] })
8844
8847
  ] }) : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
8845
- !c && /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782f7d", "data-source-path": "/src/components/ViewGateOverlay.tsx:2494", className: "vg-segmented-control", style: { marginBottom: "4px" }, children: [
8848
+ !c && /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782f7d", "data-source-path": "/src/components/ViewGateOverlay.tsx:2497", className: "vg-segmented-control", style: { marginBottom: "4px" }, children: [
8846
8849
  /* @__PURE__ */ g.jsx(
8847
8850
  "div",
8848
8851
  {
@@ -8895,7 +8898,7 @@ const Hw = (t) => {
8895
8898
  }
8896
8899
  )
8897
8900
  ] }),
8898
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782f7e", "data-source-path": "/src/components/ViewGateOverlay.tsx:2525", style: { display: "flex", gap: "6px", justifyContent: "center", flexWrap: "wrap", marginTop: c ? "0" : "4px" }, children: [
8901
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782f7e", "data-source-path": "/src/components/ViewGateOverlay.tsx:2528", style: { display: "flex", gap: "6px", justifyContent: "center", flexWrap: "wrap", marginTop: c ? "0" : "4px" }, children: [
8899
8902
  /* @__PURE__ */ g.jsxs(
8900
8903
  "button",
8901
8904
  {
@@ -8958,7 +8961,7 @@ const Hw = (t) => {
8958
8961
  {
8959
8962
  style: { flex: 1, overflowY: "auto", paddingRight: "10px", overflowX: "hidden" },
8960
8963
  className: "vg-custom-scrollbar",
8961
- children: We ? /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782f7f", "data-source-path": "/src/components/ViewGateOverlay.tsx:2591", style: { display: "flex", justifyContent: "center", padding: "40px" }, children: /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782f80", "data-source-path": "/src/components/ViewGateOverlay.tsx:2592", className: "vg-spinner" }) }) : ws.map((B, y) => /* @__PURE__ */ g.jsxs(
8964
+ children: We ? /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782f7f", "data-source-path": "/src/components/ViewGateOverlay.tsx:2594", style: { display: "flex", justifyContent: "center", padding: "40px" }, children: /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782f80", "data-source-path": "/src/components/ViewGateOverlay.tsx:2595", className: "vg-spinner" }) }) : ws.map((l, y) => /* @__PURE__ */ g.jsxs(
8962
8965
  "div",
8963
8966
  {
8964
8967
  className: "vg-glassmorphism vg-animate-slide",
@@ -8970,17 +8973,17 @@ const Hw = (t) => {
8970
8973
  animationDelay: `${y * 0.05}s`
8971
8974
  },
8972
8975
  children: [
8973
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782f81", "data-source-path": "/src/components/ViewGateOverlay.tsx:2607", style: { display: "flex", justifyContent: "space-between", marginBottom: "16px", alignItems: "center" }, children: [
8974
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782f82", "data-source-path": "/src/components/ViewGateOverlay.tsx:2608", style: { display: "flex", gap: "12px", alignItems: "center" }, children: [
8975
- /* @__PURE__ */ g.jsx("span", { "data-vg-id": "8161c18", "data-source-path": "/src/components/ViewGateOverlay.tsx:2609", style: { fontSize: "12px", color: "#000000", fontWeight: 600 }, children: Ii(B.timestamp || B.createdAt || B.reference?.timestamp, A) }),
8976
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782f81", "data-source-path": "/src/components/ViewGateOverlay.tsx:2610", style: { display: "flex", justifyContent: "space-between", marginBottom: "16px", alignItems: "center" }, children: [
8977
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782f82", "data-source-path": "/src/components/ViewGateOverlay.tsx:2611", style: { display: "flex", gap: "12px", alignItems: "center" }, children: [
8978
+ /* @__PURE__ */ g.jsx("span", { "data-vg-id": "8161c18", "data-source-path": "/src/components/ViewGateOverlay.tsx:2612", style: { fontSize: "12px", color: "#000000", fontWeight: 600 }, children: Ii(l.timestamp || l.createdAt || l.reference?.timestamp, A) }),
8976
8979
  /* @__PURE__ */ g.jsx(
8977
8980
  "div",
8978
8981
  {
8979
8982
  "data-vg-id": "2e782f99",
8980
- "data-source-path": "/src/components/ViewGateOverlay.tsx:2612",
8983
+ "data-source-path": "/src/components/ViewGateOverlay.tsx:2615",
8981
8984
  onClick: (m) => {
8982
8985
  m.stopPropagation();
8983
- const v = B.key || `VG-${B._id.slice(-6).toUpperCase()}`;
8986
+ const v = l.key || `VG-${l._id.slice(-6).toUpperCase()}`;
8984
8987
  navigator.clipboard.writeText(v);
8985
8988
  const P = m.currentTarget;
8986
8989
  P.innerText = "¡Copiado!", P.style.color = "#22c55e", setTimeout(() => {
@@ -8999,20 +9002,20 @@ const Hw = (t) => {
8999
9002
  transition: "all 0.2s"
9000
9003
  },
9001
9004
  title: A === "es" ? "Click para copiar" : "Click to copy",
9002
- children: B.key || `VG-${B._id.slice(-6).toUpperCase()}`
9005
+ children: l.key || `VG-${l._id.slice(-6).toUpperCase()}`
9003
9006
  }
9004
9007
  ),
9005
- B.reference?.metadata?.isModal && /* @__PURE__ */ g.jsx("span", { "data-vg-id": "8161c2f", "data-source-path": "/src/components/ViewGateOverlay.tsx:2641", className: "vg-badge", style: {
9008
+ l.reference?.metadata?.isModal && /* @__PURE__ */ g.jsx("span", { "data-vg-id": "8161c2f", "data-source-path": "/src/components/ViewGateOverlay.tsx:2644", className: "vg-badge", style: {
9006
9009
  fontSize: "10px",
9007
- background: c ? "#f1f5f9" : B.status === "completed" || B.status === "done" ? "#ecfdf5" : B.status === "ready_for_review" ? "#f3e8ff" : "#fef3c7",
9008
- color: c ? "#64748b" : B.status === "completed" || B.status === "done" ? "#059669" : B.status === "ready_for_review" ? "#a855f7" : "#92400e",
9010
+ background: c ? "#f1f5f9" : l.status === "completed" || l.status === "done" ? "#ecfdf5" : l.status === "ready_for_review" ? "#f3e8ff" : "#fef3c7",
9011
+ color: c ? "#64748b" : l.status === "completed" || l.status === "done" ? "#059669" : l.status === "ready_for_review" ? "#a855f7" : "#92400e",
9009
9012
  border: "none",
9010
9013
  padding: "2px 6px"
9011
9014
  }, children: "MODAL" }),
9012
- B.url && /* @__PURE__ */ g.jsx(
9015
+ l.url && /* @__PURE__ */ g.jsx(
9013
9016
  Si,
9014
9017
  {
9015
- url: B.url,
9018
+ url: l.url,
9016
9019
  onHover: $n,
9017
9020
  style: {
9018
9021
  display: "flex",
@@ -9029,28 +9032,28 @@ const Hw = (t) => {
9029
9032
  }
9030
9033
  )
9031
9034
  ] }),
9032
- B.status === "completed" ? /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161c30", "data-source-path": "/src/components/ViewGateOverlay.tsx:2669", className: "vg-badge", style: { backgroundColor: "#ecfdf5", color: "#059669", border: "1px solid #d1fae5" }, children: [
9033
- /* @__PURE__ */ g.jsx(Le, { "data-vg-id": "a75c1a41", "data-source-path": "/src/components/ViewGateOverlay.tsx:2670", size: 14 }),
9035
+ l.status === "completed" ? /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161c30", "data-source-path": "/src/components/ViewGateOverlay.tsx:2672", className: "vg-badge", style: { backgroundColor: "#ecfdf5", color: "#059669", border: "1px solid #d1fae5" }, children: [
9036
+ /* @__PURE__ */ g.jsx(Le, { "data-vg-id": "a75c1a41", "data-source-path": "/src/components/ViewGateOverlay.tsx:2673", size: 14 }),
9034
9037
  " ",
9035
9038
  e.completed || (A === "es" ? "Listo para revisión" : "Ready for Review")
9036
- ] }) : B.status === "ready_for_review" ? /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161c32", "data-source-path": "/src/components/ViewGateOverlay.tsx:2673", className: "vg-badge", style: { backgroundColor: "#f3e8ff", color: "#a855f7", border: "1px solid #e9d5ff" }, children: [
9037
- /* @__PURE__ */ g.jsx(Le, { "data-vg-id": "a75c1a43", "data-source-path": "/src/components/ViewGateOverlay.tsx:2674", size: 14 }),
9039
+ ] }) : l.status === "ready_for_review" ? /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161c32", "data-source-path": "/src/components/ViewGateOverlay.tsx:2676", className: "vg-badge", style: { backgroundColor: "#f3e8ff", color: "#a855f7", border: "1px solid #e9d5ff" }, children: [
9040
+ /* @__PURE__ */ g.jsx(Le, { "data-vg-id": "a75c1a43", "data-source-path": "/src/components/ViewGateOverlay.tsx:2677", size: 14 }),
9038
9041
  " ",
9039
9042
  e.readyForReview
9040
- ] }) : B.status === "bug_fixing" ? /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161c34", "data-source-path": "/src/components/ViewGateOverlay.tsx:2677", className: "vg-badge", style: { backgroundColor: "#fff1f2", color: "#e11d48", border: "1px solid #ffe4e6" }, children: [
9041
- /* @__PURE__ */ g.jsx(Tt, { "data-vg-id": "3b8b17e3", "data-source-path": "/src/components/ViewGateOverlay.tsx:2678", size: 14 }),
9043
+ ] }) : l.status === "bug_fixing" ? /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161c34", "data-source-path": "/src/components/ViewGateOverlay.tsx:2680", className: "vg-badge", style: { backgroundColor: "#fff1f2", color: "#e11d48", border: "1px solid #ffe4e6" }, children: [
9044
+ /* @__PURE__ */ g.jsx(Tt, { "data-vg-id": "3b8b17e3", "data-source-path": "/src/components/ViewGateOverlay.tsx:2681", size: 14 }),
9042
9045
  " ",
9043
9046
  "Bug Fixing"
9044
- ] }) : /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161c36", "data-source-path": "/src/components/ViewGateOverlay.tsx:2681", className: "vg-badge", style: {
9045
- backgroundColor: c || B.status === "backlog" ? "#f1f5f9" : "#fff7ed",
9046
- color: c || B.status === "backlog" ? "#64748b" : "#ea580c",
9047
- border: c || B.status === "backlog" ? "1px solid #e2e8f0" : "1px solid #ffedd5"
9047
+ ] }) : /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161c36", "data-source-path": "/src/components/ViewGateOverlay.tsx:2684", className: "vg-badge", style: {
9048
+ backgroundColor: c || l.status === "backlog" ? "#f1f5f9" : "#fff7ed",
9049
+ color: c || l.status === "backlog" ? "#64748b" : "#ea580c",
9050
+ border: c || l.status === "backlog" ? "1px solid #e2e8f0" : "1px solid #ffedd5"
9048
9051
  }, children: [
9049
- /* @__PURE__ */ g.jsx(mo, { "data-vg-id": "62dc6bff", "data-source-path": "/src/components/ViewGateOverlay.tsx:2686", size: 14 }),
9050
- c || B.status === "backlog" ? e.backlog : e.pending
9052
+ /* @__PURE__ */ g.jsx(mo, { "data-vg-id": "62dc6bff", "data-source-path": "/src/components/ViewGateOverlay.tsx:2689", size: 14 }),
9053
+ c || l.status === "backlog" ? e.backlog : e.pending
9051
9054
  ] })
9052
9055
  ] }),
9053
- (B.screenshot || B.reference?.previewUrl) && /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782fb8", "data-source-path": "/src/components/ViewGateOverlay.tsx:2693", style: {
9056
+ (l.screenshot || l.reference?.previewUrl) && /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782fb8", "data-source-path": "/src/components/ViewGateOverlay.tsx:2696", style: {
9054
9057
  margin: "0 0 20px 0",
9055
9058
  borderRadius: "8px",
9056
9059
  overflow: "hidden",
@@ -9066,8 +9069,8 @@ const Hw = (t) => {
9066
9069
  "img",
9067
9070
  {
9068
9071
  "data-vg-id": "3cf759eb",
9069
- "data-source-path": "/src/components/ViewGateOverlay.tsx:2705",
9070
- src: B.screenshot || B.reference?.previewUrl,
9072
+ "data-source-path": "/src/components/ViewGateOverlay.tsx:2708",
9073
+ src: l.screenshot || l.reference?.previewUrl,
9071
9074
  alt: "Visual Preview",
9072
9075
  style: {
9073
9076
  maxWidth: "100%",
@@ -9077,7 +9080,7 @@ const Hw = (t) => {
9077
9080
  }
9078
9081
  }
9079
9082
  ) }),
9080
- ps === B._id ? /* @__PURE__ */ g.jsx(
9083
+ ps === l._id ? /* @__PURE__ */ g.jsx(
9081
9084
  "textarea",
9082
9085
  {
9083
9086
  className: "vg-textarea",
@@ -9087,36 +9090,36 @@ const Hw = (t) => {
9087
9090
  autoFocus: !0,
9088
9091
  style: { marginBottom: "16px", minHeight: "80px" }
9089
9092
  }
9090
- ) : /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782fba", "data-source-path": "/src/components/ViewGateOverlay.tsx:2728", style: { marginBottom: "20px" }, children: [
9091
- /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782fbb", "data-source-path": "/src/components/ViewGateOverlay.tsx:2729", style: { display: "flex", alignItems: "center", gap: "8px", marginBottom: "8px" }, children: /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782fbc", "data-source-path": "/src/components/ViewGateOverlay.tsx:2730", style: {
9093
+ ) : /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782fba", "data-source-path": "/src/components/ViewGateOverlay.tsx:2731", style: { marginBottom: "20px" }, children: [
9094
+ /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782fbb", "data-source-path": "/src/components/ViewGateOverlay.tsx:2732", style: { display: "flex", alignItems: "center", gap: "8px", marginBottom: "8px" }, children: /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782fbc", "data-source-path": "/src/components/ViewGateOverlay.tsx:2733", style: {
9092
9095
  fontSize: "10px",
9093
9096
  fontWeight: 800,
9094
- color: B.priority === "low" ? "#059669" : B.priority === "urgent" ? "#b91c1c" : B.priority === "high" ? "#b45309" : "#4338ca",
9095
- backgroundColor: B.priority === "low" ? "#ecfdf5" : B.priority === "urgent" ? "#fef2f2" : B.priority === "high" ? "#fffbeb" : "#eef2ff",
9097
+ color: l.priority === "low" ? "#059669" : l.priority === "urgent" ? "#b91c1c" : l.priority === "high" ? "#b45309" : "#4338ca",
9098
+ backgroundColor: l.priority === "low" ? "#ecfdf5" : l.priority === "urgent" ? "#fef2f2" : l.priority === "high" ? "#fffbeb" : "#eef2ff",
9096
9099
  padding: "4px 10px",
9097
9100
  borderRadius: "6px",
9098
9101
  letterSpacing: "0.5px",
9099
9102
  border: "1px solid",
9100
- borderColor: B.priority === "low" ? "#d1fae5" : B.priority === "urgent" ? "#fee2e2" : B.priority === "high" ? "#fef3c7" : "#e0e7ff"
9103
+ borderColor: l.priority === "low" ? "#d1fae5" : l.priority === "urgent" ? "#fee2e2" : l.priority === "high" ? "#fef3c7" : "#e0e7ff"
9101
9104
  }, children: [
9102
9105
  e.priority,
9103
9106
  ": ",
9104
- e[B.priority || "medium"]
9107
+ e[l.priority || "medium"]
9105
9108
  ] }) }),
9106
- /* @__PURE__ */ g.jsx("p", { "data-vg-id": "f01af89c", "data-source-path": "/src/components/ViewGateOverlay.tsx:2744", className: "vg-text-wrap", style: { margin: "0", fontSize: "16px", color: "#1e293b", lineHeight: 1.6 }, children: B.message })
9109
+ /* @__PURE__ */ g.jsx("p", { "data-vg-id": "f01af89c", "data-source-path": "/src/components/ViewGateOverlay.tsx:2747", className: "vg-text-wrap", style: { margin: "0", fontSize: "16px", color: "#1e293b", lineHeight: 1.6 }, children: l.message })
9107
9110
  ] }),
9108
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782fbe", "data-source-path": "/src/components/ViewGateOverlay.tsx:2748", style: { display: "flex", justifyContent: "flex-end", alignItems: "center", gap: "12px", borderTop: "1px solid #f1f5f9", paddingTop: "16px" }, children: [
9109
- /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782fbf", "data-source-path": "/src/components/ViewGateOverlay.tsx:2750", style: { display: "flex", gap: "6px" }, children: ps !== B._id && /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
9111
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782fbe", "data-source-path": "/src/components/ViewGateOverlay.tsx:2751", style: { display: "flex", justifyContent: "flex-end", alignItems: "center", gap: "12px", borderTop: "1px solid #f1f5f9", paddingTop: "16px" }, children: [
9112
+ /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782fbf", "data-source-path": "/src/components/ViewGateOverlay.tsx:2753", style: { display: "flex", gap: "6px" }, children: ps !== l._id && /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
9110
9113
  /* @__PURE__ */ g.jsx(
9111
9114
  "button",
9112
9115
  {
9113
9116
  className: "vg-button-ghost vg-animate-pop",
9114
9117
  style: { padding: "8px", minWidth: "36px" },
9115
9118
  onClick: () => {
9116
- Qs(B._id), ro(B.message), U(B.priority || "medium");
9119
+ Qs(l._id), ro(l.message), U(l.priority || "medium");
9117
9120
  },
9118
9121
  title: e.edit,
9119
- children: /* @__PURE__ */ g.jsx(Uo, { "data-vg-id": "ea069938", "data-source-path": "/src/components/ViewGateOverlay.tsx:2763", size: 16 })
9122
+ children: /* @__PURE__ */ g.jsx(Uo, { "data-vg-id": "ea069938", "data-source-path": "/src/components/ViewGateOverlay.tsx:2766", size: 16 })
9120
9123
  }
9121
9124
  ),
9122
9125
  /* @__PURE__ */ g.jsx(
@@ -9131,7 +9134,7 @@ const Hw = (t) => {
9131
9134
  type: "danger",
9132
9135
  onConfirm: async () => {
9133
9136
  try {
9134
- (await fetch(`${s}/api/annotations/${B._id}`, {
9137
+ (await fetch(`${s}/api/annotations/${l._id}`, {
9135
9138
  method: "DELETE",
9136
9139
  headers: { "x-api-key": r }
9137
9140
  })).ok && (nt(), t(e.deleteSuccess, "success"));
@@ -9144,11 +9147,11 @@ const Hw = (t) => {
9144
9147
  });
9145
9148
  },
9146
9149
  title: A === "es" ? "Eliminar" : "Delete",
9147
- children: /* @__PURE__ */ g.jsx(xo, { "data-vg-id": "45b441a6", "data-source-path": "/src/components/ViewGateOverlay.tsx:2793", size: 16 })
9150
+ children: /* @__PURE__ */ g.jsx(xo, { "data-vg-id": "45b441a6", "data-source-path": "/src/components/ViewGateOverlay.tsx:2796", size: 16 })
9148
9151
  }
9149
9152
  )
9150
9153
  ] }) }),
9151
- /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782fd7", "data-source-path": "/src/components/ViewGateOverlay.tsx:2800", style: { display: "flex", gap: "8px" }, children: ps === B._id ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
9154
+ /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782fd7", "data-source-path": "/src/components/ViewGateOverlay.tsx:2803", style: { display: "flex", gap: "8px" }, children: ps === l._id ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
9152
9155
  /* @__PURE__ */ g.jsx(
9153
9156
  "button",
9154
9157
  {
@@ -9156,8 +9159,8 @@ const Hw = (t) => {
9156
9159
  style: { padding: "8px 16px", fontSize: "13px" },
9157
9160
  onClick: async () => {
9158
9161
  try {
9159
- const m = B.status === "ready_for_review" ? B.originalStatus || (B.screenshot ? "bug_fixing" : "pending") : B.status, v = B.type === "bug" || B.originalStatus === "bug_fixing" || B.status === "bug_fixing";
9160
- (await fetch(`${s}/api/annotations/${B._id}`, {
9162
+ const m = l.status === "ready_for_review" ? l.originalStatus || (l.screenshot ? "bug_fixing" : "pending") : l.status, v = l.type === "bug" || l.originalStatus === "bug_fixing" || l.status === "bug_fixing";
9163
+ (await fetch(`${s}/api/annotations/${l._id}`, {
9161
9164
  method: "PATCH",
9162
9165
  headers: { "Content-Type": "application/json", "x-api-key": r },
9163
9166
  body: JSON.stringify({
@@ -9174,7 +9177,7 @@ const Hw = (t) => {
9174
9177
  children: e.save
9175
9178
  }
9176
9179
  ),
9177
- /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782fd8", "data-source-path": "/src/components/ViewGateOverlay.tsx:2833", style: { display: "flex", gap: "4px", marginLeft: "12px" }, children: ["low", "medium", "high", "urgent"].map((m) => /* @__PURE__ */ g.jsx(
9180
+ /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782fd8", "data-source-path": "/src/components/ViewGateOverlay.tsx:2836", style: { display: "flex", gap: "4px", marginLeft: "12px" }, children: ["low", "medium", "high", "urgent"].map((m) => /* @__PURE__ */ g.jsx(
9178
9181
  "button",
9179
9182
  {
9180
9183
  onClick: () => U(m),
@@ -9195,9 +9198,9 @@ const Hw = (t) => {
9195
9198
  },
9196
9199
  m
9197
9200
  )) }),
9198
- /* @__PURE__ */ g.jsx("button", { "data-vg-id": "5861bcd6", "data-source-path": "/src/components/ViewGateOverlay.tsx:2856", className: "vg-button-ghost vg-animate-pop", style: { padding: "8px 16px", fontSize: "13px", marginLeft: "auto" }, onClick: () => Qs(null), children: e.cancel })
9201
+ /* @__PURE__ */ g.jsx("button", { "data-vg-id": "5861bcd6", "data-source-path": "/src/components/ViewGateOverlay.tsx:2859", className: "vg-button-ghost vg-animate-pop", style: { padding: "8px 16px", fontSize: "13px", marginLeft: "auto" }, onClick: () => Qs(null), children: e.cancel })
9199
9202
  ] }) : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
9200
- !c && (B.status === "pending" || !["ready_for_review", "completed", "done"].includes(B.status || "")) && /* @__PURE__ */ g.jsxs(
9203
+ !c && (l.status === "pending" || !["ready_for_review", "completed", "done"].includes(l.status || "")) && /* @__PURE__ */ g.jsxs(
9201
9204
  "button",
9202
9205
  {
9203
9206
  className: "vg-button-primary vg-animate-pop",
@@ -9209,7 +9212,7 @@ const Hw = (t) => {
9209
9212
  type: "success",
9210
9213
  onConfirm: async () => {
9211
9214
  try {
9212
- (await fetch(`${s}/api/annotations/${B._id}`, {
9215
+ (await fetch(`${s}/api/annotations/${l._id}`, {
9213
9216
  method: "PATCH",
9214
9217
  headers: { "Content-Type": "application/json", "x-api-key": r },
9215
9218
  body: JSON.stringify({ status: "ready_for_review" })
@@ -9223,13 +9226,13 @@ const Hw = (t) => {
9223
9226
  });
9224
9227
  },
9225
9228
  children: [
9226
- /* @__PURE__ */ g.jsx(Fo, { "data-vg-id": "dbae09cd", "data-source-path": "/src/components/ViewGateOverlay.tsx:2889", size: 14 }),
9229
+ /* @__PURE__ */ g.jsx(Fo, { "data-vg-id": "dbae09cd", "data-source-path": "/src/components/ViewGateOverlay.tsx:2892", size: 14 }),
9227
9230
  " ",
9228
9231
  e.markReady
9229
9232
  ]
9230
9233
  }
9231
9234
  ),
9232
- !c && B.status === "ready_for_review" && /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782fdb", "data-source-path": "/src/components/ViewGateOverlay.tsx:2893", style: { display: "flex", gap: "8px" }, children: [
9235
+ !c && l.status === "ready_for_review" && /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782fdb", "data-source-path": "/src/components/ViewGateOverlay.tsx:2896", style: { display: "flex", gap: "8px" }, children: [
9233
9236
  /* @__PURE__ */ g.jsxs(
9234
9237
  "button",
9235
9238
  {
@@ -9243,8 +9246,8 @@ const Hw = (t) => {
9243
9246
  showInput: !0,
9244
9247
  onConfirm: async (m) => {
9245
9248
  try {
9246
- const v = B.originalStatus || (B.screenshot ? "bug_fixing" : "pending"), P = B.type === "bug" || B.originalStatus === "bug_fixing" || B.status === "bug_fixing";
9247
- (await fetch(`${s}/api/annotations/${B._id}`, {
9249
+ const v = l.originalStatus || (l.screenshot ? "bug_fixing" : "pending"), P = l.type === "bug" || l.originalStatus === "bug_fixing" || l.status === "bug_fixing";
9250
+ (await fetch(`${s}/api/annotations/${l._id}`, {
9248
9251
  method: "PATCH",
9249
9252
  headers: { "Content-Type": "application/json", "x-api-key": r },
9250
9253
  body: JSON.stringify({
@@ -9262,7 +9265,7 @@ const Hw = (t) => {
9262
9265
  });
9263
9266
  },
9264
9267
  children: [
9265
- /* @__PURE__ */ g.jsx(El, { "data-vg-id": "51a0f8e7", "data-source-path": "/src/components/ViewGateOverlay.tsx:2930", size: 14 }),
9268
+ /* @__PURE__ */ g.jsx(El, { "data-vg-id": "51a0f8e7", "data-source-path": "/src/components/ViewGateOverlay.tsx:2933", size: 14 }),
9266
9269
  " ",
9267
9270
  e.reopen
9268
9271
  ]
@@ -9280,7 +9283,7 @@ const Hw = (t) => {
9280
9283
  type: "success",
9281
9284
  onConfirm: async () => {
9282
9285
  try {
9283
- (await fetch(`${s}/api/annotations/${B._id}`, {
9286
+ (await fetch(`${s}/api/annotations/${l._id}`, {
9284
9287
  method: "PATCH",
9285
9288
  headers: { "Content-Type": "application/json", "x-api-key": r },
9286
9289
  body: JSON.stringify({ status: "completed" })
@@ -9294,7 +9297,7 @@ const Hw = (t) => {
9294
9297
  });
9295
9298
  },
9296
9299
  children: [
9297
- /* @__PURE__ */ g.jsx(Le, { "data-vg-id": "a75c1a82", "data-source-path": "/src/components/ViewGateOverlay.tsx:2960", size: 14 }),
9300
+ /* @__PURE__ */ g.jsx(Le, { "data-vg-id": "a75c1a82", "data-source-path": "/src/components/ViewGateOverlay.tsx:2963", size: 14 }),
9298
9301
  " ",
9299
9302
  e.completed
9300
9303
  ]
@@ -9305,13 +9308,13 @@ const Hw = (t) => {
9305
9308
  ] })
9306
9309
  ]
9307
9310
  },
9308
- B._id
9311
+ l._id
9309
9312
  ))
9310
9313
  },
9311
9314
  sA || "all"
9312
9315
  )
9313
9316
  ] }) }),
9314
- xA && /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782fde", "data-source-path": "/src/components/ViewGateOverlay.tsx:2979", className: "vg-animate-fade", style: {
9317
+ xA && /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782fde", "data-source-path": "/src/components/ViewGateOverlay.tsx:2982", className: "vg-animate-fade", style: {
9315
9318
  position: "fixed",
9316
9319
  top: 0,
9317
9320
  left: 0,
@@ -9323,14 +9326,14 @@ const Hw = (t) => {
9323
9326
  alignItems: "center",
9324
9327
  justifyContent: "center",
9325
9328
  zIndex: sn + 100
9326
- }, children: /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782fdf", "data-source-path": "/src/components/ViewGateOverlay.tsx:2984", className: "vg-glassmorphism vg-animate-slide", style: {
9329
+ }, children: /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782fdf", "data-source-path": "/src/components/ViewGateOverlay.tsx:2987", className: "vg-glassmorphism vg-animate-slide", style: {
9327
9330
  padding: "40px",
9328
9331
  width: "420px",
9329
9332
  textAlign: "center",
9330
9333
  border: "1px solid rgba(255, 255, 255, 0.1)",
9331
9334
  boxShadow: "0 25px 50px -12px rgba(0, 0, 0, 0.5)"
9332
9335
  }, children: [
9333
- /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782fe0", "data-source-path": "/src/components/ViewGateOverlay.tsx:2991", style: {
9336
+ /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e782fe0", "data-source-path": "/src/components/ViewGateOverlay.tsx:2994", style: {
9334
9337
  width: "64px",
9335
9338
  height: "64px",
9336
9339
  background: xA.type === "danger" ? "rgba(239, 68, 68, 0.1)" : "rgba(99, 102, 241, 0.1)",
@@ -9341,22 +9344,22 @@ const Hw = (t) => {
9341
9344
  margin: "0 auto 24px",
9342
9345
  color: xA.type === "danger" ? "#ef4444" : "#6366f1",
9343
9346
  transform: "rotate(-5deg)"
9344
- }, children: xA.type === "danger" ? /* @__PURE__ */ g.jsx(xo, { "data-vg-id": "45b441db", "data-source-path": "/src/components/ViewGateOverlay.tsx:3000", size: 32 }) : /* @__PURE__ */ g.jsx(Le, { "data-vg-id": "a75c1a9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3000", size: 32 }) }),
9345
- /* @__PURE__ */ g.jsx("h3", { "data-vg-id": "53ec50e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3002", style: { margin: "0 0 12px 0", fontSize: "20px", fontWeight: 800, color: "#000000", letterSpacing: "-0.02em" }, children: xA.title }),
9346
- /* @__PURE__ */ g.jsx("p", { "data-vg-id": "f01af8d8", "data-source-path": "/src/components/ViewGateOverlay.tsx:3003", style: { margin: "0 0 24px 0", fontSize: "15px", color: "#000000", lineHeight: 1.6 }, children: xA.message }),
9347
+ }, children: xA.type === "danger" ? /* @__PURE__ */ g.jsx(xo, { "data-vg-id": "45b441db", "data-source-path": "/src/components/ViewGateOverlay.tsx:3003", size: 32 }) : /* @__PURE__ */ g.jsx(Le, { "data-vg-id": "a75c1a9c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3003", size: 32 }) }),
9348
+ /* @__PURE__ */ g.jsx("h3", { "data-vg-id": "53ec50e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3005", style: { margin: "0 0 12px 0", fontSize: "20px", fontWeight: 800, color: "#000000", letterSpacing: "-0.02em" }, children: xA.title }),
9349
+ /* @__PURE__ */ g.jsx("p", { "data-vg-id": "f01af8d8", "data-source-path": "/src/components/ViewGateOverlay.tsx:3006", style: { margin: "0 0 24px 0", fontSize: "15px", color: "#000000", lineHeight: 1.6 }, children: xA.message }),
9347
9350
  xA.showInput && /* @__PURE__ */ g.jsx(
9348
9351
  "textarea",
9349
9352
  {
9350
9353
  className: "vg-textarea",
9351
9354
  placeholder: e.reopenPlaceholder,
9352
9355
  value: rt,
9353
- onChange: (B) => z(B.target.value),
9356
+ onChange: (l) => z(l.target.value),
9354
9357
  rows: 3,
9355
9358
  autoFocus: !0,
9356
9359
  style: { marginBottom: "24px", minHeight: "80px", textAlign: "left" }
9357
9360
  }
9358
9361
  ),
9359
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782ffa", "data-source-path": "/src/components/ViewGateOverlay.tsx:3017", style: { display: "flex", gap: "16px" }, children: [
9362
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782ffa", "data-source-path": "/src/components/ViewGateOverlay.tsx:3020", style: { display: "flex", gap: "16px" }, children: [
9360
9363
  /* @__PURE__ */ g.jsx(
9361
9364
  "button",
9362
9365
  {
@@ -9388,19 +9391,19 @@ const Hw = (t) => {
9388
9391
  Se(!0);
9389
9392
  try {
9390
9393
  await xA.onConfirm(rt);
9391
- } catch (B) {
9392
- console.error("Confirmation error:", B);
9394
+ } catch (l) {
9395
+ console.error("Confirmation error:", l);
9393
9396
  } finally {
9394
9397
  Se(!1);
9395
9398
  }
9396
9399
  },
9397
- children: LA ? /* @__PURE__ */ g.jsx(Cl, { "data-vg-id": "a4b735c9", "data-source-path": "/src/components/ViewGateOverlay.tsx:3053", size: 18, className: "vg-animate-spin" }) : e.yes
9400
+ children: LA ? /* @__PURE__ */ g.jsx(Cl, { "data-vg-id": "a4b735c9", "data-source-path": "/src/components/ViewGateOverlay.tsx:3056", size: 18, className: "vg-animate-spin" }) : e.yes
9398
9401
  }
9399
9402
  )
9400
9403
  ] })
9401
9404
  ] }) }),
9402
- !SA && !d && ot.map((B, y) => {
9403
- const { rect: m, annotations: v, isModal: P } = B, M = v[0], X = v.length, L = v.some((H) => H.status === "ready_for_review"), dA = v.some((H) => H.status === "completed" || H.status === "done"), XA = v.some((H) => H.status !== "ready_for_review" && H.status !== "completed" && H.status !== "done"), W = dA && !L && !XA, VA = L && !XA && !dA, me = (L || dA) && !XA, uA = (L || dA) && XA, fA = v.filter((H) => H.status !== "ready_for_review" && H.status !== "completed" && H.status !== "done").length, QA = v.filter((H) => H.status === "ready_for_review").length, bA = v.filter((H) => H.status === "completed" || H.status === "done").length, _ = v.some((H) => H.status === "bug_fixing" || H.type === "bug" || H.originalStatus === "bug_fixing"), eA = _ && !VA && !W ? "#f43f5e" : fA > 0 ? c ? "#64748b" : "#ea580c" : QA > 0 ? "#a855f7" : "#10b981", HA = ot.some((H) => H.element === B.element && H.isTriggerPin), Ue = ot.some((H) => H.element === B.element && !H.isTriggerPin), ne = HA && Ue ? B.isTriggerPin ? -18 : 18 : 0, Fe = m.top === 0 && m.left === 0 && m.width > window.innerWidth * 0.9;
9405
+ !SA && !d && ot.map((l, y) => {
9406
+ const { rect: m, annotations: v, isModal: P } = l, M = v[0], X = v.length, L = v.some((H) => H.status === "ready_for_review"), dA = v.some((H) => H.status === "completed" || H.status === "done"), XA = v.some((H) => H.status !== "ready_for_review" && H.status !== "completed" && H.status !== "done"), W = dA && !L && !XA, VA = L && !XA && !dA, me = (L || dA) && !XA, uA = (L || dA) && XA, fA = v.filter((H) => H.status !== "ready_for_review" && H.status !== "completed" && H.status !== "done").length, QA = v.filter((H) => H.status === "ready_for_review").length, bA = v.filter((H) => H.status === "completed" || H.status === "done").length, _ = v.some((H) => H.status === "bug_fixing" || H.type === "bug" || H.originalStatus === "bug_fixing"), eA = _ && !VA && !W ? "#f43f5e" : fA > 0 ? c ? "#64748b" : "#ea580c" : QA > 0 ? "#a855f7" : "#10b981", HA = ot.some((H) => H.element === l.element && H.isTriggerPin), Ue = ot.some((H) => H.element === l.element && !H.isTriggerPin), ne = HA && Ue ? l.isTriggerPin ? -18 : 18 : 0, Fe = m.top === 0 && m.left === 0 && m.width > window.innerWidth * 0.9;
9404
9407
  return /* @__PURE__ */ g.jsxs(
9405
9408
  "div",
9406
9409
  {
@@ -9417,7 +9420,7 @@ const Hw = (t) => {
9417
9420
  },
9418
9421
  onMouseEnter: (H) => {
9419
9422
  const oe = H.currentTarget.getBoundingClientRect(), It = window.innerHeight - oe.bottom, lc = oe.top;
9420
- It < 250 && lc > It ? $A((ys) => ({ ...ys, [B.id]: "vg-top" })) : $A((ys) => ({ ...ys, [B.id]: "" }));
9423
+ It < 250 && lc > It ? $A((ys) => ({ ...ys, [l.id]: "vg-top" })) : $A((ys) => ({ ...ys, [l.id]: "" }));
9421
9424
  },
9422
9425
  onWheel: (H) => {
9423
9426
  const oe = H.currentTarget.querySelector(".vg-tooltip-scroll");
@@ -9427,12 +9430,12 @@ const Hw = (t) => {
9427
9430
  Qe(!0), iA(M._id);
9428
9431
  },
9429
9432
  children: [
9430
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782ffc", "data-source-path": "/src/components/ViewGateOverlay.tsx:3128", className: `vg-pin-tooltip ${oA[B.id] || ""} ${Fe || m.left < 160 ? "vg-tooltip-right" : m.left > window.innerWidth - 160 ? "vg-tooltip-left" : ""}`, style: { padding: "16px" }, children: [
9431
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782ffd", "data-source-path": "/src/components/ViewGateOverlay.tsx:3129", style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: "12px" }, children: [
9432
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782ffe", "data-source-path": "/src/components/ViewGateOverlay.tsx:3130", style: { display: "flex", alignItems: "center", gap: "8px", flexWrap: "wrap" }, children: [
9433
- B.isTriggerPin ? /* @__PURE__ */ g.jsx(Ks, { "data-vg-id": "d8816164", "data-source-path": "/src/components/ViewGateOverlay.tsx:3132", size: 14, color: eA }) : /* @__PURE__ */ g.jsx(pr, { "data-vg-id": "7fe1768", "data-source-path": "/src/components/ViewGateOverlay.tsx:3134", size: 14, color: eA }),
9434
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e783016", "data-source-path": "/src/components/ViewGateOverlay.tsx:3136", style: { display: "flex", gap: "4px" }, children: [
9435
- fA > 0 && /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161cac", "data-source-path": "/src/components/ViewGateOverlay.tsx:3138", className: "vg-badge", style: {
9433
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782ffc", "data-source-path": "/src/components/ViewGateOverlay.tsx:3131", className: `vg-pin-tooltip ${oA[l.id] || ""} ${Fe || m.left < 160 ? "vg-tooltip-right" : m.left > window.innerWidth - 160 ? "vg-tooltip-left" : ""}`, style: { padding: "16px" }, children: [
9434
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782ffd", "data-source-path": "/src/components/ViewGateOverlay.tsx:3132", style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: "12px" }, children: [
9435
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e782ffe", "data-source-path": "/src/components/ViewGateOverlay.tsx:3133", style: { display: "flex", alignItems: "center", gap: "8px", flexWrap: "wrap" }, children: [
9436
+ l.isTriggerPin ? /* @__PURE__ */ g.jsx(Ks, { "data-vg-id": "d8816164", "data-source-path": "/src/components/ViewGateOverlay.tsx:3135", size: 14, color: eA }) : /* @__PURE__ */ g.jsx(pr, { "data-vg-id": "7fe1768", "data-source-path": "/src/components/ViewGateOverlay.tsx:3137", size: 14, color: eA }),
9437
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e783016", "data-source-path": "/src/components/ViewGateOverlay.tsx:3139", style: { display: "flex", gap: "4px" }, children: [
9438
+ fA > 0 && /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161cac", "data-source-path": "/src/components/ViewGateOverlay.tsx:3141", className: "vg-badge", style: {
9436
9439
  fontSize: "10px",
9437
9440
  background: c ? "#f1f5f9" : "#fff7ed",
9438
9441
  color: c ? "#64748b" : "#c2410c"
@@ -9441,7 +9444,7 @@ const Hw = (t) => {
9441
9444
  " ",
9442
9445
  c || M.status === "backlog" ? "Backlog" : A === "es" ? fA === 1 ? e.pending : "Pendientes" : "pending"
9443
9446
  ] }),
9444
- QA > 0 && /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161cad", "data-source-path": "/src/components/ViewGateOverlay.tsx:3147", style: {
9447
+ QA > 0 && /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161cad", "data-source-path": "/src/components/ViewGateOverlay.tsx:3150", style: {
9445
9448
  fontSize: "10px",
9446
9449
  fontWeight: 700,
9447
9450
  color: "#a855f7",
@@ -9453,7 +9456,7 @@ const Hw = (t) => {
9453
9456
  " ",
9454
9457
  A === "es" ? QA === 1 ? "Listo para revisión" : "Listos para revisión" : "ready for review"
9455
9458
  ] }),
9456
- bA > 0 && /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161cae", "data-source-path": "/src/components/ViewGateOverlay.tsx:3159", style: {
9459
+ bA > 0 && /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161cae", "data-source-path": "/src/components/ViewGateOverlay.tsx:3162", style: {
9457
9460
  fontSize: "10px",
9458
9461
  fontWeight: 700,
9459
9462
  color: "#059669",
@@ -9465,7 +9468,7 @@ const Hw = (t) => {
9465
9468
  " ",
9466
9469
  A === "es" ? bA === 1 ? "Completado" : "Completados" : "completed"
9467
9470
  ] }),
9468
- v.some((H) => H.status === "bug_fixing") && /* @__PURE__ */ g.jsx("span", { "data-vg-id": "8161caf", "data-source-path": "/src/components/ViewGateOverlay.tsx:3171", style: {
9471
+ v.some((H) => H.status === "bug_fixing") && /* @__PURE__ */ g.jsx("span", { "data-vg-id": "8161caf", "data-source-path": "/src/components/ViewGateOverlay.tsx:3174", style: {
9469
9472
  fontSize: "10px",
9470
9473
  fontWeight: 700,
9471
9474
  color: "#e11d48",
@@ -9475,7 +9478,7 @@ const Hw = (t) => {
9475
9478
  }, children: "BUG" })
9476
9479
  ] })
9477
9480
  ] }),
9478
- P && /* @__PURE__ */ g.jsx("span", { "data-vg-id": "8161cb0", "data-source-path": "/src/components/ViewGateOverlay.tsx:3185", className: "vg-badge", style: {
9481
+ P && /* @__PURE__ */ g.jsx("span", { "data-vg-id": "8161cb0", "data-source-path": "/src/components/ViewGateOverlay.tsx:3188", className: "vg-badge", style: {
9479
9482
  fontSize: "10px",
9480
9483
  background: c ? "#f1f5f9" : uA ? `linear-gradient(90deg, #ea580c 50%, ${dA ? "#10b981" : "#a855f7"} 50%)` : fA > 0 ? "#fff7ed" : W ? "#ecfdf5" : "#f3e8ff",
9481
9484
  color: c ? "#64748b" : uA ? "#ffffff" : fA > 0 ? "#c2410c" : W ? "#059669" : "#a855f7",
@@ -9484,15 +9487,15 @@ const Hw = (t) => {
9484
9487
  textShadow: uA && !c ? "0 1px 2px rgba(0,0,0,0.2)" : "none"
9485
9488
  }, children: "MODAL" })
9486
9489
  ] }),
9487
- /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e78301c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3197", className: "vg-tooltip-scroll", style: { maxHeight: "180px", overflowY: "auto" }, children: v.map((H, oe) => /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e78301d", "data-source-path": "/src/components/ViewGateOverlay.tsx:3199", style: {
9490
+ /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e78301c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3200", className: "vg-tooltip-scroll", style: { maxHeight: "180px", overflowY: "auto" }, children: v.map((H, oe) => /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e78301d", "data-source-path": "/src/components/ViewGateOverlay.tsx:3202", style: {
9488
9491
  padding: "10px 0",
9489
9492
  borderTop: oe === 0 ? "none" : "1px solid #f1f5f9",
9490
9493
  display: "flex",
9491
9494
  gap: "12px",
9492
9495
  alignItems: "flex-start"
9493
9496
  }, children: [
9494
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e78301e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3206", style: { flex: 1, display: "flex", flexDirection: "column", gap: "4px" }, children: [
9495
- /* @__PURE__ */ g.jsx("span", { "data-vg-id": "8161cc9", "data-source-path": "/src/components/ViewGateOverlay.tsx:3207", style: { fontSize: "10px", fontWeight: 600, color: "#64748b" }, children: Ii(H.timestamp || H.createdAt, A) }),
9497
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e78301e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3209", style: { flex: 1, display: "flex", flexDirection: "column", gap: "4px" }, children: [
9498
+ /* @__PURE__ */ g.jsx("span", { "data-vg-id": "8161cc9", "data-source-path": "/src/components/ViewGateOverlay.tsx:3210", style: { fontSize: "10px", fontWeight: 600, color: "#64748b" }, children: Ii(H.timestamp || H.createdAt, A) }),
9496
9499
  H.url && /* @__PURE__ */ g.jsx(
9497
9500
  Si,
9498
9501
  {
@@ -9513,10 +9516,10 @@ const Hw = (t) => {
9513
9516
  tooltipStyle: { fontSize: "9px" }
9514
9517
  }
9515
9518
  ),
9516
- /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e783035", "data-source-path": "/src/components/ViewGateOverlay.tsx:3229", className: "vg-line-clamp-2", style: { fontSize: "13px", color: "#1e293b", lineHeight: 1.4, fontWeight: 500 }, children: H.message.length > 100 ? H.message.slice(0, 97) + "..." : H.message })
9519
+ /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e783035", "data-source-path": "/src/components/ViewGateOverlay.tsx:3232", className: "vg-line-clamp-2", style: { fontSize: "13px", color: "#1e293b", lineHeight: 1.4, fontWeight: 500 }, children: H.message.length > 100 ? H.message.slice(0, 97) + "..." : H.message })
9517
9520
  ] }),
9518
- /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e783036", "data-source-path": "/src/components/ViewGateOverlay.tsx:3233", style: { flexShrink: 0, marginTop: "2px", display: "flex", flexDirection: "column", gap: "4px", alignItems: "flex-end" }, children: [
9519
- /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e783037", "data-source-path": "/src/components/ViewGateOverlay.tsx:3234", style: {
9521
+ /* @__PURE__ */ g.jsxs("div", { "data-vg-id": "2e783036", "data-source-path": "/src/components/ViewGateOverlay.tsx:3236", style: { flexShrink: 0, marginTop: "2px", display: "flex", flexDirection: "column", gap: "4px", alignItems: "flex-end" }, children: [
9522
+ /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e783037", "data-source-path": "/src/components/ViewGateOverlay.tsx:3237", style: {
9520
9523
  fontSize: "8px",
9521
9524
  fontWeight: 800,
9522
9525
  color: H.priority === "low" ? "#059669" : H.priority === "urgent" ? "#b91c1c" : H.priority === "high" ? "#b45309" : "#4338ca",
@@ -9527,7 +9530,7 @@ const Hw = (t) => {
9527
9530
  border: "1px solid",
9528
9531
  borderColor: H.priority === "low" ? "#d1fae5" : H.priority === "urgent" ? "#fee2e2" : H.priority === "high" ? "#fef3c7" : "#e0e7ff"
9529
9532
  }, children: e[H.priority || "medium"] }),
9530
- H.status === "completed" || H.status === "done" ? /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161ccd", "data-source-path": "/src/components/ViewGateOverlay.tsx:3248", style: {
9533
+ H.status === "completed" || H.status === "done" ? /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161ccd", "data-source-path": "/src/components/ViewGateOverlay.tsx:3251", style: {
9531
9534
  display: "flex",
9532
9535
  alignItems: "center",
9533
9536
  gap: "4px",
@@ -9540,9 +9543,9 @@ const Hw = (t) => {
9540
9543
  textTransform: "uppercase",
9541
9544
  border: "1px solid #d1fae5"
9542
9545
  }, children: [
9543
- /* @__PURE__ */ g.jsx(Le, { "data-vg-id": "a75c1ade", "data-source-path": "/src/components/ViewGateOverlay.tsx:3261", size: 10 }),
9546
+ /* @__PURE__ */ g.jsx(Le, { "data-vg-id": "a75c1ade", "data-source-path": "/src/components/ViewGateOverlay.tsx:3264", size: 10 }),
9544
9547
  e.completed
9545
- ] }) : H.status === "ready_for_review" ? /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161ccf", "data-source-path": "/src/components/ViewGateOverlay.tsx:3265", style: {
9548
+ ] }) : H.status === "ready_for_review" ? /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161ccf", "data-source-path": "/src/components/ViewGateOverlay.tsx:3268", style: {
9546
9549
  display: "flex",
9547
9550
  alignItems: "center",
9548
9551
  gap: "4px",
@@ -9555,9 +9558,9 @@ const Hw = (t) => {
9555
9558
  textTransform: "uppercase",
9556
9559
  border: "1px solid #e9d5ff"
9557
9560
  }, children: [
9558
- H.type === "bug" || H.status === "bug_fixing" || H.originalStatus === "bug_fixing" ? /* @__PURE__ */ g.jsx(Tt, { "data-vg-id": "3b8b187e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3278", size: 10 }) : /* @__PURE__ */ g.jsx(Le, { "data-vg-id": "a75c1ae1", "data-source-path": "/src/components/ViewGateOverlay.tsx:3278", size: 10 }),
9561
+ H.type === "bug" || H.status === "bug_fixing" || H.originalStatus === "bug_fixing" ? /* @__PURE__ */ g.jsx(Tt, { "data-vg-id": "3b8b187e", "data-source-path": "/src/components/ViewGateOverlay.tsx:3281", size: 10 }) : /* @__PURE__ */ g.jsx(Le, { "data-vg-id": "a75c1ae1", "data-source-path": "/src/components/ViewGateOverlay.tsx:3281", size: 10 }),
9559
9562
  e.readyForReview
9560
- ] }) : H.status === "bug_fixing" ? /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161cd2", "data-source-path": "/src/components/ViewGateOverlay.tsx:3282", style: {
9563
+ ] }) : H.status === "bug_fixing" ? /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161cd2", "data-source-path": "/src/components/ViewGateOverlay.tsx:3285", style: {
9561
9564
  display: "flex",
9562
9565
  alignItems: "center",
9563
9566
  gap: "4px",
@@ -9570,9 +9573,9 @@ const Hw = (t) => {
9570
9573
  textTransform: "uppercase",
9571
9574
  border: "1px solid #ffe4e6"
9572
9575
  }, children: [
9573
- /* @__PURE__ */ g.jsx(Tt, { "data-vg-id": "3b8b1896", "data-source-path": "/src/components/ViewGateOverlay.tsx:3295", size: 10 }),
9576
+ /* @__PURE__ */ g.jsx(Tt, { "data-vg-id": "3b8b1896", "data-source-path": "/src/components/ViewGateOverlay.tsx:3298", size: 10 }),
9574
9577
  "Bug Fixing"
9575
- ] }) : /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161ce9", "data-source-path": "/src/components/ViewGateOverlay.tsx:3299", style: {
9578
+ ] }) : /* @__PURE__ */ g.jsxs("span", { "data-vg-id": "8161ce9", "data-source-path": "/src/components/ViewGateOverlay.tsx:3302", style: {
9576
9579
  display: "flex",
9577
9580
  alignItems: "center",
9578
9581
  gap: "4px",
@@ -9585,7 +9588,7 @@ const Hw = (t) => {
9585
9588
  textTransform: "uppercase",
9586
9589
  border: c || H.status === "backlog" ? "1px solid #e2e8f0" : "1px solid #ffedd5"
9587
9590
  }, children: [
9588
- /* @__PURE__ */ g.jsx(mo, { "data-vg-id": "62dc6cb2", "data-source-path": "/src/components/ViewGateOverlay.tsx:3312", size: 10 }),
9591
+ /* @__PURE__ */ g.jsx(mo, { "data-vg-id": "62dc6cb2", "data-source-path": "/src/components/ViewGateOverlay.tsx:3315", size: 10 }),
9589
9592
  c || H.status === "backlog" ? e.backlog : e.pending
9590
9593
  ] })
9591
9594
  ] })
@@ -9595,21 +9598,21 @@ const Hw = (t) => {
9595
9598
  "div",
9596
9599
  {
9597
9600
  "data-vg-id": "2e783056",
9598
- "data-source-path": "/src/components/ViewGateOverlay.tsx:3322",
9599
- className: `vg-formal-pin ${W ? "completed" : VA || me ? "ready" : _ ? "bug" : uA ? "mixed" : c ? "backlog" : ""} ${B.isTriggerPin ? "modal-variant" : ""}`,
9601
+ "data-source-path": "/src/components/ViewGateOverlay.tsx:3325",
9602
+ className: `vg-formal-pin ${W ? "completed" : VA || me ? "ready" : _ ? "bug" : uA ? "mixed" : c ? "backlog" : ""} ${l.isTriggerPin ? "modal-variant" : ""}`,
9600
9603
  style: {
9601
9604
  position: "relative",
9602
9605
  background: _ && !VA && !W ? "linear-gradient(135deg, #f43f5e 0%, #e11d48 100%)" : VA ? "linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)" : uA ? dA ? "linear-gradient(135deg, #10b981 0%, #059669 100%)" : "linear-gradient(135deg, #a855f7 0%, #7e22ce 100%)" : void 0
9603
9606
  },
9604
9607
  children: [
9605
- VA || W || me ? _ && !W ? /* @__PURE__ */ g.jsx(Tt, { "data-vg-id": "3b8b189a", "data-source-path": "/src/components/ViewGateOverlay.tsx:3329", size: 18 }) : /* @__PURE__ */ g.jsx(Le, { "data-vg-id": "a75c1afd", "data-source-path": "/src/components/ViewGateOverlay.tsx:3329", size: 18 }) : _ ? /* @__PURE__ */ g.jsx(Tt, { "data-vg-id": "3b8b189c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3329", size: 18 }) : B.isTriggerPin ? /* @__PURE__ */ g.jsx(Ks, { "data-vg-id": "d88161bf", "data-source-path": "/src/components/ViewGateOverlay.tsx:3329", size: 16 }) : P ? /* @__PURE__ */ g.jsx(ll, { "data-vg-id": "5c2be0ab", "data-source-path": "/src/components/ViewGateOverlay.tsx:3329", size: 16 }) : /* @__PURE__ */ g.jsx(pr, { "data-vg-id": "7fe17af", "data-source-path": "/src/components/ViewGateOverlay.tsx:3329", size: 16 }),
9606
- X > 1 && /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e783072", "data-source-path": "/src/components/ViewGateOverlay.tsx:3332", className: "vg-pin-badge vg-animate-pop", children: X })
9608
+ VA || W || me ? _ && !W ? /* @__PURE__ */ g.jsx(Tt, { "data-vg-id": "3b8b189a", "data-source-path": "/src/components/ViewGateOverlay.tsx:3332", size: 18 }) : /* @__PURE__ */ g.jsx(Le, { "data-vg-id": "a75c1afd", "data-source-path": "/src/components/ViewGateOverlay.tsx:3332", size: 18 }) : _ ? /* @__PURE__ */ g.jsx(Tt, { "data-vg-id": "3b8b189c", "data-source-path": "/src/components/ViewGateOverlay.tsx:3332", size: 18 }) : l.isTriggerPin ? /* @__PURE__ */ g.jsx(Ks, { "data-vg-id": "d88161bf", "data-source-path": "/src/components/ViewGateOverlay.tsx:3332", size: 16 }) : P ? /* @__PURE__ */ g.jsx(ll, { "data-vg-id": "5c2be0ab", "data-source-path": "/src/components/ViewGateOverlay.tsx:3332", size: 16 }) : /* @__PURE__ */ g.jsx(pr, { "data-vg-id": "7fe17af", "data-source-path": "/src/components/ViewGateOverlay.tsx:3332", size: 16 }),
9609
+ X > 1 && /* @__PURE__ */ g.jsx("div", { "data-vg-id": "2e783072", "data-source-path": "/src/components/ViewGateOverlay.tsx:3335", className: "vg-pin-badge vg-animate-pop", children: X })
9607
9610
  ]
9608
9611
  }
9609
9612
  )
9610
9613
  ]
9611
9614
  },
9612
- `group-${B.id}`
9615
+ `group-${l.id}`
9613
9616
  );
9614
9617
  }),
9615
9618
  /* @__PURE__ */ g.jsx(
@@ -9628,16 +9631,16 @@ const Hw = (t) => {
9628
9631
  };
9629
9632
  function sc(t, A, e) {
9630
9633
  if (!A.endsWith(".tsx") && !A.endsWith(".jsx") || A.includes("node_modules")) return t;
9631
- const r = (l) => l.replace(/\\/g, "/"), s = r(A).replace(r(e), ""), n = (l) => {
9634
+ const r = (B) => B.replace(/\\/g, "/"), s = r(A).replace(r(e), ""), n = (B) => {
9632
9635
  let c = 0;
9633
- for (let d = 0; d < l.length; d++) c = Math.imul(31, c) + l.charCodeAt(d) | 0;
9636
+ for (let d = 0; d < B.length; d++) c = Math.imul(31, c) + B.charCodeAt(d) | 0;
9634
9637
  return (c >>> 0).toString(16);
9635
9638
  };
9636
9639
  let o = 0;
9637
9640
  return t.split(`
9638
- `).map((l, c) => {
9641
+ `).map((B, c) => {
9639
9642
  const d = c + 1;
9640
- return l.replace(/(^|[^a-zA-Z0-9])<([a-zA-Z][a-zA-Z0-9\.]*)(?=[ \t\n\/\>])/g, (f, u, h) => {
9643
+ return B.replace(/(^|[^a-zA-Z0-9])<([a-zA-Z][a-zA-Z0-9\.]*)(?=[ \t\n\/\>])/g, (f, u, h) => {
9641
9644
  if (f.includes("data-source-path") || f.includes("data-vg-id") || h === "Fragment" || h === "React.Fragment")
9642
9645
  return f;
9643
9646
  o++;