@kubb/react-fabric 0.13.0 → 0.13.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 (47) hide show
  1. package/dist/{chunk-DbZtQ4qb.js → chunk-Cnw5r_-A.js} +1 -5
  2. package/dist/{getFunctionParams-BaDz1zZu.d.cts → getFunctionParams-BJb7Kd-D.d.ts} +2 -1
  3. package/dist/{getFunctionParams-CINBJQGH.d.ts → getFunctionParams-ClT1iMr_.d.ts} +2 -3
  4. package/dist/globals.d.ts +2 -2
  5. package/dist/index.cjs +27 -27
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.d.ts +4 -4
  8. package/dist/index.js +28 -28
  9. package/dist/index.js.map +1 -1
  10. package/dist/jsx-dev-runtime.cjs +4 -21
  11. package/dist/jsx-dev-runtime.cjs.map +1 -1
  12. package/dist/jsx-dev-runtime.d.ts +3 -3
  13. package/dist/jsx-dev-runtime.js +5 -22
  14. package/dist/jsx-dev-runtime.js.map +1 -1
  15. package/dist/{jsx-namespace-Bg7Kfg54.d.ts → jsx-namespace-BLQ6SvuD.d.ts} +2 -2
  16. package/dist/{jsx-namespace-zRAnd-2Y.d.cts → jsx-namespace-CFK460kI.d.ts} +3 -3
  17. package/dist/{jsx-runtime-CRt7_dDm.cjs → jsx-runtime-7CEZevwV.cjs} +5 -23
  18. package/dist/{jsx-runtime-CRt7_dDm.cjs.map → jsx-runtime-7CEZevwV.cjs.map} +1 -1
  19. package/dist/{jsx-runtime-CQFBnRKx.js → jsx-runtime-Dm7PKVbc.js} +6 -24
  20. package/dist/{jsx-runtime-CQFBnRKx.js.map → jsx-runtime-Dm7PKVbc.js.map} +1 -1
  21. package/dist/jsx-runtime.cjs +4 -3
  22. package/dist/jsx-runtime.d.ts +3 -3
  23. package/dist/jsx-runtime.js +5 -4
  24. package/dist/plugins.cjs +3 -3
  25. package/dist/plugins.d.ts +1 -1
  26. package/dist/plugins.js +3 -3
  27. package/dist/{react--draJ5Pm.js → react-D652OKii.js} +31 -91
  28. package/dist/{react--draJ5Pm.js.map → react-D652OKii.js.map} +1 -1
  29. package/dist/{react-s8IDJhpB.cjs → react-DorQ0Kea.cjs} +30 -100
  30. package/dist/{react-s8IDJhpB.cjs.map → react-DorQ0Kea.cjs.map} +1 -1
  31. package/dist/{reactPlugin-D7d08sbQ.d.ts → reactPlugin-BAQFl4pj.d.ts} +2 -2
  32. package/dist/{reactPlugin-CQr7EBIP.js → reactPlugin-BkDkx1cs.js} +407 -1646
  33. package/dist/reactPlugin-BkDkx1cs.js.map +1 -0
  34. package/dist/{reactPlugin-CfilrfRJ.d.cts → reactPlugin-Ch2aSTYS.d.ts} +3 -3
  35. package/dist/{reactPlugin-9aTetBnU.cjs → reactPlugin-DTg048L6.cjs} +406 -1663
  36. package/dist/reactPlugin-DTg048L6.cjs.map +1 -0
  37. package/dist/types.d.ts +4 -3
  38. package/package.json +5 -5
  39. package/dist/globals.d.cts +0 -23
  40. package/dist/index.d.cts +0 -346
  41. package/dist/jsx-dev-runtime.d.cts +0 -13
  42. package/dist/jsx-runtime.d.cts +0 -15
  43. package/dist/parsers.d.cts +0 -1
  44. package/dist/plugins.d.cts +0 -3
  45. package/dist/reactPlugin-9aTetBnU.cjs.map +0 -1
  46. package/dist/reactPlugin-CQr7EBIP.js.map +0 -1
  47. package/dist/types.d.cts +0 -61
@@ -1,4 +1,4 @@
1
- const require_react$1 = require('./react-s8IDJhpB.cjs');
1
+ const require_react$1 = require('./react-DorQ0Kea.cjs');
2
2
  const require_jsx_runtime = require('./jsx-runtime.cjs');
3
3
  let _kubb_fabric_core = require("@kubb/fabric-core");
4
4
  let _kubb_fabric_core_plugins = require("@kubb/fabric-core/plugins");
@@ -6,55 +6,11 @@ let node_process = require("node:process");
6
6
  node_process = require_react$1.__toESM(node_process);
7
7
  let _kubb_fabric_core_parsers_typescript = require("@kubb/fabric-core/parsers/typescript");
8
8
 
9
- //#region \0@oxc-project+runtime@0.112.0/helpers/typeof.js
10
- function _typeof(o) {
11
- "@babel/helpers - typeof";
12
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
13
- return typeof o;
14
- } : function(o) {
15
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
16
- }, _typeof(o);
17
- }
18
-
19
- //#endregion
20
- //#region \0@oxc-project+runtime@0.112.0/helpers/toPrimitive.js
21
- function toPrimitive(t, r) {
22
- if ("object" != _typeof(t) || !t) return t;
23
- var e = t[Symbol.toPrimitive];
24
- if (void 0 !== e) {
25
- var i = e.call(t, r || "default");
26
- if ("object" != _typeof(i)) return i;
27
- throw new TypeError("@@toPrimitive must return a primitive value.");
28
- }
29
- return ("string" === r ? String : Number)(t);
30
- }
31
-
32
- //#endregion
33
- //#region \0@oxc-project+runtime@0.112.0/helpers/toPropertyKey.js
34
- function toPropertyKey(t) {
35
- var i = toPrimitive(t, "string");
36
- return "symbol" == _typeof(i) ? i : i + "";
37
- }
38
-
39
- //#endregion
40
- //#region \0@oxc-project+runtime@0.112.0/helpers/defineProperty.js
41
- function _defineProperty(e, r, t) {
42
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
43
- value: t,
44
- enumerable: !0,
45
- configurable: !0,
46
- writable: !0
47
- }) : e[r] = t, e;
48
- }
49
-
50
- //#endregion
51
9
  //#region src/components/Root.tsx
52
10
  var import_react = /* @__PURE__ */ require_react$1.__toESM(require_react$1.require_react());
53
11
  var ErrorBoundary = class extends import_react.Component {
54
- constructor(..._args) {
55
- super(..._args);
56
- _defineProperty(this, "state", { hasError: false });
57
- }
12
+ state = { hasError: false };
13
+ static displayName = "ErrorBoundary";
58
14
  static getDerivedStateFromError(_error) {
59
15
  return { hasError: true };
60
16
  }
@@ -66,7 +22,6 @@ var ErrorBoundary = class extends import_react.Component {
66
22
  return this.props.children;
67
23
  }
68
24
  };
69
- _defineProperty(ErrorBoundary, "displayName", "ErrorBoundary");
70
25
  /**
71
26
  * This component provides the root behavior for the Fabric runtime.
72
27
  */
@@ -102,8 +57,7 @@ var require_scheduler_production = /* @__PURE__ */ require_react$1.__commonJSMin
102
57
  var index = heap.length;
103
58
  heap.push(node);
104
59
  a: for (; 0 < index;) {
105
- var parentIndex = index - 1 >>> 1;
106
- var parent = heap[parentIndex];
60
+ var parentIndex = index - 1 >>> 1, parent = heap[parentIndex];
107
61
  if (0 < compare(parent, node)) heap[parentIndex] = node, heap[index] = parent, index = parentIndex;
108
62
  else break a;
109
63
  }
@@ -113,15 +67,11 @@ var require_scheduler_production = /* @__PURE__ */ require_react$1.__commonJSMin
113
67
  }
114
68
  function pop(heap) {
115
69
  if (0 === heap.length) return null;
116
- var first = heap[0];
117
- var last = heap.pop();
70
+ var first = heap[0], last = heap.pop();
118
71
  if (last !== first) {
119
72
  heap[0] = last;
120
73
  a: for (var index = 0, length = heap.length, halfLength = length >>> 1; index < halfLength;) {
121
- var leftIndex = 2 * (index + 1) - 1;
122
- var left = heap[leftIndex];
123
- var rightIndex = leftIndex + 1;
124
- var right = heap[rightIndex];
74
+ var leftIndex = 2 * (index + 1) - 1, left = heap[leftIndex], rightIndex = leftIndex + 1, right = heap[rightIndex];
125
75
  if (0 > compare(left, last)) rightIndex < length && 0 > compare(right, left) ? (heap[index] = right, heap[rightIndex] = last, index = rightIndex) : (heap[index] = left, heap[leftIndex] = last, index = leftIndex);
126
76
  else if (rightIndex < length && 0 > compare(right, last)) heap[index] = right, heap[rightIndex] = last, index = rightIndex;
127
77
  else break a;
@@ -140,24 +90,12 @@ var require_scheduler_production = /* @__PURE__ */ require_react$1.__commonJSMin
140
90
  return localPerformance.now();
141
91
  };
142
92
  } else {
143
- var localDate = Date;
144
- var initialTime = localDate.now();
93
+ var localDate = Date, initialTime = localDate.now();
145
94
  exports.unstable_now = function() {
146
95
  return localDate.now() - initialTime;
147
96
  };
148
97
  }
149
- var taskQueue = [];
150
- var timerQueue = [];
151
- var taskIdCounter = 1;
152
- var currentTask = null;
153
- var currentPriorityLevel = 3;
154
- var isPerformingWork = !1;
155
- var isHostCallbackScheduled = !1;
156
- var isHostTimeoutScheduled = !1;
157
- var needsPaint = !1;
158
- var localSetTimeout = "function" === typeof setTimeout ? setTimeout : null;
159
- var localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null;
160
- var localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null;
98
+ var taskQueue = [], timerQueue = [], taskIdCounter = 1, currentTask = null, currentPriorityLevel = 3, isPerformingWork = !1, isHostCallbackScheduled = !1, isHostTimeoutScheduled = !1, needsPaint = !1, localSetTimeout = "function" === typeof setTimeout ? setTimeout : null, localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null, localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null;
161
99
  function advanceTimers(currentTime) {
162
100
  for (var timer = peek(timerQueue); null !== timer;) {
163
101
  if (null === timer.callback) pop(timerQueue);
@@ -175,10 +113,7 @@ var require_scheduler_production = /* @__PURE__ */ require_react$1.__commonJSMin
175
113
  null !== firstTimer && requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
176
114
  }
177
115
  }
178
- var isMessageLoopRunning = !1;
179
- var taskTimeoutID = -1;
180
- var frameInterval = 5;
181
- var startTime = -1;
116
+ var isMessageLoopRunning = !1, taskTimeoutID = -1, frameInterval = 5, startTime = -1;
182
117
  function shouldYieldToHost() {
183
118
  return needsPaint ? !0 : exports.unstable_now() - startTime < frameInterval ? !1 : !0;
184
119
  }
@@ -238,8 +173,7 @@ var require_scheduler_production = /* @__PURE__ */ require_react$1.__commonJSMin
238
173
  localSetImmediate(performWorkUntilDeadline);
239
174
  };
240
175
  else if ("undefined" !== typeof MessageChannel) {
241
- var channel = new MessageChannel();
242
- var port = channel.port2;
176
+ var channel = new MessageChannel(), port = channel.port2;
243
177
  channel.port1.onmessage = performWorkUntilDeadline;
244
178
  schedulePerformWorkUntilDeadline = function() {
245
179
  port.postMessage(null);
@@ -417,8 +351,7 @@ var require_scheduler_development = /* @__PURE__ */ require_react$1.__commonJSMi
417
351
  var index = heap.length;
418
352
  heap.push(node);
419
353
  a: for (; 0 < index;) {
420
- var parentIndex = index - 1 >>> 1;
421
- var parent = heap[parentIndex];
354
+ var parentIndex = index - 1 >>> 1, parent = heap[parentIndex];
422
355
  if (0 < compare(parent, node)) heap[parentIndex] = node, heap[index] = parent, index = parentIndex;
423
356
  else break a;
424
357
  }
@@ -428,15 +361,11 @@ var require_scheduler_development = /* @__PURE__ */ require_react$1.__commonJSMi
428
361
  }
429
362
  function pop(heap) {
430
363
  if (0 === heap.length) return null;
431
- var first = heap[0];
432
- var last = heap.pop();
364
+ var first = heap[0], last = heap.pop();
433
365
  if (last !== first) {
434
366
  heap[0] = last;
435
367
  a: for (var index = 0, length = heap.length, halfLength = length >>> 1; index < halfLength;) {
436
- var leftIndex = 2 * (index + 1) - 1;
437
- var left = heap[leftIndex];
438
- var rightIndex = leftIndex + 1;
439
- var right = heap[rightIndex];
368
+ var leftIndex = 2 * (index + 1) - 1, left = heap[leftIndex], rightIndex = leftIndex + 1, right = heap[rightIndex];
440
369
  if (0 > compare(left, last)) rightIndex < length && 0 > compare(right, left) ? (heap[index] = right, heap[rightIndex] = last, index = rightIndex) : (heap[index] = left, heap[leftIndex] = last, index = leftIndex);
441
370
  else if (rightIndex < length && 0 > compare(right, last)) heap[index] = right, heap[rightIndex] = last, index = rightIndex;
442
371
  else break a;
@@ -481,34 +410,17 @@ var require_scheduler_development = /* @__PURE__ */ require_react$1.__commonJSMi
481
410
  return localPerformance.now();
482
411
  };
483
412
  } else {
484
- var localDate = Date;
485
- var initialTime = localDate.now();
413
+ var localDate = Date, initialTime = localDate.now();
486
414
  exports.unstable_now = function() {
487
415
  return localDate.now() - initialTime;
488
416
  };
489
417
  }
490
- var taskQueue = [];
491
- var timerQueue = [];
492
- var taskIdCounter = 1;
493
- var currentTask = null;
494
- var currentPriorityLevel = 3;
495
- var isPerformingWork = !1;
496
- var isHostCallbackScheduled = !1;
497
- var isHostTimeoutScheduled = !1;
498
- var needsPaint = !1;
499
- var localSetTimeout = "function" === typeof setTimeout ? setTimeout : null;
500
- var localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null;
501
- var localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null;
502
- var isMessageLoopRunning = !1;
503
- var taskTimeoutID = -1;
504
- var frameInterval = 5;
505
- var startTime = -1;
418
+ var taskQueue = [], timerQueue = [], taskIdCounter = 1, currentTask = null, currentPriorityLevel = 3, isPerformingWork = !1, isHostCallbackScheduled = !1, isHostTimeoutScheduled = !1, needsPaint = !1, localSetTimeout = "function" === typeof setTimeout ? setTimeout : null, localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null, localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null, isMessageLoopRunning = !1, taskTimeoutID = -1, frameInterval = 5, startTime = -1;
506
419
  if ("function" === typeof localSetImmediate) var schedulePerformWorkUntilDeadline = function() {
507
420
  localSetImmediate(performWorkUntilDeadline);
508
421
  };
509
422
  else if ("undefined" !== typeof MessageChannel) {
510
- var channel = new MessageChannel();
511
- var port = channel.port2;
423
+ var channel = new MessageChannel(), port = channel.port2;
512
424
  channel.port1.onmessage = performWorkUntilDeadline;
513
425
  schedulePerformWorkUntilDeadline = function() {
514
426
  port.postMessage(null);
@@ -648,8 +560,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
648
560
  return "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
649
561
  }
650
562
  function getNearestMountedFiber(fiber) {
651
- var node = fiber;
652
- var nearestMounted = fiber;
563
+ var node = fiber, nearestMounted = fiber;
653
564
  if (fiber.alternate) for (; node.return;) node = node.return;
654
565
  else {
655
566
  fiber = node;
@@ -841,9 +752,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
841
752
  function getNextLanes(root, wipLanes, rootHasPendingCommit) {
842
753
  var pendingLanes = root.pendingLanes;
843
754
  if (0 === pendingLanes) return 0;
844
- var nextLanes = 0;
845
- var suspendedLanes = root.suspendedLanes;
846
- var pingedLanes = root.pingedLanes;
755
+ var nextLanes = 0, suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes;
847
756
  root = root.warmLanes;
848
757
  var nonIdlePendingLanes = pendingLanes & 134217727;
849
758
  0 !== nonIdlePendingLanes ? (pendingLanes = nonIdlePendingLanes & ~suspendedLanes, 0 !== pendingLanes ? nextLanes = getHighestPriorityLanes(pendingLanes) : (pingedLanes &= nonIdlePendingLanes, 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = nonIdlePendingLanes & ~root, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))))) : (nonIdlePendingLanes = pendingLanes & ~suspendedLanes, 0 !== nonIdlePendingLanes ? nextLanes = getHighestPriorityLanes(nonIdlePendingLanes) : 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = pendingLanes & ~root, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -912,12 +821,9 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
912
821
  root.entangledLanes &= remainingLanes;
913
822
  root.errorRecoveryDisabledLanes &= remainingLanes;
914
823
  root.shellSuspendCounter = 0;
915
- var entanglements = root.entanglements;
916
- var expirationTimes = root.expirationTimes;
917
- var hiddenUpdates = root.hiddenUpdates;
824
+ var entanglements = root.entanglements, expirationTimes = root.expirationTimes, hiddenUpdates = root.hiddenUpdates;
918
825
  for (remainingLanes = previouslyPendingLanes & ~remainingLanes; 0 < remainingLanes;) {
919
- var index$5 = 31 - clz32(remainingLanes);
920
- var lane = 1 << index$5;
826
+ var index$5 = 31 - clz32(remainingLanes), lane = 1 << index$5;
921
827
  entanglements[index$5] = 0;
922
828
  expirationTimes[index$5] = -1;
923
829
  var hiddenUpdatesForLane = hiddenUpdates[index$5];
@@ -940,8 +846,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
940
846
  function markRootEntangled(root, entangledLanes) {
941
847
  var rootEntangledLanes = root.entangledLanes |= entangledLanes;
942
848
  for (root = root.entanglements; rootEntangledLanes;) {
943
- var index$6 = 31 - clz32(rootEntangledLanes);
944
- var lane = 1 << index$6;
849
+ var index$6 = 31 - clz32(rootEntangledLanes), lane = 1 << index$6;
945
850
  lane & entangledLanes | root[index$6] & entangledLanes && (root[index$6] |= entangledLanes);
946
851
  rootEntangledLanes &= ~lane;
947
852
  }
@@ -1058,12 +963,9 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
1058
963
  RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
1059
964
  var namePropDescriptor = Object.getOwnPropertyDescriptor(RunInRootFrame.DetermineComponentFrameRoot, "name");
1060
965
  namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty(RunInRootFrame.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" });
1061
- var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot();
1062
- var sampleStack = _RunInRootFrame$Deter[0];
1063
- var controlStack = _RunInRootFrame$Deter[1];
966
+ var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1];
1064
967
  if (sampleStack && controlStack) {
1065
- var sampleLines = sampleStack.split("\n");
1066
- var controlLines = controlStack.split("\n");
968
+ var sampleLines = sampleStack.split("\n"), controlLines = controlStack.split("\n");
1067
969
  for (namePropDescriptor = RunInRootFrame = 0; RunInRootFrame < sampleLines.length && !sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot");) RunInRootFrame++;
1068
970
  for (; namePropDescriptor < controlLines.length && !controlLines[namePropDescriptor].includes("DetermineComponentFrameRoot");) namePropDescriptor++;
1069
971
  if (RunInRootFrame === sampleLines.length || namePropDescriptor === controlLines.length) for (RunInRootFrame = sampleLines.length - 1, namePropDescriptor = controlLines.length - 1; 1 <= RunInRootFrame && 0 <= namePropDescriptor && sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor];) namePropDescriptor--;
@@ -1101,8 +1003,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
1101
1003
  }
1102
1004
  function getStackByFiberInDevAndProd(workInProgress) {
1103
1005
  try {
1104
- var info = "";
1105
- var previous = null;
1006
+ var info = "", previous = null;
1106
1007
  do
1107
1008
  info += describeFiber(workInProgress, previous), previous = workInProgress, workInProgress = workInProgress.return;
1108
1009
  while (workInProgress);
@@ -1185,8 +1086,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
1185
1086
  }
1186
1087
  function pushHostContext(fiber) {
1187
1088
  null !== fiber.memoizedState && push(hostTransitionProviderCursor, fiber);
1188
- var context = contextStackCursor.current;
1189
- var nextContext = getChildHostContext(context, fiber.type);
1089
+ var context = contextStackCursor.current, nextContext = getChildHostContext(context, fiber.type);
1190
1090
  context !== nextContext && (push(contextFiberStackCursor, fiber), push(contextStackCursor, nextContext));
1191
1091
  }
1192
1092
  function popHostContext(fiber) {
@@ -1402,8 +1302,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
1402
1302
  var pendingLanes = root.pendingLanes;
1403
1303
  if (0 === pendingLanes) var JSCompiler_inline_result = 0;
1404
1304
  else {
1405
- var suspendedLanes = root.suspendedLanes;
1406
- var pingedLanes = root.pingedLanes;
1305
+ var suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes;
1407
1306
  JSCompiler_inline_result = (1 << 31 - clz32(42 | syncTransitionLanes) + 1) - 1;
1408
1307
  JSCompiler_inline_result &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
1409
1308
  JSCompiler_inline_result = JSCompiler_inline_result & 201326741 ? JSCompiler_inline_result & 201326741 | 1 : JSCompiler_inline_result ? JSCompiler_inline_result | 2 : 0;
@@ -1424,8 +1323,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
1424
1323
  var syncTransitionLanes = 0;
1425
1324
  0 !== currentEventTransitionLane && shouldAttemptEagerTransition() && (syncTransitionLanes = currentEventTransitionLane);
1426
1325
  for (var currentTime = now(), prev = null, root = firstScheduledRoot; null !== root;) {
1427
- var next = root.next;
1428
- var nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
1326
+ var next = root.next, nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
1429
1327
  if (0 === nextLanes) root.next = null, null === prev ? firstScheduledRoot = next : prev.next = next, null === next && (lastScheduledRoot = prev);
1430
1328
  else if (prev = root, 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) mightHavePendingSyncWork = !0;
1431
1329
  root = next;
@@ -1435,9 +1333,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
1435
1333
  }
1436
1334
  function scheduleTaskForRootDuringMicrotask(root, currentTime) {
1437
1335
  for (var suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes, expirationTimes = root.expirationTimes, lanes = root.pendingLanes & -62914561; 0 < lanes;) {
1438
- var index$3 = 31 - clz32(lanes);
1439
- var lane = 1 << index$3;
1440
- var expirationTime = expirationTimes[index$3];
1336
+ var index$3 = 31 - clz32(lanes), lane = 1 << index$3, expirationTime = expirationTimes[index$3];
1441
1337
  if (-1 === expirationTime) {
1442
1338
  if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes)) expirationTimes[index$3] = computeExpirationTime(lane, currentTime);
1443
1339
  } else expirationTime <= currentTime && (root.expiredLanes |= lane);
@@ -1532,8 +1428,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
1532
1428
  }
1533
1429
  }
1534
1430
  function chainThenableValue(thenable, result) {
1535
- var listeners = [];
1536
- var thenableWithOverride = {
1431
+ var listeners = [], thenableWithOverride = {
1537
1432
  status: "pending",
1538
1433
  value: null,
1539
1434
  reason: null,
@@ -1569,8 +1464,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
1569
1464
  function shallowEqual(objA, objB) {
1570
1465
  if (objectIs(objA, objB)) return !0;
1571
1466
  if ("object" !== typeof objA || null === objA || "object" !== typeof objB || null === objB) return !1;
1572
- var keysA = Object.keys(objA);
1573
- var keysB = Object.keys(objB);
1467
+ var keysA = Object.keys(objA), keysB = Object.keys(objB);
1574
1468
  if (keysA.length !== keysB.length) return !1;
1575
1469
  for (keysB = 0; keysB < keysA.length; keysB++) {
1576
1470
  var currentKey = keysA[keysB];
@@ -2002,11 +1896,9 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2002
1896
  }
2003
1897
  }
2004
1898
  function enqueueCapturedUpdate(workInProgress, capturedUpdate) {
2005
- var queue = workInProgress.updateQueue;
2006
- var current = workInProgress.alternate;
1899
+ var queue = workInProgress.updateQueue, current = workInProgress.alternate;
2007
1900
  if (null !== current && (current = current.updateQueue, queue === current)) {
2008
- var newFirst = null;
2009
- var newLast = null;
1901
+ var newFirst = null, newLast = null;
2010
1902
  queue = queue.firstBaseUpdate;
2011
1903
  if (null !== queue) {
2012
1904
  do {
@@ -2046,13 +1938,10 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2046
1938
  didReadFromEntangledAsyncAction = !1;
2047
1939
  var queue = workInProgress$jscomp$0.updateQueue;
2048
1940
  hasForceUpdate = !1;
2049
- var firstBaseUpdate = queue.firstBaseUpdate;
2050
- var lastBaseUpdate = queue.lastBaseUpdate;
2051
- var pendingQueue = queue.shared.pending;
1941
+ var firstBaseUpdate = queue.firstBaseUpdate, lastBaseUpdate = queue.lastBaseUpdate, pendingQueue = queue.shared.pending;
2052
1942
  if (null !== pendingQueue) {
2053
1943
  queue.shared.pending = null;
2054
- var lastPendingUpdate = pendingQueue;
2055
- var firstPendingUpdate = lastPendingUpdate.next;
1944
+ var lastPendingUpdate = pendingQueue, firstPendingUpdate = lastPendingUpdate.next;
2056
1945
  lastPendingUpdate.next = null;
2057
1946
  null === lastBaseUpdate ? firstBaseUpdate = firstPendingUpdate : lastBaseUpdate.next = firstPendingUpdate;
2058
1947
  lastBaseUpdate = lastPendingUpdate;
@@ -2065,8 +1954,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2065
1954
  current = firstPendingUpdate = lastPendingUpdate = null;
2066
1955
  pendingQueue = firstBaseUpdate;
2067
1956
  do {
2068
- var updateLane = pendingQueue.lane & -536870913;
2069
- var isHiddenUpdate = updateLane !== pendingQueue.lane;
1957
+ var updateLane = pendingQueue.lane & -536870913, isHiddenUpdate = updateLane !== pendingQueue.lane;
2070
1958
  if (isHiddenUpdate ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) {
2071
1959
  0 !== updateLane && updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction = !0);
2072
1960
  null !== current && (current = current.next = {
@@ -2077,8 +1965,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2077
1965
  next: null
2078
1966
  });
2079
1967
  a: {
2080
- var workInProgress = workInProgress$jscomp$0;
2081
- var update = pendingQueue;
1968
+ var workInProgress = workInProgress$jscomp$0, update = pendingQueue;
2082
1969
  updateLane = props;
2083
1970
  var instance = instance$jscomp$0;
2084
1971
  switch (update.tag) {
@@ -2247,8 +2134,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2247
2134
  return children;
2248
2135
  }
2249
2136
  function TransitionAwareHostComponent() {
2250
- var dispatcher = ReactSharedInternals.H;
2251
- var maybeThenable = dispatcher.useState()[0];
2137
+ var dispatcher = ReactSharedInternals.H, maybeThenable = dispatcher.useState()[0];
2252
2138
  maybeThenable = "function" === typeof maybeThenable.then ? useThenable(maybeThenable) : maybeThenable;
2253
2139
  dispatcher = dispatcher.useState()[0];
2254
2140
  (null !== currentHook ? currentHook.memoizedState : null) !== dispatcher && (currentlyRenderingFiber.flags |= 1024);
@@ -2339,8 +2225,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2339
2225
  throw Error(formatProdErrorMessage(438, String(usable)));
2340
2226
  }
2341
2227
  function useMemoCache(size) {
2342
- var memoCache = null;
2343
- var updateQueue = currentlyRenderingFiber.updateQueue;
2228
+ var memoCache = null, updateQueue = currentlyRenderingFiber.updateQueue;
2344
2229
  null !== updateQueue && (memoCache = updateQueue.memoCache);
2345
2230
  if (null == memoCache) {
2346
2231
  var current = currentlyRenderingFiber.alternate;
@@ -2351,10 +2236,10 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2351
2236
  index: 0
2352
2237
  })));
2353
2238
  }
2354
- null == memoCache && (memoCache = {
2239
+ memoCache ??= {
2355
2240
  data: [],
2356
2241
  index: 0
2357
- });
2242
+ };
2358
2243
  null === updateQueue && (updateQueue = createFunctionComponentUpdateQueue(), currentlyRenderingFiber.updateQueue = updateQueue);
2359
2244
  updateQueue.memoCache = memoCache;
2360
2245
  updateQueue = memoCache.data[memoCache.index];
@@ -2372,8 +2257,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2372
2257
  var queue = hook.queue;
2373
2258
  if (null === queue) throw Error(formatProdErrorMessage(311));
2374
2259
  queue.lastRenderedReducer = reducer;
2375
- var baseQueue = hook.baseQueue;
2376
- var pendingQueue = queue.pending;
2260
+ var baseQueue = hook.baseQueue, pendingQueue = queue.pending;
2377
2261
  if (null !== pendingQueue) {
2378
2262
  if (null !== baseQueue) {
2379
2263
  var baseFirst = baseQueue.next;
@@ -2387,10 +2271,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2387
2271
  if (null === baseQueue) hook.memoizedState = pendingQueue;
2388
2272
  else {
2389
2273
  current = baseQueue.next;
2390
- var newBaseQueueFirst = baseFirst = null;
2391
- var newBaseQueueLast = null;
2392
- var update = current;
2393
- var didReadFromEntangledAsyncAction$51 = !1;
2274
+ var newBaseQueueFirst = baseFirst = null, newBaseQueueLast = null, update = current, didReadFromEntangledAsyncAction$51 = !1;
2394
2275
  do {
2395
2276
  var updateLane = update.lane & -536870913;
2396
2277
  if (updateLane !== update.lane ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) {
@@ -2442,13 +2323,10 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2442
2323
  return [hook.memoizedState, queue.dispatch];
2443
2324
  }
2444
2325
  function rerenderReducer(reducer) {
2445
- var hook = updateWorkInProgressHook();
2446
- var queue = hook.queue;
2326
+ var hook = updateWorkInProgressHook(), queue = hook.queue;
2447
2327
  if (null === queue) throw Error(formatProdErrorMessage(311));
2448
2328
  queue.lastRenderedReducer = reducer;
2449
- var dispatch = queue.dispatch;
2450
- var lastRenderPhaseUpdate = queue.pending;
2451
- var newState = hook.memoizedState;
2329
+ var dispatch = queue.dispatch, lastRenderPhaseUpdate = queue.pending, newState = hook.memoizedState;
2452
2330
  if (null !== lastRenderPhaseUpdate) {
2453
2331
  queue.pending = null;
2454
2332
  var update = lastRenderPhaseUpdate = lastRenderPhaseUpdate.next;
@@ -2463,9 +2341,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2463
2341
  return [newState, dispatch];
2464
2342
  }
2465
2343
  function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
2466
- var fiber = currentlyRenderingFiber;
2467
- var hook = updateWorkInProgressHook();
2468
- var isHydrating$jscomp$0 = isHydrating;
2344
+ var fiber = currentlyRenderingFiber, hook = updateWorkInProgressHook(), isHydrating$jscomp$0 = isHydrating;
2469
2345
  if (isHydrating$jscomp$0) {
2470
2346
  if (void 0 === getServerSnapshot) throw Error(formatProdErrorMessage(407));
2471
2347
  getServerSnapshot = getServerSnapshot();
@@ -2567,16 +2443,12 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2567
2443
  }
2568
2444
  }
2569
2445
  function runActionStateAction(actionQueue, node) {
2570
- var action = node.action;
2571
- var payload = node.payload;
2572
- var prevState = actionQueue.state;
2446
+ var action = node.action, payload = node.payload, prevState = actionQueue.state;
2573
2447
  if (node.isTransition) {
2574
- var prevTransition = ReactSharedInternals.T;
2575
- var currentTransition = {};
2448
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
2576
2449
  ReactSharedInternals.T = currentTransition;
2577
2450
  try {
2578
- var returnValue = action(prevState, payload);
2579
- var onStartTransitionFinish = ReactSharedInternals.S;
2451
+ var returnValue = action(prevState, payload), onStartTransitionFinish = ReactSharedInternals.S;
2580
2452
  null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
2581
2453
  handleActionReturnValue(actionQueue, node, returnValue);
2582
2454
  } catch (error) {
@@ -2690,8 +2562,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2690
2562
  }
2691
2563
  else state = currentStateHook;
2692
2564
  currentStateHook = updateWorkInProgressHook();
2693
- var actionQueue = currentStateHook.queue;
2694
- var dispatch = actionQueue.dispatch;
2565
+ var actionQueue = currentStateHook.queue, dispatch = actionQueue.dispatch;
2695
2566
  action !== currentStateHook.memoizedState && (currentlyRenderingFiber.flags |= 2048, pushSimpleEffect(9, { destroy: void 0 }, actionStateActionEffect.bind(null, actionQueue, action), null));
2696
2567
  return [
2697
2568
  state,
@@ -2703,8 +2574,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2703
2574
  actionQueue.action = action;
2704
2575
  }
2705
2576
  function rerenderActionState(action) {
2706
- var stateHook = updateWorkInProgressHook();
2707
- var currentStateHook = currentHook;
2577
+ var stateHook = updateWorkInProgressHook(), currentStateHook = currentHook;
2708
2578
  if (null !== currentStateHook) return updateActionStateImpl(stateHook, currentStateHook, action);
2709
2579
  updateWorkInProgressHook();
2710
2580
  stateHook = stateHook.memoizedState;
@@ -2839,13 +2709,11 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2839
2709
  function startTransition(fiber, queue, pendingState, finishedState, callback) {
2840
2710
  var previousPriority = getCurrentUpdatePriority();
2841
2711
  setCurrentUpdatePriority(0 !== previousPriority && 8 > previousPriority ? previousPriority : 8);
2842
- var prevTransition = ReactSharedInternals.T;
2843
- var currentTransition = {};
2712
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
2844
2713
  ReactSharedInternals.T = currentTransition;
2845
2714
  dispatchOptimisticSetState(fiber, !1, queue, pendingState);
2846
2715
  try {
2847
- var returnValue = callback();
2848
- var onStartTransitionFinish = ReactSharedInternals.S;
2716
+ var returnValue = callback(), onStartTransitionFinish = ReactSharedInternals.S;
2849
2717
  null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
2850
2718
  if (null !== returnValue && "object" === typeof returnValue && "function" === typeof returnValue.then) dispatchSetStateInternal(fiber, queue, chainThenableValue(returnValue, finishedState), requestUpdateLane(fiber));
2851
2719
  else dispatchSetStateInternal(fiber, queue, finishedState, requestUpdateLane(fiber));
@@ -2949,8 +2817,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
2949
2817
  else {
2950
2818
  var alternate = fiber.alternate;
2951
2819
  if (0 === fiber.lanes && (null === alternate || 0 === alternate.lanes) && (alternate = queue.lastRenderedReducer, null !== alternate)) try {
2952
- var currentState = queue.lastRenderedState;
2953
- var eagerState = alternate(currentState, action);
2820
+ var currentState = queue.lastRenderedState, eagerState = alternate(currentState, action);
2954
2821
  update.hasEagerState = !0;
2955
2822
  update.eagerState = eagerState;
2956
2823
  if (objectIs(eagerState, currentState)) return enqueueUpdate$1(fiber, queue, update, 0), null === workInProgressRoot && finishQueueingConcurrentUpdates(), !1;
@@ -3167,8 +3034,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
3167
3034
  return updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes);
3168
3035
  }
3169
3036
  function updateOffscreenComponent(current, workInProgress, renderLanes, nextProps) {
3170
- var nextChildren = nextProps.children;
3171
- var prevState = null !== current ? current.memoizedState : null;
3037
+ var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null;
3172
3038
  null === current && null === workInProgress.stateNode && (workInProgress.stateNode = {
3173
3039
  _visibility: 1,
3174
3040
  _pendingMarkers: null,
@@ -3239,8 +3105,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
3239
3105
  return current;
3240
3106
  }
3241
3107
  function updateActivityComponent(current, workInProgress, renderLanes) {
3242
- var nextProps = workInProgress.pendingProps;
3243
- var didSuspend = 0 !== (workInProgress.flags & 128);
3108
+ var nextProps = workInProgress.pendingProps, didSuspend = 0 !== (workInProgress.flags & 128);
3244
3109
  workInProgress.flags &= -129;
3245
3110
  if (null === current) {
3246
3111
  if (isHydrating) {
@@ -3318,8 +3183,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
3318
3183
  function updateClassComponent(current, workInProgress, Component, nextProps, renderLanes) {
3319
3184
  prepareToReadContext(workInProgress);
3320
3185
  if (null === workInProgress.stateNode) {
3321
- var context = emptyContextObject;
3322
- var contextType = Component.contextType;
3186
+ var context = emptyContextObject, contextType = Component.contextType;
3323
3187
  "object" === typeof contextType && null !== contextType && (context = readContext(contextType));
3324
3188
  context = new Component(nextProps, context);
3325
3189
  workInProgress.memoizedState = null !== context.state && void 0 !== context.state ? context.state : null;
@@ -3341,11 +3205,9 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
3341
3205
  nextProps = !0;
3342
3206
  } else if (null === current) {
3343
3207
  context = workInProgress.stateNode;
3344
- var unresolvedOldProps = workInProgress.memoizedProps;
3345
- var oldProps = resolveClassComponentProps(Component, unresolvedOldProps);
3208
+ var unresolvedOldProps = workInProgress.memoizedProps, oldProps = resolveClassComponentProps(Component, unresolvedOldProps);
3346
3209
  context.props = oldProps;
3347
- var oldContext = context.context;
3348
- var contextType$jscomp$0 = Component.contextType;
3210
+ var oldContext = context.context, contextType$jscomp$0 = Component.contextType;
3349
3211
  contextType = emptyContextObject;
3350
3212
  "object" === typeof contextType$jscomp$0 && null !== contextType$jscomp$0 && (contextType = readContext(contextType$jscomp$0));
3351
3213
  var getDerivedStateFromProps = Component.getDerivedStateFromProps;
@@ -3404,10 +3266,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
3404
3266
  return current;
3405
3267
  }
3406
3268
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
3407
- var nextProps = workInProgress.pendingProps;
3408
- var showFallback = !1;
3409
- var didSuspend = 0 !== (workInProgress.flags & 128);
3410
- var JSCompiler_temp;
3269
+ var nextProps = workInProgress.pendingProps, showFallback = !1, didSuspend = 0 !== (workInProgress.flags & 128), JSCompiler_temp;
3411
3270
  (JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & 2));
3412
3271
  JSCompiler_temp && (showFallback = !0, workInProgress.flags &= -129);
3413
3272
  JSCompiler_temp = 0 !== (workInProgress.flags & 32);
@@ -3519,12 +3378,9 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
3519
3378
  } : (renderState.isBackwards = isBackwards, renderState.rendering = null, renderState.renderingStartTime = 0, renderState.last = lastContentRow, renderState.tail = tail, renderState.tailMode = tailMode, renderState.treeForkCount = treeForkCount);
3520
3379
  }
3521
3380
  function updateSuspenseListComponent(current, workInProgress, renderLanes) {
3522
- var nextProps = workInProgress.pendingProps;
3523
- var revealOrder = nextProps.revealOrder;
3524
- var tailMode = nextProps.tail;
3381
+ var nextProps = workInProgress.pendingProps, revealOrder = nextProps.revealOrder, tailMode = nextProps.tail;
3525
3382
  nextProps = nextProps.children;
3526
- var suspenseContext = suspenseStackCursor.current;
3527
- var shouldForceFallback = 0 !== (suspenseContext & 2);
3383
+ var suspenseContext = suspenseStackCursor.current, shouldForceFallback = 0 !== (suspenseContext & 2);
3528
3384
  shouldForceFallback ? (suspenseContext = suspenseContext & 1 | 2, workInProgress.flags |= 128) : suspenseContext &= 1;
3529
3385
  push(suspenseStackCursor, suspenseContext);
3530
3386
  reconcileChildren(current, workInProgress, nextProps, renderLanes);
@@ -3853,8 +3709,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
3853
3709
  function updateHostContainer(current, workInProgress) {
3854
3710
  if (supportsPersistence && doesRequireClone(current, workInProgress)) {
3855
3711
  current = workInProgress.stateNode;
3856
- var container = current.containerInfo;
3857
- var newChildSet = createContainerChildSet();
3712
+ var container = current.containerInfo, newChildSet = createContainerChildSet();
3858
3713
  appendAllChildrenToContainer(newChildSet, workInProgress, !1, !1);
3859
3714
  current.pendingChildren = newChildSet;
3860
3715
  markUpdate(workInProgress);
@@ -3864,8 +3719,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
3864
3719
  function updateHostComponent(current, workInProgress, type, newProps) {
3865
3720
  if (supportsMutation) current.memoizedProps !== newProps && markUpdate(workInProgress);
3866
3721
  else if (supportsPersistence) {
3867
- var currentInstance = current.stateNode;
3868
- var oldProps$88 = current.memoizedProps;
3722
+ var currentInstance = current.stateNode, oldProps$88 = current.memoizedProps;
3869
3723
  if ((current = doesRequireClone(current, workInProgress)) || oldProps$88 !== newProps) {
3870
3724
  var currentHostContext = contextStackCursor.current;
3871
3725
  oldProps$88 = cloneInstance(currentInstance, type, oldProps$88, newProps, !current, null);
@@ -3904,9 +3758,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
3904
3758
  }
3905
3759
  }
3906
3760
  function bubbleProperties(completedWork) {
3907
- var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child;
3908
- var newChildLanes = 0;
3909
- var subtreeFlags = 0;
3761
+ var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child, newChildLanes = 0, subtreeFlags = 0;
3910
3762
  if (didBailout) for (var child$91 = completedWork.child; null !== child$91;) newChildLanes |= child$91.lanes | child$91.childLanes, subtreeFlags |= child$91.subtreeFlags & 65011712, subtreeFlags |= child$91.flags & 65011712, child$91.return = completedWork, child$91 = child$91.sibling;
3911
3763
  else for (child$91 = completedWork.child; null !== child$91;) newChildLanes |= child$91.lanes | child$91.childLanes, subtreeFlags |= child$91.subtreeFlags, subtreeFlags |= child$91.flags, child$91.return = completedWork, child$91 = child$91.sibling;
3912
3764
  completedWork.subtreeFlags |= subtreeFlags;
@@ -3940,8 +3792,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
3940
3792
  bubbleProperties(workInProgress);
3941
3793
  return null;
3942
3794
  case 26: if (supportsResources) {
3943
- var type = workInProgress.type;
3944
- var nextResource = workInProgress.memoizedState;
3795
+ var type = workInProgress.type, nextResource = workInProgress.memoizedState;
3945
3796
  null === current ? (markUpdate(workInProgress), null !== nextResource ? (bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded(workInProgress, type, null, newProps, renderLanes))) : nextResource ? nextResource !== current.memoizedState ? (markUpdate(workInProgress), bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), workInProgress.flags &= -16777217) : (nextResource = current.memoizedProps, supportsMutation ? nextResource !== newProps && markUpdate(workInProgress) : updateHostComponent(current, workInProgress, type, newProps), bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded(workInProgress, type, nextResource, newProps, renderLanes));
3946
3797
  return null;
3947
3798
  }
@@ -4181,16 +4032,14 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
4181
4032
  }
4182
4033
  function commitHookEffectListMount(flags, finishedWork) {
4183
4034
  try {
4184
- var updateQueue = finishedWork.updateQueue;
4185
- var lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
4035
+ var updateQueue = finishedWork.updateQueue, lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
4186
4036
  if (null !== lastEffect) {
4187
4037
  var firstEffect = lastEffect.next;
4188
4038
  updateQueue = firstEffect;
4189
4039
  do {
4190
4040
  if ((updateQueue.tag & flags) === flags) {
4191
4041
  lastEffect = void 0;
4192
- var create = updateQueue.create;
4193
- var inst = updateQueue.inst;
4042
+ var create = updateQueue.create, inst = updateQueue.inst;
4194
4043
  lastEffect = create();
4195
4044
  inst.destroy = lastEffect;
4196
4045
  }
@@ -4203,20 +4052,17 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
4203
4052
  }
4204
4053
  function commitHookEffectListUnmount(flags, finishedWork, nearestMountedAncestor$jscomp$0) {
4205
4054
  try {
4206
- var updateQueue = finishedWork.updateQueue;
4207
- var lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
4055
+ var updateQueue = finishedWork.updateQueue, lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
4208
4056
  if (null !== lastEffect) {
4209
4057
  var firstEffect = lastEffect.next;
4210
4058
  updateQueue = firstEffect;
4211
4059
  do {
4212
4060
  if ((updateQueue.tag & flags) === flags) {
4213
- var inst = updateQueue.inst;
4214
- var destroy = inst.destroy;
4061
+ var inst = updateQueue.inst, destroy = inst.destroy;
4215
4062
  if (void 0 !== destroy) {
4216
4063
  inst.destroy = void 0;
4217
4064
  lastEffect = finishedWork;
4218
- var nearestMountedAncestor = nearestMountedAncestor$jscomp$0;
4219
- var destroy_ = destroy;
4065
+ var nearestMountedAncestor = nearestMountedAncestor$jscomp$0, destroy_ = destroy;
4220
4066
  try {
4221
4067
  destroy_();
4222
4068
  } catch (error) {
@@ -4273,8 +4119,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
4273
4119
  }
4274
4120
  }
4275
4121
  function safelyDetachRef(current, nearestMountedAncestor) {
4276
- var ref = current.ref;
4277
- var refCleanup = current.refCleanup;
4122
+ var ref = current.ref, refCleanup = current.refCleanup;
4278
4123
  if (null !== ref) if ("function" === typeof refCleanup) try {
4279
4124
  refCleanup();
4280
4125
  } catch (error) {
@@ -4290,9 +4135,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
4290
4135
  else ref.current = null;
4291
4136
  }
4292
4137
  function commitHostMount(finishedWork) {
4293
- var type = finishedWork.type;
4294
- var props = finishedWork.memoizedProps;
4295
- var instance = finishedWork.stateNode;
4138
+ var type = finishedWork.type, props = finishedWork.memoizedProps, instance = finishedWork.stateNode;
4296
4139
  try {
4297
4140
  commitMount(instance, type, props, finishedWork);
4298
4141
  } catch (error) {
@@ -4344,8 +4187,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
4344
4187
  }
4345
4188
  }
4346
4189
  function commitHostSingletonAcquisition(finishedWork) {
4347
- var singleton = finishedWork.stateNode;
4348
- var props = finishedWork.memoizedProps;
4190
+ var singleton = finishedWork.stateNode, props = finishedWork.memoizedProps;
4349
4191
  try {
4350
4192
  acquireSingletonInstance(finishedWork.type, props, singleton, finishedWork);
4351
4193
  } catch (error) {
@@ -4529,8 +4371,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
4529
4371
  }
4530
4372
  case 27: if (supportsSingletons) {
4531
4373
  offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor);
4532
- var prevHostParent = hostParent;
4533
- var prevHostParentIsContainer = hostParentIsContainer;
4374
+ var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer;
4534
4375
  isSingletonScope(deletedFiber.type) && (hostParent = deletedFiber.stateNode, hostParentIsContainer = !1);
4535
4376
  recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
4536
4377
  releaseSingletonInstance(deletedFiber.stateNode);
@@ -4624,9 +4465,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
4624
4465
  function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
4625
4466
  var deletions = parentFiber.deletions;
4626
4467
  if (null !== deletions) for (var i = 0; i < deletions.length; i++) {
4627
- var childToDelete = deletions[i];
4628
- var root = root$jscomp$0;
4629
- var returnFiber = parentFiber;
4468
+ var childToDelete = deletions[i], root = root$jscomp$0, returnFiber = parentFiber;
4630
4469
  if (supportsMutation) {
4631
4470
  var parent = returnFiber;
4632
4471
  a: for (; null !== parent;) {
@@ -4663,8 +4502,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
4663
4502
  if (parentFiber.subtreeFlags & 13886) for (parentFiber = parentFiber.child; null !== parentFiber;) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), parentFiber = parentFiber.sibling;
4664
4503
  }
4665
4504
  function commitMutationEffectsOnFiber(finishedWork, root) {
4666
- var current = finishedWork.alternate;
4667
- var flags = finishedWork.flags;
4505
+ var current = finishedWork.alternate, flags = finishedWork.flags;
4668
4506
  switch (finishedWork.tag) {
4669
4507
  case 0:
4670
4508
  case 11:
@@ -4773,9 +4611,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
4773
4611
  break;
4774
4612
  case 22:
4775
4613
  hoistableRoot = null !== finishedWork.memoizedState;
4776
- var wasHidden = null !== current && null !== current.memoizedState;
4777
- var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden;
4778
- var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
4614
+ var wasHidden = null !== current && null !== current.memoizedState, prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden, prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
4779
4615
  offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden || hoistableRoot;
4780
4616
  offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || wasHidden;
4781
4617
  recursivelyTraverseMutationEffects(root, finishedWork);
@@ -4928,10 +4764,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
4928
4764
  function recursivelyTraverseReappearLayoutEffects(finishedRoot$jscomp$0, parentFiber, includeWorkInProgressEffects) {
4929
4765
  includeWorkInProgressEffects = includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772);
4930
4766
  for (parentFiber = parentFiber.child; null !== parentFiber;) {
4931
- var current = parentFiber.alternate;
4932
- var finishedRoot = finishedRoot$jscomp$0;
4933
- var finishedWork = parentFiber;
4934
- var flags = finishedWork.flags;
4767
+ var current = parentFiber.alternate, finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, flags = finishedWork.flags;
4935
4768
  switch (finishedWork.tag) {
4936
4769
  case 0:
4937
4770
  case 11:
@@ -5027,9 +4860,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5027
4860
  recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions);
5028
4861
  finishedRoot = finishedWork.stateNode;
5029
4862
  try {
5030
- var _finishedWork$memoize2 = finishedWork.memoizedProps;
5031
- var id = _finishedWork$memoize2.id;
5032
- var onPostCommit = _finishedWork$memoize2.onPostCommit;
4863
+ var _finishedWork$memoize2 = finishedWork.memoizedProps, id = _finishedWork$memoize2.id, onPostCommit = _finishedWork$memoize2.onPostCommit;
5033
4864
  "function" === typeof onPostCommit && onPostCommit(id, null === finishedWork.alternate ? "mount" : "update", finishedRoot.passiveEffectDuration, -0);
5034
4865
  } catch (error) {
5035
4866
  captureCommitPhaseError(finishedWork, finishedWork.return, error);
@@ -5059,11 +4890,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5059
4890
  function recursivelyTraverseReconnectPassiveEffects(finishedRoot$jscomp$0, parentFiber, committedLanes$jscomp$0, committedTransitions$jscomp$0, includeWorkInProgressEffects) {
5060
4891
  includeWorkInProgressEffects = includeWorkInProgressEffects && (0 !== (parentFiber.subtreeFlags & 10256) || !1);
5061
4892
  for (parentFiber = parentFiber.child; null !== parentFiber;) {
5062
- var finishedRoot = finishedRoot$jscomp$0;
5063
- var finishedWork = parentFiber;
5064
- var committedLanes = committedLanes$jscomp$0;
5065
- var committedTransitions = committedTransitions$jscomp$0;
5066
- var flags = finishedWork.flags;
4893
+ var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, committedLanes = committedLanes$jscomp$0, committedTransitions = committedTransitions$jscomp$0, flags = finishedWork.flags;
5067
4894
  switch (finishedWork.tag) {
5068
4895
  case 0:
5069
4896
  case 11:
@@ -5088,9 +4915,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5088
4915
  }
5089
4916
  function recursivelyTraverseAtomicPassiveEffects(finishedRoot$jscomp$0, parentFiber) {
5090
4917
  if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber;) {
5091
- var finishedRoot = finishedRoot$jscomp$0;
5092
- var finishedWork = parentFiber;
5093
- var flags = finishedWork.flags;
4918
+ var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, flags = finishedWork.flags;
5094
4919
  switch (finishedWork.tag) {
5095
4920
  case 22:
5096
4921
  recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);
@@ -5114,8 +4939,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5114
4939
  recursivelyAccumulateSuspenseyCommit(fiber, committedLanes, suspendedState);
5115
4940
  if (fiber.flags & suspenseyCommitFlag) if (null !== fiber.memoizedState) suspendResource(suspendedState, currentHoistableRoot, fiber.memoizedState, fiber.memoizedProps);
5116
4941
  else {
5117
- var instance = fiber.stateNode;
5118
- var type = fiber.type;
4942
+ var instance = fiber.stateNode, type = fiber.type;
5119
4943
  fiber = fiber.memoizedProps;
5120
4944
  ((committedLanes & 335544128) === committedLanes || maySuspendCommitInSyncRender(type, fiber)) && suspendInstance(suspendedState, instance, type, fiber);
5121
4945
  }
@@ -5226,8 +5050,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5226
5050
  if (null !== cache) cache.return = fiber, nextEffect = cache;
5227
5051
  else a: for (fiber = deletedSubtreeRoot; null !== nextEffect;) {
5228
5052
  cache = nextEffect;
5229
- var sibling = cache.sibling;
5230
- var returnFiber = cache.return;
5053
+ var sibling = cache.sibling, returnFiber = cache.return;
5231
5054
  detachFiberAfterEffects(cache);
5232
5055
  if (cache === fiber) {
5233
5056
  nextEffect = null;
@@ -5263,10 +5086,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5263
5086
  selector = selector.value;
5264
5087
  fiber$jscomp$0 = [fiber$jscomp$0, 0];
5265
5088
  for (tag = 0; tag < fiber$jscomp$0.length;) {
5266
- var fiber = fiber$jscomp$0[tag++];
5267
- var tag$jscomp$0 = fiber.tag;
5268
- var selectorIndex = fiber$jscomp$0[tag++];
5269
- var selector$jscomp$0 = selector[selectorIndex];
5089
+ var fiber = fiber$jscomp$0[tag++], tag$jscomp$0 = fiber.tag, selectorIndex = fiber$jscomp$0[tag++], selector$jscomp$0 = selector[selectorIndex];
5270
5090
  if (5 !== tag$jscomp$0 && 26 !== tag$jscomp$0 && 27 !== tag$jscomp$0 || !isHiddenSubtree(fiber)) {
5271
5091
  for (; null != selector$jscomp$0 && matchSelector(fiber, selector$jscomp$0);) selectorIndex++, selector$jscomp$0 = selector[selectorIndex];
5272
5092
  if (selectorIndex === selector.length) {
@@ -5309,10 +5129,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5309
5129
  var matchingFibers = [];
5310
5130
  root = [root, 0];
5311
5131
  for (var index = 0; index < root.length;) {
5312
- var fiber = root[index++];
5313
- var tag = fiber.tag;
5314
- var selectorIndex = root[index++];
5315
- var selector = selectors[selectorIndex];
5132
+ var fiber = root[index++], tag = fiber.tag, selectorIndex = root[index++], selector = selectors[selectorIndex];
5316
5133
  if (5 !== tag && 26 !== tag && 27 !== tag || !isHiddenSubtree(fiber)) {
5317
5134
  for (; null != selector && matchSelector(fiber, selector);) selectorIndex++, selector = selectors[selectorIndex];
5318
5135
  if (selectorIndex === selectors.length) matchingFibers.push(fiber);
@@ -5328,8 +5145,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5328
5145
  selectors = [];
5329
5146
  hostRoot = Array.from(hostRoot);
5330
5147
  for (var index = 0; index < hostRoot.length;) {
5331
- var node = hostRoot[index++];
5332
- var tag = node.tag;
5148
+ var node = hostRoot[index++], tag = node.tag;
5333
5149
  if (5 === tag || 26 === tag || 27 === tag) isHiddenSubtree(node) || selectors.push(node.stateNode);
5334
5150
  else for (node = node.child; null !== node;) hostRoot.push(node), node = node.sibling;
5335
5151
  }
@@ -5356,9 +5172,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5356
5172
  }
5357
5173
  function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
5358
5174
  if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));
5359
- var shouldTimeSlice = !forceSync && 0 === (lanes & 127) && 0 === (lanes & root$jscomp$0.expiredLanes) || checkIfRootIsPrerendering(root$jscomp$0, lanes);
5360
- var exitStatus = shouldTimeSlice ? renderRootConcurrent(root$jscomp$0, lanes) : renderRootSync(root$jscomp$0, lanes, !0);
5361
- var renderWasConcurrent = shouldTimeSlice;
5175
+ var shouldTimeSlice = !forceSync && 0 === (lanes & 127) && 0 === (lanes & root$jscomp$0.expiredLanes) || checkIfRootIsPrerendering(root$jscomp$0, lanes), exitStatus = shouldTimeSlice ? renderRootConcurrent(root$jscomp$0, lanes) : renderRootSync(root$jscomp$0, lanes, !0), renderWasConcurrent = shouldTimeSlice;
5362
5176
  do {
5363
5177
  if (0 === exitStatus) {
5364
5178
  workInProgressRootIsPrerendering && !shouldTimeSlice && markRootSuspended(root$jscomp$0, lanes, 0, !1);
@@ -5456,8 +5270,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5456
5270
  for (var node = finishedWork;;) {
5457
5271
  var tag = node.tag;
5458
5272
  if ((0 === tag || 11 === tag || 15 === tag) && node.flags & 16384 && (tag = node.updateQueue, null !== tag && (tag = tag.stores, null !== tag))) for (var i = 0; i < tag.length; i++) {
5459
- var check = tag[i];
5460
- var getSnapshot = check.getSnapshot;
5273
+ var check = tag[i], getSnapshot = check.getSnapshot;
5461
5274
  check = check.value;
5462
5275
  try {
5463
5276
  if (!objectIs(getSnapshot(), check)) return !1;
@@ -5487,8 +5300,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5487
5300
  didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
5488
5301
  didAttemptEntireTree = root.expirationTimes;
5489
5302
  for (var lanes = suspendedLanes; 0 < lanes;) {
5490
- var index$4 = 31 - clz32(lanes);
5491
- var lane = 1 << index$4;
5303
+ var index$4 = 31 - clz32(lanes), lane = 1 << index$4;
5492
5304
  didAttemptEntireTree[index$4] = -1;
5493
5305
  lanes &= ~lane;
5494
5306
  }
@@ -5526,8 +5338,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5526
5338
  0 !== (lanes & 8) && (lanes |= lanes & 32);
5527
5339
  var allEntangledLanes = root.entangledLanes;
5528
5340
  if (0 !== allEntangledLanes) for (root = root.entanglements, allEntangledLanes &= lanes; 0 < allEntangledLanes;) {
5529
- var index$2 = 31 - clz32(allEntangledLanes);
5530
- var lane = 1 << index$2;
5341
+ var index$2 = 31 - clz32(allEntangledLanes), lane = 1 << index$2;
5531
5342
  lanes |= root[index$2];
5532
5343
  allEntangledLanes &= ~lane;
5533
5344
  }
@@ -5564,16 +5375,14 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5564
5375
  function renderRootSync(root, lanes, shouldYieldForPrerendering) {
5565
5376
  var prevExecutionContext = executionContext;
5566
5377
  executionContext |= 2;
5567
- var prevDispatcher = pushDispatcher();
5568
- var prevAsyncDispatcher = pushAsyncDispatcher();
5378
+ var prevDispatcher = pushDispatcher(), prevAsyncDispatcher = pushAsyncDispatcher();
5569
5379
  if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) workInProgressTransitions = null, prepareFreshStack(root, lanes);
5570
5380
  lanes = !1;
5571
5381
  var exitStatus = workInProgressRootExitStatus;
5572
5382
  a: do
5573
5383
  try {
5574
5384
  if (0 !== workInProgressSuspendedReason && null !== workInProgress) {
5575
- var unitOfWork = workInProgress;
5576
- var thrownValue = workInProgressThrownValue;
5385
+ var unitOfWork = workInProgress, thrownValue = workInProgressThrownValue;
5577
5386
  switch (workInProgressSuspendedReason) {
5578
5387
  case 8:
5579
5388
  resetWorkInProgressStack();
@@ -5617,8 +5426,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5617
5426
  function renderRootConcurrent(root, lanes) {
5618
5427
  var prevExecutionContext = executionContext;
5619
5428
  executionContext |= 2;
5620
- var prevDispatcher = pushDispatcher();
5621
- var prevAsyncDispatcher = pushAsyncDispatcher();
5429
+ var prevDispatcher = pushDispatcher(), prevAsyncDispatcher = pushAsyncDispatcher();
5622
5430
  workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes ? (workInProgressTransitions = null, workInProgressRootRenderTargetTime = now() + 500, prepareFreshStack(root, lanes)) : workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes);
5623
5431
  a: do
5624
5432
  try {
@@ -5660,9 +5468,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5660
5468
  case 26: resource = workInProgress.memoizedState;
5661
5469
  case 5:
5662
5470
  case 27:
5663
- var hostFiber = workInProgress;
5664
- var type = hostFiber.type;
5665
- var props = hostFiber.pendingProps;
5471
+ var hostFiber = workInProgress, type = hostFiber.type, props = hostFiber.pendingProps;
5666
5472
  if (resource ? preloadResource(resource) : preloadInstance(hostFiber.stateNode, type, props)) {
5667
5473
  workInProgressSuspendedReason = 0;
5668
5474
  workInProgressThrownValue = null;
@@ -5845,9 +5651,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5845
5651
  function flushMutationEffects() {
5846
5652
  if (1 === pendingEffectsStatus) {
5847
5653
  pendingEffectsStatus = 0;
5848
- var root = pendingEffectsRoot;
5849
- var finishedWork = pendingFinishedWork;
5850
- var rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
5654
+ var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
5851
5655
  if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) {
5852
5656
  rootMutationHasEffect = ReactSharedInternals.T;
5853
5657
  ReactSharedInternals.T = null;
@@ -5868,9 +5672,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5868
5672
  function flushLayoutEffects() {
5869
5673
  if (2 === pendingEffectsStatus) {
5870
5674
  pendingEffectsStatus = 0;
5871
- var root = pendingEffectsRoot;
5872
- var finishedWork = pendingFinishedWork;
5873
- var rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);
5675
+ var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);
5874
5676
  if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {
5875
5677
  rootHasLayoutEffect = ReactSharedInternals.T;
5876
5678
  ReactSharedInternals.T = null;
@@ -5891,10 +5693,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5891
5693
  if (4 === pendingEffectsStatus || 3 === pendingEffectsStatus) {
5892
5694
  pendingEffectsStatus = 0;
5893
5695
  requestPaint();
5894
- var root = pendingEffectsRoot;
5895
- var finishedWork = pendingFinishedWork;
5896
- var lanes = pendingEffectsLanes;
5897
- var recoverableErrors = pendingRecoverableErrors;
5696
+ var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, lanes = pendingEffectsLanes, recoverableErrors = pendingRecoverableErrors;
5898
5697
  0 !== (finishedWork.subtreeFlags & 10256) || 0 !== (finishedWork.flags & 10256) ? pendingEffectsStatus = 5 : (pendingEffectsStatus = 0, pendingFinishedWork = pendingEffectsRoot = null, releaseRootPooledCache(root, root.pendingLanes));
5899
5698
  var remainingLanes = root.pendingLanes;
5900
5699
  0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
@@ -5936,11 +5735,9 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5936
5735
  }
5937
5736
  function flushPassiveEffects() {
5938
5737
  if (5 !== pendingEffectsStatus) return !1;
5939
- var root = pendingEffectsRoot;
5940
- var remainingLanes = pendingEffectsRemainingLanes;
5738
+ var root = pendingEffectsRoot, remainingLanes = pendingEffectsRemainingLanes;
5941
5739
  pendingEffectsRemainingLanes = 0;
5942
- var renderPriority = lanesToEventPriority(pendingEffectsLanes);
5943
- var priority = 32 > renderPriority ? 32 : renderPriority;
5740
+ var renderPriority = lanesToEventPriority(pendingEffectsLanes), priority = 32 > renderPriority ? 32 : renderPriority;
5944
5741
  renderPriority = ReactSharedInternals.T;
5945
5742
  var previousPriority = getCurrentUpdatePriority();
5946
5743
  try {
@@ -5948,8 +5745,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
5948
5745
  ReactSharedInternals.T = null;
5949
5746
  priority = pendingPassiveTransitions;
5950
5747
  pendingPassiveTransitions = null;
5951
- var root$jscomp$0 = pendingEffectsRoot;
5952
- var lanes = pendingEffectsLanes;
5748
+ var root$jscomp$0 = pendingEffectsRoot, lanes = pendingEffectsLanes;
5953
5749
  pendingEffectsStatus = 0;
5954
5750
  pendingFinishedWork = pendingEffectsRoot = null;
5955
5751
  pendingEffectsLanes = 0;
@@ -6016,8 +5812,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
6016
5812
  null !== boundaryFiber && (markRootUpdated$1(boundaryFiber, retryLane), ensureRootIsScheduled(boundaryFiber));
6017
5813
  }
6018
5814
  function retryDehydratedSuspenseBoundary(boundaryFiber) {
6019
- var suspenseState = boundaryFiber.memoizedState;
6020
- var retryLane = 0;
5815
+ var suspenseState = boundaryFiber.memoizedState, retryLane = 0;
6021
5816
  null !== suspenseState && (retryLane = suspenseState.retryLane);
6022
5817
  retryTimedOutBoundary(boundaryFiber, retryLane);
6023
5818
  }
@@ -6238,102 +6033,33 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
6238
6033
  (fiber = fiber.alternate) && markRetryLaneImpl(fiber, retryLane);
6239
6034
  }
6240
6035
  var exports$2 = {};
6241
- var React = require_react$1.require_react();
6242
- var Scheduler = require_scheduler();
6243
- var assign = Object.assign;
6244
- var REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element");
6245
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
6246
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
6247
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
6248
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
6249
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
6250
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
6251
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
6252
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
6253
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
6254
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
6255
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
6256
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
6036
+ var React = require_react$1.require_react(), Scheduler = require_scheduler(), assign = Object.assign, REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"), 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");
6257
6037
  var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
6258
6038
  var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
6259
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
6260
- var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
6261
- var isArrayImpl = Array.isArray;
6262
- var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
6263
- var rendererVersion = $$$config.rendererVersion;
6264
- var rendererPackageName = $$$config.rendererPackageName;
6265
- var extraDevToolsConfig = $$$config.extraDevToolsConfig;
6266
- var getPublicInstance = $$$config.getPublicInstance;
6267
- var getRootHostContext = $$$config.getRootHostContext;
6268
- var getChildHostContext = $$$config.getChildHostContext;
6269
- var prepareForCommit = $$$config.prepareForCommit;
6270
- var resetAfterCommit = $$$config.resetAfterCommit;
6271
- var createInstance = $$$config.createInstance;
6039
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), isArrayImpl = Array.isArray, ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, rendererVersion = $$$config.rendererVersion, rendererPackageName = $$$config.rendererPackageName, extraDevToolsConfig = $$$config.extraDevToolsConfig, getPublicInstance = $$$config.getPublicInstance, getRootHostContext = $$$config.getRootHostContext, getChildHostContext = $$$config.getChildHostContext, prepareForCommit = $$$config.prepareForCommit, resetAfterCommit = $$$config.resetAfterCommit, createInstance = $$$config.createInstance;
6272
6040
  $$$config.cloneMutableInstance;
6273
- var appendInitialChild = $$$config.appendInitialChild;
6274
- var finalizeInitialChildren = $$$config.finalizeInitialChildren;
6275
- var shouldSetTextContent = $$$config.shouldSetTextContent;
6276
- var createTextInstance = $$$config.createTextInstance;
6041
+ var appendInitialChild = $$$config.appendInitialChild, finalizeInitialChildren = $$$config.finalizeInitialChildren, shouldSetTextContent = $$$config.shouldSetTextContent, createTextInstance = $$$config.createTextInstance;
6277
6042
  $$$config.cloneMutableTextInstance;
6278
- var scheduleTimeout = $$$config.scheduleTimeout;
6279
- var cancelTimeout = $$$config.cancelTimeout;
6280
- var noTimeout = $$$config.noTimeout;
6281
- var isPrimaryRenderer = $$$config.isPrimaryRenderer;
6043
+ var scheduleTimeout = $$$config.scheduleTimeout, cancelTimeout = $$$config.cancelTimeout, noTimeout = $$$config.noTimeout, isPrimaryRenderer = $$$config.isPrimaryRenderer;
6282
6044
  $$$config.warnsIfNotActing;
6283
- var supportsMutation = $$$config.supportsMutation;
6284
- var supportsPersistence = $$$config.supportsPersistence;
6285
- var supportsHydration = $$$config.supportsHydration;
6286
- var getInstanceFromNode = $$$config.getInstanceFromNode;
6045
+ var supportsMutation = $$$config.supportsMutation, supportsPersistence = $$$config.supportsPersistence, supportsHydration = $$$config.supportsHydration, getInstanceFromNode = $$$config.getInstanceFromNode;
6287
6046
  $$$config.beforeActiveInstanceBlur;
6288
6047
  var preparePortalMount = $$$config.preparePortalMount;
6289
6048
  $$$config.prepareScopeUpdate;
6290
6049
  $$$config.getInstanceFromScope;
6291
- var setCurrentUpdatePriority = $$$config.setCurrentUpdatePriority;
6292
- var getCurrentUpdatePriority = $$$config.getCurrentUpdatePriority;
6293
- var resolveUpdatePriority = $$$config.resolveUpdatePriority;
6050
+ var setCurrentUpdatePriority = $$$config.setCurrentUpdatePriority, getCurrentUpdatePriority = $$$config.getCurrentUpdatePriority, resolveUpdatePriority = $$$config.resolveUpdatePriority;
6294
6051
  $$$config.trackSchedulerEvent;
6295
6052
  $$$config.resolveEventType;
6296
6053
  $$$config.resolveEventTimeStamp;
6297
- var shouldAttemptEagerTransition = $$$config.shouldAttemptEagerTransition;
6298
- var detachDeletedInstance = $$$config.detachDeletedInstance;
6054
+ var shouldAttemptEagerTransition = $$$config.shouldAttemptEagerTransition, detachDeletedInstance = $$$config.detachDeletedInstance;
6299
6055
  $$$config.requestPostPaintCallback;
6300
- var maySuspendCommit = $$$config.maySuspendCommit;
6301
- var maySuspendCommitOnUpdate = $$$config.maySuspendCommitOnUpdate;
6302
- var maySuspendCommitInSyncRender = $$$config.maySuspendCommitInSyncRender;
6303
- var preloadInstance = $$$config.preloadInstance;
6304
- var startSuspendingCommit = $$$config.startSuspendingCommit;
6305
- var suspendInstance = $$$config.suspendInstance;
6056
+ var maySuspendCommit = $$$config.maySuspendCommit, maySuspendCommitOnUpdate = $$$config.maySuspendCommitOnUpdate, maySuspendCommitInSyncRender = $$$config.maySuspendCommitInSyncRender, preloadInstance = $$$config.preloadInstance, startSuspendingCommit = $$$config.startSuspendingCommit, suspendInstance = $$$config.suspendInstance;
6306
6057
  $$$config.suspendOnActiveViewTransition;
6307
6058
  var waitForCommitToBeReady = $$$config.waitForCommitToBeReady;
6308
6059
  $$$config.getSuspendedCommitReason;
6309
- var NotPendingTransition = $$$config.NotPendingTransition;
6310
- var HostTransitionContext = $$$config.HostTransitionContext;
6311
- var resetFormInstance = $$$config.resetFormInstance;
6060
+ var NotPendingTransition = $$$config.NotPendingTransition, HostTransitionContext = $$$config.HostTransitionContext, resetFormInstance = $$$config.resetFormInstance;
6312
6061
  $$$config.bindToConsole;
6313
- var supportsMicrotasks = $$$config.supportsMicrotasks;
6314
- var scheduleMicrotask = $$$config.scheduleMicrotask;
6315
- var supportsTestSelectors = $$$config.supportsTestSelectors;
6316
- var findFiberRoot = $$$config.findFiberRoot;
6317
- var getBoundingRect = $$$config.getBoundingRect;
6318
- var getTextContent = $$$config.getTextContent;
6319
- var isHiddenSubtree = $$$config.isHiddenSubtree;
6320
- var matchAccessibilityRole = $$$config.matchAccessibilityRole;
6321
- var setFocusIfFocusable = $$$config.setFocusIfFocusable;
6322
- var setupIntersectionObserver = $$$config.setupIntersectionObserver;
6323
- var appendChild = $$$config.appendChild;
6324
- var appendChildToContainer = $$$config.appendChildToContainer;
6325
- var commitTextUpdate = $$$config.commitTextUpdate;
6326
- var commitMount = $$$config.commitMount;
6327
- var commitUpdate = $$$config.commitUpdate;
6328
- var insertBefore = $$$config.insertBefore;
6329
- var insertInContainerBefore = $$$config.insertInContainerBefore;
6330
- var removeChild = $$$config.removeChild;
6331
- var removeChildFromContainer = $$$config.removeChildFromContainer;
6332
- var resetTextContent = $$$config.resetTextContent;
6333
- var hideInstance = $$$config.hideInstance;
6334
- var hideTextInstance = $$$config.hideTextInstance;
6335
- var unhideInstance = $$$config.unhideInstance;
6336
- var unhideTextInstance = $$$config.unhideTextInstance;
6062
+ var supportsMicrotasks = $$$config.supportsMicrotasks, scheduleMicrotask = $$$config.scheduleMicrotask, supportsTestSelectors = $$$config.supportsTestSelectors, findFiberRoot = $$$config.findFiberRoot, getBoundingRect = $$$config.getBoundingRect, getTextContent = $$$config.getTextContent, isHiddenSubtree = $$$config.isHiddenSubtree, matchAccessibilityRole = $$$config.matchAccessibilityRole, setFocusIfFocusable = $$$config.setFocusIfFocusable, setupIntersectionObserver = $$$config.setupIntersectionObserver, appendChild = $$$config.appendChild, appendChildToContainer = $$$config.appendChildToContainer, commitTextUpdate = $$$config.commitTextUpdate, commitMount = $$$config.commitMount, commitUpdate = $$$config.commitUpdate, insertBefore = $$$config.insertBefore, insertInContainerBefore = $$$config.insertInContainerBefore, removeChild = $$$config.removeChild, removeChildFromContainer = $$$config.removeChildFromContainer, resetTextContent = $$$config.resetTextContent, hideInstance = $$$config.hideInstance, hideTextInstance = $$$config.hideTextInstance, unhideInstance = $$$config.unhideInstance, unhideTextInstance = $$$config.unhideTextInstance;
6337
6063
  $$$config.cancelViewTransitionName;
6338
6064
  $$$config.cancelRootViewTransitionName;
6339
6065
  $$$config.restoreRootViewTransitionName;
@@ -6352,98 +6078,15 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
6352
6078
  $$$config.updateFragmentInstanceFiber;
6353
6079
  $$$config.commitNewChildToFragmentInstance;
6354
6080
  $$$config.deleteChildFromFragmentInstance;
6355
- var cloneInstance = $$$config.cloneInstance;
6356
- var createContainerChildSet = $$$config.createContainerChildSet;
6357
- var appendChildToContainerChildSet = $$$config.appendChildToContainerChildSet;
6358
- var finalizeContainerChildren = $$$config.finalizeContainerChildren;
6359
- var replaceContainerChildren = $$$config.replaceContainerChildren;
6360
- var cloneHiddenInstance = $$$config.cloneHiddenInstance;
6361
- var cloneHiddenTextInstance = $$$config.cloneHiddenTextInstance;
6362
- var isSuspenseInstancePending = $$$config.isSuspenseInstancePending;
6363
- var isSuspenseInstanceFallback = $$$config.isSuspenseInstanceFallback;
6364
- var getSuspenseInstanceFallbackErrorDetails = $$$config.getSuspenseInstanceFallbackErrorDetails;
6365
- var registerSuspenseInstanceRetry = $$$config.registerSuspenseInstanceRetry;
6366
- var canHydrateFormStateMarker = $$$config.canHydrateFormStateMarker;
6367
- var isFormStateMarkerMatching = $$$config.isFormStateMarkerMatching;
6368
- var getNextHydratableSibling = $$$config.getNextHydratableSibling;
6369
- var getNextHydratableSiblingAfterSingleton = $$$config.getNextHydratableSiblingAfterSingleton;
6370
- var getFirstHydratableChild = $$$config.getFirstHydratableChild;
6371
- var getFirstHydratableChildWithinContainer = $$$config.getFirstHydratableChildWithinContainer;
6372
- var getFirstHydratableChildWithinActivityInstance = $$$config.getFirstHydratableChildWithinActivityInstance;
6373
- var getFirstHydratableChildWithinSuspenseInstance = $$$config.getFirstHydratableChildWithinSuspenseInstance;
6374
- var getFirstHydratableChildWithinSingleton = $$$config.getFirstHydratableChildWithinSingleton;
6375
- var canHydrateInstance = $$$config.canHydrateInstance;
6376
- var canHydrateTextInstance = $$$config.canHydrateTextInstance;
6377
- var canHydrateActivityInstance = $$$config.canHydrateActivityInstance;
6378
- var canHydrateSuspenseInstance = $$$config.canHydrateSuspenseInstance;
6379
- var hydrateInstance = $$$config.hydrateInstance;
6380
- var hydrateTextInstance = $$$config.hydrateTextInstance;
6381
- var hydrateActivityInstance = $$$config.hydrateActivityInstance;
6382
- var hydrateSuspenseInstance = $$$config.hydrateSuspenseInstance;
6383
- var getNextHydratableInstanceAfterActivityInstance = $$$config.getNextHydratableInstanceAfterActivityInstance;
6384
- var getNextHydratableInstanceAfterSuspenseInstance = $$$config.getNextHydratableInstanceAfterSuspenseInstance;
6385
- var commitHydratedInstance = $$$config.commitHydratedInstance;
6386
- var commitHydratedContainer = $$$config.commitHydratedContainer;
6387
- var commitHydratedActivityInstance = $$$config.commitHydratedActivityInstance;
6388
- var commitHydratedSuspenseInstance = $$$config.commitHydratedSuspenseInstance;
6389
- var finalizeHydratedChildren = $$$config.finalizeHydratedChildren;
6390
- var flushHydrationEvents = $$$config.flushHydrationEvents;
6081
+ var cloneInstance = $$$config.cloneInstance, createContainerChildSet = $$$config.createContainerChildSet, appendChildToContainerChildSet = $$$config.appendChildToContainerChildSet, finalizeContainerChildren = $$$config.finalizeContainerChildren, replaceContainerChildren = $$$config.replaceContainerChildren, cloneHiddenInstance = $$$config.cloneHiddenInstance, cloneHiddenTextInstance = $$$config.cloneHiddenTextInstance, isSuspenseInstancePending = $$$config.isSuspenseInstancePending, isSuspenseInstanceFallback = $$$config.isSuspenseInstanceFallback, getSuspenseInstanceFallbackErrorDetails = $$$config.getSuspenseInstanceFallbackErrorDetails, registerSuspenseInstanceRetry = $$$config.registerSuspenseInstanceRetry, canHydrateFormStateMarker = $$$config.canHydrateFormStateMarker, isFormStateMarkerMatching = $$$config.isFormStateMarkerMatching, getNextHydratableSibling = $$$config.getNextHydratableSibling, getNextHydratableSiblingAfterSingleton = $$$config.getNextHydratableSiblingAfterSingleton, getFirstHydratableChild = $$$config.getFirstHydratableChild, getFirstHydratableChildWithinContainer = $$$config.getFirstHydratableChildWithinContainer, getFirstHydratableChildWithinActivityInstance = $$$config.getFirstHydratableChildWithinActivityInstance, getFirstHydratableChildWithinSuspenseInstance = $$$config.getFirstHydratableChildWithinSuspenseInstance, getFirstHydratableChildWithinSingleton = $$$config.getFirstHydratableChildWithinSingleton, canHydrateInstance = $$$config.canHydrateInstance, canHydrateTextInstance = $$$config.canHydrateTextInstance, canHydrateActivityInstance = $$$config.canHydrateActivityInstance, canHydrateSuspenseInstance = $$$config.canHydrateSuspenseInstance, hydrateInstance = $$$config.hydrateInstance, hydrateTextInstance = $$$config.hydrateTextInstance, hydrateActivityInstance = $$$config.hydrateActivityInstance, hydrateSuspenseInstance = $$$config.hydrateSuspenseInstance, getNextHydratableInstanceAfterActivityInstance = $$$config.getNextHydratableInstanceAfterActivityInstance, getNextHydratableInstanceAfterSuspenseInstance = $$$config.getNextHydratableInstanceAfterSuspenseInstance, commitHydratedInstance = $$$config.commitHydratedInstance, commitHydratedContainer = $$$config.commitHydratedContainer, commitHydratedActivityInstance = $$$config.commitHydratedActivityInstance, commitHydratedSuspenseInstance = $$$config.commitHydratedSuspenseInstance, finalizeHydratedChildren = $$$config.finalizeHydratedChildren, flushHydrationEvents = $$$config.flushHydrationEvents;
6391
6082
  $$$config.clearActivityBoundary;
6392
6083
  var clearSuspenseBoundary = $$$config.clearSuspenseBoundary;
6393
6084
  $$$config.clearActivityBoundaryFromContainer;
6394
- var clearSuspenseBoundaryFromContainer = $$$config.clearSuspenseBoundaryFromContainer;
6395
- var hideDehydratedBoundary = $$$config.hideDehydratedBoundary;
6396
- var unhideDehydratedBoundary = $$$config.unhideDehydratedBoundary;
6397
- var shouldDeleteUnhydratedTailInstances = $$$config.shouldDeleteUnhydratedTailInstances;
6085
+ var clearSuspenseBoundaryFromContainer = $$$config.clearSuspenseBoundaryFromContainer, hideDehydratedBoundary = $$$config.hideDehydratedBoundary, unhideDehydratedBoundary = $$$config.unhideDehydratedBoundary, shouldDeleteUnhydratedTailInstances = $$$config.shouldDeleteUnhydratedTailInstances;
6398
6086
  $$$config.diffHydratedPropsForDevWarnings;
6399
6087
  $$$config.diffHydratedTextForDevWarnings;
6400
6088
  $$$config.describeHydratableInstanceForDevWarnings;
6401
- var validateHydratableInstance = $$$config.validateHydratableInstance;
6402
- var validateHydratableTextInstance = $$$config.validateHydratableTextInstance;
6403
- var supportsResources = $$$config.supportsResources;
6404
- var isHostHoistableType = $$$config.isHostHoistableType;
6405
- var getHoistableRoot = $$$config.getHoistableRoot;
6406
- var getResource = $$$config.getResource;
6407
- var acquireResource = $$$config.acquireResource;
6408
- var releaseResource = $$$config.releaseResource;
6409
- var hydrateHoistable = $$$config.hydrateHoistable;
6410
- var mountHoistable = $$$config.mountHoistable;
6411
- var unmountHoistable = $$$config.unmountHoistable;
6412
- var createHoistableInstance = $$$config.createHoistableInstance;
6413
- var prepareToCommitHoistables = $$$config.prepareToCommitHoistables;
6414
- var mayResourceSuspendCommit = $$$config.mayResourceSuspendCommit;
6415
- var preloadResource = $$$config.preloadResource;
6416
- var suspendResource = $$$config.suspendResource;
6417
- var supportsSingletons = $$$config.supportsSingletons;
6418
- var resolveSingletonInstance = $$$config.resolveSingletonInstance;
6419
- var acquireSingletonInstance = $$$config.acquireSingletonInstance;
6420
- var releaseSingletonInstance = $$$config.releaseSingletonInstance;
6421
- var isHostSingletonType = $$$config.isHostSingletonType;
6422
- var isSingletonScope = $$$config.isSingletonScope;
6423
- var valueStack = [];
6424
- var index$jscomp$0 = -1;
6425
- var emptyContextObject = {};
6426
- var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback;
6427
- var log$1 = Math.log;
6428
- var LN2 = Math.LN2;
6429
- var nextTransitionUpdateLane = 256;
6430
- var nextTransitionDeferredLane = 262144;
6431
- var nextRetryLane = 4194304;
6432
- var scheduleCallback$3 = Scheduler.unstable_scheduleCallback;
6433
- var cancelCallback$1 = Scheduler.unstable_cancelCallback;
6434
- var shouldYield = Scheduler.unstable_shouldYield;
6435
- var requestPaint = Scheduler.unstable_requestPaint;
6436
- var now = Scheduler.unstable_now;
6437
- var ImmediatePriority = Scheduler.unstable_ImmediatePriority;
6438
- var UserBlockingPriority = Scheduler.unstable_UserBlockingPriority;
6439
- var NormalPriority$1 = Scheduler.unstable_NormalPriority;
6440
- var IdlePriority = Scheduler.unstable_IdlePriority;
6441
- var log = Scheduler.log;
6442
- var unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue;
6443
- var rendererID = null;
6444
- var injectedHook = null;
6445
- var objectIs = "function" === typeof Object.is ? Object.is : is;
6446
- var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
6089
+ var validateHydratableInstance = $$$config.validateHydratableInstance, validateHydratableTextInstance = $$$config.validateHydratableTextInstance, supportsResources = $$$config.supportsResources, isHostHoistableType = $$$config.isHostHoistableType, getHoistableRoot = $$$config.getHoistableRoot, getResource = $$$config.getResource, acquireResource = $$$config.acquireResource, releaseResource = $$$config.releaseResource, hydrateHoistable = $$$config.hydrateHoistable, mountHoistable = $$$config.mountHoistable, unmountHoistable = $$$config.unmountHoistable, createHoistableInstance = $$$config.createHoistableInstance, prepareToCommitHoistables = $$$config.prepareToCommitHoistables, mayResourceSuspendCommit = $$$config.mayResourceSuspendCommit, preloadResource = $$$config.preloadResource, suspendResource = $$$config.suspendResource, supportsSingletons = $$$config.supportsSingletons, resolveSingletonInstance = $$$config.resolveSingletonInstance, acquireSingletonInstance = $$$config.acquireSingletonInstance, releaseSingletonInstance = $$$config.releaseSingletonInstance, isHostSingletonType = $$$config.isHostSingletonType, isSingletonScope = $$$config.isSingletonScope, valueStack = [], index$jscomp$0 = -1, emptyContextObject = {}, clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log$1 = Math.log, LN2 = Math.LN2, nextTransitionUpdateLane = 256, nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, cancelCallback$1 = Scheduler.unstable_cancelCallback, shouldYield = Scheduler.unstable_shouldYield, requestPaint = Scheduler.unstable_requestPaint, now = Scheduler.unstable_now, ImmediatePriority = Scheduler.unstable_ImmediatePriority, UserBlockingPriority = Scheduler.unstable_UserBlockingPriority, NormalPriority$1 = Scheduler.unstable_NormalPriority, IdlePriority = Scheduler.unstable_IdlePriority, log = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null, objectIs = "function" === typeof Object.is ? Object.is : is, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
6447
6090
  if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
6448
6091
  var event = new window.ErrorEvent("error", {
6449
6092
  bubbles: !0,
@@ -6457,35 +6100,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
6457
6100
  return;
6458
6101
  }
6459
6102
  console.error(error);
6460
- };
6461
- var hasOwnProperty = Object.prototype.hasOwnProperty;
6462
- var prefix;
6463
- var suffix;
6464
- var reentry = !1;
6465
- var CapturedStacks = /* @__PURE__ */ new WeakMap();
6466
- var forkStack = [];
6467
- var forkStackIndex = 0;
6468
- var treeForkProvider = null;
6469
- var treeForkCount = 0;
6470
- var idStack = [];
6471
- var idStackIndex = 0;
6472
- var treeContextProvider = null;
6473
- var treeContextId = 1;
6474
- var treeContextOverflow = "";
6475
- var contextStackCursor = createCursor(null);
6476
- var contextFiberStackCursor = createCursor(null);
6477
- var rootInstanceStackCursor = createCursor(null);
6478
- var hostTransitionProviderCursor = createCursor(null);
6479
- var hydrationParentFiber = null;
6480
- var nextHydratableInstance = null;
6481
- var isHydrating = !1;
6482
- var hydrationErrors = null;
6483
- var rootOrSingletonContext = !1;
6484
- var HydrationMismatchException = Error(formatProdErrorMessage(519));
6485
- var valueCursor = createCursor(null);
6486
- var currentlyRenderingFiber$1 = null;
6487
- var lastContextDependency = null;
6488
- var AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function() {
6103
+ }, hasOwnProperty = Object.prototype.hasOwnProperty, prefix, suffix, reentry = !1, CapturedStacks = /* @__PURE__ */ new WeakMap(), forkStack = [], forkStackIndex = 0, treeForkProvider = null, treeForkCount = 0, idStack = [], idStackIndex = 0, treeContextProvider = null, treeContextId = 1, treeContextOverflow = "", contextStackCursor = createCursor(null), contextFiberStackCursor = createCursor(null), rootInstanceStackCursor = createCursor(null), hostTransitionProviderCursor = createCursor(null), hydrationParentFiber = null, nextHydratableInstance = null, isHydrating = !1, hydrationErrors = null, rootOrSingletonContext = !1, HydrationMismatchException = Error(formatProdErrorMessage(519)), valueCursor = createCursor(null), currentlyRenderingFiber$1 = null, lastContextDependency = null, AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function() {
6489
6104
  var listeners = [], signal = this.signal = {
6490
6105
  aborted: !1,
6491
6106
  addEventListener: function(type, listener) {
@@ -6498,65 +6113,20 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
6498
6113
  return listener();
6499
6114
  });
6500
6115
  };
6501
- };
6502
- var scheduleCallback$2 = Scheduler.unstable_scheduleCallback;
6503
- var NormalPriority = Scheduler.unstable_NormalPriority;
6504
- var CacheContext = {
6116
+ }, scheduleCallback$2 = Scheduler.unstable_scheduleCallback, NormalPriority = Scheduler.unstable_NormalPriority, CacheContext = {
6505
6117
  $$typeof: REACT_CONTEXT_TYPE,
6506
6118
  Consumer: null,
6507
6119
  Provider: null,
6508
6120
  _currentValue: null,
6509
6121
  _currentValue2: null,
6510
6122
  _threadCount: 0
6511
- };
6512
- var firstScheduledRoot = null;
6513
- var lastScheduledRoot = null;
6514
- var didScheduleMicrotask = !1;
6515
- var mightHavePendingSyncWork = !1;
6516
- var isFlushingWork = !1;
6517
- var currentEventTransitionLane = 0;
6518
- var currentEntangledListeners = null;
6519
- var currentEntangledPendingCount = 0;
6520
- var currentEntangledLane = 0;
6521
- var currentEntangledActionThenable = null;
6522
- var prevOnStartTransitionFinish = ReactSharedInternals.S;
6123
+ }, firstScheduledRoot = null, lastScheduledRoot = null, didScheduleMicrotask = !1, mightHavePendingSyncWork = !1, isFlushingWork = !1, currentEventTransitionLane = 0, currentEntangledListeners = null, currentEntangledPendingCount = 0, currentEntangledLane = 0, currentEntangledActionThenable = null, prevOnStartTransitionFinish = ReactSharedInternals.S;
6523
6124
  ReactSharedInternals.S = function(transition, returnValue) {
6524
6125
  globalMostRecentTransitionTime = now();
6525
6126
  "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && entangleAsyncAction(transition, returnValue);
6526
6127
  null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue);
6527
6128
  };
6528
- var resumedCache = createCursor(null);
6529
- var SuspenseException = Error(formatProdErrorMessage(460));
6530
- var SuspenseyCommitException = Error(formatProdErrorMessage(474));
6531
- var SuspenseActionException = Error(formatProdErrorMessage(542));
6532
- var noopSuspenseyCommitThenable = { then: function() {} };
6533
- var suspendedThenable = null;
6534
- var thenableState$1 = null;
6535
- var thenableIndexCounter$1 = 0;
6536
- var reconcileChildFibers = createChildReconciler(!0);
6537
- var mountChildFibers = createChildReconciler(!1);
6538
- var concurrentQueues = [];
6539
- var concurrentQueuesIndex = 0;
6540
- var concurrentlyUpdatedLanes = 0;
6541
- var hasForceUpdate = !1;
6542
- var didReadFromEntangledAsyncAction = !1;
6543
- var currentTreeHiddenStackCursor = createCursor(null);
6544
- var prevEntangledRenderLanesCursor = createCursor(0);
6545
- var suspenseHandlerStackCursor = createCursor(null);
6546
- var shellBoundary = null;
6547
- var suspenseStackCursor = createCursor(0);
6548
- var renderLanes = 0;
6549
- var currentlyRenderingFiber = null;
6550
- var currentHook = null;
6551
- var workInProgressHook = null;
6552
- var didScheduleRenderPhaseUpdate = !1;
6553
- var didScheduleRenderPhaseUpdateDuringThisPass = !1;
6554
- var shouldDoubleInvokeUserFnsInHooksDEV = !1;
6555
- var localIdCounter = 0;
6556
- var thenableIndexCounter = 0;
6557
- var thenableState = null;
6558
- var globalClientIdCounter = 0;
6559
- var ContextOnlyDispatcher = {
6129
+ var resumedCache = createCursor(null), SuspenseException = Error(formatProdErrorMessage(460)), SuspenseyCommitException = Error(formatProdErrorMessage(474)), SuspenseActionException = Error(formatProdErrorMessage(542)), noopSuspenseyCommitThenable = { then: function() {} }, suspendedThenable = null, thenableState$1 = null, thenableIndexCounter$1 = 0, reconcileChildFibers = createChildReconciler(!0), mountChildFibers = createChildReconciler(!1), concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0, hasForceUpdate = !1, didReadFromEntangledAsyncAction = !1, currentTreeHiddenStackCursor = createCursor(null), prevEntangledRenderLanesCursor = createCursor(0), suspenseHandlerStackCursor = createCursor(null), shellBoundary = null, suspenseStackCursor = createCursor(0), renderLanes = 0, currentlyRenderingFiber = null, currentHook = null, workInProgressHook = null, didScheduleRenderPhaseUpdate = !1, didScheduleRenderPhaseUpdateDuringThisPass = !1, shouldDoubleInvokeUserFnsInHooksDEV = !1, localIdCounter = 0, thenableIndexCounter = 0, thenableState = null, globalClientIdCounter = 0, ContextOnlyDispatcher = {
6560
6130
  readContext,
6561
6131
  use,
6562
6132
  useCallback: throwInvalidHookError,
@@ -6726,8 +6296,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
6726
6296
  return ref.impl.apply(void 0, arguments);
6727
6297
  };
6728
6298
  }
6729
- };
6730
- var HooksDispatcherOnUpdate = {
6299
+ }, HooksDispatcherOnUpdate = {
6731
6300
  readContext,
6732
6301
  use,
6733
6302
  useCallback: updateCallback,
@@ -6783,8 +6352,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
6783
6352
  return null === currentHook ? mountDeferredValueImpl(hook, value, initialValue) : updateDeferredValueImpl(hook, currentHook.memoizedState, value, initialValue);
6784
6353
  },
6785
6354
  useTransition: function() {
6786
- var booleanOrThenable = rerenderReducer(basicStateReducer)[0];
6787
- var start = updateWorkInProgressHook().memoizedState;
6355
+ var booleanOrThenable = rerenderReducer(basicStateReducer)[0], start = updateWorkInProgressHook().memoizedState;
6788
6356
  return ["boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), start];
6789
6357
  },
6790
6358
  useSyncExternalStore: updateSyncExternalStore,
@@ -6828,25 +6396,12 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
6828
6396
  callback = enqueueUpdate(inst, update, lane);
6829
6397
  null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane));
6830
6398
  }
6831
- };
6832
- var SelectiveHydrationException = Error(formatProdErrorMessage(461));
6833
- var didReceiveUpdate = !1;
6834
- var SUSPENDED_MARKER = {
6399
+ }, SelectiveHydrationException = Error(formatProdErrorMessage(461)), didReceiveUpdate = !1, SUSPENDED_MARKER = {
6835
6400
  dehydrated: null,
6836
6401
  treeContext: null,
6837
6402
  retryLane: 0,
6838
6403
  hydrationErrors: null
6839
- };
6840
- var offscreenSubtreeIsHidden = !1;
6841
- var offscreenSubtreeWasHidden = !1;
6842
- var needsFormReset = !1;
6843
- var PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set;
6844
- var nextEffect = null;
6845
- var hostParent = null;
6846
- var hostParentIsContainer = !1;
6847
- var currentHoistableRoot = null;
6848
- var suspenseyCommitFlag = 8192;
6849
- var DefaultAsyncDispatcher = {
6404
+ }, offscreenSubtreeIsHidden = !1, offscreenSubtreeWasHidden = !1, needsFormReset = !1, PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set, nextEffect = null, hostParent = null, hostParentIsContainer = !1, currentHoistableRoot = null, suspenseyCommitFlag = 8192, DefaultAsyncDispatcher = {
6850
6405
  getCacheForType: function(resourceType) {
6851
6406
  var cache = readContext(CacheContext), cacheForType = cache.data.get(resourceType);
6852
6407
  void 0 === cacheForType && (cacheForType = resourceType(), cache.data.set(resourceType, cacheForType));
@@ -6855,12 +6410,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
6855
6410
  cacheSignal: function() {
6856
6411
  return readContext(CacheContext).controller.signal;
6857
6412
  }
6858
- };
6859
- var COMPONENT_TYPE = 0;
6860
- var HAS_PSEUDO_CLASS_TYPE = 1;
6861
- var ROLE_TYPE = 2;
6862
- var TEST_NAME_TYPE = 3;
6863
- var TEXT_TYPE = 4;
6413
+ }, COMPONENT_TYPE = 0, HAS_PSEUDO_CLASS_TYPE = 1, ROLE_TYPE = 2, TEST_NAME_TYPE = 3, TEXT_TYPE = 4;
6864
6414
  if ("function" === typeof Symbol && Symbol.for) {
6865
6415
  var symbolFor = Symbol.for;
6866
6416
  COMPONENT_TYPE = symbolFor("selector.component");
@@ -6869,40 +6419,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
6869
6419
  TEST_NAME_TYPE = symbolFor("selector.test_id");
6870
6420
  TEXT_TYPE = symbolFor("selector.text");
6871
6421
  }
6872
- var PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map;
6873
- var executionContext = 0;
6874
- var workInProgressRoot = null;
6875
- var workInProgress = null;
6876
- var workInProgressRootRenderLanes = 0;
6877
- var workInProgressSuspendedReason = 0;
6878
- var workInProgressThrownValue = null;
6879
- var workInProgressRootDidSkipSuspendedSiblings = !1;
6880
- var workInProgressRootIsPrerendering = !1;
6881
- var workInProgressRootDidAttachPingListener = !1;
6882
- var entangledRenderLanes = 0;
6883
- var workInProgressRootExitStatus = 0;
6884
- var workInProgressRootSkippedLanes = 0;
6885
- var workInProgressRootInterleavedUpdatedLanes = 0;
6886
- var workInProgressRootPingedLanes = 0;
6887
- var workInProgressDeferredLane = 0;
6888
- var workInProgressSuspendedRetryLanes = 0;
6889
- var workInProgressRootConcurrentErrors = null;
6890
- var workInProgressRootRecoverableErrors = null;
6891
- var workInProgressRootDidIncludeRecursiveRenderUpdate = !1;
6892
- var globalMostRecentFallbackTime = 0;
6893
- var globalMostRecentTransitionTime = 0;
6894
- var workInProgressRootRenderTargetTime = Infinity;
6895
- var workInProgressTransitions = null;
6896
- var legacyErrorBoundariesThatAlreadyFailed = null;
6897
- var pendingEffectsStatus = 0;
6898
- var pendingEffectsRoot = null;
6899
- var pendingFinishedWork = null;
6900
- var pendingEffectsLanes = 0;
6901
- var pendingEffectsRemainingLanes = 0;
6902
- var pendingPassiveTransitions = null;
6903
- var pendingRecoverableErrors = null;
6904
- var nestedUpdateCount = 0;
6905
- var rootWithNestedUpdates = null;
6422
+ var PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map, executionContext = 0, workInProgressRoot = null, workInProgress = null, workInProgressRootRenderLanes = 0, workInProgressSuspendedReason = 0, workInProgressThrownValue = null, workInProgressRootDidSkipSuspendedSiblings = !1, workInProgressRootIsPrerendering = !1, workInProgressRootDidAttachPingListener = !1, entangledRenderLanes = 0, workInProgressRootExitStatus = 0, workInProgressRootSkippedLanes = 0, workInProgressRootInterleavedUpdatedLanes = 0, workInProgressRootPingedLanes = 0, workInProgressDeferredLane = 0, workInProgressSuspendedRetryLanes = 0, workInProgressRootConcurrentErrors = null, workInProgressRootRecoverableErrors = null, workInProgressRootDidIncludeRecursiveRenderUpdate = !1, globalMostRecentFallbackTime = 0, globalMostRecentTransitionTime = 0, workInProgressRootRenderTargetTime = Infinity, workInProgressTransitions = null, legacyErrorBoundariesThatAlreadyFailed = null, pendingEffectsStatus = 0, pendingEffectsRoot = null, pendingFinishedWork = null, pendingEffectsLanes = 0, pendingEffectsRemainingLanes = 0, pendingPassiveTransitions = null, pendingRecoverableErrors = null, nestedUpdateCount = 0, rootWithNestedUpdates = null;
6906
6423
  exports$2.attemptContinuousHydration = function(fiber) {
6907
6424
  if (13 === fiber.tag || 31 === fiber.tag) {
6908
6425
  var root = enqueueConcurrentRenderForLane(fiber, 67108864);
@@ -7012,8 +6529,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
7012
6529
  reportGlobalError(error);
7013
6530
  };
7014
6531
  exports$2.deferredUpdates = function(fn) {
7015
- var prevTransition = ReactSharedInternals.T;
7016
- var previousPriority = getCurrentUpdatePriority();
6532
+ var prevTransition = ReactSharedInternals.T, previousPriority = getCurrentUpdatePriority();
7017
6533
  try {
7018
6534
  return setCurrentUpdatePriority(32), ReactSharedInternals.T = null, fn();
7019
6535
  } finally {
@@ -7021,8 +6537,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
7021
6537
  }
7022
6538
  };
7023
6539
  exports$2.discreteUpdates = function(fn, a, b, c, d) {
7024
- var prevTransition = ReactSharedInternals.T;
7025
- var previousPriority = getCurrentUpdatePriority();
6540
+ var prevTransition = ReactSharedInternals.T, previousPriority = getCurrentUpdatePriority();
7026
6541
  try {
7027
6542
  return setCurrentUpdatePriority(2), ReactSharedInternals.T = null, fn(a, b, c, d);
7028
6543
  } finally {
@@ -7038,11 +6553,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
7038
6553
  for (selectors = hostRoot.length - 1; 0 < selectors; selectors--) {
7039
6554
  i = hostRoot[selectors];
7040
6555
  for (var targetLeft = i.x, targetRight = targetLeft + i.width, targetTop = i.y, targetBottom = targetTop + i.height, j = selectors - 1; 0 <= j; j--) if (selectors !== j) {
7041
- var otherRect = hostRoot[j];
7042
- var otherLeft = otherRect.x;
7043
- var otherRight = otherLeft + otherRect.width;
7044
- var otherTop = otherRect.y;
7045
- var otherBottom = otherTop + otherRect.height;
6556
+ var otherRect = hostRoot[j], otherLeft = otherRect.x, otherRight = otherLeft + otherRect.width, otherTop = otherRect.y, otherBottom = otherTop + otherRect.height;
7046
6557
  if (targetLeft >= otherLeft && targetTop >= otherTop && targetRight <= otherRight && targetBottom <= otherBottom) {
7047
6558
  hostRoot.splice(selectors, 1);
7048
6559
  break;
@@ -7074,8 +6585,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
7074
6585
  exports$2.flushSyncFromReconciler = function(fn) {
7075
6586
  var prevExecutionContext = executionContext;
7076
6587
  executionContext |= 1;
7077
- var prevTransition = ReactSharedInternals.T;
7078
- var previousPriority = getCurrentUpdatePriority();
6588
+ var prevTransition = ReactSharedInternals.T, previousPriority = getCurrentUpdatePriority();
7079
6589
  try {
7080
6590
  if (setCurrentUpdatePriority(2), ReactSharedInternals.T = null, fn) return fn();
7081
6591
  } finally {
@@ -7089,8 +6599,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
7089
6599
  selectors = findPaths(hostRoot, selectors);
7090
6600
  selectors = Array.from(selectors);
7091
6601
  for (hostRoot = 0; hostRoot < selectors.length;) {
7092
- var fiber = selectors[hostRoot++];
7093
- var tag = fiber.tag;
6602
+ var fiber = selectors[hostRoot++], tag = fiber.tag;
7094
6603
  if (!isHiddenSubtree(fiber)) {
7095
6604
  if ((5 === tag || 26 === tag || 27 === tag) && setFocusIfFocusable(fiber.stateNode)) return !0;
7096
6605
  for (fiber = fiber.child; null !== fiber;) selectors.push(fiber), fiber = fiber.sibling;
@@ -7100,14 +6609,10 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
7100
6609
  };
7101
6610
  exports$2.getFindAllNodesFailureDescription = function(hostRoot, selectors) {
7102
6611
  if (!supportsTestSelectors) throw Error(formatProdErrorMessage(363));
7103
- var maxSelectorIndex = 0;
7104
- var matchedNames = [];
6612
+ var maxSelectorIndex = 0, matchedNames = [];
7105
6613
  hostRoot = [findFiberRootForHostRoot(hostRoot), 0];
7106
6614
  for (var index = 0; index < hostRoot.length;) {
7107
- var fiber = hostRoot[index++];
7108
- var tag = fiber.tag;
7109
- var selectorIndex = hostRoot[index++];
7110
- var selector = selectors[selectorIndex];
6615
+ var fiber = hostRoot[index++], tag = fiber.tag, selectorIndex = hostRoot[index++], selector = selectors[selectorIndex];
7111
6616
  if (5 !== tag && 26 !== tag && 27 !== tag || !isHiddenSubtree(fiber)) {
7112
6617
  if (matchSelector(fiber, selector) && (matchedNames.push(selectorToString(selector)), selectorIndex++, selectorIndex > maxSelectorIndex && (maxSelectorIndex = selectorIndex)), selectorIndex < selectors.length) for (fiber = fiber.child; null !== fiber;) hostRoot.push(fiber, selectorIndex), fiber = fiber.sibling;
7113
6618
  }
@@ -7177,8 +6682,7 @@ var require_react_reconciler_production = /* @__PURE__ */ require_react$1.__comm
7177
6682
  });
7178
6683
  };
7179
6684
  exports$2.updateContainer = function(element, container, parentComponent, callback) {
7180
- var current = container.current;
7181
- var lane = requestUpdateLane();
6685
+ var current = container.current, lane = requestUpdateLane();
7182
6686
  updateContainerImpl(current, lane, element, container, parentComponent, callback);
7183
6687
  return lane;
7184
6688
  };
@@ -7211,8 +6715,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
7211
6715
  }
7212
6716
  function copyWithSetImpl(obj, path, index, value) {
7213
6717
  if (index >= path.length) return value;
7214
- var key = path[index];
7215
- var updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
6718
+ var key = path[index], updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
7216
6719
  updated[key] = copyWithSetImpl(obj[key], path, index + 1, value);
7217
6720
  return updated;
7218
6721
  }
@@ -7227,14 +6730,12 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
7227
6730
  }
7228
6731
  }
7229
6732
  function copyWithRenameImpl(obj, oldPath, newPath, index) {
7230
- var oldKey = oldPath[index];
7231
- var updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
6733
+ var oldKey = oldPath[index], updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
7232
6734
  index + 1 === oldPath.length ? (updated[newPath[index]] = updated[oldKey], isArrayImpl(updated) ? updated.splice(oldKey, 1) : delete updated[oldKey]) : updated[oldKey] = copyWithRenameImpl(obj[oldKey], oldPath, newPath, index + 1);
7233
6735
  return updated;
7234
6736
  }
7235
6737
  function copyWithDeleteImpl(obj, path, index) {
7236
- var key = path[index];
7237
- var updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
6738
+ var key = path[index], updated = isArrayImpl(obj) ? obj.slice() : assign({}, obj);
7238
6739
  if (index + 1 === path.length) return isArrayImpl(updated) ? updated.splice(key, 1) : delete updated[key], updated;
7239
6740
  updated[key] = copyWithDeleteImpl(obj[key], path, index + 1);
7240
6741
  return updated;
@@ -7279,8 +6780,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
7279
6780
  return array.sort().join(", ");
7280
6781
  }
7281
6782
  function getNearestMountedFiber(fiber) {
7282
- var node = fiber;
7283
- var nearestMounted = fiber;
6783
+ var node = fiber, nearestMounted = fiber;
7284
6784
  if (fiber.alternate) for (; node.return;) node = node.return;
7285
6785
  else {
7286
6786
  fiber = node;
@@ -7517,9 +7017,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
7517
7017
  function getNextLanes(root, wipLanes, rootHasPendingCommit) {
7518
7018
  var pendingLanes = root.pendingLanes;
7519
7019
  if (0 === pendingLanes) return 0;
7520
- var nextLanes = 0;
7521
- var suspendedLanes = root.suspendedLanes;
7522
- var pingedLanes = root.pingedLanes;
7020
+ var nextLanes = 0, suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes;
7523
7021
  root = root.warmLanes;
7524
7022
  var nonIdlePendingLanes = pendingLanes & 134217727;
7525
7023
  0 !== nonIdlePendingLanes ? (pendingLanes = nonIdlePendingLanes & ~suspendedLanes, 0 !== pendingLanes ? nextLanes = getHighestPriorityLanes(pendingLanes) : (pingedLanes &= nonIdlePendingLanes, 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = nonIdlePendingLanes & ~root, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))))) : (nonIdlePendingLanes = pendingLanes & ~suspendedLanes, 0 !== nonIdlePendingLanes ? nextLanes = getHighestPriorityLanes(nonIdlePendingLanes) : 0 !== pingedLanes ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = pendingLanes & ~root, 0 !== rootHasPendingCommit && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
@@ -7588,12 +7086,9 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
7588
7086
  root.entangledLanes &= remainingLanes;
7589
7087
  root.errorRecoveryDisabledLanes &= remainingLanes;
7590
7088
  root.shellSuspendCounter = 0;
7591
- var entanglements = root.entanglements;
7592
- var expirationTimes = root.expirationTimes;
7593
- var hiddenUpdates = root.hiddenUpdates;
7089
+ var entanglements = root.entanglements, expirationTimes = root.expirationTimes, hiddenUpdates = root.hiddenUpdates;
7594
7090
  for (remainingLanes = previouslyPendingLanes & ~remainingLanes; 0 < remainingLanes;) {
7595
- var index = 31 - clz32(remainingLanes);
7596
- var lane = 1 << index;
7091
+ var index = 31 - clz32(remainingLanes), lane = 1 << index;
7597
7092
  entanglements[index] = 0;
7598
7093
  expirationTimes[index] = -1;
7599
7094
  var hiddenUpdatesForLane = hiddenUpdates[index];
@@ -7616,8 +7111,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
7616
7111
  function markRootEntangled(root, entangledLanes) {
7617
7112
  var rootEntangledLanes = root.entangledLanes |= entangledLanes;
7618
7113
  for (root = root.entanglements; rootEntangledLanes;) {
7619
- var index = 31 - clz32(rootEntangledLanes);
7620
- var lane = 1 << index;
7114
+ var index = 31 - clz32(rootEntangledLanes), lane = 1 << index;
7621
7115
  lane & entangledLanes | root[index] & entangledLanes && (root[index] |= entangledLanes);
7622
7116
  rootEntangledLanes &= ~lane;
7623
7117
  }
@@ -7667,8 +7161,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
7667
7161
  }
7668
7162
  function addFiberToLanesMap(root, fiber, lanes) {
7669
7163
  if (isDevToolsPresent) for (root = root.pendingUpdatersLaneMap; 0 < lanes;) {
7670
- var index = 31 - clz32(lanes);
7671
- var lane = 1 << index;
7164
+ var index = 31 - clz32(lanes), lane = 1 << index;
7672
7165
  root[index].add(fiber);
7673
7166
  lanes &= ~lane;
7674
7167
  }
@@ -7736,11 +7229,9 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
7736
7229
  break;
7737
7230
  } else {
7738
7231
  if (value.$$typeof === REACT_ELEMENT_TYPE) {
7739
- var typeName = getComponentNameFromType(value.type) || "…";
7740
- var key = value.key;
7232
+ var typeName = getComponentNameFromType(value.type) || "…", key = value.key;
7741
7233
  value = value.props;
7742
- var propsKeys = Object.keys(value);
7743
- var propsLength = propsKeys.length;
7234
+ var propsKeys = Object.keys(value), propsLength = propsKeys.length;
7744
7235
  if (null == key && 0 === propsLength) {
7745
7236
  value = "<" + typeName + " />";
7746
7237
  break;
@@ -7824,8 +7315,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
7824
7315
  continue;
7825
7316
  }
7826
7317
  } else {
7827
- var prevKind = Object.prototype.toString.call(key);
7828
- var nextKind = Object.prototype.toString.call(nextValue);
7318
+ var prevKind = Object.prototype.toString.call(key), nextKind = Object.prototype.toString.call(nextValue);
7829
7319
  if (prevKind === nextKind && ("[object Object]" === nextKind || "[object Array]" === nextKind)) {
7830
7320
  prevKind = [" \xA0" + "\xA0\xA0".repeat(indent) + _key, "[object Array]" === nextKind ? "Array" : ""];
7831
7321
  properties.push(prevKind);
@@ -7860,8 +7350,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
7860
7350
  function logComponentRender(fiber, startTime, endTime, wasHydrated, committedLanes) {
7861
7351
  var name = getComponentNameFromFiber(fiber);
7862
7352
  if (null !== name && supportsUserTiming) {
7863
- var alternate = fiber.alternate;
7864
- var selfTime = fiber.actualDuration;
7353
+ var alternate = fiber.alternate, selfTime = fiber.actualDuration;
7865
7354
  if (null === alternate || alternate.child !== fiber.child) for (var child = fiber.child; null !== child; child = child.sibling) selfTime -= child.actualDuration;
7866
7355
  wasHydrated = .5 > selfTime ? wasHydrated ? "tertiary-light" : "primary-light" : 10 > selfTime ? wasHydrated ? "tertiary" : "primary" : 100 > selfTime ? wasHydrated ? "tertiary-dark" : "primary-dark" : "error";
7867
7356
  var props = fiber.memoizedProps;
@@ -7881,7 +7370,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
7881
7370
  }
7882
7371
  null !== fiber.key && addValueToProperties("key", fiber.key, properties, 0, "");
7883
7372
  null !== fiber.memoizedProps && addObjectToProperties(fiber.memoizedProps, properties, 0, "");
7884
- null == debugTask && (debugTask = fiber._debugTask);
7373
+ debugTask ??= fiber._debugTask;
7885
7374
  fiber = {
7886
7375
  start: startTime,
7887
7376
  end: endTime,
@@ -8107,12 +7596,9 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
8107
7596
  RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
8108
7597
  var namePropDescriptor = Object.getOwnPropertyDescriptor(RunInRootFrame.DetermineComponentFrameRoot, "name");
8109
7598
  namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty(RunInRootFrame.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" });
8110
- var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot();
8111
- var sampleStack = _RunInRootFrame$Deter[0];
8112
- var controlStack = _RunInRootFrame$Deter[1];
7599
+ var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1];
8113
7600
  if (sampleStack && controlStack) {
8114
- var sampleLines = sampleStack.split("\n");
8115
- var controlLines = controlStack.split("\n");
7601
+ var sampleLines = sampleStack.split("\n"), controlLines = controlStack.split("\n");
8116
7602
  for (_RunInRootFrame$Deter = namePropDescriptor = 0; namePropDescriptor < sampleLines.length && !sampleLines[namePropDescriptor].includes("DetermineComponentFrameRoot");) namePropDescriptor++;
8117
7603
  for (; _RunInRootFrame$Deter < controlLines.length && !controlLines[_RunInRootFrame$Deter].includes("DetermineComponentFrameRoot");) _RunInRootFrame$Deter++;
8118
7604
  if (namePropDescriptor === sampleLines.length || _RunInRootFrame$Deter === controlLines.length) for (namePropDescriptor = sampleLines.length - 1, _RunInRootFrame$Deter = controlLines.length - 1; 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter && sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter];) _RunInRootFrame$Deter--;
@@ -8153,8 +7639,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
8153
7639
  }
8154
7640
  function getStackByFiberInDevAndProd(workInProgress) {
8155
7641
  try {
8156
- var info = "";
8157
- var previous = null;
7642
+ var info = "", previous = null;
8158
7643
  do {
8159
7644
  info += describeFiber(workInProgress, previous);
8160
7645
  var debugInfo = workInProgress._debugInfo;
@@ -8163,13 +7648,9 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
8163
7648
  if ("string" === typeof entry.name) {
8164
7649
  var JSCompiler_temp_const = info;
8165
7650
  a: {
8166
- var name = entry.name;
8167
- var env = entry.env;
8168
- var location = entry.debugLocation;
7651
+ var name = entry.name, env = entry.env, location = entry.debugLocation;
8169
7652
  if (null != location) {
8170
- var childStack = formatOwnerStack(location);
8171
- var idx = childStack.lastIndexOf("\n");
8172
- var lastLine = -1 === idx ? childStack : childStack.slice(idx + 1);
7653
+ var childStack = formatOwnerStack(location), idx = childStack.lastIndexOf("\n"), lastLine = -1 === idx ? childStack : childStack.slice(idx + 1);
8173
7654
  if (-1 !== lastLine.indexOf(name)) {
8174
7655
  var JSCompiler_inline_result = "\n" + lastLine;
8175
7656
  break a;
@@ -8286,8 +7767,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
8286
7767
  }
8287
7768
  function pushHostContext(fiber) {
8288
7769
  null !== fiber.memoizedState && push(hostTransitionProviderCursor, fiber, fiber);
8289
- var context = requiredContext(contextStackCursor.current);
8290
- var nextContext = getChildHostContext(context, fiber.type);
7770
+ var context = requiredContext(contextStackCursor.current), nextContext = getChildHostContext(context, fiber.type);
8291
7771
  context !== nextContext && (push(contextFiberStackCursor, fiber, fiber), push(contextStackCursor, nextContext, fiber));
8292
7772
  }
8293
7773
  function popHostContext(fiber) {
@@ -8374,9 +7854,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
8374
7854
  return "string" !== typeof value || needsEscaping.test(value) ? "{" + describeValue(value, maxLength - 2) + "}" : value.length > maxLength - 2 ? 5 > maxLength ? "\"...\"" : "\"" + value.slice(0, maxLength - 5) + "...\"" : "\"" + value + "\"";
8375
7855
  }
8376
7856
  function describeExpandedElement(type, props, rowPrefix) {
8377
- var remainingRowLength = 120 - rowPrefix.length - type.length;
8378
- var properties = [];
8379
- var propName;
7857
+ var remainingRowLength = 120 - rowPrefix.length - type.length, properties = [], propName;
8380
7858
  for (propName in props) if (props.hasOwnProperty(propName) && "children" !== propName) {
8381
7859
  var propValue = describePropValue(props[propName], 120 - rowPrefix.length - propName.length - 1);
8382
7860
  remainingRowLength -= propName.length + propValue.length + 2;
@@ -8385,27 +7863,22 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
8385
7863
  return 0 === properties.length ? rowPrefix + "<" + type + ">\n" : 0 < remainingRowLength ? rowPrefix + "<" + type + " " + properties.join(" ") + ">\n" : rowPrefix + "<" + type + "\n" + rowPrefix + " " + properties.join("\n" + rowPrefix + " ") + "\n" + rowPrefix + ">\n";
8386
7864
  }
8387
7865
  function describePropertiesDiff(clientObject, serverObject, indent) {
8388
- var properties = "";
8389
- var remainingServerProperties = assign({}, serverObject);
8390
- var propName;
7866
+ var properties = "", remainingServerProperties = assign({}, serverObject), propName;
8391
7867
  for (propName in clientObject) if (clientObject.hasOwnProperty(propName)) {
8392
7868
  delete remainingServerProperties[propName];
8393
- var maxLength = 120 - 2 * indent - propName.length - 2;
8394
- var clientPropValue = describeValue(clientObject[propName], maxLength);
7869
+ var maxLength = 120 - 2 * indent - propName.length - 2, clientPropValue = describeValue(clientObject[propName], maxLength);
8395
7870
  serverObject.hasOwnProperty(propName) ? (maxLength = describeValue(serverObject[propName], maxLength), properties += added(indent) + propName + ": " + clientPropValue + "\n", properties += removed(indent) + propName + ": " + maxLength + "\n") : properties += added(indent) + propName + ": " + clientPropValue + "\n";
8396
7871
  }
8397
7872
  for (var _propName in remainingServerProperties) remainingServerProperties.hasOwnProperty(_propName) && (clientObject = describeValue(remainingServerProperties[_propName], 120 - 2 * indent - _propName.length - 2), properties += removed(indent) + _propName + ": " + clientObject + "\n");
8398
7873
  return properties;
8399
7874
  }
8400
7875
  function describeElementDiff(type, clientProps, serverProps, indent) {
8401
- var content = "";
8402
- var serverPropNames = /* @__PURE__ */ new Map();
7876
+ var content = "", serverPropNames = /* @__PURE__ */ new Map();
8403
7877
  for (propName$jscomp$0 in serverProps) serverProps.hasOwnProperty(propName$jscomp$0) && serverPropNames.set(propName$jscomp$0.toLowerCase(), propName$jscomp$0);
8404
7878
  if (1 === serverPropNames.size && serverPropNames.has("children")) content += describeExpandedElement(type, clientProps, indentation(indent));
8405
7879
  else {
8406
7880
  for (var _propName2 in clientProps) if (clientProps.hasOwnProperty(_propName2) && "children" !== _propName2) {
8407
- var maxLength$jscomp$0 = 120 - 2 * (indent + 1) - _propName2.length - 1;
8408
- var serverPropName = serverPropNames.get(_propName2.toLowerCase());
7881
+ var maxLength$jscomp$0 = 120 - 2 * (indent + 1) - _propName2.length - 1, serverPropName = serverPropNames.get(_propName2.toLowerCase());
8409
7882
  if (void 0 !== serverPropName) {
8410
7883
  serverPropNames.delete(_propName2.toLowerCase());
8411
7884
  var propName$jscomp$0 = clientProps[_propName2];
@@ -8455,8 +7928,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
8455
7928
  if (6 === node.fiber.tag) debugInfo = describeTextDiff(i, node.serverProps, indent), indent++;
8456
7929
  else if (serverComponentName = describeFiberType(node.fiber), null !== serverComponentName) if (void 0 === node.serverProps) {
8457
7930
  debugInfo = indent;
8458
- var maxLength = 120 - 2 * debugInfo - serverComponentName.length - 2;
8459
- var content = "";
7931
+ var maxLength = 120 - 2 * debugInfo - serverComponentName.length - 2, content = "";
8460
7932
  for (propName in i) if (i.hasOwnProperty(propName) && "children" !== propName) {
8461
7933
  var propValue = describePropValue(i[propName], 15);
8462
7934
  maxLength -= propName.length + propValue.length + 2;
@@ -8581,9 +8053,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
8581
8053
  didSuspendOrErrorDEV || (fiber = buildHydrationDiffNode(fiber, 0), fiber.serverProps = null, null !== rejectedCandidate && (rejectedCandidate = describeHydratableInstanceForDevWarnings(rejectedCandidate), fiber.serverTail.push(rejectedCandidate)));
8582
8054
  }
8583
8055
  function throwOnHydrationMismatch(fiber) {
8584
- var fromText = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1;
8585
- var diff = "";
8586
- var diffRoot = hydrationDiffRootDEV;
8056
+ var fromText = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1, diff = "", diffRoot = hydrationDiffRootDEV;
8587
8057
  null !== diffRoot && (hydrationDiffRootDEV = null, diff = describeDiff(diffRoot));
8588
8058
  queueHydrationError(createCapturedValueAtFiber(Error("Hydration failed because the server rendered " + (fromText ? "text" : "HTML") + " didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + diff), fiber));
8589
8059
  throw HydrationMismatchException;
@@ -8628,8 +8098,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
8628
8098
  }
8629
8099
  function warnIfUnhydratedTailNodes(fiber) {
8630
8100
  for (var nextInstance = nextHydratableInstance; nextInstance;) {
8631
- var diffNode = buildHydrationDiffNode(fiber, 0);
8632
- var description = describeHydratableInstanceForDevWarnings(nextInstance);
8101
+ var diffNode = buildHydrationDiffNode(fiber, 0), description = describeHydratableInstanceForDevWarnings(nextInstance);
8633
8102
  diffNode.serverTail.push(description);
8634
8103
  nextInstance = "Suspense" === description.type ? getNextHydratableInstanceAfterSuspenseInstance(nextInstance) : getNextHydratableSibling(nextInstance);
8635
8104
  }
@@ -8822,8 +8291,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
8822
8291
  blockingUpdateTime = now();
8823
8292
  blockingUpdateTask = null != fiber._debugTask ? fiber._debugTask : null;
8824
8293
  isAlreadyRendering() && (blockingUpdateType = 1);
8825
- var newEventTime = resolveEventTimeStamp();
8826
- var newEventType = resolveEventType();
8294
+ var newEventTime = resolveEventTimeStamp(), newEventType = resolveEventType();
8827
8295
  newEventTime !== blockingEventRepeatTime || newEventType !== blockingEventType ? blockingEventRepeatTime = -1.1 : null !== newEventType && (blockingUpdateType = 1);
8828
8296
  blockingEventTime = newEventTime;
8829
8297
  blockingEventType = newEventType;
@@ -8901,8 +8369,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
8901
8369
  }
8902
8370
  function recordEffectDuration() {
8903
8371
  if (0 <= profilerStartTime) {
8904
- var endTime = now();
8905
- var elapsedTime = endTime - profilerStartTime;
8372
+ var endTime = now(), elapsedTime = endTime - profilerStartTime;
8906
8373
  profilerStartTime = -1;
8907
8374
  profilerEffectDuration += elapsedTime;
8908
8375
  componentEffectDuration += elapsedTime;
@@ -8938,8 +8405,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
8938
8405
  var pendingLanes = root.pendingLanes;
8939
8406
  if (0 === pendingLanes) var nextLanes = 0;
8940
8407
  else {
8941
- var suspendedLanes = root.suspendedLanes;
8942
- var pingedLanes = root.pingedLanes;
8408
+ var suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes;
8943
8409
  nextLanes = (1 << 31 - clz32(42 | syncTransitionLanes) + 1) - 1;
8944
8410
  nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
8945
8411
  nextLanes = nextLanes & 201326741 ? nextLanes & 201326741 | 1 : nextLanes ? nextLanes | 2 : 0;
@@ -8961,8 +8427,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
8961
8427
  var syncTransitionLanes = 0;
8962
8428
  0 !== currentEventTransitionLane && shouldAttemptEagerTransition() && (syncTransitionLanes = currentEventTransitionLane);
8963
8429
  for (var currentTime = now$1(), prev = null, root = firstScheduledRoot; null !== root;) {
8964
- var next = root.next;
8965
- var nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
8430
+ var next = root.next, nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
8966
8431
  if (0 === nextLanes) root.next = null, null === prev ? firstScheduledRoot = next : prev.next = next, null === next && (lastScheduledRoot = prev);
8967
8432
  else if (prev = root, 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) mightHavePendingSyncWork = !0;
8968
8433
  root = next;
@@ -8972,9 +8437,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
8972
8437
  }
8973
8438
  function scheduleTaskForRootDuringMicrotask(root, currentTime) {
8974
8439
  for (var suspendedLanes = root.suspendedLanes, pingedLanes = root.pingedLanes, expirationTimes = root.expirationTimes, lanes = root.pendingLanes & -62914561; 0 < lanes;) {
8975
- var index = 31 - clz32(lanes);
8976
- var lane = 1 << index;
8977
- var expirationTime = expirationTimes[index];
8440
+ var index = 31 - clz32(lanes), lane = 1 << index, expirationTime = expirationTimes[index];
8978
8441
  if (-1 === expirationTime) {
8979
8442
  if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes)) expirationTimes[index] = computeExpirationTime(lane, currentTime);
8980
8443
  } else expirationTime <= currentTime && (root.expiredLanes |= lane);
@@ -9081,8 +8544,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
9081
8544
  }
9082
8545
  }
9083
8546
  function chainThenableValue(thenable, result) {
9084
- var listeners = [];
9085
- var thenableWithOverride = {
8547
+ var listeners = [], thenableWithOverride = {
9086
8548
  status: "pending",
9087
8549
  value: null,
9088
8550
  reason: null,
@@ -9118,8 +8580,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
9118
8580
  function shallowEqual(objA, objB) {
9119
8581
  if (objectIs(objA, objB)) return !0;
9120
8582
  if ("object" !== typeof objA || null === objA || "object" !== typeof objB || null === objB) return !1;
9121
- var keysA = Object.keys(objA);
9122
- var keysB = Object.keys(objB);
8583
+ var keysA = Object.keys(objA), keysB = Object.keys(objB);
9123
8584
  if (keysA.length !== keysB.length) return !1;
9124
8585
  for (keysB = 0; keysB < keysA.length; keysB++) {
9125
8586
  var currentKey = keysA[keysB];
@@ -9711,11 +9172,9 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
9711
9172
  }
9712
9173
  }
9713
9174
  function enqueueCapturedUpdate(workInProgress, capturedUpdate) {
9714
- var queue = workInProgress.updateQueue;
9715
- var current = workInProgress.alternate;
9175
+ var queue = workInProgress.updateQueue, current = workInProgress.alternate;
9716
9176
  if (null !== current && (current = current.updateQueue, queue === current)) {
9717
- var newFirst = null;
9718
- var newLast = null;
9177
+ var newFirst = null, newLast = null;
9719
9178
  queue = queue.firstBaseUpdate;
9720
9179
  if (null !== queue) {
9721
9180
  do {
@@ -9756,13 +9215,10 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
9756
9215
  var queue = workInProgress.updateQueue;
9757
9216
  hasForceUpdate = !1;
9758
9217
  currentlyProcessingQueue = queue.shared;
9759
- var firstBaseUpdate = queue.firstBaseUpdate;
9760
- var lastBaseUpdate = queue.lastBaseUpdate;
9761
- var pendingQueue = queue.shared.pending;
9218
+ var firstBaseUpdate = queue.firstBaseUpdate, lastBaseUpdate = queue.lastBaseUpdate, pendingQueue = queue.shared.pending;
9762
9219
  if (null !== pendingQueue) {
9763
9220
  queue.shared.pending = null;
9764
- var lastPendingUpdate = pendingQueue;
9765
- var firstPendingUpdate = lastPendingUpdate.next;
9221
+ var lastPendingUpdate = pendingQueue, firstPendingUpdate = lastPendingUpdate.next;
9766
9222
  lastPendingUpdate.next = null;
9767
9223
  null === lastBaseUpdate ? firstBaseUpdate = firstPendingUpdate : lastBaseUpdate.next = firstPendingUpdate;
9768
9224
  lastBaseUpdate = lastPendingUpdate;
@@ -9775,8 +9231,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
9775
9231
  current = firstPendingUpdate = lastPendingUpdate = null;
9776
9232
  pendingQueue = firstBaseUpdate;
9777
9233
  do {
9778
- var updateLane = pendingQueue.lane & -536870913;
9779
- var isHiddenUpdate = updateLane !== pendingQueue.lane;
9234
+ var updateLane = pendingQueue.lane & -536870913, isHiddenUpdate = updateLane !== pendingQueue.lane;
9780
9235
  if (isHiddenUpdate ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) {
9781
9236
  0 !== updateLane && updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction = !0);
9782
9237
  null !== current && (current = current.next = {
@@ -9789,8 +9244,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
9789
9244
  a: {
9790
9245
  updateLane = workInProgress;
9791
9246
  var partialState = pendingQueue;
9792
- var nextProps = props;
9793
- var instance = instance$jscomp$0;
9247
+ var nextProps = props, instance = instance$jscomp$0;
9794
9248
  switch (partialState.tag) {
9795
9249
  case ReplaceState:
9796
9250
  partialState = partialState.payload;
@@ -9939,8 +9393,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
9939
9393
  var componentName = getComponentNameFromFiber(currentlyRenderingFiber);
9940
9394
  if (!didWarnAboutMismatchedHooksForComponent.has(componentName) && (didWarnAboutMismatchedHooksForComponent.add(componentName), null !== hookTypesDev)) {
9941
9395
  for (var table = "", i = 0; i <= hookTypesUpdateIndexDev; i++) {
9942
- var oldHookName = hookTypesDev[i];
9943
- var newHookName = i === hookTypesUpdateIndexDev ? hookName : oldHookName;
9396
+ var oldHookName = hookTypesDev[i], newHookName = i === hookTypesUpdateIndexDev ? hookName : oldHookName;
9944
9397
  for (oldHookName = i + 1 + ". " + oldHookName; 30 > oldHookName.length;) oldHookName += " ";
9945
9398
  oldHookName += newHookName + "\n";
9946
9399
  table += oldHookName;
@@ -10038,8 +9491,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10038
9491
  return children;
10039
9492
  }
10040
9493
  function TransitionAwareHostComponent() {
10041
- var dispatcher = ReactSharedInternals.H;
10042
- var maybeThenable = dispatcher.useState()[0];
9494
+ var dispatcher = ReactSharedInternals.H, maybeThenable = dispatcher.useState()[0];
10043
9495
  maybeThenable = "function" === typeof maybeThenable.then ? useThenable(maybeThenable) : maybeThenable;
10044
9496
  dispatcher = dispatcher.useState()[0];
10045
9497
  (null !== currentHook ? currentHook.memoizedState : null) !== dispatcher && (currentlyRenderingFiber.flags |= 1024);
@@ -10132,8 +9584,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10132
9584
  throw Error("An unsupported type was passed to use(): " + String(usable));
10133
9585
  }
10134
9586
  function useMemoCache(size) {
10135
- var memoCache = null;
10136
- var updateQueue = currentlyRenderingFiber.updateQueue;
9587
+ var memoCache = null, updateQueue = currentlyRenderingFiber.updateQueue;
10137
9588
  null !== updateQueue && (memoCache = updateQueue.memoCache);
10138
9589
  if (null == memoCache) {
10139
9590
  var current = currentlyRenderingFiber.alternate;
@@ -10144,10 +9595,10 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10144
9595
  index: 0
10145
9596
  })));
10146
9597
  }
10147
- null == memoCache && (memoCache = {
9598
+ memoCache ??= {
10148
9599
  data: [],
10149
9600
  index: 0
10150
- });
9601
+ };
10151
9602
  null === updateQueue && (updateQueue = createFunctionComponentUpdateQueue(), currentlyRenderingFiber.updateQueue = updateQueue);
10152
9603
  updateQueue.memoCache = memoCache;
10153
9604
  updateQueue = memoCache.data[memoCache.index];
@@ -10191,8 +9642,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10191
9642
  var queue = hook.queue;
10192
9643
  if (null === queue) throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");
10193
9644
  queue.lastRenderedReducer = reducer;
10194
- var baseQueue = hook.baseQueue;
10195
- var pendingQueue = queue.pending;
9645
+ var baseQueue = hook.baseQueue, pendingQueue = queue.pending;
10196
9646
  if (null !== pendingQueue) {
10197
9647
  if (null !== baseQueue) {
10198
9648
  var baseFirst = baseQueue.next;
@@ -10207,10 +9657,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10207
9657
  if (null === baseQueue) hook.memoizedState = pendingQueue;
10208
9658
  else {
10209
9659
  current = baseQueue.next;
10210
- var newBaseQueueFirst = baseFirst = null;
10211
- var newBaseQueueLast = null;
10212
- var update = current;
10213
- var didReadFromEntangledAsyncAction = !1;
9660
+ var newBaseQueueFirst = baseFirst = null, newBaseQueueLast = null, update = current, didReadFromEntangledAsyncAction = !1;
10214
9661
  do {
10215
9662
  var updateLane = update.lane & -536870913;
10216
9663
  if (updateLane !== update.lane ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) {
@@ -10262,13 +9709,10 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10262
9709
  return [hook.memoizedState, queue.dispatch];
10263
9710
  }
10264
9711
  function rerenderReducer(reducer) {
10265
- var hook = updateWorkInProgressHook();
10266
- var queue = hook.queue;
9712
+ var hook = updateWorkInProgressHook(), queue = hook.queue;
10267
9713
  if (null === queue) throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");
10268
9714
  queue.lastRenderedReducer = reducer;
10269
- var dispatch = queue.dispatch;
10270
- var lastRenderPhaseUpdate = queue.pending;
10271
- var newState = hook.memoizedState;
9715
+ var dispatch = queue.dispatch, lastRenderPhaseUpdate = queue.pending, newState = hook.memoizedState;
10272
9716
  if (null !== lastRenderPhaseUpdate) {
10273
9717
  queue.pending = null;
10274
9718
  var update = lastRenderPhaseUpdate = lastRenderPhaseUpdate.next;
@@ -10283,8 +9727,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10283
9727
  return [newState, dispatch];
10284
9728
  }
10285
9729
  function mountSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
10286
- var fiber = currentlyRenderingFiber;
10287
- var hook = mountWorkInProgressHook();
9730
+ var fiber = currentlyRenderingFiber, hook = mountWorkInProgressHook();
10288
9731
  if (isHydrating) {
10289
9732
  if (void 0 === getServerSnapshot) throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");
10290
9733
  var nextSnapshot = getServerSnapshot();
@@ -10307,9 +9750,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10307
9750
  return nextSnapshot;
10308
9751
  }
10309
9752
  function updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
10310
- var fiber = currentlyRenderingFiber;
10311
- var hook = updateWorkInProgressHook();
10312
- var isHydrating$jscomp$0 = isHydrating;
9753
+ var fiber = currentlyRenderingFiber, hook = updateWorkInProgressHook(), isHydrating$jscomp$0 = isHydrating;
10313
9754
  if (isHydrating$jscomp$0) {
10314
9755
  if (void 0 === getServerSnapshot) throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");
10315
9756
  getServerSnapshot = getServerSnapshot();
@@ -10387,8 +9828,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10387
9828
  }
10388
9829
  function mountState(initialState) {
10389
9830
  initialState = mountStateImpl(initialState);
10390
- var queue = initialState.queue;
10391
- var dispatch = dispatchSetState.bind(null, currentlyRenderingFiber, queue);
9831
+ var queue = initialState.queue, dispatch = dispatchSetState.bind(null, currentlyRenderingFiber, queue);
10392
9832
  queue.dispatch = dispatch;
10393
9833
  return [initialState.memoizedState, dispatch];
10394
9834
  }
@@ -10444,17 +9884,13 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10444
9884
  }
10445
9885
  }
10446
9886
  function runActionStateAction(actionQueue, node) {
10447
- var action = node.action;
10448
- var payload = node.payload;
10449
- var prevState = actionQueue.state;
9887
+ var action = node.action, payload = node.payload, prevState = actionQueue.state;
10450
9888
  if (node.isTransition) {
10451
- var prevTransition = ReactSharedInternals.T;
10452
- var currentTransition = {};
9889
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
10453
9890
  currentTransition._updatedFibers = /* @__PURE__ */ new Set();
10454
9891
  ReactSharedInternals.T = currentTransition;
10455
9892
  try {
10456
- var returnValue = action(prevState, payload);
10457
- var onStartTransitionFinish = ReactSharedInternals.S;
9893
+ var returnValue = action(prevState, payload), onStartTransitionFinish = ReactSharedInternals.S;
10458
9894
  null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
10459
9895
  handleActionReturnValue(actionQueue, node, returnValue);
10460
9896
  } catch (error) {
@@ -10568,8 +10004,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10568
10004
  }
10569
10005
  else state = currentStateHook;
10570
10006
  currentStateHook = updateWorkInProgressHook();
10571
- var actionQueue = currentStateHook.queue;
10572
- var dispatch = actionQueue.dispatch;
10007
+ var actionQueue = currentStateHook.queue, dispatch = actionQueue.dispatch;
10573
10008
  action !== currentStateHook.memoizedState && (currentlyRenderingFiber.flags |= 2048, pushSimpleEffect(HasEffect | Passive, { destroy: void 0 }, actionStateActionEffect.bind(null, actionQueue, action), null));
10574
10009
  return [
10575
10010
  state,
@@ -10581,8 +10016,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10581
10016
  actionQueue.action = action;
10582
10017
  }
10583
10018
  function rerenderActionState(action) {
10584
- var stateHook = updateWorkInProgressHook();
10585
- var currentStateHook = currentHook;
10019
+ var stateHook = updateWorkInProgressHook(), currentStateHook = currentHook;
10586
10020
  if (null !== currentStateHook) return updateActionStateImpl(stateHook, currentStateHook, action);
10587
10021
  updateWorkInProgressHook();
10588
10022
  stateHook = stateHook.memoizedState;
@@ -10638,8 +10072,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10638
10072
  }
10639
10073
  }
10640
10074
  function mountEvent(callback) {
10641
- var hook = mountWorkInProgressHook();
10642
- var ref = { impl: callback };
10075
+ var hook = mountWorkInProgressHook(), ref = { impl: callback };
10643
10076
  hook.memoizedState = ref;
10644
10077
  return function() {
10645
10078
  if ((executionContext & RenderContext) !== NoContext) throw Error("A function wrapped in useEffectEvent can't be called during rendering.");
@@ -10763,14 +10196,12 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10763
10196
  function startTransition(fiber, queue, pendingState, finishedState, callback) {
10764
10197
  var previousPriority = getCurrentUpdatePriority();
10765
10198
  setCurrentUpdatePriority(0 !== previousPriority && 8 > previousPriority ? previousPriority : 8);
10766
- var prevTransition = ReactSharedInternals.T;
10767
- var currentTransition = {};
10199
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
10768
10200
  currentTransition._updatedFibers = /* @__PURE__ */ new Set();
10769
10201
  ReactSharedInternals.T = currentTransition;
10770
10202
  dispatchOptimisticSetState(fiber, !1, queue, pendingState);
10771
10203
  try {
10772
- var returnValue = callback();
10773
- var onStartTransitionFinish = ReactSharedInternals.S;
10204
+ var returnValue = callback(), onStartTransitionFinish = ReactSharedInternals.S;
10774
10205
  null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
10775
10206
  if (null !== returnValue && "object" === typeof returnValue && "function" === typeof returnValue.then) {
10776
10207
  ReactSharedInternals.asyncTransitions++;
@@ -10830,21 +10261,18 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10830
10261
  return [!1, stateHook];
10831
10262
  }
10832
10263
  function updateTransition() {
10833
- var booleanOrThenable = updateReducer(basicStateReducer)[0];
10834
- var start = updateWorkInProgressHook().memoizedState;
10264
+ var booleanOrThenable = updateReducer(basicStateReducer)[0], start = updateWorkInProgressHook().memoizedState;
10835
10265
  return ["boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), start];
10836
10266
  }
10837
10267
  function rerenderTransition() {
10838
- var booleanOrThenable = rerenderReducer(basicStateReducer)[0];
10839
- var start = updateWorkInProgressHook().memoizedState;
10268
+ var booleanOrThenable = rerenderReducer(basicStateReducer)[0], start = updateWorkInProgressHook().memoizedState;
10840
10269
  return ["boolean" === typeof booleanOrThenable ? booleanOrThenable : useThenable(booleanOrThenable), start];
10841
10270
  }
10842
10271
  function useHostTransitionStatus() {
10843
10272
  return readContext(HostTransitionContext);
10844
10273
  }
10845
10274
  function mountId() {
10846
- var hook = mountWorkInProgressHook();
10847
- var identifierPrefix = workInProgressRoot.identifierPrefix;
10275
+ var hook = mountWorkInProgressHook(), identifierPrefix = workInProgressRoot.identifierPrefix;
10848
10276
  if (isHydrating) {
10849
10277
  var treeId = treeContextOverflow;
10850
10278
  var idWithLeadingBit = treeContextId;
@@ -10864,9 +10292,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10864
10292
  switch (provider.tag) {
10865
10293
  case 24:
10866
10294
  case 3:
10867
- var lane = requestUpdateLane(provider);
10868
- var refreshUpdate = createUpdate(lane);
10869
- var root = enqueueUpdate(provider, refreshUpdate, lane);
10295
+ var lane = requestUpdateLane(provider), refreshUpdate = createUpdate(lane), root = enqueueUpdate(provider, refreshUpdate, lane);
10870
10296
  null !== root && (startUpdateTimerByLane(lane, "refresh()", fiber), scheduleUpdateOnFiber(root, provider, lane), entangleTransitions(root, provider, lane));
10871
10297
  fiber = createCache();
10872
10298
  null !== seedKey && void 0 !== seedKey && null !== root && console.error("The seed argument is not enabled outside experimental channels.");
@@ -10914,8 +10340,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10914
10340
  var prevDispatcher = ReactSharedInternals.H;
10915
10341
  ReactSharedInternals.H = InvalidNestedHooksDispatcherOnUpdateInDEV;
10916
10342
  try {
10917
- var currentState = queue.lastRenderedState;
10918
- var eagerState = alternate(currentState, action);
10343
+ var currentState = queue.lastRenderedState, eagerState = alternate(currentState, action);
10919
10344
  update.hasEagerState = !0;
10920
10345
  update.eagerState = eagerState;
10921
10346
  if (objectIs(eagerState, currentState)) return enqueueUpdate$1(fiber, queue, update, 0), null === workInProgressRoot && finishQueueingConcurrentUpdates(), !1;
@@ -10970,8 +10395,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
10970
10395
  }
10971
10396
  }
10972
10397
  function applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, nextProps) {
10973
- var prevState = workInProgress.memoizedState;
10974
- var partialState = getDerivedStateFromProps(nextProps, prevState);
10398
+ var prevState = workInProgress.memoizedState, partialState = getDerivedStateFromProps(nextProps, prevState);
10975
10399
  if (workInProgress.mode & 8) {
10976
10400
  setIsStrictModeForDevtools(!0);
10977
10401
  try {
@@ -11176,8 +10600,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
11176
10600
  return updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes);
11177
10601
  }
11178
10602
  function updateOffscreenComponent(current, workInProgress, renderLanes, nextProps) {
11179
- var nextChildren = nextProps.children;
11180
- var prevState = null !== current ? current.memoizedState : null;
10603
+ var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null;
11181
10604
  null === current && null === workInProgress.stateNode && (workInProgress.stateNode = {
11182
10605
  _visibility: OffscreenVisible,
11183
10606
  _pendingMarkers: null,
@@ -11250,8 +10673,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
11250
10673
  return current;
11251
10674
  }
11252
10675
  function updateActivityComponent(current, workInProgress, renderLanes) {
11253
- var nextProps = workInProgress.pendingProps;
11254
- var didSuspend = 0 !== (workInProgress.flags & 128);
10676
+ var nextProps = workInProgress.pendingProps, didSuspend = 0 !== (workInProgress.flags & 128);
11255
10677
  workInProgress.flags &= -129;
11256
10678
  if (null === current) {
11257
10679
  if (isHydrating) {
@@ -11337,8 +10759,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
11337
10759
  function updateClassComponent(current, workInProgress, Component, nextProps, renderLanes) {
11338
10760
  switch (shouldErrorImpl(workInProgress)) {
11339
10761
  case !1:
11340
- var _instance = workInProgress.stateNode;
11341
- var state = new workInProgress.type(workInProgress.memoizedProps, _instance.context).state;
10762
+ var _instance = workInProgress.stateNode, state = new workInProgress.type(workInProgress.memoizedProps, _instance.context).state;
11342
10763
  _instance.updater.enqueueSetState(_instance, state, null);
11343
10764
  break;
11344
10765
  case !0:
@@ -11515,9 +10936,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
11515
10936
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
11516
10937
  var nextProps = workInProgress.pendingProps;
11517
10938
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
11518
- var showFallback = !1;
11519
- var didSuspend = 0 !== (workInProgress.flags & 128);
11520
- var JSCompiler_temp;
10939
+ var showFallback = !1, didSuspend = 0 !== (workInProgress.flags & 128), JSCompiler_temp;
11521
10940
  (JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
11522
10941
  JSCompiler_temp && (showFallback = !0, workInProgress.flags &= -129);
11523
10942
  JSCompiler_temp = 0 !== (workInProgress.flags & 32);
@@ -11627,11 +11046,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
11627
11046
  } : (renderState.isBackwards = isBackwards, renderState.rendering = null, renderState.renderingStartTime = 0, renderState.last = lastContentRow, renderState.tail = tail, renderState.tailMode = tailMode, renderState.treeForkCount = treeForkCount);
11628
11047
  }
11629
11048
  function updateSuspenseListComponent(current, workInProgress, renderLanes) {
11630
- var nextProps = workInProgress.pendingProps;
11631
- var revealOrder = nextProps.revealOrder;
11632
- var tailMode = nextProps.tail;
11633
- var newChildren = nextProps.children;
11634
- var suspenseContext = suspenseStackCursor.current;
11049
+ var nextProps = workInProgress.pendingProps, revealOrder = nextProps.revealOrder, tailMode = nextProps.tail, newChildren = nextProps.children, suspenseContext = suspenseStackCursor.current;
11635
11050
  (nextProps = 0 !== (suspenseContext & ForceSuspenseFallback)) ? (suspenseContext = suspenseContext & SubtreeSuspenseContextMask | ForceSuspenseFallback, workInProgress.flags |= 128) : suspenseContext &= SubtreeSuspenseContextMask;
11636
11051
  push(suspenseStackCursor, suspenseContext, workInProgress);
11637
11052
  suspenseContext = null == revealOrder ? "null" : revealOrder;
@@ -12002,8 +11417,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12002
11417
  function updateHostContainer(current, workInProgress) {
12003
11418
  if (supportsPersistence && doesRequireClone(current, workInProgress)) {
12004
11419
  current = workInProgress.stateNode;
12005
- var container = current.containerInfo;
12006
- var newChildSet = createContainerChildSet();
11420
+ var container = current.containerInfo, newChildSet = createContainerChildSet();
12007
11421
  appendAllChildrenToContainer(newChildSet, workInProgress, !1, !1);
12008
11422
  current.pendingChildren = newChildSet;
12009
11423
  markUpdate(workInProgress);
@@ -12013,8 +11427,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12013
11427
  function updateHostComponent(current, workInProgress, type, newProps) {
12014
11428
  if (supportsMutation) current.memoizedProps !== newProps && markUpdate(workInProgress);
12015
11429
  else if (supportsPersistence) {
12016
- var currentInstance = current.stateNode;
12017
- var _oldProps = current.memoizedProps;
11430
+ var currentInstance = current.stateNode, _oldProps = current.memoizedProps;
12018
11431
  if ((current = doesRequireClone(current, workInProgress)) || _oldProps !== newProps) {
12019
11432
  var currentHostContext = getHostContext();
12020
11433
  _oldProps = cloneInstance(currentInstance, type, _oldProps, newProps, !current, null);
@@ -12053,9 +11466,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12053
11466
  }
12054
11467
  }
12055
11468
  function bubbleProperties(completedWork) {
12056
- var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child;
12057
- var newChildLanes = 0;
12058
- var subtreeFlags = 0;
11469
+ var didBailout = null !== completedWork.alternate && completedWork.alternate.child === completedWork.child, newChildLanes = 0, subtreeFlags = 0;
12059
11470
  if (didBailout) if ((completedWork.mode & 2) !== NoMode) {
12060
11471
  for (var _treeBaseDuration = completedWork.selfBaseDuration, _child2 = completedWork.child; null !== _child2;) newChildLanes |= _child2.lanes | _child2.childLanes, subtreeFlags |= _child2.subtreeFlags & 65011712, subtreeFlags |= _child2.flags & 65011712, _treeBaseDuration += _child2.treeBaseDuration, _child2 = _child2.sibling;
12061
11472
  completedWork.treeBaseDuration = _treeBaseDuration;
@@ -12098,8 +11509,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12098
11509
  bubbleProperties(workInProgress);
12099
11510
  return null;
12100
11511
  case 26: if (supportsResources) {
12101
- var type = workInProgress.type;
12102
- var nextResource = workInProgress.memoizedState;
11512
+ var type = workInProgress.type, nextResource = workInProgress.memoizedState;
12103
11513
  null === current ? (markUpdate(workInProgress), null !== nextResource ? (bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded(workInProgress, type, null, newProps, renderLanes))) : nextResource ? nextResource !== current.memoizedState ? (markUpdate(workInProgress), bubbleProperties(workInProgress), preloadResourceAndSuspendIfNeeded(workInProgress, nextResource)) : (bubbleProperties(workInProgress), workInProgress.flags &= -16777217) : (nextResource = current.memoizedProps, supportsMutation ? nextResource !== newProps && markUpdate(workInProgress) : updateHostComponent(current, workInProgress, type, newProps), bubbleProperties(workInProgress), preloadInstanceAndSuspendIfNeeded(workInProgress, type, nextResource, newProps, renderLanes));
12104
11514
  return null;
12105
11515
  }
@@ -12357,8 +11767,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12357
11767
  }
12358
11768
  function commitHookEffectListMount(flags, finishedWork) {
12359
11769
  try {
12360
- var updateQueue = finishedWork.updateQueue;
12361
- var lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
11770
+ var updateQueue = finishedWork.updateQueue, lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
12362
11771
  if (null !== lastEffect) {
12363
11772
  var firstEffect = lastEffect.next;
12364
11773
  updateQueue = firstEffect;
@@ -12381,15 +11790,13 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12381
11790
  }
12382
11791
  function commitHookEffectListUnmount(flags, finishedWork, nearestMountedAncestor) {
12383
11792
  try {
12384
- var updateQueue = finishedWork.updateQueue;
12385
- var lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
11793
+ var updateQueue = finishedWork.updateQueue, lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;
12386
11794
  if (null !== lastEffect) {
12387
11795
  var firstEffect = lastEffect.next;
12388
11796
  updateQueue = firstEffect;
12389
11797
  do {
12390
11798
  if ((updateQueue.tag & flags) === flags) {
12391
- var inst = updateQueue.inst;
12392
- var destroy = inst.destroy;
11799
+ var inst = updateQueue.inst, destroy = inst.destroy;
12393
11800
  void 0 !== destroy && (inst.destroy = void 0, (flags & Insertion) !== NoFlags && (isRunningInsertionEffect = !0), lastEffect = finishedWork, runWithFiberInDEV(lastEffect, callDestroyInDEV, lastEffect, nearestMountedAncestor, destroy), (flags & Insertion) !== NoFlags && (isRunningInsertionEffect = !1));
12394
11801
  }
12395
11802
  updateQueue = updateQueue.next;
@@ -12421,8 +11828,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12421
11828
  return instance.getSnapshotBeforeUpdate(prevProps, prevState);
12422
11829
  }
12423
11830
  function commitClassSnapshot(finishedWork, current) {
12424
- var prevProps = current.memoizedProps;
12425
- var prevState = current.memoizedState;
11831
+ var prevProps = current.memoizedProps, prevState = current.memoizedState;
12426
11832
  current = finishedWork.stateNode;
12427
11833
  finishedWork.type.defaultProps || "ref" in finishedWork.memoizedProps || didWarnAboutReassigningProps || (current.props !== finishedWork.memoizedProps && console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance"), current.state !== finishedWork.memoizedState && console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", getComponentNameFromFiber(finishedWork) || "instance"));
12428
11834
  try {
@@ -12473,8 +11879,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12473
11879
  }
12474
11880
  }
12475
11881
  function safelyDetachRef(current, nearestMountedAncestor) {
12476
- var ref = current.ref;
12477
- var refCleanup = current.refCleanup;
11882
+ var ref = current.ref, refCleanup = current.refCleanup;
12478
11883
  if (null !== ref) if ("function" === typeof refCleanup) try {
12479
11884
  if (shouldProfile(current)) try {
12480
11885
  startEffectTimer(), runWithFiberInDEV(current, refCleanup);
@@ -12500,9 +11905,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12500
11905
  else ref.current = null;
12501
11906
  }
12502
11907
  function commitProfiler(finishedWork, current, commitStartTime, effectDuration) {
12503
- var _finishedWork$memoize = finishedWork.memoizedProps;
12504
- var id = _finishedWork$memoize.id;
12505
- var onCommit = _finishedWork$memoize.onCommit;
11908
+ var _finishedWork$memoize = finishedWork.memoizedProps, id = _finishedWork$memoize.id, onCommit = _finishedWork$memoize.onCommit;
12506
11909
  _finishedWork$memoize = _finishedWork$memoize.onRender;
12507
11910
  current = null === current ? "mount" : "update";
12508
11911
  currentUpdateIsNested && (current = "nested-update");
@@ -12518,9 +11921,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12518
11921
  "function" === typeof _finishedWork$memoize2 && _finishedWork$memoize2(finishedWork, current, passiveEffectDuration, commitStartTime);
12519
11922
  }
12520
11923
  function commitHostMount(finishedWork) {
12521
- var type = finishedWork.type;
12522
- var props = finishedWork.memoizedProps;
12523
- var instance = finishedWork.stateNode;
11924
+ var type = finishedWork.type, props = finishedWork.memoizedProps, instance = finishedWork.stateNode;
12524
11925
  try {
12525
11926
  runWithFiberInDEV(finishedWork, commitMount, instance, type, props, finishedWork);
12526
11927
  } catch (error) {
@@ -12605,8 +12006,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12605
12006
  }
12606
12007
  }
12607
12008
  function commitHostSingletonAcquisition(finishedWork) {
12608
- var singleton = finishedWork.stateNode;
12609
- var props = finishedWork.memoizedProps;
12009
+ var singleton = finishedWork.stateNode, props = finishedWork.memoizedProps;
12610
12010
  try {
12611
12011
  runWithFiberInDEV(finishedWork, acquireSingletonInstance, finishedWork.type, props, singleton, finishedWork);
12612
12012
  } catch (error) {
@@ -12621,8 +12021,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12621
12021
  for (nextEffect = firstChild; null !== nextEffect;) if (root = nextEffect, firstChild = root.child, 0 !== (root.subtreeFlags & 1028) && null !== firstChild) firstChild.return = root, nextEffect = firstChild;
12622
12022
  else for (; null !== nextEffect;) {
12623
12023
  firstChild = root = nextEffect;
12624
- var current = firstChild.alternate;
12625
- var flags = firstChild.flags;
12024
+ var current = firstChild.alternate, flags = firstChild.flags;
12626
12025
  switch (firstChild.tag) {
12627
12026
  case 0:
12628
12027
  if (0 !== (flags & 4) && (firstChild = firstChild.updateQueue, firstChild = null !== firstChild ? firstChild.events : null, null !== firstChild)) for (current = 0; current < firstChild.length; current++) flags = firstChild[current], flags.ref.impl = flags.nextImpl;
@@ -12653,11 +12052,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12653
12052
  }
12654
12053
  }
12655
12054
  function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
12656
- var prevEffectStart = pushComponentEffectStart();
12657
- var prevEffectDuration = pushComponentEffectDuration();
12658
- var prevEffectErrors = pushComponentEffectErrors();
12659
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12660
- var flags = finishedWork.flags;
12055
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), flags = finishedWork.flags;
12661
12056
  switch (finishedWork.tag) {
12662
12057
  case 0:
12663
12058
  case 11:
@@ -12785,10 +12180,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12785
12180
  } catch (err) {
12786
12181
  hasLoggedError || (hasLoggedError = !0, console.error("React instrumentation encountered an error: %o", err));
12787
12182
  }
12788
- var prevEffectStart = pushComponentEffectStart();
12789
- var prevEffectDuration = pushComponentEffectDuration();
12790
- var prevEffectErrors = pushComponentEffectErrors();
12791
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12183
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12792
12184
  switch (deletedFiber.tag) {
12793
12185
  case 26: if (supportsResources) {
12794
12186
  offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor);
@@ -12798,8 +12190,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12798
12190
  }
12799
12191
  case 27: if (supportsSingletons) {
12800
12192
  offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor);
12801
- var prevHostParent = hostParent;
12802
- var prevHostParentIsContainer = hostParentIsContainer;
12193
+ var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer;
12803
12194
  isSingletonScope(deletedFiber.type) && (hostParent = deletedFiber.stateNode, hostParentIsContainer = !1);
12804
12195
  recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
12805
12196
  runWithFiberInDEV(deletedFiber, releaseSingletonInstance, deletedFiber.stateNode);
@@ -12900,10 +12291,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12900
12291
  function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
12901
12292
  var deletions = parentFiber.deletions;
12902
12293
  if (null !== deletions) for (var i = 0; i < deletions.length; i++) {
12903
- var root = root$jscomp$0;
12904
- var returnFiber = parentFiber;
12905
- var deletedFiber = deletions[i];
12906
- var prevEffectStart = pushComponentEffectStart();
12294
+ var root = root$jscomp$0, returnFiber = parentFiber, deletedFiber = deletions[i], prevEffectStart = pushComponentEffectStart();
12907
12295
  if (supportsMutation) {
12908
12296
  var parent = returnFiber;
12909
12297
  a: for (; null !== parent;) {
@@ -12943,12 +12331,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
12943
12331
  if (parentFiber.subtreeFlags & 13886) for (parentFiber = parentFiber.child; null !== parentFiber;) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), parentFiber = parentFiber.sibling;
12944
12332
  }
12945
12333
  function commitMutationEffectsOnFiber(finishedWork, root) {
12946
- var prevEffectStart = pushComponentEffectStart();
12947
- var prevEffectDuration = pushComponentEffectDuration();
12948
- var prevEffectErrors = pushComponentEffectErrors();
12949
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12950
- var current = finishedWork.alternate;
12951
- var flags = finishedWork.flags;
12334
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), current = finishedWork.alternate, flags = finishedWork.flags;
12952
12335
  switch (finishedWork.tag) {
12953
12336
  case 0:
12954
12337
  case 11:
@@ -13063,9 +12446,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13063
12446
  break;
13064
12447
  case 22:
13065
12448
  hoistableRoot = null !== finishedWork.memoizedState;
13066
- var wasHidden = null !== current && null !== current.memoizedState;
13067
- var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden;
13068
- var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
12449
+ var wasHidden = null !== current && null !== current.memoizedState, prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden, prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
13069
12450
  offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden || hoistableRoot;
13070
12451
  offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || wasHidden;
13071
12452
  recursivelyTraverseMutationEffects(root, finishedWork);
@@ -13161,10 +12542,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13161
12542
  if (parentFiber.subtreeFlags & 8772) for (parentFiber = parentFiber.child; null !== parentFiber;) commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber), parentFiber = parentFiber.sibling;
13162
12543
  }
13163
12544
  function disappearLayoutEffects(finishedWork) {
13164
- var prevEffectStart = pushComponentEffectStart();
13165
- var prevEffectDuration = pushComponentEffectDuration();
13166
- var prevEffectErrors = pushComponentEffectErrors();
13167
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12545
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
13168
12546
  switch (finishedWork.tag) {
13169
12547
  case 0:
13170
12548
  case 11:
@@ -13203,11 +12581,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13203
12581
  for (parentFiber = parentFiber.child; null !== parentFiber;) disappearLayoutEffects(parentFiber), parentFiber = parentFiber.sibling;
13204
12582
  }
13205
12583
  function reappearLayoutEffects(finishedRoot, current, finishedWork, includeWorkInProgressEffects) {
13206
- var prevEffectStart = pushComponentEffectStart();
13207
- var prevEffectDuration = pushComponentEffectDuration();
13208
- var prevEffectErrors = pushComponentEffectErrors();
13209
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
13210
- var flags = finishedWork.flags;
12584
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), flags = finishedWork.flags;
13211
12585
  switch (finishedWork.tag) {
13212
12586
  case 0:
13213
12587
  case 11:
@@ -13297,12 +12671,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13297
12671
  }
13298
12672
  }
13299
12673
  function commitPassiveMountOnFiber(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime) {
13300
- var prevEffectStart = pushComponentEffectStart();
13301
- var prevEffectDuration = pushComponentEffectDuration();
13302
- var prevEffectErrors = pushComponentEffectErrors();
13303
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
13304
- var prevDeepEquality = alreadyWarnedForDeepEquality;
13305
- var flags = finishedWork.flags;
12674
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), prevDeepEquality = alreadyWarnedForDeepEquality, flags = finishedWork.flags;
13306
12675
  switch (finishedWork.tag) {
13307
12676
  case 0:
13308
12677
  case 11:
@@ -13316,8 +12685,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13316
12685
  recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime);
13317
12686
  break;
13318
12687
  case 3:
13319
- var prevProfilerEffectDuration = pushNestedEffectDurations();
13320
- var wasInHydratedSubtree = inHydratedSubtree;
12688
+ var prevProfilerEffectDuration = pushNestedEffectDurations(), wasInHydratedSubtree = inHydratedSubtree;
13321
12689
  inHydratedSubtree = null !== finishedWork.alternate && finishedWork.alternate.memoizedState.isDehydrated && 0 === (finishedWork.flags & 256);
13322
12690
  recursivelyTraversePassiveMountEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, endTime);
13323
12691
  inHydratedSubtree = wasInHydratedSubtree;
@@ -13385,11 +12753,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13385
12753
  }
13386
12754
  }
13387
12755
  function reconnectPassiveEffects(finishedRoot, finishedWork, committedLanes, committedTransitions, includeWorkInProgressEffects, endTime) {
13388
- var prevEffectStart = pushComponentEffectStart();
13389
- var prevEffectDuration = pushComponentEffectDuration();
13390
- var prevEffectErrors = pushComponentEffectErrors();
13391
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
13392
- var prevDeepEquality = alreadyWarnedForDeepEquality;
12756
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate(), prevDeepEquality = alreadyWarnedForDeepEquality;
13393
12757
  includeWorkInProgressEffects && (finishedWork.mode & 2) !== NoMode && 0 < finishedWork.actualStartTime && 0 !== (finishedWork.flags & 1) && logComponentRender(finishedWork, finishedWork.actualStartTime, endTime, inHydratedSubtree, committedLanes);
13394
12758
  var flags = finishedWork.flags;
13395
12759
  switch (finishedWork.tag) {
@@ -13421,11 +12785,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13421
12785
  function recursivelyTraverseAtomicPassiveEffects(finishedRoot$jscomp$0, parentFiber, committedLanes$jscomp$0, committedTransitions$jscomp$0, endTime$jscomp$0) {
13422
12786
  if (parentFiber.subtreeFlags & 10256 || 0 !== parentFiber.actualDuration && (null === parentFiber.alternate || parentFiber.alternate.child !== parentFiber.child)) for (var child = parentFiber.child; null !== child;) {
13423
12787
  parentFiber = child.sibling;
13424
- var finishedRoot = finishedRoot$jscomp$0;
13425
- var committedLanes = committedLanes$jscomp$0;
13426
- var committedTransitions = committedTransitions$jscomp$0;
13427
- var endTime = null !== parentFiber ? parentFiber.actualStartTime : endTime$jscomp$0;
13428
- var prevDeepEquality = alreadyWarnedForDeepEquality;
12788
+ var finishedRoot = finishedRoot$jscomp$0, committedLanes = committedLanes$jscomp$0, committedTransitions = committedTransitions$jscomp$0, endTime = null !== parentFiber ? parentFiber.actualStartTime : endTime$jscomp$0, prevDeepEquality = alreadyWarnedForDeepEquality;
13429
12789
  (child.mode & 2) !== NoMode && 0 < child.actualStartTime && 0 !== (child.flags & 1) && logComponentRender(child, child.actualStartTime, endTime, inHydratedSubtree, committedLanes);
13430
12790
  var flags = child.flags;
13431
12791
  switch (child.tag) {
@@ -13452,8 +12812,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13452
12812
  recursivelyAccumulateSuspenseyCommit(fiber, committedLanes, suspendedState);
13453
12813
  if (fiber.flags & suspenseyCommitFlag) if (null !== fiber.memoizedState) suspendResource(suspendedState, currentHoistableRoot, fiber.memoizedState, fiber.memoizedProps);
13454
12814
  else {
13455
- var instance = fiber.stateNode;
13456
- var type = fiber.type;
12815
+ var instance = fiber.stateNode, type = fiber.type;
13457
12816
  fiber = fiber.memoizedProps;
13458
12817
  ((committedLanes & 335544128) === committedLanes || maySuspendCommitInSyncRender(type, fiber)) && suspendInstance(suspendedState, instance, type, fiber);
13459
12818
  }
@@ -13485,8 +12844,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13485
12844
  var deletions = parentFiber.deletions;
13486
12845
  if (0 !== (parentFiber.flags & 16)) {
13487
12846
  if (null !== deletions) for (var i = 0; i < deletions.length; i++) {
13488
- var childToDelete = deletions[i];
13489
- var prevEffectStart = pushComponentEffectStart();
12847
+ var childToDelete = deletions[i], prevEffectStart = pushComponentEffectStart();
13490
12848
  nextEffect = childToDelete;
13491
12849
  commitPassiveUnmountEffectsInsideOfDeletedTree_begin(childToDelete, parentFiber);
13492
12850
  (childToDelete.mode & 2) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && .05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(childToDelete, componentEffectStartTime, componentEffectEndTime, "Unmount");
@@ -13497,10 +12855,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13497
12855
  if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber;) commitPassiveUnmountOnFiber(parentFiber), parentFiber = parentFiber.sibling;
13498
12856
  }
13499
12857
  function commitPassiveUnmountOnFiber(finishedWork) {
13500
- var prevEffectStart = pushComponentEffectStart();
13501
- var prevEffectDuration = pushComponentEffectDuration();
13502
- var prevEffectErrors = pushComponentEffectErrors();
13503
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12858
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
13504
12859
  switch (finishedWork.tag) {
13505
12860
  case 0:
13506
12861
  case 11:
@@ -13534,8 +12889,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13534
12889
  var deletions = parentFiber.deletions;
13535
12890
  if (0 !== (parentFiber.flags & 16)) {
13536
12891
  if (null !== deletions) for (var i = 0; i < deletions.length; i++) {
13537
- var childToDelete = deletions[i];
13538
- var prevEffectStart = pushComponentEffectStart();
12892
+ var childToDelete = deletions[i], prevEffectStart = pushComponentEffectStart();
13539
12893
  nextEffect = childToDelete;
13540
12894
  commitPassiveUnmountEffectsInsideOfDeletedTree_begin(childToDelete, parentFiber);
13541
12895
  (childToDelete.mode & 2) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && .05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(childToDelete, componentEffectStartTime, componentEffectEndTime, "Unmount");
@@ -13546,10 +12900,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13546
12900
  for (parentFiber = parentFiber.child; null !== parentFiber;) disconnectPassiveEffect(parentFiber), parentFiber = parentFiber.sibling;
13547
12901
  }
13548
12902
  function disconnectPassiveEffect(finishedWork) {
13549
- var prevEffectStart = pushComponentEffectStart();
13550
- var prevEffectDuration = pushComponentEffectDuration();
13551
- var prevEffectErrors = pushComponentEffectErrors();
13552
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12903
+ var prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
13553
12904
  switch (finishedWork.tag) {
13554
12905
  case 0:
13555
12906
  case 11:
@@ -13571,13 +12922,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13571
12922
  }
13572
12923
  function commitPassiveUnmountEffectsInsideOfDeletedTree_begin(deletedSubtreeRoot, nearestMountedAncestor$jscomp$0) {
13573
12924
  for (; null !== nextEffect;) {
13574
- var fiber = nextEffect;
13575
- var current = fiber;
13576
- var nearestMountedAncestor = nearestMountedAncestor$jscomp$0;
13577
- var prevEffectStart = pushComponentEffectStart();
13578
- var prevEffectDuration = pushComponentEffectDuration();
13579
- var prevEffectErrors = pushComponentEffectErrors();
13580
- var prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
12925
+ var fiber = nextEffect, current = fiber, nearestMountedAncestor = nearestMountedAncestor$jscomp$0, prevEffectStart = pushComponentEffectStart(), prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), prevEffectDidSpawnUpdate = pushComponentEffectDidSpawnUpdate();
13581
12926
  switch (current.tag) {
13582
12927
  case 0:
13583
12928
  case 11:
@@ -13636,10 +12981,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13636
12981
  selector = selector.value;
13637
12982
  fiber$jscomp$0 = [fiber$jscomp$0, 0];
13638
12983
  for (tag = 0; tag < fiber$jscomp$0.length;) {
13639
- var fiber = fiber$jscomp$0[tag++];
13640
- var tag$jscomp$0 = fiber.tag;
13641
- var selectorIndex = fiber$jscomp$0[tag++];
13642
- var selector$jscomp$0 = selector[selectorIndex];
12984
+ var fiber = fiber$jscomp$0[tag++], tag$jscomp$0 = fiber.tag, selectorIndex = fiber$jscomp$0[tag++], selector$jscomp$0 = selector[selectorIndex];
13643
12985
  if (5 !== tag$jscomp$0 && 26 !== tag$jscomp$0 && 27 !== tag$jscomp$0 || !isHiddenSubtree(fiber)) {
13644
12986
  for (; null != selector$jscomp$0 && matchSelector(fiber, selector$jscomp$0);) selectorIndex++, selector$jscomp$0 = selector[selectorIndex];
13645
12987
  if (selectorIndex === selector.length) {
@@ -13682,10 +13024,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13682
13024
  var matchingFibers = [];
13683
13025
  root = [root, 0];
13684
13026
  for (var index = 0; index < root.length;) {
13685
- var fiber = root[index++];
13686
- var tag = fiber.tag;
13687
- var selectorIndex = root[index++];
13688
- var selector = selectors[selectorIndex];
13027
+ var fiber = root[index++], tag = fiber.tag, selectorIndex = root[index++], selector = selectors[selectorIndex];
13689
13028
  if (5 !== tag && 26 !== tag && 27 !== tag || !isHiddenSubtree(fiber)) {
13690
13029
  for (; null != selector && matchSelector(fiber, selector);) selectorIndex++, selector = selectors[selectorIndex];
13691
13030
  if (selectorIndex === selectors.length) matchingFibers.push(fiber);
@@ -13701,8 +13040,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13701
13040
  selectors = [];
13702
13041
  hostRoot = Array.from(hostRoot);
13703
13042
  for (var index = 0; index < hostRoot.length;) {
13704
- var node = hostRoot[index++];
13705
- var tag = node.tag;
13043
+ var node = hostRoot[index++], tag = node.tag;
13706
13044
  if (5 === tag || 26 === tag || 27 === tag) isHiddenSubtree(node) || selectors.push(node.stateNode);
13707
13045
  else for (node = node.child; null !== node;) hostRoot.push(node), node = node.sibling;
13708
13046
  }
@@ -13754,8 +13092,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13754
13092
  function performWorkOnRoot(root, lanes, forceSync) {
13755
13093
  if ((executionContext & (RenderContext | CommitContext)) !== NoContext) throw Error("Should not already be working.");
13756
13094
  if (0 !== workInProgressRootRenderLanes && null !== workInProgress) {
13757
- var yieldedFiber = workInProgress;
13758
- var yieldEndTime = now$1();
13095
+ var yieldedFiber = workInProgress, yieldEndTime = now$1();
13759
13096
  switch (yieldReason) {
13760
13097
  case SuspendedOnImmediate:
13761
13098
  case SuspendedOnData:
@@ -13873,8 +13210,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13873
13210
  }
13874
13211
  function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane, updatedLanes, suspendedRetryLanes, didSkipSuspendedSiblings, exitStatus, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime) {
13875
13212
  root.timeoutHandle = noTimeout;
13876
- var subtreeFlags = finishedWork.subtreeFlags;
13877
- var suspendedState = null;
13213
+ var subtreeFlags = finishedWork.subtreeFlags, suspendedState = null;
13878
13214
  if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) {
13879
13215
  if (suspendedState = startSuspendingCommit(), accumulateSuspenseyCommitOnFiber(finishedWork, lanes, suspendedState), subtreeFlags = (lanes & 62914560) === lanes ? globalMostRecentFallbackTime - now$1() : (lanes & 4194048) === lanes ? globalMostRecentTransitionTime - now$1() : 0, subtreeFlags = waitForCommitToBeReady(suspendedState, subtreeFlags), null !== subtreeFlags) {
13880
13216
  pendingEffectsLanes = lanes;
@@ -13889,8 +13225,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13889
13225
  for (var node = finishedWork;;) {
13890
13226
  var tag = node.tag;
13891
13227
  if ((0 === tag || 11 === tag || 15 === tag) && node.flags & 16384 && (tag = node.updateQueue, null !== tag && (tag = tag.stores, null !== tag))) for (var i = 0; i < tag.length; i++) {
13892
- var check = tag[i];
13893
- var getSnapshot = check.getSnapshot;
13228
+ var check = tag[i], getSnapshot = check.getSnapshot;
13894
13229
  check = check.value;
13895
13230
  try {
13896
13231
  if (!objectIs(getSnapshot(), check)) return !1;
@@ -13920,8 +13255,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13920
13255
  didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
13921
13256
  didAttemptEntireTree = root.expirationTimes;
13922
13257
  for (var lanes = suspendedLanes; 0 < lanes;) {
13923
- var index = 31 - clz32(lanes);
13924
- var lane = 1 << index;
13258
+ var index = 31 - clz32(lanes), lane = 1 << index;
13925
13259
  didAttemptEntireTree[index] = -1;
13926
13260
  lanes &= ~lane;
13927
13261
  }
@@ -13953,11 +13287,9 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13953
13287
  setCurrentTrackFromLanes(workInProgressRootRenderLanes);
13954
13288
  if (workInProgressRootExitStatus === RootSuspended || workInProgressRootExitStatus === RootSuspendedWithDelay) logSuspendedRenderPhase(previousRenderStartTime, renderStartTime, lanes, workInProgressUpdateTask);
13955
13289
  else {
13956
- var endTime = renderStartTime;
13957
- var debugTask = workInProgressUpdateTask;
13290
+ var endTime = renderStartTime, debugTask = workInProgressUpdateTask;
13958
13291
  if (supportsUserTiming && !(endTime <= previousRenderStartTime)) {
13959
- var color = (lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark";
13960
- var label = (lanes & 536870912) === lanes ? "Prewarm" : (lanes & 201326741) === lanes ? "Interrupted Hydration" : "Interrupted Render";
13292
+ var color = (lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark", label = (lanes & 536870912) === lanes ? "Prewarm" : (lanes & 201326741) === lanes ? "Interrupted Hydration" : "Interrupted Render";
13961
13293
  debugTask ? debugTask.run(console.timeStamp.bind(console, label, previousRenderStartTime, endTime, currentTrack, "Scheduler ⚛", color)) : console.timeStamp(label, previousRenderStartTime, endTime, currentTrack, "Scheduler ⚛", color);
13962
13294
  }
13963
13295
  }
@@ -13972,11 +13304,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
13972
13304
  color = 0 <= endTime ? endTime : 0 <= debugTask ? debugTask : renderStartTime;
13973
13305
  0 <= blockingSuspendedTime && (setCurrentTrackFromLanes(2), logSuspendedWithDelayPhase(blockingSuspendedTime, color, lanes, previousRenderStartTime));
13974
13306
  previousRenderStartTime = debugTask;
13975
- var eventTime = endTime;
13976
- var eventType = blockingEventType;
13977
- var eventIsRepeat = 0 < blockingEventRepeatTime;
13978
- var isSpawnedUpdate = 1 === blockingUpdateType;
13979
- var isPingedUpdate = 2 === blockingUpdateType;
13307
+ var eventTime = endTime, eventType = blockingEventType, eventIsRepeat = 0 < blockingEventRepeatTime, isSpawnedUpdate = 1 === blockingUpdateType, isPingedUpdate = 2 === blockingUpdateType;
13980
13308
  debugTask = renderStartTime;
13981
13309
  endTime = blockingUpdateTask;
13982
13310
  color = blockingUpdateMethodName;
@@ -14082,8 +13410,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14082
13410
  function renderRootSync(root, lanes, shouldYieldForPrerendering) {
14083
13411
  var prevExecutionContext = executionContext;
14084
13412
  executionContext |= RenderContext;
14085
- var prevDispatcher = pushDispatcher();
14086
- var prevAsyncDispatcher = pushAsyncDispatcher();
13413
+ var prevDispatcher = pushDispatcher(), prevAsyncDispatcher = pushAsyncDispatcher();
14087
13414
  if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) {
14088
13415
  if (isDevToolsPresent) {
14089
13416
  var memoizedUpdaters = root.memoizedUpdaters;
@@ -14098,8 +13425,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14098
13425
  a: do
14099
13426
  try {
14100
13427
  if (workInProgressSuspendedReason !== NotSuspended && null !== workInProgress) {
14101
- var unitOfWork = workInProgress;
14102
- var thrownValue = workInProgressThrownValue;
13428
+ var unitOfWork = workInProgress, thrownValue = workInProgressThrownValue;
14103
13429
  switch (workInProgressSuspendedReason) {
14104
13430
  case SuspendedOnHydration:
14105
13431
  resetWorkInProgressStack();
@@ -14143,8 +13469,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14143
13469
  function renderRootConcurrent(root, lanes) {
14144
13470
  var prevExecutionContext = executionContext;
14145
13471
  executionContext |= RenderContext;
14146
- var prevDispatcher = pushDispatcher();
14147
- var prevAsyncDispatcher = pushAsyncDispatcher();
13472
+ var prevDispatcher = pushDispatcher(), prevAsyncDispatcher = pushAsyncDispatcher();
14148
13473
  if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) {
14149
13474
  if (isDevToolsPresent) {
14150
13475
  var memoizedUpdaters = root.memoizedUpdaters;
@@ -14192,9 +13517,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14192
13517
  case 26: resource = workInProgress.memoizedState;
14193
13518
  case 5:
14194
13519
  case 27:
14195
- var hostFiber = workInProgress;
14196
- var type = hostFiber.type;
14197
- var props = hostFiber.pendingProps;
13520
+ var hostFiber = workInProgress, type = hostFiber.type, props = hostFiber.pendingProps;
14198
13521
  if (resource ? preloadResource(resource) : preloadInstance(hostFiber.stateNode, type, props)) {
14199
13522
  workInProgressSuspendedReason = NotSuspended;
14200
13523
  workInProgressThrownValue = null;
@@ -14255,8 +13578,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14255
13578
  null === next ? completeUnitOfWork(unitOfWork) : workInProgress = next;
14256
13579
  }
14257
13580
  function replayBeginWork(unitOfWork) {
14258
- var current = unitOfWork.alternate;
14259
- var isProfilingMode = (unitOfWork.mode & 2) !== NoMode;
13581
+ var current = unitOfWork.alternate, isProfilingMode = (unitOfWork.mode & 2) !== NoMode;
14260
13582
  isProfilingMode && startProfilerTimer(unitOfWork);
14261
13583
  switch (unitOfWork.tag) {
14262
13584
  case 15:
@@ -14408,10 +13730,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14408
13730
  function flushMutationEffects() {
14409
13731
  if (pendingEffectsStatus === PENDING_MUTATION_PHASE) {
14410
13732
  pendingEffectsStatus = NO_PENDING_EFFECTS;
14411
- var root = pendingEffectsRoot;
14412
- var finishedWork = pendingFinishedWork;
14413
- var lanes = pendingEffectsLanes;
14414
- var rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
13733
+ var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, lanes = pendingEffectsLanes, rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
14415
13734
  if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) {
14416
13735
  rootMutationHasEffect = ReactSharedInternals.T;
14417
13736
  ReactSharedInternals.T = null;
@@ -14435,8 +13754,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14435
13754
  var suspendedViewTransitionReason = pendingSuspendedViewTransitionReason;
14436
13755
  if (null !== suspendedViewTransitionReason) {
14437
13756
  commitStartTime = now();
14438
- var startTime = commitEndTime;
14439
- var endTime = commitStartTime;
13757
+ var startTime = commitEndTime, endTime = commitStartTime;
14440
13758
  !supportsUserTiming || endTime <= startTime || (animatingTask ? animatingTask.run(console.timeStamp.bind(console, suspendedViewTransitionReason, startTime, endTime, currentTrack, "Scheduler ⚛", "secondary-light")) : console.timeStamp(suspendedViewTransitionReason, startTime, endTime, currentTrack, "Scheduler ⚛", "secondary-light"));
14441
13759
  }
14442
13760
  suspendedViewTransitionReason = pendingEffectsRoot;
@@ -14472,8 +13790,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14472
13790
  if (pendingEffectsStatus === PENDING_SPAWNED_WORK) {
14473
13791
  var startViewTransitionStartTime = commitEndTime;
14474
13792
  commitEndTime = now();
14475
- var endTime = commitEndTime;
14476
- var abortedViewTransition = pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT;
13793
+ var endTime = commitEndTime, abortedViewTransition = pendingDelayedCommitReason === ABORTED_VIEW_TRANSITION_COMMIT;
14477
13794
  !supportsUserTiming || endTime <= startViewTransitionStartTime || (animatingTask ? animatingTask.run(console.timeStamp.bind(console, abortedViewTransition ? "Interrupted View Transition" : "Starting Animation", startViewTransitionStartTime, endTime, currentTrack, "Scheduler ⚛", abortedViewTransition ? "error" : "secondary-light")) : console.timeStamp(abortedViewTransition ? "Interrupted View Transition" : "Starting Animation", startViewTransitionStartTime, endTime, currentTrack, "Scheduler ⚛", abortedViewTransition ? " error" : "secondary-light"));
14478
13795
  pendingDelayedCommitReason !== ABORTED_VIEW_TRANSITION_COMMIT && (pendingDelayedCommitReason = ANIMATION_STARTED_COMMIT);
14479
13796
  }
@@ -14521,8 +13838,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14521
13838
  try {
14522
13839
  var onRecoverableError = startViewTransitionStartTime.onRecoverableError;
14523
13840
  for (finishedWork = 0; finishedWork < abortedViewTransition.length; finishedWork++) {
14524
- var recoverableError = abortedViewTransition[finishedWork];
14525
- var errorInfo = makeErrorInfo(recoverableError.stack);
13841
+ var recoverableError = abortedViewTransition[finishedWork], errorInfo = makeErrorInfo(recoverableError.stack);
14526
13842
  runWithFiberInDEV(recoverableError.source, onRecoverableError, recoverableError.value, errorInfo);
14527
13843
  }
14528
13844
  } finally {
@@ -14556,11 +13872,9 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14556
13872
  }
14557
13873
  function flushPassiveEffects() {
14558
13874
  if (pendingEffectsStatus !== PENDING_PASSIVE_PHASE) return !1;
14559
- var root = pendingEffectsRoot;
14560
- var remainingLanes = pendingEffectsRemainingLanes;
13875
+ var root = pendingEffectsRoot, remainingLanes = pendingEffectsRemainingLanes;
14561
13876
  pendingEffectsRemainingLanes = 0;
14562
- var renderPriority = lanesToEventPriority(pendingEffectsLanes);
14563
- var priority = 32 > renderPriority ? 32 : renderPriority;
13877
+ var renderPriority = lanesToEventPriority(pendingEffectsLanes), priority = 32 > renderPriority ? 32 : renderPriority;
14564
13878
  renderPriority = ReactSharedInternals.T;
14565
13879
  var previousPriority = getCurrentUpdatePriority();
14566
13880
  try {
@@ -14581,8 +13895,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14581
13895
  commitErrors = null;
14582
13896
  passiveEffectStartTime = now$1();
14583
13897
  if (pendingDelayedCommitReason === ANIMATION_STARTED_COMMIT) {
14584
- var startTime = commitEndTime;
14585
- var endTime = passiveEffectStartTime;
13898
+ var startTime = commitEndTime, endTime = passiveEffectStartTime;
14586
13899
  !supportsUserTiming || endTime <= startTime || (animatingTask ? animatingTask.run(console.timeStamp.bind(console, "Animating", startTime, endTime, currentTrack, "Scheduler ⚛", "secondary-dark")) : console.timeStamp("Animating", startTime, endTime, currentTrack, "Scheduler ⚛", "secondary-dark"));
14587
13900
  } else {
14588
13901
  startTime = commitEndTime;
@@ -14679,8 +13992,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14679
13992
  null !== boundaryFiber && (markRootUpdated$1(boundaryFiber, retryLane), ensureRootIsScheduled(boundaryFiber));
14680
13993
  }
14681
13994
  function retryDehydratedSuspenseBoundary(boundaryFiber) {
14682
- var suspenseState = boundaryFiber.memoizedState;
14683
- var retryLane = 0;
13995
+ var suspenseState = boundaryFiber.memoizedState, retryLane = 0;
14684
13996
  null !== suspenseState && (retryLane = suspenseState.retryLane);
14685
13997
  retryTimedOutBoundary(boundaryFiber, retryLane);
14686
13998
  }
@@ -14706,9 +14018,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14706
14018
  }
14707
14019
  function recursivelyTraverseAndDoubleInvokeEffectsInDEV(root$jscomp$0, parentFiber, isInStrictMode) {
14708
14020
  if (0 !== (parentFiber.subtreeFlags & 67117056)) for (parentFiber = parentFiber.child; null !== parentFiber;) {
14709
- var root = root$jscomp$0;
14710
- var fiber = parentFiber;
14711
- var isStrictModeFiber = fiber.type === REACT_STRICT_MODE_TYPE;
14021
+ var root = root$jscomp$0, fiber = parentFiber, isStrictModeFiber = fiber.type === REACT_STRICT_MODE_TYPE;
14712
14022
  isStrictModeFiber = isInStrictMode || isStrictModeFiber;
14713
14023
  22 !== fiber.tag ? fiber.flags & 67108864 ? isStrictModeFiber && runWithFiberInDEV(fiber, doubleInvokeEffectsOnFiber, root, fiber) : recursivelyTraverseAndDoubleInvokeEffectsInDEV(root, fiber, isStrictModeFiber) : null === fiber.memoizedState && (isStrictModeFiber && fiber.flags & 8192 ? runWithFiberInDEV(fiber, doubleInvokeEffectsOnFiber, root, fiber) : fiber.subtreeFlags & 67108864 && runWithFiberInDEV(fiber, recursivelyTraverseAndDoubleInvokeEffectsInDEV, root, fiber, isStrictModeFiber));
14714
14024
  parentFiber = parentFiber.sibling;
@@ -14773,8 +14083,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14773
14083
  if (null === resolveFamily) return !1;
14774
14084
  var prevType = fiber.elementType;
14775
14085
  element = element.type;
14776
- var needsCompareFamilies = !1;
14777
- var $$typeofNextType = "object" === typeof element && null !== element ? element.$$typeof : null;
14086
+ var needsCompareFamilies = !1, $$typeofNextType = "object" === typeof element && null !== element ? element.$$typeof : null;
14778
14087
  switch (fiber.tag) {
14779
14088
  case 1:
14780
14089
  "function" === typeof element && (needsCompareFamilies = !0);
@@ -14798,11 +14107,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14798
14107
  }
14799
14108
  function scheduleFibersWithFamiliesRecursively(fiber, updatedFamilies, staleFamilies) {
14800
14109
  do {
14801
- var _fiber = fiber;
14802
- var alternate = _fiber.alternate;
14803
- var child = _fiber.child;
14804
- var sibling = _fiber.sibling;
14805
- var tag = _fiber.tag;
14110
+ var _fiber = fiber, alternate = _fiber.alternate, child = _fiber.child, sibling = _fiber.sibling, tag = _fiber.tag;
14806
14111
  _fiber = _fiber.type;
14807
14112
  var candidateType = null;
14808
14113
  switch (tag) {
@@ -14897,8 +14202,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
14897
14202
  return workInProgress;
14898
14203
  }
14899
14204
  function createFiberFromTypeAndProps(type, key, pendingProps, owner, mode, lanes) {
14900
- var fiberTag = 0;
14901
- var resolvedType = type;
14205
+ var fiberTag = 0, resolvedType = type;
14902
14206
  if ("function" === typeof type) shouldConstruct(type) && (fiberTag = 1), resolvedType = resolveFunctionForHotReloading(resolvedType);
14903
14207
  else if ("string" === typeof type) supportsResources && supportsSingletons ? (fiberTag = getHostContext(), fiberTag = isHostHoistableType(type, pendingProps, fiberTag) ? 26 : isHostSingletonType(type) ? 27 : 5) : supportsResources ? (fiberTag = getHostContext(), fiberTag = isHostHoistableType(type, pendingProps, fiberTag) ? 26 : 5) : fiberTag = supportsSingletons ? isHostSingletonType(type) ? 27 : 5 : 5;
14904
14208
  else a: switch (type) {
@@ -15069,102 +14373,25 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
15069
14373
  return current;
15070
14374
  }
15071
14375
  var exports$1 = {};
15072
- var React = require_react$1.require_react();
15073
- var Scheduler = require_scheduler();
15074
- var assign = Object.assign;
15075
- var REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element");
15076
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
15077
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
15078
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
15079
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
15080
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
15081
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
15082
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
15083
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
15084
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
15085
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
15086
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
15087
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
14376
+ var React = require_react$1.require_react(), Scheduler = require_scheduler(), assign = Object.assign, REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"), 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");
15088
14377
  var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
15089
14378
  var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
15090
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
15091
- var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
15092
- var isArrayImpl = Array.isArray;
15093
- var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
15094
- var rendererVersion = $$$config.rendererVersion;
15095
- var rendererPackageName = $$$config.rendererPackageName;
15096
- var extraDevToolsConfig = $$$config.extraDevToolsConfig;
15097
- var getPublicInstance = $$$config.getPublicInstance;
15098
- var getRootHostContext = $$$config.getRootHostContext;
15099
- var getChildHostContext = $$$config.getChildHostContext;
15100
- var prepareForCommit = $$$config.prepareForCommit;
15101
- var resetAfterCommit = $$$config.resetAfterCommit;
15102
- var createInstance = $$$config.createInstance;
14379
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), isArrayImpl = Array.isArray, ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, rendererVersion = $$$config.rendererVersion, rendererPackageName = $$$config.rendererPackageName, extraDevToolsConfig = $$$config.extraDevToolsConfig, getPublicInstance = $$$config.getPublicInstance, getRootHostContext = $$$config.getRootHostContext, getChildHostContext = $$$config.getChildHostContext, prepareForCommit = $$$config.prepareForCommit, resetAfterCommit = $$$config.resetAfterCommit, createInstance = $$$config.createInstance;
15103
14380
  $$$config.cloneMutableInstance;
15104
- var appendInitialChild = $$$config.appendInitialChild;
15105
- var finalizeInitialChildren = $$$config.finalizeInitialChildren;
15106
- var shouldSetTextContent = $$$config.shouldSetTextContent;
15107
- var createTextInstance = $$$config.createTextInstance;
14381
+ var appendInitialChild = $$$config.appendInitialChild, finalizeInitialChildren = $$$config.finalizeInitialChildren, shouldSetTextContent = $$$config.shouldSetTextContent, createTextInstance = $$$config.createTextInstance;
15108
14382
  $$$config.cloneMutableTextInstance;
15109
- var scheduleTimeout = $$$config.scheduleTimeout;
15110
- var cancelTimeout = $$$config.cancelTimeout;
15111
- var noTimeout = $$$config.noTimeout;
15112
- var isPrimaryRenderer = $$$config.isPrimaryRenderer;
14383
+ var scheduleTimeout = $$$config.scheduleTimeout, cancelTimeout = $$$config.cancelTimeout, noTimeout = $$$config.noTimeout, isPrimaryRenderer = $$$config.isPrimaryRenderer;
15113
14384
  $$$config.warnsIfNotActing;
15114
- var supportsMutation = $$$config.supportsMutation;
15115
- var supportsPersistence = $$$config.supportsPersistence;
15116
- var supportsHydration = $$$config.supportsHydration;
15117
- var getInstanceFromNode = $$$config.getInstanceFromNode;
14385
+ var supportsMutation = $$$config.supportsMutation, supportsPersistence = $$$config.supportsPersistence, supportsHydration = $$$config.supportsHydration, getInstanceFromNode = $$$config.getInstanceFromNode;
15118
14386
  $$$config.beforeActiveInstanceBlur;
15119
14387
  var preparePortalMount = $$$config.preparePortalMount;
15120
14388
  $$$config.prepareScopeUpdate;
15121
14389
  $$$config.getInstanceFromScope;
15122
- var setCurrentUpdatePriority = $$$config.setCurrentUpdatePriority;
15123
- var getCurrentUpdatePriority = $$$config.getCurrentUpdatePriority;
15124
- var resolveUpdatePriority = $$$config.resolveUpdatePriority;
15125
- var trackSchedulerEvent = $$$config.trackSchedulerEvent;
15126
- var resolveEventType = $$$config.resolveEventType;
15127
- var resolveEventTimeStamp = $$$config.resolveEventTimeStamp;
15128
- var shouldAttemptEagerTransition = $$$config.shouldAttemptEagerTransition;
15129
- var detachDeletedInstance = $$$config.detachDeletedInstance;
14390
+ var setCurrentUpdatePriority = $$$config.setCurrentUpdatePriority, getCurrentUpdatePriority = $$$config.getCurrentUpdatePriority, resolveUpdatePriority = $$$config.resolveUpdatePriority, trackSchedulerEvent = $$$config.trackSchedulerEvent, resolveEventType = $$$config.resolveEventType, resolveEventTimeStamp = $$$config.resolveEventTimeStamp, shouldAttemptEagerTransition = $$$config.shouldAttemptEagerTransition, detachDeletedInstance = $$$config.detachDeletedInstance;
15130
14391
  $$$config.requestPostPaintCallback;
15131
- var maySuspendCommit = $$$config.maySuspendCommit;
15132
- var maySuspendCommitOnUpdate = $$$config.maySuspendCommitOnUpdate;
15133
- var maySuspendCommitInSyncRender = $$$config.maySuspendCommitInSyncRender;
15134
- var preloadInstance = $$$config.preloadInstance;
15135
- var startSuspendingCommit = $$$config.startSuspendingCommit;
15136
- var suspendInstance = $$$config.suspendInstance;
14392
+ var maySuspendCommit = $$$config.maySuspendCommit, maySuspendCommitOnUpdate = $$$config.maySuspendCommitOnUpdate, maySuspendCommitInSyncRender = $$$config.maySuspendCommitInSyncRender, preloadInstance = $$$config.preloadInstance, startSuspendingCommit = $$$config.startSuspendingCommit, suspendInstance = $$$config.suspendInstance;
15137
14393
  $$$config.suspendOnActiveViewTransition;
15138
- var waitForCommitToBeReady = $$$config.waitForCommitToBeReady;
15139
- var getSuspendedCommitReason = $$$config.getSuspendedCommitReason;
15140
- var NotPendingTransition = $$$config.NotPendingTransition;
15141
- var HostTransitionContext = $$$config.HostTransitionContext;
15142
- var resetFormInstance = $$$config.resetFormInstance;
15143
- var bindToConsole = $$$config.bindToConsole;
15144
- var supportsMicrotasks = $$$config.supportsMicrotasks;
15145
- var scheduleMicrotask = $$$config.scheduleMicrotask;
15146
- var supportsTestSelectors = $$$config.supportsTestSelectors;
15147
- var findFiberRoot = $$$config.findFiberRoot;
15148
- var getBoundingRect = $$$config.getBoundingRect;
15149
- var getTextContent = $$$config.getTextContent;
15150
- var isHiddenSubtree = $$$config.isHiddenSubtree;
15151
- var matchAccessibilityRole = $$$config.matchAccessibilityRole;
15152
- var setFocusIfFocusable = $$$config.setFocusIfFocusable;
15153
- var setupIntersectionObserver = $$$config.setupIntersectionObserver;
15154
- var appendChild = $$$config.appendChild;
15155
- var appendChildToContainer = $$$config.appendChildToContainer;
15156
- var commitTextUpdate = $$$config.commitTextUpdate;
15157
- var commitMount = $$$config.commitMount;
15158
- var commitUpdate = $$$config.commitUpdate;
15159
- var insertBefore = $$$config.insertBefore;
15160
- var insertInContainerBefore = $$$config.insertInContainerBefore;
15161
- var removeChild = $$$config.removeChild;
15162
- var removeChildFromContainer = $$$config.removeChildFromContainer;
15163
- var resetTextContent = $$$config.resetTextContent;
15164
- var hideInstance = $$$config.hideInstance;
15165
- var hideTextInstance = $$$config.hideTextInstance;
15166
- var unhideInstance = $$$config.unhideInstance;
15167
- var unhideTextInstance = $$$config.unhideTextInstance;
14394
+ var waitForCommitToBeReady = $$$config.waitForCommitToBeReady, getSuspendedCommitReason = $$$config.getSuspendedCommitReason, NotPendingTransition = $$$config.NotPendingTransition, HostTransitionContext = $$$config.HostTransitionContext, resetFormInstance = $$$config.resetFormInstance, bindToConsole = $$$config.bindToConsole, supportsMicrotasks = $$$config.supportsMicrotasks, scheduleMicrotask = $$$config.scheduleMicrotask, supportsTestSelectors = $$$config.supportsTestSelectors, findFiberRoot = $$$config.findFiberRoot, getBoundingRect = $$$config.getBoundingRect, getTextContent = $$$config.getTextContent, isHiddenSubtree = $$$config.isHiddenSubtree, matchAccessibilityRole = $$$config.matchAccessibilityRole, setFocusIfFocusable = $$$config.setFocusIfFocusable, setupIntersectionObserver = $$$config.setupIntersectionObserver, appendChild = $$$config.appendChild, appendChildToContainer = $$$config.appendChildToContainer, commitTextUpdate = $$$config.commitTextUpdate, commitMount = $$$config.commitMount, commitUpdate = $$$config.commitUpdate, insertBefore = $$$config.insertBefore, insertInContainerBefore = $$$config.insertInContainerBefore, removeChild = $$$config.removeChild, removeChildFromContainer = $$$config.removeChildFromContainer, resetTextContent = $$$config.resetTextContent, hideInstance = $$$config.hideInstance, hideTextInstance = $$$config.hideTextInstance, unhideInstance = $$$config.unhideInstance, unhideTextInstance = $$$config.unhideTextInstance;
15168
14395
  $$$config.cancelViewTransitionName;
15169
14396
  $$$config.cancelRootViewTransitionName;
15170
14397
  $$$config.restoreRootViewTransitionName;
@@ -15183,101 +14410,15 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
15183
14410
  $$$config.updateFragmentInstanceFiber;
15184
14411
  $$$config.commitNewChildToFragmentInstance;
15185
14412
  $$$config.deleteChildFromFragmentInstance;
15186
- var cloneInstance = $$$config.cloneInstance;
15187
- var createContainerChildSet = $$$config.createContainerChildSet;
15188
- var appendChildToContainerChildSet = $$$config.appendChildToContainerChildSet;
15189
- var finalizeContainerChildren = $$$config.finalizeContainerChildren;
15190
- var replaceContainerChildren = $$$config.replaceContainerChildren;
15191
- var cloneHiddenInstance = $$$config.cloneHiddenInstance;
15192
- var cloneHiddenTextInstance = $$$config.cloneHiddenTextInstance;
15193
- var isSuspenseInstancePending = $$$config.isSuspenseInstancePending;
15194
- var isSuspenseInstanceFallback = $$$config.isSuspenseInstanceFallback;
15195
- var getSuspenseInstanceFallbackErrorDetails = $$$config.getSuspenseInstanceFallbackErrorDetails;
15196
- var registerSuspenseInstanceRetry = $$$config.registerSuspenseInstanceRetry;
15197
- var canHydrateFormStateMarker = $$$config.canHydrateFormStateMarker;
15198
- var isFormStateMarkerMatching = $$$config.isFormStateMarkerMatching;
15199
- var getNextHydratableSibling = $$$config.getNextHydratableSibling;
15200
- var getNextHydratableSiblingAfterSingleton = $$$config.getNextHydratableSiblingAfterSingleton;
15201
- var getFirstHydratableChild = $$$config.getFirstHydratableChild;
15202
- var getFirstHydratableChildWithinContainer = $$$config.getFirstHydratableChildWithinContainer;
15203
- var getFirstHydratableChildWithinActivityInstance = $$$config.getFirstHydratableChildWithinActivityInstance;
15204
- var getFirstHydratableChildWithinSuspenseInstance = $$$config.getFirstHydratableChildWithinSuspenseInstance;
15205
- var getFirstHydratableChildWithinSingleton = $$$config.getFirstHydratableChildWithinSingleton;
15206
- var canHydrateInstance = $$$config.canHydrateInstance;
15207
- var canHydrateTextInstance = $$$config.canHydrateTextInstance;
15208
- var canHydrateActivityInstance = $$$config.canHydrateActivityInstance;
15209
- var canHydrateSuspenseInstance = $$$config.canHydrateSuspenseInstance;
15210
- var hydrateInstance = $$$config.hydrateInstance;
15211
- var hydrateTextInstance = $$$config.hydrateTextInstance;
15212
- var hydrateActivityInstance = $$$config.hydrateActivityInstance;
15213
- var hydrateSuspenseInstance = $$$config.hydrateSuspenseInstance;
15214
- var getNextHydratableInstanceAfterActivityInstance = $$$config.getNextHydratableInstanceAfterActivityInstance;
15215
- var getNextHydratableInstanceAfterSuspenseInstance = $$$config.getNextHydratableInstanceAfterSuspenseInstance;
15216
- var commitHydratedInstance = $$$config.commitHydratedInstance;
15217
- var commitHydratedContainer = $$$config.commitHydratedContainer;
15218
- var commitHydratedActivityInstance = $$$config.commitHydratedActivityInstance;
15219
- var commitHydratedSuspenseInstance = $$$config.commitHydratedSuspenseInstance;
15220
- var finalizeHydratedChildren = $$$config.finalizeHydratedChildren;
15221
- var flushHydrationEvents = $$$config.flushHydrationEvents;
14413
+ var cloneInstance = $$$config.cloneInstance, createContainerChildSet = $$$config.createContainerChildSet, appendChildToContainerChildSet = $$$config.appendChildToContainerChildSet, finalizeContainerChildren = $$$config.finalizeContainerChildren, replaceContainerChildren = $$$config.replaceContainerChildren, cloneHiddenInstance = $$$config.cloneHiddenInstance, cloneHiddenTextInstance = $$$config.cloneHiddenTextInstance, isSuspenseInstancePending = $$$config.isSuspenseInstancePending, isSuspenseInstanceFallback = $$$config.isSuspenseInstanceFallback, getSuspenseInstanceFallbackErrorDetails = $$$config.getSuspenseInstanceFallbackErrorDetails, registerSuspenseInstanceRetry = $$$config.registerSuspenseInstanceRetry, canHydrateFormStateMarker = $$$config.canHydrateFormStateMarker, isFormStateMarkerMatching = $$$config.isFormStateMarkerMatching, getNextHydratableSibling = $$$config.getNextHydratableSibling, getNextHydratableSiblingAfterSingleton = $$$config.getNextHydratableSiblingAfterSingleton, getFirstHydratableChild = $$$config.getFirstHydratableChild, getFirstHydratableChildWithinContainer = $$$config.getFirstHydratableChildWithinContainer, getFirstHydratableChildWithinActivityInstance = $$$config.getFirstHydratableChildWithinActivityInstance, getFirstHydratableChildWithinSuspenseInstance = $$$config.getFirstHydratableChildWithinSuspenseInstance, getFirstHydratableChildWithinSingleton = $$$config.getFirstHydratableChildWithinSingleton, canHydrateInstance = $$$config.canHydrateInstance, canHydrateTextInstance = $$$config.canHydrateTextInstance, canHydrateActivityInstance = $$$config.canHydrateActivityInstance, canHydrateSuspenseInstance = $$$config.canHydrateSuspenseInstance, hydrateInstance = $$$config.hydrateInstance, hydrateTextInstance = $$$config.hydrateTextInstance, hydrateActivityInstance = $$$config.hydrateActivityInstance, hydrateSuspenseInstance = $$$config.hydrateSuspenseInstance, getNextHydratableInstanceAfterActivityInstance = $$$config.getNextHydratableInstanceAfterActivityInstance, getNextHydratableInstanceAfterSuspenseInstance = $$$config.getNextHydratableInstanceAfterSuspenseInstance, commitHydratedInstance = $$$config.commitHydratedInstance, commitHydratedContainer = $$$config.commitHydratedContainer, commitHydratedActivityInstance = $$$config.commitHydratedActivityInstance, commitHydratedSuspenseInstance = $$$config.commitHydratedSuspenseInstance, finalizeHydratedChildren = $$$config.finalizeHydratedChildren, flushHydrationEvents = $$$config.flushHydrationEvents;
15222
14414
  $$$config.clearActivityBoundary;
15223
14415
  var clearSuspenseBoundary = $$$config.clearSuspenseBoundary;
15224
14416
  $$$config.clearActivityBoundaryFromContainer;
15225
- var clearSuspenseBoundaryFromContainer = $$$config.clearSuspenseBoundaryFromContainer;
15226
- var hideDehydratedBoundary = $$$config.hideDehydratedBoundary;
15227
- var unhideDehydratedBoundary = $$$config.unhideDehydratedBoundary;
15228
- var shouldDeleteUnhydratedTailInstances = $$$config.shouldDeleteUnhydratedTailInstances;
15229
- var diffHydratedPropsForDevWarnings = $$$config.diffHydratedPropsForDevWarnings;
15230
- var diffHydratedTextForDevWarnings = $$$config.diffHydratedTextForDevWarnings;
15231
- var describeHydratableInstanceForDevWarnings = $$$config.describeHydratableInstanceForDevWarnings;
15232
- var validateHydratableInstance = $$$config.validateHydratableInstance;
15233
- var validateHydratableTextInstance = $$$config.validateHydratableTextInstance;
15234
- var supportsResources = $$$config.supportsResources;
15235
- var isHostHoistableType = $$$config.isHostHoistableType;
15236
- var getHoistableRoot = $$$config.getHoistableRoot;
15237
- var getResource = $$$config.getResource;
15238
- var acquireResource = $$$config.acquireResource;
15239
- var releaseResource = $$$config.releaseResource;
15240
- var hydrateHoistable = $$$config.hydrateHoistable;
15241
- var mountHoistable = $$$config.mountHoistable;
15242
- var unmountHoistable = $$$config.unmountHoistable;
15243
- var createHoistableInstance = $$$config.createHoistableInstance;
15244
- var prepareToCommitHoistables = $$$config.prepareToCommitHoistables;
15245
- var mayResourceSuspendCommit = $$$config.mayResourceSuspendCommit;
15246
- var preloadResource = $$$config.preloadResource;
15247
- var suspendResource = $$$config.suspendResource;
15248
- var supportsSingletons = $$$config.supportsSingletons;
15249
- var resolveSingletonInstance = $$$config.resolveSingletonInstance;
15250
- var acquireSingletonInstance = $$$config.acquireSingletonInstance;
15251
- var releaseSingletonInstance = $$$config.releaseSingletonInstance;
15252
- var isHostSingletonType = $$$config.isHostSingletonType;
15253
- var isSingletonScope = $$$config.isSingletonScope;
15254
- var valueStack = [];
14417
+ var clearSuspenseBoundaryFromContainer = $$$config.clearSuspenseBoundaryFromContainer, hideDehydratedBoundary = $$$config.hideDehydratedBoundary, unhideDehydratedBoundary = $$$config.unhideDehydratedBoundary, shouldDeleteUnhydratedTailInstances = $$$config.shouldDeleteUnhydratedTailInstances, diffHydratedPropsForDevWarnings = $$$config.diffHydratedPropsForDevWarnings, diffHydratedTextForDevWarnings = $$$config.diffHydratedTextForDevWarnings, describeHydratableInstanceForDevWarnings = $$$config.describeHydratableInstanceForDevWarnings, validateHydratableInstance = $$$config.validateHydratableInstance, validateHydratableTextInstance = $$$config.validateHydratableTextInstance, supportsResources = $$$config.supportsResources, isHostHoistableType = $$$config.isHostHoistableType, getHoistableRoot = $$$config.getHoistableRoot, getResource = $$$config.getResource, acquireResource = $$$config.acquireResource, releaseResource = $$$config.releaseResource, hydrateHoistable = $$$config.hydrateHoistable, mountHoistable = $$$config.mountHoistable, unmountHoistable = $$$config.unmountHoistable, createHoistableInstance = $$$config.createHoistableInstance, prepareToCommitHoistables = $$$config.prepareToCommitHoistables, mayResourceSuspendCommit = $$$config.mayResourceSuspendCommit, preloadResource = $$$config.preloadResource, suspendResource = $$$config.suspendResource, supportsSingletons = $$$config.supportsSingletons, resolveSingletonInstance = $$$config.resolveSingletonInstance, acquireSingletonInstance = $$$config.acquireSingletonInstance, releaseSingletonInstance = $$$config.releaseSingletonInstance, isHostSingletonType = $$$config.isHostSingletonType, isSingletonScope = $$$config.isSingletonScope, valueStack = [];
15255
14418
  var fiberStack = [];
15256
- var index$jscomp$0 = -1;
15257
- var emptyContextObject = {};
14419
+ var index$jscomp$0 = -1, emptyContextObject = {};
15258
14420
  Object.freeze(emptyContextObject);
15259
- var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback;
15260
- var log$1 = Math.log;
15261
- var LN2 = Math.LN2;
15262
- var nextTransitionUpdateLane = 256;
15263
- var nextTransitionDeferredLane = 262144;
15264
- var nextRetryLane = 4194304;
15265
- var scheduleCallback$3 = Scheduler.unstable_scheduleCallback;
15266
- var cancelCallback$1 = Scheduler.unstable_cancelCallback;
15267
- var shouldYield = Scheduler.unstable_shouldYield;
15268
- var requestPaint = Scheduler.unstable_requestPaint;
15269
- var now$1 = Scheduler.unstable_now;
15270
- var ImmediatePriority = Scheduler.unstable_ImmediatePriority;
15271
- var UserBlockingPriority = Scheduler.unstable_UserBlockingPriority;
15272
- var NormalPriority$1 = Scheduler.unstable_NormalPriority;
15273
- var IdlePriority = Scheduler.unstable_IdlePriority;
15274
- var log = Scheduler.log;
15275
- var unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue;
15276
- var rendererID = null;
15277
- var injectedHook = null;
15278
- var hasLoggedError = !1;
15279
- var isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;
15280
- var lastResetTime = 0;
14421
+ var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log$1 = Math.log, LN2 = Math.LN2, nextTransitionUpdateLane = 256, nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, cancelCallback$1 = Scheduler.unstable_cancelCallback, shouldYield = Scheduler.unstable_shouldYield, requestPaint = Scheduler.unstable_requestPaint, now$1 = Scheduler.unstable_now, ImmediatePriority = Scheduler.unstable_ImmediatePriority, UserBlockingPriority = Scheduler.unstable_UserBlockingPriority, NormalPriority$1 = Scheduler.unstable_NormalPriority, IdlePriority = Scheduler.unstable_IdlePriority, log = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null, hasLoggedError = !1, isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__, lastResetTime = 0;
15281
14422
  if ("object" === typeof performance && "function" === typeof performance.now) {
15282
14423
  var localPerformance = performance;
15283
14424
  var getCurrentTime = function() {
@@ -15289,8 +14430,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
15289
14430
  return localDate.now();
15290
14431
  };
15291
14432
  }
15292
- var objectIs = "function" === typeof Object.is ? Object.is : is;
15293
- var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
14433
+ var objectIs = "function" === typeof Object.is ? Object.is : is, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
15294
14434
  if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
15295
14435
  var event = new window.ErrorEvent("error", {
15296
14436
  bubbles: !0,
@@ -15304,71 +14444,24 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
15304
14444
  return;
15305
14445
  }
15306
14446
  console.error(error);
15307
- };
15308
- var hasOwnProperty = Object.prototype.hasOwnProperty;
15309
- var supportsUserTiming = "undefined" !== typeof console && "function" === typeof console.timeStamp && "undefined" !== typeof performance && "function" === typeof performance.measure;
15310
- var currentTrack = "Blocking";
15311
- var alreadyWarnedForDeepEquality = !1;
15312
- var reusableComponentDevToolDetails = {
14447
+ }, hasOwnProperty = Object.prototype.hasOwnProperty, supportsUserTiming = "undefined" !== typeof console && "function" === typeof console.timeStamp && "undefined" !== typeof performance && "function" === typeof performance.measure, currentTrack = "Blocking", alreadyWarnedForDeepEquality = !1, reusableComponentDevToolDetails = {
15313
14448
  color: "primary",
15314
14449
  properties: null,
15315
14450
  tooltipText: "",
15316
14451
  track: "Components ⚛"
15317
- };
15318
- var reusableComponentOptions = {
14452
+ }, reusableComponentOptions = {
15319
14453
  start: -0,
15320
14454
  end: -0,
15321
14455
  detail: { devtools: reusableComponentDevToolDetails }
15322
- };
15323
- var resuableChangedPropsEntry = ["Changed Props", ""];
15324
- var reusableDeeplyEqualPropsEntry = ["Changed Props", "This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner."];
15325
- var disabledDepth = 0;
15326
- var prevLog;
15327
- var prevInfo;
15328
- var prevWarn;
15329
- var prevError;
15330
- var prevGroup;
15331
- var prevGroupCollapsed;
15332
- var prevGroupEnd;
14456
+ }, resuableChangedPropsEntry = ["Changed Props", ""], reusableDeeplyEqualPropsEntry = ["Changed Props", "This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner."], disabledDepth = 0, prevLog, prevInfo, prevWarn, prevError, prevGroup, prevGroupCollapsed, prevGroupEnd;
15333
14457
  disabledLog.__reactDisabledLog = !0;
15334
- var prefix;
15335
- var suffix;
15336
- var reentry = !1;
14458
+ var prefix, suffix, reentry = !1;
15337
14459
  var componentFrameCache = new ("function" === typeof WeakMap ? WeakMap : Map)();
15338
- var CapturedStacks = /* @__PURE__ */ new WeakMap();
15339
- var forkStack = [];
15340
- var forkStackIndex = 0;
15341
- var treeForkProvider = null;
15342
- var treeForkCount = 0;
15343
- var idStack = [];
15344
- var idStackIndex = 0;
15345
- var treeContextProvider = null;
15346
- var treeContextId = 1;
15347
- var treeContextOverflow = "";
15348
- var contextStackCursor = createCursor(null);
15349
- var contextFiberStackCursor = createCursor(null);
15350
- var rootInstanceStackCursor = createCursor(null);
15351
- var hostTransitionProviderCursor = createCursor(null);
15352
- var needsEscaping = /["'&<>\n\t]|^\s|\s$/;
15353
- var current = null;
15354
- var isRendering = !1;
15355
- var hydrationParentFiber = null;
15356
- var nextHydratableInstance = null;
15357
- var isHydrating = !1;
15358
- var didSuspendOrErrorDEV = !1;
15359
- var hydrationDiffRootDEV = null;
15360
- var hydrationErrors = null;
15361
- var rootOrSingletonContext = !1;
15362
- var HydrationMismatchException = Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.");
15363
- var NoMode = 0;
15364
- var valueCursor = createCursor(null);
14460
+ var CapturedStacks = /* @__PURE__ */ new WeakMap(), forkStack = [], forkStackIndex = 0, treeForkProvider = null, treeForkCount = 0, idStack = [], idStackIndex = 0, treeContextProvider = null, treeContextId = 1, treeContextOverflow = "", contextStackCursor = createCursor(null), contextFiberStackCursor = createCursor(null), rootInstanceStackCursor = createCursor(null), hostTransitionProviderCursor = createCursor(null), needsEscaping = /["'&<>\n\t]|^\s|\s$/, current = null, isRendering = !1, hydrationParentFiber = null, nextHydratableInstance = null, isHydrating = !1, didSuspendOrErrorDEV = !1, hydrationDiffRootDEV = null, hydrationErrors = null, rootOrSingletonContext = !1, HydrationMismatchException = Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."), NoMode = 0, valueCursor = createCursor(null);
15365
14461
  var rendererCursorDEV = createCursor(null);
15366
14462
  var renderer2CursorDEV = createCursor(null);
15367
14463
  var rendererSigil = {};
15368
- var currentlyRenderingFiber$1 = null;
15369
- var lastContextDependency = null;
15370
- var isDisallowedContextReadInDEV = !1;
15371
- var AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function() {
14464
+ var currentlyRenderingFiber$1 = null, lastContextDependency = null, isDisallowedContextReadInDEV = !1, AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function() {
15372
14465
  var listeners = [], signal = this.signal = {
15373
14466
  aborted: !1,
15374
14467
  addEventListener: function(type, listener) {
@@ -15381,10 +14474,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
15381
14474
  return listener();
15382
14475
  });
15383
14476
  };
15384
- };
15385
- var scheduleCallback$2 = Scheduler.unstable_scheduleCallback;
15386
- var NormalPriority = Scheduler.unstable_NormalPriority;
15387
- var CacheContext = {
14477
+ }, scheduleCallback$2 = Scheduler.unstable_scheduleCallback, NormalPriority = Scheduler.unstable_NormalPriority, CacheContext = {
15388
14478
  $$typeof: REACT_CONTEXT_TYPE,
15389
14479
  Consumer: null,
15390
14480
  Provider: null,
@@ -15393,68 +14483,15 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
15393
14483
  _threadCount: 0,
15394
14484
  _currentRenderer: null,
15395
14485
  _currentRenderer2: null
15396
- };
15397
- var now = Scheduler.unstable_now;
15398
- var createTask = console.createTask ? console.createTask : function() {
14486
+ }, now = Scheduler.unstable_now, createTask = console.createTask ? console.createTask : function() {
15399
14487
  return null;
15400
- };
15401
- var renderStartTime = -0;
15402
- var commitStartTime = -0;
15403
- var commitEndTime = -0;
15404
- var commitErrors = null;
15405
- var profilerStartTime = -1.1;
15406
- var profilerEffectDuration = -0;
15407
- var componentEffectDuration = -0;
15408
- var componentEffectStartTime = -1.1;
15409
- var componentEffectEndTime = -1.1;
15410
- var componentEffectErrors = null;
15411
- var componentEffectSpawnedUpdate = !1;
15412
- var blockingClampTime = -0;
15413
- var blockingUpdateTime = -1.1;
15414
- var blockingUpdateTask = null;
15415
- var blockingUpdateType = 0;
15416
- var blockingUpdateMethodName = null;
15417
- var blockingUpdateComponentName = null;
15418
- var blockingEventTime = -1.1;
15419
- var blockingEventType = null;
15420
- var blockingEventRepeatTime = -1.1;
15421
- var blockingSuspendedTime = -1.1;
15422
- var transitionClampTime = -0;
15423
- var transitionStartTime = -1.1;
15424
- var transitionUpdateTime = -1.1;
15425
- var transitionUpdateType = 0;
15426
- var transitionUpdateTask = null;
15427
- var transitionUpdateMethodName = null;
15428
- var transitionUpdateComponentName = null;
15429
- var transitionEventTime = -1.1;
15430
- var transitionEventType = null;
15431
- var transitionEventRepeatTime = -1.1;
15432
- var transitionSuspendedTime = -1.1;
15433
- var animatingTask = null;
15434
- var yieldReason = 0;
15435
- var yieldStartTime = -1.1;
15436
- var currentUpdateIsNested = !1;
15437
- var nestedUpdateScheduled = !1;
15438
- var firstScheduledRoot = null;
15439
- var lastScheduledRoot = null;
15440
- var didScheduleMicrotask = !1;
15441
- var didScheduleMicrotask_act = !1;
15442
- var mightHavePendingSyncWork = !1;
15443
- var isFlushingWork = !1;
15444
- var currentEventTransitionLane = 0;
15445
- var fakeActCallbackNode$1 = {};
15446
- var currentEntangledListeners = null;
15447
- var currentEntangledPendingCount = 0;
15448
- var currentEntangledLane = 0;
15449
- var currentEntangledActionThenable = null;
15450
- var prevOnStartTransitionFinish = ReactSharedInternals.S;
14488
+ }, renderStartTime = -0, commitStartTime = -0, commitEndTime = -0, commitErrors = null, profilerStartTime = -1.1, profilerEffectDuration = -0, componentEffectDuration = -0, componentEffectStartTime = -1.1, componentEffectEndTime = -1.1, componentEffectErrors = null, componentEffectSpawnedUpdate = !1, blockingClampTime = -0, blockingUpdateTime = -1.1, blockingUpdateTask = null, blockingUpdateType = 0, blockingUpdateMethodName = null, blockingUpdateComponentName = null, blockingEventTime = -1.1, blockingEventType = null, blockingEventRepeatTime = -1.1, blockingSuspendedTime = -1.1, transitionClampTime = -0, transitionStartTime = -1.1, transitionUpdateTime = -1.1, transitionUpdateType = 0, transitionUpdateTask = null, transitionUpdateMethodName = null, transitionUpdateComponentName = null, transitionEventTime = -1.1, transitionEventType = null, transitionEventRepeatTime = -1.1, transitionSuspendedTime = -1.1, animatingTask = null, yieldReason = 0, yieldStartTime = -1.1, currentUpdateIsNested = !1, nestedUpdateScheduled = !1, firstScheduledRoot = null, lastScheduledRoot = null, didScheduleMicrotask = !1, didScheduleMicrotask_act = !1, mightHavePendingSyncWork = !1, isFlushingWork = !1, currentEventTransitionLane = 0, fakeActCallbackNode$1 = {}, currentEntangledListeners = null, currentEntangledPendingCount = 0, currentEntangledLane = 0, currentEntangledActionThenable = null, prevOnStartTransitionFinish = ReactSharedInternals.S;
15451
14489
  ReactSharedInternals.S = function(transition, returnValue) {
15452
14490
  globalMostRecentTransitionTime = now$1();
15453
14491
  if ("object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then) {
15454
14492
  if (0 > transitionStartTime && 0 > transitionUpdateTime) {
15455
14493
  transitionStartTime = now();
15456
- var newEventTime = resolveEventTimeStamp();
15457
- var newEventType = resolveEventType();
14494
+ var newEventTime = resolveEventTimeStamp(), newEventType = resolveEventType();
15458
14495
  if (newEventTime !== transitionEventRepeatTime || newEventType !== transitionEventType) transitionEventRepeatTime = -1.1;
15459
14496
  transitionEventTime = newEventTime;
15460
14497
  transitionEventType = newEventType;
@@ -15463,21 +14500,13 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
15463
14500
  }
15464
14501
  null !== prevOnStartTransitionFinish && prevOnStartTransitionFinish(transition, returnValue);
15465
14502
  };
15466
- var resumedCache = createCursor(null);
15467
- var ReactStrictModeWarnings = {
14503
+ var resumedCache = createCursor(null), ReactStrictModeWarnings = {
15468
14504
  recordUnsafeLifecycleWarnings: function() {},
15469
14505
  flushPendingUnsafeLifecycleWarnings: function() {},
15470
14506
  recordLegacyContextWarning: function() {},
15471
14507
  flushLegacyContextWarning: function() {},
15472
14508
  discardPendingWarnings: function() {}
15473
- };
15474
- var pendingComponentWillMountWarnings = [];
15475
- var pendingUNSAFE_ComponentWillMountWarnings = [];
15476
- var pendingComponentWillReceivePropsWarnings = [];
15477
- var pendingUNSAFE_ComponentWillReceivePropsWarnings = [];
15478
- var pendingComponentWillUpdateWarnings = [];
15479
- var pendingUNSAFE_ComponentWillUpdateWarnings = [];
15480
- var didWarnAboutUnsafeLifecycles = /* @__PURE__ */ new Set();
14509
+ }, pendingComponentWillMountWarnings = [], pendingUNSAFE_ComponentWillMountWarnings = [], pendingComponentWillReceivePropsWarnings = [], pendingUNSAFE_ComponentWillReceivePropsWarnings = [], pendingComponentWillUpdateWarnings = [], pendingUNSAFE_ComponentWillUpdateWarnings = [], didWarnAboutUnsafeLifecycles = /* @__PURE__ */ new Set();
15481
14510
  ReactStrictModeWarnings.recordUnsafeLifecycleWarnings = function(fiber, instance) {
15482
14511
  didWarnAboutUnsafeLifecycles.has(fiber.type) || ("function" === typeof instance.componentWillMount && !0 !== instance.componentWillMount.__suppressDeprecationWarning && pendingComponentWillMountWarnings.push(fiber), fiber.mode & 8 && "function" === typeof instance.UNSAFE_componentWillMount && pendingUNSAFE_ComponentWillMountWarnings.push(fiber), "function" === typeof instance.componentWillReceiveProps && !0 !== instance.componentWillReceiveProps.__suppressDeprecationWarning && pendingComponentWillReceivePropsWarnings.push(fiber), fiber.mode & 8 && "function" === typeof instance.UNSAFE_componentWillReceiveProps && pendingUNSAFE_ComponentWillReceivePropsWarnings.push(fiber), "function" === typeof instance.componentWillUpdate && !0 !== instance.componentWillUpdate.__suppressDeprecationWarning && pendingComponentWillUpdateWarnings.push(fiber), fiber.mode & 8 && "function" === typeof instance.UNSAFE_componentWillUpdate && pendingUNSAFE_ComponentWillUpdateWarnings.push(fiber));
15483
14512
  };
@@ -15522,8 +14551,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
15522
14551
  0 < componentWillReceivePropsUniqueNames.size && (sortedNames = setToSortedString(componentWillReceivePropsUniqueNames), console.warn("componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", sortedNames));
15523
14552
  0 < componentWillUpdateUniqueNames.size && (sortedNames = setToSortedString(componentWillUpdateUniqueNames), console.warn("componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s", sortedNames));
15524
14553
  };
15525
- var pendingLegacyContextWarning = /* @__PURE__ */ new Map();
15526
- var didWarnAboutLegacyContext = /* @__PURE__ */ new Set();
14554
+ var pendingLegacyContextWarning = /* @__PURE__ */ new Map(), didWarnAboutLegacyContext = /* @__PURE__ */ new Set();
15527
14555
  ReactStrictModeWarnings.recordLegacyContextWarning = function(fiber, instance) {
15528
14556
  var strictRoot = null;
15529
14557
  for (var node = fiber; null !== node;) node.mode & 8 && (strictRoot = node), node = node.return;
@@ -15532,8 +14560,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
15532
14560
  ReactStrictModeWarnings.flushLegacyContextWarning = function() {
15533
14561
  pendingLegacyContextWarning.forEach(function(fiberArray) {
15534
14562
  if (0 !== fiberArray.length) {
15535
- var firstFiber = fiberArray[0];
15536
- var uniqueNames = /* @__PURE__ */ new Set();
14563
+ var firstFiber = fiberArray[0], uniqueNames = /* @__PURE__ */ new Set();
15537
14564
  fiberArray.forEach(function(fiber) {
15538
14565
  uniqueNames.add(getComponentNameFromFiber(fiber) || "Component");
15539
14566
  didWarnAboutLegacyContext.add(fiber.type);
@@ -15562,9 +14589,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
15562
14589
  } finally {
15563
14590
  isRendering = wasRendering;
15564
14591
  }
15565
- } };
15566
- var callComponentInDEV = callComponent.react_stack_bottom_frame.bind(callComponent);
15567
- var callRender = { react_stack_bottom_frame: function(instance) {
14592
+ } }, callComponentInDEV = callComponent.react_stack_bottom_frame.bind(callComponent), callRender = { react_stack_bottom_frame: function(instance) {
15568
14593
  var wasRendering = isRendering;
15569
14594
  isRendering = !0;
15570
14595
  try {
@@ -15572,69 +14597,44 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
15572
14597
  } finally {
15573
14598
  isRendering = wasRendering;
15574
14599
  }
15575
- } };
15576
- var callRenderInDEV = callRender.react_stack_bottom_frame.bind(callRender);
15577
- var callComponentDidMount = { react_stack_bottom_frame: function(finishedWork, instance) {
14600
+ } }, callRenderInDEV = callRender.react_stack_bottom_frame.bind(callRender), callComponentDidMount = { react_stack_bottom_frame: function(finishedWork, instance) {
15578
14601
  try {
15579
14602
  instance.componentDidMount();
15580
14603
  } catch (error) {
15581
14604
  captureCommitPhaseError(finishedWork, finishedWork.return, error);
15582
14605
  }
15583
- } };
15584
- var callComponentDidMountInDEV = callComponentDidMount.react_stack_bottom_frame.bind(callComponentDidMount);
15585
- var callComponentDidUpdate = { react_stack_bottom_frame: function(finishedWork, instance, prevProps, prevState, snapshot) {
14606
+ } }, callComponentDidMountInDEV = callComponentDidMount.react_stack_bottom_frame.bind(callComponentDidMount), callComponentDidUpdate = { react_stack_bottom_frame: function(finishedWork, instance, prevProps, prevState, snapshot) {
15586
14607
  try {
15587
14608
  instance.componentDidUpdate(prevProps, prevState, snapshot);
15588
14609
  } catch (error) {
15589
14610
  captureCommitPhaseError(finishedWork, finishedWork.return, error);
15590
14611
  }
15591
- } };
15592
- var callComponentDidUpdateInDEV = callComponentDidUpdate.react_stack_bottom_frame.bind(callComponentDidUpdate);
15593
- var callComponentDidCatch = { react_stack_bottom_frame: function(instance, errorInfo) {
14612
+ } }, callComponentDidUpdateInDEV = callComponentDidUpdate.react_stack_bottom_frame.bind(callComponentDidUpdate), callComponentDidCatch = { react_stack_bottom_frame: function(instance, errorInfo) {
15594
14613
  var stack = errorInfo.stack;
15595
14614
  instance.componentDidCatch(errorInfo.value, { componentStack: null !== stack ? stack : "" });
15596
- } };
15597
- var callComponentDidCatchInDEV = callComponentDidCatch.react_stack_bottom_frame.bind(callComponentDidCatch);
15598
- var callComponentWillUnmount = { react_stack_bottom_frame: function(current, nearestMountedAncestor, instance) {
14615
+ } }, callComponentDidCatchInDEV = callComponentDidCatch.react_stack_bottom_frame.bind(callComponentDidCatch), callComponentWillUnmount = { react_stack_bottom_frame: function(current, nearestMountedAncestor, instance) {
15599
14616
  try {
15600
14617
  instance.componentWillUnmount();
15601
14618
  } catch (error) {
15602
14619
  captureCommitPhaseError(current, nearestMountedAncestor, error);
15603
14620
  }
15604
- } };
15605
- var callComponentWillUnmountInDEV = callComponentWillUnmount.react_stack_bottom_frame.bind(callComponentWillUnmount);
15606
- var callCreate = { react_stack_bottom_frame: function(effect) {
14621
+ } }, callComponentWillUnmountInDEV = callComponentWillUnmount.react_stack_bottom_frame.bind(callComponentWillUnmount), callCreate = { react_stack_bottom_frame: function(effect) {
15607
14622
  var create = effect.create;
15608
14623
  effect = effect.inst;
15609
14624
  create = create();
15610
14625
  return effect.destroy = create;
15611
- } };
15612
- var callCreateInDEV = callCreate.react_stack_bottom_frame.bind(callCreate);
15613
- var callDestroy = { react_stack_bottom_frame: function(current, nearestMountedAncestor, destroy) {
14626
+ } }, callCreateInDEV = callCreate.react_stack_bottom_frame.bind(callCreate), callDestroy = { react_stack_bottom_frame: function(current, nearestMountedAncestor, destroy) {
15614
14627
  try {
15615
14628
  destroy();
15616
14629
  } catch (error) {
15617
14630
  captureCommitPhaseError(current, nearestMountedAncestor, error);
15618
14631
  }
15619
- } };
15620
- var callDestroyInDEV = callDestroy.react_stack_bottom_frame.bind(callDestroy);
15621
- var callLazyInit = { react_stack_bottom_frame: function(lazy) {
14632
+ } }, callDestroyInDEV = callDestroy.react_stack_bottom_frame.bind(callDestroy), callLazyInit = { react_stack_bottom_frame: function(lazy) {
15622
14633
  var init = lazy._init;
15623
14634
  return init(lazy._payload);
15624
- } };
15625
- var callLazyInitInDEV = callLazyInit.react_stack_bottom_frame.bind(callLazyInit);
15626
- var SuspenseException = Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`.");
15627
- var SuspenseyCommitException = Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React.");
15628
- var SuspenseActionException = Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary.");
15629
- var noopSuspenseyCommitThenable = { then: function() {
14635
+ } }, callLazyInitInDEV = callLazyInit.react_stack_bottom_frame.bind(callLazyInit), SuspenseException = Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."), SuspenseyCommitException = Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."), SuspenseActionException = Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."), noopSuspenseyCommitThenable = { then: function() {
15630
14636
  console.error("Internal React error: A listener was unexpectedly attached to a \"noop\" thenable. This is a bug in React. Please file an issue.");
15631
- } };
15632
- var suspendedThenable = null;
15633
- var needsToResetSuspendedThenableDEV = !1;
15634
- var thenableState$1 = null;
15635
- var thenableIndexCounter$1 = 0;
15636
- var currentDebugInfo = null;
15637
- var didWarnAboutMaps;
14637
+ } }, suspendedThenable = null, needsToResetSuspendedThenableDEV = !1, thenableState$1 = null, thenableIndexCounter$1 = 0, currentDebugInfo = null, didWarnAboutMaps;
15638
14638
  var didWarnAboutGenerators = didWarnAboutMaps = !1;
15639
14639
  var ownerHasKeyUseWarning = {};
15640
14640
  var ownerHasFunctionTypeWarning = {};
@@ -15643,8 +14643,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
15643
14643
  if (null !== child && "object" === typeof child && child._store && (!child._store.validated && null == child.key || 2 === child._store.validated)) {
15644
14644
  if ("object" !== typeof child._store) throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");
15645
14645
  child._store.validated = 1;
15646
- var componentName = getComponentNameFromFiber(returnFiber);
15647
- var componentKey = componentName || "null";
14646
+ var componentName = getComponentNameFromFiber(returnFiber), componentKey = componentName || "null";
15648
14647
  if (!ownerHasKeyUseWarning[componentKey]) {
15649
14648
  ownerHasKeyUseWarning[componentKey] = !0;
15650
14649
  child = child._owner;
@@ -15660,55 +14659,15 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
15660
14659
  }
15661
14660
  }
15662
14661
  };
15663
- var reconcileChildFibers = createChildReconciler(!0);
15664
- var mountChildFibers = createChildReconciler(!1);
15665
- var OffscreenVisible = 1;
15666
- var OffscreenPassiveEffectsConnected = 2;
15667
- var concurrentQueues = [];
15668
- var concurrentQueuesIndex = 0;
15669
- var concurrentlyUpdatedLanes = 0;
15670
- var UpdateState = 0;
15671
- var ReplaceState = 1;
15672
- var ForceUpdate = 2;
15673
- var CaptureUpdate = 3;
15674
- var hasForceUpdate = !1;
14662
+ var reconcileChildFibers = createChildReconciler(!0), mountChildFibers = createChildReconciler(!1), OffscreenVisible = 1, OffscreenPassiveEffectsConnected = 2, concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0, UpdateState = 0, ReplaceState = 1, ForceUpdate = 2, CaptureUpdate = 3, hasForceUpdate = !1;
15675
14663
  var didWarnUpdateInsideUpdate = !1;
15676
14664
  var currentlyProcessingQueue = null;
15677
- var didReadFromEntangledAsyncAction = !1;
15678
- var currentTreeHiddenStackCursor = createCursor(null);
15679
- var prevEntangledRenderLanesCursor = createCursor(0);
15680
- var suspenseHandlerStackCursor = createCursor(null);
15681
- var shellBoundary = null;
15682
- var SubtreeSuspenseContextMask = 1;
15683
- var ForceSuspenseFallback = 2;
15684
- var suspenseStackCursor = createCursor(0);
15685
- var NoFlags = 0;
15686
- var HasEffect = 1;
15687
- var Insertion = 2;
15688
- var Layout = 4;
15689
- var Passive = 8;
15690
- var didWarnUncachedGetSnapshot;
14665
+ var didReadFromEntangledAsyncAction = !1, currentTreeHiddenStackCursor = createCursor(null), prevEntangledRenderLanesCursor = createCursor(0), suspenseHandlerStackCursor = createCursor(null), shellBoundary = null, SubtreeSuspenseContextMask = 1, ForceSuspenseFallback = 2, suspenseStackCursor = createCursor(0), NoFlags = 0, HasEffect = 1, Insertion = 2, Layout = 4, Passive = 8, didWarnUncachedGetSnapshot;
15691
14666
  var didWarnAboutMismatchedHooksForComponent = /* @__PURE__ */ new Set();
15692
14667
  var didWarnAboutUseWrappedInTryCatch = /* @__PURE__ */ new Set();
15693
14668
  var didWarnAboutAsyncClientComponent = /* @__PURE__ */ new Set();
15694
14669
  var didWarnAboutUseFormState = /* @__PURE__ */ new Set();
15695
- var renderLanes = 0;
15696
- var currentlyRenderingFiber = null;
15697
- var currentHook = null;
15698
- var workInProgressHook = null;
15699
- var didScheduleRenderPhaseUpdate = !1;
15700
- var didScheduleRenderPhaseUpdateDuringThisPass = !1;
15701
- var shouldDoubleInvokeUserFnsInHooksDEV = !1;
15702
- var localIdCounter = 0;
15703
- var thenableIndexCounter = 0;
15704
- var thenableState = null;
15705
- var globalClientIdCounter = 0;
15706
- var RE_RENDER_LIMIT = 25;
15707
- var currentHookNameInDev = null;
15708
- var hookTypesDev = null;
15709
- var hookTypesUpdateIndexDev = -1;
15710
- var ignorePreviousDependencies = !1;
15711
- var ContextOnlyDispatcher = {
14670
+ var renderLanes = 0, currentlyRenderingFiber = null, currentHook = null, workInProgressHook = null, didScheduleRenderPhaseUpdate = !1, didScheduleRenderPhaseUpdateDuringThisPass = !1, shouldDoubleInvokeUserFnsInHooksDEV = !1, localIdCounter = 0, thenableIndexCounter = 0, thenableState = null, globalClientIdCounter = 0, RE_RENDER_LIMIT = 25, currentHookNameInDev = null, hookTypesDev = null, hookTypesUpdateIndexDev = -1, ignorePreviousDependencies = !1, ContextOnlyDispatcher = {
15712
14671
  readContext,
15713
14672
  use,
15714
14673
  useCallback: throwInvalidHookError,
@@ -15734,13 +14693,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
15734
14693
  useCacheRefresh: throwInvalidHookError
15735
14694
  };
15736
14695
  ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
15737
- var HooksDispatcherOnMountInDEV = null;
15738
- var HooksDispatcherOnMountWithHookTypesInDEV = null;
15739
- var HooksDispatcherOnUpdateInDEV = null;
15740
- var HooksDispatcherOnRerenderInDEV = null;
15741
- var InvalidNestedHooksDispatcherOnMountInDEV = null;
15742
- var InvalidNestedHooksDispatcherOnUpdateInDEV = null;
15743
- var InvalidNestedHooksDispatcherOnRerenderInDEV = null;
14696
+ var HooksDispatcherOnMountInDEV = null, HooksDispatcherOnMountWithHookTypesInDEV = null, HooksDispatcherOnUpdateInDEV = null, HooksDispatcherOnRerenderInDEV = null, InvalidNestedHooksDispatcherOnMountInDEV = null, InvalidNestedHooksDispatcherOnUpdateInDEV = null, InvalidNestedHooksDispatcherOnRerenderInDEV = null;
15744
14697
  HooksDispatcherOnMountInDEV = {
15745
14698
  readContext: function(context) {
15746
14699
  return readContext(context);
@@ -16742,11 +15695,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
16742
15695
  callback = enqueueUpdate(inst, update, lane);
16743
15696
  null !== callback && (startUpdateTimerByLane(lane, "this.forceUpdate()", inst), scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane));
16744
15697
  }
16745
- };
16746
- var componentName = null;
16747
- var errorBoundaryName = null;
16748
- var SelectiveHydrationException = Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue.");
16749
- var didReceiveUpdate = !1;
15698
+ }, componentName = null, errorBoundaryName = null, SelectiveHydrationException = Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."), didReceiveUpdate = !1;
16750
15699
  var didWarnAboutBadClass = {};
16751
15700
  var didWarnAboutContextTypeOnFunctionComponent = {};
16752
15701
  var didWarnAboutContextTypes = {};
@@ -16759,23 +15708,9 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
16759
15708
  treeContext: null,
16760
15709
  retryLane: 0,
16761
15710
  hydrationErrors: null
16762
- };
16763
- var hasWarnedAboutUsingNoValuePropOnContextProvider = !1;
16764
- var didWarnAboutUndefinedSnapshotBeforeUpdate = null;
15711
+ }, hasWarnedAboutUsingNoValuePropOnContextProvider = !1, didWarnAboutUndefinedSnapshotBeforeUpdate = null;
16765
15712
  didWarnAboutUndefinedSnapshotBeforeUpdate = /* @__PURE__ */ new Set();
16766
- var offscreenSubtreeIsHidden = !1;
16767
- var offscreenSubtreeWasHidden = !1;
16768
- var needsFormReset = !1;
16769
- var PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set;
16770
- var nextEffect = null;
16771
- var inProgressLanes = null;
16772
- var inProgressRoot = null;
16773
- var hostParent = null;
16774
- var hostParentIsContainer = !1;
16775
- var currentHoistableRoot = null;
16776
- var inHydratedSubtree = !1;
16777
- var suspenseyCommitFlag = 8192;
16778
- var DefaultAsyncDispatcher = {
15713
+ var offscreenSubtreeIsHidden = !1, offscreenSubtreeWasHidden = !1, needsFormReset = !1, PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set, nextEffect = null, inProgressLanes = null, inProgressRoot = null, hostParent = null, hostParentIsContainer = !1, currentHoistableRoot = null, inHydratedSubtree = !1, suspenseyCommitFlag = 8192, DefaultAsyncDispatcher = {
16779
15714
  getCacheForType: function(resourceType) {
16780
15715
  var cache = readContext(CacheContext), cacheForType = cache.data.get(resourceType);
16781
15716
  void 0 === cacheForType && (cacheForType = resourceType(), cache.data.set(resourceType, cacheForType));
@@ -16787,12 +15722,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
16787
15722
  getOwner: function() {
16788
15723
  return current;
16789
15724
  }
16790
- };
16791
- var COMPONENT_TYPE = 0;
16792
- var HAS_PSEUDO_CLASS_TYPE = 1;
16793
- var ROLE_TYPE = 2;
16794
- var TEST_NAME_TYPE = 3;
16795
- var TEXT_TYPE = 4;
15725
+ }, COMPONENT_TYPE = 0, HAS_PSEUDO_CLASS_TYPE = 1, ROLE_TYPE = 2, TEST_NAME_TYPE = 3, TEXT_TYPE = 4;
16796
15726
  if ("function" === typeof Symbol && Symbol.for) {
16797
15727
  var symbolFor = Symbol.for;
16798
15728
  COMPONENT_TYPE = symbolFor("selector.component");
@@ -16801,91 +15731,9 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
16801
15731
  TEST_NAME_TYPE = symbolFor("selector.test_id");
16802
15732
  TEXT_TYPE = symbolFor("selector.text");
16803
15733
  }
16804
- var commitHooks = [];
16805
- var PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map;
16806
- var NoContext = 0;
16807
- var RenderContext = 2;
16808
- var CommitContext = 4;
16809
- var RootInProgress = 0;
16810
- var RootFatalErrored = 1;
16811
- var RootErrored = 2;
16812
- var RootSuspended = 3;
16813
- var RootSuspendedWithDelay = 4;
16814
- var RootSuspendedAtTheShell = 6;
16815
- var RootCompleted = 5;
16816
- var executionContext = NoContext;
16817
- var workInProgressRoot = null;
16818
- var workInProgress = null;
16819
- var workInProgressRootRenderLanes = 0;
16820
- var NotSuspended = 0;
16821
- var SuspendedOnError = 1;
16822
- var SuspendedOnData = 2;
16823
- var SuspendedOnImmediate = 3;
16824
- var SuspendedOnInstance = 4;
16825
- var SuspendedOnInstanceAndReadyToContinue = 5;
16826
- var SuspendedOnDeprecatedThrowPromise = 6;
16827
- var SuspendedAndReadyToContinue = 7;
16828
- var SuspendedOnHydration = 8;
16829
- var SuspendedOnAction = 9;
16830
- var workInProgressSuspendedReason = NotSuspended;
16831
- var workInProgressThrownValue = null;
16832
- var workInProgressRootDidSkipSuspendedSiblings = !1;
16833
- var workInProgressRootIsPrerendering = !1;
16834
- var workInProgressRootDidAttachPingListener = !1;
16835
- var entangledRenderLanes = 0;
16836
- var workInProgressRootExitStatus = RootInProgress;
16837
- var workInProgressRootSkippedLanes = 0;
16838
- var workInProgressRootInterleavedUpdatedLanes = 0;
16839
- var workInProgressRootPingedLanes = 0;
16840
- var workInProgressDeferredLane = 0;
16841
- var workInProgressSuspendedRetryLanes = 0;
16842
- var workInProgressRootConcurrentErrors = null;
16843
- var workInProgressRootRecoverableErrors = null;
16844
- var workInProgressRootDidIncludeRecursiveRenderUpdate = !1;
16845
- var globalMostRecentFallbackTime = 0;
16846
- var globalMostRecentTransitionTime = 0;
16847
- var FALLBACK_THROTTLE_MS = 300;
16848
- var workInProgressRootRenderTargetTime = Infinity;
16849
- var RENDER_TIMEOUT_MS = 500;
16850
- var workInProgressTransitions = null;
16851
- var workInProgressUpdateTask = null;
16852
- var legacyErrorBoundariesThatAlreadyFailed = null;
16853
- var IMMEDIATE_COMMIT = 0;
16854
- var ABORTED_VIEW_TRANSITION_COMMIT = 1;
16855
- var DELAYED_PASSIVE_COMMIT = 2;
16856
- var ANIMATION_STARTED_COMMIT = 3;
16857
- var NO_PENDING_EFFECTS = 0;
16858
- var PENDING_MUTATION_PHASE = 1;
16859
- var PENDING_LAYOUT_PHASE = 2;
16860
- var PENDING_AFTER_MUTATION_PHASE = 3;
16861
- var PENDING_SPAWNED_WORK = 4;
16862
- var PENDING_PASSIVE_PHASE = 5;
16863
- var pendingEffectsStatus = 0;
16864
- var pendingEffectsRoot = null;
16865
- var pendingFinishedWork = null;
16866
- var pendingEffectsLanes = 0;
16867
- var pendingEffectsRemainingLanes = 0;
16868
- var pendingEffectsRenderEndTime = -0;
16869
- var pendingPassiveTransitions = null;
16870
- var pendingRecoverableErrors = null;
16871
- var pendingSuspendedCommitReason = null;
16872
- var pendingDelayedCommitReason = IMMEDIATE_COMMIT;
16873
- var pendingSuspendedViewTransitionReason = null;
16874
- var NESTED_UPDATE_LIMIT = 50;
16875
- var nestedUpdateCount = 0;
16876
- var rootWithNestedUpdates = null;
16877
- var isFlushingPassiveEffects = !1;
16878
- var didScheduleUpdateDuringPassiveEffects = !1;
16879
- var NESTED_PASSIVE_UPDATE_LIMIT = 50;
16880
- var nestedPassiveUpdateCount = 0;
16881
- var rootWithPassiveNestedUpdates = null;
16882
- var isRunningInsertionEffect = !1;
16883
- var didWarnStateUpdateForNotYetMountedComponent = null;
16884
- var didWarnAboutUpdateInRender = !1;
15734
+ var commitHooks = [], PossiblyWeakMap = "function" === typeof WeakMap ? WeakMap : Map, NoContext = 0, RenderContext = 2, CommitContext = 4, RootInProgress = 0, RootFatalErrored = 1, RootErrored = 2, RootSuspended = 3, RootSuspendedWithDelay = 4, RootSuspendedAtTheShell = 6, RootCompleted = 5, executionContext = NoContext, workInProgressRoot = null, workInProgress = null, workInProgressRootRenderLanes = 0, NotSuspended = 0, SuspendedOnError = 1, SuspendedOnData = 2, SuspendedOnImmediate = 3, SuspendedOnInstance = 4, SuspendedOnInstanceAndReadyToContinue = 5, SuspendedOnDeprecatedThrowPromise = 6, SuspendedAndReadyToContinue = 7, SuspendedOnHydration = 8, SuspendedOnAction = 9, workInProgressSuspendedReason = NotSuspended, workInProgressThrownValue = null, workInProgressRootDidSkipSuspendedSiblings = !1, workInProgressRootIsPrerendering = !1, workInProgressRootDidAttachPingListener = !1, entangledRenderLanes = 0, workInProgressRootExitStatus = RootInProgress, workInProgressRootSkippedLanes = 0, workInProgressRootInterleavedUpdatedLanes = 0, workInProgressRootPingedLanes = 0, workInProgressDeferredLane = 0, workInProgressSuspendedRetryLanes = 0, workInProgressRootConcurrentErrors = null, workInProgressRootRecoverableErrors = null, workInProgressRootDidIncludeRecursiveRenderUpdate = !1, globalMostRecentFallbackTime = 0, globalMostRecentTransitionTime = 0, FALLBACK_THROTTLE_MS = 300, workInProgressRootRenderTargetTime = Infinity, RENDER_TIMEOUT_MS = 500, workInProgressTransitions = null, workInProgressUpdateTask = null, legacyErrorBoundariesThatAlreadyFailed = null, IMMEDIATE_COMMIT = 0, ABORTED_VIEW_TRANSITION_COMMIT = 1, DELAYED_PASSIVE_COMMIT = 2, ANIMATION_STARTED_COMMIT = 3, NO_PENDING_EFFECTS = 0, PENDING_MUTATION_PHASE = 1, PENDING_LAYOUT_PHASE = 2, PENDING_AFTER_MUTATION_PHASE = 3, PENDING_SPAWNED_WORK = 4, PENDING_PASSIVE_PHASE = 5, pendingEffectsStatus = 0, pendingEffectsRoot = null, pendingFinishedWork = null, pendingEffectsLanes = 0, pendingEffectsRemainingLanes = 0, pendingEffectsRenderEndTime = -0, pendingPassiveTransitions = null, pendingRecoverableErrors = null, pendingSuspendedCommitReason = null, pendingDelayedCommitReason = IMMEDIATE_COMMIT, pendingSuspendedViewTransitionReason = null, NESTED_UPDATE_LIMIT = 50, nestedUpdateCount = 0, rootWithNestedUpdates = null, isFlushingPassiveEffects = !1, didScheduleUpdateDuringPassiveEffects = !1, NESTED_PASSIVE_UPDATE_LIMIT = 50, nestedPassiveUpdateCount = 0, rootWithPassiveNestedUpdates = null, isRunningInsertionEffect = !1, didWarnStateUpdateForNotYetMountedComponent = null, didWarnAboutUpdateInRender = !1;
16885
15735
  var didWarnAboutUpdateInRenderForAnotherComponent = /* @__PURE__ */ new Set();
16886
- var fakeActCallbackNode = {};
16887
- var resolveFamily = null;
16888
- var failedBoundaries = null;
15736
+ var fakeActCallbackNode = {}, resolveFamily = null, failedBoundaries = null;
16889
15737
  var hasBadMapPolyfill = !1;
16890
15738
  try {
16891
15739
  var nonExtensibleObject = Object.preventExtensions({});
@@ -16896,16 +15744,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
16896
15744
  }
16897
15745
  var didWarnAboutNestedUpdates = !1;
16898
15746
  var didWarnAboutFindNodeInStrictMode = {};
16899
- var overrideHookState = null;
16900
- var overrideHookStateDeletePath = null;
16901
- var overrideHookStateRenamePath = null;
16902
- var overrideProps = null;
16903
- var overridePropsDeletePath = null;
16904
- var overridePropsRenamePath = null;
16905
- var scheduleUpdate = null;
16906
- var scheduleRetry = null;
16907
- var setErrorHandler = null;
16908
- var setSuspenseHandler = null;
15747
+ var overrideHookState = null, overrideHookStateDeletePath = null, overrideHookStateRenamePath = null, overrideProps = null, overridePropsDeletePath = null, overridePropsRenamePath = null, scheduleUpdate = null, scheduleRetry = null, setErrorHandler = null, setSuspenseHandler = null;
16909
15748
  overrideHookState = function(fiber, id, path, value) {
16910
15749
  id = findHook(fiber, id);
16911
15750
  null !== id && (path = copyWithSetImpl(id.memoizedState, path, 0, value), id.memoizedState = path, id.baseState = path, fiber.memoizedProps = assign({}, fiber.memoizedProps), path = enqueueConcurrentRenderForLane(fiber, 2), null !== path && scheduleUpdateOnFiber(path, fiber, 2));
@@ -16941,8 +15780,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
16941
15780
  null !== root && scheduleUpdateOnFiber(root, fiber, 2);
16942
15781
  };
16943
15782
  scheduleRetry = function(fiber) {
16944
- var lane = claimNextRetryLane();
16945
- var root = enqueueConcurrentRenderForLane(fiber, lane);
15783
+ var lane = claimNextRetryLane(), root = enqueueConcurrentRenderForLane(fiber, lane);
16946
15784
  null !== root && scheduleUpdateOnFiber(root, fiber, lane);
16947
15785
  };
16948
15786
  setErrorHandler = function(newShouldErrorImpl) {
@@ -17059,8 +15897,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
17059
15897
  };
17060
15898
  };
17061
15899
  exports$1.defaultOnCaughtError = function(error) {
17062
- var componentNameMessage = componentName ? "The above error occurred in the <" + componentName + "> component." : "The above error occurred in one of your React components.";
17063
- var recreateMessage = "React will try to recreate this component tree from scratch using the error boundary you provided, " + ((errorBoundaryName || "Anonymous") + ".");
15900
+ var componentNameMessage = componentName ? "The above error occurred in the <" + componentName + "> component." : "The above error occurred in one of your React components.", recreateMessage = "React will try to recreate this component tree from scratch using the error boundary you provided, " + ((errorBoundaryName || "Anonymous") + ".");
17064
15901
  "object" === typeof error && null !== error && "string" === typeof error.environmentName ? bindToConsole("error", [
17065
15902
  "%o\n\n%s\n\n%s\n",
17066
15903
  error,
@@ -17076,8 +15913,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
17076
15913
  console.warn("%s\n\n%s\n", componentName ? "An error occurred in the <" + componentName + "> component." : "An error occurred in one of your React components.", "Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://react.dev/link/error-boundaries to learn more about error boundaries.");
17077
15914
  };
17078
15915
  exports$1.deferredUpdates = function(fn) {
17079
- var prevTransition = ReactSharedInternals.T;
17080
- var previousPriority = getCurrentUpdatePriority();
15916
+ var prevTransition = ReactSharedInternals.T, previousPriority = getCurrentUpdatePriority();
17081
15917
  try {
17082
15918
  return setCurrentUpdatePriority(32), ReactSharedInternals.T = null, fn();
17083
15919
  } finally {
@@ -17085,8 +15921,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
17085
15921
  }
17086
15922
  };
17087
15923
  exports$1.discreteUpdates = function(fn, a, b, c, d) {
17088
- var prevTransition = ReactSharedInternals.T;
17089
- var previousPriority = getCurrentUpdatePriority();
15924
+ var prevTransition = ReactSharedInternals.T, previousPriority = getCurrentUpdatePriority();
17090
15925
  try {
17091
15926
  return setCurrentUpdatePriority(2), ReactSharedInternals.T = null, fn(a, b, c, d);
17092
15927
  } finally {
@@ -17102,11 +15937,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
17102
15937
  for (selectors = hostRoot.length - 1; 0 < selectors; selectors--) {
17103
15938
  i = hostRoot[selectors];
17104
15939
  for (var targetLeft = i.x, targetRight = targetLeft + i.width, targetTop = i.y, targetBottom = targetTop + i.height, j = selectors - 1; 0 <= j; j--) if (selectors !== j) {
17105
- var otherRect = hostRoot[j];
17106
- var otherLeft = otherRect.x;
17107
- var otherRight = otherLeft + otherRect.width;
17108
- var otherTop = otherRect.y;
17109
- var otherBottom = otherTop + otherRect.height;
15940
+ var otherRect = hostRoot[j], otherLeft = otherRect.x, otherRight = otherLeft + otherRect.width, otherTop = otherRect.y, otherBottom = otherTop + otherRect.height;
17110
15941
  if (targetLeft >= otherLeft && targetTop >= otherTop && targetRight <= otherRight && targetBottom <= otherBottom) {
17111
15942
  hostRoot.splice(selectors, 1);
17112
15943
  break;
@@ -17161,8 +15992,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
17161
15992
  exports$1.flushSyncFromReconciler = function(fn) {
17162
15993
  var prevExecutionContext = executionContext;
17163
15994
  executionContext |= 1;
17164
- var prevTransition = ReactSharedInternals.T;
17165
- var previousPriority = getCurrentUpdatePriority();
15995
+ var prevTransition = ReactSharedInternals.T, previousPriority = getCurrentUpdatePriority();
17166
15996
  try {
17167
15997
  if (setCurrentUpdatePriority(2), ReactSharedInternals.T = null, fn) return fn();
17168
15998
  } finally {
@@ -17176,8 +16006,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
17176
16006
  selectors = findPaths(hostRoot, selectors);
17177
16007
  selectors = Array.from(selectors);
17178
16008
  for (hostRoot = 0; hostRoot < selectors.length;) {
17179
- var fiber = selectors[hostRoot++];
17180
- var tag = fiber.tag;
16009
+ var fiber = selectors[hostRoot++], tag = fiber.tag;
17181
16010
  if (!isHiddenSubtree(fiber)) {
17182
16011
  if ((5 === tag || 26 === tag || 27 === tag) && setFocusIfFocusable(fiber.stateNode)) return !0;
17183
16012
  for (fiber = fiber.child; null !== fiber;) selectors.push(fiber), fiber = fiber.sibling;
@@ -17187,14 +16016,10 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
17187
16016
  };
17188
16017
  exports$1.getFindAllNodesFailureDescription = function(hostRoot, selectors) {
17189
16018
  if (!supportsTestSelectors) throw Error("Test selector API is not supported by this renderer.");
17190
- var maxSelectorIndex = 0;
17191
- var matchedNames = [];
16019
+ var maxSelectorIndex = 0, matchedNames = [];
17192
16020
  hostRoot = [findFiberRootForHostRoot(hostRoot), 0];
17193
16021
  for (var index = 0; index < hostRoot.length;) {
17194
- var fiber = hostRoot[index++];
17195
- var tag = fiber.tag;
17196
- var selectorIndex = hostRoot[index++];
17197
- var selector = selectors[selectorIndex];
16022
+ var fiber = hostRoot[index++], tag = fiber.tag, selectorIndex = hostRoot[index++], selector = selectors[selectorIndex];
17198
16023
  if (5 !== tag && 26 !== tag && 27 !== tag || !isHiddenSubtree(fiber)) {
17199
16024
  if (matchSelector(fiber, selector) && (matchedNames.push(selectorToString(selector)), selectorIndex++, selectorIndex > maxSelectorIndex && (maxSelectorIndex = selectorIndex)), selectorIndex < selectors.length) for (fiber = fiber.child; null !== fiber;) hostRoot.push(fiber, selectorIndex), fiber = fiber.sibling;
17200
16025
  }
@@ -17253,9 +16078,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
17253
16078
  if (!supportsTestSelectors) throw Error("Test selector API is not supported by this renderer.");
17254
16079
  var instanceRoots = findAllNodes(hostRoot, selectors);
17255
16080
  callback = setupIntersectionObserver(instanceRoots, callback, options);
17256
- var disconnect = callback.disconnect;
17257
- var observe = callback.observe;
17258
- var unobserve = callback.unobserve;
16081
+ var disconnect = callback.disconnect, observe = callback.observe, unobserve = callback.unobserve;
17259
16082
  commitHooks.push(commitHook);
17260
16083
  return { disconnect: function() {
17261
16084
  var index = commitHooks.indexOf(commitHook);
@@ -17282,8 +16105,7 @@ var require_react_reconciler_development = /* @__PURE__ */ require_react$1.__com
17282
16105
  });
17283
16106
  };
17284
16107
  exports$1.updateContainer = function(element, container, parentComponent, callback) {
17285
- var current = container.current;
17286
- var lane = requestUpdateLane(current);
16108
+ var current = container.current, lane = requestUpdateLane(current);
17287
16109
  updateContainerImpl(current, lane, element, container, parentComponent, callback);
17288
16110
  return lane;
17289
16111
  };
@@ -17535,16 +16357,12 @@ function squashExportNodes(node) {
17535
16357
  for (const child of current.childNodes) {
17536
16358
  if (!child) continue;
17537
16359
  if (child.nodeName !== "#text" && nodeNames.has(child.nodeName)) walk(child);
17538
- if (child.nodeName === "kubb-export") {
17539
- var _child$attributes$get;
17540
- var _child$attributes$get2;
17541
- exports.add({
17542
- name: child.attributes.get("name"),
17543
- path: child.attributes.get("path"),
17544
- isTypeOnly: (_child$attributes$get = child.attributes.get("isTypeOnly")) !== null && _child$attributes$get !== void 0 ? _child$attributes$get : false,
17545
- asAlias: (_child$attributes$get2 = child.attributes.get("asAlias")) !== null && _child$attributes$get2 !== void 0 ? _child$attributes$get2 : false
17546
- });
17547
- }
16360
+ if (child.nodeName === "kubb-export") exports.add({
16361
+ name: child.attributes.get("name"),
16362
+ path: child.attributes.get("path"),
16363
+ isTypeOnly: child.attributes.get("isTypeOnly") ?? false,
16364
+ asAlias: child.attributes.get("asAlias") ?? false
16365
+ });
17548
16366
  }
17549
16367
  };
17550
16368
  walk(node);
@@ -17559,17 +16377,13 @@ function squashImportNodes(node) {
17559
16377
  for (const child of current.childNodes) {
17560
16378
  if (!child) continue;
17561
16379
  if (child.nodeName !== "#text" && nodeNames.has(child.nodeName)) walk(child);
17562
- if (child.nodeName === "kubb-import") {
17563
- var _child$attributes$get;
17564
- var _child$attributes$get2;
17565
- imports.add({
17566
- name: child.attributes.get("name"),
17567
- path: child.attributes.get("path"),
17568
- root: child.attributes.get("root"),
17569
- isTypeOnly: (_child$attributes$get = child.attributes.get("isTypeOnly")) !== null && _child$attributes$get !== void 0 ? _child$attributes$get : false,
17570
- isNameSpace: (_child$attributes$get2 = child.attributes.get("isNameSpace")) !== null && _child$attributes$get2 !== void 0 ? _child$attributes$get2 : false
17571
- });
17572
- }
16380
+ if (child.nodeName === "kubb-import") imports.add({
16381
+ name: child.attributes.get("name"),
16382
+ path: child.attributes.get("path"),
16383
+ root: child.attributes.get("root"),
16384
+ isTypeOnly: child.attributes.get("isTypeOnly") ?? false,
16385
+ isNameSpace: child.attributes.get("isNameSpace") ?? false
16386
+ });
17573
16387
  }
17574
16388
  };
17575
16389
  walk(node);
@@ -17654,15 +16468,12 @@ function squashSourceNodes(node, ignores) {
17654
16468
  if (!child) continue;
17655
16469
  if (child.nodeName !== "#text" && ignoreSet.has(child.nodeName)) continue;
17656
16470
  if (child.nodeName === "kubb-source") {
17657
- var _child$attributes$get;
17658
- var _child$attributes$get2;
17659
- var _child$attributes$get3;
17660
16471
  const value = squashTextNodes(child);
17661
16472
  sources.add({
17662
16473
  name: child.attributes.get("name"),
17663
- isTypeOnly: (_child$attributes$get = child.attributes.get("isTypeOnly")) !== null && _child$attributes$get !== void 0 ? _child$attributes$get : false,
17664
- isExportable: (_child$attributes$get2 = child.attributes.get("isExportable")) !== null && _child$attributes$get2 !== void 0 ? _child$attributes$get2 : false,
17665
- isIndexable: (_child$attributes$get3 = child.attributes.get("isIndexable")) !== null && _child$attributes$get3 !== void 0 ? _child$attributes$get3 : false,
16474
+ isTypeOnly: child.attributes.get("isTypeOnly") ?? false,
16475
+ isExportable: child.attributes.get("isExportable") ?? false,
16476
+ isIndexable: child.attributes.get("isIndexable") ?? false,
17666
16477
  value: value.trim().replace(/^\s+|\s+$/g, "")
17667
16478
  });
17668
16479
  continue;
@@ -17703,122 +16514,80 @@ async function processFiles(node) {
17703
16514
  return collected;
17704
16515
  }
17705
16516
 
17706
- //#endregion
17707
- //#region \0@oxc-project+runtime@0.112.0/helpers/checkPrivateRedeclaration.js
17708
- function _checkPrivateRedeclaration(e, t) {
17709
- if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
17710
- }
17711
-
17712
- //#endregion
17713
- //#region \0@oxc-project+runtime@0.112.0/helpers/classPrivateMethodInitSpec.js
17714
- function _classPrivateMethodInitSpec(e, a) {
17715
- _checkPrivateRedeclaration(e, a), a.add(e);
17716
- }
17717
-
17718
- //#endregion
17719
- //#region \0@oxc-project+runtime@0.112.0/helpers/classPrivateFieldInitSpec.js
17720
- function _classPrivateFieldInitSpec(e, t, a) {
17721
- _checkPrivateRedeclaration(e, t), t.set(e, a);
17722
- }
17723
-
17724
- //#endregion
17725
- //#region \0@oxc-project+runtime@0.112.0/helpers/assertClassBrand.js
17726
- function _assertClassBrand(e, t, n) {
17727
- if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
17728
- throw new TypeError("Private element is not present on this object");
17729
- }
17730
-
17731
- //#endregion
17732
- //#region \0@oxc-project+runtime@0.112.0/helpers/classPrivateFieldGet2.js
17733
- function _classPrivateFieldGet2(s, a) {
17734
- return s.get(_assertClassBrand(s, a));
17735
- }
17736
-
17737
- //#endregion
17738
- //#region \0@oxc-project+runtime@0.112.0/helpers/classPrivateFieldSet2.js
17739
- function _classPrivateFieldSet2(s, a, r) {
17740
- return s.set(_assertClassBrand(s, a), r), r;
17741
- }
17742
-
17743
16517
  //#endregion
17744
16518
  //#region src/Runtime.tsx
17745
- var _options = /* @__PURE__ */ new WeakMap();
17746
- var _isUnmounted = /* @__PURE__ */ new WeakMap();
17747
- var _renderError = /* @__PURE__ */ new WeakMap();
17748
- var _container = /* @__PURE__ */ new WeakMap();
17749
- var _rootNode = /* @__PURE__ */ new WeakMap();
17750
- var _renderPromise = /* @__PURE__ */ new WeakMap();
17751
- var _Runtime_brand = /* @__PURE__ */ new WeakSet();
17752
16519
  var Runtime = class {
16520
+ #options;
16521
+ #isUnmounted;
16522
+ #renderError;
16523
+ exitPromise;
16524
+ #container;
16525
+ #rootNode;
17753
16526
  constructor(options) {
17754
- _classPrivateMethodInitSpec(this, _Runtime_brand);
17755
- _classPrivateFieldInitSpec(this, _options, void 0);
17756
- _classPrivateFieldInitSpec(this, _isUnmounted, void 0);
17757
- _classPrivateFieldInitSpec(this, _renderError, void 0);
17758
- _defineProperty(this, "exitPromise", void 0);
17759
- _classPrivateFieldInitSpec(this, _container, void 0);
17760
- _classPrivateFieldInitSpec(this, _rootNode, void 0);
17761
- _classPrivateFieldInitSpec(this, _renderPromise, Promise.resolve());
17762
- _defineProperty(this, "resolveExitPromise", () => {});
17763
- _defineProperty(this, "rejectExitPromise", () => {});
17764
- _defineProperty(this, "unsubscribeExit", () => {});
17765
- _defineProperty(this, "onRender", () => {
17766
- const task = _classPrivateFieldGet2(_renderPromise, this).catch(() => {}).then(async () => {
17767
- var _classPrivateFieldGet2$1;
17768
- var _classPrivateFieldGet3;
17769
- var _classPrivateFieldGet4;
17770
- var _classPrivateFieldGet5;
17771
- if (_classPrivateFieldGet2(_isUnmounted, this)) return;
17772
- const files = await processFiles(_classPrivateFieldGet2(_rootNode, this));
17773
- await this.fileManager.add(...files);
17774
- if (!((_classPrivateFieldGet2$1 = _classPrivateFieldGet2(_options, this)) === null || _classPrivateFieldGet2$1 === void 0 ? void 0 : _classPrivateFieldGet2$1.debug) && !((_classPrivateFieldGet3 = _classPrivateFieldGet2(_options, this)) === null || _classPrivateFieldGet3 === void 0 ? void 0 : _classPrivateFieldGet3.stdout)) return;
17775
- const output = await _assertClassBrand(_Runtime_brand, this, _getOutput).call(this, _classPrivateFieldGet2(_rootNode, this));
17776
- if ((_classPrivateFieldGet4 = _classPrivateFieldGet2(_options, this)) === null || _classPrivateFieldGet4 === void 0 ? void 0 : _classPrivateFieldGet4.debug) {
17777
- console.log("Rendering:\n");
17778
- console.log(output);
17779
- }
17780
- if (((_classPrivateFieldGet5 = _classPrivateFieldGet2(_options, this)) === null || _classPrivateFieldGet5 === void 0 ? void 0 : _classPrivateFieldGet5.stdout) && node_process.default.env.NODE_ENV !== "test") {
17781
- _classPrivateFieldGet2(_options, this).stdout.clearLine(0);
17782
- _classPrivateFieldGet2(_options, this).stdout.cursorTo(0);
17783
- _classPrivateFieldGet2(_options, this).stdout.write(output);
17784
- }
17785
- });
17786
- _classPrivateFieldSet2(_renderPromise, this, task.catch((error) => {
17787
- this.onError(error);
17788
- }));
17789
- return _classPrivateFieldGet2(_renderPromise, this);
17790
- });
17791
- _classPrivateFieldSet2(_options, this, options);
17792
- _classPrivateFieldSet2(_rootNode, this, createNode("kubb-root"));
17793
- _classPrivateFieldGet2(_rootNode, this).onRender = this.onRender;
17794
- _classPrivateFieldGet2(_rootNode, this).onImmediateRender = this.onRender;
17795
- _classPrivateFieldSet2(_isUnmounted, this, false);
16527
+ this.#options = options;
16528
+ this.#rootNode = createNode("kubb-root");
16529
+ this.#rootNode.onRender = this.onRender;
16530
+ this.#rootNode.onImmediateRender = this.onRender;
16531
+ this.#isUnmounted = false;
17796
16532
  this.unmount.bind(this);
17797
16533
  console.error = (data) => {
17798
- const message = typeof data === "string" ? data : data === null || data === void 0 ? void 0 : data.message;
17799
- if ((message === null || message === void 0 ? void 0 : message.match(/Encountered two children with the same key/gi)) || (message === null || message === void 0 ? void 0 : message.match(/React will try to recreat/gi)) || (message === null || message === void 0 ? void 0 : message.match(/Each child in a list should have a unique/gi)) || (message === null || message === void 0 ? void 0 : message.match(/The above error occurred in the <KubbErrorBoundary/gi)) || (message === null || message === void 0 ? void 0 : message.match(/A React Element from an older version of React was render/gi))) return;
16534
+ const message = typeof data === "string" ? data : data?.message;
16535
+ if (message?.match(/Encountered two children with the same key/gi) || message?.match(/React will try to recreat/gi) || message?.match(/Each child in a list should have a unique/gi) || message?.match(/The above error occurred in the <KubbErrorBoundary/gi) || message?.match(/A React Element from an older version of React was render/gi)) return;
17800
16536
  console.log(data);
17801
16537
  };
17802
16538
  const logRecoverableError = typeof reportError === "function" ? reportError : console.error;
17803
16539
  const rootTag = import_constants.ConcurrentRoot;
17804
- _classPrivateFieldSet2(_container, this, Renderer.createContainer(_classPrivateFieldGet2(_rootNode, this), rootTag, null, false, false, "id", logRecoverableError, logRecoverableError, logRecoverableError, null));
16540
+ this.#container = Renderer.createContainer(this.#rootNode, rootTag, null, false, false, "id", logRecoverableError, logRecoverableError, logRecoverableError, null);
17805
16541
  this.unsubscribeExit = (0, _kubb_fabric_core.onProcessExit)((code) => {
17806
16542
  this.unmount(code);
17807
16543
  });
17808
16544
  }
17809
16545
  get fileManager() {
17810
- return _classPrivateFieldGet2(_options, this).fileManager;
16546
+ return this.#options.fileManager;
17811
16547
  }
16548
+ #renderPromise = Promise.resolve();
16549
+ resolveExitPromise = () => {};
16550
+ rejectExitPromise = () => {};
16551
+ unsubscribeExit = () => {};
16552
+ onRender = () => {
16553
+ this.#renderPromise = this.#renderPromise.catch(() => {}).then(async () => {
16554
+ if (this.#isUnmounted) return;
16555
+ const files = await processFiles(this.#rootNode);
16556
+ await this.fileManager.add(...files);
16557
+ if (!this.#options?.debug && !this.#options?.stdout) return;
16558
+ const output = await this.#getOutput(this.#rootNode);
16559
+ if (this.#options?.debug) {
16560
+ console.log("Rendering:\n");
16561
+ console.log(output);
16562
+ }
16563
+ if (this.#options?.stdout && node_process.default.env.NODE_ENV !== "test") {
16564
+ this.#options.stdout.clearLine(0);
16565
+ this.#options.stdout.cursorTo(0);
16566
+ this.#options.stdout.write(output);
16567
+ }
16568
+ }).catch((error) => {
16569
+ this.onError(error);
16570
+ });
16571
+ return this.#renderPromise;
16572
+ };
17812
16573
  onError(error) {
17813
- _classPrivateFieldSet2(_renderError, this, error);
16574
+ this.#renderError = error;
17814
16575
  }
17815
16576
  onExit(error) {
17816
16577
  setTimeout(() => {
17817
16578
  this.unmount(error);
17818
16579
  }, 0);
17819
16580
  }
16581
+ async #getOutput(node) {
16582
+ const text = squashTextNodes(node);
16583
+ const files = this.fileManager.files;
16584
+ if (!files.length) return text;
16585
+ const values = /* @__PURE__ */ new Set();
16586
+ for (const file of files) for (const source of file.sources) if (source?.value) values.add(source.value);
16587
+ return [...values].join("\n\n");
16588
+ }
17820
16589
  async render(node) {
17821
- const treeNode = _classPrivateFieldGet2(_options, this).treeNode || new _kubb_fabric_core.TreeNode({
16590
+ const treeNode = this.#options.treeNode || new _kubb_fabric_core.TreeNode({
17822
16591
  type: "Root",
17823
16592
  props: {}
17824
16593
  });
@@ -17833,17 +16602,17 @@ var Runtime = class {
17833
16602
  ...props,
17834
16603
  children: node
17835
16604
  });
17836
- Renderer.updateContainerSync(element, _classPrivateFieldGet2(_container, this), null, null);
16605
+ Renderer.updateContainerSync(element, this.#container, null, null);
17837
16606
  Renderer.flushSyncWork();
17838
- await _classPrivateFieldGet2(_renderPromise, this);
17839
- if (_classPrivateFieldGet2(_renderError, this)) {
17840
- const error = _classPrivateFieldGet2(_renderError, this);
17841
- _classPrivateFieldSet2(_renderError, this, void 0);
16607
+ await this.#renderPromise;
16608
+ if (this.#renderError) {
16609
+ const error = this.#renderError;
16610
+ this.#renderError = void 0;
17842
16611
  throw error;
17843
16612
  }
17844
16613
  }
17845
16614
  async renderToString(node) {
17846
- const treeNode = _classPrivateFieldGet2(_options, this).treeNode || new _kubb_fabric_core.TreeNode({
16615
+ const treeNode = this.#options.treeNode || new _kubb_fabric_core.TreeNode({
17847
16616
  type: "Root",
17848
16617
  props: {}
17849
16618
  });
@@ -17858,25 +16627,24 @@ var Runtime = class {
17858
16627
  ...props,
17859
16628
  children: node
17860
16629
  });
17861
- Renderer.updateContainerSync(element, _classPrivateFieldGet2(_container, this), null, null);
16630
+ Renderer.updateContainerSync(element, this.#container, null, null);
17862
16631
  Renderer.flushSyncWork();
17863
- await _classPrivateFieldGet2(_renderPromise, this);
16632
+ await this.#renderPromise;
17864
16633
  this.fileManager.clear();
17865
- if (_classPrivateFieldGet2(_renderError, this)) {
17866
- const error = _classPrivateFieldGet2(_renderError, this);
17867
- _classPrivateFieldSet2(_renderError, this, void 0);
16634
+ if (this.#renderError) {
16635
+ const error = this.#renderError;
16636
+ this.#renderError = void 0;
17868
16637
  throw error;
17869
16638
  }
17870
- return _assertClassBrand(_Runtime_brand, this, _getOutput).call(this, _classPrivateFieldGet2(_rootNode, this));
16639
+ return this.#getOutput(this.#rootNode);
17871
16640
  }
17872
16641
  unmount(error) {
17873
- var _classPrivateFieldGet6;
17874
- if (_classPrivateFieldGet2(_isUnmounted, this)) return;
17875
- if ((_classPrivateFieldGet6 = _classPrivateFieldGet2(_options, this)) === null || _classPrivateFieldGet6 === void 0 ? void 0 : _classPrivateFieldGet6.debug) console.log("Unmount", error);
16642
+ if (this.#isUnmounted) return;
16643
+ if (this.#options?.debug) console.log("Unmount", error);
17876
16644
  this.onRender();
17877
16645
  this.unsubscribeExit();
17878
- _classPrivateFieldSet2(_isUnmounted, this, true);
17879
- Renderer.updateContainerSync(null, _classPrivateFieldGet2(_container, this), null, null);
16646
+ this.#isUnmounted = true;
16647
+ Renderer.updateContainerSync(null, this.#container, null, null);
17880
16648
  if (error instanceof Error) {
17881
16649
  this.rejectExitPromise(error);
17882
16650
  return;
@@ -17891,14 +16659,6 @@ var Runtime = class {
17891
16659
  return this.exitPromise;
17892
16660
  }
17893
16661
  };
17894
- async function _getOutput(node) {
17895
- const text = squashTextNodes(node);
17896
- const files = this.fileManager.files;
17897
- if (!files.length) return text;
17898
- const values = /* @__PURE__ */ new Set();
17899
- for (const file of files) for (const source of file.sources) if (source === null || source === void 0 ? void 0 : source.value) values.add(source.value);
17900
- return [...values].join("\n\n");
17901
- }
17902
16662
 
17903
16663
  //#endregion
17904
16664
  //#region src/plugins/reactPlugin.ts
@@ -17945,27 +16705,10 @@ Object.defineProperty(exports, 'Runtime', {
17945
16705
  return Runtime;
17946
16706
  }
17947
16707
  });
17948
- Object.defineProperty(exports, '_classPrivateFieldGet2', {
17949
- enumerable: true,
17950
- get: function () {
17951
- return _classPrivateFieldGet2;
17952
- }
17953
- });
17954
- Object.defineProperty(exports, '_classPrivateFieldInitSpec', {
17955
- enumerable: true,
17956
- get: function () {
17957
- return _classPrivateFieldInitSpec;
17958
- }
17959
- });
17960
- Object.defineProperty(exports, '_classPrivateFieldSet2', {
17961
- enumerable: true,
17962
- get: function () {
17963
- return _classPrivateFieldSet2;
17964
- }
17965
- });
17966
16708
  Object.defineProperty(exports, 'reactPlugin', {
17967
16709
  enumerable: true,
17968
16710
  get: function () {
17969
16711
  return reactPlugin;
17970
16712
  }
17971
- });
16713
+ });
16714
+ //# sourceMappingURL=reactPlugin-DTg048L6.cjs.map