@w3ux/factories 2.2.0 → 2.2.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/index.cjs +153 -130
- package/index.cjs.map +1 -0
- package/index.js +153 -130
- package/index.js.map +1 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -24,9 +24,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
mod
|
|
25
25
|
));
|
|
26
26
|
|
|
27
|
-
// ../../node_modules/.pnpm/react@19.
|
|
27
|
+
// ../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.production.js
|
|
28
28
|
var require_react_jsx_runtime_production = __commonJS({
|
|
29
|
-
"../../node_modules/.pnpm/react@19.
|
|
29
|
+
"../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.production.js"(exports) {
|
|
30
30
|
"use strict";
|
|
31
31
|
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
32
32
|
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
@@ -54,9 +54,9 @@ var require_react_jsx_runtime_production = __commonJS({
|
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
|
|
57
|
-
// ../../node_modules/.pnpm/react@19.
|
|
57
|
+
// ../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.production.js
|
|
58
58
|
var require_react_production = __commonJS({
|
|
59
|
-
"../../node_modules/.pnpm/react@19.
|
|
59
|
+
"../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.production.js"(exports) {
|
|
60
60
|
"use strict";
|
|
61
61
|
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
62
62
|
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
@@ -69,6 +69,7 @@ var require_react_production = __commonJS({
|
|
|
69
69
|
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
70
70
|
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
71
71
|
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
72
|
+
var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
|
|
72
73
|
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
73
74
|
function getIteratorFn(maybeIterable) {
|
|
74
75
|
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
@@ -119,27 +120,22 @@ var require_react_production = __commonJS({
|
|
|
119
120
|
assign(pureComponentPrototype, Component.prototype);
|
|
120
121
|
pureComponentPrototype.isPureReactComponent = true;
|
|
121
122
|
var isArrayImpl = Array.isArray;
|
|
122
|
-
|
|
123
|
+
function noop() {
|
|
124
|
+
}
|
|
125
|
+
var ReactSharedInternals = { H: null, A: null, T: null, S: null };
|
|
123
126
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
124
|
-
function ReactElement(type, key,
|
|
125
|
-
|
|
127
|
+
function ReactElement(type, key, props) {
|
|
128
|
+
var refProp = props.ref;
|
|
126
129
|
return {
|
|
127
130
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
128
131
|
type,
|
|
129
132
|
key,
|
|
130
|
-
ref: void 0 !==
|
|
133
|
+
ref: void 0 !== refProp ? refProp : null,
|
|
131
134
|
props
|
|
132
135
|
};
|
|
133
136
|
}
|
|
134
137
|
function cloneAndReplaceKey(oldElement, newKey) {
|
|
135
|
-
return ReactElement(
|
|
136
|
-
oldElement.type,
|
|
137
|
-
newKey,
|
|
138
|
-
void 0,
|
|
139
|
-
void 0,
|
|
140
|
-
void 0,
|
|
141
|
-
oldElement.props
|
|
142
|
-
);
|
|
138
|
+
return ReactElement(oldElement.type, newKey, oldElement.props);
|
|
143
139
|
}
|
|
144
140
|
function isValidElement(object) {
|
|
145
141
|
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
@@ -154,8 +150,6 @@ var require_react_production = __commonJS({
|
|
|
154
150
|
function getElementKey(element, index) {
|
|
155
151
|
return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
|
|
156
152
|
}
|
|
157
|
-
function noop$1() {
|
|
158
|
-
}
|
|
159
153
|
function resolveThenable(thenable) {
|
|
160
154
|
switch (thenable.status) {
|
|
161
155
|
case "fulfilled":
|
|
@@ -163,7 +157,7 @@ var require_react_production = __commonJS({
|
|
|
163
157
|
case "rejected":
|
|
164
158
|
throw thenable.reason;
|
|
165
159
|
default:
|
|
166
|
-
switch ("string" === typeof thenable.status ? thenable.then(noop
|
|
160
|
+
switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
|
|
167
161
|
function(fulfilledValue) {
|
|
168
162
|
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
169
163
|
},
|
|
@@ -295,9 +289,7 @@ var require_react_production = __commonJS({
|
|
|
295
289
|
}
|
|
296
290
|
console.error(error);
|
|
297
291
|
};
|
|
298
|
-
|
|
299
|
-
}
|
|
300
|
-
exports.Children = {
|
|
292
|
+
var Children = {
|
|
301
293
|
map: mapChildren,
|
|
302
294
|
forEach: function(children, forEachFunc, forEachContext) {
|
|
303
295
|
mapChildren(
|
|
@@ -328,6 +320,8 @@ var require_react_production = __commonJS({
|
|
|
328
320
|
return children;
|
|
329
321
|
}
|
|
330
322
|
};
|
|
323
|
+
exports.Activity = REACT_ACTIVITY_TYPE;
|
|
324
|
+
exports.Children = Children;
|
|
331
325
|
exports.Component = Component;
|
|
332
326
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
333
327
|
exports.Profiler = REACT_PROFILER_TYPE;
|
|
@@ -346,14 +340,17 @@ var require_react_production = __commonJS({
|
|
|
346
340
|
return fn.apply(null, arguments);
|
|
347
341
|
};
|
|
348
342
|
};
|
|
343
|
+
exports.cacheSignal = function() {
|
|
344
|
+
return null;
|
|
345
|
+
};
|
|
349
346
|
exports.cloneElement = function(element, config, children) {
|
|
350
347
|
if (null === element || void 0 === element)
|
|
351
348
|
throw Error(
|
|
352
349
|
"The argument must be a React element, but you passed " + element + "."
|
|
353
350
|
);
|
|
354
|
-
var props = assign({}, element.props), key = element.key
|
|
351
|
+
var props = assign({}, element.props), key = element.key;
|
|
355
352
|
if (null != config)
|
|
356
|
-
for (propName in void 0 !== config.
|
|
353
|
+
for (propName in void 0 !== config.key && (key = "" + config.key), config)
|
|
357
354
|
!hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
|
|
358
355
|
var propName = arguments.length - 2;
|
|
359
356
|
if (1 === propName) props.children = children;
|
|
@@ -362,7 +359,7 @@ var require_react_production = __commonJS({
|
|
|
362
359
|
childArray[i] = arguments[i + 2];
|
|
363
360
|
props.children = childArray;
|
|
364
361
|
}
|
|
365
|
-
return ReactElement(element.type, key,
|
|
362
|
+
return ReactElement(element.type, key, props);
|
|
366
363
|
};
|
|
367
364
|
exports.createContext = function(defaultValue) {
|
|
368
365
|
defaultValue = {
|
|
@@ -395,7 +392,7 @@ var require_react_production = __commonJS({
|
|
|
395
392
|
if (type && type.defaultProps)
|
|
396
393
|
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
397
394
|
void 0 === props[propName] && (props[propName] = childrenLength[propName]);
|
|
398
|
-
return ReactElement(type, key,
|
|
395
|
+
return ReactElement(type, key, props);
|
|
399
396
|
};
|
|
400
397
|
exports.createRef = function() {
|
|
401
398
|
return { current: null };
|
|
@@ -428,7 +425,7 @@ var require_react_production = __commonJS({
|
|
|
428
425
|
} catch (error) {
|
|
429
426
|
reportGlobalError(error);
|
|
430
427
|
} finally {
|
|
431
|
-
ReactSharedInternals.T = prevTransition;
|
|
428
|
+
null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
432
429
|
}
|
|
433
430
|
};
|
|
434
431
|
exports.unstable_useCacheRefresh = function() {
|
|
@@ -451,13 +448,11 @@ var require_react_production = __commonJS({
|
|
|
451
448
|
exports.useDeferredValue = function(value, initialValue) {
|
|
452
449
|
return ReactSharedInternals.H.useDeferredValue(value, initialValue);
|
|
453
450
|
};
|
|
454
|
-
exports.useEffect = function(create,
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
);
|
|
460
|
-
return dispatcher.useEffect(create, createDeps);
|
|
451
|
+
exports.useEffect = function(create, deps) {
|
|
452
|
+
return ReactSharedInternals.H.useEffect(create, deps);
|
|
453
|
+
};
|
|
454
|
+
exports.useEffectEvent = function(callback) {
|
|
455
|
+
return ReactSharedInternals.H.useEffectEvent(callback);
|
|
461
456
|
};
|
|
462
457
|
exports.useId = function() {
|
|
463
458
|
return ReactSharedInternals.H.useId();
|
|
@@ -496,15 +491,15 @@ var require_react_production = __commonJS({
|
|
|
496
491
|
exports.useTransition = function() {
|
|
497
492
|
return ReactSharedInternals.H.useTransition();
|
|
498
493
|
};
|
|
499
|
-
exports.version = "19.
|
|
494
|
+
exports.version = "19.2.4";
|
|
500
495
|
}
|
|
501
496
|
});
|
|
502
497
|
|
|
503
|
-
// ../../node_modules/.pnpm/react@19.
|
|
498
|
+
// ../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.development.js
|
|
504
499
|
var require_react_development = __commonJS({
|
|
505
|
-
"../../node_modules/.pnpm/react@19.
|
|
500
|
+
"../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.development.js"(exports, module) {
|
|
506
501
|
"use strict";
|
|
507
|
-
"production" !== process.env.NODE_ENV && function() {
|
|
502
|
+
"production" !== process.env.NODE_ENV && (function() {
|
|
508
503
|
function defineDeprecationWarning(methodName, info) {
|
|
509
504
|
Object.defineProperty(Component.prototype, methodName, {
|
|
510
505
|
get: function() {
|
|
@@ -545,6 +540,8 @@ var require_react_development = __commonJS({
|
|
|
545
540
|
this.refs = emptyObject;
|
|
546
541
|
this.updater = updater || ReactNoopUpdateQueue;
|
|
547
542
|
}
|
|
543
|
+
function noop() {
|
|
544
|
+
}
|
|
548
545
|
function testStringCoercion(value) {
|
|
549
546
|
return "" + value;
|
|
550
547
|
}
|
|
@@ -593,7 +590,7 @@ var require_react_development = __commonJS({
|
|
|
593
590
|
case REACT_PORTAL_TYPE:
|
|
594
591
|
return "Portal";
|
|
595
592
|
case REACT_CONTEXT_TYPE:
|
|
596
|
-
return
|
|
593
|
+
return type.displayName || "Context";
|
|
597
594
|
case REACT_CONSUMER_TYPE:
|
|
598
595
|
return (type._context.displayName || "Context") + ".Consumer";
|
|
599
596
|
case REACT_FORWARD_REF_TYPE:
|
|
@@ -659,8 +656,8 @@ var require_react_development = __commonJS({
|
|
|
659
656
|
componentName = this.props.ref;
|
|
660
657
|
return void 0 !== componentName ? componentName : null;
|
|
661
658
|
}
|
|
662
|
-
function ReactElement(type, key,
|
|
663
|
-
|
|
659
|
+
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
|
660
|
+
var refProp = props.ref;
|
|
664
661
|
type = {
|
|
665
662
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
666
663
|
type,
|
|
@@ -668,7 +665,7 @@ var require_react_development = __commonJS({
|
|
|
668
665
|
props,
|
|
669
666
|
_owner: owner
|
|
670
667
|
};
|
|
671
|
-
null !== (void 0 !==
|
|
668
|
+
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
|
|
672
669
|
enumerable: false,
|
|
673
670
|
get: elementRefGetterWithDeprecationWarning
|
|
674
671
|
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
@@ -704,16 +701,17 @@ var require_react_development = __commonJS({
|
|
|
704
701
|
newKey = ReactElement(
|
|
705
702
|
oldElement.type,
|
|
706
703
|
newKey,
|
|
707
|
-
void 0,
|
|
708
|
-
void 0,
|
|
709
|
-
oldElement._owner,
|
|
710
704
|
oldElement.props,
|
|
705
|
+
oldElement._owner,
|
|
711
706
|
oldElement._debugStack,
|
|
712
707
|
oldElement._debugTask
|
|
713
708
|
);
|
|
714
709
|
oldElement._store && (newKey._store.validated = oldElement._store.validated);
|
|
715
710
|
return newKey;
|
|
716
711
|
}
|
|
712
|
+
function validateChildKeys(node) {
|
|
713
|
+
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));
|
|
714
|
+
}
|
|
717
715
|
function isValidElement(object) {
|
|
718
716
|
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
719
717
|
}
|
|
@@ -726,8 +724,6 @@ var require_react_development = __commonJS({
|
|
|
726
724
|
function getElementKey(element, index) {
|
|
727
725
|
return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
|
|
728
726
|
}
|
|
729
|
-
function noop$1() {
|
|
730
|
-
}
|
|
731
727
|
function resolveThenable(thenable) {
|
|
732
728
|
switch (thenable.status) {
|
|
733
729
|
case "fulfilled":
|
|
@@ -735,7 +731,7 @@ var require_react_development = __commonJS({
|
|
|
735
731
|
case "rejected":
|
|
736
732
|
throw thenable.reason;
|
|
737
733
|
default:
|
|
738
|
-
switch ("string" === typeof thenable.status ? thenable.then(noop
|
|
734
|
+
switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
|
|
739
735
|
function(fulfilledValue) {
|
|
740
736
|
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
741
737
|
},
|
|
@@ -842,28 +838,46 @@ var require_react_development = __commonJS({
|
|
|
842
838
|
}
|
|
843
839
|
function lazyInitializer(payload) {
|
|
844
840
|
if (-1 === payload._status) {
|
|
845
|
-
var
|
|
846
|
-
|
|
847
|
-
|
|
841
|
+
var ioInfo = payload._ioInfo;
|
|
842
|
+
null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
|
|
843
|
+
ioInfo = payload._result;
|
|
844
|
+
var thenable = ioInfo();
|
|
845
|
+
thenable.then(
|
|
848
846
|
function(moduleObject) {
|
|
849
|
-
if (0 === payload._status || -1 === payload._status)
|
|
850
|
-
payload._status = 1
|
|
847
|
+
if (0 === payload._status || -1 === payload._status) {
|
|
848
|
+
payload._status = 1;
|
|
849
|
+
payload._result = moduleObject;
|
|
850
|
+
var _ioInfo = payload._ioInfo;
|
|
851
|
+
null != _ioInfo && (_ioInfo.end = performance.now());
|
|
852
|
+
void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
|
|
853
|
+
}
|
|
851
854
|
},
|
|
852
855
|
function(error) {
|
|
853
|
-
if (0 === payload._status || -1 === payload._status)
|
|
854
|
-
payload._status = 2
|
|
856
|
+
if (0 === payload._status || -1 === payload._status) {
|
|
857
|
+
payload._status = 2;
|
|
858
|
+
payload._result = error;
|
|
859
|
+
var _ioInfo2 = payload._ioInfo;
|
|
860
|
+
null != _ioInfo2 && (_ioInfo2.end = performance.now());
|
|
861
|
+
void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
|
862
|
+
}
|
|
855
863
|
}
|
|
856
864
|
);
|
|
857
|
-
|
|
865
|
+
ioInfo = payload._ioInfo;
|
|
866
|
+
if (null != ioInfo) {
|
|
867
|
+
ioInfo.value = thenable;
|
|
868
|
+
var displayName = thenable.displayName;
|
|
869
|
+
"string" === typeof displayName && (ioInfo.name = displayName);
|
|
870
|
+
}
|
|
871
|
+
-1 === payload._status && (payload._status = 0, payload._result = thenable);
|
|
858
872
|
}
|
|
859
873
|
if (1 === payload._status)
|
|
860
|
-
return
|
|
874
|
+
return ioInfo = payload._result, void 0 === ioInfo && console.error(
|
|
861
875
|
"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?",
|
|
862
|
-
|
|
863
|
-
), "default" in
|
|
876
|
+
ioInfo
|
|
877
|
+
), "default" in ioInfo || console.error(
|
|
864
878
|
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
|
|
865
|
-
|
|
866
|
-
),
|
|
879
|
+
ioInfo
|
|
880
|
+
), ioInfo.default;
|
|
867
881
|
throw payload._result;
|
|
868
882
|
}
|
|
869
883
|
function resolveDispatcher() {
|
|
@@ -873,7 +887,8 @@ var require_react_development = __commonJS({
|
|
|
873
887
|
);
|
|
874
888
|
return dispatcher;
|
|
875
889
|
}
|
|
876
|
-
function
|
|
890
|
+
function releaseAsyncTransition() {
|
|
891
|
+
ReactSharedInternals.asyncTransitions--;
|
|
877
892
|
}
|
|
878
893
|
function enqueueTask(task) {
|
|
879
894
|
if (null === enqueueTaskImpl)
|
|
@@ -949,9 +964,7 @@ var require_react_development = __commonJS({
|
|
|
949
964
|
}
|
|
950
965
|
}
|
|
951
966
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
952
|
-
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")
|
|
953
|
-
Symbol.for("react.provider");
|
|
954
|
-
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 = {
|
|
967
|
+
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 = {
|
|
955
968
|
isMounted: function() {
|
|
956
969
|
return false;
|
|
957
970
|
},
|
|
@@ -986,7 +999,7 @@ var require_react_development = __commonJS({
|
|
|
986
999
|
"replaceState",
|
|
987
1000
|
"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
|
|
988
1001
|
]
|
|
989
|
-
}
|
|
1002
|
+
};
|
|
990
1003
|
for (fnName in deprecatedAPIs)
|
|
991
1004
|
deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
|
992
1005
|
ComponentDummy.prototype = Component.prototype;
|
|
@@ -999,8 +1012,8 @@ var require_react_development = __commonJS({
|
|
|
999
1012
|
A: null,
|
|
1000
1013
|
T: null,
|
|
1001
1014
|
S: null,
|
|
1002
|
-
V: null,
|
|
1003
1015
|
actQueue: null,
|
|
1016
|
+
asyncTransitions: 0,
|
|
1004
1017
|
isBatchingLegacy: false,
|
|
1005
1018
|
didScheduleLegacyUpdate: false,
|
|
1006
1019
|
didUsePromise: false,
|
|
@@ -1011,13 +1024,16 @@ var require_react_development = __commonJS({
|
|
|
1011
1024
|
return null;
|
|
1012
1025
|
};
|
|
1013
1026
|
deprecatedAPIs = {
|
|
1014
|
-
|
|
1027
|
+
react_stack_bottom_frame: function(callStackForError) {
|
|
1015
1028
|
return callStackForError();
|
|
1016
1029
|
}
|
|
1017
1030
|
};
|
|
1018
1031
|
var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
|
|
1019
1032
|
var didWarnAboutElementRef = {};
|
|
1020
|
-
var unknownOwnerDebugStack = deprecatedAPIs
|
|
1033
|
+
var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
|
|
1034
|
+
deprecatedAPIs,
|
|
1035
|
+
UnknownOwner
|
|
1036
|
+
)();
|
|
1021
1037
|
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
1022
1038
|
var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
|
|
1023
1039
|
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
@@ -1044,7 +1060,7 @@ var require_react_development = __commonJS({
|
|
|
1044
1060
|
return resolveDispatcher().useMemoCache(size);
|
|
1045
1061
|
}
|
|
1046
1062
|
});
|
|
1047
|
-
|
|
1063
|
+
var fnName = {
|
|
1048
1064
|
map: mapChildren,
|
|
1049
1065
|
forEach: function(children, forEachFunc, forEachContext) {
|
|
1050
1066
|
mapChildren(
|
|
@@ -1075,6 +1091,8 @@ var require_react_development = __commonJS({
|
|
|
1075
1091
|
return children;
|
|
1076
1092
|
}
|
|
1077
1093
|
};
|
|
1094
|
+
exports.Activity = REACT_ACTIVITY_TYPE;
|
|
1095
|
+
exports.Children = fnName;
|
|
1078
1096
|
exports.Component = Component;
|
|
1079
1097
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
1080
1098
|
exports.Profiler = REACT_PROFILER_TYPE;
|
|
@@ -1165,6 +1183,9 @@ var require_react_development = __commonJS({
|
|
|
1165
1183
|
return fn.apply(null, arguments);
|
|
1166
1184
|
};
|
|
1167
1185
|
};
|
|
1186
|
+
exports.cacheSignal = function() {
|
|
1187
|
+
return null;
|
|
1188
|
+
};
|
|
1168
1189
|
exports.captureOwnerStack = function() {
|
|
1169
1190
|
var getCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
1170
1191
|
return null === getCurrentStack ? null : getCurrentStack();
|
|
@@ -1203,15 +1224,13 @@ var require_react_development = __commonJS({
|
|
|
1203
1224
|
props = ReactElement(
|
|
1204
1225
|
element.type,
|
|
1205
1226
|
key,
|
|
1206
|
-
void 0,
|
|
1207
|
-
void 0,
|
|
1208
|
-
owner,
|
|
1209
1227
|
props,
|
|
1228
|
+
owner,
|
|
1210
1229
|
element._debugStack,
|
|
1211
1230
|
element._debugTask
|
|
1212
1231
|
);
|
|
1213
1232
|
for (key = 2; key < arguments.length; key++)
|
|
1214
|
-
|
|
1233
|
+
validateChildKeys(arguments[key]);
|
|
1215
1234
|
return props;
|
|
1216
1235
|
};
|
|
1217
1236
|
exports.createContext = function(defaultValue) {
|
|
@@ -1233,16 +1252,14 @@ var require_react_development = __commonJS({
|
|
|
1233
1252
|
return defaultValue;
|
|
1234
1253
|
};
|
|
1235
1254
|
exports.createElement = function(type, config, children) {
|
|
1236
|
-
for (var i = 2; i < arguments.length; i++)
|
|
1237
|
-
|
|
1238
|
-
isValidElement(node) && node._store && (node._store.validated = 1);
|
|
1239
|
-
}
|
|
1255
|
+
for (var i = 2; i < arguments.length; i++)
|
|
1256
|
+
validateChildKeys(arguments[i]);
|
|
1240
1257
|
i = {};
|
|
1241
|
-
|
|
1258
|
+
var key = null;
|
|
1242
1259
|
if (null != config)
|
|
1243
1260
|
for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
|
|
1244
1261
|
"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"
|
|
1245
|
-
)), hasValidKey(config) && (checkKeyStringCoercion(config.key),
|
|
1262
|
+
)), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config)
|
|
1246
1263
|
hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
|
|
1247
1264
|
var childrenLength = arguments.length - 2;
|
|
1248
1265
|
if (1 === childrenLength) i.children = children;
|
|
@@ -1255,18 +1272,16 @@ var require_react_development = __commonJS({
|
|
|
1255
1272
|
if (type && type.defaultProps)
|
|
1256
1273
|
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
1257
1274
|
void 0 === i[propName] && (i[propName] = childrenLength[propName]);
|
|
1258
|
-
|
|
1275
|
+
key && defineKeyPropWarningGetter(
|
|
1259
1276
|
i,
|
|
1260
1277
|
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
|
|
1261
1278
|
);
|
|
1262
1279
|
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1263
1280
|
return ReactElement(
|
|
1264
1281
|
type,
|
|
1265
|
-
|
|
1266
|
-
void 0,
|
|
1267
|
-
void 0,
|
|
1268
|
-
getOwner(),
|
|
1282
|
+
key,
|
|
1269
1283
|
i,
|
|
1284
|
+
getOwner(),
|
|
1270
1285
|
propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
1271
1286
|
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1272
1287
|
);
|
|
@@ -1305,11 +1320,23 @@ var require_react_development = __commonJS({
|
|
|
1305
1320
|
};
|
|
1306
1321
|
exports.isValidElement = isValidElement;
|
|
1307
1322
|
exports.lazy = function(ctor) {
|
|
1308
|
-
|
|
1323
|
+
ctor = { _status: -1, _result: ctor };
|
|
1324
|
+
var lazyType = {
|
|
1309
1325
|
$$typeof: REACT_LAZY_TYPE,
|
|
1310
|
-
_payload:
|
|
1326
|
+
_payload: ctor,
|
|
1311
1327
|
_init: lazyInitializer
|
|
1328
|
+
}, ioInfo = {
|
|
1329
|
+
name: "lazy",
|
|
1330
|
+
start: -1,
|
|
1331
|
+
end: -1,
|
|
1332
|
+
value: null,
|
|
1333
|
+
owner: null,
|
|
1334
|
+
debugStack: Error("react-stack-top-frame"),
|
|
1335
|
+
debugTask: console.createTask ? console.createTask("lazy()") : null
|
|
1312
1336
|
};
|
|
1337
|
+
ctor._ioInfo = ioInfo;
|
|
1338
|
+
lazyType._debugInfo = [{ awaited: ioInfo }];
|
|
1339
|
+
return lazyType;
|
|
1313
1340
|
};
|
|
1314
1341
|
exports.memo = function(type, compare) {
|
|
1315
1342
|
null == type && console.error(
|
|
@@ -1337,18 +1364,20 @@ var require_react_development = __commonJS({
|
|
|
1337
1364
|
};
|
|
1338
1365
|
exports.startTransition = function(scope) {
|
|
1339
1366
|
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
1340
|
-
ReactSharedInternals.T = currentTransition;
|
|
1341
1367
|
currentTransition._updatedFibers = /* @__PURE__ */ new Set();
|
|
1368
|
+
ReactSharedInternals.T = currentTransition;
|
|
1342
1369
|
try {
|
|
1343
1370
|
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
1344
1371
|
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
1345
|
-
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
|
|
1372
|
+
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
|
|
1346
1373
|
} catch (error) {
|
|
1347
1374
|
reportGlobalError(error);
|
|
1348
1375
|
} finally {
|
|
1349
1376
|
null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
|
|
1350
1377
|
"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."
|
|
1351
|
-
)),
|
|
1378
|
+
)), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
|
|
1379
|
+
"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."
|
|
1380
|
+
), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
1352
1381
|
}
|
|
1353
1382
|
};
|
|
1354
1383
|
exports.unstable_useCacheRefresh = function() {
|
|
@@ -1380,16 +1409,14 @@ var require_react_development = __commonJS({
|
|
|
1380
1409
|
exports.useDeferredValue = function(value, initialValue) {
|
|
1381
1410
|
return resolveDispatcher().useDeferredValue(value, initialValue);
|
|
1382
1411
|
};
|
|
1383
|
-
exports.useEffect = function(create,
|
|
1412
|
+
exports.useEffect = function(create, deps) {
|
|
1384
1413
|
null == create && console.warn(
|
|
1385
1414
|
"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
1386
1415
|
);
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
);
|
|
1392
|
-
return dispatcher.useEffect(create, createDeps);
|
|
1416
|
+
return resolveDispatcher().useEffect(create, deps);
|
|
1417
|
+
};
|
|
1418
|
+
exports.useEffectEvent = function(callback) {
|
|
1419
|
+
return resolveDispatcher().useEffectEvent(callback);
|
|
1393
1420
|
};
|
|
1394
1421
|
exports.useId = function() {
|
|
1395
1422
|
return resolveDispatcher().useId();
|
|
@@ -1434,15 +1461,15 @@ var require_react_development = __commonJS({
|
|
|
1434
1461
|
exports.useTransition = function() {
|
|
1435
1462
|
return resolveDispatcher().useTransition();
|
|
1436
1463
|
};
|
|
1437
|
-
exports.version = "19.
|
|
1464
|
+
exports.version = "19.2.4";
|
|
1438
1465
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1439
|
-
}();
|
|
1466
|
+
})();
|
|
1440
1467
|
}
|
|
1441
1468
|
});
|
|
1442
1469
|
|
|
1443
|
-
// ../../node_modules/.pnpm/react@19.
|
|
1470
|
+
// ../../node_modules/.pnpm/react@19.2.4/node_modules/react/index.js
|
|
1444
1471
|
var require_react = __commonJS({
|
|
1445
|
-
"../../node_modules/.pnpm/react@19.
|
|
1472
|
+
"../../node_modules/.pnpm/react@19.2.4/node_modules/react/index.js"(exports, module) {
|
|
1446
1473
|
"use strict";
|
|
1447
1474
|
if (process.env.NODE_ENV === "production") {
|
|
1448
1475
|
module.exports = require_react_production();
|
|
@@ -1452,11 +1479,11 @@ var require_react = __commonJS({
|
|
|
1452
1479
|
}
|
|
1453
1480
|
});
|
|
1454
1481
|
|
|
1455
|
-
// ../../node_modules/.pnpm/react@19.
|
|
1482
|
+
// ../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
1456
1483
|
var require_react_jsx_runtime_development = __commonJS({
|
|
1457
|
-
"../../node_modules/.pnpm/react@19.
|
|
1484
|
+
"../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
|
|
1458
1485
|
"use strict";
|
|
1459
|
-
"production" !== process.env.NODE_ENV && function() {
|
|
1486
|
+
"production" !== process.env.NODE_ENV && (function() {
|
|
1460
1487
|
function getComponentNameFromType(type) {
|
|
1461
1488
|
if (null == type) return null;
|
|
1462
1489
|
if ("function" === typeof type)
|
|
@@ -1483,7 +1510,7 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
1483
1510
|
case REACT_PORTAL_TYPE:
|
|
1484
1511
|
return "Portal";
|
|
1485
1512
|
case REACT_CONTEXT_TYPE:
|
|
1486
|
-
return
|
|
1513
|
+
return type.displayName || "Context";
|
|
1487
1514
|
case REACT_CONSUMER_TYPE:
|
|
1488
1515
|
return (type._context.displayName || "Context") + ".Consumer";
|
|
1489
1516
|
case REACT_FORWARD_REF_TYPE:
|
|
@@ -1571,8 +1598,8 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
1571
1598
|
componentName = this.props.ref;
|
|
1572
1599
|
return void 0 !== componentName ? componentName : null;
|
|
1573
1600
|
}
|
|
1574
|
-
function ReactElement(type, key,
|
|
1575
|
-
|
|
1601
|
+
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
|
1602
|
+
var refProp = props.ref;
|
|
1576
1603
|
type = {
|
|
1577
1604
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
1578
1605
|
type,
|
|
@@ -1580,7 +1607,7 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
1580
1607
|
props,
|
|
1581
1608
|
_owner: owner
|
|
1582
1609
|
};
|
|
1583
|
-
null !== (void 0 !==
|
|
1610
|
+
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
|
|
1584
1611
|
enumerable: false,
|
|
1585
1612
|
get: elementRefGetterWithDeprecationWarning
|
|
1586
1613
|
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
@@ -1612,7 +1639,7 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
1612
1639
|
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
1613
1640
|
return type;
|
|
1614
1641
|
}
|
|
1615
|
-
function jsxDEVImpl(type, config, maybeKey, isStaticChildren,
|
|
1642
|
+
function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
|
|
1616
1643
|
var children = config.children;
|
|
1617
1644
|
if (void 0 !== children)
|
|
1618
1645
|
if (isStaticChildren)
|
|
@@ -1654,69 +1681,64 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
1654
1681
|
return ReactElement(
|
|
1655
1682
|
type,
|
|
1656
1683
|
children,
|
|
1657
|
-
self,
|
|
1658
|
-
source,
|
|
1659
|
-
getOwner(),
|
|
1660
1684
|
maybeKey,
|
|
1685
|
+
getOwner(),
|
|
1661
1686
|
debugStack,
|
|
1662
1687
|
debugTask
|
|
1663
1688
|
);
|
|
1664
1689
|
}
|
|
1665
1690
|
function validateChildKeys(node) {
|
|
1666
|
-
"object" === typeof node && null !== node && node.$$typeof ===
|
|
1691
|
+
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));
|
|
1692
|
+
}
|
|
1693
|
+
function isValidElement(object) {
|
|
1694
|
+
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
1667
1695
|
}
|
|
1668
|
-
var React = require_react(), 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")
|
|
1669
|
-
Symbol.for("react.provider");
|
|
1670
|
-
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"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
|
|
1696
|
+
var React = require_react(), 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"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
|
|
1671
1697
|
return null;
|
|
1672
1698
|
};
|
|
1673
1699
|
React = {
|
|
1674
|
-
|
|
1700
|
+
react_stack_bottom_frame: function(callStackForError) {
|
|
1675
1701
|
return callStackForError();
|
|
1676
1702
|
}
|
|
1677
1703
|
};
|
|
1678
1704
|
var specialPropKeyWarningShown;
|
|
1679
1705
|
var didWarnAboutElementRef = {};
|
|
1680
|
-
var unknownOwnerDebugStack = React
|
|
1706
|
+
var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
|
|
1681
1707
|
React,
|
|
1682
1708
|
UnknownOwner
|
|
1683
1709
|
)();
|
|
1684
1710
|
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
1685
1711
|
var didWarnAboutKeySpread = {};
|
|
1686
1712
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
1687
|
-
exports.jsx = function(type, config, maybeKey
|
|
1713
|
+
exports.jsx = function(type, config, maybeKey) {
|
|
1688
1714
|
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1689
1715
|
return jsxDEVImpl(
|
|
1690
1716
|
type,
|
|
1691
1717
|
config,
|
|
1692
1718
|
maybeKey,
|
|
1693
1719
|
false,
|
|
1694
|
-
source,
|
|
1695
|
-
self,
|
|
1696
1720
|
trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
1697
1721
|
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1698
1722
|
);
|
|
1699
1723
|
};
|
|
1700
|
-
exports.jsxs = function(type, config, maybeKey
|
|
1724
|
+
exports.jsxs = function(type, config, maybeKey) {
|
|
1701
1725
|
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1702
1726
|
return jsxDEVImpl(
|
|
1703
1727
|
type,
|
|
1704
1728
|
config,
|
|
1705
1729
|
maybeKey,
|
|
1706
1730
|
true,
|
|
1707
|
-
source,
|
|
1708
|
-
self,
|
|
1709
1731
|
trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
1710
1732
|
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1711
1733
|
);
|
|
1712
1734
|
};
|
|
1713
|
-
}();
|
|
1735
|
+
})();
|
|
1714
1736
|
}
|
|
1715
1737
|
});
|
|
1716
1738
|
|
|
1717
|
-
// ../../node_modules/.pnpm/react@19.
|
|
1739
|
+
// ../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js
|
|
1718
1740
|
var require_jsx_runtime = __commonJS({
|
|
1719
|
-
"../../node_modules/.pnpm/react@19.
|
|
1741
|
+
"../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js"(exports, module) {
|
|
1720
1742
|
"use strict";
|
|
1721
1743
|
if (process.env.NODE_ENV === "production") {
|
|
1722
1744
|
module.exports = require_react_jsx_runtime_production();
|
|
@@ -1729,13 +1751,13 @@ var require_jsx_runtime = __commonJS({
|
|
|
1729
1751
|
// src/withProviders.tsx
|
|
1730
1752
|
var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
|
|
1731
1753
|
var withProviders = (providers, Wrapped) => providers.reduceRight(
|
|
1732
|
-
(acc, prov) => {
|
|
1754
|
+
(acc, prov, idx) => {
|
|
1733
1755
|
if (Array.isArray(prov)) {
|
|
1734
1756
|
const Provider2 = prov[0];
|
|
1735
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Provider2, { ...prov[1], children: acc });
|
|
1757
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Provider2, { ...prov[1], children: acc }, idx);
|
|
1736
1758
|
}
|
|
1737
1759
|
const Provider = prov;
|
|
1738
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Provider, { children: acc });
|
|
1760
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Provider, { children: acc }, idx);
|
|
1739
1761
|
},
|
|
1740
1762
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Wrapped, {})
|
|
1741
1763
|
);
|
|
@@ -1790,3 +1812,4 @@ react/cjs/react-jsx-runtime.development.js:
|
|
|
1790
1812
|
* LICENSE file in the root directory of this source tree.
|
|
1791
1813
|
*)
|
|
1792
1814
|
*/
|
|
1815
|
+
//# sourceMappingURL=index.js.map
|