comparison third_party/bun/june.js @ 12:de54585a40f1

Adding bun and node modules.
author June Park <parkjune1995@gmail.com>
date Thu, 02 Oct 2025 14:39:48 -0700
parents
children
comparison
equal deleted inserted replaced
11:f33d9ff8b6e8 12:de54585a40f1
1 var __create = Object.create;
2 var __getProtoOf = Object.getPrototypeOf;
3 var __defProp = Object.defineProperty;
4 var __getOwnPropNames = Object.getOwnPropertyNames;
5 var __hasOwnProp = Object.prototype.hasOwnProperty;
6 var __toESM = (mod, isNodeMode, target) => {
7 target = mod != null ? __create(__getProtoOf(mod)) : {};
8 const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
9 for (let key of __getOwnPropNames(mod))
10 if (!__hasOwnProp.call(to, key))
11 __defProp(to, key, {
12 get: () => mod[key],
13 enumerable: true
14 });
15 return to;
16 };
17 var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
18
19 // node_modules/react/cjs/react.development.js
20 var require_react_development = __commonJS((exports, module) => {
21 if (true) {
22 (function() {
23 if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
24 __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);
25 }
26 var ReactVersion = "18.3.1";
27 var REACT_ELEMENT_TYPE = Symbol.for("react.element");
28 var REACT_PORTAL_TYPE = Symbol.for("react.portal");
29 var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
30 var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
31 var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
32 var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
33 var REACT_CONTEXT_TYPE = Symbol.for("react.context");
34 var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
35 var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
36 var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
37 var REACT_MEMO_TYPE = Symbol.for("react.memo");
38 var REACT_LAZY_TYPE = Symbol.for("react.lazy");
39 var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
40 var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
41 var FAUX_ITERATOR_SYMBOL = "@@iterator";
42 function getIteratorFn(maybeIterable) {
43 if (maybeIterable === null || typeof maybeIterable !== "object") {
44 return null;
45 }
46 var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
47 if (typeof maybeIterator === "function") {
48 return maybeIterator;
49 }
50 return null;
51 }
52 var ReactCurrentDispatcher = {
53 current: null
54 };
55 var ReactCurrentBatchConfig = {
56 transition: null
57 };
58 var ReactCurrentActQueue = {
59 current: null,
60 isBatchingLegacy: false,
61 didScheduleLegacyUpdate: false
62 };
63 var ReactCurrentOwner = {
64 current: null
65 };
66 var ReactDebugCurrentFrame = {};
67 var currentExtraStackFrame = null;
68 function setExtraStackFrame(stack) {
69 {
70 currentExtraStackFrame = stack;
71 }
72 }
73 {
74 ReactDebugCurrentFrame.setExtraStackFrame = function(stack) {
75 {
76 currentExtraStackFrame = stack;
77 }
78 };
79 ReactDebugCurrentFrame.getCurrentStack = null;
80 ReactDebugCurrentFrame.getStackAddendum = function() {
81 var stack = "";
82 if (currentExtraStackFrame) {
83 stack += currentExtraStackFrame;
84 }
85 var impl = ReactDebugCurrentFrame.getCurrentStack;
86 if (impl) {
87 stack += impl() || "";
88 }
89 return stack;
90 };
91 }
92 var enableScopeAPI = false;
93 var enableCacheElement = false;
94 var enableTransitionTracing = false;
95 var enableLegacyHidden = false;
96 var enableDebugTracing = false;
97 var ReactSharedInternals = {
98 ReactCurrentDispatcher,
99 ReactCurrentBatchConfig,
100 ReactCurrentOwner
101 };
102 {
103 ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
104 ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
105 }
106 function warn(format) {
107 {
108 {
109 for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1;_key < _len; _key++) {
110 args[_key - 1] = arguments[_key];
111 }
112 printWarning("warn", format, args);
113 }
114 }
115 }
116 function error(format) {
117 {
118 {
119 for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1;_key2 < _len2; _key2++) {
120 args[_key2 - 1] = arguments[_key2];
121 }
122 printWarning("error", format, args);
123 }
124 }
125 }
126 function printWarning(level, format, args) {
127 {
128 var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
129 var stack = ReactDebugCurrentFrame2.getStackAddendum();
130 if (stack !== "") {
131 format += "%s";
132 args = args.concat([stack]);
133 }
134 var argsWithFormat = args.map(function(item) {
135 return String(item);
136 });
137 argsWithFormat.unshift("Warning: " + format);
138 Function.prototype.apply.call(console[level], console, argsWithFormat);
139 }
140 }
141 var didWarnStateUpdateForUnmountedComponent = {};
142 function warnNoop(publicInstance, callerName) {
143 {
144 var _constructor = publicInstance.constructor;
145 var componentName = _constructor && (_constructor.displayName || _constructor.name) || "ReactClass";
146 var warningKey = componentName + "." + callerName;
147 if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
148 return;
149 }
150 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, componentName);
151 didWarnStateUpdateForUnmountedComponent[warningKey] = true;
152 }
153 }
154 var ReactNoopUpdateQueue = {
155 isMounted: function(publicInstance) {
156 return false;
157 },
158 enqueueForceUpdate: function(publicInstance, callback, callerName) {
159 warnNoop(publicInstance, "forceUpdate");
160 },
161 enqueueReplaceState: function(publicInstance, completeState, callback, callerName) {
162 warnNoop(publicInstance, "replaceState");
163 },
164 enqueueSetState: function(publicInstance, partialState, callback, callerName) {
165 warnNoop(publicInstance, "setState");
166 }
167 };
168 var assign = Object.assign;
169 var emptyObject = {};
170 {
171 Object.freeze(emptyObject);
172 }
173 function Component(props, context, updater) {
174 this.props = props;
175 this.context = context;
176 this.refs = emptyObject;
177 this.updater = updater || ReactNoopUpdateQueue;
178 }
179 Component.prototype.isReactComponent = {};
180 Component.prototype.setState = function(partialState, callback) {
181 if (typeof partialState !== "object" && typeof partialState !== "function" && partialState != null) {
182 throw new Error("setState(...): takes an object of state variables to update or a " + "function which returns an object of state variables.");
183 }
184 this.updater.enqueueSetState(this, partialState, callback, "setState");
185 };
186 Component.prototype.forceUpdate = function(callback) {
187 this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
188 };
189 {
190 var deprecatedAPIs = {
191 isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in " + "componentWillUnmount to prevent memory leaks."],
192 replaceState: ["replaceState", "Refactor your code to use setState instead (see " + "https://github.com/facebook/react/issues/3236)."]
193 };
194 var defineDeprecationWarning = function(methodName, info) {
195 Object.defineProperty(Component.prototype, methodName, {
196 get: function() {
197 warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]);
198 return;
199 }
200 });
201 };
202 for (var fnName in deprecatedAPIs) {
203 if (deprecatedAPIs.hasOwnProperty(fnName)) {
204 defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
205 }
206 }
207 }
208 function ComponentDummy() {}
209 ComponentDummy.prototype = Component.prototype;
210 function PureComponent(props, context, updater) {
211 this.props = props;
212 this.context = context;
213 this.refs = emptyObject;
214 this.updater = updater || ReactNoopUpdateQueue;
215 }
216 var pureComponentPrototype = PureComponent.prototype = new ComponentDummy;
217 pureComponentPrototype.constructor = PureComponent;
218 assign(pureComponentPrototype, Component.prototype);
219 pureComponentPrototype.isPureReactComponent = true;
220 function createRef() {
221 var refObject = {
222 current: null
223 };
224 {
225 Object.seal(refObject);
226 }
227 return refObject;
228 }
229 var isArrayImpl = Array.isArray;
230 function isArray(a) {
231 return isArrayImpl(a);
232 }
233 function typeName(value) {
234 {
235 var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
236 var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
237 return type;
238 }
239 }
240 function willCoercionThrow(value) {
241 {
242 try {
243 testStringCoercion(value);
244 return false;
245 } catch (e) {
246 return true;
247 }
248 }
249 }
250 function testStringCoercion(value) {
251 return "" + value;
252 }
253 function checkKeyStringCoercion(value) {
254 {
255 if (willCoercionThrow(value)) {
256 error("The provided key is an unsupported type %s." + " This value must be coerced to a string before before using it here.", typeName(value));
257 return testStringCoercion(value);
258 }
259 }
260 }
261 function getWrappedName(outerType, innerType, wrapperName) {
262 var displayName = outerType.displayName;
263 if (displayName) {
264 return displayName;
265 }
266 var functionName = innerType.displayName || innerType.name || "";
267 return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
268 }
269 function getContextName(type) {
270 return type.displayName || "Context";
271 }
272 function getComponentNameFromType(type) {
273 if (type == null) {
274 return null;
275 }
276 {
277 if (typeof type.tag === "number") {
278 error("Received an unexpected object in getComponentNameFromType(). " + "This is likely a bug in React. Please file an issue.");
279 }
280 }
281 if (typeof type === "function") {
282 return type.displayName || type.name || null;
283 }
284 if (typeof type === "string") {
285 return type;
286 }
287 switch (type) {
288 case REACT_FRAGMENT_TYPE:
289 return "Fragment";
290 case REACT_PORTAL_TYPE:
291 return "Portal";
292 case REACT_PROFILER_TYPE:
293 return "Profiler";
294 case REACT_STRICT_MODE_TYPE:
295 return "StrictMode";
296 case REACT_SUSPENSE_TYPE:
297 return "Suspense";
298 case REACT_SUSPENSE_LIST_TYPE:
299 return "SuspenseList";
300 }
301 if (typeof type === "object") {
302 switch (type.$$typeof) {
303 case REACT_CONTEXT_TYPE:
304 var context = type;
305 return getContextName(context) + ".Consumer";
306 case REACT_PROVIDER_TYPE:
307 var provider = type;
308 return getContextName(provider._context) + ".Provider";
309 case REACT_FORWARD_REF_TYPE:
310 return getWrappedName(type, type.render, "ForwardRef");
311 case REACT_MEMO_TYPE:
312 var outerName = type.displayName || null;
313 if (outerName !== null) {
314 return outerName;
315 }
316 return getComponentNameFromType(type.type) || "Memo";
317 case REACT_LAZY_TYPE: {
318 var lazyComponent = type;
319 var payload = lazyComponent._payload;
320 var init = lazyComponent._init;
321 try {
322 return getComponentNameFromType(init(payload));
323 } catch (x) {
324 return null;
325 }
326 }
327 }
328 }
329 return null;
330 }
331 var hasOwnProperty = Object.prototype.hasOwnProperty;
332 var RESERVED_PROPS = {
333 key: true,
334 ref: true,
335 __self: true,
336 __source: true
337 };
338 var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;
339 {
340 didWarnAboutStringRefs = {};
341 }
342 function hasValidRef(config) {
343 {
344 if (hasOwnProperty.call(config, "ref")) {
345 var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
346 if (getter && getter.isReactWarning) {
347 return false;
348 }
349 }
350 }
351 return config.ref !== undefined;
352 }
353 function hasValidKey(config) {
354 {
355 if (hasOwnProperty.call(config, "key")) {
356 var getter = Object.getOwnPropertyDescriptor(config, "key").get;
357 if (getter && getter.isReactWarning) {
358 return false;
359 }
360 }
361 }
362 return config.key !== undefined;
363 }
364 function defineKeyPropWarningGetter(props, displayName) {
365 var warnAboutAccessingKey = function() {
366 {
367 if (!specialPropKeyWarningShown) {
368 specialPropKeyWarningShown = true;
369 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://reactjs.org/link/special-props)", displayName);
370 }
371 }
372 };
373 warnAboutAccessingKey.isReactWarning = true;
374 Object.defineProperty(props, "key", {
375 get: warnAboutAccessingKey,
376 configurable: true
377 });
378 }
379 function defineRefPropWarningGetter(props, displayName) {
380 var warnAboutAccessingRef = function() {
381 {
382 if (!specialPropRefWarningShown) {
383 specialPropRefWarningShown = true;
384 error("%s: `ref` 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://reactjs.org/link/special-props)", displayName);
385 }
386 }
387 };
388 warnAboutAccessingRef.isReactWarning = true;
389 Object.defineProperty(props, "ref", {
390 get: warnAboutAccessingRef,
391 configurable: true
392 });
393 }
394 function warnIfStringRefCannotBeAutoConverted(config) {
395 {
396 if (typeof config.ref === "string" && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {
397 var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
398 if (!didWarnAboutStringRefs[componentName]) {
399 error('Component "%s" contains the string ref "%s". ' + "Support for string refs will be removed in a future major release. " + "This case cannot be automatically converted to an arrow function. " + "We ask you to manually fix this case by using useRef() or createRef() instead. " + "Learn more about using refs safely here: " + "https://reactjs.org/link/strict-mode-string-ref", componentName, config.ref);
400 didWarnAboutStringRefs[componentName] = true;
401 }
402 }
403 }
404 }
405 var ReactElement = function(type, key, ref, self, source, owner, props) {
406 var element = {
407 $$typeof: REACT_ELEMENT_TYPE,
408 type,
409 key,
410 ref,
411 props,
412 _owner: owner
413 };
414 {
415 element._store = {};
416 Object.defineProperty(element._store, "validated", {
417 configurable: false,
418 enumerable: false,
419 writable: true,
420 value: false
421 });
422 Object.defineProperty(element, "_self", {
423 configurable: false,
424 enumerable: false,
425 writable: false,
426 value: self
427 });
428 Object.defineProperty(element, "_source", {
429 configurable: false,
430 enumerable: false,
431 writable: false,
432 value: source
433 });
434 if (Object.freeze) {
435 Object.freeze(element.props);
436 Object.freeze(element);
437 }
438 }
439 return element;
440 };
441 function createElement(type, config, children) {
442 var propName;
443 var props = {};
444 var key = null;
445 var ref = null;
446 var self = null;
447 var source = null;
448 if (config != null) {
449 if (hasValidRef(config)) {
450 ref = config.ref;
451 {
452 warnIfStringRefCannotBeAutoConverted(config);
453 }
454 }
455 if (hasValidKey(config)) {
456 {
457 checkKeyStringCoercion(config.key);
458 }
459 key = "" + config.key;
460 }
461 self = config.__self === undefined ? null : config.__self;
462 source = config.__source === undefined ? null : config.__source;
463 for (propName in config) {
464 if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
465 props[propName] = config[propName];
466 }
467 }
468 }
469 var childrenLength = arguments.length - 2;
470 if (childrenLength === 1) {
471 props.children = children;
472 } else if (childrenLength > 1) {
473 var childArray = Array(childrenLength);
474 for (var i = 0;i < childrenLength; i++) {
475 childArray[i] = arguments[i + 2];
476 }
477 {
478 if (Object.freeze) {
479 Object.freeze(childArray);
480 }
481 }
482 props.children = childArray;
483 }
484 if (type && type.defaultProps) {
485 var defaultProps = type.defaultProps;
486 for (propName in defaultProps) {
487 if (props[propName] === undefined) {
488 props[propName] = defaultProps[propName];
489 }
490 }
491 }
492 {
493 if (key || ref) {
494 var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
495 if (key) {
496 defineKeyPropWarningGetter(props, displayName);
497 }
498 if (ref) {
499 defineRefPropWarningGetter(props, displayName);
500 }
501 }
502 }
503 return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
504 }
505 function cloneAndReplaceKey(oldElement, newKey) {
506 var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
507 return newElement;
508 }
509 function cloneElement(element, config, children) {
510 if (element === null || element === undefined) {
511 throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
512 }
513 var propName;
514 var props = assign({}, element.props);
515 var key = element.key;
516 var ref = element.ref;
517 var self = element._self;
518 var source = element._source;
519 var owner = element._owner;
520 if (config != null) {
521 if (hasValidRef(config)) {
522 ref = config.ref;
523 owner = ReactCurrentOwner.current;
524 }
525 if (hasValidKey(config)) {
526 {
527 checkKeyStringCoercion(config.key);
528 }
529 key = "" + config.key;
530 }
531 var defaultProps;
532 if (element.type && element.type.defaultProps) {
533 defaultProps = element.type.defaultProps;
534 }
535 for (propName in config) {
536 if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
537 if (config[propName] === undefined && defaultProps !== undefined) {
538 props[propName] = defaultProps[propName];
539 } else {
540 props[propName] = config[propName];
541 }
542 }
543 }
544 }
545 var childrenLength = arguments.length - 2;
546 if (childrenLength === 1) {
547 props.children = children;
548 } else if (childrenLength > 1) {
549 var childArray = Array(childrenLength);
550 for (var i = 0;i < childrenLength; i++) {
551 childArray[i] = arguments[i + 2];
552 }
553 props.children = childArray;
554 }
555 return ReactElement(element.type, key, ref, self, source, owner, props);
556 }
557 function isValidElement(object) {
558 return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
559 }
560 var SEPARATOR = ".";
561 var SUBSEPARATOR = ":";
562 function escape(key) {
563 var escapeRegex = /[=:]/g;
564 var escaperLookup = {
565 "=": "=0",
566 ":": "=2"
567 };
568 var escapedString = key.replace(escapeRegex, function(match) {
569 return escaperLookup[match];
570 });
571 return "$" + escapedString;
572 }
573 var didWarnAboutMaps = false;
574 var userProvidedKeyEscapeRegex = /\/+/g;
575 function escapeUserProvidedKey(text) {
576 return text.replace(userProvidedKeyEscapeRegex, "$&/");
577 }
578 function getElementKey(element, index) {
579 if (typeof element === "object" && element !== null && element.key != null) {
580 {
581 checkKeyStringCoercion(element.key);
582 }
583 return escape("" + element.key);
584 }
585 return index.toString(36);
586 }
587 function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
588 var type = typeof children;
589 if (type === "undefined" || type === "boolean") {
590 children = null;
591 }
592 var invokeCallback = false;
593 if (children === null) {
594 invokeCallback = true;
595 } else {
596 switch (type) {
597 case "string":
598 case "number":
599 invokeCallback = true;
600 break;
601 case "object":
602 switch (children.$$typeof) {
603 case REACT_ELEMENT_TYPE:
604 case REACT_PORTAL_TYPE:
605 invokeCallback = true;
606 }
607 }
608 }
609 if (invokeCallback) {
610 var _child = children;
611 var mappedChild = callback(_child);
612 var childKey = nameSoFar === "" ? SEPARATOR + getElementKey(_child, 0) : nameSoFar;
613 if (isArray(mappedChild)) {
614 var escapedChildKey = "";
615 if (childKey != null) {
616 escapedChildKey = escapeUserProvidedKey(childKey) + "/";
617 }
618 mapIntoArray(mappedChild, array, escapedChildKey, "", function(c) {
619 return c;
620 });
621 } else if (mappedChild != null) {
622 if (isValidElement(mappedChild)) {
623 {
624 if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) {
625 checkKeyStringCoercion(mappedChild.key);
626 }
627 }
628 mappedChild = cloneAndReplaceKey(mappedChild, escapedPrefix + (mappedChild.key && (!_child || _child.key !== mappedChild.key) ? escapeUserProvidedKey("" + mappedChild.key) + "/" : "") + childKey);
629 }
630 array.push(mappedChild);
631 }
632 return 1;
633 }
634 var child;
635 var nextName;
636 var subtreeCount = 0;
637 var nextNamePrefix = nameSoFar === "" ? SEPARATOR : nameSoFar + SUBSEPARATOR;
638 if (isArray(children)) {
639 for (var i = 0;i < children.length; i++) {
640 child = children[i];
641 nextName = nextNamePrefix + getElementKey(child, i);
642 subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
643 }
644 } else {
645 var iteratorFn = getIteratorFn(children);
646 if (typeof iteratorFn === "function") {
647 var iterableChildren = children;
648 {
649 if (iteratorFn === iterableChildren.entries) {
650 if (!didWarnAboutMaps) {
651 warn("Using Maps as children is not supported. " + "Use an array of keyed ReactElements instead.");
652 }
653 didWarnAboutMaps = true;
654 }
655 }
656 var iterator = iteratorFn.call(iterableChildren);
657 var step;
658 var ii = 0;
659 while (!(step = iterator.next()).done) {
660 child = step.value;
661 nextName = nextNamePrefix + getElementKey(child, ii++);
662 subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
663 }
664 } else if (type === "object") {
665 var childrenString = String(children);
666 throw new Error("Objects are not valid as a React child (found: " + (childrenString === "[object Object]" ? "object with keys {" + Object.keys(children).join(", ") + "}" : childrenString) + "). " + "If you meant to render a collection of children, use an array " + "instead.");
667 }
668 }
669 return subtreeCount;
670 }
671 function mapChildren(children, func, context) {
672 if (children == null) {
673 return children;
674 }
675 var result = [];
676 var count = 0;
677 mapIntoArray(children, result, "", "", function(child) {
678 return func.call(context, child, count++);
679 });
680 return result;
681 }
682 function countChildren(children) {
683 var n = 0;
684 mapChildren(children, function() {
685 n++;
686 });
687 return n;
688 }
689 function forEachChildren(children, forEachFunc, forEachContext) {
690 mapChildren(children, function() {
691 forEachFunc.apply(this, arguments);
692 }, forEachContext);
693 }
694 function toArray(children) {
695 return mapChildren(children, function(child) {
696 return child;
697 }) || [];
698 }
699 function onlyChild(children) {
700 if (!isValidElement(children)) {
701 throw new Error("React.Children.only expected to receive a single React element child.");
702 }
703 return children;
704 }
705 function createContext(defaultValue) {
706 var context = {
707 $$typeof: REACT_CONTEXT_TYPE,
708 _currentValue: defaultValue,
709 _currentValue2: defaultValue,
710 _threadCount: 0,
711 Provider: null,
712 Consumer: null,
713 _defaultValue: null,
714 _globalName: null
715 };
716 context.Provider = {
717 $$typeof: REACT_PROVIDER_TYPE,
718 _context: context
719 };
720 var hasWarnedAboutUsingNestedContextConsumers = false;
721 var hasWarnedAboutUsingConsumerProvider = false;
722 var hasWarnedAboutDisplayNameOnConsumer = false;
723 {
724 var Consumer = {
725 $$typeof: REACT_CONTEXT_TYPE,
726 _context: context
727 };
728 Object.defineProperties(Consumer, {
729 Provider: {
730 get: function() {
731 if (!hasWarnedAboutUsingConsumerProvider) {
732 hasWarnedAboutUsingConsumerProvider = true;
733 error("Rendering <Context.Consumer.Provider> is not supported and will be removed in " + "a future major release. Did you mean to render <Context.Provider> instead?");
734 }
735 return context.Provider;
736 },
737 set: function(_Provider) {
738 context.Provider = _Provider;
739 }
740 },
741 _currentValue: {
742 get: function() {
743 return context._currentValue;
744 },
745 set: function(_currentValue) {
746 context._currentValue = _currentValue;
747 }
748 },
749 _currentValue2: {
750 get: function() {
751 return context._currentValue2;
752 },
753 set: function(_currentValue2) {
754 context._currentValue2 = _currentValue2;
755 }
756 },
757 _threadCount: {
758 get: function() {
759 return context._threadCount;
760 },
761 set: function(_threadCount) {
762 context._threadCount = _threadCount;
763 }
764 },
765 Consumer: {
766 get: function() {
767 if (!hasWarnedAboutUsingNestedContextConsumers) {
768 hasWarnedAboutUsingNestedContextConsumers = true;
769 error("Rendering <Context.Consumer.Consumer> is not supported and will be removed in " + "a future major release. Did you mean to render <Context.Consumer> instead?");
770 }
771 return context.Consumer;
772 }
773 },
774 displayName: {
775 get: function() {
776 return context.displayName;
777 },
778 set: function(displayName) {
779 if (!hasWarnedAboutDisplayNameOnConsumer) {
780 warn("Setting `displayName` on Context.Consumer has no effect. " + "You should set it directly on the context with Context.displayName = '%s'.", displayName);
781 hasWarnedAboutDisplayNameOnConsumer = true;
782 }
783 }
784 }
785 });
786 context.Consumer = Consumer;
787 }
788 {
789 context._currentRenderer = null;
790 context._currentRenderer2 = null;
791 }
792 return context;
793 }
794 var Uninitialized = -1;
795 var Pending = 0;
796 var Resolved = 1;
797 var Rejected = 2;
798 function lazyInitializer(payload) {
799 if (payload._status === Uninitialized) {
800 var ctor = payload._result;
801 var thenable = ctor();
802 thenable.then(function(moduleObject2) {
803 if (payload._status === Pending || payload._status === Uninitialized) {
804 var resolved = payload;
805 resolved._status = Resolved;
806 resolved._result = moduleObject2;
807 }
808 }, function(error2) {
809 if (payload._status === Pending || payload._status === Uninitialized) {
810 var rejected = payload;
811 rejected._status = Rejected;
812 rejected._result = error2;
813 }
814 });
815 if (payload._status === Uninitialized) {
816 var pending = payload;
817 pending._status = Pending;
818 pending._result = thenable;
819 }
820 }
821 if (payload._status === Resolved) {
822 var moduleObject = payload._result;
823 {
824 if (moduleObject === undefined) {
825 error("lazy: Expected the result of a dynamic imp" + "ort() call. " + `Instead received: %s
826
827 Your code should look like:
828 ` + "const MyComponent = lazy(() => imp" + `ort('./MyComponent'))
829
830 ` + "Did you accidentally put curly braces around the import?", moduleObject);
831 }
832 }
833 {
834 if (!("default" in moduleObject)) {
835 error("lazy: Expected the result of a dynamic imp" + "ort() call. " + `Instead received: %s
836
837 Your code should look like:
838 ` + "const MyComponent = lazy(() => imp" + "ort('./MyComponent'))", moduleObject);
839 }
840 }
841 return moduleObject.default;
842 } else {
843 throw payload._result;
844 }
845 }
846 function lazy(ctor) {
847 var payload = {
848 _status: Uninitialized,
849 _result: ctor
850 };
851 var lazyType = {
852 $$typeof: REACT_LAZY_TYPE,
853 _payload: payload,
854 _init: lazyInitializer
855 };
856 {
857 var defaultProps;
858 var propTypes;
859 Object.defineProperties(lazyType, {
860 defaultProps: {
861 configurable: true,
862 get: function() {
863 return defaultProps;
864 },
865 set: function(newDefaultProps) {
866 error("React.lazy(...): It is not supported to assign `defaultProps` to " + "a lazy component import. Either specify them where the component " + "is defined, or create a wrapping component around it.");
867 defaultProps = newDefaultProps;
868 Object.defineProperty(lazyType, "defaultProps", {
869 enumerable: true
870 });
871 }
872 },
873 propTypes: {
874 configurable: true,
875 get: function() {
876 return propTypes;
877 },
878 set: function(newPropTypes) {
879 error("React.lazy(...): It is not supported to assign `propTypes` to " + "a lazy component import. Either specify them where the component " + "is defined, or create a wrapping component around it.");
880 propTypes = newPropTypes;
881 Object.defineProperty(lazyType, "propTypes", {
882 enumerable: true
883 });
884 }
885 }
886 });
887 }
888 return lazyType;
889 }
890 function forwardRef(render) {
891 {
892 if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
893 error("forwardRef requires a render function but received a `memo` " + "component. Instead of forwardRef(memo(...)), use " + "memo(forwardRef(...)).");
894 } else if (typeof render !== "function") {
895 error("forwardRef requires a render function but was given %s.", render === null ? "null" : typeof render);
896 } else {
897 if (render.length !== 0 && render.length !== 2) {
898 error("forwardRef render functions accept exactly two parameters: props and ref. %s", render.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.");
899 }
900 }
901 if (render != null) {
902 if (render.defaultProps != null || render.propTypes != null) {
903 error("forwardRef render functions do not support propTypes or defaultProps. " + "Did you accidentally pass a React component?");
904 }
905 }
906 }
907 var elementType = {
908 $$typeof: REACT_FORWARD_REF_TYPE,
909 render
910 };
911 {
912 var ownName;
913 Object.defineProperty(elementType, "displayName", {
914 enumerable: false,
915 configurable: true,
916 get: function() {
917 return ownName;
918 },
919 set: function(name) {
920 ownName = name;
921 if (!render.name && !render.displayName) {
922 render.displayName = name;
923 }
924 }
925 });
926 }
927 return elementType;
928 }
929 var REACT_MODULE_REFERENCE;
930 {
931 REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
932 }
933 function isValidElementType(type) {
934 if (typeof type === "string" || typeof type === "function") {
935 return true;
936 }
937 if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
938 return true;
939 }
940 if (typeof type === "object" && type !== null) {
941 if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
942 return true;
943 }
944 }
945 return false;
946 }
947 function memo(type, compare) {
948 {
949 if (!isValidElementType(type)) {
950 error("memo: The first argument must be a component. Instead " + "received: %s", type === null ? "null" : typeof type);
951 }
952 }
953 var elementType = {
954 $$typeof: REACT_MEMO_TYPE,
955 type,
956 compare: compare === undefined ? null : compare
957 };
958 {
959 var ownName;
960 Object.defineProperty(elementType, "displayName", {
961 enumerable: false,
962 configurable: true,
963 get: function() {
964 return ownName;
965 },
966 set: function(name) {
967 ownName = name;
968 if (!type.name && !type.displayName) {
969 type.displayName = name;
970 }
971 }
972 });
973 }
974 return elementType;
975 }
976 function resolveDispatcher() {
977 var dispatcher = ReactCurrentDispatcher.current;
978 {
979 if (dispatcher === null) {
980 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:
981 ` + `1. You might have mismatching versions of React and the renderer (such as React DOM)
982 ` + `2. You might be breaking the Rules of Hooks
983 ` + `3. You might have more than one copy of React in the same app
984 ` + "See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");
985 }
986 }
987 return dispatcher;
988 }
989 function useContext(Context) {
990 var dispatcher = resolveDispatcher();
991 {
992 if (Context._context !== undefined) {
993 var realContext = Context._context;
994 if (realContext.Consumer === Context) {
995 error("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be " + "removed in a future major release. Did you mean to call useContext(Context) instead?");
996 } else if (realContext.Provider === Context) {
997 error("Calling useContext(Context.Provider) is not supported. " + "Did you mean to call useContext(Context) instead?");
998 }
999 }
1000 }
1001 return dispatcher.useContext(Context);
1002 }
1003 function useState(initialState) {
1004 var dispatcher = resolveDispatcher();
1005 return dispatcher.useState(initialState);
1006 }
1007 function useReducer(reducer, initialArg, init) {
1008 var dispatcher = resolveDispatcher();
1009 return dispatcher.useReducer(reducer, initialArg, init);
1010 }
1011 function useRef(initialValue) {
1012 var dispatcher = resolveDispatcher();
1013 return dispatcher.useRef(initialValue);
1014 }
1015 function useEffect(create, deps) {
1016 var dispatcher = resolveDispatcher();
1017 return dispatcher.useEffect(create, deps);
1018 }
1019 function useInsertionEffect(create, deps) {
1020 var dispatcher = resolveDispatcher();
1021 return dispatcher.useInsertionEffect(create, deps);
1022 }
1023 function useLayoutEffect(create, deps) {
1024 var dispatcher = resolveDispatcher();
1025 return dispatcher.useLayoutEffect(create, deps);
1026 }
1027 function useCallback(callback, deps) {
1028 var dispatcher = resolveDispatcher();
1029 return dispatcher.useCallback(callback, deps);
1030 }
1031 function useMemo(create, deps) {
1032 var dispatcher = resolveDispatcher();
1033 return dispatcher.useMemo(create, deps);
1034 }
1035 function useImperativeHandle(ref, create, deps) {
1036 var dispatcher = resolveDispatcher();
1037 return dispatcher.useImperativeHandle(ref, create, deps);
1038 }
1039 function useDebugValue(value, formatterFn) {
1040 {
1041 var dispatcher = resolveDispatcher();
1042 return dispatcher.useDebugValue(value, formatterFn);
1043 }
1044 }
1045 function useTransition() {
1046 var dispatcher = resolveDispatcher();
1047 return dispatcher.useTransition();
1048 }
1049 function useDeferredValue(value) {
1050 var dispatcher = resolveDispatcher();
1051 return dispatcher.useDeferredValue(value);
1052 }
1053 function useId() {
1054 var dispatcher = resolveDispatcher();
1055 return dispatcher.useId();
1056 }
1057 function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
1058 var dispatcher = resolveDispatcher();
1059 return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
1060 }
1061 var disabledDepth = 0;
1062 var prevLog;
1063 var prevInfo;
1064 var prevWarn;
1065 var prevError;
1066 var prevGroup;
1067 var prevGroupCollapsed;
1068 var prevGroupEnd;
1069 function disabledLog() {}
1070 disabledLog.__reactDisabledLog = true;
1071 function disableLogs() {
1072 {
1073 if (disabledDepth === 0) {
1074 prevLog = console.log;
1075 prevInfo = console.info;
1076 prevWarn = console.warn;
1077 prevError = console.error;
1078 prevGroup = console.group;
1079 prevGroupCollapsed = console.groupCollapsed;
1080 prevGroupEnd = console.groupEnd;
1081 var props = {
1082 configurable: true,
1083 enumerable: true,
1084 value: disabledLog,
1085 writable: true
1086 };
1087 Object.defineProperties(console, {
1088 info: props,
1089 log: props,
1090 warn: props,
1091 error: props,
1092 group: props,
1093 groupCollapsed: props,
1094 groupEnd: props
1095 });
1096 }
1097 disabledDepth++;
1098 }
1099 }
1100 function reenableLogs() {
1101 {
1102 disabledDepth--;
1103 if (disabledDepth === 0) {
1104 var props = {
1105 configurable: true,
1106 enumerable: true,
1107 writable: true
1108 };
1109 Object.defineProperties(console, {
1110 log: assign({}, props, {
1111 value: prevLog
1112 }),
1113 info: assign({}, props, {
1114 value: prevInfo
1115 }),
1116 warn: assign({}, props, {
1117 value: prevWarn
1118 }),
1119 error: assign({}, props, {
1120 value: prevError
1121 }),
1122 group: assign({}, props, {
1123 value: prevGroup
1124 }),
1125 groupCollapsed: assign({}, props, {
1126 value: prevGroupCollapsed
1127 }),
1128 groupEnd: assign({}, props, {
1129 value: prevGroupEnd
1130 })
1131 });
1132 }
1133 if (disabledDepth < 0) {
1134 error("disabledDepth fell below zero. " + "This is a bug in React. Please file an issue.");
1135 }
1136 }
1137 }
1138 var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;
1139 var prefix;
1140 function describeBuiltInComponentFrame(name, source, ownerFn) {
1141 {
1142 if (prefix === undefined) {
1143 try {
1144 throw Error();
1145 } catch (x) {
1146 var match = x.stack.trim().match(/\n( *(at )?)/);
1147 prefix = match && match[1] || "";
1148 }
1149 }
1150 return `
1151 ` + prefix + name;
1152 }
1153 }
1154 var reentry = false;
1155 var componentFrameCache;
1156 {
1157 var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
1158 componentFrameCache = new PossiblyWeakMap;
1159 }
1160 function describeNativeComponentFrame(fn, construct) {
1161 if (!fn || reentry) {
1162 return "";
1163 }
1164 {
1165 var frame = componentFrameCache.get(fn);
1166 if (frame !== undefined) {
1167 return frame;
1168 }
1169 }
1170 var control;
1171 reentry = true;
1172 var previousPrepareStackTrace = Error.prepareStackTrace;
1173 Error.prepareStackTrace = undefined;
1174 var previousDispatcher;
1175 {
1176 previousDispatcher = ReactCurrentDispatcher$1.current;
1177 ReactCurrentDispatcher$1.current = null;
1178 disableLogs();
1179 }
1180 try {
1181 if (construct) {
1182 var Fake = function() {
1183 throw Error();
1184 };
1185 Object.defineProperty(Fake.prototype, "props", {
1186 set: function() {
1187 throw Error();
1188 }
1189 });
1190 if (typeof Reflect === "object" && Reflect.construct) {
1191 try {
1192 Reflect.construct(Fake, []);
1193 } catch (x) {
1194 control = x;
1195 }
1196 Reflect.construct(fn, [], Fake);
1197 } else {
1198 try {
1199 Fake.call();
1200 } catch (x) {
1201 control = x;
1202 }
1203 fn.call(Fake.prototype);
1204 }
1205 } else {
1206 try {
1207 throw Error();
1208 } catch (x) {
1209 control = x;
1210 }
1211 fn();
1212 }
1213 } catch (sample) {
1214 if (sample && control && typeof sample.stack === "string") {
1215 var sampleLines = sample.stack.split(`
1216 `);
1217 var controlLines = control.stack.split(`
1218 `);
1219 var s = sampleLines.length - 1;
1220 var c = controlLines.length - 1;
1221 while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
1222 c--;
1223 }
1224 for (;s >= 1 && c >= 0; s--, c--) {
1225 if (sampleLines[s] !== controlLines[c]) {
1226 if (s !== 1 || c !== 1) {
1227 do {
1228 s--;
1229 c--;
1230 if (c < 0 || sampleLines[s] !== controlLines[c]) {
1231 var _frame = `
1232 ` + sampleLines[s].replace(" at new ", " at ");
1233 if (fn.displayName && _frame.includes("<anonymous>")) {
1234 _frame = _frame.replace("<anonymous>", fn.displayName);
1235 }
1236 {
1237 if (typeof fn === "function") {
1238 componentFrameCache.set(fn, _frame);
1239 }
1240 }
1241 return _frame;
1242 }
1243 } while (s >= 1 && c >= 0);
1244 }
1245 break;
1246 }
1247 }
1248 }
1249 } finally {
1250 reentry = false;
1251 {
1252 ReactCurrentDispatcher$1.current = previousDispatcher;
1253 reenableLogs();
1254 }
1255 Error.prepareStackTrace = previousPrepareStackTrace;
1256 }
1257 var name = fn ? fn.displayName || fn.name : "";
1258 var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
1259 {
1260 if (typeof fn === "function") {
1261 componentFrameCache.set(fn, syntheticFrame);
1262 }
1263 }
1264 return syntheticFrame;
1265 }
1266 function describeFunctionComponentFrame(fn, source, ownerFn) {
1267 {
1268 return describeNativeComponentFrame(fn, false);
1269 }
1270 }
1271 function shouldConstruct(Component2) {
1272 var prototype = Component2.prototype;
1273 return !!(prototype && prototype.isReactComponent);
1274 }
1275 function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
1276 if (type == null) {
1277 return "";
1278 }
1279 if (typeof type === "function") {
1280 {
1281 return describeNativeComponentFrame(type, shouldConstruct(type));
1282 }
1283 }
1284 if (typeof type === "string") {
1285 return describeBuiltInComponentFrame(type);
1286 }
1287 switch (type) {
1288 case REACT_SUSPENSE_TYPE:
1289 return describeBuiltInComponentFrame("Suspense");
1290 case REACT_SUSPENSE_LIST_TYPE:
1291 return describeBuiltInComponentFrame("SuspenseList");
1292 }
1293 if (typeof type === "object") {
1294 switch (type.$$typeof) {
1295 case REACT_FORWARD_REF_TYPE:
1296 return describeFunctionComponentFrame(type.render);
1297 case REACT_MEMO_TYPE:
1298 return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
1299 case REACT_LAZY_TYPE: {
1300 var lazyComponent = type;
1301 var payload = lazyComponent._payload;
1302 var init = lazyComponent._init;
1303 try {
1304 return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
1305 } catch (x) {}
1306 }
1307 }
1308 }
1309 return "";
1310 }
1311 var loggedTypeFailures = {};
1312 var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
1313 function setCurrentlyValidatingElement(element) {
1314 {
1315 if (element) {
1316 var owner = element._owner;
1317 var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
1318 ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
1319 } else {
1320 ReactDebugCurrentFrame$1.setExtraStackFrame(null);
1321 }
1322 }
1323 }
1324 function checkPropTypes(typeSpecs, values, location, componentName, element) {
1325 {
1326 var has = Function.call.bind(hasOwnProperty);
1327 for (var typeSpecName in typeSpecs) {
1328 if (has(typeSpecs, typeSpecName)) {
1329 var error$1 = undefined;
1330 try {
1331 if (typeof typeSpecs[typeSpecName] !== "function") {
1332 var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; " + "it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`." + "This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1333 err.name = "Invariant Violation";
1334 throw err;
1335 }
1336 error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1337 } catch (ex) {
1338 error$1 = ex;
1339 }
1340 if (error$1 && !(error$1 instanceof Error)) {
1341 setCurrentlyValidatingElement(element);
1342 error("%s: type specification of %s" + " `%s` is invalid; the type checker " + "function must return `null` or an `Error` but returned a %s. " + "You may have forgotten to pass an argument to the type checker " + "creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and " + "shape all require an argument).", componentName || "React class", location, typeSpecName, typeof error$1);
1343 setCurrentlyValidatingElement(null);
1344 }
1345 if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
1346 loggedTypeFailures[error$1.message] = true;
1347 setCurrentlyValidatingElement(element);
1348 error("Failed %s type: %s", location, error$1.message);
1349 setCurrentlyValidatingElement(null);
1350 }
1351 }
1352 }
1353 }
1354 }
1355 function setCurrentlyValidatingElement$1(element) {
1356 {
1357 if (element) {
1358 var owner = element._owner;
1359 var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
1360 setExtraStackFrame(stack);
1361 } else {
1362 setExtraStackFrame(null);
1363 }
1364 }
1365 }
1366 var propTypesMisspellWarningShown;
1367 {
1368 propTypesMisspellWarningShown = false;
1369 }
1370 function getDeclarationErrorAddendum() {
1371 if (ReactCurrentOwner.current) {
1372 var name = getComponentNameFromType(ReactCurrentOwner.current.type);
1373 if (name) {
1374 return `
1375
1376 Check the render method of \`` + name + "`.";
1377 }
1378 }
1379 return "";
1380 }
1381 function getSourceInfoErrorAddendum(source) {
1382 if (source !== undefined) {
1383 var fileName = source.fileName.replace(/^.*[\\\/]/, "");
1384 var lineNumber = source.lineNumber;
1385 return `
1386
1387 Check your code at ` + fileName + ":" + lineNumber + ".";
1388 }
1389 return "";
1390 }
1391 function getSourceInfoErrorAddendumForProps(elementProps) {
1392 if (elementProps !== null && elementProps !== undefined) {
1393 return getSourceInfoErrorAddendum(elementProps.__source);
1394 }
1395 return "";
1396 }
1397 var ownerHasKeyUseWarning = {};
1398 function getCurrentComponentErrorInfo(parentType) {
1399 var info = getDeclarationErrorAddendum();
1400 if (!info) {
1401 var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
1402 if (parentName) {
1403 info = `
1404
1405 Check the top-level render call using <` + parentName + ">.";
1406 }
1407 }
1408 return info;
1409 }
1410 function validateExplicitKey(element, parentType) {
1411 if (!element._store || element._store.validated || element.key != null) {
1412 return;
1413 }
1414 element._store.validated = true;
1415 var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
1416 if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
1417 return;
1418 }
1419 ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
1420 var childOwner = "";
1421 if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
1422 childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
1423 }
1424 {
1425 setCurrentlyValidatingElement$1(element);
1426 error('Each child in a list should have a unique "key" prop.' + "%s%s See https://reactjs.org/link/warning-keys for more information.", currentComponentErrorInfo, childOwner);
1427 setCurrentlyValidatingElement$1(null);
1428 }
1429 }
1430 function validateChildKeys(node, parentType) {
1431 if (typeof node !== "object") {
1432 return;
1433 }
1434 if (isArray(node)) {
1435 for (var i = 0;i < node.length; i++) {
1436 var child = node[i];
1437 if (isValidElement(child)) {
1438 validateExplicitKey(child, parentType);
1439 }
1440 }
1441 } else if (isValidElement(node)) {
1442 if (node._store) {
1443 node._store.validated = true;
1444 }
1445 } else if (node) {
1446 var iteratorFn = getIteratorFn(node);
1447 if (typeof iteratorFn === "function") {
1448 if (iteratorFn !== node.entries) {
1449 var iterator = iteratorFn.call(node);
1450 var step;
1451 while (!(step = iterator.next()).done) {
1452 if (isValidElement(step.value)) {
1453 validateExplicitKey(step.value, parentType);
1454 }
1455 }
1456 }
1457 }
1458 }
1459 }
1460 function validatePropTypes(element) {
1461 {
1462 var type = element.type;
1463 if (type === null || type === undefined || typeof type === "string") {
1464 return;
1465 }
1466 var propTypes;
1467 if (typeof type === "function") {
1468 propTypes = type.propTypes;
1469 } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_MEMO_TYPE)) {
1470 propTypes = type.propTypes;
1471 } else {
1472 return;
1473 }
1474 if (propTypes) {
1475 var name = getComponentNameFromType(type);
1476 checkPropTypes(propTypes, element.props, "prop", name, element);
1477 } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
1478 propTypesMisspellWarningShown = true;
1479 var _name = getComponentNameFromType(type);
1480 error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
1481 }
1482 if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
1483 error("getDefaultProps is only used on classic React.createClass " + "definitions. Use a static property named `defaultProps` instead.");
1484 }
1485 }
1486 }
1487 function validateFragmentProps(fragment) {
1488 {
1489 var keys = Object.keys(fragment.props);
1490 for (var i = 0;i < keys.length; i++) {
1491 var key = keys[i];
1492 if (key !== "children" && key !== "key") {
1493 setCurrentlyValidatingElement$1(fragment);
1494 error("Invalid prop `%s` supplied to `React.Fragment`. " + "React.Fragment can only have `key` and `children` props.", key);
1495 setCurrentlyValidatingElement$1(null);
1496 break;
1497 }
1498 }
1499 if (fragment.ref !== null) {
1500 setCurrentlyValidatingElement$1(fragment);
1501 error("Invalid attribute `ref` supplied to `React.Fragment`.");
1502 setCurrentlyValidatingElement$1(null);
1503 }
1504 }
1505 }
1506 function createElementWithValidation(type, props, children) {
1507 var validType = isValidElementType(type);
1508 if (!validType) {
1509 var info = "";
1510 if (type === undefined || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
1511 info += " You likely forgot to export your component from the file " + "it's defined in, or you might have mixed up default and named imports.";
1512 }
1513 var sourceInfo = getSourceInfoErrorAddendumForProps(props);
1514 if (sourceInfo) {
1515 info += sourceInfo;
1516 } else {
1517 info += getDeclarationErrorAddendum();
1518 }
1519 var typeString;
1520 if (type === null) {
1521 typeString = "null";
1522 } else if (isArray(type)) {
1523 typeString = "array";
1524 } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
1525 typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
1526 info = " Did you accidentally export a JSX literal instead of a component?";
1527 } else {
1528 typeString = typeof type;
1529 }
1530 {
1531 error("React.createElement: type is invalid -- expected a string (for " + "built-in components) or a class/function (for composite " + "components) but got: %s.%s", typeString, info);
1532 }
1533 }
1534 var element = createElement.apply(this, arguments);
1535 if (element == null) {
1536 return element;
1537 }
1538 if (validType) {
1539 for (var i = 2;i < arguments.length; i++) {
1540 validateChildKeys(arguments[i], type);
1541 }
1542 }
1543 if (type === REACT_FRAGMENT_TYPE) {
1544 validateFragmentProps(element);
1545 } else {
1546 validatePropTypes(element);
1547 }
1548 return element;
1549 }
1550 var didWarnAboutDeprecatedCreateFactory = false;
1551 function createFactoryWithValidation(type) {
1552 var validatedFactory = createElementWithValidation.bind(null, type);
1553 validatedFactory.type = type;
1554 {
1555 if (!didWarnAboutDeprecatedCreateFactory) {
1556 didWarnAboutDeprecatedCreateFactory = true;
1557 warn("React.createFactory() is deprecated and will be removed in " + "a future major release. Consider using JSX " + "or use React.createElement() directly instead.");
1558 }
1559 Object.defineProperty(validatedFactory, "type", {
1560 enumerable: false,
1561 get: function() {
1562 warn("Factory.type is deprecated. Access the class directly " + "before passing it to createFactory.");
1563 Object.defineProperty(this, "type", {
1564 value: type
1565 });
1566 return type;
1567 }
1568 });
1569 }
1570 return validatedFactory;
1571 }
1572 function cloneElementWithValidation(element, props, children) {
1573 var newElement = cloneElement.apply(this, arguments);
1574 for (var i = 2;i < arguments.length; i++) {
1575 validateChildKeys(arguments[i], newElement.type);
1576 }
1577 validatePropTypes(newElement);
1578 return newElement;
1579 }
1580 function startTransition(scope, options) {
1581 var prevTransition = ReactCurrentBatchConfig.transition;
1582 ReactCurrentBatchConfig.transition = {};
1583 var currentTransition = ReactCurrentBatchConfig.transition;
1584 {
1585 ReactCurrentBatchConfig.transition._updatedFibers = new Set;
1586 }
1587 try {
1588 scope();
1589 } finally {
1590 ReactCurrentBatchConfig.transition = prevTransition;
1591 {
1592 if (prevTransition === null && currentTransition._updatedFibers) {
1593 var updatedFibersCount = currentTransition._updatedFibers.size;
1594 if (updatedFibersCount > 10) {
1595 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.");
1596 }
1597 currentTransition._updatedFibers.clear();
1598 }
1599 }
1600 }
1601 }
1602 var didWarnAboutMessageChannel = false;
1603 var enqueueTaskImpl = null;
1604 function enqueueTask(task) {
1605 if (enqueueTaskImpl === null) {
1606 try {
1607 var requireString = ("require" + Math.random()).slice(0, 7);
1608 var nodeRequire = module && module[requireString];
1609 enqueueTaskImpl = nodeRequire.call(module, "timers").setImmediate;
1610 } catch (_err) {
1611 enqueueTaskImpl = function(callback) {
1612 {
1613 if (didWarnAboutMessageChannel === false) {
1614 didWarnAboutMessageChannel = true;
1615 if (typeof MessageChannel === "undefined") {
1616 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.");
1617 }
1618 }
1619 }
1620 var channel = new MessageChannel;
1621 channel.port1.onmessage = callback;
1622 channel.port2.postMessage(undefined);
1623 };
1624 }
1625 }
1626 return enqueueTaskImpl(task);
1627 }
1628 var actScopeDepth = 0;
1629 var didWarnNoAwaitAct = false;
1630 function act(callback) {
1631 {
1632 var prevActScopeDepth = actScopeDepth;
1633 actScopeDepth++;
1634 if (ReactCurrentActQueue.current === null) {
1635 ReactCurrentActQueue.current = [];
1636 }
1637 var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy;
1638 var result;
1639 try {
1640 ReactCurrentActQueue.isBatchingLegacy = true;
1641 result = callback();
1642 if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) {
1643 var queue = ReactCurrentActQueue.current;
1644 if (queue !== null) {
1645 ReactCurrentActQueue.didScheduleLegacyUpdate = false;
1646 flushActQueue(queue);
1647 }
1648 }
1649 } catch (error2) {
1650 popActScope(prevActScopeDepth);
1651 throw error2;
1652 } finally {
1653 ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy;
1654 }
1655 if (result !== null && typeof result === "object" && typeof result.then === "function") {
1656 var thenableResult = result;
1657 var wasAwaited = false;
1658 var thenable = {
1659 then: function(resolve, reject) {
1660 wasAwaited = true;
1661 thenableResult.then(function(returnValue2) {
1662 popActScope(prevActScopeDepth);
1663 if (actScopeDepth === 0) {
1664 recursivelyFlushAsyncActWork(returnValue2, resolve, reject);
1665 } else {
1666 resolve(returnValue2);
1667 }
1668 }, function(error2) {
1669 popActScope(prevActScopeDepth);
1670 reject(error2);
1671 });
1672 }
1673 };
1674 {
1675 if (!didWarnNoAwaitAct && typeof Promise !== "undefined") {
1676 Promise.resolve().then(function() {}).then(function() {
1677 if (!wasAwaited) {
1678 didWarnNoAwaitAct = true;
1679 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 () => ...);");
1680 }
1681 });
1682 }
1683 }
1684 return thenable;
1685 } else {
1686 var returnValue = result;
1687 popActScope(prevActScopeDepth);
1688 if (actScopeDepth === 0) {
1689 var _queue = ReactCurrentActQueue.current;
1690 if (_queue !== null) {
1691 flushActQueue(_queue);
1692 ReactCurrentActQueue.current = null;
1693 }
1694 var _thenable = {
1695 then: function(resolve, reject) {
1696 if (ReactCurrentActQueue.current === null) {
1697 ReactCurrentActQueue.current = [];
1698 recursivelyFlushAsyncActWork(returnValue, resolve, reject);
1699 } else {
1700 resolve(returnValue);
1701 }
1702 }
1703 };
1704 return _thenable;
1705 } else {
1706 var _thenable2 = {
1707 then: function(resolve, reject) {
1708 resolve(returnValue);
1709 }
1710 };
1711 return _thenable2;
1712 }
1713 }
1714 }
1715 }
1716 function popActScope(prevActScopeDepth) {
1717 {
1718 if (prevActScopeDepth !== actScopeDepth - 1) {
1719 error("You seem to have overlapping act() calls, this is not supported. " + "Be sure to await previous act() calls before making a new one. ");
1720 }
1721 actScopeDepth = prevActScopeDepth;
1722 }
1723 }
1724 function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
1725 {
1726 var queue = ReactCurrentActQueue.current;
1727 if (queue !== null) {
1728 try {
1729 flushActQueue(queue);
1730 enqueueTask(function() {
1731 if (queue.length === 0) {
1732 ReactCurrentActQueue.current = null;
1733 resolve(returnValue);
1734 } else {
1735 recursivelyFlushAsyncActWork(returnValue, resolve, reject);
1736 }
1737 });
1738 } catch (error2) {
1739 reject(error2);
1740 }
1741 } else {
1742 resolve(returnValue);
1743 }
1744 }
1745 }
1746 var isFlushing = false;
1747 function flushActQueue(queue) {
1748 {
1749 if (!isFlushing) {
1750 isFlushing = true;
1751 var i = 0;
1752 try {
1753 for (;i < queue.length; i++) {
1754 var callback = queue[i];
1755 do {
1756 callback = callback(true);
1757 } while (callback !== null);
1758 }
1759 queue.length = 0;
1760 } catch (error2) {
1761 queue = queue.slice(i + 1);
1762 throw error2;
1763 } finally {
1764 isFlushing = false;
1765 }
1766 }
1767 }
1768 }
1769 var createElement$1 = createElementWithValidation;
1770 var cloneElement$1 = cloneElementWithValidation;
1771 var createFactory = createFactoryWithValidation;
1772 var Children = {
1773 map: mapChildren,
1774 forEach: forEachChildren,
1775 count: countChildren,
1776 toArray,
1777 only: onlyChild
1778 };
1779 exports.Children = Children;
1780 exports.Component = Component;
1781 exports.Fragment = REACT_FRAGMENT_TYPE;
1782 exports.Profiler = REACT_PROFILER_TYPE;
1783 exports.PureComponent = PureComponent;
1784 exports.StrictMode = REACT_STRICT_MODE_TYPE;
1785 exports.Suspense = REACT_SUSPENSE_TYPE;
1786 exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
1787 exports.act = act;
1788 exports.cloneElement = cloneElement$1;
1789 exports.createContext = createContext;
1790 exports.createElement = createElement$1;
1791 exports.createFactory = createFactory;
1792 exports.createRef = createRef;
1793 exports.forwardRef = forwardRef;
1794 exports.isValidElement = isValidElement;
1795 exports.lazy = lazy;
1796 exports.memo = memo;
1797 exports.startTransition = startTransition;
1798 exports.unstable_act = act;
1799 exports.useCallback = useCallback;
1800 exports.useContext = useContext;
1801 exports.useDebugValue = useDebugValue;
1802 exports.useDeferredValue = useDeferredValue;
1803 exports.useEffect = useEffect;
1804 exports.useId = useId;
1805 exports.useImperativeHandle = useImperativeHandle;
1806 exports.useInsertionEffect = useInsertionEffect;
1807 exports.useLayoutEffect = useLayoutEffect;
1808 exports.useMemo = useMemo;
1809 exports.useReducer = useReducer;
1810 exports.useRef = useRef;
1811 exports.useState = useState;
1812 exports.useSyncExternalStore = useSyncExternalStore;
1813 exports.useTransition = useTransition;
1814 exports.version = ReactVersion;
1815 if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
1816 __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error);
1817 }
1818 })();
1819 }
1820 });
1821
1822 // node_modules/react/index.js
1823 var require_react = __commonJS((exports, module) => {
1824 var react_development = __toESM(require_react_development(), 1);
1825 if (false) {} else {
1826 module.exports = react_development;
1827 }
1828 });
1829
1830 // node_modules/react/cjs/react-jsx-dev-runtime.development.js
1831 var require_react_jsx_dev_runtime_development = __commonJS((exports) => {
1832 var React = __toESM(require_react(), 1);
1833 if (true) {
1834 (function() {
1835 var REACT_ELEMENT_TYPE = Symbol.for("react.element");
1836 var REACT_PORTAL_TYPE = Symbol.for("react.portal");
1837 var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
1838 var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
1839 var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
1840 var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
1841 var REACT_CONTEXT_TYPE = Symbol.for("react.context");
1842 var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
1843 var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
1844 var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
1845 var REACT_MEMO_TYPE = Symbol.for("react.memo");
1846 var REACT_LAZY_TYPE = Symbol.for("react.lazy");
1847 var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
1848 var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
1849 var FAUX_ITERATOR_SYMBOL = "@@iterator";
1850 function getIteratorFn(maybeIterable) {
1851 if (maybeIterable === null || typeof maybeIterable !== "object") {
1852 return null;
1853 }
1854 var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
1855 if (typeof maybeIterator === "function") {
1856 return maybeIterator;
1857 }
1858 return null;
1859 }
1860 var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1861 function error(format) {
1862 {
1863 {
1864 for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1;_key2 < _len2; _key2++) {
1865 args[_key2 - 1] = arguments[_key2];
1866 }
1867 printWarning("error", format, args);
1868 }
1869 }
1870 }
1871 function printWarning(level, format, args) {
1872 {
1873 var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
1874 var stack = ReactDebugCurrentFrame2.getStackAddendum();
1875 if (stack !== "") {
1876 format += "%s";
1877 args = args.concat([stack]);
1878 }
1879 var argsWithFormat = args.map(function(item) {
1880 return String(item);
1881 });
1882 argsWithFormat.unshift("Warning: " + format);
1883 Function.prototype.apply.call(console[level], console, argsWithFormat);
1884 }
1885 }
1886 var enableScopeAPI = false;
1887 var enableCacheElement = false;
1888 var enableTransitionTracing = false;
1889 var enableLegacyHidden = false;
1890 var enableDebugTracing = false;
1891 var REACT_MODULE_REFERENCE;
1892 {
1893 REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
1894 }
1895 function isValidElementType(type) {
1896 if (typeof type === "string" || typeof type === "function") {
1897 return true;
1898 }
1899 if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
1900 return true;
1901 }
1902 if (typeof type === "object" && type !== null) {
1903 if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
1904 return true;
1905 }
1906 }
1907 return false;
1908 }
1909 function getWrappedName(outerType, innerType, wrapperName) {
1910 var displayName = outerType.displayName;
1911 if (displayName) {
1912 return displayName;
1913 }
1914 var functionName = innerType.displayName || innerType.name || "";
1915 return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
1916 }
1917 function getContextName(type) {
1918 return type.displayName || "Context";
1919 }
1920 function getComponentNameFromType(type) {
1921 if (type == null) {
1922 return null;
1923 }
1924 {
1925 if (typeof type.tag === "number") {
1926 error("Received an unexpected object in getComponentNameFromType(). " + "This is likely a bug in React. Please file an issue.");
1927 }
1928 }
1929 if (typeof type === "function") {
1930 return type.displayName || type.name || null;
1931 }
1932 if (typeof type === "string") {
1933 return type;
1934 }
1935 switch (type) {
1936 case REACT_FRAGMENT_TYPE:
1937 return "Fragment";
1938 case REACT_PORTAL_TYPE:
1939 return "Portal";
1940 case REACT_PROFILER_TYPE:
1941 return "Profiler";
1942 case REACT_STRICT_MODE_TYPE:
1943 return "StrictMode";
1944 case REACT_SUSPENSE_TYPE:
1945 return "Suspense";
1946 case REACT_SUSPENSE_LIST_TYPE:
1947 return "SuspenseList";
1948 }
1949 if (typeof type === "object") {
1950 switch (type.$$typeof) {
1951 case REACT_CONTEXT_TYPE:
1952 var context = type;
1953 return getContextName(context) + ".Consumer";
1954 case REACT_PROVIDER_TYPE:
1955 var provider = type;
1956 return getContextName(provider._context) + ".Provider";
1957 case REACT_FORWARD_REF_TYPE:
1958 return getWrappedName(type, type.render, "ForwardRef");
1959 case REACT_MEMO_TYPE:
1960 var outerName = type.displayName || null;
1961 if (outerName !== null) {
1962 return outerName;
1963 }
1964 return getComponentNameFromType(type.type) || "Memo";
1965 case REACT_LAZY_TYPE: {
1966 var lazyComponent = type;
1967 var payload = lazyComponent._payload;
1968 var init = lazyComponent._init;
1969 try {
1970 return getComponentNameFromType(init(payload));
1971 } catch (x) {
1972 return null;
1973 }
1974 }
1975 }
1976 }
1977 return null;
1978 }
1979 var assign = Object.assign;
1980 var disabledDepth = 0;
1981 var prevLog;
1982 var prevInfo;
1983 var prevWarn;
1984 var prevError;
1985 var prevGroup;
1986 var prevGroupCollapsed;
1987 var prevGroupEnd;
1988 function disabledLog() {}
1989 disabledLog.__reactDisabledLog = true;
1990 function disableLogs() {
1991 {
1992 if (disabledDepth === 0) {
1993 prevLog = console.log;
1994 prevInfo = console.info;
1995 prevWarn = console.warn;
1996 prevError = console.error;
1997 prevGroup = console.group;
1998 prevGroupCollapsed = console.groupCollapsed;
1999 prevGroupEnd = console.groupEnd;
2000 var props = {
2001 configurable: true,
2002 enumerable: true,
2003 value: disabledLog,
2004 writable: true
2005 };
2006 Object.defineProperties(console, {
2007 info: props,
2008 log: props,
2009 warn: props,
2010 error: props,
2011 group: props,
2012 groupCollapsed: props,
2013 groupEnd: props
2014 });
2015 }
2016 disabledDepth++;
2017 }
2018 }
2019 function reenableLogs() {
2020 {
2021 disabledDepth--;
2022 if (disabledDepth === 0) {
2023 var props = {
2024 configurable: true,
2025 enumerable: true,
2026 writable: true
2027 };
2028 Object.defineProperties(console, {
2029 log: assign({}, props, {
2030 value: prevLog
2031 }),
2032 info: assign({}, props, {
2033 value: prevInfo
2034 }),
2035 warn: assign({}, props, {
2036 value: prevWarn
2037 }),
2038 error: assign({}, props, {
2039 value: prevError
2040 }),
2041 group: assign({}, props, {
2042 value: prevGroup
2043 }),
2044 groupCollapsed: assign({}, props, {
2045 value: prevGroupCollapsed
2046 }),
2047 groupEnd: assign({}, props, {
2048 value: prevGroupEnd
2049 })
2050 });
2051 }
2052 if (disabledDepth < 0) {
2053 error("disabledDepth fell below zero. " + "This is a bug in React. Please file an issue.");
2054 }
2055 }
2056 }
2057 var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
2058 var prefix;
2059 function describeBuiltInComponentFrame(name, source, ownerFn) {
2060 {
2061 if (prefix === undefined) {
2062 try {
2063 throw Error();
2064 } catch (x) {
2065 var match = x.stack.trim().match(/\n( *(at )?)/);
2066 prefix = match && match[1] || "";
2067 }
2068 }
2069 return `
2070 ` + prefix + name;
2071 }
2072 }
2073 var reentry = false;
2074 var componentFrameCache;
2075 {
2076 var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
2077 componentFrameCache = new PossiblyWeakMap;
2078 }
2079 function describeNativeComponentFrame(fn, construct) {
2080 if (!fn || reentry) {
2081 return "";
2082 }
2083 {
2084 var frame = componentFrameCache.get(fn);
2085 if (frame !== undefined) {
2086 return frame;
2087 }
2088 }
2089 var control;
2090 reentry = true;
2091 var previousPrepareStackTrace = Error.prepareStackTrace;
2092 Error.prepareStackTrace = undefined;
2093 var previousDispatcher;
2094 {
2095 previousDispatcher = ReactCurrentDispatcher.current;
2096 ReactCurrentDispatcher.current = null;
2097 disableLogs();
2098 }
2099 try {
2100 if (construct) {
2101 var Fake = function() {
2102 throw Error();
2103 };
2104 Object.defineProperty(Fake.prototype, "props", {
2105 set: function() {
2106 throw Error();
2107 }
2108 });
2109 if (typeof Reflect === "object" && Reflect.construct) {
2110 try {
2111 Reflect.construct(Fake, []);
2112 } catch (x) {
2113 control = x;
2114 }
2115 Reflect.construct(fn, [], Fake);
2116 } else {
2117 try {
2118 Fake.call();
2119 } catch (x) {
2120 control = x;
2121 }
2122 fn.call(Fake.prototype);
2123 }
2124 } else {
2125 try {
2126 throw Error();
2127 } catch (x) {
2128 control = x;
2129 }
2130 fn();
2131 }
2132 } catch (sample) {
2133 if (sample && control && typeof sample.stack === "string") {
2134 var sampleLines = sample.stack.split(`
2135 `);
2136 var controlLines = control.stack.split(`
2137 `);
2138 var s = sampleLines.length - 1;
2139 var c = controlLines.length - 1;
2140 while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
2141 c--;
2142 }
2143 for (;s >= 1 && c >= 0; s--, c--) {
2144 if (sampleLines[s] !== controlLines[c]) {
2145 if (s !== 1 || c !== 1) {
2146 do {
2147 s--;
2148 c--;
2149 if (c < 0 || sampleLines[s] !== controlLines[c]) {
2150 var _frame = `
2151 ` + sampleLines[s].replace(" at new ", " at ");
2152 if (fn.displayName && _frame.includes("<anonymous>")) {
2153 _frame = _frame.replace("<anonymous>", fn.displayName);
2154 }
2155 {
2156 if (typeof fn === "function") {
2157 componentFrameCache.set(fn, _frame);
2158 }
2159 }
2160 return _frame;
2161 }
2162 } while (s >= 1 && c >= 0);
2163 }
2164 break;
2165 }
2166 }
2167 }
2168 } finally {
2169 reentry = false;
2170 {
2171 ReactCurrentDispatcher.current = previousDispatcher;
2172 reenableLogs();
2173 }
2174 Error.prepareStackTrace = previousPrepareStackTrace;
2175 }
2176 var name = fn ? fn.displayName || fn.name : "";
2177 var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
2178 {
2179 if (typeof fn === "function") {
2180 componentFrameCache.set(fn, syntheticFrame);
2181 }
2182 }
2183 return syntheticFrame;
2184 }
2185 function describeFunctionComponentFrame(fn, source, ownerFn) {
2186 {
2187 return describeNativeComponentFrame(fn, false);
2188 }
2189 }
2190 function shouldConstruct(Component) {
2191 var prototype = Component.prototype;
2192 return !!(prototype && prototype.isReactComponent);
2193 }
2194 function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
2195 if (type == null) {
2196 return "";
2197 }
2198 if (typeof type === "function") {
2199 {
2200 return describeNativeComponentFrame(type, shouldConstruct(type));
2201 }
2202 }
2203 if (typeof type === "string") {
2204 return describeBuiltInComponentFrame(type);
2205 }
2206 switch (type) {
2207 case REACT_SUSPENSE_TYPE:
2208 return describeBuiltInComponentFrame("Suspense");
2209 case REACT_SUSPENSE_LIST_TYPE:
2210 return describeBuiltInComponentFrame("SuspenseList");
2211 }
2212 if (typeof type === "object") {
2213 switch (type.$$typeof) {
2214 case REACT_FORWARD_REF_TYPE:
2215 return describeFunctionComponentFrame(type.render);
2216 case REACT_MEMO_TYPE:
2217 return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
2218 case REACT_LAZY_TYPE: {
2219 var lazyComponent = type;
2220 var payload = lazyComponent._payload;
2221 var init = lazyComponent._init;
2222 try {
2223 return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
2224 } catch (x) {}
2225 }
2226 }
2227 }
2228 return "";
2229 }
2230 var hasOwnProperty = Object.prototype.hasOwnProperty;
2231 var loggedTypeFailures = {};
2232 var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
2233 function setCurrentlyValidatingElement(element) {
2234 {
2235 if (element) {
2236 var owner = element._owner;
2237 var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
2238 ReactDebugCurrentFrame.setExtraStackFrame(stack);
2239 } else {
2240 ReactDebugCurrentFrame.setExtraStackFrame(null);
2241 }
2242 }
2243 }
2244 function checkPropTypes(typeSpecs, values, location, componentName, element) {
2245 {
2246 var has = Function.call.bind(hasOwnProperty);
2247 for (var typeSpecName in typeSpecs) {
2248 if (has(typeSpecs, typeSpecName)) {
2249 var error$1 = undefined;
2250 try {
2251 if (typeof typeSpecs[typeSpecName] !== "function") {
2252 var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; " + "it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`." + "This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
2253 err.name = "Invariant Violation";
2254 throw err;
2255 }
2256 error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
2257 } catch (ex) {
2258 error$1 = ex;
2259 }
2260 if (error$1 && !(error$1 instanceof Error)) {
2261 setCurrentlyValidatingElement(element);
2262 error("%s: type specification of %s" + " `%s` is invalid; the type checker " + "function must return `null` or an `Error` but returned a %s. " + "You may have forgotten to pass an argument to the type checker " + "creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and " + "shape all require an argument).", componentName || "React class", location, typeSpecName, typeof error$1);
2263 setCurrentlyValidatingElement(null);
2264 }
2265 if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
2266 loggedTypeFailures[error$1.message] = true;
2267 setCurrentlyValidatingElement(element);
2268 error("Failed %s type: %s", location, error$1.message);
2269 setCurrentlyValidatingElement(null);
2270 }
2271 }
2272 }
2273 }
2274 }
2275 var isArrayImpl = Array.isArray;
2276 function isArray(a) {
2277 return isArrayImpl(a);
2278 }
2279 function typeName(value) {
2280 {
2281 var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
2282 var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
2283 return type;
2284 }
2285 }
2286 function willCoercionThrow(value) {
2287 {
2288 try {
2289 testStringCoercion(value);
2290 return false;
2291 } catch (e) {
2292 return true;
2293 }
2294 }
2295 }
2296 function testStringCoercion(value) {
2297 return "" + value;
2298 }
2299 function checkKeyStringCoercion(value) {
2300 {
2301 if (willCoercionThrow(value)) {
2302 error("The provided key is an unsupported type %s." + " This value must be coerced to a string before before using it here.", typeName(value));
2303 return testStringCoercion(value);
2304 }
2305 }
2306 }
2307 var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
2308 var RESERVED_PROPS = {
2309 key: true,
2310 ref: true,
2311 __self: true,
2312 __source: true
2313 };
2314 var specialPropKeyWarningShown;
2315 var specialPropRefWarningShown;
2316 var didWarnAboutStringRefs;
2317 {
2318 didWarnAboutStringRefs = {};
2319 }
2320 function hasValidRef(config) {
2321 {
2322 if (hasOwnProperty.call(config, "ref")) {
2323 var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
2324 if (getter && getter.isReactWarning) {
2325 return false;
2326 }
2327 }
2328 }
2329 return config.ref !== undefined;
2330 }
2331 function hasValidKey(config) {
2332 {
2333 if (hasOwnProperty.call(config, "key")) {
2334 var getter = Object.getOwnPropertyDescriptor(config, "key").get;
2335 if (getter && getter.isReactWarning) {
2336 return false;
2337 }
2338 }
2339 }
2340 return config.key !== undefined;
2341 }
2342 function warnIfStringRefCannotBeAutoConverted(config, self) {
2343 {
2344 if (typeof config.ref === "string" && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
2345 var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
2346 if (!didWarnAboutStringRefs[componentName]) {
2347 error('Component "%s" contains the string ref "%s". ' + "Support for string refs will be removed in a future major release. " + "This case cannot be automatically converted to an arrow function. " + "We ask you to manually fix this case by using useRef() or createRef() instead. " + "Learn more about using refs safely here: " + "https://reactjs.org/link/strict-mode-string-ref", getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);
2348 didWarnAboutStringRefs[componentName] = true;
2349 }
2350 }
2351 }
2352 }
2353 function defineKeyPropWarningGetter(props, displayName) {
2354 {
2355 var warnAboutAccessingKey = function() {
2356 if (!specialPropKeyWarningShown) {
2357 specialPropKeyWarningShown = true;
2358 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://reactjs.org/link/special-props)", displayName);
2359 }
2360 };
2361 warnAboutAccessingKey.isReactWarning = true;
2362 Object.defineProperty(props, "key", {
2363 get: warnAboutAccessingKey,
2364 configurable: true
2365 });
2366 }
2367 }
2368 function defineRefPropWarningGetter(props, displayName) {
2369 {
2370 var warnAboutAccessingRef = function() {
2371 if (!specialPropRefWarningShown) {
2372 specialPropRefWarningShown = true;
2373 error("%s: `ref` 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://reactjs.org/link/special-props)", displayName);
2374 }
2375 };
2376 warnAboutAccessingRef.isReactWarning = true;
2377 Object.defineProperty(props, "ref", {
2378 get: warnAboutAccessingRef,
2379 configurable: true
2380 });
2381 }
2382 }
2383 var ReactElement = function(type, key, ref, self, source, owner, props) {
2384 var element = {
2385 $$typeof: REACT_ELEMENT_TYPE,
2386 type,
2387 key,
2388 ref,
2389 props,
2390 _owner: owner
2391 };
2392 {
2393 element._store = {};
2394 Object.defineProperty(element._store, "validated", {
2395 configurable: false,
2396 enumerable: false,
2397 writable: true,
2398 value: false
2399 });
2400 Object.defineProperty(element, "_self", {
2401 configurable: false,
2402 enumerable: false,
2403 writable: false,
2404 value: self
2405 });
2406 Object.defineProperty(element, "_source", {
2407 configurable: false,
2408 enumerable: false,
2409 writable: false,
2410 value: source
2411 });
2412 if (Object.freeze) {
2413 Object.freeze(element.props);
2414 Object.freeze(element);
2415 }
2416 }
2417 return element;
2418 };
2419 function jsxDEV(type, config, maybeKey, source, self) {
2420 {
2421 var propName;
2422 var props = {};
2423 var key = null;
2424 var ref = null;
2425 if (maybeKey !== undefined) {
2426 {
2427 checkKeyStringCoercion(maybeKey);
2428 }
2429 key = "" + maybeKey;
2430 }
2431 if (hasValidKey(config)) {
2432 {
2433 checkKeyStringCoercion(config.key);
2434 }
2435 key = "" + config.key;
2436 }
2437 if (hasValidRef(config)) {
2438 ref = config.ref;
2439 warnIfStringRefCannotBeAutoConverted(config, self);
2440 }
2441 for (propName in config) {
2442 if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
2443 props[propName] = config[propName];
2444 }
2445 }
2446 if (type && type.defaultProps) {
2447 var defaultProps = type.defaultProps;
2448 for (propName in defaultProps) {
2449 if (props[propName] === undefined) {
2450 props[propName] = defaultProps[propName];
2451 }
2452 }
2453 }
2454 if (key || ref) {
2455 var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
2456 if (key) {
2457 defineKeyPropWarningGetter(props, displayName);
2458 }
2459 if (ref) {
2460 defineRefPropWarningGetter(props, displayName);
2461 }
2462 }
2463 return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
2464 }
2465 }
2466 var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
2467 var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
2468 function setCurrentlyValidatingElement$1(element) {
2469 {
2470 if (element) {
2471 var owner = element._owner;
2472 var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
2473 ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
2474 } else {
2475 ReactDebugCurrentFrame$1.setExtraStackFrame(null);
2476 }
2477 }
2478 }
2479 var propTypesMisspellWarningShown;
2480 {
2481 propTypesMisspellWarningShown = false;
2482 }
2483 function isValidElement(object) {
2484 {
2485 return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
2486 }
2487 }
2488 function getDeclarationErrorAddendum() {
2489 {
2490 if (ReactCurrentOwner$1.current) {
2491 var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
2492 if (name) {
2493 return `
2494
2495 Check the render method of \`` + name + "`.";
2496 }
2497 }
2498 return "";
2499 }
2500 }
2501 function getSourceInfoErrorAddendum(source) {
2502 {
2503 if (source !== undefined) {
2504 var fileName = source.fileName.replace(/^.*[\\\/]/, "");
2505 var lineNumber = source.lineNumber;
2506 return `
2507
2508 Check your code at ` + fileName + ":" + lineNumber + ".";
2509 }
2510 return "";
2511 }
2512 }
2513 var ownerHasKeyUseWarning = {};
2514 function getCurrentComponentErrorInfo(parentType) {
2515 {
2516 var info = getDeclarationErrorAddendum();
2517 if (!info) {
2518 var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
2519 if (parentName) {
2520 info = `
2521
2522 Check the top-level render call using <` + parentName + ">.";
2523 }
2524 }
2525 return info;
2526 }
2527 }
2528 function validateExplicitKey(element, parentType) {
2529 {
2530 if (!element._store || element._store.validated || element.key != null) {
2531 return;
2532 }
2533 element._store.validated = true;
2534 var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
2535 if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
2536 return;
2537 }
2538 ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
2539 var childOwner = "";
2540 if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
2541 childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
2542 }
2543 setCurrentlyValidatingElement$1(element);
2544 error('Each child in a list should have a unique "key" prop.' + "%s%s See https://reactjs.org/link/warning-keys for more information.", currentComponentErrorInfo, childOwner);
2545 setCurrentlyValidatingElement$1(null);
2546 }
2547 }
2548 function validateChildKeys(node, parentType) {
2549 {
2550 if (typeof node !== "object") {
2551 return;
2552 }
2553 if (isArray(node)) {
2554 for (var i = 0;i < node.length; i++) {
2555 var child = node[i];
2556 if (isValidElement(child)) {
2557 validateExplicitKey(child, parentType);
2558 }
2559 }
2560 } else if (isValidElement(node)) {
2561 if (node._store) {
2562 node._store.validated = true;
2563 }
2564 } else if (node) {
2565 var iteratorFn = getIteratorFn(node);
2566 if (typeof iteratorFn === "function") {
2567 if (iteratorFn !== node.entries) {
2568 var iterator = iteratorFn.call(node);
2569 var step;
2570 while (!(step = iterator.next()).done) {
2571 if (isValidElement(step.value)) {
2572 validateExplicitKey(step.value, parentType);
2573 }
2574 }
2575 }
2576 }
2577 }
2578 }
2579 }
2580 function validatePropTypes(element) {
2581 {
2582 var type = element.type;
2583 if (type === null || type === undefined || typeof type === "string") {
2584 return;
2585 }
2586 var propTypes;
2587 if (typeof type === "function") {
2588 propTypes = type.propTypes;
2589 } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_MEMO_TYPE)) {
2590 propTypes = type.propTypes;
2591 } else {
2592 return;
2593 }
2594 if (propTypes) {
2595 var name = getComponentNameFromType(type);
2596 checkPropTypes(propTypes, element.props, "prop", name, element);
2597 } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {
2598 propTypesMisspellWarningShown = true;
2599 var _name = getComponentNameFromType(type);
2600 error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
2601 }
2602 if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
2603 error("getDefaultProps is only used on classic React.createClass " + "definitions. Use a static property named `defaultProps` instead.");
2604 }
2605 }
2606 }
2607 function validateFragmentProps(fragment) {
2608 {
2609 var keys = Object.keys(fragment.props);
2610 for (var i = 0;i < keys.length; i++) {
2611 var key = keys[i];
2612 if (key !== "children" && key !== "key") {
2613 setCurrentlyValidatingElement$1(fragment);
2614 error("Invalid prop `%s` supplied to `React.Fragment`. " + "React.Fragment can only have `key` and `children` props.", key);
2615 setCurrentlyValidatingElement$1(null);
2616 break;
2617 }
2618 }
2619 if (fragment.ref !== null) {
2620 setCurrentlyValidatingElement$1(fragment);
2621 error("Invalid attribute `ref` supplied to `React.Fragment`.");
2622 setCurrentlyValidatingElement$1(null);
2623 }
2624 }
2625 }
2626 var didWarnAboutKeySpread = {};
2627 function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
2628 {
2629 var validType = isValidElementType(type);
2630 if (!validType) {
2631 var info = "";
2632 if (type === undefined || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
2633 info += " You likely forgot to export your component from the file " + "it's defined in, or you might have mixed up default and named imports.";
2634 }
2635 var sourceInfo = getSourceInfoErrorAddendum(source);
2636 if (sourceInfo) {
2637 info += sourceInfo;
2638 } else {
2639 info += getDeclarationErrorAddendum();
2640 }
2641 var typeString;
2642 if (type === null) {
2643 typeString = "null";
2644 } else if (isArray(type)) {
2645 typeString = "array";
2646 } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {
2647 typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
2648 info = " Did you accidentally export a JSX literal instead of a component?";
2649 } else {
2650 typeString = typeof type;
2651 }
2652 error("React.jsx: type is invalid -- expected a string (for " + "built-in components) or a class/function (for composite " + "components) but got: %s.%s", typeString, info);
2653 }
2654 var element = jsxDEV(type, props, key, source, self);
2655 if (element == null) {
2656 return element;
2657 }
2658 if (validType) {
2659 var children = props.children;
2660 if (children !== undefined) {
2661 if (isStaticChildren) {
2662 if (isArray(children)) {
2663 for (var i = 0;i < children.length; i++) {
2664 validateChildKeys(children[i], type);
2665 }
2666 if (Object.freeze) {
2667 Object.freeze(children);
2668 }
2669 } else {
2670 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.");
2671 }
2672 } else {
2673 validateChildKeys(children, type);
2674 }
2675 }
2676 }
2677 {
2678 if (hasOwnProperty.call(props, "key")) {
2679 var componentName = getComponentNameFromType(type);
2680 var keys = Object.keys(props).filter(function(k) {
2681 return k !== "key";
2682 });
2683 var beforeExample = keys.length > 0 ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
2684 if (!didWarnAboutKeySpread[componentName + beforeExample]) {
2685 var afterExample = keys.length > 0 ? "{" + keys.join(": ..., ") + ": ...}" : "{}";
2686 error(`A props object containing a "key" prop is being spread into JSX:
2687 ` + ` let props = %s;
2688 ` + ` <%s {...props} />
2689 ` + `React keys must be passed directly to JSX without using spread:
2690 ` + ` let props = %s;
2691 ` + " <%s key={someKey} {...props} />", beforeExample, componentName, afterExample, componentName);
2692 didWarnAboutKeySpread[componentName + beforeExample] = true;
2693 }
2694 }
2695 }
2696 if (type === REACT_FRAGMENT_TYPE) {
2697 validateFragmentProps(element);
2698 } else {
2699 validatePropTypes(element);
2700 }
2701 return element;
2702 }
2703 }
2704 var jsxDEV$1 = jsxWithValidation;
2705 exports.Fragment = REACT_FRAGMENT_TYPE;
2706 exports.jsxDEV = jsxDEV$1;
2707 })();
2708 }
2709 });
2710
2711 // node_modules/react/jsx-dev-runtime.js
2712 var require_jsx_dev_runtime = __commonJS((exports, module) => {
2713 var react_jsx_dev_runtime_development = __toESM(require_react_jsx_dev_runtime_development(), 1);
2714 if (false) {} else {
2715 module.exports = react_jsx_dev_runtime_development;
2716 }
2717 });
2718
2719 // june.tsx
2720 var jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
2721 console.log("hello from bun thirdpaty");