storybook 9.0.0-beta.6 → 9.0.0-beta.8

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 (39) hide show
  1. package/dist/bin/index.cjs +44 -44
  2. package/dist/bin/index.js +44 -44
  3. package/dist/cli/bin/index.cjs +4184 -737
  4. package/dist/cli/bin/index.js +4198 -749
  5. package/dist/cli/index.cjs +25090 -21638
  6. package/dist/cli/index.d.ts +974 -1
  7. package/dist/cli/index.js +25330 -21876
  8. package/dist/common/index.cjs +4518 -4511
  9. package/dist/common/index.d.ts +7 -2
  10. package/dist/common/index.js +4528 -4521
  11. package/dist/core-server/index.cjs +3240 -3235
  12. package/dist/core-server/index.d.ts +22 -22
  13. package/dist/core-server/index.js +1288 -1283
  14. package/dist/core-server/presets/common-preset.cjs +1445 -1444
  15. package/dist/core-server/presets/common-preset.js +418 -417
  16. package/dist/manager/globals-runtime.js +8188 -8165
  17. package/dist/manager/runtime.js +1151 -1149
  18. package/dist/manager-api/index.cjs +1046 -1023
  19. package/dist/manager-api/index.d.ts +12 -1
  20. package/dist/manager-api/index.js +649 -626
  21. package/dist/preview/runtime.js +5389 -5388
  22. package/dist/preview-api/index.cjs +615 -614
  23. package/dist/preview-api/index.js +532 -531
  24. package/dist/server-errors.cjs +186 -171
  25. package/dist/server-errors.d.ts +11 -1
  26. package/dist/server-errors.js +167 -152
  27. package/dist/telemetry/index.cjs +4887 -1403
  28. package/dist/telemetry/index.d.ts +2 -1
  29. package/dist/telemetry/index.js +4923 -1437
  30. package/dist/test/index.d.ts +2 -6
  31. package/dist/test/index.js +2818 -2818
  32. package/dist/test/preview.cjs +648 -648
  33. package/dist/test/preview.js +837 -837
  34. package/dist/test/spy.cjs +112 -112
  35. package/dist/test/spy.d.ts +2 -6
  36. package/dist/test/spy.js +104 -104
  37. package/dist/types/index.cjs +4 -4
  38. package/dist/types/index.d.ts +2687 -2594
  39. package/package.json +3 -2
@@ -1,7 +1,7 @@
1
- var qm = Object.create;
1
+ var Rm = Object.create;
2
2
  var gt = Object.defineProperty;
3
- var Tm = Object.getOwnPropertyDescriptor;
4
- var xm = Object.getOwnPropertyNames;
3
+ var xm = Object.getOwnPropertyDescriptor;
4
+ var Tm = Object.getOwnPropertyNames;
5
5
  var Om = Object.getPrototypeOf, Sm = Object.prototype.hasOwnProperty;
6
6
  var o = (e, t) => gt(e, "name", { value: t, configurable: !0 });
7
7
  var Am = (e, t) => () => (e && (t = e(e = 0)), t);
@@ -10,11 +10,11 @@ var f = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), s
10
10
  gt(e, r, { get: t[r], enumerable: !0 });
11
11
  }, ul = (e, t, r, n) => {
12
12
  if (t && typeof t == "object" || typeof t == "function")
13
- for (let a of xm(t))
14
- !Sm.call(e, a) && a !== r && gt(e, a, { get: () => t[a], enumerable: !(n = Tm(t, a)) || n.enumerable });
13
+ for (let a of Tm(t))
14
+ !Sm.call(e, a) && a !== r && gt(e, a, { get: () => t[a], enumerable: !(n = xm(t, a)) || n.enumerable });
15
15
  return e;
16
16
  };
17
- var Da = (e, t, r) => (r = e != null ? qm(Om(e)) : {}, ul(
17
+ var Da = (e, t, r) => (r = e != null ? Rm(Om(e)) : {}, ul(
18
18
  // If the importer is in node compatibility mode or this is not an ESM
19
19
  // file that has been converted to a CommonJS file using a Babel-
20
20
  // compatible transform (i.e. "__esModule" has not been set), then set
@@ -24,7 +24,7 @@ var Da = (e, t, r) => (r = e != null ? qm(Om(e)) : {}, ul(
24
24
  )), Mm = (e) => ul(gt({}, "__esModule", { value: !0 }), e);
25
25
 
26
26
  // ../node_modules/pretty-format/node_modules/ansi-styles/index.js
27
- var Fa = f((Qx, fl) => {
27
+ var Fa = f((QT, fl) => {
28
28
  "use strict";
29
29
  var cl = /* @__PURE__ */ o((e = 0) => (t) => `\x1B[${38 + e};5;${t}m`, "wrapAnsi256"), dl = /* @__PURE__ */ o((e = 0) => (t, r, n) => `\x1B[${38 +
30
30
  e};2;${t};${r};${n}m`, "wrapAnsi16m");
@@ -335,19 +335,19 @@ var wl = f((we) => {
335
335
  });
336
336
 
337
337
  // ../node_modules/pretty-format/build/plugins/DOMCollection.js
338
- var xl = f((Pe) => {
338
+ var Tl = f((Pe) => {
339
339
  "use strict";
340
340
  Object.defineProperty(Pe, "__esModule", {
341
341
  value: !0
342
342
  });
343
343
  Pe.test = Pe.serialize = Pe.default = void 0;
344
- var Pl = Et(), zm = " ", Rl = ["DOMStringMap", "NamedNodeMap"], Wm = /^(HTML\w*Collection|NodeList)$/, Km = /* @__PURE__ */ o((e) => Rl.indexOf(
345
- e) !== -1 || Wm.test(e), "testName"), ql = /* @__PURE__ */ o((e) => e && e.constructor && !!e.constructor.name && Km(e.constructor.name), "\
344
+ var Pl = Et(), zm = " ", ql = ["DOMStringMap", "NamedNodeMap"], Wm = /^(HTML\w*Collection|NodeList)$/, Km = /* @__PURE__ */ o((e) => ql.indexOf(
345
+ e) !== -1 || Wm.test(e), "testName"), Rl = /* @__PURE__ */ o((e) => e && e.constructor && !!e.constructor.name && Km(e.constructor.name), "\
346
346
  test");
347
- Pe.test = ql;
348
- var Gm = /* @__PURE__ */ o((e) => e.constructor.name === "NamedNodeMap", "isNamedNodeMap"), Tl = /* @__PURE__ */ o((e, t, r, n, a, i) => {
347
+ Pe.test = Rl;
348
+ var Gm = /* @__PURE__ */ o((e) => e.constructor.name === "NamedNodeMap", "isNamedNodeMap"), xl = /* @__PURE__ */ o((e, t, r, n, a, i) => {
349
349
  let l = e.constructor.name;
350
- return ++n > t.maxDepth ? "[" + l + "]" : (t.min ? "" : l + zm) + (Rl.indexOf(l) !== -1 ? "{" + (0, Pl.printObjectProperties)(
350
+ return ++n > t.maxDepth ? "[" + l + "]" : (t.min ? "" : l + zm) + (ql.indexOf(l) !== -1 ? "{" + (0, Pl.printObjectProperties)(
351
351
  Gm(e) ? Array.from(e).reduce((s, u) => (s[u.name] = u.value, s), {}) : { ...e },
352
352
  t,
353
353
  r,
@@ -363,10 +363,10 @@ test");
363
363
  i
364
364
  ) + "]");
365
365
  }, "serialize");
366
- Pe.serialize = Tl;
366
+ Pe.serialize = xl;
367
367
  var Ym = {
368
- serialize: Tl,
369
- test: ql
368
+ serialize: xl,
369
+ test: Rl
370
370
  }, Xm = Ym;
371
371
  Pe.default = Xm;
372
372
  });
@@ -434,12 +434,12 @@ var Xt = f((Q) => {
434
434
  });
435
435
 
436
436
  // ../node_modules/pretty-format/build/plugins/DOMElement.js
437
- var Bl = f((Re) => {
437
+ var Bl = f((qe) => {
438
438
  "use strict";
439
- Object.defineProperty(Re, "__esModule", {
439
+ Object.defineProperty(qe, "__esModule", {
440
440
  value: !0
441
441
  });
442
- Re.test = Re.serialize = Re.default = void 0;
442
+ qe.test = qe.serialize = qe.default = void 0;
443
443
  var tt = Xt(), ob = 1, Ml = 3, Il = 8, kl = 11, ab = /^((HTML|SVG)\w*)?Element$/, ib = /* @__PURE__ */ o((e) => {
444
444
  try {
445
445
  return typeof e.hasAttribute == "function" && e.hasAttribute("is");
@@ -453,7 +453,7 @@ var Bl = f((Re) => {
453
453
  var t;
454
454
  return (e == null || (t = e.constructor) === null || t === void 0 ? void 0 : t.name) && lb(e);
455
455
  }, "test");
456
- Re.test = Nl;
456
+ qe.test = Nl;
457
457
  function sb(e) {
458
458
  return e.nodeType === Ml;
459
459
  }
@@ -495,21 +495,21 @@ var Bl = f((Re) => {
495
495
  r
496
496
  );
497
497
  }, "serialize");
498
- Re.serialize = Ll;
498
+ qe.serialize = Ll;
499
499
  var cb = {
500
500
  serialize: Ll,
501
501
  test: Nl
502
502
  }, db = cb;
503
- Re.default = db;
503
+ qe.default = db;
504
504
  });
505
505
 
506
506
  // ../node_modules/pretty-format/build/plugins/Immutable.js
507
- var Hl = f((qe) => {
507
+ var Hl = f((Re) => {
508
508
  "use strict";
509
- Object.defineProperty(qe, "__esModule", {
509
+ Object.defineProperty(Re, "__esModule", {
510
510
  value: !0
511
511
  });
512
- qe.test = qe.serialize = qe.default = void 0;
512
+ Re.test = Re.serialize = Re.default = void 0;
513
513
  var Ct = Et(), fb = "@@__IMMUTABLE_ITERABLE__@@", pb = "@@__IMMUTABLE_LIST__@@", mb = "@@__IMMUTABLE_KEYED__@@", bb = "@@__IMMUTABLE_MAP__\
514
514
  @@", Dl = "@@__IMMUTABLE_ORDERED__@@", vb = "@@__IMMUTABLE_RECORD__@@", hb = "@@__IMMUTABLE_SEQ__@@", yb = "@@__IMMUTABLE_SET__@@", gb = "@@\
515
515
  __IMMUTABLE_STACK__@@", rt = /* @__PURE__ */ o((e) => "Immutable." + e, "getImmutableName"), Qt = /* @__PURE__ */ o((e) => "[" + e + "]", "p\
@@ -612,14 +612,14 @@ rintAsLeaf"), _t = " ", Fl = "\u2026", Eb = /* @__PURE__ */ o((e, t, r, n, a, i,
612
612
  i,
613
613
  "Stack"
614
614
  ) : e[hb] ? wb(e, t, r, n, a, i) : _b(e, t, r, n, a, i), "serialize");
615
- qe.serialize = jl;
615
+ Re.serialize = jl;
616
616
  var Ul = /* @__PURE__ */ o((e) => e && (e[fb] === !0 || e[vb] === !0), "test");
617
- qe.test = Ul;
617
+ Re.test = Ul;
618
618
  var Pb = {
619
619
  serialize: jl,
620
620
  test: Ul
621
- }, Rb = Pb;
622
- qe.default = Rb;
621
+ }, qb = Pb;
622
+ Re.default = qb;
623
623
  });
624
624
 
625
625
  // ../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js
@@ -628,27 +628,27 @@ var Vl = f((I) => {
628
628
  (function() {
629
629
  "use strict";
630
630
  var e = 60103, t = 60106, r = 60107, n = 60108, a = 60114, i = 60109, l = 60110, s = 60112, u = 60113, c = 60120, d = 60115, p = 60116, h = 60121,
631
- b = 60122, _ = 60117, C = 60119, q = 60128, m = 60129, w = 60130, P = 60131;
631
+ b = 60122, _ = 60117, C = 60119, R = 60128, m = 60129, w = 60130, P = 60131;
632
632
  if (typeof Symbol == "function" && Symbol.for) {
633
633
  var v = Symbol.for;
634
634
  e = v("react.element"), t = v("react.portal"), r = v("react.fragment"), n = v("react.strict_mode"), a = v("react.profiler"), i = v("re\
635
635
  act.provider"), l = v("react.context"), s = v("react.forward_ref"), u = v("react.suspense"), c = v("react.suspense_list"), d = v("react.memo"),
636
- p = v("react.lazy"), h = v("react.block"), b = v("react.server.block"), _ = v("react.fundamental"), C = v("react.scope"), q = v("react\
636
+ p = v("react.lazy"), h = v("react.block"), b = v("react.server.block"), _ = v("react.fundamental"), C = v("react.scope"), R = v("react\
637
637
  .opaque.id"), m = v("react.debug_trace_mode"), w = v("react.offscreen"), P = v("react.legacy_hidden");
638
638
  }
639
639
  var g = !1;
640
- function R(x) {
641
- return !!(typeof x == "string" || typeof x == "function" || x === r || x === a || x === m || x === n || x === u || x === c || x === P ||
642
- g || typeof x == "object" && x !== null && (x.$$typeof === p || x.$$typeof === d || x.$$typeof === i || x.$$typeof === l || x.$$typeof ===
643
- s || x.$$typeof === _ || x.$$typeof === h || x[0] === b));
644
- }
645
- o(R, "isValidElementType");
646
- function y(x) {
647
- if (typeof x == "object" && x !== null) {
648
- var Ba = x.$$typeof;
640
+ function q(T) {
641
+ return !!(typeof T == "string" || typeof T == "function" || T === r || T === a || T === m || T === n || T === u || T === c || T === P ||
642
+ g || typeof T == "object" && T !== null && (T.$$typeof === p || T.$$typeof === d || T.$$typeof === i || T.$$typeof === l || T.$$typeof ===
643
+ s || T.$$typeof === _ || T.$$typeof === h || T[0] === b));
644
+ }
645
+ o(q, "isValidElementType");
646
+ function y(T) {
647
+ if (typeof T == "object" && T !== null) {
648
+ var Ba = T.$$typeof;
649
649
  switch (Ba) {
650
650
  case e:
651
- var Kt = x.type;
651
+ var Kt = T.type;
652
652
  switch (Kt) {
653
653
  case r:
654
654
  case a:
@@ -676,61 +676,61 @@ act.provider"), l = v("react.context"), s = v("react.forward_ref"), u = v("react
676
676
  }
677
677
  o(y, "typeOf");
678
678
  var F = l, L = i, X = e, V = s, Z = r, pe = p, S = d, M = t, K = a, ae = n, je = u, Wt = !1, il = !1;
679
- function pm(x) {
679
+ function pm(T) {
680
680
  return Wt || (Wt = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
681
681
  }
682
682
  o(pm, "isAsyncMode");
683
- function mm(x) {
683
+ function mm(T) {
684
684
  return il || (il = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
685
685
  }
686
686
  o(mm, "isConcurrentMode");
687
- function bm(x) {
688
- return y(x) === l;
687
+ function bm(T) {
688
+ return y(T) === l;
689
689
  }
690
690
  o(bm, "isContextConsumer");
691
- function vm(x) {
692
- return y(x) === i;
691
+ function vm(T) {
692
+ return y(T) === i;
693
693
  }
694
694
  o(vm, "isContextProvider");
695
- function hm(x) {
696
- return typeof x == "object" && x !== null && x.$$typeof === e;
695
+ function hm(T) {
696
+ return typeof T == "object" && T !== null && T.$$typeof === e;
697
697
  }
698
698
  o(hm, "isElement");
699
- function ym(x) {
700
- return y(x) === s;
699
+ function ym(T) {
700
+ return y(T) === s;
701
701
  }
702
702
  o(ym, "isForwardRef");
703
- function gm(x) {
704
- return y(x) === r;
703
+ function gm(T) {
704
+ return y(T) === r;
705
705
  }
706
706
  o(gm, "isFragment");
707
- function Em(x) {
708
- return y(x) === p;
707
+ function Em(T) {
708
+ return y(T) === p;
709
709
  }
710
710
  o(Em, "isLazy");
711
- function Cm(x) {
712
- return y(x) === d;
711
+ function Cm(T) {
712
+ return y(T) === d;
713
713
  }
714
714
  o(Cm, "isMemo");
715
- function _m(x) {
716
- return y(x) === t;
715
+ function _m(T) {
716
+ return y(T) === t;
717
717
  }
718
718
  o(_m, "isPortal");
719
- function wm(x) {
720
- return y(x) === a;
719
+ function wm(T) {
720
+ return y(T) === a;
721
721
  }
722
722
  o(wm, "isProfiler");
723
- function Pm(x) {
724
- return y(x) === n;
723
+ function Pm(T) {
724
+ return y(T) === n;
725
725
  }
726
726
  o(Pm, "isStrictMode");
727
- function Rm(x) {
728
- return y(x) === u;
727
+ function qm(T) {
728
+ return y(T) === u;
729
729
  }
730
- o(Rm, "isSuspense"), I.ContextConsumer = F, I.ContextProvider = L, I.Element = X, I.ForwardRef = V, I.Fragment = Z, I.Lazy = pe, I.Memo =
730
+ o(qm, "isSuspense"), I.ContextConsumer = F, I.ContextProvider = L, I.Element = X, I.ForwardRef = V, I.Fragment = Z, I.Lazy = pe, I.Memo =
731
731
  S, I.Portal = M, I.Profiler = K, I.StrictMode = ae, I.Suspense = je, I.isAsyncMode = pm, I.isConcurrentMode = mm, I.isContextConsumer = bm,
732
732
  I.isContextProvider = vm, I.isElement = hm, I.isForwardRef = ym, I.isFragment = gm, I.isLazy = Em, I.isMemo = Cm, I.isPortal = _m, I.isProfiler =
733
- wm, I.isStrictMode = Pm, I.isSuspense = Rm, I.isValidElementType = R, I.typeOf = y;
733
+ wm, I.isStrictMode = Pm, I.isSuspense = qm, I.isValidElementType = q, I.typeOf = y;
734
734
  })();
735
735
  });
736
736
 
@@ -741,13 +741,13 @@ var zl = f((yO, $l) => {
741
741
  });
742
742
 
743
743
  // ../node_modules/pretty-format/build/plugins/ReactElement.js
744
- var Ql = f((Te) => {
744
+ var Ql = f((xe) => {
745
745
  "use strict";
746
- Object.defineProperty(Te, "__esModule", {
746
+ Object.defineProperty(xe, "__esModule", {
747
747
  value: !0
748
748
  });
749
- Te.test = Te.serialize = Te.default = void 0;
750
- var Ue = qb(zl()), Jt = Xt();
749
+ xe.test = xe.serialize = xe.default = void 0;
750
+ var Ue = Rb(zl()), Jt = Xt();
751
751
  function Kl(e) {
752
752
  if (typeof WeakMap != "function") return null;
753
753
  var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
@@ -756,7 +756,7 @@ var Ql = f((Te) => {
756
756
  }, "_getRequireWildcardCache"))(e);
757
757
  }
758
758
  o(Kl, "_getRequireWildcardCache");
759
- function qb(e, t) {
759
+ function Rb(e, t) {
760
760
  if (!t && e && e.__esModule)
761
761
  return e;
762
762
  if (e === null || typeof e != "object" && typeof e != "function")
@@ -772,7 +772,7 @@ var Ql = f((Te) => {
772
772
  }
773
773
  return n.default = e, r && r.set(e, n), n;
774
774
  }
775
- o(qb, "_interopRequireWildcard");
775
+ o(Rb, "_interopRequireWildcard");
776
776
  var Gl = /* @__PURE__ */ o((e, t = []) => (Array.isArray(e) ? e.forEach((r) => {
777
777
  Gl(r, t);
778
778
  }) : e != null && e !== !1 && t.push(e), t), "getChildren"), Wl = /* @__PURE__ */ o((e) => {
@@ -802,13 +802,13 @@ var Ql = f((Te) => {
802
802
  }
803
803
  }
804
804
  return "UNDEFINED";
805
- }, "getType"), Tb = /* @__PURE__ */ o((e) => {
805
+ }, "getType"), xb = /* @__PURE__ */ o((e) => {
806
806
  let { props: t } = e;
807
807
  return Object.keys(t).filter((r) => r !== "children" && t[r] !== void 0).sort();
808
808
  }, "getPropKeys"), Yl = /* @__PURE__ */ o((e, t, r, n, a, i) => ++n > t.maxDepth ? (0, Jt.printElementAsLeaf)(Wl(e), t) : (0, Jt.printElement)(
809
809
  Wl(e),
810
810
  (0, Jt.printProps)(
811
- Tb(e),
811
+ xb(e),
812
812
  e.props,
813
813
  t,
814
814
  r + t.indent,
@@ -827,23 +827,23 @@ var Ql = f((Te) => {
827
827
  t,
828
828
  r
829
829
  ), "serialize");
830
- Te.serialize = Yl;
830
+ xe.serialize = Yl;
831
831
  var Xl = /* @__PURE__ */ o((e) => e != null && Ue.isElement(e), "test");
832
- Te.test = Xl;
833
- var xb = {
832
+ xe.test = Xl;
833
+ var Tb = {
834
834
  serialize: Yl,
835
835
  test: Xl
836
- }, Ob = xb;
837
- Te.default = Ob;
836
+ }, Ob = Tb;
837
+ xe.default = Ob;
838
838
  });
839
839
 
840
840
  // ../node_modules/pretty-format/build/plugins/ReactTestComponent.js
841
- var es = f((xe) => {
841
+ var es = f((Te) => {
842
842
  "use strict";
843
- Object.defineProperty(xe, "__esModule", {
843
+ Object.defineProperty(Te, "__esModule", {
844
844
  value: !0
845
845
  });
846
- xe.test = xe.serialize = xe.default = void 0;
846
+ Te.test = Te.serialize = Te.default = void 0;
847
847
  var Zt = Xt(), er = function() {
848
848
  return typeof globalThis < "u" ? globalThis : typeof er < "u" ? er : typeof self < "u" ? self : typeof window < "u" ? window : Function(
849
849
  "return this")();
@@ -873,14 +873,14 @@ var es = f((xe) => {
873
873
  t,
874
874
  r
875
875
  ), "serialize");
876
- xe.serialize = Jl;
876
+ Te.serialize = Jl;
877
877
  var Zl = /* @__PURE__ */ o((e) => e && e.$$typeof === Sb, "test");
878
- xe.test = Zl;
878
+ Te.test = Zl;
879
879
  var Mb = {
880
880
  serialize: Jl,
881
881
  test: Zl
882
882
  }, Ib = Mb;
883
- xe.default = Ib;
883
+ Te.default = Ib;
884
884
  });
885
885
 
886
886
  // ../node_modules/pretty-format/build/index.js
@@ -894,7 +894,7 @@ var vs = f((be) => {
894
894
  be.plugins = void 0;
895
895
  var kb = Se(Fa()), wt = Et(), Nb = Se(
896
896
  vl()
897
- ), Lb = Se(wl()), Bb = Se(xl()), Db = Se(Bl()), Fb = Se(Hl()), jb = Se(Ql()), Ub = Se(
897
+ ), Lb = Se(wl()), Bb = Se(Tl()), Db = Se(Bl()), Fb = Se(Hl()), jb = Se(Ql()), Ub = Se(
898
898
  es()
899
899
  );
900
900
  function Se(e) {
@@ -2256,14 +2256,14 @@ var ou = f((Er) => {
2256
2256
  value: !0
2257
2257
  });
2258
2258
  Er.default = void 0;
2259
- var wh = re(Ws()), Ph = re(Ks()), Rh = re(Gs()), qh = re(Ys()), Th = re(Xs()), xh = re(Qs()), Oh = re(Js()), Sh = re(Zs()), Ah = re(eu()),
2259
+ var wh = re(Ws()), Ph = re(Ks()), qh = re(Gs()), Rh = re(Ys()), xh = re(Xs()), Th = re(Qs()), Oh = re(Js()), Sh = re(Zs()), Ah = re(eu()),
2260
2260
  Mh = re(tu()), Ih = re(ru()), kh = re(nu());
2261
2261
  function re(e) {
2262
2262
  return e && e.__esModule ? e : { default: e };
2263
2263
  }
2264
2264
  o(re, "_interopRequireDefault");
2265
- var Nh = [["command", wh.default], ["composite", Ph.default], ["input", Rh.default], ["landmark", qh.default], ["range", Th.default], ["ro\
2266
- letype", xh.default], ["section", Oh.default], ["sectionhead", Sh.default], ["select", Ah.default], ["structure", Mh.default], ["widget", Ih.
2265
+ var Nh = [["command", wh.default], ["composite", Ph.default], ["input", qh.default], ["landmark", Rh.default], ["range", xh.default], ["ro\
2266
+ letype", Th.default], ["section", Oh.default], ["sectionhead", Sh.default], ["select", Ah.default], ["structure", Mh.default], ["widget", Ih.
2267
2267
  default], ["window", kh.default]], Lh = Nh;
2268
2268
  Er.default = Lh;
2269
2269
  });
@@ -2401,12 +2401,12 @@ var su = f((Pr) => {
2401
2401
  });
2402
2402
 
2403
2403
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js
2404
- var uu = f((Rr) => {
2404
+ var uu = f((qr) => {
2405
2405
  "use strict";
2406
- Object.defineProperty(Rr, "__esModule", {
2406
+ Object.defineProperty(qr, "__esModule", {
2407
2407
  value: !0
2408
2408
  });
2409
- Rr.default = void 0;
2409
+ qr.default = void 0;
2410
2410
  var zh = {
2411
2411
  abstract: !1,
2412
2412
  accessibleNameRequired: !1,
@@ -2428,16 +2428,16 @@ var uu = f((Rr) => {
2428
2428
  requiredProps: {},
2429
2429
  superClass: [["roletype", "structure", "section", "landmark"]]
2430
2430
  }, Wh = zh;
2431
- Rr.default = Wh;
2431
+ qr.default = Wh;
2432
2432
  });
2433
2433
 
2434
2434
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js
2435
- var cu = f((qr) => {
2435
+ var cu = f((Rr) => {
2436
2436
  "use strict";
2437
- Object.defineProperty(qr, "__esModule", {
2437
+ Object.defineProperty(Rr, "__esModule", {
2438
2438
  value: !0
2439
2439
  });
2440
- qr.default = void 0;
2440
+ Rr.default = void 0;
2441
2441
  var Kh = {
2442
2442
  abstract: !1,
2443
2443
  accessibleNameRequired: !1,
@@ -2458,16 +2458,16 @@ var cu = f((qr) => {
2458
2458
  requiredProps: {},
2459
2459
  superClass: [["roletype", "structure", "section"]]
2460
2460
  }, Gh = Kh;
2461
- qr.default = Gh;
2461
+ Rr.default = Gh;
2462
2462
  });
2463
2463
 
2464
2464
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js
2465
- var du = f((Tr) => {
2465
+ var du = f((xr) => {
2466
2466
  "use strict";
2467
- Object.defineProperty(Tr, "__esModule", {
2467
+ Object.defineProperty(xr, "__esModule", {
2468
2468
  value: !0
2469
2469
  });
2470
- Tr.default = void 0;
2470
+ xr.default = void 0;
2471
2471
  var Yh = {
2472
2472
  abstract: !1,
2473
2473
  accessibleNameRequired: !0,
@@ -2534,16 +2534,16 @@ var du = f((Tr) => {
2534
2534
  requiredProps: {},
2535
2535
  superClass: [["roletype", "widget", "command"]]
2536
2536
  }, Xh = Yh;
2537
- Tr.default = Xh;
2537
+ xr.default = Xh;
2538
2538
  });
2539
2539
 
2540
2540
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/captionRole.js
2541
- var fu = f((xr) => {
2541
+ var fu = f((Tr) => {
2542
2542
  "use strict";
2543
- Object.defineProperty(xr, "__esModule", {
2543
+ Object.defineProperty(Tr, "__esModule", {
2544
2544
  value: !0
2545
2545
  });
2546
- xr.default = void 0;
2546
+ Tr.default = void 0;
2547
2547
  var Qh = {
2548
2548
  abstract: !1,
2549
2549
  accessibleNameRequired: !1,
@@ -2564,7 +2564,7 @@ var fu = f((xr) => {
2564
2564
  requiredProps: {},
2565
2565
  superClass: [["roletype", "structure", "section"]]
2566
2566
  }, Jh = Qh;
2567
- xr.default = Jh;
2567
+ Tr.default = Jh;
2568
2568
  });
2569
2569
 
2570
2570
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/cellRole.js
@@ -3092,7 +3092,7 @@ var Pu = f((jr) => {
3092
3092
  });
3093
3093
 
3094
3094
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js
3095
- var Ru = f((Ur) => {
3095
+ var qu = f((Ur) => {
3096
3096
  "use strict";
3097
3097
  Object.defineProperty(Ur, "__esModule", {
3098
3098
  value: !0
@@ -3122,13 +3122,13 @@ var Ru = f((Ur) => {
3122
3122
  });
3123
3123
 
3124
3124
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/feedRole.js
3125
- var qu = f((Hr) => {
3125
+ var Ru = f((Hr) => {
3126
3126
  "use strict";
3127
3127
  Object.defineProperty(Hr, "__esModule", {
3128
3128
  value: !0
3129
3129
  });
3130
3130
  Hr.default = void 0;
3131
- var Ry = {
3131
+ var qy = {
3132
3132
  abstract: !1,
3133
3133
  accessibleNameRequired: !1,
3134
3134
  baseConcepts: [],
@@ -3142,18 +3142,18 @@ var qu = f((Hr) => {
3142
3142
  requiredOwnedElements: [["article"]],
3143
3143
  requiredProps: {},
3144
3144
  superClass: [["roletype", "structure", "section", "list"]]
3145
- }, qy = Ry;
3146
- Hr.default = qy;
3145
+ }, Ry = qy;
3146
+ Hr.default = Ry;
3147
3147
  });
3148
3148
 
3149
3149
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/figureRole.js
3150
- var Tu = f((Vr) => {
3150
+ var xu = f((Vr) => {
3151
3151
  "use strict";
3152
3152
  Object.defineProperty(Vr, "__esModule", {
3153
3153
  value: !0
3154
3154
  });
3155
3155
  Vr.default = void 0;
3156
- var Ty = {
3156
+ var xy = {
3157
3157
  abstract: !1,
3158
3158
  accessibleNameRequired: !1,
3159
3159
  baseConcepts: [],
@@ -3172,12 +3172,12 @@ var Tu = f((Vr) => {
3172
3172
  requiredOwnedElements: [],
3173
3173
  requiredProps: {},
3174
3174
  superClass: [["roletype", "structure", "section"]]
3175
- }, xy = Ty;
3176
- Vr.default = xy;
3175
+ }, Ty = xy;
3176
+ Vr.default = Ty;
3177
3177
  });
3178
3178
 
3179
3179
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/formRole.js
3180
- var xu = f(($r) => {
3180
+ var Tu = f(($r) => {
3181
3181
  "use strict";
3182
3182
  Object.defineProperty($r, "__esModule", {
3183
3183
  value: !0
@@ -4234,7 +4234,7 @@ var Zu = f((vn) => {
4234
4234
  value: !0
4235
4235
  });
4236
4236
  vn.default = void 0;
4237
- var Rg = {
4237
+ var qg = {
4238
4238
  abstract: !1,
4239
4239
  accessibleNameRequired: !1,
4240
4240
  baseConcepts: [],
@@ -4248,8 +4248,8 @@ var Zu = f((vn) => {
4248
4248
  requiredOwnedElements: [],
4249
4249
  requiredProps: {},
4250
4250
  superClass: [["roletype", "structure", "section"]]
4251
- }, qg = Rg;
4252
- vn.default = qg;
4251
+ }, Rg = qg;
4252
+ vn.default = Rg;
4253
4253
  });
4254
4254
 
4255
4255
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/optionRole.js
@@ -4259,7 +4259,7 @@ var ec = f((hn) => {
4259
4259
  value: !0
4260
4260
  });
4261
4261
  hn.default = void 0;
4262
- var Tg = {
4262
+ var xg = {
4263
4263
  abstract: !1,
4264
4264
  accessibleNameRequired: !0,
4265
4265
  baseConcepts: [],
@@ -4295,8 +4295,8 @@ var ec = f((hn) => {
4295
4295
  "aria-selected": "false"
4296
4296
  },
4297
4297
  superClass: [["roletype", "widget", "input"]]
4298
- }, xg = Tg;
4299
- hn.default = xg;
4298
+ }, Tg = xg;
4299
+ hn.default = Tg;
4300
4300
  });
4301
4301
 
4302
4302
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js
@@ -4561,12 +4561,12 @@ var lc = f((Pn) => {
4561
4561
  });
4562
4562
 
4563
4563
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js
4564
- var sc = f((Rn) => {
4564
+ var sc = f((qn) => {
4565
4565
  "use strict";
4566
- Object.defineProperty(Rn, "__esModule", {
4566
+ Object.defineProperty(qn, "__esModule", {
4567
4567
  value: !0
4568
4568
  });
4569
- Rn.default = void 0;
4569
+ qn.default = void 0;
4570
4570
  var Vg = {
4571
4571
  abstract: !1,
4572
4572
  accessibleNameRequired: !1,
@@ -4597,16 +4597,16 @@ var sc = f((Rn) => {
4597
4597
  requiredProps: {},
4598
4598
  superClass: [["roletype", "structure"]]
4599
4599
  }, $g = Vg;
4600
- Rn.default = $g;
4600
+ qn.default = $g;
4601
4601
  });
4602
4602
 
4603
4603
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js
4604
- var uc = f((qn) => {
4604
+ var uc = f((Rn) => {
4605
4605
  "use strict";
4606
- Object.defineProperty(qn, "__esModule", {
4606
+ Object.defineProperty(Rn, "__esModule", {
4607
4607
  value: !0
4608
4608
  });
4609
- qn.default = void 0;
4609
+ Rn.default = void 0;
4610
4610
  var zg = {
4611
4611
  abstract: !1,
4612
4612
  accessibleNameRequired: !0,
@@ -4643,16 +4643,16 @@ var uc = f((qn) => {
4643
4643
  superClass: [["roletype", "structure", "section", "cell"], ["roletype", "structure", "section", "cell", "gridcell"], ["roletype", "widge\
4644
4644
  t", "gridcell"], ["roletype", "structure", "sectionhead"]]
4645
4645
  }, Wg = zg;
4646
- qn.default = Wg;
4646
+ Rn.default = Wg;
4647
4647
  });
4648
4648
 
4649
4649
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js
4650
- var cc = f((Tn) => {
4650
+ var cc = f((xn) => {
4651
4651
  "use strict";
4652
- Object.defineProperty(Tn, "__esModule", {
4652
+ Object.defineProperty(xn, "__esModule", {
4653
4653
  value: !0
4654
4654
  });
4655
- Tn.default = void 0;
4655
+ xn.default = void 0;
4656
4656
  var Kg = {
4657
4657
  abstract: !1,
4658
4658
  accessibleNameRequired: !1,
@@ -4677,16 +4677,16 @@ var cc = f((Tn) => {
4677
4677
  },
4678
4678
  superClass: [["roletype", "structure", "range"], ["roletype", "widget"]]
4679
4679
  }, Gg = Kg;
4680
- Tn.default = Gg;
4680
+ xn.default = Gg;
4681
4681
  });
4682
4682
 
4683
4683
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchRole.js
4684
- var dc = f((xn) => {
4684
+ var dc = f((Tn) => {
4685
4685
  "use strict";
4686
- Object.defineProperty(xn, "__esModule", {
4686
+ Object.defineProperty(Tn, "__esModule", {
4687
4687
  value: !0
4688
4688
  });
4689
- xn.default = void 0;
4689
+ Tn.default = void 0;
4690
4690
  var Yg = {
4691
4691
  abstract: !1,
4692
4692
  accessibleNameRequired: !1,
@@ -4702,7 +4702,7 @@ var dc = f((xn) => {
4702
4702
  requiredProps: {},
4703
4703
  superClass: [["roletype", "structure", "section", "landmark"]]
4704
4704
  }, Xg = Yg;
4705
- xn.default = Xg;
4705
+ Tn.default = Xg;
4706
4706
  });
4707
4707
 
4708
4708
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js
@@ -5146,7 +5146,7 @@ var Pc = f((Un) => {
5146
5146
  });
5147
5147
 
5148
5148
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/termRole.js
5149
- var Rc = f((Hn) => {
5149
+ var qc = f((Hn) => {
5150
5150
  "use strict";
5151
5151
  Object.defineProperty(Hn, "__esModule", {
5152
5152
  value: !0
@@ -5181,13 +5181,13 @@ var Rc = f((Hn) => {
5181
5181
  });
5182
5182
 
5183
5183
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js
5184
- var qc = f((Vn) => {
5184
+ var Rc = f((Vn) => {
5185
5185
  "use strict";
5186
5186
  Object.defineProperty(Vn, "__esModule", {
5187
5187
  value: !0
5188
5188
  });
5189
5189
  Vn.default = void 0;
5190
- var RE = {
5190
+ var qE = {
5191
5191
  abstract: !1,
5192
5192
  accessibleNameRequired: !0,
5193
5193
  baseConcepts: [],
@@ -5286,18 +5286,18 @@ var qc = f((Vn) => {
5286
5286
  requiredOwnedElements: [],
5287
5287
  requiredProps: {},
5288
5288
  superClass: [["roletype", "widget", "input"]]
5289
- }, qE = RE;
5290
- Vn.default = qE;
5289
+ }, RE = qE;
5290
+ Vn.default = RE;
5291
5291
  });
5292
5292
 
5293
5293
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timeRole.js
5294
- var Tc = f(($n) => {
5294
+ var xc = f(($n) => {
5295
5295
  "use strict";
5296
5296
  Object.defineProperty($n, "__esModule", {
5297
5297
  value: !0
5298
5298
  });
5299
5299
  $n.default = void 0;
5300
- var TE = {
5300
+ var xE = {
5301
5301
  abstract: !1,
5302
5302
  accessibleNameRequired: !1,
5303
5303
  baseConcepts: [],
@@ -5316,12 +5316,12 @@ var Tc = f(($n) => {
5316
5316
  requiredOwnedElements: [],
5317
5317
  requiredProps: {},
5318
5318
  superClass: [["roletype", "structure", "section"]]
5319
- }, xE = TE;
5320
- $n.default = xE;
5319
+ }, TE = xE;
5320
+ $n.default = TE;
5321
5321
  });
5322
5322
 
5323
5323
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timerRole.js
5324
- var xc = f((zn) => {
5324
+ var Tc = f((zn) => {
5325
5325
  "use strict";
5326
5326
  Object.defineProperty(zn, "__esModule", {
5327
5327
  value: !0
@@ -5498,12 +5498,12 @@ var kc = f((Qn) => {
5498
5498
  Qn.default = void 0;
5499
5499
  var UE = E(au()), HE = E(iu()), VE = E(lu()), $E = E(su()), zE = E(uu()), WE = E(cu()), KE = E(du()), GE = E(fu()), YE = E(pu()), XE = E(mu()),
5500
5500
  QE = E(bu()), JE = E(vu()), ZE = E(hu()), eC = E(yu()), tC = E(gu()), rC = E(Eu()), nC = E(Cu()), oC = E(_u()), aC = E(wu()), iC = E(Pu()),
5501
- lC = E(Ru()), sC = E(qu()), uC = E(Tu()), cC = E(xu()), dC = E(Ou()), fC = E(Su()), pC = E(Au()), mC = E(Mu()), bC = E(Iu()), vC = E(ku()),
5502
- hC = E(Nu()), yC = E(Lu()), gC = E(Bu()), EC = E(Du()), CC = E(Fu()), _C = E(ju()), wC = E(Uu()), PC = E(Hu()), RC = E(Vu()), qC = E($u()),
5503
- TC = E(zu()), xC = E(Wu()), OC = E(Ku()), SC = E(Gu()), AC = E(Yu()), MC = E(Xu()), IC = E(Qu()), kC = E(Ju()), NC = E(Zu()), LC = E(ec()),
5501
+ lC = E(qu()), sC = E(Ru()), uC = E(xu()), cC = E(Tu()), dC = E(Ou()), fC = E(Su()), pC = E(Au()), mC = E(Mu()), bC = E(Iu()), vC = E(ku()),
5502
+ hC = E(Nu()), yC = E(Lu()), gC = E(Bu()), EC = E(Du()), CC = E(Fu()), _C = E(ju()), wC = E(Uu()), PC = E(Hu()), qC = E(Vu()), RC = E($u()),
5503
+ xC = E(zu()), TC = E(Wu()), OC = E(Ku()), SC = E(Gu()), AC = E(Yu()), MC = E(Xu()), IC = E(Qu()), kC = E(Ju()), NC = E(Zu()), LC = E(ec()),
5504
5504
  BC = E(tc()), DC = E(rc()), FC = E(nc()), jC = E(oc()), UC = E(ac()), HC = E(ic()), VC = E(lc()), $C = E(sc()), zC = E(uc()), WC = E(cc()),
5505
5505
  KC = E(dc()), GC = E(fc()), YC = E(pc()), XC = E(mc()), QC = E(bc()), JC = E(vc()), ZC = E(hc()), e_ = E(yc()), t_ = E(gc()), r_ = E(Ec()),
5506
- n_ = E(Cc()), o_ = E(_c()), a_ = E(wc()), i_ = E(Pc()), l_ = E(Rc()), s_ = E(qc()), u_ = E(Tc()), c_ = E(xc()), d_ = E(Oc()), f_ = E(Sc()),
5506
+ n_ = E(Cc()), o_ = E(_c()), a_ = E(wc()), i_ = E(Pc()), l_ = E(qc()), s_ = E(Rc()), u_ = E(xc()), c_ = E(Tc()), d_ = E(Oc()), f_ = E(Sc()),
5507
5507
  p_ = E(Ac()), m_ = E(Mc()), b_ = E(Ic());
5508
5508
  function E(e) {
5509
5509
  return e && e.__esModule ? e : { default: e };
@@ -5515,8 +5515,8 @@ var kc = f((Qn) => {
5515
5515
  ["deletion", nC.default], ["dialog", oC.default], ["directory", aC.default], ["document", iC.default], ["emphasis", lC.default], ["feed", sC.
5516
5516
  default], ["figure", uC.default], ["form", cC.default], ["generic", dC.default], ["grid", fC.default], ["gridcell", pC.default], ["group",
5517
5517
  mC.default], ["heading", bC.default], ["img", vC.default], ["insertion", hC.default], ["link", yC.default], ["list", gC.default], ["listbo\
5518
- x", EC.default], ["listitem", CC.default], ["log", _C.default], ["main", wC.default], ["mark", PC.default], ["marquee", RC.default], ["math",
5519
- qC.default], ["menu", TC.default], ["menubar", xC.default], ["menuitem", OC.default], ["menuitemcheckbox", SC.default], ["menuitemradio", AC.
5518
+ x", EC.default], ["listitem", CC.default], ["log", _C.default], ["main", wC.default], ["mark", PC.default], ["marquee", qC.default], ["math",
5519
+ RC.default], ["menu", xC.default], ["menubar", TC.default], ["menuitem", OC.default], ["menuitemcheckbox", SC.default], ["menuitemradio", AC.
5520
5520
  default], ["meter", MC.default], ["navigation", IC.default], ["none", kC.default], ["note", NC.default], ["option", LC.default], ["paragra\
5521
5521
  ph", BC.default], ["presentation", DC.default], ["progressbar", FC.default], ["radio", jC.default], ["radiogroup", UC.default], ["region", HC.
5522
5522
  default], ["row", VC.default], ["rowgroup", $C.default], ["rowheader", zC.default], ["scrollbar", WC.default], ["search", KC.default], ["s\
@@ -5667,8 +5667,8 @@ var Dc = f((to) => {
5667
5667
  requiredOwnedElements: [],
5668
5668
  requiredProps: {},
5669
5669
  superClass: [["roletype", "structure", "section", "landmark"]]
5670
- }, R_ = P_;
5671
- to.default = R_;
5670
+ }, q_ = P_;
5671
+ to.default = q_;
5672
5672
  });
5673
5673
 
5674
5674
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js
@@ -5678,7 +5678,7 @@ var Fc = f((ro) => {
5678
5678
  value: !0
5679
5679
  });
5680
5680
  ro.default = void 0;
5681
- var q_ = {
5681
+ var R_ = {
5682
5682
  abstract: !1,
5683
5683
  accessibleNameRequired: !0,
5684
5684
  baseConcepts: [],
@@ -5700,8 +5700,8 @@ var Fc = f((ro) => {
5700
5700
  requiredOwnedElements: [],
5701
5701
  requiredProps: {},
5702
5702
  superClass: [["roletype", "widget", "command", "link"]]
5703
- }, T_ = q_;
5704
- ro.default = T_;
5703
+ }, x_ = R_;
5704
+ ro.default = x_;
5705
5705
  });
5706
5706
 
5707
5707
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js
@@ -5711,7 +5711,7 @@ var jc = f((no) => {
5711
5711
  value: !0
5712
5712
  });
5713
5713
  no.default = void 0;
5714
- var x_ = {
5714
+ var T_ = {
5715
5715
  abstract: !1,
5716
5716
  accessibleNameRequired: !0,
5717
5717
  baseConcepts: [],
@@ -5736,7 +5736,7 @@ var jc = f((no) => {
5736
5736
  requiredOwnedElements: [],
5737
5737
  requiredProps: {},
5738
5738
  superClass: [["roletype", "structure", "section", "listitem"]]
5739
- }, O_ = x_;
5739
+ }, O_ = T_;
5740
5740
  no.default = O_;
5741
5741
  });
5742
5742
 
@@ -6450,12 +6450,12 @@ var id = f((Po) => {
6450
6450
  });
6451
6451
 
6452
6452
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js
6453
- var ld = f((Ro) => {
6453
+ var ld = f((qo) => {
6454
6454
  "use strict";
6455
- Object.defineProperty(Ro, "__esModule", {
6455
+ Object.defineProperty(qo, "__esModule", {
6456
6456
  value: !0
6457
6457
  });
6458
- Ro.default = void 0;
6458
+ qo.default = void 0;
6459
6459
  var vw = {
6460
6460
  abstract: !1,
6461
6461
  accessibleNameRequired: !1,
@@ -6482,16 +6482,16 @@ var ld = f((Ro) => {
6482
6482
  requiredProps: {},
6483
6483
  superClass: [["roletype", "structure", "section", "landmark"]]
6484
6484
  }, hw = vw;
6485
- Ro.default = hw;
6485
+ qo.default = hw;
6486
6486
  });
6487
6487
 
6488
6488
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js
6489
- var sd = f((qo) => {
6489
+ var sd = f((Ro) => {
6490
6490
  "use strict";
6491
- Object.defineProperty(qo, "__esModule", {
6491
+ Object.defineProperty(Ro, "__esModule", {
6492
6492
  value: !0
6493
6493
  });
6494
- qo.default = void 0;
6494
+ Ro.default = void 0;
6495
6495
  var yw = {
6496
6496
  abstract: !1,
6497
6497
  accessibleNameRequired: !0,
@@ -6515,16 +6515,16 @@ var sd = f((qo) => {
6515
6515
  requiredProps: {},
6516
6516
  superClass: [["roletype", "widget", "command", "link"]]
6517
6517
  }, gw = yw;
6518
- qo.default = gw;
6518
+ Ro.default = gw;
6519
6519
  });
6520
6520
 
6521
6521
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js
6522
- var ud = f((To) => {
6522
+ var ud = f((xo) => {
6523
6523
  "use strict";
6524
- Object.defineProperty(To, "__esModule", {
6524
+ Object.defineProperty(xo, "__esModule", {
6525
6525
  value: !0
6526
6526
  });
6527
- To.default = void 0;
6527
+ xo.default = void 0;
6528
6528
  var Ew = {
6529
6529
  abstract: !1,
6530
6530
  accessibleNameRequired: !1,
@@ -6551,16 +6551,16 @@ var ud = f((To) => {
6551
6551
  requiredProps: {},
6552
6552
  superClass: [["roletype", "structure", "section", "note"]]
6553
6553
  }, Cw = Ew;
6554
- To.default = Cw;
6554
+ xo.default = Cw;
6555
6555
  });
6556
6556
 
6557
6557
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js
6558
- var cd = f((xo) => {
6558
+ var cd = f((To) => {
6559
6559
  "use strict";
6560
- Object.defineProperty(xo, "__esModule", {
6560
+ Object.defineProperty(To, "__esModule", {
6561
6561
  value: !0
6562
6562
  });
6563
- xo.default = void 0;
6563
+ To.default = void 0;
6564
6564
  var _w = {
6565
6565
  abstract: !1,
6566
6566
  accessibleNameRequired: !0,
@@ -6586,7 +6586,7 @@ var cd = f((xo) => {
6586
6586
  requiredProps: {},
6587
6587
  superClass: [["roletype", "structure", "separator"]]
6588
6588
  }, ww = _w;
6589
- xo.default = ww;
6589
+ To.default = ww;
6590
6590
  });
6591
6591
 
6592
6592
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js
@@ -6621,8 +6621,8 @@ var dd = f((Oo) => {
6621
6621
  requiredOwnedElements: [],
6622
6622
  requiredProps: {},
6623
6623
  superClass: [["roletype", "structure", "section", "landmark", "navigation"]]
6624
- }, Rw = Pw;
6625
- Oo.default = Rw;
6624
+ }, qw = Pw;
6625
+ Oo.default = qw;
6626
6626
  });
6627
6627
 
6628
6628
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js
@@ -6632,7 +6632,7 @@ var fd = f((So) => {
6632
6632
  value: !0
6633
6633
  });
6634
6634
  So.default = void 0;
6635
- var qw = {
6635
+ var Rw = {
6636
6636
  abstract: !1,
6637
6637
  accessibleNameRequired: !0,
6638
6638
  baseConcepts: [],
@@ -6657,8 +6657,8 @@ var fd = f((So) => {
6657
6657
  requiredOwnedElements: [],
6658
6658
  requiredProps: {},
6659
6659
  superClass: [["roletype", "structure", "section", "landmark"]]
6660
- }, Tw = qw;
6661
- So.default = Tw;
6660
+ }, xw = Rw;
6661
+ So.default = xw;
6662
6662
  });
6663
6663
 
6664
6664
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js
@@ -6668,7 +6668,7 @@ var pd = f((Ao) => {
6668
6668
  value: !0
6669
6669
  });
6670
6670
  Ao.default = void 0;
6671
- var xw = {
6671
+ var Tw = {
6672
6672
  abstract: !1,
6673
6673
  accessibleNameRequired: !1,
6674
6674
  baseConcepts: [],
@@ -6693,7 +6693,7 @@ var pd = f((Ao) => {
6693
6693
  requiredOwnedElements: [],
6694
6694
  requiredProps: {},
6695
6695
  superClass: [["roletype", "structure", "section", "landmark"]]
6696
- }, Ow = xw;
6696
+ }, Ow = Tw;
6697
6697
  Ao.default = Ow;
6698
6698
  });
6699
6699
 
@@ -6917,12 +6917,12 @@ var Ed = f((Do) => {
6917
6917
  var Hw = O(Nc()), Vw = O(Lc()), $w = O(Bc()), zw = O(Dc()), Ww = O(Fc()), Kw = O(jc()), Gw = O(Uc()), Yw = O(Hc()), Xw = O(Vc()), Qw = O($c()),
6918
6918
  Jw = O(zc()), Zw = O(Wc()), eP = O(Kc()), tP = O(Gc()), rP = O(Yc()), nP = O(Xc()), oP = O(Qc()), aP = O(Jc()), iP = O(Zc()), lP = O(ed()),
6919
6919
  sP = O(td()), uP = O(rd()), cP = O(nd()), dP = O(od()), fP = O(ad()), pP = O(id()), mP = O(ld()), bP = O(sd()), vP = O(ud()), hP = O(cd()),
6920
- yP = O(dd()), gP = O(fd()), EP = O(pd()), CP = O(md()), _P = O(bd()), wP = O(vd()), PP = O(hd()), RP = O(yd()), qP = O(gd());
6920
+ yP = O(dd()), gP = O(fd()), EP = O(pd()), CP = O(md()), _P = O(bd()), wP = O(vd()), PP = O(hd()), qP = O(yd()), RP = O(gd());
6921
6921
  function O(e) {
6922
6922
  return e && e.__esModule ? e : { default: e };
6923
6923
  }
6924
6924
  o(O, "_interopRequireDefault");
6925
- var TP = [["doc-abstract", Hw.default], ["doc-acknowledgments", Vw.default], ["doc-afterword", $w.default], ["doc-appendix", zw.default], [
6925
+ var xP = [["doc-abstract", Hw.default], ["doc-acknowledgments", Vw.default], ["doc-afterword", $w.default], ["doc-appendix", zw.default], [
6926
6926
  "doc-backlink", Ww.default], ["doc-biblioentry", Kw.default], ["doc-bibliography", Gw.default], ["doc-biblioref", Yw.default], ["doc-chapt\
6927
6927
  er", Xw.default], ["doc-colophon", Qw.default], ["doc-conclusion", Jw.default], ["doc-cover", Zw.default], ["doc-credit", eP.default], ["doc\
6928
6928
  -credits", tP.default], ["doc-dedication", rP.default], ["doc-endnote", nP.default], ["doc-endnotes", oP.default], ["doc-epigraph", aP.default],
@@ -6930,8 +6930,8 @@ er", Xw.default], ["doc-colophon", Qw.default], ["doc-conclusion", Jw.default],
6930
6930
  ["doc-glossary", dP.default], ["doc-glossref", fP.default], ["doc-index", pP.default], ["doc-introduction", mP.default], ["doc-noteref", bP.
6931
6931
  default], ["doc-notice", vP.default], ["doc-pagebreak", hP.default], ["doc-pagelist", yP.default], ["doc-part", gP.default], ["doc-preface",
6932
6932
  EP.default], ["doc-prologue", CP.default], ["doc-pullquote", _P.default], ["doc-qna", wP.default], ["doc-subtitle", PP.default], ["doc-tip",
6933
- RP.default], ["doc-toc", qP.default]], xP = TP;
6934
- Do.default = xP;
6933
+ qP.default], ["doc-toc", RP.default]], TP = xP;
6934
+ Do.default = TP;
6935
6935
  });
6936
6936
 
6937
6937
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js
@@ -7096,7 +7096,7 @@ var $o = f((Vo) => {
7096
7096
  function ti(e, t) {
7097
7097
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
7098
7098
  if (!r) {
7099
- if (Array.isArray(e) || (r = qd(e)) || t && e && typeof e.length == "number") {
7099
+ if (Array.isArray(e) || (r = Rd(e)) || t && e && typeof e.length == "number") {
7100
7100
  r && (e = r);
7101
7101
  var n = 0, a = /* @__PURE__ */ o(function() {
7102
7102
  }, "F");
@@ -7126,31 +7126,31 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7126
7126
  }, "f") };
7127
7127
  }
7128
7128
  o(ti, "_createForOfIteratorHelper");
7129
- function xt(e, t) {
7130
- return GP(e) || KP(e, t) || qd(e, t) || WP();
7129
+ function Tt(e, t) {
7130
+ return GP(e) || KP(e, t) || Rd(e, t) || WP();
7131
7131
  }
7132
- o(xt, "_slicedToArray");
7132
+ o(Tt, "_slicedToArray");
7133
7133
  function WP() {
7134
7134
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7135
7135
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
7136
7136
  }
7137
7137
  o(WP, "_nonIterableRest");
7138
- function qd(e, t) {
7138
+ function Rd(e, t) {
7139
7139
  if (e) {
7140
- if (typeof e == "string") return Rd(e, t);
7140
+ if (typeof e == "string") return qd(e, t);
7141
7141
  var r = Object.prototype.toString.call(e).slice(8, -1);
7142
7142
  if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
7143
- if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return Rd(e, t);
7143
+ if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return qd(e, t);
7144
7144
  }
7145
7145
  }
7146
- o(qd, "_unsupportedIterableToArray");
7147
- function Rd(e, t) {
7146
+ o(Rd, "_unsupportedIterableToArray");
7147
+ function qd(e, t) {
7148
7148
  (t == null || t > e.length) && (t = e.length);
7149
7149
  for (var r = 0, n = new Array(t); r < t; r++)
7150
7150
  n[r] = e[r];
7151
7151
  return n;
7152
7152
  }
7153
- o(Rd, "_arrayLikeToArray");
7153
+ o(qd, "_arrayLikeToArray");
7154
7154
  function KP(e, t) {
7155
7155
  var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
7156
7156
  if (r != null) {
@@ -7177,14 +7177,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7177
7177
  o(GP, "_arrayWithHoles");
7178
7178
  var Ae = [].concat(jP.default, UP.default, HP.default, VP.default);
7179
7179
  Ae.forEach(function(e) {
7180
- var t = xt(e, 2), r = t[1], n = ti(r.superClass), a;
7180
+ var t = Tt(e, 2), r = t[1], n = ti(r.superClass), a;
7181
7181
  try {
7182
7182
  for (n.s(); !(a = n.n()).done; ) {
7183
7183
  var i = a.value, l = ti(i), s;
7184
7184
  try {
7185
7185
  var u = /* @__PURE__ */ o(function() {
7186
- var d = s.value, p = Ae.find(function(q) {
7187
- var m = xt(q, 1), w = m[0];
7186
+ var d = s.value, p = Ae.find(function(R) {
7187
+ var m = Tt(R, 1), w = m[0];
7188
7188
  return w === d;
7189
7189
  });
7190
7190
  if (p)
@@ -7215,7 +7215,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7215
7215
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = ti(Ae), a;
7216
7216
  try {
7217
7217
  for (n.s(); !(a = n.n()).done; ) {
7218
- var i = xt(a.value, 2), l = i[0], s = i[1];
7218
+ var i = Tt(a.value, 2), l = i[0], s = i[1];
7219
7219
  t.call(r, s, l, Ae);
7220
7220
  }
7221
7221
  } catch (u) {
@@ -7235,13 +7235,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7235
7235
  }, "has"),
7236
7236
  keys: /* @__PURE__ */ o(function() {
7237
7237
  return Ae.map(function(t) {
7238
- var r = xt(t, 1), n = r[0];
7238
+ var r = Tt(t, 1), n = r[0];
7239
7239
  return n;
7240
7240
  });
7241
7241
  }, "keys"),
7242
7242
  values: /* @__PURE__ */ o(function() {
7243
7243
  return Ae.map(function(t) {
7244
- var r = xt(t, 2), n = r[1];
7244
+ var r = Tt(t, 2), n = r[1];
7245
7245
  return n;
7246
7246
  });
7247
7247
  }, "values")
@@ -7250,8 +7250,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7250
7250
  });
7251
7251
 
7252
7252
  // ../node_modules/dequal/lite/index.mjs
7253
- var xd = {};
7254
- sl(xd, {
7253
+ var Td = {};
7254
+ sl(Td, {
7255
7255
  dequal: () => ni
7256
7256
  });
7257
7257
  function ni(e, t) {
@@ -7268,14 +7268,14 @@ function ni(e, t) {
7268
7268
  if (!r || typeof e == "object") {
7269
7269
  n = 0;
7270
7270
  for (r in e)
7271
- if (Td.call(e, r) && ++n && !Td.call(t, r) || !(r in t) || !ni(e[r], t[r])) return !1;
7271
+ if (xd.call(e, r) && ++n && !xd.call(t, r) || !(r in t) || !ni(e[r], t[r])) return !1;
7272
7272
  return Object.keys(t).length === n;
7273
7273
  }
7274
7274
  }
7275
7275
  return e !== e && t !== t;
7276
7276
  }
7277
- var Td, Od = Am(() => {
7278
- Td = Object.prototype.hasOwnProperty;
7277
+ var xd, Od = Am(() => {
7278
+ xd = Object.prototype.hasOwnProperty;
7279
7279
  o(ni, "dequal");
7280
7280
  });
7281
7281
 
@@ -7286,7 +7286,7 @@ var Ld = f((Yo) => {
7286
7286
  value: !0
7287
7287
  });
7288
7288
  Yo.default = void 0;
7289
- var Md = (Od(), Mm(xd)), XP = kd(ot()), Id = kd($o());
7289
+ var Md = (Od(), Mm(Td)), XP = kd(ot()), Id = kd($o());
7290
7290
  function kd(e) {
7291
7291
  return e && e.__esModule ? e : { default: e };
7292
7292
  }
@@ -7324,7 +7324,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7324
7324
  if (Array.isArray(e)) return e;
7325
7325
  }
7326
7326
  o(ZP, "_arrayWithHoles");
7327
- function eR(e, t) {
7327
+ function eq(e, t) {
7328
7328
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
7329
7329
  if (!r) {
7330
7330
  if (Array.isArray(e) || (r = Nd(e)) || t && e && typeof e.length == "number") {
@@ -7356,7 +7356,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7356
7356
  }
7357
7357
  }, "f") };
7358
7358
  }
7359
- o(eR, "_createForOfIteratorHelper");
7359
+ o(eq, "_createForOfIteratorHelper");
7360
7360
  function Nd(e, t) {
7361
7361
  if (e) {
7362
7362
  if (typeof e == "string") return Sd(e, t);
@@ -7397,7 +7397,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7397
7397
  return Me;
7398
7398
  }, "entries"),
7399
7399
  forEach: /* @__PURE__ */ o(function(t) {
7400
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = eR(Me), a;
7400
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = eq(Me), a;
7401
7401
  try {
7402
7402
  for (n.s(); !(a = n.n()).done; ) {
7403
7403
  var i = oi(a.value, 2), l = i[0], s = i[1];
@@ -7430,8 +7430,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7430
7430
  return n;
7431
7431
  });
7432
7432
  }, "values")
7433
- }, tR = (0, XP.default)(li, li.entries());
7434
- Yo.default = tR;
7433
+ }, tq = (0, XP.default)(li, li.entries());
7434
+ Yo.default = tq;
7435
7435
  });
7436
7436
 
7437
7437
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/roleElementMap.js
@@ -7441,21 +7441,21 @@ var Hd = f((ea) => {
7441
7441
  value: !0
7442
7442
  });
7443
7443
  ea.default = void 0;
7444
- var rR = jd(ot()), Fd = jd($o());
7444
+ var rq = jd(ot()), Fd = jd($o());
7445
7445
  function jd(e) {
7446
7446
  return e && e.__esModule ? e : { default: e };
7447
7447
  }
7448
7448
  o(jd, "_interopRequireDefault");
7449
7449
  function si(e, t) {
7450
- return aR(e) || oR(e, t) || Ud(e, t) || nR();
7450
+ return aq(e) || oq(e, t) || Ud(e, t) || nq();
7451
7451
  }
7452
7452
  o(si, "_slicedToArray");
7453
- function nR() {
7453
+ function nq() {
7454
7454
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7455
7455
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
7456
7456
  }
7457
- o(nR, "_nonIterableRest");
7458
- function oR(e, t) {
7457
+ o(nq, "_nonIterableRest");
7458
+ function oq(e, t) {
7459
7459
  var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
7460
7460
  if (r != null) {
7461
7461
  var n = [], a = !0, i = !1, l, s;
@@ -7474,12 +7474,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7474
7474
  return n;
7475
7475
  }
7476
7476
  }
7477
- o(oR, "_iterableToArrayLimit");
7478
- function aR(e) {
7477
+ o(oq, "_iterableToArrayLimit");
7478
+ function aq(e) {
7479
7479
  if (Array.isArray(e)) return e;
7480
7480
  }
7481
- o(aR, "_arrayWithHoles");
7482
- function iR(e, t) {
7481
+ o(aq, "_arrayWithHoles");
7482
+ function iq(e, t) {
7483
7483
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
7484
7484
  if (!r) {
7485
7485
  if (Array.isArray(e) || (r = Ud(e)) || t && e && typeof e.length == "number") {
@@ -7511,7 +7511,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7511
7511
  }
7512
7512
  }, "f") };
7513
7513
  }
7514
- o(iR, "_createForOfIteratorHelper");
7514
+ o(iq, "_createForOfIteratorHelper");
7515
7515
  function Ud(e, t) {
7516
7516
  if (e) {
7517
7517
  if (typeof e == "string") return Bd(e, t);
@@ -7540,7 +7540,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7540
7540
  return He;
7541
7541
  }, "entries"),
7542
7542
  forEach: /* @__PURE__ */ o(function(t) {
7543
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = iR(He), a;
7543
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = iq(He), a;
7544
7544
  try {
7545
7545
  for (n.s(); !(a = n.n()).done; ) {
7546
7546
  var i = si(a.value, 2), l = i[0], s = i[1];
@@ -7573,8 +7573,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7573
7573
  return n;
7574
7574
  });
7575
7575
  }, "values")
7576
- }, lR = (0, rR.default)(pi, pi.entries());
7577
- ea.default = lR;
7576
+ }, lq = (0, rq.default)(pi, pi.entries());
7577
+ ea.default = lq;
7578
7578
  });
7579
7579
 
7580
7580
  // ../node_modules/@testing-library/dom/node_modules/aria-query/lib/index.js
@@ -7584,21 +7584,21 @@ var Vd = f((ne) => {
7584
7584
  value: !0
7585
7585
  });
7586
7586
  ne.roles = ne.roleElements = ne.elementRoles = ne.dom = ne.aria = void 0;
7587
- var sR = St(Hs()), uR = St(zs()), cR = St($o()), dR = St(Ld()), fR = St(Hd());
7587
+ var sq = St(Hs()), uq = St(zs()), cq = St($o()), dq = St(Ld()), fq = St(Hd());
7588
7588
  function St(e) {
7589
7589
  return e && e.__esModule ? e : { default: e };
7590
7590
  }
7591
7591
  o(St, "_interopRequireDefault");
7592
- var pR = sR.default;
7593
- ne.aria = pR;
7594
- var mR = uR.default;
7595
- ne.dom = mR;
7596
- var bR = cR.default;
7597
- ne.roles = bR;
7598
- var vR = dR.default;
7599
- ne.elementRoles = vR;
7600
- var hR = fR.default;
7601
- ne.roleElements = hR;
7592
+ var pq = sq.default;
7593
+ ne.aria = pq;
7594
+ var mq = uq.default;
7595
+ ne.dom = mq;
7596
+ var bq = cq.default;
7597
+ ne.roles = bq;
7598
+ var vq = dq.default;
7599
+ ne.elementRoles = vq;
7600
+ var hq = fq.default;
7601
+ ne.roleElements = hq;
7602
7602
  });
7603
7603
 
7604
7604
  // ../node_modules/lz-string/libs/lz-string.js
@@ -7688,9 +7688,9 @@ defghijklmnopqrstuvwxyz0123456789+-$", n = {};
7688
7688
  }, "compress"),
7689
7689
  _compress: /* @__PURE__ */ o(function(l, s, u) {
7690
7690
  if (l == null) return "";
7691
- var c, d, p = {}, h = {}, b = "", _ = "", C = "", q = 2, m = 3, w = 2, P = [], v = 0, g = 0, R;
7692
- for (R = 0; R < l.length; R += 1)
7693
- if (b = l.charAt(R), Object.prototype.hasOwnProperty.call(p, b) || (p[b] = m++, h[b] = !0), _ = C + b, Object.prototype.hasOwnProperty.
7691
+ var c, d, p = {}, h = {}, b = "", _ = "", C = "", R = 2, m = 3, w = 2, P = [], v = 0, g = 0, q;
7692
+ for (q = 0; q < l.length; q += 1)
7693
+ if (b = l.charAt(q), Object.prototype.hasOwnProperty.call(p, b) || (p[b] = m++, h[b] = !0), _ = C + b, Object.prototype.hasOwnProperty.
7694
7694
  call(p, _))
7695
7695
  C = _;
7696
7696
  else {
@@ -7706,11 +7706,11 @@ defghijklmnopqrstuvwxyz0123456789+-$", n = {};
7706
7706
  for (d = C.charCodeAt(0), c = 0; c < 16; c++)
7707
7707
  v = v << 1 | d & 1, g == s - 1 ? (g = 0, P.push(u(v)), v = 0) : g++, d = d >> 1;
7708
7708
  }
7709
- q--, q == 0 && (q = Math.pow(2, w), w++), delete h[C];
7709
+ R--, R == 0 && (R = Math.pow(2, w), w++), delete h[C];
7710
7710
  } else
7711
7711
  for (d = p[C], c = 0; c < w; c++)
7712
7712
  v = v << 1 | d & 1, g == s - 1 ? (g = 0, P.push(u(v)), v = 0) : g++, d = d >> 1;
7713
- q--, q == 0 && (q = Math.pow(2, w), w++), p[_] = m++, C = String(b);
7713
+ R--, R == 0 && (R = Math.pow(2, w), w++), p[_] = m++, C = String(b);
7714
7714
  }
7715
7715
  if (C !== "") {
7716
7716
  if (Object.prototype.hasOwnProperty.call(h, C)) {
@@ -7725,11 +7725,11 @@ defghijklmnopqrstuvwxyz0123456789+-$", n = {};
7725
7725
  for (d = C.charCodeAt(0), c = 0; c < 16; c++)
7726
7726
  v = v << 1 | d & 1, g == s - 1 ? (g = 0, P.push(u(v)), v = 0) : g++, d = d >> 1;
7727
7727
  }
7728
- q--, q == 0 && (q = Math.pow(2, w), w++), delete h[C];
7728
+ R--, R == 0 && (R = Math.pow(2, w), w++), delete h[C];
7729
7729
  } else
7730
7730
  for (d = p[C], c = 0; c < w; c++)
7731
7731
  v = v << 1 | d & 1, g == s - 1 ? (g = 0, P.push(u(v)), v = 0) : g++, d = d >> 1;
7732
- q--, q == 0 && (q = Math.pow(2, w), w++);
7732
+ R--, R == 0 && (R = Math.pow(2, w), w++);
7733
7733
  }
7734
7734
  for (d = 2, c = 0; c < w; c++)
7735
7735
  v = v << 1 | d & 1, g == s - 1 ? (g = 0, P.push(u(v)), v = 0) : g++, d = d >> 1;
@@ -7746,9 +7746,9 @@ defghijklmnopqrstuvwxyz0123456789+-$", n = {};
7746
7746
  });
7747
7747
  }, "decompress"),
7748
7748
  _decompress: /* @__PURE__ */ o(function(l, s, u) {
7749
- var c = [], d, p = 4, h = 4, b = 3, _ = "", C = [], q, m, w, P, v, g, R, y = { val: u(0), position: s, index: 1 };
7750
- for (q = 0; q < 3; q += 1)
7751
- c[q] = q;
7749
+ var c = [], d, p = 4, h = 4, b = 3, _ = "", C = [], R, m, w, P, v, g, q, y = { val: u(0), position: s, index: 1 };
7750
+ for (R = 0; R < 3; R += 1)
7751
+ c[R] = R;
7752
7752
  for (w = 0, v = Math.pow(2, 2), g = 1; g != v; )
7753
7753
  P = y.val & y.position, y.position >>= 1, y.position == 0 && (y.position = s, y.val = u(y.index++)), w |= (P > 0 ? 1 : 0) * g, g <<=
7754
7754
  1;
@@ -7757,42 +7757,42 @@ defghijklmnopqrstuvwxyz0123456789+-$", n = {};
7757
7757
  for (w = 0, v = Math.pow(2, 8), g = 1; g != v; )
7758
7758
  P = y.val & y.position, y.position >>= 1, y.position == 0 && (y.position = s, y.val = u(y.index++)), w |= (P > 0 ? 1 : 0) * g,
7759
7759
  g <<= 1;
7760
- R = e(w);
7760
+ q = e(w);
7761
7761
  break;
7762
7762
  case 1:
7763
7763
  for (w = 0, v = Math.pow(2, 16), g = 1; g != v; )
7764
7764
  P = y.val & y.position, y.position >>= 1, y.position == 0 && (y.position = s, y.val = u(y.index++)), w |= (P > 0 ? 1 : 0) * g,
7765
7765
  g <<= 1;
7766
- R = e(w);
7766
+ q = e(w);
7767
7767
  break;
7768
7768
  case 2:
7769
7769
  return "";
7770
7770
  }
7771
- for (c[3] = R, m = R, C.push(R); ; ) {
7771
+ for (c[3] = q, m = q, C.push(q); ; ) {
7772
7772
  if (y.index > l)
7773
7773
  return "";
7774
7774
  for (w = 0, v = Math.pow(2, b), g = 1; g != v; )
7775
7775
  P = y.val & y.position, y.position >>= 1, y.position == 0 && (y.position = s, y.val = u(y.index++)), w |= (P > 0 ? 1 : 0) * g, g <<=
7776
7776
  1;
7777
- switch (R = w) {
7777
+ switch (q = w) {
7778
7778
  case 0:
7779
7779
  for (w = 0, v = Math.pow(2, 8), g = 1; g != v; )
7780
7780
  P = y.val & y.position, y.position >>= 1, y.position == 0 && (y.position = s, y.val = u(y.index++)), w |= (P > 0 ? 1 : 0) * g,
7781
7781
  g <<= 1;
7782
- c[h++] = e(w), R = h - 1, p--;
7782
+ c[h++] = e(w), q = h - 1, p--;
7783
7783
  break;
7784
7784
  case 1:
7785
7785
  for (w = 0, v = Math.pow(2, 16), g = 1; g != v; )
7786
7786
  P = y.val & y.position, y.position >>= 1, y.position == 0 && (y.position = s, y.val = u(y.index++)), w |= (P > 0 ? 1 : 0) * g,
7787
7787
  g <<= 1;
7788
- c[h++] = e(w), R = h - 1, p--;
7788
+ c[h++] = e(w), q = h - 1, p--;
7789
7789
  break;
7790
7790
  case 2:
7791
7791
  return C.join("");
7792
7792
  }
7793
- if (p == 0 && (p = Math.pow(2, b), b++), c[R])
7794
- _ = c[R];
7795
- else if (R === h)
7793
+ if (p == 0 && (p = Math.pow(2, b), b++), c[q])
7794
+ _ = c[q];
7795
+ else if (q === h)
7796
7796
  _ = m + m.charAt(0);
7797
7797
  else
7798
7798
  return null;
@@ -8113,10 +8113,10 @@ function Ka(e) {
8113
8113
  return N(e) && j(e) === "caption";
8114
8114
  }
8115
8115
  o(Ka, "isHTMLTableCaptionElement");
8116
- function Rt(e) {
8116
+ function qt(e) {
8117
8117
  return N(e) && j(e) === "input";
8118
8118
  }
8119
- o(Rt, "isHTMLInputElement");
8119
+ o(qt, "isHTMLInputElement");
8120
8120
  function _s(e) {
8121
8121
  return N(e) && j(e) === "optgroup";
8122
8122
  }
@@ -8129,25 +8129,25 @@ function Ps(e) {
8129
8129
  return N(e) && j(e) === "table";
8130
8130
  }
8131
8131
  o(Ps, "isHTMLTableElement");
8132
- function Rs(e) {
8132
+ function qs(e) {
8133
8133
  return N(e) && j(e) === "textarea";
8134
8134
  }
8135
- o(Rs, "isHTMLTextAreaElement");
8136
- function qs(e) {
8135
+ o(qs, "isHTMLTextAreaElement");
8136
+ function Rs(e) {
8137
8137
  var t = e.ownerDocument === null ? e : e.ownerDocument, r = t.defaultView;
8138
8138
  if (r === null)
8139
8139
  throw new TypeError("no window available");
8140
8140
  return r;
8141
8141
  }
8142
- o(qs, "safeWindow");
8143
- function Ts(e) {
8142
+ o(Rs, "safeWindow");
8143
+ function xs(e) {
8144
8144
  return N(e) && j(e) === "fieldset";
8145
8145
  }
8146
- o(Ts, "isHTMLFieldSetElement");
8147
- function xs(e) {
8146
+ o(xs, "isHTMLFieldSetElement");
8147
+ function Ts(e) {
8148
8148
  return N(e) && j(e) === "legend";
8149
8149
  }
8150
- o(xs, "isHTMLLegendElement");
8150
+ o(Ts, "isHTMLLegendElement");
8151
8151
  function Os(e) {
8152
8152
  return N(e) && j(e) === "slot";
8153
8153
  }
@@ -8237,14 +8237,14 @@ function Pv(e) {
8237
8237
  x", "menuitemradio", "option", "radio", "row", "rowheader", "switch", "tab", "tooltip", "treeitem"]);
8238
8238
  }
8239
8239
  o(Pv, "allowsNameFromContent");
8240
- function Rv(e) {
8240
+ function qv(e) {
8241
8241
  return !1;
8242
8242
  }
8243
- o(Rv, "isDescendantOfNativeHostLanguageTextAlternativeElement");
8244
- function qv(e) {
8245
- return Rt(e) || Rs(e) ? e.value : e.textContent || "";
8243
+ o(qv, "isDescendantOfNativeHostLanguageTextAlternativeElement");
8244
+ function Rv(e) {
8245
+ return qt(e) || qs(e) ? e.value : e.textContent || "";
8246
8246
  }
8247
- o(qv, "getValueOfTextbox");
8247
+ o(Rv, "getValueOfTextbox");
8248
8248
  function Is(e) {
8249
8249
  var t = e.getPropertyValue("content");
8250
8250
  return /^["'].*["']$/.test(t) ? t.slice(1, -1) : "";
@@ -8268,14 +8268,14 @@ function Ls(e) {
8268
8268
  }), t;
8269
8269
  }
8270
8270
  o(Ls, "findLabelableElement");
8271
- function Tv(e) {
8271
+ function xv(e) {
8272
8272
  if (e.control !== void 0)
8273
8273
  return e.control;
8274
8274
  var t = e.getAttribute("for");
8275
8275
  return t !== null ? e.ownerDocument.getElementById(t) : Ls(e);
8276
8276
  }
8277
- o(Tv, "getControlOfLabel");
8278
- function xv(e) {
8277
+ o(xv, "getControlOfLabel");
8278
+ function Tv(e) {
8279
8279
  var t = e.labels;
8280
8280
  if (t === null)
8281
8281
  return t;
@@ -8285,17 +8285,17 @@ function xv(e) {
8285
8285
  return null;
8286
8286
  var r = e.ownerDocument;
8287
8287
  return ee(r.querySelectorAll("label")).filter(function(n) {
8288
- return Tv(n) === e;
8288
+ return xv(n) === e;
8289
8289
  });
8290
8290
  }
8291
- o(xv, "getLabels");
8291
+ o(Tv, "getLabels");
8292
8292
  function Ov(e) {
8293
8293
  var t = e.assignedNodes();
8294
8294
  return t.length === 0 ? ee(e.childNodes) : t;
8295
8295
  }
8296
8296
  o(Ov, "getSlotContents");
8297
8297
  function nr(e) {
8298
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = new Es(), n = qs(e), a = t.compute, i = a === void 0 ? "n\
8298
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = new Es(), n = Rs(e), a = t.compute, i = a === void 0 ? "n\
8299
8299
  ame" : a, l = t.computedStyleSupportsPseudoElements, s = l === void 0 ? t.getComputedStyle !== void 0 : l, u = t.getComputedStyle, c = u ===
8300
8300
  void 0 ? n.getComputedStyle.bind(n) : u, d = t.hidden, p = d === void 0 ? !1 : d;
8301
8301
  function h(m, w) {
@@ -8304,9 +8304,9 @@ ame" : a, l = t.computedStyleSupportsPseudoElements, s = l === void 0 ? t.getCom
8304
8304
  var v = c(m, "::before"), g = Is(v);
8305
8305
  P = "".concat(g, " ").concat(P);
8306
8306
  }
8307
- var R = Os(m) ? Ov(m) : ee(m.childNodes).concat(nt(m, "aria-owns"));
8308
- if (R.forEach(function(L) {
8309
- var X = q(L, {
8307
+ var q = Os(m) ? Ov(m) : ee(m.childNodes).concat(nt(m, "aria-owns"));
8308
+ if (q.forEach(function(L) {
8309
+ var X = R(L, {
8310
8310
  isEmbeddedInLabel: w.isEmbeddedInLabel,
8311
8311
  isReferenced: !1,
8312
8312
  recursion: !0
@@ -8331,12 +8331,12 @@ ame" : a, l = t.computedStyleSupportsPseudoElements, s = l === void 0 ? t.getCom
8331
8331
  function C(m) {
8332
8332
  if (!N(m))
8333
8333
  return null;
8334
- if (Ts(m)) {
8334
+ if (xs(m)) {
8335
8335
  r.add(m);
8336
8336
  for (var w = ee(m.childNodes), P = 0; P < w.length; P += 1) {
8337
8337
  var v = w[P];
8338
- if (xs(v))
8339
- return q(v, {
8338
+ if (Ts(v))
8339
+ return R(v, {
8340
8340
  isEmbeddedInLabel: !1,
8341
8341
  isReferenced: !1,
8342
8342
  recursion: !1
@@ -8344,10 +8344,10 @@ ame" : a, l = t.computedStyleSupportsPseudoElements, s = l === void 0 ? t.getCom
8344
8344
  }
8345
8345
  } else if (Ps(m)) {
8346
8346
  r.add(m);
8347
- for (var g = ee(m.childNodes), R = 0; R < g.length; R += 1) {
8348
- var y = g[R];
8347
+ for (var g = ee(m.childNodes), q = 0; q < g.length; q += 1) {
8348
+ var y = g[q];
8349
8349
  if (Ka(y))
8350
- return q(y, {
8350
+ return R(y, {
8351
8351
  isEmbeddedInLabel: !1,
8352
8352
  isReferenced: !1,
8353
8353
  recursion: !1
@@ -8370,7 +8370,7 @@ ame" : a, l = t.computedStyleSupportsPseudoElements, s = l === void 0 ? t.getCom
8370
8370
  if (Z !== null)
8371
8371
  return Z;
8372
8372
  }
8373
- if (Rt(m) && (m.type === "button" || m.type === "submit" || m.type === "reset")) {
8373
+ if (qt(m) && (m.type === "button" || m.type === "submit" || m.type === "reset")) {
8374
8374
  var pe = b(m, "value");
8375
8375
  if (pe !== null)
8376
8376
  return pe;
@@ -8379,10 +8379,10 @@ ame" : a, l = t.computedStyleSupportsPseudoElements, s = l === void 0 ? t.getCom
8379
8379
  if (m.type === "reset")
8380
8380
  return "Reset";
8381
8381
  }
8382
- var S = xv(m);
8382
+ var S = Tv(m);
8383
8383
  if (S !== null && S.length !== 0)
8384
8384
  return r.add(m), ee(S).map(function(je) {
8385
- return q(je, {
8385
+ return R(je, {
8386
8386
  isEmbeddedInLabel: !0,
8387
8387
  isReferenced: !1,
8388
8388
  recursion: !0
@@ -8390,7 +8390,7 @@ ame" : a, l = t.computedStyleSupportsPseudoElements, s = l === void 0 ? t.getCom
8390
8390
  }).filter(function(je) {
8391
8391
  return je.length > 0;
8392
8392
  }).join(" ");
8393
- if (Rt(m) && m.type === "image") {
8393
+ if (qt(m) && m.type === "image") {
8394
8394
  var M = b(m, "alt");
8395
8395
  if (M !== null)
8396
8396
  return M;
@@ -8408,7 +8408,7 @@ ame" : a, l = t.computedStyleSupportsPseudoElements, s = l === void 0 ? t.getCom
8408
8408
  return null;
8409
8409
  }
8410
8410
  o(C, "computeElementTextAlternative");
8411
- function q(m, w) {
8411
+ function R(m, w) {
8412
8412
  if (r.has(m))
8413
8413
  return "";
8414
8414
  if (!p && gv(m, c) && !w.isReferenced)
@@ -8416,7 +8416,7 @@ ame" : a, l = t.computedStyleSupportsPseudoElements, s = l === void 0 ? t.getCom
8416
8416
  var P = N(m) ? m.getAttributeNode("aria-labelledby") : null, v = P !== null && !r.has(P) ? nt(m, "aria-labelledby") : [];
8417
8417
  if (i === "name" && !w.isReferenced && v.length > 0)
8418
8418
  return r.add(P), v.map(function(V) {
8419
- return q(V, {
8419
+ return R(V, {
8420
8420
  isEmbeddedInLabel: w.isEmbeddedInLabel,
8421
8421
  isReferenced: !0,
8422
8422
  // this isn't recursion as specified, otherwise we would skip
@@ -8427,9 +8427,9 @@ ame" : a, l = t.computedStyleSupportsPseudoElements, s = l === void 0 ? t.getCom
8427
8427
  }).join(" ");
8428
8428
  var g = w.recursion && Ev(m) && i === "name";
8429
8429
  if (!g) {
8430
- var R = (N(m) && m.getAttribute("aria-label") || "").trim();
8431
- if (R !== "" && i === "name")
8432
- return r.add(m), R;
8430
+ var q = (N(m) && m.getAttribute("aria-label") || "").trim();
8431
+ if (q !== "" && i === "name")
8432
+ return r.add(m), q;
8433
8433
  if (!_v(m)) {
8434
8434
  var y = C(m);
8435
8435
  if (y !== null)
@@ -8442,8 +8442,8 @@ ame" : a, l = t.computedStyleSupportsPseudoElements, s = l === void 0 ? t.getCom
8442
8442
  if (le(m, ["combobox", "listbox"])) {
8443
8443
  r.add(m);
8444
8444
  var F = Cv(m);
8445
- return F.length === 0 ? Rt(m) ? m.value : "" : ee(F).map(function(V) {
8446
- return q(V, {
8445
+ return F.length === 0 ? qt(m) ? m.value : "" : ee(F).map(function(V) {
8446
+ return R(V, {
8447
8447
  isEmbeddedInLabel: w.isEmbeddedInLabel,
8448
8448
  isReferenced: !1,
8449
8449
  recursion: !0
@@ -8454,9 +8454,9 @@ ame" : a, l = t.computedStyleSupportsPseudoElements, s = l === void 0 ? t.getCom
8454
8454
  return r.add(m), m.hasAttribute("aria-valuetext") ? m.getAttribute("aria-valuetext") : m.hasAttribute("aria-valuenow") ? m.getAttribute(
8455
8455
  "aria-valuenow") : m.getAttribute("value") || "";
8456
8456
  if (le(m, ["textbox"]))
8457
- return r.add(m), qv(m);
8457
+ return r.add(m), Rv(m);
8458
8458
  }
8459
- if (Pv(m) || N(m) && w.isReferenced || wv(m) || Rv(m)) {
8459
+ if (Pv(m) || N(m) && w.isReferenced || wv(m) || qv(m)) {
8460
8460
  var L = h(m, {
8461
8461
  isEmbeddedInLabel: w.isEmbeddedInLabel,
8462
8462
  isReferenced: !1
@@ -8474,7 +8474,7 @@ ame" : a, l = t.computedStyleSupportsPseudoElements, s = l === void 0 ? t.getCom
8474
8474
  var X = _(m);
8475
8475
  return X !== null ? (r.add(m), X) : (r.add(m), "");
8476
8476
  }
8477
- return o(q, "computeTextAlternative"), yv(q(e, {
8477
+ return o(R, "computeTextAlternative"), yv(R(e, {
8478
8478
  isEmbeddedInLabel: !1,
8479
8479
  // by spec computeAccessibleDescription starts with the referenced elements as roots
8480
8480
  isReferenced: i === "description",
@@ -8484,15 +8484,15 @@ ame" : a, l = t.computedStyleSupportsPseudoElements, s = l === void 0 ? t.getCom
8484
8484
  o(nr, "computeTextAlternative");
8485
8485
 
8486
8486
  // ../node_modules/dom-accessibility-api/dist/accessible-description.mjs
8487
- function qt(e) {
8487
+ function Rt(e) {
8488
8488
  "@babel/helpers - typeof";
8489
- return qt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
8489
+ return Rt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
8490
8490
  return typeof t;
8491
8491
  } : function(t) {
8492
8492
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
8493
- }, qt(e);
8493
+ }, Rt(e);
8494
8494
  }
8495
- o(qt, "_typeof");
8495
+ o(Rt, "_typeof");
8496
8496
  function Bs(e, t) {
8497
8497
  var r = Object.keys(e);
8498
8498
  if (Object.getOwnPropertySymbols) {
@@ -8522,15 +8522,15 @@ function Sv(e, t, r) {
8522
8522
  o(Sv, "_defineProperty");
8523
8523
  function Av(e) {
8524
8524
  var t = Mv(e, "string");
8525
- return qt(t) === "symbol" ? t : String(t);
8525
+ return Rt(t) === "symbol" ? t : String(t);
8526
8526
  }
8527
8527
  o(Av, "_toPropertyKey");
8528
8528
  function Mv(e, t) {
8529
- if (qt(e) !== "object" || e === null) return e;
8529
+ if (Rt(e) !== "object" || e === null) return e;
8530
8530
  var r = e[Symbol.toPrimitive];
8531
8531
  if (r !== void 0) {
8532
8532
  var n = r.call(e, t || "default");
8533
- if (qt(n) !== "object") return n;
8533
+ if (Rt(n) !== "object") return n;
8534
8534
  throw new TypeError("@@toPrimitive must return a primitive value.");
8535
8535
  }
8536
8536
  return (t === "string" ? String : Number)(e);
@@ -8556,11 +8556,11 @@ function Iv(e) {
8556
8556
  rscript"]);
8557
8557
  }
8558
8558
  o(Iv, "prohibitsNaming");
8559
- function Tt(e) {
8559
+ function xt(e) {
8560
8560
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8561
8561
  return Iv(e) ? "" : nr(e, t);
8562
8562
  }
8563
- o(Tt, "computeAccessibleName");
8563
+ o(xt, "computeAccessibleName");
8564
8564
 
8565
8565
  // ../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js
8566
8566
  var G = Da(Vd()), Qd = Da($d());
@@ -8568,7 +8568,7 @@ function Jd(e) {
8568
8568
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;");
8569
8569
  }
8570
8570
  o(Jd, "escapeHTML");
8571
- var yR = /* @__PURE__ */ o((e, t, r, n, a, i, l) => {
8571
+ var yq = /* @__PURE__ */ o((e, t, r, n, a, i, l) => {
8572
8572
  let s = n + r.indent, u = r.colors;
8573
8573
  return e.map((c) => {
8574
8574
  let d = t[c], p = l(d, r, s, a, i);
@@ -8576,75 +8576,75 @@ var yR = /* @__PURE__ */ o((e, t, r, n, a, i, l) => {
8576
8576
  `) !== -1 && (p = r.spacingOuter + s + p + r.spacingOuter + n), p = "{" + p + "}"), r.spacingInner + n + u.prop.open + c + u.prop.close + "=" +
8577
8577
  u.value.open + p + u.value.close;
8578
8578
  }).join("");
8579
- }, "printProps"), gR = 3, ER = /* @__PURE__ */ o((e, t, r, n, a, i) => e.map((l) => {
8579
+ }, "printProps"), gq = 3, Eq = /* @__PURE__ */ o((e, t, r, n, a, i) => e.map((l) => {
8580
8580
  let s = typeof l == "string" ? Zd(l, t) : i(l, t, r, n, a);
8581
- return s === "" && typeof l == "object" && l !== null && l.nodeType !== gR ? "" : t.spacingOuter + r + s;
8581
+ return s === "" && typeof l == "object" && l !== null && l.nodeType !== gq ? "" : t.spacingOuter + r + s;
8582
8582
  }).join(""), "printChildren"), Zd = /* @__PURE__ */ o((e, t) => {
8583
8583
  let r = t.colors.content;
8584
8584
  return r.open + Jd(e) + r.close;
8585
- }, "printText"), CR = /* @__PURE__ */ o((e, t) => {
8585
+ }, "printText"), Cq = /* @__PURE__ */ o((e, t) => {
8586
8586
  let r = t.colors.comment;
8587
8587
  return r.open + "<!--" + Jd(e) + "-->" + r.close;
8588
- }, "printComment"), _R = /* @__PURE__ */ o((e, t, r, n, a) => {
8588
+ }, "printComment"), _q = /* @__PURE__ */ o((e, t, r, n, a) => {
8589
8589
  let i = n.colors.tag;
8590
8590
  return i.open + "<" + e + (t && i.close + t + n.spacingOuter + a + i.open) + (r ? ">" + i.close + r + n.spacingOuter + a + i.open + "</" +
8591
8591
  e : (t && !n.min ? "" : " ") + "/") + ">" + i.close;
8592
- }, "printElement"), wR = /* @__PURE__ */ o((e, t) => {
8592
+ }, "printElement"), wq = /* @__PURE__ */ o((e, t) => {
8593
8593
  let r = t.colors.tag;
8594
8594
  return r.open + "<" + e + r.close + " \u2026" + r.open + " />" + r.close;
8595
- }, "printElementAsLeaf"), PR = 1, ef = 3, tf = 8, rf = 11, RR = /^((HTML|SVG)\w*)?Element$/, nf = /* @__PURE__ */ o((e) => {
8595
+ }, "printElementAsLeaf"), Pq = 1, ef = 3, tf = 8, rf = 11, qq = /^((HTML|SVG)\w*)?Element$/, nf = /* @__PURE__ */ o((e) => {
8596
8596
  let {
8597
8597
  tagName: t
8598
8598
  } = e;
8599
8599
  return !!(typeof t == "string" && t.includes("-") || typeof e.hasAttribute == "function" && e.hasAttribute("is"));
8600
- }, "isCustomElement"), qR = /* @__PURE__ */ o((e) => {
8600
+ }, "isCustomElement"), Rq = /* @__PURE__ */ o((e) => {
8601
8601
  let t = e.constructor.name, {
8602
8602
  nodeType: r
8603
8603
  } = e;
8604
- return r === PR && (RR.test(t) || nf(e)) || r === ef && t === "Text" || r === tf && t === "Comment" || r === rf && t === "DocumentFragment";
8604
+ return r === Pq && (qq.test(t) || nf(e)) || r === ef && t === "Text" || r === tf && t === "Comment" || r === rf && t === "DocumentFragment";
8605
8605
  }, "testNode");
8606
- function TR(e) {
8606
+ function xq(e) {
8607
8607
  return e.nodeType === ef;
8608
8608
  }
8609
- o(TR, "nodeIsText");
8610
- function xR(e) {
8609
+ o(xq, "nodeIsText");
8610
+ function Tq(e) {
8611
8611
  return e.nodeType === tf;
8612
8612
  }
8613
- o(xR, "nodeIsComment");
8613
+ o(Tq, "nodeIsComment");
8614
8614
  function bi(e) {
8615
8615
  return e.nodeType === rf;
8616
8616
  }
8617
8617
  o(bi, "nodeIsFragment");
8618
- function OR(e) {
8618
+ function Oq(e) {
8619
8619
  return {
8620
8620
  test: /* @__PURE__ */ o((t) => {
8621
8621
  var r;
8622
- return ((t == null || (r = t.constructor) == null ? void 0 : r.name) || nf(t)) && qR(t);
8622
+ return ((t == null || (r = t.constructor) == null ? void 0 : r.name) || nf(t)) && Rq(t);
8623
8623
  }, "test"),
8624
8624
  serialize: /* @__PURE__ */ o((t, r, n, a, i, l) => {
8625
- if (TR(t))
8625
+ if (xq(t))
8626
8626
  return Zd(t.data, r);
8627
- if (xR(t))
8628
- return CR(t.data, r);
8627
+ if (Tq(t))
8628
+ return Cq(t.data, r);
8629
8629
  let s = bi(t) ? "DocumentFragment" : t.tagName.toLowerCase();
8630
- return ++a > r.maxDepth ? wR(s, r) : _R(s, yR(bi(t) ? [] : Array.from(t.attributes).map((u) => u.name).sort(), bi(t) ? {} : Array.from(
8631
- t.attributes).reduce((u, c) => (u[c.name] = c.value, u), {}), r, n + r.indent, a, i, l), ER(Array.prototype.slice.call(t.childNodes ||
8630
+ return ++a > r.maxDepth ? wq(s, r) : _q(s, yq(bi(t) ? [] : Array.from(t.attributes).map((u) => u.name).sort(), bi(t) ? {} : Array.from(
8631
+ t.attributes).reduce((u, c) => (u[c.name] = c.value, u), {}), r, n + r.indent, a, i, l), Eq(Array.prototype.slice.call(t.childNodes ||
8632
8632
  t.children).filter(e), r, n + r.indent, a, i, l), r, n);
8633
8633
  }, "serialize")
8634
8634
  };
8635
8635
  }
8636
- o(OR, "createDOMElementFilter");
8637
- var of = null, xi = null, Oi = null;
8636
+ o(Oq, "createDOMElementFilter");
8637
+ var of = null, Ti = null, Oi = null;
8638
8638
  try {
8639
8639
  let e = module && module.require;
8640
- xi = e.call(module, "fs").readFileSync, Oi = e.call(module, "@babel/code-frame").codeFrameColumns, of = e.call(module, "chalk");
8640
+ Ti = e.call(module, "fs").readFileSync, Oi = e.call(module, "@babel/code-frame").codeFrameColumns, of = e.call(module, "chalk");
8641
8641
  } catch {
8642
8642
  }
8643
- function SR(e) {
8643
+ function Sq(e) {
8644
8644
  let t = e.indexOf("(") + 1, r = e.indexOf(")"), n = e.slice(t, r), a = n.split(":"), [i, l, s] = [a[0], parseInt(a[1], 10), parseInt(a[2],
8645
8645
  10)], u = "";
8646
8646
  try {
8647
- u = xi(i, "utf-8");
8647
+ u = Ti(i, "utf-8");
8648
8648
  } catch {
8649
8649
  return "";
8650
8650
  }
@@ -8661,15 +8661,15 @@ function SR(e) {
8661
8661
  ` + c + `
8662
8662
  `;
8663
8663
  }
8664
- o(SR, "getCodeFrame");
8665
- function AR() {
8666
- if (!xi || !Oi)
8664
+ o(Sq, "getCodeFrame");
8665
+ function Aq() {
8666
+ if (!Ti || !Oi)
8667
8667
  return "";
8668
8668
  let t = new Error().stack.split(`
8669
8669
  `).slice(1).find((r) => !r.includes("node_modules/"));
8670
- return SR(t);
8670
+ return Sq(t);
8671
8671
  }
8672
- o(AR, "getUserCodeFrame");
8672
+ o(Aq, "getUserCodeFrame");
8673
8673
  var af = 3;
8674
8674
  function vi() {
8675
8675
  return typeof jest < "u" && jest !== null ? (
@@ -8712,7 +8712,7 @@ function he(e) {
8712
8712
  o(t, "getTypeName");
8713
8713
  }
8714
8714
  o(he, "checkContainerType");
8715
- var MR = /* @__PURE__ */ o(() => {
8715
+ var Mq = /* @__PURE__ */ o(() => {
8716
8716
  if (typeof process > "u")
8717
8717
  return !1;
8718
8718
  let e;
@@ -8724,12 +8724,12 @@ var MR = /* @__PURE__ */ o(() => {
8724
8724
  }
8725
8725
  return typeof e == "boolean" ? e : process.versions !== void 0 && process.versions.node !== void 0;
8726
8726
  }, "shouldHighlight"), {
8727
- DOMCollection: IR
8728
- } = sa.plugins, kR = 1, NR = 8;
8729
- function LR(e) {
8730
- return e.nodeType !== NR && (e.nodeType !== kR || !e.matches(A().defaultIgnore));
8727
+ DOMCollection: Iq
8728
+ } = sa.plugins, kq = 1, Nq = 8;
8729
+ function Lq(e) {
8730
+ return e.nodeType !== Nq && (e.nodeType !== kq || !e.matches(A().defaultIgnore));
8731
8731
  }
8732
- o(LR, "filterCommentsAndDefaultIgnoreTagsTags");
8732
+ o(Lq, "filterCommentsAndDefaultIgnoreTagsTags");
8733
8733
  function na(e, t, r) {
8734
8734
  if (r === void 0 && (r = {}), e || (e = Si().body), typeof t != "number" && (t = typeof process < "u" && typeof process.env < "u" && process.
8735
8735
  env.DEBUG_PRINT_LIMIT || 7e3), t === 0)
@@ -8739,19 +8739,19 @@ function na(e, t, r) {
8739
8739
  if (n === "object" ? n = e.constructor.name : e = {}, !("outerHTML" in e))
8740
8740
  throw new TypeError("Expected an element or document but got " + n);
8741
8741
  let {
8742
- filterNode: a = LR,
8742
+ filterNode: a = Lq,
8743
8743
  ...i
8744
8744
  } = r, l = sa.format(e, {
8745
- plugins: [OR(a), IR],
8745
+ plugins: [Oq(a), Iq],
8746
8746
  printFunctionName: !1,
8747
- highlight: MR(),
8747
+ highlight: Mq(),
8748
8748
  ...i
8749
8749
  });
8750
8750
  return t !== void 0 && e.outerHTML.length > t ? l.slice(0, t) + "..." : l;
8751
8751
  }
8752
8752
  o(na, "prettyDOM");
8753
8753
  var zd = /* @__PURE__ */ o(function() {
8754
- let e = AR();
8754
+ let e = Aq();
8755
8755
  console.log(e ? na(...arguments) + `
8756
8756
 
8757
8757
  ` + e : na(...arguments));
@@ -8787,21 +8787,21 @@ var zd = /* @__PURE__ */ o(function() {
8787
8787
  _disableExpensiveErrorDiagnostics: !1,
8788
8788
  computedStyleSupportsPseudoElements: !1
8789
8789
  };
8790
- function BR(e) {
8790
+ function Bq(e) {
8791
8791
  try {
8792
8792
  return oa._disableExpensiveErrorDiagnostics = !0, e();
8793
8793
  } finally {
8794
8794
  oa._disableExpensiveErrorDiagnostics = !1;
8795
8795
  }
8796
8796
  }
8797
- o(BR, "runWithExpensiveErrorDiagnosticsDisabled");
8797
+ o(Bq, "runWithExpensiveErrorDiagnosticsDisabled");
8798
8798
  function A() {
8799
8799
  return oa;
8800
8800
  }
8801
8801
  o(A, "getConfig");
8802
- var DR = ["button", "meter", "output", "progress", "select", "textarea", "input"];
8802
+ var Dq = ["button", "meter", "output", "progress", "select", "textarea", "input"];
8803
8803
  function sf(e) {
8804
- return DR.includes(e.nodeName.toLowerCase()) ? "" : e.nodeType === af ? e.textContent : Array.from(e.childNodes).map((t) => sf(t)).join("");
8804
+ return Dq.includes(e.nodeName.toLowerCase()) ? "" : e.nodeType === af ? e.textContent : Array.from(e.childNodes).map((t) => sf(t)).join("");
8805
8805
  }
8806
8806
  o(sf, "getTextContent");
8807
8807
  function yi(e) {
@@ -8814,15 +8814,15 @@ function uf(e) {
8814
8814
  var t;
8815
8815
  return (t = e.labels) != null ? t : [];
8816
8816
  }
8817
- if (!FR(e)) return [];
8817
+ if (!Fq(e)) return [];
8818
8818
  let r = e.ownerDocument.querySelectorAll("label");
8819
8819
  return Array.from(r).filter((n) => n.control === e);
8820
8820
  }
8821
8821
  o(uf, "getRealLabels");
8822
- function FR(e) {
8822
+ function Fq(e) {
8823
8823
  return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName) || e.tagName === "INPUT" && e.getAttribute("type") !== "hidden";
8824
8824
  }
8825
- o(FR, "isLabelable");
8825
+ o(Fq, "isLabelable");
8826
8826
  function cf(e, t, r) {
8827
8827
  let {
8828
8828
  selector: n = "*"
@@ -8909,7 +8909,7 @@ function ua(e) {
8909
8909
  af && !!t.textContent).map((t) => t.textContent).join("");
8910
8910
  }
8911
8911
  o(ua, "getNodeText");
8912
- var jR = UR(G.elementRoles);
8912
+ var jq = Uq(G.elementRoles);
8913
8913
  function mf(e) {
8914
8914
  return e.hidden === !0 || e.getAttribute("aria-hidden") === "true" || e.ownerDocument.defaultView.getComputedStyle(e).display === "none";
8915
8915
  }
@@ -8934,13 +8934,13 @@ function Mi(e) {
8934
8934
  for (let {
8935
8935
  match: t,
8936
8936
  roles: r
8937
- } of jR)
8937
+ } of jq)
8938
8938
  if (t(e))
8939
8939
  return [...r];
8940
8940
  return [];
8941
8941
  }
8942
8942
  o(Mi, "getImplicitAriaRoles");
8943
- function UR(e) {
8943
+ function Uq(e) {
8944
8944
  function t(l) {
8945
8945
  let {
8946
8946
  name: s,
@@ -8993,8 +8993,8 @@ function UR(e) {
8993
8993
  }];
8994
8994
  return i.sort(n);
8995
8995
  }
8996
- o(UR, "buildElementRoleList");
8997
- function HR(e, t) {
8996
+ o(Uq, "buildElementRoleList");
8997
+ function Hq(e, t) {
8998
8998
  let {
8999
8999
  hidden: r = !1
9000
9000
  } = t === void 0 ? {} : t;
@@ -9012,12 +9012,12 @@ function HR(e, t) {
9012
9012
  }, a);
9013
9013
  }, {});
9014
9014
  }
9015
- o(HR, "getRoles");
9016
- function VR(e, t) {
9015
+ o(Hq, "getRoles");
9016
+ function Vq(e, t) {
9017
9017
  let {
9018
9018
  hidden: r,
9019
9019
  includeDescription: n
9020
- } = t, a = HR(e, {
9020
+ } = t, a = Hq(e, {
9021
9021
  hidden: r
9022
9022
  });
9023
9023
  return Object.entries(a).filter((i) => {
@@ -9025,7 +9025,7 @@ function VR(e, t) {
9025
9025
  return l !== "generic";
9026
9026
  }).map((i) => {
9027
9027
  let [l, s] = i, u = "-".repeat(50), c = s.map((d) => {
9028
- let p = 'Name "' + Tt(d, {
9028
+ let p = 'Name "' + xt(d, {
9029
9029
  computedStyleSupportsPseudoElements: A().computedStyleSupportsPseudoElements
9030
9030
  }) + `":
9031
9031
  `, h = na(d.cloneNode(!1));
@@ -9048,33 +9048,33 @@ function VR(e, t) {
9048
9048
  }).join(`
9049
9049
  `);
9050
9050
  }
9051
- o(VR, "prettyRoles");
9052
- function $R(e) {
9051
+ o(Vq, "prettyRoles");
9052
+ function $q(e) {
9053
9053
  return e.tagName === "OPTION" ? e.selected : Mt(e, "aria-selected");
9054
9054
  }
9055
- o($R, "computeAriaSelected");
9056
- function zR(e) {
9055
+ o($q, "computeAriaSelected");
9056
+ function zq(e) {
9057
9057
  return e.getAttribute("aria-busy") === "true";
9058
9058
  }
9059
- o(zR, "computeAriaBusy");
9060
- function WR(e) {
9059
+ o(zq, "computeAriaBusy");
9060
+ function Wq(e) {
9061
9061
  if (!("indeterminate" in e && e.indeterminate))
9062
9062
  return "checked" in e ? e.checked : Mt(e, "aria-checked");
9063
9063
  }
9064
- o(WR, "computeAriaChecked");
9065
- function KR(e) {
9064
+ o(Wq, "computeAriaChecked");
9065
+ function Kq(e) {
9066
9066
  return Mt(e, "aria-pressed");
9067
9067
  }
9068
- o(KR, "computeAriaPressed");
9069
- function GR(e) {
9068
+ o(Kq, "computeAriaPressed");
9069
+ function Gq(e) {
9070
9070
  var t, r;
9071
9071
  return (t = (r = Mt(e, "aria-current")) != null ? r : e.getAttribute("aria-current")) != null ? t : !1;
9072
9072
  }
9073
- o(GR, "computeAriaCurrent");
9074
- function YR(e) {
9073
+ o(Gq, "computeAriaCurrent");
9074
+ function Yq(e) {
9075
9075
  return Mt(e, "aria-expanded");
9076
9076
  }
9077
- o(YR, "computeAriaExpanded");
9077
+ o(Yq, "computeAriaExpanded");
9078
9078
  function Mt(e, t) {
9079
9079
  let r = e.getAttribute(t);
9080
9080
  if (r === "true")
@@ -9083,7 +9083,7 @@ function Mt(e, t) {
9083
9083
  return !1;
9084
9084
  }
9085
9085
  o(Mt, "checkBooleanAttribute");
9086
- function XR(e) {
9086
+ function Xq(e) {
9087
9087
  let t = {
9088
9088
  H1: 1,
9089
9089
  H2: 2,
@@ -9094,34 +9094,34 @@ function XR(e) {
9094
9094
  };
9095
9095
  return e.getAttribute("aria-level") && Number(e.getAttribute("aria-level")) || t[e.tagName];
9096
9096
  }
9097
- o(XR, "computeHeadingLevel");
9098
- function QR(e) {
9097
+ o(Xq, "computeHeadingLevel");
9098
+ function Qq(e) {
9099
9099
  let t = e.getAttribute("aria-valuenow");
9100
9100
  return t === null ? void 0 : +t;
9101
9101
  }
9102
- o(QR, "computeAriaValueNow");
9103
- function JR(e) {
9102
+ o(Qq, "computeAriaValueNow");
9103
+ function Jq(e) {
9104
9104
  let t = e.getAttribute("aria-valuemax");
9105
9105
  return t === null ? void 0 : +t;
9106
9106
  }
9107
- o(JR, "computeAriaValueMax");
9108
- function ZR(e) {
9107
+ o(Jq, "computeAriaValueMax");
9108
+ function Zq(e) {
9109
9109
  let t = e.getAttribute("aria-valuemin");
9110
9110
  return t === null ? void 0 : +t;
9111
9111
  }
9112
- o(ZR, "computeAriaValueMin");
9113
- function eq(e) {
9112
+ o(Zq, "computeAriaValueMin");
9113
+ function eR(e) {
9114
9114
  let t = e.getAttribute("aria-valuetext");
9115
9115
  return t === null ? void 0 : t;
9116
9116
  }
9117
- o(eq, "computeAriaValueText");
9117
+ o(eR, "computeAriaValueText");
9118
9118
  var Wd = ff();
9119
- function tq(e) {
9119
+ function tR(e) {
9120
9120
  return e.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&");
9121
9121
  }
9122
- o(tq, "escapeRegExp");
9122
+ o(tR, "escapeRegExp");
9123
9123
  function Kd(e) {
9124
- return new RegExp(tq(e.toLowerCase()), "i");
9124
+ return new RegExp(tR(e.toLowerCase()), "i");
9125
9125
  }
9126
9126
  o(Kd, "getRegExpMatcher");
9127
9127
  function Ie(e, t, r, n) {
@@ -9163,7 +9163,7 @@ function gi(e, t, r) {
9163
9163
  if (i !== "generic" && ke("Role", r, i))
9164
9164
  return Ie("Role", e, i, {
9165
9165
  variant: t,
9166
- name: Tt(e, {
9166
+ name: xt(e, {
9167
9167
  computedStyleSupportsPseudoElements: A().computedStyleSupportsPseudoElements
9168
9168
  })
9169
9169
  });
@@ -9207,7 +9207,7 @@ function ra(e, t) {
9207
9207
  e.stack = t.stack.replace(t.message, e.message);
9208
9208
  }
9209
9209
  o(ra, "copyStackTrace");
9210
- function rq(e, t) {
9210
+ function rR(e, t) {
9211
9211
  let {
9212
9212
  container: r = Si(),
9213
9213
  timeout: n = A().asyncUtilTimeout,
@@ -9227,10 +9227,10 @@ function rq(e, t) {
9227
9227
  if (typeof e != "function")
9228
9228
  throw new TypeError("Received `callback` arg must be a function");
9229
9229
  return new Promise(async (c, d) => {
9230
- let p, h, b, _ = !1, C = "idle", q = setTimeout(g, n), m = vi();
9230
+ let p, h, b, _ = !1, C = "idle", R = setTimeout(g, n), m = vi();
9231
9231
  if (m) {
9232
9232
  let {
9233
- unstable_advanceTimersWrapper: R
9233
+ unstable_advanceTimersWrapper: q
9234
9234
  } = A();
9235
9235
  for (v(); !_; ) {
9236
9236
  if (!vi()) {
@@ -9240,7 +9240,7 @@ strange behavior. Please ensure you're awaiting all async things your test is do
9240
9240
  a || ra(y, i), d(y);
9241
9241
  return;
9242
9242
  }
9243
- if (await R(async () => {
9243
+ if (await q(async () => {
9244
9244
  jest.advanceTimersByTime(l);
9245
9245
  }), _)
9246
9246
  break;
@@ -9255,20 +9255,20 @@ strange behavior. Please ensure you're awaiting all async things your test is do
9255
9255
  }
9256
9256
  h = setInterval(P, l);
9257
9257
  let {
9258
- MutationObserver: R
9258
+ MutationObserver: q
9259
9259
  } = lf(r);
9260
- b = new R(P), b.observe(r, u), v();
9260
+ b = new q(P), b.observe(r, u), v();
9261
9261
  }
9262
- function w(R, y) {
9263
- _ = !0, clearTimeout(q), m || (clearInterval(h), b.disconnect()), R ? d(R) : c(y);
9262
+ function w(q, y) {
9263
+ _ = !0, clearTimeout(R), m || (clearInterval(h), b.disconnect()), q ? d(q) : c(y);
9264
9264
  }
9265
9265
  o(w, "onDone");
9266
9266
  function P() {
9267
9267
  if (vi()) {
9268
- let R = new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very st\
9268
+ let q = new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very st\
9269
9269
  range behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go t\
9270
9270
  o https://github.com/testing-library/dom-testing-library/issues/830");
9271
- return a || ra(R, i), d(R);
9271
+ return a || ra(q, i), d(q);
9272
9272
  } else
9273
9273
  return v();
9274
9274
  }
@@ -9276,43 +9276,43 @@ o https://github.com/testing-library/dom-testing-library/issues/830");
9276
9276
  function v() {
9277
9277
  if (C !== "pending")
9278
9278
  try {
9279
- let R = BR(e);
9280
- typeof R?.then == "function" ? (C = "pending", R.then((y) => {
9279
+ let q = Bq(e);
9280
+ typeof q?.then == "function" ? (C = "pending", q.then((y) => {
9281
9281
  C = "resolved", w(null, y);
9282
9282
  }, (y) => {
9283
9283
  C = "rejected", p = y;
9284
- })) : w(null, R);
9285
- } catch (R) {
9286
- p = R;
9284
+ })) : w(null, q);
9285
+ } catch (q) {
9286
+ p = q;
9287
9287
  }
9288
9288
  }
9289
9289
  o(v, "checkCallback");
9290
9290
  function g() {
9291
- let R;
9292
- p ? (R = p, !a && R.name === "TestingLibraryElementError" && ra(R, i)) : (R = new Error("Timed out in waitFor."), a || ra(R, i)), w(s(
9293
- R), null);
9291
+ let q;
9292
+ p ? (q = p, !a && q.name === "TestingLibraryElementError" && ra(q, i)) : (q = new Error("Timed out in waitFor."), a || ra(q, i)), w(s(
9293
+ q), null);
9294
9294
  }
9295
9295
  o(g, "handleTimeout");
9296
9296
  });
9297
9297
  }
9298
- o(rq, "waitFor");
9299
- function nq(e, t) {
9298
+ o(rR, "waitFor");
9299
+ function nR(e, t) {
9300
9300
  let r = new Error("STACK_TRACE_MESSAGE");
9301
- return A().asyncWrapper(() => rq(e, {
9301
+ return A().asyncWrapper(() => rR(e, {
9302
9302
  stackTraceError: r,
9303
9303
  ...t
9304
9304
  }));
9305
9305
  }
9306
- o(nq, "waitForWrapper");
9306
+ o(nR, "waitForWrapper");
9307
9307
  function bf(e, t) {
9308
9308
  return A().getElementError(e, t);
9309
9309
  }
9310
9310
  o(bf, "getElementError");
9311
- function oq(e, t) {
9311
+ function oR(e, t) {
9312
9312
  return bf(e + "\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllB\
9313
9313
  yText`)).", t);
9314
9314
  }
9315
- o(oq, "getMultipleElementsFoundError");
9315
+ o(oR, "getMultipleElementsFoundError");
9316
9316
  function ca(e, t, r, n) {
9317
9317
  let {
9318
9318
  exact: a = !0,
@@ -9336,7 +9336,7 @@ function aa(e, t) {
9336
9336
  let s = l.map((u) => bf(null, u).message).join(`
9337
9337
 
9338
9338
  `);
9339
- throw oq(t(r, ...a) + `
9339
+ throw oR(t(r, ...a) + `
9340
9340
 
9341
9341
  Here are the matching elements:
9342
9342
 
@@ -9352,7 +9352,7 @@ function vf(e, t) {
9352
9352
  `, t);
9353
9353
  }
9354
9354
  o(vf, "getSuggestionError");
9355
- function aq(e, t) {
9355
+ function aR(e, t) {
9356
9356
  return function(r) {
9357
9357
  for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
9358
9358
  a[i - 1] = arguments[i];
@@ -9362,9 +9362,9 @@ function aq(e, t) {
9362
9362
  return l;
9363
9363
  };
9364
9364
  }
9365
- o(aq, "makeGetAllQuery");
9365
+ o(aR, "makeGetAllQuery");
9366
9366
  function ia(e) {
9367
- return (t, r, n, a) => nq(() => e(t, r, n), {
9367
+ return (t, r, n, a) => nR(() => e(t, r, n), {
9368
9368
  container: t,
9369
9369
  ...a
9370
9370
  });
@@ -9405,12 +9405,12 @@ var lt = /* @__PURE__ */ o((e, t, r) => function(n) {
9405
9405
  return s;
9406
9406
  }, "wrapAllByQueryWithSuggestion");
9407
9407
  function ze(e, t, r) {
9408
- let n = lt(aa(e, t), e.name, "query"), a = aq(e, r), i = aa(a, t), l = lt(i, e.name, "get"), s = oe(a, e.name.replace("query", "get"), "ge\
9408
+ let n = lt(aa(e, t), e.name, "query"), a = aR(e, r), i = aa(a, t), l = lt(i, e.name, "get"), s = oe(a, e.name.replace("query", "get"), "ge\
9409
9409
  tAll"), u = ia(oe(a, e.name, "findAll")), c = ia(lt(i, e.name, "find"));
9410
9410
  return [n, s, l, u, c];
9411
9411
  }
9412
9412
  o(ze, "buildQueries");
9413
- function iq(e) {
9413
+ function iR(e) {
9414
9414
  return Array.from(e.querySelectorAll("label,input")).map((t) => ({
9415
9415
  node: t,
9416
9416
  textToMatch: yi(t)
@@ -9421,8 +9421,8 @@ function iq(e) {
9421
9421
  return r !== null;
9422
9422
  });
9423
9423
  }
9424
- o(iq, "queryAllLabels");
9425
- var lq = /* @__PURE__ */ o(function(e, t, r) {
9424
+ o(iR, "queryAllLabels");
9425
+ var lR = /* @__PURE__ */ o(function(e, t, r) {
9426
9426
  let {
9427
9427
  exact: n = !0,
9428
9428
  trim: a,
@@ -9433,7 +9433,7 @@ var lq = /* @__PURE__ */ o(function(e, t, r) {
9433
9433
  trim: a,
9434
9434
  normalizer: l
9435
9435
  });
9436
- return iq(e).filter((d) => {
9436
+ return iR(e).filter((d) => {
9437
9437
  let {
9438
9438
  node: p,
9439
9439
  textToMatch: h
@@ -9466,10 +9466,10 @@ var lq = /* @__PURE__ */ o(function(e, t, r) {
9466
9466
  u(C.content, C.formControl, t, c) && C.formControl && p.push(C.formControl);
9467
9467
  });
9468
9468
  let _ = b.filter((C) => !!C.content).map((C) => C.content);
9469
- return u(_.join(" "), h, t, c) && p.push(h), _.length > 1 && _.forEach((C, q) => {
9469
+ return u(_.join(" "), h, t, c) && p.push(h), _.length > 1 && _.forEach((C, R) => {
9470
9470
  u(C, h, t, c) && p.push(h);
9471
9471
  let m = [..._];
9472
- m.splice(q, 1), m.length > 1 && u(m.join(" "), h, t, c) && p.push(h);
9472
+ m.splice(R, 1), m.length > 1 && u(m.join(" "), h, t, c) && p.push(h);
9473
9473
  }), p;
9474
9474
  }, []).concat(ca("aria-label", e, t, {
9475
9475
  exact: a,
@@ -9481,9 +9481,9 @@ var lq = /* @__PURE__ */ o(function(e, t, r) {
9481
9481
  n[a - 2] = arguments[a];
9482
9482
  let i = At(e, t, ...n);
9483
9483
  if (!i.length) {
9484
- let l = lq(e, t, ...n);
9484
+ let l = lR(e, t, ...n);
9485
9485
  if (l.length) {
9486
- let s = l.map((u) => sq(e, u)).filter((u) => !!u);
9486
+ let s = l.map((u) => sR(e, u)).filter((u) => !!u);
9487
9487
  throw s.length ? A().getElementError(s.map((u) => "Found a label with the text of: " + t + ", however the element associated with this\
9488
9488
  label (<" + u + " />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <" +
9489
9489
  u + " />, you can use aria-label or aria-labelledby instead.").join(`
@@ -9495,23 +9495,23 @@ re you're using the "for" attribute or "aria-labelledby" attribute correctly.`,
9495
9495
  }
9496
9496
  return i;
9497
9497
  }, "getAllByLabelText");
9498
- function sq(e, t) {
9498
+ function sR(e, t) {
9499
9499
  let r = t.getAttribute("for");
9500
9500
  if (!r)
9501
9501
  return null;
9502
9502
  let n = e.querySelector('[id="' + r + '"]');
9503
9503
  return n ? n.tagName.toLowerCase() : null;
9504
9504
  }
9505
- o(sq, "getTagNameOfElementAssociatedWithLabelViaFor");
9506
- var hf = /* @__PURE__ */ o((e, t) => "Found multiple elements with the text of: " + t, "getMultipleError$7"), uq = lt(aa(At, hf), At.name, "\
9507
- query"), yf = aa(Ve, hf), cq = ia(oe(Ve, Ve.name, "findAll")), dq = ia(lt(yf, Ve.name, "find")), fq = oe(Ve, Ve.name, "getAll"), pq = lt(yf,
9508
- Ve.name, "get"), mq = oe(At, At.name, "queryAll"), Ei = /* @__PURE__ */ o(function() {
9505
+ o(sR, "getTagNameOfElementAssociatedWithLabelViaFor");
9506
+ var hf = /* @__PURE__ */ o((e, t) => "Found multiple elements with the text of: " + t, "getMultipleError$7"), uR = lt(aa(At, hf), At.name, "\
9507
+ query"), yf = aa(Ve, hf), cR = ia(oe(Ve, Ve.name, "findAll")), dR = ia(lt(yf, Ve.name, "find")), fR = oe(Ve, Ve.name, "getAll"), pR = lt(yf,
9508
+ Ve.name, "get"), mR = oe(At, At.name, "queryAll"), Ei = /* @__PURE__ */ o(function() {
9509
9509
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
9510
9510
  t[r] = arguments[r];
9511
9511
  return he(t[0]), ca("placeholder", ...t);
9512
- }, "queryAllByPlaceholderText"), bq = /* @__PURE__ */ o((e, t) => "Found multiple elements with the placeholder text of: " + t, "getMultiple\
9513
- Error$6"), vq = /* @__PURE__ */ o((e, t) => "Unable to find an element with the placeholder text of: " + t, "getMissingError$6"), hq = oe(Ei,
9514
- Ei.name, "queryAll"), [yq, gq, Eq, Cq, _q] = ze(Ei, bq, vq), Ci = /* @__PURE__ */ o(function(e, t, r) {
9512
+ }, "queryAllByPlaceholderText"), bR = /* @__PURE__ */ o((e, t) => "Found multiple elements with the placeholder text of: " + t, "getMultiple\
9513
+ Error$6"), vR = /* @__PURE__ */ o((e, t) => "Unable to find an element with the placeholder text of: " + t, "getMissingError$6"), hR = oe(Ei,
9514
+ Ei.name, "queryAll"), [yR, gR, ER, CR, _R] = ze(Ei, bR, vR), Ci = /* @__PURE__ */ o(function(e, t, r) {
9515
9515
  let {
9516
9516
  selector: n = "*",
9517
9517
  exact: a = !0,
@@ -9528,7 +9528,7 @@ Ei.name, "queryAll"), [yq, gq, Eq, Cq, _q] = ze(Ei, bq, vq), Ci = /* @__PURE__ *
9528
9528
  }), p = [];
9529
9529
  return typeof e.matches == "function" && e.matches(n) && (p = [e]), [...p, ...Array.from(e.querySelectorAll(n))].filter((h) => !s || !h.matches(
9530
9530
  s)).filter((h) => c(ua(h), h, t, d));
9531
- }, "queryAllByText"), wq = /* @__PURE__ */ o((e, t) => "Found multiple elements with the text: " + t, "getMultipleError$5"), Pq = /* @__PURE__ */ o(
9531
+ }, "queryAllByText"), wR = /* @__PURE__ */ o((e, t) => "Found multiple elements with the text: " + t, "getMultipleError$5"), PR = /* @__PURE__ */ o(
9532
9532
  function(e, t, r) {
9533
9533
  r === void 0 && (r = {});
9534
9534
  let {
@@ -9544,7 +9544,7 @@ function(e, t, r) {
9544
9544
  return "Unable to find an element with the text: " + (c ? u + " (normalized from '" + t + "')" : t) + (d ? ", which matches selector '" + l +
9545
9545
  "'" : "") + ". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text ma\
9546
9546
  tcher to make your matcher more flexible.";
9547
- }, "getMissingError$5"), Rq = oe(Ci, Ci.name, "queryAll"), [qq, Tq, xq, Oq, Sq] = ze(Ci, wq, Pq), _i = /* @__PURE__ */ o(function(e, t, r) {
9547
+ }, "getMissingError$5"), qR = oe(Ci, Ci.name, "queryAll"), [RR, xR, TR, OR, SR] = ze(Ci, wR, PR), _i = /* @__PURE__ */ o(function(e, t, r) {
9548
9548
  let {
9549
9549
  exact: n = !0,
9550
9550
  collapseWhitespace: a,
@@ -9559,13 +9559,13 @@ tcher to make your matcher more flexible.";
9559
9559
  });
9560
9560
  return Array.from(e.querySelectorAll("input,textarea,select")).filter((c) => c.tagName === "SELECT" ? Array.from(c.options).filter((p) => p.
9561
9561
  selected).some((p) => s(ua(p), p, t, u)) : s(c.value, c, t, u));
9562
- }, "queryAllByDisplayValue"), Aq = /* @__PURE__ */ o((e, t) => "Found multiple elements with the display value: " + t + ".", "getMultipleErr\
9563
- or$4"), Mq = /* @__PURE__ */ o((e, t) => "Unable to find an element with the display value: " + t + ".", "getMissingError$4"), Iq = oe(_i, _i.
9564
- name, "queryAll"), [kq, Nq, Lq, Bq, Dq] = ze(_i, Aq, Mq), Fq = /^(img|input|area|.+-.+)$/i, wi = /* @__PURE__ */ o(function(e, t, r) {
9565
- return r === void 0 && (r = {}), he(e), ca("alt", e, t, r).filter((n) => Fq.test(n.tagName));
9566
- }, "queryAllByAltText"), jq = /* @__PURE__ */ o((e, t) => "Found multiple elements with the alt text: " + t, "getMultipleError$3"), Uq = /* @__PURE__ */ o(
9567
- (e, t) => "Unable to find an element with the alt text: " + t, "getMissingError$3"), Hq = oe(wi, wi.name, "queryAll"), [Vq, $q, zq, Wq, Kq] = ze(
9568
- wi, jq, Uq), Gq = /* @__PURE__ */ o((e) => {
9562
+ }, "queryAllByDisplayValue"), AR = /* @__PURE__ */ o((e, t) => "Found multiple elements with the display value: " + t + ".", "getMultipleErr\
9563
+ or$4"), MR = /* @__PURE__ */ o((e, t) => "Unable to find an element with the display value: " + t + ".", "getMissingError$4"), IR = oe(_i, _i.
9564
+ name, "queryAll"), [kR, NR, LR, BR, DR] = ze(_i, AR, MR), FR = /^(img|input|area|.+-.+)$/i, wi = /* @__PURE__ */ o(function(e, t, r) {
9565
+ return r === void 0 && (r = {}), he(e), ca("alt", e, t, r).filter((n) => FR.test(n.tagName));
9566
+ }, "queryAllByAltText"), jR = /* @__PURE__ */ o((e, t) => "Found multiple elements with the alt text: " + t, "getMultipleError$3"), UR = /* @__PURE__ */ o(
9567
+ (e, t) => "Unable to find an element with the alt text: " + t, "getMissingError$3"), HR = oe(wi, wi.name, "queryAll"), [VR, $R, zR, WR, KR] = ze(
9568
+ wi, jR, UR), GR = /* @__PURE__ */ o((e) => {
9569
9569
  var t;
9570
9570
  return e.tagName.toLowerCase() === "title" && ((t = e.parentElement) == null ? void 0 : t.tagName.toLowerCase()) === "svg";
9571
9571
  }, "isSvgTitle"), Pi = /* @__PURE__ */ o(function(e, t, r) {
@@ -9581,11 +9581,11 @@ wi, jq, Uq), Gq = /* @__PURE__ */ o((e) => {
9581
9581
  trim: i,
9582
9582
  normalizer: l
9583
9583
  });
9584
- return Array.from(e.querySelectorAll("[title], svg > title")).filter((c) => s(c.getAttribute("title"), c, t, u) || Gq(c) && s(ua(c), c, t,
9584
+ return Array.from(e.querySelectorAll("[title], svg > title")).filter((c) => s(c.getAttribute("title"), c, t, u) || GR(c) && s(ua(c), c, t,
9585
9585
  u));
9586
- }, "queryAllByTitle"), Yq = /* @__PURE__ */ o((e, t) => "Found multiple elements with the title: " + t + ".", "getMultipleError$2"), Xq = /* @__PURE__ */ o(
9587
- (e, t) => "Unable to find an element with the title: " + t + ".", "getMissingError$2"), Qq = oe(Pi, Pi.name, "queryAll"), [Jq, Zq, eT, tT, rT] = ze(
9588
- Pi, Yq, Xq), Ri = /* @__PURE__ */ o(function(e, t, r) {
9586
+ }, "queryAllByTitle"), YR = /* @__PURE__ */ o((e, t) => "Found multiple elements with the title: " + t + ".", "getMultipleError$2"), XR = /* @__PURE__ */ o(
9587
+ (e, t) => "Unable to find an element with the title: " + t + ".", "getMissingError$2"), QR = oe(Pi, Pi.name, "queryAll"), [JR, ZR, ex, tx, rx] = ze(
9588
+ Pi, YR, XR), qi = /* @__PURE__ */ o(function(e, t, r) {
9589
9589
  let {
9590
9590
  hidden: n = A().defaultHidden,
9591
9591
  name: a,
@@ -9601,7 +9601,7 @@ Pi, Yq, Xq), Ri = /* @__PURE__ */ o(function(e, t, r) {
9601
9601
  value: {
9602
9602
  now: _,
9603
9603
  min: C,
9604
- max: q,
9604
+ max: R,
9605
9605
  text: m
9606
9606
  } = {}
9607
9607
  } = r === void 0 ? {} : r;
@@ -9626,8 +9626,8 @@ Pi, Yq, Xq), Ri = /* @__PURE__ */ o(function(e, t, r) {
9626
9626
  throw new Error('"aria-pressed" is not supported on role "' + t + '".');
9627
9627
  }
9628
9628
  if (p !== void 0) {
9629
- var R;
9630
- if (((R = G.roles.get(t)) == null ? void 0 : R.props["aria-current"]) === void 0)
9629
+ var q;
9630
+ if (((q = G.roles.get(t)) == null ? void 0 : q.props["aria-current"]) === void 0)
9631
9631
  throw new Error('"aria-current" is not supported on role "' + t + '".');
9632
9632
  }
9633
9633
  if (h !== void 0 && t !== "heading")
@@ -9637,7 +9637,7 @@ Pi, Yq, Xq), Ri = /* @__PURE__ */ o(function(e, t, r) {
9637
9637
  if (((y = G.roles.get(t)) == null ? void 0 : y.props["aria-valuenow"]) === void 0)
9638
9638
  throw new Error('"aria-valuenow" is not supported on role "' + t + '".');
9639
9639
  }
9640
- if (q !== void 0) {
9640
+ if (R !== void 0) {
9641
9641
  var F;
9642
9642
  if (((F = G.roles.get(t)) == null ? void 0 : F.props["aria-valuemax"]) === void 0)
9643
9643
  throw new Error('"aria-valuemax" is not supported on role "' + t + '".');
@@ -9663,7 +9663,7 @@ Pi, Yq, Xq), Ri = /* @__PURE__ */ o(function(e, t, r) {
9663
9663
  }
9664
9664
  return o(pe, "cachedIsSubtreeInaccessible"), Array.from(e.querySelectorAll(
9665
9665
  // Only query elements that can be matched by the following filters
9666
- nT(t)
9666
+ nx(t)
9667
9667
  )).filter((S) => {
9668
9668
  if (S.hasAttribute("role")) {
9669
9669
  let ae = S.getAttribute("role");
@@ -9675,29 +9675,29 @@ Pi, Yq, Xq), Ri = /* @__PURE__ */ o(function(e, t, r) {
9675
9675
  return Mi(S).some((ae) => ae === t);
9676
9676
  }).filter((S) => {
9677
9677
  if (s !== void 0)
9678
- return s === $R(S);
9678
+ return s === $q(S);
9679
9679
  if (u !== void 0)
9680
- return u === zR(S);
9680
+ return u === zq(S);
9681
9681
  if (c !== void 0)
9682
- return c === WR(S);
9682
+ return c === Wq(S);
9683
9683
  if (d !== void 0)
9684
- return d === KR(S);
9684
+ return d === Kq(S);
9685
9685
  if (p !== void 0)
9686
- return p === GR(S);
9686
+ return p === Gq(S);
9687
9687
  if (b !== void 0)
9688
- return b === YR(S);
9688
+ return b === Yq(S);
9689
9689
  if (h !== void 0)
9690
- return h === XR(S);
9691
- if (_ !== void 0 || q !== void 0 || C !== void 0 || m !== void 0) {
9690
+ return h === Xq(S);
9691
+ if (_ !== void 0 || R !== void 0 || C !== void 0 || m !== void 0) {
9692
9692
  let K = !0;
9693
- if (_ !== void 0 && K && (K = _ === QR(S)), q !== void 0 && K && (K = q === JR(S)), C !== void 0 && K && (K = C === ZR(S)), m !== void 0) {
9693
+ if (_ !== void 0 && K && (K = _ === Qq(S)), R !== void 0 && K && (K = R === Jq(S)), C !== void 0 && K && (K = C === Zq(S)), m !== void 0) {
9694
9694
  var M;
9695
- K && (K = ve((M = eq(S)) != null ? M : null, S, m, (ae) => ae));
9695
+ K && (K = ve((M = eR(S)) != null ? M : null, S, m, (ae) => ae));
9696
9696
  }
9697
9697
  return K;
9698
9698
  }
9699
9699
  return !0;
9700
- }).filter((S) => a === void 0 ? !0 : ve(Tt(S, {
9700
+ }).filter((S) => a === void 0 ? !0 : ve(xt(S, {
9701
9701
  computedStyleSupportsPseudoElements: A().computedStyleSupportsPseudoElements
9702
9702
  }), S, a, (M) => M)).filter((S) => i === void 0 ? !0 : ve(or(S, {
9703
9703
  computedStyleSupportsPseudoElements: A().computedStyleSupportsPseudoElements
@@ -9705,7 +9705,7 @@ Pi, Yq, Xq), Ri = /* @__PURE__ */ o(function(e, t, r) {
9705
9705
  isSubtreeInaccessible: pe
9706
9706
  }) === !1 : !0);
9707
9707
  }, "queryAllByRole");
9708
- function nT(e) {
9708
+ function nx(e) {
9709
9709
  var t;
9710
9710
  let r = '*[role~="' + e + '"]', n = (t = G.roleElements.get(e)) != null ? t : /* @__PURE__ */ new Set(), a = new Set(Array.from(n).map((i) => {
9711
9711
  let {
@@ -9715,16 +9715,16 @@ function nT(e) {
9715
9715
  }));
9716
9716
  return [r].concat(Array.from(a)).join(",");
9717
9717
  }
9718
- o(nT, "makeRoleSelector");
9718
+ o(nx, "makeRoleSelector");
9719
9719
  var gf = /* @__PURE__ */ o((e) => {
9720
9720
  let t = "";
9721
9721
  return e === void 0 ? t = "" : typeof e == "string" ? t = ' and name "' + e + '"' : t = " and name `" + e + "`", t;
9722
- }, "getNameHint"), oT = /* @__PURE__ */ o(function(e, t, r) {
9722
+ }, "getNameHint"), ox = /* @__PURE__ */ o(function(e, t, r) {
9723
9723
  let {
9724
9724
  name: n
9725
9725
  } = r === void 0 ? {} : r;
9726
9726
  return 'Found multiple elements with the role "' + t + '"' + gf(n);
9727
- }, "getMultipleError$1"), aT = /* @__PURE__ */ o(function(e, t, r) {
9727
+ }, "getMultipleError$1"), ax = /* @__PURE__ */ o(function(e, t, r) {
9728
9728
  let {
9729
9729
  hidden: n = A().defaultHidden,
9730
9730
  name: a,
@@ -9734,7 +9734,7 @@ var gf = /* @__PURE__ */ o((e) => {
9734
9734
  return 'Unable to find role="' + t + '"' + gf(a);
9735
9735
  let l = "";
9736
9736
  Array.from(e.children).forEach((d) => {
9737
- l += VR(d, {
9737
+ l += Vq(d, {
9738
9738
  hidden: n,
9739
9739
  includeDescription: i !== void 0
9740
9740
  });
@@ -9757,66 +9757,66 @@ Here are the ` + (n === !1 ? "accessible" : "available") + ` roles:
9757
9757
  Unable to find an ` + (n === !1 ? "accessible " : "") + 'element with the role "' + t + '"' + u + c + `
9758
9758
 
9759
9759
  ` + s).trim();
9760
- }, "getMissingError$1"), iT = oe(Ri, Ri.name, "queryAll"), [lT, sT, uT, cT, dT] = ze(Ri, oT, aT), Ii = /* @__PURE__ */ o(() => A().testIdAttribute,
9761
- "getTestIdAttribute"), qi = /* @__PURE__ */ o(function() {
9760
+ }, "getMissingError$1"), ix = oe(qi, qi.name, "queryAll"), [lx, sx, ux, cx, dx] = ze(qi, ox, ax), Ii = /* @__PURE__ */ o(() => A().testIdAttribute,
9761
+ "getTestIdAttribute"), Ri = /* @__PURE__ */ o(function() {
9762
9762
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
9763
9763
  t[r] = arguments[r];
9764
9764
  return he(t[0]), ca(Ii(), ...t);
9765
- }, "queryAllByTestId"), fT = /* @__PURE__ */ o((e, t) => "Found multiple elements by: [" + Ii() + '="' + t + '"]', "getMultipleError"), pT = /* @__PURE__ */ o(
9766
- (e, t) => "Unable to find an element by: [" + Ii() + '="' + t + '"]', "getMissingError"), mT = oe(qi, qi.name, "queryAll"), [bT, vT, hT, yT,
9767
- gT] = ze(qi, fT, pT), Ti = /* @__PURE__ */ Object.freeze({
9765
+ }, "queryAllByTestId"), fx = /* @__PURE__ */ o((e, t) => "Found multiple elements by: [" + Ii() + '="' + t + '"]', "getMultipleError"), px = /* @__PURE__ */ o(
9766
+ (e, t) => "Unable to find an element by: [" + Ii() + '="' + t + '"]', "getMissingError"), mx = oe(Ri, Ri.name, "queryAll"), [bx, vx, hx, yx,
9767
+ gx] = ze(Ri, fx, px), xi = /* @__PURE__ */ Object.freeze({
9768
9768
  __proto__: null,
9769
- queryAllByLabelText: mq,
9770
- queryByLabelText: uq,
9771
- getAllByLabelText: fq,
9772
- getByLabelText: pq,
9773
- findAllByLabelText: cq,
9774
- findByLabelText: dq,
9775
- queryByPlaceholderText: yq,
9776
- queryAllByPlaceholderText: hq,
9777
- getByPlaceholderText: Eq,
9778
- getAllByPlaceholderText: gq,
9779
- findAllByPlaceholderText: Cq,
9780
- findByPlaceholderText: _q,
9781
- queryByText: qq,
9782
- queryAllByText: Rq,
9783
- getByText: xq,
9784
- getAllByText: Tq,
9785
- findAllByText: Oq,
9786
- findByText: Sq,
9787
- queryByDisplayValue: kq,
9788
- queryAllByDisplayValue: Iq,
9789
- getByDisplayValue: Lq,
9790
- getAllByDisplayValue: Nq,
9791
- findAllByDisplayValue: Bq,
9792
- findByDisplayValue: Dq,
9793
- queryByAltText: Vq,
9794
- queryAllByAltText: Hq,
9795
- getByAltText: zq,
9796
- getAllByAltText: $q,
9797
- findAllByAltText: Wq,
9798
- findByAltText: Kq,
9799
- queryByTitle: Jq,
9800
- queryAllByTitle: Qq,
9801
- getByTitle: eT,
9802
- getAllByTitle: Zq,
9803
- findAllByTitle: tT,
9804
- findByTitle: rT,
9805
- queryByRole: lT,
9806
- queryAllByRole: iT,
9807
- getAllByRole: sT,
9808
- getByRole: uT,
9809
- findAllByRole: cT,
9810
- findByRole: dT,
9811
- queryByTestId: bT,
9812
- queryAllByTestId: mT,
9813
- getByTestId: hT,
9814
- getAllByTestId: vT,
9815
- findAllByTestId: yT,
9816
- findByTestId: gT
9769
+ queryAllByLabelText: mR,
9770
+ queryByLabelText: uR,
9771
+ getAllByLabelText: fR,
9772
+ getByLabelText: pR,
9773
+ findAllByLabelText: cR,
9774
+ findByLabelText: dR,
9775
+ queryByPlaceholderText: yR,
9776
+ queryAllByPlaceholderText: hR,
9777
+ getByPlaceholderText: ER,
9778
+ getAllByPlaceholderText: gR,
9779
+ findAllByPlaceholderText: CR,
9780
+ findByPlaceholderText: _R,
9781
+ queryByText: RR,
9782
+ queryAllByText: qR,
9783
+ getByText: TR,
9784
+ getAllByText: xR,
9785
+ findAllByText: OR,
9786
+ findByText: SR,
9787
+ queryByDisplayValue: kR,
9788
+ queryAllByDisplayValue: IR,
9789
+ getByDisplayValue: LR,
9790
+ getAllByDisplayValue: NR,
9791
+ findAllByDisplayValue: BR,
9792
+ findByDisplayValue: DR,
9793
+ queryByAltText: VR,
9794
+ queryAllByAltText: HR,
9795
+ getByAltText: zR,
9796
+ getAllByAltText: $R,
9797
+ findAllByAltText: WR,
9798
+ findByAltText: KR,
9799
+ queryByTitle: JR,
9800
+ queryAllByTitle: QR,
9801
+ getByTitle: ex,
9802
+ getAllByTitle: ZR,
9803
+ findAllByTitle: tx,
9804
+ findByTitle: rx,
9805
+ queryByRole: lx,
9806
+ queryAllByRole: ix,
9807
+ getAllByRole: sx,
9808
+ getByRole: ux,
9809
+ findAllByRole: cx,
9810
+ findByRole: dx,
9811
+ queryByTestId: bx,
9812
+ queryAllByTestId: mx,
9813
+ getByTestId: hx,
9814
+ getAllByTestId: vx,
9815
+ findAllByTestId: yx,
9816
+ findByTestId: gx
9817
9817
  });
9818
9818
  function ki(e, t, r) {
9819
- return t === void 0 && (t = Ti), r === void 0 && (r = {}), Object.keys(t).reduce((n, a) => {
9819
+ return t === void 0 && (t = xi), r === void 0 && (r = {}), Object.keys(t).reduce((n, a) => {
9820
9820
  let i = t[a];
9821
9821
  return n[a] = i.bind(null, e), n;
9822
9822
  }, r);
@@ -10553,7 +10553,7 @@ function hi(e, t, r, n) {
10553
10553
  ...c
10554
10554
  } = {}
10555
10555
  } = l;
10556
- s !== void 0 && ET(t, s), u !== void 0 && Object.defineProperty(t, "files", {
10556
+ s !== void 0 && Ex(t, s), u !== void 0 && Object.defineProperty(t, "files", {
10557
10557
  configurable: !0,
10558
10558
  enumerable: !0,
10559
10559
  writable: !0,
@@ -10567,19 +10567,19 @@ function hi(e, t, r, n) {
10567
10567
  let {
10568
10568
  bubbles: _,
10569
10569
  cancelable: C,
10570
- detail: q,
10570
+ detail: R,
10571
10571
  ...m
10572
10572
  } = l;
10573
- h.initEvent(e, _, C, q), Object.keys(m).forEach((w) => {
10573
+ h.initEvent(e, _, C, R), Object.keys(m).forEach((w) => {
10574
10574
  h[w] = m[w];
10575
10575
  });
10576
10576
  }
10577
10577
  return ["dataTransfer", "clipboardData"].forEach((_) => {
10578
10578
  let C = l[_];
10579
10579
  typeof C == "object" && (typeof d.DataTransfer == "function" ? Object.defineProperty(h, _, {
10580
- value: Object.getOwnPropertyNames(C).reduce((q, m) => (Object.defineProperty(q, m, {
10580
+ value: Object.getOwnPropertyNames(C).reduce((R, m) => (Object.defineProperty(R, m, {
10581
10581
  value: C[m]
10582
- }), q), new d.DataTransfer())
10582
+ }), R), new d.DataTransfer())
10583
10583
  }) : Object.defineProperty(h, _, {
10584
10584
  value: C
10585
10585
  }));
@@ -10596,7 +10596,7 @@ Object.keys(Gd).forEach((e) => {
10596
10596
  defaultInit: r
10597
10597
  }), la[e] = (a, i) => la(a, hi[e](a, i));
10598
10598
  });
10599
- function ET(e, t) {
10599
+ function Ex(e, t) {
10600
10600
  let {
10601
10601
  set: r
10602
10602
  } = Object.getOwnPropertyDescriptor(e, "value") || {}, n = Object.getPrototypeOf(e), {
@@ -10609,27 +10609,27 @@ function ET(e, t) {
10609
10609
  else
10610
10610
  throw new Error("The given element does not have a value setter");
10611
10611
  }
10612
- o(ET, "setNativeValue");
10612
+ o(Ex, "setNativeValue");
10613
10613
  Object.keys(Yd).forEach((e) => {
10614
10614
  let t = Yd[e];
10615
10615
  la[e] = function() {
10616
10616
  return la[t](...arguments);
10617
10617
  };
10618
10618
  });
10619
- function CT(e) {
10619
+ function Cx(e) {
10620
10620
  return e.replace(/[ \t]*[\n][ \t]*/g, `
10621
10621
  `);
10622
10622
  }
10623
- o(CT, "unindent");
10624
- function _T(e) {
10625
- return Qd.default.compressToEncodedURIComponent(CT(e));
10623
+ o(Cx, "unindent");
10624
+ function _x(e) {
10625
+ return Qd.default.compressToEncodedURIComponent(Cx(e));
10626
10626
  }
10627
- o(_T, "encode");
10628
- function wT(e) {
10629
- return "https://testing-playground.com/#markup=" + _T(e);
10627
+ o(_x, "encode");
10628
+ function wx(e) {
10629
+ return "https://testing-playground.com/#markup=" + _x(e);
10630
10630
  }
10631
- o(wT, "getPlaygroundUrl");
10632
- var PT = /* @__PURE__ */ o((e, t, r) => Array.isArray(e) ? e.forEach((n) => zd(n, t, r)) : zd(e, t, r), "debug"), RT = /* @__PURE__ */ o(function(e) {
10631
+ o(wx, "getPlaygroundUrl");
10632
+ var Px = /* @__PURE__ */ o((e, t, r) => Array.isArray(e) ? e.forEach((n) => zd(n, t, r)) : zd(e, t, r), "debug"), qx = /* @__PURE__ */ o(function(e) {
10633
10633
  if (e === void 0 && (e = Si().body), !e || !("innerHTML" in e)) {
10634
10634
  console.log("The element you're providing isn't a valid DOM element.");
10635
10635
  return;
@@ -10638,44 +10638,44 @@ var PT = /* @__PURE__ */ o((e, t, r) => Array.isArray(e) ? e.forEach((n) => zd(n
10638
10638
  console.log("The provided element doesn't have any children.");
10639
10639
  return;
10640
10640
  }
10641
- let t = wT(e.innerHTML);
10641
+ let t = wx(e.innerHTML);
10642
10642
  return console.log(`Open this URL in your browser
10643
10643
 
10644
10644
  ` + t), t;
10645
10645
  }, "logTestingPlaygroundURL"), Xd = {
10646
- debug: PT,
10647
- logTestingPlaygroundURL: RT
10648
- }, o0 = typeof document < "u" && document.body ? ki(document.body, Ti, Xd) : Object.keys(Ti).reduce((e, t) => (e[t] = () => {
10646
+ debug: Px,
10647
+ logTestingPlaygroundURL: qx
10648
+ }, o0 = typeof document < "u" && document.body ? ki(document.body, xi, Xd) : Object.keys(xi).reduce((e, t) => (e[t] = () => {
10649
10649
  throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s\
10650
10650
  /screen-global-error");
10651
10651
  }, e), Xd);
10652
10652
 
10653
10653
  // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/isElementType.js
10654
- function T(e, t, r) {
10654
+ function x(e, t, r) {
10655
10655
  return e.namespaceURI && e.namespaceURI !== "http://www.w3.org/1999/xhtml" || (t = Array.isArray(t) ? t : [
10656
10656
  t
10657
10657
  ], !t.includes(e.tagName.toLowerCase())) ? !1 : r ? Object.entries(r).every(([n, a]) => e[n] === a) : !0;
10658
10658
  }
10659
- o(T, "isElementType");
10659
+ o(x, "isElementType");
10660
10660
 
10661
10661
  // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/getWindow.js
10662
10662
  function B(e) {
10663
10663
  var t;
10664
- if (qT(e) && e.defaultView)
10664
+ if (Rx(e) && e.defaultView)
10665
10665
  return e.defaultView;
10666
10666
  if (!((t = e.ownerDocument) === null || t === void 0) && t.defaultView)
10667
10667
  return e.ownerDocument.defaultView;
10668
- throw new Error(`Could not determine window of node. Node was ${TT(e)}`);
10668
+ throw new Error(`Could not determine window of node. Node was ${xx(e)}`);
10669
10669
  }
10670
10670
  o(B, "getWindow");
10671
- function qT(e) {
10671
+ function Rx(e) {
10672
10672
  return e.nodeType === 9;
10673
10673
  }
10674
- o(qT, "isDocument");
10675
- function TT(e) {
10674
+ o(Rx, "isDocument");
10675
+ function xx(e) {
10676
10676
  return typeof e == "function" ? `function ${e.name}` : e === null ? "null" : String(e);
10677
10677
  }
10678
- o(TT, "describe");
10678
+ o(xx, "describe");
10679
10679
 
10680
10680
  // ../node_modules/@testing-library/user-event/dist/esm/utils/dataTransfer/Blob.js
10681
10681
  function Ni(e, t) {
@@ -10751,7 +10751,7 @@ function da(e, t) {
10751
10751
  return (i) => t ? i.type === (a ? r : e) : a ? i.type.startsWith(`${r}/`) : i.type === r;
10752
10752
  }
10753
10753
  o(da, "getTypeMatcher");
10754
- function xT(e) {
10754
+ function Tx(e) {
10755
10755
  return new class {
10756
10756
  static {
10757
10757
  o(this, "DataTransferStub");
@@ -10786,9 +10786,9 @@ function xT(e) {
10786
10786
  }
10787
10787
  }();
10788
10788
  }
10789
- o(xT, "createDataTransferStub");
10789
+ o(Tx, "createDataTransferStub");
10790
10790
  function ut(e, t = []) {
10791
- let r = typeof e.DataTransfer > "u" ? xT(e) : (
10791
+ let r = typeof e.DataTransfer > "u" ? Tx(e) : (
10792
10792
  /* istanbul ignore next */
10793
10793
  new e.DataTransfer()
10794
10794
  );
@@ -10901,15 +10901,15 @@ function Pf(e) {
10901
10901
  }), r[ct];
10902
10902
  }
10903
10903
  o(Pf, "attachClipboardStubToView");
10904
- function OT(e) {
10904
+ function Ox(e) {
10905
10905
  Bi(e.navigator.clipboard) && e.navigator.clipboard[ct].resetClipboardStub();
10906
10906
  }
10907
- o(OT, "resetClipboardStubOnView");
10908
- function ST(e) {
10907
+ o(Ox, "resetClipboardStubOnView");
10908
+ function Sx(e) {
10909
10909
  Bi(e.navigator.clipboard) && e.navigator.clipboard[ct].detachClipboardStub();
10910
10910
  }
10911
- o(ST, "detachClipboardStubFromView");
10912
- async function Rf(e) {
10911
+ o(Sx, "detachClipboardStubFromView");
10912
+ async function qf(e) {
10913
10913
  let t = e.defaultView, r = t?.navigator.clipboard, n = r && await r.read();
10914
10914
  if (!n)
10915
10915
  throw new Error("The Clipboard API is unavailable.");
@@ -10919,7 +10919,7 @@ async function Rf(e) {
10919
10919
  a.setData(l, await i.getType(l).then((s) => Ni(s, t.FileReader)));
10920
10920
  return a;
10921
10921
  }
10922
- o(Rf, "readDataTransferFromClipboard");
10922
+ o(qf, "readDataTransferFromClipboard");
10923
10923
  async function ma(e, t) {
10924
10924
  let r = B(e), n = r.navigator.clipboard, a = [];
10925
10925
  for (let l = 0; l < t.items.length; l++) {
@@ -10937,10 +10937,10 @@ async function ma(e, t) {
10937
10937
  o(ma, "writeDataTransferToClipboard");
10938
10938
  var pa = globalThis;
10939
10939
  typeof pa.afterEach == "function" && pa.afterEach(() => {
10940
- typeof globalThis.window < "u" && OT(globalThis.window);
10940
+ typeof globalThis.window < "u" && Ox(globalThis.window);
10941
10941
  });
10942
10942
  typeof pa.afterAll == "function" && pa.afterAll(() => {
10943
- typeof globalThis.window < "u" && ST(globalThis.window);
10943
+ typeof globalThis.window < "u" && Sx(globalThis.window);
10944
10944
  });
10945
10945
 
10946
10946
  // ../node_modules/@testing-library/user-event/dist/esm/utils/focus/selector.js
@@ -10962,15 +10962,15 @@ function kt(e) {
10962
10962
  o(kt, "isFocusable");
10963
10963
 
10964
10964
  // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/cloneEvent.js
10965
- function qf(e) {
10965
+ function Rf(e) {
10966
10966
  return new e.constructor(e.type, e);
10967
10967
  }
10968
- o(qf, "cloneEvent");
10968
+ o(Rf, "cloneEvent");
10969
10969
 
10970
10970
  // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/isDisabled.js
10971
10971
  function z(e) {
10972
10972
  for (let r = e; r; r = r.parentElement)
10973
- if (T(r, [
10973
+ if (x(r, [
10974
10974
  "button",
10975
10975
  "input",
10976
10976
  "select",
@@ -10980,7 +10980,7 @@ function z(e) {
10980
10980
  ])) {
10981
10981
  if (r.hasAttribute("disabled"))
10982
10982
  return !0;
10983
- } else if (T(r, "fieldset")) {
10983
+ } else if (x(r, "fieldset")) {
10984
10984
  var t;
10985
10985
  if (r.hasAttribute("disabled") && !(!((t = r.querySelector(":scope > legend")) === null || t === void 0) && t.contains(e)))
10986
10986
  return !0;
@@ -11009,7 +11009,7 @@ function va(e) {
11009
11009
  o(va, "getActiveElementOrBody");
11010
11010
 
11011
11011
  // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/findClosest.js
11012
- function Tf(e, t) {
11012
+ function xf(e, t) {
11013
11013
  let r = e;
11014
11014
  do {
11015
11015
  if (t(r))
@@ -11017,7 +11017,7 @@ function Tf(e, t) {
11017
11017
  r = r.parentElement;
11018
11018
  } while (r && r !== e.ownerDocument.body);
11019
11019
  }
11020
- o(Tf, "findClosest");
11020
+ o(xf, "findClosest");
11021
11021
 
11022
11022
  // ../node_modules/@testing-library/user-event/dist/esm/utils/edit/isContentEditable.js
11023
11023
  function te(e) {
@@ -11025,22 +11025,22 @@ function te(e) {
11025
11025
  }
11026
11026
  o(te, "isContentEditable");
11027
11027
  function Le(e) {
11028
- let t = AT(e);
11028
+ let t = Ax(e);
11029
11029
  return t && (t.closest('[contenteditable=""]') || t.closest('[contenteditable="true"]'));
11030
11030
  }
11031
11031
  o(Le, "getContentEditable");
11032
- function AT(e) {
11032
+ function Ax(e) {
11033
11033
  return e.nodeType === 1 ? e : e.parentElement;
11034
11034
  }
11035
- o(AT, "getElement");
11035
+ o(Ax, "getElement");
11036
11036
 
11037
11037
  // ../node_modules/@testing-library/user-event/dist/esm/utils/click/isClickableInput.js
11038
- var xf = /* @__PURE__ */ function(e) {
11038
+ var Tf = /* @__PURE__ */ function(e) {
11039
11039
  return e.button = "button", e.color = "color", e.file = "file", e.image = "image", e.reset = "reset", e.submit = "submit", e.checkbox = "c\
11040
11040
  heckbox", e.radio = "radio", e;
11041
- }(xf || {});
11041
+ }(Tf || {});
11042
11042
  function ha(e) {
11043
- return T(e, "button") || T(e, "input") && e.type in xf;
11043
+ return x(e, "button") || x(e, "input") && e.type in Tf;
11044
11044
  }
11045
11045
  o(ha, "isClickableInput");
11046
11046
 
@@ -11054,7 +11054,7 @@ var Of = /* @__PURE__ */ function(e) {
11054
11054
  e.password = "password", e.search = "search", e.tel = "tel", e.time = "time", e.url = "url", e.week = "week", e;
11055
11055
  }(Of || {});
11056
11056
  function Di(e) {
11057
- return T(e, "textarea") || T(e, "input") && e.type in Of;
11057
+ return x(e, "textarea") || x(e, "input") && e.type in Of;
11058
11058
  }
11059
11059
  o(Di, "isEditableInputOrTextArea");
11060
11060
 
@@ -11097,7 +11097,7 @@ o(Be, "wrapEvent");
11097
11097
 
11098
11098
  // ../node_modules/@testing-library/user-event/dist/esm/event/focus.js
11099
11099
  function J(e) {
11100
- let t = Tf(e, kt), r = We(e.ownerDocument);
11100
+ let t = xf(e, kt), r = We(e.ownerDocument);
11101
11101
  (t ?? e.ownerDocument.body) !== r && (t ? Be(() => t.focus()) : Be(() => r?.blur()), Mf(t ?? e.ownerDocument.body));
11102
11102
  }
11103
11103
  o(J, "focusElement");
@@ -11111,12 +11111,12 @@ var Y = {};
11111
11111
 
11112
11112
  // ../node_modules/@testing-library/user-event/dist/esm/event/behavior/click.js
11113
11113
  Y.click = (e, t, r) => {
11114
- let n = t.closest("button,input,label,select,textarea"), a = n && T(n, "label") && n.control;
11114
+ let n = t.closest("button,input,label,select,textarea"), a = n && x(n, "label") && n.control;
11115
11115
  if (a && a !== t)
11116
11116
  return () => {
11117
- kt(a) && (J(a), r.dispatchEvent(a, qf(e)));
11117
+ kt(a) && (J(a), r.dispatchEvent(a, Rf(e)));
11118
11118
  };
11119
- if (T(t, "input", {
11119
+ if (x(t, "input", {
11120
11120
  type: "file"
11121
11121
  }))
11122
11122
  return () => {
@@ -11235,7 +11235,7 @@ function Vf(e) {
11235
11235
  }
11236
11236
  o(Vf, "getMaxLength");
11237
11237
  function $f(e) {
11238
- return T(e, "textarea") || T(e, "input") && e.type in Hf;
11238
+ return x(e, "textarea") || x(e, "input") && e.type in Hf;
11239
11239
  }
11240
11240
  o($f, "supportsMaxLength");
11241
11241
 
@@ -11253,12 +11253,12 @@ function wa(e, t, r, n) {
11253
11253
  node: a,
11254
11254
  offset: r > 0 ? Math.min(1, a.nodeValue.length) : Math.max(a.nodeValue.length - 1, 0)
11255
11255
  };
11256
- if (T(a, "br")) {
11256
+ if (x(a, "br")) {
11257
11257
  let i = zf(a, void 0, r);
11258
11258
  return i ? _a(i) ? {
11259
11259
  node: i,
11260
11260
  offset: r > 0 ? 0 : i.nodeValue.length
11261
- } : r < 0 && T(i, "br") ? {
11261
+ } : r < 0 && x(i, "br") ? {
11262
11262
  node: a.parentNode,
11263
11263
  offset: Ca(a)
11264
11264
  } : {
@@ -11278,24 +11278,24 @@ function wa(e, t, r, n) {
11278
11278
  o(wa, "getNextCursorPosition");
11279
11279
  function zf(e, t, r) {
11280
11280
  let n = Number(t) + (r < 0 ? -1 : 0);
11281
- return t !== void 0 && ji(e) && n >= 0 && n < e.children.length && (e = e.children[n]), IT(e, r === 1 ? "next" : "previous", MT);
11281
+ return t !== void 0 && ji(e) && n >= 0 && n < e.children.length && (e = e.children[n]), Ix(e, r === 1 ? "next" : "previous", Mx);
11282
11282
  }
11283
11283
  o(zf, "getNextCharacterContentNode");
11284
- function MT(e) {
11284
+ function Mx(e) {
11285
11285
  if (_a(e))
11286
11286
  return !0;
11287
11287
  if (ji(e)) {
11288
- if (T(e, [
11288
+ if (x(e, [
11289
11289
  "input",
11290
11290
  "textarea"
11291
11291
  ]))
11292
11292
  return e.type !== "hidden";
11293
- if (T(e, "br"))
11293
+ if (x(e, "br"))
11294
11294
  return !0;
11295
11295
  }
11296
11296
  return !1;
11297
11297
  }
11298
- o(MT, "isTreatedAsCharacterContent");
11298
+ o(Mx, "isTreatedAsCharacterContent");
11299
11299
  function Ca(e) {
11300
11300
  let t = 0;
11301
11301
  for (; e.previousSibling; )
@@ -11311,12 +11311,12 @@ function _a(e) {
11311
11311
  return e.nodeType === 3;
11312
11312
  }
11313
11313
  o(_a, "isTextNode");
11314
- function IT(e, t, r) {
11314
+ function Ix(e, t, r) {
11315
11315
  for (; ; ) {
11316
11316
  var n;
11317
11317
  let a = e[`${t}Sibling`];
11318
11318
  if (a) {
11319
- if (e = kT(a, t === "next" ? "first" : "last"), r(e))
11319
+ if (e = kx(a, t === "next" ? "first" : "last"), r(e))
11320
11320
  return e;
11321
11321
  } else if (e.parentNode && (!ji(e.parentNode) || !te(e.parentNode) && e.parentNode !== ((n = e.ownerDocument) === null || n === void 0 ?
11322
11322
  void 0 : n.body)))
@@ -11325,22 +11325,22 @@ function IT(e, t, r) {
11325
11325
  break;
11326
11326
  }
11327
11327
  }
11328
- o(IT, "walkNodes");
11329
- function kT(e, t) {
11328
+ o(Ix, "walkNodes");
11329
+ function kx(e, t) {
11330
11330
  for (; e.hasChildNodes(); )
11331
11331
  e = e[`${t}Child`];
11332
11332
  return e;
11333
11333
  }
11334
- o(kT, "getDescendant");
11334
+ o(kx, "getDescendant");
11335
11335
 
11336
11336
  // ../node_modules/@testing-library/user-event/dist/esm/document/trackValue.js
11337
11337
  var Bt = Symbol("Track programmatic changes for React workaround");
11338
- function NT(e) {
11338
+ function Nx(e) {
11339
11339
  return Object.getOwnPropertyNames(e).some((t) => t.startsWith("__react")) && B(e).REACT_VERSION === 17;
11340
11340
  }
11341
- o(NT, "isReact17Element");
11341
+ o(Nx, "isReact17Element");
11342
11342
  function Wf(e) {
11343
- NT(e) && (e[Bt] = {
11343
+ Nx(e) && (e[Bt] = {
11344
11344
  previousValue: String(e.value),
11345
11345
  tracked: []
11346
11346
  });
@@ -11367,7 +11367,7 @@ o(Gf, "commitValueAfterInput");
11367
11367
 
11368
11368
  // ../node_modules/@testing-library/user-event/dist/esm/event/selection/getTargetTypeAndSelection.js
11369
11369
  function Pa(e) {
11370
- let t = LT(e);
11370
+ let t = Lx(e);
11371
11371
  if (t && U(t))
11372
11372
  return {
11373
11373
  type: "input",
@@ -11380,10 +11380,10 @@ function Pa(e) {
11380
11380
  };
11381
11381
  }
11382
11382
  o(Pa, "getTargetTypeAndSelection");
11383
- function LT(e) {
11383
+ function Lx(e) {
11384
11384
  return e.nodeType === 1 ? e : e.parentElement;
11385
11385
  }
11386
- o(LT, "getElement");
11386
+ o(Lx, "getElement");
11387
11387
 
11388
11388
  // ../node_modules/@testing-library/user-event/dist/esm/event/selection/getInputRange.js
11389
11389
  function Yf(e) {
@@ -11411,7 +11411,7 @@ o(ce, "setSelection");
11411
11411
 
11412
11412
  // ../node_modules/@testing-library/user-event/dist/esm/event/input.js
11413
11413
  function Qf(e) {
11414
- return T(e, "input") && [
11414
+ return x(e, "input") && [
11415
11415
  "date",
11416
11416
  "time"
11417
11417
  ].includes(e.type);
@@ -11422,10 +11422,10 @@ function de(e, t, r, n = "insertText") {
11422
11422
  a && (!Qf(t) && !e.dispatchUIEvent(t, "beforeinput", {
11423
11423
  inputType: n,
11424
11424
  data: r
11425
- }) || ("startContainer" in a ? BT(e, t, a, r, n) : DT(e, t, a, r, n)));
11425
+ }) || ("startContainer" in a ? Bx(e, t, a, r, n) : Dx(e, t, a, r, n)));
11426
11426
  }
11427
11427
  o(de, "input");
11428
- function BT(e, t, r, n, a) {
11428
+ function Bx(e, t, r, n, a) {
11429
11429
  let i = !1;
11430
11430
  if (!r.collapsed)
11431
11431
  i = !0, r.deleteContents();
@@ -11452,8 +11452,8 @@ function BT(e, t, r, n, a) {
11452
11452
  inputType: a
11453
11453
  });
11454
11454
  }
11455
- o(BT, "editContenteditable");
11456
- function DT(e, t, r, n, a) {
11455
+ o(Bx, "editContenteditable");
11456
+ function Dx(e, t, r, n, a) {
11457
11457
  let i = n;
11458
11458
  if ($f(t)) {
11459
11459
  let c = Vf(t);
@@ -11465,10 +11465,10 @@ function DT(e, t, r, n, a) {
11465
11465
  return;
11466
11466
  }
11467
11467
  }
11468
- let { newValue: l, newOffset: s, oldValue: u } = FT(i, t, r, a);
11469
- l === u && s === r.startOffset && s === r.endOffset || T(t, "input", {
11468
+ let { newValue: l, newOffset: s, oldValue: u } = Fx(i, t, r, a);
11469
+ l === u && s === r.startOffset && s === r.endOffset || x(t, "input", {
11470
11470
  type: "number"
11471
- }) && !jT(l) || (Lf(t, l), ce({
11471
+ }) && !jx(l) || (Lf(t, l), ce({
11472
11472
  focusNode: t,
11473
11473
  anchorOffset: s,
11474
11474
  focusOffset: s
@@ -11477,11 +11477,11 @@ function DT(e, t, r, n, a) {
11477
11477
  inputType: a
11478
11478
  }));
11479
11479
  }
11480
- o(DT, "editInputElement");
11481
- function FT(e, t, { startOffset: r, endOffset: n }, a) {
11480
+ o(Dx, "editInputElement");
11481
+ function Fx(e, t, { startOffset: r, endOffset: n }, a) {
11482
11482
  let i = H(t), l = Math.max(0, r === n && a === "deleteContentBackward" ? r - 1 : r), s = i.substring(0, l), u = Math.min(i.length, r === n &&
11483
11483
  a === "deleteContentForward" ? r + 1 : n), c = i.substring(u, i.length), d = `${s}${e}${c}`, p = l + e.length;
11484
- if (T(t, "input", {
11484
+ if (x(t, "input", {
11485
11485
  type: "time"
11486
11486
  })) {
11487
11487
  let h = Uf(d);
@@ -11493,18 +11493,18 @@ function FT(e, t, { startOffset: r, endOffset: n }, a) {
11493
11493
  newOffset: p
11494
11494
  };
11495
11495
  }
11496
- o(FT, "calculateNewValue");
11496
+ o(Fx, "calculateNewValue");
11497
11497
  function Xf(e, t, r, n) {
11498
11498
  e.dispatchUIEvent(t, "input", n), Gf(t, r);
11499
11499
  }
11500
11500
  o(Xf, "commitInput");
11501
- function jT(e) {
11501
+ function jx(e) {
11502
11502
  var t, r;
11503
11503
  let n = e.split("e", 2);
11504
11504
  return !(/[^\d.\-e]/.test(e) || Number((t = e.match(/-/g)) === null || t === void 0 ? void 0 : t.length) > 2 || Number((r = e.match(/\./g)) ===
11505
11505
  null || r === void 0 ? void 0 : r.length) > 1 || n[1] && !/^-?\d*$/.test(n[1]));
11506
11506
  }
11507
- o(jT, "isValidNumberInput");
11507
+ o(jx, "isValidNumberInput");
11508
11508
 
11509
11509
  // ../node_modules/@testing-library/user-event/dist/esm/event/behavior/cut.js
11510
11510
  Y.cut = (e, t, r) => () => {
@@ -11539,12 +11539,12 @@ function ep(e, t) {
11539
11539
  });
11540
11540
  let i = {}, l = [
11541
11541
  r.body
11542
- ], s = T(e, "input", {
11542
+ ], s = x(e, "input", {
11543
11543
  type: "radio"
11544
11544
  }) ? e.name : void 0;
11545
11545
  a.forEach((u) => {
11546
11546
  let c = u;
11547
- if (T(c, "input", {
11547
+ if (x(c, "input", {
11548
11548
  type: "radio"
11549
11549
  }) && c.name) {
11550
11550
  if (c === e) {
@@ -11553,7 +11553,7 @@ function ep(e, t) {
11553
11553
  } else if (c.name === s)
11554
11554
  return;
11555
11555
  if (c.checked) {
11556
- l = l.filter((d) => !T(d, "input", {
11556
+ l = l.filter((d) => !x(d, "input", {
11557
11557
  type: "radio",
11558
11558
  name: c.name
11559
11559
  })), l.push(c), i[c.name] = c;
@@ -11595,7 +11595,7 @@ function Ui(e, t) {
11595
11595
  o(Ui, "moveSelection");
11596
11596
 
11597
11597
  // ../node_modules/@testing-library/user-event/dist/esm/event/selection/selectAll.js
11598
- function Ra(e) {
11598
+ function qa(e) {
11599
11599
  if (U(e))
11600
11600
  return ce({
11601
11601
  focusNode: e,
@@ -11610,7 +11610,7 @@ function Ra(e) {
11610
11610
  focusOffset: r.childNodes.length
11611
11611
  });
11612
11612
  }
11613
- o(Ra, "selectAll");
11613
+ o(qa, "selectAll");
11614
11614
  function tp(e) {
11615
11615
  if (U(e))
11616
11616
  return ge(e).startOffset === 0 && ge(e).endOffset === H(e).length;
@@ -11657,23 +11657,23 @@ o(Dt, "walkRadio");
11657
11657
  // ../node_modules/@testing-library/user-event/dist/esm/event/behavior/keydown.js
11658
11658
  Y.keydown = (e, t, r) => {
11659
11659
  var n, a;
11660
- return (a = (n = rp[e.key]) === null || n === void 0 ? void 0 : n.call(rp, e, t, r)) !== null && a !== void 0 ? a : UT(e, t, r);
11660
+ return (a = (n = rp[e.key]) === null || n === void 0 ? void 0 : n.call(rp, e, t, r)) !== null && a !== void 0 ? a : Ux(e, t, r);
11661
11661
  };
11662
11662
  var rp = {
11663
11663
  ArrowDown: /* @__PURE__ */ o((e, t, r) => {
11664
- if (T(t, "input", {
11664
+ if (x(t, "input", {
11665
11665
  type: "radio"
11666
11666
  }))
11667
11667
  return () => Dt(r, t, 1);
11668
11668
  }, "ArrowDown"),
11669
- ArrowLeft: /* @__PURE__ */ o((e, t, r) => T(t, "input", {
11669
+ ArrowLeft: /* @__PURE__ */ o((e, t, r) => x(t, "input", {
11670
11670
  type: "radio"
11671
11671
  }) ? () => Dt(r, t, -1) : () => Ui(t, -1), "ArrowLeft"),
11672
- ArrowRight: /* @__PURE__ */ o((e, t, r) => T(t, "input", {
11672
+ ArrowRight: /* @__PURE__ */ o((e, t, r) => x(t, "input", {
11673
11673
  type: "radio"
11674
11674
  }) ? () => Dt(r, t, 1) : () => Ui(t, 1), "ArrowRight"),
11675
11675
  ArrowUp: /* @__PURE__ */ o((e, t, r) => {
11676
- if (T(t, "input", {
11676
+ if (x(t, "input", {
11677
11677
  type: "radio"
11678
11678
  }))
11679
11679
  return () => Dt(r, t, -1);
@@ -11691,7 +11691,7 @@ var rp = {
11691
11691
  };
11692
11692
  }, "Delete"),
11693
11693
  End: /* @__PURE__ */ o((e, t) => {
11694
- if (T(t, [
11694
+ if (x(t, [
11695
11695
  "input",
11696
11696
  "textarea"
11697
11697
  ]) || te(t))
@@ -11705,7 +11705,7 @@ var rp = {
11705
11705
  };
11706
11706
  }, "End"),
11707
11707
  Home: /* @__PURE__ */ o((e, t) => {
11708
- if (T(t, [
11708
+ if (x(t, [
11709
11709
  "input",
11710
11710
  "textarea"
11711
11711
  ]) || te(t))
@@ -11714,7 +11714,7 @@ var rp = {
11714
11714
  };
11715
11715
  }, "Home"),
11716
11716
  PageDown: /* @__PURE__ */ o((e, t) => {
11717
- if (T(t, [
11717
+ if (x(t, [
11718
11718
  "input"
11719
11719
  ]))
11720
11720
  return () => {
@@ -11723,7 +11723,7 @@ var rp = {
11723
11723
  };
11724
11724
  }, "PageDown"),
11725
11725
  PageUp: /* @__PURE__ */ o((e, t) => {
11726
- if (T(t, [
11726
+ if (x(t, [
11727
11727
  "input"
11728
11728
  ]))
11729
11729
  return () => {
@@ -11737,21 +11737,21 @@ var rp = {
11737
11737
  focusOffset: n.value.length
11738
11738
  });
11739
11739
  }, "Tab")
11740
- }, UT = /* @__PURE__ */ o((e, t, r) => {
11740
+ }, Ux = /* @__PURE__ */ o((e, t, r) => {
11741
11741
  if (e.code === "KeyA" && r.system.keyboard.modifiers.Control)
11742
- return () => Ra(t);
11742
+ return () => qa(t);
11743
11743
  }, "combinationBehavior");
11744
11744
 
11745
11745
  // ../node_modules/@testing-library/user-event/dist/esm/event/behavior/keypress.js
11746
11746
  Y.keypress = (e, t, r) => {
11747
11747
  if (e.key === "Enter") {
11748
- if (T(t, "button") || T(t, "input") && HT.includes(t.type) || T(t, "a") && t.href)
11748
+ if (x(t, "button") || x(t, "input") && Hx.includes(t.type) || x(t, "a") && t.href)
11749
11749
  return () => {
11750
11750
  r.dispatchUIEvent(t, "click");
11751
11751
  };
11752
- if (T(t, "input")) {
11752
+ if (x(t, "input")) {
11753
11753
  let n = t.form, a = n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');
11754
- return a ? () => r.dispatchUIEvent(a, "click") : n && VT.includes(t.type) && n.querySelectorAll("input").length === 1 ? () => r.dispatchUIEvent(
11754
+ return a ? () => r.dispatchUIEvent(a, "click") : n && Vx.includes(t.type) && n.querySelectorAll("input").length === 1 ? () => r.dispatchUIEvent(
11755
11755
  n, "submit") : void 0;
11756
11756
  }
11757
11757
  }
@@ -11762,14 +11762,14 @@ Y.keypress = (e, t, r) => {
11762
11762
  return () => de(r, t, a, n);
11763
11763
  }
11764
11764
  };
11765
- var HT = [
11765
+ var Hx = [
11766
11766
  "button",
11767
11767
  "color",
11768
11768
  "file",
11769
11769
  "image",
11770
11770
  "reset",
11771
11771
  "submit"
11772
- ], VT = [
11772
+ ], Vx = [
11773
11773
  "email",
11774
11774
  "month",
11775
11775
  "password",
@@ -12069,12 +12069,12 @@ function op(e) {
12069
12069
  return Hi[e].EventType;
12070
12070
  }
12071
12071
  o(op, "getEventClass");
12072
- var $T = [
12072
+ var $x = [
12073
12073
  "MouseEvent",
12074
12074
  "PointerEvent"
12075
12075
  ];
12076
12076
  function ap(e) {
12077
- return $T.includes(op(e));
12077
+ return $x.includes(op(e));
12078
12078
  }
12079
12079
  o(ap, "isMouseEvent");
12080
12080
  function ip(e) {
@@ -12083,18 +12083,18 @@ function ip(e) {
12083
12083
  o(ip, "isKeyboardEvent");
12084
12084
 
12085
12085
  // ../node_modules/@testing-library/user-event/dist/esm/event/createEvent.js
12086
- var zT = {
12086
+ var zx = {
12087
12087
  ClipboardEvent: [
12088
- KT
12088
+ Kx
12089
12089
  ],
12090
12090
  Event: [],
12091
12091
  FocusEvent: [
12092
12092
  Ft,
12093
- GT
12093
+ Gx
12094
12094
  ],
12095
12095
  InputEvent: [
12096
12096
  Ft,
12097
- YT
12097
+ Yx
12098
12098
  ],
12099
12099
  MouseEvent: [
12100
12100
  Ft,
@@ -12105,20 +12105,20 @@ var zT = {
12105
12105
  Ft,
12106
12106
  Vi,
12107
12107
  lp,
12108
- QT
12108
+ Qx
12109
12109
  ],
12110
12110
  KeyboardEvent: [
12111
12111
  Ft,
12112
12112
  Vi,
12113
- XT
12113
+ Xx
12114
12114
  ]
12115
12115
  };
12116
12116
  function $i(e, t, r) {
12117
- let n = B(t), { EventType: a, defaultInit: i } = Hi[e], l = new (WT(n))[a](e, i);
12118
- return zT[a].forEach((s) => s(l, r ?? {})), l;
12117
+ let n = B(t), { EventType: a, defaultInit: i } = Hi[e], l = new (Wx(n))[a](e, i);
12118
+ return zx[a].forEach((s) => s(l, r ?? {})), l;
12119
12119
  }
12120
12120
  o($i, "createEvent");
12121
- function WT(e) {
12121
+ function Wx(e) {
12122
12122
  var t;
12123
12123
  let r = (t = e.Event) !== null && t !== void 0 ? t : class {
12124
12124
  static {
@@ -12162,7 +12162,7 @@ function WT(e) {
12162
12162
  }
12163
12163
  };
12164
12164
  var C;
12165
- let q = (C = e.CompositionEvent) !== null && C !== void 0 ? C : class extends _ {
12165
+ let R = (C = e.CompositionEvent) !== null && C !== void 0 ? C : class extends _ {
12166
12166
  static {
12167
12167
  o(this, "CompositionEvent");
12168
12168
  }
@@ -12180,7 +12180,7 @@ function WT(e) {
12180
12180
  }
12181
12181
  };
12182
12182
  var g;
12183
- let R = (g = e.KeyboardEvent) !== null && g !== void 0 ? g : class extends _ {
12183
+ let q = (g = e.KeyboardEvent) !== null && g !== void 0 ? g : class extends _ {
12184
12184
  static {
12185
12185
  o(this, "KeyboardEvent");
12186
12186
  }
@@ -12217,17 +12217,17 @@ function WT(e) {
12217
12217
  ProgressEvent: d,
12218
12218
  TransitionEvent: h,
12219
12219
  UIEvent: _,
12220
- CompositionEvent: q,
12220
+ CompositionEvent: R,
12221
12221
  FocusEvent: w,
12222
12222
  InputEvent: v,
12223
- KeyboardEvent: R,
12223
+ KeyboardEvent: q,
12224
12224
  MouseEvent: F,
12225
12225
  DragEvent: X,
12226
12226
  PointerEvent: Z,
12227
12227
  TouchEvent: S
12228
12228
  };
12229
12229
  }
12230
- o(WT, "getEventConstructors");
12230
+ o(Wx, "getEventConstructors");
12231
12231
  function De(e, t) {
12232
12232
  for (let [r, n] of Object.entries(t))
12233
12233
  Object.defineProperty(e, r, {
@@ -12239,26 +12239,26 @@ function D(e) {
12239
12239
  return Number(e ?? 0);
12240
12240
  }
12241
12241
  o(D, "sanitizeNumber");
12242
- function KT(e, { clipboardData: t }) {
12242
+ function Kx(e, { clipboardData: t }) {
12243
12243
  De(e, {
12244
12244
  clipboardData: t
12245
12245
  });
12246
12246
  }
12247
- o(KT, "initClipboardEvent");
12248
- function GT(e, { relatedTarget: t }) {
12247
+ o(Kx, "initClipboardEvent");
12248
+ function Gx(e, { relatedTarget: t }) {
12249
12249
  De(e, {
12250
12250
  relatedTarget: t
12251
12251
  });
12252
12252
  }
12253
- o(GT, "initFocusEvent");
12254
- function YT(e, { data: t, inputType: r, isComposing: n }) {
12253
+ o(Gx, "initFocusEvent");
12254
+ function Yx(e, { data: t, inputType: r, isComposing: n }) {
12255
12255
  De(e, {
12256
12256
  data: t,
12257
12257
  isComposing: !!n,
12258
12258
  inputType: String(r)
12259
12259
  });
12260
12260
  }
12261
- o(YT, "initInputEvent");
12261
+ o(Yx, "initInputEvent");
12262
12262
  function Ft(e, { view: t, detail: r }) {
12263
12263
  De(e, {
12264
12264
  view: t,
@@ -12292,7 +12292,7 @@ modifierNumLock: c, modifierScrollLock: d, modifierSymbol: p, modifierSymbolLock
12292
12292
  });
12293
12293
  }
12294
12294
  o(Vi, "initUIEventModifiers");
12295
- function XT(e, { key: t, code: r, location: n, repeat: a, isComposing: i, charCode: l }) {
12295
+ function Xx(e, { key: t, code: r, location: n, repeat: a, isComposing: i, charCode: l }) {
12296
12296
  De(e, {
12297
12297
  key: String(t),
12298
12298
  code: String(r),
@@ -12302,7 +12302,7 @@ function XT(e, { key: t, code: r, location: n, repeat: a, isComposing: i, charCo
12302
12302
  charCode: l
12303
12303
  });
12304
12304
  }
12305
- o(XT, "initKeyboardEvent");
12305
+ o(Xx, "initKeyboardEvent");
12306
12306
  function lp(e, { x: t, y: r, screenX: n, screenY: a, clientX: i = t, clientY: l = r, button: s, buttons: u, relatedTarget: c, offsetX: d, offsetY: p,
12307
12307
  pageX: h, pageY: b }) {
12308
12308
  De(e, {
@@ -12322,7 +12322,7 @@ pageX: h, pageY: b }) {
12322
12322
  });
12323
12323
  }
12324
12324
  o(lp, "initMouseEvent");
12325
- function QT(e, { pointerId: t, width: r, height: n, pressure: a, tangentialPressure: i, tiltX: l, tiltY: s, twist: u, pointerType: c, isPrimary: d }) {
12325
+ function Qx(e, { pointerId: t, width: r, height: n, pressure: a, tangentialPressure: i, tiltX: l, tiltY: s, twist: u, pointerType: c, isPrimary: d }) {
12326
12326
  De(e, {
12327
12327
  pointerId: D(t),
12328
12328
  width: D(r ?? 1),
@@ -12336,7 +12336,7 @@ function QT(e, { pointerId: t, width: r, height: n, pressure: a, tangentialPress
12336
12336
  isPrimary: !!d
12337
12337
  });
12338
12338
  }
12339
- o(QT, "initPointerEvent");
12339
+ o(Qx, "initPointerEvent");
12340
12340
 
12341
12341
  // ../node_modules/@testing-library/user-event/dist/esm/event/dispatchEvent.js
12342
12342
  function sp(e, t, r, n = !1) {
@@ -12457,18 +12457,18 @@ function dp(e) {
12457
12457
  let n = kf(r);
12458
12458
  return n && Wf(this), {
12459
12459
  applyNative: !!n,
12460
- realArgs: JT(this, r),
12460
+ realArgs: Jx(this, r),
12461
12461
  then: n ? void 0 : () => Kf(this, String(r))
12462
12462
  };
12463
12463
  }, "interceptorImpl"));
12464
12464
  }
12465
12465
  o(dp, "prepareValueInterceptor");
12466
- function JT(e, t) {
12467
- return T(e, "input", {
12466
+ function Jx(e, t) {
12467
+ return x(e, "input", {
12468
12468
  type: "number"
12469
12469
  }) && String(t) !== "" && !Number.isNaN(Number(t)) ? String(Number(t)) : String(t);
12470
12470
  }
12471
- o(JT, "sanitizeValue");
12471
+ o(Jx, "sanitizeValue");
12472
12472
  function fp(e) {
12473
12473
  ft(e, "setSelectionRange", /* @__PURE__ */ o(function(r, ...n) {
12474
12474
  let a = Nf(r);
@@ -12532,7 +12532,7 @@ function Gi(e) {
12532
12532
  }
12533
12533
  o(Gi, "prepareDocument");
12534
12534
  function mp(e) {
12535
- e[pt] || (T(e, [
12535
+ e[pt] || (x(e, [
12536
12536
  "input",
12537
12537
  "textarea"
12538
12538
  ]) && (dp(e), fp(e), pp(e)), e[pt] = pt);
@@ -12541,13 +12541,13 @@ o(mp, "prepareElement");
12541
12541
 
12542
12542
  // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/getDocumentFromNode.js
12543
12543
  function bp(e) {
12544
- return ZT(e) ? e : e.ownerDocument;
12544
+ return Zx(e) ? e : e.ownerDocument;
12545
12545
  }
12546
12546
  o(bp, "getDocumentFromNode");
12547
- function ZT(e) {
12547
+ function Zx(e) {
12548
12548
  return e.nodeType === 9;
12549
12549
  }
12550
- o(ZT, "isDocument");
12550
+ o(Zx, "isDocument");
12551
12551
 
12552
12552
  // ../node_modules/@testing-library/user-event/dist/esm/utils/misc/level.js
12553
12553
  var W = /* @__PURE__ */ function(e) {
@@ -12591,7 +12591,7 @@ function Xe(e, t, r) {
12591
12591
  o(Xe, "_define_property");
12592
12592
  var fe = /* @__PURE__ */ function(e) {
12593
12593
  return e[e.STANDARD = 0] = "STANDARD", e[e.LEFT = 1] = "LEFT", e[e.RIGHT = 2] = "RIGHT", e[e.NUMPAD = 3] = "NUMPAD", e;
12594
- }({}), ex = [
12594
+ }({}), eT = [
12595
12595
  "Alt",
12596
12596
  "AltGraph",
12597
12597
  "Control",
@@ -12601,10 +12601,10 @@ var fe = /* @__PURE__ */ function(e) {
12601
12601
  "Symbol"
12602
12602
  ];
12603
12603
  function vp(e) {
12604
- return ex.includes(e);
12604
+ return eT.includes(e);
12605
12605
  }
12606
12606
  o(vp, "isModifierKey");
12607
- var tx = [
12607
+ var tT = [
12608
12608
  "CapsLock",
12609
12609
  "FnLock",
12610
12610
  "NumLock",
@@ -12612,10 +12612,10 @@ var tx = [
12612
12612
  "SymbolLock"
12613
12613
  ];
12614
12614
  function hp(e) {
12615
- return tx.includes(e);
12615
+ return tT.includes(e);
12616
12616
  }
12617
12617
  o(hp, "isModifierLock");
12618
- var qa = class {
12618
+ var Ra = class {
12619
12619
  static {
12620
12620
  o(this, "KeyboardHost");
12621
12621
  }
@@ -12905,7 +12905,7 @@ var gp = [
12905
12905
  ];
12906
12906
 
12907
12907
  // ../node_modules/@testing-library/user-event/dist/esm/system/pointer/buttons.js
12908
- function rx(e, t, r) {
12908
+ function rT(e, t, r) {
12909
12909
  return t in e ? Object.defineProperty(e, t, {
12910
12910
  value: r,
12911
12911
  enumerable: !0,
@@ -12913,7 +12913,7 @@ function rx(e, t, r) {
12913
12913
  writable: !0
12914
12914
  }) : e[t] = r, e;
12915
12915
  }
12916
- o(rx, "_define_property");
12916
+ o(rT, "_define_property");
12917
12917
  var mt = class {
12918
12918
  static {
12919
12919
  o(this, "Buttons");
@@ -12940,7 +12940,7 @@ var mt = class {
12940
12940
  return delete this.pressed[r], r;
12941
12941
  }
12942
12942
  constructor() {
12943
- rx(this, "pressed", {});
12943
+ rT(this, "pressed", {});
12944
12944
  }
12945
12945
  }, Ep = {
12946
12946
  primary: 0,
@@ -12965,7 +12965,7 @@ function Ut(e) {
12965
12965
  o(Ut, "getMouseEventButton");
12966
12966
 
12967
12967
  // ../node_modules/@testing-library/user-event/dist/esm/system/pointer/device.js
12968
- function nx(e, t, r) {
12968
+ function nT(e, t, r) {
12969
12969
  return t in e ? Object.defineProperty(e, t, {
12970
12970
  value: r,
12971
12971
  enumerable: !0,
@@ -12973,8 +12973,8 @@ function nx(e, t, r) {
12973
12973
  writable: !0
12974
12974
  }) : e[t] = r, e;
12975
12975
  }
12976
- o(nx, "_define_property");
12977
- var Ta = class {
12976
+ o(nT, "_define_property");
12977
+ var xa = class {
12978
12978
  static {
12979
12979
  o(this, "Device");
12980
12980
  }
@@ -12991,7 +12991,7 @@ var Ta = class {
12991
12991
  return this.pressedKeys.delete(t.name);
12992
12992
  }
12993
12993
  constructor() {
12994
- nx(this, "pressedKeys", /* @__PURE__ */ new Set());
12994
+ nT(this, "pressedKeys", /* @__PURE__ */ new Set());
12995
12995
  }
12996
12996
  };
12997
12997
 
@@ -13063,7 +13063,7 @@ function wp({ document: e, target: t, clickCount: r, node: n, offset: a }) {
13063
13063
  a,
13064
13064
  a
13065
13065
  ]
13066
- ) : ox(l, a, r);
13066
+ ) : oT(l, a, r);
13067
13067
  if (i)
13068
13068
  return ue(t, {
13069
13069
  anchorOffset: s ?? l.length,
@@ -13093,7 +13093,7 @@ function wp({ document: e, target: t, clickCount: r, node: n, offset: a }) {
13093
13093
  }
13094
13094
  }
13095
13095
  o(wp, "setSelectionPerMouseDown");
13096
- function ox(e, t, r) {
13096
+ function oT(e, t, r) {
13097
13097
  if (r % 3 === 1 || e.length === 0)
13098
13098
  return [
13099
13099
  t,
@@ -13108,7 +13108,7 @@ function ox(e, t, r) {
13108
13108
  t === void 0 ? t : t + e.substr(t).match(/^[^\r\n]*/)[0].length
13109
13109
  ];
13110
13110
  }
13111
- o(ox, "getTextRange");
13111
+ o(oT, "getTextRange");
13112
13112
 
13113
13113
  // ../node_modules/@testing-library/user-event/dist/esm/event/selection/modifySelectionPerMouse.js
13114
13114
  function Pp(e, { document: t, target: r, node: n, offset: a }) {
@@ -13135,22 +13135,22 @@ function Pp(e, { document: t, target: r, node: n, offset: a }) {
13135
13135
  o(Pp, "modifySelectionPerMouseMove");
13136
13136
 
13137
13137
  // ../node_modules/@testing-library/user-event/dist/esm/system/pointer/shared.js
13138
- function xa(e, t) {
13139
- var r, n, a, i, l, s, u, c, d, p, h, b, _, C, q, m, w, P, v, g, R, y, F, L;
13138
+ function Ta(e, t) {
13139
+ var r, n, a, i, l, s, u, c, d, p, h, b, _, C, R, m, w, P, v, g, q, y, F, L;
13140
13140
  return e.target !== t.target || ((r = e.coords) === null || r === void 0 ? void 0 : r.x) !== ((n = t.coords) === null || n === void 0 ? void 0 :
13141
13141
  n.x) || ((a = e.coords) === null || a === void 0 ? void 0 : a.y) !== ((i = t.coords) === null || i === void 0 ? void 0 : i.y) || ((l = e.coords) ===
13142
13142
  null || l === void 0 ? void 0 : l.clientX) !== ((s = t.coords) === null || s === void 0 ? void 0 : s.clientX) || ((u = e.coords) === null ||
13143
13143
  u === void 0 ? void 0 : u.clientY) !== ((c = t.coords) === null || c === void 0 ? void 0 : c.clientY) || ((d = e.coords) === null || d ===
13144
13144
  void 0 ? void 0 : d.offsetX) !== ((p = t.coords) === null || p === void 0 ? void 0 : p.offsetX) || ((h = e.coords) === null || h === void 0 ?
13145
13145
  void 0 : h.offsetY) !== ((b = t.coords) === null || b === void 0 ? void 0 : b.offsetY) || ((_ = e.coords) === null || _ === void 0 ? void 0 :
13146
- _.pageX) !== ((C = t.coords) === null || C === void 0 ? void 0 : C.pageX) || ((q = e.coords) === null || q === void 0 ? void 0 : q.pageY) !==
13146
+ _.pageX) !== ((C = t.coords) === null || C === void 0 ? void 0 : C.pageX) || ((R = e.coords) === null || R === void 0 ? void 0 : R.pageY) !==
13147
13147
  ((m = t.coords) === null || m === void 0 ? void 0 : m.pageY) || ((w = e.coords) === null || w === void 0 ? void 0 : w.screenX) !== ((P = t.
13148
13148
  coords) === null || P === void 0 ? void 0 : P.screenX) || ((v = e.coords) === null || v === void 0 ? void 0 : v.screenY) !== ((g = t.coords) ===
13149
- null || g === void 0 ? void 0 : g.screenY) || ((R = e.caret) === null || R === void 0 ? void 0 : R.node) !== ((y = t.caret) === null || y ===
13149
+ null || g === void 0 ? void 0 : g.screenY) || ((q = e.caret) === null || q === void 0 ? void 0 : q.node) !== ((y = t.caret) === null || y ===
13150
13150
  void 0 ? void 0 : y.node) || ((F = e.caret) === null || F === void 0 ? void 0 : F.offset) !== ((L = t.caret) === null || L === void 0 ? void 0 :
13151
13151
  L.offset);
13152
13152
  }
13153
- o(xa, "isDifferentPointerPosition");
13153
+ o(Ta, "isDifferentPointerPosition");
13154
13154
 
13155
13155
  // ../node_modules/@testing-library/user-event/dist/esm/system/pointer/mouse.js
13156
13156
  function Je(e, t, r) {
@@ -13168,7 +13168,7 @@ var Oa = class {
13168
13168
  }
13169
13169
  move(t, r, n) {
13170
13170
  let a = this.position, i = this.getTarget(t);
13171
- if (this.position = r, !xa(a, r))
13171
+ if (this.position = r, !Ta(a, r))
13172
13172
  return;
13173
13173
  let l = this.getTarget(t), s = this.getEventInit("mousemove"), [u, c] = Qe(i, l);
13174
13174
  return {
@@ -13286,10 +13286,10 @@ kCount", new class {
13286
13286
  // ../node_modules/@testing-library/user-event/dist/esm/utils/pointer/cssPointerEvents.js
13287
13287
  function bt(e, t) {
13288
13288
  var r;
13289
- return ((r = Tp(e, t)) === null || r === void 0 ? void 0 : r.pointerEvents) !== "none";
13289
+ return ((r = xp(e, t)) === null || r === void 0 ? void 0 : r.pointerEvents) !== "none";
13290
13290
  }
13291
13291
  o(bt, "hasPointerEvents");
13292
- function ax(e) {
13292
+ function aT(e) {
13293
13293
  let t = B(e);
13294
13294
  for (let r = e, n = []; r?.ownerDocument; r = r.parentElement) {
13295
13295
  n.push(r);
@@ -13304,46 +13304,46 @@ function ax(e) {
13304
13304
  };
13305
13305
  }
13306
13306
  }
13307
- o(ax, "closestPointerEventsDeclaration");
13308
- var Rp = Symbol("Last check for pointer-events");
13309
- function Tp(e, t) {
13310
- let r = t[Rp];
13311
- if (!(e.config.pointerEventsCheck !== Ye.Never && (!r || qp(e.config.pointerEventsCheck, Ye.EachApiCall) && r[W.Call] !== jt(e, W.Call) ||
13312
- qp(e.config.pointerEventsCheck, Ye.EachTrigger) && r[W.Trigger] !== jt(e, W.Trigger))))
13307
+ o(aT, "closestPointerEventsDeclaration");
13308
+ var qp = Symbol("Last check for pointer-events");
13309
+ function xp(e, t) {
13310
+ let r = t[qp];
13311
+ if (!(e.config.pointerEventsCheck !== Ye.Never && (!r || Rp(e.config.pointerEventsCheck, Ye.EachApiCall) && r[W.Call] !== jt(e, W.Call) ||
13312
+ Rp(e.config.pointerEventsCheck, Ye.EachTrigger) && r[W.Trigger] !== jt(e, W.Trigger))))
13313
13313
  return r?.result;
13314
- let a = ax(t);
13315
- return t[Rp] = {
13314
+ let a = aT(t);
13315
+ return t[qp] = {
13316
13316
  [W.Call]: jt(e, W.Call),
13317
13317
  [W.Trigger]: jt(e, W.Trigger),
13318
13318
  result: a
13319
13319
  }, a;
13320
13320
  }
13321
- o(Tp, "checkPointerEvents");
13321
+ o(xp, "checkPointerEvents");
13322
13322
  function Ze(e, t) {
13323
- let r = Tp(e, t);
13323
+ let r = xp(e, t);
13324
13324
  if (r?.pointerEvents === "none")
13325
13325
  throw new Error([
13326
13326
  `Unable to perform pointer interaction as the element ${r.tree.length > 1 ? "inherits" : "has"} \`pointer-events: none\`:`,
13327
13327
  "",
13328
- ix(r.tree)
13328
+ iT(r.tree)
13329
13329
  ].join(`
13330
13330
  `));
13331
13331
  }
13332
13332
  o(Ze, "assertPointerEvents");
13333
- function ix(e) {
13333
+ function iT(e) {
13334
13334
  return e.reverse().map((t, r) => [
13335
13335
  "".padEnd(r),
13336
13336
  t.tagName,
13337
13337
  t.id && `#${t.id}`,
13338
13338
  t.hasAttribute("data-testid") && `(testId=${t.getAttribute("data-testid")})`,
13339
- lx(t),
13339
+ lT(t),
13340
13340
  e.length > 1 && r === 0 && " <-- This element declared `pointer-events: none`",
13341
13341
  e.length > 1 && r === e.length - 1 && " <-- Asserted pointer events here"
13342
13342
  ].filter(Boolean).join("")).join(`
13343
13343
  `);
13344
13344
  }
13345
- o(ix, "printTree");
13346
- function lx(e) {
13345
+ o(iT, "printTree");
13346
+ function lT(e) {
13347
13347
  var t;
13348
13348
  let r;
13349
13349
  if (e.hasAttribute("aria-label"))
@@ -13352,7 +13352,7 @@ function lx(e) {
13352
13352
  var n, a;
13353
13353
  r = (a = e.ownerDocument.getElementById(e.getAttribute("aria-labelledby"))) === null || a === void 0 || (n = a.textContent) === null || n ===
13354
13354
  void 0 ? void 0 : n.trim();
13355
- } else if (T(e, [
13355
+ } else if (x(e, [
13356
13356
  "button",
13357
13357
  "input",
13358
13358
  "meter",
@@ -13365,17 +13365,17 @@ function lx(e) {
13365
13365
  var s;
13366
13366
  return (s = l.textContent) === null || s === void 0 ? void 0 : s.trim();
13367
13367
  }).join("|");
13368
- else if (T(e, "button")) {
13368
+ else if (x(e, "button")) {
13369
13369
  var i;
13370
13370
  r = (i = e.textContent) === null || i === void 0 ? void 0 : i.trim();
13371
13371
  }
13372
13372
  return r = r?.replace(/\n/g, " "), Number(r?.length) > 30 && (r = `${r?.substring(0, 29)}\u2026`), r ? `(label=${r})` : "";
13373
13373
  }
13374
- o(lx, "getLabelDescr");
13375
- function qp(e, t) {
13374
+ o(lT, "getLabelDescr");
13375
+ function Rp(e, t) {
13376
13376
  return (e & t) > 0;
13377
13377
  }
13378
- o(qp, "hasBitFlag");
13378
+ o(Rp, "hasBitFlag");
13379
13379
 
13380
13380
  // ../node_modules/@testing-library/user-event/dist/esm/system/pointer/pointer.js
13381
13381
  function Ce(e, t, r) {
@@ -13397,7 +13397,7 @@ var Sa = class {
13397
13397
  }
13398
13398
  move(t, r) {
13399
13399
  let n = this.position, a = this.getTarget(t);
13400
- if (this.position = r, !xa(n, r))
13400
+ if (this.position = r, !Ta(n, r))
13401
13401
  return;
13402
13402
  let i = this.getTarget(t), l = this.getEventInit(-1), [s, u] = Qe(a, i);
13403
13403
  return {
@@ -13510,7 +13510,7 @@ var Aa = class {
13510
13510
  Fe(this, "system", void 0), Fe(this, "mouse", void 0), Fe(this, "buttons", void 0), Fe(this, "devices", new class {
13511
13511
  get(r) {
13512
13512
  var n, a, i;
13513
- return (i = (n = this.registry)[a = r]) !== null && i !== void 0 ? i : n[a] = new Ta();
13513
+ return (i = (n = this.registry)[a = r]) !== null && i !== void 0 ? i : n[a] = new xa();
13514
13514
  }
13515
13515
  constructor() {
13516
13516
  Fe(this, "registry", {});
@@ -13542,7 +13542,7 @@ var Aa = class {
13542
13542
  };
13543
13543
 
13544
13544
  // ../node_modules/@testing-library/user-event/dist/esm/system/index.js
13545
- function xp(e, t, r) {
13545
+ function Tp(e, t, r) {
13546
13546
  return t in e ? Object.defineProperty(e, t, {
13547
13547
  value: r,
13548
13548
  enumerable: !0,
@@ -13550,7 +13550,7 @@ function xp(e, t, r) {
13550
13550
  writable: !0
13551
13551
  }) : e[t] = r, e;
13552
13552
  }
13553
- o(xp, "_define_property");
13553
+ o(Tp, "_define_property");
13554
13554
  var Vt = class {
13555
13555
  static {
13556
13556
  o(this, "System");
@@ -13572,7 +13572,7 @@ var Vt = class {
13572
13572
  };
13573
13573
  }
13574
13574
  constructor() {
13575
- xp(this, "keyboard", new qa(this)), xp(this, "pointer", new Aa(this));
13575
+ Tp(this, "keyboard", new Ra(this)), Tp(this, "pointer", new Aa(this));
13576
13576
  }
13577
13577
  };
13578
13578
 
@@ -13636,11 +13636,11 @@ function Ma(e, t) {
13636
13636
  let i = new RegExp(`^\\${n}{2}`).test(e) ? "" : n;
13637
13637
  return {
13638
13638
  type: i,
13639
- ...i === "" ? sx(e, r, t) : ux(e, r, i, t)
13639
+ ...i === "" ? sT(e, r, t) : uT(e, r, i, t)
13640
13640
  };
13641
13641
  }
13642
13642
  o(Ma, "readNextDescriptor");
13643
- function sx(e, t, r) {
13643
+ function sT(e, t, r) {
13644
13644
  let n = e[t];
13645
13645
  return Np(n, e, t, r), t += n.length, {
13646
13646
  consumedLength: t,
@@ -13650,8 +13650,8 @@ function sx(e, t, r) {
13650
13650
  repeat: 1
13651
13651
  };
13652
13652
  }
13653
- o(sx, "readPrintableChar");
13654
- function ux(e, t, r, n) {
13653
+ o(sT, "readPrintableChar");
13654
+ function uT(e, t, r, n) {
13655
13655
  var a, i;
13656
13656
  let l = e[t] === "/" ? "/" : "";
13657
13657
  t += l.length;
@@ -13676,22 +13676,22 @@ function ux(e, t, r, n) {
13676
13676
  descriptor: u,
13677
13677
  releasePrevious: !!l,
13678
13678
  repeat: d ? Math.max(Number(d.substr(1)), 1) : 1,
13679
- releaseSelf: cx(p, d)
13679
+ releaseSelf: cT(p, d)
13680
13680
  };
13681
13681
  }
13682
- o(ux, "readTag");
13682
+ o(uT, "readTag");
13683
13683
  function Np(e, t, r, n) {
13684
13684
  if (!e)
13685
13685
  throw new Error(Lp("key descriptor", t[r], t, n));
13686
13686
  }
13687
13687
  o(Np, "assertDescriptor");
13688
- function cx(e, t) {
13688
+ function cT(e, t) {
13689
13689
  if (e)
13690
13690
  return e === "/";
13691
13691
  if (t)
13692
13692
  return !1;
13693
13693
  }
13694
- o(cx, "hasReleaseSelf");
13694
+ o(cT, "hasReleaseSelf");
13695
13695
  function Lp(e, t, r, n) {
13696
13696
  return `Expected ${e} but found "${t ?? ""}" in "${r}"
13697
13697
  See ${n === "pointer" ? "https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen" : "https://testin\
@@ -13735,10 +13735,10 @@ o(Bp, "parseKeyDef");
13735
13735
  async function Dp(e) {
13736
13736
  let t = Bp(this.config.keyboardMap, e);
13737
13737
  for (let r = 0; r < t.length; r++)
13738
- await me(this.config), await dx(this, t[r]);
13738
+ await me(this.config), await dT(this, t[r]);
13739
13739
  }
13740
13740
  o(Dp, "keyboard");
13741
- async function dx(e, { keyDef: t, releasePrevious: r, releaseSelf: n, repeat: a }) {
13741
+ async function dT(e, { keyDef: t, releasePrevious: r, releaseSelf: n, repeat: a }) {
13742
13742
  let { system: i } = e;
13743
13743
  if (i.keyboard.isKeyPressed(t) && await i.keyboard.keyup(e, t), !r) {
13744
13744
  for (let l = 1; l <= a; l++)
@@ -13746,7 +13746,7 @@ async function dx(e, { keyDef: t, releasePrevious: r, releaseSelf: n, repeat: a
13746
13746
  n && await i.keyboard.keyup(e, t);
13747
13747
  }
13748
13748
  }
13749
- o(dx, "keyboardAction");
13749
+ o(dT, "keyboardAction");
13750
13750
  async function Fp(e) {
13751
13751
  for (let t of e.system.keyboard.getPressedKeys())
13752
13752
  await e.system.keyboard.keyup(e, t);
@@ -13756,7 +13756,7 @@ o(Fp, "releaseAllKeys");
13756
13756
  // ../node_modules/@testing-library/user-event/dist/esm/document/copySelection.js
13757
13757
  function Ia(e) {
13758
13758
  let t = U(e) ? {
13759
- "text/plain": fx(e)
13759
+ "text/plain": fT(e)
13760
13760
  } : {
13761
13761
  "text/plain": String(e.ownerDocument.getSelection())
13762
13762
  }, r = ut(B(e));
@@ -13765,11 +13765,11 @@ function Ia(e) {
13765
13765
  return r;
13766
13766
  }
13767
13767
  o(Ia, "copySelection");
13768
- function fx(e) {
13768
+ function fT(e) {
13769
13769
  let t = ge(e);
13770
13770
  return H(e).substring(t.startOffset, t.endOffset);
13771
13771
  }
13772
- o(fx, "readSelectedValueFromInput");
13772
+ o(fT, "readSelectedValueFromInput");
13773
13773
 
13774
13774
  // ../node_modules/@testing-library/user-event/dist/esm/clipboard/copy.js
13775
13775
  async function jp() {
@@ -13810,7 +13810,7 @@ async function Hp(e) {
13810
13810
  t.body
13811
13811
  );
13812
13812
  var a;
13813
- let i = (a = typeof e == "string" ? px(t, e) : e) !== null && a !== void 0 ? a : await Rf(t).catch(() => {
13813
+ let i = (a = typeof e == "string" ? pT(t, e) : e) !== null && a !== void 0 ? a : await qf(t).catch(() => {
13814
13814
  throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.");
13815
13815
  });
13816
13816
  this.dispatchUIEvent(n, "paste", {
@@ -13818,11 +13818,11 @@ async function Hp(e) {
13818
13818
  });
13819
13819
  }
13820
13820
  o(Hp, "paste");
13821
- function px(e, t) {
13821
+ function pT(e, t) {
13822
13822
  let r = ut(B(e));
13823
13823
  return r.setData("text", t), r;
13824
13824
  }
13825
- o(px, "getClipboardDataFromString");
13825
+ o(pT, "getClipboardDataFromString");
13826
13826
 
13827
13827
  // ../node_modules/@testing-library/user-event/dist/esm/pointer/parseKeyDef.js
13828
13828
  function Qi(e, t) {
@@ -13851,17 +13851,17 @@ async function $p(e) {
13851
13851
  }))) : r.push(n);
13852
13852
  });
13853
13853
  for (let n = 0; n < r.length; n++)
13854
- await me(this.config), await mx(this, r[n]);
13854
+ await me(this.config), await mT(this, r[n]);
13855
13855
  this.system.pointer.resetClickCount();
13856
13856
  }
13857
13857
  o($p, "pointer");
13858
- async function mx(e, t) {
13858
+ async function mT(e, t) {
13859
13859
  var r, n;
13860
13860
  let a = "pointerName" in t && t.pointerName ? t.pointerName : "keyDef" in t ? e.system.pointer.getPointerName(t.keyDef) : "mouse", i = e.system.
13861
13861
  pointer.getPreviousPosition(a);
13862
13862
  var l, s, u, c;
13863
13863
  let d = {
13864
- target: (l = t.target) !== null && l !== void 0 ? l : bx(e, i),
13864
+ target: (l = t.target) !== null && l !== void 0 ? l : bT(e, i),
13865
13865
  coords: (s = t.coords) !== null && s !== void 0 ? s : i?.coords,
13866
13866
  caret: {
13867
13867
  node: (u = t.node) !== null && u !== void 0 ? u : Vp(t) || i == null || (r = i.caret) === null || r === void 0 ? void 0 : r.node,
@@ -13872,19 +13872,19 @@ async function mx(e, t) {
13872
13872
  (Ge(e, W.Trigger), await e.system.pointer.press(e, t.keyDef, d), t.releaseSelf && (Ge(e, W.Trigger), await e.system.pointer.release(e, t.keyDef,
13873
13873
  d)))) : (Ge(e, W.Trigger), await e.system.pointer.move(e, a, d));
13874
13874
  }
13875
- o(mx, "pointerAction");
13875
+ o(mT, "pointerAction");
13876
13876
  function Vp(e) {
13877
13877
  var t, r;
13878
13878
  return !!((r = (t = e.target) !== null && t !== void 0 ? t : e.node) !== null && r !== void 0 ? r : e.offset !== void 0);
13879
13879
  }
13880
13880
  o(Vp, "hasCaretPosition");
13881
- function bx(e, t) {
13881
+ function bT(e, t) {
13882
13882
  if (!t)
13883
13883
  throw new Error("This pointer has no previous position. Provide a target property!");
13884
13884
  var r;
13885
13885
  return (r = t.target) !== null && r !== void 0 ? r : e.config.document.body;
13886
13886
  }
13887
- o(bx, "getPrevTarget");
13887
+ o(bT, "getPrevTarget");
13888
13888
 
13889
13889
  // ../node_modules/@testing-library/user-event/dist/esm/utility/clear.js
13890
13890
  async function zp(e) {
@@ -13892,7 +13892,7 @@ async function zp(e) {
13892
13892
  throw new Error("clear()` is only supported on editable elements.");
13893
13893
  if (J(e), e.ownerDocument.activeElement !== e)
13894
13894
  throw new Error("The element to be cleared could not be focused.");
13895
- if (Ra(e), !tp(e))
13895
+ if (qa(e), !tp(e))
13896
13896
  throw new Error("The element content to be cleared could not be selected.");
13897
13897
  de(this, e, "", "deleteContentBackward");
13898
13898
  }
@@ -13930,7 +13930,7 @@ async function Gp(e, t, r) {
13930
13930
  composed: !0
13931
13931
  }), this.dispatchUIEvent(t, "change");
13932
13932
  }, "selectOption");
13933
- if (T(t, "select"))
13933
+ if (x(t, "select"))
13934
13934
  if (t.multiple)
13935
13935
  for (let s of i) {
13936
13936
  let u = this.config.pointerEventsCheck === 0 ? !0 : bt(this, s);
@@ -14006,15 +14006,15 @@ o(Qp, "setFiles");
14006
14006
 
14007
14007
  // ../node_modules/@testing-library/user-event/dist/esm/utility/upload.js
14008
14008
  async function Jp(e, t) {
14009
- let r = T(e, "label") ? e.control : e;
14010
- if (!r || !T(r, "input", {
14009
+ let r = x(e, "label") ? e.control : e;
14010
+ if (!r || !x(r, "input", {
14011
14011
  type: "file"
14012
14012
  }))
14013
14013
  throw new TypeError(`The ${r === e ? "given" : "associated"} ${r?.tagName} element does not accept file uploads`);
14014
14014
  if (z(e)) return;
14015
14015
  let n = (Array.isArray(t) ? t : [
14016
14016
  t
14017
- ]).filter((i) => !this.config.applyAccept || vx(i, r.accept)).slice(0, r.multiple ? void 0 : 1), a = /* @__PURE__ */ o(() => {
14017
+ ]).filter((i) => !this.config.applyAccept || vT(i, r.accept)).slice(0, r.multiple ? void 0 : 1), a = /* @__PURE__ */ o(() => {
14018
14018
  var i;
14019
14019
  n.length === ((i = r.files) === null || i === void 0 ? void 0 : i.length) && n.every((l, s) => {
14020
14020
  var u;
@@ -14028,7 +14028,7 @@ function ka(e) {
14028
14028
  return e.toLowerCase().replace(/(\.|\/)jpg\b/g, "$1jpeg");
14029
14029
  }
14030
14030
  o(ka, "normalize");
14031
- function vx(e, t) {
14031
+ function vT(e, t) {
14032
14032
  if (!t)
14033
14033
  return !0;
14034
14034
  let r = [
@@ -14039,7 +14039,7 @@ function vx(e, t) {
14039
14039
  return ka(t).trim().split(/\s*,\s*/).some((n) => n.startsWith(".") ? ka(e.name).endsWith(n) : r.includes(n) ? ka(e.type).startsWith(n.replace(
14040
14040
  "*", "")) : ka(e.type) === n);
14041
14041
  }
14042
- o(vx, "isAcceptableFile");
14042
+ o(vT, "isAcceptableFile");
14043
14043
 
14044
14044
  // ../node_modules/@testing-library/user-event/dist/esm/setup/api.js
14045
14045
  var Zi = {
@@ -14081,12 +14081,12 @@ var em = {
14081
14081
  skipHover: !1,
14082
14082
  writeToClipboard: !1,
14083
14083
  advanceTimers: /* @__PURE__ */ o(() => Promise.resolve(), "advanceTimers")
14084
- }, hx = {
14084
+ }, hT = {
14085
14085
  ...em,
14086
14086
  writeToClipboard: !0
14087
14087
  };
14088
- function tm(e = {}, t = hx, r) {
14089
- let n = Ex(e, r, t);
14088
+ function tm(e = {}, t = hT, r) {
14089
+ let n = ET(e, r, t);
14090
14090
  return {
14091
14091
  ...t,
14092
14092
  ...e,
@@ -14116,14 +14116,14 @@ function $({ keyboardState: e, pointerState: t, ...r } = {}, n) {
14116
14116
  };
14117
14117
  }
14118
14118
  o($, "setupDirect");
14119
- function yx(e) {
14119
+ function yT(e) {
14120
14120
  return el({
14121
14121
  ...this.config,
14122
14122
  ...e
14123
14123
  }, this.system).api;
14124
14124
  }
14125
- o(yx, "setupSub");
14126
- function gx(e, t) {
14125
+ o(yT, "setupSub");
14126
+ function gT(e, t) {
14127
14127
  function r(...n) {
14128
14128
  return Ge(e, W.Call), Zp(() => t.apply(e, n).then(async (a) => (await me(e.config), a)));
14129
14129
  }
@@ -14131,7 +14131,7 @@ function gx(e, t) {
14131
14131
  get: /* @__PURE__ */ o(() => t.name, "get")
14132
14132
  }), r;
14133
14133
  }
14134
- o(gx, "wrapAndBindImpl");
14134
+ o(gT, "wrapAndBindImpl");
14135
14135
  function el(e, t = new Vt()) {
14136
14136
  let r = {};
14137
14137
  return Object.assign(r, {
@@ -14146,108 +14146,108 @@ function el(e, t = new Vt()) {
14146
14146
  api: {
14147
14147
  ...Object.fromEntries(Object.entries(Zi).map(([n, a]) => [
14148
14148
  n,
14149
- gx(r, a)
14149
+ gT(r, a)
14150
14150
  ])),
14151
- setup: yx.bind(r)
14151
+ setup: yT.bind(r)
14152
14152
  }
14153
14153
  };
14154
14154
  }
14155
14155
  o(el, "createInstance");
14156
- function Ex(e, t, r) {
14156
+ function ET(e, t, r) {
14157
14157
  var n, a;
14158
14158
  return (a = (n = e.document) !== null && n !== void 0 ? n : t && bp(t)) !== null && a !== void 0 ? a : r.document;
14159
14159
  }
14160
- o(Ex, "getDocument");
14160
+ o(ET, "getDocument");
14161
14161
 
14162
14162
  // ../node_modules/@testing-library/user-event/dist/esm/setup/directApi.js
14163
14163
  var tl = {};
14164
14164
  sl(tl, {
14165
- clear: () => Cx,
14166
- click: () => _x,
14167
- copy: () => wx,
14168
- cut: () => Px,
14169
- dblClick: () => Rx,
14170
- deselectOptions: () => qx,
14171
- hover: () => Tx,
14172
- keyboard: () => xx,
14173
- paste: () => Sx,
14174
- pointer: () => Ox,
14175
- selectOptions: () => Ax,
14176
- tab: () => Lx,
14177
- tripleClick: () => Mx,
14178
- type: () => Ix,
14179
- unhover: () => kx,
14180
- upload: () => Nx
14165
+ clear: () => CT,
14166
+ click: () => _T,
14167
+ copy: () => wT,
14168
+ cut: () => PT,
14169
+ dblClick: () => qT,
14170
+ deselectOptions: () => RT,
14171
+ hover: () => xT,
14172
+ keyboard: () => TT,
14173
+ paste: () => ST,
14174
+ pointer: () => OT,
14175
+ selectOptions: () => AT,
14176
+ tab: () => LT,
14177
+ tripleClick: () => MT,
14178
+ type: () => IT,
14179
+ unhover: () => kT,
14180
+ upload: () => NT
14181
14181
  });
14182
- function Cx(e) {
14182
+ function CT(e) {
14183
14183
  return $().api.clear(e);
14184
14184
  }
14185
- o(Cx, "clear");
14186
- function _x(e, t = {}) {
14185
+ o(CT, "clear");
14186
+ function _T(e, t = {}) {
14187
14187
  return $(t, e).api.click(e);
14188
14188
  }
14189
- o(_x, "click");
14190
- function wx(e = {}) {
14189
+ o(_T, "click");
14190
+ function wT(e = {}) {
14191
14191
  return $(e).api.copy();
14192
14192
  }
14193
- o(wx, "copy");
14194
- function Px(e = {}) {
14193
+ o(wT, "copy");
14194
+ function PT(e = {}) {
14195
14195
  return $(e).api.cut();
14196
14196
  }
14197
- o(Px, "cut");
14198
- function Rx(e, t = {}) {
14197
+ o(PT, "cut");
14198
+ function qT(e, t = {}) {
14199
14199
  return $(t).api.dblClick(e);
14200
14200
  }
14201
- o(Rx, "dblClick");
14202
- function qx(e, t, r = {}) {
14201
+ o(qT, "dblClick");
14202
+ function RT(e, t, r = {}) {
14203
14203
  return $(r).api.deselectOptions(e, t);
14204
14204
  }
14205
- o(qx, "deselectOptions");
14206
- function Tx(e, t = {}) {
14205
+ o(RT, "deselectOptions");
14206
+ function xT(e, t = {}) {
14207
14207
  return $(t).api.hover(e);
14208
14208
  }
14209
- o(Tx, "hover");
14210
- async function xx(e, t = {}) {
14209
+ o(xT, "hover");
14210
+ async function TT(e, t = {}) {
14211
14211
  let { api: r, system: n } = $(t);
14212
14212
  return r.keyboard(e).then(() => n);
14213
14213
  }
14214
- o(xx, "keyboard");
14215
- async function Ox(e, t = {}) {
14214
+ o(TT, "keyboard");
14215
+ async function OT(e, t = {}) {
14216
14216
  let { api: r, system: n } = $(t);
14217
14217
  return r.pointer(e).then(() => n);
14218
14218
  }
14219
- o(Ox, "pointer");
14220
- function Sx(e, t) {
14219
+ o(OT, "pointer");
14220
+ function ST(e, t) {
14221
14221
  return $(t).api.paste(e);
14222
14222
  }
14223
- o(Sx, "paste");
14224
- function Ax(e, t, r = {}) {
14223
+ o(ST, "paste");
14224
+ function AT(e, t, r = {}) {
14225
14225
  return $(r).api.selectOptions(e, t);
14226
14226
  }
14227
- o(Ax, "selectOptions");
14228
- function Mx(e, t = {}) {
14227
+ o(AT, "selectOptions");
14228
+ function MT(e, t = {}) {
14229
14229
  return $(t).api.tripleClick(e);
14230
14230
  }
14231
- o(Mx, "tripleClick");
14232
- function Ix(e, t, r = {}) {
14231
+ o(MT, "tripleClick");
14232
+ function IT(e, t, r = {}) {
14233
14233
  return $(r, e).api.type(e, t, r);
14234
14234
  }
14235
- o(Ix, "type");
14236
- function kx(e, t = {}) {
14235
+ o(IT, "type");
14236
+ function kT(e, t = {}) {
14237
14237
  let { api: r, system: n } = $(t);
14238
14238
  return n.pointer.setMousePosition({
14239
14239
  target: e
14240
14240
  }), r.unhover(e);
14241
14241
  }
14242
- o(kx, "unhover");
14243
- function Nx(e, t, r = {}) {
14242
+ o(kT, "unhover");
14243
+ function NT(e, t, r = {}) {
14244
14244
  return $(r).api.upload(e, t);
14245
14245
  }
14246
- o(Nx, "upload");
14247
- function Lx(e = {}) {
14246
+ o(NT, "upload");
14247
+ function LT(e = {}) {
14248
14248
  return $().api.tab(e);
14249
14249
  }
14250
- o(Lx, "tab");
14250
+ o(LT, "tab");
14251
14251
 
14252
14252
  // ../node_modules/@testing-library/user-event/dist/esm/setup/index.js
14253
14253
  var Na = {
@@ -14256,8 +14256,8 @@ var Na = {
14256
14256
  };
14257
14257
 
14258
14258
  // src/test/preview.ts
14259
- import { instrument as zx } from "storybook/internal/instrumenter";
14260
- import { definePreview as Wx } from "storybook/preview-api";
14259
+ import { instrument as zT } from "storybook/internal/instrumenter";
14260
+ import { definePreview as WT } from "storybook/preview-api";
14261
14261
 
14262
14262
  // ../node_modules/tinyspy/dist/index.js
14263
14263
  function La(e, t) {
@@ -14269,10 +14269,10 @@ function vt(e, t) {
14269
14269
  return typeof t === e;
14270
14270
  }
14271
14271
  o(vt, "y");
14272
- function Bx(e) {
14272
+ function BT(e) {
14273
14273
  return e instanceof Promise;
14274
14274
  }
14275
- o(Bx, "w");
14275
+ o(BT, "w");
14276
14276
  function rl(e, t, r) {
14277
14277
  Object.defineProperty(e, t, r);
14278
14278
  }
@@ -14281,11 +14281,11 @@ function ht(e, t, r) {
14281
14281
  Object.defineProperty(e, t, { value: r });
14282
14282
  }
14283
14283
  o(ht, "l");
14284
- var $t = Symbol.for("tinyspy:spy"), Dx = /* @__PURE__ */ new Set(), Fx = /* @__PURE__ */ o((e) => {
14284
+ var $t = Symbol.for("tinyspy:spy"), DT = /* @__PURE__ */ new Set(), FT = /* @__PURE__ */ o((e) => {
14285
14285
  e.called = !1, e.callCount = 0, e.calls = [], e.results = [], e.resolves = [], e.next = [];
14286
- }, "P"), jx = /* @__PURE__ */ o((e) => (rl(e, $t, { value: { reset: /* @__PURE__ */ o(() => Fx(e[$t]), "reset") } }), e[$t]), "K"), yt = /* @__PURE__ */ o(
14287
- (e) => e[$t] || jx(e), "T");
14288
- function Ux(e) {
14286
+ }, "P"), jT = /* @__PURE__ */ o((e) => (rl(e, $t, { value: { reset: /* @__PURE__ */ o(() => FT(e[$t]), "reset") } }), e[$t]), "K"), yt = /* @__PURE__ */ o(
14287
+ (e) => e[$t] || jT(e), "T");
14288
+ function UT(e) {
14289
14289
  La(
14290
14290
  vt("function", e) || vt("undefined", e),
14291
14291
  "cannot spy on a non-function value"
@@ -14309,7 +14309,7 @@ function Ux(e) {
14309
14309
  throw l = d, s = "error", a.results.push([s, d]), d;
14310
14310
  }
14311
14311
  let c = [s, l];
14312
- return Bx(l) && l.then(
14312
+ return BT(l) && l.then(
14313
14313
  (d) => a.resolves[u] = ["ok", d],
14314
14314
  (d) => a.resolves[u] = ["error", d]
14315
14315
  ), a.results.push(c), l;
@@ -14318,7 +14318,7 @@ function Ux(e) {
14318
14318
  let r = yt(t);
14319
14319
  return r.reset(), r.impl = e, t;
14320
14320
  }
14321
- o(Ux, "m");
14321
+ o(UT, "m");
14322
14322
  var nm = /* @__PURE__ */ o((e, t) => Object.getOwnPropertyDescriptor(e, t), "k"), om = /* @__PURE__ */ o((e, t) => {
14323
14323
  t != null && typeof t == "function" && t.prototype != null && Object.setPrototypeOf(e.prototype, t.prototype);
14324
14324
  }, "O");
@@ -14350,19 +14350,19 @@ function am(e, t, r) {
14350
14350
  let d;
14351
14351
  u ? d = u[a] : a !== "value" ? d = /* @__PURE__ */ o(() => e[n], "o") : d = e[n];
14352
14352
  let p = /* @__PURE__ */ o((C) => {
14353
- let { value: q, ...m } = u || {
14353
+ let { value: R, ...m } = u || {
14354
14354
  configurable: !0,
14355
14355
  writable: !0
14356
14356
  };
14357
14357
  a !== "value" && delete m.writable, m[a] = C, rl(e, n, m);
14358
14358
  }, "g"), h = /* @__PURE__ */ o(() => u ? rl(e, n, u) : p(d), "b");
14359
14359
  r || (r = d);
14360
- let b = Ux(r);
14360
+ let b = UT(r);
14361
14361
  a === "value" && om(b, d);
14362
14362
  let _ = b[$t];
14363
14363
  return ht(_, "restore", h), ht(_, "getOriginal", () => c ? d() : d), ht(_, "willCall", (C) => (_.impl = C, b)), p(
14364
14364
  c ? () => (om(b, r), b) : b
14365
- ), Dx.add(b), b;
14365
+ ), DT.add(b), b;
14366
14366
  }
14367
14367
  o(am, "C");
14368
14368
 
@@ -14372,8 +14372,8 @@ function nl(e) {
14372
14372
  return typeof e == "function" && "_isMockFunction" in e && e._isMockFunction;
14373
14373
  }
14374
14374
  o(nl, "isMockFunction");
14375
- var Hx = 0;
14376
- function Vx(e) {
14375
+ var HT = 0;
14376
+ function VT(e) {
14377
14377
  let t = e, r, n = [], a = [], i = [], l = yt(e), s = {
14378
14378
  get calls() {
14379
14379
  return l.calls;
@@ -14398,7 +14398,7 @@ function Vx(e) {
14398
14398
  }
14399
14399
  }, u = [], c = !1;
14400
14400
  function d(...b) {
14401
- return n.push(this), a.push(this), i.push(++Hx), (c ? r : u.shift() || r || l.getOriginal() || (() => {
14401
+ return n.push(this), a.push(this), i.push(++HT), (c ? r : u.shift() || r || l.getOriginal() || (() => {
14402
14402
  })).apply(this, b);
14403
14403
  }
14404
14404
  o(d, "mockCall");
@@ -14409,10 +14409,10 @@ function Vx(e) {
14409
14409
  function h(b, _) {
14410
14410
  let C = r;
14411
14411
  r = b, l.willCall(d), c = !0;
14412
- let q = /* @__PURE__ */ o(() => {
14412
+ let R = /* @__PURE__ */ o(() => {
14413
14413
  r = C, c = !1;
14414
14414
  }, "reset"), m = _();
14415
- return m instanceof Promise ? m.then(() => (q(), t)) : (q(), t);
14415
+ return m instanceof Promise ? m.then(() => (R(), t)) : (R(), t);
14416
14416
  }
14417
14417
  return o(h, "withImplementation"), t.withImplementation = h, t.mockReturnThis = () => t.mockImplementation(function() {
14418
14418
  return this;
@@ -14423,9 +14423,9 @@ function Vx(e) {
14423
14423
  get: /* @__PURE__ */ o(() => s, "get")
14424
14424
  }), l.willCall(d), zt.add(t), t;
14425
14425
  }
14426
- o(Vx, "enhanceSpy");
14426
+ o(VT, "enhanceSpy");
14427
14427
  function ol(e) {
14428
- let t = Vx(am({
14428
+ let t = VT(am({
14429
14429
  spy: e || function() {
14430
14430
  }
14431
14431
  }, "spy"));
@@ -14438,14 +14438,14 @@ var sm = globalThis.__STORYBOOK_TEST_SPY_LISTENERS__ || /* @__PURE__ */ new Set(
14438
14438
  globalThis.__STORYBOOK_TEST_SPY_LISTENERS__ = sm;
14439
14439
  function um(e) {
14440
14440
  let t = e ? ol(e) : ol();
14441
- return $x(t);
14441
+ return $T(t);
14442
14442
  }
14443
14443
  o(um, "fn");
14444
- function $x(e) {
14444
+ function $T(e) {
14445
14445
  let t = lm(e), r = t.mockImplementation.bind(null);
14446
14446
  return t.mockImplementation = (n) => lm(r(n)), t;
14447
14447
  }
14448
- o($x, "reactiveMock");
14448
+ o($T, "reactiveMock");
14449
14449
  function lm(e) {
14450
14450
  let t = yt(e), r = t.impl;
14451
14451
  return t.willCall(function(...n) {
@@ -14467,7 +14467,7 @@ function fm() {
14467
14467
  o(fm, "restoreAllMocks");
14468
14468
 
14469
14469
  // src/test/preview.ts
14470
- var Kx = /* @__PURE__ */ o(({ parameters: e }) => {
14470
+ var KT = /* @__PURE__ */ o(({ parameters: e }) => {
14471
14471
  e?.test?.mockReset === !0 ? dm() : e?.test?.clearMocks === !0 ? cm() : e?.test?.restoreMocks !== !1 && fm();
14472
14472
  }, "resetAllMocksLoader"), al = /* @__PURE__ */ o((e, t = 0, r) => {
14473
14473
  if (t > 5 || e == null)
@@ -14487,13 +14487,13 @@ var Kx = /* @__PURE__ */ o(({ parameters: e }) => {
14487
14487
  return e;
14488
14488
  }
14489
14489
  return e;
14490
- }, "traverseArgs"), Gx = /* @__PURE__ */ o(({ initialArgs: e }) => {
14490
+ }, "traverseArgs"), GT = /* @__PURE__ */ o(({ initialArgs: e }) => {
14491
14491
  al(e);
14492
- }, "nameSpiesAndWrapActionsInSpies"), Yx = /* @__PURE__ */ o(async (e) => {
14492
+ }, "nameSpiesAndWrapActionsInSpies"), YT = /* @__PURE__ */ o(async (e) => {
14493
14493
  globalThis.HTMLElement && e.canvasElement instanceof globalThis.HTMLElement && (e.canvas = ki(e.canvasElement)), globalThis.window?.navigator?.
14494
- clipboard && (e.userEvent = zx({ userEvent: Na.setup() }, { intercept: !0 }).userEvent);
14495
- }, "enhanceContext"), HF = /* @__PURE__ */ o(() => Wx({
14496
- loaders: [Kx, Gx, Yx]
14494
+ clipboard && (e.userEvent = zT({ userEvent: Na.setup() }, { intercept: !0 }).userEvent);
14495
+ }, "enhanceContext"), HF = /* @__PURE__ */ o(() => WT({
14496
+ loaders: [KT, GT, YT]
14497
14497
  }), "default");
14498
14498
  export {
14499
14499
  HF as default,