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
@@ -37,9 +37,9 @@ var require_min_indent = __commonJS({
37
37
  }
38
38
  });
39
39
 
40
- // ../node_modules/strip-indent/index.js
40
+ // ../node_modules/redent/node_modules/strip-indent/index.js
41
41
  var require_strip_indent = __commonJS({
42
- "../node_modules/strip-indent/index.js"(exports, module2) {
42
+ "../node_modules/redent/node_modules/strip-indent/index.js"(exports, module2) {
43
43
  "use strict";
44
44
  var minIndent = require_min_indent();
45
45
  module2.exports = (string) => {
@@ -203,20 +203,20 @@ var require_ariaPropsMap = __commonJS({
203
203
  return n2;
204
204
  }
205
205
  __name(_arrayLikeToArray, "_arrayLikeToArray");
206
- function _iterableToArrayLimit(r2, l) {
206
+ function _iterableToArrayLimit(r2, l2) {
207
207
  var t2 = null == r2 ? null : "undefined" != typeof Symbol && r2[Symbol.iterator] || r2["@@iterator"];
208
208
  if (null != t2) {
209
- var e2, n2, i2, u2, a = [], f2 = true, o2 = false;
209
+ var e2, n2, i2, u3, a = [], f3 = true, o2 = false;
210
210
  try {
211
- if (i2 = (t2 = t2.call(r2)).next, 0 === l) {
211
+ if (i2 = (t2 = t2.call(r2)).next, 0 === l2) {
212
212
  if (Object(t2) !== t2) return;
213
- f2 = false;
214
- } else for (; !(f2 = (e2 = i2.call(t2)).done) && (a.push(e2.value), a.length !== l); f2 = true) ;
213
+ f3 = false;
214
+ } else for (; !(f3 = (e2 = i2.call(t2)).done) && (a.push(e2.value), a.length !== l2); f3 = true) ;
215
215
  } catch (r3) {
216
216
  o2 = true, n2 = r3;
217
217
  } finally {
218
218
  try {
219
- if (!f2 && null != t2.return && (u2 = t2.return(), Object(u2) !== u2)) return;
219
+ if (!f3 && null != t2.return && (u3 = t2.return(), Object(u3) !== u3)) return;
220
220
  } finally {
221
221
  if (o2) throw n2;
222
222
  }
@@ -417,20 +417,20 @@ var require_domMap = __commonJS({
417
417
  return n2;
418
418
  }
419
419
  __name(_arrayLikeToArray, "_arrayLikeToArray");
420
- function _iterableToArrayLimit(r2, l) {
420
+ function _iterableToArrayLimit(r2, l2) {
421
421
  var t2 = null == r2 ? null : "undefined" != typeof Symbol && r2[Symbol.iterator] || r2["@@iterator"];
422
422
  if (null != t2) {
423
- var e2, n2, i2, u2, a = [], f2 = true, o2 = false;
423
+ var e2, n2, i2, u3, a = [], f3 = true, o2 = false;
424
424
  try {
425
- if (i2 = (t2 = t2.call(r2)).next, 0 === l) {
425
+ if (i2 = (t2 = t2.call(r2)).next, 0 === l2) {
426
426
  if (Object(t2) !== t2) return;
427
- f2 = false;
428
- } else for (; !(f2 = (e2 = i2.call(t2)).done) && (a.push(e2.value), a.length !== l); f2 = true) ;
427
+ f3 = false;
428
+ } else for (; !(f3 = (e2 = i2.call(t2)).done) && (a.push(e2.value), a.length !== l2); f3 = true) ;
429
429
  } catch (r3) {
430
430
  o2 = true, n2 = r3;
431
431
  } finally {
432
432
  try {
433
- if (!f2 && null != t2.return && (u2 = t2.return(), Object(u2) !== u2)) return;
433
+ if (!f3 && null != t2.return && (u3 = t2.return(), Object(u3) !== u3)) return;
434
434
  } finally {
435
435
  if (o2) throw n2;
436
436
  }
@@ -6404,19 +6404,19 @@ var require_rolesMap = __commonJS({
6404
6404
  }
6405
6405
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6406
6406
  }
6407
- var o2, a = true, u2 = false;
6407
+ var o2, a = true, u3 = false;
6408
6408
  return { s: /* @__PURE__ */ __name(function s3() {
6409
6409
  t2 = t2.call(r2);
6410
6410
  }, "s"), n: /* @__PURE__ */ __name(function n2() {
6411
6411
  var r3 = t2.next();
6412
6412
  return a = r3.done, r3;
6413
6413
  }, "n"), e: /* @__PURE__ */ __name(function e3(r3) {
6414
- u2 = true, o2 = r3;
6415
- }, "e"), f: /* @__PURE__ */ __name(function f2() {
6414
+ u3 = true, o2 = r3;
6415
+ }, "e"), f: /* @__PURE__ */ __name(function f3() {
6416
6416
  try {
6417
6417
  a || null == t2.return || t2.return();
6418
6418
  } finally {
6419
- if (u2) throw o2;
6419
+ if (u3) throw o2;
6420
6420
  }
6421
6421
  }, "f") };
6422
6422
  }
@@ -6443,20 +6443,20 @@ var require_rolesMap = __commonJS({
6443
6443
  return n2;
6444
6444
  }
6445
6445
  __name(_arrayLikeToArray, "_arrayLikeToArray");
6446
- function _iterableToArrayLimit(r2, l) {
6446
+ function _iterableToArrayLimit(r2, l2) {
6447
6447
  var t2 = null == r2 ? null : "undefined" != typeof Symbol && r2[Symbol.iterator] || r2["@@iterator"];
6448
6448
  if (null != t2) {
6449
- var e2, n2, i2, u2, a = [], f2 = true, o2 = false;
6449
+ var e2, n2, i2, u3, a = [], f3 = true, o2 = false;
6450
6450
  try {
6451
- if (i2 = (t2 = t2.call(r2)).next, 0 === l) {
6451
+ if (i2 = (t2 = t2.call(r2)).next, 0 === l2) {
6452
6452
  if (Object(t2) !== t2) return;
6453
- f2 = false;
6454
- } else for (; !(f2 = (e2 = i2.call(t2)).done) && (a.push(e2.value), a.length !== l); f2 = true) ;
6453
+ f3 = false;
6454
+ } else for (; !(f3 = (e2 = i2.call(t2)).done) && (a.push(e2.value), a.length !== l2); f3 = true) ;
6455
6455
  } catch (r3) {
6456
6456
  o2 = true, n2 = r3;
6457
6457
  } finally {
6458
6458
  try {
6459
- if (!f2 && null != t2.return && (u2 = t2.return(), Object(u2) !== u2)) return;
6459
+ if (!f3 && null != t2.return && (u3 = t2.return(), Object(u3) !== u3)) return;
6460
6460
  } finally {
6461
6461
  if (o2) throw n2;
6462
6462
  }
@@ -6592,20 +6592,20 @@ var require_elementRoleMap = __commonJS({
6592
6592
  return n2;
6593
6593
  }
6594
6594
  __name(_arrayLikeToArray, "_arrayLikeToArray");
6595
- function _iterableToArrayLimit(r2, l) {
6595
+ function _iterableToArrayLimit(r2, l2) {
6596
6596
  var t2 = null == r2 ? null : "undefined" != typeof Symbol && r2[Symbol.iterator] || r2["@@iterator"];
6597
6597
  if (null != t2) {
6598
- var e2, n2, i3, u2, a = [], f2 = true, o2 = false;
6598
+ var e2, n2, i3, u3, a = [], f3 = true, o2 = false;
6599
6599
  try {
6600
- if (i3 = (t2 = t2.call(r2)).next, 0 === l) {
6600
+ if (i3 = (t2 = t2.call(r2)).next, 0 === l2) {
6601
6601
  if (Object(t2) !== t2) return;
6602
- f2 = false;
6603
- } else for (; !(f2 = (e2 = i3.call(t2)).done) && (a.push(e2.value), a.length !== l); f2 = true) ;
6602
+ f3 = false;
6603
+ } else for (; !(f3 = (e2 = i3.call(t2)).done) && (a.push(e2.value), a.length !== l2); f3 = true) ;
6604
6604
  } catch (r3) {
6605
6605
  o2 = true, n2 = r3;
6606
6606
  } finally {
6607
6607
  try {
6608
- if (!f2 && null != t2.return && (u2 = t2.return(), Object(u2) !== u2)) return;
6608
+ if (!f3 && null != t2.return && (u3 = t2.return(), Object(u3) !== u3)) return;
6609
6609
  } finally {
6610
6610
  if (o2) throw n2;
6611
6611
  }
@@ -6626,7 +6626,7 @@ var require_elementRoleMap = __commonJS({
6626
6626
  if (role) {
6627
6627
  concepts = [].concat(role.baseConcepts, role.relatedConcepts);
6628
6628
  _loop = /* @__PURE__ */ __name(function _loop2() {
6629
- var relation = concepts[k];
6629
+ var relation = concepts[k2];
6630
6630
  if (relation.module === "HTML") {
6631
6631
  var concept = relation.concept;
6632
6632
  if (concept) {
@@ -6655,7 +6655,7 @@ var require_elementRoleMap = __commonJS({
6655
6655
  }
6656
6656
  }
6657
6657
  }, "_loop");
6658
- for (k = 0; k < concepts.length; k++) {
6658
+ for (k2 = 0; k2 < concepts.length; k2++) {
6659
6659
  _loop();
6660
6660
  }
6661
6661
  }
@@ -6664,7 +6664,7 @@ var require_elementRoleMap = __commonJS({
6664
6664
  var role;
6665
6665
  var concepts;
6666
6666
  var _loop;
6667
- var k;
6667
+ var k2;
6668
6668
  var i2;
6669
6669
  var elementRoleMap = {
6670
6670
  entries: /* @__PURE__ */ __name(function entries() {
@@ -6699,23 +6699,23 @@ var require_elementRoleMap = __commonJS({
6699
6699
  });
6700
6700
  }, "values")
6701
6701
  };
6702
- function ariaRoleRelationConceptEquals(a, b) {
6703
- return a.name === b.name && ariaRoleRelationConstraintsEquals(a.constraints, b.constraints) && ariaRoleRelationConceptAttributeEquals(a.attributes, b.attributes);
6702
+ function ariaRoleRelationConceptEquals(a, b2) {
6703
+ return a.name === b2.name && ariaRoleRelationConstraintsEquals(a.constraints, b2.constraints) && ariaRoleRelationConceptAttributeEquals(a.attributes, b2.attributes);
6704
6704
  }
6705
6705
  __name(ariaRoleRelationConceptEquals, "ariaRoleRelationConceptEquals");
6706
- function ariaRoleRelationConstraintsEquals(a, b) {
6707
- if (a === void 0 && b !== void 0) {
6706
+ function ariaRoleRelationConstraintsEquals(a, b2) {
6707
+ if (a === void 0 && b2 !== void 0) {
6708
6708
  return false;
6709
6709
  }
6710
- if (a !== void 0 && b === void 0) {
6710
+ if (a !== void 0 && b2 === void 0) {
6711
6711
  return false;
6712
6712
  }
6713
- if (a !== void 0 && b !== void 0) {
6714
- if (a.length !== b.length) {
6713
+ if (a !== void 0 && b2 !== void 0) {
6714
+ if (a.length !== b2.length) {
6715
6715
  return false;
6716
6716
  }
6717
6717
  for (var _i3 = 0; _i3 < a.length; _i3++) {
6718
- if (a[_i3] !== b[_i3]) {
6718
+ if (a[_i3] !== b2[_i3]) {
6719
6719
  return false;
6720
6720
  }
6721
6721
  }
@@ -6723,33 +6723,33 @@ var require_elementRoleMap = __commonJS({
6723
6723
  return true;
6724
6724
  }
6725
6725
  __name(ariaRoleRelationConstraintsEquals, "ariaRoleRelationConstraintsEquals");
6726
- function ariaRoleRelationConceptAttributeEquals(a, b) {
6727
- if (a === void 0 && b !== void 0) {
6726
+ function ariaRoleRelationConceptAttributeEquals(a, b2) {
6727
+ if (a === void 0 && b2 !== void 0) {
6728
6728
  return false;
6729
6729
  }
6730
- if (a !== void 0 && b === void 0) {
6730
+ if (a !== void 0 && b2 === void 0) {
6731
6731
  return false;
6732
6732
  }
6733
- if (a !== void 0 && b !== void 0) {
6734
- if (a.length !== b.length) {
6733
+ if (a !== void 0 && b2 !== void 0) {
6734
+ if (a.length !== b2.length) {
6735
6735
  return false;
6736
6736
  }
6737
6737
  for (var _i4 = 0; _i4 < a.length; _i4++) {
6738
- if (a[_i4].name !== b[_i4].name || a[_i4].value !== b[_i4].value) {
6738
+ if (a[_i4].name !== b2[_i4].name || a[_i4].value !== b2[_i4].value) {
6739
6739
  return false;
6740
6740
  }
6741
- if (a[_i4].constraints === void 0 && b[_i4].constraints !== void 0) {
6741
+ if (a[_i4].constraints === void 0 && b2[_i4].constraints !== void 0) {
6742
6742
  return false;
6743
6743
  }
6744
- if (a[_i4].constraints !== void 0 && b[_i4].constraints === void 0) {
6744
+ if (a[_i4].constraints !== void 0 && b2[_i4].constraints === void 0) {
6745
6745
  return false;
6746
6746
  }
6747
- if (a[_i4].constraints !== void 0 && b[_i4].constraints !== void 0) {
6748
- if (a[_i4].constraints.length !== b[_i4].constraints.length) {
6747
+ if (a[_i4].constraints !== void 0 && b2[_i4].constraints !== void 0) {
6748
+ if (a[_i4].constraints.length !== b2[_i4].constraints.length) {
6749
6749
  return false;
6750
6750
  }
6751
- for (var j = 0; j < a[_i4].constraints.length; j++) {
6752
- if (a[_i4].constraints[j] !== b[_i4].constraints[j]) {
6751
+ for (var j2 = 0; j2 < a[_i4].constraints.length; j2++) {
6752
+ if (a[_i4].constraints[j2] !== b2[_i4].constraints[j2]) {
6753
6753
  return false;
6754
6754
  }
6755
6755
  }
@@ -6799,20 +6799,20 @@ var require_roleElementMap = __commonJS({
6799
6799
  return n2;
6800
6800
  }
6801
6801
  __name(_arrayLikeToArray, "_arrayLikeToArray");
6802
- function _iterableToArrayLimit(r2, l) {
6802
+ function _iterableToArrayLimit(r2, l2) {
6803
6803
  var t2 = null == r2 ? null : "undefined" != typeof Symbol && r2[Symbol.iterator] || r2["@@iterator"];
6804
6804
  if (null != t2) {
6805
- var e2, n2, i3, u2, a = [], f2 = true, o2 = false;
6805
+ var e2, n2, i3, u3, a = [], f3 = true, o2 = false;
6806
6806
  try {
6807
- if (i3 = (t2 = t2.call(r2)).next, 0 === l) {
6807
+ if (i3 = (t2 = t2.call(r2)).next, 0 === l2) {
6808
6808
  if (Object(t2) !== t2) return;
6809
- f2 = false;
6810
- } else for (; !(f2 = (e2 = i3.call(t2)).done) && (a.push(e2.value), a.length !== l); f2 = true) ;
6809
+ f3 = false;
6810
+ } else for (; !(f3 = (e2 = i3.call(t2)).done) && (a.push(e2.value), a.length !== l2); f3 = true) ;
6811
6811
  } catch (r3) {
6812
6812
  o2 = true, n2 = r3;
6813
6813
  } finally {
6814
6814
  try {
6815
- if (!f2 && null != t2.return && (u2 = t2.return(), Object(u2) !== u2)) return;
6815
+ if (!f3 && null != t2.return && (u3 = t2.return(), Object(u3) !== u3)) return;
6816
6816
  } finally {
6817
6817
  if (o2) throw n2;
6818
6818
  }
@@ -6833,8 +6833,8 @@ var require_roleElementMap = __commonJS({
6833
6833
  relationConcepts = [];
6834
6834
  if (role) {
6835
6835
  concepts = [].concat(role.baseConcepts, role.relatedConcepts);
6836
- for (k = 0; k < concepts.length; k++) {
6837
- relation = concepts[k];
6836
+ for (k2 = 0; k2 < concepts.length; k2++) {
6837
+ relation = concepts[k2];
6838
6838
  if (relation.module === "HTML") {
6839
6839
  concept = relation.concept;
6840
6840
  if (concept != null) {
@@ -6853,7 +6853,7 @@ var require_roleElementMap = __commonJS({
6853
6853
  var concepts;
6854
6854
  var relation;
6855
6855
  var concept;
6856
- var k;
6856
+ var k2;
6857
6857
  var i2;
6858
6858
  var roleElementMap = {
6859
6859
  entries: /* @__PURE__ */ __name(function entries() {
@@ -7779,60 +7779,60 @@ var require_Immutable = __commonJS({
7779
7779
  var require_react_is_production_min = __commonJS({
7780
7780
  "../node_modules/pretty-format/node_modules/react-is/cjs/react-is.production.min.js"(exports) {
7781
7781
  "use strict";
7782
- var b = 60103;
7782
+ var b2 = 60103;
7783
7783
  var c2 = 60106;
7784
7784
  var d = 60107;
7785
7785
  var e2 = 60108;
7786
- var f2 = 60114;
7786
+ var f3 = 60114;
7787
7787
  var g2 = 60109;
7788
- var h = 60110;
7789
- var k = 60112;
7790
- var l = 60113;
7788
+ var h2 = 60110;
7789
+ var k2 = 60112;
7790
+ var l2 = 60113;
7791
7791
  var m2 = 60120;
7792
7792
  var n2 = 60115;
7793
7793
  var p = 60116;
7794
7794
  var q = 60121;
7795
7795
  var r2 = 60122;
7796
- var u2 = 60117;
7797
- var v = 60129;
7798
- var w = 60131;
7796
+ var u3 = 60117;
7797
+ var v2 = 60129;
7798
+ var w2 = 60131;
7799
7799
  if ("function" === typeof Symbol && Symbol.for) {
7800
- x = Symbol.for;
7801
- b = x("react.element");
7802
- c2 = x("react.portal");
7803
- d = x("react.fragment");
7804
- e2 = x("react.strict_mode");
7805
- f2 = x("react.profiler");
7806
- g2 = x("react.provider");
7807
- h = x("react.context");
7808
- k = x("react.forward_ref");
7809
- l = x("react.suspense");
7810
- m2 = x("react.suspense_list");
7811
- n2 = x("react.memo");
7812
- p = x("react.lazy");
7813
- q = x("react.block");
7814
- r2 = x("react.server.block");
7815
- u2 = x("react.fundamental");
7816
- v = x("react.debug_trace_mode");
7817
- w = x("react.legacy_hidden");
7818
- }
7819
- var x;
7820
- function y(a) {
7800
+ x2 = Symbol.for;
7801
+ b2 = x2("react.element");
7802
+ c2 = x2("react.portal");
7803
+ d = x2("react.fragment");
7804
+ e2 = x2("react.strict_mode");
7805
+ f3 = x2("react.profiler");
7806
+ g2 = x2("react.provider");
7807
+ h2 = x2("react.context");
7808
+ k2 = x2("react.forward_ref");
7809
+ l2 = x2("react.suspense");
7810
+ m2 = x2("react.suspense_list");
7811
+ n2 = x2("react.memo");
7812
+ p = x2("react.lazy");
7813
+ q = x2("react.block");
7814
+ r2 = x2("react.server.block");
7815
+ u3 = x2("react.fundamental");
7816
+ v2 = x2("react.debug_trace_mode");
7817
+ w2 = x2("react.legacy_hidden");
7818
+ }
7819
+ var x2;
7820
+ function y2(a) {
7821
7821
  if ("object" === typeof a && null !== a) {
7822
7822
  var t2 = a.$$typeof;
7823
7823
  switch (t2) {
7824
- case b:
7824
+ case b2:
7825
7825
  switch (a = a.type, a) {
7826
7826
  case d:
7827
- case f2:
7827
+ case f3:
7828
7828
  case e2:
7829
- case l:
7829
+ case l2:
7830
7830
  case m2:
7831
7831
  return a;
7832
7832
  default:
7833
7833
  switch (a = a && a.$$typeof, a) {
7834
- case h:
7835
- case k:
7834
+ case h2:
7835
+ case k2:
7836
7836
  case p:
7837
7837
  case n2:
7838
7838
  case g2:
@@ -7846,24 +7846,24 @@ var require_react_is_production_min = __commonJS({
7846
7846
  }
7847
7847
  }
7848
7848
  }
7849
- __name(y, "y");
7849
+ __name(y2, "y");
7850
7850
  var z = g2;
7851
- var A = b;
7852
- var B = k;
7851
+ var A = b2;
7852
+ var B = k2;
7853
7853
  var C = d;
7854
- var D = p;
7855
- var E = n2;
7854
+ var D2 = p;
7855
+ var E2 = n2;
7856
7856
  var F = c2;
7857
- var G = f2;
7857
+ var G = f3;
7858
7858
  var H = e2;
7859
- var I = l;
7860
- exports.ContextConsumer = h;
7859
+ var I = l2;
7860
+ exports.ContextConsumer = h2;
7861
7861
  exports.ContextProvider = z;
7862
7862
  exports.Element = A;
7863
7863
  exports.ForwardRef = B;
7864
7864
  exports.Fragment = C;
7865
- exports.Lazy = D;
7866
- exports.Memo = E;
7865
+ exports.Lazy = D2;
7866
+ exports.Memo = E2;
7867
7867
  exports.Portal = F;
7868
7868
  exports.Profiler = G;
7869
7869
  exports.StrictMode = H;
@@ -7875,42 +7875,42 @@ var require_react_is_production_min = __commonJS({
7875
7875
  return false;
7876
7876
  };
7877
7877
  exports.isContextConsumer = function(a) {
7878
- return y(a) === h;
7878
+ return y2(a) === h2;
7879
7879
  };
7880
7880
  exports.isContextProvider = function(a) {
7881
- return y(a) === g2;
7881
+ return y2(a) === g2;
7882
7882
  };
7883
7883
  exports.isElement = function(a) {
7884
- return "object" === typeof a && null !== a && a.$$typeof === b;
7884
+ return "object" === typeof a && null !== a && a.$$typeof === b2;
7885
7885
  };
7886
7886
  exports.isForwardRef = function(a) {
7887
- return y(a) === k;
7887
+ return y2(a) === k2;
7888
7888
  };
7889
7889
  exports.isFragment = function(a) {
7890
- return y(a) === d;
7890
+ return y2(a) === d;
7891
7891
  };
7892
7892
  exports.isLazy = function(a) {
7893
- return y(a) === p;
7893
+ return y2(a) === p;
7894
7894
  };
7895
7895
  exports.isMemo = function(a) {
7896
- return y(a) === n2;
7896
+ return y2(a) === n2;
7897
7897
  };
7898
7898
  exports.isPortal = function(a) {
7899
- return y(a) === c2;
7899
+ return y2(a) === c2;
7900
7900
  };
7901
7901
  exports.isProfiler = function(a) {
7902
- return y(a) === f2;
7902
+ return y2(a) === f3;
7903
7903
  };
7904
7904
  exports.isStrictMode = function(a) {
7905
- return y(a) === e2;
7905
+ return y2(a) === e2;
7906
7906
  };
7907
7907
  exports.isSuspense = function(a) {
7908
- return y(a) === l;
7908
+ return y2(a) === l2;
7909
7909
  };
7910
7910
  exports.isValidElementType = function(a) {
7911
- return "string" === typeof a || "function" === typeof a || a === d || a === f2 || a === v || a === e2 || a === l || a === m2 || a === w || "object" === typeof a && null !== a && (a.$$typeof === p || a.$$typeof === n2 || a.$$typeof === g2 || a.$$typeof === h || a.$$typeof === k || a.$$typeof === u2 || a.$$typeof === q || a[0] === r2) ? true : false;
7911
+ return "string" === typeof a || "function" === typeof a || a === d || a === f3 || a === v2 || a === e2 || a === l2 || a === m2 || a === w2 || "object" === typeof a && null !== a && (a.$$typeof === p || a.$$typeof === n2 || a.$$typeof === g2 || a.$$typeof === h2 || a.$$typeof === k2 || a.$$typeof === u3 || a.$$typeof === q || a[0] === r2) ? true : false;
7912
7912
  };
7913
- exports.typeOf = y;
7913
+ exports.typeOf = y2;
7914
7914
  }
7915
7915
  });
7916
7916
 
@@ -8723,7 +8723,7 @@ var require_build = __commonJS({
8723
8723
  var require_lz_string = __commonJS({
8724
8724
  "../node_modules/lz-string/libs/lz-string.js"(exports, module2) {
8725
8725
  var LZString = function() {
8726
- var f2 = String.fromCharCode;
8726
+ var f3 = String.fromCharCode;
8727
8727
  var keyStrBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
8728
8728
  var keyStrUriSafe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$";
8729
8729
  var baseReverseDic = {};
@@ -8767,7 +8767,7 @@ var require_lz_string = __commonJS({
8767
8767
  compressToUTF16: /* @__PURE__ */ __name(function(input2) {
8768
8768
  if (input2 == null) return "";
8769
8769
  return LZString2._compress(input2, 15, function(a) {
8770
- return f2(a + 32);
8770
+ return f3(a + 32);
8771
8771
  }) + " ";
8772
8772
  }, "compressToUTF16"),
8773
8773
  decompressFromUTF16: /* @__PURE__ */ __name(function(compressed) {
@@ -8799,7 +8799,7 @@ var require_lz_string = __commonJS({
8799
8799
  }
8800
8800
  var result = [];
8801
8801
  buf.forEach(function(c2) {
8802
- result.push(f2(c2));
8802
+ result.push(f3(c2));
8803
8803
  });
8804
8804
  return LZString2.decompress(result.join(""));
8805
8805
  }
@@ -8822,7 +8822,7 @@ var require_lz_string = __commonJS({
8822
8822
  }, "decompressFromEncodedURIComponent"),
8823
8823
  compress: /* @__PURE__ */ __name(function(uncompressed) {
8824
8824
  return LZString2._compress(uncompressed, 16, function(a) {
8825
- return f2(a);
8825
+ return f3(a);
8826
8826
  });
8827
8827
  }, "compress"),
8828
8828
  _compress: /* @__PURE__ */ __name(function(uncompressed, bitsPerChar, getCharFromInt) {
@@ -9023,7 +9023,7 @@ var require_lz_string = __commonJS({
9023
9023
  });
9024
9024
  }, "decompress"),
9025
9025
  _decompress: /* @__PURE__ */ __name(function(length, resetValue, getNextValue) {
9026
- 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 };
9026
+ 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 };
9027
9027
  for (i2 = 0; i2 < 3; i2 += 1) {
9028
9028
  dictionary[i2] = i2;
9029
9029
  }
@@ -9055,7 +9055,7 @@ var require_lz_string = __commonJS({
9055
9055
  bits |= (resb > 0 ? 1 : 0) * power;
9056
9056
  power <<= 1;
9057
9057
  }
9058
- c2 = f2(bits);
9058
+ c2 = f3(bits);
9059
9059
  break;
9060
9060
  case 1:
9061
9061
  bits = 0;
@@ -9071,13 +9071,13 @@ var require_lz_string = __commonJS({
9071
9071
  bits |= (resb > 0 ? 1 : 0) * power;
9072
9072
  power <<= 1;
9073
9073
  }
9074
- c2 = f2(bits);
9074
+ c2 = f3(bits);
9075
9075
  break;
9076
9076
  case 2:
9077
9077
  return "";
9078
9078
  }
9079
9079
  dictionary[3] = c2;
9080
- w = c2;
9080
+ w2 = c2;
9081
9081
  result.push(c2);
9082
9082
  while (true) {
9083
9083
  if (data.index > length) {
@@ -9111,7 +9111,7 @@ var require_lz_string = __commonJS({
9111
9111
  bits |= (resb > 0 ? 1 : 0) * power;
9112
9112
  power <<= 1;
9113
9113
  }
9114
- dictionary[dictSize++] = f2(bits);
9114
+ dictionary[dictSize++] = f3(bits);
9115
9115
  c2 = dictSize - 1;
9116
9116
  enlargeIn--;
9117
9117
  break;
@@ -9129,7 +9129,7 @@ var require_lz_string = __commonJS({
9129
9129
  bits |= (resb > 0 ? 1 : 0) * power;
9130
9130
  power <<= 1;
9131
9131
  }
9132
- dictionary[dictSize++] = f2(bits);
9132
+ dictionary[dictSize++] = f3(bits);
9133
9133
  c2 = dictSize - 1;
9134
9134
  enlargeIn--;
9135
9135
  break;
@@ -9144,15 +9144,15 @@ var require_lz_string = __commonJS({
9144
9144
  entry = dictionary[c2];
9145
9145
  } else {
9146
9146
  if (c2 === dictSize) {
9147
- entry = w + w.charAt(0);
9147
+ entry = w2 + w2.charAt(0);
9148
9148
  } else {
9149
9149
  return null;
9150
9150
  }
9151
9151
  }
9152
9152
  result.push(entry);
9153
- dictionary[dictSize++] = w + entry.charAt(0);
9153
+ dictionary[dictSize++] = w2 + entry.charAt(0);
9154
9154
  enlargeIn--;
9155
- w = entry;
9155
+ w2 = entry;
9156
9156
  if (enlargeIn == 0) {
9157
9157
  enlargeIn = Math.pow(2, numBits);
9158
9158
  numBits++;
@@ -10832,20 +10832,20 @@ function stringDistanceCapped(strA, strB, cap) {
10832
10832
  memo[i2] = Array(strB.length + 1).fill(0);
10833
10833
  memo[i2][0] = i2;
10834
10834
  }
10835
- for (let j = 0; j < strB.length; j++) {
10836
- memo[0][j] = j;
10835
+ for (let j2 = 0; j2 < strB.length; j2++) {
10836
+ memo[0][j2] = j2;
10837
10837
  }
10838
10838
  for (let i2 = 1; i2 <= strA.length; i2++) {
10839
10839
  let ch = strA.charCodeAt(i2 - 1);
10840
- for (let j = 1; j <= strB.length; j++) {
10841
- if (Math.abs(i2 - j) >= cap) {
10842
- memo[i2][j] = cap;
10840
+ for (let j2 = 1; j2 <= strB.length; j2++) {
10841
+ if (Math.abs(i2 - j2) >= cap) {
10842
+ memo[i2][j2] = cap;
10843
10843
  continue;
10844
10844
  }
10845
- memo[i2][j] = Math.min(
10846
- memo[i2 - 1][j] + 1,
10847
- memo[i2][j - 1] + 1,
10848
- memo[i2 - 1][j - 1] + (ch === strB.charCodeAt(j - 1) ? 0 : 1)
10845
+ memo[i2][j2] = Math.min(
10846
+ memo[i2 - 1][j2] + 1,
10847
+ memo[i2][j2 - 1] + 1,
10848
+ memo[i2 - 1][j2 - 1] + (ch === strB.charCodeAt(j2 - 1) ? 0 : 1)
10849
10849
  );
10850
10850
  }
10851
10851
  }
@@ -11006,8 +11006,8 @@ function overwriteChainableMethod(ctx, name, method, chainingBehavior) {
11006
11006
  }
11007
11007
  __name(overwriteChainableMethod, "overwriteChainableMethod");
11008
11008
  __name2(overwriteChainableMethod, "overwriteChainableMethod");
11009
- function compareByInspect(a, b) {
11010
- return inspect2(a) < inspect2(b) ? -1 : 1;
11009
+ function compareByInspect(a, b2) {
11010
+ return inspect2(a) < inspect2(b2) ? -1 : 1;
11011
11011
  }
11012
11012
  __name(compareByInspect, "compareByInspect");
11013
11013
  __name2(compareByInspect, "compareByInspect");
@@ -11150,8 +11150,8 @@ __name(an, "an");
11150
11150
  __name2(an, "an");
11151
11151
  Assertion.addChainableMethod("an", an);
11152
11152
  Assertion.addChainableMethod("a", an);
11153
- function SameValueZero(a, b) {
11154
- return isNaN22(a) && isNaN22(b) || a === b;
11153
+ function SameValueZero(a, b2) {
11154
+ return isNaN22(a) && isNaN22(b2) || a === b2;
11155
11155
  }
11156
11156
  __name(SameValueZero, "SameValueZero");
11157
11157
  __name2(SameValueZero, "SameValueZero");
@@ -12116,7 +12116,7 @@ function closeTo(expected, delta, msg) {
12116
12116
  );
12117
12117
  }
12118
12118
  new Assertion(expected, flagMsg, ssfi, true).is.numeric;
12119
- const abs = __name2((x) => x < 0n ? -x : x, "abs");
12119
+ const abs = __name2((x2) => x2 < 0n ? -x2 : x2, "abs");
12120
12120
  const strip = __name2((number) => parseFloat(parseFloat(number).toPrecision(12)), "strip");
12121
12121
  this.assert(
12122
12122
  strip(abs(obj - expected)) <= delta,
@@ -13461,43 +13461,43 @@ function c(t2, e2) {
13461
13461
  __name(c, "c");
13462
13462
  var m = /* @__PURE__ */ __name((s3, a) => {
13463
13463
  a = a || {};
13464
- let m2 = 1, h = 1;
13465
- function u2() {
13466
- const t2 = { line: m2, column: h };
13467
- return (i2) => (i2.position = new e(t2, { line: m2, column: h }, a?.source || ""), $(), i2);
13464
+ let m2 = 1, h2 = 1;
13465
+ function u3() {
13466
+ const t2 = { line: m2, column: h2 };
13467
+ return (i2) => (i2.position = new e(t2, { line: m2, column: h2 }, a?.source || ""), $(), i2);
13468
13468
  }
13469
- __name(u2, "u");
13469
+ __name(u3, "u");
13470
13470
  const p = [];
13471
- function l(e2) {
13472
- const i2 = new t(a?.source || "", e2, m2, h, s3);
13471
+ function l2(e2) {
13472
+ const i2 = new t(a?.source || "", e2, m2, h2, s3);
13473
13473
  if (!a?.silent) throw i2;
13474
13474
  p.push(i2);
13475
13475
  }
13476
- __name(l, "l");
13477
- function f2() {
13476
+ __name(l2, "l");
13477
+ function f3() {
13478
13478
  const t2 = /^{\s*/.exec(s3);
13479
13479
  return !!t2 && (g2(t2), true);
13480
13480
  }
13481
- __name(f2, "f");
13481
+ __name(f3, "f");
13482
13482
  function d() {
13483
13483
  const t2 = /^}/.exec(s3);
13484
13484
  return !!t2 && (g2(t2), true);
13485
13485
  }
13486
13486
  __name(d, "d");
13487
- function y() {
13487
+ function y2() {
13488
13488
  let t2;
13489
13489
  const e2 = [];
13490
- for ($(), x(e2); s3.length && "}" !== s3.charAt(0) && (t2 = A() || S(), t2); ) e2.push(t2), x(e2);
13490
+ for ($(), x2(e2); s3.length && "}" !== s3.charAt(0) && (t2 = A() || S2(), t2); ) e2.push(t2), x2(e2);
13491
13491
  return e2;
13492
13492
  }
13493
- __name(y, "y");
13493
+ __name(y2, "y");
13494
13494
  function g2(t2) {
13495
13495
  const e2 = t2[0];
13496
13496
  return function(t3) {
13497
13497
  const e3 = t3.match(/\n/g);
13498
13498
  e3 && (m2 += e3.length);
13499
13499
  const i2 = t3.lastIndexOf("\n");
13500
- h = ~i2 ? t3.length - i2 : h + t3.length;
13500
+ h2 = ~i2 ? t3.length - i2 : h2 + t3.length;
13501
13501
  }(e2), s3 = s3.slice(e2.length), t2;
13502
13502
  }
13503
13503
  __name(g2, "g");
@@ -13506,21 +13506,21 @@ var m = /* @__PURE__ */ __name((s3, a) => {
13506
13506
  t2 && g2(t2);
13507
13507
  }
13508
13508
  __name($, "$");
13509
- function x(t2) {
13509
+ function x2(t2) {
13510
13510
  t2 = t2 || [];
13511
13511
  let e2 = V();
13512
13512
  for (; e2; ) t2.push(e2), e2 = V();
13513
13513
  return t2;
13514
13514
  }
13515
- __name(x, "x");
13515
+ __name(x2, "x");
13516
13516
  function V() {
13517
- const t2 = u2();
13517
+ const t2 = u3();
13518
13518
  if ("/" !== s3.charAt(0) || "*" !== s3.charAt(1)) return;
13519
13519
  const e2 = /^\/\*[^]*?\*\//.exec(s3);
13520
- return e2 ? (g2(e2), t2({ type: i.comment, comment: e2[0].slice(2, -2) })) : l("End of comment missing");
13520
+ return e2 ? (g2(e2), t2({ type: i.comment, comment: e2[0].slice(2, -2) })) : l2("End of comment missing");
13521
13521
  }
13522
13522
  __name(V, "V");
13523
- function k() {
13523
+ function k2() {
13524
13524
  const t2 = /^([^{]+)/.exec(s3);
13525
13525
  if (!t2) return;
13526
13526
  g2(t2);
@@ -13535,35 +13535,35 @@ var m = /* @__PURE__ */ __name((s3, a) => {
13535
13535
  return i2;
13536
13536
  })(o(t2[0]).replace(r, ""), [","]).map((t3) => o(t3));
13537
13537
  }
13538
- __name(k, "k");
13539
- function v() {
13540
- const t2 = u2(), e2 = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/.exec(s3);
13538
+ __name(k2, "k");
13539
+ function v2() {
13540
+ const t2 = u3(), e2 = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/.exec(s3);
13541
13541
  if (!e2) return;
13542
13542
  g2(e2);
13543
13543
  const c2 = o(e2[0]), a2 = /^:\s*/.exec(s3);
13544
- if (!a2) return l("property missing ':'");
13544
+ if (!a2) return l2("property missing ':'");
13545
13545
  g2(a2);
13546
13546
  let m3 = "";
13547
- const h2 = n(s3, [";", "}"]);
13548
- if (-1 !== h2) {
13549
- m3 = s3.substring(0, h2);
13547
+ const h3 = n(s3, [";", "}"]);
13548
+ if (-1 !== h3) {
13549
+ m3 = s3.substring(0, h3);
13550
13550
  g2([m3]), m3 = o(m3).replace(r, "");
13551
13551
  }
13552
- const p2 = t2({ type: i.declaration, property: c2.replace(r, ""), value: m3 }), f3 = /^[;\s]*/.exec(s3);
13553
- return f3 && g2(f3), p2;
13552
+ const p2 = t2({ type: i.declaration, property: c2.replace(r, ""), value: m3 }), f4 = /^[;\s]*/.exec(s3);
13553
+ return f4 && g2(f4), p2;
13554
13554
  }
13555
- __name(v, "v");
13556
- function w() {
13555
+ __name(v2, "v");
13556
+ function w2() {
13557
13557
  const t2 = [];
13558
- if (!f2()) return l("missing '{'");
13559
- x(t2);
13560
- let e2 = v();
13561
- for (; e2; ) t2.push(e2), x(t2), e2 = v();
13562
- return d() ? t2 : l("missing '}'");
13563
- }
13564
- __name(w, "w");
13565
- function b() {
13566
- const t2 = [], e2 = u2();
13558
+ if (!f3()) return l2("missing '{'");
13559
+ x2(t2);
13560
+ let e2 = v2();
13561
+ for (; e2; ) t2.push(e2), x2(t2), e2 = v2();
13562
+ return d() ? t2 : l2("missing '}'");
13563
+ }
13564
+ __name(w2, "w");
13565
+ function b2() {
13566
+ const t2 = [], e2 = u3();
13567
13567
  let n2 = /^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/.exec(s3);
13568
13568
  for (; n2; ) {
13569
13569
  const e3 = g2(n2);
@@ -13571,112 +13571,112 @@ var m = /* @__PURE__ */ __name((s3, a) => {
13571
13571
  const i2 = /^,\s*/.exec(s3);
13572
13572
  i2 && g2(i2), n2 = /^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/.exec(s3);
13573
13573
  }
13574
- if (t2.length) return e2({ type: i.keyframe, values: t2, declarations: w() || [] });
13574
+ if (t2.length) return e2({ type: i.keyframe, values: t2, declarations: w2() || [] });
13575
13575
  }
13576
- __name(b, "b");
13577
- const j = M("import"), O = M("charset"), E = M("namespace");
13578
- function M(t2) {
13576
+ __name(b2, "b");
13577
+ const j2 = M2("import"), O = M2("charset"), E2 = M2("namespace");
13578
+ function M2(t2) {
13579
13579
  const e2 = new RegExp("^@" + t2 + `\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);
13580
13580
  return () => {
13581
- const i2 = u2(), n2 = e2.exec(s3);
13581
+ const i2 = u3(), n2 = e2.exec(s3);
13582
13582
  if (!n2) return;
13583
13583
  const r2 = g2(n2), o2 = { type: t2 };
13584
13584
  return o2[t2] = r2[1].trim(), i2(o2);
13585
13585
  };
13586
13586
  }
13587
- __name(M, "M");
13587
+ __name(M2, "M");
13588
13588
  function A() {
13589
13589
  if ("@" === s3[0]) return function() {
13590
- const t2 = u2(), e2 = /^@([-\w]+)?keyframes\s*/.exec(s3);
13590
+ const t2 = u3(), e2 = /^@([-\w]+)?keyframes\s*/.exec(s3);
13591
13591
  if (!e2) return;
13592
13592
  const n2 = g2(e2)[1], r2 = /^([-\w]+)\s*/.exec(s3);
13593
- if (!r2) return l("@keyframes missing name");
13593
+ if (!r2) return l2("@keyframes missing name");
13594
13594
  const o2 = g2(r2)[1];
13595
- if (!f2()) return l("@keyframes missing '{'");
13596
- let c2 = x(), a2 = b();
13597
- for (; a2; ) c2.push(a2), c2 = c2.concat(x()), a2 = b();
13598
- return d() ? t2({ type: i.keyframes, name: o2, vendor: n2, keyframes: c2 }) : l("@keyframes missing '}'");
13595
+ if (!f3()) return l2("@keyframes missing '{'");
13596
+ let c2 = x2(), a2 = b2();
13597
+ for (; a2; ) c2.push(a2), c2 = c2.concat(x2()), a2 = b2();
13598
+ return d() ? t2({ type: i.keyframes, name: o2, vendor: n2, keyframes: c2 }) : l2("@keyframes missing '}'");
13599
13599
  }() || function() {
13600
- const t2 = u2(), e2 = /^@media *([^{]+)/.exec(s3);
13600
+ const t2 = u3(), e2 = /^@media *([^{]+)/.exec(s3);
13601
13601
  if (!e2) return;
13602
13602
  const n2 = o(g2(e2)[1]);
13603
- if (!f2()) return l("@media missing '{'");
13604
- const r2 = x().concat(y());
13605
- return d() ? t2({ type: i.media, media: n2, rules: r2 }) : l("@media missing '}'");
13603
+ if (!f3()) return l2("@media missing '{'");
13604
+ const r2 = x2().concat(y2());
13605
+ return d() ? t2({ type: i.media, media: n2, rules: r2 }) : l2("@media missing '}'");
13606
13606
  }() || function() {
13607
- const t2 = u2(), e2 = /^@custom-media\s+(--\S+)\s+([^{;\s][^{;]*);/.exec(s3);
13607
+ const t2 = u3(), e2 = /^@custom-media\s+(--\S+)\s+([^{;\s][^{;]*);/.exec(s3);
13608
13608
  if (!e2) return;
13609
13609
  const n2 = g2(e2);
13610
13610
  return t2({ type: i.customMedia, name: o(n2[1]), media: o(n2[2]) });
13611
13611
  }() || function() {
13612
- const t2 = u2(), e2 = /^@supports *([^{]+)/.exec(s3);
13612
+ const t2 = u3(), e2 = /^@supports *([^{]+)/.exec(s3);
13613
13613
  if (!e2) return;
13614
13614
  const n2 = o(g2(e2)[1]);
13615
- if (!f2()) return l("@supports missing '{'");
13616
- const r2 = x().concat(y());
13617
- return d() ? t2({ type: i.supports, supports: n2, rules: r2 }) : l("@supports missing '}'");
13618
- }() || j() || O() || E() || function() {
13619
- const t2 = u2(), e2 = /^@([-\w]+)?document *([^{]+)/.exec(s3);
13615
+ if (!f3()) return l2("@supports missing '{'");
13616
+ const r2 = x2().concat(y2());
13617
+ return d() ? t2({ type: i.supports, supports: n2, rules: r2 }) : l2("@supports missing '}'");
13618
+ }() || j2() || O() || E2() || function() {
13619
+ const t2 = u3(), e2 = /^@([-\w]+)?document *([^{]+)/.exec(s3);
13620
13620
  if (!e2) return;
13621
13621
  const n2 = g2(e2), r2 = o(n2[1]), c2 = o(n2[2]);
13622
- if (!f2()) return l("@document missing '{'");
13623
- const a2 = x().concat(y());
13624
- return d() ? t2({ type: i.document, document: c2, vendor: r2, rules: a2 }) : l("@document missing '}'");
13622
+ if (!f3()) return l2("@document missing '{'");
13623
+ const a2 = x2().concat(y2());
13624
+ return d() ? t2({ type: i.document, document: c2, vendor: r2, rules: a2 }) : l2("@document missing '}'");
13625
13625
  }() || function() {
13626
- const t2 = u2(), e2 = /^@page */.exec(s3);
13626
+ const t2 = u3(), e2 = /^@page */.exec(s3);
13627
13627
  if (!e2) return;
13628
13628
  g2(e2);
13629
- const n2 = k() || [];
13630
- if (!f2()) return l("@page missing '{'");
13631
- let r2 = x(), o2 = v();
13632
- for (; o2; ) r2.push(o2), r2 = r2.concat(x()), o2 = v();
13633
- return d() ? t2({ type: i.page, selectors: n2, declarations: r2 }) : l("@page missing '}'");
13629
+ const n2 = k2() || [];
13630
+ if (!f3()) return l2("@page missing '{'");
13631
+ let r2 = x2(), o2 = v2();
13632
+ for (; o2; ) r2.push(o2), r2 = r2.concat(x2()), o2 = v2();
13633
+ return d() ? t2({ type: i.page, selectors: n2, declarations: r2 }) : l2("@page missing '}'");
13634
13634
  }() || function() {
13635
- const t2 = u2(), e2 = /^@host\s*/.exec(s3);
13635
+ const t2 = u3(), e2 = /^@host\s*/.exec(s3);
13636
13636
  if (!e2) return;
13637
- if (g2(e2), !f2()) return l("@host missing '{'");
13638
- const n2 = x().concat(y());
13639
- return d() ? t2({ type: i.host, rules: n2 }) : l("@host missing '}'");
13637
+ if (g2(e2), !f3()) return l2("@host missing '{'");
13638
+ const n2 = x2().concat(y2());
13639
+ return d() ? t2({ type: i.host, rules: n2 }) : l2("@host missing '}'");
13640
13640
  }() || function() {
13641
- const t2 = u2(), e2 = /^@font-face\s*/.exec(s3);
13641
+ const t2 = u3(), e2 = /^@font-face\s*/.exec(s3);
13642
13642
  if (!e2) return;
13643
- if (g2(e2), !f2()) return l("@font-face missing '{'");
13644
- let n2 = x(), r2 = v();
13645
- for (; r2; ) n2.push(r2), n2 = n2.concat(x()), r2 = v();
13646
- return d() ? t2({ type: i.fontFace, declarations: n2 }) : l("@font-face missing '}'");
13643
+ if (g2(e2), !f3()) return l2("@font-face missing '{'");
13644
+ let n2 = x2(), r2 = v2();
13645
+ for (; r2; ) n2.push(r2), n2 = n2.concat(x2()), r2 = v2();
13646
+ return d() ? t2({ type: i.fontFace, declarations: n2 }) : l2("@font-face missing '}'");
13647
13647
  }() || function() {
13648
- const t2 = u2(), e2 = /^@container *([^{]+)/.exec(s3);
13648
+ const t2 = u3(), e2 = /^@container *([^{]+)/.exec(s3);
13649
13649
  if (!e2) return;
13650
13650
  const n2 = o(g2(e2)[1]);
13651
- if (!f2()) return l("@container missing '{'");
13652
- const r2 = x().concat(y());
13653
- return d() ? t2({ type: i.container, container: n2, rules: r2 }) : l("@container missing '}'");
13651
+ if (!f3()) return l2("@container missing '{'");
13652
+ const r2 = x2().concat(y2());
13653
+ return d() ? t2({ type: i.container, container: n2, rules: r2 }) : l2("@container missing '}'");
13654
13654
  }() || function() {
13655
- const t2 = u2(), e2 = /^@starting-style\s*/.exec(s3);
13655
+ const t2 = u3(), e2 = /^@starting-style\s*/.exec(s3);
13656
13656
  if (!e2) return;
13657
- if (g2(e2), !f2()) return l("@starting-style missing '{'");
13658
- const n2 = x().concat(y());
13659
- return d() ? t2({ type: i.startingStyle, rules: n2 }) : l("@starting-style missing '}'");
13657
+ if (g2(e2), !f3()) return l2("@starting-style missing '{'");
13658
+ const n2 = x2().concat(y2());
13659
+ return d() ? t2({ type: i.startingStyle, rules: n2 }) : l2("@starting-style missing '}'");
13660
13660
  }() || function() {
13661
- const t2 = u2(), e2 = /^@layer *([^{;@]+)/.exec(s3);
13661
+ const t2 = u3(), e2 = /^@layer *([^{;@]+)/.exec(s3);
13662
13662
  if (!e2) return;
13663
13663
  const n2 = o(g2(e2)[1]);
13664
- if (!f2()) {
13664
+ if (!f3()) {
13665
13665
  const e3 = /^[;\s]*/.exec(s3);
13666
13666
  return e3 && g2(e3), t2({ type: i.layer, layer: n2 });
13667
13667
  }
13668
- const r2 = x().concat(y());
13669
- return d() ? t2({ type: i.layer, layer: n2, rules: r2 }) : l("@layer missing '}'");
13668
+ const r2 = x2().concat(y2());
13669
+ return d() ? t2({ type: i.layer, layer: n2, rules: r2 }) : l2("@layer missing '}'");
13670
13670
  }();
13671
13671
  }
13672
13672
  __name(A, "A");
13673
- function S() {
13674
- const t2 = u2(), e2 = k();
13675
- return e2 ? (x(), t2({ type: i.rule, selectors: e2, declarations: w() || [] })) : l("selector missing");
13673
+ function S2() {
13674
+ const t2 = u3(), e2 = k2();
13675
+ return e2 ? (x2(), t2({ type: i.rule, selectors: e2, declarations: w2() || [] })) : l2("selector missing");
13676
13676
  }
13677
- __name(S, "S");
13677
+ __name(S2, "S");
13678
13678
  return c(function() {
13679
- const t2 = y();
13679
+ const t2 = y2();
13680
13680
  return { type: i.stylesheet, stylesheet: { source: a?.source, rules: t2, parsingErrors: p } };
13681
13681
  }());
13682
13682
  }, "m");
@@ -13717,16 +13717,16 @@ function arrayFrom(arrayLike, mapFn) {
13717
13717
  }
13718
13718
  var len = toLength(items.length);
13719
13719
  var A = isCallable(C) ? Object(new C(len)) : new Array(len);
13720
- var k = 0;
13720
+ var k2 = 0;
13721
13721
  var kValue;
13722
- while (k < len) {
13723
- kValue = items[k];
13722
+ while (k2 < len) {
13723
+ kValue = items[k2];
13724
13724
  if (mapFn) {
13725
- A[k] = mapFn(kValue, k);
13725
+ A[k2] = mapFn(kValue, k2);
13726
13726
  } else {
13727
- A[k] = kValue;
13727
+ A[k2] = kValue;
13728
13728
  }
13729
- k += 1;
13729
+ k2 += 1;
13730
13730
  }
13731
13731
  A.length = len;
13732
13732
  return A;
@@ -14812,7 +14812,7 @@ function toSentence(array, { wordConnector = ", ", lastWordConnector = " and " }
14812
14812
  __name(toSentence, "toSentence");
14813
14813
  function compareAsSet(val1, val2) {
14814
14814
  if (Array.isArray(val1) && Array.isArray(val2)) {
14815
- return [...new Set(val1)].every((v) => new Set(val2).has(v));
14815
+ return [...new Set(val1)].every((v2) => new Set(val2).has(v2));
14816
14816
  }
14817
14817
  return val1 === val2;
14818
14818
  }
@@ -16636,179 +16636,179 @@ var reservedWordsStrictSet = new Set(reservedWords.strict);
16636
16636
  var SAFE_TIMERS_SYMBOL = Symbol("vitest:SAFE_TIMERS");
16637
16637
 
16638
16638
  // ../node_modules/@vitest/spy/node_modules/tinyspy/dist/index.js
16639
- function assert2(condition, message) {
16640
- if (!condition)
16641
- throw new Error(message);
16642
- }
16643
- __name(assert2, "assert");
16644
- function isType(type5, value) {
16645
- return typeof value === type5;
16646
- }
16647
- __name(isType, "isType");
16648
- function isPromise(value) {
16649
- return value instanceof Promise;
16650
- }
16651
- __name(isPromise, "isPromise");
16652
- function define2(obj, key, descriptor) {
16653
- Object.defineProperty(obj, key, descriptor);
16654
- }
16655
- __name(define2, "define");
16656
- function defineValue(obj, key, value) {
16657
- define2(obj, key, { value, configurable: true, writable: true });
16658
- }
16659
- __name(defineValue, "defineValue");
16660
- var SYMBOL_STATE = Symbol.for("tinyspy:spy");
16661
- var spies = /* @__PURE__ */ new Set();
16662
- var reset = /* @__PURE__ */ __name((state) => {
16663
- state.called = false, state.callCount = 0, state.calls = [], state.results = [], state.resolves = [], state.next = [];
16664
- }, "reset");
16665
- var defineState = /* @__PURE__ */ __name((spy2) => (define2(spy2, SYMBOL_STATE, {
16666
- value: { reset: /* @__PURE__ */ __name(() => reset(spy2[SYMBOL_STATE]), "reset") }
16667
- }), spy2[SYMBOL_STATE]), "defineState");
16668
- var getInternalState = /* @__PURE__ */ __name((spy2) => spy2[SYMBOL_STATE] || defineState(spy2), "getInternalState");
16669
- function createInternalSpy(cb) {
16670
- assert2(
16671
- isType("function", cb) || isType("undefined", cb),
16639
+ function S(e2, t2) {
16640
+ if (!e2)
16641
+ throw new Error(t2);
16642
+ }
16643
+ __name(S, "S");
16644
+ function f(e2, t2) {
16645
+ return typeof t2 === e2;
16646
+ }
16647
+ __name(f, "f");
16648
+ function w(e2) {
16649
+ return e2 instanceof Promise;
16650
+ }
16651
+ __name(w, "w");
16652
+ function u(e2, t2, r2) {
16653
+ Object.defineProperty(e2, t2, r2);
16654
+ }
16655
+ __name(u, "u");
16656
+ function l(e2, t2, r2) {
16657
+ u(e2, t2, { value: r2, configurable: true, writable: true });
16658
+ }
16659
+ __name(l, "l");
16660
+ var y = Symbol.for("tinyspy:spy");
16661
+ var x = /* @__PURE__ */ new Set();
16662
+ var h = /* @__PURE__ */ __name((e2) => {
16663
+ e2.called = false, e2.callCount = 0, e2.calls = [], e2.results = [], e2.resolves = [], e2.next = [];
16664
+ }, "h");
16665
+ var k = /* @__PURE__ */ __name((e2) => (u(e2, y, {
16666
+ value: { reset: /* @__PURE__ */ __name(() => h(e2[y]), "reset") }
16667
+ }), e2[y]), "k");
16668
+ var T = /* @__PURE__ */ __name((e2) => e2[y] || k(e2), "T");
16669
+ function R(e2) {
16670
+ S(
16671
+ f("function", e2) || f("undefined", e2),
16672
16672
  "cannot spy on a non-function value"
16673
16673
  );
16674
- let fn3 = /* @__PURE__ */ __name(function(...args) {
16675
- let state2 = getInternalState(fn3);
16676
- state2.called = true, state2.callCount++, state2.calls.push(args);
16677
- let next = state2.next.shift();
16678
- if (next) {
16679
- state2.results.push(next);
16680
- let [type22, result2] = next;
16681
- if (type22 === "ok")
16682
- return result2;
16683
- throw result2;
16684
- }
16685
- let result, type5 = "ok", resultIndex = state2.results.length;
16686
- if (state2.impl)
16674
+ let t2 = /* @__PURE__ */ __name(function(...s3) {
16675
+ let n2 = T(t2);
16676
+ n2.called = true, n2.callCount++, n2.calls.push(s3);
16677
+ let d = n2.next.shift();
16678
+ if (d) {
16679
+ n2.results.push(d);
16680
+ let [a, i2] = d;
16681
+ if (a === "ok")
16682
+ return i2;
16683
+ throw i2;
16684
+ }
16685
+ let o2, c2 = "ok", p = n2.results.length;
16686
+ if (n2.impl)
16687
16687
  try {
16688
- new.target ? result = Reflect.construct(state2.impl, args, new.target) : result = state2.impl.apply(this, args), type5 = "ok";
16689
- } catch (err) {
16690
- throw result = err, type5 = "error", state2.results.push([type5, err]), err;
16691
- }
16692
- let resultTuple = [type5, result];
16693
- return isPromise(result) && result.then(
16694
- (r2) => state2.resolves[resultIndex] = ["ok", r2],
16695
- (e2) => state2.resolves[resultIndex] = ["error", e2]
16696
- ), state2.results.push(resultTuple), result;
16697
- }, "fn");
16698
- defineValue(fn3, "_isMockFunction", true), defineValue(fn3, "length", cb ? cb.length : 0), defineValue(fn3, "name", cb && cb.name || "spy");
16699
- let state = getInternalState(fn3);
16700
- return state.reset(), state.impl = cb, fn3;
16701
- }
16702
- __name(createInternalSpy, "createInternalSpy");
16703
- function isMockFunction(obj) {
16704
- return !!obj && obj._isMockFunction === true;
16705
- }
16706
- __name(isMockFunction, "isMockFunction");
16707
- var getDescriptor = /* @__PURE__ */ __name((obj, method) => {
16708
- let objDescriptor = Object.getOwnPropertyDescriptor(obj, method);
16709
- if (objDescriptor)
16710
- return [obj, objDescriptor];
16711
- let currentProto = Object.getPrototypeOf(obj);
16712
- for (; currentProto !== null; ) {
16713
- let descriptor = Object.getOwnPropertyDescriptor(currentProto, method);
16714
- if (descriptor)
16715
- return [currentProto, descriptor];
16716
- currentProto = Object.getPrototypeOf(currentProto);
16717
- }
16718
- }, "getDescriptor");
16719
- var setPototype = /* @__PURE__ */ __name((fn3, val) => {
16720
- val != null && typeof val == "function" && val.prototype != null && Object.setPrototypeOf(fn3.prototype, val.prototype);
16721
- }, "setPototype");
16722
- function internalSpyOn(obj, methodName, mock) {
16723
- assert2(
16724
- !isType("undefined", obj),
16688
+ new.target ? o2 = Reflect.construct(n2.impl, s3, new.target) : o2 = n2.impl.apply(this, s3), c2 = "ok";
16689
+ } catch (a) {
16690
+ throw o2 = a, c2 = "error", n2.results.push([c2, a]), a;
16691
+ }
16692
+ let g2 = [c2, o2];
16693
+ return w(o2) && o2.then(
16694
+ (a) => n2.resolves[p] = ["ok", a],
16695
+ (a) => n2.resolves[p] = ["error", a]
16696
+ ), n2.results.push(g2), o2;
16697
+ }, "t");
16698
+ l(t2, "_isMockFunction", true), l(t2, "length", e2 ? e2.length : 0), l(t2, "name", e2 && e2.name || "spy");
16699
+ let r2 = T(t2);
16700
+ return r2.reset(), r2.impl = e2, t2;
16701
+ }
16702
+ __name(R, "R");
16703
+ function v(e2) {
16704
+ return !!e2 && e2._isMockFunction === true;
16705
+ }
16706
+ __name(v, "v");
16707
+ var b = /* @__PURE__ */ __name((e2, t2) => {
16708
+ let r2 = Object.getOwnPropertyDescriptor(e2, t2);
16709
+ if (r2)
16710
+ return [e2, r2];
16711
+ let s3 = Object.getPrototypeOf(e2);
16712
+ for (; s3 !== null; ) {
16713
+ let n2 = Object.getOwnPropertyDescriptor(s3, t2);
16714
+ if (n2)
16715
+ return [s3, n2];
16716
+ s3 = Object.getPrototypeOf(s3);
16717
+ }
16718
+ }, "b");
16719
+ var P = /* @__PURE__ */ __name((e2, t2) => {
16720
+ t2 != null && typeof t2 == "function" && t2.prototype != null && Object.setPrototypeOf(e2.prototype, t2.prototype);
16721
+ }, "P");
16722
+ function M(e2, t2, r2) {
16723
+ S(
16724
+ !f("undefined", e2),
16725
16725
  "spyOn could not find an object to spy upon"
16726
- ), assert2(
16727
- isType("object", obj) || isType("function", obj),
16726
+ ), S(
16727
+ f("object", e2) || f("function", e2),
16728
16728
  "cannot spyOn on a primitive value"
16729
16729
  );
16730
- let [accessName, accessType] = (() => {
16731
- if (!isType("object", methodName))
16732
- return [methodName, "value"];
16733
- if ("getter" in methodName && "setter" in methodName)
16730
+ let [s3, n2] = (() => {
16731
+ if (!f("object", t2))
16732
+ return [t2, "value"];
16733
+ if ("getter" in t2 && "setter" in t2)
16734
16734
  throw new Error("cannot spy on both getter and setter");
16735
- if ("getter" in methodName)
16736
- return [methodName.getter, "get"];
16737
- if ("setter" in methodName)
16738
- return [methodName.setter, "set"];
16735
+ if ("getter" in t2)
16736
+ return [t2.getter, "get"];
16737
+ if ("setter" in t2)
16738
+ return [t2.setter, "set"];
16739
16739
  throw new Error("specify getter or setter to spy on");
16740
- })(), [originalDescriptorObject, originalDescriptor] = getDescriptor(obj, accessName) || [];
16741
- assert2(
16742
- originalDescriptor || accessName in obj,
16743
- `${String(accessName)} does not exist`
16740
+ })(), [d, o2] = b(e2, s3) || [];
16741
+ S(
16742
+ o2 || s3 in e2,
16743
+ `${String(s3)} does not exist`
16744
16744
  );
16745
- let ssr = false;
16746
- accessType === "value" && originalDescriptor && !originalDescriptor.value && originalDescriptor.get && (accessType = "get", ssr = true, mock = originalDescriptor.get());
16747
- let original;
16748
- originalDescriptor ? original = originalDescriptor[accessType] : accessType !== "value" ? original = /* @__PURE__ */ __name(() => obj[accessName], "original") : original = obj[accessName], original && isSpyFunction(original) && (original = original[SYMBOL_STATE].getOriginal());
16749
- let reassign = /* @__PURE__ */ __name((cb) => {
16750
- let { value, ...desc } = originalDescriptor || {
16745
+ let c2 = false;
16746
+ n2 === "value" && o2 && !o2.value && o2.get && (n2 = "get", c2 = true, r2 = o2.get());
16747
+ let p;
16748
+ o2 ? p = o2[n2] : n2 !== "value" ? p = /* @__PURE__ */ __name(() => e2[s3], "p") : p = e2[s3], p && j(p) && (p = p[y].getOriginal());
16749
+ let g2 = /* @__PURE__ */ __name((I) => {
16750
+ let { value: F, ...O } = o2 || {
16751
16751
  configurable: true,
16752
16752
  writable: true
16753
16753
  };
16754
- accessType !== "value" && delete desc.writable, desc[accessType] = cb, define2(obj, accessName, desc);
16755
- }, "reassign"), restore = /* @__PURE__ */ __name(() => {
16756
- originalDescriptorObject !== obj ? Reflect.deleteProperty(obj, accessName) : originalDescriptor && !original ? define2(obj, accessName, originalDescriptor) : reassign(original);
16757
- }, "restore");
16758
- mock || (mock = original);
16759
- let spy2 = wrap(createInternalSpy(mock), mock);
16760
- accessType === "value" && setPototype(spy2, original);
16761
- let state = spy2[SYMBOL_STATE];
16762
- return defineValue(state, "restore", restore), defineValue(state, "getOriginal", () => ssr ? original() : original), defineValue(state, "willCall", (newCb) => (state.impl = newCb, spy2)), reassign(
16763
- ssr ? () => (setPototype(spy2, mock), spy2) : spy2
16764
- ), spies.add(spy2), spy2;
16765
- }
16766
- __name(internalSpyOn, "internalSpyOn");
16767
- var ignoreProperties = /* @__PURE__ */ new Set([
16754
+ n2 !== "value" && delete O.writable, O[n2] = I, u(e2, s3, O);
16755
+ }, "g"), a = /* @__PURE__ */ __name(() => {
16756
+ d !== e2 ? Reflect.deleteProperty(e2, s3) : o2 && !p ? u(e2, s3, o2) : g2(p);
16757
+ }, "a");
16758
+ r2 || (r2 = p);
16759
+ let i2 = E(R(r2), r2);
16760
+ n2 === "value" && P(i2, p);
16761
+ let m2 = i2[y];
16762
+ return l(m2, "restore", a), l(m2, "getOriginal", () => c2 ? p() : p), l(m2, "willCall", (I) => (m2.impl = I, i2)), g2(
16763
+ c2 ? () => (P(i2, r2), i2) : i2
16764
+ ), x.add(i2), i2;
16765
+ }
16766
+ __name(M, "M");
16767
+ var K = /* @__PURE__ */ new Set([
16768
16768
  "length",
16769
16769
  "name",
16770
16770
  "prototype"
16771
16771
  ]);
16772
- function getAllProperties(original) {
16773
- let properties = /* @__PURE__ */ new Set(), descriptors2 = {};
16774
- for (; original && original !== Object.prototype && original !== Function.prototype; ) {
16775
- let ownProperties = [
16776
- ...Object.getOwnPropertyNames(original),
16777
- ...Object.getOwnPropertySymbols(original)
16772
+ function D(e2) {
16773
+ let t2 = /* @__PURE__ */ new Set(), r2 = {};
16774
+ for (; e2 && e2 !== Object.prototype && e2 !== Function.prototype; ) {
16775
+ let s3 = [
16776
+ ...Object.getOwnPropertyNames(e2),
16777
+ ...Object.getOwnPropertySymbols(e2)
16778
16778
  ];
16779
- for (let prop of ownProperties)
16780
- descriptors2[prop] || ignoreProperties.has(prop) || (properties.add(prop), descriptors2[prop] = Object.getOwnPropertyDescriptor(original, prop));
16781
- original = Object.getPrototypeOf(original);
16779
+ for (let n2 of s3)
16780
+ r2[n2] || K.has(n2) || (t2.add(n2), r2[n2] = Object.getOwnPropertyDescriptor(e2, n2));
16781
+ e2 = Object.getPrototypeOf(e2);
16782
16782
  }
16783
16783
  return {
16784
- properties,
16785
- descriptors: descriptors2
16784
+ properties: t2,
16785
+ descriptors: r2
16786
16786
  };
16787
16787
  }
16788
- __name(getAllProperties, "getAllProperties");
16789
- function wrap(mock, original) {
16790
- if (!original || // the original is already a spy, so it has all the properties
16791
- SYMBOL_STATE in original)
16792
- return mock;
16793
- let { properties, descriptors: descriptors2 } = getAllProperties(original);
16794
- for (let key of properties) {
16795
- let descriptor = descriptors2[key];
16796
- getDescriptor(mock, key) || define2(mock, key, descriptor);
16788
+ __name(D, "D");
16789
+ function E(e2, t2) {
16790
+ if (!t2 || // the original is already a spy, so it has all the properties
16791
+ y in t2)
16792
+ return e2;
16793
+ let { properties: r2, descriptors: s3 } = D(t2);
16794
+ for (let n2 of r2) {
16795
+ let d = s3[n2];
16796
+ b(e2, n2) || u(e2, n2, d);
16797
16797
  }
16798
- return mock;
16798
+ return e2;
16799
16799
  }
16800
- __name(wrap, "wrap");
16801
- function isSpyFunction(obj) {
16802
- return isMockFunction(obj) && "getOriginal" in obj[SYMBOL_STATE];
16800
+ __name(E, "E");
16801
+ function j(e2) {
16802
+ return v(e2) && "getOriginal" in e2[y];
16803
16803
  }
16804
- __name(isSpyFunction, "isSpyFunction");
16804
+ __name(j, "j");
16805
16805
 
16806
16806
  // ../node_modules/@vitest/spy/dist/index.js
16807
16807
  var mocks = /* @__PURE__ */ new Set();
16808
- function isMockFunction2(fn3) {
16808
+ function isMockFunction(fn3) {
16809
16809
  return typeof fn3 === "function" && "_isMockFunction" in fn3 && fn3._isMockFunction;
16810
16810
  }
16811
- __name(isMockFunction2, "isMockFunction");
16811
+ __name(isMockFunction, "isMockFunction");
16812
16812
  function spyOn(obj, method, accessType) {
16813
16813
  const dictionary = {
16814
16814
  get: "getter",
@@ -16816,13 +16816,13 @@ function spyOn(obj, method, accessType) {
16816
16816
  };
16817
16817
  const objMethod = accessType ? { [dictionary[accessType]]: method } : method;
16818
16818
  let state;
16819
- const descriptor = getDescriptor2(obj, method);
16819
+ const descriptor = getDescriptor(obj, method);
16820
16820
  const fn3 = descriptor && descriptor[accessType || "value"];
16821
- if (isMockFunction2(fn3)) {
16821
+ if (isMockFunction(fn3)) {
16822
16822
  state = fn3.mock._state();
16823
16823
  }
16824
16824
  try {
16825
- const stub = internalSpyOn(obj, objMethod);
16825
+ const stub = M(obj, objMethod);
16826
16826
  const spy = enhanceSpy(stub);
16827
16827
  if (state) {
16828
16828
  spy.mock._state(state);
@@ -16845,7 +16845,7 @@ function enhanceSpy(spy) {
16845
16845
  let instances = [];
16846
16846
  let contexts = [];
16847
16847
  let invocations = [];
16848
- const state = getInternalState(spy);
16848
+ const state = T(spy);
16849
16849
  const mockContext = {
16850
16850
  get calls() {
16851
16851
  return state.calls;
@@ -16944,18 +16944,18 @@ function enhanceSpy(spy) {
16944
16944
  implementation = fn3;
16945
16945
  state.willCall(mockCall);
16946
16946
  implementationChangedTemporarily = true;
16947
- const reset2 = /* @__PURE__ */ __name(() => {
16947
+ const reset = /* @__PURE__ */ __name(() => {
16948
16948
  implementation = originalImplementation;
16949
16949
  implementationChangedTemporarily = false;
16950
16950
  }, "reset");
16951
16951
  const result = cb();
16952
16952
  if (typeof result === "object" && result && typeof result.then === "function") {
16953
16953
  return result.then(() => {
16954
- reset2();
16954
+ reset();
16955
16955
  return stub;
16956
16956
  });
16957
16957
  }
16958
- reset2();
16958
+ reset();
16959
16959
  return stub;
16960
16960
  }
16961
16961
  __name(withImplementation, "withImplementation");
@@ -16976,7 +16976,7 @@ function enhanceSpy(spy) {
16976
16976
  }
16977
16977
  __name(enhanceSpy, "enhanceSpy");
16978
16978
  function fn(implementation) {
16979
- const enhancedSpy = enhanceSpy(internalSpyOn({ spy: implementation || function() {
16979
+ const enhancedSpy = enhanceSpy(M({ spy: implementation || function() {
16980
16980
  } }, "spy"));
16981
16981
  if (implementation) {
16982
16982
  enhancedSpy.mockImplementation(implementation);
@@ -16984,7 +16984,7 @@ function fn(implementation) {
16984
16984
  return enhancedSpy;
16985
16985
  }
16986
16986
  __name(fn, "fn");
16987
- function getDescriptor2(obj, method) {
16987
+ function getDescriptor(obj, method) {
16988
16988
  const objDescriptor = Object.getOwnPropertyDescriptor(obj, method);
16989
16989
  if (objDescriptor) {
16990
16990
  return objDescriptor;
@@ -16998,7 +16998,7 @@ function getDescriptor2(obj, method) {
16998
16998
  currentProto = Object.getPrototypeOf(currentProto);
16999
16999
  }
17000
17000
  }
17001
- __name(getDescriptor2, "getDescriptor");
17001
+ __name(getDescriptor, "getDescriptor");
17002
17002
 
17003
17003
  // ../node_modules/@vitest/expect/dist/index.js
17004
17004
  var MATCHERS_OBJECT = Symbol.for("matchers-object");
@@ -17135,9 +17135,9 @@ function getCustomEqualityTesters() {
17135
17135
  return globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters;
17136
17136
  }
17137
17137
  __name(getCustomEqualityTesters, "getCustomEqualityTesters");
17138
- function equals(a, b, customTesters, strictCheck) {
17138
+ function equals(a, b2, customTesters, strictCheck) {
17139
17139
  customTesters = customTesters || [];
17140
- return eq(a, b, [], [], customTesters, strictCheck ? hasKey : hasDefinedKey);
17140
+ return eq(a, b2, [], [], customTesters, strictCheck ? hasKey : hasDefinedKey);
17141
17141
  }
17142
17142
  __name(equals, "equals");
17143
17143
  var functionToString = Function.prototype.toString;
@@ -17145,64 +17145,64 @@ function isAsymmetric(obj) {
17145
17145
  return !!obj && typeof obj === "object" && "asymmetricMatch" in obj && isA("Function", obj.asymmetricMatch);
17146
17146
  }
17147
17147
  __name(isAsymmetric, "isAsymmetric");
17148
- function asymmetricMatch(a, b) {
17148
+ function asymmetricMatch(a, b2) {
17149
17149
  const asymmetricA = isAsymmetric(a);
17150
- const asymmetricB = isAsymmetric(b);
17150
+ const asymmetricB = isAsymmetric(b2);
17151
17151
  if (asymmetricA && asymmetricB) {
17152
17152
  return void 0;
17153
17153
  }
17154
17154
  if (asymmetricA) {
17155
- return a.asymmetricMatch(b);
17155
+ return a.asymmetricMatch(b2);
17156
17156
  }
17157
17157
  if (asymmetricB) {
17158
- return b.asymmetricMatch(a);
17158
+ return b2.asymmetricMatch(a);
17159
17159
  }
17160
17160
  }
17161
17161
  __name(asymmetricMatch, "asymmetricMatch");
17162
- function eq(a, b, aStack, bStack, customTesters, hasKey2) {
17162
+ function eq(a, b2, aStack, bStack, customTesters, hasKey2) {
17163
17163
  let result = true;
17164
- const asymmetricResult = asymmetricMatch(a, b);
17164
+ const asymmetricResult = asymmetricMatch(a, b2);
17165
17165
  if (asymmetricResult !== void 0) {
17166
17166
  return asymmetricResult;
17167
17167
  }
17168
17168
  const testerContext = { equals };
17169
17169
  for (let i2 = 0; i2 < customTesters.length; i2++) {
17170
- const customTesterResult = customTesters[i2].call(testerContext, a, b, customTesters);
17170
+ const customTesterResult = customTesters[i2].call(testerContext, a, b2, customTesters);
17171
17171
  if (customTesterResult !== void 0) {
17172
17172
  return customTesterResult;
17173
17173
  }
17174
17174
  }
17175
- if (typeof URL === "function" && a instanceof URL && b instanceof URL) {
17176
- return a.href === b.href;
17175
+ if (typeof URL === "function" && a instanceof URL && b2 instanceof URL) {
17176
+ return a.href === b2.href;
17177
17177
  }
17178
- if (Object.is(a, b)) {
17178
+ if (Object.is(a, b2)) {
17179
17179
  return true;
17180
17180
  }
17181
- if (a === null || b === null) {
17182
- return a === b;
17181
+ if (a === null || b2 === null) {
17182
+ return a === b2;
17183
17183
  }
17184
17184
  const className = Object.prototype.toString.call(a);
17185
- if (className !== Object.prototype.toString.call(b)) {
17185
+ if (className !== Object.prototype.toString.call(b2)) {
17186
17186
  return false;
17187
17187
  }
17188
17188
  switch (className) {
17189
17189
  case "[object Boolean]":
17190
17190
  case "[object String]":
17191
17191
  case "[object Number]":
17192
- if (typeof a !== typeof b) {
17192
+ if (typeof a !== typeof b2) {
17193
17193
  return false;
17194
- } else if (typeof a !== "object" && typeof b !== "object") {
17195
- return Object.is(a, b);
17194
+ } else if (typeof a !== "object" && typeof b2 !== "object") {
17195
+ return Object.is(a, b2);
17196
17196
  } else {
17197
- return Object.is(a.valueOf(), b.valueOf());
17197
+ return Object.is(a.valueOf(), b2.valueOf());
17198
17198
  }
17199
17199
  case "[object Date]": {
17200
17200
  const numA = +a;
17201
- const numB = +b;
17201
+ const numB = +b2;
17202
17202
  return numA === numB || Number.isNaN(numA) && Number.isNaN(numB);
17203
17203
  }
17204
17204
  case "[object RegExp]":
17205
- return a.source === b.source && a.flags === b.flags;
17205
+ return a.source === b2.source && a.flags === b2.flags;
17206
17206
  case "[object Temporal.Instant]":
17207
17207
  case "[object Temporal.ZonedDateTime]":
17208
17208
  case "[object Temporal.PlainDateTime]":
@@ -17210,32 +17210,32 @@ function eq(a, b, aStack, bStack, customTesters, hasKey2) {
17210
17210
  case "[object Temporal.PlainTime]":
17211
17211
  case "[object Temporal.PlainYearMonth]":
17212
17212
  case "[object Temporal.PlainMonthDay]":
17213
- return a.equals(b);
17213
+ return a.equals(b2);
17214
17214
  case "[object Temporal.Duration]":
17215
- return a.toString() === b.toString();
17215
+ return a.toString() === b2.toString();
17216
17216
  }
17217
- if (typeof a !== "object" || typeof b !== "object") {
17217
+ if (typeof a !== "object" || typeof b2 !== "object") {
17218
17218
  return false;
17219
17219
  }
17220
- if (isDomNode(a) && isDomNode(b)) {
17221
- return a.isEqualNode(b);
17220
+ if (isDomNode(a) && isDomNode(b2)) {
17221
+ return a.isEqualNode(b2);
17222
17222
  }
17223
17223
  let length = aStack.length;
17224
17224
  while (length--) {
17225
17225
  if (aStack[length] === a) {
17226
- return bStack[length] === b;
17227
- } else if (bStack[length] === b) {
17226
+ return bStack[length] === b2;
17227
+ } else if (bStack[length] === b2) {
17228
17228
  return false;
17229
17229
  }
17230
17230
  }
17231
17231
  aStack.push(a);
17232
- bStack.push(b);
17233
- if (className === "[object Array]" && a.length !== b.length) {
17232
+ bStack.push(b2);
17233
+ if (className === "[object Array]" && a.length !== b2.length) {
17234
17234
  return false;
17235
17235
  }
17236
- if (a instanceof Error && b instanceof Error) {
17236
+ if (a instanceof Error && b2 instanceof Error) {
17237
17237
  try {
17238
- return isErrorEqual(a, b, aStack, bStack, customTesters, hasKey2);
17238
+ return isErrorEqual(a, b2, aStack, bStack, customTesters, hasKey2);
17239
17239
  } finally {
17240
17240
  aStack.pop();
17241
17241
  bStack.pop();
@@ -17244,12 +17244,12 @@ function eq(a, b, aStack, bStack, customTesters, hasKey2) {
17244
17244
  const aKeys = keys(a, hasKey2);
17245
17245
  let key;
17246
17246
  let size = aKeys.length;
17247
- if (keys(b, hasKey2).length !== size) {
17247
+ if (keys(b2, hasKey2).length !== size) {
17248
17248
  return false;
17249
17249
  }
17250
17250
  while (size--) {
17251
17251
  key = aKeys[size];
17252
- result = hasKey2(b, key) && eq(a[key], b[key], aStack, bStack, customTesters, hasKey2);
17252
+ result = hasKey2(b2, key) && eq(a[key], b2[key], aStack, bStack, customTesters, hasKey2);
17253
17253
  if (!result) {
17254
17254
  return false;
17255
17255
  }
@@ -17259,15 +17259,15 @@ function eq(a, b, aStack, bStack, customTesters, hasKey2) {
17259
17259
  return result;
17260
17260
  }
17261
17261
  __name(eq, "eq");
17262
- function isErrorEqual(a, b, aStack, bStack, customTesters, hasKey2) {
17263
- let result = Object.getPrototypeOf(a) === Object.getPrototypeOf(b) && a.name === b.name && a.message === b.message;
17264
- if (typeof b.cause !== "undefined") {
17265
- result && (result = eq(a.cause, b.cause, aStack, bStack, customTesters, hasKey2));
17262
+ function isErrorEqual(a, b2, aStack, bStack, customTesters, hasKey2) {
17263
+ let result = Object.getPrototypeOf(a) === Object.getPrototypeOf(b2) && a.name === b2.name && a.message === b2.message;
17264
+ if (typeof b2.cause !== "undefined") {
17265
+ result && (result = eq(a.cause, b2.cause, aStack, bStack, customTesters, hasKey2));
17266
17266
  }
17267
- if (a instanceof AggregateError && b instanceof AggregateError) {
17268
- result && (result = eq(a.errors, b.errors, aStack, bStack, customTesters, hasKey2));
17267
+ if (a instanceof AggregateError && b2 instanceof AggregateError) {
17268
+ result && (result = eq(a.errors, b2.errors, aStack, bStack, customTesters, hasKey2));
17269
17269
  }
17270
- result && (result = eq({ ...a }, { ...b }, aStack, bStack, customTesters, hasKey2));
17270
+ result && (result = eq({ ...a }, { ...b2 }, aStack, bStack, customTesters, hasKey2));
17271
17271
  return result;
17272
17272
  }
17273
17273
  __name(isErrorEqual, "isErrorEqual");
@@ -17335,35 +17335,35 @@ function hasIterator(object) {
17335
17335
  return !!(object != null && object[IteratorSymbol]);
17336
17336
  }
17337
17337
  __name(hasIterator, "hasIterator");
17338
- function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
17339
- if (typeof a !== "object" || typeof b !== "object" || Array.isArray(a) || Array.isArray(b) || !hasIterator(a) || !hasIterator(b)) {
17338
+ function iterableEquality(a, b2, customTesters = [], aStack = [], bStack = []) {
17339
+ if (typeof a !== "object" || typeof b2 !== "object" || Array.isArray(a) || Array.isArray(b2) || !hasIterator(a) || !hasIterator(b2)) {
17340
17340
  return void 0;
17341
17341
  }
17342
- if (a.constructor !== b.constructor) {
17342
+ if (a.constructor !== b2.constructor) {
17343
17343
  return false;
17344
17344
  }
17345
17345
  let length = aStack.length;
17346
17346
  while (length--) {
17347
17347
  if (aStack[length] === a) {
17348
- return bStack[length] === b;
17348
+ return bStack[length] === b2;
17349
17349
  }
17350
17350
  }
17351
17351
  aStack.push(a);
17352
- bStack.push(b);
17352
+ bStack.push(b2);
17353
17353
  const filteredCustomTesters = [...customTesters.filter((t2) => t2 !== iterableEquality), iterableEqualityWithStack];
17354
- function iterableEqualityWithStack(a2, b2) {
17355
- return iterableEquality(a2, b2, [...customTesters], [...aStack], [...bStack]);
17354
+ function iterableEqualityWithStack(a2, b3) {
17355
+ return iterableEquality(a2, b3, [...customTesters], [...aStack], [...bStack]);
17356
17356
  }
17357
17357
  __name(iterableEqualityWithStack, "iterableEqualityWithStack");
17358
17358
  if (a.size !== void 0) {
17359
- if (a.size !== b.size) {
17359
+ if (a.size !== b2.size) {
17360
17360
  return false;
17361
17361
  } else if (isA("Set", a) || isImmutableUnorderedSet(a)) {
17362
17362
  let allFound = true;
17363
17363
  for (const aValue of a) {
17364
- if (!b.has(aValue)) {
17364
+ if (!b2.has(aValue)) {
17365
17365
  let has = false;
17366
- for (const bValue of b) {
17366
+ for (const bValue of b2) {
17367
17367
  const isEqual = equals(aValue, bValue, filteredCustomTesters);
17368
17368
  if (isEqual === true) {
17369
17369
  has = true;
@@ -17381,9 +17381,9 @@ function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
17381
17381
  } else if (isA("Map", a) || isImmutableUnorderedKeyed(a)) {
17382
17382
  let allFound = true;
17383
17383
  for (const aEntry of a) {
17384
- if (!b.has(aEntry[0]) || !equals(aEntry[1], b.get(aEntry[0]), filteredCustomTesters)) {
17384
+ if (!b2.has(aEntry[0]) || !equals(aEntry[1], b2.get(aEntry[0]), filteredCustomTesters)) {
17385
17385
  let has = false;
17386
- for (const bEntry of b) {
17386
+ for (const bEntry of b2) {
17387
17387
  const matchedKey = equals(aEntry[0], bEntry[0], filteredCustomTesters);
17388
17388
  let matchedValue = false;
17389
17389
  if (matchedKey === true) {
@@ -17404,7 +17404,7 @@ function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
17404
17404
  return allFound;
17405
17405
  }
17406
17406
  }
17407
- const bIterator = b[IteratorSymbol]();
17407
+ const bIterator = b2[IteratorSymbol]();
17408
17408
  for (const aValue of a) {
17409
17409
  const nextB = bIterator.next();
17410
17410
  if (nextB.done || !equals(aValue, nextB.value, filteredCustomTesters)) {
@@ -17416,7 +17416,7 @@ function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
17416
17416
  }
17417
17417
  if (!isImmutableList(a) && !isImmutableOrderedKeyed(a) && !isImmutableOrderedSet(a) && !isImmutableRecord(a)) {
17418
17418
  const aEntries = Object.entries(a);
17419
- const bEntries = Object.entries(b);
17419
+ const bEntries = Object.entries(b2);
17420
17420
  if (!equals(aEntries, bEntries, filteredCustomTesters)) {
17421
17421
  return false;
17422
17422
  }
@@ -17459,23 +17459,23 @@ function subsetEquality(object, subset, customTesters = []) {
17459
17459
  return subsetEqualityWithContext()(object, subset);
17460
17460
  }
17461
17461
  __name(subsetEquality, "subsetEquality");
17462
- function typeEquality(a, b) {
17463
- if (a == null || b == null || a.constructor === b.constructor) {
17462
+ function typeEquality(a, b2) {
17463
+ if (a == null || b2 == null || a.constructor === b2.constructor) {
17464
17464
  return void 0;
17465
17465
  }
17466
17466
  return false;
17467
17467
  }
17468
17468
  __name(typeEquality, "typeEquality");
17469
- function arrayBufferEquality(a, b) {
17469
+ function arrayBufferEquality(a, b2) {
17470
17470
  let dataViewA = a;
17471
- let dataViewB = b;
17472
- if (!(a instanceof DataView && b instanceof DataView)) {
17473
- if (!(a instanceof ArrayBuffer) || !(b instanceof ArrayBuffer)) {
17471
+ let dataViewB = b2;
17472
+ if (!(a instanceof DataView && b2 instanceof DataView)) {
17473
+ if (!(a instanceof ArrayBuffer) || !(b2 instanceof ArrayBuffer)) {
17474
17474
  return void 0;
17475
17475
  }
17476
17476
  try {
17477
17477
  dataViewA = new DataView(a);
17478
- dataViewB = new DataView(b);
17478
+ dataViewB = new DataView(b2);
17479
17479
  } catch {
17480
17480
  return void 0;
17481
17481
  }
@@ -17491,14 +17491,14 @@ function arrayBufferEquality(a, b) {
17491
17491
  return true;
17492
17492
  }
17493
17493
  __name(arrayBufferEquality, "arrayBufferEquality");
17494
- function sparseArrayEquality(a, b, customTesters = []) {
17495
- if (!Array.isArray(a) || !Array.isArray(b)) {
17494
+ function sparseArrayEquality(a, b2, customTesters = []) {
17495
+ if (!Array.isArray(a) || !Array.isArray(b2)) {
17496
17496
  return void 0;
17497
17497
  }
17498
17498
  const aKeys = Object.keys(a);
17499
- const bKeys = Object.keys(b);
17499
+ const bKeys = Object.keys(b2);
17500
17500
  const filteredCustomTesters = customTesters.filter((t2) => t2 !== sparseArrayEquality);
17501
- return equals(a, b, filteredCustomTesters, true) && equals(aKeys, bKeys);
17501
+ return equals(a, b2, filteredCustomTesters, true) && equals(aKeys, bKeys);
17502
17502
  }
17503
17503
  __name(sparseArrayEquality, "sparseArrayEquality");
17504
17504
  function generateToBeMessage(deepEqualityName, expected = "#{this}", actual = "#{exp}") {
@@ -18222,7 +18222,7 @@ var JestChaiExpect = /* @__PURE__ */ __name((chai, utils) => {
18222
18222
  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);
18223
18223
  });
18224
18224
  function assertIsMock(assertion) {
18225
- if (!isMockFunction2(assertion._obj)) {
18225
+ if (!isMockFunction(assertion._obj)) {
18226
18226
  throw new TypeError(`${utils.inspect(assertion._obj)} is not a spy or a call to a spy!`);
18227
18227
  }
18228
18228
  }
@@ -18264,8 +18264,8 @@ var JestChaiExpect = /* @__PURE__ */ __name((chai, utils) => {
18264
18264
  throw new AssertionError2(msg);
18265
18265
  }
18266
18266
  });
18267
- function equalsArgumentArray(a, b) {
18268
- return a.length === b.length && a.every((aItem, i2) => equals(aItem, b[i2], [...customTesters, iterableEquality]));
18267
+ function equalsArgumentArray(a, b2) {
18268
+ return a.length === b2.length && a.every((aItem, i2) => equals(aItem, b2[i2], [...customTesters, iterableEquality]));
18269
18269
  }
18270
18270
  __name(equalsArgumentArray, "equalsArgumentArray");
18271
18271
  def(["toHaveBeenCalledWith", "toBeCalledWith"], function(...args) {
@@ -18328,14 +18328,14 @@ var JestChaiExpect = /* @__PURE__ */ __name((chai, utils) => {
18328
18328
  __name(isSpyCalledBeforeAnotherSpy, "isSpyCalledBeforeAnotherSpy");
18329
18329
  def(["toHaveBeenCalledBefore"], function(resultSpy, failIfNoFirstInvocation = true) {
18330
18330
  const expectSpy = getSpy(this);
18331
- if (!isMockFunction2(resultSpy)) {
18331
+ if (!isMockFunction(resultSpy)) {
18332
18332
  throw new TypeError(`${utils.inspect(resultSpy)} is not a spy or a call to a spy`);
18333
18333
  }
18334
18334
  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);
18335
18335
  });
18336
18336
  def(["toHaveBeenCalledAfter"], function(resultSpy, failIfNoFirstInvocation = true) {
18337
18337
  const expectSpy = getSpy(this);
18338
- if (!isMockFunction2(resultSpy)) {
18338
+ if (!isMockFunction(resultSpy)) {
18339
18339
  throw new TypeError(`${utils.inspect(resultSpy)} is not a spy or a call to a spy`);
18340
18340
  }
18341
18341
  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);
@@ -18569,15 +18569,15 @@ var JestChaiExpect = /* @__PURE__ */ __name((chai, utils) => {
18569
18569
  }, "__VITEST_REJECTS__"));
18570
18570
  }, "JestChaiExpect");
18571
18571
  function ordinalOf(i2) {
18572
- const j = i2 % 10;
18573
- const k = i2 % 100;
18574
- if (j === 1 && k !== 11) {
18572
+ const j2 = i2 % 10;
18573
+ const k2 = i2 % 100;
18574
+ if (j2 === 1 && k2 !== 11) {
18575
18575
  return `${i2}st`;
18576
18576
  }
18577
- if (j === 2 && k !== 12) {
18577
+ if (j2 === 2 && k2 !== 12) {
18578
18578
  return `${i2}nd`;
18579
18579
  }
18580
- if (j === 3 && k !== 13) {
18580
+ if (j2 === 3 && k2 !== 13) {
18581
18581
  return `${i2}rd`;
18582
18582
  }
18583
18583
  return `${i2}th`;
@@ -18760,11 +18760,11 @@ function createExpect() {
18760
18760
  expect4.setState = (state) => setState(state, expect4);
18761
18761
  expect4.extend = (expects) => expect.extend(expect4, expects);
18762
18762
  expect4.soft = (...args) => {
18763
- const assert3 = expect4(...args);
18763
+ const assert2 = expect4(...args);
18764
18764
  expect4.setState({
18765
18765
  soft: true
18766
18766
  });
18767
- return assert3;
18767
+ return assert2;
18768
18768
  };
18769
18769
  expect4.extend(customMatchers);
18770
18770
  expect4.unreachable = (message) => {
@@ -18819,16 +18819,16 @@ Object.defineProperty(globalThis, GLOBAL_EXPECT, {
18819
18819
  });
18820
18820
 
18821
18821
  // ../node_modules/tinyspy/dist/index.js
18822
- function f(e2, t2, n2) {
18822
+ function f2(e2, t2, n2) {
18823
18823
  Object.defineProperty(e2, t2, n2);
18824
18824
  }
18825
- __name(f, "f");
18826
- var u = Symbol.for("tinyspy:spy");
18827
- var P = /* @__PURE__ */ __name((e2) => {
18825
+ __name(f2, "f");
18826
+ var u2 = Symbol.for("tinyspy:spy");
18827
+ var P2 = /* @__PURE__ */ __name((e2) => {
18828
18828
  e2.called = false, e2.callCount = 0, e2.calls = [], e2.results = [], e2.resolves = [], e2.next = [];
18829
18829
  }, "P");
18830
- var K = /* @__PURE__ */ __name((e2) => (f(e2, u, { value: { reset: /* @__PURE__ */ __name(() => P(e2[u]), "reset") } }), e2[u]), "K");
18831
- var T = /* @__PURE__ */ __name((e2) => e2[u] || K(e2), "T");
18830
+ var K2 = /* @__PURE__ */ __name((e2) => (f2(e2, u2, { value: { reset: /* @__PURE__ */ __name(() => P2(e2[u2]), "reset") } }), e2[u2]), "K");
18831
+ var T2 = /* @__PURE__ */ __name((e2) => e2[u2] || K2(e2), "T");
18832
18832
 
18833
18833
  // src/test/spy.ts
18834
18834
  var listeners = /* @__PURE__ */ new Set();
@@ -18854,7 +18854,7 @@ function reactiveMock(mock) {
18854
18854
  }
18855
18855
  __name(reactiveMock, "reactiveMock");
18856
18856
  function listenWhenCalled(mock) {
18857
- const state = T(mock);
18857
+ const state = T2(mock);
18858
18858
  const impl = state.impl;
18859
18859
  state.willCall(function(...args) {
18860
18860
  listeners.forEach((listener) => listener(mock, args));
@@ -19000,16 +19000,16 @@ function arrayFrom2(arrayLike, mapFn) {
19000
19000
  }
19001
19001
  var len = toLength2(items.length);
19002
19002
  var A = isCallable2(C) ? Object(new C(len)) : new Array(len);
19003
- var k = 0;
19003
+ var k2 = 0;
19004
19004
  var kValue;
19005
- while (k < len) {
19006
- kValue = items[k];
19005
+ while (k2 < len) {
19006
+ kValue = items[k2];
19007
19007
  if (mapFn) {
19008
- A[k] = mapFn(kValue, k);
19008
+ A[k2] = mapFn(kValue, k2);
19009
19009
  } else {
19010
- A[k] = kValue;
19010
+ A[k2] = kValue;
19011
19011
  }
19012
- k += 1;
19012
+ k2 += 1;
19013
19013
  }
19014
19014
  A.length = len;
19015
19015
  return A;
@@ -20659,8 +20659,8 @@ function makeSuggestion(queryName, element, content, _ref) {
20659
20659
  let [text, options] = queryArgs;
20660
20660
  text = typeof text === "string" ? "'" + text + "'" : text;
20661
20661
  options = options ? ", { " + Object.entries(options).map((_ref2) => {
20662
- let [k, v] = _ref2;
20663
- return k + ": " + v;
20662
+ let [k2, v2] = _ref2;
20663
+ return k2 + ": " + v2;
20664
20664
  }).join(", ") + " }" : "";
20665
20665
  return queryMethod + "(" + text + options + ")";
20666
20666
  }
@@ -22499,7 +22499,7 @@ function isElementType(element, tag, props) {
22499
22499
  return false;
22500
22500
  }
22501
22501
  if (props) {
22502
- return Object.entries(props).every(([k, v]) => element[k] === v);
22502
+ return Object.entries(props).every(([k2, v2]) => element[k2] === v2);
22503
22503
  }
22504
22504
  return true;
22505
22505
  }
@@ -22721,9 +22721,9 @@ function _define_property2(obj, key, value) {
22721
22721
  __name(_define_property2, "_define_property");
22722
22722
  function createClipboardItem(window2, ...blobs) {
22723
22723
  var _a3;
22724
- const dataMap = Object.fromEntries(blobs.map((b) => [
22725
- typeof b === "string" ? "text/plain" : b.type,
22726
- Promise.resolve(b)
22724
+ const dataMap = Object.fromEntries(blobs.map((b2) => [
22725
+ typeof b2 === "string" ? "text/plain" : b2.type,
22726
+ Promise.resolve(b2)
22727
22727
  ]));
22728
22728
  if (typeof window2.ClipboardItem !== "undefined") {
22729
22729
  return new window2.ClipboardItem(dataMap);
@@ -22762,7 +22762,7 @@ function createClipboardStub(window2, control) {
22762
22762
  for (const item of this.items) {
22763
22763
  const type5 = item.types.includes("text/plain") ? "text/plain" : item.types.find((t2) => t2.startsWith("text/"));
22764
22764
  if (type5) {
22765
- text += await item.getType(type5).then((b) => readBlobText(b, window2.FileReader));
22765
+ text += await item.getType(type5).then((b2) => readBlobText(b2, window2.FileReader));
22766
22766
  }
22767
22767
  }
22768
22768
  return text;
@@ -22838,7 +22838,7 @@ async function readDataTransferFromClipboard(document2) {
22838
22838
  const dt = createDataTransfer(window2);
22839
22839
  for (const item of items) {
22840
22840
  for (const type5 of item.types) {
22841
- dt.setData(type5, await item.getType(type5).then((b) => readBlobText(b, window2.FileReader)));
22841
+ dt.setData(type5, await item.getType(type5).then((b2) => readBlobText(b2, window2.FileReader)));
22842
22842
  }
22843
22843
  }
22844
22844
  return dt;
@@ -23384,7 +23384,7 @@ __name(getDescendant, "getDescendant");
23384
23384
  // ../node_modules/@testing-library/user-event/dist/esm/document/trackValue.js
23385
23385
  var TrackChanges = Symbol("Track programmatic changes for React workaround");
23386
23386
  function isReact17Element(element) {
23387
- return Object.getOwnPropertyNames(element).some((k) => k.startsWith("__react")) && getWindow(element).REACT_VERSION === 17;
23387
+ return Object.getOwnPropertyNames(element).some((k2) => k2.startsWith("__react")) && getWindow(element).REACT_VERSION === 17;
23388
23388
  }
23389
23389
  __name(isReact17Element, "isReact17Element");
23390
23390
  function startTrackValue(element) {
@@ -23397,13 +23397,13 @@ function startTrackValue(element) {
23397
23397
  };
23398
23398
  }
23399
23399
  __name(startTrackValue, "startTrackValue");
23400
- function trackOrSetValue(element, v) {
23400
+ function trackOrSetValue(element, v2) {
23401
23401
  var _element_TrackChanges_tracked, _element_TrackChanges;
23402
- (_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);
23402
+ (_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);
23403
23403
  if (!element[TrackChanges]) {
23404
23404
  setUIValueClean(element);
23405
23405
  setUISelection(element, {
23406
- focusOffset: v.length
23406
+ focusOffset: v2.length
23407
23407
  });
23408
23408
  }
23409
23409
  }
@@ -23666,17 +23666,17 @@ function getTabDestination(activeElement, shift) {
23666
23666
  const focusableElements = document2.querySelectorAll(FOCUSABLE_SELECTOR);
23667
23667
  const enabledElements = Array.from(focusableElements).filter((el) => el === activeElement || !(Number(el.getAttribute("tabindex")) < 0 || isDisabled2(el)));
23668
23668
  if (Number(activeElement.getAttribute("tabindex")) >= 0) {
23669
- enabledElements.sort((a, b) => {
23669
+ enabledElements.sort((a, b2) => {
23670
23670
  const i2 = Number(a.getAttribute("tabindex"));
23671
- const j = Number(b.getAttribute("tabindex"));
23672
- if (i2 === j) {
23671
+ const j2 = Number(b2.getAttribute("tabindex"));
23672
+ if (i2 === j2) {
23673
23673
  return 0;
23674
23674
  } else if (i2 === 0) {
23675
23675
  return 1;
23676
- } else if (j === 0) {
23676
+ } else if (j2 === 0) {
23677
23677
  return -1;
23678
23678
  }
23679
- return i2 - j;
23679
+ return i2 - j2;
23680
23680
  });
23681
23681
  }
23682
23682
  const checkedRadio = {};
@@ -24325,7 +24325,7 @@ function createEvent2(type5, target, init) {
24325
24325
  const window2 = getWindow(target);
24326
24326
  const { EventType, defaultInit } = eventMap2[type5];
24327
24327
  const event = new (getEventConstructors(window2))[EventType](type5, defaultInit);
24328
- eventInitializer[EventType].forEach((f2) => f2(event, init !== null && init !== void 0 ? init : {}));
24328
+ eventInitializer[EventType].forEach((f3) => f3(event, init !== null && init !== void 0 ? init : {}));
24329
24329
  return event;
24330
24330
  }
24331
24331
  __name(createEvent2, "createEvent");
@@ -24440,7 +24440,7 @@ function initUIEventModifiers(event, { altKey, ctrlKey, metaKey, shiftKey, modif
24440
24440
  ctrlKey: Boolean(ctrlKey),
24441
24441
  metaKey: Boolean(metaKey),
24442
24442
  shiftKey: Boolean(shiftKey),
24443
- getModifierState(k) {
24443
+ getModifierState(k2) {
24444
24444
  return Boolean({
24445
24445
  Alt: altKey,
24446
24446
  AltGraph: modifierAltGraph,
@@ -24454,7 +24454,7 @@ function initUIEventModifiers(event, { altKey, ctrlKey, metaKey, shiftKey, modif
24454
24454
  Shift: shiftKey,
24455
24455
  Symbol: modifierSymbol,
24456
24456
  SymbolLock: modifierSymbolLock
24457
- }[k]);
24457
+ }[k2]);
24458
24458
  }
24459
24459
  });
24460
24460
  }
@@ -24470,7 +24470,7 @@ function initKeyboardEvent(event, { key, code, location, repeat, isComposing, ch
24470
24470
  });
24471
24471
  }
24472
24472
  __name(initKeyboardEvent, "initKeyboardEvent");
24473
- function initMouseEvent(event, { x, y, screenX, screenY, clientX = x, clientY = y, button, buttons, relatedTarget, offsetX, offsetY, pageX, pageY }) {
24473
+ function initMouseEvent(event, { x: x2, y: y2, screenX, screenY, clientX = x2, clientY = y2, button, buttons, relatedTarget, offsetX, offsetY, pageX, pageY }) {
24474
24474
  assignProps(event, {
24475
24475
  screenX: sanitizeNumber(screenX),
24476
24476
  screenY: sanitizeNumber(screenY),
@@ -24659,26 +24659,26 @@ function prepareInterceptor(element, propName, interceptorImpl) {
24659
24659
  }
24660
24660
  __name(prepareInterceptor, "prepareInterceptor");
24661
24661
  function prepareValueInterceptor(element) {
24662
- prepareInterceptor(element, "value", /* @__PURE__ */ __name(function interceptorImpl(v) {
24663
- const isUI = isUIValue(v);
24662
+ prepareInterceptor(element, "value", /* @__PURE__ */ __name(function interceptorImpl(v2) {
24663
+ const isUI = isUIValue(v2);
24664
24664
  if (isUI) {
24665
24665
  startTrackValue(this);
24666
24666
  }
24667
24667
  return {
24668
24668
  applyNative: !!isUI,
24669
- realArgs: sanitizeValue(this, v),
24670
- then: isUI ? void 0 : () => trackOrSetValue(this, String(v))
24669
+ realArgs: sanitizeValue(this, v2),
24670
+ then: isUI ? void 0 : () => trackOrSetValue(this, String(v2))
24671
24671
  };
24672
24672
  }, "interceptorImpl"));
24673
24673
  }
24674
24674
  __name(prepareValueInterceptor, "prepareValueInterceptor");
24675
- function sanitizeValue(element, v) {
24675
+ function sanitizeValue(element, v2) {
24676
24676
  if (isElementType(element, "input", {
24677
24677
  type: "number"
24678
- }) && String(v) !== "" && !Number.isNaN(Number(v))) {
24679
- return String(Number(v));
24678
+ }) && String(v2) !== "" && !Number.isNaN(Number(v2))) {
24679
+ return String(Number(v2));
24680
24680
  }
24681
- return String(v);
24681
+ return String(v2);
24682
24682
  }
24683
24683
  __name(sanitizeValue, "sanitizeValue");
24684
24684
  function prepareSelectionInterceptor(element) {
@@ -24693,15 +24693,15 @@ function prepareSelectionInterceptor(element) {
24693
24693
  then: /* @__PURE__ */ __name(() => isUI ? void 0 : setUISelectionClean(element), "then")
24694
24694
  };
24695
24695
  }, "interceptorImpl"));
24696
- prepareInterceptor(element, "selectionStart", /* @__PURE__ */ __name(function interceptorImpl(v) {
24696
+ prepareInterceptor(element, "selectionStart", /* @__PURE__ */ __name(function interceptorImpl(v2) {
24697
24697
  return {
24698
- realArgs: v,
24698
+ realArgs: v2,
24699
24699
  then: /* @__PURE__ */ __name(() => setUISelectionClean(element), "then")
24700
24700
  };
24701
24701
  }, "interceptorImpl"));
24702
- prepareInterceptor(element, "selectionEnd", /* @__PURE__ */ __name(function interceptorImpl(v) {
24702
+ prepareInterceptor(element, "selectionEnd", /* @__PURE__ */ __name(function interceptorImpl(v2) {
24703
24703
  return {
24704
- realArgs: v,
24704
+ realArgs: v2,
24705
24705
  then: /* @__PURE__ */ __name(() => setUISelectionClean(element), "then")
24706
24706
  };
24707
24707
  }, "interceptorImpl"));
@@ -25213,11 +25213,11 @@ function _define_property4(obj, key, value) {
25213
25213
  __name(_define_property4, "_define_property");
25214
25214
  var _Buttons = class _Buttons {
25215
25215
  getButtons() {
25216
- let v = 0;
25216
+ let v2 = 0;
25217
25217
  for (const button of Object.keys(this.pressed)) {
25218
- v |= 2 ** Number(button);
25218
+ v2 |= 2 ** Number(button);
25219
25219
  }
25220
- return v;
25220
+ return v2;
25221
25221
  }
25222
25222
  down(keyDef) {
25223
25223
  const button = getMouseButtonId(keyDef.button);
@@ -25233,7 +25233,7 @@ var _Buttons = class _Buttons {
25233
25233
  up(keyDef) {
25234
25234
  const button = getMouseButtonId(keyDef.button);
25235
25235
  if (button in this.pressed) {
25236
- this.pressed[button] = this.pressed[button].filter((k) => k.name !== keyDef.name);
25236
+ this.pressed[button] = this.pressed[button].filter((k2) => k2.name !== keyDef.name);
25237
25237
  if (this.pressed[button].length === 0) {
25238
25238
  delete this.pressed[button];
25239
25239
  return button;
@@ -25312,13 +25312,13 @@ __name(_Device, "Device");
25312
25312
  var Device = _Device;
25313
25313
 
25314
25314
  // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/getTreeDiff.js
25315
- function getTreeDiff(a, b) {
25315
+ function getTreeDiff(a, b2) {
25316
25316
  const treeA = [];
25317
25317
  for (let el = a; el; el = el.parentElement) {
25318
25318
  treeA.push(el);
25319
25319
  }
25320
25320
  const treeB = [];
25321
- for (let el = b; el; el = el.parentElement) {
25321
+ for (let el = b2; el; el = el.parentElement) {
25322
25322
  treeB.push(el);
25323
25323
  }
25324
25324
  let i2 = 0;
@@ -25990,10 +25990,10 @@ var _PointerHost = class _PointerHost {
25990
25990
  _define_property8(this, "mouse", void 0);
25991
25991
  _define_property8(this, "buttons", void 0);
25992
25992
  _define_property8(this, "devices", new class {
25993
- get(k) {
25993
+ get(k2) {
25994
25994
  var _this_registry, _k;
25995
25995
  var _;
25996
- return (_ = (_this_registry = this.registry)[_k = k]) !== null && _ !== void 0 ? _ : _this_registry[_k] = new Device();
25996
+ return (_ = (_this_registry = this.registry)[_k = k2]) !== null && _ !== void 0 ? _ : _this_registry[_k] = new Device();
25997
25997
  }
25998
25998
  constructor() {
25999
25999
  _define_property8(this, "registry", {});
@@ -26280,8 +26280,8 @@ async function keyboardAction(instance, { keyDef, releasePrevious, releaseSelf,
26280
26280
  }
26281
26281
  __name(keyboardAction, "keyboardAction");
26282
26282
  async function releaseAllKeys(instance) {
26283
- for (const k of instance.system.keyboard.getPressedKeys()) {
26284
- await instance.system.keyboard.keyup(instance, k);
26283
+ for (const k2 of instance.system.keyboard.getPressedKeys()) {
26284
+ await instance.system.keyboard.keyup(instance, k2);
26285
26285
  }
26286
26286
  }
26287
26287
  __name(releaseAllKeys, "releaseAllKeys");
@@ -26627,22 +26627,22 @@ function setFiles(el, files) {
26627
26627
  value: {
26628
26628
  configurable: true,
26629
26629
  get: /* @__PURE__ */ __name(() => files.length ? `C:\\fakepath\\${files[0].name}` : "", "get"),
26630
- set(v) {
26631
- if (v === "") {
26630
+ set(v2) {
26631
+ if (v2 === "") {
26632
26632
  restore();
26633
26633
  } else {
26634
26634
  var _valueDescr_set;
26635
- valueDescr === null || valueDescr === void 0 ? void 0 : (_valueDescr_set = valueDescr.set) === null || _valueDescr_set === void 0 ? void 0 : _valueDescr_set.call(el, v);
26635
+ valueDescr === null || valueDescr === void 0 ? void 0 : (_valueDescr_set = valueDescr.set) === null || _valueDescr_set === void 0 ? void 0 : _valueDescr_set.call(el, v2);
26636
26636
  }
26637
26637
  }
26638
26638
  },
26639
26639
  type: {
26640
26640
  configurable: true,
26641
26641
  get: /* @__PURE__ */ __name(() => "file", "get"),
26642
- set(v) {
26643
- if (v !== "file") {
26642
+ set(v2) {
26643
+ if (v2 !== "file") {
26644
26644
  restore();
26645
- el.type = v;
26645
+ el.type = v2;
26646
26646
  }
26647
26647
  }
26648
26648
  }
@@ -26664,9 +26664,9 @@ async function upload(element, fileOrFiles) {
26664
26664
  ]).filter((file) => !this.config.applyAccept || isAcceptableFile(file, input2.accept)).slice(0, input2.multiple ? void 0 : 1);
26665
26665
  const fileDialog = /* @__PURE__ */ __name(() => {
26666
26666
  var _input_files;
26667
- if (files.length === ((_input_files = input2.files) === null || _input_files === void 0 ? void 0 : _input_files.length) && files.every((f2, i2) => {
26667
+ if (files.length === ((_input_files = input2.files) === null || _input_files === void 0 ? void 0 : _input_files.length) && files.every((f3, i2) => {
26668
26668
  var _input_files2;
26669
- return f2 === ((_input_files2 = input2.files) === null || _input_files2 === void 0 ? void 0 : _input_files2.item(i2));
26669
+ return f3 === ((_input_files2 = input2.files) === null || _input_files2 === void 0 ? void 0 : _input_files2.item(i2));
26670
26670
  })) {
26671
26671
  return;
26672
26672
  }
@@ -27104,7 +27104,7 @@ export {
27104
27104
  getRoles2 as getRoles,
27105
27105
  getSuggestedQuery2 as getSuggestedQuery,
27106
27106
  isInaccessible2 as isInaccessible,
27107
- isMockFunction2 as isMockFunction,
27107
+ isMockFunction,
27108
27108
  logDOM2 as logDOM,
27109
27109
  logRoles2 as logRoles,
27110
27110
  mocked,