storybook 10.1.0-alpha.1 → 10.1.0-alpha.10

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.
Files changed (90) hide show
  1. package/dist/_browser-chunks/{Color-7ZNS6F6B.js → Color-FQNEU7YS.js} +79 -60
  2. package/dist/_browser-chunks/{chunk-BOOOPFZF.js → WithTooltip-6NHN2GXF.js} +25 -17
  3. package/dist/_browser-chunks/{chunk-RNE2IUTB.js → chunk-AW46NMGV.js} +9 -1
  4. package/dist/_browser-chunks/{chunk-C4XOKMDU.js → chunk-QMY4G4R2.js} +49 -49
  5. package/dist/_browser-chunks/{syntaxhighlighter-DK2ODWXH.js → syntaxhighlighter-RJZASWHL.js} +5 -5
  6. package/dist/_node-chunks/{builder-manager-6UBDPV7P.js → builder-manager-HA7CYFCK.js} +32 -12
  7. package/dist/_node-chunks/camelcase-QALD4XFE.js +18 -0
  8. package/dist/_node-chunks/{chunk-6GD23U64.js → chunk-2XY53ALL.js} +8 -8
  9. package/dist/_node-chunks/{chunk-VYRFXLRO.js → chunk-3CBQMG2A.js} +7 -7
  10. package/dist/_node-chunks/{chunk-II4AFH3V.js → chunk-3WDAPZYQ.js} +7 -7
  11. package/dist/_node-chunks/{chunk-GD2FXWDF.js → chunk-4ZB555EJ.js} +7 -7
  12. package/dist/_node-chunks/{chunk-BCDHUXAJ.js → chunk-52DXKXY3.js} +8 -8
  13. package/dist/_node-chunks/{chunk-TUFWZUTO.js → chunk-5OVB4A6F.js} +7 -7
  14. package/dist/_node-chunks/chunk-AGHGNXGH.js +18 -0
  15. package/dist/_node-chunks/{chunk-4GE6Q4MX.js → chunk-B23X5ZCK.js} +7 -7
  16. package/dist/_node-chunks/{chunk-BYVQZ2HU.js → chunk-B2DAHWJK.js} +7 -7
  17. package/dist/_node-chunks/{chunk-WNOSTIYP.js → chunk-CC4PW5MJ.js} +7 -7
  18. package/dist/_node-chunks/{chunk-FY7XZPLY.js → chunk-D7NIZELR.js} +67 -59
  19. package/dist/_node-chunks/{chunk-X67VGZN4.js → chunk-DO5Q3H4L.js} +7 -7
  20. package/dist/_node-chunks/{chunk-2RIKHYCS.js → chunk-ECK7WVFX.js} +12 -12
  21. package/dist/_node-chunks/{chunk-TXHNWNH4.js → chunk-EUH3NHXA.js} +7 -7
  22. package/dist/_node-chunks/{chunk-LAU7VVPC.js → chunk-F3XOPI6H.js} +7 -7
  23. package/dist/_node-chunks/{chunk-3JCSHYSU.js → chunk-FOQHPHCV.js} +7 -7
  24. package/dist/_node-chunks/{chunk-XW7YMR7I.js → chunk-G6EL47NS.js} +7 -7
  25. package/dist/_node-chunks/{chunk-HORWITP7.js → chunk-GFLS4TJB.js} +7 -7
  26. package/dist/_node-chunks/{chunk-FEOC7OX2.js → chunk-J3XZKWHE.js} +8 -8
  27. package/dist/_node-chunks/{chunk-RVE4UTVQ.js → chunk-LE63EHJ5.js} +12 -12
  28. package/dist/_node-chunks/{chunk-7TNUMFKR.js → chunk-M47XA42S.js} +9 -9
  29. package/dist/_node-chunks/{chunk-XCEBYOA4.js → chunk-OOI74AL3.js} +6 -6
  30. package/dist/_node-chunks/{chunk-CJHAP7SE.js → chunk-OVXB5GGT.js} +7 -7
  31. package/dist/_node-chunks/chunk-PRJHT3GJ.js +61 -0
  32. package/dist/_node-chunks/{chunk-DAMVKHAC.js → chunk-Q52PVUSU.js} +7 -7
  33. package/dist/_node-chunks/{chunk-J7N7PD5Q.js → chunk-RMHAL25C.js} +9 -9
  34. package/dist/_node-chunks/{chunk-ULWNTI6M.js → chunk-SDCF5RNN.js} +15 -15
  35. package/dist/_node-chunks/{chunk-MF2PUEWG.js → chunk-UJ5SJ23M.js} +7 -7
  36. package/dist/_node-chunks/{chunk-5SEHHENC.js → chunk-UPHK4ETU.js} +19 -17
  37. package/dist/_node-chunks/{chunk-6OAXYS5T.js → chunk-V7VURIPB.js} +8 -8
  38. package/dist/_node-chunks/{chunk-3FPF5Y2F.js → chunk-VPR5IBMG.js} +6 -6
  39. package/dist/_node-chunks/{chunk-QNUGJO6L.js → chunk-X4XU27M6.js} +7 -7
  40. package/dist/_node-chunks/{chunk-SCTKVDWR.js → chunk-ZHSCUGNP.js} +1467 -148
  41. package/dist/_node-chunks/{dist-APCKHSY3.js → dist-6TXHNR5C.js} +9 -9
  42. package/dist/_node-chunks/{globby-TSGXGDA2.js → globby-PBTV6PX6.js} +9 -9
  43. package/dist/_node-chunks/{lib-DZ5TVIU5.js → lib-4RTDZVGX.js} +7 -7
  44. package/dist/_node-chunks/{mdx-N42X6CFJ-Z6BYQCPN.js → mdx-N42X6CFJ-COWEH7KR.js} +8 -8
  45. package/dist/_node-chunks/{p-limit-MLJNGG2K.js → p-limit-PBVZQOFY.js} +7 -7
  46. package/dist/_node-chunks/{plugin-HJLCLGNT.js → plugin-6ZPCS4LI.js} +10 -10
  47. package/dist/_node-chunks/{plugin-J3JI3ZKJ.js → plugin-EOZKYZAG.js} +10 -10
  48. package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-3QHNTM5B.js → webpack-inject-mocker-runtime-plugin-35HMSMR5.js} +10 -10
  49. package/dist/_node-chunks/{webpack-mock-plugin-4Y3MWPJ6.js → webpack-mock-plugin-GT3MA5E2.js} +9 -9
  50. package/dist/babel/index.js +11 -11
  51. package/dist/bin/core.js +11 -11
  52. package/dist/bin/dispatcher.js +11 -11
  53. package/dist/bin/loader.js +9 -9
  54. package/dist/cli/index.js +50 -74
  55. package/dist/common/index.d.ts +210 -3
  56. package/dist/common/index.js +28 -20
  57. package/dist/components/index.d.ts +472 -280
  58. package/dist/components/index.js +20367 -75
  59. package/dist/core-server/index.js +1070 -188
  60. package/dist/core-server/presets/common-manager.js +1143 -2230
  61. package/dist/core-server/presets/common-override-preset.js +9 -9
  62. package/dist/core-server/presets/common-preset.js +23 -23
  63. package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
  64. package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
  65. package/dist/csf/index.js +13 -6
  66. package/dist/csf-tools/index.d.ts +15 -4
  67. package/dist/csf-tools/index.js +9 -9
  68. package/dist/manager/globals-runtime.js +40951 -26253
  69. package/dist/manager/runtime.js +1688 -2693
  70. package/dist/manager-api/index.d.ts +11 -3
  71. package/dist/manager-api/index.js +53 -6
  72. package/dist/node-logger/index.d.ts +1 -1
  73. package/dist/node-logger/index.js +473 -448
  74. package/dist/preview/runtime.js +903 -896
  75. package/dist/preview-api/index.js +5 -5
  76. package/dist/server-errors.js +10 -10
  77. package/dist/telemetry/index.js +24 -24
  78. package/dist/test/index.js +547 -547
  79. package/dist/theming/create.d.ts +4 -2
  80. package/dist/theming/create.js +1 -1
  81. package/dist/theming/index.d.ts +9 -6
  82. package/dist/theming/index.js +13 -6
  83. package/dist/types/index.d.ts +50 -5
  84. package/package.json +14 -6
  85. package/dist/_browser-chunks/WithTooltip-SK46ZJ2J.js +0 -13
  86. package/dist/_browser-chunks/chunk-I74EUU5O.js +0 -5809
  87. package/dist/_node-chunks/camelcase-WKJOVNPM.js +0 -18
  88. package/dist/_node-chunks/chunk-HM6B7FE5.js +0 -18
  89. package/dist/_node-chunks/chunk-ZRFYQ46H.js +0 -61
  90. package/dist/_browser-chunks/{chunk-W4QKLQSC.js → chunk-RW5PKMWM.js} +5 -5
@@ -5,11 +5,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
8
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
- get: (a2, b) => (typeof require !== "undefined" ? require : a2)[b]
10
- }) : x)(function(x) {
8
+ var __require = /* @__PURE__ */ ((x2) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x2, {
9
+ get: (a2, b2) => (typeof require !== "undefined" ? require : a2)[b2]
10
+ }) : x2)(function(x2) {
11
11
  if (typeof require !== "undefined") return require.apply(this, arguments);
12
- throw Error('Dynamic require of "' + x + '" is not supported');
12
+ throw Error('Dynamic require of "' + x2 + '" is not supported');
13
13
  });
14
14
  var __commonJS = (cb, mod) => function __require2() {
15
15
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
@@ -43,14 +43,14 @@ var require_tiny_isequal = __commonJS({
43
43
  return Object.keys(e3).concat(Object.getOwnPropertySymbols(e3));
44
44
  } : Object.keys;
45
45
  return function(n2, a2) {
46
- return (/* @__PURE__ */ __name(function n3(a3, c2, u2) {
47
- var i2, s3, l, o2 = e2.call(a3), f3 = e2.call(c2);
46
+ return (/* @__PURE__ */ __name(function n3(a3, c2, u3) {
47
+ var i2, s3, l2, o2 = e2.call(a3), f4 = e2.call(c2);
48
48
  if (a3 === c2) return true;
49
49
  if (null == a3 || null == c2) return false;
50
- if (u2.indexOf(a3) > -1 && u2.indexOf(c2) > -1) return true;
51
- if (u2.push(a3, c2), o2 != f3) return false;
50
+ if (u3.indexOf(a3) > -1 && u3.indexOf(c2) > -1) return true;
51
+ if (u3.push(a3, c2), o2 != f4) return false;
52
52
  if (i2 = t2(a3), s3 = t2(c2), i2.length != s3.length || i2.some(function(e3) {
53
- return !n3(a3[e3], c2[e3], u2);
53
+ return !n3(a3[e3], c2[e3], u3);
54
54
  })) return false;
55
55
  switch (o2.slice(8, -1)) {
56
56
  case "Symbol":
@@ -67,8 +67,8 @@ var require_tiny_isequal = __commonJS({
67
67
  case "Map":
68
68
  i2 = a3.entries(), s3 = c2.entries();
69
69
  do {
70
- if (!n3((l = i2.next()).value, s3.next().value, u2)) return false;
71
- } while (!l.done);
70
+ if (!n3((l2 = i2.next()).value, s3.next().value, u3)) return false;
71
+ } while (!l2.done);
72
72
  return true;
73
73
  case "ArrayBuffer":
74
74
  a3 = new Uint8Array(a3), c2 = new Uint8Array(c2);
@@ -86,10 +86,10 @@ var require_tiny_isequal = __commonJS({
86
86
  case "Arguments":
87
87
  case "Array":
88
88
  if (a3.length != c2.length) return false;
89
- for (l = 0; l < a3.length; l++) if ((l in a3 || l in c2) && (l in a3 != l in c2 || !n3(a3[l], c2[l], u2))) return false;
89
+ for (l2 = 0; l2 < a3.length; l2++) if ((l2 in a3 || l2 in c2) && (l2 in a3 != l2 in c2 || !n3(a3[l2], c2[l2], u3))) return false;
90
90
  return true;
91
91
  case "Object":
92
- return n3(r2(a3), r2(c2), u2);
92
+ return n3(r2(a3), r2(c2), u3);
93
93
  default:
94
94
  return false;
95
95
  }
@@ -113,9 +113,9 @@ var require_min_indent = __commonJS({
113
113
  }
114
114
  });
115
115
 
116
- // ../node_modules/strip-indent/index.js
116
+ // ../node_modules/redent/node_modules/strip-indent/index.js
117
117
  var require_strip_indent = __commonJS({
118
- "../node_modules/strip-indent/index.js"(exports, module2) {
118
+ "../node_modules/redent/node_modules/strip-indent/index.js"(exports, module2) {
119
119
  "use strict";
120
120
  var minIndent = require_min_indent();
121
121
  module2.exports = (string) => {
@@ -279,20 +279,20 @@ var require_ariaPropsMap = __commonJS({
279
279
  return n2;
280
280
  }
281
281
  __name(_arrayLikeToArray, "_arrayLikeToArray");
282
- function _iterableToArrayLimit(r2, l) {
282
+ function _iterableToArrayLimit(r2, l2) {
283
283
  var t2 = null == r2 ? null : "undefined" != typeof Symbol && r2[Symbol.iterator] || r2["@@iterator"];
284
284
  if (null != t2) {
285
- var e2, n2, i2, u2, a2 = [], f3 = true, o2 = false;
285
+ var e2, n2, i2, u3, a2 = [], f4 = true, o2 = false;
286
286
  try {
287
- if (i2 = (t2 = t2.call(r2)).next, 0 === l) {
287
+ if (i2 = (t2 = t2.call(r2)).next, 0 === l2) {
288
288
  if (Object(t2) !== t2) return;
289
- f3 = false;
290
- } else for (; !(f3 = (e2 = i2.call(t2)).done) && (a2.push(e2.value), a2.length !== l); f3 = true) ;
289
+ f4 = false;
290
+ } else for (; !(f4 = (e2 = i2.call(t2)).done) && (a2.push(e2.value), a2.length !== l2); f4 = true) ;
291
291
  } catch (r3) {
292
292
  o2 = true, n2 = r3;
293
293
  } finally {
294
294
  try {
295
- if (!f3 && null != t2.return && (u2 = t2.return(), Object(u2) !== u2)) return;
295
+ if (!f4 && null != t2.return && (u3 = t2.return(), Object(u3) !== u3)) return;
296
296
  } finally {
297
297
  if (o2) throw n2;
298
298
  }
@@ -493,20 +493,20 @@ var require_domMap = __commonJS({
493
493
  return n2;
494
494
  }
495
495
  __name(_arrayLikeToArray, "_arrayLikeToArray");
496
- function _iterableToArrayLimit(r2, l) {
496
+ function _iterableToArrayLimit(r2, l2) {
497
497
  var t2 = null == r2 ? null : "undefined" != typeof Symbol && r2[Symbol.iterator] || r2["@@iterator"];
498
498
  if (null != t2) {
499
- var e2, n2, i2, u2, a2 = [], f3 = true, o2 = false;
499
+ var e2, n2, i2, u3, a2 = [], f4 = true, o2 = false;
500
500
  try {
501
- if (i2 = (t2 = t2.call(r2)).next, 0 === l) {
501
+ if (i2 = (t2 = t2.call(r2)).next, 0 === l2) {
502
502
  if (Object(t2) !== t2) return;
503
- f3 = false;
504
- } else for (; !(f3 = (e2 = i2.call(t2)).done) && (a2.push(e2.value), a2.length !== l); f3 = true) ;
503
+ f4 = false;
504
+ } else for (; !(f4 = (e2 = i2.call(t2)).done) && (a2.push(e2.value), a2.length !== l2); f4 = true) ;
505
505
  } catch (r3) {
506
506
  o2 = true, n2 = r3;
507
507
  } finally {
508
508
  try {
509
- if (!f3 && null != t2.return && (u2 = t2.return(), Object(u2) !== u2)) return;
509
+ if (!f4 && null != t2.return && (u3 = t2.return(), Object(u3) !== u3)) return;
510
510
  } finally {
511
511
  if (o2) throw n2;
512
512
  }
@@ -6480,19 +6480,19 @@ var require_rolesMap = __commonJS({
6480
6480
  }
6481
6481
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6482
6482
  }
6483
- var o2, a2 = true, u2 = false;
6483
+ var o2, a2 = true, u3 = false;
6484
6484
  return { s: /* @__PURE__ */ __name(function s3() {
6485
6485
  t2 = t2.call(r2);
6486
6486
  }, "s"), n: /* @__PURE__ */ __name(function n2() {
6487
6487
  var r3 = t2.next();
6488
6488
  return a2 = r3.done, r3;
6489
6489
  }, "n"), e: /* @__PURE__ */ __name(function e3(r3) {
6490
- u2 = true, o2 = r3;
6491
- }, "e"), f: /* @__PURE__ */ __name(function f3() {
6490
+ u3 = true, o2 = r3;
6491
+ }, "e"), f: /* @__PURE__ */ __name(function f4() {
6492
6492
  try {
6493
6493
  a2 || null == t2.return || t2.return();
6494
6494
  } finally {
6495
- if (u2) throw o2;
6495
+ if (u3) throw o2;
6496
6496
  }
6497
6497
  }, "f") };
6498
6498
  }
@@ -6519,20 +6519,20 @@ var require_rolesMap = __commonJS({
6519
6519
  return n2;
6520
6520
  }
6521
6521
  __name(_arrayLikeToArray, "_arrayLikeToArray");
6522
- function _iterableToArrayLimit(r2, l) {
6522
+ function _iterableToArrayLimit(r2, l2) {
6523
6523
  var t2 = null == r2 ? null : "undefined" != typeof Symbol && r2[Symbol.iterator] || r2["@@iterator"];
6524
6524
  if (null != t2) {
6525
- var e2, n2, i2, u2, a2 = [], f3 = true, o2 = false;
6525
+ var e2, n2, i2, u3, a2 = [], f4 = true, o2 = false;
6526
6526
  try {
6527
- if (i2 = (t2 = t2.call(r2)).next, 0 === l) {
6527
+ if (i2 = (t2 = t2.call(r2)).next, 0 === l2) {
6528
6528
  if (Object(t2) !== t2) return;
6529
- f3 = false;
6530
- } else for (; !(f3 = (e2 = i2.call(t2)).done) && (a2.push(e2.value), a2.length !== l); f3 = true) ;
6529
+ f4 = false;
6530
+ } else for (; !(f4 = (e2 = i2.call(t2)).done) && (a2.push(e2.value), a2.length !== l2); f4 = true) ;
6531
6531
  } catch (r3) {
6532
6532
  o2 = true, n2 = r3;
6533
6533
  } finally {
6534
6534
  try {
6535
- if (!f3 && null != t2.return && (u2 = t2.return(), Object(u2) !== u2)) return;
6535
+ if (!f4 && null != t2.return && (u3 = t2.return(), Object(u3) !== u3)) return;
6536
6536
  } finally {
6537
6537
  if (o2) throw n2;
6538
6538
  }
@@ -6668,20 +6668,20 @@ var require_elementRoleMap = __commonJS({
6668
6668
  return n2;
6669
6669
  }
6670
6670
  __name(_arrayLikeToArray, "_arrayLikeToArray");
6671
- function _iterableToArrayLimit(r2, l) {
6671
+ function _iterableToArrayLimit(r2, l2) {
6672
6672
  var t2 = null == r2 ? null : "undefined" != typeof Symbol && r2[Symbol.iterator] || r2["@@iterator"];
6673
6673
  if (null != t2) {
6674
- var e2, n2, i3, u2, a2 = [], f3 = true, o2 = false;
6674
+ var e2, n2, i3, u3, a2 = [], f4 = true, o2 = false;
6675
6675
  try {
6676
- if (i3 = (t2 = t2.call(r2)).next, 0 === l) {
6676
+ if (i3 = (t2 = t2.call(r2)).next, 0 === l2) {
6677
6677
  if (Object(t2) !== t2) return;
6678
- f3 = false;
6679
- } else for (; !(f3 = (e2 = i3.call(t2)).done) && (a2.push(e2.value), a2.length !== l); f3 = true) ;
6678
+ f4 = false;
6679
+ } else for (; !(f4 = (e2 = i3.call(t2)).done) && (a2.push(e2.value), a2.length !== l2); f4 = true) ;
6680
6680
  } catch (r3) {
6681
6681
  o2 = true, n2 = r3;
6682
6682
  } finally {
6683
6683
  try {
6684
- if (!f3 && null != t2.return && (u2 = t2.return(), Object(u2) !== u2)) return;
6684
+ if (!f4 && null != t2.return && (u3 = t2.return(), Object(u3) !== u3)) return;
6685
6685
  } finally {
6686
6686
  if (o2) throw n2;
6687
6687
  }
@@ -6702,7 +6702,7 @@ var require_elementRoleMap = __commonJS({
6702
6702
  if (role) {
6703
6703
  concepts = [].concat(role.baseConcepts, role.relatedConcepts);
6704
6704
  _loop = /* @__PURE__ */ __name(function _loop2() {
6705
- var relation = concepts[k];
6705
+ var relation = concepts[k2];
6706
6706
  if (relation.module === "HTML") {
6707
6707
  var concept = relation.concept;
6708
6708
  if (concept) {
@@ -6731,7 +6731,7 @@ var require_elementRoleMap = __commonJS({
6731
6731
  }
6732
6732
  }
6733
6733
  }, "_loop");
6734
- for (k = 0; k < concepts.length; k++) {
6734
+ for (k2 = 0; k2 < concepts.length; k2++) {
6735
6735
  _loop();
6736
6736
  }
6737
6737
  }
@@ -6740,7 +6740,7 @@ var require_elementRoleMap = __commonJS({
6740
6740
  var role;
6741
6741
  var concepts;
6742
6742
  var _loop;
6743
- var k;
6743
+ var k2;
6744
6744
  var i2;
6745
6745
  var elementRoleMap = {
6746
6746
  entries: /* @__PURE__ */ __name(function entries() {
@@ -6775,23 +6775,23 @@ var require_elementRoleMap = __commonJS({
6775
6775
  });
6776
6776
  }, "values")
6777
6777
  };
6778
- function ariaRoleRelationConceptEquals(a2, b) {
6779
- return a2.name === b.name && ariaRoleRelationConstraintsEquals(a2.constraints, b.constraints) && ariaRoleRelationConceptAttributeEquals(a2.attributes, b.attributes);
6778
+ function ariaRoleRelationConceptEquals(a2, b2) {
6779
+ return a2.name === b2.name && ariaRoleRelationConstraintsEquals(a2.constraints, b2.constraints) && ariaRoleRelationConceptAttributeEquals(a2.attributes, b2.attributes);
6780
6780
  }
6781
6781
  __name(ariaRoleRelationConceptEquals, "ariaRoleRelationConceptEquals");
6782
- function ariaRoleRelationConstraintsEquals(a2, b) {
6783
- if (a2 === void 0 && b !== void 0) {
6782
+ function ariaRoleRelationConstraintsEquals(a2, b2) {
6783
+ if (a2 === void 0 && b2 !== void 0) {
6784
6784
  return false;
6785
6785
  }
6786
- if (a2 !== void 0 && b === void 0) {
6786
+ if (a2 !== void 0 && b2 === void 0) {
6787
6787
  return false;
6788
6788
  }
6789
- if (a2 !== void 0 && b !== void 0) {
6790
- if (a2.length !== b.length) {
6789
+ if (a2 !== void 0 && b2 !== void 0) {
6790
+ if (a2.length !== b2.length) {
6791
6791
  return false;
6792
6792
  }
6793
6793
  for (var _i3 = 0; _i3 < a2.length; _i3++) {
6794
- if (a2[_i3] !== b[_i3]) {
6794
+ if (a2[_i3] !== b2[_i3]) {
6795
6795
  return false;
6796
6796
  }
6797
6797
  }
@@ -6799,33 +6799,33 @@ var require_elementRoleMap = __commonJS({
6799
6799
  return true;
6800
6800
  }
6801
6801
  __name(ariaRoleRelationConstraintsEquals, "ariaRoleRelationConstraintsEquals");
6802
- function ariaRoleRelationConceptAttributeEquals(a2, b) {
6803
- if (a2 === void 0 && b !== void 0) {
6802
+ function ariaRoleRelationConceptAttributeEquals(a2, b2) {
6803
+ if (a2 === void 0 && b2 !== void 0) {
6804
6804
  return false;
6805
6805
  }
6806
- if (a2 !== void 0 && b === void 0) {
6806
+ if (a2 !== void 0 && b2 === void 0) {
6807
6807
  return false;
6808
6808
  }
6809
- if (a2 !== void 0 && b !== void 0) {
6810
- if (a2.length !== b.length) {
6809
+ if (a2 !== void 0 && b2 !== void 0) {
6810
+ if (a2.length !== b2.length) {
6811
6811
  return false;
6812
6812
  }
6813
6813
  for (var _i4 = 0; _i4 < a2.length; _i4++) {
6814
- if (a2[_i4].name !== b[_i4].name || a2[_i4].value !== b[_i4].value) {
6814
+ if (a2[_i4].name !== b2[_i4].name || a2[_i4].value !== b2[_i4].value) {
6815
6815
  return false;
6816
6816
  }
6817
- if (a2[_i4].constraints === void 0 && b[_i4].constraints !== void 0) {
6817
+ if (a2[_i4].constraints === void 0 && b2[_i4].constraints !== void 0) {
6818
6818
  return false;
6819
6819
  }
6820
- if (a2[_i4].constraints !== void 0 && b[_i4].constraints === void 0) {
6820
+ if (a2[_i4].constraints !== void 0 && b2[_i4].constraints === void 0) {
6821
6821
  return false;
6822
6822
  }
6823
- if (a2[_i4].constraints !== void 0 && b[_i4].constraints !== void 0) {
6824
- if (a2[_i4].constraints.length !== b[_i4].constraints.length) {
6823
+ if (a2[_i4].constraints !== void 0 && b2[_i4].constraints !== void 0) {
6824
+ if (a2[_i4].constraints.length !== b2[_i4].constraints.length) {
6825
6825
  return false;
6826
6826
  }
6827
- for (var j = 0; j < a2[_i4].constraints.length; j++) {
6828
- if (a2[_i4].constraints[j] !== b[_i4].constraints[j]) {
6827
+ for (var j2 = 0; j2 < a2[_i4].constraints.length; j2++) {
6828
+ if (a2[_i4].constraints[j2] !== b2[_i4].constraints[j2]) {
6829
6829
  return false;
6830
6830
  }
6831
6831
  }
@@ -6875,20 +6875,20 @@ var require_roleElementMap = __commonJS({
6875
6875
  return n2;
6876
6876
  }
6877
6877
  __name(_arrayLikeToArray, "_arrayLikeToArray");
6878
- function _iterableToArrayLimit(r2, l) {
6878
+ function _iterableToArrayLimit(r2, l2) {
6879
6879
  var t2 = null == r2 ? null : "undefined" != typeof Symbol && r2[Symbol.iterator] || r2["@@iterator"];
6880
6880
  if (null != t2) {
6881
- var e2, n2, i3, u2, a2 = [], f3 = true, o2 = false;
6881
+ var e2, n2, i3, u3, a2 = [], f4 = true, o2 = false;
6882
6882
  try {
6883
- if (i3 = (t2 = t2.call(r2)).next, 0 === l) {
6883
+ if (i3 = (t2 = t2.call(r2)).next, 0 === l2) {
6884
6884
  if (Object(t2) !== t2) return;
6885
- f3 = false;
6886
- } else for (; !(f3 = (e2 = i3.call(t2)).done) && (a2.push(e2.value), a2.length !== l); f3 = true) ;
6885
+ f4 = false;
6886
+ } else for (; !(f4 = (e2 = i3.call(t2)).done) && (a2.push(e2.value), a2.length !== l2); f4 = true) ;
6887
6887
  } catch (r3) {
6888
6888
  o2 = true, n2 = r3;
6889
6889
  } finally {
6890
6890
  try {
6891
- if (!f3 && null != t2.return && (u2 = t2.return(), Object(u2) !== u2)) return;
6891
+ if (!f4 && null != t2.return && (u3 = t2.return(), Object(u3) !== u3)) return;
6892
6892
  } finally {
6893
6893
  if (o2) throw n2;
6894
6894
  }
@@ -6909,8 +6909,8 @@ var require_roleElementMap = __commonJS({
6909
6909
  relationConcepts = [];
6910
6910
  if (role) {
6911
6911
  concepts = [].concat(role.baseConcepts, role.relatedConcepts);
6912
- for (k = 0; k < concepts.length; k++) {
6913
- relation = concepts[k];
6912
+ for (k2 = 0; k2 < concepts.length; k2++) {
6913
+ relation = concepts[k2];
6914
6914
  if (relation.module === "HTML") {
6915
6915
  concept = relation.concept;
6916
6916
  if (concept != null) {
@@ -6929,7 +6929,7 @@ var require_roleElementMap = __commonJS({
6929
6929
  var concepts;
6930
6930
  var relation;
6931
6931
  var concept;
6932
- var k;
6932
+ var k2;
6933
6933
  var i2;
6934
6934
  var roleElementMap = {
6935
6935
  entries: /* @__PURE__ */ __name(function entries() {
@@ -6996,9 +6996,9 @@ var require_lib = __commonJS({
6996
6996
  // ../node_modules/picocolors/picocolors.browser.js
6997
6997
  var require_picocolors_browser = __commonJS({
6998
6998
  "../node_modules/picocolors/picocolors.browser.js"(exports, module2) {
6999
- var x = String;
6999
+ var x2 = String;
7000
7000
  var create = /* @__PURE__ */ __name(function() {
7001
- return { isColorSupported: false, reset: x, bold: x, dim: x, italic: x, underline: x, inverse: x, hidden: x, strikethrough: x, black: x, red: x, green: x, yellow: x, blue: x, magenta: x, cyan: x, white: x, gray: x, bgBlack: x, bgRed: x, bgGreen: x, bgYellow: x, bgBlue: x, bgMagenta: x, bgCyan: x, bgWhite: x, blackBright: x, redBright: x, greenBright: x, yellowBright: x, blueBright: x, magentaBright: x, cyanBright: x, whiteBright: x, bgBlackBright: x, bgRedBright: x, bgGreenBright: x, bgYellowBright: x, bgBlueBright: x, bgMagentaBright: x, bgCyanBright: x, bgWhiteBright: x };
7001
+ return { isColorSupported: false, reset: x2, bold: x2, dim: x2, italic: x2, underline: x2, inverse: x2, hidden: x2, strikethrough: x2, black: x2, red: x2, green: x2, yellow: x2, blue: x2, magenta: x2, cyan: x2, white: x2, gray: x2, bgBlack: x2, bgRed: x2, bgGreen: x2, bgYellow: x2, bgBlue: x2, bgMagenta: x2, bgCyan: x2, bgWhite: x2, blackBright: x2, redBright: x2, greenBright: x2, yellowBright: x2, blueBright: x2, magentaBright: x2, cyanBright: x2, whiteBright: x2, bgBlackBright: x2, bgRedBright: x2, bgGreenBright: x2, bgYellowBright: x2, bgBlueBright: x2, bgMagentaBright: x2, bgCyanBright: x2, bgWhiteBright: x2 };
7002
7002
  }, "create");
7003
7003
  module2.exports = create();
7004
7004
  module2.exports.createColors = create;
@@ -7867,60 +7867,60 @@ var require_Immutable = __commonJS({
7867
7867
  var require_react_is_production_min = __commonJS({
7868
7868
  "../node_modules/pretty-format/node_modules/react-is/cjs/react-is.production.min.js"(exports) {
7869
7869
  "use strict";
7870
- var b = 60103;
7870
+ var b2 = 60103;
7871
7871
  var c2 = 60106;
7872
7872
  var d = 60107;
7873
7873
  var e2 = 60108;
7874
- var f3 = 60114;
7874
+ var f4 = 60114;
7875
7875
  var g2 = 60109;
7876
- var h2 = 60110;
7877
- var k = 60112;
7878
- var l = 60113;
7876
+ var h3 = 60110;
7877
+ var k2 = 60112;
7878
+ var l2 = 60113;
7879
7879
  var m3 = 60120;
7880
7880
  var n2 = 60115;
7881
7881
  var p2 = 60116;
7882
7882
  var q = 60121;
7883
7883
  var r2 = 60122;
7884
- var u2 = 60117;
7885
- var v = 60129;
7886
- var w = 60131;
7884
+ var u3 = 60117;
7885
+ var v2 = 60129;
7886
+ var w2 = 60131;
7887
7887
  if ("function" === typeof Symbol && Symbol.for) {
7888
- x = Symbol.for;
7889
- b = x("react.element");
7890
- c2 = x("react.portal");
7891
- d = x("react.fragment");
7892
- e2 = x("react.strict_mode");
7893
- f3 = x("react.profiler");
7894
- g2 = x("react.provider");
7895
- h2 = x("react.context");
7896
- k = x("react.forward_ref");
7897
- l = x("react.suspense");
7898
- m3 = x("react.suspense_list");
7899
- n2 = x("react.memo");
7900
- p2 = x("react.lazy");
7901
- q = x("react.block");
7902
- r2 = x("react.server.block");
7903
- u2 = x("react.fundamental");
7904
- v = x("react.debug_trace_mode");
7905
- w = x("react.legacy_hidden");
7906
- }
7907
- var x;
7908
- function y(a2) {
7888
+ x2 = Symbol.for;
7889
+ b2 = x2("react.element");
7890
+ c2 = x2("react.portal");
7891
+ d = x2("react.fragment");
7892
+ e2 = x2("react.strict_mode");
7893
+ f4 = x2("react.profiler");
7894
+ g2 = x2("react.provider");
7895
+ h3 = x2("react.context");
7896
+ k2 = x2("react.forward_ref");
7897
+ l2 = x2("react.suspense");
7898
+ m3 = x2("react.suspense_list");
7899
+ n2 = x2("react.memo");
7900
+ p2 = x2("react.lazy");
7901
+ q = x2("react.block");
7902
+ r2 = x2("react.server.block");
7903
+ u3 = x2("react.fundamental");
7904
+ v2 = x2("react.debug_trace_mode");
7905
+ w2 = x2("react.legacy_hidden");
7906
+ }
7907
+ var x2;
7908
+ function y2(a2) {
7909
7909
  if ("object" === typeof a2 && null !== a2) {
7910
7910
  var t2 = a2.$$typeof;
7911
7911
  switch (t2) {
7912
- case b:
7912
+ case b2:
7913
7913
  switch (a2 = a2.type, a2) {
7914
7914
  case d:
7915
- case f3:
7915
+ case f4:
7916
7916
  case e2:
7917
- case l:
7917
+ case l2:
7918
7918
  case m3:
7919
7919
  return a2;
7920
7920
  default:
7921
7921
  switch (a2 = a2 && a2.$$typeof, a2) {
7922
- case h2:
7923
- case k:
7922
+ case h3:
7923
+ case k2:
7924
7924
  case p2:
7925
7925
  case n2:
7926
7926
  case g2:
@@ -7934,24 +7934,24 @@ var require_react_is_production_min = __commonJS({
7934
7934
  }
7935
7935
  }
7936
7936
  }
7937
- __name(y, "y");
7937
+ __name(y2, "y");
7938
7938
  var z = g2;
7939
- var A = b;
7940
- var B2 = k;
7939
+ var A = b2;
7940
+ var B2 = k2;
7941
7941
  var C2 = d;
7942
- var D = p2;
7943
- var E = n2;
7942
+ var D2 = p2;
7943
+ var E2 = n2;
7944
7944
  var F = c2;
7945
- var G = f3;
7945
+ var G = f4;
7946
7946
  var H = e2;
7947
- var I = l;
7948
- exports.ContextConsumer = h2;
7947
+ var I = l2;
7948
+ exports.ContextConsumer = h3;
7949
7949
  exports.ContextProvider = z;
7950
7950
  exports.Element = A;
7951
7951
  exports.ForwardRef = B2;
7952
7952
  exports.Fragment = C2;
7953
- exports.Lazy = D;
7954
- exports.Memo = E;
7953
+ exports.Lazy = D2;
7954
+ exports.Memo = E2;
7955
7955
  exports.Portal = F;
7956
7956
  exports.Profiler = G;
7957
7957
  exports.StrictMode = H;
@@ -7963,42 +7963,42 @@ var require_react_is_production_min = __commonJS({
7963
7963
  return false;
7964
7964
  };
7965
7965
  exports.isContextConsumer = function(a2) {
7966
- return y(a2) === h2;
7966
+ return y2(a2) === h3;
7967
7967
  };
7968
7968
  exports.isContextProvider = function(a2) {
7969
- return y(a2) === g2;
7969
+ return y2(a2) === g2;
7970
7970
  };
7971
7971
  exports.isElement = function(a2) {
7972
- return "object" === typeof a2 && null !== a2 && a2.$$typeof === b;
7972
+ return "object" === typeof a2 && null !== a2 && a2.$$typeof === b2;
7973
7973
  };
7974
7974
  exports.isForwardRef = function(a2) {
7975
- return y(a2) === k;
7975
+ return y2(a2) === k2;
7976
7976
  };
7977
7977
  exports.isFragment = function(a2) {
7978
- return y(a2) === d;
7978
+ return y2(a2) === d;
7979
7979
  };
7980
7980
  exports.isLazy = function(a2) {
7981
- return y(a2) === p2;
7981
+ return y2(a2) === p2;
7982
7982
  };
7983
7983
  exports.isMemo = function(a2) {
7984
- return y(a2) === n2;
7984
+ return y2(a2) === n2;
7985
7985
  };
7986
7986
  exports.isPortal = function(a2) {
7987
- return y(a2) === c2;
7987
+ return y2(a2) === c2;
7988
7988
  };
7989
7989
  exports.isProfiler = function(a2) {
7990
- return y(a2) === f3;
7990
+ return y2(a2) === f4;
7991
7991
  };
7992
7992
  exports.isStrictMode = function(a2) {
7993
- return y(a2) === e2;
7993
+ return y2(a2) === e2;
7994
7994
  };
7995
7995
  exports.isSuspense = function(a2) {
7996
- return y(a2) === l;
7996
+ return y2(a2) === l2;
7997
7997
  };
7998
7998
  exports.isValidElementType = function(a2) {
7999
- return "string" === typeof a2 || "function" === typeof a2 || a2 === d || a2 === f3 || a2 === v || a2 === e2 || a2 === l || a2 === m3 || a2 === w || "object" === typeof a2 && null !== a2 && (a2.$$typeof === p2 || a2.$$typeof === n2 || a2.$$typeof === g2 || a2.$$typeof === h2 || a2.$$typeof === k || a2.$$typeof === u2 || a2.$$typeof === q || a2[0] === r2) ? true : false;
7999
+ return "string" === typeof a2 || "function" === typeof a2 || a2 === d || a2 === f4 || a2 === v2 || a2 === e2 || a2 === l2 || a2 === m3 || a2 === w2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === p2 || a2.$$typeof === n2 || a2.$$typeof === g2 || a2.$$typeof === h3 || a2.$$typeof === k2 || a2.$$typeof === u3 || a2.$$typeof === q || a2[0] === r2) ? true : false;
8000
8000
  };
8001
- exports.typeOf = y;
8001
+ exports.typeOf = y2;
8002
8002
  }
8003
8003
  });
8004
8004
 
@@ -8604,7 +8604,7 @@ var require_build = __commonJS({
8604
8604
  var require_lz_string = __commonJS({
8605
8605
  "../node_modules/lz-string/libs/lz-string.js"(exports, module2) {
8606
8606
  var LZString = function() {
8607
- var f3 = String.fromCharCode;
8607
+ var f4 = String.fromCharCode;
8608
8608
  var keyStrBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
8609
8609
  var keyStrUriSafe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$";
8610
8610
  var baseReverseDic = {};
@@ -8648,7 +8648,7 @@ var require_lz_string = __commonJS({
8648
8648
  compressToUTF16: /* @__PURE__ */ __name(function(input2) {
8649
8649
  if (input2 == null) return "";
8650
8650
  return LZString2._compress(input2, 15, function(a2) {
8651
- return f3(a2 + 32);
8651
+ return f4(a2 + 32);
8652
8652
  }) + " ";
8653
8653
  }, "compressToUTF16"),
8654
8654
  decompressFromUTF16: /* @__PURE__ */ __name(function(compressed) {
@@ -8680,7 +8680,7 @@ var require_lz_string = __commonJS({
8680
8680
  }
8681
8681
  var result = [];
8682
8682
  buf.forEach(function(c2) {
8683
- result.push(f3(c2));
8683
+ result.push(f4(c2));
8684
8684
  });
8685
8685
  return LZString2.decompress(result.join(""));
8686
8686
  }
@@ -8703,7 +8703,7 @@ var require_lz_string = __commonJS({
8703
8703
  }, "decompressFromEncodedURIComponent"),
8704
8704
  compress: /* @__PURE__ */ __name(function(uncompressed) {
8705
8705
  return LZString2._compress(uncompressed, 16, function(a2) {
8706
- return f3(a2);
8706
+ return f4(a2);
8707
8707
  });
8708
8708
  }, "compress"),
8709
8709
  _compress: /* @__PURE__ */ __name(function(uncompressed, bitsPerChar, getCharFromInt) {
@@ -8904,7 +8904,7 @@ var require_lz_string = __commonJS({
8904
8904
  });
8905
8905
  }, "decompress"),
8906
8906
  _decompress: /* @__PURE__ */ __name(function(length, resetValue, getNextValue) {
8907
- var dictionary = [], next, enlargeIn = 4, dictSize = 4, numBits = 3, entry = "", result = [], i2, w, bits, resb, maxpower, power, c2, data = { val: getNextValue(0), position: resetValue, index: 1 };
8907
+ var dictionary = [], next, enlargeIn = 4, dictSize = 4, numBits = 3, entry = "", result = [], i2, w2, bits, resb, maxpower, power, c2, data = { val: getNextValue(0), position: resetValue, index: 1 };
8908
8908
  for (i2 = 0; i2 < 3; i2 += 1) {
8909
8909
  dictionary[i2] = i2;
8910
8910
  }
@@ -8936,7 +8936,7 @@ var require_lz_string = __commonJS({
8936
8936
  bits |= (resb > 0 ? 1 : 0) * power;
8937
8937
  power <<= 1;
8938
8938
  }
8939
- c2 = f3(bits);
8939
+ c2 = f4(bits);
8940
8940
  break;
8941
8941
  case 1:
8942
8942
  bits = 0;
@@ -8952,13 +8952,13 @@ var require_lz_string = __commonJS({
8952
8952
  bits |= (resb > 0 ? 1 : 0) * power;
8953
8953
  power <<= 1;
8954
8954
  }
8955
- c2 = f3(bits);
8955
+ c2 = f4(bits);
8956
8956
  break;
8957
8957
  case 2:
8958
8958
  return "";
8959
8959
  }
8960
8960
  dictionary[3] = c2;
8961
- w = c2;
8961
+ w2 = c2;
8962
8962
  result.push(c2);
8963
8963
  while (true) {
8964
8964
  if (data.index > length) {
@@ -8992,7 +8992,7 @@ var require_lz_string = __commonJS({
8992
8992
  bits |= (resb > 0 ? 1 : 0) * power;
8993
8993
  power <<= 1;
8994
8994
  }
8995
- dictionary[dictSize++] = f3(bits);
8995
+ dictionary[dictSize++] = f4(bits);
8996
8996
  c2 = dictSize - 1;
8997
8997
  enlargeIn--;
8998
8998
  break;
@@ -9010,7 +9010,7 @@ var require_lz_string = __commonJS({
9010
9010
  bits |= (resb > 0 ? 1 : 0) * power;
9011
9011
  power <<= 1;
9012
9012
  }
9013
- dictionary[dictSize++] = f3(bits);
9013
+ dictionary[dictSize++] = f4(bits);
9014
9014
  c2 = dictSize - 1;
9015
9015
  enlargeIn--;
9016
9016
  break;
@@ -9025,15 +9025,15 @@ var require_lz_string = __commonJS({
9025
9025
  entry = dictionary[c2];
9026
9026
  } else {
9027
9027
  if (c2 === dictSize) {
9028
- entry = w + w.charAt(0);
9028
+ entry = w2 + w2.charAt(0);
9029
9029
  } else {
9030
9030
  return null;
9031
9031
  }
9032
9032
  }
9033
9033
  result.push(entry);
9034
- dictionary[dictSize++] = w + entry.charAt(0);
9034
+ dictionary[dictSize++] = w2 + entry.charAt(0);
9035
9035
  enlargeIn--;
9036
- w = entry;
9036
+ w2 = entry;
9037
9037
  if (enlargeIn == 0) {
9038
9038
  enlargeIn = Math.pow(2, numBits);
9039
9039
  numBits++;
@@ -9060,11 +9060,11 @@ var require_lz_string = __commonJS({
9060
9060
  // ../node_modules/memoizerific/memoizerific.js
9061
9061
  var require_memoizerific = __commonJS({
9062
9062
  "../node_modules/memoizerific/memoizerific.js"(exports, module2) {
9063
- (function(f3) {
9063
+ (function(f4) {
9064
9064
  if (typeof exports === "object" && typeof module2 !== "undefined") {
9065
- module2.exports = f3();
9065
+ module2.exports = f4();
9066
9066
  } else if (typeof define === "function" && define.amd) {
9067
- define([], f3);
9067
+ define([], f4);
9068
9068
  } else {
9069
9069
  var g2;
9070
9070
  if (typeof window !== "undefined") {
@@ -9076,25 +9076,25 @@ var require_memoizerific = __commonJS({
9076
9076
  } else {
9077
9077
  g2 = this;
9078
9078
  }
9079
- g2.memoizerific = f3();
9079
+ g2.memoizerific = f4();
9080
9080
  }
9081
9081
  })(function() {
9082
- var define3, module3, exports2;
9082
+ var define2, module3, exports2;
9083
9083
  return (/* @__PURE__ */ __name(function e2(t2, n2, r2) {
9084
- function s3(o3, u2) {
9084
+ function s3(o3, u3) {
9085
9085
  if (!n2[o3]) {
9086
9086
  if (!t2[o3]) {
9087
9087
  var a2 = typeof __require == "function" && __require;
9088
- if (!u2 && a2) return a2(o3, true);
9088
+ if (!u3 && a2) return a2(o3, true);
9089
9089
  if (i2) return i2(o3, true);
9090
- var f3 = new Error("Cannot find module '" + o3 + "'");
9091
- throw f3.code = "MODULE_NOT_FOUND", f3;
9090
+ var f4 = new Error("Cannot find module '" + o3 + "'");
9091
+ throw f4.code = "MODULE_NOT_FOUND", f4;
9092
9092
  }
9093
- var l = n2[o3] = { exports: {} };
9094
- t2[o3][0].call(l.exports, function(e3) {
9093
+ var l2 = n2[o3] = { exports: {} };
9094
+ t2[o3][0].call(l2.exports, function(e3) {
9095
9095
  var n3 = t2[o3][1][e3];
9096
9096
  return s3(n3 ? n3 : e3);
9097
- }, l, l.exports, e2, t2, n2, r2);
9097
+ }, l2, l2.exports, e2, t2, n2, r2);
9098
9098
  }
9099
9099
  return n2[o3].exports;
9100
9100
  }
@@ -9510,7 +9510,7 @@ var require_shared = __commonJS({
9510
9510
  return val instanceof Date;
9511
9511
  }, "defaultShouldSerializeObject");
9512
9512
  exports.defaultShouldSerializeObject = defaultShouldSerializeObject;
9513
- var identityFunc = /* @__PURE__ */ __name((v) => v, "identityFunc");
9513
+ var identityFunc = /* @__PURE__ */ __name((v2) => v2, "identityFunc");
9514
9514
  exports.defaultOptions = {
9515
9515
  nesting: true,
9516
9516
  nestingSyntax: "dot",
@@ -10294,18 +10294,18 @@ var require_stringify = __commonJS({
10294
10294
  var require_main = __commonJS({
10295
10295
  "../node_modules/picoquery/lib/main.js"(exports) {
10296
10296
  "use strict";
10297
- var __createBinding = exports && exports.__createBinding || (Object.create ? function(o2, m3, k, k2) {
10298
- if (k2 === void 0) k2 = k;
10299
- var desc = Object.getOwnPropertyDescriptor(m3, k);
10297
+ var __createBinding = exports && exports.__createBinding || (Object.create ? function(o2, m3, k2, k22) {
10298
+ if (k22 === void 0) k22 = k2;
10299
+ var desc = Object.getOwnPropertyDescriptor(m3, k2);
10300
10300
  if (!desc || ("get" in desc ? !m3.__esModule : desc.writable || desc.configurable)) {
10301
10301
  desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
10302
- return m3[k];
10302
+ return m3[k2];
10303
10303
  }, "get") };
10304
10304
  }
10305
- Object.defineProperty(o2, k2, desc);
10306
- } : function(o2, m3, k, k2) {
10307
- if (k2 === void 0) k2 = k;
10308
- o2[k2] = m3[k];
10305
+ Object.defineProperty(o2, k22, desc);
10306
+ } : function(o2, m3, k2, k22) {
10307
+ if (k22 === void 0) k22 = k2;
10308
+ o2[k22] = m3[k2];
10309
10309
  });
10310
10310
  var __exportStar = exports && exports.__exportStar || function(m3, exports2) {
10311
10311
  for (var p2 in m3) if (p2 !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p2)) __createBinding(exports2, m3, p2);
@@ -10411,16 +10411,16 @@ var require_decode2 = __commonJS({
10411
10411
  };
10412
10412
  }
10413
10413
  __name(getStrictDecoder, "getStrictDecoder");
10414
- var sorter = /* @__PURE__ */ __name(function(a2, b) {
10415
- return a2 < b ? 1 : -1;
10414
+ var sorter = /* @__PURE__ */ __name(function(a2, b2) {
10415
+ return a2 < b2 ? 1 : -1;
10416
10416
  }, "sorter");
10417
10417
  exports.decodeHTML = function() {
10418
10418
  var legacy = Object.keys(legacy_json_1.default).sort(sorter);
10419
10419
  var keys2 = Object.keys(entities_json_1.default).sort(sorter);
10420
- for (var i2 = 0, j = 0; i2 < keys2.length; i2++) {
10421
- if (legacy[j] === keys2[i2]) {
10420
+ for (var i2 = 0, j2 = 0; i2 < keys2.length; i2++) {
10421
+ if (legacy[j2] === keys2[i2]) {
10422
10422
  keys2[i2] += ";?";
10423
- j++;
10423
+ j2++;
10424
10424
  } else {
10425
10425
  keys2[i2] += ";";
10426
10426
  }
@@ -10482,11 +10482,11 @@ var require_encode = __commonJS({
10482
10482
  var single = [];
10483
10483
  var multiple = [];
10484
10484
  for (var _i = 0, _a3 = Object.keys(inverse); _i < _a3.length; _i++) {
10485
- var k = _a3[_i];
10486
- if (k.length === 1) {
10487
- single.push("\\" + k);
10485
+ var k2 = _a3[_i];
10486
+ if (k2.length === 1) {
10487
+ single.push("\\" + k2);
10488
10488
  } else {
10489
- multiple.push(k);
10489
+ multiple.push(k2);
10490
10490
  }
10491
10491
  }
10492
10492
  single.sort();
@@ -10679,7 +10679,7 @@ var require_ansi_to_html = __commonJS({
10679
10679
  }, "n"), e: /* @__PURE__ */ __name(function e2(_e2) {
10680
10680
  didErr = true;
10681
10681
  err = _e2;
10682
- }, "e"), f: /* @__PURE__ */ __name(function f3() {
10682
+ }, "e"), f: /* @__PURE__ */ __name(function f4() {
10683
10683
  try {
10684
10684
  if (!normalCompletion && it["return"] != null) it["return"]();
10685
10685
  } finally {
@@ -10742,8 +10742,8 @@ var require_ansi_to_html = __commonJS({
10742
10742
  });
10743
10743
  range(0, 23).forEach(function(gray) {
10744
10744
  var c2 = gray + 232;
10745
- var l = toHexString(gray * 10 + 8);
10746
- colors3[c2] = "#" + l + l + l;
10745
+ var l2 = toHexString(gray * 10 + 8);
10746
+ colors3[c2] = "#" + l2 + l2 + l2;
10747
10747
  });
10748
10748
  return colors3;
10749
10749
  }
@@ -10752,8 +10752,8 @@ var require_ansi_to_html = __commonJS({
10752
10752
  var c2 = 16 + red * 36 + green * 6 + blue;
10753
10753
  var r2 = red > 0 ? red * 40 + 55 : 0;
10754
10754
  var g2 = green > 0 ? green * 40 + 55 : 0;
10755
- var b = blue > 0 ? blue * 40 + 55 : 0;
10756
- colors3[c2] = toColorHexString([r2, g2, b]);
10755
+ var b2 = blue > 0 ? blue * 40 + 55 : 0;
10756
+ colors3[c2] = toColorHexString([r2, g2, b2]);
10757
10757
  }
10758
10758
  __name(setStyleColor, "setStyleColor");
10759
10759
  function toHexString(num) {
@@ -10876,8 +10876,8 @@ var require_ansi_to_html = __commonJS({
10876
10876
  __name(resetStyles, "resetStyles");
10877
10877
  function range(low, high) {
10878
10878
  var results = [];
10879
- for (var j = low; j <= high; j++) {
10880
- results.push(j);
10879
+ for (var j2 = low; j2 <= high; j2++) {
10880
+ results.push(j2);
10881
10881
  }
10882
10882
  return results;
10883
10883
  }
@@ -13792,18 +13792,18 @@ var require_browser_dtector_umd_min = __commonJS({
13792
13792
  }(this, t3), this.userAgent = e3 || (null === (o3 = i2()) || void 0 === o3 ? void 0 : o3.userAgent) || null;
13793
13793
  }
13794
13794
  __name(t3, "t");
13795
- var a2, l, s3;
13796
- return a2 = t3, l = [{ key: "parseUserAgent", value: /* @__PURE__ */ __name(function(e3) {
13797
- var t4, a3, l2, s4 = {}, c2 = e3 || this.userAgent || "", d = c2.toLowerCase().replace(/\s\s+/g, " "), u2 = /(edge)\/([\w.]+)/.exec(d) || /(edg)[/]([\w.]+)/.exec(d) || /(opr)[/]([\w.]+)/.exec(d) || /(opt)[/]([\w.]+)/.exec(d) || /(fxios)[/]([\w.]+)/.exec(d) || /(edgios)[/]([\w.]+)/.exec(d) || /(jsdom)[/]([\w.]+)/.exec(d) || /(samsungbrowser)[/]([\w.]+)/.exec(d) || /(electron)[/]([\w.]+)/.exec(d) || /(chrome)[/]([\w.]+)/.exec(d) || /(crios)[/]([\w.]+)/.exec(d) || /(opios)[/]([\w.]+)/.exec(d) || /(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(d) || /(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(d) || /(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(d) || /(webkit)[/]([\w.]+)/.exec(d) || /(opera)(?:.*version|)[/]([\w.]+)/.exec(d) || /(msie) ([\w.]+)/.exec(d) || /(fennec)[/]([\w.]+)/.exec(d) || d.indexOf("trident") >= 0 && /(rv)(?::| )([\w.]+)/.exec(d) || d.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(d) || [], f3 = /(ipad)/.exec(d) || /(ipod)/.exec(d) || /(iphone)/.exec(d) || /(jsdom)/.exec(d) || /(windows phone)/.exec(d) || /(xbox)/.exec(d) || /(win)/.exec(d) || /(tablet)/.exec(d) || /(android)/.test(d) && false === /(mobile)/.test(d) && ["androidTablet"] || /(android)/.exec(d) || /(mac)/.exec(d) || /(linux)/.exec(d) || /(cros)/.exec(d) || [], p2 = u2[5] || u2[3] || u2[1] || null, w = f3[0] || null, x = u2[4] || u2[2] || null, b = i2();
13798
- "chrome" === p2 && "function" == typeof (null == b || null === (t4 = b.brave) || void 0 === t4 ? void 0 : t4.isBrave) && (p2 = "brave"), p2 && (s4[p2] = true), w && (s4[w] = true);
13799
- var v = Boolean(s4.tablet || s4.android || s4.androidTablet), m3 = Boolean(s4.ipad || s4.tablet || s4.androidTablet), g2 = Boolean(s4.android || s4.androidTablet || s4.tablet || s4.ipad || s4.ipod || s4.iphone || s4["windows phone"]), h2 = Boolean(s4.cros || s4.mac || s4.linux || s4.win), y = Boolean(s4.brave || s4.chrome || s4.crios || s4.opr || s4.safari || s4.edg || s4.electron), A = Boolean(s4.msie || s4.rv);
13800
- return { name: null !== (a3 = o2[p2]) && void 0 !== a3 ? a3 : null, platform: null !== (l2 = r2[w]) && void 0 !== l2 ? l2 : null, userAgent: c2, version: x, shortVersion: x ? n2(parseFloat(x), 2) : null, isAndroid: v, isTablet: m3, isMobile: g2, isDesktop: h2, isWebkit: y, isIE: A };
13795
+ var a2, l2, s3;
13796
+ return a2 = t3, l2 = [{ key: "parseUserAgent", value: /* @__PURE__ */ __name(function(e3) {
13797
+ var t4, a3, l3, s4 = {}, c2 = e3 || this.userAgent || "", d = c2.toLowerCase().replace(/\s\s+/g, " "), u3 = /(edge)\/([\w.]+)/.exec(d) || /(edg)[/]([\w.]+)/.exec(d) || /(opr)[/]([\w.]+)/.exec(d) || /(opt)[/]([\w.]+)/.exec(d) || /(fxios)[/]([\w.]+)/.exec(d) || /(edgios)[/]([\w.]+)/.exec(d) || /(jsdom)[/]([\w.]+)/.exec(d) || /(samsungbrowser)[/]([\w.]+)/.exec(d) || /(electron)[/]([\w.]+)/.exec(d) || /(chrome)[/]([\w.]+)/.exec(d) || /(crios)[/]([\w.]+)/.exec(d) || /(opios)[/]([\w.]+)/.exec(d) || /(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(d) || /(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(d) || /(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(d) || /(webkit)[/]([\w.]+)/.exec(d) || /(opera)(?:.*version|)[/]([\w.]+)/.exec(d) || /(msie) ([\w.]+)/.exec(d) || /(fennec)[/]([\w.]+)/.exec(d) || d.indexOf("trident") >= 0 && /(rv)(?::| )([\w.]+)/.exec(d) || d.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(d) || [], f4 = /(ipad)/.exec(d) || /(ipod)/.exec(d) || /(iphone)/.exec(d) || /(jsdom)/.exec(d) || /(windows phone)/.exec(d) || /(xbox)/.exec(d) || /(win)/.exec(d) || /(tablet)/.exec(d) || /(android)/.test(d) && false === /(mobile)/.test(d) && ["androidTablet"] || /(android)/.exec(d) || /(mac)/.exec(d) || /(linux)/.exec(d) || /(cros)/.exec(d) || [], p2 = u3[5] || u3[3] || u3[1] || null, w2 = f4[0] || null, x2 = u3[4] || u3[2] || null, b2 = i2();
13798
+ "chrome" === p2 && "function" == typeof (null == b2 || null === (t4 = b2.brave) || void 0 === t4 ? void 0 : t4.isBrave) && (p2 = "brave"), p2 && (s4[p2] = true), w2 && (s4[w2] = true);
13799
+ var v2 = Boolean(s4.tablet || s4.android || s4.androidTablet), m3 = Boolean(s4.ipad || s4.tablet || s4.androidTablet), g2 = Boolean(s4.android || s4.androidTablet || s4.tablet || s4.ipad || s4.ipod || s4.iphone || s4["windows phone"]), h3 = Boolean(s4.cros || s4.mac || s4.linux || s4.win), y2 = Boolean(s4.brave || s4.chrome || s4.crios || s4.opr || s4.safari || s4.edg || s4.electron), A = Boolean(s4.msie || s4.rv);
13800
+ return { name: null !== (a3 = o2[p2]) && void 0 !== a3 ? a3 : null, platform: null !== (l3 = r2[w2]) && void 0 !== l3 ? l3 : null, userAgent: c2, version: x2, shortVersion: x2 ? n2(parseFloat(x2), 2) : null, isAndroid: v2, isTablet: m3, isMobile: g2, isDesktop: h3, isWebkit: y2, isIE: A };
13801
13801
  }, "value") }, { key: "getBrowserInfo", value: /* @__PURE__ */ __name(function() {
13802
13802
  var e3 = this.parseUserAgent();
13803
13803
  return { name: e3.name, platform: e3.platform, userAgent: e3.userAgent, version: e3.version, shortVersion: e3.shortVersion };
13804
13804
  }, "value") }], s3 = [{ key: "VERSION", get: /* @__PURE__ */ __name(function() {
13805
13805
  return "3.4.0";
13806
- }, "get") }], l && e2(a2.prototype, l), s3 && e2(a2, s3), Object.defineProperty(a2, "prototype", { writable: false }), t3;
13806
+ }, "get") }], l2 && e2(a2.prototype, l2), s3 && e2(a2, s3), Object.defineProperty(a2, "prototype", { writable: false }), t3;
13807
13807
  }();
13808
13808
  return t2;
13809
13809
  });
@@ -14651,7 +14651,7 @@ var _Channel = class _Channel {
14651
14651
  removeListener(eventName, listener) {
14652
14652
  const listeners3 = this.listeners(eventName);
14653
14653
  if (listeners3) {
14654
- this.events[eventName] = listeners3.filter((l) => l !== listener);
14654
+ this.events[eventName] = listeners3.filter((l2) => l2 !== listener);
14655
14655
  }
14656
14656
  }
14657
14657
  on(eventName, listener) {
@@ -14758,8 +14758,8 @@ var pretty = /* @__PURE__ */ __name((type5) => (...args) => {
14758
14758
  argArray.push(reResultArray[2]);
14759
14759
  argArray.push("");
14760
14760
  }
14761
- for (let j = 1; j < args.length; j++) {
14762
- argArray.push(args[j]);
14761
+ for (let j2 = 1; j2 < args.length; j2++) {
14762
+ argArray.push(args[j2]);
14763
14763
  }
14764
14764
  }
14765
14765
  logger[type5].apply(logger, argArray);
@@ -15062,20 +15062,20 @@ var require_implementation = __commonJS2({
15062
15062
  var toStr3 = Object.prototype.toString;
15063
15063
  var max = Math.max;
15064
15064
  var funcType = "[object Function]";
15065
- var concatty = /* @__PURE__ */ __name(function concatty2(a2, b) {
15065
+ var concatty = /* @__PURE__ */ __name(function concatty2(a2, b2) {
15066
15066
  var arr = [];
15067
15067
  for (var i2 = 0; i2 < a2.length; i2 += 1) {
15068
15068
  arr[i2] = a2[i2];
15069
15069
  }
15070
- for (var j = 0; j < b.length; j += 1) {
15071
- arr[j + a2.length] = b[j];
15070
+ for (var j2 = 0; j2 < b2.length; j2 += 1) {
15071
+ arr[j2 + a2.length] = b2[j2];
15072
15072
  }
15073
15073
  return arr;
15074
15074
  }, "concatty2");
15075
15075
  var slicy = /* @__PURE__ */ __name(function slicy2(arrLike, offset2) {
15076
15076
  var arr = [];
15077
- for (var i2 = offset2 || 0, j = 0; i2 < arrLike.length; i2 += 1, j += 1) {
15078
- arr[j] = arrLike[i2];
15077
+ for (var i2 = offset2 || 0, j2 = 0; i2 < arrLike.length; i2 += 1, j2 += 1) {
15078
+ arr[j2] = arrLike[i2];
15079
15079
  }
15080
15080
  return arr;
15081
15081
  }, "slicy2");
@@ -16445,23 +16445,23 @@ var mutator = /* @__PURE__ */ __name(() => {
16445
16445
  const mutated = /* @__PURE__ */ new Map();
16446
16446
  return /* @__PURE__ */ __name(function mutateUndefined(value) {
16447
16447
  if (isObject3(value)) {
16448
- Object.entries(value).forEach(([k, v]) => {
16449
- if (v === "_undefined_") {
16450
- value[k] = void 0;
16451
- } else if (!mutated.get(v)) {
16452
- mutated.set(v, true);
16453
- mutateUndefined(v);
16448
+ Object.entries(value).forEach(([k2, v2]) => {
16449
+ if (v2 === "_undefined_") {
16450
+ value[k2] = void 0;
16451
+ } else if (!mutated.get(v2)) {
16452
+ mutated.set(v2, true);
16453
+ mutateUndefined(v2);
16454
16454
  }
16455
16455
  });
16456
16456
  }
16457
16457
  if (Array.isArray(value)) {
16458
- value.forEach((v, index2) => {
16459
- if (v === "_undefined_") {
16460
- mutated.set(v, true);
16458
+ value.forEach((v2, index2) => {
16459
+ if (v2 === "_undefined_") {
16460
+ mutated.set(v2, true);
16461
16461
  value[index2] = void 0;
16462
- } else if (!mutated.get(v)) {
16463
- mutated.set(v, true);
16464
- mutateUndefined(v);
16462
+ } else if (!mutated.get(v2)) {
16463
+ mutated.set(v2, true);
16464
+ mutateUndefined(v2);
16465
16465
  }
16466
16466
  });
16467
16467
  }
@@ -16579,7 +16579,7 @@ var _PostMessageTransport = class _PostMessageTransport {
16579
16579
  allowUndefined,
16580
16580
  maxDepth,
16581
16581
  space
16582
- }).filter(([k, v]) => typeof v !== "undefined")
16582
+ }).filter(([k2, v2]) => typeof v2 !== "undefined")
16583
16583
  );
16584
16584
  const stringifyOptions = {
16585
16585
  ...defaultEventOptions,
@@ -16604,9 +16604,9 @@ var _PostMessageTransport = class _PostMessageTransport {
16604
16604
  if (this.buffer.length) {
16605
16605
  this.flush();
16606
16606
  }
16607
- frames.forEach((f3) => {
16607
+ frames.forEach((f4) => {
16608
16608
  try {
16609
- f3.postMessage(data, "*");
16609
+ f4.postMessage(data, "*");
16610
16610
  } catch (e2) {
16611
16611
  logger.error("sending over postmessage fail");
16612
16612
  }
@@ -17799,7 +17799,7 @@ __name(toStartCaseStr, "toStartCaseStr");
17799
17799
 
17800
17800
  // src/csf/includeConditionalArg.ts
17801
17801
  var import_tiny_isequal = __toESM(require_tiny_isequal(), 1);
17802
- var count = /* @__PURE__ */ __name((vals) => vals.map((v) => typeof v !== "undefined").filter(Boolean).length, "count");
17802
+ var count = /* @__PURE__ */ __name((vals) => vals.map((v2) => typeof v2 !== "undefined").filter(Boolean).length, "count");
17803
17803
  var testValue = /* @__PURE__ */ __name((cond, value) => {
17804
17804
  const { exists, eq: eq4, neq, truthy } = cond;
17805
17805
  if (count([exists, eq4, neq, truthy]) > 1) {
@@ -17988,7 +17988,7 @@ __export(test_exports, {
17988
17988
  getRoles: () => getRoles2,
17989
17989
  getSuggestedQuery: () => getSuggestedQuery2,
17990
17990
  isInaccessible: () => isInaccessible2,
17991
- isMockFunction: () => isMockFunction2,
17991
+ isMockFunction: () => isMockFunction,
17992
17992
  logDOM: () => logDOM2,
17993
17993
  logRoles: () => logRoles2,
17994
17994
  mocked: () => mocked,
@@ -18090,27 +18090,27 @@ function C(n2 = false) {
18090
18090
  __name(C, "C");
18091
18091
  function p(n2 = false) {
18092
18092
  let e2 = C(n2), i2 = /* @__PURE__ */ __name((r2, t2, c2, o2) => {
18093
- let l = "", s3 = 0;
18093
+ let l2 = "", s3 = 0;
18094
18094
  do
18095
- l += r2.substring(s3, o2) + c2, s3 = o2 + t2.length, o2 = r2.indexOf(t2, s3);
18095
+ l2 += r2.substring(s3, o2) + c2, s3 = o2 + t2.length, o2 = r2.indexOf(t2, s3);
18096
18096
  while (~o2);
18097
- return l + r2.substring(s3);
18097
+ return l2 + r2.substring(s3);
18098
18098
  }, "i"), g2 = /* @__PURE__ */ __name((r2, t2, c2 = r2) => {
18099
- let o2 = /* @__PURE__ */ __name((l) => {
18100
- let s3 = String(l), b = s3.indexOf(t2, r2.length);
18101
- return ~b ? r2 + i2(s3, t2, c2, b) + t2 : r2 + s3 + t2;
18099
+ let o2 = /* @__PURE__ */ __name((l2) => {
18100
+ let s3 = String(l2), b2 = s3.indexOf(t2, r2.length);
18101
+ return ~b2 ? r2 + i2(s3, t2, c2, b2) + t2 : r2 + s3 + t2;
18102
18102
  }, "o");
18103
18103
  return o2.open = r2, o2.close = t2, o2;
18104
- }, "g"), u2 = {
18104
+ }, "g"), u3 = {
18105
18105
  isColorSupported: e2
18106
18106
  }, d = /* @__PURE__ */ __name((r2) => `\x1B[${r2}m`, "d");
18107
18107
  for (let [r2, t2] of h)
18108
- u2[r2] = e2 ? g2(
18108
+ u3[r2] = e2 ? g2(
18109
18109
  d(t2[0]),
18110
18110
  d(t2[1]),
18111
18111
  t2[2]
18112
18112
  ) : a;
18113
- return u2;
18113
+ return u3;
18114
18114
  }
18115
18115
  __name(p, "p");
18116
18116
 
@@ -18120,13 +18120,13 @@ var s = p();
18120
18120
  // ../node_modules/@vitest/pretty-format/dist/index.js
18121
18121
  function _mergeNamespaces(n2, m3) {
18122
18122
  m3.forEach(function(e2) {
18123
- e2 && typeof e2 !== "string" && !Array.isArray(e2) && Object.keys(e2).forEach(function(k) {
18124
- if (k !== "default" && !(k in n2)) {
18125
- var d = Object.getOwnPropertyDescriptor(e2, k);
18126
- Object.defineProperty(n2, k, d.get ? d : {
18123
+ e2 && typeof e2 !== "string" && !Array.isArray(e2) && Object.keys(e2).forEach(function(k2) {
18124
+ if (k2 !== "default" && !(k2 in n2)) {
18125
+ var d = Object.getOwnPropertyDescriptor(e2, k2);
18126
+ Object.defineProperty(n2, k2, d.get ? d : {
18127
18127
  enumerable: true,
18128
18128
  get: /* @__PURE__ */ __name(function() {
18129
- return e2[k];
18129
+ return e2[k2];
18130
18130
  }, "get")
18131
18131
  });
18132
18132
  }
@@ -18205,7 +18205,7 @@ __name(printIteratorValues, "printIteratorValues");
18205
18205
  function printListItems(list, config4, indentation, depth, refs, printer2) {
18206
18206
  let result = "";
18207
18207
  list = list instanceof ArrayBuffer ? new DataView(list) : list;
18208
- const isDataView = /* @__PURE__ */ __name((l) => l instanceof DataView, "isDataView");
18208
+ const isDataView = /* @__PURE__ */ __name((l2) => l2 instanceof DataView, "isDataView");
18209
18209
  const length = isDataView(list) ? list.byteLength : list.length;
18210
18210
  if (length > 0) {
18211
18211
  result += config4.spacingOuter;
@@ -18487,8 +18487,8 @@ var plugin$2 = {
18487
18487
  serialize: serialize$2,
18488
18488
  test: test$2
18489
18489
  };
18490
- function getDefaultExportFromCjs(x) {
18491
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
18490
+ function getDefaultExportFromCjs(x2) {
18491
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
18492
18492
  }
18493
18493
  __name(getDefaultExportFromCjs, "getDefaultExportFromCjs");
18494
18494
  var reactIs$1 = { exports: {} };
@@ -18610,25 +18610,25 @@ var hasRequiredReactIs_production_min;
18610
18610
  function requireReactIs_production_min() {
18611
18611
  if (hasRequiredReactIs_production_min) return reactIs_production_min;
18612
18612
  hasRequiredReactIs_production_min = 1;
18613
- var b = Symbol.for("react.element"), c2 = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e2 = Symbol.for("react.strict_mode"), f3 = Symbol.for("react.profiler"), g2 = Symbol.for("react.provider"), h2 = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m3 = Symbol.for("react.suspense"), n2 = Symbol.for("react.suspense_list"), p2 = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t2 = Symbol.for("react.offscreen"), u2;
18614
- u2 = Symbol.for("react.module.reference");
18615
- function v(a2) {
18613
+ var b2 = Symbol.for("react.element"), c2 = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e2 = Symbol.for("react.strict_mode"), f4 = Symbol.for("react.profiler"), g2 = Symbol.for("react.provider"), h3 = Symbol.for("react.context"), k2 = Symbol.for("react.server_context"), l2 = Symbol.for("react.forward_ref"), m3 = Symbol.for("react.suspense"), n2 = Symbol.for("react.suspense_list"), p2 = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t2 = Symbol.for("react.offscreen"), u3;
18614
+ u3 = Symbol.for("react.module.reference");
18615
+ function v2(a2) {
18616
18616
  if ("object" === typeof a2 && null !== a2) {
18617
18617
  var r2 = a2.$$typeof;
18618
18618
  switch (r2) {
18619
- case b:
18619
+ case b2:
18620
18620
  switch (a2 = a2.type, a2) {
18621
18621
  case d:
18622
- case f3:
18622
+ case f4:
18623
18623
  case e2:
18624
18624
  case m3:
18625
18625
  case n2:
18626
18626
  return a2;
18627
18627
  default:
18628
18628
  switch (a2 = a2 && a2.$$typeof, a2) {
18629
- case k:
18630
- case h2:
18631
- case l:
18629
+ case k2:
18630
+ case h3:
18631
+ case l2:
18632
18632
  case q:
18633
18633
  case p2:
18634
18634
  case g2:
@@ -18642,16 +18642,16 @@ function requireReactIs_production_min() {
18642
18642
  }
18643
18643
  }
18644
18644
  }
18645
- __name(v, "v");
18646
- reactIs_production_min.ContextConsumer = h2;
18645
+ __name(v2, "v");
18646
+ reactIs_production_min.ContextConsumer = h3;
18647
18647
  reactIs_production_min.ContextProvider = g2;
18648
- reactIs_production_min.Element = b;
18649
- reactIs_production_min.ForwardRef = l;
18648
+ reactIs_production_min.Element = b2;
18649
+ reactIs_production_min.ForwardRef = l2;
18650
18650
  reactIs_production_min.Fragment = d;
18651
18651
  reactIs_production_min.Lazy = q;
18652
18652
  reactIs_production_min.Memo = p2;
18653
18653
  reactIs_production_min.Portal = c2;
18654
- reactIs_production_min.Profiler = f3;
18654
+ reactIs_production_min.Profiler = f4;
18655
18655
  reactIs_production_min.StrictMode = e2;
18656
18656
  reactIs_production_min.Suspense = m3;
18657
18657
  reactIs_production_min.SuspenseList = n2;
@@ -18662,45 +18662,45 @@ function requireReactIs_production_min() {
18662
18662
  return false;
18663
18663
  };
18664
18664
  reactIs_production_min.isContextConsumer = function(a2) {
18665
- return v(a2) === h2;
18665
+ return v2(a2) === h3;
18666
18666
  };
18667
18667
  reactIs_production_min.isContextProvider = function(a2) {
18668
- return v(a2) === g2;
18668
+ return v2(a2) === g2;
18669
18669
  };
18670
18670
  reactIs_production_min.isElement = function(a2) {
18671
- return "object" === typeof a2 && null !== a2 && a2.$$typeof === b;
18671
+ return "object" === typeof a2 && null !== a2 && a2.$$typeof === b2;
18672
18672
  };
18673
18673
  reactIs_production_min.isForwardRef = function(a2) {
18674
- return v(a2) === l;
18674
+ return v2(a2) === l2;
18675
18675
  };
18676
18676
  reactIs_production_min.isFragment = function(a2) {
18677
- return v(a2) === d;
18677
+ return v2(a2) === d;
18678
18678
  };
18679
18679
  reactIs_production_min.isLazy = function(a2) {
18680
- return v(a2) === q;
18680
+ return v2(a2) === q;
18681
18681
  };
18682
18682
  reactIs_production_min.isMemo = function(a2) {
18683
- return v(a2) === p2;
18683
+ return v2(a2) === p2;
18684
18684
  };
18685
18685
  reactIs_production_min.isPortal = function(a2) {
18686
- return v(a2) === c2;
18686
+ return v2(a2) === c2;
18687
18687
  };
18688
18688
  reactIs_production_min.isProfiler = function(a2) {
18689
- return v(a2) === f3;
18689
+ return v2(a2) === f4;
18690
18690
  };
18691
18691
  reactIs_production_min.isStrictMode = function(a2) {
18692
- return v(a2) === e2;
18692
+ return v2(a2) === e2;
18693
18693
  };
18694
18694
  reactIs_production_min.isSuspense = function(a2) {
18695
- return v(a2) === m3;
18695
+ return v2(a2) === m3;
18696
18696
  };
18697
18697
  reactIs_production_min.isSuspenseList = function(a2) {
18698
- return v(a2) === n2;
18698
+ return v2(a2) === n2;
18699
18699
  };
18700
18700
  reactIs_production_min.isValidElementType = function(a2) {
18701
- return "string" === typeof a2 || "function" === typeof a2 || a2 === d || a2 === f3 || a2 === e2 || a2 === m3 || a2 === n2 || a2 === t2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === q || a2.$$typeof === p2 || a2.$$typeof === g2 || a2.$$typeof === h2 || a2.$$typeof === l || a2.$$typeof === u2 || void 0 !== a2.getModuleId) ? true : false;
18701
+ return "string" === typeof a2 || "function" === typeof a2 || a2 === d || a2 === f4 || a2 === e2 || a2 === m3 || a2 === n2 || a2 === t2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === q || a2.$$typeof === p2 || a2.$$typeof === g2 || a2.$$typeof === h3 || a2.$$typeof === l2 || a2.$$typeof === u3 || void 0 !== a2.getModuleId) ? true : false;
18702
18702
  };
18703
- reactIs_production_min.typeOf = v;
18703
+ reactIs_production_min.typeOf = v2;
18704
18704
  return reactIs_production_min;
18705
18705
  }
18706
18706
  __name(requireReactIs_production_min, "requireReactIs_production_min");
@@ -18739,7 +18739,7 @@ var reactIsMethods = [
18739
18739
  "isSuspenseList",
18740
18740
  "isValidElementType"
18741
18741
  ];
18742
- var ReactIs = Object.fromEntries(reactIsMethods.map((m3) => [m3, (v) => ReactIs18[m3](v) || ReactIs19[m3](v)]));
18742
+ var ReactIs = Object.fromEntries(reactIsMethods.map((m3) => [m3, (v2) => ReactIs18[m3](v2) || ReactIs19[m3](v2)]));
18743
18743
  function getChildren(arg, children = []) {
18744
18744
  if (Array.isArray(arg)) {
18745
18745
  for (const item of arg) {
@@ -19773,14 +19773,14 @@ function format2(...args) {
19773
19773
  const len = args.length;
19774
19774
  let i2 = 1;
19775
19775
  const template = args[0];
19776
- let str2 = String(template).replace(formatRegExp, (x) => {
19777
- if (x === "%%") {
19776
+ let str2 = String(template).replace(formatRegExp, (x2) => {
19777
+ if (x2 === "%%") {
19778
19778
  return "%";
19779
19779
  }
19780
19780
  if (i2 >= len) {
19781
- return x;
19781
+ return x2;
19782
19782
  }
19783
- switch (x) {
19783
+ switch (x2) {
19784
19784
  case "%s": {
19785
19785
  const value = args[i2++];
19786
19786
  if (typeof value === "bigint") {
@@ -19838,14 +19838,14 @@ function format2(...args) {
19838
19838
  throw err;
19839
19839
  }
19840
19840
  default:
19841
- return x;
19841
+ return x2;
19842
19842
  }
19843
19843
  });
19844
- for (let x = args[i2]; i2 < len; x = args[++i2]) {
19845
- if (x === null || typeof x !== "object") {
19846
- str2 += ` ${x}`;
19844
+ for (let x2 = args[i2]; i2 < len; x2 = args[++i2]) {
19845
+ if (x2 === null || typeof x2 !== "object") {
19846
+ str2 += ` ${x2}`;
19847
19847
  } else {
19848
- str2 += ` ${inspect2(x)}`;
19848
+ str2 += ` ${inspect2(x2)}`;
19849
19849
  }
19850
19850
  }
19851
19851
  return str2;
@@ -19858,8 +19858,8 @@ function inspect2(obj, options = {}) {
19858
19858
  return inspect(obj, options);
19859
19859
  }
19860
19860
  __name(inspect2, "inspect");
19861
- function getDefaultExportFromCjs2(x) {
19862
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
19861
+ function getDefaultExportFromCjs2(x2) {
19862
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
19863
19863
  }
19864
19864
  __name(getDefaultExportFromCjs2, "getDefaultExportFromCjs");
19865
19865
 
@@ -19906,15 +19906,15 @@ function deepClone(val, options = defaultCloneOptions) {
19906
19906
  }
19907
19907
  __name(deepClone, "deepClone");
19908
19908
  function clone(val, seen, options = defaultCloneOptions) {
19909
- let k, out;
19909
+ let k2, out;
19910
19910
  if (seen.has(val)) {
19911
19911
  return seen.get(val);
19912
19912
  }
19913
19913
  if (Array.isArray(val)) {
19914
- out = Array.from({ length: k = val.length });
19914
+ out = Array.from({ length: k2 = val.length });
19915
19915
  seen.set(val, out);
19916
- while (k--) {
19917
- out[k] = clone(val[k], seen, options);
19916
+ while (k2--) {
19917
+ out[k2] = clone(val[k2], seen, options);
19918
19918
  }
19919
19919
  return out;
19920
19920
  }
@@ -19922,28 +19922,28 @@ function clone(val, seen, options = defaultCloneOptions) {
19922
19922
  out = Object.create(Object.getPrototypeOf(val));
19923
19923
  seen.set(val, out);
19924
19924
  const props = getOwnProperties(val);
19925
- for (const k2 of props) {
19926
- const descriptor = Object.getOwnPropertyDescriptor(val, k2);
19925
+ for (const k3 of props) {
19926
+ const descriptor = Object.getOwnPropertyDescriptor(val, k3);
19927
19927
  if (!descriptor) {
19928
19928
  continue;
19929
19929
  }
19930
- const cloned = clone(val[k2], seen, options);
19930
+ const cloned = clone(val[k3], seen, options);
19931
19931
  if (options.forceWritable) {
19932
- Object.defineProperty(out, k2, {
19932
+ Object.defineProperty(out, k3, {
19933
19933
  enumerable: descriptor.enumerable,
19934
19934
  configurable: true,
19935
19935
  writable: true,
19936
19936
  value: cloned
19937
19937
  });
19938
19938
  } else if ("get" in descriptor) {
19939
- Object.defineProperty(out, k2, {
19939
+ Object.defineProperty(out, k3, {
19940
19940
  ...descriptor,
19941
19941
  get() {
19942
19942
  return cloned;
19943
19943
  }
19944
19944
  });
19945
19945
  } else {
19946
- Object.defineProperty(out, k2, {
19946
+ Object.defineProperty(out, k3, {
19947
19947
  ...descriptor,
19948
19948
  value: cloned
19949
19949
  });
@@ -20856,19 +20856,19 @@ function joinAlignedDiffsNoExpand(diffs, options) {
20856
20856
  let aEnd = 0;
20857
20857
  let bEnd = 0;
20858
20858
  const pushCommonLine = /* @__PURE__ */ __name((line) => {
20859
- const j = lines.length;
20860
- lines.push(printCommonLine(line, j === 0 || j === jLast, options));
20859
+ const j2 = lines.length;
20860
+ lines.push(printCommonLine(line, j2 === 0 || j2 === jLast, options));
20861
20861
  aEnd += 1;
20862
20862
  bEnd += 1;
20863
20863
  }, "pushCommonLine");
20864
20864
  const pushDeleteLine = /* @__PURE__ */ __name((line) => {
20865
- const j = lines.length;
20866
- lines.push(printDeleteLine(line, j === 0 || j === jLast, options));
20865
+ const j2 = lines.length;
20866
+ lines.push(printDeleteLine(line, j2 === 0 || j2 === jLast, options));
20867
20867
  aEnd += 1;
20868
20868
  }, "pushDeleteLine");
20869
20869
  const pushInsertLine = /* @__PURE__ */ __name((line) => {
20870
- const j = lines.length;
20871
- lines.push(printInsertLine(line, j === 0 || j === jLast, options));
20870
+ const j2 = lines.length;
20871
+ lines.push(printInsertLine(line, j2 === 0 || j2 === jLast, options));
20872
20872
  bEnd += 1;
20873
20873
  }, "pushInsertLine");
20874
20874
  i2 = 0;
@@ -21002,20 +21002,20 @@ function isEmptyString(lines) {
21002
21002
  __name(isEmptyString, "isEmptyString");
21003
21003
  function countChanges(diffs) {
21004
21004
  let a2 = 0;
21005
- let b = 0;
21005
+ let b2 = 0;
21006
21006
  diffs.forEach((diff2) => {
21007
21007
  switch (diff2[0]) {
21008
21008
  case DIFF_DELETE:
21009
21009
  a2 += 1;
21010
21010
  break;
21011
21011
  case DIFF_INSERT:
21012
- b += 1;
21012
+ b2 += 1;
21013
21013
  break;
21014
21014
  }
21015
21015
  });
21016
21016
  return {
21017
21017
  a: a2,
21018
- b
21018
+ b: b2
21019
21019
  };
21020
21020
  }
21021
21021
  __name(countChanges, "countChanges");
@@ -21038,9 +21038,9 @@ function printAnnotation({ aAnnotation, aColor, aIndicator, bAnnotation, bColor,
21038
21038
  bRest = `${bAnnotationPadding} ${bIndicator} ${bCountPadding}${bCount}`;
21039
21039
  }
21040
21040
  const a2 = `${aIndicator} ${aAnnotation}${aRest}`;
21041
- const b = `${bIndicator} ${bAnnotation}${bRest}`;
21041
+ const b2 = `${bIndicator} ${bAnnotation}${bRest}`;
21042
21042
  return `${aColor(a2)}
21043
- ${bColor(b)}
21043
+ ${bColor(b2)}
21044
21044
 
21045
21045
  `;
21046
21046
  }
@@ -21161,25 +21161,25 @@ function getNewLineSymbol(string) {
21161
21161
  return string.includes("\r\n") ? "\r\n" : "\n";
21162
21162
  }
21163
21163
  __name(getNewLineSymbol, "getNewLineSymbol");
21164
- function diffStrings(a2, b, options) {
21164
+ function diffStrings(a2, b2, options) {
21165
21165
  const truncate3 = (options === null || options === void 0 ? void 0 : options.truncateThreshold) ?? false;
21166
21166
  const truncateThreshold = Math.max(Math.floor((options === null || options === void 0 ? void 0 : options.truncateThreshold) ?? 0), 0);
21167
21167
  let aLength = a2.length;
21168
- let bLength = b.length;
21168
+ let bLength = b2.length;
21169
21169
  if (truncate3) {
21170
21170
  const aMultipleLines = a2.includes("\n");
21171
- const bMultipleLines = b.includes("\n");
21171
+ const bMultipleLines = b2.includes("\n");
21172
21172
  const aNewLineSymbol = getNewLineSymbol(a2);
21173
- const bNewLineSymbol = getNewLineSymbol(b);
21173
+ const bNewLineSymbol = getNewLineSymbol(b2);
21174
21174
  const _a3 = aMultipleLines ? `${a2.split(aNewLineSymbol, truncateThreshold).join(aNewLineSymbol)}
21175
21175
  ` : a2;
21176
- const _b = bMultipleLines ? `${b.split(bNewLineSymbol, truncateThreshold).join(bNewLineSymbol)}
21177
- ` : b;
21176
+ const _b = bMultipleLines ? `${b2.split(bNewLineSymbol, truncateThreshold).join(bNewLineSymbol)}
21177
+ ` : b2;
21178
21178
  aLength = _a3.length;
21179
21179
  bLength = _b.length;
21180
21180
  }
21181
- const truncated = aLength !== a2.length || bLength !== b.length;
21182
- const isCommon = /* @__PURE__ */ __name((aIndex2, bIndex2) => a2[aIndex2] === b[bIndex2], "isCommon");
21181
+ const truncated = aLength !== a2.length || bLength !== b2.length;
21182
+ const isCommon = /* @__PURE__ */ __name((aIndex2, bIndex2) => a2[aIndex2] === b2[bIndex2], "isCommon");
21183
21183
  let aIndex = 0;
21184
21184
  let bIndex = 0;
21185
21185
  const diffs = [];
@@ -21188,18 +21188,18 @@ function diffStrings(a2, b, options) {
21188
21188
  diffs.push(new Diff(DIFF_DELETE, a2.slice(aIndex, aCommon)));
21189
21189
  }
21190
21190
  if (bIndex !== bCommon) {
21191
- diffs.push(new Diff(DIFF_INSERT, b.slice(bIndex, bCommon)));
21191
+ diffs.push(new Diff(DIFF_INSERT, b2.slice(bIndex, bCommon)));
21192
21192
  }
21193
21193
  aIndex = aCommon + nCommon;
21194
21194
  bIndex = bCommon + nCommon;
21195
- diffs.push(new Diff(DIFF_EQUAL, b.slice(bCommon, bIndex)));
21195
+ diffs.push(new Diff(DIFF_EQUAL, b2.slice(bCommon, bIndex)));
21196
21196
  }, "foundSubsequence");
21197
21197
  diffSequences(aLength, bLength, isCommon, foundSubsequence);
21198
21198
  if (aIndex !== aLength) {
21199
21199
  diffs.push(new Diff(DIFF_DELETE, a2.slice(aIndex)));
21200
21200
  }
21201
21201
  if (bIndex !== bLength) {
21202
- diffs.push(new Diff(DIFF_INSERT, b.slice(bIndex)));
21202
+ diffs.push(new Diff(DIFF_INSERT, b2.slice(bIndex)));
21203
21203
  }
21204
21204
  return [diffs, truncated];
21205
21205
  }
@@ -21349,23 +21349,23 @@ function hasCommonDiff(diffs, isMultiline) {
21349
21349
  return diffs.some((diff2) => diff2[0] === DIFF_EQUAL);
21350
21350
  }
21351
21351
  __name(hasCommonDiff, "hasCommonDiff");
21352
- function diffStringsUnified(a2, b, options) {
21353
- if (a2 !== b && a2.length !== 0 && b.length !== 0) {
21354
- const isMultiline = a2.includes("\n") || b.includes("\n");
21352
+ function diffStringsUnified(a2, b2, options) {
21353
+ if (a2 !== b2 && a2.length !== 0 && b2.length !== 0) {
21354
+ const isMultiline = a2.includes("\n") || b2.includes("\n");
21355
21355
  const [diffs, truncated] = diffStringsRaw(isMultiline ? `${a2}
21356
- ` : a2, isMultiline ? `${b}
21357
- ` : b, true, options);
21356
+ ` : a2, isMultiline ? `${b2}
21357
+ ` : b2, true, options);
21358
21358
  if (hasCommonDiff(diffs, isMultiline)) {
21359
21359
  const optionsNormalized = normalizeDiffOptions(options);
21360
21360
  const lines = getAlignedDiffs(diffs, optionsNormalized.changeColor);
21361
21361
  return printDiffLines(lines, truncated, optionsNormalized);
21362
21362
  }
21363
21363
  }
21364
- return diffLinesUnified(a2.split("\n"), b.split("\n"), options);
21364
+ return diffLinesUnified(a2.split("\n"), b2.split("\n"), options);
21365
21365
  }
21366
21366
  __name(diffStringsUnified, "diffStringsUnified");
21367
- function diffStringsRaw(a2, b, cleanup, options) {
21368
- const [diffs, truncated] = diffStrings(a2, b, options);
21367
+ function diffStringsRaw(a2, b2, cleanup, options) {
21368
+ const [diffs, truncated] = diffStrings(a2, b2, options);
21369
21369
  if (cleanup) {
21370
21370
  diff_cleanupSemantic(diffs);
21371
21371
  }
@@ -21396,8 +21396,8 @@ var FALLBACK_FORMAT_OPTIONS = {
21396
21396
  maxDepth: 8,
21397
21397
  plugins: PLUGINS2
21398
21398
  };
21399
- function diff(a2, b, options) {
21400
- if (Object.is(a2, b)) {
21399
+ function diff(a2, b2, options) {
21400
+ if (Object.is(a2, b2)) {
21401
21401
  return "";
21402
21402
  }
21403
21403
  const aType = getType3(a2);
@@ -21413,7 +21413,7 @@ function diff(a2, b, options) {
21413
21413
  expectedType = a2.getExpectedType();
21414
21414
  omitDifference = expectedType === "string";
21415
21415
  }
21416
- if (expectedType !== getType3(b)) {
21416
+ if (expectedType !== getType3(b2)) {
21417
21417
  let truncate3 = function(s3) {
21418
21418
  return s3.length <= MAX_LENGTH ? s3 : `${s3.slice(0, MAX_LENGTH)}...`;
21419
21419
  };
@@ -21421,7 +21421,7 @@ function diff(a2, b, options) {
21421
21421
  const { aAnnotation, aColor, aIndicator, bAnnotation, bColor, bIndicator } = normalizeDiffOptions(options);
21422
21422
  const formatOptions = getFormatOptions(FALLBACK_FORMAT_OPTIONS, options);
21423
21423
  let aDisplay = format(a2, formatOptions);
21424
- let bDisplay = format(b, formatOptions);
21424
+ let bDisplay = format(b2, formatOptions);
21425
21425
  const MAX_LENGTH = 1e5;
21426
21426
  aDisplay = truncate3(aDisplay);
21427
21427
  bDisplay = truncate3(bDisplay);
@@ -21438,22 +21438,22 @@ ${bDiff}`;
21438
21438
  }
21439
21439
  switch (aType) {
21440
21440
  case "string":
21441
- return diffLinesUnified(a2.split("\n"), b.split("\n"), options);
21441
+ return diffLinesUnified(a2.split("\n"), b2.split("\n"), options);
21442
21442
  case "boolean":
21443
21443
  case "number":
21444
- return comparePrimitive(a2, b, options);
21444
+ return comparePrimitive(a2, b2, options);
21445
21445
  case "map":
21446
- return compareObjects(sortMap(a2), sortMap(b), options);
21446
+ return compareObjects(sortMap(a2), sortMap(b2), options);
21447
21447
  case "set":
21448
- return compareObjects(sortSet(a2), sortSet(b), options);
21448
+ return compareObjects(sortSet(a2), sortSet(b2), options);
21449
21449
  default:
21450
- return compareObjects(a2, b, options);
21450
+ return compareObjects(a2, b2, options);
21451
21451
  }
21452
21452
  }
21453
21453
  __name(diff, "diff");
21454
- function comparePrimitive(a2, b, options) {
21454
+ function comparePrimitive(a2, b2, options) {
21455
21455
  const aFormat = format(a2, FORMAT_OPTIONS);
21456
- const bFormat = format(b, FORMAT_OPTIONS);
21456
+ const bFormat = format(b2, FORMAT_OPTIONS);
21457
21457
  return aFormat === bFormat ? "" : diffLinesUnified(aFormat.split("\n"), bFormat.split("\n"), options);
21458
21458
  }
21459
21459
  __name(comparePrimitive, "comparePrimitive");
@@ -21465,19 +21465,19 @@ function sortSet(set2) {
21465
21465
  return new Set(Array.from(set2.values()).sort());
21466
21466
  }
21467
21467
  __name(sortSet, "sortSet");
21468
- function compareObjects(a2, b, options) {
21468
+ function compareObjects(a2, b2, options) {
21469
21469
  let difference;
21470
21470
  let hasThrown = false;
21471
21471
  try {
21472
21472
  const formatOptions = getFormatOptions(FORMAT_OPTIONS, options);
21473
- difference = getObjectsDifference(a2, b, formatOptions, options);
21473
+ difference = getObjectsDifference(a2, b2, formatOptions, options);
21474
21474
  } catch {
21475
21475
  hasThrown = true;
21476
21476
  }
21477
21477
  const noDiffMessage = getCommonMessage(NO_DIFF_MESSAGE, options);
21478
21478
  if (difference === void 0 || difference === noDiffMessage) {
21479
21479
  const formatOptions = getFormatOptions(FALLBACK_FORMAT_OPTIONS, options);
21480
- difference = getObjectsDifference(a2, b, formatOptions, options);
21480
+ difference = getObjectsDifference(a2, b2, formatOptions, options);
21481
21481
  if (difference !== noDiffMessage && !hasThrown) {
21482
21482
  difference = `${getCommonMessage(SIMILAR_MESSAGE, options)}
21483
21483
 
@@ -21497,18 +21497,18 @@ function getFormatOptions(formatOptions, options) {
21497
21497
  };
21498
21498
  }
21499
21499
  __name(getFormatOptions, "getFormatOptions");
21500
- function getObjectsDifference(a2, b, formatOptions, options) {
21500
+ function getObjectsDifference(a2, b2, formatOptions, options) {
21501
21501
  const formatOptionsZeroIndent = {
21502
21502
  ...formatOptions,
21503
21503
  indent: 0
21504
21504
  };
21505
21505
  const aCompare = format(a2, formatOptionsZeroIndent);
21506
- const bCompare = format(b, formatOptionsZeroIndent);
21506
+ const bCompare = format(b2, formatOptionsZeroIndent);
21507
21507
  if (aCompare === bCompare) {
21508
21508
  return getCommonMessage(NO_DIFF_MESSAGE, options);
21509
21509
  } else {
21510
21510
  const aDisplay = format(a2, formatOptions);
21511
- const bDisplay = format(b, formatOptions);
21511
+ const bDisplay = format(b2, formatOptions);
21512
21512
  return diffLinesUnified2(aDisplay.split("\n"), bDisplay.split("\n"), aCompare.split("\n"), bCompare.split("\n"), options);
21513
21513
  }
21514
21514
  }
@@ -21617,8 +21617,8 @@ __name(getCommonAndChangedSubstrings, "getCommonAndChangedSubstrings");
21617
21617
  // ../node_modules/@vitest/utils/dist/error.js
21618
21618
  var IS_RECORD_SYMBOL = "@@__IMMUTABLE_RECORD__@@";
21619
21619
  var IS_COLLECTION_SYMBOL = "@@__IMMUTABLE_ITERABLE__@@";
21620
- function isImmutable(v) {
21621
- return v && (v[IS_COLLECTION_SYMBOL] || v[IS_RECORD_SYMBOL]);
21620
+ function isImmutable(v2) {
21621
+ return v2 && (v2[IS_COLLECTION_SYMBOL] || v2[IS_RECORD_SYMBOL]);
21622
21622
  }
21623
21623
  __name(isImmutable, "isImmutable");
21624
21624
  var OBJECT_PROTO = Object.getPrototypeOf({});
@@ -22284,7 +22284,7 @@ var _Instrumenter = class _Instrumenter {
22284
22284
  return {
22285
22285
  // Calls are sorted to ensure parent calls always come before calls in their callback.
22286
22286
  calls: Object.values(callsById).sort(
22287
- (a2, b) => a2.id.localeCompare(b.id, void 0, { numeric: true })
22287
+ (a2, b2) => a2.id.localeCompare(b2.id, void 0, { numeric: true })
22288
22288
  )
22289
22289
  };
22290
22290
  });
@@ -24033,20 +24033,20 @@ function stringDistanceCapped(strA, strB, cap) {
24033
24033
  memo[i2] = Array(strB.length + 1).fill(0);
24034
24034
  memo[i2][0] = i2;
24035
24035
  }
24036
- for (let j = 0; j < strB.length; j++) {
24037
- memo[0][j] = j;
24036
+ for (let j2 = 0; j2 < strB.length; j2++) {
24037
+ memo[0][j2] = j2;
24038
24038
  }
24039
24039
  for (let i2 = 1; i2 <= strA.length; i2++) {
24040
24040
  let ch = strA.charCodeAt(i2 - 1);
24041
- for (let j = 1; j <= strB.length; j++) {
24042
- if (Math.abs(i2 - j) >= cap) {
24043
- memo[i2][j] = cap;
24041
+ for (let j2 = 1; j2 <= strB.length; j2++) {
24042
+ if (Math.abs(i2 - j2) >= cap) {
24043
+ memo[i2][j2] = cap;
24044
24044
  continue;
24045
24045
  }
24046
- memo[i2][j] = Math.min(
24047
- memo[i2 - 1][j] + 1,
24048
- memo[i2][j - 1] + 1,
24049
- memo[i2 - 1][j - 1] + (ch === strB.charCodeAt(j - 1) ? 0 : 1)
24046
+ memo[i2][j2] = Math.min(
24047
+ memo[i2 - 1][j2] + 1,
24048
+ memo[i2][j2 - 1] + 1,
24049
+ memo[i2 - 1][j2 - 1] + (ch === strB.charCodeAt(j2 - 1) ? 0 : 1)
24050
24050
  );
24051
24051
  }
24052
24052
  }
@@ -24207,8 +24207,8 @@ function overwriteChainableMethod(ctx, name, method, chainingBehavior) {
24207
24207
  }
24208
24208
  __name(overwriteChainableMethod, "overwriteChainableMethod");
24209
24209
  __name2(overwriteChainableMethod, "overwriteChainableMethod");
24210
- function compareByInspect(a2, b) {
24211
- return inspect22(a2) < inspect22(b) ? -1 : 1;
24210
+ function compareByInspect(a2, b2) {
24211
+ return inspect22(a2) < inspect22(b2) ? -1 : 1;
24212
24212
  }
24213
24213
  __name(compareByInspect, "compareByInspect");
24214
24214
  __name2(compareByInspect, "compareByInspect");
@@ -24351,8 +24351,8 @@ __name(an, "an");
24351
24351
  __name2(an, "an");
24352
24352
  Assertion.addChainableMethod("an", an);
24353
24353
  Assertion.addChainableMethod("a", an);
24354
- function SameValueZero(a2, b) {
24355
- return isNaN22(a2) && isNaN22(b) || a2 === b;
24354
+ function SameValueZero(a2, b2) {
24355
+ return isNaN22(a2) && isNaN22(b2) || a2 === b2;
24356
24356
  }
24357
24357
  __name(SameValueZero, "SameValueZero");
24358
24358
  __name2(SameValueZero, "SameValueZero");
@@ -25317,7 +25317,7 @@ function closeTo(expected, delta, msg) {
25317
25317
  );
25318
25318
  }
25319
25319
  new Assertion(expected, flagMsg, ssfi, true).is.numeric;
25320
- const abs = __name2((x) => x < 0n ? -x : x, "abs");
25320
+ const abs = __name2((x2) => x2 < 0n ? -x2 : x2, "abs");
25321
25321
  const strip = __name2((number) => parseFloat(parseFloat(number).toPrecision(12)), "strip");
25322
25322
  this.assert(
25323
25323
  strip(abs(obj - expected)) <= delta,
@@ -26662,43 +26662,43 @@ function c(t2, e2) {
26662
26662
  __name(c, "c");
26663
26663
  var m2 = /* @__PURE__ */ __name((s3, a2) => {
26664
26664
  a2 = a2 || {};
26665
- let m3 = 1, h2 = 1;
26666
- function u2() {
26667
- const t2 = { line: m3, column: h2 };
26668
- return (i2) => (i2.position = new e(t2, { line: m3, column: h2 }, a2?.source || ""), $(), i2);
26665
+ let m3 = 1, h3 = 1;
26666
+ function u3() {
26667
+ const t2 = { line: m3, column: h3 };
26668
+ return (i2) => (i2.position = new e(t2, { line: m3, column: h3 }, a2?.source || ""), $(), i2);
26669
26669
  }
26670
- __name(u2, "u");
26670
+ __name(u3, "u");
26671
26671
  const p2 = [];
26672
- function l(e2) {
26673
- const i2 = new t(a2?.source || "", e2, m3, h2, s3);
26672
+ function l2(e2) {
26673
+ const i2 = new t(a2?.source || "", e2, m3, h3, s3);
26674
26674
  if (!a2?.silent) throw i2;
26675
26675
  p2.push(i2);
26676
26676
  }
26677
- __name(l, "l");
26678
- function f3() {
26677
+ __name(l2, "l");
26678
+ function f4() {
26679
26679
  const t2 = /^{\s*/.exec(s3);
26680
26680
  return !!t2 && (g2(t2), true);
26681
26681
  }
26682
- __name(f3, "f");
26682
+ __name(f4, "f");
26683
26683
  function d() {
26684
26684
  const t2 = /^}/.exec(s3);
26685
26685
  return !!t2 && (g2(t2), true);
26686
26686
  }
26687
26687
  __name(d, "d");
26688
- function y() {
26688
+ function y2() {
26689
26689
  let t2;
26690
26690
  const e2 = [];
26691
- for ($(), x(e2); s3.length && "}" !== s3.charAt(0) && (t2 = A() || S(), t2); ) e2.push(t2), x(e2);
26691
+ for ($(), x2(e2); s3.length && "}" !== s3.charAt(0) && (t2 = A() || S2(), t2); ) e2.push(t2), x2(e2);
26692
26692
  return e2;
26693
26693
  }
26694
- __name(y, "y");
26694
+ __name(y2, "y");
26695
26695
  function g2(t2) {
26696
26696
  const e2 = t2[0];
26697
26697
  return function(t3) {
26698
26698
  const e3 = t3.match(/\n/g);
26699
26699
  e3 && (m3 += e3.length);
26700
26700
  const i2 = t3.lastIndexOf("\n");
26701
- h2 = ~i2 ? t3.length - i2 : h2 + t3.length;
26701
+ h3 = ~i2 ? t3.length - i2 : h3 + t3.length;
26702
26702
  }(e2), s3 = s3.slice(e2.length), t2;
26703
26703
  }
26704
26704
  __name(g2, "g");
@@ -26707,21 +26707,21 @@ var m2 = /* @__PURE__ */ __name((s3, a2) => {
26707
26707
  t2 && g2(t2);
26708
26708
  }
26709
26709
  __name($, "$");
26710
- function x(t2) {
26710
+ function x2(t2) {
26711
26711
  t2 = t2 || [];
26712
26712
  let e2 = V();
26713
26713
  for (; e2; ) t2.push(e2), e2 = V();
26714
26714
  return t2;
26715
26715
  }
26716
- __name(x, "x");
26716
+ __name(x2, "x");
26717
26717
  function V() {
26718
- const t2 = u2();
26718
+ const t2 = u3();
26719
26719
  if ("/" !== s3.charAt(0) || "*" !== s3.charAt(1)) return;
26720
26720
  const e2 = /^\/\*[^]*?\*\//.exec(s3);
26721
- return e2 ? (g2(e2), t2({ type: i.comment, comment: e2[0].slice(2, -2) })) : l("End of comment missing");
26721
+ return e2 ? (g2(e2), t2({ type: i.comment, comment: e2[0].slice(2, -2) })) : l2("End of comment missing");
26722
26722
  }
26723
26723
  __name(V, "V");
26724
- function k() {
26724
+ function k2() {
26725
26725
  const t2 = /^([^{]+)/.exec(s3);
26726
26726
  if (!t2) return;
26727
26727
  g2(t2);
@@ -26736,35 +26736,35 @@ var m2 = /* @__PURE__ */ __name((s3, a2) => {
26736
26736
  return i2;
26737
26737
  })(o(t2[0]).replace(r, ""), [","]).map((t3) => o(t3));
26738
26738
  }
26739
- __name(k, "k");
26740
- function v() {
26741
- const t2 = u2(), e2 = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/.exec(s3);
26739
+ __name(k2, "k");
26740
+ function v2() {
26741
+ const t2 = u3(), e2 = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/.exec(s3);
26742
26742
  if (!e2) return;
26743
26743
  g2(e2);
26744
26744
  const c2 = o(e2[0]), a3 = /^:\s*/.exec(s3);
26745
- if (!a3) return l("property missing ':'");
26745
+ if (!a3) return l2("property missing ':'");
26746
26746
  g2(a3);
26747
26747
  let m4 = "";
26748
- const h3 = n(s3, [";", "}"]);
26749
- if (-1 !== h3) {
26750
- m4 = s3.substring(0, h3);
26748
+ const h4 = n(s3, [";", "}"]);
26749
+ if (-1 !== h4) {
26750
+ m4 = s3.substring(0, h4);
26751
26751
  g2([m4]), m4 = o(m4).replace(r, "");
26752
26752
  }
26753
- const p3 = t2({ type: i.declaration, property: c2.replace(r, ""), value: m4 }), f4 = /^[;\s]*/.exec(s3);
26754
- return f4 && g2(f4), p3;
26753
+ const p3 = t2({ type: i.declaration, property: c2.replace(r, ""), value: m4 }), f5 = /^[;\s]*/.exec(s3);
26754
+ return f5 && g2(f5), p3;
26755
26755
  }
26756
- __name(v, "v");
26757
- function w() {
26756
+ __name(v2, "v");
26757
+ function w2() {
26758
26758
  const t2 = [];
26759
- if (!f3()) return l("missing '{'");
26760
- x(t2);
26761
- let e2 = v();
26762
- for (; e2; ) t2.push(e2), x(t2), e2 = v();
26763
- return d() ? t2 : l("missing '}'");
26764
- }
26765
- __name(w, "w");
26766
- function b() {
26767
- const t2 = [], e2 = u2();
26759
+ if (!f4()) return l2("missing '{'");
26760
+ x2(t2);
26761
+ let e2 = v2();
26762
+ for (; e2; ) t2.push(e2), x2(t2), e2 = v2();
26763
+ return d() ? t2 : l2("missing '}'");
26764
+ }
26765
+ __name(w2, "w");
26766
+ function b2() {
26767
+ const t2 = [], e2 = u3();
26768
26768
  let n2 = /^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/.exec(s3);
26769
26769
  for (; n2; ) {
26770
26770
  const e3 = g2(n2);
@@ -26772,112 +26772,112 @@ var m2 = /* @__PURE__ */ __name((s3, a2) => {
26772
26772
  const i2 = /^,\s*/.exec(s3);
26773
26773
  i2 && g2(i2), n2 = /^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/.exec(s3);
26774
26774
  }
26775
- if (t2.length) return e2({ type: i.keyframe, values: t2, declarations: w() || [] });
26775
+ if (t2.length) return e2({ type: i.keyframe, values: t2, declarations: w2() || [] });
26776
26776
  }
26777
- __name(b, "b");
26778
- const j = M("import"), O = M("charset"), E = M("namespace");
26779
- function M(t2) {
26777
+ __name(b2, "b");
26778
+ const j2 = M2("import"), O = M2("charset"), E2 = M2("namespace");
26779
+ function M2(t2) {
26780
26780
  const e2 = new RegExp("^@" + t2 + `\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);
26781
26781
  return () => {
26782
- const i2 = u2(), n2 = e2.exec(s3);
26782
+ const i2 = u3(), n2 = e2.exec(s3);
26783
26783
  if (!n2) return;
26784
26784
  const r2 = g2(n2), o2 = { type: t2 };
26785
26785
  return o2[t2] = r2[1].trim(), i2(o2);
26786
26786
  };
26787
26787
  }
26788
- __name(M, "M");
26788
+ __name(M2, "M");
26789
26789
  function A() {
26790
26790
  if ("@" === s3[0]) return function() {
26791
- const t2 = u2(), e2 = /^@([-\w]+)?keyframes\s*/.exec(s3);
26791
+ const t2 = u3(), e2 = /^@([-\w]+)?keyframes\s*/.exec(s3);
26792
26792
  if (!e2) return;
26793
26793
  const n2 = g2(e2)[1], r2 = /^([-\w]+)\s*/.exec(s3);
26794
- if (!r2) return l("@keyframes missing name");
26794
+ if (!r2) return l2("@keyframes missing name");
26795
26795
  const o2 = g2(r2)[1];
26796
- if (!f3()) return l("@keyframes missing '{'");
26797
- let c2 = x(), a3 = b();
26798
- for (; a3; ) c2.push(a3), c2 = c2.concat(x()), a3 = b();
26799
- return d() ? t2({ type: i.keyframes, name: o2, vendor: n2, keyframes: c2 }) : l("@keyframes missing '}'");
26796
+ if (!f4()) return l2("@keyframes missing '{'");
26797
+ let c2 = x2(), a3 = b2();
26798
+ for (; a3; ) c2.push(a3), c2 = c2.concat(x2()), a3 = b2();
26799
+ return d() ? t2({ type: i.keyframes, name: o2, vendor: n2, keyframes: c2 }) : l2("@keyframes missing '}'");
26800
26800
  }() || function() {
26801
- const t2 = u2(), e2 = /^@media *([^{]+)/.exec(s3);
26801
+ const t2 = u3(), e2 = /^@media *([^{]+)/.exec(s3);
26802
26802
  if (!e2) return;
26803
26803
  const n2 = o(g2(e2)[1]);
26804
- if (!f3()) return l("@media missing '{'");
26805
- const r2 = x().concat(y());
26806
- return d() ? t2({ type: i.media, media: n2, rules: r2 }) : l("@media missing '}'");
26804
+ if (!f4()) return l2("@media missing '{'");
26805
+ const r2 = x2().concat(y2());
26806
+ return d() ? t2({ type: i.media, media: n2, rules: r2 }) : l2("@media missing '}'");
26807
26807
  }() || function() {
26808
- const t2 = u2(), e2 = /^@custom-media\s+(--\S+)\s+([^{;\s][^{;]*);/.exec(s3);
26808
+ const t2 = u3(), e2 = /^@custom-media\s+(--\S+)\s+([^{;\s][^{;]*);/.exec(s3);
26809
26809
  if (!e2) return;
26810
26810
  const n2 = g2(e2);
26811
26811
  return t2({ type: i.customMedia, name: o(n2[1]), media: o(n2[2]) });
26812
26812
  }() || function() {
26813
- const t2 = u2(), e2 = /^@supports *([^{]+)/.exec(s3);
26813
+ const t2 = u3(), e2 = /^@supports *([^{]+)/.exec(s3);
26814
26814
  if (!e2) return;
26815
26815
  const n2 = o(g2(e2)[1]);
26816
- if (!f3()) return l("@supports missing '{'");
26817
- const r2 = x().concat(y());
26818
- return d() ? t2({ type: i.supports, supports: n2, rules: r2 }) : l("@supports missing '}'");
26819
- }() || j() || O() || E() || function() {
26820
- const t2 = u2(), e2 = /^@([-\w]+)?document *([^{]+)/.exec(s3);
26816
+ if (!f4()) return l2("@supports missing '{'");
26817
+ const r2 = x2().concat(y2());
26818
+ return d() ? t2({ type: i.supports, supports: n2, rules: r2 }) : l2("@supports missing '}'");
26819
+ }() || j2() || O() || E2() || function() {
26820
+ const t2 = u3(), e2 = /^@([-\w]+)?document *([^{]+)/.exec(s3);
26821
26821
  if (!e2) return;
26822
26822
  const n2 = g2(e2), r2 = o(n2[1]), c2 = o(n2[2]);
26823
- if (!f3()) return l("@document missing '{'");
26824
- const a3 = x().concat(y());
26825
- return d() ? t2({ type: i.document, document: c2, vendor: r2, rules: a3 }) : l("@document missing '}'");
26823
+ if (!f4()) return l2("@document missing '{'");
26824
+ const a3 = x2().concat(y2());
26825
+ return d() ? t2({ type: i.document, document: c2, vendor: r2, rules: a3 }) : l2("@document missing '}'");
26826
26826
  }() || function() {
26827
- const t2 = u2(), e2 = /^@page */.exec(s3);
26827
+ const t2 = u3(), e2 = /^@page */.exec(s3);
26828
26828
  if (!e2) return;
26829
26829
  g2(e2);
26830
- const n2 = k() || [];
26831
- if (!f3()) return l("@page missing '{'");
26832
- let r2 = x(), o2 = v();
26833
- for (; o2; ) r2.push(o2), r2 = r2.concat(x()), o2 = v();
26834
- return d() ? t2({ type: i.page, selectors: n2, declarations: r2 }) : l("@page missing '}'");
26830
+ const n2 = k2() || [];
26831
+ if (!f4()) return l2("@page missing '{'");
26832
+ let r2 = x2(), o2 = v2();
26833
+ for (; o2; ) r2.push(o2), r2 = r2.concat(x2()), o2 = v2();
26834
+ return d() ? t2({ type: i.page, selectors: n2, declarations: r2 }) : l2("@page missing '}'");
26835
26835
  }() || function() {
26836
- const t2 = u2(), e2 = /^@host\s*/.exec(s3);
26836
+ const t2 = u3(), e2 = /^@host\s*/.exec(s3);
26837
26837
  if (!e2) return;
26838
- if (g2(e2), !f3()) return l("@host missing '{'");
26839
- const n2 = x().concat(y());
26840
- return d() ? t2({ type: i.host, rules: n2 }) : l("@host missing '}'");
26838
+ if (g2(e2), !f4()) return l2("@host missing '{'");
26839
+ const n2 = x2().concat(y2());
26840
+ return d() ? t2({ type: i.host, rules: n2 }) : l2("@host missing '}'");
26841
26841
  }() || function() {
26842
- const t2 = u2(), e2 = /^@font-face\s*/.exec(s3);
26842
+ const t2 = u3(), e2 = /^@font-face\s*/.exec(s3);
26843
26843
  if (!e2) return;
26844
- if (g2(e2), !f3()) return l("@font-face missing '{'");
26845
- let n2 = x(), r2 = v();
26846
- for (; r2; ) n2.push(r2), n2 = n2.concat(x()), r2 = v();
26847
- return d() ? t2({ type: i.fontFace, declarations: n2 }) : l("@font-face missing '}'");
26844
+ if (g2(e2), !f4()) return l2("@font-face missing '{'");
26845
+ let n2 = x2(), r2 = v2();
26846
+ for (; r2; ) n2.push(r2), n2 = n2.concat(x2()), r2 = v2();
26847
+ return d() ? t2({ type: i.fontFace, declarations: n2 }) : l2("@font-face missing '}'");
26848
26848
  }() || function() {
26849
- const t2 = u2(), e2 = /^@container *([^{]+)/.exec(s3);
26849
+ const t2 = u3(), e2 = /^@container *([^{]+)/.exec(s3);
26850
26850
  if (!e2) return;
26851
26851
  const n2 = o(g2(e2)[1]);
26852
- if (!f3()) return l("@container missing '{'");
26853
- const r2 = x().concat(y());
26854
- return d() ? t2({ type: i.container, container: n2, rules: r2 }) : l("@container missing '}'");
26852
+ if (!f4()) return l2("@container missing '{'");
26853
+ const r2 = x2().concat(y2());
26854
+ return d() ? t2({ type: i.container, container: n2, rules: r2 }) : l2("@container missing '}'");
26855
26855
  }() || function() {
26856
- const t2 = u2(), e2 = /^@starting-style\s*/.exec(s3);
26856
+ const t2 = u3(), e2 = /^@starting-style\s*/.exec(s3);
26857
26857
  if (!e2) return;
26858
- if (g2(e2), !f3()) return l("@starting-style missing '{'");
26859
- const n2 = x().concat(y());
26860
- return d() ? t2({ type: i.startingStyle, rules: n2 }) : l("@starting-style missing '}'");
26858
+ if (g2(e2), !f4()) return l2("@starting-style missing '{'");
26859
+ const n2 = x2().concat(y2());
26860
+ return d() ? t2({ type: i.startingStyle, rules: n2 }) : l2("@starting-style missing '}'");
26861
26861
  }() || function() {
26862
- const t2 = u2(), e2 = /^@layer *([^{;@]+)/.exec(s3);
26862
+ const t2 = u3(), e2 = /^@layer *([^{;@]+)/.exec(s3);
26863
26863
  if (!e2) return;
26864
26864
  const n2 = o(g2(e2)[1]);
26865
- if (!f3()) {
26865
+ if (!f4()) {
26866
26866
  const e3 = /^[;\s]*/.exec(s3);
26867
26867
  return e3 && g2(e3), t2({ type: i.layer, layer: n2 });
26868
26868
  }
26869
- const r2 = x().concat(y());
26870
- return d() ? t2({ type: i.layer, layer: n2, rules: r2 }) : l("@layer missing '}'");
26869
+ const r2 = x2().concat(y2());
26870
+ return d() ? t2({ type: i.layer, layer: n2, rules: r2 }) : l2("@layer missing '}'");
26871
26871
  }();
26872
26872
  }
26873
26873
  __name(A, "A");
26874
- function S() {
26875
- const t2 = u2(), e2 = k();
26876
- return e2 ? (x(), t2({ type: i.rule, selectors: e2, declarations: w() || [] })) : l("selector missing");
26874
+ function S2() {
26875
+ const t2 = u3(), e2 = k2();
26876
+ return e2 ? (x2(), t2({ type: i.rule, selectors: e2, declarations: w2() || [] })) : l2("selector missing");
26877
26877
  }
26878
- __name(S, "S");
26878
+ __name(S2, "S");
26879
26879
  return c(function() {
26880
- const t2 = y();
26880
+ const t2 = y2();
26881
26881
  return { type: i.stylesheet, stylesheet: { source: a2?.source, rules: t2, parsingErrors: p2 } };
26882
26882
  }());
26883
26883
  }, "m");
@@ -26918,16 +26918,16 @@ function arrayFrom(arrayLike, mapFn) {
26918
26918
  }
26919
26919
  var len = toLength(items.length);
26920
26920
  var A = isCallable(C2) ? Object(new C2(len)) : new Array(len);
26921
- var k = 0;
26921
+ var k2 = 0;
26922
26922
  var kValue;
26923
- while (k < len) {
26924
- kValue = items[k];
26923
+ while (k2 < len) {
26924
+ kValue = items[k2];
26925
26925
  if (mapFn) {
26926
- A[k] = mapFn(kValue, k);
26926
+ A[k2] = mapFn(kValue, k2);
26927
26927
  } else {
26928
- A[k] = kValue;
26928
+ A[k2] = kValue;
26929
26929
  }
26930
- k += 1;
26930
+ k2 += 1;
26931
26931
  }
26932
26932
  A.length = len;
26933
26933
  return A;
@@ -28013,7 +28013,7 @@ function toSentence(array, { wordConnector = ", ", lastWordConnector = " and " }
28013
28013
  __name(toSentence, "toSentence");
28014
28014
  function compareAsSet(val1, val2) {
28015
28015
  if (Array.isArray(val1) && Array.isArray(val2)) {
28016
- return [...new Set(val1)].every((v) => new Set(val2).has(v));
28016
+ return [...new Set(val1)].every((v2) => new Set(val2).has(v2));
28017
28017
  }
28018
28018
  return val1 === val2;
28019
28019
  }
@@ -29837,179 +29837,179 @@ var reservedWordsStrictSet = new Set(reservedWords.strict);
29837
29837
  var SAFE_TIMERS_SYMBOL = Symbol("vitest:SAFE_TIMERS");
29838
29838
 
29839
29839
  // ../node_modules/@vitest/spy/node_modules/tinyspy/dist/index.js
29840
- function assert2(condition, message) {
29841
- if (!condition)
29842
- throw new Error(message);
29843
- }
29844
- __name(assert2, "assert");
29845
- function isType(type5, value) {
29846
- return typeof value === type5;
29847
- }
29848
- __name(isType, "isType");
29849
- function isPromise(value) {
29850
- return value instanceof Promise;
29851
- }
29852
- __name(isPromise, "isPromise");
29853
- function define2(obj, key, descriptor) {
29854
- Object.defineProperty(obj, key, descriptor);
29855
- }
29856
- __name(define2, "define");
29857
- function defineValue(obj, key, value) {
29858
- define2(obj, key, { value, configurable: true, writable: true });
29859
- }
29860
- __name(defineValue, "defineValue");
29861
- var SYMBOL_STATE = Symbol.for("tinyspy:spy");
29862
- var spies = /* @__PURE__ */ new Set();
29863
- var reset = /* @__PURE__ */ __name((state3) => {
29864
- state3.called = false, state3.callCount = 0, state3.calls = [], state3.results = [], state3.resolves = [], state3.next = [];
29865
- }, "reset");
29866
- var defineState = /* @__PURE__ */ __name((spy2) => (define2(spy2, SYMBOL_STATE, {
29867
- value: { reset: /* @__PURE__ */ __name(() => reset(spy2[SYMBOL_STATE]), "reset") }
29868
- }), spy2[SYMBOL_STATE]), "defineState");
29869
- var getInternalState = /* @__PURE__ */ __name((spy2) => spy2[SYMBOL_STATE] || defineState(spy2), "getInternalState");
29870
- function createInternalSpy(cb) {
29871
- assert2(
29872
- isType("function", cb) || isType("undefined", cb),
29840
+ function S(e2, t2) {
29841
+ if (!e2)
29842
+ throw new Error(t2);
29843
+ }
29844
+ __name(S, "S");
29845
+ function f2(e2, t2) {
29846
+ return typeof t2 === e2;
29847
+ }
29848
+ __name(f2, "f");
29849
+ function w(e2) {
29850
+ return e2 instanceof Promise;
29851
+ }
29852
+ __name(w, "w");
29853
+ function u(e2, t2, r2) {
29854
+ Object.defineProperty(e2, t2, r2);
29855
+ }
29856
+ __name(u, "u");
29857
+ function l(e2, t2, r2) {
29858
+ u(e2, t2, { value: r2, configurable: true, writable: true });
29859
+ }
29860
+ __name(l, "l");
29861
+ var y = Symbol.for("tinyspy:spy");
29862
+ var x = /* @__PURE__ */ new Set();
29863
+ var h2 = /* @__PURE__ */ __name((e2) => {
29864
+ e2.called = false, e2.callCount = 0, e2.calls = [], e2.results = [], e2.resolves = [], e2.next = [];
29865
+ }, "h");
29866
+ var k = /* @__PURE__ */ __name((e2) => (u(e2, y, {
29867
+ value: { reset: /* @__PURE__ */ __name(() => h2(e2[y]), "reset") }
29868
+ }), e2[y]), "k");
29869
+ var T = /* @__PURE__ */ __name((e2) => e2[y] || k(e2), "T");
29870
+ function R(e2) {
29871
+ S(
29872
+ f2("function", e2) || f2("undefined", e2),
29873
29873
  "cannot spy on a non-function value"
29874
29874
  );
29875
- let fn3 = /* @__PURE__ */ __name(function(...args) {
29876
- let state22 = getInternalState(fn3);
29877
- state22.called = true, state22.callCount++, state22.calls.push(args);
29878
- let next = state22.next.shift();
29879
- if (next) {
29880
- state22.results.push(next);
29881
- let [type22, result2] = next;
29882
- if (type22 === "ok")
29883
- return result2;
29884
- throw result2;
29885
- }
29886
- let result, type5 = "ok", resultIndex = state22.results.length;
29887
- if (state22.impl)
29875
+ let t2 = /* @__PURE__ */ __name(function(...s3) {
29876
+ let n2 = T(t2);
29877
+ n2.called = true, n2.callCount++, n2.calls.push(s3);
29878
+ let d = n2.next.shift();
29879
+ if (d) {
29880
+ n2.results.push(d);
29881
+ let [a2, i2] = d;
29882
+ if (a2 === "ok")
29883
+ return i2;
29884
+ throw i2;
29885
+ }
29886
+ let o2, c2 = "ok", p2 = n2.results.length;
29887
+ if (n2.impl)
29888
29888
  try {
29889
- new.target ? result = Reflect.construct(state22.impl, args, new.target) : result = state22.impl.apply(this, args), type5 = "ok";
29890
- } catch (err) {
29891
- throw result = err, type5 = "error", state22.results.push([type5, err]), err;
29892
- }
29893
- let resultTuple = [type5, result];
29894
- return isPromise(result) && result.then(
29895
- (r2) => state22.resolves[resultIndex] = ["ok", r2],
29896
- (e2) => state22.resolves[resultIndex] = ["error", e2]
29897
- ), state22.results.push(resultTuple), result;
29898
- }, "fn");
29899
- defineValue(fn3, "_isMockFunction", true), defineValue(fn3, "length", cb ? cb.length : 0), defineValue(fn3, "name", cb && cb.name || "spy");
29900
- let state3 = getInternalState(fn3);
29901
- return state3.reset(), state3.impl = cb, fn3;
29902
- }
29903
- __name(createInternalSpy, "createInternalSpy");
29904
- function isMockFunction(obj) {
29905
- return !!obj && obj._isMockFunction === true;
29906
- }
29907
- __name(isMockFunction, "isMockFunction");
29908
- var getDescriptor = /* @__PURE__ */ __name((obj, method) => {
29909
- let objDescriptor = Object.getOwnPropertyDescriptor(obj, method);
29910
- if (objDescriptor)
29911
- return [obj, objDescriptor];
29912
- let currentProto = Object.getPrototypeOf(obj);
29913
- for (; currentProto !== null; ) {
29914
- let descriptor = Object.getOwnPropertyDescriptor(currentProto, method);
29915
- if (descriptor)
29916
- return [currentProto, descriptor];
29917
- currentProto = Object.getPrototypeOf(currentProto);
29918
- }
29919
- }, "getDescriptor");
29920
- var setPototype = /* @__PURE__ */ __name((fn3, val) => {
29921
- val != null && typeof val == "function" && val.prototype != null && Object.setPrototypeOf(fn3.prototype, val.prototype);
29922
- }, "setPototype");
29923
- function internalSpyOn(obj, methodName, mock) {
29924
- assert2(
29925
- !isType("undefined", obj),
29889
+ new.target ? o2 = Reflect.construct(n2.impl, s3, new.target) : o2 = n2.impl.apply(this, s3), c2 = "ok";
29890
+ } catch (a2) {
29891
+ throw o2 = a2, c2 = "error", n2.results.push([c2, a2]), a2;
29892
+ }
29893
+ let g2 = [c2, o2];
29894
+ return w(o2) && o2.then(
29895
+ (a2) => n2.resolves[p2] = ["ok", a2],
29896
+ (a2) => n2.resolves[p2] = ["error", a2]
29897
+ ), n2.results.push(g2), o2;
29898
+ }, "t");
29899
+ l(t2, "_isMockFunction", true), l(t2, "length", e2 ? e2.length : 0), l(t2, "name", e2 && e2.name || "spy");
29900
+ let r2 = T(t2);
29901
+ return r2.reset(), r2.impl = e2, t2;
29902
+ }
29903
+ __name(R, "R");
29904
+ function v(e2) {
29905
+ return !!e2 && e2._isMockFunction === true;
29906
+ }
29907
+ __name(v, "v");
29908
+ var b = /* @__PURE__ */ __name((e2, t2) => {
29909
+ let r2 = Object.getOwnPropertyDescriptor(e2, t2);
29910
+ if (r2)
29911
+ return [e2, r2];
29912
+ let s3 = Object.getPrototypeOf(e2);
29913
+ for (; s3 !== null; ) {
29914
+ let n2 = Object.getOwnPropertyDescriptor(s3, t2);
29915
+ if (n2)
29916
+ return [s3, n2];
29917
+ s3 = Object.getPrototypeOf(s3);
29918
+ }
29919
+ }, "b");
29920
+ var P = /* @__PURE__ */ __name((e2, t2) => {
29921
+ t2 != null && typeof t2 == "function" && t2.prototype != null && Object.setPrototypeOf(e2.prototype, t2.prototype);
29922
+ }, "P");
29923
+ function M(e2, t2, r2) {
29924
+ S(
29925
+ !f2("undefined", e2),
29926
29926
  "spyOn could not find an object to spy upon"
29927
- ), assert2(
29928
- isType("object", obj) || isType("function", obj),
29927
+ ), S(
29928
+ f2("object", e2) || f2("function", e2),
29929
29929
  "cannot spyOn on a primitive value"
29930
29930
  );
29931
- let [accessName, accessType] = (() => {
29932
- if (!isType("object", methodName))
29933
- return [methodName, "value"];
29934
- if ("getter" in methodName && "setter" in methodName)
29931
+ let [s3, n2] = (() => {
29932
+ if (!f2("object", t2))
29933
+ return [t2, "value"];
29934
+ if ("getter" in t2 && "setter" in t2)
29935
29935
  throw new Error("cannot spy on both getter and setter");
29936
- if ("getter" in methodName)
29937
- return [methodName.getter, "get"];
29938
- if ("setter" in methodName)
29939
- return [methodName.setter, "set"];
29936
+ if ("getter" in t2)
29937
+ return [t2.getter, "get"];
29938
+ if ("setter" in t2)
29939
+ return [t2.setter, "set"];
29940
29940
  throw new Error("specify getter or setter to spy on");
29941
- })(), [originalDescriptorObject, originalDescriptor] = getDescriptor(obj, accessName) || [];
29942
- assert2(
29943
- originalDescriptor || accessName in obj,
29944
- `${String(accessName)} does not exist`
29941
+ })(), [d, o2] = b(e2, s3) || [];
29942
+ S(
29943
+ o2 || s3 in e2,
29944
+ `${String(s3)} does not exist`
29945
29945
  );
29946
- let ssr = false;
29947
- accessType === "value" && originalDescriptor && !originalDescriptor.value && originalDescriptor.get && (accessType = "get", ssr = true, mock = originalDescriptor.get());
29948
- let original;
29949
- originalDescriptor ? original = originalDescriptor[accessType] : accessType !== "value" ? original = /* @__PURE__ */ __name(() => obj[accessName], "original") : original = obj[accessName], original && isSpyFunction(original) && (original = original[SYMBOL_STATE].getOriginal());
29950
- let reassign = /* @__PURE__ */ __name((cb) => {
29951
- let { value, ...desc } = originalDescriptor || {
29946
+ let c2 = false;
29947
+ n2 === "value" && o2 && !o2.value && o2.get && (n2 = "get", c2 = true, r2 = o2.get());
29948
+ let p2;
29949
+ o2 ? p2 = o2[n2] : n2 !== "value" ? p2 = /* @__PURE__ */ __name(() => e2[s3], "p") : p2 = e2[s3], p2 && j(p2) && (p2 = p2[y].getOriginal());
29950
+ let g2 = /* @__PURE__ */ __name((I) => {
29951
+ let { value: F, ...O } = o2 || {
29952
29952
  configurable: true,
29953
29953
  writable: true
29954
29954
  };
29955
- accessType !== "value" && delete desc.writable, desc[accessType] = cb, define2(obj, accessName, desc);
29956
- }, "reassign"), restore = /* @__PURE__ */ __name(() => {
29957
- originalDescriptorObject !== obj ? Reflect.deleteProperty(obj, accessName) : originalDescriptor && !original ? define2(obj, accessName, originalDescriptor) : reassign(original);
29958
- }, "restore");
29959
- mock || (mock = original);
29960
- let spy2 = wrap(createInternalSpy(mock), mock);
29961
- accessType === "value" && setPototype(spy2, original);
29962
- let state3 = spy2[SYMBOL_STATE];
29963
- return defineValue(state3, "restore", restore), defineValue(state3, "getOriginal", () => ssr ? original() : original), defineValue(state3, "willCall", (newCb) => (state3.impl = newCb, spy2)), reassign(
29964
- ssr ? () => (setPototype(spy2, mock), spy2) : spy2
29965
- ), spies.add(spy2), spy2;
29966
- }
29967
- __name(internalSpyOn, "internalSpyOn");
29968
- var ignoreProperties = /* @__PURE__ */ new Set([
29955
+ n2 !== "value" && delete O.writable, O[n2] = I, u(e2, s3, O);
29956
+ }, "g"), a2 = /* @__PURE__ */ __name(() => {
29957
+ d !== e2 ? Reflect.deleteProperty(e2, s3) : o2 && !p2 ? u(e2, s3, o2) : g2(p2);
29958
+ }, "a");
29959
+ r2 || (r2 = p2);
29960
+ let i2 = E(R(r2), r2);
29961
+ n2 === "value" && P(i2, p2);
29962
+ let m3 = i2[y];
29963
+ return l(m3, "restore", a2), l(m3, "getOriginal", () => c2 ? p2() : p2), l(m3, "willCall", (I) => (m3.impl = I, i2)), g2(
29964
+ c2 ? () => (P(i2, r2), i2) : i2
29965
+ ), x.add(i2), i2;
29966
+ }
29967
+ __name(M, "M");
29968
+ var K = /* @__PURE__ */ new Set([
29969
29969
  "length",
29970
29970
  "name",
29971
29971
  "prototype"
29972
29972
  ]);
29973
- function getAllProperties(original) {
29974
- let properties = /* @__PURE__ */ new Set(), descriptors2 = {};
29975
- for (; original && original !== Object.prototype && original !== Function.prototype; ) {
29976
- let ownProperties = [
29977
- ...Object.getOwnPropertyNames(original),
29978
- ...Object.getOwnPropertySymbols(original)
29973
+ function D(e2) {
29974
+ let t2 = /* @__PURE__ */ new Set(), r2 = {};
29975
+ for (; e2 && e2 !== Object.prototype && e2 !== Function.prototype; ) {
29976
+ let s3 = [
29977
+ ...Object.getOwnPropertyNames(e2),
29978
+ ...Object.getOwnPropertySymbols(e2)
29979
29979
  ];
29980
- for (let prop of ownProperties)
29981
- descriptors2[prop] || ignoreProperties.has(prop) || (properties.add(prop), descriptors2[prop] = Object.getOwnPropertyDescriptor(original, prop));
29982
- original = Object.getPrototypeOf(original);
29980
+ for (let n2 of s3)
29981
+ r2[n2] || K.has(n2) || (t2.add(n2), r2[n2] = Object.getOwnPropertyDescriptor(e2, n2));
29982
+ e2 = Object.getPrototypeOf(e2);
29983
29983
  }
29984
29984
  return {
29985
- properties,
29986
- descriptors: descriptors2
29985
+ properties: t2,
29986
+ descriptors: r2
29987
29987
  };
29988
29988
  }
29989
- __name(getAllProperties, "getAllProperties");
29990
- function wrap(mock, original) {
29991
- if (!original || // the original is already a spy, so it has all the properties
29992
- SYMBOL_STATE in original)
29993
- return mock;
29994
- let { properties, descriptors: descriptors2 } = getAllProperties(original);
29995
- for (let key of properties) {
29996
- let descriptor = descriptors2[key];
29997
- getDescriptor(mock, key) || define2(mock, key, descriptor);
29989
+ __name(D, "D");
29990
+ function E(e2, t2) {
29991
+ if (!t2 || // the original is already a spy, so it has all the properties
29992
+ y in t2)
29993
+ return e2;
29994
+ let { properties: r2, descriptors: s3 } = D(t2);
29995
+ for (let n2 of r2) {
29996
+ let d = s3[n2];
29997
+ b(e2, n2) || u(e2, n2, d);
29998
29998
  }
29999
- return mock;
29999
+ return e2;
30000
30000
  }
30001
- __name(wrap, "wrap");
30002
- function isSpyFunction(obj) {
30003
- return isMockFunction(obj) && "getOriginal" in obj[SYMBOL_STATE];
30001
+ __name(E, "E");
30002
+ function j(e2) {
30003
+ return v(e2) && "getOriginal" in e2[y];
30004
30004
  }
30005
- __name(isSpyFunction, "isSpyFunction");
30005
+ __name(j, "j");
30006
30006
 
30007
30007
  // ../node_modules/@vitest/spy/dist/index.js
30008
30008
  var mocks = /* @__PURE__ */ new Set();
30009
- function isMockFunction2(fn3) {
30009
+ function isMockFunction(fn3) {
30010
30010
  return typeof fn3 === "function" && "_isMockFunction" in fn3 && fn3._isMockFunction;
30011
30011
  }
30012
- __name(isMockFunction2, "isMockFunction");
30012
+ __name(isMockFunction, "isMockFunction");
30013
30013
  function spyOn(obj, method, accessType) {
30014
30014
  const dictionary = {
30015
30015
  get: "getter",
@@ -30017,13 +30017,13 @@ function spyOn(obj, method, accessType) {
30017
30017
  };
30018
30018
  const objMethod = accessType ? { [dictionary[accessType]]: method } : method;
30019
30019
  let state3;
30020
- const descriptor = getDescriptor2(obj, method);
30020
+ const descriptor = getDescriptor(obj, method);
30021
30021
  const fn3 = descriptor && descriptor[accessType || "value"];
30022
- if (isMockFunction2(fn3)) {
30022
+ if (isMockFunction(fn3)) {
30023
30023
  state3 = fn3.mock._state();
30024
30024
  }
30025
30025
  try {
30026
- const stub = internalSpyOn(obj, objMethod);
30026
+ const stub = M(obj, objMethod);
30027
30027
  const spy = enhanceSpy(stub);
30028
30028
  if (state3) {
30029
30029
  spy.mock._state(state3);
@@ -30046,7 +30046,7 @@ function enhanceSpy(spy) {
30046
30046
  let instances2 = [];
30047
30047
  let contexts = [];
30048
30048
  let invocations = [];
30049
- const state3 = getInternalState(spy);
30049
+ const state3 = T(spy);
30050
30050
  const mockContext = {
30051
30051
  get calls() {
30052
30052
  return state3.calls;
@@ -30145,18 +30145,18 @@ function enhanceSpy(spy) {
30145
30145
  implementation = fn3;
30146
30146
  state3.willCall(mockCall);
30147
30147
  implementationChangedTemporarily = true;
30148
- const reset2 = /* @__PURE__ */ __name(() => {
30148
+ const reset = /* @__PURE__ */ __name(() => {
30149
30149
  implementation = originalImplementation;
30150
30150
  implementationChangedTemporarily = false;
30151
30151
  }, "reset");
30152
30152
  const result = cb();
30153
30153
  if (typeof result === "object" && result && typeof result.then === "function") {
30154
30154
  return result.then(() => {
30155
- reset2();
30155
+ reset();
30156
30156
  return stub;
30157
30157
  });
30158
30158
  }
30159
- reset2();
30159
+ reset();
30160
30160
  return stub;
30161
30161
  }
30162
30162
  __name(withImplementation, "withImplementation");
@@ -30177,7 +30177,7 @@ function enhanceSpy(spy) {
30177
30177
  }
30178
30178
  __name(enhanceSpy, "enhanceSpy");
30179
30179
  function fn(implementation) {
30180
- const enhancedSpy = enhanceSpy(internalSpyOn({ spy: implementation || function() {
30180
+ const enhancedSpy = enhanceSpy(M({ spy: implementation || function() {
30181
30181
  } }, "spy"));
30182
30182
  if (implementation) {
30183
30183
  enhancedSpy.mockImplementation(implementation);
@@ -30185,7 +30185,7 @@ function fn(implementation) {
30185
30185
  return enhancedSpy;
30186
30186
  }
30187
30187
  __name(fn, "fn");
30188
- function getDescriptor2(obj, method) {
30188
+ function getDescriptor(obj, method) {
30189
30189
  const objDescriptor = Object.getOwnPropertyDescriptor(obj, method);
30190
30190
  if (objDescriptor) {
30191
30191
  return objDescriptor;
@@ -30199,7 +30199,7 @@ function getDescriptor2(obj, method) {
30199
30199
  currentProto = Object.getPrototypeOf(currentProto);
30200
30200
  }
30201
30201
  }
30202
- __name(getDescriptor2, "getDescriptor");
30202
+ __name(getDescriptor, "getDescriptor");
30203
30203
 
30204
30204
  // ../node_modules/@vitest/expect/dist/index.js
30205
30205
  var MATCHERS_OBJECT = Symbol.for("matchers-object");
@@ -30336,9 +30336,9 @@ function getCustomEqualityTesters() {
30336
30336
  return globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters;
30337
30337
  }
30338
30338
  __name(getCustomEqualityTesters, "getCustomEqualityTesters");
30339
- function equals(a2, b, customTesters, strictCheck) {
30339
+ function equals(a2, b2, customTesters, strictCheck) {
30340
30340
  customTesters = customTesters || [];
30341
- return eq2(a2, b, [], [], customTesters, strictCheck ? hasKey : hasDefinedKey);
30341
+ return eq2(a2, b2, [], [], customTesters, strictCheck ? hasKey : hasDefinedKey);
30342
30342
  }
30343
30343
  __name(equals, "equals");
30344
30344
  var functionToString = Function.prototype.toString;
@@ -30346,64 +30346,64 @@ function isAsymmetric(obj) {
30346
30346
  return !!obj && typeof obj === "object" && "asymmetricMatch" in obj && isA("Function", obj.asymmetricMatch);
30347
30347
  }
30348
30348
  __name(isAsymmetric, "isAsymmetric");
30349
- function asymmetricMatch(a2, b) {
30349
+ function asymmetricMatch(a2, b2) {
30350
30350
  const asymmetricA = isAsymmetric(a2);
30351
- const asymmetricB = isAsymmetric(b);
30351
+ const asymmetricB = isAsymmetric(b2);
30352
30352
  if (asymmetricA && asymmetricB) {
30353
30353
  return void 0;
30354
30354
  }
30355
30355
  if (asymmetricA) {
30356
- return a2.asymmetricMatch(b);
30356
+ return a2.asymmetricMatch(b2);
30357
30357
  }
30358
30358
  if (asymmetricB) {
30359
- return b.asymmetricMatch(a2);
30359
+ return b2.asymmetricMatch(a2);
30360
30360
  }
30361
30361
  }
30362
30362
  __name(asymmetricMatch, "asymmetricMatch");
30363
- function eq2(a2, b, aStack, bStack, customTesters, hasKey2) {
30363
+ function eq2(a2, b2, aStack, bStack, customTesters, hasKey2) {
30364
30364
  let result = true;
30365
- const asymmetricResult = asymmetricMatch(a2, b);
30365
+ const asymmetricResult = asymmetricMatch(a2, b2);
30366
30366
  if (asymmetricResult !== void 0) {
30367
30367
  return asymmetricResult;
30368
30368
  }
30369
30369
  const testerContext = { equals };
30370
30370
  for (let i2 = 0; i2 < customTesters.length; i2++) {
30371
- const customTesterResult = customTesters[i2].call(testerContext, a2, b, customTesters);
30371
+ const customTesterResult = customTesters[i2].call(testerContext, a2, b2, customTesters);
30372
30372
  if (customTesterResult !== void 0) {
30373
30373
  return customTesterResult;
30374
30374
  }
30375
30375
  }
30376
- if (typeof URL === "function" && a2 instanceof URL && b instanceof URL) {
30377
- return a2.href === b.href;
30376
+ if (typeof URL === "function" && a2 instanceof URL && b2 instanceof URL) {
30377
+ return a2.href === b2.href;
30378
30378
  }
30379
- if (Object.is(a2, b)) {
30379
+ if (Object.is(a2, b2)) {
30380
30380
  return true;
30381
30381
  }
30382
- if (a2 === null || b === null) {
30383
- return a2 === b;
30382
+ if (a2 === null || b2 === null) {
30383
+ return a2 === b2;
30384
30384
  }
30385
30385
  const className = Object.prototype.toString.call(a2);
30386
- if (className !== Object.prototype.toString.call(b)) {
30386
+ if (className !== Object.prototype.toString.call(b2)) {
30387
30387
  return false;
30388
30388
  }
30389
30389
  switch (className) {
30390
30390
  case "[object Boolean]":
30391
30391
  case "[object String]":
30392
30392
  case "[object Number]":
30393
- if (typeof a2 !== typeof b) {
30393
+ if (typeof a2 !== typeof b2) {
30394
30394
  return false;
30395
- } else if (typeof a2 !== "object" && typeof b !== "object") {
30396
- return Object.is(a2, b);
30395
+ } else if (typeof a2 !== "object" && typeof b2 !== "object") {
30396
+ return Object.is(a2, b2);
30397
30397
  } else {
30398
- return Object.is(a2.valueOf(), b.valueOf());
30398
+ return Object.is(a2.valueOf(), b2.valueOf());
30399
30399
  }
30400
30400
  case "[object Date]": {
30401
30401
  const numA = +a2;
30402
- const numB = +b;
30402
+ const numB = +b2;
30403
30403
  return numA === numB || Number.isNaN(numA) && Number.isNaN(numB);
30404
30404
  }
30405
30405
  case "[object RegExp]":
30406
- return a2.source === b.source && a2.flags === b.flags;
30406
+ return a2.source === b2.source && a2.flags === b2.flags;
30407
30407
  case "[object Temporal.Instant]":
30408
30408
  case "[object Temporal.ZonedDateTime]":
30409
30409
  case "[object Temporal.PlainDateTime]":
@@ -30411,32 +30411,32 @@ function eq2(a2, b, aStack, bStack, customTesters, hasKey2) {
30411
30411
  case "[object Temporal.PlainTime]":
30412
30412
  case "[object Temporal.PlainYearMonth]":
30413
30413
  case "[object Temporal.PlainMonthDay]":
30414
- return a2.equals(b);
30414
+ return a2.equals(b2);
30415
30415
  case "[object Temporal.Duration]":
30416
- return a2.toString() === b.toString();
30416
+ return a2.toString() === b2.toString();
30417
30417
  }
30418
- if (typeof a2 !== "object" || typeof b !== "object") {
30418
+ if (typeof a2 !== "object" || typeof b2 !== "object") {
30419
30419
  return false;
30420
30420
  }
30421
- if (isDomNode(a2) && isDomNode(b)) {
30422
- return a2.isEqualNode(b);
30421
+ if (isDomNode(a2) && isDomNode(b2)) {
30422
+ return a2.isEqualNode(b2);
30423
30423
  }
30424
30424
  let length = aStack.length;
30425
30425
  while (length--) {
30426
30426
  if (aStack[length] === a2) {
30427
- return bStack[length] === b;
30428
- } else if (bStack[length] === b) {
30427
+ return bStack[length] === b2;
30428
+ } else if (bStack[length] === b2) {
30429
30429
  return false;
30430
30430
  }
30431
30431
  }
30432
30432
  aStack.push(a2);
30433
- bStack.push(b);
30434
- if (className === "[object Array]" && a2.length !== b.length) {
30433
+ bStack.push(b2);
30434
+ if (className === "[object Array]" && a2.length !== b2.length) {
30435
30435
  return false;
30436
30436
  }
30437
- if (a2 instanceof Error && b instanceof Error) {
30437
+ if (a2 instanceof Error && b2 instanceof Error) {
30438
30438
  try {
30439
- return isErrorEqual(a2, b, aStack, bStack, customTesters, hasKey2);
30439
+ return isErrorEqual(a2, b2, aStack, bStack, customTesters, hasKey2);
30440
30440
  } finally {
30441
30441
  aStack.pop();
30442
30442
  bStack.pop();
@@ -30445,12 +30445,12 @@ function eq2(a2, b, aStack, bStack, customTesters, hasKey2) {
30445
30445
  const aKeys = keys(a2, hasKey2);
30446
30446
  let key;
30447
30447
  let size = aKeys.length;
30448
- if (keys(b, hasKey2).length !== size) {
30448
+ if (keys(b2, hasKey2).length !== size) {
30449
30449
  return false;
30450
30450
  }
30451
30451
  while (size--) {
30452
30452
  key = aKeys[size];
30453
- result = hasKey2(b, key) && eq2(a2[key], b[key], aStack, bStack, customTesters, hasKey2);
30453
+ result = hasKey2(b2, key) && eq2(a2[key], b2[key], aStack, bStack, customTesters, hasKey2);
30454
30454
  if (!result) {
30455
30455
  return false;
30456
30456
  }
@@ -30460,15 +30460,15 @@ function eq2(a2, b, aStack, bStack, customTesters, hasKey2) {
30460
30460
  return result;
30461
30461
  }
30462
30462
  __name(eq2, "eq");
30463
- function isErrorEqual(a2, b, aStack, bStack, customTesters, hasKey2) {
30464
- let result = Object.getPrototypeOf(a2) === Object.getPrototypeOf(b) && a2.name === b.name && a2.message === b.message;
30465
- if (typeof b.cause !== "undefined") {
30466
- result && (result = eq2(a2.cause, b.cause, aStack, bStack, customTesters, hasKey2));
30463
+ function isErrorEqual(a2, b2, aStack, bStack, customTesters, hasKey2) {
30464
+ let result = Object.getPrototypeOf(a2) === Object.getPrototypeOf(b2) && a2.name === b2.name && a2.message === b2.message;
30465
+ if (typeof b2.cause !== "undefined") {
30466
+ result && (result = eq2(a2.cause, b2.cause, aStack, bStack, customTesters, hasKey2));
30467
30467
  }
30468
- if (a2 instanceof AggregateError && b instanceof AggregateError) {
30469
- result && (result = eq2(a2.errors, b.errors, aStack, bStack, customTesters, hasKey2));
30468
+ if (a2 instanceof AggregateError && b2 instanceof AggregateError) {
30469
+ result && (result = eq2(a2.errors, b2.errors, aStack, bStack, customTesters, hasKey2));
30470
30470
  }
30471
- result && (result = eq2({ ...a2 }, { ...b }, aStack, bStack, customTesters, hasKey2));
30471
+ result && (result = eq2({ ...a2 }, { ...b2 }, aStack, bStack, customTesters, hasKey2));
30472
30472
  return result;
30473
30473
  }
30474
30474
  __name(isErrorEqual, "isErrorEqual");
@@ -30536,35 +30536,35 @@ function hasIterator(object) {
30536
30536
  return !!(object != null && object[IteratorSymbol]);
30537
30537
  }
30538
30538
  __name(hasIterator, "hasIterator");
30539
- function iterableEquality(a2, b, customTesters = [], aStack = [], bStack = []) {
30540
- if (typeof a2 !== "object" || typeof b !== "object" || Array.isArray(a2) || Array.isArray(b) || !hasIterator(a2) || !hasIterator(b)) {
30539
+ function iterableEquality(a2, b2, customTesters = [], aStack = [], bStack = []) {
30540
+ if (typeof a2 !== "object" || typeof b2 !== "object" || Array.isArray(a2) || Array.isArray(b2) || !hasIterator(a2) || !hasIterator(b2)) {
30541
30541
  return void 0;
30542
30542
  }
30543
- if (a2.constructor !== b.constructor) {
30543
+ if (a2.constructor !== b2.constructor) {
30544
30544
  return false;
30545
30545
  }
30546
30546
  let length = aStack.length;
30547
30547
  while (length--) {
30548
30548
  if (aStack[length] === a2) {
30549
- return bStack[length] === b;
30549
+ return bStack[length] === b2;
30550
30550
  }
30551
30551
  }
30552
30552
  aStack.push(a2);
30553
- bStack.push(b);
30553
+ bStack.push(b2);
30554
30554
  const filteredCustomTesters = [...customTesters.filter((t2) => t2 !== iterableEquality), iterableEqualityWithStack];
30555
- function iterableEqualityWithStack(a3, b2) {
30556
- return iterableEquality(a3, b2, [...customTesters], [...aStack], [...bStack]);
30555
+ function iterableEqualityWithStack(a3, b3) {
30556
+ return iterableEquality(a3, b3, [...customTesters], [...aStack], [...bStack]);
30557
30557
  }
30558
30558
  __name(iterableEqualityWithStack, "iterableEqualityWithStack");
30559
30559
  if (a2.size !== void 0) {
30560
- if (a2.size !== b.size) {
30560
+ if (a2.size !== b2.size) {
30561
30561
  return false;
30562
30562
  } else if (isA("Set", a2) || isImmutableUnorderedSet(a2)) {
30563
30563
  let allFound = true;
30564
30564
  for (const aValue of a2) {
30565
- if (!b.has(aValue)) {
30565
+ if (!b2.has(aValue)) {
30566
30566
  let has = false;
30567
- for (const bValue of b) {
30567
+ for (const bValue of b2) {
30568
30568
  const isEqual3 = equals(aValue, bValue, filteredCustomTesters);
30569
30569
  if (isEqual3 === true) {
30570
30570
  has = true;
@@ -30582,9 +30582,9 @@ function iterableEquality(a2, b, customTesters = [], aStack = [], bStack = []) {
30582
30582
  } else if (isA("Map", a2) || isImmutableUnorderedKeyed(a2)) {
30583
30583
  let allFound = true;
30584
30584
  for (const aEntry of a2) {
30585
- if (!b.has(aEntry[0]) || !equals(aEntry[1], b.get(aEntry[0]), filteredCustomTesters)) {
30585
+ if (!b2.has(aEntry[0]) || !equals(aEntry[1], b2.get(aEntry[0]), filteredCustomTesters)) {
30586
30586
  let has = false;
30587
- for (const bEntry of b) {
30587
+ for (const bEntry of b2) {
30588
30588
  const matchedKey = equals(aEntry[0], bEntry[0], filteredCustomTesters);
30589
30589
  let matchedValue = false;
30590
30590
  if (matchedKey === true) {
@@ -30605,7 +30605,7 @@ function iterableEquality(a2, b, customTesters = [], aStack = [], bStack = []) {
30605
30605
  return allFound;
30606
30606
  }
30607
30607
  }
30608
- const bIterator = b[IteratorSymbol]();
30608
+ const bIterator = b2[IteratorSymbol]();
30609
30609
  for (const aValue of a2) {
30610
30610
  const nextB = bIterator.next();
30611
30611
  if (nextB.done || !equals(aValue, nextB.value, filteredCustomTesters)) {
@@ -30617,7 +30617,7 @@ function iterableEquality(a2, b, customTesters = [], aStack = [], bStack = []) {
30617
30617
  }
30618
30618
  if (!isImmutableList(a2) && !isImmutableOrderedKeyed(a2) && !isImmutableOrderedSet(a2) && !isImmutableRecord(a2)) {
30619
30619
  const aEntries = Object.entries(a2);
30620
- const bEntries = Object.entries(b);
30620
+ const bEntries = Object.entries(b2);
30621
30621
  if (!equals(aEntries, bEntries, filteredCustomTesters)) {
30622
30622
  return false;
30623
30623
  }
@@ -30660,23 +30660,23 @@ function subsetEquality(object, subset, customTesters = []) {
30660
30660
  return subsetEqualityWithContext()(object, subset);
30661
30661
  }
30662
30662
  __name(subsetEquality, "subsetEquality");
30663
- function typeEquality(a2, b) {
30664
- if (a2 == null || b == null || a2.constructor === b.constructor) {
30663
+ function typeEquality(a2, b2) {
30664
+ if (a2 == null || b2 == null || a2.constructor === b2.constructor) {
30665
30665
  return void 0;
30666
30666
  }
30667
30667
  return false;
30668
30668
  }
30669
30669
  __name(typeEquality, "typeEquality");
30670
- function arrayBufferEquality(a2, b) {
30670
+ function arrayBufferEquality(a2, b2) {
30671
30671
  let dataViewA = a2;
30672
- let dataViewB = b;
30673
- if (!(a2 instanceof DataView && b instanceof DataView)) {
30674
- if (!(a2 instanceof ArrayBuffer) || !(b instanceof ArrayBuffer)) {
30672
+ let dataViewB = b2;
30673
+ if (!(a2 instanceof DataView && b2 instanceof DataView)) {
30674
+ if (!(a2 instanceof ArrayBuffer) || !(b2 instanceof ArrayBuffer)) {
30675
30675
  return void 0;
30676
30676
  }
30677
30677
  try {
30678
30678
  dataViewA = new DataView(a2);
30679
- dataViewB = new DataView(b);
30679
+ dataViewB = new DataView(b2);
30680
30680
  } catch {
30681
30681
  return void 0;
30682
30682
  }
@@ -30692,14 +30692,14 @@ function arrayBufferEquality(a2, b) {
30692
30692
  return true;
30693
30693
  }
30694
30694
  __name(arrayBufferEquality, "arrayBufferEquality");
30695
- function sparseArrayEquality(a2, b, customTesters = []) {
30696
- if (!Array.isArray(a2) || !Array.isArray(b)) {
30695
+ function sparseArrayEquality(a2, b2, customTesters = []) {
30696
+ if (!Array.isArray(a2) || !Array.isArray(b2)) {
30697
30697
  return void 0;
30698
30698
  }
30699
30699
  const aKeys = Object.keys(a2);
30700
- const bKeys = Object.keys(b);
30700
+ const bKeys = Object.keys(b2);
30701
30701
  const filteredCustomTesters = customTesters.filter((t2) => t2 !== sparseArrayEquality);
30702
- return equals(a2, b, filteredCustomTesters, true) && equals(aKeys, bKeys);
30702
+ return equals(a2, b2, filteredCustomTesters, true) && equals(aKeys, bKeys);
30703
30703
  }
30704
30704
  __name(sparseArrayEquality, "sparseArrayEquality");
30705
30705
  function generateToBeMessage(deepEqualityName, expected = "#{this}", actual = "#{exp}") {
@@ -31423,7 +31423,7 @@ var JestChaiExpect = /* @__PURE__ */ __name((chai, utils) => {
31423
31423
  return this.assert(pass, `expected #{this} to be close to #{exp}, received difference is ${receivedDiff}, but expected ${expectedDiff2}`, `expected #{this} to not be close to #{exp}, received difference is ${receivedDiff}, but expected ${expectedDiff2}`, received, expected, false);
31424
31424
  });
31425
31425
  function assertIsMock(assertion) {
31426
- if (!isMockFunction2(assertion._obj)) {
31426
+ if (!isMockFunction(assertion._obj)) {
31427
31427
  throw new TypeError(`${utils.inspect(assertion._obj)} is not a spy or a call to a spy!`);
31428
31428
  }
31429
31429
  }
@@ -31465,8 +31465,8 @@ var JestChaiExpect = /* @__PURE__ */ __name((chai, utils) => {
31465
31465
  throw new AssertionError2(msg);
31466
31466
  }
31467
31467
  });
31468
- function equalsArgumentArray(a2, b) {
31469
- return a2.length === b.length && a2.every((aItem, i2) => equals(aItem, b[i2], [...customTesters, iterableEquality]));
31468
+ function equalsArgumentArray(a2, b2) {
31469
+ return a2.length === b2.length && a2.every((aItem, i2) => equals(aItem, b2[i2], [...customTesters, iterableEquality]));
31470
31470
  }
31471
31471
  __name(equalsArgumentArray, "equalsArgumentArray");
31472
31472
  def(["toHaveBeenCalledWith", "toBeCalledWith"], function(...args) {
@@ -31529,14 +31529,14 @@ var JestChaiExpect = /* @__PURE__ */ __name((chai, utils) => {
31529
31529
  __name(isSpyCalledBeforeAnotherSpy, "isSpyCalledBeforeAnotherSpy");
31530
31530
  def(["toHaveBeenCalledBefore"], function(resultSpy, failIfNoFirstInvocation = true) {
31531
31531
  const expectSpy = getSpy(this);
31532
- if (!isMockFunction2(resultSpy)) {
31532
+ if (!isMockFunction(resultSpy)) {
31533
31533
  throw new TypeError(`${utils.inspect(resultSpy)} is not a spy or a call to a spy`);
31534
31534
  }
31535
31535
  this.assert(isSpyCalledBeforeAnotherSpy(expectSpy, resultSpy, failIfNoFirstInvocation), `expected "${expectSpy.getMockName()}" to have been called before "${resultSpy.getMockName()}"`, `expected "${expectSpy.getMockName()}" to not have been called before "${resultSpy.getMockName()}"`, resultSpy, expectSpy);
31536
31536
  });
31537
31537
  def(["toHaveBeenCalledAfter"], function(resultSpy, failIfNoFirstInvocation = true) {
31538
31538
  const expectSpy = getSpy(this);
31539
- if (!isMockFunction2(resultSpy)) {
31539
+ if (!isMockFunction(resultSpy)) {
31540
31540
  throw new TypeError(`${utils.inspect(resultSpy)} is not a spy or a call to a spy`);
31541
31541
  }
31542
31542
  this.assert(isSpyCalledBeforeAnotherSpy(resultSpy, expectSpy, failIfNoFirstInvocation), `expected "${expectSpy.getMockName()}" to have been called after "${resultSpy.getMockName()}"`, `expected "${expectSpy.getMockName()}" to not have been called after "${resultSpy.getMockName()}"`, resultSpy, expectSpy);
@@ -31770,15 +31770,15 @@ var JestChaiExpect = /* @__PURE__ */ __name((chai, utils) => {
31770
31770
  }, "__VITEST_REJECTS__"));
31771
31771
  }, "JestChaiExpect");
31772
31772
  function ordinalOf(i2) {
31773
- const j = i2 % 10;
31774
- const k = i2 % 100;
31775
- if (j === 1 && k !== 11) {
31773
+ const j2 = i2 % 10;
31774
+ const k2 = i2 % 100;
31775
+ if (j2 === 1 && k2 !== 11) {
31776
31776
  return `${i2}st`;
31777
31777
  }
31778
- if (j === 2 && k !== 12) {
31778
+ if (j2 === 2 && k2 !== 12) {
31779
31779
  return `${i2}nd`;
31780
31780
  }
31781
- if (j === 3 && k !== 13) {
31781
+ if (j2 === 3 && k2 !== 13) {
31782
31782
  return `${i2}rd`;
31783
31783
  }
31784
31784
  return `${i2}th`;
@@ -31961,11 +31961,11 @@ function createExpect() {
31961
31961
  expect4.setState = (state3) => setState(state3, expect4);
31962
31962
  expect4.extend = (expects) => expect.extend(expect4, expects);
31963
31963
  expect4.soft = (...args) => {
31964
- const assert3 = expect4(...args);
31964
+ const assert2 = expect4(...args);
31965
31965
  expect4.setState({
31966
31966
  soft: true
31967
31967
  });
31968
- return assert3;
31968
+ return assert2;
31969
31969
  };
31970
31970
  expect4.extend(customMatchers);
31971
31971
  expect4.unreachable = (message) => {
@@ -32020,16 +32020,16 @@ Object.defineProperty(globalThis, GLOBAL_EXPECT, {
32020
32020
  });
32021
32021
 
32022
32022
  // ../node_modules/tinyspy/dist/index.js
32023
- function f2(e2, t2, n2) {
32023
+ function f3(e2, t2, n2) {
32024
32024
  Object.defineProperty(e2, t2, n2);
32025
32025
  }
32026
- __name(f2, "f");
32027
- var u = Symbol.for("tinyspy:spy");
32028
- var P = /* @__PURE__ */ __name((e2) => {
32026
+ __name(f3, "f");
32027
+ var u2 = Symbol.for("tinyspy:spy");
32028
+ var P2 = /* @__PURE__ */ __name((e2) => {
32029
32029
  e2.called = false, e2.callCount = 0, e2.calls = [], e2.results = [], e2.resolves = [], e2.next = [];
32030
32030
  }, "P");
32031
- var K = /* @__PURE__ */ __name((e2) => (f2(e2, u, { value: { reset: /* @__PURE__ */ __name(() => P(e2[u]), "reset") } }), e2[u]), "K");
32032
- var T = /* @__PURE__ */ __name((e2) => e2[u] || K(e2), "T");
32031
+ var K2 = /* @__PURE__ */ __name((e2) => (f3(e2, u2, { value: { reset: /* @__PURE__ */ __name(() => P2(e2[u2]), "reset") } }), e2[u2]), "K");
32032
+ var T2 = /* @__PURE__ */ __name((e2) => e2[u2] || K2(e2), "T");
32033
32033
 
32034
32034
  // src/test/spy.ts
32035
32035
  var listeners = /* @__PURE__ */ new Set();
@@ -32055,7 +32055,7 @@ function reactiveMock(mock) {
32055
32055
  }
32056
32056
  __name(reactiveMock, "reactiveMock");
32057
32057
  function listenWhenCalled(mock) {
32058
- const state3 = T(mock);
32058
+ const state3 = T2(mock);
32059
32059
  const impl = state3.impl;
32060
32060
  state3.willCall(function(...args) {
32061
32061
  listeners.forEach((listener) => listener(mock, args));
@@ -32201,16 +32201,16 @@ function arrayFrom2(arrayLike, mapFn) {
32201
32201
  }
32202
32202
  var len = toLength2(items.length);
32203
32203
  var A = isCallable2(C2) ? Object(new C2(len)) : new Array(len);
32204
- var k = 0;
32204
+ var k2 = 0;
32205
32205
  var kValue;
32206
- while (k < len) {
32207
- kValue = items[k];
32206
+ while (k2 < len) {
32207
+ kValue = items[k2];
32208
32208
  if (mapFn) {
32209
- A[k] = mapFn(kValue, k);
32209
+ A[k2] = mapFn(kValue, k2);
32210
32210
  } else {
32211
- A[k] = kValue;
32211
+ A[k2] = kValue;
32212
32212
  }
32213
- k += 1;
32213
+ k2 += 1;
32214
32214
  }
32215
32215
  A.length = len;
32216
32216
  return A;
@@ -33860,8 +33860,8 @@ function makeSuggestion(queryName, element, content, _ref) {
33860
33860
  let [text, options] = queryArgs;
33861
33861
  text = typeof text === "string" ? "'" + text + "'" : text;
33862
33862
  options = options ? ", { " + Object.entries(options).map((_ref2) => {
33863
- let [k, v] = _ref2;
33864
- return k + ": " + v;
33863
+ let [k2, v2] = _ref2;
33864
+ return k2 + ": " + v2;
33865
33865
  }).join(", ") + " }" : "";
33866
33866
  return queryMethod + "(" + text + options + ")";
33867
33867
  }
@@ -35700,7 +35700,7 @@ function isElementType(element, tag, props) {
35700
35700
  return false;
35701
35701
  }
35702
35702
  if (props) {
35703
- return Object.entries(props).every(([k, v]) => element[k] === v);
35703
+ return Object.entries(props).every(([k2, v2]) => element[k2] === v2);
35704
35704
  }
35705
35705
  return true;
35706
35706
  }
@@ -35922,9 +35922,9 @@ function _define_property2(obj, key, value) {
35922
35922
  __name(_define_property2, "_define_property");
35923
35923
  function createClipboardItem(window2, ...blobs) {
35924
35924
  var _a3;
35925
- const dataMap = Object.fromEntries(blobs.map((b) => [
35926
- typeof b === "string" ? "text/plain" : b.type,
35927
- Promise.resolve(b)
35925
+ const dataMap = Object.fromEntries(blobs.map((b2) => [
35926
+ typeof b2 === "string" ? "text/plain" : b2.type,
35927
+ Promise.resolve(b2)
35928
35928
  ]));
35929
35929
  if (typeof window2.ClipboardItem !== "undefined") {
35930
35930
  return new window2.ClipboardItem(dataMap);
@@ -35963,7 +35963,7 @@ function createClipboardStub(window2, control) {
35963
35963
  for (const item of this.items) {
35964
35964
  const type5 = item.types.includes("text/plain") ? "text/plain" : item.types.find((t2) => t2.startsWith("text/"));
35965
35965
  if (type5) {
35966
- text += await item.getType(type5).then((b) => readBlobText(b, window2.FileReader));
35966
+ text += await item.getType(type5).then((b2) => readBlobText(b2, window2.FileReader));
35967
35967
  }
35968
35968
  }
35969
35969
  return text;
@@ -36039,7 +36039,7 @@ async function readDataTransferFromClipboard(document7) {
36039
36039
  const dt = createDataTransfer(window2);
36040
36040
  for (const item of items) {
36041
36041
  for (const type5 of item.types) {
36042
- dt.setData(type5, await item.getType(type5).then((b) => readBlobText(b, window2.FileReader)));
36042
+ dt.setData(type5, await item.getType(type5).then((b2) => readBlobText(b2, window2.FileReader)));
36043
36043
  }
36044
36044
  }
36045
36045
  return dt;
@@ -36585,7 +36585,7 @@ __name(getDescendant, "getDescendant");
36585
36585
  // ../node_modules/@testing-library/user-event/dist/esm/document/trackValue.js
36586
36586
  var TrackChanges = Symbol("Track programmatic changes for React workaround");
36587
36587
  function isReact17Element(element) {
36588
- return Object.getOwnPropertyNames(element).some((k) => k.startsWith("__react")) && getWindow(element).REACT_VERSION === 17;
36588
+ return Object.getOwnPropertyNames(element).some((k2) => k2.startsWith("__react")) && getWindow(element).REACT_VERSION === 17;
36589
36589
  }
36590
36590
  __name(isReact17Element, "isReact17Element");
36591
36591
  function startTrackValue(element) {
@@ -36598,13 +36598,13 @@ function startTrackValue(element) {
36598
36598
  };
36599
36599
  }
36600
36600
  __name(startTrackValue, "startTrackValue");
36601
- function trackOrSetValue(element, v) {
36601
+ function trackOrSetValue(element, v2) {
36602
36602
  var _element_TrackChanges_tracked, _element_TrackChanges;
36603
- (_element_TrackChanges = element[TrackChanges]) === null || _element_TrackChanges === void 0 ? void 0 : (_element_TrackChanges_tracked = _element_TrackChanges.tracked) === null || _element_TrackChanges_tracked === void 0 ? void 0 : _element_TrackChanges_tracked.push(v);
36603
+ (_element_TrackChanges = element[TrackChanges]) === null || _element_TrackChanges === void 0 ? void 0 : (_element_TrackChanges_tracked = _element_TrackChanges.tracked) === null || _element_TrackChanges_tracked === void 0 ? void 0 : _element_TrackChanges_tracked.push(v2);
36604
36604
  if (!element[TrackChanges]) {
36605
36605
  setUIValueClean(element);
36606
36606
  setUISelection(element, {
36607
- focusOffset: v.length
36607
+ focusOffset: v2.length
36608
36608
  });
36609
36609
  }
36610
36610
  }
@@ -36867,17 +36867,17 @@ function getTabDestination(activeElement, shift) {
36867
36867
  const focusableElements = document7.querySelectorAll(FOCUSABLE_SELECTOR);
36868
36868
  const enabledElements = Array.from(focusableElements).filter((el) => el === activeElement || !(Number(el.getAttribute("tabindex")) < 0 || isDisabled2(el)));
36869
36869
  if (Number(activeElement.getAttribute("tabindex")) >= 0) {
36870
- enabledElements.sort((a2, b) => {
36870
+ enabledElements.sort((a2, b2) => {
36871
36871
  const i2 = Number(a2.getAttribute("tabindex"));
36872
- const j = Number(b.getAttribute("tabindex"));
36873
- if (i2 === j) {
36872
+ const j2 = Number(b2.getAttribute("tabindex"));
36873
+ if (i2 === j2) {
36874
36874
  return 0;
36875
36875
  } else if (i2 === 0) {
36876
36876
  return 1;
36877
- } else if (j === 0) {
36877
+ } else if (j2 === 0) {
36878
36878
  return -1;
36879
36879
  }
36880
- return i2 - j;
36880
+ return i2 - j2;
36881
36881
  });
36882
36882
  }
36883
36883
  const checkedRadio = {};
@@ -37526,7 +37526,7 @@ function createEvent2(type5, target, init2) {
37526
37526
  const window2 = getWindow(target);
37527
37527
  const { EventType, defaultInit } = eventMap2[type5];
37528
37528
  const event = new (getEventConstructors(window2))[EventType](type5, defaultInit);
37529
- eventInitializer[EventType].forEach((f3) => f3(event, init2 !== null && init2 !== void 0 ? init2 : {}));
37529
+ eventInitializer[EventType].forEach((f4) => f4(event, init2 !== null && init2 !== void 0 ? init2 : {}));
37530
37530
  return event;
37531
37531
  }
37532
37532
  __name(createEvent2, "createEvent");
@@ -37641,7 +37641,7 @@ function initUIEventModifiers(event, { altKey, ctrlKey, metaKey, shiftKey, modif
37641
37641
  ctrlKey: Boolean(ctrlKey),
37642
37642
  metaKey: Boolean(metaKey),
37643
37643
  shiftKey: Boolean(shiftKey),
37644
- getModifierState(k) {
37644
+ getModifierState(k2) {
37645
37645
  return Boolean({
37646
37646
  Alt: altKey,
37647
37647
  AltGraph: modifierAltGraph,
@@ -37655,7 +37655,7 @@ function initUIEventModifiers(event, { altKey, ctrlKey, metaKey, shiftKey, modif
37655
37655
  Shift: shiftKey,
37656
37656
  Symbol: modifierSymbol,
37657
37657
  SymbolLock: modifierSymbolLock
37658
- }[k]);
37658
+ }[k2]);
37659
37659
  }
37660
37660
  });
37661
37661
  }
@@ -37671,7 +37671,7 @@ function initKeyboardEvent(event, { key, code, location: location2, repeat, isCo
37671
37671
  });
37672
37672
  }
37673
37673
  __name(initKeyboardEvent, "initKeyboardEvent");
37674
- function initMouseEvent(event, { x, y, screenX, screenY, clientX = x, clientY = y, button, buttons, relatedTarget, offsetX, offsetY, pageX, pageY }) {
37674
+ function initMouseEvent(event, { x: x2, y: y2, screenX, screenY, clientX = x2, clientY = y2, button, buttons, relatedTarget, offsetX, offsetY, pageX, pageY }) {
37675
37675
  assignProps(event, {
37676
37676
  screenX: sanitizeNumber(screenX),
37677
37677
  screenY: sanitizeNumber(screenY),
@@ -37860,26 +37860,26 @@ function prepareInterceptor(element, propName, interceptorImpl) {
37860
37860
  }
37861
37861
  __name(prepareInterceptor, "prepareInterceptor");
37862
37862
  function prepareValueInterceptor(element) {
37863
- prepareInterceptor(element, "value", /* @__PURE__ */ __name(function interceptorImpl(v) {
37864
- const isUI = isUIValue(v);
37863
+ prepareInterceptor(element, "value", /* @__PURE__ */ __name(function interceptorImpl(v2) {
37864
+ const isUI = isUIValue(v2);
37865
37865
  if (isUI) {
37866
37866
  startTrackValue(this);
37867
37867
  }
37868
37868
  return {
37869
37869
  applyNative: !!isUI,
37870
- realArgs: sanitizeValue(this, v),
37871
- then: isUI ? void 0 : () => trackOrSetValue(this, String(v))
37870
+ realArgs: sanitizeValue(this, v2),
37871
+ then: isUI ? void 0 : () => trackOrSetValue(this, String(v2))
37872
37872
  };
37873
37873
  }, "interceptorImpl"));
37874
37874
  }
37875
37875
  __name(prepareValueInterceptor, "prepareValueInterceptor");
37876
- function sanitizeValue(element, v) {
37876
+ function sanitizeValue(element, v2) {
37877
37877
  if (isElementType(element, "input", {
37878
37878
  type: "number"
37879
- }) && String(v) !== "" && !Number.isNaN(Number(v))) {
37880
- return String(Number(v));
37879
+ }) && String(v2) !== "" && !Number.isNaN(Number(v2))) {
37880
+ return String(Number(v2));
37881
37881
  }
37882
- return String(v);
37882
+ return String(v2);
37883
37883
  }
37884
37884
  __name(sanitizeValue, "sanitizeValue");
37885
37885
  function prepareSelectionInterceptor(element) {
@@ -37894,15 +37894,15 @@ function prepareSelectionInterceptor(element) {
37894
37894
  then: /* @__PURE__ */ __name(() => isUI ? void 0 : setUISelectionClean(element), "then")
37895
37895
  };
37896
37896
  }, "interceptorImpl"));
37897
- prepareInterceptor(element, "selectionStart", /* @__PURE__ */ __name(function interceptorImpl(v) {
37897
+ prepareInterceptor(element, "selectionStart", /* @__PURE__ */ __name(function interceptorImpl(v2) {
37898
37898
  return {
37899
- realArgs: v,
37899
+ realArgs: v2,
37900
37900
  then: /* @__PURE__ */ __name(() => setUISelectionClean(element), "then")
37901
37901
  };
37902
37902
  }, "interceptorImpl"));
37903
- prepareInterceptor(element, "selectionEnd", /* @__PURE__ */ __name(function interceptorImpl(v) {
37903
+ prepareInterceptor(element, "selectionEnd", /* @__PURE__ */ __name(function interceptorImpl(v2) {
37904
37904
  return {
37905
- realArgs: v,
37905
+ realArgs: v2,
37906
37906
  then: /* @__PURE__ */ __name(() => setUISelectionClean(element), "then")
37907
37907
  };
37908
37908
  }, "interceptorImpl"));
@@ -38414,11 +38414,11 @@ function _define_property4(obj, key, value) {
38414
38414
  __name(_define_property4, "_define_property");
38415
38415
  var _Buttons = class _Buttons {
38416
38416
  getButtons() {
38417
- let v = 0;
38417
+ let v2 = 0;
38418
38418
  for (const button of Object.keys(this.pressed)) {
38419
- v |= 2 ** Number(button);
38419
+ v2 |= 2 ** Number(button);
38420
38420
  }
38421
- return v;
38421
+ return v2;
38422
38422
  }
38423
38423
  down(keyDef) {
38424
38424
  const button = getMouseButtonId(keyDef.button);
@@ -38434,7 +38434,7 @@ var _Buttons = class _Buttons {
38434
38434
  up(keyDef) {
38435
38435
  const button = getMouseButtonId(keyDef.button);
38436
38436
  if (button in this.pressed) {
38437
- this.pressed[button] = this.pressed[button].filter((k) => k.name !== keyDef.name);
38437
+ this.pressed[button] = this.pressed[button].filter((k2) => k2.name !== keyDef.name);
38438
38438
  if (this.pressed[button].length === 0) {
38439
38439
  delete this.pressed[button];
38440
38440
  return button;
@@ -38513,13 +38513,13 @@ __name(_Device, "Device");
38513
38513
  var Device = _Device;
38514
38514
 
38515
38515
  // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/getTreeDiff.js
38516
- function getTreeDiff(a2, b) {
38516
+ function getTreeDiff(a2, b2) {
38517
38517
  const treeA = [];
38518
38518
  for (let el = a2; el; el = el.parentElement) {
38519
38519
  treeA.push(el);
38520
38520
  }
38521
38521
  const treeB = [];
38522
- for (let el = b; el; el = el.parentElement) {
38522
+ for (let el = b2; el; el = el.parentElement) {
38523
38523
  treeB.push(el);
38524
38524
  }
38525
38525
  let i2 = 0;
@@ -39191,10 +39191,10 @@ var _PointerHost = class _PointerHost {
39191
39191
  _define_property8(this, "mouse", void 0);
39192
39192
  _define_property8(this, "buttons", void 0);
39193
39193
  _define_property8(this, "devices", new class {
39194
- get(k) {
39194
+ get(k2) {
39195
39195
  var _this_registry, _k;
39196
39196
  var _;
39197
- return (_ = (_this_registry = this.registry)[_k = k]) !== null && _ !== void 0 ? _ : _this_registry[_k] = new Device();
39197
+ return (_ = (_this_registry = this.registry)[_k = k2]) !== null && _ !== void 0 ? _ : _this_registry[_k] = new Device();
39198
39198
  }
39199
39199
  constructor() {
39200
39200
  _define_property8(this, "registry", {});
@@ -39481,8 +39481,8 @@ async function keyboardAction(instance, { keyDef, releasePrevious, releaseSelf,
39481
39481
  }
39482
39482
  __name(keyboardAction, "keyboardAction");
39483
39483
  async function releaseAllKeys(instance) {
39484
- for (const k of instance.system.keyboard.getPressedKeys()) {
39485
- await instance.system.keyboard.keyup(instance, k);
39484
+ for (const k2 of instance.system.keyboard.getPressedKeys()) {
39485
+ await instance.system.keyboard.keyup(instance, k2);
39486
39486
  }
39487
39487
  }
39488
39488
  __name(releaseAllKeys, "releaseAllKeys");
@@ -39828,22 +39828,22 @@ function setFiles(el, files) {
39828
39828
  value: {
39829
39829
  configurable: true,
39830
39830
  get: /* @__PURE__ */ __name(() => files.length ? `C:\\fakepath\\${files[0].name}` : "", "get"),
39831
- set(v) {
39832
- if (v === "") {
39831
+ set(v2) {
39832
+ if (v2 === "") {
39833
39833
  restore();
39834
39834
  } else {
39835
39835
  var _valueDescr_set;
39836
- valueDescr === null || valueDescr === void 0 ? void 0 : (_valueDescr_set = valueDescr.set) === null || _valueDescr_set === void 0 ? void 0 : _valueDescr_set.call(el, v);
39836
+ valueDescr === null || valueDescr === void 0 ? void 0 : (_valueDescr_set = valueDescr.set) === null || _valueDescr_set === void 0 ? void 0 : _valueDescr_set.call(el, v2);
39837
39837
  }
39838
39838
  }
39839
39839
  },
39840
39840
  type: {
39841
39841
  configurable: true,
39842
39842
  get: /* @__PURE__ */ __name(() => "file", "get"),
39843
- set(v) {
39844
- if (v !== "file") {
39843
+ set(v2) {
39844
+ if (v2 !== "file") {
39845
39845
  restore();
39846
- el.type = v;
39846
+ el.type = v2;
39847
39847
  }
39848
39848
  }
39849
39849
  }
@@ -39865,9 +39865,9 @@ async function upload(element, fileOrFiles) {
39865
39865
  ]).filter((file) => !this.config.applyAccept || isAcceptableFile(file, input2.accept)).slice(0, input2.multiple ? void 0 : 1);
39866
39866
  const fileDialog = /* @__PURE__ */ __name(() => {
39867
39867
  var _input_files;
39868
- if (files.length === ((_input_files = input2.files) === null || _input_files === void 0 ? void 0 : _input_files.length) && files.every((f3, i2) => {
39868
+ if (files.length === ((_input_files = input2.files) === null || _input_files === void 0 ? void 0 : _input_files.length) && files.every((f4, i2) => {
39869
39869
  var _input_files2;
39870
- return f3 === ((_input_files2 = input2.files) === null || _input_files2 === void 0 ? void 0 : _input_files2.item(i2));
39870
+ return f4 === ((_input_files2 = input2.files) === null || _input_files2 === void 0 ? void 0 : _input_files2.item(i2));
39871
39871
  })) {
39872
39872
  return;
39873
39873
  }
@@ -40608,7 +40608,7 @@ var useStore = /* @__PURE__ */ __name((initialValue2) => {
40608
40608
  if (list) {
40609
40609
  listeners2.set(
40610
40610
  key,
40611
- list.filter((l) => l !== listener)
40611
+ list.filter((l2) => l2 !== listener)
40612
40612
  );
40613
40613
  }
40614
40614
  };
@@ -40667,11 +40667,11 @@ var mapBoxes = /* @__PURE__ */ __name((elements) => Array.from(elements.entries(
40667
40667
  width,
40668
40668
  height
40669
40669
  };
40670
- }).sort((a2, b) => b.width * b.height - a2.width * a2.height), "mapBoxes");
40670
+ }).sort((a2, b2) => b2.width * b2.height - a2.width * a2.height), "mapBoxes");
40671
40671
  var isOverMenu = /* @__PURE__ */ __name((menuElement, coordinates) => {
40672
40672
  const menu = menuElement.getBoundingClientRect();
40673
- const { x, y } = coordinates;
40674
- return menu?.top && menu?.left && x >= menu.left && x <= menu.left + menu.width && y >= menu.top && y <= menu.top + menu.height;
40673
+ const { x: x2, y: y2 } = coordinates;
40674
+ return menu?.top && menu?.left && x2 >= menu.left && x2 <= menu.left + menu.width && y2 >= menu.top && y2 <= menu.top + menu.height;
40675
40675
  }, "isOverMenu");
40676
40676
  var isTargeted = /* @__PURE__ */ __name((box, boxElement, coordinates) => {
40677
40677
  if (!boxElement || !coordinates) {
@@ -40690,25 +40690,25 @@ var isTargeted = /* @__PURE__ */ __name((box, boxElement, coordinates) => {
40690
40690
  left += window.scrollX;
40691
40691
  top += window.scrollY;
40692
40692
  }
40693
- const { x, y } = coordinates;
40694
- return x >= left && x <= left + width && y >= top && y <= top + height;
40693
+ const { x: x2, y: y2 } = coordinates;
40694
+ return x2 >= left && x2 <= left + width && y2 >= top && y2 <= top + height;
40695
40695
  }, "isTargeted");
40696
40696
  var keepInViewport = /* @__PURE__ */ __name((element, targetCoordinates, options = {}) => {
40697
- const { x, y } = targetCoordinates;
40697
+ const { x: x2, y: y2 } = targetCoordinates;
40698
40698
  const { margin = 5, topOffset = 0, centered = false } = options;
40699
40699
  const { scrollX, scrollY, innerHeight: windowHeight, innerWidth: windowWidth } = window;
40700
40700
  const top = Math.min(
40701
- element.style.position === "fixed" ? y - scrollY : y,
40701
+ element.style.position === "fixed" ? y2 - scrollY : y2,
40702
40702
  windowHeight - element.clientHeight - margin - topOffset + scrollY
40703
40703
  );
40704
40704
  const leftOffset = centered ? element.clientWidth / 2 : 0;
40705
- const left = element.style.position === "fixed" ? Math.max(Math.min(x - scrollX, windowWidth - leftOffset - margin), leftOffset + margin) : Math.max(
40706
- Math.min(x, windowWidth - leftOffset - margin + scrollX),
40705
+ const left = element.style.position === "fixed" ? Math.max(Math.min(x2 - scrollX, windowWidth - leftOffset - margin), leftOffset + margin) : Math.max(
40706
+ Math.min(x2, windowWidth - leftOffset - margin + scrollX),
40707
40707
  leftOffset + margin + scrollX
40708
40708
  );
40709
40709
  Object.assign(element.style, {
40710
- ...left !== x && { left: `${left}px` },
40711
- ...top !== y && { top: `${top}px` }
40710
+ ...left !== x2 && { left: `${left}px` },
40711
+ ...top !== y2 && { top: `${top}px` }
40712
40712
  });
40713
40713
  }, "keepInViewport");
40714
40714
  var showPopover = /* @__PURE__ */ __name((element) => {
@@ -40834,7 +40834,7 @@ var useHighlights = /* @__PURE__ */ __name((channel) => {
40834
40834
  }
40835
40835
  });
40836
40836
  styleElementByHighlight.forEach((style, keyframes) => {
40837
- if (!value.some((v) => v.keyframes === keyframes)) {
40837
+ if (!value.some((v2) => v2.keyframes === keyframes)) {
40838
40838
  style.remove();
40839
40839
  styleElementByHighlight.delete(keyframes);
40840
40840
  }
@@ -41161,13 +41161,13 @@ var useHighlights = /* @__PURE__ */ __name((channel) => {
41161
41161
  const addHighlight = /* @__PURE__ */ __name((highlight) => {
41162
41162
  const info = normalizeOptions(highlight);
41163
41163
  highlights.set((value) => {
41164
- const others = info.id ? value.filter((h2) => h2.id !== info.id) : value;
41164
+ const others = info.id ? value.filter((h3) => h3.id !== info.id) : value;
41165
41165
  return info.selectors?.length ? [...others, info] : others;
41166
41166
  });
41167
41167
  }, "addHighlight");
41168
41168
  const removeHighlight = /* @__PURE__ */ __name((id) => {
41169
41169
  if (id) {
41170
- highlights.set((value) => value.filter((h2) => h2.id !== id));
41170
+ highlights.set((value) => value.filter((h3) => h3.id !== id));
41171
41171
  }
41172
41172
  }, "removeHighlight");
41173
41173
  const resetState = /* @__PURE__ */ __name(() => {
@@ -41326,44 +41326,44 @@ var colors = {
41326
41326
  text: "#232020"
41327
41327
  };
41328
41328
  var labelPadding = 6;
41329
- function roundedRect(context, { x, y, w, h: h2, r: r2 }) {
41330
- x = x - w / 2;
41331
- y = y - h2 / 2;
41332
- if (w < 2 * r2) {
41333
- r2 = w / 2;
41329
+ function roundedRect(context, { x: x2, y: y2, w: w2, h: h3, r: r2 }) {
41330
+ x2 = x2 - w2 / 2;
41331
+ y2 = y2 - h3 / 2;
41332
+ if (w2 < 2 * r2) {
41333
+ r2 = w2 / 2;
41334
41334
  }
41335
- if (h2 < 2 * r2) {
41336
- r2 = h2 / 2;
41335
+ if (h3 < 2 * r2) {
41336
+ r2 = h3 / 2;
41337
41337
  }
41338
41338
  context.beginPath();
41339
- context.moveTo(x + r2, y);
41340
- context.arcTo(x + w, y, x + w, y + h2, r2);
41341
- context.arcTo(x + w, y + h2, x, y + h2, r2);
41342
- context.arcTo(x, y + h2, x, y, r2);
41343
- context.arcTo(x, y, x + w, y, r2);
41339
+ context.moveTo(x2 + r2, y2);
41340
+ context.arcTo(x2 + w2, y2, x2 + w2, y2 + h3, r2);
41341
+ context.arcTo(x2 + w2, y2 + h3, x2, y2 + h3, r2);
41342
+ context.arcTo(x2, y2 + h3, x2, y2, r2);
41343
+ context.arcTo(x2, y2, x2 + w2, y2, r2);
41344
41344
  context.closePath();
41345
41345
  }
41346
41346
  __name(roundedRect, "roundedRect");
41347
41347
  function positionCoordinate(position, { padding, border, width, height, top, left }) {
41348
41348
  const contentWidth = width - border.left - border.right - padding.left - padding.right;
41349
41349
  const contentHeight = height - padding.top - padding.bottom - border.top - border.bottom;
41350
- let x = left + border.left + padding.left;
41351
- let y = top + border.top + padding.top;
41350
+ let x2 = left + border.left + padding.left;
41351
+ let y2 = top + border.top + padding.top;
41352
41352
  if (position === "top") {
41353
- x += contentWidth / 2;
41353
+ x2 += contentWidth / 2;
41354
41354
  } else if (position === "right") {
41355
- x += contentWidth;
41356
- y += contentHeight / 2;
41355
+ x2 += contentWidth;
41356
+ y2 += contentHeight / 2;
41357
41357
  } else if (position === "bottom") {
41358
- x += contentWidth / 2;
41359
- y += contentHeight;
41358
+ x2 += contentWidth / 2;
41359
+ y2 += contentHeight;
41360
41360
  } else if (position === "left") {
41361
- y += contentHeight / 2;
41361
+ y2 += contentHeight / 2;
41362
41362
  } else if (position === "center") {
41363
- x += contentWidth / 2;
41364
- y += contentHeight / 2;
41363
+ x2 += contentWidth / 2;
41364
+ y2 += contentHeight / 2;
41365
41365
  }
41366
- return { x, y };
41366
+ return { x: x2, y: y2 };
41367
41367
  }
41368
41368
  __name(positionCoordinate, "positionCoordinate");
41369
41369
  function offset(type5, position, { margin, border, padding }, labelPaddingSize, external) {
@@ -41391,8 +41391,8 @@ function offset(type5, position, { margin, border, padding }, labelPaddingSize,
41391
41391
  return { offsetX, offsetY };
41392
41392
  }
41393
41393
  __name(offset, "offset");
41394
- function collide(a2, b) {
41395
- return Math.abs(a2.x - b.x) < Math.abs(a2.w + b.w) / 2 && Math.abs(a2.y - b.y) < Math.abs(a2.h + b.h) / 2;
41394
+ function collide(a2, b2) {
41395
+ return Math.abs(a2.x - b2.x) < Math.abs(a2.w + b2.w) / 2 && Math.abs(a2.y - b2.y) < Math.abs(a2.h + b2.h) / 2;
41396
41396
  }
41397
41397
  __name(collide, "collide");
41398
41398
  function overlapAdjustment(position, currentRect, prevRect) {
@@ -41408,22 +41408,22 @@ function overlapAdjustment(position, currentRect, prevRect) {
41408
41408
  return { x: currentRect.x, y: currentRect.y };
41409
41409
  }
41410
41410
  __name(overlapAdjustment, "overlapAdjustment");
41411
- function textWithRect(context, type5, { x, y, w, h: h2 }, text) {
41412
- roundedRect(context, { x, y, w, h: h2, r: 3 });
41411
+ function textWithRect(context, type5, { x: x2, y: y2, w: w2, h: h3 }, text) {
41412
+ roundedRect(context, { x: x2, y: y2, w: w2, h: h3, r: 3 });
41413
41413
  context.fillStyle = `${colors[type5]}dd`;
41414
41414
  context.fill();
41415
41415
  context.strokeStyle = colors[type5];
41416
41416
  context.stroke();
41417
41417
  context.fillStyle = colors.text;
41418
- context.fillText(text, x, y);
41419
- roundedRect(context, { x, y, w, h: h2, r: 3 });
41418
+ context.fillText(text, x2, y2);
41419
+ roundedRect(context, { x: x2, y: y2, w: w2, h: h3, r: 3 });
41420
41420
  context.fillStyle = `${colors[type5]}dd`;
41421
41421
  context.fill();
41422
41422
  context.strokeStyle = colors[type5];
41423
41423
  context.stroke();
41424
41424
  context.fillStyle = colors.text;
41425
- context.fillText(text, x, y);
41426
- return { x, y, w, h: h2 };
41425
+ context.fillText(text, x2, y2);
41426
+ return { x: x2, y: y2, w: w2, h: h3 };
41427
41427
  }
41428
41428
  __name(textWithRect, "textWithRect");
41429
41429
  function configureText(context, text) {
@@ -41432,28 +41432,28 @@ function configureText(context, text) {
41432
41432
  context.textAlign = "center";
41433
41433
  const metrics = context.measureText(text);
41434
41434
  const actualHeight = metrics.actualBoundingBoxAscent + metrics.actualBoundingBoxDescent;
41435
- const w = metrics.width + labelPadding * 2;
41436
- const h2 = actualHeight + labelPadding * 2;
41437
- return { w, h: h2 };
41435
+ const w2 = metrics.width + labelPadding * 2;
41436
+ const h3 = actualHeight + labelPadding * 2;
41437
+ return { w: w2, h: h3 };
41438
41438
  }
41439
41439
  __name(configureText, "configureText");
41440
41440
  function drawLabel(context, measurements, { type: type5, position = "center", text }, prevRect, external = false) {
41441
- let { x, y } = positionCoordinate(position, measurements);
41441
+ let { x: x2, y: y2 } = positionCoordinate(position, measurements);
41442
41442
  const { offsetX, offsetY } = offset(type5, position, measurements, labelPadding + 1, external);
41443
- x += offsetX;
41444
- y += offsetY;
41445
- const { w, h: h2 } = configureText(context, text);
41446
- if (prevRect && collide({ x, y, w, h: h2 }, prevRect)) {
41447
- const adjusted = overlapAdjustment(position, { x, y, w, h: h2 }, prevRect);
41448
- x = adjusted.x;
41449
- y = adjusted.y;
41443
+ x2 += offsetX;
41444
+ y2 += offsetY;
41445
+ const { w: w2, h: h3 } = configureText(context, text);
41446
+ if (prevRect && collide({ x: x2, y: y2, w: w2, h: h3 }, prevRect)) {
41447
+ const adjusted = overlapAdjustment(position, { x: x2, y: y2, w: w2, h: h3 }, prevRect);
41448
+ x2 = adjusted.x;
41449
+ y2 = adjusted.y;
41450
41450
  }
41451
- return textWithRect(context, type5, { x, y, w, h: h2 }, text);
41451
+ return textWithRect(context, type5, { x: x2, y: y2, w: w2, h: h3 }, text);
41452
41452
  }
41453
41453
  __name(drawLabel, "drawLabel");
41454
- function floatingOffset(alignment, { w, h: h2 }) {
41455
- const deltaW = w * 0.5 + labelPadding;
41456
- const deltaH = h2 * 0.5 + labelPadding;
41454
+ function floatingOffset(alignment, { w: w2, h: h3 }) {
41455
+ const deltaW = w2 * 0.5 + labelPadding;
41456
+ const deltaH = h3 * 0.5 + labelPadding;
41457
41457
  return {
41458
41458
  offsetX: (alignment.x === "left" ? -1 : 1) * deltaW,
41459
41459
  offsetY: (alignment.y === "top" ? -1 : 1) * deltaH
@@ -41462,32 +41462,32 @@ function floatingOffset(alignment, { w, h: h2 }) {
41462
41462
  __name(floatingOffset, "floatingOffset");
41463
41463
  function drawFloatingLabel(context, measurements, { type: type5, text }) {
41464
41464
  const { floatingAlignment: floatingAlignment2, extremities } = measurements;
41465
- let x = extremities[floatingAlignment2.x];
41466
- let y = extremities[floatingAlignment2.y];
41467
- const { w, h: h2 } = configureText(context, text);
41465
+ let x2 = extremities[floatingAlignment2.x];
41466
+ let y2 = extremities[floatingAlignment2.y];
41467
+ const { w: w2, h: h3 } = configureText(context, text);
41468
41468
  const { offsetX, offsetY } = floatingOffset(floatingAlignment2, {
41469
- w,
41470
- h: h2
41469
+ w: w2,
41470
+ h: h3
41471
41471
  });
41472
- x += offsetX;
41473
- y += offsetY;
41474
- return textWithRect(context, type5, { x, y, w, h: h2 }, text);
41472
+ x2 += offsetX;
41473
+ y2 += offsetY;
41474
+ return textWithRect(context, type5, { x: x2, y: y2, w: w2, h: h3 }, text);
41475
41475
  }
41476
41476
  __name(drawFloatingLabel, "drawFloatingLabel");
41477
41477
  function drawStack(context, measurements, stack, external) {
41478
41478
  const rects = [];
41479
- stack.forEach((l, idx) => {
41480
- const rect = external && l.position === "center" ? drawFloatingLabel(context, measurements, l) : drawLabel(context, measurements, l, rects[idx - 1], external);
41479
+ stack.forEach((l2, idx) => {
41480
+ const rect = external && l2.position === "center" ? drawFloatingLabel(context, measurements, l2) : drawLabel(context, measurements, l2, rects[idx - 1], external);
41481
41481
  rects[idx] = rect;
41482
41482
  });
41483
41483
  }
41484
41484
  __name(drawStack, "drawStack");
41485
41485
  function labelStacks(context, measurements, labels, externalLabels) {
41486
- const stacks = labels.reduce((acc, l) => {
41487
- if (!Object.prototype.hasOwnProperty.call(acc, l.position)) {
41488
- acc[l.position] = [];
41486
+ const stacks = labels.reduce((acc, l2) => {
41487
+ if (!Object.prototype.hasOwnProperty.call(acc, l2.position)) {
41488
+ acc[l2.position] = [];
41489
41489
  }
41490
- acc[l.position]?.push(l);
41490
+ acc[l2.position]?.push(l2);
41491
41491
  return acc;
41492
41492
  }, {});
41493
41493
  if (stacks.top) {
@@ -41525,7 +41525,7 @@ function round(value) {
41525
41525
  }
41526
41526
  __name(round, "round");
41527
41527
  function filterZeroValues(labels) {
41528
- return labels.filter((l) => l.text !== 0 && l.text !== "0");
41528
+ return labels.filter((l2) => l2.text !== 0 && l2.text !== "0");
41529
41529
  }
41530
41530
  __name(filterZeroValues, "filterZeroValues");
41531
41531
  function floatingAlignment(extremities) {
@@ -41758,11 +41758,11 @@ function drawSelectedElement(element) {
41758
41758
  __name(drawSelectedElement, "drawSelectedElement");
41759
41759
 
41760
41760
  // src/measure/util.ts
41761
- var deepElementFromPoint = /* @__PURE__ */ __name((x, y) => {
41762
- const element = scope.document.elementFromPoint(x, y);
41761
+ var deepElementFromPoint = /* @__PURE__ */ __name((x2, y2) => {
41762
+ const element = scope.document.elementFromPoint(x2, y2);
41763
41763
  const crawlShadows = /* @__PURE__ */ __name((node) => {
41764
41764
  if (node && node.shadowRoot) {
41765
- const nestedElement = node.shadowRoot.elementFromPoint(x, y);
41765
+ const nestedElement = node.shadowRoot.elementFromPoint(x2, y2);
41766
41766
  if (node.isEqualNode(nestedElement)) {
41767
41767
  return node;
41768
41768
  }
@@ -41780,8 +41780,8 @@ var deepElementFromPoint = /* @__PURE__ */ __name((x, y) => {
41780
41780
  // src/measure/withMeasure.ts
41781
41781
  var nodeAtPointerRef;
41782
41782
  var pointer3 = { x: 0, y: 0 };
41783
- function findAndDrawElement(x, y) {
41784
- nodeAtPointerRef = deepElementFromPoint(x, y);
41783
+ function findAndDrawElement(x2, y2) {
41784
+ nodeAtPointerRef = deepElementFromPoint(x2, y2);
41785
41785
  drawSelectedElement(nodeAtPointerRef);
41786
41786
  }
41787
41787
  __name(findAndDrawElement, "findAndDrawElement");
@@ -42316,7 +42316,7 @@ var traverseArgs = /* @__PURE__ */ __name((value, depth = 0, key) => {
42316
42316
  if (value == null) {
42317
42317
  return value;
42318
42318
  }
42319
- if (isMockFunction2(value)) {
42319
+ if (isMockFunction(value)) {
42320
42320
  if (key) {
42321
42321
  value.mockName(key);
42322
42322
  }
@@ -42340,9 +42340,9 @@ var traverseArgs = /* @__PURE__ */ __name((value, depth = 0, key) => {
42340
42340
  }
42341
42341
  if (typeof value === "object" && value.constructor === Object) {
42342
42342
  depth++;
42343
- for (const [k, v] of Object.entries(value)) {
42344
- if (Object.getOwnPropertyDescriptor(value, k)?.writable) {
42345
- value[k] = traverseArgs(v, depth, k);
42343
+ for (const [k2, v2] of Object.entries(value)) {
42344
+ if (Object.getOwnPropertyDescriptor(value, k2)?.writable) {
42345
+ value[k2] = traverseArgs(v2, depth, k2);
42346
42346
  }
42347
42347
  }
42348
42348
  return value;
@@ -42370,20 +42370,27 @@ var enhanceContext = /* @__PURE__ */ __name(async (context) => {
42370
42370
  get: /* @__PURE__ */ __name(() => clipboard, "get"),
42371
42371
  configurable: true
42372
42372
  });
42373
- let currentFocus = HTMLElement.prototype.focus;
42374
42373
  if (!patchedFocus) {
42374
+ const originalFocus = HTMLElement.prototype.focus;
42375
+ let currentFocus = HTMLElement.prototype.focus;
42376
+ const focusingElements = /* @__PURE__ */ new Set();
42375
42377
  Object.defineProperties(HTMLElement.prototype, {
42376
42378
  focus: {
42377
42379
  configurable: true,
42378
42380
  set: /* @__PURE__ */ __name((newFocus) => {
42379
42381
  currentFocus = newFocus;
42380
- patchedFocus = true;
42381
42382
  }, "set"),
42382
- get: /* @__PURE__ */ __name(() => {
42383
+ get() {
42384
+ if (focusingElements.has(this)) {
42385
+ return originalFocus;
42386
+ }
42387
+ focusingElements.add(this);
42388
+ setTimeout(() => focusingElements.delete(this), 0);
42383
42389
  return currentFocus;
42384
- }, "get")
42390
+ }
42385
42391
  }
42386
42392
  });
42393
+ patchedFocus = true;
42387
42394
  }
42388
42395
  }
42389
42396
  }, "enhanceContext");
@@ -42587,44 +42594,44 @@ function eq3(value, other) {
42587
42594
  __name(eq3, "eq");
42588
42595
 
42589
42596
  // ../node_modules/es-toolkit/dist/predicate/isEqualWith.mjs
42590
- function isEqualWith(a2, b, areValuesEqual) {
42591
- return isEqualWithImpl(a2, b, void 0, void 0, void 0, void 0, areValuesEqual);
42597
+ function isEqualWith(a2, b2, areValuesEqual) {
42598
+ return isEqualWithImpl(a2, b2, void 0, void 0, void 0, void 0, areValuesEqual);
42592
42599
  }
42593
42600
  __name(isEqualWith, "isEqualWith");
42594
- function isEqualWithImpl(a2, b, property, aParent, bParent, stack, areValuesEqual) {
42595
- const result = areValuesEqual(a2, b, property, aParent, bParent, stack);
42601
+ function isEqualWithImpl(a2, b2, property, aParent, bParent, stack, areValuesEqual) {
42602
+ const result = areValuesEqual(a2, b2, property, aParent, bParent, stack);
42596
42603
  if (result !== void 0) {
42597
42604
  return result;
42598
42605
  }
42599
- if (typeof a2 === typeof b) {
42606
+ if (typeof a2 === typeof b2) {
42600
42607
  switch (typeof a2) {
42601
42608
  case "bigint":
42602
42609
  case "string":
42603
42610
  case "boolean":
42604
42611
  case "symbol":
42605
42612
  case "undefined": {
42606
- return a2 === b;
42613
+ return a2 === b2;
42607
42614
  }
42608
42615
  case "number": {
42609
- return a2 === b || Object.is(a2, b);
42616
+ return a2 === b2 || Object.is(a2, b2);
42610
42617
  }
42611
42618
  case "function": {
42612
- return a2 === b;
42619
+ return a2 === b2;
42613
42620
  }
42614
42621
  case "object": {
42615
- return areObjectsEqual(a2, b, stack, areValuesEqual);
42622
+ return areObjectsEqual(a2, b2, stack, areValuesEqual);
42616
42623
  }
42617
42624
  }
42618
42625
  }
42619
- return areObjectsEqual(a2, b, stack, areValuesEqual);
42626
+ return areObjectsEqual(a2, b2, stack, areValuesEqual);
42620
42627
  }
42621
42628
  __name(isEqualWithImpl, "isEqualWithImpl");
42622
- function areObjectsEqual(a2, b, stack, areValuesEqual) {
42623
- if (Object.is(a2, b)) {
42629
+ function areObjectsEqual(a2, b2, stack, areValuesEqual) {
42630
+ if (Object.is(a2, b2)) {
42624
42631
  return true;
42625
42632
  }
42626
42633
  let aTag = getTag2(a2);
42627
- let bTag = getTag2(b);
42634
+ let bTag = getTag2(b2);
42628
42635
  if (aTag === argumentsTag) {
42629
42636
  aTag = objectTag;
42630
42637
  }
@@ -42636,54 +42643,54 @@ function areObjectsEqual(a2, b, stack, areValuesEqual) {
42636
42643
  }
42637
42644
  switch (aTag) {
42638
42645
  case stringTag:
42639
- return a2.toString() === b.toString();
42646
+ return a2.toString() === b2.toString();
42640
42647
  case numberTag: {
42641
- const x = a2.valueOf();
42642
- const y = b.valueOf();
42643
- return eq3(x, y);
42648
+ const x2 = a2.valueOf();
42649
+ const y2 = b2.valueOf();
42650
+ return eq3(x2, y2);
42644
42651
  }
42645
42652
  case booleanTag:
42646
42653
  case dateTag:
42647
42654
  case symbolTag2:
42648
- return Object.is(a2.valueOf(), b.valueOf());
42655
+ return Object.is(a2.valueOf(), b2.valueOf());
42649
42656
  case regexpTag: {
42650
- return a2.source === b.source && a2.flags === b.flags;
42657
+ return a2.source === b2.source && a2.flags === b2.flags;
42651
42658
  }
42652
42659
  case functionTag: {
42653
- return a2 === b;
42660
+ return a2 === b2;
42654
42661
  }
42655
42662
  }
42656
42663
  stack = stack ?? /* @__PURE__ */ new Map();
42657
42664
  const aStack = stack.get(a2);
42658
- const bStack = stack.get(b);
42665
+ const bStack = stack.get(b2);
42659
42666
  if (aStack != null && bStack != null) {
42660
- return aStack === b;
42667
+ return aStack === b2;
42661
42668
  }
42662
- stack.set(a2, b);
42663
- stack.set(b, a2);
42669
+ stack.set(a2, b2);
42670
+ stack.set(b2, a2);
42664
42671
  try {
42665
42672
  switch (aTag) {
42666
42673
  case mapTag: {
42667
- if (a2.size !== b.size) {
42674
+ if (a2.size !== b2.size) {
42668
42675
  return false;
42669
42676
  }
42670
42677
  for (const [key, value] of a2.entries()) {
42671
- if (!b.has(key) || !isEqualWithImpl(value, b.get(key), key, a2, b, stack, areValuesEqual)) {
42678
+ if (!b2.has(key) || !isEqualWithImpl(value, b2.get(key), key, a2, b2, stack, areValuesEqual)) {
42672
42679
  return false;
42673
42680
  }
42674
42681
  }
42675
42682
  return true;
42676
42683
  }
42677
42684
  case setTag: {
42678
- if (a2.size !== b.size) {
42685
+ if (a2.size !== b2.size) {
42679
42686
  return false;
42680
42687
  }
42681
42688
  const aValues = Array.from(a2.values());
42682
- const bValues = Array.from(b.values());
42689
+ const bValues = Array.from(b2.values());
42683
42690
  for (let i2 = 0; i2 < aValues.length; i2++) {
42684
42691
  const aValue = aValues[i2];
42685
42692
  const index2 = bValues.findIndex((bValue) => {
42686
- return isEqualWithImpl(aValue, bValue, void 0, a2, b, stack, areValuesEqual);
42693
+ return isEqualWithImpl(aValue, bValue, void 0, a2, b2, stack, areValuesEqual);
42687
42694
  });
42688
42695
  if (index2 === -1) {
42689
42696
  return false;
@@ -42704,52 +42711,52 @@ function areObjectsEqual(a2, b, stack, areValuesEqual) {
42704
42711
  case bigInt64ArrayTag:
42705
42712
  case float32ArrayTag:
42706
42713
  case float64ArrayTag: {
42707
- if (typeof Buffer !== "undefined" && Buffer.isBuffer(a2) !== Buffer.isBuffer(b)) {
42714
+ if (typeof Buffer !== "undefined" && Buffer.isBuffer(a2) !== Buffer.isBuffer(b2)) {
42708
42715
  return false;
42709
42716
  }
42710
- if (a2.length !== b.length) {
42717
+ if (a2.length !== b2.length) {
42711
42718
  return false;
42712
42719
  }
42713
42720
  for (let i2 = 0; i2 < a2.length; i2++) {
42714
- if (!isEqualWithImpl(a2[i2], b[i2], i2, a2, b, stack, areValuesEqual)) {
42721
+ if (!isEqualWithImpl(a2[i2], b2[i2], i2, a2, b2, stack, areValuesEqual)) {
42715
42722
  return false;
42716
42723
  }
42717
42724
  }
42718
42725
  return true;
42719
42726
  }
42720
42727
  case arrayBufferTag: {
42721
- if (a2.byteLength !== b.byteLength) {
42728
+ if (a2.byteLength !== b2.byteLength) {
42722
42729
  return false;
42723
42730
  }
42724
- return areObjectsEqual(new Uint8Array(a2), new Uint8Array(b), stack, areValuesEqual);
42731
+ return areObjectsEqual(new Uint8Array(a2), new Uint8Array(b2), stack, areValuesEqual);
42725
42732
  }
42726
42733
  case dataViewTag: {
42727
- if (a2.byteLength !== b.byteLength || a2.byteOffset !== b.byteOffset) {
42734
+ if (a2.byteLength !== b2.byteLength || a2.byteOffset !== b2.byteOffset) {
42728
42735
  return false;
42729
42736
  }
42730
- return areObjectsEqual(new Uint8Array(a2), new Uint8Array(b), stack, areValuesEqual);
42737
+ return areObjectsEqual(new Uint8Array(a2), new Uint8Array(b2), stack, areValuesEqual);
42731
42738
  }
42732
42739
  case errorTag: {
42733
- return a2.name === b.name && a2.message === b.message;
42740
+ return a2.name === b2.name && a2.message === b2.message;
42734
42741
  }
42735
42742
  case objectTag: {
42736
- const areEqualInstances = areObjectsEqual(a2.constructor, b.constructor, stack, areValuesEqual) || isPlainObject(a2) && isPlainObject(b);
42743
+ const areEqualInstances = areObjectsEqual(a2.constructor, b2.constructor, stack, areValuesEqual) || isPlainObject(a2) && isPlainObject(b2);
42737
42744
  if (!areEqualInstances) {
42738
42745
  return false;
42739
42746
  }
42740
42747
  const aKeys = [...Object.keys(a2), ...getSymbols(a2)];
42741
- const bKeys = [...Object.keys(b), ...getSymbols(b)];
42748
+ const bKeys = [...Object.keys(b2), ...getSymbols(b2)];
42742
42749
  if (aKeys.length !== bKeys.length) {
42743
42750
  return false;
42744
42751
  }
42745
42752
  for (let i2 = 0; i2 < aKeys.length; i2++) {
42746
42753
  const propKey = aKeys[i2];
42747
42754
  const aProp = a2[propKey];
42748
- if (!Object.hasOwn(b, propKey)) {
42755
+ if (!Object.hasOwn(b2, propKey)) {
42749
42756
  return false;
42750
42757
  }
42751
- const bProp = b[propKey];
42752
- if (!isEqualWithImpl(aProp, bProp, propKey, a2, b, stack, areValuesEqual)) {
42758
+ const bProp = b2[propKey];
42759
+ if (!isEqualWithImpl(aProp, bProp, propKey, a2, b2, stack, areValuesEqual)) {
42753
42760
  return false;
42754
42761
  }
42755
42762
  }
@@ -42761,7 +42768,7 @@ function areObjectsEqual(a2, b, stack, areValuesEqual) {
42761
42768
  }
42762
42769
  } finally {
42763
42770
  stack.delete(a2);
42764
- stack.delete(b);
42771
+ stack.delete(b2);
42765
42772
  }
42766
42773
  }
42767
42774
  __name(areObjectsEqual, "areObjectsEqual");
@@ -42772,8 +42779,8 @@ function noop2() {
42772
42779
  __name(noop2, "noop");
42773
42780
 
42774
42781
  // ../node_modules/es-toolkit/dist/predicate/isEqual.mjs
42775
- function isEqual2(a2, b) {
42776
- return isEqualWith(a2, b, noop2);
42782
+ function isEqual2(a2, b2) {
42783
+ return isEqualWith(a2, b2, noop2);
42777
42784
  }
42778
42785
  __name(isEqual2, "isEqual");
42779
42786
 
@@ -42846,7 +42853,7 @@ var combineArgs = /* @__PURE__ */ __name((value, update) => {
42846
42853
  return acc;
42847
42854
  },
42848
42855
  [...value]
42849
- ).filter((v) => v !== void 0);
42856
+ ).filter((v2) => v2 !== void 0);
42850
42857
  }
42851
42858
  if (!isPlainObject(value) || !isPlainObject(update)) {
42852
42859
  return update;
@@ -44461,17 +44468,17 @@ var userOrAutoTitle = /* @__PURE__ */ __name((fileName, storiesEntries, userTitl
44461
44468
 
44462
44469
  // src/preview-api/modules/store/storySort.ts
44463
44470
  var STORY_KIND_PATH_SEPARATOR = /\s*\/\s*/;
44464
- var storySort = /* @__PURE__ */ __name((options = {}) => (a2, b) => {
44465
- if (a2.title === b.title && !options.includeNames) {
44471
+ var storySort = /* @__PURE__ */ __name((options = {}) => (a2, b2) => {
44472
+ if (a2.title === b2.title && !options.includeNames) {
44466
44473
  return 0;
44467
44474
  }
44468
44475
  const method = options.method || "configure";
44469
44476
  let order = options.order || [];
44470
44477
  const storyTitleA = a2.title.trim().split(STORY_KIND_PATH_SEPARATOR);
44471
- const storyTitleB = b.title.trim().split(STORY_KIND_PATH_SEPARATOR);
44478
+ const storyTitleB = b2.title.trim().split(STORY_KIND_PATH_SEPARATOR);
44472
44479
  if (options.includeNames) {
44473
44480
  storyTitleA.push(a2.name);
44474
- storyTitleB.push(b.name);
44481
+ storyTitleB.push(b2.name);
44475
44482
  }
44476
44483
  let depth = 0;
44477
44484
  while (storyTitleA[depth] || storyTitleB[depth]) {
@@ -45967,10 +45974,10 @@ var validateArgs = /* @__PURE__ */ __name((key = "", value) => {
45967
45974
  return VALIDATION_REGEXP.test(value) || NUMBER_REGEXP.test(value) || HEX_REGEXP.test(value) || COLOR_REGEXP.test(value);
45968
45975
  }
45969
45976
  if (Array.isArray(value)) {
45970
- return value.every((v) => validateArgs(key, v));
45977
+ return value.every((v2) => validateArgs(key, v2));
45971
45978
  }
45972
45979
  if (isPlainObject(value)) {
45973
- return Object.entries(value).every(([k, v]) => validateArgs(k, v));
45980
+ return Object.entries(value).every(([k2, v2]) => validateArgs(k2, v2));
45974
45981
  }
45975
45982
  return false;
45976
45983
  }, "validateArgs");
@@ -46067,19 +46074,19 @@ var setPath = /* @__PURE__ */ __name((selection) => {
46067
46074
  history.replaceState({}, "", `${document4.location.pathname}${query}${hash}`);
46068
46075
  }, "setPath");
46069
46076
  var isObject6 = /* @__PURE__ */ __name((val) => val != null && typeof val === "object" && Array.isArray(val) === false, "isObject");
46070
- var getFirstString = /* @__PURE__ */ __name((v) => {
46071
- if (v === void 0) {
46077
+ var getFirstString = /* @__PURE__ */ __name((v2) => {
46078
+ if (v2 === void 0) {
46072
46079
  return void 0;
46073
46080
  }
46074
- if (typeof v === "string") {
46075
- return v;
46081
+ if (typeof v2 === "string") {
46082
+ return v2;
46076
46083
  }
46077
- if (Array.isArray(v)) {
46078
- return getFirstString(v[0]);
46084
+ if (Array.isArray(v2)) {
46085
+ return getFirstString(v2[0]);
46079
46086
  }
46080
- if (isObject6(v)) {
46087
+ if (isObject6(v2)) {
46081
46088
  return getFirstString(
46082
- Object.values(v).filter(Boolean)
46089
+ Object.values(v2).filter(Boolean)
46083
46090
  );
46084
46091
  }
46085
46092
  return void 0;
@@ -46731,7 +46738,7 @@ var setupPreviewNavigator = /* @__PURE__ */ __name(async (index2, currentEntryId
46731
46738
  }
46732
46739
  .sb-navigator-story-link.active {
46733
46740
  font-weight: bold;
46734
- color: rgb(2, 156, 253);
46741
+ color: hsl(212 100 46);
46735
46742
  }
46736
46743
  `;
46737
46744
  document.head.appendChild(style);