@jsenv/cli 0.2.33 → 0.2.36
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.
- package/package.json +1 -1
- package/template-node-package/package.json +4 -4
- package/template-web/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/js/new_stylesheet.js +1 -1
- package/template-web/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/js/s.js +5 -5
- package/template-web/package.json +6 -6
- package/template-web-components/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/js/new_stylesheet.js +1 -1
- package/template-web-components/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/js/s.js +5 -5
- package/template-web-components/package.json +6 -6
- package/template-web-preact/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/js/new_stylesheet.js +1 -1
- package/template-web-preact/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/js/s.js +5 -5
- package/template-web-preact/.jsenv/shape/index.html +1 -1
- package/template-web-preact/.jsenv/shape/vendors.js +1 -1
- package/template-web-preact/.jsenv/shape/vendors.nomodule.js +1 -1
- package/template-web-preact/dist/index.html +1 -1
- package/template-web-preact/dist/js/vendors.nomodule.js +1 -1
- package/template-web-preact/package.json +7 -7
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/dist/js/new_stylesheet.js +1 -1
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/react/jsx-runtime.jsx +3 -3
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react/react.jsx +18 -18
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/react-dom/client.jsx +413 -413
- package/template-web-react/.jsenv/craft/@fs/Users/dmail/Documents/dev/core/packages/internal/js-module-fallback/dist/js/s.js +5 -5
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.js +22 -22
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.js__compile_info__.json +3 -3
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/index.production.map +1 -1
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.js +3 -3
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.js__compile_info__.json +3 -3
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react/jsx-runtime.production.map +1 -1
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.js +461 -461
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.js__compile_info__.json +3 -3
- package/template-web-react/.jsenv/craft/cjs_to_esm/@fs/Users/dmail/Documents/dev/core/node_modules/react-dom/client.production.map +1 -1
- package/template-web-react/.jsenv/craft/cjs_to_esm/__compile_context__.json +1 -1
- package/template-web-react/package.json +7 -7
|
@@ -267,7 +267,7 @@ function requireScheduler_production() {
|
|
|
267
267
|
var diff = a.sortIndex - b.sortIndex;
|
|
268
268
|
return 0 !== diff ? diff : a.id - b.id;
|
|
269
269
|
}
|
|
270
|
-
exports.unstable_now =
|
|
270
|
+
exports.unstable_now = undefined;
|
|
271
271
|
if ("object" === typeof performance && "function" === typeof performance.now) {
|
|
272
272
|
var localPerformance = performance;
|
|
273
273
|
exports.unstable_now = function () {
|
|
@@ -285,9 +285,9 @@ function requireScheduler_production() {
|
|
|
285
285
|
taskIdCounter = 1,
|
|
286
286
|
currentTask = null,
|
|
287
287
|
currentPriorityLevel = 3,
|
|
288
|
-
isPerformingWork =
|
|
289
|
-
isHostCallbackScheduled =
|
|
290
|
-
isHostTimeoutScheduled =
|
|
288
|
+
isPerformingWork = false,
|
|
289
|
+
isHostCallbackScheduled = false,
|
|
290
|
+
isHostTimeoutScheduled = false,
|
|
291
291
|
localSetTimeout = "function" === typeof setTimeout ? setTimeout : null,
|
|
292
292
|
localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null,
|
|
293
293
|
localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null;
|
|
@@ -298,25 +298,25 @@ function requireScheduler_production() {
|
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
function handleTimeout(currentTime) {
|
|
301
|
-
isHostTimeoutScheduled =
|
|
301
|
+
isHostTimeoutScheduled = false;
|
|
302
302
|
advanceTimers(currentTime);
|
|
303
|
-
if (!isHostCallbackScheduled) if (null !== peek(taskQueue)) isHostCallbackScheduled =
|
|
303
|
+
if (!isHostCallbackScheduled) if (null !== peek(taskQueue)) isHostCallbackScheduled = true, requestHostCallback();else {
|
|
304
304
|
var firstTimer = peek(timerQueue);
|
|
305
305
|
null !== firstTimer && requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
-
var isMessageLoopRunning =
|
|
308
|
+
var isMessageLoopRunning = false,
|
|
309
309
|
taskTimeoutID = -1,
|
|
310
310
|
frameInterval = 5,
|
|
311
311
|
startTime = -1;
|
|
312
312
|
function shouldYieldToHost() {
|
|
313
|
-
return exports.unstable_now() - startTime < frameInterval ?
|
|
313
|
+
return exports.unstable_now() - startTime < frameInterval ? false : true;
|
|
314
314
|
}
|
|
315
315
|
function performWorkUntilDeadline() {
|
|
316
316
|
if (isMessageLoopRunning) {
|
|
317
317
|
var currentTime = exports.unstable_now();
|
|
318
318
|
startTime = currentTime;
|
|
319
|
-
var hasMoreWork =
|
|
319
|
+
var hasMoreWork = true;
|
|
320
320
|
try {
|
|
321
321
|
a: {
|
|
322
322
|
isHostCallbackScheduled = !1;
|
|
@@ -357,7 +357,7 @@ function requireScheduler_production() {
|
|
|
357
357
|
hasMoreWork = void 0;
|
|
358
358
|
}
|
|
359
359
|
} finally {
|
|
360
|
-
hasMoreWork ? schedulePerformWorkUntilDeadline() : isMessageLoopRunning =
|
|
360
|
+
hasMoreWork ? schedulePerformWorkUntilDeadline() : isMessageLoopRunning = false;
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
}
|
|
@@ -375,7 +375,7 @@ function requireScheduler_production() {
|
|
|
375
375
|
localSetTimeout(performWorkUntilDeadline, 0);
|
|
376
376
|
};
|
|
377
377
|
function requestHostCallback() {
|
|
378
|
-
isMessageLoopRunning || (isMessageLoopRunning =
|
|
378
|
+
isMessageLoopRunning || (isMessageLoopRunning = true, schedulePerformWorkUntilDeadline());
|
|
379
379
|
}
|
|
380
380
|
function requestHostTimeout(callback, ms) {
|
|
381
381
|
taskTimeoutID = localSetTimeout(function () {
|
|
@@ -392,7 +392,7 @@ function requireScheduler_production() {
|
|
|
392
392
|
task.callback = null;
|
|
393
393
|
};
|
|
394
394
|
exports.unstable_continueExecution = function () {
|
|
395
|
-
isHostCallbackScheduled || isPerformingWork || (isHostCallbackScheduled =
|
|
395
|
+
isHostCallbackScheduled || isPerformingWork || (isHostCallbackScheduled = true, requestHostCallback());
|
|
396
396
|
};
|
|
397
397
|
exports.unstable_forceFrameRate = function (fps) {
|
|
398
398
|
0 > fps || 125 < fps ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : frameInterval = 0 < fps ? Math.floor(1e3 / fps) : 5;
|
|
@@ -470,7 +470,7 @@ function requireScheduler_production() {
|
|
|
470
470
|
expirationTime: timeout,
|
|
471
471
|
sortIndex: -1
|
|
472
472
|
};
|
|
473
|
-
options > currentTime ? (priorityLevel.sortIndex = options, push(timerQueue, priorityLevel), null === peek(taskQueue) && priorityLevel === peek(timerQueue) && (isHostTimeoutScheduled ? (localClearTimeout(taskTimeoutID), taskTimeoutID = -1) : isHostTimeoutScheduled =
|
|
473
|
+
options > currentTime ? (priorityLevel.sortIndex = options, push(timerQueue, priorityLevel), null === peek(taskQueue) && priorityLevel === peek(timerQueue) && (isHostTimeoutScheduled ? (localClearTimeout(taskTimeoutID), taskTimeoutID = -1) : isHostTimeoutScheduled = true, requestHostTimeout(handleTimeout, options - currentTime))) : (priorityLevel.sortIndex = timeout, push(taskQueue, priorityLevel), isHostCallbackScheduled || isPerformingWork || (isHostCallbackScheduled = true, requestHostCallback()));
|
|
474
474
|
return priorityLevel;
|
|
475
475
|
};
|
|
476
476
|
exports.unstable_shouldYield = shouldYieldToHost;
|
|
@@ -546,7 +546,7 @@ function requireReactDom_production() {
|
|
|
546
546
|
},
|
|
547
547
|
REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
548
548
|
function createPortal$1(children, containerInfo, implementation) {
|
|
549
|
-
var key = 3 < arguments.length &&
|
|
549
|
+
var key = 3 < arguments.length && undefined !== arguments[3] ? arguments[3] : null;
|
|
550
550
|
return {
|
|
551
551
|
$$typeof: REACT_PORTAL_TYPE,
|
|
552
552
|
key: null == key ? null : "" + key,
|
|
@@ -562,7 +562,7 @@ function requireReactDom_production() {
|
|
|
562
562
|
}
|
|
563
563
|
reactDom_production.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
|
|
564
564
|
reactDom_production.createPortal = function (children, container) {
|
|
565
|
-
var key = 2 < arguments.length &&
|
|
565
|
+
var key = 2 < arguments.length && undefined !== arguments[2] ? arguments[2] : null;
|
|
566
566
|
if (!container || 1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType) throw Error(formatProdErrorMessage(299));
|
|
567
567
|
return createPortal$1(children, container, null, key);
|
|
568
568
|
};
|
|
@@ -576,7 +576,7 @@ function requireReactDom_production() {
|
|
|
576
576
|
}
|
|
577
577
|
};
|
|
578
578
|
reactDom_production.preconnect = function (href, options) {
|
|
579
|
-
"string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" :
|
|
579
|
+
"string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" : undefined) : options = null, Internals.d.C(href, options));
|
|
580
580
|
};
|
|
581
581
|
reactDom_production.prefetchDNS = function (href) {
|
|
582
582
|
"string" === typeof href && Internals.d.D(href);
|
|
@@ -585,9 +585,9 @@ function requireReactDom_production() {
|
|
|
585
585
|
if ("string" === typeof href && options && "string" === typeof options.as) {
|
|
586
586
|
var as = options.as,
|
|
587
587
|
crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),
|
|
588
|
-
integrity = "string" === typeof options.integrity ? options.integrity :
|
|
589
|
-
fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority :
|
|
590
|
-
"style" === as ? Internals.d.S(href, "string" === typeof options.precedence ? options.precedence :
|
|
588
|
+
integrity = "string" === typeof options.integrity ? options.integrity : undefined,
|
|
589
|
+
fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : undefined;
|
|
590
|
+
"style" === as ? Internals.d.S(href, "string" === typeof options.precedence ? options.precedence : undefined, {
|
|
591
591
|
crossOrigin: crossOrigin,
|
|
592
592
|
integrity: integrity,
|
|
593
593
|
fetchPriority: fetchPriority
|
|
@@ -595,7 +595,7 @@ function requireReactDom_production() {
|
|
|
595
595
|
crossOrigin: crossOrigin,
|
|
596
596
|
integrity: integrity,
|
|
597
597
|
fetchPriority: fetchPriority,
|
|
598
|
-
nonce: "string" === typeof options.nonce ? options.nonce :
|
|
598
|
+
nonce: "string" === typeof options.nonce ? options.nonce : undefined
|
|
599
599
|
});
|
|
600
600
|
}
|
|
601
601
|
};
|
|
@@ -605,8 +605,8 @@ function requireReactDom_production() {
|
|
|
605
605
|
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
|
|
606
606
|
Internals.d.M(href, {
|
|
607
607
|
crossOrigin: crossOrigin,
|
|
608
|
-
integrity: "string" === typeof options.integrity ? options.integrity :
|
|
609
|
-
nonce: "string" === typeof options.nonce ? options.nonce :
|
|
608
|
+
integrity: "string" === typeof options.integrity ? options.integrity : undefined,
|
|
609
|
+
nonce: "string" === typeof options.nonce ? options.nonce : undefined
|
|
610
610
|
});
|
|
611
611
|
}
|
|
612
612
|
} else null == options && Internals.d.M(href);
|
|
@@ -617,14 +617,14 @@ function requireReactDom_production() {
|
|
|
617
617
|
crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
|
|
618
618
|
Internals.d.L(href, as, {
|
|
619
619
|
crossOrigin: crossOrigin,
|
|
620
|
-
integrity: "string" === typeof options.integrity ? options.integrity :
|
|
621
|
-
nonce: "string" === typeof options.nonce ? options.nonce :
|
|
622
|
-
type: "string" === typeof options.type ? options.type :
|
|
623
|
-
fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority :
|
|
624
|
-
referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy :
|
|
625
|
-
imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet :
|
|
626
|
-
imageSizes: "string" === typeof options.imageSizes ? options.imageSizes :
|
|
627
|
-
media: "string" === typeof options.media ? options.media :
|
|
620
|
+
integrity: "string" === typeof options.integrity ? options.integrity : undefined,
|
|
621
|
+
nonce: "string" === typeof options.nonce ? options.nonce : undefined,
|
|
622
|
+
type: "string" === typeof options.type ? options.type : undefined,
|
|
623
|
+
fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : undefined,
|
|
624
|
+
referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : undefined,
|
|
625
|
+
imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : undefined,
|
|
626
|
+
imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : undefined,
|
|
627
|
+
media: "string" === typeof options.media ? options.media : undefined
|
|
628
628
|
});
|
|
629
629
|
}
|
|
630
630
|
};
|
|
@@ -632,9 +632,9 @@ function requireReactDom_production() {
|
|
|
632
632
|
if ("string" === typeof href) if (options) {
|
|
633
633
|
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
|
|
634
634
|
Internals.d.m(href, {
|
|
635
|
-
as: "string" === typeof options.as && "script" !== options.as ? options.as :
|
|
635
|
+
as: "string" === typeof options.as && "script" !== options.as ? options.as : undefined,
|
|
636
636
|
crossOrigin: crossOrigin,
|
|
637
|
-
integrity: "string" === typeof options.integrity ? options.integrity :
|
|
637
|
+
integrity: "string" === typeof options.integrity ? options.integrity : undefined
|
|
638
638
|
});
|
|
639
639
|
} else Internals.d.m(href);
|
|
640
640
|
};
|
|
@@ -764,7 +764,7 @@ function requireReactDomClient_production() {
|
|
|
764
764
|
prefix,
|
|
765
765
|
suffix;
|
|
766
766
|
function describeBuiltInComponentFrame(name) {
|
|
767
|
-
if (
|
|
767
|
+
if (undefined === prefix) try {
|
|
768
768
|
throw Error();
|
|
769
769
|
} catch (x) {
|
|
770
770
|
var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
@@ -773,12 +773,12 @@ function requireReactDomClient_production() {
|
|
|
773
773
|
}
|
|
774
774
|
return "\n" + prefix + name + suffix;
|
|
775
775
|
}
|
|
776
|
-
var reentry =
|
|
776
|
+
var reentry = false;
|
|
777
777
|
function describeNativeComponentFrame(fn, construct) {
|
|
778
778
|
if (!fn || reentry) return "";
|
|
779
|
-
reentry =
|
|
779
|
+
reentry = true;
|
|
780
780
|
var previousPrepareStackTrace = Error.prepareStackTrace;
|
|
781
|
-
Error.prepareStackTrace =
|
|
781
|
+
Error.prepareStackTrace = undefined;
|
|
782
782
|
try {
|
|
783
783
|
var RunInRootFrame = {
|
|
784
784
|
DetermineComponentFrameRoot: function () {
|
|
@@ -847,7 +847,7 @@ function requireReactDomClient_production() {
|
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
849
|
} finally {
|
|
850
|
-
reentry =
|
|
850
|
+
reentry = false, Error.prepareStackTrace = previousPrepareStackTrace;
|
|
851
851
|
}
|
|
852
852
|
return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(previousPrepareStackTrace) : "";
|
|
853
853
|
}
|
|
@@ -865,11 +865,11 @@ function requireReactDomClient_production() {
|
|
|
865
865
|
return describeBuiltInComponentFrame("SuspenseList");
|
|
866
866
|
case 0:
|
|
867
867
|
case 15:
|
|
868
|
-
return fiber = describeNativeComponentFrame(fiber.type,
|
|
868
|
+
return fiber = describeNativeComponentFrame(fiber.type, false), fiber;
|
|
869
869
|
case 11:
|
|
870
|
-
return fiber = describeNativeComponentFrame(fiber.type.render,
|
|
870
|
+
return fiber = describeNativeComponentFrame(fiber.type.render, false), fiber;
|
|
871
871
|
case 1:
|
|
872
|
-
return fiber = describeNativeComponentFrame(fiber.type,
|
|
872
|
+
return fiber = describeNativeComponentFrame(fiber.type, true), fiber;
|
|
873
873
|
default:
|
|
874
874
|
return "";
|
|
875
875
|
}
|
|
@@ -931,15 +931,15 @@ function requireReactDomClient_production() {
|
|
|
931
931
|
throw Error(formatProdErrorMessage(188));
|
|
932
932
|
}
|
|
933
933
|
if (a.return !== b.return) a = parentA, b = parentB;else {
|
|
934
|
-
for (var didFindChild =
|
|
934
|
+
for (var didFindChild = false, child$2 = parentA.child; child$2;) {
|
|
935
935
|
if (child$2 === a) {
|
|
936
|
-
didFindChild =
|
|
936
|
+
didFindChild = true;
|
|
937
937
|
a = parentA;
|
|
938
938
|
b = parentB;
|
|
939
939
|
break;
|
|
940
940
|
}
|
|
941
941
|
if (child$2 === b) {
|
|
942
|
-
didFindChild =
|
|
942
|
+
didFindChild = true;
|
|
943
943
|
b = parentA;
|
|
944
944
|
a = parentB;
|
|
945
945
|
break;
|
|
@@ -949,13 +949,13 @@ function requireReactDomClient_production() {
|
|
|
949
949
|
if (!didFindChild) {
|
|
950
950
|
for (child$2 = parentB.child; child$2;) {
|
|
951
951
|
if (child$2 === a) {
|
|
952
|
-
didFindChild =
|
|
952
|
+
didFindChild = true;
|
|
953
953
|
a = parentB;
|
|
954
954
|
b = parentA;
|
|
955
955
|
break;
|
|
956
956
|
}
|
|
957
957
|
if (child$2 === b) {
|
|
958
|
-
didFindChild =
|
|
958
|
+
didFindChild = true;
|
|
959
959
|
b = parentB;
|
|
960
960
|
a = parentA;
|
|
961
961
|
break;
|
|
@@ -983,7 +983,7 @@ function requireReactDomClient_production() {
|
|
|
983
983
|
var isArrayImpl = Array.isArray,
|
|
984
984
|
ReactDOMSharedInternals = ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
985
985
|
sharedNotPendingObject = {
|
|
986
|
-
pending:
|
|
986
|
+
pending: false,
|
|
987
987
|
data: null,
|
|
988
988
|
method: null,
|
|
989
989
|
action: null
|
|
@@ -1264,7 +1264,7 @@ function requireReactDomClient_production() {
|
|
|
1264
1264
|
var updatePriority = ReactDOMSharedInternals.p;
|
|
1265
1265
|
if (0 !== updatePriority) return updatePriority;
|
|
1266
1266
|
updatePriority = window.event;
|
|
1267
|
-
return
|
|
1267
|
+
return undefined === updatePriority ? 32 : getEventPriority(updatePriority.type);
|
|
1268
1268
|
}
|
|
1269
1269
|
function runWithPriority(priority, fn) {
|
|
1270
1270
|
var previousPriority = ReactDOMSharedInternals.p;
|
|
@@ -1328,7 +1328,7 @@ function requireReactDomClient_production() {
|
|
|
1328
1328
|
return resources;
|
|
1329
1329
|
}
|
|
1330
1330
|
function markNodeAsHoistable(node) {
|
|
1331
|
-
node[internalHoistableMarker] =
|
|
1331
|
+
node[internalHoistableMarker] = true;
|
|
1332
1332
|
}
|
|
1333
1333
|
var allNativeEvents = new Set(),
|
|
1334
1334
|
registrationNameDependencies = {};
|
|
@@ -1345,11 +1345,11 @@ function requireReactDomClient_production() {
|
|
|
1345
1345
|
illegalAttributeNameCache = {},
|
|
1346
1346
|
validatedAttributeNameCache = {};
|
|
1347
1347
|
function isAttributeNameSafe(attributeName) {
|
|
1348
|
-
if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) return
|
|
1349
|
-
if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) return
|
|
1350
|
-
if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) return validatedAttributeNameCache[attributeName] =
|
|
1351
|
-
illegalAttributeNameCache[attributeName] =
|
|
1352
|
-
return
|
|
1348
|
+
if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) return true;
|
|
1349
|
+
if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) return false;
|
|
1350
|
+
if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) return validatedAttributeNameCache[attributeName] = true;
|
|
1351
|
+
illegalAttributeNameCache[attributeName] = true;
|
|
1352
|
+
return false;
|
|
1353
1353
|
}
|
|
1354
1354
|
function setValueForAttribute(node, name, value) {
|
|
1355
1355
|
if (isAttributeNameSafe(name)) if (null === value) node.removeAttribute(name);else {
|
|
@@ -1421,7 +1421,7 @@ function requireReactDomClient_production() {
|
|
|
1421
1421
|
var get = descriptor.get,
|
|
1422
1422
|
set = descriptor.set;
|
|
1423
1423
|
Object.defineProperty(node, valueField, {
|
|
1424
|
-
configurable:
|
|
1424
|
+
configurable: true,
|
|
1425
1425
|
get: function () {
|
|
1426
1426
|
return get.call(this);
|
|
1427
1427
|
},
|
|
@@ -1451,17 +1451,17 @@ function requireReactDomClient_production() {
|
|
|
1451
1451
|
node._valueTracker || (node._valueTracker = trackValueOnNode(node));
|
|
1452
1452
|
}
|
|
1453
1453
|
function updateValueIfChanged(node) {
|
|
1454
|
-
if (!node) return
|
|
1454
|
+
if (!node) return false;
|
|
1455
1455
|
var tracker = node._valueTracker;
|
|
1456
|
-
if (!tracker) return
|
|
1456
|
+
if (!tracker) return true;
|
|
1457
1457
|
var lastValue = tracker.getValue();
|
|
1458
1458
|
var value = "";
|
|
1459
1459
|
node && (value = isCheckable(node) ? node.checked ? "true" : "false" : node.value);
|
|
1460
1460
|
node = value;
|
|
1461
|
-
return node !== lastValue ? (tracker.setValue(node),
|
|
1461
|
+
return node !== lastValue ? (tracker.setValue(node), true) : false;
|
|
1462
1462
|
}
|
|
1463
1463
|
function getActiveElement(doc) {
|
|
1464
|
-
doc = doc || ("undefined" !== typeof document ? document :
|
|
1464
|
+
doc = doc || ("undefined" !== typeof document ? document : undefined);
|
|
1465
1465
|
if ("undefined" === typeof doc) return null;
|
|
1466
1466
|
try {
|
|
1467
1467
|
return doc.activeElement || doc.body;
|
|
@@ -1491,7 +1491,7 @@ function requireReactDomClient_production() {
|
|
|
1491
1491
|
function initInput(element, value, defaultValue, checked, defaultChecked, type, name, isHydrating) {
|
|
1492
1492
|
null != type && "function" !== typeof type && "symbol" !== typeof type && "boolean" !== typeof type && (element.type = type);
|
|
1493
1493
|
if (null != value || null != defaultValue) {
|
|
1494
|
-
if (!("submit" !== type && "reset" !== type ||
|
|
1494
|
+
if (!("submit" !== type && "reset" !== type || undefined !== value && null !== value)) return;
|
|
1495
1495
|
defaultValue = null != defaultValue ? "" + getToStringValue(defaultValue) : "";
|
|
1496
1496
|
value = null != value ? "" + getToStringValue(value) : defaultValue;
|
|
1497
1497
|
isHydrating || value === element.value || (element.value = value);
|
|
@@ -1510,20 +1510,20 @@ function requireReactDomClient_production() {
|
|
|
1510
1510
|
node = node.options;
|
|
1511
1511
|
if (multiple) {
|
|
1512
1512
|
multiple = {};
|
|
1513
|
-
for (var i = 0; i < propValue.length; i++) multiple["$" + propValue[i]] =
|
|
1514
|
-
for (propValue = 0; propValue < node.length; propValue++) i = multiple.hasOwnProperty("$" + node[propValue].value), node[propValue].selected !== i && (node[propValue].selected = i), i && setDefaultSelected && (node[propValue].defaultSelected =
|
|
1513
|
+
for (var i = 0; i < propValue.length; i++) multiple["$" + propValue[i]] = true;
|
|
1514
|
+
for (propValue = 0; propValue < node.length; propValue++) i = multiple.hasOwnProperty("$" + node[propValue].value), node[propValue].selected !== i && (node[propValue].selected = i), i && setDefaultSelected && (node[propValue].defaultSelected = true);
|
|
1515
1515
|
} else {
|
|
1516
1516
|
propValue = "" + getToStringValue(propValue);
|
|
1517
1517
|
multiple = null;
|
|
1518
1518
|
for (i = 0; i < node.length; i++) {
|
|
1519
1519
|
if (node[i].value === propValue) {
|
|
1520
|
-
node[i].selected =
|
|
1521
|
-
setDefaultSelected && (node[i].defaultSelected =
|
|
1520
|
+
node[i].selected = true;
|
|
1521
|
+
setDefaultSelected && (node[i].defaultSelected = true);
|
|
1522
1522
|
return;
|
|
1523
1523
|
}
|
|
1524
1524
|
null !== multiple || node[i].disabled || (multiple = node[i]);
|
|
1525
1525
|
}
|
|
1526
|
-
null !== multiple && (multiple.selected =
|
|
1526
|
+
null !== multiple && (multiple.selected = true);
|
|
1527
1527
|
}
|
|
1528
1528
|
}
|
|
1529
1529
|
function updateTextarea(element, value, defaultValue) {
|
|
@@ -1575,7 +1575,7 @@ function requireReactDomClient_production() {
|
|
|
1575
1575
|
} else for (var styleName$17 in styles) styles.hasOwnProperty(styleName$17) && setValueForStyle(node, styleName$17, styles[styleName$17]);
|
|
1576
1576
|
}
|
|
1577
1577
|
function isCustomElement(tagName) {
|
|
1578
|
-
if (-1 === tagName.indexOf("-")) return
|
|
1578
|
+
if (-1 === tagName.indexOf("-")) return false;
|
|
1579
1579
|
switch (tagName) {
|
|
1580
1580
|
case "annotation-xml":
|
|
1581
1581
|
case "color-profile":
|
|
@@ -1585,9 +1585,9 @@ function requireReactDomClient_production() {
|
|
|
1585
1585
|
case "font-face-format":
|
|
1586
1586
|
case "font-face-name":
|
|
1587
1587
|
case "missing-glyph":
|
|
1588
|
-
return
|
|
1588
|
+
return false;
|
|
1589
1589
|
default:
|
|
1590
|
-
return
|
|
1590
|
+
return true;
|
|
1591
1591
|
}
|
|
1592
1592
|
}
|
|
1593
1593
|
var aliases = new Map([["acceptCharset", "accept-charset"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"], ["crossOrigin", "crossorigin"], ["accentHeight", "accent-height"], ["alignmentBaseline", "alignment-baseline"], ["arabicForm", "arabic-form"], ["baselineShift", "baseline-shift"], ["capHeight", "cap-height"], ["clipPath", "clip-path"], ["clipRule", "clip-rule"], ["colorInterpolation", "color-interpolation"], ["colorInterpolationFilters", "color-interpolation-filters"], ["colorProfile", "color-profile"], ["colorRendering", "color-rendering"], ["dominantBaseline", "dominant-baseline"], ["enableBackground", "enable-background"], ["fillOpacity", "fill-opacity"], ["fillRule", "fill-rule"], ["floodColor", "flood-color"], ["floodOpacity", "flood-opacity"], ["fontFamily", "font-family"], ["fontSize", "font-size"], ["fontSizeAdjust", "font-size-adjust"], ["fontStretch", "font-stretch"], ["fontStyle", "font-style"], ["fontVariant", "font-variant"], ["fontWeight", "font-weight"], ["glyphName", "glyph-name"], ["glyphOrientationHorizontal", "glyph-orientation-horizontal"], ["glyphOrientationVertical", "glyph-orientation-vertical"], ["horizAdvX", "horiz-adv-x"], ["horizOriginX", "horiz-origin-x"], ["imageRendering", "image-rendering"], ["letterSpacing", "letter-spacing"], ["lightingColor", "lighting-color"], ["markerEnd", "marker-end"], ["markerMid", "marker-mid"], ["markerStart", "marker-start"], ["overlinePosition", "overline-position"], ["overlineThickness", "overline-thickness"], ["paintOrder", "paint-order"], ["panose-1", "panose-1"], ["pointerEvents", "pointer-events"], ["renderingIntent", "rendering-intent"], ["shapeRendering", "shape-rendering"], ["stopColor", "stop-color"], ["stopOpacity", "stop-opacity"], ["strikethroughPosition", "strikethrough-position"], ["strikethroughThickness", "strikethrough-thickness"], ["strokeDasharray", "stroke-dasharray"], ["strokeDashoffset", "stroke-dashoffset"], ["strokeLinecap", "stroke-linecap"], ["strokeLinejoin", "stroke-linejoin"], ["strokeMiterlimit", "stroke-miterlimit"], ["strokeOpacity", "stroke-opacity"], ["strokeWidth", "stroke-width"], ["textAnchor", "text-anchor"], ["textDecoration", "text-decoration"], ["textRendering", "text-rendering"], ["transformOrigin", "transform-origin"], ["underlinePosition", "underline-position"], ["underlineThickness", "underline-thickness"], ["unicodeBidi", "unicode-bidi"], ["unicodeRange", "unicode-range"], ["unitsPerEm", "units-per-em"], ["vAlphabetic", "v-alphabetic"], ["vHanging", "v-hanging"], ["vIdeographic", "v-ideographic"], ["vMathematical", "v-mathematical"], ["vectorEffect", "vector-effect"], ["vertAdvY", "vert-adv-y"], ["vertOriginX", "vert-origin-x"], ["vertOriginY", "vert-origin-y"], ["wordSpacing", "word-spacing"], ["writingMode", "writing-mode"], ["xmlnsXlink", "xmlns:xlink"], ["xHeight", "x-height"]]),
|
|
@@ -1629,19 +1629,19 @@ function requireReactDomClient_production() {
|
|
|
1629
1629
|
updateTextarea(target, props.value, props.defaultValue);
|
|
1630
1630
|
break a;
|
|
1631
1631
|
case "select":
|
|
1632
|
-
internalInstance = props.value, null != internalInstance && updateOptions(target, !!props.multiple, internalInstance,
|
|
1632
|
+
internalInstance = props.value, null != internalInstance && updateOptions(target, !!props.multiple, internalInstance, false);
|
|
1633
1633
|
}
|
|
1634
1634
|
}
|
|
1635
1635
|
}
|
|
1636
|
-
var isInsideEventHandler =
|
|
1636
|
+
var isInsideEventHandler = false;
|
|
1637
1637
|
function batchedUpdates$1(fn, a, b) {
|
|
1638
1638
|
if (isInsideEventHandler) return fn(a, b);
|
|
1639
|
-
isInsideEventHandler =
|
|
1639
|
+
isInsideEventHandler = true;
|
|
1640
1640
|
try {
|
|
1641
1641
|
var JSCompiler_inline_result = fn(a);
|
|
1642
1642
|
return JSCompiler_inline_result;
|
|
1643
1643
|
} finally {
|
|
1644
|
-
if (isInsideEventHandler =
|
|
1644
|
+
if (isInsideEventHandler = false, null !== restoreTarget || null !== restoreQueue) if (flushSyncWork$1(), restoreTarget && (a = restoreTarget, fn = restoreQueue, restoreQueue = restoreTarget = null, restoreStateOfTarget(a), fn)) for (a = 0; a < fn.length; a++) restoreStateOfTarget(fn[a]);
|
|
1645
1645
|
}
|
|
1646
1646
|
}
|
|
1647
1647
|
function getListener(inst, registrationName) {
|
|
@@ -1666,13 +1666,13 @@ function requireReactDomClient_production() {
|
|
|
1666
1666
|
inst = !props;
|
|
1667
1667
|
break a;
|
|
1668
1668
|
default:
|
|
1669
|
-
inst =
|
|
1669
|
+
inst = false;
|
|
1670
1670
|
}
|
|
1671
1671
|
if (inst) return null;
|
|
1672
1672
|
if (stateNode && "function" !== typeof stateNode) throw Error(formatProdErrorMessage(231, registrationName, typeof stateNode));
|
|
1673
1673
|
return stateNode;
|
|
1674
1674
|
}
|
|
1675
|
-
var passiveBrowserEventsSupported =
|
|
1675
|
+
var passiveBrowserEventsSupported = false;
|
|
1676
1676
|
if (canUseDOM) try {
|
|
1677
1677
|
var options = {};
|
|
1678
1678
|
Object.defineProperty(options, "passive", {
|
|
@@ -1683,7 +1683,7 @@ function requireReactDomClient_production() {
|
|
|
1683
1683
|
window.addEventListener("test", options, options);
|
|
1684
1684
|
window.removeEventListener("test", options, options);
|
|
1685
1685
|
} catch (e) {
|
|
1686
|
-
passiveBrowserEventsSupported =
|
|
1686
|
+
passiveBrowserEventsSupported = false;
|
|
1687
1687
|
}
|
|
1688
1688
|
var root = null,
|
|
1689
1689
|
startText = null,
|
|
@@ -1699,7 +1699,7 @@ function requireReactDomClient_production() {
|
|
|
1699
1699
|
for (start = 0; start < startLength && startValue[start] === endValue[start]; start++);
|
|
1700
1700
|
var minEnd = startLength - start;
|
|
1701
1701
|
for (end = 1; end <= minEnd && startValue[startLength - end] === endValue[endLength - end]; end++);
|
|
1702
|
-
return fallbackText = endValue.slice(start, 1 < end ? 1 - end :
|
|
1702
|
+
return fallbackText = endValue.slice(start, 1 < end ? 1 - end : undefined);
|
|
1703
1703
|
}
|
|
1704
1704
|
function getEventCharCode(nativeEvent) {
|
|
1705
1705
|
var keyCode = nativeEvent.keyCode;
|
|
@@ -1708,10 +1708,10 @@ function requireReactDomClient_production() {
|
|
|
1708
1708
|
return 32 <= nativeEvent || 13 === nativeEvent ? nativeEvent : 0;
|
|
1709
1709
|
}
|
|
1710
1710
|
function functionThatReturnsTrue() {
|
|
1711
|
-
return
|
|
1711
|
+
return true;
|
|
1712
1712
|
}
|
|
1713
1713
|
function functionThatReturnsFalse() {
|
|
1714
|
-
return
|
|
1714
|
+
return false;
|
|
1715
1715
|
}
|
|
1716
1716
|
function createSyntheticEvent(Interface) {
|
|
1717
1717
|
function SyntheticBaseEvent(reactName, reactEventType, targetInst, nativeEvent, nativeEventTarget) {
|
|
@@ -1722,19 +1722,19 @@ function requireReactDomClient_production() {
|
|
|
1722
1722
|
this.target = nativeEventTarget;
|
|
1723
1723
|
this.currentTarget = null;
|
|
1724
1724
|
for (var propName in Interface) Interface.hasOwnProperty(propName) && (reactName = Interface[propName], this[propName] = reactName ? reactName(nativeEvent) : nativeEvent[propName]);
|
|
1725
|
-
this.isDefaultPrevented = (null != nativeEvent.defaultPrevented ? nativeEvent.defaultPrevented :
|
|
1725
|
+
this.isDefaultPrevented = (null != nativeEvent.defaultPrevented ? nativeEvent.defaultPrevented : false === nativeEvent.returnValue) ? functionThatReturnsTrue : functionThatReturnsFalse;
|
|
1726
1726
|
this.isPropagationStopped = functionThatReturnsFalse;
|
|
1727
1727
|
return this;
|
|
1728
1728
|
}
|
|
1729
1729
|
assign(SyntheticBaseEvent.prototype, {
|
|
1730
1730
|
preventDefault: function () {
|
|
1731
|
-
this.defaultPrevented =
|
|
1731
|
+
this.defaultPrevented = true;
|
|
1732
1732
|
var event = this.nativeEvent;
|
|
1733
|
-
event && (event.preventDefault ? event.preventDefault() : "unknown" !== typeof event.returnValue && (event.returnValue =
|
|
1733
|
+
event && (event.preventDefault ? event.preventDefault() : "unknown" !== typeof event.returnValue && (event.returnValue = false), this.isDefaultPrevented = functionThatReturnsTrue);
|
|
1734
1734
|
},
|
|
1735
1735
|
stopPropagation: function () {
|
|
1736
1736
|
var event = this.nativeEvent;
|
|
1737
|
-
event && (event.stopPropagation ? event.stopPropagation() : "unknown" !== typeof event.cancelBubble && (event.cancelBubble =
|
|
1737
|
+
event && (event.stopPropagation ? event.stopPropagation() : "unknown" !== typeof event.cancelBubble && (event.cancelBubble = true), this.isPropagationStopped = functionThatReturnsTrue);
|
|
1738
1738
|
},
|
|
1739
1739
|
persist: function () {},
|
|
1740
1740
|
isPersistent: functionThatReturnsTrue
|
|
@@ -1775,7 +1775,7 @@ function requireReactDomClient_production() {
|
|
|
1775
1775
|
button: 0,
|
|
1776
1776
|
buttons: 0,
|
|
1777
1777
|
relatedTarget: function (event) {
|
|
1778
|
-
return
|
|
1778
|
+
return undefined === event.relatedTarget ? event.fromElement === event.srcElement ? event.toElement : event.fromElement : event.relatedTarget;
|
|
1779
1779
|
},
|
|
1780
1780
|
movementX: function (event) {
|
|
1781
1781
|
if ("movementX" in event) return event.movementX;
|
|
@@ -1871,7 +1871,7 @@ function requireReactDomClient_production() {
|
|
|
1871
1871
|
};
|
|
1872
1872
|
function modifierStateGetter(keyArg) {
|
|
1873
1873
|
var nativeEvent = this.nativeEvent;
|
|
1874
|
-
return nativeEvent.getModifierState ? nativeEvent.getModifierState(keyArg) : (keyArg = modifierKeyToProp[keyArg]) ? !!nativeEvent[keyArg] :
|
|
1874
|
+
return nativeEvent.getModifierState ? nativeEvent.getModifierState(keyArg) : (keyArg = modifierKeyToProp[keyArg]) ? !!nativeEvent[keyArg] : false;
|
|
1875
1875
|
}
|
|
1876
1876
|
function getEventModifierState() {
|
|
1877
1877
|
return modifierStateGetter;
|
|
@@ -1957,7 +1957,7 @@ function requireReactDomClient_production() {
|
|
|
1957
1957
|
var canUseTextInputEvent = canUseDOM && "TextEvent" in window && !documentMode,
|
|
1958
1958
|
useFallbackCompositionData = canUseDOM && (!canUseCompositionEvent || documentMode && 8 < documentMode && 11 >= documentMode),
|
|
1959
1959
|
SPACEBAR_CHAR = String.fromCharCode(32),
|
|
1960
|
-
hasSpaceKeypress =
|
|
1960
|
+
hasSpaceKeypress = false;
|
|
1961
1961
|
function isFallbackCompositionEnd(domEventName, nativeEvent) {
|
|
1962
1962
|
switch (domEventName) {
|
|
1963
1963
|
case "keyup":
|
|
@@ -1967,23 +1967,23 @@ function requireReactDomClient_production() {
|
|
|
1967
1967
|
case "keypress":
|
|
1968
1968
|
case "mousedown":
|
|
1969
1969
|
case "focusout":
|
|
1970
|
-
return
|
|
1970
|
+
return true;
|
|
1971
1971
|
default:
|
|
1972
|
-
return
|
|
1972
|
+
return false;
|
|
1973
1973
|
}
|
|
1974
1974
|
}
|
|
1975
1975
|
function getDataFromCustomEvent(nativeEvent) {
|
|
1976
1976
|
nativeEvent = nativeEvent.detail;
|
|
1977
1977
|
return "object" === typeof nativeEvent && "data" in nativeEvent ? nativeEvent.data : null;
|
|
1978
1978
|
}
|
|
1979
|
-
var isComposing =
|
|
1979
|
+
var isComposing = false;
|
|
1980
1980
|
function getNativeBeforeInputChars(domEventName, nativeEvent) {
|
|
1981
1981
|
switch (domEventName) {
|
|
1982
1982
|
case "compositionend":
|
|
1983
1983
|
return getDataFromCustomEvent(nativeEvent);
|
|
1984
1984
|
case "keypress":
|
|
1985
1985
|
if (32 !== nativeEvent.which) return null;
|
|
1986
|
-
hasSpaceKeypress =
|
|
1986
|
+
hasSpaceKeypress = true;
|
|
1987
1987
|
return SPACEBAR_CHAR;
|
|
1988
1988
|
case "textInput":
|
|
1989
1989
|
return domEventName = nativeEvent.data, domEventName === SPACEBAR_CHAR && hasSpaceKeypress ? null : domEventName;
|
|
@@ -1992,7 +1992,7 @@ function requireReactDomClient_production() {
|
|
|
1992
1992
|
}
|
|
1993
1993
|
}
|
|
1994
1994
|
function getFallbackBeforeInputChars(domEventName, nativeEvent) {
|
|
1995
|
-
if (isComposing) return "compositionend" === domEventName || !canUseCompositionEvent && isFallbackCompositionEnd(domEventName, nativeEvent) ? (domEventName = getData(), fallbackText = startText = root = null, isComposing =
|
|
1995
|
+
if (isComposing) return "compositionend" === domEventName || !canUseCompositionEvent && isFallbackCompositionEnd(domEventName, nativeEvent) ? (domEventName = getData(), fallbackText = startText = root = null, isComposing = false, domEventName) : null;
|
|
1996
1996
|
switch (domEventName) {
|
|
1997
1997
|
case "paste":
|
|
1998
1998
|
return null;
|
|
@@ -2009,25 +2009,25 @@ function requireReactDomClient_production() {
|
|
|
2009
2009
|
}
|
|
2010
2010
|
}
|
|
2011
2011
|
var supportedInputTypes = {
|
|
2012
|
-
color:
|
|
2013
|
-
date:
|
|
2014
|
-
datetime:
|
|
2015
|
-
"datetime-local":
|
|
2016
|
-
email:
|
|
2017
|
-
month:
|
|
2018
|
-
number:
|
|
2019
|
-
password:
|
|
2020
|
-
range:
|
|
2021
|
-
search:
|
|
2022
|
-
tel:
|
|
2023
|
-
text:
|
|
2024
|
-
time:
|
|
2025
|
-
url:
|
|
2026
|
-
week:
|
|
2012
|
+
color: true,
|
|
2013
|
+
date: true,
|
|
2014
|
+
datetime: true,
|
|
2015
|
+
"datetime-local": true,
|
|
2016
|
+
email: true,
|
|
2017
|
+
month: true,
|
|
2018
|
+
number: true,
|
|
2019
|
+
password: true,
|
|
2020
|
+
range: true,
|
|
2021
|
+
search: true,
|
|
2022
|
+
tel: true,
|
|
2023
|
+
text: true,
|
|
2024
|
+
time: true,
|
|
2025
|
+
url: true,
|
|
2026
|
+
week: true
|
|
2027
2027
|
};
|
|
2028
2028
|
function isTextInputElement(elem) {
|
|
2029
2029
|
var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
|
|
2030
|
-
return "input" === nodeName ? !!supportedInputTypes[elem.type] : "textarea" === nodeName ?
|
|
2030
|
+
return "input" === nodeName ? !!supportedInputTypes[elem.type] : "textarea" === nodeName ? true : false;
|
|
2031
2031
|
}
|
|
2032
2032
|
function createAndAccumulateChangeEvent(dispatchQueue, inst, nativeEvent, target) {
|
|
2033
2033
|
restoreTarget ? restoreQueue ? restoreQueue.push(target) : restoreQueue = [target] : restoreTarget = target;
|
|
@@ -2049,7 +2049,7 @@ function requireReactDomClient_production() {
|
|
|
2049
2049
|
function getTargetInstForChangeEvent(domEventName, targetInst) {
|
|
2050
2050
|
if ("change" === domEventName) return targetInst;
|
|
2051
2051
|
}
|
|
2052
|
-
var isInputEventSupported =
|
|
2052
|
+
var isInputEventSupported = false;
|
|
2053
2053
|
if (canUseDOM) {
|
|
2054
2054
|
var JSCompiler_inline_result$jscomp$283;
|
|
2055
2055
|
if (canUseDOM) {
|
|
@@ -2060,7 +2060,7 @@ function requireReactDomClient_production() {
|
|
|
2060
2060
|
isSupported$jscomp$inline_418 = "function" === typeof element$jscomp$inline_419.oninput;
|
|
2061
2061
|
}
|
|
2062
2062
|
JSCompiler_inline_result$jscomp$283 = isSupported$jscomp$inline_418;
|
|
2063
|
-
} else JSCompiler_inline_result$jscomp$283 =
|
|
2063
|
+
} else JSCompiler_inline_result$jscomp$283 = false;
|
|
2064
2064
|
isInputEventSupported = JSCompiler_inline_result$jscomp$283 && (!document.documentMode || 9 < document.documentMode);
|
|
2065
2065
|
}
|
|
2066
2066
|
function stopWatchingForValueChange() {
|
|
@@ -2090,16 +2090,16 @@ function requireReactDomClient_production() {
|
|
|
2090
2090
|
}
|
|
2091
2091
|
var objectIs = "function" === typeof Object.is ? Object.is : is;
|
|
2092
2092
|
function shallowEqual(objA, objB) {
|
|
2093
|
-
if (objectIs(objA, objB)) return
|
|
2094
|
-
if ("object" !== typeof objA || null === objA || "object" !== typeof objB || null === objB) return
|
|
2093
|
+
if (objectIs(objA, objB)) return true;
|
|
2094
|
+
if ("object" !== typeof objA || null === objA || "object" !== typeof objB || null === objB) return false;
|
|
2095
2095
|
var keysA = Object.keys(objA),
|
|
2096
2096
|
keysB = Object.keys(objB);
|
|
2097
|
-
if (keysA.length !== keysB.length) return
|
|
2097
|
+
if (keysA.length !== keysB.length) return false;
|
|
2098
2098
|
for (keysB = 0; keysB < keysA.length; keysB++) {
|
|
2099
2099
|
var currentKey = keysA[keysB];
|
|
2100
|
-
if (!hasOwnProperty.call(objB, currentKey) || !objectIs(objA[currentKey], objB[currentKey])) return
|
|
2100
|
+
if (!hasOwnProperty.call(objB, currentKey) || !objectIs(objA[currentKey], objB[currentKey])) return false;
|
|
2101
2101
|
}
|
|
2102
|
-
return
|
|
2102
|
+
return true;
|
|
2103
2103
|
}
|
|
2104
2104
|
function getLeafNode(node) {
|
|
2105
2105
|
for (; node && node.firstChild;) node = node.firstChild;
|
|
@@ -2125,13 +2125,13 @@ function requireReactDomClient_production() {
|
|
|
2125
2125
|
}
|
|
2126
2126
|
node = node.parentNode;
|
|
2127
2127
|
}
|
|
2128
|
-
node =
|
|
2128
|
+
node = undefined;
|
|
2129
2129
|
}
|
|
2130
2130
|
node = getLeafNode(node);
|
|
2131
2131
|
}
|
|
2132
2132
|
}
|
|
2133
2133
|
function containsNode(outerNode, innerNode) {
|
|
2134
|
-
return outerNode && innerNode ? outerNode === innerNode ?
|
|
2134
|
+
return outerNode && innerNode ? outerNode === innerNode ? true : outerNode && 3 === outerNode.nodeType ? false : innerNode && 3 === innerNode.nodeType ? containsNode(outerNode, innerNode.parentNode) : "contains" in outerNode ? outerNode.contains(innerNode) : outerNode.compareDocumentPosition ? !!(outerNode.compareDocumentPosition(innerNode) & 16) : false : false;
|
|
2135
2135
|
}
|
|
2136
2136
|
function getActiveElementDeep(containerInfo) {
|
|
2137
2137
|
containerInfo = null != containerInfo && null != containerInfo.ownerDocument && null != containerInfo.ownerDocument.defaultView ? containerInfo.ownerDocument.defaultView : window;
|
|
@@ -2139,7 +2139,7 @@ function requireReactDomClient_production() {
|
|
|
2139
2139
|
try {
|
|
2140
2140
|
var JSCompiler_inline_result = "string" === typeof element.contentWindow.location.href;
|
|
2141
2141
|
} catch (err) {
|
|
2142
|
-
JSCompiler_inline_result =
|
|
2142
|
+
JSCompiler_inline_result = false;
|
|
2143
2143
|
}
|
|
2144
2144
|
if (JSCompiler_inline_result) containerInfo = element.contentWindow;else break;
|
|
2145
2145
|
element = getActiveElement(containerInfo.document);
|
|
@@ -2155,11 +2155,11 @@ function requireReactDomClient_production() {
|
|
|
2155
2155
|
containerInfo = priorSelectionInformation.focusedElem;
|
|
2156
2156
|
var priorSelectionRange = priorSelectionInformation.selectionRange;
|
|
2157
2157
|
if (curFocusedElem !== containerInfo && containerInfo && containerInfo.ownerDocument && containsNode(containerInfo.ownerDocument.documentElement, containerInfo)) {
|
|
2158
|
-
if (null !== priorSelectionRange && hasSelectionCapabilities(containerInfo)) if (priorSelectionInformation = priorSelectionRange.start, curFocusedElem = priorSelectionRange.end,
|
|
2158
|
+
if (null !== priorSelectionRange && hasSelectionCapabilities(containerInfo)) if (priorSelectionInformation = priorSelectionRange.start, curFocusedElem = priorSelectionRange.end, undefined === curFocusedElem && (curFocusedElem = priorSelectionInformation), "selectionStart" in containerInfo) containerInfo.selectionStart = priorSelectionInformation, containerInfo.selectionEnd = Math.min(curFocusedElem, containerInfo.value.length);else if (curFocusedElem = (priorSelectionInformation = containerInfo.ownerDocument || document) && priorSelectionInformation.defaultView || window, curFocusedElem.getSelection) {
|
|
2159
2159
|
curFocusedElem = curFocusedElem.getSelection();
|
|
2160
2160
|
var length = containerInfo.textContent.length,
|
|
2161
2161
|
start = Math.min(priorSelectionRange.start, length);
|
|
2162
|
-
priorSelectionRange =
|
|
2162
|
+
priorSelectionRange = undefined === priorSelectionRange.end ? start : Math.min(priorSelectionRange.end, length);
|
|
2163
2163
|
!curFocusedElem.extend && start > priorSelectionRange && (length = priorSelectionRange, priorSelectionRange = start, start = length);
|
|
2164
2164
|
length = getNodeForCharacterOffset(containerInfo, start);
|
|
2165
2165
|
var endMarker = getNodeForCharacterOffset(containerInfo, priorSelectionRange);
|
|
@@ -2179,7 +2179,7 @@ function requireReactDomClient_production() {
|
|
|
2179
2179
|
activeElement = null,
|
|
2180
2180
|
activeElementInst = null,
|
|
2181
2181
|
lastSelection = null,
|
|
2182
|
-
mouseDown =
|
|
2182
|
+
mouseDown = false;
|
|
2183
2183
|
function constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget) {
|
|
2184
2184
|
var doc = nativeEventTarget.window === nativeEventTarget ? nativeEventTarget.document : 9 === nativeEventTarget.nodeType ? nativeEventTarget : nativeEventTarget.ownerDocument;
|
|
2185
2185
|
mouseDown || null == activeElement || activeElement !== getActiveElement(doc) || (doc = activeElement, "selectionStart" in doc && hasSelectionCapabilities(doc) ? doc = {
|
|
@@ -2278,7 +2278,7 @@ function requireReactDomClient_production() {
|
|
|
2278
2278
|
sourceFiber.lanes |= lane;
|
|
2279
2279
|
var alternate = sourceFiber.alternate;
|
|
2280
2280
|
null !== alternate && (alternate.lanes |= lane);
|
|
2281
|
-
for (var isHidden =
|
|
2281
|
+
for (var isHidden = false, parent = sourceFiber.return; null !== parent;) parent.childLanes |= lane, alternate = parent.alternate, null !== alternate && (alternate.childLanes |= lane), 22 === parent.tag && (sourceFiber = parent.stateNode, null === sourceFiber || sourceFiber._visibility & 1 || (isHidden = true)), sourceFiber = parent, parent = parent.return;
|
|
2282
2282
|
isHidden && null !== update && 3 === sourceFiber.tag && (parent = sourceFiber.stateNode, isHidden = 31 - clz32(lane), parent = parent.hiddenUpdates, sourceFiber = parent[isHidden], null === sourceFiber ? parent[isHidden] = [update] : sourceFiber.push(update), update.lane = lane | 536870912);
|
|
2283
2283
|
}
|
|
2284
2284
|
function getRootForUpdatedFiber(sourceFiber) {
|
|
@@ -2291,7 +2291,7 @@ function requireReactDomClient_production() {
|
|
|
2291
2291
|
function createCapturedValueAtFiber(value, source) {
|
|
2292
2292
|
if ("object" === typeof value && null !== value) {
|
|
2293
2293
|
var existing = CapturedStacks.get(value);
|
|
2294
|
-
if (
|
|
2294
|
+
if (undefined !== existing) return existing;
|
|
2295
2295
|
source = {
|
|
2296
2296
|
value: value,
|
|
2297
2297
|
source: source,
|
|
@@ -2350,9 +2350,9 @@ function requireReactDomClient_production() {
|
|
|
2350
2350
|
}
|
|
2351
2351
|
var hydrationParentFiber = null,
|
|
2352
2352
|
nextHydratableInstance = null,
|
|
2353
|
-
isHydrating =
|
|
2353
|
+
isHydrating = false,
|
|
2354
2354
|
hydrationErrors = null,
|
|
2355
|
-
rootOrSingletonContext =
|
|
2355
|
+
rootOrSingletonContext = false,
|
|
2356
2356
|
HydrationMismatchException = Error(formatProdErrorMessage(519));
|
|
2357
2357
|
function throwOnHydrationMismatch(fiber) {
|
|
2358
2358
|
var error = Error(formatProdErrorMessage(418, ""));
|
|
@@ -2393,7 +2393,7 @@ function requireReactDomClient_production() {
|
|
|
2393
2393
|
break;
|
|
2394
2394
|
case "input":
|
|
2395
2395
|
listenToNonDelegatedEvent("invalid", instance);
|
|
2396
|
-
initInput(instance, props.value, props.defaultValue, props.checked, props.defaultChecked, props.type, props.name,
|
|
2396
|
+
initInput(instance, props.value, props.defaultValue, props.checked, props.defaultChecked, props.type, props.name, true);
|
|
2397
2397
|
track(instance);
|
|
2398
2398
|
break;
|
|
2399
2399
|
case "select":
|
|
@@ -2403,33 +2403,33 @@ function requireReactDomClient_production() {
|
|
|
2403
2403
|
listenToNonDelegatedEvent("invalid", instance), initTextarea(instance, props.value, props.defaultValue, props.children), track(instance);
|
|
2404
2404
|
}
|
|
2405
2405
|
type = props.children;
|
|
2406
|
-
"string" !== typeof type && "number" !== typeof type && "bigint" !== typeof type || instance.textContent === "" + type ||
|
|
2406
|
+
"string" !== typeof type && "number" !== typeof type && "bigint" !== typeof type || instance.textContent === "" + type || true === props.suppressHydrationWarning || checkForUnmatchedText(instance.textContent, type) ? (null != props.popover && (listenToNonDelegatedEvent("beforetoggle", instance), listenToNonDelegatedEvent("toggle", instance)), null != props.onScroll && listenToNonDelegatedEvent("scroll", instance), null != props.onScrollEnd && listenToNonDelegatedEvent("scrollend", instance), null != props.onClick && (instance.onclick = noop$1), instance = true) : instance = false;
|
|
2407
2407
|
instance || throwOnHydrationMismatch(fiber);
|
|
2408
2408
|
}
|
|
2409
2409
|
function popToNextHostParent(fiber) {
|
|
2410
2410
|
for (hydrationParentFiber = fiber.return; hydrationParentFiber;) switch (hydrationParentFiber.tag) {
|
|
2411
2411
|
case 3:
|
|
2412
2412
|
case 27:
|
|
2413
|
-
rootOrSingletonContext =
|
|
2413
|
+
rootOrSingletonContext = true;
|
|
2414
2414
|
return;
|
|
2415
2415
|
case 5:
|
|
2416
2416
|
case 13:
|
|
2417
|
-
rootOrSingletonContext =
|
|
2417
|
+
rootOrSingletonContext = false;
|
|
2418
2418
|
return;
|
|
2419
2419
|
default:
|
|
2420
2420
|
hydrationParentFiber = hydrationParentFiber.return;
|
|
2421
2421
|
}
|
|
2422
2422
|
}
|
|
2423
2423
|
function popHydrationState(fiber) {
|
|
2424
|
-
if (fiber !== hydrationParentFiber) return
|
|
2425
|
-
if (!isHydrating) return popToNextHostParent(fiber), isHydrating =
|
|
2426
|
-
var shouldClear =
|
|
2424
|
+
if (fiber !== hydrationParentFiber) return false;
|
|
2425
|
+
if (!isHydrating) return popToNextHostParent(fiber), isHydrating = true, false;
|
|
2426
|
+
var shouldClear = false,
|
|
2427
2427
|
JSCompiler_temp;
|
|
2428
2428
|
if (JSCompiler_temp = 3 !== fiber.tag && 27 !== fiber.tag) {
|
|
2429
2429
|
if (JSCompiler_temp = 5 === fiber.tag) JSCompiler_temp = fiber.type, JSCompiler_temp = !("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) || shouldSetTextContent(fiber.type, fiber.memoizedProps);
|
|
2430
2430
|
JSCompiler_temp = !JSCompiler_temp;
|
|
2431
2431
|
}
|
|
2432
|
-
JSCompiler_temp && (shouldClear =
|
|
2432
|
+
JSCompiler_temp && (shouldClear = true);
|
|
2433
2433
|
shouldClear && nextHydratableInstance && throwOnHydrationMismatch(fiber);
|
|
2434
2434
|
popToNextHostParent(fiber);
|
|
2435
2435
|
if (13 === fiber.tag) {
|
|
@@ -2451,11 +2451,11 @@ function requireReactDomClient_production() {
|
|
|
2451
2451
|
nextHydratableInstance = null;
|
|
2452
2452
|
}
|
|
2453
2453
|
} else nextHydratableInstance = hydrationParentFiber ? getNextHydratable(fiber.stateNode.nextSibling) : null;
|
|
2454
|
-
return
|
|
2454
|
+
return true;
|
|
2455
2455
|
}
|
|
2456
2456
|
function resetHydrationState() {
|
|
2457
2457
|
nextHydratableInstance = hydrationParentFiber = null;
|
|
2458
|
-
isHydrating =
|
|
2458
|
+
isHydrating = false;
|
|
2459
2459
|
}
|
|
2460
2460
|
function queueHydrationError(error) {
|
|
2461
2461
|
null === hydrationErrors ? hydrationErrors = [error] : hydrationErrors.push(error);
|
|
@@ -2472,7 +2472,7 @@ function requireReactDomClient_production() {
|
|
|
2472
2472
|
function noop$3() {}
|
|
2473
2473
|
function trackUsedThenable(thenableState, thenable, index) {
|
|
2474
2474
|
index = thenableState[index];
|
|
2475
|
-
|
|
2475
|
+
undefined === index ? thenableState.push(thenable) : index !== thenable && (thenable.then(noop$3, noop$3), thenable = index);
|
|
2476
2476
|
switch (thenable.status) {
|
|
2477
2477
|
case "fulfilled":
|
|
2478
2478
|
return thenable.value;
|
|
@@ -2529,7 +2529,7 @@ function requireReactDomClient_production() {
|
|
|
2529
2529
|
}
|
|
2530
2530
|
function coerceRef(workInProgress, element) {
|
|
2531
2531
|
element = element.props.ref;
|
|
2532
|
-
workInProgress.ref =
|
|
2532
|
+
workInProgress.ref = undefined !== element ? element : null;
|
|
2533
2533
|
}
|
|
2534
2534
|
function throwOnInvalidObjectType(returnFiber, newChild) {
|
|
2535
2535
|
if (newChild.$$typeof === REACT_LEGACY_ELEMENT_TYPE) throw Error(formatProdErrorMessage(525));
|
|
@@ -2801,8 +2801,8 @@ function requireReactDomClient_production() {
|
|
|
2801
2801
|
} finally {}
|
|
2802
2802
|
};
|
|
2803
2803
|
}
|
|
2804
|
-
var reconcileChildFibers = createChildReconciler(
|
|
2805
|
-
mountChildFibers = createChildReconciler(
|
|
2804
|
+
var reconcileChildFibers = createChildReconciler(true),
|
|
2805
|
+
mountChildFibers = createChildReconciler(false),
|
|
2806
2806
|
currentTreeHiddenStackCursor = createCursor(null),
|
|
2807
2807
|
prevEntangledRenderLanesCursor = createCursor(0);
|
|
2808
2808
|
function pushHiddenContext(fiber, context) {
|
|
@@ -2851,7 +2851,7 @@ function requireReactDomClient_production() {
|
|
|
2851
2851
|
if (13 === node.tag) {
|
|
2852
2852
|
var state = node.memoizedState;
|
|
2853
2853
|
if (null !== state && (state = state.dehydrated, null === state || "$?" === state.data || "$!" === state.data)) return node;
|
|
2854
|
-
} else if (19 === node.tag &&
|
|
2854
|
+
} else if (19 === node.tag && undefined !== node.memoizedProps.revealOrder) {
|
|
2855
2855
|
if (0 !== (node.flags & 128)) return node;
|
|
2856
2856
|
} else if (null !== node.child) {
|
|
2857
2857
|
node.child.return = node;
|
|
@@ -2871,13 +2871,13 @@ function requireReactDomClient_production() {
|
|
|
2871
2871
|
var AbortControllerLocal = "undefined" !== typeof AbortController ? AbortController : function () {
|
|
2872
2872
|
var listeners = [],
|
|
2873
2873
|
signal = this.signal = {
|
|
2874
|
-
aborted:
|
|
2874
|
+
aborted: false,
|
|
2875
2875
|
addEventListener: function (type, listener) {
|
|
2876
2876
|
listeners.push(listener);
|
|
2877
2877
|
}
|
|
2878
2878
|
};
|
|
2879
2879
|
this.abort = function () {
|
|
2880
|
-
signal.aborted =
|
|
2880
|
+
signal.aborted = true;
|
|
2881
2881
|
listeners.forEach(function (listener) {
|
|
2882
2882
|
return listener();
|
|
2883
2883
|
});
|
|
@@ -2917,7 +2917,7 @@ function requireReactDomClient_production() {
|
|
|
2917
2917
|
currentEntangledLane = requestTransitionLane();
|
|
2918
2918
|
currentEntangledActionThenable = {
|
|
2919
2919
|
status: "pending",
|
|
2920
|
-
value:
|
|
2920
|
+
value: undefined,
|
|
2921
2921
|
then: function (resolve) {
|
|
2922
2922
|
entangledListeners.push(resolve);
|
|
2923
2923
|
}
|
|
@@ -2954,7 +2954,7 @@ function requireReactDomClient_production() {
|
|
|
2954
2954
|
}, function (error) {
|
|
2955
2955
|
thenableWithOverride.status = "rejected";
|
|
2956
2956
|
thenableWithOverride.reason = error;
|
|
2957
|
-
for (error = 0; error < listeners.length; error++) (0, listeners[error])(
|
|
2957
|
+
for (error = 0; error < listeners.length; error++) (0, listeners[error])(undefined);
|
|
2958
2958
|
});
|
|
2959
2959
|
return thenableWithOverride;
|
|
2960
2960
|
}
|
|
@@ -2982,9 +2982,9 @@ function requireReactDomClient_production() {
|
|
|
2982
2982
|
currentlyRenderingFiber$1 = null,
|
|
2983
2983
|
currentHook = null,
|
|
2984
2984
|
workInProgressHook = null,
|
|
2985
|
-
didScheduleRenderPhaseUpdate =
|
|
2986
|
-
didScheduleRenderPhaseUpdateDuringThisPass =
|
|
2987
|
-
shouldDoubleInvokeUserFnsInHooksDEV =
|
|
2985
|
+
didScheduleRenderPhaseUpdate = false,
|
|
2986
|
+
didScheduleRenderPhaseUpdateDuringThisPass = false,
|
|
2987
|
+
shouldDoubleInvokeUserFnsInHooksDEV = false,
|
|
2988
2988
|
localIdCounter = 0,
|
|
2989
2989
|
thenableIndexCounter = 0,
|
|
2990
2990
|
thenableState = null,
|
|
@@ -2993,9 +2993,9 @@ function requireReactDomClient_production() {
|
|
|
2993
2993
|
throw Error(formatProdErrorMessage(321));
|
|
2994
2994
|
}
|
|
2995
2995
|
function areHookInputsEqual(nextDeps, prevDeps) {
|
|
2996
|
-
if (null === prevDeps) return
|
|
2997
|
-
for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++) if (!objectIs(nextDeps[i], prevDeps[i])) return
|
|
2998
|
-
return
|
|
2996
|
+
if (null === prevDeps) return false;
|
|
2997
|
+
for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++) if (!objectIs(nextDeps[i], prevDeps[i])) return false;
|
|
2998
|
+
return true;
|
|
2999
2999
|
}
|
|
3000
3000
|
function renderWithHooks(current, workInProgress, Component, props, secondArg, nextRenderLanes) {
|
|
3001
3001
|
renderLanes = nextRenderLanes;
|
|
@@ -3004,9 +3004,9 @@ function requireReactDomClient_production() {
|
|
|
3004
3004
|
workInProgress.updateQueue = null;
|
|
3005
3005
|
workInProgress.lanes = 0;
|
|
3006
3006
|
ReactSharedInternals.H = null === current || null === current.memoizedState ? HooksDispatcherOnMount : HooksDispatcherOnUpdate;
|
|
3007
|
-
shouldDoubleInvokeUserFnsInHooksDEV =
|
|
3007
|
+
shouldDoubleInvokeUserFnsInHooksDEV = false;
|
|
3008
3008
|
nextRenderLanes = Component(props, secondArg);
|
|
3009
|
-
shouldDoubleInvokeUserFnsInHooksDEV =
|
|
3009
|
+
shouldDoubleInvokeUserFnsInHooksDEV = false;
|
|
3010
3010
|
didScheduleRenderPhaseUpdateDuringThisPass && (nextRenderLanes = renderWithHooksAgain(workInProgress, Component, props, secondArg));
|
|
3011
3011
|
finishRenderingHooks(current);
|
|
3012
3012
|
return nextRenderLanes;
|
|
@@ -3016,11 +3016,11 @@ function requireReactDomClient_production() {
|
|
|
3016
3016
|
var didRenderTooFewHooks = null !== currentHook && null !== currentHook.next;
|
|
3017
3017
|
renderLanes = 0;
|
|
3018
3018
|
workInProgressHook = currentHook = currentlyRenderingFiber$1 = null;
|
|
3019
|
-
didScheduleRenderPhaseUpdate =
|
|
3019
|
+
didScheduleRenderPhaseUpdate = false;
|
|
3020
3020
|
thenableIndexCounter = 0;
|
|
3021
3021
|
thenableState = null;
|
|
3022
3022
|
if (didRenderTooFewHooks) throw Error(formatProdErrorMessage(300));
|
|
3023
|
-
null === current || didReceiveUpdate || (current = current.dependencies, null !== current && checkIfContextChanged(current) && (didReceiveUpdate =
|
|
3023
|
+
null === current || didReceiveUpdate || (current = current.dependencies, null !== current && checkIfContextChanged(current) && (didReceiveUpdate = true));
|
|
3024
3024
|
}
|
|
3025
3025
|
function renderWithHooksAgain(workInProgress, Component, props, secondArg) {
|
|
3026
3026
|
currentlyRenderingFiber$1 = workInProgress;
|
|
@@ -3028,7 +3028,7 @@ function requireReactDomClient_production() {
|
|
|
3028
3028
|
do {
|
|
3029
3029
|
didScheduleRenderPhaseUpdateDuringThisPass && (thenableState = null);
|
|
3030
3030
|
thenableIndexCounter = 0;
|
|
3031
|
-
didScheduleRenderPhaseUpdateDuringThisPass =
|
|
3031
|
+
didScheduleRenderPhaseUpdateDuringThisPass = false;
|
|
3032
3032
|
if (25 <= numberOfReRenders) throw Error(formatProdErrorMessage(301));
|
|
3033
3033
|
numberOfReRenders += 1;
|
|
3034
3034
|
workInProgressHook = currentHook = null;
|
|
@@ -3069,11 +3069,11 @@ function requireReactDomClient_production() {
|
|
|
3069
3069
|
null !== queue && (queue.pending = null);
|
|
3070
3070
|
workInProgress = workInProgress.next;
|
|
3071
3071
|
}
|
|
3072
|
-
didScheduleRenderPhaseUpdate =
|
|
3072
|
+
didScheduleRenderPhaseUpdate = false;
|
|
3073
3073
|
}
|
|
3074
3074
|
renderLanes = 0;
|
|
3075
3075
|
workInProgressHook = currentHook = currentlyRenderingFiber$1 = null;
|
|
3076
|
-
didScheduleRenderPhaseUpdateDuringThisPass =
|
|
3076
|
+
didScheduleRenderPhaseUpdateDuringThisPass = false;
|
|
3077
3077
|
thenableIndexCounter = localIdCounter = 0;
|
|
3078
3078
|
thenableState = null;
|
|
3079
3079
|
}
|
|
@@ -3156,7 +3156,7 @@ function requireReactDomClient_production() {
|
|
|
3156
3156
|
null === updateQueue && (updateQueue = createFunctionComponentUpdateQueue(), currentlyRenderingFiber$1.updateQueue = updateQueue);
|
|
3157
3157
|
updateQueue.memoCache = memoCache;
|
|
3158
3158
|
updateQueue = memoCache.data[memoCache.index];
|
|
3159
|
-
if (
|
|
3159
|
+
if (undefined === updateQueue) for (updateQueue = memoCache.data[memoCache.index] = Array(size), current = 0; current < size; current++) updateQueue[current] = REACT_MEMO_CACHE_SENTINEL;
|
|
3160
3160
|
memoCache.index++;
|
|
3161
3161
|
return updateQueue;
|
|
3162
3162
|
}
|
|
@@ -3188,7 +3188,7 @@ function requireReactDomClient_production() {
|
|
|
3188
3188
|
var newBaseQueueFirst = baseFirst = null,
|
|
3189
3189
|
newBaseQueueLast = null,
|
|
3190
3190
|
update = current,
|
|
3191
|
-
didReadFromEntangledAsyncAction$54 =
|
|
3191
|
+
didReadFromEntangledAsyncAction$54 = false;
|
|
3192
3192
|
do {
|
|
3193
3193
|
var updateLane = update.lane & -536870913;
|
|
3194
3194
|
if (updateLane !== update.lane ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) {
|
|
@@ -3200,9 +3200,9 @@ function requireReactDomClient_production() {
|
|
|
3200
3200
|
hasEagerState: update.hasEagerState,
|
|
3201
3201
|
eagerState: update.eagerState,
|
|
3202
3202
|
next: null
|
|
3203
|
-
}), updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction$54 =
|
|
3203
|
+
}), updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction$54 = true);else if ((renderLanes & revertLane) === revertLane) {
|
|
3204
3204
|
update = update.next;
|
|
3205
|
-
revertLane === currentEntangledLane && (didReadFromEntangledAsyncAction$54 =
|
|
3205
|
+
revertLane === currentEntangledLane && (didReadFromEntangledAsyncAction$54 = true);
|
|
3206
3206
|
continue;
|
|
3207
3207
|
} else updateLane = {
|
|
3208
3208
|
lane: 0,
|
|
@@ -3226,7 +3226,7 @@ function requireReactDomClient_production() {
|
|
|
3226
3226
|
update = update.next;
|
|
3227
3227
|
} while (null !== update && update !== current);
|
|
3228
3228
|
null === newBaseQueueLast ? baseFirst = pendingQueue : newBaseQueueLast.next = newBaseQueueFirst;
|
|
3229
|
-
if (!objectIs(pendingQueue, hook.memoizedState) && (didReceiveUpdate =
|
|
3229
|
+
if (!objectIs(pendingQueue, hook.memoizedState) && (didReceiveUpdate = true, didReadFromEntangledAsyncAction$54 && (reducer = currentEntangledActionThenable, null !== reducer))) throw reducer;
|
|
3230
3230
|
hook.memoizedState = pendingQueue;
|
|
3231
3231
|
hook.baseState = baseFirst;
|
|
3232
3232
|
hook.baseQueue = newBaseQueueLast;
|
|
@@ -3247,7 +3247,7 @@ function requireReactDomClient_production() {
|
|
|
3247
3247
|
queue.pending = null;
|
|
3248
3248
|
var update = lastRenderPhaseUpdate = lastRenderPhaseUpdate.next;
|
|
3249
3249
|
do newState = reducer(newState, update.action), update = update.next; while (update !== lastRenderPhaseUpdate);
|
|
3250
|
-
objectIs(newState, hook.memoizedState) || (didReceiveUpdate =
|
|
3250
|
+
objectIs(newState, hook.memoizedState) || (didReceiveUpdate = true);
|
|
3251
3251
|
hook.memoizedState = newState;
|
|
3252
3252
|
null === hook.baseQueue && (hook.baseState = newState);
|
|
3253
3253
|
queue.lastRenderedState = newState;
|
|
@@ -3259,17 +3259,17 @@ function requireReactDomClient_production() {
|
|
|
3259
3259
|
hook = updateWorkInProgressHook(),
|
|
3260
3260
|
isHydrating$jscomp$0 = isHydrating;
|
|
3261
3261
|
if (isHydrating$jscomp$0) {
|
|
3262
|
-
if (
|
|
3262
|
+
if (undefined === getServerSnapshot) throw Error(formatProdErrorMessage(407));
|
|
3263
3263
|
getServerSnapshot = getServerSnapshot();
|
|
3264
3264
|
} else getServerSnapshot = getSnapshot();
|
|
3265
3265
|
var snapshotChanged = !objectIs((currentHook || hook).memoizedState, getServerSnapshot);
|
|
3266
|
-
snapshotChanged && (hook.memoizedState = getServerSnapshot, didReceiveUpdate =
|
|
3266
|
+
snapshotChanged && (hook.memoizedState = getServerSnapshot, didReceiveUpdate = true);
|
|
3267
3267
|
hook = hook.queue;
|
|
3268
3268
|
updateEffect(subscribeToStore.bind(null, fiber, hook, subscribe), [subscribe]);
|
|
3269
3269
|
if (hook.getSnapshot !== getSnapshot || snapshotChanged || null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1) {
|
|
3270
3270
|
fiber.flags |= 2048;
|
|
3271
3271
|
pushEffect(9, updateStoreInstance.bind(null, fiber, hook, getServerSnapshot, getSnapshot), {
|
|
3272
|
-
destroy:
|
|
3272
|
+
destroy: undefined
|
|
3273
3273
|
}, null);
|
|
3274
3274
|
if (null === workInProgressRoot) throw Error(formatProdErrorMessage(349));
|
|
3275
3275
|
isHydrating$jscomp$0 || 0 !== (renderLanes & 60) || pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);
|
|
@@ -3302,7 +3302,7 @@ function requireReactDomClient_production() {
|
|
|
3302
3302
|
var nextValue = latestGetSnapshot();
|
|
3303
3303
|
return !objectIs(inst, nextValue);
|
|
3304
3304
|
} catch (error) {
|
|
3305
|
-
return
|
|
3305
|
+
return true;
|
|
3306
3306
|
}
|
|
3307
3307
|
}
|
|
3308
3308
|
function forceStoreRerender(fiber) {
|
|
@@ -3315,11 +3315,11 @@ function requireReactDomClient_production() {
|
|
|
3315
3315
|
var initialStateInitializer = initialState;
|
|
3316
3316
|
initialState = initialStateInitializer();
|
|
3317
3317
|
if (shouldDoubleInvokeUserFnsInHooksDEV) {
|
|
3318
|
-
setIsStrictModeForDevtools(
|
|
3318
|
+
setIsStrictModeForDevtools(true);
|
|
3319
3319
|
try {
|
|
3320
3320
|
initialStateInitializer();
|
|
3321
3321
|
} finally {
|
|
3322
|
-
setIsStrictModeForDevtools(
|
|
3322
|
+
setIsStrictModeForDevtools(false);
|
|
3323
3323
|
}
|
|
3324
3324
|
}
|
|
3325
3325
|
}
|
|
@@ -3345,7 +3345,7 @@ function requireReactDomClient_production() {
|
|
|
3345
3345
|
payload: payload,
|
|
3346
3346
|
action: fiber,
|
|
3347
3347
|
next: null,
|
|
3348
|
-
isTransition:
|
|
3348
|
+
isTransition: true,
|
|
3349
3349
|
status: "pending",
|
|
3350
3350
|
value: null,
|
|
3351
3351
|
reason: null,
|
|
@@ -3354,7 +3354,7 @@ function requireReactDomClient_production() {
|
|
|
3354
3354
|
actionNode.listeners.push(listener);
|
|
3355
3355
|
}
|
|
3356
3356
|
};
|
|
3357
|
-
null !== ReactSharedInternals.T ? setPendingState(
|
|
3357
|
+
null !== ReactSharedInternals.T ? setPendingState(true) : actionNode.isTransition = false;
|
|
3358
3358
|
setState(actionNode);
|
|
3359
3359
|
setPendingState = actionQueue.pending;
|
|
3360
3360
|
null === setPendingState ? (actionNode.next = actionQueue.pending = actionNode, runActionStateAction(actionQueue, actionNode)) : (actionNode.next = setPendingState.next, actionQueue.pending = setPendingState.next = actionNode);
|
|
@@ -3447,7 +3447,7 @@ function requireReactDomClient_production() {
|
|
|
3447
3447
|
}
|
|
3448
3448
|
throwOnHydrationMismatch(JSCompiler_inline_result);
|
|
3449
3449
|
}
|
|
3450
|
-
JSCompiler_inline_result =
|
|
3450
|
+
JSCompiler_inline_result = false;
|
|
3451
3451
|
}
|
|
3452
3452
|
JSCompiler_inline_result && (initialStateProp = ssrFormState[0]);
|
|
3453
3453
|
}
|
|
@@ -3464,8 +3464,8 @@ function requireReactDomClient_production() {
|
|
|
3464
3464
|
ssrFormState.queue = JSCompiler_inline_result;
|
|
3465
3465
|
ssrFormState = dispatchSetState.bind(null, currentlyRenderingFiber$1, JSCompiler_inline_result);
|
|
3466
3466
|
JSCompiler_inline_result.dispatch = ssrFormState;
|
|
3467
|
-
JSCompiler_inline_result = mountStateImpl(
|
|
3468
|
-
inRootOrSingleton = dispatchOptimisticSetState.bind(null, currentlyRenderingFiber$1,
|
|
3467
|
+
JSCompiler_inline_result = mountStateImpl(false);
|
|
3468
|
+
inRootOrSingleton = dispatchOptimisticSetState.bind(null, currentlyRenderingFiber$1, false, JSCompiler_inline_result.queue);
|
|
3469
3469
|
JSCompiler_inline_result = mountWorkInProgressHook();
|
|
3470
3470
|
JSCompiler_inline_result$jscomp$0 = {
|
|
3471
3471
|
state: initialStateProp,
|
|
@@ -3477,7 +3477,7 @@ function requireReactDomClient_production() {
|
|
|
3477
3477
|
ssrFormState = dispatchActionState.bind(null, currentlyRenderingFiber$1, JSCompiler_inline_result$jscomp$0, inRootOrSingleton, ssrFormState);
|
|
3478
3478
|
JSCompiler_inline_result$jscomp$0.dispatch = ssrFormState;
|
|
3479
3479
|
JSCompiler_inline_result.memoizedState = action;
|
|
3480
|
-
return [initialStateProp, ssrFormState,
|
|
3480
|
+
return [initialStateProp, ssrFormState, false];
|
|
3481
3481
|
}
|
|
3482
3482
|
function updateActionState(action) {
|
|
3483
3483
|
var stateHook = updateWorkInProgressHook();
|
|
@@ -3491,7 +3491,7 @@ function requireReactDomClient_production() {
|
|
|
3491
3491
|
actionQueue = actionQueueHook.queue,
|
|
3492
3492
|
dispatch = actionQueue.dispatch;
|
|
3493
3493
|
action !== actionQueueHook.memoizedState && (currentlyRenderingFiber$1.flags |= 2048, pushEffect(9, actionStateActionEffect.bind(null, actionQueue, action), {
|
|
3494
|
-
destroy:
|
|
3494
|
+
destroy: undefined
|
|
3495
3495
|
}, null));
|
|
3496
3496
|
return [currentStateHook, dispatch, stateHook];
|
|
3497
3497
|
}
|
|
@@ -3507,7 +3507,7 @@ function requireReactDomClient_production() {
|
|
|
3507
3507
|
currentStateHook = updateWorkInProgressHook();
|
|
3508
3508
|
var dispatch = currentStateHook.queue.dispatch;
|
|
3509
3509
|
currentStateHook.memoizedState = action;
|
|
3510
|
-
return [stateHook, dispatch,
|
|
3510
|
+
return [stateHook, dispatch, false];
|
|
3511
3511
|
}
|
|
3512
3512
|
function pushEffect(tag, create, inst, deps) {
|
|
3513
3513
|
tag = {
|
|
@@ -3530,12 +3530,12 @@ function requireReactDomClient_production() {
|
|
|
3530
3530
|
var hook = mountWorkInProgressHook();
|
|
3531
3531
|
currentlyRenderingFiber$1.flags |= fiberFlags;
|
|
3532
3532
|
hook.memoizedState = pushEffect(1 | hookFlags, create, {
|
|
3533
|
-
destroy:
|
|
3534
|
-
},
|
|
3533
|
+
destroy: undefined
|
|
3534
|
+
}, undefined === deps ? null : deps);
|
|
3535
3535
|
}
|
|
3536
3536
|
function updateEffectImpl(fiberFlags, hookFlags, create, deps) {
|
|
3537
3537
|
var hook = updateWorkInProgressHook();
|
|
3538
|
-
deps =
|
|
3538
|
+
deps = undefined === deps ? null : deps;
|
|
3539
3539
|
var inst = hook.memoizedState.inst;
|
|
3540
3540
|
null !== currentHook && null !== deps && areHookInputsEqual(deps, currentHook.memoizedState.deps) ? hook.memoizedState = pushEffect(hookFlags, create, inst, deps) : (currentlyRenderingFiber$1.flags |= fiberFlags, hook.memoizedState = pushEffect(1 | hookFlags, create, inst, deps));
|
|
3541
3541
|
}
|
|
@@ -3559,18 +3559,18 @@ function requireReactDomClient_production() {
|
|
|
3559
3559
|
"function" === typeof refCleanup ? refCleanup() : ref(null);
|
|
3560
3560
|
};
|
|
3561
3561
|
}
|
|
3562
|
-
if (null !== ref &&
|
|
3562
|
+
if (null !== ref && undefined !== ref) return create = create(), ref.current = create, function () {
|
|
3563
3563
|
ref.current = null;
|
|
3564
3564
|
};
|
|
3565
3565
|
}
|
|
3566
3566
|
function updateImperativeHandle(ref, create, deps) {
|
|
3567
|
-
deps = null !== deps &&
|
|
3567
|
+
deps = null !== deps && undefined !== deps ? deps.concat([ref]) : null;
|
|
3568
3568
|
updateEffectImpl(4, 4, imperativeHandleEffect.bind(null, create, ref), deps);
|
|
3569
3569
|
}
|
|
3570
3570
|
function mountDebugValue() {}
|
|
3571
3571
|
function updateCallback(callback, deps) {
|
|
3572
3572
|
var hook = updateWorkInProgressHook();
|
|
3573
|
-
deps =
|
|
3573
|
+
deps = undefined === deps ? null : deps;
|
|
3574
3574
|
var prevState = hook.memoizedState;
|
|
3575
3575
|
if (null !== deps && areHookInputsEqual(deps, prevState[1])) return prevState[0];
|
|
3576
3576
|
hook.memoizedState = [callback, deps];
|
|
@@ -3578,23 +3578,23 @@ function requireReactDomClient_production() {
|
|
|
3578
3578
|
}
|
|
3579
3579
|
function updateMemo(nextCreate, deps) {
|
|
3580
3580
|
var hook = updateWorkInProgressHook();
|
|
3581
|
-
deps =
|
|
3581
|
+
deps = undefined === deps ? null : deps;
|
|
3582
3582
|
var prevState = hook.memoizedState;
|
|
3583
3583
|
if (null !== deps && areHookInputsEqual(deps, prevState[1])) return prevState[0];
|
|
3584
3584
|
prevState = nextCreate();
|
|
3585
3585
|
if (shouldDoubleInvokeUserFnsInHooksDEV) {
|
|
3586
|
-
setIsStrictModeForDevtools(
|
|
3586
|
+
setIsStrictModeForDevtools(true);
|
|
3587
3587
|
try {
|
|
3588
3588
|
nextCreate();
|
|
3589
3589
|
} finally {
|
|
3590
|
-
setIsStrictModeForDevtools(
|
|
3590
|
+
setIsStrictModeForDevtools(false);
|
|
3591
3591
|
}
|
|
3592
3592
|
}
|
|
3593
3593
|
hook.memoizedState = [prevState, deps];
|
|
3594
3594
|
return prevState;
|
|
3595
3595
|
}
|
|
3596
3596
|
function mountDeferredValueImpl(hook, value, initialValue) {
|
|
3597
|
-
if (
|
|
3597
|
+
if (undefined === initialValue || 0 !== (renderLanes & 1073741824)) return hook.memoizedState = value;
|
|
3598
3598
|
hook.memoizedState = initialValue;
|
|
3599
3599
|
hook = requestDeferredLane();
|
|
3600
3600
|
currentlyRenderingFiber$1.lanes |= hook;
|
|
@@ -3603,8 +3603,8 @@ function requireReactDomClient_production() {
|
|
|
3603
3603
|
}
|
|
3604
3604
|
function updateDeferredValueImpl(hook, prevValue, value, initialValue) {
|
|
3605
3605
|
if (objectIs(value, prevValue)) return value;
|
|
3606
|
-
if (null !== currentTreeHiddenStackCursor.current) return hook = mountDeferredValueImpl(hook, value, initialValue), objectIs(hook, prevValue) || (didReceiveUpdate =
|
|
3607
|
-
if (0 === (renderLanes & 42)) return didReceiveUpdate =
|
|
3606
|
+
if (null !== currentTreeHiddenStackCursor.current) return hook = mountDeferredValueImpl(hook, value, initialValue), objectIs(hook, prevValue) || (didReceiveUpdate = true), hook;
|
|
3607
|
+
if (0 === (renderLanes & 42)) return didReceiveUpdate = true, hook.memoizedState = value;
|
|
3608
3608
|
hook = requestDeferredLane();
|
|
3609
3609
|
currentlyRenderingFiber$1.lanes |= hook;
|
|
3610
3610
|
workInProgressRootSkippedLanes |= hook;
|
|
@@ -3616,7 +3616,7 @@ function requireReactDomClient_production() {
|
|
|
3616
3616
|
var prevTransition = ReactSharedInternals.T,
|
|
3617
3617
|
currentTransition = {};
|
|
3618
3618
|
ReactSharedInternals.T = currentTransition;
|
|
3619
|
-
dispatchOptimisticSetState(fiber,
|
|
3619
|
+
dispatchOptimisticSetState(fiber, false, queue, pendingState);
|
|
3620
3620
|
try {
|
|
3621
3621
|
var returnValue = callback(),
|
|
3622
3622
|
onStartTransitionFinish = ReactSharedInternals.S;
|
|
@@ -3716,7 +3716,7 @@ function requireReactDomClient_production() {
|
|
|
3716
3716
|
lane: lane,
|
|
3717
3717
|
revertLane: 0,
|
|
3718
3718
|
action: action,
|
|
3719
|
-
hasEagerState:
|
|
3719
|
+
hasEagerState: false,
|
|
3720
3720
|
eagerState: null,
|
|
3721
3721
|
next: null
|
|
3722
3722
|
};
|
|
@@ -3731,7 +3731,7 @@ function requireReactDomClient_production() {
|
|
|
3731
3731
|
lane: lane,
|
|
3732
3732
|
revertLane: 0,
|
|
3733
3733
|
action: action,
|
|
3734
|
-
hasEagerState:
|
|
3734
|
+
hasEagerState: false,
|
|
3735
3735
|
eagerState: null,
|
|
3736
3736
|
next: null
|
|
3737
3737
|
};
|
|
@@ -3745,16 +3745,16 @@ function requireReactDomClient_production() {
|
|
|
3745
3745
|
if (objectIs(eagerState, currentState)) return enqueueUpdate$1(fiber, queue, update, 0), null === workInProgressRoot && finishQueueingConcurrentUpdates(), !1;
|
|
3746
3746
|
} catch (error) {} finally {}
|
|
3747
3747
|
action = enqueueConcurrentHookUpdate(fiber, queue, update, lane);
|
|
3748
|
-
if (null !== action) return scheduleUpdateOnFiber(action, fiber, lane), entangleTransitionUpdate(action, queue, lane),
|
|
3748
|
+
if (null !== action) return scheduleUpdateOnFiber(action, fiber, lane), entangleTransitionUpdate(action, queue, lane), true;
|
|
3749
3749
|
}
|
|
3750
|
-
return
|
|
3750
|
+
return false;
|
|
3751
3751
|
}
|
|
3752
3752
|
function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) {
|
|
3753
3753
|
action = {
|
|
3754
3754
|
lane: 2,
|
|
3755
3755
|
revertLane: requestTransitionLane(),
|
|
3756
3756
|
action: action,
|
|
3757
|
-
hasEagerState:
|
|
3757
|
+
hasEagerState: false,
|
|
3758
3758
|
eagerState: null,
|
|
3759
3759
|
next: null
|
|
3760
3760
|
};
|
|
@@ -3767,7 +3767,7 @@ function requireReactDomClient_production() {
|
|
|
3767
3767
|
return fiber === currentlyRenderingFiber$1 || null !== alternate && alternate === currentlyRenderingFiber$1;
|
|
3768
3768
|
}
|
|
3769
3769
|
function enqueueRenderPhaseUpdate(queue, update) {
|
|
3770
|
-
didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate =
|
|
3770
|
+
didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = true;
|
|
3771
3771
|
var pending = queue.pending;
|
|
3772
3772
|
null === pending ? update.next = update : (update.next = pending.next, pending.next = update);
|
|
3773
3773
|
queue.pending = update;
|
|
@@ -3810,13 +3810,13 @@ function requireReactDomClient_production() {
|
|
|
3810
3810
|
readContext: readContext,
|
|
3811
3811
|
use: use,
|
|
3812
3812
|
useCallback: function (callback, deps) {
|
|
3813
|
-
mountWorkInProgressHook().memoizedState = [callback,
|
|
3813
|
+
mountWorkInProgressHook().memoizedState = [callback, undefined === deps ? null : deps];
|
|
3814
3814
|
return callback;
|
|
3815
3815
|
},
|
|
3816
3816
|
useContext: readContext,
|
|
3817
3817
|
useEffect: mountEffect,
|
|
3818
3818
|
useImperativeHandle: function (ref, create, deps) {
|
|
3819
|
-
deps = null !== deps &&
|
|
3819
|
+
deps = null !== deps && undefined !== deps ? deps.concat([ref]) : null;
|
|
3820
3820
|
mountEffectImpl(4194308, 4, imperativeHandleEffect.bind(null, create, ref), deps);
|
|
3821
3821
|
},
|
|
3822
3822
|
useLayoutEffect: function (create, deps) {
|
|
@@ -3827,14 +3827,14 @@ function requireReactDomClient_production() {
|
|
|
3827
3827
|
},
|
|
3828
3828
|
useMemo: function (nextCreate, deps) {
|
|
3829
3829
|
var hook = mountWorkInProgressHook();
|
|
3830
|
-
deps =
|
|
3830
|
+
deps = undefined === deps ? null : deps;
|
|
3831
3831
|
var nextValue = nextCreate();
|
|
3832
3832
|
if (shouldDoubleInvokeUserFnsInHooksDEV) {
|
|
3833
|
-
setIsStrictModeForDevtools(
|
|
3833
|
+
setIsStrictModeForDevtools(true);
|
|
3834
3834
|
try {
|
|
3835
3835
|
nextCreate();
|
|
3836
3836
|
} finally {
|
|
3837
|
-
setIsStrictModeForDevtools(
|
|
3837
|
+
setIsStrictModeForDevtools(false);
|
|
3838
3838
|
}
|
|
3839
3839
|
}
|
|
3840
3840
|
hook.memoizedState = [nextValue, deps];
|
|
@@ -3842,14 +3842,14 @@ function requireReactDomClient_production() {
|
|
|
3842
3842
|
},
|
|
3843
3843
|
useReducer: function (reducer, initialArg, init) {
|
|
3844
3844
|
var hook = mountWorkInProgressHook();
|
|
3845
|
-
if (
|
|
3845
|
+
if (undefined !== init) {
|
|
3846
3846
|
var initialState = init(initialArg);
|
|
3847
3847
|
if (shouldDoubleInvokeUserFnsInHooksDEV) {
|
|
3848
|
-
setIsStrictModeForDevtools(
|
|
3848
|
+
setIsStrictModeForDevtools(true);
|
|
3849
3849
|
try {
|
|
3850
3850
|
init(initialArg);
|
|
3851
3851
|
} finally {
|
|
3852
|
-
setIsStrictModeForDevtools(
|
|
3852
|
+
setIsStrictModeForDevtools(false);
|
|
3853
3853
|
}
|
|
3854
3854
|
}
|
|
3855
3855
|
} else initialState = initialArg;
|
|
@@ -3885,16 +3885,16 @@ function requireReactDomClient_production() {
|
|
|
3885
3885
|
return mountDeferredValueImpl(hook, value, initialValue);
|
|
3886
3886
|
},
|
|
3887
3887
|
useTransition: function () {
|
|
3888
|
-
var stateHook = mountStateImpl(
|
|
3889
|
-
stateHook = startTransition.bind(null, currentlyRenderingFiber$1, stateHook.queue,
|
|
3888
|
+
var stateHook = mountStateImpl(false);
|
|
3889
|
+
stateHook = startTransition.bind(null, currentlyRenderingFiber$1, stateHook.queue, true, false);
|
|
3890
3890
|
mountWorkInProgressHook().memoizedState = stateHook;
|
|
3891
|
-
return [
|
|
3891
|
+
return [false, stateHook];
|
|
3892
3892
|
},
|
|
3893
3893
|
useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
|
|
3894
3894
|
var fiber = currentlyRenderingFiber$1,
|
|
3895
3895
|
hook = mountWorkInProgressHook();
|
|
3896
3896
|
if (isHydrating) {
|
|
3897
|
-
if (
|
|
3897
|
+
if (undefined === getServerSnapshot) throw Error(formatProdErrorMessage(407));
|
|
3898
3898
|
getServerSnapshot = getServerSnapshot();
|
|
3899
3899
|
} else {
|
|
3900
3900
|
getServerSnapshot = getSnapshot();
|
|
@@ -3910,7 +3910,7 @@ function requireReactDomClient_production() {
|
|
|
3910
3910
|
mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [subscribe]);
|
|
3911
3911
|
fiber.flags |= 2048;
|
|
3912
3912
|
pushEffect(9, updateStoreInstance.bind(null, fiber, inst, getServerSnapshot, getSnapshot), {
|
|
3913
|
-
destroy:
|
|
3913
|
+
destroy: undefined
|
|
3914
3914
|
}, null);
|
|
3915
3915
|
return getServerSnapshot;
|
|
3916
3916
|
},
|
|
@@ -3947,7 +3947,7 @@ function requireReactDomClient_production() {
|
|
|
3947
3947
|
lastRenderedState: null
|
|
3948
3948
|
};
|
|
3949
3949
|
hook.queue = queue;
|
|
3950
|
-
hook = dispatchOptimisticSetState.bind(null, currentlyRenderingFiber$1,
|
|
3950
|
+
hook = dispatchOptimisticSetState.bind(null, currentlyRenderingFiber$1, true, queue);
|
|
3951
3951
|
queue.dispatch = hook;
|
|
3952
3952
|
return [passthrough, hook];
|
|
3953
3953
|
};
|
|
@@ -4030,20 +4030,20 @@ function requireReactDomClient_production() {
|
|
|
4030
4030
|
function applyDerivedStateFromProps(workInProgress, ctor, getDerivedStateFromProps, nextProps) {
|
|
4031
4031
|
ctor = workInProgress.memoizedState;
|
|
4032
4032
|
getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor);
|
|
4033
|
-
getDerivedStateFromProps = null === getDerivedStateFromProps ||
|
|
4033
|
+
getDerivedStateFromProps = null === getDerivedStateFromProps || undefined === getDerivedStateFromProps ? ctor : assign({}, ctor, getDerivedStateFromProps);
|
|
4034
4034
|
workInProgress.memoizedState = getDerivedStateFromProps;
|
|
4035
4035
|
0 === workInProgress.lanes && (workInProgress.updateQueue.baseState = getDerivedStateFromProps);
|
|
4036
4036
|
}
|
|
4037
4037
|
var classComponentUpdater = {
|
|
4038
4038
|
isMounted: function (component) {
|
|
4039
|
-
return (component = component._reactInternals) ? getNearestMountedFiber(component) === component :
|
|
4039
|
+
return (component = component._reactInternals) ? getNearestMountedFiber(component) === component : false;
|
|
4040
4040
|
},
|
|
4041
4041
|
enqueueSetState: function (inst, payload, callback) {
|
|
4042
4042
|
inst = inst._reactInternals;
|
|
4043
4043
|
var lane = requestUpdateLane(),
|
|
4044
4044
|
update = createUpdate(lane);
|
|
4045
4045
|
update.payload = payload;
|
|
4046
|
-
|
|
4046
|
+
undefined !== callback && null !== callback && (update.callback = callback);
|
|
4047
4047
|
payload = enqueueUpdate(inst, update, lane);
|
|
4048
4048
|
null !== payload && (scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane));
|
|
4049
4049
|
},
|
|
@@ -4053,7 +4053,7 @@ function requireReactDomClient_production() {
|
|
|
4053
4053
|
update = createUpdate(lane);
|
|
4054
4054
|
update.tag = 1;
|
|
4055
4055
|
update.payload = payload;
|
|
4056
|
-
|
|
4056
|
+
undefined !== callback && null !== callback && (update.callback = callback);
|
|
4057
4057
|
payload = enqueueUpdate(inst, update, lane);
|
|
4058
4058
|
null !== payload && (scheduleUpdateOnFiber(payload, inst, lane), entangleTransitions(payload, inst, lane));
|
|
4059
4059
|
},
|
|
@@ -4062,14 +4062,14 @@ function requireReactDomClient_production() {
|
|
|
4062
4062
|
var lane = requestUpdateLane(),
|
|
4063
4063
|
update = createUpdate(lane);
|
|
4064
4064
|
update.tag = 2;
|
|
4065
|
-
|
|
4065
|
+
undefined !== callback && null !== callback && (update.callback = callback);
|
|
4066
4066
|
callback = enqueueUpdate(inst, update, lane);
|
|
4067
4067
|
null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane));
|
|
4068
4068
|
}
|
|
4069
4069
|
};
|
|
4070
4070
|
function checkShouldComponentUpdate(workInProgress, ctor, oldProps, newProps, oldState, newState, nextContext) {
|
|
4071
4071
|
workInProgress = workInProgress.stateNode;
|
|
4072
|
-
return "function" === typeof workInProgress.shouldComponentUpdate ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext) : ctor.prototype && ctor.prototype.isPureReactComponent ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) :
|
|
4072
|
+
return "function" === typeof workInProgress.shouldComponentUpdate ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext) : ctor.prototype && ctor.prototype.isPureReactComponent ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) : true;
|
|
4073
4073
|
}
|
|
4074
4074
|
function callComponentWillReceiveProps(workInProgress, instance, newProps, nextContext) {
|
|
4075
4075
|
workInProgress = instance.state;
|
|
@@ -4085,15 +4085,15 @@ function requireReactDomClient_production() {
|
|
|
4085
4085
|
}
|
|
4086
4086
|
if (Component = Component.defaultProps) {
|
|
4087
4087
|
newProps === baseProps && (newProps = assign({}, newProps));
|
|
4088
|
-
for (var propName$67 in Component)
|
|
4088
|
+
for (var propName$67 in Component) undefined === newProps[propName$67] && (newProps[propName$67] = Component[propName$67]);
|
|
4089
4089
|
}
|
|
4090
4090
|
return newProps;
|
|
4091
4091
|
}
|
|
4092
4092
|
var reportGlobalError = "function" === typeof reportError ? reportError : function (error) {
|
|
4093
4093
|
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
4094
4094
|
var event = new window.ErrorEvent("error", {
|
|
4095
|
-
bubbles:
|
|
4096
|
-
cancelable:
|
|
4095
|
+
bubbles: true,
|
|
4096
|
+
cancelable: true,
|
|
4097
4097
|
message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
|
|
4098
4098
|
error: error
|
|
4099
4099
|
});
|
|
@@ -4178,52 +4178,52 @@ function requireReactDomClient_production() {
|
|
|
4178
4178
|
sourceFiber.flags |= 32768;
|
|
4179
4179
|
if (null !== value && "object" === typeof value && "function" === typeof value.then) {
|
|
4180
4180
|
returnFiber = sourceFiber.alternate;
|
|
4181
|
-
null !== returnFiber && propagateParentContextChanges(returnFiber, sourceFiber, rootRenderLanes,
|
|
4181
|
+
null !== returnFiber && propagateParentContextChanges(returnFiber, sourceFiber, rootRenderLanes, true);
|
|
4182
4182
|
sourceFiber = suspenseHandlerStackCursor.current;
|
|
4183
4183
|
if (null !== sourceFiber) {
|
|
4184
4184
|
switch (sourceFiber.tag) {
|
|
4185
4185
|
case 13:
|
|
4186
|
-
return null === shellBoundary ? renderDidSuspendDelayIfPossible() : null === sourceFiber.alternate && 0 === workInProgressRootExitStatus && (workInProgressRootExitStatus = 3), sourceFiber.flags &= -257, sourceFiber.flags |= 65536, sourceFiber.lanes = rootRenderLanes, value === noopSuspenseyCommitThenable ? sourceFiber.flags |= 16384 : (returnFiber = sourceFiber.updateQueue, null === returnFiber ? sourceFiber.updateQueue = new Set([value]) : returnFiber.add(value), attachPingListener(root, value, rootRenderLanes)),
|
|
4186
|
+
return null === shellBoundary ? renderDidSuspendDelayIfPossible() : null === sourceFiber.alternate && 0 === workInProgressRootExitStatus && (workInProgressRootExitStatus = 3), sourceFiber.flags &= -257, sourceFiber.flags |= 65536, sourceFiber.lanes = rootRenderLanes, value === noopSuspenseyCommitThenable ? sourceFiber.flags |= 16384 : (returnFiber = sourceFiber.updateQueue, null === returnFiber ? sourceFiber.updateQueue = new Set([value]) : returnFiber.add(value), attachPingListener(root, value, rootRenderLanes)), false;
|
|
4187
4187
|
case 22:
|
|
4188
4188
|
return sourceFiber.flags |= 65536, value === noopSuspenseyCommitThenable ? sourceFiber.flags |= 16384 : (returnFiber = sourceFiber.updateQueue, null === returnFiber ? (returnFiber = {
|
|
4189
4189
|
transitions: null,
|
|
4190
4190
|
markerInstances: null,
|
|
4191
4191
|
retryQueue: new Set([value])
|
|
4192
|
-
}, sourceFiber.updateQueue = returnFiber) : (sourceFiber = returnFiber.retryQueue, null === sourceFiber ? returnFiber.retryQueue = new Set([value]) : sourceFiber.add(value)), attachPingListener(root, value, rootRenderLanes)),
|
|
4192
|
+
}, sourceFiber.updateQueue = returnFiber) : (sourceFiber = returnFiber.retryQueue, null === sourceFiber ? returnFiber.retryQueue = new Set([value]) : sourceFiber.add(value)), attachPingListener(root, value, rootRenderLanes)), false;
|
|
4193
4193
|
}
|
|
4194
4194
|
throw Error(formatProdErrorMessage(435, sourceFiber.tag));
|
|
4195
4195
|
}
|
|
4196
4196
|
attachPingListener(root, value, rootRenderLanes);
|
|
4197
4197
|
renderDidSuspendDelayIfPossible();
|
|
4198
|
-
return
|
|
4198
|
+
return false;
|
|
4199
4199
|
}
|
|
4200
4200
|
if (isHydrating) return returnFiber = suspenseHandlerStackCursor.current, null !== returnFiber ? (0 === (returnFiber.flags & 65536) && (returnFiber.flags |= 256), returnFiber.flags |= 65536, returnFiber.lanes = rootRenderLanes, value !== HydrationMismatchException && (root = Error(formatProdErrorMessage(422), {
|
|
4201
4201
|
cause: value
|
|
4202
4202
|
}), queueHydrationError(createCapturedValueAtFiber(root, sourceFiber)))) : (value !== HydrationMismatchException && (returnFiber = Error(formatProdErrorMessage(423), {
|
|
4203
4203
|
cause: value
|
|
4204
|
-
}), queueHydrationError(createCapturedValueAtFiber(returnFiber, sourceFiber))), root = root.current.alternate, root.flags |= 65536, rootRenderLanes &= -rootRenderLanes, root.lanes |= rootRenderLanes, value = createCapturedValueAtFiber(value, sourceFiber), rootRenderLanes = createRootErrorUpdate(root.stateNode, value, rootRenderLanes), enqueueCapturedUpdate(root, rootRenderLanes), 4 !== workInProgressRootExitStatus && (workInProgressRootExitStatus = 2)),
|
|
4204
|
+
}), queueHydrationError(createCapturedValueAtFiber(returnFiber, sourceFiber))), root = root.current.alternate, root.flags |= 65536, rootRenderLanes &= -rootRenderLanes, root.lanes |= rootRenderLanes, value = createCapturedValueAtFiber(value, sourceFiber), rootRenderLanes = createRootErrorUpdate(root.stateNode, value, rootRenderLanes), enqueueCapturedUpdate(root, rootRenderLanes), 4 !== workInProgressRootExitStatus && (workInProgressRootExitStatus = 2)), false;
|
|
4205
4205
|
var wrapperError = Error(formatProdErrorMessage(520), {
|
|
4206
4206
|
cause: value
|
|
4207
4207
|
});
|
|
4208
4208
|
wrapperError = createCapturedValueAtFiber(wrapperError, sourceFiber);
|
|
4209
4209
|
null === workInProgressRootConcurrentErrors ? workInProgressRootConcurrentErrors = [wrapperError] : workInProgressRootConcurrentErrors.push(wrapperError);
|
|
4210
4210
|
4 !== workInProgressRootExitStatus && (workInProgressRootExitStatus = 2);
|
|
4211
|
-
if (null === returnFiber) return
|
|
4211
|
+
if (null === returnFiber) return true;
|
|
4212
4212
|
value = createCapturedValueAtFiber(value, sourceFiber);
|
|
4213
4213
|
sourceFiber = returnFiber;
|
|
4214
4214
|
do {
|
|
4215
4215
|
switch (sourceFiber.tag) {
|
|
4216
4216
|
case 3:
|
|
4217
|
-
return sourceFiber.flags |= 65536, root = rootRenderLanes & -rootRenderLanes, sourceFiber.lanes |= root, root = createRootErrorUpdate(sourceFiber.stateNode, value, root), enqueueCapturedUpdate(sourceFiber, root),
|
|
4217
|
+
return sourceFiber.flags |= 65536, root = rootRenderLanes & -rootRenderLanes, sourceFiber.lanes |= root, root = createRootErrorUpdate(sourceFiber.stateNode, value, root), enqueueCapturedUpdate(sourceFiber, root), false;
|
|
4218
4218
|
case 1:
|
|
4219
|
-
if (returnFiber = sourceFiber.type, wrapperError = sourceFiber.stateNode, 0 === (sourceFiber.flags & 128) && ("function" === typeof returnFiber.getDerivedStateFromError || null !== wrapperError && "function" === typeof wrapperError.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(wrapperError)))) return sourceFiber.flags |= 65536, rootRenderLanes &= -rootRenderLanes, sourceFiber.lanes |= rootRenderLanes, rootRenderLanes = createClassErrorUpdate(rootRenderLanes), initializeClassErrorUpdate(rootRenderLanes, root, sourceFiber, value), enqueueCapturedUpdate(sourceFiber, rootRenderLanes),
|
|
4219
|
+
if (returnFiber = sourceFiber.type, wrapperError = sourceFiber.stateNode, 0 === (sourceFiber.flags & 128) && ("function" === typeof returnFiber.getDerivedStateFromError || null !== wrapperError && "function" === typeof wrapperError.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(wrapperError)))) return sourceFiber.flags |= 65536, rootRenderLanes &= -rootRenderLanes, sourceFiber.lanes |= rootRenderLanes, rootRenderLanes = createClassErrorUpdate(rootRenderLanes), initializeClassErrorUpdate(rootRenderLanes, root, sourceFiber, value), enqueueCapturedUpdate(sourceFiber, rootRenderLanes), false;
|
|
4220
4220
|
}
|
|
4221
4221
|
sourceFiber = sourceFiber.return;
|
|
4222
4222
|
} while (null !== sourceFiber);
|
|
4223
|
-
return
|
|
4223
|
+
return false;
|
|
4224
4224
|
}
|
|
4225
4225
|
var SelectiveHydrationException = Error(formatProdErrorMessage(461)),
|
|
4226
|
-
didReceiveUpdate =
|
|
4226
|
+
didReceiveUpdate = false;
|
|
4227
4227
|
function reconcileChildren(current, workInProgress, nextChildren, renderLanes) {
|
|
4228
4228
|
workInProgress.child = null === current ? mountChildFibers(workInProgress, null, nextChildren, renderLanes) : reconcileChildFibers(workInProgress, current.child, nextChildren, renderLanes);
|
|
4229
4229
|
}
|
|
@@ -4246,7 +4246,7 @@ function requireReactDomClient_production() {
|
|
|
4246
4246
|
function updateMemoComponent(current, workInProgress, Component, nextProps, renderLanes) {
|
|
4247
4247
|
if (null === current) {
|
|
4248
4248
|
var type = Component.type;
|
|
4249
|
-
if ("function" === typeof type && !shouldConstruct(type) &&
|
|
4249
|
+
if ("function" === typeof type && !shouldConstruct(type) && undefined === type.defaultProps && null === Component.compare) return workInProgress.tag = 15, workInProgress.type = type, updateSimpleMemoComponent(current, workInProgress, type, nextProps, renderLanes);
|
|
4250
4250
|
current = createFiberFromTypeAndProps(Component.type, null, nextProps, workInProgress, workInProgress.mode, renderLanes);
|
|
4251
4251
|
current.ref = workInProgress.ref;
|
|
4252
4252
|
current.return = workInProgress;
|
|
@@ -4268,7 +4268,7 @@ function requireReactDomClient_production() {
|
|
|
4268
4268
|
function updateSimpleMemoComponent(current, workInProgress, Component, nextProps, renderLanes) {
|
|
4269
4269
|
if (null !== current) {
|
|
4270
4270
|
var prevProps = current.memoizedProps;
|
|
4271
|
-
if (shallowEqual(prevProps, nextProps) && current.ref === workInProgress.ref) if (didReceiveUpdate =
|
|
4271
|
+
if (shallowEqual(prevProps, nextProps) && current.ref === workInProgress.ref) if (didReceiveUpdate = false, workInProgress.pendingProps = nextProps = prevProps, checkScheduledUpdateOrContext(current, renderLanes)) 0 !== (current.flags & 131072) && (didReceiveUpdate = true);else return workInProgress.lanes = current.lanes, bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);
|
|
4272
4272
|
}
|
|
4273
4273
|
return updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes);
|
|
4274
4274
|
}
|
|
@@ -4309,7 +4309,7 @@ function requireReactDomClient_production() {
|
|
|
4309
4309
|
null !== current && pushTransition(workInProgress, null);
|
|
4310
4310
|
reuseHiddenContextOnStack();
|
|
4311
4311
|
pushOffscreenSuspenseHandler(workInProgress);
|
|
4312
|
-
null !== current && propagateParentContextChanges(current, workInProgress, renderLanes,
|
|
4312
|
+
null !== current && propagateParentContextChanges(current, workInProgress, renderLanes, true);
|
|
4313
4313
|
return null;
|
|
4314
4314
|
}
|
|
4315
4315
|
function markRef(current, workInProgress) {
|
|
@@ -4321,7 +4321,7 @@ function requireReactDomClient_production() {
|
|
|
4321
4321
|
}
|
|
4322
4322
|
function updateFunctionComponent(current, workInProgress, Component, nextProps, renderLanes) {
|
|
4323
4323
|
prepareToReadContext(workInProgress);
|
|
4324
|
-
Component = renderWithHooks(current, workInProgress, Component, nextProps,
|
|
4324
|
+
Component = renderWithHooks(current, workInProgress, Component, nextProps, undefined, renderLanes);
|
|
4325
4325
|
nextProps = checkDidRenderIdHook();
|
|
4326
4326
|
if (null !== current && !didReceiveUpdate) return bailoutHooks(current, workInProgress, renderLanes), bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);
|
|
4327
4327
|
isHydrating && nextProps && pushMaterializedTreeId(workInProgress);
|
|
@@ -4348,7 +4348,7 @@ function requireReactDomClient_production() {
|
|
|
4348
4348
|
contextType = Component.contextType;
|
|
4349
4349
|
"object" === typeof contextType && null !== contextType && (context = readContext(contextType));
|
|
4350
4350
|
context = new Component(nextProps, context);
|
|
4351
|
-
workInProgress.memoizedState = null !== context.state &&
|
|
4351
|
+
workInProgress.memoizedState = null !== context.state && undefined !== context.state ? context.state : null;
|
|
4352
4352
|
context.updater = classComponentUpdater;
|
|
4353
4353
|
workInProgress.stateNode = context;
|
|
4354
4354
|
context._reactInternals = workInProgress;
|
|
@@ -4364,7 +4364,7 @@ function requireReactDomClient_production() {
|
|
|
4364
4364
|
"function" === typeof contextType && (applyDerivedStateFromProps(workInProgress, Component, contextType, nextProps), context.state = workInProgress.memoizedState);
|
|
4365
4365
|
"function" === typeof Component.getDerivedStateFromProps || "function" === typeof context.getSnapshotBeforeUpdate || "function" !== typeof context.UNSAFE_componentWillMount && "function" !== typeof context.componentWillMount || (contextType = context.state, "function" === typeof context.componentWillMount && context.componentWillMount(), "function" === typeof context.UNSAFE_componentWillMount && context.UNSAFE_componentWillMount(), contextType !== context.state && classComponentUpdater.enqueueReplaceState(context, context.state, null), processUpdateQueue(workInProgress, nextProps, context, renderLanes), suspendIfUpdateReadFromEntangledAsyncAction(), context.state = workInProgress.memoizedState);
|
|
4366
4366
|
"function" === typeof context.componentDidMount && (workInProgress.flags |= 4194308);
|
|
4367
|
-
nextProps =
|
|
4367
|
+
nextProps = true;
|
|
4368
4368
|
} else if (null === current) {
|
|
4369
4369
|
context = workInProgress.stateNode;
|
|
4370
4370
|
var unresolvedOldProps = workInProgress.memoizedProps,
|
|
@@ -4378,13 +4378,13 @@ function requireReactDomClient_production() {
|
|
|
4378
4378
|
contextType$jscomp$0 = "function" === typeof getDerivedStateFromProps || "function" === typeof context.getSnapshotBeforeUpdate;
|
|
4379
4379
|
unresolvedOldProps = workInProgress.pendingProps !== unresolvedOldProps;
|
|
4380
4380
|
contextType$jscomp$0 || "function" !== typeof context.UNSAFE_componentWillReceiveProps && "function" !== typeof context.componentWillReceiveProps || (unresolvedOldProps || oldContext !== contextType) && callComponentWillReceiveProps(workInProgress, context, nextProps, contextType);
|
|
4381
|
-
hasForceUpdate =
|
|
4381
|
+
hasForceUpdate = false;
|
|
4382
4382
|
var oldState = workInProgress.memoizedState;
|
|
4383
4383
|
context.state = oldState;
|
|
4384
4384
|
processUpdateQueue(workInProgress, nextProps, context, renderLanes);
|
|
4385
4385
|
suspendIfUpdateReadFromEntangledAsyncAction();
|
|
4386
4386
|
oldContext = workInProgress.memoizedState;
|
|
4387
|
-
unresolvedOldProps || oldState !== oldContext || hasForceUpdate ? ("function" === typeof getDerivedStateFromProps && (applyDerivedStateFromProps(workInProgress, Component, getDerivedStateFromProps, nextProps), oldContext = workInProgress.memoizedState), (oldProps = hasForceUpdate || checkShouldComponentUpdate(workInProgress, Component, oldProps, nextProps, oldState, oldContext, contextType)) ? (contextType$jscomp$0 || "function" !== typeof context.UNSAFE_componentWillMount && "function" !== typeof context.componentWillMount || ("function" === typeof context.componentWillMount && context.componentWillMount(), "function" === typeof context.UNSAFE_componentWillMount && context.UNSAFE_componentWillMount()), "function" === typeof context.componentDidMount && (workInProgress.flags |= 4194308)) : ("function" === typeof context.componentDidMount && (workInProgress.flags |= 4194308), workInProgress.memoizedProps = nextProps, workInProgress.memoizedState = oldContext), context.props = nextProps, context.state = oldContext, context.context = contextType, nextProps = oldProps) : ("function" === typeof context.componentDidMount && (workInProgress.flags |= 4194308), nextProps =
|
|
4387
|
+
unresolvedOldProps || oldState !== oldContext || hasForceUpdate ? ("function" === typeof getDerivedStateFromProps && (applyDerivedStateFromProps(workInProgress, Component, getDerivedStateFromProps, nextProps), oldContext = workInProgress.memoizedState), (oldProps = hasForceUpdate || checkShouldComponentUpdate(workInProgress, Component, oldProps, nextProps, oldState, oldContext, contextType)) ? (contextType$jscomp$0 || "function" !== typeof context.UNSAFE_componentWillMount && "function" !== typeof context.componentWillMount || ("function" === typeof context.componentWillMount && context.componentWillMount(), "function" === typeof context.UNSAFE_componentWillMount && context.UNSAFE_componentWillMount()), "function" === typeof context.componentDidMount && (workInProgress.flags |= 4194308)) : ("function" === typeof context.componentDidMount && (workInProgress.flags |= 4194308), workInProgress.memoizedProps = nextProps, workInProgress.memoizedState = oldContext), context.props = nextProps, context.state = oldContext, context.context = contextType, nextProps = oldProps) : ("function" === typeof context.componentDidMount && (workInProgress.flags |= 4194308), nextProps = false);
|
|
4388
4388
|
} else {
|
|
4389
4389
|
context = workInProgress.stateNode;
|
|
4390
4390
|
cloneUpdateQueue(current, workInProgress);
|
|
@@ -4398,13 +4398,13 @@ function requireReactDomClient_production() {
|
|
|
4398
4398
|
"object" === typeof oldContext && null !== oldContext && (oldProps = readContext(oldContext));
|
|
4399
4399
|
unresolvedOldProps = Component.getDerivedStateFromProps;
|
|
4400
4400
|
(oldContext = "function" === typeof unresolvedOldProps || "function" === typeof context.getSnapshotBeforeUpdate) || "function" !== typeof context.UNSAFE_componentWillReceiveProps && "function" !== typeof context.componentWillReceiveProps || (contextType !== getDerivedStateFromProps || oldState !== oldProps) && callComponentWillReceiveProps(workInProgress, context, nextProps, oldProps);
|
|
4401
|
-
hasForceUpdate =
|
|
4401
|
+
hasForceUpdate = false;
|
|
4402
4402
|
oldState = workInProgress.memoizedState;
|
|
4403
4403
|
context.state = oldState;
|
|
4404
4404
|
processUpdateQueue(workInProgress, nextProps, context, renderLanes);
|
|
4405
4405
|
suspendIfUpdateReadFromEntangledAsyncAction();
|
|
4406
4406
|
var newState = workInProgress.memoizedState;
|
|
4407
|
-
contextType !== getDerivedStateFromProps || oldState !== newState || hasForceUpdate || null !== current && null !== current.dependencies && checkIfContextChanged(current.dependencies) ? ("function" === typeof unresolvedOldProps && (applyDerivedStateFromProps(workInProgress, Component, unresolvedOldProps, nextProps), newState = workInProgress.memoizedState), (contextType$jscomp$0 = hasForceUpdate || checkShouldComponentUpdate(workInProgress, Component, contextType$jscomp$0, nextProps, oldState, newState, oldProps) || null !== current && null !== current.dependencies && checkIfContextChanged(current.dependencies)) ? (oldContext || "function" !== typeof context.UNSAFE_componentWillUpdate && "function" !== typeof context.componentWillUpdate || ("function" === typeof context.componentWillUpdate && context.componentWillUpdate(nextProps, newState, oldProps), "function" === typeof context.UNSAFE_componentWillUpdate && context.UNSAFE_componentWillUpdate(nextProps, newState, oldProps)), "function" === typeof context.componentDidUpdate && (workInProgress.flags |= 4), "function" === typeof context.getSnapshotBeforeUpdate && (workInProgress.flags |= 1024)) : ("function" !== typeof context.componentDidUpdate || contextType === current.memoizedProps && oldState === current.memoizedState || (workInProgress.flags |= 4), "function" !== typeof context.getSnapshotBeforeUpdate || contextType === current.memoizedProps && oldState === current.memoizedState || (workInProgress.flags |= 1024), workInProgress.memoizedProps = nextProps, workInProgress.memoizedState = newState), context.props = nextProps, context.state = newState, context.context = oldProps, nextProps = contextType$jscomp$0) : ("function" !== typeof context.componentDidUpdate || contextType === current.memoizedProps && oldState === current.memoizedState || (workInProgress.flags |= 4), "function" !== typeof context.getSnapshotBeforeUpdate || contextType === current.memoizedProps && oldState === current.memoizedState || (workInProgress.flags |= 1024), nextProps =
|
|
4407
|
+
contextType !== getDerivedStateFromProps || oldState !== newState || hasForceUpdate || null !== current && null !== current.dependencies && checkIfContextChanged(current.dependencies) ? ("function" === typeof unresolvedOldProps && (applyDerivedStateFromProps(workInProgress, Component, unresolvedOldProps, nextProps), newState = workInProgress.memoizedState), (contextType$jscomp$0 = hasForceUpdate || checkShouldComponentUpdate(workInProgress, Component, contextType$jscomp$0, nextProps, oldState, newState, oldProps) || null !== current && null !== current.dependencies && checkIfContextChanged(current.dependencies)) ? (oldContext || "function" !== typeof context.UNSAFE_componentWillUpdate && "function" !== typeof context.componentWillUpdate || ("function" === typeof context.componentWillUpdate && context.componentWillUpdate(nextProps, newState, oldProps), "function" === typeof context.UNSAFE_componentWillUpdate && context.UNSAFE_componentWillUpdate(nextProps, newState, oldProps)), "function" === typeof context.componentDidUpdate && (workInProgress.flags |= 4), "function" === typeof context.getSnapshotBeforeUpdate && (workInProgress.flags |= 1024)) : ("function" !== typeof context.componentDidUpdate || contextType === current.memoizedProps && oldState === current.memoizedState || (workInProgress.flags |= 4), "function" !== typeof context.getSnapshotBeforeUpdate || contextType === current.memoizedProps && oldState === current.memoizedState || (workInProgress.flags |= 1024), workInProgress.memoizedProps = nextProps, workInProgress.memoizedState = newState), context.props = nextProps, context.state = newState, context.context = oldProps, nextProps = contextType$jscomp$0) : ("function" !== typeof context.componentDidUpdate || contextType === current.memoizedProps && oldState === current.memoizedState || (workInProgress.flags |= 4), "function" !== typeof context.getSnapshotBeforeUpdate || contextType === current.memoizedProps && oldState === current.memoizedState || (workInProgress.flags |= 1024), nextProps = false);
|
|
4408
4408
|
}
|
|
4409
4409
|
context = nextProps;
|
|
4410
4410
|
markRef(current, workInProgress);
|
|
@@ -4436,11 +4436,11 @@ function requireReactDomClient_production() {
|
|
|
4436
4436
|
}
|
|
4437
4437
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
4438
4438
|
var nextProps = workInProgress.pendingProps,
|
|
4439
|
-
showFallback =
|
|
4439
|
+
showFallback = false,
|
|
4440
4440
|
didSuspend = 0 !== (workInProgress.flags & 128),
|
|
4441
4441
|
JSCompiler_temp;
|
|
4442
|
-
(JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ?
|
|
4443
|
-
JSCompiler_temp && (showFallback =
|
|
4442
|
+
(JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? false : 0 !== (suspenseStackCursor.current & 2));
|
|
4443
|
+
JSCompiler_temp && (showFallback = true, workInProgress.flags &= -129);
|
|
4444
4444
|
JSCompiler_temp = 0 !== (workInProgress.flags & 32);
|
|
4445
4445
|
workInProgress.flags &= -33;
|
|
4446
4446
|
if (null === current) {
|
|
@@ -4472,7 +4472,7 @@ function requireReactDomClient_production() {
|
|
|
4472
4472
|
overflow: treeContextOverflow
|
|
4473
4473
|
} : null,
|
|
4474
4474
|
retryLane: 536870912
|
|
4475
|
-
}, JSCompiler_temp$jscomp$0 = createFiberImplClass(18, null, null, 0), JSCompiler_temp$jscomp$0.stateNode = nextInstance, JSCompiler_temp$jscomp$0.return = workInProgress, workInProgress.child = JSCompiler_temp$jscomp$0, hydrationParentFiber = workInProgress, nextHydratableInstance = null, JSCompiler_temp$jscomp$0 =
|
|
4475
|
+
}, JSCompiler_temp$jscomp$0 = createFiberImplClass(18, null, null, 0), JSCompiler_temp$jscomp$0.stateNode = nextInstance, JSCompiler_temp$jscomp$0.return = workInProgress, workInProgress.child = JSCompiler_temp$jscomp$0, hydrationParentFiber = workInProgress, nextHydratableInstance = null, JSCompiler_temp$jscomp$0 = true) : JSCompiler_temp$jscomp$0 = false;
|
|
4476
4476
|
}
|
|
4477
4477
|
JSCompiler_temp$jscomp$0 || throwOnHydrationMismatch(workInProgress);
|
|
4478
4478
|
}
|
|
@@ -4507,7 +4507,7 @@ function requireReactDomClient_production() {
|
|
|
4507
4507
|
stack: null
|
|
4508
4508
|
});
|
|
4509
4509
|
workInProgress = retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes);
|
|
4510
|
-
} else if (didReceiveUpdate || propagateParentContextChanges(current, workInProgress, renderLanes,
|
|
4510
|
+
} else if (didReceiveUpdate || propagateParentContextChanges(current, workInProgress, renderLanes, false), JSCompiler_temp = 0 !== (renderLanes & current.childLanes), didReceiveUpdate || JSCompiler_temp) {
|
|
4511
4511
|
JSCompiler_temp = workInProgressRoot;
|
|
4512
4512
|
if (null !== JSCompiler_temp) {
|
|
4513
4513
|
nextProps = renderLanes & -renderLanes;
|
|
@@ -4553,7 +4553,7 @@ function requireReactDomClient_production() {
|
|
|
4553
4553
|
}
|
|
4554
4554
|
"$?" === nextInstance.data || renderDidSuspendDelayIfPossible();
|
|
4555
4555
|
workInProgress = retrySuspenseComponentWithoutHydrating(current, workInProgress, renderLanes);
|
|
4556
|
-
} else "$?" === nextInstance.data ? (workInProgress.flags |= 128, workInProgress.child = current.child, workInProgress = retryDehydratedSuspenseBoundary.bind(null, current), nextInstance._reactRetry = workInProgress, workInProgress = null) : (current = JSCompiler_temp$jscomp$0.treeContext, nextHydratableInstance = getNextHydratable(nextInstance.nextSibling), hydrationParentFiber = workInProgress, isHydrating =
|
|
4556
|
+
} else "$?" === nextInstance.data ? (workInProgress.flags |= 128, workInProgress.child = current.child, workInProgress = retryDehydratedSuspenseBoundary.bind(null, current), nextInstance._reactRetry = workInProgress, workInProgress = null) : (current = JSCompiler_temp$jscomp$0.treeContext, nextHydratableInstance = getNextHydratable(nextInstance.nextSibling), hydrationParentFiber = workInProgress, isHydrating = true, hydrationErrors = null, rootOrSingletonContext = false, null !== current && (idStack[idStackIndex++] = treeContextId, idStack[idStackIndex++] = treeContextOverflow, idStack[idStackIndex++] = treeContextProvider, treeContextId = current.id, treeContextOverflow = current.overflow, treeContextProvider = workInProgress), workInProgress = mountSuspensePrimaryChildren(workInProgress, nextProps.children), workInProgress.flags |= 4096);
|
|
4557
4557
|
return workInProgress;
|
|
4558
4558
|
}
|
|
4559
4559
|
if (showFallback) return reuseSuspenseHandlerOnStack(), showFallback = nextProps.fallback, nextInstance = workInProgress.mode, JSCompiler_temp$jscomp$0 = current.child, digest = JSCompiler_temp$jscomp$0.sibling, nextProps = createWorkInProgress(JSCompiler_temp$jscomp$0, {
|
|
@@ -4645,7 +4645,7 @@ function requireReactDomClient_production() {
|
|
|
4645
4645
|
for (revealOrder = null; null !== renderLanes;) current = renderLanes.alternate, null !== current && null === findFirstSuspended(current) && (revealOrder = renderLanes), renderLanes = renderLanes.sibling;
|
|
4646
4646
|
renderLanes = revealOrder;
|
|
4647
4647
|
null === renderLanes ? (revealOrder = workInProgress.child, workInProgress.child = null) : (revealOrder = renderLanes.sibling, renderLanes.sibling = null);
|
|
4648
|
-
initSuspenseListRenderState(workInProgress,
|
|
4648
|
+
initSuspenseListRenderState(workInProgress, false, revealOrder, renderLanes, tailMode);
|
|
4649
4649
|
break;
|
|
4650
4650
|
case "backwards":
|
|
4651
4651
|
renderLanes = null;
|
|
@@ -4661,10 +4661,10 @@ function requireReactDomClient_production() {
|
|
|
4661
4661
|
renderLanes = revealOrder;
|
|
4662
4662
|
revealOrder = current;
|
|
4663
4663
|
}
|
|
4664
|
-
initSuspenseListRenderState(workInProgress,
|
|
4664
|
+
initSuspenseListRenderState(workInProgress, true, renderLanes, null, tailMode);
|
|
4665
4665
|
break;
|
|
4666
4666
|
case "together":
|
|
4667
|
-
initSuspenseListRenderState(workInProgress,
|
|
4667
|
+
initSuspenseListRenderState(workInProgress, false, null, null, undefined);
|
|
4668
4668
|
break;
|
|
4669
4669
|
default:
|
|
4670
4670
|
workInProgress.memoizedState = null;
|
|
@@ -4675,7 +4675,7 @@ function requireReactDomClient_production() {
|
|
|
4675
4675
|
null !== current && (workInProgress.dependencies = current.dependencies);
|
|
4676
4676
|
workInProgressRootSkippedLanes |= workInProgress.lanes;
|
|
4677
4677
|
if (0 === (renderLanes & workInProgress.childLanes)) if (null !== current) {
|
|
4678
|
-
if (propagateParentContextChanges(current, workInProgress, renderLanes,
|
|
4678
|
+
if (propagateParentContextChanges(current, workInProgress, renderLanes, false), 0 === (renderLanes & workInProgress.childLanes)) return null;
|
|
4679
4679
|
} else return null;
|
|
4680
4680
|
if (null !== current && workInProgress.child !== current.child) throw Error(formatProdErrorMessage(153));
|
|
4681
4681
|
if (null !== workInProgress.child) {
|
|
@@ -4688,9 +4688,9 @@ function requireReactDomClient_production() {
|
|
|
4688
4688
|
return workInProgress.child;
|
|
4689
4689
|
}
|
|
4690
4690
|
function checkScheduledUpdateOrContext(current, renderLanes) {
|
|
4691
|
-
if (0 !== (current.lanes & renderLanes)) return
|
|
4691
|
+
if (0 !== (current.lanes & renderLanes)) return true;
|
|
4692
4692
|
current = current.dependencies;
|
|
4693
|
-
return null !== current && checkIfContextChanged(current) ?
|
|
4693
|
+
return null !== current && checkIfContextChanged(current) ? true : false;
|
|
4694
4694
|
}
|
|
4695
4695
|
function attemptEarlyBailoutIfNoScheduledUpdate(current, workInProgress, renderLanes) {
|
|
4696
4696
|
switch (workInProgress.tag) {
|
|
@@ -4723,7 +4723,7 @@ function requireReactDomClient_production() {
|
|
|
4723
4723
|
case 19:
|
|
4724
4724
|
var didSuspendBefore = 0 !== (current.flags & 128);
|
|
4725
4725
|
state = 0 !== (renderLanes & workInProgress.childLanes);
|
|
4726
|
-
state || (propagateParentContextChanges(current, workInProgress, renderLanes,
|
|
4726
|
+
state || (propagateParentContextChanges(current, workInProgress, renderLanes, false), state = 0 !== (renderLanes & workInProgress.childLanes));
|
|
4727
4727
|
if (didSuspendBefore) {
|
|
4728
4728
|
if (state) return updateSuspenseListComponent(current, workInProgress, renderLanes);
|
|
4729
4729
|
workInProgress.flags |= 128;
|
|
@@ -4742,11 +4742,11 @@ function requireReactDomClient_production() {
|
|
|
4742
4742
|
}
|
|
4743
4743
|
function beginWork(current, workInProgress, renderLanes) {
|
|
4744
4744
|
if (null !== current) {
|
|
4745
|
-
if (current.memoizedProps !== workInProgress.pendingProps) didReceiveUpdate =
|
|
4746
|
-
if (!checkScheduledUpdateOrContext(current, renderLanes) && 0 === (workInProgress.flags & 128)) return didReceiveUpdate =
|
|
4747
|
-
didReceiveUpdate = 0 !== (current.flags & 131072) ?
|
|
4745
|
+
if (current.memoizedProps !== workInProgress.pendingProps) didReceiveUpdate = true;else {
|
|
4746
|
+
if (!checkScheduledUpdateOrContext(current, renderLanes) && 0 === (workInProgress.flags & 128)) return didReceiveUpdate = false, attemptEarlyBailoutIfNoScheduledUpdate(current, workInProgress, renderLanes);
|
|
4747
|
+
didReceiveUpdate = 0 !== (current.flags & 131072) ? true : false;
|
|
4748
4748
|
}
|
|
4749
|
-
} else didReceiveUpdate =
|
|
4749
|
+
} else didReceiveUpdate = false, isHydrating && 0 !== (workInProgress.flags & 1048576) && pushTreeId(workInProgress, treeForkCount, workInProgress.index);
|
|
4750
4750
|
workInProgress.lanes = 0;
|
|
4751
4751
|
switch (workInProgress.tag) {
|
|
4752
4752
|
case 16:
|
|
@@ -4757,7 +4757,7 @@ function requireReactDomClient_production() {
|
|
|
4757
4757
|
lazyComponent = init(lazyComponent._payload);
|
|
4758
4758
|
workInProgress.type = lazyComponent;
|
|
4759
4759
|
if ("function" === typeof lazyComponent) shouldConstruct(lazyComponent) ? (current = resolveClassComponentProps(lazyComponent, current), workInProgress.tag = 1, workInProgress = updateClassComponent(null, workInProgress, lazyComponent, current, renderLanes)) : (workInProgress.tag = 0, workInProgress = updateFunctionComponent(null, workInProgress, lazyComponent, current, renderLanes));else {
|
|
4760
|
-
if (
|
|
4760
|
+
if (undefined !== lazyComponent && null !== lazyComponent) if (init = lazyComponent.$$typeof, init === REACT_FORWARD_REF_TYPE) {
|
|
4761
4761
|
workInProgress.tag = 11;
|
|
4762
4762
|
workInProgress = updateForwardRef(null, workInProgress, lazyComponent, current, renderLanes);
|
|
4763
4763
|
break a;
|
|
@@ -4787,13 +4787,13 @@ function requireReactDomClient_production() {
|
|
|
4787
4787
|
var nextState = workInProgress.memoizedState;
|
|
4788
4788
|
nextProps = nextState.cache;
|
|
4789
4789
|
pushProvider(workInProgress, CacheContext, nextProps);
|
|
4790
|
-
nextProps !== init.cache && propagateContextChanges(workInProgress, [CacheContext], renderLanes,
|
|
4790
|
+
nextProps !== init.cache && propagateContextChanges(workInProgress, [CacheContext], renderLanes, true);
|
|
4791
4791
|
suspendIfUpdateReadFromEntangledAsyncAction();
|
|
4792
4792
|
nextProps = nextState.element;
|
|
4793
4793
|
if (init.isDehydrated) {
|
|
4794
4794
|
if (init = {
|
|
4795
4795
|
element: nextProps,
|
|
4796
|
-
isDehydrated:
|
|
4796
|
+
isDehydrated: false,
|
|
4797
4797
|
cache: nextState.cache
|
|
4798
4798
|
}, workInProgress.updateQueue.baseState = init, workInProgress.memoizedState = init, workInProgress.flags & 256) {
|
|
4799
4799
|
workInProgress = mountHostRootWithoutHydrating(current, workInProgress, nextProps, renderLanes);
|
|
@@ -4803,7 +4803,7 @@ function requireReactDomClient_production() {
|
|
|
4803
4803
|
queueHydrationError(lazyComponent);
|
|
4804
4804
|
workInProgress = mountHostRootWithoutHydrating(current, workInProgress, nextProps, renderLanes);
|
|
4805
4805
|
break a;
|
|
4806
|
-
} else for (nextHydratableInstance = getNextHydratable(workInProgress.stateNode.containerInfo.firstChild), hydrationParentFiber = workInProgress, isHydrating =
|
|
4806
|
+
} else for (nextHydratableInstance = getNextHydratable(workInProgress.stateNode.containerInfo.firstChild), hydrationParentFiber = workInProgress, isHydrating = true, hydrationErrors = null, rootOrSingletonContext = true, renderLanes = mountChildFibers(workInProgress, null, nextProps, renderLanes), workInProgress.child = renderLanes; renderLanes;) renderLanes.flags = renderLanes.flags & -3 | 4096, renderLanes = renderLanes.sibling;
|
|
4807
4807
|
} else {
|
|
4808
4808
|
resetHydrationState();
|
|
4809
4809
|
if (nextProps === lazyComponent) {
|
|
@@ -4818,10 +4818,10 @@ function requireReactDomClient_production() {
|
|
|
4818
4818
|
case 26:
|
|
4819
4819
|
return markRef(current, workInProgress), null === current ? (renderLanes = getResource(workInProgress.type, null, workInProgress.pendingProps, null)) ? workInProgress.memoizedState = renderLanes : isHydrating || (renderLanes = workInProgress.type, current = workInProgress.pendingProps, lazyComponent = getOwnerDocumentFromRootContainer(rootInstanceStackCursor.current).createElement(renderLanes), lazyComponent[internalInstanceKey] = workInProgress, lazyComponent[internalPropsKey] = current, setInitialProperties(lazyComponent, renderLanes, current), markNodeAsHoistable(lazyComponent), workInProgress.stateNode = lazyComponent) : workInProgress.memoizedState = getResource(workInProgress.type, current.memoizedProps, workInProgress.pendingProps, current.memoizedState), null;
|
|
4820
4820
|
case 27:
|
|
4821
|
-
return pushHostContext(workInProgress), null === current && isHydrating && (lazyComponent = workInProgress.stateNode = resolveSingletonInstance(workInProgress.type, workInProgress.pendingProps, rootInstanceStackCursor.current), hydrationParentFiber = workInProgress, rootOrSingletonContext =
|
|
4821
|
+
return pushHostContext(workInProgress), null === current && isHydrating && (lazyComponent = workInProgress.stateNode = resolveSingletonInstance(workInProgress.type, workInProgress.pendingProps, rootInstanceStackCursor.current), hydrationParentFiber = workInProgress, rootOrSingletonContext = true, nextHydratableInstance = getNextHydratable(lazyComponent.firstChild)), lazyComponent = workInProgress.pendingProps.children, null !== current || isHydrating ? reconcileChildren(current, workInProgress, lazyComponent, renderLanes) : workInProgress.child = reconcileChildFibers(workInProgress, null, lazyComponent, renderLanes), markRef(current, workInProgress), workInProgress.child;
|
|
4822
4822
|
case 5:
|
|
4823
4823
|
if (null === current && isHydrating) {
|
|
4824
|
-
if (init = lazyComponent = nextHydratableInstance) lazyComponent = canHydrateInstance(lazyComponent, workInProgress.type, workInProgress.pendingProps, rootOrSingletonContext), null !== lazyComponent ? (workInProgress.stateNode = lazyComponent, hydrationParentFiber = workInProgress, nextHydratableInstance = getNextHydratable(lazyComponent.firstChild), rootOrSingletonContext =
|
|
4824
|
+
if (init = lazyComponent = nextHydratableInstance) lazyComponent = canHydrateInstance(lazyComponent, workInProgress.type, workInProgress.pendingProps, rootOrSingletonContext), null !== lazyComponent ? (workInProgress.stateNode = lazyComponent, hydrationParentFiber = workInProgress, nextHydratableInstance = getNextHydratable(lazyComponent.firstChild), rootOrSingletonContext = false, init = true) : init = false;
|
|
4825
4825
|
init || throwOnHydrationMismatch(workInProgress);
|
|
4826
4826
|
}
|
|
4827
4827
|
pushHostContext(workInProgress);
|
|
@@ -4836,7 +4836,7 @@ function requireReactDomClient_production() {
|
|
|
4836
4836
|
return workInProgress.child;
|
|
4837
4837
|
case 6:
|
|
4838
4838
|
if (null === current && isHydrating) {
|
|
4839
|
-
if (current = renderLanes = nextHydratableInstance) renderLanes = canHydrateTextInstance(renderLanes, workInProgress.pendingProps, rootOrSingletonContext), null !== renderLanes ? (workInProgress.stateNode = renderLanes, hydrationParentFiber = workInProgress, nextHydratableInstance = null, current =
|
|
4839
|
+
if (current = renderLanes = nextHydratableInstance) renderLanes = canHydrateTextInstance(renderLanes, workInProgress.pendingProps, rootOrSingletonContext), null !== renderLanes ? (workInProgress.stateNode = renderLanes, hydrationParentFiber = workInProgress, nextHydratableInstance = null, current = true) : current = false;
|
|
4840
4840
|
current || throwOnHydrationMismatch(workInProgress);
|
|
4841
4841
|
}
|
|
4842
4842
|
return null;
|
|
@@ -4871,7 +4871,7 @@ function requireReactDomClient_production() {
|
|
|
4871
4871
|
}, initializeUpdateQueue(workInProgress), pushProvider(workInProgress, CacheContext, init)) : (0 !== (current.lanes & renderLanes) && (cloneUpdateQueue(current, workInProgress), processUpdateQueue(workInProgress, null, null, renderLanes), suspendIfUpdateReadFromEntangledAsyncAction()), init = current.memoizedState, nextProps = workInProgress.memoizedState, init.parent !== lazyComponent ? (init = {
|
|
4872
4872
|
parent: lazyComponent,
|
|
4873
4873
|
cache: lazyComponent
|
|
4874
|
-
}, workInProgress.memoizedState = init, 0 === workInProgress.lanes && (workInProgress.memoizedState = workInProgress.updateQueue.baseState = init), pushProvider(workInProgress, CacheContext, lazyComponent)) : (lazyComponent = nextProps.cache, pushProvider(workInProgress, CacheContext, lazyComponent), lazyComponent !== init.cache && propagateContextChanges(workInProgress, [CacheContext], renderLanes,
|
|
4874
|
+
}, workInProgress.memoizedState = init, 0 === workInProgress.lanes && (workInProgress.memoizedState = workInProgress.updateQueue.baseState = init), pushProvider(workInProgress, CacheContext, lazyComponent)) : (lazyComponent = nextProps.cache, pushProvider(workInProgress, CacheContext, lazyComponent), lazyComponent !== init.cache && propagateContextChanges(workInProgress, [CacheContext], renderLanes, true))), reconcileChildren(current, workInProgress, workInProgress.pendingProps.children, renderLanes), workInProgress.child;
|
|
4875
4875
|
case 29:
|
|
4876
4876
|
throw workInProgress.pendingProps;
|
|
4877
4877
|
}
|
|
@@ -4944,8 +4944,8 @@ function requireReactDomClient_production() {
|
|
|
4944
4944
|
}
|
|
4945
4945
|
function propagateParentContextChanges(current, workInProgress, renderLanes, forcePropagateEntireTree) {
|
|
4946
4946
|
current = null;
|
|
4947
|
-
for (var parent = workInProgress, isInsidePropagationBailout =
|
|
4948
|
-
if (!isInsidePropagationBailout) if (0 !== (parent.flags & 524288)) isInsidePropagationBailout =
|
|
4947
|
+
for (var parent = workInProgress, isInsidePropagationBailout = false; null !== parent;) {
|
|
4948
|
+
if (!isInsidePropagationBailout) if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = true;else if (0 !== (parent.flags & 262144)) break;
|
|
4949
4949
|
if (10 === parent.tag) {
|
|
4950
4950
|
var currentParent = parent.alternate;
|
|
4951
4951
|
if (null === currentParent) throw Error(formatProdErrorMessage(387));
|
|
@@ -4966,10 +4966,10 @@ function requireReactDomClient_production() {
|
|
|
4966
4966
|
}
|
|
4967
4967
|
function checkIfContextChanged(currentDependencies) {
|
|
4968
4968
|
for (currentDependencies = currentDependencies.firstContext; null !== currentDependencies;) {
|
|
4969
|
-
if (!objectIs(currentDependencies.context._currentValue, currentDependencies.memoizedValue)) return
|
|
4969
|
+
if (!objectIs(currentDependencies.context._currentValue, currentDependencies.memoizedValue)) return true;
|
|
4970
4970
|
currentDependencies = currentDependencies.next;
|
|
4971
4971
|
}
|
|
4972
|
-
return
|
|
4972
|
+
return false;
|
|
4973
4973
|
}
|
|
4974
4974
|
function prepareToReadContext(workInProgress) {
|
|
4975
4975
|
currentlyRenderingFiber = workInProgress;
|
|
@@ -5002,7 +5002,7 @@ function requireReactDomClient_production() {
|
|
|
5002
5002
|
} else lastContextDependency = lastContextDependency.next = context;
|
|
5003
5003
|
return value;
|
|
5004
5004
|
}
|
|
5005
|
-
var hasForceUpdate =
|
|
5005
|
+
var hasForceUpdate = false;
|
|
5006
5006
|
function initializeUpdateQueue(fiber) {
|
|
5007
5007
|
fiber.updateQueue = {
|
|
5008
5008
|
baseState: fiber.memoizedState,
|
|
@@ -5095,7 +5095,7 @@ function requireReactDomClient_production() {
|
|
|
5095
5095
|
null === workInProgress ? queue.firstBaseUpdate = capturedUpdate : workInProgress.next = capturedUpdate;
|
|
5096
5096
|
queue.lastBaseUpdate = capturedUpdate;
|
|
5097
5097
|
}
|
|
5098
|
-
var didReadFromEntangledAsyncAction =
|
|
5098
|
+
var didReadFromEntangledAsyncAction = false;
|
|
5099
5099
|
function suspendIfUpdateReadFromEntangledAsyncAction() {
|
|
5100
5100
|
if (didReadFromEntangledAsyncAction) {
|
|
5101
5101
|
var entangledActionThenable = currentEntangledActionThenable;
|
|
@@ -5103,9 +5103,9 @@ function requireReactDomClient_production() {
|
|
|
5103
5103
|
}
|
|
5104
5104
|
}
|
|
5105
5105
|
function processUpdateQueue(workInProgress$jscomp$0, props, instance$jscomp$0, renderLanes) {
|
|
5106
|
-
didReadFromEntangledAsyncAction =
|
|
5106
|
+
didReadFromEntangledAsyncAction = false;
|
|
5107
5107
|
var queue = workInProgress$jscomp$0.updateQueue;
|
|
5108
|
-
hasForceUpdate =
|
|
5108
|
+
hasForceUpdate = false;
|
|
5109
5109
|
var firstBaseUpdate = queue.firstBaseUpdate,
|
|
5110
5110
|
lastBaseUpdate = queue.lastBaseUpdate,
|
|
5111
5111
|
pendingQueue = queue.shared.pending;
|
|
@@ -5128,7 +5128,7 @@ function requireReactDomClient_production() {
|
|
|
5128
5128
|
var updateLane = pendingQueue.lane & -536870913,
|
|
5129
5129
|
isHiddenUpdate = updateLane !== pendingQueue.lane;
|
|
5130
5130
|
if (isHiddenUpdate ? (workInProgressRootRenderLanes & updateLane) === updateLane : (renderLanes & updateLane) === updateLane) {
|
|
5131
|
-
0 !== updateLane && updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction =
|
|
5131
|
+
0 !== updateLane && updateLane === currentEntangledLane && (didReadFromEntangledAsyncAction = true);
|
|
5132
5132
|
null !== current && (current = current.next = {
|
|
5133
5133
|
lane: 0,
|
|
5134
5134
|
tag: pendingQueue.tag,
|
|
@@ -5155,11 +5155,11 @@ function requireReactDomClient_production() {
|
|
|
5155
5155
|
case 0:
|
|
5156
5156
|
workInProgress = update.payload;
|
|
5157
5157
|
updateLane = "function" === typeof workInProgress ? workInProgress.call(instance, newState, updateLane) : workInProgress;
|
|
5158
|
-
if (null === updateLane ||
|
|
5158
|
+
if (null === updateLane || undefined === updateLane) break a;
|
|
5159
5159
|
newState = assign({}, newState, updateLane);
|
|
5160
5160
|
break a;
|
|
5161
5161
|
case 2:
|
|
5162
|
-
hasForceUpdate =
|
|
5162
|
+
hasForceUpdate = true;
|
|
5163
5163
|
}
|
|
5164
5164
|
}
|
|
5165
5165
|
updateLane = pendingQueue.callback;
|
|
@@ -5345,18 +5345,18 @@ function requireReactDomClient_production() {
|
|
|
5345
5345
|
}
|
|
5346
5346
|
function insertOrAppendPlacementNodeIntoContainer(node, before, parent) {
|
|
5347
5347
|
var tag = node.tag;
|
|
5348
|
-
if (5 === tag || 6 === tag) node = node.stateNode, before ? 8 === parent.nodeType ? parent.parentNode.insertBefore(node, before) : parent.insertBefore(node, before) : (8 === parent.nodeType ? (before = parent.parentNode, before.insertBefore(node, parent)) : (before = parent, before.appendChild(node)), parent = parent._reactRootContainer, null !== parent &&
|
|
5348
|
+
if (5 === tag || 6 === tag) node = node.stateNode, before ? 8 === parent.nodeType ? parent.parentNode.insertBefore(node, before) : parent.insertBefore(node, before) : (8 === parent.nodeType ? (before = parent.parentNode, before.insertBefore(node, parent)) : (before = parent, before.appendChild(node)), parent = parent._reactRootContainer, null !== parent && undefined !== parent || null !== before.onclick || (before.onclick = noop$1));else if (4 !== tag && 27 !== tag && (node = node.child, null !== node)) for (insertOrAppendPlacementNodeIntoContainer(node, before, parent), node = node.sibling; null !== node;) insertOrAppendPlacementNodeIntoContainer(node, before, parent), node = node.sibling;
|
|
5349
5349
|
}
|
|
5350
5350
|
function insertOrAppendPlacementNode(node, before, parent) {
|
|
5351
5351
|
var tag = node.tag;
|
|
5352
5352
|
if (5 === tag || 6 === tag) node = node.stateNode, before ? parent.insertBefore(node, before) : parent.appendChild(node);else if (4 !== tag && 27 !== tag && (node = node.child, null !== node)) for (insertOrAppendPlacementNode(node, before, parent), node = node.sibling; null !== node;) insertOrAppendPlacementNode(node, before, parent), node = node.sibling;
|
|
5353
5353
|
}
|
|
5354
|
-
var offscreenSubtreeIsHidden =
|
|
5355
|
-
offscreenSubtreeWasHidden =
|
|
5356
|
-
needsFormReset =
|
|
5354
|
+
var offscreenSubtreeIsHidden = false,
|
|
5355
|
+
offscreenSubtreeWasHidden = false,
|
|
5356
|
+
needsFormReset = false,
|
|
5357
5357
|
PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set,
|
|
5358
5358
|
nextEffect = null,
|
|
5359
|
-
shouldFireAfterActiveInstanceBlur =
|
|
5359
|
+
shouldFireAfterActiveInstanceBlur = false;
|
|
5360
5360
|
function commitBeforeMutationEffects(root, firstChild) {
|
|
5361
5361
|
root = root.containerInfo;
|
|
5362
5362
|
eventsEnabled = _enabled;
|
|
@@ -5420,7 +5420,7 @@ function requireReactDomClient_production() {
|
|
|
5420
5420
|
focusedElem: root,
|
|
5421
5421
|
selectionRange: JSCompiler_temp
|
|
5422
5422
|
};
|
|
5423
|
-
_enabled =
|
|
5423
|
+
_enabled = false;
|
|
5424
5424
|
for (nextEffect = firstChild; null !== nextEffect;) if (firstChild = nextEffect, root = firstChild.child, 0 !== (firstChild.subtreeFlags & 1028) && null !== root) root.return = firstChild, nextEffect = root;else for (; null !== nextEffect;) {
|
|
5425
5425
|
firstChild = nextEffect;
|
|
5426
5426
|
focusNode = firstChild.alternate;
|
|
@@ -5433,7 +5433,7 @@ function requireReactDomClient_production() {
|
|
|
5433
5433
|
break;
|
|
5434
5434
|
case 1:
|
|
5435
5435
|
if (0 !== (root & 1024) && null !== focusNode) {
|
|
5436
|
-
root =
|
|
5436
|
+
root = undefined;
|
|
5437
5437
|
JSCompiler_temp = firstChild;
|
|
5438
5438
|
anchorOffset = focusNode.memoizedProps;
|
|
5439
5439
|
focusNode = focusNode.memoizedState;
|
|
@@ -5477,7 +5477,7 @@ function requireReactDomClient_production() {
|
|
|
5477
5477
|
nextEffect = firstChild.return;
|
|
5478
5478
|
}
|
|
5479
5479
|
resolvedPrevProps = shouldFireAfterActiveInstanceBlur;
|
|
5480
|
-
shouldFireAfterActiveInstanceBlur =
|
|
5480
|
+
shouldFireAfterActiveInstanceBlur = false;
|
|
5481
5481
|
return resolvedPrevProps;
|
|
5482
5482
|
}
|
|
5483
5483
|
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
|
@@ -5577,7 +5577,7 @@ function requireReactDomClient_production() {
|
|
|
5577
5577
|
fiber.updateQueue = null;
|
|
5578
5578
|
}
|
|
5579
5579
|
var hostParent = null,
|
|
5580
|
-
hostParentIsContainer =
|
|
5580
|
+
hostParentIsContainer = false;
|
|
5581
5581
|
function recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, parent) {
|
|
5582
5582
|
for (parent = parent.child; null !== parent;) commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, parent), parent = parent.sibling;
|
|
5583
5583
|
}
|
|
@@ -5629,7 +5629,7 @@ function requireReactDomClient_production() {
|
|
|
5629
5629
|
prevHostParent = hostParent;
|
|
5630
5630
|
prevHostParentIsContainer = hostParentIsContainer;
|
|
5631
5631
|
hostParent = deletedFiber.stateNode.containerInfo;
|
|
5632
|
-
hostParentIsContainer =
|
|
5632
|
+
hostParentIsContainer = true;
|
|
5633
5633
|
recursivelyTraverseDeletionEffects(finishedRoot, nearestMountedAncestor, deletedFiber);
|
|
5634
5634
|
hostParent = prevHostParent;
|
|
5635
5635
|
hostParentIsContainer = prevHostParentIsContainer;
|
|
@@ -5698,15 +5698,15 @@ function requireReactDomClient_production() {
|
|
|
5698
5698
|
case 27:
|
|
5699
5699
|
case 5:
|
|
5700
5700
|
hostParent = parent.stateNode;
|
|
5701
|
-
hostParentIsContainer =
|
|
5701
|
+
hostParentIsContainer = false;
|
|
5702
5702
|
break a;
|
|
5703
5703
|
case 3:
|
|
5704
5704
|
hostParent = parent.stateNode.containerInfo;
|
|
5705
|
-
hostParentIsContainer =
|
|
5705
|
+
hostParentIsContainer = true;
|
|
5706
5706
|
break a;
|
|
5707
5707
|
case 4:
|
|
5708
5708
|
hostParent = parent.stateNode.containerInfo;
|
|
5709
|
-
hostParentIsContainer =
|
|
5709
|
+
hostParentIsContainer = true;
|
|
5710
5710
|
break a;
|
|
5711
5711
|
}
|
|
5712
5712
|
parent = parent.return;
|
|
@@ -5714,7 +5714,7 @@ function requireReactDomClient_production() {
|
|
|
5714
5714
|
if (null === hostParent) throw Error(formatProdErrorMessage(160));
|
|
5715
5715
|
commitDeletionEffectsOnFiber(root, returnFiber, childToDelete);
|
|
5716
5716
|
hostParent = null;
|
|
5717
|
-
hostParentIsContainer =
|
|
5717
|
+
hostParentIsContainer = false;
|
|
5718
5718
|
root = childToDelete.alternate;
|
|
5719
5719
|
null !== root && (root.return = null);
|
|
5720
5720
|
childToDelete.return = null;
|
|
@@ -5828,7 +5828,7 @@ function requireReactDomClient_production() {
|
|
|
5828
5828
|
}
|
|
5829
5829
|
}
|
|
5830
5830
|
flags & 4 && null != finishedWork.stateNode && (hoistableRoot = finishedWork.memoizedProps, commitHostUpdate(finishedWork, hoistableRoot, null !== current ? current.memoizedProps : hoistableRoot));
|
|
5831
|
-
flags & 1024 && (needsFormReset =
|
|
5831
|
+
flags & 1024 && (needsFormReset = true);
|
|
5832
5832
|
break;
|
|
5833
5833
|
case 6:
|
|
5834
5834
|
recursivelyTraverseMutationEffects(root, finishedWork);
|
|
@@ -5856,7 +5856,7 @@ function requireReactDomClient_production() {
|
|
|
5856
5856
|
} catch (error) {
|
|
5857
5857
|
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
|
5858
5858
|
}
|
|
5859
|
-
needsFormReset && (needsFormReset =
|
|
5859
|
+
needsFormReset && (needsFormReset = false, recursivelyResetForms(finishedWork));
|
|
5860
5860
|
break;
|
|
5861
5861
|
case 4:
|
|
5862
5862
|
flags = currentHoistableRoot;
|
|
@@ -6603,7 +6603,7 @@ function requireReactDomClient_production() {
|
|
|
6603
6603
|
current = "string" === typeof newProps.is ? type.createElement("select", {
|
|
6604
6604
|
is: newProps.is
|
|
6605
6605
|
}) : type.createElement("select");
|
|
6606
|
-
newProps.multiple ? current.multiple =
|
|
6606
|
+
newProps.multiple ? current.multiple = true : newProps.size && (current.size = newProps.size);
|
|
6607
6607
|
break;
|
|
6608
6608
|
default:
|
|
6609
6609
|
current = "string" === typeof newProps.is ? type.createElement(renderLanes, {
|
|
@@ -6636,10 +6636,10 @@ function requireReactDomClient_production() {
|
|
|
6636
6636
|
current = !!newProps.autoFocus;
|
|
6637
6637
|
break a;
|
|
6638
6638
|
case "img":
|
|
6639
|
-
current =
|
|
6639
|
+
current = true;
|
|
6640
6640
|
break a;
|
|
6641
6641
|
default:
|
|
6642
|
-
current =
|
|
6642
|
+
current = false;
|
|
6643
6643
|
}
|
|
6644
6644
|
current && markUpdate(workInProgress);
|
|
6645
6645
|
}
|
|
@@ -6662,7 +6662,7 @@ function requireReactDomClient_production() {
|
|
|
6662
6662
|
newProps = type.memoizedProps;
|
|
6663
6663
|
}
|
|
6664
6664
|
current[internalInstanceKey] = workInProgress;
|
|
6665
|
-
current = current.nodeValue === renderLanes || null !== newProps &&
|
|
6665
|
+
current = current.nodeValue === renderLanes || null !== newProps && true === newProps.suppressHydrationWarning || checkForUnmatchedText(current.nodeValue, renderLanes) ? true : false;
|
|
6666
6666
|
current || throwOnHydrationMismatch(workInProgress);
|
|
6667
6667
|
} else current = getOwnerDocumentFromRootContainer(current).createTextNode(newProps), current[internalInstanceKey] = workInProgress, workInProgress.stateNode = current;
|
|
6668
6668
|
}
|
|
@@ -6681,8 +6681,8 @@ function requireReactDomClient_production() {
|
|
|
6681
6681
|
type[internalInstanceKey] = workInProgress;
|
|
6682
6682
|
} else resetHydrationState(), 0 === (workInProgress.flags & 128) && (workInProgress.memoizedState = null), workInProgress.flags |= 4;
|
|
6683
6683
|
bubbleProperties(workInProgress);
|
|
6684
|
-
type =
|
|
6685
|
-
} else null !== hydrationErrors && (queueRecoverableErrors(hydrationErrors), hydrationErrors = null), type =
|
|
6684
|
+
type = false;
|
|
6685
|
+
} else null !== hydrationErrors && (queueRecoverableErrors(hydrationErrors), hydrationErrors = null), type = true;
|
|
6686
6686
|
if (!type) {
|
|
6687
6687
|
if (workInProgress.flags & 256) return popSuspenseHandler(workInProgress), workInProgress;
|
|
6688
6688
|
popSuspenseHandler(workInProgress);
|
|
@@ -6716,12 +6716,12 @@ function requireReactDomClient_production() {
|
|
|
6716
6716
|
newProps = 0 !== (workInProgress.flags & 128);
|
|
6717
6717
|
cache$144 = type.rendering;
|
|
6718
6718
|
if (null === cache$144) {
|
|
6719
|
-
if (newProps) cutOffTailIfNeeded(type,
|
|
6719
|
+
if (newProps) cutOffTailIfNeeded(type, false);else {
|
|
6720
6720
|
if (0 !== workInProgressRootExitStatus || null !== current && 0 !== (current.flags & 128)) for (current = workInProgress.child; null !== current;) {
|
|
6721
6721
|
cache$144 = findFirstSuspended(current);
|
|
6722
6722
|
if (null !== cache$144) {
|
|
6723
6723
|
workInProgress.flags |= 128;
|
|
6724
|
-
cutOffTailIfNeeded(type,
|
|
6724
|
+
cutOffTailIfNeeded(type, false);
|
|
6725
6725
|
current = cache$144.updateQueue;
|
|
6726
6726
|
workInProgress.updateQueue = current;
|
|
6727
6727
|
scheduleRetryEffect(workInProgress, current);
|
|
@@ -6733,12 +6733,12 @@ function requireReactDomClient_production() {
|
|
|
6733
6733
|
}
|
|
6734
6734
|
current = current.sibling;
|
|
6735
6735
|
}
|
|
6736
|
-
null !== type.tail && now() > workInProgressRootRenderTargetTime && (workInProgress.flags |= 128, newProps =
|
|
6736
|
+
null !== type.tail && now() > workInProgressRootRenderTargetTime && (workInProgress.flags |= 128, newProps = true, cutOffTailIfNeeded(type, false), workInProgress.lanes = 4194304);
|
|
6737
6737
|
}
|
|
6738
6738
|
} else {
|
|
6739
6739
|
if (!newProps) if (current = findFirstSuspended(cache$144), null !== current) {
|
|
6740
|
-
if (workInProgress.flags |= 128, newProps =
|
|
6741
|
-
} else 2 * now() - type.renderingStartTime > workInProgressRootRenderTargetTime && 536870912 !== renderLanes && (workInProgress.flags |= 128, newProps =
|
|
6740
|
+
if (workInProgress.flags |= 128, newProps = true, current = current.updateQueue, workInProgress.updateQueue = current, scheduleRetryEffect(workInProgress, current), cutOffTailIfNeeded(type, true), null === type.tail && "hidden" === type.tailMode && !cache$144.alternate && !isHydrating) return bubbleProperties(workInProgress), null;
|
|
6741
|
+
} else 2 * now() - type.renderingStartTime > workInProgressRootRenderTargetTime && 536870912 !== renderLanes && (workInProgress.flags |= 128, newProps = true, cutOffTailIfNeeded(type, false), workInProgress.lanes = 4194304);
|
|
6742
6742
|
type.isBackwards ? (cache$144.sibling = workInProgress.child, workInProgress.child = cache$144) : (current = type.last, null !== current ? current.sibling = cache$144 : workInProgress.child = cache$144, type.last = cache$144);
|
|
6743
6743
|
}
|
|
6744
6744
|
if (null !== type.tail) return workInProgress = type.tail, type.rendering = workInProgress, type.tail = workInProgress.sibling, type.renderingStartTime = now(), workInProgress.sibling = null, current = suspenseStackCursor.current, push(suspenseStackCursor, newProps ? current & 1 | 2 : current & 1), workInProgress;
|
|
@@ -6829,7 +6829,7 @@ function requireReactDomClient_production() {
|
|
|
6829
6829
|
getCacheForType: function (resourceType) {
|
|
6830
6830
|
var cache = readContext(CacheContext),
|
|
6831
6831
|
cacheForType = cache.data.get(resourceType);
|
|
6832
|
-
|
|
6832
|
+
undefined === cacheForType && (cacheForType = resourceType(), cache.data.set(resourceType, cacheForType));
|
|
6833
6833
|
return cacheForType;
|
|
6834
6834
|
}
|
|
6835
6835
|
},
|
|
@@ -6840,9 +6840,9 @@ function requireReactDomClient_production() {
|
|
|
6840
6840
|
workInProgressRootRenderLanes = 0,
|
|
6841
6841
|
workInProgressSuspendedReason = 0,
|
|
6842
6842
|
workInProgressThrownValue = null,
|
|
6843
|
-
workInProgressRootDidSkipSuspendedSiblings =
|
|
6844
|
-
workInProgressRootIsPrerendering =
|
|
6845
|
-
workInProgressRootDidAttachPingListener =
|
|
6843
|
+
workInProgressRootDidSkipSuspendedSiblings = false,
|
|
6844
|
+
workInProgressRootIsPrerendering = false,
|
|
6845
|
+
workInProgressRootDidAttachPingListener = false,
|
|
6846
6846
|
entangledRenderLanes = 0,
|
|
6847
6847
|
workInProgressRootExitStatus = 0,
|
|
6848
6848
|
workInProgressRootSkippedLanes = 0,
|
|
@@ -6852,12 +6852,12 @@ function requireReactDomClient_production() {
|
|
|
6852
6852
|
workInProgressSuspendedRetryLanes = 0,
|
|
6853
6853
|
workInProgressRootConcurrentErrors = null,
|
|
6854
6854
|
workInProgressRootRecoverableErrors = null,
|
|
6855
|
-
workInProgressRootDidIncludeRecursiveRenderUpdate =
|
|
6855
|
+
workInProgressRootDidIncludeRecursiveRenderUpdate = false,
|
|
6856
6856
|
globalMostRecentFallbackTime = 0,
|
|
6857
6857
|
workInProgressRootRenderTargetTime = Infinity,
|
|
6858
6858
|
workInProgressTransitions = null,
|
|
6859
6859
|
legacyErrorBoundariesThatAlreadyFailed = null,
|
|
6860
|
-
rootDoesHavePassiveEffects =
|
|
6860
|
+
rootDoesHavePassiveEffects = false,
|
|
6861
6861
|
rootWithPendingPassiveEffects = null,
|
|
6862
6862
|
pendingPassiveEffectsLanes = 0,
|
|
6863
6863
|
pendingPassiveEffectsRemainingLanes = 0,
|
|
@@ -6879,24 +6879,24 @@ function requireReactDomClient_production() {
|
|
|
6879
6879
|
return workInProgressDeferredLane;
|
|
6880
6880
|
}
|
|
6881
6881
|
function scheduleUpdateOnFiber(root, fiber, lane) {
|
|
6882
|
-
if (root === workInProgressRoot && 2 === workInProgressSuspendedReason || null !== root.cancelPendingCommit) prepareFreshStack(root, 0), markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane,
|
|
6882
|
+
if (root === workInProgressRoot && 2 === workInProgressSuspendedReason || null !== root.cancelPendingCommit) prepareFreshStack(root, 0), markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane, false);
|
|
6883
6883
|
markRootUpdated$1(root, lane);
|
|
6884
|
-
if (0 === (executionContext & 2) || root !== workInProgressRoot) root === workInProgressRoot && (0 === (executionContext & 2) && (workInProgressRootInterleavedUpdatedLanes |= lane), 4 === workInProgressRootExitStatus && markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane,
|
|
6884
|
+
if (0 === (executionContext & 2) || root !== workInProgressRoot) root === workInProgressRoot && (0 === (executionContext & 2) && (workInProgressRootInterleavedUpdatedLanes |= lane), 4 === workInProgressRootExitStatus && markRootSuspended(root, workInProgressRootRenderLanes, workInProgressDeferredLane, false)), ensureRootIsScheduled(root);
|
|
6885
6885
|
}
|
|
6886
6886
|
function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
|
6887
6887
|
if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));
|
|
6888
6888
|
var shouldTimeSlice = !forceSync && 0 === (lanes & 60) && 0 === (lanes & root$jscomp$0.expiredLanes) || checkIfRootIsPrerendering(root$jscomp$0, lanes),
|
|
6889
|
-
exitStatus = shouldTimeSlice ? renderRootConcurrent(root$jscomp$0, lanes) : renderRootSync(root$jscomp$0, lanes,
|
|
6889
|
+
exitStatus = shouldTimeSlice ? renderRootConcurrent(root$jscomp$0, lanes) : renderRootSync(root$jscomp$0, lanes, true),
|
|
6890
6890
|
renderWasConcurrent = shouldTimeSlice;
|
|
6891
6891
|
do {
|
|
6892
6892
|
if (0 === exitStatus) {
|
|
6893
|
-
workInProgressRootIsPrerendering && !shouldTimeSlice && markRootSuspended(root$jscomp$0, lanes, 0,
|
|
6893
|
+
workInProgressRootIsPrerendering && !shouldTimeSlice && markRootSuspended(root$jscomp$0, lanes, 0, false);
|
|
6894
6894
|
break;
|
|
6895
6895
|
} else if (6 === exitStatus) markRootSuspended(root$jscomp$0, lanes, 0, !workInProgressRootDidSkipSuspendedSiblings);else {
|
|
6896
6896
|
forceSync = root$jscomp$0.current.alternate;
|
|
6897
6897
|
if (renderWasConcurrent && !isRenderConsistentWithExternalStores(forceSync)) {
|
|
6898
|
-
exitStatus = renderRootSync(root$jscomp$0, lanes,
|
|
6899
|
-
renderWasConcurrent =
|
|
6898
|
+
exitStatus = renderRootSync(root$jscomp$0, lanes, false);
|
|
6899
|
+
renderWasConcurrent = false;
|
|
6900
6900
|
continue;
|
|
6901
6901
|
}
|
|
6902
6902
|
if (2 === exitStatus) {
|
|
@@ -6909,7 +6909,7 @@ function requireReactDomClient_production() {
|
|
|
6909
6909
|
exitStatus = workInProgressRootConcurrentErrors;
|
|
6910
6910
|
var wasRootDehydrated = root.current.memoizedState.isDehydrated;
|
|
6911
6911
|
wasRootDehydrated && (prepareFreshStack(root, JSCompiler_inline_result).flags |= 256);
|
|
6912
|
-
JSCompiler_inline_result = renderRootSync(root, JSCompiler_inline_result,
|
|
6912
|
+
JSCompiler_inline_result = renderRootSync(root, JSCompiler_inline_result, false);
|
|
6913
6913
|
if (2 !== JSCompiler_inline_result) {
|
|
6914
6914
|
if (workInProgressRootDidAttachPingListener && !wasRootDehydrated) {
|
|
6915
6915
|
root.errorRecoveryDisabledLanes |= renderWasConcurrent;
|
|
@@ -6923,13 +6923,13 @@ function requireReactDomClient_production() {
|
|
|
6923
6923
|
}
|
|
6924
6924
|
exitStatus = JSCompiler_inline_result;
|
|
6925
6925
|
}
|
|
6926
|
-
renderWasConcurrent =
|
|
6926
|
+
renderWasConcurrent = false;
|
|
6927
6927
|
if (2 !== exitStatus) continue;
|
|
6928
6928
|
}
|
|
6929
6929
|
}
|
|
6930
6930
|
if (1 === exitStatus) {
|
|
6931
6931
|
prepareFreshStack(root$jscomp$0, 0);
|
|
6932
|
-
markRootSuspended(root$jscomp$0, lanes, 0,
|
|
6932
|
+
markRootSuspended(root$jscomp$0, lanes, 0, true);
|
|
6933
6933
|
break;
|
|
6934
6934
|
}
|
|
6935
6935
|
a: {
|
|
@@ -6994,21 +6994,21 @@ function requireReactDomClient_production() {
|
|
|
6994
6994
|
try {
|
|
6995
6995
|
if (!objectIs(getSnapshot(), check)) return !1;
|
|
6996
6996
|
} catch (error) {
|
|
6997
|
-
return
|
|
6997
|
+
return false;
|
|
6998
6998
|
}
|
|
6999
6999
|
}
|
|
7000
7000
|
tag = node.child;
|
|
7001
7001
|
if (node.subtreeFlags & 16384 && null !== tag) tag.return = node, node = tag;else {
|
|
7002
7002
|
if (node === finishedWork) break;
|
|
7003
7003
|
for (; null === node.sibling;) {
|
|
7004
|
-
if (null === node.return || node.return === finishedWork) return
|
|
7004
|
+
if (null === node.return || node.return === finishedWork) return true;
|
|
7005
7005
|
node = node.return;
|
|
7006
7006
|
}
|
|
7007
7007
|
node.sibling.return = node.return;
|
|
7008
7008
|
node = node.sibling;
|
|
7009
7009
|
}
|
|
7010
7010
|
}
|
|
7011
|
-
return
|
|
7011
|
+
return true;
|
|
7012
7012
|
}
|
|
7013
7013
|
function markRootSuspended(root, suspendedLanes, spawnedLane, didAttemptEntireTree) {
|
|
7014
7014
|
suspendedLanes &= ~workInProgressRootPingedLanes;
|
|
@@ -7026,7 +7026,7 @@ function requireReactDomClient_production() {
|
|
|
7026
7026
|
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, suspendedLanes);
|
|
7027
7027
|
}
|
|
7028
7028
|
function flushSyncWork$1() {
|
|
7029
|
-
return 0 === (executionContext & 6) ? (flushSyncWorkAcrossRoots_impl(0),
|
|
7029
|
+
return 0 === (executionContext & 6) ? (flushSyncWorkAcrossRoots_impl(0), false) : true;
|
|
7030
7030
|
}
|
|
7031
7031
|
function resetWorkInProgressStack() {
|
|
7032
7032
|
if (null !== workInProgress) {
|
|
@@ -7048,12 +7048,12 @@ function requireReactDomClient_production() {
|
|
|
7048
7048
|
workInProgressRootRenderLanes = lanes;
|
|
7049
7049
|
workInProgressSuspendedReason = 0;
|
|
7050
7050
|
workInProgressThrownValue = null;
|
|
7051
|
-
workInProgressRootDidSkipSuspendedSiblings =
|
|
7051
|
+
workInProgressRootDidSkipSuspendedSiblings = false;
|
|
7052
7052
|
workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes);
|
|
7053
|
-
workInProgressRootDidAttachPingListener =
|
|
7053
|
+
workInProgressRootDidAttachPingListener = false;
|
|
7054
7054
|
workInProgressSuspendedRetryLanes = workInProgressDeferredLane = workInProgressRootPingedLanes = workInProgressRootInterleavedUpdatedLanes = workInProgressRootSkippedLanes = workInProgressRootExitStatus = 0;
|
|
7055
7055
|
workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors = null;
|
|
7056
|
-
workInProgressRootDidIncludeRecursiveRenderUpdate =
|
|
7056
|
+
workInProgressRootDidIncludeRecursiveRenderUpdate = false;
|
|
7057
7057
|
0 !== (lanes & 8) && (lanes |= lanes & 32);
|
|
7058
7058
|
var allEntangledLanes = root.entangledLanes;
|
|
7059
7059
|
if (0 !== allEntangledLanes) for (root = root.entanglements, allEntangledLanes &= lanes; 0 < allEntangledLanes;) {
|
|
@@ -7085,8 +7085,8 @@ function requireReactDomClient_production() {
|
|
|
7085
7085
|
}
|
|
7086
7086
|
function renderDidSuspendDelayIfPossible() {
|
|
7087
7087
|
workInProgressRootExitStatus = 4;
|
|
7088
|
-
workInProgressRootDidSkipSuspendedSiblings || (workInProgressRootRenderLanes & 4194176) !== workInProgressRootRenderLanes && null !== suspenseHandlerStackCursor.current || (workInProgressRootIsPrerendering =
|
|
7089
|
-
0 === (workInProgressRootSkippedLanes & 134217727) && 0 === (workInProgressRootInterleavedUpdatedLanes & 134217727) || null === workInProgressRoot || markRootSuspended(workInProgressRoot, workInProgressRootRenderLanes, workInProgressDeferredLane,
|
|
7088
|
+
workInProgressRootDidSkipSuspendedSiblings || (workInProgressRootRenderLanes & 4194176) !== workInProgressRootRenderLanes && null !== suspenseHandlerStackCursor.current || (workInProgressRootIsPrerendering = true);
|
|
7089
|
+
0 === (workInProgressRootSkippedLanes & 134217727) && 0 === (workInProgressRootInterleavedUpdatedLanes & 134217727) || null === workInProgressRoot || markRootSuspended(workInProgressRoot, workInProgressRootRenderLanes, workInProgressDeferredLane, false);
|
|
7090
7090
|
}
|
|
7091
7091
|
function renderRootSync(root, lanes, shouldYieldForPrerendering) {
|
|
7092
7092
|
var prevExecutionContext = executionContext;
|
|
@@ -7094,7 +7094,7 @@ function requireReactDomClient_production() {
|
|
|
7094
7094
|
var prevDispatcher = pushDispatcher(),
|
|
7095
7095
|
prevAsyncDispatcher = pushAsyncDispatcher();
|
|
7096
7096
|
if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes) workInProgressTransitions = null, prepareFreshStack(root, lanes);
|
|
7097
|
-
lanes =
|
|
7097
|
+
lanes = false;
|
|
7098
7098
|
var exitStatus = workInProgressRootExitStatus;
|
|
7099
7099
|
a: do try {
|
|
7100
7100
|
if (0 !== workInProgressSuspendedReason && null !== workInProgress) {
|
|
@@ -7242,7 +7242,7 @@ function requireReactDomClient_production() {
|
|
|
7242
7242
|
switch (next.tag) {
|
|
7243
7243
|
case 15:
|
|
7244
7244
|
case 0:
|
|
7245
|
-
next = replayFunctionComponent(current, next, next.pendingProps, next.type,
|
|
7245
|
+
next = replayFunctionComponent(current, next, next.pendingProps, next.type, undefined, workInProgressRootRenderLanes);
|
|
7246
7246
|
break;
|
|
7247
7247
|
case 11:
|
|
7248
7248
|
next = replayFunctionComponent(current, next, next.pendingProps, next.type.render, next.ref, workInProgressRootRenderLanes);
|
|
@@ -7276,7 +7276,7 @@ function requireReactDomClient_production() {
|
|
|
7276
7276
|
return;
|
|
7277
7277
|
}
|
|
7278
7278
|
if (unitOfWork.flags & 32768) {
|
|
7279
|
-
if (isHydrating || 1 === suspendedReason) root =
|
|
7279
|
+
if (isHydrating || 1 === suspendedReason) root = true;else if (workInProgressRootIsPrerendering || 0 !== (workInProgressRootRenderLanes & 536870912)) root = false;else if (workInProgressRootDidSkipSuspendedSiblings = root = true, 2 === suspendedReason || 3 === suspendedReason || 6 === suspendedReason) suspendedReason = suspenseHandlerStackCursor.current, null !== suspendedReason && 13 === suspendedReason.tag && (suspendedReason.flags |= 16384);
|
|
7280
7280
|
unwindUnitOfWork(unitOfWork, root);
|
|
7281
7281
|
} else completeUnitOfWork(unitOfWork);
|
|
7282
7282
|
}
|
|
@@ -7346,13 +7346,13 @@ function requireReactDomClient_production() {
|
|
|
7346
7346
|
remainingLanes |= concurrentlyUpdatedLanes;
|
|
7347
7347
|
markRootFinished(root, didIncludeRenderPhaseUpdate, remainingLanes, spawnedLane, updatedLanes, suspendedRetryLanes);
|
|
7348
7348
|
root === workInProgressRoot && (workInProgress = workInProgressRoot = null, workInProgressRootRenderLanes = 0);
|
|
7349
|
-
0 === (finishedWork.subtreeFlags & 10256) && 0 === (finishedWork.flags & 10256) || rootDoesHavePassiveEffects || (rootDoesHavePassiveEffects =
|
|
7349
|
+
0 === (finishedWork.subtreeFlags & 10256) && 0 === (finishedWork.flags & 10256) || rootDoesHavePassiveEffects || (rootDoesHavePassiveEffects = true, pendingPassiveEffectsRemainingLanes = remainingLanes, pendingPassiveTransitions = transitions, scheduleCallback$1(NormalPriority$1, function () {
|
|
7350
7350
|
flushPassiveEffects();
|
|
7351
7351
|
return null;
|
|
7352
7352
|
}));
|
|
7353
7353
|
transitions = 0 !== (finishedWork.flags & 15990);
|
|
7354
7354
|
0 !== (finishedWork.subtreeFlags & 15990) || transitions ? (transitions = ReactSharedInternals.T, ReactSharedInternals.T = null, spawnedLane = ReactDOMSharedInternals.p, ReactDOMSharedInternals.p = 2, updatedLanes = executionContext, executionContext |= 4, commitBeforeMutationEffects(root, finishedWork), commitMutationEffectsOnFiber(finishedWork, root), restoreSelection(selectionInformation, root.containerInfo), _enabled = !!eventsEnabled, selectionInformation = eventsEnabled = null, root.current = finishedWork, commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork), requestPaint(), executionContext = updatedLanes, ReactDOMSharedInternals.p = spawnedLane, ReactSharedInternals.T = transitions) : root.current = finishedWork;
|
|
7355
|
-
rootDoesHavePassiveEffects ? (rootDoesHavePassiveEffects =
|
|
7355
|
+
rootDoesHavePassiveEffects ? (rootDoesHavePassiveEffects = false, rootWithPendingPassiveEffects = root, pendingPassiveEffectsLanes = didIncludeRenderPhaseUpdate) : releaseRootPooledCache(root, remainingLanes);
|
|
7356
7356
|
remainingLanes = root.pendingLanes;
|
|
7357
7357
|
0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
|
|
7358
7358
|
onCommitRoot(finishedWork.stateNode);
|
|
@@ -7404,7 +7404,7 @@ function requireReactDomClient_production() {
|
|
|
7404
7404
|
ReactDOMSharedInternals.p = previousPriority, ReactSharedInternals.T = prevTransition, releaseRootPooledCache(root$170, remainingLanes);
|
|
7405
7405
|
}
|
|
7406
7406
|
}
|
|
7407
|
-
return
|
|
7407
|
+
return false;
|
|
7408
7408
|
}
|
|
7409
7409
|
function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {
|
|
7410
7410
|
sourceFiber = createCapturedValueAtFiber(error, sourceFiber);
|
|
@@ -7436,8 +7436,8 @@ function requireReactDomClient_production() {
|
|
|
7436
7436
|
pingCache = root.pingCache = new PossiblyWeakMap();
|
|
7437
7437
|
var threadIDs = new Set();
|
|
7438
7438
|
pingCache.set(wakeable, threadIDs);
|
|
7439
|
-
} else threadIDs = pingCache.get(wakeable),
|
|
7440
|
-
threadIDs.has(lanes) || (workInProgressRootDidAttachPingListener =
|
|
7439
|
+
} else threadIDs = pingCache.get(wakeable), undefined === threadIDs && (threadIDs = new Set(), pingCache.set(wakeable, threadIDs));
|
|
7440
|
+
threadIDs.has(lanes) || (workInProgressRootDidAttachPingListener = true, threadIDs.add(lanes), root = pingSuspendedRoot.bind(null, root, wakeable, lanes), wakeable.then(root, root));
|
|
7441
7441
|
}
|
|
7442
7442
|
function pingSuspendedRoot(root, wakeable, pingedLanes) {
|
|
7443
7443
|
var pingCache = root.pingCache;
|
|
@@ -7483,20 +7483,20 @@ function requireReactDomClient_production() {
|
|
|
7483
7483
|
}
|
|
7484
7484
|
var firstScheduledRoot = null,
|
|
7485
7485
|
lastScheduledRoot = null,
|
|
7486
|
-
didScheduleMicrotask =
|
|
7487
|
-
mightHavePendingSyncWork =
|
|
7488
|
-
isFlushingWork =
|
|
7486
|
+
didScheduleMicrotask = false,
|
|
7487
|
+
mightHavePendingSyncWork = false,
|
|
7488
|
+
isFlushingWork = false,
|
|
7489
7489
|
currentEventTransitionLane = 0;
|
|
7490
7490
|
function ensureRootIsScheduled(root) {
|
|
7491
7491
|
root !== lastScheduledRoot && null === root.next && (null === lastScheduledRoot ? firstScheduledRoot = lastScheduledRoot = root : lastScheduledRoot = lastScheduledRoot.next = root);
|
|
7492
|
-
mightHavePendingSyncWork =
|
|
7493
|
-
didScheduleMicrotask || (didScheduleMicrotask =
|
|
7492
|
+
mightHavePendingSyncWork = true;
|
|
7493
|
+
didScheduleMicrotask || (didScheduleMicrotask = true, scheduleImmediateTask(processRootScheduleInMicrotask));
|
|
7494
7494
|
}
|
|
7495
7495
|
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
|
7496
7496
|
if (!isFlushingWork && mightHavePendingSyncWork) {
|
|
7497
|
-
isFlushingWork =
|
|
7497
|
+
isFlushingWork = true;
|
|
7498
7498
|
do {
|
|
7499
|
-
var didPerformSomeWork =
|
|
7499
|
+
var didPerformSomeWork = false;
|
|
7500
7500
|
for (var root$172 = firstScheduledRoot; null !== root$172;) {
|
|
7501
7501
|
if (0 !== syncTransitionLanes) {
|
|
7502
7502
|
var pendingLanes = root$172.pendingLanes;
|
|
@@ -7507,22 +7507,22 @@ function requireReactDomClient_production() {
|
|
|
7507
7507
|
JSCompiler_inline_result &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
|
7508
7508
|
JSCompiler_inline_result = JSCompiler_inline_result & 201326677 ? JSCompiler_inline_result & 201326677 | 1 : JSCompiler_inline_result ? JSCompiler_inline_result | 2 : 0;
|
|
7509
7509
|
}
|
|
7510
|
-
0 !== JSCompiler_inline_result && (didPerformSomeWork =
|
|
7511
|
-
} else JSCompiler_inline_result = workInProgressRootRenderLanes, JSCompiler_inline_result = getNextLanes(root$172, root$172 === workInProgressRoot ? JSCompiler_inline_result : 0), 0 === (JSCompiler_inline_result & 3) || checkIfRootIsPrerendering(root$172, JSCompiler_inline_result) || (didPerformSomeWork =
|
|
7510
|
+
0 !== JSCompiler_inline_result && (didPerformSomeWork = true, performSyncWorkOnRoot(root$172, JSCompiler_inline_result));
|
|
7511
|
+
} else JSCompiler_inline_result = workInProgressRootRenderLanes, JSCompiler_inline_result = getNextLanes(root$172, root$172 === workInProgressRoot ? JSCompiler_inline_result : 0), 0 === (JSCompiler_inline_result & 3) || checkIfRootIsPrerendering(root$172, JSCompiler_inline_result) || (didPerformSomeWork = true, performSyncWorkOnRoot(root$172, JSCompiler_inline_result));
|
|
7512
7512
|
root$172 = root$172.next;
|
|
7513
7513
|
}
|
|
7514
7514
|
} while (didPerformSomeWork);
|
|
7515
|
-
isFlushingWork =
|
|
7515
|
+
isFlushingWork = false;
|
|
7516
7516
|
}
|
|
7517
7517
|
}
|
|
7518
7518
|
function processRootScheduleInMicrotask() {
|
|
7519
|
-
mightHavePendingSyncWork = didScheduleMicrotask =
|
|
7519
|
+
mightHavePendingSyncWork = didScheduleMicrotask = false;
|
|
7520
7520
|
var syncTransitionLanes = 0;
|
|
7521
7521
|
0 !== currentEventTransitionLane && (shouldAttemptEagerTransition() && (syncTransitionLanes = currentEventTransitionLane), currentEventTransitionLane = 0);
|
|
7522
7522
|
for (var currentTime = now(), prev = null, root = firstScheduledRoot; null !== root;) {
|
|
7523
7523
|
var next = root.next,
|
|
7524
7524
|
nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
|
7525
|
-
if (0 === nextLanes) root.next = null, null === prev ? firstScheduledRoot = next : prev.next = next, null === next && (lastScheduledRoot = prev);else if (prev = root, 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) mightHavePendingSyncWork =
|
|
7525
|
+
if (0 === nextLanes) root.next = null, null === prev ? firstScheduledRoot = next : prev.next = next, null === next && (lastScheduledRoot = prev);else if (prev = root, 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) mightHavePendingSyncWork = true;
|
|
7526
7526
|
root = next;
|
|
7527
7527
|
}
|
|
7528
7528
|
flushSyncWorkAcrossRoots_impl(syncTransitionLanes);
|
|
@@ -7583,7 +7583,7 @@ function requireReactDomClient_production() {
|
|
|
7583
7583
|
}
|
|
7584
7584
|
function performSyncWorkOnRoot(root, lanes) {
|
|
7585
7585
|
if (flushPassiveEffects()) return null;
|
|
7586
|
-
performWorkOnRoot(root, lanes,
|
|
7586
|
+
performWorkOnRoot(root, lanes, true);
|
|
7587
7587
|
}
|
|
7588
7588
|
function scheduleImmediateTask(cb) {
|
|
7589
7589
|
scheduleMicrotask(function () {
|
|
@@ -7622,14 +7622,14 @@ function requireReactDomClient_production() {
|
|
|
7622
7622
|
if (0 !== currentEventTransitionLane) {
|
|
7623
7623
|
var formData = submitter ? createFormDataWithSubmitter(nativeEventTarget, submitter) : new FormData(nativeEventTarget);
|
|
7624
7624
|
startHostTransition(maybeTargetInst, {
|
|
7625
|
-
pending:
|
|
7625
|
+
pending: true,
|
|
7626
7626
|
data: formData,
|
|
7627
7627
|
method: nativeEventTarget.method,
|
|
7628
7628
|
action: action
|
|
7629
7629
|
}, null, formData);
|
|
7630
7630
|
}
|
|
7631
7631
|
} else "function" === typeof action && (event.preventDefault(), formData = submitter ? createFormDataWithSubmitter(nativeEventTarget, submitter) : new FormData(nativeEventTarget), startHostTransition(maybeTargetInst, {
|
|
7632
|
-
pending:
|
|
7632
|
+
pending: true,
|
|
7633
7633
|
data: formData,
|
|
7634
7634
|
method: nativeEventTarget.method,
|
|
7635
7635
|
action: action
|
|
@@ -7675,7 +7675,7 @@ function requireReactDomClient_production() {
|
|
|
7675
7675
|
event = _dispatchQueue$i.event;
|
|
7676
7676
|
_dispatchQueue$i = _dispatchQueue$i.listeners;
|
|
7677
7677
|
a: {
|
|
7678
|
-
var previousInstance =
|
|
7678
|
+
var previousInstance = undefined;
|
|
7679
7679
|
if (eventSystemFlags) for (var i$jscomp$0 = _dispatchQueue$i.length - 1; 0 <= i$jscomp$0; i$jscomp$0--) {
|
|
7680
7680
|
var _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0],
|
|
7681
7681
|
instance = _dispatchListeners$i.instance,
|
|
@@ -7712,9 +7712,9 @@ function requireReactDomClient_production() {
|
|
|
7712
7712
|
}
|
|
7713
7713
|
function listenToNonDelegatedEvent(domEventName, targetElement) {
|
|
7714
7714
|
var JSCompiler_inline_result = targetElement[internalEventHandlersKey];
|
|
7715
|
-
|
|
7715
|
+
undefined === JSCompiler_inline_result && (JSCompiler_inline_result = targetElement[internalEventHandlersKey] = new Set());
|
|
7716
7716
|
var listenerSetKey = domEventName + "__bubble";
|
|
7717
|
-
JSCompiler_inline_result.has(listenerSetKey) || (addTrappedEventListener(targetElement, domEventName, 2,
|
|
7717
|
+
JSCompiler_inline_result.has(listenerSetKey) || (addTrappedEventListener(targetElement, domEventName, 2, false), JSCompiler_inline_result.add(listenerSetKey));
|
|
7718
7718
|
}
|
|
7719
7719
|
function listenToNativeEvent(domEventName, isCapturePhaseListener, target) {
|
|
7720
7720
|
var eventSystemFlags = 0;
|
|
@@ -7724,12 +7724,12 @@ function requireReactDomClient_production() {
|
|
|
7724
7724
|
var listeningMarker = "_reactListening" + Math.random().toString(36).slice(2);
|
|
7725
7725
|
function listenToAllSupportedEvents(rootContainerElement) {
|
|
7726
7726
|
if (!rootContainerElement[listeningMarker]) {
|
|
7727
|
-
rootContainerElement[listeningMarker] =
|
|
7727
|
+
rootContainerElement[listeningMarker] = true;
|
|
7728
7728
|
allNativeEvents.forEach(function (domEventName) {
|
|
7729
|
-
"selectionchange" !== domEventName && (nonDelegatedEvents.has(domEventName) || listenToNativeEvent(domEventName,
|
|
7729
|
+
"selectionchange" !== domEventName && (nonDelegatedEvents.has(domEventName) || listenToNativeEvent(domEventName, false, rootContainerElement), listenToNativeEvent(domEventName, true, rootContainerElement));
|
|
7730
7730
|
});
|
|
7731
7731
|
var ownerDocument = 9 === rootContainerElement.nodeType ? rootContainerElement : rootContainerElement.ownerDocument;
|
|
7732
|
-
null === ownerDocument || ownerDocument[listeningMarker] || (ownerDocument[listeningMarker] =
|
|
7732
|
+
null === ownerDocument || ownerDocument[listeningMarker] || (ownerDocument[listeningMarker] = true, listenToNativeEvent("selectionchange", false, ownerDocument));
|
|
7733
7733
|
}
|
|
7734
7734
|
}
|
|
7735
7735
|
function addTrappedEventListener(targetContainer, domEventName, eventSystemFlags, isCapturePhaseListener) {
|
|
@@ -7744,14 +7744,14 @@ function requireReactDomClient_production() {
|
|
|
7744
7744
|
listenerWrapper = dispatchEvent;
|
|
7745
7745
|
}
|
|
7746
7746
|
eventSystemFlags = listenerWrapper.bind(null, domEventName, eventSystemFlags, targetContainer);
|
|
7747
|
-
listenerWrapper =
|
|
7748
|
-
!passiveBrowserEventsSupported || "touchstart" !== domEventName && "touchmove" !== domEventName && "wheel" !== domEventName || (listenerWrapper =
|
|
7749
|
-
isCapturePhaseListener ?
|
|
7750
|
-
capture:
|
|
7747
|
+
listenerWrapper = undefined;
|
|
7748
|
+
!passiveBrowserEventsSupported || "touchstart" !== domEventName && "touchmove" !== domEventName && "wheel" !== domEventName || (listenerWrapper = true);
|
|
7749
|
+
isCapturePhaseListener ? undefined !== listenerWrapper ? targetContainer.addEventListener(domEventName, eventSystemFlags, {
|
|
7750
|
+
capture: true,
|
|
7751
7751
|
passive: listenerWrapper
|
|
7752
|
-
}) : targetContainer.addEventListener(domEventName, eventSystemFlags,
|
|
7752
|
+
}) : targetContainer.addEventListener(domEventName, eventSystemFlags, true) : undefined !== listenerWrapper ? targetContainer.addEventListener(domEventName, eventSystemFlags, {
|
|
7753
7753
|
passive: listenerWrapper
|
|
7754
|
-
}) : targetContainer.addEventListener(domEventName, eventSystemFlags,
|
|
7754
|
+
}) : targetContainer.addEventListener(domEventName, eventSystemFlags, false);
|
|
7755
7755
|
}
|
|
7756
7756
|
function dispatchEventForPluginEventSystem(domEventName, eventSystemFlags, nativeEvent, targetInst$jscomp$0, targetContainer) {
|
|
7757
7757
|
var ancestorInst = targetInst$jscomp$0;
|
|
@@ -8043,7 +8043,7 @@ function requireReactDomClient_production() {
|
|
|
8043
8043
|
}
|
|
8044
8044
|
function checkForUnmatchedText(serverText, clientText) {
|
|
8045
8045
|
clientText = normalizeMarkupForTextOrAttribute(clientText);
|
|
8046
|
-
return normalizeMarkupForTextOrAttribute(serverText) === clientText ?
|
|
8046
|
+
return normalizeMarkupForTextOrAttribute(serverText) === clientText ? true : false;
|
|
8047
8047
|
}
|
|
8048
8048
|
function noop$1() {}
|
|
8049
8049
|
function setProp(domElement, tag, key, value, props, prevValue) {
|
|
@@ -8177,7 +8177,7 @@ function requireReactDomClient_production() {
|
|
|
8177
8177
|
break;
|
|
8178
8178
|
case "capture":
|
|
8179
8179
|
case "download":
|
|
8180
|
-
|
|
8180
|
+
true === value ? domElement.setAttribute(key, "") : false !== value && null != value && "function" !== typeof value && "symbol" !== typeof value ? domElement.setAttribute(key, value) : domElement.removeAttribute(key);
|
|
8181
8181
|
break;
|
|
8182
8182
|
case "cols":
|
|
8183
8183
|
case "rows":
|
|
@@ -8268,12 +8268,12 @@ function requireReactDomClient_production() {
|
|
|
8268
8268
|
break;
|
|
8269
8269
|
default:
|
|
8270
8270
|
if (!registrationNameDependencies.hasOwnProperty(key)) a: {
|
|
8271
|
-
if ("o" === key[0] && "n" === key[1] && (props = key.endsWith("Capture"), tag = key.slice(2, props ? key.length - 7 :
|
|
8271
|
+
if ("o" === key[0] && "n" === key[1] && (props = key.endsWith("Capture"), tag = key.slice(2, props ? key.length - 7 : undefined), prevValue = domElement[internalPropsKey] || null, prevValue = null != prevValue ? prevValue[key] : null, "function" === typeof prevValue && domElement.removeEventListener(tag, prevValue, props), "function" === typeof value)) {
|
|
8272
8272
|
"function" !== typeof prevValue && null !== prevValue && (key in domElement ? domElement[key] = null : domElement.hasAttribute(key) && domElement.removeAttribute(key));
|
|
8273
8273
|
domElement.addEventListener(tag, value, props);
|
|
8274
8274
|
break a;
|
|
8275
8275
|
}
|
|
8276
|
-
key in domElement ? domElement[key] = value :
|
|
8276
|
+
key in domElement ? domElement[key] = value : true === value ? domElement.setAttribute(key, "") : setValueForAttribute(domElement, key, value);
|
|
8277
8277
|
}
|
|
8278
8278
|
}
|
|
8279
8279
|
}
|
|
@@ -8291,17 +8291,17 @@ function requireReactDomClient_production() {
|
|
|
8291
8291
|
case "img":
|
|
8292
8292
|
listenToNonDelegatedEvent("error", domElement);
|
|
8293
8293
|
listenToNonDelegatedEvent("load", domElement);
|
|
8294
|
-
var hasSrc =
|
|
8295
|
-
hasSrcSet =
|
|
8294
|
+
var hasSrc = false,
|
|
8295
|
+
hasSrcSet = false,
|
|
8296
8296
|
propKey;
|
|
8297
8297
|
for (propKey in props) if (props.hasOwnProperty(propKey)) {
|
|
8298
8298
|
var propValue = props[propKey];
|
|
8299
8299
|
if (null != propValue) switch (propKey) {
|
|
8300
8300
|
case "src":
|
|
8301
|
-
hasSrc =
|
|
8301
|
+
hasSrc = true;
|
|
8302
8302
|
break;
|
|
8303
8303
|
case "srcSet":
|
|
8304
|
-
hasSrcSet =
|
|
8304
|
+
hasSrcSet = true;
|
|
8305
8305
|
break;
|
|
8306
8306
|
case "children":
|
|
8307
8307
|
case "dangerouslySetInnerHTML":
|
|
@@ -8347,7 +8347,7 @@ function requireReactDomClient_production() {
|
|
|
8347
8347
|
setProp(domElement, tag, hasSrc, propValue$186, props, null);
|
|
8348
8348
|
}
|
|
8349
8349
|
}
|
|
8350
|
-
initInput(domElement, propKey, defaultValue, checked, defaultChecked, propValue, hasSrcSet,
|
|
8350
|
+
initInput(domElement, propKey, defaultValue, checked, defaultChecked, propValue, hasSrcSet, false);
|
|
8351
8351
|
track(domElement);
|
|
8352
8352
|
return;
|
|
8353
8353
|
case "select":
|
|
@@ -8368,7 +8368,7 @@ function requireReactDomClient_production() {
|
|
|
8368
8368
|
tag = propKey;
|
|
8369
8369
|
props = propValue;
|
|
8370
8370
|
domElement.multiple = !!hasSrc;
|
|
8371
|
-
null != tag ? updateOptions(domElement, !!hasSrc, tag,
|
|
8371
|
+
null != tag ? updateOptions(domElement, !!hasSrc, tag, false) : null != props && updateOptions(domElement, !!hasSrc, props, true);
|
|
8372
8372
|
return;
|
|
8373
8373
|
case "textarea":
|
|
8374
8374
|
listenToNonDelegatedEvent("invalid", domElement);
|
|
@@ -8445,7 +8445,7 @@ function requireReactDomClient_production() {
|
|
|
8445
8445
|
return;
|
|
8446
8446
|
default:
|
|
8447
8447
|
if (isCustomElement(tag)) {
|
|
8448
|
-
for (propValue$186 in props) props.hasOwnProperty(propValue$186) && (hasSrc = props[propValue$186],
|
|
8448
|
+
for (propValue$186 in props) props.hasOwnProperty(propValue$186) && (hasSrc = props[propValue$186], undefined !== hasSrc && setPropOnCustomElement(domElement, tag, propValue$186, hasSrc, props, undefined));
|
|
8449
8449
|
return;
|
|
8450
8450
|
}
|
|
8451
8451
|
}
|
|
@@ -8540,7 +8540,7 @@ function requireReactDomClient_production() {
|
|
|
8540
8540
|
tag = defaultValue;
|
|
8541
8541
|
lastProps = value;
|
|
8542
8542
|
nextProps = propKey;
|
|
8543
|
-
null != propKey$203 ? updateOptions(domElement, !!lastProps, propKey$203,
|
|
8543
|
+
null != propKey$203 ? updateOptions(domElement, !!lastProps, propKey$203, false) : !!nextProps !== !!lastProps && (null != tag ? updateOptions(domElement, !!lastProps, tag, true) : updateOptions(domElement, !!lastProps, lastProps ? [] : "", false));
|
|
8544
8544
|
return;
|
|
8545
8545
|
case "textarea":
|
|
8546
8546
|
propKey = propKey$203 = null;
|
|
@@ -8572,7 +8572,7 @@ function requireReactDomClient_production() {
|
|
|
8572
8572
|
case "option":
|
|
8573
8573
|
for (var propKey$219 in lastProps) if (propKey$203 = lastProps[propKey$219], lastProps.hasOwnProperty(propKey$219) && null != propKey$203 && !nextProps.hasOwnProperty(propKey$219)) switch (propKey$219) {
|
|
8574
8574
|
case "selected":
|
|
8575
|
-
domElement.selected =
|
|
8575
|
+
domElement.selected = false;
|
|
8576
8576
|
break;
|
|
8577
8577
|
default:
|
|
8578
8578
|
setProp(domElement, tag, propKey$219, null, nextProps, propKey$203);
|
|
@@ -8612,8 +8612,8 @@ function requireReactDomClient_production() {
|
|
|
8612
8612
|
return;
|
|
8613
8613
|
default:
|
|
8614
8614
|
if (isCustomElement(tag)) {
|
|
8615
|
-
for (var propKey$229 in lastProps) propKey$203 = lastProps[propKey$229], lastProps.hasOwnProperty(propKey$229) &&
|
|
8616
|
-
for (defaultChecked in nextProps) propKey$203 = nextProps[defaultChecked], propKey = lastProps[defaultChecked], !nextProps.hasOwnProperty(defaultChecked) || propKey$203 === propKey ||
|
|
8615
|
+
for (var propKey$229 in lastProps) propKey$203 = lastProps[propKey$229], lastProps.hasOwnProperty(propKey$229) && undefined !== propKey$203 && !nextProps.hasOwnProperty(propKey$229) && setPropOnCustomElement(domElement, tag, propKey$229, undefined, nextProps, propKey$203);
|
|
8616
|
+
for (defaultChecked in nextProps) propKey$203 = nextProps[defaultChecked], propKey = lastProps[defaultChecked], !nextProps.hasOwnProperty(defaultChecked) || propKey$203 === propKey || undefined === propKey$203 && undefined === propKey || setPropOnCustomElement(domElement, tag, defaultChecked, propKey$203, nextProps, propKey);
|
|
8617
8617
|
return;
|
|
8618
8618
|
}
|
|
8619
8619
|
}
|
|
@@ -8653,16 +8653,16 @@ function requireReactDomClient_production() {
|
|
|
8653
8653
|
function shouldAttemptEagerTransition() {
|
|
8654
8654
|
var event = window.event;
|
|
8655
8655
|
if (event && "popstate" === event.type) {
|
|
8656
|
-
if (event === currentPopstateTransitionEvent) return
|
|
8656
|
+
if (event === currentPopstateTransitionEvent) return false;
|
|
8657
8657
|
currentPopstateTransitionEvent = event;
|
|
8658
|
-
return
|
|
8658
|
+
return true;
|
|
8659
8659
|
}
|
|
8660
8660
|
currentPopstateTransitionEvent = null;
|
|
8661
|
-
return
|
|
8661
|
+
return false;
|
|
8662
8662
|
}
|
|
8663
|
-
var scheduleTimeout = "function" === typeof setTimeout ? setTimeout :
|
|
8664
|
-
cancelTimeout = "function" === typeof clearTimeout ? clearTimeout :
|
|
8665
|
-
localPromise = "function" === typeof Promise ? Promise :
|
|
8663
|
+
var scheduleTimeout = "function" === typeof setTimeout ? setTimeout : undefined,
|
|
8664
|
+
cancelTimeout = "function" === typeof clearTimeout ? clearTimeout : undefined,
|
|
8665
|
+
localPromise = "function" === typeof Promise ? Promise : undefined,
|
|
8666
8666
|
scheduleMicrotask = "function" === typeof queueMicrotask ? queueMicrotask : "undefined" !== typeof localPromise ? function (callback) {
|
|
8667
8667
|
return localPromise.resolve(null).then(callback).catch(handleErrorInNextTick);
|
|
8668
8668
|
} : scheduleTimeout;
|
|
@@ -8862,7 +8862,7 @@ function requireReactDomClient_production() {
|
|
|
8862
8862
|
}
|
|
8863
8863
|
preloadPropsMap.has(key) || (href = assign({
|
|
8864
8864
|
rel: "preload",
|
|
8865
|
-
href: "image" === as && options && options.imageSrcSet ?
|
|
8865
|
+
href: "image" === as && options && options.imageSrcSet ? undefined : href,
|
|
8866
8866
|
as: as
|
|
8867
8867
|
}, options), preloadPropsMap.set(key, href), null !== ownerDocument.querySelector(preloadSelector) || "style" === as && ownerDocument.querySelector(getStylesheetSelectorFromKey(key)) || "script" === as && ownerDocument.querySelector(getScriptSelectorFromKey(key)) || (as = ownerDocument.createElement("link"), setInitialProperties(as, "link", href), markNodeAsHoistable(as), ownerDocument.head.appendChild(as)));
|
|
8868
8868
|
}
|
|
@@ -8958,7 +8958,7 @@ function requireReactDomClient_production() {
|
|
|
8958
8958
|
resource = scripts.get(key);
|
|
8959
8959
|
resource || (resource = ownerDocument.querySelector(getScriptSelectorFromKey(key)), resource || (src = assign({
|
|
8960
8960
|
src: src,
|
|
8961
|
-
async:
|
|
8961
|
+
async: true
|
|
8962
8962
|
}, options), (options = preloadPropsMap.get(key)) && adoptPreloadPropsForScript(src, options), resource = ownerDocument.createElement("script"), markNodeAsHoistable(resource), setInitialProperties(resource, "link", src), ownerDocument.head.appendChild(resource)), resource = {
|
|
8963
8963
|
type: "script",
|
|
8964
8964
|
instance: resource,
|
|
@@ -8976,7 +8976,7 @@ function requireReactDomClient_production() {
|
|
|
8976
8976
|
resource = scripts.get(key);
|
|
8977
8977
|
resource || (resource = ownerDocument.querySelector(getScriptSelectorFromKey(key)), resource || (src = assign({
|
|
8978
8978
|
src: src,
|
|
8979
|
-
async:
|
|
8979
|
+
async: true,
|
|
8980
8980
|
type: "module"
|
|
8981
8981
|
}, options), (options = preloadPropsMap.get(key)) && adoptPreloadPropsForScript(src, options), resource = ownerDocument.createElement("script"), markNodeAsHoistable(resource), setInitialProperties(resource, "link", src), ownerDocument.head.appendChild(resource)), resource = {
|
|
8982
8982
|
type: "script",
|
|
@@ -9169,36 +9169,36 @@ function requireReactDomClient_production() {
|
|
|
9169
9169
|
hoistableRoot.head.insertBefore(instance, "title" === type ? hoistableRoot.querySelector("head > title") : null);
|
|
9170
9170
|
}
|
|
9171
9171
|
function isHostHoistableType(type, props, hostContext) {
|
|
9172
|
-
if (1 === hostContext || null != props.itemProp) return
|
|
9172
|
+
if (1 === hostContext || null != props.itemProp) return false;
|
|
9173
9173
|
switch (type) {
|
|
9174
9174
|
case "meta":
|
|
9175
9175
|
case "title":
|
|
9176
|
-
return
|
|
9176
|
+
return true;
|
|
9177
9177
|
case "style":
|
|
9178
9178
|
if ("string" !== typeof props.precedence || "string" !== typeof props.href || "" === props.href) break;
|
|
9179
|
-
return
|
|
9179
|
+
return true;
|
|
9180
9180
|
case "link":
|
|
9181
9181
|
if ("string" !== typeof props.rel || "string" !== typeof props.href || "" === props.href || props.onLoad || props.onError) break;
|
|
9182
9182
|
switch (props.rel) {
|
|
9183
9183
|
case "stylesheet":
|
|
9184
9184
|
return type = props.disabled, "string" === typeof props.precedence && null == type;
|
|
9185
9185
|
default:
|
|
9186
|
-
return
|
|
9186
|
+
return true;
|
|
9187
9187
|
}
|
|
9188
9188
|
case "script":
|
|
9189
|
-
if (props.async && "function" !== typeof props.async && "symbol" !== typeof props.async && !props.onLoad && !props.onError && props.src && "string" === typeof props.src) return
|
|
9189
|
+
if (props.async && "function" !== typeof props.async && "symbol" !== typeof props.async && !props.onLoad && !props.onError && props.src && "string" === typeof props.src) return true;
|
|
9190
9190
|
}
|
|
9191
|
-
return
|
|
9191
|
+
return false;
|
|
9192
9192
|
}
|
|
9193
9193
|
function preloadResource(resource) {
|
|
9194
|
-
return "stylesheet" === resource.type && 0 === (resource.state.loading & 3) ?
|
|
9194
|
+
return "stylesheet" === resource.type && 0 === (resource.state.loading & 3) ? false : true;
|
|
9195
9195
|
}
|
|
9196
9196
|
var suspendedState = null;
|
|
9197
9197
|
function noop() {}
|
|
9198
9198
|
function suspendResource(hoistableRoot, resource, props) {
|
|
9199
9199
|
if (null === suspendedState) throw Error(formatProdErrorMessage(475));
|
|
9200
9200
|
var state = suspendedState;
|
|
9201
|
-
if ("stylesheet" === resource.type && ("string" !== typeof props.media ||
|
|
9201
|
+
if ("stylesheet" === resource.type && ("string" !== typeof props.media || false !== matchMedia(props.media).matches) && 0 === (resource.state.loading & 4)) {
|
|
9202
9202
|
if (null === resource.instance) {
|
|
9203
9203
|
var key = getStyleKey(props.href),
|
|
9204
9204
|
instance = hoistableRoot.querySelector(getStylesheetSelectorFromKey(key));
|
|
@@ -9317,7 +9317,7 @@ function requireReactDomClient_production() {
|
|
|
9317
9317
|
function createFiberRoot(containerInfo, tag, hydrate, initialChildren, hydrationCallbacks, isStrictMode, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transitionCallbacks, formState) {
|
|
9318
9318
|
containerInfo = new FiberRootNode(containerInfo, tag, hydrate, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, formState);
|
|
9319
9319
|
tag = 1;
|
|
9320
|
-
|
|
9320
|
+
true === isStrictMode && (tag |= 24);
|
|
9321
9321
|
isStrictMode = createFiberImplClass(3, null, null, tag);
|
|
9322
9322
|
containerInfo.current = isStrictMode;
|
|
9323
9323
|
isStrictMode.stateNode = containerInfo;
|
|
@@ -9345,7 +9345,7 @@ function requireReactDomClient_production() {
|
|
|
9345
9345
|
container.payload = {
|
|
9346
9346
|
element: element
|
|
9347
9347
|
};
|
|
9348
|
-
callback =
|
|
9348
|
+
callback = undefined === callback ? null : callback;
|
|
9349
9349
|
null !== callback && (container.callback = callback);
|
|
9350
9350
|
element = enqueueUpdate(rootFiber, container, lane);
|
|
9351
9351
|
null !== element && (scheduleUpdateOnFiber(element, rootFiber, lane), entangleTransitions(element, rootFiber, lane));
|
|
@@ -9368,7 +9368,7 @@ function requireReactDomClient_production() {
|
|
|
9368
9368
|
markRetryLaneIfNotHydrated(fiber, 67108864);
|
|
9369
9369
|
}
|
|
9370
9370
|
}
|
|
9371
|
-
var _enabled =
|
|
9371
|
+
var _enabled = true;
|
|
9372
9372
|
function dispatchDiscreteEvent(domEventName, eventSystemFlags, container, nativeEvent) {
|
|
9373
9373
|
var prevTransition = ReactSharedInternals.T;
|
|
9374
9374
|
ReactSharedInternals.T = null;
|
|
@@ -9543,7 +9543,7 @@ function requireReactDomClient_production() {
|
|
|
9543
9543
|
return 32;
|
|
9544
9544
|
}
|
|
9545
9545
|
}
|
|
9546
|
-
var hasScheduledReplayAttempt =
|
|
9546
|
+
var hasScheduledReplayAttempt = false,
|
|
9547
9547
|
queuedFocus = null,
|
|
9548
9548
|
queuedDrag = null,
|
|
9549
9549
|
queuedMouse = null,
|
|
@@ -9590,19 +9590,19 @@ function requireReactDomClient_production() {
|
|
|
9590
9590
|
function queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) {
|
|
9591
9591
|
switch (domEventName) {
|
|
9592
9592
|
case "focusin":
|
|
9593
|
-
return queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(queuedFocus, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent),
|
|
9593
|
+
return queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(queuedFocus, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), true;
|
|
9594
9594
|
case "dragenter":
|
|
9595
|
-
return queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(queuedDrag, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent),
|
|
9595
|
+
return queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(queuedDrag, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), true;
|
|
9596
9596
|
case "mouseover":
|
|
9597
|
-
return queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(queuedMouse, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent),
|
|
9597
|
+
return queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(queuedMouse, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent), true;
|
|
9598
9598
|
case "pointerover":
|
|
9599
9599
|
var pointerId = nativeEvent.pointerId;
|
|
9600
9600
|
queuedPointers.set(pointerId, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointers.get(pointerId) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent));
|
|
9601
|
-
return
|
|
9601
|
+
return true;
|
|
9602
9602
|
case "gotpointercapture":
|
|
9603
|
-
return pointerId = nativeEvent.pointerId, queuedPointerCaptures.set(pointerId, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointerCaptures.get(pointerId) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent)),
|
|
9603
|
+
return pointerId = nativeEvent.pointerId, queuedPointerCaptures.set(pointerId, accumulateOrCreateContinuousQueuedReplayableEvent(queuedPointerCaptures.get(pointerId) || null, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent)), true;
|
|
9604
9604
|
}
|
|
9605
|
-
return
|
|
9605
|
+
return false;
|
|
9606
9606
|
}
|
|
9607
9607
|
function attemptExplicitHydrationTarget(queuedTarget) {
|
|
9608
9608
|
var targetInst = getClosestInstanceFromNode(queuedTarget.target);
|
|
@@ -9629,7 +9629,7 @@ function requireReactDomClient_production() {
|
|
|
9629
9629
|
queuedTarget.blockedOn = null;
|
|
9630
9630
|
}
|
|
9631
9631
|
function attemptReplayContinuousQueuedEvent(queuedEvent) {
|
|
9632
|
-
if (null !== queuedEvent.blockedOn) return
|
|
9632
|
+
if (null !== queuedEvent.blockedOn) return false;
|
|
9633
9633
|
for (var targetContainers = queuedEvent.targetContainers; 0 < targetContainers.length;) {
|
|
9634
9634
|
var nextBlockedOn = findInstanceBlockingEvent(queuedEvent.nativeEvent);
|
|
9635
9635
|
if (null === nextBlockedOn) {
|
|
@@ -9638,16 +9638,16 @@ function requireReactDomClient_production() {
|
|
|
9638
9638
|
currentReplayingEvent = nativeEventClone;
|
|
9639
9639
|
nextBlockedOn.target.dispatchEvent(nativeEventClone);
|
|
9640
9640
|
currentReplayingEvent = null;
|
|
9641
|
-
} else return targetContainers = getInstanceFromNode(nextBlockedOn), null !== targetContainers && attemptContinuousHydration(targetContainers), queuedEvent.blockedOn = nextBlockedOn,
|
|
9641
|
+
} else return targetContainers = getInstanceFromNode(nextBlockedOn), null !== targetContainers && attemptContinuousHydration(targetContainers), queuedEvent.blockedOn = nextBlockedOn, false;
|
|
9642
9642
|
targetContainers.shift();
|
|
9643
9643
|
}
|
|
9644
|
-
return
|
|
9644
|
+
return true;
|
|
9645
9645
|
}
|
|
9646
9646
|
function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) {
|
|
9647
9647
|
attemptReplayContinuousQueuedEvent(queuedEvent) && map.delete(key);
|
|
9648
9648
|
}
|
|
9649
9649
|
function replayUnblockedEvents() {
|
|
9650
|
-
hasScheduledReplayAttempt =
|
|
9650
|
+
hasScheduledReplayAttempt = false;
|
|
9651
9651
|
null !== queuedFocus && attemptReplayContinuousQueuedEvent(queuedFocus) && (queuedFocus = null);
|
|
9652
9652
|
null !== queuedDrag && attemptReplayContinuousQueuedEvent(queuedDrag) && (queuedDrag = null);
|
|
9653
9653
|
null !== queuedMouse && attemptReplayContinuousQueuedEvent(queuedMouse) && (queuedMouse = null);
|
|
@@ -9655,7 +9655,7 @@ function requireReactDomClient_production() {
|
|
|
9655
9655
|
queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);
|
|
9656
9656
|
}
|
|
9657
9657
|
function scheduleCallbackIfUnblocked(queuedEvent, unblocked) {
|
|
9658
|
-
queuedEvent.blockedOn === unblocked && (queuedEvent.blockedOn = null, hasScheduledReplayAttempt || (hasScheduledReplayAttempt =
|
|
9658
|
+
queuedEvent.blockedOn === unblocked && (queuedEvent.blockedOn = null, hasScheduledReplayAttempt || (hasScheduledReplayAttempt = true, Scheduler.unstable_scheduleCallback(Scheduler.unstable_NormalPriority, replayUnblockedEvents)));
|
|
9659
9659
|
}
|
|
9660
9660
|
var lastScheduledReplayQueue = null;
|
|
9661
9661
|
function scheduleReplayQueueIfNeeded(formReplayingQueue) {
|
|
@@ -9668,7 +9668,7 @@ function requireReactDomClient_production() {
|
|
|
9668
9668
|
if ("function" !== typeof submitterOrAction) if (null === findInstanceBlockingTarget(submitterOrAction || form)) continue;else break;
|
|
9669
9669
|
var formInst = getInstanceFromNode(form);
|
|
9670
9670
|
null !== formInst && (formReplayingQueue.splice(i, 3), i -= 3, startHostTransition(formInst, {
|
|
9671
|
-
pending:
|
|
9671
|
+
pending: true,
|
|
9672
9672
|
data: formData,
|
|
9673
9673
|
method: form.method,
|
|
9674
9674
|
action: submitterOrAction
|
|
@@ -9748,7 +9748,7 @@ function requireReactDomClient_production() {
|
|
|
9748
9748
|
if ("19.0.0" !== isomorphicReactPackageVersion$jscomp$inline_1686) throw Error(formatProdErrorMessage(527, isomorphicReactPackageVersion$jscomp$inline_1686, "19.0.0"));
|
|
9749
9749
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
9750
9750
|
var fiber = componentOrElement._reactInternals;
|
|
9751
|
-
if (
|
|
9751
|
+
if (undefined === fiber) {
|
|
9752
9752
|
if ("function" === typeof componentOrElement.render) throw Error(formatProdErrorMessage(188));
|
|
9753
9753
|
componentOrElement = Object.keys(componentOrElement).join(",");
|
|
9754
9754
|
throw Error(formatProdErrorMessage(268, componentOrElement));
|
|
@@ -9774,29 +9774,29 @@ function requireReactDomClient_production() {
|
|
|
9774
9774
|
}
|
|
9775
9775
|
reactDomClient_production.createRoot = function (container, options) {
|
|
9776
9776
|
if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299));
|
|
9777
|
-
var isStrictMode =
|
|
9777
|
+
var isStrictMode = false,
|
|
9778
9778
|
identifierPrefix = "",
|
|
9779
9779
|
onUncaughtError = defaultOnUncaughtError,
|
|
9780
9780
|
onCaughtError = defaultOnCaughtError,
|
|
9781
9781
|
onRecoverableError = defaultOnRecoverableError,
|
|
9782
9782
|
transitionCallbacks = null;
|
|
9783
|
-
null !== options &&
|
|
9784
|
-
options = createFiberRoot(container, 1,
|
|
9783
|
+
null !== options && undefined !== options && (true === options.unstable_strictMode && (isStrictMode = true), undefined !== options.identifierPrefix && (identifierPrefix = options.identifierPrefix), undefined !== options.onUncaughtError && (onUncaughtError = options.onUncaughtError), undefined !== options.onCaughtError && (onCaughtError = options.onCaughtError), undefined !== options.onRecoverableError && (onRecoverableError = options.onRecoverableError), undefined !== options.unstable_transitionCallbacks && (transitionCallbacks = options.unstable_transitionCallbacks));
|
|
9784
|
+
options = createFiberRoot(container, 1, false, null, null, isStrictMode, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transitionCallbacks, null);
|
|
9785
9785
|
container[internalContainerInstanceKey] = options.current;
|
|
9786
9786
|
listenToAllSupportedEvents(8 === container.nodeType ? container.parentNode : container);
|
|
9787
9787
|
return new ReactDOMRoot(options);
|
|
9788
9788
|
};
|
|
9789
9789
|
reactDomClient_production.hydrateRoot = function (container, initialChildren, options) {
|
|
9790
9790
|
if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299));
|
|
9791
|
-
var isStrictMode =
|
|
9791
|
+
var isStrictMode = false,
|
|
9792
9792
|
identifierPrefix = "",
|
|
9793
9793
|
onUncaughtError = defaultOnUncaughtError,
|
|
9794
9794
|
onCaughtError = defaultOnCaughtError,
|
|
9795
9795
|
onRecoverableError = defaultOnRecoverableError,
|
|
9796
9796
|
transitionCallbacks = null,
|
|
9797
9797
|
formState = null;
|
|
9798
|
-
null !== options &&
|
|
9799
|
-
initialChildren = createFiberRoot(container, 1,
|
|
9798
|
+
null !== options && undefined !== options && (true === options.unstable_strictMode && (isStrictMode = true), undefined !== options.identifierPrefix && (identifierPrefix = options.identifierPrefix), undefined !== options.onUncaughtError && (onUncaughtError = options.onUncaughtError), undefined !== options.onCaughtError && (onCaughtError = options.onCaughtError), undefined !== options.onRecoverableError && (onRecoverableError = options.onRecoverableError), undefined !== options.unstable_transitionCallbacks && (transitionCallbacks = options.unstable_transitionCallbacks), undefined !== options.formState && (formState = options.formState));
|
|
9799
|
+
initialChildren = createFiberRoot(container, 1, true, initialChildren, null != options ? options : null, isStrictMode, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transitionCallbacks, formState);
|
|
9800
9800
|
initialChildren.context = getContextForSubtree(null);
|
|
9801
9801
|
options = initialChildren.current;
|
|
9802
9802
|
isStrictMode = requestUpdateLane();
|