react-dom 19.2.0-canary-38ef6550-20250508 → 19.2.0-canary-21fdf308-20250508
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/cjs/react-dom-client.development.js +125 -124
- package/cjs/react-dom-client.production.js +34 -37
- package/cjs/react-dom-profiling.development.js +132 -136
- package/cjs/react-dom-profiling.profiling.js +45 -49
- package/cjs/react-dom-server-legacy.browser.development.js +9 -12
- package/cjs/react-dom-server-legacy.browser.production.js +9 -11
- package/cjs/react-dom-server-legacy.node.development.js +9 -12
- package/cjs/react-dom-server-legacy.node.production.js +9 -11
- package/cjs/react-dom-server.browser.development.js +11 -14
- package/cjs/react-dom-server.browser.production.js +11 -13
- package/cjs/react-dom-server.bun.development.js +11 -13
- package/cjs/react-dom-server.bun.production.js +11 -13
- package/cjs/react-dom-server.edge.development.js +11 -14
- package/cjs/react-dom-server.edge.production.js +11 -13
- package/cjs/react-dom-server.node.development.js +11 -14
- package/cjs/react-dom-server.node.production.js +11 -13
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -1497,6 +1497,7 @@ function sanitizeURL(url) {
|
|
1497
1497
|
? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"
|
1498
1498
|
: url;
|
1499
1499
|
}
|
1500
|
+
function noop$1() {}
|
1500
1501
|
var currentReplayingEvent = null;
|
1501
1502
|
function getEventTarget(nativeEvent) {
|
1502
1503
|
nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;
|
@@ -2877,7 +2878,7 @@ function prepareToHydrateHostInstance(fiber) {
|
|
2877
2878
|
null != props.onScroll && listenToNonDelegatedEvent("scroll", instance),
|
2878
2879
|
null != props.onScrollEnd &&
|
2879
2880
|
listenToNonDelegatedEvent("scrollend", instance),
|
2880
|
-
null != props.onClick && (instance.onclick = noop$
|
2881
|
+
null != props.onClick && (instance.onclick = noop$1),
|
2881
2882
|
(instance = !0))
|
2882
2883
|
: (instance = !1);
|
2883
2884
|
instance || throwOnHydrationMismatch(fiber, !0);
|
@@ -3328,12 +3329,11 @@ function isThenableResolved(thenable) {
|
|
3328
3329
|
thenable = thenable.status;
|
3329
3330
|
return "fulfilled" === thenable || "rejected" === thenable;
|
3330
3331
|
}
|
3331
|
-
function noop$4() {}
|
3332
3332
|
function trackUsedThenable(thenableState, thenable, index) {
|
3333
3333
|
index = thenableState[index];
|
3334
3334
|
void 0 === index
|
3335
3335
|
? thenableState.push(thenable)
|
3336
|
-
: index !== thenable && (thenable.then(noop$
|
3336
|
+
: index !== thenable && (thenable.then(noop$1, noop$1), (thenable = index));
|
3337
3337
|
switch (thenable.status) {
|
3338
3338
|
case "fulfilled":
|
3339
3339
|
return thenable.value;
|
@@ -3344,7 +3344,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
3344
3344
|
thenableState)
|
3345
3345
|
);
|
3346
3346
|
default:
|
3347
|
-
if ("string" === typeof thenable.status) thenable.then(noop$
|
3347
|
+
if ("string" === typeof thenable.status) thenable.then(noop$1, noop$1);
|
3348
3348
|
else {
|
3349
3349
|
thenableState = workInProgressRoot;
|
3350
3350
|
if (null !== thenableState && 100 < thenableState.shellSuspendCounter)
|
@@ -5348,7 +5348,7 @@ function startTransition(fiber, queue, pendingState, finishedState, callback) {
|
|
5348
5348
|
(ReactSharedInternals.T = prevTransition);
|
5349
5349
|
}
|
5350
5350
|
}
|
5351
|
-
function noop
|
5351
|
+
function noop() {}
|
5352
5352
|
function startHostTransition(formFiber, pendingState, action, formData) {
|
5353
5353
|
if (5 !== formFiber.tag) throw Error(formatProdErrorMessage(476));
|
5354
5354
|
var queue = ensureFormComponentIsStateful(formFiber).queue;
|
@@ -5358,7 +5358,7 @@ function startHostTransition(formFiber, pendingState, action, formData) {
|
|
5358
5358
|
pendingState,
|
5359
5359
|
sharedNotPendingObject,
|
5360
5360
|
null === action
|
5361
|
-
? noop
|
5361
|
+
? noop
|
5362
5362
|
: function () {
|
5363
5363
|
requestFormReset$2(formFiber);
|
5364
5364
|
return action(formData);
|
@@ -9152,7 +9152,7 @@ function insertOrAppendPlacementNodeIntoContainer(node, before, parent) {
|
|
9152
9152
|
(parent = parent._reactRootContainer),
|
9153
9153
|
(null !== parent && void 0 !== parent) ||
|
9154
9154
|
null !== before.onclick ||
|
9155
|
-
(before.onclick = noop$
|
9155
|
+
(before.onclick = noop$1));
|
9156
9156
|
else if (
|
9157
9157
|
4 !== tag &&
|
9158
9158
|
(27 === tag &&
|
@@ -13487,7 +13487,6 @@ function checkForUnmatchedText(serverText, clientText) {
|
|
13487
13487
|
clientText = normalizeMarkupForTextOrAttribute(clientText);
|
13488
13488
|
return normalizeMarkupForTextOrAttribute(serverText) === clientText ? !0 : !1;
|
13489
13489
|
}
|
13490
|
-
function noop$2() {}
|
13491
13490
|
function setProp(domElement, tag, key, value, props, prevValue) {
|
13492
13491
|
switch (key) {
|
13493
13492
|
case "children":
|
@@ -13590,7 +13589,7 @@ function setProp(domElement, tag, key, value, props, prevValue) {
|
|
13590
13589
|
domElement.setAttribute(key, value);
|
13591
13590
|
break;
|
13592
13591
|
case "onClick":
|
13593
|
-
null != value && (domElement.onclick = noop$
|
13592
|
+
null != value && (domElement.onclick = noop$1);
|
13594
13593
|
break;
|
13595
13594
|
case "onScroll":
|
13596
13595
|
null != value && listenToNonDelegatedEvent("scroll", domElement);
|
@@ -13836,7 +13835,7 @@ function setPropOnCustomElement(domElement, tag, key, value, props, prevValue) {
|
|
13836
13835
|
null != value && listenToNonDelegatedEvent("scrollend", domElement);
|
13837
13836
|
break;
|
13838
13837
|
case "onClick":
|
13839
|
-
null != value && (domElement.onclick = noop$
|
13838
|
+
null != value && (domElement.onclick = noop$1);
|
13840
13839
|
break;
|
13841
13840
|
case "suppressContentEditableWarning":
|
13842
13841
|
case "suppressHydrationWarning":
|
@@ -15428,7 +15427,6 @@ function preloadResource(resource) {
|
|
15428
15427
|
: !0;
|
15429
15428
|
}
|
15430
15429
|
var suspendedState = null;
|
15431
|
-
function noop$1() {}
|
15432
15430
|
function suspendResource(hoistableRoot, resource, props) {
|
15433
15431
|
if (null === suspendedState) throw Error(formatProdErrorMessage(475));
|
15434
15432
|
var state = suspendedState;
|
@@ -15581,6 +15579,7 @@ function FiberRootNode(
|
|
15581
15579
|
onUncaughtError,
|
15582
15580
|
onCaughtError,
|
15583
15581
|
onRecoverableError,
|
15582
|
+
onDefaultTransitionIndicator,
|
15584
15583
|
formState
|
15585
15584
|
) {
|
15586
15585
|
this.tag = 1;
|
@@ -15627,11 +15626,11 @@ function createFiberRoot(
|
|
15627
15626
|
hydrationCallbacks,
|
15628
15627
|
isStrictMode,
|
15629
15628
|
identifierPrefix,
|
15629
|
+
formState,
|
15630
15630
|
onUncaughtError,
|
15631
15631
|
onCaughtError,
|
15632
15632
|
onRecoverableError,
|
15633
|
-
|
15634
|
-
formState
|
15633
|
+
onDefaultTransitionIndicator
|
15635
15634
|
) {
|
15636
15635
|
containerInfo = new FiberRootNode(
|
15637
15636
|
containerInfo,
|
@@ -15641,6 +15640,7 @@ function createFiberRoot(
|
|
15641
15640
|
onUncaughtError,
|
15642
15641
|
onCaughtError,
|
15643
15642
|
onRecoverableError,
|
15643
|
+
onDefaultTransitionIndicator,
|
15644
15644
|
formState
|
15645
15645
|
);
|
15646
15646
|
tag = 1;
|
@@ -16297,6 +16297,9 @@ function retryIfBlockedOn(unblocked) {
|
|
16297
16297
|
}
|
16298
16298
|
}
|
16299
16299
|
}
|
16300
|
+
function defaultOnDefaultTransitionIndicator() {
|
16301
|
+
return function () {};
|
16302
|
+
}
|
16300
16303
|
function ReactDOMRoot(internalRoot) {
|
16301
16304
|
this._internalRoot = internalRoot;
|
16302
16305
|
}
|
@@ -16337,16 +16340,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
16337
16340
|
0 === i && attemptExplicitHydrationTarget(target);
|
16338
16341
|
}
|
16339
16342
|
};
|
16340
|
-
var isomorphicReactPackageVersion$jscomp$
|
16343
|
+
var isomorphicReactPackageVersion$jscomp$inline_1953 = React.version;
|
16341
16344
|
if (
|
16342
|
-
"19.2.0-canary-
|
16343
|
-
isomorphicReactPackageVersion$jscomp$
|
16345
|
+
"19.2.0-canary-21fdf308-20250508" !==
|
16346
|
+
isomorphicReactPackageVersion$jscomp$inline_1953
|
16344
16347
|
)
|
16345
16348
|
throw Error(
|
16346
16349
|
formatProdErrorMessage(
|
16347
16350
|
527,
|
16348
|
-
isomorphicReactPackageVersion$jscomp$
|
16349
|
-
"19.2.0-canary-
|
16351
|
+
isomorphicReactPackageVersion$jscomp$inline_1953,
|
16352
|
+
"19.2.0-canary-21fdf308-20250508"
|
16350
16353
|
)
|
16351
16354
|
);
|
16352
16355
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -16366,12 +16369,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
16366
16369
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
16367
16370
|
return componentOrElement;
|
16368
16371
|
};
|
16369
|
-
var internals$jscomp$
|
16372
|
+
var internals$jscomp$inline_1960 = {
|
16370
16373
|
bundleType: 0,
|
16371
|
-
version: "19.2.0-canary-
|
16374
|
+
version: "19.2.0-canary-21fdf308-20250508",
|
16372
16375
|
rendererPackageName: "react-dom",
|
16373
16376
|
currentDispatcherRef: ReactSharedInternals,
|
16374
|
-
reconcilerVersion: "19.2.0-canary-
|
16377
|
+
reconcilerVersion: "19.2.0-canary-21fdf308-20250508",
|
16375
16378
|
getLaneLabelMap: function () {
|
16376
16379
|
for (
|
16377
16380
|
var map = new Map(), lane = 1, index$293 = 0;
|
@@ -16389,19 +16392,18 @@ var internals$jscomp$inline_1958 = {
|
|
16389
16392
|
}
|
16390
16393
|
};
|
16391
16394
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
16392
|
-
var hook$jscomp$
|
16395
|
+
var hook$jscomp$inline_2414 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
16393
16396
|
if (
|
16394
|
-
!hook$jscomp$
|
16395
|
-
hook$jscomp$
|
16397
|
+
!hook$jscomp$inline_2414.isDisabled &&
|
16398
|
+
hook$jscomp$inline_2414.supportsFiber
|
16396
16399
|
)
|
16397
16400
|
try {
|
16398
|
-
(rendererID = hook$jscomp$
|
16399
|
-
internals$jscomp$
|
16401
|
+
(rendererID = hook$jscomp$inline_2414.inject(
|
16402
|
+
internals$jscomp$inline_1960
|
16400
16403
|
)),
|
16401
|
-
(injectedHook = hook$jscomp$
|
16404
|
+
(injectedHook = hook$jscomp$inline_2414);
|
16402
16405
|
} catch (err) {}
|
16403
16406
|
}
|
16404
|
-
function noop() {}
|
16405
16407
|
function getCrossOriginStringAs(as, input) {
|
16406
16408
|
if ("font" === as) return "";
|
16407
16409
|
if ("string" === typeof input)
|
@@ -16409,17 +16411,17 @@ function getCrossOriginStringAs(as, input) {
|
|
16409
16411
|
}
|
16410
16412
|
exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = {
|
16411
16413
|
d: {
|
16412
|
-
f: noop,
|
16414
|
+
f: noop$1,
|
16413
16415
|
r: function () {
|
16414
16416
|
throw Error(formatProdErrorMessage(522));
|
16415
16417
|
},
|
16416
|
-
D: noop,
|
16417
|
-
C: noop,
|
16418
|
-
L: noop,
|
16419
|
-
m: noop,
|
16420
|
-
X: noop,
|
16421
|
-
S: noop,
|
16422
|
-
M: noop
|
16418
|
+
D: noop$1,
|
16419
|
+
C: noop$1,
|
16420
|
+
L: noop$1,
|
16421
|
+
m: noop$1,
|
16422
|
+
X: noop$1,
|
16423
|
+
S: noop$1,
|
16424
|
+
M: noop$1
|
16423
16425
|
},
|
16424
16426
|
p: 0,
|
16425
16427
|
findDOMNode: null
|
@@ -16436,8 +16438,7 @@ exports.createRoot = function (container, options) {
|
|
16436
16438
|
identifierPrefix = "",
|
16437
16439
|
onUncaughtError = defaultOnUncaughtError,
|
16438
16440
|
onCaughtError = defaultOnCaughtError,
|
16439
|
-
onRecoverableError = defaultOnRecoverableError
|
16440
|
-
transitionCallbacks = null;
|
16441
|
+
onRecoverableError = defaultOnRecoverableError;
|
16441
16442
|
null !== options &&
|
16442
16443
|
void 0 !== options &&
|
16443
16444
|
(!0 === options.unstable_strictMode && (isStrictMode = !0),
|
@@ -16447,9 +16448,7 @@ exports.createRoot = function (container, options) {
|
|
16447
16448
|
(onUncaughtError = options.onUncaughtError),
|
16448
16449
|
void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
|
16449
16450
|
void 0 !== options.onRecoverableError &&
|
16450
|
-
(onRecoverableError = options.onRecoverableError)
|
16451
|
-
void 0 !== options.unstable_transitionCallbacks &&
|
16452
|
-
(transitionCallbacks = options.unstable_transitionCallbacks));
|
16451
|
+
(onRecoverableError = options.onRecoverableError));
|
16453
16452
|
options = createFiberRoot(
|
16454
16453
|
container,
|
16455
16454
|
1,
|
@@ -16458,11 +16457,11 @@ exports.createRoot = function (container, options) {
|
|
16458
16457
|
null,
|
16459
16458
|
isStrictMode,
|
16460
16459
|
identifierPrefix,
|
16460
|
+
null,
|
16461
16461
|
onUncaughtError,
|
16462
16462
|
onCaughtError,
|
16463
16463
|
onRecoverableError,
|
16464
|
-
|
16465
|
-
null
|
16464
|
+
defaultOnDefaultTransitionIndicator
|
16466
16465
|
);
|
16467
16466
|
container[internalContainerInstanceKey] = options.current;
|
16468
16467
|
listenToAllSupportedEvents(container);
|
@@ -16487,7 +16486,6 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
16487
16486
|
onUncaughtError = defaultOnUncaughtError,
|
16488
16487
|
onCaughtError = defaultOnCaughtError,
|
16489
16488
|
onRecoverableError = defaultOnRecoverableError,
|
16490
|
-
transitionCallbacks = null,
|
16491
16489
|
formState = null;
|
16492
16490
|
null !== options &&
|
16493
16491
|
void 0 !== options &&
|
@@ -16499,8 +16497,6 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
16499
16497
|
void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),
|
16500
16498
|
void 0 !== options.onRecoverableError &&
|
16501
16499
|
(onRecoverableError = options.onRecoverableError),
|
16502
|
-
void 0 !== options.unstable_transitionCallbacks &&
|
16503
|
-
(transitionCallbacks = options.unstable_transitionCallbacks),
|
16504
16500
|
void 0 !== options.formState && (formState = options.formState));
|
16505
16501
|
initialChildren = createFiberRoot(
|
16506
16502
|
container,
|
@@ -16510,11 +16506,11 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
16510
16506
|
null != options ? options : null,
|
16511
16507
|
isStrictMode,
|
16512
16508
|
identifierPrefix,
|
16509
|
+
formState,
|
16513
16510
|
onUncaughtError,
|
16514
16511
|
onCaughtError,
|
16515
16512
|
onRecoverableError,
|
16516
|
-
|
16517
|
-
formState
|
16513
|
+
defaultOnDefaultTransitionIndicator
|
16518
16514
|
);
|
16519
16515
|
initialChildren.context = getContextForSubtree(null);
|
16520
16516
|
options = initialChildren.current;
|
@@ -16651,7 +16647,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
16651
16647
|
exports.useFormStatus = function () {
|
16652
16648
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
16653
16649
|
};
|
16654
|
-
exports.version = "19.2.0-canary-
|
16650
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
16655
16651
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
16656
16652
|
"function" ===
|
16657
16653
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
@@ -3698,13 +3698,12 @@
|
|
3698
3698
|
x >>>= 0;
|
3699
3699
|
return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
|
3700
3700
|
}
|
3701
|
-
function noop
|
3701
|
+
function noop() {}
|
3702
3702
|
function trackUsedThenable(thenableState, thenable, index) {
|
3703
3703
|
index = thenableState[index];
|
3704
3704
|
void 0 === index
|
3705
3705
|
? thenableState.push(thenable)
|
3706
|
-
: index !== thenable &&
|
3707
|
-
(thenable.then(noop$2, noop$2), (thenable = index));
|
3706
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
3708
3707
|
switch (thenable.status) {
|
3709
3708
|
case "fulfilled":
|
3710
3709
|
return thenable.value;
|
@@ -3712,7 +3711,7 @@
|
|
3712
3711
|
throw thenable.reason;
|
3713
3712
|
default:
|
3714
3713
|
"string" === typeof thenable.status
|
3715
|
-
? thenable.then(noop
|
3714
|
+
? thenable.then(noop, noop)
|
3716
3715
|
: ((thenableState = thenable),
|
3717
3716
|
(thenableState.status = "pending"),
|
3718
3717
|
thenableState.then(
|
@@ -3998,7 +3997,6 @@
|
|
3998
3997
|
function unsupportedRefresh() {
|
3999
3998
|
throw Error("Cache cannot be refreshed during server rendering.");
|
4000
3999
|
}
|
4001
|
-
function noop$1() {}
|
4002
4000
|
function disabledLog() {}
|
4003
4001
|
function disableLogs() {
|
4004
4002
|
if (0 === disabledDepth) {
|
@@ -4300,7 +4298,6 @@
|
|
4300
4298
|
} else console.error(error);
|
4301
4299
|
return null;
|
4302
4300
|
}
|
4303
|
-
function noop() {}
|
4304
4301
|
function RequestInstance(
|
4305
4302
|
resumableState,
|
4306
4303
|
renderState,
|
@@ -8988,16 +8985,16 @@
|
|
8988
8985
|
currentHookNameInDev = "useState";
|
8989
8986
|
return useReducer(basicStateReducer, initialState);
|
8990
8987
|
},
|
8991
|
-
useInsertionEffect: noop
|
8992
|
-
useLayoutEffect: noop
|
8988
|
+
useInsertionEffect: noop,
|
8989
|
+
useLayoutEffect: noop,
|
8993
8990
|
useCallback: function (callback, deps) {
|
8994
8991
|
return useMemo(function () {
|
8995
8992
|
return callback;
|
8996
8993
|
}, deps);
|
8997
8994
|
},
|
8998
|
-
useImperativeHandle: noop
|
8999
|
-
useEffect: noop
|
9000
|
-
useDebugValue: noop
|
8995
|
+
useImperativeHandle: noop,
|
8996
|
+
useEffect: noop,
|
8997
|
+
useDebugValue: noop,
|
9001
8998
|
useDeferredValue: function (value, initialValue) {
|
9002
8999
|
resolveCurrentlyRenderingComponent();
|
9003
9000
|
return void 0 !== initialValue ? initialValue : value;
|
@@ -9146,5 +9143,5 @@
|
|
9146
9143
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
9147
9144
|
);
|
9148
9145
|
};
|
9149
|
-
exports.version = "19.2.0-canary-
|
9146
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
9150
9147
|
})();
|
@@ -2985,13 +2985,13 @@ function clz32Fallback(x) {
|
|
2985
2985
|
x >>>= 0;
|
2986
2986
|
return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
|
2987
2987
|
}
|
2988
|
+
function noop() {}
|
2988
2989
|
var SuspenseException = Error(formatProdErrorMessage(460));
|
2989
|
-
function noop$2() {}
|
2990
2990
|
function trackUsedThenable(thenableState, thenable, index) {
|
2991
2991
|
index = thenableState[index];
|
2992
2992
|
void 0 === index
|
2993
2993
|
? thenableState.push(thenable)
|
2994
|
-
: index !== thenable && (thenable.then(noop
|
2994
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
2995
2995
|
switch (thenable.status) {
|
2996
2996
|
case "fulfilled":
|
2997
2997
|
return thenable.value;
|
@@ -2999,7 +2999,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
2999
2999
|
throw thenable.reason;
|
3000
3000
|
default:
|
3001
3001
|
"string" === typeof thenable.status
|
3002
|
-
? thenable.then(noop
|
3002
|
+
? thenable.then(noop, noop)
|
3003
3003
|
: ((thenableState = thenable),
|
3004
3004
|
(thenableState.status = "pending"),
|
3005
3005
|
thenableState.then(
|
@@ -3247,7 +3247,6 @@ function unwrapThenable(thenable) {
|
|
3247
3247
|
function unsupportedRefresh() {
|
3248
3248
|
throw Error(formatProdErrorMessage(393));
|
3249
3249
|
}
|
3250
|
-
function noop$1() {}
|
3251
3250
|
var HooksDispatcher = {
|
3252
3251
|
readContext: function (context) {
|
3253
3252
|
return context._currentValue2;
|
@@ -3278,16 +3277,16 @@ var HooksDispatcher = {
|
|
3278
3277
|
useState: function (initialState) {
|
3279
3278
|
return useReducer(basicStateReducer, initialState);
|
3280
3279
|
},
|
3281
|
-
useInsertionEffect: noop
|
3282
|
-
useLayoutEffect: noop
|
3280
|
+
useInsertionEffect: noop,
|
3281
|
+
useLayoutEffect: noop,
|
3283
3282
|
useCallback: function (callback, deps) {
|
3284
3283
|
return useMemo(function () {
|
3285
3284
|
return callback;
|
3286
3285
|
}, deps);
|
3287
3286
|
},
|
3288
|
-
useImperativeHandle: noop
|
3289
|
-
useEffect: noop
|
3290
|
-
useDebugValue: noop
|
3287
|
+
useImperativeHandle: noop,
|
3288
|
+
useEffect: noop,
|
3289
|
+
useDebugValue: noop,
|
3291
3290
|
useDeferredValue: function (value, initialValue) {
|
3292
3291
|
resolveCurrentlyRenderingComponent();
|
3293
3292
|
return void 0 !== initialValue ? initialValue : value;
|
@@ -3556,7 +3555,6 @@ function defaultErrorHandler(error) {
|
|
3556
3555
|
} else console.error(error);
|
3557
3556
|
return null;
|
3558
3557
|
}
|
3559
|
-
function noop() {}
|
3560
3558
|
function RequestInstance(
|
3561
3559
|
resumableState,
|
3562
3560
|
renderState,
|
@@ -5989,4 +5987,4 @@ exports.renderToString = function (children, options) {
|
|
5989
5987
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
5990
5988
|
);
|
5991
5989
|
};
|
5992
|
-
exports.version = "19.2.0-canary-
|
5990
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
@@ -3698,13 +3698,12 @@
|
|
3698
3698
|
x >>>= 0;
|
3699
3699
|
return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
|
3700
3700
|
}
|
3701
|
-
function noop
|
3701
|
+
function noop() {}
|
3702
3702
|
function trackUsedThenable(thenableState, thenable, index) {
|
3703
3703
|
index = thenableState[index];
|
3704
3704
|
void 0 === index
|
3705
3705
|
? thenableState.push(thenable)
|
3706
|
-
: index !== thenable &&
|
3707
|
-
(thenable.then(noop$2, noop$2), (thenable = index));
|
3706
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
3708
3707
|
switch (thenable.status) {
|
3709
3708
|
case "fulfilled":
|
3710
3709
|
return thenable.value;
|
@@ -3712,7 +3711,7 @@
|
|
3712
3711
|
throw thenable.reason;
|
3713
3712
|
default:
|
3714
3713
|
"string" === typeof thenable.status
|
3715
|
-
? thenable.then(noop
|
3714
|
+
? thenable.then(noop, noop)
|
3716
3715
|
: ((thenableState = thenable),
|
3717
3716
|
(thenableState.status = "pending"),
|
3718
3717
|
thenableState.then(
|
@@ -3998,7 +3997,6 @@
|
|
3998
3997
|
function unsupportedRefresh() {
|
3999
3998
|
throw Error("Cache cannot be refreshed during server rendering.");
|
4000
3999
|
}
|
4001
|
-
function noop$1() {}
|
4002
4000
|
function disabledLog() {}
|
4003
4001
|
function disableLogs() {
|
4004
4002
|
if (0 === disabledDepth) {
|
@@ -4300,7 +4298,6 @@
|
|
4300
4298
|
} else console.error(error);
|
4301
4299
|
return null;
|
4302
4300
|
}
|
4303
|
-
function noop() {}
|
4304
4301
|
function RequestInstance(
|
4305
4302
|
resumableState,
|
4306
4303
|
renderState,
|
@@ -8988,16 +8985,16 @@
|
|
8988
8985
|
currentHookNameInDev = "useState";
|
8989
8986
|
return useReducer(basicStateReducer, initialState);
|
8990
8987
|
},
|
8991
|
-
useInsertionEffect: noop
|
8992
|
-
useLayoutEffect: noop
|
8988
|
+
useInsertionEffect: noop,
|
8989
|
+
useLayoutEffect: noop,
|
8993
8990
|
useCallback: function (callback, deps) {
|
8994
8991
|
return useMemo(function () {
|
8995
8992
|
return callback;
|
8996
8993
|
}, deps);
|
8997
8994
|
},
|
8998
|
-
useImperativeHandle: noop
|
8999
|
-
useEffect: noop
|
9000
|
-
useDebugValue: noop
|
8995
|
+
useImperativeHandle: noop,
|
8996
|
+
useEffect: noop,
|
8997
|
+
useDebugValue: noop,
|
9001
8998
|
useDeferredValue: function (value, initialValue) {
|
9002
8999
|
resolveCurrentlyRenderingComponent();
|
9003
9000
|
return void 0 !== initialValue ? initialValue : value;
|
@@ -9146,5 +9143,5 @@
|
|
9146
9143
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
9147
9144
|
);
|
9148
9145
|
};
|
9149
|
-
exports.version = "19.2.0-canary-
|
9146
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
9150
9147
|
})();
|
@@ -3016,15 +3016,15 @@ function clz32Fallback(x) {
|
|
3016
3016
|
x >>>= 0;
|
3017
3017
|
return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
|
3018
3018
|
}
|
3019
|
+
function noop() {}
|
3019
3020
|
var SuspenseException = Error(
|
3020
3021
|
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
3021
3022
|
);
|
3022
|
-
function noop$2() {}
|
3023
3023
|
function trackUsedThenable(thenableState, thenable, index) {
|
3024
3024
|
index = thenableState[index];
|
3025
3025
|
void 0 === index
|
3026
3026
|
? thenableState.push(thenable)
|
3027
|
-
: index !== thenable && (thenable.then(noop
|
3027
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
3028
3028
|
switch (thenable.status) {
|
3029
3029
|
case "fulfilled":
|
3030
3030
|
return thenable.value;
|
@@ -3032,7 +3032,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
3032
3032
|
throw thenable.reason;
|
3033
3033
|
default:
|
3034
3034
|
"string" === typeof thenable.status
|
3035
|
-
? thenable.then(noop
|
3035
|
+
? thenable.then(noop, noop)
|
3036
3036
|
: ((thenableState = thenable),
|
3037
3037
|
(thenableState.status = "pending"),
|
3038
3038
|
thenableState.then(
|
@@ -3289,7 +3289,6 @@ function unwrapThenable(thenable) {
|
|
3289
3289
|
function unsupportedRefresh() {
|
3290
3290
|
throw Error("Cache cannot be refreshed during server rendering.");
|
3291
3291
|
}
|
3292
|
-
function noop$1() {}
|
3293
3292
|
var HooksDispatcher = {
|
3294
3293
|
readContext: function (context) {
|
3295
3294
|
return context._currentValue2;
|
@@ -3320,16 +3319,16 @@ var HooksDispatcher = {
|
|
3320
3319
|
useState: function (initialState) {
|
3321
3320
|
return useReducer(basicStateReducer, initialState);
|
3322
3321
|
},
|
3323
|
-
useInsertionEffect: noop
|
3324
|
-
useLayoutEffect: noop
|
3322
|
+
useInsertionEffect: noop,
|
3323
|
+
useLayoutEffect: noop,
|
3325
3324
|
useCallback: function (callback, deps) {
|
3326
3325
|
return useMemo(function () {
|
3327
3326
|
return callback;
|
3328
3327
|
}, deps);
|
3329
3328
|
},
|
3330
|
-
useImperativeHandle: noop
|
3331
|
-
useEffect: noop
|
3332
|
-
useDebugValue: noop
|
3329
|
+
useImperativeHandle: noop,
|
3330
|
+
useEffect: noop,
|
3331
|
+
useDebugValue: noop,
|
3333
3332
|
useDeferredValue: function (value, initialValue) {
|
3334
3333
|
resolveCurrentlyRenderingComponent();
|
3335
3334
|
return void 0 !== initialValue ? initialValue : value;
|
@@ -3603,7 +3602,6 @@ function defaultErrorHandler(error) {
|
|
3603
3602
|
} else console.error(error);
|
3604
3603
|
return null;
|
3605
3604
|
}
|
3606
|
-
function noop() {}
|
3607
3605
|
function RequestInstance(
|
3608
3606
|
resumableState,
|
3609
3607
|
renderState,
|
@@ -6069,4 +6067,4 @@ exports.renderToString = function (children, options) {
|
|
6069
6067
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
6070
6068
|
);
|
6071
6069
|
};
|
6072
|
-
exports.version = "19.2.0-canary-
|
6070
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
@@ -3849,13 +3849,12 @@
|
|
3849
3849
|
x >>>= 0;
|
3850
3850
|
return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
|
3851
3851
|
}
|
3852
|
-
function noop
|
3852
|
+
function noop() {}
|
3853
3853
|
function trackUsedThenable(thenableState, thenable, index) {
|
3854
3854
|
index = thenableState[index];
|
3855
3855
|
void 0 === index
|
3856
3856
|
? thenableState.push(thenable)
|
3857
|
-
: index !== thenable &&
|
3858
|
-
(thenable.then(noop$2, noop$2), (thenable = index));
|
3857
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
3859
3858
|
switch (thenable.status) {
|
3860
3859
|
case "fulfilled":
|
3861
3860
|
return thenable.value;
|
@@ -3863,7 +3862,7 @@
|
|
3863
3862
|
throw thenable.reason;
|
3864
3863
|
default:
|
3865
3864
|
"string" === typeof thenable.status
|
3866
|
-
? thenable.then(noop
|
3865
|
+
? thenable.then(noop, noop)
|
3867
3866
|
: ((thenableState = thenable),
|
3868
3867
|
(thenableState.status = "pending"),
|
3869
3868
|
thenableState.then(
|
@@ -4149,7 +4148,6 @@
|
|
4149
4148
|
function unsupportedRefresh() {
|
4150
4149
|
throw Error("Cache cannot be refreshed during server rendering.");
|
4151
4150
|
}
|
4152
|
-
function noop$1() {}
|
4153
4151
|
function disabledLog() {}
|
4154
4152
|
function disableLogs() {
|
4155
4153
|
if (0 === disabledDepth) {
|
@@ -4460,7 +4458,6 @@
|
|
4460
4458
|
} else console.error(error);
|
4461
4459
|
return null;
|
4462
4460
|
}
|
4463
|
-
function noop() {}
|
4464
4461
|
function RequestInstance(
|
4465
4462
|
resumableState,
|
4466
4463
|
renderState,
|
@@ -7872,11 +7869,11 @@
|
|
7872
7869
|
}
|
7873
7870
|
function ensureCorrectIsomorphicReactVersion() {
|
7874
7871
|
var isomorphicReactPackageVersion = React.version;
|
7875
|
-
if ("19.2.0-canary-
|
7872
|
+
if ("19.2.0-canary-21fdf308-20250508" !== isomorphicReactPackageVersion)
|
7876
7873
|
throw Error(
|
7877
7874
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7878
7875
|
(isomorphicReactPackageVersion +
|
7879
|
-
"\n - react-dom: 19.2.0-canary-
|
7876
|
+
"\n - react-dom: 19.2.0-canary-21fdf308-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
|
7880
7877
|
);
|
7881
7878
|
}
|
7882
7879
|
var React = require("react"),
|
@@ -9281,16 +9278,16 @@
|
|
9281
9278
|
currentHookNameInDev = "useState";
|
9282
9279
|
return useReducer(basicStateReducer, initialState);
|
9283
9280
|
},
|
9284
|
-
useInsertionEffect: noop
|
9285
|
-
useLayoutEffect: noop
|
9281
|
+
useInsertionEffect: noop,
|
9282
|
+
useLayoutEffect: noop,
|
9286
9283
|
useCallback: function (callback, deps) {
|
9287
9284
|
return useMemo(function () {
|
9288
9285
|
return callback;
|
9289
9286
|
}, deps);
|
9290
9287
|
},
|
9291
|
-
useImperativeHandle: noop
|
9292
|
-
useEffect: noop
|
9293
|
-
useDebugValue: noop
|
9288
|
+
useImperativeHandle: noop,
|
9289
|
+
useEffect: noop,
|
9290
|
+
useDebugValue: noop,
|
9294
9291
|
useDeferredValue: function (value, initialValue) {
|
9295
9292
|
resolveCurrentlyRenderingComponent();
|
9296
9293
|
return void 0 !== initialValue ? initialValue : value;
|
@@ -9566,5 +9563,5 @@
|
|
9566
9563
|
startWork(request);
|
9567
9564
|
});
|
9568
9565
|
};
|
9569
|
-
exports.version = "19.2.0-canary-
|
9566
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
9570
9567
|
})();
|