@ttoss/react-billing 0.1.0 → 0.1.1

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.
Files changed (3) hide show
  1. package/dist/esm/index.js +27 -1615
  2. package/dist/index.js +15 -1603
  3. package/package.json +7 -4
package/dist/index.js CHANGED
@@ -45,1267 +45,6 @@ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
45
45
  value: true
46
46
  }), mod);
47
47
 
48
- // ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react.production.js
49
- var require_react_production = __commonJS({
50
- "../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react.production.js"(exports2) {
51
- "use strict";
52
-
53
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
54
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
55
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
56
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
57
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
58
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
59
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
60
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
61
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
62
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
63
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
64
- var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
65
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
66
- function getIteratorFn(maybeIterable) {
67
- if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
68
- maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
69
- return "function" === typeof maybeIterable ? maybeIterable : null;
70
- }
71
- __name(getIteratorFn, "getIteratorFn");
72
- var ReactNoopUpdateQueue = {
73
- isMounted: /* @__PURE__ */__name(function () {
74
- return false;
75
- }, "isMounted"),
76
- enqueueForceUpdate: /* @__PURE__ */__name(function () {}, "enqueueForceUpdate"),
77
- enqueueReplaceState: /* @__PURE__ */__name(function () {}, "enqueueReplaceState"),
78
- enqueueSetState: /* @__PURE__ */__name(function () {}, "enqueueSetState")
79
- };
80
- var assign2 = Object.assign;
81
- var emptyObject = {};
82
- function Component(props, context, updater) {
83
- this.props = props;
84
- this.context = context;
85
- this.refs = emptyObject;
86
- this.updater = updater || ReactNoopUpdateQueue;
87
- }
88
- __name(Component, "Component");
89
- Component.prototype.isReactComponent = {};
90
- Component.prototype.setState = function (partialState, callback) {
91
- 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.");
92
- this.updater.enqueueSetState(this, partialState, callback, "setState");
93
- };
94
- Component.prototype.forceUpdate = function (callback) {
95
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
96
- };
97
- function ComponentDummy() {}
98
- __name(ComponentDummy, "ComponentDummy");
99
- ComponentDummy.prototype = Component.prototype;
100
- function PureComponent(props, context, updater) {
101
- this.props = props;
102
- this.context = context;
103
- this.refs = emptyObject;
104
- this.updater = updater || ReactNoopUpdateQueue;
105
- }
106
- __name(PureComponent, "PureComponent");
107
- var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
108
- pureComponentPrototype.constructor = PureComponent;
109
- assign2(pureComponentPrototype, Component.prototype);
110
- pureComponentPrototype.isPureReactComponent = true;
111
- var isArrayImpl = Array.isArray;
112
- function noop() {}
113
- __name(noop, "noop");
114
- var ReactSharedInternals = {
115
- H: null,
116
- A: null,
117
- T: null,
118
- S: null
119
- };
120
- var hasOwnProperty = Object.prototype.hasOwnProperty;
121
- function ReactElement(type, key, props) {
122
- var refProp = props.ref;
123
- return {
124
- $$typeof: REACT_ELEMENT_TYPE,
125
- type,
126
- key,
127
- ref: void 0 !== refProp ? refProp : null,
128
- props
129
- };
130
- }
131
- __name(ReactElement, "ReactElement");
132
- function cloneAndReplaceKey(oldElement, newKey) {
133
- return ReactElement(oldElement.type, newKey, oldElement.props);
134
- }
135
- __name(cloneAndReplaceKey, "cloneAndReplaceKey");
136
- function isValidElement2(object) {
137
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
138
- }
139
- __name(isValidElement2, "isValidElement");
140
- function escape(key) {
141
- var escaperLookup = {
142
- "=": "=0",
143
- ":": "=2"
144
- };
145
- return "$" + key.replace(/[=:]/g, function (match2) {
146
- return escaperLookup[match2];
147
- });
148
- }
149
- __name(escape, "escape");
150
- var userProvidedKeyEscapeRegex = /\/+/g;
151
- function getElementKey(element, index) {
152
- return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
153
- }
154
- __name(getElementKey, "getElementKey");
155
- function resolveThenable(thenable) {
156
- switch (thenable.status) {
157
- case "fulfilled":
158
- return thenable.value;
159
- case "rejected":
160
- throw thenable.reason;
161
- default:
162
- switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(function (fulfilledValue) {
163
- "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
164
- }, function (error) {
165
- "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
166
- })), thenable.status) {
167
- case "fulfilled":
168
- return thenable.value;
169
- case "rejected":
170
- throw thenable.reason;
171
- }
172
- }
173
- throw thenable;
174
- }
175
- __name(resolveThenable, "resolveThenable");
176
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
177
- var type = typeof children;
178
- if ("undefined" === type || "boolean" === type) children = null;
179
- var invokeCallback = false;
180
- if (null === children) invokeCallback = true;else switch (type) {
181
- case "bigint":
182
- case "string":
183
- case "number":
184
- invokeCallback = true;
185
- break;
186
- case "object":
187
- switch (children.$$typeof) {
188
- case REACT_ELEMENT_TYPE:
189
- case REACT_PORTAL_TYPE:
190
- invokeCallback = true;
191
- break;
192
- case REACT_LAZY_TYPE:
193
- return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback);
194
- }
195
- }
196
- if (invokeCallback) return callback = callback(children), invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function (c) {
197
- return c;
198
- })) : null != callback && (isValidElement2(callback) && (callback = cloneAndReplaceKey(callback, escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(userProvidedKeyEscapeRegex, "$&/") + "/") + invokeCallback)), array.push(callback)), 1;
199
- invokeCallback = 0;
200
- var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
201
- if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if (i = getIteratorFn(children), "function" === typeof i) for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done;) nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if ("object" === type) {
202
- if ("function" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);
203
- array = String(children);
204
- 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.");
205
- }
206
- return invokeCallback;
207
- }
208
- __name(mapIntoArray, "mapIntoArray");
209
- function mapChildren(children, func, context) {
210
- if (null == children) return children;
211
- var result = [],
212
- count = 0;
213
- mapIntoArray(children, result, "", "", function (child) {
214
- return func.call(context, child, count++);
215
- });
216
- return result;
217
- }
218
- __name(mapChildren, "mapChildren");
219
- function lazyInitializer(payload) {
220
- if (-1 === payload._status) {
221
- var ctor = payload._result;
222
- ctor = ctor();
223
- ctor.then(function (moduleObject) {
224
- if (0 === payload._status || -1 === payload._status) payload._status = 1, payload._result = moduleObject;
225
- }, function (error) {
226
- if (0 === payload._status || -1 === payload._status) payload._status = 2, payload._result = error;
227
- });
228
- -1 === payload._status && (payload._status = 0, payload._result = ctor);
229
- }
230
- if (1 === payload._status) return payload._result.default;
231
- throw payload._result;
232
- }
233
- __name(lazyInitializer, "lazyInitializer");
234
- var reportGlobalError = "function" === typeof reportError ? reportError : function (error) {
235
- if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
236
- var event = new window.ErrorEvent("error", {
237
- bubbles: true,
238
- cancelable: true,
239
- message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
240
- error
241
- });
242
- if (!window.dispatchEvent(event)) return;
243
- } else if ("object" === typeof process && "function" === typeof process.emit) {
244
- process.emit("uncaughtException", error);
245
- return;
246
- }
247
- console.error(error);
248
- };
249
- var Children = {
250
- map: mapChildren,
251
- forEach: /* @__PURE__ */__name(function (children, forEachFunc, forEachContext) {
252
- mapChildren(children, function () {
253
- forEachFunc.apply(this, arguments);
254
- }, forEachContext);
255
- }, "forEach"),
256
- count: /* @__PURE__ */__name(function (children) {
257
- var n = 0;
258
- mapChildren(children, function () {
259
- n++;
260
- });
261
- return n;
262
- }, "count"),
263
- toArray: /* @__PURE__ */__name(function (children) {
264
- return mapChildren(children, function (child) {
265
- return child;
266
- }) || [];
267
- }, "toArray"),
268
- only: /* @__PURE__ */__name(function (children) {
269
- if (!isValidElement2(children)) throw Error("React.Children.only expected to receive a single React element child.");
270
- return children;
271
- }, "only")
272
- };
273
- exports2.Activity = REACT_ACTIVITY_TYPE;
274
- exports2.Children = Children;
275
- exports2.Component = Component;
276
- exports2.Fragment = REACT_FRAGMENT_TYPE;
277
- exports2.Profiler = REACT_PROFILER_TYPE;
278
- exports2.PureComponent = PureComponent;
279
- exports2.StrictMode = REACT_STRICT_MODE_TYPE;
280
- exports2.Suspense = REACT_SUSPENSE_TYPE;
281
- exports2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
282
- exports2.__COMPILER_RUNTIME = {
283
- __proto__: null,
284
- c: /* @__PURE__ */__name(function (size) {
285
- return ReactSharedInternals.H.useMemoCache(size);
286
- }, "c")
287
- };
288
- exports2.cache = function (fn) {
289
- return function () {
290
- return fn.apply(null, arguments);
291
- };
292
- };
293
- exports2.cacheSignal = function () {
294
- return null;
295
- };
296
- exports2.cloneElement = function (element, config, children) {
297
- if (null === element || void 0 === element) throw Error("The argument must be a React element, but you passed " + element + ".");
298
- var props = assign2({}, element.props),
299
- key = element.key;
300
- if (null != config) for (propName in void 0 !== config.key && (key = "" + config.key), config) !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
301
- var propName = arguments.length - 2;
302
- if (1 === propName) props.children = children;else if (1 < propName) {
303
- for (var childArray = Array(propName), i = 0; i < propName; i++) childArray[i] = arguments[i + 2];
304
- props.children = childArray;
305
- }
306
- return ReactElement(element.type, key, props);
307
- };
308
- exports2.createContext = function (defaultValue) {
309
- defaultValue = {
310
- $$typeof: REACT_CONTEXT_TYPE,
311
- _currentValue: defaultValue,
312
- _currentValue2: defaultValue,
313
- _threadCount: 0,
314
- Provider: null,
315
- Consumer: null
316
- };
317
- defaultValue.Provider = defaultValue;
318
- defaultValue.Consumer = {
319
- $$typeof: REACT_CONSUMER_TYPE,
320
- _context: defaultValue
321
- };
322
- return defaultValue;
323
- };
324
- exports2.createElement = function (type, config, children) {
325
- var propName,
326
- props = {},
327
- key = null;
328
- if (null != config) for (propName in void 0 !== config.key && (key = "" + config.key), config) hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]);
329
- var childrenLength = arguments.length - 2;
330
- if (1 === childrenLength) props.children = children;else if (1 < childrenLength) {
331
- for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 2];
332
- props.children = childArray;
333
- }
334
- if (type && type.defaultProps) for (propName in childrenLength = type.defaultProps, childrenLength) void 0 === props[propName] && (props[propName] = childrenLength[propName]);
335
- return ReactElement(type, key, props);
336
- };
337
- exports2.createRef = function () {
338
- return {
339
- current: null
340
- };
341
- };
342
- exports2.forwardRef = function (render) {
343
- return {
344
- $$typeof: REACT_FORWARD_REF_TYPE,
345
- render
346
- };
347
- };
348
- exports2.isValidElement = isValidElement2;
349
- exports2.lazy = function (ctor) {
350
- return {
351
- $$typeof: REACT_LAZY_TYPE,
352
- _payload: {
353
- _status: -1,
354
- _result: ctor
355
- },
356
- _init: lazyInitializer
357
- };
358
- };
359
- exports2.memo = function (type, compare) {
360
- return {
361
- $$typeof: REACT_MEMO_TYPE,
362
- type,
363
- compare: void 0 === compare ? null : compare
364
- };
365
- };
366
- exports2.startTransition = function (scope) {
367
- var prevTransition = ReactSharedInternals.T,
368
- currentTransition = {};
369
- ReactSharedInternals.T = currentTransition;
370
- try {
371
- var returnValue = scope(),
372
- onStartTransitionFinish = ReactSharedInternals.S;
373
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
374
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
375
- } catch (error) {
376
- reportGlobalError(error);
377
- } finally {
378
- null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
379
- }
380
- };
381
- exports2.unstable_useCacheRefresh = function () {
382
- return ReactSharedInternals.H.useCacheRefresh();
383
- };
384
- exports2.use = function (usable) {
385
- return ReactSharedInternals.H.use(usable);
386
- };
387
- exports2.useActionState = function (action, initialState, permalink) {
388
- return ReactSharedInternals.H.useActionState(action, initialState, permalink);
389
- };
390
- exports2.useCallback = function (callback, deps) {
391
- return ReactSharedInternals.H.useCallback(callback, deps);
392
- };
393
- exports2.useContext = function (Context) {
394
- return ReactSharedInternals.H.useContext(Context);
395
- };
396
- exports2.useDebugValue = function () {};
397
- exports2.useDeferredValue = function (value, initialValue) {
398
- return ReactSharedInternals.H.useDeferredValue(value, initialValue);
399
- };
400
- exports2.useEffect = function (create, deps) {
401
- return ReactSharedInternals.H.useEffect(create, deps);
402
- };
403
- exports2.useEffectEvent = function (callback) {
404
- return ReactSharedInternals.H.useEffectEvent(callback);
405
- };
406
- exports2.useId = function () {
407
- return ReactSharedInternals.H.useId();
408
- };
409
- exports2.useImperativeHandle = function (ref, create, deps) {
410
- return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
411
- };
412
- exports2.useInsertionEffect = function (create, deps) {
413
- return ReactSharedInternals.H.useInsertionEffect(create, deps);
414
- };
415
- exports2.useLayoutEffect = function (create, deps) {
416
- return ReactSharedInternals.H.useLayoutEffect(create, deps);
417
- };
418
- exports2.useMemo = function (create, deps) {
419
- return ReactSharedInternals.H.useMemo(create, deps);
420
- };
421
- exports2.useOptimistic = function (passthrough, reducer) {
422
- return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
423
- };
424
- exports2.useReducer = function (reducer, initialArg, init) {
425
- return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
426
- };
427
- exports2.useRef = function (initialValue) {
428
- return ReactSharedInternals.H.useRef(initialValue);
429
- };
430
- exports2.useState = function (initialState) {
431
- return ReactSharedInternals.H.useState(initialState);
432
- };
433
- exports2.useSyncExternalStore = function (subscribe, getSnapshot, getServerSnapshot) {
434
- return ReactSharedInternals.H.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
435
- };
436
- exports2.useTransition = function () {
437
- return ReactSharedInternals.H.useTransition();
438
- };
439
- exports2.version = "19.2.1";
440
- }
441
- });
442
-
443
- // ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react.development.js
444
- var require_react_development = __commonJS({
445
- "../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react.development.js"(exports2, module2) {
446
- "use strict";
447
-
448
- "production" !== process.env.NODE_ENV && function () {
449
- function defineDeprecationWarning(methodName, info) {
450
- Object.defineProperty(Component.prototype, methodName, {
451
- get: /* @__PURE__ */__name(function () {
452
- console.warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]);
453
- }, "get")
454
- });
455
- }
456
- __name(defineDeprecationWarning, "defineDeprecationWarning");
457
- function getIteratorFn(maybeIterable) {
458
- if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
459
- maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
460
- return "function" === typeof maybeIterable ? maybeIterable : null;
461
- }
462
- __name(getIteratorFn, "getIteratorFn");
463
- function warnNoop(publicInstance, callerName) {
464
- publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass";
465
- var warningKey = publicInstance + "." + callerName;
466
- 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] = true);
467
- }
468
- __name(warnNoop, "warnNoop");
469
- function Component(props, context, updater) {
470
- this.props = props;
471
- this.context = context;
472
- this.refs = emptyObject;
473
- this.updater = updater || ReactNoopUpdateQueue;
474
- }
475
- __name(Component, "Component");
476
- function ComponentDummy() {}
477
- __name(ComponentDummy, "ComponentDummy");
478
- function PureComponent(props, context, updater) {
479
- this.props = props;
480
- this.context = context;
481
- this.refs = emptyObject;
482
- this.updater = updater || ReactNoopUpdateQueue;
483
- }
484
- __name(PureComponent, "PureComponent");
485
- function noop() {}
486
- __name(noop, "noop");
487
- function testStringCoercion(value) {
488
- return "" + value;
489
- }
490
- __name(testStringCoercion, "testStringCoercion");
491
- function checkKeyStringCoercion(value) {
492
- try {
493
- testStringCoercion(value);
494
- var JSCompiler_inline_result = false;
495
- } catch (e) {
496
- JSCompiler_inline_result = true;
497
- }
498
- if (JSCompiler_inline_result) {
499
- JSCompiler_inline_result = console;
500
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
501
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
502
- JSCompiler_temp_const.call(JSCompiler_inline_result, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", JSCompiler_inline_result$jscomp$0);
503
- return testStringCoercion(value);
504
- }
505
- }
506
- __name(checkKeyStringCoercion, "checkKeyStringCoercion");
507
- function getComponentNameFromType(type) {
508
- if (null == type) return null;
509
- if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
510
- if ("string" === typeof type) return type;
511
- switch (type) {
512
- case REACT_FRAGMENT_TYPE:
513
- return "Fragment";
514
- case REACT_PROFILER_TYPE:
515
- return "Profiler";
516
- case REACT_STRICT_MODE_TYPE:
517
- return "StrictMode";
518
- case REACT_SUSPENSE_TYPE:
519
- return "Suspense";
520
- case REACT_SUSPENSE_LIST_TYPE:
521
- return "SuspenseList";
522
- case REACT_ACTIVITY_TYPE:
523
- return "Activity";
524
- }
525
- 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) {
526
- case REACT_PORTAL_TYPE:
527
- return "Portal";
528
- case REACT_CONTEXT_TYPE:
529
- return type.displayName || "Context";
530
- case REACT_CONSUMER_TYPE:
531
- return (type._context.displayName || "Context") + ".Consumer";
532
- case REACT_FORWARD_REF_TYPE:
533
- var innerType = type.render;
534
- type = type.displayName;
535
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
536
- return type;
537
- case REACT_MEMO_TYPE:
538
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
539
- case REACT_LAZY_TYPE:
540
- innerType = type._payload;
541
- type = type._init;
542
- try {
543
- return getComponentNameFromType(type(innerType));
544
- } catch (x) {}
545
- }
546
- return null;
547
- }
548
- __name(getComponentNameFromType, "getComponentNameFromType");
549
- function getTaskName(type) {
550
- if (type === REACT_FRAGMENT_TYPE) return "<>";
551
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE) return "<...>";
552
- try {
553
- var name = getComponentNameFromType(type);
554
- return name ? "<" + name + ">" : "<...>";
555
- } catch (x) {
556
- return "<...>";
557
- }
558
- }
559
- __name(getTaskName, "getTaskName");
560
- function getOwner() {
561
- var dispatcher = ReactSharedInternals.A;
562
- return null === dispatcher ? null : dispatcher.getOwner();
563
- }
564
- __name(getOwner, "getOwner");
565
- function UnknownOwner() {
566
- return Error("react-stack-top-frame");
567
- }
568
- __name(UnknownOwner, "UnknownOwner");
569
- function hasValidKey(config) {
570
- if (hasOwnProperty.call(config, "key")) {
571
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
572
- if (getter && getter.isReactWarning) return false;
573
- }
574
- return void 0 !== config.key;
575
- }
576
- __name(hasValidKey, "hasValidKey");
577
- function defineKeyPropWarningGetter(props, displayName) {
578
- function warnAboutAccessingKey() {
579
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", displayName));
580
- }
581
- __name(warnAboutAccessingKey, "warnAboutAccessingKey");
582
- warnAboutAccessingKey.isReactWarning = true;
583
- Object.defineProperty(props, "key", {
584
- get: warnAboutAccessingKey,
585
- configurable: true
586
- });
587
- }
588
- __name(defineKeyPropWarningGetter, "defineKeyPropWarningGetter");
589
- function elementRefGetterWithDeprecationWarning() {
590
- var componentName = getComponentNameFromType(this.type);
591
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."));
592
- componentName = this.props.ref;
593
- return void 0 !== componentName ? componentName : null;
594
- }
595
- __name(elementRefGetterWithDeprecationWarning, "elementRefGetterWithDeprecationWarning");
596
- function ReactElement(type, key, props, owner, debugStack, debugTask) {
597
- var refProp = props.ref;
598
- type = {
599
- $$typeof: REACT_ELEMENT_TYPE,
600
- type,
601
- key,
602
- props,
603
- _owner: owner
604
- };
605
- null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
606
- enumerable: false,
607
- get: elementRefGetterWithDeprecationWarning
608
- }) : Object.defineProperty(type, "ref", {
609
- enumerable: false,
610
- value: null
611
- });
612
- type._store = {};
613
- Object.defineProperty(type._store, "validated", {
614
- configurable: false,
615
- enumerable: false,
616
- writable: true,
617
- value: 0
618
- });
619
- Object.defineProperty(type, "_debugInfo", {
620
- configurable: false,
621
- enumerable: false,
622
- writable: true,
623
- value: null
624
- });
625
- Object.defineProperty(type, "_debugStack", {
626
- configurable: false,
627
- enumerable: false,
628
- writable: true,
629
- value: debugStack
630
- });
631
- Object.defineProperty(type, "_debugTask", {
632
- configurable: false,
633
- enumerable: false,
634
- writable: true,
635
- value: debugTask
636
- });
637
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
638
- return type;
639
- }
640
- __name(ReactElement, "ReactElement");
641
- function cloneAndReplaceKey(oldElement, newKey) {
642
- newKey = ReactElement(oldElement.type, newKey, oldElement.props, oldElement._owner, oldElement._debugStack, oldElement._debugTask);
643
- oldElement._store && (newKey._store.validated = oldElement._store.validated);
644
- return newKey;
645
- }
646
- __name(cloneAndReplaceKey, "cloneAndReplaceKey");
647
- function validateChildKeys(node2) {
648
- isValidElement2(node2) ? node2._store && (node2._store.validated = 1) : "object" === typeof node2 && null !== node2 && node2.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node2._payload.status ? isValidElement2(node2._payload.value) && node2._payload.value._store && (node2._payload.value._store.validated = 1) : node2._store && (node2._store.validated = 1));
649
- }
650
- __name(validateChildKeys, "validateChildKeys");
651
- function isValidElement2(object) {
652
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
653
- }
654
- __name(isValidElement2, "isValidElement");
655
- function escape(key) {
656
- var escaperLookup = {
657
- "=": "=0",
658
- ":": "=2"
659
- };
660
- return "$" + key.replace(/[=:]/g, function (match2) {
661
- return escaperLookup[match2];
662
- });
663
- }
664
- __name(escape, "escape");
665
- function getElementKey(element, index) {
666
- return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
667
- }
668
- __name(getElementKey, "getElementKey");
669
- function resolveThenable(thenable) {
670
- switch (thenable.status) {
671
- case "fulfilled":
672
- return thenable.value;
673
- case "rejected":
674
- throw thenable.reason;
675
- default:
676
- switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(function (fulfilledValue) {
677
- "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
678
- }, function (error) {
679
- "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
680
- })), thenable.status) {
681
- case "fulfilled":
682
- return thenable.value;
683
- case "rejected":
684
- throw thenable.reason;
685
- }
686
- }
687
- throw thenable;
688
- }
689
- __name(resolveThenable, "resolveThenable");
690
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
691
- var type = typeof children;
692
- if ("undefined" === type || "boolean" === type) children = null;
693
- var invokeCallback = false;
694
- if (null === children) invokeCallback = true;else switch (type) {
695
- case "bigint":
696
- case "string":
697
- case "number":
698
- invokeCallback = true;
699
- break;
700
- case "object":
701
- switch (children.$$typeof) {
702
- case REACT_ELEMENT_TYPE:
703
- case REACT_PORTAL_TYPE:
704
- invokeCallback = true;
705
- break;
706
- case REACT_LAZY_TYPE:
707
- return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback);
708
- }
709
- }
710
- if (invokeCallback) {
711
- invokeCallback = children;
712
- callback = callback(invokeCallback);
713
- var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
714
- isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function (c) {
715
- return c;
716
- })) : null != callback && (isValidElement2(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 && isValidElement2(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));
717
- return 1;
718
- }
719
- invokeCallback = 0;
720
- childKey = "" === nameSoFar ? "." : nameSoFar + ":";
721
- 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);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 = true), 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);else if ("object" === type) {
722
- if ("function" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);
723
- array = String(children);
724
- 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.");
725
- }
726
- return invokeCallback;
727
- }
728
- __name(mapIntoArray, "mapIntoArray");
729
- function mapChildren(children, func, context) {
730
- if (null == children) return children;
731
- var result = [],
732
- count = 0;
733
- mapIntoArray(children, result, "", "", function (child) {
734
- return func.call(context, child, count++);
735
- });
736
- return result;
737
- }
738
- __name(mapChildren, "mapChildren");
739
- function lazyInitializer(payload) {
740
- if (-1 === payload._status) {
741
- var ioInfo = payload._ioInfo;
742
- null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
743
- ioInfo = payload._result;
744
- var thenable = ioInfo();
745
- thenable.then(function (moduleObject) {
746
- if (0 === payload._status || -1 === payload._status) {
747
- payload._status = 1;
748
- payload._result = moduleObject;
749
- var _ioInfo = payload._ioInfo;
750
- null != _ioInfo && (_ioInfo.end = performance.now());
751
- void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
752
- }
753
- }, function (error) {
754
- if (0 === payload._status || -1 === payload._status) {
755
- payload._status = 2;
756
- payload._result = error;
757
- var _ioInfo2 = payload._ioInfo;
758
- null != _ioInfo2 && (_ioInfo2.end = performance.now());
759
- void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
760
- }
761
- });
762
- ioInfo = payload._ioInfo;
763
- if (null != ioInfo) {
764
- ioInfo.value = thenable;
765
- var displayName = thenable.displayName;
766
- "string" === typeof displayName && (ioInfo.name = displayName);
767
- }
768
- -1 === payload._status && (payload._status = 0, payload._result = thenable);
769
- }
770
- if (1 === payload._status) return ioInfo = payload._result, void 0 === ioInfo && console.error("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?", ioInfo), "default" in ioInfo || console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))", ioInfo), ioInfo.default;
771
- throw payload._result;
772
- }
773
- __name(lazyInitializer, "lazyInitializer");
774
- function resolveDispatcher() {
775
- var dispatcher = ReactSharedInternals.H;
776
- 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.");
777
- return dispatcher;
778
- }
779
- __name(resolveDispatcher, "resolveDispatcher");
780
- function releaseAsyncTransition() {
781
- ReactSharedInternals.asyncTransitions--;
782
- }
783
- __name(releaseAsyncTransition, "releaseAsyncTransition");
784
- function enqueueTask(task) {
785
- if (null === enqueueTaskImpl) try {
786
- var requireString = ("require" + Math.random()).slice(0, 7);
787
- enqueueTaskImpl = (module2 && module2[requireString]).call(module2, "timers").setImmediate;
788
- } catch (_err) {
789
- enqueueTaskImpl = /* @__PURE__ */__name(function (callback) {
790
- false === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = true, "undefined" === typeof MessageChannel && console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
791
- var channel = new MessageChannel();
792
- channel.port1.onmessage = callback;
793
- channel.port2.postMessage(void 0);
794
- }, "enqueueTaskImpl");
795
- }
796
- return enqueueTaskImpl(task);
797
- }
798
- __name(enqueueTask, "enqueueTask");
799
- function aggregateErrors(errors) {
800
- return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0];
801
- }
802
- __name(aggregateErrors, "aggregateErrors");
803
- function popActScope(prevActQueue, prevActScopeDepth) {
804
- prevActScopeDepth !== actScopeDepth - 1 && console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");
805
- actScopeDepth = prevActScopeDepth;
806
- }
807
- __name(popActScope, "popActScope");
808
- function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
809
- var queue = ReactSharedInternals.actQueue;
810
- if (null !== queue) if (0 !== queue.length) try {
811
- flushActQueue(queue);
812
- enqueueTask(function () {
813
- return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
814
- });
815
- return;
816
- } catch (error) {
817
- ReactSharedInternals.thrownErrors.push(error);
818
- } else ReactSharedInternals.actQueue = null;
819
- 0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);
820
- }
821
- __name(recursivelyFlushAsyncActWork, "recursivelyFlushAsyncActWork");
822
- function flushActQueue(queue) {
823
- if (!isFlushing) {
824
- isFlushing = true;
825
- var i = 0;
826
- try {
827
- for (; i < queue.length; i++) {
828
- var callback = queue[i];
829
- do {
830
- ReactSharedInternals.didUsePromise = false;
831
- var continuation = callback(false);
832
- if (null !== continuation) {
833
- if (ReactSharedInternals.didUsePromise) {
834
- queue[i] = callback;
835
- queue.splice(0, i);
836
- return;
837
- }
838
- callback = continuation;
839
- } else break;
840
- } while (1);
841
- }
842
- queue.length = 0;
843
- } catch (error) {
844
- queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
845
- } finally {
846
- isFlushing = false;
847
- }
848
- }
849
- }
850
- __name(flushActQueue, "flushActQueue");
851
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
852
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
853
- REACT_PORTAL_TYPE = Symbol.for("react.portal"),
854
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
855
- REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
856
- REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
857
- REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
858
- REACT_CONTEXT_TYPE = Symbol.for("react.context"),
859
- REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
860
- REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
861
- REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
862
- REACT_MEMO_TYPE = Symbol.for("react.memo"),
863
- REACT_LAZY_TYPE = Symbol.for("react.lazy"),
864
- REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
865
- MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
866
- didWarnStateUpdateForUnmountedComponent = {},
867
- ReactNoopUpdateQueue = {
868
- isMounted: /* @__PURE__ */__name(function () {
869
- return false;
870
- }, "isMounted"),
871
- enqueueForceUpdate: /* @__PURE__ */__name(function (publicInstance) {
872
- warnNoop(publicInstance, "forceUpdate");
873
- }, "enqueueForceUpdate"),
874
- enqueueReplaceState: /* @__PURE__ */__name(function (publicInstance) {
875
- warnNoop(publicInstance, "replaceState");
876
- }, "enqueueReplaceState"),
877
- enqueueSetState: /* @__PURE__ */__name(function (publicInstance) {
878
- warnNoop(publicInstance, "setState");
879
- }, "enqueueSetState")
880
- },
881
- assign2 = Object.assign,
882
- emptyObject = {};
883
- Object.freeze(emptyObject);
884
- Component.prototype.isReactComponent = {};
885
- Component.prototype.setState = function (partialState, callback) {
886
- 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.");
887
- this.updater.enqueueSetState(this, partialState, callback, "setState");
888
- };
889
- Component.prototype.forceUpdate = function (callback) {
890
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
891
- };
892
- var deprecatedAPIs = {
893
- isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
894
- replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
895
- };
896
- for (fnName in deprecatedAPIs) deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
897
- ComponentDummy.prototype = Component.prototype;
898
- deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
899
- deprecatedAPIs.constructor = PureComponent;
900
- assign2(deprecatedAPIs, Component.prototype);
901
- deprecatedAPIs.isPureReactComponent = true;
902
- var isArrayImpl = Array.isArray,
903
- REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
904
- ReactSharedInternals = {
905
- H: null,
906
- A: null,
907
- T: null,
908
- S: null,
909
- actQueue: null,
910
- asyncTransitions: 0,
911
- isBatchingLegacy: false,
912
- didScheduleLegacyUpdate: false,
913
- didUsePromise: false,
914
- thrownErrors: [],
915
- getCurrentStack: null,
916
- recentlyCreatedOwnerStacks: 0
917
- },
918
- hasOwnProperty = Object.prototype.hasOwnProperty,
919
- createTask = console.createTask ? console.createTask : function () {
920
- return null;
921
- };
922
- deprecatedAPIs = {
923
- react_stack_bottom_frame: /* @__PURE__ */__name(function (callStackForError) {
924
- return callStackForError();
925
- }, "react_stack_bottom_frame")
926
- };
927
- var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
928
- var didWarnAboutElementRef = {};
929
- var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(deprecatedAPIs, UnknownOwner)();
930
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
931
- var didWarnAboutMaps = false,
932
- userProvidedKeyEscapeRegex = /\/+/g,
933
- reportGlobalError = "function" === typeof reportError ? reportError : function (error) {
934
- if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
935
- var event = new window.ErrorEvent("error", {
936
- bubbles: true,
937
- cancelable: true,
938
- message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
939
- error
940
- });
941
- if (!window.dispatchEvent(event)) return;
942
- } else if ("object" === typeof process && "function" === typeof process.emit) {
943
- process.emit("uncaughtException", error);
944
- return;
945
- }
946
- console.error(error);
947
- },
948
- didWarnAboutMessageChannel = false,
949
- enqueueTaskImpl = null,
950
- actScopeDepth = 0,
951
- didWarnNoAwaitAct = false,
952
- isFlushing = false,
953
- queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function (callback) {
954
- queueMicrotask(function () {
955
- return queueMicrotask(callback);
956
- });
957
- } : enqueueTask;
958
- deprecatedAPIs = Object.freeze({
959
- __proto__: null,
960
- c: /* @__PURE__ */__name(function (size) {
961
- return resolveDispatcher().useMemoCache(size);
962
- }, "c")
963
- });
964
- var fnName = {
965
- map: mapChildren,
966
- forEach: /* @__PURE__ */__name(function (children, forEachFunc, forEachContext) {
967
- mapChildren(children, function () {
968
- forEachFunc.apply(this, arguments);
969
- }, forEachContext);
970
- }, "forEach"),
971
- count: /* @__PURE__ */__name(function (children) {
972
- var n = 0;
973
- mapChildren(children, function () {
974
- n++;
975
- });
976
- return n;
977
- }, "count"),
978
- toArray: /* @__PURE__ */__name(function (children) {
979
- return mapChildren(children, function (child) {
980
- return child;
981
- }) || [];
982
- }, "toArray"),
983
- only: /* @__PURE__ */__name(function (children) {
984
- if (!isValidElement2(children)) throw Error("React.Children.only expected to receive a single React element child.");
985
- return children;
986
- }, "only")
987
- };
988
- exports2.Activity = REACT_ACTIVITY_TYPE;
989
- exports2.Children = fnName;
990
- exports2.Component = Component;
991
- exports2.Fragment = REACT_FRAGMENT_TYPE;
992
- exports2.Profiler = REACT_PROFILER_TYPE;
993
- exports2.PureComponent = PureComponent;
994
- exports2.StrictMode = REACT_STRICT_MODE_TYPE;
995
- exports2.Suspense = REACT_SUSPENSE_TYPE;
996
- exports2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
997
- exports2.__COMPILER_RUNTIME = deprecatedAPIs;
998
- exports2.act = function (callback) {
999
- var prevActQueue = ReactSharedInternals.actQueue,
1000
- prevActScopeDepth = actScopeDepth;
1001
- actScopeDepth++;
1002
- var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [],
1003
- didAwaitActCall = false;
1004
- try {
1005
- var result = callback();
1006
- } catch (error) {
1007
- ReactSharedInternals.thrownErrors.push(error);
1008
- }
1009
- if (0 < ReactSharedInternals.thrownErrors.length) throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
1010
- if (null !== result && "object" === typeof result && "function" === typeof result.then) {
1011
- var thenable = result;
1012
- queueSeveralMicrotasks(function () {
1013
- didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
1014
- });
1015
- return {
1016
- then: /* @__PURE__ */__name(function (resolve, reject) {
1017
- didAwaitActCall = true;
1018
- thenable.then(function (returnValue) {
1019
- popActScope(prevActQueue, prevActScopeDepth);
1020
- if (0 === prevActScopeDepth) {
1021
- try {
1022
- flushActQueue(queue), enqueueTask(function () {
1023
- return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
1024
- });
1025
- } catch (error$0) {
1026
- ReactSharedInternals.thrownErrors.push(error$0);
1027
- }
1028
- if (0 < ReactSharedInternals.thrownErrors.length) {
1029
- var _thrownError = aggregateErrors(ReactSharedInternals.thrownErrors);
1030
- ReactSharedInternals.thrownErrors.length = 0;
1031
- reject(_thrownError);
1032
- }
1033
- } else resolve(returnValue);
1034
- }, function (error) {
1035
- popActScope(prevActQueue, prevActScopeDepth);
1036
- 0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);
1037
- });
1038
- }, "then")
1039
- };
1040
- }
1041
- var returnValue$jscomp$0 = result;
1042
- popActScope(prevActQueue, prevActScopeDepth);
1043
- 0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function () {
1044
- didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, 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(() => ...)"));
1045
- }), ReactSharedInternals.actQueue = null);
1046
- if (0 < ReactSharedInternals.thrownErrors.length) throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
1047
- return {
1048
- then: /* @__PURE__ */__name(function (resolve, reject) {
1049
- didAwaitActCall = true;
1050
- 0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function () {
1051
- return recursivelyFlushAsyncActWork(returnValue$jscomp$0, resolve, reject);
1052
- })) : resolve(returnValue$jscomp$0);
1053
- }, "then")
1054
- };
1055
- };
1056
- exports2.cache = function (fn) {
1057
- return function () {
1058
- return fn.apply(null, arguments);
1059
- };
1060
- };
1061
- exports2.cacheSignal = function () {
1062
- return null;
1063
- };
1064
- exports2.captureOwnerStack = function () {
1065
- var getCurrentStack = ReactSharedInternals.getCurrentStack;
1066
- return null === getCurrentStack ? null : getCurrentStack();
1067
- };
1068
- exports2.cloneElement = function (element, config, children) {
1069
- if (null === element || void 0 === element) throw Error("The argument must be a React element, but you passed " + element + ".");
1070
- var props = assign2({}, element.props),
1071
- key = element.key,
1072
- owner = element._owner;
1073
- if (null != config) {
1074
- var JSCompiler_inline_result;
1075
- a: {
1076
- if (hasOwnProperty.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(config, "ref").get) && JSCompiler_inline_result.isReactWarning) {
1077
- JSCompiler_inline_result = false;
1078
- break a;
1079
- }
1080
- JSCompiler_inline_result = void 0 !== config.ref;
1081
- }
1082
- JSCompiler_inline_result && (owner = getOwner());
1083
- hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key);
1084
- for (propName in config) !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
1085
- }
1086
- var propName = arguments.length - 2;
1087
- if (1 === propName) props.children = children;else if (1 < propName) {
1088
- JSCompiler_inline_result = Array(propName);
1089
- for (var i = 0; i < propName; i++) JSCompiler_inline_result[i] = arguments[i + 2];
1090
- props.children = JSCompiler_inline_result;
1091
- }
1092
- props = ReactElement(element.type, key, props, owner, element._debugStack, element._debugTask);
1093
- for (key = 2; key < arguments.length; key++) validateChildKeys(arguments[key]);
1094
- return props;
1095
- };
1096
- exports2.createContext = function (defaultValue) {
1097
- defaultValue = {
1098
- $$typeof: REACT_CONTEXT_TYPE,
1099
- _currentValue: defaultValue,
1100
- _currentValue2: defaultValue,
1101
- _threadCount: 0,
1102
- Provider: null,
1103
- Consumer: null
1104
- };
1105
- defaultValue.Provider = defaultValue;
1106
- defaultValue.Consumer = {
1107
- $$typeof: REACT_CONSUMER_TYPE,
1108
- _context: defaultValue
1109
- };
1110
- defaultValue._currentRenderer = null;
1111
- defaultValue._currentRenderer2 = null;
1112
- return defaultValue;
1113
- };
1114
- exports2.createElement = function (type, config, children) {
1115
- for (var i = 2; i < arguments.length; i++) validateChildKeys(arguments[i]);
1116
- i = {};
1117
- var key = null;
1118
- if (null != config) for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, 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]);
1119
- var childrenLength = arguments.length - 2;
1120
- if (1 === childrenLength) i.children = children;else if (1 < childrenLength) {
1121
- for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++) childArray[_i] = arguments[_i + 2];
1122
- Object.freeze && Object.freeze(childArray);
1123
- i.children = childArray;
1124
- }
1125
- if (type && type.defaultProps) for (propName in childrenLength = type.defaultProps, childrenLength) void 0 === i[propName] && (i[propName] = childrenLength[propName]);
1126
- key && defineKeyPropWarningGetter(i, "function" === typeof type ? type.displayName || type.name || "Unknown" : type);
1127
- var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1128
- return ReactElement(type, key, i, getOwner(), propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack, propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
1129
- };
1130
- exports2.createRef = function () {
1131
- var refObject = {
1132
- current: null
1133
- };
1134
- Object.seal(refObject);
1135
- return refObject;
1136
- };
1137
- exports2.forwardRef = function (render) {
1138
- 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.");
1139
- null != render && null != render.defaultProps && console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");
1140
- var elementType = {
1141
- $$typeof: REACT_FORWARD_REF_TYPE,
1142
- render
1143
- },
1144
- ownName;
1145
- Object.defineProperty(elementType, "displayName", {
1146
- enumerable: false,
1147
- configurable: true,
1148
- get: /* @__PURE__ */__name(function () {
1149
- return ownName;
1150
- }, "get"),
1151
- set: /* @__PURE__ */__name(function (name) {
1152
- ownName = name;
1153
- render.name || render.displayName || (Object.defineProperty(render, "name", {
1154
- value: name
1155
- }), render.displayName = name);
1156
- }, "set")
1157
- });
1158
- return elementType;
1159
- };
1160
- exports2.isValidElement = isValidElement2;
1161
- exports2.lazy = function (ctor) {
1162
- ctor = {
1163
- _status: -1,
1164
- _result: ctor
1165
- };
1166
- var lazyType = {
1167
- $$typeof: REACT_LAZY_TYPE,
1168
- _payload: ctor,
1169
- _init: lazyInitializer
1170
- },
1171
- ioInfo = {
1172
- name: "lazy",
1173
- start: -1,
1174
- end: -1,
1175
- value: null,
1176
- owner: null,
1177
- debugStack: Error("react-stack-top-frame"),
1178
- debugTask: console.createTask ? console.createTask("lazy()") : null
1179
- };
1180
- ctor._ioInfo = ioInfo;
1181
- lazyType._debugInfo = [{
1182
- awaited: ioInfo
1183
- }];
1184
- return lazyType;
1185
- };
1186
- exports2.memo = function (type, compare) {
1187
- null == type && console.error("memo: The first argument must be a component. Instead received: %s", null === type ? "null" : typeof type);
1188
- compare = {
1189
- $$typeof: REACT_MEMO_TYPE,
1190
- type,
1191
- compare: void 0 === compare ? null : compare
1192
- };
1193
- var ownName;
1194
- Object.defineProperty(compare, "displayName", {
1195
- enumerable: false,
1196
- configurable: true,
1197
- get: /* @__PURE__ */__name(function () {
1198
- return ownName;
1199
- }, "get"),
1200
- set: /* @__PURE__ */__name(function (name) {
1201
- ownName = name;
1202
- type.name || type.displayName || (Object.defineProperty(type, "name", {
1203
- value: name
1204
- }), type.displayName = name);
1205
- }, "set")
1206
- });
1207
- return compare;
1208
- };
1209
- exports2.startTransition = function (scope) {
1210
- var prevTransition = ReactSharedInternals.T,
1211
- currentTransition = {};
1212
- currentTransition._updatedFibers = /* @__PURE__ */new Set();
1213
- ReactSharedInternals.T = currentTransition;
1214
- try {
1215
- var returnValue = scope(),
1216
- onStartTransitionFinish = ReactSharedInternals.S;
1217
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
1218
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
1219
- } catch (error) {
1220
- reportGlobalError(error);
1221
- } finally {
1222
- 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;
1223
- }
1224
- };
1225
- exports2.unstable_useCacheRefresh = function () {
1226
- return resolveDispatcher().useCacheRefresh();
1227
- };
1228
- exports2.use = function (usable) {
1229
- return resolveDispatcher().use(usable);
1230
- };
1231
- exports2.useActionState = function (action, initialState, permalink) {
1232
- return resolveDispatcher().useActionState(action, initialState, permalink);
1233
- };
1234
- exports2.useCallback = function (callback, deps) {
1235
- return resolveDispatcher().useCallback(callback, deps);
1236
- };
1237
- exports2.useContext = function (Context) {
1238
- var dispatcher = resolveDispatcher();
1239
- 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?");
1240
- return dispatcher.useContext(Context);
1241
- };
1242
- exports2.useDebugValue = function (value, formatterFn) {
1243
- return resolveDispatcher().useDebugValue(value, formatterFn);
1244
- };
1245
- exports2.useDeferredValue = function (value, initialValue) {
1246
- return resolveDispatcher().useDeferredValue(value, initialValue);
1247
- };
1248
- exports2.useEffect = function (create, deps) {
1249
- null == create && console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");
1250
- return resolveDispatcher().useEffect(create, deps);
1251
- };
1252
- exports2.useEffectEvent = function (callback) {
1253
- return resolveDispatcher().useEffectEvent(callback);
1254
- };
1255
- exports2.useId = function () {
1256
- return resolveDispatcher().useId();
1257
- };
1258
- exports2.useImperativeHandle = function (ref, create, deps) {
1259
- return resolveDispatcher().useImperativeHandle(ref, create, deps);
1260
- };
1261
- exports2.useInsertionEffect = function (create, deps) {
1262
- null == create && console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?");
1263
- return resolveDispatcher().useInsertionEffect(create, deps);
1264
- };
1265
- exports2.useLayoutEffect = function (create, deps) {
1266
- null == create && console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?");
1267
- return resolveDispatcher().useLayoutEffect(create, deps);
1268
- };
1269
- exports2.useMemo = function (create, deps) {
1270
- return resolveDispatcher().useMemo(create, deps);
1271
- };
1272
- exports2.useOptimistic = function (passthrough, reducer) {
1273
- return resolveDispatcher().useOptimistic(passthrough, reducer);
1274
- };
1275
- exports2.useReducer = function (reducer, initialArg, init) {
1276
- return resolveDispatcher().useReducer(reducer, initialArg, init);
1277
- };
1278
- exports2.useRef = function (initialValue) {
1279
- return resolveDispatcher().useRef(initialValue);
1280
- };
1281
- exports2.useState = function (initialState) {
1282
- return resolveDispatcher().useState(initialState);
1283
- };
1284
- exports2.useSyncExternalStore = function (subscribe, getSnapshot, getServerSnapshot) {
1285
- return resolveDispatcher().useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
1286
- };
1287
- exports2.useTransition = function () {
1288
- return resolveDispatcher().useTransition();
1289
- };
1290
- exports2.version = "19.2.1";
1291
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1292
- }();
1293
- }
1294
- });
1295
-
1296
- // ../../node_modules/.pnpm/react@19.2.1/node_modules/react/index.js
1297
- var require_react = __commonJS({
1298
- "../../node_modules/.pnpm/react@19.2.1/node_modules/react/index.js"(exports2, module2) {
1299
- "use strict";
1300
-
1301
- if (process.env.NODE_ENV === "production") {
1302
- module2.exports = require_react_production();
1303
- } else {
1304
- module2.exports = require_react_development();
1305
- }
1306
- }
1307
- });
1308
-
1309
48
  // ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js
1310
49
  var require_react_is_production_min = __commonJS({
1311
50
  "../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js"(exports2) {
@@ -1717,289 +456,6 @@ var require_extends = __commonJS({
1717
456
  }
1718
457
  });
1719
458
 
1720
- // ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react-jsx-runtime.production.js
1721
- var require_react_jsx_runtime_production = __commonJS({
1722
- "../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react-jsx-runtime.production.js"(exports2) {
1723
- "use strict";
1724
-
1725
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
1726
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
1727
- function jsxProd(type, config, maybeKey) {
1728
- var key = null;
1729
- void 0 !== maybeKey && (key = "" + maybeKey);
1730
- void 0 !== config.key && (key = "" + config.key);
1731
- if ("key" in config) {
1732
- maybeKey = {};
1733
- for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]);
1734
- } else maybeKey = config;
1735
- config = maybeKey.ref;
1736
- return {
1737
- $$typeof: REACT_ELEMENT_TYPE,
1738
- type,
1739
- key,
1740
- ref: void 0 !== config ? config : null,
1741
- props: maybeKey
1742
- };
1743
- }
1744
- __name(jsxProd, "jsxProd");
1745
- exports2.Fragment = REACT_FRAGMENT_TYPE;
1746
- exports2.jsx = jsxProd;
1747
- exports2.jsxs = jsxProd;
1748
- }
1749
- });
1750
-
1751
- // ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react-jsx-runtime.development.js
1752
- var require_react_jsx_runtime_development = __commonJS({
1753
- "../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react-jsx-runtime.development.js"(exports2) {
1754
- "use strict";
1755
-
1756
- "production" !== process.env.NODE_ENV && function () {
1757
- function getComponentNameFromType(type) {
1758
- if (null == type) return null;
1759
- if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
1760
- if ("string" === typeof type) return type;
1761
- switch (type) {
1762
- case REACT_FRAGMENT_TYPE:
1763
- return "Fragment";
1764
- case REACT_PROFILER_TYPE:
1765
- return "Profiler";
1766
- case REACT_STRICT_MODE_TYPE:
1767
- return "StrictMode";
1768
- case REACT_SUSPENSE_TYPE:
1769
- return "Suspense";
1770
- case REACT_SUSPENSE_LIST_TYPE:
1771
- return "SuspenseList";
1772
- case REACT_ACTIVITY_TYPE:
1773
- return "Activity";
1774
- }
1775
- 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) {
1776
- case REACT_PORTAL_TYPE:
1777
- return "Portal";
1778
- case REACT_CONTEXT_TYPE:
1779
- return type.displayName || "Context";
1780
- case REACT_CONSUMER_TYPE:
1781
- return (type._context.displayName || "Context") + ".Consumer";
1782
- case REACT_FORWARD_REF_TYPE:
1783
- var innerType = type.render;
1784
- type = type.displayName;
1785
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
1786
- return type;
1787
- case REACT_MEMO_TYPE:
1788
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
1789
- case REACT_LAZY_TYPE:
1790
- innerType = type._payload;
1791
- type = type._init;
1792
- try {
1793
- return getComponentNameFromType(type(innerType));
1794
- } catch (x) {}
1795
- }
1796
- return null;
1797
- }
1798
- __name(getComponentNameFromType, "getComponentNameFromType");
1799
- function testStringCoercion(value) {
1800
- return "" + value;
1801
- }
1802
- __name(testStringCoercion, "testStringCoercion");
1803
- function checkKeyStringCoercion(value) {
1804
- try {
1805
- testStringCoercion(value);
1806
- var JSCompiler_inline_result = false;
1807
- } catch (e) {
1808
- JSCompiler_inline_result = true;
1809
- }
1810
- if (JSCompiler_inline_result) {
1811
- JSCompiler_inline_result = console;
1812
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
1813
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
1814
- JSCompiler_temp_const.call(JSCompiler_inline_result, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", JSCompiler_inline_result$jscomp$0);
1815
- return testStringCoercion(value);
1816
- }
1817
- }
1818
- __name(checkKeyStringCoercion, "checkKeyStringCoercion");
1819
- function getTaskName(type) {
1820
- if (type === REACT_FRAGMENT_TYPE) return "<>";
1821
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE) return "<...>";
1822
- try {
1823
- var name = getComponentNameFromType(type);
1824
- return name ? "<" + name + ">" : "<...>";
1825
- } catch (x) {
1826
- return "<...>";
1827
- }
1828
- }
1829
- __name(getTaskName, "getTaskName");
1830
- function getOwner() {
1831
- var dispatcher = ReactSharedInternals.A;
1832
- return null === dispatcher ? null : dispatcher.getOwner();
1833
- }
1834
- __name(getOwner, "getOwner");
1835
- function UnknownOwner() {
1836
- return Error("react-stack-top-frame");
1837
- }
1838
- __name(UnknownOwner, "UnknownOwner");
1839
- function hasValidKey(config) {
1840
- if (hasOwnProperty.call(config, "key")) {
1841
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
1842
- if (getter && getter.isReactWarning) return false;
1843
- }
1844
- return void 0 !== config.key;
1845
- }
1846
- __name(hasValidKey, "hasValidKey");
1847
- function defineKeyPropWarningGetter(props, displayName) {
1848
- function warnAboutAccessingKey() {
1849
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", displayName));
1850
- }
1851
- __name(warnAboutAccessingKey, "warnAboutAccessingKey");
1852
- warnAboutAccessingKey.isReactWarning = true;
1853
- Object.defineProperty(props, "key", {
1854
- get: warnAboutAccessingKey,
1855
- configurable: true
1856
- });
1857
- }
1858
- __name(defineKeyPropWarningGetter, "defineKeyPropWarningGetter");
1859
- function elementRefGetterWithDeprecationWarning() {
1860
- var componentName = getComponentNameFromType(this.type);
1861
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."));
1862
- componentName = this.props.ref;
1863
- return void 0 !== componentName ? componentName : null;
1864
- }
1865
- __name(elementRefGetterWithDeprecationWarning, "elementRefGetterWithDeprecationWarning");
1866
- function ReactElement(type, key, props, owner, debugStack, debugTask) {
1867
- var refProp = props.ref;
1868
- type = {
1869
- $$typeof: REACT_ELEMENT_TYPE,
1870
- type,
1871
- key,
1872
- props,
1873
- _owner: owner
1874
- };
1875
- null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
1876
- enumerable: false,
1877
- get: elementRefGetterWithDeprecationWarning
1878
- }) : Object.defineProperty(type, "ref", {
1879
- enumerable: false,
1880
- value: null
1881
- });
1882
- type._store = {};
1883
- Object.defineProperty(type._store, "validated", {
1884
- configurable: false,
1885
- enumerable: false,
1886
- writable: true,
1887
- value: 0
1888
- });
1889
- Object.defineProperty(type, "_debugInfo", {
1890
- configurable: false,
1891
- enumerable: false,
1892
- writable: true,
1893
- value: null
1894
- });
1895
- Object.defineProperty(type, "_debugStack", {
1896
- configurable: false,
1897
- enumerable: false,
1898
- writable: true,
1899
- value: debugStack
1900
- });
1901
- Object.defineProperty(type, "_debugTask", {
1902
- configurable: false,
1903
- enumerable: false,
1904
- writable: true,
1905
- value: debugTask
1906
- });
1907
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
1908
- return type;
1909
- }
1910
- __name(ReactElement, "ReactElement");
1911
- function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
1912
- var children = config.children;
1913
- if (void 0 !== children) if (isStaticChildren) {
1914
- if (isArrayImpl(children)) {
1915
- for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++) validateChildKeys(children[isStaticChildren]);
1916
- Object.freeze && Object.freeze(children);
1917
- } else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1918
- } else validateChildKeys(children);
1919
- if (hasOwnProperty.call(config, "key")) {
1920
- children = getComponentNameFromType(type);
1921
- var keys = Object.keys(config).filter(function (k) {
1922
- return "key" !== k;
1923
- });
1924
- isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
1925
- didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />', isStaticChildren, children, keys, children), didWarnAboutKeySpread[children + isStaticChildren] = true);
1926
- }
1927
- children = null;
1928
- void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
1929
- hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
1930
- if ("key" in config) {
1931
- maybeKey = {};
1932
- for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]);
1933
- } else maybeKey = config;
1934
- children && defineKeyPropWarningGetter(maybeKey, "function" === typeof type ? type.displayName || type.name || "Unknown" : type);
1935
- return ReactElement(type, children, maybeKey, getOwner(), debugStack, debugTask);
1936
- }
1937
- __name(jsxDEVImpl, "jsxDEVImpl");
1938
- function validateChildKeys(node2) {
1939
- isValidElement2(node2) ? node2._store && (node2._store.validated = 1) : "object" === typeof node2 && null !== node2 && node2.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node2._payload.status ? isValidElement2(node2._payload.value) && node2._payload.value._store && (node2._payload.value._store.validated = 1) : node2._store && (node2._store.validated = 1));
1940
- }
1941
- __name(validateChildKeys, "validateChildKeys");
1942
- function isValidElement2(object) {
1943
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
1944
- }
1945
- __name(isValidElement2, "isValidElement");
1946
- var React11 = require_react(),
1947
- REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
1948
- REACT_PORTAL_TYPE = Symbol.for("react.portal"),
1949
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
1950
- REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
1951
- REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
1952
- REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
1953
- REACT_CONTEXT_TYPE = Symbol.for("react.context"),
1954
- REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
1955
- REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
1956
- REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
1957
- REACT_MEMO_TYPE = Symbol.for("react.memo"),
1958
- REACT_LAZY_TYPE = Symbol.for("react.lazy"),
1959
- REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
1960
- REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
1961
- ReactSharedInternals = React11.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
1962
- hasOwnProperty = Object.prototype.hasOwnProperty,
1963
- isArrayImpl = Array.isArray,
1964
- createTask = console.createTask ? console.createTask : function () {
1965
- return null;
1966
- };
1967
- React11 = {
1968
- react_stack_bottom_frame: /* @__PURE__ */__name(function (callStackForError) {
1969
- return callStackForError();
1970
- }, "react_stack_bottom_frame")
1971
- };
1972
- var specialPropKeyWarningShown;
1973
- var didWarnAboutElementRef = {};
1974
- var unknownOwnerDebugStack = React11.react_stack_bottom_frame.bind(React11, UnknownOwner)();
1975
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
1976
- var didWarnAboutKeySpread = {};
1977
- exports2.Fragment = REACT_FRAGMENT_TYPE;
1978
- exports2.jsx = function (type, config, maybeKey) {
1979
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1980
- return jsxDEVImpl(type, config, maybeKey, false, trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
1981
- };
1982
- exports2.jsxs = function (type, config, maybeKey) {
1983
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1984
- return jsxDEVImpl(type, config, maybeKey, true, trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
1985
- };
1986
- }();
1987
- }
1988
- });
1989
-
1990
- // ../../node_modules/.pnpm/react@19.2.1/node_modules/react/jsx-runtime.js
1991
- var require_jsx_runtime = __commonJS({
1992
- "../../node_modules/.pnpm/react@19.2.1/node_modules/react/jsx-runtime.js"(exports2, module2) {
1993
- "use strict";
1994
-
1995
- if (process.env.NODE_ENV === "production") {
1996
- module2.exports = require_react_jsx_runtime_production();
1997
- } else {
1998
- module2.exports = require_react_jsx_runtime_development();
1999
- }
2000
- }
2001
- });
2002
-
2003
459
  // src/index.ts
2004
460
  var index_exports = {};
2005
461
  __export(index_exports, {
@@ -2008,7 +464,7 @@ __export(index_exports, {
2008
464
  module.exports = __toCommonJS(index_exports);
2009
465
 
2010
466
  // ../../node_modules/.pnpm/@iconify-icon+react@2.3.0_react@19.2.1/node_modules/@iconify-icon/react/dist/iconify.mjs
2011
- var import_react = __toESM(require_react(), 1);
467
+ var import_react = __toESM(require("react"), 1);
2012
468
 
2013
469
  // ../../node_modules/.pnpm/iconify-icon@2.3.0/node_modules/iconify-icon/dist/iconify-icon.mjs
2014
470
  var defaultIconDimensions = Object.freeze({
@@ -4155,7 +2611,7 @@ var Icon = import_react.default.forwardRef((props, ref) => {
4155
2611
  });
4156
2612
 
4157
2613
  // ../react-icons/src/Icon.tsx
4158
- var React3 = __toESM(require_react(), 1);
2614
+ var React3 = __toESM(require("react"), 1);
4159
2615
  var Icon2 = /* @__PURE__ */React3.forwardRef((props, ref) => {
4160
2616
  return /* @__PURE__ */React3.createElement(Icon, {
4161
2617
  ref,
@@ -4166,11 +2622,11 @@ var Icon2 = /* @__PURE__ */React3.forwardRef((props, ref) => {
4166
2622
  Icon2.displayName = "Icon";
4167
2623
 
4168
2624
  // ../ui/src/components/Button.tsx
4169
- var React8 = __toESM(require_react(), 1);
2625
+ var React8 = __toESM(require("react"), 1);
4170
2626
 
4171
2627
  // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.7_react@19.2.1/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
4172
- var React5 = __toESM(require_react());
4173
- var import_react4 = __toESM(require_react());
2628
+ var React5 = __toESM(require("react"));
2629
+ var import_react4 = require("react");
4174
2630
 
4175
2631
  // ../../node_modules/.pnpm/@emotion+sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
4176
2632
  var isDevelopment = false;
@@ -5359,7 +3815,7 @@ function serializeStyles(args, registered, mergedProps) {
5359
3815
  __name(serializeStyles, "serializeStyles");
5360
3816
 
5361
3817
  // ../../node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.2.0_react@19.2.1/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js
5362
- var React4 = __toESM(require_react());
3818
+ var React4 = __toESM(require("react"));
5363
3819
  var isBrowser3 = typeof document !== "undefined";
5364
3820
  var syncFallback = /* @__PURE__ */__name(function syncFallback2(create) {
5365
3821
  return create();
@@ -5475,7 +3931,7 @@ var Emotion = /* @__PURE__ */withEmotionCache(function (props, cache, ref) {
5475
3931
  var Emotion$1 = Emotion;
5476
3932
 
5477
3933
  // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.7_react@19.2.1/node_modules/@emotion/react/dist/emotion-react.esm.js
5478
- var React6 = __toESM(require_react());
3934
+ var React6 = __toESM(require("react"));
5479
3935
  var import_extends2 = __toESM(require_extends());
5480
3936
  var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
5481
3937
  var jsx = /* @__PURE__ */__name(function jsx2(type, props) {
@@ -5820,8 +4276,8 @@ function parseProps(props) {
5820
4276
  __name(parseProps, "parseProps");
5821
4277
 
5822
4278
  // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.7_react@19.2.1/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js
5823
- var ReactJSXRuntime = __toESM(require_jsx_runtime());
5824
- var import_react5 = __toESM(require_react());
4279
+ var ReactJSXRuntime = __toESM(require("react/jsx-runtime"));
4280
+ var import_react5 = require("react");
5825
4281
  var import_extends3 = __toESM(require_extends());
5826
4282
  var import_hoist_non_react_statics2 = __toESM(require_hoist_non_react_statics_cjs());
5827
4283
  var jsx4 = /* @__PURE__ */__name(function jsx5(type, props, key) {
@@ -5832,11 +4288,11 @@ var jsx4 = /* @__PURE__ */__name(function jsx5(type, props, key) {
5832
4288
  }, "jsx");
5833
4289
 
5834
4290
  // ../../node_modules/.pnpm/@theme-ui+core@0.17.2_@emotion+react@11.14.0_@types+react@19.2.7_react@19.2.1__react@19.2.1/node_modules/@theme-ui/core/jsx-runtime/dist/theme-ui-core-jsx-runtime.esm.js
5835
- var import_react6 = __toESM(require_react());
4291
+ var import_react6 = require("react");
5836
4292
  var jsx6 = /* @__PURE__ */__name((type, props, key) => jsx4(type, parseProps(props), key), "jsx");
5837
4293
 
5838
4294
  // ../../node_modules/.pnpm/@theme-ui+components@0.17.2_@emotion+react@11.14.0_@types+react@19.2.7_react@19.2.1__@t_04e34f7905c3166fd726d8f6c6a0914f/node_modules/@theme-ui/components/dist/theme-ui-components.esm.js
5839
- var import_react8 = __toESM(require_react());
4295
+ var import_react8 = __toESM(require("react"));
5840
4296
  var boxSystemProps = [
5841
4297
  // space scale props (inherited from @styled-system/space)
5842
4298
  "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "m", "mt", "mr", "mb", "ml", "mx", "my", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "p", "pt", "pr", "pb", "pl", "px", "py",
@@ -6043,7 +4499,7 @@ var Button3 = /* @__PURE__ */React8.forwardRef((props, ref) => {
6043
4499
  Button3.displayName = "Button";
6044
4500
 
6045
4501
  // ../ui/src/components/Card.tsx
6046
- var React9 = __toESM(require_react(), 1);
4502
+ var React9 = __toESM(require("react"), 1);
6047
4503
  var Card3 = /* @__PURE__ */__name(props => {
6048
4504
  return /* @__PURE__ */React9.createElement(Card, {
6049
4505
  ...props,
@@ -6123,7 +4579,7 @@ var Stack = /* @__PURE__ */__name(props => {
6123
4579
  }, "Stack");
6124
4580
 
6125
4581
  // ../../node_modules/.pnpm/@theme-ui+match-media@0.17.2_@theme-ui+core@0.17.2_@emotion+react@11.14.0_@types+react@_f8d5d2a429d84d480c0e8367788be412/node_modules/@theme-ui/match-media/dist/theme-ui-match-media.esm.js
6126
- var import_react9 = __toESM(require_react());
4582
+ var import_react9 = require("react");
6127
4583
 
6128
4584
  // src/components/PlanCardCtaSlot.tsx
6129
4585
  var PlanCardCtaSlot = /* @__PURE__ */__name(({
@@ -6157,7 +4613,7 @@ var PlanCardCtaSlot = /* @__PURE__ */__name(({
6157
4613
  }, "PlanCardCtaSlot");
6158
4614
 
6159
4615
  // src/components/PlanCardFeaturesSlot.tsx
6160
- var React10 = __toESM(require_react(), 1);
4616
+ var React10 = __toESM(require("react"), 1);
6161
4617
  var featuresTitle = "RECURSOS";
6162
4618
  var PlanCardFeaturesSlot = /* @__PURE__ */__name(({
6163
4619
  features,
@@ -6385,7 +4841,7 @@ var PlanCard = /* @__PURE__ */__name(props => {
6385
4841
  sx: {
6386
4842
  width: "full",
6387
4843
  maxWidth: "410px",
6388
- backgroundColor: variant === "enterprise" ? "action.background.primary.default" : "display.background.primary.default",
4844
+ backgroundColor: variant === "enterprise" ? "display.background.primary.active" : "display.background.primary.default",
6389
4845
  ...cardProps.sx
6390
4846
  }
6391
4847
  }, props.topTag && /* @__PURE__ */React.createElement(PlanCardTopTagSlot, {
@@ -6421,28 +4877,6 @@ var PlanCard = /* @__PURE__ */__name(props => {
6421
4877
  });
6422
4878
  /*! Bundled license information:
6423
4879
 
6424
- react/cjs/react.production.js:
6425
- (**
6426
- * @license React
6427
- * react.production.js
6428
- *
6429
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6430
- *
6431
- * This source code is licensed under the MIT license found in the
6432
- * LICENSE file in the root directory of this source tree.
6433
- *)
6434
-
6435
- react/cjs/react.development.js:
6436
- (**
6437
- * @license React
6438
- * react.development.js
6439
- *
6440
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6441
- *
6442
- * This source code is licensed under the MIT license found in the
6443
- * LICENSE file in the root directory of this source tree.
6444
- *)
6445
-
6446
4880
  react-is/cjs/react-is.production.min.js:
6447
4881
  (** @license React v16.13.1
6448
4882
  * react-is.production.min.js
@@ -6463,28 +4897,6 @@ react-is/cjs/react-is.development.js:
6463
4897
  * LICENSE file in the root directory of this source tree.
6464
4898
  *)
6465
4899
 
6466
- react/cjs/react-jsx-runtime.production.js:
6467
- (**
6468
- * @license React
6469
- * react-jsx-runtime.production.js
6470
- *
6471
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6472
- *
6473
- * This source code is licensed under the MIT license found in the
6474
- * LICENSE file in the root directory of this source tree.
6475
- *)
6476
-
6477
- react/cjs/react-jsx-runtime.development.js:
6478
- (**
6479
- * @license React
6480
- * react-jsx-runtime.development.js
6481
- *
6482
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6483
- *
6484
- * This source code is licensed under the MIT license found in the
6485
- * LICENSE file in the root directory of this source tree.
6486
- *)
6487
-
6488
4900
  iconify-icon/dist/iconify-icon.mjs:
6489
4901
  (**
6490
4902
  * (c) Iconify