qpp-design-system 0.5.0-beta.3 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -93,50 +93,41 @@ var classnames = { exports: {} };
93
93
  var classnamesExports = classnames.exports;
94
94
  const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
95
95
  var jsxRuntime = { exports: {} };
96
- var reactJsxRuntime_production = {};
96
+ var reactJsxRuntime_production_min = {};
97
97
  /**
98
98
  * @license React
99
- * react-jsx-runtime.production.js
99
+ * react-jsx-runtime.production.min.js
100
100
  *
101
- * Copyright (c) Meta Platforms, Inc. and affiliates.
101
+ * Copyright (c) Facebook, Inc. and its affiliates.
102
102
  *
103
103
  * This source code is licensed under the MIT license found in the
104
104
  * LICENSE file in the root directory of this source tree.
105
105
  */
106
- var hasRequiredReactJsxRuntime_production;
107
- function requireReactJsxRuntime_production() {
108
- if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
109
- hasRequiredReactJsxRuntime_production = 1;
110
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
111
- function jsxProd(type, config2, maybeKey) {
112
- var key = null;
113
- void 0 !== maybeKey && (key = "" + maybeKey);
114
- void 0 !== config2.key && (key = "" + config2.key);
115
- if ("key" in config2) {
116
- maybeKey = {};
117
- for (var propName in config2)
118
- "key" !== propName && (maybeKey[propName] = config2[propName]);
119
- } else maybeKey = config2;
120
- config2 = maybeKey.ref;
121
- return {
122
- $$typeof: REACT_ELEMENT_TYPE,
123
- type,
124
- key,
125
- ref: void 0 !== config2 ? config2 : null,
126
- props: maybeKey
127
- };
128
- }
129
- reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
130
- reactJsxRuntime_production.jsx = jsxProd;
131
- reactJsxRuntime_production.jsxs = jsxProd;
132
- return reactJsxRuntime_production;
106
+ var hasRequiredReactJsxRuntime_production_min;
107
+ function requireReactJsxRuntime_production_min() {
108
+ if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
109
+ hasRequiredReactJsxRuntime_production_min = 1;
110
+ var f = $73SJx$react, k = Symbol.for("react.element"), l = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: true, ref: true, __self: true, __source: true };
111
+ function q(c, a, g) {
112
+ var b, d = {}, e = null, h = null;
113
+ void 0 !== g && (e = "" + g);
114
+ void 0 !== a.key && (e = "" + a.key);
115
+ void 0 !== a.ref && (h = a.ref);
116
+ for (b in a) m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
117
+ if (c && c.defaultProps) for (b in a = c.defaultProps, a) void 0 === d[b] && (d[b] = a[b]);
118
+ return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current };
119
+ }
120
+ reactJsxRuntime_production_min.Fragment = l;
121
+ reactJsxRuntime_production_min.jsx = q;
122
+ reactJsxRuntime_production_min.jsxs = q;
123
+ return reactJsxRuntime_production_min;
133
124
  }
134
125
  var reactJsxRuntime_development = {};
135
126
  /**
136
127
  * @license React
137
128
  * react-jsx-runtime.development.js
138
129
  *
139
- * Copyright (c) Meta Platforms, Inc. and affiliates.
130
+ * Copyright (c) Facebook, Inc. and its affiliates.
140
131
  *
141
132
  * This source code is licensed under the MIT license found in the
142
133
  * LICENSE file in the root directory of this source tree.
@@ -145,260 +136,880 @@ var hasRequiredReactJsxRuntime_development;
145
136
  function requireReactJsxRuntime_development() {
146
137
  if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
147
138
  hasRequiredReactJsxRuntime_development = 1;
148
- "production" !== process.env.NODE_ENV && function() {
149
- function getComponentNameFromType(type) {
150
- if (null == type) return null;
151
- if ("function" === typeof type)
152
- return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
153
- if ("string" === typeof type) return type;
154
- switch (type) {
155
- case REACT_FRAGMENT_TYPE:
156
- return "Fragment";
157
- case REACT_PROFILER_TYPE:
158
- return "Profiler";
159
- case REACT_STRICT_MODE_TYPE:
160
- return "StrictMode";
161
- case REACT_SUSPENSE_TYPE:
162
- return "Suspense";
163
- case REACT_SUSPENSE_LIST_TYPE:
164
- return "SuspenseList";
165
- case REACT_ACTIVITY_TYPE:
166
- return "Activity";
167
- }
168
- if ("object" === typeof type)
169
- switch ("number" === typeof type.tag && console.error(
170
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
171
- ), type.$$typeof) {
139
+ if (process.env.NODE_ENV !== "production") {
140
+ (function() {
141
+ var React2 = $73SJx$react;
142
+ var REACT_ELEMENT_TYPE = Symbol.for("react.element");
143
+ var REACT_PORTAL_TYPE = Symbol.for("react.portal");
144
+ var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
145
+ var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
146
+ var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
147
+ var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
148
+ var REACT_CONTEXT_TYPE = Symbol.for("react.context");
149
+ var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
150
+ var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
151
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
152
+ var REACT_MEMO_TYPE = Symbol.for("react.memo");
153
+ var REACT_LAZY_TYPE = Symbol.for("react.lazy");
154
+ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
155
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
156
+ var FAUX_ITERATOR_SYMBOL = "@@iterator";
157
+ function getIteratorFn(maybeIterable) {
158
+ if (maybeIterable === null || typeof maybeIterable !== "object") {
159
+ return null;
160
+ }
161
+ var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
162
+ if (typeof maybeIterator === "function") {
163
+ return maybeIterator;
164
+ }
165
+ return null;
166
+ }
167
+ var ReactSharedInternals = React2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
168
+ function error(format2) {
169
+ {
170
+ {
171
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
172
+ args[_key2 - 1] = arguments[_key2];
173
+ }
174
+ printWarning("error", format2, args);
175
+ }
176
+ }
177
+ }
178
+ function printWarning(level, format2, args) {
179
+ {
180
+ var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
181
+ var stack = ReactDebugCurrentFrame2.getStackAddendum();
182
+ if (stack !== "") {
183
+ format2 += "%s";
184
+ args = args.concat([stack]);
185
+ }
186
+ var argsWithFormat = args.map(function(item) {
187
+ return String(item);
188
+ });
189
+ argsWithFormat.unshift("Warning: " + format2);
190
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
191
+ }
192
+ }
193
+ var enableScopeAPI = false;
194
+ var enableCacheElement = false;
195
+ var enableTransitionTracing = false;
196
+ var enableLegacyHidden = false;
197
+ var enableDebugTracing = false;
198
+ var REACT_MODULE_REFERENCE;
199
+ {
200
+ REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
201
+ }
202
+ function isValidElementType(type) {
203
+ if (typeof type === "string" || typeof type === "function") {
204
+ return true;
205
+ }
206
+ 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) {
207
+ return true;
208
+ }
209
+ if (typeof type === "object" && type !== null) {
210
+ 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 || // This needs to include all possible module reference object
211
+ // types supported by any Flight configuration anywhere since
212
+ // we don't know which Flight build this will end up being used
213
+ // with.
214
+ type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
215
+ return true;
216
+ }
217
+ }
218
+ return false;
219
+ }
220
+ function getWrappedName(outerType, innerType, wrapperName) {
221
+ var displayName = outerType.displayName;
222
+ if (displayName) {
223
+ return displayName;
224
+ }
225
+ var functionName = innerType.displayName || innerType.name || "";
226
+ return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
227
+ }
228
+ function getContextName(type) {
229
+ return type.displayName || "Context";
230
+ }
231
+ function getComponentNameFromType(type) {
232
+ if (type == null) {
233
+ return null;
234
+ }
235
+ {
236
+ if (typeof type.tag === "number") {
237
+ error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
238
+ }
239
+ }
240
+ if (typeof type === "function") {
241
+ return type.displayName || type.name || null;
242
+ }
243
+ if (typeof type === "string") {
244
+ return type;
245
+ }
246
+ switch (type) {
247
+ case REACT_FRAGMENT_TYPE:
248
+ return "Fragment";
172
249
  case REACT_PORTAL_TYPE:
173
250
  return "Portal";
174
- case REACT_CONTEXT_TYPE:
175
- return type.displayName || "Context";
176
- case REACT_CONSUMER_TYPE:
177
- return (type._context.displayName || "Context") + ".Consumer";
178
- case REACT_FORWARD_REF_TYPE:
179
- var innerType = type.render;
180
- type = type.displayName;
181
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
182
- return type;
183
- case REACT_MEMO_TYPE:
184
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
185
- case REACT_LAZY_TYPE:
186
- innerType = type._payload;
187
- type = type._init;
251
+ case REACT_PROFILER_TYPE:
252
+ return "Profiler";
253
+ case REACT_STRICT_MODE_TYPE:
254
+ return "StrictMode";
255
+ case REACT_SUSPENSE_TYPE:
256
+ return "Suspense";
257
+ case REACT_SUSPENSE_LIST_TYPE:
258
+ return "SuspenseList";
259
+ }
260
+ if (typeof type === "object") {
261
+ switch (type.$$typeof) {
262
+ case REACT_CONTEXT_TYPE:
263
+ var context = type;
264
+ return getContextName(context) + ".Consumer";
265
+ case REACT_PROVIDER_TYPE:
266
+ var provider = type;
267
+ return getContextName(provider._context) + ".Provider";
268
+ case REACT_FORWARD_REF_TYPE:
269
+ return getWrappedName(type, type.render, "ForwardRef");
270
+ case REACT_MEMO_TYPE:
271
+ var outerName = type.displayName || null;
272
+ if (outerName !== null) {
273
+ return outerName;
274
+ }
275
+ return getComponentNameFromType(type.type) || "Memo";
276
+ case REACT_LAZY_TYPE: {
277
+ var lazyComponent = type;
278
+ var payload = lazyComponent._payload;
279
+ var init = lazyComponent._init;
280
+ try {
281
+ return getComponentNameFromType(init(payload));
282
+ } catch (x) {
283
+ return null;
284
+ }
285
+ }
286
+ }
287
+ }
288
+ return null;
289
+ }
290
+ var assign = Object.assign;
291
+ var disabledDepth = 0;
292
+ var prevLog;
293
+ var prevInfo;
294
+ var prevWarn;
295
+ var prevError;
296
+ var prevGroup;
297
+ var prevGroupCollapsed;
298
+ var prevGroupEnd;
299
+ function disabledLog() {
300
+ }
301
+ disabledLog.__reactDisabledLog = true;
302
+ function disableLogs() {
303
+ {
304
+ if (disabledDepth === 0) {
305
+ prevLog = console.log;
306
+ prevInfo = console.info;
307
+ prevWarn = console.warn;
308
+ prevError = console.error;
309
+ prevGroup = console.group;
310
+ prevGroupCollapsed = console.groupCollapsed;
311
+ prevGroupEnd = console.groupEnd;
312
+ var props = {
313
+ configurable: true,
314
+ enumerable: true,
315
+ value: disabledLog,
316
+ writable: true
317
+ };
318
+ Object.defineProperties(console, {
319
+ info: props,
320
+ log: props,
321
+ warn: props,
322
+ error: props,
323
+ group: props,
324
+ groupCollapsed: props,
325
+ groupEnd: props
326
+ });
327
+ }
328
+ disabledDepth++;
329
+ }
330
+ }
331
+ function reenableLogs() {
332
+ {
333
+ disabledDepth--;
334
+ if (disabledDepth === 0) {
335
+ var props = {
336
+ configurable: true,
337
+ enumerable: true,
338
+ writable: true
339
+ };
340
+ Object.defineProperties(console, {
341
+ log: assign({}, props, {
342
+ value: prevLog
343
+ }),
344
+ info: assign({}, props, {
345
+ value: prevInfo
346
+ }),
347
+ warn: assign({}, props, {
348
+ value: prevWarn
349
+ }),
350
+ error: assign({}, props, {
351
+ value: prevError
352
+ }),
353
+ group: assign({}, props, {
354
+ value: prevGroup
355
+ }),
356
+ groupCollapsed: assign({}, props, {
357
+ value: prevGroupCollapsed
358
+ }),
359
+ groupEnd: assign({}, props, {
360
+ value: prevGroupEnd
361
+ })
362
+ });
363
+ }
364
+ if (disabledDepth < 0) {
365
+ error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
366
+ }
367
+ }
368
+ }
369
+ var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
370
+ var prefix;
371
+ function describeBuiltInComponentFrame(name, source, ownerFn) {
372
+ {
373
+ if (prefix === void 0) {
188
374
  try {
189
- return getComponentNameFromType(type(innerType));
375
+ throw Error();
190
376
  } catch (x) {
377
+ var match2 = x.stack.trim().match(/\n( *(at )?)/);
378
+ prefix = match2 && match2[1] || "";
191
379
  }
380
+ }
381
+ return "\n" + prefix + name;
192
382
  }
193
- return null;
194
- }
195
- function testStringCoercion(value) {
196
- return "" + value;
197
- }
198
- function checkKeyStringCoercion(value) {
199
- try {
200
- testStringCoercion(value);
201
- var JSCompiler_inline_result = false;
202
- } catch (e) {
203
- JSCompiler_inline_result = true;
204
- }
205
- if (JSCompiler_inline_result) {
206
- JSCompiler_inline_result = console;
207
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
208
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
209
- JSCompiler_temp_const.call(
210
- JSCompiler_inline_result,
211
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
212
- JSCompiler_inline_result$jscomp$0
213
- );
214
- return testStringCoercion(value);
215
383
  }
216
- }
217
- function getTaskName(type) {
218
- if (type === REACT_FRAGMENT_TYPE) return "<>";
219
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
220
- return "<...>";
221
- try {
222
- var name = getComponentNameFromType(type);
223
- return name ? "<" + name + ">" : "<...>";
224
- } catch (x) {
225
- return "<...>";
384
+ var reentry = false;
385
+ var componentFrameCache;
386
+ {
387
+ var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
388
+ componentFrameCache = new PossiblyWeakMap();
226
389
  }
227
- }
228
- function getOwner() {
229
- var dispatcher = ReactSharedInternals.A;
230
- return null === dispatcher ? null : dispatcher.getOwner();
231
- }
232
- function UnknownOwner() {
233
- return Error("react-stack-top-frame");
234
- }
235
- function hasValidKey(config2) {
236
- if (hasOwnProperty2.call(config2, "key")) {
237
- var getter = Object.getOwnPropertyDescriptor(config2, "key").get;
238
- if (getter && getter.isReactWarning) return false;
390
+ function describeNativeComponentFrame(fn2, construct) {
391
+ if (!fn2 || reentry) {
392
+ return "";
393
+ }
394
+ {
395
+ var frame = componentFrameCache.get(fn2);
396
+ if (frame !== void 0) {
397
+ return frame;
398
+ }
399
+ }
400
+ var control;
401
+ reentry = true;
402
+ var previousPrepareStackTrace = Error.prepareStackTrace;
403
+ Error.prepareStackTrace = void 0;
404
+ var previousDispatcher;
405
+ {
406
+ previousDispatcher = ReactCurrentDispatcher.current;
407
+ ReactCurrentDispatcher.current = null;
408
+ disableLogs();
409
+ }
410
+ try {
411
+ if (construct) {
412
+ var Fake = function() {
413
+ throw Error();
414
+ };
415
+ Object.defineProperty(Fake.prototype, "props", {
416
+ set: function() {
417
+ throw Error();
418
+ }
419
+ });
420
+ if (typeof Reflect === "object" && Reflect.construct) {
421
+ try {
422
+ Reflect.construct(Fake, []);
423
+ } catch (x) {
424
+ control = x;
425
+ }
426
+ Reflect.construct(fn2, [], Fake);
427
+ } else {
428
+ try {
429
+ Fake.call();
430
+ } catch (x) {
431
+ control = x;
432
+ }
433
+ fn2.call(Fake.prototype);
434
+ }
435
+ } else {
436
+ try {
437
+ throw Error();
438
+ } catch (x) {
439
+ control = x;
440
+ }
441
+ fn2();
442
+ }
443
+ } catch (sample) {
444
+ if (sample && control && typeof sample.stack === "string") {
445
+ var sampleLines = sample.stack.split("\n");
446
+ var controlLines = control.stack.split("\n");
447
+ var s = sampleLines.length - 1;
448
+ var c = controlLines.length - 1;
449
+ while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
450
+ c--;
451
+ }
452
+ for (; s >= 1 && c >= 0; s--, c--) {
453
+ if (sampleLines[s] !== controlLines[c]) {
454
+ if (s !== 1 || c !== 1) {
455
+ do {
456
+ s--;
457
+ c--;
458
+ if (c < 0 || sampleLines[s] !== controlLines[c]) {
459
+ var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
460
+ if (fn2.displayName && _frame.includes("<anonymous>")) {
461
+ _frame = _frame.replace("<anonymous>", fn2.displayName);
462
+ }
463
+ {
464
+ if (typeof fn2 === "function") {
465
+ componentFrameCache.set(fn2, _frame);
466
+ }
467
+ }
468
+ return _frame;
469
+ }
470
+ } while (s >= 1 && c >= 0);
471
+ }
472
+ break;
473
+ }
474
+ }
475
+ }
476
+ } finally {
477
+ reentry = false;
478
+ {
479
+ ReactCurrentDispatcher.current = previousDispatcher;
480
+ reenableLogs();
481
+ }
482
+ Error.prepareStackTrace = previousPrepareStackTrace;
483
+ }
484
+ var name = fn2 ? fn2.displayName || fn2.name : "";
485
+ var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
486
+ {
487
+ if (typeof fn2 === "function") {
488
+ componentFrameCache.set(fn2, syntheticFrame);
489
+ }
490
+ }
491
+ return syntheticFrame;
239
492
  }
240
- return void 0 !== config2.key;
241
- }
242
- function defineKeyPropWarningGetter(props, displayName) {
243
- function warnAboutAccessingKey() {
244
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
245
- "%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)",
246
- displayName
247
- ));
493
+ function describeFunctionComponentFrame(fn2, source, ownerFn) {
494
+ {
495
+ return describeNativeComponentFrame(fn2, false);
496
+ }
248
497
  }
249
- warnAboutAccessingKey.isReactWarning = true;
250
- Object.defineProperty(props, "key", {
251
- get: warnAboutAccessingKey,
252
- configurable: true
253
- });
254
- }
255
- function elementRefGetterWithDeprecationWarning() {
256
- var componentName = getComponentNameFromType(this.type);
257
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
258
- "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."
259
- ));
260
- componentName = this.props.ref;
261
- return void 0 !== componentName ? componentName : null;
262
- }
263
- function ReactElement(type, key, props, owner, debugStack, debugTask) {
264
- var refProp = props.ref;
265
- type = {
266
- $$typeof: REACT_ELEMENT_TYPE,
267
- type,
268
- key,
269
- props,
270
- _owner: owner
498
+ function shouldConstruct(Component) {
499
+ var prototype = Component.prototype;
500
+ return !!(prototype && prototype.isReactComponent);
501
+ }
502
+ function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
503
+ if (type == null) {
504
+ return "";
505
+ }
506
+ if (typeof type === "function") {
507
+ {
508
+ return describeNativeComponentFrame(type, shouldConstruct(type));
509
+ }
510
+ }
511
+ if (typeof type === "string") {
512
+ return describeBuiltInComponentFrame(type);
513
+ }
514
+ switch (type) {
515
+ case REACT_SUSPENSE_TYPE:
516
+ return describeBuiltInComponentFrame("Suspense");
517
+ case REACT_SUSPENSE_LIST_TYPE:
518
+ return describeBuiltInComponentFrame("SuspenseList");
519
+ }
520
+ if (typeof type === "object") {
521
+ switch (type.$$typeof) {
522
+ case REACT_FORWARD_REF_TYPE:
523
+ return describeFunctionComponentFrame(type.render);
524
+ case REACT_MEMO_TYPE:
525
+ return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
526
+ case REACT_LAZY_TYPE: {
527
+ var lazyComponent = type;
528
+ var payload = lazyComponent._payload;
529
+ var init = lazyComponent._init;
530
+ try {
531
+ return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
532
+ } catch (x) {
533
+ }
534
+ }
535
+ }
536
+ }
537
+ return "";
538
+ }
539
+ var hasOwnProperty2 = Object.prototype.hasOwnProperty;
540
+ var loggedTypeFailures = {};
541
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
542
+ function setCurrentlyValidatingElement(element) {
543
+ {
544
+ if (element) {
545
+ var owner = element._owner;
546
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
547
+ ReactDebugCurrentFrame.setExtraStackFrame(stack);
548
+ } else {
549
+ ReactDebugCurrentFrame.setExtraStackFrame(null);
550
+ }
551
+ }
552
+ }
553
+ function checkPropTypes(typeSpecs, values, location, componentName, element) {
554
+ {
555
+ var has2 = Function.call.bind(hasOwnProperty2);
556
+ for (var typeSpecName in typeSpecs) {
557
+ if (has2(typeSpecs, typeSpecName)) {
558
+ var error$1 = void 0;
559
+ try {
560
+ if (typeof typeSpecs[typeSpecName] !== "function") {
561
+ 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`.");
562
+ err.name = "Invariant Violation";
563
+ throw err;
564
+ }
565
+ error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
566
+ } catch (ex) {
567
+ error$1 = ex;
568
+ }
569
+ if (error$1 && !(error$1 instanceof Error)) {
570
+ setCurrentlyValidatingElement(element);
571
+ 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);
572
+ setCurrentlyValidatingElement(null);
573
+ }
574
+ if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
575
+ loggedTypeFailures[error$1.message] = true;
576
+ setCurrentlyValidatingElement(element);
577
+ error("Failed %s type: %s", location, error$1.message);
578
+ setCurrentlyValidatingElement(null);
579
+ }
580
+ }
581
+ }
582
+ }
583
+ }
584
+ var isArrayImpl = Array.isArray;
585
+ function isArray2(a) {
586
+ return isArrayImpl(a);
587
+ }
588
+ function typeName(value) {
589
+ {
590
+ var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
591
+ var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
592
+ return type;
593
+ }
594
+ }
595
+ function willCoercionThrow(value) {
596
+ {
597
+ try {
598
+ testStringCoercion(value);
599
+ return false;
600
+ } catch (e) {
601
+ return true;
602
+ }
603
+ }
604
+ }
605
+ function testStringCoercion(value) {
606
+ return "" + value;
607
+ }
608
+ function checkKeyStringCoercion(value) {
609
+ {
610
+ if (willCoercionThrow(value)) {
611
+ error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
612
+ return testStringCoercion(value);
613
+ }
614
+ }
615
+ }
616
+ var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
617
+ var RESERVED_PROPS = {
618
+ key: true,
619
+ ref: true,
620
+ __self: true,
621
+ __source: true
271
622
  };
272
- null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
273
- enumerable: false,
274
- get: elementRefGetterWithDeprecationWarning
275
- }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
276
- type._store = {};
277
- Object.defineProperty(type._store, "validated", {
278
- configurable: false,
279
- enumerable: false,
280
- writable: true,
281
- value: 0
282
- });
283
- Object.defineProperty(type, "_debugInfo", {
284
- configurable: false,
285
- enumerable: false,
286
- writable: true,
287
- value: null
288
- });
289
- Object.defineProperty(type, "_debugStack", {
290
- configurable: false,
291
- enumerable: false,
292
- writable: true,
293
- value: debugStack
294
- });
295
- Object.defineProperty(type, "_debugTask", {
296
- configurable: false,
297
- enumerable: false,
298
- writable: true,
299
- value: debugTask
300
- });
301
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
302
- return type;
303
- }
304
- function jsxDEVImpl(type, config2, maybeKey, isStaticChildren, debugStack, debugTask) {
305
- var children = config2.children;
306
- if (void 0 !== children)
307
- if (isStaticChildren)
308
- if (isArrayImpl(children)) {
309
- for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
310
- validateChildKeys(children[isStaticChildren]);
311
- Object.freeze && Object.freeze(children);
312
- } else
313
- console.error(
314
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
315
- );
316
- else validateChildKeys(children);
317
- if (hasOwnProperty2.call(config2, "key")) {
318
- children = getComponentNameFromType(type);
319
- var keys = Object.keys(config2).filter(function(k) {
320
- return "key" !== k;
321
- });
322
- isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
323
- didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
324
- '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} />',
325
- isStaticChildren,
326
- children,
327
- keys,
328
- children
329
- ), didWarnAboutKeySpread[children + isStaticChildren] = true);
330
- }
331
- children = null;
332
- void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
333
- hasValidKey(config2) && (checkKeyStringCoercion(config2.key), children = "" + config2.key);
334
- if ("key" in config2) {
335
- maybeKey = {};
336
- for (var propName in config2)
337
- "key" !== propName && (maybeKey[propName] = config2[propName]);
338
- } else maybeKey = config2;
339
- children && defineKeyPropWarningGetter(
340
- maybeKey,
341
- "function" === typeof type ? type.displayName || type.name || "Unknown" : type
342
- );
343
- return ReactElement(
344
- type,
345
- children,
346
- maybeKey,
347
- getOwner(),
348
- debugStack,
349
- debugTask
350
- );
351
- }
352
- function validateChildKeys(node) {
353
- 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));
354
- }
355
- function isValidElement(object) {
356
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
357
- }
358
- var React2 = $73SJx$react, REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty2 = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
359
- return null;
360
- };
361
- React2 = {
362
- react_stack_bottom_frame: function(callStackForError) {
363
- return callStackForError();
623
+ var specialPropKeyWarningShown;
624
+ var specialPropRefWarningShown;
625
+ function hasValidRef(config2) {
626
+ {
627
+ if (hasOwnProperty2.call(config2, "ref")) {
628
+ var getter = Object.getOwnPropertyDescriptor(config2, "ref").get;
629
+ if (getter && getter.isReactWarning) {
630
+ return false;
631
+ }
632
+ }
633
+ }
634
+ return config2.ref !== void 0;
364
635
  }
365
- };
366
- var specialPropKeyWarningShown;
367
- var didWarnAboutElementRef = {};
368
- var unknownOwnerDebugStack = React2.react_stack_bottom_frame.bind(
369
- React2,
370
- UnknownOwner
371
- )();
372
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
373
- var didWarnAboutKeySpread = {};
374
- reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
375
- reactJsxRuntime_development.jsx = function(type, config2, maybeKey) {
376
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
377
- return jsxDEVImpl(
378
- type,
379
- config2,
380
- maybeKey,
381
- false,
382
- trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
383
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
384
- );
385
- };
386
- reactJsxRuntime_development.jsxs = function(type, config2, maybeKey) {
387
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
388
- return jsxDEVImpl(
389
- type,
390
- config2,
391
- maybeKey,
392
- true,
393
- trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
394
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
395
- );
396
- };
397
- }();
636
+ function hasValidKey(config2) {
637
+ {
638
+ if (hasOwnProperty2.call(config2, "key")) {
639
+ var getter = Object.getOwnPropertyDescriptor(config2, "key").get;
640
+ if (getter && getter.isReactWarning) {
641
+ return false;
642
+ }
643
+ }
644
+ }
645
+ return config2.key !== void 0;
646
+ }
647
+ function warnIfStringRefCannotBeAutoConverted(config2, self2) {
648
+ {
649
+ if (typeof config2.ref === "string" && ReactCurrentOwner.current && self2) ;
650
+ }
651
+ }
652
+ function defineKeyPropWarningGetter(props, displayName) {
653
+ {
654
+ var warnAboutAccessingKey = function() {
655
+ if (!specialPropKeyWarningShown) {
656
+ specialPropKeyWarningShown = true;
657
+ 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);
658
+ }
659
+ };
660
+ warnAboutAccessingKey.isReactWarning = true;
661
+ Object.defineProperty(props, "key", {
662
+ get: warnAboutAccessingKey,
663
+ configurable: true
664
+ });
665
+ }
666
+ }
667
+ function defineRefPropWarningGetter(props, displayName) {
668
+ {
669
+ var warnAboutAccessingRef = function() {
670
+ if (!specialPropRefWarningShown) {
671
+ specialPropRefWarningShown = true;
672
+ 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);
673
+ }
674
+ };
675
+ warnAboutAccessingRef.isReactWarning = true;
676
+ Object.defineProperty(props, "ref", {
677
+ get: warnAboutAccessingRef,
678
+ configurable: true
679
+ });
680
+ }
681
+ }
682
+ var ReactElement = function(type, key, ref, self2, source, owner, props) {
683
+ var element = {
684
+ // This tag allows us to uniquely identify this as a React Element
685
+ $$typeof: REACT_ELEMENT_TYPE,
686
+ // Built-in properties that belong on the element
687
+ type,
688
+ key,
689
+ ref,
690
+ props,
691
+ // Record the component responsible for creating this element.
692
+ _owner: owner
693
+ };
694
+ {
695
+ element._store = {};
696
+ Object.defineProperty(element._store, "validated", {
697
+ configurable: false,
698
+ enumerable: false,
699
+ writable: true,
700
+ value: false
701
+ });
702
+ Object.defineProperty(element, "_self", {
703
+ configurable: false,
704
+ enumerable: false,
705
+ writable: false,
706
+ value: self2
707
+ });
708
+ Object.defineProperty(element, "_source", {
709
+ configurable: false,
710
+ enumerable: false,
711
+ writable: false,
712
+ value: source
713
+ });
714
+ if (Object.freeze) {
715
+ Object.freeze(element.props);
716
+ Object.freeze(element);
717
+ }
718
+ }
719
+ return element;
720
+ };
721
+ function jsxDEV(type, config2, maybeKey, source, self2) {
722
+ {
723
+ var propName;
724
+ var props = {};
725
+ var key = null;
726
+ var ref = null;
727
+ if (maybeKey !== void 0) {
728
+ {
729
+ checkKeyStringCoercion(maybeKey);
730
+ }
731
+ key = "" + maybeKey;
732
+ }
733
+ if (hasValidKey(config2)) {
734
+ {
735
+ checkKeyStringCoercion(config2.key);
736
+ }
737
+ key = "" + config2.key;
738
+ }
739
+ if (hasValidRef(config2)) {
740
+ ref = config2.ref;
741
+ warnIfStringRefCannotBeAutoConverted(config2, self2);
742
+ }
743
+ for (propName in config2) {
744
+ if (hasOwnProperty2.call(config2, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
745
+ props[propName] = config2[propName];
746
+ }
747
+ }
748
+ if (type && type.defaultProps) {
749
+ var defaultProps2 = type.defaultProps;
750
+ for (propName in defaultProps2) {
751
+ if (props[propName] === void 0) {
752
+ props[propName] = defaultProps2[propName];
753
+ }
754
+ }
755
+ }
756
+ if (key || ref) {
757
+ var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
758
+ if (key) {
759
+ defineKeyPropWarningGetter(props, displayName);
760
+ }
761
+ if (ref) {
762
+ defineRefPropWarningGetter(props, displayName);
763
+ }
764
+ }
765
+ return ReactElement(type, key, ref, self2, source, ReactCurrentOwner.current, props);
766
+ }
767
+ }
768
+ var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
769
+ var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
770
+ function setCurrentlyValidatingElement$1(element) {
771
+ {
772
+ if (element) {
773
+ var owner = element._owner;
774
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
775
+ ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
776
+ } else {
777
+ ReactDebugCurrentFrame$1.setExtraStackFrame(null);
778
+ }
779
+ }
780
+ }
781
+ var propTypesMisspellWarningShown;
782
+ {
783
+ propTypesMisspellWarningShown = false;
784
+ }
785
+ function isValidElement(object) {
786
+ {
787
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
788
+ }
789
+ }
790
+ function getDeclarationErrorAddendum() {
791
+ {
792
+ if (ReactCurrentOwner$1.current) {
793
+ var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
794
+ if (name) {
795
+ return "\n\nCheck the render method of `" + name + "`.";
796
+ }
797
+ }
798
+ return "";
799
+ }
800
+ }
801
+ function getSourceInfoErrorAddendum(source) {
802
+ {
803
+ return "";
804
+ }
805
+ }
806
+ var ownerHasKeyUseWarning = {};
807
+ function getCurrentComponentErrorInfo(parentType) {
808
+ {
809
+ var info = getDeclarationErrorAddendum();
810
+ if (!info) {
811
+ var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
812
+ if (parentName) {
813
+ info = "\n\nCheck the top-level render call using <" + parentName + ">.";
814
+ }
815
+ }
816
+ return info;
817
+ }
818
+ }
819
+ function validateExplicitKey(element, parentType) {
820
+ {
821
+ if (!element._store || element._store.validated || element.key != null) {
822
+ return;
823
+ }
824
+ element._store.validated = true;
825
+ var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
826
+ if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
827
+ return;
828
+ }
829
+ ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
830
+ var childOwner = "";
831
+ if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
832
+ childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
833
+ }
834
+ setCurrentlyValidatingElement$1(element);
835
+ 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);
836
+ setCurrentlyValidatingElement$1(null);
837
+ }
838
+ }
839
+ function validateChildKeys(node, parentType) {
840
+ {
841
+ if (typeof node !== "object") {
842
+ return;
843
+ }
844
+ if (isArray2(node)) {
845
+ for (var i = 0; i < node.length; i++) {
846
+ var child = node[i];
847
+ if (isValidElement(child)) {
848
+ validateExplicitKey(child, parentType);
849
+ }
850
+ }
851
+ } else if (isValidElement(node)) {
852
+ if (node._store) {
853
+ node._store.validated = true;
854
+ }
855
+ } else if (node) {
856
+ var iteratorFn = getIteratorFn(node);
857
+ if (typeof iteratorFn === "function") {
858
+ if (iteratorFn !== node.entries) {
859
+ var iterator = iteratorFn.call(node);
860
+ var step;
861
+ while (!(step = iterator.next()).done) {
862
+ if (isValidElement(step.value)) {
863
+ validateExplicitKey(step.value, parentType);
864
+ }
865
+ }
866
+ }
867
+ }
868
+ }
869
+ }
870
+ }
871
+ function validatePropTypes(element) {
872
+ {
873
+ var type = element.type;
874
+ if (type === null || type === void 0 || typeof type === "string") {
875
+ return;
876
+ }
877
+ var propTypes2;
878
+ if (typeof type === "function") {
879
+ propTypes2 = type.propTypes;
880
+ } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
881
+ // Inner props are checked in the reconciler.
882
+ type.$$typeof === REACT_MEMO_TYPE)) {
883
+ propTypes2 = type.propTypes;
884
+ } else {
885
+ return;
886
+ }
887
+ if (propTypes2) {
888
+ var name = getComponentNameFromType(type);
889
+ checkPropTypes(propTypes2, element.props, "prop", name, element);
890
+ } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
891
+ propTypesMisspellWarningShown = true;
892
+ var _name = getComponentNameFromType(type);
893
+ error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
894
+ }
895
+ if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
896
+ error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
897
+ }
898
+ }
899
+ }
900
+ function validateFragmentProps(fragment) {
901
+ {
902
+ var keys = Object.keys(fragment.props);
903
+ for (var i = 0; i < keys.length; i++) {
904
+ var key = keys[i];
905
+ if (key !== "children" && key !== "key") {
906
+ setCurrentlyValidatingElement$1(fragment);
907
+ error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
908
+ setCurrentlyValidatingElement$1(null);
909
+ break;
910
+ }
911
+ }
912
+ if (fragment.ref !== null) {
913
+ setCurrentlyValidatingElement$1(fragment);
914
+ error("Invalid attribute `ref` supplied to `React.Fragment`.");
915
+ setCurrentlyValidatingElement$1(null);
916
+ }
917
+ }
918
+ }
919
+ var didWarnAboutKeySpread = {};
920
+ function jsxWithValidation(type, props, key, isStaticChildren, source, self2) {
921
+ {
922
+ var validType = isValidElementType(type);
923
+ if (!validType) {
924
+ var info = "";
925
+ if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
926
+ 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.";
927
+ }
928
+ var sourceInfo = getSourceInfoErrorAddendum();
929
+ if (sourceInfo) {
930
+ info += sourceInfo;
931
+ } else {
932
+ info += getDeclarationErrorAddendum();
933
+ }
934
+ var typeString;
935
+ if (type === null) {
936
+ typeString = "null";
937
+ } else if (isArray2(type)) {
938
+ typeString = "array";
939
+ } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
940
+ typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
941
+ info = " Did you accidentally export a JSX literal instead of a component?";
942
+ } else {
943
+ typeString = typeof type;
944
+ }
945
+ 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);
946
+ }
947
+ var element = jsxDEV(type, props, key, source, self2);
948
+ if (element == null) {
949
+ return element;
950
+ }
951
+ if (validType) {
952
+ var children = props.children;
953
+ if (children !== void 0) {
954
+ if (isStaticChildren) {
955
+ if (isArray2(children)) {
956
+ for (var i = 0; i < children.length; i++) {
957
+ validateChildKeys(children[i], type);
958
+ }
959
+ if (Object.freeze) {
960
+ Object.freeze(children);
961
+ }
962
+ } else {
963
+ 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.");
964
+ }
965
+ } else {
966
+ validateChildKeys(children, type);
967
+ }
968
+ }
969
+ }
970
+ {
971
+ if (hasOwnProperty2.call(props, "key")) {
972
+ var componentName = getComponentNameFromType(type);
973
+ var keys = Object.keys(props).filter(function(k) {
974
+ return k !== "key";
975
+ });
976
+ var beforeExample = keys.length > 0 ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
977
+ if (!didWarnAboutKeySpread[componentName + beforeExample]) {
978
+ var afterExample = keys.length > 0 ? "{" + keys.join(": ..., ") + ": ...}" : "{}";
979
+ error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);
980
+ didWarnAboutKeySpread[componentName + beforeExample] = true;
981
+ }
982
+ }
983
+ }
984
+ if (type === REACT_FRAGMENT_TYPE) {
985
+ validateFragmentProps(element);
986
+ } else {
987
+ validatePropTypes(element);
988
+ }
989
+ return element;
990
+ }
991
+ }
992
+ function jsxWithValidationStatic(type, props, key) {
993
+ {
994
+ return jsxWithValidation(type, props, key, true);
995
+ }
996
+ }
997
+ function jsxWithValidationDynamic(type, props, key) {
998
+ {
999
+ return jsxWithValidation(type, props, key, false);
1000
+ }
1001
+ }
1002
+ var jsx = jsxWithValidationDynamic;
1003
+ var jsxs = jsxWithValidationStatic;
1004
+ reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
1005
+ reactJsxRuntime_development.jsx = jsx;
1006
+ reactJsxRuntime_development.jsxs = jsxs;
1007
+ })();
1008
+ }
398
1009
  return reactJsxRuntime_development;
399
1010
  }
400
1011
  if (process.env.NODE_ENV === "production") {
401
- jsxRuntime.exports = requireReactJsxRuntime_production();
1012
+ jsxRuntime.exports = requireReactJsxRuntime_production_min();
402
1013
  } else {
403
1014
  jsxRuntime.exports = requireReactJsxRuntime_development();
404
1015
  }