Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react

Package Overview
Dependencies
Maintainers
4
Versions
2070
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react - npm Package Compare versions

Comparing version 19.0.0-rc-378b305958-20240710 to 19.0.0-rc-380f5d67-20241113

19

cjs/react-compiler-runtime.development.js

@@ -14,19 +14,2 @@ /**

(function () {
function error(format) {
for (
var _len2 = arguments.length,
args = Array(1 < _len2 ? _len2 - 1 : 0),
_key2 = 1;
_key2 < _len2;
_key2++
)
args[_key2 - 1] = arguments[_key2];
_len2 = format;
_key2 = Error("react-stack-top-frame");
ReactSharedInternals.getCurrentStack &&
((_key2 = ReactSharedInternals.getCurrentStack(_key2)),
"" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2]))));
args.unshift(_len2);
Function.prototype.apply.call(console.error, console, args);
}
var ReactSharedInternals =

@@ -37,3 +20,3 @@ require("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;

null === dispatcher &&
error(
console.error(
"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."

@@ -40,0 +23,0 @@ );

266

cjs/react-jsx-dev-runtime.development.js

@@ -14,19 +14,2 @@ /**

(function () {
function error(format) {
for (
var _len2 = arguments.length,
args = Array(1 < _len2 ? _len2 - 1 : 0),
_key2 = 1;
_key2 < _len2;
_key2++
)
args[_key2 - 1] = arguments[_key2];
_len2 = format;
_key2 = Error("react-stack-top-frame");
ReactSharedInternals.getCurrentStack &&
((_key2 = ReactSharedInternals.getCurrentStack(_key2)),
"" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2]))));
args.unshift(_len2);
Function.prototype.apply.call(console.error, console, args);
}
function getComponentNameFromType(type) {

@@ -56,3 +39,3 @@ if (null == type) return null;

("number" === typeof type.tag &&
error(
console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."

@@ -99,16 +82,18 @@ ),

}
if (JSCompiler_inline_result)
return (
(JSCompiler_inline_result =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object"),
error(
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result
),
testStringCoercion(value)
if (JSCompiler_inline_result) {
JSCompiler_inline_result = console;
var JSCompiler_temp_const = JSCompiler_inline_result.error;
var JSCompiler_inline_result$jscomp$0 =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object";
JSCompiler_temp_const.call(
JSCompiler_inline_result,
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result$jscomp$0
);
return testStringCoercion(value);
}
}

@@ -158,3 +143,3 @@ function disabledLog() {}

0 > disabledDepth &&
error(
console.error(
"disabledDepth fell below zero. This is a bug in React. Please file an issue."

@@ -174,4 +159,4 @@ );

: -1 < x.stack.indexOf("@")
? "@unknown:0:0"
: "";
? "@unknown:0:0"
: "";
}

@@ -191,60 +176,60 @@ return "\n" + prefix + name + suffix;

disableLogs();
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
try {
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
throw Error();
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
}
fn.call(Fake.prototype);
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
throw Error();
} catch (x$1) {
control = x$1;
}
fn.call(Fake.prototype);
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
}
} else {
try {
throw Error();
} catch (x$1) {
control = x$1;
}
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
}
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
return [null, null];
}
return [null, null];
}
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name"
);
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
"name"
);
try {
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
);
var _RunInRootFrame$Deter =

@@ -258,5 +243,5 @@ RunInRootFrame.DetermineComponentFrameRoot(),

for (
sampleStack = _RunInRootFrame$Deter = 0;
_RunInRootFrame$Deter < sampleLines.length &&
!sampleLines[_RunInRootFrame$Deter].includes(
_RunInRootFrame$Deter = namePropDescriptor = 0;
namePropDescriptor < sampleLines.length &&
!sampleLines[namePropDescriptor].includes(
"DetermineComponentFrameRoot"

@@ -266,43 +251,47 @@ );

)
_RunInRootFrame$Deter++;
namePropDescriptor++;
for (
;
sampleStack < controlLines.length &&
!controlLines[sampleStack].includes("DetermineComponentFrameRoot");
_RunInRootFrame$Deter < controlLines.length &&
!controlLines[_RunInRootFrame$Deter].includes(
"DetermineComponentFrameRoot"
);
)
sampleStack++;
_RunInRootFrame$Deter++;
if (
_RunInRootFrame$Deter === sampleLines.length ||
sampleStack === controlLines.length
namePropDescriptor === sampleLines.length ||
_RunInRootFrame$Deter === controlLines.length
)
for (
_RunInRootFrame$Deter = sampleLines.length - 1,
sampleStack = controlLines.length - 1;
1 <= _RunInRootFrame$Deter &&
0 <= sampleStack &&
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack];
namePropDescriptor = sampleLines.length - 1,
_RunInRootFrame$Deter = controlLines.length - 1;
1 <= namePropDescriptor &&
0 <= _RunInRootFrame$Deter &&
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter];
)
sampleStack--;
_RunInRootFrame$Deter--;
for (
;
1 <= _RunInRootFrame$Deter && 0 <= sampleStack;
_RunInRootFrame$Deter--, sampleStack--
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
namePropDescriptor--, _RunInRootFrame$Deter--
)
if (
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack]
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter]
) {
if (1 !== _RunInRootFrame$Deter || 1 !== sampleStack) {
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
do
if (
(_RunInRootFrame$Deter--,
sampleStack--,
0 > sampleStack ||
sampleLines[_RunInRootFrame$Deter] !==
controlLines[sampleStack])
(namePropDescriptor--,
_RunInRootFrame$Deter--,
0 > _RunInRootFrame$Deter ||
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter])
) {
var _frame =
"\n" +
sampleLines[_RunInRootFrame$Deter].replace(
sampleLines[namePropDescriptor].replace(
" at new ",

@@ -318,3 +307,3 @@ " at "

}
while (1 <= _RunInRootFrame$Deter && 0 <= sampleStack);
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
}

@@ -371,9 +360,2 @@ break;

}
function hasValidRef(config) {
if (hasOwnProperty.call(config, "ref")) {
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
if (getter && getter.isReactWarning) return !1;
}
return void 0 !== config.ref;
}
function hasValidKey(config) {

@@ -390,3 +372,3 @@ if (hasOwnProperty.call(config, "key")) {

((specialPropKeyWarningShown = !0),
error(
console.error(
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",

@@ -406,3 +388,3 @@ displayName

((didWarnAboutElementRef[componentName] = !0),
error(
console.error(
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."

@@ -413,4 +395,4 @@ ));

}
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
type = {

@@ -423,3 +405,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -485,3 +467,3 @@ enumerable: !1,

} else
error(
console.error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."

@@ -503,10 +485,12 @@ );

: isArrayImpl(type)
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
error(
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" +
(getComponentNameFromType(type.type) || "Unknown") +
" />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
console.error(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",

@@ -529,3 +513,3 @@ isStaticChildren,

0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
error(
console.error(
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',

@@ -544,3 +528,2 @@ isStaticChildren,

(checkKeyStringCoercion(config.key), (children = "" + config.key));
hasValidRef(config);
if ("key" in config) {

@@ -552,16 +535,9 @@ maybeKey = {};

children &&
((config =
defineKeyPropWarningGetter(
maybeKey,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type),
children && defineKeyPropWarningGetter(maybeKey, config));
return ReactElement(
type,
children,
null,
self,
source,
getOwner(),
maybeKey
);
: type
);
return ReactElement(type, children, self, source, getOwner(), maybeKey);
}

@@ -629,3 +605,3 @@ function validateChildKeys(node, parentType) {

};
error(
console.error(
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',

@@ -666,5 +642,5 @@ parentType,

MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
ReactSharedInternals =
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,

@@ -671,0 +647,0 @@ assign = Object.assign,

@@ -14,19 +14,2 @@ /**

(function () {
function error(format) {
for (
var _len2 = arguments.length,
args = Array(1 < _len2 ? _len2 - 1 : 0),
_key2 = 1;
_key2 < _len2;
_key2++
)
args[_key2 - 1] = arguments[_key2];
_len2 = format;
_key2 = Error("react-stack-top-frame");
ReactSharedInternalsServer.getCurrentStack &&
((_key2 = ReactSharedInternalsServer.getCurrentStack(_key2)),
"" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2]))));
args.unshift(_len2);
Function.prototype.apply.call(console.error, console, args);
}
function getComponentNameFromType(type) {

@@ -56,3 +39,3 @@ if (null == type) return null;

("number" === typeof type.tag &&
error(
console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."

@@ -99,16 +82,18 @@ ),

}
if (JSCompiler_inline_result)
return (
(JSCompiler_inline_result =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object"),
error(
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result
),
testStringCoercion(value)
if (JSCompiler_inline_result) {
JSCompiler_inline_result = console;
var JSCompiler_temp_const = JSCompiler_inline_result.error;
var JSCompiler_inline_result$jscomp$0 =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object";
JSCompiler_temp_const.call(
JSCompiler_inline_result,
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result$jscomp$0
);
return testStringCoercion(value);
}
}

@@ -158,3 +143,3 @@ function disabledLog() {}

0 > disabledDepth &&
error(
console.error(
"disabledDepth fell below zero. This is a bug in React. Please file an issue."

@@ -174,4 +159,4 @@ );

: -1 < x.stack.indexOf("@")
? "@unknown:0:0"
: "";
? "@unknown:0:0"
: "";
}

@@ -191,60 +176,60 @@ return "\n" + prefix + name + suffix;

disableLogs();
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
try {
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
throw Error();
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
}
fn.call(Fake.prototype);
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
throw Error();
} catch (x$1) {
control = x$1;
}
fn.call(Fake.prototype);
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
}
} else {
try {
throw Error();
} catch (x$1) {
control = x$1;
}
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
}
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
return [null, null];
}
return [null, null];
}
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name"
);
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
"name"
);
try {
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
);
var _RunInRootFrame$Deter =

@@ -258,5 +243,5 @@ RunInRootFrame.DetermineComponentFrameRoot(),

for (
sampleStack = _RunInRootFrame$Deter = 0;
_RunInRootFrame$Deter < sampleLines.length &&
!sampleLines[_RunInRootFrame$Deter].includes(
_RunInRootFrame$Deter = namePropDescriptor = 0;
namePropDescriptor < sampleLines.length &&
!sampleLines[namePropDescriptor].includes(
"DetermineComponentFrameRoot"

@@ -266,43 +251,47 @@ );

)
_RunInRootFrame$Deter++;
namePropDescriptor++;
for (
;
sampleStack < controlLines.length &&
!controlLines[sampleStack].includes("DetermineComponentFrameRoot");
_RunInRootFrame$Deter < controlLines.length &&
!controlLines[_RunInRootFrame$Deter].includes(
"DetermineComponentFrameRoot"
);
)
sampleStack++;
_RunInRootFrame$Deter++;
if (
_RunInRootFrame$Deter === sampleLines.length ||
sampleStack === controlLines.length
namePropDescriptor === sampleLines.length ||
_RunInRootFrame$Deter === controlLines.length
)
for (
_RunInRootFrame$Deter = sampleLines.length - 1,
sampleStack = controlLines.length - 1;
1 <= _RunInRootFrame$Deter &&
0 <= sampleStack &&
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack];
namePropDescriptor = sampleLines.length - 1,
_RunInRootFrame$Deter = controlLines.length - 1;
1 <= namePropDescriptor &&
0 <= _RunInRootFrame$Deter &&
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter];
)
sampleStack--;
_RunInRootFrame$Deter--;
for (
;
1 <= _RunInRootFrame$Deter && 0 <= sampleStack;
_RunInRootFrame$Deter--, sampleStack--
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
namePropDescriptor--, _RunInRootFrame$Deter--
)
if (
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack]
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter]
) {
if (1 !== _RunInRootFrame$Deter || 1 !== sampleStack) {
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
do
if (
(_RunInRootFrame$Deter--,
sampleStack--,
0 > sampleStack ||
sampleLines[_RunInRootFrame$Deter] !==
controlLines[sampleStack])
(namePropDescriptor--,
_RunInRootFrame$Deter--,
0 > _RunInRootFrame$Deter ||
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter])
) {
var _frame =
"\n" +
sampleLines[_RunInRootFrame$Deter].replace(
sampleLines[namePropDescriptor].replace(
" at new ",

@@ -318,3 +307,3 @@ " at "

}
while (1 <= _RunInRootFrame$Deter && 0 <= sampleStack);
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
}

@@ -371,9 +360,2 @@ break;

}
function hasValidRef(config) {
if (hasOwnProperty.call(config, "ref")) {
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
if (getter && getter.isReactWarning) return !1;
}
return void 0 !== config.ref;
}
function hasValidKey(config) {

@@ -390,3 +372,3 @@ if (hasOwnProperty.call(config, "key")) {

((specialPropKeyWarningShown = !0),
error(
console.error(
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",

@@ -406,3 +388,3 @@ displayName

((didWarnAboutElementRef[componentName] = !0),
error(
console.error(
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."

@@ -413,4 +395,4 @@ ));

}
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
type = {

@@ -423,3 +405,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -485,3 +467,3 @@ enumerable: !1,

} else
error(
console.error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."

@@ -503,10 +485,12 @@ );

: isArrayImpl(type)
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
error(
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" +
(getComponentNameFromType(type.type) || "Unknown") +
" />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
console.error(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",

@@ -529,3 +513,3 @@ isStaticChildren,

0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
error(
console.error(
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',

@@ -544,3 +528,2 @@ isStaticChildren,

(checkKeyStringCoercion(config.key), (children = "" + config.key));
hasValidRef(config);
if ("key" in config) {

@@ -552,16 +535,9 @@ maybeKey = {};

children &&
((config =
defineKeyPropWarningGetter(
maybeKey,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type),
children && defineKeyPropWarningGetter(maybeKey, config));
return ReactElement(
type,
children,
null,
self,
source,
getOwner(),
maybeKey
);
: type
);
return ReactElement(type, children, self, source, getOwner(), maybeKey);
}

@@ -629,3 +605,3 @@ function validateChildKeys(node, parentType) {

};
error(
console.error(
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',

@@ -666,2 +642,3 @@ parentType,

MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
ReactSharedInternalsServer =

@@ -673,4 +650,3 @@ React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;

);
var REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
var hasOwnProperty = Object.prototype.hasOwnProperty,
assign = Object.assign,

@@ -677,0 +653,0 @@ REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),

@@ -14,19 +14,2 @@ /**

(function () {
function error(format) {
for (
var _len2 = arguments.length,
args = Array(1 < _len2 ? _len2 - 1 : 0),
_key2 = 1;
_key2 < _len2;
_key2++
)
args[_key2 - 1] = arguments[_key2];
_len2 = format;
_key2 = Error("react-stack-top-frame");
ReactSharedInternals.getCurrentStack &&
((_key2 = ReactSharedInternals.getCurrentStack(_key2)),
"" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2]))));
args.unshift(_len2);
Function.prototype.apply.call(console.error, console, args);
}
function getComponentNameFromType(type) {

@@ -56,3 +39,3 @@ if (null == type) return null;

("number" === typeof type.tag &&
error(
console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."

@@ -99,16 +82,18 @@ ),

}
if (JSCompiler_inline_result)
return (
(JSCompiler_inline_result =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object"),
error(
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result
),
testStringCoercion(value)
if (JSCompiler_inline_result) {
JSCompiler_inline_result = console;
var JSCompiler_temp_const = JSCompiler_inline_result.error;
var JSCompiler_inline_result$jscomp$0 =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object";
JSCompiler_temp_const.call(
JSCompiler_inline_result,
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result$jscomp$0
);
return testStringCoercion(value);
}
}

@@ -158,3 +143,3 @@ function disabledLog() {}

0 > disabledDepth &&
error(
console.error(
"disabledDepth fell below zero. This is a bug in React. Please file an issue."

@@ -174,4 +159,4 @@ );

: -1 < x.stack.indexOf("@")
? "@unknown:0:0"
: "";
? "@unknown:0:0"
: "";
}

@@ -191,60 +176,60 @@ return "\n" + prefix + name + suffix;

disableLogs();
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
try {
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
throw Error();
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
}
fn.call(Fake.prototype);
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
throw Error();
} catch (x$1) {
control = x$1;
}
fn.call(Fake.prototype);
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
}
} else {
try {
throw Error();
} catch (x$1) {
control = x$1;
}
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
}
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
return [null, null];
}
return [null, null];
}
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name"
);
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
"name"
);
try {
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
);
var _RunInRootFrame$Deter =

@@ -258,5 +243,5 @@ RunInRootFrame.DetermineComponentFrameRoot(),

for (
sampleStack = _RunInRootFrame$Deter = 0;
_RunInRootFrame$Deter < sampleLines.length &&
!sampleLines[_RunInRootFrame$Deter].includes(
_RunInRootFrame$Deter = namePropDescriptor = 0;
namePropDescriptor < sampleLines.length &&
!sampleLines[namePropDescriptor].includes(
"DetermineComponentFrameRoot"

@@ -266,43 +251,47 @@ );

)
_RunInRootFrame$Deter++;
namePropDescriptor++;
for (
;
sampleStack < controlLines.length &&
!controlLines[sampleStack].includes("DetermineComponentFrameRoot");
_RunInRootFrame$Deter < controlLines.length &&
!controlLines[_RunInRootFrame$Deter].includes(
"DetermineComponentFrameRoot"
);
)
sampleStack++;
_RunInRootFrame$Deter++;
if (
_RunInRootFrame$Deter === sampleLines.length ||
sampleStack === controlLines.length
namePropDescriptor === sampleLines.length ||
_RunInRootFrame$Deter === controlLines.length
)
for (
_RunInRootFrame$Deter = sampleLines.length - 1,
sampleStack = controlLines.length - 1;
1 <= _RunInRootFrame$Deter &&
0 <= sampleStack &&
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack];
namePropDescriptor = sampleLines.length - 1,
_RunInRootFrame$Deter = controlLines.length - 1;
1 <= namePropDescriptor &&
0 <= _RunInRootFrame$Deter &&
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter];
)
sampleStack--;
_RunInRootFrame$Deter--;
for (
;
1 <= _RunInRootFrame$Deter && 0 <= sampleStack;
_RunInRootFrame$Deter--, sampleStack--
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
namePropDescriptor--, _RunInRootFrame$Deter--
)
if (
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack]
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter]
) {
if (1 !== _RunInRootFrame$Deter || 1 !== sampleStack) {
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
do
if (
(_RunInRootFrame$Deter--,
sampleStack--,
0 > sampleStack ||
sampleLines[_RunInRootFrame$Deter] !==
controlLines[sampleStack])
(namePropDescriptor--,
_RunInRootFrame$Deter--,
0 > _RunInRootFrame$Deter ||
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter])
) {
var _frame =
"\n" +
sampleLines[_RunInRootFrame$Deter].replace(
sampleLines[namePropDescriptor].replace(
" at new ",

@@ -318,3 +307,3 @@ " at "

}
while (1 <= _RunInRootFrame$Deter && 0 <= sampleStack);
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
}

@@ -371,9 +360,2 @@ break;

}
function hasValidRef(config) {
if (hasOwnProperty.call(config, "ref")) {
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
if (getter && getter.isReactWarning) return !1;
}
return void 0 !== config.ref;
}
function hasValidKey(config) {

@@ -390,3 +372,3 @@ if (hasOwnProperty.call(config, "key")) {

((specialPropKeyWarningShown = !0),
error(
console.error(
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",

@@ -406,3 +388,3 @@ displayName

((didWarnAboutElementRef[componentName] = !0),
error(
console.error(
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."

@@ -413,4 +395,4 @@ ));

}
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
type = {

@@ -423,3 +405,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -485,3 +467,3 @@ enumerable: !1,

} else
error(
console.error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."

@@ -503,10 +485,12 @@ );

: isArrayImpl(type)
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
error(
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" +
(getComponentNameFromType(type.type) || "Unknown") +
" />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
console.error(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",

@@ -529,3 +513,3 @@ isStaticChildren,

0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
error(
console.error(
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',

@@ -544,3 +528,2 @@ isStaticChildren,

(checkKeyStringCoercion(config.key), (children = "" + config.key));
hasValidRef(config);
if ("key" in config) {

@@ -552,16 +535,9 @@ maybeKey = {};

children &&
((config =
defineKeyPropWarningGetter(
maybeKey,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type),
children && defineKeyPropWarningGetter(maybeKey, config));
return ReactElement(
type,
children,
null,
self,
source,
getOwner(),
maybeKey
);
: type
);
return ReactElement(type, children, self, source, getOwner(), maybeKey);
}

@@ -629,3 +605,3 @@ function validateChildKeys(node, parentType) {

};
error(
console.error(
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',

@@ -666,5 +642,5 @@ parentType,

MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
ReactSharedInternals =
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,

@@ -671,0 +647,0 @@ assign = Object.assign,

@@ -14,19 +14,2 @@ /**

(function () {
function error(format) {
for (
var _len2 = arguments.length,
args = Array(1 < _len2 ? _len2 - 1 : 0),
_key2 = 1;
_key2 < _len2;
_key2++
)
args[_key2 - 1] = arguments[_key2];
_len2 = format;
_key2 = Error("react-stack-top-frame");
ReactSharedInternalsServer.getCurrentStack &&
((_key2 = ReactSharedInternalsServer.getCurrentStack(_key2)),
"" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2]))));
args.unshift(_len2);
Function.prototype.apply.call(console.error, console, args);
}
function getComponentNameFromType(type) {

@@ -56,3 +39,3 @@ if (null == type) return null;

("number" === typeof type.tag &&
error(
console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."

@@ -99,16 +82,18 @@ ),

}
if (JSCompiler_inline_result)
return (
(JSCompiler_inline_result =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object"),
error(
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result
),
testStringCoercion(value)
if (JSCompiler_inline_result) {
JSCompiler_inline_result = console;
var JSCompiler_temp_const = JSCompiler_inline_result.error;
var JSCompiler_inline_result$jscomp$0 =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object";
JSCompiler_temp_const.call(
JSCompiler_inline_result,
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result$jscomp$0
);
return testStringCoercion(value);
}
}

@@ -158,3 +143,3 @@ function disabledLog() {}

0 > disabledDepth &&
error(
console.error(
"disabledDepth fell below zero. This is a bug in React. Please file an issue."

@@ -174,4 +159,4 @@ );

: -1 < x.stack.indexOf("@")
? "@unknown:0:0"
: "";
? "@unknown:0:0"
: "";
}

@@ -191,60 +176,60 @@ return "\n" + prefix + name + suffix;

disableLogs();
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
try {
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
throw Error();
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
}
fn.call(Fake.prototype);
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
throw Error();
} catch (x$1) {
control = x$1;
}
fn.call(Fake.prototype);
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
}
} else {
try {
throw Error();
} catch (x$1) {
control = x$1;
}
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
}
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
return [null, null];
}
return [null, null];
}
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name"
);
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
"name"
);
try {
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
);
var _RunInRootFrame$Deter =

@@ -258,5 +243,5 @@ RunInRootFrame.DetermineComponentFrameRoot(),

for (
sampleStack = _RunInRootFrame$Deter = 0;
_RunInRootFrame$Deter < sampleLines.length &&
!sampleLines[_RunInRootFrame$Deter].includes(
_RunInRootFrame$Deter = namePropDescriptor = 0;
namePropDescriptor < sampleLines.length &&
!sampleLines[namePropDescriptor].includes(
"DetermineComponentFrameRoot"

@@ -266,43 +251,47 @@ );

)
_RunInRootFrame$Deter++;
namePropDescriptor++;
for (
;
sampleStack < controlLines.length &&
!controlLines[sampleStack].includes("DetermineComponentFrameRoot");
_RunInRootFrame$Deter < controlLines.length &&
!controlLines[_RunInRootFrame$Deter].includes(
"DetermineComponentFrameRoot"
);
)
sampleStack++;
_RunInRootFrame$Deter++;
if (
_RunInRootFrame$Deter === sampleLines.length ||
sampleStack === controlLines.length
namePropDescriptor === sampleLines.length ||
_RunInRootFrame$Deter === controlLines.length
)
for (
_RunInRootFrame$Deter = sampleLines.length - 1,
sampleStack = controlLines.length - 1;
1 <= _RunInRootFrame$Deter &&
0 <= sampleStack &&
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack];
namePropDescriptor = sampleLines.length - 1,
_RunInRootFrame$Deter = controlLines.length - 1;
1 <= namePropDescriptor &&
0 <= _RunInRootFrame$Deter &&
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter];
)
sampleStack--;
_RunInRootFrame$Deter--;
for (
;
1 <= _RunInRootFrame$Deter && 0 <= sampleStack;
_RunInRootFrame$Deter--, sampleStack--
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
namePropDescriptor--, _RunInRootFrame$Deter--
)
if (
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack]
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter]
) {
if (1 !== _RunInRootFrame$Deter || 1 !== sampleStack) {
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
do
if (
(_RunInRootFrame$Deter--,
sampleStack--,
0 > sampleStack ||
sampleLines[_RunInRootFrame$Deter] !==
controlLines[sampleStack])
(namePropDescriptor--,
_RunInRootFrame$Deter--,
0 > _RunInRootFrame$Deter ||
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter])
) {
var _frame =
"\n" +
sampleLines[_RunInRootFrame$Deter].replace(
sampleLines[namePropDescriptor].replace(
" at new ",

@@ -318,3 +307,3 @@ " at "

}
while (1 <= _RunInRootFrame$Deter && 0 <= sampleStack);
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
}

@@ -371,9 +360,2 @@ break;

}
function hasValidRef(config) {
if (hasOwnProperty.call(config, "ref")) {
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
if (getter && getter.isReactWarning) return !1;
}
return void 0 !== config.ref;
}
function hasValidKey(config) {

@@ -390,3 +372,3 @@ if (hasOwnProperty.call(config, "key")) {

((specialPropKeyWarningShown = !0),
error(
console.error(
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",

@@ -406,3 +388,3 @@ displayName

((didWarnAboutElementRef[componentName] = !0),
error(
console.error(
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."

@@ -413,4 +395,4 @@ ));

}
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
type = {

@@ -423,3 +405,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -485,3 +467,3 @@ enumerable: !1,

} else
error(
console.error(
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."

@@ -503,10 +485,12 @@ );

: isArrayImpl(type)
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" + (getComponentNameFromType(type.type) || "Unknown") + " />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
error(
? (isStaticChildren = "array")
: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((isStaticChildren =
"<" +
(getComponentNameFromType(type.type) || "Unknown") +
" />"),
(children =
" Did you accidentally export a JSX literal instead of a component?"))
: (isStaticChildren = typeof type);
console.error(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",

@@ -529,3 +513,3 @@ isStaticChildren,

0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
error(
console.error(
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',

@@ -544,3 +528,2 @@ isStaticChildren,

(checkKeyStringCoercion(config.key), (children = "" + config.key));
hasValidRef(config);
if ("key" in config) {

@@ -552,16 +535,9 @@ maybeKey = {};

children &&
((config =
defineKeyPropWarningGetter(
maybeKey,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type),
children && defineKeyPropWarningGetter(maybeKey, config));
return ReactElement(
type,
children,
null,
self,
source,
getOwner(),
maybeKey
);
: type
);
return ReactElement(type, children, self, source, getOwner(), maybeKey);
}

@@ -629,3 +605,3 @@ function validateChildKeys(node, parentType) {

};
error(
console.error(
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',

@@ -666,2 +642,3 @@ parentType,

MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
ReactSharedInternalsServer =

@@ -673,4 +650,3 @@ React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;

);
var REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
var hasOwnProperty = Object.prototype.hasOwnProperty,
assign = Object.assign,

@@ -677,0 +653,0 @@ REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),

@@ -17,3 +17,3 @@ /**

get: function () {
warn(
console.warn(
"%s(...) is deprecated in plain JavaScript React classes. %s",

@@ -34,32 +34,2 @@ info[0],

}
function warn(format) {
for (
var _len = arguments.length,
args = Array(1 < _len ? _len - 1 : 0),
_key = 1;
_key < _len;
_key++
)
args[_key - 1] = arguments[_key];
printWarning("warn", format, args, Error("react-stack-top-frame"));
}
function error$jscomp$0(format) {
for (
var _len2 = arguments.length,
args = Array(1 < _len2 ? _len2 - 1 : 0),
_key2 = 1;
_key2 < _len2;
_key2++
)
args[_key2 - 1] = arguments[_key2];
printWarning("error", format, args, Error("react-stack-top-frame"));
}
function printWarning(level, format, args, currentStack) {
ReactSharedInternals.getCurrentStack &&
((currentStack = ReactSharedInternals.getCurrentStack(currentStack)),
"" !== currentStack &&
((format += "%s"), (args = args.concat([currentStack]))));
args.unshift(format);
Function.prototype.apply.call(console[level], console, args);
}
function warnNoop(publicInstance, callerName) {

@@ -72,3 +42,3 @@ publicInstance =

didWarnStateUpdateForUnmountedComponent[warningKey] ||
(error$jscomp$0(
(console.error(
"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",

@@ -103,16 +73,18 @@ callerName,

}
if (JSCompiler_inline_result)
return (
(JSCompiler_inline_result =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object"),
error$jscomp$0(
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result
),
testStringCoercion(value)
if (JSCompiler_inline_result) {
JSCompiler_inline_result = console;
var JSCompiler_temp_const = JSCompiler_inline_result.error;
var JSCompiler_inline_result$jscomp$0 =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object";
JSCompiler_temp_const.call(
JSCompiler_inline_result,
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result$jscomp$0
);
return testStringCoercion(value);
}
}

@@ -143,3 +115,3 @@ function getComponentNameFromType(type) {

("number" === typeof type.tag &&
error$jscomp$0(
console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."

@@ -240,3 +212,3 @@ ),

0 > disabledDepth &&
error$jscomp$0(
console.error(
"disabledDepth fell below zero. This is a bug in React. Please file an issue."

@@ -256,4 +228,4 @@ );

: -1 < x.stack.indexOf("@")
? "@unknown:0:0"
: "";
? "@unknown:0:0"
: "";
}

@@ -273,60 +245,60 @@ return "\n" + prefix + name + suffix;

disableLogs();
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
try {
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
throw Error();
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
}
fn.call(Fake.prototype);
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
throw Error();
} catch (x$1) {
control = x$1;
}
fn.call(Fake.prototype);
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
}
} else {
try {
throw Error();
} catch (x$1) {
control = x$1;
}
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
}
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
return [null, null];
}
return [null, null];
}
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name"
);
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
"name"
);
try {
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
);
var _RunInRootFrame$Deter =

@@ -340,5 +312,5 @@ RunInRootFrame.DetermineComponentFrameRoot(),

for (
sampleStack = _RunInRootFrame$Deter = 0;
_RunInRootFrame$Deter < sampleLines.length &&
!sampleLines[_RunInRootFrame$Deter].includes(
_RunInRootFrame$Deter = namePropDescriptor = 0;
namePropDescriptor < sampleLines.length &&
!sampleLines[namePropDescriptor].includes(
"DetermineComponentFrameRoot"

@@ -348,43 +320,47 @@ );

)
_RunInRootFrame$Deter++;
namePropDescriptor++;
for (
;
sampleStack < controlLines.length &&
!controlLines[sampleStack].includes("DetermineComponentFrameRoot");
_RunInRootFrame$Deter < controlLines.length &&
!controlLines[_RunInRootFrame$Deter].includes(
"DetermineComponentFrameRoot"
);
)
sampleStack++;
_RunInRootFrame$Deter++;
if (
_RunInRootFrame$Deter === sampleLines.length ||
sampleStack === controlLines.length
namePropDescriptor === sampleLines.length ||
_RunInRootFrame$Deter === controlLines.length
)
for (
_RunInRootFrame$Deter = sampleLines.length - 1,
sampleStack = controlLines.length - 1;
1 <= _RunInRootFrame$Deter &&
0 <= sampleStack &&
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack];
namePropDescriptor = sampleLines.length - 1,
_RunInRootFrame$Deter = controlLines.length - 1;
1 <= namePropDescriptor &&
0 <= _RunInRootFrame$Deter &&
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter];
)
sampleStack--;
_RunInRootFrame$Deter--;
for (
;
1 <= _RunInRootFrame$Deter && 0 <= sampleStack;
_RunInRootFrame$Deter--, sampleStack--
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
namePropDescriptor--, _RunInRootFrame$Deter--
)
if (
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack]
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter]
) {
if (1 !== _RunInRootFrame$Deter || 1 !== sampleStack) {
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
do
if (
(_RunInRootFrame$Deter--,
sampleStack--,
0 > sampleStack ||
sampleLines[_RunInRootFrame$Deter] !==
controlLines[sampleStack])
(namePropDescriptor--,
_RunInRootFrame$Deter--,
0 > _RunInRootFrame$Deter ||
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter])
) {
var _frame =
"\n" +
sampleLines[_RunInRootFrame$Deter].replace(
sampleLines[namePropDescriptor].replace(
" at new ",

@@ -400,3 +376,3 @@ " at "

}
while (1 <= _RunInRootFrame$Deter && 0 <= sampleStack);
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
}

@@ -453,9 +429,2 @@ break;

}
function hasValidRef(config) {
if (hasOwnProperty.call(config, "ref")) {
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
if (getter && getter.isReactWarning) return !1;
}
return void 0 !== config.ref;
}
function hasValidKey(config) {

@@ -472,3 +441,3 @@ if (hasOwnProperty.call(config, "key")) {

((specialPropKeyWarningShown = !0),
error$jscomp$0(
console.error(
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",

@@ -488,3 +457,3 @@ displayName

((didWarnAboutElementRef[componentName] = !0),
error$jscomp$0(
console.error(
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."

@@ -495,4 +464,4 @@ ));

}
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
type = {

@@ -505,3 +474,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -532,3 +501,2 @@ enumerable: !1,

newKey,
null,
void 0,

@@ -598,3 +566,3 @@ void 0,

};
error$jscomp$0(
console.error(
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',

@@ -758,3 +726,3 @@ parentType,

(didWarnAboutMaps ||
warn(
console.warn(
"Using Maps as children is not supported. Use an array of keyed ReactElements instead."

@@ -827,3 +795,3 @@ ),

void 0 === ctor &&
error$jscomp$0(
console.error(
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",

@@ -833,3 +801,3 @@ ctor

"default" in ctor ||
error$jscomp$0(
console.error(
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",

@@ -845,3 +813,3 @@ ctor

null === dispatcher &&
error$jscomp$0(
console.error(
"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."

@@ -865,3 +833,3 @@ );

"undefined" === typeof MessageChannel &&
error$jscomp$0(
console.error(
"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."

@@ -883,3 +851,3 @@ ));

prevActScopeDepth !== actScopeDepth - 1 &&
error$jscomp$0(
console.error(
"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "

@@ -899,4 +867,4 @@ );

return;
} catch (error$5) {
ReactSharedInternals.thrownErrors.push(error$5);
} catch (error) {
ReactSharedInternals.thrownErrors.push(error);
}

@@ -931,5 +899,4 @@ else ReactSharedInternals.actQueue = null;

queue.length = 0;
} catch (error$6) {
queue.splice(0, i + 1),
ReactSharedInternals.thrownErrors.push(error$6);
} catch (error) {
queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
} finally {

@@ -959,14 +926,2 @@ isFlushing = !1;

MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
ReactSharedInternals = {
H: null,
A: null,
T: null,
S: null,
actQueue: null,
isBatchingLegacy: !1,
didScheduleLegacyUpdate: !1,
didUsePromise: !1,
thrownErrors: [],
getCurrentStack: null
},
didWarnStateUpdateForUnmountedComponent = {},

@@ -1026,2 +981,14 @@ ReactNoopUpdateQueue = {

REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
ReactSharedInternals = {
H: null,
A: null,
T: null,
S: null,
actQueue: null,
isBatchingLegacy: !1,
didScheduleLegacyUpdate: !1,
didUsePromise: !1,
thrownErrors: [],
getCurrentStack: null
},
hasOwnProperty = Object.prototype.hasOwnProperty,

@@ -1143,4 +1110,4 @@ REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),

var result = callback();
} catch (error$3) {
ReactSharedInternals.thrownErrors.push(error$3);
} catch (error) {
ReactSharedInternals.thrownErrors.push(error);
}

@@ -1164,3 +1131,3 @@ if (0 < ReactSharedInternals.thrownErrors.length)

((didWarnNoAwaitAct = !0),
error$jscomp$0(
console.error(
"You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"

@@ -1185,4 +1152,4 @@ ));

});
} catch (error$4) {
ReactSharedInternals.thrownErrors.push(error$4);
} catch (error$2) {
ReactSharedInternals.thrownErrors.push(error$2);
}

@@ -1221,3 +1188,3 @@ if (0 < ReactSharedInternals.thrownErrors.length) {

((didWarnNoAwaitAct = !0),
error$jscomp$0(
console.error(
"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"

@@ -1264,7 +1231,22 @@ ));

owner = element._owner;
if (null != config)
for (propName in (hasValidRef(config) && (owner = getOwner()),
if (null != config) {
var JSCompiler_inline_result;
a: {
if (
hasOwnProperty.call(config, "ref") &&
(JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
config,
"ref"
).get) &&
JSCompiler_inline_result.isReactWarning
) {
JSCompiler_inline_result = !1;
break a;
}
JSCompiler_inline_result = void 0 !== config.ref;
}
JSCompiler_inline_result && (owner = getOwner());
hasValidKey(config) &&
(checkKeyStringCoercion(config.key), (key = "" + config.key)),
config))
(checkKeyStringCoercion(config.key), (key = "" + config.key));
for (propName in config)
!hasOwnProperty.call(config, propName) ||

@@ -1276,18 +1258,12 @@ "key" === propName ||

(props[propName] = config[propName]);
}
var propName = arguments.length - 2;
if (1 === propName) props.children = children;
else if (1 < propName) {
for (var childArray = Array(propName), i = 0; i < propName; i++)
childArray[i] = arguments[i + 2];
props.children = childArray;
JSCompiler_inline_result = Array(propName);
for (var i = 0; i < propName; i++)
JSCompiler_inline_result[i] = arguments[i + 2];
props.children = JSCompiler_inline_result;
}
props = ReactElement(
element.type,
key,
null,
void 0,
void 0,
owner,
props
);
props = ReactElement(element.type, key, void 0, void 0, owner, props);
for (key = 2; key < arguments.length; key++)

@@ -1334,10 +1310,10 @@ validateChildKeys(arguments[key], props.type);

: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((typeString =
"<" +
(getComponentNameFromType(type.type) || "Unknown") +
" />"),
(i =
" Did you accidentally export a JSX literal instead of a component?"))
: (typeString = typeof type);
error$jscomp$0(
? ((typeString =
"<" +
(getComponentNameFromType(type.type) || "Unknown") +
" />"),
(i =
" Did you accidentally export a JSX literal instead of a component?"))
: (typeString = typeof type);
console.error(
"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",

@@ -1348,2 +1324,3 @@ typeString,

}
var propName;
i = {};

@@ -1356,6 +1333,5 @@ typeString = null;

((didWarnAboutOldJSXRuntime = !0),
warn(
console.warn(
"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
)),
hasValidRef(config),
hasValidKey(config) &&

@@ -1384,18 +1360,10 @@ (checkKeyStringCoercion(config.key), (typeString = "" + config.key)),

void 0 === i[propName] && (i[propName] = childrenLength[propName]);
if (typeString) {
var propName =
typeString &&
defineKeyPropWarningGetter(
i,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type;
typeString && defineKeyPropWarningGetter(i, propName);
}
return ReactElement(
type,
typeString,
null,
void 0,
void 0,
getOwner(),
i
);
: type
);
return ReactElement(type, typeString, void 0, void 0, getOwner(), i);
};

@@ -1409,21 +1377,21 @@ exports.createRef = function () {

null != render && render.$$typeof === REACT_MEMO_TYPE
? error$jscomp$0(
? console.error(
"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
)
: "function" !== typeof render
? error$jscomp$0(
"forwardRef requires a render function but was given %s.",
null === render ? "null" : typeof render
)
: 0 !== render.length &&
2 !== render.length &&
error$jscomp$0(
"forwardRef render functions accept exactly two parameters: props and ref. %s",
1 === render.length
? "Did you forget to use the ref parameter?"
: "Any additional parameter will be undefined."
);
? console.error(
"forwardRef requires a render function but was given %s.",
null === render ? "null" : typeof render
)
: 0 !== render.length &&
2 !== render.length &&
console.error(
"forwardRef render functions accept exactly two parameters: props and ref. %s",
1 === render.length
? "Did you forget to use the ref parameter?"
: "Any additional parameter will be undefined."
);
null != render &&
null != render.defaultProps &&
error$jscomp$0(
console.error(
"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"

@@ -1459,3 +1427,3 @@ );

isValidElementType(type) ||
error$jscomp$0(
console.error(
"memo: The first argument must be a component. Instead received: %s",

@@ -1488,6 +1456,5 @@ null === type ? "null" : typeof type

var prevTransition = ReactSharedInternals.T,
transition = {};
ReactSharedInternals.T = transition;
var currentTransition = ReactSharedInternals.T;
ReactSharedInternals.T._updatedFibers = new Set();
currentTransition = {};
ReactSharedInternals.T = currentTransition;
currentTransition._updatedFibers = new Set();
try {

@@ -1497,3 +1464,3 @@ var returnValue = scope(),

null !== onStartTransitionFinish &&
onStartTransitionFinish(transition, returnValue);
onStartTransitionFinish(currentTransition, returnValue);
"object" === typeof returnValue &&

@@ -1503,4 +1470,4 @@ null !== returnValue &&

returnValue.then(noop, reportGlobalError);
} catch (error$2) {
reportGlobalError(error$2);
} catch (error) {
reportGlobalError(error);
} finally {

@@ -1512,3 +1479,3 @@ null === prevTransition &&

10 < scope &&
warn(
console.warn(
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."

@@ -1538,3 +1505,3 @@ )),

Context.$$typeof === REACT_CONSUMER_TYPE &&
error$jscomp$0(
console.error(
"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"

@@ -1594,3 +1561,3 @@ );

};
exports.version = "19.0.0-rc-378b305958-20240710";
exports.version = "19.0.0-rc-380f5d67-20241113";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&

@@ -1597,0 +1564,0 @@ "function" ===

@@ -77,4 +77,4 @@ /**

hasOwnProperty = Object.prototype.hasOwnProperty;
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
return {

@@ -84,3 +84,3 @@ $$typeof: REACT_ELEMENT_TYPE,

key: key,
ref: void 0 !== _ref ? _ref : null,
ref: void 0 !== self ? self : null,
props: props

@@ -93,3 +93,2 @@ };

newKey,
null,
void 0,

@@ -397,3 +396,3 @@ void 0,

}
return ReactElement(element.type, key, null, void 0, void 0, owner, props);
return ReactElement(element.type, key, void 0, void 0, owner, props);
};

@@ -438,3 +437,3 @@ exports.createContext = function (defaultValue) {

(props[propName] = childrenLength[propName]);
return ReactElement(type, key, null, void 0, void 0, null, props);
return ReactElement(type, key, void 0, void 0, null, props);
};

@@ -464,4 +463,4 @@ exports.createRef = function () {

var prevTransition = ReactSharedInternals.T,
transition = {};
ReactSharedInternals.T = transition;
currentTransition = {};
ReactSharedInternals.T = currentTransition;
try {

@@ -471,3 +470,3 @@ var returnValue = scope(),

null !== onStartTransitionFinish &&
onStartTransitionFinish(transition, returnValue);
onStartTransitionFinish(currentTransition, returnValue);
"object" === typeof returnValue &&

@@ -546,2 +545,2 @@ null !== returnValue &&

};
exports.version = "19.0.0-rc-378b305958-20240710";
exports.version = "19.0.0-rc-380f5d67-20241113";

@@ -14,32 +14,2 @@ /**

(function () {
function warn(format) {
for (
var _len = arguments.length,
args = Array(1 < _len ? _len - 1 : 0),
_key = 1;
_key < _len;
_key++
)
args[_key - 1] = arguments[_key];
printWarning("warn", format, args, Error("react-stack-top-frame"));
}
function error$jscomp$0(format) {
for (
var _len2 = arguments.length,
args = Array(1 < _len2 ? _len2 - 1 : 0),
_key2 = 1;
_key2 < _len2;
_key2++
)
args[_key2 - 1] = arguments[_key2];
printWarning("error", format, args, Error("react-stack-top-frame"));
}
function printWarning(level, format, args, currentStack) {
ReactSharedInternals.getCurrentStack &&
((currentStack = ReactSharedInternals.getCurrentStack(currentStack)),
"" !== currentStack &&
((format += "%s"), (args = args.concat([currentStack]))));
args.unshift(format);
Function.prototype.apply.call(console[level], console, args);
}
function getIteratorFn(maybeIterable) {

@@ -63,16 +33,18 @@ if (null === maybeIterable || "object" !== typeof maybeIterable)

}
if (JSCompiler_inline_result)
return (
(JSCompiler_inline_result =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object"),
error$jscomp$0(
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result
),
testStringCoercion(value)
if (JSCompiler_inline_result) {
JSCompiler_inline_result = console;
var JSCompiler_temp_const = JSCompiler_inline_result.error;
var JSCompiler_inline_result$jscomp$0 =
("function" === typeof Symbol &&
Symbol.toStringTag &&
value[Symbol.toStringTag]) ||
value.constructor.name ||
"Object";
JSCompiler_temp_const.call(
JSCompiler_inline_result,
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
JSCompiler_inline_result$jscomp$0
);
return testStringCoercion(value);
}
}

@@ -103,3 +75,3 @@ function getComponentNameFromType(type) {

("number" === typeof type.tag &&
error$jscomp$0(
console.error(
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."

@@ -200,3 +172,3 @@ ),

0 > disabledDepth &&
error$jscomp$0(
console.error(
"disabledDepth fell below zero. This is a bug in React. Please file an issue."

@@ -216,4 +188,4 @@ );

: -1 < x.stack.indexOf("@")
? "@unknown:0:0"
: "";
? "@unknown:0:0"
: "";
}

@@ -233,60 +205,60 @@ return "\n" + prefix + name + suffix;

disableLogs();
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
try {
var RunInRootFrame = {
DetermineComponentFrameRoot: function () {
try {
if (construct) {
var Fake = function () {
throw Error();
};
Object.defineProperty(Fake.prototype, "props", {
set: function () {
throw Error();
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
}
fn.call(Fake.prototype);
}
});
if ("object" === typeof Reflect && Reflect.construct) {
try {
Reflect.construct(Fake, []);
} catch (x) {
var control = x;
}
Reflect.construct(fn, [], Fake);
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
throw Error();
} catch (x$1) {
control = x$1;
}
fn.call(Fake.prototype);
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
}
} else {
try {
throw Error();
} catch (x$1) {
control = x$1;
}
(Fake = fn()) &&
"function" === typeof Fake.catch &&
Fake.catch(function () {});
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
}
} catch (sample) {
if (sample && control && "string" === typeof sample.stack)
return [sample.stack, control.stack];
return [null, null];
}
return [null, null];
}
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name"
);
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
};
RunInRootFrame.DetermineComponentFrameRoot.displayName =
"DetermineComponentFrameRoot";
var namePropDescriptor = Object.getOwnPropertyDescriptor(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
"name"
);
try {
namePropDescriptor &&
namePropDescriptor.configurable &&
Object.defineProperty(
RunInRootFrame.DetermineComponentFrameRoot,
"name",
{ value: "DetermineComponentFrameRoot" }
);
var _RunInRootFrame$Deter =

@@ -300,5 +272,5 @@ RunInRootFrame.DetermineComponentFrameRoot(),

for (
sampleStack = _RunInRootFrame$Deter = 0;
_RunInRootFrame$Deter < sampleLines.length &&
!sampleLines[_RunInRootFrame$Deter].includes(
_RunInRootFrame$Deter = namePropDescriptor = 0;
namePropDescriptor < sampleLines.length &&
!sampleLines[namePropDescriptor].includes(
"DetermineComponentFrameRoot"

@@ -308,43 +280,47 @@ );

)
_RunInRootFrame$Deter++;
namePropDescriptor++;
for (
;
sampleStack < controlLines.length &&
!controlLines[sampleStack].includes("DetermineComponentFrameRoot");
_RunInRootFrame$Deter < controlLines.length &&
!controlLines[_RunInRootFrame$Deter].includes(
"DetermineComponentFrameRoot"
);
)
sampleStack++;
_RunInRootFrame$Deter++;
if (
_RunInRootFrame$Deter === sampleLines.length ||
sampleStack === controlLines.length
namePropDescriptor === sampleLines.length ||
_RunInRootFrame$Deter === controlLines.length
)
for (
_RunInRootFrame$Deter = sampleLines.length - 1,
sampleStack = controlLines.length - 1;
1 <= _RunInRootFrame$Deter &&
0 <= sampleStack &&
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack];
namePropDescriptor = sampleLines.length - 1,
_RunInRootFrame$Deter = controlLines.length - 1;
1 <= namePropDescriptor &&
0 <= _RunInRootFrame$Deter &&
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter];
)
sampleStack--;
_RunInRootFrame$Deter--;
for (
;
1 <= _RunInRootFrame$Deter && 0 <= sampleStack;
_RunInRootFrame$Deter--, sampleStack--
1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
namePropDescriptor--, _RunInRootFrame$Deter--
)
if (
sampleLines[_RunInRootFrame$Deter] !== controlLines[sampleStack]
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter]
) {
if (1 !== _RunInRootFrame$Deter || 1 !== sampleStack) {
if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
do
if (
(_RunInRootFrame$Deter--,
sampleStack--,
0 > sampleStack ||
sampleLines[_RunInRootFrame$Deter] !==
controlLines[sampleStack])
(namePropDescriptor--,
_RunInRootFrame$Deter--,
0 > _RunInRootFrame$Deter ||
sampleLines[namePropDescriptor] !==
controlLines[_RunInRootFrame$Deter])
) {
var _frame =
"\n" +
sampleLines[_RunInRootFrame$Deter].replace(
sampleLines[namePropDescriptor].replace(
" at new ",

@@ -360,3 +336,3 @@ " at "

}
while (1 <= _RunInRootFrame$Deter && 0 <= sampleStack);
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
}

@@ -413,9 +389,2 @@ break;

}
function hasValidRef(config) {
if (hasOwnProperty.call(config, "ref")) {
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
if (getter && getter.isReactWarning) return !1;
}
return void 0 !== config.ref;
}
function hasValidKey(config) {

@@ -432,3 +401,3 @@ if (hasOwnProperty.call(config, "key")) {

((specialPropKeyWarningShown = !0),
error$jscomp$0(
console.error(
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",

@@ -448,3 +417,3 @@ displayName

((didWarnAboutElementRef[componentName] = !0),
error$jscomp$0(
console.error(
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."

@@ -455,4 +424,4 @@ ));

}
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
type = {

@@ -465,3 +434,3 @@ $$typeof: REACT_ELEMENT_TYPE,

};
null !== (void 0 !== _ref ? _ref : null)
null !== (void 0 !== self ? self : null)
? Object.defineProperty(type, "ref", {

@@ -492,3 +461,2 @@ enumerable: !1,

newKey,
null,
void 0,

@@ -558,3 +526,3 @@ void 0,

};
error$jscomp$0(
console.error(
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',

@@ -718,3 +686,3 @@ parentType,

(didWarnAboutMaps ||
warn(
console.warn(
"Using Maps as children is not supported. Use an array of keyed ReactElements instead."

@@ -769,3 +737,3 @@ ),

null === dispatcher &&
error$jscomp$0(
console.error(
"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."

@@ -796,3 +764,3 @@ );

void 0 === ctor &&
error$jscomp$0(
console.error(
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",

@@ -802,3 +770,3 @@ ctor

"default" in ctor ||
error$jscomp$0(
console.error(
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",

@@ -936,8 +904,5 @@ ctor

return (fnMap.v = result);
} catch (error$2) {
} catch (error) {
throw (
((result = dispatcher),
(result.s = 2),
(result.v = error$2),
error$2)
((result = dispatcher), (result.s = 2), (result.v = error), error)
);

@@ -957,7 +922,22 @@ }

owner = element._owner;
if (null != config)
for (propName in (hasValidRef(config) && (owner = getOwner()),
if (null != config) {
var JSCompiler_inline_result;
a: {
if (
hasOwnProperty.call(config, "ref") &&
(JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
config,
"ref"
).get) &&
JSCompiler_inline_result.isReactWarning
) {
JSCompiler_inline_result = !1;
break a;
}
JSCompiler_inline_result = void 0 !== config.ref;
}
JSCompiler_inline_result && (owner = getOwner());
hasValidKey(config) &&
(checkKeyStringCoercion(config.key), (key = "" + config.key)),
config))
(checkKeyStringCoercion(config.key), (key = "" + config.key));
for (propName in config)
!hasOwnProperty.call(config, propName) ||

@@ -969,18 +949,12 @@ "key" === propName ||

(props[propName] = config[propName]);
}
var propName = arguments.length - 2;
if (1 === propName) props.children = children;
else if (1 < propName) {
for (var childArray = Array(propName), i = 0; i < propName; i++)
childArray[i] = arguments[i + 2];
props.children = childArray;
JSCompiler_inline_result = Array(propName);
for (var i = 0; i < propName; i++)
JSCompiler_inline_result[i] = arguments[i + 2];
props.children = JSCompiler_inline_result;
}
props = ReactElement(
element.type,
key,
null,
void 0,
void 0,
owner,
props
);
props = ReactElement(element.type, key, void 0, void 0, owner, props);
for (key = 2; key < arguments.length; key++)

@@ -1009,10 +983,10 @@ validateChildKeys(arguments[key], props.type);

: void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
? ((typeString =
"<" +
(getComponentNameFromType(type.type) || "Unknown") +
" />"),
(i =
" Did you accidentally export a JSX literal instead of a component?"))
: (typeString = typeof type);
error$jscomp$0(
? ((typeString =
"<" +
(getComponentNameFromType(type.type) || "Unknown") +
" />"),
(i =
" Did you accidentally export a JSX literal instead of a component?"))
: (typeString = typeof type);
console.error(
"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",

@@ -1023,2 +997,3 @@ typeString,

}
var propName;
i = {};

@@ -1031,6 +1006,5 @@ typeString = null;

((didWarnAboutOldJSXRuntime = !0),
warn(
console.warn(
"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
)),
hasValidRef(config),
hasValidKey(config) &&

@@ -1059,18 +1033,10 @@ (checkKeyStringCoercion(config.key), (typeString = "" + config.key)),

void 0 === i[propName] && (i[propName] = childrenLength[propName]);
if (typeString) {
var propName =
typeString &&
defineKeyPropWarningGetter(
i,
"function" === typeof type
? type.displayName || type.name || "Unknown"
: type;
typeString && defineKeyPropWarningGetter(i, propName);
}
return ReactElement(
type,
typeString,
null,
void 0,
void 0,
getOwner(),
i
);
: type
);
return ReactElement(type, typeString, void 0, void 0, getOwner(), i);
};

@@ -1084,21 +1050,21 @@ exports.createRef = function () {

null != render && render.$$typeof === REACT_MEMO_TYPE
? error$jscomp$0(
? console.error(
"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
)
: "function" !== typeof render
? error$jscomp$0(
"forwardRef requires a render function but was given %s.",
null === render ? "null" : typeof render
)
: 0 !== render.length &&
2 !== render.length &&
error$jscomp$0(
"forwardRef render functions accept exactly two parameters: props and ref. %s",
1 === render.length
? "Did you forget to use the ref parameter?"
: "Any additional parameter will be undefined."
);
? console.error(
"forwardRef requires a render function but was given %s.",
null === render ? "null" : typeof render
)
: 0 !== render.length &&
2 !== render.length &&
console.error(
"forwardRef render functions accept exactly two parameters: props and ref. %s",
1 === render.length
? "Did you forget to use the ref parameter?"
: "Any additional parameter will be undefined."
);
null != render &&
null != render.defaultProps &&
error$jscomp$0(
console.error(
"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"

@@ -1134,3 +1100,3 @@ );

isValidElementType(type) ||
error$jscomp$0(
console.error(
"memo: The first argument must be a component. Instead received: %s",

@@ -1176,3 +1142,3 @@ null === type ? "null" : typeof type

};
exports.version = "19.0.0-rc-378b305958-20240710";
exports.version = "19.0.0-rc-380f5d67-20241113";
})();

@@ -48,4 +48,4 @@ /**

assign = Object.assign;
function ReactElement(type, key, _ref, self, source, owner, props) {
_ref = props.ref;
function ReactElement(type, key, self, source, owner, props) {
self = props.ref;
return {

@@ -55,3 +55,3 @@ $$typeof: REACT_ELEMENT_TYPE,

key: key,
ref: void 0 !== _ref ? _ref : null,
ref: void 0 !== self ? self : null,
props: props

@@ -64,3 +64,2 @@ };

newKey,
null,
void 0,

@@ -370,3 +369,3 @@ void 0,

}
return ReactElement(element.type, key, null, void 0, void 0, owner, props);
return ReactElement(element.type, key, void 0, void 0, owner, props);
};

@@ -395,3 +394,3 @@ exports.createElement = function (type, config, children) {

(props[propName] = childrenLength[propName]);
return ReactElement(type, key, null, void 0, void 0, null, props);
return ReactElement(type, key, void 0, void 0, null, props);
};

@@ -432,2 +431,2 @@ exports.createRef = function () {

};
exports.version = "19.0.0-rc-378b305958-20240710";
exports.version = "19.0.0-rc-380f5d67-20241113";

@@ -7,3 +7,3 @@ {

],
"version": "19.0.0-rc-378b305958-20240710",
"version": "19.0.0-rc-380f5d67-20241113",
"homepage": "https://react.dev/",

@@ -10,0 +10,0 @@ "bugs": "https://github.com/facebook/react/issues",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc