@xyd-js/content 0.0.0-build-59019b6-20251001224702 → 0.0.0-build-7376fe0-20251003015041
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/CHANGELOG.md +7 -7
- package/dist/index.js +119 -95
- package/dist/index.js.map +1 -1
- package/dist/md.js +119 -95
- package/dist/md.js.map +1 -1
- package/dist/vite.js +119 -95
- package/dist/vite.js.map +1 -1
- package/package.json +7 -7
package/dist/vite.js
CHANGED
|
@@ -28,9 +28,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
mod
|
|
29
29
|
));
|
|
30
30
|
|
|
31
|
-
// ../../node_modules/.pnpm/react@19.
|
|
31
|
+
// ../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.production.js
|
|
32
32
|
var require_react_production = __commonJS({
|
|
33
|
-
"../../node_modules/.pnpm/react@19.
|
|
33
|
+
"../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.production.js"(exports) {
|
|
34
34
|
"use strict";
|
|
35
35
|
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
36
36
|
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
@@ -43,6 +43,7 @@ var require_react_production = __commonJS({
|
|
|
43
43
|
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
44
44
|
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
45
45
|
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
46
|
+
var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
|
|
46
47
|
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
47
48
|
function getIteratorFn(maybeIterable) {
|
|
48
49
|
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
@@ -93,27 +94,22 @@ var require_react_production = __commonJS({
|
|
|
93
94
|
assign(pureComponentPrototype, Component.prototype);
|
|
94
95
|
pureComponentPrototype.isPureReactComponent = true;
|
|
95
96
|
var isArrayImpl = Array.isArray;
|
|
96
|
-
|
|
97
|
+
function noop() {
|
|
98
|
+
}
|
|
99
|
+
var ReactSharedInternals = { H: null, A: null, T: null, S: null };
|
|
97
100
|
var hasOwnProperty3 = Object.prototype.hasOwnProperty;
|
|
98
|
-
function ReactElement(type, key,
|
|
99
|
-
|
|
101
|
+
function ReactElement(type, key, props) {
|
|
102
|
+
var refProp = props.ref;
|
|
100
103
|
return {
|
|
101
104
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
102
105
|
type,
|
|
103
106
|
key,
|
|
104
|
-
ref: void 0 !==
|
|
107
|
+
ref: void 0 !== refProp ? refProp : null,
|
|
105
108
|
props
|
|
106
109
|
};
|
|
107
110
|
}
|
|
108
111
|
function cloneAndReplaceKey(oldElement, newKey) {
|
|
109
|
-
return ReactElement(
|
|
110
|
-
oldElement.type,
|
|
111
|
-
newKey,
|
|
112
|
-
void 0,
|
|
113
|
-
void 0,
|
|
114
|
-
void 0,
|
|
115
|
-
oldElement.props
|
|
116
|
-
);
|
|
112
|
+
return ReactElement(oldElement.type, newKey, oldElement.props);
|
|
117
113
|
}
|
|
118
114
|
function isValidElement2(object) {
|
|
119
115
|
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
@@ -128,8 +124,6 @@ var require_react_production = __commonJS({
|
|
|
128
124
|
function getElementKey(element, index2) {
|
|
129
125
|
return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index2.toString(36);
|
|
130
126
|
}
|
|
131
|
-
function noop$1() {
|
|
132
|
-
}
|
|
133
127
|
function resolveThenable(thenable) {
|
|
134
128
|
switch (thenable.status) {
|
|
135
129
|
case "fulfilled":
|
|
@@ -137,7 +131,7 @@ var require_react_production = __commonJS({
|
|
|
137
131
|
case "rejected":
|
|
138
132
|
throw thenable.reason;
|
|
139
133
|
default:
|
|
140
|
-
switch ("string" === typeof thenable.status ? thenable.then(noop
|
|
134
|
+
switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
|
|
141
135
|
function(fulfilledValue) {
|
|
142
136
|
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
143
137
|
},
|
|
@@ -269,9 +263,7 @@ var require_react_production = __commonJS({
|
|
|
269
263
|
}
|
|
270
264
|
console.error(error);
|
|
271
265
|
};
|
|
272
|
-
|
|
273
|
-
}
|
|
274
|
-
exports.Children = {
|
|
266
|
+
var Children = {
|
|
275
267
|
map: mapChildren,
|
|
276
268
|
forEach: function(children, forEachFunc, forEachContext) {
|
|
277
269
|
mapChildren(
|
|
@@ -302,6 +294,8 @@ var require_react_production = __commonJS({
|
|
|
302
294
|
return children;
|
|
303
295
|
}
|
|
304
296
|
};
|
|
297
|
+
exports.Activity = REACT_ACTIVITY_TYPE;
|
|
298
|
+
exports.Children = Children;
|
|
305
299
|
exports.Component = Component;
|
|
306
300
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
307
301
|
exports.Profiler = REACT_PROFILER_TYPE;
|
|
@@ -320,14 +314,17 @@ var require_react_production = __commonJS({
|
|
|
320
314
|
return fn.apply(null, arguments);
|
|
321
315
|
};
|
|
322
316
|
};
|
|
317
|
+
exports.cacheSignal = function() {
|
|
318
|
+
return null;
|
|
319
|
+
};
|
|
323
320
|
exports.cloneElement = function(element, config, children) {
|
|
324
321
|
if (null === element || void 0 === element)
|
|
325
322
|
throw Error(
|
|
326
323
|
"The argument must be a React element, but you passed " + element + "."
|
|
327
324
|
);
|
|
328
|
-
var props = assign({}, element.props), key = element.key
|
|
325
|
+
var props = assign({}, element.props), key = element.key;
|
|
329
326
|
if (null != config)
|
|
330
|
-
for (propName in void 0 !== config.
|
|
327
|
+
for (propName in void 0 !== config.key && (key = "" + config.key), config)
|
|
331
328
|
!hasOwnProperty3.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
|
|
332
329
|
var propName = arguments.length - 2;
|
|
333
330
|
if (1 === propName) props.children = children;
|
|
@@ -336,7 +333,7 @@ var require_react_production = __commonJS({
|
|
|
336
333
|
childArray[i] = arguments[i + 2];
|
|
337
334
|
props.children = childArray;
|
|
338
335
|
}
|
|
339
|
-
return ReactElement(element.type, key,
|
|
336
|
+
return ReactElement(element.type, key, props);
|
|
340
337
|
};
|
|
341
338
|
exports.createContext = function(defaultValue) {
|
|
342
339
|
defaultValue = {
|
|
@@ -369,7 +366,7 @@ var require_react_production = __commonJS({
|
|
|
369
366
|
if (type && type.defaultProps)
|
|
370
367
|
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
371
368
|
void 0 === props[propName] && (props[propName] = childrenLength[propName]);
|
|
372
|
-
return ReactElement(type, key,
|
|
369
|
+
return ReactElement(type, key, props);
|
|
373
370
|
};
|
|
374
371
|
exports.createRef = function() {
|
|
375
372
|
return { current: null };
|
|
@@ -402,7 +399,7 @@ var require_react_production = __commonJS({
|
|
|
402
399
|
} catch (error) {
|
|
403
400
|
reportGlobalError(error);
|
|
404
401
|
} finally {
|
|
405
|
-
ReactSharedInternals.T = prevTransition;
|
|
402
|
+
null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
406
403
|
}
|
|
407
404
|
};
|
|
408
405
|
exports.unstable_useCacheRefresh = function() {
|
|
@@ -425,13 +422,11 @@ var require_react_production = __commonJS({
|
|
|
425
422
|
exports.useDeferredValue = function(value, initialValue) {
|
|
426
423
|
return ReactSharedInternals.H.useDeferredValue(value, initialValue);
|
|
427
424
|
};
|
|
428
|
-
exports.useEffect = function(create,
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
);
|
|
434
|
-
return dispatcher.useEffect(create, createDeps);
|
|
425
|
+
exports.useEffect = function(create, deps) {
|
|
426
|
+
return ReactSharedInternals.H.useEffect(create, deps);
|
|
427
|
+
};
|
|
428
|
+
exports.useEffectEvent = function(callback) {
|
|
429
|
+
return ReactSharedInternals.H.useEffectEvent(callback);
|
|
435
430
|
};
|
|
436
431
|
exports.useId = function() {
|
|
437
432
|
return ReactSharedInternals.H.useId();
|
|
@@ -470,13 +465,13 @@ var require_react_production = __commonJS({
|
|
|
470
465
|
exports.useTransition = function() {
|
|
471
466
|
return ReactSharedInternals.H.useTransition();
|
|
472
467
|
};
|
|
473
|
-
exports.version = "19.
|
|
468
|
+
exports.version = "19.2.0";
|
|
474
469
|
}
|
|
475
470
|
});
|
|
476
471
|
|
|
477
|
-
// ../../node_modules/.pnpm/react@19.
|
|
472
|
+
// ../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.development.js
|
|
478
473
|
var require_react_development = __commonJS({
|
|
479
|
-
"../../node_modules/.pnpm/react@19.
|
|
474
|
+
"../../node_modules/.pnpm/react@19.2.0/node_modules/react/cjs/react.development.js"(exports, module) {
|
|
480
475
|
"use strict";
|
|
481
476
|
"production" !== process.env.NODE_ENV && (function() {
|
|
482
477
|
function defineDeprecationWarning(methodName, info) {
|
|
@@ -519,6 +514,8 @@ var require_react_development = __commonJS({
|
|
|
519
514
|
this.refs = emptyObject;
|
|
520
515
|
this.updater = updater || ReactNoopUpdateQueue;
|
|
521
516
|
}
|
|
517
|
+
function noop() {
|
|
518
|
+
}
|
|
522
519
|
function testStringCoercion(value) {
|
|
523
520
|
return "" + value;
|
|
524
521
|
}
|
|
@@ -567,7 +564,7 @@ var require_react_development = __commonJS({
|
|
|
567
564
|
case REACT_PORTAL_TYPE:
|
|
568
565
|
return "Portal";
|
|
569
566
|
case REACT_CONTEXT_TYPE:
|
|
570
|
-
return
|
|
567
|
+
return type.displayName || "Context";
|
|
571
568
|
case REACT_CONSUMER_TYPE:
|
|
572
569
|
return (type._context.displayName || "Context") + ".Consumer";
|
|
573
570
|
case REACT_FORWARD_REF_TYPE:
|
|
@@ -633,8 +630,8 @@ var require_react_development = __commonJS({
|
|
|
633
630
|
componentName = this.props.ref;
|
|
634
631
|
return void 0 !== componentName ? componentName : null;
|
|
635
632
|
}
|
|
636
|
-
function ReactElement(type, key,
|
|
637
|
-
|
|
633
|
+
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
|
634
|
+
var refProp = props.ref;
|
|
638
635
|
type = {
|
|
639
636
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
640
637
|
type,
|
|
@@ -642,7 +639,7 @@ var require_react_development = __commonJS({
|
|
|
642
639
|
props,
|
|
643
640
|
_owner: owner
|
|
644
641
|
};
|
|
645
|
-
null !== (void 0 !==
|
|
642
|
+
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
|
|
646
643
|
enumerable: false,
|
|
647
644
|
get: elementRefGetterWithDeprecationWarning
|
|
648
645
|
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
@@ -678,16 +675,17 @@ var require_react_development = __commonJS({
|
|
|
678
675
|
newKey = ReactElement(
|
|
679
676
|
oldElement.type,
|
|
680
677
|
newKey,
|
|
681
|
-
void 0,
|
|
682
|
-
void 0,
|
|
683
|
-
oldElement._owner,
|
|
684
678
|
oldElement.props,
|
|
679
|
+
oldElement._owner,
|
|
685
680
|
oldElement._debugStack,
|
|
686
681
|
oldElement._debugTask
|
|
687
682
|
);
|
|
688
683
|
oldElement._store && (newKey._store.validated = oldElement._store.validated);
|
|
689
684
|
return newKey;
|
|
690
685
|
}
|
|
686
|
+
function validateChildKeys(node) {
|
|
687
|
+
isValidElement2(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement2(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
|
|
688
|
+
}
|
|
691
689
|
function isValidElement2(object) {
|
|
692
690
|
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
693
691
|
}
|
|
@@ -700,8 +698,6 @@ var require_react_development = __commonJS({
|
|
|
700
698
|
function getElementKey(element, index2) {
|
|
701
699
|
return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index2.toString(36);
|
|
702
700
|
}
|
|
703
|
-
function noop$1() {
|
|
704
|
-
}
|
|
705
701
|
function resolveThenable(thenable) {
|
|
706
702
|
switch (thenable.status) {
|
|
707
703
|
case "fulfilled":
|
|
@@ -709,7 +705,7 @@ var require_react_development = __commonJS({
|
|
|
709
705
|
case "rejected":
|
|
710
706
|
throw thenable.reason;
|
|
711
707
|
default:
|
|
712
|
-
switch ("string" === typeof thenable.status ? thenable.then(noop
|
|
708
|
+
switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
|
|
713
709
|
function(fulfilledValue) {
|
|
714
710
|
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
715
711
|
},
|
|
@@ -816,28 +812,46 @@ var require_react_development = __commonJS({
|
|
|
816
812
|
}
|
|
817
813
|
function lazyInitializer(payload) {
|
|
818
814
|
if (-1 === payload._status) {
|
|
819
|
-
var
|
|
820
|
-
|
|
821
|
-
|
|
815
|
+
var ioInfo = payload._ioInfo;
|
|
816
|
+
null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
|
|
817
|
+
ioInfo = payload._result;
|
|
818
|
+
var thenable = ioInfo();
|
|
819
|
+
thenable.then(
|
|
822
820
|
function(moduleObject) {
|
|
823
|
-
if (0 === payload._status || -1 === payload._status)
|
|
824
|
-
payload._status = 1
|
|
821
|
+
if (0 === payload._status || -1 === payload._status) {
|
|
822
|
+
payload._status = 1;
|
|
823
|
+
payload._result = moduleObject;
|
|
824
|
+
var _ioInfo = payload._ioInfo;
|
|
825
|
+
null != _ioInfo && (_ioInfo.end = performance.now());
|
|
826
|
+
void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
|
|
827
|
+
}
|
|
825
828
|
},
|
|
826
829
|
function(error) {
|
|
827
|
-
if (0 === payload._status || -1 === payload._status)
|
|
828
|
-
payload._status = 2
|
|
830
|
+
if (0 === payload._status || -1 === payload._status) {
|
|
831
|
+
payload._status = 2;
|
|
832
|
+
payload._result = error;
|
|
833
|
+
var _ioInfo2 = payload._ioInfo;
|
|
834
|
+
null != _ioInfo2 && (_ioInfo2.end = performance.now());
|
|
835
|
+
void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
|
836
|
+
}
|
|
829
837
|
}
|
|
830
838
|
);
|
|
831
|
-
|
|
839
|
+
ioInfo = payload._ioInfo;
|
|
840
|
+
if (null != ioInfo) {
|
|
841
|
+
ioInfo.value = thenable;
|
|
842
|
+
var displayName = thenable.displayName;
|
|
843
|
+
"string" === typeof displayName && (ioInfo.name = displayName);
|
|
844
|
+
}
|
|
845
|
+
-1 === payload._status && (payload._status = 0, payload._result = thenable);
|
|
832
846
|
}
|
|
833
847
|
if (1 === payload._status)
|
|
834
|
-
return
|
|
848
|
+
return ioInfo = payload._result, void 0 === ioInfo && console.error(
|
|
835
849
|
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
|
|
836
|
-
|
|
837
|
-
), "default" in
|
|
850
|
+
ioInfo
|
|
851
|
+
), "default" in ioInfo || console.error(
|
|
838
852
|
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
|
|
839
|
-
|
|
840
|
-
),
|
|
853
|
+
ioInfo
|
|
854
|
+
), ioInfo.default;
|
|
841
855
|
throw payload._result;
|
|
842
856
|
}
|
|
843
857
|
function resolveDispatcher() {
|
|
@@ -847,7 +861,8 @@ var require_react_development = __commonJS({
|
|
|
847
861
|
);
|
|
848
862
|
return dispatcher;
|
|
849
863
|
}
|
|
850
|
-
function
|
|
864
|
+
function releaseAsyncTransition() {
|
|
865
|
+
ReactSharedInternals.asyncTransitions--;
|
|
851
866
|
}
|
|
852
867
|
function enqueueTask(task) {
|
|
853
868
|
if (null === enqueueTaskImpl)
|
|
@@ -923,9 +938,7 @@ var require_react_development = __commonJS({
|
|
|
923
938
|
}
|
|
924
939
|
}
|
|
925
940
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
926
|
-
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")
|
|
927
|
-
Symbol.for("react.provider");
|
|
928
|
-
var 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 = {
|
|
941
|
+
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 = {
|
|
929
942
|
isMounted: function() {
|
|
930
943
|
return false;
|
|
931
944
|
},
|
|
@@ -960,7 +973,7 @@ var require_react_development = __commonJS({
|
|
|
960
973
|
"replaceState",
|
|
961
974
|
"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
|
|
962
975
|
]
|
|
963
|
-
}
|
|
976
|
+
};
|
|
964
977
|
for (fnName in deprecatedAPIs)
|
|
965
978
|
deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
|
966
979
|
ComponentDummy.prototype = Component.prototype;
|
|
@@ -973,8 +986,8 @@ var require_react_development = __commonJS({
|
|
|
973
986
|
A: null,
|
|
974
987
|
T: null,
|
|
975
988
|
S: null,
|
|
976
|
-
V: null,
|
|
977
989
|
actQueue: null,
|
|
990
|
+
asyncTransitions: 0,
|
|
978
991
|
isBatchingLegacy: false,
|
|
979
992
|
didScheduleLegacyUpdate: false,
|
|
980
993
|
didUsePromise: false,
|
|
@@ -1021,7 +1034,7 @@ var require_react_development = __commonJS({
|
|
|
1021
1034
|
return resolveDispatcher().useMemoCache(size);
|
|
1022
1035
|
}
|
|
1023
1036
|
});
|
|
1024
|
-
|
|
1037
|
+
var fnName = {
|
|
1025
1038
|
map: mapChildren,
|
|
1026
1039
|
forEach: function(children, forEachFunc, forEachContext) {
|
|
1027
1040
|
mapChildren(
|
|
@@ -1052,6 +1065,8 @@ var require_react_development = __commonJS({
|
|
|
1052
1065
|
return children;
|
|
1053
1066
|
}
|
|
1054
1067
|
};
|
|
1068
|
+
exports.Activity = REACT_ACTIVITY_TYPE;
|
|
1069
|
+
exports.Children = fnName;
|
|
1055
1070
|
exports.Component = Component;
|
|
1056
1071
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
1057
1072
|
exports.Profiler = REACT_PROFILER_TYPE;
|
|
@@ -1142,6 +1157,9 @@ var require_react_development = __commonJS({
|
|
|
1142
1157
|
return fn.apply(null, arguments);
|
|
1143
1158
|
};
|
|
1144
1159
|
};
|
|
1160
|
+
exports.cacheSignal = function() {
|
|
1161
|
+
return null;
|
|
1162
|
+
};
|
|
1145
1163
|
exports.captureOwnerStack = function() {
|
|
1146
1164
|
var getCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
1147
1165
|
return null === getCurrentStack ? null : getCurrentStack();
|
|
@@ -1180,15 +1198,13 @@ var require_react_development = __commonJS({
|
|
|
1180
1198
|
props = ReactElement(
|
|
1181
1199
|
element.type,
|
|
1182
1200
|
key,
|
|
1183
|
-
void 0,
|
|
1184
|
-
void 0,
|
|
1185
|
-
owner,
|
|
1186
1201
|
props,
|
|
1202
|
+
owner,
|
|
1187
1203
|
element._debugStack,
|
|
1188
1204
|
element._debugTask
|
|
1189
1205
|
);
|
|
1190
1206
|
for (key = 2; key < arguments.length; key++)
|
|
1191
|
-
|
|
1207
|
+
validateChildKeys(arguments[key]);
|
|
1192
1208
|
return props;
|
|
1193
1209
|
};
|
|
1194
1210
|
exports.createContext = function(defaultValue) {
|
|
@@ -1210,16 +1226,14 @@ var require_react_development = __commonJS({
|
|
|
1210
1226
|
return defaultValue;
|
|
1211
1227
|
};
|
|
1212
1228
|
exports.createElement = function(type, config, children) {
|
|
1213
|
-
for (var i = 2; i < arguments.length; i++)
|
|
1214
|
-
|
|
1215
|
-
isValidElement2(node) && node._store && (node._store.validated = 1);
|
|
1216
|
-
}
|
|
1229
|
+
for (var i = 2; i < arguments.length; i++)
|
|
1230
|
+
validateChildKeys(arguments[i]);
|
|
1217
1231
|
i = {};
|
|
1218
|
-
|
|
1232
|
+
var key = null;
|
|
1219
1233
|
if (null != config)
|
|
1220
1234
|
for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
|
|
1221
1235
|
"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"
|
|
1222
|
-
)), hasValidKey(config) && (checkKeyStringCoercion(config.key),
|
|
1236
|
+
)), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config)
|
|
1223
1237
|
hasOwnProperty3.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
|
|
1224
1238
|
var childrenLength = arguments.length - 2;
|
|
1225
1239
|
if (1 === childrenLength) i.children = children;
|
|
@@ -1232,18 +1246,16 @@ var require_react_development = __commonJS({
|
|
|
1232
1246
|
if (type && type.defaultProps)
|
|
1233
1247
|
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
1234
1248
|
void 0 === i[propName] && (i[propName] = childrenLength[propName]);
|
|
1235
|
-
|
|
1249
|
+
key && defineKeyPropWarningGetter(
|
|
1236
1250
|
i,
|
|
1237
1251
|
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
|
|
1238
1252
|
);
|
|
1239
1253
|
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1240
1254
|
return ReactElement(
|
|
1241
1255
|
type,
|
|
1242
|
-
|
|
1243
|
-
void 0,
|
|
1244
|
-
void 0,
|
|
1245
|
-
getOwner(),
|
|
1256
|
+
key,
|
|
1246
1257
|
i,
|
|
1258
|
+
getOwner(),
|
|
1247
1259
|
propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
1248
1260
|
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1249
1261
|
);
|
|
@@ -1282,11 +1294,23 @@ var require_react_development = __commonJS({
|
|
|
1282
1294
|
};
|
|
1283
1295
|
exports.isValidElement = isValidElement2;
|
|
1284
1296
|
exports.lazy = function(ctor) {
|
|
1285
|
-
|
|
1297
|
+
ctor = { _status: -1, _result: ctor };
|
|
1298
|
+
var lazyType = {
|
|
1286
1299
|
$$typeof: REACT_LAZY_TYPE,
|
|
1287
|
-
_payload:
|
|
1300
|
+
_payload: ctor,
|
|
1288
1301
|
_init: lazyInitializer
|
|
1302
|
+
}, ioInfo = {
|
|
1303
|
+
name: "lazy",
|
|
1304
|
+
start: -1,
|
|
1305
|
+
end: -1,
|
|
1306
|
+
value: null,
|
|
1307
|
+
owner: null,
|
|
1308
|
+
debugStack: Error("react-stack-top-frame"),
|
|
1309
|
+
debugTask: console.createTask ? console.createTask("lazy()") : null
|
|
1289
1310
|
};
|
|
1311
|
+
ctor._ioInfo = ioInfo;
|
|
1312
|
+
lazyType._debugInfo = [{ awaited: ioInfo }];
|
|
1313
|
+
return lazyType;
|
|
1290
1314
|
};
|
|
1291
1315
|
exports.memo = function(type, compare) {
|
|
1292
1316
|
null == type && console.error(
|
|
@@ -1314,18 +1338,20 @@ var require_react_development = __commonJS({
|
|
|
1314
1338
|
};
|
|
1315
1339
|
exports.startTransition = function(scope) {
|
|
1316
1340
|
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
1317
|
-
ReactSharedInternals.T = currentTransition;
|
|
1318
1341
|
currentTransition._updatedFibers = /* @__PURE__ */ new Set();
|
|
1342
|
+
ReactSharedInternals.T = currentTransition;
|
|
1319
1343
|
try {
|
|
1320
1344
|
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
1321
1345
|
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
1322
|
-
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
|
|
1346
|
+
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
|
|
1323
1347
|
} catch (error) {
|
|
1324
1348
|
reportGlobalError(error);
|
|
1325
1349
|
} finally {
|
|
1326
1350
|
null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
|
|
1327
1351
|
"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."
|
|
1328
|
-
)),
|
|
1352
|
+
)), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
|
|
1353
|
+
"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."
|
|
1354
|
+
), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
1329
1355
|
}
|
|
1330
1356
|
};
|
|
1331
1357
|
exports.unstable_useCacheRefresh = function() {
|
|
@@ -1357,16 +1383,14 @@ var require_react_development = __commonJS({
|
|
|
1357
1383
|
exports.useDeferredValue = function(value, initialValue) {
|
|
1358
1384
|
return resolveDispatcher().useDeferredValue(value, initialValue);
|
|
1359
1385
|
};
|
|
1360
|
-
exports.useEffect = function(create,
|
|
1386
|
+
exports.useEffect = function(create, deps) {
|
|
1361
1387
|
null == create && console.warn(
|
|
1362
1388
|
"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
1363
1389
|
);
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
);
|
|
1369
|
-
return dispatcher.useEffect(create, createDeps);
|
|
1390
|
+
return resolveDispatcher().useEffect(create, deps);
|
|
1391
|
+
};
|
|
1392
|
+
exports.useEffectEvent = function(callback) {
|
|
1393
|
+
return resolveDispatcher().useEffectEvent(callback);
|
|
1370
1394
|
};
|
|
1371
1395
|
exports.useId = function() {
|
|
1372
1396
|
return resolveDispatcher().useId();
|
|
@@ -1411,15 +1435,15 @@ var require_react_development = __commonJS({
|
|
|
1411
1435
|
exports.useTransition = function() {
|
|
1412
1436
|
return resolveDispatcher().useTransition();
|
|
1413
1437
|
};
|
|
1414
|
-
exports.version = "19.
|
|
1438
|
+
exports.version = "19.2.0";
|
|
1415
1439
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1416
1440
|
})();
|
|
1417
1441
|
}
|
|
1418
1442
|
});
|
|
1419
1443
|
|
|
1420
|
-
// ../../node_modules/.pnpm/react@19.
|
|
1444
|
+
// ../../node_modules/.pnpm/react@19.2.0/node_modules/react/index.js
|
|
1421
1445
|
var require_react = __commonJS({
|
|
1422
|
-
"../../node_modules/.pnpm/react@19.
|
|
1446
|
+
"../../node_modules/.pnpm/react@19.2.0/node_modules/react/index.js"(exports, module) {
|
|
1423
1447
|
"use strict";
|
|
1424
1448
|
if (process.env.NODE_ENV === "production") {
|
|
1425
1449
|
module.exports = require_react_production();
|