@kubb/react-fabric 0.7.0 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/jsx-dev-runtime.cjs +8 -8
- package/dist/jsx-dev-runtime.cjs.map +1 -1
- package/dist/jsx-dev-runtime.js +8 -8
- package/dist/jsx-dev-runtime.js.map +1 -1
- package/dist/{jsx-runtime-DqTOrEsT.cjs → jsx-runtime-BEVcoJUm.cjs} +11 -11
- package/dist/jsx-runtime-BEVcoJUm.cjs.map +1 -0
- package/dist/{jsx-runtime-zJCtyvtC.js → jsx-runtime-DjstAFxD.js} +11 -11
- package/dist/jsx-runtime-DjstAFxD.js.map +1 -0
- package/dist/jsx-runtime.cjs +2 -2
- package/dist/jsx-runtime.js +2 -2
- package/dist/parsers.cjs +3 -3
- package/dist/plugins.cjs +6 -6
- package/dist/plugins.js +3 -3
- package/dist/{react-B97TdWcV.js → react-Bk0R32Mu.js} +127 -127
- package/dist/react-Bk0R32Mu.js.map +1 -0
- package/dist/{react-D_EYlsv-.cjs → react-CWV4qQg2.cjs} +127 -127
- package/dist/{react-B97TdWcV.js.map → react-CWV4qQg2.cjs.map} +1 -1
- package/dist/{reactPlugin-PG1kqZRe.js → reactPlugin-CsASsju1.js} +186 -187
- package/dist/reactPlugin-CsASsju1.js.map +1 -0
- package/dist/{reactPlugin-CpRWhf6R.cjs → reactPlugin-ig-eqmuC.cjs} +191 -192
- package/dist/reactPlugin-ig-eqmuC.cjs.map +1 -0
- package/dist/types.cjs +3 -3
- package/package.json +22 -22
- package/dist/jsx-runtime-DqTOrEsT.cjs.map +0 -1
- package/dist/jsx-runtime-zJCtyvtC.js.map +0 -1
- package/dist/react-D_EYlsv-.cjs.map +0 -1
- package/dist/reactPlugin-CpRWhf6R.cjs.map +0 -1
- package/dist/reactPlugin-PG1kqZRe.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-BrXtsOCC.cjs');
|
|
2
2
|
|
|
3
|
-
//#region ../../node_modules/.pnpm/react@19.2.
|
|
3
|
+
//#region ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react.production.js
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react.production.js
|
|
@@ -357,11 +357,11 @@ var require_react_production = /* @__PURE__ */ require_chunk.__commonJSMin(((exp
|
|
|
357
357
|
exports.useTransition = function() {
|
|
358
358
|
return ReactSharedInternals.H.useTransition();
|
|
359
359
|
};
|
|
360
|
-
exports.version = "19.2.
|
|
360
|
+
exports.version = "19.2.1";
|
|
361
361
|
}));
|
|
362
362
|
|
|
363
363
|
//#endregion
|
|
364
|
-
//#region ../../node_modules/.pnpm/react@19.2.
|
|
364
|
+
//#region ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react.development.js
|
|
365
365
|
/**
|
|
366
366
|
* @license React
|
|
367
367
|
* react.development.js
|
|
@@ -374,13 +374,13 @@ var require_react_production = /* @__PURE__ */ require_chunk.__commonJSMin(((exp
|
|
|
374
374
|
var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
375
375
|
"production" !== process.env.NODE_ENV && (function() {
|
|
376
376
|
function defineDeprecationWarning(methodName, info) {
|
|
377
|
-
Object.defineProperty(Component
|
|
377
|
+
Object.defineProperty(Component.prototype, methodName, { get: function() {
|
|
378
378
|
console.warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]);
|
|
379
379
|
} });
|
|
380
380
|
}
|
|
381
|
-
function getIteratorFn
|
|
381
|
+
function getIteratorFn(maybeIterable) {
|
|
382
382
|
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
383
|
-
maybeIterable = MAYBE_ITERATOR_SYMBOL
|
|
383
|
+
maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
|
|
384
384
|
return "function" === typeof maybeIterable ? maybeIterable : null;
|
|
385
385
|
}
|
|
386
386
|
function warnNoop(publicInstance, callerName) {
|
|
@@ -388,20 +388,20 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
388
388
|
var warningKey = publicInstance + "." + callerName;
|
|
389
389
|
didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", callerName, publicInstance), didWarnStateUpdateForUnmountedComponent[warningKey] = !0);
|
|
390
390
|
}
|
|
391
|
-
function Component
|
|
391
|
+
function Component(props, context, updater) {
|
|
392
392
|
this.props = props;
|
|
393
393
|
this.context = context;
|
|
394
|
-
this.refs = emptyObject
|
|
395
|
-
this.updater = updater || ReactNoopUpdateQueue
|
|
394
|
+
this.refs = emptyObject;
|
|
395
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
396
396
|
}
|
|
397
|
-
function ComponentDummy
|
|
398
|
-
function PureComponent
|
|
397
|
+
function ComponentDummy() {}
|
|
398
|
+
function PureComponent(props, context, updater) {
|
|
399
399
|
this.props = props;
|
|
400
400
|
this.context = context;
|
|
401
|
-
this.refs = emptyObject
|
|
402
|
-
this.updater = updater || ReactNoopUpdateQueue
|
|
401
|
+
this.refs = emptyObject;
|
|
402
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
403
403
|
}
|
|
404
|
-
function noop
|
|
404
|
+
function noop() {}
|
|
405
405
|
function testStringCoercion(value) {
|
|
406
406
|
return "" + value;
|
|
407
407
|
}
|
|
@@ -425,24 +425,24 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
425
425
|
if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
|
|
426
426
|
if ("string" === typeof type) return type;
|
|
427
427
|
switch (type) {
|
|
428
|
-
case REACT_FRAGMENT_TYPE
|
|
429
|
-
case REACT_PROFILER_TYPE
|
|
430
|
-
case REACT_STRICT_MODE_TYPE
|
|
431
|
-
case REACT_SUSPENSE_TYPE
|
|
428
|
+
case REACT_FRAGMENT_TYPE: return "Fragment";
|
|
429
|
+
case REACT_PROFILER_TYPE: return "Profiler";
|
|
430
|
+
case REACT_STRICT_MODE_TYPE: return "StrictMode";
|
|
431
|
+
case REACT_SUSPENSE_TYPE: return "Suspense";
|
|
432
432
|
case REACT_SUSPENSE_LIST_TYPE: return "SuspenseList";
|
|
433
|
-
case REACT_ACTIVITY_TYPE
|
|
433
|
+
case REACT_ACTIVITY_TYPE: return "Activity";
|
|
434
434
|
}
|
|
435
435
|
if ("object" === typeof type) switch ("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof) {
|
|
436
|
-
case REACT_PORTAL_TYPE
|
|
437
|
-
case REACT_CONTEXT_TYPE
|
|
438
|
-
case REACT_CONSUMER_TYPE
|
|
439
|
-
case REACT_FORWARD_REF_TYPE
|
|
436
|
+
case REACT_PORTAL_TYPE: return "Portal";
|
|
437
|
+
case REACT_CONTEXT_TYPE: return type.displayName || "Context";
|
|
438
|
+
case REACT_CONSUMER_TYPE: return (type._context.displayName || "Context") + ".Consumer";
|
|
439
|
+
case REACT_FORWARD_REF_TYPE:
|
|
440
440
|
var innerType = type.render;
|
|
441
441
|
type = type.displayName;
|
|
442
442
|
type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
|
|
443
443
|
return type;
|
|
444
|
-
case REACT_MEMO_TYPE
|
|
445
|
-
case REACT_LAZY_TYPE
|
|
444
|
+
case REACT_MEMO_TYPE: return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
|
|
445
|
+
case REACT_LAZY_TYPE:
|
|
446
446
|
innerType = type._payload;
|
|
447
447
|
type = type._init;
|
|
448
448
|
try {
|
|
@@ -452,8 +452,8 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
452
452
|
return null;
|
|
453
453
|
}
|
|
454
454
|
function getTaskName(type) {
|
|
455
|
-
if (type === REACT_FRAGMENT_TYPE
|
|
456
|
-
if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE
|
|
455
|
+
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
|
456
|
+
if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE) return "<...>";
|
|
457
457
|
try {
|
|
458
458
|
var name = getComponentNameFromType(type);
|
|
459
459
|
return name ? "<" + name + ">" : "<...>";
|
|
@@ -462,14 +462,14 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
464
|
function getOwner() {
|
|
465
|
-
var dispatcher = ReactSharedInternals
|
|
465
|
+
var dispatcher = ReactSharedInternals.A;
|
|
466
466
|
return null === dispatcher ? null : dispatcher.getOwner();
|
|
467
467
|
}
|
|
468
468
|
function UnknownOwner() {
|
|
469
469
|
return Error("react-stack-top-frame");
|
|
470
470
|
}
|
|
471
471
|
function hasValidKey(config) {
|
|
472
|
-
if (hasOwnProperty
|
|
472
|
+
if (hasOwnProperty.call(config, "key")) {
|
|
473
473
|
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
474
474
|
if (getter && getter.isReactWarning) return !1;
|
|
475
475
|
}
|
|
@@ -491,10 +491,10 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
491
491
|
componentName = this.props.ref;
|
|
492
492
|
return void 0 !== componentName ? componentName : null;
|
|
493
493
|
}
|
|
494
|
-
function ReactElement
|
|
494
|
+
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
|
495
495
|
var refProp = props.ref;
|
|
496
496
|
type = {
|
|
497
|
-
$$typeof: REACT_ELEMENT_TYPE
|
|
497
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
498
498
|
type,
|
|
499
499
|
key,
|
|
500
500
|
props,
|
|
@@ -535,18 +535,18 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
535
535
|
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
536
536
|
return type;
|
|
537
537
|
}
|
|
538
|
-
function cloneAndReplaceKey
|
|
539
|
-
newKey = ReactElement
|
|
538
|
+
function cloneAndReplaceKey(oldElement, newKey) {
|
|
539
|
+
newKey = ReactElement(oldElement.type, newKey, oldElement.props, oldElement._owner, oldElement._debugStack, oldElement._debugTask);
|
|
540
540
|
oldElement._store && (newKey._store.validated = oldElement._store.validated);
|
|
541
541
|
return newKey;
|
|
542
542
|
}
|
|
543
543
|
function validateChildKeys(node) {
|
|
544
|
-
isValidElement
|
|
544
|
+
isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
|
|
545
545
|
}
|
|
546
|
-
function isValidElement
|
|
547
|
-
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE
|
|
546
|
+
function isValidElement(object) {
|
|
547
|
+
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
548
548
|
}
|
|
549
|
-
function escape
|
|
549
|
+
function escape(key) {
|
|
550
550
|
var escaperLookup = {
|
|
551
551
|
"=": "=0",
|
|
552
552
|
":": "=2"
|
|
@@ -555,14 +555,14 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
555
555
|
return escaperLookup[match];
|
|
556
556
|
});
|
|
557
557
|
}
|
|
558
|
-
function getElementKey
|
|
559
|
-
return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape
|
|
558
|
+
function getElementKey(element, index) {
|
|
559
|
+
return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
|
|
560
560
|
}
|
|
561
|
-
function resolveThenable
|
|
561
|
+
function resolveThenable(thenable) {
|
|
562
562
|
switch (thenable.status) {
|
|
563
563
|
case "fulfilled": return thenable.value;
|
|
564
564
|
case "rejected": throw thenable.reason;
|
|
565
|
-
default: switch ("string" === typeof thenable.status ? thenable.then(noop
|
|
565
|
+
default: switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(function(fulfilledValue) {
|
|
566
566
|
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
567
567
|
}, function(error) {
|
|
568
568
|
"pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
|
@@ -573,7 +573,7 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
573
573
|
}
|
|
574
574
|
throw thenable;
|
|
575
575
|
}
|
|
576
|
-
function mapIntoArray
|
|
576
|
+
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
|
577
577
|
var type = typeof children;
|
|
578
578
|
if ("undefined" === type || "boolean" === type) children = null;
|
|
579
579
|
var invokeCallback = !1;
|
|
@@ -585,42 +585,42 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
585
585
|
invokeCallback = !0;
|
|
586
586
|
break;
|
|
587
587
|
case "object": switch (children.$$typeof) {
|
|
588
|
-
case REACT_ELEMENT_TYPE
|
|
589
|
-
case REACT_PORTAL_TYPE
|
|
588
|
+
case REACT_ELEMENT_TYPE:
|
|
589
|
+
case REACT_PORTAL_TYPE:
|
|
590
590
|
invokeCallback = !0;
|
|
591
591
|
break;
|
|
592
|
-
case REACT_LAZY_TYPE
|
|
592
|
+
case REACT_LAZY_TYPE: return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback);
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
595
|
if (invokeCallback) {
|
|
596
596
|
invokeCallback = children;
|
|
597
597
|
callback = callback(invokeCallback);
|
|
598
|
-
var childKey = "" === nameSoFar ? "." + getElementKey
|
|
599
|
-
isArrayImpl
|
|
598
|
+
var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
|
|
599
|
+
isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
|
|
600
600
|
return c;
|
|
601
|
-
})) : null != callback && (isValidElement
|
|
601
|
+
})) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(callback, escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(userProvidedKeyEscapeRegex, "$&/") + "/") + childKey), "" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));
|
|
602
602
|
return 1;
|
|
603
603
|
}
|
|
604
604
|
invokeCallback = 0;
|
|
605
605
|
childKey = "" === nameSoFar ? "." : nameSoFar + ":";
|
|
606
|
-
if (isArrayImpl
|
|
607
|
-
else if (i = getIteratorFn
|
|
606
|
+
if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);
|
|
607
|
+
else if (i = getIteratorFn(children), "function" === typeof i) for (i === children.entries && (didWarnAboutMaps || console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), didWarnAboutMaps = !0), children = i.call(children), i = 0; !(nameSoFar = children.next()).done;) nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);
|
|
608
608
|
else if ("object" === type) {
|
|
609
|
-
if ("function" === typeof children.then) return mapIntoArray
|
|
609
|
+
if ("function" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);
|
|
610
610
|
array = String(children);
|
|
611
611
|
throw Error("Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead.");
|
|
612
612
|
}
|
|
613
613
|
return invokeCallback;
|
|
614
614
|
}
|
|
615
|
-
function mapChildren
|
|
615
|
+
function mapChildren(children, func, context) {
|
|
616
616
|
if (null == children) return children;
|
|
617
617
|
var result = [], count = 0;
|
|
618
|
-
mapIntoArray
|
|
618
|
+
mapIntoArray(children, result, "", "", function(child) {
|
|
619
619
|
return func.call(context, child, count++);
|
|
620
620
|
});
|
|
621
621
|
return result;
|
|
622
622
|
}
|
|
623
|
-
function lazyInitializer
|
|
623
|
+
function lazyInitializer(payload) {
|
|
624
624
|
if (-1 === payload._status) {
|
|
625
625
|
var ioInfo = payload._ioInfo;
|
|
626
626
|
null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
|
|
@@ -655,12 +655,12 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
655
655
|
throw payload._result;
|
|
656
656
|
}
|
|
657
657
|
function resolveDispatcher() {
|
|
658
|
-
var dispatcher = ReactSharedInternals
|
|
658
|
+
var dispatcher = ReactSharedInternals.H;
|
|
659
659
|
null === dispatcher && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.");
|
|
660
660
|
return dispatcher;
|
|
661
661
|
}
|
|
662
662
|
function releaseAsyncTransition() {
|
|
663
|
-
ReactSharedInternals
|
|
663
|
+
ReactSharedInternals.asyncTransitions--;
|
|
664
664
|
}
|
|
665
665
|
function enqueueTask(task) {
|
|
666
666
|
if (null === enqueueTaskImpl) try {
|
|
@@ -684,7 +684,7 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
684
684
|
actScopeDepth = prevActScopeDepth;
|
|
685
685
|
}
|
|
686
686
|
function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
|
|
687
|
-
var queue = ReactSharedInternals
|
|
687
|
+
var queue = ReactSharedInternals.actQueue;
|
|
688
688
|
if (null !== queue) if (0 !== queue.length) try {
|
|
689
689
|
flushActQueue(queue);
|
|
690
690
|
enqueueTask(function() {
|
|
@@ -692,10 +692,10 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
692
692
|
});
|
|
693
693
|
return;
|
|
694
694
|
} catch (error) {
|
|
695
|
-
ReactSharedInternals
|
|
695
|
+
ReactSharedInternals.thrownErrors.push(error);
|
|
696
696
|
}
|
|
697
|
-
else ReactSharedInternals
|
|
698
|
-
0 < ReactSharedInternals
|
|
697
|
+
else ReactSharedInternals.actQueue = null;
|
|
698
|
+
0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);
|
|
699
699
|
}
|
|
700
700
|
function flushActQueue(queue) {
|
|
701
701
|
if (!isFlushing) {
|
|
@@ -705,10 +705,10 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
705
705
|
for (; i < queue.length; i++) {
|
|
706
706
|
var callback = queue[i];
|
|
707
707
|
do {
|
|
708
|
-
ReactSharedInternals
|
|
708
|
+
ReactSharedInternals.didUsePromise = !1;
|
|
709
709
|
var continuation = callback(!1);
|
|
710
710
|
if (null !== continuation) {
|
|
711
|
-
if (ReactSharedInternals
|
|
711
|
+
if (ReactSharedInternals.didUsePromise) {
|
|
712
712
|
queue[i] = callback;
|
|
713
713
|
queue.splice(0, i);
|
|
714
714
|
return;
|
|
@@ -719,14 +719,14 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
719
719
|
}
|
|
720
720
|
queue.length = 0;
|
|
721
721
|
} catch (error) {
|
|
722
|
-
queue.splice(0, i + 1), ReactSharedInternals
|
|
722
|
+
queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
|
|
723
723
|
} finally {
|
|
724
724
|
isFlushing = !1;
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
728
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
729
|
-
var REACT_ELEMENT_TYPE
|
|
729
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
|
|
730
730
|
isMounted: function() {
|
|
731
731
|
return !1;
|
|
732
732
|
},
|
|
@@ -739,14 +739,14 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
739
739
|
enqueueSetState: function(publicInstance) {
|
|
740
740
|
warnNoop(publicInstance, "setState");
|
|
741
741
|
}
|
|
742
|
-
}, assign
|
|
743
|
-
Object.freeze(emptyObject
|
|
744
|
-
Component
|
|
745
|
-
Component
|
|
742
|
+
}, assign = Object.assign, emptyObject = {};
|
|
743
|
+
Object.freeze(emptyObject);
|
|
744
|
+
Component.prototype.isReactComponent = {};
|
|
745
|
+
Component.prototype.setState = function(partialState, callback) {
|
|
746
746
|
if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
|
|
747
747
|
this.updater.enqueueSetState(this, partialState, callback, "setState");
|
|
748
748
|
};
|
|
749
|
-
Component
|
|
749
|
+
Component.prototype.forceUpdate = function(callback) {
|
|
750
750
|
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
|
751
751
|
};
|
|
752
752
|
var deprecatedAPIs = {
|
|
@@ -754,12 +754,12 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
754
754
|
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
|
|
755
755
|
};
|
|
756
756
|
for (fnName in deprecatedAPIs) deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
|
757
|
-
ComponentDummy
|
|
758
|
-
deprecatedAPIs = PureComponent
|
|
759
|
-
deprecatedAPIs.constructor = PureComponent
|
|
760
|
-
assign
|
|
757
|
+
ComponentDummy.prototype = Component.prototype;
|
|
758
|
+
deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
|
|
759
|
+
deprecatedAPIs.constructor = PureComponent;
|
|
760
|
+
assign(deprecatedAPIs, Component.prototype);
|
|
761
761
|
deprecatedAPIs.isPureReactComponent = !0;
|
|
762
|
-
var isArrayImpl
|
|
762
|
+
var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = {
|
|
763
763
|
H: null,
|
|
764
764
|
A: null,
|
|
765
765
|
T: null,
|
|
@@ -772,7 +772,7 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
772
772
|
thrownErrors: [],
|
|
773
773
|
getCurrentStack: null,
|
|
774
774
|
recentlyCreatedOwnerStacks: 0
|
|
775
|
-
}, hasOwnProperty
|
|
775
|
+
}, hasOwnProperty = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() {
|
|
776
776
|
return null;
|
|
777
777
|
};
|
|
778
778
|
deprecatedAPIs = { react_stack_bottom_frame: function(callStackForError) {
|
|
@@ -782,7 +782,7 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
782
782
|
var didWarnAboutElementRef = {};
|
|
783
783
|
var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(deprecatedAPIs, UnknownOwner)();
|
|
784
784
|
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
785
|
-
var didWarnAboutMaps = !1, userProvidedKeyEscapeRegex
|
|
785
|
+
var didWarnAboutMaps = !1, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
|
|
786
786
|
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
787
787
|
var event = new window.ErrorEvent("error", {
|
|
788
788
|
bubbles: !0,
|
|
@@ -808,49 +808,49 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
808
808
|
}
|
|
809
809
|
});
|
|
810
810
|
var fnName = {
|
|
811
|
-
map: mapChildren
|
|
811
|
+
map: mapChildren,
|
|
812
812
|
forEach: function(children, forEachFunc, forEachContext) {
|
|
813
|
-
mapChildren
|
|
813
|
+
mapChildren(children, function() {
|
|
814
814
|
forEachFunc.apply(this, arguments);
|
|
815
815
|
}, forEachContext);
|
|
816
816
|
},
|
|
817
817
|
count: function(children) {
|
|
818
818
|
var n = 0;
|
|
819
|
-
mapChildren
|
|
819
|
+
mapChildren(children, function() {
|
|
820
820
|
n++;
|
|
821
821
|
});
|
|
822
822
|
return n;
|
|
823
823
|
},
|
|
824
824
|
toArray: function(children) {
|
|
825
|
-
return mapChildren
|
|
825
|
+
return mapChildren(children, function(child) {
|
|
826
826
|
return child;
|
|
827
827
|
}) || [];
|
|
828
828
|
},
|
|
829
829
|
only: function(children) {
|
|
830
|
-
if (!isValidElement
|
|
830
|
+
if (!isValidElement(children)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
831
831
|
return children;
|
|
832
832
|
}
|
|
833
833
|
};
|
|
834
|
-
exports.Activity = REACT_ACTIVITY_TYPE
|
|
834
|
+
exports.Activity = REACT_ACTIVITY_TYPE;
|
|
835
835
|
exports.Children = fnName;
|
|
836
|
-
exports.Component = Component
|
|
837
|
-
exports.Fragment = REACT_FRAGMENT_TYPE
|
|
838
|
-
exports.Profiler = REACT_PROFILER_TYPE
|
|
839
|
-
exports.PureComponent = PureComponent
|
|
840
|
-
exports.StrictMode = REACT_STRICT_MODE_TYPE
|
|
841
|
-
exports.Suspense = REACT_SUSPENSE_TYPE
|
|
842
|
-
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals
|
|
836
|
+
exports.Component = Component;
|
|
837
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
838
|
+
exports.Profiler = REACT_PROFILER_TYPE;
|
|
839
|
+
exports.PureComponent = PureComponent;
|
|
840
|
+
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
841
|
+
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
842
|
+
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
|
|
843
843
|
exports.__COMPILER_RUNTIME = deprecatedAPIs;
|
|
844
844
|
exports.act = function(callback) {
|
|
845
|
-
var prevActQueue = ReactSharedInternals
|
|
845
|
+
var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
|
|
846
846
|
actScopeDepth++;
|
|
847
|
-
var queue = ReactSharedInternals
|
|
847
|
+
var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = !1;
|
|
848
848
|
try {
|
|
849
849
|
var result = callback();
|
|
850
850
|
} catch (error) {
|
|
851
|
-
ReactSharedInternals
|
|
851
|
+
ReactSharedInternals.thrownErrors.push(error);
|
|
852
852
|
}
|
|
853
|
-
if (0 < ReactSharedInternals
|
|
853
|
+
if (0 < ReactSharedInternals.thrownErrors.length) throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
|
|
854
854
|
if (null !== result && "object" === typeof result && "function" === typeof result.then) {
|
|
855
855
|
var thenable = result;
|
|
856
856
|
queueSeveralMicrotasks(function() {
|
|
@@ -866,17 +866,17 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
866
866
|
return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
|
867
867
|
});
|
|
868
868
|
} catch (error$0) {
|
|
869
|
-
ReactSharedInternals
|
|
869
|
+
ReactSharedInternals.thrownErrors.push(error$0);
|
|
870
870
|
}
|
|
871
|
-
if (0 < ReactSharedInternals
|
|
872
|
-
var _thrownError = aggregateErrors(ReactSharedInternals
|
|
873
|
-
ReactSharedInternals
|
|
871
|
+
if (0 < ReactSharedInternals.thrownErrors.length) {
|
|
872
|
+
var _thrownError = aggregateErrors(ReactSharedInternals.thrownErrors);
|
|
873
|
+
ReactSharedInternals.thrownErrors.length = 0;
|
|
874
874
|
reject(_thrownError);
|
|
875
875
|
}
|
|
876
876
|
} else resolve(returnValue);
|
|
877
877
|
}, function(error) {
|
|
878
878
|
popActScope(prevActQueue, prevActScopeDepth);
|
|
879
|
-
0 < ReactSharedInternals
|
|
879
|
+
0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);
|
|
880
880
|
});
|
|
881
881
|
} };
|
|
882
882
|
}
|
|
@@ -884,11 +884,11 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
884
884
|
popActScope(prevActQueue, prevActScopeDepth);
|
|
885
885
|
0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function() {
|
|
886
886
|
didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = !0, console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"));
|
|
887
|
-
}), ReactSharedInternals
|
|
888
|
-
if (0 < ReactSharedInternals
|
|
887
|
+
}), ReactSharedInternals.actQueue = null);
|
|
888
|
+
if (0 < ReactSharedInternals.thrownErrors.length) throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
|
|
889
889
|
return { then: function(resolve, reject) {
|
|
890
890
|
didAwaitActCall = !0;
|
|
891
|
-
0 === prevActScopeDepth ? (ReactSharedInternals
|
|
891
|
+
0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function() {
|
|
892
892
|
return recursivelyFlushAsyncActWork(returnValue$jscomp$0, resolve, reject);
|
|
893
893
|
})) : resolve(returnValue$jscomp$0);
|
|
894
894
|
} };
|
|
@@ -902,16 +902,16 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
902
902
|
return null;
|
|
903
903
|
};
|
|
904
904
|
exports.captureOwnerStack = function() {
|
|
905
|
-
var getCurrentStack = ReactSharedInternals
|
|
905
|
+
var getCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
906
906
|
return null === getCurrentStack ? null : getCurrentStack();
|
|
907
907
|
};
|
|
908
908
|
exports.cloneElement = function(element, config, children) {
|
|
909
909
|
if (null === element || void 0 === element) throw Error("The argument must be a React element, but you passed " + element + ".");
|
|
910
|
-
var props = assign
|
|
910
|
+
var props = assign({}, element.props), key = element.key, owner = element._owner;
|
|
911
911
|
if (null != config) {
|
|
912
912
|
var JSCompiler_inline_result;
|
|
913
913
|
a: {
|
|
914
|
-
if (hasOwnProperty
|
|
914
|
+
if (hasOwnProperty.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(config, "ref").get) && JSCompiler_inline_result.isReactWarning) {
|
|
915
915
|
JSCompiler_inline_result = !1;
|
|
916
916
|
break a;
|
|
917
917
|
}
|
|
@@ -919,7 +919,7 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
919
919
|
}
|
|
920
920
|
JSCompiler_inline_result && (owner = getOwner());
|
|
921
921
|
hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key);
|
|
922
|
-
for (propName in config) !hasOwnProperty
|
|
922
|
+
for (propName in config) !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
|
|
923
923
|
}
|
|
924
924
|
var propName = arguments.length - 2;
|
|
925
925
|
if (1 === propName) props.children = children;
|
|
@@ -928,13 +928,13 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
928
928
|
for (var i = 0; i < propName; i++) JSCompiler_inline_result[i] = arguments[i + 2];
|
|
929
929
|
props.children = JSCompiler_inline_result;
|
|
930
930
|
}
|
|
931
|
-
props = ReactElement
|
|
931
|
+
props = ReactElement(element.type, key, props, owner, element._debugStack, element._debugTask);
|
|
932
932
|
for (key = 2; key < arguments.length; key++) validateChildKeys(arguments[key]);
|
|
933
933
|
return props;
|
|
934
934
|
};
|
|
935
935
|
exports.createContext = function(defaultValue) {
|
|
936
936
|
defaultValue = {
|
|
937
|
-
$$typeof: REACT_CONTEXT_TYPE
|
|
937
|
+
$$typeof: REACT_CONTEXT_TYPE,
|
|
938
938
|
_currentValue: defaultValue,
|
|
939
939
|
_currentValue2: defaultValue,
|
|
940
940
|
_threadCount: 0,
|
|
@@ -943,7 +943,7 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
943
943
|
};
|
|
944
944
|
defaultValue.Provider = defaultValue;
|
|
945
945
|
defaultValue.Consumer = {
|
|
946
|
-
$$typeof: REACT_CONSUMER_TYPE
|
|
946
|
+
$$typeof: REACT_CONSUMER_TYPE,
|
|
947
947
|
_context: defaultValue
|
|
948
948
|
};
|
|
949
949
|
defaultValue._currentRenderer = null;
|
|
@@ -954,7 +954,7 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
954
954
|
for (var i = 2; i < arguments.length; i++) validateChildKeys(arguments[i]);
|
|
955
955
|
i = {};
|
|
956
956
|
var key = null;
|
|
957
|
-
if (null != config) for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = !0, console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config) hasOwnProperty
|
|
957
|
+
if (null != config) for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = !0, console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config) hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
|
|
958
958
|
var childrenLength = arguments.length - 2;
|
|
959
959
|
if (1 === childrenLength) i.children = children;
|
|
960
960
|
else if (1 < childrenLength) {
|
|
@@ -964,8 +964,8 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
964
964
|
}
|
|
965
965
|
if (type && type.defaultProps) for (propName in childrenLength = type.defaultProps, childrenLength) void 0 === i[propName] && (i[propName] = childrenLength[propName]);
|
|
966
966
|
key && defineKeyPropWarningGetter(i, "function" === typeof type ? type.displayName || type.name || "Unknown" : type);
|
|
967
|
-
var propName = 1e4 > ReactSharedInternals
|
|
968
|
-
return ReactElement
|
|
967
|
+
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
968
|
+
return ReactElement(type, key, i, getOwner(), propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack, propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
|
|
969
969
|
};
|
|
970
970
|
exports.createRef = function() {
|
|
971
971
|
var refObject = { current: null };
|
|
@@ -973,10 +973,10 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
973
973
|
return refObject;
|
|
974
974
|
};
|
|
975
975
|
exports.forwardRef = function(render) {
|
|
976
|
-
null != render && render.$$typeof === REACT_MEMO_TYPE
|
|
976
|
+
null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : "function" !== typeof render ? console.error("forwardRef requires a render function but was given %s.", null === render ? "null" : typeof render) : 0 !== render.length && 2 !== render.length && console.error("forwardRef render functions accept exactly two parameters: props and ref. %s", 1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.");
|
|
977
977
|
null != render && null != render.defaultProps && console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");
|
|
978
978
|
var elementType = {
|
|
979
|
-
$$typeof: REACT_FORWARD_REF_TYPE
|
|
979
|
+
$$typeof: REACT_FORWARD_REF_TYPE,
|
|
980
980
|
render
|
|
981
981
|
}, ownName;
|
|
982
982
|
Object.defineProperty(elementType, "displayName", {
|
|
@@ -992,16 +992,16 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
992
992
|
});
|
|
993
993
|
return elementType;
|
|
994
994
|
};
|
|
995
|
-
exports.isValidElement = isValidElement
|
|
995
|
+
exports.isValidElement = isValidElement;
|
|
996
996
|
exports.lazy = function(ctor) {
|
|
997
997
|
ctor = {
|
|
998
998
|
_status: -1,
|
|
999
999
|
_result: ctor
|
|
1000
1000
|
};
|
|
1001
1001
|
var lazyType = {
|
|
1002
|
-
$$typeof: REACT_LAZY_TYPE
|
|
1002
|
+
$$typeof: REACT_LAZY_TYPE,
|
|
1003
1003
|
_payload: ctor,
|
|
1004
|
-
_init: lazyInitializer
|
|
1004
|
+
_init: lazyInitializer
|
|
1005
1005
|
}, ioInfo = {
|
|
1006
1006
|
name: "lazy",
|
|
1007
1007
|
start: -1,
|
|
@@ -1018,7 +1018,7 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
1018
1018
|
exports.memo = function(type, compare) {
|
|
1019
1019
|
null == type && console.error("memo: The first argument must be a component. Instead received: %s", null === type ? "null" : typeof type);
|
|
1020
1020
|
compare = {
|
|
1021
|
-
$$typeof: REACT_MEMO_TYPE
|
|
1021
|
+
$$typeof: REACT_MEMO_TYPE,
|
|
1022
1022
|
type,
|
|
1023
1023
|
compare: void 0 === compare ? null : compare
|
|
1024
1024
|
};
|
|
@@ -1037,17 +1037,17 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
1037
1037
|
return compare;
|
|
1038
1038
|
};
|
|
1039
1039
|
exports.startTransition = function(scope) {
|
|
1040
|
-
var prevTransition = ReactSharedInternals
|
|
1040
|
+
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
1041
1041
|
currentTransition._updatedFibers = /* @__PURE__ */ new Set();
|
|
1042
|
-
ReactSharedInternals
|
|
1042
|
+
ReactSharedInternals.T = currentTransition;
|
|
1043
1043
|
try {
|
|
1044
|
-
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals
|
|
1044
|
+
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
1045
1045
|
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
1046
|
-
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals
|
|
1046
|
+
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
|
|
1047
1047
|
} catch (error) {
|
|
1048
|
-
reportGlobalError
|
|
1048
|
+
reportGlobalError(error);
|
|
1049
1049
|
} finally {
|
|
1050
|
-
null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."), prevTransition.types = currentTransition.types), ReactSharedInternals
|
|
1050
|
+
null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
1051
1051
|
}
|
|
1052
1052
|
};
|
|
1053
1053
|
exports.unstable_useCacheRefresh = function() {
|
|
@@ -1064,7 +1064,7 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
1064
1064
|
};
|
|
1065
1065
|
exports.useContext = function(Context) {
|
|
1066
1066
|
var dispatcher = resolveDispatcher();
|
|
1067
|
-
Context.$$typeof === REACT_CONSUMER_TYPE
|
|
1067
|
+
Context.$$typeof === REACT_CONSUMER_TYPE && console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?");
|
|
1068
1068
|
return dispatcher.useContext(Context);
|
|
1069
1069
|
};
|
|
1070
1070
|
exports.useDebugValue = function(value, formatterFn) {
|
|
@@ -1115,13 +1115,13 @@ var require_react_development = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
|
|
|
1115
1115
|
exports.useTransition = function() {
|
|
1116
1116
|
return resolveDispatcher().useTransition();
|
|
1117
1117
|
};
|
|
1118
|
-
exports.version = "19.2.
|
|
1118
|
+
exports.version = "19.2.1";
|
|
1119
1119
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1120
1120
|
})();
|
|
1121
1121
|
}));
|
|
1122
1122
|
|
|
1123
1123
|
//#endregion
|
|
1124
|
-
//#region ../../node_modules/.pnpm/react@19.2.
|
|
1124
|
+
//#region ../../node_modules/.pnpm/react@19.2.1/node_modules/react/index.js
|
|
1125
1125
|
var require_react = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
|
|
1126
1126
|
if (process.env.NODE_ENV === "production") module.exports = require_react_production();
|
|
1127
1127
|
else module.exports = require_react_development();
|
|
@@ -1134,4 +1134,4 @@ Object.defineProperty(exports, 'require_react', {
|
|
|
1134
1134
|
return require_react;
|
|
1135
1135
|
}
|
|
1136
1136
|
});
|
|
1137
|
-
//# sourceMappingURL=react-
|
|
1137
|
+
//# sourceMappingURL=react-CWV4qQg2.cjs.map
|