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

react

Package Overview
Dependencies
Maintainers
4
Versions
2123
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 0.0.0-experimental-1434af3d22-20240618 to 0.0.0-experimental-1460d67c-20241003

23

cjs/react-compiler-runtime.development.js

@@ -14,27 +14,8 @@ /**

(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");
!supportsCreateTask &&
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 =
require("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
supportsCreateTask = !!console.createTask;
require("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
exports.c = function (size) {
var dispatcher = ReactSharedInternals.H;
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."

@@ -41,0 +22,0 @@ );

174

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

@@ -14,24 +14,6 @@ /**

(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");
!supportsCreateTask &&
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) {
if (null == type) return null;
if ("function" === typeof type)
return type.$$typeof === REACT_CLIENT_REFERENCE$2
return type.$$typeof === REACT_CLIENT_REFERENCE
? null

@@ -57,3 +39,3 @@ : type.displayName || type.name || 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."

@@ -100,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);
}
}

@@ -153,3 +137,3 @@ function getTaskName(type) {

((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)",

@@ -169,3 +153,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."

@@ -239,63 +223,18 @@ ));

) {
if (
"string" === typeof type ||
"function" === typeof type ||
type === REACT_FRAGMENT_TYPE ||
type === REACT_PROFILER_TYPE ||
type === REACT_STRICT_MODE_TYPE ||
type === REACT_SUSPENSE_TYPE ||
type === REACT_SUSPENSE_LIST_TYPE ||
type === REACT_OFFSCREEN_TYPE ||
("object" === typeof type &&
null !== type &&
(type.$$typeof === REACT_LAZY_TYPE ||
type.$$typeof === REACT_MEMO_TYPE ||
type.$$typeof === REACT_CONTEXT_TYPE ||
type.$$typeof === REACT_CONSUMER_TYPE ||
type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
void 0 !== type.getModuleId))
) {
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
} else {
children = "";
if (
void 0 === type ||
("object" === typeof type &&
null !== type &&
0 === Object.keys(type).length)
)
children +=
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
null === type
? (isStaticChildren = "null")
: 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(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
isStaticChildren,
children
);
}
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
if (hasOwnProperty.call(config, "key")) {

@@ -313,3 +252,3 @@ children = getComponentNameFromType(type);

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} />',

@@ -353,29 +292,7 @@ isStaticChildren,

function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE
)
node._store && (node._store.validated = 1);
else {
if (null === node || "object" !== typeof node) var iteratorFn = null;
else
(iteratorFn =
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
node["@@iterator"]),
(iteratorFn =
"function" === typeof iteratorFn ? iteratorFn : null);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE &&
node._store &&
(node._store.validated = 1);
}

@@ -396,14 +313,9 @@ var React = require("react"),

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
ReactSharedInternals =
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
supportsCreateTask = !!console.createTask,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
createTask = console.createTask
var createTask = console.createTask
? console.createTask

@@ -410,0 +322,0 @@ : function () {

@@ -14,24 +14,6 @@ /**

(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");
!supportsCreateTask &&
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) {
if (null == type) return null;
if ("function" === typeof type)
return type.$$typeof === REACT_CLIENT_REFERENCE$2
return type.$$typeof === REACT_CLIENT_REFERENCE
? null

@@ -57,3 +39,3 @@ : type.displayName || type.name || 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."

@@ -100,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);
}
}

@@ -153,3 +137,3 @@ function getTaskName(type) {

((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)",

@@ -169,3 +153,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."

@@ -239,63 +223,18 @@ ));

) {
if (
"string" === typeof type ||
"function" === typeof type ||
type === REACT_FRAGMENT_TYPE ||
type === REACT_PROFILER_TYPE ||
type === REACT_STRICT_MODE_TYPE ||
type === REACT_SUSPENSE_TYPE ||
type === REACT_SUSPENSE_LIST_TYPE ||
type === REACT_OFFSCREEN_TYPE ||
("object" === typeof type &&
null !== type &&
(type.$$typeof === REACT_LAZY_TYPE ||
type.$$typeof === REACT_MEMO_TYPE ||
type.$$typeof === REACT_CONTEXT_TYPE ||
type.$$typeof === REACT_CONSUMER_TYPE ||
type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
void 0 !== type.getModuleId))
) {
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
} else {
children = "";
if (
void 0 === type ||
("object" === typeof type &&
null !== type &&
0 === Object.keys(type).length)
)
children +=
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
null === type
? (isStaticChildren = "null")
: 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(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
isStaticChildren,
children
);
}
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
if (hasOwnProperty.call(config, "key")) {

@@ -313,3 +252,3 @@ children = getComponentNameFromType(type);

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} />',

@@ -353,29 +292,7 @@ isStaticChildren,

function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE
)
node._store && (node._store.validated = 1);
else {
if (null === node || "object" !== typeof node) var iteratorFn = null;
else
(iteratorFn =
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
node["@@iterator"]),
(iteratorFn =
"function" === typeof iteratorFn ? iteratorFn : null);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE &&
node._store &&
(node._store.validated = 1);
}

@@ -396,4 +313,3 @@ var React = require("react"),

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
ReactSharedInternalsServer =

@@ -405,10 +321,6 @@ React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;

);
var supportsCreateTask = !!console.createTask,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
var hasOwnProperty = Object.prototype.hasOwnProperty,
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
createTask = console.createTask
var createTask = console.createTask
? console.createTask

@@ -415,0 +327,0 @@ : function () {

@@ -14,24 +14,6 @@ /**

(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");
!supportsCreateTask &&
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) {
if (null == type) return null;
if ("function" === typeof type)
return type.$$typeof === REACT_CLIENT_REFERENCE$2
return type.$$typeof === REACT_CLIENT_REFERENCE
? null

@@ -57,3 +39,3 @@ : type.displayName || type.name || 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."

@@ -100,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);
}
}

@@ -153,3 +137,3 @@ function getTaskName(type) {

((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)",

@@ -169,3 +153,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."

@@ -239,63 +223,18 @@ ));

) {
if (
"string" === typeof type ||
"function" === typeof type ||
type === REACT_FRAGMENT_TYPE ||
type === REACT_PROFILER_TYPE ||
type === REACT_STRICT_MODE_TYPE ||
type === REACT_SUSPENSE_TYPE ||
type === REACT_SUSPENSE_LIST_TYPE ||
type === REACT_OFFSCREEN_TYPE ||
("object" === typeof type &&
null !== type &&
(type.$$typeof === REACT_LAZY_TYPE ||
type.$$typeof === REACT_MEMO_TYPE ||
type.$$typeof === REACT_CONTEXT_TYPE ||
type.$$typeof === REACT_CONSUMER_TYPE ||
type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
void 0 !== type.getModuleId))
) {
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
} else {
children = "";
if (
void 0 === type ||
("object" === typeof type &&
null !== type &&
0 === Object.keys(type).length)
)
children +=
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
null === type
? (isStaticChildren = "null")
: 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(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
isStaticChildren,
children
);
}
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
if (hasOwnProperty.call(config, "key")) {

@@ -313,3 +252,3 @@ children = getComponentNameFromType(type);

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} />',

@@ -353,29 +292,7 @@ isStaticChildren,

function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE
)
node._store && (node._store.validated = 1);
else {
if (null === node || "object" !== typeof node) var iteratorFn = null;
else
(iteratorFn =
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
node["@@iterator"]),
(iteratorFn =
"function" === typeof iteratorFn ? iteratorFn : null);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE &&
node._store &&
(node._store.validated = 1);
}

@@ -396,14 +313,9 @@ var React = require("react"),

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
ReactSharedInternals =
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
supportsCreateTask = !!console.createTask,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
createTask = console.createTask
var createTask = console.createTask
? console.createTask

@@ -410,0 +322,0 @@ : function () {

@@ -14,24 +14,6 @@ /**

(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");
!supportsCreateTask &&
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) {
if (null == type) return null;
if ("function" === typeof type)
return type.$$typeof === REACT_CLIENT_REFERENCE$2
return type.$$typeof === REACT_CLIENT_REFERENCE
? null

@@ -57,3 +39,3 @@ : type.displayName || type.name || 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."

@@ -100,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);
}
}

@@ -153,3 +137,3 @@ function getTaskName(type) {

((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)",

@@ -169,3 +153,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."

@@ -239,63 +223,18 @@ ));

) {
if (
"string" === typeof type ||
"function" === typeof type ||
type === REACT_FRAGMENT_TYPE ||
type === REACT_PROFILER_TYPE ||
type === REACT_STRICT_MODE_TYPE ||
type === REACT_SUSPENSE_TYPE ||
type === REACT_SUSPENSE_LIST_TYPE ||
type === REACT_OFFSCREEN_TYPE ||
("object" === typeof type &&
null !== type &&
(type.$$typeof === REACT_LAZY_TYPE ||
type.$$typeof === REACT_MEMO_TYPE ||
type.$$typeof === REACT_CONTEXT_TYPE ||
type.$$typeof === REACT_CONSUMER_TYPE ||
type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
void 0 !== type.getModuleId))
) {
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
} else {
children = "";
if (
void 0 === type ||
("object" === typeof type &&
null !== type &&
0 === Object.keys(type).length)
)
children +=
" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
null === type
? (isStaticChildren = "null")
: 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(
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
isStaticChildren,
children
);
}
var children = config.children;
if (void 0 !== children)
if (isStaticChildren)
if (isArrayImpl(children)) {
for (
isStaticChildren = 0;
isStaticChildren < children.length;
isStaticChildren++
)
validateChildKeys(children[isStaticChildren]);
Object.freeze && Object.freeze(children);
} else
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."
);
else validateChildKeys(children);
if (hasOwnProperty.call(config, "key")) {

@@ -313,3 +252,3 @@ children = getComponentNameFromType(type);

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} />',

@@ -353,29 +292,7 @@ isStaticChildren,

function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE
)
node._store && (node._store.validated = 1);
else {
if (null === node || "object" !== typeof node) var iteratorFn = null;
else
(iteratorFn =
(MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
node["@@iterator"]),
(iteratorFn =
"function" === typeof iteratorFn ? iteratorFn : null);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
"object" === typeof node &&
null !== node &&
node.$$typeof === REACT_ELEMENT_TYPE &&
node._store &&
(node._store.validated = 1);
}

@@ -396,4 +313,3 @@ var React = require("react"),

REACT_LAZY_TYPE = Symbol.for("react.lazy"),
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
ReactSharedInternalsServer =

@@ -405,10 +321,6 @@ React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;

);
var supportsCreateTask = !!console.createTask,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
var hasOwnProperty = Object.prototype.hasOwnProperty,
isArrayImpl = Array.isArray;
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
createTask = console.createTask
var createTask = console.createTask
? console.createTask

@@ -415,0 +327,0 @@ : function () {

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

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

@@ -26,33 +26,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) {
!supportsCreateTask &&
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) {

@@ -73,3 +42,3 @@ if (null === maybeIterable || "object" !== typeof maybeIterable)

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.",

@@ -104,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);
}
}

@@ -123,3 +94,3 @@ function getComponentNameFromType(type) {

if ("function" === typeof type)
return type.$$typeof === REACT_CLIENT_REFERENCE$2
return type.$$typeof === REACT_CLIENT_REFERENCE$1
? null

@@ -145,3 +116,3 @@ : type.displayName || type.name || null;

("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."

@@ -215,3 +186,3 @@ ),

((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)",

@@ -231,3 +202,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."

@@ -306,20 +277,2 @@ ));

}
function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (isValidElement(node)) node._store && (node._store.validated = 1);
else {
var iteratorFn = getIteratorFn(node);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
}
function isValidElement(object) {

@@ -471,3 +424,3 @@ return (

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

@@ -540,3 +493,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?",

@@ -546,3 +499,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'))",

@@ -558,3 +511,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."

@@ -581,3 +534,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."

@@ -599,3 +552,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. "

@@ -615,4 +568,4 @@ );

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

@@ -647,5 +600,4 @@ else ReactSharedInternals.actQueue = null;

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

@@ -660,16 +612,3 @@ isFlushing = !1;

__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
var ReactSharedInternals = {
H: null,
A: null,
T: null,
S: null,
actQueue: null,
isBatchingLegacy: !1,
didScheduleLegacyUpdate: !1,
didUsePromise: !1,
thrownErrors: [],
getCurrentStack: null
},
supportsCreateTask = !!console.createTask,
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
REACT_PORTAL_TYPE = Symbol.for("react.portal"),

@@ -744,8 +683,19 @@ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),

var isArrayImpl = Array.isArray,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
REACT_CLIENT_REFERENCE$1 = 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,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference");
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
createTask = console.createTask
var createTask = console.createTask
? console.createTask

@@ -852,4 +802,4 @@ : function () {

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

@@ -873,3 +823,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 () => ...);"

@@ -894,4 +844,4 @@ ));

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

@@ -930,3 +880,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(() => ...)"

@@ -963,2 +913,6 @@ ));

};
exports.captureOwnerStack = function () {
var getCurrentStack = ReactSharedInternals.getCurrentStack;
return null === getCurrentStack ? null : getCurrentStack();
};
exports.cloneElement = function (element, config, children) {

@@ -1004,3 +958,4 @@ if (null === element || void 0 === element)

for (key = 2; key < arguments.length; key++)
validateChildKeys(arguments[key]);
(owner = arguments[key]),
isValidElement(owner) && owner._store && (owner._store.validated = 1);
return props;

@@ -1027,6 +982,8 @@ };

exports.createElement = function (type, config, children) {
for (var i = 2; i < arguments.length; i++)
validateChildKeys(arguments[i]);
for (var i = 2; i < arguments.length; i++) {
var node = arguments[i];
isValidElement(node) && node._store && (node._store.validated = 1);
}
i = {};
var key = null;
node = null;
if (null != config)

@@ -1037,3 +994,3 @@ for (propName in (didWarnAboutOldJSXRuntime ||

((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"

@@ -1043,3 +1000,3 @@ )),

hasValidKey(config) &&
(checkKeyStringCoercion(config.key), (key = "" + config.key)),
(checkKeyStringCoercion(config.key), (node = "" + config.key)),
config))

@@ -1066,3 +1023,3 @@ hasOwnProperty.call(config, propName) &&

void 0 === i[propName] && (i[propName] = childrenLength[propName]);
if (key) {
if (node) {
var propName =

@@ -1072,7 +1029,7 @@ "function" === typeof type

: type;
key && defineKeyPropWarningGetter(i, propName);
node && defineKeyPropWarningGetter(i, propName);
}
return ReactElement(
type,
key,
node,
null,

@@ -1096,3 +1053,3 @@ void 0,

exports.experimental_useOptimistic = function (passthrough, reducer) {
error$jscomp$0(
console.error(
"useOptimistic is now in canary. Remove the experimental_ prefix. The prefixed alias will be removed in an upcoming release."

@@ -1104,21 +1061,21 @@ );

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?"

@@ -1168,5 +1125,5 @@ );

type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
type.$$typeof === REACT_CLIENT_REFERENCE ||
void 0 !== type.getModuleId)) ||
error$jscomp$0(
console.error(
"memo: The first argument must be a component. Instead received: %s",

@@ -1199,6 +1156,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 {

@@ -1208,3 +1164,3 @@ var returnValue = scope(),

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

@@ -1214,4 +1170,4 @@ null !== returnValue &&

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

@@ -1223,3 +1179,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."

@@ -1263,3 +1219,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?"

@@ -1317,3 +1273,3 @@ );

};
exports.version = "19.0.0-experimental-1434af3d22-20240618";
exports.version = "19.0.0-experimental-1460d67c-20241003";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&

@@ -1320,0 +1276,0 @@ "function" ===

@@ -376,2 +376,5 @@ /**

};
exports.captureOwnerStack = function () {
return null;
};
exports.cloneElement = function (element, config, children) {

@@ -473,4 +476,4 @@ if (null === element || void 0 === element)

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

@@ -480,3 +483,3 @@ var returnValue = scope(),

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

@@ -565,2 +568,2 @@ null !== returnValue &&

};
exports.version = "19.0.0-experimental-1434af3d22-20240618";
exports.version = "19.0.0-experimental-1460d67c-20241003";

@@ -14,33 +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) {
!supportsCreateTask &&
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) {

@@ -64,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);
}
}

@@ -83,3 +54,3 @@ function getComponentNameFromType(type) {

if ("function" === typeof type)
return type.$$typeof === REACT_CLIENT_REFERENCE$2
return type.$$typeof === REACT_CLIENT_REFERENCE$1
? null

@@ -105,3 +76,3 @@ : type.displayName || type.name || null;

("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."

@@ -175,3 +146,3 @@ ),

((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)",

@@ -191,3 +162,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."

@@ -266,20 +237,2 @@ ));

}
function validateChildKeys(node) {
if (
"object" === typeof node &&
node &&
node.$$typeof !== REACT_CLIENT_REFERENCE &&
!isArrayImpl(node)
)
if (isValidElement(node)) node._store && (node._store.validated = 1);
else {
var iteratorFn = getIteratorFn(node);
if (
"function" === typeof iteratorFn &&
iteratorFn !== node.entries &&
((iteratorFn = iteratorFn.call(node)), iteratorFn !== node)
)
for (; !iteratorFn.next().done; );
}
}
function isValidElement(object) {

@@ -431,3 +384,3 @@ return (

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

@@ -482,3 +435,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."

@@ -509,3 +462,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?",

@@ -515,3 +468,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'))",

@@ -553,4 +506,3 @@ ctor

ReactSharedInternals.getCurrentStack = null;
var supportsCreateTask = !!console.createTask,
isArrayImpl = Array.isArray,
var isArrayImpl = Array.isArray,
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),

@@ -573,9 +525,8 @@ REACT_PORTAL_TYPE = Symbol.for("react.portal"),

MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
hasOwnProperty = Object.prototype.hasOwnProperty,
assign = Object.assign,
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference");
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
new ("function" === typeof WeakMap ? WeakMap : Map)();
var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
createTask = console.createTask
var createTask = console.createTask
? console.createTask

@@ -708,8 +659,5 @@ : function () {

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

@@ -719,2 +667,6 @@ }

};
exports.captureOwnerStack = function () {
var getCurrentStack = ReactSharedInternals.getCurrentStack;
return null === getCurrentStack ? null : getCurrentStack();
};
exports.cloneElement = function (element, config, children) {

@@ -760,10 +712,13 @@ if (null === element || void 0 === element)

for (key = 2; key < arguments.length; key++)
validateChildKeys(arguments[key]);
(owner = arguments[key]),
isValidElement(owner) && owner._store && (owner._store.validated = 1);
return props;
};
exports.createElement = function (type, config, children) {
for (var i = 2; i < arguments.length; i++)
validateChildKeys(arguments[i]);
for (var i = 2; i < arguments.length; i++) {
var node = arguments[i];
isValidElement(node) && node._store && (node._store.validated = 1);
}
i = {};
var key = null;
node = null;
if (null != config)

@@ -774,3 +729,3 @@ for (propName in (didWarnAboutOldJSXRuntime ||

((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"

@@ -780,3 +735,3 @@ )),

hasValidKey(config) &&
(checkKeyStringCoercion(config.key), (key = "" + config.key)),
(checkKeyStringCoercion(config.key), (node = "" + config.key)),
config))

@@ -803,3 +758,3 @@ hasOwnProperty.call(config, propName) &&

void 0 === i[propName] && (i[propName] = childrenLength[propName]);
if (key) {
if (node) {
var propName =

@@ -809,7 +764,7 @@ "function" === typeof type

: type;
key && defineKeyPropWarningGetter(i, propName);
node && defineKeyPropWarningGetter(i, propName);
}
return ReactElement(
type,
key,
node,
null,

@@ -892,21 +847,21 @@ void 0,

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?"

@@ -956,5 +911,5 @@ );

type.$$typeof === REACT_FORWARD_REF_TYPE ||
type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
type.$$typeof === REACT_CLIENT_REFERENCE ||
void 0 !== type.getModuleId)) ||
error$jscomp$0(
console.error(
"memo: The first argument must be a component. Instead received: %s",

@@ -987,6 +942,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 {

@@ -996,3 +950,3 @@ var returnValue = scope(),

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

@@ -1002,4 +956,4 @@ null !== returnValue &&

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

@@ -1011,3 +965,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."

@@ -1053,3 +1007,3 @@ )),

};
exports.version = "19.0.0-experimental-1434af3d22-20240618";
exports.version = "19.0.0-experimental-1460d67c-20241003";
})();

@@ -407,2 +407,5 @@ /**

};
exports.captureOwnerStack = function () {
return null;
};
exports.cloneElement = function (element, config, children) {

@@ -524,4 +527,4 @@ if (null === element || void 0 === element)

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

@@ -531,3 +534,3 @@ var returnValue = scope(),

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

@@ -570,2 +573,2 @@ null !== returnValue &&

};
exports.version = "19.0.0-experimental-1434af3d22-20240618";
exports.version = "19.0.0-experimental-1460d67c-20241003";

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

],
"version": "0.0.0-experimental-1434af3d22-20240618",
"version": "0.0.0-experimental-1460d67c-20241003",
"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