react-dom 19.1.0-canary-7130d0c6-20241212 → 19.1.0-canary-e06c72fc-20241215
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 +429 -472
- package/cjs/react-dom-client.production.js +422 -412
- package/cjs/react-dom-profiling.development.js +429 -472
- package/cjs/react-dom-profiling.profiling.js +422 -412
- package/cjs/react-dom-server-legacy.browser.development.js +10 -24
- package/cjs/react-dom-server-legacy.browser.production.js +101 -113
- package/cjs/react-dom-server-legacy.node.development.js +10 -24
- package/cjs/react-dom-server-legacy.node.production.js +106 -119
- package/cjs/react-dom-server.browser.development.js +12 -26
- package/cjs/react-dom-server.browser.production.js +82 -95
- package/cjs/react-dom-server.bun.development.js +88 -102
- package/cjs/react-dom-server.bun.production.js +90 -104
- package/cjs/react-dom-server.edge.development.js +12 -26
- package/cjs/react-dom-server.edge.production.js +87 -101
- package/cjs/react-dom-server.node.development.js +12 -26
- package/cjs/react-dom-server.node.production.js +87 -101
- 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
|
@@ -55,7 +55,6 @@ var REACT_LEGACY_ELEMENT_TYPE = Symbol.for("react.element"),
|
|
|
55
55
|
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
56
56
|
REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
57
57
|
Symbol.for("react.scope");
|
|
58
|
-
Symbol.for("react.debug_trace_mode");
|
|
59
58
|
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
|
|
60
59
|
Symbol.for("react.legacy_hidden");
|
|
61
60
|
Symbol.for("react.tracing_marker");
|
|
@@ -288,13 +287,11 @@ function describeFiber(fiber) {
|
|
|
288
287
|
return describeBuiltInComponentFrame("SuspenseList");
|
|
289
288
|
case 0:
|
|
290
289
|
case 15:
|
|
291
|
-
return
|
|
290
|
+
return describeNativeComponentFrame(fiber.type, !1);
|
|
292
291
|
case 11:
|
|
293
|
-
return (
|
|
294
|
-
(fiber = describeNativeComponentFrame(fiber.type.render, !1)), fiber
|
|
295
|
-
);
|
|
292
|
+
return describeNativeComponentFrame(fiber.type.render, !1);
|
|
296
293
|
case 1:
|
|
297
|
-
return
|
|
294
|
+
return describeNativeComponentFrame(fiber.type, !0);
|
|
298
295
|
default:
|
|
299
296
|
return "";
|
|
300
297
|
}
|
|
@@ -841,6 +838,46 @@ function markRootEntangled(root, entangledLanes) {
|
|
|
841
838
|
rootEntangledLanes &= ~lane;
|
|
842
839
|
}
|
|
843
840
|
}
|
|
841
|
+
function getBumpedLaneForHydrationByLane(lane) {
|
|
842
|
+
switch (lane) {
|
|
843
|
+
case 2:
|
|
844
|
+
lane = 1;
|
|
845
|
+
break;
|
|
846
|
+
case 8:
|
|
847
|
+
lane = 4;
|
|
848
|
+
break;
|
|
849
|
+
case 32:
|
|
850
|
+
lane = 16;
|
|
851
|
+
break;
|
|
852
|
+
case 128:
|
|
853
|
+
case 256:
|
|
854
|
+
case 512:
|
|
855
|
+
case 1024:
|
|
856
|
+
case 2048:
|
|
857
|
+
case 4096:
|
|
858
|
+
case 8192:
|
|
859
|
+
case 16384:
|
|
860
|
+
case 32768:
|
|
861
|
+
case 65536:
|
|
862
|
+
case 131072:
|
|
863
|
+
case 262144:
|
|
864
|
+
case 524288:
|
|
865
|
+
case 1048576:
|
|
866
|
+
case 2097152:
|
|
867
|
+
case 4194304:
|
|
868
|
+
case 8388608:
|
|
869
|
+
case 16777216:
|
|
870
|
+
case 33554432:
|
|
871
|
+
lane = 64;
|
|
872
|
+
break;
|
|
873
|
+
case 268435456:
|
|
874
|
+
lane = 134217728;
|
|
875
|
+
break;
|
|
876
|
+
default:
|
|
877
|
+
lane = 0;
|
|
878
|
+
}
|
|
879
|
+
return lane;
|
|
880
|
+
}
|
|
844
881
|
function addFiberToLanesMap(root, fiber, lanes) {
|
|
845
882
|
if (isDevToolsPresent)
|
|
846
883
|
for (root = root.pendingUpdatersLaneMap; 0 < lanes; ) {
|
|
@@ -987,12 +1024,7 @@ function registerDirectEvent(registrationName, dependencies) {
|
|
|
987
1024
|
)
|
|
988
1025
|
allNativeEvents.add(dependencies[registrationName]);
|
|
989
1026
|
}
|
|
990
|
-
var
|
|
991
|
-
"undefined" === typeof window ||
|
|
992
|
-
"undefined" === typeof window.document ||
|
|
993
|
-
"undefined" === typeof window.document.createElement
|
|
994
|
-
),
|
|
995
|
-
VALID_ATTRIBUTE_NAME_REGEX = RegExp(
|
|
1027
|
+
var VALID_ATTRIBUTE_NAME_REGEX = RegExp(
|
|
996
1028
|
"^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
|
|
997
1029
|
),
|
|
998
1030
|
illegalAttributeNameCache = {},
|
|
@@ -1601,7 +1633,12 @@ function getListener(inst, registrationName) {
|
|
|
1601
1633
|
);
|
|
1602
1634
|
return stateNode;
|
|
1603
1635
|
}
|
|
1604
|
-
var
|
|
1636
|
+
var canUseDOM = !(
|
|
1637
|
+
"undefined" === typeof window ||
|
|
1638
|
+
"undefined" === typeof window.document ||
|
|
1639
|
+
"undefined" === typeof window.document.createElement
|
|
1640
|
+
),
|
|
1641
|
+
passiveBrowserEventsSupported = !1;
|
|
1605
1642
|
if (canUseDOM)
|
|
1606
1643
|
try {
|
|
1607
1644
|
var options = {};
|
|
@@ -2088,19 +2125,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
|
|
2088
2125
|
}
|
|
2089
2126
|
var isInputEventSupported = !1;
|
|
2090
2127
|
if (canUseDOM) {
|
|
2091
|
-
var JSCompiler_inline_result$jscomp$
|
|
2128
|
+
var JSCompiler_inline_result$jscomp$295;
|
|
2092
2129
|
if (canUseDOM) {
|
|
2093
|
-
var isSupported$jscomp$
|
|
2094
|
-
if (!isSupported$jscomp$
|
|
2095
|
-
var element$jscomp$
|
|
2096
|
-
element$jscomp$
|
|
2097
|
-
isSupported$jscomp$
|
|
2098
|
-
"function" === typeof element$jscomp$
|
|
2130
|
+
var isSupported$jscomp$inline_426 = "oninput" in document;
|
|
2131
|
+
if (!isSupported$jscomp$inline_426) {
|
|
2132
|
+
var element$jscomp$inline_427 = document.createElement("div");
|
|
2133
|
+
element$jscomp$inline_427.setAttribute("oninput", "return;");
|
|
2134
|
+
isSupported$jscomp$inline_426 =
|
|
2135
|
+
"function" === typeof element$jscomp$inline_427.oninput;
|
|
2099
2136
|
}
|
|
2100
|
-
JSCompiler_inline_result$jscomp$
|
|
2101
|
-
} else JSCompiler_inline_result$jscomp$
|
|
2137
|
+
JSCompiler_inline_result$jscomp$295 = isSupported$jscomp$inline_426;
|
|
2138
|
+
} else JSCompiler_inline_result$jscomp$295 = !1;
|
|
2102
2139
|
isInputEventSupported =
|
|
2103
|
-
JSCompiler_inline_result$jscomp$
|
|
2140
|
+
JSCompiler_inline_result$jscomp$295 &&
|
|
2104
2141
|
(!document.documentMode || 9 < document.documentMode);
|
|
2105
2142
|
}
|
|
2106
2143
|
function stopWatchingForValueChange() {
|
|
@@ -3207,10 +3244,9 @@ function updateWorkInProgressHook() {
|
|
|
3207
3244
|
}
|
|
3208
3245
|
return workInProgressHook;
|
|
3209
3246
|
}
|
|
3210
|
-
|
|
3211
|
-
createFunctionComponentUpdateQueue = function () {
|
|
3247
|
+
function createFunctionComponentUpdateQueue() {
|
|
3212
3248
|
return { lastEffect: null, events: null, stores: null, memoCache: null };
|
|
3213
|
-
}
|
|
3249
|
+
}
|
|
3214
3250
|
function useThenable(thenable) {
|
|
3215
3251
|
var index = thenableIndexCounter$1;
|
|
3216
3252
|
thenableIndexCounter$1 += 1;
|
|
@@ -4141,321 +4177,326 @@ function entangleTransitionUpdate(root, queue, lane) {
|
|
|
4141
4177
|
}
|
|
4142
4178
|
}
|
|
4143
4179
|
var ContextOnlyDispatcher = {
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
ContextOnlyDispatcher.useOptimistic = throwInvalidHookError;
|
|
4168
|
-
var HooksDispatcherOnMount = {
|
|
4169
|
-
readContext: readContext,
|
|
4170
|
-
use: use,
|
|
4171
|
-
useCallback: function (callback, deps) {
|
|
4172
|
-
mountWorkInProgressHook().memoizedState = [
|
|
4173
|
-
callback,
|
|
4174
|
-
void 0 === deps ? null : deps
|
|
4175
|
-
];
|
|
4176
|
-
return callback;
|
|
4180
|
+
readContext: readContext,
|
|
4181
|
+
use: use,
|
|
4182
|
+
useCallback: throwInvalidHookError,
|
|
4183
|
+
useContext: throwInvalidHookError,
|
|
4184
|
+
useEffect: throwInvalidHookError,
|
|
4185
|
+
useImperativeHandle: throwInvalidHookError,
|
|
4186
|
+
useLayoutEffect: throwInvalidHookError,
|
|
4187
|
+
useInsertionEffect: throwInvalidHookError,
|
|
4188
|
+
useMemo: throwInvalidHookError,
|
|
4189
|
+
useReducer: throwInvalidHookError,
|
|
4190
|
+
useRef: throwInvalidHookError,
|
|
4191
|
+
useState: throwInvalidHookError,
|
|
4192
|
+
useDebugValue: throwInvalidHookError,
|
|
4193
|
+
useDeferredValue: throwInvalidHookError,
|
|
4194
|
+
useTransition: throwInvalidHookError,
|
|
4195
|
+
useSyncExternalStore: throwInvalidHookError,
|
|
4196
|
+
useId: throwInvalidHookError,
|
|
4197
|
+
useHostTransitionStatus: throwInvalidHookError,
|
|
4198
|
+
useFormState: throwInvalidHookError,
|
|
4199
|
+
useActionState: throwInvalidHookError,
|
|
4200
|
+
useOptimistic: throwInvalidHookError,
|
|
4201
|
+
useMemoCache: throwInvalidHookError,
|
|
4202
|
+
useCacheRefresh: throwInvalidHookError
|
|
4177
4203
|
},
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
},
|
|
4210
|
-
useReducer: function (reducer, initialArg, init) {
|
|
4211
|
-
var hook = mountWorkInProgressHook();
|
|
4212
|
-
if (void 0 !== init) {
|
|
4213
|
-
var initialState = init(initialArg);
|
|
4204
|
+
HooksDispatcherOnMount = {
|
|
4205
|
+
readContext: readContext,
|
|
4206
|
+
use: use,
|
|
4207
|
+
useCallback: function (callback, deps) {
|
|
4208
|
+
mountWorkInProgressHook().memoizedState = [
|
|
4209
|
+
callback,
|
|
4210
|
+
void 0 === deps ? null : deps
|
|
4211
|
+
];
|
|
4212
|
+
return callback;
|
|
4213
|
+
},
|
|
4214
|
+
useContext: readContext,
|
|
4215
|
+
useEffect: mountEffect,
|
|
4216
|
+
useImperativeHandle: function (ref, create, deps) {
|
|
4217
|
+
deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;
|
|
4218
|
+
mountEffectImpl(
|
|
4219
|
+
4194308,
|
|
4220
|
+
4,
|
|
4221
|
+
imperativeHandleEffect.bind(null, create, ref),
|
|
4222
|
+
deps
|
|
4223
|
+
);
|
|
4224
|
+
},
|
|
4225
|
+
useLayoutEffect: function (create, deps) {
|
|
4226
|
+
return mountEffectImpl(4194308, 4, create, deps);
|
|
4227
|
+
},
|
|
4228
|
+
useInsertionEffect: function (create, deps) {
|
|
4229
|
+
mountEffectImpl(4, 2, create, deps);
|
|
4230
|
+
},
|
|
4231
|
+
useMemo: function (nextCreate, deps) {
|
|
4232
|
+
var hook = mountWorkInProgressHook();
|
|
4233
|
+
deps = void 0 === deps ? null : deps;
|
|
4234
|
+
var nextValue = nextCreate();
|
|
4214
4235
|
if (shouldDoubleInvokeUserFnsInHooksDEV) {
|
|
4215
4236
|
setIsStrictModeForDevtools(!0);
|
|
4216
4237
|
try {
|
|
4217
|
-
|
|
4238
|
+
nextCreate();
|
|
4218
4239
|
} finally {
|
|
4219
4240
|
setIsStrictModeForDevtools(!1);
|
|
4220
4241
|
}
|
|
4221
4242
|
}
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
dispatch =
|
|
4248
|
-
queue.dispatch = dispatch;
|
|
4249
|
-
return [initialState.memoizedState, dispatch];
|
|
4250
|
-
},
|
|
4251
|
-
useDebugValue: mountDebugValue,
|
|
4252
|
-
useDeferredValue: function (value, initialValue) {
|
|
4253
|
-
var hook = mountWorkInProgressHook();
|
|
4254
|
-
return mountDeferredValueImpl(hook, value, initialValue);
|
|
4255
|
-
},
|
|
4256
|
-
useTransition: function () {
|
|
4257
|
-
var stateHook = mountStateImpl(!1);
|
|
4258
|
-
stateHook = startTransition.bind(
|
|
4259
|
-
null,
|
|
4260
|
-
currentlyRenderingFiber$1,
|
|
4261
|
-
stateHook.queue,
|
|
4262
|
-
!0,
|
|
4263
|
-
!1
|
|
4264
|
-
);
|
|
4265
|
-
mountWorkInProgressHook().memoizedState = stateHook;
|
|
4266
|
-
return [!1, stateHook];
|
|
4267
|
-
},
|
|
4268
|
-
useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
|
|
4269
|
-
var fiber = currentlyRenderingFiber$1,
|
|
4270
|
-
hook = mountWorkInProgressHook();
|
|
4271
|
-
if (isHydrating) {
|
|
4272
|
-
if (void 0 === getServerSnapshot)
|
|
4273
|
-
throw Error(formatProdErrorMessage(407));
|
|
4274
|
-
getServerSnapshot = getServerSnapshot();
|
|
4275
|
-
} else {
|
|
4276
|
-
getServerSnapshot = getSnapshot();
|
|
4277
|
-
if (null === workInProgressRoot) throw Error(formatProdErrorMessage(349));
|
|
4278
|
-
0 !== (workInProgressRootRenderLanes & 60) ||
|
|
4279
|
-
pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);
|
|
4280
|
-
}
|
|
4281
|
-
hook.memoizedState = getServerSnapshot;
|
|
4282
|
-
var inst = { value: getServerSnapshot, getSnapshot: getSnapshot };
|
|
4283
|
-
hook.queue = inst;
|
|
4284
|
-
mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [
|
|
4285
|
-
subscribe
|
|
4286
|
-
]);
|
|
4287
|
-
fiber.flags |= 2048;
|
|
4288
|
-
pushSimpleEffect(
|
|
4289
|
-
9,
|
|
4290
|
-
createEffectInstance(),
|
|
4291
|
-
updateStoreInstance.bind(
|
|
4243
|
+
hook.memoizedState = [nextValue, deps];
|
|
4244
|
+
return nextValue;
|
|
4245
|
+
},
|
|
4246
|
+
useReducer: function (reducer, initialArg, init) {
|
|
4247
|
+
var hook = mountWorkInProgressHook();
|
|
4248
|
+
if (void 0 !== init) {
|
|
4249
|
+
var initialState = init(initialArg);
|
|
4250
|
+
if (shouldDoubleInvokeUserFnsInHooksDEV) {
|
|
4251
|
+
setIsStrictModeForDevtools(!0);
|
|
4252
|
+
try {
|
|
4253
|
+
init(initialArg);
|
|
4254
|
+
} finally {
|
|
4255
|
+
setIsStrictModeForDevtools(!1);
|
|
4256
|
+
}
|
|
4257
|
+
}
|
|
4258
|
+
} else initialState = initialArg;
|
|
4259
|
+
hook.memoizedState = hook.baseState = initialState;
|
|
4260
|
+
reducer = {
|
|
4261
|
+
pending: null,
|
|
4262
|
+
lanes: 0,
|
|
4263
|
+
dispatch: null,
|
|
4264
|
+
lastRenderedReducer: reducer,
|
|
4265
|
+
lastRenderedState: initialState
|
|
4266
|
+
};
|
|
4267
|
+
hook.queue = reducer;
|
|
4268
|
+
reducer = reducer.dispatch = dispatchReducerAction.bind(
|
|
4292
4269
|
null,
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
idWithLeadingBit & ~(1 << (32 - clz32(idWithLeadingBit) - 1))
|
|
4311
|
-
).toString(32) + JSCompiler_inline_result;
|
|
4312
|
-
identifierPrefix =
|
|
4313
|
-
":" + identifierPrefix + "R" + JSCompiler_inline_result;
|
|
4314
|
-
JSCompiler_inline_result = localIdCounter++;
|
|
4315
|
-
0 < JSCompiler_inline_result &&
|
|
4316
|
-
(identifierPrefix += "H" + JSCompiler_inline_result.toString(32));
|
|
4317
|
-
identifierPrefix += ":";
|
|
4318
|
-
} else
|
|
4319
|
-
(JSCompiler_inline_result = globalClientIdCounter++),
|
|
4320
|
-
(identifierPrefix =
|
|
4321
|
-
":" +
|
|
4322
|
-
identifierPrefix +
|
|
4323
|
-
"r" +
|
|
4324
|
-
JSCompiler_inline_result.toString(32) +
|
|
4325
|
-
":");
|
|
4326
|
-
return (hook.memoizedState = identifierPrefix);
|
|
4327
|
-
},
|
|
4328
|
-
useCacheRefresh: function () {
|
|
4329
|
-
return (mountWorkInProgressHook().memoizedState = refreshCache.bind(
|
|
4330
|
-
null,
|
|
4331
|
-
currentlyRenderingFiber$1
|
|
4332
|
-
));
|
|
4333
|
-
}
|
|
4334
|
-
};
|
|
4335
|
-
HooksDispatcherOnMount.useMemoCache = useMemoCache;
|
|
4336
|
-
HooksDispatcherOnMount.useHostTransitionStatus = useHostTransitionStatus;
|
|
4337
|
-
HooksDispatcherOnMount.useFormState = mountActionState;
|
|
4338
|
-
HooksDispatcherOnMount.useActionState = mountActionState;
|
|
4339
|
-
HooksDispatcherOnMount.useOptimistic = function (passthrough) {
|
|
4340
|
-
var hook = mountWorkInProgressHook();
|
|
4341
|
-
hook.memoizedState = hook.baseState = passthrough;
|
|
4342
|
-
var queue = {
|
|
4343
|
-
pending: null,
|
|
4344
|
-
lanes: 0,
|
|
4345
|
-
dispatch: null,
|
|
4346
|
-
lastRenderedReducer: null,
|
|
4347
|
-
lastRenderedState: null
|
|
4348
|
-
};
|
|
4349
|
-
hook.queue = queue;
|
|
4350
|
-
hook = dispatchOptimisticSetState.bind(
|
|
4351
|
-
null,
|
|
4352
|
-
currentlyRenderingFiber$1,
|
|
4353
|
-
!0,
|
|
4354
|
-
queue
|
|
4355
|
-
);
|
|
4356
|
-
queue.dispatch = hook;
|
|
4357
|
-
return [passthrough, hook];
|
|
4358
|
-
};
|
|
4359
|
-
var HooksDispatcherOnUpdate = {
|
|
4360
|
-
readContext: readContext,
|
|
4361
|
-
use: use,
|
|
4362
|
-
useCallback: updateCallback,
|
|
4363
|
-
useContext: readContext,
|
|
4364
|
-
useEffect: updateEffect,
|
|
4365
|
-
useImperativeHandle: updateImperativeHandle,
|
|
4366
|
-
useInsertionEffect: updateInsertionEffect,
|
|
4367
|
-
useLayoutEffect: updateLayoutEffect,
|
|
4368
|
-
useMemo: updateMemo,
|
|
4369
|
-
useReducer: updateReducer,
|
|
4370
|
-
useRef: updateRef,
|
|
4371
|
-
useState: function () {
|
|
4372
|
-
return updateReducer(basicStateReducer);
|
|
4373
|
-
},
|
|
4374
|
-
useDebugValue: mountDebugValue,
|
|
4375
|
-
useDeferredValue: function (value, initialValue) {
|
|
4376
|
-
var hook = updateWorkInProgressHook();
|
|
4377
|
-
return updateDeferredValueImpl(
|
|
4378
|
-
hook,
|
|
4379
|
-
currentHook.memoizedState,
|
|
4380
|
-
value,
|
|
4381
|
-
initialValue
|
|
4382
|
-
);
|
|
4383
|
-
},
|
|
4384
|
-
useTransition: function () {
|
|
4385
|
-
var booleanOrThenable = updateReducer(basicStateReducer)[0],
|
|
4386
|
-
start = updateWorkInProgressHook().memoizedState;
|
|
4387
|
-
return [
|
|
4388
|
-
"boolean" === typeof booleanOrThenable
|
|
4389
|
-
? booleanOrThenable
|
|
4390
|
-
: useThenable(booleanOrThenable),
|
|
4391
|
-
start
|
|
4392
|
-
];
|
|
4393
|
-
},
|
|
4394
|
-
useSyncExternalStore: updateSyncExternalStore,
|
|
4395
|
-
useId: updateId
|
|
4396
|
-
};
|
|
4397
|
-
HooksDispatcherOnUpdate.useCacheRefresh = updateRefresh;
|
|
4398
|
-
HooksDispatcherOnUpdate.useMemoCache = useMemoCache;
|
|
4399
|
-
HooksDispatcherOnUpdate.useHostTransitionStatus = useHostTransitionStatus;
|
|
4400
|
-
HooksDispatcherOnUpdate.useFormState = updateActionState;
|
|
4401
|
-
HooksDispatcherOnUpdate.useActionState = updateActionState;
|
|
4402
|
-
HooksDispatcherOnUpdate.useOptimistic = function (passthrough, reducer) {
|
|
4403
|
-
var hook = updateWorkInProgressHook();
|
|
4404
|
-
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
|
|
4405
|
-
};
|
|
4406
|
-
var HooksDispatcherOnRerender = {
|
|
4407
|
-
readContext: readContext,
|
|
4408
|
-
use: use,
|
|
4409
|
-
useCallback: updateCallback,
|
|
4410
|
-
useContext: readContext,
|
|
4411
|
-
useEffect: updateEffect,
|
|
4412
|
-
useImperativeHandle: updateImperativeHandle,
|
|
4413
|
-
useInsertionEffect: updateInsertionEffect,
|
|
4414
|
-
useLayoutEffect: updateLayoutEffect,
|
|
4415
|
-
useMemo: updateMemo,
|
|
4416
|
-
useReducer: rerenderReducer,
|
|
4417
|
-
useRef: updateRef,
|
|
4418
|
-
useState: function () {
|
|
4419
|
-
return rerenderReducer(basicStateReducer);
|
|
4420
|
-
},
|
|
4421
|
-
useDebugValue: mountDebugValue,
|
|
4422
|
-
useDeferredValue: function (value, initialValue) {
|
|
4423
|
-
var hook = updateWorkInProgressHook();
|
|
4424
|
-
return null === currentHook
|
|
4425
|
-
? mountDeferredValueImpl(hook, value, initialValue)
|
|
4426
|
-
: updateDeferredValueImpl(
|
|
4427
|
-
hook,
|
|
4428
|
-
currentHook.memoizedState,
|
|
4429
|
-
value,
|
|
4430
|
-
initialValue
|
|
4270
|
+
currentlyRenderingFiber$1,
|
|
4271
|
+
reducer
|
|
4272
|
+
);
|
|
4273
|
+
return [hook.memoizedState, reducer];
|
|
4274
|
+
},
|
|
4275
|
+
useRef: function (initialValue) {
|
|
4276
|
+
var hook = mountWorkInProgressHook();
|
|
4277
|
+
initialValue = { current: initialValue };
|
|
4278
|
+
return (hook.memoizedState = initialValue);
|
|
4279
|
+
},
|
|
4280
|
+
useState: function (initialState) {
|
|
4281
|
+
initialState = mountStateImpl(initialState);
|
|
4282
|
+
var queue = initialState.queue,
|
|
4283
|
+
dispatch = dispatchSetState.bind(
|
|
4284
|
+
null,
|
|
4285
|
+
currentlyRenderingFiber$1,
|
|
4286
|
+
queue
|
|
4431
4287
|
);
|
|
4288
|
+
queue.dispatch = dispatch;
|
|
4289
|
+
return [initialState.memoizedState, dispatch];
|
|
4290
|
+
},
|
|
4291
|
+
useDebugValue: mountDebugValue,
|
|
4292
|
+
useDeferredValue: function (value, initialValue) {
|
|
4293
|
+
var hook = mountWorkInProgressHook();
|
|
4294
|
+
return mountDeferredValueImpl(hook, value, initialValue);
|
|
4295
|
+
},
|
|
4296
|
+
useTransition: function () {
|
|
4297
|
+
var stateHook = mountStateImpl(!1);
|
|
4298
|
+
stateHook = startTransition.bind(
|
|
4299
|
+
null,
|
|
4300
|
+
currentlyRenderingFiber$1,
|
|
4301
|
+
stateHook.queue,
|
|
4302
|
+
!0,
|
|
4303
|
+
!1
|
|
4304
|
+
);
|
|
4305
|
+
mountWorkInProgressHook().memoizedState = stateHook;
|
|
4306
|
+
return [!1, stateHook];
|
|
4307
|
+
},
|
|
4308
|
+
useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
|
|
4309
|
+
var fiber = currentlyRenderingFiber$1,
|
|
4310
|
+
hook = mountWorkInProgressHook();
|
|
4311
|
+
if (isHydrating) {
|
|
4312
|
+
if (void 0 === getServerSnapshot)
|
|
4313
|
+
throw Error(formatProdErrorMessage(407));
|
|
4314
|
+
getServerSnapshot = getServerSnapshot();
|
|
4315
|
+
} else {
|
|
4316
|
+
getServerSnapshot = getSnapshot();
|
|
4317
|
+
if (null === workInProgressRoot)
|
|
4318
|
+
throw Error(formatProdErrorMessage(349));
|
|
4319
|
+
0 !== (workInProgressRootRenderLanes & 60) ||
|
|
4320
|
+
pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);
|
|
4321
|
+
}
|
|
4322
|
+
hook.memoizedState = getServerSnapshot;
|
|
4323
|
+
var inst = { value: getServerSnapshot, getSnapshot: getSnapshot };
|
|
4324
|
+
hook.queue = inst;
|
|
4325
|
+
mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [
|
|
4326
|
+
subscribe
|
|
4327
|
+
]);
|
|
4328
|
+
fiber.flags |= 2048;
|
|
4329
|
+
pushSimpleEffect(
|
|
4330
|
+
9,
|
|
4331
|
+
createEffectInstance(),
|
|
4332
|
+
updateStoreInstance.bind(
|
|
4333
|
+
null,
|
|
4334
|
+
fiber,
|
|
4335
|
+
inst,
|
|
4336
|
+
getServerSnapshot,
|
|
4337
|
+
getSnapshot
|
|
4338
|
+
),
|
|
4339
|
+
null
|
|
4340
|
+
);
|
|
4341
|
+
return getServerSnapshot;
|
|
4342
|
+
},
|
|
4343
|
+
useId: function () {
|
|
4344
|
+
var hook = mountWorkInProgressHook(),
|
|
4345
|
+
identifierPrefix = workInProgressRoot.identifierPrefix;
|
|
4346
|
+
if (isHydrating) {
|
|
4347
|
+
var JSCompiler_inline_result = treeContextOverflow;
|
|
4348
|
+
var idWithLeadingBit = treeContextId;
|
|
4349
|
+
JSCompiler_inline_result =
|
|
4350
|
+
(
|
|
4351
|
+
idWithLeadingBit & ~(1 << (32 - clz32(idWithLeadingBit) - 1))
|
|
4352
|
+
).toString(32) + JSCompiler_inline_result;
|
|
4353
|
+
identifierPrefix =
|
|
4354
|
+
":" + identifierPrefix + "R" + JSCompiler_inline_result;
|
|
4355
|
+
JSCompiler_inline_result = localIdCounter++;
|
|
4356
|
+
0 < JSCompiler_inline_result &&
|
|
4357
|
+
(identifierPrefix += "H" + JSCompiler_inline_result.toString(32));
|
|
4358
|
+
identifierPrefix += ":";
|
|
4359
|
+
} else
|
|
4360
|
+
(JSCompiler_inline_result = globalClientIdCounter++),
|
|
4361
|
+
(identifierPrefix =
|
|
4362
|
+
":" +
|
|
4363
|
+
identifierPrefix +
|
|
4364
|
+
"r" +
|
|
4365
|
+
JSCompiler_inline_result.toString(32) +
|
|
4366
|
+
":");
|
|
4367
|
+
return (hook.memoizedState = identifierPrefix);
|
|
4368
|
+
},
|
|
4369
|
+
useHostTransitionStatus: useHostTransitionStatus,
|
|
4370
|
+
useFormState: mountActionState,
|
|
4371
|
+
useActionState: mountActionState,
|
|
4372
|
+
useOptimistic: function (passthrough) {
|
|
4373
|
+
var hook = mountWorkInProgressHook();
|
|
4374
|
+
hook.memoizedState = hook.baseState = passthrough;
|
|
4375
|
+
var queue = {
|
|
4376
|
+
pending: null,
|
|
4377
|
+
lanes: 0,
|
|
4378
|
+
dispatch: null,
|
|
4379
|
+
lastRenderedReducer: null,
|
|
4380
|
+
lastRenderedState: null
|
|
4381
|
+
};
|
|
4382
|
+
hook.queue = queue;
|
|
4383
|
+
hook = dispatchOptimisticSetState.bind(
|
|
4384
|
+
null,
|
|
4385
|
+
currentlyRenderingFiber$1,
|
|
4386
|
+
!0,
|
|
4387
|
+
queue
|
|
4388
|
+
);
|
|
4389
|
+
queue.dispatch = hook;
|
|
4390
|
+
return [passthrough, hook];
|
|
4391
|
+
},
|
|
4392
|
+
useMemoCache: useMemoCache,
|
|
4393
|
+
useCacheRefresh: function () {
|
|
4394
|
+
return (mountWorkInProgressHook().memoizedState = refreshCache.bind(
|
|
4395
|
+
null,
|
|
4396
|
+
currentlyRenderingFiber$1
|
|
4397
|
+
));
|
|
4398
|
+
}
|
|
4432
4399
|
},
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4400
|
+
HooksDispatcherOnUpdate = {
|
|
4401
|
+
readContext: readContext,
|
|
4402
|
+
use: use,
|
|
4403
|
+
useCallback: updateCallback,
|
|
4404
|
+
useContext: readContext,
|
|
4405
|
+
useEffect: updateEffect,
|
|
4406
|
+
useImperativeHandle: updateImperativeHandle,
|
|
4407
|
+
useInsertionEffect: updateInsertionEffect,
|
|
4408
|
+
useLayoutEffect: updateLayoutEffect,
|
|
4409
|
+
useMemo: updateMemo,
|
|
4410
|
+
useReducer: updateReducer,
|
|
4411
|
+
useRef: updateRef,
|
|
4412
|
+
useState: function () {
|
|
4413
|
+
return updateReducer(basicStateReducer);
|
|
4414
|
+
},
|
|
4415
|
+
useDebugValue: mountDebugValue,
|
|
4416
|
+
useDeferredValue: function (value, initialValue) {
|
|
4417
|
+
var hook = updateWorkInProgressHook();
|
|
4418
|
+
return updateDeferredValueImpl(
|
|
4419
|
+
hook,
|
|
4420
|
+
currentHook.memoizedState,
|
|
4421
|
+
value,
|
|
4422
|
+
initialValue
|
|
4423
|
+
);
|
|
4424
|
+
},
|
|
4425
|
+
useTransition: function () {
|
|
4426
|
+
var booleanOrThenable = updateReducer(basicStateReducer)[0],
|
|
4427
|
+
start = updateWorkInProgressHook().memoizedState;
|
|
4428
|
+
return [
|
|
4429
|
+
"boolean" === typeof booleanOrThenable
|
|
4430
|
+
? booleanOrThenable
|
|
4431
|
+
: useThenable(booleanOrThenable),
|
|
4432
|
+
start
|
|
4433
|
+
];
|
|
4434
|
+
},
|
|
4435
|
+
useSyncExternalStore: updateSyncExternalStore,
|
|
4436
|
+
useId: updateId,
|
|
4437
|
+
useHostTransitionStatus: useHostTransitionStatus,
|
|
4438
|
+
useFormState: updateActionState,
|
|
4439
|
+
useActionState: updateActionState,
|
|
4440
|
+
useOptimistic: function (passthrough, reducer) {
|
|
4441
|
+
var hook = updateWorkInProgressHook();
|
|
4442
|
+
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
|
|
4443
|
+
},
|
|
4444
|
+
useMemoCache: useMemoCache,
|
|
4445
|
+
useCacheRefresh: updateRefresh
|
|
4442
4446
|
},
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
}
|
|
4458
|
-
|
|
4447
|
+
HooksDispatcherOnRerender = {
|
|
4448
|
+
readContext: readContext,
|
|
4449
|
+
use: use,
|
|
4450
|
+
useCallback: updateCallback,
|
|
4451
|
+
useContext: readContext,
|
|
4452
|
+
useEffect: updateEffect,
|
|
4453
|
+
useImperativeHandle: updateImperativeHandle,
|
|
4454
|
+
useInsertionEffect: updateInsertionEffect,
|
|
4455
|
+
useLayoutEffect: updateLayoutEffect,
|
|
4456
|
+
useMemo: updateMemo,
|
|
4457
|
+
useReducer: rerenderReducer,
|
|
4458
|
+
useRef: updateRef,
|
|
4459
|
+
useState: function () {
|
|
4460
|
+
return rerenderReducer(basicStateReducer);
|
|
4461
|
+
},
|
|
4462
|
+
useDebugValue: mountDebugValue,
|
|
4463
|
+
useDeferredValue: function (value, initialValue) {
|
|
4464
|
+
var hook = updateWorkInProgressHook();
|
|
4465
|
+
return null === currentHook
|
|
4466
|
+
? mountDeferredValueImpl(hook, value, initialValue)
|
|
4467
|
+
: updateDeferredValueImpl(
|
|
4468
|
+
hook,
|
|
4469
|
+
currentHook.memoizedState,
|
|
4470
|
+
value,
|
|
4471
|
+
initialValue
|
|
4472
|
+
);
|
|
4473
|
+
},
|
|
4474
|
+
useTransition: function () {
|
|
4475
|
+
var booleanOrThenable = rerenderReducer(basicStateReducer)[0],
|
|
4476
|
+
start = updateWorkInProgressHook().memoizedState;
|
|
4477
|
+
return [
|
|
4478
|
+
"boolean" === typeof booleanOrThenable
|
|
4479
|
+
? booleanOrThenable
|
|
4480
|
+
: useThenable(booleanOrThenable),
|
|
4481
|
+
start
|
|
4482
|
+
];
|
|
4483
|
+
},
|
|
4484
|
+
useSyncExternalStore: updateSyncExternalStore,
|
|
4485
|
+
useId: updateId,
|
|
4486
|
+
useHostTransitionStatus: useHostTransitionStatus,
|
|
4487
|
+
useFormState: rerenderActionState,
|
|
4488
|
+
useActionState: rerenderActionState,
|
|
4489
|
+
useOptimistic: function (passthrough, reducer) {
|
|
4490
|
+
var hook = updateWorkInProgressHook();
|
|
4491
|
+
if (null !== currentHook)
|
|
4492
|
+
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
|
|
4493
|
+
hook.baseState = passthrough;
|
|
4494
|
+
return [passthrough, hook.queue.dispatch];
|
|
4495
|
+
},
|
|
4496
|
+
useMemoCache: useMemoCache,
|
|
4497
|
+
useCacheRefresh: updateRefresh
|
|
4498
|
+
},
|
|
4499
|
+
thenableState = null,
|
|
4459
4500
|
thenableIndexCounter = 0;
|
|
4460
4501
|
function unwrapThenable(thenable) {
|
|
4461
4502
|
var index = thenableIndexCounter;
|
|
@@ -6237,7 +6278,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
|
6237
6278
|
)
|
|
6238
6279
|
return (
|
|
6239
6280
|
isSuspenseInstanceFallback(nextInstance)
|
|
6240
|
-
? (workInProgress.lanes =
|
|
6281
|
+
? (workInProgress.lanes = 32)
|
|
6241
6282
|
: (workInProgress.lanes = 536870912),
|
|
6242
6283
|
null
|
|
6243
6284
|
);
|
|
@@ -6354,59 +6395,25 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
|
6354
6395
|
didReceiveUpdate || JSCompiler_temp)
|
|
6355
6396
|
) {
|
|
6356
6397
|
JSCompiler_temp = workInProgressRoot;
|
|
6357
|
-
if (
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
case 8:
|
|
6366
|
-
nextProps = 4;
|
|
6367
|
-
break;
|
|
6368
|
-
case 32:
|
|
6369
|
-
nextProps = 16;
|
|
6370
|
-
break;
|
|
6371
|
-
case 128:
|
|
6372
|
-
case 256:
|
|
6373
|
-
case 512:
|
|
6374
|
-
case 1024:
|
|
6375
|
-
case 2048:
|
|
6376
|
-
case 4096:
|
|
6377
|
-
case 8192:
|
|
6378
|
-
case 16384:
|
|
6379
|
-
case 32768:
|
|
6380
|
-
case 65536:
|
|
6381
|
-
case 131072:
|
|
6382
|
-
case 262144:
|
|
6383
|
-
case 524288:
|
|
6384
|
-
case 1048576:
|
|
6385
|
-
case 2097152:
|
|
6386
|
-
case 4194304:
|
|
6387
|
-
case 8388608:
|
|
6388
|
-
case 16777216:
|
|
6389
|
-
case 33554432:
|
|
6390
|
-
nextProps = 64;
|
|
6391
|
-
break;
|
|
6392
|
-
case 268435456:
|
|
6393
|
-
nextProps = 134217728;
|
|
6394
|
-
break;
|
|
6395
|
-
default:
|
|
6396
|
-
nextProps = 0;
|
|
6397
|
-
}
|
|
6398
|
-
nextProps =
|
|
6398
|
+
if (
|
|
6399
|
+
null !== JSCompiler_temp &&
|
|
6400
|
+
((nextProps = renderLanes & -renderLanes),
|
|
6401
|
+
(nextProps =
|
|
6402
|
+
0 !== (nextProps & 42)
|
|
6403
|
+
? 1
|
|
6404
|
+
: getBumpedLaneForHydrationByLane(nextProps)),
|
|
6405
|
+
(nextProps =
|
|
6399
6406
|
0 !== (nextProps & (JSCompiler_temp.suspendedLanes | renderLanes))
|
|
6400
6407
|
? 0
|
|
6401
|
-
: nextProps
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
)
|
|
6409
|
-
|
|
6408
|
+
: nextProps),
|
|
6409
|
+
0 !== nextProps && nextProps !== JSCompiler_temp$jscomp$0.retryLane)
|
|
6410
|
+
)
|
|
6411
|
+
throw (
|
|
6412
|
+
((JSCompiler_temp$jscomp$0.retryLane = nextProps),
|
|
6413
|
+
enqueueConcurrentRenderForLane(current, nextProps),
|
|
6414
|
+
scheduleUpdateOnFiber(JSCompiler_temp, current, nextProps),
|
|
6415
|
+
SelectiveHydrationException)
|
|
6416
|
+
);
|
|
6410
6417
|
"$?" === nextInstance.data || renderDidSuspendDelayIfPossible();
|
|
6411
6418
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
6412
6419
|
current,
|
|
@@ -12258,20 +12265,20 @@ function extractEvents$1(
|
|
|
12258
12265
|
}
|
|
12259
12266
|
}
|
|
12260
12267
|
for (
|
|
12261
|
-
var i$jscomp$
|
|
12262
|
-
i$jscomp$
|
|
12263
|
-
i$jscomp$
|
|
12268
|
+
var i$jscomp$inline_1516 = 0;
|
|
12269
|
+
i$jscomp$inline_1516 < simpleEventPluginEvents.length;
|
|
12270
|
+
i$jscomp$inline_1516++
|
|
12264
12271
|
) {
|
|
12265
|
-
var eventName$jscomp$
|
|
12266
|
-
simpleEventPluginEvents[i$jscomp$
|
|
12267
|
-
domEventName$jscomp$
|
|
12268
|
-
eventName$jscomp$
|
|
12269
|
-
capitalizedEvent$jscomp$
|
|
12270
|
-
eventName$jscomp$
|
|
12271
|
-
eventName$jscomp$
|
|
12272
|
+
var eventName$jscomp$inline_1517 =
|
|
12273
|
+
simpleEventPluginEvents[i$jscomp$inline_1516],
|
|
12274
|
+
domEventName$jscomp$inline_1518 =
|
|
12275
|
+
eventName$jscomp$inline_1517.toLowerCase(),
|
|
12276
|
+
capitalizedEvent$jscomp$inline_1519 =
|
|
12277
|
+
eventName$jscomp$inline_1517[0].toUpperCase() +
|
|
12278
|
+
eventName$jscomp$inline_1517.slice(1);
|
|
12272
12279
|
registerSimpleEvent(
|
|
12273
|
-
domEventName$jscomp$
|
|
12274
|
-
"on" + capitalizedEvent$jscomp$
|
|
12280
|
+
domEventName$jscomp$inline_1518,
|
|
12281
|
+
"on" + capitalizedEvent$jscomp$inline_1519
|
|
12275
12282
|
);
|
|
12276
12283
|
}
|
|
12277
12284
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
|
@@ -15547,8 +15554,9 @@ function attemptExplicitHydrationTarget(queuedTarget) {
|
|
|
15547
15554
|
queuedTarget.blockedOn = targetInst;
|
|
15548
15555
|
runWithPriority(queuedTarget.priority, function () {
|
|
15549
15556
|
if (13 === nearestMounted.tag) {
|
|
15550
|
-
var lane = requestUpdateLane()
|
|
15551
|
-
|
|
15557
|
+
var lane = requestUpdateLane();
|
|
15558
|
+
lane = getBumpedLaneForHydrationByLane(lane);
|
|
15559
|
+
var root = enqueueConcurrentRenderForLane(nearestMounted, lane);
|
|
15552
15560
|
null !== root &&
|
|
15553
15561
|
scheduleUpdateOnFiber(root, nearestMounted, lane);
|
|
15554
15562
|
markRetryLaneIfNotHydrated(nearestMounted, lane);
|
|
@@ -15750,16 +15758,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
|
15750
15758
|
0 === i && attemptExplicitHydrationTarget(target);
|
|
15751
15759
|
}
|
|
15752
15760
|
};
|
|
15753
|
-
var isomorphicReactPackageVersion$jscomp$
|
|
15761
|
+
var isomorphicReactPackageVersion$jscomp$inline_1765 = React.version;
|
|
15754
15762
|
if (
|
|
15755
|
-
"19.1.0-canary-
|
|
15756
|
-
isomorphicReactPackageVersion$jscomp$
|
|
15763
|
+
"19.1.0-canary-e06c72fc-20241215" !==
|
|
15764
|
+
isomorphicReactPackageVersion$jscomp$inline_1765
|
|
15757
15765
|
)
|
|
15758
15766
|
throw Error(
|
|
15759
15767
|
formatProdErrorMessage(
|
|
15760
15768
|
527,
|
|
15761
|
-
isomorphicReactPackageVersion$jscomp$
|
|
15762
|
-
"19.1.0-canary-
|
|
15769
|
+
isomorphicReactPackageVersion$jscomp$inline_1765,
|
|
15770
|
+
"19.1.0-canary-e06c72fc-20241215"
|
|
15763
15771
|
)
|
|
15764
15772
|
);
|
|
15765
15773
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
@@ -15779,12 +15787,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
|
15779
15787
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
|
15780
15788
|
return componentOrElement;
|
|
15781
15789
|
};
|
|
15782
|
-
var internals$jscomp$
|
|
15790
|
+
var internals$jscomp$inline_1772 = {
|
|
15783
15791
|
bundleType: 0,
|
|
15784
|
-
version: "19.1.0-canary-
|
|
15792
|
+
version: "19.1.0-canary-e06c72fc-20241215",
|
|
15785
15793
|
rendererPackageName: "react-dom",
|
|
15786
15794
|
currentDispatcherRef: ReactSharedInternals,
|
|
15787
|
-
reconcilerVersion: "19.1.0-canary-
|
|
15795
|
+
reconcilerVersion: "19.1.0-canary-e06c72fc-20241215",
|
|
15788
15796
|
getLaneLabelMap: function () {
|
|
15789
15797
|
for (
|
|
15790
15798
|
var map = new Map(), lane = 1, index$279 = 0;
|
|
@@ -15802,16 +15810,16 @@ var internals$jscomp$inline_1781 = {
|
|
|
15802
15810
|
}
|
|
15803
15811
|
};
|
|
15804
15812
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
|
15805
|
-
var hook$jscomp$
|
|
15813
|
+
var hook$jscomp$inline_2206 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
15806
15814
|
if (
|
|
15807
|
-
!hook$jscomp$
|
|
15808
|
-
hook$jscomp$
|
|
15815
|
+
!hook$jscomp$inline_2206.isDisabled &&
|
|
15816
|
+
hook$jscomp$inline_2206.supportsFiber
|
|
15809
15817
|
)
|
|
15810
15818
|
try {
|
|
15811
|
-
(rendererID = hook$jscomp$
|
|
15812
|
-
internals$jscomp$
|
|
15819
|
+
(rendererID = hook$jscomp$inline_2206.inject(
|
|
15820
|
+
internals$jscomp$inline_1772
|
|
15813
15821
|
)),
|
|
15814
|
-
(injectedHook = hook$jscomp$
|
|
15822
|
+
(injectedHook = hook$jscomp$inline_2206);
|
|
15815
15823
|
} catch (err) {}
|
|
15816
15824
|
}
|
|
15817
15825
|
function noop() {}
|
|
@@ -15934,11 +15942,13 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
|
15934
15942
|
initialChildren.context = getContextForSubtree(null);
|
|
15935
15943
|
options = initialChildren.current;
|
|
15936
15944
|
isStrictMode = requestUpdateLane();
|
|
15945
|
+
isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode);
|
|
15937
15946
|
identifierPrefix = createUpdate(isStrictMode);
|
|
15938
15947
|
identifierPrefix.callback = null;
|
|
15939
15948
|
enqueueUpdate(options, identifierPrefix, isStrictMode);
|
|
15940
|
-
|
|
15941
|
-
|
|
15949
|
+
options = isStrictMode;
|
|
15950
|
+
initialChildren.current.lanes = options;
|
|
15951
|
+
markRootUpdated$1(initialChildren, options);
|
|
15942
15952
|
ensureRootIsScheduled(initialChildren);
|
|
15943
15953
|
container[internalContainerInstanceKey] = initialChildren.current;
|
|
15944
15954
|
listenToAllSupportedEvents(container);
|
|
@@ -16064,7 +16074,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
|
16064
16074
|
exports.useFormStatus = function () {
|
|
16065
16075
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
|
16066
16076
|
};
|
|
16067
|
-
exports.version = "19.1.0-canary-
|
|
16077
|
+
exports.version = "19.1.0-canary-e06c72fc-20241215";
|
|
16068
16078
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
16069
16079
|
"function" ===
|
|
16070
16080
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|