viewname-harshita 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs ADDED
@@ -0,0 +1,1805 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __commonJS = (cb, mod) => function __require() {
8
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19
+ // If the importer is in node compatibility mode or this is not an ESM
20
+ // file that has been converted to a CommonJS file using a Babel-
21
+ // compatible transform (i.e. "__esModule" has not been set), then set
22
+ // "default" to the CommonJS "module.exports" for node compatibility.
23
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
+ mod
25
+ ));
26
+
27
+ // ../../../node_modules/react/cjs/react-jsx-runtime.production.js
28
+ var require_react_jsx_runtime_production = __commonJS({
29
+ "../../../node_modules/react/cjs/react-jsx-runtime.production.js"(exports) {
30
+ "use strict";
31
+ var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element");
32
+ var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
33
+ function jsxProd(type, config, maybeKey) {
34
+ var key = null;
35
+ void 0 !== maybeKey && (key = "" + maybeKey);
36
+ void 0 !== config.key && (key = "" + config.key);
37
+ if ("key" in config) {
38
+ maybeKey = {};
39
+ for (var propName in config)
40
+ "key" !== propName && (maybeKey[propName] = config[propName]);
41
+ } else maybeKey = config;
42
+ config = maybeKey.ref;
43
+ return {
44
+ $$typeof: REACT_ELEMENT_TYPE,
45
+ type,
46
+ key,
47
+ ref: void 0 !== config ? config : null,
48
+ props: maybeKey
49
+ };
50
+ }
51
+ exports.Fragment = REACT_FRAGMENT_TYPE;
52
+ exports.jsx = jsxProd;
53
+ exports.jsxs = jsxProd;
54
+ }
55
+ });
56
+
57
+ // ../../../node_modules/react/cjs/react.production.js
58
+ var require_react_production = __commonJS({
59
+ "../../../node_modules/react/cjs/react.production.js"(exports) {
60
+ "use strict";
61
+ var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element");
62
+ var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
63
+ var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
64
+ var REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode");
65
+ var REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler");
66
+ var REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer");
67
+ var REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context");
68
+ var REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref");
69
+ var REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense");
70
+ var REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo");
71
+ var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy");
72
+ var REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity");
73
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
74
+ function getIteratorFn(maybeIterable) {
75
+ if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
76
+ maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
77
+ return "function" === typeof maybeIterable ? maybeIterable : null;
78
+ }
79
+ var ReactNoopUpdateQueue = {
80
+ isMounted: function() {
81
+ return false;
82
+ },
83
+ enqueueForceUpdate: function() {
84
+ },
85
+ enqueueReplaceState: function() {
86
+ },
87
+ enqueueSetState: function() {
88
+ }
89
+ };
90
+ var assign = Object.assign;
91
+ var emptyObject = {};
92
+ function Component(props, context, updater) {
93
+ this.props = props;
94
+ this.context = context;
95
+ this.refs = emptyObject;
96
+ this.updater = updater || ReactNoopUpdateQueue;
97
+ }
98
+ Component.prototype.isReactComponent = {};
99
+ Component.prototype.setState = function(partialState, callback) {
100
+ if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
101
+ throw Error(
102
+ "takes an object of state variables to update or a function which returns an object of state variables."
103
+ );
104
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
105
+ };
106
+ Component.prototype.forceUpdate = function(callback) {
107
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
108
+ };
109
+ function ComponentDummy() {
110
+ }
111
+ ComponentDummy.prototype = Component.prototype;
112
+ function PureComponent(props, context, updater) {
113
+ this.props = props;
114
+ this.context = context;
115
+ this.refs = emptyObject;
116
+ this.updater = updater || ReactNoopUpdateQueue;
117
+ }
118
+ var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
119
+ pureComponentPrototype.constructor = PureComponent;
120
+ assign(pureComponentPrototype, Component.prototype);
121
+ pureComponentPrototype.isPureReactComponent = true;
122
+ var isArrayImpl = Array.isArray;
123
+ function noop() {
124
+ }
125
+ var ReactSharedInternals = { H: null, A: null, T: null, S: null };
126
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
127
+ function ReactElement(type, key, props) {
128
+ var refProp = props.ref;
129
+ return {
130
+ $$typeof: REACT_ELEMENT_TYPE,
131
+ type,
132
+ key,
133
+ ref: void 0 !== refProp ? refProp : null,
134
+ props
135
+ };
136
+ }
137
+ function cloneAndReplaceKey(oldElement, newKey) {
138
+ return ReactElement(oldElement.type, newKey, oldElement.props);
139
+ }
140
+ function isValidElement(object) {
141
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
142
+ }
143
+ function escape(key) {
144
+ var escaperLookup = { "=": "=0", ":": "=2" };
145
+ return "$" + key.replace(/[=:]/g, function(match) {
146
+ return escaperLookup[match];
147
+ });
148
+ }
149
+ var userProvidedKeyEscapeRegex = /\/+/g;
150
+ function getElementKey(element, index) {
151
+ return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
152
+ }
153
+ function resolveThenable(thenable) {
154
+ switch (thenable.status) {
155
+ case "fulfilled":
156
+ return thenable.value;
157
+ case "rejected":
158
+ throw thenable.reason;
159
+ default:
160
+ switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
161
+ function(fulfilledValue) {
162
+ "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
163
+ },
164
+ function(error) {
165
+ "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
166
+ }
167
+ )), thenable.status) {
168
+ case "fulfilled":
169
+ return thenable.value;
170
+ case "rejected":
171
+ throw thenable.reason;
172
+ }
173
+ }
174
+ throw thenable;
175
+ }
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;
181
+ else
182
+ switch (type) {
183
+ case "bigint":
184
+ case "string":
185
+ case "number":
186
+ invokeCallback = true;
187
+ break;
188
+ case "object":
189
+ switch (children.$$typeof) {
190
+ case REACT_ELEMENT_TYPE:
191
+ case REACT_PORTAL_TYPE:
192
+ invokeCallback = true;
193
+ break;
194
+ case REACT_LAZY_TYPE:
195
+ return invokeCallback = children._init, mapIntoArray(
196
+ invokeCallback(children._payload),
197
+ array,
198
+ escapedPrefix,
199
+ nameSoFar,
200
+ callback
201
+ );
202
+ }
203
+ }
204
+ if (invokeCallback)
205
+ 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) {
206
+ return c;
207
+ })) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey(
208
+ callback,
209
+ escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(
210
+ userProvidedKeyEscapeRegex,
211
+ "$&/"
212
+ ) + "/") + invokeCallback
213
+ )), array.push(callback)), 1;
214
+ invokeCallback = 0;
215
+ var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
216
+ if (isArrayImpl(children))
217
+ for (var i = 0; i < children.length; i++)
218
+ nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
219
+ nameSoFar,
220
+ array,
221
+ escapedPrefix,
222
+ type,
223
+ callback
224
+ );
225
+ else if (i = getIteratorFn(children), "function" === typeof i)
226
+ for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
227
+ nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
228
+ nameSoFar,
229
+ array,
230
+ escapedPrefix,
231
+ type,
232
+ callback
233
+ );
234
+ else if ("object" === type) {
235
+ if ("function" === typeof children.then)
236
+ return mapIntoArray(
237
+ resolveThenable(children),
238
+ array,
239
+ escapedPrefix,
240
+ nameSoFar,
241
+ callback
242
+ );
243
+ array = String(children);
244
+ throw Error(
245
+ "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."
246
+ );
247
+ }
248
+ return invokeCallback;
249
+ }
250
+ function mapChildren(children, func, context) {
251
+ if (null == children) return children;
252
+ var result = [], count = 0;
253
+ mapIntoArray(children, result, "", "", function(child) {
254
+ return func.call(context, child, count++);
255
+ });
256
+ return result;
257
+ }
258
+ function lazyInitializer(payload) {
259
+ if (-1 === payload._status) {
260
+ var ctor = payload._result;
261
+ ctor = ctor();
262
+ ctor.then(
263
+ function(moduleObject) {
264
+ if (0 === payload._status || -1 === payload._status)
265
+ payload._status = 1, payload._result = moduleObject;
266
+ },
267
+ function(error) {
268
+ if (0 === payload._status || -1 === payload._status)
269
+ payload._status = 2, payload._result = error;
270
+ }
271
+ );
272
+ -1 === payload._status && (payload._status = 0, payload._result = ctor);
273
+ }
274
+ if (1 === payload._status) return payload._result.default;
275
+ throw payload._result;
276
+ }
277
+ var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
278
+ if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
279
+ var event = new window.ErrorEvent("error", {
280
+ bubbles: true,
281
+ cancelable: true,
282
+ message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
283
+ error
284
+ });
285
+ if (!window.dispatchEvent(event)) return;
286
+ } else if ("object" === typeof process && "function" === typeof process.emit) {
287
+ process.emit("uncaughtException", error);
288
+ return;
289
+ }
290
+ console.error(error);
291
+ };
292
+ var Children = {
293
+ map: mapChildren,
294
+ forEach: function(children, forEachFunc, forEachContext) {
295
+ mapChildren(
296
+ children,
297
+ function() {
298
+ forEachFunc.apply(this, arguments);
299
+ },
300
+ forEachContext
301
+ );
302
+ },
303
+ count: function(children) {
304
+ var n = 0;
305
+ mapChildren(children, function() {
306
+ n++;
307
+ });
308
+ return n;
309
+ },
310
+ toArray: function(children) {
311
+ return mapChildren(children, function(child) {
312
+ return child;
313
+ }) || [];
314
+ },
315
+ only: function(children) {
316
+ if (!isValidElement(children))
317
+ throw Error(
318
+ "React.Children.only expected to receive a single React element child."
319
+ );
320
+ return children;
321
+ }
322
+ };
323
+ exports.Activity = REACT_ACTIVITY_TYPE;
324
+ exports.Children = Children;
325
+ exports.Component = Component;
326
+ exports.Fragment = REACT_FRAGMENT_TYPE;
327
+ exports.Profiler = REACT_PROFILER_TYPE;
328
+ exports.PureComponent = PureComponent;
329
+ exports.StrictMode = REACT_STRICT_MODE_TYPE;
330
+ exports.Suspense = REACT_SUSPENSE_TYPE;
331
+ exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
332
+ exports.__COMPILER_RUNTIME = {
333
+ __proto__: null,
334
+ c: function(size) {
335
+ return ReactSharedInternals.H.useMemoCache(size);
336
+ }
337
+ };
338
+ exports.cache = function(fn) {
339
+ return function() {
340
+ return fn.apply(null, arguments);
341
+ };
342
+ };
343
+ exports.cacheSignal = function() {
344
+ return null;
345
+ };
346
+ exports.cloneElement = function(element, config, children) {
347
+ if (null === element || void 0 === element)
348
+ throw Error(
349
+ "The argument must be a React element, but you passed " + element + "."
350
+ );
351
+ var props = assign({}, element.props), key = element.key;
352
+ if (null != config)
353
+ for (propName in void 0 !== config.key && (key = "" + config.key), config)
354
+ !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
355
+ var propName = arguments.length - 2;
356
+ if (1 === propName) props.children = children;
357
+ else if (1 < propName) {
358
+ for (var childArray = Array(propName), i = 0; i < propName; i++)
359
+ childArray[i] = arguments[i + 2];
360
+ props.children = childArray;
361
+ }
362
+ return ReactElement(element.type, key, props);
363
+ };
364
+ exports.createContext = function(defaultValue) {
365
+ defaultValue = {
366
+ $$typeof: REACT_CONTEXT_TYPE,
367
+ _currentValue: defaultValue,
368
+ _currentValue2: defaultValue,
369
+ _threadCount: 0,
370
+ Provider: null,
371
+ Consumer: null
372
+ };
373
+ defaultValue.Provider = defaultValue;
374
+ defaultValue.Consumer = {
375
+ $$typeof: REACT_CONSUMER_TYPE,
376
+ _context: defaultValue
377
+ };
378
+ return defaultValue;
379
+ };
380
+ exports.createElement = function(type, config, children) {
381
+ var propName, props = {}, key = null;
382
+ if (null != config)
383
+ for (propName in void 0 !== config.key && (key = "" + config.key), config)
384
+ hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]);
385
+ var childrenLength = arguments.length - 2;
386
+ if (1 === childrenLength) props.children = children;
387
+ else if (1 < childrenLength) {
388
+ for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
389
+ childArray[i] = arguments[i + 2];
390
+ props.children = childArray;
391
+ }
392
+ if (type && type.defaultProps)
393
+ for (propName in childrenLength = type.defaultProps, childrenLength)
394
+ void 0 === props[propName] && (props[propName] = childrenLength[propName]);
395
+ return ReactElement(type, key, props);
396
+ };
397
+ exports.createRef = function() {
398
+ return { current: null };
399
+ };
400
+ exports.forwardRef = function(render) {
401
+ return { $$typeof: REACT_FORWARD_REF_TYPE, render };
402
+ };
403
+ exports.isValidElement = isValidElement;
404
+ exports.lazy = function(ctor) {
405
+ return {
406
+ $$typeof: REACT_LAZY_TYPE,
407
+ _payload: { _status: -1, _result: ctor },
408
+ _init: lazyInitializer
409
+ };
410
+ };
411
+ exports.memo = function(type, compare) {
412
+ return {
413
+ $$typeof: REACT_MEMO_TYPE,
414
+ type,
415
+ compare: void 0 === compare ? null : compare
416
+ };
417
+ };
418
+ exports.startTransition = function(scope) {
419
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
420
+ ReactSharedInternals.T = currentTransition;
421
+ try {
422
+ var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
423
+ null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
424
+ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
425
+ } catch (error) {
426
+ reportGlobalError(error);
427
+ } finally {
428
+ null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
429
+ }
430
+ };
431
+ exports.unstable_useCacheRefresh = function() {
432
+ return ReactSharedInternals.H.useCacheRefresh();
433
+ };
434
+ exports.use = function(usable) {
435
+ return ReactSharedInternals.H.use(usable);
436
+ };
437
+ exports.useActionState = function(action, initialState, permalink) {
438
+ return ReactSharedInternals.H.useActionState(action, initialState, permalink);
439
+ };
440
+ exports.useCallback = function(callback, deps) {
441
+ return ReactSharedInternals.H.useCallback(callback, deps);
442
+ };
443
+ exports.useContext = function(Context) {
444
+ return ReactSharedInternals.H.useContext(Context);
445
+ };
446
+ exports.useDebugValue = function() {
447
+ };
448
+ exports.useDeferredValue = function(value, initialValue) {
449
+ return ReactSharedInternals.H.useDeferredValue(value, initialValue);
450
+ };
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);
456
+ };
457
+ exports.useId = function() {
458
+ return ReactSharedInternals.H.useId();
459
+ };
460
+ exports.useImperativeHandle = function(ref, create, deps) {
461
+ return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
462
+ };
463
+ exports.useInsertionEffect = function(create, deps) {
464
+ return ReactSharedInternals.H.useInsertionEffect(create, deps);
465
+ };
466
+ exports.useLayoutEffect = function(create, deps) {
467
+ return ReactSharedInternals.H.useLayoutEffect(create, deps);
468
+ };
469
+ exports.useMemo = function(create, deps) {
470
+ return ReactSharedInternals.H.useMemo(create, deps);
471
+ };
472
+ exports.useOptimistic = function(passthrough, reducer) {
473
+ return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
474
+ };
475
+ exports.useReducer = function(reducer, initialArg, init) {
476
+ return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
477
+ };
478
+ exports.useRef = function(initialValue) {
479
+ return ReactSharedInternals.H.useRef(initialValue);
480
+ };
481
+ exports.useState = function(initialState) {
482
+ return ReactSharedInternals.H.useState(initialState);
483
+ };
484
+ exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
485
+ return ReactSharedInternals.H.useSyncExternalStore(
486
+ subscribe,
487
+ getSnapshot,
488
+ getServerSnapshot
489
+ );
490
+ };
491
+ exports.useTransition = function() {
492
+ return ReactSharedInternals.H.useTransition();
493
+ };
494
+ exports.version = "19.2.3";
495
+ }
496
+ });
497
+
498
+ // ../../../node_modules/react/cjs/react.development.js
499
+ var require_react_development = __commonJS({
500
+ "../../../node_modules/react/cjs/react.development.js"(exports, module) {
501
+ "use strict";
502
+ "production" !== process.env.NODE_ENV && (function() {
503
+ function defineDeprecationWarning(methodName, info) {
504
+ Object.defineProperty(Component.prototype, methodName, {
505
+ get: function() {
506
+ console.warn(
507
+ "%s(...) is deprecated in plain JavaScript React classes. %s",
508
+ info[0],
509
+ info[1]
510
+ );
511
+ }
512
+ });
513
+ }
514
+ function getIteratorFn(maybeIterable) {
515
+ if (null === maybeIterable || "object" !== typeof maybeIterable)
516
+ return null;
517
+ maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
518
+ return "function" === typeof maybeIterable ? maybeIterable : null;
519
+ }
520
+ function warnNoop(publicInstance, callerName) {
521
+ publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass";
522
+ var warningKey = publicInstance + "." + callerName;
523
+ didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error(
524
+ "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.",
525
+ callerName,
526
+ publicInstance
527
+ ), didWarnStateUpdateForUnmountedComponent[warningKey] = true);
528
+ }
529
+ function Component(props, context, updater) {
530
+ this.props = props;
531
+ this.context = context;
532
+ this.refs = emptyObject;
533
+ this.updater = updater || ReactNoopUpdateQueue;
534
+ }
535
+ function ComponentDummy() {
536
+ }
537
+ function PureComponent(props, context, updater) {
538
+ this.props = props;
539
+ this.context = context;
540
+ this.refs = emptyObject;
541
+ this.updater = updater || ReactNoopUpdateQueue;
542
+ }
543
+ function noop() {
544
+ }
545
+ function testStringCoercion(value) {
546
+ return "" + value;
547
+ }
548
+ function checkKeyStringCoercion(value) {
549
+ try {
550
+ testStringCoercion(value);
551
+ var JSCompiler_inline_result = false;
552
+ } catch (e) {
553
+ JSCompiler_inline_result = true;
554
+ }
555
+ if (JSCompiler_inline_result) {
556
+ JSCompiler_inline_result = console;
557
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
558
+ var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
559
+ JSCompiler_temp_const.call(
560
+ JSCompiler_inline_result,
561
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
562
+ JSCompiler_inline_result$jscomp$0
563
+ );
564
+ return testStringCoercion(value);
565
+ }
566
+ }
567
+ function getComponentNameFromType(type) {
568
+ if (null == type) return null;
569
+ if ("function" === typeof type)
570
+ return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
571
+ if ("string" === typeof type) return type;
572
+ switch (type) {
573
+ case REACT_FRAGMENT_TYPE:
574
+ return "Fragment";
575
+ case REACT_PROFILER_TYPE:
576
+ return "Profiler";
577
+ case REACT_STRICT_MODE_TYPE:
578
+ return "StrictMode";
579
+ case REACT_SUSPENSE_TYPE:
580
+ return "Suspense";
581
+ case REACT_SUSPENSE_LIST_TYPE:
582
+ return "SuspenseList";
583
+ case REACT_ACTIVITY_TYPE:
584
+ return "Activity";
585
+ }
586
+ if ("object" === typeof type)
587
+ switch ("number" === typeof type.tag && console.error(
588
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
589
+ ), type.$$typeof) {
590
+ case REACT_PORTAL_TYPE:
591
+ return "Portal";
592
+ case REACT_CONTEXT_TYPE:
593
+ return type.displayName || "Context";
594
+ case REACT_CONSUMER_TYPE:
595
+ return (type._context.displayName || "Context") + ".Consumer";
596
+ case REACT_FORWARD_REF_TYPE:
597
+ var innerType = type.render;
598
+ type = type.displayName;
599
+ type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
600
+ return type;
601
+ case REACT_MEMO_TYPE:
602
+ return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
603
+ case REACT_LAZY_TYPE:
604
+ innerType = type._payload;
605
+ type = type._init;
606
+ try {
607
+ return getComponentNameFromType(type(innerType));
608
+ } catch (x) {
609
+ }
610
+ }
611
+ return null;
612
+ }
613
+ function getTaskName(type) {
614
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
615
+ if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
616
+ return "<...>";
617
+ try {
618
+ var name = getComponentNameFromType(type);
619
+ return name ? "<" + name + ">" : "<...>";
620
+ } catch (x) {
621
+ return "<...>";
622
+ }
623
+ }
624
+ function getOwner() {
625
+ var dispatcher = ReactSharedInternals.A;
626
+ return null === dispatcher ? null : dispatcher.getOwner();
627
+ }
628
+ function UnknownOwner() {
629
+ return Error("react-stack-top-frame");
630
+ }
631
+ function hasValidKey(config) {
632
+ if (hasOwnProperty.call(config, "key")) {
633
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
634
+ if (getter && getter.isReactWarning) return false;
635
+ }
636
+ return void 0 !== config.key;
637
+ }
638
+ function defineKeyPropWarningGetter(props, displayName) {
639
+ function warnAboutAccessingKey() {
640
+ specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
641
+ "%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)",
642
+ displayName
643
+ ));
644
+ }
645
+ warnAboutAccessingKey.isReactWarning = true;
646
+ Object.defineProperty(props, "key", {
647
+ get: warnAboutAccessingKey,
648
+ configurable: true
649
+ });
650
+ }
651
+ function elementRefGetterWithDeprecationWarning() {
652
+ var componentName = getComponentNameFromType(this.type);
653
+ didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
654
+ "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."
655
+ ));
656
+ componentName = this.props.ref;
657
+ return void 0 !== componentName ? componentName : null;
658
+ }
659
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
660
+ var refProp = props.ref;
661
+ type = {
662
+ $$typeof: REACT_ELEMENT_TYPE,
663
+ type,
664
+ key,
665
+ props,
666
+ _owner: owner
667
+ };
668
+ null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
669
+ enumerable: false,
670
+ get: elementRefGetterWithDeprecationWarning
671
+ }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
672
+ type._store = {};
673
+ Object.defineProperty(type._store, "validated", {
674
+ configurable: false,
675
+ enumerable: false,
676
+ writable: true,
677
+ value: 0
678
+ });
679
+ Object.defineProperty(type, "_debugInfo", {
680
+ configurable: false,
681
+ enumerable: false,
682
+ writable: true,
683
+ value: null
684
+ });
685
+ Object.defineProperty(type, "_debugStack", {
686
+ configurable: false,
687
+ enumerable: false,
688
+ writable: true,
689
+ value: debugStack
690
+ });
691
+ Object.defineProperty(type, "_debugTask", {
692
+ configurable: false,
693
+ enumerable: false,
694
+ writable: true,
695
+ value: debugTask
696
+ });
697
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
698
+ return type;
699
+ }
700
+ function cloneAndReplaceKey(oldElement, newKey) {
701
+ newKey = ReactElement(
702
+ oldElement.type,
703
+ newKey,
704
+ oldElement.props,
705
+ oldElement._owner,
706
+ oldElement._debugStack,
707
+ oldElement._debugTask
708
+ );
709
+ oldElement._store && (newKey._store.validated = oldElement._store.validated);
710
+ return newKey;
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
+ }
715
+ function isValidElement(object) {
716
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
717
+ }
718
+ function escape(key) {
719
+ var escaperLookup = { "=": "=0", ":": "=2" };
720
+ return "$" + key.replace(/[=:]/g, function(match) {
721
+ return escaperLookup[match];
722
+ });
723
+ }
724
+ function getElementKey(element, index) {
725
+ return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
726
+ }
727
+ function resolveThenable(thenable) {
728
+ switch (thenable.status) {
729
+ case "fulfilled":
730
+ return thenable.value;
731
+ case "rejected":
732
+ throw thenable.reason;
733
+ default:
734
+ switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
735
+ function(fulfilledValue) {
736
+ "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
737
+ },
738
+ function(error) {
739
+ "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
740
+ }
741
+ )), thenable.status) {
742
+ case "fulfilled":
743
+ return thenable.value;
744
+ case "rejected":
745
+ throw thenable.reason;
746
+ }
747
+ }
748
+ throw thenable;
749
+ }
750
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
751
+ var type = typeof children;
752
+ if ("undefined" === type || "boolean" === type) children = null;
753
+ var invokeCallback = false;
754
+ if (null === children) invokeCallback = true;
755
+ else
756
+ switch (type) {
757
+ case "bigint":
758
+ case "string":
759
+ case "number":
760
+ invokeCallback = true;
761
+ break;
762
+ case "object":
763
+ switch (children.$$typeof) {
764
+ case REACT_ELEMENT_TYPE:
765
+ case REACT_PORTAL_TYPE:
766
+ invokeCallback = true;
767
+ break;
768
+ case REACT_LAZY_TYPE:
769
+ return invokeCallback = children._init, mapIntoArray(
770
+ invokeCallback(children._payload),
771
+ array,
772
+ escapedPrefix,
773
+ nameSoFar,
774
+ callback
775
+ );
776
+ }
777
+ }
778
+ if (invokeCallback) {
779
+ invokeCallback = children;
780
+ callback = callback(invokeCallback);
781
+ var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
782
+ isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
783
+ return c;
784
+ })) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(
785
+ callback,
786
+ escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(
787
+ userProvidedKeyEscapeRegex,
788
+ "$&/"
789
+ ) + "/") + childKey
790
+ ), "" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));
791
+ return 1;
792
+ }
793
+ invokeCallback = 0;
794
+ childKey = "" === nameSoFar ? "." : nameSoFar + ":";
795
+ if (isArrayImpl(children))
796
+ for (var i = 0; i < children.length; i++)
797
+ nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
798
+ nameSoFar,
799
+ array,
800
+ escapedPrefix,
801
+ type,
802
+ callback
803
+ );
804
+ else if (i = getIteratorFn(children), "function" === typeof i)
805
+ for (i === children.entries && (didWarnAboutMaps || console.warn(
806
+ "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
807
+ ), didWarnAboutMaps = true), children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
808
+ nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
809
+ nameSoFar,
810
+ array,
811
+ escapedPrefix,
812
+ type,
813
+ callback
814
+ );
815
+ else if ("object" === type) {
816
+ if ("function" === typeof children.then)
817
+ return mapIntoArray(
818
+ resolveThenable(children),
819
+ array,
820
+ escapedPrefix,
821
+ nameSoFar,
822
+ callback
823
+ );
824
+ array = String(children);
825
+ throw Error(
826
+ "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."
827
+ );
828
+ }
829
+ return invokeCallback;
830
+ }
831
+ function mapChildren(children, func, context) {
832
+ if (null == children) return children;
833
+ var result = [], count = 0;
834
+ mapIntoArray(children, result, "", "", function(child) {
835
+ return func.call(context, child, count++);
836
+ });
837
+ return result;
838
+ }
839
+ function lazyInitializer(payload) {
840
+ if (-1 === payload._status) {
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(
846
+ function(moduleObject) {
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
+ }
854
+ },
855
+ function(error) {
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
+ }
863
+ }
864
+ );
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);
872
+ }
873
+ if (1 === payload._status)
874
+ return ioInfo = payload._result, void 0 === ioInfo && console.error(
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?",
876
+ ioInfo
877
+ ), "default" in ioInfo || console.error(
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'))",
879
+ ioInfo
880
+ ), ioInfo.default;
881
+ throw payload._result;
882
+ }
883
+ function resolveDispatcher() {
884
+ var dispatcher = ReactSharedInternals.H;
885
+ null === dispatcher && console.error(
886
+ "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."
887
+ );
888
+ return dispatcher;
889
+ }
890
+ function releaseAsyncTransition() {
891
+ ReactSharedInternals.asyncTransitions--;
892
+ }
893
+ function enqueueTask(task) {
894
+ if (null === enqueueTaskImpl)
895
+ try {
896
+ var requireString = ("require" + Math.random()).slice(0, 7);
897
+ enqueueTaskImpl = (module && module[requireString]).call(
898
+ module,
899
+ "timers"
900
+ ).setImmediate;
901
+ } catch (_err) {
902
+ enqueueTaskImpl = function(callback) {
903
+ false === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = true, "undefined" === typeof MessageChannel && console.error(
904
+ "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."
905
+ ));
906
+ var channel = new MessageChannel();
907
+ channel.port1.onmessage = callback;
908
+ channel.port2.postMessage(void 0);
909
+ };
910
+ }
911
+ return enqueueTaskImpl(task);
912
+ }
913
+ function aggregateErrors(errors) {
914
+ return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0];
915
+ }
916
+ function popActScope(prevActQueue, prevActScopeDepth) {
917
+ prevActScopeDepth !== actScopeDepth - 1 && console.error(
918
+ "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
919
+ );
920
+ actScopeDepth = prevActScopeDepth;
921
+ }
922
+ function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
923
+ var queue = ReactSharedInternals.actQueue;
924
+ if (null !== queue)
925
+ if (0 !== queue.length)
926
+ try {
927
+ flushActQueue(queue);
928
+ enqueueTask(function() {
929
+ return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
930
+ });
931
+ return;
932
+ } catch (error) {
933
+ ReactSharedInternals.thrownErrors.push(error);
934
+ }
935
+ else ReactSharedInternals.actQueue = null;
936
+ 0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);
937
+ }
938
+ function flushActQueue(queue) {
939
+ if (!isFlushing) {
940
+ isFlushing = true;
941
+ var i = 0;
942
+ try {
943
+ for (; i < queue.length; i++) {
944
+ var callback = queue[i];
945
+ do {
946
+ ReactSharedInternals.didUsePromise = false;
947
+ var continuation = callback(false);
948
+ if (null !== continuation) {
949
+ if (ReactSharedInternals.didUsePromise) {
950
+ queue[i] = callback;
951
+ queue.splice(0, i);
952
+ return;
953
+ }
954
+ callback = continuation;
955
+ } else break;
956
+ } while (1);
957
+ }
958
+ queue.length = 0;
959
+ } catch (error) {
960
+ queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
961
+ } finally {
962
+ isFlushing = false;
963
+ }
964
+ }
965
+ }
966
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
967
+ var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
968
+ isMounted: function() {
969
+ return false;
970
+ },
971
+ enqueueForceUpdate: function(publicInstance) {
972
+ warnNoop(publicInstance, "forceUpdate");
973
+ },
974
+ enqueueReplaceState: function(publicInstance) {
975
+ warnNoop(publicInstance, "replaceState");
976
+ },
977
+ enqueueSetState: function(publicInstance) {
978
+ warnNoop(publicInstance, "setState");
979
+ }
980
+ }, assign = Object.assign, emptyObject = {};
981
+ Object.freeze(emptyObject);
982
+ Component.prototype.isReactComponent = {};
983
+ Component.prototype.setState = function(partialState, callback) {
984
+ if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
985
+ throw Error(
986
+ "takes an object of state variables to update or a function which returns an object of state variables."
987
+ );
988
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
989
+ };
990
+ Component.prototype.forceUpdate = function(callback) {
991
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
992
+ };
993
+ var deprecatedAPIs = {
994
+ isMounted: [
995
+ "isMounted",
996
+ "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
997
+ ],
998
+ replaceState: [
999
+ "replaceState",
1000
+ "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
1001
+ ]
1002
+ };
1003
+ for (fnName in deprecatedAPIs)
1004
+ deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
1005
+ ComponentDummy.prototype = Component.prototype;
1006
+ deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
1007
+ deprecatedAPIs.constructor = PureComponent;
1008
+ assign(deprecatedAPIs, Component.prototype);
1009
+ deprecatedAPIs.isPureReactComponent = true;
1010
+ var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = {
1011
+ H: null,
1012
+ A: null,
1013
+ T: null,
1014
+ S: null,
1015
+ actQueue: null,
1016
+ asyncTransitions: 0,
1017
+ isBatchingLegacy: false,
1018
+ didScheduleLegacyUpdate: false,
1019
+ didUsePromise: false,
1020
+ thrownErrors: [],
1021
+ getCurrentStack: null,
1022
+ recentlyCreatedOwnerStacks: 0
1023
+ }, hasOwnProperty = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() {
1024
+ return null;
1025
+ };
1026
+ deprecatedAPIs = {
1027
+ react_stack_bottom_frame: function(callStackForError) {
1028
+ return callStackForError();
1029
+ }
1030
+ };
1031
+ var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
1032
+ var didWarnAboutElementRef = {};
1033
+ var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
1034
+ deprecatedAPIs,
1035
+ UnknownOwner
1036
+ )();
1037
+ var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
1038
+ var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
1039
+ if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
1040
+ var event = new window.ErrorEvent("error", {
1041
+ bubbles: true,
1042
+ cancelable: true,
1043
+ message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
1044
+ error
1045
+ });
1046
+ if (!window.dispatchEvent(event)) return;
1047
+ } else if ("object" === typeof process && "function" === typeof process.emit) {
1048
+ process.emit("uncaughtException", error);
1049
+ return;
1050
+ }
1051
+ console.error(error);
1052
+ }, didWarnAboutMessageChannel = false, enqueueTaskImpl = null, actScopeDepth = 0, didWarnNoAwaitAct = false, isFlushing = false, queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function(callback) {
1053
+ queueMicrotask(function() {
1054
+ return queueMicrotask(callback);
1055
+ });
1056
+ } : enqueueTask;
1057
+ deprecatedAPIs = Object.freeze({
1058
+ __proto__: null,
1059
+ c: function(size) {
1060
+ return resolveDispatcher().useMemoCache(size);
1061
+ }
1062
+ });
1063
+ var fnName = {
1064
+ map: mapChildren,
1065
+ forEach: function(children, forEachFunc, forEachContext) {
1066
+ mapChildren(
1067
+ children,
1068
+ function() {
1069
+ forEachFunc.apply(this, arguments);
1070
+ },
1071
+ forEachContext
1072
+ );
1073
+ },
1074
+ count: function(children) {
1075
+ var n = 0;
1076
+ mapChildren(children, function() {
1077
+ n++;
1078
+ });
1079
+ return n;
1080
+ },
1081
+ toArray: function(children) {
1082
+ return mapChildren(children, function(child) {
1083
+ return child;
1084
+ }) || [];
1085
+ },
1086
+ only: function(children) {
1087
+ if (!isValidElement(children))
1088
+ throw Error(
1089
+ "React.Children.only expected to receive a single React element child."
1090
+ );
1091
+ return children;
1092
+ }
1093
+ };
1094
+ exports.Activity = REACT_ACTIVITY_TYPE;
1095
+ exports.Children = fnName;
1096
+ exports.Component = Component;
1097
+ exports.Fragment = REACT_FRAGMENT_TYPE;
1098
+ exports.Profiler = REACT_PROFILER_TYPE;
1099
+ exports.PureComponent = PureComponent;
1100
+ exports.StrictMode = REACT_STRICT_MODE_TYPE;
1101
+ exports.Suspense = REACT_SUSPENSE_TYPE;
1102
+ exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
1103
+ exports.__COMPILER_RUNTIME = deprecatedAPIs;
1104
+ exports.act = function(callback) {
1105
+ var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
1106
+ actScopeDepth++;
1107
+ var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = false;
1108
+ try {
1109
+ var result = callback();
1110
+ } catch (error) {
1111
+ ReactSharedInternals.thrownErrors.push(error);
1112
+ }
1113
+ if (0 < ReactSharedInternals.thrownErrors.length)
1114
+ throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
1115
+ if (null !== result && "object" === typeof result && "function" === typeof result.then) {
1116
+ var thenable = result;
1117
+ queueSeveralMicrotasks(function() {
1118
+ didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
1119
+ "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 () => ...);"
1120
+ ));
1121
+ });
1122
+ return {
1123
+ then: function(resolve, reject) {
1124
+ didAwaitActCall = true;
1125
+ thenable.then(
1126
+ function(returnValue) {
1127
+ popActScope(prevActQueue, prevActScopeDepth);
1128
+ if (0 === prevActScopeDepth) {
1129
+ try {
1130
+ flushActQueue(queue), enqueueTask(function() {
1131
+ return recursivelyFlushAsyncActWork(
1132
+ returnValue,
1133
+ resolve,
1134
+ reject
1135
+ );
1136
+ });
1137
+ } catch (error$0) {
1138
+ ReactSharedInternals.thrownErrors.push(error$0);
1139
+ }
1140
+ if (0 < ReactSharedInternals.thrownErrors.length) {
1141
+ var _thrownError = aggregateErrors(
1142
+ ReactSharedInternals.thrownErrors
1143
+ );
1144
+ ReactSharedInternals.thrownErrors.length = 0;
1145
+ reject(_thrownError);
1146
+ }
1147
+ } else resolve(returnValue);
1148
+ },
1149
+ function(error) {
1150
+ popActScope(prevActQueue, prevActScopeDepth);
1151
+ 0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(
1152
+ ReactSharedInternals.thrownErrors
1153
+ ), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);
1154
+ }
1155
+ );
1156
+ }
1157
+ };
1158
+ }
1159
+ var returnValue$jscomp$0 = result;
1160
+ popActScope(prevActQueue, prevActScopeDepth);
1161
+ 0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function() {
1162
+ didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
1163
+ "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(() => ...)"
1164
+ ));
1165
+ }), ReactSharedInternals.actQueue = null);
1166
+ if (0 < ReactSharedInternals.thrownErrors.length)
1167
+ throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
1168
+ return {
1169
+ then: function(resolve, reject) {
1170
+ didAwaitActCall = true;
1171
+ 0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function() {
1172
+ return recursivelyFlushAsyncActWork(
1173
+ returnValue$jscomp$0,
1174
+ resolve,
1175
+ reject
1176
+ );
1177
+ })) : resolve(returnValue$jscomp$0);
1178
+ }
1179
+ };
1180
+ };
1181
+ exports.cache = function(fn) {
1182
+ return function() {
1183
+ return fn.apply(null, arguments);
1184
+ };
1185
+ };
1186
+ exports.cacheSignal = function() {
1187
+ return null;
1188
+ };
1189
+ exports.captureOwnerStack = function() {
1190
+ var getCurrentStack = ReactSharedInternals.getCurrentStack;
1191
+ return null === getCurrentStack ? null : getCurrentStack();
1192
+ };
1193
+ exports.cloneElement = function(element, config, children) {
1194
+ if (null === element || void 0 === element)
1195
+ throw Error(
1196
+ "The argument must be a React element, but you passed " + element + "."
1197
+ );
1198
+ var props = assign({}, element.props), key = element.key, owner = element._owner;
1199
+ if (null != config) {
1200
+ var JSCompiler_inline_result;
1201
+ a: {
1202
+ if (hasOwnProperty.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
1203
+ config,
1204
+ "ref"
1205
+ ).get) && JSCompiler_inline_result.isReactWarning) {
1206
+ JSCompiler_inline_result = false;
1207
+ break a;
1208
+ }
1209
+ JSCompiler_inline_result = void 0 !== config.ref;
1210
+ }
1211
+ JSCompiler_inline_result && (owner = getOwner());
1212
+ hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key);
1213
+ for (propName in config)
1214
+ !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
1215
+ }
1216
+ var propName = arguments.length - 2;
1217
+ if (1 === propName) props.children = children;
1218
+ else if (1 < propName) {
1219
+ JSCompiler_inline_result = Array(propName);
1220
+ for (var i = 0; i < propName; i++)
1221
+ JSCompiler_inline_result[i] = arguments[i + 2];
1222
+ props.children = JSCompiler_inline_result;
1223
+ }
1224
+ props = ReactElement(
1225
+ element.type,
1226
+ key,
1227
+ props,
1228
+ owner,
1229
+ element._debugStack,
1230
+ element._debugTask
1231
+ );
1232
+ for (key = 2; key < arguments.length; key++)
1233
+ validateChildKeys(arguments[key]);
1234
+ return props;
1235
+ };
1236
+ exports.createContext = function(defaultValue) {
1237
+ defaultValue = {
1238
+ $$typeof: REACT_CONTEXT_TYPE,
1239
+ _currentValue: defaultValue,
1240
+ _currentValue2: defaultValue,
1241
+ _threadCount: 0,
1242
+ Provider: null,
1243
+ Consumer: null
1244
+ };
1245
+ defaultValue.Provider = defaultValue;
1246
+ defaultValue.Consumer = {
1247
+ $$typeof: REACT_CONSUMER_TYPE,
1248
+ _context: defaultValue
1249
+ };
1250
+ defaultValue._currentRenderer = null;
1251
+ defaultValue._currentRenderer2 = null;
1252
+ return defaultValue;
1253
+ };
1254
+ exports.createElement = function(type, config, children) {
1255
+ for (var i = 2; i < arguments.length; i++)
1256
+ validateChildKeys(arguments[i]);
1257
+ i = {};
1258
+ var key = null;
1259
+ if (null != config)
1260
+ for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
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"
1262
+ )), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config)
1263
+ hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
1264
+ var childrenLength = arguments.length - 2;
1265
+ if (1 === childrenLength) i.children = children;
1266
+ else if (1 < childrenLength) {
1267
+ for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++)
1268
+ childArray[_i] = arguments[_i + 2];
1269
+ Object.freeze && Object.freeze(childArray);
1270
+ i.children = childArray;
1271
+ }
1272
+ if (type && type.defaultProps)
1273
+ for (propName in childrenLength = type.defaultProps, childrenLength)
1274
+ void 0 === i[propName] && (i[propName] = childrenLength[propName]);
1275
+ key && defineKeyPropWarningGetter(
1276
+ i,
1277
+ "function" === typeof type ? type.displayName || type.name || "Unknown" : type
1278
+ );
1279
+ var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1280
+ return ReactElement(
1281
+ type,
1282
+ key,
1283
+ i,
1284
+ getOwner(),
1285
+ propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1286
+ propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1287
+ );
1288
+ };
1289
+ exports.createRef = function() {
1290
+ var refObject = { current: null };
1291
+ Object.seal(refObject);
1292
+ return refObject;
1293
+ };
1294
+ exports.forwardRef = function(render) {
1295
+ null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error(
1296
+ "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
1297
+ ) : "function" !== typeof render ? console.error(
1298
+ "forwardRef requires a render function but was given %s.",
1299
+ null === render ? "null" : typeof render
1300
+ ) : 0 !== render.length && 2 !== render.length && console.error(
1301
+ "forwardRef render functions accept exactly two parameters: props and ref. %s",
1302
+ 1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."
1303
+ );
1304
+ null != render && null != render.defaultProps && console.error(
1305
+ "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
1306
+ );
1307
+ var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render }, ownName;
1308
+ Object.defineProperty(elementType, "displayName", {
1309
+ enumerable: false,
1310
+ configurable: true,
1311
+ get: function() {
1312
+ return ownName;
1313
+ },
1314
+ set: function(name) {
1315
+ ownName = name;
1316
+ render.name || render.displayName || (Object.defineProperty(render, "name", { value: name }), render.displayName = name);
1317
+ }
1318
+ });
1319
+ return elementType;
1320
+ };
1321
+ exports.isValidElement = isValidElement;
1322
+ exports.lazy = function(ctor) {
1323
+ ctor = { _status: -1, _result: ctor };
1324
+ var lazyType = {
1325
+ $$typeof: REACT_LAZY_TYPE,
1326
+ _payload: ctor,
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
1336
+ };
1337
+ ctor._ioInfo = ioInfo;
1338
+ lazyType._debugInfo = [{ awaited: ioInfo }];
1339
+ return lazyType;
1340
+ };
1341
+ exports.memo = function(type, compare) {
1342
+ null == type && console.error(
1343
+ "memo: The first argument must be a component. Instead received: %s",
1344
+ null === type ? "null" : typeof type
1345
+ );
1346
+ compare = {
1347
+ $$typeof: REACT_MEMO_TYPE,
1348
+ type,
1349
+ compare: void 0 === compare ? null : compare
1350
+ };
1351
+ var ownName;
1352
+ Object.defineProperty(compare, "displayName", {
1353
+ enumerable: false,
1354
+ configurable: true,
1355
+ get: function() {
1356
+ return ownName;
1357
+ },
1358
+ set: function(name) {
1359
+ ownName = name;
1360
+ type.name || type.displayName || (Object.defineProperty(type, "name", { value: name }), type.displayName = name);
1361
+ }
1362
+ });
1363
+ return compare;
1364
+ };
1365
+ exports.startTransition = function(scope) {
1366
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
1367
+ currentTransition._updatedFibers = /* @__PURE__ */ new Set();
1368
+ ReactSharedInternals.T = currentTransition;
1369
+ try {
1370
+ var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
1371
+ null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
1372
+ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
1373
+ } catch (error) {
1374
+ reportGlobalError(error);
1375
+ } finally {
1376
+ null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
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."
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;
1381
+ }
1382
+ };
1383
+ exports.unstable_useCacheRefresh = function() {
1384
+ return resolveDispatcher().useCacheRefresh();
1385
+ };
1386
+ exports.use = function(usable) {
1387
+ return resolveDispatcher().use(usable);
1388
+ };
1389
+ exports.useActionState = function(action, initialState, permalink) {
1390
+ return resolveDispatcher().useActionState(
1391
+ action,
1392
+ initialState,
1393
+ permalink
1394
+ );
1395
+ };
1396
+ exports.useCallback = function(callback, deps) {
1397
+ return resolveDispatcher().useCallback(callback, deps);
1398
+ };
1399
+ exports.useContext = function(Context) {
1400
+ var dispatcher = resolveDispatcher();
1401
+ Context.$$typeof === REACT_CONSUMER_TYPE && console.error(
1402
+ "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
1403
+ );
1404
+ return dispatcher.useContext(Context);
1405
+ };
1406
+ exports.useDebugValue = function(value, formatterFn) {
1407
+ return resolveDispatcher().useDebugValue(value, formatterFn);
1408
+ };
1409
+ exports.useDeferredValue = function(value, initialValue) {
1410
+ return resolveDispatcher().useDeferredValue(value, initialValue);
1411
+ };
1412
+ exports.useEffect = function(create, deps) {
1413
+ null == create && console.warn(
1414
+ "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1415
+ );
1416
+ return resolveDispatcher().useEffect(create, deps);
1417
+ };
1418
+ exports.useEffectEvent = function(callback) {
1419
+ return resolveDispatcher().useEffectEvent(callback);
1420
+ };
1421
+ exports.useId = function() {
1422
+ return resolveDispatcher().useId();
1423
+ };
1424
+ exports.useImperativeHandle = function(ref, create, deps) {
1425
+ return resolveDispatcher().useImperativeHandle(ref, create, deps);
1426
+ };
1427
+ exports.useInsertionEffect = function(create, deps) {
1428
+ null == create && console.warn(
1429
+ "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1430
+ );
1431
+ return resolveDispatcher().useInsertionEffect(create, deps);
1432
+ };
1433
+ exports.useLayoutEffect = function(create, deps) {
1434
+ null == create && console.warn(
1435
+ "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1436
+ );
1437
+ return resolveDispatcher().useLayoutEffect(create, deps);
1438
+ };
1439
+ exports.useMemo = function(create, deps) {
1440
+ return resolveDispatcher().useMemo(create, deps);
1441
+ };
1442
+ exports.useOptimistic = function(passthrough, reducer) {
1443
+ return resolveDispatcher().useOptimistic(passthrough, reducer);
1444
+ };
1445
+ exports.useReducer = function(reducer, initialArg, init) {
1446
+ return resolveDispatcher().useReducer(reducer, initialArg, init);
1447
+ };
1448
+ exports.useRef = function(initialValue) {
1449
+ return resolveDispatcher().useRef(initialValue);
1450
+ };
1451
+ exports.useState = function(initialState) {
1452
+ return resolveDispatcher().useState(initialState);
1453
+ };
1454
+ exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
1455
+ return resolveDispatcher().useSyncExternalStore(
1456
+ subscribe,
1457
+ getSnapshot,
1458
+ getServerSnapshot
1459
+ );
1460
+ };
1461
+ exports.useTransition = function() {
1462
+ return resolveDispatcher().useTransition();
1463
+ };
1464
+ exports.version = "19.2.3";
1465
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1466
+ })();
1467
+ }
1468
+ });
1469
+
1470
+ // ../../../node_modules/react/index.js
1471
+ var require_react = __commonJS({
1472
+ "../../../node_modules/react/index.js"(exports, module) {
1473
+ "use strict";
1474
+ if (process.env.NODE_ENV === "production") {
1475
+ module.exports = require_react_production();
1476
+ } else {
1477
+ module.exports = require_react_development();
1478
+ }
1479
+ }
1480
+ });
1481
+
1482
+ // ../../../node_modules/react/cjs/react-jsx-runtime.development.js
1483
+ var require_react_jsx_runtime_development = __commonJS({
1484
+ "../../../node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
1485
+ "use strict";
1486
+ "production" !== process.env.NODE_ENV && (function() {
1487
+ function getComponentNameFromType(type) {
1488
+ if (null == type) return null;
1489
+ if ("function" === typeof type)
1490
+ return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
1491
+ if ("string" === typeof type) return type;
1492
+ switch (type) {
1493
+ case REACT_FRAGMENT_TYPE:
1494
+ return "Fragment";
1495
+ case REACT_PROFILER_TYPE:
1496
+ return "Profiler";
1497
+ case REACT_STRICT_MODE_TYPE:
1498
+ return "StrictMode";
1499
+ case REACT_SUSPENSE_TYPE:
1500
+ return "Suspense";
1501
+ case REACT_SUSPENSE_LIST_TYPE:
1502
+ return "SuspenseList";
1503
+ case REACT_ACTIVITY_TYPE:
1504
+ return "Activity";
1505
+ }
1506
+ if ("object" === typeof type)
1507
+ switch ("number" === typeof type.tag && console.error(
1508
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
1509
+ ), type.$$typeof) {
1510
+ case REACT_PORTAL_TYPE:
1511
+ return "Portal";
1512
+ case REACT_CONTEXT_TYPE:
1513
+ return type.displayName || "Context";
1514
+ case REACT_CONSUMER_TYPE:
1515
+ return (type._context.displayName || "Context") + ".Consumer";
1516
+ case REACT_FORWARD_REF_TYPE:
1517
+ var innerType = type.render;
1518
+ type = type.displayName;
1519
+ type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
1520
+ return type;
1521
+ case REACT_MEMO_TYPE:
1522
+ return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
1523
+ case REACT_LAZY_TYPE:
1524
+ innerType = type._payload;
1525
+ type = type._init;
1526
+ try {
1527
+ return getComponentNameFromType(type(innerType));
1528
+ } catch (x) {
1529
+ }
1530
+ }
1531
+ return null;
1532
+ }
1533
+ function testStringCoercion(value) {
1534
+ return "" + value;
1535
+ }
1536
+ function checkKeyStringCoercion(value) {
1537
+ try {
1538
+ testStringCoercion(value);
1539
+ var JSCompiler_inline_result = false;
1540
+ } catch (e) {
1541
+ JSCompiler_inline_result = true;
1542
+ }
1543
+ if (JSCompiler_inline_result) {
1544
+ JSCompiler_inline_result = console;
1545
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
1546
+ var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
1547
+ JSCompiler_temp_const.call(
1548
+ JSCompiler_inline_result,
1549
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
1550
+ JSCompiler_inline_result$jscomp$0
1551
+ );
1552
+ return testStringCoercion(value);
1553
+ }
1554
+ }
1555
+ function getTaskName(type) {
1556
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
1557
+ if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
1558
+ return "<...>";
1559
+ try {
1560
+ var name = getComponentNameFromType(type);
1561
+ return name ? "<" + name + ">" : "<...>";
1562
+ } catch (x) {
1563
+ return "<...>";
1564
+ }
1565
+ }
1566
+ function getOwner() {
1567
+ var dispatcher = ReactSharedInternals.A;
1568
+ return null === dispatcher ? null : dispatcher.getOwner();
1569
+ }
1570
+ function UnknownOwner() {
1571
+ return Error("react-stack-top-frame");
1572
+ }
1573
+ function hasValidKey(config) {
1574
+ if (hasOwnProperty.call(config, "key")) {
1575
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
1576
+ if (getter && getter.isReactWarning) return false;
1577
+ }
1578
+ return void 0 !== config.key;
1579
+ }
1580
+ function defineKeyPropWarningGetter(props, displayName) {
1581
+ function warnAboutAccessingKey() {
1582
+ specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
1583
+ "%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)",
1584
+ displayName
1585
+ ));
1586
+ }
1587
+ warnAboutAccessingKey.isReactWarning = true;
1588
+ Object.defineProperty(props, "key", {
1589
+ get: warnAboutAccessingKey,
1590
+ configurable: true
1591
+ });
1592
+ }
1593
+ function elementRefGetterWithDeprecationWarning() {
1594
+ var componentName = getComponentNameFromType(this.type);
1595
+ didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
1596
+ "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."
1597
+ ));
1598
+ componentName = this.props.ref;
1599
+ return void 0 !== componentName ? componentName : null;
1600
+ }
1601
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
1602
+ var refProp = props.ref;
1603
+ type = {
1604
+ $$typeof: REACT_ELEMENT_TYPE,
1605
+ type,
1606
+ key,
1607
+ props,
1608
+ _owner: owner
1609
+ };
1610
+ null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
1611
+ enumerable: false,
1612
+ get: elementRefGetterWithDeprecationWarning
1613
+ }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
1614
+ type._store = {};
1615
+ Object.defineProperty(type._store, "validated", {
1616
+ configurable: false,
1617
+ enumerable: false,
1618
+ writable: true,
1619
+ value: 0
1620
+ });
1621
+ Object.defineProperty(type, "_debugInfo", {
1622
+ configurable: false,
1623
+ enumerable: false,
1624
+ writable: true,
1625
+ value: null
1626
+ });
1627
+ Object.defineProperty(type, "_debugStack", {
1628
+ configurable: false,
1629
+ enumerable: false,
1630
+ writable: true,
1631
+ value: debugStack
1632
+ });
1633
+ Object.defineProperty(type, "_debugTask", {
1634
+ configurable: false,
1635
+ enumerable: false,
1636
+ writable: true,
1637
+ value: debugTask
1638
+ });
1639
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
1640
+ return type;
1641
+ }
1642
+ function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
1643
+ var children = config.children;
1644
+ if (void 0 !== children)
1645
+ if (isStaticChildren)
1646
+ if (isArrayImpl(children)) {
1647
+ for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
1648
+ validateChildKeys(children[isStaticChildren]);
1649
+ Object.freeze && Object.freeze(children);
1650
+ } else
1651
+ console.error(
1652
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
1653
+ );
1654
+ else validateChildKeys(children);
1655
+ if (hasOwnProperty.call(config, "key")) {
1656
+ children = getComponentNameFromType(type);
1657
+ var keys = Object.keys(config).filter(function(k) {
1658
+ return "key" !== k;
1659
+ });
1660
+ isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
1661
+ didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
1662
+ '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} />',
1663
+ isStaticChildren,
1664
+ children,
1665
+ keys,
1666
+ children
1667
+ ), didWarnAboutKeySpread[children + isStaticChildren] = true);
1668
+ }
1669
+ children = null;
1670
+ void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
1671
+ hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
1672
+ if ("key" in config) {
1673
+ maybeKey = {};
1674
+ for (var propName in config)
1675
+ "key" !== propName && (maybeKey[propName] = config[propName]);
1676
+ } else maybeKey = config;
1677
+ children && defineKeyPropWarningGetter(
1678
+ maybeKey,
1679
+ "function" === typeof type ? type.displayName || type.name || "Unknown" : type
1680
+ );
1681
+ return ReactElement(
1682
+ type,
1683
+ children,
1684
+ maybeKey,
1685
+ getOwner(),
1686
+ debugStack,
1687
+ debugTask
1688
+ );
1689
+ }
1690
+ function validateChildKeys(node) {
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;
1695
+ }
1696
+ var React = require_react(), REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = /* @__PURE__ */ 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() {
1697
+ return null;
1698
+ };
1699
+ React = {
1700
+ react_stack_bottom_frame: function(callStackForError) {
1701
+ return callStackForError();
1702
+ }
1703
+ };
1704
+ var specialPropKeyWarningShown;
1705
+ var didWarnAboutElementRef = {};
1706
+ var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
1707
+ React,
1708
+ UnknownOwner
1709
+ )();
1710
+ var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
1711
+ var didWarnAboutKeySpread = {};
1712
+ exports.Fragment = REACT_FRAGMENT_TYPE;
1713
+ exports.jsx = function(type, config, maybeKey) {
1714
+ var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1715
+ return jsxDEVImpl(
1716
+ type,
1717
+ config,
1718
+ maybeKey,
1719
+ false,
1720
+ trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1721
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1722
+ );
1723
+ };
1724
+ exports.jsxs = function(type, config, maybeKey) {
1725
+ var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1726
+ return jsxDEVImpl(
1727
+ type,
1728
+ config,
1729
+ maybeKey,
1730
+ true,
1731
+ trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1732
+ trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1733
+ );
1734
+ };
1735
+ })();
1736
+ }
1737
+ });
1738
+
1739
+ // ../../../node_modules/react/jsx-runtime.js
1740
+ var require_jsx_runtime = __commonJS({
1741
+ "../../../node_modules/react/jsx-runtime.js"(exports, module) {
1742
+ "use strict";
1743
+ if (process.env.NODE_ENV === "production") {
1744
+ module.exports = require_react_jsx_runtime_production();
1745
+ } else {
1746
+ module.exports = require_react_jsx_runtime_development();
1747
+ }
1748
+ }
1749
+ });
1750
+
1751
+ // src/components/name.tsx
1752
+ var import_jsx_runtime = __toESM(require_jsx_runtime());
1753
+ var Name = () => {
1754
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: "Hello, Harshita" });
1755
+ };
1756
+ var name_default = Name;
1757
+ export {
1758
+ name_default as Name
1759
+ };
1760
+ /*! Bundled license information:
1761
+
1762
+ react/cjs/react-jsx-runtime.production.js:
1763
+ (**
1764
+ * @license React
1765
+ * react-jsx-runtime.production.js
1766
+ *
1767
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
1768
+ *
1769
+ * This source code is licensed under the MIT license found in the
1770
+ * LICENSE file in the root directory of this source tree.
1771
+ *)
1772
+
1773
+ react/cjs/react.production.js:
1774
+ (**
1775
+ * @license React
1776
+ * react.production.js
1777
+ *
1778
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
1779
+ *
1780
+ * This source code is licensed under the MIT license found in the
1781
+ * LICENSE file in the root directory of this source tree.
1782
+ *)
1783
+
1784
+ react/cjs/react.development.js:
1785
+ (**
1786
+ * @license React
1787
+ * react.development.js
1788
+ *
1789
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
1790
+ *
1791
+ * This source code is licensed under the MIT license found in the
1792
+ * LICENSE file in the root directory of this source tree.
1793
+ *)
1794
+
1795
+ react/cjs/react-jsx-runtime.development.js:
1796
+ (**
1797
+ * @license React
1798
+ * react-jsx-runtime.development.js
1799
+ *
1800
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
1801
+ *
1802
+ * This source code is licensed under the MIT license found in the
1803
+ * LICENSE file in the root directory of this source tree.
1804
+ *)
1805
+ */