itrm-components 1.0.3 → 1.0.6

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