xshell 1.3.10 → 1.3.12

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.
@@ -2,70 +2,31 @@
2
2
  /******/ "use strict";
3
3
  /******/ var __webpack_modules__ = ({
4
4
 
5
- /***/ 12:
6
- /*!*******************************************************************************************!*\
7
- !*** ./node_modules/.pnpm/react-dom@19.2.0_react@19.2.0/node_modules/react-dom/client.js ***!
8
- \*******************************************************************************************/
9
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
10
-
11
-
12
-
13
- function checkDCE() {
14
- /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
15
- if (
16
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
17
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
18
- ) {
19
- return;
20
- }
21
- if (false) // removed by dead control flow
22
- {}
23
- try {
24
- // Verify that the code above has been dead code eliminated (DCE'd).
25
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
26
- } catch (err) {
27
- // DevTools shouldn't crash React, no matter what.
28
- // We should still report in case we break this code.
29
- console.error(err);
30
- }
31
- }
32
-
33
- if (true) {
34
- // DCE check should happen before ReactDOM bundle executes so that
35
- // DevTools can report bad minification during injection.
36
- checkDCE();
37
- module.exports = __webpack_require__(/*! ./cjs/react-dom-client.production.js */ 593);
38
- } else // removed by dead control flow
39
- {}
40
-
41
-
42
- /***/ }),
43
-
44
- /***/ 180:
45
- /*!*****************************************************************************!*\
46
- !*** ./node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/index.js ***!
47
- \*****************************************************************************/
48
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
5
+ /***/ 38
6
+ /*!***************************************************************************!*\
7
+ !*** ./node_modules/.pnpm/react@19.2.0/node_modules/react/jsx-runtime.js ***!
8
+ \***************************************************************************/
9
+ (module, __unused_webpack_exports, __webpack_require__) {
49
10
 
50
11
 
51
12
 
52
13
  if (true) {
53
- module.exports = __webpack_require__(/*! ./cjs/scheduler.production.js */ 943);
14
+ module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.production.js */ 172);
54
15
  } else // removed by dead control flow
55
16
  {}
56
17
 
57
18
 
58
- /***/ }),
19
+ /***/ },
59
20
 
60
- /***/ 390:
61
- /*!************************************************************************************!*\
62
- !*** ./node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.production.js ***!
63
- \************************************************************************************/
64
- /***/ ((__unused_webpack_module, exports) => {
21
+ /***/ 104
22
+ /*!********************************************************************************************************************!*\
23
+ !*** ./node_modules/.pnpm/react-dom@19.2.0_react@19.2.0/node_modules/react-dom/cjs/react-dom-client.production.js ***!
24
+ \********************************************************************************************************************/
25
+ (__unused_webpack_module, exports, __webpack_require__) {
65
26
 
66
27
  /**
67
28
  * @license React
68
- * react.production.js
29
+ * react-dom-client.production.js
69
30
  *
70
31
  * Copyright (c) Meta Platforms, Inc. and affiliates.
71
32
  *
@@ -73,8 +34,153 @@ if (true) {
73
34
  * LICENSE file in the root directory of this source tree.
74
35
  */
75
36
 
37
+ /*
38
+ Modernizr 3.0.0pre (Custom Build) | MIT
39
+ */
76
40
 
77
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
41
+ var Scheduler = __webpack_require__(/*! scheduler */ 419),
42
+ React = __webpack_require__(/*! react */ 422),
43
+ ReactDOM = __webpack_require__(/*! react-dom */ 402);
44
+ function formatProdErrorMessage(code) {
45
+ var url = "https://react.dev/errors/" + code;
46
+ if (1 < arguments.length) {
47
+ url += "?args[]=" + encodeURIComponent(arguments[1]);
48
+ for (var i = 2; i < arguments.length; i++)
49
+ url += "&args[]=" + encodeURIComponent(arguments[i]);
50
+ }
51
+ return (
52
+ "Minified React error #" +
53
+ code +
54
+ "; visit " +
55
+ url +
56
+ " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
57
+ );
58
+ }
59
+ function isValidContainer(node) {
60
+ return !(
61
+ !node ||
62
+ (1 !== node.nodeType && 9 !== node.nodeType && 11 !== node.nodeType)
63
+ );
64
+ }
65
+ function getNearestMountedFiber(fiber) {
66
+ var node = fiber,
67
+ nearestMounted = fiber;
68
+ if (fiber.alternate) for (; node.return; ) node = node.return;
69
+ else {
70
+ fiber = node;
71
+ do
72
+ (node = fiber),
73
+ 0 !== (node.flags & 4098) && (nearestMounted = node.return),
74
+ (fiber = node.return);
75
+ while (fiber);
76
+ }
77
+ return 3 === node.tag ? nearestMounted : null;
78
+ }
79
+ function getSuspenseInstanceFromFiber(fiber) {
80
+ if (13 === fiber.tag) {
81
+ var suspenseState = fiber.memoizedState;
82
+ null === suspenseState &&
83
+ ((fiber = fiber.alternate),
84
+ null !== fiber && (suspenseState = fiber.memoizedState));
85
+ if (null !== suspenseState) return suspenseState.dehydrated;
86
+ }
87
+ return null;
88
+ }
89
+ function getActivityInstanceFromFiber(fiber) {
90
+ if (31 === fiber.tag) {
91
+ var activityState = fiber.memoizedState;
92
+ null === activityState &&
93
+ ((fiber = fiber.alternate),
94
+ null !== fiber && (activityState = fiber.memoizedState));
95
+ if (null !== activityState) return activityState.dehydrated;
96
+ }
97
+ return null;
98
+ }
99
+ function assertIsMounted(fiber) {
100
+ if (getNearestMountedFiber(fiber) !== fiber)
101
+ throw Error(formatProdErrorMessage(188));
102
+ }
103
+ function findCurrentFiberUsingSlowPath(fiber) {
104
+ var alternate = fiber.alternate;
105
+ if (!alternate) {
106
+ alternate = getNearestMountedFiber(fiber);
107
+ if (null === alternate) throw Error(formatProdErrorMessage(188));
108
+ return alternate !== fiber ? null : fiber;
109
+ }
110
+ for (var a = fiber, b = alternate; ; ) {
111
+ var parentA = a.return;
112
+ if (null === parentA) break;
113
+ var parentB = parentA.alternate;
114
+ if (null === parentB) {
115
+ b = parentA.return;
116
+ if (null !== b) {
117
+ a = b;
118
+ continue;
119
+ }
120
+ break;
121
+ }
122
+ if (parentA.child === parentB.child) {
123
+ for (parentB = parentA.child; parentB; ) {
124
+ if (parentB === a) return assertIsMounted(parentA), fiber;
125
+ if (parentB === b) return assertIsMounted(parentA), alternate;
126
+ parentB = parentB.sibling;
127
+ }
128
+ throw Error(formatProdErrorMessage(188));
129
+ }
130
+ if (a.return !== b.return) (a = parentA), (b = parentB);
131
+ else {
132
+ for (var didFindChild = !1, child$0 = parentA.child; child$0; ) {
133
+ if (child$0 === a) {
134
+ didFindChild = !0;
135
+ a = parentA;
136
+ b = parentB;
137
+ break;
138
+ }
139
+ if (child$0 === b) {
140
+ didFindChild = !0;
141
+ b = parentA;
142
+ a = parentB;
143
+ break;
144
+ }
145
+ child$0 = child$0.sibling;
146
+ }
147
+ if (!didFindChild) {
148
+ for (child$0 = parentB.child; child$0; ) {
149
+ if (child$0 === a) {
150
+ didFindChild = !0;
151
+ a = parentB;
152
+ b = parentA;
153
+ break;
154
+ }
155
+ if (child$0 === b) {
156
+ didFindChild = !0;
157
+ b = parentB;
158
+ a = parentA;
159
+ break;
160
+ }
161
+ child$0 = child$0.sibling;
162
+ }
163
+ if (!didFindChild) throw Error(formatProdErrorMessage(189));
164
+ }
165
+ }
166
+ if (a.alternate !== b) throw Error(formatProdErrorMessage(190));
167
+ }
168
+ if (3 !== a.tag) throw Error(formatProdErrorMessage(188));
169
+ return a.stateNode.current === a ? fiber : alternate;
170
+ }
171
+ function findCurrentHostFiberImpl(node) {
172
+ var tag = node.tag;
173
+ if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node;
174
+ for (node = node.child; null !== node; ) {
175
+ tag = findCurrentHostFiberImpl(node);
176
+ if (null !== tag) return tag;
177
+ node = node.sibling;
178
+ }
179
+ return null;
180
+ }
181
+ var assign = Object.assign,
182
+ REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"),
183
+ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
78
184
  REACT_PORTAL_TYPE = Symbol.for("react.portal"),
79
185
  REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
80
186
  REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
@@ -83,10 +189,16 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
83
189
  REACT_CONTEXT_TYPE = Symbol.for("react.context"),
84
190
  REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
85
191
  REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
192
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
86
193
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
87
- REACT_LAZY_TYPE = Symbol.for("react.lazy"),
88
- REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
89
- MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
194
+ REACT_LAZY_TYPE = Symbol.for("react.lazy");
195
+ Symbol.for("react.scope");
196
+ var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
197
+ Symbol.for("react.legacy_hidden");
198
+ Symbol.for("react.tracing_marker");
199
+ var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
200
+ Symbol.for("react.view_transition");
201
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
90
202
  function getIteratorFn(maybeIterable) {
91
203
  if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
92
204
  maybeIterable =
@@ -94,1036 +206,333 @@ function getIteratorFn(maybeIterable) {
94
206
  maybeIterable["@@iterator"];
95
207
  return "function" === typeof maybeIterable ? maybeIterable : null;
96
208
  }
97
- var ReactNoopUpdateQueue = {
98
- isMounted: function () {
99
- return !1;
100
- },
101
- enqueueForceUpdate: function () {},
102
- enqueueReplaceState: function () {},
103
- enqueueSetState: function () {}
104
- },
105
- assign = Object.assign,
106
- emptyObject = {};
107
- function Component(props, context, updater) {
108
- this.props = props;
109
- this.context = context;
110
- this.refs = emptyObject;
111
- this.updater = updater || ReactNoopUpdateQueue;
112
- }
113
- Component.prototype.isReactComponent = {};
114
- Component.prototype.setState = function (partialState, callback) {
115
- if (
116
- "object" !== typeof partialState &&
117
- "function" !== typeof partialState &&
118
- null != partialState
119
- )
120
- throw Error(
121
- "takes an object of state variables to update or a function which returns an object of state variables."
122
- );
123
- this.updater.enqueueSetState(this, partialState, callback, "setState");
124
- };
125
- Component.prototype.forceUpdate = function (callback) {
126
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
127
- };
128
- function ComponentDummy() {}
129
- ComponentDummy.prototype = Component.prototype;
130
- function PureComponent(props, context, updater) {
131
- this.props = props;
132
- this.context = context;
133
- this.refs = emptyObject;
134
- this.updater = updater || ReactNoopUpdateQueue;
135
- }
136
- var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());
137
- pureComponentPrototype.constructor = PureComponent;
138
- assign(pureComponentPrototype, Component.prototype);
139
- pureComponentPrototype.isPureReactComponent = !0;
140
- var isArrayImpl = Array.isArray;
141
- function noop() {}
142
- var ReactSharedInternals = { H: null, A: null, T: null, S: null },
143
- hasOwnProperty = Object.prototype.hasOwnProperty;
144
- function ReactElement(type, key, props) {
145
- var refProp = props.ref;
146
- return {
147
- $$typeof: REACT_ELEMENT_TYPE,
148
- type: type,
149
- key: key,
150
- ref: void 0 !== refProp ? refProp : null,
151
- props: props
152
- };
153
- }
154
- function cloneAndReplaceKey(oldElement, newKey) {
155
- return ReactElement(oldElement.type, newKey, oldElement.props);
209
+ var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
210
+ function getComponentNameFromType(type) {
211
+ if (null == type) return null;
212
+ if ("function" === typeof type)
213
+ return type.$$typeof === REACT_CLIENT_REFERENCE
214
+ ? null
215
+ : type.displayName || type.name || null;
216
+ if ("string" === typeof type) return type;
217
+ switch (type) {
218
+ case REACT_FRAGMENT_TYPE:
219
+ return "Fragment";
220
+ case REACT_PROFILER_TYPE:
221
+ return "Profiler";
222
+ case REACT_STRICT_MODE_TYPE:
223
+ return "StrictMode";
224
+ case REACT_SUSPENSE_TYPE:
225
+ return "Suspense";
226
+ case REACT_SUSPENSE_LIST_TYPE:
227
+ return "SuspenseList";
228
+ case REACT_ACTIVITY_TYPE:
229
+ return "Activity";
230
+ }
231
+ if ("object" === typeof type)
232
+ switch (type.$$typeof) {
233
+ case REACT_PORTAL_TYPE:
234
+ return "Portal";
235
+ case REACT_CONTEXT_TYPE:
236
+ return type.displayName || "Context";
237
+ case REACT_CONSUMER_TYPE:
238
+ return (type._context.displayName || "Context") + ".Consumer";
239
+ case REACT_FORWARD_REF_TYPE:
240
+ var innerType = type.render;
241
+ type = type.displayName;
242
+ type ||
243
+ ((type = innerType.displayName || innerType.name || ""),
244
+ (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
245
+ return type;
246
+ case REACT_MEMO_TYPE:
247
+ return (
248
+ (innerType = type.displayName || null),
249
+ null !== innerType
250
+ ? innerType
251
+ : getComponentNameFromType(type.type) || "Memo"
252
+ );
253
+ case REACT_LAZY_TYPE:
254
+ innerType = type._payload;
255
+ type = type._init;
256
+ try {
257
+ return getComponentNameFromType(type(innerType));
258
+ } catch (x) {}
259
+ }
260
+ return null;
156
261
  }
157
- function isValidElement(object) {
158
- return (
159
- "object" === typeof object &&
160
- null !== object &&
161
- object.$$typeof === REACT_ELEMENT_TYPE
162
- );
262
+ var isArrayImpl = Array.isArray,
263
+ ReactSharedInternals =
264
+ React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
265
+ ReactDOMSharedInternals =
266
+ ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
267
+ sharedNotPendingObject = {
268
+ pending: !1,
269
+ data: null,
270
+ method: null,
271
+ action: null
272
+ },
273
+ valueStack = [],
274
+ index = -1;
275
+ function createCursor(defaultValue) {
276
+ return { current: defaultValue };
163
277
  }
164
- function escape(key) {
165
- var escaperLookup = { "=": "=0", ":": "=2" };
166
- return (
167
- "$" +
168
- key.replace(/[=:]/g, function (match) {
169
- return escaperLookup[match];
170
- })
171
- );
278
+ function pop(cursor) {
279
+ 0 > index ||
280
+ ((cursor.current = valueStack[index]), (valueStack[index] = null), index--);
172
281
  }
173
- var userProvidedKeyEscapeRegex = /\/+/g;
174
- function getElementKey(element, index) {
175
- return "object" === typeof element && null !== element && null != element.key
176
- ? escape("" + element.key)
177
- : index.toString(36);
282
+ function push(cursor, value) {
283
+ index++;
284
+ valueStack[index] = cursor.current;
285
+ cursor.current = value;
178
286
  }
179
- function resolveThenable(thenable) {
180
- switch (thenable.status) {
181
- case "fulfilled":
182
- return thenable.value;
183
- case "rejected":
184
- throw thenable.reason;
287
+ var contextStackCursor = createCursor(null),
288
+ contextFiberStackCursor = createCursor(null),
289
+ rootInstanceStackCursor = createCursor(null),
290
+ hostTransitionProviderCursor = createCursor(null);
291
+ function pushHostContainer(fiber, nextRootInstance) {
292
+ push(rootInstanceStackCursor, nextRootInstance);
293
+ push(contextFiberStackCursor, fiber);
294
+ push(contextStackCursor, null);
295
+ switch (nextRootInstance.nodeType) {
296
+ case 9:
297
+ case 11:
298
+ fiber = (fiber = nextRootInstance.documentElement)
299
+ ? (fiber = fiber.namespaceURI)
300
+ ? getOwnHostContext(fiber)
301
+ : 0
302
+ : 0;
303
+ break;
185
304
  default:
186
- switch (
187
- ("string" === typeof thenable.status
188
- ? thenable.then(noop, noop)
189
- : ((thenable.status = "pending"),
190
- thenable.then(
191
- function (fulfilledValue) {
192
- "pending" === thenable.status &&
193
- ((thenable.status = "fulfilled"),
194
- (thenable.value = fulfilledValue));
195
- },
196
- function (error) {
197
- "pending" === thenable.status &&
198
- ((thenable.status = "rejected"), (thenable.reason = error));
199
- }
200
- )),
201
- thenable.status)
202
- ) {
203
- case "fulfilled":
204
- return thenable.value;
205
- case "rejected":
206
- throw thenable.reason;
207
- }
208
- }
209
- throw thenable;
210
- }
211
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
212
- var type = typeof children;
213
- if ("undefined" === type || "boolean" === type) children = null;
214
- var invokeCallback = !1;
215
- if (null === children) invokeCallback = !0;
216
- else
217
- switch (type) {
218
- case "bigint":
219
- case "string":
220
- case "number":
221
- invokeCallback = !0;
222
- break;
223
- case "object":
224
- switch (children.$$typeof) {
225
- case REACT_ELEMENT_TYPE:
226
- case REACT_PORTAL_TYPE:
227
- invokeCallback = !0;
305
+ if (
306
+ ((fiber = nextRootInstance.tagName),
307
+ (nextRootInstance = nextRootInstance.namespaceURI))
308
+ )
309
+ (nextRootInstance = getOwnHostContext(nextRootInstance)),
310
+ (fiber = getChildHostContextProd(nextRootInstance, fiber));
311
+ else
312
+ switch (fiber) {
313
+ case "svg":
314
+ fiber = 1;
228
315
  break;
229
- case REACT_LAZY_TYPE:
230
- return (
231
- (invokeCallback = children._init),
232
- mapIntoArray(
233
- invokeCallback(children._payload),
234
- array,
235
- escapedPrefix,
236
- nameSoFar,
237
- callback
238
- )
239
- );
316
+ case "math":
317
+ fiber = 2;
318
+ break;
319
+ default:
320
+ fiber = 0;
240
321
  }
322
+ }
323
+ pop(contextStackCursor);
324
+ push(contextStackCursor, fiber);
325
+ }
326
+ function popHostContainer() {
327
+ pop(contextStackCursor);
328
+ pop(contextFiberStackCursor);
329
+ pop(rootInstanceStackCursor);
330
+ }
331
+ function pushHostContext(fiber) {
332
+ null !== fiber.memoizedState && push(hostTransitionProviderCursor, fiber);
333
+ var context = contextStackCursor.current;
334
+ var JSCompiler_inline_result = getChildHostContextProd(context, fiber.type);
335
+ context !== JSCompiler_inline_result &&
336
+ (push(contextFiberStackCursor, fiber),
337
+ push(contextStackCursor, JSCompiler_inline_result));
338
+ }
339
+ function popHostContext(fiber) {
340
+ contextFiberStackCursor.current === fiber &&
341
+ (pop(contextStackCursor), pop(contextFiberStackCursor));
342
+ hostTransitionProviderCursor.current === fiber &&
343
+ (pop(hostTransitionProviderCursor),
344
+ (HostTransitionContext._currentValue = sharedNotPendingObject));
345
+ }
346
+ var prefix, suffix;
347
+ function describeBuiltInComponentFrame(name) {
348
+ if (void 0 === prefix)
349
+ try {
350
+ throw Error();
351
+ } catch (x) {
352
+ var match = x.stack.trim().match(/\n( *(at )?)/);
353
+ prefix = (match && match[1]) || "";
354
+ suffix =
355
+ -1 < x.stack.indexOf("\n at")
356
+ ? " (<anonymous>)"
357
+ : -1 < x.stack.indexOf("@")
358
+ ? "@unknown:0:0"
359
+ : "";
241
360
  }
242
- if (invokeCallback)
243
- return (
244
- (callback = callback(children)),
245
- (invokeCallback =
246
- "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar),
247
- isArrayImpl(callback)
248
- ? ((escapedPrefix = ""),
249
- null != invokeCallback &&
250
- (escapedPrefix =
251
- invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"),
252
- mapIntoArray(callback, array, escapedPrefix, "", function (c) {
253
- return c;
254
- }))
255
- : null != callback &&
256
- (isValidElement(callback) &&
257
- (callback = cloneAndReplaceKey(
258
- callback,
259
- escapedPrefix +
260
- (null == callback.key ||
261
- (children && children.key === callback.key)
262
- ? ""
263
- : ("" + callback.key).replace(
264
- userProvidedKeyEscapeRegex,
265
- "$&/"
266
- ) + "/") +
267
- invokeCallback
268
- )),
269
- array.push(callback)),
270
- 1
361
+ return "\n" + prefix + name + suffix;
362
+ }
363
+ var reentry = !1;
364
+ function describeNativeComponentFrame(fn, construct) {
365
+ if (!fn || reentry) return "";
366
+ reentry = !0;
367
+ var previousPrepareStackTrace = Error.prepareStackTrace;
368
+ Error.prepareStackTrace = void 0;
369
+ try {
370
+ var RunInRootFrame = {
371
+ DetermineComponentFrameRoot: function () {
372
+ try {
373
+ if (construct) {
374
+ var Fake = function () {
375
+ throw Error();
376
+ };
377
+ Object.defineProperty(Fake.prototype, "props", {
378
+ set: function () {
379
+ throw Error();
380
+ }
381
+ });
382
+ if ("object" === typeof Reflect && Reflect.construct) {
383
+ try {
384
+ Reflect.construct(Fake, []);
385
+ } catch (x) {
386
+ var control = x;
387
+ }
388
+ Reflect.construct(fn, [], Fake);
389
+ } else {
390
+ try {
391
+ Fake.call();
392
+ } catch (x$1) {
393
+ control = x$1;
394
+ }
395
+ fn.call(Fake.prototype);
396
+ }
397
+ } else {
398
+ try {
399
+ throw Error();
400
+ } catch (x$2) {
401
+ control = x$2;
402
+ }
403
+ (Fake = fn()) &&
404
+ "function" === typeof Fake.catch &&
405
+ Fake.catch(function () {});
406
+ }
407
+ } catch (sample) {
408
+ if (sample && control && "string" === typeof sample.stack)
409
+ return [sample.stack, control.stack];
410
+ }
411
+ return [null, null];
412
+ }
413
+ };
414
+ RunInRootFrame.DetermineComponentFrameRoot.displayName =
415
+ "DetermineComponentFrameRoot";
416
+ var namePropDescriptor = Object.getOwnPropertyDescriptor(
417
+ RunInRootFrame.DetermineComponentFrameRoot,
418
+ "name"
271
419
  );
272
- invokeCallback = 0;
273
- var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
274
- if (isArrayImpl(children))
275
- for (var i = 0; i < children.length; i++)
276
- (nameSoFar = children[i]),
277
- (type = nextNamePrefix + getElementKey(nameSoFar, i)),
278
- (invokeCallback += mapIntoArray(
279
- nameSoFar,
280
- array,
281
- escapedPrefix,
282
- type,
283
- callback
284
- ));
285
- else if (((i = getIteratorFn(children)), "function" === typeof i))
286
- for (
287
- children = i.call(children), i = 0;
288
- !(nameSoFar = children.next()).done;
289
-
290
- )
291
- (nameSoFar = nameSoFar.value),
292
- (type = nextNamePrefix + getElementKey(nameSoFar, i++)),
293
- (invokeCallback += mapIntoArray(
294
- nameSoFar,
295
- array,
296
- escapedPrefix,
297
- type,
298
- callback
299
- ));
300
- else if ("object" === type) {
301
- if ("function" === typeof children.then)
302
- return mapIntoArray(
303
- resolveThenable(children),
304
- array,
305
- escapedPrefix,
306
- nameSoFar,
307
- callback
420
+ namePropDescriptor &&
421
+ namePropDescriptor.configurable &&
422
+ Object.defineProperty(
423
+ RunInRootFrame.DetermineComponentFrameRoot,
424
+ "name",
425
+ { value: "DetermineComponentFrameRoot" }
308
426
  );
309
- array = String(children);
310
- throw Error(
311
- "Objects are not valid as a React child (found: " +
312
- ("[object Object]" === array
313
- ? "object with keys {" + Object.keys(children).join(", ") + "}"
314
- : array) +
315
- "). If you meant to render a collection of children, use an array instead."
316
- );
427
+ var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(),
428
+ sampleStack = _RunInRootFrame$Deter[0],
429
+ controlStack = _RunInRootFrame$Deter[1];
430
+ if (sampleStack && controlStack) {
431
+ var sampleLines = sampleStack.split("\n"),
432
+ controlLines = controlStack.split("\n");
433
+ for (
434
+ namePropDescriptor = RunInRootFrame = 0;
435
+ RunInRootFrame < sampleLines.length &&
436
+ !sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot");
437
+
438
+ )
439
+ RunInRootFrame++;
440
+ for (
441
+ ;
442
+ namePropDescriptor < controlLines.length &&
443
+ !controlLines[namePropDescriptor].includes(
444
+ "DetermineComponentFrameRoot"
445
+ );
446
+
447
+ )
448
+ namePropDescriptor++;
449
+ if (
450
+ RunInRootFrame === sampleLines.length ||
451
+ namePropDescriptor === controlLines.length
452
+ )
453
+ for (
454
+ RunInRootFrame = sampleLines.length - 1,
455
+ namePropDescriptor = controlLines.length - 1;
456
+ 1 <= RunInRootFrame &&
457
+ 0 <= namePropDescriptor &&
458
+ sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor];
459
+
460
+ )
461
+ namePropDescriptor--;
462
+ for (
463
+ ;
464
+ 1 <= RunInRootFrame && 0 <= namePropDescriptor;
465
+ RunInRootFrame--, namePropDescriptor--
466
+ )
467
+ if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {
468
+ if (1 !== RunInRootFrame || 1 !== namePropDescriptor) {
469
+ do
470
+ if (
471
+ (RunInRootFrame--,
472
+ namePropDescriptor--,
473
+ 0 > namePropDescriptor ||
474
+ sampleLines[RunInRootFrame] !==
475
+ controlLines[namePropDescriptor])
476
+ ) {
477
+ var frame =
478
+ "\n" +
479
+ sampleLines[RunInRootFrame].replace(" at new ", " at ");
480
+ fn.displayName &&
481
+ frame.includes("<anonymous>") &&
482
+ (frame = frame.replace("<anonymous>", fn.displayName));
483
+ return frame;
484
+ }
485
+ while (1 <= RunInRootFrame && 0 <= namePropDescriptor);
486
+ }
487
+ break;
488
+ }
489
+ }
490
+ } finally {
491
+ (reentry = !1), (Error.prepareStackTrace = previousPrepareStackTrace);
317
492
  }
318
- return invokeCallback;
493
+ return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "")
494
+ ? describeBuiltInComponentFrame(previousPrepareStackTrace)
495
+ : "";
319
496
  }
320
- function mapChildren(children, func, context) {
321
- if (null == children) return children;
322
- var result = [],
323
- count = 0;
324
- mapIntoArray(children, result, "", "", function (child) {
325
- return func.call(context, child, count++);
326
- });
327
- return result;
497
+ function describeFiber(fiber, childFiber) {
498
+ switch (fiber.tag) {
499
+ case 26:
500
+ case 27:
501
+ case 5:
502
+ return describeBuiltInComponentFrame(fiber.type);
503
+ case 16:
504
+ return describeBuiltInComponentFrame("Lazy");
505
+ case 13:
506
+ return fiber.child !== childFiber && null !== childFiber
507
+ ? describeBuiltInComponentFrame("Suspense Fallback")
508
+ : describeBuiltInComponentFrame("Suspense");
509
+ case 19:
510
+ return describeBuiltInComponentFrame("SuspenseList");
511
+ case 0:
512
+ case 15:
513
+ return describeNativeComponentFrame(fiber.type, !1);
514
+ case 11:
515
+ return describeNativeComponentFrame(fiber.type.render, !1);
516
+ case 1:
517
+ return describeNativeComponentFrame(fiber.type, !0);
518
+ case 31:
519
+ return describeBuiltInComponentFrame("Activity");
520
+ default:
521
+ return "";
522
+ }
328
523
  }
329
- function lazyInitializer(payload) {
330
- if (-1 === payload._status) {
331
- var ctor = payload._result;
332
- ctor = ctor();
333
- ctor.then(
334
- function (moduleObject) {
335
- if (0 === payload._status || -1 === payload._status)
336
- (payload._status = 1), (payload._result = moduleObject);
337
- },
338
- function (error) {
339
- if (0 === payload._status || -1 === payload._status)
340
- (payload._status = 2), (payload._result = error);
341
- }
342
- );
343
- -1 === payload._status && ((payload._status = 0), (payload._result = ctor));
344
- }
345
- if (1 === payload._status) return payload._result.default;
346
- throw payload._result;
347
- }
348
- var reportGlobalError =
349
- "function" === typeof reportError
350
- ? reportError
351
- : function (error) {
352
- if (
353
- "object" === typeof window &&
354
- "function" === typeof window.ErrorEvent
355
- ) {
356
- var event = new window.ErrorEvent("error", {
357
- bubbles: !0,
358
- cancelable: !0,
359
- message:
360
- "object" === typeof error &&
361
- null !== error &&
362
- "string" === typeof error.message
363
- ? String(error.message)
364
- : String(error),
365
- error: error
366
- });
367
- if (!window.dispatchEvent(event)) return;
368
- } else if (
369
- "object" === typeof process &&
370
- "function" === typeof process.emit
371
- ) {
372
- process.emit("uncaughtException", error);
373
- return;
374
- }
375
- console.error(error);
376
- },
377
- Children = {
378
- map: mapChildren,
379
- forEach: function (children, forEachFunc, forEachContext) {
380
- mapChildren(
381
- children,
382
- function () {
383
- forEachFunc.apply(this, arguments);
384
- },
385
- forEachContext
386
- );
387
- },
388
- count: function (children) {
389
- var n = 0;
390
- mapChildren(children, function () {
391
- n++;
392
- });
393
- return n;
394
- },
395
- toArray: function (children) {
396
- return (
397
- mapChildren(children, function (child) {
398
- return child;
399
- }) || []
400
- );
401
- },
402
- only: function (children) {
403
- if (!isValidElement(children))
404
- throw Error(
405
- "React.Children.only expected to receive a single React element child."
406
- );
407
- return children;
408
- }
409
- };
410
- exports.Activity = REACT_ACTIVITY_TYPE;
411
- exports.Children = Children;
412
- exports.Component = Component;
413
- exports.Fragment = REACT_FRAGMENT_TYPE;
414
- exports.Profiler = REACT_PROFILER_TYPE;
415
- exports.PureComponent = PureComponent;
416
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
417
- exports.Suspense = REACT_SUSPENSE_TYPE;
418
- exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
419
- ReactSharedInternals;
420
- exports.__COMPILER_RUNTIME = {
421
- __proto__: null,
422
- c: function (size) {
423
- return ReactSharedInternals.H.useMemoCache(size);
424
- }
425
- };
426
- exports.cache = function (fn) {
427
- return function () {
428
- return fn.apply(null, arguments);
429
- };
430
- };
431
- exports.cacheSignal = function () {
432
- return null;
433
- };
434
- exports.cloneElement = function (element, config, children) {
435
- if (null === element || void 0 === element)
436
- throw Error(
437
- "The argument must be a React element, but you passed " + element + "."
438
- );
439
- var props = assign({}, element.props),
440
- key = element.key;
441
- if (null != config)
442
- for (propName in (void 0 !== config.key && (key = "" + config.key), config))
443
- !hasOwnProperty.call(config, propName) ||
444
- "key" === propName ||
445
- "__self" === propName ||
446
- "__source" === propName ||
447
- ("ref" === propName && void 0 === config.ref) ||
448
- (props[propName] = config[propName]);
449
- var propName = arguments.length - 2;
450
- if (1 === propName) props.children = children;
451
- else if (1 < propName) {
452
- for (var childArray = Array(propName), i = 0; i < propName; i++)
453
- childArray[i] = arguments[i + 2];
454
- props.children = childArray;
455
- }
456
- return ReactElement(element.type, key, props);
457
- };
458
- exports.createContext = function (defaultValue) {
459
- defaultValue = {
460
- $$typeof: REACT_CONTEXT_TYPE,
461
- _currentValue: defaultValue,
462
- _currentValue2: defaultValue,
463
- _threadCount: 0,
464
- Provider: null,
465
- Consumer: null
466
- };
467
- defaultValue.Provider = defaultValue;
468
- defaultValue.Consumer = {
469
- $$typeof: REACT_CONSUMER_TYPE,
470
- _context: defaultValue
471
- };
472
- return defaultValue;
473
- };
474
- exports.createElement = function (type, config, children) {
475
- var propName,
476
- props = {},
477
- key = null;
478
- if (null != config)
479
- for (propName in (void 0 !== config.key && (key = "" + config.key), config))
480
- hasOwnProperty.call(config, propName) &&
481
- "key" !== propName &&
482
- "__self" !== propName &&
483
- "__source" !== propName &&
484
- (props[propName] = config[propName]);
485
- var childrenLength = arguments.length - 2;
486
- if (1 === childrenLength) props.children = children;
487
- else if (1 < childrenLength) {
488
- for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
489
- childArray[i] = arguments[i + 2];
490
- props.children = childArray;
491
- }
492
- if (type && type.defaultProps)
493
- for (propName in ((childrenLength = type.defaultProps), childrenLength))
494
- void 0 === props[propName] &&
495
- (props[propName] = childrenLength[propName]);
496
- return ReactElement(type, key, props);
497
- };
498
- exports.createRef = function () {
499
- return { current: null };
500
- };
501
- exports.forwardRef = function (render) {
502
- return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };
503
- };
504
- exports.isValidElement = isValidElement;
505
- exports.lazy = function (ctor) {
506
- return {
507
- $$typeof: REACT_LAZY_TYPE,
508
- _payload: { _status: -1, _result: ctor },
509
- _init: lazyInitializer
510
- };
511
- };
512
- exports.memo = function (type, compare) {
513
- return {
514
- $$typeof: REACT_MEMO_TYPE,
515
- type: type,
516
- compare: void 0 === compare ? null : compare
517
- };
518
- };
519
- exports.startTransition = function (scope) {
520
- var prevTransition = ReactSharedInternals.T,
521
- currentTransition = {};
522
- ReactSharedInternals.T = currentTransition;
523
- try {
524
- var returnValue = scope(),
525
- onStartTransitionFinish = ReactSharedInternals.S;
526
- null !== onStartTransitionFinish &&
527
- onStartTransitionFinish(currentTransition, returnValue);
528
- "object" === typeof returnValue &&
529
- null !== returnValue &&
530
- "function" === typeof returnValue.then &&
531
- returnValue.then(noop, reportGlobalError);
532
- } catch (error) {
533
- reportGlobalError(error);
534
- } finally {
535
- null !== prevTransition &&
536
- null !== currentTransition.types &&
537
- (prevTransition.types = currentTransition.types),
538
- (ReactSharedInternals.T = prevTransition);
539
- }
540
- };
541
- exports.unstable_useCacheRefresh = function () {
542
- return ReactSharedInternals.H.useCacheRefresh();
543
- };
544
- exports.use = function (usable) {
545
- return ReactSharedInternals.H.use(usable);
546
- };
547
- exports.useActionState = function (action, initialState, permalink) {
548
- return ReactSharedInternals.H.useActionState(action, initialState, permalink);
549
- };
550
- exports.useCallback = function (callback, deps) {
551
- return ReactSharedInternals.H.useCallback(callback, deps);
552
- };
553
- exports.useContext = function (Context) {
554
- return ReactSharedInternals.H.useContext(Context);
555
- };
556
- exports.useDebugValue = function () {};
557
- exports.useDeferredValue = function (value, initialValue) {
558
- return ReactSharedInternals.H.useDeferredValue(value, initialValue);
559
- };
560
- exports.useEffect = function (create, deps) {
561
- return ReactSharedInternals.H.useEffect(create, deps);
562
- };
563
- exports.useEffectEvent = function (callback) {
564
- return ReactSharedInternals.H.useEffectEvent(callback);
565
- };
566
- exports.useId = function () {
567
- return ReactSharedInternals.H.useId();
568
- };
569
- exports.useImperativeHandle = function (ref, create, deps) {
570
- return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
571
- };
572
- exports.useInsertionEffect = function (create, deps) {
573
- return ReactSharedInternals.H.useInsertionEffect(create, deps);
574
- };
575
- exports.useLayoutEffect = function (create, deps) {
576
- return ReactSharedInternals.H.useLayoutEffect(create, deps);
577
- };
578
- exports.useMemo = function (create, deps) {
579
- return ReactSharedInternals.H.useMemo(create, deps);
580
- };
581
- exports.useOptimistic = function (passthrough, reducer) {
582
- return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
583
- };
584
- exports.useReducer = function (reducer, initialArg, init) {
585
- return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
586
- };
587
- exports.useRef = function (initialValue) {
588
- return ReactSharedInternals.H.useRef(initialValue);
589
- };
590
- exports.useState = function (initialState) {
591
- return ReactSharedInternals.H.useState(initialState);
592
- };
593
- exports.useSyncExternalStore = function (
594
- subscribe,
595
- getSnapshot,
596
- getServerSnapshot
597
- ) {
598
- return ReactSharedInternals.H.useSyncExternalStore(
599
- subscribe,
600
- getSnapshot,
601
- getServerSnapshot
602
- );
603
- };
604
- exports.useTransition = function () {
605
- return ReactSharedInternals.H.useTransition();
606
- };
607
- exports.version = "19.2.0";
608
-
609
-
610
- /***/ }),
611
-
612
- /***/ 593:
613
- /*!********************************************************************************************************************!*\
614
- !*** ./node_modules/.pnpm/react-dom@19.2.0_react@19.2.0/node_modules/react-dom/cjs/react-dom-client.production.js ***!
615
- \********************************************************************************************************************/
616
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
617
-
618
- /**
619
- * @license React
620
- * react-dom-client.production.js
621
- *
622
- * Copyright (c) Meta Platforms, Inc. and affiliates.
623
- *
624
- * This source code is licensed under the MIT license found in the
625
- * LICENSE file in the root directory of this source tree.
626
- */
627
-
628
- /*
629
- Modernizr 3.0.0pre (Custom Build) | MIT
630
- */
631
-
632
- var Scheduler = __webpack_require__(/*! scheduler */ 180),
633
- React = __webpack_require__(/*! react */ 873),
634
- ReactDOM = __webpack_require__(/*! react-dom */ 915);
635
- function formatProdErrorMessage(code) {
636
- var url = "https://react.dev/errors/" + code;
637
- if (1 < arguments.length) {
638
- url += "?args[]=" + encodeURIComponent(arguments[1]);
639
- for (var i = 2; i < arguments.length; i++)
640
- url += "&args[]=" + encodeURIComponent(arguments[i]);
641
- }
642
- return (
643
- "Minified React error #" +
644
- code +
645
- "; visit " +
646
- url +
647
- " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
648
- );
649
- }
650
- function isValidContainer(node) {
651
- return !(
652
- !node ||
653
- (1 !== node.nodeType && 9 !== node.nodeType && 11 !== node.nodeType)
654
- );
655
- }
656
- function getNearestMountedFiber(fiber) {
657
- var node = fiber,
658
- nearestMounted = fiber;
659
- if (fiber.alternate) for (; node.return; ) node = node.return;
660
- else {
661
- fiber = node;
662
- do
663
- (node = fiber),
664
- 0 !== (node.flags & 4098) && (nearestMounted = node.return),
665
- (fiber = node.return);
666
- while (fiber);
667
- }
668
- return 3 === node.tag ? nearestMounted : null;
669
- }
670
- function getSuspenseInstanceFromFiber(fiber) {
671
- if (13 === fiber.tag) {
672
- var suspenseState = fiber.memoizedState;
673
- null === suspenseState &&
674
- ((fiber = fiber.alternate),
675
- null !== fiber && (suspenseState = fiber.memoizedState));
676
- if (null !== suspenseState) return suspenseState.dehydrated;
677
- }
678
- return null;
679
- }
680
- function getActivityInstanceFromFiber(fiber) {
681
- if (31 === fiber.tag) {
682
- var activityState = fiber.memoizedState;
683
- null === activityState &&
684
- ((fiber = fiber.alternate),
685
- null !== fiber && (activityState = fiber.memoizedState));
686
- if (null !== activityState) return activityState.dehydrated;
687
- }
688
- return null;
689
- }
690
- function assertIsMounted(fiber) {
691
- if (getNearestMountedFiber(fiber) !== fiber)
692
- throw Error(formatProdErrorMessage(188));
693
- }
694
- function findCurrentFiberUsingSlowPath(fiber) {
695
- var alternate = fiber.alternate;
696
- if (!alternate) {
697
- alternate = getNearestMountedFiber(fiber);
698
- if (null === alternate) throw Error(formatProdErrorMessage(188));
699
- return alternate !== fiber ? null : fiber;
700
- }
701
- for (var a = fiber, b = alternate; ; ) {
702
- var parentA = a.return;
703
- if (null === parentA) break;
704
- var parentB = parentA.alternate;
705
- if (null === parentB) {
706
- b = parentA.return;
707
- if (null !== b) {
708
- a = b;
709
- continue;
710
- }
711
- break;
712
- }
713
- if (parentA.child === parentB.child) {
714
- for (parentB = parentA.child; parentB; ) {
715
- if (parentB === a) return assertIsMounted(parentA), fiber;
716
- if (parentB === b) return assertIsMounted(parentA), alternate;
717
- parentB = parentB.sibling;
718
- }
719
- throw Error(formatProdErrorMessage(188));
720
- }
721
- if (a.return !== b.return) (a = parentA), (b = parentB);
722
- else {
723
- for (var didFindChild = !1, child$0 = parentA.child; child$0; ) {
724
- if (child$0 === a) {
725
- didFindChild = !0;
726
- a = parentA;
727
- b = parentB;
728
- break;
729
- }
730
- if (child$0 === b) {
731
- didFindChild = !0;
732
- b = parentA;
733
- a = parentB;
734
- break;
735
- }
736
- child$0 = child$0.sibling;
737
- }
738
- if (!didFindChild) {
739
- for (child$0 = parentB.child; child$0; ) {
740
- if (child$0 === a) {
741
- didFindChild = !0;
742
- a = parentB;
743
- b = parentA;
744
- break;
745
- }
746
- if (child$0 === b) {
747
- didFindChild = !0;
748
- b = parentB;
749
- a = parentA;
750
- break;
751
- }
752
- child$0 = child$0.sibling;
753
- }
754
- if (!didFindChild) throw Error(formatProdErrorMessage(189));
755
- }
756
- }
757
- if (a.alternate !== b) throw Error(formatProdErrorMessage(190));
758
- }
759
- if (3 !== a.tag) throw Error(formatProdErrorMessage(188));
760
- return a.stateNode.current === a ? fiber : alternate;
761
- }
762
- function findCurrentHostFiberImpl(node) {
763
- var tag = node.tag;
764
- if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node;
765
- for (node = node.child; null !== node; ) {
766
- tag = findCurrentHostFiberImpl(node);
767
- if (null !== tag) return tag;
768
- node = node.sibling;
769
- }
770
- return null;
771
- }
772
- var assign = Object.assign,
773
- REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"),
774
- REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
775
- REACT_PORTAL_TYPE = Symbol.for("react.portal"),
776
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
777
- REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
778
- REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
779
- REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
780
- REACT_CONTEXT_TYPE = Symbol.for("react.context"),
781
- REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
782
- REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
783
- REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
784
- REACT_MEMO_TYPE = Symbol.for("react.memo"),
785
- REACT_LAZY_TYPE = Symbol.for("react.lazy");
786
- Symbol.for("react.scope");
787
- var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
788
- Symbol.for("react.legacy_hidden");
789
- Symbol.for("react.tracing_marker");
790
- var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
791
- Symbol.for("react.view_transition");
792
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
793
- function getIteratorFn(maybeIterable) {
794
- if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
795
- maybeIterable =
796
- (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
797
- maybeIterable["@@iterator"];
798
- return "function" === typeof maybeIterable ? maybeIterable : null;
799
- }
800
- var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
801
- function getComponentNameFromType(type) {
802
- if (null == type) return null;
803
- if ("function" === typeof type)
804
- return type.$$typeof === REACT_CLIENT_REFERENCE
805
- ? null
806
- : type.displayName || type.name || null;
807
- if ("string" === typeof type) return type;
808
- switch (type) {
809
- case REACT_FRAGMENT_TYPE:
810
- return "Fragment";
811
- case REACT_PROFILER_TYPE:
812
- return "Profiler";
813
- case REACT_STRICT_MODE_TYPE:
814
- return "StrictMode";
815
- case REACT_SUSPENSE_TYPE:
816
- return "Suspense";
817
- case REACT_SUSPENSE_LIST_TYPE:
818
- return "SuspenseList";
819
- case REACT_ACTIVITY_TYPE:
820
- return "Activity";
821
- }
822
- if ("object" === typeof type)
823
- switch (type.$$typeof) {
824
- case REACT_PORTAL_TYPE:
825
- return "Portal";
826
- case REACT_CONTEXT_TYPE:
827
- return type.displayName || "Context";
828
- case REACT_CONSUMER_TYPE:
829
- return (type._context.displayName || "Context") + ".Consumer";
830
- case REACT_FORWARD_REF_TYPE:
831
- var innerType = type.render;
832
- type = type.displayName;
833
- type ||
834
- ((type = innerType.displayName || innerType.name || ""),
835
- (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
836
- return type;
837
- case REACT_MEMO_TYPE:
838
- return (
839
- (innerType = type.displayName || null),
840
- null !== innerType
841
- ? innerType
842
- : getComponentNameFromType(type.type) || "Memo"
843
- );
844
- case REACT_LAZY_TYPE:
845
- innerType = type._payload;
846
- type = type._init;
847
- try {
848
- return getComponentNameFromType(type(innerType));
849
- } catch (x) {}
850
- }
851
- return null;
852
- }
853
- var isArrayImpl = Array.isArray,
854
- ReactSharedInternals =
855
- React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
856
- ReactDOMSharedInternals =
857
- ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
858
- sharedNotPendingObject = {
859
- pending: !1,
860
- data: null,
861
- method: null,
862
- action: null
863
- },
864
- valueStack = [],
865
- index = -1;
866
- function createCursor(defaultValue) {
867
- return { current: defaultValue };
868
- }
869
- function pop(cursor) {
870
- 0 > index ||
871
- ((cursor.current = valueStack[index]), (valueStack[index] = null), index--);
872
- }
873
- function push(cursor, value) {
874
- index++;
875
- valueStack[index] = cursor.current;
876
- cursor.current = value;
877
- }
878
- var contextStackCursor = createCursor(null),
879
- contextFiberStackCursor = createCursor(null),
880
- rootInstanceStackCursor = createCursor(null),
881
- hostTransitionProviderCursor = createCursor(null);
882
- function pushHostContainer(fiber, nextRootInstance) {
883
- push(rootInstanceStackCursor, nextRootInstance);
884
- push(contextFiberStackCursor, fiber);
885
- push(contextStackCursor, null);
886
- switch (nextRootInstance.nodeType) {
887
- case 9:
888
- case 11:
889
- fiber = (fiber = nextRootInstance.documentElement)
890
- ? (fiber = fiber.namespaceURI)
891
- ? getOwnHostContext(fiber)
892
- : 0
893
- : 0;
894
- break;
895
- default:
896
- if (
897
- ((fiber = nextRootInstance.tagName),
898
- (nextRootInstance = nextRootInstance.namespaceURI))
899
- )
900
- (nextRootInstance = getOwnHostContext(nextRootInstance)),
901
- (fiber = getChildHostContextProd(nextRootInstance, fiber));
902
- else
903
- switch (fiber) {
904
- case "svg":
905
- fiber = 1;
906
- break;
907
- case "math":
908
- fiber = 2;
909
- break;
910
- default:
911
- fiber = 0;
912
- }
913
- }
914
- pop(contextStackCursor);
915
- push(contextStackCursor, fiber);
916
- }
917
- function popHostContainer() {
918
- pop(contextStackCursor);
919
- pop(contextFiberStackCursor);
920
- pop(rootInstanceStackCursor);
921
- }
922
- function pushHostContext(fiber) {
923
- null !== fiber.memoizedState && push(hostTransitionProviderCursor, fiber);
924
- var context = contextStackCursor.current;
925
- var JSCompiler_inline_result = getChildHostContextProd(context, fiber.type);
926
- context !== JSCompiler_inline_result &&
927
- (push(contextFiberStackCursor, fiber),
928
- push(contextStackCursor, JSCompiler_inline_result));
929
- }
930
- function popHostContext(fiber) {
931
- contextFiberStackCursor.current === fiber &&
932
- (pop(contextStackCursor), pop(contextFiberStackCursor));
933
- hostTransitionProviderCursor.current === fiber &&
934
- (pop(hostTransitionProviderCursor),
935
- (HostTransitionContext._currentValue = sharedNotPendingObject));
936
- }
937
- var prefix, suffix;
938
- function describeBuiltInComponentFrame(name) {
939
- if (void 0 === prefix)
940
- try {
941
- throw Error();
942
- } catch (x) {
943
- var match = x.stack.trim().match(/\n( *(at )?)/);
944
- prefix = (match && match[1]) || "";
945
- suffix =
946
- -1 < x.stack.indexOf("\n at")
947
- ? " (<anonymous>)"
948
- : -1 < x.stack.indexOf("@")
949
- ? "@unknown:0:0"
950
- : "";
951
- }
952
- return "\n" + prefix + name + suffix;
953
- }
954
- var reentry = !1;
955
- function describeNativeComponentFrame(fn, construct) {
956
- if (!fn || reentry) return "";
957
- reentry = !0;
958
- var previousPrepareStackTrace = Error.prepareStackTrace;
959
- Error.prepareStackTrace = void 0;
960
- try {
961
- var RunInRootFrame = {
962
- DetermineComponentFrameRoot: function () {
963
- try {
964
- if (construct) {
965
- var Fake = function () {
966
- throw Error();
967
- };
968
- Object.defineProperty(Fake.prototype, "props", {
969
- set: function () {
970
- throw Error();
971
- }
972
- });
973
- if ("object" === typeof Reflect && Reflect.construct) {
974
- try {
975
- Reflect.construct(Fake, []);
976
- } catch (x) {
977
- var control = x;
978
- }
979
- Reflect.construct(fn, [], Fake);
980
- } else {
981
- try {
982
- Fake.call();
983
- } catch (x$1) {
984
- control = x$1;
985
- }
986
- fn.call(Fake.prototype);
987
- }
988
- } else {
989
- try {
990
- throw Error();
991
- } catch (x$2) {
992
- control = x$2;
993
- }
994
- (Fake = fn()) &&
995
- "function" === typeof Fake.catch &&
996
- Fake.catch(function () {});
997
- }
998
- } catch (sample) {
999
- if (sample && control && "string" === typeof sample.stack)
1000
- return [sample.stack, control.stack];
1001
- }
1002
- return [null, null];
1003
- }
1004
- };
1005
- RunInRootFrame.DetermineComponentFrameRoot.displayName =
1006
- "DetermineComponentFrameRoot";
1007
- var namePropDescriptor = Object.getOwnPropertyDescriptor(
1008
- RunInRootFrame.DetermineComponentFrameRoot,
1009
- "name"
1010
- );
1011
- namePropDescriptor &&
1012
- namePropDescriptor.configurable &&
1013
- Object.defineProperty(
1014
- RunInRootFrame.DetermineComponentFrameRoot,
1015
- "name",
1016
- { value: "DetermineComponentFrameRoot" }
1017
- );
1018
- var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(),
1019
- sampleStack = _RunInRootFrame$Deter[0],
1020
- controlStack = _RunInRootFrame$Deter[1];
1021
- if (sampleStack && controlStack) {
1022
- var sampleLines = sampleStack.split("\n"),
1023
- controlLines = controlStack.split("\n");
1024
- for (
1025
- namePropDescriptor = RunInRootFrame = 0;
1026
- RunInRootFrame < sampleLines.length &&
1027
- !sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot");
1028
-
1029
- )
1030
- RunInRootFrame++;
1031
- for (
1032
- ;
1033
- namePropDescriptor < controlLines.length &&
1034
- !controlLines[namePropDescriptor].includes(
1035
- "DetermineComponentFrameRoot"
1036
- );
1037
-
1038
- )
1039
- namePropDescriptor++;
1040
- if (
1041
- RunInRootFrame === sampleLines.length ||
1042
- namePropDescriptor === controlLines.length
1043
- )
1044
- for (
1045
- RunInRootFrame = sampleLines.length - 1,
1046
- namePropDescriptor = controlLines.length - 1;
1047
- 1 <= RunInRootFrame &&
1048
- 0 <= namePropDescriptor &&
1049
- sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor];
1050
-
1051
- )
1052
- namePropDescriptor--;
1053
- for (
1054
- ;
1055
- 1 <= RunInRootFrame && 0 <= namePropDescriptor;
1056
- RunInRootFrame--, namePropDescriptor--
1057
- )
1058
- if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {
1059
- if (1 !== RunInRootFrame || 1 !== namePropDescriptor) {
1060
- do
1061
- if (
1062
- (RunInRootFrame--,
1063
- namePropDescriptor--,
1064
- 0 > namePropDescriptor ||
1065
- sampleLines[RunInRootFrame] !==
1066
- controlLines[namePropDescriptor])
1067
- ) {
1068
- var frame =
1069
- "\n" +
1070
- sampleLines[RunInRootFrame].replace(" at new ", " at ");
1071
- fn.displayName &&
1072
- frame.includes("<anonymous>") &&
1073
- (frame = frame.replace("<anonymous>", fn.displayName));
1074
- return frame;
1075
- }
1076
- while (1 <= RunInRootFrame && 0 <= namePropDescriptor);
1077
- }
1078
- break;
1079
- }
1080
- }
1081
- } finally {
1082
- (reentry = !1), (Error.prepareStackTrace = previousPrepareStackTrace);
1083
- }
1084
- return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "")
1085
- ? describeBuiltInComponentFrame(previousPrepareStackTrace)
1086
- : "";
1087
- }
1088
- function describeFiber(fiber, childFiber) {
1089
- switch (fiber.tag) {
1090
- case 26:
1091
- case 27:
1092
- case 5:
1093
- return describeBuiltInComponentFrame(fiber.type);
1094
- case 16:
1095
- return describeBuiltInComponentFrame("Lazy");
1096
- case 13:
1097
- return fiber.child !== childFiber && null !== childFiber
1098
- ? describeBuiltInComponentFrame("Suspense Fallback")
1099
- : describeBuiltInComponentFrame("Suspense");
1100
- case 19:
1101
- return describeBuiltInComponentFrame("SuspenseList");
1102
- case 0:
1103
- case 15:
1104
- return describeNativeComponentFrame(fiber.type, !1);
1105
- case 11:
1106
- return describeNativeComponentFrame(fiber.type.render, !1);
1107
- case 1:
1108
- return describeNativeComponentFrame(fiber.type, !0);
1109
- case 31:
1110
- return describeBuiltInComponentFrame("Activity");
1111
- default:
1112
- return "";
1113
- }
1114
- }
1115
- function getStackByFiberInDevAndProd(workInProgress) {
1116
- try {
1117
- var info = "",
1118
- previous = null;
1119
- do
1120
- (info += describeFiber(workInProgress, previous)),
1121
- (previous = workInProgress),
1122
- (workInProgress = workInProgress.return);
1123
- while (workInProgress);
1124
- return info;
1125
- } catch (x) {
1126
- return "\nError generating stack: " + x.message + "\n" + x.stack;
524
+ function getStackByFiberInDevAndProd(workInProgress) {
525
+ try {
526
+ var info = "",
527
+ previous = null;
528
+ do
529
+ (info += describeFiber(workInProgress, previous)),
530
+ (previous = workInProgress),
531
+ (workInProgress = workInProgress.return);
532
+ while (workInProgress);
533
+ return info;
534
+ } catch (x) {
535
+ return "\nError generating stack: " + x.message + "\n" + x.stack;
1127
536
  }
1128
537
  }
1129
538
  var hasOwnProperty = Object.prototype.hasOwnProperty,
@@ -15876,803 +15285,1153 @@ function attemptHydrationAtCurrentPriority(fiber) {
15876
15285
  markRetryLaneIfNotHydrated(fiber, lane);
15877
15286
  }
15878
15287
  }
15879
- var _enabled = !0;
15880
- function dispatchDiscreteEvent(
15881
- domEventName,
15882
- eventSystemFlags,
15883
- container,
15884
- nativeEvent
15885
- ) {
15886
- var prevTransition = ReactSharedInternals.T;
15887
- ReactSharedInternals.T = null;
15888
- var previousPriority = ReactDOMSharedInternals.p;
15889
- try {
15890
- (ReactDOMSharedInternals.p = 2),
15891
- dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
15892
- } finally {
15893
- (ReactDOMSharedInternals.p = previousPriority),
15894
- (ReactSharedInternals.T = prevTransition);
15288
+ var _enabled = !0;
15289
+ function dispatchDiscreteEvent(
15290
+ domEventName,
15291
+ eventSystemFlags,
15292
+ container,
15293
+ nativeEvent
15294
+ ) {
15295
+ var prevTransition = ReactSharedInternals.T;
15296
+ ReactSharedInternals.T = null;
15297
+ var previousPriority = ReactDOMSharedInternals.p;
15298
+ try {
15299
+ (ReactDOMSharedInternals.p = 2),
15300
+ dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
15301
+ } finally {
15302
+ (ReactDOMSharedInternals.p = previousPriority),
15303
+ (ReactSharedInternals.T = prevTransition);
15304
+ }
15305
+ }
15306
+ function dispatchContinuousEvent(
15307
+ domEventName,
15308
+ eventSystemFlags,
15309
+ container,
15310
+ nativeEvent
15311
+ ) {
15312
+ var prevTransition = ReactSharedInternals.T;
15313
+ ReactSharedInternals.T = null;
15314
+ var previousPriority = ReactDOMSharedInternals.p;
15315
+ try {
15316
+ (ReactDOMSharedInternals.p = 8),
15317
+ dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
15318
+ } finally {
15319
+ (ReactDOMSharedInternals.p = previousPriority),
15320
+ (ReactSharedInternals.T = prevTransition);
15321
+ }
15322
+ }
15323
+ function dispatchEvent(
15324
+ domEventName,
15325
+ eventSystemFlags,
15326
+ targetContainer,
15327
+ nativeEvent
15328
+ ) {
15329
+ if (_enabled) {
15330
+ var blockedOn = findInstanceBlockingEvent(nativeEvent);
15331
+ if (null === blockedOn)
15332
+ dispatchEventForPluginEventSystem(
15333
+ domEventName,
15334
+ eventSystemFlags,
15335
+ nativeEvent,
15336
+ return_targetInst,
15337
+ targetContainer
15338
+ ),
15339
+ clearIfContinuousEvent(domEventName, nativeEvent);
15340
+ else if (
15341
+ queueIfContinuousEvent(
15342
+ blockedOn,
15343
+ domEventName,
15344
+ eventSystemFlags,
15345
+ targetContainer,
15346
+ nativeEvent
15347
+ )
15348
+ )
15349
+ nativeEvent.stopPropagation();
15350
+ else if (
15351
+ (clearIfContinuousEvent(domEventName, nativeEvent),
15352
+ eventSystemFlags & 4 &&
15353
+ -1 < discreteReplayableEvents.indexOf(domEventName))
15354
+ ) {
15355
+ for (; null !== blockedOn; ) {
15356
+ var fiber = getInstanceFromNode(blockedOn);
15357
+ if (null !== fiber)
15358
+ switch (fiber.tag) {
15359
+ case 3:
15360
+ fiber = fiber.stateNode;
15361
+ if (fiber.current.memoizedState.isDehydrated) {
15362
+ var lanes = getHighestPriorityLanes(fiber.pendingLanes);
15363
+ if (0 !== lanes) {
15364
+ var root = fiber;
15365
+ root.pendingLanes |= 2;
15366
+ for (root.entangledLanes |= 2; lanes; ) {
15367
+ var lane = 1 << (31 - clz32(lanes));
15368
+ root.entanglements[1] |= lane;
15369
+ lanes &= ~lane;
15370
+ }
15371
+ ensureRootIsScheduled(fiber);
15372
+ 0 === (executionContext & 6) &&
15373
+ ((workInProgressRootRenderTargetTime = now() + 500),
15374
+ flushSyncWorkAcrossRoots_impl(0, !1));
15375
+ }
15376
+ }
15377
+ break;
15378
+ case 31:
15379
+ case 13:
15380
+ (root = enqueueConcurrentRenderForLane(fiber, 2)),
15381
+ null !== root && scheduleUpdateOnFiber(root, fiber, 2),
15382
+ flushSyncWork$1(),
15383
+ markRetryLaneIfNotHydrated(fiber, 2);
15384
+ }
15385
+ fiber = findInstanceBlockingEvent(nativeEvent);
15386
+ null === fiber &&
15387
+ dispatchEventForPluginEventSystem(
15388
+ domEventName,
15389
+ eventSystemFlags,
15390
+ nativeEvent,
15391
+ return_targetInst,
15392
+ targetContainer
15393
+ );
15394
+ if (fiber === blockedOn) break;
15395
+ blockedOn = fiber;
15396
+ }
15397
+ null !== blockedOn && nativeEvent.stopPropagation();
15398
+ } else
15399
+ dispatchEventForPluginEventSystem(
15400
+ domEventName,
15401
+ eventSystemFlags,
15402
+ nativeEvent,
15403
+ null,
15404
+ targetContainer
15405
+ );
15406
+ }
15407
+ }
15408
+ function findInstanceBlockingEvent(nativeEvent) {
15409
+ nativeEvent = getEventTarget(nativeEvent);
15410
+ return findInstanceBlockingTarget(nativeEvent);
15411
+ }
15412
+ var return_targetInst = null;
15413
+ function findInstanceBlockingTarget(targetNode) {
15414
+ return_targetInst = null;
15415
+ targetNode = getClosestInstanceFromNode(targetNode);
15416
+ if (null !== targetNode) {
15417
+ var nearestMounted = getNearestMountedFiber(targetNode);
15418
+ if (null === nearestMounted) targetNode = null;
15419
+ else {
15420
+ var tag = nearestMounted.tag;
15421
+ if (13 === tag) {
15422
+ targetNode = getSuspenseInstanceFromFiber(nearestMounted);
15423
+ if (null !== targetNode) return targetNode;
15424
+ targetNode = null;
15425
+ } else if (31 === tag) {
15426
+ targetNode = getActivityInstanceFromFiber(nearestMounted);
15427
+ if (null !== targetNode) return targetNode;
15428
+ targetNode = null;
15429
+ } else if (3 === tag) {
15430
+ if (nearestMounted.stateNode.current.memoizedState.isDehydrated)
15431
+ return 3 === nearestMounted.tag
15432
+ ? nearestMounted.stateNode.containerInfo
15433
+ : null;
15434
+ targetNode = null;
15435
+ } else nearestMounted !== targetNode && (targetNode = null);
15436
+ }
15437
+ }
15438
+ return_targetInst = targetNode;
15439
+ return null;
15440
+ }
15441
+ function getEventPriority(domEventName) {
15442
+ switch (domEventName) {
15443
+ case "beforetoggle":
15444
+ case "cancel":
15445
+ case "click":
15446
+ case "close":
15447
+ case "contextmenu":
15448
+ case "copy":
15449
+ case "cut":
15450
+ case "auxclick":
15451
+ case "dblclick":
15452
+ case "dragend":
15453
+ case "dragstart":
15454
+ case "drop":
15455
+ case "focusin":
15456
+ case "focusout":
15457
+ case "input":
15458
+ case "invalid":
15459
+ case "keydown":
15460
+ case "keypress":
15461
+ case "keyup":
15462
+ case "mousedown":
15463
+ case "mouseup":
15464
+ case "paste":
15465
+ case "pause":
15466
+ case "play":
15467
+ case "pointercancel":
15468
+ case "pointerdown":
15469
+ case "pointerup":
15470
+ case "ratechange":
15471
+ case "reset":
15472
+ case "resize":
15473
+ case "seeked":
15474
+ case "submit":
15475
+ case "toggle":
15476
+ case "touchcancel":
15477
+ case "touchend":
15478
+ case "touchstart":
15479
+ case "volumechange":
15480
+ case "change":
15481
+ case "selectionchange":
15482
+ case "textInput":
15483
+ case "compositionstart":
15484
+ case "compositionend":
15485
+ case "compositionupdate":
15486
+ case "beforeblur":
15487
+ case "afterblur":
15488
+ case "beforeinput":
15489
+ case "blur":
15490
+ case "fullscreenchange":
15491
+ case "focus":
15492
+ case "hashchange":
15493
+ case "popstate":
15494
+ case "select":
15495
+ case "selectstart":
15496
+ return 2;
15497
+ case "drag":
15498
+ case "dragenter":
15499
+ case "dragexit":
15500
+ case "dragleave":
15501
+ case "dragover":
15502
+ case "mousemove":
15503
+ case "mouseout":
15504
+ case "mouseover":
15505
+ case "pointermove":
15506
+ case "pointerout":
15507
+ case "pointerover":
15508
+ case "scroll":
15509
+ case "touchmove":
15510
+ case "wheel":
15511
+ case "mouseenter":
15512
+ case "mouseleave":
15513
+ case "pointerenter":
15514
+ case "pointerleave":
15515
+ return 8;
15516
+ case "message":
15517
+ switch (getCurrentPriorityLevel()) {
15518
+ case ImmediatePriority:
15519
+ return 2;
15520
+ case UserBlockingPriority:
15521
+ return 8;
15522
+ case NormalPriority$1:
15523
+ case LowPriority:
15524
+ return 32;
15525
+ case IdlePriority:
15526
+ return 268435456;
15527
+ default:
15528
+ return 32;
15529
+ }
15530
+ default:
15531
+ return 32;
15532
+ }
15533
+ }
15534
+ var hasScheduledReplayAttempt = !1,
15535
+ queuedFocus = null,
15536
+ queuedDrag = null,
15537
+ queuedMouse = null,
15538
+ queuedPointers = new Map(),
15539
+ queuedPointerCaptures = new Map(),
15540
+ queuedExplicitHydrationTargets = [],
15541
+ discreteReplayableEvents =
15542
+ "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(
15543
+ " "
15544
+ );
15545
+ function clearIfContinuousEvent(domEventName, nativeEvent) {
15546
+ switch (domEventName) {
15547
+ case "focusin":
15548
+ case "focusout":
15549
+ queuedFocus = null;
15550
+ break;
15551
+ case "dragenter":
15552
+ case "dragleave":
15553
+ queuedDrag = null;
15554
+ break;
15555
+ case "mouseover":
15556
+ case "mouseout":
15557
+ queuedMouse = null;
15558
+ break;
15559
+ case "pointerover":
15560
+ case "pointerout":
15561
+ queuedPointers.delete(nativeEvent.pointerId);
15562
+ break;
15563
+ case "gotpointercapture":
15564
+ case "lostpointercapture":
15565
+ queuedPointerCaptures.delete(nativeEvent.pointerId);
15895
15566
  }
15896
15567
  }
15897
- function dispatchContinuousEvent(
15568
+ function accumulateOrCreateContinuousQueuedReplayableEvent(
15569
+ existingQueuedEvent,
15570
+ blockedOn,
15898
15571
  domEventName,
15899
15572
  eventSystemFlags,
15900
- container,
15573
+ targetContainer,
15901
15574
  nativeEvent
15902
15575
  ) {
15903
- var prevTransition = ReactSharedInternals.T;
15904
- ReactSharedInternals.T = null;
15905
- var previousPriority = ReactDOMSharedInternals.p;
15906
- try {
15907
- (ReactDOMSharedInternals.p = 8),
15908
- dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
15909
- } finally {
15910
- (ReactDOMSharedInternals.p = previousPriority),
15911
- (ReactSharedInternals.T = prevTransition);
15912
- }
15576
+ if (
15577
+ null === existingQueuedEvent ||
15578
+ existingQueuedEvent.nativeEvent !== nativeEvent
15579
+ )
15580
+ return (
15581
+ (existingQueuedEvent = {
15582
+ blockedOn: blockedOn,
15583
+ domEventName: domEventName,
15584
+ eventSystemFlags: eventSystemFlags,
15585
+ nativeEvent: nativeEvent,
15586
+ targetContainers: [targetContainer]
15587
+ }),
15588
+ null !== blockedOn &&
15589
+ ((blockedOn = getInstanceFromNode(blockedOn)),
15590
+ null !== blockedOn && attemptContinuousHydration(blockedOn)),
15591
+ existingQueuedEvent
15592
+ );
15593
+ existingQueuedEvent.eventSystemFlags |= eventSystemFlags;
15594
+ blockedOn = existingQueuedEvent.targetContainers;
15595
+ null !== targetContainer &&
15596
+ -1 === blockedOn.indexOf(targetContainer) &&
15597
+ blockedOn.push(targetContainer);
15598
+ return existingQueuedEvent;
15913
15599
  }
15914
- function dispatchEvent(
15600
+ function queueIfContinuousEvent(
15601
+ blockedOn,
15915
15602
  domEventName,
15916
15603
  eventSystemFlags,
15917
15604
  targetContainer,
15918
15605
  nativeEvent
15919
15606
  ) {
15920
- if (_enabled) {
15921
- var blockedOn = findInstanceBlockingEvent(nativeEvent);
15922
- if (null === blockedOn)
15923
- dispatchEventForPluginEventSystem(
15924
- domEventName,
15925
- eventSystemFlags,
15926
- nativeEvent,
15927
- return_targetInst,
15928
- targetContainer
15929
- ),
15930
- clearIfContinuousEvent(domEventName, nativeEvent);
15931
- else if (
15932
- queueIfContinuousEvent(
15933
- blockedOn,
15934
- domEventName,
15935
- eventSystemFlags,
15936
- targetContainer,
15937
- nativeEvent
15938
- )
15939
- )
15940
- nativeEvent.stopPropagation();
15941
- else if (
15942
- (clearIfContinuousEvent(domEventName, nativeEvent),
15943
- eventSystemFlags & 4 &&
15944
- -1 < discreteReplayableEvents.indexOf(domEventName))
15945
- ) {
15946
- for (; null !== blockedOn; ) {
15947
- var fiber = getInstanceFromNode(blockedOn);
15948
- if (null !== fiber)
15949
- switch (fiber.tag) {
15950
- case 3:
15951
- fiber = fiber.stateNode;
15952
- if (fiber.current.memoizedState.isDehydrated) {
15953
- var lanes = getHighestPriorityLanes(fiber.pendingLanes);
15954
- if (0 !== lanes) {
15955
- var root = fiber;
15956
- root.pendingLanes |= 2;
15957
- for (root.entangledLanes |= 2; lanes; ) {
15958
- var lane = 1 << (31 - clz32(lanes));
15959
- root.entanglements[1] |= lane;
15960
- lanes &= ~lane;
15961
- }
15962
- ensureRootIsScheduled(fiber);
15963
- 0 === (executionContext & 6) &&
15964
- ((workInProgressRootRenderTargetTime = now() + 500),
15965
- flushSyncWorkAcrossRoots_impl(0, !1));
15966
- }
15967
- }
15968
- break;
15969
- case 31:
15970
- case 13:
15971
- (root = enqueueConcurrentRenderForLane(fiber, 2)),
15972
- null !== root && scheduleUpdateOnFiber(root, fiber, 2),
15973
- flushSyncWork$1(),
15974
- markRetryLaneIfNotHydrated(fiber, 2);
15975
- }
15976
- fiber = findInstanceBlockingEvent(nativeEvent);
15977
- null === fiber &&
15978
- dispatchEventForPluginEventSystem(
15607
+ switch (domEventName) {
15608
+ case "focusin":
15609
+ return (
15610
+ (queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(
15611
+ queuedFocus,
15612
+ blockedOn,
15613
+ domEventName,
15614
+ eventSystemFlags,
15615
+ targetContainer,
15616
+ nativeEvent
15617
+ )),
15618
+ !0
15619
+ );
15620
+ case "dragenter":
15621
+ return (
15622
+ (queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(
15623
+ queuedDrag,
15624
+ blockedOn,
15625
+ domEventName,
15626
+ eventSystemFlags,
15627
+ targetContainer,
15628
+ nativeEvent
15629
+ )),
15630
+ !0
15631
+ );
15632
+ case "mouseover":
15633
+ return (
15634
+ (queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(
15635
+ queuedMouse,
15636
+ blockedOn,
15637
+ domEventName,
15638
+ eventSystemFlags,
15639
+ targetContainer,
15640
+ nativeEvent
15641
+ )),
15642
+ !0
15643
+ );
15644
+ case "pointerover":
15645
+ var pointerId = nativeEvent.pointerId;
15646
+ queuedPointers.set(
15647
+ pointerId,
15648
+ accumulateOrCreateContinuousQueuedReplayableEvent(
15649
+ queuedPointers.get(pointerId) || null,
15650
+ blockedOn,
15651
+ domEventName,
15652
+ eventSystemFlags,
15653
+ targetContainer,
15654
+ nativeEvent
15655
+ )
15656
+ );
15657
+ return !0;
15658
+ case "gotpointercapture":
15659
+ return (
15660
+ (pointerId = nativeEvent.pointerId),
15661
+ queuedPointerCaptures.set(
15662
+ pointerId,
15663
+ accumulateOrCreateContinuousQueuedReplayableEvent(
15664
+ queuedPointerCaptures.get(pointerId) || null,
15665
+ blockedOn,
15979
15666
  domEventName,
15980
15667
  eventSystemFlags,
15981
- nativeEvent,
15982
- return_targetInst,
15983
- targetContainer
15984
- );
15985
- if (fiber === blockedOn) break;
15986
- blockedOn = fiber;
15668
+ targetContainer,
15669
+ nativeEvent
15670
+ )
15671
+ ),
15672
+ !0
15673
+ );
15674
+ }
15675
+ return !1;
15676
+ }
15677
+ function attemptExplicitHydrationTarget(queuedTarget) {
15678
+ var targetInst = getClosestInstanceFromNode(queuedTarget.target);
15679
+ if (null !== targetInst) {
15680
+ var nearestMounted = getNearestMountedFiber(targetInst);
15681
+ if (null !== nearestMounted)
15682
+ if (((targetInst = nearestMounted.tag), 13 === targetInst)) {
15683
+ if (
15684
+ ((targetInst = getSuspenseInstanceFromFiber(nearestMounted)),
15685
+ null !== targetInst)
15686
+ ) {
15687
+ queuedTarget.blockedOn = targetInst;
15688
+ runWithPriority(queuedTarget.priority, function () {
15689
+ attemptHydrationAtCurrentPriority(nearestMounted);
15690
+ });
15691
+ return;
15692
+ }
15693
+ } else if (31 === targetInst) {
15694
+ if (
15695
+ ((targetInst = getActivityInstanceFromFiber(nearestMounted)),
15696
+ null !== targetInst)
15697
+ ) {
15698
+ queuedTarget.blockedOn = targetInst;
15699
+ runWithPriority(queuedTarget.priority, function () {
15700
+ attemptHydrationAtCurrentPriority(nearestMounted);
15701
+ });
15702
+ return;
15703
+ }
15704
+ } else if (
15705
+ 3 === targetInst &&
15706
+ nearestMounted.stateNode.current.memoizedState.isDehydrated
15707
+ ) {
15708
+ queuedTarget.blockedOn =
15709
+ 3 === nearestMounted.tag
15710
+ ? nearestMounted.stateNode.containerInfo
15711
+ : null;
15712
+ return;
15987
15713
  }
15988
- null !== blockedOn && nativeEvent.stopPropagation();
15714
+ }
15715
+ queuedTarget.blockedOn = null;
15716
+ }
15717
+ function attemptReplayContinuousQueuedEvent(queuedEvent) {
15718
+ if (null !== queuedEvent.blockedOn) return !1;
15719
+ for (
15720
+ var targetContainers = queuedEvent.targetContainers;
15721
+ 0 < targetContainers.length;
15722
+
15723
+ ) {
15724
+ var nextBlockedOn = findInstanceBlockingEvent(queuedEvent.nativeEvent);
15725
+ if (null === nextBlockedOn) {
15726
+ nextBlockedOn = queuedEvent.nativeEvent;
15727
+ var nativeEventClone = new nextBlockedOn.constructor(
15728
+ nextBlockedOn.type,
15729
+ nextBlockedOn
15730
+ );
15731
+ currentReplayingEvent = nativeEventClone;
15732
+ nextBlockedOn.target.dispatchEvent(nativeEventClone);
15733
+ currentReplayingEvent = null;
15989
15734
  } else
15990
- dispatchEventForPluginEventSystem(
15991
- domEventName,
15992
- eventSystemFlags,
15993
- nativeEvent,
15994
- null,
15995
- targetContainer
15735
+ return (
15736
+ (targetContainers = getInstanceFromNode(nextBlockedOn)),
15737
+ null !== targetContainers &&
15738
+ attemptContinuousHydration(targetContainers),
15739
+ (queuedEvent.blockedOn = nextBlockedOn),
15740
+ !1
15996
15741
  );
15742
+ targetContainers.shift();
15997
15743
  }
15744
+ return !0;
15998
15745
  }
15999
- function findInstanceBlockingEvent(nativeEvent) {
16000
- nativeEvent = getEventTarget(nativeEvent);
16001
- return findInstanceBlockingTarget(nativeEvent);
15746
+ function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) {
15747
+ attemptReplayContinuousQueuedEvent(queuedEvent) && map.delete(key);
16002
15748
  }
16003
- var return_targetInst = null;
16004
- function findInstanceBlockingTarget(targetNode) {
16005
- return_targetInst = null;
16006
- targetNode = getClosestInstanceFromNode(targetNode);
16007
- if (null !== targetNode) {
16008
- var nearestMounted = getNearestMountedFiber(targetNode);
16009
- if (null === nearestMounted) targetNode = null;
16010
- else {
16011
- var tag = nearestMounted.tag;
16012
- if (13 === tag) {
16013
- targetNode = getSuspenseInstanceFromFiber(nearestMounted);
16014
- if (null !== targetNode) return targetNode;
16015
- targetNode = null;
16016
- } else if (31 === tag) {
16017
- targetNode = getActivityInstanceFromFiber(nearestMounted);
16018
- if (null !== targetNode) return targetNode;
16019
- targetNode = null;
16020
- } else if (3 === tag) {
16021
- if (nearestMounted.stateNode.current.memoizedState.isDehydrated)
16022
- return 3 === nearestMounted.tag
16023
- ? nearestMounted.stateNode.containerInfo
16024
- : null;
16025
- targetNode = null;
16026
- } else nearestMounted !== targetNode && (targetNode = null);
16027
- }
16028
- }
16029
- return_targetInst = targetNode;
16030
- return null;
15749
+ function replayUnblockedEvents() {
15750
+ hasScheduledReplayAttempt = !1;
15751
+ null !== queuedFocus &&
15752
+ attemptReplayContinuousQueuedEvent(queuedFocus) &&
15753
+ (queuedFocus = null);
15754
+ null !== queuedDrag &&
15755
+ attemptReplayContinuousQueuedEvent(queuedDrag) &&
15756
+ (queuedDrag = null);
15757
+ null !== queuedMouse &&
15758
+ attemptReplayContinuousQueuedEvent(queuedMouse) &&
15759
+ (queuedMouse = null);
15760
+ queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap);
15761
+ queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);
16031
15762
  }
16032
- function getEventPriority(domEventName) {
16033
- switch (domEventName) {
16034
- case "beforetoggle":
16035
- case "cancel":
16036
- case "click":
16037
- case "close":
16038
- case "contextmenu":
16039
- case "copy":
16040
- case "cut":
16041
- case "auxclick":
16042
- case "dblclick":
16043
- case "dragend":
16044
- case "dragstart":
16045
- case "drop":
16046
- case "focusin":
16047
- case "focusout":
16048
- case "input":
16049
- case "invalid":
16050
- case "keydown":
16051
- case "keypress":
16052
- case "keyup":
16053
- case "mousedown":
16054
- case "mouseup":
16055
- case "paste":
16056
- case "pause":
16057
- case "play":
16058
- case "pointercancel":
16059
- case "pointerdown":
16060
- case "pointerup":
16061
- case "ratechange":
16062
- case "reset":
16063
- case "resize":
16064
- case "seeked":
16065
- case "submit":
16066
- case "toggle":
16067
- case "touchcancel":
16068
- case "touchend":
16069
- case "touchstart":
16070
- case "volumechange":
16071
- case "change":
16072
- case "selectionchange":
16073
- case "textInput":
16074
- case "compositionstart":
16075
- case "compositionend":
16076
- case "compositionupdate":
16077
- case "beforeblur":
16078
- case "afterblur":
16079
- case "beforeinput":
16080
- case "blur":
16081
- case "fullscreenchange":
16082
- case "focus":
16083
- case "hashchange":
16084
- case "popstate":
16085
- case "select":
16086
- case "selectstart":
16087
- return 2;
16088
- case "drag":
16089
- case "dragenter":
16090
- case "dragexit":
16091
- case "dragleave":
16092
- case "dragover":
16093
- case "mousemove":
16094
- case "mouseout":
16095
- case "mouseover":
16096
- case "pointermove":
16097
- case "pointerout":
16098
- case "pointerover":
16099
- case "scroll":
16100
- case "touchmove":
16101
- case "wheel":
16102
- case "mouseenter":
16103
- case "mouseleave":
16104
- case "pointerenter":
16105
- case "pointerleave":
16106
- return 8;
16107
- case "message":
16108
- switch (getCurrentPriorityLevel()) {
16109
- case ImmediatePriority:
16110
- return 2;
16111
- case UserBlockingPriority:
16112
- return 8;
16113
- case NormalPriority$1:
16114
- case LowPriority:
16115
- return 32;
16116
- case IdlePriority:
16117
- return 268435456;
16118
- default:
16119
- return 32;
15763
+ function scheduleCallbackIfUnblocked(queuedEvent, unblocked) {
15764
+ queuedEvent.blockedOn === unblocked &&
15765
+ ((queuedEvent.blockedOn = null),
15766
+ hasScheduledReplayAttempt ||
15767
+ ((hasScheduledReplayAttempt = !0),
15768
+ Scheduler.unstable_scheduleCallback(
15769
+ Scheduler.unstable_NormalPriority,
15770
+ replayUnblockedEvents
15771
+ )));
15772
+ }
15773
+ var lastScheduledReplayQueue = null;
15774
+ function scheduleReplayQueueIfNeeded(formReplayingQueue) {
15775
+ lastScheduledReplayQueue !== formReplayingQueue &&
15776
+ ((lastScheduledReplayQueue = formReplayingQueue),
15777
+ Scheduler.unstable_scheduleCallback(
15778
+ Scheduler.unstable_NormalPriority,
15779
+ function () {
15780
+ lastScheduledReplayQueue === formReplayingQueue &&
15781
+ (lastScheduledReplayQueue = null);
15782
+ for (var i = 0; i < formReplayingQueue.length; i += 3) {
15783
+ var form = formReplayingQueue[i],
15784
+ submitterOrAction = formReplayingQueue[i + 1],
15785
+ formData = formReplayingQueue[i + 2];
15786
+ if ("function" !== typeof submitterOrAction)
15787
+ if (null === findInstanceBlockingTarget(submitterOrAction || form))
15788
+ continue;
15789
+ else break;
15790
+ var formInst = getInstanceFromNode(form);
15791
+ null !== formInst &&
15792
+ (formReplayingQueue.splice(i, 3),
15793
+ (i -= 3),
15794
+ startHostTransition(
15795
+ formInst,
15796
+ {
15797
+ pending: !0,
15798
+ data: formData,
15799
+ method: form.method,
15800
+ action: submitterOrAction
15801
+ },
15802
+ submitterOrAction,
15803
+ formData
15804
+ ));
15805
+ }
15806
+ }
15807
+ ));
15808
+ }
15809
+ function retryIfBlockedOn(unblocked) {
15810
+ function unblock(queuedEvent) {
15811
+ return scheduleCallbackIfUnblocked(queuedEvent, unblocked);
15812
+ }
15813
+ null !== queuedFocus && scheduleCallbackIfUnblocked(queuedFocus, unblocked);
15814
+ null !== queuedDrag && scheduleCallbackIfUnblocked(queuedDrag, unblocked);
15815
+ null !== queuedMouse && scheduleCallbackIfUnblocked(queuedMouse, unblocked);
15816
+ queuedPointers.forEach(unblock);
15817
+ queuedPointerCaptures.forEach(unblock);
15818
+ for (var i = 0; i < queuedExplicitHydrationTargets.length; i++) {
15819
+ var queuedTarget = queuedExplicitHydrationTargets[i];
15820
+ queuedTarget.blockedOn === unblocked && (queuedTarget.blockedOn = null);
15821
+ }
15822
+ for (
15823
+ ;
15824
+ 0 < queuedExplicitHydrationTargets.length &&
15825
+ ((i = queuedExplicitHydrationTargets[0]), null === i.blockedOn);
15826
+
15827
+ )
15828
+ attemptExplicitHydrationTarget(i),
15829
+ null === i.blockedOn && queuedExplicitHydrationTargets.shift();
15830
+ i = (unblocked.ownerDocument || unblocked).$$reactFormReplay;
15831
+ if (null != i)
15832
+ for (queuedTarget = 0; queuedTarget < i.length; queuedTarget += 3) {
15833
+ var form = i[queuedTarget],
15834
+ submitterOrAction = i[queuedTarget + 1],
15835
+ formProps = form[internalPropsKey] || null;
15836
+ if ("function" === typeof submitterOrAction)
15837
+ formProps || scheduleReplayQueueIfNeeded(i);
15838
+ else if (formProps) {
15839
+ var action = null;
15840
+ if (submitterOrAction && submitterOrAction.hasAttribute("formAction"))
15841
+ if (
15842
+ ((form = submitterOrAction),
15843
+ (formProps = submitterOrAction[internalPropsKey] || null))
15844
+ )
15845
+ action = formProps.formAction;
15846
+ else {
15847
+ if (null !== findInstanceBlockingTarget(form)) continue;
15848
+ }
15849
+ else action = formProps.action;
15850
+ "function" === typeof action
15851
+ ? (i[queuedTarget + 1] = action)
15852
+ : (i.splice(queuedTarget, 3), (queuedTarget -= 3));
15853
+ scheduleReplayQueueIfNeeded(i);
16120
15854
  }
16121
- default:
16122
- return 32;
16123
- }
15855
+ }
16124
15856
  }
16125
- var hasScheduledReplayAttempt = !1,
16126
- queuedFocus = null,
16127
- queuedDrag = null,
16128
- queuedMouse = null,
16129
- queuedPointers = new Map(),
16130
- queuedPointerCaptures = new Map(),
16131
- queuedExplicitHydrationTargets = [],
16132
- discreteReplayableEvents =
16133
- "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(
16134
- " "
16135
- );
16136
- function clearIfContinuousEvent(domEventName, nativeEvent) {
16137
- switch (domEventName) {
16138
- case "focusin":
16139
- case "focusout":
16140
- queuedFocus = null;
16141
- break;
16142
- case "dragenter":
16143
- case "dragleave":
16144
- queuedDrag = null;
16145
- break;
16146
- case "mouseover":
16147
- case "mouseout":
16148
- queuedMouse = null;
16149
- break;
16150
- case "pointerover":
16151
- case "pointerout":
16152
- queuedPointers.delete(nativeEvent.pointerId);
16153
- break;
16154
- case "gotpointercapture":
16155
- case "lostpointercapture":
16156
- queuedPointerCaptures.delete(nativeEvent.pointerId);
15857
+ function defaultOnDefaultTransitionIndicator() {
15858
+ function handleNavigate(event) {
15859
+ event.canIntercept &&
15860
+ "react-transition" === event.info &&
15861
+ event.intercept({
15862
+ handler: function () {
15863
+ return new Promise(function (resolve) {
15864
+ return (pendingResolve = resolve);
15865
+ });
15866
+ },
15867
+ focusReset: "manual",
15868
+ scroll: "manual"
15869
+ });
15870
+ }
15871
+ function handleNavigateComplete() {
15872
+ null !== pendingResolve && (pendingResolve(), (pendingResolve = null));
15873
+ isCancelled || setTimeout(startFakeNavigation, 20);
15874
+ }
15875
+ function startFakeNavigation() {
15876
+ if (!isCancelled && !navigation.transition) {
15877
+ var currentEntry = navigation.currentEntry;
15878
+ currentEntry &&
15879
+ null != currentEntry.url &&
15880
+ navigation.navigate(currentEntry.url, {
15881
+ state: currentEntry.getState(),
15882
+ info: "react-transition",
15883
+ history: "replace"
15884
+ });
15885
+ }
15886
+ }
15887
+ if ("object" === typeof navigation) {
15888
+ var isCancelled = !1,
15889
+ pendingResolve = null;
15890
+ navigation.addEventListener("navigate", handleNavigate);
15891
+ navigation.addEventListener("navigatesuccess", handleNavigateComplete);
15892
+ navigation.addEventListener("navigateerror", handleNavigateComplete);
15893
+ setTimeout(startFakeNavigation, 100);
15894
+ return function () {
15895
+ isCancelled = !0;
15896
+ navigation.removeEventListener("navigate", handleNavigate);
15897
+ navigation.removeEventListener("navigatesuccess", handleNavigateComplete);
15898
+ navigation.removeEventListener("navigateerror", handleNavigateComplete);
15899
+ null !== pendingResolve && (pendingResolve(), (pendingResolve = null));
15900
+ };
16157
15901
  }
16158
15902
  }
16159
- function accumulateOrCreateContinuousQueuedReplayableEvent(
16160
- existingQueuedEvent,
16161
- blockedOn,
16162
- domEventName,
16163
- eventSystemFlags,
16164
- targetContainer,
16165
- nativeEvent
16166
- ) {
16167
- if (
16168
- null === existingQueuedEvent ||
16169
- existingQueuedEvent.nativeEvent !== nativeEvent
16170
- )
16171
- return (
16172
- (existingQueuedEvent = {
16173
- blockedOn: blockedOn,
16174
- domEventName: domEventName,
16175
- eventSystemFlags: eventSystemFlags,
16176
- nativeEvent: nativeEvent,
16177
- targetContainers: [targetContainer]
16178
- }),
16179
- null !== blockedOn &&
16180
- ((blockedOn = getInstanceFromNode(blockedOn)),
16181
- null !== blockedOn && attemptContinuousHydration(blockedOn)),
16182
- existingQueuedEvent
16183
- );
16184
- existingQueuedEvent.eventSystemFlags |= eventSystemFlags;
16185
- blockedOn = existingQueuedEvent.targetContainers;
16186
- null !== targetContainer &&
16187
- -1 === blockedOn.indexOf(targetContainer) &&
16188
- blockedOn.push(targetContainer);
16189
- return existingQueuedEvent;
15903
+ function ReactDOMRoot(internalRoot) {
15904
+ this._internalRoot = internalRoot;
16190
15905
  }
16191
- function queueIfContinuousEvent(
16192
- blockedOn,
16193
- domEventName,
16194
- eventSystemFlags,
16195
- targetContainer,
16196
- nativeEvent
16197
- ) {
16198
- switch (domEventName) {
16199
- case "focusin":
16200
- return (
16201
- (queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(
16202
- queuedFocus,
16203
- blockedOn,
16204
- domEventName,
16205
- eventSystemFlags,
16206
- targetContainer,
16207
- nativeEvent
16208
- )),
16209
- !0
16210
- );
16211
- case "dragenter":
16212
- return (
16213
- (queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(
16214
- queuedDrag,
16215
- blockedOn,
16216
- domEventName,
16217
- eventSystemFlags,
16218
- targetContainer,
16219
- nativeEvent
16220
- )),
16221
- !0
16222
- );
16223
- case "mouseover":
16224
- return (
16225
- (queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(
16226
- queuedMouse,
16227
- blockedOn,
16228
- domEventName,
16229
- eventSystemFlags,
16230
- targetContainer,
16231
- nativeEvent
16232
- )),
16233
- !0
16234
- );
16235
- case "pointerover":
16236
- var pointerId = nativeEvent.pointerId;
16237
- queuedPointers.set(
16238
- pointerId,
16239
- accumulateOrCreateContinuousQueuedReplayableEvent(
16240
- queuedPointers.get(pointerId) || null,
16241
- blockedOn,
16242
- domEventName,
16243
- eventSystemFlags,
16244
- targetContainer,
16245
- nativeEvent
16246
- )
16247
- );
16248
- return !0;
16249
- case "gotpointercapture":
16250
- return (
16251
- (pointerId = nativeEvent.pointerId),
16252
- queuedPointerCaptures.set(
16253
- pointerId,
16254
- accumulateOrCreateContinuousQueuedReplayableEvent(
16255
- queuedPointerCaptures.get(pointerId) || null,
16256
- blockedOn,
16257
- domEventName,
16258
- eventSystemFlags,
16259
- targetContainer,
16260
- nativeEvent
16261
- )
16262
- ),
16263
- !0
16264
- );
15906
+ ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render =
15907
+ function (children) {
15908
+ var root = this._internalRoot;
15909
+ if (null === root) throw Error(formatProdErrorMessage(409));
15910
+ var current = root.current,
15911
+ lane = requestUpdateLane();
15912
+ updateContainerImpl(current, lane, children, root, null, null);
15913
+ };
15914
+ ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount =
15915
+ function () {
15916
+ var root = this._internalRoot;
15917
+ if (null !== root) {
15918
+ this._internalRoot = null;
15919
+ var container = root.containerInfo;
15920
+ updateContainerImpl(root.current, 2, null, root, null, null);
15921
+ flushSyncWork$1();
15922
+ container[internalContainerInstanceKey] = null;
15923
+ }
15924
+ };
15925
+ function ReactDOMHydrationRoot(internalRoot) {
15926
+ this._internalRoot = internalRoot;
15927
+ }
15928
+ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
15929
+ if (target) {
15930
+ var updatePriority = resolveUpdatePriority();
15931
+ target = { blockedOn: null, target: target, priority: updatePriority };
15932
+ for (
15933
+ var i = 0;
15934
+ i < queuedExplicitHydrationTargets.length &&
15935
+ 0 !== updatePriority &&
15936
+ updatePriority < queuedExplicitHydrationTargets[i].priority;
15937
+ i++
15938
+ );
15939
+ queuedExplicitHydrationTargets.splice(i, 0, target);
15940
+ 0 === i && attemptExplicitHydrationTarget(target);
15941
+ }
15942
+ };
15943
+ var isomorphicReactPackageVersion$jscomp$inline_1840 = React.version;
15944
+ if (
15945
+ "19.2.0" !==
15946
+ isomorphicReactPackageVersion$jscomp$inline_1840
15947
+ )
15948
+ throw Error(
15949
+ formatProdErrorMessage(
15950
+ 527,
15951
+ isomorphicReactPackageVersion$jscomp$inline_1840,
15952
+ "19.2.0"
15953
+ )
15954
+ );
15955
+ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
15956
+ var fiber = componentOrElement._reactInternals;
15957
+ if (void 0 === fiber) {
15958
+ if ("function" === typeof componentOrElement.render)
15959
+ throw Error(formatProdErrorMessage(188));
15960
+ componentOrElement = Object.keys(componentOrElement).join(",");
15961
+ throw Error(formatProdErrorMessage(268, componentOrElement));
16265
15962
  }
16266
- return !1;
15963
+ componentOrElement = findCurrentFiberUsingSlowPath(fiber);
15964
+ componentOrElement =
15965
+ null !== componentOrElement
15966
+ ? findCurrentHostFiberImpl(componentOrElement)
15967
+ : null;
15968
+ componentOrElement =
15969
+ null === componentOrElement ? null : componentOrElement.stateNode;
15970
+ return componentOrElement;
15971
+ };
15972
+ var internals$jscomp$inline_2347 = {
15973
+ bundleType: 0,
15974
+ version: "19.2.0",
15975
+ rendererPackageName: "react-dom",
15976
+ currentDispatcherRef: ReactSharedInternals,
15977
+ reconcilerVersion: "19.2.0"
15978
+ };
15979
+ if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
15980
+ var hook$jscomp$inline_2348 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15981
+ if (
15982
+ !hook$jscomp$inline_2348.isDisabled &&
15983
+ hook$jscomp$inline_2348.supportsFiber
15984
+ )
15985
+ try {
15986
+ (rendererID = hook$jscomp$inline_2348.inject(
15987
+ internals$jscomp$inline_2347
15988
+ )),
15989
+ (injectedHook = hook$jscomp$inline_2348);
15990
+ } catch (err) {}
16267
15991
  }
16268
- function attemptExplicitHydrationTarget(queuedTarget) {
16269
- var targetInst = getClosestInstanceFromNode(queuedTarget.target);
16270
- if (null !== targetInst) {
16271
- var nearestMounted = getNearestMountedFiber(targetInst);
16272
- if (null !== nearestMounted)
16273
- if (((targetInst = nearestMounted.tag), 13 === targetInst)) {
16274
- if (
16275
- ((targetInst = getSuspenseInstanceFromFiber(nearestMounted)),
16276
- null !== targetInst)
16277
- ) {
16278
- queuedTarget.blockedOn = targetInst;
16279
- runWithPriority(queuedTarget.priority, function () {
16280
- attemptHydrationAtCurrentPriority(nearestMounted);
16281
- });
16282
- return;
16283
- }
16284
- } else if (31 === targetInst) {
16285
- if (
16286
- ((targetInst = getActivityInstanceFromFiber(nearestMounted)),
16287
- null !== targetInst)
16288
- ) {
16289
- queuedTarget.blockedOn = targetInst;
16290
- runWithPriority(queuedTarget.priority, function () {
16291
- attemptHydrationAtCurrentPriority(nearestMounted);
16292
- });
16293
- return;
16294
- }
16295
- } else if (
16296
- 3 === targetInst &&
16297
- nearestMounted.stateNode.current.memoizedState.isDehydrated
16298
- ) {
16299
- queuedTarget.blockedOn =
16300
- 3 === nearestMounted.tag
16301
- ? nearestMounted.stateNode.containerInfo
16302
- : null;
16303
- return;
16304
- }
15992
+ exports.createRoot = function (container, options) {
15993
+ if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299));
15994
+ var isStrictMode = !1,
15995
+ identifierPrefix = "",
15996
+ onUncaughtError = defaultOnUncaughtError,
15997
+ onCaughtError = defaultOnCaughtError,
15998
+ onRecoverableError = defaultOnRecoverableError;
15999
+ null !== options &&
16000
+ void 0 !== options &&
16001
+ (!0 === options.unstable_strictMode && (isStrictMode = !0),
16002
+ void 0 !== options.identifierPrefix &&
16003
+ (identifierPrefix = options.identifierPrefix),
16004
+ void 0 !== options.onUncaughtError &&
16005
+ (onUncaughtError = options.onUncaughtError),
16006
+ void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
16007
+ void 0 !== options.onRecoverableError &&
16008
+ (onRecoverableError = options.onRecoverableError));
16009
+ options = createFiberRoot(
16010
+ container,
16011
+ 1,
16012
+ !1,
16013
+ null,
16014
+ null,
16015
+ isStrictMode,
16016
+ identifierPrefix,
16017
+ null,
16018
+ onUncaughtError,
16019
+ onCaughtError,
16020
+ onRecoverableError,
16021
+ defaultOnDefaultTransitionIndicator
16022
+ );
16023
+ container[internalContainerInstanceKey] = options.current;
16024
+ listenToAllSupportedEvents(container);
16025
+ return new ReactDOMRoot(options);
16026
+ };
16027
+ exports.hydrateRoot = function (container, initialChildren, options) {
16028
+ if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299));
16029
+ var isStrictMode = !1,
16030
+ identifierPrefix = "",
16031
+ onUncaughtError = defaultOnUncaughtError,
16032
+ onCaughtError = defaultOnCaughtError,
16033
+ onRecoverableError = defaultOnRecoverableError,
16034
+ formState = null;
16035
+ null !== options &&
16036
+ void 0 !== options &&
16037
+ (!0 === options.unstable_strictMode && (isStrictMode = !0),
16038
+ void 0 !== options.identifierPrefix &&
16039
+ (identifierPrefix = options.identifierPrefix),
16040
+ void 0 !== options.onUncaughtError &&
16041
+ (onUncaughtError = options.onUncaughtError),
16042
+ void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
16043
+ void 0 !== options.onRecoverableError &&
16044
+ (onRecoverableError = options.onRecoverableError),
16045
+ void 0 !== options.formState && (formState = options.formState));
16046
+ initialChildren = createFiberRoot(
16047
+ container,
16048
+ 1,
16049
+ !0,
16050
+ initialChildren,
16051
+ null != options ? options : null,
16052
+ isStrictMode,
16053
+ identifierPrefix,
16054
+ formState,
16055
+ onUncaughtError,
16056
+ onCaughtError,
16057
+ onRecoverableError,
16058
+ defaultOnDefaultTransitionIndicator
16059
+ );
16060
+ initialChildren.context = getContextForSubtree(null);
16061
+ options = initialChildren.current;
16062
+ isStrictMode = requestUpdateLane();
16063
+ isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode);
16064
+ identifierPrefix = createUpdate(isStrictMode);
16065
+ identifierPrefix.callback = null;
16066
+ enqueueUpdate(options, identifierPrefix, isStrictMode);
16067
+ options = isStrictMode;
16068
+ initialChildren.current.lanes = options;
16069
+ markRootUpdated$1(initialChildren, options);
16070
+ ensureRootIsScheduled(initialChildren);
16071
+ container[internalContainerInstanceKey] = initialChildren.current;
16072
+ listenToAllSupportedEvents(container);
16073
+ return new ReactDOMHydrationRoot(initialChildren);
16074
+ };
16075
+ exports.version = "19.2.0";
16076
+
16077
+
16078
+ /***/ },
16079
+
16080
+ /***/ 146
16081
+ /*!************************************************************************************************!*\
16082
+ !*** ./node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js ***!
16083
+ \************************************************************************************************/
16084
+ (__unused_webpack_module, exports) {
16085
+
16086
+ /**
16087
+ * @license React
16088
+ * scheduler.production.js
16089
+ *
16090
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
16091
+ *
16092
+ * This source code is licensed under the MIT license found in the
16093
+ * LICENSE file in the root directory of this source tree.
16094
+ */
16095
+
16096
+
16097
+ function push(heap, node) {
16098
+ var index = heap.length;
16099
+ heap.push(node);
16100
+ a: for (; 0 < index; ) {
16101
+ var parentIndex = (index - 1) >>> 1,
16102
+ parent = heap[parentIndex];
16103
+ if (0 < compare(parent, node))
16104
+ (heap[parentIndex] = node), (heap[index] = parent), (index = parentIndex);
16105
+ else break a;
16305
16106
  }
16306
- queuedTarget.blockedOn = null;
16307
16107
  }
16308
- function attemptReplayContinuousQueuedEvent(queuedEvent) {
16309
- if (null !== queuedEvent.blockedOn) return !1;
16310
- for (
16311
- var targetContainers = queuedEvent.targetContainers;
16312
- 0 < targetContainers.length;
16108
+ function peek(heap) {
16109
+ return 0 === heap.length ? null : heap[0];
16110
+ }
16111
+ function pop(heap) {
16112
+ if (0 === heap.length) return null;
16113
+ var first = heap[0],
16114
+ last = heap.pop();
16115
+ if (last !== first) {
16116
+ heap[0] = last;
16117
+ a: for (
16118
+ var index = 0, length = heap.length, halfLength = length >>> 1;
16119
+ index < halfLength;
16313
16120
 
16314
- ) {
16315
- var nextBlockedOn = findInstanceBlockingEvent(queuedEvent.nativeEvent);
16316
- if (null === nextBlockedOn) {
16317
- nextBlockedOn = queuedEvent.nativeEvent;
16318
- var nativeEventClone = new nextBlockedOn.constructor(
16319
- nextBlockedOn.type,
16320
- nextBlockedOn
16321
- );
16322
- currentReplayingEvent = nativeEventClone;
16323
- nextBlockedOn.target.dispatchEvent(nativeEventClone);
16324
- currentReplayingEvent = null;
16325
- } else
16326
- return (
16327
- (targetContainers = getInstanceFromNode(nextBlockedOn)),
16328
- null !== targetContainers &&
16329
- attemptContinuousHydration(targetContainers),
16330
- (queuedEvent.blockedOn = nextBlockedOn),
16331
- !1
16332
- );
16333
- targetContainers.shift();
16121
+ ) {
16122
+ var leftIndex = 2 * (index + 1) - 1,
16123
+ left = heap[leftIndex],
16124
+ rightIndex = leftIndex + 1,
16125
+ right = heap[rightIndex];
16126
+ if (0 > compare(left, last))
16127
+ rightIndex < length && 0 > compare(right, left)
16128
+ ? ((heap[index] = right),
16129
+ (heap[rightIndex] = last),
16130
+ (index = rightIndex))
16131
+ : ((heap[index] = left),
16132
+ (heap[leftIndex] = last),
16133
+ (index = leftIndex));
16134
+ else if (rightIndex < length && 0 > compare(right, last))
16135
+ (heap[index] = right), (heap[rightIndex] = last), (index = rightIndex);
16136
+ else break a;
16137
+ }
16334
16138
  }
16335
- return !0;
16139
+ return first;
16336
16140
  }
16337
- function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) {
16338
- attemptReplayContinuousQueuedEvent(queuedEvent) && map.delete(key);
16141
+ function compare(a, b) {
16142
+ var diff = a.sortIndex - b.sortIndex;
16143
+ return 0 !== diff ? diff : a.id - b.id;
16144
+ }
16145
+ exports.unstable_now = void 0;
16146
+ if ("object" === typeof performance && "function" === typeof performance.now) {
16147
+ var localPerformance = performance;
16148
+ exports.unstable_now = function () {
16149
+ return localPerformance.now();
16150
+ };
16151
+ } else {
16152
+ var localDate = Date,
16153
+ initialTime = localDate.now();
16154
+ exports.unstable_now = function () {
16155
+ return localDate.now() - initialTime;
16156
+ };
16339
16157
  }
16340
- function replayUnblockedEvents() {
16341
- hasScheduledReplayAttempt = !1;
16342
- null !== queuedFocus &&
16343
- attemptReplayContinuousQueuedEvent(queuedFocus) &&
16344
- (queuedFocus = null);
16345
- null !== queuedDrag &&
16346
- attemptReplayContinuousQueuedEvent(queuedDrag) &&
16347
- (queuedDrag = null);
16348
- null !== queuedMouse &&
16349
- attemptReplayContinuousQueuedEvent(queuedMouse) &&
16350
- (queuedMouse = null);
16351
- queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap);
16352
- queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);
16158
+ var taskQueue = [],
16159
+ timerQueue = [],
16160
+ taskIdCounter = 1,
16161
+ currentTask = null,
16162
+ currentPriorityLevel = 3,
16163
+ isPerformingWork = !1,
16164
+ isHostCallbackScheduled = !1,
16165
+ isHostTimeoutScheduled = !1,
16166
+ needsPaint = !1,
16167
+ localSetTimeout = "function" === typeof setTimeout ? setTimeout : null,
16168
+ localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null,
16169
+ localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null;
16170
+ function advanceTimers(currentTime) {
16171
+ for (var timer = peek(timerQueue); null !== timer; ) {
16172
+ if (null === timer.callback) pop(timerQueue);
16173
+ else if (timer.startTime <= currentTime)
16174
+ pop(timerQueue),
16175
+ (timer.sortIndex = timer.expirationTime),
16176
+ push(taskQueue, timer);
16177
+ else break;
16178
+ timer = peek(timerQueue);
16179
+ }
16353
16180
  }
16354
- function scheduleCallbackIfUnblocked(queuedEvent, unblocked) {
16355
- queuedEvent.blockedOn === unblocked &&
16356
- ((queuedEvent.blockedOn = null),
16357
- hasScheduledReplayAttempt ||
16358
- ((hasScheduledReplayAttempt = !0),
16359
- Scheduler.unstable_scheduleCallback(
16360
- Scheduler.unstable_NormalPriority,
16361
- replayUnblockedEvents
16362
- )));
16181
+ function handleTimeout(currentTime) {
16182
+ isHostTimeoutScheduled = !1;
16183
+ advanceTimers(currentTime);
16184
+ if (!isHostCallbackScheduled)
16185
+ if (null !== peek(taskQueue))
16186
+ (isHostCallbackScheduled = !0),
16187
+ isMessageLoopRunning ||
16188
+ ((isMessageLoopRunning = !0), schedulePerformWorkUntilDeadline());
16189
+ else {
16190
+ var firstTimer = peek(timerQueue);
16191
+ null !== firstTimer &&
16192
+ requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
16193
+ }
16363
16194
  }
16364
- var lastScheduledReplayQueue = null;
16365
- function scheduleReplayQueueIfNeeded(formReplayingQueue) {
16366
- lastScheduledReplayQueue !== formReplayingQueue &&
16367
- ((lastScheduledReplayQueue = formReplayingQueue),
16368
- Scheduler.unstable_scheduleCallback(
16369
- Scheduler.unstable_NormalPriority,
16370
- function () {
16371
- lastScheduledReplayQueue === formReplayingQueue &&
16372
- (lastScheduledReplayQueue = null);
16373
- for (var i = 0; i < formReplayingQueue.length; i += 3) {
16374
- var form = formReplayingQueue[i],
16375
- submitterOrAction = formReplayingQueue[i + 1],
16376
- formData = formReplayingQueue[i + 2];
16377
- if ("function" !== typeof submitterOrAction)
16378
- if (null === findInstanceBlockingTarget(submitterOrAction || form))
16379
- continue;
16380
- else break;
16381
- var formInst = getInstanceFromNode(form);
16382
- null !== formInst &&
16383
- (formReplayingQueue.splice(i, 3),
16384
- (i -= 3),
16385
- startHostTransition(
16386
- formInst,
16387
- {
16388
- pending: !0,
16389
- data: formData,
16390
- method: form.method,
16391
- action: submitterOrAction
16392
- },
16393
- submitterOrAction,
16394
- formData
16395
- ));
16396
- }
16397
- }
16398
- ));
16195
+ var isMessageLoopRunning = !1,
16196
+ taskTimeoutID = -1,
16197
+ frameInterval = 5,
16198
+ startTime = -1;
16199
+ function shouldYieldToHost() {
16200
+ return needsPaint
16201
+ ? !0
16202
+ : exports.unstable_now() - startTime < frameInterval
16203
+ ? !1
16204
+ : !0;
16399
16205
  }
16400
- function retryIfBlockedOn(unblocked) {
16401
- function unblock(queuedEvent) {
16402
- return scheduleCallbackIfUnblocked(queuedEvent, unblocked);
16403
- }
16404
- null !== queuedFocus && scheduleCallbackIfUnblocked(queuedFocus, unblocked);
16405
- null !== queuedDrag && scheduleCallbackIfUnblocked(queuedDrag, unblocked);
16406
- null !== queuedMouse && scheduleCallbackIfUnblocked(queuedMouse, unblocked);
16407
- queuedPointers.forEach(unblock);
16408
- queuedPointerCaptures.forEach(unblock);
16409
- for (var i = 0; i < queuedExplicitHydrationTargets.length; i++) {
16410
- var queuedTarget = queuedExplicitHydrationTargets[i];
16411
- queuedTarget.blockedOn === unblocked && (queuedTarget.blockedOn = null);
16412
- }
16413
- for (
16414
- ;
16415
- 0 < queuedExplicitHydrationTargets.length &&
16416
- ((i = queuedExplicitHydrationTargets[0]), null === i.blockedOn);
16206
+ function performWorkUntilDeadline() {
16207
+ needsPaint = !1;
16208
+ if (isMessageLoopRunning) {
16209
+ var currentTime = exports.unstable_now();
16210
+ startTime = currentTime;
16211
+ var hasMoreWork = !0;
16212
+ try {
16213
+ a: {
16214
+ isHostCallbackScheduled = !1;
16215
+ isHostTimeoutScheduled &&
16216
+ ((isHostTimeoutScheduled = !1),
16217
+ localClearTimeout(taskTimeoutID),
16218
+ (taskTimeoutID = -1));
16219
+ isPerformingWork = !0;
16220
+ var previousPriorityLevel = currentPriorityLevel;
16221
+ try {
16222
+ b: {
16223
+ advanceTimers(currentTime);
16224
+ for (
16225
+ currentTask = peek(taskQueue);
16226
+ null !== currentTask &&
16227
+ !(
16228
+ currentTask.expirationTime > currentTime && shouldYieldToHost()
16229
+ );
16417
16230
 
16418
- )
16419
- attemptExplicitHydrationTarget(i),
16420
- null === i.blockedOn && queuedExplicitHydrationTargets.shift();
16421
- i = (unblocked.ownerDocument || unblocked).$$reactFormReplay;
16422
- if (null != i)
16423
- for (queuedTarget = 0; queuedTarget < i.length; queuedTarget += 3) {
16424
- var form = i[queuedTarget],
16425
- submitterOrAction = i[queuedTarget + 1],
16426
- formProps = form[internalPropsKey] || null;
16427
- if ("function" === typeof submitterOrAction)
16428
- formProps || scheduleReplayQueueIfNeeded(i);
16429
- else if (formProps) {
16430
- var action = null;
16431
- if (submitterOrAction && submitterOrAction.hasAttribute("formAction"))
16432
- if (
16433
- ((form = submitterOrAction),
16434
- (formProps = submitterOrAction[internalPropsKey] || null))
16435
- )
16436
- action = formProps.formAction;
16437
- else {
16438
- if (null !== findInstanceBlockingTarget(form)) continue;
16231
+ ) {
16232
+ var callback = currentTask.callback;
16233
+ if ("function" === typeof callback) {
16234
+ currentTask.callback = null;
16235
+ currentPriorityLevel = currentTask.priorityLevel;
16236
+ var continuationCallback = callback(
16237
+ currentTask.expirationTime <= currentTime
16238
+ );
16239
+ currentTime = exports.unstable_now();
16240
+ if ("function" === typeof continuationCallback) {
16241
+ currentTask.callback = continuationCallback;
16242
+ advanceTimers(currentTime);
16243
+ hasMoreWork = !0;
16244
+ break b;
16245
+ }
16246
+ currentTask === peek(taskQueue) && pop(taskQueue);
16247
+ advanceTimers(currentTime);
16248
+ } else pop(taskQueue);
16249
+ currentTask = peek(taskQueue);
16250
+ }
16251
+ if (null !== currentTask) hasMoreWork = !0;
16252
+ else {
16253
+ var firstTimer = peek(timerQueue);
16254
+ null !== firstTimer &&
16255
+ requestHostTimeout(
16256
+ handleTimeout,
16257
+ firstTimer.startTime - currentTime
16258
+ );
16259
+ hasMoreWork = !1;
16260
+ }
16439
16261
  }
16440
- else action = formProps.action;
16441
- "function" === typeof action
16442
- ? (i[queuedTarget + 1] = action)
16443
- : (i.splice(queuedTarget, 3), (queuedTarget -= 3));
16444
- scheduleReplayQueueIfNeeded(i);
16262
+ break a;
16263
+ } finally {
16264
+ (currentTask = null),
16265
+ (currentPriorityLevel = previousPriorityLevel),
16266
+ (isPerformingWork = !1);
16267
+ }
16268
+ hasMoreWork = void 0;
16445
16269
  }
16446
- }
16447
- }
16448
- function defaultOnDefaultTransitionIndicator() {
16449
- function handleNavigate(event) {
16450
- event.canIntercept &&
16451
- "react-transition" === event.info &&
16452
- event.intercept({
16453
- handler: function () {
16454
- return new Promise(function (resolve) {
16455
- return (pendingResolve = resolve);
16456
- });
16457
- },
16458
- focusReset: "manual",
16459
- scroll: "manual"
16460
- });
16461
- }
16462
- function handleNavigateComplete() {
16463
- null !== pendingResolve && (pendingResolve(), (pendingResolve = null));
16464
- isCancelled || setTimeout(startFakeNavigation, 20);
16465
- }
16466
- function startFakeNavigation() {
16467
- if (!isCancelled && !navigation.transition) {
16468
- var currentEntry = navigation.currentEntry;
16469
- currentEntry &&
16470
- null != currentEntry.url &&
16471
- navigation.navigate(currentEntry.url, {
16472
- state: currentEntry.getState(),
16473
- info: "react-transition",
16474
- history: "replace"
16475
- });
16476
- }
16477
- }
16478
- if ("object" === typeof navigation) {
16479
- var isCancelled = !1,
16480
- pendingResolve = null;
16481
- navigation.addEventListener("navigate", handleNavigate);
16482
- navigation.addEventListener("navigatesuccess", handleNavigateComplete);
16483
- navigation.addEventListener("navigateerror", handleNavigateComplete);
16484
- setTimeout(startFakeNavigation, 100);
16485
- return function () {
16486
- isCancelled = !0;
16487
- navigation.removeEventListener("navigate", handleNavigate);
16488
- navigation.removeEventListener("navigatesuccess", handleNavigateComplete);
16489
- navigation.removeEventListener("navigateerror", handleNavigateComplete);
16490
- null !== pendingResolve && (pendingResolve(), (pendingResolve = null));
16491
- };
16270
+ } finally {
16271
+ hasMoreWork
16272
+ ? schedulePerformWorkUntilDeadline()
16273
+ : (isMessageLoopRunning = !1);
16274
+ }
16492
16275
  }
16493
16276
  }
16494
- function ReactDOMRoot(internalRoot) {
16495
- this._internalRoot = internalRoot;
16496
- }
16497
- ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render =
16498
- function (children) {
16499
- var root = this._internalRoot;
16500
- if (null === root) throw Error(formatProdErrorMessage(409));
16501
- var current = root.current,
16502
- lane = requestUpdateLane();
16503
- updateContainerImpl(current, lane, children, root, null, null);
16277
+ var schedulePerformWorkUntilDeadline;
16278
+ if ("function" === typeof localSetImmediate)
16279
+ schedulePerformWorkUntilDeadline = function () {
16280
+ localSetImmediate(performWorkUntilDeadline);
16504
16281
  };
16505
- ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount =
16506
- function () {
16507
- var root = this._internalRoot;
16508
- if (null !== root) {
16509
- this._internalRoot = null;
16510
- var container = root.containerInfo;
16511
- updateContainerImpl(root.current, 2, null, root, null, null);
16512
- flushSyncWork$1();
16513
- container[internalContainerInstanceKey] = null;
16514
- }
16282
+ else if ("undefined" !== typeof MessageChannel) {
16283
+ var channel = new MessageChannel(),
16284
+ port = channel.port2;
16285
+ channel.port1.onmessage = performWorkUntilDeadline;
16286
+ schedulePerformWorkUntilDeadline = function () {
16287
+ port.postMessage(null);
16515
16288
  };
16516
- function ReactDOMHydrationRoot(internalRoot) {
16517
- this._internalRoot = internalRoot;
16289
+ } else
16290
+ schedulePerformWorkUntilDeadline = function () {
16291
+ localSetTimeout(performWorkUntilDeadline, 0);
16292
+ };
16293
+ function requestHostTimeout(callback, ms) {
16294
+ taskTimeoutID = localSetTimeout(function () {
16295
+ callback(exports.unstable_now());
16296
+ }, ms);
16518
16297
  }
16519
- ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
16520
- if (target) {
16521
- var updatePriority = resolveUpdatePriority();
16522
- target = { blockedOn: null, target: target, priority: updatePriority };
16523
- for (
16524
- var i = 0;
16525
- i < queuedExplicitHydrationTargets.length &&
16526
- 0 !== updatePriority &&
16527
- updatePriority < queuedExplicitHydrationTargets[i].priority;
16528
- i++
16529
- );
16530
- queuedExplicitHydrationTargets.splice(i, 0, target);
16531
- 0 === i && attemptExplicitHydrationTarget(target);
16532
- }
16298
+ exports.unstable_IdlePriority = 5;
16299
+ exports.unstable_ImmediatePriority = 1;
16300
+ exports.unstable_LowPriority = 4;
16301
+ exports.unstable_NormalPriority = 3;
16302
+ exports.unstable_Profiling = null;
16303
+ exports.unstable_UserBlockingPriority = 2;
16304
+ exports.unstable_cancelCallback = function (task) {
16305
+ task.callback = null;
16533
16306
  };
16534
- var isomorphicReactPackageVersion$jscomp$inline_1840 = React.version;
16535
- if (
16536
- "19.2.0" !==
16537
- isomorphicReactPackageVersion$jscomp$inline_1840
16538
- )
16539
- throw Error(
16540
- formatProdErrorMessage(
16541
- 527,
16542
- isomorphicReactPackageVersion$jscomp$inline_1840,
16543
- "19.2.0"
16544
- )
16545
- );
16546
- ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
16547
- var fiber = componentOrElement._reactInternals;
16548
- if (void 0 === fiber) {
16549
- if ("function" === typeof componentOrElement.render)
16550
- throw Error(formatProdErrorMessage(188));
16551
- componentOrElement = Object.keys(componentOrElement).join(",");
16552
- throw Error(formatProdErrorMessage(268, componentOrElement));
16307
+ exports.unstable_forceFrameRate = function (fps) {
16308
+ 0 > fps || 125 < fps
16309
+ ? console.error(
16310
+ "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
16311
+ )
16312
+ : (frameInterval = 0 < fps ? Math.floor(1e3 / fps) : 5);
16313
+ };
16314
+ exports.unstable_getCurrentPriorityLevel = function () {
16315
+ return currentPriorityLevel;
16316
+ };
16317
+ exports.unstable_next = function (eventHandler) {
16318
+ switch (currentPriorityLevel) {
16319
+ case 1:
16320
+ case 2:
16321
+ case 3:
16322
+ var priorityLevel = 3;
16323
+ break;
16324
+ default:
16325
+ priorityLevel = currentPriorityLevel;
16326
+ }
16327
+ var previousPriorityLevel = currentPriorityLevel;
16328
+ currentPriorityLevel = priorityLevel;
16329
+ try {
16330
+ return eventHandler();
16331
+ } finally {
16332
+ currentPriorityLevel = previousPriorityLevel;
16553
16333
  }
16554
- componentOrElement = findCurrentFiberUsingSlowPath(fiber);
16555
- componentOrElement =
16556
- null !== componentOrElement
16557
- ? findCurrentHostFiberImpl(componentOrElement)
16558
- : null;
16559
- componentOrElement =
16560
- null === componentOrElement ? null : componentOrElement.stateNode;
16561
- return componentOrElement;
16562
16334
  };
16563
- var internals$jscomp$inline_2347 = {
16564
- bundleType: 0,
16565
- version: "19.2.0",
16566
- rendererPackageName: "react-dom",
16567
- currentDispatcherRef: ReactSharedInternals,
16568
- reconcilerVersion: "19.2.0"
16335
+ exports.unstable_requestPaint = function () {
16336
+ needsPaint = !0;
16569
16337
  };
16570
- if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
16571
- var hook$jscomp$inline_2348 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
16572
- if (
16573
- !hook$jscomp$inline_2348.isDisabled &&
16574
- hook$jscomp$inline_2348.supportsFiber
16575
- )
16576
- try {
16577
- (rendererID = hook$jscomp$inline_2348.inject(
16578
- internals$jscomp$inline_2347
16579
- )),
16580
- (injectedHook = hook$jscomp$inline_2348);
16581
- } catch (err) {}
16582
- }
16583
- exports.createRoot = function (container, options) {
16584
- if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299));
16585
- var isStrictMode = !1,
16586
- identifierPrefix = "",
16587
- onUncaughtError = defaultOnUncaughtError,
16588
- onCaughtError = defaultOnCaughtError,
16589
- onRecoverableError = defaultOnRecoverableError;
16590
- null !== options &&
16591
- void 0 !== options &&
16592
- (!0 === options.unstable_strictMode && (isStrictMode = !0),
16593
- void 0 !== options.identifierPrefix &&
16594
- (identifierPrefix = options.identifierPrefix),
16595
- void 0 !== options.onUncaughtError &&
16596
- (onUncaughtError = options.onUncaughtError),
16597
- void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
16598
- void 0 !== options.onRecoverableError &&
16599
- (onRecoverableError = options.onRecoverableError));
16600
- options = createFiberRoot(
16601
- container,
16602
- 1,
16603
- !1,
16604
- null,
16605
- null,
16606
- isStrictMode,
16607
- identifierPrefix,
16608
- null,
16609
- onUncaughtError,
16610
- onCaughtError,
16611
- onRecoverableError,
16612
- defaultOnDefaultTransitionIndicator
16613
- );
16614
- container[internalContainerInstanceKey] = options.current;
16615
- listenToAllSupportedEvents(container);
16616
- return new ReactDOMRoot(options);
16338
+ exports.unstable_runWithPriority = function (priorityLevel, eventHandler) {
16339
+ switch (priorityLevel) {
16340
+ case 1:
16341
+ case 2:
16342
+ case 3:
16343
+ case 4:
16344
+ case 5:
16345
+ break;
16346
+ default:
16347
+ priorityLevel = 3;
16348
+ }
16349
+ var previousPriorityLevel = currentPriorityLevel;
16350
+ currentPriorityLevel = priorityLevel;
16351
+ try {
16352
+ return eventHandler();
16353
+ } finally {
16354
+ currentPriorityLevel = previousPriorityLevel;
16355
+ }
16617
16356
  };
16618
- exports.hydrateRoot = function (container, initialChildren, options) {
16619
- if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299));
16620
- var isStrictMode = !1,
16621
- identifierPrefix = "",
16622
- onUncaughtError = defaultOnUncaughtError,
16623
- onCaughtError = defaultOnCaughtError,
16624
- onRecoverableError = defaultOnRecoverableError,
16625
- formState = null;
16626
- null !== options &&
16627
- void 0 !== options &&
16628
- (!0 === options.unstable_strictMode && (isStrictMode = !0),
16629
- void 0 !== options.identifierPrefix &&
16630
- (identifierPrefix = options.identifierPrefix),
16631
- void 0 !== options.onUncaughtError &&
16632
- (onUncaughtError = options.onUncaughtError),
16633
- void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
16634
- void 0 !== options.onRecoverableError &&
16635
- (onRecoverableError = options.onRecoverableError),
16636
- void 0 !== options.formState && (formState = options.formState));
16637
- initialChildren = createFiberRoot(
16638
- container,
16639
- 1,
16640
- !0,
16641
- initialChildren,
16642
- null != options ? options : null,
16643
- isStrictMode,
16644
- identifierPrefix,
16645
- formState,
16646
- onUncaughtError,
16647
- onCaughtError,
16648
- onRecoverableError,
16649
- defaultOnDefaultTransitionIndicator
16650
- );
16651
- initialChildren.context = getContextForSubtree(null);
16652
- options = initialChildren.current;
16653
- isStrictMode = requestUpdateLane();
16654
- isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode);
16655
- identifierPrefix = createUpdate(isStrictMode);
16656
- identifierPrefix.callback = null;
16657
- enqueueUpdate(options, identifierPrefix, isStrictMode);
16658
- options = isStrictMode;
16659
- initialChildren.current.lanes = options;
16660
- markRootUpdated$1(initialChildren, options);
16661
- ensureRootIsScheduled(initialChildren);
16662
- container[internalContainerInstanceKey] = initialChildren.current;
16663
- listenToAllSupportedEvents(container);
16664
- return new ReactDOMHydrationRoot(initialChildren);
16357
+ exports.unstable_scheduleCallback = function (
16358
+ priorityLevel,
16359
+ callback,
16360
+ options
16361
+ ) {
16362
+ var currentTime = exports.unstable_now();
16363
+ "object" === typeof options && null !== options
16364
+ ? ((options = options.delay),
16365
+ (options =
16366
+ "number" === typeof options && 0 < options
16367
+ ? currentTime + options
16368
+ : currentTime))
16369
+ : (options = currentTime);
16370
+ switch (priorityLevel) {
16371
+ case 1:
16372
+ var timeout = -1;
16373
+ break;
16374
+ case 2:
16375
+ timeout = 250;
16376
+ break;
16377
+ case 5:
16378
+ timeout = 1073741823;
16379
+ break;
16380
+ case 4:
16381
+ timeout = 1e4;
16382
+ break;
16383
+ default:
16384
+ timeout = 5e3;
16385
+ }
16386
+ timeout = options + timeout;
16387
+ priorityLevel = {
16388
+ id: taskIdCounter++,
16389
+ callback: callback,
16390
+ priorityLevel: priorityLevel,
16391
+ startTime: options,
16392
+ expirationTime: timeout,
16393
+ sortIndex: -1
16394
+ };
16395
+ options > currentTime
16396
+ ? ((priorityLevel.sortIndex = options),
16397
+ push(timerQueue, priorityLevel),
16398
+ null === peek(taskQueue) &&
16399
+ priorityLevel === peek(timerQueue) &&
16400
+ (isHostTimeoutScheduled
16401
+ ? (localClearTimeout(taskTimeoutID), (taskTimeoutID = -1))
16402
+ : (isHostTimeoutScheduled = !0),
16403
+ requestHostTimeout(handleTimeout, options - currentTime)))
16404
+ : ((priorityLevel.sortIndex = timeout),
16405
+ push(taskQueue, priorityLevel),
16406
+ isHostCallbackScheduled ||
16407
+ isPerformingWork ||
16408
+ ((isHostCallbackScheduled = !0),
16409
+ isMessageLoopRunning ||
16410
+ ((isMessageLoopRunning = !0), schedulePerformWorkUntilDeadline())));
16411
+ return priorityLevel;
16412
+ };
16413
+ exports.unstable_shouldYield = shouldYieldToHost;
16414
+ exports.unstable_wrapCallback = function (callback) {
16415
+ var parentPriorityLevel = currentPriorityLevel;
16416
+ return function () {
16417
+ var previousPriorityLevel = currentPriorityLevel;
16418
+ currentPriorityLevel = parentPriorityLevel;
16419
+ try {
16420
+ return callback.apply(this, arguments);
16421
+ } finally {
16422
+ currentPriorityLevel = previousPriorityLevel;
16423
+ }
16424
+ };
16665
16425
  };
16666
- exports.version = "19.2.0";
16667
16426
 
16668
16427
 
16669
- /***/ }),
16428
+ /***/ },
16670
16429
 
16671
- /***/ 701:
16430
+ /***/ 172
16672
16431
  /*!************************************************************************************************!*\
16673
16432
  !*** ./node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react-jsx-runtime.production.js ***!
16674
16433
  \************************************************************************************************/
16675
- /***/ ((__unused_webpack_module, exports) => {
16434
+ (__unused_webpack_module, exports) {
16676
16435
 
16677
16436
  /**
16678
16437
  * @license React
@@ -16710,88 +16469,17 @@ exports.jsx = jsxProd;
16710
16469
  exports.jsxs = jsxProd;
16711
16470
 
16712
16471
 
16713
- /***/ }),
16714
-
16715
- /***/ 873:
16716
- /*!*********************************************************************!*\
16717
- !*** ./node_modules/.pnpm/react@19.2.0/node_modules/react/index.js ***!
16718
- \*********************************************************************/
16719
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
16720
-
16721
-
16722
-
16723
- if (true) {
16724
- module.exports = __webpack_require__(/*! ./cjs/react.production.js */ 390);
16725
- } else // removed by dead control flow
16726
- {}
16727
-
16728
-
16729
- /***/ }),
16730
-
16731
- /***/ 915:
16732
- /*!******************************************************************************************!*\
16733
- !*** ./node_modules/.pnpm/react-dom@19.2.0_react@19.2.0/node_modules/react-dom/index.js ***!
16734
- \******************************************************************************************/
16735
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
16736
-
16737
-
16738
-
16739
- function checkDCE() {
16740
- /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
16741
- if (
16742
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
16743
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
16744
- ) {
16745
- return;
16746
- }
16747
- if (false) // removed by dead control flow
16748
- {}
16749
- try {
16750
- // Verify that the code above has been dead code eliminated (DCE'd).
16751
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
16752
- } catch (err) {
16753
- // DevTools shouldn't crash React, no matter what.
16754
- // We should still report in case we break this code.
16755
- console.error(err);
16756
- }
16757
- }
16758
-
16759
- if (true) {
16760
- // DCE check should happen before ReactDOM bundle executes so that
16761
- // DevTools can report bad minification during injection.
16762
- checkDCE();
16763
- module.exports = __webpack_require__(/*! ./cjs/react-dom.production.js */ 955);
16764
- } else // removed by dead control flow
16765
- {}
16472
+ /***/ },
16766
16473
 
16767
-
16768
- /***/ }),
16769
-
16770
- /***/ 925:
16771
- /*!***************************************************************************!*\
16772
- !*** ./node_modules/.pnpm/react@19.2.0/node_modules/react/jsx-runtime.js ***!
16773
- \***************************************************************************/
16774
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
16775
-
16776
-
16777
-
16778
- if (true) {
16779
- module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.production.js */ 701);
16780
- } else // removed by dead control flow
16781
- {}
16782
-
16783
-
16784
- /***/ }),
16785
-
16786
- /***/ 943:
16787
- /*!************************************************************************************************!*\
16788
- !*** ./node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js ***!
16789
- \************************************************************************************************/
16790
- /***/ ((__unused_webpack_module, exports) => {
16474
+ /***/ 199
16475
+ /*!************************************************************************************!*\
16476
+ !*** ./node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.production.js ***!
16477
+ \************************************************************************************/
16478
+ (__unused_webpack_module, exports) {
16791
16479
 
16792
16480
  /**
16793
16481
  * @license React
16794
- * scheduler.production.js
16482
+ * react.production.js
16795
16483
  *
16796
16484
  * Copyright (c) Meta Platforms, Inc. and affiliates.
16797
16485
  *
@@ -16800,344 +16488,656 @@ if (true) {
16800
16488
  */
16801
16489
 
16802
16490
 
16803
- function push(heap, node) {
16804
- var index = heap.length;
16805
- heap.push(node);
16806
- a: for (; 0 < index; ) {
16807
- var parentIndex = (index - 1) >>> 1,
16808
- parent = heap[parentIndex];
16809
- if (0 < compare(parent, node))
16810
- (heap[parentIndex] = node), (heap[index] = parent), (index = parentIndex);
16811
- else break a;
16812
- }
16813
- }
16814
- function peek(heap) {
16815
- return 0 === heap.length ? null : heap[0];
16491
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
16492
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
16493
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
16494
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
16495
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
16496
+ REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
16497
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
16498
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
16499
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
16500
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
16501
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
16502
+ REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
16503
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
16504
+ function getIteratorFn(maybeIterable) {
16505
+ if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
16506
+ maybeIterable =
16507
+ (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
16508
+ maybeIterable["@@iterator"];
16509
+ return "function" === typeof maybeIterable ? maybeIterable : null;
16816
16510
  }
16817
- function pop(heap) {
16818
- if (0 === heap.length) return null;
16819
- var first = heap[0],
16820
- last = heap.pop();
16821
- if (last !== first) {
16822
- heap[0] = last;
16823
- a: for (
16824
- var index = 0, length = heap.length, halfLength = length >>> 1;
16825
- index < halfLength;
16826
-
16827
- ) {
16828
- var leftIndex = 2 * (index + 1) - 1,
16829
- left = heap[leftIndex],
16830
- rightIndex = leftIndex + 1,
16831
- right = heap[rightIndex];
16832
- if (0 > compare(left, last))
16833
- rightIndex < length && 0 > compare(right, left)
16834
- ? ((heap[index] = right),
16835
- (heap[rightIndex] = last),
16836
- (index = rightIndex))
16837
- : ((heap[index] = left),
16838
- (heap[leftIndex] = last),
16839
- (index = leftIndex));
16840
- else if (rightIndex < length && 0 > compare(right, last))
16841
- (heap[index] = right), (heap[rightIndex] = last), (index = rightIndex);
16842
- else break a;
16843
- }
16844
- }
16845
- return first;
16511
+ var ReactNoopUpdateQueue = {
16512
+ isMounted: function () {
16513
+ return !1;
16514
+ },
16515
+ enqueueForceUpdate: function () {},
16516
+ enqueueReplaceState: function () {},
16517
+ enqueueSetState: function () {}
16518
+ },
16519
+ assign = Object.assign,
16520
+ emptyObject = {};
16521
+ function Component(props, context, updater) {
16522
+ this.props = props;
16523
+ this.context = context;
16524
+ this.refs = emptyObject;
16525
+ this.updater = updater || ReactNoopUpdateQueue;
16846
16526
  }
16847
- function compare(a, b) {
16848
- var diff = a.sortIndex - b.sortIndex;
16849
- return 0 !== diff ? diff : a.id - b.id;
16527
+ Component.prototype.isReactComponent = {};
16528
+ Component.prototype.setState = function (partialState, callback) {
16529
+ if (
16530
+ "object" !== typeof partialState &&
16531
+ "function" !== typeof partialState &&
16532
+ null != partialState
16533
+ )
16534
+ throw Error(
16535
+ "takes an object of state variables to update or a function which returns an object of state variables."
16536
+ );
16537
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
16538
+ };
16539
+ Component.prototype.forceUpdate = function (callback) {
16540
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
16541
+ };
16542
+ function ComponentDummy() {}
16543
+ ComponentDummy.prototype = Component.prototype;
16544
+ function PureComponent(props, context, updater) {
16545
+ this.props = props;
16546
+ this.context = context;
16547
+ this.refs = emptyObject;
16548
+ this.updater = updater || ReactNoopUpdateQueue;
16850
16549
  }
16851
- exports.unstable_now = void 0;
16852
- if ("object" === typeof performance && "function" === typeof performance.now) {
16853
- var localPerformance = performance;
16854
- exports.unstable_now = function () {
16855
- return localPerformance.now();
16856
- };
16857
- } else {
16858
- var localDate = Date,
16859
- initialTime = localDate.now();
16860
- exports.unstable_now = function () {
16861
- return localDate.now() - initialTime;
16550
+ var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());
16551
+ pureComponentPrototype.constructor = PureComponent;
16552
+ assign(pureComponentPrototype, Component.prototype);
16553
+ pureComponentPrototype.isPureReactComponent = !0;
16554
+ var isArrayImpl = Array.isArray;
16555
+ function noop() {}
16556
+ var ReactSharedInternals = { H: null, A: null, T: null, S: null },
16557
+ hasOwnProperty = Object.prototype.hasOwnProperty;
16558
+ function ReactElement(type, key, props) {
16559
+ var refProp = props.ref;
16560
+ return {
16561
+ $$typeof: REACT_ELEMENT_TYPE,
16562
+ type: type,
16563
+ key: key,
16564
+ ref: void 0 !== refProp ? refProp : null,
16565
+ props: props
16862
16566
  };
16863
16567
  }
16864
- var taskQueue = [],
16865
- timerQueue = [],
16866
- taskIdCounter = 1,
16867
- currentTask = null,
16868
- currentPriorityLevel = 3,
16869
- isPerformingWork = !1,
16870
- isHostCallbackScheduled = !1,
16871
- isHostTimeoutScheduled = !1,
16872
- needsPaint = !1,
16873
- localSetTimeout = "function" === typeof setTimeout ? setTimeout : null,
16874
- localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null,
16875
- localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null;
16876
- function advanceTimers(currentTime) {
16877
- for (var timer = peek(timerQueue); null !== timer; ) {
16878
- if (null === timer.callback) pop(timerQueue);
16879
- else if (timer.startTime <= currentTime)
16880
- pop(timerQueue),
16881
- (timer.sortIndex = timer.expirationTime),
16882
- push(taskQueue, timer);
16883
- else break;
16884
- timer = peek(timerQueue);
16885
- }
16568
+ function cloneAndReplaceKey(oldElement, newKey) {
16569
+ return ReactElement(oldElement.type, newKey, oldElement.props);
16570
+ }
16571
+ function isValidElement(object) {
16572
+ return (
16573
+ "object" === typeof object &&
16574
+ null !== object &&
16575
+ object.$$typeof === REACT_ELEMENT_TYPE
16576
+ );
16577
+ }
16578
+ function escape(key) {
16579
+ var escaperLookup = { "=": "=0", ":": "=2" };
16580
+ return (
16581
+ "$" +
16582
+ key.replace(/[=:]/g, function (match) {
16583
+ return escaperLookup[match];
16584
+ })
16585
+ );
16886
16586
  }
16887
- function handleTimeout(currentTime) {
16888
- isHostTimeoutScheduled = !1;
16889
- advanceTimers(currentTime);
16890
- if (!isHostCallbackScheduled)
16891
- if (null !== peek(taskQueue))
16892
- (isHostCallbackScheduled = !0),
16893
- isMessageLoopRunning ||
16894
- ((isMessageLoopRunning = !0), schedulePerformWorkUntilDeadline());
16895
- else {
16896
- var firstTimer = peek(timerQueue);
16897
- null !== firstTimer &&
16898
- requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
16899
- }
16587
+ var userProvidedKeyEscapeRegex = /\/+/g;
16588
+ function getElementKey(element, index) {
16589
+ return "object" === typeof element && null !== element && null != element.key
16590
+ ? escape("" + element.key)
16591
+ : index.toString(36);
16900
16592
  }
16901
- var isMessageLoopRunning = !1,
16902
- taskTimeoutID = -1,
16903
- frameInterval = 5,
16904
- startTime = -1;
16905
- function shouldYieldToHost() {
16906
- return needsPaint
16907
- ? !0
16908
- : exports.unstable_now() - startTime < frameInterval
16909
- ? !1
16910
- : !0;
16593
+ function resolveThenable(thenable) {
16594
+ switch (thenable.status) {
16595
+ case "fulfilled":
16596
+ return thenable.value;
16597
+ case "rejected":
16598
+ throw thenable.reason;
16599
+ default:
16600
+ switch (
16601
+ ("string" === typeof thenable.status
16602
+ ? thenable.then(noop, noop)
16603
+ : ((thenable.status = "pending"),
16604
+ thenable.then(
16605
+ function (fulfilledValue) {
16606
+ "pending" === thenable.status &&
16607
+ ((thenable.status = "fulfilled"),
16608
+ (thenable.value = fulfilledValue));
16609
+ },
16610
+ function (error) {
16611
+ "pending" === thenable.status &&
16612
+ ((thenable.status = "rejected"), (thenable.reason = error));
16613
+ }
16614
+ )),
16615
+ thenable.status)
16616
+ ) {
16617
+ case "fulfilled":
16618
+ return thenable.value;
16619
+ case "rejected":
16620
+ throw thenable.reason;
16621
+ }
16622
+ }
16623
+ throw thenable;
16911
16624
  }
16912
- function performWorkUntilDeadline() {
16913
- needsPaint = !1;
16914
- if (isMessageLoopRunning) {
16915
- var currentTime = exports.unstable_now();
16916
- startTime = currentTime;
16917
- var hasMoreWork = !0;
16918
- try {
16919
- a: {
16920
- isHostCallbackScheduled = !1;
16921
- isHostTimeoutScheduled &&
16922
- ((isHostTimeoutScheduled = !1),
16923
- localClearTimeout(taskTimeoutID),
16924
- (taskTimeoutID = -1));
16925
- isPerformingWork = !0;
16926
- var previousPriorityLevel = currentPriorityLevel;
16927
- try {
16928
- b: {
16929
- advanceTimers(currentTime);
16930
- for (
16931
- currentTask = peek(taskQueue);
16932
- null !== currentTask &&
16933
- !(
16934
- currentTask.expirationTime > currentTime && shouldYieldToHost()
16935
- );
16936
-
16937
- ) {
16938
- var callback = currentTask.callback;
16939
- if ("function" === typeof callback) {
16940
- currentTask.callback = null;
16941
- currentPriorityLevel = currentTask.priorityLevel;
16942
- var continuationCallback = callback(
16943
- currentTask.expirationTime <= currentTime
16944
- );
16945
- currentTime = exports.unstable_now();
16946
- if ("function" === typeof continuationCallback) {
16947
- currentTask.callback = continuationCallback;
16948
- advanceTimers(currentTime);
16949
- hasMoreWork = !0;
16950
- break b;
16951
- }
16952
- currentTask === peek(taskQueue) && pop(taskQueue);
16953
- advanceTimers(currentTime);
16954
- } else pop(taskQueue);
16955
- currentTask = peek(taskQueue);
16956
- }
16957
- if (null !== currentTask) hasMoreWork = !0;
16958
- else {
16959
- var firstTimer = peek(timerQueue);
16960
- null !== firstTimer &&
16961
- requestHostTimeout(
16962
- handleTimeout,
16963
- firstTimer.startTime - currentTime
16964
- );
16965
- hasMoreWork = !1;
16966
- }
16967
- }
16968
- break a;
16969
- } finally {
16970
- (currentTask = null),
16971
- (currentPriorityLevel = previousPriorityLevel),
16972
- (isPerformingWork = !1);
16625
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
16626
+ var type = typeof children;
16627
+ if ("undefined" === type || "boolean" === type) children = null;
16628
+ var invokeCallback = !1;
16629
+ if (null === children) invokeCallback = !0;
16630
+ else
16631
+ switch (type) {
16632
+ case "bigint":
16633
+ case "string":
16634
+ case "number":
16635
+ invokeCallback = !0;
16636
+ break;
16637
+ case "object":
16638
+ switch (children.$$typeof) {
16639
+ case REACT_ELEMENT_TYPE:
16640
+ case REACT_PORTAL_TYPE:
16641
+ invokeCallback = !0;
16642
+ break;
16643
+ case REACT_LAZY_TYPE:
16644
+ return (
16645
+ (invokeCallback = children._init),
16646
+ mapIntoArray(
16647
+ invokeCallback(children._payload),
16648
+ array,
16649
+ escapedPrefix,
16650
+ nameSoFar,
16651
+ callback
16652
+ )
16653
+ );
16973
16654
  }
16974
- hasMoreWork = void 0;
16655
+ }
16656
+ if (invokeCallback)
16657
+ return (
16658
+ (callback = callback(children)),
16659
+ (invokeCallback =
16660
+ "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar),
16661
+ isArrayImpl(callback)
16662
+ ? ((escapedPrefix = ""),
16663
+ null != invokeCallback &&
16664
+ (escapedPrefix =
16665
+ invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"),
16666
+ mapIntoArray(callback, array, escapedPrefix, "", function (c) {
16667
+ return c;
16668
+ }))
16669
+ : null != callback &&
16670
+ (isValidElement(callback) &&
16671
+ (callback = cloneAndReplaceKey(
16672
+ callback,
16673
+ escapedPrefix +
16674
+ (null == callback.key ||
16675
+ (children && children.key === callback.key)
16676
+ ? ""
16677
+ : ("" + callback.key).replace(
16678
+ userProvidedKeyEscapeRegex,
16679
+ "$&/"
16680
+ ) + "/") +
16681
+ invokeCallback
16682
+ )),
16683
+ array.push(callback)),
16684
+ 1
16685
+ );
16686
+ invokeCallback = 0;
16687
+ var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
16688
+ if (isArrayImpl(children))
16689
+ for (var i = 0; i < children.length; i++)
16690
+ (nameSoFar = children[i]),
16691
+ (type = nextNamePrefix + getElementKey(nameSoFar, i)),
16692
+ (invokeCallback += mapIntoArray(
16693
+ nameSoFar,
16694
+ array,
16695
+ escapedPrefix,
16696
+ type,
16697
+ callback
16698
+ ));
16699
+ else if (((i = getIteratorFn(children)), "function" === typeof i))
16700
+ for (
16701
+ children = i.call(children), i = 0;
16702
+ !(nameSoFar = children.next()).done;
16703
+
16704
+ )
16705
+ (nameSoFar = nameSoFar.value),
16706
+ (type = nextNamePrefix + getElementKey(nameSoFar, i++)),
16707
+ (invokeCallback += mapIntoArray(
16708
+ nameSoFar,
16709
+ array,
16710
+ escapedPrefix,
16711
+ type,
16712
+ callback
16713
+ ));
16714
+ else if ("object" === type) {
16715
+ if ("function" === typeof children.then)
16716
+ return mapIntoArray(
16717
+ resolveThenable(children),
16718
+ array,
16719
+ escapedPrefix,
16720
+ nameSoFar,
16721
+ callback
16722
+ );
16723
+ array = String(children);
16724
+ throw Error(
16725
+ "Objects are not valid as a React child (found: " +
16726
+ ("[object Object]" === array
16727
+ ? "object with keys {" + Object.keys(children).join(", ") + "}"
16728
+ : array) +
16729
+ "). If you meant to render a collection of children, use an array instead."
16730
+ );
16731
+ }
16732
+ return invokeCallback;
16733
+ }
16734
+ function mapChildren(children, func, context) {
16735
+ if (null == children) return children;
16736
+ var result = [],
16737
+ count = 0;
16738
+ mapIntoArray(children, result, "", "", function (child) {
16739
+ return func.call(context, child, count++);
16740
+ });
16741
+ return result;
16742
+ }
16743
+ function lazyInitializer(payload) {
16744
+ if (-1 === payload._status) {
16745
+ var ctor = payload._result;
16746
+ ctor = ctor();
16747
+ ctor.then(
16748
+ function (moduleObject) {
16749
+ if (0 === payload._status || -1 === payload._status)
16750
+ (payload._status = 1), (payload._result = moduleObject);
16751
+ },
16752
+ function (error) {
16753
+ if (0 === payload._status || -1 === payload._status)
16754
+ (payload._status = 2), (payload._result = error);
16975
16755
  }
16976
- } finally {
16977
- hasMoreWork
16978
- ? schedulePerformWorkUntilDeadline()
16979
- : (isMessageLoopRunning = !1);
16980
- }
16756
+ );
16757
+ -1 === payload._status && ((payload._status = 0), (payload._result = ctor));
16981
16758
  }
16759
+ if (1 === payload._status) return payload._result.default;
16760
+ throw payload._result;
16982
16761
  }
16983
- var schedulePerformWorkUntilDeadline;
16984
- if ("function" === typeof localSetImmediate)
16985
- schedulePerformWorkUntilDeadline = function () {
16986
- localSetImmediate(performWorkUntilDeadline);
16762
+ var reportGlobalError =
16763
+ "function" === typeof reportError
16764
+ ? reportError
16765
+ : function (error) {
16766
+ if (
16767
+ "object" === typeof window &&
16768
+ "function" === typeof window.ErrorEvent
16769
+ ) {
16770
+ var event = new window.ErrorEvent("error", {
16771
+ bubbles: !0,
16772
+ cancelable: !0,
16773
+ message:
16774
+ "object" === typeof error &&
16775
+ null !== error &&
16776
+ "string" === typeof error.message
16777
+ ? String(error.message)
16778
+ : String(error),
16779
+ error: error
16780
+ });
16781
+ if (!window.dispatchEvent(event)) return;
16782
+ } else if (
16783
+ "object" === typeof process &&
16784
+ "function" === typeof process.emit
16785
+ ) {
16786
+ process.emit("uncaughtException", error);
16787
+ return;
16788
+ }
16789
+ console.error(error);
16790
+ },
16791
+ Children = {
16792
+ map: mapChildren,
16793
+ forEach: function (children, forEachFunc, forEachContext) {
16794
+ mapChildren(
16795
+ children,
16796
+ function () {
16797
+ forEachFunc.apply(this, arguments);
16798
+ },
16799
+ forEachContext
16800
+ );
16801
+ },
16802
+ count: function (children) {
16803
+ var n = 0;
16804
+ mapChildren(children, function () {
16805
+ n++;
16806
+ });
16807
+ return n;
16808
+ },
16809
+ toArray: function (children) {
16810
+ return (
16811
+ mapChildren(children, function (child) {
16812
+ return child;
16813
+ }) || []
16814
+ );
16815
+ },
16816
+ only: function (children) {
16817
+ if (!isValidElement(children))
16818
+ throw Error(
16819
+ "React.Children.only expected to receive a single React element child."
16820
+ );
16821
+ return children;
16822
+ }
16987
16823
  };
16988
- else if ("undefined" !== typeof MessageChannel) {
16989
- var channel = new MessageChannel(),
16990
- port = channel.port2;
16991
- channel.port1.onmessage = performWorkUntilDeadline;
16992
- schedulePerformWorkUntilDeadline = function () {
16993
- port.postMessage(null);
16824
+ exports.Activity = REACT_ACTIVITY_TYPE;
16825
+ exports.Children = Children;
16826
+ exports.Component = Component;
16827
+ exports.Fragment = REACT_FRAGMENT_TYPE;
16828
+ exports.Profiler = REACT_PROFILER_TYPE;
16829
+ exports.PureComponent = PureComponent;
16830
+ exports.StrictMode = REACT_STRICT_MODE_TYPE;
16831
+ exports.Suspense = REACT_SUSPENSE_TYPE;
16832
+ exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
16833
+ ReactSharedInternals;
16834
+ exports.__COMPILER_RUNTIME = {
16835
+ __proto__: null,
16836
+ c: function (size) {
16837
+ return ReactSharedInternals.H.useMemoCache(size);
16838
+ }
16839
+ };
16840
+ exports.cache = function (fn) {
16841
+ return function () {
16842
+ return fn.apply(null, arguments);
16994
16843
  };
16995
- } else
16996
- schedulePerformWorkUntilDeadline = function () {
16997
- localSetTimeout(performWorkUntilDeadline, 0);
16844
+ };
16845
+ exports.cacheSignal = function () {
16846
+ return null;
16847
+ };
16848
+ exports.cloneElement = function (element, config, children) {
16849
+ if (null === element || void 0 === element)
16850
+ throw Error(
16851
+ "The argument must be a React element, but you passed " + element + "."
16852
+ );
16853
+ var props = assign({}, element.props),
16854
+ key = element.key;
16855
+ if (null != config)
16856
+ for (propName in (void 0 !== config.key && (key = "" + config.key), config))
16857
+ !hasOwnProperty.call(config, propName) ||
16858
+ "key" === propName ||
16859
+ "__self" === propName ||
16860
+ "__source" === propName ||
16861
+ ("ref" === propName && void 0 === config.ref) ||
16862
+ (props[propName] = config[propName]);
16863
+ var propName = arguments.length - 2;
16864
+ if (1 === propName) props.children = children;
16865
+ else if (1 < propName) {
16866
+ for (var childArray = Array(propName), i = 0; i < propName; i++)
16867
+ childArray[i] = arguments[i + 2];
16868
+ props.children = childArray;
16869
+ }
16870
+ return ReactElement(element.type, key, props);
16871
+ };
16872
+ exports.createContext = function (defaultValue) {
16873
+ defaultValue = {
16874
+ $$typeof: REACT_CONTEXT_TYPE,
16875
+ _currentValue: defaultValue,
16876
+ _currentValue2: defaultValue,
16877
+ _threadCount: 0,
16878
+ Provider: null,
16879
+ Consumer: null
16998
16880
  };
16999
- function requestHostTimeout(callback, ms) {
17000
- taskTimeoutID = localSetTimeout(function () {
17001
- callback(exports.unstable_now());
17002
- }, ms);
17003
- }
17004
- exports.unstable_IdlePriority = 5;
17005
- exports.unstable_ImmediatePriority = 1;
17006
- exports.unstable_LowPriority = 4;
17007
- exports.unstable_NormalPriority = 3;
17008
- exports.unstable_Profiling = null;
17009
- exports.unstable_UserBlockingPriority = 2;
17010
- exports.unstable_cancelCallback = function (task) {
17011
- task.callback = null;
16881
+ defaultValue.Provider = defaultValue;
16882
+ defaultValue.Consumer = {
16883
+ $$typeof: REACT_CONSUMER_TYPE,
16884
+ _context: defaultValue
16885
+ };
16886
+ return defaultValue;
16887
+ };
16888
+ exports.createElement = function (type, config, children) {
16889
+ var propName,
16890
+ props = {},
16891
+ key = null;
16892
+ if (null != config)
16893
+ for (propName in (void 0 !== config.key && (key = "" + config.key), config))
16894
+ hasOwnProperty.call(config, propName) &&
16895
+ "key" !== propName &&
16896
+ "__self" !== propName &&
16897
+ "__source" !== propName &&
16898
+ (props[propName] = config[propName]);
16899
+ var childrenLength = arguments.length - 2;
16900
+ if (1 === childrenLength) props.children = children;
16901
+ else if (1 < childrenLength) {
16902
+ for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
16903
+ childArray[i] = arguments[i + 2];
16904
+ props.children = childArray;
16905
+ }
16906
+ if (type && type.defaultProps)
16907
+ for (propName in ((childrenLength = type.defaultProps), childrenLength))
16908
+ void 0 === props[propName] &&
16909
+ (props[propName] = childrenLength[propName]);
16910
+ return ReactElement(type, key, props);
16911
+ };
16912
+ exports.createRef = function () {
16913
+ return { current: null };
16914
+ };
16915
+ exports.forwardRef = function (render) {
16916
+ return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };
16917
+ };
16918
+ exports.isValidElement = isValidElement;
16919
+ exports.lazy = function (ctor) {
16920
+ return {
16921
+ $$typeof: REACT_LAZY_TYPE,
16922
+ _payload: { _status: -1, _result: ctor },
16923
+ _init: lazyInitializer
16924
+ };
16925
+ };
16926
+ exports.memo = function (type, compare) {
16927
+ return {
16928
+ $$typeof: REACT_MEMO_TYPE,
16929
+ type: type,
16930
+ compare: void 0 === compare ? null : compare
16931
+ };
16932
+ };
16933
+ exports.startTransition = function (scope) {
16934
+ var prevTransition = ReactSharedInternals.T,
16935
+ currentTransition = {};
16936
+ ReactSharedInternals.T = currentTransition;
16937
+ try {
16938
+ var returnValue = scope(),
16939
+ onStartTransitionFinish = ReactSharedInternals.S;
16940
+ null !== onStartTransitionFinish &&
16941
+ onStartTransitionFinish(currentTransition, returnValue);
16942
+ "object" === typeof returnValue &&
16943
+ null !== returnValue &&
16944
+ "function" === typeof returnValue.then &&
16945
+ returnValue.then(noop, reportGlobalError);
16946
+ } catch (error) {
16947
+ reportGlobalError(error);
16948
+ } finally {
16949
+ null !== prevTransition &&
16950
+ null !== currentTransition.types &&
16951
+ (prevTransition.types = currentTransition.types),
16952
+ (ReactSharedInternals.T = prevTransition);
16953
+ }
16954
+ };
16955
+ exports.unstable_useCacheRefresh = function () {
16956
+ return ReactSharedInternals.H.useCacheRefresh();
16957
+ };
16958
+ exports.use = function (usable) {
16959
+ return ReactSharedInternals.H.use(usable);
16960
+ };
16961
+ exports.useActionState = function (action, initialState, permalink) {
16962
+ return ReactSharedInternals.H.useActionState(action, initialState, permalink);
17012
16963
  };
17013
- exports.unstable_forceFrameRate = function (fps) {
17014
- 0 > fps || 125 < fps
17015
- ? console.error(
17016
- "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
17017
- )
17018
- : (frameInterval = 0 < fps ? Math.floor(1e3 / fps) : 5);
16964
+ exports.useCallback = function (callback, deps) {
16965
+ return ReactSharedInternals.H.useCallback(callback, deps);
17019
16966
  };
17020
- exports.unstable_getCurrentPriorityLevel = function () {
17021
- return currentPriorityLevel;
16967
+ exports.useContext = function (Context) {
16968
+ return ReactSharedInternals.H.useContext(Context);
17022
16969
  };
17023
- exports.unstable_next = function (eventHandler) {
17024
- switch (currentPriorityLevel) {
17025
- case 1:
17026
- case 2:
17027
- case 3:
17028
- var priorityLevel = 3;
17029
- break;
17030
- default:
17031
- priorityLevel = currentPriorityLevel;
17032
- }
17033
- var previousPriorityLevel = currentPriorityLevel;
17034
- currentPriorityLevel = priorityLevel;
17035
- try {
17036
- return eventHandler();
17037
- } finally {
17038
- currentPriorityLevel = previousPriorityLevel;
17039
- }
16970
+ exports.useDebugValue = function () {};
16971
+ exports.useDeferredValue = function (value, initialValue) {
16972
+ return ReactSharedInternals.H.useDeferredValue(value, initialValue);
17040
16973
  };
17041
- exports.unstable_requestPaint = function () {
17042
- needsPaint = !0;
16974
+ exports.useEffect = function (create, deps) {
16975
+ return ReactSharedInternals.H.useEffect(create, deps);
17043
16976
  };
17044
- exports.unstable_runWithPriority = function (priorityLevel, eventHandler) {
17045
- switch (priorityLevel) {
17046
- case 1:
17047
- case 2:
17048
- case 3:
17049
- case 4:
17050
- case 5:
17051
- break;
17052
- default:
17053
- priorityLevel = 3;
17054
- }
17055
- var previousPriorityLevel = currentPriorityLevel;
17056
- currentPriorityLevel = priorityLevel;
17057
- try {
17058
- return eventHandler();
17059
- } finally {
17060
- currentPriorityLevel = previousPriorityLevel;
17061
- }
16977
+ exports.useEffectEvent = function (callback) {
16978
+ return ReactSharedInternals.H.useEffectEvent(callback);
17062
16979
  };
17063
- exports.unstable_scheduleCallback = function (
17064
- priorityLevel,
17065
- callback,
17066
- options
16980
+ exports.useId = function () {
16981
+ return ReactSharedInternals.H.useId();
16982
+ };
16983
+ exports.useImperativeHandle = function (ref, create, deps) {
16984
+ return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
16985
+ };
16986
+ exports.useInsertionEffect = function (create, deps) {
16987
+ return ReactSharedInternals.H.useInsertionEffect(create, deps);
16988
+ };
16989
+ exports.useLayoutEffect = function (create, deps) {
16990
+ return ReactSharedInternals.H.useLayoutEffect(create, deps);
16991
+ };
16992
+ exports.useMemo = function (create, deps) {
16993
+ return ReactSharedInternals.H.useMemo(create, deps);
16994
+ };
16995
+ exports.useOptimistic = function (passthrough, reducer) {
16996
+ return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
16997
+ };
16998
+ exports.useReducer = function (reducer, initialArg, init) {
16999
+ return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
17000
+ };
17001
+ exports.useRef = function (initialValue) {
17002
+ return ReactSharedInternals.H.useRef(initialValue);
17003
+ };
17004
+ exports.useState = function (initialState) {
17005
+ return ReactSharedInternals.H.useState(initialState);
17006
+ };
17007
+ exports.useSyncExternalStore = function (
17008
+ subscribe,
17009
+ getSnapshot,
17010
+ getServerSnapshot
17067
17011
  ) {
17068
- var currentTime = exports.unstable_now();
17069
- "object" === typeof options && null !== options
17070
- ? ((options = options.delay),
17071
- (options =
17072
- "number" === typeof options && 0 < options
17073
- ? currentTime + options
17074
- : currentTime))
17075
- : (options = currentTime);
17076
- switch (priorityLevel) {
17077
- case 1:
17078
- var timeout = -1;
17079
- break;
17080
- case 2:
17081
- timeout = 250;
17082
- break;
17083
- case 5:
17084
- timeout = 1073741823;
17085
- break;
17086
- case 4:
17087
- timeout = 1e4;
17088
- break;
17089
- default:
17090
- timeout = 5e3;
17091
- }
17092
- timeout = options + timeout;
17093
- priorityLevel = {
17094
- id: taskIdCounter++,
17095
- callback: callback,
17096
- priorityLevel: priorityLevel,
17097
- startTime: options,
17098
- expirationTime: timeout,
17099
- sortIndex: -1
17100
- };
17101
- options > currentTime
17102
- ? ((priorityLevel.sortIndex = options),
17103
- push(timerQueue, priorityLevel),
17104
- null === peek(taskQueue) &&
17105
- priorityLevel === peek(timerQueue) &&
17106
- (isHostTimeoutScheduled
17107
- ? (localClearTimeout(taskTimeoutID), (taskTimeoutID = -1))
17108
- : (isHostTimeoutScheduled = !0),
17109
- requestHostTimeout(handleTimeout, options - currentTime)))
17110
- : ((priorityLevel.sortIndex = timeout),
17111
- push(taskQueue, priorityLevel),
17112
- isHostCallbackScheduled ||
17113
- isPerformingWork ||
17114
- ((isHostCallbackScheduled = !0),
17115
- isMessageLoopRunning ||
17116
- ((isMessageLoopRunning = !0), schedulePerformWorkUntilDeadline())));
17117
- return priorityLevel;
17012
+ return ReactSharedInternals.H.useSyncExternalStore(
17013
+ subscribe,
17014
+ getSnapshot,
17015
+ getServerSnapshot
17016
+ );
17118
17017
  };
17119
- exports.unstable_shouldYield = shouldYieldToHost;
17120
- exports.unstable_wrapCallback = function (callback) {
17121
- var parentPriorityLevel = currentPriorityLevel;
17122
- return function () {
17123
- var previousPriorityLevel = currentPriorityLevel;
17124
- currentPriorityLevel = parentPriorityLevel;
17125
- try {
17126
- return callback.apply(this, arguments);
17127
- } finally {
17128
- currentPriorityLevel = previousPriorityLevel;
17129
- }
17130
- };
17018
+ exports.useTransition = function () {
17019
+ return ReactSharedInternals.H.useTransition();
17131
17020
  };
17021
+ exports.version = "19.2.0";
17022
+
17023
+
17024
+ /***/ },
17025
+
17026
+ /***/ 402
17027
+ /*!******************************************************************************************!*\
17028
+ !*** ./node_modules/.pnpm/react-dom@19.2.0_react@19.2.0/node_modules/react-dom/index.js ***!
17029
+ \******************************************************************************************/
17030
+ (module, __unused_webpack_exports, __webpack_require__) {
17031
+
17032
+
17033
+
17034
+ function checkDCE() {
17035
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
17036
+ if (
17037
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
17038
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
17039
+ ) {
17040
+ return;
17041
+ }
17042
+ if (false) // removed by dead control flow
17043
+ {}
17044
+ try {
17045
+ // Verify that the code above has been dead code eliminated (DCE'd).
17046
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
17047
+ } catch (err) {
17048
+ // DevTools shouldn't crash React, no matter what.
17049
+ // We should still report in case we break this code.
17050
+ console.error(err);
17051
+ }
17052
+ }
17053
+
17054
+ if (true) {
17055
+ // DCE check should happen before ReactDOM bundle executes so that
17056
+ // DevTools can report bad minification during injection.
17057
+ checkDCE();
17058
+ module.exports = __webpack_require__(/*! ./cjs/react-dom.production.js */ 804);
17059
+ } else // removed by dead control flow
17060
+ {}
17061
+
17062
+
17063
+ /***/ },
17064
+
17065
+ /***/ 419
17066
+ /*!*****************************************************************************!*\
17067
+ !*** ./node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/index.js ***!
17068
+ \*****************************************************************************/
17069
+ (module, __unused_webpack_exports, __webpack_require__) {
17070
+
17071
+
17072
+
17073
+ if (true) {
17074
+ module.exports = __webpack_require__(/*! ./cjs/scheduler.production.js */ 146);
17075
+ } else // removed by dead control flow
17076
+ {}
17077
+
17078
+
17079
+ /***/ },
17080
+
17081
+ /***/ 422
17082
+ /*!*********************************************************************!*\
17083
+ !*** ./node_modules/.pnpm/react@19.2.0/node_modules/react/index.js ***!
17084
+ \*********************************************************************/
17085
+ (module, __unused_webpack_exports, __webpack_require__) {
17086
+
17087
+
17088
+
17089
+ if (true) {
17090
+ module.exports = __webpack_require__(/*! ./cjs/react.production.js */ 199);
17091
+ } else // removed by dead control flow
17092
+ {}
17093
+
17094
+
17095
+ /***/ },
17096
+
17097
+ /***/ 739
17098
+ /*!*******************************************************************************************!*\
17099
+ !*** ./node_modules/.pnpm/react-dom@19.2.0_react@19.2.0/node_modules/react-dom/client.js ***!
17100
+ \*******************************************************************************************/
17101
+ (module, __unused_webpack_exports, __webpack_require__) {
17102
+
17103
+
17104
+
17105
+ function checkDCE() {
17106
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
17107
+ if (
17108
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
17109
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
17110
+ ) {
17111
+ return;
17112
+ }
17113
+ if (false) // removed by dead control flow
17114
+ {}
17115
+ try {
17116
+ // Verify that the code above has been dead code eliminated (DCE'd).
17117
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
17118
+ } catch (err) {
17119
+ // DevTools shouldn't crash React, no matter what.
17120
+ // We should still report in case we break this code.
17121
+ console.error(err);
17122
+ }
17123
+ }
17124
+
17125
+ if (true) {
17126
+ // DCE check should happen before ReactDOM bundle executes so that
17127
+ // DevTools can report bad minification during injection.
17128
+ checkDCE();
17129
+ module.exports = __webpack_require__(/*! ./cjs/react-dom-client.production.js */ 104);
17130
+ } else // removed by dead control flow
17131
+ {}
17132
17132
 
17133
17133
 
17134
- /***/ }),
17134
+ /***/ },
17135
17135
 
17136
- /***/ 955:
17136
+ /***/ 804
17137
17137
  /*!*************************************************************************************************************!*\
17138
17138
  !*** ./node_modules/.pnpm/react-dom@19.2.0_react@19.2.0/node_modules/react-dom/cjs/react-dom.production.js ***!
17139
17139
  \*************************************************************************************************************/
17140
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
17140
+ (__unused_webpack_module, exports, __webpack_require__) {
17141
17141
 
17142
17142
  /**
17143
17143
  * @license React
@@ -17150,7 +17150,7 @@ exports.unstable_wrapCallback = function (callback) {
17150
17150
  */
17151
17151
 
17152
17152
 
17153
- var React = __webpack_require__(/*! react */ 873);
17153
+ var React = __webpack_require__(/*! react */ 422);
17154
17154
  function formatProdErrorMessage(code) {
17155
17155
  var url = "https://react.dev/errors/" + code;
17156
17156
  if (1 < arguments.length) {
@@ -17351,7 +17351,7 @@ exports.useFormStatus = function () {
17351
17351
  exports.version = "19.2.0";
17352
17352
 
17353
17353
 
17354
- /***/ })
17354
+ /***/ }
17355
17355
 
17356
17356
  /******/ });
17357
17357
  /************************************************************************/
@@ -17453,10 +17453,10 @@ __webpack_require__.r(__webpack_exports__);
17453
17453
  /* harmony export */ ReactDOMClient: () => (/* reexport fake namespace object from non-harmony */ react_dom_client__WEBPACK_IMPORTED_MODULE_3___namespace_cache || (react_dom_client__WEBPACK_IMPORTED_MODULE_3___namespace_cache = __webpack_require__.t(react_dom_client__WEBPACK_IMPORTED_MODULE_3__, 2))),
17454
17454
  /* harmony export */ ReactJSX: () => (/* reexport fake namespace object from non-harmony */ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___namespace_cache || (react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___namespace_cache = __webpack_require__.t(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__, 2)))
17455
17455
  /* harmony export */ });
17456
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 873);
17457
- /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ 925);
17458
- /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-dom */ 915);
17459
- /* harmony import */ var react_dom_client__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-dom/client */ 12);
17456
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 422);
17457
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ 38);
17458
+ /* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-dom */ 402);
17459
+ /* harmony import */ var react_dom_client__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-dom/client */ 739);
17460
17460
 
17461
17461
 
17462
17462