react-data-matrix 0.3.6 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { FC } from "react";
2
- import { MatrixHeaderProps } from "../types";
1
+ import { FC } from 'react';
2
+ import { MatrixHeaderProps } from '../types';
3
3
  declare const MatrixHeaders: FC<MatrixHeaderProps>;
4
4
  export default MatrixHeaders;
@@ -1,4 +1,4 @@
1
- import { FC } from "react";
2
- import { MatrixRowsProps } from "../types";
1
+ import { FC } from 'react';
2
+ import { MatrixRowsProps } from '../types';
3
3
  declare const MatrixRows: FC<MatrixRowsProps>;
4
4
  export default MatrixRows;
@@ -1,4 +1,4 @@
1
- import { FC } from "react";
2
- import { TableDataProps } from "../types";
1
+ import { FC } from 'react';
2
+ import { TableDataProps } from '../types';
3
3
  declare const TableData: FC<TableDataProps>;
4
4
  export default TableData;
@@ -0,0 +1,2 @@
1
+ export * from ".";
2
+ export * from "./index";
@@ -33,8 +33,6 @@ export interface MatrixData {
33
33
  }
34
34
  export interface ReactMatrixProps {
35
35
  data: MatrixData;
36
- matrixName: string;
37
- matrixDescription: string;
38
36
  hasTableBorder?: boolean;
39
37
  hasInlineStyles?: boolean | undefined;
40
38
  hasContainerStyles?: boolean | undefined;
@@ -1,2 +1,2 @@
1
- import { MatrixData } from "../types";
1
+ import { MatrixData } from '../types';
2
2
  export declare const data: MatrixData;
@@ -0,0 +1,4 @@
1
+ export declare const groupObjectsByProp: <T>(array: T[], prop: keyof T) => T[][];
2
+ export declare const capitaliseFirstCharacter: (stringValue: string) => string;
3
+ export declare const capitaliseString: (stringValue: string) => string;
4
+ export declare const callAll: <T extends (...args: never[]) => void>(...fns: T[]) => (...args: Parameters<T>) => void;
@@ -0,0 +1,7 @@
1
+ {
2
+ "lib/index.d.ts": {
3
+ "file": "react-data-matrix.umd.js",
4
+ "isEntry": true,
5
+ "src": "lib/index.d.ts"
6
+ }
7
+ }
@@ -0,0 +1,627 @@
1
+ import Te from "react";
2
+ var x = {};
3
+ /**
4
+ * @license React
5
+ * react-jsx-runtime.production.min.js
6
+ *
7
+ * Copyright (c) Facebook, Inc. and its affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var me;
13
+ function ir() {
14
+ if (me)
15
+ return x;
16
+ me = 1;
17
+ var N = Te, P = Symbol.for("react.element"), V = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, D = N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, F = { key: !0, ref: !0, __self: !0, __source: !0 };
18
+ function S(h, l, R) {
19
+ var d, g = {}, _ = null, A = null;
20
+ R !== void 0 && (_ = "" + R), l.key !== void 0 && (_ = "" + l.key), l.ref !== void 0 && (A = l.ref);
21
+ for (d in l)
22
+ m.call(l, d) && !F.hasOwnProperty(d) && (g[d] = l[d]);
23
+ if (h && h.defaultProps)
24
+ for (d in l = h.defaultProps, l)
25
+ g[d] === void 0 && (g[d] = l[d]);
26
+ return { $$typeof: P, type: h, key: _, ref: A, props: g, _owner: D.current };
27
+ }
28
+ return x.Fragment = V, x.jsx = S, x.jsxs = S, x;
29
+ }
30
+ var k = {};
31
+ /**
32
+ * @license React
33
+ * react-jsx-runtime.development.js
34
+ *
35
+ * Copyright (c) Facebook, Inc. and its affiliates.
36
+ *
37
+ * This source code is licensed under the MIT license found in the
38
+ * LICENSE file in the root directory of this source tree.
39
+ */
40
+ var Re;
41
+ function or() {
42
+ return Re || (Re = 1, process.env.NODE_ENV !== "production" && function() {
43
+ var N = Te, P = Symbol.for("react.element"), V = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), D = Symbol.for("react.strict_mode"), F = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), h = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), H = Symbol.iterator, Oe = "@@iterator";
44
+ function Ce(e) {
45
+ if (e === null || typeof e != "object")
46
+ return null;
47
+ var r = H && e[H] || e[Oe];
48
+ return typeof r == "function" ? r : null;
49
+ }
50
+ var T = N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
+ function c(e) {
52
+ {
53
+ for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
54
+ t[n - 1] = arguments[n];
55
+ Pe("error", e, t);
56
+ }
57
+ }
58
+ function Pe(e, r, t) {
59
+ {
60
+ var n = T.ReactDebugCurrentFrame, o = n.getStackAddendum();
61
+ o !== "" && (r += "%s", t = t.concat([o]));
62
+ var u = t.map(function(i) {
63
+ return String(i);
64
+ });
65
+ u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
66
+ }
67
+ }
68
+ var Se = !1, we = !1, je = !1, xe = !1, ke = !1, X;
69
+ X = Symbol.for("react.module.reference");
70
+ function De(e) {
71
+ return !!(typeof e == "string" || typeof e == "function" || e === m || e === F || ke || e === D || e === R || e === d || xe || e === A || Se || we || je || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === g || e.$$typeof === S || e.$$typeof === h || e.$$typeof === l || // This needs to include all possible module reference object
72
+ // types supported by any Flight configuration anywhere since
73
+ // we don't know which Flight build this will end up being used
74
+ // with.
75
+ e.$$typeof === X || e.getModuleId !== void 0));
76
+ }
77
+ function Fe(e, r, t) {
78
+ var n = e.displayName;
79
+ if (n)
80
+ return n;
81
+ var o = r.displayName || r.name || "";
82
+ return o !== "" ? t + "(" + o + ")" : t;
83
+ }
84
+ function Z(e) {
85
+ return e.displayName || "Context";
86
+ }
87
+ function b(e) {
88
+ if (e == null)
89
+ return null;
90
+ if (typeof e.tag == "number" && c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
91
+ return e.displayName || e.name || null;
92
+ if (typeof e == "string")
93
+ return e;
94
+ switch (e) {
95
+ case m:
96
+ return "Fragment";
97
+ case V:
98
+ return "Portal";
99
+ case F:
100
+ return "Profiler";
101
+ case D:
102
+ return "StrictMode";
103
+ case R:
104
+ return "Suspense";
105
+ case d:
106
+ return "SuspenseList";
107
+ }
108
+ if (typeof e == "object")
109
+ switch (e.$$typeof) {
110
+ case h:
111
+ var r = e;
112
+ return Z(r) + ".Consumer";
113
+ case S:
114
+ var t = e;
115
+ return Z(t._context) + ".Provider";
116
+ case l:
117
+ return Fe(e, e.render, "ForwardRef");
118
+ case g:
119
+ var n = e.displayName || null;
120
+ return n !== null ? n : b(e.type) || "Memo";
121
+ case _: {
122
+ var o = e, u = o._payload, i = o._init;
123
+ try {
124
+ return b(i(u));
125
+ } catch {
126
+ return null;
127
+ }
128
+ }
129
+ }
130
+ return null;
131
+ }
132
+ var y = Object.assign, w = 0, Q, ee, re, te, ne, ae, ie;
133
+ function oe() {
134
+ }
135
+ oe.__reactDisabledLog = !0;
136
+ function Ae() {
137
+ {
138
+ if (w === 0) {
139
+ Q = console.log, ee = console.info, re = console.warn, te = console.error, ne = console.group, ae = console.groupCollapsed, ie = console.groupEnd;
140
+ var e = {
141
+ configurable: !0,
142
+ enumerable: !0,
143
+ value: oe,
144
+ writable: !0
145
+ };
146
+ Object.defineProperties(console, {
147
+ info: e,
148
+ log: e,
149
+ warn: e,
150
+ error: e,
151
+ group: e,
152
+ groupCollapsed: e,
153
+ groupEnd: e
154
+ });
155
+ }
156
+ w++;
157
+ }
158
+ }
159
+ function Ie() {
160
+ {
161
+ if (w--, w === 0) {
162
+ var e = {
163
+ configurable: !0,
164
+ enumerable: !0,
165
+ writable: !0
166
+ };
167
+ Object.defineProperties(console, {
168
+ log: y({}, e, {
169
+ value: Q
170
+ }),
171
+ info: y({}, e, {
172
+ value: ee
173
+ }),
174
+ warn: y({}, e, {
175
+ value: re
176
+ }),
177
+ error: y({}, e, {
178
+ value: te
179
+ }),
180
+ group: y({}, e, {
181
+ value: ne
182
+ }),
183
+ groupCollapsed: y({}, e, {
184
+ value: ae
185
+ }),
186
+ groupEnd: y({}, e, {
187
+ value: ie
188
+ })
189
+ });
190
+ }
191
+ w < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
+ }
193
+ }
194
+ var M = T.ReactCurrentDispatcher, U;
195
+ function I(e, r, t) {
196
+ {
197
+ if (U === void 0)
198
+ try {
199
+ throw Error();
200
+ } catch (o) {
201
+ var n = o.stack.trim().match(/\n( *(at )?)/);
202
+ U = n && n[1] || "";
203
+ }
204
+ return `
205
+ ` + U + e;
206
+ }
207
+ }
208
+ var B = !1, $;
209
+ {
210
+ var $e = typeof WeakMap == "function" ? WeakMap : Map;
211
+ $ = new $e();
212
+ }
213
+ function ue(e, r) {
214
+ if (!e || B)
215
+ return "";
216
+ {
217
+ var t = $.get(e);
218
+ if (t !== void 0)
219
+ return t;
220
+ }
221
+ var n;
222
+ B = !0;
223
+ var o = Error.prepareStackTrace;
224
+ Error.prepareStackTrace = void 0;
225
+ var u;
226
+ u = M.current, M.current = null, Ae();
227
+ try {
228
+ if (r) {
229
+ var i = function() {
230
+ throw Error();
231
+ };
232
+ if (Object.defineProperty(i.prototype, "props", {
233
+ set: function() {
234
+ throw Error();
235
+ }
236
+ }), typeof Reflect == "object" && Reflect.construct) {
237
+ try {
238
+ Reflect.construct(i, []);
239
+ } catch (E) {
240
+ n = E;
241
+ }
242
+ Reflect.construct(e, [], i);
243
+ } else {
244
+ try {
245
+ i.call();
246
+ } catch (E) {
247
+ n = E;
248
+ }
249
+ e.call(i.prototype);
250
+ }
251
+ } else {
252
+ try {
253
+ throw Error();
254
+ } catch (E) {
255
+ n = E;
256
+ }
257
+ e();
258
+ }
259
+ } catch (E) {
260
+ if (E && n && typeof E.stack == "string") {
261
+ for (var a = E.stack.split(`
262
+ `), v = n.stack.split(`
263
+ `), s = a.length - 1, f = v.length - 1; s >= 1 && f >= 0 && a[s] !== v[f]; )
264
+ f--;
265
+ for (; s >= 1 && f >= 0; s--, f--)
266
+ if (a[s] !== v[f]) {
267
+ if (s !== 1 || f !== 1)
268
+ do
269
+ if (s--, f--, f < 0 || a[s] !== v[f]) {
270
+ var p = `
271
+ ` + a[s].replace(" at new ", " at ");
272
+ return e.displayName && p.includes("<anonymous>") && (p = p.replace("<anonymous>", e.displayName)), typeof e == "function" && $.set(e, p), p;
273
+ }
274
+ while (s >= 1 && f >= 0);
275
+ break;
276
+ }
277
+ }
278
+ } finally {
279
+ B = !1, M.current = u, Ie(), Error.prepareStackTrace = o;
280
+ }
281
+ var C = e ? e.displayName || e.name : "", ye = C ? I(C) : "";
282
+ return typeof e == "function" && $.set(e, ye), ye;
283
+ }
284
+ function We(e, r, t) {
285
+ return ue(e, !1);
286
+ }
287
+ function Ye(e) {
288
+ var r = e.prototype;
289
+ return !!(r && r.isReactComponent);
290
+ }
291
+ function W(e, r, t) {
292
+ if (e == null)
293
+ return "";
294
+ if (typeof e == "function")
295
+ return ue(e, Ye(e));
296
+ if (typeof e == "string")
297
+ return I(e);
298
+ switch (e) {
299
+ case R:
300
+ return I("Suspense");
301
+ case d:
302
+ return I("SuspenseList");
303
+ }
304
+ if (typeof e == "object")
305
+ switch (e.$$typeof) {
306
+ case l:
307
+ return We(e.render);
308
+ case g:
309
+ return W(e.type, r, t);
310
+ case _: {
311
+ var n = e, o = n._payload, u = n._init;
312
+ try {
313
+ return W(u(o), r, t);
314
+ } catch {
315
+ }
316
+ }
317
+ }
318
+ return "";
319
+ }
320
+ var Y = Object.prototype.hasOwnProperty, se = {}, fe = T.ReactDebugCurrentFrame;
321
+ function L(e) {
322
+ if (e) {
323
+ var r = e._owner, t = W(e.type, e._source, r ? r.type : null);
324
+ fe.setExtraStackFrame(t);
325
+ } else
326
+ fe.setExtraStackFrame(null);
327
+ }
328
+ function Le(e, r, t, n, o) {
329
+ {
330
+ var u = Function.call.bind(Y);
331
+ for (var i in e)
332
+ if (u(e, i)) {
333
+ var a = void 0;
334
+ try {
335
+ if (typeof e[i] != "function") {
336
+ var v = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ throw v.name = "Invariant Violation", v;
338
+ }
339
+ a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
+ } catch (s) {
341
+ a = s;
342
+ }
343
+ a && !(a instanceof Error) && (L(o), c("%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).", n || "React class", t, i, typeof a), L(null)), a instanceof Error && !(a.message in se) && (se[a.message] = !0, L(o), c("Failed %s type: %s", t, a.message), L(null));
344
+ }
345
+ }
346
+ }
347
+ var Ne = Array.isArray;
348
+ function q(e) {
349
+ return Ne(e);
350
+ }
351
+ function Ve(e) {
352
+ {
353
+ var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
354
+ return t;
355
+ }
356
+ }
357
+ function Me(e) {
358
+ try {
359
+ return le(e), !1;
360
+ } catch {
361
+ return !0;
362
+ }
363
+ }
364
+ function le(e) {
365
+ return "" + e;
366
+ }
367
+ function ce(e) {
368
+ if (Me(e))
369
+ return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(e)), le(e);
370
+ }
371
+ var j = T.ReactCurrentOwner, Ue = {
372
+ key: !0,
373
+ ref: !0,
374
+ __self: !0,
375
+ __source: !0
376
+ }, ve, de, J;
377
+ J = {};
378
+ function Be(e) {
379
+ if (Y.call(e, "ref")) {
380
+ var r = Object.getOwnPropertyDescriptor(e, "ref").get;
381
+ if (r && r.isReactWarning)
382
+ return !1;
383
+ }
384
+ return e.ref !== void 0;
385
+ }
386
+ function qe(e) {
387
+ if (Y.call(e, "key")) {
388
+ var r = Object.getOwnPropertyDescriptor(e, "key").get;
389
+ if (r && r.isReactWarning)
390
+ return !1;
391
+ }
392
+ return e.key !== void 0;
393
+ }
394
+ function Je(e, r) {
395
+ if (typeof e.ref == "string" && j.current && r && j.current.stateNode !== r) {
396
+ var t = b(j.current.type);
397
+ J[t] || (c('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', b(j.current.type), e.ref), J[t] = !0);
398
+ }
399
+ }
400
+ function Ge(e, r) {
401
+ {
402
+ var t = function() {
403
+ ve || (ve = !0, c("%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)", r));
404
+ };
405
+ t.isReactWarning = !0, Object.defineProperty(e, "key", {
406
+ get: t,
407
+ configurable: !0
408
+ });
409
+ }
410
+ }
411
+ function ze(e, r) {
412
+ {
413
+ var t = function() {
414
+ de || (de = !0, c("%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)", r));
415
+ };
416
+ t.isReactWarning = !0, Object.defineProperty(e, "ref", {
417
+ get: t,
418
+ configurable: !0
419
+ });
420
+ }
421
+ }
422
+ var Ke = function(e, r, t, n, o, u, i) {
423
+ var a = {
424
+ // This tag allows us to uniquely identify this as a React Element
425
+ $$typeof: P,
426
+ // Built-in properties that belong on the element
427
+ type: e,
428
+ key: r,
429
+ ref: t,
430
+ props: i,
431
+ // Record the component responsible for creating this element.
432
+ _owner: u
433
+ };
434
+ return a._store = {}, Object.defineProperty(a._store, "validated", {
435
+ configurable: !1,
436
+ enumerable: !1,
437
+ writable: !0,
438
+ value: !1
439
+ }), Object.defineProperty(a, "_self", {
440
+ configurable: !1,
441
+ enumerable: !1,
442
+ writable: !1,
443
+ value: n
444
+ }), Object.defineProperty(a, "_source", {
445
+ configurable: !1,
446
+ enumerable: !1,
447
+ writable: !1,
448
+ value: o
449
+ }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
450
+ };
451
+ function He(e, r, t, n, o) {
452
+ {
453
+ var u, i = {}, a = null, v = null;
454
+ t !== void 0 && (ce(t), a = "" + t), qe(r) && (ce(r.key), a = "" + r.key), Be(r) && (v = r.ref, Je(r, o));
455
+ for (u in r)
456
+ Y.call(r, u) && !Ue.hasOwnProperty(u) && (i[u] = r[u]);
457
+ if (e && e.defaultProps) {
458
+ var s = e.defaultProps;
459
+ for (u in s)
460
+ i[u] === void 0 && (i[u] = s[u]);
461
+ }
462
+ if (a || v) {
463
+ var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
+ a && Ge(i, f), v && ze(i, f);
465
+ }
466
+ return Ke(e, a, v, o, n, j.current, i);
467
+ }
468
+ }
469
+ var G = T.ReactCurrentOwner, pe = T.ReactDebugCurrentFrame;
470
+ function O(e) {
471
+ if (e) {
472
+ var r = e._owner, t = W(e.type, e._source, r ? r.type : null);
473
+ pe.setExtraStackFrame(t);
474
+ } else
475
+ pe.setExtraStackFrame(null);
476
+ }
477
+ var z;
478
+ z = !1;
479
+ function K(e) {
480
+ return typeof e == "object" && e !== null && e.$$typeof === P;
481
+ }
482
+ function ge() {
483
+ {
484
+ if (G.current) {
485
+ var e = b(G.current.type);
486
+ if (e)
487
+ return `
488
+
489
+ Check the render method of \`` + e + "`.";
490
+ }
491
+ return "";
492
+ }
493
+ }
494
+ function Xe(e) {
495
+ {
496
+ if (e !== void 0) {
497
+ var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
498
+ return `
499
+
500
+ Check your code at ` + r + ":" + t + ".";
501
+ }
502
+ return "";
503
+ }
504
+ }
505
+ var be = {};
506
+ function Ze(e) {
507
+ {
508
+ var r = ge();
509
+ if (!r) {
510
+ var t = typeof e == "string" ? e : e.displayName || e.name;
511
+ t && (r = `
512
+
513
+ Check the top-level render call using <` + t + ">.");
514
+ }
515
+ return r;
516
+ }
517
+ }
518
+ function Ee(e, r) {
519
+ {
520
+ if (!e._store || e._store.validated || e.key != null)
521
+ return;
522
+ e._store.validated = !0;
523
+ var t = Ze(r);
524
+ if (be[t])
525
+ return;
526
+ be[t] = !0;
527
+ var n = "";
528
+ e && e._owner && e._owner !== G.current && (n = " It was passed a child from " + b(e._owner.type) + "."), O(e), c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), O(null);
529
+ }
530
+ }
531
+ function he(e, r) {
532
+ {
533
+ if (typeof e != "object")
534
+ return;
535
+ if (q(e))
536
+ for (var t = 0; t < e.length; t++) {
537
+ var n = e[t];
538
+ K(n) && Ee(n, r);
539
+ }
540
+ else if (K(e))
541
+ e._store && (e._store.validated = !0);
542
+ else if (e) {
543
+ var o = Ce(e);
544
+ if (typeof o == "function" && o !== e.entries)
545
+ for (var u = o.call(e), i; !(i = u.next()).done; )
546
+ K(i.value) && Ee(i.value, r);
547
+ }
548
+ }
549
+ }
550
+ function Qe(e) {
551
+ {
552
+ var r = e.type;
553
+ if (r == null || typeof r == "string")
554
+ return;
555
+ var t;
556
+ if (typeof r == "function")
557
+ t = r.propTypes;
558
+ else if (typeof r == "object" && (r.$$typeof === l || // Note: Memo only checks outer props here.
559
+ // Inner props are checked in the reconciler.
560
+ r.$$typeof === g))
561
+ t = r.propTypes;
562
+ else
563
+ return;
564
+ if (t) {
565
+ var n = b(r);
566
+ Le(t, e.props, "prop", n, e);
567
+ } else if (r.PropTypes !== void 0 && !z) {
568
+ z = !0;
569
+ var o = b(r);
570
+ c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
571
+ }
572
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
573
+ }
574
+ }
575
+ function er(e) {
576
+ {
577
+ for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
578
+ var n = r[t];
579
+ if (n !== "children" && n !== "key") {
580
+ O(e), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), O(null);
581
+ break;
582
+ }
583
+ }
584
+ e.ref !== null && (O(e), c("Invalid attribute `ref` supplied to `React.Fragment`."), O(null));
585
+ }
586
+ }
587
+ function _e(e, r, t, n, o, u) {
588
+ {
589
+ var i = De(e);
590
+ if (!i) {
591
+ var a = "";
592
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
593
+ var v = Xe(o);
594
+ v ? a += v : a += ge();
595
+ var s;
596
+ e === null ? s = "null" : q(e) ? s = "array" : e !== void 0 && e.$$typeof === P ? (s = "<" + (b(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
597
+ }
598
+ var f = He(e, r, t, o, u);
599
+ if (f == null)
600
+ return f;
601
+ if (i) {
602
+ var p = r.children;
603
+ if (p !== void 0)
604
+ if (n)
605
+ if (q(p)) {
606
+ for (var C = 0; C < p.length; C++)
607
+ he(p[C], e);
608
+ Object.freeze && Object.freeze(p);
609
+ } else
610
+ c("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
611
+ else
612
+ he(p, e);
613
+ }
614
+ return e === m ? er(f) : Qe(f), f;
615
+ }
616
+ }
617
+ function rr(e, r, t) {
618
+ return _e(e, r, t, !0);
619
+ }
620
+ function tr(e, r, t) {
621
+ return _e(e, r, t, !1);
622
+ }
623
+ var nr = tr, ar = rr;
624
+ k.Fragment = m, k.jsx = nr, k.jsxs = ar;
625
+ }()), k;
626
+ }
627
+ process.env.NODE_ENV === "production" ? ir() : or();