react 18.3.0-next-189f70e17-20230216 → 18.3.0-next-ca2cf319f-20230223
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/react-jsx-dev-runtime.development.js +37 -37
- package/cjs/react-jsx-runtime.development.js +35 -35
- package/cjs/react.development.js +50 -50
- package/cjs/react.production.min.js +16 -16
- package/cjs/react.shared-subset.development.js +49 -49
- package/cjs/react.shared-subset.production.min.js +11 -11
- package/package.json +1 -1
- package/umd/react.development.js +65 -81
- package/umd/react.production.min.js +24 -24
- package/umd/react.profiling.min.js +24 -24
package/cjs/react.development.js
CHANGED
@@ -23,7 +23,7 @@ if (
|
|
23
23
|
) {
|
24
24
|
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
25
25
|
}
|
26
|
-
var ReactVersion = '18.3.0-next-
|
26
|
+
var ReactVersion = '18.3.0-next-ca2cf319f-20230223';
|
27
27
|
|
28
28
|
// ATTENTION
|
29
29
|
// When adding new symbols to this file,
|
@@ -64,7 +64,7 @@ function getIteratorFn(maybeIterable) {
|
|
64
64
|
/**
|
65
65
|
* Keeps track of the current dispatcher.
|
66
66
|
*/
|
67
|
-
var ReactCurrentDispatcher = {
|
67
|
+
var ReactCurrentDispatcher$1 = {
|
68
68
|
current: null
|
69
69
|
};
|
70
70
|
|
@@ -108,7 +108,7 @@ var ReactCurrentOwner = {
|
|
108
108
|
current: null
|
109
109
|
};
|
110
110
|
|
111
|
-
var ReactDebugCurrentFrame = {};
|
111
|
+
var ReactDebugCurrentFrame$1 = {};
|
112
112
|
var currentExtraStackFrame = null;
|
113
113
|
function setExtraStackFrame(stack) {
|
114
114
|
{
|
@@ -117,16 +117,16 @@ function setExtraStackFrame(stack) {
|
|
117
117
|
}
|
118
118
|
|
119
119
|
{
|
120
|
-
ReactDebugCurrentFrame.setExtraStackFrame = function (stack) {
|
120
|
+
ReactDebugCurrentFrame$1.setExtraStackFrame = function (stack) {
|
121
121
|
{
|
122
122
|
currentExtraStackFrame = stack;
|
123
123
|
}
|
124
124
|
}; // Stack implementation injected by the current renderer.
|
125
125
|
|
126
126
|
|
127
|
-
ReactDebugCurrentFrame.getCurrentStack = null;
|
127
|
+
ReactDebugCurrentFrame$1.getCurrentStack = null;
|
128
128
|
|
129
|
-
ReactDebugCurrentFrame.getStackAddendum = function () {
|
129
|
+
ReactDebugCurrentFrame$1.getStackAddendum = function () {
|
130
130
|
var stack = ''; // Add an extra top frame while an element is being validated
|
131
131
|
|
132
132
|
if (currentExtraStackFrame) {
|
@@ -134,7 +134,7 @@ function setExtraStackFrame(stack) {
|
|
134
134
|
} // Delegate to the injected renderer-specific implementation
|
135
135
|
|
136
136
|
|
137
|
-
var impl = ReactDebugCurrentFrame.getCurrentStack;
|
137
|
+
var impl = ReactDebugCurrentFrame$1.getCurrentStack;
|
138
138
|
|
139
139
|
if (impl) {
|
140
140
|
stack += impl() || '';
|
@@ -156,22 +156,22 @@ var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in
|
|
156
156
|
|
157
157
|
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
158
158
|
|
159
|
-
var ContextRegistry = {};
|
159
|
+
var ContextRegistry$1 = {};
|
160
160
|
|
161
161
|
var ReactSharedInternals = {
|
162
|
-
ReactCurrentDispatcher: ReactCurrentDispatcher,
|
162
|
+
ReactCurrentDispatcher: ReactCurrentDispatcher$1,
|
163
163
|
ReactCurrentCache: ReactCurrentCache,
|
164
164
|
ReactCurrentBatchConfig: ReactCurrentBatchConfig,
|
165
165
|
ReactCurrentOwner: ReactCurrentOwner
|
166
166
|
};
|
167
167
|
|
168
168
|
{
|
169
|
-
ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
|
169
|
+
ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame$1;
|
170
170
|
ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
|
171
171
|
}
|
172
172
|
|
173
173
|
{
|
174
|
-
ReactSharedInternals.ContextRegistry = ContextRegistry;
|
174
|
+
ReactSharedInternals.ContextRegistry = ContextRegistry$1;
|
175
175
|
}
|
176
176
|
|
177
177
|
// by calls to these methods by a Babel plugin.
|
@@ -810,7 +810,7 @@ var ReactElement = function (type, key, ref, self, source, owner, props) {
|
|
810
810
|
* See https://reactjs.org/docs/react-api.html#createelement
|
811
811
|
*/
|
812
812
|
|
813
|
-
function createElement(type, config, children) {
|
813
|
+
function createElement$1(type, config, children) {
|
814
814
|
var propName; // Reserved names are extracted
|
815
815
|
|
816
816
|
var props = {};
|
@@ -904,7 +904,7 @@ function cloneAndReplaceKey(oldElement, newKey) {
|
|
904
904
|
* See https://reactjs.org/docs/react-api.html#cloneelement
|
905
905
|
*/
|
906
906
|
|
907
|
-
function cloneElement(element, config, children) {
|
907
|
+
function cloneElement$1(element, config, children) {
|
908
908
|
if (element === null || element === undefined) {
|
909
909
|
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
|
910
910
|
}
|
@@ -1550,7 +1550,7 @@ function forwardRef(render) {
|
|
1550
1550
|
return elementType;
|
1551
1551
|
}
|
1552
1552
|
|
1553
|
-
var REACT_CLIENT_REFERENCE = Symbol.for('react.client.reference');
|
1553
|
+
var REACT_CLIENT_REFERENCE$1 = Symbol.for('react.client.reference');
|
1554
1554
|
function isValidElementType(type) {
|
1555
1555
|
if (typeof type === 'string' || typeof type === 'function') {
|
1556
1556
|
return true;
|
@@ -1566,7 +1566,7 @@ function isValidElementType(type) {
|
|
1566
1566
|
// types supported by any Flight configuration anywhere since
|
1567
1567
|
// we don't know which Flight build this will end up being used
|
1568
1568
|
// with.
|
1569
|
-
type.$$typeof === REACT_CLIENT_REFERENCE || type.getModuleId !== undefined) {
|
1569
|
+
type.$$typeof === REACT_CLIENT_REFERENCE$1 || type.getModuleId !== undefined) {
|
1570
1570
|
return true;
|
1571
1571
|
}
|
1572
1572
|
}
|
@@ -1720,7 +1720,7 @@ function cache(fn) {
|
|
1720
1720
|
}
|
1721
1721
|
|
1722
1722
|
function resolveDispatcher() {
|
1723
|
-
var dispatcher = ReactCurrentDispatcher.current;
|
1723
|
+
var dispatcher = ReactCurrentDispatcher$1.current;
|
1724
1724
|
|
1725
1725
|
{
|
1726
1726
|
if (dispatcher === null) {
|
@@ -1915,7 +1915,7 @@ function reenableLogs() {
|
|
1915
1915
|
}
|
1916
1916
|
}
|
1917
1917
|
|
1918
|
-
var ReactCurrentDispatcher
|
1918
|
+
var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
|
1919
1919
|
var prefix;
|
1920
1920
|
function describeBuiltInComponentFrame(name, source, ownerFn) {
|
1921
1921
|
{
|
@@ -1943,7 +1943,7 @@ var componentFrameCache;
|
|
1943
1943
|
|
1944
1944
|
function describeNativeComponentFrame(fn, construct) {
|
1945
1945
|
// If something asked for a stack inside a fake render, it should get ignored.
|
1946
|
-
if (
|
1946
|
+
if (!fn || reentry) {
|
1947
1947
|
return '';
|
1948
1948
|
}
|
1949
1949
|
|
@@ -1963,10 +1963,10 @@ function describeNativeComponentFrame(fn, construct) {
|
|
1963
1963
|
var previousDispatcher;
|
1964
1964
|
|
1965
1965
|
{
|
1966
|
-
previousDispatcher = ReactCurrentDispatcher
|
1966
|
+
previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function
|
1967
1967
|
// for warnings.
|
1968
1968
|
|
1969
|
-
ReactCurrentDispatcher
|
1969
|
+
ReactCurrentDispatcher.current = null;
|
1970
1970
|
disableLogs();
|
1971
1971
|
}
|
1972
1972
|
|
@@ -2085,7 +2085,7 @@ function describeNativeComponentFrame(fn, construct) {
|
|
2085
2085
|
reentry = false;
|
2086
2086
|
|
2087
2087
|
{
|
2088
|
-
ReactCurrentDispatcher
|
2088
|
+
ReactCurrentDispatcher.current = previousDispatcher;
|
2089
2089
|
reenableLogs();
|
2090
2090
|
}
|
2091
2091
|
|
@@ -2166,16 +2166,16 @@ function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
|
|
2166
2166
|
}
|
2167
2167
|
|
2168
2168
|
var loggedTypeFailures = {};
|
2169
|
-
var ReactDebugCurrentFrame
|
2169
|
+
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
2170
2170
|
|
2171
|
-
function setCurrentlyValidatingElement(element) {
|
2171
|
+
function setCurrentlyValidatingElement$1(element) {
|
2172
2172
|
{
|
2173
2173
|
if (element) {
|
2174
2174
|
var owner = element._owner;
|
2175
2175
|
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
2176
|
-
ReactDebugCurrentFrame
|
2176
|
+
ReactDebugCurrentFrame.setExtraStackFrame(stack);
|
2177
2177
|
} else {
|
2178
|
-
ReactDebugCurrentFrame
|
2178
|
+
ReactDebugCurrentFrame.setExtraStackFrame(null);
|
2179
2179
|
}
|
2180
2180
|
}
|
2181
2181
|
}
|
@@ -2207,31 +2207,31 @@ function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
|
2207
2207
|
}
|
2208
2208
|
|
2209
2209
|
if (error$1 && !(error$1 instanceof Error)) {
|
2210
|
-
setCurrentlyValidatingElement(element);
|
2210
|
+
setCurrentlyValidatingElement$1(element);
|
2211
2211
|
|
2212
2212
|
error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);
|
2213
2213
|
|
2214
|
-
setCurrentlyValidatingElement(null);
|
2214
|
+
setCurrentlyValidatingElement$1(null);
|
2215
2215
|
}
|
2216
2216
|
|
2217
2217
|
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
|
2218
2218
|
// Only monitor this failure once because there tends to be a lot of the
|
2219
2219
|
// same error.
|
2220
2220
|
loggedTypeFailures[error$1.message] = true;
|
2221
|
-
setCurrentlyValidatingElement(element);
|
2221
|
+
setCurrentlyValidatingElement$1(element);
|
2222
2222
|
|
2223
2223
|
error('Failed %s type: %s', location, error$1.message);
|
2224
2224
|
|
2225
|
-
setCurrentlyValidatingElement(null);
|
2225
|
+
setCurrentlyValidatingElement$1(null);
|
2226
2226
|
}
|
2227
2227
|
}
|
2228
2228
|
}
|
2229
2229
|
}
|
2230
2230
|
}
|
2231
2231
|
|
2232
|
-
var REACT_CLIENT_REFERENCE
|
2232
|
+
var REACT_CLIENT_REFERENCE = Symbol.for('react.client.reference');
|
2233
2233
|
|
2234
|
-
function setCurrentlyValidatingElement
|
2234
|
+
function setCurrentlyValidatingElement(element) {
|
2235
2235
|
{
|
2236
2236
|
if (element) {
|
2237
2237
|
var owner = element._owner;
|
@@ -2337,11 +2337,11 @@ function validateExplicitKey(element, parentType) {
|
|
2337
2337
|
}
|
2338
2338
|
|
2339
2339
|
{
|
2340
|
-
setCurrentlyValidatingElement
|
2340
|
+
setCurrentlyValidatingElement(element);
|
2341
2341
|
|
2342
2342
|
error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
2343
2343
|
|
2344
|
-
setCurrentlyValidatingElement
|
2344
|
+
setCurrentlyValidatingElement(null);
|
2345
2345
|
}
|
2346
2346
|
}
|
2347
2347
|
/**
|
@@ -2360,7 +2360,7 @@ function validateChildKeys(node, parentType) {
|
|
2360
2360
|
return;
|
2361
2361
|
}
|
2362
2362
|
|
2363
|
-
if (node.$$typeof === REACT_CLIENT_REFERENCE
|
2363
|
+
if (node.$$typeof === REACT_CLIENT_REFERENCE) ; else if (isArray(node)) {
|
2364
2364
|
for (var i = 0; i < node.length; i++) {
|
2365
2365
|
var child = node[i];
|
2366
2366
|
|
@@ -2408,7 +2408,7 @@ function validatePropTypes(element) {
|
|
2408
2408
|
return;
|
2409
2409
|
}
|
2410
2410
|
|
2411
|
-
if (type.$$typeof === REACT_CLIENT_REFERENCE
|
2411
|
+
if (type.$$typeof === REACT_CLIENT_REFERENCE) {
|
2412
2412
|
return;
|
2413
2413
|
}
|
2414
2414
|
|
@@ -2455,21 +2455,21 @@ function validateFragmentProps(fragment) {
|
|
2455
2455
|
var key = keys[i];
|
2456
2456
|
|
2457
2457
|
if (key !== 'children' && key !== 'key') {
|
2458
|
-
setCurrentlyValidatingElement
|
2458
|
+
setCurrentlyValidatingElement(fragment);
|
2459
2459
|
|
2460
2460
|
error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);
|
2461
2461
|
|
2462
|
-
setCurrentlyValidatingElement
|
2462
|
+
setCurrentlyValidatingElement(null);
|
2463
2463
|
break;
|
2464
2464
|
}
|
2465
2465
|
}
|
2466
2466
|
|
2467
2467
|
if (fragment.ref !== null) {
|
2468
|
-
setCurrentlyValidatingElement
|
2468
|
+
setCurrentlyValidatingElement(fragment);
|
2469
2469
|
|
2470
2470
|
error('Invalid attribute `ref` supplied to `React.Fragment`.');
|
2471
2471
|
|
2472
|
-
setCurrentlyValidatingElement
|
2472
|
+
setCurrentlyValidatingElement(null);
|
2473
2473
|
}
|
2474
2474
|
}
|
2475
2475
|
}
|
@@ -2510,7 +2510,7 @@ function createElementWithValidation(type, props, children) {
|
|
2510
2510
|
}
|
2511
2511
|
}
|
2512
2512
|
|
2513
|
-
var element = createElement.apply(this, arguments); // The result can be nullish if a mock or a custom function is used.
|
2513
|
+
var element = createElement$1.apply(this, arguments); // The result can be nullish if a mock or a custom function is used.
|
2514
2514
|
// TODO: Drop this when these are no longer allowed as the type argument.
|
2515
2515
|
|
2516
2516
|
if (element == null) {
|
@@ -2565,7 +2565,7 @@ function createFactoryWithValidation(type) {
|
|
2565
2565
|
return validatedFactory;
|
2566
2566
|
}
|
2567
2567
|
function cloneElementWithValidation(element, props, children) {
|
2568
|
-
var newElement = cloneElement.apply(this, arguments);
|
2568
|
+
var newElement = cloneElement$1.apply(this, arguments);
|
2569
2569
|
|
2570
2570
|
for (var i = 2; i < arguments.length; i++) {
|
2571
2571
|
validateChildKeys(arguments[i], newElement.type);
|
@@ -2575,12 +2575,12 @@ function cloneElementWithValidation(element, props, children) {
|
|
2575
2575
|
return newElement;
|
2576
2576
|
}
|
2577
2577
|
|
2578
|
-
var ContextRegistry
|
2578
|
+
var ContextRegistry = ReactSharedInternals.ContextRegistry;
|
2579
2579
|
function createServerContext(globalName, defaultValue) {
|
2580
2580
|
|
2581
2581
|
var wasDefined = true;
|
2582
2582
|
|
2583
|
-
if (!ContextRegistry
|
2583
|
+
if (!ContextRegistry[globalName]) {
|
2584
2584
|
wasDefined = false;
|
2585
2585
|
var _context = {
|
2586
2586
|
$$typeof: REACT_SERVER_CONTEXT_TYPE,
|
@@ -2624,10 +2624,10 @@ function createServerContext(globalName, defaultValue) {
|
|
2624
2624
|
});
|
2625
2625
|
}
|
2626
2626
|
|
2627
|
-
ContextRegistry
|
2627
|
+
ContextRegistry[globalName] = _context;
|
2628
2628
|
}
|
2629
2629
|
|
2630
|
-
var context = ContextRegistry
|
2630
|
+
var context = ContextRegistry[globalName];
|
2631
2631
|
|
2632
2632
|
if (context._defaultValue === REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED) {
|
2633
2633
|
context._defaultValue = defaultValue;
|
@@ -2988,9 +2988,9 @@ var queueSeveralMicrotasks = typeof queueMicrotask === 'function' ? function (ca
|
|
2988
2988
|
});
|
2989
2989
|
} : enqueueTask;
|
2990
2990
|
|
2991
|
-
var createElement
|
2992
|
-
var cloneElement
|
2993
|
-
var createFactory =
|
2991
|
+
var createElement = createElementWithValidation ;
|
2992
|
+
var cloneElement = cloneElementWithValidation ;
|
2993
|
+
var createFactory = createFactoryWithValidation ;
|
2994
2994
|
var Children = {
|
2995
2995
|
map: mapChildren,
|
2996
2996
|
forEach: forEachChildren,
|
@@ -3008,9 +3008,9 @@ exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
3008
3008
|
exports.Suspense = REACT_SUSPENSE_TYPE;
|
3009
3009
|
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
|
3010
3010
|
exports.cache = cache;
|
3011
|
-
exports.cloneElement = cloneElement
|
3011
|
+
exports.cloneElement = cloneElement;
|
3012
3012
|
exports.createContext = createContext;
|
3013
|
-
exports.createElement = createElement
|
3013
|
+
exports.createElement = createElement;
|
3014
3014
|
exports.createFactory = createFactory;
|
3015
3015
|
exports.createRef = createRef;
|
3016
3016
|
exports.createServerContext = createServerContext;
|
@@ -8,23 +8,23 @@
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
9
|
*/
|
10
10
|
'use strict';var l=Symbol.for("react.element"),n=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),t=Symbol.for("react.provider"),u=Symbol.for("react.context"),v=Symbol.for("react.server_context"),w=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),A=Symbol.for("react.default_value"),B=Symbol.iterator;
|
11
|
-
function C(a){if(null===a||"object"!==typeof a)return null;a=B&&a[B]||a["@@iterator"];return"function"===typeof a?a:null}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,F={};function G(a,b,
|
12
|
-
G.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,b,"setState")};G.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function H(){}H.prototype=G.prototype;function I(a,b,
|
11
|
+
function C(a){if(null===a||"object"!==typeof a)return null;a=B&&a[B]||a["@@iterator"];return"function"===typeof a?a:null}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,F={};function G(a,b,c){this.props=a;this.context=b;this.refs=F;this.updater=c||D}G.prototype.isReactComponent={};
|
12
|
+
G.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,b,"setState")};G.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function H(){}H.prototype=G.prototype;function I(a,b,c){this.props=a;this.context=b;this.refs=F;this.updater=c||D}var J=I.prototype=new H;
|
13
13
|
J.constructor=I;E(J,G.prototype);J.isPureReactComponent=!0;var K=Array.isArray,L=Object.prototype.hasOwnProperty,M={current:null},N={key:!0,ref:!0,__self:!0,__source:!0};
|
14
|
-
function O(a,b,
|
15
|
-
function aa(a,b){return{$$typeof:l,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function P(a){return"object"===typeof a&&null!==a&&a.$$typeof===l}function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(
|
16
|
-
function S(a,b,d,
|
17
|
-
a[h];var k=
|
18
|
-
function T(a,b,
|
14
|
+
function O(a,b,c){var d,e={},f=null,g=null;if(null!=b)for(d in void 0!==b.ref&&(g=b.ref),void 0!==b.key&&(f=""+b.key),b)L.call(b,d)&&!N.hasOwnProperty(d)&&(e[d]=b[d]);var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){for(var k=Array(h),m=0;m<h;m++)k[m]=arguments[m+2];e.children=k}if(a&&a.defaultProps)for(d in h=a.defaultProps,h)void 0===e[d]&&(e[d]=h[d]);return{$$typeof:l,type:a,key:f,ref:g,props:e,_owner:M.current}}
|
15
|
+
function aa(a,b){return{$$typeof:l,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function P(a){return"object"===typeof a&&null!==a&&a.$$typeof===l}function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}var Q=/\/+/g;function R(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
|
16
|
+
function S(a,b,c,d,e){var f=typeof a;if("undefined"===f||"boolean"===f)a=null;var g=!1;if(null===a)g=!0;else switch(f){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case l:case n:g=!0}}if(g)return g=a,e=e(g),a=""===d?"."+R(g,0):d,K(e)?(c="",null!=a&&(c=a.replace(Q,"$&/")+"/"),S(e,b,c,"",function(m){return m})):null!=e&&(P(e)&&(e=aa(e,c+(!e.key||g&&g.key===e.key?"":(""+e.key).replace(Q,"$&/")+"/")+a)),b.push(e)),1;g=0;d=""===d?".":d+":";if(K(a))for(var h=0;h<a.length;h++){f=
|
17
|
+
a[h];var k=d+R(f,h);g+=S(f,b,c,k,e)}else if(k=C(a),"function"===typeof k)for(a=k.call(a),h=0;!(f=a.next()).done;)f=f.value,k=d+R(f,h++),g+=S(f,b,c,k,e);else if("object"===f)throw b=String(a),Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");return g}
|
18
|
+
function T(a,b,c){if(null==a)return a;var d=[],e=0;S(a,d,"","",function(f){return b.call(c,f,e++)});return d}function ba(a){if(-1===a._status){var b=a._result;b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}var U={current:null};function ca(){return new WeakMap}
|
19
19
|
function V(){return{s:0,v:void 0,o:null,p:null}}var W={current:null},X={transition:null},Y={ReactCurrentDispatcher:W,ReactCurrentCache:U,ReactCurrentBatchConfig:X,ReactCurrentOwner:M,ContextRegistry:{}},Z=Y.ContextRegistry;
|
20
|
-
exports.Children={map:T,forEach:function(a,b,
|
20
|
+
exports.Children={map:T,forEach:function(a,b,c){T(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;T(a,function(){b++});return b},toArray:function(a){return T(a,function(b){return b})||[]},only:function(a){if(!P(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};exports.Component=G;exports.Fragment=p;exports.Profiler=r;exports.PureComponent=I;exports.StrictMode=q;exports.Suspense=x;
|
21
21
|
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Y;
|
22
|
-
exports.cache=function(a){return function(){var b=U.current;if(!b)return a.apply(null,arguments);var
|
23
|
-
arguments);
|
24
|
-
exports.cloneElement=function(a,b,
|
25
|
-
for(var m=0;m<k;m++)h[m]=arguments[m+2];
|
26
|
-
exports.createServerContext=function(a,b){var
|
22
|
+
exports.cache=function(a){return function(){var b=U.current;if(!b)return a.apply(null,arguments);var c=b.getCacheForType(ca);b=c.get(a);void 0===b&&(b=V(),c.set(a,b));c=0;for(var d=arguments.length;c<d;c++){var e=arguments[c];if("function"===typeof e||"object"===typeof e&&null!==e){var f=b.o;null===f&&(b.o=f=new WeakMap);b=f.get(e);void 0===b&&(b=V(),f.set(e,b))}else f=b.p,null===f&&(b.p=f=new Map),b=f.get(e),void 0===b&&(b=V(),f.set(e,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var g=a.apply(null,
|
23
|
+
arguments);c=b;c.s=1;return c.v=g}catch(h){throw g=b,g.s=2,g.v=h,h;}}};
|
24
|
+
exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+a+".");var d=E({},a.props),e=a.key,f=a.ref,g=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,g=M.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var h=a.type.defaultProps;for(k in b)L.call(b,k)&&!N.hasOwnProperty(k)&&(d[k]=void 0===b[k]&&void 0!==h?h[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){h=Array(k);
|
25
|
+
for(var m=0;m<k;m++)h[m]=arguments[m+2];d.children=h}return{$$typeof:l,type:a.type,key:e,ref:f,props:d,_owner:g}};exports.createContext=function(a){a={$$typeof:u,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};a.Provider={$$typeof:t,_context:a};return a.Consumer=a};exports.createElement=O;exports.createFactory=function(a){var b=O.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}};
|
26
|
+
exports.createServerContext=function(a,b){var c=!0;if(!Z[a]){c=!1;var d={$$typeof:v,_currentValue:b,_currentValue2:b,_defaultValue:b,_threadCount:0,Provider:null,Consumer:null,_globalName:a};d.Provider={$$typeof:t,_context:d};Z[a]=d}d=Z[a];if(d._defaultValue===A)d._defaultValue=b,d._currentValue===A&&(d._currentValue=b),d._currentValue2===A&&(d._currentValue2=b);else if(c)throw Error("ServerContext: "+a+" already defined");return d};exports.forwardRef=function(a){return{$$typeof:w,render:a}};
|
27
27
|
exports.isValidElement=P;exports.lazy=function(a){return{$$typeof:z,_payload:{_status:-1,_result:a},_init:ba}};exports.memo=function(a,b){return{$$typeof:y,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=X.transition;X.transition={};try{a()}finally{X.transition=b}};exports.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.");};exports.unstable_useCacheRefresh=function(){return W.current.useCacheRefresh()};exports.use=function(a){return W.current.use(a)};
|
28
|
-
exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a){return W.current.useDeferredValue(a)};exports.useEffect=function(a,b){return W.current.useEffect(a,b)};exports.useId=function(){return W.current.useId()};exports.useImperativeHandle=function(a,b,
|
29
|
-
exports.useInsertionEffect=function(a,b){return W.current.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return W.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.useReducer=function(a,b,
|
30
|
-
exports.useTransition=function(){return W.current.useTransition()};exports.version="18.3.0-next-
|
28
|
+
exports.useCallback=function(a,b){return W.current.useCallback(a,b)};exports.useContext=function(a){return W.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a){return W.current.useDeferredValue(a)};exports.useEffect=function(a,b){return W.current.useEffect(a,b)};exports.useId=function(){return W.current.useId()};exports.useImperativeHandle=function(a,b,c){return W.current.useImperativeHandle(a,b,c)};
|
29
|
+
exports.useInsertionEffect=function(a,b){return W.current.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return W.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return W.current.useMemo(a,b)};exports.useReducer=function(a,b,c){return W.current.useReducer(a,b,c)};exports.useRef=function(a){return W.current.useRef(a)};exports.useState=function(a){return W.current.useState(a)};exports.useSyncExternalStore=function(a,b,c){return W.current.useSyncExternalStore(a,b,c)};
|
30
|
+
exports.useTransition=function(){return W.current.useTransition()};exports.version="18.3.0-next-ca2cf319f-20230223";
|