storybook 10.2.0-alpha.2 → 10.2.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/_browser-chunks/{chunk-Y6HZAT53.js → chunk-HX32VQZR.js} +1 -1
  2. package/dist/_browser-chunks/{chunk-FQ7SLVLR.js → chunk-JVRDBUUP.js} +20 -1
  3. package/dist/_browser-chunks/{chunk-MOYJJEXA.js → chunk-Q5RYDXT3.js} +3 -4
  4. package/dist/_browser-chunks/{chunk-DOSERVNW.js → chunk-UXVP56J6.js} +1 -1
  5. package/dist/_browser-chunks/{chunk-GFY5R5EY.js → chunk-V5NV5R37.js} +1 -1
  6. package/dist/_node-chunks/{builder-manager-ZK4QXZNX.js → builder-manager-UYH5WXWQ.js} +12 -12
  7. package/dist/_node-chunks/{camelcase-QWQG7I72.js → camelcase-VC2MI4D3.js} +7 -7
  8. package/dist/_node-chunks/{chunk-TOXVUAH2.js → chunk-2LVUTXDF.js} +6 -6
  9. package/dist/_node-chunks/chunk-2ZQ6Y2UX.js +18 -0
  10. package/dist/_node-chunks/{chunk-QFSK4B7R.js → chunk-3SB46FMB.js} +8 -8
  11. package/dist/_node-chunks/{chunk-WUKWNPSQ.js → chunk-5IKN22PK.js} +9 -9
  12. package/dist/_node-chunks/{chunk-UWJ4BOOL.js → chunk-5Y2B5Y2I.js} +9 -9
  13. package/dist/_node-chunks/{chunk-2AFVBCGF.js → chunk-6DSSKDEB.js} +6 -6
  14. package/dist/_node-chunks/{chunk-I5TOD3AY.js → chunk-6RZ6ESPF.js} +12 -12
  15. package/dist/_node-chunks/{chunk-WOS3OQVT.js → chunk-6XCE5DKF.js} +26 -7
  16. package/dist/_node-chunks/{chunk-XFU23B4C.js → chunk-AEF4OCMB.js} +7 -7
  17. package/dist/_node-chunks/chunk-ATFXKLVA.js +61 -0
  18. package/dist/_node-chunks/{chunk-RGQC4G3L.js → chunk-BRVASHE4.js} +21 -17
  19. package/dist/_node-chunks/{chunk-GKEAARBQ.js → chunk-BXGPI53U.js} +6 -6
  20. package/dist/_node-chunks/{chunk-OV2CP4VV.js → chunk-CSLYLE5Z.js} +6 -6
  21. package/dist/_node-chunks/{chunk-6OZRMRVO.js → chunk-EGGWMXFM.js} +7 -7
  22. package/dist/_node-chunks/{chunk-FZFZ5TOM.js → chunk-HATD2DIT.js} +6 -6
  23. package/dist/_node-chunks/{chunk-DWVHBQGR.js → chunk-I6C74YGE.js} +8 -8
  24. package/dist/_node-chunks/chunk-IXZ54TG6.js +20 -0
  25. package/dist/_node-chunks/chunk-JUQFZI7H.js +23 -0
  26. package/dist/_node-chunks/{chunk-KVNLJSAB.js → chunk-KLBUL53W.js} +7 -7
  27. package/dist/_node-chunks/{chunk-URBB5EGY.js → chunk-NCENIJPW.js} +7 -7
  28. package/dist/_node-chunks/{chunk-NKOHF7TQ.js → chunk-OBFKPAHB.js} +72 -11
  29. package/dist/_node-chunks/{chunk-5VZMCPTH.js → chunk-OW656GJO.js} +43 -27
  30. package/dist/_node-chunks/{chunk-Q5ZQH2OQ.js → chunk-S3WG5D7I.js} +7 -7
  31. package/dist/_node-chunks/{chunk-CW7HJRCY.js → chunk-THYQIUTI.js} +7 -7
  32. package/dist/_node-chunks/{chunk-EXZXVBZO.js → chunk-VHJPAZFZ.js} +7 -7
  33. package/dist/_node-chunks/{chunk-VJPI73BB.js → chunk-VJ5C7NTM.js} +59 -26
  34. package/dist/_node-chunks/{chunk-HMFROKHU.js → chunk-WI5ZJAAJ.js} +7 -7
  35. package/dist/_node-chunks/{chunk-R2J3OB3H.js → chunk-X6TQDZZW.js} +6 -6
  36. package/dist/_node-chunks/{dist-UBFMIJZC.js → dist-ZK2DO62Y.js} +9 -9
  37. package/dist/_node-chunks/{globby-VD3CGPVI.js → globby-3NVGNGRX.js} +9 -9
  38. package/dist/_node-chunks/{lib-MMJB47J3.js → lib-ALOTNL3B.js} +7 -7
  39. package/dist/_node-chunks/{mdx-N42X6CFJ-3J2G7NZZ.js → mdx-N42X6CFJ-AVHGVFIO.js} +8 -8
  40. package/dist/_node-chunks/{p-limit-SOBWTEVH.js → p-limit-JMHEGI5E.js} +7 -7
  41. package/dist/babel/index.js +10 -10
  42. package/dist/bin/core.js +24 -18
  43. package/dist/bin/dispatcher.js +11 -11
  44. package/dist/bin/loader.js +9 -9
  45. package/dist/cli/index.js +18 -18
  46. package/dist/common/index.d.ts +25 -18
  47. package/dist/common/index.js +19 -19
  48. package/dist/core-server/index.d.ts +68 -1
  49. package/dist/core-server/index.js +35 -35
  50. package/dist/core-server/presets/common-override-preset.js +9 -9
  51. package/dist/core-server/presets/common-preset.js +25 -25
  52. package/dist/csf/index.js +1 -1
  53. package/dist/csf-tools/index.js +9 -9
  54. package/dist/instrumenter/index.js +1 -1
  55. package/dist/manager/globals-runtime.js +3122 -3018
  56. package/dist/manager-api/index.js +4 -4
  57. package/dist/manager-errors.d.ts +24 -0
  58. package/dist/manager-errors.js +2 -2
  59. package/dist/mocking-utils/index.js +8 -8
  60. package/dist/node-logger/index.d.ts +1 -1
  61. package/dist/node-logger/index.js +9 -9
  62. package/dist/preview/runtime.js +727 -623
  63. package/dist/preview-api/index.js +1 -1
  64. package/dist/preview-errors.d.ts +24 -0
  65. package/dist/preview-errors.js +2 -2
  66. package/dist/server-errors.d.ts +59 -3
  67. package/dist/server-errors.js +22 -11
  68. package/dist/telemetry/index.js +23 -23
  69. package/dist/test/index.js +370 -286
  70. package/dist/types/index.d.ts +3 -1
  71. package/package.json +1 -1
  72. package/dist/_node-chunks/chunk-CLCLRZYL.js +0 -61
  73. package/dist/_node-chunks/chunk-DF3QP62W.js +0 -18
  74. package/dist/_node-chunks/chunk-EVBCPGQO.js +0 -20
  75. package/dist/_node-chunks/chunk-PCMFKXWQ.js +0 -23
@@ -4,7 +4,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
6
6
  var __require = /* @__PURE__ */ ((x) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(x, {
7
- get: (a2, b) => (typeof require < "u" ? require : a2)[b]
7
+ get: (a3, b) => (typeof require < "u" ? require : a3)[b]
8
8
  }) : x)(function(x) {
9
9
  if (typeof require < "u") return require.apply(this, arguments);
10
10
  throw Error('Dynamic require of "' + x + '" is not supported');
@@ -37,37 +37,37 @@ var require_tiny_isequal = __commonJS({
37
37
  var e = Object.prototype.toString, r = Object.getPrototypeOf, t = Object.getOwnPropertySymbols ? function(e2) {
38
38
  return Object.keys(e2).concat(Object.getOwnPropertySymbols(e2));
39
39
  } : Object.keys;
40
- return function(n, a2) {
41
- return (function n2(a3, c, u2) {
42
- var i, s2, l, o = e.call(a3), f3 = e.call(c);
43
- if (a3 === c) return !0;
44
- if (a3 == null || c == null) return !1;
45
- if (u2.indexOf(a3) > -1 && u2.indexOf(c) > -1) return !0;
46
- if (u2.push(a3, c), o != f3 || (i = t(a3), s2 = t(c), i.length != s2.length || i.some(function(e2) {
47
- return !n2(a3[e2], c[e2], u2);
40
+ return function(n, a3) {
41
+ return (function n2(a4, c, u2) {
42
+ var i, s3, l, o = e.call(a4), f4 = e.call(c);
43
+ if (a4 === c) return !0;
44
+ if (a4 == null || c == null) return !1;
45
+ if (u2.indexOf(a4) > -1 && u2.indexOf(c) > -1) return !0;
46
+ if (u2.push(a4, c), o != f4 || (i = t(a4), s3 = t(c), i.length != s3.length || i.some(function(e2) {
47
+ return !n2(a4[e2], c[e2], u2);
48
48
  }))) return !1;
49
49
  switch (o.slice(8, -1)) {
50
50
  case "Symbol":
51
- return a3.valueOf() == c.valueOf();
51
+ return a4.valueOf() == c.valueOf();
52
52
  case "Date":
53
53
  case "Number":
54
- return +a3 == +c || +a3 != +a3 && +c != +c;
54
+ return +a4 == +c || +a4 != +a4 && +c != +c;
55
55
  case "RegExp":
56
56
  case "Function":
57
57
  case "String":
58
58
  case "Boolean":
59
- return "" + a3 == "" + c;
59
+ return "" + a4 == "" + c;
60
60
  case "Set":
61
61
  case "Map":
62
- i = a3.entries(), s2 = c.entries();
62
+ i = a4.entries(), s3 = c.entries();
63
63
  do
64
- if (!n2((l = i.next()).value, s2.next().value, u2)) return !1;
64
+ if (!n2((l = i.next()).value, s3.next().value, u2)) return !1;
65
65
  while (!l.done);
66
66
  return !0;
67
67
  case "ArrayBuffer":
68
- a3 = new Uint8Array(a3), c = new Uint8Array(c);
68
+ a4 = new Uint8Array(a4), c = new Uint8Array(c);
69
69
  case "DataView":
70
- a3 = new Uint8Array(a3.buffer), c = new Uint8Array(c.buffer);
70
+ a4 = new Uint8Array(a4.buffer), c = new Uint8Array(c.buffer);
71
71
  case "Float32Array":
72
72
  case "Float64Array":
73
73
  case "Int8Array":
@@ -79,15 +79,15 @@ var require_tiny_isequal = __commonJS({
79
79
  case "Uint8ClampedArray":
80
80
  case "Arguments":
81
81
  case "Array":
82
- if (a3.length != c.length) return !1;
83
- for (l = 0; l < a3.length; l++) if ((l in a3 || l in c) && (l in a3 != l in c || !n2(a3[l], c[l], u2))) return !1;
82
+ if (a4.length != c.length) return !1;
83
+ for (l = 0; l < a4.length; l++) if ((l in a4 || l in c) && (l in a4 != l in c || !n2(a4[l], c[l], u2))) return !1;
84
84
  return !0;
85
85
  case "Object":
86
- return n2(r(a3), r(c), u2);
86
+ return n2(r(a4), r(c), u2);
87
87
  default:
88
88
  return !1;
89
89
  }
90
- })(n, a2, []);
90
+ })(n, a3, []);
91
91
  };
92
92
  })();
93
93
  }
@@ -99,7 +99,7 @@ var require_min_indent = __commonJS({
99
99
  "use strict";
100
100
  module2.exports = (string) => {
101
101
  let match = string.match(/^[ \t]*(?=\S)/gm);
102
- return match ? match.reduce((r, a2) => Math.min(r, a2.length), 1 / 0) : 0;
102
+ return match ? match.reduce((r, a3) => Math.min(r, a3.length), 1 / 0) : 0;
103
103
  };
104
104
  }
105
105
  });
@@ -236,37 +236,37 @@ var require_ariaPropsMap = __commonJS({
236
236
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
237
237
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
238
238
  }
239
- function _unsupportedIterableToArray(r, a2) {
239
+ function _unsupportedIterableToArray(r, a3) {
240
240
  if (r) {
241
- if (typeof r == "string") return _arrayLikeToArray(r, a2);
241
+ if (typeof r == "string") return _arrayLikeToArray(r, a3);
242
242
  var t = {}.toString.call(r).slice(8, -1);
243
- return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a2) : void 0;
243
+ return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a3) : void 0;
244
244
  }
245
245
  }
246
- function _arrayLikeToArray(r, a2) {
247
- (a2 == null || a2 > r.length) && (a2 = r.length);
248
- for (var e = 0, n = Array(a2); e < a2; e++) n[e] = r[e];
246
+ function _arrayLikeToArray(r, a3) {
247
+ (a3 == null || a3 > r.length) && (a3 = r.length);
248
+ for (var e = 0, n = Array(a3); e < a3; e++) n[e] = r[e];
249
249
  return n;
250
250
  }
251
251
  function _iterableToArrayLimit(r, l) {
252
252
  var t = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
253
253
  if (t != null) {
254
- var e, n, i, u2, a2 = [], f3 = !0, o = !1;
254
+ var e, n, i, u2, a3 = [], f4 = !0, o = !1;
255
255
  try {
256
256
  if (i = (t = t.call(r)).next, l === 0) {
257
257
  if (Object(t) !== t) return;
258
- f3 = !1;
259
- } else for (; !(f3 = (e = i.call(t)).done) && (a2.push(e.value), a2.length !== l); f3 = !0) ;
258
+ f4 = !1;
259
+ } else for (; !(f4 = (e = i.call(t)).done) && (a3.push(e.value), a3.length !== l); f4 = !0) ;
260
260
  } catch (r2) {
261
261
  o = !0, n = r2;
262
262
  } finally {
263
263
  try {
264
- if (!f3 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
264
+ if (!f4 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
265
265
  } finally {
266
266
  if (o) throw n;
267
267
  }
268
268
  }
269
- return a2;
269
+ return a3;
270
270
  }
271
271
  }
272
272
  function _arrayWithHoles(r) {
@@ -441,37 +441,37 @@ var require_domMap = __commonJS({
441
441
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
442
442
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
443
443
  }
444
- function _unsupportedIterableToArray(r, a2) {
444
+ function _unsupportedIterableToArray(r, a3) {
445
445
  if (r) {
446
- if (typeof r == "string") return _arrayLikeToArray(r, a2);
446
+ if (typeof r == "string") return _arrayLikeToArray(r, a3);
447
447
  var t = {}.toString.call(r).slice(8, -1);
448
- return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a2) : void 0;
448
+ return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a3) : void 0;
449
449
  }
450
450
  }
451
- function _arrayLikeToArray(r, a2) {
452
- (a2 == null || a2 > r.length) && (a2 = r.length);
453
- for (var e = 0, n = Array(a2); e < a2; e++) n[e] = r[e];
451
+ function _arrayLikeToArray(r, a3) {
452
+ (a3 == null || a3 > r.length) && (a3 = r.length);
453
+ for (var e = 0, n = Array(a3); e < a3; e++) n[e] = r[e];
454
454
  return n;
455
455
  }
456
456
  function _iterableToArrayLimit(r, l) {
457
457
  var t = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
458
458
  if (t != null) {
459
- var e, n, i, u2, a2 = [], f3 = !0, o = !1;
459
+ var e, n, i, u2, a3 = [], f4 = !0, o = !1;
460
460
  try {
461
461
  if (i = (t = t.call(r)).next, l === 0) {
462
462
  if (Object(t) !== t) return;
463
- f3 = !1;
464
- } else for (; !(f3 = (e = i.call(t)).done) && (a2.push(e.value), a2.length !== l); f3 = !0) ;
463
+ f4 = !1;
464
+ } else for (; !(f4 = (e = i.call(t)).done) && (a3.push(e.value), a3.length !== l); f4 = !0) ;
465
465
  } catch (r2) {
466
466
  o = !0, n = r2;
467
467
  } finally {
468
468
  try {
469
- if (!f3 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
469
+ if (!f4 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
470
470
  } finally {
471
471
  if (o) throw n;
472
472
  }
473
473
  }
474
- return a2;
474
+ return a3;
475
475
  }
476
476
  }
477
477
  function _arrayWithHoles(r) {
@@ -6149,17 +6149,17 @@ var require_rolesMap = __commonJS({
6149
6149
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
6150
6150
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
6151
6151
  }
6152
- var o, a2 = !0, u2 = !1;
6152
+ var o, a3 = !0, u2 = !1;
6153
6153
  return { s: function() {
6154
6154
  t = t.call(r);
6155
6155
  }, n: function() {
6156
6156
  var r2 = t.next();
6157
- return a2 = r2.done, r2;
6157
+ return a3 = r2.done, r2;
6158
6158
  }, e: function(r2) {
6159
6159
  u2 = !0, o = r2;
6160
6160
  }, f: function() {
6161
6161
  try {
6162
- a2 || t.return == null || t.return();
6162
+ a3 || t.return == null || t.return();
6163
6163
  } finally {
6164
6164
  if (u2) throw o;
6165
6165
  }
@@ -6172,37 +6172,37 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6172
6172
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6173
6173
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
6174
6174
  }
6175
- function _unsupportedIterableToArray(r, a2) {
6175
+ function _unsupportedIterableToArray(r, a3) {
6176
6176
  if (r) {
6177
- if (typeof r == "string") return _arrayLikeToArray(r, a2);
6177
+ if (typeof r == "string") return _arrayLikeToArray(r, a3);
6178
6178
  var t = {}.toString.call(r).slice(8, -1);
6179
- return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a2) : void 0;
6179
+ return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a3) : void 0;
6180
6180
  }
6181
6181
  }
6182
- function _arrayLikeToArray(r, a2) {
6183
- (a2 == null || a2 > r.length) && (a2 = r.length);
6184
- for (var e = 0, n = Array(a2); e < a2; e++) n[e] = r[e];
6182
+ function _arrayLikeToArray(r, a3) {
6183
+ (a3 == null || a3 > r.length) && (a3 = r.length);
6184
+ for (var e = 0, n = Array(a3); e < a3; e++) n[e] = r[e];
6185
6185
  return n;
6186
6186
  }
6187
6187
  function _iterableToArrayLimit(r, l) {
6188
6188
  var t = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
6189
6189
  if (t != null) {
6190
- var e, n, i, u2, a2 = [], f3 = !0, o = !1;
6190
+ var e, n, i, u2, a3 = [], f4 = !0, o = !1;
6191
6191
  try {
6192
6192
  if (i = (t = t.call(r)).next, l === 0) {
6193
6193
  if (Object(t) !== t) return;
6194
- f3 = !1;
6195
- } else for (; !(f3 = (e = i.call(t)).done) && (a2.push(e.value), a2.length !== l); f3 = !0) ;
6194
+ f4 = !1;
6195
+ } else for (; !(f4 = (e = i.call(t)).done) && (a3.push(e.value), a3.length !== l); f4 = !0) ;
6196
6196
  } catch (r2) {
6197
6197
  o = !0, n = r2;
6198
6198
  } finally {
6199
6199
  try {
6200
- if (!f3 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
6200
+ if (!f4 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
6201
6201
  } finally {
6202
6202
  if (o) throw n;
6203
6203
  }
6204
6204
  }
6205
- return a2;
6205
+ return a3;
6206
6206
  }
6207
6207
  }
6208
6208
  function _arrayWithHoles(r) {
@@ -6301,37 +6301,37 @@ var require_elementRoleMap = __commonJS({
6301
6301
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6302
6302
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
6303
6303
  }
6304
- function _unsupportedIterableToArray(r, a2) {
6304
+ function _unsupportedIterableToArray(r, a3) {
6305
6305
  if (r) {
6306
- if (typeof r == "string") return _arrayLikeToArray(r, a2);
6306
+ if (typeof r == "string") return _arrayLikeToArray(r, a3);
6307
6307
  var t = {}.toString.call(r).slice(8, -1);
6308
- return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a2) : void 0;
6308
+ return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a3) : void 0;
6309
6309
  }
6310
6310
  }
6311
- function _arrayLikeToArray(r, a2) {
6312
- (a2 == null || a2 > r.length) && (a2 = r.length);
6313
- for (var e = 0, n = Array(a2); e < a2; e++) n[e] = r[e];
6311
+ function _arrayLikeToArray(r, a3) {
6312
+ (a3 == null || a3 > r.length) && (a3 = r.length);
6313
+ for (var e = 0, n = Array(a3); e < a3; e++) n[e] = r[e];
6314
6314
  return n;
6315
6315
  }
6316
6316
  function _iterableToArrayLimit(r, l) {
6317
6317
  var t = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
6318
6318
  if (t != null) {
6319
- var e, n, i2, u2, a2 = [], f3 = !0, o = !1;
6319
+ var e, n, i2, u2, a3 = [], f4 = !0, o = !1;
6320
6320
  try {
6321
6321
  if (i2 = (t = t.call(r)).next, l === 0) {
6322
6322
  if (Object(t) !== t) return;
6323
- f3 = !1;
6324
- } else for (; !(f3 = (e = i2.call(t)).done) && (a2.push(e.value), a2.length !== l); f3 = !0) ;
6323
+ f4 = !1;
6324
+ } else for (; !(f4 = (e = i2.call(t)).done) && (a3.push(e.value), a3.length !== l); f4 = !0) ;
6325
6325
  } catch (r2) {
6326
6326
  o = !0, n = r2;
6327
6327
  } finally {
6328
6328
  try {
6329
- if (!f3 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
6329
+ if (!f4 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
6330
6330
  } finally {
6331
6331
  if (o) throw n;
6332
6332
  }
6333
6333
  }
6334
- return a2;
6334
+ return a3;
6335
6335
  }
6336
6336
  }
6337
6337
  function _arrayWithHoles(r) {
@@ -6391,35 +6391,35 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6391
6391
  });
6392
6392
  }
6393
6393
  };
6394
- function ariaRoleRelationConceptEquals(a2, b) {
6395
- return a2.name === b.name && ariaRoleRelationConstraintsEquals(a2.constraints, b.constraints) && ariaRoleRelationConceptAttributeEquals(a2.attributes, b.attributes);
6394
+ function ariaRoleRelationConceptEquals(a3, b) {
6395
+ return a3.name === b.name && ariaRoleRelationConstraintsEquals(a3.constraints, b.constraints) && ariaRoleRelationConceptAttributeEquals(a3.attributes, b.attributes);
6396
6396
  }
6397
- function ariaRoleRelationConstraintsEquals(a2, b) {
6398
- if (a2 === void 0 && b !== void 0 || a2 !== void 0 && b === void 0)
6397
+ function ariaRoleRelationConstraintsEquals(a3, b) {
6398
+ if (a3 === void 0 && b !== void 0 || a3 !== void 0 && b === void 0)
6399
6399
  return !1;
6400
- if (a2 !== void 0 && b !== void 0) {
6401
- if (a2.length !== b.length)
6400
+ if (a3 !== void 0 && b !== void 0) {
6401
+ if (a3.length !== b.length)
6402
6402
  return !1;
6403
- for (var _i3 = 0; _i3 < a2.length; _i3++)
6404
- if (a2[_i3] !== b[_i3])
6403
+ for (var _i3 = 0; _i3 < a3.length; _i3++)
6404
+ if (a3[_i3] !== b[_i3])
6405
6405
  return !1;
6406
6406
  }
6407
6407
  return !0;
6408
6408
  }
6409
- function ariaRoleRelationConceptAttributeEquals(a2, b) {
6410
- if (a2 === void 0 && b !== void 0 || a2 !== void 0 && b === void 0)
6409
+ function ariaRoleRelationConceptAttributeEquals(a3, b) {
6410
+ if (a3 === void 0 && b !== void 0 || a3 !== void 0 && b === void 0)
6411
6411
  return !1;
6412
- if (a2 !== void 0 && b !== void 0) {
6413
- if (a2.length !== b.length)
6412
+ if (a3 !== void 0 && b !== void 0) {
6413
+ if (a3.length !== b.length)
6414
6414
  return !1;
6415
- for (var _i4 = 0; _i4 < a2.length; _i4++) {
6416
- if (a2[_i4].name !== b[_i4].name || a2[_i4].value !== b[_i4].value || a2[_i4].constraints === void 0 && b[_i4].constraints !== void 0 || a2[_i4].constraints !== void 0 && b[_i4].constraints === void 0)
6415
+ for (var _i4 = 0; _i4 < a3.length; _i4++) {
6416
+ if (a3[_i4].name !== b[_i4].name || a3[_i4].value !== b[_i4].value || a3[_i4].constraints === void 0 && b[_i4].constraints !== void 0 || a3[_i4].constraints !== void 0 && b[_i4].constraints === void 0)
6417
6417
  return !1;
6418
- if (a2[_i4].constraints !== void 0 && b[_i4].constraints !== void 0) {
6419
- if (a2[_i4].constraints.length !== b[_i4].constraints.length)
6418
+ if (a3[_i4].constraints !== void 0 && b[_i4].constraints !== void 0) {
6419
+ if (a3[_i4].constraints.length !== b[_i4].constraints.length)
6420
6420
  return !1;
6421
- for (var j = 0; j < a2[_i4].constraints.length; j++)
6422
- if (a2[_i4].constraints[j] !== b[_i4].constraints[j])
6421
+ for (var j = 0; j < a3[_i4].constraints.length; j++)
6422
+ if (a3[_i4].constraints[j] !== b[_i4].constraints[j])
6423
6423
  return !1;
6424
6424
  }
6425
6425
  }
@@ -6449,37 +6449,37 @@ var require_roleElementMap = __commonJS({
6449
6449
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6450
6450
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
6451
6451
  }
6452
- function _unsupportedIterableToArray(r, a2) {
6452
+ function _unsupportedIterableToArray(r, a3) {
6453
6453
  if (r) {
6454
- if (typeof r == "string") return _arrayLikeToArray(r, a2);
6454
+ if (typeof r == "string") return _arrayLikeToArray(r, a3);
6455
6455
  var t = {}.toString.call(r).slice(8, -1);
6456
- return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a2) : void 0;
6456
+ return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a3) : void 0;
6457
6457
  }
6458
6458
  }
6459
- function _arrayLikeToArray(r, a2) {
6460
- (a2 == null || a2 > r.length) && (a2 = r.length);
6461
- for (var e = 0, n = Array(a2); e < a2; e++) n[e] = r[e];
6459
+ function _arrayLikeToArray(r, a3) {
6460
+ (a3 == null || a3 > r.length) && (a3 = r.length);
6461
+ for (var e = 0, n = Array(a3); e < a3; e++) n[e] = r[e];
6462
6462
  return n;
6463
6463
  }
6464
6464
  function _iterableToArrayLimit(r, l) {
6465
6465
  var t = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
6466
6466
  if (t != null) {
6467
- var e, n, i2, u2, a2 = [], f3 = !0, o = !1;
6467
+ var e, n, i2, u2, a3 = [], f4 = !0, o = !1;
6468
6468
  try {
6469
6469
  if (i2 = (t = t.call(r)).next, l === 0) {
6470
6470
  if (Object(t) !== t) return;
6471
- f3 = !1;
6472
- } else for (; !(f3 = (e = i2.call(t)).done) && (a2.push(e.value), a2.length !== l); f3 = !0) ;
6471
+ f4 = !1;
6472
+ } else for (; !(f4 = (e = i2.call(t)).done) && (a3.push(e.value), a3.length !== l); f4 = !0) ;
6473
6473
  } catch (r2) {
6474
6474
  o = !0, n = r2;
6475
6475
  } finally {
6476
6476
  try {
6477
- if (!f3 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
6477
+ if (!f4 && t.return != null && (u2 = t.return(), Object(u2) !== u2)) return;
6478
6478
  } finally {
6479
6479
  if (o) throw n;
6480
6480
  }
6481
6481
  }
6482
- return a2;
6482
+ return a3;
6483
6483
  }
6484
6484
  }
6485
6485
  function _arrayWithHoles(r) {
@@ -6735,28 +6735,28 @@ var require_conversions = __commonJS({
6735
6735
  delete convert5[model].channels, delete convert5[model].labels, Object.defineProperty(convert5[model], "channels", { value: channels }), Object.defineProperty(convert5[model], "labels", { value: labels });
6736
6736
  }
6737
6737
  convert5.rgb.hsl = function(rgb) {
6738
- let r = rgb[0] / 255, g2 = rgb[1] / 255, b = rgb[2] / 255, min2 = Math.min(r, g2, b), max2 = Math.max(r, g2, b), delta = max2 - min2, h2, s2;
6739
- max2 === min2 ? h2 = 0 : r === max2 ? h2 = (g2 - b) / delta : g2 === max2 ? h2 = 2 + (b - r) / delta : b === max2 && (h2 = 4 + (r - g2) / delta), h2 = Math.min(h2 * 60, 360), h2 < 0 && (h2 += 360);
6738
+ let r = rgb[0] / 255, g2 = rgb[1] / 255, b = rgb[2] / 255, min2 = Math.min(r, g2, b), max2 = Math.max(r, g2, b), delta = max2 - min2, h3, s3;
6739
+ max2 === min2 ? h3 = 0 : r === max2 ? h3 = (g2 - b) / delta : g2 === max2 ? h3 = 2 + (b - r) / delta : b === max2 && (h3 = 4 + (r - g2) / delta), h3 = Math.min(h3 * 60, 360), h3 < 0 && (h3 += 360);
6740
6740
  let l = (min2 + max2) / 2;
6741
- return max2 === min2 ? s2 = 0 : l <= 0.5 ? s2 = delta / (max2 + min2) : s2 = delta / (2 - max2 - min2), [h2, s2 * 100, l * 100];
6741
+ return max2 === min2 ? s3 = 0 : l <= 0.5 ? s3 = delta / (max2 + min2) : s3 = delta / (2 - max2 - min2), [h3, s3 * 100, l * 100];
6742
6742
  };
6743
6743
  convert5.rgb.hsv = function(rgb) {
6744
- let rdif, gdif, bdif, h2, s2, r = rgb[0] / 255, g2 = rgb[1] / 255, b = rgb[2] / 255, v = Math.max(r, g2, b), diff2 = v - Math.min(r, g2, b), diffc = function(c) {
6744
+ let rdif, gdif, bdif, h3, s3, r = rgb[0] / 255, g2 = rgb[1] / 255, b = rgb[2] / 255, v = Math.max(r, g2, b), diff2 = v - Math.min(r, g2, b), diffc = function(c) {
6745
6745
  return (v - c) / 6 / diff2 + 1 / 2;
6746
6746
  };
6747
- return diff2 === 0 ? (h2 = 0, s2 = 0) : (s2 = diff2 / v, rdif = diffc(r), gdif = diffc(g2), bdif = diffc(b), r === v ? h2 = bdif - gdif : g2 === v ? h2 = 1 / 3 + rdif - bdif : b === v && (h2 = 2 / 3 + gdif - rdif), h2 < 0 ? h2 += 1 : h2 > 1 && (h2 -= 1)), [
6748
- h2 * 360,
6749
- s2 * 100,
6747
+ return diff2 === 0 ? (h3 = 0, s3 = 0) : (s3 = diff2 / v, rdif = diffc(r), gdif = diffc(g2), bdif = diffc(b), r === v ? h3 = bdif - gdif : g2 === v ? h3 = 1 / 3 + rdif - bdif : b === v && (h3 = 2 / 3 + gdif - rdif), h3 < 0 ? h3 += 1 : h3 > 1 && (h3 -= 1)), [
6748
+ h3 * 360,
6749
+ s3 * 100,
6750
6750
  v * 100
6751
6751
  ];
6752
6752
  };
6753
6753
  convert5.rgb.hwb = function(rgb) {
6754
- let r = rgb[0], g2 = rgb[1], b = rgb[2], h2 = convert5.rgb.hsl(rgb)[0], w = 1 / 255 * Math.min(r, Math.min(g2, b));
6755
- return b = 1 - 1 / 255 * Math.max(r, Math.max(g2, b)), [h2, w * 100, b * 100];
6754
+ let r = rgb[0], g2 = rgb[1], b = rgb[2], h3 = convert5.rgb.hsl(rgb)[0], w = 1 / 255 * Math.min(r, Math.min(g2, b));
6755
+ return b = 1 - 1 / 255 * Math.max(r, Math.max(g2, b)), [h3, w * 100, b * 100];
6756
6756
  };
6757
6757
  convert5.rgb.cmyk = function(rgb) {
6758
- let r = rgb[0] / 255, g2 = rgb[1] / 255, b = rgb[2] / 255, k = Math.min(1 - r, 1 - g2, 1 - b), c = (1 - r - k) / (1 - k) || 0, m2 = (1 - g2 - k) / (1 - k) || 0, y = (1 - b - k) / (1 - k) || 0;
6759
- return [c * 100, m2 * 100, y * 100, k * 100];
6758
+ let r = rgb[0] / 255, g2 = rgb[1] / 255, b = rgb[2] / 255, k = Math.min(1 - r, 1 - g2, 1 - b), c = (1 - r - k) / (1 - k) || 0, m3 = (1 - g2 - k) / (1 - k) || 0, y = (1 - b - k) / (1 - k) || 0;
6759
+ return [c * 100, m3 * 100, y * 100, k * 100];
6760
6760
  };
6761
6761
  function comparativeDistance(x, y) {
6762
6762
  return (x[0] - y[0]) ** 2 + (x[1] - y[1]) ** 2 + (x[2] - y[2]) ** 2;
@@ -6784,54 +6784,54 @@ var require_conversions = __commonJS({
6784
6784
  convert5.rgb.lab = function(rgb) {
6785
6785
  let xyz = convert5.rgb.xyz(rgb), x = xyz[0], y = xyz[1], z = xyz[2];
6786
6786
  x /= 95.047, y /= 100, z /= 108.883, x = x > 8856e-6 ? x ** (1 / 3) : 7.787 * x + 16 / 116, y = y > 8856e-6 ? y ** (1 / 3) : 7.787 * y + 16 / 116, z = z > 8856e-6 ? z ** (1 / 3) : 7.787 * z + 16 / 116;
6787
- let l = 116 * y - 16, a2 = 500 * (x - y), b = 200 * (y - z);
6788
- return [l, a2, b];
6787
+ let l = 116 * y - 16, a3 = 500 * (x - y), b = 200 * (y - z);
6788
+ return [l, a3, b];
6789
6789
  };
6790
6790
  convert5.hsl.rgb = function(hsl) {
6791
- let h2 = hsl[0] / 360, s2 = hsl[1] / 100, l = hsl[2] / 100, t2, t3, val;
6792
- if (s2 === 0)
6791
+ let h3 = hsl[0] / 360, s3 = hsl[1] / 100, l = hsl[2] / 100, t2, t3, val;
6792
+ if (s3 === 0)
6793
6793
  return val = l * 255, [val, val, val];
6794
- l < 0.5 ? t2 = l * (1 + s2) : t2 = l + s2 - l * s2;
6794
+ l < 0.5 ? t2 = l * (1 + s3) : t2 = l + s3 - l * s3;
6795
6795
  let t1 = 2 * l - t2, rgb = [0, 0, 0];
6796
6796
  for (let i = 0; i < 3; i++)
6797
- t3 = h2 + 1 / 3 * -(i - 1), t3 < 0 && t3++, t3 > 1 && t3--, 6 * t3 < 1 ? val = t1 + (t2 - t1) * 6 * t3 : 2 * t3 < 1 ? val = t2 : 3 * t3 < 2 ? val = t1 + (t2 - t1) * (2 / 3 - t3) * 6 : val = t1, rgb[i] = val * 255;
6797
+ t3 = h3 + 1 / 3 * -(i - 1), t3 < 0 && t3++, t3 > 1 && t3--, 6 * t3 < 1 ? val = t1 + (t2 - t1) * 6 * t3 : 2 * t3 < 1 ? val = t2 : 3 * t3 < 2 ? val = t1 + (t2 - t1) * (2 / 3 - t3) * 6 : val = t1, rgb[i] = val * 255;
6798
6798
  return rgb;
6799
6799
  };
6800
6800
  convert5.hsl.hsv = function(hsl) {
6801
- let h2 = hsl[0], s2 = hsl[1] / 100, l = hsl[2] / 100, smin = s2, lmin = Math.max(l, 0.01);
6802
- l *= 2, s2 *= l <= 1 ? l : 2 - l, smin *= lmin <= 1 ? lmin : 2 - lmin;
6803
- let v = (l + s2) / 2, sv = l === 0 ? 2 * smin / (lmin + smin) : 2 * s2 / (l + s2);
6804
- return [h2, sv * 100, v * 100];
6801
+ let h3 = hsl[0], s3 = hsl[1] / 100, l = hsl[2] / 100, smin = s3, lmin = Math.max(l, 0.01);
6802
+ l *= 2, s3 *= l <= 1 ? l : 2 - l, smin *= lmin <= 1 ? lmin : 2 - lmin;
6803
+ let v = (l + s3) / 2, sv = l === 0 ? 2 * smin / (lmin + smin) : 2 * s3 / (l + s3);
6804
+ return [h3, sv * 100, v * 100];
6805
6805
  };
6806
6806
  convert5.hsv.rgb = function(hsv) {
6807
- let h2 = hsv[0] / 60, s2 = hsv[1] / 100, v = hsv[2] / 100, hi = Math.floor(h2) % 6, f3 = h2 - Math.floor(h2), p2 = 255 * v * (1 - s2), q = 255 * v * (1 - s2 * f3), t = 255 * v * (1 - s2 * (1 - f3));
6807
+ let h3 = hsv[0] / 60, s3 = hsv[1] / 100, v = hsv[2] / 100, hi = Math.floor(h3) % 6, f4 = h3 - Math.floor(h3), p3 = 255 * v * (1 - s3), q = 255 * v * (1 - s3 * f4), t = 255 * v * (1 - s3 * (1 - f4));
6808
6808
  switch (v *= 255, hi) {
6809
6809
  case 0:
6810
- return [v, t, p2];
6810
+ return [v, t, p3];
6811
6811
  case 1:
6812
- return [q, v, p2];
6812
+ return [q, v, p3];
6813
6813
  case 2:
6814
- return [p2, v, t];
6814
+ return [p3, v, t];
6815
6815
  case 3:
6816
- return [p2, q, v];
6816
+ return [p3, q, v];
6817
6817
  case 4:
6818
- return [t, p2, v];
6818
+ return [t, p3, v];
6819
6819
  case 5:
6820
- return [v, p2, q];
6820
+ return [v, p3, q];
6821
6821
  }
6822
6822
  };
6823
6823
  convert5.hsv.hsl = function(hsv) {
6824
- let h2 = hsv[0], s2 = hsv[1] / 100, v = hsv[2] / 100, vmin = Math.max(v, 0.01), sl, l;
6825
- l = (2 - s2) * v;
6826
- let lmin = (2 - s2) * vmin;
6827
- return sl = s2 * vmin, sl /= lmin <= 1 ? lmin : 2 - lmin, sl = sl || 0, l /= 2, [h2, sl * 100, l * 100];
6824
+ let h3 = hsv[0], s3 = hsv[1] / 100, v = hsv[2] / 100, vmin = Math.max(v, 0.01), sl, l;
6825
+ l = (2 - s3) * v;
6826
+ let lmin = (2 - s3) * vmin;
6827
+ return sl = s3 * vmin, sl /= lmin <= 1 ? lmin : 2 - lmin, sl = sl || 0, l /= 2, [h3, sl * 100, l * 100];
6828
6828
  };
6829
6829
  convert5.hwb.rgb = function(hwb) {
6830
- let h2 = hwb[0] / 360, wh = hwb[1] / 100, bl = hwb[2] / 100, ratio = wh + bl, f3;
6830
+ let h3 = hwb[0] / 360, wh = hwb[1] / 100, bl = hwb[2] / 100, ratio = wh + bl, f4;
6831
6831
  ratio > 1 && (wh /= ratio, bl /= ratio);
6832
- let i = Math.floor(6 * h2), v = 1 - bl;
6833
- f3 = 6 * h2 - i, (i & 1) !== 0 && (f3 = 1 - f3);
6834
- let n = wh + f3 * (v - wh), r, g2, b;
6832
+ let i = Math.floor(6 * h3), v = 1 - bl;
6833
+ f4 = 6 * h3 - i, (i & 1) !== 0 && (f4 = 1 - f4);
6834
+ let n = wh + f4 * (v - wh), r, g2, b;
6835
6835
  switch (i) {
6836
6836
  default:
6837
6837
  case 6:
@@ -6857,7 +6857,7 @@ var require_conversions = __commonJS({
6857
6857
  return [r * 255, g2 * 255, b * 255];
6858
6858
  };
6859
6859
  convert5.cmyk.rgb = function(cmyk) {
6860
- let c = cmyk[0] / 100, m2 = cmyk[1] / 100, y = cmyk[2] / 100, k = cmyk[3] / 100, r = 1 - Math.min(1, c * (1 - k) + k), g2 = 1 - Math.min(1, m2 * (1 - k) + k), b = 1 - Math.min(1, y * (1 - k) + k);
6860
+ let c = cmyk[0] / 100, m3 = cmyk[1] / 100, y = cmyk[2] / 100, k = cmyk[3] / 100, r = 1 - Math.min(1, c * (1 - k) + k), g2 = 1 - Math.min(1, m3 * (1 - k) + k), b = 1 - Math.min(1, y * (1 - k) + k);
6861
6861
  return [r * 255, g2 * 255, b * 255];
6862
6862
  };
6863
6863
  convert5.xyz.rgb = function(xyz) {
@@ -6867,24 +6867,24 @@ var require_conversions = __commonJS({
6867
6867
  convert5.xyz.lab = function(xyz) {
6868
6868
  let x = xyz[0], y = xyz[1], z = xyz[2];
6869
6869
  x /= 95.047, y /= 100, z /= 108.883, x = x > 8856e-6 ? x ** (1 / 3) : 7.787 * x + 16 / 116, y = y > 8856e-6 ? y ** (1 / 3) : 7.787 * y + 16 / 116, z = z > 8856e-6 ? z ** (1 / 3) : 7.787 * z + 16 / 116;
6870
- let l = 116 * y - 16, a2 = 500 * (x - y), b = 200 * (y - z);
6871
- return [l, a2, b];
6870
+ let l = 116 * y - 16, a3 = 500 * (x - y), b = 200 * (y - z);
6871
+ return [l, a3, b];
6872
6872
  };
6873
6873
  convert5.lab.xyz = function(lab) {
6874
- let l = lab[0], a2 = lab[1], b = lab[2], x, y, z;
6875
- y = (l + 16) / 116, x = a2 / 500 + y, z = y - b / 200;
6874
+ let l = lab[0], a3 = lab[1], b = lab[2], x, y, z;
6875
+ y = (l + 16) / 116, x = a3 / 500 + y, z = y - b / 200;
6876
6876
  let y2 = y ** 3, x2 = x ** 3, z2 = z ** 3;
6877
6877
  return y = y2 > 8856e-6 ? y2 : (y - 16 / 116) / 7.787, x = x2 > 8856e-6 ? x2 : (x - 16 / 116) / 7.787, z = z2 > 8856e-6 ? z2 : (z - 16 / 116) / 7.787, x *= 95.047, y *= 100, z *= 108.883, [x, y, z];
6878
6878
  };
6879
6879
  convert5.lab.lch = function(lab) {
6880
- let l = lab[0], a2 = lab[1], b = lab[2], h2;
6881
- h2 = Math.atan2(b, a2) * 360 / 2 / Math.PI, h2 < 0 && (h2 += 360);
6882
- let c = Math.sqrt(a2 * a2 + b * b);
6883
- return [l, c, h2];
6880
+ let l = lab[0], a3 = lab[1], b = lab[2], h3;
6881
+ h3 = Math.atan2(b, a3) * 360 / 2 / Math.PI, h3 < 0 && (h3 += 360);
6882
+ let c = Math.sqrt(a3 * a3 + b * b);
6883
+ return [l, c, h3];
6884
6884
  };
6885
6885
  convert5.lch.lab = function(lch) {
6886
- let l = lch[0], c = lch[1], hr = lch[2] / 360 * 2 * Math.PI, a2 = c * Math.cos(hr), b = c * Math.sin(hr);
6887
- return [l, a2, b];
6886
+ let l = lch[0], c = lch[1], hr = lch[2] / 360 * 2 * Math.PI, a3 = c * Math.cos(hr), b = c * Math.sin(hr);
6887
+ return [l, a3, b];
6888
6888
  };
6889
6889
  convert5.rgb.ansi16 = function(args, saturation = null) {
6890
6890
  let [r, g2, b] = args, value = saturation === null ? convert5.rgb.hsv(args)[2] : saturation;
@@ -6934,18 +6934,18 @@ var require_conversions = __commonJS({
6934
6934
  return chroma < 1 ? grayscale = min2 / (1 - chroma) : grayscale = 0, chroma <= 0 ? hue = 0 : max2 === r ? hue = (g2 - b) / chroma % 6 : max2 === g2 ? hue = 2 + (b - r) / chroma : hue = 4 + (r - g2) / chroma, hue /= 6, hue %= 1, [hue * 360, chroma * 100, grayscale * 100];
6935
6935
  };
6936
6936
  convert5.hsl.hcg = function(hsl) {
6937
- let s2 = hsl[1] / 100, l = hsl[2] / 100, c = l < 0.5 ? 2 * s2 * l : 2 * s2 * (1 - l), f3 = 0;
6938
- return c < 1 && (f3 = (l - 0.5 * c) / (1 - c)), [hsl[0], c * 100, f3 * 100];
6937
+ let s3 = hsl[1] / 100, l = hsl[2] / 100, c = l < 0.5 ? 2 * s3 * l : 2 * s3 * (1 - l), f4 = 0;
6938
+ return c < 1 && (f4 = (l - 0.5 * c) / (1 - c)), [hsl[0], c * 100, f4 * 100];
6939
6939
  };
6940
6940
  convert5.hsv.hcg = function(hsv) {
6941
- let s2 = hsv[1] / 100, v = hsv[2] / 100, c = s2 * v, f3 = 0;
6942
- return c < 1 && (f3 = (v - c) / (1 - c)), [hsv[0], c * 100, f3 * 100];
6941
+ let s3 = hsv[1] / 100, v = hsv[2] / 100, c = s3 * v, f4 = 0;
6942
+ return c < 1 && (f4 = (v - c) / (1 - c)), [hsv[0], c * 100, f4 * 100];
6943
6943
  };
6944
6944
  convert5.hcg.rgb = function(hcg) {
6945
- let h2 = hcg[0] / 360, c = hcg[1] / 100, g2 = hcg[2] / 100;
6945
+ let h3 = hcg[0] / 360, c = hcg[1] / 100, g2 = hcg[2] / 100;
6946
6946
  if (c === 0)
6947
6947
  return [g2 * 255, g2 * 255, g2 * 255];
6948
- let pure = [0, 0, 0], hi = h2 % 1 * 6, v = hi % 1, w = 1 - v, mg = 0;
6948
+ let pure = [0, 0, 0], hi = h3 % 1 * 6, v = hi % 1, w = 1 - v, mg = 0;
6949
6949
  switch (Math.floor(hi)) {
6950
6950
  case 0:
6951
6951
  pure[0] = 1, pure[1] = v, pure[2] = 0;
@@ -6972,12 +6972,12 @@ var require_conversions = __commonJS({
6972
6972
  ];
6973
6973
  };
6974
6974
  convert5.hcg.hsv = function(hcg) {
6975
- let c = hcg[1] / 100, g2 = hcg[2] / 100, v = c + g2 * (1 - c), f3 = 0;
6976
- return v > 0 && (f3 = c / v), [hcg[0], f3 * 100, v * 100];
6975
+ let c = hcg[1] / 100, g2 = hcg[2] / 100, v = c + g2 * (1 - c), f4 = 0;
6976
+ return v > 0 && (f4 = c / v), [hcg[0], f4 * 100, v * 100];
6977
6977
  };
6978
6978
  convert5.hcg.hsl = function(hcg) {
6979
- let c = hcg[1] / 100, l = hcg[2] / 100 * (1 - c) + 0.5 * c, s2 = 0;
6980
- return l > 0 && l < 0.5 ? s2 = c / (2 * l) : l >= 0.5 && l < 1 && (s2 = c / (2 * (1 - l))), [hcg[0], s2 * 100, l * 100];
6979
+ let c = hcg[1] / 100, l = hcg[2] / 100 * (1 - c) + 0.5 * c, s3 = 0;
6980
+ return l > 0 && l < 0.5 ? s3 = c / (2 * l) : l >= 0.5 && l < 1 && (s3 = c / (2 * (1 - l))), [hcg[0], s3 * 100, l * 100];
6981
6981
  };
6982
6982
  convert5.hcg.hwb = function(hcg) {
6983
6983
  let c = hcg[1] / 100, g2 = hcg[2] / 100, v = c + g2 * (1 - c);
@@ -7282,7 +7282,7 @@ var require_templates = __commonJS({
7282
7282
  if (!Number.isNaN(number))
7283
7283
  results.push(number);
7284
7284
  else if (matches6 = chunk3.match(STRING_REGEX))
7285
- results.push(matches6[2].replace(ESCAPE_REGEX, (m2, escape6, character) => escape6 ? unescape3(escape6) : character));
7285
+ results.push(matches6[2].replace(ESCAPE_REGEX, (m3, escape6, character) => escape6 ? unescape3(escape6) : character));
7286
7286
  else
7287
7287
  throw new Error(`Invalid Chalk template style argument: ${chunk3} (in style '${name}')`);
7288
7288
  }
@@ -7317,7 +7317,7 @@ var require_templates = __commonJS({
7317
7317
  }
7318
7318
  module2.exports = (chalk2, temporary) => {
7319
7319
  let styles3 = [], chunks = [], chunk3 = [];
7320
- if (temporary.replace(TEMPLATE_REGEX, (m2, escapeCharacter, inverse, style, close, character) => {
7320
+ if (temporary.replace(TEMPLATE_REGEX, (m3, escapeCharacter, inverse, style, close, character) => {
7321
7321
  if (escapeCharacter)
7322
7322
  chunk3.push(unescape3(escapeCharacter));
7323
7323
  else if (style) {
@@ -9295,29 +9295,29 @@ var require_Immutable = __commonJS({
9295
9295
  var require_react_is_production_min = __commonJS({
9296
9296
  "../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.production.min.js"(exports) {
9297
9297
  "use strict";
9298
- var b = 60103, c = 60106, d = 60107, e = 60108, f3 = 60114, g2 = 60109, h2 = 60110, k = 60112, l = 60113, m2 = 60120, n = 60115, p2 = 60116, q = 60121, r = 60122, u2 = 60117, v = 60129, w = 60131;
9299
- typeof Symbol == "function" && Symbol.for && (x = Symbol.for, b = x("react.element"), c = x("react.portal"), d = x("react.fragment"), e = x("react.strict_mode"), f3 = x("react.profiler"), g2 = x("react.provider"), h2 = x("react.context"), k = x("react.forward_ref"), l = x("react.suspense"), m2 = x("react.suspense_list"), n = x("react.memo"), p2 = x("react.lazy"), q = x("react.block"), r = x("react.server.block"), u2 = x("react.fundamental"), v = x("react.debug_trace_mode"), w = x("react.legacy_hidden"));
9298
+ var b = 60103, c = 60106, d = 60107, e = 60108, f4 = 60114, g2 = 60109, h3 = 60110, k = 60112, l = 60113, m3 = 60120, n = 60115, p3 = 60116, q = 60121, r = 60122, u2 = 60117, v = 60129, w = 60131;
9299
+ typeof Symbol == "function" && Symbol.for && (x = Symbol.for, b = x("react.element"), c = x("react.portal"), d = x("react.fragment"), e = x("react.strict_mode"), f4 = x("react.profiler"), g2 = x("react.provider"), h3 = x("react.context"), k = x("react.forward_ref"), l = x("react.suspense"), m3 = x("react.suspense_list"), n = x("react.memo"), p3 = x("react.lazy"), q = x("react.block"), r = x("react.server.block"), u2 = x("react.fundamental"), v = x("react.debug_trace_mode"), w = x("react.legacy_hidden"));
9300
9300
  var x;
9301
- function y(a2) {
9302
- if (typeof a2 == "object" && a2 !== null) {
9303
- var t = a2.$$typeof;
9301
+ function y(a3) {
9302
+ if (typeof a3 == "object" && a3 !== null) {
9303
+ var t = a3.$$typeof;
9304
9304
  switch (t) {
9305
9305
  case b:
9306
- switch (a2 = a2.type, a2) {
9306
+ switch (a3 = a3.type, a3) {
9307
9307
  case d:
9308
- case f3:
9308
+ case f4:
9309
9309
  case e:
9310
9310
  case l:
9311
- case m2:
9312
- return a2;
9311
+ case m3:
9312
+ return a3;
9313
9313
  default:
9314
- switch (a2 = a2 && a2.$$typeof, a2) {
9315
- case h2:
9314
+ switch (a3 = a3 && a3.$$typeof, a3) {
9315
+ case h3:
9316
9316
  case k:
9317
- case p2:
9317
+ case p3:
9318
9318
  case n:
9319
9319
  case g2:
9320
- return a2;
9320
+ return a3;
9321
9321
  default:
9322
9322
  return t;
9323
9323
  }
@@ -9327,12 +9327,12 @@ var require_react_is_production_min = __commonJS({
9327
9327
  }
9328
9328
  }
9329
9329
  }
9330
- var z = g2, A = b, B2 = k, C2 = d, D = p2, E = n, F = c, G = f3, H = e, I = l;
9331
- exports.ContextConsumer = h2;
9330
+ var z = g2, A = b, B3 = k, C3 = d, D = p3, E = n, F = c, G = f4, H = e, I = l;
9331
+ exports.ContextConsumer = h3;
9332
9332
  exports.ContextProvider = z;
9333
9333
  exports.Element = A;
9334
- exports.ForwardRef = B2;
9335
- exports.Fragment = C2;
9334
+ exports.ForwardRef = B3;
9335
+ exports.Fragment = C3;
9336
9336
  exports.Lazy = D;
9337
9337
  exports.Memo = E;
9338
9338
  exports.Portal = F;
@@ -9345,41 +9345,41 @@ var require_react_is_production_min = __commonJS({
9345
9345
  exports.isConcurrentMode = function() {
9346
9346
  return !1;
9347
9347
  };
9348
- exports.isContextConsumer = function(a2) {
9349
- return y(a2) === h2;
9348
+ exports.isContextConsumer = function(a3) {
9349
+ return y(a3) === h3;
9350
9350
  };
9351
- exports.isContextProvider = function(a2) {
9352
- return y(a2) === g2;
9351
+ exports.isContextProvider = function(a3) {
9352
+ return y(a3) === g2;
9353
9353
  };
9354
- exports.isElement = function(a2) {
9355
- return typeof a2 == "object" && a2 !== null && a2.$$typeof === b;
9354
+ exports.isElement = function(a3) {
9355
+ return typeof a3 == "object" && a3 !== null && a3.$$typeof === b;
9356
9356
  };
9357
- exports.isForwardRef = function(a2) {
9358
- return y(a2) === k;
9357
+ exports.isForwardRef = function(a3) {
9358
+ return y(a3) === k;
9359
9359
  };
9360
- exports.isFragment = function(a2) {
9361
- return y(a2) === d;
9360
+ exports.isFragment = function(a3) {
9361
+ return y(a3) === d;
9362
9362
  };
9363
- exports.isLazy = function(a2) {
9364
- return y(a2) === p2;
9363
+ exports.isLazy = function(a3) {
9364
+ return y(a3) === p3;
9365
9365
  };
9366
- exports.isMemo = function(a2) {
9367
- return y(a2) === n;
9366
+ exports.isMemo = function(a3) {
9367
+ return y(a3) === n;
9368
9368
  };
9369
- exports.isPortal = function(a2) {
9370
- return y(a2) === c;
9369
+ exports.isPortal = function(a3) {
9370
+ return y(a3) === c;
9371
9371
  };
9372
- exports.isProfiler = function(a2) {
9373
- return y(a2) === f3;
9372
+ exports.isProfiler = function(a3) {
9373
+ return y(a3) === f4;
9374
9374
  };
9375
- exports.isStrictMode = function(a2) {
9376
- return y(a2) === e;
9375
+ exports.isStrictMode = function(a3) {
9376
+ return y(a3) === e;
9377
9377
  };
9378
- exports.isSuspense = function(a2) {
9379
- return y(a2) === l;
9378
+ exports.isSuspense = function(a3) {
9379
+ return y(a3) === l;
9380
9380
  };
9381
- exports.isValidElementType = function(a2) {
9382
- return typeof a2 == "string" || typeof a2 == "function" || a2 === d || a2 === f3 || a2 === v || a2 === e || a2 === l || a2 === m2 || a2 === w || typeof a2 == "object" && a2 !== null && (a2.$$typeof === p2 || a2.$$typeof === n || a2.$$typeof === g2 || a2.$$typeof === h2 || a2.$$typeof === k || a2.$$typeof === u2 || a2.$$typeof === q || a2[0] === r);
9381
+ exports.isValidElementType = function(a3) {
9382
+ return typeof a3 == "string" || typeof a3 == "function" || a3 === d || a3 === f4 || a3 === v || a3 === e || a3 === l || a3 === m3 || a3 === w || typeof a3 == "object" && a3 !== null && (a3.$$typeof === p3 || a3.$$typeof === n || a3.$$typeof === g2 || a3.$$typeof === h3 || a3.$$typeof === k || a3.$$typeof === u2 || a3.$$typeof === q || a3[0] === r);
9383
9383
  };
9384
9384
  exports.typeOf = y;
9385
9385
  }
@@ -9675,10 +9675,10 @@ var require_build = __commonJS({
9675
9675
  return printed;
9676
9676
  }
9677
9677
  function findPlugin2(plugins4, val) {
9678
- for (let p2 = 0; p2 < plugins4.length; p2++)
9678
+ for (let p3 = 0; p3 < plugins4.length; p3++)
9679
9679
  try {
9680
- if (plugins4[p2].test(val))
9681
- return plugins4[p2];
9680
+ if (plugins4[p3].test(val))
9681
+ return plugins4[p3];
9682
9682
  } catch (error) {
9683
9683
  throw new PrettyFormatPluginError2(error.message, error.stack);
9684
9684
  }
@@ -9811,7 +9811,7 @@ var require_build = __commonJS({
9811
9811
  var require_lz_string = __commonJS({
9812
9812
  "../../node_modules/lz-string/libs/lz-string.js"(exports, module2) {
9813
9813
  var LZString = (function() {
9814
- var f3 = String.fromCharCode, keyStrBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", keyStrUriSafe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", baseReverseDic = {};
9814
+ var f4 = String.fromCharCode, keyStrBase64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", keyStrUriSafe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$", baseReverseDic = {};
9815
9815
  function getBaseValue(alphabet, character) {
9816
9816
  if (!baseReverseDic[alphabet]) {
9817
9817
  baseReverseDic[alphabet] = {};
@@ -9823,8 +9823,8 @@ var require_lz_string = __commonJS({
9823
9823
  var LZString2 = {
9824
9824
  compressToBase64: function(input2) {
9825
9825
  if (input2 == null) return "";
9826
- var res = LZString2._compress(input2, 6, function(a2) {
9827
- return keyStrBase64.charAt(a2);
9826
+ var res = LZString2._compress(input2, 6, function(a3) {
9827
+ return keyStrBase64.charAt(a3);
9828
9828
  });
9829
9829
  switch (res.length % 4) {
9830
9830
  // To produce valid Base64
@@ -9846,8 +9846,8 @@ var require_lz_string = __commonJS({
9846
9846
  });
9847
9847
  },
9848
9848
  compressToUTF16: function(input2) {
9849
- return input2 == null ? "" : LZString2._compress(input2, 15, function(a2) {
9850
- return f3(a2 + 32);
9849
+ return input2 == null ? "" : LZString2._compress(input2, 15, function(a3) {
9850
+ return f4(a3 + 32);
9851
9851
  }) + " ";
9852
9852
  },
9853
9853
  decompressFromUTF16: function(compressed) {
@@ -9871,13 +9871,13 @@ var require_lz_string = __commonJS({
9871
9871
  buf[i] = compressed[i * 2] * 256 + compressed[i * 2 + 1];
9872
9872
  var result = [];
9873
9873
  return buf.forEach(function(c) {
9874
- result.push(f3(c));
9874
+ result.push(f4(c));
9875
9875
  }), LZString2.decompress(result.join(""));
9876
9876
  },
9877
9877
  //compress into a string that is already URI encoded
9878
9878
  compressToEncodedURIComponent: function(input2) {
9879
- return input2 == null ? "" : LZString2._compress(input2, 6, function(a2) {
9880
- return keyStrUriSafe.charAt(a2);
9879
+ return input2 == null ? "" : LZString2._compress(input2, 6, function(a3) {
9880
+ return keyStrUriSafe.charAt(a3);
9881
9881
  });
9882
9882
  },
9883
9883
  //decompress from an output of compressToEncodedURIComponent
@@ -9887,8 +9887,8 @@ var require_lz_string = __commonJS({
9887
9887
  }));
9888
9888
  },
9889
9889
  compress: function(uncompressed) {
9890
- return LZString2._compress(uncompressed, 16, function(a2) {
9891
- return f3(a2);
9890
+ return LZString2._compress(uncompressed, 16, function(a3) {
9891
+ return f4(a3);
9892
9892
  });
9893
9893
  },
9894
9894
  _compress: function(uncompressed, bitsPerChar, getCharFromInt) {
@@ -9959,12 +9959,12 @@ var require_lz_string = __commonJS({
9959
9959
  case 0:
9960
9960
  for (bits = 0, maxpower = Math.pow(2, 8), power = 1; power != maxpower; )
9961
9961
  resb = data.val & data.position, data.position >>= 1, data.position == 0 && (data.position = resetValue, data.val = getNextValue(data.index++)), bits |= (resb > 0 ? 1 : 0) * power, power <<= 1;
9962
- c = f3(bits);
9962
+ c = f4(bits);
9963
9963
  break;
9964
9964
  case 1:
9965
9965
  for (bits = 0, maxpower = Math.pow(2, 16), power = 1; power != maxpower; )
9966
9966
  resb = data.val & data.position, data.position >>= 1, data.position == 0 && (data.position = resetValue, data.val = getNextValue(data.index++)), bits |= (resb > 0 ? 1 : 0) * power, power <<= 1;
9967
- c = f3(bits);
9967
+ c = f4(bits);
9968
9968
  break;
9969
9969
  case 2:
9970
9970
  return "";
@@ -9978,12 +9978,12 @@ var require_lz_string = __commonJS({
9978
9978
  case 0:
9979
9979
  for (bits = 0, maxpower = Math.pow(2, 8), power = 1; power != maxpower; )
9980
9980
  resb = data.val & data.position, data.position >>= 1, data.position == 0 && (data.position = resetValue, data.val = getNextValue(data.index++)), bits |= (resb > 0 ? 1 : 0) * power, power <<= 1;
9981
- dictionary[dictSize++] = f3(bits), c = dictSize - 1, enlargeIn--;
9981
+ dictionary[dictSize++] = f4(bits), c = dictSize - 1, enlargeIn--;
9982
9982
  break;
9983
9983
  case 1:
9984
9984
  for (bits = 0, maxpower = Math.pow(2, 16), power = 1; power != maxpower; )
9985
9985
  resb = data.val & data.position, data.position >>= 1, data.position == 0 && (data.position = resetValue, data.val = getNextValue(data.index++)), bits |= (resb > 0 ? 1 : 0) * power, power <<= 1;
9986
- dictionary[dictSize++] = f3(bits), c = dictSize - 1, enlargeIn--;
9986
+ dictionary[dictSize++] = f4(bits), c = dictSize - 1, enlargeIn--;
9987
9987
  break;
9988
9988
  case 2:
9989
9989
  return result.join("");
@@ -10011,37 +10011,37 @@ var require_lz_string = __commonJS({
10011
10011
  // ../../node_modules/memoizerific/memoizerific.js
10012
10012
  var require_memoizerific = __commonJS({
10013
10013
  "../../node_modules/memoizerific/memoizerific.js"(exports, module2) {
10014
- (function(f3) {
10014
+ (function(f4) {
10015
10015
  if (typeof exports == "object" && typeof module2 < "u")
10016
- module2.exports = f3();
10016
+ module2.exports = f4();
10017
10017
  else if (typeof define == "function" && define.amd)
10018
- define([], f3);
10018
+ define([], f4);
10019
10019
  else {
10020
10020
  var g2;
10021
- typeof window < "u" ? g2 = window : typeof global < "u" ? g2 = global : typeof self < "u" ? g2 = self : g2 = this, g2.memoizerific = f3();
10021
+ typeof window < "u" ? g2 = window : typeof global < "u" ? g2 = global : typeof self < "u" ? g2 = self : g2 = this, g2.memoizerific = f4();
10022
10022
  }
10023
10023
  })(function() {
10024
10024
  var define3, module3, exports2;
10025
10025
  return (function e(t, n, r) {
10026
- function s2(o2, u2) {
10026
+ function s3(o2, u2) {
10027
10027
  if (!n[o2]) {
10028
10028
  if (!t[o2]) {
10029
- var a2 = typeof __require == "function" && __require;
10030
- if (!u2 && a2) return a2(o2, !0);
10029
+ var a3 = typeof __require == "function" && __require;
10030
+ if (!u2 && a3) return a3(o2, !0);
10031
10031
  if (i) return i(o2, !0);
10032
- var f3 = new Error("Cannot find module '" + o2 + "'");
10033
- throw f3.code = "MODULE_NOT_FOUND", f3;
10032
+ var f4 = new Error("Cannot find module '" + o2 + "'");
10033
+ throw f4.code = "MODULE_NOT_FOUND", f4;
10034
10034
  }
10035
10035
  var l = n[o2] = { exports: {} };
10036
10036
  t[o2][0].call(l.exports, function(e2) {
10037
10037
  var n2 = t[o2][1][e2];
10038
- return s2(n2 || e2);
10038
+ return s3(n2 || e2);
10039
10039
  }, l, l.exports, e, t, n, r);
10040
10040
  }
10041
10041
  return n[o2].exports;
10042
10042
  }
10043
- for (var i = typeof __require == "function" && __require, o = 0; o < r.length; o++) s2(r[o]);
10044
- return s2;
10043
+ for (var i = typeof __require == "function" && __require, o = 0; o < r.length; o++) s3(r[o]);
10044
+ return s3;
10045
10045
  })({ 1: [function(_dereq_, module4, exports3) {
10046
10046
  module4.exports = function(forceSimilar) {
10047
10047
  if (typeof Map != "function" || forceSimilar) {
@@ -10883,16 +10883,16 @@ var require_stringify = __commonJS({
10883
10883
  var require_main = __commonJS({
10884
10884
  "../../node_modules/picoquery/lib/main.js"(exports) {
10885
10885
  "use strict";
10886
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m2, k, k2) {
10886
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m3, k, k2) {
10887
10887
  k2 === void 0 && (k2 = k);
10888
- var desc = Object.getOwnPropertyDescriptor(m2, k);
10889
- (!desc || ("get" in desc ? !m2.__esModule : desc.writable || desc.configurable)) && (desc = { enumerable: !0, get: function() {
10890
- return m2[k];
10888
+ var desc = Object.getOwnPropertyDescriptor(m3, k);
10889
+ (!desc || ("get" in desc ? !m3.__esModule : desc.writable || desc.configurable)) && (desc = { enumerable: !0, get: function() {
10890
+ return m3[k];
10891
10891
  } }), Object.defineProperty(o, k2, desc);
10892
- }) : (function(o, m2, k, k2) {
10893
- k2 === void 0 && (k2 = k), o[k2] = m2[k];
10894
- })), __exportStar = exports && exports.__exportStar || function(m2, exports2) {
10895
- for (var p2 in m2) p2 !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p2) && __createBinding(exports2, m2, p2);
10892
+ }) : (function(o, m3, k, k2) {
10893
+ k2 === void 0 && (k2 = k), o[k2] = m3[k];
10894
+ })), __exportStar = exports && exports.__exportStar || function(m3, exports2) {
10895
+ for (var p3 in m3) p3 !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p3) && __createBinding(exports2, m3, p3);
10896
10896
  };
10897
10897
  Object.defineProperty(exports, "__esModule", { value: !0 });
10898
10898
  exports.stringify = exports.parse = void 0;
@@ -10977,8 +10977,8 @@ var require_decode2 = __commonJS({
10977
10977
  return String(str2).replace(strictEntityRe, replace2);
10978
10978
  };
10979
10979
  }
10980
- var sorter = function(a2, b) {
10981
- return a2 < b ? 1 : -1;
10980
+ var sorter = function(a3, b) {
10981
+ return a3 < b ? 1 : -1;
10982
10982
  };
10983
10983
  exports.decodeHTML = (function() {
10984
10984
  for (var legacy = Object.keys(legacy_json_1.default).sort(sorter), keys3 = Object.keys(entities_json_1.default).sort(sorter), i = 0, j = 0; i < keys3.length; i++)
@@ -11374,16 +11374,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11374
11374
  function remove3() {
11375
11375
  return "";
11376
11376
  }
11377
- function removeXterm256Foreground(m2, g1) {
11377
+ function removeXterm256Foreground(m3, g1) {
11378
11378
  return callback("xterm256Foreground", g1), "";
11379
11379
  }
11380
- function removeXterm256Background(m2, g1) {
11380
+ function removeXterm256Background(m3, g1) {
11381
11381
  return callback("xterm256Background", g1), "";
11382
11382
  }
11383
- function newline(m2) {
11384
- return options.newline ? callback("display", -1) : callback("text", m2), "";
11383
+ function newline(m3) {
11384
+ return options.newline ? callback("display", -1) : callback("text", m3), "";
11385
11385
  }
11386
- function ansiMess(m2, g1) {
11386
+ function ansiMess(m3, g1) {
11387
11387
  ansiMatch = !0, g1.trim().length === 0 && (g1 = "0"), g1 = g1.trimRight(";").split(";");
11388
11388
  var _iterator2 = _createForOfIteratorHelper(g1), _step2;
11389
11389
  try {
@@ -11398,11 +11398,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11398
11398
  }
11399
11399
  return "";
11400
11400
  }
11401
- function realText(m2) {
11402
- return callback("text", m2), "";
11401
+ function realText(m3) {
11402
+ return callback("text", m3), "";
11403
11403
  }
11404
- function rgb(m2) {
11405
- return callback("rgb", m2), "";
11404
+ function rgb(m3) {
11405
+ return callback("rgb", m3), "";
11406
11406
  }
11407
11407
  var tokens = [{
11408
11408
  pattern: /^\x08+/,
@@ -12150,11 +12150,11 @@ var require_dist = __commonJS({
12150
12150
  parameters2 = [value.element];
12151
12151
  else
12152
12152
  throw new UnexpectedTypeError(value);
12153
- return parameters2.map((p2) => assertPlainKeyValueOrRootResult(p2));
12153
+ return parameters2.map((p3) => assertPlainKeyValueOrRootResult(p3));
12154
12154
  }
12155
12155
  function getUnnamedParameters(value) {
12156
12156
  let parameters2 = getParameters(value);
12157
- if (parameters2.some((p2) => p2.type === "JsdocTypeKeyValue"))
12157
+ if (parameters2.some((p3) => p3.type === "JsdocTypeKeyValue"))
12158
12158
  throw new Error("No parameter should be named");
12159
12159
  return parameters2;
12160
12160
  }
@@ -12187,9 +12187,9 @@ var require_dist = __commonJS({
12187
12187
  if (newKeyword && value.type === "JsdocTypeFunction" && value.arrow)
12188
12188
  return result = value, result.constructor = !0, result;
12189
12189
  result.parameters = getParameters(value);
12190
- for (let p2 of result.parameters)
12191
- if (p2.type === "JsdocTypeKeyValue" && !allowNamedParameters.includes(p2.key))
12192
- throw new Error(`only allowed named parameters are ${allowNamedParameters.join(", ")} but got ${p2.type}`);
12190
+ for (let p3 of result.parameters)
12191
+ if (p3.type === "JsdocTypeKeyValue" && !allowNamedParameters.includes(p3.key))
12192
+ throw new Error(`only allowed named parameters are ${allowNamedParameters.join(", ")} but got ${p3.type}`);
12193
12193
  }
12194
12194
  if (parser.consume(":"))
12195
12195
  result.returnType = parser.parseType(Precedence.PREFIX);
@@ -13560,18 +13560,18 @@ var require_browser_dtector_umd_min = __commonJS({
13560
13560
  if (!(e3 instanceof o3)) throw new TypeError("Cannot call a class as a function");
13561
13561
  })(this, t2), this.userAgent = e2 || ((o2 = i()) === null || o2 === void 0 ? void 0 : o2.userAgent) || null;
13562
13562
  }
13563
- var a2, l, s2;
13564
- return a2 = t2, l = [{ key: "parseUserAgent", value: function(e2) {
13565
- var t3, a3, l2, s3 = {}, c = e2 || this.userAgent || "", d = c.toLowerCase().replace(/\s\s+/g, " "), u2 = /(edge)\/([\w.]+)/.exec(d) || /(edg)[/]([\w.]+)/.exec(d) || /(opr)[/]([\w.]+)/.exec(d) || /(opt)[/]([\w.]+)/.exec(d) || /(fxios)[/]([\w.]+)/.exec(d) || /(edgios)[/]([\w.]+)/.exec(d) || /(jsdom)[/]([\w.]+)/.exec(d) || /(samsungbrowser)[/]([\w.]+)/.exec(d) || /(electron)[/]([\w.]+)/.exec(d) || /(chrome)[/]([\w.]+)/.exec(d) || /(crios)[/]([\w.]+)/.exec(d) || /(opios)[/]([\w.]+)/.exec(d) || /(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(d) || /(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(d) || /(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(d) || /(webkit)[/]([\w.]+)/.exec(d) || /(opera)(?:.*version|)[/]([\w.]+)/.exec(d) || /(msie) ([\w.]+)/.exec(d) || /(fennec)[/]([\w.]+)/.exec(d) || d.indexOf("trident") >= 0 && /(rv)(?::| )([\w.]+)/.exec(d) || d.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(d) || [], f3 = /(ipad)/.exec(d) || /(ipod)/.exec(d) || /(iphone)/.exec(d) || /(jsdom)/.exec(d) || /(windows phone)/.exec(d) || /(xbox)/.exec(d) || /(win)/.exec(d) || /(tablet)/.exec(d) || /(android)/.test(d) && /(mobile)/.test(d) === !1 && ["androidTablet"] || /(android)/.exec(d) || /(mac)/.exec(d) || /(linux)/.exec(d) || /(cros)/.exec(d) || [], p2 = u2[5] || u2[3] || u2[1] || null, w = f3[0] || null, x = u2[4] || u2[2] || null, b = i();
13566
- p2 === "chrome" && typeof (b == null || (t3 = b.brave) === null || t3 === void 0 ? void 0 : t3.isBrave) == "function" && (p2 = "brave"), p2 && (s3[p2] = !0), w && (s3[w] = !0);
13567
- var v = !!(s3.tablet || s3.android || s3.androidTablet), m2 = !!(s3.ipad || s3.tablet || s3.androidTablet), g2 = !!(s3.android || s3.androidTablet || s3.tablet || s3.ipad || s3.ipod || s3.iphone || s3["windows phone"]), h2 = !!(s3.cros || s3.mac || s3.linux || s3.win), y = !!(s3.brave || s3.chrome || s3.crios || s3.opr || s3.safari || s3.edg || s3.electron), A = !!(s3.msie || s3.rv);
13568
- return { name: (a3 = o[p2]) !== null && a3 !== void 0 ? a3 : null, platform: (l2 = r[w]) !== null && l2 !== void 0 ? l2 : null, userAgent: c, version: x, shortVersion: x ? n(parseFloat(x), 2) : null, isAndroid: v, isTablet: m2, isMobile: g2, isDesktop: h2, isWebkit: y, isIE: A };
13563
+ var a3, l, s3;
13564
+ return a3 = t2, l = [{ key: "parseUserAgent", value: function(e2) {
13565
+ var t3, a4, l2, s4 = {}, c = e2 || this.userAgent || "", d = c.toLowerCase().replace(/\s\s+/g, " "), u2 = /(edge)\/([\w.]+)/.exec(d) || /(edg)[/]([\w.]+)/.exec(d) || /(opr)[/]([\w.]+)/.exec(d) || /(opt)[/]([\w.]+)/.exec(d) || /(fxios)[/]([\w.]+)/.exec(d) || /(edgios)[/]([\w.]+)/.exec(d) || /(jsdom)[/]([\w.]+)/.exec(d) || /(samsungbrowser)[/]([\w.]+)/.exec(d) || /(electron)[/]([\w.]+)/.exec(d) || /(chrome)[/]([\w.]+)/.exec(d) || /(crios)[/]([\w.]+)/.exec(d) || /(opios)[/]([\w.]+)/.exec(d) || /(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(d) || /(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(d) || /(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(d) || /(webkit)[/]([\w.]+)/.exec(d) || /(opera)(?:.*version|)[/]([\w.]+)/.exec(d) || /(msie) ([\w.]+)/.exec(d) || /(fennec)[/]([\w.]+)/.exec(d) || d.indexOf("trident") >= 0 && /(rv)(?::| )([\w.]+)/.exec(d) || d.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(d) || [], f4 = /(ipad)/.exec(d) || /(ipod)/.exec(d) || /(iphone)/.exec(d) || /(jsdom)/.exec(d) || /(windows phone)/.exec(d) || /(xbox)/.exec(d) || /(win)/.exec(d) || /(tablet)/.exec(d) || /(android)/.test(d) && /(mobile)/.test(d) === !1 && ["androidTablet"] || /(android)/.exec(d) || /(mac)/.exec(d) || /(linux)/.exec(d) || /(cros)/.exec(d) || [], p3 = u2[5] || u2[3] || u2[1] || null, w = f4[0] || null, x = u2[4] || u2[2] || null, b = i();
13566
+ p3 === "chrome" && typeof (b == null || (t3 = b.brave) === null || t3 === void 0 ? void 0 : t3.isBrave) == "function" && (p3 = "brave"), p3 && (s4[p3] = !0), w && (s4[w] = !0);
13567
+ var v = !!(s4.tablet || s4.android || s4.androidTablet), m3 = !!(s4.ipad || s4.tablet || s4.androidTablet), g2 = !!(s4.android || s4.androidTablet || s4.tablet || s4.ipad || s4.ipod || s4.iphone || s4["windows phone"]), h3 = !!(s4.cros || s4.mac || s4.linux || s4.win), y = !!(s4.brave || s4.chrome || s4.crios || s4.opr || s4.safari || s4.edg || s4.electron), A = !!(s4.msie || s4.rv);
13568
+ return { name: (a4 = o[p3]) !== null && a4 !== void 0 ? a4 : null, platform: (l2 = r[w]) !== null && l2 !== void 0 ? l2 : null, userAgent: c, version: x, shortVersion: x ? n(parseFloat(x), 2) : null, isAndroid: v, isTablet: m3, isMobile: g2, isDesktop: h3, isWebkit: y, isIE: A };
13569
13569
  } }, { key: "getBrowserInfo", value: function() {
13570
13570
  var e2 = this.parseUserAgent();
13571
13571
  return { name: e2.name, platform: e2.platform, userAgent: e2.userAgent, version: e2.version, shortVersion: e2.shortVersion };
13572
- } }], s2 = [{ key: "VERSION", get: function() {
13572
+ } }], s3 = [{ key: "VERSION", get: function() {
13573
13573
  return "3.4.0";
13574
- } }], l && e(a2.prototype, l), s2 && e(a2, s2), Object.defineProperty(a2, "prototype", { writable: !1 }), t2;
13574
+ } }], l && e(a3.prototype, l), s3 && e(a3, s3), Object.defineProperty(a3, "prototype", { writable: !1 }), t2;
13575
13575
  })();
13576
13576
  return t;
13577
13577
  }));
@@ -14390,8 +14390,8 @@ var require_es_object_atoms = __commonJS2({
14390
14390
  }), require_isNaN = __commonJS2({
14391
14391
  "node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(exports, module2) {
14392
14392
  "use strict";
14393
- module2.exports = Number.isNaN || function(a2) {
14394
- return a2 !== a2;
14393
+ module2.exports = Number.isNaN || function(a3) {
14394
+ return a3 !== a3;
14395
14395
  };
14396
14396
  }
14397
14397
  }), require_sign = __commonJS2({
@@ -14484,11 +14484,11 @@ var require_es_object_atoms = __commonJS2({
14484
14484
  }), require_implementation = __commonJS2({
14485
14485
  "node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(exports, module2) {
14486
14486
  "use strict";
14487
- var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ", toStr3 = Object.prototype.toString, max2 = Math.max, funcType = "[object Function]", concatty = function(a2, b) {
14488
- for (var arr = [], i = 0; i < a2.length; i += 1)
14489
- arr[i] = a2[i];
14487
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ", toStr3 = Object.prototype.toString, max2 = Math.max, funcType = "[object Function]", concatty = function(a3, b) {
14488
+ for (var arr = [], i = 0; i < a3.length; i += 1)
14489
+ arr[i] = a3[i];
14490
14490
  for (var j = 0; j < b.length; j += 1)
14491
- arr[j + a2.length] = b[j];
14491
+ arr[j + a3.length] = b[j];
14492
14492
  return arr;
14493
14493
  }, slicy = function(arrLike, offset2) {
14494
14494
  for (var arr = [], i = offset2 || 0, j = 0; i < arrLike.length; i += 1, j += 1)
@@ -14920,8 +14920,8 @@ var require_es_object_atoms = __commonJS2({
14920
14920
  module2.exports = function(regex) {
14921
14921
  if (!isRegex(regex))
14922
14922
  throw new $TypeError("`regex` must be a RegExp");
14923
- return function(s2) {
14924
- return $exec(regex, s2) !== null;
14923
+ return function(s3) {
14924
+ return $exec(regex, s3) !== null;
14925
14925
  };
14926
14926
  };
14927
14927
  }
@@ -15474,9 +15474,9 @@ var { document: document2, location } = scope, KEY = "storybook-channel", defaul
15474
15474
  },
15475
15475
  stringifyOptions
15476
15476
  );
15477
- return frames.length ? (this.buffer.length && this.flush(), frames.forEach((f3) => {
15477
+ return frames.length ? (this.buffer.length && this.flush(), frames.forEach((f4) => {
15478
15478
  try {
15479
- f3.postMessage(data, "*");
15479
+ f4.postMessage(data, "*");
15480
15480
  } catch {
15481
15481
  logger.error("sending over postmessage fail");
15482
15482
  }
@@ -15662,7 +15662,26 @@ var StorybookError = class _StorybookError extends Error {
15662
15662
  * user.
15663
15663
  */
15664
15664
  this.isHandledError = !1;
15665
- this.category = props.category, this.documentation = props.documentation ?? !1, this.code = props.code, this.isHandledError = props.isHandledError ?? !1, this.name = props.name;
15665
+ /**
15666
+ * A collection of sub errors which relate to a parent error.
15667
+ *
15668
+ * Sub-errors are used to represent multiple related errors that occurred together. When a
15669
+ * StorybookError with sub-errors is sent to telemetry, both the parent error and each sub-error
15670
+ * are sent as separate telemetry events. This allows for better error tracking and debugging.
15671
+ *
15672
+ * @example
15673
+ *
15674
+ * ```ts
15675
+ * const error1 = new SomeError();
15676
+ * const error2 = new AnotherError();
15677
+ * const parentError = new ParentError({
15678
+ * // ... other props
15679
+ * subErrors: [error1, error2],
15680
+ * });
15681
+ * ```
15682
+ */
15683
+ this.subErrors = [];
15684
+ this.category = props.category, this.documentation = props.documentation ?? !1, this.code = props.code, this.isHandledError = props.isHandledError ?? !1, this.name = props.name, this.subErrors = props.subErrors ?? [];
15666
15685
  }
15667
15686
  get fullErrorCode() {
15668
15687
  return parseErrorCode({ code: this.code, category: this.category });
@@ -16430,18 +16449,18 @@ function getUsedProps(fn3) {
16430
16449
  let first = args[0];
16431
16450
  return first.startsWith("{") && first.endsWith("}") ? splitByComma(first.slice(1, -1).replace(/\s/g, "")).map((prop) => prop.replace(/:.*|=.*/g, "")) : [];
16432
16451
  }
16433
- function splitByComma(s2) {
16452
+ function splitByComma(s3) {
16434
16453
  let result = [], stack = [], start = 0;
16435
- for (let i = 0; i < s2.length; i++)
16436
- if (s2[i] === "{" || s2[i] === "[")
16437
- stack.push(s2[i] === "{" ? "}" : "]");
16438
- else if (s2[i] === stack[stack.length - 1])
16454
+ for (let i = 0; i < s3.length; i++)
16455
+ if (s3[i] === "{" || s3[i] === "[")
16456
+ stack.push(s3[i] === "{" ? "}" : "]");
16457
+ else if (s3[i] === stack[stack.length - 1])
16439
16458
  stack.pop();
16440
- else if (!stack.length && s2[i] === ",") {
16441
- let token = s2.substring(start, i).trim();
16459
+ else if (!stack.length && s3[i] === ",") {
16460
+ let token = s3.substring(start, i).trim();
16442
16461
  token && result.push(token), start = i + 1;
16443
16462
  }
16444
- let lastToken = s2.substring(start).trim();
16463
+ let lastToken = s3.substring(start).trim();
16445
16464
  return lastToken && result.push(lastToken), result;
16446
16465
  }
16447
16466
 
@@ -16576,7 +16595,7 @@ __export(test_exports, {
16576
16595
  within: () => within
16577
16596
  });
16578
16597
 
16579
- // ../../node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js
16598
+ // ../../node_modules/@vitest/utils/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js
16580
16599
  var f = {
16581
16600
  reset: [0, 0],
16582
16601
  bold: [1, 22, "\x1B[22m\x1B[1m"],
@@ -16635,15 +16654,15 @@ function C(n = !1) {
16635
16654
  }
16636
16655
  function p(n = !1) {
16637
16656
  let e = C(n), i = (r, t, c, o) => {
16638
- let l = "", s2 = 0;
16657
+ let l = "", s3 = 0;
16639
16658
  do
16640
- l += r.substring(s2, o) + c, s2 = o + t.length, o = r.indexOf(t, s2);
16659
+ l += r.substring(s3, o) + c, s3 = o + t.length, o = r.indexOf(t, s3);
16641
16660
  while (~o);
16642
- return l + r.substring(s2);
16661
+ return l + r.substring(s3);
16643
16662
  }, g2 = (r, t, c = r) => {
16644
16663
  let o = (l) => {
16645
- let s2 = String(l), b = s2.indexOf(t, r.length);
16646
- return ~b ? r + i(s2, t, c, b) + t : r + s2 + t;
16664
+ let s3 = String(l), b = s3.indexOf(t, r.length);
16665
+ return ~b ? r + i(s3, t, c, b) + t : r + s3 + t;
16647
16666
  };
16648
16667
  return o.open = r, o.close = t, o;
16649
16668
  }, u2 = {
@@ -16658,12 +16677,12 @@ function p(n = !1) {
16658
16677
  return u2;
16659
16678
  }
16660
16679
 
16661
- // ../../node_modules/tinyrainbow/dist/browser.js
16680
+ // ../../node_modules/@vitest/utils/node_modules/tinyrainbow/dist/browser.js
16662
16681
  var s = p();
16663
16682
 
16664
- // ../../node_modules/@vitest/pretty-format/dist/index.js
16665
- function _mergeNamespaces(n, m2) {
16666
- return m2.forEach(function(e) {
16683
+ // ../../node_modules/@vitest/utils/node_modules/@vitest/pretty-format/dist/index.js
16684
+ function _mergeNamespaces(n, m3) {
16685
+ return m3.forEach(function(e) {
16667
16686
  e && typeof e != "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
16668
16687
  if (k !== "default" && !(k in n)) {
16669
16688
  var d = Object.getOwnPropertyDescriptor(e, k);
@@ -16957,29 +16976,29 @@ var hasRequiredReactIs_production_min;
16957
16976
  function requireReactIs_production_min() {
16958
16977
  if (hasRequiredReactIs_production_min) return reactIs_production_min;
16959
16978
  hasRequiredReactIs_production_min = 1;
16960
- var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f3 = Symbol.for("react.profiler"), g2 = Symbol.for("react.provider"), h2 = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m2 = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p2 = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u2;
16979
+ var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f4 = Symbol.for("react.profiler"), g2 = Symbol.for("react.provider"), h3 = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m3 = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p3 = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u2;
16961
16980
  u2 = Symbol.for("react.module.reference");
16962
- function v(a2) {
16963
- if (typeof a2 == "object" && a2 !== null) {
16964
- var r = a2.$$typeof;
16981
+ function v(a3) {
16982
+ if (typeof a3 == "object" && a3 !== null) {
16983
+ var r = a3.$$typeof;
16965
16984
  switch (r) {
16966
16985
  case b:
16967
- switch (a2 = a2.type, a2) {
16986
+ switch (a3 = a3.type, a3) {
16968
16987
  case d:
16969
- case f3:
16988
+ case f4:
16970
16989
  case e:
16971
- case m2:
16990
+ case m3:
16972
16991
  case n:
16973
- return a2;
16992
+ return a3;
16974
16993
  default:
16975
- switch (a2 = a2 && a2.$$typeof, a2) {
16994
+ switch (a3 = a3 && a3.$$typeof, a3) {
16976
16995
  case k:
16977
- case h2:
16996
+ case h3:
16978
16997
  case l:
16979
16998
  case q:
16980
- case p2:
16999
+ case p3:
16981
17000
  case g2:
16982
- return a2;
17001
+ return a3;
16983
17002
  default:
16984
17003
  return r;
16985
17004
  }
@@ -16989,36 +17008,36 @@ function requireReactIs_production_min() {
16989
17008
  }
16990
17009
  }
16991
17010
  }
16992
- return reactIs_production_min.ContextConsumer = h2, reactIs_production_min.ContextProvider = g2, reactIs_production_min.Element = b, reactIs_production_min.ForwardRef = l, reactIs_production_min.Fragment = d, reactIs_production_min.Lazy = q, reactIs_production_min.Memo = p2, reactIs_production_min.Portal = c, reactIs_production_min.Profiler = f3, reactIs_production_min.StrictMode = e, reactIs_production_min.Suspense = m2, reactIs_production_min.SuspenseList = n, reactIs_production_min.isAsyncMode = function() {
17011
+ return reactIs_production_min.ContextConsumer = h3, reactIs_production_min.ContextProvider = g2, reactIs_production_min.Element = b, reactIs_production_min.ForwardRef = l, reactIs_production_min.Fragment = d, reactIs_production_min.Lazy = q, reactIs_production_min.Memo = p3, reactIs_production_min.Portal = c, reactIs_production_min.Profiler = f4, reactIs_production_min.StrictMode = e, reactIs_production_min.Suspense = m3, reactIs_production_min.SuspenseList = n, reactIs_production_min.isAsyncMode = function() {
16993
17012
  return !1;
16994
17013
  }, reactIs_production_min.isConcurrentMode = function() {
16995
17014
  return !1;
16996
- }, reactIs_production_min.isContextConsumer = function(a2) {
16997
- return v(a2) === h2;
16998
- }, reactIs_production_min.isContextProvider = function(a2) {
16999
- return v(a2) === g2;
17000
- }, reactIs_production_min.isElement = function(a2) {
17001
- return typeof a2 == "object" && a2 !== null && a2.$$typeof === b;
17002
- }, reactIs_production_min.isForwardRef = function(a2) {
17003
- return v(a2) === l;
17004
- }, reactIs_production_min.isFragment = function(a2) {
17005
- return v(a2) === d;
17006
- }, reactIs_production_min.isLazy = function(a2) {
17007
- return v(a2) === q;
17008
- }, reactIs_production_min.isMemo = function(a2) {
17009
- return v(a2) === p2;
17010
- }, reactIs_production_min.isPortal = function(a2) {
17011
- return v(a2) === c;
17012
- }, reactIs_production_min.isProfiler = function(a2) {
17013
- return v(a2) === f3;
17014
- }, reactIs_production_min.isStrictMode = function(a2) {
17015
- return v(a2) === e;
17016
- }, reactIs_production_min.isSuspense = function(a2) {
17017
- return v(a2) === m2;
17018
- }, reactIs_production_min.isSuspenseList = function(a2) {
17019
- return v(a2) === n;
17020
- }, reactIs_production_min.isValidElementType = function(a2) {
17021
- return typeof a2 == "string" || typeof a2 == "function" || a2 === d || a2 === f3 || a2 === e || a2 === m2 || a2 === n || a2 === t || typeof a2 == "object" && a2 !== null && (a2.$$typeof === q || a2.$$typeof === p2 || a2.$$typeof === g2 || a2.$$typeof === h2 || a2.$$typeof === l || a2.$$typeof === u2 || a2.getModuleId !== void 0);
17015
+ }, reactIs_production_min.isContextConsumer = function(a3) {
17016
+ return v(a3) === h3;
17017
+ }, reactIs_production_min.isContextProvider = function(a3) {
17018
+ return v(a3) === g2;
17019
+ }, reactIs_production_min.isElement = function(a3) {
17020
+ return typeof a3 == "object" && a3 !== null && a3.$$typeof === b;
17021
+ }, reactIs_production_min.isForwardRef = function(a3) {
17022
+ return v(a3) === l;
17023
+ }, reactIs_production_min.isFragment = function(a3) {
17024
+ return v(a3) === d;
17025
+ }, reactIs_production_min.isLazy = function(a3) {
17026
+ return v(a3) === q;
17027
+ }, reactIs_production_min.isMemo = function(a3) {
17028
+ return v(a3) === p3;
17029
+ }, reactIs_production_min.isPortal = function(a3) {
17030
+ return v(a3) === c;
17031
+ }, reactIs_production_min.isProfiler = function(a3) {
17032
+ return v(a3) === f4;
17033
+ }, reactIs_production_min.isStrictMode = function(a3) {
17034
+ return v(a3) === e;
17035
+ }, reactIs_production_min.isSuspense = function(a3) {
17036
+ return v(a3) === m3;
17037
+ }, reactIs_production_min.isSuspenseList = function(a3) {
17038
+ return v(a3) === n;
17039
+ }, reactIs_production_min.isValidElementType = function(a3) {
17040
+ return typeof a3 == "string" || typeof a3 == "function" || a3 === d || a3 === f4 || a3 === e || a3 === m3 || a3 === n || a3 === t || typeof a3 == "object" && a3 !== null && (a3.$$typeof === q || a3.$$typeof === p3 || a3.$$typeof === g2 || a3.$$typeof === h3 || a3.$$typeof === l || a3.$$typeof === u2 || a3.getModuleId !== void 0);
17022
17041
  }, reactIs_production_min.typeOf = v, reactIs_production_min;
17023
17042
  }
17024
17043
  var hasRequiredReactIs;
@@ -17044,7 +17063,7 @@ var reactIsExports = requireReactIs(), index = getDefaultExportFromCjs(reactIsEx
17044
17063
  "isSuspense",
17045
17064
  "isSuspenseList",
17046
17065
  "isValidElementType"
17047
- ], ReactIs = Object.fromEntries(reactIsMethods.map((m2) => [m2, (v) => ReactIs18[m2](v) || ReactIs19[m2](v)]));
17066
+ ], ReactIs = Object.fromEntries(reactIsMethods.map((m3) => [m3, (v) => ReactIs18[m3](v) || ReactIs19[m3](v)]));
17048
17067
  function getChildren(arg, children = []) {
17049
17068
  if (Array.isArray(arg))
17050
17069
  for (let item of arg)
@@ -17759,8 +17778,8 @@ function format2(...args) {
17759
17778
  try {
17760
17779
  return JSON.stringify(args[i++]);
17761
17780
  } catch (err) {
17762
- let m2 = err.message;
17763
- if (m2.includes("circular structure") || m2.includes("cyclic structures") || m2.includes("cyclic object"))
17781
+ let m3 = err.message;
17782
+ if (m3.includes("circular structure") || m3.includes("cyclic structures") || m3.includes("cyclic object"))
17764
17783
  return "[Circular]";
17765
17784
  throw err;
17766
17785
  }
@@ -18390,18 +18409,18 @@ function isEmptyString(lines) {
18390
18409
  return lines.length === 1 && lines[0].length === 0;
18391
18410
  }
18392
18411
  function countChanges(diffs) {
18393
- let a2 = 0, b = 0;
18412
+ let a3 = 0, b = 0;
18394
18413
  return diffs.forEach((diff2) => {
18395
18414
  switch (diff2[0]) {
18396
18415
  case DIFF_DELETE:
18397
- a2 += 1;
18416
+ a3 += 1;
18398
18417
  break;
18399
18418
  case DIFF_INSERT:
18400
18419
  b += 1;
18401
18420
  break;
18402
18421
  }
18403
18422
  }), {
18404
- a: a2,
18423
+ a: a3,
18405
18424
  b
18406
18425
  };
18407
18426
  }
@@ -18413,8 +18432,8 @@ function printAnnotation({ aAnnotation, aColor, aIndicator, bAnnotation, bColor,
18413
18432
  let aCount = String(changeCounts.a), bCount = String(changeCounts.b), baAnnotationLengthDiff = bAnnotation.length - aAnnotation.length, aAnnotationPadding = " ".repeat(Math.max(0, baAnnotationLengthDiff)), bAnnotationPadding = " ".repeat(Math.max(0, -baAnnotationLengthDiff)), baCountLengthDiff = bCount.length - aCount.length, aCountPadding = " ".repeat(Math.max(0, baCountLengthDiff)), bCountPadding = " ".repeat(Math.max(0, -baCountLengthDiff));
18414
18433
  aRest = `${aAnnotationPadding} ${aIndicator} ${aCountPadding}${aCount}`, bRest = `${bAnnotationPadding} ${bIndicator} ${bCountPadding}${bCount}`;
18415
18434
  }
18416
- let a2 = `${aIndicator} ${aAnnotation}${aRest}`, b = `${bIndicator} ${bAnnotation}${bRest}`;
18417
- return `${aColor(a2)}
18435
+ let a3 = `${aIndicator} ${aAnnotation}${aRest}`, b = `${bIndicator} ${bAnnotation}${bRest}`;
18436
+ return `${aColor(a3)}
18418
18437
  ${bColor(b)}
18419
18438
 
18420
18439
  `;
@@ -18498,20 +18517,20 @@ function getNewLineSymbol(string) {
18498
18517
  ` : `
18499
18518
  `;
18500
18519
  }
18501
- function diffStrings(a2, b, options) {
18502
- let truncate3 = options?.truncateThreshold ?? !1, truncateThreshold = Math.max(Math.floor(options?.truncateThreshold ?? 0), 0), aLength = a2.length, bLength = b.length;
18520
+ function diffStrings(a3, b, options) {
18521
+ let truncate3 = options?.truncateThreshold ?? !1, truncateThreshold = Math.max(Math.floor(options?.truncateThreshold ?? 0), 0), aLength = a3.length, bLength = b.length;
18503
18522
  if (truncate3) {
18504
- let aMultipleLines = a2.includes(`
18523
+ let aMultipleLines = a3.includes(`
18505
18524
  `), bMultipleLines = b.includes(`
18506
- `), aNewLineSymbol = getNewLineSymbol(a2), bNewLineSymbol = getNewLineSymbol(b), _a3 = aMultipleLines ? `${a2.split(aNewLineSymbol, truncateThreshold).join(aNewLineSymbol)}
18507
- ` : a2, _b = bMultipleLines ? `${b.split(bNewLineSymbol, truncateThreshold).join(bNewLineSymbol)}
18525
+ `), aNewLineSymbol = getNewLineSymbol(a3), bNewLineSymbol = getNewLineSymbol(b), _a3 = aMultipleLines ? `${a3.split(aNewLineSymbol, truncateThreshold).join(aNewLineSymbol)}
18526
+ ` : a3, _b = bMultipleLines ? `${b.split(bNewLineSymbol, truncateThreshold).join(bNewLineSymbol)}
18508
18527
  ` : b;
18509
18528
  aLength = _a3.length, bLength = _b.length;
18510
18529
  }
18511
- let truncated = aLength !== a2.length || bLength !== b.length, isCommon = (aIndex2, bIndex2) => a2[aIndex2] === b[bIndex2], aIndex = 0, bIndex = 0, diffs = [];
18530
+ let truncated = aLength !== a3.length || bLength !== b.length, isCommon = (aIndex2, bIndex2) => a3[aIndex2] === b[bIndex2], aIndex = 0, bIndex = 0, diffs = [];
18512
18531
  return diffSequences(aLength, bLength, isCommon, (nCommon, aCommon, bCommon) => {
18513
- aIndex !== aCommon && diffs.push(new Diff(DIFF_DELETE, a2.slice(aIndex, aCommon))), bIndex !== bCommon && diffs.push(new Diff(DIFF_INSERT, b.slice(bIndex, bCommon))), aIndex = aCommon + nCommon, bIndex = bCommon + nCommon, diffs.push(new Diff(DIFF_EQUAL, b.slice(bCommon, bIndex)));
18514
- }), aIndex !== aLength && diffs.push(new Diff(DIFF_DELETE, a2.slice(aIndex))), bIndex !== bLength && diffs.push(new Diff(DIFF_INSERT, b.slice(bIndex))), [diffs, truncated];
18532
+ aIndex !== aCommon && diffs.push(new Diff(DIFF_DELETE, a3.slice(aIndex, aCommon))), bIndex !== bCommon && diffs.push(new Diff(DIFF_INSERT, b.slice(bIndex, bCommon))), aIndex = aCommon + nCommon, bIndex = bCommon + nCommon, diffs.push(new Diff(DIFF_EQUAL, b.slice(bCommon, bIndex)));
18533
+ }), aIndex !== aLength && diffs.push(new Diff(DIFF_DELETE, a3.slice(aIndex))), bIndex !== bLength && diffs.push(new Diff(DIFF_INSERT, b.slice(bIndex))), [diffs, truncated];
18515
18534
  }
18516
18535
  function concatenateRelevantDiffs(op, diffs, changeColor) {
18517
18536
  return diffs.reduce((reduced, diff2) => reduced + (diff2[0] === DIFF_EQUAL ? diff2[1] : diff2[0] === op && diff2[1].length !== 0 ? changeColor(diff2[1]) : ""), "");
@@ -18615,24 +18634,24 @@ function hasCommonDiff(diffs, isMultiline) {
18615
18634
  }
18616
18635
  return diffs.some((diff2) => diff2[0] === DIFF_EQUAL);
18617
18636
  }
18618
- function diffStringsUnified(a2, b, options) {
18619
- if (a2 !== b && a2.length !== 0 && b.length !== 0) {
18620
- let isMultiline = a2.includes(`
18637
+ function diffStringsUnified(a3, b, options) {
18638
+ if (a3 !== b && a3.length !== 0 && b.length !== 0) {
18639
+ let isMultiline = a3.includes(`
18621
18640
  `) || b.includes(`
18622
- `), [diffs, truncated] = diffStringsRaw(isMultiline ? `${a2}
18623
- ` : a2, isMultiline ? `${b}
18641
+ `), [diffs, truncated] = diffStringsRaw(isMultiline ? `${a3}
18642
+ ` : a3, isMultiline ? `${b}
18624
18643
  ` : b, !0, options);
18625
18644
  if (hasCommonDiff(diffs, isMultiline)) {
18626
18645
  let optionsNormalized = normalizeDiffOptions(options), lines = getAlignedDiffs(diffs, optionsNormalized.changeColor);
18627
18646
  return printDiffLines(lines, truncated, optionsNormalized);
18628
18647
  }
18629
18648
  }
18630
- return diffLinesUnified(a2.split(`
18649
+ return diffLinesUnified(a3.split(`
18631
18650
  `), b.split(`
18632
18651
  `), options);
18633
18652
  }
18634
- function diffStringsRaw(a2, b, cleanup, options) {
18635
- let [diffs, truncated] = diffStrings(a2, b, options);
18653
+ function diffStringsRaw(a3, b, cleanup, options) {
18654
+ let [diffs, truncated] = diffStrings(a3, b, options);
18636
18655
  return cleanup && diff_cleanupSemantic(diffs), [diffs, truncated];
18637
18656
  }
18638
18657
  function getCommonMessage(message, options) {
@@ -18655,19 +18674,19 @@ var { AsymmetricMatcher: AsymmetricMatcher2, DOMCollection: DOMCollection2, DOME
18655
18674
  maxDepth: 8,
18656
18675
  plugins: PLUGINS2
18657
18676
  };
18658
- function diff(a2, b, options) {
18659
- if (Object.is(a2, b))
18677
+ function diff(a3, b, options) {
18678
+ if (Object.is(a3, b))
18660
18679
  return "";
18661
- let aType = getType3(a2), expectedType = aType, omitDifference = !1;
18662
- if (aType === "object" && typeof a2.asymmetricMatch == "function") {
18663
- if (a2.$$typeof !== Symbol.for("jest.asymmetricMatcher") || typeof a2.getExpectedType != "function")
18680
+ let aType = getType3(a3), expectedType = aType, omitDifference = !1;
18681
+ if (aType === "object" && typeof a3.asymmetricMatch == "function") {
18682
+ if (a3.$$typeof !== Symbol.for("jest.asymmetricMatcher") || typeof a3.getExpectedType != "function")
18664
18683
  return;
18665
- expectedType = a2.getExpectedType(), omitDifference = expectedType === "string";
18684
+ expectedType = a3.getExpectedType(), omitDifference = expectedType === "string";
18666
18685
  }
18667
18686
  if (expectedType !== getType3(b)) {
18668
- let truncate3 = function(s2) {
18669
- return s2.length <= MAX_LENGTH ? s2 : `${s2.slice(0, MAX_LENGTH)}...`;
18670
- }, { aAnnotation, aColor, aIndicator, bAnnotation, bColor, bIndicator } = normalizeDiffOptions(options), formatOptions = getFormatOptions(FALLBACK_FORMAT_OPTIONS, options), aDisplay = format(a2, formatOptions), bDisplay = format(b, formatOptions), MAX_LENGTH = 1e5;
18687
+ let truncate3 = function(s3) {
18688
+ return s3.length <= MAX_LENGTH ? s3 : `${s3.slice(0, MAX_LENGTH)}...`;
18689
+ }, { aAnnotation, aColor, aIndicator, bAnnotation, bColor, bIndicator } = normalizeDiffOptions(options), formatOptions = getFormatOptions(FALLBACK_FORMAT_OPTIONS, options), aDisplay = format(a3, formatOptions), bDisplay = format(b, formatOptions), MAX_LENGTH = 1e5;
18671
18690
  aDisplay = truncate3(aDisplay), bDisplay = truncate3(bDisplay);
18672
18691
  let aDiff = `${aColor(`${aIndicator} ${aAnnotation}:`)}
18673
18692
  ${aDisplay}`, bDiff = `${bColor(`${bIndicator} ${bAnnotation}:`)}
@@ -18679,22 +18698,22 @@ ${bDiff}`;
18679
18698
  if (!omitDifference)
18680
18699
  switch (aType) {
18681
18700
  case "string":
18682
- return diffLinesUnified(a2.split(`
18701
+ return diffLinesUnified(a3.split(`
18683
18702
  `), b.split(`
18684
18703
  `), options);
18685
18704
  case "boolean":
18686
18705
  case "number":
18687
- return comparePrimitive(a2, b, options);
18706
+ return comparePrimitive(a3, b, options);
18688
18707
  case "map":
18689
- return compareObjects(sortMap(a2), sortMap(b), options);
18708
+ return compareObjects(sortMap(a3), sortMap(b), options);
18690
18709
  case "set":
18691
- return compareObjects(sortSet(a2), sortSet(b), options);
18710
+ return compareObjects(sortSet(a3), sortSet(b), options);
18692
18711
  default:
18693
- return compareObjects(a2, b, options);
18712
+ return compareObjects(a3, b, options);
18694
18713
  }
18695
18714
  }
18696
- function comparePrimitive(a2, b, options) {
18697
- let aFormat = format(a2, FORMAT_OPTIONS), bFormat = format(b, FORMAT_OPTIONS);
18715
+ function comparePrimitive(a3, b, options) {
18716
+ let aFormat = format(a3, FORMAT_OPTIONS), bFormat = format(b, FORMAT_OPTIONS);
18698
18717
  return aFormat === bFormat ? "" : diffLinesUnified(aFormat.split(`
18699
18718
  `), bFormat.split(`
18700
18719
  `), options);
@@ -18705,18 +18724,18 @@ function sortMap(map3) {
18705
18724
  function sortSet(set3) {
18706
18725
  return new Set(Array.from(set3.values()).sort());
18707
18726
  }
18708
- function compareObjects(a2, b, options) {
18727
+ function compareObjects(a3, b, options) {
18709
18728
  let difference3, hasThrown = !1;
18710
18729
  try {
18711
18730
  let formatOptions = getFormatOptions(FORMAT_OPTIONS, options);
18712
- difference3 = getObjectsDifference(a2, b, formatOptions, options);
18731
+ difference3 = getObjectsDifference(a3, b, formatOptions, options);
18713
18732
  } catch {
18714
18733
  hasThrown = !0;
18715
18734
  }
18716
18735
  let noDiffMessage = getCommonMessage(NO_DIFF_MESSAGE, options);
18717
18736
  if (difference3 === void 0 || difference3 === noDiffMessage) {
18718
18737
  let formatOptions = getFormatOptions(FALLBACK_FORMAT_OPTIONS, options);
18719
- difference3 = getObjectsDifference(a2, b, formatOptions, options), difference3 !== noDiffMessage && !hasThrown && (difference3 = `${getCommonMessage(SIMILAR_MESSAGE, options)}
18738
+ difference3 = getObjectsDifference(a3, b, formatOptions, options), difference3 !== noDiffMessage && !hasThrown && (difference3 = `${getCommonMessage(SIMILAR_MESSAGE, options)}
18720
18739
 
18721
18740
  ${difference3}`);
18722
18741
  }
@@ -18731,15 +18750,15 @@ function getFormatOptions(formatOptions, options) {
18731
18750
  maxDepth: maxDepth ?? formatOptions.maxDepth
18732
18751
  };
18733
18752
  }
18734
- function getObjectsDifference(a2, b, formatOptions, options) {
18753
+ function getObjectsDifference(a3, b, formatOptions, options) {
18735
18754
  let formatOptionsZeroIndent = {
18736
18755
  ...formatOptions,
18737
18756
  indent: 0
18738
- }, aCompare = format(a2, formatOptionsZeroIndent), bCompare = format(b, formatOptionsZeroIndent);
18757
+ }, aCompare = format(a3, formatOptionsZeroIndent), bCompare = format(b, formatOptionsZeroIndent);
18739
18758
  if (aCompare === bCompare)
18740
18759
  return getCommonMessage(NO_DIFF_MESSAGE, options);
18741
18760
  {
18742
- let aDisplay = format(a2, formatOptions), bDisplay = format(b, formatOptions);
18761
+ let aDisplay = format(a3, formatOptions), bDisplay = format(b, formatOptions);
18743
18762
  return diffLinesUnified2(aDisplay.split(`
18744
18763
  `), bDisplay.split(`
18745
18764
  `), aCompare.split(`
@@ -19239,11 +19258,11 @@ var alreadyCompletedException = new Error(
19239
19258
  // Sends the call info to the manager and synchronizes the log.
19240
19259
  update(call2) {
19241
19260
  this.channel?.emit(EVENTS.CALL, call2), this.setState(call2.storyId, ({ calls }) => {
19242
- let callsById = calls.concat(call2).reduce((a2, c) => Object.assign(a2, { [c.id]: c }), {});
19261
+ let callsById = calls.concat(call2).reduce((a3, c) => Object.assign(a3, { [c.id]: c }), {});
19243
19262
  return {
19244
19263
  // Calls are sorted to ensure parent calls always come before calls in their callback.
19245
19264
  calls: Object.values(callsById).sort(
19246
- (a2, b) => a2.id.localeCompare(b.id, void 0, { numeric: !0 })
19265
+ (a3, b) => a3.id.localeCompare(b.id, void 0, { numeric: !0 })
19247
19266
  )
19248
19267
  };
19249
19268
  }), this.sync(call2.storyId);
@@ -20585,8 +20604,8 @@ function overwriteChainableMethod(ctx, name, method2, chainingBehavior) {
20585
20604
  }, "overwritingChainableMethodWrapper");
20586
20605
  }
20587
20606
  __name(overwriteChainableMethod, "overwriteChainableMethod");
20588
- function compareByInspect(a2, b) {
20589
- return inspect22(a2) < inspect22(b) ? -1 : 1;
20607
+ function compareByInspect(a3, b) {
20608
+ return inspect22(a3) < inspect22(b) ? -1 : 1;
20590
20609
  }
20591
20610
  __name(compareByInspect, "compareByInspect");
20592
20611
  function getOwnEnumerablePropertySymbols(obj) {
@@ -20697,8 +20716,8 @@ function an(type32, msg) {
20697
20716
  __name(an, "an");
20698
20717
  Assertion.addChainableMethod("an", an);
20699
20718
  Assertion.addChainableMethod("a", an);
20700
- function SameValueZero(a2, b) {
20701
- return isNaN22(a2) && isNaN22(b) || a2 === b;
20719
+ function SameValueZero(a3, b) {
20720
+ return isNaN22(a3) && isNaN22(b) || a3 === b;
20702
20721
  }
20703
20722
  __name(SameValueZero, "SameValueZero");
20704
20723
  function includeChainingBehavior() {
@@ -22447,11 +22466,11 @@ __export(matchers_exports, {
22447
22466
  var import_redent = __toESM(require_redent(), 1);
22448
22467
 
22449
22468
  // ../../node_modules/@adobe/css-tools/dist/index.mjs
22450
- function $parcel$defineInteropFlag(a2) {
22451
- Object.defineProperty(a2, "__esModule", { value: !0, configurable: !0 });
22469
+ function $parcel$defineInteropFlag(a3) {
22470
+ Object.defineProperty(a3, "__esModule", { value: !0, configurable: !0 });
22452
22471
  }
22453
- function $parcel$export(e, n, v, s2) {
22454
- Object.defineProperty(e, n, { get: v, set: s2, enumerable: !0, configurable: !0 });
22472
+ function $parcel$export(e, n, v, s3) {
22473
+ Object.defineProperty(e, n, { get: v, set: s3, enumerable: !0, configurable: !0 });
22455
22474
  }
22456
22475
  var $009ddb00d3ec72b8$exports = {};
22457
22476
  $parcel$defineInteropFlag($009ddb00d3ec72b8$exports);
@@ -22524,10 +22543,10 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
22524
22543
  return rules2;
22525
22544
  }
22526
22545
  function match(re) {
22527
- let m2 = re.exec(css);
22528
- if (!m2) return;
22529
- let str2 = m2[0];
22530
- return updatePosition(str2), css = css.slice(str2.length), m2;
22546
+ let m3 = re.exec(css);
22547
+ if (!m3) return;
22548
+ let str2 = m3[0];
22549
+ return updatePosition(str2), css = css.slice(str2.length), m3;
22531
22550
  }
22532
22551
  function whitespace() {
22533
22552
  match(/^\s*/);
@@ -22540,10 +22559,10 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
22540
22559
  function comment() {
22541
22560
  let pos = position();
22542
22561
  if (css.charAt(0) !== "/" || css.charAt(1) !== "*") return;
22543
- let m2 = match(/^\/\*[^]*?\*\//);
22544
- return m2 ? pos({
22562
+ let m3 = match(/^\/\*[^]*?\*\//);
22563
+ return m3 ? pos({
22545
22564
  type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.comment,
22546
- comment: m2[0].slice(2, -2)
22565
+ comment: m3[0].slice(2, -2)
22547
22566
  }) : error("End of comment missing");
22548
22567
  }
22549
22568
  function findClosingParenthese(str2, start, depth) {
@@ -22555,9 +22574,9 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
22555
22574
  return found && closeParentheses !== -1 ? closeParentheses : -1;
22556
22575
  }
22557
22576
  function selector() {
22558
- let m2 = match(/^([^{]+)/);
22559
- if (!m2) return;
22560
- let res = $d708735ed1303b43$var$trim(m2[0]).replace($d708735ed1303b43$var$commentre, "");
22577
+ let m3 = match(/^([^{]+)/);
22578
+ if (!m3) return;
22579
+ let res = $d708735ed1303b43$var$trim(m3[0]).replace($d708735ed1303b43$var$commentre, "");
22561
22580
  if (res.indexOf(",") === -1) return [
22562
22581
  res
22563
22582
  ];
@@ -22567,7 +22586,7 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
22567
22586
  if (closeParentheses === -1) break;
22568
22587
  ptr = closeParentheses + 1, res = res.substring(0, startParentheses) + res.substring(startParentheses, closeParentheses).replace(/,/g, "\u200C") + res.substring(closeParentheses), startParentheses = res.indexOf("(", ptr);
22569
22588
  }
22570
- return res = res.replace(/("|')(?:\\\1|.)*?\1/g, (m3) => m3.replace(/,/g, "\u200C")), res.split(",").map((s2) => $d708735ed1303b43$var$trim(s2.replace(/\u200C/g, ",")));
22589
+ return res = res.replace(/("|')(?:\\\1|.)*?\1/g, (m4) => m4.replace(/,/g, "\u200C")), res.split(",").map((s3) => $d708735ed1303b43$var$trim(s3.replace(/\u200C/g, ",")));
22571
22590
  }
22572
22591
  function declaration() {
22573
22592
  let pos = position(), propMatch = match(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);
@@ -22590,9 +22609,9 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
22590
22609
  return close() ? decls : error("missing '}'");
22591
22610
  }
22592
22611
  function keyframe() {
22593
- let m2, vals = [], pos = position();
22594
- for (; m2 = match(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/); )
22595
- vals.push(m2[1]), match(/^,\s*/);
22612
+ let m3, vals = [], pos = position();
22613
+ for (; m3 = match(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/); )
22614
+ vals.push(m3[1]), match(/^,\s*/);
22596
22615
  if (vals.length)
22597
22616
  return pos({
22598
22617
  type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframe,
@@ -22603,9 +22622,9 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
22603
22622
  function atkeyframes() {
22604
22623
  let pos = position(), m1 = match(/^@([-\w]+)?keyframes\s*/);
22605
22624
  if (!m1) return;
22606
- let vendor = m1[1], m2 = match(/^([-\w]+)\s*/);
22607
- if (!m2) return error("@keyframes missing name");
22608
- let name = m2[1];
22625
+ let vendor = m1[1], m22 = match(/^([-\w]+)\s*/);
22626
+ if (!m22) return error("@keyframes missing name");
22627
+ let name = m22[1];
22609
22628
  if (!open()) return error("@keyframes missing '{'");
22610
22629
  let frame, frames = comments();
22611
22630
  for (; frame = keyframe(); )
@@ -22618,9 +22637,9 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
22618
22637
  }) : error("@keyframes missing '}'");
22619
22638
  }
22620
22639
  function atsupports() {
22621
- let pos = position(), m2 = match(/^@supports *([^{]+)/);
22622
- if (!m2) return;
22623
- let supports = $d708735ed1303b43$var$trim(m2[1]);
22640
+ let pos = position(), m3 = match(/^@supports *([^{]+)/);
22641
+ if (!m3) return;
22642
+ let supports = $d708735ed1303b43$var$trim(m3[1]);
22624
22643
  if (!open()) return error("@supports missing '{'");
22625
22644
  let style = comments().concat(rules());
22626
22645
  return close() ? pos({
@@ -22640,9 +22659,9 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
22640
22659
  }) : error("@host missing '}'");
22641
22660
  }
22642
22661
  function atcontainer() {
22643
- let pos = position(), m2 = match(/^@container *([^{]+)/);
22644
- if (!m2) return;
22645
- let container = $d708735ed1303b43$var$trim(m2[1]);
22662
+ let pos = position(), m3 = match(/^@container *([^{]+)/);
22663
+ if (!m3) return;
22664
+ let container = $d708735ed1303b43$var$trim(m3[1]);
22646
22665
  if (!open()) return error("@container missing '{'");
22647
22666
  let style = comments().concat(rules());
22648
22667
  return close() ? pos({
@@ -22652,9 +22671,9 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
22652
22671
  }) : error("@container missing '}'");
22653
22672
  }
22654
22673
  function atlayer() {
22655
- let pos = position(), m2 = match(/^@layer *([^{;@]+)/);
22656
- if (!m2) return;
22657
- let layer = $d708735ed1303b43$var$trim(m2[1]);
22674
+ let pos = position(), m3 = match(/^@layer *([^{;@]+)/);
22675
+ if (!m3) return;
22676
+ let layer = $d708735ed1303b43$var$trim(m3[1]);
22658
22677
  if (!open())
22659
22678
  return match(/^[;\s]*/), pos({
22660
22679
  type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,
@@ -22668,9 +22687,9 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
22668
22687
  }) : error("@layer missing '}'");
22669
22688
  }
22670
22689
  function atmedia() {
22671
- let pos = position(), m2 = match(/^@media *([^{]+)/);
22672
- if (!m2) return;
22673
- let media = $d708735ed1303b43$var$trim(m2[1]);
22690
+ let pos = position(), m3 = match(/^@media *([^{]+)/);
22691
+ if (!m3) return;
22692
+ let media = $d708735ed1303b43$var$trim(m3[1]);
22674
22693
  if (!open()) return error("@media missing '{'");
22675
22694
  let style = comments().concat(rules());
22676
22695
  return close() ? pos({
@@ -22680,12 +22699,12 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
22680
22699
  }) : error("@media missing '}'");
22681
22700
  }
22682
22701
  function atcustommedia() {
22683
- let pos = position(), m2 = match(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);
22684
- if (m2)
22702
+ let pos = position(), m3 = match(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);
22703
+ if (m3)
22685
22704
  return pos({
22686
22705
  type: $b2e137848b48cf4f$export$9be5dd6e61d5d73a.customMedia,
22687
- name: $d708735ed1303b43$var$trim(m2[1]),
22688
- media: $d708735ed1303b43$var$trim(m2[2])
22706
+ name: $d708735ed1303b43$var$trim(m3[1]),
22707
+ media: $d708735ed1303b43$var$trim(m3[2])
22689
22708
  });
22690
22709
  }
22691
22710
  function atpage() {
@@ -22703,9 +22722,9 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
22703
22722
  }) : error("@page missing '}'");
22704
22723
  }
22705
22724
  function atdocument() {
22706
- let pos = position(), m2 = match(/^@([-\w]+)?document *([^{]+)/);
22707
- if (!m2) return;
22708
- let vendor = $d708735ed1303b43$var$trim(m2[1]), doc = $d708735ed1303b43$var$trim(m2[2]);
22725
+ let pos = position(), m3 = match(/^@([-\w]+)?document *([^{]+)/);
22726
+ if (!m3) return;
22727
+ let vendor = $d708735ed1303b43$var$trim(m3[1]), doc = $d708735ed1303b43$var$trim(m3[2]);
22709
22728
  if (!open()) return error("@document missing '{'");
22710
22729
  let style = comments().concat(rules());
22711
22730
  return close() ? pos({
@@ -22741,12 +22760,12 @@ var $d708735ed1303b43$var$commentre = /\/\*[^]*?(?:\*\/|$)/g, $d708735ed1303b43$
22741
22760
  function _compileAtrule(name) {
22742
22761
  let re = new RegExp("^@" + name + `\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);
22743
22762
  return function() {
22744
- let pos = position(), m2 = match(re);
22745
- if (!m2) return;
22763
+ let pos = position(), m3 = match(re);
22764
+ if (!m3) return;
22746
22765
  let ret = {
22747
22766
  type: name
22748
22767
  };
22749
- return ret[name] = m2[1].trim(), pos(ret);
22768
+ return ret[name] = m3[1].trim(), pos(ret);
22750
22769
  };
22751
22770
  }
22752
22771
  function atrule() {
@@ -22799,12 +22818,12 @@ function toLength(value) {
22799
22818
  return Math.min(Math.max(len, 0), maxSafeInteger);
22800
22819
  }
22801
22820
  function arrayFrom(arrayLike, mapFn) {
22802
- var C2 = Array, items = Object(arrayLike);
22821
+ var C3 = Array, items = Object(arrayLike);
22803
22822
  if (arrayLike == null)
22804
22823
  throw new TypeError("Array.from requires an array-like object - not null or undefined");
22805
22824
  if (typeof mapFn < "u" && !isCallable(mapFn))
22806
22825
  throw new TypeError("Array.from: when provided, the second argument must be a function");
22807
- for (var len = toLength(items.length), A = isCallable(C2) ? Object(new C2(len)) : new Array(len), k = 0, kValue; k < len; )
22826
+ for (var len = toLength(items.length), A = isCallable(C3) ? Object(new C3(len)) : new Array(len), k = 0, kValue; k < len; )
22808
22827
  kValue = items[k], mapFn ? A[k] = mapFn(kValue, k) : A[k] = kValue, k += 1;
22809
22828
  return A.length = len, A;
22810
22829
  }
@@ -23126,8 +23145,8 @@ function hasAnyConcreteRoles(node, roles3) {
23126
23145
  }
23127
23146
 
23128
23147
  // ../../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
23129
- function asFlatString(s2) {
23130
- return s2.trim().replace(/\s\s+/g, " ");
23148
+ function asFlatString(s3) {
23149
+ return s3.trim().replace(/\s\s+/g, " ");
23131
23150
  }
23132
23151
  function isHidden(node, getComputedStyleImplementation) {
23133
23152
  if (!isElement(node))
@@ -23971,7 +23990,7 @@ function getExpectedClassNamesAndOptions(params) {
23971
23990
  return typeof lastParam == "object" && !(lastParam instanceof RegExp) ? (expectedClassNames = params, options = lastParam) : (expectedClassNames = params.concat(lastParam), options = { exact: !1 }), { expectedClassNames, options };
23972
23991
  }
23973
23992
  function splitClassNames(str2) {
23974
- return str2 ? str2.split(/\s+/).filter((s2) => s2.length > 0) : [];
23993
+ return str2 ? str2.split(/\s+/).filter((s3) => s3.length > 0) : [];
23975
23994
  }
23976
23995
  function isSubset$1(subset, superset) {
23977
23996
  return subset.every(
@@ -24947,6 +24966,91 @@ var jsTokensExports = requireJsTokens(), jsTokens = getDefaultExportFromCjs2(jsT
24947
24966
  }, keywords = new Set(reservedWords.keyword), reservedWordsStrictSet = new Set(reservedWords.strict);
24948
24967
  var SAFE_TIMERS_SYMBOL = Symbol("vitest:SAFE_TIMERS");
24949
24968
 
24969
+ // ../../node_modules/@vitest/expect/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js
24970
+ var f2 = {
24971
+ reset: [0, 0],
24972
+ bold: [1, 22, "\x1B[22m\x1B[1m"],
24973
+ dim: [2, 22, "\x1B[22m\x1B[2m"],
24974
+ italic: [3, 23],
24975
+ underline: [4, 24],
24976
+ inverse: [7, 27],
24977
+ hidden: [8, 28],
24978
+ strikethrough: [9, 29],
24979
+ black: [30, 39],
24980
+ red: [31, 39],
24981
+ green: [32, 39],
24982
+ yellow: [33, 39],
24983
+ blue: [34, 39],
24984
+ magenta: [35, 39],
24985
+ cyan: [36, 39],
24986
+ white: [37, 39],
24987
+ gray: [90, 39],
24988
+ bgBlack: [40, 49],
24989
+ bgRed: [41, 49],
24990
+ bgGreen: [42, 49],
24991
+ bgYellow: [43, 49],
24992
+ bgBlue: [44, 49],
24993
+ bgMagenta: [45, 49],
24994
+ bgCyan: [46, 49],
24995
+ bgWhite: [47, 49],
24996
+ blackBright: [90, 39],
24997
+ redBright: [91, 39],
24998
+ greenBright: [92, 39],
24999
+ yellowBright: [93, 39],
25000
+ blueBright: [94, 39],
25001
+ magentaBright: [95, 39],
25002
+ cyanBright: [96, 39],
25003
+ whiteBright: [97, 39],
25004
+ bgBlackBright: [100, 49],
25005
+ bgRedBright: [101, 49],
25006
+ bgGreenBright: [102, 49],
25007
+ bgYellowBright: [103, 49],
25008
+ bgBlueBright: [104, 49],
25009
+ bgMagentaBright: [105, 49],
25010
+ bgCyanBright: [106, 49],
25011
+ bgWhiteBright: [107, 49]
25012
+ }, h2 = Object.entries(f2);
25013
+ function a2(n) {
25014
+ return String(n);
25015
+ }
25016
+ a2.open = "";
25017
+ a2.close = "";
25018
+ var B2 = h2.reduce(
25019
+ (n, [e]) => (n[e] = a2, n),
25020
+ { isColorSupported: !1 }
25021
+ );
25022
+ function C2(n = !1) {
25023
+ let e = typeof process < "u" ? process : void 0, i = e?.env || {}, g2 = e?.argv || [];
25024
+ return !("NO_COLOR" in i || g2.includes("--no-color")) && ("FORCE_COLOR" in i || g2.includes("--color") || e?.platform === "win32" || n && i.TERM !== "dumb" || "CI" in i) || typeof window < "u" && !!window.chrome;
25025
+ }
25026
+ function p2(n = !1) {
25027
+ let e = C2(n), i = (r, t, c, o) => {
25028
+ let l = "", s3 = 0;
25029
+ do
25030
+ l += r.substring(s3, o) + c, s3 = o + t.length, o = r.indexOf(t, s3);
25031
+ while (~o);
25032
+ return l + r.substring(s3);
25033
+ }, g2 = (r, t, c = r) => {
25034
+ let o = (l) => {
25035
+ let s3 = String(l), b = s3.indexOf(t, r.length);
25036
+ return ~b ? r + i(s3, t, c, b) + t : r + s3 + t;
25037
+ };
25038
+ return o.open = r, o.close = t, o;
25039
+ }, u2 = {
25040
+ isColorSupported: e
25041
+ }, d = (r) => `\x1B[${r}m`;
25042
+ for (let [r, t] of h2)
25043
+ u2[r] = e ? g2(
25044
+ d(t[0]),
25045
+ d(t[1]),
25046
+ t[2]
25047
+ ) : a2;
25048
+ return u2;
25049
+ }
25050
+
25051
+ // ../../node_modules/@vitest/expect/node_modules/tinyrainbow/dist/browser.js
25052
+ var s2 = p2();
25053
+
24950
25054
  // ../../node_modules/@vitest/spy/node_modules/tinyspy/dist/index.js
24951
25055
  function assert2(condition, message) {
24952
25056
  if (!condition)
@@ -25232,7 +25336,7 @@ Received:
25232
25336
  ${printReceived3(actual)}`
25233
25337
  };
25234
25338
  }
25235
- }, EXPECTED_COLOR = s.green, RECEIVED_COLOR = s.red, INVERTED_COLOR = s.inverse, BOLD_WEIGHT = s.bold, DIM_COLOR = s.dim;
25339
+ }, EXPECTED_COLOR = s2.green, RECEIVED_COLOR = s2.red, INVERTED_COLOR = s2.inverse, BOLD_WEIGHT = s2.bold, DIM_COLOR = s2.dim;
25236
25340
  function matcherHint(matcherName, received = "received", expected = "expected", options = {}) {
25237
25341
  let { comment = "", isDirectExpectCall = !1, isNot = !1, promise = "", secondArgument = "", expectedColor = EXPECTED_COLOR, receivedColor = RECEIVED_COLOR, secondArgumentColor = EXPECTED_COLOR } = options, hint = "", dimString = "expect";
25238
25342
  return !isDirectExpectCall && received !== "" && (hint += DIM_COLOR(`${dimString}(`) + receivedColor(received), dimString = ")"), promise !== "" && (hint += DIM_COLOR(`${dimString}.`) + promise, dimString = ""), isNot && (hint += `${DIM_COLOR(`${dimString}.`)}not`, dimString = ""), matcherName.includes(".") ? dimString += matcherName : (hint += DIM_COLOR(`${dimString}.`) + matcherName, dimString = ""), expected === "" ? dimString += "()" : (hint += DIM_COLOR(`${dimString}(`) + expectedColor(expected), secondArgument && (hint += DIM_COLOR(", ") + secondArgumentColor(secondArgument)), dimString = ")"), comment !== "" && (dimString += ` // ${comment}`), dimString !== "" && (hint += DIM_COLOR(dimString)), hint;
@@ -25270,52 +25374,52 @@ function printWithType(name, value, print) {
25270
25374
  function getCustomEqualityTesters() {
25271
25375
  return globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters;
25272
25376
  }
25273
- function equals(a2, b, customTesters, strictCheck) {
25274
- return customTesters = customTesters || [], eq2(a2, b, [], [], customTesters, strictCheck ? hasKey : hasDefinedKey);
25377
+ function equals(a3, b, customTesters, strictCheck) {
25378
+ return customTesters = customTesters || [], eq2(a3, b, [], [], customTesters, strictCheck ? hasKey : hasDefinedKey);
25275
25379
  }
25276
25380
  var functionToString = Function.prototype.toString;
25277
25381
  function isAsymmetric(obj) {
25278
25382
  return !!obj && typeof obj == "object" && "asymmetricMatch" in obj && isA("Function", obj.asymmetricMatch);
25279
25383
  }
25280
- function asymmetricMatch(a2, b) {
25281
- let asymmetricA = isAsymmetric(a2), asymmetricB = isAsymmetric(b);
25384
+ function asymmetricMatch(a3, b) {
25385
+ let asymmetricA = isAsymmetric(a3), asymmetricB = isAsymmetric(b);
25282
25386
  if (!(asymmetricA && asymmetricB)) {
25283
25387
  if (asymmetricA)
25284
- return a2.asymmetricMatch(b);
25388
+ return a3.asymmetricMatch(b);
25285
25389
  if (asymmetricB)
25286
- return b.asymmetricMatch(a2);
25390
+ return b.asymmetricMatch(a3);
25287
25391
  }
25288
25392
  }
25289
- function eq2(a2, b, aStack, bStack, customTesters, hasKey2) {
25290
- let result = !0, asymmetricResult = asymmetricMatch(a2, b);
25393
+ function eq2(a3, b, aStack, bStack, customTesters, hasKey2) {
25394
+ let result = !0, asymmetricResult = asymmetricMatch(a3, b);
25291
25395
  if (asymmetricResult !== void 0)
25292
25396
  return asymmetricResult;
25293
25397
  let testerContext = { equals };
25294
25398
  for (let i = 0; i < customTesters.length; i++) {
25295
- let customTesterResult = customTesters[i].call(testerContext, a2, b, customTesters);
25399
+ let customTesterResult = customTesters[i].call(testerContext, a3, b, customTesters);
25296
25400
  if (customTesterResult !== void 0)
25297
25401
  return customTesterResult;
25298
25402
  }
25299
- if (typeof URL == "function" && a2 instanceof URL && b instanceof URL)
25300
- return a2.href === b.href;
25301
- if (Object.is(a2, b))
25403
+ if (typeof URL == "function" && a3 instanceof URL && b instanceof URL)
25404
+ return a3.href === b.href;
25405
+ if (Object.is(a3, b))
25302
25406
  return !0;
25303
- if (a2 === null || b === null)
25304
- return a2 === b;
25305
- let className = Object.prototype.toString.call(a2);
25407
+ if (a3 === null || b === null)
25408
+ return a3 === b;
25409
+ let className = Object.prototype.toString.call(a3);
25306
25410
  if (className !== Object.prototype.toString.call(b))
25307
25411
  return !1;
25308
25412
  switch (className) {
25309
25413
  case "[object Boolean]":
25310
25414
  case "[object String]":
25311
25415
  case "[object Number]":
25312
- return typeof a2 != typeof b ? !1 : typeof a2 != "object" && typeof b != "object" ? Object.is(a2, b) : Object.is(a2.valueOf(), b.valueOf());
25416
+ return typeof a3 != typeof b ? !1 : typeof a3 != "object" && typeof b != "object" ? Object.is(a3, b) : Object.is(a3.valueOf(), b.valueOf());
25313
25417
  case "[object Date]": {
25314
- let numA = +a2, numB = +b;
25418
+ let numA = +a3, numB = +b;
25315
25419
  return numA === numB || Number.isNaN(numA) && Number.isNaN(numB);
25316
25420
  }
25317
25421
  case "[object RegExp]":
25318
- return a2.source === b.source && a2.flags === b.flags;
25422
+ return a3.source === b.source && a3.flags === b.flags;
25319
25423
  case "[object Temporal.Instant]":
25320
25424
  case "[object Temporal.ZonedDateTime]":
25321
25425
  case "[object Temporal.PlainDateTime]":
@@ -25323,40 +25427,40 @@ function eq2(a2, b, aStack, bStack, customTesters, hasKey2) {
25323
25427
  case "[object Temporal.PlainTime]":
25324
25428
  case "[object Temporal.PlainYearMonth]":
25325
25429
  case "[object Temporal.PlainMonthDay]":
25326
- return a2.equals(b);
25430
+ return a3.equals(b);
25327
25431
  case "[object Temporal.Duration]":
25328
- return a2.toString() === b.toString();
25432
+ return a3.toString() === b.toString();
25329
25433
  }
25330
- if (typeof a2 != "object" || typeof b != "object")
25434
+ if (typeof a3 != "object" || typeof b != "object")
25331
25435
  return !1;
25332
- if (isDomNode(a2) && isDomNode(b))
25333
- return a2.isEqualNode(b);
25436
+ if (isDomNode(a3) && isDomNode(b))
25437
+ return a3.isEqualNode(b);
25334
25438
  let length = aStack.length;
25335
25439
  for (; length--; ) {
25336
- if (aStack[length] === a2)
25440
+ if (aStack[length] === a3)
25337
25441
  return bStack[length] === b;
25338
25442
  if (bStack[length] === b)
25339
25443
  return !1;
25340
25444
  }
25341
- if (aStack.push(a2), bStack.push(b), className === "[object Array]" && a2.length !== b.length)
25445
+ if (aStack.push(a3), bStack.push(b), className === "[object Array]" && a3.length !== b.length)
25342
25446
  return !1;
25343
- if (a2 instanceof Error && b instanceof Error)
25447
+ if (a3 instanceof Error && b instanceof Error)
25344
25448
  try {
25345
- return isErrorEqual(a2, b, aStack, bStack, customTesters, hasKey2);
25449
+ return isErrorEqual(a3, b, aStack, bStack, customTesters, hasKey2);
25346
25450
  } finally {
25347
25451
  aStack.pop(), bStack.pop();
25348
25452
  }
25349
- let aKeys = keys(a2, hasKey2), key, size2 = aKeys.length;
25453
+ let aKeys = keys(a3, hasKey2), key, size2 = aKeys.length;
25350
25454
  if (keys(b, hasKey2).length !== size2)
25351
25455
  return !1;
25352
25456
  for (; size2--; )
25353
- if (key = aKeys[size2], result = hasKey2(b, key) && eq2(a2[key], b[key], aStack, bStack, customTesters, hasKey2), !result)
25457
+ if (key = aKeys[size2], result = hasKey2(b, key) && eq2(a3[key], b[key], aStack, bStack, customTesters, hasKey2), !result)
25354
25458
  return !1;
25355
25459
  return aStack.pop(), bStack.pop(), result;
25356
25460
  }
25357
- function isErrorEqual(a2, b, aStack, bStack, customTesters, hasKey2) {
25358
- let result = Object.getPrototypeOf(a2) === Object.getPrototypeOf(b) && a2.name === b.name && a2.message === b.message;
25359
- return typeof b.cause < "u" && result && (result = eq2(a2.cause, b.cause, aStack, bStack, customTesters, hasKey2)), a2 instanceof AggregateError && b instanceof AggregateError && result && (result = eq2(a2.errors, b.errors, aStack, bStack, customTesters, hasKey2)), result && (result = eq2({ ...a2 }, { ...b }, aStack, bStack, customTesters, hasKey2)), result;
25461
+ function isErrorEqual(a3, b, aStack, bStack, customTesters, hasKey2) {
25462
+ let result = Object.getPrototypeOf(a3) === Object.getPrototypeOf(b) && a3.name === b.name && a3.message === b.message;
25463
+ return typeof b.cause < "u" && result && (result = eq2(a3.cause, b.cause, aStack, bStack, customTesters, hasKey2)), a3 instanceof AggregateError && b instanceof AggregateError && result && (result = eq2(a3.errors, b.errors, aStack, bStack, customTesters, hasKey2)), result && (result = eq2({ ...a3 }, { ...b }, aStack, bStack, customTesters, hasKey2)), result;
25360
25464
  }
25361
25465
  function keys(obj, hasKey2) {
25362
25466
  let keys3 = [];
@@ -25402,26 +25506,26 @@ var IteratorSymbol = Symbol.iterator;
25402
25506
  function hasIterator(object) {
25403
25507
  return !!(object != null && object[IteratorSymbol]);
25404
25508
  }
25405
- function iterableEquality(a2, b, customTesters = [], aStack = [], bStack = []) {
25406
- if (typeof a2 != "object" || typeof b != "object" || Array.isArray(a2) || Array.isArray(b) || !hasIterator(a2) || !hasIterator(b))
25509
+ function iterableEquality(a3, b, customTesters = [], aStack = [], bStack = []) {
25510
+ if (typeof a3 != "object" || typeof b != "object" || Array.isArray(a3) || Array.isArray(b) || !hasIterator(a3) || !hasIterator(b))
25407
25511
  return;
25408
- if (a2.constructor !== b.constructor)
25512
+ if (a3.constructor !== b.constructor)
25409
25513
  return !1;
25410
25514
  let length = aStack.length;
25411
25515
  for (; length--; )
25412
- if (aStack[length] === a2)
25516
+ if (aStack[length] === a3)
25413
25517
  return bStack[length] === b;
25414
- aStack.push(a2), bStack.push(b);
25518
+ aStack.push(a3), bStack.push(b);
25415
25519
  let filteredCustomTesters = [...customTesters.filter((t) => t !== iterableEquality), iterableEqualityWithStack];
25416
- function iterableEqualityWithStack(a3, b2) {
25417
- return iterableEquality(a3, b2, [...customTesters], [...aStack], [...bStack]);
25520
+ function iterableEqualityWithStack(a4, b2) {
25521
+ return iterableEquality(a4, b2, [...customTesters], [...aStack], [...bStack]);
25418
25522
  }
25419
- if (a2.size !== void 0) {
25420
- if (a2.size !== b.size)
25523
+ if (a3.size !== void 0) {
25524
+ if (a3.size !== b.size)
25421
25525
  return !1;
25422
- if (isA("Set", a2) || isImmutableUnorderedSet(a2)) {
25526
+ if (isA("Set", a3) || isImmutableUnorderedSet(a3)) {
25423
25527
  let allFound = !0;
25424
- for (let aValue of a2)
25528
+ for (let aValue of a3)
25425
25529
  if (!b.has(aValue)) {
25426
25530
  let has2 = !1;
25427
25531
  for (let bValue of b)
@@ -25432,9 +25536,9 @@ function iterableEquality(a2, b, customTesters = [], aStack = [], bStack = []) {
25432
25536
  }
25433
25537
  }
25434
25538
  return aStack.pop(), bStack.pop(), allFound;
25435
- } else if (isA("Map", a2) || isImmutableUnorderedKeyed(a2)) {
25539
+ } else if (isA("Map", a3) || isImmutableUnorderedKeyed(a3)) {
25436
25540
  let allFound = !0;
25437
- for (let aEntry of a2)
25541
+ for (let aEntry of a3)
25438
25542
  if (!b.has(aEntry[0]) || !equals(aEntry[1], b.get(aEntry[0]), filteredCustomTesters)) {
25439
25543
  let has2 = !1;
25440
25544
  for (let bEntry of b) {
@@ -25450,15 +25554,15 @@ function iterableEquality(a2, b, customTesters = [], aStack = [], bStack = []) {
25450
25554
  }
25451
25555
  }
25452
25556
  let bIterator = b[IteratorSymbol]();
25453
- for (let aValue of a2) {
25557
+ for (let aValue of a3) {
25454
25558
  let nextB = bIterator.next();
25455
25559
  if (nextB.done || !equals(aValue, nextB.value, filteredCustomTesters))
25456
25560
  return !1;
25457
25561
  }
25458
25562
  if (!bIterator.next().done)
25459
25563
  return !1;
25460
- if (!isImmutableList(a2) && !isImmutableOrderedKeyed(a2) && !isImmutableOrderedSet(a2) && !isImmutableRecord(a2)) {
25461
- let aEntries = Object.entries(a2), bEntries = Object.entries(b);
25564
+ if (!isImmutableList(a3) && !isImmutableOrderedKeyed(a3) && !isImmutableOrderedSet(a3) && !isImmutableRecord(a3)) {
25565
+ let aEntries = Object.entries(a3), bEntries = Object.entries(b);
25462
25566
  if (!equals(aEntries, bEntries, filteredCustomTesters))
25463
25567
  return !1;
25464
25568
  }
@@ -25467,8 +25571,8 @@ function iterableEquality(a2, b, customTesters = [], aStack = [], bStack = []) {
25467
25571
  function hasPropertyInObject(object, key) {
25468
25572
  return !object || typeof object != "object" || object === Object.prototype ? !1 : Object.prototype.hasOwnProperty.call(object, key) || hasPropertyInObject(Object.getPrototypeOf(object), key);
25469
25573
  }
25470
- function isObjectWithKeys(a2) {
25471
- return isObject4(a2) && !(a2 instanceof Error) && !Array.isArray(a2) && !(a2 instanceof Date);
25574
+ function isObjectWithKeys(a3) {
25575
+ return isObject4(a3) && !(a3 instanceof Error) && !Array.isArray(a3) && !(a3 instanceof Date);
25472
25576
  }
25473
25577
  function subsetEquality(object, subset, customTesters = []) {
25474
25578
  let filteredCustomTesters = customTesters.filter((t) => t !== subsetEquality), subsetEqualityWithContext = (seenReferences = /* @__PURE__ */ new WeakMap()) => (object2, subset2) => {
@@ -25485,17 +25589,17 @@ function subsetEquality(object, subset, customTesters = []) {
25485
25589
  };
25486
25590
  return subsetEqualityWithContext()(object, subset);
25487
25591
  }
25488
- function typeEquality(a2, b) {
25489
- if (!(a2 == null || b == null || a2.constructor === b.constructor))
25592
+ function typeEquality(a3, b) {
25593
+ if (!(a3 == null || b == null || a3.constructor === b.constructor))
25490
25594
  return !1;
25491
25595
  }
25492
- function arrayBufferEquality(a2, b) {
25493
- let dataViewA = a2, dataViewB = b;
25494
- if (!(a2 instanceof DataView && b instanceof DataView)) {
25495
- if (!(a2 instanceof ArrayBuffer) || !(b instanceof ArrayBuffer))
25596
+ function arrayBufferEquality(a3, b) {
25597
+ let dataViewA = a3, dataViewB = b;
25598
+ if (!(a3 instanceof DataView && b instanceof DataView)) {
25599
+ if (!(a3 instanceof ArrayBuffer) || !(b instanceof ArrayBuffer))
25496
25600
  return;
25497
25601
  try {
25498
- dataViewA = new DataView(a2), dataViewB = new DataView(b);
25602
+ dataViewA = new DataView(a3), dataViewB = new DataView(b);
25499
25603
  } catch {
25500
25604
  return;
25501
25605
  }
@@ -25507,11 +25611,11 @@ function arrayBufferEquality(a2, b) {
25507
25611
  return !1;
25508
25612
  return !0;
25509
25613
  }
25510
- function sparseArrayEquality(a2, b, customTesters = []) {
25511
- if (!Array.isArray(a2) || !Array.isArray(b))
25614
+ function sparseArrayEquality(a3, b, customTesters = []) {
25615
+ if (!Array.isArray(a3) || !Array.isArray(b))
25512
25616
  return;
25513
- let aKeys = Object.keys(a2), bKeys = Object.keys(b), filteredCustomTesters = customTesters.filter((t) => t !== sparseArrayEquality);
25514
- return equals(a2, b, filteredCustomTesters, !0) && equals(aKeys, bKeys);
25617
+ let aKeys = Object.keys(a3), bKeys = Object.keys(b), filteredCustomTesters = customTesters.filter((t) => t !== sparseArrayEquality);
25618
+ return equals(a3, b, filteredCustomTesters, !0) && equals(aKeys, bKeys);
25515
25619
  }
25516
25620
  function generateToBeMessage(deepEqualityName, expected = "#{this}", actual = "#{exp}") {
25517
25621
  let toBeMessage = `expected ${expected} to be ${actual} // Object.is equality`;
@@ -25527,9 +25631,9 @@ function pluralize(word, count2) {
25527
25631
  return `${count2} ${word}${count2 === 1 ? "" : "s"}`;
25528
25632
  }
25529
25633
  function getObjectKeys(object) {
25530
- return [...Object.keys(object), ...Object.getOwnPropertySymbols(object).filter((s2) => {
25634
+ return [...Object.keys(object), ...Object.getOwnPropertySymbols(object).filter((s3) => {
25531
25635
  var _Object$getOwnPropert;
25532
- return (_Object$getOwnPropert = Object.getOwnPropertyDescriptor(object, s2)) === null || _Object$getOwnPropert === void 0 ? void 0 : _Object$getOwnPropert.enumerable;
25636
+ return (_Object$getOwnPropert = Object.getOwnPropertyDescriptor(object, s3)) === null || _Object$getOwnPropert === void 0 ? void 0 : _Object$getOwnPropert.enumerable;
25533
25637
  })];
25534
25638
  }
25535
25639
  function getObjectSubset(object, subset, customTesters) {
@@ -25783,7 +25887,7 @@ function recordAsyncExpect(_test, promise, assertion, error) {
25783
25887
  return test3.onFinished ?? (test3.onFinished = []), test3.onFinished.push(() => {
25784
25888
  if (!resolved) {
25785
25889
  var _vitest_worker__;
25786
- let stack = (((_vitest_worker__ = globalThis.__vitest_worker__) === null || _vitest_worker__ === void 0 ? void 0 : _vitest_worker__.onFilterStackTrace) || ((s2) => s2 || ""))(error.stack);
25890
+ let stack = (((_vitest_worker__ = globalThis.__vitest_worker__) === null || _vitest_worker__ === void 0 ? void 0 : _vitest_worker__.onFilterStackTrace) || ((s3) => s3 || ""))(error.stack);
25787
25891
  console.warn([
25788
25892
  `Promise returned by \`${assertion}\` was not awaited. `,
25789
25893
  "Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",
@@ -25841,8 +25945,8 @@ var JestChaiExpect = (chai, utils) => {
25841
25945
  "throw",
25842
25946
  "throws",
25843
25947
  "Throw"
25844
- ].forEach((m2) => {
25845
- utils.overwriteMethod(chai.Assertion.prototype, m2, (_super) => function(...args) {
25948
+ ].forEach((m3) => {
25949
+ utils.overwriteMethod(chai.Assertion.prototype, m3, (_super) => function(...args) {
25846
25950
  let promise = utils.flag(this, "promise"), object = utils.flag(this, "object"), isNot = utils.flag(this, "negate");
25847
25951
  if (promise === "rejects")
25848
25952
  utils.flag(this, "object", () => {
@@ -25996,8 +26100,8 @@ var JestChaiExpect = (chai, utils) => {
25996
26100
  if (called && isNot && (msg = formatCalls(spy, msg)), called && isNot || !called && !isNot)
25997
26101
  throw new AssertionError2(msg);
25998
26102
  });
25999
- function equalsArgumentArray(a2, b) {
26000
- return a2.length === b.length && a2.every((aItem, i) => equals(aItem, b[i], [...customTesters, iterableEquality]));
26103
+ function equalsArgumentArray(a3, b) {
26104
+ return a3.length === b.length && a3.every((aItem, i) => equals(aItem, b[i], [...customTesters, iterableEquality]));
26001
26105
  }
26002
26106
  def(["toHaveBeenCalledWith", "toBeCalledWith"], function(...args) {
26003
26107
  let spy = getSpy(this), spyName = spy.getMockName(), pass = spy.mock.calls.some((callArg) => equalsArgumentArray(callArg, args)), isNot = utils.flag(this, "negate"), msg = utils.getMessage(this, [
@@ -26091,11 +26195,11 @@ var JestChaiExpect = (chai, utils) => {
26091
26195
  });
26092
26196
  }), [{
26093
26197
  name: "toHaveResolvedTimes",
26094
- condition: (spy, times2) => spy.mock.settledResults.reduce((s2, { type: type5 }) => type5 === "fulfilled" ? ++s2 : s2, 0) === times2,
26198
+ condition: (spy, times2) => spy.mock.settledResults.reduce((s3, { type: type5 }) => type5 === "fulfilled" ? ++s3 : s3, 0) === times2,
26095
26199
  action: "resolved"
26096
26200
  }, {
26097
26201
  name: ["toHaveReturnedTimes", "toReturnTimes"],
26098
- condition: (spy, times2) => spy.mock.results.reduce((s2, { type: type5 }) => type5 === "throw" ? s2 : ++s2, 0) === times2,
26202
+ condition: (spy, times2) => spy.mock.results.reduce((s3, { type: type5 }) => type5 === "throw" ? s3 : ++s3, 0) === times2,
26099
26203
  action: "called"
26100
26204
  }].forEach(({ name, condition, action: action2 }) => {
26101
26205
  def(name, function(times2) {
@@ -26216,12 +26320,12 @@ function ordinalOf(i) {
26216
26320
  return j === 1 && k !== 11 ? `${i}st` : j === 2 && k !== 12 ? `${i}nd` : j === 3 && k !== 13 ? `${i}rd` : `${i}th`;
26217
26321
  }
26218
26322
  function formatCalls(spy, msg, showActualCall) {
26219
- return spy.mock.calls.length && (msg += s.gray(`
26323
+ return spy.mock.calls.length && (msg += s2.gray(`
26220
26324
 
26221
26325
  Received:
26222
26326
 
26223
26327
  ${spy.mock.calls.map((callArg, i) => {
26224
- let methodCall = s.bold(` ${ordinalOf(i + 1)} ${spy.getMockName()} call:
26328
+ let methodCall = s2.bold(` ${ordinalOf(i + 1)} ${spy.getMockName()} call:
26225
26329
 
26226
26330
  `);
26227
26331
  return showActualCall ? methodCall += diff(showActualCall, callArg, { omitAnnotationLines: !0 }) : methodCall += stringify2(callArg).split(`
@@ -26229,18 +26333,18 @@ ${spy.mock.calls.map((callArg, i) => {
26229
26333
  `), methodCall += `
26230
26334
  `, methodCall;
26231
26335
  }).join(`
26232
- `)}`)), msg += s.gray(`
26336
+ `)}`)), msg += s2.gray(`
26233
26337
 
26234
- Number of calls: ${s.bold(spy.mock.calls.length)}
26338
+ Number of calls: ${s2.bold(spy.mock.calls.length)}
26235
26339
  `), msg;
26236
26340
  }
26237
26341
  function formatReturns(spy, results, msg, showActualReturn) {
26238
- return results.length && (msg += s.gray(`
26342
+ return results.length && (msg += s2.gray(`
26239
26343
 
26240
26344
  Received:
26241
26345
 
26242
26346
  ${results.map((callReturn, i) => {
26243
- let methodCall = s.bold(` ${ordinalOf(i + 1)} ${spy.getMockName()} call return:
26347
+ let methodCall = s2.bold(` ${ordinalOf(i + 1)} ${spy.getMockName()} call return:
26244
26348
 
26245
26349
  `);
26246
26350
  return showActualReturn ? methodCall += diff(showActualReturn, callReturn.value, { omitAnnotationLines: !0 }) : methodCall += stringify2(callReturn).split(`
@@ -26248,9 +26352,9 @@ ${results.map((callReturn, i) => {
26248
26352
  `), methodCall += `
26249
26353
  `, methodCall;
26250
26354
  }).join(`
26251
- `)}`)), msg += s.gray(`
26355
+ `)}`)), msg += s2.gray(`
26252
26356
 
26253
- Number of calls: ${s.bold(spy.mock.calls.length)}
26357
+ Number of calls: ${s2.bold(spy.mock.calls.length)}
26254
26358
  `), msg;
26255
26359
  }
26256
26360
  function getMatcherState(assertion, expect4) {
@@ -26393,13 +26497,13 @@ Object.defineProperty(globalThis, GLOBAL_EXPECT, {
26393
26497
  });
26394
26498
 
26395
26499
  // ../../node_modules/tinyspy/dist/index.js
26396
- function f2(e, t, n) {
26500
+ function f3(e, t, n) {
26397
26501
  Object.defineProperty(e, t, n);
26398
26502
  }
26399
26503
  var u = Symbol.for("tinyspy:spy");
26400
26504
  var P = (e) => {
26401
26505
  e.called = !1, e.callCount = 0, e.calls = [], e.results = [], e.resolves = [], e.next = [];
26402
- }, K = (e) => (f2(e, u, { value: { reset: () => P(e[u]) } }), e[u]), T = (e) => e[u] || K(e);
26506
+ }, K = (e) => (f3(e, u, { value: { reset: () => P(e[u]) } }), e[u]), T = (e) => e[u] || K(e);
26403
26507
 
26404
26508
  // src/test/spy.ts
26405
26509
  var listeners = /* @__PURE__ */ new Set();
@@ -26536,12 +26640,12 @@ function toLength2(value) {
26536
26640
  return Math.min(Math.max(len, 0), maxSafeInteger2);
26537
26641
  }
26538
26642
  function arrayFrom2(arrayLike, mapFn) {
26539
- var C2 = Array, items = Object(arrayLike);
26643
+ var C3 = Array, items = Object(arrayLike);
26540
26644
  if (arrayLike == null)
26541
26645
  throw new TypeError("Array.from requires an array-like object - not null or undefined");
26542
26646
  if (typeof mapFn < "u" && !isCallable2(mapFn))
26543
26647
  throw new TypeError("Array.from: when provided, the second argument must be a function");
26544
- for (var len = toLength2(items.length), A = isCallable2(C2) ? Object(new C2(len)) : new Array(len), k = 0, kValue; k < len; )
26648
+ for (var len = toLength2(items.length), A = isCallable2(C3) ? Object(new C3(len)) : new Array(len), k = 0, kValue; k < len; )
26545
26649
  kValue = items[k], mapFn ? A[k] = mapFn(kValue, k) : A[k] = kValue, k += 1;
26546
26650
  return A.length = len, A;
26547
26651
  }
@@ -26860,8 +26964,8 @@ function hasAnyConcreteRoles2(node, roles3) {
26860
26964
  }
26861
26965
 
26862
26966
  // ../../node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
26863
- function asFlatString2(s2) {
26864
- return s2.trim().replace(/\s\s+/g, " ");
26967
+ function asFlatString2(s3) {
26968
+ return s3.trim().replace(/\s\s+/g, " ");
26865
26969
  }
26866
26970
  function isHidden2(node, getComputedStyleImplementation) {
26867
26971
  if (!isElement2(node))
@@ -30000,8 +30104,8 @@ function isVisible(element) {
30000
30104
  // ../../node_modules/@testing-library/user-event/dist/esm/utils/focus/getTabDestination.js
30001
30105
  function getTabDestination(activeElement, shift) {
30002
30106
  let document7 = activeElement.ownerDocument, focusableElements = document7.querySelectorAll(FOCUSABLE_SELECTOR), enabledElements = Array.from(focusableElements).filter((el) => el === activeElement || !(Number(el.getAttribute("tabindex")) < 0 || isDisabled2(el)));
30003
- Number(activeElement.getAttribute("tabindex")) >= 0 && enabledElements.sort((a2, b) => {
30004
- let i = Number(a2.getAttribute("tabindex")), j = Number(b.getAttribute("tabindex"));
30107
+ Number(activeElement.getAttribute("tabindex")) >= 0 && enabledElements.sort((a3, b) => {
30108
+ let i = Number(a3.getAttribute("tabindex")), j = Number(b.getAttribute("tabindex"));
30005
30109
  return i === j ? 0 : i === 0 ? 1 : j === 0 ? -1 : i - j;
30006
30110
  });
30007
30111
  let checkedRadio = {}, prunedElements = [
@@ -30570,7 +30674,7 @@ var eventInitializer = {
30570
30674
  };
30571
30675
  function createEvent2(type5, target, init2) {
30572
30676
  let window2 = getWindow(target), { EventType, defaultInit } = eventMap2[type5], event = new (getEventConstructors(window2))[EventType](type5, defaultInit);
30573
- return eventInitializer[EventType].forEach((f3) => f3(event, init2 ?? {})), event;
30677
+ return eventInitializer[EventType].forEach((f4) => f4(event, init2 ?? {})), event;
30574
30678
  }
30575
30679
  function getEventConstructors(window2) {
30576
30680
  var _window_Event;
@@ -30992,7 +31096,7 @@ var KeyboardHost = class {
30992
31096
  return this.pressed.has(String(keyDef.code));
30993
31097
  }
30994
31098
  getPressedKeys() {
30995
- return this.pressed.values().map((p2) => p2.keyDef);
31099
+ return this.pressed.values().map((p3) => p3.keyDef);
30996
31100
  }
30997
31101
  /** Press a key */
30998
31102
  async keydown(instance, keyDef) {
@@ -31011,7 +31115,7 @@ var KeyboardHost = class {
31011
31115
  /** Release a key */
31012
31116
  async keyup(instance, keyDef) {
31013
31117
  let key = String(keyDef.key), code = String(keyDef.code), unprevented = this.pressed.isUnprevented(code);
31014
- this.pressed.delete(code), isModifierKey(key) && !this.pressed.values().find((p2) => p2.keyDef.key === key) && (this.modifiers[key] = !1), instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document), "keyup", {
31118
+ this.pressed.delete(code), isModifierKey(key) && !this.pressed.values().find((p3) => p3.keyDef.key === key) && (this.modifiers[key] = !1), instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document), "keyup", {
31015
31119
  key,
31016
31120
  code
31017
31121
  }, !unprevented), isModifierLock(key) && this.modifiers[key] && (this.modifierLockStart[key] ? this.modifierLockStart[key] = !1 : this.modifiers[key] = !1);
@@ -31353,9 +31457,9 @@ var Device = class {
31353
31457
  };
31354
31458
 
31355
31459
  // ../../node_modules/@testing-library/user-event/dist/esm/utils/misc/getTreeDiff.js
31356
- function getTreeDiff(a2, b) {
31460
+ function getTreeDiff(a3, b) {
31357
31461
  let treeA = [];
31358
- for (let el = a2; el; el = el.parentElement)
31462
+ for (let el = a3; el; el = el.parentElement)
31359
31463
  treeA.push(el);
31360
31464
  let treeB = [];
31361
31465
  for (let el = b; el; el = el.parentElement)
@@ -31826,9 +31930,9 @@ var PointerHost = class {
31826
31930
  }
31827
31931
  }()), _define_property8(this, "pointers", new class {
31828
31932
  new(pointerName, pointerType, buttons) {
31829
- let isPrimary = pointerType !== "touch" || !Object.values(this.registry).some((p2) => p2.pointerType === "touch" && !p2.isCancelled);
31830
- return isPrimary || Object.values(this.registry).forEach((p2) => {
31831
- p2.pointerType === pointerType && !p2.isCancelled && (p2.isMultitouch = !0);
31933
+ let isPrimary = pointerType !== "touch" || !Object.values(this.registry).some((p3) => p3.pointerType === "touch" && !p3.isCancelled);
31934
+ return isPrimary || Object.values(this.registry).forEach((p3) => {
31935
+ p3.pointerType === pointerType && !p3.isCancelled && (p3.isMultitouch = !0);
31832
31936
  }), this.registry[pointerName] = new Pointer({
31833
31937
  pointerId: this.nextId++,
31834
31938
  pointerType,
@@ -32110,7 +32214,7 @@ function getClipboardDataFromString(doc, text) {
32110
32214
  function parseKeyDef2(pointerMap, keys3) {
32111
32215
  let defs = [];
32112
32216
  do {
32113
- let { descriptor, consumedLength, releasePrevious, releaseSelf = !0 } = readNextDescriptor(keys3, "pointer"), keyDef = pointerMap.find((p2) => p2.name === descriptor);
32217
+ let { descriptor, consumedLength, releasePrevious, releaseSelf = !0 } = readNextDescriptor(keys3, "pointer"), keyDef = pointerMap.find((p3) => p3.name === descriptor);
32114
32218
  keyDef && defs.push({
32115
32219
  keyDef,
32116
32220
  releasePrevious,
@@ -32277,9 +32381,9 @@ async function upload(element, fileOrFiles) {
32277
32381
  fileOrFiles
32278
32382
  ]).filter((file) => !this.config.applyAccept || isAcceptableFile(file, input2.accept)).slice(0, input2.multiple ? void 0 : 1), fileDialog = () => {
32279
32383
  var _input_files;
32280
- files.length === ((_input_files = input2.files) === null || _input_files === void 0 ? void 0 : _input_files.length) && files.every((f3, i) => {
32384
+ files.length === ((_input_files = input2.files) === null || _input_files === void 0 ? void 0 : _input_files.length) && files.every((f4, i) => {
32281
32385
  var _input_files2;
32282
- return f3 === ((_input_files2 = input2.files) === null || _input_files2 === void 0 ? void 0 : _input_files2.item(i));
32386
+ return f4 === ((_input_files2 = input2.files) === null || _input_files2 === void 0 ? void 0 : _input_files2.item(i));
32283
32387
  }) || (setFiles(input2, createFileList(getWindow(element), files)), this.dispatchUIEvent(input2, "input"), this.dispatchUIEvent(input2, "change"));
32284
32388
  };
32285
32389
  input2.addEventListener("fileDialog", fileDialog), await this.click(element), input2.removeEventListener("fileDialog", fileDialog);
@@ -32886,7 +32990,7 @@ var svgElements = "svg,path,rect,circle,line,polyline,polygon,ellipse,text".spli
32886
32990
  width,
32887
32991
  height
32888
32992
  };
32889
- }).sort((a2, b) => b.width * b.height - a2.width * a2.height), isOverMenu = (menuElement, coordinates) => {
32993
+ }).sort((a3, b) => b.width * b.height - a3.width * a3.height), isOverMenu = (menuElement, coordinates) => {
32890
32994
  let menu = menuElement.getBoundingClientRect(), { x, y } = coordinates;
32891
32995
  return menu?.top && menu?.left && x >= menu.left && x <= menu.left + menu.width && y >= menu.top && y <= menu.top + menu.height;
32892
32996
  }, isTargeted = (box, boxElement, coordinates) => {
@@ -32971,7 +33075,7 @@ var menuId = "storybook-highlights-menu", rootId = "storybook-highlights-root",
32971
33075
  }), elements.subscribe((value) => {
32972
33076
  targets.set((t) => t.filter(({ element }) => value.has(element)));
32973
33077
  }), targets.subscribe((value) => {
32974
- value.length ? (selected.set((s2) => value.some((t) => t.element === s2?.element) ? s2 : void 0), focused.set((s2) => value.some((t) => t.element === s2?.element) ? s2 : void 0)) : (selected.set(void 0), focused.set(void 0), clickCoords.set(void 0));
33078
+ value.length ? (selected.set((s3) => value.some((t) => t.element === s3?.element) ? s3 : void 0), focused.set((s3) => value.some((t) => t.element === s3?.element) ? s3 : void 0)) : (selected.set(void 0), focused.set(void 0), clickCoords.set(void 0));
32975
33079
  });
32976
33080
  let styleElementByHighlight = new Map(/* @__PURE__ */ new Map());
32977
33081
  highlights.subscribe((value) => {
@@ -33189,7 +33293,7 @@ var menuId = "storybook-highlights-menu", rootId = "storybook-highlights-root",
33189
33293
  elementList.map((target) => {
33190
33294
  let selectable = elementList.length > 1 && !!target.menu?.some(
33191
33295
  (group) => group.some(
33192
- (item) => !item.selectors || item.selectors.some((s2) => target.selectors.includes(s2))
33296
+ (item) => !item.selectors || item.selectors.some((s3) => target.selectors.includes(s3))
33193
33297
  )
33194
33298
  ), props = selectable ? {
33195
33299
  class: "selectable",
@@ -33209,7 +33313,7 @@ var menuId = "storybook-highlights-menu", rootId = "storybook-highlights-root",
33209
33313
  )), selected.get() || targets.get().length === 1) {
33210
33314
  let target = selected.get() || targets.get()[0], menuGroups = target.menu?.filter(
33211
33315
  (group) => group.some(
33212
- (item) => !item.selectors || item.selectors.some((s2) => target.selectors.includes(s2))
33316
+ (item) => !item.selectors || item.selectors.some((s3) => target.selectors.includes(s3))
33213
33317
  )
33214
33318
  );
33215
33319
  menuGroups?.length && menu.appendChild(
@@ -33257,11 +33361,11 @@ var menuId = "storybook-highlights-menu", rootId = "storybook-highlights-root",
33257
33361
  let addHighlight = (highlight) => {
33258
33362
  let info = normalizeOptions(highlight);
33259
33363
  highlights.set((value) => {
33260
- let others = info.id ? value.filter((h2) => h2.id !== info.id) : value;
33364
+ let others = info.id ? value.filter((h3) => h3.id !== info.id) : value;
33261
33365
  return info.selectors?.length ? [...others, info] : others;
33262
33366
  });
33263
33367
  }, removeHighlight = (id) => {
33264
- id && highlights.set((value) => value.filter((h2) => h2.id !== id));
33368
+ id && highlights.set((value) => value.filter((h3) => h3.id !== id));
33265
33369
  }, resetState = () => {
33266
33370
  highlights.set([]), elements.set(/* @__PURE__ */ new Map()), boxes.set([]), clickCoords.set(void 0), hoverCoords.set(void 0), targets.set([]), hovered.set([]), focused.set(void 0), selected.set(void 0);
33267
33371
  }, removeTimeout, scrollIntoView = (target, options) => {
@@ -33359,8 +33463,8 @@ var colors = {
33359
33463
  content: "#6fa8dc",
33360
33464
  text: "#232020"
33361
33465
  }, labelPadding = 6;
33362
- function roundedRect(context, { x, y, w, h: h2, r }) {
33363
- x = x - w / 2, y = y - h2 / 2, w < 2 * r && (r = w / 2), h2 < 2 * r && (r = h2 / 2), context.beginPath(), context.moveTo(x + r, y), context.arcTo(x + w, y, x + w, y + h2, r), context.arcTo(x + w, y + h2, x, y + h2, r), context.arcTo(x, y + h2, x, y, r), context.arcTo(x, y, x + w, y, r), context.closePath();
33466
+ function roundedRect(context, { x, y, w, h: h3, r }) {
33467
+ x = x - w / 2, y = y - h3 / 2, w < 2 * r && (r = w / 2), h3 < 2 * r && (r = h3 / 2), context.beginPath(), context.moveTo(x + r, y), context.arcTo(x + w, y, x + w, y + h3, r), context.arcTo(x + w, y + h3, x, y + h3, r), context.arcTo(x, y + h3, x, y, r), context.arcTo(x, y, x + w, y, r), context.closePath();
33364
33468
  }
33365
33469
  function positionCoordinate(position, { padding, border, width, height, top, left }) {
33366
33470
  let contentWidth = width - border.left - border.right - padding.left - padding.right, contentHeight = height - padding.top - padding.bottom - border.top - border.bottom, x = left + border.left + padding.left, y = top + border.top + padding.top;
@@ -33370,43 +33474,43 @@ function offset(type5, position, { margin, border, padding }, labelPaddingSize,
33370
33474
  let shift = (dir) => 0, offsetX = 0, offsetY = 0, locationMultiplier = external ? 1 : 0.5, labelPaddingShift = external ? labelPaddingSize * 2 : 0;
33371
33475
  return type5 === "padding" ? shift = (dir) => padding[dir] * locationMultiplier + labelPaddingShift : type5 === "border" ? shift = (dir) => padding[dir] + border[dir] * locationMultiplier + labelPaddingShift : type5 === "margin" && (shift = (dir) => padding[dir] + border[dir] + margin[dir] * locationMultiplier + labelPaddingShift), position === "top" ? offsetY = -shift("top") : position === "right" ? offsetX = shift("right") : position === "bottom" ? offsetY = shift("bottom") : position === "left" && (offsetX = -shift("left")), { offsetX, offsetY };
33372
33476
  }
33373
- function collide(a2, b) {
33374
- return Math.abs(a2.x - b.x) < Math.abs(a2.w + b.w) / 2 && Math.abs(a2.y - b.y) < Math.abs(a2.h + b.h) / 2;
33477
+ function collide(a3, b) {
33478
+ return Math.abs(a3.x - b.x) < Math.abs(a3.w + b.w) / 2 && Math.abs(a3.y - b.y) < Math.abs(a3.h + b.h) / 2;
33375
33479
  }
33376
33480
  function overlapAdjustment(position, currentRect, prevRect) {
33377
33481
  return position === "top" ? currentRect.y = prevRect.y - prevRect.h - labelPadding : position === "right" ? currentRect.x = prevRect.x + prevRect.w / 2 + labelPadding + currentRect.w / 2 : position === "bottom" ? currentRect.y = prevRect.y + prevRect.h + labelPadding : position === "left" && (currentRect.x = prevRect.x - prevRect.w / 2 - labelPadding - currentRect.w / 2), { x: currentRect.x, y: currentRect.y };
33378
33482
  }
33379
- function textWithRect(context, type5, { x, y, w, h: h2 }, text) {
33380
- return roundedRect(context, { x, y, w, h: h2, r: 3 }), context.fillStyle = `${colors[type5]}dd`, context.fill(), context.strokeStyle = colors[type5], context.stroke(), context.fillStyle = colors.text, context.fillText(text, x, y), roundedRect(context, { x, y, w, h: h2, r: 3 }), context.fillStyle = `${colors[type5]}dd`, context.fill(), context.strokeStyle = colors[type5], context.stroke(), context.fillStyle = colors.text, context.fillText(text, x, y), { x, y, w, h: h2 };
33483
+ function textWithRect(context, type5, { x, y, w, h: h3 }, text) {
33484
+ return roundedRect(context, { x, y, w, h: h3, r: 3 }), context.fillStyle = `${colors[type5]}dd`, context.fill(), context.strokeStyle = colors[type5], context.stroke(), context.fillStyle = colors.text, context.fillText(text, x, y), roundedRect(context, { x, y, w, h: h3, r: 3 }), context.fillStyle = `${colors[type5]}dd`, context.fill(), context.strokeStyle = colors[type5], context.stroke(), context.fillStyle = colors.text, context.fillText(text, x, y), { x, y, w, h: h3 };
33381
33485
  }
33382
33486
  function configureText(context, text) {
33383
33487
  context.font = "600 12px monospace", context.textBaseline = "middle", context.textAlign = "center";
33384
- let metrics = context.measureText(text), actualHeight = metrics.actualBoundingBoxAscent + metrics.actualBoundingBoxDescent, w = metrics.width + labelPadding * 2, h2 = actualHeight + labelPadding * 2;
33385
- return { w, h: h2 };
33488
+ let metrics = context.measureText(text), actualHeight = metrics.actualBoundingBoxAscent + metrics.actualBoundingBoxDescent, w = metrics.width + labelPadding * 2, h3 = actualHeight + labelPadding * 2;
33489
+ return { w, h: h3 };
33386
33490
  }
33387
33491
  function drawLabel(context, measurements, { type: type5, position = "center", text }, prevRect, external = !1) {
33388
33492
  let { x, y } = positionCoordinate(position, measurements), { offsetX, offsetY } = offset(type5, position, measurements, labelPadding + 1, external);
33389
33493
  x += offsetX, y += offsetY;
33390
- let { w, h: h2 } = configureText(context, text);
33391
- if (prevRect && collide({ x, y, w, h: h2 }, prevRect)) {
33392
- let adjusted = overlapAdjustment(position, { x, y, w, h: h2 }, prevRect);
33494
+ let { w, h: h3 } = configureText(context, text);
33495
+ if (prevRect && collide({ x, y, w, h: h3 }, prevRect)) {
33496
+ let adjusted = overlapAdjustment(position, { x, y, w, h: h3 }, prevRect);
33393
33497
  x = adjusted.x, y = adjusted.y;
33394
33498
  }
33395
- return textWithRect(context, type5, { x, y, w, h: h2 }, text);
33499
+ return textWithRect(context, type5, { x, y, w, h: h3 }, text);
33396
33500
  }
33397
- function floatingOffset(alignment, { w, h: h2 }) {
33398
- let deltaW = w * 0.5 + labelPadding, deltaH = h2 * 0.5 + labelPadding;
33501
+ function floatingOffset(alignment, { w, h: h3 }) {
33502
+ let deltaW = w * 0.5 + labelPadding, deltaH = h3 * 0.5 + labelPadding;
33399
33503
  return {
33400
33504
  offsetX: (alignment.x === "left" ? -1 : 1) * deltaW,
33401
33505
  offsetY: (alignment.y === "top" ? -1 : 1) * deltaH
33402
33506
  };
33403
33507
  }
33404
33508
  function drawFloatingLabel(context, measurements, { type: type5, text }) {
33405
- let { floatingAlignment: floatingAlignment2, extremities } = measurements, x = extremities[floatingAlignment2.x], y = extremities[floatingAlignment2.y], { w, h: h2 } = configureText(context, text), { offsetX, offsetY } = floatingOffset(floatingAlignment2, {
33509
+ let { floatingAlignment: floatingAlignment2, extremities } = measurements, x = extremities[floatingAlignment2.x], y = extremities[floatingAlignment2.y], { w, h: h3 } = configureText(context, text), { offsetX, offsetY } = floatingOffset(floatingAlignment2, {
33406
33510
  w,
33407
- h: h2
33511
+ h: h3
33408
33512
  });
33409
- return x += offsetX, y += offsetY, textWithRect(context, type5, { x, y, w, h: h2 }, text);
33513
+ return x += offsetX, y += offsetY, textWithRect(context, type5, { x, y, w, h: h3 }, text);
33410
33514
  }
33411
33515
  function drawStack(context, measurements, stack, external) {
33412
33516
  let rects = [];
@@ -35377,7 +35481,7 @@ function unary(func) {
35377
35481
  function median(nums) {
35378
35482
  if (nums.length === 0)
35379
35483
  return NaN;
35380
- let sorted = nums.slice().sort((a2, b) => a2 - b), middleIndex = Math.floor(sorted.length / 2);
35484
+ let sorted = nums.slice().sort((a3, b) => a3 - b), middleIndex = Math.floor(sorted.length / 2);
35381
35485
  return sorted.length % 2 === 0 ? (sorted[middleIndex - 1] + sorted[middleIndex]) / 2 : sorted[middleIndex];
35382
35486
  }
35383
35487
 
@@ -35428,73 +35532,73 @@ function eq3(value, other) {
35428
35532
  }
35429
35533
 
35430
35534
  // ../../node_modules/es-toolkit/dist/predicate/isEqualWith.mjs
35431
- function isEqualWith2(a2, b, areValuesEqual) {
35432
- return isEqualWithImpl(a2, b, void 0, void 0, void 0, void 0, areValuesEqual);
35535
+ function isEqualWith2(a3, b, areValuesEqual) {
35536
+ return isEqualWithImpl(a3, b, void 0, void 0, void 0, void 0, areValuesEqual);
35433
35537
  }
35434
- function isEqualWithImpl(a2, b, property2, aParent, bParent, stack, areValuesEqual) {
35435
- let result = areValuesEqual(a2, b, property2, aParent, bParent, stack);
35538
+ function isEqualWithImpl(a3, b, property2, aParent, bParent, stack, areValuesEqual) {
35539
+ let result = areValuesEqual(a3, b, property2, aParent, bParent, stack);
35436
35540
  if (result !== void 0)
35437
35541
  return result;
35438
- if (typeof a2 == typeof b)
35439
- switch (typeof a2) {
35542
+ if (typeof a3 == typeof b)
35543
+ switch (typeof a3) {
35440
35544
  case "bigint":
35441
35545
  case "string":
35442
35546
  case "boolean":
35443
35547
  case "symbol":
35444
35548
  case "undefined":
35445
- return a2 === b;
35549
+ return a3 === b;
35446
35550
  case "number":
35447
- return a2 === b || Object.is(a2, b);
35551
+ return a3 === b || Object.is(a3, b);
35448
35552
  case "function":
35449
- return a2 === b;
35553
+ return a3 === b;
35450
35554
  case "object":
35451
- return areObjectsEqual(a2, b, stack, areValuesEqual);
35555
+ return areObjectsEqual(a3, b, stack, areValuesEqual);
35452
35556
  }
35453
- return areObjectsEqual(a2, b, stack, areValuesEqual);
35557
+ return areObjectsEqual(a3, b, stack, areValuesEqual);
35454
35558
  }
35455
- function areObjectsEqual(a2, b, stack, areValuesEqual) {
35456
- if (Object.is(a2, b))
35559
+ function areObjectsEqual(a3, b, stack, areValuesEqual) {
35560
+ if (Object.is(a3, b))
35457
35561
  return !0;
35458
- let aTag = getTag2(a2), bTag = getTag2(b);
35562
+ let aTag = getTag2(a3), bTag = getTag2(b);
35459
35563
  if (aTag === argumentsTag && (aTag = objectTag), bTag === argumentsTag && (bTag = objectTag), aTag !== bTag)
35460
35564
  return !1;
35461
35565
  switch (aTag) {
35462
35566
  case stringTag:
35463
- return a2.toString() === b.toString();
35567
+ return a3.toString() === b.toString();
35464
35568
  case numberTag: {
35465
- let x = a2.valueOf(), y = b.valueOf();
35569
+ let x = a3.valueOf(), y = b.valueOf();
35466
35570
  return eq3(x, y);
35467
35571
  }
35468
35572
  case booleanTag:
35469
35573
  case dateTag:
35470
35574
  case symbolTag2:
35471
- return Object.is(a2.valueOf(), b.valueOf());
35575
+ return Object.is(a3.valueOf(), b.valueOf());
35472
35576
  case regexpTag:
35473
- return a2.source === b.source && a2.flags === b.flags;
35577
+ return a3.source === b.source && a3.flags === b.flags;
35474
35578
  case functionTag:
35475
- return a2 === b;
35579
+ return a3 === b;
35476
35580
  }
35477
35581
  stack = stack ?? /* @__PURE__ */ new Map();
35478
- let aStack = stack.get(a2), bStack = stack.get(b);
35582
+ let aStack = stack.get(a3), bStack = stack.get(b);
35479
35583
  if (aStack != null && bStack != null)
35480
35584
  return aStack === b;
35481
- stack.set(a2, b), stack.set(b, a2);
35585
+ stack.set(a3, b), stack.set(b, a3);
35482
35586
  try {
35483
35587
  switch (aTag) {
35484
35588
  case mapTag: {
35485
- if (a2.size !== b.size)
35589
+ if (a3.size !== b.size)
35486
35590
  return !1;
35487
- for (let [key, value] of a2.entries())
35488
- if (!b.has(key) || !isEqualWithImpl(value, b.get(key), key, a2, b, stack, areValuesEqual))
35591
+ for (let [key, value] of a3.entries())
35592
+ if (!b.has(key) || !isEqualWithImpl(value, b.get(key), key, a3, b, stack, areValuesEqual))
35489
35593
  return !1;
35490
35594
  return !0;
35491
35595
  }
35492
35596
  case setTag: {
35493
- if (a2.size !== b.size)
35597
+ if (a3.size !== b.size)
35494
35598
  return !1;
35495
- let aValues = Array.from(a2.values()), bValues = Array.from(b.values());
35599
+ let aValues = Array.from(a3.values()), bValues = Array.from(b.values());
35496
35600
  for (let i = 0; i < aValues.length; i++) {
35497
- let aValue = aValues[i], index2 = bValues.findIndex((bValue) => isEqualWithImpl(aValue, bValue, void 0, a2, b, stack, areValuesEqual));
35601
+ let aValue = aValues[i], index2 = bValues.findIndex((bValue) => isEqualWithImpl(aValue, bValue, void 0, a3, b, stack, areValuesEqual));
35498
35602
  if (index2 === -1)
35499
35603
  return !1;
35500
35604
  bValues.splice(index2, 1);
@@ -35513,31 +35617,31 @@ function areObjectsEqual(a2, b, stack, areValuesEqual) {
35513
35617
  case bigInt64ArrayTag:
35514
35618
  case float32ArrayTag:
35515
35619
  case float64ArrayTag: {
35516
- if (typeof Buffer < "u" && Buffer.isBuffer(a2) !== Buffer.isBuffer(b) || a2.length !== b.length)
35620
+ if (typeof Buffer < "u" && Buffer.isBuffer(a3) !== Buffer.isBuffer(b) || a3.length !== b.length)
35517
35621
  return !1;
35518
- for (let i = 0; i < a2.length; i++)
35519
- if (!isEqualWithImpl(a2[i], b[i], i, a2, b, stack, areValuesEqual))
35622
+ for (let i = 0; i < a3.length; i++)
35623
+ if (!isEqualWithImpl(a3[i], b[i], i, a3, b, stack, areValuesEqual))
35520
35624
  return !1;
35521
35625
  return !0;
35522
35626
  }
35523
35627
  case arrayBufferTag:
35524
- return a2.byteLength !== b.byteLength ? !1 : areObjectsEqual(new Uint8Array(a2), new Uint8Array(b), stack, areValuesEqual);
35628
+ return a3.byteLength !== b.byteLength ? !1 : areObjectsEqual(new Uint8Array(a3), new Uint8Array(b), stack, areValuesEqual);
35525
35629
  case dataViewTag:
35526
- return a2.byteLength !== b.byteLength || a2.byteOffset !== b.byteOffset ? !1 : areObjectsEqual(new Uint8Array(a2), new Uint8Array(b), stack, areValuesEqual);
35630
+ return a3.byteLength !== b.byteLength || a3.byteOffset !== b.byteOffset ? !1 : areObjectsEqual(new Uint8Array(a3), new Uint8Array(b), stack, areValuesEqual);
35527
35631
  case errorTag:
35528
- return a2.name === b.name && a2.message === b.message;
35632
+ return a3.name === b.name && a3.message === b.message;
35529
35633
  case objectTag: {
35530
- if (!(areObjectsEqual(a2.constructor, b.constructor, stack, areValuesEqual) || isPlainObject(a2) && isPlainObject(b)))
35634
+ if (!(areObjectsEqual(a3.constructor, b.constructor, stack, areValuesEqual) || isPlainObject(a3) && isPlainObject(b)))
35531
35635
  return !1;
35532
- let aKeys = [...Object.keys(a2), ...getSymbols(a2)], bKeys = [...Object.keys(b), ...getSymbols(b)];
35636
+ let aKeys = [...Object.keys(a3), ...getSymbols(a3)], bKeys = [...Object.keys(b), ...getSymbols(b)];
35533
35637
  if (aKeys.length !== bKeys.length)
35534
35638
  return !1;
35535
35639
  for (let i = 0; i < aKeys.length; i++) {
35536
- let propKey = aKeys[i], aProp = a2[propKey];
35640
+ let propKey = aKeys[i], aProp = a3[propKey];
35537
35641
  if (!Object.hasOwn(b, propKey))
35538
35642
  return !1;
35539
35643
  let bProp = b[propKey];
35540
- if (!isEqualWithImpl(aProp, bProp, propKey, a2, b, stack, areValuesEqual))
35644
+ if (!isEqualWithImpl(aProp, bProp, propKey, a3, b, stack, areValuesEqual))
35541
35645
  return !1;
35542
35646
  }
35543
35647
  return !0;
@@ -35546,13 +35650,13 @@ function areObjectsEqual(a2, b, stack, areValuesEqual) {
35546
35650
  return !1;
35547
35651
  }
35548
35652
  } finally {
35549
- stack.delete(a2), stack.delete(b);
35653
+ stack.delete(a3), stack.delete(b);
35550
35654
  }
35551
35655
  }
35552
35656
 
35553
35657
  // ../../node_modules/es-toolkit/dist/predicate/isEqual.mjs
35554
- function isEqual2(a2, b) {
35555
- return isEqualWith2(a2, b, noop2);
35658
+ function isEqual2(a3, b) {
35659
+ return isEqualWith2(a3, b, noop2);
35556
35660
  }
35557
35661
 
35558
35662
  // ../../node_modules/es-toolkit/dist/predicate/isFile.mjs
@@ -36524,18 +36628,18 @@ function nth(array, n = 0) {
36524
36628
  }
36525
36629
 
36526
36630
  // ../../node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
36527
- function getPriority(a2) {
36528
- return typeof a2 == "symbol" ? 1 : a2 === null ? 2 : a2 === void 0 ? 3 : a2 !== a2 ? 4 : 0;
36529
- }
36530
- var compareValues = (a2, b, order) => {
36531
- if (a2 !== b) {
36532
- if (typeof a2 == "string" && typeof b == "string")
36533
- return order === "desc" ? b.localeCompare(a2) : a2.localeCompare(b);
36534
- let aPriority = getPriority(a2), bPriority = getPriority(b);
36631
+ function getPriority(a3) {
36632
+ return typeof a3 == "symbol" ? 1 : a3 === null ? 2 : a3 === void 0 ? 3 : a3 !== a3 ? 4 : 0;
36633
+ }
36634
+ var compareValues = (a3, b, order) => {
36635
+ if (a3 !== b) {
36636
+ if (typeof a3 == "string" && typeof b == "string")
36637
+ return order === "desc" ? b.localeCompare(a3) : a3.localeCompare(b);
36638
+ let aPriority = getPriority(a3), bPriority = getPriority(b);
36535
36639
  if (aPriority === bPriority && aPriority === 0) {
36536
- if (a2 < b)
36640
+ if (a3 < b)
36537
36641
  return order === "desc" ? 1 : -1;
36538
- if (a2 > b)
36642
+ if (a3 > b)
36539
36643
  return order === "desc" ? -1 : 1;
36540
36644
  }
36541
36645
  return order === "desc" ? bPriority - aPriority : aPriority - bPriority;
@@ -36563,9 +36667,9 @@ function orderBy(collection, criteria, orders, guard) {
36563
36667
  return collection.map((item) => ({
36564
36668
  original: item,
36565
36669
  criteria: preparedCriteria.map((criterion) => getValueByCriterion(criterion, item))
36566
- })).slice().sort((a2, b) => {
36670
+ })).slice().sort((a3, b) => {
36567
36671
  for (let i = 0; i < preparedCriteria.length; i++) {
36568
- let comparedResult = compareValues(a2.criteria[i], b.criteria[i], orders[i]);
36672
+ let comparedResult = compareValues(a3.criteria[i], b.criteria[i], orders[i]);
36569
36673
  if (comparedResult !== 0)
36570
36674
  return comparedResult;
36571
36675
  }
@@ -36642,7 +36746,7 @@ function pullAllWith(array, values2, comparator) {
36642
36746
  return array;
36643
36747
  array === values2 && (values2 = copyArray(values2));
36644
36748
  let resultLength = 0;
36645
- comparator == null && (comparator = (a2, b) => eq3(a2, b));
36749
+ comparator == null && (comparator = (a3, b) => eq3(a3, b));
36646
36750
  let valuesArray = Array.isArray(values2) ? values2 : Array.from(values2), hasUndefined = valuesArray.includes(void 0);
36647
36751
  for (let i = 0; i < array.length; i++) {
36648
36752
  if (i in array) {
@@ -36719,7 +36823,7 @@ function pullAt(array, ..._indices) {
36719
36823
  let indices = flatten2(_indices, 1);
36720
36824
  if (!array)
36721
36825
  return Array(indices.length);
36722
- let result = at(array, indices), indicesToPull = indices.map((index2) => isIndex(index2, array.length) ? Number(index2) : index2).sort((a2, b) => b - a2);
36826
+ let result = at(array, indices), indicesToPull = indices.map((index2) => isIndex(index2, array.length) ? Number(index2) : index2).sort((a3, b) => b - a3);
36723
36827
  for (let index2 of new Set(indicesToPull)) {
36724
36828
  if (isIndex(index2, array.length)) {
36725
36829
  Array.prototype.splice.call(array, index2, 1);
@@ -38124,15 +38228,15 @@ function after2(n, func) {
38124
38228
  }
38125
38229
 
38126
38230
  // ../../node_modules/es-toolkit/dist/compat/predicate/isEqualWith.mjs
38127
- function isEqualWith3(a2, b, areValuesEqual = noop2) {
38128
- return typeof areValuesEqual != "function" && (areValuesEqual = noop2), isEqualWith2(a2, b, (...args) => {
38231
+ function isEqualWith3(a3, b, areValuesEqual = noop2) {
38232
+ return typeof areValuesEqual != "function" && (areValuesEqual = noop2), isEqualWith2(a3, b, (...args) => {
38129
38233
  let result = areValuesEqual(...args);
38130
38234
  if (result !== void 0)
38131
38235
  return !!result;
38132
- if (a2 instanceof Map && b instanceof Map)
38133
- return isEqualWith3(Array.from(a2), Array.from(b), after2(2, areValuesEqual));
38134
- if (a2 instanceof Set && b instanceof Set)
38135
- return isEqualWith3(Array.from(a2), Array.from(b), after2(2, areValuesEqual));
38236
+ if (a3 instanceof Map && b instanceof Map)
38237
+ return isEqualWith3(Array.from(a3), Array.from(b), after2(2, areValuesEqual));
38238
+ if (a3 instanceof Set && b instanceof Set)
38239
+ return isEqualWith3(Array.from(a3), Array.from(b), after2(2, areValuesEqual));
38136
38240
  });
38137
38241
  }
38138
38242
 
@@ -39115,7 +39219,7 @@ var combineParameters = (...parameterSets) => {
39115
39219
  Array.isArray(value) || typeof existing > "u" ? acc[key] = value : isPlainObject(value) && isPlainObject(existing) ? mergeKeys[key] = !0 : typeof value < "u" && (acc[key] = value);
39116
39220
  }), acc), {});
39117
39221
  return Object.keys(mergeKeys).forEach((key) => {
39118
- let mergeValues = definedParametersSets.filter(Boolean).map((p2) => p2[key]).filter((value) => typeof value < "u");
39222
+ let mergeValues = definedParametersSets.filter(Boolean).map((p3) => p3[key]).filter((value) => typeof value < "u");
39119
39223
  mergeValues.every((value) => isPlainObject(value)) ? combined[key] = combineParameters(...mergeValues) : combined[key] = mergeValues[mergeValues.length - 1];
39120
39224
  }), combined;
39121
39225
  };
@@ -39529,8 +39633,8 @@ async function waitForAnimations(signal) {
39529
39633
  let animationRoots = [globalThis.document, ...getShadowRoots(globalThis.document)], checkAnimationsFinished = async () => {
39530
39634
  if (timedOut || signal?.aborted)
39531
39635
  return;
39532
- let runningAnimations = animationRoots.flatMap((el) => el?.getAnimations?.() || []).filter((a2) => a2.playState === "running" && !isInfiniteAnimation(a2));
39533
- runningAnimations.length > 0 && (await Promise.all(runningAnimations.map((a2) => a2.finished)), await checkAnimationsFinished());
39636
+ let runningAnimations = animationRoots.flatMap((el) => el?.getAnimations?.() || []).filter((a3) => a3.playState === "running" && !isInfiniteAnimation(a3));
39637
+ runningAnimations.length > 0 && (await Promise.all(runningAnimations.map((a3) => a3.finished)), await checkAnimationsFinished());
39534
39638
  };
39535
39639
  checkAnimationsFinished().then(resolve);
39536
39640
  }, 100);
@@ -39926,7 +40030,7 @@ var sanitize2 = (parts) => {
39926
40030
  return lastStripped && nextToLast && lastStripped.toLowerCase() === nextToLast.toLowerCase() ? [...parts.slice(0, -2), lastStripped] : lastStripped && (/^(story|stories)([.][^.]+)$/i.test(last3) || /^index$/i.test(lastStripped)) ? parts.slice(0, -1) : [...parts.slice(0, -1), lastStripped];
39927
40031
  };
39928
40032
  function pathJoin(paths) {
39929
- return paths.flatMap((p2) => p2.split("/")).filter(Boolean).join("/");
40033
+ return paths.flatMap((p3) => p3.split("/")).filter(Boolean).join("/");
39930
40034
  }
39931
40035
  var userOrAutoTitleFromSpecifier = (fileName, entry, userTitle) => {
39932
40036
  let { directory, importPathMatcher, titlePrefix = "" } = entry || {};
@@ -39953,11 +40057,11 @@ var userOrAutoTitleFromSpecifier = (fileName, entry, userTitle) => {
39953
40057
  };
39954
40058
 
39955
40059
  // src/preview-api/modules/store/storySort.ts
39956
- var STORY_KIND_PATH_SEPARATOR = /\s*\/\s*/, storySort = (options = {}) => (a2, b) => {
39957
- if (a2.title === b.title && !options.includeNames)
40060
+ var STORY_KIND_PATH_SEPARATOR = /\s*\/\s*/, storySort = (options = {}) => (a3, b) => {
40061
+ if (a3.title === b.title && !options.includeNames)
39958
40062
  return 0;
39959
- let method2 = options.method || "configure", order = options.order || [], storyTitleA = a2.title.trim().split(STORY_KIND_PATH_SEPARATOR), storyTitleB = b.title.trim().split(STORY_KIND_PATH_SEPARATOR);
39960
- options.includeNames && (storyTitleA.push(a2.name), storyTitleB.push(b.name));
40063
+ let method2 = options.method || "configure", order = options.order || [], storyTitleA = a3.title.trim().split(STORY_KIND_PATH_SEPARATOR), storyTitleB = b.title.trim().split(STORY_KIND_PATH_SEPARATOR);
40064
+ options.includeNames && (storyTitleA.push(a3.name), storyTitleB.push(b.name));
39961
40065
  let depth = 0;
39962
40066
  for (; storyTitleA[depth] || storyTitleB[depth]; ) {
39963
40067
  if (!storyTitleA[depth])
@@ -39985,7 +40089,7 @@ var sortStoriesCommon = (stories, storySortParameter, fileNameOrder) => {
39985
40089
  typeof storySortParameter == "function" ? sortFn = storySortParameter : sortFn = storySort(storySortParameter), stories.sort(sortFn);
39986
40090
  } else
39987
40091
  stories.sort(
39988
- (s1, s2) => fileNameOrder.indexOf(s1.importPath) - fileNameOrder.indexOf(s2.importPath)
40092
+ (s1, s22) => fileNameOrder.indexOf(s1.importPath) - fileNameOrder.indexOf(s22.importPath)
39989
40093
  );
39990
40094
  return stories;
39991
40095
  }, sortStoriesV7 = (stories, storySortParameter, fileNameOrder) => {
@@ -40613,7 +40717,7 @@ var DocsContext = class {
40613
40717
  }
40614
40718
  resolveModuleExport(moduleExportOrType) {
40615
40719
  let csfFile = this.exportsToCSFFile.get(moduleExportOrType);
40616
- if (csfFile)
40720
+ if (!csfFile && moduleExportOrType && typeof moduleExportOrType == "object" && "default" in moduleExportOrType && (csfFile = this.exportsToCSFFile.get(moduleExportOrType.default)), csfFile)
40617
40721
  return { type: "meta", csfFile };
40618
40722
  let story = this.exportToStory.get(
40619
40723
  isStory(moduleExportOrType) ? moduleExportOrType.input : moduleExportOrType
@@ -41353,11 +41457,11 @@ var config3 = {
41353
41457
  var findProto = (obj, callback) => {
41354
41458
  let proto = Object.getPrototypeOf(obj);
41355
41459
  return !proto || callback(proto) ? proto : findProto(proto, callback);
41356
- }, isReactSyntheticEvent = (e) => !!(typeof e == "object" && e && findProto(e, (proto) => /^Synthetic(?:Base)?Event$/.test(proto.constructor.name)) && typeof e.persist == "function"), serializeArg = (a2) => {
41357
- if (isReactSyntheticEvent(a2)) {
41460
+ }, isReactSyntheticEvent = (e) => !!(typeof e == "object" && e && findProto(e, (proto) => /^Synthetic(?:Base)?Event$/.test(proto.constructor.name)) && typeof e.persist == "function"), serializeArg = (a3) => {
41461
+ if (isReactSyntheticEvent(a3)) {
41358
41462
  let e = Object.create(
41359
- a2.constructor.prototype,
41360
- Object.getOwnPropertyDescriptors(a2)
41463
+ a3.constructor.prototype,
41464
+ Object.getOwnPropertyDescriptors(a3)
41361
41465
  );
41362
41466
  e.persist();
41363
41467
  let viewDescriptor = Object.getOwnPropertyDescriptor(e, "view"), view = viewDescriptor?.value;
@@ -41366,7 +41470,7 @@ var findProto = (obj, callback) => {
41366
41470
  value: Object.create(view.constructor.prototype)
41367
41471
  }), e;
41368
41472
  }
41369
- return a2;
41473
+ return a3;
41370
41474
  };
41371
41475
  function action(name, options = {}) {
41372
41476
  let actionOptions = {