@noma.to/qwik-testing-library 1.3.0 → 1.3.1

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 (85) hide show
  1. package/lib/lib/mock.qwik.cjs +3 -3
  2. package/lib/lib/mock.qwik.mjs +1 -1
  3. package/lib/lib/qwik-testing-library.qwik.cjs +2 -2
  4. package/lib/lib/qwik-testing-library.qwik.mjs +3 -3
  5. package/lib/lib/qwikloader.qwik.cjs +1 -1
  6. package/lib/lib/qwikloader.qwik.mjs +1 -1
  7. package/lib/node_modules/.pnpm/{@vitest_expect@2.1.8 → @vitest_expect@3.0.5}/node_modules/@vitest/expect/dist/index.qwik.cjs +175 -35
  8. package/lib/node_modules/.pnpm/{@vitest_expect@2.1.8 → @vitest_expect@3.0.5}/node_modules/@vitest/expect/dist/index.qwik.mjs +180 -40
  9. package/lib/node_modules/.pnpm/{@vitest_pretty-format@2.1.8 → @vitest_pretty-format@3.0.5}/node_modules/@vitest/pretty-format/dist/index.qwik.cjs +301 -10
  10. package/lib/node_modules/.pnpm/{@vitest_pretty-format@2.1.8 → @vitest_pretty-format@3.0.5}/node_modules/@vitest/pretty-format/dist/index.qwik.mjs +306 -15
  11. package/lib/node_modules/.pnpm/{@vitest_runner@2.1.8 → @vitest_runner@3.0.5}/node_modules/@vitest/runner/dist/chunk-tasks.qwik.cjs +1 -1
  12. package/lib/node_modules/.pnpm/{@vitest_runner@2.1.8 → @vitest_runner@3.0.5}/node_modules/@vitest/runner/dist/chunk-tasks.qwik.mjs +1 -1
  13. package/lib/node_modules/.pnpm/{@vitest_runner@2.1.8 → @vitest_runner@3.0.5}/node_modules/@vitest/runner/dist/index.qwik.cjs +130 -44
  14. package/lib/node_modules/.pnpm/{@vitest_runner@2.1.8 → @vitest_runner@3.0.5}/node_modules/@vitest/runner/dist/index.qwik.mjs +130 -44
  15. package/lib/node_modules/.pnpm/{@vitest_snapshot@2.1.8 → @vitest_snapshot@3.0.5}/node_modules/@vitest/snapshot/dist/index.qwik.cjs +119 -84
  16. package/lib/node_modules/.pnpm/{@vitest_snapshot@2.1.8 → @vitest_snapshot@3.0.5}/node_modules/@vitest/snapshot/dist/index.qwik.mjs +119 -84
  17. package/lib/node_modules/.pnpm/{@vitest_spy@2.1.8 → @vitest_spy@3.0.5}/node_modules/@vitest/spy/dist/index.qwik.cjs +20 -3
  18. package/lib/node_modules/.pnpm/{@vitest_spy@2.1.8 → @vitest_spy@3.0.5}/node_modules/@vitest/spy/dist/index.qwik.mjs +20 -3
  19. package/lib/node_modules/.pnpm/{@vitest_utils@2.1.8 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.qwik.cjs +3 -3
  20. package/lib/node_modules/.pnpm/{@vitest_utils@2.1.8 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.qwik.mjs +3 -3
  21. package/lib/node_modules/.pnpm/{@vitest_utils@2.1.8 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/diff.qwik.cjs +37 -21
  22. package/lib/node_modules/.pnpm/{@vitest_utils@2.1.8 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/diff.qwik.mjs +37 -21
  23. package/lib/node_modules/.pnpm/{@vitest_utils@2.1.8 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/error.qwik.cjs +2 -2
  24. package/lib/node_modules/.pnpm/{@vitest_utils@2.1.8 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/error.qwik.mjs +2 -2
  25. package/lib/node_modules/.pnpm/{@vitest_utils@2.1.8 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/helpers.qwik.cjs +1 -1
  26. package/lib/node_modules/.pnpm/{@vitest_utils@2.1.8 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/helpers.qwik.mjs +1 -1
  27. package/lib/node_modules/.pnpm/{@vitest_utils@2.1.8 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/index.qwik.cjs +6 -4
  28. package/lib/node_modules/.pnpm/{@vitest_utils@2.1.8 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/index.qwik.mjs +6 -4
  29. package/lib/node_modules/.pnpm/{@vitest_utils@2.1.8 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/source-map.qwik.cjs +1 -1
  30. package/lib/node_modules/.pnpm/{@vitest_utils@2.1.8 → @vitest_utils@3.0.5}/node_modules/@vitest/utils/dist/source-map.qwik.mjs +1 -1
  31. package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/index.qwik.mjs +6 -6
  32. package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/map.qwik.cjs +1 -3
  33. package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/map.qwik.mjs +1 -3
  34. package/lib/node_modules/.pnpm/{pathe@1.1.2/node_modules/pathe/dist/shared/pathe.ff20891b.qwik.cjs → pathe@2.0.2/node_modules/pathe/dist/shared/pathe.UZ-hd4nF.qwik.cjs} +2 -2
  35. package/lib/node_modules/.pnpm/{pathe@1.1.2/node_modules/pathe/dist/shared/pathe.ff20891b.qwik.mjs → pathe@2.0.2/node_modules/pathe/dist/shared/pathe.UZ-hd4nF.qwik.mjs} +2 -2
  36. package/lib/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.qwik.cjs +4 -0
  37. package/lib/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.qwik.mjs +5 -0
  38. package/lib/node_modules/.pnpm/{vitest@2.1.8_@types_node@22.10.3_@vitest_ui@2.1.8_jsdom@26.0.0 → vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0}/node_modules/vitest/dist/chunks/utils.C8RiOc4B.qwik.cjs +1 -1
  39. package/lib/node_modules/.pnpm/{vitest@2.1.8_@types_node@22.10.3_@vitest_ui@2.1.8_jsdom@26.0.0 → vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0}/node_modules/vitest/dist/chunks/utils.C8RiOc4B.qwik.mjs +1 -1
  40. package/lib/node_modules/.pnpm/{vitest@2.1.8_@types_node@22.10.3_@vitest_ui@2.1.8_jsdom@26.0.0/node_modules/vitest/dist/chunks/vi.DgezovHB.qwik.cjs → vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0/node_modules/vitest/dist/chunks/vi.CjhMlMwf.qwik.cjs} +439 -211
  41. package/lib/node_modules/.pnpm/{vitest@2.1.8_@types_node@22.10.3_@vitest_ui@2.1.8_jsdom@26.0.0/node_modules/vitest/dist/chunks/vi.DgezovHB.qwik.mjs → vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0/node_modules/vitest/dist/chunks/vi.CjhMlMwf.qwik.mjs} +415 -187
  42. package/package.json +8 -8
  43. package/lib/node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/browser.qwik.cjs +0 -7
  44. package/lib/node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/browser.qwik.mjs +0 -8
  45. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/arguments.qwik.cjs +0 -0
  46. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/arguments.qwik.mjs +0 -0
  47. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/array.qwik.cjs +0 -0
  48. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/array.qwik.mjs +0 -0
  49. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/bigint.qwik.cjs +0 -0
  50. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/bigint.qwik.mjs +0 -0
  51. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/class.qwik.cjs +0 -0
  52. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/class.qwik.mjs +0 -0
  53. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/date.qwik.cjs +0 -0
  54. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/date.qwik.mjs +0 -0
  55. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/error.qwik.cjs +0 -0
  56. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/error.qwik.mjs +0 -0
  57. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/function.qwik.cjs +0 -0
  58. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/function.qwik.mjs +0 -0
  59. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/helpers.qwik.cjs +0 -0
  60. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/helpers.qwik.mjs +0 -0
  61. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/html.qwik.cjs +0 -0
  62. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/html.qwik.mjs +0 -0
  63. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/index.qwik.cjs +0 -0
  64. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/number.qwik.cjs +0 -0
  65. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/number.qwik.mjs +0 -0
  66. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/object.qwik.cjs +0 -0
  67. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/object.qwik.mjs +0 -0
  68. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/promise.qwik.cjs +0 -0
  69. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/promise.qwik.mjs +0 -0
  70. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/regexp.qwik.cjs +0 -0
  71. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/regexp.qwik.mjs +0 -0
  72. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/set.qwik.cjs +0 -0
  73. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/set.qwik.mjs +0 -0
  74. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/string.qwik.cjs +0 -0
  75. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/string.qwik.mjs +0 -0
  76. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/symbol.qwik.cjs +0 -0
  77. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/symbol.qwik.mjs +0 -0
  78. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/typedarray.qwik.cjs +0 -0
  79. /package/lib/node_modules/.pnpm/{loupe@3.1.2 → loupe@3.1.3}/node_modules/loupe/lib/typedarray.qwik.mjs +0 -0
  80. /package/lib/node_modules/.pnpm/{tinyrainbow@1.2.0 → tinyrainbow@2.0.0}/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.qwik.cjs +0 -0
  81. /package/lib/node_modules/.pnpm/{tinyrainbow@1.2.0 → tinyrainbow@2.0.0}/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.qwik.mjs +0 -0
  82. /package/lib/node_modules/.pnpm/{vitest@2.1.8_@types_node@22.10.3_@vitest_ui@2.1.8_jsdom@26.0.0 → vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.qwik.cjs +0 -0
  83. /package/lib/node_modules/.pnpm/{vitest@2.1.8_@types_node@22.10.3_@vitest_ui@2.1.8_jsdom@26.0.0 → vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.qwik.mjs +0 -0
  84. /package/lib/node_modules/.pnpm/{vitest@2.1.8_@types_node@22.10.3_@vitest_ui@2.1.8_jsdom@26.0.0 → vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0}/node_modules/vitest/dist/chunks/date.W2xKR2qe.qwik.cjs +0 -0
  85. /package/lib/node_modules/.pnpm/{vitest@2.1.8_@types_node@22.10.3_@vitest_ui@2.1.8_jsdom@26.0.0 → vitest@3.0.5_@types_node@22.13.1_@vitest_ui@3.0.5_jiti@2.4.2_jsdom@26.0.0}/node_modules/vitest/dist/chunks/date.W2xKR2qe.qwik.mjs +0 -0
@@ -1,6 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const browser = require("../../../../../tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/browser.qwik.cjs");
3
+ const browser = require("../../../../../tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/browser.qwik.cjs");
4
+ function _mergeNamespaces$1(n, m) {
5
+ m.forEach(function(e) {
6
+ e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
7
+ if (k !== "default" && !(k in n)) {
8
+ var d = Object.getOwnPropertyDescriptor(e, k);
9
+ Object.defineProperty(n, k, d.get ? d : {
10
+ enumerable: true,
11
+ get: function() {
12
+ return e[k];
13
+ }
14
+ });
15
+ }
16
+ });
17
+ });
18
+ return Object.freeze(n);
19
+ }
4
20
  function getKeysOfEnumerableProperties(object, compareKeys) {
5
21
  const rawKeys = Object.keys(object);
6
22
  const keys = compareKeys === null ? rawKeys : rawKeys.sort(compareKeys);
@@ -458,6 +474,229 @@ const serialize$2 = (val, config, indentation, depth, refs, printer2) => {
458
474
  };
459
475
  const test$2 = (val) => val && (val[IS_ITERABLE_SENTINEL] === true || val[IS_RECORD_SENTINEL] === true);
460
476
  const plugin$2 = { serialize: serialize$2, test: test$2 };
477
+ function getDefaultExportFromCjs(x) {
478
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
479
+ }
480
+ var reactIs$1 = { exports: {} };
481
+ var reactIs_production = {};
482
+ /**
483
+ * @license React
484
+ * react-is.production.js
485
+ *
486
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
487
+ *
488
+ * This source code is licensed under the MIT license found in the
489
+ * LICENSE file in the root directory of this source tree.
490
+ */
491
+ var hasRequiredReactIs_production;
492
+ function requireReactIs_production() {
493
+ if (hasRequiredReactIs_production) return reactIs_production;
494
+ hasRequiredReactIs_production = 1;
495
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
496
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
497
+ function typeOf(object) {
498
+ if ("object" === typeof object && null !== object) {
499
+ var $$typeof = object.$$typeof;
500
+ switch ($$typeof) {
501
+ case REACT_ELEMENT_TYPE:
502
+ switch (object = object.type, object) {
503
+ case REACT_FRAGMENT_TYPE:
504
+ case REACT_PROFILER_TYPE:
505
+ case REACT_STRICT_MODE_TYPE:
506
+ case REACT_SUSPENSE_TYPE:
507
+ case REACT_SUSPENSE_LIST_TYPE:
508
+ return object;
509
+ default:
510
+ switch (object = object && object.$$typeof, object) {
511
+ case REACT_CONTEXT_TYPE:
512
+ case REACT_FORWARD_REF_TYPE:
513
+ case REACT_LAZY_TYPE:
514
+ case REACT_MEMO_TYPE:
515
+ return object;
516
+ case REACT_CONSUMER_TYPE:
517
+ return object;
518
+ default:
519
+ return $$typeof;
520
+ }
521
+ }
522
+ case REACT_PORTAL_TYPE:
523
+ return $$typeof;
524
+ }
525
+ }
526
+ }
527
+ reactIs_production.ContextConsumer = REACT_CONSUMER_TYPE;
528
+ reactIs_production.ContextProvider = REACT_CONTEXT_TYPE;
529
+ reactIs_production.Element = REACT_ELEMENT_TYPE;
530
+ reactIs_production.ForwardRef = REACT_FORWARD_REF_TYPE;
531
+ reactIs_production.Fragment = REACT_FRAGMENT_TYPE;
532
+ reactIs_production.Lazy = REACT_LAZY_TYPE;
533
+ reactIs_production.Memo = REACT_MEMO_TYPE;
534
+ reactIs_production.Portal = REACT_PORTAL_TYPE;
535
+ reactIs_production.Profiler = REACT_PROFILER_TYPE;
536
+ reactIs_production.StrictMode = REACT_STRICT_MODE_TYPE;
537
+ reactIs_production.Suspense = REACT_SUSPENSE_TYPE;
538
+ reactIs_production.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
539
+ reactIs_production.isContextConsumer = function(object) {
540
+ return typeOf(object) === REACT_CONSUMER_TYPE;
541
+ };
542
+ reactIs_production.isContextProvider = function(object) {
543
+ return typeOf(object) === REACT_CONTEXT_TYPE;
544
+ };
545
+ reactIs_production.isElement = function(object) {
546
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
547
+ };
548
+ reactIs_production.isForwardRef = function(object) {
549
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
550
+ };
551
+ reactIs_production.isFragment = function(object) {
552
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
553
+ };
554
+ reactIs_production.isLazy = function(object) {
555
+ return typeOf(object) === REACT_LAZY_TYPE;
556
+ };
557
+ reactIs_production.isMemo = function(object) {
558
+ return typeOf(object) === REACT_MEMO_TYPE;
559
+ };
560
+ reactIs_production.isPortal = function(object) {
561
+ return typeOf(object) === REACT_PORTAL_TYPE;
562
+ };
563
+ reactIs_production.isProfiler = function(object) {
564
+ return typeOf(object) === REACT_PROFILER_TYPE;
565
+ };
566
+ reactIs_production.isStrictMode = function(object) {
567
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
568
+ };
569
+ reactIs_production.isSuspense = function(object) {
570
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
571
+ };
572
+ reactIs_production.isSuspenseList = function(object) {
573
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
574
+ };
575
+ reactIs_production.isValidElementType = function(type) {
576
+ return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_OFFSCREEN_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
577
+ };
578
+ reactIs_production.typeOf = typeOf;
579
+ return reactIs_production;
580
+ }
581
+ var reactIs_development$1 = {};
582
+ /**
583
+ * @license React
584
+ * react-is.development.js
585
+ *
586
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
587
+ *
588
+ * This source code is licensed under the MIT license found in the
589
+ * LICENSE file in the root directory of this source tree.
590
+ */
591
+ var hasRequiredReactIs_development$1;
592
+ function requireReactIs_development$1() {
593
+ if (hasRequiredReactIs_development$1) return reactIs_development$1;
594
+ hasRequiredReactIs_development$1 = 1;
595
+ "production" !== process.env.NODE_ENV && function() {
596
+ function typeOf(object) {
597
+ if ("object" === typeof object && null !== object) {
598
+ var $$typeof = object.$$typeof;
599
+ switch ($$typeof) {
600
+ case REACT_ELEMENT_TYPE:
601
+ switch (object = object.type, object) {
602
+ case REACT_FRAGMENT_TYPE:
603
+ case REACT_PROFILER_TYPE:
604
+ case REACT_STRICT_MODE_TYPE:
605
+ case REACT_SUSPENSE_TYPE:
606
+ case REACT_SUSPENSE_LIST_TYPE:
607
+ return object;
608
+ default:
609
+ switch (object = object && object.$$typeof, object) {
610
+ case REACT_CONTEXT_TYPE:
611
+ case REACT_FORWARD_REF_TYPE:
612
+ case REACT_LAZY_TYPE:
613
+ case REACT_MEMO_TYPE:
614
+ return object;
615
+ case REACT_CONSUMER_TYPE:
616
+ return object;
617
+ default:
618
+ return $$typeof;
619
+ }
620
+ }
621
+ case REACT_PORTAL_TYPE:
622
+ return $$typeof;
623
+ }
624
+ }
625
+ }
626
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
627
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
628
+ reactIs_development$1.ContextConsumer = REACT_CONSUMER_TYPE;
629
+ reactIs_development$1.ContextProvider = REACT_CONTEXT_TYPE;
630
+ reactIs_development$1.Element = REACT_ELEMENT_TYPE;
631
+ reactIs_development$1.ForwardRef = REACT_FORWARD_REF_TYPE;
632
+ reactIs_development$1.Fragment = REACT_FRAGMENT_TYPE;
633
+ reactIs_development$1.Lazy = REACT_LAZY_TYPE;
634
+ reactIs_development$1.Memo = REACT_MEMO_TYPE;
635
+ reactIs_development$1.Portal = REACT_PORTAL_TYPE;
636
+ reactIs_development$1.Profiler = REACT_PROFILER_TYPE;
637
+ reactIs_development$1.StrictMode = REACT_STRICT_MODE_TYPE;
638
+ reactIs_development$1.Suspense = REACT_SUSPENSE_TYPE;
639
+ reactIs_development$1.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
640
+ reactIs_development$1.isContextConsumer = function(object) {
641
+ return typeOf(object) === REACT_CONSUMER_TYPE;
642
+ };
643
+ reactIs_development$1.isContextProvider = function(object) {
644
+ return typeOf(object) === REACT_CONTEXT_TYPE;
645
+ };
646
+ reactIs_development$1.isElement = function(object) {
647
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
648
+ };
649
+ reactIs_development$1.isForwardRef = function(object) {
650
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
651
+ };
652
+ reactIs_development$1.isFragment = function(object) {
653
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
654
+ };
655
+ reactIs_development$1.isLazy = function(object) {
656
+ return typeOf(object) === REACT_LAZY_TYPE;
657
+ };
658
+ reactIs_development$1.isMemo = function(object) {
659
+ return typeOf(object) === REACT_MEMO_TYPE;
660
+ };
661
+ reactIs_development$1.isPortal = function(object) {
662
+ return typeOf(object) === REACT_PORTAL_TYPE;
663
+ };
664
+ reactIs_development$1.isProfiler = function(object) {
665
+ return typeOf(object) === REACT_PROFILER_TYPE;
666
+ };
667
+ reactIs_development$1.isStrictMode = function(object) {
668
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
669
+ };
670
+ reactIs_development$1.isSuspense = function(object) {
671
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
672
+ };
673
+ reactIs_development$1.isSuspenseList = function(object) {
674
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
675
+ };
676
+ reactIs_development$1.isValidElementType = function(type) {
677
+ return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_OFFSCREEN_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
678
+ };
679
+ reactIs_development$1.typeOf = typeOf;
680
+ }();
681
+ return reactIs_development$1;
682
+ }
683
+ var hasRequiredReactIs$1;
684
+ function requireReactIs$1() {
685
+ if (hasRequiredReactIs$1) return reactIs$1.exports;
686
+ hasRequiredReactIs$1 = 1;
687
+ if (process.env.NODE_ENV === "production") {
688
+ reactIs$1.exports = requireReactIs_production();
689
+ } else {
690
+ reactIs$1.exports = requireReactIs_development$1();
691
+ }
692
+ return reactIs$1.exports;
693
+ }
694
+ var reactIsExports$1 = /* @__PURE__ */ requireReactIs$1();
695
+ var index$1 = /* @__PURE__ */ getDefaultExportFromCjs(reactIsExports$1);
696
+ var ReactIs19 = /* @__PURE__ */ _mergeNamespaces$1({
697
+ __proto__: null,
698
+ default: index$1
699
+ }, [reactIsExports$1]);
461
700
  var reactIs = { exports: {} };
462
701
  var reactIs_production_min = {};
463
702
  /**
@@ -767,6 +1006,31 @@ function requireReactIs() {
767
1006
  return reactIs.exports;
768
1007
  }
769
1008
  var reactIsExports = requireReactIs();
1009
+ var index = /* @__PURE__ */ getDefaultExportFromCjs(reactIsExports);
1010
+ var ReactIs18 = /* @__PURE__ */ _mergeNamespaces$1({
1011
+ __proto__: null,
1012
+ default: index
1013
+ }, [reactIsExports]);
1014
+ const reactIsMethods = [
1015
+ "isAsyncMode",
1016
+ "isConcurrentMode",
1017
+ "isContextConsumer",
1018
+ "isContextProvider",
1019
+ "isElement",
1020
+ "isForwardRef",
1021
+ "isFragment",
1022
+ "isLazy",
1023
+ "isMemo",
1024
+ "isPortal",
1025
+ "isProfiler",
1026
+ "isStrictMode",
1027
+ "isSuspense",
1028
+ "isSuspenseList",
1029
+ "isValidElementType"
1030
+ ];
1031
+ const ReactIs = Object.fromEntries(
1032
+ reactIsMethods.map((m) => [m, (v) => ReactIs18[m](v) || ReactIs19[m](v)])
1033
+ );
770
1034
  function getChildren(arg, children = []) {
771
1035
  if (Array.isArray(arg)) {
772
1036
  for (const item of arg) {
@@ -785,27 +1049,27 @@ function getType(element) {
785
1049
  if (typeof type === "function") {
786
1050
  return type.displayName || type.name || "Unknown";
787
1051
  }
788
- if (reactIsExports.isFragment(element)) {
1052
+ if (ReactIs.isFragment(element)) {
789
1053
  return "React.Fragment";
790
1054
  }
791
- if (reactIsExports.isSuspense(element)) {
1055
+ if (ReactIs.isSuspense(element)) {
792
1056
  return "React.Suspense";
793
1057
  }
794
1058
  if (typeof type === "object" && type !== null) {
795
- if (reactIsExports.isContextProvider(element)) {
1059
+ if (ReactIs.isContextProvider(element)) {
796
1060
  return "Context.Provider";
797
1061
  }
798
- if (reactIsExports.isContextConsumer(element)) {
1062
+ if (ReactIs.isContextConsumer(element)) {
799
1063
  return "Context.Consumer";
800
1064
  }
801
- if (reactIsExports.isForwardRef(element)) {
1065
+ if (ReactIs.isForwardRef(element)) {
802
1066
  if (type.displayName) {
803
1067
  return type.displayName;
804
1068
  }
805
1069
  const functionName = type.render.displayName || type.render.name || "";
806
1070
  return functionName === "" ? "ForwardRef" : `ForwardRef(${functionName})`;
807
1071
  }
808
- if (reactIsExports.isMemo(element)) {
1072
+ if (ReactIs.isMemo(element)) {
809
1073
  const functionName = type.displayName || type.type.displayName || type.type.name || "";
810
1074
  return functionName === "" ? "Memo" : `Memo(${functionName})`;
811
1075
  }
@@ -838,7 +1102,7 @@ const serialize$1 = (element, config, indentation, depth, refs, printer2) => ++d
838
1102
  config,
839
1103
  indentation
840
1104
  );
841
- const test$1 = (val) => val != null && reactIsExports.isElement(val);
1105
+ const test$1 = (val) => val != null && ReactIs.isElement(val);
842
1106
  const plugin$1 = { serialize: serialize$1, test: test$1 };
843
1107
  const testSymbol = typeof Symbol === "function" && Symbol.for ? Symbol.for("react.test.json") : 245830487;
844
1108
  function getPropKeys(object) {
@@ -1023,6 +1287,32 @@ function printComplexValue(val, config, indentation, depth, refs, hasCalledToJSO
1023
1287
  printer
1024
1288
  )}}`;
1025
1289
  }
1290
+ const ErrorPlugin = {
1291
+ test: (val) => val && val instanceof Error,
1292
+ serialize(val, config, indentation, depth, refs, printer2) {
1293
+ if (refs.includes(val)) {
1294
+ return "[Circular]";
1295
+ }
1296
+ refs = [...refs, val];
1297
+ const hitMaxDepth = ++depth > config.maxDepth;
1298
+ const { message, cause, ...rest } = val;
1299
+ const entries = {
1300
+ message,
1301
+ ...typeof cause !== "undefined" ? { cause } : {},
1302
+ ...val instanceof AggregateError ? { errors: val.errors } : {},
1303
+ ...rest
1304
+ };
1305
+ const name = val.name !== "Error" ? val.name : getConstructorName(val);
1306
+ return hitMaxDepth ? `[${name}]` : `${name} {${printIteratorEntries(
1307
+ Object.entries(entries).values(),
1308
+ config,
1309
+ indentation,
1310
+ depth,
1311
+ refs,
1312
+ printer2
1313
+ )}}`;
1314
+ }
1315
+ };
1026
1316
  function isNewPlugin(plugin2) {
1027
1317
  return plugin2.serialize != null;
1028
1318
  }
@@ -1127,7 +1417,7 @@ function validateOptions(options) {
1127
1417
  function getColorsHighlight() {
1128
1418
  return DEFAULT_THEME_KEYS.reduce((colors, key) => {
1129
1419
  const value = DEFAULT_THEME[key];
1130
- const color = value && browser.default[value];
1420
+ const color = value && browser[value];
1131
1421
  if (color && typeof color.close === "string" && typeof color.open === "string") {
1132
1422
  colors[key] = color;
1133
1423
  } else {
@@ -1201,7 +1491,8 @@ const plugins = {
1201
1491
  DOMElement: plugin$3,
1202
1492
  Immutable: plugin$2,
1203
1493
  ReactElement: plugin$1,
1204
- ReactTestComponent: plugin
1494
+ ReactTestComponent: plugin,
1495
+ Error: ErrorPlugin
1205
1496
  };
1206
1497
  exports.DEFAULT_OPTIONS = DEFAULT_OPTIONS;
1207
1498
  exports.format = format;