@@ -155,13 +155,4 @@ /** | ||
| } | ||
| function ReactElement( | ||
| type, | ||
| key, | ||
| self, | ||
| source, | ||
| owner, | ||
| props, | ||
| debugStack, | ||
| debugTask | ||
| ) { | ||
| self = props.ref; | ||
| function ReactElement(type, key, props, owner, debugStack, debugTask) { | ||
| var refProp = props.ref; | ||
| type = { | ||
@@ -174,3 +165,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
| }; | ||
| null !== (void 0 !== self ? self : null) | ||
| null !== (void 0 !== refProp ? refProp : null) | ||
| ? Object.defineProperty(type, "ref", { | ||
@@ -214,4 +205,2 @@ enumerable: !1, | ||
| isStaticChildren, | ||
| source, | ||
| self, | ||
| debugStack, | ||
@@ -259,5 +248,9 @@ debugTask | ||
| void 0 !== maybeKey && | ||
| (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey)); | ||
| (maybeKey === REACT_OPTIMISTIC_KEY | ||
| ? (children = REACT_OPTIMISTIC_KEY) | ||
| : (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey))); | ||
| hasValidKey(config) && | ||
| (checkKeyStringCoercion(config.key), (children = "" + config.key)); | ||
| (config.key === REACT_OPTIMISTIC_KEY | ||
| ? (children = REACT_OPTIMISTIC_KEY) | ||
| : (checkKeyStringCoercion(config.key), (children = "" + config.key))); | ||
| if ("key" in config) { | ||
@@ -278,6 +271,4 @@ maybeKey = {}; | ||
| children, | ||
| self, | ||
| source, | ||
| maybeKey, | ||
| getOwner(), | ||
| maybeKey, | ||
| debugStack, | ||
@@ -288,8 +279,20 @@ debugTask | ||
| function validateChildKeys(node) { | ||
| "object" === typeof node && | ||
| null !== node && | ||
| node.$$typeof === REACT_ELEMENT_TYPE && | ||
| node._store && | ||
| (node._store.validated = 1); | ||
| isValidElement(node) | ||
| ? node._store && (node._store.validated = 1) | ||
| : "object" === typeof node && | ||
| null !== node && | ||
| node.$$typeof === REACT_LAZY_TYPE && | ||
| ("fulfilled" === node._payload.status | ||
| ? isValidElement(node._payload.value) && | ||
| node._payload.value._store && | ||
| (node._payload.value._store.validated = 1) | ||
| : node._store && (node._store.validated = 1)); | ||
| } | ||
| function isValidElement(object) { | ||
| return ( | ||
| "object" === typeof object && | ||
| null !== object && | ||
| object.$$typeof === REACT_ELEMENT_TYPE | ||
| ); | ||
| } | ||
| var React = require("react"), | ||
@@ -310,2 +313,3 @@ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), | ||
| REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
| REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"), | ||
| REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), | ||
@@ -335,12 +339,11 @@ ReactSharedInternals = | ||
| exports.Fragment = REACT_FRAGMENT_TYPE; | ||
| exports.jsxDEV = function ( | ||
| type, | ||
| config, | ||
| maybeKey, | ||
| isStaticChildren, | ||
| source, | ||
| self | ||
| ) { | ||
| exports.jsxDEV = function (type, config, maybeKey, isStaticChildren) { | ||
| var trackActualOwner = | ||
| 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++; | ||
| if (trackActualOwner) { | ||
| var previousStackTraceLimit = Error.stackTraceLimit; | ||
| Error.stackTraceLimit = 10; | ||
| var debugStackDEV = Error("react-stack-top-frame"); | ||
| Error.stackTraceLimit = previousStackTraceLimit; | ||
| } else debugStackDEV = unknownOwnerDebugStack; | ||
| return jsxDEVImpl( | ||
@@ -351,7 +354,3 @@ type, | ||
| isStaticChildren, | ||
| source, | ||
| self, | ||
| trackActualOwner | ||
| ? Error("react-stack-top-frame") | ||
| : unknownOwnerDebugStack, | ||
| debugStackDEV, | ||
| trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask | ||
@@ -358,0 +357,0 @@ ); |
@@ -155,13 +155,4 @@ /** | ||
| } | ||
| function ReactElement( | ||
| type, | ||
| key, | ||
| self, | ||
| source, | ||
| owner, | ||
| props, | ||
| debugStack, | ||
| debugTask | ||
| ) { | ||
| self = props.ref; | ||
| function ReactElement(type, key, props, owner, debugStack, debugTask) { | ||
| var refProp = props.ref; | ||
| type = { | ||
@@ -174,3 +165,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
| }; | ||
| null !== (void 0 !== self ? self : null) | ||
| null !== (void 0 !== refProp ? refProp : null) | ||
| ? Object.defineProperty(type, "ref", { | ||
@@ -214,4 +205,2 @@ enumerable: !1, | ||
| isStaticChildren, | ||
| source, | ||
| self, | ||
| debugStack, | ||
@@ -259,5 +248,9 @@ debugTask | ||
| void 0 !== maybeKey && | ||
| (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey)); | ||
| (maybeKey === REACT_OPTIMISTIC_KEY | ||
| ? (children = REACT_OPTIMISTIC_KEY) | ||
| : (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey))); | ||
| hasValidKey(config) && | ||
| (checkKeyStringCoercion(config.key), (children = "" + config.key)); | ||
| (config.key === REACT_OPTIMISTIC_KEY | ||
| ? (children = REACT_OPTIMISTIC_KEY) | ||
| : (checkKeyStringCoercion(config.key), (children = "" + config.key))); | ||
| if ("key" in config) { | ||
@@ -278,6 +271,4 @@ maybeKey = {}; | ||
| children, | ||
| self, | ||
| source, | ||
| maybeKey, | ||
| getOwner(), | ||
| maybeKey, | ||
| debugStack, | ||
@@ -288,8 +279,20 @@ debugTask | ||
| function validateChildKeys(node) { | ||
| "object" === typeof node && | ||
| null !== node && | ||
| node.$$typeof === REACT_ELEMENT_TYPE && | ||
| node._store && | ||
| (node._store.validated = 1); | ||
| isValidElement(node) | ||
| ? node._store && (node._store.validated = 1) | ||
| : "object" === typeof node && | ||
| null !== node && | ||
| node.$$typeof === REACT_LAZY_TYPE && | ||
| ("fulfilled" === node._payload.status | ||
| ? isValidElement(node._payload.value) && | ||
| node._payload.value._store && | ||
| (node._payload.value._store.validated = 1) | ||
| : node._store && (node._store.validated = 1)); | ||
| } | ||
| function isValidElement(object) { | ||
| return ( | ||
| "object" === typeof object && | ||
| null !== object && | ||
| object.$$typeof === REACT_ELEMENT_TYPE | ||
| ); | ||
| } | ||
| var React = require("react"), | ||
@@ -310,2 +313,3 @@ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), | ||
| REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
| REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"), | ||
| REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), | ||
@@ -339,5 +343,11 @@ ReactSharedInternalsServer = | ||
| exports.Fragment = REACT_FRAGMENT_TYPE; | ||
| exports.jsx = function (type, config, maybeKey, source, self) { | ||
| exports.jsx = function (type, config, maybeKey) { | ||
| var trackActualOwner = | ||
| 1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++; | ||
| if (trackActualOwner) { | ||
| var previousStackTraceLimit = Error.stackTraceLimit; | ||
| Error.stackTraceLimit = 10; | ||
| var debugStackDEV = Error("react-stack-top-frame"); | ||
| Error.stackTraceLimit = previousStackTraceLimit; | ||
| } else debugStackDEV = unknownOwnerDebugStack; | ||
| return jsxDEVImpl( | ||
@@ -348,20 +358,15 @@ type, | ||
| !1, | ||
| source, | ||
| self, | ||
| trackActualOwner | ||
| ? Error("react-stack-top-frame") | ||
| : unknownOwnerDebugStack, | ||
| debugStackDEV, | ||
| trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask | ||
| ); | ||
| }; | ||
| exports.jsxDEV = function ( | ||
| type, | ||
| config, | ||
| maybeKey, | ||
| isStaticChildren, | ||
| source, | ||
| self | ||
| ) { | ||
| exports.jsxDEV = function (type, config, maybeKey, isStaticChildren) { | ||
| var trackActualOwner = | ||
| 1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++; | ||
| if (trackActualOwner) { | ||
| var previousStackTraceLimit = Error.stackTraceLimit; | ||
| Error.stackTraceLimit = 10; | ||
| var debugStackDEV = Error("react-stack-top-frame"); | ||
| Error.stackTraceLimit = previousStackTraceLimit; | ||
| } else debugStackDEV = unknownOwnerDebugStack; | ||
| return jsxDEVImpl( | ||
@@ -372,13 +377,15 @@ type, | ||
| isStaticChildren, | ||
| source, | ||
| self, | ||
| trackActualOwner | ||
| ? Error("react-stack-top-frame") | ||
| : unknownOwnerDebugStack, | ||
| debugStackDEV, | ||
| trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask | ||
| ); | ||
| }; | ||
| exports.jsxs = function (type, config, maybeKey, source, self) { | ||
| exports.jsxs = function (type, config, maybeKey) { | ||
| var trackActualOwner = | ||
| 1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++; | ||
| if (trackActualOwner) { | ||
| var previousStackTraceLimit = Error.stackTraceLimit; | ||
| Error.stackTraceLimit = 10; | ||
| var debugStackDEV = Error("react-stack-top-frame"); | ||
| Error.stackTraceLimit = previousStackTraceLimit; | ||
| } else debugStackDEV = unknownOwnerDebugStack; | ||
| return jsxDEVImpl( | ||
@@ -389,7 +396,3 @@ type, | ||
| !0, | ||
| source, | ||
| self, | ||
| trackActualOwner | ||
| ? Error("react-stack-top-frame") | ||
| : unknownOwnerDebugStack, | ||
| debugStackDEV, | ||
| trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask | ||
@@ -396,0 +399,0 @@ ); |
@@ -14,3 +14,4 @@ /** | ||
| REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), | ||
| REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"); | ||
| REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), | ||
| REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"); | ||
| if (!React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE) | ||
@@ -22,4 +23,10 @@ throw Error( | ||
| var key = null; | ||
| void 0 !== maybeKey && (key = "" + maybeKey); | ||
| void 0 !== config.key && (key = "" + config.key); | ||
| void 0 !== maybeKey && | ||
| (key = | ||
| maybeKey === REACT_OPTIMISTIC_KEY ? REACT_OPTIMISTIC_KEY : "" + maybeKey); | ||
| void 0 !== config.key && | ||
| (key = | ||
| maybeKey === REACT_OPTIMISTIC_KEY | ||
| ? REACT_OPTIMISTIC_KEY | ||
| : "" + config.key); | ||
| if ("key" in config) { | ||
@@ -26,0 +33,0 @@ maybeKey = {}; |
@@ -155,13 +155,4 @@ /** | ||
| } | ||
| function ReactElement( | ||
| type, | ||
| key, | ||
| self, | ||
| source, | ||
| owner, | ||
| props, | ||
| debugStack, | ||
| debugTask | ||
| ) { | ||
| self = props.ref; | ||
| function ReactElement(type, key, props, owner, debugStack, debugTask) { | ||
| var refProp = props.ref; | ||
| type = { | ||
@@ -174,3 +165,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
| }; | ||
| null !== (void 0 !== self ? self : null) | ||
| null !== (void 0 !== refProp ? refProp : null) | ||
| ? Object.defineProperty(type, "ref", { | ||
@@ -214,4 +205,2 @@ enumerable: !1, | ||
| isStaticChildren, | ||
| source, | ||
| self, | ||
| debugStack, | ||
@@ -259,5 +248,9 @@ debugTask | ||
| void 0 !== maybeKey && | ||
| (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey)); | ||
| (maybeKey === REACT_OPTIMISTIC_KEY | ||
| ? (children = REACT_OPTIMISTIC_KEY) | ||
| : (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey))); | ||
| hasValidKey(config) && | ||
| (checkKeyStringCoercion(config.key), (children = "" + config.key)); | ||
| (config.key === REACT_OPTIMISTIC_KEY | ||
| ? (children = REACT_OPTIMISTIC_KEY) | ||
| : (checkKeyStringCoercion(config.key), (children = "" + config.key))); | ||
| if ("key" in config) { | ||
@@ -278,6 +271,4 @@ maybeKey = {}; | ||
| children, | ||
| self, | ||
| source, | ||
| maybeKey, | ||
| getOwner(), | ||
| maybeKey, | ||
| debugStack, | ||
@@ -288,8 +279,20 @@ debugTask | ||
| function validateChildKeys(node) { | ||
| "object" === typeof node && | ||
| null !== node && | ||
| node.$$typeof === REACT_ELEMENT_TYPE && | ||
| node._store && | ||
| (node._store.validated = 1); | ||
| isValidElement(node) | ||
| ? node._store && (node._store.validated = 1) | ||
| : "object" === typeof node && | ||
| null !== node && | ||
| node.$$typeof === REACT_LAZY_TYPE && | ||
| ("fulfilled" === node._payload.status | ||
| ? isValidElement(node._payload.value) && | ||
| node._payload.value._store && | ||
| (node._payload.value._store.validated = 1) | ||
| : node._store && (node._store.validated = 1)); | ||
| } | ||
| function isValidElement(object) { | ||
| return ( | ||
| "object" === typeof object && | ||
| null !== object && | ||
| object.$$typeof === REACT_ELEMENT_TYPE | ||
| ); | ||
| } | ||
| var React = require("react"), | ||
@@ -310,2 +313,3 @@ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), | ||
| REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
| REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"), | ||
| REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), | ||
@@ -335,5 +339,11 @@ ReactSharedInternals = | ||
| exports.Fragment = REACT_FRAGMENT_TYPE; | ||
| exports.jsx = function (type, config, maybeKey, source, self) { | ||
| exports.jsx = function (type, config, maybeKey) { | ||
| var trackActualOwner = | ||
| 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++; | ||
| if (trackActualOwner) { | ||
| var previousStackTraceLimit = Error.stackTraceLimit; | ||
| Error.stackTraceLimit = 10; | ||
| var debugStackDEV = Error("react-stack-top-frame"); | ||
| Error.stackTraceLimit = previousStackTraceLimit; | ||
| } else debugStackDEV = unknownOwnerDebugStack; | ||
| return jsxDEVImpl( | ||
@@ -344,13 +354,15 @@ type, | ||
| !1, | ||
| source, | ||
| self, | ||
| trackActualOwner | ||
| ? Error("react-stack-top-frame") | ||
| : unknownOwnerDebugStack, | ||
| debugStackDEV, | ||
| trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask | ||
| ); | ||
| }; | ||
| exports.jsxs = function (type, config, maybeKey, source, self) { | ||
| exports.jsxs = function (type, config, maybeKey) { | ||
| var trackActualOwner = | ||
| 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++; | ||
| if (trackActualOwner) { | ||
| var previousStackTraceLimit = Error.stackTraceLimit; | ||
| Error.stackTraceLimit = 10; | ||
| var debugStackDEV = Error("react-stack-top-frame"); | ||
| Error.stackTraceLimit = previousStackTraceLimit; | ||
| } else debugStackDEV = unknownOwnerDebugStack; | ||
| return jsxDEVImpl( | ||
@@ -361,7 +373,3 @@ type, | ||
| !0, | ||
| source, | ||
| self, | ||
| trackActualOwner | ||
| ? Error("react-stack-top-frame") | ||
| : unknownOwnerDebugStack, | ||
| debugStackDEV, | ||
| trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask | ||
@@ -368,0 +376,0 @@ ); |
@@ -13,7 +13,14 @@ /** | ||
| var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), | ||
| REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"); | ||
| REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), | ||
| REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"); | ||
| function jsxProd(type, config, maybeKey) { | ||
| var key = null; | ||
| void 0 !== maybeKey && (key = "" + maybeKey); | ||
| void 0 !== config.key && (key = "" + config.key); | ||
| void 0 !== maybeKey && | ||
| (key = | ||
| maybeKey === REACT_OPTIMISTIC_KEY ? REACT_OPTIMISTIC_KEY : "" + maybeKey); | ||
| void 0 !== config.key && | ||
| (key = | ||
| maybeKey === REACT_OPTIMISTIC_KEY | ||
| ? REACT_OPTIMISTIC_KEY | ||
| : "" + config.key); | ||
| if ("key" in config) { | ||
@@ -20,0 +27,0 @@ maybeKey = {}; |
@@ -13,7 +13,14 @@ /** | ||
| var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), | ||
| REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"); | ||
| REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), | ||
| REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"); | ||
| function jsxProd(type, config, maybeKey) { | ||
| var key = null; | ||
| void 0 !== maybeKey && (key = "" + maybeKey); | ||
| void 0 !== config.key && (key = "" + config.key); | ||
| void 0 !== maybeKey && | ||
| (key = | ||
| maybeKey === REACT_OPTIMISTIC_KEY ? REACT_OPTIMISTIC_KEY : "" + maybeKey); | ||
| void 0 !== config.key && | ||
| (key = | ||
| maybeKey === REACT_OPTIMISTIC_KEY | ||
| ? REACT_OPTIMISTIC_KEY | ||
| : "" + config.key); | ||
| if ("key" in config) { | ||
@@ -20,0 +27,0 @@ maybeKey = {}; |
@@ -155,13 +155,4 @@ /** | ||
| } | ||
| function ReactElement( | ||
| type, | ||
| key, | ||
| self, | ||
| source, | ||
| owner, | ||
| props, | ||
| debugStack, | ||
| debugTask | ||
| ) { | ||
| self = props.ref; | ||
| function ReactElement(type, key, props, owner, debugStack, debugTask) { | ||
| var refProp = props.ref; | ||
| type = { | ||
@@ -174,3 +165,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
| }; | ||
| null !== (void 0 !== self ? self : null) | ||
| null !== (void 0 !== refProp ? refProp : null) | ||
| ? Object.defineProperty(type, "ref", { | ||
@@ -214,4 +205,2 @@ enumerable: !1, | ||
| isStaticChildren, | ||
| source, | ||
| self, | ||
| debugStack, | ||
@@ -259,5 +248,9 @@ debugTask | ||
| void 0 !== maybeKey && | ||
| (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey)); | ||
| (maybeKey === REACT_OPTIMISTIC_KEY | ||
| ? (children = REACT_OPTIMISTIC_KEY) | ||
| : (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey))); | ||
| hasValidKey(config) && | ||
| (checkKeyStringCoercion(config.key), (children = "" + config.key)); | ||
| (config.key === REACT_OPTIMISTIC_KEY | ||
| ? (children = REACT_OPTIMISTIC_KEY) | ||
| : (checkKeyStringCoercion(config.key), (children = "" + config.key))); | ||
| if ("key" in config) { | ||
@@ -278,6 +271,4 @@ maybeKey = {}; | ||
| children, | ||
| self, | ||
| source, | ||
| maybeKey, | ||
| getOwner(), | ||
| maybeKey, | ||
| debugStack, | ||
@@ -288,8 +279,20 @@ debugTask | ||
| function validateChildKeys(node) { | ||
| "object" === typeof node && | ||
| null !== node && | ||
| node.$$typeof === REACT_ELEMENT_TYPE && | ||
| node._store && | ||
| (node._store.validated = 1); | ||
| isValidElement(node) | ||
| ? node._store && (node._store.validated = 1) | ||
| : "object" === typeof node && | ||
| null !== node && | ||
| node.$$typeof === REACT_LAZY_TYPE && | ||
| ("fulfilled" === node._payload.status | ||
| ? isValidElement(node._payload.value) && | ||
| node._payload.value._store && | ||
| (node._payload.value._store.validated = 1) | ||
| : node._store && (node._store.validated = 1)); | ||
| } | ||
| function isValidElement(object) { | ||
| return ( | ||
| "object" === typeof object && | ||
| null !== object && | ||
| object.$$typeof === REACT_ELEMENT_TYPE | ||
| ); | ||
| } | ||
| var React = require("react"), | ||
@@ -310,2 +313,3 @@ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), | ||
| REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
| REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"), | ||
| REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), | ||
@@ -339,5 +343,11 @@ ReactSharedInternalsServer = | ||
| exports.Fragment = REACT_FRAGMENT_TYPE; | ||
| exports.jsx = function (type, config, maybeKey, source, self) { | ||
| exports.jsx = function (type, config, maybeKey) { | ||
| var trackActualOwner = | ||
| 1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++; | ||
| if (trackActualOwner) { | ||
| var previousStackTraceLimit = Error.stackTraceLimit; | ||
| Error.stackTraceLimit = 10; | ||
| var debugStackDEV = Error("react-stack-top-frame"); | ||
| Error.stackTraceLimit = previousStackTraceLimit; | ||
| } else debugStackDEV = unknownOwnerDebugStack; | ||
| return jsxDEVImpl( | ||
@@ -348,20 +358,15 @@ type, | ||
| !1, | ||
| source, | ||
| self, | ||
| trackActualOwner | ||
| ? Error("react-stack-top-frame") | ||
| : unknownOwnerDebugStack, | ||
| debugStackDEV, | ||
| trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask | ||
| ); | ||
| }; | ||
| exports.jsxDEV = function ( | ||
| type, | ||
| config, | ||
| maybeKey, | ||
| isStaticChildren, | ||
| source, | ||
| self | ||
| ) { | ||
| exports.jsxDEV = function (type, config, maybeKey, isStaticChildren) { | ||
| var trackActualOwner = | ||
| 1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++; | ||
| if (trackActualOwner) { | ||
| var previousStackTraceLimit = Error.stackTraceLimit; | ||
| Error.stackTraceLimit = 10; | ||
| var debugStackDEV = Error("react-stack-top-frame"); | ||
| Error.stackTraceLimit = previousStackTraceLimit; | ||
| } else debugStackDEV = unknownOwnerDebugStack; | ||
| return jsxDEVImpl( | ||
@@ -372,13 +377,15 @@ type, | ||
| isStaticChildren, | ||
| source, | ||
| self, | ||
| trackActualOwner | ||
| ? Error("react-stack-top-frame") | ||
| : unknownOwnerDebugStack, | ||
| debugStackDEV, | ||
| trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask | ||
| ); | ||
| }; | ||
| exports.jsxs = function (type, config, maybeKey, source, self) { | ||
| exports.jsxs = function (type, config, maybeKey) { | ||
| var trackActualOwner = | ||
| 1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++; | ||
| if (trackActualOwner) { | ||
| var previousStackTraceLimit = Error.stackTraceLimit; | ||
| Error.stackTraceLimit = 10; | ||
| var debugStackDEV = Error("react-stack-top-frame"); | ||
| Error.stackTraceLimit = previousStackTraceLimit; | ||
| } else debugStackDEV = unknownOwnerDebugStack; | ||
| return jsxDEVImpl( | ||
@@ -389,7 +396,3 @@ type, | ||
| !0, | ||
| source, | ||
| self, | ||
| trackActualOwner | ||
| ? Error("react-stack-top-frame") | ||
| : unknownOwnerDebugStack, | ||
| debugStackDEV, | ||
| trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask | ||
@@ -396,0 +399,0 @@ ); |
@@ -14,3 +14,4 @@ /** | ||
| REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), | ||
| REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"); | ||
| REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), | ||
| REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"); | ||
| if (!React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE) | ||
@@ -22,4 +23,10 @@ throw Error( | ||
| var key = null; | ||
| void 0 !== maybeKey && (key = "" + maybeKey); | ||
| void 0 !== config.key && (key = "" + config.key); | ||
| void 0 !== maybeKey && | ||
| (key = | ||
| maybeKey === REACT_OPTIMISTIC_KEY ? REACT_OPTIMISTIC_KEY : "" + maybeKey); | ||
| void 0 !== config.key && | ||
| (key = | ||
| maybeKey === REACT_OPTIMISTIC_KEY | ||
| ? REACT_OPTIMISTIC_KEY | ||
| : "" + config.key); | ||
| if ("key" in config) { | ||
@@ -26,0 +33,0 @@ maybeKey = {}; |
+95
-66
@@ -202,13 +202,4 @@ /** | ||
| } | ||
| function ReactElement( | ||
| type, | ||
| key, | ||
| self, | ||
| source, | ||
| owner, | ||
| props, | ||
| debugStack, | ||
| debugTask | ||
| ) { | ||
| self = props.ref; | ||
| function ReactElement(type, key, props, owner, debugStack, debugTask) { | ||
| var refProp = props.ref; | ||
| type = { | ||
@@ -221,3 +212,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
| }; | ||
| null !== (void 0 !== self ? self : null) | ||
| null !== (void 0 !== refProp ? refProp : null) | ||
| ? Object.defineProperty(type, "ref", { | ||
@@ -260,6 +251,4 @@ enumerable: !1, | ||
| newKey, | ||
| void 0, | ||
| void 0, | ||
| oldElement.props, | ||
| oldElement._owner, | ||
| oldElement.props, | ||
| oldElement._debugStack, | ||
@@ -272,2 +261,14 @@ oldElement._debugTask | ||
| } | ||
| function validateChildKeys(node) { | ||
| isValidElement(node) | ||
| ? node._store && (node._store.validated = 1) | ||
| : "object" === typeof node && | ||
| null !== node && | ||
| node.$$typeof === REACT_LAZY_TYPE && | ||
| ("fulfilled" === node._payload.status | ||
| ? isValidElement(node._payload.value) && | ||
| node._payload.value._store && | ||
| (node._payload.value._store.validated = 1) | ||
| : node._store && (node._store.validated = 1)); | ||
| } | ||
| function isValidElement(object) { | ||
@@ -290,7 +291,18 @@ return ( | ||
| function getElementKey(element, index) { | ||
| return "object" === typeof element && | ||
| if ( | ||
| "object" === typeof element && | ||
| null !== element && | ||
| null != element.key | ||
| ? (checkKeyStringCoercion(element.key), escape("" + element.key)) | ||
| : index.toString(36); | ||
| ) { | ||
| if (element.key === REACT_OPTIMISTIC_KEY) | ||
| return ( | ||
| console.error( | ||
| "React.Children helpers don't support optimisticKey." | ||
| ), | ||
| index.toString(36) | ||
| ); | ||
| checkKeyStringCoercion(element.key); | ||
| return escape("" + element.key); | ||
| } | ||
| return index.toString(36); | ||
| } | ||
@@ -468,4 +480,11 @@ function resolveThenable(thenable) { | ||
| if (-1 === payload._status) { | ||
| var ioInfo = payload._ioInfo; | ||
| null != ioInfo && (ioInfo.start = ioInfo.end = performance.now()); | ||
| var resolveDebugValue = null, | ||
| rejectDebugValue = null, | ||
| ioInfo = payload._ioInfo; | ||
| null != ioInfo && | ||
| ((ioInfo.start = ioInfo.end = performance.now()), | ||
| (ioInfo.value = new Promise(function (resolve, reject) { | ||
| resolveDebugValue = resolve; | ||
| rejectDebugValue = reject; | ||
| }))); | ||
| ioInfo = payload._result; | ||
@@ -479,3 +498,10 @@ var thenable = ioInfo(); | ||
| var _ioInfo = payload._ioInfo; | ||
| null != _ioInfo && (_ioInfo.end = performance.now()); | ||
| if (null != _ioInfo) { | ||
| _ioInfo.end = performance.now(); | ||
| var debugValue = | ||
| null == moduleObject ? void 0 : moduleObject.default; | ||
| resolveDebugValue(debugValue); | ||
| _ioInfo.value.status = "fulfilled"; | ||
| _ioInfo.value.value = debugValue; | ||
| } | ||
| void 0 === thenable.status && | ||
@@ -491,3 +517,8 @@ ((thenable.status = "fulfilled"), | ||
| var _ioInfo2 = payload._ioInfo; | ||
| null != _ioInfo2 && (_ioInfo2.end = performance.now()); | ||
| null != _ioInfo2 && | ||
| ((_ioInfo2.end = performance.now()), | ||
| _ioInfo2.value.then(noop, noop), | ||
| rejectDebugValue(error), | ||
| (_ioInfo2.value.status = "rejected"), | ||
| (_ioInfo2.value.reason = error)); | ||
| void 0 === thenable.status && | ||
@@ -500,3 +531,2 @@ ((thenable.status = "rejected"), (thenable.reason = error)); | ||
| if (null != ioInfo) { | ||
| ioInfo.value = thenable; | ||
| var displayName = thenable.displayName; | ||
@@ -694,5 +724,5 @@ "string" === typeof displayName && (ioInfo.name = displayName); | ||
| REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), | ||
| REACT_POSTPONE_TYPE = Symbol.for("react.postpone"), | ||
| REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
| MAYBE_ITERATOR_SYMBOL = Symbol.iterator, | ||
| REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"), | ||
| didWarnStateUpdateForUnmountedComponent = {}, | ||
@@ -732,12 +762,11 @@ ReactNoopUpdateQueue = { | ||
| var deprecatedAPIs = { | ||
| isMounted: [ | ||
| "isMounted", | ||
| "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks." | ||
| ], | ||
| replaceState: [ | ||
| "replaceState", | ||
| "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)." | ||
| ] | ||
| }, | ||
| fnName; | ||
| isMounted: [ | ||
| "isMounted", | ||
| "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks." | ||
| ], | ||
| replaceState: [ | ||
| "replaceState", | ||
| "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)." | ||
| ] | ||
| }; | ||
| for (fnName in deprecatedAPIs) | ||
@@ -836,3 +865,3 @@ deprecatedAPIs.hasOwnProperty(fnName) && | ||
| }); | ||
| exports.Children = { | ||
| var fnName = { | ||
| map: mapChildren, | ||
@@ -870,2 +899,4 @@ forEach: function (children, forEachFunc, forEachContext) { | ||
| }; | ||
| exports.Activity = REACT_ACTIVITY_TYPE; | ||
| exports.Children = fnName; | ||
| exports.Component = Component; | ||
@@ -877,2 +908,3 @@ exports.Fragment = REACT_FRAGMENT_TYPE; | ||
| exports.Suspense = REACT_SUSPENSE_TYPE; | ||
| exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE; | ||
| exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = | ||
@@ -992,2 +1024,3 @@ ReactSharedInternals; | ||
| }; | ||
| exports.addTransitionType = addTransitionType; | ||
| exports.cache = function (fn) { | ||
@@ -1033,3 +1066,5 @@ return function () { | ||
| hasValidKey(config) && | ||
| (checkKeyStringCoercion(config.key), (key = "" + config.key)); | ||
| (config.key === REACT_OPTIMISTIC_KEY | ||
| ? (key = REACT_OPTIMISTIC_KEY) | ||
| : (checkKeyStringCoercion(config.key), (key = "" + config.key))); | ||
| for (propName in config) | ||
@@ -1054,6 +1089,4 @@ !hasOwnProperty.call(config, propName) || | ||
| key, | ||
| void 0, | ||
| void 0, | ||
| props, | ||
| owner, | ||
| props, | ||
| element._debugStack, | ||
@@ -1063,4 +1096,3 @@ element._debugTask | ||
| for (key = 2; key < arguments.length; key++) | ||
| (owner = arguments[key]), | ||
| isValidElement(owner) && owner._store && (owner._store.validated = 1); | ||
| validateChildKeys(arguments[key]); | ||
| return props; | ||
@@ -1087,8 +1119,7 @@ }; | ||
| exports.createElement = function (type, config, children) { | ||
| for (var i = 2; i < arguments.length; i++) { | ||
| var node = arguments[i]; | ||
| isValidElement(node) && node._store && (node._store.validated = 1); | ||
| } | ||
| for (var i = 2; i < arguments.length; i++) | ||
| validateChildKeys(arguments[i]); | ||
| var propName; | ||
| i = {}; | ||
| node = null; | ||
| var key = null; | ||
| if (null != config) | ||
@@ -1103,3 +1134,5 @@ for (propName in (didWarnAboutOldJSXRuntime || | ||
| hasValidKey(config) && | ||
| (checkKeyStringCoercion(config.key), (node = "" + config.key)), | ||
| (config.key === REACT_OPTIMISTIC_KEY | ||
| ? (key = REACT_OPTIMISTIC_KEY) | ||
| : (checkKeyStringCoercion(config.key), (key = "" + config.key))), | ||
| config)) | ||
@@ -1126,3 +1159,3 @@ hasOwnProperty.call(config, propName) && | ||
| void 0 === i[propName] && (i[propName] = childrenLength[propName]); | ||
| node && | ||
| key && | ||
| defineKeyPropWarningGetter( | ||
@@ -1134,11 +1167,14 @@ i, | ||
| ); | ||
| var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++; | ||
| (propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++) | ||
| ? ((childArray = Error.stackTraceLimit), | ||
| (Error.stackTraceLimit = 10), | ||
| (childrenLength = Error("react-stack-top-frame")), | ||
| (Error.stackTraceLimit = childArray)) | ||
| : (childrenLength = unknownOwnerDebugStack); | ||
| return ReactElement( | ||
| type, | ||
| node, | ||
| void 0, | ||
| void 0, | ||
| key, | ||
| i, | ||
| getOwner(), | ||
| i, | ||
| propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack, | ||
| childrenLength, | ||
| propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask | ||
@@ -1152,5 +1188,2 @@ ); | ||
| }; | ||
| exports.experimental_useEffectEvent = function (callback) { | ||
| return resolveDispatcher().useEffectEvent(callback); | ||
| }; | ||
| exports.experimental_useOptimistic = function (passthrough, reducer) { | ||
@@ -1252,7 +1285,5 @@ console.error( | ||
| }; | ||
| exports.optimisticKey = REACT_OPTIMISTIC_KEY; | ||
| exports.startTransition = startTransition; | ||
| exports.unstable_Activity = REACT_ACTIVITY_TYPE; | ||
| exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; | ||
| exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE; | ||
| exports.unstable_addTransitionType = addTransitionType; | ||
| exports.unstable_getCacheForType = function (resourceType) { | ||
@@ -1264,7 +1295,2 @@ var dispatcher = ReactSharedInternals.A; | ||
| }; | ||
| exports.unstable_postpone = function (reason) { | ||
| reason = Error(reason); | ||
| reason.$$typeof = REACT_POSTPONE_TYPE; | ||
| throw reason; | ||
| }; | ||
| exports.unstable_startGestureTransition = function ( | ||
@@ -1343,2 +1369,5 @@ provider, | ||
| }; | ||
| exports.useEffectEvent = function (callback) { | ||
| return resolveDispatcher().useEffectEvent(callback); | ||
| }; | ||
| exports.useId = function () { | ||
@@ -1391,3 +1420,3 @@ return resolveDispatcher().useId(); | ||
| }; | ||
| exports.version = "19.2.0-experimental-ac7820a9-20250811"; | ||
| exports.version = "19.3.0-experimental-ad5dfc82-20260427"; | ||
| "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && | ||
@@ -1394,0 +1423,0 @@ "function" === |
+47
-39
@@ -25,3 +25,2 @@ /** | ||
| REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), | ||
| REACT_POSTPONE_TYPE = Symbol.for("react.postpone"), | ||
| REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
@@ -36,3 +35,4 @@ MAYBE_ITERATOR_SYMBOL = Symbol.iterator; | ||
| } | ||
| var ReactNoopUpdateQueue = { | ||
| var REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"), | ||
| ReactNoopUpdateQueue = { | ||
| isMounted: function () { | ||
@@ -84,4 +84,4 @@ return !1; | ||
| hasOwnProperty = Object.prototype.hasOwnProperty; | ||
| function ReactElement(type, key, self, source, owner, props) { | ||
| self = props.ref; | ||
| function ReactElement(type, key, props) { | ||
| var refProp = props.ref; | ||
| return { | ||
@@ -91,3 +91,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
| key: key, | ||
| ref: void 0 !== self ? self : null, | ||
| ref: void 0 !== refProp ? refProp : null, | ||
| props: props | ||
@@ -97,10 +97,3 @@ }; | ||
| function cloneAndReplaceKey(oldElement, newKey) { | ||
| return ReactElement( | ||
| oldElement.type, | ||
| newKey, | ||
| void 0, | ||
| void 0, | ||
| void 0, | ||
| oldElement.props | ||
| ); | ||
| return ReactElement(oldElement.type, newKey, oldElement.props); | ||
| } | ||
@@ -126,3 +119,5 @@ function isValidElement(object) { | ||
| return "object" === typeof element && null !== element && null != element.key | ||
| ? escape("" + element.key) | ||
| ? element.key === REACT_OPTIMISTIC_KEY | ||
| ? index.toString(36) | ||
| : escape("" + element.key) | ||
| : index.toString(36); | ||
@@ -282,15 +277,23 @@ } | ||
| if (-1 === payload._status) { | ||
| var ctor = payload._result; | ||
| ctor = ctor(); | ||
| ctor.then( | ||
| var ctor = payload._result, | ||
| thenable = ctor(); | ||
| thenable.then( | ||
| function (moduleObject) { | ||
| if (0 === payload._status || -1 === payload._status) | ||
| (payload._status = 1), (payload._result = moduleObject); | ||
| (payload._status = 1), | ||
| (payload._result = moduleObject), | ||
| void 0 === thenable.status && | ||
| ((thenable.status = "fulfilled"), | ||
| (thenable.value = moduleObject)); | ||
| }, | ||
| function (error) { | ||
| if (0 === payload._status || -1 === payload._status) | ||
| (payload._status = 2), (payload._result = error); | ||
| (payload._status = 2), | ||
| (payload._result = error), | ||
| void 0 === thenable.status && | ||
| ((thenable.status = "rejected"), (thenable.reason = error)); | ||
| } | ||
| ); | ||
| -1 === payload._status && ((payload._status = 0), (payload._result = ctor)); | ||
| -1 === payload._status && | ||
| ((payload._status = 0), (payload._result = thenable)); | ||
| } | ||
@@ -366,3 +369,3 @@ if (1 === payload._status) return payload._result.default; | ||
| } | ||
| exports.Children = { | ||
| var Children = { | ||
| map: mapChildren, | ||
@@ -400,2 +403,4 @@ forEach: function (children, forEachFunc, forEachContext) { | ||
| }; | ||
| exports.Activity = REACT_ACTIVITY_TYPE; | ||
| exports.Children = Children; | ||
| exports.Component = Component; | ||
@@ -407,2 +412,3 @@ exports.Fragment = REACT_FRAGMENT_TYPE; | ||
| exports.Suspense = REACT_SUSPENSE_TYPE; | ||
| exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE; | ||
| exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = | ||
@@ -416,2 +422,3 @@ ReactSharedInternals; | ||
| }; | ||
| exports.addTransitionType = addTransitionType; | ||
| exports.cache = function (fn) { | ||
@@ -431,7 +438,9 @@ return function () { | ||
| var props = assign({}, element.props), | ||
| key = element.key, | ||
| owner = void 0; | ||
| key = element.key; | ||
| if (null != config) | ||
| for (propName in (void 0 !== config.ref && (owner = void 0), | ||
| void 0 !== config.key && (key = "" + config.key), | ||
| for (propName in (void 0 !== config.key && | ||
| (key = | ||
| config.key === REACT_OPTIMISTIC_KEY | ||
| ? REACT_OPTIMISTIC_KEY | ||
| : "" + config.key), | ||
| config)) | ||
@@ -451,3 +460,3 @@ !hasOwnProperty.call(config, propName) || | ||
| } | ||
| return ReactElement(element.type, key, void 0, void 0, owner, props); | ||
| return ReactElement(element.type, key, props); | ||
| }; | ||
@@ -475,3 +484,8 @@ exports.createContext = function (defaultValue) { | ||
| if (null != config) | ||
| for (propName in (void 0 !== config.key && (key = "" + config.key), config)) | ||
| for (propName in (void 0 !== config.key && | ||
| (key = | ||
| config.key === REACT_OPTIMISTIC_KEY | ||
| ? REACT_OPTIMISTIC_KEY | ||
| : "" + config.key), | ||
| config)) | ||
| hasOwnProperty.call(config, propName) && | ||
@@ -493,3 +507,3 @@ "key" !== propName && | ||
| (props[propName] = childrenLength[propName]); | ||
| return ReactElement(type, key, void 0, void 0, null, props); | ||
| return ReactElement(type, key, props); | ||
| }; | ||
@@ -499,5 +513,2 @@ exports.createRef = function () { | ||
| }; | ||
| exports.experimental_useEffectEvent = function (callback) { | ||
| return ReactSharedInternals.H.useEffectEvent(callback); | ||
| }; | ||
| exports.experimental_useOptimistic = function (passthrough, reducer) { | ||
@@ -524,7 +535,6 @@ return useOptimistic(passthrough, reducer); | ||
| }; | ||
| exports.optimisticKey = REACT_OPTIMISTIC_KEY; | ||
| exports.startTransition = startTransition; | ||
| exports.unstable_Activity = REACT_ACTIVITY_TYPE; | ||
| exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; | ||
| exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE; | ||
| exports.unstable_addTransitionType = addTransitionType; | ||
| exports.unstable_getCacheForType = function (resourceType) { | ||
@@ -534,7 +544,2 @@ var dispatcher = ReactSharedInternals.A; | ||
| }; | ||
| exports.unstable_postpone = function (reason) { | ||
| reason = Error(reason); | ||
| reason.$$typeof = REACT_POSTPONE_TYPE; | ||
| throw reason; | ||
| }; | ||
| exports.unstable_startGestureTransition = function (provider, scope, options) { | ||
@@ -587,2 +592,5 @@ if (null == provider) | ||
| }; | ||
| exports.useEffectEvent = function (callback) { | ||
| return ReactSharedInternals.H.useEffectEvent(callback); | ||
| }; | ||
| exports.useId = function () { | ||
@@ -627,2 +635,2 @@ return ReactSharedInternals.H.useId(); | ||
| }; | ||
| exports.version = "19.2.0-experimental-ac7820a9-20250811"; | ||
| exports.version = "19.3.0-experimental-ad5dfc82-20260427"; |
@@ -164,13 +164,4 @@ /** | ||
| } | ||
| function ReactElement( | ||
| type, | ||
| key, | ||
| self, | ||
| source, | ||
| owner, | ||
| props, | ||
| debugStack, | ||
| debugTask | ||
| ) { | ||
| self = props.ref; | ||
| function ReactElement(type, key, props, owner, debugStack, debugTask) { | ||
| var refProp = props.ref; | ||
| type = { | ||
@@ -183,3 +174,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
| }; | ||
| null !== (void 0 !== self ? self : null) | ||
| null !== (void 0 !== refProp ? refProp : null) | ||
| ? Object.defineProperty(type, "ref", { | ||
@@ -222,6 +213,4 @@ enumerable: !1, | ||
| newKey, | ||
| void 0, | ||
| void 0, | ||
| oldElement.props, | ||
| oldElement._owner, | ||
| oldElement.props, | ||
| oldElement._debugStack, | ||
@@ -234,2 +223,14 @@ oldElement._debugTask | ||
| } | ||
| function validateChildKeys(node) { | ||
| isValidElement(node) | ||
| ? node._store && (node._store.validated = 1) | ||
| : "object" === typeof node && | ||
| null !== node && | ||
| node.$$typeof === REACT_LAZY_TYPE && | ||
| ("fulfilled" === node._payload.status | ||
| ? isValidElement(node._payload.value) && | ||
| node._payload.value._store && | ||
| (node._payload.value._store.validated = 1) | ||
| : node._store && (node._store.validated = 1)); | ||
| } | ||
| function isValidElement(object) { | ||
@@ -252,7 +253,18 @@ return ( | ||
| function getElementKey(element, index) { | ||
| return "object" === typeof element && | ||
| if ( | ||
| "object" === typeof element && | ||
| null !== element && | ||
| null != element.key | ||
| ? (checkKeyStringCoercion(element.key), escape("" + element.key)) | ||
| : index.toString(36); | ||
| ) { | ||
| if (element.key === REACT_OPTIMISTIC_KEY) | ||
| return ( | ||
| console.error( | ||
| "React.Children helpers don't support optimisticKey." | ||
| ), | ||
| index.toString(36) | ||
| ); | ||
| checkKeyStringCoercion(element.key); | ||
| return escape("" + element.key); | ||
| } | ||
| return index.toString(36); | ||
| } | ||
@@ -438,4 +450,11 @@ function resolveThenable(thenable) { | ||
| if (-1 === payload._status) { | ||
| var ioInfo = payload._ioInfo; | ||
| null != ioInfo && (ioInfo.start = ioInfo.end = performance.now()); | ||
| var resolveDebugValue = null, | ||
| rejectDebugValue = null, | ||
| ioInfo = payload._ioInfo; | ||
| null != ioInfo && | ||
| ((ioInfo.start = ioInfo.end = performance.now()), | ||
| (ioInfo.value = new Promise(function (resolve, reject) { | ||
| resolveDebugValue = resolve; | ||
| rejectDebugValue = reject; | ||
| }))); | ||
| ioInfo = payload._result; | ||
@@ -449,3 +468,10 @@ var thenable = ioInfo(); | ||
| var _ioInfo = payload._ioInfo; | ||
| null != _ioInfo && (_ioInfo.end = performance.now()); | ||
| if (null != _ioInfo) { | ||
| _ioInfo.end = performance.now(); | ||
| var debugValue = | ||
| null == moduleObject ? void 0 : moduleObject.default; | ||
| resolveDebugValue(debugValue); | ||
| _ioInfo.value.status = "fulfilled"; | ||
| _ioInfo.value.value = debugValue; | ||
| } | ||
| void 0 === thenable.status && | ||
@@ -461,3 +487,8 @@ ((thenable.status = "fulfilled"), | ||
| var _ioInfo2 = payload._ioInfo; | ||
| null != _ioInfo2 && (_ioInfo2.end = performance.now()); | ||
| null != _ioInfo2 && | ||
| ((_ioInfo2.end = performance.now()), | ||
| _ioInfo2.value.then(noop, noop), | ||
| rejectDebugValue(error), | ||
| (_ioInfo2.value.status = "rejected"), | ||
| (_ioInfo2.value.reason = error)); | ||
| void 0 === thenable.status && | ||
@@ -470,3 +501,2 @@ ((thenable.status = "rejected"), (thenable.reason = error)); | ||
| if (null != ioInfo) { | ||
| ioInfo.value = thenable; | ||
| var displayName = thenable.displayName; | ||
@@ -541,5 +571,5 @@ "string" === typeof displayName && (ioInfo.name = displayName); | ||
| REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), | ||
| REACT_POSTPONE_TYPE = Symbol.for("react.postpone"), | ||
| REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
| MAYBE_ITERATOR_SYMBOL = Symbol.iterator, | ||
| REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"), | ||
| REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), | ||
@@ -610,3 +640,3 @@ hasOwnProperty = Object.prototype.hasOwnProperty, | ||
| : null; | ||
| exports.Children = { | ||
| TaintRegistryObjects$1 = { | ||
| map: mapChildren, | ||
@@ -644,2 +674,4 @@ forEach: function (children, forEachFunc, forEachContext) { | ||
| }; | ||
| exports.Activity = REACT_ACTIVITY_TYPE; | ||
| exports.Children = TaintRegistryObjects$1; | ||
| exports.Fragment = REACT_FRAGMENT_TYPE; | ||
@@ -649,2 +681,3 @@ exports.Profiler = REACT_PROFILER_TYPE; | ||
| exports.Suspense = REACT_SUSPENSE_TYPE; | ||
| exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE; | ||
| exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = | ||
@@ -732,3 +765,5 @@ ReactSharedInternals; | ||
| hasValidKey(config) && | ||
| (checkKeyStringCoercion(config.key), (key = "" + config.key)); | ||
| (config.key === REACT_OPTIMISTIC_KEY | ||
| ? (key = REACT_OPTIMISTIC_KEY) | ||
| : (checkKeyStringCoercion(config.key), (key = "" + config.key))); | ||
| for (propName in config) | ||
@@ -753,6 +788,4 @@ !hasOwnProperty.call(config, propName) || | ||
| key, | ||
| void 0, | ||
| void 0, | ||
| props, | ||
| owner, | ||
| props, | ||
| element._debugStack, | ||
@@ -762,13 +795,11 @@ element._debugTask | ||
| for (key = 2; key < arguments.length; key++) | ||
| (owner = arguments[key]), | ||
| isValidElement(owner) && owner._store && (owner._store.validated = 1); | ||
| validateChildKeys(arguments[key]); | ||
| return props; | ||
| }; | ||
| exports.createElement = function (type, config, children) { | ||
| for (var i = 2; i < arguments.length; i++) { | ||
| var node = arguments[i]; | ||
| isValidElement(node) && node._store && (node._store.validated = 1); | ||
| } | ||
| for (var i = 2; i < arguments.length; i++) | ||
| validateChildKeys(arguments[i]); | ||
| var propName; | ||
| i = {}; | ||
| node = null; | ||
| var key = null; | ||
| if (null != config) | ||
@@ -783,3 +814,5 @@ for (propName in (didWarnAboutOldJSXRuntime || | ||
| hasValidKey(config) && | ||
| (checkKeyStringCoercion(config.key), (node = "" + config.key)), | ||
| (config.key === REACT_OPTIMISTIC_KEY | ||
| ? (key = REACT_OPTIMISTIC_KEY) | ||
| : (checkKeyStringCoercion(config.key), (key = "" + config.key))), | ||
| config)) | ||
@@ -806,3 +839,3 @@ hasOwnProperty.call(config, propName) && | ||
| void 0 === i[propName] && (i[propName] = childrenLength[propName]); | ||
| node && | ||
| key && | ||
| defineKeyPropWarningGetter( | ||
@@ -814,11 +847,14 @@ i, | ||
| ); | ||
| var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++; | ||
| (propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++) | ||
| ? ((childArray = Error.stackTraceLimit), | ||
| (Error.stackTraceLimit = 10), | ||
| (childrenLength = Error("react-stack-top-frame")), | ||
| (Error.stackTraceLimit = childArray)) | ||
| : (childrenLength = unknownOwnerDebugStack); | ||
| return ReactElement( | ||
| type, | ||
| node, | ||
| void 0, | ||
| void 0, | ||
| key, | ||
| i, | ||
| getOwner(), | ||
| i, | ||
| propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack, | ||
| childrenLength, | ||
| propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask | ||
@@ -983,2 +1019,3 @@ ); | ||
| }; | ||
| exports.optimisticKey = REACT_OPTIMISTIC_KEY; | ||
| exports.startTransition = function (scope) { | ||
@@ -1026,3 +1063,2 @@ var prevTransition = ReactSharedInternals.T, | ||
| exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; | ||
| exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE; | ||
| exports.unstable_getCacheForType = function (resourceType) { | ||
@@ -1034,7 +1070,2 @@ var dispatcher = ReactSharedInternals.A; | ||
| }; | ||
| exports.unstable_postpone = function (reason) { | ||
| reason = Error(reason); | ||
| reason.$$typeof = REACT_POSTPONE_TYPE; | ||
| throw reason; | ||
| }; | ||
| exports.use = function (usable) { | ||
@@ -1055,3 +1086,3 @@ return resolveDispatcher().use(usable); | ||
| }; | ||
| exports.version = "19.2.0-experimental-ac7820a9-20250811"; | ||
| exports.version = "19.3.0-experimental-ad5dfc82-20260427"; | ||
| })(); |
@@ -52,3 +52,2 @@ /** | ||
| REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), | ||
| REACT_POSTPONE_TYPE = Symbol.for("react.postpone"), | ||
| REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), | ||
@@ -63,6 +62,7 @@ MAYBE_ITERATOR_SYMBOL = Symbol.iterator; | ||
| } | ||
| var hasOwnProperty = Object.prototype.hasOwnProperty, | ||
| var REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"), | ||
| hasOwnProperty = Object.prototype.hasOwnProperty, | ||
| assign = Object.assign; | ||
| function ReactElement(type, key, self, source, owner, props) { | ||
| self = props.ref; | ||
| function ReactElement(type, key, props) { | ||
| var refProp = props.ref; | ||
| return { | ||
@@ -72,3 +72,3 @@ $$typeof: REACT_ELEMENT_TYPE, | ||
| key: key, | ||
| ref: void 0 !== self ? self : null, | ||
| ref: void 0 !== refProp ? refProp : null, | ||
| props: props | ||
@@ -78,10 +78,3 @@ }; | ||
| function cloneAndReplaceKey(oldElement, newKey) { | ||
| return ReactElement( | ||
| oldElement.type, | ||
| newKey, | ||
| void 0, | ||
| void 0, | ||
| void 0, | ||
| oldElement.props | ||
| ); | ||
| return ReactElement(oldElement.type, newKey, oldElement.props); | ||
| } | ||
@@ -107,3 +100,5 @@ function isValidElement(object) { | ||
| return "object" === typeof element && null !== element && null != element.key | ||
| ? escape("" + element.key) | ||
| ? element.key === REACT_OPTIMISTIC_KEY | ||
| ? index.toString(36) | ||
| : escape("" + element.key) | ||
| : index.toString(36); | ||
@@ -264,15 +259,23 @@ } | ||
| if (-1 === payload._status) { | ||
| var ctor = payload._result; | ||
| ctor = ctor(); | ||
| ctor.then( | ||
| var ctor = payload._result, | ||
| thenable = ctor(); | ||
| thenable.then( | ||
| function (moduleObject) { | ||
| if (0 === payload._status || -1 === payload._status) | ||
| (payload._status = 1), (payload._result = moduleObject); | ||
| (payload._status = 1), | ||
| (payload._result = moduleObject), | ||
| void 0 === thenable.status && | ||
| ((thenable.status = "fulfilled"), | ||
| (thenable.value = moduleObject)); | ||
| }, | ||
| function (error) { | ||
| if (0 === payload._status || -1 === payload._status) | ||
| (payload._status = 2), (payload._result = error); | ||
| (payload._status = 2), | ||
| (payload._result = error), | ||
| void 0 === thenable.status && | ||
| ((thenable.status = "rejected"), (thenable.reason = error)); | ||
| } | ||
| ); | ||
| -1 === payload._status && ((payload._status = 0), (payload._result = ctor)); | ||
| -1 === payload._status && | ||
| ((payload._status = 0), (payload._result = thenable)); | ||
| } | ||
@@ -334,35 +337,37 @@ if (1 === payload._status) return payload._result.default; | ||
| var finalizationRegistry = | ||
| "function" === typeof FinalizationRegistry | ||
| ? new FinalizationRegistry(cleanup) | ||
| : null; | ||
| exports.Children = { | ||
| map: mapChildren, | ||
| forEach: function (children, forEachFunc, forEachContext) { | ||
| mapChildren( | ||
| children, | ||
| function () { | ||
| forEachFunc.apply(this, arguments); | ||
| }, | ||
| forEachContext | ||
| ); | ||
| }, | ||
| count: function (children) { | ||
| var n = 0; | ||
| mapChildren(children, function () { | ||
| n++; | ||
| }); | ||
| return n; | ||
| }, | ||
| toArray: function (children) { | ||
| return ( | ||
| mapChildren(children, function (child) { | ||
| return child; | ||
| }) || [] | ||
| ); | ||
| }, | ||
| only: function (children) { | ||
| if (!isValidElement(children)) throw Error(formatProdErrorMessage(143)); | ||
| return children; | ||
| } | ||
| }; | ||
| "function" === typeof FinalizationRegistry | ||
| ? new FinalizationRegistry(cleanup) | ||
| : null, | ||
| Children = { | ||
| map: mapChildren, | ||
| forEach: function (children, forEachFunc, forEachContext) { | ||
| mapChildren( | ||
| children, | ||
| function () { | ||
| forEachFunc.apply(this, arguments); | ||
| }, | ||
| forEachContext | ||
| ); | ||
| }, | ||
| count: function (children) { | ||
| var n = 0; | ||
| mapChildren(children, function () { | ||
| n++; | ||
| }); | ||
| return n; | ||
| }, | ||
| toArray: function (children) { | ||
| return ( | ||
| mapChildren(children, function (child) { | ||
| return child; | ||
| }) || [] | ||
| ); | ||
| }, | ||
| only: function (children) { | ||
| if (!isValidElement(children)) throw Error(formatProdErrorMessage(143)); | ||
| return children; | ||
| } | ||
| }; | ||
| exports.Activity = REACT_ACTIVITY_TYPE; | ||
| exports.Children = Children; | ||
| exports.Fragment = REACT_FRAGMENT_TYPE; | ||
@@ -372,2 +377,3 @@ exports.Profiler = REACT_PROFILER_TYPE; | ||
| exports.Suspense = REACT_SUSPENSE_TYPE; | ||
| exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE; | ||
| exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = | ||
@@ -423,7 +429,9 @@ ReactSharedInternals; | ||
| var props = assign({}, element.props), | ||
| key = element.key, | ||
| owner = void 0; | ||
| key = element.key; | ||
| if (null != config) | ||
| for (propName in (void 0 !== config.ref && (owner = void 0), | ||
| void 0 !== config.key && (key = "" + config.key), | ||
| for (propName in (void 0 !== config.key && | ||
| (key = | ||
| config.key === REACT_OPTIMISTIC_KEY | ||
| ? REACT_OPTIMISTIC_KEY | ||
| : "" + config.key), | ||
| config)) | ||
@@ -443,3 +451,3 @@ !hasOwnProperty.call(config, propName) || | ||
| } | ||
| return ReactElement(element.type, key, void 0, void 0, owner, props); | ||
| return ReactElement(element.type, key, props); | ||
| }; | ||
@@ -451,3 +459,8 @@ exports.createElement = function (type, config, children) { | ||
| if (null != config) | ||
| for (propName in (void 0 !== config.key && (key = "" + config.key), config)) | ||
| for (propName in (void 0 !== config.key && | ||
| (key = | ||
| config.key === REACT_OPTIMISTIC_KEY | ||
| ? REACT_OPTIMISTIC_KEY | ||
| : "" + config.key), | ||
| config)) | ||
| hasOwnProperty.call(config, propName) && | ||
@@ -469,3 +482,3 @@ "key" !== propName && | ||
| (props[propName] = childrenLength[propName]); | ||
| return ReactElement(type, key, void 0, void 0, null, props); | ||
| return ReactElement(type, key, props); | ||
| }; | ||
@@ -537,2 +550,3 @@ exports.createRef = function () { | ||
| }; | ||
| exports.optimisticKey = REACT_OPTIMISTIC_KEY; | ||
| exports.startTransition = function (scope) { | ||
@@ -563,5 +577,3 @@ var prevTransition = ReactSharedInternals.T, | ||
| }; | ||
| exports.unstable_Activity = REACT_ACTIVITY_TYPE; | ||
| exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; | ||
| exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE; | ||
| exports.unstable_getCacheForType = function (resourceType) { | ||
@@ -571,7 +583,2 @@ var dispatcher = ReactSharedInternals.A; | ||
| }; | ||
| exports.unstable_postpone = function (reason) { | ||
| reason = Error(reason); | ||
| reason.$$typeof = REACT_POSTPONE_TYPE; | ||
| throw reason; | ||
| }; | ||
| exports.use = function (usable) { | ||
@@ -590,2 +597,2 @@ return ReactSharedInternals.H.use(usable); | ||
| }; | ||
| exports.version = "19.2.0-experimental-ac7820a9-20250811"; | ||
| exports.version = "19.3.0-experimental-ad5dfc82-20260427"; |
+1
-1
@@ -7,3 +7,3 @@ { | ||
| ], | ||
| "version": "0.0.0-experimental-ac7820a9-20250811", | ||
| "version": "0.0.0-experimental-ad5dfc82-20260427", | ||
| "homepage": "https://react.dev/", | ||
@@ -10,0 +10,0 @@ "bugs": "https://github.com/facebook/react/issues", |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
198386
4.45%5450
2.17%0
-100%17
6.25%