vitest 5.0.2 → 5.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/LICENSE.md +29 -1
  2. package/browser/context.d.ts +7 -1
  3. package/browser/context.js +5 -5
  4. package/dist/browser.d.ts +4 -4
  5. package/dist/browser.js +11 -11
  6. package/dist/chunks/{base.5tQXSzMP.js → base.CYbb9pQW.js} +39 -15
  7. package/dist/chunks/{browser.d.g5Thl309.d.ts → browser.d.FGQ9_rK6.d.ts} +3 -3
  8. package/dist/chunks/{cac.BLbEtnDd.js → cac.DTXWs6Ni.js} +21 -23
  9. package/dist/chunks/cli-api.Bx28WXzL.js +13879 -0
  10. package/dist/chunks/{config.d.CU_b-wJj.d.ts → config.d.QBNYCgFU.d.ts} +33 -24
  11. package/dist/chunks/{console.B09ye7y0.js → console.DtI4yxfN.js} +5 -4
  12. package/dist/chunks/{coverage.AipniaqB.js → coverage.-bm5IxnW.js} +1 -1
  13. package/dist/chunks/{coverage.CX7NN5s7.js → coverage.cTDc4uSS.js} +1 -1
  14. package/dist/chunks/{creator.2VTnpYzN.js → creator.CLL8QFMS.js} +44 -54
  15. package/dist/chunks/{defaults.D2ip7f-X.js → defaults.B1FCaFfh.js} +2 -2
  16. package/dist/chunks/{display.pkpxlVcY.js → display.BlTmubjj.js} +1 -1
  17. package/dist/chunks/{doctor.BCXa6-1R.js → doctor.Bqc8NDDb.js} +40 -41
  18. package/dist/chunks/{env.DzFJjrmK.js → env.BKKtU2WC.js} +1 -1
  19. package/dist/chunks/{environment.d.C6xYahWA.d.ts → environment.d.BY56MoGs.d.ts} +1 -1
  20. package/dist/chunks/{globals.Brdv9iOs.js → globals.CTWMSIPL.js} +10 -10
  21. package/dist/chunks/{index.C-uw7tH9.js → index.B8VfM7Mf.js} +8606 -20822
  22. package/dist/chunks/{index.DXQx-kDM.js → index.BoyTG_B7.js} +9 -4
  23. package/dist/chunks/{index.hTNFpC24.js → index.CPNMO3h-.js} +73 -50
  24. package/dist/chunks/{index.M2dsQ_UQ.js → index.D0heQG4v.js} +557 -183
  25. package/dist/chunks/{index.BgwtGYxD.js → index.GYMZ12wH.js} +5 -5
  26. package/dist/chunks/{index.DGdajAO2.js → index.uwTEEBsB.js} +94 -71
  27. package/dist/chunks/{init-forks.CdGu3HUy.js → init-forks.CbYYa5xq.js} +1 -1
  28. package/dist/chunks/{init-threads.2f_lsHNK.js → init-threads.DtjdvxPl.js} +1 -1
  29. package/dist/chunks/{init.IsjtLXKe.js → init.DrHtV5zd.js} +7 -7
  30. package/dist/chunks/module-dependencies.CwNPkcV4.js +71 -0
  31. package/dist/chunks/{native.CF4uT5hY.js → native.cdzHIdmv.js} +48 -34
  32. package/dist/chunks/{nativeModuleMocker.DwRB4F9R.js → nativeModuleMocker.D8f4cW4A.js} +2 -2
  33. package/dist/chunks/{nativeModuleRunner.J0QLzNtK.js → nativeModuleRunner.xi64Afb2.js} +1 -1
  34. package/dist/chunks/{node.CfQ_OGWr.js → node.uQulW0ei.js} +1 -1
  35. package/dist/chunks/{pathe.M-eThtNZ.DwEga6ro.js → pathe.M-eThtNZ.Ba-7h1rE.js} +9 -7
  36. package/dist/chunks/{plugin.d.My_z-jmU.d.ts → plugin.d.C8mmycim.d.ts} +109 -68
  37. package/dist/chunks/{plugins.Cigb0uSy.js → plugins.DPQHVT0p.js} +1 -1
  38. package/dist/chunks/{resolver.NpfwMKt9.js → resolver.CtCcxIy1.js} +1 -1
  39. package/dist/chunks/{rpc.CJVl3hZH.js → rpc.DpkUyY1N.js} +3 -2
  40. package/dist/chunks/{rpc.d.DA9Utv4e.d.ts → rpc.d.Cft1biqy.d.ts} +2 -1
  41. package/dist/chunks/{run.C5UmxDPh.js → run.Cm2sd7-x.js} +122 -97
  42. package/dist/chunks/{setup-common.Ct8rQvjH.js → setup-common.BABL3z3m.js} +3 -3
  43. package/dist/chunks/{source-map.BH0bbrs9.js → source-map.DdKI5IHB.js} +15 -10
  44. package/dist/chunks/{source-map.d.YqWNcp4e.d.ts → source-map.d.kzFtk_dj.d.ts} +1 -1
  45. package/dist/chunks/{spy.KLHgXex_.js → spy.DDMXghXv.js} +63 -32
  46. package/dist/chunks/{task-utils.d.BZm4GSQD.d.ts → task-utils.d.PFh2BV6Q.d.ts} +1 -1
  47. package/dist/chunks/tinyrainbow.Do8I1XRG.js +88 -0
  48. package/dist/chunks/{utils.CJ0JImL8.js → utils.DSfl_w8V.js} +44 -42
  49. package/dist/chunks/{vm.KI2AYADz.js → vm.Uo_C9Uld.js} +16 -13
  50. package/dist/chunks/{worker.d.MLmnzOJE.d.ts → worker.d.BH-r1bPu.d.ts} +8 -3
  51. package/dist/cli.js +4 -4
  52. package/dist/config.cjs +1 -1
  53. package/dist/config.d.ts +9 -10
  54. package/dist/config.js +2 -2
  55. package/dist/index.d.ts +10 -10
  56. package/dist/index.js +10 -10
  57. package/dist/module-evaluator.d.ts +3 -2
  58. package/dist/module-evaluator.js +8 -5
  59. package/dist/node.d.ts +9 -10
  60. package/dist/node.js +27 -26
  61. package/dist/runtime.d.ts +6 -6
  62. package/dist/runtime.js +4 -4
  63. package/dist/spy.js +1 -1
  64. package/dist/task-utils.js +7 -4
  65. package/dist/worker.d.ts +4 -4
  66. package/dist/worker.js +21 -20
  67. package/dist/workers/forks.js +19 -18
  68. package/dist/workers/runVmTests.js +23 -14
  69. package/dist/workers/threads.js +19 -18
  70. package/dist/workers/vmForks.js +13 -13
  71. package/dist/workers/vmThreads.js +13 -13
  72. package/globals.d.ts +19 -19
  73. package/index.cjs +3 -3
  74. package/optional-runtime-types.d.ts +1 -1
  75. package/optional-types.d.ts +1 -1
  76. package/package.json +35 -29
  77. package/suppress-warnings.cjs +1 -1
  78. package/dist/chunks/cli-api.DL4Bd7Vh.js +0 -528
  79. package/dist/chunks/tinyrainbow.Ht9iggcq.js +0 -95
@@ -1,21 +1,20 @@
1
- import { y } from './tinyrainbow.Ht9iggcq.js';
2
-
3
- function _mergeNamespaces$1(n, m) {
4
- m.forEach(function(e) {
5
- e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
6
- if (k !== "default" && !(k in n)) {
7
- var d = Object.getOwnPropertyDescriptor(e, k);
8
- Object.defineProperty(n, k, d.get ? d : {
9
- enumerable: true,
10
- get: function() {
11
- return e[k];
12
- }
13
- });
14
- }
15
- });
16
- });
17
- return Object.freeze(n);
1
+ import { $ } from './tinyrainbow.Do8I1XRG.js';
2
+
3
+ function _mergeNamespaces(n, m) {
4
+ m.forEach(function (e) {
5
+ e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
6
+ if (k !== 'default' && !(k in n)) {
7
+ var d = Object.getOwnPropertyDescriptor(e, k);
8
+ Object.defineProperty(n, k, d.get ? d : {
9
+ enumerable: true,
10
+ get: function () { return e[k]; }
11
+ });
12
+ }
13
+ });
14
+ });
15
+ return Object.freeze(n);
18
16
  }
17
+
19
18
  function getKeysOfEnumerableProperties(object, compareKeys) {
20
19
  const rawKeys = Object.keys(object);
21
20
  const keys = compareKeys === null ? rawKeys : rawKeys.sort(compareKeys);
@@ -141,6 +140,7 @@ const keyStrRegExp = /^[a-z_]\w*$/i;
141
140
  function isUnquotableKey(key) {
142
141
  return typeof key === "string" && key !== "__proto__" && keyStrRegExp.test(key);
143
142
  }
143
+
144
144
  const asymmetricMatcher = typeof Symbol === "function" && Symbol.for ? Symbol.for("jest.asymmetricMatcher") : 1267621;
145
145
  const SPACE$2 = " ";
146
146
  const serialize$5 = (val, config, indentation, depth, refs, printer) => {
@@ -163,6 +163,7 @@ const plugin$5 = {
163
163
  serialize: serialize$5,
164
164
  test: test$5
165
165
  };
166
+
166
167
  const SPACE$1 = " ";
167
168
  const OBJECT_NAMES = /* @__PURE__ */ new Set(["DOMStringMap", "NamedNodeMap"]);
168
169
  const ARRAY_REGEXP = /^(?:HTML\w*Collection|NodeList)$/;
@@ -185,6 +186,7 @@ const plugin$4 = {
185
186
  serialize: serialize$4,
186
187
  test: test$4
187
188
  };
189
+
188
190
  /**
189
191
  * Copyright (c) Meta Platforms, Inc. and affiliates.
190
192
  *
@@ -194,6 +196,7 @@ const plugin$4 = {
194
196
  function escapeHTML(str) {
195
197
  return str.replaceAll("<", "&lt;").replaceAll(">", "&gt;");
196
198
  }
199
+
197
200
  // Return empty string if keys is empty.
198
201
  function printProps(keys, props, config, indentation, depth, refs, printer) {
199
202
  const indentationNext = indentation + config.indent;
@@ -238,6 +241,7 @@ function printElementAsLeaf(type, config) {
238
241
  const tagColor = config.colors.tag;
239
242
  return `${tagColor.open}<${type}${tagColor.close} …${tagColor.open} />${tagColor.close}`;
240
243
  }
244
+
241
245
  const ELEMENT_NODE = 1;
242
246
  const TEXT_NODE = 3;
243
247
  const COMMENT_NODE = 8;
@@ -305,6 +309,7 @@ const plugin$3 = {
305
309
  serialize: serialize$3,
306
310
  test: test$3
307
311
  };
312
+
308
313
  // SENTINEL constants are from https://github.com/immutable-js/immutable-js
309
314
  const IS_ITERABLE_SENTINEL = "@@__IMMUTABLE_ITERABLE__@@";
310
315
  const IS_LIST_SENTINEL = "@@__IMMUTABLE_LIST__@@";
@@ -373,48 +378,75 @@ const plugin$2 = {
373
378
  serialize: serialize$2,
374
379
  test: test$2
375
380
  };
381
+
382
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
376
383
  function getDefaultExportFromCjs(x) {
377
384
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
378
385
  }
379
- var reactIs$1 = { exports: {} };
386
+
387
+ var reactIs$1 = {exports: {}};
388
+
380
389
  var reactIs_production = {};
390
+
381
391
  /**
382
- * @license React
383
- * react-is.production.js
384
- *
385
- * Copyright (c) Meta Platforms, Inc. and affiliates.
386
- *
387
- * This source code is licensed under the MIT license found in the
388
- * LICENSE file in the root directory of this source tree.
389
- */
392
+ * @license React
393
+ * react-is.production.js
394
+ *
395
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
396
+ *
397
+ * This source code is licensed under the MIT license found in the
398
+ * LICENSE file in the root directory of this source tree.
399
+ */
400
+
390
401
  var hasRequiredReactIs_production;
391
- function requireReactIs_production() {
402
+
403
+ function requireReactIs_production () {
392
404
  if (hasRequiredReactIs_production) return reactIs_production;
393
405
  hasRequiredReactIs_production = 1;
394
- 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"), 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_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
406
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
407
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
408
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
409
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
410
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
411
+ REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
412
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
413
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
414
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
415
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
416
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
417
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
418
+ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
419
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
395
420
  function typeOf(object) {
396
- if ("object" === typeof object && null !== object) {
397
- var $$typeof = object.$$typeof;
398
- switch ($$typeof) {
399
- case REACT_ELEMENT_TYPE: switch (object = object.type, object) {
400
- case REACT_FRAGMENT_TYPE:
401
- case REACT_PROFILER_TYPE:
402
- case REACT_STRICT_MODE_TYPE:
403
- case REACT_SUSPENSE_TYPE:
404
- case REACT_SUSPENSE_LIST_TYPE:
405
- case REACT_VIEW_TRANSITION_TYPE: return object;
406
- default: switch (object = object && object.$$typeof, object) {
407
- case REACT_CONTEXT_TYPE:
408
- case REACT_FORWARD_REF_TYPE:
409
- case REACT_LAZY_TYPE:
410
- case REACT_MEMO_TYPE: return object;
411
- case REACT_CONSUMER_TYPE: return object;
412
- default: return $$typeof;
413
- }
414
- }
415
- case REACT_PORTAL_TYPE: return $$typeof;
416
- }
417
- }
421
+ if ("object" === typeof object && null !== object) {
422
+ var $$typeof = object.$$typeof;
423
+ switch ($$typeof) {
424
+ case REACT_ELEMENT_TYPE:
425
+ switch (((object = object.type), object)) {
426
+ case REACT_FRAGMENT_TYPE:
427
+ case REACT_PROFILER_TYPE:
428
+ case REACT_STRICT_MODE_TYPE:
429
+ case REACT_SUSPENSE_TYPE:
430
+ case REACT_SUSPENSE_LIST_TYPE:
431
+ case REACT_VIEW_TRANSITION_TYPE:
432
+ return object;
433
+ default:
434
+ switch (((object = object && object.$$typeof), object)) {
435
+ case REACT_CONTEXT_TYPE:
436
+ case REACT_FORWARD_REF_TYPE:
437
+ case REACT_LAZY_TYPE:
438
+ case REACT_MEMO_TYPE:
439
+ return object;
440
+ case REACT_CONSUMER_TYPE:
441
+ return object;
442
+ default:
443
+ return $$typeof;
444
+ }
445
+ }
446
+ case REACT_PORTAL_TYPE:
447
+ return $$typeof;
448
+ }
449
+ }
418
450
  }
419
451
  reactIs_production.ContextConsumer = REACT_CONSUMER_TYPE;
420
452
  reactIs_production.ContextProvider = REACT_CONTEXT_TYPE;
@@ -428,172 +460,513 @@ function requireReactIs_production() {
428
460
  reactIs_production.StrictMode = REACT_STRICT_MODE_TYPE;
429
461
  reactIs_production.Suspense = REACT_SUSPENSE_TYPE;
430
462
  reactIs_production.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
431
- reactIs_production.isContextConsumer = function(object) {
432
- return typeOf(object) === REACT_CONSUMER_TYPE;
463
+ reactIs_production.isContextConsumer = function (object) {
464
+ return typeOf(object) === REACT_CONSUMER_TYPE;
433
465
  };
434
- reactIs_production.isContextProvider = function(object) {
435
- return typeOf(object) === REACT_CONTEXT_TYPE;
466
+ reactIs_production.isContextProvider = function (object) {
467
+ return typeOf(object) === REACT_CONTEXT_TYPE;
436
468
  };
437
- reactIs_production.isElement = function(object) {
438
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
469
+ reactIs_production.isElement = function (object) {
470
+ return (
471
+ "object" === typeof object &&
472
+ null !== object &&
473
+ object.$$typeof === REACT_ELEMENT_TYPE
474
+ );
439
475
  };
440
- reactIs_production.isForwardRef = function(object) {
441
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
476
+ reactIs_production.isForwardRef = function (object) {
477
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
442
478
  };
443
- reactIs_production.isFragment = function(object) {
444
- return typeOf(object) === REACT_FRAGMENT_TYPE;
479
+ reactIs_production.isFragment = function (object) {
480
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
445
481
  };
446
- reactIs_production.isLazy = function(object) {
447
- return typeOf(object) === REACT_LAZY_TYPE;
482
+ reactIs_production.isLazy = function (object) {
483
+ return typeOf(object) === REACT_LAZY_TYPE;
448
484
  };
449
- reactIs_production.isMemo = function(object) {
450
- return typeOf(object) === REACT_MEMO_TYPE;
485
+ reactIs_production.isMemo = function (object) {
486
+ return typeOf(object) === REACT_MEMO_TYPE;
451
487
  };
452
- reactIs_production.isPortal = function(object) {
453
- return typeOf(object) === REACT_PORTAL_TYPE;
488
+ reactIs_production.isPortal = function (object) {
489
+ return typeOf(object) === REACT_PORTAL_TYPE;
454
490
  };
455
- reactIs_production.isProfiler = function(object) {
456
- return typeOf(object) === REACT_PROFILER_TYPE;
491
+ reactIs_production.isProfiler = function (object) {
492
+ return typeOf(object) === REACT_PROFILER_TYPE;
457
493
  };
458
- reactIs_production.isStrictMode = function(object) {
459
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
494
+ reactIs_production.isStrictMode = function (object) {
495
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
460
496
  };
461
- reactIs_production.isSuspense = function(object) {
462
- return typeOf(object) === REACT_SUSPENSE_TYPE;
497
+ reactIs_production.isSuspense = function (object) {
498
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
463
499
  };
464
- reactIs_production.isSuspenseList = function(object) {
465
- return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
500
+ reactIs_production.isSuspenseList = function (object) {
501
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
466
502
  };
467
- reactIs_production.isValidElementType = function(type) {
468
- 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 || "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;
503
+ reactIs_production.isValidElementType = function (type) {
504
+ return "string" === typeof type ||
505
+ "function" === typeof type ||
506
+ type === REACT_FRAGMENT_TYPE ||
507
+ type === REACT_PROFILER_TYPE ||
508
+ type === REACT_STRICT_MODE_TYPE ||
509
+ type === REACT_SUSPENSE_TYPE ||
510
+ type === REACT_SUSPENSE_LIST_TYPE ||
511
+ type === REACT_VIEW_TRANSITION_TYPE ||
512
+ ("object" === typeof type &&
513
+ null !== type &&
514
+ (type.$$typeof === REACT_LAZY_TYPE ||
515
+ type.$$typeof === REACT_MEMO_TYPE ||
516
+ type.$$typeof === REACT_CONTEXT_TYPE ||
517
+ type.$$typeof === REACT_CONSUMER_TYPE ||
518
+ type.$$typeof === REACT_FORWARD_REF_TYPE ||
519
+ type.$$typeof === REACT_CLIENT_REFERENCE ||
520
+ void 0 !== type.getModuleId))
521
+ ? true
522
+ : false;
469
523
  };
470
524
  reactIs_production.typeOf = typeOf;
471
525
  return reactIs_production;
472
526
  }
527
+
528
+ var reactIs_development$1 = {};
529
+
530
+ /**
531
+ * @license React
532
+ * react-is.development.js
533
+ *
534
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
535
+ *
536
+ * This source code is licensed under the MIT license found in the
537
+ * LICENSE file in the root directory of this source tree.
538
+ */
539
+
540
+ var hasRequiredReactIs_development$1;
541
+
542
+ function requireReactIs_development$1 () {
543
+ if (hasRequiredReactIs_development$1) return reactIs_development$1;
544
+ hasRequiredReactIs_development$1 = 1;
545
+ "production" !== process.env.NODE_ENV &&
546
+ (function () {
547
+ function typeOf(object) {
548
+ if ("object" === typeof object && null !== object) {
549
+ var $$typeof = object.$$typeof;
550
+ switch ($$typeof) {
551
+ case REACT_ELEMENT_TYPE:
552
+ switch (((object = object.type), object)) {
553
+ case REACT_FRAGMENT_TYPE:
554
+ case REACT_PROFILER_TYPE:
555
+ case REACT_STRICT_MODE_TYPE:
556
+ case REACT_SUSPENSE_TYPE:
557
+ case REACT_SUSPENSE_LIST_TYPE:
558
+ case REACT_VIEW_TRANSITION_TYPE:
559
+ return object;
560
+ default:
561
+ switch (((object = object && object.$$typeof), object)) {
562
+ case REACT_CONTEXT_TYPE:
563
+ case REACT_FORWARD_REF_TYPE:
564
+ case REACT_LAZY_TYPE:
565
+ case REACT_MEMO_TYPE:
566
+ return object;
567
+ case REACT_CONSUMER_TYPE:
568
+ return object;
569
+ default:
570
+ return $$typeof;
571
+ }
572
+ }
573
+ case REACT_PORTAL_TYPE:
574
+ return $$typeof;
575
+ }
576
+ }
577
+ }
578
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
579
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
580
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
581
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
582
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
583
+ REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
584
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
585
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
586
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
587
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
588
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
589
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
590
+ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
591
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
592
+ reactIs_development$1.ContextConsumer = REACT_CONSUMER_TYPE;
593
+ reactIs_development$1.ContextProvider = REACT_CONTEXT_TYPE;
594
+ reactIs_development$1.Element = REACT_ELEMENT_TYPE;
595
+ reactIs_development$1.ForwardRef = REACT_FORWARD_REF_TYPE;
596
+ reactIs_development$1.Fragment = REACT_FRAGMENT_TYPE;
597
+ reactIs_development$1.Lazy = REACT_LAZY_TYPE;
598
+ reactIs_development$1.Memo = REACT_MEMO_TYPE;
599
+ reactIs_development$1.Portal = REACT_PORTAL_TYPE;
600
+ reactIs_development$1.Profiler = REACT_PROFILER_TYPE;
601
+ reactIs_development$1.StrictMode = REACT_STRICT_MODE_TYPE;
602
+ reactIs_development$1.Suspense = REACT_SUSPENSE_TYPE;
603
+ reactIs_development$1.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
604
+ reactIs_development$1.isContextConsumer = function (object) {
605
+ return typeOf(object) === REACT_CONSUMER_TYPE;
606
+ };
607
+ reactIs_development$1.isContextProvider = function (object) {
608
+ return typeOf(object) === REACT_CONTEXT_TYPE;
609
+ };
610
+ reactIs_development$1.isElement = function (object) {
611
+ return (
612
+ "object" === typeof object &&
613
+ null !== object &&
614
+ object.$$typeof === REACT_ELEMENT_TYPE
615
+ );
616
+ };
617
+ reactIs_development$1.isForwardRef = function (object) {
618
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
619
+ };
620
+ reactIs_development$1.isFragment = function (object) {
621
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
622
+ };
623
+ reactIs_development$1.isLazy = function (object) {
624
+ return typeOf(object) === REACT_LAZY_TYPE;
625
+ };
626
+ reactIs_development$1.isMemo = function (object) {
627
+ return typeOf(object) === REACT_MEMO_TYPE;
628
+ };
629
+ reactIs_development$1.isPortal = function (object) {
630
+ return typeOf(object) === REACT_PORTAL_TYPE;
631
+ };
632
+ reactIs_development$1.isProfiler = function (object) {
633
+ return typeOf(object) === REACT_PROFILER_TYPE;
634
+ };
635
+ reactIs_development$1.isStrictMode = function (object) {
636
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
637
+ };
638
+ reactIs_development$1.isSuspense = function (object) {
639
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
640
+ };
641
+ reactIs_development$1.isSuspenseList = function (object) {
642
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
643
+ };
644
+ reactIs_development$1.isValidElementType = function (type) {
645
+ return "string" === typeof type ||
646
+ "function" === typeof type ||
647
+ type === REACT_FRAGMENT_TYPE ||
648
+ type === REACT_PROFILER_TYPE ||
649
+ type === REACT_STRICT_MODE_TYPE ||
650
+ type === REACT_SUSPENSE_TYPE ||
651
+ type === REACT_SUSPENSE_LIST_TYPE ||
652
+ type === REACT_VIEW_TRANSITION_TYPE ||
653
+ ("object" === typeof type &&
654
+ null !== type &&
655
+ (type.$$typeof === REACT_LAZY_TYPE ||
656
+ type.$$typeof === REACT_MEMO_TYPE ||
657
+ type.$$typeof === REACT_CONTEXT_TYPE ||
658
+ type.$$typeof === REACT_CONSUMER_TYPE ||
659
+ type.$$typeof === REACT_FORWARD_REF_TYPE ||
660
+ type.$$typeof === REACT_CLIENT_REFERENCE ||
661
+ void 0 !== type.getModuleId))
662
+ ? true
663
+ : false;
664
+ };
665
+ reactIs_development$1.typeOf = typeOf;
666
+ })();
667
+ return reactIs_development$1;
668
+ }
669
+
473
670
  var hasRequiredReactIs$1;
474
- function requireReactIs$1() {
671
+
672
+ function requireReactIs$1 () {
475
673
  if (hasRequiredReactIs$1) return reactIs$1.exports;
476
674
  hasRequiredReactIs$1 = 1;
477
- reactIs$1.exports = requireReactIs_production();
675
+
676
+ if (process.env.NODE_ENV === 'production') {
677
+ reactIs$1.exports = requireReactIs_production();
678
+ } else {
679
+ reactIs$1.exports = requireReactIs_development$1();
680
+ }
478
681
  return reactIs$1.exports;
479
682
  }
683
+
480
684
  var reactIsExports$1 = requireReactIs$1();
481
- var ReactIs19 = /*#__PURE__*/ _mergeNamespaces$1({
482
- __proto__: null,
483
- default: /* @__PURE__ */ getDefaultExportFromCjs(reactIsExports$1)
685
+ var index$1 = /*@__PURE__*/getDefaultExportFromCjs(reactIsExports$1);
686
+
687
+ var ReactIs19 = /*#__PURE__*/_mergeNamespaces({
688
+ __proto__: null,
689
+ default: index$1
484
690
  }, [reactIsExports$1]);
485
- var reactIs = { exports: {} };
691
+
692
+ var reactIs = {exports: {}};
693
+
486
694
  var reactIs_production_min = {};
695
+
487
696
  /**
488
- * @license React
489
- * react-is.production.min.js
490
- *
491
- * Copyright (c) Facebook, Inc. and its affiliates.
492
- *
493
- * This source code is licensed under the MIT license found in the
494
- * LICENSE file in the root directory of this source tree.
495
- */
697
+ * @license React
698
+ * react-is.production.min.js
699
+ *
700
+ * Copyright (c) Facebook, Inc. and its affiliates.
701
+ *
702
+ * This source code is licensed under the MIT license found in the
703
+ * LICENSE file in the root directory of this source tree.
704
+ */
705
+
496
706
  var hasRequiredReactIs_production_min;
497
- function requireReactIs_production_min() {
707
+
708
+ function requireReactIs_production_min () {
498
709
  if (hasRequiredReactIs_production_min) return reactIs_production_min;
499
710
  hasRequiredReactIs_production_min = 1;
500
- var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u = Symbol.for("react.module.reference");
501
- function v(a) {
502
- if ("object" === typeof a && null !== a) {
503
- var r = a.$$typeof;
504
- switch (r) {
505
- case b: switch (a = a.type, a) {
506
- case d:
507
- case f:
508
- case e:
509
- case m:
510
- case n: return a;
511
- default: switch (a = a && a.$$typeof, a) {
512
- case k:
513
- case h:
514
- case l:
515
- case q:
516
- case p:
517
- case g: return a;
518
- default: return r;
519
- }
520
- }
521
- case c: return r;
522
- }
523
- }
524
- }
525
- reactIs_production_min.ContextConsumer = h;
526
- reactIs_production_min.ContextProvider = g;
527
- reactIs_production_min.Element = b;
528
- reactIs_production_min.ForwardRef = l;
529
- reactIs_production_min.Fragment = d;
530
- reactIs_production_min.Lazy = q;
531
- reactIs_production_min.Memo = p;
532
- reactIs_production_min.Portal = c;
533
- reactIs_production_min.Profiler = f;
534
- reactIs_production_min.StrictMode = e;
535
- reactIs_production_min.Suspense = m;
536
- reactIs_production_min.SuspenseList = n;
537
- reactIs_production_min.isAsyncMode = function() {
538
- return false;
539
- };
540
- reactIs_production_min.isConcurrentMode = function() {
541
- return false;
542
- };
543
- reactIs_production_min.isContextConsumer = function(a) {
544
- return v(a) === h;
545
- };
546
- reactIs_production_min.isContextProvider = function(a) {
547
- return v(a) === g;
548
- };
549
- reactIs_production_min.isElement = function(a) {
550
- return "object" === typeof a && null !== a && a.$$typeof === b;
551
- };
552
- reactIs_production_min.isForwardRef = function(a) {
553
- return v(a) === l;
554
- };
555
- reactIs_production_min.isFragment = function(a) {
556
- return v(a) === d;
557
- };
558
- reactIs_production_min.isLazy = function(a) {
559
- return v(a) === q;
560
- };
561
- reactIs_production_min.isMemo = function(a) {
562
- return v(a) === p;
563
- };
564
- reactIs_production_min.isPortal = function(a) {
565
- return v(a) === c;
566
- };
567
- reactIs_production_min.isProfiler = function(a) {
568
- return v(a) === f;
569
- };
570
- reactIs_production_min.isStrictMode = function(a) {
571
- return v(a) === e;
572
- };
573
- reactIs_production_min.isSuspense = function(a) {
574
- return v(a) === m;
575
- };
576
- reactIs_production_min.isSuspenseList = function(a) {
577
- return v(a) === n;
578
- };
579
- reactIs_production_min.isValidElementType = function(a) {
580
- return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? true : false;
581
- };
582
- reactIs_production_min.typeOf = v;
711
+ var b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),n=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen"),u;u=Symbol.for("react.module.reference");
712
+ function v(a){if("object"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=g;reactIs_production_min.Element=b;reactIs_production_min.ForwardRef=l;reactIs_production_min.Fragment=d;reactIs_production_min.Lazy=q;reactIs_production_min.Memo=p;reactIs_production_min.Portal=c;reactIs_production_min.Profiler=f;reactIs_production_min.StrictMode=e;reactIs_production_min.Suspense=m;
713
+ reactIs_production_min.SuspenseList=n;reactIs_production_min.isAsyncMode=function(){return false};reactIs_production_min.isConcurrentMode=function(){return false};reactIs_production_min.isContextConsumer=function(a){return v(a)===h};reactIs_production_min.isContextProvider=function(a){return v(a)===g};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return v(a)===l};reactIs_production_min.isFragment=function(a){return v(a)===d};reactIs_production_min.isLazy=function(a){return v(a)===q};reactIs_production_min.isMemo=function(a){return v(a)===p};
714
+ reactIs_production_min.isPortal=function(a){return v(a)===c};reactIs_production_min.isProfiler=function(a){return v(a)===f};reactIs_production_min.isStrictMode=function(a){return v(a)===e};reactIs_production_min.isSuspense=function(a){return v(a)===m};reactIs_production_min.isSuspenseList=function(a){return v(a)===n};
715
+ reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?true:false};reactIs_production_min.typeOf=v;
583
716
  return reactIs_production_min;
584
717
  }
718
+
719
+ var reactIs_development = {};
720
+
721
+ /**
722
+ * @license React
723
+ * react-is.development.js
724
+ *
725
+ * Copyright (c) Facebook, Inc. and its affiliates.
726
+ *
727
+ * This source code is licensed under the MIT license found in the
728
+ * LICENSE file in the root directory of this source tree.
729
+ */
730
+
731
+ var hasRequiredReactIs_development;
732
+
733
+ function requireReactIs_development () {
734
+ if (hasRequiredReactIs_development) return reactIs_development;
735
+ hasRequiredReactIs_development = 1;
736
+
737
+ if (process.env.NODE_ENV !== "production") {
738
+ (function() {
739
+
740
+ // ATTENTION
741
+ // When adding new symbols to this file,
742
+ // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
743
+ // The Symbol used to tag the ReactElement-like types.
744
+ var REACT_ELEMENT_TYPE = Symbol.for('react.element');
745
+ var REACT_PORTAL_TYPE = Symbol.for('react.portal');
746
+ var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
747
+ var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
748
+ var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
749
+ var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
750
+ var REACT_CONTEXT_TYPE = Symbol.for('react.context');
751
+ var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
752
+ var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
753
+ var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
754
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
755
+ var REACT_MEMO_TYPE = Symbol.for('react.memo');
756
+ var REACT_LAZY_TYPE = Symbol.for('react.lazy');
757
+ var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
758
+
759
+ // -----------------------------------------------------------------------------
760
+
761
+ var enableScopeAPI = false; // Experimental Create Event Handle API.
762
+ var enableCacheElement = false;
763
+ var enableTransitionTracing = false; // No known bugs, but needs performance testing
764
+
765
+ var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
766
+ // stuff. Intended to enable React core members to more easily debug scheduling
767
+ // issues in DEV builds.
768
+
769
+ var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
770
+
771
+ var REACT_MODULE_REFERENCE;
772
+
773
+ {
774
+ REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
775
+ }
776
+
777
+ function isValidElementType(type) {
778
+ if (typeof type === 'string' || typeof type === 'function') {
779
+ return true;
780
+ } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
781
+
782
+
783
+ if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {
784
+ return true;
785
+ }
786
+
787
+ if (typeof type === 'object' && type !== null) {
788
+ if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
789
+ // types supported by any Flight configuration anywhere since
790
+ // we don't know which Flight build this will end up being used
791
+ // with.
792
+ type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
793
+ return true;
794
+ }
795
+ }
796
+
797
+ return false;
798
+ }
799
+
800
+ function typeOf(object) {
801
+ if (typeof object === 'object' && object !== null) {
802
+ var $$typeof = object.$$typeof;
803
+
804
+ switch ($$typeof) {
805
+ case REACT_ELEMENT_TYPE:
806
+ var type = object.type;
807
+
808
+ switch (type) {
809
+ case REACT_FRAGMENT_TYPE:
810
+ case REACT_PROFILER_TYPE:
811
+ case REACT_STRICT_MODE_TYPE:
812
+ case REACT_SUSPENSE_TYPE:
813
+ case REACT_SUSPENSE_LIST_TYPE:
814
+ return type;
815
+
816
+ default:
817
+ var $$typeofType = type && type.$$typeof;
818
+
819
+ switch ($$typeofType) {
820
+ case REACT_SERVER_CONTEXT_TYPE:
821
+ case REACT_CONTEXT_TYPE:
822
+ case REACT_FORWARD_REF_TYPE:
823
+ case REACT_LAZY_TYPE:
824
+ case REACT_MEMO_TYPE:
825
+ case REACT_PROVIDER_TYPE:
826
+ return $$typeofType;
827
+
828
+ default:
829
+ return $$typeof;
830
+ }
831
+
832
+ }
833
+
834
+ case REACT_PORTAL_TYPE:
835
+ return $$typeof;
836
+ }
837
+ }
838
+
839
+ return undefined;
840
+ }
841
+ var ContextConsumer = REACT_CONTEXT_TYPE;
842
+ var ContextProvider = REACT_PROVIDER_TYPE;
843
+ var Element = REACT_ELEMENT_TYPE;
844
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
845
+ var Fragment = REACT_FRAGMENT_TYPE;
846
+ var Lazy = REACT_LAZY_TYPE;
847
+ var Memo = REACT_MEMO_TYPE;
848
+ var Portal = REACT_PORTAL_TYPE;
849
+ var Profiler = REACT_PROFILER_TYPE;
850
+ var StrictMode = REACT_STRICT_MODE_TYPE;
851
+ var Suspense = REACT_SUSPENSE_TYPE;
852
+ var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
853
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
854
+ var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
855
+
856
+ function isAsyncMode(object) {
857
+ {
858
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
859
+ hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
860
+
861
+ console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
862
+ }
863
+ }
864
+
865
+ return false;
866
+ }
867
+ function isConcurrentMode(object) {
868
+ {
869
+ if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
870
+ hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
871
+
872
+ console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
873
+ }
874
+ }
875
+
876
+ return false;
877
+ }
878
+ function isContextConsumer(object) {
879
+ return typeOf(object) === REACT_CONTEXT_TYPE;
880
+ }
881
+ function isContextProvider(object) {
882
+ return typeOf(object) === REACT_PROVIDER_TYPE;
883
+ }
884
+ function isElement(object) {
885
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
886
+ }
887
+ function isForwardRef(object) {
888
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
889
+ }
890
+ function isFragment(object) {
891
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
892
+ }
893
+ function isLazy(object) {
894
+ return typeOf(object) === REACT_LAZY_TYPE;
895
+ }
896
+ function isMemo(object) {
897
+ return typeOf(object) === REACT_MEMO_TYPE;
898
+ }
899
+ function isPortal(object) {
900
+ return typeOf(object) === REACT_PORTAL_TYPE;
901
+ }
902
+ function isProfiler(object) {
903
+ return typeOf(object) === REACT_PROFILER_TYPE;
904
+ }
905
+ function isStrictMode(object) {
906
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
907
+ }
908
+ function isSuspense(object) {
909
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
910
+ }
911
+ function isSuspenseList(object) {
912
+ return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
913
+ }
914
+
915
+ reactIs_development.ContextConsumer = ContextConsumer;
916
+ reactIs_development.ContextProvider = ContextProvider;
917
+ reactIs_development.Element = Element;
918
+ reactIs_development.ForwardRef = ForwardRef;
919
+ reactIs_development.Fragment = Fragment;
920
+ reactIs_development.Lazy = Lazy;
921
+ reactIs_development.Memo = Memo;
922
+ reactIs_development.Portal = Portal;
923
+ reactIs_development.Profiler = Profiler;
924
+ reactIs_development.StrictMode = StrictMode;
925
+ reactIs_development.Suspense = Suspense;
926
+ reactIs_development.SuspenseList = SuspenseList;
927
+ reactIs_development.isAsyncMode = isAsyncMode;
928
+ reactIs_development.isConcurrentMode = isConcurrentMode;
929
+ reactIs_development.isContextConsumer = isContextConsumer;
930
+ reactIs_development.isContextProvider = isContextProvider;
931
+ reactIs_development.isElement = isElement;
932
+ reactIs_development.isForwardRef = isForwardRef;
933
+ reactIs_development.isFragment = isFragment;
934
+ reactIs_development.isLazy = isLazy;
935
+ reactIs_development.isMemo = isMemo;
936
+ reactIs_development.isPortal = isPortal;
937
+ reactIs_development.isProfiler = isProfiler;
938
+ reactIs_development.isStrictMode = isStrictMode;
939
+ reactIs_development.isSuspense = isSuspense;
940
+ reactIs_development.isSuspenseList = isSuspenseList;
941
+ reactIs_development.isValidElementType = isValidElementType;
942
+ reactIs_development.typeOf = typeOf;
943
+ })();
944
+ }
945
+ return reactIs_development;
946
+ }
947
+
585
948
  var hasRequiredReactIs;
586
- function requireReactIs() {
949
+
950
+ function requireReactIs () {
587
951
  if (hasRequiredReactIs) return reactIs.exports;
588
952
  hasRequiredReactIs = 1;
589
- reactIs.exports = requireReactIs_production_min();
953
+
954
+ if (process.env.NODE_ENV === 'production') {
955
+ reactIs.exports = requireReactIs_production_min();
956
+ } else {
957
+ reactIs.exports = requireReactIs_development();
958
+ }
590
959
  return reactIs.exports;
591
960
  }
961
+
592
962
  var reactIsExports = requireReactIs();
593
- var ReactIs18 = /*#__PURE__*/ _mergeNamespaces$1({
594
- __proto__: null,
595
- default: /* @__PURE__ */ getDefaultExportFromCjs(reactIsExports)
963
+ var index = /*@__PURE__*/getDefaultExportFromCjs(reactIsExports);
964
+
965
+ var ReactIs18 = /*#__PURE__*/_mergeNamespaces({
966
+ __proto__: null,
967
+ default: index
596
968
  }, [reactIsExports]);
969
+
597
970
  const ReactIs = Object.fromEntries([
598
971
  "isAsyncMode",
599
972
  "isConcurrentMode",
@@ -649,6 +1022,7 @@ const plugin$1 = {
649
1022
  serialize: serialize$1,
650
1023
  test: test$1
651
1024
  };
1025
+
652
1026
  const testSymbol = typeof Symbol === "function" && Symbol.for ? Symbol.for("react.test.json") : 245830487;
653
1027
  function getPropKeys(object) {
654
1028
  const { props } = object;
@@ -660,6 +1034,7 @@ const plugin = {
660
1034
  serialize,
661
1035
  test
662
1036
  };
1037
+
663
1038
  const toString = Object.prototype.toString;
664
1039
  const toISOString = Date.prototype.toISOString;
665
1040
  const errorToString = Error.prototype.toString;
@@ -675,7 +1050,6 @@ function getConstructorName(val) {
675
1050
  function isWindow(val) {
676
1051
  return typeof window !== "undefined" && val === window;
677
1052
  }
678
- // eslint-disable-next-line regexp/no-super-linear-backtracking
679
1053
  const SYMBOL_REGEXP = /^Symbol\((.*)\)(.*)$/;
680
1054
  const NEWLINE_REGEXP = /\n/g;
681
1055
  class PrettyFormatPluginError extends Error {
@@ -699,7 +1073,7 @@ function printFunction(val, printFunctionName) {
699
1073
  return `[Function ${val.name || "anonymous"}]`;
700
1074
  }
701
1075
  function printSymbol(val) {
702
- return String(val).replace(SYMBOL_REGEXP, "Symbol($1)");
1076
+ return Symbol.prototype.toString.call(val).replace(SYMBOL_REGEXP, "Symbol($1)");
703
1077
  }
704
1078
  function printError(val) {
705
1079
  return `[${errorToString.call(val)}]`;
@@ -867,7 +1241,7 @@ function validateOptions(options) {
867
1241
  function getColorsHighlight() {
868
1242
  return DEFAULT_THEME_KEYS.reduce((colors, key) => {
869
1243
  const value = DEFAULT_THEME[key];
870
- const color = value && y[value];
1244
+ const color = value && $[value];
871
1245
  if (color && typeof color.close === "string" && typeof color.open === "string") colors[key] = color;
872
1246
  else throw new Error(`pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`);
873
1247
  return colors;
@@ -941,4 +1315,4 @@ const plugins = {
941
1315
  Error: ErrorPlugin
942
1316
  };
943
1317
 
944
- export { createDOMElementFilter as c, format as f, plugins as p };
1318
+ export { commonjsGlobal as a, createDOMElementFilter as c, format as f, getDefaultExportFromCjs as g, plugins as p };