Comparing version 0.0.0-experimental-966d17483-20240305 to 0.0.0-experimental-96c584661-20240412
@@ -38,3 +38,2 @@ /** | ||
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen'); | ||
var REACT_CACHE_TYPE = Symbol.for('react.cache'); | ||
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; | ||
@@ -56,3 +55,3 @@ var FAUX_ITERATOR_SYMBOL = '@@iterator'; | ||
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; | ||
var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; | ||
@@ -75,4 +74,3 @@ function error(format) { | ||
{ | ||
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; | ||
var stack = ReactDebugCurrentFrame.getStackAddendum(); | ||
var stack = ReactSharedInternals.getStackAddendum(); | ||
@@ -103,9 +101,2 @@ if (stack !== '') { | ||
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber | ||
var enableRenderableContext = false; | ||
// Ready for next major. | ||
// | ||
// Alias __NEXT_MAJOR__ to true for easier skimming. | ||
// ----------------------------------------------------------------------------- | ||
var __NEXT_MAJOR__ = true; // Not ready to break experimental yet. | ||
// as a normal prop instead of stripping it from the props object. | ||
@@ -115,3 +106,5 @@ // Passes `ref` as a normal prop instead of stripping it from the props object | ||
var enableRefAsProp = __NEXT_MAJOR__; | ||
var enableRefAsProp = true; | ||
var enableRenderableContext = true; // ----------------------------------------------------------------------------- | ||
// stuff. Intended to enable React core members to more easily debug scheduling | ||
@@ -178,7 +171,2 @@ // issues in DEV builds. | ||
case REACT_CACHE_TYPE: | ||
{ | ||
return 'Cache'; | ||
} | ||
} | ||
@@ -196,4 +184,3 @@ | ||
{ | ||
var provider = type; | ||
return getContextName(provider._context) + '.Provider'; | ||
return null; | ||
} | ||
@@ -205,3 +192,3 @@ | ||
{ | ||
return getContextName(context) + '.Consumer'; | ||
return getContextName(context) + '.Provider'; | ||
} | ||
@@ -211,3 +198,4 @@ | ||
{ | ||
return null; | ||
var consumer = type; | ||
return getContextName(consumer._context) + '.Consumer'; | ||
} | ||
@@ -325,3 +313,3 @@ | ||
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || type === REACT_CACHE_TYPE || enableTransitionTracing ) { | ||
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableTransitionTracing ) { | ||
return true; | ||
@@ -331,3 +319,3 @@ } | ||
if (typeof type === 'object' && type !== null) { | ||
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || enableRenderableContext || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object | ||
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || !enableRenderableContext || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object | ||
// types supported by any Flight configuration anywhere since | ||
@@ -444,5 +432,4 @@ // we don't know which Flight build this will end up being used | ||
var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; | ||
var prefix; | ||
function describeBuiltInComponentFrame(name, ownerFn) { | ||
function describeBuiltInComponentFrame(name) { | ||
{ | ||
@@ -501,9 +488,9 @@ if (prefix === undefined) { | ||
Error.prepareStackTrace = undefined; | ||
var previousDispatcher; | ||
var previousDispatcher = null; | ||
{ | ||
previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function | ||
previousDispatcher = ReactSharedInternals.H; // Set the dispatcher in DEV because this might be call in the render function | ||
// for warnings. | ||
ReactCurrentDispatcher.current = null; | ||
ReactSharedInternals.H = null; | ||
disableLogs(); | ||
@@ -693,3 +680,3 @@ } | ||
{ | ||
ReactCurrentDispatcher.current = previousDispatcher; | ||
ReactSharedInternals.H = previousDispatcher; | ||
reenableLogs(); | ||
@@ -713,3 +700,3 @@ } | ||
} | ||
function describeFunctionComponentFrame(fn, ownerFn) { | ||
function describeFunctionComponentFrame(fn) { | ||
{ | ||
@@ -725,3 +712,3 @@ return describeNativeComponentFrame(fn, false); | ||
function describeUnknownElementTypeFrameInDEV(type, ownerFn) { | ||
function describeUnknownElementTypeFrameInDEV(type) { | ||
@@ -757,3 +744,3 @@ if (type == null) { | ||
// Memo may contain any component type so we recursively resolve it. | ||
return describeUnknownElementTypeFrameInDEV(type.type, ownerFn); | ||
return describeUnknownElementTypeFrameInDEV(type.type); | ||
@@ -768,3 +755,3 @@ case REACT_LAZY_TYPE: | ||
// Lazy may contain any component type so we recursively resolve it. | ||
return describeUnknownElementTypeFrameInDEV(init(payload), ownerFn); | ||
return describeUnknownElementTypeFrameInDEV(init(payload)); | ||
} catch (x) {} | ||
@@ -778,4 +765,2 @@ } | ||
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; | ||
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; | ||
var REACT_CLIENT_REFERENCE = Symbol.for('react.client.reference'); | ||
@@ -842,3 +827,3 @@ var specialPropKeyWarningShown; | ||
error('Accessing element.ref is no longer supported. ref is now a ' + 'regular prop. It will be removed from the JSX Element ' + 'type in a future release.'); | ||
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.'); | ||
} // An undefined `element.ref` is coerced to `null` for | ||
@@ -1046,5 +1031,2 @@ // backwards compatibility. | ||
var propName; // Reserved names are extracted | ||
var props = {}; | ||
var key = null; | ||
@@ -1074,19 +1056,29 @@ var ref = null; // Currently, key can be spread in as a prop. This causes a potential | ||
if (hasValidRef(config)) ; // Remaining properties are added to a new props object | ||
if (hasValidRef(config)) ; | ||
var props; | ||
for (propName in config) { | ||
if (hasOwnProperty.call(config, propName) && // Skip over reserved prop names | ||
propName !== 'key' && (enableRefAsProp )) { | ||
props[propName] = config[propName]; | ||
} | ||
} // Resolve default props | ||
if (!('key' in config)) { | ||
// If key was not spread in, we can reuse the original props object. This | ||
// only works for `jsx`, not `createElement`, because `jsx` is a compiler | ||
// target and the compiler always passes a new object. For `createElement`, | ||
// we can't assume a new object is passed every time because it can be | ||
// called manually. | ||
// | ||
// Spreading key is a warning in dev. In a future release, we will not | ||
// remove a spread key from the props object. (But we'll still warn.) We'll | ||
// always pass the object straight through. | ||
props = config; | ||
} else { | ||
// We need to remove reserved props (key, prop, ref). Create a fresh props | ||
// object and copy over all the non-reserved props. We don't use `delete` | ||
// because in V8 it will deopt the object to dictionary mode. | ||
props = {}; | ||
if (type && type.defaultProps) { | ||
var defaultProps = type.defaultProps; | ||
for (propName in defaultProps) { | ||
if (props[propName] === undefined) { | ||
props[propName] = defaultProps[propName]; | ||
for (var propName in config) { | ||
// Skip over reserved prop names | ||
if (propName !== 'key' && (enableRefAsProp )) { | ||
{ | ||
props[propName] = config[propName]; | ||
} | ||
} | ||
@@ -1104,3 +1096,3 @@ } | ||
var element = ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); | ||
var element = ReactElement(type, key, ref, self, source, ReactSharedInternals.owner, props); | ||
@@ -1117,4 +1109,4 @@ if (type === REACT_FRAGMENT_TYPE) { | ||
{ | ||
if (ReactCurrentOwner.current) { | ||
var name = getComponentNameFromType(ReactCurrentOwner.current.type); | ||
if (ReactSharedInternals.owner) { | ||
var name = getComponentNameFromType(ReactSharedInternals.owner.type); | ||
@@ -1223,5 +1215,13 @@ if (name) { | ||
if (element && element._owner && element._owner !== ReactCurrentOwner.current) { | ||
// Give the component that originally created this child. | ||
childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + "."; | ||
if (element && element._owner != null && element._owner !== ReactSharedInternals.owner) { | ||
var ownerName = null; | ||
if (typeof element._owner.tag === 'number') { | ||
ownerName = getComponentNameFromType(element._owner.type); | ||
} else if (typeof element._owner.name === 'string') { | ||
ownerName = element._owner.name; | ||
} // Give the component that originally created this child. | ||
childOwner = " It was passed a child from " + ownerName + "."; | ||
} | ||
@@ -1240,7 +1240,6 @@ | ||
if (element) { | ||
var owner = element._owner; | ||
var stack = describeUnknownElementTypeFrameInDEV(element.type, owner ? owner.type : null); | ||
ReactDebugCurrentFrame.setExtraStackFrame(stack); | ||
var stack = describeUnknownElementTypeFrameInDEV(element.type); | ||
ReactSharedInternals.setExtraStackFrame(stack); | ||
} else { | ||
ReactDebugCurrentFrame.setExtraStackFrame(null); | ||
ReactSharedInternals.setExtraStackFrame(null); | ||
} | ||
@@ -1247,0 +1246,0 @@ } |
@@ -38,3 +38,2 @@ /** | ||
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen'); | ||
var REACT_CACHE_TYPE = Symbol.for('react.cache'); | ||
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; | ||
@@ -56,3 +55,3 @@ var FAUX_ITERATOR_SYMBOL = '@@iterator'; | ||
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; | ||
var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; | ||
@@ -75,4 +74,3 @@ function error(format) { | ||
{ | ||
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; | ||
var stack = ReactDebugCurrentFrame.getStackAddendum(); | ||
var stack = ReactSharedInternals.getStackAddendum(); | ||
@@ -103,9 +101,2 @@ if (stack !== '') { | ||
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber | ||
var enableRenderableContext = false; | ||
// Ready for next major. | ||
// | ||
// Alias __NEXT_MAJOR__ to true for easier skimming. | ||
// ----------------------------------------------------------------------------- | ||
var __NEXT_MAJOR__ = true; // Not ready to break experimental yet. | ||
// as a normal prop instead of stripping it from the props object. | ||
@@ -115,3 +106,5 @@ // Passes `ref` as a normal prop instead of stripping it from the props object | ||
var enableRefAsProp = __NEXT_MAJOR__; | ||
var enableRefAsProp = true; | ||
var enableRenderableContext = true; // ----------------------------------------------------------------------------- | ||
// stuff. Intended to enable React core members to more easily debug scheduling | ||
@@ -178,7 +171,2 @@ // issues in DEV builds. | ||
case REACT_CACHE_TYPE: | ||
{ | ||
return 'Cache'; | ||
} | ||
} | ||
@@ -196,4 +184,3 @@ | ||
{ | ||
var provider = type; | ||
return getContextName(provider._context) + '.Provider'; | ||
return null; | ||
} | ||
@@ -205,3 +192,3 @@ | ||
{ | ||
return getContextName(context) + '.Consumer'; | ||
return getContextName(context) + '.Provider'; | ||
} | ||
@@ -211,3 +198,4 @@ | ||
{ | ||
return null; | ||
var consumer = type; | ||
return getContextName(consumer._context) + '.Consumer'; | ||
} | ||
@@ -325,3 +313,3 @@ | ||
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || type === REACT_CACHE_TYPE || enableTransitionTracing ) { | ||
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableTransitionTracing ) { | ||
return true; | ||
@@ -331,3 +319,3 @@ } | ||
if (typeof type === 'object' && type !== null) { | ||
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || enableRenderableContext || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object | ||
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || !enableRenderableContext || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object | ||
// types supported by any Flight configuration anywhere since | ||
@@ -444,5 +432,4 @@ // we don't know which Flight build this will end up being used | ||
var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; | ||
var prefix; | ||
function describeBuiltInComponentFrame(name, ownerFn) { | ||
function describeBuiltInComponentFrame(name) { | ||
{ | ||
@@ -501,9 +488,9 @@ if (prefix === undefined) { | ||
Error.prepareStackTrace = undefined; | ||
var previousDispatcher; | ||
var previousDispatcher = null; | ||
{ | ||
previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function | ||
previousDispatcher = ReactSharedInternals.H; // Set the dispatcher in DEV because this might be call in the render function | ||
// for warnings. | ||
ReactCurrentDispatcher.current = null; | ||
ReactSharedInternals.H = null; | ||
disableLogs(); | ||
@@ -693,3 +680,3 @@ } | ||
{ | ||
ReactCurrentDispatcher.current = previousDispatcher; | ||
ReactSharedInternals.H = previousDispatcher; | ||
reenableLogs(); | ||
@@ -713,3 +700,3 @@ } | ||
} | ||
function describeFunctionComponentFrame(fn, ownerFn) { | ||
function describeFunctionComponentFrame(fn) { | ||
{ | ||
@@ -725,3 +712,3 @@ return describeNativeComponentFrame(fn, false); | ||
function describeUnknownElementTypeFrameInDEV(type, ownerFn) { | ||
function describeUnknownElementTypeFrameInDEV(type) { | ||
@@ -757,3 +744,3 @@ if (type == null) { | ||
// Memo may contain any component type so we recursively resolve it. | ||
return describeUnknownElementTypeFrameInDEV(type.type, ownerFn); | ||
return describeUnknownElementTypeFrameInDEV(type.type); | ||
@@ -768,3 +755,3 @@ case REACT_LAZY_TYPE: | ||
// Lazy may contain any component type so we recursively resolve it. | ||
return describeUnknownElementTypeFrameInDEV(init(payload), ownerFn); | ||
return describeUnknownElementTypeFrameInDEV(init(payload)); | ||
} catch (x) {} | ||
@@ -778,4 +765,2 @@ } | ||
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; | ||
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; | ||
var REACT_CLIENT_REFERENCE = Symbol.for('react.client.reference'); | ||
@@ -842,3 +827,3 @@ var specialPropKeyWarningShown; | ||
error('Accessing element.ref is no longer supported. ref is now a ' + 'regular prop. It will be removed from the JSX Element ' + 'type in a future release.'); | ||
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.'); | ||
} // An undefined `element.ref` is coerced to `null` for | ||
@@ -1070,5 +1055,2 @@ // backwards compatibility. | ||
var propName; // Reserved names are extracted | ||
var props = {}; | ||
var key = null; | ||
@@ -1098,19 +1080,29 @@ var ref = null; // Currently, key can be spread in as a prop. This causes a potential | ||
if (hasValidRef(config)) ; // Remaining properties are added to a new props object | ||
if (hasValidRef(config)) ; | ||
var props; | ||
for (propName in config) { | ||
if (hasOwnProperty.call(config, propName) && // Skip over reserved prop names | ||
propName !== 'key' && (enableRefAsProp )) { | ||
props[propName] = config[propName]; | ||
} | ||
} // Resolve default props | ||
if (!('key' in config)) { | ||
// If key was not spread in, we can reuse the original props object. This | ||
// only works for `jsx`, not `createElement`, because `jsx` is a compiler | ||
// target and the compiler always passes a new object. For `createElement`, | ||
// we can't assume a new object is passed every time because it can be | ||
// called manually. | ||
// | ||
// Spreading key is a warning in dev. In a future release, we will not | ||
// remove a spread key from the props object. (But we'll still warn.) We'll | ||
// always pass the object straight through. | ||
props = config; | ||
} else { | ||
// We need to remove reserved props (key, prop, ref). Create a fresh props | ||
// object and copy over all the non-reserved props. We don't use `delete` | ||
// because in V8 it will deopt the object to dictionary mode. | ||
props = {}; | ||
if (type && type.defaultProps) { | ||
var defaultProps = type.defaultProps; | ||
for (propName in defaultProps) { | ||
if (props[propName] === undefined) { | ||
props[propName] = defaultProps[propName]; | ||
for (var propName in config) { | ||
// Skip over reserved prop names | ||
if (propName !== 'key' && (enableRefAsProp )) { | ||
{ | ||
props[propName] = config[propName]; | ||
} | ||
} | ||
@@ -1128,3 +1120,3 @@ } | ||
var element = ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); | ||
var element = ReactElement(type, key, ref, self, source, ReactSharedInternals.owner, props); | ||
@@ -1141,4 +1133,4 @@ if (type === REACT_FRAGMENT_TYPE) { | ||
{ | ||
if (ReactCurrentOwner.current) { | ||
var name = getComponentNameFromType(ReactCurrentOwner.current.type); | ||
if (ReactSharedInternals.owner) { | ||
var name = getComponentNameFromType(ReactSharedInternals.owner.type); | ||
@@ -1247,5 +1239,13 @@ if (name) { | ||
if (element && element._owner && element._owner !== ReactCurrentOwner.current) { | ||
// Give the component that originally created this child. | ||
childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + "."; | ||
if (element && element._owner != null && element._owner !== ReactSharedInternals.owner) { | ||
var ownerName = null; | ||
if (typeof element._owner.tag === 'number') { | ||
ownerName = getComponentNameFromType(element._owner.type); | ||
} else if (typeof element._owner.name === 'string') { | ||
ownerName = element._owner.name; | ||
} // Give the component that originally created this child. | ||
childOwner = " It was passed a child from " + ownerName + "."; | ||
} | ||
@@ -1264,7 +1264,6 @@ | ||
if (element) { | ||
var owner = element._owner; | ||
var stack = describeUnknownElementTypeFrameInDEV(element.type, owner ? owner.type : null); | ||
ReactDebugCurrentFrame.setExtraStackFrame(stack); | ||
var stack = describeUnknownElementTypeFrameInDEV(element.type); | ||
ReactSharedInternals.setExtraStackFrame(stack); | ||
} else { | ||
ReactDebugCurrentFrame.setExtraStackFrame(null); | ||
ReactSharedInternals.setExtraStackFrame(null); | ||
} | ||
@@ -1271,0 +1270,0 @@ } |
@@ -23,8 +23,2 @@ /** | ||
// ----------------------------------------------------------------------------- | ||
// Ready for next major. | ||
// | ||
// Alias __NEXT_MAJOR__ to true for easier skimming. | ||
// ----------------------------------------------------------------------------- | ||
const __NEXT_MAJOR__ = true; // Not ready to break experimental yet. | ||
// as a normal prop instead of stripping it from the props object. | ||
@@ -34,11 +28,6 @@ // Passes `ref` as a normal prop instead of stripping it from the props object | ||
const enableRefAsProp = __NEXT_MAJOR__; | ||
const enableRefAsProp = true; | ||
const ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; | ||
const ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; | ||
// $FlowFixMe[method-unbinding] | ||
const hasOwnProperty = Object.prototype.hasOwnProperty; | ||
const ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; | ||
function hasValidKey(config) { | ||
@@ -88,4 +77,3 @@ | ||
{ | ||
// In prod, `ref` is a regular property. It will be removed in a | ||
// future release. | ||
// In prod, `ref` is a regular property and _owner doesn't exist. | ||
element = { | ||
@@ -98,5 +86,3 @@ // This tag allows us to uniquely identify this as a React Element | ||
ref, | ||
props, | ||
// Record the component responsible for creating this element. | ||
_owner: owner | ||
props | ||
}; | ||
@@ -116,5 +102,2 @@ } | ||
function jsxProd(type, config, maybeKey) { | ||
let propName; // Reserved names are extracted | ||
const props = {}; | ||
let key = null; | ||
@@ -138,17 +121,27 @@ let ref = null; // Currently, key can be spread in as a prop. This causes a potential | ||
let props; | ||
for (propName in config) { | ||
if (hasOwnProperty.call(config, propName) && // Skip over reserved prop names | ||
propName !== 'key' && (enableRefAsProp )) { | ||
props[propName] = config[propName]; | ||
} | ||
} // Resolve default props | ||
if (!('key' in config)) { | ||
// If key was not spread in, we can reuse the original props object. This | ||
// only works for `jsx`, not `createElement`, because `jsx` is a compiler | ||
// target and the compiler always passes a new object. For `createElement`, | ||
// we can't assume a new object is passed every time because it can be | ||
// called manually. | ||
// | ||
// Spreading key is a warning in dev. In a future release, we will not | ||
// remove a spread key from the props object. (But we'll still warn.) We'll | ||
// always pass the object straight through. | ||
props = config; | ||
} else { | ||
// We need to remove reserved props (key, prop, ref). Create a fresh props | ||
// object and copy over all the non-reserved props. We don't use `delete` | ||
// because in V8 it will deopt the object to dictionary mode. | ||
props = {}; | ||
if (type && type.defaultProps) { | ||
const defaultProps = type.defaultProps; | ||
for (propName in defaultProps) { | ||
if (props[propName] === undefined) { | ||
props[propName] = defaultProps[propName]; | ||
for (const propName in config) { | ||
// Skip over reserved prop names | ||
if (propName !== 'key' && (enableRefAsProp )) { | ||
{ | ||
props[propName] = config[propName]; | ||
} | ||
} | ||
@@ -158,3 +151,3 @@ } | ||
return ReactElement(type, key, ref, undefined, undefined, ReactCurrentOwner.current, props); | ||
return ReactElement(type, key, ref, undefined, undefined, ReactSharedInternals.owner, props); | ||
} // While `jsxDEV` should never be called when running in production, we do | ||
@@ -161,0 +154,0 @@ |
@@ -10,5 +10,4 @@ /* | ||
*/ | ||
'use strict';var f=require("react"),h=Symbol.for("react.element"),k=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner; | ||
function n(d,b,g){var c={},e=null;void 0!==g&&(e=""+g);void 0!==b.key&&(e=""+b.key);for(a in b)l.call(b,a)&&"key"!==a&&(c[a]=b[a]);if(d&&d.defaultProps)for(a in b=d.defaultProps,b)void 0===c[a]&&(c[a]=b[a]);var a=c.ref;return{$$typeof:h,type:d,key:e,ref:void 0!==a?a:null,props:c,_owner:m.current}}exports.Fragment=k;exports.jsx=n;exports.jsxs=n; | ||
'use strict';require("react");var e=Symbol.for("react.element"),f=Symbol.for("react.fragment");function g(h,a,b){var c=null;void 0!==b&&(c=""+b);void 0!==a.key&&(c=""+a.key);if("key"in a){b={};for(var d in a)"key"!==d&&(b[d]=a[d])}else b=a;a=b.ref;return{$$typeof:e,type:h,key:c,ref:void 0!==a?a:null,props:b}}exports.Fragment=f;exports.jsx=g;exports.jsxs=g; | ||
//# sourceMappingURL=react-jsx-runtime.production.min.js.map |
@@ -23,8 +23,2 @@ /** | ||
// ----------------------------------------------------------------------------- | ||
// Ready for next major. | ||
// | ||
// Alias __NEXT_MAJOR__ to true for easier skimming. | ||
// ----------------------------------------------------------------------------- | ||
const __NEXT_MAJOR__ = true; // Not ready to break experimental yet. | ||
// as a normal prop instead of stripping it from the props object. | ||
@@ -34,11 +28,6 @@ // Passes `ref` as a normal prop instead of stripping it from the props object | ||
const enableRefAsProp = __NEXT_MAJOR__; | ||
const enableRefAsProp = true; | ||
const ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; | ||
const ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; | ||
// $FlowFixMe[method-unbinding] | ||
const hasOwnProperty = Object.prototype.hasOwnProperty; | ||
const ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; | ||
function hasValidKey(config) { | ||
@@ -88,4 +77,3 @@ | ||
{ | ||
// In prod, `ref` is a regular property. It will be removed in a | ||
// future release. | ||
// In prod, `ref` is a regular property and _owner doesn't exist. | ||
element = { | ||
@@ -98,5 +86,3 @@ // This tag allows us to uniquely identify this as a React Element | ||
ref, | ||
props, | ||
// Record the component responsible for creating this element. | ||
_owner: owner | ||
props | ||
}; | ||
@@ -116,5 +102,2 @@ } | ||
function jsxProd(type, config, maybeKey) { | ||
let propName; // Reserved names are extracted | ||
const props = {}; | ||
let key = null; | ||
@@ -138,17 +121,27 @@ let ref = null; // Currently, key can be spread in as a prop. This causes a potential | ||
let props; | ||
for (propName in config) { | ||
if (hasOwnProperty.call(config, propName) && // Skip over reserved prop names | ||
propName !== 'key' && (enableRefAsProp )) { | ||
props[propName] = config[propName]; | ||
} | ||
} // Resolve default props | ||
if (!('key' in config)) { | ||
// If key was not spread in, we can reuse the original props object. This | ||
// only works for `jsx`, not `createElement`, because `jsx` is a compiler | ||
// target and the compiler always passes a new object. For `createElement`, | ||
// we can't assume a new object is passed every time because it can be | ||
// called manually. | ||
// | ||
// Spreading key is a warning in dev. In a future release, we will not | ||
// remove a spread key from the props object. (But we'll still warn.) We'll | ||
// always pass the object straight through. | ||
props = config; | ||
} else { | ||
// We need to remove reserved props (key, prop, ref). Create a fresh props | ||
// object and copy over all the non-reserved props. We don't use `delete` | ||
// because in V8 it will deopt the object to dictionary mode. | ||
props = {}; | ||
if (type && type.defaultProps) { | ||
const defaultProps = type.defaultProps; | ||
for (propName in defaultProps) { | ||
if (props[propName] === undefined) { | ||
props[propName] = defaultProps[propName]; | ||
for (const propName in config) { | ||
// Skip over reserved prop names | ||
if (propName !== 'key' && (enableRefAsProp )) { | ||
{ | ||
props[propName] = config[propName]; | ||
} | ||
} | ||
@@ -158,3 +151,3 @@ } | ||
return ReactElement(type, key, ref, undefined, undefined, ReactCurrentOwner.current, props); | ||
return ReactElement(type, key, ref, undefined, undefined, ReactSharedInternals.owner, props); | ||
} // While `jsxDEV` should never be called when running in production, we do | ||
@@ -161,0 +154,0 @@ |
@@ -10,5 +10,4 @@ /* | ||
*/ | ||
'use strict';var f=require("react"),h=Symbol.for("react.element"),k=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner; | ||
function n(d,b,g){var c={},e=null;void 0!==g&&(e=""+g);void 0!==b.key&&(e=""+b.key);for(a in b)l.call(b,a)&&"key"!==a&&(c[a]=b[a]);if(d&&d.defaultProps)for(a in b=d.defaultProps,b)void 0===c[a]&&(c[a]=b[a]);var a=c.ref;return{$$typeof:h,type:d,key:e,ref:void 0!==a?a:null,props:c,_owner:m.current}}exports.Fragment=k;exports.jsx=n;exports.jsxs=n; | ||
'use strict';require("react");var e=Symbol.for("react.element"),f=Symbol.for("react.fragment");function g(h,a,b){var c=null;void 0!==b&&(c=""+b);void 0!==a.key&&(c=""+a.key);if("key"in a){b={};for(var d in a)"key"!==d&&(b[d]=a[d])}else b=a;a=b.ref;return{$$typeof:e,type:h,key:c,ref:void 0!==a?a:null,props:b}}exports.Fragment=f;exports.jsx=g;exports.jsxs=g; | ||
//# sourceMappingURL=react-jsx-runtime.profiling.min.js.map |
@@ -38,3 +38,2 @@ /** | ||
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen'); | ||
var REACT_CACHE_TYPE = Symbol.for('react.cache'); | ||
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator; | ||
@@ -56,4 +55,9 @@ var FAUX_ITERATOR_SYMBOL = '@@iterator'; | ||
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; | ||
var ReactSharedInternalsServer = // $FlowFixMe: It's defined in the one we resolve to. | ||
React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; | ||
if (!ReactSharedInternalsServer) { | ||
throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); | ||
} | ||
function error(format) { | ||
@@ -75,4 +79,3 @@ { | ||
{ | ||
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; | ||
var stack = ReactDebugCurrentFrame.getStackAddendum(); | ||
var stack = ReactSharedInternalsServer.getStackAddendum(); | ||
@@ -103,9 +106,2 @@ if (stack !== '') { | ||
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber | ||
var enableRenderableContext = false; | ||
// Ready for next major. | ||
// | ||
// Alias __NEXT_MAJOR__ to true for easier skimming. | ||
// ----------------------------------------------------------------------------- | ||
var __NEXT_MAJOR__ = true; // Not ready to break experimental yet. | ||
// as a normal prop instead of stripping it from the props object. | ||
@@ -115,3 +111,5 @@ // Passes `ref` as a normal prop instead of stripping it from the props object | ||
var enableRefAsProp = __NEXT_MAJOR__; | ||
var enableRefAsProp = true; | ||
var enableRenderableContext = true; // ----------------------------------------------------------------------------- | ||
// stuff. Intended to enable React core members to more easily debug scheduling | ||
@@ -178,7 +176,2 @@ // issues in DEV builds. | ||
case REACT_CACHE_TYPE: | ||
{ | ||
return 'Cache'; | ||
} | ||
} | ||
@@ -196,4 +189,3 @@ | ||
{ | ||
var provider = type; | ||
return getContextName(provider._context) + '.Provider'; | ||
return null; | ||
} | ||
@@ -205,3 +197,3 @@ | ||
{ | ||
return getContextName(context) + '.Consumer'; | ||
return getContextName(context) + '.Provider'; | ||
} | ||
@@ -211,3 +203,4 @@ | ||
{ | ||
return null; | ||
var consumer = type; | ||
return getContextName(consumer._context) + '.Consumer'; | ||
} | ||
@@ -325,3 +318,3 @@ | ||
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || type === REACT_CACHE_TYPE || enableTransitionTracing ) { | ||
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableTransitionTracing ) { | ||
return true; | ||
@@ -331,3 +324,3 @@ } | ||
if (typeof type === 'object' && type !== null) { | ||
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || enableRenderableContext || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object | ||
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || !enableRenderableContext || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object | ||
// types supported by any Flight configuration anywhere since | ||
@@ -444,5 +437,4 @@ // we don't know which Flight build this will end up being used | ||
var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher; | ||
var prefix; | ||
function describeBuiltInComponentFrame(name, ownerFn) { | ||
function describeBuiltInComponentFrame(name) { | ||
{ | ||
@@ -501,9 +493,9 @@ if (prefix === undefined) { | ||
Error.prepareStackTrace = undefined; | ||
var previousDispatcher; | ||
var previousDispatcher = null; | ||
{ | ||
previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function | ||
previousDispatcher = ReactSharedInternalsServer.H; // Set the dispatcher in DEV because this might be call in the render function | ||
// for warnings. | ||
ReactCurrentDispatcher.current = null; | ||
ReactSharedInternalsServer.H = null; | ||
disableLogs(); | ||
@@ -693,3 +685,3 @@ } | ||
{ | ||
ReactCurrentDispatcher.current = previousDispatcher; | ||
ReactSharedInternalsServer.H = previousDispatcher; | ||
reenableLogs(); | ||
@@ -713,3 +705,3 @@ } | ||
} | ||
function describeFunctionComponentFrame(fn, ownerFn) { | ||
function describeFunctionComponentFrame(fn) { | ||
{ | ||
@@ -725,3 +717,3 @@ return describeNativeComponentFrame(fn, false); | ||
function describeUnknownElementTypeFrameInDEV(type, ownerFn) { | ||
function describeUnknownElementTypeFrameInDEV(type) { | ||
@@ -757,3 +749,3 @@ if (type == null) { | ||
// Memo may contain any component type so we recursively resolve it. | ||
return describeUnknownElementTypeFrameInDEV(type.type, ownerFn); | ||
return describeUnknownElementTypeFrameInDEV(type.type); | ||
@@ -768,3 +760,3 @@ case REACT_LAZY_TYPE: | ||
// Lazy may contain any component type so we recursively resolve it. | ||
return describeUnknownElementTypeFrameInDEV(init(payload), ownerFn); | ||
return describeUnknownElementTypeFrameInDEV(init(payload)); | ||
} catch (x) {} | ||
@@ -778,4 +770,2 @@ } | ||
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; | ||
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; | ||
var REACT_CLIENT_REFERENCE = Symbol.for('react.client.reference'); | ||
@@ -842,3 +832,3 @@ var specialPropKeyWarningShown; | ||
error('Accessing element.ref is no longer supported. ref is now a ' + 'regular prop. It will be removed from the JSX Element ' + 'type in a future release.'); | ||
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.'); | ||
} // An undefined `element.ref` is coerced to `null` for | ||
@@ -1070,5 +1060,2 @@ // backwards compatibility. | ||
var propName; // Reserved names are extracted | ||
var props = {}; | ||
var key = null; | ||
@@ -1098,19 +1085,29 @@ var ref = null; // Currently, key can be spread in as a prop. This causes a potential | ||
if (hasValidRef(config)) ; // Remaining properties are added to a new props object | ||
if (hasValidRef(config)) ; | ||
var props; | ||
for (propName in config) { | ||
if (hasOwnProperty.call(config, propName) && // Skip over reserved prop names | ||
propName !== 'key' && (enableRefAsProp )) { | ||
props[propName] = config[propName]; | ||
} | ||
} // Resolve default props | ||
if (!('key' in config)) { | ||
// If key was not spread in, we can reuse the original props object. This | ||
// only works for `jsx`, not `createElement`, because `jsx` is a compiler | ||
// target and the compiler always passes a new object. For `createElement`, | ||
// we can't assume a new object is passed every time because it can be | ||
// called manually. | ||
// | ||
// Spreading key is a warning in dev. In a future release, we will not | ||
// remove a spread key from the props object. (But we'll still warn.) We'll | ||
// always pass the object straight through. | ||
props = config; | ||
} else { | ||
// We need to remove reserved props (key, prop, ref). Create a fresh props | ||
// object and copy over all the non-reserved props. We don't use `delete` | ||
// because in V8 it will deopt the object to dictionary mode. | ||
props = {}; | ||
if (type && type.defaultProps) { | ||
var defaultProps = type.defaultProps; | ||
for (propName in defaultProps) { | ||
if (props[propName] === undefined) { | ||
props[propName] = defaultProps[propName]; | ||
for (var propName in config) { | ||
// Skip over reserved prop names | ||
if (propName !== 'key' && (enableRefAsProp )) { | ||
{ | ||
props[propName] = config[propName]; | ||
} | ||
} | ||
@@ -1128,3 +1125,3 @@ } | ||
var element = ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); | ||
var element = ReactElement(type, key, ref, self, source, ReactSharedInternalsServer.owner, props); | ||
@@ -1141,4 +1138,4 @@ if (type === REACT_FRAGMENT_TYPE) { | ||
{ | ||
if (ReactCurrentOwner.current) { | ||
var name = getComponentNameFromType(ReactCurrentOwner.current.type); | ||
if (ReactSharedInternalsServer.owner) { | ||
var name = getComponentNameFromType(ReactSharedInternalsServer.owner.type); | ||
@@ -1247,5 +1244,13 @@ if (name) { | ||
if (element && element._owner && element._owner !== ReactCurrentOwner.current) { | ||
// Give the component that originally created this child. | ||
childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + "."; | ||
if (element && element._owner != null && element._owner !== ReactSharedInternalsServer.owner) { | ||
var ownerName = null; | ||
if (typeof element._owner.tag === 'number') { | ||
ownerName = getComponentNameFromType(element._owner.type); | ||
} else if (typeof element._owner.name === 'string') { | ||
ownerName = element._owner.name; | ||
} // Give the component that originally created this child. | ||
childOwner = " It was passed a child from " + ownerName + "."; | ||
} | ||
@@ -1264,7 +1269,6 @@ | ||
if (element) { | ||
var owner = element._owner; | ||
var stack = describeUnknownElementTypeFrameInDEV(element.type, owner ? owner.type : null); | ||
ReactDebugCurrentFrame.setExtraStackFrame(stack); | ||
var stack = describeUnknownElementTypeFrameInDEV(element.type); | ||
ReactSharedInternalsServer.setExtraStackFrame(stack); | ||
} else { | ||
ReactDebugCurrentFrame.setExtraStackFrame(null); | ||
ReactSharedInternalsServer.setExtraStackFrame(null); | ||
} | ||
@@ -1271,0 +1275,0 @@ } |
@@ -23,8 +23,2 @@ /** | ||
// ----------------------------------------------------------------------------- | ||
// Ready for next major. | ||
// | ||
// Alias __NEXT_MAJOR__ to true for easier skimming. | ||
// ----------------------------------------------------------------------------- | ||
const __NEXT_MAJOR__ = true; // Not ready to break experimental yet. | ||
// as a normal prop instead of stripping it from the props object. | ||
@@ -34,11 +28,11 @@ // Passes `ref` as a normal prop instead of stripping it from the props object | ||
const enableRefAsProp = __NEXT_MAJOR__; | ||
const enableRefAsProp = true; | ||
const ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; | ||
const ReactSharedInternalsServer = // $FlowFixMe: It's defined in the one we resolve to. | ||
React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; | ||
// $FlowFixMe[method-unbinding] | ||
const hasOwnProperty = Object.prototype.hasOwnProperty; | ||
if (!ReactSharedInternalsServer) { | ||
throw new Error('The "react" package in this environment is not configured correctly. ' + 'The "react-server" condition must be enabled in any environment that ' + 'runs React Server Components.'); | ||
} | ||
const ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; | ||
function hasValidKey(config) { | ||
@@ -88,4 +82,3 @@ | ||
{ | ||
// In prod, `ref` is a regular property. It will be removed in a | ||
// future release. | ||
// In prod, `ref` is a regular property and _owner doesn't exist. | ||
element = { | ||
@@ -98,5 +91,3 @@ // This tag allows us to uniquely identify this as a React Element | ||
ref, | ||
props, | ||
// Record the component responsible for creating this element. | ||
_owner: owner | ||
props | ||
}; | ||
@@ -116,5 +107,2 @@ } | ||
function jsxProd(type, config, maybeKey) { | ||
let propName; // Reserved names are extracted | ||
const props = {}; | ||
let key = null; | ||
@@ -138,17 +126,27 @@ let ref = null; // Currently, key can be spread in as a prop. This causes a potential | ||
let props; | ||
for (propName in config) { | ||
if (hasOwnProperty.call(config, propName) && // Skip over reserved prop names | ||
propName !== 'key' && (enableRefAsProp )) { | ||
props[propName] = config[propName]; | ||
} | ||
} // Resolve default props | ||
if (!('key' in config)) { | ||
// If key was not spread in, we can reuse the original props object. This | ||
// only works for `jsx`, not `createElement`, because `jsx` is a compiler | ||
// target and the compiler always passes a new object. For `createElement`, | ||
// we can't assume a new object is passed every time because it can be | ||
// called manually. | ||
// | ||
// Spreading key is a warning in dev. In a future release, we will not | ||
// remove a spread key from the props object. (But we'll still warn.) We'll | ||
// always pass the object straight through. | ||
props = config; | ||
} else { | ||
// We need to remove reserved props (key, prop, ref). Create a fresh props | ||
// object and copy over all the non-reserved props. We don't use `delete` | ||
// because in V8 it will deopt the object to dictionary mode. | ||
props = {}; | ||
if (type && type.defaultProps) { | ||
const defaultProps = type.defaultProps; | ||
for (propName in defaultProps) { | ||
if (props[propName] === undefined) { | ||
props[propName] = defaultProps[propName]; | ||
for (const propName in config) { | ||
// Skip over reserved prop names | ||
if (propName !== 'key' && (enableRefAsProp )) { | ||
{ | ||
props[propName] = config[propName]; | ||
} | ||
} | ||
@@ -158,3 +156,3 @@ } | ||
return ReactElement(type, key, ref, undefined, undefined, ReactCurrentOwner.current, props); | ||
return ReactElement(type, key, ref, undefined, undefined, ReactSharedInternalsServer.owner, props); | ||
} // While `jsxDEV` should never be called when running in production, we do | ||
@@ -161,0 +159,0 @@ |
@@ -10,5 +10,5 @@ /* | ||
*/ | ||
'use strict';var f=require("react"),h=Symbol.for("react.element"),k=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner; | ||
function n(d,b,g){var c={},e=null;void 0!==g&&(e=""+g);void 0!==b.key&&(e=""+b.key);for(a in b)l.call(b,a)&&"key"!==a&&(c[a]=b[a]);if(d&&d.defaultProps)for(a in b=d.defaultProps,b)void 0===c[a]&&(c[a]=b[a]);var a=c.ref;return{$$typeof:h,type:d,key:e,ref:void 0!==a?a:null,props:c,_owner:m.current}}exports.Fragment=k;exports.jsx=n;exports.jsxDEV=void 0;exports.jsxs=n; | ||
'use strict';var e=require("react"),f=Symbol.for("react.element"),g=Symbol.for("react.fragment");if(!e.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'); | ||
function h(k,a,b){var c=null;void 0!==b&&(c=""+b);void 0!==a.key&&(c=""+a.key);if("key"in a){b={};for(var d in a)"key"!==d&&(b[d]=a[d])}else b=a;a=b.ref;return{$$typeof:f,type:k,key:c,ref:void 0!==a?a:null,props:b}}exports.Fragment=g;exports.jsx=h;exports.jsxDEV=void 0;exports.jsxs=h; | ||
//# sourceMappingURL=react-jsx-runtime.react-server.production.min.js.map |
@@ -13,3 +13,3 @@ /** | ||
var ReactVersion = '18.3.0-experimental-966d17483-20240305'; | ||
var ReactVersion = '19.0.0-experimental-96c584661-20240412'; | ||
@@ -25,3 +25,4 @@ // ATTENTION | ||
const REACT_PROFILER_TYPE = Symbol.for('react.profiler'); | ||
const REACT_PROVIDER_TYPE = Symbol.for('react.provider'); // TODO: Delete with enableRenderableContext | ||
const REACT_CONSUMER_TYPE = Symbol.for('react.consumer'); | ||
const REACT_CONTEXT_TYPE = Symbol.for('react.context'); | ||
@@ -35,3 +36,2 @@ const REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'); | ||
const REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen'); | ||
const REACT_CACHE_TYPE = Symbol.for('react.cache'); | ||
const REACT_POSTPONE_TYPE = Symbol.for('react.postpone'); | ||
@@ -230,8 +230,2 @@ const MAYBE_ITERATOR_SYMBOL = Symbol.iterator; | ||
// ----------------------------------------------------------------------------- | ||
// Ready for next major. | ||
// | ||
// Alias __NEXT_MAJOR__ to true for easier skimming. | ||
// ----------------------------------------------------------------------------- | ||
const __NEXT_MAJOR__ = true; // Not ready to break experimental yet. | ||
// as a normal prop instead of stripping it from the props object. | ||
@@ -241,45 +235,8 @@ // Passes `ref` as a normal prop instead of stripping it from the props object | ||
const enableRefAsProp = __NEXT_MAJOR__; | ||
const enableRefAsProp = true; | ||
/** | ||
* Keeps track of the current dispatcher. | ||
*/ | ||
const ReactCurrentDispatcher = { | ||
current: null | ||
}; | ||
/** | ||
* Keeps track of the current Cache dispatcher. | ||
*/ | ||
const ReactCurrentCache = { | ||
current: null | ||
}; | ||
/** | ||
* Keeps track of the current batch's configuration such as how long an update | ||
* should suspend for if it needs to. | ||
*/ | ||
const ReactCurrentBatchConfig = { | ||
transition: null | ||
}; | ||
/** | ||
* Keeps track of the current owner. | ||
* | ||
* The current owner is the component who should own any components that are | ||
* currently being constructed. | ||
*/ | ||
const ReactCurrentOwner$1 = { | ||
/** | ||
* @internal | ||
* @type {ReactComponent} | ||
*/ | ||
current: null | ||
}; | ||
const ReactSharedInternals = { | ||
ReactCurrentDispatcher, | ||
ReactCurrentCache, | ||
ReactCurrentBatchConfig, | ||
ReactCurrentOwner: ReactCurrentOwner$1 | ||
H: null, | ||
C: null, | ||
T: null | ||
}; | ||
@@ -290,4 +247,2 @@ | ||
const ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; | ||
function hasValidRef(config) { | ||
@@ -342,4 +297,3 @@ | ||
{ | ||
// In prod, `ref` is a regular property. It will be removed in a | ||
// future release. | ||
// In prod, `ref` is a regular property and _owner doesn't exist. | ||
element = { | ||
@@ -352,5 +306,3 @@ // This tag allows us to uniquely identify this as a React Element | ||
ref, | ||
props, | ||
// Record the component responsible for creating this element. | ||
_owner: owner | ||
props | ||
}; | ||
@@ -389,3 +341,5 @@ } | ||
propName !== '__self' && propName !== '__source') { | ||
props[propName] = config[propName]; | ||
{ | ||
props[propName] = config[propName]; | ||
} | ||
} | ||
@@ -422,26 +376,10 @@ } | ||
const element = ReactElement(type, key, ref, undefined, undefined, ReactCurrentOwner.current, props); | ||
const element = ReactElement(type, key, ref, undefined, undefined, ReactSharedInternals.owner, props); | ||
return element; | ||
} | ||
/** | ||
* Return a function that produces ReactElements of a given type. | ||
* See https://reactjs.org/docs/react-api.html#createfactory | ||
*/ | ||
function createFactory(type) { | ||
const factory = createElement.bind(null, type); // Expose the type on the factory and the prototype so that it can be | ||
// easily accessed on elements. E.g. `<Foo />.type === Foo`. | ||
// This should not be named `constructor` since this may not be the function | ||
// that created the element, and it may not even be a constructor. | ||
// Legacy hook: remove it | ||
factory.type = type; | ||
return factory; | ||
} | ||
function cloneAndReplaceKey(oldElement, newKey) { | ||
return ReactElement(oldElement.type, newKey, // When enableRefAsProp is on, this argument is ignored. This check only | ||
// exists to avoid the `ref` access warning. | ||
null , undefined, undefined, oldElement._owner, oldElement.props); | ||
null , undefined, undefined, undefined , oldElement.props); | ||
} | ||
@@ -465,8 +403,7 @@ /** | ||
let owner = element._owner; | ||
let owner = undefined ; | ||
if (config != null) { | ||
if (hasValidRef(config)) { | ||
owner = ReactCurrentOwner.current; | ||
owner = ReactSharedInternals.owner; | ||
} | ||
@@ -479,9 +416,2 @@ | ||
let defaultProps; | ||
if (element.type && element.type.defaultProps) { | ||
defaultProps = element.type.defaultProps; | ||
} | ||
for (propName in config) { | ||
@@ -499,7 +429,6 @@ if (hasOwnProperty.call(config, propName) && // Skip over reserved prop names | ||
!(propName === 'ref' && config.ref === undefined)) { | ||
if (config[propName] === undefined && defaultProps !== undefined) { | ||
// Resolve default props | ||
props[propName] = defaultProps[propName]; | ||
} else { | ||
props[propName] = config[propName]; | ||
{ | ||
{ | ||
props[propName] = config[propName]; | ||
} | ||
} | ||
@@ -670,5 +599,2 @@ } | ||
case 'bigint': | ||
// fallthrough for enabled BigInt support | ||
case 'string': | ||
@@ -889,10 +815,7 @@ case 'number': | ||
{ | ||
context.Provider = { | ||
$$typeof: REACT_PROVIDER_TYPE, | ||
context.Provider = context; | ||
context.Consumer = { | ||
$$typeof: REACT_CONSUMER_TYPE, | ||
_context: context | ||
}; | ||
{ | ||
context.Consumer = context; | ||
} | ||
} | ||
@@ -1010,3 +933,3 @@ | ||
return function () { | ||
const dispatcher = ReactCurrentCache.current; | ||
const dispatcher = ReactSharedInternals.C; | ||
@@ -1103,3 +1026,3 @@ if (!dispatcher) { | ||
function resolveDispatcher() { | ||
const dispatcher = ReactCurrentDispatcher.current; | ||
const dispatcher = ReactSharedInternals.H; | ||
// intentionally don't throw our own error because this is in a hot path. | ||
@@ -1112,22 +1035,4 @@ // Also helps ensure this is inlined. | ||
function getCacheSignal() { | ||
const dispatcher = ReactCurrentCache.current; | ||
if (!dispatcher) { | ||
// If we have no cache to associate with this call, then we don't know | ||
// its lifetime. We abort early since that's safer than letting it live | ||
// for ever. Unlike just caching which can be a functional noop outside | ||
// of React, these should generally always be associated with some React | ||
// render but we're not limiting quite as much as making it a Hook. | ||
// It's safer than erroring early at runtime. | ||
const controller = new AbortController(); | ||
const reason = new Error('This CacheSignal was requested outside React which means that it is ' + 'immediately aborted.'); | ||
controller.abort(reason); | ||
return controller.signal; | ||
} | ||
return dispatcher.getCacheSignal(); | ||
} | ||
function getCacheForType(resourceType) { | ||
const dispatcher = ReactCurrentCache.current; | ||
const dispatcher = ReactSharedInternals.C; | ||
@@ -1224,5 +1129,42 @@ if (!dispatcher) { | ||
} | ||
function useActionState(action, initialState, permalink) { | ||
{ | ||
const dispatcher = resolveDispatcher(); // $FlowFixMe[not-a-function] This is unstable, thus optional | ||
return dispatcher.useActionState(action, initialState, permalink); | ||
} | ||
} | ||
const reportGlobalError = typeof reportError === 'function' ? // In modern browsers, reportError will dispatch an error event, | ||
// emulating an uncaught JavaScript error. | ||
reportError : error => { | ||
if (typeof window === 'object' && typeof window.ErrorEvent === 'function') { | ||
// Browser Polyfill | ||
const message = typeof error === 'object' && error !== null && typeof error.message === 'string' ? // eslint-disable-next-line react-internal/safe-string-coercion | ||
String(error.message) : // eslint-disable-next-line react-internal/safe-string-coercion | ||
String(error); | ||
const event = new window.ErrorEvent('error', { | ||
bubbles: true, | ||
cancelable: true, | ||
message: message, | ||
error: error | ||
}); | ||
const shouldLog = window.dispatchEvent(event); | ||
if (!shouldLog) { | ||
return; | ||
} | ||
} else if (typeof process === 'object' && // $FlowFixMe[method-unbinding] | ||
typeof process.emit === 'function') { | ||
// Node Polyfill | ||
process.emit('uncaughtException', error); | ||
return; | ||
} // eslint-disable-next-line react-internal/no-production-logging | ||
console['error'](error); | ||
}; | ||
function startTransition(scope, options) { | ||
const prevTransition = ReactCurrentBatchConfig.transition; // Each renderer registers a callback to receive the return value of | ||
const prevTransition = ReactSharedInternals.T; // Each renderer registers a callback to receive the return value of | ||
// the scope function. This is used to implement async actions. | ||
@@ -1234,4 +1176,4 @@ | ||
}; | ||
ReactCurrentBatchConfig.transition = transition; | ||
const currentTransition = ReactCurrentBatchConfig.transition; | ||
ReactSharedInternals.T = transition; | ||
const currentTransition = ReactSharedInternals.T; | ||
@@ -1244,8 +1186,8 @@ { | ||
callbacks.forEach(callback => callback(currentTransition, returnValue)); | ||
returnValue.then(noop, onError); | ||
returnValue.then(noop, reportGlobalError); | ||
} | ||
} catch (error) { | ||
onError(error); | ||
reportGlobalError(error); | ||
} finally { | ||
ReactCurrentBatchConfig.transition = prevTransition; | ||
ReactSharedInternals.T = prevTransition; | ||
} | ||
@@ -1255,14 +1197,4 @@ } | ||
function noop() {} // Use reportError, if it exists. Otherwise console.error. This is the same as | ||
// the default for onRecoverableError. | ||
function noop() {} | ||
const onError = typeof reportError === 'function' ? // In modern browsers, reportError will dispatch an error event, | ||
// emulating an uncaught JavaScript error. | ||
reportError : error => { | ||
// In older browsers and test environments, fallback to console.error. | ||
// eslint-disable-next-line react-internal/no-production-logging | ||
console['error'](error); | ||
}; | ||
function act(callback) { | ||
@@ -1294,3 +1226,3 @@ { | ||
exports.Suspense = REACT_SUSPENSE_TYPE; | ||
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals; | ||
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals; | ||
exports.act = act; | ||
@@ -1301,3 +1233,2 @@ exports.cache = cache; | ||
exports.createElement = createElement; | ||
exports.createFactory = createFactory; | ||
exports.createRef = createRef; | ||
@@ -1312,7 +1243,5 @@ exports.experimental_useEffectEvent = useEffectEvent; | ||
exports.unstable_Activity = REACT_OFFSCREEN_TYPE; | ||
exports.unstable_Cache = REACT_CACHE_TYPE; | ||
exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE; | ||
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; | ||
exports.unstable_getCacheForType = getCacheForType; | ||
exports.unstable_getCacheSignal = getCacheSignal; | ||
exports.unstable_postpone = postpone; | ||
@@ -1322,2 +1251,3 @@ exports.unstable_useCacheRefresh = useCacheRefresh; | ||
exports.use = use; | ||
exports.useActionState = useActionState; | ||
exports.useCallback = useCallback; | ||
@@ -1324,0 +1254,0 @@ exports.useContext = useContext; |
@@ -10,26 +10,26 @@ /* | ||
*/ | ||
'use strict';var k=Symbol.for("react.element"),m=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),r=Symbol.for("react.provider"),t=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),z=Symbol.for("react.debug_trace_mode"),aa=Symbol.for("react.offscreen"),ba=Symbol.for("react.cache"),ca=Symbol.for("react.postpone"), | ||
A=Symbol.iterator;function da(a){if(null===a||"object"!==typeof a)return null;a=A&&a[A]||a["@@iterator"];return"function"===typeof a?a:null}var B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,c){this.props=a;this.context=b;this.refs=D;this.updater=c||B}E.prototype.isReactComponent={}; | ||
E.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,b,"setState")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function F(){}F.prototype=E.prototype;function G(a,b,c){this.props=a;this.context=b;this.refs=D;this.updater=c||B}var H=G.prototype=new F; | ||
H.constructor=G;C(H,E.prototype);H.isPureReactComponent=!0;var I=Array.isArray,J={current:null},K={current:null},L={transition:null},M={ReactCurrentDispatcher:J,ReactCurrentCache:K,ReactCurrentBatchConfig:L,ReactCurrentOwner:{current:null}},N=Object.prototype.hasOwnProperty,O=M.ReactCurrentOwner;function P(a,b,c,e,d,g,f){c=f.ref;return{$$typeof:k,type:a,key:b,ref:void 0!==c?c:null,props:f,_owner:g}} | ||
function Q(a,b,c){var e,d={},g=null;if(null!=b)for(e in void 0!==b.key&&(g=""+b.key),b)N.call(b,e)&&"key"!==e&&"__self"!==e&&"__source"!==e&&(d[e]=b[e]);var f=arguments.length-2;if(1===f)d.children=c;else if(1<f){for(var h=Array(f),l=0;l<f;l++)h[l]=arguments[l+2];d.children=h}if(a&&a.defaultProps)for(e in f=a.defaultProps,f)void 0===d[e]&&(d[e]=f[e]);return P(a,g,null,void 0,void 0,O.current,d)}function ea(a,b){return P(a.type,b,null,void 0,void 0,a._owner,a.props)} | ||
function R(a){return"object"===typeof a&&null!==a&&a.$$typeof===k}function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}var S=/\/+/g;function T(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}function U(){} | ||
function fa(a){switch(a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;default:switch("string"===typeof a.status?a.then(U,U):(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)})),a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;}}throw a;} | ||
function V(a,b,c,e,d){var g=typeof a;if("undefined"===g||"boolean"===g)a=null;var f=!1;if(null===a)f=!0;else switch(g){case "bigint":case "string":case "number":f=!0;break;case "object":switch(a.$$typeof){case k:case m:f=!0;break;case y:return f=a._init,V(f(a._payload),b,c,e,d)}}if(f)return d=d(a),f=""===e?"."+T(a,0):e,I(d)?(c="",null!=f&&(c=f.replace(S,"$&/")+"/"),V(d,b,c,"",function(ha){return ha})):null!=d&&(R(d)&&(d=ea(d,c+(!d.key||a&&a.key===d.key?"":(""+d.key).replace(S,"$&/")+"/")+f)),b.push(d)), | ||
1;f=0;var h=""===e?".":e+":";if(I(a))for(var l=0;l<a.length;l++)e=a[l],g=h+T(e,l),f+=V(e,b,c,g,d);else if(l=da(a),"function"===typeof l)for(a=l.call(a),l=0;!(e=a.next()).done;)e=e.value,g=h+T(e,l++),f+=V(e,b,c,g,d);else if("object"===g){if("function"===typeof a.then)return V(fa(a),b,c,e,d);b=String(a);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead."); | ||
}return f}function W(a,b,c){if(null==a)return a;var e=[],d=0;V(a,e,"","",function(g){return b.call(c,g,d++)});return e}function ia(a){if(-1===a._status){var b=a._result;b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function ja(){return new WeakMap} | ||
function X(){return{s:0,v:void 0,o:null,p:null}}function Y(a,b){return J.current.useOptimistic(a,b)}function ka(){}var Z="function"===typeof reportError?reportError:function(a){console.error(a)}; | ||
exports.Children={map:W,forEach:function(a,b,c){W(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;W(a,function(){b++});return b},toArray:function(a){return W(a,function(b){return b})||[]},only:function(a){if(!R(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};exports.Component=E;exports.Fragment=n;exports.Profiler=q;exports.PureComponent=G;exports.StrictMode=p;exports.Suspense=v; | ||
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M;exports.act=function(){throw Error("act(...) is not supported in production builds of React.");}; | ||
exports.cache=function(a){return function(){var b=K.current;if(!b)return a.apply(null,arguments);var c=b.getCacheForType(ja);b=c.get(a);void 0===b&&(b=X(),c.set(a,b));c=0;for(var e=arguments.length;c<e;c++){var d=arguments[c];if("function"===typeof d||"object"===typeof d&&null!==d){var g=b.o;null===g&&(b.o=g=new WeakMap);b=g.get(d);void 0===b&&(b=X(),g.set(d,b))}else g=b.p,null===g&&(b.p=g=new Map),b=g.get(d),void 0===b&&(b=X(),g.set(d,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var f=a.apply(null, | ||
arguments);c=b;c.s=1;return c.v=f}catch(h){throw f=b,f.s=2,f.v=h,h;}}}; | ||
exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("The argument must be a React element, but you passed "+a+".");var e=C({},a.props),d=a.key,g=a._owner;if(null!=b){void 0!==b.ref&&(g=O.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(h in b)!N.call(b,h)||"key"===h||"__self"===h||"__source"===h||"ref"===h&&void 0===b.ref||(e[h]=void 0===b[h]&&void 0!==f?f[h]:b[h])}var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){f= | ||
Array(h);for(var l=0;l<h;l++)f[l]=arguments[l+2];e.children=f}return P(a.type,d,null,void 0,void 0,g,e)};exports.createContext=function(a){a={$$typeof:t,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:r,_context:a};return a.Consumer=a};exports.createElement=Q;exports.createFactory=function(a){var b=Q.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}};exports.experimental_useEffectEvent=function(a){return J.current.useEffectEvent(a)}; | ||
exports.experimental_useOptimistic=function(a,b){return Y(a,b)};exports.forwardRef=function(a){return{$$typeof:u,render:a}};exports.isValidElement=R;exports.lazy=function(a){return{$$typeof:y,_payload:{_status:-1,_result:a},_init:ia}};exports.memo=function(a,b){return{$$typeof:x,type:a,compare:void 0===b?null:b}}; | ||
exports.startTransition=function(a){var b=L.transition,c=new Set;L.transition={_callbacks:c};var e=L.transition;try{var d=a();"object"===typeof d&&null!==d&&"function"===typeof d.then&&(c.forEach(function(g){return g(e,d)}),d.then(ka,Z))}catch(g){Z(g)}finally{L.transition=b}};exports.unstable_Activity=aa;exports.unstable_Cache=ba;exports.unstable_DebugTracingMode=z;exports.unstable_SuspenseList=w;exports.unstable_getCacheForType=function(a){var b=K.current;return b?b.getCacheForType(a):a()}; | ||
exports.unstable_getCacheSignal=function(){var a=K.current;return a?a.getCacheSignal():(a=new AbortController,a.abort(Error("This CacheSignal was requested outside React which means that it is immediately aborted.")),a.signal)};exports.unstable_postpone=function(a){a=Error(a);a.$$typeof=ca;throw a;};exports.unstable_useCacheRefresh=function(){return J.current.useCacheRefresh()};exports.unstable_useMemoCache=function(a){return J.current.useMemoCache(a)};exports.use=function(a){return J.current.use(a)}; | ||
exports.useCallback=function(a,b){return J.current.useCallback(a,b)};exports.useContext=function(a){return J.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a,b){return J.current.useDeferredValue(a,b)};exports.useEffect=function(a,b){return J.current.useEffect(a,b)};exports.useId=function(){return J.current.useId()};exports.useImperativeHandle=function(a,b,c){return J.current.useImperativeHandle(a,b,c)}; | ||
exports.useInsertionEffect=function(a,b){return J.current.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return J.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return J.current.useMemo(a,b)};exports.useOptimistic=Y;exports.useReducer=function(a,b,c){return J.current.useReducer(a,b,c)};exports.useRef=function(a){return J.current.useRef(a)};exports.useState=function(a){return J.current.useState(a)}; | ||
exports.useSyncExternalStore=function(a,b,c){return J.current.useSyncExternalStore(a,b,c)};exports.useTransition=function(){return J.current.useTransition()};exports.version="18.3.0-experimental-966d17483-20240305"; | ||
'use strict';var h=Symbol.for("react.element"),m=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),r=Symbol.for("react.consumer"),t=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),z=Symbol.for("react.debug_trace_mode"),A=Symbol.for("react.offscreen"),B=Symbol.for("react.postpone"),C=Symbol.iterator; | ||
function D(a){if(null===a||"object"!==typeof a)return null;a=C&&a[C]||a["@@iterator"];return"function"===typeof a?a:null}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F=Object.assign,G={};function H(a,b,c){this.props=a;this.context=b;this.refs=G;this.updater=c||E}H.prototype.isReactComponent={}; | ||
H.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,b,"setState")};H.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function I(){}I.prototype=H.prototype;function J(a,b,c){this.props=a;this.context=b;this.refs=G;this.updater=c||E}var K=J.prototype=new I; | ||
K.constructor=J;F(K,H.prototype);K.isPureReactComponent=!0;var L=Array.isArray,M={H:null,C:null,T:null},N=Object.prototype.hasOwnProperty;function O(a,b,c,f,d,g,e){c=e.ref;return{$$typeof:h,type:a,key:b,ref:void 0!==c?c:null,props:e}}function P(a,b){return O(a.type,b,null,void 0,void 0,void 0,a.props)}function Q(a){return"object"===typeof a&&null!==a&&a.$$typeof===h}function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}var R=/\/+/g; | ||
function S(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}function T(){} | ||
function U(a){switch(a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;default:switch("string"===typeof a.status?a.then(T,T):(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)})),a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;}}throw a;} | ||
function V(a,b,c,f,d){var g=typeof a;if("undefined"===g||"boolean"===g)a=null;var e=!1;if(null===a)e=!0;else switch(g){case "bigint":case "string":case "number":e=!0;break;case "object":switch(a.$$typeof){case h:case m:e=!0;break;case y:return e=a._init,V(e(a._payload),b,c,f,d)}}if(e)return d=d(a),e=""===f?"."+S(a,0):f,L(d)?(c="",null!=e&&(c=e.replace(R,"$&/")+"/"),V(d,b,c,"",function(aa){return aa})):null!=d&&(Q(d)&&(d=P(d,c+(!d.key||a&&a.key===d.key?"":(""+d.key).replace(R,"$&/")+"/")+e)),b.push(d)), | ||
1;e=0;var l=""===f?".":f+":";if(L(a))for(var k=0;k<a.length;k++)f=a[k],g=l+S(f,k),e+=V(f,b,c,g,d);else if(k=D(a),"function"===typeof k)for(a=k.call(a),k=0;!(f=a.next()).done;)f=f.value,g=l+S(f,k++),e+=V(f,b,c,g,d);else if("object"===g){if("function"===typeof a.then)return V(U(a),b,c,f,d);b=String(a);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead."); | ||
}return e}function W(a,b,c){if(null==a)return a;var f=[],d=0;V(a,f,"","",function(g){return b.call(c,g,d++)});return f}function ba(a){if(-1===a._status){var b=a._result;b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function ca(){return new WeakMap} | ||
function X(){return{s:0,v:void 0,o:null,p:null}}function Y(a,b){return M.H.useOptimistic(a,b)} | ||
var Z="function"===typeof reportError?reportError:function(a){if("object"===typeof window&&"function"===typeof window.ErrorEvent){var b=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"===typeof a&&null!==a&&"string"===typeof a.message?String(a.message):String(a),error:a});if(!window.dispatchEvent(b))return}else if("object"===typeof process&&"function"===typeof process.emit){process.emit("uncaughtException",a);return}console.error(a)};function da(){} | ||
exports.Children={map:W,forEach:function(a,b,c){W(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;W(a,function(){b++});return b},toArray:function(a){return W(a,function(b){return b})||[]},only:function(a){if(!Q(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};exports.Component=H;exports.Fragment=n;exports.Profiler=q;exports.PureComponent=J;exports.StrictMode=p;exports.Suspense=v; | ||
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M;exports.act=function(){throw Error("act(...) is not supported in production builds of React.");}; | ||
exports.cache=function(a){return function(){var b=M.C;if(!b)return a.apply(null,arguments);var c=b.getCacheForType(ca);b=c.get(a);void 0===b&&(b=X(),c.set(a,b));c=0;for(var f=arguments.length;c<f;c++){var d=arguments[c];if("function"===typeof d||"object"===typeof d&&null!==d){var g=b.o;null===g&&(b.o=g=new WeakMap);b=g.get(d);void 0===b&&(b=X(),g.set(d,b))}else g=b.p,null===g&&(b.p=g=new Map),b=g.get(d),void 0===b&&(b=X(),g.set(d,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var e=a.apply(null, | ||
arguments);c=b;c.s=1;return c.v=e}catch(l){throw e=b,e.s=2,e.v=l,l;}}}; | ||
exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("The argument must be a React element, but you passed "+a+".");var f=F({},a.props),d=a.key,g=void 0;if(null!=b)for(e in void 0!==b.ref&&(g=M.owner),void 0!==b.key&&(d=""+b.key),b)!N.call(b,e)||"key"===e||"__self"===e||"__source"===e||"ref"===e&&void 0===b.ref||(f[e]=b[e]);var e=arguments.length-2;if(1===e)f.children=c;else if(1<e){for(var l=Array(e),k=0;k<e;k++)l[k]=arguments[k+2];f.children=l}return O(a.type,d,null,void 0,void 0, | ||
g,f)};exports.createContext=function(a){a={$$typeof:t,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider=a;a.Consumer={$$typeof:r,_context:a};return a}; | ||
exports.createElement=function(a,b,c){var f,d={},g=null;if(null!=b)for(f in void 0!==b.key&&(g=""+b.key),b)N.call(b,f)&&"key"!==f&&"__self"!==f&&"__source"!==f&&(d[f]=b[f]);var e=arguments.length-2;if(1===e)d.children=c;else if(1<e){for(var l=Array(e),k=0;k<e;k++)l[k]=arguments[k+2];d.children=l}if(a&&a.defaultProps)for(f in e=a.defaultProps,e)void 0===d[f]&&(d[f]=e[f]);return O(a,g,null,void 0,void 0,M.owner,d)};exports.createRef=function(){return{current:null}}; | ||
exports.experimental_useEffectEvent=function(a){return M.H.useEffectEvent(a)};exports.experimental_useOptimistic=function(a,b){return Y(a,b)};exports.forwardRef=function(a){return{$$typeof:u,render:a}};exports.isValidElement=Q;exports.lazy=function(a){return{$$typeof:y,_payload:{_status:-1,_result:a},_init:ba}};exports.memo=function(a,b){return{$$typeof:x,type:a,compare:void 0===b?null:b}}; | ||
exports.startTransition=function(a){var b=M.T,c=new Set;M.T={_callbacks:c};var f=M.T;try{var d=a();"object"===typeof d&&null!==d&&"function"===typeof d.then&&(c.forEach(function(g){return g(f,d)}),d.then(da,Z))}catch(g){Z(g)}finally{M.T=b}};exports.unstable_Activity=A;exports.unstable_DebugTracingMode=z;exports.unstable_SuspenseList=w;exports.unstable_getCacheForType=function(a){var b=M.C;return b?b.getCacheForType(a):a()};exports.unstable_postpone=function(a){a=Error(a);a.$$typeof=B;throw a;}; | ||
exports.unstable_useCacheRefresh=function(){return M.H.useCacheRefresh()};exports.unstable_useMemoCache=function(a){return M.H.useMemoCache(a)};exports.use=function(a){return M.H.use(a)};exports.useActionState=function(a,b,c){return M.H.useActionState(a,b,c)};exports.useCallback=function(a,b){return M.H.useCallback(a,b)};exports.useContext=function(a){return M.H.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a,b){return M.H.useDeferredValue(a,b)}; | ||
exports.useEffect=function(a,b){return M.H.useEffect(a,b)};exports.useId=function(){return M.H.useId()};exports.useImperativeHandle=function(a,b,c){return M.H.useImperativeHandle(a,b,c)};exports.useInsertionEffect=function(a,b){return M.H.useInsertionEffect(a,b)};exports.useLayoutEffect=function(a,b){return M.H.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return M.H.useMemo(a,b)};exports.useOptimistic=Y;exports.useReducer=function(a,b,c){return M.H.useReducer(a,b,c)};exports.useRef=function(a){return M.H.useRef(a)}; | ||
exports.useState=function(a){return M.H.useState(a)};exports.useSyncExternalStore=function(a,b,c){return M.H.useSyncExternalStore(a,b,c)};exports.useTransition=function(){return M.H.useTransition()};exports.version="19.0.0-experimental-96c584661-20240412"; | ||
//# sourceMappingURL=react.production.min.js.map |
@@ -16,8 +16,2 @@ /** | ||
// ----------------------------------------------------------------------------- | ||
// Ready for next major. | ||
// | ||
// Alias __NEXT_MAJOR__ to true for easier skimming. | ||
// ----------------------------------------------------------------------------- | ||
const __NEXT_MAJOR__ = true; // Not ready to break experimental yet. | ||
// as a normal prop instead of stripping it from the props object. | ||
@@ -27,11 +21,26 @@ // Passes `ref` as a normal prop instead of stripping it from the props object | ||
const enableRefAsProp = __NEXT_MAJOR__; | ||
const enableRefAsProp = true; | ||
/** | ||
* Keeps track of the current Cache dispatcher. | ||
*/ | ||
const ReactCurrentCache = { | ||
current: null | ||
const TaintRegistryObjects$1 = new WeakMap(); | ||
const TaintRegistryValues$1 = new Map(); // Byte lengths of all binary values we've ever seen. We don't both refcounting this. | ||
// We expect to see only a few lengths here such as the length of token. | ||
const TaintRegistryByteLengths$1 = new Set(); // When a value is finalized, it means that it has been removed from any global caches. | ||
// No future requests can get a handle on it but any ongoing requests can still have | ||
// a handle on it. It's still tainted until that happens. | ||
const TaintRegistryPendingRequests$1 = new Set(); | ||
const ReactSharedInternals = { | ||
H: null, | ||
C: null | ||
}; | ||
{ | ||
ReactSharedInternals.TaintRegistryObjects = TaintRegistryObjects$1; | ||
ReactSharedInternals.TaintRegistryValues = TaintRegistryValues$1; | ||
ReactSharedInternals.TaintRegistryByteLengths = TaintRegistryByteLengths$1; | ||
ReactSharedInternals.TaintRegistryPendingRequests = TaintRegistryPendingRequests$1; | ||
} | ||
function createFetchCache() { | ||
@@ -58,3 +67,3 @@ return new Map(); | ||
const cachedFetch = function fetch(resource, options) { | ||
const dispatcher = ReactCurrentCache.current; | ||
const dispatcher = ReactSharedInternals.C; | ||
@@ -66,4 +75,4 @@ if (!dispatcher) { | ||
if (options && options.signal && options.signal !== dispatcher.getCacheSignal()) { | ||
// If we're passed a signal that is not ours, then we assume that | ||
if (options && options.signal) { | ||
// If we're passed a signal, then we assume that | ||
// someone else controls the lifetime of this object and opts out of | ||
@@ -158,49 +167,2 @@ // caching. It's effectively the opt-out mechanism. | ||
/** | ||
* Keeps track of the current dispatcher. | ||
*/ | ||
const ReactCurrentDispatcher = { | ||
current: null | ||
}; | ||
/** | ||
* Keeps track of the current owner. | ||
* | ||
* The current owner is the component who should own any components that are | ||
* currently being constructed. | ||
*/ | ||
const ReactCurrentOwner$1 = { | ||
/** | ||
* @internal | ||
* @type {ReactComponent} | ||
*/ | ||
current: null | ||
}; | ||
const ReactSharedInternals = { | ||
ReactCurrentDispatcher, | ||
ReactCurrentOwner: ReactCurrentOwner$1 | ||
}; | ||
const TaintRegistryObjects$1 = new WeakMap(); | ||
const TaintRegistryValues$1 = new Map(); // Byte lengths of all binary values we've ever seen. We don't both refcounting this. | ||
// We expect to see only a few lengths here such as the length of token. | ||
const TaintRegistryByteLengths$1 = new Set(); // When a value is finalized, it means that it has been removed from any global caches. | ||
// No future requests can get a handle on it but any ongoing requests can still have | ||
// a handle on it. It's still tainted until that happens. | ||
const TaintRegistryPendingRequests$1 = new Set(); | ||
const ReactServerSharedInternals = { | ||
ReactCurrentCache | ||
}; | ||
{ | ||
ReactServerSharedInternals.TaintRegistryObjects = TaintRegistryObjects$1; | ||
ReactServerSharedInternals.TaintRegistryValues = TaintRegistryValues$1; | ||
ReactServerSharedInternals.TaintRegistryByteLengths = TaintRegistryByteLengths$1; | ||
ReactServerSharedInternals.TaintRegistryPendingRequests = TaintRegistryPendingRequests$1; | ||
} | ||
// Do not require this module directly! Use normal `invariant` calls with | ||
@@ -263,4 +225,2 @@ // template literal strings. The messages will be replaced with error codes | ||
const ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; | ||
function hasValidRef(config) { | ||
@@ -315,4 +275,3 @@ | ||
{ | ||
// In prod, `ref` is a regular property. It will be removed in a | ||
// future release. | ||
// In prod, `ref` is a regular property and _owner doesn't exist. | ||
element = { | ||
@@ -325,5 +284,3 @@ // This tag allows us to uniquely identify this as a React Element | ||
ref, | ||
props, | ||
// Record the component responsible for creating this element. | ||
_owner: owner | ||
props | ||
}; | ||
@@ -362,3 +319,5 @@ } | ||
propName !== '__self' && propName !== '__source') { | ||
props[propName] = config[propName]; | ||
{ | ||
props[propName] = config[propName]; | ||
} | ||
} | ||
@@ -395,3 +354,3 @@ } | ||
const element = ReactElement(type, key, ref, undefined, undefined, ReactCurrentOwner.current, props); | ||
const element = ReactElement(type, key, ref, undefined, undefined, ReactSharedInternals.owner, props); | ||
@@ -403,3 +362,3 @@ return element; | ||
// exists to avoid the `ref` access warning. | ||
null , undefined, undefined, oldElement._owner, oldElement.props); | ||
null , undefined, undefined, undefined , oldElement.props); | ||
} | ||
@@ -423,8 +382,7 @@ /** | ||
let owner = element._owner; | ||
let owner = undefined ; | ||
if (config != null) { | ||
if (hasValidRef(config)) { | ||
owner = ReactCurrentOwner.current; | ||
owner = ReactSharedInternals.owner; | ||
} | ||
@@ -437,9 +395,2 @@ | ||
let defaultProps; | ||
if (element.type && element.type.defaultProps) { | ||
defaultProps = element.type.defaultProps; | ||
} | ||
for (propName in config) { | ||
@@ -457,7 +408,6 @@ if (hasOwnProperty.call(config, propName) && // Skip over reserved prop names | ||
!(propName === 'ref' && config.ref === undefined)) { | ||
if (config[propName] === undefined && defaultProps !== undefined) { | ||
// Resolve default props | ||
props[propName] = defaultProps[propName]; | ||
} else { | ||
props[propName] = config[propName]; | ||
{ | ||
{ | ||
props[propName] = config[propName]; | ||
} | ||
} | ||
@@ -628,5 +578,2 @@ } | ||
case 'bigint': | ||
// fallthrough for enabled BigInt support | ||
case 'string': | ||
@@ -836,3 +783,3 @@ case 'number': | ||
function resolveDispatcher() { | ||
const dispatcher = ReactCurrentDispatcher.current; | ||
const dispatcher = ReactSharedInternals.H; | ||
// intentionally don't throw our own error because this is in a hot path. | ||
@@ -845,22 +792,4 @@ // Also helps ensure this is inlined. | ||
function getCacheSignal() { | ||
const dispatcher = ReactCurrentCache.current; | ||
if (!dispatcher) { | ||
// If we have no cache to associate with this call, then we don't know | ||
// its lifetime. We abort early since that's safer than letting it live | ||
// for ever. Unlike just caching which can be a functional noop outside | ||
// of React, these should generally always be associated with some React | ||
// render but we're not limiting quite as much as making it a Hook. | ||
// It's safer than erroring early at runtime. | ||
const controller = new AbortController(); | ||
const reason = Error(formatProdErrorMessage(455)); | ||
controller.abort(reason); | ||
return controller.signal; | ||
} | ||
return dispatcher.getCacheSignal(); | ||
} | ||
function getCacheForType(resourceType) { | ||
const dispatcher = ReactCurrentCache.current; | ||
const dispatcher = ReactSharedInternals.C; | ||
@@ -892,3 +821,10 @@ if (!dispatcher) { | ||
} | ||
function useActionState(action, initialState, permalink) { | ||
{ | ||
const dispatcher = resolveDispatcher(); // $FlowFixMe[not-a-function] This is unstable, thus optional | ||
return dispatcher.useActionState(action, initialState, permalink); | ||
} | ||
} | ||
function forwardRef(render) { | ||
@@ -1001,3 +937,3 @@ | ||
return function () { | ||
const dispatcher = ReactCurrentCache.current; | ||
const dispatcher = ReactSharedInternals.C; | ||
@@ -1084,12 +1020,34 @@ if (!dispatcher) { | ||
/** | ||
* Keeps track of the current batch's configuration such as how long an update | ||
* should suspend for if it needs to. | ||
*/ | ||
const ReactCurrentBatchConfig = { | ||
transition: null | ||
const reportGlobalError = typeof reportError === 'function' ? // In modern browsers, reportError will dispatch an error event, | ||
// emulating an uncaught JavaScript error. | ||
reportError : error => { | ||
if (typeof window === 'object' && typeof window.ErrorEvent === 'function') { | ||
// Browser Polyfill | ||
const message = typeof error === 'object' && error !== null && typeof error.message === 'string' ? // eslint-disable-next-line react-internal/safe-string-coercion | ||
String(error.message) : // eslint-disable-next-line react-internal/safe-string-coercion | ||
String(error); | ||
const event = new window.ErrorEvent('error', { | ||
bubbles: true, | ||
cancelable: true, | ||
message: message, | ||
error: error | ||
}); | ||
const shouldLog = window.dispatchEvent(event); | ||
if (!shouldLog) { | ||
return; | ||
} | ||
} else if (typeof process === 'object' && // $FlowFixMe[method-unbinding] | ||
typeof process.emit === 'function') { | ||
// Node Polyfill | ||
process.emit('uncaughtException', error); | ||
return; | ||
} // eslint-disable-next-line react-internal/no-production-logging | ||
console['error'](error); | ||
}; | ||
function startTransition(scope, options) { | ||
const prevTransition = ReactCurrentBatchConfig.transition; // Each renderer registers a callback to receive the return value of | ||
const prevTransition = ReactSharedInternals.T; // Each renderer registers a callback to receive the return value of | ||
// the scope function. This is used to implement async actions. | ||
@@ -1101,4 +1059,4 @@ | ||
}; | ||
ReactCurrentBatchConfig.transition = transition; | ||
const currentTransition = ReactCurrentBatchConfig.transition; | ||
ReactSharedInternals.T = transition; | ||
const currentTransition = ReactSharedInternals.T; | ||
@@ -1111,8 +1069,8 @@ { | ||
callbacks.forEach(callback => callback(currentTransition, returnValue)); | ||
returnValue.then(noop, onError); | ||
returnValue.then(noop, reportGlobalError); | ||
} | ||
} catch (error) { | ||
onError(error); | ||
reportGlobalError(error); | ||
} finally { | ||
ReactCurrentBatchConfig.transition = prevTransition; | ||
ReactSharedInternals.T = prevTransition; | ||
} | ||
@@ -1122,14 +1080,4 @@ } | ||
function noop() {} // Use reportError, if it exists. Otherwise console.error. This is the same as | ||
// the default for onRecoverableError. | ||
function noop() {} | ||
const onError = typeof reportError === 'function' ? // In modern browsers, reportError will dispatch an error event, | ||
// emulating an uncaught JavaScript error. | ||
reportError : error => { | ||
// In older browsers and test environments, fallback to console.error. | ||
// eslint-disable-next-line react-internal/no-production-logging | ||
console['error'](error); | ||
}; | ||
function postpone(reason) { | ||
@@ -1142,3 +1090,3 @@ // eslint-disable-next-line react-internal/prod-error-codes | ||
var ReactVersion = '18.3.0-experimental-966d17483-20240305'; | ||
var ReactVersion = '19.0.0-experimental-96c584661-20240412'; | ||
@@ -1153,6 +1101,6 @@ const getPrototypeOf = Object.getPrototypeOf; | ||
const TaintRegistryObjects = ReactServerSharedInternals.TaintRegistryObjects, | ||
TaintRegistryValues = ReactServerSharedInternals.TaintRegistryValues, | ||
TaintRegistryByteLengths = ReactServerSharedInternals.TaintRegistryByteLengths, | ||
TaintRegistryPendingRequests = ReactServerSharedInternals.TaintRegistryPendingRequests; // This is the shared constructor of all typed arrays. | ||
const TaintRegistryObjects = ReactSharedInternals.TaintRegistryObjects, | ||
TaintRegistryValues = ReactSharedInternals.TaintRegistryValues, | ||
TaintRegistryByteLengths = ReactSharedInternals.TaintRegistryByteLengths, | ||
TaintRegistryPendingRequests = ReactSharedInternals.TaintRegistryPendingRequests; // This is the shared constructor of all typed arrays. | ||
@@ -1258,4 +1206,3 @@ const TypedArrayConstructor = getPrototypeOf(Uint32Array.prototype).constructor; | ||
exports.Suspense = REACT_SUSPENSE_TYPE; | ||
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals; | ||
exports.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactServerSharedInternals; | ||
exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals; | ||
exports.cache = cache; | ||
@@ -1275,5 +1222,5 @@ exports.cloneElement = cloneElement; | ||
exports.unstable_getCacheForType = getCacheForType; | ||
exports.unstable_getCacheSignal = getCacheSignal; | ||
exports.unstable_postpone = postpone; | ||
exports.use = use; | ||
exports.useActionState = useActionState; | ||
exports.useCallback = useCallback; | ||
@@ -1280,0 +1227,0 @@ exports.useDebugValue = useDebugValue; |
@@ -10,27 +10,26 @@ /* | ||
*/ | ||
'use strict';var l=Object.assign,m={current:null};function n(){return new Map} | ||
if("function"===typeof fetch){var p=fetch,q=function(a,b){var c=m.current;if(!c||b&&b.signal&&b.signal!==c.getCacheSignal())return p(a,b);if("string"!==typeof a||b){var d="string"===typeof a||a instanceof URL?new Request(a,b):a;if("GET"!==d.method&&"HEAD"!==d.method||d.keepalive)return p(a,b);var e=JSON.stringify([d.method,Array.from(d.headers.entries()),d.mode,d.redirect,d.credentials,d.referrer,d.referrerPolicy,d.integrity]);d=d.url}else e='["GET",[],null,"follow",null,null,null,null]',d=a;var g= | ||
c.getCacheForType(n);c=g.get(d);if(void 0===c)a=p(a,b),g.set(d,[e,a]);else{d=0;for(g=c.length;d<g;d+=2){var f=c[d+1];if(c[d]===e)return a=f,a.then(function(h){return h.clone()})}a=p(a,b);c.push(e,a)}return a.then(function(h){return h.clone()})};l(q,p);try{fetch=q}catch(a){try{globalThis.fetch=q}catch(b){console.warn("React was unable to patch the fetch() function in this environment. Suspensey APIs might not work correctly as a result.")}}} | ||
var r={current:null},t={ReactCurrentDispatcher:r,ReactCurrentOwner:{current:null}},u=new WeakMap,v=new Map,w=new Set,x=new Set,y={ReactCurrentCache:m,TaintRegistryObjects:u,TaintRegistryValues:v,TaintRegistryByteLengths:w,TaintRegistryPendingRequests:x}; | ||
function z(a){var b="https://react.dev/errors/"+a;if(1<arguments.length){b+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} | ||
var A=Array.isArray,B=Symbol.for("react.element"),C=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),G=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),I=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),K=Symbol.for("react.debug_trace_mode"),aa=Symbol.for("react.postpone"),L=Symbol.iterator; | ||
function ba(a){if(null===a||"object"!==typeof a)return null;a=L&&a[L]||a["@@iterator"];return"function"===typeof a?a:null}var M=Object.prototype.hasOwnProperty,N=t.ReactCurrentOwner;function O(a,b,c,d,e,g,f){c=f.ref;return{$$typeof:B,type:a,key:b,ref:void 0!==c?c:null,props:f,_owner:g}}function ca(a,b){return O(a.type,b,null,void 0,void 0,a._owner,a.props)}function P(a){return"object"===typeof a&&null!==a&&a.$$typeof===B} | ||
function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}var Q=/\/+/g;function R(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}function S(){} | ||
function da(a){switch(a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;default:switch("string"===typeof a.status?a.then(S,S):(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)})),a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;}}throw a;} | ||
function T(a,b,c,d,e){var g=typeof a;if("undefined"===g||"boolean"===g)a=null;var f=!1;if(null===a)f=!0;else switch(g){case "bigint":case "string":case "number":f=!0;break;case "object":switch(a.$$typeof){case B:case C:f=!0;break;case J:return f=a._init,T(f(a._payload),b,c,d,e)}}if(f)return e=e(a),f=""===d?"."+R(a,0):d,A(e)?(c="",null!=f&&(c=f.replace(Q,"$&/")+"/"),T(e,b,c,"",function(ea){return ea})):null!=e&&(P(e)&&(e=ca(e,c+(!e.key||a&&a.key===e.key?"":(""+e.key).replace(Q,"$&/")+"/")+f)),b.push(e)), | ||
1;f=0;var h=""===d?".":d+":";if(A(a))for(var k=0;k<a.length;k++)d=a[k],g=h+R(d,k),f+=T(d,b,c,g,e);else if(k=ba(a),"function"===typeof k)for(a=k.call(a),k=0;!(d=a.next()).done;)d=d.value,g=h+R(d,k++),f+=T(d,b,c,g,e);else if("object"===g){if("function"===typeof a.then)return T(da(a),b,c,d,e);b=String(a);throw Error(z(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));}return f} | ||
function U(a,b,c){if(null==a)return a;var d=[],e=0;T(a,d,"","",function(g){return b.call(c,g,e++)});return d}function fa(a){if(-1===a._status){var b=a._result;b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function ha(){return new WeakMap}function V(){return{s:0,v:void 0,o:null,p:null}} | ||
var W={transition:null};function ia(){}var X="function"===typeof reportError?reportError:function(a){console.error(a)},ja=Object.getPrototypeOf,ka=y.TaintRegistryObjects,Y=y.TaintRegistryValues,la=y.TaintRegistryByteLengths,ma=y.TaintRegistryPendingRequests,na=ja(Uint32Array.prototype).constructor;function oa(a){var b=Y.get(a);void 0!==b&&(ma.forEach(function(c){c.push(a);b.count++}),1===b.count?Y.delete(a):b.count--)}var Z="function"===typeof FinalizationRegistry?new FinalizationRegistry(oa):null; | ||
exports.Children={map:U,forEach:function(a,b,c){U(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;U(a,function(){b++});return b},toArray:function(a){return U(a,function(b){return b})||[]},only:function(a){if(!P(a))throw Error(z(143));return a}};exports.Fragment=D;exports.Profiler=F;exports.StrictMode=E;exports.Suspense=H;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=t;exports.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=y; | ||
exports.cache=function(a){return function(){var b=m.current;if(!b)return a.apply(null,arguments);var c=b.getCacheForType(ha);b=c.get(a);void 0===b&&(b=V(),c.set(a,b));c=0;for(var d=arguments.length;c<d;c++){var e=arguments[c];if("function"===typeof e||"object"===typeof e&&null!==e){var g=b.o;null===g&&(b.o=g=new WeakMap);b=g.get(e);void 0===b&&(b=V(),g.set(e,b))}else g=b.p,null===g&&(b.p=g=new Map),b=g.get(e),void 0===b&&(b=V(),g.set(e,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var f=a.apply(null, | ||
arguments);c=b;c.s=1;return c.v=f}catch(h){throw f=b,f.s=2,f.v=h,h;}}}; | ||
exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(z(267,a));var d=l({},a.props),e=a.key,g=a._owner;if(null!=b){void 0!==b.ref&&(g=N.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(h in b)!M.call(b,h)||"key"===h||"__self"===h||"__source"===h||"ref"===h&&void 0===b.ref||(d[h]=void 0===b[h]&&void 0!==f?f[h]:b[h])}var h=arguments.length-2;if(1===h)d.children=c;else if(1<h){f=Array(h);for(var k=0;k<h;k++)f[k]=arguments[k+2];d.children= | ||
f}return O(a.type,e,null,void 0,void 0,g,d)};exports.createElement=function(a,b,c){var d,e={},g=null;if(null!=b)for(d in void 0!==b.key&&(g=""+b.key),b)M.call(b,d)&&"key"!==d&&"__self"!==d&&"__source"!==d&&(e[d]=b[d]);var f=arguments.length-2;if(1===f)e.children=c;else if(1<f){for(var h=Array(f),k=0;k<f;k++)h[k]=arguments[k+2];e.children=h}if(a&&a.defaultProps)for(d in f=a.defaultProps,f)void 0===e[d]&&(e[d]=f[d]);return O(a,g,null,void 0,void 0,N.current,e)};exports.createRef=function(){return{current:null}}; | ||
exports.experimental_taintObjectReference=function(a,b){a=""+(a||"A tainted value was attempted to be serialized to a Client Component or Action closure. This would leak it to the client.");if("string"===typeof b||"bigint"===typeof b)throw Error(z(496));if(null===b||"object"!==typeof b&&"function"!==typeof b)throw Error(z(497));ka.set(b,a)}; | ||
exports.experimental_taintUniqueValue=function(a,b,c){a=""+(a||"A tainted value was attempted to be serialized to a Client Component or Action closure. This would leak it to the client.");if(null===b||"object"!==typeof b&&"function"!==typeof b)throw Error(z(493));if("string"!==typeof c&&"bigint"!==typeof c)if(c instanceof na||c instanceof DataView)la.add(c.byteLength),c=String.fromCharCode.apply(String,new Uint8Array(c.buffer,c.byteOffset,c.byteLength));else{a=null===c?"null":typeof c;if("object"=== | ||
a||"function"===a)throw Error(z(494));throw Error(z(495,a));}var d=Y.get(c);void 0===d?Y.set(c,{message:a,count:1}):d.count++;null!==Z&&Z.register(b,c)};exports.forwardRef=function(a){return{$$typeof:G,render:a}};exports.isValidElement=P;exports.lazy=function(a){return{$$typeof:J,_payload:{_status:-1,_result:a},_init:fa}};exports.memo=function(a,b){return{$$typeof:I,type:a,compare:void 0===b?null:b}}; | ||
exports.startTransition=function(a){var b=W.transition,c=new Set;W.transition={_callbacks:c};var d=W.transition;try{var e=a();"object"===typeof e&&null!==e&&"function"===typeof e.then&&(c.forEach(function(g){return g(d,e)}),e.then(ia,X))}catch(g){X(g)}finally{W.transition=b}};exports.unstable_DebugTracingMode=K;exports.unstable_SuspenseList=H;exports.unstable_getCacheForType=function(a){var b=m.current;return b?b.getCacheForType(a):a()}; | ||
exports.unstable_getCacheSignal=function(){var a=m.current;if(!a){a=new AbortController;var b=Error(z(455));a.abort(b);return a.signal}return a.getCacheSignal()};exports.unstable_postpone=function(a){a=Error(a);a.$$typeof=aa;throw a;};exports.use=function(a){return r.current.use(a)};exports.useCallback=function(a,b){return r.current.useCallback(a,b)};exports.useDebugValue=function(){};exports.useId=function(){return r.current.useId()};exports.useMemo=function(a,b){return r.current.useMemo(a,b)}; | ||
exports.version="18.3.0-experimental-966d17483-20240305"; | ||
'use strict';var h=Object.assign,m=new WeakMap,n=new Map,p=new Set,q=new Set,r={H:null,C:null,TaintRegistryObjects:m,TaintRegistryValues:n,TaintRegistryByteLengths:p,TaintRegistryPendingRequests:q};function t(){return new Map} | ||
if("function"===typeof fetch){var u=fetch,v=function(a,b){var c=r.C;if(!c||b&&b.signal)return u(a,b);if("string"!==typeof a||b){var d="string"===typeof a||a instanceof URL?new Request(a,b):a;if("GET"!==d.method&&"HEAD"!==d.method||d.keepalive)return u(a,b);var e=JSON.stringify([d.method,Array.from(d.headers.entries()),d.mode,d.redirect,d.credentials,d.referrer,d.referrerPolicy,d.integrity]);d=d.url}else e='["GET",[],null,"follow",null,null,null,null]',d=a;var g=c.getCacheForType(t);c=g.get(d);if(void 0=== | ||
c)a=u(a,b),g.set(d,[e,a]);else{d=0;for(g=c.length;d<g;d+=2){var f=c[d+1];if(c[d]===e)return a=f,a.then(function(l){return l.clone()})}a=u(a,b);c.push(e,a)}return a.then(function(l){return l.clone()})};h(v,u);try{fetch=v}catch(a){try{globalThis.fetch=v}catch(b){console.warn("React was unable to patch the fetch() function in this environment. Suspensey APIs might not work correctly as a result.")}}} | ||
function w(a){var b="https://react.dev/errors/"+a;if(1<arguments.length){b+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."} | ||
var x=Array.isArray,y=Symbol.for("react.element"),z=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),D=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),F=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),H=Symbol.for("react.debug_trace_mode"),I=Symbol.for("react.postpone"),J=Symbol.iterator; | ||
function K(a){if(null===a||"object"!==typeof a)return null;a=J&&a[J]||a["@@iterator"];return"function"===typeof a?a:null}var L=Object.prototype.hasOwnProperty;function M(a,b,c,d,e,g,f){c=f.ref;return{$$typeof:y,type:a,key:b,ref:void 0!==c?c:null,props:f}}function N(a,b){return M(a.type,b,null,void 0,void 0,void 0,a.props)}function O(a){return"object"===typeof a&&null!==a&&a.$$typeof===y}function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}var P=/\/+/g; | ||
function Q(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}function R(){} | ||
function S(a){switch(a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;default:switch("string"===typeof a.status?a.then(R,R):(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)})),a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;}}throw a;} | ||
function T(a,b,c,d,e){var g=typeof a;if("undefined"===g||"boolean"===g)a=null;var f=!1;if(null===a)f=!0;else switch(g){case "bigint":case "string":case "number":f=!0;break;case "object":switch(a.$$typeof){case y:case z:f=!0;break;case G:return f=a._init,T(f(a._payload),b,c,d,e)}}if(f)return e=e(a),f=""===d?"."+Q(a,0):d,x(e)?(c="",null!=f&&(c=f.replace(P,"$&/")+"/"),T(e,b,c,"",function(Z){return Z})):null!=e&&(O(e)&&(e=N(e,c+(!e.key||a&&a.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+f)),b.push(e)), | ||
1;f=0;var l=""===d?".":d+":";if(x(a))for(var k=0;k<a.length;k++)d=a[k],g=l+Q(d,k),f+=T(d,b,c,g,e);else if(k=K(a),"function"===typeof k)for(a=k.call(a),k=0;!(d=a.next()).done;)d=d.value,g=l+Q(d,k++),f+=T(d,b,c,g,e);else if("object"===g){if("function"===typeof a.then)return T(S(a),b,c,d,e);b=String(a);throw Error(w(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));}return f} | ||
function U(a,b,c){if(null==a)return a;var d=[],e=0;T(a,d,"","",function(g){return b.call(c,g,e++)});return d}function aa(a){if(-1===a._status){var b=a._result;b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function ba(){return new WeakMap}function V(){return{s:0,v:void 0,o:null,p:null}} | ||
var W="function"===typeof reportError?reportError:function(a){if("object"===typeof window&&"function"===typeof window.ErrorEvent){var b=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"===typeof a&&null!==a&&"string"===typeof a.message?String(a.message):String(a),error:a});if(!window.dispatchEvent(b))return}else if("object"===typeof process&&"function"===typeof process.emit){process.emit("uncaughtException",a);return}console.error(a)};function ca(){} | ||
var da=Object.getPrototypeOf,ea=r.TaintRegistryObjects,X=r.TaintRegistryValues,fa=r.TaintRegistryByteLengths,ha=r.TaintRegistryPendingRequests,ia=da(Uint32Array.prototype).constructor;function ja(a){var b=X.get(a);void 0!==b&&(ha.forEach(function(c){c.push(a);b.count++}),1===b.count?X.delete(a):b.count--)}var Y="function"===typeof FinalizationRegistry?new FinalizationRegistry(ja):null; | ||
exports.Children={map:U,forEach:function(a,b,c){U(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;U(a,function(){b++});return b},toArray:function(a){return U(a,function(b){return b})||[]},only:function(a){if(!O(a))throw Error(w(143));return a}};exports.Fragment=A;exports.Profiler=C;exports.StrictMode=B;exports.Suspense=E;exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r; | ||
exports.cache=function(a){return function(){var b=r.C;if(!b)return a.apply(null,arguments);var c=b.getCacheForType(ba);b=c.get(a);void 0===b&&(b=V(),c.set(a,b));c=0;for(var d=arguments.length;c<d;c++){var e=arguments[c];if("function"===typeof e||"object"===typeof e&&null!==e){var g=b.o;null===g&&(b.o=g=new WeakMap);b=g.get(e);void 0===b&&(b=V(),g.set(e,b))}else g=b.p,null===g&&(b.p=g=new Map),b=g.get(e),void 0===b&&(b=V(),g.set(e,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var f=a.apply(null, | ||
arguments);c=b;c.s=1;return c.v=f}catch(l){throw f=b,f.s=2,f.v=l,l;}}}; | ||
exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(w(267,a));var d=h({},a.props),e=a.key,g=void 0;if(null!=b)for(f in void 0!==b.ref&&(g=r.owner),void 0!==b.key&&(e=""+b.key),b)!L.call(b,f)||"key"===f||"__self"===f||"__source"===f||"ref"===f&&void 0===b.ref||(d[f]=b[f]);var f=arguments.length-2;if(1===f)d.children=c;else if(1<f){for(var l=Array(f),k=0;k<f;k++)l[k]=arguments[k+2];d.children=l}return M(a.type,e,null,void 0,void 0,g,d)}; | ||
exports.createElement=function(a,b,c){var d,e={},g=null;if(null!=b)for(d in void 0!==b.key&&(g=""+b.key),b)L.call(b,d)&&"key"!==d&&"__self"!==d&&"__source"!==d&&(e[d]=b[d]);var f=arguments.length-2;if(1===f)e.children=c;else if(1<f){for(var l=Array(f),k=0;k<f;k++)l[k]=arguments[k+2];e.children=l}if(a&&a.defaultProps)for(d in f=a.defaultProps,f)void 0===e[d]&&(e[d]=f[d]);return M(a,g,null,void 0,void 0,r.owner,e)};exports.createRef=function(){return{current:null}}; | ||
exports.experimental_taintObjectReference=function(a,b){a=""+(a||"A tainted value was attempted to be serialized to a Client Component or Action closure. This would leak it to the client.");if("string"===typeof b||"bigint"===typeof b)throw Error(w(496));if(null===b||"object"!==typeof b&&"function"!==typeof b)throw Error(w(497));ea.set(b,a)}; | ||
exports.experimental_taintUniqueValue=function(a,b,c){a=""+(a||"A tainted value was attempted to be serialized to a Client Component or Action closure. This would leak it to the client.");if(null===b||"object"!==typeof b&&"function"!==typeof b)throw Error(w(493));if("string"!==typeof c&&"bigint"!==typeof c)if(c instanceof ia||c instanceof DataView)fa.add(c.byteLength),c=String.fromCharCode.apply(String,new Uint8Array(c.buffer,c.byteOffset,c.byteLength));else{a=null===c?"null":typeof c;if("object"=== | ||
a||"function"===a)throw Error(w(494));throw Error(w(495,a));}var d=X.get(c);void 0===d?X.set(c,{message:a,count:1}):d.count++;null!==Y&&Y.register(b,c)};exports.forwardRef=function(a){return{$$typeof:D,render:a}};exports.isValidElement=O;exports.lazy=function(a){return{$$typeof:G,_payload:{_status:-1,_result:a},_init:aa}};exports.memo=function(a,b){return{$$typeof:F,type:a,compare:void 0===b?null:b}}; | ||
exports.startTransition=function(a){var b=r.T,c=new Set;r.T={_callbacks:c};var d=r.T;try{var e=a();"object"===typeof e&&null!==e&&"function"===typeof e.then&&(c.forEach(function(g){return g(d,e)}),e.then(ca,W))}catch(g){W(g)}finally{r.T=b}};exports.unstable_DebugTracingMode=H;exports.unstable_SuspenseList=E;exports.unstable_getCacheForType=function(a){var b=r.C;return b?b.getCacheForType(a):a()};exports.unstable_postpone=function(a){a=Error(a);a.$$typeof=I;throw a;};exports.use=function(a){return r.H.use(a)}; | ||
exports.useActionState=function(a,b,c){return r.H.useActionState(a,b,c)};exports.useCallback=function(a,b){return r.H.useCallback(a,b)};exports.useDebugValue=function(){};exports.useId=function(){return r.H.useId()};exports.useMemo=function(a,b){return r.H.useMemo(a,b)};exports.version="19.0.0-experimental-96c584661-20240412"; | ||
//# sourceMappingURL=react.react-server.production.min.js.map |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "0.0.0-experimental-966d17483-20240305", | ||
"version": "0.0.0-experimental-96c584661-20240412", | ||
"homepage": "https://react.dev/", | ||
@@ -10,0 +10,0 @@ "bugs": "https://github.com/facebook/react/issues", |
@@ -11,26 +11,25 @@ /** | ||
'use strict';(function(){(function(f,A){"object"===typeof exports&&"undefined"!==typeof module?A(exports):"function"===typeof define&&define.amd?define(["exports"],A):(f="undefined"!==typeof globalThis?globalThis:f||self,A(f.React={}))})(this,function(f){function A(a){if(null===a||"object"!==typeof a)return null;a=X&&a[X]||a["@@iterator"];return"function"===typeof a?a:null}function x(a,b,c){this.props=a;this.context=b;this.refs=Y;this.updater=c||Z}function aa(){}function M(a,b,c){this.props=a;this.context= | ||
b;this.refs=Y;this.updater=c||Z}function N(a,b,c,d,e,h,g){c=g.ref;return{$$typeof:O,type:a,key:b,ref:void 0!==c?c:null,props:g,_owner:h}}function ba(a,b,c){var d,e={},h=null;if(null!=b)for(d in void 0!==b.key&&(h=""+b.key),b)ca.call(b,d)&&"key"!==d&&"__self"!==d&&"__source"!==d&&(e[d]=b[d]);var g=arguments.length-2;if(1===g)e.children=c;else if(1<g){for(var k=Array(g),l=0;l<g;l++)k[l]=arguments[l+2];e.children=k}if(a&&a.defaultProps)for(d in g=a.defaultProps,g)void 0===e[d]&&(e[d]=g[d]);return N(a, | ||
h,null,void 0,void 0,da.current,e)}function ua(a,b){return N(a.type,b,null,void 0,void 0,a._owner,a.props)}function P(a){return"object"===typeof a&&null!==a&&a.$$typeof===O}function va(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}function Q(a,b){return"object"===typeof a&&null!==a&&null!=a.key?va(""+a.key):b.toString(36)}function ea(){}function wa(a){switch(a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;default:switch("string"===typeof a.status? | ||
a.then(ea,ea):(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)})),a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;}}throw a;}function y(a,b,c,d,e){var h=typeof a;if("undefined"===h||"boolean"===h)a=null;var g=!1;if(null===a)g=!0;else switch(h){case "bigint":case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case O:case xa:g=!0;break;case fa:return g= | ||
a._init,y(g(a._payload),b,c,d,e)}}if(g)return e=e(a),g=""===d?"."+Q(a,0):d,ha(e)?(c="",null!=g&&(c=g.replace(ia,"$&/")+"/"),y(e,b,c,"",function(z){return z})):null!=e&&(P(e)&&(e=ua(e,c+(!e.key||a&&a.key===e.key?"":(""+e.key).replace(ia,"$&/")+"/")+g)),b.push(e)),1;g=0;var k=""===d?".":d+":";if(ha(a))for(var l=0;l<a.length;l++)d=a[l],h=k+Q(d,l),g+=y(d,b,c,h,e);else if(l=A(a),"function"===typeof l)for(a=l.call(a),l=0;!(d=a.next()).done;)d=d.value,h=k+Q(d,l++),g+=y(d,b,c,h,e);else if("object"===h){if("function"=== | ||
typeof a.then)return y(wa(a),b,c,d,e);b=String(a);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");}return g}function E(a,b,c){if(null==a)return a;var d=[],e=0;y(a,d,"","",function(h){return b.call(c,h,e++)});return d}function ya(a){if(-1===a._status){var b=a._result;b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status= | ||
1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function za(){return new WeakMap}function R(){return{s:0,v:void 0,o:null,p:null}}function ja(a,b){return m.current.useOptimistic(a,b)}function S(a,b){var c=a.length;a.push(b);a:for(;0<c;){var d=c-1>>>1,e=a[d];if(0<F(e,b))a[d]=b,a[c]=e,c=d;else break a}}function q(a){return 0===a.length?null:a[0]}function G(a){if(0=== | ||
a.length)return null;var b=a[0],c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length,h=e>>>1;d<h;){var g=2*(d+1)-1,k=a[g],l=g+1,z=a[l];if(0>F(k,c))l<e&&0>F(z,k)?(a[d]=z,a[l]=c,d=l):(a[d]=k,a[g]=c,d=g);else if(l<e&&0>F(z,c))a[d]=z,a[l]=c,d=l;else break a}}return b}function F(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function H(a){for(var b=q(t);null!==b;){if(null===b.callback)G(t);else if(b.startTime<=a)G(t),b.sortIndex=b.expirationTime,S(r,b);else break;b=q(t)}}function T(a){B=!1; | ||
H(a);if(!v)if(null!==q(r))v=!0,U();else{var b=q(t);null!==b&&V(T,b.startTime-a)}}function ka(){return w()-la<ma?!1:!0}function U(){I||(I=!0,J())}function V(a,b){C=na(function(){a(w())},b)}function Aa(){}var O=Symbol.for("react.element"),xa=Symbol.for("react.portal"),Ba=Symbol.for("react.fragment"),Ca=Symbol.for("react.strict_mode"),Da=Symbol.for("react.profiler"),Ea=Symbol.for("react.provider"),Fa=Symbol.for("react.context"),Ga=Symbol.for("react.forward_ref"),Ha=Symbol.for("react.suspense"),Ia=Symbol.for("react.suspense_list"), | ||
Ja=Symbol.for("react.memo"),fa=Symbol.for("react.lazy"),Ka=Symbol.for("react.debug_trace_mode"),La=Symbol.for("react.offscreen"),Ma=Symbol.for("react.cache"),Na=Symbol.for("react.postpone"),X=Symbol.iterator,Z={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},oa=Object.assign,Y={};x.prototype.isReactComponent={};x.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("takes an object of state variables to update or a function which returns an object of state variables."); | ||
this.updater.enqueueSetState(this,a,b,"setState")};x.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};aa.prototype=x.prototype;var u=M.prototype=new aa;u.constructor=M;oa(u,x.prototype);u.isPureReactComponent=!0;var ha=Array.isArray,m={current:null},K={current:null},D={transition:null};u={current:null};var ca=Object.prototype.hasOwnProperty,da=u,ia=/\/+/g;if("object"===typeof performance&&"function"===typeof performance.now){var Oa=performance;var w=function(){return Oa.now()}}else{var pa= | ||
Date,Pa=pa.now();w=function(){return pa.now()-Pa}}var r=[],t=[],Qa=1,p=null,n=3,L=!1,v=!1,B=!1,na="function"===typeof setTimeout?setTimeout:null,qa="function"===typeof clearTimeout?clearTimeout:null,ra="undefined"!==typeof setImmediate?setImmediate:null,I=!1,C=-1,ma=5,la=-1,W=function(){if(I){var a=w();la=a;var b=!0;try{a:{v=!1;B&&(B=!1,qa(C),C=-1);L=!0;var c=n;try{b:{H(a);for(p=q(r);null!==p&&!(p.expirationTime>a&&ka());){var d=p.callback;if("function"===typeof d){p.callback=null;n=p.priorityLevel; | ||
var e=d(p.expirationTime<=a);a=w();if("function"===typeof e){p.callback=e;H(a);b=!0;break b}p===q(r)&&G(r);H(a)}else G(r);p=q(r)}if(null!==p)b=!0;else{var h=q(t);null!==h&&V(T,h.startTime-a);b=!1}}break a}finally{p=null,n=c,L=!1}b=void 0}}finally{b?J():I=!1}}};if("function"===typeof ra)var J=function(){ra(W)};else if("undefined"!==typeof MessageChannel){var sa=new MessageChannel,Ra=sa.port2;sa.port1.onmessage=W;J=function(){Ra.postMessage(null)}}else J=function(){na(W,0)};u={ReactCurrentDispatcher:m, | ||
ReactCurrentCache:K,ReactCurrentOwner:u,ReactCurrentBatchConfig:D,Scheduler:{__proto__:null,unstable_IdlePriority:5,unstable_ImmediatePriority:1,unstable_LowPriority:4,unstable_NormalPriority:3,unstable_Profiling:null,unstable_UserBlockingPriority:2,unstable_cancelCallback:function(a){a.callback=null},unstable_continueExecution:function(){v||L||(v=!0,U())},unstable_forceFrameRate:function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"): | ||
ma=0<a?Math.floor(1E3/a):5},unstable_getCurrentPriorityLevel:function(){return n},unstable_getFirstCallbackNode:function(){return q(r)},unstable_next:function(a){switch(n){case 1:case 2:case 3:var b=3;break;default:b=n}var c=n;n=b;try{return a()}finally{n=c}},get unstable_now(){return w},unstable_pauseExecution:function(){},unstable_requestPaint:function(){},unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=n;n=a;try{return b()}finally{n=c}}, | ||
unstable_scheduleCallback:function(a,b,c){var d=w();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:Qa++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,S(t,a),null===q(r)&&a===q(t)&&(B?(qa(C),C=-1):B=!0,V(T,c-d))):(a.sortIndex=e,S(r,a),v||L||(v=!0,U()));return a},unstable_shouldYield:ka,unstable_wrapCallback:function(a){var b= | ||
n;return function(){var c=n;n=b;try{return a.apply(this,arguments)}finally{n=c}}}}};var ta="function"===typeof reportError?reportError:function(a){console.error(a)};f.Children={map:E,forEach:function(a,b,c){E(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;E(a,function(){b++});return b},toArray:function(a){return E(a,function(b){return b})||[]},only:function(a){if(!P(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};f.Component= | ||
x;f.Fragment=Ba;f.Profiler=Da;f.PureComponent=M;f.StrictMode=Ca;f.Suspense=Ha;f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=u;f.act=function(a){throw Error("act(...) is not supported in production builds of React.");};f.cache=function(a){return function(){var b=K.current;if(!b)return a.apply(null,arguments);var c=b.getCacheForType(za);b=c.get(a);void 0===b&&(b=R(),c.set(a,b));c=0;for(var d=arguments.length;c<d;c++){var e=arguments[c];if("function"===typeof e||"object"===typeof e&&null!==e){var h= | ||
b.o;null===h&&(b.o=h=new WeakMap);b=h.get(e);void 0===b&&(b=R(),h.set(e,b))}else h=b.p,null===h&&(b.p=h=new Map),b=h.get(e),void 0===b&&(b=R(),h.set(e,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var g=a.apply(null,arguments);c=b;c.s=1;return c.v=g}catch(k){throw g=b,g.s=2,g.v=k,k;}}};f.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("The argument must be a React element, but you passed "+a+".");var d=oa({},a.props),e=a.key,h=a._owner;if(null!=b){void 0!==b.ref&&(h=da.current); | ||
void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(k in b)!ca.call(b,k)||"key"===k||"__self"===k||"__source"===k||"ref"===k&&void 0===b.ref||(d[k]=void 0===b[k]&&void 0!==g?g[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){g=Array(k);for(var l=0;l<k;l++)g[l]=arguments[l+2];d.children=g}return N(a.type,e,null,void 0,void 0,h,d)};f.createContext=function(a){a={$$typeof:Fa,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null}; | ||
a.Provider={$$typeof:Ea,_context:a};return a.Consumer=a};f.createElement=ba;f.createFactory=function(a){var b=ba.bind(null,a);b.type=a;return b};f.createRef=function(){return{current:null}};f.experimental_useEffectEvent=function(a){return m.current.useEffectEvent(a)};f.experimental_useOptimistic=function(a,b){return ja(a,b)};f.forwardRef=function(a){return{$$typeof:Ga,render:a}};f.isValidElement=P;f.lazy=function(a){return{$$typeof:fa,_payload:{_status:-1,_result:a},_init:ya}};f.memo=function(a,b){return{$$typeof:Ja, | ||
type:a,compare:void 0===b?null:b}};f.startTransition=function(a,b){b=D.transition;var c=new Set;D.transition={_callbacks:c};var d=D.transition;try{var e=a();"object"===typeof e&&null!==e&&"function"===typeof e.then&&(c.forEach(function(h){return h(d,e)}),e.then(Aa,ta))}catch(h){ta(h)}finally{D.transition=b}};f.unstable_Activity=La;f.unstable_Cache=Ma;f.unstable_DebugTracingMode=Ka;f.unstable_SuspenseList=Ia;f.unstable_getCacheForType=function(a){var b=K.current;return b?b.getCacheForType(a):a()}; | ||
f.unstable_getCacheSignal=function(){var a=K.current;return a?a.getCacheSignal():(a=new AbortController,a.abort(Error("This CacheSignal was requested outside React which means that it is immediately aborted.")),a.signal)};f.unstable_postpone=function(a){a=Error(a);a.$$typeof=Na;throw a;};f.unstable_useCacheRefresh=function(){return m.current.useCacheRefresh()};f.unstable_useMemoCache=function(a){return m.current.useMemoCache(a)};f.use=function(a){return m.current.use(a)};f.useCallback=function(a, | ||
b){return m.current.useCallback(a,b)};f.useContext=function(a){return m.current.useContext(a)};f.useDebugValue=function(a,b){};f.useDeferredValue=function(a,b){return m.current.useDeferredValue(a,b)};f.useEffect=function(a,b){return m.current.useEffect(a,b)};f.useId=function(){return m.current.useId()};f.useImperativeHandle=function(a,b,c){return m.current.useImperativeHandle(a,b,c)};f.useInsertionEffect=function(a,b){return m.current.useInsertionEffect(a,b)};f.useLayoutEffect=function(a,b){return m.current.useLayoutEffect(a, | ||
b)};f.useMemo=function(a,b){return m.current.useMemo(a,b)};f.useOptimistic=ja;f.useReducer=function(a,b,c){return m.current.useReducer(a,b,c)};f.useRef=function(a){return m.current.useRef(a)};f.useState=function(a){return m.current.useState(a)};f.useSyncExternalStore=function(a,b,c){return m.current.useSyncExternalStore(a,b,c)};f.useTransition=function(){return m.current.useTransition()};f.version="18.3.0-experimental-966d17483-20240305"})})(); | ||
'use strict';(function(){(function(f,A){"object"===typeof exports&&"undefined"!==typeof module?A(exports):"function"===typeof define&&define.amd?define(["exports"],A):(f="undefined"!==typeof globalThis?globalThis:f||self,A(f.React={}))})(this,function(f){function A(a){if(null===a||"object"!==typeof a)return null;a=U&&a[U]||a["@@iterator"];return"function"===typeof a?a:null}function x(a,b,c){this.props=a;this.context=b;this.refs=V;this.updater=c||W}function X(){}function K(a,b,c){this.props=a;this.context= | ||
b;this.refs=V;this.updater=c||W}function L(a,b,c,d,e,k,g){c=g.ref;return{$$typeof:M,type:a,key:b,ref:void 0!==c?c:null,props:g}}function oa(a,b){return L(a.type,b,null,void 0,void 0,void 0,a.props)}function N(a){return"object"===typeof a&&null!==a&&a.$$typeof===M}function pa(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}function O(a,b){return"object"===typeof a&&null!==a&&null!=a.key?pa(""+a.key):b.toString(36)}function Y(){}function qa(a){switch(a.status){case "fulfilled":return a.value; | ||
case "rejected":throw a.reason;default:switch("string"===typeof a.status?a.then(Y,Y):(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)})),a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;}}throw a;}function y(a,b,c,d,e){var k=typeof a;if("undefined"===k||"boolean"===k)a=null;var g=!1;if(null===a)g=!0;else switch(k){case "bigint":case "string":case "number":g=!0;break; | ||
case "object":switch(a.$$typeof){case M:case ra:g=!0;break;case Z:return g=a._init,y(g(a._payload),b,c,d,e)}}if(g)return e=e(a),g=""===d?"."+O(a,0):d,aa(e)?(c="",null!=g&&(c=g.replace(ba,"$&/")+"/"),y(e,b,c,"",function(z){return z})):null!=e&&(N(e)&&(e=oa(e,c+(!e.key||a&&a.key===e.key?"":(""+e.key).replace(ba,"$&/")+"/")+g)),b.push(e)),1;g=0;var n=""===d?".":d+":";if(aa(a))for(var h=0;h<a.length;h++)d=a[h],k=n+O(d,h),g+=y(d,b,c,k,e);else if(h=A(a),"function"===typeof h)for(a=h.call(a),h=0;!(d=a.next()).done;)d= | ||
d.value,k=n+O(d,h++),g+=y(d,b,c,k,e);else if("object"===k){if("function"===typeof a.then)return y(qa(a),b,c,d,e);b=String(a);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");}return g}function D(a,b,c){if(null==a)return a;var d=[],e=0;y(a,d,"","",function(k){return b.call(c,k,e++)});return d}function sa(a){if(-1===a._status){var b=a._result; | ||
b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function ca(a,b){return l.H.useOptimistic(a,b)}function P(a,b){var c=a.length;a.push(b);a:for(;0<c;){var d=c-1>>>1,e=a[d];if(0<E(e,b))a[d]=b,a[c]=e,c=d;else break a}}function q(a){return 0===a.length?null:a[0]}function F(a){if(0===a.length)return null; | ||
var b=a[0],c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length,k=e>>>1;d<k;){var g=2*(d+1)-1,n=a[g],h=g+1,z=a[h];if(0>E(n,c))h<e&&0>E(z,n)?(a[d]=z,a[h]=c,d=h):(a[d]=n,a[g]=c,d=g);else if(h<e&&0>E(z,c))a[d]=z,a[h]=c,d=h;else break a}}return b}function E(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function G(a){for(var b=q(t);null!==b;){if(null===b.callback)F(t);else if(b.startTime<=a)F(t),b.sortIndex=b.expirationTime,P(r,b);else break;b=q(t)}}function Q(a){B=!1;G(a);if(!v)if(null!== | ||
q(r))v=!0,R();else{var b=q(t);null!==b&&S(Q,b.startTime-a)}}function da(){return w()-ea<fa?!1:!0}function R(){H||(H=!0,I())}function S(a,b){C=ha(function(){a(w())},b)}function ta(){}var M=Symbol.for("react.element"),ra=Symbol.for("react.portal"),ua=Symbol.for("react.fragment"),va=Symbol.for("react.strict_mode"),wa=Symbol.for("react.profiler"),xa=Symbol.for("react.consumer"),ya=Symbol.for("react.context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"), | ||
Ca=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),Da=Symbol.for("react.debug_trace_mode"),Ea=Symbol.for("react.offscreen"),Fa=Symbol.for("react.postpone"),U=Symbol.iterator,W={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},ia=Object.assign,V={};x.prototype.isReactComponent={};x.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("takes an object of state variables to update or a function which returns an object of state variables."); | ||
this.updater.enqueueSetState(this,a,b,"setState")};x.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};X.prototype=x.prototype;var u=K.prototype=new X;u.constructor=K;ia(u,x.prototype);u.isPureReactComponent=!0;var aa=Array.isArray,l={H:null,C:null,T:null},ja=Object.prototype.hasOwnProperty,ba=/\/+/g;if("object"===typeof performance&&"function"===typeof performance.now){var Ga=performance;var w=function(){return Ga.now()}}else{var ka=Date,Ha=ka.now();w=function(){return ka.now()- | ||
Ha}}var r=[],t=[],Ia=1,p=null,m=3,J=!1,v=!1,B=!1,ha="function"===typeof setTimeout?setTimeout:null,la="function"===typeof clearTimeout?clearTimeout:null,ma="undefined"!==typeof setImmediate?setImmediate:null,H=!1,C=-1,fa=5,ea=-1,T=function(){if(H){var a=w();ea=a;var b=!0;try{a:{v=!1;B&&(B=!1,la(C),C=-1);J=!0;var c=m;try{b:{G(a);for(p=q(r);null!==p&&!(p.expirationTime>a&&da());){var d=p.callback;if("function"===typeof d){p.callback=null;m=p.priorityLevel;var e=d(p.expirationTime<=a);a=w();if("function"=== | ||
typeof e){p.callback=e;G(a);b=!0;break b}p===q(r)&&F(r);G(a)}else F(r);p=q(r)}if(null!==p)b=!0;else{var k=q(t);null!==k&&S(Q,k.startTime-a);b=!1}}break a}finally{p=null,m=c,J=!1}b=void 0}}finally{b?I():H=!1}}};if("function"===typeof ma)var I=function(){ma(T)};else if("undefined"!==typeof MessageChannel){u=new MessageChannel;var Ja=u.port2;u.port1.onmessage=T;I=function(){Ja.postMessage(null)}}else I=function(){ha(T,0)};u={H:null,C:null,T:null,Scheduler:{__proto__:null,unstable_IdlePriority:5,unstable_ImmediatePriority:1, | ||
unstable_LowPriority:4,unstable_NormalPriority:3,unstable_Profiling:null,unstable_UserBlockingPriority:2,unstable_cancelCallback:function(a){a.callback=null},unstable_continueExecution:function(){v||J||(v=!0,R())},unstable_forceFrameRate:function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):fa=0<a?Math.floor(1E3/a):5},unstable_getCurrentPriorityLevel:function(){return m},unstable_getFirstCallbackNode:function(){return q(r)}, | ||
unstable_next:function(a){switch(m){case 1:case 2:case 3:var b=3;break;default:b=m}var c=m;m=b;try{return a()}finally{m=c}},get unstable_now(){return w},unstable_pauseExecution:function(){},unstable_requestPaint:function(){},unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=m;m=a;try{return b()}finally{m=c}},unstable_scheduleCallback:function(a,b,c){var d=w();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e= | ||
-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:Ia++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,P(t,a),null===q(r)&&a===q(t)&&(B?(la(C),C=-1):B=!0,S(Q,c-d))):(a.sortIndex=e,P(r,a),v||J||(v=!0,R()));return a},unstable_shouldYield:da,unstable_wrapCallback:function(a){var b=m;return function(){var c=m;m=b;try{return a.apply(this,arguments)}finally{m=c}}}}};var na="function"===typeof reportError?reportError: | ||
function(a){if("object"===typeof window&&"function"===typeof window.ErrorEvent){var b=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"===typeof a&&null!==a&&"string"===typeof a.message?String(a.message):String(a),error:a});if(!window.dispatchEvent(b))return}else if("object"===typeof process&&"function"===typeof process.emit){process.emit("uncaughtException",a);return}console.error(a)};f.Children={map:D,forEach:function(a,b,c){D(a,function(){b.apply(this,arguments)},c)},count:function(a){var b= | ||
0;D(a,function(){b++});return b},toArray:function(a){return D(a,function(b){return b})||[]},only:function(a){if(!N(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};f.Component=x;f.Fragment=ua;f.Profiler=wa;f.PureComponent=K;f.StrictMode=va;f.Suspense=Aa;f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u;f.act=function(a){throw Error("act(...) is not supported in production builds of React.");};f.cache=function(a){return function(){return a.apply(null, | ||
arguments)}};f.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("The argument must be a React element, but you passed "+a+".");var d=ia({},a.props),e=a.key,k=void 0;if(null!=b)for(g in void 0!==b.ref&&(k=l.owner),void 0!==b.key&&(e=""+b.key),b)!ja.call(b,g)||"key"===g||"__self"===g||"__source"===g||"ref"===g&&void 0===b.ref||(d[g]=b[g]);var g=arguments.length-2;if(1===g)d.children=c;else if(1<g){for(var n=Array(g),h=0;h<g;h++)n[h]=arguments[h+2];d.children=n}return L(a.type,e,null, | ||
void 0,void 0,k,d)};f.createContext=function(a){a={$$typeof:ya,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider=a;a.Consumer={$$typeof:xa,_context:a};return a};f.createElement=function(a,b,c){var d,e={},k=null;if(null!=b)for(d in void 0!==b.key&&(k=""+b.key),b)ja.call(b,d)&&"key"!==d&&"__self"!==d&&"__source"!==d&&(e[d]=b[d]);var g=arguments.length-2;if(1===g)e.children=c;else if(1<g){for(var n=Array(g),h=0;h<g;h++)n[h]=arguments[h+2];e.children=n}if(a&&a.defaultProps)for(d in g= | ||
a.defaultProps,g)void 0===e[d]&&(e[d]=g[d]);return L(a,k,null,void 0,void 0,l.owner,e)};f.createRef=function(){return{current:null}};f.experimental_useEffectEvent=function(a){return l.H.useEffectEvent(a)};f.experimental_useOptimistic=function(a,b){return ca(a,b)};f.forwardRef=function(a){return{$$typeof:za,render:a}};f.isValidElement=N;f.lazy=function(a){return{$$typeof:Z,_payload:{_status:-1,_result:a},_init:sa}};f.memo=function(a,b){return{$$typeof:Ca,type:a,compare:void 0===b?null:b}};f.startTransition= | ||
function(a,b){b=l.T;var c=new Set;l.T={_callbacks:c};var d=l.T;try{var e=a();"object"===typeof e&&null!==e&&"function"===typeof e.then&&(c.forEach(function(k){return k(d,e)}),e.then(ta,na))}catch(k){na(k)}finally{l.T=b}};f.unstable_Activity=Ea;f.unstable_DebugTracingMode=Da;f.unstable_SuspenseList=Ba;f.unstable_getCacheForType=function(a){return a()};f.unstable_postpone=function(a){a=Error(a);a.$$typeof=Fa;throw a;};f.unstable_useCacheRefresh=function(){return l.H.useCacheRefresh()};f.unstable_useMemoCache= | ||
function(a){return l.H.useMemoCache(a)};f.use=function(a){return l.H.use(a)};f.useActionState=function(a,b,c){return l.H.useActionState(a,b,c)};f.useCallback=function(a,b){return l.H.useCallback(a,b)};f.useContext=function(a){return l.H.useContext(a)};f.useDebugValue=function(a,b){};f.useDeferredValue=function(a,b){return l.H.useDeferredValue(a,b)};f.useEffect=function(a,b){return l.H.useEffect(a,b)};f.useId=function(){return l.H.useId()};f.useImperativeHandle=function(a,b,c){return l.H.useImperativeHandle(a, | ||
b,c)};f.useInsertionEffect=function(a,b){return l.H.useInsertionEffect(a,b)};f.useLayoutEffect=function(a,b){return l.H.useLayoutEffect(a,b)};f.useMemo=function(a,b){return l.H.useMemo(a,b)};f.useOptimistic=ca;f.useReducer=function(a,b,c){return l.H.useReducer(a,b,c)};f.useRef=function(a){return l.H.useRef(a)};f.useState=function(a){return l.H.useState(a)};f.useSyncExternalStore=function(a,b,c){return l.H.useSyncExternalStore(a,b,c)};f.useTransition=function(){return l.H.useTransition()};f.version= | ||
"19.0.0-experimental-96c584661-20240412"})})(); |
@@ -11,26 +11,25 @@ /** | ||
'use strict';(function(){(function(f,A){"object"===typeof exports&&"undefined"!==typeof module?A(exports):"function"===typeof define&&define.amd?define(["exports"],A):(f="undefined"!==typeof globalThis?globalThis:f||self,A(f.React={}))})(this,function(f){function A(a){if(null===a||"object"!==typeof a)return null;a=X&&a[X]||a["@@iterator"];return"function"===typeof a?a:null}function x(a,b,c){this.props=a;this.context=b;this.refs=Y;this.updater=c||Z}function aa(){}function M(a,b,c){this.props=a;this.context= | ||
b;this.refs=Y;this.updater=c||Z}function N(a,b,c,d,e,h,g){c=g.ref;return{$$typeof:O,type:a,key:b,ref:void 0!==c?c:null,props:g,_owner:h}}function ba(a,b,c){var d,e={},h=null;if(null!=b)for(d in void 0!==b.key&&(h=""+b.key),b)ca.call(b,d)&&"key"!==d&&"__self"!==d&&"__source"!==d&&(e[d]=b[d]);var g=arguments.length-2;if(1===g)e.children=c;else if(1<g){for(var k=Array(g),l=0;l<g;l++)k[l]=arguments[l+2];e.children=k}if(a&&a.defaultProps)for(d in g=a.defaultProps,g)void 0===e[d]&&(e[d]=g[d]);return N(a, | ||
h,null,void 0,void 0,da.current,e)}function ua(a,b){return N(a.type,b,null,void 0,void 0,a._owner,a.props)}function P(a){return"object"===typeof a&&null!==a&&a.$$typeof===O}function va(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}function Q(a,b){return"object"===typeof a&&null!==a&&null!=a.key?va(""+a.key):b.toString(36)}function ea(){}function wa(a){switch(a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;default:switch("string"===typeof a.status? | ||
a.then(ea,ea):(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)})),a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;}}throw a;}function y(a,b,c,d,e){var h=typeof a;if("undefined"===h||"boolean"===h)a=null;var g=!1;if(null===a)g=!0;else switch(h){case "bigint":case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case O:case xa:g=!0;break;case fa:return g= | ||
a._init,y(g(a._payload),b,c,d,e)}}if(g)return e=e(a),g=""===d?"."+Q(a,0):d,ha(e)?(c="",null!=g&&(c=g.replace(ia,"$&/")+"/"),y(e,b,c,"",function(z){return z})):null!=e&&(P(e)&&(e=ua(e,c+(!e.key||a&&a.key===e.key?"":(""+e.key).replace(ia,"$&/")+"/")+g)),b.push(e)),1;g=0;var k=""===d?".":d+":";if(ha(a))for(var l=0;l<a.length;l++)d=a[l],h=k+Q(d,l),g+=y(d,b,c,h,e);else if(l=A(a),"function"===typeof l)for(a=l.call(a),l=0;!(d=a.next()).done;)d=d.value,h=k+Q(d,l++),g+=y(d,b,c,h,e);else if("object"===h){if("function"=== | ||
typeof a.then)return y(wa(a),b,c,d,e);b=String(a);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");}return g}function E(a,b,c){if(null==a)return a;var d=[],e=0;y(a,d,"","",function(h){return b.call(c,h,e++)});return d}function ya(a){if(-1===a._status){var b=a._result;b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status= | ||
1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function za(){return new WeakMap}function R(){return{s:0,v:void 0,o:null,p:null}}function ja(a,b){return m.current.useOptimistic(a,b)}function S(a,b){var c=a.length;a.push(b);a:for(;0<c;){var d=c-1>>>1,e=a[d];if(0<F(e,b))a[d]=b,a[c]=e,c=d;else break a}}function q(a){return 0===a.length?null:a[0]}function G(a){if(0=== | ||
a.length)return null;var b=a[0],c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length,h=e>>>1;d<h;){var g=2*(d+1)-1,k=a[g],l=g+1,z=a[l];if(0>F(k,c))l<e&&0>F(z,k)?(a[d]=z,a[l]=c,d=l):(a[d]=k,a[g]=c,d=g);else if(l<e&&0>F(z,c))a[d]=z,a[l]=c,d=l;else break a}}return b}function F(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function H(a){for(var b=q(t);null!==b;){if(null===b.callback)G(t);else if(b.startTime<=a)G(t),b.sortIndex=b.expirationTime,S(r,b);else break;b=q(t)}}function T(a){B=!1; | ||
H(a);if(!v)if(null!==q(r))v=!0,U();else{var b=q(t);null!==b&&V(T,b.startTime-a)}}function ka(){return w()-la<ma?!1:!0}function U(){I||(I=!0,J())}function V(a,b){C=na(function(){a(w())},b)}function Aa(){}var O=Symbol.for("react.element"),xa=Symbol.for("react.portal"),Ba=Symbol.for("react.fragment"),Ca=Symbol.for("react.strict_mode"),Da=Symbol.for("react.profiler"),Ea=Symbol.for("react.provider"),Fa=Symbol.for("react.context"),Ga=Symbol.for("react.forward_ref"),Ha=Symbol.for("react.suspense"),Ia=Symbol.for("react.suspense_list"), | ||
Ja=Symbol.for("react.memo"),fa=Symbol.for("react.lazy"),Ka=Symbol.for("react.debug_trace_mode"),La=Symbol.for("react.offscreen"),Ma=Symbol.for("react.cache"),Na=Symbol.for("react.postpone"),X=Symbol.iterator,Z={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},oa=Object.assign,Y={};x.prototype.isReactComponent={};x.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("takes an object of state variables to update or a function which returns an object of state variables."); | ||
this.updater.enqueueSetState(this,a,b,"setState")};x.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};aa.prototype=x.prototype;var u=M.prototype=new aa;u.constructor=M;oa(u,x.prototype);u.isPureReactComponent=!0;var ha=Array.isArray,m={current:null},K={current:null},D={transition:null};u={current:null};var ca=Object.prototype.hasOwnProperty,da=u,ia=/\/+/g;if("object"===typeof performance&&"function"===typeof performance.now){var Oa=performance;var w=function(){return Oa.now()}}else{var pa= | ||
Date,Pa=pa.now();w=function(){return pa.now()-Pa}}var r=[],t=[],Qa=1,p=null,n=3,L=!1,v=!1,B=!1,na="function"===typeof setTimeout?setTimeout:null,qa="function"===typeof clearTimeout?clearTimeout:null,ra="undefined"!==typeof setImmediate?setImmediate:null,I=!1,C=-1,ma=5,la=-1,W=function(){if(I){var a=w();la=a;var b=!0;try{a:{v=!1;B&&(B=!1,qa(C),C=-1);L=!0;var c=n;try{b:{H(a);for(p=q(r);null!==p&&!(p.expirationTime>a&&ka());){var d=p.callback;if("function"===typeof d){p.callback=null;n=p.priorityLevel; | ||
var e=d(p.expirationTime<=a);a=w();if("function"===typeof e){p.callback=e;H(a);b=!0;break b}p===q(r)&&G(r);H(a)}else G(r);p=q(r)}if(null!==p)b=!0;else{var h=q(t);null!==h&&V(T,h.startTime-a);b=!1}}break a}finally{p=null,n=c,L=!1}b=void 0}}finally{b?J():I=!1}}};if("function"===typeof ra)var J=function(){ra(W)};else if("undefined"!==typeof MessageChannel){var sa=new MessageChannel,Ra=sa.port2;sa.port1.onmessage=W;J=function(){Ra.postMessage(null)}}else J=function(){na(W,0)};u={ReactCurrentDispatcher:m, | ||
ReactCurrentCache:K,ReactCurrentOwner:u,ReactCurrentBatchConfig:D,Scheduler:{__proto__:null,unstable_IdlePriority:5,unstable_ImmediatePriority:1,unstable_LowPriority:4,unstable_NormalPriority:3,unstable_Profiling:null,unstable_UserBlockingPriority:2,unstable_cancelCallback:function(a){a.callback=null},unstable_continueExecution:function(){v||L||(v=!0,U())},unstable_forceFrameRate:function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"): | ||
ma=0<a?Math.floor(1E3/a):5},unstable_getCurrentPriorityLevel:function(){return n},unstable_getFirstCallbackNode:function(){return q(r)},unstable_next:function(a){switch(n){case 1:case 2:case 3:var b=3;break;default:b=n}var c=n;n=b;try{return a()}finally{n=c}},get unstable_now(){return w},unstable_pauseExecution:function(){},unstable_requestPaint:function(){},unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=n;n=a;try{return b()}finally{n=c}}, | ||
unstable_scheduleCallback:function(a,b,c){var d=w();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:Qa++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,S(t,a),null===q(r)&&a===q(t)&&(B?(qa(C),C=-1):B=!0,V(T,c-d))):(a.sortIndex=e,S(r,a),v||L||(v=!0,U()));return a},unstable_shouldYield:ka,unstable_wrapCallback:function(a){var b= | ||
n;return function(){var c=n;n=b;try{return a.apply(this,arguments)}finally{n=c}}}}};var ta="function"===typeof reportError?reportError:function(a){console.error(a)};f.Children={map:E,forEach:function(a,b,c){E(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;E(a,function(){b++});return b},toArray:function(a){return E(a,function(b){return b})||[]},only:function(a){if(!P(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};f.Component= | ||
x;f.Fragment=Ba;f.Profiler=Da;f.PureComponent=M;f.StrictMode=Ca;f.Suspense=Ha;f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=u;f.act=function(a){throw Error("act(...) is not supported in production builds of React.");};f.cache=function(a){return function(){var b=K.current;if(!b)return a.apply(null,arguments);var c=b.getCacheForType(za);b=c.get(a);void 0===b&&(b=R(),c.set(a,b));c=0;for(var d=arguments.length;c<d;c++){var e=arguments[c];if("function"===typeof e||"object"===typeof e&&null!==e){var h= | ||
b.o;null===h&&(b.o=h=new WeakMap);b=h.get(e);void 0===b&&(b=R(),h.set(e,b))}else h=b.p,null===h&&(b.p=h=new Map),b=h.get(e),void 0===b&&(b=R(),h.set(e,b))}if(1===b.s)return b.v;if(2===b.s)throw b.v;try{var g=a.apply(null,arguments);c=b;c.s=1;return c.v=g}catch(k){throw g=b,g.s=2,g.v=k,k;}}};f.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("The argument must be a React element, but you passed "+a+".");var d=oa({},a.props),e=a.key,h=a._owner;if(null!=b){void 0!==b.ref&&(h=da.current); | ||
void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(k in b)!ca.call(b,k)||"key"===k||"__self"===k||"__source"===k||"ref"===k&&void 0===b.ref||(d[k]=void 0===b[k]&&void 0!==g?g[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){g=Array(k);for(var l=0;l<k;l++)g[l]=arguments[l+2];d.children=g}return N(a.type,e,null,void 0,void 0,h,d)};f.createContext=function(a){a={$$typeof:Fa,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null}; | ||
a.Provider={$$typeof:Ea,_context:a};return a.Consumer=a};f.createElement=ba;f.createFactory=function(a){var b=ba.bind(null,a);b.type=a;return b};f.createRef=function(){return{current:null}};f.experimental_useEffectEvent=function(a){return m.current.useEffectEvent(a)};f.experimental_useOptimistic=function(a,b){return ja(a,b)};f.forwardRef=function(a){return{$$typeof:Ga,render:a}};f.isValidElement=P;f.lazy=function(a){return{$$typeof:fa,_payload:{_status:-1,_result:a},_init:ya}};f.memo=function(a,b){return{$$typeof:Ja, | ||
type:a,compare:void 0===b?null:b}};f.startTransition=function(a,b){b=D.transition;var c=new Set;D.transition={_callbacks:c};var d=D.transition;try{var e=a();"object"===typeof e&&null!==e&&"function"===typeof e.then&&(c.forEach(function(h){return h(d,e)}),e.then(Aa,ta))}catch(h){ta(h)}finally{D.transition=b}};f.unstable_Activity=La;f.unstable_Cache=Ma;f.unstable_DebugTracingMode=Ka;f.unstable_SuspenseList=Ia;f.unstable_getCacheForType=function(a){var b=K.current;return b?b.getCacheForType(a):a()}; | ||
f.unstable_getCacheSignal=function(){var a=K.current;return a?a.getCacheSignal():(a=new AbortController,a.abort(Error("This CacheSignal was requested outside React which means that it is immediately aborted.")),a.signal)};f.unstable_postpone=function(a){a=Error(a);a.$$typeof=Na;throw a;};f.unstable_useCacheRefresh=function(){return m.current.useCacheRefresh()};f.unstable_useMemoCache=function(a){return m.current.useMemoCache(a)};f.use=function(a){return m.current.use(a)};f.useCallback=function(a, | ||
b){return m.current.useCallback(a,b)};f.useContext=function(a){return m.current.useContext(a)};f.useDebugValue=function(a,b){};f.useDeferredValue=function(a,b){return m.current.useDeferredValue(a,b)};f.useEffect=function(a,b){return m.current.useEffect(a,b)};f.useId=function(){return m.current.useId()};f.useImperativeHandle=function(a,b,c){return m.current.useImperativeHandle(a,b,c)};f.useInsertionEffect=function(a,b){return m.current.useInsertionEffect(a,b)};f.useLayoutEffect=function(a,b){return m.current.useLayoutEffect(a, | ||
b)};f.useMemo=function(a,b){return m.current.useMemo(a,b)};f.useOptimistic=ja;f.useReducer=function(a,b,c){return m.current.useReducer(a,b,c)};f.useRef=function(a){return m.current.useRef(a)};f.useState=function(a){return m.current.useState(a)};f.useSyncExternalStore=function(a,b,c){return m.current.useSyncExternalStore(a,b,c)};f.useTransition=function(){return m.current.useTransition()};f.version="18.3.0-experimental-966d17483-20240305"})})(); | ||
'use strict';(function(){(function(f,A){"object"===typeof exports&&"undefined"!==typeof module?A(exports):"function"===typeof define&&define.amd?define(["exports"],A):(f="undefined"!==typeof globalThis?globalThis:f||self,A(f.React={}))})(this,function(f){function A(a){if(null===a||"object"!==typeof a)return null;a=U&&a[U]||a["@@iterator"];return"function"===typeof a?a:null}function x(a,b,c){this.props=a;this.context=b;this.refs=V;this.updater=c||W}function X(){}function K(a,b,c){this.props=a;this.context= | ||
b;this.refs=V;this.updater=c||W}function L(a,b,c,d,e,k,g){c=g.ref;return{$$typeof:M,type:a,key:b,ref:void 0!==c?c:null,props:g}}function oa(a,b){return L(a.type,b,null,void 0,void 0,void 0,a.props)}function N(a){return"object"===typeof a&&null!==a&&a.$$typeof===M}function pa(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(c){return b[c]})}function O(a,b){return"object"===typeof a&&null!==a&&null!=a.key?pa(""+a.key):b.toString(36)}function Y(){}function qa(a){switch(a.status){case "fulfilled":return a.value; | ||
case "rejected":throw a.reason;default:switch("string"===typeof a.status?a.then(Y,Y):(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)})),a.status){case "fulfilled":return a.value;case "rejected":throw a.reason;}}throw a;}function y(a,b,c,d,e){var k=typeof a;if("undefined"===k||"boolean"===k)a=null;var g=!1;if(null===a)g=!0;else switch(k){case "bigint":case "string":case "number":g=!0;break; | ||
case "object":switch(a.$$typeof){case M:case ra:g=!0;break;case Z:return g=a._init,y(g(a._payload),b,c,d,e)}}if(g)return e=e(a),g=""===d?"."+O(a,0):d,aa(e)?(c="",null!=g&&(c=g.replace(ba,"$&/")+"/"),y(e,b,c,"",function(z){return z})):null!=e&&(N(e)&&(e=oa(e,c+(!e.key||a&&a.key===e.key?"":(""+e.key).replace(ba,"$&/")+"/")+g)),b.push(e)),1;g=0;var n=""===d?".":d+":";if(aa(a))for(var h=0;h<a.length;h++)d=a[h],k=n+O(d,h),g+=y(d,b,c,k,e);else if(h=A(a),"function"===typeof h)for(a=h.call(a),h=0;!(d=a.next()).done;)d= | ||
d.value,k=n+O(d,h++),g+=y(d,b,c,k,e);else if("object"===k){if("function"===typeof a.then)return y(qa(a),b,c,d,e);b=String(a);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b)+"). If you meant to render a collection of children, use an array instead.");}return g}function D(a,b,c){if(null==a)return a;var d=[],e=0;y(a,d,"","",function(k){return b.call(c,k,e++)});return d}function sa(a){if(-1===a._status){var b=a._result; | ||
b=b();b.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}function ca(a,b){return l.H.useOptimistic(a,b)}function P(a,b){var c=a.length;a.push(b);a:for(;0<c;){var d=c-1>>>1,e=a[d];if(0<E(e,b))a[d]=b,a[c]=e,c=d;else break a}}function q(a){return 0===a.length?null:a[0]}function F(a){if(0===a.length)return null; | ||
var b=a[0],c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length,k=e>>>1;d<k;){var g=2*(d+1)-1,n=a[g],h=g+1,z=a[h];if(0>E(n,c))h<e&&0>E(z,n)?(a[d]=z,a[h]=c,d=h):(a[d]=n,a[g]=c,d=g);else if(h<e&&0>E(z,c))a[d]=z,a[h]=c,d=h;else break a}}return b}function E(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function G(a){for(var b=q(t);null!==b;){if(null===b.callback)F(t);else if(b.startTime<=a)F(t),b.sortIndex=b.expirationTime,P(r,b);else break;b=q(t)}}function Q(a){B=!1;G(a);if(!v)if(null!== | ||
q(r))v=!0,R();else{var b=q(t);null!==b&&S(Q,b.startTime-a)}}function da(){return w()-ea<fa?!1:!0}function R(){H||(H=!0,I())}function S(a,b){C=ha(function(){a(w())},b)}function ta(){}var M=Symbol.for("react.element"),ra=Symbol.for("react.portal"),ua=Symbol.for("react.fragment"),va=Symbol.for("react.strict_mode"),wa=Symbol.for("react.profiler"),xa=Symbol.for("react.consumer"),ya=Symbol.for("react.context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"), | ||
Ca=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),Da=Symbol.for("react.debug_trace_mode"),Ea=Symbol.for("react.offscreen"),Fa=Symbol.for("react.postpone"),U=Symbol.iterator,W={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},ia=Object.assign,V={};x.prototype.isReactComponent={};x.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error("takes an object of state variables to update or a function which returns an object of state variables."); | ||
this.updater.enqueueSetState(this,a,b,"setState")};x.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};X.prototype=x.prototype;var u=K.prototype=new X;u.constructor=K;ia(u,x.prototype);u.isPureReactComponent=!0;var aa=Array.isArray,l={H:null,C:null,T:null},ja=Object.prototype.hasOwnProperty,ba=/\/+/g;if("object"===typeof performance&&"function"===typeof performance.now){var Ga=performance;var w=function(){return Ga.now()}}else{var ka=Date,Ha=ka.now();w=function(){return ka.now()- | ||
Ha}}var r=[],t=[],Ia=1,p=null,m=3,J=!1,v=!1,B=!1,ha="function"===typeof setTimeout?setTimeout:null,la="function"===typeof clearTimeout?clearTimeout:null,ma="undefined"!==typeof setImmediate?setImmediate:null,H=!1,C=-1,fa=5,ea=-1,T=function(){if(H){var a=w();ea=a;var b=!0;try{a:{v=!1;B&&(B=!1,la(C),C=-1);J=!0;var c=m;try{b:{G(a);for(p=q(r);null!==p&&!(p.expirationTime>a&&da());){var d=p.callback;if("function"===typeof d){p.callback=null;m=p.priorityLevel;var e=d(p.expirationTime<=a);a=w();if("function"=== | ||
typeof e){p.callback=e;G(a);b=!0;break b}p===q(r)&&F(r);G(a)}else F(r);p=q(r)}if(null!==p)b=!0;else{var k=q(t);null!==k&&S(Q,k.startTime-a);b=!1}}break a}finally{p=null,m=c,J=!1}b=void 0}}finally{b?I():H=!1}}};if("function"===typeof ma)var I=function(){ma(T)};else if("undefined"!==typeof MessageChannel){u=new MessageChannel;var Ja=u.port2;u.port1.onmessage=T;I=function(){Ja.postMessage(null)}}else I=function(){ha(T,0)};u={H:null,C:null,T:null,Scheduler:{__proto__:null,unstable_IdlePriority:5,unstable_ImmediatePriority:1, | ||
unstable_LowPriority:4,unstable_NormalPriority:3,unstable_Profiling:null,unstable_UserBlockingPriority:2,unstable_cancelCallback:function(a){a.callback=null},unstable_continueExecution:function(){v||J||(v=!0,R())},unstable_forceFrameRate:function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):fa=0<a?Math.floor(1E3/a):5},unstable_getCurrentPriorityLevel:function(){return m},unstable_getFirstCallbackNode:function(){return q(r)}, | ||
unstable_next:function(a){switch(m){case 1:case 2:case 3:var b=3;break;default:b=m}var c=m;m=b;try{return a()}finally{m=c}},get unstable_now(){return w},unstable_pauseExecution:function(){},unstable_requestPaint:function(){},unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=m;m=a;try{return b()}finally{m=c}},unstable_scheduleCallback:function(a,b,c){var d=w();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e= | ||
-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:Ia++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,P(t,a),null===q(r)&&a===q(t)&&(B?(la(C),C=-1):B=!0,S(Q,c-d))):(a.sortIndex=e,P(r,a),v||J||(v=!0,R()));return a},unstable_shouldYield:da,unstable_wrapCallback:function(a){var b=m;return function(){var c=m;m=b;try{return a.apply(this,arguments)}finally{m=c}}}}};var na="function"===typeof reportError?reportError: | ||
function(a){if("object"===typeof window&&"function"===typeof window.ErrorEvent){var b=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"===typeof a&&null!==a&&"string"===typeof a.message?String(a.message):String(a),error:a});if(!window.dispatchEvent(b))return}else if("object"===typeof process&&"function"===typeof process.emit){process.emit("uncaughtException",a);return}console.error(a)};f.Children={map:D,forEach:function(a,b,c){D(a,function(){b.apply(this,arguments)},c)},count:function(a){var b= | ||
0;D(a,function(){b++});return b},toArray:function(a){return D(a,function(b){return b})||[]},only:function(a){if(!N(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};f.Component=x;f.Fragment=ua;f.Profiler=wa;f.PureComponent=K;f.StrictMode=va;f.Suspense=Aa;f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u;f.act=function(a){throw Error("act(...) is not supported in production builds of React.");};f.cache=function(a){return function(){return a.apply(null, | ||
arguments)}};f.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error("The argument must be a React element, but you passed "+a+".");var d=ia({},a.props),e=a.key,k=void 0;if(null!=b)for(g in void 0!==b.ref&&(k=l.owner),void 0!==b.key&&(e=""+b.key),b)!ja.call(b,g)||"key"===g||"__self"===g||"__source"===g||"ref"===g&&void 0===b.ref||(d[g]=b[g]);var g=arguments.length-2;if(1===g)d.children=c;else if(1<g){for(var n=Array(g),h=0;h<g;h++)n[h]=arguments[h+2];d.children=n}return L(a.type,e,null, | ||
void 0,void 0,k,d)};f.createContext=function(a){a={$$typeof:ya,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider=a;a.Consumer={$$typeof:xa,_context:a};return a};f.createElement=function(a,b,c){var d,e={},k=null;if(null!=b)for(d in void 0!==b.key&&(k=""+b.key),b)ja.call(b,d)&&"key"!==d&&"__self"!==d&&"__source"!==d&&(e[d]=b[d]);var g=arguments.length-2;if(1===g)e.children=c;else if(1<g){for(var n=Array(g),h=0;h<g;h++)n[h]=arguments[h+2];e.children=n}if(a&&a.defaultProps)for(d in g= | ||
a.defaultProps,g)void 0===e[d]&&(e[d]=g[d]);return L(a,k,null,void 0,void 0,l.owner,e)};f.createRef=function(){return{current:null}};f.experimental_useEffectEvent=function(a){return l.H.useEffectEvent(a)};f.experimental_useOptimistic=function(a,b){return ca(a,b)};f.forwardRef=function(a){return{$$typeof:za,render:a}};f.isValidElement=N;f.lazy=function(a){return{$$typeof:Z,_payload:{_status:-1,_result:a},_init:sa}};f.memo=function(a,b){return{$$typeof:Ca,type:a,compare:void 0===b?null:b}};f.startTransition= | ||
function(a,b){b=l.T;var c=new Set;l.T={_callbacks:c};var d=l.T;try{var e=a();"object"===typeof e&&null!==e&&"function"===typeof e.then&&(c.forEach(function(k){return k(d,e)}),e.then(ta,na))}catch(k){na(k)}finally{l.T=b}};f.unstable_Activity=Ea;f.unstable_DebugTracingMode=Da;f.unstable_SuspenseList=Ba;f.unstable_getCacheForType=function(a){return a()};f.unstable_postpone=function(a){a=Error(a);a.$$typeof=Fa;throw a;};f.unstable_useCacheRefresh=function(){return l.H.useCacheRefresh()};f.unstable_useMemoCache= | ||
function(a){return l.H.useMemoCache(a)};f.use=function(a){return l.H.use(a)};f.useActionState=function(a,b,c){return l.H.useActionState(a,b,c)};f.useCallback=function(a,b){return l.H.useCallback(a,b)};f.useContext=function(a){return l.H.useContext(a)};f.useDebugValue=function(a,b){};f.useDeferredValue=function(a,b){return l.H.useDeferredValue(a,b)};f.useEffect=function(a,b){return l.H.useEffect(a,b)};f.useId=function(){return l.H.useId()};f.useImperativeHandle=function(a,b,c){return l.H.useImperativeHandle(a, | ||
b,c)};f.useInsertionEffect=function(a,b){return l.H.useInsertionEffect(a,b)};f.useLayoutEffect=function(a,b){return l.H.useLayoutEffect(a,b)};f.useMemo=function(a,b){return l.H.useMemo(a,b)};f.useOptimistic=ca;f.useReducer=function(a,b,c){return l.H.useReducer(a,b,c)};f.useRef=function(a){return l.H.useRef(a)};f.useState=function(a){return l.H.useState(a)};f.useSyncExternalStore=function(a,b,c){return l.H.useSyncExternalStore(a,b,c)};f.useTransition=function(){return l.H.useTransition()};f.version= | ||
"19.0.0-experimental-96c584661-20240412"})})(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 2 instances in 1 package
1
620877
13381