@harnessio/ui 1.0.14 → 1.0.15

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.
@@ -16,7 +16,7 @@ import AK, { flushSync as IK, unstable_batchedUpdates as Vp, createPortal as OK
16
16
  import { u as nC, a as DK } from "./use-debounce-search-QpTwoC5k.js";
17
17
  import { g as Ho } from "./tailwind-design-system-Crhx4NBe.js";
18
18
  import { FormProvider as wK, get as DT, set as cE, appendErrors as y6, useForm as R6, useFormContext as xK, Controller as LK } from "react-hook-form";
19
- import { B as sD, s as ss, o as A6, n as MK, Z as kK, E as Xo, S as Fn } from "./index-DchZrYRY.js";
19
+ import { B as sD, s as ss, o as A6, n as MK, Z as kK, E as Xo, S as Un } from "./index-DchZrYRY.js";
20
20
  import { C as rC, M as rs, a as Al } from "./types-DuzuERyI.js";
21
21
  const PK = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 22 22", ...e }, /* @__PURE__ */ S.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "m10.617 1.133 3.646 1.147c.055.017.052.1-.002.119a1.895 1.895 0 0 0-1.278 1.773c0 1.011.82 1.832 1.832 1.832.466 0 .588.127.593.132.007.008.13.132.13.594.001 1.012.823 1.83 1.832 1.83l.164-.007a1.82 1.82 0 0 0 1.178-.582c.036-.038.104-.014.104.038v4.253c0 3.086-2.148 5.258-4.15 6.615a17.7 17.7 0 0 1-3.95 1.985l-.09.03a.6.6 0 0 1-.344.004l-.098-.034q-.094-.03-.261-.093a17.649 17.649 0 0 1-3.69-1.892c-2.002-1.358-4.15-3.529-4.15-6.615v-8.11c0-.238.155-.45.382-.523l7.817-2.496.083-.02a.55.55 0 0 1 .252.02m.011 4.36a.66.66 0 0 0-.742.293l-3.194 5.261a.66.66 0 0 0 .565 1.002H9.79v3.85a.661.661 0 0 0 1.2.382l3.192-4.51a.66.66 0 0 0-.538-1.04H11.11V6.127a.66.66 0 0 0-.482-.636", clipRule: "evenodd" }), /* @__PURE__ */ S.createElement("path", { fill: "currentColor", d: "M17.37 1.107a.51.51 0 0 1 .51.51c0 .727.205 1.221.52 1.534s.812.512 1.526.512a.51.51 0 0 1 0 1.022c-.71 0-1.206.202-1.524.518-.173.173-.312.4-.404.686a2.6 2.6 0 0 0-.108.582l-.01.259-.01.102a.51.51 0 0 1-.5.408l-.103-.01a.5.5 0 0 1-.093-.03h-.003l-.066-.034-.011-.007q-.019-.013-.035-.027l-.033-.026a.5.5 0 0 1-.112-.15q-.012-.021-.02-.042-.009-.024-.015-.048-.006-.02-.01-.042a.5.5 0 0 1-.01-.094q0-.135-.01-.259a2.5 2.5 0 0 0-.131-.655 1.8 1.8 0 0 0-.164-.343 1.5 1.5 0 0 0-.34-.383c-.316-.25-.773-.405-1.4-.405a.5.5 0 0 1-.327-.123.51.51 0 0 1-.169-.507q.005-.026.014-.051l.013-.03q.008-.02.018-.04l.02-.032.032-.047.009-.01.043-.046.021-.019.027-.02a.5.5 0 0 1 .196-.087l.104-.01.258-.009c.509-.037.887-.186 1.158-.406l.11-.097a2 2 0 0 0 .128-.15c.239-.312.39-.761.39-1.383 0-.282.23-.51.511-.51" })), FK = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 22 22", ...e }, /* @__PURE__ */ S.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.94.005A7.6 7.6 0 0 0 6.47 1.26a7.36 7.36 0 0 0-2.852 3.596c-.04.37.058 1.039 1.166 1.374 1.215.366 1.663-.247 1.826-.651a4.4 4.4 0 0 1 1.682-2.147 4.56 4.56 0 0 1 2.648-.775c2.726 0 4.704 1.784 4.704 4.243v1.053c0 .493-.672.815-1.307.952l-5.41 1.384c-4.05.903-5.627 2.439-5.627 5.479C3.3 19.32 6.584 22 10.94 22c4.64 0 7.64-2.777 7.64-7.075l.12-8.066c0-3.971-3.263-6.854-7.76-6.854m0 19.339c-2.656 0-4.584-1.504-4.584-3.577 0-1.894 1.059-2.476 3.287-2.998l4.635-1.216a4.1 4.1 0 0 0 1.356-.487l-.11 3.726v.005c0 4.104-3.206 4.547-4.584 4.547", clipRule: "evenodd" })), UK = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 22 22", ...e }, /* @__PURE__ */ S.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M18.224 4.64a.569.569 0 1 1 .952.622l-2.082 3.181A10.99 10.99 0 0 1 22 17.6H0c0-3.655 1.784-6.892 4.526-8.892L2.273 5.262l-.052-.102a.57.57 0 0 1 .933-.61l.073.09L5.48 8.084A10.95 10.95 0 0 1 11 6.6c1.847 0 3.586.458 5.115 1.262zM5.5 12.1a1.1 1.1 0 1 0 .001 2.2 1.1 1.1 0 0 0-.001-2.2m11 0a1.1 1.1 0 1 0 .001 2.2 1.1 1.1 0 0 0-.001-2.2", clipRule: "evenodd" })), BK = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 22 22", ...e }, /* @__PURE__ */ S.createElement("path", { fill: "currentColor", d: "M10.148 18.865 4.384 6.855a6.95 6.95 0 0 0-2.271 5.139c0 3.833 3.123 6.956 6.956 6.956.37 0 .71-.028 1.08-.085M7.791 5.15a6.5 6.5 0 0 1 1.278-.113c3.833 0 6.957 3.124 6.957 6.957a6.91 6.91 0 0 1-2.442 5.281l1.703 3.578a10.81 10.81 0 0 0 4.6-8.86C19.916 6.004 15.06 1.148 9.07 1.148c-1.022 0-2.044.142-2.981.426z" })), GK = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 22 22", ...e }, /* @__PURE__ */ S.createElement("mask", { id: "a", x: "inf", y: "inf", maskUnits: "userSpaceOnUse", style: {
22
22
  maskType: "alpha"
@@ -1283,7 +1283,7 @@ class Kj extends Kt {
1283
1283
  return r.era = a, n.setFullYear(a, 0, 1), n.setHours(0, 0, 0, 0), n;
1284
1284
  }
1285
1285
  }
1286
- const On = {
1286
+ const Dn = {
1287
1287
  month: /^(1[0-2]|0?\d)/,
1288
1288
  // 0 to 12
1289
1289
  date: /^(3[0-1]|[0-2]?\d)/,
@@ -1328,7 +1328,7 @@ const On = {
1328
1328
  extended: /^([+-])(\d{2}):(\d{2})|Z/,
1329
1329
  extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
1330
1330
  };
1331
- function Dn(e, t) {
1331
+ function wn(e, t) {
1332
1332
  return e && {
1333
1333
  value: t(e.value),
1334
1334
  rest: e.rest
@@ -1357,18 +1357,18 @@ function li(e, t) {
1357
1357
  };
1358
1358
  }
1359
1359
  function z6(e) {
1360
- return fn(On.anyDigitsSigned, e);
1360
+ return fn(Dn.anyDigitsSigned, e);
1361
1361
  }
1362
1362
  function Rn(e, t) {
1363
1363
  switch (e) {
1364
1364
  case 1:
1365
- return fn(On.singleDigit, t);
1365
+ return fn(Dn.singleDigit, t);
1366
1366
  case 2:
1367
- return fn(On.twoDigits, t);
1367
+ return fn(Dn.twoDigits, t);
1368
1368
  case 3:
1369
- return fn(On.threeDigits, t);
1369
+ return fn(Dn.threeDigits, t);
1370
1370
  case 4:
1371
- return fn(On.fourDigits, t);
1371
+ return fn(Dn.fourDigits, t);
1372
1372
  default:
1373
1373
  return fn(new RegExp("^\\d{1," + e + "}"), t);
1374
1374
  }
@@ -1376,13 +1376,13 @@ function Rn(e, t) {
1376
1376
  function u_(e, t) {
1377
1377
  switch (e) {
1378
1378
  case 1:
1379
- return fn(On.singleDigitSigned, t);
1379
+ return fn(Dn.singleDigitSigned, t);
1380
1380
  case 2:
1381
- return fn(On.twoDigitsSigned, t);
1381
+ return fn(Dn.twoDigitsSigned, t);
1382
1382
  case 3:
1383
- return fn(On.threeDigitsSigned, t);
1383
+ return fn(Dn.threeDigitsSigned, t);
1384
1384
  case 4:
1385
- return fn(On.fourDigitsSigned, t);
1385
+ return fn(Dn.fourDigitsSigned, t);
1386
1386
  default:
1387
1387
  return fn(new RegExp("^-?\\d{1," + e + "}"), t);
1388
1388
  }
@@ -1431,16 +1431,16 @@ class Qj extends Kt {
1431
1431
  });
1432
1432
  switch (r) {
1433
1433
  case "y":
1434
- return Dn(Rn(4, n), i);
1434
+ return wn(Rn(4, n), i);
1435
1435
  case "yo":
1436
- return Dn(
1436
+ return wn(
1437
1437
  a.ordinalNumber(n, {
1438
1438
  unit: "year"
1439
1439
  }),
1440
1440
  i
1441
1441
  );
1442
1442
  default:
1443
- return Dn(Rn(r.length, n), i);
1443
+ return wn(Rn(r.length, n), i);
1444
1444
  }
1445
1445
  }
1446
1446
  validate(n, r) {
@@ -1486,16 +1486,16 @@ class Xj extends Kt {
1486
1486
  });
1487
1487
  switch (r) {
1488
1488
  case "Y":
1489
- return Dn(Rn(4, n), i);
1489
+ return wn(Rn(4, n), i);
1490
1490
  case "Yo":
1491
- return Dn(
1491
+ return wn(
1492
1492
  a.ordinalNumber(n, {
1493
1493
  unit: "year"
1494
1494
  }),
1495
1495
  i
1496
1496
  );
1497
1497
  default:
1498
- return Dn(Rn(r.length, n), i);
1498
+ return wn(Rn(r.length, n), i);
1499
1499
  }
1500
1500
  }
1501
1501
  validate(n, r) {
@@ -1720,16 +1720,16 @@ class tZ extends Kt {
1720
1720
  switch (r) {
1721
1721
  // 1, 2, ..., 12
1722
1722
  case "M":
1723
- return Dn(
1724
- fn(On.month, n),
1723
+ return wn(
1724
+ fn(Dn.month, n),
1725
1725
  i
1726
1726
  );
1727
1727
  // 01, 02, ..., 12
1728
1728
  case "MM":
1729
- return Dn(Rn(2, n), i);
1729
+ return wn(Rn(2, n), i);
1730
1730
  // 1st, 2nd, ..., 12th
1731
1731
  case "Mo":
1732
- return Dn(
1732
+ return wn(
1733
1733
  a.ordinalNumber(n, {
1734
1734
  unit: "month"
1735
1735
  }),
@@ -1788,16 +1788,16 @@ class nZ extends Kt {
1788
1788
  switch (r) {
1789
1789
  // 1, 2, ..., 12
1790
1790
  case "L":
1791
- return Dn(
1792
- fn(On.month, n),
1791
+ return wn(
1792
+ fn(Dn.month, n),
1793
1793
  i
1794
1794
  );
1795
1795
  // 01, 02, ..., 12
1796
1796
  case "LL":
1797
- return Dn(Rn(2, n), i);
1797
+ return wn(Rn(2, n), i);
1798
1798
  // 1st, 2nd, ..., 12th
1799
1799
  case "Lo":
1800
- return Dn(
1800
+ return wn(
1801
1801
  a.ordinalNumber(n, {
1802
1802
  unit: "month"
1803
1803
  }),
@@ -1858,7 +1858,7 @@ class aZ extends Kt {
1858
1858
  parse(n, r, a) {
1859
1859
  switch (r) {
1860
1860
  case "w":
1861
- return fn(On.week, n);
1861
+ return fn(Dn.week, n);
1862
1862
  case "wo":
1863
1863
  return a.ordinalNumber(n, { unit: "week" });
1864
1864
  default:
@@ -1900,7 +1900,7 @@ class oZ extends Kt {
1900
1900
  parse(n, r, a) {
1901
1901
  switch (r) {
1902
1902
  case "I":
1903
- return fn(On.week, n);
1903
+ return fn(Dn.week, n);
1904
1904
  case "Io":
1905
1905
  return a.ordinalNumber(n, { unit: "week" });
1906
1906
  default:
@@ -1951,7 +1951,7 @@ class cZ extends Kt {
1951
1951
  parse(n, r, a) {
1952
1952
  switch (r) {
1953
1953
  case "d":
1954
- return fn(On.date, n);
1954
+ return fn(Dn.date, n);
1955
1955
  case "do":
1956
1956
  return a.ordinalNumber(n, { unit: "date" });
1957
1957
  default:
@@ -1993,7 +1993,7 @@ class uZ extends Kt {
1993
1993
  switch (r) {
1994
1994
  case "D":
1995
1995
  case "DD":
1996
- return fn(On.dayOfYear, n);
1996
+ return fn(Dn.dayOfYear, n);
1997
1997
  case "Do":
1998
1998
  return a.ordinalNumber(n, { unit: "date" });
1999
1999
  default:
@@ -2085,10 +2085,10 @@ class pZ extends Kt {
2085
2085
  // 3
2086
2086
  case "e":
2087
2087
  case "ee":
2088
- return Dn(Rn(r.length, n), o);
2088
+ return wn(Rn(r.length, n), o);
2089
2089
  // 3rd
2090
2090
  case "eo":
2091
- return Dn(
2091
+ return wn(
2092
2092
  a.ordinalNumber(n, {
2093
2093
  unit: "day"
2094
2094
  }),
@@ -2156,10 +2156,10 @@ class mZ extends Kt {
2156
2156
  // 3
2157
2157
  case "c":
2158
2158
  case "cc":
2159
- return Dn(Rn(r.length, n), o);
2159
+ return wn(Rn(r.length, n), o);
2160
2160
  // 3rd
2161
2161
  case "co":
2162
- return Dn(
2162
+ return wn(
2163
2163
  a.ordinalNumber(n, {
2164
2164
  unit: "day"
2165
2165
  }),
@@ -2234,7 +2234,7 @@ class gZ extends Kt {
2234
2234
  return a.ordinalNumber(n, { unit: "day" });
2235
2235
  // Tue
2236
2236
  case "iii":
2237
- return Dn(
2237
+ return wn(
2238
2238
  a.day(n, {
2239
2239
  width: "abbreviated",
2240
2240
  context: "formatting"
@@ -2249,7 +2249,7 @@ class gZ extends Kt {
2249
2249
  );
2250
2250
  // T
2251
2251
  case "iiiii":
2252
- return Dn(
2252
+ return wn(
2253
2253
  a.day(n, {
2254
2254
  width: "narrow",
2255
2255
  context: "formatting"
@@ -2258,7 +2258,7 @@ class gZ extends Kt {
2258
2258
  );
2259
2259
  // Tu
2260
2260
  case "iiiiii":
2261
- return Dn(
2261
+ return wn(
2262
2262
  a.day(n, {
2263
2263
  width: "short",
2264
2264
  context: "formatting"
@@ -2271,7 +2271,7 @@ class gZ extends Kt {
2271
2271
  // Tuesday
2272
2272
  case "iiii":
2273
2273
  default:
2274
- return Dn(
2274
+ return wn(
2275
2275
  a.day(n, {
2276
2276
  width: "wide",
2277
2277
  context: "formatting"
@@ -2428,7 +2428,7 @@ class SZ extends Kt {
2428
2428
  parse(n, r, a) {
2429
2429
  switch (r) {
2430
2430
  case "h":
2431
- return fn(On.hour12h, n);
2431
+ return fn(Dn.hour12h, n);
2432
2432
  case "ho":
2433
2433
  return a.ordinalNumber(n, { unit: "hour" });
2434
2434
  default:
@@ -2452,7 +2452,7 @@ class bZ extends Kt {
2452
2452
  parse(n, r, a) {
2453
2453
  switch (r) {
2454
2454
  case "H":
2455
- return fn(On.hour23h, n);
2455
+ return fn(Dn.hour23h, n);
2456
2456
  case "Ho":
2457
2457
  return a.ordinalNumber(n, { unit: "hour" });
2458
2458
  default:
@@ -2475,7 +2475,7 @@ class TZ extends Kt {
2475
2475
  parse(n, r, a) {
2476
2476
  switch (r) {
2477
2477
  case "K":
2478
- return fn(On.hour11h, n);
2478
+ return fn(Dn.hour11h, n);
2479
2479
  case "Ko":
2480
2480
  return a.ordinalNumber(n, { unit: "hour" });
2481
2481
  default:
@@ -2498,7 +2498,7 @@ class vZ extends Kt {
2498
2498
  parse(n, r, a) {
2499
2499
  switch (r) {
2500
2500
  case "k":
2501
- return fn(On.hour24h, n);
2501
+ return fn(Dn.hour24h, n);
2502
2502
  case "ko":
2503
2503
  return a.ordinalNumber(n, { unit: "hour" });
2504
2504
  default:
@@ -2522,7 +2522,7 @@ class CZ extends Kt {
2522
2522
  parse(n, r, a) {
2523
2523
  switch (r) {
2524
2524
  case "m":
2525
- return fn(On.minute, n);
2525
+ return fn(Dn.minute, n);
2526
2526
  case "mo":
2527
2527
  return a.ordinalNumber(n, { unit: "minute" });
2528
2528
  default:
@@ -2545,7 +2545,7 @@ class NZ extends Kt {
2545
2545
  parse(n, r, a) {
2546
2546
  switch (r) {
2547
2547
  case "s":
2548
- return fn(On.second, n);
2548
+ return fn(Dn.second, n);
2549
2549
  case "so":
2550
2550
  return a.ordinalNumber(n, { unit: "second" });
2551
2551
  default:
@@ -2567,7 +2567,7 @@ class yZ extends Kt {
2567
2567
  }
2568
2568
  parse(n, r) {
2569
2569
  const a = (i) => Math.trunc(i * Math.pow(10, -r.length + 3));
2570
- return Dn(Rn(r.length, n), a);
2570
+ return wn(Rn(r.length, n), a);
2571
2571
  }
2572
2572
  set(n, r, a) {
2573
2573
  return n.setMilliseconds(a), n;
@@ -3029,7 +3029,7 @@ function JZ(e, t) {
3029
3029
  let n = X6.get(e);
3030
3030
  n && (e.style[t] = n[t]);
3031
3031
  }
3032
- const kn = (e) => {
3032
+ const Pn = (e) => {
3033
3033
  switch (e) {
3034
3034
  case "top":
3035
3035
  case "bottom":
@@ -3049,7 +3049,7 @@ function $p(e, t) {
3049
3049
  n.transform || n.webkitTransform || n.mozTransform
3050
3050
  );
3051
3051
  let a = r.match(/^matrix3d\((.+)\)$/);
3052
- return a ? parseFloat(a[1].split(", ")[kn(t) ? 13 : 12]) : (a = r.match(/^matrix\((.+)\)$/), a ? parseFloat(a[1].split(", ")[kn(t) ? 5 : 4]) : null);
3052
+ return a ? parseFloat(a[1].split(", ")[Pn(t) ? 13 : 12]) : (a = r.match(/^matrix\((.+)\)$/), a ? parseFloat(a[1].split(", ")[Pn(t) ? 5 : 4]) : null);
3053
3053
  }
3054
3054
  function eJ(e) {
3055
3055
  return 8 * (Math.log(e + 1) - 2);
@@ -3157,7 +3157,7 @@ function iJ({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n,
3157
3157
  return (I = n == null ? void 0 : n.map((x) => {
3158
3158
  const D = typeof x == "string";
3159
3159
  let A = 0;
3160
- if (D && (A = parseInt(x, 10)), kn(s)) {
3160
+ if (D && (A = parseInt(x, 10)), Pn(s)) {
3161
3161
  const O = D ? A : p ? x * y.height : 0;
3162
3162
  return p ? s === "bottom" ? y.height - O : -y.height + O : O;
3163
3163
  }
@@ -3176,7 +3176,7 @@ function iJ({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n,
3176
3176
  const x = (I = h == null ? void 0 : h.findIndex((D) => D === y)) != null ? I : null;
3177
3177
  o(x), zn(r.current, {
3178
3178
  transition: `transform ${gn.DURATION}s cubic-bezier(${gn.EASE.join(",")})`,
3179
- transform: kn(s) ? `translate3d(0, ${y}px, 0)` : `translate3d(${y}px, 0, 0)`
3179
+ transform: Pn(s) ? `translate3d(0, ${y}px, 0)` : `translate3d(${y}px, 0, 0)`
3180
3180
  }), h && x !== h.length - 1 && i !== void 0 && x !== i && x < i ? zn(a.current, {
3181
3181
  transition: `opacity ${gn.DURATION}s cubic-bezier(${gn.EASE.join(",")})`,
3182
3182
  opacity: "0"
@@ -3218,7 +3218,7 @@ function iJ({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n,
3218
3218
  T(h[n.length - 1]);
3219
3219
  return;
3220
3220
  }
3221
- const H = h == null ? void 0 : h.reduce((Y, U) => typeof Y != "number" || typeof U != "number" ? Y : Math.abs(U - A) < Math.abs(Y - A) ? U : Y), z = kn(s) ? window.innerHeight : window.innerWidth;
3221
+ const H = h == null ? void 0 : h.reduce((Y, U) => typeof Y != "number" || typeof U != "number" ? Y : Math.abs(U - A) < Math.abs(Y - A) ? U : Y), z = Pn(s) ? window.innerHeight : window.innerWidth;
3222
3222
  if (x > j6 && Math.abs(y) < z * 0.4) {
3223
3223
  const Y = G ? 1 : -1;
3224
3224
  if (Y > 0 && g && n) {
@@ -3235,7 +3235,7 @@ function iJ({ activeSnapPointProp: e, setActiveSnapPointProp: t, snapPoints: n,
3235
3235
  if (b === null) return;
3236
3236
  const I = s === "bottom" || s === "right" ? b - y : b + y;
3237
3237
  (s === "bottom" || s === "right") && I < h[h.length - 1] || (s === "top" || s === "left") && I > h[h.length - 1] || zn(r.current, {
3238
- transform: kn(s) ? `translate3d(0, ${I}px, 0)` : `translate3d(${I}px, 0, 0)`
3238
+ transform: Pn(s) ? `translate3d(0, ${I}px, 0)` : `translate3d(${I}px, 0, 0)`
3239
3239
  });
3240
3240
  }
3241
3241
  function R(y, I) {
@@ -3275,7 +3275,7 @@ function sJ() {
3275
3275
  tJ(r && !a ? mE(document.body, {
3276
3276
  background: "black"
3277
3277
  }) : oJ, mE(l, {
3278
- transformOrigin: kn(e) ? "top" : "left",
3278
+ transformOrigin: Pn(e) ? "top" : "left",
3279
3279
  transitionProperty: "transform, border-radius",
3280
3280
  transitionDuration: `${gn.DURATION}s`,
3281
3281
  transitionTimingFunction: `cubic-bezier(${gn.EASE.join(",")})`
@@ -3283,7 +3283,7 @@ function sJ() {
3283
3283
  const c = mE(l, {
3284
3284
  borderRadius: `${Z6}px`,
3285
3285
  overflow: "hidden",
3286
- ...kn(e) ? {
3286
+ ...Pn(e) ? {
3287
3287
  transform: `scale(${s()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`
3288
3288
  } : {
3289
3289
  transform: `scale(${s()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`
@@ -3414,7 +3414,7 @@ function t5({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: a, sn
3414
3414
  var je, gt;
3415
3415
  !u && !i || ie.current && !ie.current.contains(Je.target) || (Ne.current = ((je = ie.current) == null ? void 0 : je.getBoundingClientRect().height) || 0, Ie.current = ((gt = ie.current) == null ? void 0 : gt.getBoundingClientRect().width) || 0, M(!0), k.current = /* @__PURE__ */ new Date(), W6() && window.addEventListener("touchend", () => X.current = !1, {
3416
3416
  once: !0
3417
- }), Je.target.setPointerCapture(Je.pointerId), re.current = kn(v) ? Je.pageY : Je.pageX);
3417
+ }), Je.target.setPointerCapture(Je.pointerId), re.current = Pn(v) ? Je.pageY : Je.pageX);
3418
3418
  }
3419
3419
  function Le(Je, je) {
3420
3420
  var gt;
@@ -3445,7 +3445,7 @@ function t5({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: a, sn
3445
3445
  }
3446
3446
  function ut(Je) {
3447
3447
  if (ie.current && B) {
3448
- const je = v === "bottom" || v === "right" ? 1 : -1, gt = (re.current - (kn(v) ? Je.pageY : Je.pageX)) * je, rt = gt > 0, ot = i && !u && !rt;
3448
+ const je = v === "bottom" || v === "right" ? 1 : -1, gt = (re.current - (Pn(v) ? Je.pageY : Je.pageX)) * je, rt = gt > 0, ot = i && !u && !rt;
3449
3449
  if (ot && xe === 0) return;
3450
3450
  const te = Math.abs(gt), ce = document.querySelector("[data-vaul-drawer-wrapper]"), ye = v === "bottom" || v === "top" ? Ne.current : Ie.current;
3451
3451
  let Fe = te / ye;
@@ -3460,7 +3460,7 @@ function t5({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: a, sn
3460
3460
  }), rt && !i) {
3461
3461
  const Pe = eJ(gt), ze = Math.min(Pe * -1, 0) * je;
3462
3462
  zn(ie.current, {
3463
- transform: kn(v) ? `translate3d(0, ${ze}px, 0)` : `translate3d(${ze}px, 0, 0)`
3463
+ transform: Pn(v) ? `translate3d(0, ${ze}px, 0)` : `translate3d(${ze}px, 0, 0)`
3464
3464
  });
3465
3465
  return;
3466
3466
  }
@@ -3472,14 +3472,14 @@ function t5({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: a, sn
3472
3472
  const Pe = Math.min(Ee() + Fe * (1 - Ee()), 1), ze = 8 - Fe * 8, et = Math.max(0, 14 - Fe * 14);
3473
3473
  zn(ce, {
3474
3474
  borderRadius: `${ze}px`,
3475
- transform: kn(v) ? `scale(${Pe}) translate3d(0, ${et}px, 0)` : `scale(${Pe}) translate3d(${et}px, 0, 0)`,
3475
+ transform: Pn(v) ? `scale(${Pe}) translate3d(0, ${et}px, 0)` : `scale(${Pe}) translate3d(${et}px, 0, 0)`,
3476
3476
  transition: "none"
3477
3477
  }, !0);
3478
3478
  }
3479
3479
  if (!i) {
3480
3480
  const Pe = te * je;
3481
3481
  zn(ie.current, {
3482
- transform: kn(v) ? `translate3d(0, ${Pe}px, 0)` : `translate3d(${Pe}px, 0, 0)`
3482
+ transform: Pn(v) ? `translate3d(0, ${Pe}px, 0)` : `translate3d(${Pe}px, 0, 0)`
3483
3483
  });
3484
3484
  }
3485
3485
  }
@@ -3538,7 +3538,7 @@ function t5({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: a, sn
3538
3538
  }), o && je && je > 0 && H && zn(Je, {
3539
3539
  borderRadius: `${Z6}px`,
3540
3540
  overflow: "hidden",
3541
- ...kn(v) ? {
3541
+ ...Pn(v) ? {
3542
3542
  transform: `scale(${Ee()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,
3543
3543
  transformOrigin: "top"
3544
3544
  } : {
@@ -3558,7 +3558,7 @@ function t5({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: a, sn
3558
3558
  ie.current.classList.remove(_E), X.current = !1, M(!1), V.current = /* @__PURE__ */ new Date();
3559
3559
  const je = $p(ie.current, v);
3560
3560
  if (!Je || !Le(Je.target, !1) || !je || Number.isNaN(je) || k.current === null) return;
3561
- const gt = V.current.getTime() - k.current.getTime(), rt = re.current - (kn(v) ? Je.pageY : Je.pageX), ot = Math.abs(rt) / gt;
3561
+ const gt = V.current.getTime() - k.current.getTime(), rt = re.current - (Pn(v) ? Je.pageY : Je.pageX), ot = Math.abs(rt) / gt;
3562
3562
  if (ot > 0.05 && ($(!0), setTimeout(() => {
3563
3563
  $(!1);
3564
3564
  }, 200)), i) {
@@ -3599,12 +3599,12 @@ function t5({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: a, sn
3599
3599
  const je = Je ? (window.innerWidth - Wp) / window.innerWidth : 1, gt = Je ? -16 : 0;
3600
3600
  ne.current && window.clearTimeout(ne.current), zn(ie.current, {
3601
3601
  transition: `transform ${gn.DURATION}s cubic-bezier(${gn.EASE.join(",")})`,
3602
- transform: kn(v) ? `scale(${je}) translate3d(0, ${gt}px, 0)` : `scale(${je}) translate3d(${gt}px, 0, 0)`
3602
+ transform: Pn(v) ? `scale(${je}) translate3d(0, ${gt}px, 0)` : `scale(${je}) translate3d(${gt}px, 0, 0)`
3603
3603
  }), !Je && ie.current && (ne.current = setTimeout(() => {
3604
3604
  const rt = $p(ie.current, v);
3605
3605
  zn(ie.current, {
3606
3606
  transition: "none",
3607
- transform: kn(v) ? `translate3d(0, ${rt}px, 0)` : `translate3d(${rt}px, 0, 0)`
3607
+ transform: Pn(v) ? `translate3d(0, ${rt}px, 0)` : `translate3d(${rt}px, 0, 0)`
3608
3608
  });
3609
3609
  }, 500));
3610
3610
  }
@@ -3612,15 +3612,15 @@ function t5({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: a, sn
3612
3612
  if (je < 0) return;
3613
3613
  const gt = (window.innerWidth - Wp) / window.innerWidth, rt = gt + je * (1 - gt), ot = -16 + je * Wp;
3614
3614
  zn(ie.current, {
3615
- transform: kn(v) ? `scale(${rt}) translate3d(0, ${ot}px, 0)` : `scale(${rt}) translate3d(${ot}px, 0, 0)`,
3615
+ transform: Pn(v) ? `scale(${rt}) translate3d(0, ${ot}px, 0)` : `scale(${rt}) translate3d(${ot}px, 0, 0)`,
3616
3616
  transition: "none"
3617
3617
  });
3618
3618
  }
3619
3619
  function Pt(Je, je) {
3620
- const gt = kn(v) ? window.innerHeight : window.innerWidth, rt = je ? (gt - Wp) / gt : 1, ot = je ? -16 : 0;
3620
+ const gt = Pn(v) ? window.innerHeight : window.innerWidth, rt = je ? (gt - Wp) / gt : 1, ot = je ? -16 : 0;
3621
3621
  je && zn(ie.current, {
3622
3622
  transition: `transform ${gn.DURATION}s cubic-bezier(${gn.EASE.join(",")})`,
3623
- transform: kn(v) ? `scale(${rt}) translate3d(0, ${ot}px, 0)` : `scale(${rt}) translate3d(${ot}px, 0, 0)`
3623
+ transform: Pn(v) ? `scale(${rt}) translate3d(0, ${ot}px, 0)` : `scale(${rt}) translate3d(${ot}px, 0, 0)`
3624
3624
  });
3625
3625
  }
3626
3626
  return ue.useEffect(() => {
@@ -4559,9 +4559,9 @@ const DJ = ({
4559
4559
  countRows: r = 12,
4560
4560
  countColumns: a = 5,
4561
4561
  hideHeader: i = !1
4562
- }) => /* @__PURE__ */ F(Pn.Root, { className: q("cn-skeleton-table", e), disableHighlightOnHover: !0, children: [
4563
- !i && /* @__PURE__ */ _(Pn.Header, { className: t, children: /* @__PURE__ */ _(Pn.Row, { children: Array.from({ length: a }).map((o, s) => /* @__PURE__ */ _(Pn.Head, { children: /* @__PURE__ */ _(Cn.Typography, { variant: "caption-normal", className: "w-[65px]" }) }, `header-cell-${s}`)) }) }),
4564
- /* @__PURE__ */ _(Pn.Body, { className: n, children: Array.from({ length: r }).map((o, s) => /* @__PURE__ */ _(Pn.Row, { children: Array.from({ length: a }).map((l, c) => /* @__PURE__ */ _(Pn.Cell, { children: /* @__PURE__ */ _(Cn.Typography, { className: "w-full" }) }, `cell-${s}-${c}`)) }, `row-${s}`)) })
4562
+ }) => /* @__PURE__ */ F(Fn.Root, { className: q("cn-skeleton-table", e), disableHighlightOnHover: !0, children: [
4563
+ !i && /* @__PURE__ */ _(Fn.Header, { className: t, children: /* @__PURE__ */ _(Fn.Row, { children: Array.from({ length: a }).map((o, s) => /* @__PURE__ */ _(Fn.Head, { children: /* @__PURE__ */ _(Cn.Typography, { variant: "caption-normal", className: "w-[65px]" }) }, `header-cell-${s}`)) }) }),
4564
+ /* @__PURE__ */ _(Fn.Body, { className: n, children: Array.from({ length: r }).map((o, s) => /* @__PURE__ */ _(Fn.Row, { children: Array.from({ length: a }).map((l, c) => /* @__PURE__ */ _(Fn.Cell, { children: /* @__PURE__ */ _(Cn.Typography, { className: "w-full" }) }, `cell-${s}-${c}`)) }, `row-${s}`)) })
4565
4565
  ] }), wJ = (e, t) => `${Math.floor(Math.random() * (t - e + 1)) + e}px`, xJ = ({ className: e, linesCount: t = 1 }) => /* @__PURE__ */ _(Ye.Vertical, { gap: "4xs", className: q({ "cn-skeleton-file-explorer": t > 1 }, e), children: Array.from({ length: t }).map((n, r) => /* @__PURE__ */ F(Ye.Horizontal, { gap: "2xs", className: "p-cn-2xs", children: [
4566
4566
  /* @__PURE__ */ _(Cn.Icon, { size: "md" }),
4567
4567
  /* @__PURE__ */ _(Cn.Typography, { style: { width: wJ(30, 120) }, className: "w-full" })
@@ -67401,7 +67401,7 @@ function ll(e, t, n, r, a) {
67401
67401
  return ka.set(i, s), s;
67402
67402
  }
67403
67403
  const DB = ka;
67404
- var Vt, nn, rn, Ao, Io, Oo, Do, ps, ms, xl, Ll, So, bo, xi, Li, Nr, xn, Gn, Tn, Hn, mo, Tl, vl, Cl, Nl, cu, xa, cs, Jr, ku, _s, gs, Zn, uu, is, os, du, wi, wB, xB, S1, LB, b1, _x, MB, Ml, kl, Pu, Fu, gx, fx;
67404
+ var Vt, nn, rn, Ao, Io, Oo, Do, ps, ms, xl, Ll, So, bo, xi, Li, Nr, Ln, Gn, Tn, Hn, mo, Tl, vl, Cl, Nl, cu, xa, cs, Jr, ku, _s, gs, Zn, uu, is, os, du, wi, wB, xB, S1, LB, b1, _x, MB, Ml, kl, Pu, Fu, gx, fx;
67405
67405
  let _n = 40;
67406
67406
  const VE = /* @__PURE__ */ new Set();
67407
67407
  class xs {
@@ -67411,13 +67411,13 @@ class xs {
67411
67411
  return n && (n.isFullMerge ? c._mergeFullBundle(n) : c.mergeBundle(n)), c;
67412
67412
  }
67413
67413
  constructor(t, n, r, a, i, o, s, l) {
67414
- Vt.add(this), this.uuid = l, nn.set(this, void 0), rn.set(this, void 0), Ao.set(this, void 0), Io.set(this, void 0), Oo.set(this, void 0), Do.set(this, void 0), ps.set(this, void 0), ms.set(this, void 0), xl.set(this, void 0), Ll.set(this, void 0), So.set(this, void 0), bo.set(this, void 0), xi.set(this, void 0), Li.set(this, void 0), Nr.set(this, []), xn.set(this, []), Gn.set(this, void 0), Tn.set(this, []), Hn.set(this, void 0), mo.set(this, []), Tl.set(this, !1), vl.set(this, !1), Cl.set(this, !1), Nl.set(this, !1), cu.set(this, 0), xa.set(this, !1), cs.set(this, !1), Jr.set(this, !0), ku.set(this, !1), _s.set(this, void 0), gs.set(this, void 0), Zn.set(this, "light"), uu.set(this, void 0), is.set(this, { state: !1 }), os.set(this, { state: !1 }), this._version_ = "0.0.30", this._oldFileName = "", this._oldFileContent = "", this._oldFileLang = "", this._newFileName = "", this._newFileContent = "", this._newFileLang = "", this._diffList = [], this.diffLineLength = 0, this.splitLineLength = 0, this.unifiedLineLength = 0, this.fileLineLength = 0, this.additionLength = 0, this.deletionLength = 0, this.hasSomeLineCollapsed = !1, du.set(this, ""), wi.set(this, /* @__PURE__ */ new Map()), this.getSplitLeftLine = (u) => ee(this, Nr, "f")[u], this.getSplitLineByLineNumber = (u, d) => {
67414
+ Vt.add(this), this.uuid = l, nn.set(this, void 0), rn.set(this, void 0), Ao.set(this, void 0), Io.set(this, void 0), Oo.set(this, void 0), Do.set(this, void 0), ps.set(this, void 0), ms.set(this, void 0), xl.set(this, void 0), Ll.set(this, void 0), So.set(this, void 0), bo.set(this, void 0), xi.set(this, void 0), Li.set(this, void 0), Nr.set(this, []), Ln.set(this, []), Gn.set(this, void 0), Tn.set(this, []), Hn.set(this, void 0), mo.set(this, []), Tl.set(this, !1), vl.set(this, !1), Cl.set(this, !1), Nl.set(this, !1), cu.set(this, 0), xa.set(this, !1), cs.set(this, !1), Jr.set(this, !0), ku.set(this, !1), _s.set(this, void 0), gs.set(this, void 0), Zn.set(this, "light"), uu.set(this, void 0), is.set(this, { state: !1 }), os.set(this, { state: !1 }), this._version_ = "0.0.30", this._oldFileName = "", this._oldFileContent = "", this._oldFileLang = "", this._newFileName = "", this._newFileContent = "", this._newFileLang = "", this._diffList = [], this.diffLineLength = 0, this.splitLineLength = 0, this.unifiedLineLength = 0, this.fileLineLength = 0, this.additionLength = 0, this.deletionLength = 0, this.hasSomeLineCollapsed = !1, du.set(this, ""), wi.set(this, /* @__PURE__ */ new Map()), this.getSplitLeftLine = (u) => ee(this, Nr, "f")[u], this.getSplitLineByLineNumber = (u, d) => {
67415
67415
  var p, m;
67416
- return d === we.old ? (p = ee(this, Nr, "f")) === null || p === void 0 ? void 0 : p.find((g) => g.lineNumber === u) : (m = ee(this, xn, "f")) === null || m === void 0 ? void 0 : m.find((g) => g.lineNumber === u);
67416
+ return d === we.old ? (p = ee(this, Nr, "f")) === null || p === void 0 ? void 0 : p.find((g) => g.lineNumber === u) : (m = ee(this, Ln, "f")) === null || m === void 0 ? void 0 : m.find((g) => g.lineNumber === u);
67417
67417
  }, this.getSplitLineIndexByLineNumber = (u, d) => {
67418
67418
  var p, m;
67419
- return d === we.old ? (p = ee(this, Nr, "f")) === null || p === void 0 ? void 0 : p.findIndex((g) => g.lineNumber === u) : (m = ee(this, xn, "f")) === null || m === void 0 ? void 0 : m.findIndex((g) => g.lineNumber === u);
67420
- }, this.getSplitRightLine = (u) => ee(this, xn, "f")[u], this.getSplitHunkLine = (u) => {
67419
+ return d === we.old ? (p = ee(this, Nr, "f")) === null || p === void 0 ? void 0 : p.findIndex((g) => g.lineNumber === u) : (m = ee(this, Ln, "f")) === null || m === void 0 ? void 0 : m.findIndex((g) => g.lineNumber === u);
67420
+ }, this.getSplitRightLine = (u) => ee(this, Ln, "f")[u], this.getSplitHunkLine = (u) => {
67421
67421
  var d;
67422
67422
  return (d = ee(this, Gn, "f")) === null || d === void 0 ? void 0 : d[u];
67423
67423
  }, this.onSplitHunkExpand = (u, d, p = !0) => {
@@ -67426,13 +67426,13 @@ class xs {
67426
67426
  if (!(!f || !f.splitInfo) && !ee(this, xa, "f")) {
67427
67427
  if (u === "all") {
67428
67428
  for (let E = f.splitInfo.startHiddenIndex; E < f.splitInfo.endHiddenIndex; E++) {
67429
- const h = ee(this, Nr, "f")[E], b = ee(this, xn, "f")[E];
67429
+ const h = ee(this, Nr, "f")[E], b = ee(this, Ln, "f")[E];
67430
67430
  h != null && h.isHidden && (h.isHidden = !1), b != null && b.isHidden && (b.isHidden = !1);
67431
67431
  }
67432
67432
  f.splitInfo = Object.assign(Object.assign(Object.assign({}, f.splitInfo), f.hunkInfo), { plainText: f.text, startHiddenIndex: f.splitInfo.endHiddenIndex });
67433
67433
  } else if (u === "down") {
67434
67434
  for (let E = f.splitInfo.startHiddenIndex; E < f.splitInfo.startHiddenIndex + _n; E++) {
67435
- const h = ee(this, Nr, "f")[E], b = ee(this, xn, "f")[E];
67435
+ const h = ee(this, Nr, "f")[E], b = ee(this, Ln, "f")[E];
67436
67436
  h != null && h.isHidden && (h.isHidden = !1), b != null && b.isHidden && (b.isHidden = !1);
67437
67437
  }
67438
67438
  f.isLast ? f.splitInfo = Object.assign(Object.assign({}, f.splitInfo), { startHiddenIndex: f.splitInfo.startHiddenIndex + _n }) : f.splitInfo = Object.assign(Object.assign({}, f.splitInfo), { startHiddenIndex: f.splitInfo.startHiddenIndex + _n, plainText: `@@ -${f.splitInfo.oldStartIndex},${f.splitInfo.oldLength} +${f.splitInfo.newStartIndex},${f.splitInfo.newLength}` });
@@ -67442,7 +67442,7 @@ class xs {
67442
67442
  return;
67443
67443
  }
67444
67444
  for (let v = f.splitInfo.endHiddenIndex - _n; v < f.splitInfo.endHiddenIndex; v++) {
67445
- const N = ee(this, Nr, "f")[v], R = ee(this, xn, "f")[v];
67445
+ const N = ee(this, Nr, "f")[v], R = ee(this, Ln, "f")[v];
67446
67446
  N != null && N.isHidden && (N.isHidden = !1), R != null && R.isHidden && (R.isHidden = !1);
67447
67447
  }
67448
67448
  const E = f.splitInfo.oldStartIndex - _n, h = f.splitInfo.oldLength + _n, b = f.splitInfo.newStartIndex - _n, T = f.splitInfo.newLength + _n;
@@ -67514,7 +67514,7 @@ class xs {
67514
67514
  }, this.onAllCollapse = (u) => {
67515
67515
  ee(this, xa, "f") || (u === "split" ? (Object.values(ee(this, Nr, "f") || {}).forEach((d) => {
67516
67516
  !d.isHidden && d._isHidden && (d.isHidden = d._isHidden);
67517
- }), Object.values(ee(this, xn, "f") || {}).forEach((d) => {
67517
+ }), Object.values(ee(this, Ln, "f") || {}).forEach((d) => {
67518
67518
  !d.isHidden && d._isHidden && (d.isHidden = d._isHidden);
67519
67519
  }), Object.values(ee(this, Gn, "f") || {}).forEach((d) => {
67520
67520
  d.splitInfo && (d.splitInfo = Object.assign(Object.assign({}, d.splitInfo), { oldStartIndex: d.splitInfo._oldStartIndex, oldLength: d.splitInfo._oldLength, newStartIndex: d.splitInfo._newStartIndex, newLength: d.splitInfo._newLength, startHiddenIndex: d.splitInfo._startHiddenIndex, endHiddenIndex: d.splitInfo._endHiddenIndex, plainText: d.splitInfo._plainText }));
@@ -67557,7 +67557,7 @@ class xs {
67557
67557
  m.notifyAll(!0);
67558
67558
  });
67559
67559
  }, this.getUpdateCount = () => ee(this, cu, "f"), this.getExpandEnabled = () => !ee(this, xa, "f"), this.getBundle = () => {
67560
- const u = ee(this, Tl, "f"), d = ee(this, vl, "f"), p = ee(this, Cl, "f"), m = ee(this, Nl, "f"), g = ee(this, ps, "f"), f = ee(this, Oo, "f"), E = ee(this, xl, "f"), h = ee(this, So, "f"), b = ee(this, xi, "f"), T = ee(this, ms, "f"), v = ee(this, Do, "f"), N = ee(this, Ll, "f"), R = ee(this, bo, "f"), y = ee(this, Li, "f"), I = this.splitLineLength, x = this.unifiedLineLength, D = this.fileLineLength, A = this.additionLength, L = this.deletionLength, O = ee(this, xa, "f"), G = ee(this, _s, "f"), H = ee(this, gs, "f"), z = this.hasSomeLineCollapsed, Y = ee(this, is, "f"), U = ee(this, os, "f"), B = ee(this, Nr, "f"), M = ee(this, xn, "f"), Z = ee(this, Gn, "f"), $ = ee(this, Tn, "f"), w = ee(this, Hn, "f"), P = this._version_, k = ee(this, Zn, "f"), V = ee(this, Jr, "f");
67560
+ const u = ee(this, Tl, "f"), d = ee(this, vl, "f"), p = ee(this, Cl, "f"), m = ee(this, Nl, "f"), g = ee(this, ps, "f"), f = ee(this, Oo, "f"), E = ee(this, xl, "f"), h = ee(this, So, "f"), b = ee(this, xi, "f"), T = ee(this, ms, "f"), v = ee(this, Do, "f"), N = ee(this, Ll, "f"), R = ee(this, bo, "f"), y = ee(this, Li, "f"), I = this.splitLineLength, x = this.unifiedLineLength, D = this.fileLineLength, A = this.additionLength, L = this.deletionLength, O = ee(this, xa, "f"), G = ee(this, _s, "f"), H = ee(this, gs, "f"), z = this.hasSomeLineCollapsed, Y = ee(this, is, "f"), U = ee(this, os, "f"), B = ee(this, Nr, "f"), M = ee(this, Ln, "f"), Z = ee(this, Gn, "f"), $ = ee(this, Tn, "f"), w = ee(this, Hn, "f"), P = this._version_, k = ee(this, Zn, "f"), V = ee(this, Jr, "f");
67561
67561
  return {
67562
67562
  hasInitRaw: u,
67563
67563
  hasInitSyntax: d,
@@ -67595,7 +67595,7 @@ class xs {
67595
67595
  isFullMerge: !1
67596
67596
  };
67597
67597
  }, this.mergeBundle = (u, d = !0) => {
67598
- We(this, Tl, u.hasInitRaw), We(this, vl, u.hasInitSyntax), We(this, Cl, u.hasBuildSplit), We(this, Nl, u.hasBuildUnified), We(this, xa, u.composeByDiff), We(this, _s, u.highlighterName), We(this, gs, u.highlighterType), We(this, ps, u.oldFileLines), We(this, Oo, u.oldFileDiffLines), We(this, xl, u.oldFilePlainLines), We(this, So, u.oldFileSyntaxLines), We(this, xi, u.oldFilePlaceholderLines), We(this, ms, u.newFileLines), We(this, Do, u.newFileDiffLines), We(this, Ll, u.newFilePlainLines), We(this, bo, u.newFileSyntaxLines), We(this, Li, u.newFilePlaceholderLines), this.splitLineLength = u.splitLineLength, this.unifiedLineLength = u.unifiedLineLength, this.fileLineLength = u.fileLineLength, this.additionLength = u.additionLength, this.deletionLength = u.deletionLength, this.hasSomeLineCollapsed = u.hasSomeLineCollapsed, We(this, is, u.hasExpandSplitAll), We(this, os, u.hasExpandUnifiedAll), We(this, Nr, u.splitLeftLines), We(this, xn, u.splitRightLines), We(this, Gn, u.splitHunkLines), We(this, Tn, u.unifiedLines), We(this, Hn, u.unifiedHunkLines), We(this, Zn, u.theme), We(this, Jr, u.enableTemplate), We(this, cs, !0), process.env.NODE_ENV === "development" && this._version_ !== u.version && console.error("the version of the `diffInstance` is not match, some error may happen"), process.env.NODE_ENV === "development" && !u.hasInitRaw && console.error("there are not a valid bundle data, try to call 'initRaw' function before merge / getBundle"), d && this.notifyAll();
67598
+ We(this, Tl, u.hasInitRaw), We(this, vl, u.hasInitSyntax), We(this, Cl, u.hasBuildSplit), We(this, Nl, u.hasBuildUnified), We(this, xa, u.composeByDiff), We(this, _s, u.highlighterName), We(this, gs, u.highlighterType), We(this, ps, u.oldFileLines), We(this, Oo, u.oldFileDiffLines), We(this, xl, u.oldFilePlainLines), We(this, So, u.oldFileSyntaxLines), We(this, xi, u.oldFilePlaceholderLines), We(this, ms, u.newFileLines), We(this, Do, u.newFileDiffLines), We(this, Ll, u.newFilePlainLines), We(this, bo, u.newFileSyntaxLines), We(this, Li, u.newFilePlaceholderLines), this.splitLineLength = u.splitLineLength, this.unifiedLineLength = u.unifiedLineLength, this.fileLineLength = u.fileLineLength, this.additionLength = u.additionLength, this.deletionLength = u.deletionLength, this.hasSomeLineCollapsed = u.hasSomeLineCollapsed, We(this, is, u.hasExpandSplitAll), We(this, os, u.hasExpandUnifiedAll), We(this, Nr, u.splitLeftLines), We(this, Ln, u.splitRightLines), We(this, Gn, u.splitHunkLines), We(this, Tn, u.unifiedLines), We(this, Hn, u.unifiedHunkLines), We(this, Zn, u.theme), We(this, Jr, u.enableTemplate), We(this, cs, !0), process.env.NODE_ENV === "development" && this._version_ !== u.version && console.error("the version of the `diffInstance` is not match, some error may happen"), process.env.NODE_ENV === "development" && !u.hasInitRaw && console.error("there are not a valid bundle data, try to call 'initRaw' function before merge / getBundle"), d && this.notifyAll();
67599
67599
  }, this._getHighlighterName = () => ee(this, _s, "f") || "", this._getIsPureDiffRender = () => ee(this, xa, "f"), this._getTheme = () => ee(this, Zn, "f"), this._addClonedInstance = (u) => {
67600
67600
  const d = () => {
67601
67601
  this._notifyOthers(u), this._mergeFullBundle(u._getFullBundle(), !1);
@@ -67629,7 +67629,7 @@ class xs {
67629
67629
  }, this._destroy = () => {
67630
67630
  this.clearId(), ee(this, mo, "f").splice(0, ee(this, mo, "f").length), ee(this, wi, "f").forEach((u) => u()), ee(this, wi, "f").clear();
67631
67631
  }, this.clear = () => {
67632
- this._destroy(), We(this, nn, null), We(this, rn, null), We(this, Io, null), We(this, Ao, null), We(this, Do, null), We(this, Oo, null), We(this, ms, null), We(this, ps, null), We(this, bo, null), We(this, So, null), We(this, Gn, null), We(this, Nr, null), We(this, xn, null), We(this, Hn, null), We(this, Tn, null), We(this, Zn, void 0);
67632
+ this._destroy(), We(this, nn, null), We(this, rn, null), We(this, Io, null), We(this, Ao, null), We(this, Do, null), We(this, Oo, null), We(this, ms, null), We(this, ps, null), We(this, bo, null), We(this, So, null), We(this, Gn, null), We(this, Nr, null), We(this, Ln, null), We(this, Hn, null), We(this, Tn, null), We(this, Zn, void 0);
67633
67633
  }, Object.defineProperty(this, "__v_skip", { value: !0 });
67634
67634
  const c = Array.from(new Set(i));
67635
67635
  this._oldFileName = t, this._newFileName = r, this._diffList = c, this._oldFileLang = px(o || t || s || r) || "txt", this._newFileLang = px(s || r || o || t) || "txt", this._oldFileContent = n, this._newFileContent = a, this.initId();
@@ -67674,7 +67674,7 @@ class xs {
67674
67674
  let s = 1, l = 1, c = !0, u = 1 / 0;
67675
67675
  const d = ((t = ee(this, nn, "f")) === null || t === void 0 ? void 0 : t.maxLineNumber) || 0, p = ((n = ee(this, rn, "f")) === null || n === void 0 ? void 0 : n.maxLineNumber) || 0;
67676
67676
  for (process.env.NODE_ENV === "development" && !ee(this, nn, "f") && !ee(this, rn, "f") && ee(this, cs, "f") && console.error("this instance can not `buildSplitDiffLines` because of the data missing, try to use '_getFullBundle' & '_mergeFullBundle' instead of 'getBundle' & 'mergeBundle'"); s <= d || l <= p; ) {
67677
- const m = ee(this, Vt, "m", Ml).call(this, s), g = ee(this, Vt, "m", kl).call(this, l), f = ee(this, Vt, "m", Pu).call(this, s), E = ee(this, Vt, "m", Fu).call(this, l), h = ta.prototype.isIncludeableLine.call(m || {}), b = ta.prototype.isIncludeableLine.call(g || {}), T = ee(this, xn, "f").length, v = !m && !g;
67677
+ const m = ee(this, Vt, "m", Ml).call(this, s), g = ee(this, Vt, "m", kl).call(this, l), f = ee(this, Vt, "m", Pu).call(this, s), E = ee(this, Vt, "m", Fu).call(this, l), h = ta.prototype.isIncludeableLine.call(m || {}), b = ta.prototype.isIncludeableLine.call(g || {}), T = ee(this, Ln, "f").length, v = !m && !g;
67678
67678
  if (m && !g) {
67679
67679
  if (m.newLineNumber && m.newLineNumber > l) {
67680
67680
  l++;
@@ -67711,7 +67711,7 @@ class xs {
67711
67711
  diff: m,
67712
67712
  isHidden: v,
67713
67713
  _isHidden: v
67714
- }), ee(this, xn, "f").push({
67714
+ }), ee(this, Ln, "f").push({
67715
67715
  lineNumber: l++,
67716
67716
  value: E,
67717
67717
  diff: g,
@@ -67723,7 +67723,7 @@ class xs {
67723
67723
  diff: m,
67724
67724
  isHidden: v,
67725
67725
  _isHidden: v
67726
- }), ee(this, xn, "f").push({})) : b && (ee(this, Nr, "f").push({}), ee(this, xn, "f").push({
67726
+ }), ee(this, Ln, "f").push({})) : b && (ee(this, Nr, "f").push({}), ee(this, Ln, "f").push({
67727
67727
  lineNumber: l++,
67728
67728
  value: E,
67729
67729
  diff: g,
@@ -67738,9 +67738,9 @@ class xs {
67738
67738
  const g = new ta("", hn.Hunk, null, null, null);
67739
67739
  g.isLast = !0, g.splitInfo = {
67740
67740
  startHiddenIndex: u,
67741
- endHiddenIndex: ee(this, xn, "f").length,
67741
+ endHiddenIndex: ee(this, Ln, "f").length,
67742
67742
  _startHiddenIndex: u,
67743
- _endHiddenIndex: ee(this, xn, "f").length,
67743
+ _endHiddenIndex: ee(this, Ln, "f").length,
67744
67744
  // just for placeholder
67745
67745
  plainText: "",
67746
67746
  oldStartIndex: 0,
@@ -67752,9 +67752,9 @@ class xs {
67752
67752
  _newStartIndex: 0,
67753
67753
  _oldLength: 0,
67754
67754
  _newLength: 0
67755
- }, We(this, Gn, Object.assign(Object.assign({}, ee(this, Gn, "f")), { [ee(this, xn, "f").length]: g })), u = 1 / 0;
67755
+ }, We(this, Gn, Object.assign(Object.assign({}, ee(this, Gn, "f")), { [ee(this, Ln, "f").length]: g })), u = 1 / 0;
67756
67756
  }
67757
- this.splitLineLength = ee(this, xn, "f").length, We(this, Cl, !0), this.notifyAll();
67757
+ this.splitLineLength = ee(this, Ln, "f").length, We(this, Cl, !0), this.notifyAll();
67758
67758
  }
67759
67759
  buildUnifiedDiffLines() {
67760
67760
  var t, n, r, a, i, o;
@@ -67847,7 +67847,7 @@ class xs {
67847
67847
  return ee(this, os, "f").state;
67848
67848
  }
67849
67849
  }
67850
- nn = /* @__PURE__ */ new WeakMap(), rn = /* @__PURE__ */ new WeakMap(), Ao = /* @__PURE__ */ new WeakMap(), Io = /* @__PURE__ */ new WeakMap(), Oo = /* @__PURE__ */ new WeakMap(), Do = /* @__PURE__ */ new WeakMap(), ps = /* @__PURE__ */ new WeakMap(), ms = /* @__PURE__ */ new WeakMap(), xl = /* @__PURE__ */ new WeakMap(), Ll = /* @__PURE__ */ new WeakMap(), So = /* @__PURE__ */ new WeakMap(), bo = /* @__PURE__ */ new WeakMap(), xi = /* @__PURE__ */ new WeakMap(), Li = /* @__PURE__ */ new WeakMap(), Nr = /* @__PURE__ */ new WeakMap(), xn = /* @__PURE__ */ new WeakMap(), Gn = /* @__PURE__ */ new WeakMap(), Tn = /* @__PURE__ */ new WeakMap(), Hn = /* @__PURE__ */ new WeakMap(), mo = /* @__PURE__ */ new WeakMap(), Tl = /* @__PURE__ */ new WeakMap(), vl = /* @__PURE__ */ new WeakMap(), Cl = /* @__PURE__ */ new WeakMap(), Nl = /* @__PURE__ */ new WeakMap(), cu = /* @__PURE__ */ new WeakMap(), xa = /* @__PURE__ */ new WeakMap(), cs = /* @__PURE__ */ new WeakMap(), Jr = /* @__PURE__ */ new WeakMap(), ku = /* @__PURE__ */ new WeakMap(), _s = /* @__PURE__ */ new WeakMap(), gs = /* @__PURE__ */ new WeakMap(), Zn = /* @__PURE__ */ new WeakMap(), uu = /* @__PURE__ */ new WeakMap(), is = /* @__PURE__ */ new WeakMap(), os = /* @__PURE__ */ new WeakMap(), du = /* @__PURE__ */ new WeakMap(), wi = /* @__PURE__ */ new WeakMap(), Vt = /* @__PURE__ */ new WeakSet(), wB = function() {
67850
+ nn = /* @__PURE__ */ new WeakMap(), rn = /* @__PURE__ */ new WeakMap(), Ao = /* @__PURE__ */ new WeakMap(), Io = /* @__PURE__ */ new WeakMap(), Oo = /* @__PURE__ */ new WeakMap(), Do = /* @__PURE__ */ new WeakMap(), ps = /* @__PURE__ */ new WeakMap(), ms = /* @__PURE__ */ new WeakMap(), xl = /* @__PURE__ */ new WeakMap(), Ll = /* @__PURE__ */ new WeakMap(), So = /* @__PURE__ */ new WeakMap(), bo = /* @__PURE__ */ new WeakMap(), xi = /* @__PURE__ */ new WeakMap(), Li = /* @__PURE__ */ new WeakMap(), Nr = /* @__PURE__ */ new WeakMap(), Ln = /* @__PURE__ */ new WeakMap(), Gn = /* @__PURE__ */ new WeakMap(), Tn = /* @__PURE__ */ new WeakMap(), Hn = /* @__PURE__ */ new WeakMap(), mo = /* @__PURE__ */ new WeakMap(), Tl = /* @__PURE__ */ new WeakMap(), vl = /* @__PURE__ */ new WeakMap(), Cl = /* @__PURE__ */ new WeakMap(), Nl = /* @__PURE__ */ new WeakMap(), cu = /* @__PURE__ */ new WeakMap(), xa = /* @__PURE__ */ new WeakMap(), cs = /* @__PURE__ */ new WeakMap(), Jr = /* @__PURE__ */ new WeakMap(), ku = /* @__PURE__ */ new WeakMap(), _s = /* @__PURE__ */ new WeakMap(), gs = /* @__PURE__ */ new WeakMap(), Zn = /* @__PURE__ */ new WeakMap(), uu = /* @__PURE__ */ new WeakMap(), is = /* @__PURE__ */ new WeakMap(), os = /* @__PURE__ */ new WeakMap(), du = /* @__PURE__ */ new WeakMap(), wi = /* @__PURE__ */ new WeakMap(), Vt = /* @__PURE__ */ new WeakSet(), wB = function() {
67851
67851
  this._diffList && We(this, Ao, this._diffList.map((t) => B_e.parse(t)));
67852
67852
  }, xB = function() {
67853
67853
  !this._oldFileContent && !this._newFileContent || (this._oldFileContent && (We(this, nn, ll(this._oldFileContent, this._oldFileLang, ee(this, Zn, "f"), this._oldFileName, this.uuid ? this.uuid + "-old" : void 0)), ee(this, nn, "f").enableTemplate = ee(this, Jr, "f")), this._newFileContent && (We(this, rn, ll(this._newFileContent, this._newFileLang, ee(this, Zn, "f"), this._newFileName, this.uuid ? this.uuid + "-new" : void 0)), ee(this, rn, "f").enableTemplate = ee(this, Jr, "f")));
@@ -69890,11 +69890,11 @@ const rfe = () => {
69890
69890
  );
69891
69891
  }, ry = At(null);
69892
69892
  ry.displayName = "DiffViewContext";
69893
- const wn = () => it(ry), Qg = At(null);
69893
+ const xn = () => it(ry), Qg = At(null);
69894
69894
  Qg.displayName = "DiffWidgetContext";
69895
69895
  const ro = () => it(Qg), ufe = ({ index: e, diffFile: t, lineNumber: n, side: r, enableAddWidget: a, enableHighlight: i }) => {
69896
69896
  var o, s;
69897
- const l = r === we.old ? t.getOldSyntaxLine : t.getNewSyntaxLine, c = r === we.old ? t.getOldPlainLine : t.getNewPlainLine, u = t.getSplitLeftLine(e), d = t.getSplitRightLine(e), p = r === we.old ? u : d, m = !!(p != null && p.diff), g = !!(p != null && p.lineNumber), f = w_(p == null ? void 0 : p.diff), E = ((o = p == null ? void 0 : p.diff) === null || o === void 0 ? void 0 : o.type) === hn.Add, h = ((s = p == null ? void 0 : p.diff) === null || s === void 0 ? void 0 : s.type) === hn.Delete, { useDiffContext: b } = wn(), T = b.getReadonlyState().onAddWidgetClick, { useWidget: v } = ro(), N = v.getReadonlyState().setWidget, R = Y1(E, h, m), y = z1(E, h, m), I = l(p.lineNumber), x = c(p.lineNumber);
69897
+ const l = r === we.old ? t.getOldSyntaxLine : t.getNewSyntaxLine, c = r === we.old ? t.getOldPlainLine : t.getNewPlainLine, u = t.getSplitLeftLine(e), d = t.getSplitRightLine(e), p = r === we.old ? u : d, m = !!(p != null && p.diff), g = !!(p != null && p.lineNumber), f = w_(p == null ? void 0 : p.diff), E = ((o = p == null ? void 0 : p.diff) === null || o === void 0 ? void 0 : o.type) === hn.Add, h = ((s = p == null ? void 0 : p.diff) === null || s === void 0 ? void 0 : s.type) === hn.Delete, { useDiffContext: b } = xn(), T = b.getReadonlyState().onAddWidgetClick, { useWidget: v } = ro(), N = v.getReadonlyState().setWidget, R = Y1(E, h, m), y = z1(E, h, m), I = l(p.lineNumber), x = c(p.lineNumber);
69898
69898
  return S.createElement("tr", { "data-line": n, "data-state": m || !g ? "diff" : "plain", "data-side": we[r], className: "diff-line" + (g ? " group" : "") }, g ? S.createElement(
69899
69899
  S.Fragment,
69900
69900
  null,
@@ -69927,7 +69927,7 @@ const ro = () => it(Qg), ufe = ({ index: e, diffFile: t, lineNumber: n, side: r,
69927
69927
  const s = (r === we.old ? t.getSplitLeftLine : t.getSplitRightLine)(e);
69928
69928
  return s != null && s.isHidden ? null : S.createElement(ufe, { index: e, diffFile: t, lineNumber: n, side: r, enableAddWidget: a, enableHighlight: i });
69929
69929
  }, Xg = ({ selector: e, enable: t }) => {
69930
- const [n, r] = Se(0), { useDiffContext: a } = wn(), { id: i, mounted: o } = a.useShallowStableSelector((s) => ({ id: s.id, mounted: s.mounted }));
69930
+ const [n, r] = Se(0), { useDiffContext: a } = xn(), { id: i, mounted: o } = a.useShallowStableSelector((s) => ({ id: s.id, mounted: s.mounted }));
69931
69931
  return be(() => {
69932
69932
  if (t) {
69933
69933
  const s = document.querySelector(`#diff-root${i}`), l = s == null ? void 0 : s.querySelector(e);
@@ -69951,7 +69951,7 @@ const ro = () => it(Qg), ufe = ({ index: e, diffFile: t, lineNumber: n, side: r,
69951
69951
  }
69952
69952
  }, [e, t, i, o]), n;
69953
69953
  }, jg = ({ selector: e, wrapper: t, side: n, enable: r }) => {
69954
- const { useDiffContext: a } = wn(), { id: i, mounted: o } = a.useShallowStableSelector((s) => ({ id: s.id, mounted: s.mounted }));
69954
+ const { useDiffContext: a } = xn(), { id: i, mounted: o } = a.useShallowStableSelector((s) => ({ id: s.id, mounted: s.mounted }));
69955
69955
  be(() => {
69956
69956
  if (r) {
69957
69957
  const s = document.querySelector(`#diff-root${i}`), l = Array.from((s == null ? void 0 : s.querySelectorAll(e)) || []), c = t ? Array.from((s == null ? void 0 : s.querySelectorAll(t)) || []) : l;
@@ -69975,7 +69975,7 @@ const ro = () => it(Qg), ufe = ({ index: e, diffFile: t, lineNumber: n, side: r,
69975
69975
  }
69976
69976
  }, [e, r, n, i, t, o]);
69977
69977
  }, pfe = ({ index: e, diffFile: t, oldLineExtend: n, newLineExtend: r, side: a, lineNumber: i }) => {
69978
- const { useDiffContext: o } = wn(), s = t.getSplitLeftLine(e), l = t.getSplitRightLine(e), c = o.useShallowStableSelector((h) => h.renderExtendLine), u = a === we.old ? n : r, d = a === we.old ? we.new : we.old, p = a === we.old ? s.lineNumber : l.lineNumber, m = (u == null ? void 0 : u.data) !== void 0 && (u == null ? void 0 : u.data) !== null, g = (n == null ? void 0 : n.data) !== void 0 && (n == null ? void 0 : n.data) !== null || (r == null ? void 0 : r.data) !== void 0 && (r == null ? void 0 : r.data) !== null, f = g && (c == null ? void 0 : c({
69978
+ const { useDiffContext: o } = xn(), s = t.getSplitLeftLine(e), l = t.getSplitRightLine(e), c = o.useShallowStableSelector((h) => h.renderExtendLine), u = a === we.old ? n : r, d = a === we.old ? we.new : we.old, p = a === we.old ? s.lineNumber : l.lineNumber, m = (u == null ? void 0 : u.data) !== void 0 && (u == null ? void 0 : u.data) !== null, g = (n == null ? void 0 : n.data) !== void 0 && (n == null ? void 0 : n.data) !== null || (r == null ? void 0 : r.data) !== void 0 && (r == null ? void 0 : r.data) !== null, f = g && (c == null ? void 0 : c({
69979
69979
  diffFile: t,
69980
69980
  side: a,
69981
69981
  lineNumber: p,
@@ -70002,7 +70002,7 @@ const ro = () => it(Qg), ufe = ({ index: e, diffFile: t, lineNumber: n, side: r,
70002
70002
  S.createElement("div", { "data-line": `${i}-extend-content`, "data-side": we[a] })
70003
70003
  )) : null;
70004
70004
  }, mfe = ({ index: e, diffFile: t, side: n, lineNumber: r }) => {
70005
- const { useDiffContext: a } = wn(), i = t.getSplitLeftLine(e), o = t.getSplitRightLine(e), { oldLineExtend: s, newLineExtend: l } = a(S.useCallback((m) => {
70005
+ const { useDiffContext: a } = xn(), i = t.getSplitLeftLine(e), o = t.getSplitRightLine(e), { oldLineExtend: s, newLineExtend: l } = a(S.useCallback((m) => {
70006
70006
  var g, f, E, h;
70007
70007
  return {
70008
70008
  oldLineExtend: (f = (g = m.extendData) === null || g === void 0 ? void 0 : g.oldFile) === null || f === void 0 ? void 0 : f[i == null ? void 0 : i.lineNumber],
@@ -70131,13 +70131,13 @@ const ro = () => it(Qg), ufe = ({ index: e, diffFile: t, lineNumber: n, side: r,
70131
70131
  )
70132
70132
  );
70133
70133
  }, ffe = ({ index: e, diffFile: t, side: n, lineNumber: r }) => {
70134
- const { useDiffContext: a } = wn(), i = a.useShallowStableSelector((o) => o.mode);
70134
+ const { useDiffContext: a } = xn(), i = a.useShallowStableSelector((o) => o.mode);
70135
70135
  return i === aa.SplitGitHub || i === aa.Split || i === aa.Unified ? S.createElement(_fe, { index: e, diffFile: t, side: n, lineNumber: r }) : S.createElement(gfe, { index: e, diffFile: t, side: n, lineNumber: r });
70136
70136
  }, wx = ({ index: e, diffFile: t, side: n, lineNumber: r }) => {
70137
70137
  const a = t.getSplitHunkLine(e), i = a && a.splitInfo && a.splitInfo.startHiddenIndex < a.splitInfo.endHiddenIndex, o = a && t._getIsPureDiffRender() && !a.splitInfo;
70138
70138
  return !i && !o ? null : S.createElement(ffe, { index: e, diffFile: t, side: n, lineNumber: r });
70139
70139
  }, Efe = ({ index: e, side: t, diffFile: n, lineNumber: r }) => {
70140
- const { useWidget: a } = ro(), { useDiffContext: i } = wn(), o = n.getSplitLeftLine(e), s = n.getSplitRightLine(e), l = a.useShallowStableSelector((v) => v.widgetSide), c = a.getReadonlyState().widgetLineNumber, u = a.getReadonlyState().setWidget, d = o.lineNumber && l === we.old && c === o.lineNumber, p = s.lineNumber && l === we.new && c === s.lineNumber, m = t === we.old ? o : s, g = t === we.old ? we.new : we.old, f = t === we.old ? d : p, E = d || p, h = i.useShallowStableSelector((v) => v.renderWidgetLine), b = f && (h == null ? void 0 : h({
70140
+ const { useWidget: a } = ro(), { useDiffContext: i } = xn(), o = n.getSplitLeftLine(e), s = n.getSplitRightLine(e), l = a.useShallowStableSelector((v) => v.widgetSide), c = a.getReadonlyState().widgetLineNumber, u = a.getReadonlyState().setWidget, d = o.lineNumber && l === we.old && c === o.lineNumber, p = s.lineNumber && l === we.new && c === s.lineNumber, m = t === we.old ? o : s, g = t === we.old ? we.new : we.old, f = t === we.old ? d : p, E = d || p, h = i.useShallowStableSelector((v) => v.renderWidgetLine), b = f && (h == null ? void 0 : h({
70141
70141
  diffFile: n,
70142
70142
  side: t,
70143
70143
  lineNumber: m.lineNumber,
@@ -70214,7 +70214,7 @@ const ro = () => it(Qg), ufe = ({ index: e, diffFile: t, lineNumber: n, side: r,
70214
70214
  )
70215
70215
  );
70216
70216
  }, mG = Qa(({ diffFile: e }) => {
70217
- const t = Re(null), n = Re(null), r = Re(), a = Re(), i = Math.max(e.splitLineLength, e.fileLineLength), { useDiffContext: o } = wn(), { fontSize: s, enableAddWidget: l, enableHighlight: c } = o.useShallowStableSelector((f) => ({
70217
+ const t = Re(null), n = Re(null), r = Re(), a = Re(), i = Math.max(e.splitLineLength, e.fileLineLength), { useDiffContext: o } = xn(), { fontSize: s, enableAddWidget: l, enableHighlight: c } = o.useShallowStableSelector((f) => ({
70218
70218
  fontSize: f.fontSize,
70219
70219
  enableAddWidget: f.enableAddWidget,
70220
70220
  enableHighlight: f.enableHighlight
@@ -70286,7 +70286,7 @@ const ro = () => it(Qg), ufe = ({ index: e, diffFile: t, lineNumber: n, side: r,
70286
70286
  mG.displayName = "DiffSplitViewNormal";
70287
70287
  const Sfe = ({ index: e, diffFile: t, lineNumber: n, enableAddWidget: r, enableHighlight: a }) => {
70288
70288
  var i, o;
70289
- const s = t.getSplitLeftLine(e), l = t.getSplitRightLine(e), c = t.getOldSyntaxLine(s == null ? void 0 : s.lineNumber), u = t.getOldPlainLine(s.lineNumber), d = t.getNewSyntaxLine(l == null ? void 0 : l.lineNumber), p = t.getNewPlainLine(l.lineNumber), m = !!(s != null && s.diff) || !!(l != null && l.diff), g = w_(s == null ? void 0 : s.diff) || w_(l == null ? void 0 : l.diff), f = ((i = s == null ? void 0 : s.diff) === null || i === void 0 ? void 0 : i.type) === hn.Delete, E = ((o = l == null ? void 0 : l.diff) === null || o === void 0 ? void 0 : o.type) === hn.Add, { useDiffContext: h } = wn(), b = h.getReadonlyState().onAddWidgetClick, { useWidget: T } = ro(), v = T.getReadonlyState().setWidget, N = !!s.lineNumber, R = !!l.lineNumber, y = Y1(!1, f, m), I = z1(!1, f, m), x = Y1(E, !1, m), D = z1(E, !1, m);
70289
+ const s = t.getSplitLeftLine(e), l = t.getSplitRightLine(e), c = t.getOldSyntaxLine(s == null ? void 0 : s.lineNumber), u = t.getOldPlainLine(s.lineNumber), d = t.getNewSyntaxLine(l == null ? void 0 : l.lineNumber), p = t.getNewPlainLine(l.lineNumber), m = !!(s != null && s.diff) || !!(l != null && l.diff), g = w_(s == null ? void 0 : s.diff) || w_(l == null ? void 0 : l.diff), f = ((i = s == null ? void 0 : s.diff) === null || i === void 0 ? void 0 : i.type) === hn.Delete, E = ((o = l == null ? void 0 : l.diff) === null || o === void 0 ? void 0 : o.type) === hn.Add, { useDiffContext: h } = xn(), b = h.getReadonlyState().onAddWidgetClick, { useWidget: T } = ro(), v = T.getReadonlyState().setWidget, N = !!s.lineNumber, R = !!l.lineNumber, y = Y1(!1, f, m), I = z1(!1, f, m), x = Y1(E, !1, m), D = z1(E, !1, m);
70290
70290
  return S.createElement(
70291
70291
  "tr",
70292
70292
  { "data-line": n, "data-state": m ? "diff" : "plain", className: "diff-line" },
@@ -70356,7 +70356,7 @@ const Sfe = ({ index: e, diffFile: t, lineNumber: n, enableAddWidget: r, enableH
70356
70356
  const i = t.getSplitLeftLine(e), o = t.getSplitRightLine(e);
70357
70357
  return i != null && i.isHidden && (o != null && o.isHidden) ? null : S.createElement(Sfe, { index: e, diffFile: t, lineNumber: n, enableAddWidget: r, enableHighlight: a });
70358
70358
  }, Tfe = ({ index: e, diffFile: t, lineNumber: n, oldLineExtend: r, newLineExtend: a }) => {
70359
- const { useDiffContext: i } = wn(), o = t.getSplitLeftLine(e), s = t.getSplitRightLine(e), l = i.useShallowStableSelector((d) => d.renderExtendLine);
70359
+ const { useDiffContext: i } = xn(), o = t.getSplitLeftLine(e), s = t.getSplitRightLine(e), l = i.useShallowStableSelector((d) => d.renderExtendLine);
70360
70360
  if (!l)
70361
70361
  return null;
70362
70362
  const c = (r == null ? void 0 : r.data) && (l == null ? void 0 : l({
@@ -70391,7 +70391,7 @@ const Sfe = ({ index: e, diffFile: t, lineNumber: n, enableAddWidget: r, enableH
70391
70391
  }, colSpan: 2 })
70392
70392
  );
70393
70393
  }, vfe = ({ index: e, diffFile: t, lineNumber: n }) => {
70394
- const { useDiffContext: r } = wn(), a = t.getSplitLeftLine(e), i = t.getSplitRightLine(e), { oldLineExtend: o, newLineExtend: s } = r(S.useCallback((d) => {
70394
+ const { useDiffContext: r } = xn(), a = t.getSplitLeftLine(e), i = t.getSplitRightLine(e), { oldLineExtend: o, newLineExtend: s } = r(S.useCallback((d) => {
70395
70395
  var p, m, g, f;
70396
70396
  return {
70397
70397
  oldLineExtend: (m = (p = d.extendData) === null || p === void 0 ? void 0 : p.oldFile) === null || m === void 0 ? void 0 : m[a == null ? void 0 : a.lineNumber],
@@ -70524,13 +70524,13 @@ const Sfe = ({ index: e, diffFile: t, lineNumber: n, enableAddWidget: r, enableH
70524
70524
  )
70525
70525
  );
70526
70526
  }, yfe = ({ index: e, diffFile: t, lineNumber: n }) => {
70527
- const { useDiffContext: r } = wn(), a = r.useShallowStableSelector((i) => i.mode);
70527
+ const { useDiffContext: r } = xn(), a = r.useShallowStableSelector((i) => i.mode);
70528
70528
  return a === aa.SplitGitHub || a === aa.Split || a === aa.Unified ? S.createElement(Cfe, { index: e, diffFile: t, lineNumber: n }) : S.createElement(Nfe, { index: e, diffFile: t, lineNumber: n });
70529
70529
  }, Lx = ({ index: e, diffFile: t, lineNumber: n }) => {
70530
70530
  const r = t.getSplitHunkLine(e), a = r && r.splitInfo && r.splitInfo.startHiddenIndex < r.splitInfo.endHiddenIndex, i = r && t._getIsPureDiffRender() && !r.splitInfo;
70531
70531
  return !a && !i ? null : S.createElement(yfe, { index: e, diffFile: t, lineNumber: n });
70532
70532
  }, Rfe = ({ index: e, diffFile: t, lineNumber: n }) => {
70533
- const { useWidget: r } = ro(), a = r.getReadonlyState().setWidget, { useDiffContext: i } = wn(), o = i.useShallowStableSelector((f) => f.renderWidgetLine), s = t.getSplitLeftLine(e), l = t.getSplitRightLine(e), c = r.useShallowStableSelector((f) => f.widgetSide), u = r.getReadonlyState().widgetLineNumber, d = s.lineNumber && c === we.old && u === s.lineNumber, p = l.lineNumber && c === we.new && u === l.lineNumber, m = d && (o == null ? void 0 : o({ diffFile: t, side: we.old, lineNumber: s.lineNumber, onClose: () => a({}) })), g = p && (o == null ? void 0 : o({ diffFile: t, side: we.new, lineNumber: l.lineNumber, onClose: () => a({}) }));
70533
+ const { useWidget: r } = ro(), a = r.getReadonlyState().setWidget, { useDiffContext: i } = xn(), o = i.useShallowStableSelector((f) => f.renderWidgetLine), s = t.getSplitLeftLine(e), l = t.getSplitRightLine(e), c = r.useShallowStableSelector((f) => f.widgetSide), u = r.getReadonlyState().widgetLineNumber, d = s.lineNumber && c === we.old && u === s.lineNumber, p = l.lineNumber && c === we.new && u === l.lineNumber, m = d && (o == null ? void 0 : o({ diffFile: t, side: we.old, lineNumber: s.lineNumber, onClose: () => a({}) })), g = p && (o == null ? void 0 : o({ diffFile: t, side: we.new, lineNumber: l.lineNumber, onClose: () => a({}) }));
70534
70534
  return o ? S.createElement(
70535
70535
  "tr",
70536
70536
  { "data-line": `${n}-widget`, "data-state": "widget", className: "diff-line diff-line-widget" },
@@ -70556,7 +70556,7 @@ const Sfe = ({ index: e, diffFile: t, lineNumber: n, enableAddWidget: r, enableH
70556
70556
  return u || d;
70557
70557
  }, [t, e]), (i, o) => i === o) ? S.createElement(Rfe, { index: e, diffFile: t, lineNumber: n }) : null;
70558
70558
  }, _G = Qa(({ diffFile: e }) => {
70559
- const t = Math.max(e.splitLineLength, e.fileLineLength), { useDiffContext: n } = wn(), r = Re(null), a = Re(), { fontSize: i, enableAddWidget: o, enableHighlight: s } = n.useShallowStableSelector((g) => ({
70559
+ const t = Math.max(e.splitLineLength, e.fileLineLength), { useDiffContext: n } = xn(), r = Re(null), a = Re(), { fontSize: i, enableAddWidget: o, enableHighlight: s } = n.useShallowStableSelector((g) => ({
70560
70560
  fontSize: g.fontSize,
70561
70561
  enableAddWidget: g.enableAddWidget,
70562
70562
  enableHighlight: g.enableHighlight
@@ -70697,7 +70697,7 @@ const Ife = (e, t) => JB(() => {
70697
70697
  typeof l == "function" && (t.value = a, n.value = i);
70698
70698
  } };
70699
70699
  }), fG = Qa(({ diffFile: e }) => {
70700
- const { useDiffContext: t } = wn(), n = Re(t);
70700
+ const { useDiffContext: t } = xn(), n = Re(t);
70701
70701
  n.current = t;
70702
70702
  const { enableWrap: r, onCreateUseWidgetHook: a } = t.useShallowStableSelector((s) => ({
70703
70703
  enableWrap: s.enableWrap,
@@ -70764,7 +70764,7 @@ const Ofe = ({ index: e, diffLine: t, rawLine: n, plainLine: r, syntaxLine: a, l
70764
70764
  S.createElement(ic, { enableWrap: l, diffFile: o, enableHighlight: u, rawLine: n, diffLine: t, plainLine: r, syntaxLine: a })
70765
70765
  )
70766
70766
  ), EG = Qa(({ index: e, diffFile: t, lineNumber: n, enableWrap: r, enableAddWidget: a, enableHighlight: i }) => {
70767
- const o = t.getUnifiedLine(e), { useDiffContext: s } = wn(), l = s.getReadonlyState().onAddWidgetClick, { useWidget: c } = ro(), u = c.getReadonlyState().setWidget, d = o.diff, p = w_(o.diff), m = o.value || "", g = o.diff, f = o.newLineNumber, E = o.oldLineNumber, h = f ? t.getNewSyntaxLine(f) : E ? t.getOldSyntaxLine(E) : void 0, b = f ? t.getNewPlainLine(f) : E ? t.getOldPlainLine(E) : void 0;
70767
+ const o = t.getUnifiedLine(e), { useDiffContext: s } = xn(), l = s.getReadonlyState().onAddWidgetClick, { useWidget: c } = ro(), u = c.getReadonlyState().setWidget, d = o.diff, p = w_(o.diff), m = o.value || "", g = o.diff, f = o.newLineNumber, E = o.oldLineNumber, h = f ? t.getNewSyntaxLine(f) : E ? t.getOldSyntaxLine(E) : void 0, b = f ? t.getNewPlainLine(f) : E ? t.getOldPlainLine(E) : void 0;
70768
70768
  return p ? o.oldLineNumber ? S.createElement(Ofe, { index: n, enableWrap: r, diffFile: t, rawLine: m, diffLine: g, setWidget: u, plainLine: b, syntaxLine: h, enableHighlight: i, enableAddWidget: a, lineNumber: o.oldLineNumber, onAddWidgetClick: (...T) => {
70769
70769
  var v;
70770
70770
  return (v = l.current) === null || v === void 0 ? void 0 : v.call(l, ...T);
@@ -70809,7 +70809,7 @@ const wfe = ({ index: e, diffFile: t, lineNumber: n, enableWrap: r, enableHighli
70809
70809
  const o = t.getUnifiedLine(e);
70810
70810
  return o != null && o.isHidden ? null : S.createElement(EG, { index: e, diffFile: t, lineNumber: n, enableWrap: r, enableHighlight: a, enableAddWidget: i });
70811
70811
  }, xfe = ({ index: e, diffFile: t, lineNumber: n, oldLineExtend: r, newLineExtend: a }) => {
70812
- const { useDiffContext: i } = wn(), o = i.useShallowStableSelector((c) => c.renderExtendLine), s = t.getUnifiedLine(e), l = Xg({
70812
+ const { useDiffContext: i } = xn(), o = i.useShallowStableSelector((c) => c.renderExtendLine), s = t.getUnifiedLine(e), l = Xg({
70813
70813
  selector: ".unified-diff-table-wrapper",
70814
70814
  enable: typeof o == "function"
70815
70815
  });
@@ -70840,7 +70840,7 @@ const wfe = ({ index: e, diffFile: t, lineNumber: n, enableWrap: r, enableHighli
70840
70840
  )
70841
70841
  ) : null;
70842
70842
  }, Lfe = ({ index: e, diffFile: t, lineNumber: n }) => {
70843
- const { useDiffContext: r } = wn(), a = t.getUnifiedLine(e), { oldLineExtend: i, newLineExtend: o } = r(Te((l) => {
70843
+ const { useDiffContext: r } = xn(), a = t.getUnifiedLine(e), { oldLineExtend: i, newLineExtend: o } = r(Te((l) => {
70844
70844
  var c, u, d, p;
70845
70845
  return {
70846
70846
  oldLineExtend: (u = (c = l.extendData) === null || c === void 0 ? void 0 : c.oldFile) === null || u === void 0 ? void 0 : u[a == null ? void 0 : a.oldLineNumber],
@@ -70850,7 +70850,7 @@ const wfe = ({ index: e, diffFile: t, lineNumber: n, enableWrap: r, enableHighli
70850
70850
  return !((i == null ? void 0 : i.data) || (o == null ? void 0 : o.data)) || !a || a.isHidden ? null : S.createElement(xfe, { index: e, diffFile: t, lineNumber: n, oldLineExtend: i, newLineExtend: o });
70851
70851
  }, Mfe = ({ index: e, diffFile: t, lineNumber: n }) => {
70852
70852
  var r;
70853
- const a = t.getUnifiedHunkLine(e), i = t.getExpandEnabled(), { useDiffContext: o } = wn(), s = o.useShallowStableSelector((p) => p.enableWrap), l = i && a && a.unifiedInfo, c = a && a.unifiedInfo && a.unifiedInfo.endHiddenIndex - a.unifiedInfo.startHiddenIndex < _n, u = a && a.isFirst, d = a && a.isLast;
70853
+ const a = t.getUnifiedHunkLine(e), i = t.getExpandEnabled(), { useDiffContext: o } = xn(), s = o.useShallowStableSelector((p) => p.enableWrap), l = i && a && a.unifiedInfo, c = a && a.unifiedInfo && a.unifiedInfo.endHiddenIndex - a.unifiedInfo.startHiddenIndex < _n, u = a && a.isFirst, d = a && a.isLast;
70854
70854
  return S.createElement(
70855
70855
  "tr",
70856
70856
  { "data-line": `${n}-hunk`, "data-state": "hunk", className: "diff-line diff-line-hunk" },
@@ -70900,7 +70900,7 @@ const wfe = ({ index: e, diffFile: t, lineNumber: n, enableWrap: r, enableHighli
70900
70900
  const r = t.getUnifiedHunkLine(e), a = r && r.unifiedInfo && r.unifiedInfo.startHiddenIndex < r.unifiedInfo.endHiddenIndex, i = r && t._getIsPureDiffRender() && !r.unifiedInfo;
70901
70901
  return !a && !i ? null : S.createElement(Mfe, { index: e, diffFile: t, lineNumber: n });
70902
70902
  }, kfe = ({ index: e, diffFile: t, lineNumber: n }) => {
70903
- const { useWidget: r } = ro(), a = r.getReadonlyState().setWidget, i = t.getUnifiedLine(e), o = () => a({}), s = r.getReadonlyState().widgetSide, l = r.getReadonlyState().widgetLineNumber, c = i.oldLineNumber && s === we.old && l === i.oldLineNumber, u = i.newLineNumber && s === we.new && l === i.newLineNumber, { useDiffContext: d } = wn(), p = d.useShallowStableSelector((g) => g.renderWidgetLine), m = Xg({
70903
+ const { useWidget: r } = ro(), a = r.getReadonlyState().setWidget, i = t.getUnifiedLine(e), o = () => a({}), s = r.getReadonlyState().widgetSide, l = r.getReadonlyState().widgetLineNumber, c = i.oldLineNumber && s === we.old && l === i.oldLineNumber, u = i.newLineNumber && s === we.new && l === i.newLineNumber, { useDiffContext: d } = xn(), p = d.useShallowStableSelector((g) => g.renderWidgetLine), m = Xg({
70904
70904
  selector: ".unified-diff-table-wrapper",
70905
70905
  enable: typeof p == "function"
70906
70906
  });
@@ -70925,7 +70925,7 @@ const wfe = ({ index: e, diffFile: t, lineNumber: n, enableWrap: r, enableHighli
70925
70925
  return c || u;
70926
70926
  }, [t, e]), (i, o) => i === o) ? S.createElement(kfe, { index: e, diffFile: t, lineNumber: n }) : null;
70927
70927
  }, hG = Qa(({ diffFile: e }) => {
70928
- const { useDiffContext: t } = wn(), n = Re(null), r = Re(), a = Re(t);
70928
+ const { useDiffContext: t } = xn(), n = Re(null), r = Re(), a = Re(t);
70929
70929
  a.current = t;
70930
70930
  const i = De(() => gG(a), []), o = De(() => ({ useWidget: i }), [i]), { fontSize: s, enableWrap: l, enableHighlight: c, enableAddWidget: u, onCreateUseWidgetHook: d } = t.useShallowStableSelector((b) => ({
70931
70931
  fontSize: b.fontSize,
@@ -75223,14 +75223,14 @@ Vr.prototype.property = "";
75223
75223
  Vr.prototype.spaceSeparated = !1;
75224
75224
  Vr.prototype.space = void 0;
75225
75225
  let QEe = 0;
75226
- const It = Vs(), Ln = Vs(), GG = Vs(), Ge = Vs(), an = Vs(), Wl = Vs(), Kr = Vs();
75226
+ const It = Vs(), Mn = Vs(), GG = Vs(), Ge = Vs(), an = Vs(), Wl = Vs(), Kr = Vs();
75227
75227
  function Vs() {
75228
75228
  return 2 ** ++QEe;
75229
75229
  }
75230
75230
  const X1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
75231
75231
  __proto__: null,
75232
75232
  boolean: It,
75233
- booleanish: Ln,
75233
+ booleanish: Mn,
75234
75234
  commaOrSpaceSeparated: Kr,
75235
75235
  commaSeparated: Wl,
75236
75236
  number: Ge,
@@ -75283,10 +75283,10 @@ function vc(e) {
75283
75283
  const HG = vc({
75284
75284
  properties: {
75285
75285
  ariaActiveDescendant: null,
75286
- ariaAtomic: Ln,
75286
+ ariaAtomic: Mn,
75287
75287
  ariaAutoComplete: null,
75288
- ariaBusy: Ln,
75289
- ariaChecked: Ln,
75288
+ ariaBusy: Mn,
75289
+ ariaChecked: Mn,
75290
75290
  ariaColCount: Ge,
75291
75291
  ariaColIndex: Ge,
75292
75292
  ariaColSpan: Ge,
@@ -75294,36 +75294,36 @@ const HG = vc({
75294
75294
  ariaCurrent: null,
75295
75295
  ariaDescribedBy: an,
75296
75296
  ariaDetails: null,
75297
- ariaDisabled: Ln,
75297
+ ariaDisabled: Mn,
75298
75298
  ariaDropEffect: an,
75299
75299
  ariaErrorMessage: null,
75300
- ariaExpanded: Ln,
75300
+ ariaExpanded: Mn,
75301
75301
  ariaFlowTo: an,
75302
- ariaGrabbed: Ln,
75302
+ ariaGrabbed: Mn,
75303
75303
  ariaHasPopup: null,
75304
- ariaHidden: Ln,
75304
+ ariaHidden: Mn,
75305
75305
  ariaInvalid: null,
75306
75306
  ariaKeyShortcuts: null,
75307
75307
  ariaLabel: null,
75308
75308
  ariaLabelledBy: an,
75309
75309
  ariaLevel: Ge,
75310
75310
  ariaLive: null,
75311
- ariaModal: Ln,
75312
- ariaMultiLine: Ln,
75313
- ariaMultiSelectable: Ln,
75311
+ ariaModal: Mn,
75312
+ ariaMultiLine: Mn,
75313
+ ariaMultiSelectable: Mn,
75314
75314
  ariaOrientation: null,
75315
75315
  ariaOwns: an,
75316
75316
  ariaPlaceholder: null,
75317
75317
  ariaPosInSet: Ge,
75318
- ariaPressed: Ln,
75319
- ariaReadOnly: Ln,
75318
+ ariaPressed: Mn,
75319
+ ariaReadOnly: Mn,
75320
75320
  ariaRelevant: null,
75321
- ariaRequired: Ln,
75321
+ ariaRequired: Mn,
75322
75322
  ariaRoleDescription: an,
75323
75323
  ariaRowCount: Ge,
75324
75324
  ariaRowIndex: Ge,
75325
75325
  ariaRowSpan: Ge,
75326
- ariaSelected: Ln,
75326
+ ariaSelected: Mn,
75327
75327
  ariaSetSize: Ge,
75328
75328
  ariaSort: null,
75329
75329
  ariaValueMax: Ge,
@@ -75377,7 +75377,7 @@ const XEe = vc({
75377
75377
  cols: Ge,
75378
75378
  colSpan: null,
75379
75379
  content: null,
75380
- contentEditable: Ln,
75380
+ contentEditable: Mn,
75381
75381
  controls: It,
75382
75382
  controlsList: an,
75383
75383
  coords: Ge | Wl,
@@ -75391,7 +75391,7 @@ const XEe = vc({
75391
75391
  dirName: null,
75392
75392
  disabled: It,
75393
75393
  download: GG,
75394
- draggable: Ln,
75394
+ draggable: Mn,
75395
75395
  encType: null,
75396
75396
  enterKeyHint: null,
75397
75397
  fetchPriority: null,
@@ -75562,7 +75562,7 @@ const XEe = vc({
75562
75562
  sizes: null,
75563
75563
  slot: null,
75564
75564
  span: Ge,
75565
- spellCheck: Ln,
75565
+ spellCheck: Mn,
75566
75566
  src: null,
75567
75567
  srcDoc: null,
75568
75568
  srcLang: null,
@@ -75577,7 +75577,7 @@ const XEe = vc({
75577
75577
  type: null,
75578
75578
  typeMustMatch: It,
75579
75579
  useMap: null,
75580
- value: Ln,
75580
+ value: Mn,
75581
75581
  width: Ge,
75582
75582
  wrap: null,
75583
75583
  writingSuggestions: null,
@@ -75669,7 +75669,7 @@ const XEe = vc({
75669
75669
  // `<table>`
75670
75670
  scheme: null,
75671
75671
  // `<meta>`
75672
- scrolling: Ln,
75672
+ scrolling: Mn,
75673
75673
  // `<frame>`. Use overflow in the child context
75674
75674
  standby: null,
75675
75675
  // `<object>`
@@ -86520,14 +86520,14 @@ Ra.prototype.commaOrSpaceSeparated = !1;
86520
86520
  Ra.prototype.mustUseProperty = !1;
86521
86521
  Ra.prototype.defined = !1;
86522
86522
  let f1e = 0;
86523
- const Ot = Xs(), Mn = Xs(), wY = Xs(), He = Xs(), on = Xs(), Ql = Xs(), Qr = Xs();
86523
+ const Ot = Xs(), kn = Xs(), wY = Xs(), He = Xs(), on = Xs(), Ql = Xs(), Qr = Xs();
86524
86524
  function Xs() {
86525
86525
  return 2 ** ++f1e;
86526
86526
  }
86527
86527
  const iv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
86528
86528
  __proto__: null,
86529
86529
  boolean: Ot,
86530
- booleanish: Mn,
86530
+ booleanish: kn,
86531
86531
  commaOrSpaceSeparated: Qr,
86532
86532
  commaSeparated: Ql,
86533
86533
  number: He,
@@ -86609,10 +86609,10 @@ const PY = Ic({
86609
86609
  },
86610
86610
  properties: {
86611
86611
  ariaActiveDescendant: null,
86612
- ariaAtomic: Mn,
86612
+ ariaAtomic: kn,
86613
86613
  ariaAutoComplete: null,
86614
- ariaBusy: Mn,
86615
- ariaChecked: Mn,
86614
+ ariaBusy: kn,
86615
+ ariaChecked: kn,
86616
86616
  ariaColCount: He,
86617
86617
  ariaColIndex: He,
86618
86618
  ariaColSpan: He,
@@ -86620,36 +86620,36 @@ const PY = Ic({
86620
86620
  ariaCurrent: null,
86621
86621
  ariaDescribedBy: on,
86622
86622
  ariaDetails: null,
86623
- ariaDisabled: Mn,
86623
+ ariaDisabled: kn,
86624
86624
  ariaDropEffect: on,
86625
86625
  ariaErrorMessage: null,
86626
- ariaExpanded: Mn,
86626
+ ariaExpanded: kn,
86627
86627
  ariaFlowTo: on,
86628
- ariaGrabbed: Mn,
86628
+ ariaGrabbed: kn,
86629
86629
  ariaHasPopup: null,
86630
- ariaHidden: Mn,
86630
+ ariaHidden: kn,
86631
86631
  ariaInvalid: null,
86632
86632
  ariaKeyShortcuts: null,
86633
86633
  ariaLabel: null,
86634
86634
  ariaLabelledBy: on,
86635
86635
  ariaLevel: He,
86636
86636
  ariaLive: null,
86637
- ariaModal: Mn,
86638
- ariaMultiLine: Mn,
86639
- ariaMultiSelectable: Mn,
86637
+ ariaModal: kn,
86638
+ ariaMultiLine: kn,
86639
+ ariaMultiSelectable: kn,
86640
86640
  ariaOrientation: null,
86641
86641
  ariaOwns: on,
86642
86642
  ariaPlaceholder: null,
86643
86643
  ariaPosInSet: He,
86644
- ariaPressed: Mn,
86645
- ariaReadOnly: Mn,
86644
+ ariaPressed: kn,
86645
+ ariaReadOnly: kn,
86646
86646
  ariaRelevant: null,
86647
- ariaRequired: Mn,
86647
+ ariaRequired: kn,
86648
86648
  ariaRoleDescription: on,
86649
86649
  ariaRowCount: He,
86650
86650
  ariaRowIndex: He,
86651
86651
  ariaRowSpan: He,
86652
- ariaSelected: Mn,
86652
+ ariaSelected: kn,
86653
86653
  ariaSetSize: He,
86654
86654
  ariaSort: null,
86655
86655
  ariaValueMax: He,
@@ -86695,7 +86695,7 @@ const PY = Ic({
86695
86695
  cols: He,
86696
86696
  colSpan: null,
86697
86697
  content: null,
86698
- contentEditable: Mn,
86698
+ contentEditable: kn,
86699
86699
  controls: Ot,
86700
86700
  controlsList: on,
86701
86701
  coords: He | Ql,
@@ -86709,7 +86709,7 @@ const PY = Ic({
86709
86709
  dirName: null,
86710
86710
  disabled: Ot,
86711
86711
  download: wY,
86712
- draggable: Mn,
86712
+ draggable: kn,
86713
86713
  encType: null,
86714
86714
  enterKeyHint: null,
86715
86715
  fetchPriority: null,
@@ -86880,7 +86880,7 @@ const PY = Ic({
86880
86880
  sizes: null,
86881
86881
  slot: null,
86882
86882
  span: He,
86883
- spellCheck: Mn,
86883
+ spellCheck: kn,
86884
86884
  src: null,
86885
86885
  srcDoc: null,
86886
86886
  srcLang: null,
@@ -86895,7 +86895,7 @@ const PY = Ic({
86895
86895
  type: null,
86896
86896
  typeMustMatch: Ot,
86897
86897
  useMap: null,
86898
- value: Mn,
86898
+ value: kn,
86899
86899
  width: He,
86900
86900
  wrap: null,
86901
86901
  writingSuggestions: null,
@@ -86987,7 +86987,7 @@ const PY = Ic({
86987
86987
  // `<table>`
86988
86988
  scheme: null,
86989
86989
  // `<meta>`
86990
- scrolling: Mn,
86990
+ scrolling: kn,
86991
86991
  // `<frame>`. Use overflow in the child context
86992
86992
  standby: null,
86993
86993
  // `<object>`
@@ -107562,7 +107562,7 @@ var J;
107562
107562
  (function(e) {
107563
107563
  e[e.DATA = 0] = "DATA", e[e.RCDATA = 1] = "RCDATA", e[e.RAWTEXT = 2] = "RAWTEXT", e[e.SCRIPT_DATA = 3] = "SCRIPT_DATA", e[e.PLAINTEXT = 4] = "PLAINTEXT", e[e.TAG_OPEN = 5] = "TAG_OPEN", e[e.END_TAG_OPEN = 6] = "END_TAG_OPEN", e[e.TAG_NAME = 7] = "TAG_NAME", e[e.RCDATA_LESS_THAN_SIGN = 8] = "RCDATA_LESS_THAN_SIGN", e[e.RCDATA_END_TAG_OPEN = 9] = "RCDATA_END_TAG_OPEN", e[e.RCDATA_END_TAG_NAME = 10] = "RCDATA_END_TAG_NAME", e[e.RAWTEXT_LESS_THAN_SIGN = 11] = "RAWTEXT_LESS_THAN_SIGN", e[e.RAWTEXT_END_TAG_OPEN = 12] = "RAWTEXT_END_TAG_OPEN", e[e.RAWTEXT_END_TAG_NAME = 13] = "RAWTEXT_END_TAG_NAME", e[e.SCRIPT_DATA_LESS_THAN_SIGN = 14] = "SCRIPT_DATA_LESS_THAN_SIGN", e[e.SCRIPT_DATA_END_TAG_OPEN = 15] = "SCRIPT_DATA_END_TAG_OPEN", e[e.SCRIPT_DATA_END_TAG_NAME = 16] = "SCRIPT_DATA_END_TAG_NAME", e[e.SCRIPT_DATA_ESCAPE_START = 17] = "SCRIPT_DATA_ESCAPE_START", e[e.SCRIPT_DATA_ESCAPE_START_DASH = 18] = "SCRIPT_DATA_ESCAPE_START_DASH", e[e.SCRIPT_DATA_ESCAPED = 19] = "SCRIPT_DATA_ESCAPED", e[e.SCRIPT_DATA_ESCAPED_DASH = 20] = "SCRIPT_DATA_ESCAPED_DASH", e[e.SCRIPT_DATA_ESCAPED_DASH_DASH = 21] = "SCRIPT_DATA_ESCAPED_DASH_DASH", e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN = 22] = "SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN", e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN = 23] = "SCRIPT_DATA_ESCAPED_END_TAG_OPEN", e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME = 24] = "SCRIPT_DATA_ESCAPED_END_TAG_NAME", e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START = 25] = "SCRIPT_DATA_DOUBLE_ESCAPE_START", e[e.SCRIPT_DATA_DOUBLE_ESCAPED = 26] = "SCRIPT_DATA_DOUBLE_ESCAPED", e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH = 27] = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH", e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH = 28] = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH", e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN = 29] = "SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN", e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END = 30] = "SCRIPT_DATA_DOUBLE_ESCAPE_END", e[e.BEFORE_ATTRIBUTE_NAME = 31] = "BEFORE_ATTRIBUTE_NAME", e[e.ATTRIBUTE_NAME = 32] = "ATTRIBUTE_NAME", e[e.AFTER_ATTRIBUTE_NAME = 33] = "AFTER_ATTRIBUTE_NAME", e[e.BEFORE_ATTRIBUTE_VALUE = 34] = "BEFORE_ATTRIBUTE_VALUE", e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED = 35] = "ATTRIBUTE_VALUE_DOUBLE_QUOTED", e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED = 36] = "ATTRIBUTE_VALUE_SINGLE_QUOTED", e[e.ATTRIBUTE_VALUE_UNQUOTED = 37] = "ATTRIBUTE_VALUE_UNQUOTED", e[e.AFTER_ATTRIBUTE_VALUE_QUOTED = 38] = "AFTER_ATTRIBUTE_VALUE_QUOTED", e[e.SELF_CLOSING_START_TAG = 39] = "SELF_CLOSING_START_TAG", e[e.BOGUS_COMMENT = 40] = "BOGUS_COMMENT", e[e.MARKUP_DECLARATION_OPEN = 41] = "MARKUP_DECLARATION_OPEN", e[e.COMMENT_START = 42] = "COMMENT_START", e[e.COMMENT_START_DASH = 43] = "COMMENT_START_DASH", e[e.COMMENT = 44] = "COMMENT", e[e.COMMENT_LESS_THAN_SIGN = 45] = "COMMENT_LESS_THAN_SIGN", e[e.COMMENT_LESS_THAN_SIGN_BANG = 46] = "COMMENT_LESS_THAN_SIGN_BANG", e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH = 47] = "COMMENT_LESS_THAN_SIGN_BANG_DASH", e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH = 48] = "COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH", e[e.COMMENT_END_DASH = 49] = "COMMENT_END_DASH", e[e.COMMENT_END = 50] = "COMMENT_END", e[e.COMMENT_END_BANG = 51] = "COMMENT_END_BANG", e[e.DOCTYPE = 52] = "DOCTYPE", e[e.BEFORE_DOCTYPE_NAME = 53] = "BEFORE_DOCTYPE_NAME", e[e.DOCTYPE_NAME = 54] = "DOCTYPE_NAME", e[e.AFTER_DOCTYPE_NAME = 55] = "AFTER_DOCTYPE_NAME", e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD = 56] = "AFTER_DOCTYPE_PUBLIC_KEYWORD", e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER = 57] = "BEFORE_DOCTYPE_PUBLIC_IDENTIFIER", e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED = 58] = "DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED", e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED = 59] = "DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED", e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER = 60] = "AFTER_DOCTYPE_PUBLIC_IDENTIFIER", e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS = 61] = "BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS", e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD = 62] = "AFTER_DOCTYPE_SYSTEM_KEYWORD", e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER = 63] = "BEFORE_DOCTYPE_SYSTEM_IDENTIFIER", e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED = 64] = "DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED", e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED = 65] = "DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED", e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER = 66] = "AFTER_DOCTYPE_SYSTEM_IDENTIFIER", e[e.BOGUS_DOCTYPE = 67] = "BOGUS_DOCTYPE", e[e.CDATA_SECTION = 68] = "CDATA_SECTION", e[e.CDATA_SECTION_BRACKET = 69] = "CDATA_SECTION_BRACKET", e[e.CDATA_SECTION_END = 70] = "CDATA_SECTION_END", e[e.CHARACTER_REFERENCE = 71] = "CHARACTER_REFERENCE", e[e.AMBIGUOUS_AMPERSAND = 72] = "AMBIGUOUS_AMPERSAND";
107564
107564
  })(J || (J = {}));
107565
- const In = {
107565
+ const On = {
107566
107566
  DATA: J.DATA,
107567
107567
  RCDATA: J.RCDATA,
107568
107568
  RAWTEXT: J.RAWTEXT,
@@ -110337,7 +110337,7 @@ class o3 {
110337
110337
  this._insertElement(t, Me.HTML), this.tokenizer.state = n, this.originalInsertionMode = this.insertionMode, this.insertionMode = ae.TEXT;
110338
110338
  }
110339
110339
  switchToPlaintextParsing() {
110340
- this.insertionMode = ae.TEXT, this.originalInsertionMode = ae.IN_BODY, this.tokenizer.state = In.PLAINTEXT;
110340
+ this.insertionMode = ae.TEXT, this.originalInsertionMode = ae.IN_BODY, this.tokenizer.state = On.PLAINTEXT;
110341
110341
  }
110342
110342
  //Fragment parsing
110343
110343
  /** @protected */
@@ -110360,7 +110360,7 @@ class o3 {
110360
110360
  switch (this.fragmentContextID) {
110361
110361
  case C.TITLE:
110362
110362
  case C.TEXTAREA: {
110363
- this.tokenizer.state = In.RCDATA;
110363
+ this.tokenizer.state = On.RCDATA;
110364
110364
  break;
110365
110365
  }
110366
110366
  case C.STYLE:
@@ -110369,15 +110369,15 @@ class o3 {
110369
110369
  case C.NOEMBED:
110370
110370
  case C.NOFRAMES:
110371
110371
  case C.NOSCRIPT: {
110372
- this.tokenizer.state = In.RAWTEXT;
110372
+ this.tokenizer.state = On.RAWTEXT;
110373
110373
  break;
110374
110374
  }
110375
110375
  case C.SCRIPT: {
110376
- this.tokenizer.state = In.SCRIPT_DATA;
110376
+ this.tokenizer.state = On.SCRIPT_DATA;
110377
110377
  break;
110378
110378
  }
110379
110379
  case C.PLAINTEXT: {
110380
- this.tokenizer.state = In.PLAINTEXT;
110380
+ this.tokenizer.state = On.PLAINTEXT;
110381
110381
  break;
110382
110382
  }
110383
110383
  }
@@ -111302,20 +111302,20 @@ function ja(e, t) {
111302
111302
  break;
111303
111303
  }
111304
111304
  case C.TITLE: {
111305
- e._switchToTextParsing(t, In.RCDATA);
111305
+ e._switchToTextParsing(t, On.RCDATA);
111306
111306
  break;
111307
111307
  }
111308
111308
  case C.NOSCRIPT: {
111309
- e.options.scriptingEnabled ? e._switchToTextParsing(t, In.RAWTEXT) : (e._insertElement(t, Me.HTML), e.insertionMode = ae.IN_HEAD_NO_SCRIPT);
111309
+ e.options.scriptingEnabled ? e._switchToTextParsing(t, On.RAWTEXT) : (e._insertElement(t, Me.HTML), e.insertionMode = ae.IN_HEAD_NO_SCRIPT);
111310
111310
  break;
111311
111311
  }
111312
111312
  case C.NOFRAMES:
111313
111313
  case C.STYLE: {
111314
- e._switchToTextParsing(t, In.RAWTEXT);
111314
+ e._switchToTextParsing(t, On.RAWTEXT);
111315
111315
  break;
111316
111316
  }
111317
111317
  case C.SCRIPT: {
111318
- e._switchToTextParsing(t, In.SCRIPT_DATA);
111318
+ e._switchToTextParsing(t, On.SCRIPT_DATA);
111319
111319
  break;
111320
111320
  }
111321
111321
  case C.TEMPLATE: {
@@ -111525,7 +111525,7 @@ function sye(e, t) {
111525
111525
  e.openElements.hasInButtonScope(C.P) && e._closePElement(), e._insertElement(t, Me.HTML);
111526
111526
  }
111527
111527
  function lye(e, t) {
111528
- e.openElements.hasInButtonScope(C.P) && e._closePElement(), e._insertElement(t, Me.HTML), e.tokenizer.state = In.PLAINTEXT;
111528
+ e.openElements.hasInButtonScope(C.P) && e._closePElement(), e._insertElement(t, Me.HTML), e.tokenizer.state = On.PLAINTEXT;
111529
111529
  }
111530
111530
  function cye(e, t) {
111531
111531
  e.openElements.hasInScope(C.BUTTON) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(C.BUTTON)), e._reconstructActiveFormattingElements(), e._insertElement(t, Me.HTML), e.framesetOk = !1;
@@ -111566,16 +111566,16 @@ function hye(e, t) {
111566
111566
  t.tagName = _e.IMG, t.tagID = C.IMG, Az(e, t);
111567
111567
  }
111568
111568
  function Sye(e, t) {
111569
- e._insertElement(t, Me.HTML), e.skipNextNewLine = !0, e.tokenizer.state = In.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = ae.TEXT;
111569
+ e._insertElement(t, Me.HTML), e.skipNextNewLine = !0, e.tokenizer.state = On.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = ae.TEXT;
111570
111570
  }
111571
111571
  function bye(e, t) {
111572
- e.openElements.hasInButtonScope(C.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t, In.RAWTEXT);
111572
+ e.openElements.hasInButtonScope(C.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t, On.RAWTEXT);
111573
111573
  }
111574
111574
  function Tye(e, t) {
111575
- e.framesetOk = !1, e._switchToTextParsing(t, In.RAWTEXT);
111575
+ e.framesetOk = !1, e._switchToTextParsing(t, On.RAWTEXT);
111576
111576
  }
111577
111577
  function s3(e, t) {
111578
- e._switchToTextParsing(t, In.RAWTEXT);
111578
+ e._switchToTextParsing(t, On.RAWTEXT);
111579
111579
  }
111580
111580
  function vye(e, t) {
111581
111581
  e._reconstructActiveFormattingElements(), e._insertElement(t, Me.HTML), e.framesetOk = !1, e.insertionMode = e.insertionMode === ae.IN_TABLE || e.insertionMode === ae.IN_CAPTION || e.insertionMode === ae.IN_TABLE_BODY || e.insertionMode === ae.IN_ROW || e.insertionMode === ae.IN_CELL ? ae.IN_SELECT_IN_TABLE : ae.IN_SELECT;
@@ -112645,7 +112645,7 @@ function vRe(e, t) {
112645
112645
  function Lc(e, t) {
112646
112646
  qz(e, t);
112647
112647
  const n = e.parser.tokenizer.currentCharacterToken;
112648
- n && n.location && (n.location.endLine = e.parser.tokenizer.preprocessor.line, n.location.endCol = e.parser.tokenizer.preprocessor.col + 1, n.location.endOffset = e.parser.tokenizer.preprocessor.offset + 1, e.parser.currentToken = n, e.parser._processToken(e.parser.currentToken)), e.parser.tokenizer.paused = !1, e.parser.tokenizer.inLoop = !1, e.parser.tokenizer.active = !1, e.parser.tokenizer.returnState = In.DATA, e.parser.tokenizer.charRefCode = -1, e.parser.tokenizer.consumedAfterSnapshot = -1, e.parser.tokenizer.currentLocation = null, e.parser.tokenizer.currentCharacterToken = null, e.parser.tokenizer.currentToken = null, e.parser.tokenizer.currentAttr = { name: "", value: "" };
112648
+ n && n.location && (n.location.endLine = e.parser.tokenizer.preprocessor.line, n.location.endCol = e.parser.tokenizer.preprocessor.col + 1, n.location.endOffset = e.parser.tokenizer.preprocessor.offset + 1, e.parser.currentToken = n, e.parser._processToken(e.parser.currentToken)), e.parser.tokenizer.paused = !1, e.parser.tokenizer.inLoop = !1, e.parser.tokenizer.active = !1, e.parser.tokenizer.returnState = On.DATA, e.parser.tokenizer.charRefCode = -1, e.parser.tokenizer.consumedAfterSnapshot = -1, e.parser.tokenizer.currentLocation = null, e.parser.tokenizer.currentCharacterToken = null, e.parser.tokenizer.currentToken = null, e.parser.tokenizer.currentAttr = { name: "", value: "" };
112649
112649
  }
112650
112650
  function qz(e, t) {
112651
112651
  if (t && t.offset !== void 0) {
@@ -112662,7 +112662,7 @@ function qz(e, t) {
112662
112662
  }
112663
112663
  function CRe(e, t) {
112664
112664
  const n = e.tagName.toLowerCase();
112665
- if (t.parser.tokenizer.state === In.PLAINTEXT) return;
112665
+ if (t.parser.tokenizer.state === On.PLAINTEXT) return;
112666
112666
  Lc(t, vi(e));
112667
112667
  const r = t.parser.openElements.current;
112668
112668
  let a = "namespaceURI" in r ? r.namespaceURI : Ss.html;
@@ -112687,7 +112687,7 @@ function CRe(e, t) {
112687
112687
  }
112688
112688
  function NRe(e, t) {
112689
112689
  const n = e.tagName.toLowerCase();
112690
- if (!t.parser.tokenizer.inForeignNode && UG.includes(n) || t.parser.tokenizer.state === In.PLAINTEXT) return;
112690
+ if (!t.parser.tokenizer.inForeignNode && UG.includes(n) || t.parser.tokenizer.state === On.PLAINTEXT) return;
112691
112691
  Lc(t, kf(e));
112692
112692
  const r = {
112693
112693
  type: Mt.END_TAG,
@@ -112700,9 +112700,9 @@ function NRe(e, t) {
112700
112700
  };
112701
112701
  t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken), // Current element is closed.
112702
112702
  n === t.parser.tokenizer.lastStartTagName && // `<textarea>` and `<title>`
112703
- (t.parser.tokenizer.state === In.RCDATA || // `<iframe>`, `<noembed>`, `<noframes>`, `<style>`, `<xmp>`
112704
- t.parser.tokenizer.state === In.RAWTEXT || // `<script>`
112705
- t.parser.tokenizer.state === In.SCRIPT_DATA) && (t.parser.tokenizer.state = In.DATA);
112703
+ (t.parser.tokenizer.state === On.RCDATA || // `<iframe>`, `<noembed>`, `<noframes>`, `<style>`, `<xmp>`
112704
+ t.parser.tokenizer.state === On.RAWTEXT || // `<script>`
112705
+ t.parser.tokenizer.state === On.SCRIPT_DATA) && (t.parser.tokenizer.state = On.DATA);
112706
112706
  }
112707
112707
  function yRe(e) {
112708
112708
  const t = e.type === "root" ? e.children[0] : e;
@@ -171233,7 +171233,7 @@ const Kke = ({ filter: e, onUpdateFilter: t, filterFieldConfig: n }) => {
171233
171233
  value: e,
171234
171234
  onChange: t,
171235
171235
  options: a ?? [],
171236
- wrapperClassName: q("pb-cn-3xl", r)
171236
+ wrapperClassName: q("mx-cn-xs my-cn-2xs", r)
171237
171237
  }
171238
171238
  );
171239
171239
  }, Qke = ({ filter: e, onUpdateFilter: t, handleEnter: n }) => {
@@ -171257,31 +171257,31 @@ const Kke = ({ filter: e, onUpdateFilter: t, filterFieldConfig: n }) => {
171257
171257
  }
171258
171258
  );
171259
171259
  };
171260
- var Un = /* @__PURE__ */ ((e) => (e.Calendar = "calendar", e.DateRange = "daterange", e.Text = "text", e.ComboBox = "combobox", e.Custom = "custom", e.MultiSelect = "multiselect", e.Checkbox = "checkbox", e.MultiTag = "multitag", e))(Un || {});
171260
+ var In = /* @__PURE__ */ ((e) => (e.Calendar = "calendar", e.DateRange = "daterange", e.Text = "text", e.ComboBox = "combobox", e.Custom = "custom", e.MultiSelect = "multiselect", e.Checkbox = "checkbox", e.MultiTag = "multitag", e))(In || {});
171261
171261
  const Xke = (e, t) => {
171262
171262
  var n, r, a, i, o, s, l;
171263
171263
  switch (e.type) {
171264
- case Un.Calendar: {
171264
+ case In.Calendar: {
171265
171265
  const c = t.value;
171266
171266
  return c ? ((d) => {
171267
171267
  const p = new Date(d), m = (/* @__PURE__ */ new Date()).getFullYear();
171268
171268
  return p.getFullYear() === m ? vn(p, "MMM d") : vn(p, "MMM d, yyyy");
171269
171269
  })(c) : "";
171270
171270
  }
171271
- case Un.DateRange: {
171271
+ case In.DateRange: {
171272
171272
  const c = t.value;
171273
171273
  if (!c) return "";
171274
171274
  const u = (/* @__PURE__ */ new Date()).getFullYear(), d = new Date(c.from), p = new Date(c.to);
171275
171275
  return d.getFullYear() === p.getFullYear() && d.getFullYear() === u ? `${vn(d, "MMM d")} - ${vn(p, "MMM d")}` : d.getFullYear() === p.getFullYear() ? `${vn(d, "MMM d")} - ${vn(p, "MMM d, yyyy")}` : `${vn(d, "MMM d, yyyy")} - ${vn(p, "MMM d, yyyy")}`;
171276
171276
  }
171277
- case Un.ComboBox: {
171277
+ case In.ComboBox: {
171278
171278
  const c = t.value;
171279
171279
  if (c != null && c.label)
171280
171280
  return c.label;
171281
171281
  const u = (n = e.filterFieldConfig) == null ? void 0 : n.options;
171282
171282
  return (r = u == null ? void 0 : u.find((d) => d.value === (c == null ? void 0 : c.value))) == null ? void 0 : r.label;
171283
171283
  }
171284
- case Un.MultiSelect: {
171284
+ case In.MultiSelect: {
171285
171285
  const c = (a = e.filterFieldConfig) == null ? void 0 : a.options;
171286
171286
  return (i = t.value) == null ? void 0 : i.map(
171287
171287
  (u) => {
@@ -171290,11 +171290,11 @@ const Xke = (e, t) => {
171290
171290
  }
171291
171291
  ).join(", ");
171292
171292
  }
171293
- case Un.MultiTag:
171293
+ case In.MultiTag:
171294
171294
  return (o = t.value) == null ? void 0 : o.map((c) => String(c.id || (c.value ? `${c.key}:${c.value}` : c.key))).filter(Boolean).join(", ");
171295
- case Un.Text:
171295
+ case In.Text:
171296
171296
  return t.value;
171297
- case Un.Custom:
171297
+ case In.Custom:
171298
171298
  return (l = (s = e.filterFieldConfig).renderFilterLabel) == null ? void 0 : l.call(s, t.value);
171299
171299
  default:
171300
171300
  return "";
@@ -171309,7 +171309,7 @@ const Xke = (e, t) => {
171309
171309
  const a = De(() => `filter-${Math.random().toString(36).slice(2, 11)}`, []);
171310
171310
  if (!n) return null;
171311
171311
  switch (t.type) {
171312
- case Un.Calendar:
171312
+ case In.Calendar:
171313
171313
  return /* @__PURE__ */ _(
171314
171314
  Hke,
171315
171315
  {
@@ -171319,7 +171319,7 @@ const Xke = (e, t) => {
171319
171319
  }
171320
171320
  }
171321
171321
  );
171322
- case Un.DateRange:
171322
+ case In.DateRange:
171323
171323
  return /* @__PURE__ */ _(
171324
171324
  $ke,
171325
171325
  {
@@ -171333,7 +171333,7 @@ const Xke = (e, t) => {
171333
171333
  }
171334
171334
  }
171335
171335
  );
171336
- case Un.Text:
171336
+ case In.Text:
171337
171337
  return /* @__PURE__ */ _(
171338
171338
  Qke,
171339
171339
  {
@@ -171342,7 +171342,7 @@ const Xke = (e, t) => {
171342
171342
  handleEnter: () => r(!1)
171343
171343
  }
171344
171344
  );
171345
- case Un.ComboBox:
171345
+ case In.ComboBox:
171346
171346
  return /* @__PURE__ */ _(
171347
171347
  zke,
171348
171348
  {
@@ -171353,7 +171353,7 @@ const Xke = (e, t) => {
171353
171353
  }
171354
171354
  }
171355
171355
  );
171356
- case Un.MultiSelect: {
171356
+ case In.MultiSelect: {
171357
171357
  const d = e;
171358
171358
  return /* @__PURE__ */ _(
171359
171359
  Yke,
@@ -171365,14 +171365,14 @@ const Xke = (e, t) => {
171365
171365
  }
171366
171366
  );
171367
171367
  }
171368
- case Un.Custom: {
171368
+ case In.Custom: {
171369
171369
  const d = e;
171370
171370
  return t.filterFieldConfig.renderCustomComponent({
171371
171371
  value: d.value,
171372
171372
  onChange: (p) => n(p)
171373
171373
  });
171374
171374
  }
171375
- case Un.Checkbox: {
171375
+ case In.Checkbox: {
171376
171376
  const d = e, p = `checkbox-${a}`;
171377
171377
  return /* @__PURE__ */ F(
171378
171378
  Sr,
@@ -171395,7 +171395,7 @@ const Xke = (e, t) => {
171395
171395
  }
171396
171396
  );
171397
171397
  }
171398
- case Un.MultiTag:
171398
+ case In.MultiTag:
171399
171399
  return /* @__PURE__ */ _(
171400
171400
  Kke,
171401
171401
  {
@@ -171422,7 +171422,7 @@ const Xke = (e, t) => {
171422
171422
  }, [l, c] = Se(n), u = (p) => {
171423
171423
  i(p);
171424
171424
  };
171425
- if (e.type === Un.Checkbox)
171425
+ if (e.type === In.Checkbox)
171426
171426
  return /* @__PURE__ */ _(
171427
171427
  w4,
171428
171428
  {
@@ -171437,8 +171437,9 @@ const Xke = (e, t) => {
171437
171437
  yq,
171438
171438
  {
171439
171439
  contentClassName: q(
171440
- e.type === Un.Calendar ? "w-[250px]" : "",
171441
- e.type === Un.DateRange ? "w-auto min-w-[400px] max-w-none" : "",
171440
+ e.type === In.Calendar ? "w-[250px]" : "",
171441
+ e.type === In.DateRange ? "w-auto min-w-[400px] max-w-none" : "",
171442
+ e.type === In.MultiTag ? "cn-dropdown-menu-overflow-visible" : "",
171442
171443
  r
171443
171444
  ),
171444
171445
  handleRemoveFilter: () => t(),
@@ -174836,7 +174837,7 @@ const V$ = ge(
174836
174837
  )
174837
174838
  );
174838
174839
  V$.displayName = "TableCaption";
174839
- const Pn = {
174840
+ const Fn = {
174840
174841
  Root: U$,
174841
174842
  Header: B$,
174842
174843
  Body: G$,
@@ -176858,7 +176859,7 @@ const m6e = 2, _6e = 4, q4 = (e) => typeof e == "number" ? `${e}px` : e, $4 = ({
176858
176859
  const Oe = !!Ae;
176859
176860
  return /* @__PURE__ */ F(pi, { children: [
176860
176861
  /* @__PURE__ */ _(
176861
- Pn.Row,
176862
+ Fn.Row,
176862
176863
  {
176863
176864
  className: q({ "cn-table-v2-row-pinned": Oe }, o == null ? void 0 : o(fe)),
176864
176865
  "data-pinned": Oe ? "bottom" : void 0,
@@ -176869,7 +176870,7 @@ const m6e = 2, _6e = 4, q4 = (e) => typeof e == "number" ? `${e}px` : e, $4 = ({
176869
176870
  children: fe.getVisibleCells().map((xe) => {
176870
176871
  const Ze = xe.column;
176871
176872
  return /* @__PURE__ */ _(
176872
- Pn.Cell,
176873
+ Fn.Cell,
176873
176874
  {
176874
176875
  className: q({ "cn-table-v2-cell-pinned": Ze.getIsPinned() }),
176875
176876
  style: {
@@ -176885,14 +176886,14 @@ const m6e = 2, _6e = 4, q4 = (e) => typeof e == "number" ? `${e}px` : e, $4 = ({
176885
176886
  })
176886
176887
  }
176887
176888
  ),
176888
- fe.getIsExpanded() && y && !I && /* @__PURE__ */ F(Pn.Row, { className: "bg-cn-2", children: [
176889
- /* @__PURE__ */ _(Pn.Cell, { className: "bg-transparent" }),
176890
- /* @__PURE__ */ _(Pn.Cell, { className: "bg-transparent", colSpan: fe.getAllCells().length - 1, children: y({ row: fe }) })
176889
+ fe.getIsExpanded() && y && !I && /* @__PURE__ */ F(Fn.Row, { className: "bg-cn-2", children: [
176890
+ /* @__PURE__ */ _(Fn.Cell, { className: "bg-transparent" }),
176891
+ /* @__PURE__ */ _(Fn.Cell, { className: "bg-transparent", colSpan: fe.getAllCells().length - 1, children: y({ row: fe }) })
176891
176892
  ] })
176892
176893
  ] }, fe.id);
176893
176894
  };
176894
176895
  return /* @__PURE__ */ F(
176895
- Pn.Root,
176896
+ Fn.Root,
176896
176897
  {
176897
176898
  className: u,
176898
176899
  tableClassName: q({ "table-fixed": $ }),
@@ -176904,10 +176905,10 @@ const m6e = 2, _6e = 4, q4 = (e) => typeof e == "number" ? `${e}px` : e, $4 = ({
176904
176905
  maxHeight: H,
176905
176906
  viewportRef: G ? j : void 0,
176906
176907
  children: [
176907
- /* @__PURE__ */ _(Pn.Header, { children: (() => {
176908
+ /* @__PURE__ */ _(Fn.Header, { children: (() => {
176908
176909
  const fe = Z.getHeaderGroups(), Ae = fe.length, Oe = Ae > 1;
176909
176910
  return fe.map((xe, Ze) => /* @__PURE__ */ _(
176910
- Pn.Row,
176911
+ Fn.Row,
176911
176912
  {
176912
176913
  "data-header-depth": Ze,
176913
176914
  ref: G && Ze === 0 ? P : void 0,
@@ -176919,7 +176920,7 @@ const m6e = 2, _6e = 4, q4 = (e) => typeof e == "number" ? `${e}px` : e, $4 = ({
176919
176920
  return null;
176920
176921
  const oe = se ? Ae : 1, Ee = Qe.getCanSort(), ke = (Ke == null ? void 0 : Ke.isGroupHeader) ?? !ct;
176921
176922
  return /* @__PURE__ */ F(
176922
- Pn.Head,
176923
+ Fn.Head,
176923
176924
  {
176924
176925
  colSpan: tt.colSpan,
176925
176926
  rowSpan: oe > 1 ? oe : void 0,
@@ -176968,10 +176969,10 @@ const m6e = 2, _6e = 4, q4 = (e) => typeof e == "number" ? `${e}px` : e, $4 = ({
176968
176969
  xe.id
176969
176970
  ));
176970
176971
  })() }),
176971
- /* @__PURE__ */ F(Pn.Body, { children: [
176972
+ /* @__PURE__ */ F(Fn.Body, { children: [
176972
176973
  re.map((fe) => Ie(fe)),
176973
176974
  K && ne && /* @__PURE__ */ _("tr", { "aria-hidden": "true", className: "cn-table-v2-row cn-table-v2-spacer-row", ref: ie, children: /* @__PURE__ */ _(
176974
- Pn.Cell,
176975
+ Fn.Cell,
176975
176976
  {
176976
176977
  className: "cn-table-v2-spacer-cell",
176977
176978
  colSpan: Z.getVisibleLeafColumns().length,
@@ -176979,7 +176980,7 @@ const m6e = 2, _6e = 4, q4 = (e) => typeof e == "number" ? `${e}px` : e, $4 = ({
176979
176980
  }
176980
176981
  ) })
176981
176982
  ] }),
176982
- K && ne && /* @__PURE__ */ _(Pn.Footer, { children: X.map((fe) => Ie(fe, { edge: "bottom", offset: 0 })) })
176983
+ K && ne && /* @__PURE__ */ _(Fn.Footer, { children: X.map((fe) => Ie(fe, { edge: "bottom", offset: 0 })) })
176983
176984
  ]
176984
176985
  }
176985
176986
  );
@@ -178576,22 +178577,22 @@ const Co = {
178576
178577
  }
178577
178578
  }
178578
178579
  ), bu = {
178579
- [Fn.Account]: "account",
178580
- [Fn.Organization]: "organizations",
178581
- [Fn.Project]: "project",
178582
- [Fn.Repository]: "repository"
178580
+ [Un.Account]: "account",
178581
+ [Un.Organization]: "organizations",
178582
+ [Un.Project]: "project",
178583
+ [Un.Repository]: "repository"
178583
178584
  }, c5e = (e) => {
178584
178585
  switch (e) {
178585
178586
  case 0:
178586
- return Fn.Repository;
178587
+ return Un.Repository;
178587
178588
  case 1:
178588
- return Fn.Account;
178589
+ return Un.Account;
178589
178590
  case 2:
178590
- return Fn.Organization;
178591
+ return Un.Organization;
178591
178592
  case 3:
178592
- return Fn.Project;
178593
+ return Un.Project;
178593
178594
  default:
178594
- return Fn.Account;
178595
+ return Un.Account;
178595
178596
  }
178596
178597
  }, u5e = ({ scopeType: e, scopedPath: t, size: n, className: r }) => {
178597
178598
  const a = {
@@ -178602,14 +178603,14 @@ const Co = {
178602
178603
  className: r
178603
178604
  };
178604
178605
  switch (e) {
178605
- case Fn.Account:
178606
- return /* @__PURE__ */ _($n, { ...a, icon: bu[Fn.Account], value: "Account" });
178607
- case Fn.Organization:
178608
- return /* @__PURE__ */ _($n, { ...a, icon: bu[Fn.Organization] });
178609
- case Fn.Project:
178610
- return /* @__PURE__ */ _($n, { ...a, icon: bu[Fn.Project] });
178611
- case Fn.Repository:
178612
- return /* @__PURE__ */ _($n, { ...a, icon: bu[Fn.Repository] });
178606
+ case Un.Account:
178607
+ return /* @__PURE__ */ _($n, { ...a, icon: bu[Un.Account], value: "Account" });
178608
+ case Un.Organization:
178609
+ return /* @__PURE__ */ _($n, { ...a, icon: bu[Un.Organization] });
178610
+ case Un.Project:
178611
+ return /* @__PURE__ */ _($n, { ...a, icon: bu[Un.Project] });
178612
+ case Un.Repository:
178613
+ return /* @__PURE__ */ _($n, { ...a, icon: bu[Un.Repository] });
178613
178614
  default:
178614
178615
  return /* @__PURE__ */ _($n, { ...a });
178615
178616
  }
@@ -178620,11 +178621,11 @@ const Co = {
178620
178621
  }) => {
178621
178622
  const r = n.split("/");
178622
178623
  if (r.length === 2 && r[0] === e && r[1] === t)
178623
- return Fn.Account;
178624
+ return Un.Account;
178624
178625
  if (r.length === 3 && r[0] === e && r[2] === t)
178625
- return Fn.Organization;
178626
+ return Un.Organization;
178626
178627
  if (r.length === 4 && r[0] === e && r[3] === t)
178627
- return Fn.Project;
178628
+ return Un.Project;
178628
178629
  }, p5e = ({
178629
178630
  accountId: e,
178630
178631
  repoIdentifier: t,
@@ -181579,7 +181580,7 @@ const tFe = {
181579
181580
  FileViewerControlBar: oTe,
181580
181581
  FilterBoxWrapper: yq,
181581
181582
  FilterField: jke,
181582
- FilterFieldTypes: Un,
181583
+ FilterFieldTypes: In,
181583
181584
  FilterSelect: Rq,
181584
181585
  Folder: Zq,
181585
181586
  ForkTag: A$,
@@ -181684,7 +181685,7 @@ const tFe = {
181684
181685
  StudioCard: B6e,
181685
181686
  Switch: eq,
181686
181687
  SymbolNameMap: wT,
181687
- Table: Pn,
181688
+ Table: Fn,
181688
181689
  Tabs: gr,
181689
181690
  Tag: $n,
181690
181691
  Text: he,
@@ -181798,7 +181799,7 @@ export {
181798
181799
  Rq as aF,
181799
181800
  jke as aG,
181800
181801
  yq as aH,
181801
- Un as aI,
181802
+ In as aI,
181802
181803
  Bke as aJ,
181803
181804
  Gke as aK,
181804
181805
  Aq as aL,
@@ -181902,7 +181903,7 @@ export {
181902
181903
  Bf as br,
181903
181904
  s_ as bs,
181904
181905
  F$ as bt,
181905
- Pn as bu,
181906
+ Fn as bu,
181906
181907
  f6e as bv,
181907
181908
  iW as bw,
181908
181909
  E6e as bx,
@@ -181954,4 +181955,4 @@ export {
181954
181955
  ece as y,
181955
181956
  ea as z
181956
181957
  };
181957
- //# sourceMappingURL=index-BqszPAYu.js.map
181958
+ //# sourceMappingURL=index-BuLVov8H.js.map