@yungu-fed/componentlibrary 0.0.1 → 0.0.2
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 +4 -0
- package/dist/index.es.js +124 -124
- package/dist/index.umd.js +8 -8
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
var de = { exports: {} },
|
|
1
|
+
import Ye, { useState as Le, useRef as We, useEffect as ce } from "react";
|
|
2
|
+
var de = { exports: {} }, N = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.min.js
|
|
@@ -9,21 +9,21 @@ var de = { exports: {} }, V = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
12
|
+
var qe;
|
|
13
13
|
function hr() {
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
var A =
|
|
17
|
-
function
|
|
14
|
+
if (qe) return N;
|
|
15
|
+
qe = 1;
|
|
16
|
+
var A = Ye, w = Symbol.for("react.element"), k = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, m = A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, x = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
+
function j(O, v, y) {
|
|
18
18
|
var h, C = {}, D = null, F = null;
|
|
19
19
|
y !== void 0 && (D = "" + y), v.key !== void 0 && (D = "" + v.key), v.ref !== void 0 && (F = v.ref);
|
|
20
|
-
for (h in v) d.call(v, h) && !
|
|
21
|
-
if (
|
|
22
|
-
return { $$typeof: w, type:
|
|
20
|
+
for (h in v) d.call(v, h) && !x.hasOwnProperty(h) && (C[h] = v[h]);
|
|
21
|
+
if (O && O.defaultProps) for (h in v = O.defaultProps, v) C[h] === void 0 && (C[h] = v[h]);
|
|
22
|
+
return { $$typeof: w, type: O, key: D, ref: F, props: C, _owner: m.current };
|
|
23
23
|
}
|
|
24
|
-
return
|
|
24
|
+
return N.Fragment = k, N.jsx = j, N.jsxs = j, N;
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var V = {};
|
|
27
27
|
/**
|
|
28
28
|
* @license React
|
|
29
29
|
* react-jsx-runtime.development.js
|
|
@@ -33,14 +33,14 @@ var U = {};
|
|
|
33
33
|
* This source code is licensed under the MIT license found in the
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
35
|
*/
|
|
36
|
-
var
|
|
36
|
+
var Me;
|
|
37
37
|
function _r() {
|
|
38
|
-
return
|
|
39
|
-
var A =
|
|
40
|
-
function
|
|
38
|
+
return Me || (Me = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
+
var A = Ye, w = Symbol.for("react.element"), k = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), O = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), $ = Symbol.iterator, z = "@@iterator";
|
|
40
|
+
function P(e) {
|
|
41
41
|
if (e === null || typeof e != "object")
|
|
42
42
|
return null;
|
|
43
|
-
var r = $ && e[$] || e[
|
|
43
|
+
var r = $ && e[$] || e[z];
|
|
44
44
|
return typeof r == "function" ? r : null;
|
|
45
45
|
}
|
|
46
46
|
var R = A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -64,7 +64,7 @@ function _r() {
|
|
|
64
64
|
var Z = !1, Q = !1, ee = !1, re = !1, a = !1, l;
|
|
65
65
|
l = Symbol.for("react.module.reference");
|
|
66
66
|
function _(e) {
|
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e ===
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || a || e === m || e === y || e === h || re || e === F || Z || Q || ee || typeof e == "object" && e !== null && (e.$$typeof === D || e.$$typeof === C || e.$$typeof === j || e.$$typeof === O || e.$$typeof === v || // This needs to include all possible module reference object
|
|
68
68
|
// types supported by any Flight configuration anywhere since
|
|
69
69
|
// we don't know which Flight build this will end up being used
|
|
70
70
|
// with.
|
|
@@ -77,10 +77,10 @@ function _r() {
|
|
|
77
77
|
var s = r.displayName || r.name || "";
|
|
78
78
|
return s !== "" ? t + "(" + s + ")" : t;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function M(e) {
|
|
81
81
|
return e.displayName || "Context";
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function S(e) {
|
|
84
84
|
if (e == null)
|
|
85
85
|
return null;
|
|
86
86
|
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -90,9 +90,9 @@ function _r() {
|
|
|
90
90
|
switch (e) {
|
|
91
91
|
case d:
|
|
92
92
|
return "Fragment";
|
|
93
|
-
case
|
|
93
|
+
case k:
|
|
94
94
|
return "Portal";
|
|
95
|
-
case
|
|
95
|
+
case x:
|
|
96
96
|
return "Profiler";
|
|
97
97
|
case m:
|
|
98
98
|
return "StrictMode";
|
|
@@ -103,21 +103,21 @@ function _r() {
|
|
|
103
103
|
}
|
|
104
104
|
if (typeof e == "object")
|
|
105
105
|
switch (e.$$typeof) {
|
|
106
|
-
case
|
|
106
|
+
case O:
|
|
107
107
|
var r = e;
|
|
108
|
-
return
|
|
109
|
-
case
|
|
108
|
+
return M(r) + ".Consumer";
|
|
109
|
+
case j:
|
|
110
110
|
var t = e;
|
|
111
|
-
return
|
|
111
|
+
return M(t._context) + ".Provider";
|
|
112
112
|
case v:
|
|
113
113
|
return g(e, e.render, "ForwardRef");
|
|
114
114
|
case C:
|
|
115
115
|
var n = e.displayName || null;
|
|
116
|
-
return n !== null ? n :
|
|
116
|
+
return n !== null ? n : S(e.type) || "Memo";
|
|
117
117
|
case D: {
|
|
118
118
|
var s = e, u = s._payload, i = s._init;
|
|
119
119
|
try {
|
|
120
|
-
return
|
|
120
|
+
return S(i(u));
|
|
121
121
|
} catch {
|
|
122
122
|
return null;
|
|
123
123
|
}
|
|
@@ -125,13 +125,13 @@ function _r() {
|
|
|
125
125
|
}
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
|
-
var I = Object.assign,
|
|
128
|
+
var I = Object.assign, Y = 0, pe, he, _e, ge, ye, be, me;
|
|
129
129
|
function Ee() {
|
|
130
130
|
}
|
|
131
131
|
Ee.__reactDisabledLog = !0;
|
|
132
|
-
function
|
|
132
|
+
function Be() {
|
|
133
133
|
{
|
|
134
|
-
if (
|
|
134
|
+
if (Y === 0) {
|
|
135
135
|
pe = console.log, he = console.info, _e = console.warn, ge = console.error, ye = console.group, be = console.groupCollapsed, me = console.groupEnd;
|
|
136
136
|
var e = {
|
|
137
137
|
configurable: !0,
|
|
@@ -149,12 +149,12 @@ function _r() {
|
|
|
149
149
|
groupEnd: e
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
|
-
|
|
152
|
+
Y++;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Ne() {
|
|
156
156
|
{
|
|
157
|
-
if (
|
|
157
|
+
if (Y--, Y === 0) {
|
|
158
158
|
var e = {
|
|
159
159
|
configurable: !0,
|
|
160
160
|
enumerable: !0,
|
|
@@ -184,11 +184,11 @@ function _r() {
|
|
|
184
184
|
})
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
Y < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
var te = R.ReactCurrentDispatcher, ne;
|
|
191
|
-
function
|
|
191
|
+
function J(e, r, t) {
|
|
192
192
|
{
|
|
193
193
|
if (ne === void 0)
|
|
194
194
|
try {
|
|
@@ -201,16 +201,16 @@ function _r() {
|
|
|
201
201
|
` + ne + e;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
var ae = !1,
|
|
204
|
+
var ae = !1, K;
|
|
205
205
|
{
|
|
206
|
-
var
|
|
207
|
-
|
|
206
|
+
var Ve = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
K = new Ve();
|
|
208
208
|
}
|
|
209
209
|
function Re(e, r) {
|
|
210
210
|
if (!e || ae)
|
|
211
211
|
return "";
|
|
212
212
|
{
|
|
213
|
-
var t =
|
|
213
|
+
var t = K.get(e);
|
|
214
214
|
if (t !== void 0)
|
|
215
215
|
return t;
|
|
216
216
|
}
|
|
@@ -219,7 +219,7 @@ function _r() {
|
|
|
219
219
|
var s = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
221
|
var u;
|
|
222
|
-
u = te.current, te.current = null,
|
|
222
|
+
u = te.current, te.current = null, Be();
|
|
223
223
|
try {
|
|
224
224
|
if (r) {
|
|
225
225
|
var i = function() {
|
|
@@ -265,22 +265,22 @@ function _r() {
|
|
|
265
265
|
if (c--, f--, f < 0 || o[c] !== b[f]) {
|
|
266
266
|
var T = `
|
|
267
267
|
` + o[c].replace(" at new ", " at ");
|
|
268
|
-
return e.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
268
|
+
return e.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", e.displayName)), typeof e == "function" && K.set(e, T), T;
|
|
269
269
|
}
|
|
270
270
|
while (c >= 1 && f >= 0);
|
|
271
271
|
break;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
ae = !1, te.current = u,
|
|
275
|
+
ae = !1, te.current = u, Ne(), Error.prepareStackTrace = s;
|
|
276
276
|
}
|
|
277
|
-
var
|
|
278
|
-
return typeof e == "function" &&
|
|
277
|
+
var q = e ? e.displayName || e.name : "", L = q ? J(q) : "";
|
|
278
|
+
return typeof e == "function" && K.set(e, L), L;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function Ue(e, r, t) {
|
|
281
281
|
return Re(e, !1);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function ze(e) {
|
|
284
284
|
var r = e.prototype;
|
|
285
285
|
return !!(r && r.isReactComponent);
|
|
286
286
|
}
|
|
@@ -288,19 +288,19 @@ function _r() {
|
|
|
288
288
|
if (e == null)
|
|
289
289
|
return "";
|
|
290
290
|
if (typeof e == "function")
|
|
291
|
-
return Re(e,
|
|
291
|
+
return Re(e, ze(e));
|
|
292
292
|
if (typeof e == "string")
|
|
293
|
-
return
|
|
293
|
+
return J(e);
|
|
294
294
|
switch (e) {
|
|
295
295
|
case y:
|
|
296
|
-
return
|
|
296
|
+
return J("Suspense");
|
|
297
297
|
case h:
|
|
298
|
-
return
|
|
298
|
+
return J("SuspenseList");
|
|
299
299
|
}
|
|
300
300
|
if (typeof e == "object")
|
|
301
301
|
switch (e.$$typeof) {
|
|
302
302
|
case v:
|
|
303
|
-
return
|
|
303
|
+
return Ue(e.render);
|
|
304
304
|
case C:
|
|
305
305
|
return G(e.type, r, t);
|
|
306
306
|
case D: {
|
|
@@ -313,7 +313,7 @@ function _r() {
|
|
|
313
313
|
}
|
|
314
314
|
return "";
|
|
315
315
|
}
|
|
316
|
-
var
|
|
316
|
+
var B = Object.prototype.hasOwnProperty, we = {}, Ce = R.ReactDebugCurrentFrame;
|
|
317
317
|
function H(e) {
|
|
318
318
|
if (e) {
|
|
319
319
|
var r = e._owner, t = G(e.type, e._source, r ? r.type : null);
|
|
@@ -321,9 +321,9 @@ function _r() {
|
|
|
321
321
|
} else
|
|
322
322
|
Ce.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function Je(e, r, t, n, s) {
|
|
325
325
|
{
|
|
326
|
-
var u = Function.call.bind(
|
|
326
|
+
var u = Function.call.bind(B);
|
|
327
327
|
for (var i in e)
|
|
328
328
|
if (u(e, i)) {
|
|
329
329
|
var o = void 0;
|
|
@@ -340,9 +340,9 @@ function _r() {
|
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
var
|
|
343
|
+
var Ke = Array.isArray;
|
|
344
344
|
function oe(e) {
|
|
345
|
-
return
|
|
345
|
+
return Ke(e);
|
|
346
346
|
}
|
|
347
347
|
function Ge(e) {
|
|
348
348
|
{
|
|
@@ -360,18 +360,18 @@ function _r() {
|
|
|
360
360
|
function Te(e) {
|
|
361
361
|
return "" + e;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function ke(e) {
|
|
364
364
|
if (He(e))
|
|
365
365
|
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ge(e)), Te(e);
|
|
366
366
|
}
|
|
367
|
-
var
|
|
367
|
+
var Oe = R.ReactCurrentOwner, Xe = {
|
|
368
368
|
key: !0,
|
|
369
369
|
ref: !0,
|
|
370
370
|
__self: !0,
|
|
371
371
|
__source: !0
|
|
372
|
-
},
|
|
372
|
+
}, Pe, Se;
|
|
373
373
|
function Ze(e) {
|
|
374
|
-
if (
|
|
374
|
+
if (B.call(e, "ref")) {
|
|
375
375
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
376
376
|
if (r && r.isReactWarning)
|
|
377
377
|
return !1;
|
|
@@ -379,7 +379,7 @@ function _r() {
|
|
|
379
379
|
return e.ref !== void 0;
|
|
380
380
|
}
|
|
381
381
|
function Qe(e) {
|
|
382
|
-
if (
|
|
382
|
+
if (B.call(e, "key")) {
|
|
383
383
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
384
384
|
if (r && r.isReactWarning)
|
|
385
385
|
return !1;
|
|
@@ -387,12 +387,12 @@ function _r() {
|
|
|
387
387
|
return e.key !== void 0;
|
|
388
388
|
}
|
|
389
389
|
function er(e, r) {
|
|
390
|
-
typeof e.ref == "string" &&
|
|
390
|
+
typeof e.ref == "string" && Oe.current;
|
|
391
391
|
}
|
|
392
392
|
function rr(e, r) {
|
|
393
393
|
{
|
|
394
394
|
var t = function() {
|
|
395
|
-
|
|
395
|
+
Pe || (Pe = !0, p("%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));
|
|
396
396
|
};
|
|
397
397
|
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
398
398
|
get: t,
|
|
@@ -403,7 +403,7 @@ function _r() {
|
|
|
403
403
|
function tr(e, r) {
|
|
404
404
|
{
|
|
405
405
|
var t = function() {
|
|
406
|
-
|
|
406
|
+
Se || (Se = !0, p("%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));
|
|
407
407
|
};
|
|
408
408
|
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
409
409
|
get: t,
|
|
@@ -443,9 +443,9 @@ function _r() {
|
|
|
443
443
|
function ar(e, r, t, n, s) {
|
|
444
444
|
{
|
|
445
445
|
var u, i = {}, o = null, b = null;
|
|
446
|
-
t !== void 0 && (
|
|
446
|
+
t !== void 0 && (ke(t), o = "" + t), Qe(r) && (ke(r.key), o = "" + r.key), Ze(r) && (b = r.ref, er(r, s));
|
|
447
447
|
for (u in r)
|
|
448
|
-
|
|
448
|
+
B.call(r, u) && !Xe.hasOwnProperty(u) && (i[u] = r[u]);
|
|
449
449
|
if (e && e.defaultProps) {
|
|
450
450
|
var c = e.defaultProps;
|
|
451
451
|
for (u in c)
|
|
@@ -455,26 +455,26 @@ function _r() {
|
|
|
455
455
|
var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
456
456
|
o && rr(i, f), b && tr(i, f);
|
|
457
457
|
}
|
|
458
|
-
return nr(e, o, b, s, n,
|
|
458
|
+
return nr(e, o, b, s, n, Oe.current, i);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var ie = R.ReactCurrentOwner,
|
|
461
|
+
var ie = R.ReactCurrentOwner, xe = R.ReactDebugCurrentFrame;
|
|
462
462
|
function W(e) {
|
|
463
463
|
if (e) {
|
|
464
464
|
var r = e._owner, t = G(e.type, e._source, r ? r.type : null);
|
|
465
|
-
|
|
465
|
+
xe.setExtraStackFrame(t);
|
|
466
466
|
} else
|
|
467
|
-
|
|
467
|
+
xe.setExtraStackFrame(null);
|
|
468
468
|
}
|
|
469
469
|
var se;
|
|
470
470
|
se = !1;
|
|
471
471
|
function ue(e) {
|
|
472
472
|
return typeof e == "object" && e !== null && e.$$typeof === w;
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function je() {
|
|
475
475
|
{
|
|
476
476
|
if (ie.current) {
|
|
477
|
-
var e =
|
|
477
|
+
var e = S(ie.current.type);
|
|
478
478
|
if (e)
|
|
479
479
|
return `
|
|
480
480
|
|
|
@@ -489,7 +489,7 @@ Check the render method of \`` + e + "`.";
|
|
|
489
489
|
var Fe = {};
|
|
490
490
|
function ir(e) {
|
|
491
491
|
{
|
|
492
|
-
var r =
|
|
492
|
+
var r = je();
|
|
493
493
|
if (!r) {
|
|
494
494
|
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
495
495
|
t && (r = `
|
|
@@ -509,7 +509,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
509
509
|
return;
|
|
510
510
|
Fe[t] = !0;
|
|
511
511
|
var n = "";
|
|
512
|
-
e && e._owner && e._owner !== ie.current && (n = " It was passed a child from " +
|
|
512
|
+
e && e._owner && e._owner !== ie.current && (n = " It was passed a child from " + S(e._owner.type) + "."), W(e), p('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), W(null);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
function Ae(e, r) {
|
|
@@ -524,7 +524,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
524
524
|
else if (ue(e))
|
|
525
525
|
e._store && (e._store.validated = !0);
|
|
526
526
|
else if (e) {
|
|
527
|
-
var s =
|
|
527
|
+
var s = P(e);
|
|
528
528
|
if (typeof s == "function" && s !== e.entries)
|
|
529
529
|
for (var u = s.call(e), i; !(i = u.next()).done; )
|
|
530
530
|
ue(i.value) && De(i.value, r);
|
|
@@ -546,11 +546,11 @@ Check the top-level render call using <` + t + ">.");
|
|
|
546
546
|
else
|
|
547
547
|
return;
|
|
548
548
|
if (t) {
|
|
549
|
-
var n =
|
|
550
|
-
|
|
549
|
+
var n = S(r);
|
|
550
|
+
Je(t, e.props, "prop", n, e);
|
|
551
551
|
} else if (r.PropTypes !== void 0 && !se) {
|
|
552
552
|
se = !0;
|
|
553
|
-
var s =
|
|
553
|
+
var s = S(r);
|
|
554
554
|
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", s || "Unknown");
|
|
555
555
|
}
|
|
556
556
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -576,9 +576,9 @@ Check the top-level render call using <` + t + ">.");
|
|
|
576
576
|
var o = "";
|
|
577
577
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
578
578
|
var b = or();
|
|
579
|
-
b ? o += b : o +=
|
|
579
|
+
b ? o += b : o += je();
|
|
580
580
|
var c;
|
|
581
|
-
e === null ? c = "null" : oe(e) ? c = "array" : e !== void 0 && e.$$typeof === w ? (c = "<" + (
|
|
581
|
+
e === null ? c = "null" : oe(e) ? c = "array" : e !== void 0 && e.$$typeof === w ? (c = "<" + (S(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : c = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", c, o);
|
|
582
582
|
}
|
|
583
583
|
var f = ar(e, r, t, s, u);
|
|
584
584
|
if (f == null)
|
|
@@ -588,16 +588,16 @@ Check the top-level render call using <` + t + ">.");
|
|
|
588
588
|
if (T !== void 0)
|
|
589
589
|
if (n)
|
|
590
590
|
if (oe(T)) {
|
|
591
|
-
for (var
|
|
592
|
-
Ae(T[
|
|
591
|
+
for (var q = 0; q < T.length; q++)
|
|
592
|
+
Ae(T[q], e);
|
|
593
593
|
Object.freeze && Object.freeze(T);
|
|
594
594
|
} else
|
|
595
595
|
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
596
596
|
else
|
|
597
597
|
Ae(T, e);
|
|
598
598
|
}
|
|
599
|
-
if (
|
|
600
|
-
var L =
|
|
599
|
+
if (B.call(r, "key")) {
|
|
600
|
+
var L = S(e), E = Object.keys(r).filter(function(pr) {
|
|
601
601
|
return pr !== "key";
|
|
602
602
|
}), le = E.length > 0 ? "{key: someKey, " + E.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
603
|
if (!$e[L + le]) {
|
|
@@ -620,12 +620,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
620
620
|
return Ie(e, r, t, !1);
|
|
621
621
|
}
|
|
622
622
|
var fr = cr, dr = lr;
|
|
623
|
-
|
|
624
|
-
}()),
|
|
623
|
+
V.Fragment = d, V.jsx = fr, V.jsxs = dr;
|
|
624
|
+
}()), V;
|
|
625
625
|
}
|
|
626
626
|
process.env.NODE_ENV === "production" ? de.exports = hr() : de.exports = _r();
|
|
627
627
|
var ve = de.exports;
|
|
628
|
-
const gr = "
|
|
628
|
+
const gr = "_btn_y7ghq_41", yr = "_small_y7ghq_65", br = "_middle_y7ghq_72", mr = "_large_y7ghq_79", Er = "_danger_y7ghq_86", Rr = "_primary_y7ghq_90", wr = "_link_y7ghq_90", Cr = "_text_y7ghq_90", Tr = "_dashed_y7ghq_90", kr = "_ghost_y7ghq_90", Or = "_warning_y7ghq_100", Pr = "_info_y7ghq_114", Sr = "_success_y7ghq_128", xr = "_disabled_y7ghq_197", U = {
|
|
629
629
|
btn: gr,
|
|
630
630
|
small: yr,
|
|
631
631
|
middle: br,
|
|
@@ -635,59 +635,59 @@ const gr = "_btn_jnyss_21", yr = "_small_jnyss_45", br = "_middle_jnyss_52", mr
|
|
|
635
635
|
link: wr,
|
|
636
636
|
text: Cr,
|
|
637
637
|
dashed: Tr,
|
|
638
|
-
ghost:
|
|
639
|
-
default: "
|
|
640
|
-
warning:
|
|
641
|
-
info:
|
|
642
|
-
success:
|
|
643
|
-
disabled:
|
|
638
|
+
ghost: kr,
|
|
639
|
+
default: "_default_y7ghq_90",
|
|
640
|
+
warning: Or,
|
|
641
|
+
info: Pr,
|
|
642
|
+
success: Sr,
|
|
643
|
+
disabled: xr
|
|
644
644
|
}, $r = ({
|
|
645
645
|
type: A,
|
|
646
646
|
size: w = "middle",
|
|
647
|
-
color:
|
|
647
|
+
color: k = "primary",
|
|
648
648
|
disabled: d = !1,
|
|
649
649
|
onClick: m,
|
|
650
|
-
className:
|
|
651
|
-
style:
|
|
652
|
-
children:
|
|
650
|
+
className: x = "",
|
|
651
|
+
style: j,
|
|
652
|
+
children: O,
|
|
653
653
|
...v
|
|
654
654
|
}) => {
|
|
655
|
-
const y = [
|
|
656
|
-
w && w !== "middle" && y.push(
|
|
655
|
+
const y = [U.btn];
|
|
656
|
+
w && w !== "middle" && y.push(U[w]), A && y.push(U[A]), k && k !== "primary" && y.push(U[k]), x && y.push(x), d && y.push(U.disabled);
|
|
657
657
|
const h = y.filter(Boolean).join(" ");
|
|
658
658
|
return /* @__PURE__ */ ve.jsx(
|
|
659
659
|
"span",
|
|
660
660
|
{
|
|
661
661
|
className: h,
|
|
662
662
|
onClick: d ? void 0 : m,
|
|
663
|
-
style:
|
|
663
|
+
style: j,
|
|
664
664
|
...v,
|
|
665
|
-
children:
|
|
665
|
+
children: O
|
|
666
666
|
}
|
|
667
667
|
);
|
|
668
|
-
},
|
|
669
|
-
popoverWrapper:
|
|
668
|
+
}, jr = "_popoverWrapper_1qoz9_41", Fr = "_popoverContent_1qoz9_48", Dr = "_popoverFadeIn_1qoz9_1", fe = {
|
|
669
|
+
popoverWrapper: jr,
|
|
670
670
|
popoverContent: Fr,
|
|
671
671
|
popoverFadeIn: Dr
|
|
672
672
|
}, Ir = ({
|
|
673
673
|
children: A,
|
|
674
674
|
content: w,
|
|
675
|
-
placement:
|
|
675
|
+
placement: k = "BL",
|
|
676
676
|
offset: d = 8,
|
|
677
677
|
trigger: m = "click",
|
|
678
|
-
visible:
|
|
679
|
-
onVisibleChange:
|
|
680
|
-
className:
|
|
678
|
+
visible: x,
|
|
679
|
+
onVisibleChange: j,
|
|
680
|
+
className: O = "",
|
|
681
681
|
style: v
|
|
682
682
|
}) => {
|
|
683
|
-
const [y, h] = Le(!1), [C, D] = Le({ top: 0, left: 0 }), F = We(null), $ = We(null),
|
|
684
|
-
|
|
683
|
+
const [y, h] = Le(!1), [C, D] = Le({ top: 0, left: 0 }), F = We(null), $ = We(null), z = x !== void 0, P = z ? x : y, R = (a) => {
|
|
684
|
+
z || h(a), j && j(a);
|
|
685
685
|
}, p = () => {
|
|
686
|
-
if (!F.current || !$.current || !
|
|
686
|
+
if (!F.current || !$.current || !P)
|
|
687
687
|
return;
|
|
688
688
|
const a = F.current.getBoundingClientRect(), l = $.current.getBoundingClientRect();
|
|
689
689
|
let _ = 0, g = 0;
|
|
690
|
-
switch (
|
|
690
|
+
switch (k) {
|
|
691
691
|
case "TL":
|
|
692
692
|
_ = a.top - l.height - d, g = a.left;
|
|
693
693
|
break;
|
|
@@ -717,15 +717,15 @@ const gr = "_btn_jnyss_21", yr = "_small_jnyss_45", br = "_middle_jnyss_52", mr
|
|
|
717
717
|
_ = a.bottom + d, g = a.left + a.width - l.width;
|
|
718
718
|
break;
|
|
719
719
|
}
|
|
720
|
-
const
|
|
721
|
-
g < 8 && (g = 8), g + l.width >
|
|
720
|
+
const M = window.innerWidth, S = window.innerHeight;
|
|
721
|
+
g < 8 && (g = 8), g + l.width > M - 8 && (g = M - l.width - 8), _ < 8 && (_ = 8), _ + l.height > S - 8 && (_ = S - l.height - 8), D({ top: _, left: g });
|
|
722
722
|
};
|
|
723
723
|
ce(() => {
|
|
724
|
-
|
|
724
|
+
P && requestAnimationFrame(() => {
|
|
725
725
|
p();
|
|
726
726
|
});
|
|
727
|
-
}, [
|
|
728
|
-
if (!
|
|
727
|
+
}, [P, k, d]), ce(() => {
|
|
728
|
+
if (!P) return;
|
|
729
729
|
const a = () => {
|
|
730
730
|
p();
|
|
731
731
|
}, l = () => {
|
|
@@ -734,8 +734,8 @@ const gr = "_btn_jnyss_21", yr = "_small_jnyss_45", br = "_middle_jnyss_52", mr
|
|
|
734
734
|
return window.addEventListener("resize", a), window.addEventListener("scroll", l, !0), () => {
|
|
735
735
|
window.removeEventListener("resize", a), window.removeEventListener("scroll", l, !0);
|
|
736
736
|
};
|
|
737
|
-
}, [
|
|
738
|
-
if (m !== "click" || !
|
|
737
|
+
}, [P]), ce(() => {
|
|
738
|
+
if (m !== "click" || !P) return;
|
|
739
739
|
const a = (l) => {
|
|
740
740
|
F.current && $.current && !F.current.contains(l.target) && !$.current.contains(l.target) && R(!1);
|
|
741
741
|
};
|
|
@@ -744,9 +744,9 @@ const gr = "_btn_jnyss_21", yr = "_small_jnyss_45", br = "_middle_jnyss_52", mr
|
|
|
744
744
|
}, 0), () => {
|
|
745
745
|
document.removeEventListener("click", a);
|
|
746
746
|
};
|
|
747
|
-
}, [m,
|
|
747
|
+
}, [m, P]);
|
|
748
748
|
const X = (a) => {
|
|
749
|
-
m === "click" && (a.stopPropagation(), R(!
|
|
749
|
+
m === "click" && (a.stopPropagation(), R(!P));
|
|
750
750
|
}, Z = () => {
|
|
751
751
|
m === "hover" && R(!0);
|
|
752
752
|
}, Q = () => {
|
|
@@ -760,18 +760,18 @@ const gr = "_btn_jnyss_21", yr = "_small_jnyss_45", br = "_middle_jnyss_52", mr
|
|
|
760
760
|
"div",
|
|
761
761
|
{
|
|
762
762
|
ref: F,
|
|
763
|
-
className: `${fe.popoverWrapper} ${
|
|
763
|
+
className: `${fe.popoverWrapper} ${O}`,
|
|
764
764
|
style: v,
|
|
765
765
|
onClick: X,
|
|
766
766
|
onMouseEnter: Z,
|
|
767
767
|
onMouseLeave: Q,
|
|
768
768
|
children: [
|
|
769
769
|
A,
|
|
770
|
-
|
|
770
|
+
P && w && /* @__PURE__ */ ve.jsx(
|
|
771
771
|
"div",
|
|
772
772
|
{
|
|
773
773
|
ref: $,
|
|
774
|
-
className: `${fe.popoverContent} ${fe[`placement-${
|
|
774
|
+
className: `${fe.popoverContent} ${fe[`placement-${k}`]}`,
|
|
775
775
|
style: {
|
|
776
776
|
top: `${C.top}px`,
|
|
777
777
|
left: `${C.left}px`
|
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(I,R){typeof exports=="object"&&typeof module<"u"?R(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],R):(I=typeof globalThis<"u"?globalThis:I||self,R(I.ComponentLibrary={},I.React))})(this,function(I,R){"use strict";var Q={exports:{}},
|
|
1
|
+
(function(I,R){typeof exports=="object"&&typeof module<"u"?R(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],R):(I=typeof globalThis<"u"?globalThis:I||self,R(I.ComponentLibrary={},I.React))})(this,function(I,R){"use strict";var Q={exports:{}},N={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var he;function
|
|
9
|
+
*/var he;function qe(){if(he)return N;he=1;var L=R,C=Symbol.for("react.element"),O=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,m=L.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,x={key:!0,ref:!0,__self:!0,__source:!0};function F(P,v,y){var h,T={},A=null,D=null;y!==void 0&&(A=""+y),v.key!==void 0&&(A=""+v.key),v.ref!==void 0&&(D=v.ref);for(h in v)d.call(v,h)&&!x.hasOwnProperty(h)&&(T[h]=v[h]);if(P&&P.defaultProps)for(h in v=P.defaultProps,v)T[h]===void 0&&(T[h]=v[h]);return{$$typeof:C,type:P,key:A,ref:D,props:T,_owner:m.current}}return N.Fragment=O,N.jsx=F,N.jsxs=F,N}var V={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var _e;function
|
|
18
|
-
`+ue+e}}var le=!1,
|
|
17
|
+
*/var _e;function Be(){return _e||(_e=1,process.env.NODE_ENV!=="production"&&function(){var L=R,C=Symbol.for("react.element"),O=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),F=Symbol.for("react.provider"),P=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),D=Symbol.for("react.offscreen"),W=Symbol.iterator,K="@@iterator";function S(e){if(e===null||typeof e!="object")return null;var r=W&&e[W]||e[K];return typeof r=="function"?r:null}var w=L.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];te("error",e,t)}}function te(e,r,t){{var n=w.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var u=t.map(function(i){return String(i)});u.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,u)}}var ne=!1,ae=!1,oe=!1,ie=!1,a=!1,l;l=Symbol.for("react.module.reference");function _(e){return!!(typeof e=="string"||typeof e=="function"||e===d||e===x||a||e===m||e===y||e===h||ie||e===D||ne||ae||oe||typeof e=="object"&&e!==null&&(e.$$typeof===A||e.$$typeof===T||e.$$typeof===F||e.$$typeof===P||e.$$typeof===v||e.$$typeof===l||e.getModuleId!==void 0))}function g(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function $(e){return e.displayName||"Context"}function j(e){if(e==null)return null;if(typeof e.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case d:return"Fragment";case O:return"Portal";case x:return"Profiler";case m:return"StrictMode";case y:return"Suspense";case h:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case P:var r=e;return $(r)+".Consumer";case F:var t=e;return $(t._context)+".Provider";case v:return g(e,e.render,"ForwardRef");case T:var n=e.displayName||null;return n!==null?n:j(e.type)||"Memo";case A:{var s=e,u=s._payload,i=s._init;try{return j(i(u))}catch{return null}}}return null}var M=Object.assign,z=0,ge,ye,be,me,Ee,Re,we;function Ce(){}Ce.__reactDisabledLog=!0;function Ue(){{if(z===0){ge=console.log,ye=console.info,be=console.warn,me=console.error,Ee=console.group,Re=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ce,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}z++}}function $e(){{if(z--,z===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:M({},e,{value:ge}),info:M({},e,{value:ye}),warn:M({},e,{value:be}),error:M({},e,{value:me}),group:M({},e,{value:Ee}),groupCollapsed:M({},e,{value:Re}),groupEnd:M({},e,{value:we})})}z<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var se=w.ReactCurrentDispatcher,ue;function G(e,r,t){{if(ue===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);ue=n&&n[1]||""}return`
|
|
18
|
+
`+ue+e}}var le=!1,H;{var ze=typeof WeakMap=="function"?WeakMap:Map;H=new ze}function Te(e,r){if(!e||le)return"";{var t=H.get(e);if(t!==void 0)return t}var n;le=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var u;u=se.current,se.current=null,Ue();try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(E){n=E}Reflect.construct(e,[],i)}else{try{i.call()}catch(E){n=E}e.call(i.prototype)}}else{try{throw Error()}catch(E){n=E}e()}}catch(E){if(E&&n&&typeof E.stack=="string"){for(var o=E.stack.split(`
|
|
19
19
|
`),b=n.stack.split(`
|
|
20
|
-
`),c=o.length-1,f=b.length-1;c>=1&&f>=0&&o[c]!==b[f];)f--;for(;c>=1&&f>=0;c--,f--)if(o[c]!==b[f]){if(c!==1||f!==1)do if(c--,f--,f<0||o[c]!==b[f]){var
|
|
21
|
-
`+o[c].replace(" at new "," at ");return e.displayName&&
|
|
20
|
+
`),c=o.length-1,f=b.length-1;c>=1&&f>=0&&o[c]!==b[f];)f--;for(;c>=1&&f>=0;c--,f--)if(o[c]!==b[f]){if(c!==1||f!==1)do if(c--,f--,f<0||o[c]!==b[f]){var k=`
|
|
21
|
+
`+o[c].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),typeof e=="function"&&H.set(e,k),k}while(c>=1&&f>=0);break}}}finally{le=!1,se.current=u,$e(),Error.prepareStackTrace=s}var B=e?e.displayName||e.name:"",Y=B?G(B):"";return typeof e=="function"&&H.set(e,Y),Y}function Je(e,r,t){return Te(e,!1)}function Ke(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function X(e,r,t){if(e==null)return"";if(typeof e=="function")return Te(e,Ke(e));if(typeof e=="string")return G(e);switch(e){case y:return G("Suspense");case h:return G("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case v:return Je(e.render);case T:return X(e.type,r,t);case A:{var n=e,s=n._payload,u=n._init;try{return X(u(s),r,t)}catch{}}}return""}var J=Object.prototype.hasOwnProperty,ke={},Oe=w.ReactDebugCurrentFrame;function Z(e){if(e){var r=e._owner,t=X(e.type,e._source,r?r.type:null);Oe.setExtraStackFrame(t)}else Oe.setExtraStackFrame(null)}function Ge(e,r,t,n,s){{var u=Function.call.bind(J);for(var i in e)if(u(e,i)){var o=void 0;try{if(typeof e[i]!="function"){var b=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`.");throw b.name="Invariant Violation",b}o=e[i](r,i,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(c){o=c}o&&!(o instanceof Error)&&(Z(s),p("%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 o),Z(null)),o instanceof Error&&!(o.message in ke)&&(ke[o.message]=!0,Z(s),p("Failed %s type: %s",t,o.message),Z(null))}}}var He=Array.isArray;function ce(e){return He(e)}function Xe(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Ze(e){try{return Pe(e),!1}catch{return!0}}function Pe(e){return""+e}function Se(e){if(Ze(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Xe(e)),Pe(e)}var je=w.ReactCurrentOwner,Qe={key:!0,ref:!0,__self:!0,__source:!0},xe,Fe;function er(e){if(J.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function rr(e){if(J.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function tr(e,r){typeof e.ref=="string"&&je.current}function nr(e,r){{var t=function(){xe||(xe=!0,p("%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))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function ar(e,r){{var t=function(){Fe||(Fe=!0,p("%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))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var or=function(e,r,t,n,s,u,i){var o={$$typeof:C,type:e,key:r,ref:t,props:i,_owner:u};return o._store={},Object.defineProperty(o._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(o,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(o,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(o.props),Object.freeze(o)),o};function ir(e,r,t,n,s){{var u,i={},o=null,b=null;t!==void 0&&(Se(t),o=""+t),rr(r)&&(Se(r.key),o=""+r.key),er(r)&&(b=r.ref,tr(r,s));for(u in r)J.call(r,u)&&!Qe.hasOwnProperty(u)&&(i[u]=r[u]);if(e&&e.defaultProps){var c=e.defaultProps;for(u in c)i[u]===void 0&&(i[u]=c[u])}if(o||b){var f=typeof e=="function"?e.displayName||e.name||"Unknown":e;o&&nr(i,f),b&&ar(i,f)}return or(e,o,b,s,n,je.current,i)}}var fe=w.ReactCurrentOwner,De=w.ReactDebugCurrentFrame;function q(e){if(e){var r=e._owner,t=X(e.type,e._source,r?r.type:null);De.setExtraStackFrame(t)}else De.setExtraStackFrame(null)}var de;de=!1;function ve(e){return typeof e=="object"&&e!==null&&e.$$typeof===C}function Ae(){{if(fe.current){var e=j(fe.current.type);if(e)return`
|
|
22
22
|
|
|
23
23
|
Check the render method of \``+e+"`."}return""}}function sr(e){return""}var Ie={};function ur(e){{var r=Ae();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+t+">.")}return r}}function Le(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ur(r);if(Ie[t])return;Ie[t]=!0;var n="";e&&e._owner&&e._owner!==fe.current&&(n=" It was passed a child from "+
|
|
25
|
+
Check the top-level render call using <`+t+">.")}return r}}function Le(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ur(r);if(Ie[t])return;Ie[t]=!0;var n="";e&&e._owner&&e._owner!==fe.current&&(n=" It was passed a child from "+j(e._owner.type)+"."),q(e),p('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),q(null)}}function We(e,r){{if(typeof e!="object")return;if(ce(e))for(var t=0;t<e.length;t++){var n=e[t];ve(n)&&Le(n,r)}else if(ve(e))e._store&&(e._store.validated=!0);else if(e){var s=S(e);if(typeof s=="function"&&s!==e.entries)for(var u=s.call(e),i;!(i=u.next()).done;)ve(i.value)&&Le(i.value,r)}}}function lr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===v||r.$$typeof===T))t=r.propTypes;else return;if(t){var n=j(r);Ge(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!de){de=!0;var s=j(r);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function cr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){q(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),q(null);break}}e.ref!==null&&(q(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),q(null))}}var Me={};function Ye(e,r,t,n,s,u){{var i=_(e);if(!i){var o="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var b=sr();b?o+=b:o+=Ae();var c;e===null?c="null":ce(e)?c="array":e!==void 0&&e.$$typeof===C?(c="<"+(j(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):c=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",c,o)}var f=ir(e,r,t,s,u);if(f==null)return f;if(i){var k=r.children;if(k!==void 0)if(n)if(ce(k)){for(var B=0;B<k.length;B++)We(k[B],e);Object.freeze&&Object.freeze(k)}else p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else We(k,e)}if(J.call(r,"key")){var Y=j(e),E=Object.keys(r).filter(function(_r){return _r!=="key"}),pe=E.length>0?"{key: someKey, "+E.join(": ..., ")+": ...}":"{key: someKey}";if(!Me[Y+pe]){var hr=E.length>0?"{"+E.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,pe,Y,hr,Y),Me[Y+pe]=!0}}return e===d?cr(f):lr(f),f}}function fr(e,r,t){return Ye(e,r,t,!0)}function dr(e,r,t){return Ye(e,r,t,!1)}var vr=dr,pr=fr;
|
|
30
|
+
<%s key={someKey} {...props} />`,pe,Y,hr,Y),Me[Y+pe]=!0}}return e===d?cr(f):lr(f),f}}function fr(e,r,t){return Ye(e,r,t,!0)}function dr(e,r,t){return Ye(e,r,t,!1)}var vr=dr,pr=fr;V.Fragment=d,V.jsx=vr,V.jsxs=pr}()),V}process.env.NODE_ENV==="production"?Q.exports=qe():Q.exports=Be();var ee=Q.exports;const U={btn:"_btn_y7ghq_41",small:"_small_y7ghq_65",middle:"_middle_y7ghq_72",large:"_large_y7ghq_79",danger:"_danger_y7ghq_86",primary:"_primary_y7ghq_90",link:"_link_y7ghq_90",text:"_text_y7ghq_90",dashed:"_dashed_y7ghq_90",ghost:"_ghost_y7ghq_90",default:"_default_y7ghq_90",warning:"_warning_y7ghq_100",info:"_info_y7ghq_114",success:"_success_y7ghq_128",disabled:"_disabled_y7ghq_197"},Ne=({type:L,size:C="middle",color:O="primary",disabled:d=!1,onClick:m,className:x="",style:F,children:P,...v})=>{const y=[U.btn];C&&C!=="middle"&&y.push(U[C]),L&&y.push(U[L]),O&&O!=="primary"&&y.push(U[O]),x&&y.push(x),d&&y.push(U.disabled);const h=y.filter(Boolean).join(" ");return ee.jsx("span",{className:h,onClick:d?void 0:m,style:F,...v,children:P})},re={popoverWrapper:"_popoverWrapper_1qoz9_41",popoverContent:"_popoverContent_1qoz9_48",popoverFadeIn:"_popoverFadeIn_1qoz9_1"},Ve=({children:L,content:C,placement:O="BL",offset:d=8,trigger:m="click",visible:x,onVisibleChange:F,className:P="",style:v})=>{const[y,h]=R.useState(!1),[T,A]=R.useState({top:0,left:0}),D=R.useRef(null),W=R.useRef(null),K=x!==void 0,S=K?x:y,w=a=>{K||h(a),F&&F(a)},p=()=>{if(!D.current||!W.current||!S)return;const a=D.current.getBoundingClientRect(),l=W.current.getBoundingClientRect();let _=0,g=0;switch(O){case"TL":_=a.top-l.height-d,g=a.left;break;case"TC":_=a.top-l.height-d,g=a.left+(a.width-l.width)/2;break;case"TR":_=a.top-l.height-d,g=a.left+a.width-l.width;break;case"CL":_=a.top+(a.height-l.height)/2,g=a.left-l.width-d;break;case"CC":_=a.top+(a.height-l.height)/2,g=a.left+(a.width-l.width)/2;break;case"CR":_=a.top+(a.height-l.height)/2,g=a.left+a.width+d;break;case"BL":default:_=a.bottom+d,g=a.left;break;case"BC":_=a.bottom+d,g=a.left+(a.width-l.width)/2;break;case"BR":_=a.bottom+d,g=a.left+a.width-l.width;break}const $=window.innerWidth,j=window.innerHeight;g<8&&(g=8),g+l.width>$-8&&(g=$-l.width-8),_<8&&(_=8),_+l.height>j-8&&(_=j-l.height-8),A({top:_,left:g})};R.useEffect(()=>{S&&requestAnimationFrame(()=>{p()})},[S,O,d]),R.useEffect(()=>{if(!S)return;const a=()=>{p()},l=()=>{p()};return window.addEventListener("resize",a),window.addEventListener("scroll",l,!0),()=>{window.removeEventListener("resize",a),window.removeEventListener("scroll",l,!0)}},[S]),R.useEffect(()=>{if(m!=="click"||!S)return;const a=l=>{D.current&&W.current&&!D.current.contains(l.target)&&!W.current.contains(l.target)&&w(!1)};return setTimeout(()=>{document.addEventListener("click",a)},0),()=>{document.removeEventListener("click",a)}},[m,S]);const te=a=>{m==="click"&&(a.stopPropagation(),w(!S))},ne=()=>{m==="hover"&&w(!0)},ae=()=>{m==="hover"&&w(!1)},oe=()=>{m==="hover"&&w(!0)},ie=()=>{m==="hover"&&w(!1)};return ee.jsxs("div",{ref:D,className:`${re.popoverWrapper} ${P}`,style:v,onClick:te,onMouseEnter:ne,onMouseLeave:ae,children:[L,S&&C&&ee.jsx("div",{ref:W,className:`${re.popoverContent} ${re[`placement-${O}`]}`,style:{top:`${T.top}px`,left:`${T.left}px`},onClick:a=>a.stopPropagation(),onMouseEnter:oe,onMouseLeave:ie,children:C})]})};I.Button=Ne,I.Popover=Ve,Object.defineProperty(I,Symbol.toStringTag,{value:"Module"})});
|
|
31
31
|
//# sourceMappingURL=index.umd.js.map
|
package/dist/index.umd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.umd.js","sources":["../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/react/jsx-runtime.js","../src/components/Button/index.tsx","../src/components/Popover/index.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"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:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n 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 ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n 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\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('<anonymous>')) {\n _frame = _frame.replace('<anonymous>', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n 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`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n 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);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n 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);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n 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);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n 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);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n 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);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n 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.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n 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);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n 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.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n {\n if (hasOwnProperty.call(props, 'key')) {\n var componentName = getComponentNameFromType(type);\n var keys = Object.keys(props).filter(function (k) {\n return k !== 'key';\n });\n var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n error('A props object containing a \"key\" prop is being spread into JSX:\\n' + ' let props = %s;\\n' + ' <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + ' let props = %s;\\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n didWarnAboutKeySpread[componentName + beforeExample] = true;\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import React from 'react';\nimport styles from './index.module.less';\n\nexport interface ButtonProps\n extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'> {\n type?: string;\n size?: 'small' | 'middle' | 'large' | (string & {});\n color?: string;\n disabled?: boolean;\n onClick?: React.MouseEventHandler<HTMLSpanElement>;\n}\n\n/**\n * Button 组件(从 umiProjects 迁移)\n * 支持通过 props 设置类型、尺寸、颜色等属性\n */\nconst Button: React.FC<ButtonProps> = ({\n type,\n size = 'middle',\n color = 'primary',\n disabled = false,\n onClick,\n className = '',\n style,\n children,\n ...restProps\n}) => {\n const classNames = [styles.btn];\n\n if (size && size !== 'middle') {\n classNames.push(styles[size]);\n }\n\n if (type) {\n classNames.push(styles[type]);\n }\n\n if (color && color !== 'primary') {\n classNames.push(styles[color]);\n }\n\n if (className) {\n classNames.push(className);\n }\n\n if (disabled) {\n classNames.push(styles.disabled);\n }\n\n const finalClassName = classNames.filter(Boolean).join(' ');\n\n return (\n <span\n className={finalClassName}\n onClick={disabled ? undefined : onClick}\n style={style}\n {...restProps}\n >\n {children}\n </span>\n );\n};\n\nexport default Button;\n","import React, { useEffect, useRef, useState } from 'react';\nimport styles from './index.module.less';\n\nexport type PopoverPlacement =\n | 'TL'\n | 'TC'\n | 'TR'\n | 'CL'\n | 'CC'\n | 'CR'\n | 'BL'\n | 'BC'\n | 'BR'\n | (string & {});\n\nexport type PopoverTrigger = 'click' | 'hover' | (string & {});\n\nexport interface PopoverProps {\n children?: React.ReactNode;\n content?: React.ReactNode;\n placement?: PopoverPlacement;\n offset?: number;\n trigger?: PopoverTrigger;\n visible?: boolean;\n onVisibleChange?: (visible: boolean) => void;\n className?: string;\n style?: React.CSSProperties;\n}\n\n/**\n * Popover 组件(从 umiProjects 迁移)\n * 支持点击和 hover 触发,九宫格定位\n */\nconst Popover: React.FC<PopoverProps> = ({\n children,\n content,\n placement = 'BL',\n offset = 8,\n trigger = 'click',\n visible: controlledVisible,\n onVisibleChange,\n className = '',\n style,\n}) => {\n const [internalVisible, setInternalVisible] = useState(false);\n const [position, setPosition] = useState({ top: 0, left: 0 });\n const wrapperRef = useRef<HTMLDivElement | null>(null);\n const contentRef = useRef<HTMLDivElement | null>(null);\n\n const isControlled = controlledVisible !== undefined;\n const visible = isControlled ? controlledVisible : internalVisible;\n\n const updateVisible = (newVisible: boolean) => {\n if (!isControlled) {\n setInternalVisible(newVisible);\n }\n if (onVisibleChange) {\n onVisibleChange(newVisible);\n }\n };\n\n const calculatePosition = () => {\n if (!wrapperRef.current || !contentRef.current || !visible) {\n return;\n }\n\n const triggerRect = wrapperRef.current.getBoundingClientRect();\n const contentRect = contentRef.current.getBoundingClientRect();\n\n let top = 0;\n let left = 0;\n\n switch (placement) {\n case 'TL':\n top = triggerRect.top - contentRect.height - offset;\n left = triggerRect.left;\n break;\n case 'TC':\n top = triggerRect.top - contentRect.height - offset;\n left = triggerRect.left + (triggerRect.width - contentRect.width) / 2;\n break;\n case 'TR':\n top = triggerRect.top - contentRect.height - offset;\n left = triggerRect.left + triggerRect.width - contentRect.width;\n break;\n case 'CL':\n top = triggerRect.top + (triggerRect.height - contentRect.height) / 2;\n left = triggerRect.left - contentRect.width - offset;\n break;\n case 'CC':\n top = triggerRect.top + (triggerRect.height - contentRect.height) / 2;\n left = triggerRect.left + (triggerRect.width - contentRect.width) / 2;\n break;\n case 'CR':\n top = triggerRect.top + (triggerRect.height - contentRect.height) / 2;\n left = triggerRect.left + triggerRect.width + offset;\n break;\n case 'BL':\n default:\n top = triggerRect.bottom + offset;\n left = triggerRect.left;\n break;\n case 'BC':\n top = triggerRect.bottom + offset;\n left = triggerRect.left + (triggerRect.width - contentRect.width) / 2;\n break;\n case 'BR':\n top = triggerRect.bottom + offset;\n left = triggerRect.left + triggerRect.width - contentRect.width;\n break;\n }\n\n const viewportWidth = window.innerWidth;\n const viewportHeight = window.innerHeight;\n\n if (left < 8) left = 8;\n if (left + contentRect.width > viewportWidth - 8) {\n left = viewportWidth - contentRect.width - 8;\n }\n if (top < 8) top = 8;\n if (top + contentRect.height > viewportHeight - 8) {\n top = viewportHeight - contentRect.height - 8;\n }\n\n setPosition({ top, left });\n };\n\n useEffect(() => {\n if (visible) {\n requestAnimationFrame(() => {\n calculatePosition();\n });\n }\n }, [visible, placement, offset]);\n\n useEffect(() => {\n if (!visible) return;\n\n const handleResize = () => {\n calculatePosition();\n };\n\n const handleScroll = () => {\n calculatePosition();\n };\n\n window.addEventListener('resize', handleResize);\n window.addEventListener('scroll', handleScroll, true);\n\n return () => {\n window.removeEventListener('resize', handleResize);\n window.removeEventListener('scroll', handleScroll, true);\n };\n }, [visible]);\n\n useEffect(() => {\n if (trigger !== 'click' || !visible) return;\n\n const handleClickOutside = (event: MouseEvent) => {\n if (\n wrapperRef.current &&\n contentRef.current &&\n !wrapperRef.current.contains(event.target as Node) &&\n !contentRef.current.contains(event.target as Node)\n ) {\n updateVisible(false);\n }\n };\n\n setTimeout(() => {\n document.addEventListener('click', handleClickOutside);\n }, 0);\n\n return () => {\n document.removeEventListener('click', handleClickOutside);\n };\n }, [trigger, visible]);\n\n const handleClick = (e: React.MouseEvent<HTMLDivElement>) => {\n if (trigger === 'click') {\n e.stopPropagation();\n updateVisible(!visible);\n }\n };\n\n const handleMouseEnter = () => {\n if (trigger === 'hover') {\n updateVisible(true);\n }\n };\n\n const handleMouseLeave = () => {\n if (trigger === 'hover') {\n updateVisible(false);\n }\n };\n\n const handleContentMouseEnter = () => {\n if (trigger === 'hover') {\n updateVisible(true);\n }\n };\n\n const handleContentMouseLeave = () => {\n if (trigger === 'hover') {\n updateVisible(false);\n }\n };\n\n return (\n <div\n ref={wrapperRef}\n className={`${styles.popoverWrapper} ${className}`}\n style={style}\n onClick={handleClick}\n onMouseEnter={handleMouseEnter}\n onMouseLeave={handleMouseLeave}\n >\n {children}\n {visible && content && (\n <div\n ref={contentRef}\n className={`${styles.popoverContent} ${styles[`placement-${placement}`]}`}\n style={{\n top: `${position.top}px`,\n left: `${position.left}px`,\n }}\n onClick={(e) => e.stopPropagation()}\n onMouseEnter={handleContentMouseEnter}\n onMouseLeave={handleContentMouseLeave}\n >\n {content}\n </div>\n )}\n </div>\n );\n};\n\nexport default Popover;\n"],"names":["f","require$$0","k","l","m","n","p","q","c","a","g","b","d","e","h","reactJsxRuntime_production_min","React","REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_PROVIDER_TYPE","REACT_CONTEXT_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_OFFSCREEN_TYPE","MAYBE_ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","maybeIterator","ReactSharedInternals","error","format","_len2","args","_key2","printWarning","level","ReactDebugCurrentFrame","stack","argsWithFormat","item","enableScopeAPI","enableCacheElement","enableTransitionTracing","enableLegacyHidden","enableDebugTracing","REACT_MODULE_REFERENCE","isValidElementType","type","getWrappedName","outerType","innerType","wrapperName","displayName","functionName","getContextName","getComponentNameFromType","context","provider","outerName","lazyComponent","payload","init","assign","disabledDepth","prevLog","prevInfo","prevWarn","prevError","prevGroup","prevGroupCollapsed","prevGroupEnd","disabledLog","disableLogs","props","reenableLogs","ReactCurrentDispatcher","prefix","describeBuiltInComponentFrame","name","source","ownerFn","x","match","reentry","componentFrameCache","PossiblyWeakMap","describeNativeComponentFrame","fn","construct","frame","control","previousPrepareStackTrace","previousDispatcher","Fake","sample","sampleLines","controlLines","s","_frame","syntheticFrame","describeFunctionComponentFrame","shouldConstruct","Component","prototype","describeUnknownElementTypeFrameInDEV","hasOwnProperty","loggedTypeFailures","setCurrentlyValidatingElement","element","owner","checkPropTypes","typeSpecs","values","location","componentName","has","typeSpecName","error$1","err","ex","isArrayImpl","isArray","typeName","value","hasToStringTag","willCoercionThrow","testStringCoercion","checkKeyStringCoercion","ReactCurrentOwner","RESERVED_PROPS","specialPropKeyWarningShown","specialPropRefWarningShown","hasValidRef","config","getter","hasValidKey","warnIfStringRefCannotBeAutoConverted","self","defineKeyPropWarningGetter","warnAboutAccessingKey","defineRefPropWarningGetter","warnAboutAccessingRef","ReactElement","key","ref","jsxDEV","maybeKey","propName","defaultProps","ReactCurrentOwner$1","ReactDebugCurrentFrame$1","setCurrentlyValidatingElement$1","propTypesMisspellWarningShown","isValidElement","object","getDeclarationErrorAddendum","getSourceInfoErrorAddendum","ownerHasKeyUseWarning","getCurrentComponentErrorInfo","parentType","info","parentName","validateExplicitKey","currentComponentErrorInfo","childOwner","validateChildKeys","node","i","child","iteratorFn","iterator","step","validatePropTypes","propTypes","_name","validateFragmentProps","fragment","keys","didWarnAboutKeySpread","jsxWithValidation","isStaticChildren","validType","sourceInfo","typeString","children","beforeExample","afterExample","jsxWithValidationStatic","jsxWithValidationDynamic","jsx","jsxs","reactJsxRuntime_development","jsxRuntimeModule","require$$1","Button","size","color","disabled","onClick","className","style","restProps","classNames","styles","finalClassName","Popover","content","placement","offset","trigger","controlledVisible","onVisibleChange","internalVisible","setInternalVisible","useState","position","setPosition","wrapperRef","useRef","contentRef","isControlled","visible","updateVisible","newVisible","calculatePosition","triggerRect","contentRect","top","left","viewportWidth","viewportHeight","useEffect","handleResize","handleScroll","handleClickOutside","event","handleClick","handleMouseEnter","handleMouseLeave","handleContentMouseEnter","handleContentMouseLeave"],"mappings":";;;;;;;;4CASa,IAAIA,EAAEC,EAAiBC,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,UAAU,eAAeC,EAAEL,EAAE,mDAAmD,kBAAkBM,EAAE,CAAC,IAAI,GAAG,IAAI,GAAG,OAAO,GAAG,SAAS,EAAE,EAClP,SAASC,EAAEC,EAAEC,EAAEC,EAAE,CAAC,IAAIC,EAAEC,EAAE,CAAA,EAAGC,EAAE,KAAKC,EAAE,KAAcJ,IAAT,SAAaG,EAAE,GAAGH,GAAYD,EAAE,MAAX,SAAiBI,EAAE,GAAGJ,EAAE,KAAcA,EAAE,MAAX,SAAiBK,EAAEL,EAAE,KAAK,IAAIE,KAAKF,EAAEL,EAAE,KAAKK,EAAEE,CAAC,GAAG,CAACL,EAAE,eAAeK,CAAC,IAAIC,EAAED,CAAC,EAAEF,EAAEE,CAAC,GAAG,GAAGH,GAAGA,EAAE,aAAa,IAAIG,KAAKF,EAAED,EAAE,aAAaC,EAAWG,EAAED,CAAC,IAAZ,SAAgBC,EAAED,CAAC,EAAEF,EAAEE,CAAC,GAAG,MAAM,CAAC,SAAST,EAAE,KAAKM,EAAE,IAAIK,EAAE,IAAIC,EAAE,MAAMF,EAAE,OAAOP,EAAE,OAAO,CAAC,CAAC,OAAAU,WAAiBZ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aI,CAAS,EAAE,CAAC,GACvE,MAAO,CACL,IAAK,GAAGQ,EAAS,GAAG,KACpB,KAAM,GAAGA,EAAS,IAAI,IAAA,EAExB,QAAUjN,GAAMA,EAAE,gBAAA,EAClB,aAAcyO,GACd,aAAcC,GAEb,SAAAlC,CAAA,CAAA,CACH,CAAA,CAAA,CAIR","x_google_ignoreList":[0,1,2]}
|
|
1
|
+
{"version":3,"file":"index.umd.js","sources":["../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/cjs/react-jsx-runtime.development.js","../node_modules/react/jsx-runtime.js","../src/components/Button/index.tsx","../src/components/Popover/index.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"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:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n 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 ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n 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\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('<anonymous>')) {\n _frame = _frame.replace('<anonymous>', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n 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`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n 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);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n 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);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n 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);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n 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);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n 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);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n 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.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n 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);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n 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.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n {\n if (hasOwnProperty.call(props, 'key')) {\n var componentName = getComponentNameFromType(type);\n var keys = Object.keys(props).filter(function (k) {\n return k !== 'key';\n });\n var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n error('A props object containing a \"key\" prop is being spread into JSX:\\n' + ' let props = %s;\\n' + ' <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + ' let props = %s;\\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n didWarnAboutKeySpread[componentName + beforeExample] = true;\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import React from 'react';\nimport styles from './index.module.less';\n\nexport interface ButtonProps\n extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'> {\n type?: string;\n size?: 'small' | 'middle' | 'large' | (string & {});\n color?: string;\n disabled?: boolean;\n onClick?: React.MouseEventHandler<HTMLSpanElement>;\n}\n\n/**\n * Button 组件(从 umiProjects 迁移)\n * 支持通过 props 设置类型、尺寸、颜色等属性\n */\nconst Button: React.FC<ButtonProps> = ({\n type,\n size = 'middle',\n color = 'primary',\n disabled = false,\n onClick,\n className = '',\n style,\n children,\n ...restProps\n}) => {\n const classNames = [styles.btn];\n\n if (size && size !== 'middle') {\n classNames.push(styles[size]);\n }\n\n if (type) {\n classNames.push(styles[type]);\n }\n\n if (color && color !== 'primary') {\n classNames.push(styles[color]);\n }\n\n if (className) {\n classNames.push(className);\n }\n\n if (disabled) {\n classNames.push(styles.disabled);\n }\n\n const finalClassName = classNames.filter(Boolean).join(' ');\n\n return (\n <span\n className={finalClassName}\n onClick={disabled ? undefined : onClick}\n style={style}\n {...restProps}\n >\n {children}\n </span>\n );\n};\n\nexport default Button;\n","import React, { useEffect, useRef, useState } from 'react';\nimport styles from './index.module.less';\n\nexport type PopoverPlacement =\n | 'TL'\n | 'TC'\n | 'TR'\n | 'CL'\n | 'CC'\n | 'CR'\n | 'BL'\n | 'BC'\n | 'BR'\n | (string & {});\n\nexport type PopoverTrigger = 'click' | 'hover' | (string & {});\n\nexport interface PopoverProps {\n children?: React.ReactNode;\n content?: React.ReactNode;\n placement?: PopoverPlacement;\n offset?: number;\n trigger?: PopoverTrigger;\n visible?: boolean;\n onVisibleChange?: (visible: boolean) => void;\n className?: string;\n style?: React.CSSProperties;\n}\n\n/**\n * Popover 组件(从 umiProjects 迁移)\n * 支持点击和 hover 触发,九宫格定位\n */\nconst Popover: React.FC<PopoverProps> = ({\n children,\n content,\n placement = 'BL',\n offset = 8,\n trigger = 'click',\n visible: controlledVisible,\n onVisibleChange,\n className = '',\n style,\n}) => {\n const [internalVisible, setInternalVisible] = useState(false);\n const [position, setPosition] = useState({ top: 0, left: 0 });\n const wrapperRef = useRef<HTMLDivElement | null>(null);\n const contentRef = useRef<HTMLDivElement | null>(null);\n\n const isControlled = controlledVisible !== undefined;\n const visible = isControlled ? controlledVisible : internalVisible;\n\n const updateVisible = (newVisible: boolean) => {\n if (!isControlled) {\n setInternalVisible(newVisible);\n }\n if (onVisibleChange) {\n onVisibleChange(newVisible);\n }\n };\n\n const calculatePosition = () => {\n if (!wrapperRef.current || !contentRef.current || !visible) {\n return;\n }\n\n const triggerRect = wrapperRef.current.getBoundingClientRect();\n const contentRect = contentRef.current.getBoundingClientRect();\n\n let top = 0;\n let left = 0;\n\n switch (placement) {\n case 'TL':\n top = triggerRect.top - contentRect.height - offset;\n left = triggerRect.left;\n break;\n case 'TC':\n top = triggerRect.top - contentRect.height - offset;\n left = triggerRect.left + (triggerRect.width - contentRect.width) / 2;\n break;\n case 'TR':\n top = triggerRect.top - contentRect.height - offset;\n left = triggerRect.left + triggerRect.width - contentRect.width;\n break;\n case 'CL':\n top = triggerRect.top + (triggerRect.height - contentRect.height) / 2;\n left = triggerRect.left - contentRect.width - offset;\n break;\n case 'CC':\n top = triggerRect.top + (triggerRect.height - contentRect.height) / 2;\n left = triggerRect.left + (triggerRect.width - contentRect.width) / 2;\n break;\n case 'CR':\n top = triggerRect.top + (triggerRect.height - contentRect.height) / 2;\n left = triggerRect.left + triggerRect.width + offset;\n break;\n case 'BL':\n default:\n top = triggerRect.bottom + offset;\n left = triggerRect.left;\n break;\n case 'BC':\n top = triggerRect.bottom + offset;\n left = triggerRect.left + (triggerRect.width - contentRect.width) / 2;\n break;\n case 'BR':\n top = triggerRect.bottom + offset;\n left = triggerRect.left + triggerRect.width - contentRect.width;\n break;\n }\n\n const viewportWidth = window.innerWidth;\n const viewportHeight = window.innerHeight;\n\n if (left < 8) left = 8;\n if (left + contentRect.width > viewportWidth - 8) {\n left = viewportWidth - contentRect.width - 8;\n }\n if (top < 8) top = 8;\n if (top + contentRect.height > viewportHeight - 8) {\n top = viewportHeight - contentRect.height - 8;\n }\n\n setPosition({ top, left });\n };\n\n useEffect(() => {\n if (visible) {\n requestAnimationFrame(() => {\n calculatePosition();\n });\n }\n }, [visible, placement, offset]);\n\n useEffect(() => {\n if (!visible) return;\n\n const handleResize = () => {\n calculatePosition();\n };\n\n const handleScroll = () => {\n calculatePosition();\n };\n\n window.addEventListener('resize', handleResize);\n window.addEventListener('scroll', handleScroll, true);\n\n return () => {\n window.removeEventListener('resize', handleResize);\n window.removeEventListener('scroll', handleScroll, true);\n };\n }, [visible]);\n\n useEffect(() => {\n if (trigger !== 'click' || !visible) return;\n\n const handleClickOutside = (event: MouseEvent) => {\n if (\n wrapperRef.current &&\n contentRef.current &&\n !wrapperRef.current.contains(event.target as Node) &&\n !contentRef.current.contains(event.target as Node)\n ) {\n updateVisible(false);\n }\n };\n\n setTimeout(() => {\n document.addEventListener('click', handleClickOutside);\n }, 0);\n\n return () => {\n document.removeEventListener('click', handleClickOutside);\n };\n }, [trigger, visible]);\n\n const handleClick = (e: React.MouseEvent<HTMLDivElement>) => {\n if (trigger === 'click') {\n e.stopPropagation();\n updateVisible(!visible);\n }\n };\n\n const handleMouseEnter = () => {\n if (trigger === 'hover') {\n updateVisible(true);\n }\n };\n\n const handleMouseLeave = () => {\n if (trigger === 'hover') {\n updateVisible(false);\n }\n };\n\n const handleContentMouseEnter = () => {\n if (trigger === 'hover') {\n updateVisible(true);\n }\n };\n\n const handleContentMouseLeave = () => {\n if (trigger === 'hover') {\n updateVisible(false);\n }\n };\n\n return (\n <div\n ref={wrapperRef}\n className={`${styles.popoverWrapper} ${className}`}\n style={style}\n onClick={handleClick}\n onMouseEnter={handleMouseEnter}\n onMouseLeave={handleMouseLeave}\n >\n {children}\n {visible && content && (\n <div\n ref={contentRef}\n className={`${styles.popoverContent} ${styles[`placement-${placement}`]}`}\n style={{\n top: `${position.top}px`,\n left: `${position.left}px`,\n }}\n onClick={(e) => e.stopPropagation()}\n onMouseEnter={handleContentMouseEnter}\n onMouseLeave={handleContentMouseLeave}\n >\n {content}\n </div>\n )}\n </div>\n );\n};\n\nexport default Popover;\n"],"names":["f","require$$0","k","l","m","n","p","q","c","a","g","b","d","e","h","reactJsxRuntime_production_min","React","REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_PROVIDER_TYPE","REACT_CONTEXT_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_OFFSCREEN_TYPE","MAYBE_ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","maybeIterator","ReactSharedInternals","error","format","_len2","args","_key2","printWarning","level","ReactDebugCurrentFrame","stack","argsWithFormat","item","enableScopeAPI","enableCacheElement","enableTransitionTracing","enableLegacyHidden","enableDebugTracing","REACT_MODULE_REFERENCE","isValidElementType","type","getWrappedName","outerType","innerType","wrapperName","displayName","functionName","getContextName","getComponentNameFromType","context","provider","outerName","lazyComponent","payload","init","assign","disabledDepth","prevLog","prevInfo","prevWarn","prevError","prevGroup","prevGroupCollapsed","prevGroupEnd","disabledLog","disableLogs","props","reenableLogs","ReactCurrentDispatcher","prefix","describeBuiltInComponentFrame","name","source","ownerFn","x","match","reentry","componentFrameCache","PossiblyWeakMap","describeNativeComponentFrame","fn","construct","frame","control","previousPrepareStackTrace","previousDispatcher","Fake","sample","sampleLines","controlLines","s","_frame","syntheticFrame","describeFunctionComponentFrame","shouldConstruct","Component","prototype","describeUnknownElementTypeFrameInDEV","hasOwnProperty","loggedTypeFailures","setCurrentlyValidatingElement","element","owner","checkPropTypes","typeSpecs","values","location","componentName","has","typeSpecName","error$1","err","ex","isArrayImpl","isArray","typeName","value","hasToStringTag","willCoercionThrow","testStringCoercion","checkKeyStringCoercion","ReactCurrentOwner","RESERVED_PROPS","specialPropKeyWarningShown","specialPropRefWarningShown","hasValidRef","config","getter","hasValidKey","warnIfStringRefCannotBeAutoConverted","self","defineKeyPropWarningGetter","warnAboutAccessingKey","defineRefPropWarningGetter","warnAboutAccessingRef","ReactElement","key","ref","jsxDEV","maybeKey","propName","defaultProps","ReactCurrentOwner$1","ReactDebugCurrentFrame$1","setCurrentlyValidatingElement$1","propTypesMisspellWarningShown","isValidElement","object","getDeclarationErrorAddendum","getSourceInfoErrorAddendum","ownerHasKeyUseWarning","getCurrentComponentErrorInfo","parentType","info","parentName","validateExplicitKey","currentComponentErrorInfo","childOwner","validateChildKeys","node","i","child","iteratorFn","iterator","step","validatePropTypes","propTypes","_name","validateFragmentProps","fragment","keys","didWarnAboutKeySpread","jsxWithValidation","isStaticChildren","validType","sourceInfo","typeString","children","beforeExample","afterExample","jsxWithValidationStatic","jsxWithValidationDynamic","jsx","jsxs","reactJsxRuntime_development","jsxRuntimeModule","require$$1","Button","size","color","disabled","onClick","className","style","restProps","classNames","styles","finalClassName","Popover","content","placement","offset","trigger","controlledVisible","onVisibleChange","internalVisible","setInternalVisible","useState","position","setPosition","wrapperRef","useRef","contentRef","isControlled","visible","updateVisible","newVisible","calculatePosition","triggerRect","contentRect","top","left","viewportWidth","viewportHeight","useEffect","handleResize","handleScroll","handleClickOutside","event","handleClick","handleMouseEnter","handleMouseLeave","handleContentMouseEnter","handleContentMouseLeave"],"mappings":";;;;;;;;4CASa,IAAIA,EAAEC,EAAiBC,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,UAAU,eAAeC,EAAEL,EAAE,mDAAmD,kBAAkBM,EAAE,CAAC,IAAI,GAAG,IAAI,GAAG,OAAO,GAAG,SAAS,EAAE,EAClP,SAASC,EAAEC,EAAEC,EAAEC,EAAE,CAAC,IAAIC,EAAEC,EAAE,CAAA,EAAGC,EAAE,KAAKC,EAAE,KAAcJ,IAAT,SAAaG,EAAE,GAAGH,GAAYD,EAAE,MAAX,SAAiBI,EAAE,GAAGJ,EAAE,KAAcA,EAAE,MAAX,SAAiBK,EAAEL,EAAE,KAAK,IAAIE,KAAKF,EAAEL,EAAE,KAAKK,EAAEE,CAAC,GAAG,CAACL,EAAE,eAAeK,CAAC,IAAIC,EAAED,CAAC,EAAEF,EAAEE,CAAC,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B,EAEA,OACEhC,GAAAA,KAAC,MAAA,CACC,IAAK2B,EACL,UAAW,GAAGd,GAAO,cAAc,IAAIJ,CAAS,GAChD,MAAAC,EACA,QAASoC,GACT,aAAcC,GACd,aAAcC,GAEb,SAAA,CAAAtD,EACAqC,GAAWf,GACVjB,GAAAA,IAAC,MAAA,CACC,IAAK8B,EACL,UAAW,GAAGhB,GAAO,cAAc,IAAIA,GAAO,aAAaI,CAAS,EAAE,CAAC,GACvE,MAAO,CACL,IAAK,GAAGQ,EAAS,GAAG,KACpB,KAAM,GAAGA,EAAS,IAAI,IAAA,EAExB,QAAUjN,GAAMA,EAAE,gBAAA,EAClB,aAAcyO,GACd,aAAcC,GAEb,SAAAlC,CAAA,CAAA,CACH,CAAA,CAAA,CAIR","x_google_ignoreList":[0,1,2]}
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._btn_y7ghq_41{--padding-small: 2px 4px;--margin-small: 2px;--line-height-small: 16px;--border-radius-small: 4px;--padding-middle: 4px 8px;--margin-middle: 4px;--line-height-middle: 20px;--border-radius-middle: 7px;--padding-large: 6px 10px;--margin-large: 6px;--line-height-large: 24px;--border-radius-large: 11px;display:inline-block;cursor:pointer;transition:all .3s ease;--btn-color: var(--color-primary);--btn-color-hover: var(--color-primary-hover);padding:var(--padding-middle);font-size:var(--fontSize-middle);line-height:var(--line-height-middle);margin:var(--margin-middle);border-radius:var(--border-radius-middle)}._small_y7ghq_65{padding:var(--padding-small);font-size:var(--fontSize-small);line-height:var(--line-height-small);margin:var(--margin-small);border-radius:var(--border-radius-small)}._middle_y7ghq_72{padding:var(--padding-middle);font-size:var(--fontSize-middle);line-height:var(--line-height-middle);margin:var(--margin-middle);border-radius:var(--border-radius-middle)}._large_y7ghq_79{padding:var(--padding-large);font-size:var(--fontSize-large);line-height:var(--line-height-large);margin:var(--margin-large);border-radius:var(--border-radius-large)}._danger_y7ghq_86{--btn-color: var(--color-danger);--btn-color-hover: var(--color-danger-hover)}._danger_y7ghq_86:not(._primary_y7ghq_90):not(._link_y7ghq_90):not(._text_y7ghq_90):not(._dashed_y7ghq_90):not(._ghost_y7ghq_90):not(._default_y7ghq_90){background-color:var(--btn-color);color:#fff;border:1px solid var(--btn-color)}._danger_y7ghq_86:not(._primary_y7ghq_90):not(._link_y7ghq_90):not(._text_y7ghq_90):not(._dashed_y7ghq_90):not(._ghost_y7ghq_90):not(._default_y7ghq_90):hover{background-color:var(--btn-color-hover);color:#fff;border:1px solid var(--btn-color-hover)}._warning_y7ghq_100{--btn-color: var(--color-warning);--btn-color-hover: var(--color-warning-hover)}._warning_y7ghq_100:not(._primary_y7ghq_90):not(._link_y7ghq_90):not(._text_y7ghq_90):not(._dashed_y7ghq_90):not(._ghost_y7ghq_90):not(._default_y7ghq_90){background-color:var(--btn-color);color:#fff;border:1px solid var(--btn-color)}._warning_y7ghq_100:not(._primary_y7ghq_90):not(._link_y7ghq_90):not(._text_y7ghq_90):not(._dashed_y7ghq_90):not(._ghost_y7ghq_90):not(._default_y7ghq_90):hover{background-color:var(--btn-color-hover);color:#fff;border:1px solid var(--btn-color-hover)}._info_y7ghq_114{--btn-color: var(--color-info);--btn-color-hover: var(--color-info-hover)}._info_y7ghq_114:not(._primary_y7ghq_90):not(._link_y7ghq_90):not(._text_y7ghq_90):not(._dashed_y7ghq_90):not(._ghost_y7ghq_90):not(._default_y7ghq_90){background-color:var(--btn-color);color:#fff;border:1px solid var(--btn-color)}._info_y7ghq_114:not(._primary_y7ghq_90):not(._link_y7ghq_90):not(._text_y7ghq_90):not(._dashed_y7ghq_90):not(._ghost_y7ghq_90):not(._default_y7ghq_90):hover{background-color:var(--btn-color-hover);color:#fff;border:1px solid var(--btn-color-hover)}._success_y7ghq_128{--btn-color: var(--color-success);--btn-color-hover: var(--color-success-hover)}._success_y7ghq_128:not(._primary_y7ghq_90):not(._link_y7ghq_90):not(._text_y7ghq_90):not(._dashed_y7ghq_90):not(._ghost_y7ghq_90):not(._default_y7ghq_90){background-color:var(--btn-color);color:#fff;border:1px solid var(--btn-color)}._success_y7ghq_128:not(._primary_y7ghq_90):not(._link_y7ghq_90):not(._text_y7ghq_90):not(._dashed_y7ghq_90):not(._ghost_y7ghq_90):not(._default_y7ghq_90):hover{background-color:var(--btn-color-hover);color:#fff;border:1px solid var(--btn-color-hover)}._primary_y7ghq_90{background-color:var(--btn-color);color:#fff;border:1px solid var(--btn-color)}._primary_y7ghq_90:hover{background-color:var(--btn-color-hover);color:#fff;border:1px solid var(--btn-color-hover)}._link_y7ghq_90{background-color:transparent;color:var(--btn-color);border:none}._link_y7ghq_90:hover{color:var(--btn-color-hover)}._text_y7ghq_90{background-color:transparent;color:var(--btn-color);border:none}._text_y7ghq_90:hover{background-color:var(--color-default-hover)}._dashed_y7ghq_90{background-color:transparent;color:var(--btn-color);border:1px dashed var(--btn-color)}._dashed_y7ghq_90:hover{background-color:var(--btn-color);color:#fff;border:1px solid var(--btn-color-hover)}._ghost_y7ghq_90{background-color:transparent;color:var(--btn-color);border:1px solid var(--btn-color)}._ghost_y7ghq_90:hover{background-color:var(--btn-color);color:#fff}._default_y7ghq_90{background-color:var(--color-default);color:var(--color-font);border:1px solid var(--color-default)}._default_y7ghq_90:hover{background-color:var(--color-default-hover);color:var(--color-font);border:1px solid var(--color-default-hover)}._disabled_y7ghq_197{opacity:.5;cursor:not-allowed;pointer-events:none}#root{--color-primary: #0445FC;--color-primary-hover: #366afd;--color-font: #01113D;--color-font65: rgba(1, 17, 61, .65);--color-success: #52c41a;--color-success-hover: #6ae32e;--color-warning: #faad14;--color-warning-hover: #fbbe46;--color-danger: #ff4d4f;--color-danger-hover: #ff8081;--color-info: #1677ff;--color-info-hover: #4995ff;--color-default: #d9d9d9;--color-default-hover: #f3f3f3;--color-background: #f9f9f9;--fontSize-middle: 14px;--fontSize-small: 12px;--fontSize-large: 16px}#root.dark-theme{--color-primary: #73adff;--color-primary-hover: #a6cbff;--color-font: #fff;--color-font65: rgba(255, 255, 255, .65);--color-success: #52c41a;--color-success-hover: #6ae32e;--color-warning: #faad14;--color-warning-hover: #fbbe46;--color-danger: #ff4d4f;--color-danger-hover: #ff8081;--color-info: #1677ff;--color-info-hover: #4995ff;--color-default: #d9d9d9;--color-default-hover: #f3f3f3;--color-background: #1a1a1a;--fontSize-middle: 14px;--fontSize-small: 12px;--fontSize-large: 16px}._popoverWrapper_1qoz9_41{position:relative;display:inline-block;--color-popover-bg: var(--color-background);--color-popover-border: var(--color-default);--color-popover-shadow: var(--color-font65)}._popoverContent_1qoz9_48{position:fixed;z-index:1000;background:var(--color-popover-bg);border-radius:4px;box-shadow:0 2px 8px var(--color-popover-shadow);padding:12px;min-width:100px;max-width:300px;word-wrap:break-word;color:var(--color-font);font-size:var(--fontSize-middle);line-height:1.5;border:1px solid var(--color-popover-border);animation:_popoverFadeIn_1qoz9_1 .2s ease-out}@keyframes _popoverFadeIn_1qoz9_1{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}
|